:root {
  --bg: #f6f5f1; --surface: #ffffff; --surface-2: #f0efea; --line: #e2e0d8; --line-2: #cfccc1;
  --ink: #14212b; --ink-2: #44525d; --ink-3: #75828c;
  --brand: #0d5c63; --brand-2: #0a464c; --brand-soft: #e3f0ef; --accent: #b7791f; --accent-soft: #fbf1df;
  --ok: #1f7a4d; --ok-soft: #e3f3ea; --warn: #a15c07; --warn-soft: #fdf0dc; --bad: #b42318; --bad-soft: #fde8e6;
  --info: #2459a8; --info-soft: #e6eefb;
  --radius: 12px; --radius-s: 8px; --shadow: 0 1px 2px rgba(20,33,43,.06), 0 4px 16px rgba(20,33,43,.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1418; --surface: #161d22; --surface-2: #1c252b; --line: #27323a; --line-2: #34414a;
    --ink: #e8ecef; --ink-2: #b2bdc5; --ink-3: #82909a;
    --brand: #4fb3ad; --brand-2: #79cbc6; --brand-soft: #14302f; --accent: #e0a64a; --accent-soft: #33281a;
    --ok: #4cc38a; --ok-soft: #12291e; --warn: #e6a23c; --warn-soft: #2e2413; --bad: #f07167; --bad-soft: #321a18;
    --info: #7aa7ec; --info-soft: #17233a; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.25); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1418; --surface: #161d22; --surface-2: #1c252b; --line: #27323a; --line-2: #34414a;
  --ink: #e8ecef; --ink-2: #b2bdc5; --ink-3: #82909a;
  --brand: #4fb3ad; --brand-2: #79cbc6; --brand-soft: #14302f; --accent: #e0a64a; --accent-soft: #33281a;
  --ok: #4cc38a; --ok-soft: #12291e; --warn: #e6a23c; --warn-soft: #2e2413; --bad: #f07167; --bad-soft: #321a18;
  --info: #7aa7ec; --info-soft: #17233a; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 var(--font); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
img, svg { max-width: 100%; }
.muted { color: var(--ink-3); } .small { font-size: 13px; } .tiny { font-size: 12px; }
.num { font-variant-numeric: tabular-nums; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; } .grow { flex: 1; }
.stack > * + * { margin-top: 12px; }
.hidden { display: none !important; }

/* ---- controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line-2); background: var(--surface);
  color: var(--ink); padding: 8px 14px; border-radius: var(--radius-s); font: 500 14px/1.2 var(--font); cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--ink-3); text-decoration: none; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-2); border-color: var(--brand-2); }
:root[data-theme="dark"] .btn.primary, :root:not([data-theme="light"]) .btn.primary { color: #fff; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.danger { color: var(--bad); border-color: var(--bad-soft); }
.btn.sm { padding: 5px 10px; font-size: 13px; }
.btn.lg { padding: 13px 22px; font-size: 16px; border-radius: 10px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
label.f { display: block; font-size: 13px; color: var(--ink-2); }
label.f > span { display: block; margin-bottom: 4px; font-weight: 500; }
input, select, textarea { width: 100%; font: 15px/1.4 var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--radius-s); padding: 9px 11px; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--brand) 35%, transparent); border-color: var(--brand); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--brand); }
textarea { min-height: 84px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: 4px; flex: none; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .grid2, .grid3, .grid4 { grid-template-columns: minmax(0, 1fr); } }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius-s); overflow: hidden; }
.seg button { border: 0; background: var(--surface); padding: 7px 14px; font: 500 14px var(--font); color: var(--ink-2); cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line-2); }
.seg button.on { background: var(--brand); color: #fff; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card h3 { font-size: 15px; margin-bottom: 12px; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); } .pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); } .pill.info { background: var(--info-soft); color: var(--info); }
.pill.brand { background: var(--brand-soft); color: var(--brand); }
.notice { padding: 12px 14px; border-radius: var(--radius-s); background: var(--info-soft); color: var(--ink); font-size: 14px; }
.notice.warn { background: var(--warn-soft); } .notice.ok { background: var(--ok-soft); } .notice.bad { background: var(--bad-soft); }

table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr.click { cursor: pointer; } table.t tr.click:hover td { background: var(--surface-2); }
table.t td.r, table.t th.r { text-align: right; }
.tablewrap { overflow-x: auto; }
table.t input, table.t select { padding: 5px 8px; font-size: 14px; }

#toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; }
.toast { background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow); transition: opacity .4s; }
.toast.bad { background: var(--bad); color: #fff; } .toast.out { opacity: 0; }

.modal-bg { position: fixed; inset: 0; background: rgba(10,16,20,.5); z-index: 50; display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px; overflow-y: auto; }
.modal { background: var(--surface); border-radius: 14px; width: 100%; max-width: 560px; padding: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal.wide { max-width: 760px; }
.modal h2 { font-size: 19px; }

/* =================================================== PUBLIC SITE */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.site-nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-nav .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 16px; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; letter-spacing: -.02em; }
.logo small { display: block; font-weight: 500; font-size: 11.5px; color: var(--ink-3); letter-spacing: .02em; }
.site-nav nav { display: flex; gap: 20px; margin-left: auto; }
.site-nav nav a { color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.lang-btn { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 5px 12px; font: 600 13px var(--font); color: var(--ink); cursor: pointer; }
@media (max-width: 900px) { .site-nav nav { display: none; } .site-nav .wrap { gap: 10px; } .site-nav .spacer { margin-left: auto; } }
@media (min-width: 901px) { .site-nav .spacer { display: none; } }
@media (max-width: 420px) { .site-nav .btn.primary { display: none; } }

.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero { padding: 44px 0 36px; } .hero .wrap { grid-template-columns: 1fr; gap: 32px; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 750; letter-spacing: -.025em; margin-bottom: 18px; }
:lang(zh-Hans) .hero h1 { letter-spacing: 0; font-size: clamp(30px, 4.4vw, 48px); }
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 600px; margin-bottom: 28px; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.hero-card .big { font-size: 40px; font-weight: 750; color: var(--brand); letter-spacing: -.02em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 44px; }
.stats > div { background: var(--surface); padding: 18px; }
.stats b { display: block; font-size: 26px; color: var(--ink); letter-spacing: -.02em; }
.stats span { font-size: 13px; color: var(--ink-3); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
section.s { padding: 72px 0; }
section.s.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { section.s { padding: 48px 0; } }
.s-head { max-width: 680px; margin-bottom: 36px; }
.s-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 720; }
.svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } }
.svc .card { padding: 20px; transition: border-color .15s, transform .15s; }
.svc .card:hover { border-color: var(--brand); transform: translateY(-2px); }
.svc .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.svc h3 { font-size: 16px; margin-bottom: 6px; } .svc p { font-size: 14px; color: var(--ink-2); margin: 0; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.steps > div { position: relative; padding-top: 48px; }
.steps > div::before { counter-increment: st; content: counter(st); position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 700; }
.steps h3 { font-size: 16px; } .steps p { font-size: 14px; color: var(--ink-2); }
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc-in { padding: 26px; } .calc-out { padding: 26px; background: var(--ink); color: #eef2f4; display: flex; flex-direction: column; }
:root[data-theme="dark"] .calc-out { background: #0b2a2c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .calc-out { background: #0b2a2c; } }
.calc-out .big { font-size: clamp(36px, 5vw, 52px); font-weight: 750; letter-spacing: -.025em; color: #fff; margin: 4px 0 10px; }
.calc-out .lbl { font-size: 13px; color: #a9bcc5; text-transform: uppercase; letter-spacing: .06em; }
.calc-out .kv { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.calc-out .kv b { font-weight: 600; } .calc-out .note { font-size: 12.5px; color: #a9bcc5; margin-top: auto; padding-top: 18px; }
.calc-out .btn { margin-top: 16px; }
.calc .tabs { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }
.calc .tabs button { border: 1px solid var(--line-2); background: var(--surface); padding: 7px 14px; border-radius: 999px; font: 500 14px var(--font); color: var(--ink-2); cursor: pointer; }
.calc .tabs button.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 700px) { .why { grid-template-columns: 1fr; } }
.why > div { display: flex; gap: 14px; } .why .ic { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; }
.why h3 { font-size: 16px; margin-bottom: 4px; } .why p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
details.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
details.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: '+'; color: var(--ink-3); font-size: 20px; line-height: 1; }
details.faq[open] summary::after { content: '−'; }
details.faq p { margin: 10px 0 0; color: var(--ink-2); }
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
footer.site { padding: 40px 0 60px; font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line); }
footer.site .row { gap: 18px; }
footer.site p { max-width: 820px; }

/* doc pages (credit guide / privacy) */
.doc { max-width: 780px; margin: 0 auto; padding: 40px 20px 80px; }
.doc h1 { font-size: 32px; } .doc h2 { font-size: 20px; margin-top: 32px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.doc td, .doc th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }

/* =================================================== PORTAL */
.portal { max-width: 860px; margin: 0 auto; padding: 28px 20px 80px; }
@media (max-width: 600px) { .portal { padding: 18px 16px 60px; } }
.stepper { display: flex; gap: 4px; margin: 12px 0 6px; }
.stepper i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.stepper i.on { background: var(--brand); }
.doclist { display: grid; gap: 8px; }
.docrow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); }
.docrow .grow { min-width: 0; }
.docrow label.btn input { display: none; }
fieldset.ff { border: 0; padding: 0; margin: 0 0 6px; }
fieldset.ff legend { font-weight: 700; font-size: 16px; padding: 0; margin-bottom: 10px; }
.multi { display: flex; flex-wrap: wrap; gap: 8px; }
.multi label { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; font-size: 14px; cursor: pointer; background: var(--surface); }
.multi label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }

/* =================================================== ADMIN */
body.admin { font-size: 14.5px; }
.app { display: grid; grid-template-columns: 228px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--surface); border-right: 1px solid var(--line); padding: 16px 12px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.side .logo { padding: 4px 8px 16px; }
.side a.nav { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); font-weight: 500; }
.side a.nav:hover { background: var(--surface-2); text-decoration: none; }
.side a.nav.on { background: var(--brand-soft); color: var(--brand); }
.side a.nav .cnt { margin-left: auto; font-size: 12px; background: var(--bad); color: #fff; border-radius: 999px; padding: 0 7px; font-weight: 700; }
.side .foot { margin-top: auto; padding-top: 12px; display: grid; gap: 6px; }
.main { padding: 24px 28px 60px; min-width: 0; }
.topbar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.topbar h1 { font-size: 22px; margin: 0; }
.topbar .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.mobile-bar { display: none; }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 250px; z-index: 40; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow); }
  .side.open { transform: none; }
  .main { padding: 16px; }
  .mobile-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 30; }
}
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.kpi .l { font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.kpi .v { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.kpi .s { font-size: 12.5px; color: var(--ink-3); }
.dash { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 1100px) { .dash { grid-template-columns: 1fr; } }
.list { display: grid; }
.list .it { display: flex; gap: 10px; align-items: center; padding: 9px 2px; border-bottom: 1px solid var(--line); }
.list .it:last-child { border-bottom: 0; }
.list .it .grow { min-width: 0; }
.list .it .ttl { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding-top: 10px; }
.chart-bars .col { flex: 1; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; height: 100%; position: relative; min-width: 0; }
.chart-bars .bar { border-radius: 4px 4px 0 0; min-height: 1px; }
.chart-bars .bar.rec { background: var(--brand); }
.chart-bars .bar.exp { background: repeating-linear-gradient(45deg, var(--accent-soft), var(--accent-soft) 3px, color-mix(in srgb, var(--accent) 45%, transparent) 3px, color-mix(in srgb, var(--accent) 45%, transparent) 6px); }
.chart-bars .col .x { font-size: 10.5px; color: var(--ink-3); text-align: center; margin-top: 4px; white-space: nowrap; overflow: hidden; }
.chart-bars .col:hover .tip { display: block; }
.chart-bars .tip { display: none; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 6px 9px; border-radius: 6px; font-size: 12px; white-space: nowrap; z-index: 2; }
.legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-3); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }

