/* OSD Digital 服务报价器 — Liquid Glass world
   A slow aurora flows behind everything (canvas#aurora, driven by fx.js). Every surface is frosted glass
   floating above it; the quotation sheet is the heaviest, most refractive piece and tilts toward the cursor.
   Motion lives in fx.js (GSAP). This file only sets the material and the layout. */

@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url("fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0f1726; --ink-2: #2b3647; --grey: #5b6878;
  --rule: rgba(15, 23, 38, .10); --rule-soft: rgba(15, 23, 38, .06);
  --blue: #0a66c2; --blue-ink: #084c91; --blue-glow: rgba(10, 102, 194, .38);
  --blue-tint: rgba(10, 102, 194, .10); --blue-tint-2: rgba(10, 102, 194, .18);
  --gift: #15803d; --gift-tint: rgba(21, 128, 61, .12);
  --warn: #8a5a00; --warn-tint: rgba(255, 190, 60, .25); --danger: #b3261e;
  --glass: rgba(255, 255, 255, .55); --glass-2: rgba(255, 255, 255, .70); --glass-3: rgba(255, 255, 255, .86);
  --glass-border: rgba(255, 255, 255, .80);
  --glass-shadow: 0 30px 70px -30px rgba(20, 45, 90, .40), 0 2px 8px rgba(20, 45, 90, .06);
  --display: "Sora", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --font: "IBM Plex Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --topbar: 64px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #e9f0f8; color: var(--ink);
  font: 400 14px/1.5 var(--font); font-feature-settings: "tnum" 1;
  overflow-wrap: anywhere; caret-color: var(--blue); overflow-x: clip;
}
#aurora { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; }
.aurora-fallback { position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 50% at 15% 20%, #c7dcff 0%, transparent 70%),
    radial-gradient(35% 45% at 85% 15%, #cdeff0 0%, transparent 70%),
    radial-gradient(45% 55% at 70% 85%, #e5dcff 0%, transparent 70%),
    radial-gradient(35% 40% at 20% 90%, #ffe8d2 0%, transparent 70%), #e9f0f8;
  animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(-4%, 3%, 0) rotate(3deg) scale(1.08); } }
::selection { background: var(--blue-tint-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the material ---------- */
.glass {
  position: relative; background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border); border-radius: 22px;
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(255, 255, 255, .35);
}
.glass::before { /* specular rim: a thin light caught on the top-left edge */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .25) 100%);
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000); -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  mask-composite: exclude; -webkit-mask-composite: xor; padding: 1px;
}

/* ---------- top bar: a floating glass capsule ---------- */
.topbar { position: sticky; top: 12px; z-index: 20; height: 52px; margin: 12px auto 0; max-width: 1248px; padding: 0 16px; }
.topbar .in { height: 100%; padding: 0 20px 0 14px; display: flex; align-items: center; gap: 12px; border-radius: 16px; }
.mark { width: 30px; height: 30px; flex: none; color: var(--blue); filter: drop-shadow(0 4px 10px var(--blue-glow)); }
.brand { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.brand h1 { font-family: var(--display); font-size: 15px; font-weight: 600; white-space: nowrap; letter-spacing: 0; }
.brand .scope { color: var(--grey); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .rate { margin-left: auto; color: var(--grey); font-size: 13px; white-space: nowrap; }
.topbar .rate b { color: var(--ink); font-weight: 500; }

/* ---------- canvas ---------- */
.canvas {
  max-width: 1280px; margin: 0 auto; padding: 40px 32px 64px;
  display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start;
}
.lead { grid-column: 1 / -1; padding: 8px 4px 4px; }
.lead h2 { font-family: var(--display); font-size: 44px; line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; max-width: 18ch; perspective: 800px; }
.lead p { margin: 14px 0 0; color: var(--ink-2); font-size: 16px; max-width: 62ch; line-height: 1.6; }
.lead .hint { margin-top: 10px; font-size: 13px; color: var(--grey); display: inline-flex; align-items: center; gap: 8px; }
.lead .hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-tint), 0 0 16px var(--blue-glow); }

