/* Isaiah's everything. Marshall's everything look (the sky, grain, glass, Manrope with JetBrains Mono labels),
   trimmed, with Isaiah's magenta #e35fa6 in place of everything's blue accent. Body text is never under 17 px. */
@font-face { font-family: "Manrope"; src: url(fonts/manrope-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(fonts/jbmono.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --sky-grad: linear-gradient(165deg, #040c20 0%, #0a1531 28%, #15234d 55%, #273769 80%, #46508c 100%);
  --navy: #040c20; --navy-2: #0a1531; --navy-text: #0b1430; --night: #1b1a1f;
  --cobalt: #273769; --cobalt-2: #46508c; --sky: #d8cfee; --mist: #cfc3e4;
  --sunbeam: #fff4e6; --rose: #e3a9b1; --sage: #c3d8c2; --lavender: #d8cfee; --dust: #9c9acb; --amber: #e9d49c;
  --acc: #e35fa6; --acc-2: #f08cc2; --acc-soft: rgba(227, 95, 166, .15); --acc-line: rgba(227, 95, 166, .45); --acc-glow: rgba(227, 95, 166, .9);
  --text: #eef0f6; --text-2: rgba(238, 240, 246, .76); --text-3: rgba(238, 240, 246, .56); --label: rgba(207, 195, 228, .74);
  --hair: rgba(207, 195, 228, .14); --glass: rgba(207, 195, 228, .075); --glass-line: rgba(207, 195, 228, .17);
  --good: #c3d8c2;
  --num-font: "Manrope", system-ui, sans-serif; --num-weight: 200;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-card: 24px; --pad: 22px; --tabh: 58px;
  --ease: cubic-bezier(.2, .7, .2, 1); --spring: cubic-bezier(.2, .9, .25, 1.06);
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* The shell never moves: no page scroll, no rubber band. Only #main and sheets scroll. */
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
html { background: var(--navy); color-scheme: dark; -webkit-text-size-adjust: 100%; }
html[data-mode="night"] { background: var(--night); }
h1, h2, h3, h4, .ct, .q, .title { text-wrap: balance; }
p, li, .body { text-wrap: pretty; }
body { background: var(--navy); font-family: "Manrope", system-ui, -apple-system, sans-serif; color: var(--text); font-size: 17px; line-height: 1.55; font-weight: 400;
  overflow-wrap: break-word; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
body.night { background: var(--night); }
button, input, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; -webkit-user-drag: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--acc-2); outline-offset: 3px; border-radius: 8px; }
:focus:not(:focus-visible) { outline: none; }

.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--sky-grad); }
.sky::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, rgba(0, 0, 0, 0) 55%, rgba(2, 6, 18, .45)); }
body.night .sky { background: radial-gradient(90% 60% at 70% 0%, rgba(227, 95, 166, .08), rgba(27, 26, 31, 0) 70%), var(--night); }
body.night .sky::after { background: radial-gradient(120% 90% at 50% 40%, rgba(0, 0, 0, 0) 55%, rgba(10, 9, 12, .5)); }
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .22; mix-blend-mode: overlay; background-size: 220px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

#main { position: fixed; inset: 0; z-index: 1; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding-bottom: calc(var(--tabh) + var(--safe-b)); }
body[data-tab="out"] #main { padding-bottom: 0; }
body.locked #main { overflow: hidden; }
.view { min-height: 100%; }
.view.enter { animation: viewIn .26s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translate3d(0, 10px, 0); } }

