/* Substrack 5.2 · "Signal, quiet"
   Cool light ground with one fixed colour wash, frosted chrome (top bar, dock, sheets), ultramarine-to-azure field,
   vermilion only for money about to leave. One family: Host Grotesk, light weights for figures. */

:root {
  --ground: #F2F4F8; --ground-2: rgba(16, 24, 48, .06); --paper: rgba(255, 255, 255, .72); --paper-solid: #FFFFFF; --field: rgba(16, 24, 48, .045);
  --glass-line: rgba(255, 255, 255, .9); --wash-1: rgba(36, 51, 242, .16); --wash-2: rgba(57, 165, 255, .16); --wash-3: rgba(255, 120, 80, .08);
  --ink: #0D0E12; --ink-2: #474A53; --ink-3: #868993; --rule: rgba(13, 14, 18, .1); --rule-2: rgba(13, 14, 18, .18);
  --blue: #2433F2; --blue-2: #1A25C4; --blue-3: #131B96; --blue-soft: rgba(36, 51, 242, .08); --on-blue: #FFFFFF;
  --signal: #FF4D1F; --signal-soft: rgba(255, 77, 31, .1);
  --amber: #C98500; --amber-soft: rgba(225, 160, 20, .14);
  --green: #078A5B; --green-soft: rgba(7, 138, 91, .1);
  --dot: rgba(13, 14, 18, .085);
  --lift: 0 1px 0 rgba(13, 14, 18, .04), 0 14px 30px -18px rgba(13, 14, 18, .35);
  --float: 0 30px 70px -24px rgba(13, 14, 18, .45);
  --f-cond: 'Host Grotesk', system-ui, sans-serif;
  --f-text: 'Host Grotesk', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .9, .25, 1);
  color-scheme: light;
}
[data-theme="dark"] {
  --ground: #090B11; --ground-2: rgba(255, 255, 255, .06); --paper: rgba(255, 255, 255, .05); --paper-solid: #141823; --field: rgba(255, 255, 255, .06);
  --glass-line: rgba(255, 255, 255, .08); --wash-1: rgba(70, 85, 255, .22); --wash-2: rgba(57, 165, 255, .12); --wash-3: rgba(255, 106, 61, .06);
  --ink: #F1F2F4; --ink-2: #ABAEB8; --ink-3: #6E717B; --rule: rgba(255, 255, 255, .08); --rule-2: rgba(255, 255, 255, .16);
  --blue: #4655FF; --blue-2: #2F3DE6; --blue-3: #1D27A8; --blue-soft: rgba(70, 85, 255, .14);
  --signal: #FF6A3D; --signal-soft: rgba(255, 106, 61, .14);
  --amber: #F2B13B; --amber-soft: rgba(242, 177, 59, .13);
  --green: #3CCB8F; --green-soft: rgba(60, 203, 143, .12);
  --dot: rgba(255, 255, 255, .05);
  --lift: 0 14px 30px -18px rgba(0, 0, 0, .8);
  --float: 0 30px 70px -24px rgba(0, 0, 0, .9);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; color: var(--ink); font: 400 15px/1.5 var(--f-text); letter-spacing: -.005em; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; background: var(--ground); }
/* One fixed, composited wash instead of a repainting background: smooth scrolling */
body::before { content: ''; position: fixed; inset: -10vh -10vw; z-index: -1; pointer-events: none; transform: translateZ(0);
  background: radial-gradient(40% 50% at 8% 0%, var(--wash-1), transparent 70%), radial-gradient(45% 55% at 100% 10%, var(--wash-2), transparent 70%), radial-gradient(40% 40% at 70% 100%, var(--wash-3), transparent 70%); }
