/* ============================================================
   OfficeHand design system
   Warm paper background, deep ink, electric indigo + amber.
   Tuned for legibility: 18px base, fluid type scale, 65ch measure.
   ============================================================ */
:root {
  --paper: #faf9f6; --surface: #ffffff; --ink: #101828; --ink-2: #344054;
  --muted: #5b6474; --line: #e8e6df; --line-2: #d9d6cc;
  --brand: #4353ff; --brand-deep: #2e3ccc; --brand-ghost: #eceeff;
  --amber: #ffb224; --amber-deep: #b97a00; --amber-ghost: #fff4dd;
  --green: #0f9d6e; --green-ghost: #e5f6ef;
  --red: #d92d20; --red-ghost: #feefec;
  --navy: #0e1526; --navy-2: #16203a;
  --radius: 14px; --radius-sm: 9px;
  --shadow-1: 0 1px 2px rgba(16,24,40,.05);
  --shadow-2: 0 2px 4px rgba(16,24,40,.04), 0 12px 32px rgba(16,24,40,.08);
  --shadow-3: 0 4px 8px rgba(16,24,40,.06), 0 24px 64px rgba(16,24,40,.12);
  --font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 18px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.022em; color: var(--ink); }
p { margin: 0 0 1em; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* ---------- top navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250,249,246,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -.03em; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand) 0%, #7a5cff 100%);
  display: grid; place-items: center; color: #fff; font-size: 1.05rem; font-weight: 900;
  box-shadow: 0 4px 12px rgba(67,83,255,.35);
}
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links > a { color: var(--ink-2); font-weight: 600; font-size: .97rem; }
.nav-links > a:hover { color: var(--ink); text-decoration: none; }
.nav-toggle { display: none; }

