/* WOK review: the same warm ink, vermilion and brass as the public landing.
   Product controls keep their existing contracts and functional state colors. */
.shop-page,.guide-page,.panel-body {
  --review-lacquer:linear-gradient(145deg,#28201b 0%,var(--surface) 42%,#161312 100%);
  --review-corner:18px 6px 18px 6px;
  --review-corner-sm:10px 4px 10px 4px;
  --review-edge:inset 0 1px 0 rgb(216 181 131 / .07),0 14px 28px rgb(0 0 0 / .12);
}

/* Shared secondary-page rhythm. The brand lives in type and materials;
   functional icons remain quiet and familiar. */
.shop-page :is(.pricing-section,.account-page,.status-page,.legal-page,.docs-section) {
  font-family:var(--font); background:var(--bg);
}
html[data-view="docs"] .shop-page .docs-section,
html[data-view="pricing"] .shop-page .pricing-section,
html[data-view="order"] .shop-page .pricing-section,
html[data-view="account"] .shop-page .account-page,
html[data-view="status"] .shop-page .status-page,
html[data-view="privacy"] .shop-page #privacy,
html[data-view="terms"] .shop-page #terms,
html[data-view="support"] .shop-page #support { padding-top:72px; }
.shop-page :is(.pricing-section,.account-page,.status-page,.legal-page,.docs-section)::before,
.shop-page :is(.account-page,.api-reference)::after,
.shop-page .api-reference::before { display:none; }
.shop-page :is(.pricing-head,.account-page-head,.status-head,.reference-head) :is(h1,h2) {
  max-width:24ch; margin:0; font-family:var(--feature-font); font-size:clamp(34px,4.2vw,56px);
  font-weight:600; line-height:1.1; letter-spacing:-.035em;
}
.shop-page :is(.pricing-head,.account-page-head,.status-head,.reference-head)>div>p {
  max-width:64ch; margin:16px 0 0; color:var(--text-2); font-size:16px; line-height:1.65;
}
.shop-page :is(.account-kicker,.status-kicker,.reference-kicker,.legal-kicker,.capability-bundles-kicker) {
  color:var(--gold); font-family:var(--mono); font-size:11px; font-weight:500;
  letter-spacing:.055em; line-height:1.4; text-transform:none;
}
.shop-page :is(.pricing-section,.account-page,.status-page,.legal-page,.docs-section) :is(button,a,input,select,summary,[tabindex]):focus-visible,
.shop-page .sheet :is(button,a,input,select,[tabindex]):focus-visible {
  outline:2px solid var(--red); outline-offset:4px;
}

/* All six offers share one row on desktop; each card has the same reading order. */
.shop-page .pricing-section { padding-top:72px; }
.shop-page .pricing-section>.wrap { width:min(1560px,calc(100% - 40px)); }
.shop-page .pricing-head { align-items:flex-end; gap:40px; margin-bottom:36px; }
.shop-page .pricing-head :is(h1,h2) { max-width:18ch; font-size:clamp(48px,6vw,82px); font-weight:450; letter-spacing:-.055em; line-height:1.03; }
.shop-page .pricing-head>div>p { max-width:56ch; }
.shop-page .pricing-head>div:first-child { min-width:0; }
.shop-page .term-control { flex:0 0 auto; gap:12px; }
.shop-page .term-control>span { color:var(--text-2); font:500 12px/1.4 var(--font); letter-spacing:0; text-transform:none; }
.shop-page .term-control>span::before,.shop-page .term-switch::before,.shop-page .term-selector { display:none; }
.shop-page .term-switch { overflow:hidden; gap:4px; width:auto; padding:4px; border:1px solid var(--line); border-radius:9px; background:#191614; box-shadow:none; }
.shop-page .term-switch button { min-height:42px; padding:8px 13px; border-radius:5px; color:var(--text-2); transform:none; transition:background .15s,color .15s; }
.shop-page .term-switch button span { font-size:12px; font-weight:550; }
.shop-page .term-switch button.on { background:#eadbc5; color:#241b16; box-shadow:inset 0 1px 0 #fff6,0 2px 8px #0002; }
.shop-page .term-switch button:not(.on):hover { background:var(--surface-2); color:var(--text); }
.shop-page .plans { gap:12px; grid-template-columns:repeat(6,minmax(0,1fr)); }
.shop-page .plans>.plan-card:not(.free-plan) { grid-column:auto; }
.shop-page .plan-card { grid-column:auto; min-width:0; min-height:500px; padding:22px 16px; border:1px solid #493c30; border-radius:14px; background:linear-gradient(155deg,#211d19,#171513 70%); color:var(--text); box-shadow:inset 0 1px 0 #ffffff07; transform:none; transition:border-color .18s; }
.shop-page .plan-card::before { display:none; }
.shop-page .plan-card:hover { border-color:#a28b70; transform:none; box-shadow:inset 0 1px 0 #ffffff07; }
.shop-page .plan-card.featured,.shop-page .plan-card.featured:hover { border-color:#f0ddbd; background:linear-gradient(145deg,#f5ecdc,#e5d6bd); color:#28211a; box-shadow:0 16px 44px #0002,inset 0 1px 0 #fff8; transform:none; }
.shop-page .plan-card.is-entering { animation:none; }
.shop-page .plan-intro { min-height:124px; }
.shop-page .plan-top { min-height:0; padding:0; }
.shop-page .plan-name h2 { margin:0; color:inherit; font-family:var(--feature-font); font-size:19px; font-weight:550; line-height:1.25; letter-spacing:-.025em; }
.shop-page .plan-description { max-width:29ch; margin:11px 0 0; color:#baafa2; font-size:12px; line-height:1.48; overflow-wrap:anywhere; }
.shop-page .plan-glyph { display:none; }
.shop-page .plan-price { min-height:86px; margin-top:0; color:inherit; font:450 clamp(34px,3vw,44px)/1.05 var(--feature-font); font-variant-numeric:tabular-nums; letter-spacing:-.055em; white-space:nowrap; }
.shop-page .plan-price small { min-height:34px; margin-top:9px; color:#baafa2; font:400 11px/1.5 var(--font); letter-spacing:0; white-space:normal; }
.shop-page .plan-monthly { min-height:0; margin-top:6px; color:var(--gold); font:500 12px/1.5 var(--font); }
.shop-page .plan-limits { font-variant-numeric:tabular-nums; grid-template-columns:1fr 1fr; gap:16px 10px; margin:20px 0 22px; padding:20px 0 0; border-top:1px solid #493c30; border-bottom:0; }
.shop-page .plan-limit { padding:0; border:0; border-radius:0; background:none; }
.shop-page .plan-limit b { color:inherit; font:550 17px/1.2 var(--font); letter-spacing:-.025em; }
.shop-page .plan-limit:first-child b { font-size:25px; font-weight:500; }
.shop-page .plan-limit span { margin-top:6px; color:#baafa2; font:400 11px/1.45 var(--font); }
.shop-page .plan-card>.btn,.shop-page .plan-free-action>.btn { min-height:46px; padding:12px 14px; border-color:#8e7d66; border-radius:7px; background:transparent; color:var(--text); font-size:13px; font-weight:550; white-space:normal; }
.shop-page .plan-card>.btn { order:initial; margin-top:auto; }
.shop-page .plan-card>.btn:hover,.shop-page .plan-free-action>.btn:hover { border-color:#d8b583; background:#ffffff09; }
.shop-page .plan-card.featured :is(.plan-description,.plan-price small,.plan-limit span) { color:#685b4d; }
.shop-page .plan-card.featured .plan-monthly { color:#8a452e; }
.shop-page .plan-card.featured .plan-limits { border-color:#b7a487; }
.shop-page .plan-card.featured>.btn { border-color:#e46444; background:#f36b4f; color:#27170f; box-shadow:inset 0 1px 0 #ffc8ac77; }
.shop-page .plan-card.featured>.btn:hover { border-color:#e46444; background:#f88365; color:#27170f; }
.shop-page .plan-card.featured :is(button,a):focus-visible { outline-color:#7e351e; }
.shop-page .plan-card.free-plan { display:flex; grid-column:auto; margin:0; border-color:#62503c; background:linear-gradient(155deg,#241e19,#171513 70%); }
.shop-page .free-plan .plan-price { font-size:clamp(28px,2.3vw,32px); }
.shop-page .plan-common { display:grid; grid-column:1/-1; grid-template-columns:minmax(170px,.7fr) minmax(0,2.5fr); align-items:start; gap:32px; margin-top:10px; padding:26px 0 30px; border-bottom:1px solid var(--line); }
.shop-page .plan-common h3 { margin:0; font:500 18px/1.4 var(--feature-font); letter-spacing:-.025em; }
.shop-page .plan-included { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 24px; margin:0; color:#c5b9ab; font-size:12px; line-height:1.55; }
.shop-page .plan-included li::before { display:none; }
.shop-page .plan-included li>.ti { display:block; width:15px; height:15px; margin-top:2px; color:#d8b583; }
.shop-page :is(.capability-bundles,.payment-fees) { margin-top:32px; padding:28px; border:1px solid var(--line); border-radius:var(--review-corner); background:var(--review-lacquer); box-shadow:var(--review-edge); }
.shop-page .capability-bundles h3 { font-family:var(--feature-font); margin-top:10px; font-size:26px; font-weight:550; letter-spacing:-.025em; }
.shop-page :is(.capability-bundles-head p,.payment-fees header p) { max-width:76ch; margin-top:10px; font-size:14px; line-height:1.6; }
.shop-page .capability-bundles-badge { display:none; }
.shop-page .capability-bundle-grid { gap:12px; margin-top:24px; }
.shop-page .capability-bundle-card { min-height:265px; padding:18px 14px; border-color:var(--line); border-radius:var(--review-corner-sm); background:var(--bg); }
.shop-page .capability-bundle-card h4 { margin-top:18px; font-size:16px; }
.shop-page .capability-bundle-card p { font-size:12px; }
.shop-page .capability-bundle-mark { display:none; }
.shop-page .capability-bundle-state { font-family:var(--font); font-size:11px; letter-spacing:0; text-transform:none; }
.shop-page .capability-bundle-price b { color:var(--text); font-size:25px; }
.shop-page :is(.capability-bundles-note,.payment-fee-note) { margin-top:20px; color:var(--text-2); font-size:12px; }
.shop-page .payment-fees { margin-top:16px; }
.shop-page .payment-fees::after,.shop-page .payment-fees-icon { display:none; }
.shop-page .payment-fees>header { display:block; }
.shop-page .payment-fees h2 { font-size:21px; font-weight:550; }
.shop-page .payment-fee-grid { gap:12px; margin-top:24px; }
.shop-page .payment-fee-grid>article { min-height:92px; border-color:var(--line); border-radius:var(--review-corner-sm); background:var(--bg); }
.shop-page .payment-fee-grid strong { color:var(--gold); font-size:24px; }
.shop-page .payment-fee-note .ti { padding:0; background:none; color:var(--gold); }

/* Account access: forms are the visual focus, with useful context beside them. */
.shop-page .account-wrap { gap:36px; }
.shop-page .account-page-head { grid-template-columns:minmax(0,1fr) minmax(240px,340px); gap:40px; }
.shop-page .account-security-note { display:block; padding:0 0 0 24px; border:0; border-left:1px solid var(--line); border-radius:0; background:none; color:var(--text-2); font-size:13px; line-height:1.7; backdrop-filter:none; }
.shop-page .account-security-note>span:first-child { display:none; }
.shop-page .account-gate { min-height:0; border-color:var(--line); border-radius:var(--review-corner); background:var(--review-lacquer); box-shadow:var(--review-edge); }
.shop-page .account-auth-gate { grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); min-height:0; }
.shop-page .account-auth-gate::before,.shop-page .account-auth-gate::after,
.shop-page .account-auth-gate .account-gate-points::before { display:none; }
.shop-page .account-auth-gate .account-gate-copy { grid-template-columns:minmax(0,1fr); justify-content:stretch; padding:40px 48px; background:none; }
.shop-page .account-auth-gate .account-gate-points { align-content:center; gap:0; grid-template-columns:minmax(0,1fr); padding:32px; border-color:var(--line); background:linear-gradient(145deg,#251c17,#171413); }
.shop-page .account-gate-point { display:block; min-height:0; padding:24px 0; border:0; border-bottom:1px solid var(--line); border-radius:0; background:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
.shop-page .account-gate-point:last-child { border-bottom:0; }
.shop-page .account-gate-point>span { display:none; }
.shop-page .account-gate-point b { font-family:var(--feature-font); font-size:17px; font-weight:550; }
.shop-page .account-gate-point p { max-width:38ch; margin-top:8px; color:var(--text-2); font-size:14px; line-height:1.65; }
.shop-page .auth-tabs { padding:4px; border-color:var(--line); border-radius:var(--review-corner-sm); background:var(--bg); box-shadow:none; }
.shop-page .auth-tabs button { min-height:42px; border-radius:5px; color:var(--text-2); font-size:13px; font-weight:550; }
.shop-page .auth-tabs button.is-active { color:#f3dfc0; background:#34281f; box-shadow:inset 0 1px 0 #d8b58320; }
.shop-page .auth-tabs button.is-active::after { display:none; }
.shop-page .auth-heading { margin:28px 0 24px; }
.shop-page .auth-heading h2,.shop-page .account-gate .auth-heading h2 { max-width:24ch; font-family:var(--feature-font); font-size:30px; font-weight:500; line-height:1.15; letter-spacing:-.025em; }
.shop-page .auth-heading p { color:var(--text-2); font-size:14px; line-height:1.65; }
.shop-page .auth-form { gap:18px; }
.shop-page .auth-field { gap:8px; color:#e3d9cd; font-size:13px; font-weight:500; letter-spacing:0; }
.shop-page .auth-field input { min-height:50px; border:1px solid var(--line-strong); border-radius:var(--review-corner-sm); background:var(--bg); box-shadow:none; color:var(--text); font-size:15px; }
.shop-page .auth-field input::placeholder { color:#a09388; }
.shop-page .auth-field input:hover { border-color:#a69580; }
.shop-page .auth-field input:focus { border-color:var(--red); box-shadow:none; }
.shop-page .auth-password-toggle { border:0; border-radius:4px; background:var(--surface-2); color:#d5c9be; font-size:11px; font-weight:500; }
.shop-page :is(.auth-rule,.auth-message) { font-size:12px; line-height:1.6; }
.shop-page .auth-submit { min-height:48px; font-size:14px; }
.shop-page .auth-text-button { color:var(--red); font-size:13px; font-weight:500; }
.shop-page .auth-divider { font-size:12px; }
.shop-page .auth-steam .steam-button { min-height:56px; padding:10px 14px; border:1px solid var(--line-strong); border-radius:6px; background:var(--surface-2); box-shadow:none; transform:none; }
.shop-page .auth-steam .steam-button:hover { border-color:#a69580; background:var(--surface-3); box-shadow:none; transform:none; }
.shop-page .auth-steam .steam-button::before,.shop-page .auth-steam .steam-button::after { display:none; }
.shop-page .steam-button-main { grid-template-columns:27px minmax(0,1fr); }
.shop-page .steam-brand-mark { width:27px; height:27px; border:0; border-radius:0; background:none; box-shadow:none; }
.shop-page .steam-brand-mark img { width:26px; height:26px; }
.shop-page .steam-button-main .discord-brand-mark { width:27px; height:27px; border-radius:5px; background:#5865f2; box-shadow:none; }
.shop-page .steam-button-main .discord-brand-mark svg { width:19px; height:19px; }
.shop-page .steam-button-copy b { color:var(--text); font-size:13px; font-weight:550; white-space:normal; }
.shop-page .steam-button-copy small { color:var(--text-2); font:400 10px/1.4 var(--font); letter-spacing:0; text-transform:none; }
.shop-page .steam-button-action { width:24px; height:24px; border:0; border-radius:0; color:var(--gold); background:none; }
.shop-page .steam-button:hover .steam-button-action { background:none; color:var(--text); transform:none; }
.shop-page .steam-button.is-loading .steam-button-action { width:18px; height:18px; border:2px solid var(--line-strong); border-top-color:var(--gold); border-radius:50%; background:none; }
.shop-page :is(.account-profile,.account-panel,.account-security-panel) { border-color:var(--line); border-radius:var(--review-corner); background:var(--review-lacquer); box-shadow:var(--review-edge); }
.shop-page .account-avatar { border-color:var(--line); border-radius:8px; background:var(--surface-2); }
.shop-page .account-panel-count { width:auto; min-width:28px; height:28px; padding:0 8px; border:1px solid var(--line); border-radius:6px; background:var(--surface-2); color:#d5c9be; font:500 12px/1 var(--font); }
.shop-page :is(.subscription-card,.account-order) { padding:20px; border-color:var(--line); border-radius:var(--review-corner-sm); background:#161312; }
.shop-page .subscription-card::before { display:none; }
.shop-page :is(.subscription-limit,.subscription-source,.security-detail,.security-secret-row,.security-setup-steps li,.recovery-code-grid code) { border-color:var(--line); border-radius:var(--review-corner-sm); background:var(--bg); }
.shop-page .subscription-state { padding:6px 9px; border-radius:5px; background:#243027; color:var(--green); font-family:var(--font); font-size:11px; letter-spacing:0; text-transform:none; }
.shop-page .subscription-state::before,.shop-page .account-order-status strong::before,
.shop-page .mfa-status::before,.shop-page .auth-method-state { display:none; }
.shop-page .subscription-state.expired,.shop-page .subscription-state.disabled { background:#342421; }
.shop-page .usage-bar i { background:var(--gold); }
.shop-page .usage-bar.is-warn i { background:var(--gold); }
.shop-page .usage-bar.is-full i { background:var(--red); }
.shop-page .subscription-source select { border-color:var(--line-strong); border-radius:var(--review-corner-sm); background:var(--surface); }
.shop-page .subscription-name span,.shop-page .account-order b { font-size:13px; }
.shop-page .account-key code { color:var(--gold); font-size:12px; }
.shop-page .account-empty>span { display:none; }
.shop-page .account-empty p { font-size:14px; }
.shop-page .security-title { grid-template-columns:minmax(0,1fr); }
.shop-page .security-title>span { display:none; }
.shop-page .security-title h2 { font-size:20px; }
.shop-page .auth-methods>span.auth-method-badge { width:auto; height:auto; min-height:48px; grid-template-columns:28px minmax(0,1fr); gap:10px; padding:8px 12px; border:1px solid var(--line); border-radius:var(--review-corner-sm); background:var(--bg); }
.shop-page .auth-methods>span.auth-method-badge::before,.shop-page .auth-methods>span.auth-method-badge::after { display:none; }
.shop-page .auth-method-badge :is(.steam-brand-mark,.wok-identity-mark,.discord-brand-mark) { width:27px; height:27px; border:0; border-radius:4px; background:none; box-shadow:none; }
.shop-page .auth-method-badge .wok-identity-mark { display:none !important; }
.shop-page .auth-method-badge.is-password { grid-template-columns:1fr; }
.shop-page .auth-method-state { display:none !important; }
.shop-page .mfa-status { border-radius:5px; font-size:11px; }
.shop-page .mfa-status .ti { display:block; }
.shop-page .security-setup-icon,.shop-page .security-recovery-icon { background-image:none !important; }
.shop-page .security-setup-steps li { font-size:12px; line-height:1.5; }
.shop-page .security-setup-steps b,.shop-page .security-secret-row>span { font-size:12px; }
.shop-page .security-recovery p { font-size:13px; }
.shop-page .recovery-code-grid code { font-size:12px; }

/* Checkout shares the same accessible, opaque form surfaces. */
.shop-page .veil { background:rgba(10,8,7,.82); backdrop-filter:none; -webkit-backdrop-filter:none; transition:opacity .15s,visibility .15s; }
.shop-page .sheet { padding:32px; border-color:var(--line-strong); border-radius:var(--review-corner); background:var(--review-lacquer); box-shadow:0 24px 80px #0008; transform:translateY(8px); transition:transform .15s; }
.shop-page .sheet::before { display:none; }
.shop-page .veil.on .sheet { transform:none; }
.shop-page #sheet h3 { font-size:28px; font-weight:550; letter-spacing:-.025em; }
.shop-page .sheet :is(.net,.payment-box,.key-output,.checkout-owner,.checkout-support-link,.renewal-summary) { border-color:var(--line); border-radius:var(--review-corner-sm); background:var(--bg); box-shadow:none; }
.shop-page .sheet .net { min-height:56px; font-size:13px; }
.shop-page .sheet .net:hover { border-color:#a69580; transform:none; }
.shop-page .sheet .net.on { border-color:var(--red); background:#302522; }
.shop-page .sheet .net span,.shop-page .checkout-quota { font-size:12px; }
.shop-page .checkout-auth-intro { display:block; }
.shop-page .checkout-auth-icon { display:none; }
.shop-page .checkout-auth-intro p { font-size:12px; line-height:1.6; }
.shop-page .checkout-support-link { font-size:12px; }
.shop-page .sheet .done-mark { width:48px; height:48px; border-radius:50% !important; background:#243027 !important; color:var(--green) !important; }
.shop-page .sheet .done-mark .ti { display:block; }
.shop-page .legal-consent { color:var(--text-2) !important; font-size:12px !important; line-height:1.65; }
.shop-page .legal-consent a { color:#e4c9a4; text-decoration-color:#93785b; }

/* Reference documentation is for reading and scanning, not for decoration. */
.shop-page .reference-head { grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr); gap:48px; padding-bottom:32px; }
.shop-page .reference-head h2 { max-width:22ch; font-size:clamp(36px,4.2vw,56px); font-weight:450; }
.shop-page .reference-auth { border-left:2px solid var(--gold); display:block; padding:20px; border-color:var(--line); border-radius:var(--review-corner-sm); background:var(--surface); }
.shop-page .reference-auth>span { display:none; }
.shop-page .reference-auth p { font-size:13px; line-height:1.65; }
.shop-page .docs-toolbar { top:84px; gap:12px; padding:12px; border-color:var(--line); border-radius:var(--review-corner); background:var(--review-lacquer); box-shadow:var(--review-edge); backdrop-filter:none; }
.shop-page .docs-search input { border-color:var(--line-strong); border-radius:var(--review-corner-sm); background:var(--bg); font-size:14px; }
.shop-page .docs-artifacts { padding:0; border:0; border-radius:0; background:none; }
.shop-page .docs-artifacts a { min-height:40px; padding:0 10px; border-radius:5px; font-family:var(--font); font-size:12px; font-weight:500; letter-spacing:0; }
.shop-page .docs-artifacts a:hover { color:var(--text); background:var(--surface-3); }
.shop-page .docs-base span { color:var(--text-2); font:400 11px/1.4 var(--font); letter-spacing:0; text-transform:none; }
.shop-page .docs-base code { color:var(--gold); font-size:11px; }
.shop-page .sdk-install { gap:20px; margin:24px 0; padding:24px; border-color:var(--line); border-radius:var(--review-corner); background:var(--review-lacquer); }
.shop-page .sdk-install-head { display:block; }
.shop-page .sdk-install-head>span { display:block; padding:0; margin-bottom:10px; color:var(--gold); font:500 12px/1.4 var(--font); letter-spacing:0; text-transform:none; }
.shop-page .sdk-install-head h3 { font-size:22px; font-weight:550; letter-spacing:-.02em; }
.shop-page .sdk-install-head p { margin-top:8px; font-size:14px; }
.shop-page .sdk-install-card { padding:18px; border-color:var(--line); border-radius:var(--review-corner-sm); background:var(--bg); }
.shop-page .sdk-install-card b { font-size:14px; font-weight:550; }
.shop-page .sdk-install-card code { color:var(--gold); font-size:12px; }
.shop-page .sdk-install-card a { color:var(--red); font-size:12px; font-weight:500; }
.shop-page .docs-workbench { grid-template-columns:240px minmax(0,1fr); gap:32px; margin-top:36px; }
.shop-page .docs-index { top:170px; padding:0 20px 0 0; border:0; border-right:1px solid var(--line); border-radius:0; background:none; }
.shop-page .docs-index-head { padding:10px 8px 20px; font:500 12px/1.4 var(--font); letter-spacing:0; text-transform:none; }
.shop-page .docs-index-group { display:grid; grid-template-columns:minmax(0,1fr); gap:3px; }
.shop-page .docs-index-group h3 { margin:14px 8px 8px; color:var(--text-2); font:500 11px/1.5 var(--font); letter-spacing:.035em; }
.shop-page .docs-index-group button { min-height:44px; padding:8px; border-radius:5px; }
.shop-page .docs-index-group button:hover { background:var(--surface-2); color:var(--text); transform:none; }
.shop-page .docs-index-group button code { min-width:0; overflow:visible; overflow-wrap:anywhere; white-space:normal; text-overflow:clip; font-size:11px; line-height:1.6; }
.shop-page .mini-method { font-size:9px; }
.shop-page .api-group>header { padding:10px 0 14px; font:500 13px/1.5 var(--font); letter-spacing:.025em; text-transform:none; }
.shop-page .api-endpoint { border:1px solid var(--line) !important; border-radius:var(--review-corner-sm) !important; background:linear-gradient(105deg,#211b18,var(--surface) 70%); }
.shop-page .api-endpoint[open] { border-color:#8f7252 !important; box-shadow:inset 2px 0 0 var(--gold); }
.shop-page .api-endpoint>summary { grid-template-columns:48px minmax(160px,.8fr) minmax(180px,1.2fr) 24px; gap:14px; min-height:70px; padding:18px !important; }
.shop-page .api-endpoint>summary>code { font-size:12px; line-height:1.55; }
.shop-page .api-method { min-height:26px; border-color:#3e5546; border-radius:4px; background:#223128; color:var(--gold); font-size:10px; }
.shop-page .api-method.post { border-color:#61553a; background:#302c21; color:var(--gold); }
.shop-page .api-title { color:#d5c9be; font-size:13px; }
.shop-page .api-toggle { width:24px; height:24px; background:none; color:var(--text-2); }
.shop-page .api-endpoint-body { padding:4px 20px 20px; border-color:var(--line); }
.shop-page :is(.api-params h4,.api-status-block h4) { margin:22px 0 12px; color:var(--text-2); font:500 12px/1.4 var(--font); letter-spacing:0; text-transform:none; }
.shop-page .param-table { border-color:var(--line); border-radius:5px; }
.shop-page .param-row { grid-template-columns:115px 46px 66px 63px minmax(0,1fr); gap:10px; padding:14px 12px; border-color:var(--line); }
.shop-page .param-row code { font-size:11px; }
.shop-page .param-place { border:0; border-radius:3px; background:var(--surface-3); color:#d5c9be; font-size:10px; letter-spacing:0; }
.shop-page .param-type,.shop-page .param-required { font-size:10px; line-height:1.5; }
.shop-page .param-row p { color:var(--text-2); font-size:12px; line-height:1.65; }
.shop-page .api-examples { grid-template-columns:minmax(0,1fr); gap:14px; margin-top:20px; }
.shop-page .api-examples>section { border-color:var(--line); border-radius:var(--review-corner-sm); background:var(--bg); }
.shop-page .api-examples header { padding:10px 14px; color:var(--text-2); font:500 12px/1.4 var(--font); letter-spacing:0; text-transform:none; }
.shop-page .api-examples pre { min-height:0; max-height:380px; padding:18px; color:#e3d9cd; font-size:12px; line-height:1.8; }
.shop-page .snippet-copy { min-height:36px; border-color:var(--line); border-radius:4px; background:var(--surface-2); font-family:var(--font); font-size:11px; }
.shop-page .api-status { padding:7px 9px; border-color:var(--line); border-radius:4px; background:var(--bg); color:var(--text-2); font-size:12px; }
.shop-page .api-status b { border-radius:3px; font-size:10px; }

/* Status uses simple state marks; color always accompanies a written state. */
.shop-page .status-wrap { max-width:1040px; }
.shop-page .status-head { align-items:flex-end; margin-bottom:24px; }
.shop-page .status-summary { grid-template-columns:16px minmax(0,1fr) auto; min-height:112px; gap:20px; padding:28px; border-color:#5e654d; border-radius:var(--review-corner); background:linear-gradient(110deg,#25251e,#1b1b16); box-shadow:none; }
.shop-page .status-summary[data-state="degraded"] { border-color:#685c3d; background:#252319; }
.shop-page .status-summary[data-state="unavailable"] { border-color:#794b42; background:#2b211f; }
.shop-page .status-beacon { width:12px; height:12px; border:0; border-radius:50%; background:var(--green); }
.shop-page .status-beacon span { display:none; }
.shop-page .status-summary[data-state="degraded"] .status-beacon { background:var(--gold); }
.shop-page .status-summary[data-state="unavailable"] .status-beacon { background:var(--red); }
.shop-page :is(.status-summary>div>span,.status-card>div>span,.status-time span) { color:var(--text-2); font:400 12px/1.4 var(--font); letter-spacing:0; text-transform:none; }
.shop-page .status-summary b { font-size:23px; font-weight:550; }
.shop-page .status-time b { font:500 13px/1.5 var(--mono); }
.shop-page .status-card { min-height:180px; padding:24px; border-color:var(--line); border-radius:var(--review-corner); background:var(--review-lacquer); box-shadow:var(--review-edge); }
.shop-page .status-card:hover { border-color:var(--line); transform:none; }
.shop-page .status-icon { width:22px; height:22px; background:none; color:var(--text-2); }
.shop-page .status-dot { width:8px; height:8px; border-radius:50%; background:var(--green); box-shadow:none; }
.shop-page .status-card[data-state="degraded"] .status-dot { background:var(--gold); }
.shop-page .status-card[data-state="unavailable"] .status-dot { background:var(--red); }
.shop-page .status-card b { font-size:23px; font-weight:550; }
.shop-page .status-card p { margin-top:8px; font-size:13px; }
.shop-page .status-session { margin-top:12px; border-color:var(--line); border-radius:var(--review-corner); background:var(--review-lacquer); }
.shop-page .status-session header { padding:24px; border-color:var(--line); }
.shop-page .status-session h2 { font-size:19px; font-weight:550; }
.shop-page .status-session p { max-width:60ch; font-size:13px; }
.shop-page .status-timeline { gap:6px; padding:24px; }
.shop-page .status-timeline span { height:36px; border:0; border-radius:3px; background:var(--line); }
.shop-page .status-timeline span::before { display:none; }
.shop-page .status-timeline span.operational { background:#91aa88; }
.shop-page .status-timeline span.degraded { background:#d2bd80; }
.shop-page .status-timeline span.unavailable { background:var(--red); }

/* Legal and support pages use a readable article layout. */
.shop-page .legal-layout { grid-template-columns:230px minmax(0,1fr); gap:64px; }
.shop-page .legal-rail { min-height:0; top:106px; }
.shop-page .legal-rail-card { border:1px solid var(--line); border-radius:var(--review-corner); background:var(--review-lacquer); box-shadow:var(--review-edge); }
.shop-page .legal-rail-mark { display:none; }
.shop-page .legal-rail-meta { padding:24px 20px; }
.shop-page .legal-rail-meta span { margin-top:4px; font-size:11px; }
.shop-page .legal-rail nav a { min-height:44px; border-radius:5px; font-size:13px; font-weight:500; }
.shop-page .legal-rail nav a:hover { transform:none; }
.shop-page .legal-rail nav a.is-active { color:var(--text); background:var(--surface-3); box-shadow:none; }
.shop-page .legal-rail-support { border-color:var(--line); border-radius:5px; background:var(--bg); color:var(--gold); font-family:var(--font); font-size:12px; }
.shop-page .legal-document { max-width:880px; }
.shop-page .legal-head { padding:0 0 32px; border-color:var(--line); }
.shop-page .legal-head h1,.shop-page .legal-head h2 { max-width:24ch; margin-top:18px; font-family:var(--feature-font); font-size:clamp(36px,4vw,52px); font-weight:550; line-height:1.15; letter-spacing:-.035em; }
.shop-page .legal-head>p { margin-top:18px; font-size:16px; }
.shop-page .legal-highlights { gap:16px; margin:24px 0 32px; }
.shop-page .legal-highlights article { display:block; min-height:0; padding:20px 16px; border-color:var(--line); border-radius:var(--review-corner-sm); background:var(--surface); }
.shop-page .legal-highlights article>span { display:none; }
.shop-page .legal-highlights b { font-size:14px; }
.shop-page .legal-highlights p { margin-top:9px; font-size:13px; }
.shop-page .legal-section { grid-template-columns:minmax(150px,.3fr) minmax(0,.7fr); gap:32px; padding:28px 0; border-color:var(--line); }
.shop-page .legal-section h2 { font-size:19px; font-weight:550; }
.shop-page .legal-section p,.shop-page .legal-section li { font-size:14px; line-height:1.8; }
.shop-page .legal-section li::before { width:4px; height:4px; margin:10px 0 0 4px; border-radius:50%; background:var(--text-2); }
.shop-page .legal-document-foot { display:block; padding:20px; border-color:var(--line); border-radius:var(--review-corner-sm); background:var(--surface); }
.shop-page .legal-document-foot>span { display:none; }
.shop-page .legal-document-foot p { font-size:13px; }
.shop-page .support-channel,.shop-page .support-channel.is-primary { border-color:var(--line); border-radius:var(--review-corner); background:var(--review-lacquer); box-shadow:var(--review-edge); }
.shop-page .support-channel p { font-size:14px; }

/* Standalone guides inherit the product palette and use code as evidence. */
.guide-page {
  --guide-bg:var(--bg); --guide-surface:var(--surface); --guide-surface-2:var(--surface-2);
  --guide-line:var(--line); --guide-line-strong:var(--line-strong); --guide-text:var(--text);
  --guide-muted:var(--text-2); --guide-quiet:var(--text-2); --guide-red:var(--red);
  --guide-red-hi:var(--red); --guide-gold:var(--gold); --guide-green:var(--green);
  --guide-radius:18px 6px 18px 6px; --guide-radius-sm:10px 4px 10px 4px;
  background:var(--bg); color:var(--text); font-family:var(--font);
}
.guide-page :is(h1,h2,h3) { font-family:var(--feature-font); font-weight:550; line-height:1.15; letter-spacing:-.03em; }
.guide-page h2 { font-size:clamp(28px,3vw,40px); }
.guide-page h3 { font-size:21px; }
.guide-page .guide-wrap { width:min(1180px,calc(100% - 80px)); }
.guide-page .guide-header { height:76px; border-color:var(--line); background:var(--bg); backdrop-filter:none; -webkit-backdrop-filter:none; }
.guide-page .guide-nav-link { display:inline-flex; align-items:center; min-height:42px; border-radius:5px; color:var(--text-2); font-size:13px; font-weight:500; }
.guide-page .guide-nav-link:hover,.guide-page .guide-nav-link.is-current { background:var(--surface-2); color:var(--text); }
.guide-page .guide-button { min-height:46px; padding:12px 18px; border:1px solid var(--line-strong); border-radius:var(--review-corner-sm); background:var(--surface); color:var(--text); font-size:14px; font-weight:550; line-height:1.3; box-shadow:none; transform:none; transition:background .15s,border-color .15s; }
.guide-page .guide-button:hover { border-color:#a69580; background:var(--surface-2); transform:none; }
.guide-page .guide-button-primary { border-color:var(--red); background:var(--red); color:var(--bg); }
.guide-page .guide-button-primary:hover { border-color:var(--red-hi); background:var(--red-hi); color:var(--bg); }
.guide-page .guide-nav-cta { min-height:40px; padding:9px 14px; font-size:13px; }
.guide-page .guide-hero { min-height:0; padding:72px 0 64px; overflow:visible; }
.guide-page .guide-hero::before,.guide-page .guide-hero::after,.guide-page .guide-hero-media { display:none; }
.guide-page .guide-hero-grid { grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr); gap:56px; align-items:start; }
.guide-page .guide-hero-copy { max-width:640px; }
.guide-page .guide-hero-visual { min-width:0; margin:0; }
.guide-page .guide-hero-visual img { display:block; max-width:100%; height:auto; }
.guide-page .guide-kicker { margin-bottom:20px; color:var(--gold) !important; font:500 12px/1.4 var(--font); letter-spacing:.035em; text-transform:none; }
.guide-page .guide-hero h1 { font-size:clamp(40px,4.5vw,64px); line-height:1.1; font-weight:550; letter-spacing:-.04em; text-shadow:none; text-wrap:balance; }
.guide-page .guide-hero-lead { max-width:54ch; margin-top:24px !important; color:var(--text-2) !important; font-size:16px; line-height:1.75 !important; }
.guide-page .guide-actions { gap:12px; margin-top:28px; }
.guide-page .guide-code-panel { border-color:var(--line); border-radius:var(--review-corner); background:var(--review-lacquer); box-shadow:var(--review-edge); backdrop-filter:none; -webkit-backdrop-filter:none; }
.guide-page .guide-code-panel>header { color:var(--gold); min-height:60px; padding:16px 20px; border-color:var(--line); font-size:13px; font-weight:500; }
.guide-page .guide-code-panel>header code { color:var(--text-2); font-size:11px; font-weight:400; letter-spacing:0; text-transform:none; }
.guide-page .guide-code-panel pre { padding:22px 20px; background:#161312; color:#e3d9cd; font-size:12px; line-height:1.8; }
.guide-page .guide-code-panel pre code { color:#e3d9cd; }
.guide-page .guide-code-panel>p { padding:18px 20px; color:var(--text-2); font-size:12px; line-height:1.65; }
.guide-page .guide-proof { margin-top:0; padding:0; }
.guide-page .guide-proof-grid { border-color:var(--line); border-radius:var(--review-corner); background:var(--review-lacquer); box-shadow:var(--review-edge); }
.guide-page .guide-proof-grid article { min-height:110px; gap:9px; padding:24px; border-color:var(--line); }
.guide-page .guide-proof-grid strong,.guide-page .guide-proof-primary strong { color:var(--text); font:500 26px/1.1 var(--feature-font); letter-spacing:-.025em; }
.guide-page .guide-proof-grid span { color:var(--text-2); font-size:13px; line-height:1.55; }
.guide-page .guide-proof-primary { background:linear-gradient(140deg,#3d2a1f,#251c16); }
.guide-page .guide-proof-primary strong { color:var(--gold); }
.guide-page .guide-section { padding:72px 0; }
.guide-page .guide-section-muted { border-color:var(--line); background:#161312; }
.guide-page .guide-section-heading { max-width:760px; margin-bottom:32px; }
.guide-page .guide-section-heading h2 { max-width:28ch; }
.guide-page .guide-section-heading p { margin-top:16px; font-size:16px; }
.guide-page .guide-table-wrap { border-color:var(--line); border-radius:var(--review-corner); background:var(--surface); box-shadow:none; }
.guide-page .guide-table-wrap th,.guide-page .guide-table-wrap td { padding:18px 20px; border-color:var(--line); font-size:14px; line-height:1.65; }
.guide-page .guide-table-wrap thead th { background:var(--surface-2); color:#d5c9be; font:500 12px/1.5 var(--font); letter-spacing:0; text-transform:none; }
.guide-page .guide-table-wrap tbody th { font-weight:500; }
.guide-page .guide-wok-cell { background:#28201a; }
.guide-page .guide-wok-cell strong { color:var(--gold); font-weight:550; }
.guide-page .guide-measurement { padding:24px; border-color:var(--gold); border-radius:0 6px 6px 0; background:#28201a; }
.guide-page .guide-measurement>strong { color:var(--gold); font-size:24px; }
.guide-page .guide-checked { margin-top:16px; font-size:12px; line-height:1.6; }
.guide-page .guide-section>.guide-checked { width:min(1180px,calc(100% - 80px)); margin-inline:auto; }
.guide-page .guide-dual>article { padding:28px; border-radius:var(--review-corner); background:var(--review-lacquer); }
.guide-page .guide-dual header h2 { font-size:30px; }
.guide-page .guide-dual header p { font-size:14px; }
.guide-page .guide-error-grid article { padding:14px; border-color:var(--line); background:var(--bg); }
.guide-page .guide-error-grid span { font-size:13px; line-height:1.5; }
.guide-page .guide-source-list code { border-color:var(--line); background:#28201a; font-size:12px; }
.guide-page .guide-inline-code { border-color:var(--line); background:var(--bg); font-size:12px; line-height:1.75; }
.guide-page .guide-plan { padding:24px 20px; border-radius:var(--review-corner); background:var(--review-lacquer); box-shadow:var(--review-edge); transform:none; }
.guide-page .guide-plan-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
.guide-page .guide-plan header { display:grid; gap:16px; }
.guide-page .guide-plan:hover { border-color:#a69580; background:var(--review-lacquer); transform:none; }
.guide-page .guide-plan h3 { color:var(--text); font:550 16px/1.4 var(--font); letter-spacing:0; }
.guide-page .guide-plan header p { font:500 30px/1.15 var(--feature-font); }
.guide-page .guide-plan-term { margin-top:12px; font-size:12px; }
.guide-page .guide-plan dt { font-size:12px; line-height:1.5; }
.guide-page .guide-plan dd { font-family:var(--font); font-size:13px; }
.guide-page .guide-demo-call { padding:24px; border-color:var(--line); background:#28201a; }
.guide-page .landing-endpoint code { border-color:var(--line); background:var(--surface); font-size:12px; }
.guide-page .landing-endpoint span { font-size:12px; }
.guide-page .landing-updated { color:var(--text-2) !important; font-family:var(--font); font-size:12px; letter-spacing:0; }
.guide-page .landing-rule-list article { border-color:var(--line); background:var(--surface); }
.guide-page .landing-rule-list p { font-size:14px; line-height:1.65; }
.guide-page .landing-related-grid a,.guide-page .landing-related-grid a:first-child { padding:24px; border-color:var(--line); border-radius:var(--review-corner); background:var(--review-lacquer); transform:none; }
.guide-page .landing-related-grid a:hover { border-color:#a69580; background:var(--surface-2); transform:none; }
.guide-page .landing-related-grid span { color:var(--gold); font:500 12px/1.4 var(--font); letter-spacing:0; text-transform:none; }
.guide-page .landing-related-grid strong { margin-top:4px; font-size:17px; font-weight:550; }
.guide-page .landing-faq-list { gap:0; max-width:900px; }
.guide-page .landing-faq-list details { border:0; border-bottom:1px solid var(--line); border-radius:0; background:none; }
.guide-page .landing-faq-list summary { padding:22px 0; font-size:16px; font-weight:500; }
.guide-page .landing-faq-list details p { padding:0 0 24px; font-size:15px; line-height:1.75; }
.guide-page .checker-hero { min-height:0; padding:72px 0; }
.guide-page .checker-form,.guide-page .checker-result { padding:28px; border-color:var(--line); border-radius:var(--review-corner); background:var(--review-lacquer); box-shadow:var(--review-edge); backdrop-filter:none; }
.guide-page .checker-form label { margin-top:10px; color:#d5c9be; font:500 13px/1.4 var(--font); letter-spacing:0; text-transform:none; }
.guide-page .checker-form input,.guide-page .checker-form select { border-color:var(--line-strong); background:var(--bg); color:var(--text); font-size:14px; }
.guide-page .checker-form>p { color:var(--text-2); font-size:12px; }
.guide-page .checker-facts div { padding:16px; border-color:var(--line); background:var(--bg); }
.guide-page .checker-facts dt { font-size:12px; }
.guide-page .checker-facts dd { font-size:13px; }
.guide-page .guide-footer { padding:40px 0; border-color:var(--line); background:var(--bg); }
.guide-page .guide-footer-brand p { color:var(--text-2); font-size:13px; }
.guide-page .guide-footer-links { gap:8px 20px; font-size:13px; }
.guide-page .guide-footer-links a { padding:6px 0; }

@media (max-width:1199px) {
  .shop-page .pricing-section>.wrap { width:min(100% - 48px,1100px); }
  .shop-page .plans { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .shop-page .plan-card { grid-column:auto; min-height:430px; padding:24px; }
  .shop-page .plan-intro { min-height:94px; }
  .shop-page .plan-price { font-size:48px; }
  .shop-page .free-plan .plan-price { font-size:clamp(32px,4vw,42px); }
  .shop-page .plan-common { grid-template-columns:1fr; gap:20px; }
  .shop-page .pricing-head { align-items:flex-start; flex-direction:column; gap:28px; }
  .shop-page .term-control { justify-items:start; }
  .shop-page .docs-toolbar { grid-template-columns:minmax(180px,1fr) auto; }
  .shop-page .docs-base { display:none; }
  .shop-page .docs-workbench { grid-template-columns:205px minmax(0,1fr); gap:24px; }
  .shop-page .api-endpoint>summary { grid-template-columns:44px minmax(0,1fr) 24px; }
  .shop-page .api-title { grid-column:2; grid-row:2; }
  .shop-page .api-toggle { grid-column:3; grid-row:1/span 2; }
  .shop-page .param-row { grid-template-columns:minmax(90px,1fr) 50px 70px 65px; }
  .shop-page .param-row p { grid-column:1/-1; }
  .guide-page .guide-hero-grid { gap:36px; }
  .guide-page .guide-plan-grid { grid-template-columns:repeat(6,minmax(0,1fr)); }
  .guide-page .guide-plan { grid-column:span 2; }
  .guide-page .guide-plan:nth-last-child(-n+2) { grid-column:span 3; }
}
@media (max-width:980px) {
  /* Keep endpoint paths readable once a separate contents rail is too narrow. */
  .shop-page .docs-workbench { grid-template-columns:minmax(0,1fr); }
  .shop-page .docs-index { position:static; max-height:280px; padding:12px; border:1px solid var(--line); border-radius:var(--review-corner-sm); }
  .shop-page .docs-index-group button code { font-size:12px; }
  .shop-page .capability-bundle-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .shop-page .account-auth-gate .account-gate-copy { padding:32px; }
  .shop-page .account-auth-gate .account-gate-points { padding:24px; }
  .shop-page .account-columns { grid-template-columns:minmax(0,1fr); }
  .shop-page .legal-layout { grid-template-columns:190px minmax(0,1fr); gap:32px; }
  .shop-page .legal-highlights { grid-template-columns:minmax(0,1fr); gap:10px; }
  .shop-page .legal-highlights article { padding:16px; }
  .guide-page .guide-wrap { width:calc(100% - 48px); }
  .guide-page .guide-section>.guide-checked { width:calc(100% - 48px); }
  .guide-page .guide-header { height:auto; min-height:76px; }
  .guide-page .guide-header-inner { min-height:76px; gap:20px; padding-block:12px; }
  .guide-page .guide-nav { flex-wrap:wrap; justify-content:flex-end; }
  .guide-page .guide-nav-link { padding-inline:9px; font-size:12px; }
  .guide-page .guide-hero { grid-template-columns:minmax(0,1fr); }
  .guide-page .guide-hero-grid { grid-template-columns:minmax(0,1fr); min-width:0; gap:36px; }
  .guide-page .guide-hero-copy { max-width:780px; }
  .guide-page .guide-hero h1 { max-width:24ch; font-size:44px; }
  .guide-page .guide-proof-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .guide-page .guide-proof-grid article:nth-child(3) { border-left:0; }
  .guide-page .guide-proof-grid article:nth-child(n+3) { border-top:1px solid var(--line); }
}
@media (min-width:761px) and (max-width:1080px) {
  .shop-page .docs-artifacts { flex-wrap:wrap; justify-content:flex-start; }
  .shop-page #docs-integration-guides .sdk-install-card {
    align-items:flex-start; flex-direction:column; justify-content:flex-start; gap:10px;
  }
  .shop-page #docs-integration-guides .sdk-install-card>div { width:100%; }
  .shop-page #docs-integration-guides .sdk-install-card a {
    flex:0 1 auto; max-width:100%; overflow-wrap:anywhere;
  }
  .shop-page .docs-connect-code,.shop-page .docs-connect-code code {
    white-space:pre-wrap; overflow-wrap:anywhere;
  }
}
@media (max-width:760px) {
  html[data-view="docs"] .shop-page .docs-section,
  html[data-view="pricing"] .shop-page .pricing-section,
  html[data-view="order"] .shop-page .pricing-section,
  html[data-view="account"] .shop-page .account-page,
  html[data-view="status"] .shop-page .status-page,
  html[data-view="privacy"] .shop-page #privacy,
  html[data-view="terms"] .shop-page #terms,
  html[data-view="support"] .shop-page #support { padding-top:48px; }
  .shop-page .pricing-section { padding-top:48px; }
  .shop-page .pricing-section>.wrap { width:min(100% - 28px,700px); }
  .shop-page .pricing-head { margin-bottom:32px; }
  .shop-page .pricing-head :is(h1,h2) { font-size:clamp(44px,8vw,62px); }
  .shop-page .plans { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .shop-page .plan-card { grid-column:auto; padding:24px; }
  .shop-page .plan-price { font-size:48px; }
  .shop-page .plan-included { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .shop-page .capability-bundle-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .shop-page .capability-bundle-card:last-child { grid-column:1/-1; }
  .shop-page :is(.capability-bundles,.payment-fees) { padding:24px; }
  .shop-page .payment-fee-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .shop-page .account-page-head,.shop-page .reference-head { grid-template-columns:1fr; gap:24px; }
  .shop-page .account-security-note { max-width:65ch; padding-left:16px; }
  .shop-page .account-auth-gate { grid-template-columns:1fr; }
  .shop-page .account-auth-gate .account-gate-copy { padding:32px; }
  .shop-page .auth-local,.shop-page .auth-steam { max-width:none; }
  .shop-page .account-auth-gate .account-gate-points { border-left:0; border-top:1px solid var(--line); padding:12px 32px; }
  .shop-page .account-gate-point p { max-width:60ch; }
  .shop-page .docs-toolbar { position:static; grid-template-columns:1fr; }
  .shop-page .docs-artifacts { flex-wrap:wrap; }
  .shop-page .docs-artifacts a { min-height:44px; }
  .shop-page .sdk-install-grid { grid-template-columns:1fr; }
  .shop-page .status-head { align-items:flex-start; gap:24px; }
  .shop-page .status-grid { grid-template-columns:1fr; gap:12px; }
  .shop-page .status-card { min-height:155px; }
  .shop-page .status-session header { flex-wrap:wrap; }
  .shop-page .legal-layout { grid-template-columns:1fr; gap:36px; }
  /* The rail is populated after the document. Reserve its localized height so
     the article does not jump down when those navigation links arrive. */
  .shop-page .legal-rail { position:static; min-height:124px; }
  .shop-page .legal-rail-meta,.shop-page .legal-rail-facts,.shop-page .legal-rail-support { display:none; }
  .shop-page .legal-rail nav { grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; border:0; }
  .shop-page .legal-rail nav a { justify-content:center; }
  .shop-page .legal-rail nav .ti { display:none; }
  .shop-page .legal-section { grid-template-columns:1fr; gap:16px; }
  .shop-page .legal-section h2 { grid-row:auto; }
  .guide-page .guide-hero { padding:48px 0; }
  .guide-page .guide-hero h1 { font-size:40px; }
  .guide-page .guide-section { padding:56px 0; }
  .guide-page .guide-code-layout,.guide-page .guide-dual,.guide-page .landing-response-layout,.guide-page .checker-api-grid { grid-template-columns:1fr; gap:28px; }
  .guide-page .guide-plan-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .guide-page .guide-plan,.guide-page .guide-plan:nth-last-child(-n+2) { grid-column:auto; }
  .guide-page .guide-plan:last-child { grid-column:1/-1; }
  .guide-page .landing-response-layout>.guide-section-heading { position:static; }
  .guide-page .guide-measurement,.guide-page .guide-demo-call { grid-template-columns:minmax(0,1fr); gap:16px; }
  .guide-page .guide-measurement>strong { white-space:normal; overflow-wrap:anywhere; }
}
@media (max-width:520px) {
  .shop-page :is(.pricing-head,.account-page-head,.status-head,.reference-head) :is(h1,h2) { font-size:34px; }
  .shop-page :is(.pricing-head,.account-page-head,.status-head,.reference-head)>div>p { font-size:15px; }
  .shop-page .pricing-head :is(h1,h2) { font-size:44px; }
  .shop-page .term-control,.shop-page .term-switch { width:100%; }
  .shop-page .term-switch button { min-height:44px; padding-inline:6px; }
  .shop-page .term-switch button span { font-size:11px; }
  .shop-page .plans { grid-template-columns:1fr; }
  .shop-page .plan-card { grid-column:auto; min-height:0; padding:28px 24px; }
  .shop-page .plan-intro { min-height:0; }
  .shop-page .plan-description { max-width:none; }
  .shop-page .plan-top { min-height:0; }
  .shop-page .plan-price { min-height:0; margin-top:28px; font-size:54px; }
  .shop-page .free-plan .plan-price { font-size:clamp(36px,10vw,48px); }
  .shop-page .plan-price small { min-height:0; }
  .shop-page .plan-limits { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .shop-page .plan-included { grid-template-columns:1fr; gap:12px; margin-bottom:0; }
  .shop-page .plan-common { padding:18px 0 24px; }
  .shop-page .capability-bundle-grid,.shop-page .payment-fee-grid { grid-template-columns:1fr; }
  .shop-page .capability-bundle-card:last-child { grid-column:auto; }
  .shop-page .capability-bundle-card { min-height:0; padding:20px; }
  .shop-page .bundle-cta,.shop-page .bundle-cta-static { margin-top:18px; }
  .shop-page :is(.capability-bundles,.payment-fees) { padding:22px 18px; }
  .shop-page .capability-bundles h3 { font-size:23px; }
  .shop-page .account-auth-gate .account-gate-copy { padding:24px 20px; }
  .shop-page .account-auth-gate .account-gate-points { padding:4px 20px; }
  .shop-page .auth-heading h2,.shop-page .account-gate .auth-heading h2 { font-size:27px; }
  .shop-page .account-profile { flex-wrap:wrap; }
  .shop-page .account-profile-actions { flex-basis:100%; margin-left:0; }
  .shop-page .subscription-limits { grid-template-columns:1fr; }
  .shop-page .subscription-limit { padding:14px; }
  .shop-page .subscription-head { flex-wrap:wrap; }
  .shop-page .security-form,.shop-page .security-setup-grid,.shop-page .security-confirm-form { grid-template-columns:1fr; }
  .shop-page .security-form>.security-form-actions { grid-column:auto; }
  .shop-page .security-setup-steps { grid-template-columns:1fr; }
  .shop-page .security-secret-row { grid-template-columns:minmax(0,1fr) auto; }
  .shop-page .security-secret-row>span { grid-column:1/-1; }
  .shop-page .recovery-code-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .shop-page .sheet { padding:28px 20px; border-radius:8px; }
  .shop-page .veil { padding:12px; }
  .shop-page .sdk-install { padding:20px; }
  .shop-page .sdk-install-card { align-items:flex-start; flex-direction:column; gap:16px; }
  .shop-page .sdk-install-card>div { width:100%; }
  .shop-page .api-endpoint>summary { grid-template-columns:40px minmax(0,1fr) 20px; gap:10px; padding:16px 12px !important; }
  .shop-page .api-endpoint>summary>code { font-size:11px; }
  .shop-page .api-title { font-size:12px; }
  .shop-page .api-endpoint-body { padding:4px 12px 16px; }
  .shop-page .param-row { grid-template-columns:minmax(0,1fr) auto auto; gap:10px; }
  .shop-page .param-row code { grid-column:1/-1; }
  .shop-page .param-row p { grid-column:1/-1; }
  .shop-page .api-examples pre { padding:14px; font-size:11px; }
  .shop-page .status-head { flex-direction:column; }
  .shop-page .status-summary { grid-template-columns:12px minmax(0,1fr); padding:24px 20px; gap:16px; }
  .shop-page .status-time { grid-column:2; text-align:left; }
  .shop-page .status-summary b { font-size:20px; }
  .shop-page .status-timeline { gap:4px; padding:20px; }
  .shop-page .status-timeline span { height:28px; }
  .shop-page .legal-head h1,.shop-page .legal-head h2 { font-size:34px; }
  .shop-page .legal-rail { min-height:204px; }
  .shop-page .legal-rail nav { grid-template-columns:1fr; }
  .shop-page .legal-rail nav a { justify-content:flex-start; }
  .guide-page .guide-wrap { width:calc(100% - 40px); }
  .guide-page .guide-section>.guide-checked { width:calc(100% - 40px); }
  .guide-page .guide-header { min-height:72px; height:auto; }
  .guide-page .guide-header-inner { min-height:72px; flex-wrap:wrap; gap:8px 16px; padding-block:12px; }
  .guide-page .guide-nav { gap:0; flex-wrap:wrap; justify-content:flex-end; }
  .guide-page .guide-nav-link { min-height:40px; padding:8px; font-size:11px; }
  .guide-page .guide-nav-cta { padding:9px 12px; margin-left:4px; font-size:12px; }
  .guide-page .guide-hero { padding:40px 0; }
  .guide-page .guide-hero h1 { font-size:34px; }
  .guide-page .guide-hero-lead { font-size:15px; }
  .guide-page .guide-actions { flex-direction:column; align-items:stretch; }
  .guide-page .guide-button { min-height:46px; white-space:normal; text-align:center; }
  .guide-page .guide-code-panel>header { flex-wrap:wrap; gap:10px; padding:16px; }
  .guide-page .guide-code-panel pre { padding:18px 16px; font-size:11px; }
  .guide-page .guide-code-panel>p { padding:16px; }
  .guide-page .guide-proof-grid article { min-height:110px; padding:18px 16px; }
  .guide-page .guide-proof-grid strong,.guide-page .guide-proof-primary strong { font-size:23px; }
  .guide-page .guide-proof-grid span { font-size:12px; }
  .guide-page .guide-table-wrap th,.guide-page .guide-table-wrap td { padding:14px 16px; font-size:13px; }
  .guide-page .guide-dual>article { padding:24px 20px; }
  .guide-page .guide-plan-grid,.guide-page .guide-error-grid,.guide-page .landing-related-grid { grid-template-columns:1fr; }
  .guide-page .guide-plan:last-child { grid-column:auto; }
  .guide-page .landing-related-grid a:first-child { grid-column:auto; }
  .guide-page .checker-form,.guide-page .checker-result { padding:24px 20px; }
  .guide-page .checker-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .guide-page .checker-form input,.guide-page .checker-form select { font-size:16px; }
  .guide-page .guide-footer-links { gap:8px 16px; }
}
@media (prefers-reduced-motion:reduce) {
  .shop-page :is(.pricing-section,.account-page,.status-page,.legal-page,.docs-section,.sheet) *,
  .guide-page * { scroll-behavior:auto; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition:none !important; }
}

/* Operational dashboard: keep the working controls and data hierarchy, while
   removing the decorative asset treatment used by the previous login screen. */
.panel-body {
  --panel-bg:var(--bg); --panel-ink:var(--text); --panel-text:var(--text);
  --panel-muted:var(--text-2); --panel-quiet:var(--text-2); --panel-surface:var(--surface);
  --panel-raised:var(--surface-2); --panel-stroke:var(--line); --panel-stroke-hi:var(--line-strong);
  --panel-shadow:none; --amber:var(--gold);
  background:var(--bg); color:var(--text); font-family:var(--font); font-size:14px;
  -webkit-font-smoothing:antialiased;
}
.panel-body::before,.panel-body::after,
.panel-body :is(.login-visual,.login-form-wrap,.login-card,.login-profile,.login-profile-provider,.sidebar,.side-nav button,.topbar,.panel,.key-summary,.key-vault)::before,
.panel-body :is(.login-visual,.login-form-wrap,.login-card,.login-profile,.login-profile-provider,.sidebar,.topbar,.metric-box,.key-vault)::after,
.panel-body :is(.login-orbit,.login-facts,.login-coordinate,.login-card-glow,.signal-line,.login-product) { display:none; }
.panel-body :is(input,select,textarea,.select-trigger) { min-height:44px; border:1px solid var(--line-strong); border-radius:var(--review-corner-sm); background:var(--bg); color:var(--text); box-shadow:none; font-size:14px; }
.panel-body :is(input,select,textarea,.select-trigger):hover { border-color:#a69580; background:var(--bg); }
.panel-body :is(input,select,textarea,.select-trigger):focus { border-color:var(--red); box-shadow:none; }
.panel-body :is(input,textarea)::placeholder { color:#a09388; }
.panel-body :is(input,select,textarea,button,a,[tabindex]):focus-visible { outline:2px solid var(--red); outline-offset:3px; }
.panel-body :is(.btn,.btn:hover,.btn:active) { min-height:44px; border:1px solid var(--line-strong); border-radius:6px; background:var(--surface-2); color:var(--text); font-size:13px; font-weight:550; box-shadow:none; transform:none; transition:background .15s,border-color .15s; }
.panel-body .btn::before,.panel-body .select-trigger::before,.panel-body .select-option::before { display:none; }
.panel-body .btn:hover { border-color:#a69580; background:var(--surface-3); }
.panel-body .btn.primary { border-color:var(--red); background:var(--red); color:var(--bg); }
.panel-body .btn.primary:hover { border-color:var(--red-hi); background:var(--red-hi); }
.panel-body .btn.ghost { background:transparent; }
.panel-body .btn:disabled { transform:none; }
.panel-body .ti { stroke-width:1.65; }
.panel-body .select-arrow { background:none; color:var(--text-2); }
.panel-body .select-popover { border-color:var(--line-strong); border-radius:var(--review-corner-sm); background:var(--surface); box-shadow:0 12px 32px #0005; animation:none; }
.panel-body .select-option { border-radius:4px; transform:none; }
.panel-body .select-popover .select-option[aria-selected="true"] { border-color:var(--line); background:var(--surface-3); color:var(--text); }
.panel-body .select-check { background:none; color:var(--gold); }
.panel-body .select-check .ti { display:block; }
.panel-body .skeleton { border-radius:4px; background:#302923; }
.panel-body .skeleton::before,.panel-body .skeleton::after { display:none; animation:none; }
.panel-body .spinner { width:18px; height:18px; border:2px solid var(--line-strong); border-top-color:var(--gold); border-radius:50%; background:none; animation:spinner-turn .8s linear infinite; }

.panel-body .login-shell { min-height:100dvh; grid-template-columns:minmax(0,1fr) minmax(390px,.95fr); width:min(1248px,calc(100% - 96px)); margin-inline:auto; gap:80px; overflow:visible; }
.panel-body .login-visual { position:relative; min-height:0; padding:56px 0; justify-content:flex-start; gap:100px; border:0; background:none; }
.panel-body .login-visual-top { justify-content:flex-start; }
.panel-body .login-mark { width:110px; }
.panel-body .login-mark .brand-arch { height:26px; }
.panel-body .login-mark .brand-word { width:78px; height:22px; color:var(--text); }
.panel-body .login-statement { max-width:510px; margin:0; padding:0; }
.panel-body .login-statement h1 { max-width:16ch; color:var(--text); font-family:var(--feature-font); font-size:clamp(36px,4vw,54px); font-weight:550; line-height:1.13; letter-spacing:-.035em; text-wrap:balance; }
.panel-body .login-statement h1 em { color:var(--gold); font-weight:550; }
.panel-body .login-statement>p { max-width:43ch; margin:24px 0 0; color:var(--text-2); font-size:16px; line-height:1.75; }
.panel-body .login-form-wrap { min-height:0; padding:64px 0; place-items:center; background:none; }
.panel-body .login-card { width:min(480px,100%); padding:36px; border:1px solid var(--line); border-radius:var(--review-corner); background:var(--review-lacquer); box-shadow:var(--review-edge); backdrop-filter:none; }
.panel-body .login-card header { margin:28px 0; }
.panel-body .login-eyebrow { color:var(--gold); font:500 12px/1.4 var(--font); letter-spacing:0; text-transform:none; }
.panel-body .login-card h2 { margin:14px 0; font:500 32px/1.15 var(--feature-font); letter-spacing:-.025em; }
.panel-body .login-card p { color:var(--text-2); font-size:14px; line-height:1.65; }
.panel-body .login-card .field { margin-top:20px; }
.panel-body .login-card label { margin-bottom:8px; color:#e3d9cd; font-size:13px; font-weight:500; }
.panel-body .login-card input { min-height:50px; border-color:var(--line-strong); border-radius:var(--review-corner-sm); background:var(--bg); font-size:15px; }
.panel-body .login-card .login-submit { min-height:48px; margin-top:24px; border-radius:var(--review-corner-sm) !important; box-shadow:inset 0 1px 0 #ffc4a044; }
.panel-body .login-submit:hover .ti { transform:none; }
.panel-body .login-security { align-items:flex-start; margin-top:10px; padding-top:20px; color:var(--text-2); font-size:12px; line-height:1.6; }
.panel-body .login-security .ti { flex:0 0 auto; margin-top:3px; }
.panel-body .login-error { color:#ff9688; font-size:13px; line-height:1.6; }
.panel-body .login-text-button { min-height:40px; font-size:13px; }
.panel-body .login-profile { border-color:var(--line); border-radius:var(--review-corner-sm); background:var(--bg); box-shadow:none; }
.panel-body .login-profile-avatar,.panel-body .login-profile-provider { border-radius:6px; }
.panel-body .login-profile-copy small { color:var(--gold); font:500 11px/1.4 var(--font); letter-spacing:0; }
.panel-body .login-profile-copy>span { font-size:12px; line-height:1.5; }
.panel-body .login-field-help { font-size:12px !important; line-height:1.65 !important; }

.panel-body :is(.sidebar,.topbar) { border-color:var(--line); background:var(--bg); backdrop-filter:none; -webkit-backdrop-filter:none; }
.panel-body .sidebar { padding:24px 14px 16px; }
.panel-body .nav-group { color:var(--text-2); font:500 11px/1.4 var(--font); letter-spacing:0; text-transform:none; }
.panel-body .side-nav button { min-height:44px; border-radius:6px; font-size:13px; font-weight:500; }
.panel-body .side-nav button:hover { background:var(--surface-2); transform:none; }
.panel-body .side-nav button.on { border-color:var(--line); background:#302923; color:var(--text); }
.panel-body .side-nav .nav-icon,.panel-body .side-nav button.on .nav-icon { width:22px; height:22px; background:none; opacity:1; transform:none; box-shadow:none; }
.panel-body .side-nav .nav-icon .ti { width:18px; height:18px; }
.panel-body .environment { color:var(--gold); font:500 11px/1.4 var(--font); letter-spacing:0; text-transform:none; }
.panel-body .environment::before { width:6px; height:6px; border-radius:50%; background:var(--gold); box-shadow:none; }
.panel-body .node-signal { width:8px; height:8px; border-radius:50%; background:var(--gold); }
.panel-body :is(.panel-operator,.top-operator) { border-color:var(--line); border-radius:var(--review-corner-sm); background:var(--surface); }
.panel-body :is(.panel-operator-avatar,.top-operator-avatar) { border-color:var(--line); border-radius:6px; background:var(--surface-2); }
.panel-body .page-copy h1 { font-family:var(--feature-font); font-size:25px; font-weight:550; }
.panel-body .page-copy p { color:var(--text-2); font-size:12px; }
.panel-body .page-path { font-family:var(--font); font-size:11px; letter-spacing:0; }
.panel-body .status-pill { min-height:34px; padding:7px 10px; border-radius:5px; background:var(--surface); font:500 11px/1.4 var(--font); }
.panel-body .status-pill::before { width:6px; height:6px; border-radius:50%; background:var(--text-2); box-shadow:none; }
.panel-body .status-pill.ok::before { background:var(--green); }
.panel-body .status-pill.warn::before { background:var(--gold); }
.panel-body .status-pill.bad::before { background:#ff9688; }
.panel-body .sync-block span,.panel-body .sync-block small { color:var(--text-2); font-family:var(--font); font-size:11px; line-height:1.5; }
.panel-body :is(.panel,.metric-box,.stat-card,.watch-rule,.code-block,.key-summary,.key-fields,.traffic-summary-card,.traffic-method,.traffic-ledger) { border-color:var(--line); border-radius:var(--review-corner); background:var(--review-lacquer); box-shadow:var(--review-edge); }
.panel-body :is(.panel,.metric-box,.stat-card,.watch-rule):hover { border-color:var(--line-strong); background:var(--review-lacquer); transform:none; box-shadow:none; }
.panel-body .metric-primary { border-color:#785f45; background:linear-gradient(135deg,#3c2c20,#251e17); }
.panel-body .metric-label { font-size:12px; font-weight:500; letter-spacing:0; }
.panel-body .metric { font-size:32px; font-weight:550; letter-spacing:-.025em; }
.panel-body .metric-note { font-size:12px; line-height:1.6; }
.panel-body :is(.metric-icon,.key-mode-icon,.test-feedback>span,.login-gate-symbol,.confirm-symbol) { background-image:none !important; color:var(--gold); }
.panel-body .metric-icon { width:22px; height:22px; }
.panel-body .metric-icon .ti { width:18px; height:18px; }
.panel-body .panel-kicker { color:var(--gold); font:500 11px/1.4 var(--font); letter-spacing:0; }
.panel-body .panel-head { padding:20px; }
.panel-body .panel h2 { font-family:var(--feature-font); font-size:19px; font-weight:550; }
.panel-body .panel-head p,.panel-body .panel-note { font-size:12px; line-height:1.6; }
.panel-body .data-table { font-size:13px; }
.panel-body .data-table th { color:var(--text-2); font-size:11px; line-height:1.5; }
.panel-body .data-table td { padding:13px 14px; font-size:12px; }
.panel-body .tag { border-radius:4px; padding:6px 8px; font:500 11px/1.3 var(--font); letter-spacing:0; }
.panel-body .tag::before,.panel-body .issuer-safe::before { display:none; }
.panel-body .issuer-safe { border-radius:5px; font:500 11px/1.4 var(--font); letter-spacing:0; }
.panel-body .issuer-safe .ti { display:block; }
.panel-body .issuer-resource.ready>svg,.panel-body .table-state .ti,.panel-body .table-error .ti { padding:0; background:none; color:var(--gold); }
.panel-body .table-state .ti { width:24px; height:24px; }
.panel-body .table-error .ti { color:#ff9688; }
.panel-body .lane-switch { border-color:var(--line-strong); border-radius:6px; background:var(--surface-2); }
.panel-body .lane-switch span { width:22px; height:22px; border-radius:4px; background:#887461; box-shadow:none; }
.panel-body .lane-switch.on { border-color:#a38967; background:#382a20; color:var(--gold); }
.panel-body .lane-switch.on span { background:var(--gold); box-shadow:none; }
.panel-body .lane-switch:hover { transform:none; }
.panel-body .lane-switch b { font:550 10px/1.3 var(--font); letter-spacing:0; }
.panel-body .key-mode-card,.panel-body .key-term-group label { border-color:var(--line); border-radius:var(--review-corner-sm); background:var(--bg); box-shadow:none; }
.panel-body .key-mode-card:hover { transform:none; }
.panel-body .key-mode-card:has(input:checked),.panel-body .key-term-group label:has(input:checked) { border-color:var(--gold); background:#382a20; box-shadow:none; }
.panel-body .key-term-group label::before,.panel-body .key-term-group label::after { display:none; }
.panel-body .key-mode-card>i { width:18px; height:18px; border:1px solid #887461; border-radius:4px; background:none; color:transparent; }
.panel-body .key-mode-card:has(input:checked)>i { border-color:var(--gold); background:var(--gold); color:var(--bg); }
.panel-body .key-mode-card>i .ti { display:block; }
.panel-body .key-vault-mark,.panel-body .key-vault-import-mark { background:none; }
.panel-body .key-vault-import { border-color:#a38967; background:#28201a; }
.panel-body .key-vault small,.panel-body .key-summary-row { font-size:12px; }
.panel-body .tab { animation:none; }
.panel-body .confirm-backdrop { background:#0a0807d6; backdrop-filter:none; }
.panel-body .confirm-card { padding:28px; border-color:var(--line-strong); border-radius:var(--review-corner); background:var(--review-lacquer); box-shadow:0 24px 80px #0008; transform:translateY(8px); }
.panel-body .confirm-card::before { display:none; }
.panel-body .confirm-copy h2 { font-size:25px; font-weight:550; }
.panel-body .confirm-copy p { font-size:14px; line-height:1.65; }
.panel-body .confirm-layer.danger #confirm-accept { background:var(--red); border-color:var(--red); color:var(--bg); }
.panel-body .top-action.icon-only,.panel-body .panel-menu.icon-only { border:1px solid var(--line-strong) !important; border-radius:6px !important; background:var(--surface) !important; }
.panel-body .toast { border-color:var(--line-strong); border-radius:var(--review-corner-sm); background:var(--surface); }
@media (max-width:1020px) {
  .panel-body .login-shell { width:calc(100% - 64px); grid-template-columns:minmax(0,.85fr) minmax(340px,1fr); gap:40px; }
  .panel-body .login-statement h1 { font-size:40px; }
  .panel-body .login-statement>p { font-size:15px; }
  .panel-body .login-card { padding:28px; }
}
@media (max-width:820px) {
  .panel-body .login-shell { display:block; width:min(480px,calc(100% - 40px)); }
  .panel-body .login-visual { position:relative; min-height:0; padding:32px 0 0; }
  .panel-body .login-statement { display:none; }
  .panel-body .login-form-wrap { min-height:0; padding:32px 0 48px; place-items:start center; }
  .panel-body .login-card { width:100%; }
}
@media (max-width:520px) {
  .panel-body .login-card { padding:24px; }
  .panel-body .login-card h2 { font-size:29px; }
  .panel-body .login-card input { font-size:16px; }
  .panel-body .login-card header { margin-top:20px; }
  .panel-body .login-secondary-actions { gap:8px; }
  .panel-body .confirm-card { padding:22px; }
}
@media (prefers-reduced-motion:reduce) {
  .panel-body * { scroll-behavior:auto; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition:none !important; }
}

/* Select listboxes live under body, outside their form surface. icons.js carries
   this inherited theme onto the portal when the options are synchronized. */
.shop-page .scan-probe { --wok-select-theme:ivory; }
:is(.shop-page,.panel-body,.guide-page) .select-trigger {
  min-height:46px; grid-template-columns:minmax(0,1fr) 20px; gap:10px;
  padding:10px 12px; border-radius:8px; text-align:left; box-shadow:none;
  font:400 14px/1.4 var(--font);
}
:is(.shop-page,.panel-body,.guide-page) .select-value { min-width:0; }
:is(.shop-page,.panel-body,.guide-page) .select-arrow {
  width:20px; height:20px; border:0; background:none; color:var(--text-2);
}
:is(.shop-page,.panel-body,.guide-page) .select-arrow .ti { width:16px; height:16px; }
:is(.shop-page,.panel-body,.guide-page) .select-shell.is-open .select-trigger {
  border-color:var(--gold); background:var(--surface); box-shadow:none;
}
:is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme] {
  padding:6px; border:1px solid #79654f; border-radius:10px;
  background:#211c18; color:#f4efe7; box-shadow:0 12px 32px #0005;
  scrollbar-width:thin; scrollbar-color:#85745e transparent; animation:none;
}
:is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme] .select-option {
  min-height:44px; grid-template-columns:minmax(0,1fr) 18px; gap:10px;
  padding:10px 12px; border:1px solid transparent; border-radius:6px;
  background:transparent; color:#e4d9cb; font:400 14px/1.4 var(--font);
  white-space:normal; overflow-wrap:anywhere; transform:none;
}
:is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme] .select-option::before { display:none; }
:is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme] .select-option:is(:hover,:focus-visible) {
  border-color:transparent; background:#372d24; color:#fff8eb; transform:none;
}
:is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme] .select-option[aria-selected="true"] {
  border-color:transparent; background:#463626; color:#f7dec0;
}
:is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme] .select-option:focus-visible {
  outline:2px solid #f58c6f; outline-offset:-2px;
}
:is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme] .select-check {
  width:18px; height:18px; background:none; color:#e4bf87;
}
:is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme] .select-check .ti { display:block; }
.shop-page .scan-probe .select-shell.is-open .select-trigger {
  border-color:#92755c; background:#fffdf8; color:#281f19;
}
.shop-page .scan-probe .select-shell:is(.is-open,:focus-within) .select-arrow .ti { color:#8e472e; }
:is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme="ivory"] {
  border-color:#a48d76; background:#fffdf8; color:#281f19;
  box-shadow:0 12px 30px #35251626; scrollbar-color:#a88c70 #fffdf8;
}
:is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme="ivory"] .select-option { color:#35291f; }
:is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme="ivory"] .select-option:is(:hover,:focus-visible) {
  background:#f0e7d9; color:#281f19;
}
:is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme="ivory"] .select-option[aria-selected="true"] {
  background:#e8dac4; color:#382519;
}
:is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme="ivory"] .select-option:focus-visible { outline-color:#97482d; }
:is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme="ivory"] .select-check { color:#8e472e; }
@media (forced-colors:active) {
  :is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme],
  :is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme] .select-option {
    background:Canvas; color:CanvasText; border-color:ButtonText;
  }
  :is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme] .select-option[aria-selected="true"] {
    background:Highlight; color:HighlightText;
  }
  :is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme] .select-option:focus-visible { outline-color:Highlight; }
  :is(.shop-page,.panel-body,.guide-page) .select-popover[data-select-theme] .select-check { color:HighlightText; }
}