.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 12px; align-items: start; }
.lane { background: var(--surface-2); border-radius: var(--radius); padding: 10px; min-height: 200px; }
.lane.over { outline: 2px dashed var(--brand); }
.lane h4 { font-size: 13px; display: flex; justify-content: space-between; margin: 2px 4px 10px; color: var(--ink-2); }
.lane h4 .muted { font-weight: 500; }
.dcard { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; cursor: grab; box-shadow: 0 1px 1px rgba(0,0,0,.03); }
.dcard:hover { border-color: var(--line-2); }
.dcard.dragging { opacity: .45; }
.dcard .nm { font-weight: 600; font-size: 14px; }
.dcard .meta { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }

.detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .detail { grid-template-columns: 1fr; } }
.stage-steps { display: flex; gap: 4px; flex-wrap: wrap; }
.stage-steps button { border: 1px solid var(--line-2); background: var(--surface); padding: 6px 10px; font: 500 12.5px var(--font); color: var(--ink-2); cursor: pointer; border-radius: 6px; }
.stage-steps button.done { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.stage-steps button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.stage-steps button.lost.on { background: var(--bad); border-color: var(--bad); }
.timeline .ev { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.timeline .ev .k { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); margin-top: 7px; }
.timeline .ev.note .k, .timeline .ev.call .k { background: var(--accent); } .timeline .ev.stage .k { background: var(--brand); }
.timeline .ev.email .k { background: var(--info); } .timeline .ev.compliance .k { background: var(--bad); } .timeline .ev.portal .k, .timeline .ev.document .k { background: var(--ok); }
.timeline .ev .w { color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.ffview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; font-size: 13.5px; }
.ffview .h { grid-column: 1 / -1; font-weight: 700; margin-top: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.ffview .k { color: var(--ink-3); } .ffview > div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding: 3px 0; }
.issue-list { margin: 8px 0 0; padding-left: 0; list-style: none; font-size: 13.5px; }
.issue-list li { padding: 2px 0 2px 22px; position: relative; }
.issue-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border: 1.5px solid var(--bad); border-radius: 3px; }
.login-box { max-width: 380px; margin: 12vh auto; padding: 0 16px; }
pre.mail { white-space: pre-wrap; font: 13.5px/1.55 var(--font); background: var(--surface-2); padding: 12px; border-radius: 8px; max-height: 340px; overflow: auto; margin: 0; }