/* language switcher */
.lang-switch { display: flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; background: var(--surface); }
.lang-switch button {
  border: 0; background: transparent; font: inherit; font-size: .82rem; font-weight: 700;
  padding: 5px 12px; cursor: pointer; color: var(--muted);
}
.lang-switch button.on { background: var(--ink); color: #fff; }
.lang-switch button:not(.on):hover { color: var(--ink); }

/* ---------- buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 1rem; font-family: inherit;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 6px 18px rgba(67,83,255,.28);
}
.btn:hover { background: var(--brand-deep); text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(67,83,255,.35); }
.btn:active { transform: translateY(0); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn-outline:hover { background: var(--surface); border-color: var(--ink); box-shadow: var(--shadow-1); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.btn-light:hover { background: var(--amber-ghost); }
.btn-quiet { background: transparent; color: var(--muted); border-color: var(--line); box-shadow: none; padding: 8px 16px; }
.btn-quiet:hover { color: var(--ink); background: var(--surface); }
.btn-danger { background: transparent; color: var(--red); border-color: var(--line); box-shadow: none; }
.btn-danger:hover { background: var(--red-ghost); }
.btn-sm { padding: 8px 16px; font-size: .88rem; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-ghost); }
label { font-weight: 650; font-size: .92rem; display: block; margin: 16px 0 6px; color: var(--ink-2); }
.help { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.errorlist { color: var(--red); font-size: .88rem; margin: 4px 0 0; padding-left: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(56% 44% at 82% 8%, rgba(67,83,255,.14), transparent 66%),
    radial-gradient(40% 36% at 8% 90%, rgba(255,178,36,.16), transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: var(--surface);
  border: 1px solid var(--line-2); color: var(--ink-2); padding: 7px 16px;
  border-radius: 999px; font-size: .86rem; font-weight: 650; margin-bottom: 22px; box-shadow: var(--shadow-1);
}
.eyebrow .spark { color: var(--amber-deep); }
.display {
  font-size: clamp(2.5rem, 5.2vw, 3.9rem); line-height: 1.04; letter-spacing: -.035em;
  font-weight: 850; margin-bottom: 20px;
}
.display .hl { position: relative; white-space: nowrap; }
.display .hl::after {
  content: ""; position: absolute; left: -1%; right: -1%; bottom: .06em; height: .32em;
  background: var(--amber); opacity: .5; z-index: -1; border-radius: 4px; transform: skewX(-8deg);
}
.lead { font-size: 1.22rem; line-height: 1.6; color: var(--muted); max-width: 34em; margin-bottom: 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-note { color: var(--muted); font-size: .9rem; margin-top: 14px; }
.cta-note strong { color: var(--ink-2); }

/* hero product mock */
.mock { position: relative; min-height: 560px; }
.mock-card {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-3); padding: 18px; font-size: .88rem;
}
.mock-chat { top: 0; left: 0; right: 64px; }
.mock-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--amber-ghost); color: var(--amber-deep); display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex-shrink: 0; }
.mock-head .who { font-weight: 700; }
.mock-head .when { color: var(--muted); font-size: .78rem; }
.bubble { border-radius: 12px; padding: 10px 14px; margin: 8px 0; line-height: 1.5; max-width: 92%; }
.bubble-in { background: var(--paper); border: 1px solid var(--line); }
.bubble-ai { background: var(--brand-ghost); border: 1px solid #d8dcff; }
.bubble-ai .tag { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 6px; }
.mock-actions { display: flex; gap: 8px; margin-top: 10px; position: relative; z-index: 3; }
.chip-btn { border-radius: 999px; padding: 7px 16px; font-weight: 700; font-size: .82rem; border: 1.5px solid transparent; }
.chip-approve { background: var(--brand); color: #fff; }
.chip-edit { background: var(--surface); border-color: var(--line-2); color: var(--ink-2); box-shadow: var(--shadow-1); }
.mock-cal { right: 0; bottom: 14px; width: 268px; }
.mock-cal .row { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; margin: 4px 0; }
.mock-cal .row.busy { background: var(--red-ghost); color: #9a2015; }
.mock-cal .row.free { background: var(--green-ghost); color: #0a6c4c; font-weight: 700; }
.mock-cal .row .t { font-variant-numeric: tabular-nums; font-size: .82rem; }
.mock-badge {
  left: 8px; bottom: 0; display: flex; gap: 10px; align-items: center; padding: 12px 16px;
}
.mock-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-ghost); }
.mock-badge b { font-size: .85rem; }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .mock { min-height: 520px; max-width: 480px; }
}

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-dark { background: var(--navy); color: #e8ebf4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.kicker { display: block; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.section-dark .kicker { color: var(--amber); }
.section-title { max-width: 640px; margin-bottom: 48px; }
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section-title p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-title p { color: #a8b2c9; }

/* proof strip */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.proof-inner { display: flex; gap: 12px 28px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 18px 0; color: var(--muted); font-size: .92rem; font-weight: 600; }
.proof-inner .sep { color: var(--line-2); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-1); }
.step .n {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-ghost); color: var(--brand-deep); font-weight: 850; font-size: 1.15rem; margin-bottom: 18px;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* bento features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-1); grid-column: span 2;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.tile.wide { grid-column: span 3; }
.tile .ico { font-size: 1.6rem; display: block; margin-bottom: 14px; }
.tile h3 { font-size: 1.12rem; }
.tile p { color: var(--muted); font-size: .97rem; margin: 0; }
.tile.accent { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); border-color: var(--navy); }
.tile.accent h3 { color: #fff; }
.tile.accent p { color: #a8b2c9; }
@media (max-width: 960px) { .tile, .tile.wide { grid-column: span 6; } }

/* stats band */
.stats-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat-big .num { font-size: clamp(2.3rem, 4.5vw, 3.2rem); font-weight: 850; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.stat-big .num .u { color: var(--amber); }
.stat-big .cap { color: #a8b2c9; font-size: .98rem; }
@media (max-width: 720px) { .stats-band { grid-template-columns: 1fr; gap: 20px; } }

/* quote */
.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote blockquote { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 650; line-height: 1.45; letter-spacing: -.015em; margin: 0 0 18px; }
.quote .who { color: var(--muted); font-size: .95rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, #6a4dff 100%); border-radius: 22px;
  padding: clamp(40px, 6vw, 72px); text-align: center; color: #fff; box-shadow: var(--shadow-3);
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.cta-band p { color: #dfe3ff; font-size: 1.12rem; max-width: 34em; margin: 0 auto 28px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-1); }
.plan.popular { border: 2px solid var(--brand); box-shadow: var(--shadow-2); }
.plan .flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; }
.plan h3 { font-size: 1.2rem; }
.plan .tagline { color: var(--muted); font-size: .93rem; min-height: 3em; }
.price { font-size: 2.7rem; font-weight: 850; letter-spacing: -.03em; margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 550; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; }
.plan li { padding: 7px 0 7px 30px; position: relative; color: var(--ink-2); font-size: .95rem; border-bottom: 1px dashed var(--line); }
.plan li:last-child { border-bottom: 0; }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--green); font-weight: 800; }
.faq { max-width: 720px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* prose (legal, how-it-works) */
.prose { max-width: 68ch; margin: 0 auto; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.7rem); }
.prose h2 { margin-top: 2.2em; font-size: 1.35rem; }
.prose p, .prose li { color: var(--ink-2); font-size: 1.05rem; }
.prose ul { padding-left: 24px; }
.prose li { margin: 8px 0; }

/* footer */
.footer { background: var(--navy); color: #a8b2c9; padding: 56px 0 40px; margin-top: 40px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer a { color: #a8b2c9; display: block; padding: 4px 0; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer .brandline { color: #e8ebf4; font-weight: 800; font-size: 1.15rem; margin-bottom: 10px; }
.footer .fine { border-top: 1px solid #263251; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #7c88a3; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- flash messages ---------- */
.flash { padding: 13px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: .96rem; border: 1px solid transparent; }
.flash-success { background: var(--green-ghost); color: #086b52; border-color: #bfe8d8; }
.flash-info { background: var(--brand-ghost); color: var(--brand-deep); border-color: #d8dcff; }
.flash-error { background: var(--red-ghost); color: var(--red); border-color: #f6c9c2; }
.trial-banner { background: var(--brand-ghost); color: var(--brand-deep); text-align: center; padding: 9px; font-size: .92rem; }
.trial-banner a { font-weight: 750; }

/* ---------- auth cards ---------- */
.auth-card { max-width: 440px; margin: 64px auto; padding: 0 20px; }
.auth-card .card { padding: 38px 34px; }
.auth-card h1 { font-size: 1.5rem; text-align: center; }
.auth-card .alt { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 18px; }

/* ---------- generic card ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-1); }
.card h3 { font-size: 1.08rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

/* ---------- app shell ---------- */
.shell { display: flex; min-height: calc(100vh - 72px); }
.sidebar { width: 232px; padding: 26px 0; border-right: 1px solid var(--line); background: var(--surface); flex-shrink: 0; }
.sidebar a { display: block; padding: 10px 26px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.sidebar a:hover { color: var(--ink); text-decoration: none; background: var(--paper); }
.sidebar a.active { color: var(--brand-deep); background: var(--brand-ghost); border-right: 3px solid var(--brand); }
.main { flex: 1; padding: 34px; min-width: 0; }
.page-title { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.page-title h1 { font-size: 1.55rem; }
.page-title .sub { color: var(--muted); font-size: .95rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 30px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-1); }
.stat .num { font-size: 2rem; font-weight: 850; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat .label { color: var(--muted); font-size: .86rem; }
.table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.table tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.pill { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .77rem; font-weight: 700; }
.pill-new { background: var(--brand-ghost); color: var(--brand-deep); }
.pill-active { background: var(--green-ghost); color: var(--green); }
.pill-scheduled { background: var(--green-ghost); color: var(--green); }
.pill-warn { background: var(--amber-ghost); color: var(--amber-deep); }
.pill-muted { background: var(--paper); color: var(--muted); }
.msg { max-width: 75%; padding: 11px 15px; border-radius: 14px; margin: 7px 0; font-size: .96rem; white-space: pre-wrap; }
.msg-in { background: var(--surface); border: 1px solid var(--line); }
.msg-out { background: var(--brand-ghost); margin-left: auto; }
.msg-meta { font-size: .75rem; color: var(--muted); margin-top: 3px; }
.draft { border-left: 3px solid var(--amber); background: var(--amber-ghost); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 12px 0; white-space: pre-wrap; font-size: .96rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
code.inline { background: var(--paper); border: 1px solid var(--line); padding: 3px 9px; border-radius: 6px; font-size: .84rem; word-break: break-all; }

/* ---------- UX components: checklist, inbox, empty states ---------- */
.ai-chip {
  display: inline-flex; align-items: center; gap: 6px; background: var(--surface);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px;
  font-size: .85rem; font-weight: 650; color: var(--muted);
}
.ai-chip.on { background: var(--green-ghost); border-color: #bfe8d8; color: var(--green); }

.checklist { margin-bottom: 24px; padding: 22px 24px; }
.checklist-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.checklist-head h3 { margin: 0; }
.progress { flex: 1; height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #7a5cff); border-radius: 999px; transition: width .4s ease; }
.checklist-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.cl-step {
  display: flex; gap: 12px; align-items: center; padding: 14px; border: 1.5px dashed var(--line-2);
  border-radius: var(--radius-sm); color: var(--ink); background: var(--paper);
}
.cl-step:hover { text-decoration: none; border-color: var(--brand); background: var(--brand-ghost); }
.cl-step small { display: block; color: var(--muted); font-size: .8rem; }
.cl-mark {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--surface); border: 1.5px solid var(--line-2); font-weight: 800; font-size: .9rem; color: var(--muted);
}
.cl-step.done { border-style: solid; border-color: #bfe8d8; background: var(--green-ghost); }
.cl-step.done .cl-mark { background: var(--green); border-color: var(--green); color: #fff; }
.cl-step.done b { color: #086b52; }

.inbox-item { margin-bottom: 16px; padding: 20px 22px; }
.who-line { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.who-line small { color: var(--muted); }
.who-line .pill { margin-left: auto; }
.ai-tag { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 4px; }
.inbox-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.inbox-actions .btn { padding: 10px 20px; }

.empty { text-align: center; padding: 44px 24px; }
.empty-ico { font-size: 2.2rem; display: block; margin-bottom: 8px; }
.empty p { color: var(--muted); margin: 6px auto 14px; max-width: 34em; }

.section-label { display: flex; align-items: baseline; gap: 10px; font-size: 1rem; margin-bottom: 12px; }
.row-line { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dot-k { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex-shrink: 0; }
.dot-new_lead { background: var(--brand); } .dot-new_message { background: var(--green); }
.dot-reply_suggested { background: var(--amber); }

.s-ico { display: inline-block; width: 26px; }

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .shell { flex-direction: column; }
  .sidebar {
    display: flex; width: 100%; padding: 0; border-right: 0; border-bottom: 1px solid var(--line);
    overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
  .sidebar a { white-space: nowrap; padding: 12px 14px; border-right: none; }
  .sidebar a.active { border-right: none; border-bottom: 2.5px solid var(--brand); background: transparent; }
  .s-ico { width: auto; margin-right: 6px; }
  .main { padding: 20px 16px; }
  .nav-links { gap: 14px; }
  .nav-links > a.nav-plain { display: none; }
  .who-line .pill { display: none; }
  .msg { max-width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checklist-steps { grid-template-columns: 1fr; }
  .inbox-actions .btn { flex: 1; justify-content: center; }
}
@media (max-width: 640px) {
  .nav-inner { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 10px 14px; }
  .nav-links { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
  .page-title { gap: 8px; }
}