.glass { background: var(--paper); border: 1px solid var(--glass-line); }
body.locked { overflow: hidden; }
::selection { background: var(--blue); color: #fff; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 2px; border-radius: 10px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.ic { stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hidden { display: none !important; }
.muted { color: var(--ink-3); }
.center { text-align: center; display: block; margin-inline: auto; }
kbd { font: 500 12.5px/1 var(--f-text); padding: 4px 6px; border-radius: 6px; background: var(--paper); border: 1px solid var(--rule-2); white-space: nowrap; }
.k { margin: 0; font: 500 13px/1.2 var(--f-text); letter-spacing: -.01em; color: var(--ink-3); }

/* ── Controls ─────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 14px; background: var(--blue); color: var(--on-blue); font: 550 14.5px/1 var(--f-text); text-decoration: none; white-space: nowrap; transition: transform .12s var(--ease), background .15s, box-shadow .15s; }
.btn:hover { background: var(--blue-2); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 11px; }
.btn.xl { height: 58px; padding: 0 26px; font-size: 17px; border-radius: 18px; }
.btn.full { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rule-2); }
.btn.ghost:hover { background: var(--paper); }
.btn.danger { background: var(--signal); color: #fff; }
.btn.ghost.danger { background: transparent; color: var(--signal); }
.btn.inv { background: #fff; color: var(--blue-2); }
.btn.inv:hover { background: #F1F2FF; }
.lnk { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--rule-2); }
.lnk:hover { text-decoration-color: currentColor; }
.lnk.inv { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.lnk.danger { color: var(--signal); }
.ibtn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 13px; color: var(--ink-2); transition: background .15s, color .15s; }
.ibtn:hover { background: var(--paper); color: var(--ink); }
.ibtn.sm { width: 32px; height: 32px; border-radius: 10px; }
.ibtn.danger { color: var(--signal); }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 13px; background: var(--ground-2); }
.seg button { height: 34px; padding: 0 13px; border-radius: 10px; font: 600 13.5px/1 var(--f-text); color: var(--ink-2); white-space: nowrap; }
.seg button em { font: 500 12.5px var(--f-text); font-style: normal; color: var(--ink-3); margin-left: 3px; }
.seg button.on { background: var(--ink); color: var(--ground); }
.seg button.on em { color: inherit; opacity: .6; }
.seg.wrap { flex-wrap: wrap; }
.seg.full { display: flex; width: 100%; } .seg.full button { flex: 1; }
.pill { display: inline-block; padding: 3px 8px; border-radius: 7px; font: 500 12px/1.2 var(--f-text); background: var(--ground-2); color: var(--ink-2); }
.pill-active { background: var(--green-soft); color: var(--green); }
.pill-trial { background: var(--blue-soft); color: var(--blue); }
.pill-paused { background: var(--amber-soft); color: var(--amber); }
.pill-cancelled { background: var(--signal-soft); color: var(--signal); }
.shake { animation: shake .32s; }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }

/* Logos: the service's own icon on a white plate, monogram underneath as fallback */
.logo { --sz: 40px; position: relative; flex: none; width: var(--sz); height: var(--sz); border-radius: calc(var(--sz) * .28); background: var(--c, #333); display: inline-grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 1px rgba(13, 14, 18, .07); }
.logo b { font: 650 calc(var(--sz) * .36)/1 var(--f-cond); color: #fff; }
span.logo.logo { display: inline-grid; flex: none; width: var(--sz); height: var(--sz); min-width: var(--sz); margin: 0; padding: 0; }
span.logo.logo > b { font: 650 calc(var(--sz) * .36)/1 var(--f-cond); color: #fff; margin: 0; flex: none; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 17%; }
.logo.glyph svg { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[data-theme="dark"] .logo { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }

/* ── App frame: no sidebar. A top line, the work, a dock on phones ───── */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px; height: 68px; padding: 0 clamp(16px, 3vw, 40px); background: color-mix(in srgb, var(--ground) 70%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 650 19px/1 var(--f-cond); letter-spacing: -.02em; }
.tabs { display: flex; gap: 22px; }
.tabs a { position: relative; text-decoration: none; font: 550 15px/68px var(--f-cond); color: var(--ink-3); letter-spacing: .005em; transition: color .15s; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); }
.tabs a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 14px; height: 2px; border-radius: 3px; background: var(--blue); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.btn-add { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 13px; background: var(--blue); color: #fff; font: 550 14.5px var(--f-text); transition: background .15s, transform .12s; }
.btn-add:hover { background: var(--blue-2); } .btn-add:active { transform: scale(.97); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--ground); display: inline-grid; place-items: center; font: 600 14px/1 var(--f-cond); }
.avatar.guest { background: var(--ground-2); color: var(--ink-2); }
.avatar.big { width: 48px; height: 48px; font-size: 16px; }
.guest-bar { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 10px 16px; margin: 0 clamp(16px, 3vw, 40px); border-radius: 14px; background: var(--blue-soft); font-size: 14px; color: var(--ink-2); }
.guest-bar span { display: inline-flex; gap: 8px; align-items: center; }
.main { max-width: 1240px; margin: 0 auto; padding: 18px clamp(16px, 3vw, 40px) 100px; outline: none; animation: in .3s var(--ease); }
@keyframes in { from { opacity: 0; transform: translateY(6px); } }
.dock { display: none; }
.note { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--glass-line); margin: 0 0 14px; font-size: 14.5px; }

/* Page heads */
.ph { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 6px 0 22px; }
.ph h1 { margin: 0; font: 400 clamp(30px, 3.6vw, 44px)/1.05 var(--f-cond); letter-spacing: -.04em; }
.ph h1 span { color: var(--ink-3); font-weight: 500; }
.ph p { margin: 0; color: var(--ink-3); }
.ph-r { margin-left: auto; display: flex; gap: 6px; align-items: center; }

/* ── The band: the one coloured field ─────────────────────────────────── */
.band { position: relative; border-radius: 32px; padding: clamp(22px, 3vw, 36px) clamp(20px, 3vw, 38px) 16px; color: #fff; overflow: hidden;
  background: radial-gradient(70% 90% at 100% 0%, rgba(120, 200, 255, .55), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(20, 25, 140, .55), transparent 70%), linear-gradient(135deg, #2433F2 0%, #2C5BFF 55%, #3A8DFF 100%); }
.band::before { display: none; content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.band > * { position: relative; }
.band .k { color: rgba(255, 255, 255, .72); }
.band-g { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 24px; align-items: end; }
.giant { margin: 8px 0 0; font: 300 clamp(56px, 7.4vw, 108px)/1 var(--f-cond); letter-spacing: -.045em; margin-left: -.04em; }
.figs { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 30px; }
.figs li { display: flex; align-items: baseline; gap: 7px; }
.figs b { font: 500 20px/1 var(--f-cond); letter-spacing: -.02em; }
.figs span { font-size: 14px; color: rgba(255, 255, 255, .72); }
.figs li.over b { color: #FFB199; }
.nextc { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: 24px; padding: 20px 20px 12px; }
.nextc .when { margin: 6px 0 0; font: 400 34px/1 var(--f-cond); letter-spacing: -.03em; }
.nextc .date { margin: 4px 0 10px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.next-l { list-style: none; margin: 0; padding: 0; }
.next-l li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .14); cursor: pointer; }
.next-l li span { flex: 1; min-width: 0; font-weight: 650; display: grid; }
.next-l li small { font-weight: 400; font-size: 12.5px; color: rgba(255, 255, 255, .65); }
.next-l li b { font: 500 17px/1 var(--f-cond); }
.ruler-h { display: flex; align-items: baseline; gap: 14px; margin: 30px 0 4px; flex-wrap: wrap; }
.ruler-h b { font: 600 17px/1 var(--f-cond); }
.ruler-h span { font-size: 14px; color: rgba(255, 255, 255, .72); }
.ruler-h a { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 650; font-size: 14px; text-decoration: none; color: #fff; opacity: .85; }
.ruler-h a:hover { opacity: 1; }
.ruler-x { overflow-x: auto; scrollbar-width: none; margin: 0 -6px; padding: 0 6px; }
.ruler-x::-webkit-scrollbar { display: none; }
.ruler { display: grid; grid-template-columns: repeat(var(--days), minmax(26px, 1fr)); min-width: 760px; }
.rd { position: relative; display: grid; grid-template-rows: 1fr 12px 20px; justify-items: center; height: 136px; border-radius: 12px; }
.rd-stack { display: flex; flex-direction: column-reverse; align-items: center; justify-content: flex-start; gap: 5px; padding-bottom: 6px; }
.rd-more { display: grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 8px; background: #fff; color: var(--blue-2); font: 650 12px/1 var(--f-text); box-shadow: 0 4px 12px -4px rgba(0, 0, 60, .5); transition: transform .15s var(--ease); }
.rd-more:hover { transform: scale(1.08); }
.rd-tok { display: block; border-radius: 10px; transition: transform .15s var(--ease); }
.rd-tok:hover { transform: translateY(-3px) scale(1.06); }
.rd-tok .logo { box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 6px 14px -6px rgba(0, 0, 30, .6); }
.rd-tick { width: 1.5px; height: 12px; background: rgba(255, 255, 255, .4); }
.rd.wk .rd-tick { height: 7px; align-self: start; }
.rd-n { font: 400 10.5px/20px var(--f-text); color: rgba(255, 255, 255, .7); }
.rd.past { opacity: .42; }
.rd.now { background: rgba(255, 255, 255, .1); }
.rd.now .rd-n { background: var(--signal); color: #fff; border-radius: 6px; padding: 0 5px; }
.rd.now .rd-tick { background: var(--signal); width: 2.5px; }

/* Sections */
.sec { margin-top: 54px; }
.sec-h { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.sec-h h2 { margin: 0; font: 500 26px/1.1 var(--f-cond); letter-spacing: -.03em; }
.sec-h span { color: var(--ink-3); font-size: 14px; }
.sec.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* Tickets */
.tks { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.tk { background: var(--paper); border: 1px solid var(--glass-line); border-radius: 22px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.tk h3 { margin: 0; font: 600 15.5px/1.3 var(--f-text); }
.tk p { margin: 0; color: var(--ink-2); font-size: 14px; }
.tk-a { margin-top: auto; padding-top: 10px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.tk-bad { background: linear-gradient(var(--signal-soft), var(--signal-soft)), var(--paper); }
.tk-bad h3 { color: var(--signal); }
.tk-warn { background: linear-gradient(var(--amber-soft), var(--amber-soft)), var(--paper); }
.tk-good { background: linear-gradient(var(--green-soft), var(--green-soft)), var(--paper); }
.tk-day { background: linear-gradient(var(--blue-soft), var(--blue-soft)), var(--paper); }
.tk-who { display: flex; gap: 12px; align-items: center; margin-bottom: 2px; }
.tk-who p { font-size: 13px; color: var(--ink-3); }

/* Mosaic */
.mosaic { position: relative; width: 100%; }
.tile { position: absolute; padding: 3px; text-align: left; display: block; }
.tile-in { height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; padding: clamp(10px, 1.4vw, 18px); border-radius: 22px; overflow: hidden;
  background: color-mix(in srgb, var(--c) 9%, rgba(255, 255, 255, .7)); border: 1px solid var(--glass-line); transition: background .2s, transform .2s var(--ease); }
[data-theme="dark"] .tile-in { background: color-mix(in srgb, var(--c) 14%, rgba(255, 255, 255, .03)); }
button.tile:hover .tile-in { background: color-mix(in srgb, var(--c) 16%, rgba(255, 255, 255, .85)); }
.tile-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
.tile-h em { font: 500 12px/1 var(--f-text); font-style: normal; padding: 5px 7px; border-radius: 7px; background: var(--paper); color: var(--ink-2); white-space: nowrap; }
.tile-h em.hot { background: var(--signal); color: #fff; }
.tile-b { display: grid; min-width: 0; }
.tile-b b { font-weight: 550; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-b strong { font: 400 22px/1.05 var(--f-cond); letter-spacing: -.03em; }
.tile-b strong small { font: 500 13px var(--f-text); color: var(--ink-3); margin-left: 2px; letter-spacing: 0; }
.t-xl .tile-b b { font-size: 16px; } .t-xl .tile-b strong { font-size: clamp(32px, 3.3vw, 46px); font-weight: 300; }
.t-l .tile-b strong { font-size: clamp(24px, 2.3vw, 32px); font-weight: 300; }
.tile-b strong { white-space: nowrap; overflow: hidden; text-overflow: clip; }
.t-m .tile-b strong { font-size: 19px; }
.t-s .tile-in { align-items: center; justify-content: center; padding: 6px; }

/* Year + numbers + bars */
.yr { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; height: 190px; padding: 18px 20px 12px; background: var(--paper); border: 1px solid var(--glass-line); border-radius: 24px; }
.yr-c { display: grid; grid-template-rows: 16px 1fr 18px; gap: 6px; text-align: center; }
.yr-v { font: 500 12px var(--f-text); color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.yr-t { display: flex; align-items: flex-end; justify-content: center; }
.yr-t i { display: block; width: min(22px, 60%); border-radius: 6px 6px 2px 2px; background: color-mix(in srgb, var(--blue) 30%, transparent); transition: background .15s; }
.yr-t i.pk, .yr-c:hover .yr-t i { background: var(--blue); }
.yr-l { font: 500 12.5px/18px var(--f-cond); color: var(--ink-3); }
.yr-l small { font: 500 12px var(--f-text); color: var(--ink-3); }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12px; }
.nums div { padding: 16px 20px; border-left: 1.5px solid var(--rule); display: grid; gap: 6px; }
.nums div:first-child { border-left: 0; padding-left: 4px; }
.nums span { font: 500 13px var(--f-text); color: var(--ink-3); }
.nums b { font: 300 32px/1 var(--f-cond); letter-spacing: -.035em; }
.hb { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hb li { display: grid; grid-template-columns: 1fr auto 44px; grid-template-rows: auto 4px; column-gap: 12px; row-gap: 6px; align-items: baseline; }
.hb-k { font-weight: 500; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-v { font: 500 15px/1 var(--f-cond); }
.hb em { font: 500 12.5px var(--f-text); font-style: normal; color: var(--ink-3); text-align: right; }
.hb-t { grid-column: 1 / -1; height: 4px; border-radius: 6px; background: var(--ground-2); overflow: hidden; }
.hb-t i { display: block; height: 100%; border-radius: 6px; background: var(--blue); }

/* Blank state */
.blank { text-align: center; padding: 9vh 16px 40px; display: grid; justify-items: center; gap: 18px; }
.blank h1 { margin: 0; font: 400 clamp(36px, 4.6vw, 56px)/1.05 var(--f-cond); letter-spacing: -.04em; }
.blank p { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 460px; }
.blank-alt { display: flex; gap: 10px; color: var(--ink-3); flex-wrap: wrap; justify-content: center; }
.blank-logos { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.blank-logos button { border-radius: 16px; transition: transform .15s var(--ease); }
.blank-logos button:hover { transform: translateY(-4px) rotate(-3deg); }
.blank.sm { padding: 50px 16px; }

/* ── Calendar ─────────────────────────────────────────────────────────── */
.cal { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.cal-g { background: var(--paper); border: 1px solid var(--glass-line); border-radius: 28px; padding: 16px; }
.cal-w { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 6px; }
.cal-w span { font: 500 13px var(--f-cond); color: var(--ink-3); text-align: center; }
.cal-c { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cd { min-height: 96px; border-radius: 16px; padding: 8px; display: flex; flex-direction: column; gap: 4px; text-align: left; background: var(--field); transition: background .15s; }
.cd.pad { background: transparent; }
.cd:hover { background: var(--ground-2); }
.cd.has { background: var(--blue-soft); }
.cd.past { opacity: .5; }
.cd.on { box-shadow: inset 0 0 0 2.5px var(--ink); }
.cd-n { font: 500 14px/1 var(--f-cond); }
.cd.now .cd-n { color: #fff; background: var(--signal); border-radius: 8px; padding: 3px 6px; align-self: flex-start; }
.cd-l { display: flex; flex-wrap: wrap; gap: 3px; align-items: center; }
.cd-l em { font: 500 12px var(--f-text); font-style: normal; color: var(--ink-2); }
.cd-s { margin-top: auto; font: 500 13px/1 var(--f-cond); }
.cal-s { background: var(--paper); border: 1px solid var(--glass-line); border-radius: 28px; padding: 22px; position: sticky; top: 84px; }
.cal-s h2 { margin: 0 0 12px; font: 500 20px/1.1 var(--f-cond); letter-spacing: -.02em; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); cursor: pointer; }
.rows li:first-child { border-top: 0; }
.r-t { flex: 1; min-width: 0; display: grid; }
.r-t b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-t small, .r-d small, .r-a small { font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-a { font: 500 16px/1 var(--f-cond); }
.remind { margin-top: 18px; padding: 18px; border-radius: 22px; background: var(--ground); }
.remind h3 { margin: 0 0 6px; display: flex; gap: 8px; align-items: center; font-size: 16px; }
.remind p { margin: 0 0 14px; color: var(--ink-2); font-size: 14px; }

/* ── All (list) ───────────────────────────────────────────────────────── */
.bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.search { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 15px; background: var(--paper); border: 1px solid var(--glass-line); color: var(--ink-3); }
.search:focus-within { box-shadow: inset 0 0 0 2px var(--blue); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15.5px; }
.search.big { height: 58px; border-radius: 18px; padding: 0 18px; }
.search.big input { font-size: 18px; }
.sel { display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 6px 0 14px; border-radius: 15px; background: var(--paper); border: 1px solid var(--glass-line); font: 500 13px var(--f-text); color: var(--ink-3); }
.sel select { border: 0; background: transparent; font: 650 14.5px var(--f-text); color: var(--ink); outline: 0; padding: 0 4px; }
.grp { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 4px 8px; }
.grp h2 { margin: 0; font: 500 19px/1 var(--f-cond); letter-spacing: -.02em; }
.grp span { font: 500 13.5px var(--f-text); color: var(--ink-3); }
.tbl { list-style: none; margin: 0; padding: 6px; background: var(--paper); border: 1px solid var(--glass-line); border-radius: 24px; }
.tbl li { display: flex; align-items: center; border-radius: 18px; transition: background .12s; }
.tbl li + li { box-shadow: 0 -1px 0 var(--rule); }
.tbl li:hover, .tbl li.sel { background: var(--field); box-shadow: none; }
.tbl li:hover + li, .tbl li.sel + li { box-shadow: none; }
.tbl li.dim .tr { opacity: .55; }
.tr { flex: 1; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) 140px 150px; gap: 14px; align-items: center; padding: 10px 12px 10px 2px; text-align: left; }
.r-t .plan-tag { font: 500 12px var(--f-text); color: var(--ink-3); margin-left: 4px; }
.r-d { display: grid; }
.r-d b { font: 550 14px/1.2 var(--f-cond); }
.r-d.hot b { color: var(--signal); }
.r-a { text-align: right; display: grid; }
.r-a b { font: 500 17px/1.1 var(--f-cond); letter-spacing: -.02em; }
.set-day { font-weight: 650; font-size: 13.5px; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.ck { position: relative; width: 36px; height: 36px; display: grid; place-items: center; flex: none; cursor: pointer; }
.ck input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ck i { width: 18px; height: 18px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--rule-2); background: var(--paper); transition: all .12s; }
.tbl .ck { opacity: 0; }
.tbl li:hover .ck, .tbl li.sel .ck, .tbl:has(.sel) .ck, .ck:focus-within { opacity: 1; }
.ck input:checked + i { background: var(--blue); box-shadow: inset 0 0 0 4px var(--blue), inset 0 0 0 7px #fff; }
.bulk { position: sticky; bottom: 22px; z-index: 5; margin: 18px auto 0; width: fit-content; max-width: 100%; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 10px 12px 10px 18px; border-radius: 20px; background: var(--ink); color: var(--ground); box-shadow: var(--float); }
.bulk .btn { background: rgba(255, 255, 255, .12); color: inherit; }
[data-theme="dark"] .bulk .btn { background: rgba(0, 0, 0, .1); }
.bulk .btn.danger { background: var(--signal); color: #fff; }
.bulk .lnk { color: inherit; }

/* ── Settings ─────────────────────────────────────────────────────────── */
.sbox { background: var(--paper); border: 1px solid var(--glass-line); border-radius: 26px; padding: 22px 24px; margin-bottom: 14px; }
.sbox h2 { margin: 0 0 8px; font: 500 19px/1.1 var(--f-cond); letter-spacing: -.02em; }
.srow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); }
.sbox h2 + .srow { border-top: 0; }
.srow b { display: block; font-weight: 650; }
.srow small { display: block; color: var(--ink-3); font-size: 13.5px; }
.srow select, .srow input { width: 100%; height: 44px; border-radius: 13px; border: 0; background: var(--field); padding: 0 12px; outline: 0; }
.srow select:focus, .srow input:focus { box-shadow: inset 0 0 0 2px var(--blue); }
.fx { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 12px 0; }
.fx label { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 44px; border-radius: 13px; background: var(--field); }
.fx span { font: 600 14px var(--f-cond); }
.fx input { flex: 1; min-width: 0; border: 0; background: transparent; text-align: right; font: 500 14.5px var(--f-text); outline: 0; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.keys { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; color: var(--ink-2); }

/* ── Layers ───────────────────────────────────────────────────────────── */
.layer { position: fixed; inset: 0; z-index: 60; }
.scrim { position: absolute; inset: 0; background: rgba(8, 10, 30, .38); opacity: 0; transition: opacity .2s; }
.scrim.clear { background: transparent; }
.layer.in .scrim { opacity: 1; }
[role=dialog]:focus { outline: none; }

/* Shelf: full-screen add */
.layer-full { background: color-mix(in srgb, var(--ground) 82%, transparent); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); opacity: 0; transform: translateY(14px); transition: opacity .2s, transform .25s var(--ease); }
.layer-full.in { opacity: 1; transform: none; }
.shelf { height: 100%; display: flex; flex-direction: column; max-width: 1240px; margin: 0 auto; }
.shelf-h { display: flex; align-items: flex-start; gap: 16px; padding: 26px clamp(16px, 3vw, 40px) 8px; }
.shelf-ht { flex: 1; }
.shelf-h h2 { margin: 0; font: 400 clamp(28px, 3.4vw, 40px)/1.05 var(--f-cond); letter-spacing: -.035em; }
.shelf-h p { margin: 8px 0 0; color: var(--ink-2); font-size: 15.5px; }
.stepno { display: inline-block; margin: 0 0 10px !important; font: 500 13px var(--f-text) !important; color: #fff !important; background: var(--blue); padding: 5px 9px; border-radius: 8px; }
.shelf-q { padding: 14px clamp(16px, 3vw, 40px) 4px; }
.cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-top: 12px; padding-bottom: 4px; }
.cats::-webkit-scrollbar { display: none; }
.cats button { flex: none; height: 36px; padding: 0 14px; border-radius: 11px; font: 500 14px/1 var(--f-cond); color: var(--ink-2); background: var(--paper); border: 1px solid var(--glass-line); }
.cats button.on { background: var(--ink); color: var(--ground); }
.shelf-b { flex: 1; overflow-y: auto; padding: 12px clamp(16px, 3vw, 40px) 30px; overscroll-behavior: contain; }
.shelf-b .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.tile-x { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; min-height: 144px; border-radius: 22px; background: var(--paper); border: 1px solid var(--glass-line); text-align: left; transition: transform .15s var(--ease), box-shadow .15s; }
.tile-x .logo { margin-bottom: auto; }
.tile-x b { font-weight: 550; font-size: 15px; line-height: 1.2; margin-top: 12px; }
.tile-x small { font-size: 12.5px; color: var(--ink-3); }
.tile-x:not(.open):hover { transform: translateY(-3px); box-shadow: var(--lift); }
.tile-x.have { box-shadow: inset 0 0 0 2.5px var(--blue); background: color-mix(in srgb, var(--blue) 5%, var(--paper)); }
.tile-x .tick { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.tile-x.pop { animation: pop .35s var(--ease); }
@keyframes pop { 40% { transform: scale(1.05); } }
.tile-x.custom { background: transparent; box-shadow: inset 0 0 0 1.5px var(--rule-2); }
.tile-x.custom .plus { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--ground-2); color: var(--ink-2); margin-bottom: auto; }
.tile-x.open { grid-column: span 2; grid-row: span 2; background: var(--paper-solid); box-shadow: inset 0 0 0 2.5px var(--ink), var(--lift); cursor: default; gap: 10px; }
.tx-h { display: flex; align-items: center; gap: 12px; width: 100%; }
.tx-h b { flex: 1; margin: 0; font: 550 19px/1 var(--f-cond); letter-spacing: -.02em; }
.plans { display: grid; gap: 6px; width: 100%; }
.plans.row { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.plan { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--field); text-align: left; transition: background .12s, color .12s; }
.plan b { font-weight: 500; font-size: 14.5px; }
.plan span { font: 500 16px/1 var(--f-cond); white-space: nowrap; }
.plan small { font: 600 12px var(--f-text); color: var(--ink-3); }
.plan:hover, .plan.on { background: var(--blue); color: #fff; }
.plan:hover small, .plan.on small { color: rgba(255, 255, 255, .7); }
.typed { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 12px; border-radius: 22px; background: var(--blue); color: #fff; text-align: left; }
.typed span { flex: 1; display: grid; }
.typed b { font: 550 18px/1.1 var(--f-cond); }
.typed small { color: rgba(255, 255, 255, .75); font-size: 13.5px; }
.typed em { font: 500 12.5px var(--f-text); font-style: normal; background: rgba(255, 255, 255, .18); padding: 5px 8px; border-radius: 8px; }
.shelf-f { display: flex; align-items: center; gap: 14px; padding: 14px clamp(16px, 3vw, 40px) calc(14px + env(safe-area-inset-bottom)); background: var(--paper-solid); border-radius: 26px 26px 0 0; box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, .3); }
.sf-l { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; }
.sf-logos { display: flex; }
.sf-logos .logo { margin-left: -8px; box-shadow: 0 0 0 2.5px var(--paper-solid); } .sf-logos .logo:first-child { margin-left: 0; }
.days { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.days li { display: grid; grid-template-columns: auto minmax(0, 220px) minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; border-radius: 20px; background: var(--paper-solid); }
.dr-t { display: grid; } .dr-t b { font-weight: 700; } .dr-t small { color: var(--ink-3); font-size: 13px; }
.dpick { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 4px; padding: 2px; }
.dpick button, .dgrid button { flex: none; width: 100%; height: 36px; border-radius: 11px; background: var(--field); font: 500 14px/1 var(--f-cond); transition: background .12s; }
.dpick button:hover, .dgrid button:hover { background: var(--ground-2); }
.dpick button.on { background: var(--blue); color: #fff; }
.dgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 4px 22px 8px; }
.dgrid button { width: auto; height: 44px; font-size: 16px; }

/* Side sheet */
.layer-side .sheet { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(540px, calc(100vw - 24px)); background: var(--paper-solid); border-radius: 30px; display: flex; flex-direction: column; box-shadow: var(--float); transform: translateX(40px); opacity: 0; transition: transform .28s var(--ease), opacity .2s; }
.layer-side.in .sheet { transform: none; opacity: 1; }
.grab { display: none; }
.sh-h { display: flex; align-items: center; gap: 14px; padding: 22px 22px 12px; }
.sh-h > div { flex: 1; min-width: 0; }
.sh-h h2 { margin: 0; font: 500 24px/1.1 var(--f-cond); letter-spacing: -.025em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-h p { margin: 6px 0 0; display: flex; gap: 8px; align-items: center; color: var(--ink-3); font-size: 13.5px; }
.sh-body { flex: 1; overflow-y: auto; padding: 4px 22px 18px; overscroll-behavior: contain; }
.sh-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.sh-sum > div { background: var(--field); border-radius: 18px; padding: 12px 14px; display: grid; gap: 2px; }
.sh-sum span, .sh-sum small { font: 500 12px var(--f-text); color: var(--ink-3); }
.sh-sum b { font: 500 18px/1.1 var(--f-cond); letter-spacing: -.02em; }
.sh-cancel { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.sh-cancel a { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--blue); text-decoration: none; padding: 6px 10px; border-radius: 999px; background: color-mix(in srgb, currentColor 9%, transparent); }
.sh-cancel a:hover { background: color-mix(in srgb, currentColor 15%, transparent); }
.sh-cancel .ic { stroke: currentColor; fill: none; stroke-width: 1.8; }
.sh-hist { margin-bottom: 14px; font-size: 14px; } .sh-hist summary { cursor: pointer; font-weight: 650; }
.sh-hist ul { list-style: none; padding: 8px 0 0; margin: 0; display: grid; gap: 4px; } .sh-hist li { display: flex; justify-content: space-between; }
.sh-plans { margin-bottom: 14px; display: grid; gap: 8px; }
.lab { font: 500 12.5px var(--f-text); color: var(--ink-3); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.form .full { grid-column: 1 / -1; }
.f { display: grid; gap: 6px; }
.f > span { font: 500 12.5px var(--f-text); color: var(--ink-3); }
.f > span small { font: inherit; opacity: .7; }
.f input, .f select, .f textarea, .amt, .step { width: 100%; min-height: 46px; border: 0; border-radius: 14px; background: var(--field); padding: 0 14px; outline: 0; color: var(--ink); font-size: 15.5px; }
.f textarea { padding: 12px 14px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus, .amt:focus-within { box-shadow: inset 0 0 0 2px var(--blue); }
.amt { display: flex; padding: 0; overflow: hidden; }
.amt select { border: 0; background: transparent; padding: 0 4px 0 12px; font: 500 13.5px var(--f-text); outline: 0; }
.amt input { box-shadow: none !important; background: transparent; font: 500 18px var(--f-cond); padding-left: 6px; }
.step { display: flex; align-items: center; gap: 4px; padding: 4px; }
.step button { width: 38px; height: 38px; border-radius: 11px; background: var(--paper-solid); font-size: 20px; }
.step input { width: 46px; min-height: 0; padding: 0; text-align: center; background: transparent; font: 500 18px var(--f-cond); -moz-appearance: textfield; }
.step input::-webkit-inner-spin-button { -webkit-appearance: none; }
.step em { font-style: normal; color: var(--ink-3); font-size: 13px; margin-left: 4px; }
.shelf-sec { margin: 28px 0 12px; } .shelf-sec h3 { margin: 0 0 4px; font: 650 17px var(--f-text); } .shelf-sec p { margin: 0; font-size: 13.5px; color: var(--ink-3); }
.sh-miss { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--blue-soft); font-size: 13.5px; line-height: 1.45; }
.sh-miss .ic { flex: none; margin-top: 1px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.f.offer .lnk { justify-self: start; font-size: 13.5px; }
.f.offer.closed .offer-row { display: none; } .f.offer:not(.closed) .lnk { display: none; }
.offer-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.offer-row label { display: grid; gap: 6px; } .offer-row span { font: 500 12.5px var(--f-text); color: var(--ink-3); }
.sh-calc { margin: 16px 0 0; font-weight: 650; color: var(--blue); min-height: 20px; }
.sh-dupe { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--amber-soft); font-size: 14px; }
.sh-f { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--rule); }
.sp { flex: 1; font-size: 13.5px; color: var(--ink-3); }

/* Modals + popover */
.layer-modal { display: grid; place-items: start center; padding: 9vh 16px 16px; overflow-y: auto; }
.modal, .pal { position: relative; width: min(500px, 100%); background: var(--paper-solid); border-radius: 30px; box-shadow: var(--float); transform: translateY(12px) scale(.98); opacity: 0; transition: transform .24s var(--ease), opacity .18s; }
.layer.in .modal, .layer.in .pal { transform: none; opacity: 1; }
.modal.wide { width: min(920px, 100%); }
.m-h { display: flex; gap: 14px; align-items: flex-start; padding: 24px 24px 10px; }
.m-h > div { flex: 1; }
.m-h h2 { margin: 0; font: 500 22px/1.15 var(--f-cond); letter-spacing: -.025em; }
.m-h p { margin: 8px 0 0; color: var(--ink-2); font-size: 14.5px; }
.m-f { display: flex; align-items: center; gap: 8px; padding: 14px 20px 18px; }
.auth { padding: 30px 28px 24px; display: grid; gap: 12px; }
.auth .mk { width: 36px; height: 36px; }
.auth h2 { margin: 6px 0 0; font: 400 30px/1.05 var(--f-cond); letter-spacing: -.035em; }
.auth > p { margin: 0; }
.auth .x { position: absolute; top: 14px; right: 14px; }
.aform { display: grid; gap: 12px; margin-top: 6px; }
.err { margin: 0; min-height: 20px; color: var(--signal); font-weight: 600; font-size: 14px; }
.fine { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-3); }
.layer-pop .pop { position: absolute; top: 64px; right: clamp(16px, 3vw, 40px); width: 290px; background: var(--paper-solid); border-radius: 24px; padding: 8px; box-shadow: var(--float); opacity: 0; transform: translateY(-6px); transition: opacity .15s, transform .2s var(--ease); }
.layer-pop.in .pop { opacity: 1; transform: none; }
.pop-h { display: flex; gap: 12px; align-items: center; padding: 12px; }
.pop-h div { display: grid; min-width: 0; } .pop-h small { color: var(--ink-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.pop-i { width: 100%; display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 14.5px; text-align: left; }
.pop-i:hover { background: var(--field); }
.pop-i.strong { background: var(--blue); color: #fff; margin-bottom: 4px; }
.pal { width: min(640px, 100%); overflow: hidden; }
.pal-in { display: flex; gap: 12px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--rule); color: var(--ink-3); }
.pal-in input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 18px; color: var(--ink); }
.pal-list { list-style: none; margin: 0; padding: 8px; max-height: 58vh; overflow-y: auto; }
.pal-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; cursor: pointer; }
.pal-list li em { width: 44px; font: 500 12px var(--f-text); font-style: normal; color: var(--ink-3); }
.pal-list li b { font-weight: 650; }
.pal-list li span { margin-left: auto; font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.pal-list li .ph-l { width: 26px; margin: 0; }
.pal-list li.on { background: var(--field); } .pal-list li.on em { color: var(--blue); }
.pal-list li.none { color: var(--ink-3); cursor: default; }
.imp { padding: 0 24px; display: grid; gap: 12px; }
.imp textarea { width: 100%; border: 0; border-radius: 18px; padding: 14px; background: var(--field); font: 500 14.5px/1.6 var(--f-text); resize: vertical; outline: 0; color: var(--ink); }
.imp textarea:focus { box-shadow: inset 0 0 0 2px var(--blue); }
.imp-or { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.imp-prev { max-height: 38vh; overflow: auto; }
.imp-t { width: 100%; border-collapse: collapse; font-size: 14px; }
.imp-t th { text-align: left; font: 500 12px var(--f-text); color: var(--ink-3); padding: 8px; position: sticky; top: 0; background: var(--paper-solid); }
.imp-t td { padding: 7px 8px; border-top: 1px solid var(--rule); vertical-align: middle; }
.imp-t td small { display: block; font-size: 12px; color: var(--ink-3); } .imp-t small.warn { color: var(--amber); }
.imp-t tr.off td { opacity: .4; }
.imp-n { display: flex; gap: 10px; align-items: center; } .imp-n span { display: grid; }

/* Toast + tooltip */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; justify-items: center; width: max-content; max-width: calc(100vw - 24px); }
.toast { display: flex; gap: 14px; align-items: center; padding: 12px 12px 12px 18px; border-radius: 16px; background: var(--ink); color: var(--ground); font-weight: 550; font-size: 14.5px; box-shadow: var(--float); transform: translateY(14px); opacity: 0; transition: transform .25s var(--ease), opacity .2s; }
.toast.in { transform: none; opacity: 1; }
.toast.t-bad { background: var(--signal); color: #fff; }
.toast button { background: var(--blue); color: #fff; font-weight: 700; padding: 7px 12px; border-radius: 10px; font-size: 13.5px; }
.tip { position: fixed; z-index: 95; pointer-events: none; background: var(--ink); color: var(--ground); padding: 7px 11px; border-radius: 10px; font-size: 13px; font-weight: 550; max-width: 300px; }

/* ── Landing ──────────────────────────────────────────────────────────── */
.lp { padding-bottom: 30px; }
.lp-top { display: flex; align-items: center; gap: 28px; height: 76px; padding: 0 clamp(16px, 3vw, 40px); }
.lp-top nav { display: flex; gap: 22px; }
.lp-top nav button { font: 500 15px var(--f-cond); color: var(--ink-2); padding: 8px 4px; }
.lp-top nav button:hover { color: var(--ink); }

.lp-cta { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.lp-hero { position: relative; margin: 4px clamp(10px, 2vw, 24px) 0; border-radius: 36px; padding: clamp(28px, 4.2vw, 64px) clamp(22px, 4.5vw, 64px); color: #fff; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: center; min-height: min(640px, calc(100vh - 100px));
  background: radial-gradient(70% 90% at 100% 0%, rgba(120, 200, 255, .6), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(20, 25, 140, .6), transparent 70%), linear-gradient(135deg, #2433F2 0%, #2C5BFF 55%, #3A8DFF 100%); }
.lp-hero::before { display: none; content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(120% 100% at 0% 0%, #000, transparent 80%); mask-image: radial-gradient(120% 100% at 0% 0%, #000, transparent 80%); }
.lp-hero > * { position: relative; }
.lp-hero h1 { margin: 0; font: 400 clamp(38px, 4.6vw, 68px)/1.02 var(--f-cond); letter-spacing: -.045em; }
.lp-hero h1 span { color: rgba(255, 255, 255, .62); display: block; }
.lp-hero-t > p { font-size: clamp(15.5px, 1.2vw, 18px); color: rgba(255, 255, 255, .85); max-width: 480px; margin: 20px 0 0; }
.lp-btns { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.lp-fine { margin: 20px 0 0 !important; font: 500 13px var(--f-text) !important; color: rgba(255, 255, 255, .65) !important; }
.lp-demo { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 28px; padding: 22px 20px 14px; }
.lp-demo .k { color: rgba(255, 255, 255, .7); }
.lp-demo-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.lp-demo .giant { font-size: clamp(44px, 4.4vw, 64px); }
.lp-demo-next { text-align: right; }
.lp-demo .when { margin: 4px 0 0; font: 400 24px/1 var(--f-cond); letter-spacing: -.03em; }
.lp-demo .ruler { min-width: 0; grid-template-columns: repeat(var(--days), minmax(0, 1fr)); }
.lp-demo .mosaic { margin-top: 14px; }
.lp-demo .tile-in { border-radius: 16px; color: var(--ink); }
.lp-demo .rd:not(:nth-child(5n+1)):not(.now) .rd-n { visibility: hidden; }
.lp-demo .rd { height: 92px; }
.lp-how { padding: 96px clamp(16px, 5vw, 72px) 30px; max-width: 1360px; margin: 0 auto; }
.lp-how h2, .lp-end h2 { margin: 0; font: 400 clamp(32px, 4vw, 56px)/1.05 var(--f-cond); letter-spacing: -.045em; max-width: 16ch; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--paper); border: 1px solid var(--glass-line); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.steps .n { font: 300 56px/1 var(--f-cond); color: var(--blue); letter-spacing: -.04em; }
.steps h3 { margin: 10px 0 0; font: 500 22px/1.1 var(--f-cond); letter-spacing: -.025em; }
.steps p { margin: 0; color: var(--ink-2); }
.st-demo { margin-top: auto; padding-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.st-tile { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 18px; background: var(--field); font-size: 13.5px; }
.st-tile.on { box-shadow: inset 0 0 0 2.5px var(--blue); }
.st-demo.plans { grid-template-columns: 1fr; gap: 6px; }
.st-plan { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 13px; background: var(--field); font: 500 16px var(--f-cond); }
.st-plan b { font: 500 14px var(--f-text); }
.st-plan.on { background: var(--blue); color: #fff; }
.st-tk { grid-column: 1 / -1; display: grid; gap: 4px; padding: 16px; border-radius: 18px; background: var(--signal-soft); color: var(--ink-2); font-size: 14px; }
.st-tk b { color: var(--signal); font-size: 15.5px; }
.lp-wall { margin: 60px 0; overflow: hidden; }
.marquee { position: relative; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ground), transparent); } .marquee::after { right: 0; background: linear-gradient(270deg, var(--ground), transparent); }
.mq { display: flex; gap: 14px; width: max-content; animation: mq 70s linear infinite; will-change: transform; }
.marquee.off .mq { animation-play-state: paused; }
.mq .logo { border-radius: 16px; }
@keyframes mq { to { transform: translateX(-50%); } }
.lp-why { max-width: 1360px; margin: 0 auto; padding: 20px clamp(16px, 5vw, 72px); display: grid; grid-template-columns: repeat(4, 1fr); }
.lp-why div { padding: 6px 26px 6px 22px; border-left: 1px solid var(--rule-2); }
.lp-why b { font: 500 22px/1.1 var(--f-cond); letter-spacing: -.025em; }
.lp-why p { margin: 10px 0 0; color: var(--ink-2); }
.lp-end { margin: 90px clamp(10px, 2vw, 24px) 0; padding: clamp(40px, 5vw, 72px) clamp(22px, 5vw, 72px); border-radius: 36px; background: radial-gradient(60% 120% at 100% 0%, rgba(58, 141, 255, .45), transparent 60%), #0B1030; color: #fff; }
.lp-end .lnk { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); }
.lp-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 26px clamp(16px, 3vw, 40px) 0; font: 500 12.5px var(--f-text); color: var(--ink-3); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .band-g { grid-template-columns: 1fr; }
  .cal { grid-template-columns: 1fr; } .cal-s { position: static; }
  .lp-hero { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; } .lp-why { grid-template-columns: 1fr 1fr; gap: 28px 0; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .top { height: 60px; gap: 12px; }
  .tabs, .btn-add, .top .avatar { display: none; }
  .brand { font-size: 24px; }
  .main { padding: 8px 14px calc(110px + env(safe-area-inset-bottom)); }
  .dock { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; padding: 6px; border-radius: 26px; background: color-mix(in srgb, var(--paper-solid) 72%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); border: 1px solid var(--glass-line); color: var(--ink); box-shadow: var(--float); }
  .dock-a { display: grid; justify-items: center; gap: 3px; padding: 6px 0; text-decoration: none; font: 500 11px/1 var(--f-cond); opacity: .55; }
  .dock-a.on { opacity: 1; }
  .dock-add { justify-self: center; width: 56px; height: 56px; border-radius: 19px; background: var(--blue); color: #fff; display: grid; place-items: center; }
  .band { border-radius: 30px; }
  .giant { font-size: clamp(56px, 17vw, 84px); }
  .figs { gap: 4px 18px; } .figs b { font-size: 18px; }
  .nextc .when { font-size: 28px; }
  .sec { margin-top: 40px; } .sec-h h2 { font-size: 23px; }
  .sec.two { grid-template-columns: 1fr; gap: 40px; }
  .tks { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -14px; padding: 0 14px; }
  .tks::-webkit-scrollbar { display: none; }
  .tk { flex: 0 0 82%; scroll-snap-align: start; }
  .yr { gap: 3px; padding: 14px 10px 8px; height: 170px; } .yr-v { font-size: 8px; } .yr-l { font-size: 13px; }
  .nums { grid-template-columns: 1fr 1fr; } .nums div { border-left: 0; padding: 14px 4px; border-top: 1px solid var(--rule); } .nums b { font-size: 28px; }
  .t-xl .tile-b strong { font-size: 34px; } .tile-in { border-radius: 18px; }
  .cd { min-height: 64px; padding: 5px; border-radius: 12px; } .cd-n { font-size: 13px; } .cd-s { font-size: 11px; }
  .cd-l .logo { --sz: 14px !important; } .cd-l .logo b { display: none; }
  .cal-g { padding: 8px; border-radius: 24px; } .cal-c { gap: 3px; }
  .tr { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; } .r-d { display: none; }
  .tbl .ck { display: none; } .tbl:has(.sel) .ck { display: grid; }
  .srow { grid-template-columns: 1fr; }
  .layer-side .sheet { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 94vh; border-radius: 30px 30px 0 0; transform: translateY(40px); padding-bottom: env(safe-area-inset-bottom); }
  .grab { display: block; width: 44px; height: 5px; border-radius: 5px; background: var(--rule-2); margin: 10px auto 0; }
  .form { grid-template-columns: 1fr; }
  .shelf-h { padding-top: 18px; }
  .shelf-b .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tile-x { min-height: 132px; padding: 14px; }
  .tile-x.open { grid-column: 1 / -1; grid-row: auto; }
  .days li { grid-template-columns: auto 1fr; } .dpick { grid-column: 1 / -1; grid-template-columns: repeat(8, minmax(0, 1fr)); } .dpick button { height: 40px; }
  .layer-pop .pop { top: auto; bottom: calc(86px + env(safe-area-inset-bottom)); right: 10px; left: 10px; width: auto; }
  .layer-modal { padding-top: 4vh; }
  .modal .imp-t th:nth-child(5), .modal .imp-t td:nth-child(5), .modal .imp-t th:nth-child(6), .modal .imp-t td:nth-child(6) { display: none; }
  .toasts { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .bulk { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .lp-top { gap: 12px; height: 64px; } .lp-top nav { display: none; } .lp-cta { gap: 12px; } .lp-cta .btn { height: 40px; padding: 0 14px; }
  .lp-hero { border-radius: 32px; margin: 0 8px; }
  .lp-demo { transform: none; padding: 20px 14px 10px; } .lp-demo .when { font-size: 30px; }
  .lp-how { padding-top: 70px; }
  .lp-why { grid-template-columns: 1fr; } .lp-why div { padding-left: 16px; }
  .lp-end { border-radius: 32px; margin-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media print { .top, .dock, .toasts { display: none !important; } body { background: #fff; } }

.stack-btns { display: grid; gap: 8px; padding: 8px 24px 24px; }
.rows.pad { padding: 4px 24px 18px; max-height: 60vh; overflow-y: auto; }
button.brand { padding: 0; }
.lp-cta a.btn { text-decoration: none; }

/* ── 5.5 · Website pages, plans, share card ─────────────────────────────── */
.site .lp-top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ground) 78%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.site .lp-top .brand { display: inline-flex; align-items: center; gap: 10px; font: 600 19px var(--f-cond); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.lp-top nav { flex: 1; }
.lp-top nav a { font: 500 15px var(--f-cond); color: var(--ink-2); padding: 8px 4px; text-decoration: none; border-bottom: 2px solid transparent; }
.lp-top nav a:hover { color: var(--ink); } .lp-top nav a.on { color: var(--ink); border-bottom-color: var(--blue); }
.lp-cta { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.site-nav-m { display: none; }
.pg-head { max-width: 1100px; margin: 0 auto; padding: clamp(36px, 6vw, 84px) clamp(16px, 5vw, 72px) 28px; }
.kicker { margin: 0 0 14px; font: 600 13px var(--f-text); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.pg-head h1 { margin: 0; font: 400 clamp(36px, 5.2vw, 72px)/1.02 var(--f-cond); letter-spacing: -.045em; max-width: 18ch; }
.lede { margin: 18px 0 0; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 60ch; }
.tier { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; font: 600 12px var(--f-text); letter-spacing: .01em; }
.tier-free { background: var(--field); color: var(--ink-2); } .tier-plus { background: var(--blue-soft); color: var(--blue); } .tier-premier { background: #0B1030; color: #fff; }
[data-theme="dark"] .tier-premier { background: #fff; color: #0B1030; } .tier-soon { background: var(--amber-soft); color: var(--amber); }
.ft-wrap { max-width: 1100px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 72px); display: grid; gap: 48px; }
.ft-group { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 28px; padding-top: 28px; border-top: 1px solid var(--rule); }
.ft-gh h2 { margin: 0; font: 400 28px/1.1 var(--f-cond); letter-spacing: -.03em; } .ft-gh p { margin: 8px 0 0; color: var(--ink-3); }
.ft-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.ft-card { background: var(--paper); border: 1px solid var(--glass-line); border-radius: 22px; padding: 18px 18px 20px; box-shadow: var(--lift); }
.ft-card h3 { margin: 12px 0 6px; font: 600 16.5px/1.25 var(--f-text); } .ft-card p { margin: 0; color: var(--ink-2); font-size: 14px; }
.ft-tags { display: flex; gap: 6px; }
.beta-note { max-width: 1100px; margin: 0 auto 22px; padding: 0 clamp(16px, 5vw, 72px); }
.beta-note { display: flex; gap: 12px; align-items: flex-start; } .beta-note > span { padding: 14px 18px; border-radius: 18px; background: var(--green-soft); color: var(--ink); flex: 1; }
.beta-note .ic { display: none; }
.bill-toggle { display: flex; width: max-content; margin: 0 auto 26px; }
.bill-toggle small { margin-left: 6px; color: var(--green); font-weight: 600; }
.plans-grid { max-width: 1100px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.plan-card { position: relative; background: var(--paper-solid); border: 1px solid var(--rule); border-radius: 28px; padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 6px; }
.plan-card.pick { border: 2px solid var(--blue); box-shadow: var(--float); }
.pc-badge { position: absolute; top: -13px; left: 24px; background: var(--blue); color: #fff; font: 600 12px var(--f-text); padding: 5px 12px; border-radius: 99px; }
.plan-card h2 { margin: 0; font: 500 26px var(--f-cond); letter-spacing: -.03em; } .pc-line { margin: 0; color: var(--ink-2); min-height: 44px; }
.pc-price { margin: 12px 0 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; } .pc-price b { font: 400 46px/1 var(--f-cond); letter-spacing: -.04em; } .pc-price span { color: var(--ink-3); font-size: 13.5px; }
.pc-limit { margin: 10px 0 4px; font-weight: 650; }
.plan-card ul { list-style: none; margin: 4px 0 18px; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.plan-card li { display: flex; gap: 8px; align-items: flex-start; } .plan-card li .ic { flex: none; margin-top: 2px; stroke: var(--green); fill: none; stroke-width: 2; }
.plan-card li.pc-inc { color: var(--ink); font-weight: 600; }
.plan-card .btn { margin-top: auto; justify-content: center; }
.cmp, .pg-faq { max-width: 1100px; margin: 64px auto 0; padding: 0 clamp(16px, 5vw, 72px); }
.cmp h2, .pg-faq h2 { margin: 0 0 18px; font: 400 32px var(--f-cond); letter-spacing: -.035em; }
.cmp-scroll { overflow-x: auto; border-radius: 22px; border: 1px solid var(--rule); background: var(--paper-solid); }
.cmp-t { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.cmp-t th, .cmp-t td { padding: 12px 16px; border-bottom: 1px solid var(--rule); text-align: center; } .cmp-t th:first-child, .cmp-t td:first-child { text-align: left; }
.cmp-t thead th { font: 600 15px var(--f-text); background: var(--field); } .cmp-t tr:last-child td { border-bottom: 0; }
.cmp-t td .ic { stroke: var(--green); fill: none; stroke-width: 2.2; } .cmp-t .no { color: var(--ink-3); } .cmp-t small { color: var(--amber); font-weight: 600; }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--paper-solid); border: 1px solid var(--rule); border-radius: 18px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; font: 600 16px var(--f-text); }
.faq summary::-webkit-details-marker { display: none; } .faq summary .ic { flex: none; stroke: var(--ink-3); fill: none; stroke-width: 1.8; transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); } .faq details p { margin: 0 0 18px; color: var(--ink-2); max-width: 70ch; }
.pg-faq.wide { margin-top: 0; }
.ab-body { max-width: 1100px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; }
.ab-col p { margin: 0 0 16px; color: var(--ink-2); font-size: 16.5px; } .ab-col p.big { color: var(--ink); font: 400 22px/1.4 var(--f-cond); letter-spacing: -.015em; }
.ab-cards { display: grid; gap: 12px; } .ab-cards div { background: var(--paper); border: 1px solid var(--glass-line); border-radius: 20px; padding: 16px 18px; box-shadow: var(--lift); }
.ab-cards b { font: 600 16px var(--f-text); } .ab-cards p { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; }
.ab-note { max-width: 1100px; margin: 56px auto 0; padding: 0 clamp(16px, 5vw, 72px); }
.ab-note blockquote { margin: 0; font: 400 clamp(22px, 2.6vw, 32px)/1.3 var(--f-cond); letter-spacing: -.025em; max-width: 34ch; } .ab-note .sig { margin: 14px 0 0; color: var(--ink-3); font-weight: 600; }
.legal { max-width: 760px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 72px) 40px; } .legal h2 { margin: 30px 0 8px; font: 600 19px var(--f-text); } .legal p, .legal li { color: var(--ink-2); } .legal ul { padding-left: 20px; }
.site-foot { max-width: 1260px; margin: 70px auto 0; padding: 34px clamp(16px, 4vw, 48px) 10px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 24px; }
.sf-brand { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; } .sf-brand b { font: 600 18px var(--f-cond); } .sf-brand p { grid-column: 1 / -1; margin: 4px 0 0; color: var(--ink-3); max-width: 36ch; }
.site-foot h4 { margin: 4px 0 10px; font: 600 13px var(--f-text); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.site-foot a { display: block; color: var(--ink-2); text-decoration: none; padding: 3px 0; } .site-foot a:hover { color: var(--ink); }
.sf-fine { grid-column: 1 / -1; margin: 10px 0 0; font-size: 12.5px; color: var(--ink-3); }
.share-btn { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 99px; background: rgba(255, 255, 255, .16); color: #fff; font: 600 14px var(--f-text); border: 1px solid rgba(255, 255, 255, .28); cursor: pointer; }
.share-btn:hover { background: rgba(255, 255, 255, .26); } .share-btn .ic { stroke: currentColor; fill: none; stroke-width: 1.8; }
.modal.share-m { width: min(860px, 100%); padding: 26px; } .share-m h2 { margin: 0; font: 500 26px var(--f-cond); letter-spacing: -.03em; } .share-m .muted { margin: 4px 0 18px; }
.share-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 24px; align-items: start; }
.share-wrap canvas { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--lift); background: var(--field); }
.share-ctl { display: grid; gap: 16px; } .share-ctl .seg { width: 100%; } .share-ctl .seg button { flex: 1; }
.sw { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; } .sw input { width: 20px; height: 20px; accent-color: var(--blue); }
.share-btns { display: grid; gap: 10px; margin-top: 6px; } .share-btns .btn { justify-content: center; }
@media (max-width: 980px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 560px; } .ft-group { grid-template-columns: 1fr; gap: 14px; }
  .ab-body { grid-template-columns: 1fr; } .share-wrap { grid-template-columns: 1fr; } .share-wrap canvas { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .site-nav-m { display: flex; gap: 6px; overflow-x: auto; padding: 4px 16px 10px; scrollbar-width: none; position: sticky; top: 64px; z-index: 19; background: color-mix(in srgb, var(--ground) 78%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  .site-nav-m a { flex: none; padding: 7px 14px; border-radius: 99px; background: var(--field); color: var(--ink-2); text-decoration: none; font: 600 13.5px var(--f-text); }
  .site-nav-m a.on { background: var(--ink); color: var(--ground); }
  .lp-cta .lnk { display: none; }
  .site-foot { grid-template-columns: 1fr 1fr; } .sf-brand { grid-column: 1 / -1; }
  .modal.share-m { padding: 20px 16px; border-radius: 26px 26px 0 0; }
}

/* ── 6.0 · Online accounts, invites, feedback, admin ───────────────────── */
.btn.google { background: var(--paper-solid); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-2); gap: 12px; justify-content: center; margin: 18px 0 6px; }
.btn.google:hover { background: var(--field); }
.gate-card { max-width: 640px; margin: 0 auto; padding: clamp(40px, 8vw, 110px) 20px 40px; }
.gate-card h1 { margin: 0; font: 400 clamp(34px, 5vw, 58px)/1.04 var(--f-cond); letter-spacing: -.045em; }
.gate-form { display: flex; gap: 10px; margin: 28px 0 8px; flex-wrap: wrap; }
.gate-form input { flex: 1; min-width: 200px; height: 56px; border: 0; border-radius: 16px; background: var(--paper-solid); box-shadow: inset 0 0 0 1px var(--rule-2); padding: 0 18px; font: 500 20px var(--f-cond); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); outline: 0; }
.gate-form input:focus { box-shadow: inset 0 0 0 2px var(--blue); }
.gate-card .err { color: var(--signal); min-height: 22px; margin: 6px 0 10px; }
.gate-card .fine { margin-top: 28px; color: var(--ink-3); }
.codes { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.codes li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px; background: var(--field); }
.codes code { font: 600 16px/1 var(--f-cond); letter-spacing: .06em; }
.codes li.used code { color: var(--ink-3); text-decoration: line-through; }
.cr-btns { margin-left: auto; display: flex; gap: 8px; } .cr-btns .btn { text-decoration: none; }
.fb-msg { width: 100%; margin: 14px 0; border: 0; border-radius: 16px; background: var(--field); padding: 14px; font: 400 15.5px/1.5 var(--f-text); color: var(--ink); resize: vertical; outline: 0; }
.fb-msg:focus { box-shadow: inset 0 0 0 2px var(--blue); }
.admin { max-width: 1180px; margin: 0 auto; padding: 24px clamp(16px, 3vw, 40px) 120px; }
.ad-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.ad-h h1 { margin: 0; font: 400 clamp(30px, 4vw, 44px) var(--f-cond); letter-spacing: -.04em; }
.admin .beta-note { padding: 0; margin: 0 0 18px; max-width: none; }
.ad-tabs { margin-bottom: 18px; overflow-x: auto; max-width: 100%; } .ad-tabs button { white-space: nowrap; }
.dotn { font-style: normal; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 99px; background: var(--signal); color: #fff; font: 700 11px var(--f-text); }
.ad-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.ad-tile { background: var(--paper-solid); border: 1px solid var(--rule); border-radius: 20px; padding: 18px; display: grid; gap: 4px; }
.ad-tile b { font: 400 40px/1 var(--f-cond); letter-spacing: -.04em; } .ad-tile b small { font-size: 18px; color: var(--ink-3); }
.ad-tile span { font-weight: 600; } .ad-tile small { color: var(--ink-3); }
.ad-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0; }
.ad-row label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.ad-row input { height: 38px; border: 0; border-radius: 10px; background: var(--field); padding: 0 10px; color: var(--ink); width: 90px; } .ad-row input#ad-note { width: 200px; }
.ad-t td, .ad-t th { text-align: left; white-space: nowrap; } .ad-t td:first-child { white-space: normal; }
.fb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fb-list li { background: var(--paper-solid); border: 1px solid var(--rule); border-left: 3px solid var(--blue); border-radius: 16px; padding: 14px 16px; }
.fb-list li.read { border-left-color: var(--rule); opacity: .75; }
.fb-list li div { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; } .fb-list small { color: var(--ink-3); }
.fb-list p { margin: 8px 0 10px; white-space: pre-wrap; }
.or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--ink-3); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--rule); }

/* ── 6.1 Private beta: strip, invite-first join, comparison, admin tools ── */
.beta-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; padding: 9px clamp(16px, 3vw, 40px); font-size: 13.5px; color: var(--ink-2);
  background: linear-gradient(90deg, var(--wash-1), var(--wash-2)); }
.bs-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 99px; background: var(--blue); color: var(--on-blue); font: 600 11.5px var(--f-text); letter-spacing: .06em; text-transform: uppercase; }
.bs-t { color: var(--ink); }
.bs-acts { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); }
.beta-strip .lnk { font-weight: 600; color: var(--blue); }
.lp-pill { display: inline-flex; align-items: center; height: 20px; padding: 0 9px; margin-right: 6px; border-radius: 99px; background: rgba(255, 255, 255, .18); color: #fff; font: 600 11px var(--f-text); letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }

.code-form { display: grid; gap: 10px; margin-top: 8px; }
.code-form input { height: 58px; border: 0; border-radius: 16px; background: var(--paper-solid); box-shadow: inset 0 0 0 1px var(--rule-2); padding: 0 18px; font: 500 22px var(--f-cond); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); outline: 0; text-align: center; }
.code-form input:focus { box-shadow: inset 0 0 0 2px var(--blue); }
.code-form input::placeholder { color: var(--ink-3); letter-spacing: .08em; }
.auth .err a, .gate-card .err a, .nc-sub a, .sf-fine a, .legal a, .sig a { color: var(--blue); font-weight: 600; text-decoration: none; }
.auth .err { line-height: 1.45; }
.au-alt { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.au-alt .lnk { font-weight: 600; }
.nc-lede { margin: 4px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.nc-sub { margin: 0 0 6px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.auth > .btn + .btn { margin-top: 0; }
.ok-msg { margin: 0; min-height: 20px; color: var(--green); font-weight: 600; font-size: 14px; line-height: 1.45; }
.gate-nocode { margin-top: 40px; padding: 26px 26px 22px; border-radius: 26px; background: var(--paper); border: 1px solid var(--glass-line); box-shadow: var(--lift); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.gate-nocode h2 { margin: 0 0 10px; font: 400 26px var(--f-cond); letter-spacing: -.03em; }
.gate-nocode .lp-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.lp-vs { max-width: 1160px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(16px, 5vw, 72px) 12px; }
.vs-h { max-width: 640px; margin-bottom: 26px; }
.vs-h h2 { margin: 0; font: 400 clamp(30px, 4vw, 46px)/1.05 var(--f-cond); letter-spacing: -.04em; }
.vs-h p:not(.kicker) { margin: 14px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.vs-t { min-width: 760px; }
.vs-t th, .vs-t td { padding: 15px 18px; vertical-align: middle; }
.vs-t thead th { font: 600 14px/1.3 var(--f-text); color: var(--ink-2); background: transparent; border-bottom: 1px solid var(--rule-2); }
.vs-t td:first-child { font-weight: 500; color: var(--ink); max-width: 240px; }
.vs-t .me { background: var(--blue-soft); font-weight: 600; color: var(--ink); }
.vs-t thead th.me { color: var(--blue); font-size: 15px; }
.vs-t tbody tr:last-child td.me { border-bottom-left-radius: 0; }
.vs-t td { color: var(--ink-2); }
.vs-t .bad { color: var(--signal); font-weight: 600; }
.vs-fine { margin: 12px 4px 0; font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 760px) {
  .vs-t th:first-child, .vs-t td:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper-solid); min-width: 150px; box-shadow: 1px 0 0 var(--rule); }
  .beta-strip { font-size: 12.5px; padding: 8px 16px; } .bs-t { flex-basis: 100%; text-align: center; order: 3; }
  .gate-nocode { padding: 22px 18px 18px; }
}

.ad-block { margin: 6px 0 18px; padding: 18px 20px; border-radius: 20px; background: var(--field); }
.ad-block h3 { margin: 0 0 4px; font: 600 17px var(--f-text); }
.ad-block > .muted { margin: 0; font-size: 14px; }
.ad-block .ad-row { margin: 14px 0 0; }
.ad-row input.wide { width: 260px; max-width: 100%; } .ad-row input#ad-pnote { width: 180px; }
.ad-added { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--paper-solid); box-shadow: inset 0 0 0 1px var(--rule); }
.ad-added p { margin: 0; } .ad-added blockquote { margin: 8px 0 12px; padding: 10px 12px; border-left: 3px solid var(--blue); background: var(--blue-soft); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--ink-2); }
.ad-acts { display: inline-flex; gap: 4px; }
.st-tag { display: inline-flex; padding: 3px 9px; border-radius: 99px; background: var(--green-soft); color: var(--green); font: 600 12px var(--f-text); }
.st-tag.paused { background: var(--amber-soft); color: var(--amber); }
.codes li .btn.danger { margin-left: auto; }
.guest-bar a.lnk { font-weight: 600; color: var(--blue); text-decoration: none; }

/* Good to know: NPCI UPI Help */
.lp-tip { max-width: 1160px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(16px, 5vw, 72px) 0; }
.tip-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(26px, 4vw, 52px); border-radius: 32px;
  background: radial-gradient(120% 140% at 0% 0%, var(--wash-1), transparent 60%), radial-gradient(90% 120% at 100% 100%, var(--wash-2), transparent 60%), var(--paper);
  border: 1px solid var(--glass-line); box-shadow: var(--lift); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.tip-t h2 { margin: 0; font: 400 clamp(30px, 3.8vw, 44px)/1.05 var(--f-cond); letter-spacing: -.04em; }
.tip-t > p:not(.kicker):not(.tip-fine) { margin: 16px 0 24px; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 520px; }
.tip-fine { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-3); max-width: 460px; }
.tip-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: center; }
.tip-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: var(--paper-solid); box-shadow: inset 0 0 0 1px var(--rule); }
.tip-steps .n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font: 600 14px var(--f-text); }
.tip-steps b { font: 600 15.5px var(--f-text); } .tip-steps p { margin: 3px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.blank-tip { margin: 22px 0 0; font-size: 14px; color: var(--ink-3); } .blank-tip a { color: var(--blue); font-weight: 600; text-decoration: none; }
@media (max-width: 860px) { .tip-card { grid-template-columns: 1fr; border-radius: 26px; } }
.nw { white-space: nowrap; }
.ad-t td:last-child { white-space: normal; min-width: 250px; }
.ad-acts { flex-wrap: wrap; max-width: 330px; }
.codes li small { order: 1; }
.codes li .cr-btns { order: 2; margin-left: auto; }
.codes li .btn.danger { order: 3; margin-left: 0; }
.vs-swipe { display: none; font-weight: 600; color: var(--ink-2); }
@media (max-width: 760px) { .vs-swipe { display: inline; } }
@media (max-width: 560px) { .au-alt { flex-direction: column; gap: 10px; } .au-alt > span { display: none; } }

/* 6.2: waitlist, contact, inbox */
.wl-ask { margin: 6px 0 0; font: 600 15px var(--f-text); color: var(--ink); }
.wl-form { display: grid; gap: 10px; }
.wl-form input { height: 54px; border: 0; border-radius: 16px; background: var(--paper-solid); box-shadow: inset 0 0 0 1px var(--rule-2); padding: 0 18px; font: 500 17px var(--f-text); color: var(--ink); outline: 0; }
.wl-form input:focus { box-shadow: inset 0 0 0 2px var(--blue); }
.wl-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--amber-soft); color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.wl-note .ic { flex: none; stroke: var(--amber); fill: none; stroke-width: 1.8; margin-top: 1px; }
.lnk.inline { display: inline; padding: 0; font: inherit; font-weight: 600; color: var(--blue); }
.gate-btns { margin-top: 20px; }
.ct-wrap { max-width: 1100px; margin: 0 auto 40px; padding: 0 clamp(16px, 5vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.ct-card { padding: clamp(22px, 3vw, 34px); border-radius: 28px; background: var(--paper); border: 1px solid var(--glass-line); box-shadow: var(--lift); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ct-form textarea { width: 100%; border: 0; border-radius: 14px; background: var(--field); padding: 12px 14px; font: 400 15px/1.5 var(--f-text); color: var(--ink); resize: vertical; min-height: 140px; outline: 0; }
.ct-form textarea:focus { box-shadow: inset 0 0 0 2px var(--blue); }
.ct-form .btn { justify-self: start; }
.ct-done { text-align: center; padding: 24px 0; } .ct-done .ic { stroke: var(--green); fill: none; stroke-width: 2.2; }
.ct-done h2 { margin: 10px 0 6px; font: 400 30px var(--f-cond); letter-spacing: -.03em; } .ct-done p { margin: 0 0 14px; color: var(--ink-2); }
.ct-side { display: grid; gap: 12px; }
.ct-side > div { padding: 18px 20px; border-radius: 22px; background: var(--field); }
.ct-side b { font: 600 16px var(--f-text); } .ct-side p { margin: 6px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; } .ct-side .btn { margin-top: 12px; }
.ct-side a { color: var(--blue); font-weight: 600; text-decoration: none; }
.st-tag.contact { background: var(--blue-soft); color: var(--blue); }
.fb-list small a { color: var(--blue); font-weight: 600; text-decoration: none; }
.ad-wl-h { justify-content: space-between; } .ad-wl-h .muted { margin: 0; max-width: 720px; }
@media (max-width: 760px) { .ct-wrap { grid-template-columns: 1fr; } .ct-row { grid-template-columns: 1fr; } }
.site-foot .sf-fine a { display: inline; padding: 0; margin: 0; color: var(--blue); font-weight: 600; text-decoration: none; }
