/* Wallnut Lux. Phone-first; sidebar from 960px. Wallnut navy for structure and actions, logo gold reserved for the main action and highlights. */
:root {
  --bg: #f4f5f9; --surface: #ffffff; --sunk: #eceef5; --ink: #161a35; --muted: #5a5f7a; --line: #dcdfea;
  --accent: #303c8c; --accent-ink: #ffffff; --accent-soft: #e6e8f5;
  --gold: #ecb014; --gold-ink: #2b2000; --gold-soft: #fbf0cf; --gold-text: #8a6400;
  --hot: #c2410c; --hot-bg: #fdeee5; --warm: #9a6a10; --warm-bg: #fbf2dc; --cold: #31649b; --cold-bg: #e6eef8;
  --good: #2f7a4b; --good-bg: #e3f2e8; --bad: #b42318; --bad-bg: #fbe9e7; --grey-bg: #eceef3;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif; --body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 10px; --shadow: 0 1px 2px rgb(20 24 60 / .06), 0 4px 16px rgb(20 24 60 / .07);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0d0f1f; --surface: #161a33; --sunk: #11142a; --ink: #e8e9f4; --muted: #9ca0bb; --line: #2a2f52;
  --accent: #a9b1ff; --accent-ink: #0d0f1f; --accent-soft: #232864;
  --gold: #f2c23e; --gold-ink: #241a00; --gold-soft: #3a300f; --gold-text: #f2c23e;
  --hot: #ff8a5b; --hot-bg: #3a1f14; --warm: #e8b54e; --warm-bg: #33280f; --cold: #8db7ea; --cold-bg: #18273a;
  --good: #6fcf95; --good-bg: #15301f; --bad: #ff8a80; --bad-bg: #3a1a17; --grey-bg: #222642; --shadow: 0 1px 2px rgb(0 0 0 / .4); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0d0f1f; --surface: #161a33; --sunk: #11142a; --ink: #e8e9f4; --muted: #9ca0bb; --line: #2a2f52;
  --accent: #a9b1ff; --accent-ink: #0d0f1f; --accent-soft: #232864;
  --gold: #f2c23e; --gold-ink: #241a00; --gold-soft: #3a300f; --gold-text: #f2c23e;
  --hot: #ff8a5b; --hot-bg: #3a1f14; --warm: #e8b54e; --warm-bg: #33280f; --cold: #8db7ea; --cold-bg: #18273a;
  --good: #6fcf95; --good-bg: #15301f; --bad: #ff8a80; --bad-bg: #3a1a17; --grey-bg: #222642; --shadow: 0 1px 2px rgb(0 0 0 / .4); color-scheme: dark; }

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body.noscroll { overflow: hidden; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
h1 { font-size: 1.5rem; line-height: 1.2; } h2 { font-size: 1.2rem; } h3 { font-size: 1.02rem; }
a { color: var(--accent); }
p { margin: 0; }
input, select, textarea, button { font: inherit; color: inherit; }
input:not([type=checkbox]), select, textarea { width: 100%; min-width: 0; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; min-height: 44px; }
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.muted { color: var(--muted); } .sm { font-size: .84rem; } .center { text-align: center; } .mono, .code { font-variant-numeric: tabular-nums; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.code { font-size: .78rem; color: var(--muted); background: var(--sunk); padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.row { display: flex; align-items: center; } .vstack { display: flex; flex-direction: column; align-items: flex-end; } .wrap { flex-wrap: wrap; } .gap { gap: 10px; } .gap-sm { gap: 6px; }
.between { justify-content: space-between; } .end { justify-content: flex-end; align-items: flex-end; } .push { margin-left: auto; } .grow { flex: 1; min-width: 0; } .nowrap { white-space: nowrap; }
.mt { margin-top: 16px; } .mt-sm { margin-top: 6px; } .mb { margin-bottom: 12px; } .pad { padding: 10px 12px; }
.dim { opacity: .55; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; cursor: pointer; text-decoration: none; color: var(--ink); white-space: nowrap; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.danger { color: var(--bad); border-color: var(--bad); background: transparent; }
.btn.ghost { background: transparent; }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: .86rem; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: wait; }
.icon-btn { border: 0; background: transparent; width: 40px; height: 40px; border-radius: 8px; cursor: pointer; color: var(--muted); font-size: 1rem; }
.icon-btn:hover { background: var(--sunk); }
.link-btn { border: 0; background: none; color: var(--accent); cursor: pointer; padding: 6px 0; font-weight: 600; }
.link-btn.danger { color: var(--bad); }

/* Shell */
.shell { min-height: 100vh; }
.side { display: none; }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; display: flex; align-items: center; gap: 10px; background: var(--surface); border-bottom: 1px solid var(--line);
  padding-block: 8px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
.top-title { font-family: var(--display); font-size: 1.05rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-user { background: var(--accent-soft); color: var(--accent); font-weight: 700; border-radius: 50%; }
.sync { font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; border: 0; white-space: nowrap; }
.sync.ok { background: var(--good-bg); color: var(--good); } .sync.off, .sync.wait { background: var(--warm-bg); color: var(--warm); cursor: pointer; } .sync.demo { background: var(--grey-bg); color: var(--muted); }
main#content { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
.bottom { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.tab-link { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 6px; font-size: .7rem; color: var(--muted); text-decoration: none; background: none; border: 0; cursor: pointer; }
.tab-link.on { color: var(--accent); font-weight: 700; }
.tab-link.cta svg { background: var(--gold); color: var(--gold-ink); border-radius: 50%; padding: 5px; width: 32px; height: 32px; margin-top: -6px; }
.dot-count { position: absolute; top: 4px; left: calc(50% + 6px); font-style: normal; font-size: .65rem; font-weight: 700; background: var(--bad); color: #fff; border-radius: 99px; padding: 0 5px; line-height: 16px; }
.menu-sheet { position: fixed; z-index: 24; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(0 0 0 / .12);
  padding-block: 14px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: grid; gap: 10px; }
.menu-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.menu-link { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 8px; background: var(--sunk); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.menu-link.on { background: var(--accent-soft); color: var(--accent); }
@media (min-width: 960px) {
  .shell { display: grid; grid-template-columns: 232px 1fr; }
  .side { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; background: var(--surface); border-right: 1px solid var(--line); padding: 18px 12px; gap: 18px; }
  .side-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.05rem; padding: 0 8px; }
  .side nav { display: grid; gap: 2px; }
  .side-link { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 600; }
  .side-link:hover { background: var(--sunk); color: var(--ink); }
  .side-link.on { background: var(--accent-soft); color: var(--accent); }
  .side-link.cta { background: var(--gold); color: var(--gold-ink); margin: 6px 0; }
  .side-link.on { box-shadow: inset 3px 0 0 var(--gold); }
  .side-link .dot-count { position: static; margin-left: auto; }
  .side-foot { margin-top: auto; padding: 8px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); }
  .top, .bottom, .menu-sheet { display: none; }
  main#content { padding-bottom: 40px; }
}
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; inset: 11px 10px 9px; border: 2.5px solid var(--accent-ink); border-top-width: 6px; border-radius: 2px; }
.brand-mark.sm { width: 30px; height: 30px; border-radius: 8px; } .brand-mark.sm::after { inset: 8px 7px 7px; border-width: 2px; border-top-width: 4px; }

/* Page */
.page { max-width: 1120px; margin: 0 auto; padding-block: 18px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; flex-direction: column; gap: 14px; }
.page.narrow { max-width: 760px; } .page.wide { max-width: none; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.count { font-family: var(--body); font-size: .85rem; color: var(--muted); font-weight: 600; background: var(--sunk); padding: 2px 8px; border-radius: 99px; vertical-align: middle; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; min-width: 0; }
.card.inset { background: var(--sunk); border: 0; margin-top: 12px; }
.card-title { margin-bottom: 12px; }
h4.sub { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 14px 0 8px; font-weight: 700; }
.banner { padding: 12px 14px; border-radius: 8px; font-size: .9rem; margin-top: 12px; }
.banner.info { background: var(--accent-soft); } .banner.warn { background: var(--warm-bg); color: var(--ink); border-left: 3px solid var(--warm); }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); } .empty strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 6px; }
.empty-sm { color: var(--muted); font-size: .88rem; padding: 6px 0; }
.hint { color: var(--muted); font-size: .8rem; } .err { color: var(--bad); font-size: .82rem; } .ok { color: var(--good); font-size: .88rem; }

/* Sections (collapsible + draggable) */
.section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.section-head { display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; }
.section-toggle { flex: 1; display: flex; align-items: center; gap: 8px; min-height: 48px; border: 0; background: none; cursor: pointer; text-align: left; padding: 0 6px; min-width: 0; }
.section-title { font-family: var(--display); font-weight: 650; font-size: 1.02rem; }
.section-meta { color: var(--muted); font-size: .82rem; font-weight: 600; }
.chev { display: inline-block; transition: transform .15s; color: var(--muted); font-size: 1.3rem; line-height: 1; width: 14px; }
.section.open .chev { transform: rotate(90deg); }
.section-body { padding: 0 16px 16px; min-width: 0; }
.drag-handle { cursor: grab; color: var(--muted); padding: 8px 4px; letter-spacing: -2px; user-select: none; touch-action: none; font-weight: 700; }
.dash-sections { display: grid; gap: 14px; }

.sortable-ghost { opacity: .35; }
.two { display: grid; gap: 16px; } @media (min-width: 700px) { .two { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label { font-size: .82rem; font-weight: 600; color: var(--muted); }
.req { color: var(--bad); margin-left: 3px; }
.field.has-err input, .field.has-err select, .field.has-err textarea, .field.has-err .chips { border-color: var(--bad); box-shadow: 0 0 0 1px var(--bad); border-radius: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 38px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: .88rem; font-weight: 500; }
.chip.sm { min-height: 32px; padding: 4px 12px; font-size: .82rem; }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.chip.on.tc-hot { background: var(--hot); border-color: var(--hot); color: #fff; } .chip.on.tc-warm { background: var(--warm); border-color: var(--warm); color: #fff; } .chip.on.tc-cold { background: var(--cold); border-color: var(--cold); color: #fff; }
.chip.static { cursor: default; background: var(--sunk); border-color: transparent; font-size: .8rem; min-height: 0; padding: 3px 10px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.money { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.money .pre { color: var(--muted); font-weight: 600; } .money input { flex: 1; min-width: 120px; }
.seg { display: inline-flex; background: var(--sunk); border-radius: 9px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; padding: 7px 12px; border-radius: 7px; cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.seg.full { display: flex; } .seg.full button { flex: 1; white-space: normal; }
.sticky-actions { position: sticky; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); z-index: 5; padding: 10px 0; background: linear-gradient(transparent, var(--bg) 30%); }
@media (min-width: 960px) { .sticky-actions { bottom: 0; } }
.picker { position: relative; }
.picker-list { position: absolute; z-index: 15; left: 0; right: 0; top: calc(100% + 4px); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); max-height: 320px; overflow: auto; }
.picker-item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }
.picker-item:hover { background: var(--sunk); } .picker-item.add { color: var(--accent); font-weight: 600; border-bottom: 0; }
.picked { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--accent); background: var(--accent-soft); border-radius: 8px; }

/* Lists */
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .search { flex: 1; min-width: 200px; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; align-items: center; }
.filter { width: auto !important; min-height: 38px !important; padding: 6px 10px !important; font-size: .86rem; border-radius: 99px !important; flex: none; }
.filter.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.list { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.section .list, .kpi-detail .list { border-radius: 8px; }
.list-item { border-bottom: 1px solid var(--line); } .list-item:last-child { border-bottom: 0; }
.li-main { display: flex; align-items: center; gap: 12px; padding: 12px 14px; width: 100%; text-decoration: none; color: inherit; background: none; border: 0; text-align: left; cursor: pointer; }
a.li-main:hover, button.li-main:hover { background: var(--sunk); }
.lead-row { border-bottom: 1px solid var(--line); } .lead-row:last-child { border-bottom: 0; }
.li-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.li-text .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.li-stats { display: flex; gap: 12px; font-size: .82rem; color: var(--muted); flex: none; } .li-stats b { color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .li-stats { flex-direction: column; gap: 0; align-items: flex-end; } }
.li-detail { padding: 0 14px 14px; }
.badge { display: inline-block; font-size: .74rem; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: var(--grey-bg); color: var(--muted); white-space: nowrap; }
.st-visited { background: var(--accent-soft); color: var(--accent); } .st-followup { background: var(--cold-bg); color: var(--cold); } .st-negotiation { background: var(--warm-bg); color: var(--warm); }
.st-eoireceived { background: var(--good-bg); color: var(--good); } .st-booked { background: var(--good); color: var(--surface); } .st-lost { background: var(--bad-bg); color: var(--bad); } .st-onhold { background: var(--grey-bg); color: var(--muted); }
.temp { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 700; }
.temp i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.t-hot { color: var(--hot); } .t-hot i { background: var(--hot); } .t-warm { color: var(--warm); } .t-warm i { background: var(--warm); } .t-cold { color: var(--cold); } .t-cold i { background: var(--cold); }
.fu { font-size: .76rem; color: var(--muted); white-space: nowrap; } .fu.over { color: var(--bad); font-weight: 700; } .fu.today { color: var(--warm); font-weight: 700; } .fu.none { color: var(--muted); font-style: italic; }

/* Tables */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tbl th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl.num td:not(:first-child), .tbl.num th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.tbl td.neg { color: var(--bad); font-weight: 700; }
.tbl tr.click { cursor: pointer; } .tbl tr.click:hover td { background: var(--sunk); }

/* Lead page */
.lead-head h1 { font-size: 1.45rem; }
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 14px; }
@media (max-width: 420px) { .actions { grid-template-columns: 1fr 1fr; } .actions .btn.primary { grid-column: 1 / -1; } }
.next-step .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.next-step .big { font-family: var(--display); font-size: 1.2rem; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.kvs { display: grid; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 560px) { .kvs { grid-template-columns: 1fr 1fr; column-gap: 20px; } }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); min-width: 0; }
.kv dt { color: var(--muted); font-size: .84rem; } .kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 14px; }
.timeline li { position: relative; } .timeline li::before { content: ""; position: absolute; left: -20px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.tl-head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.tl-kind { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.tl-kind.k-stagechange { color: var(--good); } .tl-kind.k-sitevisit { color: var(--warm); }
.timeline p { margin-top: 2px; white-space: pre-wrap; overflow-wrap: anywhere; }
.meter { height: 6px; background: var(--sunk); border-radius: 99px; overflow: hidden; margin-bottom: 10px; } .meter span { display: block; height: 100%; background: var(--accent); }

/* Dashboard */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .kpis { grid-template-columns: repeat(3, 1fr); } } @media (min-width: 1000px) { .kpis { grid-template-columns: repeat(6, 1fr); } }
.kpi { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); cursor: pointer; text-align: left; min-width: 0; }
.kpi:hover { border-color: var(--muted); } .kpi.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.kpi.alert .kpi-num { color: var(--bad); }
.kpi-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.kpi-num { font-family: var(--display); font-size: 2rem; font-weight: 650; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-sub { font-size: .8rem; color: var(--muted); min-height: 1.2em; }
.bars { display: grid; gap: 4px; }
.bar-row { display: grid; grid-template-columns: minmax(90px, 38%) 1fr auto; align-items: center; gap: 10px; padding: 5px 4px; border: 0; background: none; text-align: left; border-radius: 6px; cursor: pointer; }
.bar-row:hover:not(:disabled) { background: var(--sunk); } .bar-row:disabled { cursor: default; }
.bar-label { font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 12px; background: var(--sunk); border-radius: 0 4px 4px 0; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--accent); border-radius: 0 4px 4px 0; }
.bar-val { font-variant-numeric: tabular-nums; font-weight: 700; font-size: .88rem; text-align: right; min-width: 64px; } .bar-val small { color: var(--muted); font-weight: 500; margin-left: 6px; }
.trend { padding-top: 6px; }
.trend-plot { position: relative; height: 150px; display: flex; align-items: flex-end; padding-left: 26px; border-bottom: 1px solid var(--line); }
.trend-grid { position: absolute; left: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-between; font-size: .7rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.trend-col { height: 100%; display: flex; align-items: flex-end; justify-content: center; padding: 0 1px; cursor: default; }
.trend-bar { width: 100%; max-width: 22px; min-height: 1px; background: var(--accent); border-radius: 4px 4px 0 0; opacity: .85; }
.trend-col.hl .trend-bar { opacity: 1; box-shadow: 0 0 0 2px var(--accent-soft); }
.trend-axis { display: flex; padding-left: 26px; } .trend-axis span { font-size: .68rem; color: var(--muted); text-align: left; white-space: nowrap; overflow: visible; }
.tip { position: absolute; top: -4px; transform: translateX(-50%); background: var(--ink); color: var(--bg); font-size: .76rem; padding: 4px 8px; border-radius: 6px; pointer-events: none; white-space: nowrap; }

/* Pipeline board */
.board { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; align-items: flex-start; scroll-snap-type: x proximity; }
.col { flex: 0 0 264px; background: var(--sunk); border-radius: var(--r); padding: 10px; scroll-snap-align: start; }
.col-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.col-cards { display: flex; flex-direction: column; gap: 8px; min-height: 80px; }
.kcard { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; cursor: grab; display: flex; flex-direction: column; gap: 2px; touch-action: manipulation; }
.kcard a { color: var(--ink); text-decoration: none; } .kcard a:hover { text-decoration: underline; }
.ghost-card { opacity: .4; }

/* Admin */
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.tab { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; }
.tab.on { color: var(--accent); border-color: var(--accent); }
.mlist { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.mlist li { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-bottom: 1px solid var(--line); } .mlist li:last-child { border-bottom: 0; }
.lists-admin { display: grid; gap: 10px; max-width: 640px; }

/* Modal sheet */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgb(10 16 14 / .45); display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--surface); width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom, 0px); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.sheet-body { padding: 16px; overflow-y: auto; }
@media (min-width: 640px) { .scrim { align-items: center; padding: 24px; } .sheet { max-width: 640px; border-radius: 14px; } .sheet.small { max-width: 420px; } .sheet.wide { max-width: 900px; } }
.toast { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(80px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.toast.err { background: var(--bad); color: #fff; }

/* Login */
.login { min-height: 100vh; display: grid; place-items: center; padding-block: 24px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.login-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px 22px; display: grid; gap: 14px; }
.who { display: grid; gap: 8px; }
.who-btn { display: flex; flex-direction: column; align-items: flex-start; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; text-align: left; }
.who-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.spinner { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Reports */
.report-head .eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 700; }
.report-head h2 { font-size: 1.5rem; }
.summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 700px) { .summary-grid { grid-template-columns: repeat(4, 1fr); } }
.summary-grid > div { background: var(--surface); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; } .summary-grid b { font-family: var(--display); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.wa { white-space: pre-wrap; font-family: var(--body); font-size: .88rem; background: var(--sunk); padding: 12px; border-radius: 8px; margin: 0; user-select: all; }
@media print {
  .side, .top, .bottom, .no-print, .menu-sheet, .section-toggle .chev { display: none !important; }
  body { background: #fff; color: #000; } .shell { display: block; } .page { max-width: none; padding: 0; }
  .section, .card { break-inside: avoid; border-color: #ccc; } .section-body { display: block !important; }
}

/* ---------- Sourcing ---------- */
.rating { display: inline-block; font-size: .72rem; font-weight: 800; padding: 1px 7px; border-radius: 5px; letter-spacing: .02em; font-variant-numeric: tabular-nums; vertical-align: middle; }
.rating.r-p0 { background: var(--accent); color: var(--accent-ink); } .rating.r-p1 { background: color-mix(in srgb, var(--accent) 70%, var(--surface)); color: var(--accent-ink); }
.rating.r-p2 { background: var(--accent-soft); color: var(--accent); } .rating.r-p3 { background: var(--grey-bg); color: var(--ink); }
.rating.r-p4, .rating.r-p5 { background: var(--grey-bg); color: var(--muted); } .rating.none { background: transparent; color: var(--muted); border: 1px dashed var(--line); font-weight: 600; }
.chip.rchip { min-width: 0; padding: 6px 11px; font-weight: 700; }
.bs-new { background: var(--grey-bg); color: var(--muted); } .bs-contacted { background: var(--cold-bg); color: var(--cold); } .bs-met { background: var(--accent-soft); color: var(--accent); }
.bs-activated { background: var(--warm-bg); color: var(--warm); } .bs-productive { background: var(--good-bg); color: var(--good); } .bs-dormant { background: var(--bad-bg); color: var(--bad); }
.ms-scheduled { background: var(--cold-bg); color: var(--cold); } .ms-done { background: var(--good-bg); color: var(--good); } .ms-cancelled { background: var(--grey-bg); color: var(--muted); } .ms-due { background: var(--bad); color: #fff; }
.badge.sent-positive, .asp.sent-positive { background: var(--good-bg); color: var(--good); } .badge.sent-neutral, .asp.sent-neutral { background: var(--grey-bg); color: var(--muted); } .badge.sent-negative, .asp.sent-negative { background: var(--bad-bg); color: var(--bad); }
.chip.on.sent-positive { background: var(--good); border-color: var(--good); color: var(--surface); } .chip.on.sent-negative { background: var(--bad); border-color: var(--bad); color: #fff; } .chip.on.sent-neutral { background: var(--muted); border-color: var(--muted); color: var(--surface); }
.asp { display: inline-block; font-size: .76rem; font-weight: 600; padding: 1px 8px; border-radius: 99px; margin: 0 6px 4px 0; }
.mlog { display: grid; gap: 10px; }
.mitem { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: grid; gap: 3px; background: var(--surface); min-width: 0; }
.mitem.due { border-color: var(--bad); box-shadow: inset 3px 0 0 var(--bad); }
.mnotes { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .9rem; margin-top: 4px; }
.aspects { display: grid; gap: 6px; }
.aspect-row { display: grid; grid-template-columns: minmax(110px, 30%) 1fr; gap: 8px; align-items: center; }
@media (max-width: 480px) { .aspect-row { grid-template-columns: 1fr; gap: 2px; } }
.contacts { display: grid; gap: 8px; } .contact-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 6px; align-items: center; }
@media (max-width: 560px) { .contact-row { grid-template-columns: 1fr 1fr; } .contact-row input:nth-child(3) { grid-column: 1; } }
.bulkbar { position: sticky; top: calc(56px + env(safe-area-inset-top, 0px)); z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; background: var(--accent-soft); border: 1px solid var(--accent); border-radius: var(--r); }
@media (min-width: 960px) { .bulkbar { top: 8px; } }
.brow { display: flex; align-items: center; } .brow .rowcheck, .selall input { width: 20px; height: 20px; margin-left: 14px; accent-color: var(--accent); flex: none; }
.selall { padding: 8px 0; background: var(--sunk); }
.map-grid { display: grid; grid-template-columns: minmax(140px, 40%) 1fr; gap: 8px 12px; align-items: center; }
.mgr-pick { display: grid; gap: 8px; } .pct { width: 80px !important; min-height: 36px !important; padding: 4px 8px !important; }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat-strip > div { flex: 1 1 18%; min-width: 90px; background: var(--surface); padding: 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; } .stat-strip b { font-family: var(--display); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.stat-strip span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.label { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; display: block; margin-bottom: 6px; }
.kpi.static { cursor: default; } .kpi.static:hover { border-color: var(--line); }
.today-card .card-title { margin-bottom: 8px; }
.tabs button.tab { background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 600; }
.tabs button.tab.on { border-bottom-color: var(--accent); }

.topics { display: grid; gap: 14px; } @media (min-width: 700px) { .topics { grid-template-columns: 1fr 1fr; } }
.topic { display: grid; gap: 4px; }
.opts-in { font-size: .84rem !important; min-height: 36px !important; padding: 4px 8px !important; }
@media (max-width: 640px) { .mlist li { flex-wrap: wrap; } .mlist li .grow { flex-basis: 60%; } }
.stack { display: flex; flex-direction: column; gap: 14px; }
.today-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.today-tile { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 8px; background: var(--sunk); color: var(--ink); text-decoration: none; }
.today-tile:hover { background: var(--accent-soft); } .today-tile b { font-family: var(--display); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.neg { color: var(--bad); font-weight: 700; }

/* ---------- Brand ---------- */
.brand-img { display: block; height: auto; }
.logo-light { display: block; } .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
:root[data-theme="dark"] .logo-light { display: none; } :root[data-theme="dark"] .logo-dark { display: block; }
.login-logo { width: 190px; max-width: 70%; margin: 0 auto; }
.login-card h1 { text-align: center; font-size: 1.5rem; } .login-card .tagline { text-align: center; color: var(--muted); font-size: .85rem; letter-spacing: .04em; margin-top: -8px; }
.mark { width: 34px; height: auto; flex: none; } .mark.sm { width: 26px; }
.brand-lock { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-lock .bn { font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.1; white-space: nowrap; }
.brand-lock .bt { font-size: .68rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.btn.gold { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.print-brand { display: none; } @media print { .print-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .print-brand img { width: 120px; } }

/* ---------- Round 3 ---------- */
.eyebrow { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-text); font-weight: 700; }
a.plain { color: inherit; text-decoration: none; } a.plain:hover { text-decoration: underline; }
.btn.gold { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.st-qualified { background: var(--grey-bg); color: var(--ink); } .st-visitscheduled { background: var(--cold-bg); color: var(--cold); }
.t-booked { color: var(--good); } .t-booked i { background: var(--good); } .t-lost { color: var(--bad); } .t-lost i { background: var(--bad); }
.chip.tc-booked.on { background: var(--good); border-color: var(--good); color: var(--surface); } .chip.tc-lost.on { background: var(--bad); border-color: var(--bad); color: var(--surface); }
.es-new { background: var(--accent-soft); color: var(--accent); } .es-contacted { background: var(--cold-bg); color: var(--cold); } .es-notreachable { background: var(--warm-bg); color: var(--warm); }
.es-qualified { background: var(--good-bg); color: var(--good); } .es-unqualified { background: var(--bad-bg); color: var(--bad); }
.stat-strip > .stat { flex: 1 1 18%; min-width: 90px; background: var(--surface); padding: 10px; display: flex; flex-direction: column; gap: 2px; border: 0; cursor: pointer; text-align: left; }
.stat-strip > .stat.on { background: var(--accent-soft); } .stat-strip > .stat b { font-family: var(--display); font-size: 1.05rem; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; background: var(--sunk); border: 1px solid var(--line); white-space: nowrap; }
.stub { padding: 10px 14px; border-style: dashed; }
.opp-card { padding: 0; overflow: hidden; } .opp-head { width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: none; border: 0; cursor: pointer; text-align: left; }
.opp-head .chev { transition: transform .15s; } .opp-card.open .opp-head .chev { transform: rotate(90deg); } .opp-body { padding: 0 16px 16px; }
/* audit */
.tl-kind.k-insert { color: var(--good); } .tl-kind.k-update { color: var(--accent); } .tl-kind.k-delete { color: var(--bad); } .timeline.audit p { color: var(--muted); }
/* search */
.gsearch { position: relative; flex: 1; max-width: 420px; min-width: 0; } .gsearch input { min-height: 38px; padding: 6px 12px; border-radius: 99px; background: var(--sunk); }
.gs-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 280px; max-height: 70vh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); z-index: 40; }
.gs-group { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 12px 2px; }
.gs-item { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 8px 12px; border: 0; background: none; text-align: left; cursor: pointer; }
.gs-item.on, .gs-item:hover { background: var(--accent-soft); }
@media (max-width: 600px) { .top { flex-wrap: wrap; } .gsearch { order: 5; flex-basis: 100%; max-width: none; } .top-title .bt { display: none; } }
/* meeting stepper + location */
.stepper { list-style: none; display: flex; gap: 4px; padding: 0; margin: 0 0 12px; overflow-x: auto; }
.stepper li { flex: 1; min-width: 0; } .stepper button { width: 100%; border: 0; background: var(--sunk); padding: 8px 4px; border-radius: 8px; font-size: .74rem; font-weight: 600; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; }
.stepper span { width: 22px; height: 22px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-size: .72rem; }
.stepper li.on button { background: var(--accent-soft); color: var(--accent); } .stepper li.on span { background: var(--accent); color: var(--accent-ink); }
.stepper li.done span { background: var(--good); color: var(--surface); } .stepper button:disabled { cursor: default; }
.loc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; background: var(--sunk); font-size: .84rem; margin-bottom: 8px; }
.loc.ok { background: var(--good-bg); color: var(--good); } .loc.bad { background: var(--bad-bg); color: var(--bad); }
.flag { font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: 99px; margin-top: 4px; } .f-pos { background: var(--good-bg); color: var(--good); } .f-warn { background: var(--warm-bg); color: var(--warm); } .f-neg { background: var(--bad-bg); color: var(--bad); } .f-muted { background: var(--grey-bg); color: var(--muted); }
.track { display: grid; gap: 6px; } .track-row { display: grid; grid-template-columns: 2fr 2fr 1fr 1fr 1fr auto; gap: 6px; } @media (max-width: 560px) { .track-row { grid-template-columns: 1fr 1fr; } }
.eng { padding: 10px 0; border-bottom: 1px solid var(--line); } .eng:last-child { border-bottom: 0; } .eng.stub { border-style: dashed; }
/* snapshot / dashboard */
.snapshot { display: grid; gap: 14px; margin-bottom: 14px; } .snap-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.snap-block .sub { margin-top: 0; } .delta { font-size: .72rem; font-weight: 700; color: var(--muted); font-family: var(--body); } .delta.up { color: var(--good); } .delta.down { color: var(--bad); }
.stack-bar { display: flex; height: 34px; border-radius: 8px; overflow: hidden; gap: 2px; margin: 6px 0; } .stack-bar a { display: flex; align-items: center; justify-content: center; font-size: .74rem; font-weight: 700; color: #fff; text-decoration: none; min-width: 34px; white-space: nowrap; overflow: hidden; }
.sb-hot { background: var(--hot); } .sb-warm { background: var(--warm); } .sb-cold { background: var(--cold); } .sb-booked { background: var(--good); } .sb-lost { background: var(--bad); }
.funnel { display: grid; gap: 6px; } .f-row { display: grid; grid-template-columns: minmax(110px, 30%) 1fr 48px; align-items: center; gap: 8px; } .f-row b { text-align: right; font-variant-numeric: tabular-nums; }
.mini-funnel { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border-radius: 8px; overflow: hidden; margin-top: 8px; }
.mini-funnel > div { flex: 1 1 60px; background: var(--sunk); padding: 6px 8px; display: flex; flex-direction: column; } .mini-funnel b { font-family: var(--display); } .mini-funnel span { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.cards { display: grid; gap: 12px; } @media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.launch-card { display: block; text-decoration: none; color: inherit; } .launch-card:hover { border-color: var(--accent); }
.ph-prelaunch { background: var(--grey-bg); } .ph-jbp { background: var(--accent-soft); color: var(--accent); } .ph-cpmeet { background: var(--gold-soft); color: var(--gold-text); } .ph-launched { background: var(--good-bg); color: var(--good); } .ph-closed { background: var(--grey-bg); color: var(--muted); }
.desk-only { display: none; } @media (min-width: 900px) { .desk-only { display: block; } .mob-only { display: none; } }
.cell-sel { min-height: 34px !important; padding: 4px 8px !important; font-size: .82rem; width: auto !important; }
.tbl.roster td { vertical-align: middle; } .rcard { display: block; padding: 12px; }
.att { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; } .att.on { background: var(--good-bg); }
.search.big { min-height: 50px; font-size: 1.05rem; } .pct { width: 74px !important; }
td.pos, .pos { color: var(--good); }
/* competition + media */
.comp-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; } .comp-card.base { border: 2px solid var(--gold); } .comp-card.picked { outline: 2px solid var(--accent); }
.comp-hero img, .comp-hero .img-ph { width: 100%; height: 150px; object-fit: cover; display: block; } .comp-body { padding: 12px 14px; display: grid; gap: 3px; }
.img-ph { background: repeating-linear-gradient(45deg, var(--sunk), var(--sunk) 8px, var(--grey-bg) 8px, var(--grey-bg) 16px); min-height: 80px; }
.updated { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: .74rem; } .updated .stale { color: var(--warm); font-weight: 700; }
.hero-img { width: calc(100% + 32px); margin: -16px -16px 10px; height: 220px; object-fit: cover; display: block; border-radius: var(--r) var(--r) 0 0; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; } .thumb { margin: 0; } .thumb img, .thumb .img-ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); cursor: zoom-in; display: block; }
.thumb figcaption { margin-top: 4px; }
.viewer { position: fixed; inset: 0; z-index: 90; background: rgb(8 10 24 / .96); color: #fff; display: flex; flex-direction: column; }
.viewer-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; } .viewer-bar .icon-btn { color: #fff; font-size: 1.3rem; }
.viewer-stage { flex: 1; overflow: auto; touch-action: pinch-zoom pan-x pan-y; display: flex; justify-content: center; align-items: flex-start; }
.viewer-img { max-width: 100%; max-height: calc(100vh - 120px); display: block; margin: 0 auto; background: #fff; } .viewer-cap { padding: 6px 14px; color: #ccd; } .viewer-nav { display: flex; justify-content: space-between; padding: 8px 12px; } .viewer-nav .btn { color: #fff; }
.media-label { display: grid; gap: 10px; margin-top: 12px; max-height: 55vh; overflow: auto; } .ml-item { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: start; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.ml-item img { width: 110px; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; background: #fff; } .ml-item .vstack { align-items: stretch; }
.cmp { display: grid; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.cmp-row { display: grid; grid-template-columns: 160px repeat(var(--n), minmax(170px, 1fr)); border-bottom: 1px solid var(--line); min-width: calc(160px + var(--n) * 170px); } .cmp-row:last-child { border-bottom: 0; }
.cmp-label { padding: 8px 10px; font-size: .8rem; color: var(--muted); font-weight: 600; position: sticky; left: 0; background: var(--surface); }
.cmp-cell { padding: 8px 10px; font-size: .86rem; border-left: 1px solid var(--line); } .cmp-cell.base { background: var(--gold-soft); } .cmp-head .cmp-cell { display: grid; gap: 4px; align-content: start; }
.cmp-hero { width: 100%; height: 110px; object-fit: cover; border-radius: 6px; display: block; } .cmp-cell .thumb { margin-bottom: 8px; }
.rows-ed input, .rows-ed select { min-height: 36px; padding: 4px 8px; }
.conf-high { background: var(--good-bg); color: var(--good); } .conf-medium { background: var(--warm-bg); color: var(--warm); } .conf-low { background: var(--bad-bg); color: var(--bad); }
tr.hl td { background: var(--accent-soft); }
.brand-lock { text-decoration: none; color: var(--ink); } .brand-lock > span { display: flex; flex-direction: column; min-width: 0; } .brand-lock .bn { color: var(--accent); }
.top .brand-lock .mark { width: 28px; } .top-title { flex: 0 1 auto; }
@media (min-width: 960px) { .top-title { display: none; } }
.side .gsearch { flex: none; max-width: none; } .side .gs-list { width: 380px; } .side nav { overflow-y: auto; min-height: 0; }
.login-logo { display: block; } .login-logo img { width: 100%; height: auto; margin: 0 auto; }
.tagline { text-align: center; color: var(--muted); font-size: .84rem; margin: 6px 0 14px; letter-spacing: .02em; }
.opp-head b { flex: 1; min-width: 0; } .opp-head .muted { white-space: nowrap; }
.comp-hero .img-ph { height: 64px; min-height: 0; }

/* ---------- Round 4 · phase 1: approvals, people, projects, masking ---------- */
.req-list { display: grid; gap: 12px; margin-top: 12px; }
.card.req { display: grid; gap: 6px; border-left: 3px solid var(--line); }
.card.req.pending { border-left-color: var(--gold); } .card.req.approved { border-left-color: var(--good); } .card.req.rejected { border-left-color: var(--bad); }
.req-sum { font-weight: 600; } .req-ch { margin: 0; padding-left: 18px; }
.req-act { display: grid; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.badge.rq-pending { background: var(--gold-soft); color: var(--gold-text); } .badge.rq-approved { background: var(--good-bg); color: var(--good); }
.badge.rq-rejected { background: var(--bad-bg); color: var(--bad); } .badge.rq-returned { background: var(--warm-bg); color: var(--warm); }
.badge.warn { background: var(--warm-bg); color: var(--warm); }
.danger-text { color: var(--bad); }
.masked { color: var(--muted); letter-spacing: .04em; }
.tab .count { font-style: normal; background: var(--gold); color: var(--gold-ink); border-radius: 99px; padding: 0 7px; font-size: .74rem; margin-left: 4px; }
.role-list { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 8px; }
.role-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; background: var(--sunk); border-radius: 8px; }
.role-list.past li { background: none; padding: 2px 0; }
.org { display: grid; gap: 12px; }
.org-tree, .org-tree ul { list-style: none; margin: 0; padding-left: 0; }
.org-tree ul { padding-left: 18px; border-left: 1px solid var(--line); margin-left: 6px; }
.org-tree li { padding: 4px 0; } .org-n { display: inline-block; padding: 3px 8px; border-radius: 6px; background: var(--sunk); }
.cfg-tbl { display: grid; gap: 8px; margin: 8px 0; }
.cfg-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; align-items: center; padding: 8px; background: var(--sunk); border-radius: 8px; }
.cfg-row .cfg-name { grid-column: 1; } .cfg-row .icon-btn { grid-column: 2; grid-row: 1; }
.cfg-pair { grid-column: 1 / -1; display: grid; grid-template-columns: 52px 1fr 1fr; gap: 6px; align-items: center; } .cfg-pair small { color: var(--muted); }
@media (min-width: 760px) { .cfg-row { grid-template-columns: 1.3fr 1.2fr 1.2fr auto; } .cfg-pair { grid-column: auto; } .cfg-row .icon-btn { grid-column: 4; } }
.mb-sm { margin-bottom: 6px; }

/* ---------- Round 5 · phase 2: front of house, bell, campaigns, dictation ---------- */
.banner.ok { background: var(--good-bg); color: var(--ink); font-size: .9rem; border-left: 3px solid var(--good); }
.ta-wrap { position: relative; } .ta-wrap textarea { padding-right: 46px; }
.mic { position: absolute; right: 6px; top: 6px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.mic-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.mic.on .mic-btn { background: var(--bad); border-color: var(--bad); color: #fff; animation: micpulse 1.4s ease-in-out infinite; }
@keyframes micpulse { 50% { box-shadow: 0 0 0 6px rgb(180 35 24 / .18); } }
@media (prefers-reduced-motion: reduce) { .mic.on .mic-btn { animation: none; } }
.mic-lang { width: auto; min-height: 30px; padding: 2px 6px; font-size: .78rem; }
.mic-live { max-width: 220px; font-size: .75rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }
.bell-wrap { position: relative; margin-left: auto; } .side-brand .bell-wrap { margin-left: auto; }
.bell { position: relative; } .bell .dot-count { top: 2px; left: 22px; }
.bell-pop { position: absolute; right: 0; top: 44px; z-index: 40; width: min(360px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px; }
.side .bell-pop { left: 0; right: auto; }
.bell-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.bell-item { width: 100%; text-align: left; display: grid; gap: 2px; padding: 8px 10px; border: 0; border-radius: 8px; background: none; cursor: pointer; color: var(--ink); }
.bell-item:hover { background: var(--sunk); } .bell-item.new { background: var(--accent-soft); }
.front-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 12px 0; }
.front-card { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--gold-soft); color: var(--ink); text-decoration: none; border: 1px solid var(--line); }
.front-card b { font-family: var(--display); font-size: 1.6rem; color: var(--gold-text); } .front-card.alert { background: var(--bad-bg); } .front-card.alert b { color: var(--bad); }
.today-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.today-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; background: var(--sunk); border-radius: 8px; }
.checkin-done { padding: 28px 16px; } .center-row { justify-content: center; }
.tablet { min-height: 100vh; background: var(--bg); display: grid; place-items: start center; padding: 24px 16px; }
.tablet-card { width: min(640px, 100%); background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 24px 20px; }
.tablet-card h1 { font-size: 1.8rem; margin-bottom: 6px; }
.badge.cs-live { background: var(--good-bg); color: var(--good); } .badge.cs-planned { background: var(--accent-soft); color: var(--accent); } .badge.cs-cancelled { background: var(--bad-bg); color: var(--bad); }
.badge.pr-active { background: var(--gold-soft); color: var(--gold-text); } .badge.pr-visited { background: var(--good-bg); color: var(--good); } .badge.pr-visited_other, .badge.pr-expired { background: var(--grey-bg); color: var(--muted); }
.bar-track.mini { display: block; height: 4px; margin-top: 6px; max-width: 180px; }
.tgt { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; align-items: center; margin: 6px 0; } .bar-fill.done { background: var(--good); }
.pick-row { width: 100%; text-align: left; border: 1px solid var(--line); background: var(--surface); cursor: pointer; } .pick-row.on { border-color: var(--accent); background: var(--accent-soft); }
.co-list select { width: auto; }
.camp-tbl td:first-child, .camp-tbl th:first-child { min-width: 200px; }

/* =====================================================================
   F30 · design refresh: one visual language for every screen (same fonts and colours as the dashboard options).
   ===================================================================== */
:root { --r: 12px; --line-soft: #eceef5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --line-soft: #222748; } }
:root[data-theme="dark"] { --line-soft: #222748; }
body { font-size: 15px; letter-spacing: -.003em; }
h1 { font-size: 1.6rem; } @media (min-width: 960px) { h1 { font-size: 1.85rem; } }
h2 { font-size: 1.15rem; }
.page { max-width: 1280px; gap: 16px; padding-block: 22px 28px; } @media (min-width: 960px) { .page { padding-inline: 32px; } }
.page.narrow { max-width: 800px; }
.page-head { align-items: flex-end; margin-bottom: 2px; }
.page-head .eyebrow, .dash-head .eyebrow { color: var(--muted); letter-spacing: .06em; margin-bottom: 4px; }
.card { padding: 18px; border-radius: var(--r); }
.card-title { font-size: 1.1rem; }
.section { border-radius: var(--r); } .section-title { font-size: 1.08rem; } .section-body { padding: 0 18px 18px; }
.list { border-radius: var(--r); } .li-main:hover { background: var(--sunk); }
.btn { border-radius: 9px; transition: background .15s, border-color .15s; } .btn.primary:hover { background: #26307a; border-color: #26307a; }
.chip { transition: background .15s; }
.badge { border-radius: 6px; padding: 2px 8px; }
.tabs { border-bottom: 1px solid var(--line); gap: 2px; }
.tab, .tabs button.tab { border-bottom: 0 !important; box-shadow: none; padding: 11px 14px; color: var(--muted); }
.tab.on, .tabs button.tab.on { color: var(--accent); font-weight: 700; box-shadow: inset 0 -3px 0 var(--gold); }
.tabs.flat { border-bottom: 0; }
.tbl th { padding: 10px 8px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 11px 8px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.tbl .wide-col { min-width: 150px; }
.kpi { border-radius: var(--r); padding: 16px; } .kpi-num { font-size: 2.1rem; }
.bar-track { height: 10px; border-radius: 0 4px 4px 0; } .bar-fill { border-radius: 0 4px 4px 0; }
.side { width: 240px; } .side-link { font-size: .93rem; }
input:not([type=checkbox]), select, textarea { border-radius: 9px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.empty { padding: 56px 16px; }

/* ---------- dashboard layout ---------- */
.dash { gap: 18px; }
.dash-head { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: flex-end; }
.dash-head h1 { margin-top: 2px; }
.dash-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dgrid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .dgrid.g-7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .dgrid.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dgrid.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px 20px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.panel-head h2 { margin: 0; font-size: 1.1rem; } .panel-head.wrap { align-items: center; }
.panel > p { margin: 0; }

/* action strip */
.acts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.act { display: flex; gap: 12px; align-items: center; padding: 13px 16px; border-radius: var(--r); text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); font-size: .9rem; line-height: 1.35; }
.act b { font-family: var(--display); font-size: 1.7rem; font-weight: 650; color: var(--accent); }
.act.red { background: var(--bad-bg); border-color: transparent; } .act.red b { color: var(--bad); }
.act.amber { background: var(--warm-bg); border-color: transparent; } .act.amber b { color: var(--gold-text); }
.act:hover { border-color: var(--muted); }

/* headline: hero + stat tiles */
.headline { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .headline { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.hero { background: #1f2766; color: #fff; border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; justify-content: center; }
.hero-label { font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 700; color: #c9cdea; }
.hero-num { font-family: var(--display); font-weight: 650; font-size: 2.9rem; line-height: 1.05; }
.hero-sub { color: #e3e5f3; font-size: .9rem; } .hero-foot { margin-top: 8px; padding-top: 10px; border-top: 1px solid #3a448f; font-size: .9rem; color: #e3e5f3; } .hero-foot b { color: var(--gold); font-size: 1.05rem; }
.hero:hover { background: #26307a; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .stats, .stats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-align: left; color: var(--ink); text-decoration: none; font: inherit; min-width: 0; }
button.stat, a.stat { cursor: pointer; } button.stat:hover, a.stat:hover { border-color: var(--muted); } .stat.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.st-label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.st-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.st-num { font-family: var(--display); font-weight: 650; font-size: 2.2rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat.alert .st-num { color: var(--bad); }
.st-delta { font-size: .78rem; font-weight: 700; } .st-delta.up { color: var(--good); } .st-delta.down { color: var(--bad); }
.st-sub { font-size: .8rem; color: var(--muted); }
.spark { width: 100%; height: 28px; margin-top: 4px; } .spark polyline { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; } .spark circle { fill: var(--accent); }

/* funnel */
.fun { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fun-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 56px; gap: 12px; align-items: center; width: 100%; border: 0; background: none; padding: 2px 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.fun-row:disabled { cursor: default; } .fun-row:hover:not(:disabled) .fun-label { color: var(--accent); }
.fun-label { font-weight: 600; font-size: .9rem; } .fun-track { height: 28px; background: var(--sunk); border-radius: 0 6px 6px 0; } .fun-fill { display: block; height: 100%; border-radius: 0 6px 6px 0; }
.fun-n { font-family: var(--display); font-size: 1.15rem; text-align: right; font-variant-numeric: tabular-nums; }
.fun-note { display: block; margin-left: 108px; font-size: .75rem; color: var(--muted); }

/* line chart */
.linec { position: relative; } .linec svg { width: 100%; height: auto; display: block; overflow: visible; }
.linec .grid { stroke: var(--line-soft); } .linec .axis { font-size: 11px; fill: var(--muted); font-family: var(--body); }
.linec .l-now { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; } .linec .l-before { fill: none; stroke: #a9adc2; stroke-width: 2; stroke-dasharray: 4 3; }
.linec .dot { fill: var(--accent); stroke: var(--surface); stroke-width: 2; } .linec .cross { stroke: var(--muted); stroke-dasharray: 3 3; } .linec .hit { fill: transparent; cursor: crosshair; }
.linec-key { display: flex; gap: 14px; font-size: .78rem; color: var(--muted); margin-bottom: 4px; } .linec-key i { display: inline-block; width: 16px; height: 0; vertical-align: middle; margin-right: 6px; }
.k-now { border-top: 2.5px solid var(--accent); } .k-before { border-top: 2px dashed #a9adc2; }
.linec-tip { position: absolute; top: 18px; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 8px; padding: 6px 10px; font-size: .78rem; display: grid; gap: 2px; pointer-events: none; white-space: nowrap; }

/* heatmap */
.heat { display: grid; gap: 4px; align-items: center; font-size: .72rem; }
.heat-col { text-align: center; color: var(--muted); } .heat-row { color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.heat-cell { height: 28px; border-radius: 5px; display: grid; place-items: center; font-weight: 700; color: var(--ink); font-size: .72rem; } .heat-cell.dark { color: #fff; }
.heat-tip { margin: 2px 0 0; }

/* horizontal bars */
.hbars { display: grid; gap: 2px; }
.hb-row { display: grid; grid-template-columns: minmax(80px, 40%) minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 5px 4px; border: 0; background: none; font: inherit; color: inherit; text-align: left; border-radius: 6px; cursor: pointer; }
.hb-row:disabled { cursor: default; } .hb-row:hover:not(:disabled) { background: var(--sunk); }
.hb-label { font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hb-track { height: 10px; background: var(--sunk); border-radius: 0 4px 4px 0; }
.hb-fill { display: block; height: 100%; background: var(--accent); border-radius: 0 4px 4px 0; } .hb-fill.flag { background: #e8a33d; }
.hb-val { font-weight: 700; font-size: .88rem; text-align: right; min-width: 60px; font-variant-numeric: tabular-nums; } .hb-val small { color: var(--muted); font-weight: 500; margin-left: 6px; }

/* stacked bar */
.stk { display: flex; height: 34px; gap: 2px; border-radius: 7px; overflow: hidden; }
.stk-seg { display: flex; align-items: center; padding: 0 10px; font-size: .78rem; font-weight: 700; text-decoration: none; white-space: nowrap; overflow: hidden; }
.stk-key { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; margin: 0; } .stk-key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.mini-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mini-stats > * { background: var(--sunk); border-radius: 9px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.mini-stats b { font-family: var(--display); font-size: 1.35rem; } .mini-stats span { font-size: .76rem; color: var(--muted); }

/* in-cell bars, rating rows */
.inbar { display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: flex-end; } .inbar-track { flex: 1; max-width: 120px; height: 8px; background: var(--sunk); border-radius: 99px; overflow: hidden; }
.inbar-fill { display: block; height: 100%; background: var(--accent); border-radius: 99px; } .inbar-v { min-width: 20px; font-weight: 700; }
.rate-rows { display: grid; gap: 10px; } .rate-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 90px; gap: 10px; align-items: center; }
.rate-bar { display: flex; height: 16px; gap: 2px; border-radius: 4px; overflow: hidden; background: var(--sunk); }
@media (max-width: 520px) { .fun-row { grid-template-columns: 78px minmax(0, 1fr) 40px; } .fun-note { margin-left: 90px; } .hero-num { font-size: 2.3rem; } .st-num { font-size: 1.8rem; } }
.hb-label { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; }
button.stat { border: 1px solid var(--line); }
.dash-tools .seg, .page-head .seg { max-width: 100%; overflow-x: auto; }
.eyebrow { color: var(--muted); letter-spacing: .07em; }

/* =====================================================================
   F34 · "Midnight sidebar" look: navy sidebar, Fraunces headings + Manrope text, soft cards, pill buttons.
   Dark mode changes contrast only (same fonts, layout and shapes).
   ===================================================================== */
:root {
  --display: "Fraunces", Georgia, "Times New Roman", serif; --body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --nav-bg: #141a4a; --nav-ink: #c9cdea; --nav-on: #232a66; --nav-line: #2a3170;
  --card-shadow: 0 1px 2px rgb(20 26 74 / .06), 0 8px 24px rgb(20 26 74 / .06);
  --r0: #f4f5f9; --r1: #e2e4ef; --r2: #c9cdea; --r3: #8f97cf; --r4: #5c66b0; --r5: #303c8c; --r6: #1f2766;
  --rt1: #161a35; --rt2: #161a35; --rt4: #ffffff; --rt6: #ffffff;
  --bg: #f6f7fb;
}
:root[data-theme="dark"] {
  --nav-bg: #0b0e24; --nav-ink: #aab0d8; --nav-on: #1c2257; --nav-line: #1f2550;
  --card-shadow: 0 1px 2px rgb(0 0 0 / .45), 0 8px 24px rgb(0 0 0 / .25);
  --r0: #1a1e3a; --r1: #252a55; --r2: #343c80; --r3: #4b56a6; --r4: #6f79c4; --r5: #a9b1ff; --r6: #d4d8ff;
  --rt1: #e8e9f4; --rt2: #e8e9f4; --rt4: #0d0f1f; --rt6: #0d0f1f;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]):not([data-theme="dark"]) {
  --nav-bg: #0b0e24; --nav-ink: #aab0d8; --nav-on: #1c2257; --nav-line: #1f2550;
  --card-shadow: 0 1px 2px rgb(0 0 0 / .45), 0 8px 24px rgb(0 0 0 / .25);
  --r0: #1a1e3a; --r1: #252a55; --r2: #343c80; --r3: #4b56a6; --r4: #6f79c4; --r5: #a9b1ff; --r6: #d4d8ff;
  --rt1: #e8e9f4; --rt2: #e8e9f4; --rt4: #0d0f1f; --rt6: #0d0f1f; } }
body { font-family: var(--body); letter-spacing: 0; }
h1, h2, h3, .section-title, .card-title, .kpi-num, .st-num, .hero-num, .fun-n, .act b, .mini-stats b, .front-card b, .summary-grid b, .brand-lock .bn { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: 1.75rem; } @media (min-width: 960px) { h1 { font-size: 2rem; } }
.heat-cell.dark { color: var(--rt6); }

/* cards: soft shadow instead of hard borders */
.card, .panel, .stat, .section, .list, .snap-block, .kpi, .act.plain, .act:not(.red):not(.amber) { border-color: transparent; box-shadow: var(--card-shadow); }
.card, .panel, .section, .list { border-radius: 16px; } .stat, .kpi { border-radius: 14px; }
.tbl-wrap { border-radius: 12px; }
.card.inset { box-shadow: none; }
/* pill buttons and filters */
.btn { border-radius: 99px; } .btn.block { border-radius: 12px; }
.btn.primary { background: var(--accent); }
.seg { border-radius: 99px; } .seg button { border-radius: 99px; }

/* sidebar (desktop) */
@media (min-width: 960px) {
  .shell { grid-template-columns: 248px 1fr; }
  .side { width: auto; background: var(--nav-bg); border-right: 0; color: #fff; padding: 20px 14px; z-index: 40; }
  .side-brand { padding: 0 6px; } .side .brand-lock .bn { color: #fff; } .side .brand-lock .bt { color: #9aa1d4; }
  .side .brand-lock .mark { filter: none; }
  .side-link { color: var(--nav-ink); border-radius: 10px; } .side-link:hover { background: var(--nav-on); color: #fff; }
  .side-link.on { background: var(--nav-on); color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
  .side-link.cta { background: var(--gold); color: var(--gold-ink); border-radius: 12px; font-weight: 800; }
  .side-link.cta:hover { background: #f2c23e; color: var(--gold-ink); }
  .side-link .dot-count { background: var(--gold); color: var(--gold-ink); }
  .side .icon-btn { color: var(--nav-ink); } .side .icon-btn:hover { color: #fff; background: var(--nav-on); }
  .side .gsearch input { background: var(--nav-on); border-color: transparent; color: #fff; } .side .gsearch input::placeholder { color: #9aa1d4; }
  .side-foot { border-top-color: var(--nav-line); color: #fff; } .side-role { color: #9aa1d4; } .side-foot .link-btn { color: var(--nav-ink); }
  .side-hide { margin-left: 2px; width: 34px; height: 34px; }
  /* hidden and auto-hide */
  .shell.side-hidden, .shell.side-auto { grid-template-columns: minmax(0, 1fr); }
  .shell.side-hidden .side { display: none; }
  .shell.side-auto .side { position: fixed; left: 0; top: 0; bottom: 0; width: 248px; transform: translateX(-100%); transition: transform .18s ease-out; box-shadow: 8px 0 32px rgb(0 0 0 / .25); }
  .shell.side-auto.peek .side { transform: none; }
  .side-hot { position: fixed; left: 0; top: 0; bottom: 0; width: 14px; z-index: 39; }
  .side-open { position: fixed; top: 16px; left: 16px; z-index: 38; width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--nav-bg); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--card-shadow); }
  .side-open:hover { background: var(--nav-on); }
  .shell.side-hidden .main, .shell.side-auto .main { padding-left: 60px; }
}
@media (prefers-reduced-motion: reduce) { .shell.side-auto .side { transition: none; } }
.side-open, .side-hot { display: none; } @media (min-width: 960px) { .side-open { display: grid; } .side-hot { display: block; } }
@media (max-width: 959px) { .side-hide { display: none; } }

/* phone: navy header and bottom bar */
@media (max-width: 959px) {
  .top { background: var(--nav-bg); border-bottom: 0; color: #fff; } body::before { background: var(--nav-bg); }
  .top .brand-lock .bn { color: #fff; } .top .brand-lock .bt { color: #9aa1d4; } .top .icon-btn { color: var(--nav-ink); }
  .top .gsearch input { background: var(--nav-on); border-color: transparent; color: #fff; } .top .gsearch input::placeholder { color: #9aa1d4; }
  .top-user { background: var(--nav-on); color: #fff; }
  .bottom { background: var(--nav-bg); border-top: 0; } .tab-link { color: var(--nav-ink); } .tab-link.on { color: #fff; }
  .tab-link .dot-count { background: var(--gold); color: var(--gold-ink); }
}
/* display settings popover */
.disp-wrap { position: relative; } .disp-pop { position: absolute; bottom: 30px; left: 0; z-index: 70; width: 290px; background: var(--surface); color: var(--ink); border-radius: 14px; box-shadow: var(--card-shadow), 0 12px 40px rgb(0 0 0 / .2); padding: 14px; display: grid; gap: 8px; }
.disp-pop .seg button { font-size: .8rem; padding: 7px 8px; } .disp-inline { display: grid; gap: 6px; }
.side-brand { gap: 4px; } .side-brand .brand-lock { flex: 1; min-width: 0; overflow: hidden; } .side-brand .brand-lock .bn, .side-brand .brand-lock .bt { overflow: hidden; text-overflow: ellipsis; }
.side-brand .bell-wrap { margin-left: 0; } .side-brand .icon-btn { width: 32px; height: 32px; flex: none; } .side-brand .bell .dot-count { left: 18px; }

/* =====================================================================
   Phase 3: Log activity, EOI, bookings, inventory, planned visits, CP calls, list views, Explore, dashboards
   ===================================================================== */
.headline .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .headline .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .headline .stats > :nth-child(5):last-child { grid-column: span 2; } }
.sig-positive.on { box-shadow: inset 3px 0 0 var(--good); } .sig-negative.on { box-shadow: inset 3px 0 0 var(--bad); }
.chip.muted-chip:not(.on) { color: var(--muted); border-style: dashed; }
.card.inset { background: var(--sunk); box-shadow: none; border: 1px solid var(--line); margin: 8px 0; padding: 12px; }
.proof-btn { position: absolute; right: 6px; top: 46px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.proof-btn:hover { color: var(--accent); border-color: var(--accent); } .ta-wrap textarea { min-height: 88px; }
.proof-old { color: var(--muted); text-decoration: line-through; text-decoration-color: rgb(180 35 24 / .4); }
.proof-new { background: var(--good-bg); border-radius: 8px; padding: 8px 10px; }
.stage-note { margin: 6px 0 0; }
/* key numbers (VP / VC / RP / RC, calls, forecast): quiet tinted tiles */
.key-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; margin: 8px 0 12px; }
.key-metric { background: var(--accent-soft); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.key-metric b { font: 600 1.45rem/1.1 var(--display); color: var(--ink); } .key-metric b small { font-size: .8rem; color: var(--muted); }
.key-metric span { font-size: .78rem; color: var(--muted); }
.key-metric.warn { background: var(--gold-soft); } .key-metric.warn b { color: var(--gold-text); }
/* planned visits */
.plan-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.plan-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line-soft, var(--line)); flex-wrap: wrap; }
.plan-row:last-child { border-bottom: 0; } .plan-row .grow { flex: 1 1 220px; min-width: 0; }
.pk { font: 700 .74rem/1 var(--body); letter-spacing: .04em; padding: 6px 7px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); min-width: 32px; text-align: center; }
.pk-vc, .pk-rc { background: var(--accent); color: var(--accent-ink); }
.badge.danger { background: var(--bad-bg); color: var(--bad); border-color: transparent; } .badge.ok { background: var(--good-bg); color: var(--good); border-color: transparent; }
.stat.alert { box-shadow: inset 0 0 0 1px var(--bad); } .stat.alert b { color: var(--bad); }
.count.warn { background: var(--bad); color: #fff; }
/* forecast */
.fc-box { min-width: 200px; } .fc-rows { display: flex; flex-direction: column; gap: 10px; }
.fc-row { display: grid; grid-template-columns: minmax(110px, 160px) 1fr minmax(120px, auto); gap: 12px; align-items: center; color: var(--ink); text-decoration: none; padding: 6px 4px; border-radius: 8px; }
.fc-row:hover { background: var(--sunk); } .fc-k { display: flex; flex-direction: column; }
.fc-bar { height: 14px; background: var(--r0); border-radius: 7px; display: flex; overflow: hidden; } .fc-lo { background: var(--r5); } .fc-hi { background: var(--r3); }
.fc-v { display: flex; flex-direction: column; text-align: right; } .col-val { margin: -4px 0 8px; }
@media (max-width: 600px) { .fc-row { grid-template-columns: 1fr; } .fc-v { text-align: left; } }
/* EOI and booking */
.badge.eoi-received { background: var(--accent-soft); color: var(--accent); } .badge.eoi-cleared, .badge.eoi-converted { background: var(--good-bg); color: var(--good); }
.badge.eoi-bounced, .badge.eoi-cancelled { background: var(--bad-bg); color: var(--bad); } .badge.eoi-refunded { background: var(--grey-bg); color: var(--muted); }
.badge.st-revisited { background: var(--r2); color: var(--rt2); } .badge.st-eoi { background: var(--gold-soft); color: var(--gold-text); }
.badge.st-eoicancelled, .badge.st-bookingcancelled { background: var(--bad-bg); color: var(--bad); }
.steps { list-style: none; padding: 0; margin: 8px 0; display: flex; gap: 6px; flex-wrap: wrap; }
.steps li { flex: 1 1 120px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; color: var(--muted); }
.steps li.done { border-color: var(--accent); color: var(--ink); } .steps li.cur { background: var(--accent-soft); } .steps li.cancel { border-color: var(--bad); background: var(--bad-bg); color: var(--bad); }
.more-wrap { position: relative; } .more-pop { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--card-shadow, var(--shadow)); padding: 6px; display: flex; flex-direction: column; }
.more-pop .link-btn { text-align: left; padding: 8px 10px; border-radius: 6px; } .more-pop .link-btn:hover { background: var(--sunk); }
/* inventory */
.inv-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.inv-stat { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; text-align: left; cursor: pointer; }
.inv-stat b { font: 600 1.3rem var(--display); } .inv-stat span { font-size: .78rem; color: var(--muted); } .inv-stat.on { outline: 2px solid var(--accent); }
.u-open { --u: var(--r1); --ui: var(--ink); } .u-hold { --u: var(--gold-soft); --ui: var(--gold-text); } .u-blocked { --u: var(--r3); --ui: #fff; } .u-sold { --u: var(--r6); --ui: #fff; } .u-notavailable { --u: var(--grey-bg); --ui: var(--muted); }
.inv-stat::before { content: ''; display: block; width: 18px; height: 6px; border-radius: 3px; background: var(--u); margin-bottom: 4px; }
.floor-grid { display: flex; flex-direction: column; gap: 4px; } .floor { display: flex; gap: 8px; align-items: center; }
.floor-no { width: 28px; text-align: right; font-size: .78rem; color: var(--muted); } .floor-units { display: flex; gap: 4px; flex-wrap: wrap; }
.unit { min-width: 54px; padding: 6px 4px; border-radius: 6px; border: 0; background: var(--u); color: var(--ui); font: 600 .78rem var(--body); cursor: pointer; }
.unit.prem { box-shadow: inset 0 -2px 0 var(--gold); } .unit:hover { outline: 2px solid var(--accent); }
.badge.u-open, .badge.u-hold, .badge.u-blocked, .badge.u-sold, .badge.u-notavailable { background: var(--u); color: var(--ui); border-color: transparent; }
.stk-key i.u-open, .stk-key i.u-hold, .stk-key i.u-blocked, .stk-key i.u-sold, .stk-key i.u-notavailable { background: var(--u); }
.inv-counts { display: flex; gap: 10px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); } .inv-counts b { color: var(--ink); }
@media (max-width: 600px) { .inv-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* CP calls */
.call-list { list-style: none; margin: 0; padding: 0; } .call-list li { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-soft, var(--line)); }
.call-list li:last-child { border-bottom: 0; } .call-list .grow { flex: 1; min-width: 0; }
.avail { display: inline-flex; gap: 6px; align-items: center; font-size: .82rem; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); cursor: pointer; }
.avail.on { background: var(--good-bg); color: var(--good); border-color: transparent; }
/* list views (F33) */
.dview { display: flex; flex-direction: column; gap: 8px; }
.dv-bar { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; position: relative; }
.seg.sm button { padding: 4px 10px; font-size: .78rem; min-height: 30px; }
.dv-pop { position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--card-shadow, var(--shadow)); padding: 12px; width: min(360px, 92vw); }
.dv-pop.xl { display: flex; flex-direction: column; gap: 6px; width: 260px; } .dv-pop.cols { left: 0; right: auto; max-height: 70vh; overflow: auto; }
.col-list { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 2px; }
.col-list li { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 6px; background: var(--surface); } .col-list li.off { opacity: .6; }
.col-list .grow { flex: 1; } .col-list .drag-handle { cursor: grab; color: var(--muted); }
.star { border: 0; background: none; font-size: 1rem; color: var(--line); cursor: pointer; } .star.on { color: var(--gold); }
.dv-wrap { max-height: 70vh; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.dv-tbl { border-collapse: separate; border-spacing: 0; min-width: 100%; }
.dv-tbl th { position: sticky; top: 0; z-index: 2; background: var(--surface); white-space: nowrap; }
.dv-tbl th.pin, .dv-tbl td.pin { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
.dv-tbl th.pin { z-index: 3; } .dv-tbl tr:hover td, .dv-tbl tr:hover td.pin { background: var(--sunk); }
.dv-tbl td, .dv-tbl th { padding: 10px 12px; vertical-align: top; } .dv-wrap.compact .dv-tbl td, .dv-wrap.compact .dv-tbl th { padding: 4px 10px; font-size: .86rem; }
.dv-tbl td.r, .dv-tbl th.r { text-align: right; } .th-btn { border: 0; background: none; font: inherit; color: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.lead-col { width: 32px; } .dv-card { gap: 10px; } .dv-l { color: var(--muted); } .dv-foot { margin: 0; }
/* Explore (F36) */
.explore .pv-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: start; }
.pv-side { position: sticky; top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; max-height: calc(100vh - 40px); overflow: auto; }
.filter.block { width: 100%; }
.pv-fields { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pv-f { padding: 6px 10px; border-radius: 8px; background: var(--sunk); cursor: grab; font-size: .86rem; border-left: 3px solid var(--r2); }
.pv-f.t-date { border-left-color: var(--gold); } .pv-f.t-num { border-left-color: var(--good); } .pv-f.t-multi { border-left-color: var(--r4); } .pv-f.used { opacity: .55; }
.pv-zones { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 12px; position: relative; }
.pv-zone { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; position: relative; } .pv-zl { width: 70px; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pv-drop { flex: 1; min-height: 38px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; border: 1px dashed var(--line); border-radius: 8px; padding: 4px 6px; }
.pv-drop .pv-f { display: none; }
.pv-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--accent-soft); color: var(--ink); border-radius: 99px; padding: 3px 4px 3px 10px; font-size: .84rem; cursor: grab; }
.pv-x { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 2px 6px; } .pv-g { width: auto; min-height: 26px; padding: 0 4px; font-size: .78rem; }
.pv-add { width: auto; min-height: 30px; font-size: .82rem; border-style: dashed; }
.pv-pop { position: absolute; z-index: 30; top: 100%; left: 70px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--card-shadow, var(--shadow)); padding: 12px; width: 300px; display: flex; flex-direction: column; gap: 8px; }
.pv-vals { max-height: 260px; overflow: auto; display: flex; flex-direction: column; gap: 2px; }
.pv-wrap { max-height: 64vh; overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.pv { border-collapse: separate; border-spacing: 0; } .pv th { position: sticky; top: 0; background: var(--surface); z-index: 2; white-space: nowrap; }
.pv td.pin, .pv th.pin { text-align: left; position: sticky; left: 0; background: var(--surface); z-index: 1; } .pv th.pin { z-index: 3; }
.pv td.click { cursor: pointer; } .pv td.click:hover { outline: 2px solid var(--accent); outline-offset: -2px; } .pv td.tot { background: var(--sunk); } .pv .tot-row td { border-top: 2px solid var(--line); background: var(--sunk); }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 16px; }
.dash-card .panel-head { flex-wrap: wrap; } .dash-card .drag-handle { cursor: grab; color: var(--muted); }
.arrange { max-width: 560px; } .home-sec { display: contents; }

.pv-side .filter { width: 100%; max-width: 100%; box-sizing: border-box; }
.unit.u-notavailable, .stk-key i.u-notavailable { background: var(--u); }
.more-pop { left: auto; right: 0; }

/* F38: inventory colours (same in light and dark; text chosen for contrast) */
.u-open { --u: #2f8f4e; --ui: #fff; } .u-hold { --u: #f2c230; --ui: #2b2000; } .u-blocked { --u: #ea7a1c; --ui: #fff; } .u-sold { --u: #c62f2f; --ui: #fff; } .u-notavailable { --u: #16171d; --ui: #fff; }
:root[data-theme="dark"] .u-notavailable { --u: #000; --ui: #e8e9f4; box-shadow: inset 0 0 0 1px #4a4f73; }

/* ---------- F40: CRM Guide, help, practice mode ---------- */
.side-guide { margin: 6px 10px 0; }
.help-fab { position: fixed; right: 18px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 22; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 1.05rem; box-shadow: 0 4px 14px rgb(0 0 0 / .14); cursor: pointer; display: none; }
.help-top { font-weight: 700; font-size: 1.05rem; }
@media (min-width: 960px) { .help-fab { display: block; bottom: 20px; } .help-top { display: none; } }
.help-fab:hover { border-color: var(--accent); color: var(--accent); }
.practice-bar { background: var(--gold-soft); color: var(--gold-text); padding: 8px 16px; font-size: .86rem; font-weight: 600; text-align: center; }
.guide-cards { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.guide-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.guide-card .badge { align-self: flex-start; margin-top: 4px; }
.guide-wrap { display: grid; gap: 16px; }
@media (min-width: 1100px) { .guide-wrap { grid-template-columns: 230px minmax(0, 1fr); align-items: start; } .guide-toc { position: sticky; top: 16px; } }
.guide-body, .guide-sec { min-width: 0; } .guide .tbl-wrap { overflow-x: auto; max-width: 100%; }
.guide-toc { display: flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 1100px) { .guide-toc { flex-direction: column; gap: 2px; } }
.guide-toc a { font-size: .84rem; padding: 4px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; background: var(--sunk); }
@media (min-width: 1100px) { .guide-toc a { background: none; } }
.guide-toc a:hover, .guide-toc a.on { color: var(--ink); background: var(--sunk); }
.guide-sec { scroll-margin-top: 16px; }
.guide-md p, .guide-md li { line-height: 1.55; }
.guide-md ul, .guide-md ol { padding-left: 1.2em; margin: .4em 0 .8em; }
.guide-md li { margin: .2em 0; }
.guide-tbl td, .guide-tbl th { vertical-align: top; }
.guide-tbl.matrix td { text-align: center; white-space: nowrap; } .guide-tbl.matrix td:first-child { text-align: left; white-space: normal; }
.guide-tbl td.ok { color: var(--good); font-weight: 700; } .guide-tbl td.appr { color: var(--warm); font-weight: 600; }
.guide-help + .guide-help { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 10px; }
.req-opt { padding: 8px 0; border-top: 1px solid var(--line); } .req-opt:first-of-type { border-top: 0; }
@media print {
  .side, .top, .bottom, .help-fab, .no-print, .practice-bar, .side-open, .toast { display: none !important; }
  .shell, .main { display: block !important; margin: 0 !important; padding: 0 !important; }
  body { background: #fff !important; color: #000 !important; }
  .guide-sec { break-inside: avoid-page; box-shadow: none !important; border: 1px solid #ccc !important; }
  .guide-wrap { display: block !important; }
}
.update-bar { background: var(--accent-soft); color: var(--accent); padding: 8px 16px; font-size: .88rem; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.update-bar.warn { background: var(--warm-bg); color: var(--warm); }
.bio-lock { position: fixed; inset: 0; z-index: 200; background: var(--nav-bg, #21256E); display: flex; align-items: center; justify-content: center; padding: 24px; }
.bio-box { background: var(--surface); color: var(--ink); border-radius: 16px; padding: 28px 24px; max-width: 340px; width: 100%; text-align: center; }
.bio-mark { width: 90px; margin-bottom: 8px; }
.card-photo { width: 180px; max-width: 60vw; border-radius: 8px; border: 1px solid var(--line); cursor: zoom-in; }