/* ---- type */
.eyebrow, .label, .mlbl, .mini, .tl, .dn, .chip, .kchip { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--label); line-height: 1.5; }
.label { display: block; margin: 0 0 14px; }
.label em { font-style: normal; opacity: .75; margin-left: 6px; letter-spacing: 0; }
.label.sp { margin-top: 34px; }
.label.acc, .mlbl.acc, .mini.acc { color: var(--acc-2); }
.mini { display: block; margin-bottom: 6px; }
.mini.good { color: var(--sage); }
.n { font-family: var(--num-font); font-weight: var(--num-weight); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.display { font-weight: 300; font-size: 40px; line-height: 1.06; letter-spacing: -.025em; }
.display.long { font-size: 32px; line-height: 1.12; }
.tt { font-weight: 300; font-size: 40px; line-height: 1.08; letter-spacing: -.02em; }
h2.ct { font-weight: 400; font-size: 26px; line-height: 1.18; letter-spacing: -.012em; }
h3 { font-weight: 400; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; }
.lead { margin-top: 12px; font-size: 19px; line-height: 1.5; color: var(--text-2); }
.body { font-size: 17px; line-height: 1.6; color: var(--text-2); margin-top: 12px; }
.sub2 { font-size: 17px; color: var(--text-3); margin: -6px 0 14px; line-height: 1.5; }
.fine { margin-top: 12px; font-size: 17px; color: var(--text-3); line-height: 1.5; }
.foot { margin-top: 40px; font-size: 17px; color: var(--text-3); line-height: 1.5; text-align: center; }

/* ---- glass and controls */
.glass { background: var(--glass); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
.round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 17px; border-radius: 999px; font-size: 17px; font-weight: 600; color: var(--text);
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); white-space: nowrap; }
.pill svg { width: 15px; height: 15px; flex: none; }
.pill.solidacc { background: var(--acc); border-color: var(--acc); color: #fff; box-shadow: 0 10px 28px -14px var(--acc-glow); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; font-size: 17px; font-weight: 600;
  background: var(--sunbeam); color: var(--navy-text); transition: transform .2s var(--ease), opacity .2s; }
.btn svg { flex: none; }
.btn:active, .pill:active, .chipbtn:active, .round:active, .key:active, .whobtn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; }
.btn.small { min-height: 46px; padding: 0 18px; font-size: 17px; }
.btn.ghost { background: var(--glass); color: var(--text); border: 1px solid var(--glass-line); }
.btn.wide { width: 100%; margin-top: 16px; }
.acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.link { display: inline-block; margin-top: 10px; color: var(--acc-2); font-weight: 600; font-size: 17px; }
.aback { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px 0 0; font-size: 18px; font-weight: 500; color: var(--text); }
.aback svg { width: 20px; height: 20px; }

details { margin-top: 14px; border-top: 1px solid var(--hair); }
summary { font-size: 17px; font-weight: 600; color: var(--acc-2); cursor: pointer; list-style: none; padding: 12px 0 2px; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+ "; } details[open] summary::before { content: "- "; }

/* ---- layout */
.page { padding: 8px var(--pad) 48px; }
.page.pad-top { padding-top: calc(var(--safe-t) + 40px); }
.phead { padding-top: calc(var(--safe-t) + 18px); margin-bottom: 22px; }
.phead-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.phead .tt { margin-top: 6px; }
.phead .eyebrow { margin-top: 4px; }
.wsec { margin-top: 44px; }
.loading { display: flex; gap: 8px; justify-content: center; padding: 45vh 0 0; }
.loading i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); opacity: .3; animation: pulse 1.2s var(--ease) infinite; }
.loading i:nth-child(2) { animation-delay: .15s; } .loading i:nth-child(3) { animation-delay: .3s; }
@keyframes pulse { 50% { opacity: 1; transform: translateY(-4px); } }

.card, .empty { position: relative; margin-top: 14px; padding: 20px; border-radius: var(--r-card); background: var(--glass); border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); min-width: 0; }
.empty { margin-top: 28px; padding: 28px 22px; }
.empty h3 { font-size: 24px; margin-bottom: 10px; }
.empty p { color: var(--text-2); }
.empty .btn, .empty .acts { margin-top: 18px; }

