:root {
  /* Steel Blue theme. (--gold is the accent color's old name; it's blue now.) */
  --bg: #1B2433;
  --surface: #243044;
  --surface2: #2C3A52;
  --card: #243044;
  --fg: #EEF3FA;
  --muted: #9AA8BD;
  --line: #34435E;
  --gold: #8FB8E8;
  --accent2: #3B82F6;
  --danger: #FF7A59;
  --radius: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg); }
/* Cool background: deep navy with slow-drifting blue glows */
body { background: radial-gradient(120% 80% at 50% 0%, #243149 0%, #1B2433 55%, #161E2B 100%) fixed; }
body::before, body::after { content: ""; position: fixed; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(60px); }
body::before { width: 70vmax; height: 70vmax; left: -25vmax; top: -30vmax; background: radial-gradient(circle, #3B82F6 0%, transparent 65%); opacity: .12; animation: drift1 26s ease-in-out infinite alternate; }
body::after { width: 60vmax; height: 60vmax; right: -25vmax; bottom: -25vmax; background: radial-gradient(circle, #6E9BD1 0%, transparent 65%); opacity: .1; animation: drift2 32s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vmax, 14vmax) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-16vmax, -12vmax) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { body::before, body::after { animation: none; } }
#app { position: relative; z-index: 1; }
body { font: 16px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; overscroll-behavior: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

#app { display: flex; flex-direction: column; height: 100dvh; max-width: 760px; margin: 0 auto; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding: calc(env(safe-area-inset-top) + 10px) 16px 8px; gap: 12px; }
.topTitle { flex: 1; text-align: center; font-weight: 600; font-size: 15px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.round { width: 48px; height: 48px; border-radius: 50%; background: var(--surface2); display: grid; place-items: center; flex: none; }
.round.small { width: 40px; height: 40px; }
.round.ghost { background: transparent; color: var(--muted); }
.round.solid { background: var(--fg); color: var(--bg); }
.round:active { transform: scale(.94); }

/* Chat area */
main { flex: 1; overflow-y: auto; padding: 0 16px 16px; -webkit-overflow-scrolling: touch; }
#hello { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px 0 40px; }
#hello .mark { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 14px; }
#hello h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 32px; margin: 0; letter-spacing: -.01em; }
#hello .sub { color: var(--muted); margin: 6px 0 26px; }
.ideas { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 440px; }
.ideas button { border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-size: 14px; color: var(--fg); }
.ideas button:active { background: var(--surface2); }
body.chatting #hello { display: none; }

.msg { margin: 18px 0; }
.msg.user { display: flex; flex-direction: column; align-items: flex-end; }
.msg.user .bubble { background: var(--surface2); border-radius: 20px 20px 6px 20px; padding: 10px 14px; max-width: 85%; white-space: pre-wrap; word-wrap: break-word; }
.msg.user .files { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; margin-bottom: 6px; }
.msg.bot .text { word-wrap: break-word; }
.msg.bot .text p { margin: 0 0 10px; }
.msg.bot .text ul, .msg.bot .text ol { margin: 0 0 10px; padding-left: 22px; }
.msg.bot .text h3 { font-size: 17px; margin: 14px 0 6px; }
.msg.bot .text strong { color: #fff; }
.cite { display: inline-block; font-size: 11px; line-height: 16px; min-width: 16px; padding: 0 4px; border-radius: 6px; background: var(--surface2); color: var(--muted); vertical-align: 2px; text-align: center; }
.tools { display: flex; gap: 4px; margin-top: 4px; align-items: center; flex-wrap: wrap; }
.tools button { color: var(--muted); padding: 6px; border-radius: 10px; display: flex; align-items: center; gap: 6px; font-size: 13px; }
.tools button svg { width: 18px; height: 18px; }
.tools button.on { color: var(--gold); }
.sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.src { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.src b { color: var(--fg); font-weight: 600; }
.src.official { border-color: var(--gold); }
.typing { display: inline-flex; gap: 5px; padding: 8px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.err { color: var(--danger); }

/* Widgets */
.widget { margin-top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.widget svg.tree { width: 100%; height: auto; display: block; stroke: none; }
.saved { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 8px; margin-right: 8px; }
.saved::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.bars h4 { margin: 0 0 10px; font-size: 15px; }
.barRow { margin: 10px 0; font-size: 13px; }
.barRow .lbl { display: flex; justify-content: space-between; color: var(--muted); margin-bottom: 4px; }
.barRow .lbl b { color: var(--fg); font-weight: 600; }
.track { height: 8px; border-radius: 99px; background: var(--surface2); overflow: hidden; }
.fill { height: 100%; background: var(--fg); border-radius: 99px; }
.fill.done { background: var(--gold); }
.report { display: flex; align-items: center; gap: 12px; }
.report .doc { width: 44px; height: 52px; border-radius: 8px; background: var(--fg); color: var(--bg); display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; }
.report .meta { flex: 1; min-width: 0; }
.report .meta b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report .meta small { color: var(--muted); }
.pill { border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; }
.whitePill { background: var(--fg); color: var(--bg); }
.ghostPill { border: 1px solid var(--line); color: var(--fg); }

/* Composer */
.composer { padding: 6px 12px calc(env(safe-area-inset-bottom) + 10px); }
#chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 6px 6px; }
#chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface2); border-radius: 12px; padding: 6px 10px; font-size: 13px; max-width: 100%; }
.chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
.chip button { color: var(--muted); padding: 0 2px; font-size: 16px; line-height: 1; }
.chip.busy { color: var(--muted); }
.bar { display: flex; align-items: flex-end; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 7px; }
.bar .round.small:first-child { background: var(--surface2); }
#input { flex: 1; resize: none; background: transparent; border: 0; outline: 0; color: var(--fg); font: inherit; font-size: 17px; line-height: 24px; padding: 8px 4px; max-height: 160px; min-height: 40px; }
#input::placeholder { color: var(--muted); }
#goBtn .send { display: none; }
#goBtn.hasText .send { display: block; }
#goBtn.hasText .wave { display: none; }
#micBtn.on { color: var(--gold); }

/* Sheets, drawer, panels */
.sheetWrap, .panelWrap, .drawerWrap, .recWrap { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 20; display: flex; }
.sheetWrap { align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 560px; background: var(--surface); border-radius: 24px 24px 0 0; padding: 10px 10px calc(env(safe-area-inset-bottom) + 10px); }
.row { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 12px; border-radius: 16px; }
.row:active { background: var(--surface2); }
.row .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--surface2); display: grid; place-items: center; flex: none; }
.row b { display: block; font-weight: 600; } .row small { color: var(--muted); font-size: 13px; }
.row.cancel { justify-content: center; font-weight: 600; margin-top: 4px; background: var(--surface2); }

.drawerWrap { justify-content: flex-start; }
.drawer { width: min(320px, 84vw); background: var(--surface); height: 100%; padding: calc(env(safe-area-inset-top) + 16px) 12px 16px; overflow-y: auto; }
.drawerHead { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; font-size: 18px; }
.drawerHead img { width: 34px; height: 34px; border-radius: 9px; }
.navRow { width: 100%; text-align: left; padding: 12px; border-radius: 12px; font-size: 16px; }
.navRow:active, .navRow.cur { background: var(--surface2); }
.navLabel { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 18px 12px 6px; }
.chatRow { display: flex; align-items: center; }
.chatRow .navRow { flex: 1; font-size: 14px; color: #ddd; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chatRow .del { color: var(--muted); padding: 8px; }

.panelWrap { align-items: flex-end; justify-content: center; }
.panel { width: 100%; max-width: 680px; max-height: 92dvh; background: var(--surface); border-radius: 24px 24px 0 0; display: flex; flex-direction: column; }
.panelHead { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 6px 20px; font-size: 18px; }
.panelBody { overflow-y: auto; padding: 6px 20px calc(env(safe-area-inset-bottom) + 20px); }
.panelBody p.hint { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.field { display: block; margin: 0 0 12px; }
.field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.field input, .field select { width: 100%; background: var(--surface2); border: 1px solid var(--line); color: var(--fg); border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.panelBtns { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.teamCard { background: var(--surface2); border-radius: 14px; padding: 12px; margin-bottom: 10px; }
.teamCard .tHead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.teamCard .tHead input { background: transparent; border: 0; color: var(--fg); font: inherit; font-weight: 600; font-size: 16px; width: 60%; outline: 0; }
.teamCard .field input, .teamCard .field select { background: var(--bg); }
.mini { color: var(--muted); font-size: 13px; }

/* Recording */
.recWrap { align-items: center; justify-content: center; background: rgba(0,0,0,.92); }
.recBox { text-align: center; }
.pulse { width: 120px; height: 120px; border-radius: 50%; background: var(--fg); margin: 0 auto 26px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(.86); opacity: .85; } 50% { transform: scale(1); opacity: 1; } }
.recTime { font-size: 40px; font-variant-numeric: tabular-nums; font-weight: 300; }
.recHint { color: var(--muted); margin: 6px 0 30px; }
.recBtns { display: flex; gap: 12px; justify-content: center; }
.recBtns .pill { min-width: 120px; padding: 14px 22px; }

#toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 96px); transform: translateX(-50%); background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: 14px; z-index: 40; max-width: 90vw; text-align: center; }

/* Talk sheet (bottom, so the chat stays visible above) */
.recWrap { align-items: flex-end; justify-content: center; background: rgba(0,0,0,.45); }
.recBox { width: 100%; max-width: 560px; background: var(--surface); border-radius: 26px 26px 0 0; padding: 26px 20px calc(env(safe-area-inset-bottom) + 22px); text-align: center; }
.pulse { width: 84px; height: 84px; margin: 0 auto 16px; }
.pulse.think { animation: spin 1.1s linear infinite; background: transparent; border: 4px solid var(--line); border-top-color: var(--fg); opacity: 1; transform: none; }
.pulse.speak { background: var(--gold); animation: talk .9s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes talk { 0%, 100% { transform: scale(.8); } 50% { transform: scale(1); } }
.recTime { font-size: 32px; }
.recHint { margin: 4px 0 22px; }

/* My resources */
.res { background: var(--surface2); border-radius: 16px; padding: 10px; margin-bottom: 10px; }
.resRow { display: flex; align-items: center; gap: 10px; }
.resRow .meta { flex: 1; min-width: 0; }
.resRow .meta b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.resRow .meta small { color: var(--muted); font-size: 13px; }
.resRow .pill { padding: 8px 14px; font-size: 14px; text-decoration: none; }
.resRow .del { color: var(--muted); font-size: 20px; padding: 4px 6px; }
.doc { width: 40px; height: 48px; border-radius: 8px; background: var(--fg); color: var(--bg); display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; }
.doc.pic { background: var(--bg); color: var(--gold); border: 1px solid var(--line); }
.resView { margin-top: 10px; }
.resView .widget { margin-top: 0; background: var(--bg); }

/* Intake start + skip */
.startIntake { font-size: 17px; padding: 14px 24px; margin-top: 4px; display: inline-flex; align-items: center; gap: 8px; }
.startBtns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
#hello .sub.small { font-size: 14px; margin: 14px 0 0; line-height: 1.5; }
.skipBtn { border: 1px solid var(--line) !important; border-radius: 999px !important; padding: 6px 14px !important; color: var(--fg) !important; font-size: 13px; margin-right: 6px; }
.skipBtn:active { background: var(--surface2); }

/* Hands-free talk bar (replaces the text box while talking; nothing covers the chat) */
body.talking .bar, body.talking #chips { display: none; }
.talkBar { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 8px 8px 8px 10px; }
.talkText { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.talkText b { font-size: 16px; font-weight: 600; }
.talkText small { color: var(--muted); font-size: 13px; }
.orb { --lvl: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; background: transparent; }
.orb span { width: 40px; height: 40px; border-radius: 50%; background: var(--fg); transform: scale(calc(.75 + var(--lvl) * .35)); transition: transform .08s linear; }
.talkBar[data-phase="listen"] .orb span { animation: breathe 1.8s ease-in-out infinite; }
.talkBar[data-phase="think"] .orb span { background: transparent; border: 4px solid var(--line); border-top-color: var(--fg); animation: spin 1s linear infinite; transform: none; }
.wave { display: flex; align-items: center; gap: 3px; height: 30px; flex: none; }
.wave i { width: 4px; height: 100%; border-radius: 2px; background: var(--gold); transform: scaleY(.12); transition: transform .09s linear; }
.talkBar[data-phase="listen"] .wave i { background: var(--muted); opacity: .6; }
.talkBar[data-phase="hear"] .wave i { background: var(--fg); }
.talkBar[data-phase="think"] .wave i { transition: none; animation: wavethink 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s !important; } .wave i:nth-child(3) { animation-delay: .2s !important; } .wave i:nth-child(4) { animation-delay: .3s !important; }
.wave i:nth-child(5) { animation-delay: .4s !important; } .wave i:nth-child(6) { animation-delay: .5s !important; } .wave i:nth-child(7) { animation-delay: .6s !important; }
@keyframes wavethink { 0%, 100% { transform: scaleY(.12); } 50% { transform: scaleY(.5); } }
@media (prefers-reduced-motion: reduce) { .wave i { animation: none !important; transition: none; } }
.talkBar[data-phase="speak"] .orb span { background: var(--gold); animation: talk .9s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.72); } 50% { transform: scale(.85); } }

/* Messages appear at the top, out of the way of the chat and the talk bar */
#toast { top: calc(env(safe-area-inset-top) + 64px); bottom: auto; }

/* Plus menu */
.plusWrap { align-items: flex-end; justify-content: center; }
.plusSheet { width: 100%; max-width: 680px; background: var(--surface); border-radius: 24px 24px 0 0; padding: 14px 14px calc(env(safe-area-inset-bottom) + 14px); display: flex; flex-direction: column; gap: 4px; }
.plusRow { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 10px; border-radius: 16px; }
.plusRow:active { background: var(--surface2); }
.plusRow svg { width: 26px; height: 26px; flex: none; color: var(--gold); }
.plusRow span { display: flex; flex-direction: column; }
.plusRow small { color: var(--muted); font-size: 13px; }

/* Camera */
.camWrap { position: fixed; inset: 0; background: #000; z-index: 30; display: flex; flex-direction: column; }
#camVideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.camFlash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; transition: opacity .25s; }
.camFlash.on { opacity: .7; transition: none; }
.camTop { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(env(safe-area-inset-top) + 12px) 16px 12px; background: linear-gradient(rgba(0,0,0,.6), transparent); }
.camTop span { font-weight: 600; font-size: 15px; }
.camGhost { background: rgba(0,0,0,.45); color: #fff; border: 1px solid rgba(255,255,255,.35); }
#camDone:disabled { opacity: .4; }
.camStrip { position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom) + 118px); display: flex; gap: 8px; overflow-x: auto; padding: 0 16px; }
.camStrip .thumb { position: relative; flex: none; }
.camStrip img { width: 62px; height: 62px; object-fit: cover; border-radius: 10px; border: 2px solid #fff; display: block; }
.camStrip button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: #000; color: #fff; border: 1px solid #fff; font-size: 14px; line-height: 1; }
.camBottom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; padding: 16px 0 calc(env(safe-area-inset-bottom) + 24px); background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.shutter { width: 76px; height: 76px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; }
.shutter span { width: 60px; height: 60px; border-radius: 50%; background: #fff; }
.shutter:active span { transform: scale(.88); }
.chip img { width: 22px; height: 22px; border-radius: 5px; object-fit: cover; }

/* In-app viewer for plans and PDFs */
.viewWrap { position: fixed; inset: 0; z-index: 30; background: var(--bg); display: flex; flex-direction: column; }
.viewTop { display: flex; align-items: center; gap: 10px; padding: calc(env(safe-area-inset-top) + 10px) 12px 10px; }
.viewTop b { flex: 1; text-align: center; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewTop .camGhost { background: var(--surface2); border-color: var(--line); }
#viewFrame { flex: 1; width: 100%; border: 0; background: #fff; }
.viewBottom { display: flex; justify-content: center; padding: 10px 12px calc(env(safe-area-inset-bottom) + 10px); }

/* Big talking bubble (takes the chat area's place while talking) */
#stage { position: fixed; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; pointer-events: none; }
#stage > * { pointer-events: auto; }
body.stageOn .composer { margin-top: auto; }
#stage[hidden] { display: none; }
body.stageOn main { display: none; }
body.stageOn .talkBar .wave { display: none; }
#stageCanvas { width: min(88vw, 52dvh, 440px); aspect-ratio: 1; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.stageLabel { position: absolute; left: 16px; right: 16px; top: calc(50% + min(44vw, 26dvh, 220px) + 8px); font-size: 18px; font-weight: 600; letter-spacing: .2px; color: var(--fg); min-height: 24px; text-align: center; transition: color .3s; }
#stage[data-phase="speak"] .stageLabel { color: var(--gold); }
#stage[data-phase="think"] .stageLabel, #stage[data-phase="listen"] .stageLabel { color: var(--muted); }
.stageChat { position: absolute; top: calc(env(safe-area-inset-top) + 18px); right: max(16px, calc(50vw - 364px)); font-size: 13px; padding: 7px 12px; }
.showStage { display: block; margin: 8px auto 0; font-size: 13px; }

/* Goal sheets, checklists and trackers */
.sheet { --s-line: var(--line, #3a3a3a); }
.sheet .shKind { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); }
.sheet .shTitle { margin: 4px 0 6px; font-size: 19px; line-height: 1.25; }
.sheet .shGoal, .sheet .shDate { margin: 2px 0; font-size: 14.5px; }
.sheet .shNums { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin: 12px 0 4px; }
.sheet .shNum { border: 1.5px solid var(--gold); border-radius: 14px; padding: 10px 8px; text-align: center; }
.sheet .shNum b { display: block; font-size: 26px; line-height: 1.1; color: var(--gold); }
.sheet .shNum span { font-size: 12.5px; color: var(--muted); }
.sheet .shSec { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); }
.sheet .shProg { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); font-size: 12.5px; }
.sheet .shList { list-style: none; margin: 0; padding: 0; }
.sheet .chk { display: flex; gap: 10px; align-items: flex-start; padding: 9px 4px; border-bottom: 1px solid var(--s-line); font-size: 15px; line-height: 1.35; }
.sheet .chk[data-i] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sheet .chk .box { flex: none; width: 20px; height: 20px; border: 2px solid var(--gold); border-radius: 6px; margin-top: 1px; display: grid; place-items: center; }
.sheet .chk.done .box { background: var(--gold); }
.sheet .chk.done .box::after { content: ""; width: 5px; height: 10px; border: solid #111; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.sheet .chk.done .txt { color: var(--muted); text-decoration: line-through; }
.sheet .shTableWrap { overflow-x: auto; }
.sheet .shTable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sheet .shTable th { text-align: left; font-size: 12px; color: var(--muted); border-bottom: 1.5px solid var(--gold); padding: 6px; }
.sheet .shTable td { border-bottom: 1px solid var(--s-line); padding: 8px 6px; height: 18px; }
.sheet .shTable td:first-child, .sheet .shTable th:first-child { width: 22px; color: var(--muted); }
.sheet .shWhy { margin: 0; font-style: italic; }
.sheet .shLines i { display: block; border-bottom: 1px solid var(--s-line); height: 26px; }

/* Blue theme: frosted glass on top of the moving background */
.bar, .talkBar, .widget { background: rgba(11, 42, 87, .62); border-color: rgba(92, 200, 255, .22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.msg.user .bubble { background: linear-gradient(135deg, #2F7BF6, #1D5FD0); color: #fff; }
.round.solid, .whitePill { background: #fff; color: #0A2E66; }
.round.solid { box-shadow: 0 4px 18px rgba(47, 123, 246, .45); }
#hello .mark { border-radius: 22%; box-shadow: 0 10px 40px rgba(47, 123, 246, .45); }
#hello h1 { background: linear-gradient(90deg, #FFFFFF, #BFE6FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cite { background: rgba(92, 200, 255, .16); color: #BFE6FF; }
.viewWrap { background: #1B2433; }
