:root {
  --navy: #18469d;
  --navy-dark: #10336f;
  --sky: #46a3da;
  --sky-soft: #eaf4fb;
  --ink: #101828;
  --ink-2: #344054;
  --muted: #667085;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --card: #ffffff;
  --line: #e4e7ec;
  --line-strong: #d0d5dd;
  --ok: #067647;
  --warn: #b54708;
  --bad: #c01f1f;
  /* older names still used by some scripts */
  --dune: var(--navy);
  --dune-dark: var(--navy-dark);
  --slate: var(--sky);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 4px 16px rgba(16,24,40,.05);
  --shadow-lg: 0 12px 40px rgba(16,24,40,.08);
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: var(--sans);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16.5px; line-height: 1.65; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 520px) { .wrap { padding: 0 16px; } }
.narrow { max-width: 640px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.hidden { display: none !important; }
:focus-visible { outline: 3px solid rgba(70,163,218,.5); outline-offset: 2px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); }
.brand img { width: 36px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; }
.brand-text small { font-weight: 500; font-size: .62rem; letter-spacing: .32em; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .94rem; }
.nav a:hover { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--ink); cursor: pointer; padding: 8px; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 24px 22px; border-bottom: 1px solid var(--line); gap: 14px; box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 24px; border-radius: 999px; border: 1.5px solid transparent; font: 700 .97rem var(--sans); cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(24,70,157,.22); }
.btn-primary:hover { background: var(--navy-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky-soft); }
.btn-sm { min-height: 38px; padding: 7px 16px; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.nav .btn { color: #fff; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 104px; background: radial-gradient(1100px 520px at 85% -10%, var(--sky-soft) 0%, rgba(234,244,251,0) 60%), #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--navy); }
.hero p.lead { font-size: 1.2rem; max-width: 560px; color: var(--muted); }
.hero-art { position: relative; justify-self: center; width: min(400px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: linear-gradient(160deg, var(--sky-soft), #fff 70%); border: 1px solid var(--line); }
.hero-art img { position: relative; width: 58%; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--sky-soft); color: var(--navy); font-weight: 700; font-size: .85rem; margin-bottom: 22px; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 860px) {
  .hero { padding: 56px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { display: none; }
}

/* sections */
section.block { padding: 104px 0; }
@media (max-width: 620px) { section.block { padding: 68px 0; } }
section.alt { background: var(--bg-soft); }
section.dark { background: var(--navy); color: #dbe6f6; }
section.dark h2, section.dark h3 { color: #fff; }
.eyebrow { font-size: .82rem; font-weight: 700; color: var(--sky); margin-bottom: 12px; letter-spacing: .02em; }
section.dark .eyebrow { color: #9fd0ef; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.stat { text-align: left; color: var(--muted); font-size: .95rem; }
.stat b { display: block; font-size: 2.5rem; font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -.03em; margin-bottom: 4px; }
section.dark .stat b { color: #fff; }
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-band .stat { padding: 34px 28px; border-left: 1px solid var(--line); }
.stats-band .stat:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 900px) { .stats-band { grid-template-columns: 1fr 1fr; } .stats-band .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stats-band .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
.big-quote { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: var(--ink); letter-spacing: -.025em; line-height: 1.3; max-width: 820px; }
.big-quote span { color: var(--navy); }
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 74px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 26px; left: 28px; font-weight: 800; font-size: .95rem; color: var(--sky); }
.step p { color: var(--muted); font-size: .97rem; }
.callout { display: flex; gap: 18px; align-items: flex-start; background: var(--sky-soft); padding: 26px 28px; border-radius: var(--radius); }
.callout .ic { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.bar span { display: block; height: 100%; background: var(--sky); border-radius: 99px; }
.college-row { display: grid; grid-template-columns: 1fr 52px; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.college-row b { text-align: right; color: var(--ink); }
.story-card { border-left: 3px solid var(--sky); padding: 4px 0 4px 22px; margin-bottom: 26px; }
.story-card h3 { margin-bottom: 2px; }
.story-card .muted { font-size: .9rem; margin-bottom: 8px; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 0; }
.founders .card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); box-shadow: none; color: #dbe6f6; padding: 22px; }
.founders .card h3 { color: #fff; margin-bottom: 4px; }
@media (max-width: 620px) { .founders { grid-template-columns: 1fr; } }
.give-card { text-align: center; }
.give-card b { display: block; font-size: 2.2rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.give-card span { color: var(--muted); font-size: .95rem; }
.tag { display: inline-block; font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--bg-soft); color: var(--ink-2); margin: 2px 4px 2px 0; border: 1px solid var(--line); }
.tag.ok { background: #ecfdf3; color: var(--ok); border-color: #abefc6; }
.tag.warn { background: #fffaeb; color: var(--warn); border-color: #fedf89; }
.tag.bad { background: #fef3f2; color: var(--bad); border-color: #fecdca; }
.tag.info { background: var(--sky-soft); color: var(--navy); border-color: #c5e2f4; }
.site-footer { background: #0b1f45; color: #a9b8d3; padding: 64px 0 28px; font-size: .94rem; }
.site-footer .brand { color: #fff; }
.site-footer a { color: #dbe6f6; text-decoration: none; display: block; margin-top: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer b { color: #fff; }
.site-footer .grid { grid-template-columns: 2fr 1fr 1fr; }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; }
.foot-base a { display: inline; margin: 0; color: #7f91b3; }
@media (max-width: 700px) { .site-footer .grid { grid-template-columns: 1fr; } }

/* app pages */
.app-main { padding: 44px 0 88px; min-height: 70vh; background: var(--bg-soft); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
@media (max-width: 520px) { .panel { padding: 20px; } }
.auth-box { max-width: 440px; margin: 30px auto; }
.tabs { display: flex; gap: 4px; background: var(--bg-soft); border: 1px solid var(--line); padding: 4px; border-radius: 999px; margin-bottom: 22px; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 9px; border-radius: 999px; font: 600 .94rem var(--sans); cursor: pointer; color: var(--muted); }
.tabs button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; color: var(--ink); }
.hint { font-weight: 400; font-size: .85rem; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=number], input[type=url], select, textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 10px; font: 1rem var(--sans); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
input[type=file] { font: .93rem var(--sans); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(70,163,218,.16); }
textarea { min-height: 120px; resize: vertical; }
.field { margin-bottom: 20px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); }
.field.invalid input:focus, .field.invalid select:focus, .field.invalid textarea:focus { box-shadow: 0 0 0 4px rgba(192,31,31,.12); }
.field .err { color: var(--bad); font-size: .85rem; margin-top: 5px; display: none; }
.field.invalid .err { display: block; }
.field .preview { font-size: .85rem; color: var(--ok); margin-top: 5px; min-height: 1.2em; }
.row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.inline { display: flex; gap: 8px; }
.inline > * { flex: 1; }
.inline > select { flex: 0 0 130px; }
.radio-row { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 4px; }
.radio-row label, .check label { font-weight: 400; display: flex; gap: 9px; align-items: flex-start; color: var(--ink-2); }
input[type=radio], input[type=checkbox] { accent-color: var(--navy); width: 18px; height: 18px; }
.check { margin: 12px 0; padding: 14px 16px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; }
.check input { margin-top: 3px; flex: 0 0 auto; }
.notice { padding: 14px 16px; border-radius: 12px; background: #fffaeb; border: 1px solid #fedf89; margin: 0 0 18px; font-size: .94rem; }
.notice.blue { background: var(--sky-soft); border-color: #c5e2f4; }
.notice.red { background: #fef3f2; border-color: #fecdca; }
.notice.green { background: #ecfdf3; border-color: #abefc6; }
.wizard-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.wizard-nav button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font: 600 .85rem var(--sans); cursor: pointer; color: var(--muted); }
.wizard-nav button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.wizard-nav button.done::after { content: " ✓"; color: var(--ok); }
.wizard-nav button.active.done::after { color: #a6f4c5; }
.wizard-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.save-state { font-size: .85rem; color: var(--muted); align-self: center; }
.essay-meta { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); margin-top: 5px; }
.essay textarea { min-height: 220px; }
.sum-box { background: var(--sky-soft); border: 1px solid #c5e2f4; border-radius: 12px; padding: 14px 16px; font-weight: 600; color: var(--ink); }
.asset-row { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.asset-row:last-child { border-bottom: 0; }
.asset-row > span { font-weight: 600; color: var(--ink); font-size: .94rem; }
.asset-head { font-size: .8rem; color: var(--muted); font-weight: 600; padding-bottom: 4px; }
@media (max-width: 620px) { .asset-row { grid-template-columns: 1fr 1fr; } .asset-row > span { grid-column: 1 / -1; } .asset-head { display: none; } }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
@media (max-width: 520px) { .photo-grid { grid-template-columns: 1fr 1fr; } }
.photo-slot { border: 1.5px dashed var(--line-strong); border-radius: 12px; aspect-ratio: 4/3; display: grid; place-items: center; text-align: center; font-size: .85rem; color: var(--muted); background: var(--bg-soft); overflow: hidden; position: relative; cursor: pointer; padding: 8px; }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-slot .ok-badge { position: absolute; bottom: 6px; right: 6px; background: rgba(6,118,71,.9); color: #fff; font-size: .72rem; padding: 2px 8px; border-radius: 99px; z-index: 1; }
.year-grid { display: grid; gap: 14px; grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .year-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .year-grid { grid-template-columns: 1fr; } }
.year-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; }
.year-card.filled { border-color: #abefc6; background: #f6fef9; }
.year-card h4 { margin: 0 0 6px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.demo-banner { background: var(--ink); color: #d0d5dd; text-align: center; font-size: .85rem; padding: 7px 12px; }
.demo-banner button { background: none; border: 1px solid #667085; color: #fff; border-radius: 99px; padding: 1px 10px; margin-left: 8px; cursor: pointer; font-size: .8rem; }

/* tables (admin) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th, table.data td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; vertical-align: top; }
table.data th { background: var(--bg-soft); position: sticky; top: 0; cursor: pointer; user-select: none; font-weight: 600; color: var(--muted); font-size: .82rem; }
table.data th[data-k]::after { content: " ↕"; font-size: .8em; opacity: .35; }
table.data th[data-k]:hover { color: var(--navy); }
table.data th.sorted-asc::after { content: " ▲"; font-size: .7em; opacity: 1; color: var(--navy); }
table.data th.sorted-desc::after { content: " ▼"; font-size: .7em; opacity: 1; color: var(--navy); }
table.data tr:hover td { background: #f9fbfd; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data tr.clickable { cursor: pointer; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.filters > * { width: auto; min-width: 150px; }
.filters select { max-width: 260px; }
.filters input[type=text] { min-width: 240px; }
.kv { display: grid; grid-template-columns: 220px 1fr; gap: 7px 16px; font-size: .94rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; color: var(--ink); word-break: break-word; }
@media (max-width: 620px) { .kv { grid-template-columns: 1fr; } .kv dd { margin-bottom: 8px; } }
.drawer-bg { position: fixed; inset: 0; background: rgba(16,24,40,.4); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(920px, 100%); background: var(--bg-soft); z-index: 41; overflow-y: auto; padding: 28px; box-shadow: -10px 0 40px rgba(16,24,40,.18); }
.drawer h3 { margin-top: 28px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.essay-view { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; white-space: pre-wrap; margin-bottom: 8px; }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 520px) { .amount-grid { grid-template-columns: repeat(2, 1fr); } }
.amount-grid button { padding: 16px 10px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; font: 800 1.2rem var(--sans); cursor: pointer; color: var(--ink); transition: border-color .15s; }
.amount-grid button:hover { border-color: var(--sky); }
.amount-grid button.active { border-color: var(--navy); background: var(--sky-soft); color: var(--navy); }
.student-pick { border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; cursor: pointer; }
.student-pick.active { border-color: var(--navy); background: var(--sky-soft); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; z-index: 60; box-shadow: var(--shadow-lg); max-width: 90vw; }
[data-field], #problems { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .btn:hover { transform: none; } }
/* Upload button: the phone's own file box is hidden so every device shows the same saved status. */
.upload { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.upload-btn { position: relative; overflow: hidden; }
.file-hidden { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0; }
.upload-status { font-size: .9rem; flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
/* Scholarship awarded: a clear, happy panel with next steps. */
.award-panel { background: #ecfdf3; border: 1.5px solid #abefc6; position: relative; }
.award-panel h2 { color: var(--ok); }
.award-emoji { font-size: 2.4rem; line-height: 1; margin-bottom: 8px; }
.next-steps { margin: 0; padding-left: 22px; line-height: 1.7; }
.next-steps li { margin-bottom: 6px; }
.voucher-list { display: grid; gap: 10px; margin-bottom: 14px; }
.voucher { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; }
.voucher.paid { border-color: #abefc6; background: #f6fef9; }
.voucher-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
/* Student progress tracker */
.tracker { list-style: none; margin: 0; padding: 0; }
.tracker li { display: flex; gap: 12px; align-items: flex-start; position: relative; padding-bottom: 14px; }
.tracker li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.tracker li.t-done:not(:last-child)::before { background: #abefc6; }
.t-dot { flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; font-weight: 800; border: 2px solid var(--line); background: #fff; color: #fff; }
.t-done .t-dot { background: var(--ok); border-color: var(--ok); }
.t-now .t-dot { border-color: var(--navy); box-shadow: 0 0 0 4px var(--sky-soft); }
.t-now b { color: var(--navy); }
.t-todo b { color: var(--muted); font-weight: 600; }
.t-stop .t-dot { background: var(--muted); border-color: var(--muted); }
/* Messages */
.msg-list { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px 2px 10px; }
.msg { max-width: 85%; }
.msg.mine { align-self: flex-end; }
.msg-body { padding: 10px 14px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); overflow-wrap: anywhere; }
.msg.mine .msg-body { background: var(--sky-soft); border-color: #c5e2f4; }
.msg-meta { font-size: .75rem; color: var(--muted); margin-top: 3px; padding: 0 4px; }
.msg.mine .msg-meta { text-align: right; }
.msg-form { display: flex; gap: 10px; align-items: flex-end; margin-top: 8px; }
.msg-form textarea { flex: 1; }
.unread-dot { display: inline-block; min-width: 20px; padding: 1px 7px; border-radius: 99px; background: var(--bad); color: #fff; font-size: .72rem; font-weight: 800; text-align: center; margin-left: 6px; }