/* ---- the top bar on Work */
.tbar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(var(--safe-t) + 14px) var(--pad) 0; }
.lockup { display: flex; align-items: center; gap: 9px; min-width: 0; }
.ic { width: 28px; height: 28px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(207, 195, 228, .22); }
.ic.big { width: 64px; height: 64px; border-radius: 16px; }
.wm { font-weight: 400; font-size: 22px; letter-spacing: -.03em; line-height: 1; white-space: nowrap; color: var(--text); }
.wi { position: relative; display: inline-block; }
.wi i { position: absolute; left: 50%; top: .2em; width: .2em; height: .2em; border-radius: 50%; background: var(--acc); transform: translateX(-46%); box-shadow: 0 0 .35em var(--acc-glow); }
.tright { display: flex; align-items: center; gap: 10px; flex: none; }
.me { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; font-weight: 700; color: #fff; flex: none;
  background: radial-gradient(circle at 35% 30%, #f08cc2, #b83a7e 80%); box-shadow: 0 0 0 1px rgba(240, 140, 194, .4), 0 8px 20px -10px rgba(0, 0, 0, .6); }
.me.big { width: 56px; height: 56px; font-size: 22px; }
.viewing { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--acc-2); background: var(--acc-soft); border: 1px solid var(--acc-line); white-space: nowrap; }

/* ---- Work */
.datebar { display: flex; gap: 8px; overflow-x: auto; margin: 22px calc(var(--pad) * -1) 0; padding: 0 var(--pad) 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.datebar::-webkit-scrollbar { display: none; }
.dpill { flex: none; display: grid; justify-items: center; align-content: center; gap: 0; width: 56px; min-height: 64px; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-line); }
.dpill em { font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--label); }
.dpill b { font-family: var(--num-font); font-weight: 300; font-size: 24px; line-height: 1.15; }
.dpill.on { background: var(--acc); border-color: var(--acc); box-shadow: 0 12px 28px -14px var(--acc-glow); }
.dpill.on em { color: rgba(255, 255, 255, .85); }
.dpill.wait { border-style: dashed; }
.wdate { margin-top: 26px; }
.status { margin-top: 6px; }
.wacts { margin-top: 18px; }

.proc { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; border-color: var(--acc-line); }
.proc .orb { margin-top: 9px; }
.proc h3 { font-size: 21px; }
.proc p { margin-top: 6px; color: var(--text-2); }
.orb { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 12px var(--acc-glow); animation: orb 1.6s ease-in-out infinite; }
@keyframes orb { 50% { transform: scale(.6); opacity: .55; } }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { display: grid; align-content: start; gap: 0; padding: 12px 14px 12px; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-line); min-width: 0; }
.tiles.three .tile { padding: 14px 12px 12px; background: rgba(207, 195, 228, .05); }
.tile .tl { letter-spacing: .08em; }
.tile b { display: flex; align-items: baseline; gap: 6px; font-size: 38px; line-height: 1.08; color: var(--text); }
.upmark { display: inline-grid; color: var(--sage); }
.upmark svg { width: 18px; height: 18px; }
.tiles.three .tile b { font-size: 34px; }
.tile em { display: flex; align-items: center; gap: 4px; font-style: normal; font-size: 17px; color: var(--text-3); line-height: 1.35; margin-top: 2px; }
.tile em svg { width: 14px; height: 14px; flex: none; color: var(--sage); }
.tile em.up { color: var(--sage); }
.tile.acc { background: var(--acc-soft); border-color: var(--acc-line); }
.tile.acc .tl { color: var(--acc-2); }

.fixcard { margin-top: 28px; padding: 22px 20px; border-color: var(--acc-line); background: linear-gradient(160deg, rgba(227, 95, 166, .16), rgba(207, 195, 228, .05) 60%); }
.fixcard .label { margin-bottom: 10px; }
.bestcard { margin-top: 16px; }
.said, .better { margin-top: 18px; }
.better { padding: 14px 16px; border-radius: 18px; background: rgba(207, 195, 228, .08); border: 1px solid var(--glass-line); }
.better .q { font-size: 19px; line-height: 1.42; color: var(--text); }
.src { margin-top: 8px; font-size: 17px; color: var(--text-3); line-height: 1.45; }

.qrow { display: flex; align-items: flex-start; gap: 12px; }
.qrow .q { padding-top: 9px; }
.q { font-size: 18px; line-height: 1.45; font-weight: 400; color: var(--text); }
.qrow.weak .q { color: var(--text-2); }

