/* GO customer surface. Layout only; production request and redemption logic is unchanged. */
:root{--bg:#f5f5f2;--surface:#fff;--surface-2:#eef2f8;--ink:#202d42;--muted:#5d697c;--line:#dce2e9;--accent:#254d8b;--ok:#19734f;--bad:#b53737;--warn:#906016;--shadow:none;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
:root[data-theme=dark]{--bg:#121925;--surface:#1b2534;--surface-2:#26364b;--ink:#edf2fa;--muted:#b4c0d2;--line:#394b61;--accent:#a9c9ff;--ok:#9cdbb6;--bad:#ffaaa3;--warn:#ecc786}
body{padding:0 32px;line-height:1.65;display:flex;flex-direction:column}
button,a,input,textarea{touch-action:manipulation}a{text-underline-offset:4px}input,textarea{font-size:16px!important}::selection{background:color-mix(in srgb,var(--accent) 22%,var(--surface))}*{scrollbar-color:var(--line) var(--bg);scrollbar-width:thin}
.redeem-header{max-width:1120px;width:100%;min-height:88px;padding:16px 0;margin:0 auto;border-bottom:1px solid var(--line);gap:24px}
.redeem-brand strong{font-size:18px;font-weight:650;letter-spacing:0}
.header-controls{gap:24px}.redeem-tabs{padding:4px;border-radius:10px;gap:4px}.redeem-tabs button{min-height:40px;padding:0 22px;border-radius:7px;font-size:14px}.redeem-tabs [aria-pressed=true]{box-shadow:none;background:var(--surface);color:var(--accent)}
.header-help{font-size:14px;color:var(--muted)}.header-help:hover{color:var(--accent)}
.theme-controls{background:none;border:1px solid var(--line);border-radius:9px;padding:2px}.theme-controls button{width:36px;height:40px;border-radius:6px}.theme-controls [aria-pressed=true]{background:var(--surface-2);box-shadow:none;color:var(--ink)}
.redeem-layout{display:flex;flex-direction:column;gap:32px;max-width:580px;width:100%;margin:44px auto 56px;padding:0;align-content:start;flex:1}
.customer-intro{padding-top:0;text-align:center}.customer-intro h1{font-size:36px;line-height:1.4;font-weight:650;letter-spacing:-.025em;text-wrap:balance}.customer-intro p{font-size:16px;color:var(--muted);line-height:1.9;margin:12px auto 0;max-width:40ch}.customer-intro small{display:block;font-size:12px;margin-top:8px}
.customer-main{grid-column:2;grid-row:1 / span 2;min-width:0}.customer-main:focus{outline:none}
.redeem-panel,.lookup-card{padding:32px;border-radius:16px;box-shadow:none;border:1px solid var(--line);animation:none}.redeem-panel h2{font-size:25px;line-height:1.45;font-weight:650;letter-spacing:-.025em}.redeem-description{font-size:14px;line-height:1.85;margin-top:10px;overflow-wrap:anywhere}
.redeem-steps{margin-bottom:32px;font-size:13px;gap:12px}.redeem-steps b{width:28px;height:28px;font-size:12px}.redeem-steps .current{color:var(--accent)}.redeem-steps .current b{background:var(--accent);color:var(--surface)}.redeem-steps .complete b{background:var(--surface-2);color:var(--accent)}
.field{margin-top:24px}.field>span{font-size:14px;font-weight:550}.key-label>.key-input{margin:0;padding:0 16px;border-radius:10px;background:var(--surface);border-color:var(--line)}.key-input input{height:56px;font-family:inherit;letter-spacing:0}.key-input:focus-within{outline:2px solid var(--accent);outline-offset:2px;box-shadow:none}
.button,.redeem-panel:not(:has(.redeem-result)) .button{min-height:48px;padding:10px 18px;border-radius:10px;font-size:14px;font-weight:600;box-shadow:none}.button-primary{background:var(--accent);border-color:var(--accent);color:var(--surface)}.button-primary:hover:not(:disabled){background:var(--accent);opacity:.9}.button:disabled{opacity:1;background:var(--surface-2);border-color:var(--line);color:var(--muted)}.full-width{min-height:52px;margin-top:24px}.redeem-actions{margin-top:26px;gap:12px}.redeem-actions .button{min-height:48px}
.session-guide{margin-top:24px;padding:20px;background:var(--surface-2);border-radius:10px;font-size:14px}.session-guide ol{padding-left:22px}.session-guide li+li{margin-top:16px}.session-guide-button{display:flex;width:fit-content;min-height:44px;align-items:center;margin-top:8px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-weight:550;color:var(--accent)}.session-guide-hint{font-size:12px;color:var(--muted);margin-top:6px}.session-input-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:22px}.session-input-heading .field{margin:0}.session-input-heading .field span{margin:0}.session-clear{border:0;background:none;color:var(--accent);min-height:44px;padding:8px;font-size:13px}.session-input,.lookup-input{background:var(--surface);border-radius:10px;padding:14px;margin-top:8px}.session-input{height:160px}.session-input:focus,.lookup-input:focus{outline:2px solid var(--accent);outline-offset:2px;box-shadow:none}.session-feedback{overflow-wrap:anywhere;font-size:13px}
.redeem-account{border:0;border-radius:0;margin-top:24px}.redeem-account>div{padding:16px 0;font-size:15px}.redeem-account dd{max-width:78%;font-weight:600}.redeem-disclosure{font-size:13px;line-height:1.8;border-radius:10px;padding:14px;overflow-wrap:anywhere}.redeem-error{font-size:14px}.plan-badge{font-size:13px}
.customer-help{width:100%;margin-top:0;padding:0 6px}.customer-help h2{font-size:15px;font-weight:650;margin-bottom:10px}.customer-help details{border-bottom:1px solid var(--line)}.customer-help summary{display:flex;justify-content:space-between;align-items:center;gap:12px;list-style:none;cursor:pointer;min-height:56px;font-size:14px}.customer-help summary::-webkit-details-marker{display:none}.customer-help summary svg{width:16px;height:16px;stroke:var(--muted);stroke-width:1.5;flex-shrink:0}.customer-help details[open] summary svg{transform:rotate(45deg)}.customer-help details p{font-size:13px;color:var(--muted);line-height:1.9;padding:0 22px 18px 0}
.customer-footer{max-width:1120px;width:100%;margin:0 auto;padding:24px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;font-size:12px;color:var(--muted)}
.result-meta{font-size:12px;gap:12px;line-height:1.7}.result-meta span{min-width:0}.result-meta time{flex-shrink:0}.result-orbit{width:104px;height:104px;margin:32px auto 24px}.result-orbit>svg{display:none}.result-orbit[data-running=true]>svg{display:block}.result-symbol{width:80px;height:80px;background:color-mix(in srgb,currentColor 12%,var(--surface));border-radius:50%}.result-symbol .icon{color:inherit;width:36px;height:36px}.orbit-core strong{font-family:inherit;font-size:18px;font-weight:600;line-height:1.5}.redeem-result h2{font-size:28px}.redeem-result>.redeem-description{color:var(--ink);font-size:16px;font-weight:550;line-height:1.8}.redeem-result .redeem-disclosure{display:block;text-align:left;margin-top:24px}.result-controls{gap:10px}.result-controls .button{min-height:48px;font-size:14px;flex:1}.result-query-hint,.long-wait-hint{color:var(--muted);font-size:13px;margin-top:12px}.elapsed-time{font-variant-numeric:tabular-nums}
.lookup-card+.lookup-card,#lookup-results:not(:empty){margin-top:20px}.lookup-toolbar{flex-wrap:wrap}.lookup-filters{border-radius:8px}.lookup-filters button{min-height:40px;border-radius:6px}.lookup-item .button{min-height:44px}.lookup-item-head{min-height:56px}.lookup-item-body p{font-size:13px}.lookup-input{min-height:150px}
.redeem-environment{max-width:1040px;width:100%;margin:18px auto 0;border:1px solid var(--line);border-radius:8px;font-size:12px;background:var(--surface);color:var(--muted)}
@media(max-width:900px){.redeem-layout{gap:28px}.header-controls{gap:12px}.header-help{display:none}.redeem-panel,.lookup-card{padding:24px}.customer-intro h1{font-size:30px}}
@media(max-width:680px){body{padding:0 18px}.redeem-header{min-height:76px;gap:12px;flex-wrap:wrap;padding:16px 0}.redeem-brand strong{font-size:17px}.header-controls{gap:10px}.theme-controls{display:none}.redeem-tabs button{min-height:40px;padding:0 18px}.redeem-layout{display:flex;flex-direction:column;gap:24px;margin:28px auto 32px;max-width:520px}.customer-intro{padding:0;text-align:left}.customer-intro h1{font-size:27px}.customer-intro p{max-width:none;font-size:14px;margin-top:8px;line-height:1.8}.customer-intro small{font-size:12px;margin-top:6px}.redeem-panel,.lookup-card{padding:22px 20px;border-radius:14px}.redeem-panel h2{font-size:23px}.redeem-steps{margin-bottom:26px;gap:8px;font-size:12px}.redeem-steps span{gap:6px}.customer-help{margin-top:8px}.customer-help summary{min-height:56px}.customer-footer{flex-direction:column;gap:4px;padding:20px 0}.redeem-result h2{font-size:25px}.redeem-result>.redeem-description{font-size:15px}.result-meta{flex-direction:column;gap:2px}.result-controls{flex-wrap:wrap}.result-controls .button{padding:10px 12px}.session-guide{padding:16px}.redeem-account>div{font-size:14px}.lookup-filters button{padding:6px 8px}.redeem-environment{margin-top:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.customer-footer .theme-controls{display:flex;width:fit-content}.customer-footer{align-items:center}.customer-footer .theme-controls button{width:40px;height:40px}@media(max-width:680px){.customer-footer{align-items:flex-start}.customer-footer .theme-controls{margin-top:12px}.customer-footer .theme-controls button{width:44px;height:44px}}

/* Reference-led interaction details; no dependencies or network requests. */
.redeem-tabs{position:relative;isolation:isolate;background:var(--surface-2);border:1px solid var(--line)}
.redeem-tabs::before{content:"";position:absolute;inset:4px auto 4px 4px;width:calc(50% - 6px);border-radius:7px;background:var(--surface);box-shadow:0 2px 4px #00000008;transition:transform 220ms cubic-bezier(.22,1,.36,1);z-index:-1}
.redeem-tabs:has(#tab-lookup[aria-pressed=true])::before{transform:translateX(calc(100% + 4px))}
.redeem-tabs [aria-pressed=true]{background:transparent}.redeem-tabs button{width:80px;padding:0}
.button{transition:background-color 160ms,color 160ms,transform 160ms cubic-bezier(.22,1,.36,1)}
.button:active:not(:disabled){transform:translateY(1px) scale(.985)}
.button-primary .icon{transition:transform 180ms cubic-bezier(.22,1,.36,1)}
@media(hover:hover){.button-primary:hover:not(:disabled) .icon{transform:translateX(3px)}.customer-help summary:hover{color:var(--accent);background:var(--surface-2)}}
.redeem-steps{padding-bottom:24px;border-bottom:1px solid var(--line)}
.redeem-steps b{border-radius:8px}.redeem-steps .complete b{color:var(--ok)}
.redeem-result>.redeem-description{padding:14px 0;margin-top:12px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.redeem-result .result-symbol .icon{stroke-dasharray:80;stroke-dashoffset:0}
.customer-help details::details-content{overflow:hidden;transition:content-visibility 180ms allow-discrete,height 180ms;interpolate-size:allow-keywords;height:0}
.customer-help details[open]::details-content{height:auto}
@media(prefers-reduced-motion:reduce){.redeem-tabs::before,.button,.button .icon,.customer-help details::details-content{transition:none!important}}

/* Warm porcelain canvas and deep blue controls. */
.redeem-header{max-width:1000px;border-bottom-color:var(--line)}
.redeem-brand strong{color:var(--accent);font-weight:650}
.customer-intro h1{color:var(--ink);font-size:34px;letter-spacing:-.03em}
.customer-intro p{color:var(--muted)}
.redeem-panel:not(.batch-mode),.lookup-card{border:0;box-shadow:0 10px 32px -16px #182f4e30,0 2px 6px -3px #182f4e12}
.redeem-steps .current b{background:var(--accent);color:var(--surface)}
.redeem-steps .current{color:var(--accent)}
.redeem-tabs{background:var(--surface-2);border-color:transparent}
.redeem-tabs::before{background:var(--surface);box-shadow:0 2px 5px #243f6612}
.redeem-tabs [aria-pressed=true]{color:var(--accent)}
.key-label>.key-input{background:var(--bg);border-color:var(--line)}
.key-input:focus-within{background:var(--surface);outline-width:2px;outline-offset:3px}
.button-primary{background:var(--accent);border-color:var(--accent);color:var(--surface)}
.button-primary:hover:not(:disabled){opacity:1;background:color-mix(in srgb,var(--accent) 90%,var(--ink));border-color:transparent}
.button-primary:disabled{background:var(--surface-2);color:var(--muted);border-color:transparent}
.plan-badge{color:var(--accent);background:var(--surface-2);font-weight:600}
.session-guide{background:var(--surface-2)}
.redeem-account>div:first-child dd{color:var(--accent)}
.customer-help h2{color:var(--ink)}
.customer-help summary:hover{background:transparent;color:var(--accent)}
.customer-footer{max-width:1000px}
:root[data-theme=dark] .redeem-panel:not(.batch-mode),:root[data-theme=dark] .lookup-card{box-shadow:0 10px 32px -16px #0008}
@media(max-width:680px){.customer-intro h1{font-size:28px}.redeem-layout{gap:24px}.redeem-panel:not(.batch-mode),.lookup-card{box-shadow:0 6px 22px -12px #182f4e26}.customer-intro{padding:0 2px}}

/* Local silver checkout: neutral surfaces, graphite actions, blue wayfinding. */
:root{--bg:#f0f2f5;--surface:#fff;--surface-2:#f4f6f8;--ink:#252a32;--muted:#626b78;--line:#dce1e7;--accent:#303640;--hint:#315f9a;--ok:#237453;--bad:#b33d46;--warn:#886020;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
:root[data-theme=dark]{--bg:#171a20;--surface:#22262e;--surface-2:#2c323c;--ink:#edf0f5;--muted:#b2bac7;--line:#414a58;--accent:#e1e6ee;--hint:#a6c9f5;--ok:#98d5b5;--bad:#f2a6ad;--warn:#e1c28c}
body{padding:0 32px;background:var(--bg);color:var(--ink)}
.redeem-header{max-width:1080px;min-height:80px;border-bottom:1px solid var(--line)}
.redeem-brand strong{font-size:16px;font-weight:650;color:var(--ink);letter-spacing:0}
.header-controls{gap:24px}.header-help{font-size:13px}
.redeem-tabs{background:var(--line);border:0;border-radius:9px;padding:3px;gap:3px}
.redeem-tabs::before{display:none}.redeem-tabs button{width:66px;min-height:36px;padding:0 14px;border:0;border-radius:6px;font-family:inherit;font-weight:500;font-size:13px;line-height:1.4;letter-spacing:0}
.redeem-tabs [aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:none}
.redeem-environment{max-width:1080px;border:0;background:none;padding:9px 0;margin:0 auto;font-size:11px;color:var(--muted)}
.redeem-layout{display:flex;flex-direction:column;gap:28px;width:100%;max-width:560px;margin:36px auto 48px;align-items:stretch}
.customer-intro{text-align:center;padding:0}
.customer-intro h1{font-family:inherit;font-size:32px;font-weight:650;line-height:1.4;letter-spacing:-.02em;max-width:none}
.customer-intro p{font-size:14px;line-height:1.8;margin:12px auto 0;max-width:none}.customer-intro small{font-size:11px;margin-top:5px}
.customer-main{width:100%;padding:0;min-height:0}
.redeem-panel:not(.batch-mode),.lookup-card{padding:32px;background:var(--surface);border:0;border-radius:16px;box-shadow:0 12px 32px -16px #2532482b,0 3px 8px -4px #25324812}
:root[data-theme=dark] .redeem-panel:not(.batch-mode),:root[data-theme=dark] .lookup-card{box-shadow:0 12px 32px -16px #0008}
.redeem-steps{padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:26px;gap:12px;font-size:12px}
.redeem-steps b{width:25px;height:25px;border-radius:7px;font-weight:600;background:var(--surface-2);color:var(--muted)}
.redeem-steps .current{color:var(--hint);font-weight:600}.redeem-steps .current b{background:color-mix(in srgb,var(--hint) 10%,var(--surface));color:var(--hint)}
.redeem-steps .complete b{background:var(--surface-2);color:var(--ok)}.redeem-steps i{background:var(--line)}
.redeem-panel h2{font-family:inherit;font-size:21px;font-weight:650;letter-spacing:0}.redeem-description{font-size:13px;line-height:1.8;margin-top:10px;color:var(--muted)}
.field,.key-label{margin-top:24px}.field>span{font-size:12px;font-weight:600;margin-bottom:9px}
.key-label>.key-input{padding:0 16px;background:var(--surface-2);border:1px solid var(--line);border-radius:9px}.key-input input{height:54px;font-size:14px!important}
.key-input:focus-within{background:var(--surface);outline:2px solid var(--hint);outline-offset:2px}
.button,.redeem-panel:not(:has(.redeem-result)) .button,.result-controls .button{font-family:inherit;font-size:14px;font-weight:500;line-height:1.4;letter-spacing:.02em;border-radius:9px;min-height:48px;gap:10px;box-shadow:none}
.button-primary,.redeem-panel:not(:has(.redeem-result)) .button-primary{background:var(--accent);border-color:transparent;color:var(--surface);font-weight:600}
.button-primary:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 88%,var(--muted));opacity:1}
.button-primary:disabled,.redeem-panel:not(:has(.redeem-result)) .button-primary:disabled{background:var(--surface-2);color:var(--muted);border-color:var(--line)}
.full-width{margin-top:16px;min-height:50px}.button .icon{width:16px;height:16px;stroke-width:1.7;flex-shrink:0}
.customer-help{margin:2px 0 0;padding:0 12px;max-width:none}.customer-help h2{font-size:12px;font-weight:600;color:var(--muted);margin-bottom:4px}.customer-help summary{font-size:13px;min-height:48px}.customer-help details p{font-size:12px}.customer-help summary svg{width:14px;height:14px}
.session-guide{padding:16px;background:var(--surface-2);border-radius:9px;margin-top:20px}.session-guide-button{font-family:inherit;border-radius:7px;font-size:13px;color:var(--hint);background:var(--surface);font-weight:500}.session-clear{font-size:12px;color:var(--hint)}
.session-input,.lookup-input{background:var(--surface-2);border-radius:9px}.session-input:focus,.lookup-input:focus{outline-color:var(--hint)}
.redeem-disclosure{border-radius:9px;background:var(--surface-2);font-size:12px;padding:14px}.redeem-account>div{padding:16px 0}.redeem-account>div:first-child dd{color:var(--ink)}
.plan-badge{background:var(--surface-2);color:var(--hint);border-radius:5px;padding:4px 9px;font-size:12px}
.result-orbit{margin:28px auto 20px;width:88px;height:88px}.result-symbol{width:64px;height:64px;border-radius:50%}.result-symbol .icon{width:30px;height:30px}
.redeem-result h2{font-family:inherit;font-size:26px;font-weight:650}.redeem-result>.redeem-description{font-size:14px;font-weight:500;padding:14px 0;margin-top:0;overflow-wrap:anywhere}.result-meta{border-bottom:1px solid var(--line);padding-bottom:16px;font-size:11px}
.customer-footer{max-width:1080px;margin-top:auto;padding:20px 0;font-size:11px;align-items:center}.customer-footer .theme-controls{border:0;background:var(--line);border-radius:8px}.customer-footer .theme-controls button{height:36px;width:36px}
input,textarea{caret-color:var(--hint)}::selection{background:color-mix(in srgb,var(--hint) 20%,var(--surface))}
@media(max-width:680px){body{padding:0 20px}.redeem-header{min-height:68px;padding:12px 0}.redeem-brand strong{font-size:15px}.header-controls{gap:0}.redeem-tabs button{min-height:38px;width:58px}.redeem-layout{gap:24px;margin:24px auto 32px;max-width:480px}.customer-intro h1{font-size:28px}.customer-intro p{font-size:12px;margin-top:10px}.customer-intro small{font-size:10px}.redeem-panel:not(.batch-mode),.lookup-card{padding:24px 20px;border-radius:14px}.redeem-steps{font-size:11px;gap:8px;padding-bottom:20px;margin-bottom:22px}.redeem-steps b{width:22px;height:22px}.redeem-panel h2{font-size:20px}.redeem-description{font-size:12px}.customer-help{padding:0 4px}.customer-footer{display:grid;grid-template-columns:1fr auto;gap:4px 8px}.customer-footer>span{grid-column:1}.customer-footer .theme-controls{grid-column:2;grid-row:1 / span 2;margin:0}.customer-footer .theme-controls button{height:44px;width:30px}.customer-footer>span:nth-child(2){font-size:10px}.redeem-environment{font-size:10px}.result-controls{flex-wrap:wrap}.result-controls .button{font-size:13px}.redeem-result h2{font-size:24px}}

/* Keep the account step compact without hiding its instructions. */
.redeem-layout:has(.session-guide){margin-top:20px;gap:18px}
.redeem-layout:has(.session-guide) .customer-intro h1{font-size:26px}
.redeem-layout:has(.session-guide) .customer-intro p{margin-top:6px}
.redeem-layout:has(.session-guide) .redeem-steps{padding-bottom:16px;margin-bottom:20px}
.session-guide{padding:12px 16px;margin-top:16px;font-size:12px}
.session-guide ol{margin:0;padding-left:20px}
.session-guide li{line-height:1.7}
.session-guide li+li{margin-top:8px}
.session-guide-button{display:inline-flex;vertical-align:middle;margin:0 0 0 10px;padding:6px 10px;min-height:36px;font-size:12px}
.session-guide-hint{margin:3px 0 0;font-size:11px;line-height:1.6}
.session-input-heading{margin-top:12px}.session-input{height:112px;min-height:100px}
@media(max-width:680px){.redeem-layout:has(.session-guide){margin-top:16px;gap:16px}.redeem-layout:has(.session-guide) .customer-intro h1{font-size:24px}.session-guide{padding:12px}.session-guide-button{min-height:40px;margin-left:6px;padding:6px 8px;font-size:11px}}
