.voucher-console label { display: grid; gap: .4rem; margin: .8rem 0; font-weight: 600; }
.voucher-console input, .voucher-console select {
  width: 100%; min-width: 0; box-sizing: border-box; padding: .8rem;
  font: inherit; border: 1px solid #c9d5dc; border-radius: .65rem; background: #fff; color: #183543;
}
.voucher-console select { text-overflow: ellipsis; }
.voucher-console textarea { width:100%; box-sizing:border-box; min-height:6rem; padding:.8rem; font:inherit; border:1px solid #c9d5dc; border-radius:.65rem; }
.voucher-console input[type="checkbox"] { width:auto; justify-self:start; }
.voucher-console pre { white-space:pre-wrap; overflow-wrap:anywhere; }
.voucher-console .enrollment-card { min-width: 0; overflow-wrap: anywhere; }
.voucher-console form .button { margin-top: .8rem; }
.voucher-console h2 { margin-bottom: 1.2rem; }
.voucher-console details { margin-top: 1rem; }
.voucher-console .price-panel { max-width: 40rem; }
.voucher-console .enrollment-grid { align-items: start; }
.voucher-console .enrollment-card strong { font-size: 1.35rem; }
/* Paper voucher with a perforated receipt stub. All artwork is decorative. */
.voucher-wallet { padding-top:42px; padding-bottom:64px; }
.voucher-wallet-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; }
.voucher-wallet-heading h1 { max-width:750px; margin:0; font-size:clamp(34px,4.4vw,56px); letter-spacing:-.055em; line-height:1.08; }
.voucher-wallet-lede { max-width:610px; margin:18px 0 0; color:var(--muted); line-height:1.65; font-size:15px; }
.voucher-secondary-link { display:inline-flex; align-items:center; gap:16px; text-decoration:none; color:var(--ink); font-size:13px; font-weight:700; flex-shrink:0; }
.voucher-secondary-link span { font-size:20px; }
.voucher-sandbox-note { display:flex; align-items:center; gap:12px; padding:14px 18px; margin-top:28px; border:1px solid #e2dfce; border-radius:12px; background:#f1eee3; color:#626451; }
.voucher-sandbox-note svg { flex-shrink:0; }
.voucher-sandbox-note p { margin:0; font-size:12px; line-height:1.65; }
.voucher-wallet-section { margin-top:44px; scroll-margin-top:24px; }
.voucher-section-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:20px; }
.voucher-section-heading h2 { font-size:24px; letter-spacing:-.035em; margin:0; }
.voucher-section-heading .eyebrow { margin-bottom:10px; font-size:10px; }
.voucher-section-label { color:var(--muted); font-size:11px; }
.voucher-ticket-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.voucher-ticket { min-width:0; display:grid; grid-template-columns:minmax(0,1fr) 170px; border-radius:22px; filter:drop-shadow(0 10px 14px #17332f0d); }
.voucher-ticket-main { position:relative; isolation:isolate; overflow:hidden; padding:26px 26px 22px; border-radius:22px 0 0 0; background:linear-gradient(125deg,#173c34,#214b3e 65%,#2b5442); color:#fffdf3; }
.voucher-ticket-top { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.voucher-ticket-brand { display:inline-flex; align-items:center; gap:7px; font-weight:750; font-size:14px; letter-spacing:-.04em; }
.voucher-ticket-mark { display:grid; place-items:center; width:24px; height:24px; border:1px solid #d9c49480; border-radius:7px; color:#e3ce9f; font-size:14px; }
.voucher-test-stamp { border:1px solid #ddc89770; padding:4px 7px; border-radius:5px; font-size:9px; letter-spacing:.14em; color:#e3d2ac; }
.voucher-ticket-art { position:absolute; right:-46px; top:57px; width:160px; height:160px; z-index:-1; opacity:.16; pointer-events:none; }
.voucher-ticket-art svg { width:100%; stroke:#e3d2ac; }
.voucher-ticket-kicker { margin:28px 0 15px; color:#e4cfa2; text-transform:uppercase; letter-spacing:.14em; font-size:10px; font-weight:700; }
.voucher-value-label { margin:0 0 5px; color:#d3e1d8; font-size:11px; }
.voucher-ticket-value { margin:0; display:flex; flex-wrap:wrap; align-items:baseline; gap:8px; }
.voucher-ticket-value strong { font-size:clamp(28px,3vw,42px); line-height:1.1; letter-spacing:-.055em; font-weight:650; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.voucher-ticket-value>span { font-size:14px; color:#e4cfa2; }
.voucher-ticket-caption { margin:12px 0 26px; color:#d3e1d8; font-size:12px; }
.voucher-ticket-meta { display:flex; justify-content:space-between; gap:12px; border-top:1px solid #d6e4d32b; padding-top:16px; }
.voucher-ticket-meta>span { color:#c1d3c6; font-size:9px; line-height:1.6; }
.voucher-ticket-meta strong { display:block; color:#fffdf3; font-size:11px; font-weight:550; margin-top:3px; }
.voucher-ticket-meta small { font-size:9px; font-weight:400; }
.voucher-serial { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.04em; }
.voucher-ticket-stub { position:relative; display:flex; align-items:flex-start; flex-direction:column; padding:26px 20px 22px; background:#eee9d9; border-radius:0 22px 0 0; border-left:2px dashed #bcb7a1; }
.voucher-ticket-stub::before,.voucher-ticket-stub::after { content:""; position:absolute; left:-10px; width:18px; height:18px; border-radius:50%; background:var(--cream); }
.voucher-ticket-stub::before { top:-9px; }
.voucher-ticket-stub::after { bottom:-9px; z-index:2; }
.voucher-stub-icon { color:#63765b; margin-bottom:14px; }
.voucher-state { display:inline-flex; align-items:center; gap:6px; color:#285b3c; background:#dbe5cf; border:1px solid #cbd7bf; border-radius:20px; padding:5px 9px; font-size:10px; font-weight:700; }
.voucher-state>span { width:5px; height:5px; background:#377746; border-radius:50%; }
.voucher-state-muted { color:#655f52; background:#e2ded2; border-color:#d2ccbf; }
.voucher-stub-balances { margin:22px 0 0; width:100%; }
.voucher-stub-balances>div+div { margin-top:15px; }
.voucher-stub-balances dt { font-size:10px; color:#646958; }
.voucher-stub-balances dd { margin:5px 0 0; font-size:15px; font-weight:650; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.voucher-stub-balances dd small { font-size:10px; font-weight:400; }
.voucher-use-link { display:flex; justify-content:space-between; gap:8px; width:100%; margin-top:auto; padding-top:20px; color:var(--ink); font-size:11px; font-weight:750; text-decoration:none; }
.voucher-ticket-inactive .voucher-ticket-main { background:linear-gradient(125deg,#44564e,#53645a); }
.voucher-ticket-details { grid-column:1/-1; background:var(--paper); border:1px solid #e4dfcf; border-top:0; border-radius:0 0 22px 22px; font-size:12px; }
.voucher-ticket-details summary { display:flex; justify-content:space-between; align-items:center; gap:15px; cursor:pointer; padding:16px 24px; color:#536354; list-style:none; }
.voucher-ticket-details summary::-webkit-details-marker { display:none; }
.voucher-ticket-details summary>span { font-size:19px; line-height:1; }
.voucher-ticket-details[open] summary>span { transform:rotate(45deg); }
.voucher-details-content { padding:0 24px 20px; }
.voucher-full-id { color:var(--muted); overflow-wrap:anywhere; font-size:10px; line-height:1.7; }
.voucher-details-content h3 { font-size:12px; margin-top:20px; }
.voucher-ledger-row { display:flex; justify-content:space-between; gap:14px; padding:12px 0; border-top:1px solid var(--line); }
.voucher-ledger-row>div { display:grid; gap:5px; }
.voucher-ledger-row>div:last-child { text-align:right; }
.voucher-ledger-row time,.voucher-ledger-row small { font-size:9px; color:var(--muted); }
.voucher-create-bar { margin-top:22px; display:flex; justify-content:space-between; align-items:center; gap:20px; padding:20px 24px; border:1px dashed #c9cebf; border-radius:16px; }
.voucher-create-bar strong { font-size:13px; }
.voucher-create-bar p { margin:5px 0 0; color:var(--muted); font-size:11px; }
.voucher-create-bar .button { border:0; cursor:pointer; font:inherit; font-size:12px; padding:13px 18px; gap:10px; }
.voucher-create-bar .button span { font-size:17px; }
.voucher-empty { grid-column:1/-1; text-align:center; padding:40px 24px; border:1px dashed #c9cebf; border-radius:22px; background:var(--paper); }
.voucher-empty-icon { color:#8a7850; font-size:32px; }
.voucher-empty h3 { font-size:20px; letter-spacing:-.03em; }
.voucher-empty p { color:var(--muted); font-size:13px; }
.voucher-service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.voucher-service-card { min-width:0; display:flex; flex-direction:column; padding:24px; border:1px solid #e0e3d7; border-radius:18px; background:var(--paper); }
.voucher-service-top { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.voucher-service-icon { display:grid; place-items:center; width:46px; height:46px; background:#e9eddf; color:#4e6750; border-radius:14px; }
.voucher-service-test { font-size:9px; letter-spacing:.12em; color:var(--muted); }
.voucher-service-card h3 { font-size:17px; line-height:1.45; letter-spacing:-.025em; margin:22px 0 10px; overflow-wrap:anywhere; }
.voucher-service-card>p { font-size:12px; line-height:1.7; color:var(--muted); margin:0 0 22px; }
.voucher-service-footer { margin-top:auto; padding-top:18px; border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.voucher-service-footer strong { font-size:18px; letter-spacing:-.03em; }
.voucher-service-footer strong small { font-size:10px; font-weight:500; }
.voucher-service-footer a { color:var(--ink); font-size:11px; text-decoration:none; font-weight:700; }
.voucher-service-footer a span { margin-left:6px; }
.voucher-orders { border:1px solid var(--line); background:var(--paper); border-radius:16px; overflow:hidden; }
.voucher-order-row { display:grid; grid-template-columns:82px minmax(0,1fr) 95px auto; align-items:center; gap:18px; padding:20px 22px; text-decoration:none; color:var(--ink); font-size:12px; }
.voucher-order-row+.voucher-order-row { border-top:1px solid var(--line); }
.voucher-order-row>strong { font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.voucher-order-date,.voucher-order-state { font-size:10px; color:var(--muted); }
.voucher-order-price { font-size:12px; font-weight:650; white-space:nowrap; }
.voucher-order-price>span { margin-left:10px; }
.voucher-orders-empty { margin:0; padding:24px; color:var(--muted); font-size:13px; }
.voucher-wallet a:hover { text-decoration:underline; text-underline-offset:4px; }
.voucher-wallet :is(a,button,summary):focus-visible { outline:3px solid #c18537; outline-offset:4px; }
@media (max-width:1100px) {
  .voucher-ticket-grid { grid-template-columns:minmax(0,1fr); }
  .voucher-ticket { grid-template-columns:minmax(0,1fr) 215px; }
  .voucher-ticket-art { right:12px; top:60px; width:190px; height:190px; }
  .voucher-ticket-value strong { font-size:44px; }
}
@media (max-width:700px) {
  .voucher-wallet { padding-top:28px; }
  .voucher-wallet-heading { display:block; }
  .voucher-wallet-heading>.voucher-secondary-link { margin-top:20px; }
  .voucher-service-grid { grid-template-columns:minmax(0,1fr); }
  .voucher-create-bar { align-items:flex-start; flex-direction:column; }
  .voucher-create-bar .button { white-space:normal; text-align:left; }
  .voucher-section-heading { align-items:flex-start; }
  .voucher-section-label { display:none; }
  .voucher-order-row { grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; padding:18px; }
  .voucher-order-row>strong { grid-column:1/-1; grid-row:1; }
  .voucher-order-date { grid-row:2; }
  .voucher-order-state { grid-row:3; }
  .voucher-order-price { grid-column:2; grid-row:2/4; }
}
@media (max-width:440px) {
  .voucher-ticket { grid-template-columns:minmax(0,1fr) 114px; }
  .voucher-ticket-main { padding:20px 16px; }
  .voucher-ticket-stub { padding:20px 12px; }
  .voucher-ticket-brand { font-size:12px; }
  .voucher-ticket-mark { width:20px; height:20px; font-size:12px; }
  .voucher-ticket-top { gap:6px; }
  .voucher-test-stamp { font-size:8px; padding:3px 4px; }
  .voucher-ticket-value strong { font-size:30px; }
  .voucher-ticket-value>span { font-size:11px; }
  .voucher-ticket-meta { flex-direction:column; gap:10px; }
  .voucher-ticket-art { right:-60px; }
  .voucher-stub-balances dd { font-size:13px; }
  .voucher-state { padding:5px 7px; font-size:9px; }
  .voucher-use-link { font-size:10px; }
  .voucher-section-heading>.voucher-secondary-link { font-size:11px; gap:6px; }
}
@media (max-width: 600px) {
  .voucher-console .enrollment-grid { grid-template-columns: minmax(0, 1fr); }
  .voucher-console .button { max-width: 100%; white-space: normal; }
}
@media print {
  .site-header, .site-footer, button, nav { display: none !important; }
  .page-shell { width: 100%; margin: 0; padding: 0; }
}