/* ---------- configuration strip ---------- */
.catalog { min-width: 0; }
.config { display: grid; grid-template-columns: auto 1fr; gap: 12px 18px; align-items: center; padding: 18px 22px; }
.config .lbl { color: var(--grey); font-size: 13px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  height: 36px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 12px; background: rgba(255, 255, 255, .45); color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; box-shadow: 0 1px 2px rgba(20, 45, 90, .05);
  transition: background .2s, border-color .2s, color .2s, transform .25s var(--ease-out), box-shadow .25s;
}
.seg button .n { color: var(--grey); font-size: 13px; }
.seg button:hover { background: rgba(255, 255, 255, .85); transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(20, 45, 90, .35); }
.seg button[aria-pressed="true"] { background: linear-gradient(180deg, #2a86e0, var(--blue)); border-color: transparent; color: #fff; box-shadow: 0 10px 24px -10px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, .45); }
.seg button[aria-pressed="true"] .n { color: rgba(255, 255, 255, .85); }
.seg button.ghost { background: transparent; border-style: dashed; border-color: rgba(15, 23, 38, .18); color: var(--grey); }
.tier-note { grid-column: 2; color: var(--grey); font-size: 13px; margin: -2px 0 0; }

/* ---------- catalogue ---------- */
.cat { margin-top: 20px; padding: 6px 22px 10px; }
.cat-h { display: flex; align-items: baseline; gap: 10px; padding: 14px 0 10px; border-bottom: 1px solid var(--rule-soft); }
.cat-h h3 { font-family: var(--display); font-size: 17px; letter-spacing: -0.01em; }
.cat-h .en { color: var(--grey); font-size: 13px; }
.cat-h .sum { margin-left: auto; color: var(--grey); font-size: 13px; white-space: nowrap; }
.cat-h .sum b { color: var(--ink); font-weight: 600; }
.cat-note { margin: 10px 0 2px; color: var(--grey); font-size: 13px; max-width: 80ch; }

.row {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 118px; gap: 4px 14px; align-items: center;
  padding: 12px 12px; margin: 4px -8px; border-radius: 14px; border: 1px solid transparent;
  cursor: pointer; transition: background .2s, box-shadow .3s var(--ease-out), border-color .2s, transform .3s var(--ease-out);
}
.row:hover { background: rgba(255, 255, 255, .45); }
.row.on { background: var(--glass-3); border-color: rgba(255, 255, 255, .95); box-shadow: 0 14px 30px -18px rgba(20, 45, 90, .45), inset 0 1px 0 #fff; }
.row.on:hover { transform: translateY(-1px); box-shadow: 0 18px 34px -18px rgba(20, 45, 90, .5), inset 0 1px 0 #fff; }
.row:not(.on) .who .nm { color: var(--ink-2); }
.row:not(.on) .fig .cny { font-weight: 400; color: var(--ink-2); }
.chk { position: relative; width: 22px; height: 22px; display: grid; place-items: center; }
.chk input { position: absolute; inset: 0; z-index: 1; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.chk .box {
  width: 20px; height: 20px; border: 1.5px solid rgba(15, 23, 38, .35); border-radius: 7px; background: rgba(255, 255, 255, .7);
  display: grid; place-items: center; pointer-events: none; transition: background .2s, border-color .2s, box-shadow .3s, transform .3s var(--ease-out);
}
.chk input[type="radio"] + .box { border-radius: 50%; }
.chk .box svg { width: 13px; height: 13px; stroke: #fff; stroke-width: 2.6; opacity: 0; transform: scale(.4); transition: opacity .15s, transform .3s var(--ease-out); }
.chk input:checked + .box { background: linear-gradient(180deg, #2a86e0, var(--blue)); border-color: transparent; box-shadow: 0 6px 14px -4px var(--blue-glow); }
.chk input:checked + .box svg { opacity: 1; transform: scale(1); }
.chk input:focus-visible + .box { outline: 2px solid var(--blue); outline-offset: 2px; }
.who { min-width: 0; }
.who .nm { font-weight: 500; }
.who .en { color: var(--grey); font-size: 13px; margin-left: 8px; }
.who .ds { display: block; color: var(--grey); font-size: 13px; margin-top: 1px; }
.tag { display: inline-block; vertical-align: 1px; margin-left: 8px; padding: 1px 8px; border-radius: 10px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.tag.gift { background: var(--gift-tint); color: var(--gift); }
.tag.year { background: rgba(15, 23, 38, .07); color: var(--ink-2); }
.ctl { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ctl select, .ctl input {
  height: 32px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 10px; background: rgba(255, 255, 255, .6); color: var(--ink); font-size: 13px;
  box-shadow: 0 1px 2px rgba(20, 45, 90, .06);
}
.ctl input[type="number"] { width: 60px; text-align: right; }
.ctl .unit { color: var(--grey); font-size: 13px; }
.fig { text-align: right; line-height: 1.3; }
.fig .cny { font-weight: 600; }
.fig .md { display: block; color: var(--grey); font-size: 12px; }
.row.gifted .fig .cny { color: var(--grey); text-decoration: line-through; font-weight: 400; }
.row.gifted .fig .md { color: var(--gift); }

/* ---------- quotation sheet ---------- */
.sheet-wrap { position: sticky; top: calc(var(--topbar) + 20px); perspective: 1400px; }
.sheet {
  display: flex; flex-direction: column; max-height: calc(100vh - var(--topbar) - 44px);
  background: var(--glass-2); border-radius: 26px; overflow: hidden;
  -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 90px -30px rgba(20, 45, 90, .5), 0 4px 14px rgba(20, 45, 90, .08), inset 0 1px 0 #fff;
}
.sheet .glare { position: absolute; inset: 0; pointer-events: none; z-index: 3; border-radius: inherit; opacity: .9;
  background: radial-gradient(420px 320px at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%); }
.sheet-h { padding: 22px 26px 14px; border-bottom: 1px solid var(--rule-soft); }
.sheet-h .t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sheet-h h2 { font-family: var(--display); font-size: 22px; letter-spacing: -0.01em; }
.sheet-h .d { color: var(--grey); font-size: 13px; white-space: nowrap; }
.sheet-h .s { margin: 4px 0 0; color: var(--grey); font-size: 13px; }
.sheet-sum { padding: 16px 26px 14px; border-bottom: 1px solid var(--rule-soft); background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0)); }
.sheet-sum .line { font-size: 14px; padding: 4px 0; grid-template-columns: minmax(0, 1fr) auto; }
.sheet-sum .line .n { color: var(--ink-2); white-space: normal; }
.sheet-sum .line .n i { font-style: normal; color: var(--grey); margin-left: 6px; font-size: 12px; }
.sheet-sum .line .v { font-weight: 500; white-space: nowrap; }
.sheet-sum .line.lead { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--rule-soft); }
.sheet-sum .line.lead .v { font-size: 17px; font-weight: 600; }
.total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 8px; }
.total .n { font-size: 13px; color: var(--ink-2); }
.total .n i { display: block; font-style: normal; color: var(--grey); font-size: 12px; margin-top: 2px; }
.total .v { flex: none; white-space: nowrap; font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  background: linear-gradient(135deg, #0b3d78, var(--blue) 60%, #2a9bf0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sheet-b { overflow: auto; padding: 4px 26px 8px; scrollbar-width: thin; scrollbar-color: rgba(15, 23, 38, .18) transparent; }
.sheet-b::-webkit-scrollbar { width: 8px; } .sheet-b::-webkit-scrollbar-thumb { background: rgba(15, 23, 38, .18); border-radius: 4px; }
.sec { padding: 14px 0 12px; border-bottom: 1px solid var(--rule-soft); }
.sec:last-child { border-bottom: 0; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.sec-h h3 { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.sec-h .ctrl { display: flex; align-items: center; gap: 6px; color: var(--grey); font-size: 13px; white-space: nowrap; }
.sec-h .ctrl input[type="number"] { width: 50px; height: 28px; padding: 0 6px; text-align: right; border: 1px solid rgba(255, 255, 255, .9); border-radius: 8px; background: rgba(255, 255, 255, .6); }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0 12px; align-items: baseline; padding: 3px 0; font-size: 13px; border-radius: 6px; }
.line .n { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line .n i { font-style: normal; color: var(--grey); margin-left: 4px; }
.line .m { color: var(--grey); min-width: 44px; text-align: right; }
.line .v { min-width: 84px; text-align: right; }
.line.gifted .v { color: var(--grey); text-decoration: line-through; }
.line.gifted .m { color: var(--gift); }
.line.empty { color: var(--grey); }
.line.flash { animation: flash 1s var(--ease-out); }
@keyframes flash { 0% { background: var(--blue-tint-2); box-shadow: 0 0 0 6px var(--blue-tint-2); } 100% { background: transparent; box-shadow: 0 0 0 6px transparent; } }
.sub { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0 12px; align-items: baseline; padding: 6px 0 0; margin-top: 4px; border-top: 1px solid var(--rule-soft); font-size: 13px; }
.sub .n { color: var(--ink-2); } .sub .m { color: var(--grey); min-width: 44px; text-align: right; } .sub .v { min-width: 84px; text-align: right; font-weight: 500; }
.sub.disc .n, .sub.disc .v { color: var(--grey); font-weight: 400; }
.warn { margin: 10px 0 0; padding: 8px 10px; background: var(--warn-tint); color: var(--warn); border-radius: 10px; font-size: 13px; }
.warn p { margin: 0; } .warn p + p { margin-top: 4px; }
.switch { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; color: var(--grey); font-size: 13px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .tr { width: 34px; height: 20px; border-radius: 10px; background: rgba(15, 23, 38, .18); position: relative; transition: background .25s; flex: none; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .12); }
.switch .tr::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s var(--ease-out); }
.switch input:checked + .tr { background: linear-gradient(180deg, #2a86e0, var(--blue)); }
.switch input:checked + .tr::after { transform: translateX(14px); }
.switch input:focus-visible + .tr { outline: 2px solid var(--blue); outline-offset: 2px; }
.sheet-f { padding: 14px 26px 20px; border-top: 1px solid var(--rule-soft); background: rgba(255, 255, 255, .35); }
.actions { display: flex; gap: 10px; }
.btn { height: 42px; padding: 0 16px; border-radius: 13px; border: 1px solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .6); color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; transition: background .2s, box-shadow .3s; position: relative; }
.btn:hover { background: rgba(255, 255, 255, .9); box-shadow: 0 10px 22px -12px rgba(20, 45, 90, .4); }
.btn.primary { flex: 1; justify-content: center; border-color: transparent; color: #fff; overflow: hidden;
  background: linear-gradient(180deg, #2f8fe6 0%, var(--blue) 55%, #0a5bb0 100%);
  box-shadow: 0 14px 30px -12px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(0, 0, 0, .12); }
.btn.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); }
.btn.primary:hover::after { animation: sheen .9s var(--ease-out); }
@keyframes sheen { to { transform: translateX(120%); } }
.btn.primary:hover { box-shadow: 0 18px 36px -12px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.primary.done { background: linear-gradient(180deg, #2fbf6a, var(--gift)); box-shadow: 0 14px 30px -12px rgba(21, 128, 61, .5); }
.toast { min-height: 18px; margin: 8px 0 0; color: var(--grey); font-size: 13px; }
.toast.ok { color: var(--gift); }
textarea.out { width: 100%; min-height: 260px; margin-top: 10px; padding: 10px; resize: vertical;
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 12px; background: rgba(255, 255, 255, .6); color: var(--ink);
  font: 12.5px/1.5 var(--font); white-space: pre; overflow: auto; }
.fine { margin: 10px 0 0; color: var(--grey); font-size: 12px; line-height: 1.55; }
.fine b { color: var(--ink-2); font-weight: 500; margin-right: 4px; }
.fine p { margin: 0 0 4px; }

/* ---------- footer ---------- */
.foot { grid-column: 1 / -1; margin-top: 8px; padding: 18px 22px; color: var(--grey); font-size: 13px; line-height: 1.6; }
.foot p { margin: 0 0 6px; max-width: 100ch; }
.foot b { color: var(--ink-2); font-weight: 500; margin-right: 6px; }

/* ---------- fx helpers ---------- */
.chip-fly { position: fixed; z-index: 60; pointer-events: none; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink);
  background: rgba(255, 255, 255, .85); border: 1px solid #fff; box-shadow: 0 12px 30px -10px rgba(20, 45, 90, .45), 0 0 0 1px rgba(10, 102, 194, .15); backdrop-filter: blur(10px); white-space: nowrap; }
.spark { position: fixed; z-index: 60; pointer-events: none; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 2px rgba(255, 255, 255, .9), 0 0 24px 4px var(--blue-glow); }
.skel { height: 14px; border-radius: 6px; background: rgba(15, 23, 38, .06); margin: 14px 0; max-width: 60%; }
.err { padding: 24px 0; color: var(--danger); }

/* ---------- phone ---------- */
.dock { display: none; }
@media (max-width: 960px) {
  .topbar { padding: 0 12px; top: 8px; margin-top: 8px; }
  .topbar .rate, .brand .scope { display: none; }
  .canvas { grid-template-columns: minmax(0, 1fr); padding: 24px 12px 110px; gap: 16px; }
  .lead h2 { font-size: 30px; }
  .lead p { font-size: 15px; }
  .config { grid-template-columns: 1fr; gap: 8px; padding: 16px; }
  .tier-note { grid-column: 1; }
  .cat { padding: 4px 14px 8px; }
  .row { grid-template-columns: 22px minmax(0, 1fr); gap: 4px 12px; margin: 4px -4px; }
  .row .ctl { grid-column: 2; }
  .row .fig { grid-column: 2; text-align: left; display: flex; gap: 8px; align-items: baseline; }
  .row .fig .md { display: inline; }
  .who .en { display: block; margin: 0; }
  .sheet-wrap { position: fixed; inset: auto 0 0 0; z-index: 30; perspective: none; transform: translateY(104%); transition: transform .45s var(--ease-out); }
  .sheet { max-height: 88vh; border-radius: 24px 24px 0 0; transform: none !important; }
  .sheet .glare { display: none; }
  body.sheet-open .sheet-wrap { transform: none; }
  .sheet-h { padding-top: 16px; }
  .sheet .close { display: inline-flex; }
  .scrim { position: fixed; inset: 0; z-index: 25; background: rgba(15, 23, 38, .35); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .35s; }
  body.sheet-open .scrim { opacity: 1; pointer-events: auto; }
  .dock { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 24; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 18px; }
  .dock .k { color: var(--grey); font-size: 12px; display: block; }
  .dock b { font-weight: 600; font-size: 15px; }
  .dock .btn { margin-left: auto; height: 40px; }
  body.sheet-open .dock { display: none; }
}
.sheet .close { display: none; margin-left: auto; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: var(--grey); border-radius: 8px; align-items: center; justify-content: center; }
.sheet .close:hover { background: rgba(15, 23, 38, .06); }
@media (max-width: 420px) { .seg button { padding: 0 11px; } .total .v { font-size: 30px; } .lead h2 { font-size: 27px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .aurora-fallback { animation: none; }
}
@media (prefers-reduced-transparency: reduce) { .glass, .sheet { background: rgba(255, 255, 255, .96); backdrop-filter: none; } }