.door, .meet, .story, .wcard { margin-top: 12px; }
.dtop { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dn { color: var(--label); }
.chip { flex: none; display: inline-block; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; line-height: 1.3; white-space: nowrap; background: rgba(207, 195, 228, .1); color: var(--label); }
.chip.o-yes { background: var(--acc); color: #fff; }
.chip.o-back { background: var(--acc-soft); color: var(--acc-2); border: 1px solid var(--acc-line); }
.chip.o-left { background: rgba(207, 195, 228, .12); color: var(--lavender); }
.chip.o-no { background: transparent; color: var(--text-3); border: 1px solid var(--hair); }
.chip.k-with_marshall { background: var(--acc-soft); color: var(--acc-2); }
.chip.k-shoot { background: rgba(233, 212, 156, .14); color: var(--amber); }
.chip.k-meeting { background: rgba(195, 216, 194, .14); color: var(--sage); }
.dbiz { margin-top: 10px; font-size: 22px; font-weight: 500; line-height: 1.25; }
.dwho { margin-top: 4px; font-size: 17px; color: var(--acc-2); font-weight: 500; }
.dsum { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.door.slim { padding: 16px 20px; }
.door.slim .dbiz { font-size: 19px; margin-top: 6px; }
.door.slim .dsum { margin-top: 4px; }
.fup { margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: var(--acc-soft); border: 1px solid var(--acc-line); }
.fup .mini { color: var(--acc-2); }
.fup p { font-size: 17px; line-height: 1.45; color: var(--text); }
.moment { margin-top: 16px; }
.try { margin-top: 10px; font-size: 17px; line-height: 1.5; color: var(--text); padding-left: 56px; }
.try span { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--label); margin-bottom: 2px; }
.objs ul { list-style: none; margin-top: 6px; }
.objs li { padding: 12px 0; border-top: 1px solid var(--hair); }
.objs li:first-child { border-top: 0; }
.objs .q { margin-top: 8px; }
.ans { margin-top: 8px; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.ans span { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); margin-bottom: 2px; }
.ans.none { color: var(--text-3); }
.kchip { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(207, 195, 228, .1); }
.hqbtn { margin-top: 16px; }
.hqbtn svg { width: 15px; height: 15px; }
.inhq { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; min-height: 46px; font-size: 17px; font-weight: 600; color: var(--sage); }
.inhq svg { width: 16px; height: 16px; }
.watch { margin-top: 16px; }
.ticks, .dots { list-style: none; }
.ticks li, .dots li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--hair); font-size: 17px; color: var(--text-2); line-height: 1.5; }
.ticks li:first-child, .dots li:first-child { border-top: 0; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 17px; width: 11px; height: 6px; border-left: 1.8px solid var(--sage); border-bottom: 1.8px solid var(--sage); transform: rotate(-45deg); }
.dots li::before { content: ""; position: absolute; left: 5px; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.ticks b { color: var(--text); font-weight: 600; }
.dialer .body { margin-top: 14px; }
.rowbtn { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 30px; padding: 18px 20px; border-radius: var(--r-card); color: var(--text); }
.rowbtn b { display: block; font-size: 20px; font-weight: 500; }
.rowbtn em { display: block; font-style: normal; font-size: 17px; color: var(--text-3); line-height: 1.4; margin-top: 2px; }
.rowbtn svg { flex: none; color: var(--text-3); }
.nowork .btn { margin-top: 18px; }

/* ---- play buttons */
.hear { min-width: 0; margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 7px; border-radius: 999px; font-size: 17px; font-weight: 600; }
.hear .ico { width: 32px; height: 32px; border-radius: 50%; background: var(--sunbeam); color: var(--navy-text); display: grid; place-items: center; padding-left: 2px; }
.eq { display: none; gap: 2px; align-items: flex-end; height: 16px; }
.eq i { width: 3px; height: 4px; background: var(--text); border-radius: 2px; animation: eq .9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .15s; } .eq i:nth-child(3) { animation-delay: .3s; } .eq i:nth-child(4) { animation-delay: .45s; }
.hear.playing .eq { display: inline-flex; } .hear.playing .ico { background: var(--acc); color: #fff; }
.ico i { display: grid; place-items: center; font-style: normal; } .ico .i-pause, .hear.playing .ico .i-play { display: none; } .hear.playing .ico .i-pause { display: grid; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.playbtn.hear { width: 44px; height: 44px; margin: 0; padding: 0; justify-content: center; border-radius: 50%; flex: none; background: var(--sunbeam); border: 0; color: var(--navy-text); }
.playbtn .ico { width: 44px; height: 44px; background: transparent !important; color: inherit; padding-left: 2px; }
.playbtn.playing { background: var(--acc); color: #fff; }
.qrow.weak .playbtn.hear { background: rgba(207, 195, 228, .16); color: var(--text); }

/* ---- Days */
.dlist { list-style: none; }
.drow { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding: 16px 18px 16px 16px; border-radius: var(--r-card); }
.drow > svg { flex: none; color: var(--text-3); }
.dleft { flex: none; width: 52px; display: grid; justify-items: center; }
.dleft em { font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--label); }
.dleft b { font-family: var(--num-font); font-weight: 200; font-size: 34px; line-height: 1.05; }
.dmid { flex: 1; min-width: 0; display: grid; gap: 2px; }
.dh { font-size: 18px; font-weight: 500; line-height: 1.35; }
.dmeta { font-size: 17px; color: var(--text-3); }
.dmeta.acc { color: var(--acc-2); }
.drow.wait { border-style: dashed; }
.why, .move { margin-top: 16px; }
.why span, .move span { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--label); margin-bottom: 4px; font-weight: 500; }
.why p { font-size: 17px; line-height: 1.5; color: var(--text-2); }
.move { padding: 14px 16px; border-radius: 18px; background: var(--acc-soft); border: 1px solid var(--acc-line); }
.move span { color: var(--acc-2); }
.move p { font-size: 17px; line-height: 1.5; }
.loops { padding: 16px 20px; }
.llist { list-style: none; }
.llist li { padding: 12px 0; border-top: 1px solid var(--hair); }
.llist li:first-child { border-top: 0; }
.llist p { font-size: 17px; line-height: 1.45; }
.llist span { display: block; font-size: 17px; color: var(--text-3); margin-top: 2px; }
.daynav { display: flex; justify-content: space-between; gap: 12px; margin-top: 44px; }

/* ---- Insights */
.chan { padding: 18px; }
.cname { font-size: 20px; font-weight: 500; margin-bottom: 12px; }
.olib { padding: 4px 20px; }
.orow { padding: 18px 0; border-top: 1px solid var(--hair); }
.orow:first-child { border-top: 0; }
.otop { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.otop h3 { font-size: 20px; font-weight: 500; }
.ocount { font-size: 17px; color: var(--acc-2); font-weight: 600; white-space: nowrap; }
.need { display: flex; gap: 14px; align-items: flex-start; }
.need p { color: var(--text-2); }
.needdot { flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; border: 2px solid var(--acc); }

/* ---- Ask */
.askbox { margin-top: 6px; display: flex; align-items: flex-end; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 24px; border-color: rgba(207, 195, 228, .34); }
.askbox:focus-within { border-color: var(--acc-line); box-shadow: 0 0 0 4px rgba(227, 95, 166, .12); }
.askbox textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 180px; padding: 10px 0; resize: none; background: none; border: 0; outline: 0; font-size: 18px; line-height: 1.4; color: var(--text); }
.askbox textarea::placeholder { color: var(--text-3); }
.send { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: #fff; }
.send svg { width: 18px; height: 18px; }
.starters { margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chipbtn { min-height: 44px; padding: 10px 16px; border-radius: 18px; font-size: 17px; font-weight: 500; line-height: 1.35; text-align: left; color: var(--text); }
.thread { margin-top: 26px; }
.qa + .qa { margin-top: 30px; }
.qa-q { display: flex; justify-content: flex-end; }
.qa-q p { max-width: 86%; padding: 11px 16px; border-radius: 20px 20px 6px 20px; background: rgba(227, 95, 166, .32); font-size: 17px; line-height: 1.4; }
.qa-a { margin-top: 12px; padding: 20px; border-radius: var(--r-card); background: var(--glass); border: 1px solid var(--glass-line); }
.qa-a.bad p { color: var(--text-2); }
.readline { display: flex; align-items: center; gap: 10px; font-size: 17px; color: var(--text-2); }
.readline em { margin-left: auto; font-style: normal; font-size: 17px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.shimmer { margin-top: 16px; display: grid; gap: 9px; }
.shimmer i { display: block; height: 11px; border-radius: 6px; background: linear-gradient(90deg, rgba(207, 195, 228, .06) 0%, rgba(207, 195, 228, .22) 50%, rgba(207, 195, 228, .06) 100%);
  background-size: 220% 100%; animation: shim 1.8s linear infinite; }
.shimmer i:nth-child(2) { width: 86%; } .shimmer i:nth-child(3) { width: 62%; }
@keyframes shim { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.ans p { font-size: 17px; line-height: 1.6; color: var(--text); margin-top: 0; }
.qa .ans p + p { margin-top: 12px; }
.qa .ans { margin-top: 0; }
.qa-a .label.sp { margin: 24px 0 4px; }
.moms { list-style: none; }
.moms li { padding: 12px 0; border-top: 1px solid var(--hair); }
.moms li:first-child { border-top: 0; }
.mday { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; font-size: 17px; font-weight: 600; color: var(--acc-2); }
.mday svg { width: 13px; height: 13px; }

/* ---- Settings */
.who { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r-card); }
.who b { display: block; font-size: 20px; font-weight: 600; }
.who span { display: block; font-size: 17px; color: var(--text-2); line-height: 1.4; }
.who .me span { color: #fff; font-size: 22px; }
.glist { list-style: none; border-radius: var(--r-card); padding: 0 20px; }
.glist li + li { border-top: 1px solid var(--hair); }
.rowline { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 72px; padding: 14px 0; text-align: left; }
.rowline > div { min-width: 0; }
.rowline b { display: block; font-size: 18px; font-weight: 600; line-height: 1.3; }
.rowline span { display: block; font-size: 17px; color: var(--text-2); margin-top: 3px; line-height: 1.4; }
.rowline > svg { flex: none; color: var(--text-3); }
.tips { padding: 8px 20px; }
.tips li { padding: 14px 0 14px 28px; }
.tips li::before { top: 21px; }
.privacy-card { border-color: var(--acc-line); }
.privacy { font-size: 19px; line-height: 1.5; color: var(--text); }
.switch { position: relative; flex: none; width: 56px; height: 34px; border-radius: 999px; background: rgba(207, 195, 228, .2); transition: background .2s var(--ease); }
.switch i { position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.switch[aria-checked="true"] { background: var(--acc); }
.switch[aria-checked="true"] i { transform: translateX(22px); }
.switch:disabled { opacity: .4; }
.signout { margin-top: 36px; }

/* ---- Login */
.login { min-height: 100%; display: flex; flex-direction: column; }
.lhead { display: grid; justify-items: start; gap: 12px; margin-bottom: 30px; }
.lhead .wm { font-size: 34px; font-weight: 300; }
.lhead .mlbl { margin-top: -4px; }
.who2 { display: grid; gap: 12px; margin-top: 22px; }
.whobtn { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 92px; padding: 16px 18px; border-radius: var(--r-card); text-align: left; color: var(--text); }
.whobtn .wtext { flex: 1; min-width: 0; }
.whobtn b { display: block; font-size: 24px; font-weight: 500; line-height: 1.2; }
.whobtn em { display: block; font-style: normal; font-size: 17px; color: var(--text-3); }
.whobtn > svg { flex: none; color: var(--text-3); }
.login .tt { margin-top: 8px; }
.pindots { display: flex; gap: 16px; margin-top: 26px; min-height: 18px; }
.pindots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(207, 195, 228, .5); }
.pindots i.on { background: var(--acc); border-color: var(--acc); box-shadow: 0 0 10px var(--acc-glow); }
.perr { min-height: 30px; margin-top: 12px; font-size: 17px; color: var(--acc-2); font-weight: 600; }
.pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.key { min-height: 66px; border-radius: 22px; font-family: var(--num-font); font-weight: 300; font-size: 30px; background: var(--glass); border: 1px solid var(--glass-line); color: var(--text); }
.key.del { display: grid; place-items: center; background: transparent; border-color: transparent; }
.key.del svg { width: 24px; height: 24px; }

/* ---- the upload sheet */
.steps { list-style: none; counter-reset: s; margin-top: 10px; }
.steps li { counter-increment: s; position: relative; padding: 14px 0 14px 48px; border-top: 1px solid var(--hair); font-size: 17px; line-height: 1.45; }
.steps li:first-child { border-top: 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--num-font); font-weight: 500; font-size: 17px; background: var(--acc-soft); color: var(--acc-2); border: 1px solid var(--acc-line); }
.steps b { display: block; font-size: 18px; font-weight: 600; }
.steps span { display: block; color: var(--text-2); margin-top: 2px; }
.steps.small li { padding: 10px 0 10px 44px; }
.steps.small li::before { top: 8px; width: 28px; height: 28px; font-size: 17px; }
.choose { cursor: pointer; }
.choose svg { width: 18px; height: 18px; }
.upnote { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 14px 16px; border-radius: 18px; background: var(--acc-soft); border: 1px solid var(--acc-line); }
.upnote p { font-size: 17px; font-weight: 600; line-height: 1.4; }
.flist { list-style: none; margin-top: 14px; }
.frow { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hair); overflow: hidden; }
.frow:first-child { border-top: 0; }
.fmain { min-width: 0; }
.fmain b { display: block; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.fmain span { display: block; font-size: 17px; color: var(--text-3); line-height: 1.4; }
.fmain .fmsg, .fmsg { color: var(--acc-2); }
.fside { flex: none; display: grid; justify-items: end; gap: 6px; }
.fst { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 600; color: var(--text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fst svg { width: 15px; height: 15px; }
.frow.s-safe .fst, .frow.s-already .fst { color: var(--sage); }
.frow.s-failed .fst { color: var(--acc-2); }
.frow.s-uploading .fst { color: var(--text); }
.fbar { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p); background: var(--acc); border-radius: 2px; transition: width .3s var(--ease); }
.ask h3 { font-size: 22px; }
.ask > p { margin-top: 8px; color: var(--text-2); }
.when { display: grid; gap: 6px; margin-top: 16px; }
.when span { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.when input { width: 100%; min-height: 52px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--glass-line); background: rgba(0, 0, 0, .28); color: var(--text); font-size: 17px; color-scheme: dark; }
.when input.bad { border-color: var(--acc); }
.alldone { margin-top: 18px; border-color: rgba(195, 216, 194, .4); background: rgba(195, 216, 194, .08); }
.alldone h3 { font-size: 21px; line-height: 1.35; }

/* ---- tab bar: slim glass */
.tabs { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabh) + var(--safe-b)); padding: 4px 4px var(--safe-b); background: rgba(10, 18, 46, .62); border-top: 1px solid rgba(207, 195, 228, .14);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); transition: transform .35s var(--ease); user-select: none; -webkit-user-select: none; }
body.night .tabs { background: rgba(30, 29, 35, .76); }
.tabs a { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; color: rgba(207, 195, 228, .6); font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.tabs svg { width: 23px; height: 23px; }
.tabs a.on { color: var(--text); }
.tabs a.on::before { content: ""; position: absolute; top: 2px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc-glow); }
body[data-tab="out"] .tabs { transform: translateY(110%); }

/* ---- sheets */
.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet-bg { position: absolute; inset: 0; background: rgba(2, 6, 18, .55); opacity: 0; transition: opacity .38s var(--ease); }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; top: calc(var(--safe-t) + 5vh); display: flex; flex-direction: column; overflow: hidden;
  background: rgba(18, 28, 62, .9); border-radius: 30px 30px 0 0; border-top: 1px solid rgba(207, 195, 228, .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(26px) saturate(140%); backdrop-filter: blur(26px) saturate(140%); transform: translate3d(0, 100%, 0); transition: transform .42s var(--spring); }
body.night .sheet-panel { background: rgba(38, 36, 44, .94); }
.sheet.short .sheet-panel { top: auto; max-height: 86vh; }
.sheet.open .sheet-bg { opacity: 1; } .sheet.open .sheet-panel { transform: none; }
.sheet-head { position: relative; z-index: 3; flex: none; height: 52px; touch-action: none; cursor: grab; }
.grab { position: absolute; top: 9px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(207, 195, 228, .42); }
.sheet-x { position: absolute; top: 8px; right: 12px; width: 40px; height: 40px; background: var(--glass); border: 1px solid var(--glass-line); }
.sheet-body { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 0 var(--pad) calc(var(--safe-b) + 40px); -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.sheet.short .sheet-body { flex: initial; }
.sheet-title { font-weight: 300; font-size: 32px; margin: 6px 0 12px; line-height: 1.1; letter-spacing: -.02em; }
.sheet .privacy { margin-top: 8px; }

/* ---- reveal, toast, offline */
.reveal { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
#toast { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: calc(var(--tabh) + var(--safe-b) + 14px); padding: 14px 18px; border-radius: 18px; font-size: 17px;
  background: rgba(18, 28, 62, .94); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
#toast.on { opacity: 1; transform: none; } #toast.bad { border-color: var(--acc-line); }
#offline { position: fixed; z-index: 45; left: 16px; right: 16px; bottom: calc(var(--tabh) + var(--safe-b) + 10px); padding: 10px 14px; border-radius: 16px; font-size: 17px; text-align: center;
  background: rgba(18, 28, 62, .94); border: 1px solid var(--glass-line); color: var(--text-2); pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (min-width: 700px) {
  .page, .tbar { max-width: 640px; margin-left: auto; margin-right: auto; }
  .sheet-panel { left: 50%; right: auto; width: 640px; margin-left: -320px; }
}
