@font-face{font-family:Geist;font-style:normal;font-weight:400 600;font-display:swap;src:url('/fonts/geist-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Geist;font-style:normal;font-weight:400 600;font-display:swap;src:url('/fonts/geist-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Burner Client OS: Refero Ui / shadcn-inspired monochrome system. */
:root {
  --bg:#f5f5f5; --surface:#ffffff; --surface2:#f5f5f5; --surface3:#e5e5e5; --sidebar-surface:#fafafa;
  --ink:#0a0a0a; --muted:#666666; --line:#e5e5e5; --softline:#eeeeee;
  --hover:#f0f0f0; --glass-solid:var(--surface); --radius:24px; --action-bg:#171717; --action-ink:#fafafa;
  --sidebar:248px; --focusring:#737373; --ui-accent:#171717; --ui-accent-soft:#eeeeee;
  --good:#171717; --goodbg:#eeeeee; --warn:#404040; --warnbg:#f5f5f5;
  color-scheme:light;
}
:root[data-theme=dark] {
  --bg:#0a0a0a; --surface:#171717; --surface2:#202020; --surface3:#303030; --sidebar-surface:#111111; --action-bg:#fafafa; --action-ink:#171717;
  --ink:#fafafa; --muted:#b3b3b3; --line:#3b3b3b; --softline:#292929;
  --hover:#292929; --focusring:#a3a3a3; --ui-accent:#fafafa; --ui-accent-soft:#303030;
  --good:#e5e5e5; --goodbg:#292929; --warn:#d4d4d4; --warnbg:#242424;
  color-scheme:dark;
}
body,input,select,textarea,button {font-family:Geist,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:normal}
body {font-size:15px;line-height:1.5;background:var(--bg);color:var(--ink)}
aside {inset:0 auto 0 0;width:var(--sidebar);padding:32px 20px 20px;border:0;border-right:1px solid var(--line);border-radius:0;background:var(--sidebar-surface);transition:transform .2s ease}
aside .brand {padding:0 12px}
aside .brand img {width:164px;height:34px;object-fit:contain}
aside .brand>span {margin:12px 0 28px;font-size:10px;letter-spacing:.14em}
aside .brand i {background:var(--surface2);border-color:var(--line);color:var(--muted)}
aside .agencybadge {padding:14px 12px;border:1px solid var(--line);border-radius:18px;background:var(--surface2)}
aside .agencybadge b,aside .identity b {color:var(--ink);font-size:13px;font-weight:600}
aside .agencybadge small,aside .identity small {color:var(--muted);font-size:12px}
.navlabel {font-size:10px;letter-spacing:.12em;padding:28px 12px 10px}
nav button,nav button.active {min-height:46px;padding:12px;font-size:14px;border:0;border-radius:18px;font-weight:500}
nav button.active {background:var(--surface2);color:var(--ink)}
nav button.active:after {width:4px;height:18px;border-radius:4px;right:0;background:var(--ui-accent)}
#campaignnav button {font-size:13px;line-height:1.5}
#campaignnav b {background:var(--surface3);color:var(--ink);font-size:11px;border-radius:999px}
.sidebarbottom {border-color:var(--line);padding-top:16px}
.identity .avatar {background:var(--surface2);border-color:var(--line);color:var(--ink)}
main {margin-left:var(--sidebar);padding:0;min-width:0}
header {top:0;height:76px;padding:0 36px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:var(--bg);box-shadow:none;backdrop-filter:none}
#breadcrumbs,#breadcrumbs button {font-size:13px;line-height:1.5}
#breadcrumbs {flex:1;min-width:0;overflow:hidden}
.headeractions {gap:8px}
.iconbutton {width:42px;height:42px;min-height:42px;border-radius:50%;background:var(--surface);font-size:20px}
.commandtrigger {min-height:42px;border-radius:999px;padding:8px 14px}
.commandtrigger span {font-size:13px}
.commandtrigger kbd {font-family:inherit;font-size:11px;margin-left:16px}
.headeravatar {display:none}
.content {padding:40px 36px 56px;max-width:1280px}
.heading {margin-bottom:32px;gap:24px}
.heading h1,.alpha-welcome h1 {font-size:clamp(28px,2.6vw,38px);font-weight:600;line-height:1.2;letter-spacing:-.035em;margin:0 0 12px}
.heading p,.alpha-welcome p {font-size:15px;line-height:1.65;max-width:640px}
.alpha-welcome {margin:4px 0 36px;align-items:flex-start}
h2,.homelayout h2 {font-size:22px;font-weight:600;line-height:1.3;letter-spacing:-.025em}
h3 {font-size:18px;font-weight:600;line-height:1.4}
p,.subtle {font-size:14px;line-height:1.65}
.button {min-height:44px;padding:11px 18px;border-radius:999px;font-size:14px;font-weight:500;line-height:1.4;box-shadow:none}
.button.primary {background:var(--action-bg);border-color:var(--action-bg);color:var(--action-ink);box-shadow:none}
.button.orangebutton {color:var(--accent-button-text,#242522);box-shadow:none}
.button:not(.primary):not(.orangebutton):hover {background:var(--surface2);box-shadow:none}
.button.primary:hover,.button.orangebutton:hover {transform:none;filter:brightness(.97)}
.button:focus-visible,nav button:focus-visible,.iconbutton:focus-visible,.commandtrigger:focus-visible,.tabs button:focus-visible,.smartviews button:focus-visible,summary:focus-visible,a:focus-visible {outline:2px solid var(--focusring);outline-offset:3px}
input,select,textarea {background:var(--surface);color:var(--ink);min-height:46px;font-size:15px;line-height:1.5;padding:11px 14px;border:1px solid var(--line);border-radius:18px}
input:focus-visible,select:focus-visible,textarea:focus-visible {outline:2px solid var(--focusring);outline-offset:2px}
input[type=checkbox] {min-height:0;width:18px;height:18px}
input[type=color] {height:46px}
.field>label,.checkboxrow {font-size:14px;color:var(--ink);line-height:1.5}
.field>small {font-size:13px;color:var(--muted);line-height:1.6}
.formrow {gap:24px;margin-bottom:24px}
.formpanel,.clientcard,.metric,.focuspanel,.welcomefocus,.leadfields,.customerdecision,.guidecard,.alpha-guides,.startchecklist {border-radius:24px;box-shadow:none;border-color:var(--line)}
.formpanel {padding:28px;margin-bottom:24px}
.formpanel>p {font-size:14px;line-height:1.65}
.grid {gap:24px;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr))}
.clientcard {padding:28px}
.clientcard:hover,.guidecard:hover {transform:none;border-color:var(--muted);box-shadow:none}
.clienttop {gap:16px;margin-bottom:24px}
.clienttop h2 {font-size:20px;font-weight:600;line-height:1.4}
.clienttop p,.clientstats small,.cardbottom {font-size:13px;line-height:1.55}
.clientstats {gap:32px;padding:12px 0 24px;flex-wrap:wrap}
.clientstats strong {font-size:28px;font-weight:600;font-variant-numeric:tabular-nums}
.cardbottom {gap:12px;flex-wrap:wrap;border-color:var(--softline)}
.avatar {border-radius:50%;font-weight:600}
.clienttop .avatar {border-radius:18px}
.badge {border-radius:999px;padding:5px 10px;font-size:12px;line-height:1.4;font-weight:500;background:var(--surface2);color:var(--muted)}
.badge.green {background:var(--goodbg);color:var(--good)}
.badge.warn {background:var(--warnbg);color:var(--warn)}
.metrics,body[data-route=home] .metrics {gap:20px;margin-bottom:32px}
.metric,.metric.highlight {padding:24px}
.metric label {font-size:13px;color:var(--muted);line-height:1.5}
.metric strong {font-size:36px;font-weight:600;line-height:1.2;margin:20px 0 12px;letter-spacing:-.04em}
.metric small {font-size:13px;line-height:1.5}
.metricicon {border-radius:50%;background:var(--surface2);color:var(--muted)}
.homelayout {gap:24px}
.homesteps,.homeupdates,.newssection {min-width:0}
.newsitem,.homeupdates>div {border-color:var(--softline)}
.newsitem b,.rowlist b {font-size:15px;line-height:1.5}
.newsitem small,.rowlist small {font-size:13px;line-height:1.55}
.alpha-guides {padding:24px;margin-top:24px;background:var(--surface)}
.alpha-guides summary {font-size:16px;min-height:28px}
.startchecklist {padding:24px;margin-bottom:28px}
.startchecklist h2 {font-size:18px}
.startchecklist>div>span {font-size:13px}
.tabs {gap:28px;margin-bottom:28px;overflow-x:auto;white-space:nowrap}
.tabs button {font-size:15px;min-height:48px;padding:12px 0}
.tabs button.active {color:var(--ink);border-bottom-color:var(--orange)}
.toolbar {gap:12px;margin-bottom:24px;min-width:0}
.toolbar .search {width:min(380px,100%)}
.segmented {background:var(--surface2);border:1px solid var(--line);border-radius:999px}
.segmented button {min-height:36px;border-radius:999px;padding:8px 14px;font-size:13px}
.segmented button.active {background:var(--surface);color:var(--ink);box-shadow:none}
.smartviews {gap:8px;margin-bottom:20px}
.smartviews button {font-size:13px;min-height:40px;border-radius:999px;padding:8px 14px}
.smartviews button.active {background:var(--surface2);border-color:var(--muted);color:var(--ink)}
.alpha-view-options summary,.alpha-filter-options summary {font-size:14px;min-height:44px;border-radius:999px;padding:10px 16px}
.alpha-counts {font-size:15px;gap:24px;margin-bottom:24px}
.alpha-counts button {font-size:14px}
#leadsbody .board {gap:16px;padding-bottom:16px}
#leadsbody .column {flex-basis:320px;width:320px;min-width:320px;padding:12px;border:1px solid var(--line);border-radius:24px;background:var(--surface2)}
.columnhead {font-size:14px;line-height:1.5;padding:10px 4px 20px;font-weight:600}
.columnhead small {font-size:12px;background:var(--surface3);color:var(--muted);border-radius:999px;padding:3px 9px}
.leadcard {padding:20px;border-radius:18px;border-color:var(--line);background:var(--surface);margin-bottom:12px}
.leadcard:hover {border-color:var(--muted);box-shadow:none;transform:none}
.leadcard .person {gap:12px;margin-bottom:14px}
.person strong,.leadcard .person strong {font-size:16px;font-weight:600;line-height:1.4}
.person small,.leadcontact,.leadfoot {font-size:13px;line-height:1.65;color:var(--muted)}
.leadcard .avatar {border-radius:50%;background:var(--surface2)}
.qualifications,.leadfoot {border-color:var(--softline)}
.qa {padding:10px 0}
.qa small {font-size:13px;line-height:1.55}
.qa b {font-size:14px;font-weight:500;line-height:1.55}
.leadfoot .cv {color:var(--good)}
.columnempty {font-size:13px;line-height:1.65;padding:32px 12px;color:var(--muted)}
.tablewrap {border-radius:24px;background:var(--surface)}
table {font-size:14px}
th {font-size:12px;padding:16px 20px;background:var(--surface2);color:var(--muted)}
td {padding:18px 20px;border-color:var(--softline)}
tbody tr:hover {background:var(--hover)}
.notice,.alpha-source-panel .notice {font-size:14px;line-height:1.65}
.alpha-setup-section,.alpha-source-panel {padding:28px}
.alpha-setup-section>summary {font-size:18px}
dialog {background:var(--surface);border-radius:20px;border-color:var(--line)}
.dialoghead {padding:22px 28px;background:var(--surface)}
.dialoghead h2 {font-size:20px}
.dialoghead p {font-size:13px}
#dialogbody {padding:28px}
.profiledrawer .leadheader h2 {font-size:28px;font-weight:600}
.customerdecision {padding:24px}
.customerdecision h3 {font-size:20px}
.profiledrawer .leadlayout {gap:24px}
.activitytabs button,.timelineitem b,.filecard b {font-size:14px}
.timelineitem small,.filecard small {font-size:13px}
.profile-savebar {background:var(--surface);box-shadow:none;border-top:1px solid var(--line)}
.tutorialdialog {border-radius:24px;padding:36px;background:var(--surface);box-shadow:0 24px 80px #0003}
.tour-copy h2 {font-size:32px;font-weight:500;line-height:1.2;letter-spacing:-.035em}
.tour-copy p {font-size:16px;line-height:1.65}
.tour-top>span {font-size:11px}
.tour-top>button,.tour-copy>small {font-size:13px}
.tour-visual {border:0;padding:24px;background:var(--surface2)}
.tour-example-card b {font-size:15px}
.tour-example-card small,.tour-demo-label {font-size:13px}
.tour-progress .done {background:var(--accent-ink)}
.tour-feedback .chosen {color:var(--accent-ink);border-color:var(--accent-ink)}
.empty,.error {background:var(--surface);border-color:var(--line);padding:48px 24px;border-radius:24px}
.empty h3,.error h3 {font-size:20px}
.empty p,.error p {font-size:15px;line-height:1.6}
@media(max-width:1200px) and (min-width:751px) {
  :root {--sidebar:224px}
  header {padding:0 24px}
  .content {padding:32px 24px 48px}
  .commandtrigger span,.commandtrigger kbd {display:none}
  .commandtrigger {width:42px;justify-content:center;padding:0}
}
@media(max-width:750px) {
  :root {--sidebar:0px}
  main {margin:0;padding:0}
  header {top:0;height:68px;padding:0 16px;gap:8px;border-radius:0}
  #breadcrumbs,#breadcrumbs button {font-size:12px;gap:8px}
  #breadcrumbs>span:last-child {max-width:100px}
  .headeractions {gap:4px}
  .headeractions .iconbutton,#tutorial,.commandtrigger {width:40px;height:44px;min-height:44px;padding:0;border-radius:18px}
  .commandtrigger span,.commandtrigger kbd {display:none}
  .commandtrigger {display:grid;place-items:center}
  aside {inset:0 auto 0 0;width:min(300px,calc(100vw - 32px));padding:28px 20px;border-radius:0;transform:translateX(-100%)}
  .navopen aside {transform:translateX(0)}
  .content {padding:28px 20px 40px}
  .heading h1,.alpha-welcome h1 {font-size:28px}
  .heading,.alpha-welcome {margin-bottom:28px;gap:20px}
  .heading .actions {width:100%;flex-wrap:wrap}
  .metrics,body[data-route=home] .metrics {gap:12px;margin-bottom:28px}
  .metric,.metric.highlight {padding:20px}
  .metric strong {font-size:32px;margin:16px 0 10px}
  .grid,.homelayout {gap:20px}
  .clientcard,.formpanel,.alpha-setup-section,.alpha-source-panel,.customerdecision {padding:24px}
  .formrow {gap:20px}
  input,select,textarea,.toolbar input,.toolbar select {font-size:16px}
  .toolbar .search {width:100%;flex-basis:100%}
  .toolbar>select {min-width:0;flex:1}
  .tabs {gap:24px}
  .tabs button {font-size:14px}
  #leadsbody .column {flex-basis:290px;width:290px;min-width:290px}
  #dialogbody,.profiledrawer #dialogbody {padding:24px 20px}
  .dialoghead {padding:20px}
  .tutorialdialog {padding:28px 24px}
  .tour-copy h2 {font-size:28px}
  .tour-top {gap:8px}
  .tour-top>span {font-size:10px;line-height:1.5}
  .tour-pipeline {gap:6px}
  .tour-pipeline>div {padding:10px 8px}
}
@media(max-width:380px) {
  .content {padding:24px 16px 36px}
  header {padding:0 10px}
  #breadcrumbs>span:last-child {max-width:72px}
  .metrics {grid-template-columns:1fr}
  .formpanel,.clientcard,.alpha-source-panel {padding:20px}
}
@media(prefers-contrast:more) {:root {--line:var(--muted);--softline:var(--muted)}}
@media(prefers-reduced-motion:reduce) {aside,button {transition:none}}
@media print {aside,header {display:none}main {margin:0}.content {padding:0}body {background:#fff}}


/* Every interactive state is neutral; identity comes from the customer's content. */
:root {--ambient-a:transparent;--ambient-b:transparent}
body {background-image:none;font-feature-settings:"ss01" on,"cv11" on}
.tabs {width:fit-content;max-width:100%;gap:4px;padding:5px;border:1px solid var(--line);border-radius:18px;background:var(--surface2);box-shadow:none}
.tabs button {padding:10px 18px;min-height:44px;border:0;border-radius:18px;background:transparent!important;color:var(--muted)}
.tabs button.active {border:0;background:var(--surface)!important;color:var(--ink);box-shadow:0 1px 3px #0000000d}
.button,.smartviews button,.segmented,.segmented button,input,select,textarea,.iconbutton,.commandtrigger {border-radius:18px}
.button.orangebutton {background:var(--action-bg);border-color:var(--action-bg);color:var(--action-ink)}
.smartviews button.active,.decisionbuttons .button.selected,.button.selected {color:var(--ink);background:var(--ui-accent-soft);border-color:var(--muted)}
.decisionbuttons .button.selected:hover {background:var(--ui-accent-soft)}
.alpha-warning {color:var(--warn)}
.agencybadge .avatar,.avatar.orange {background:var(--action-bg);color:var(--action-ink);border-color:var(--action-bg)}
.metric.highlight,.campaignbrief,.welcomehero,.cockpit,.tour-visual,.brandpreview {background:var(--surface);background-image:none;border-color:var(--line)}
.welcomecopy h1 span,.taskopen,.tour-copy>small,.campaign-open,.homeannouncement b {color:var(--ink)}
.customerdecision,.rejectionfields,.contacttile,.guidecard,.knowledgecard,.startchecklist {border-radius:24px}
.formpanel,.clientcard,.personal-campaign {box-shadow:0 1px 3px #00000005,0 1px 2px -1px #00000005}
input,select,textarea {background:var(--surface2)}
input::placeholder,textarea::placeholder {color:var(--muted);opacity:1}
.alpha-counts {gap:12px 24px;margin-bottom:16px}
.personal-welcome {display:block;margin:0 0 32px;padding:0;background:none;border:0;box-shadow:none}
.personal-identity {display:flex;align-items:center;gap:12px;margin-bottom:28px}
.personal-identity>.avatar {width:48px;height:48px;border-radius:18px;background:var(--surface);border:1px solid var(--line);color:var(--ink)}
.personal-identity .customerlogo {width:auto;max-width:160px;max-height:56px;margin:0;padding:8px;border:1px solid var(--line);border-radius:18px;box-shadow:none}
.personal-identity b {display:block;font-size:14px;font-weight:600}
.personal-identity small {display:block;color:var(--muted);font-size:14px;margin-top:2px}
.personal-intro {display:flex;justify-content:space-between;gap:32px;align-items:flex-start}
.personal-intro>div {min-width:0;max-width:820px}
.personal-intro .eyebrow {font-size:12px;letter-spacing:.05em}
.personal-intro h1 {font-size:clamp(30px,3.4vw,48px);line-height:1.1;letter-spacing:-.05em;font-weight:600;margin:12px 0 16px;overflow-wrap:anywhere}
.personal-intro p {font-size:16px;line-height:1.5;max-width:660px}
.personal-date {white-space:nowrap;font-size:14px;color:var(--muted);padding-top:4px}
.personal-focus {display:flex;align-items:center;gap:20px;padding:24px;margin:0 0 32px;border:1px solid var(--line);border-radius:24px;background:var(--surface)}
.personal-focus-icon {display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex-shrink:0;background:var(--surface2);border-radius:18px;color:var(--ink)}
.personal-focus>div {flex:1;min-width:0}
.personal-focus h2 {font-size:20px;margin:6px 0 8px;letter-spacing:-.025em}
.personal-focus p {margin:0;font-size:14px;color:var(--muted)}
.personal-focus .button {flex-shrink:0}
.personal-campaigns {margin-bottom:32px}
.personal-campaigns h2 {margin:4px 0 0}
.personal-campaign-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.personal-campaign {display:flex;flex-direction:column;gap:16px;min-width:0;text-align:left;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:24px;color:var(--ink)}
.personal-campaign:hover {border-color:var(--muted);background:var(--surface)}
.personal-campaign:focus-visible {outline:2px solid var(--focusring);outline-offset:3px}
.campaign-kind {display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted)}
.personal-campaign h3 {margin:0;font-size:18px;line-height:1.5;overflow-wrap:anywhere}
.personal-campaign>p {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0;font-size:14px;color:var(--muted);overflow-wrap:anywhere}
.personal-campaign-stats {display:flex;flex-wrap:wrap;gap:8px 16px;font-size:14px;color:var(--muted)}
.personal-campaign-stats b {font-weight:600;color:var(--ink)}
.campaign-progress {display:block;font-size:14px;color:var(--muted)}
.campaign-progress progress {display:block;width:100%;height:6px;margin-top:10px;accent-color:var(--ink);border:0;border-radius:18px;overflow:hidden;background:var(--surface3)}
.campaign-progress progress::-webkit-progress-bar {background:var(--surface3)}
.campaign-progress progress::-webkit-progress-value {background:var(--ink);border-radius:18px}
.campaign-progress progress::-moz-progress-bar {background:var(--ink);border-radius:18px}
.campaign-open {display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:500;padding-top:16px;border-top:1px solid var(--softline);margin-top:auto}
.personal-empty {grid-column:1/-1;border:1px dashed var(--line);padding:24px;border-radius:24px;color:var(--muted)}
.personal-empty>p {margin:8px 0 0}
.homesteps h2 {margin-top:8px}
@media(max-width:1000px) {.personal-campaign-grid {grid-template-columns:repeat(2,minmax(0,1fr))}.personal-date {display:none}}
@media(max-width:750px) {
 .tabs {gap:4px;margin-bottom:24px}.tabs button {padding:10px 15px;font-size:14px}
 aside {border-right:0;border-radius:0 24px 24px 0;box-shadow:12px 0 40px #00000030}
 #navscrim {background:#00000099;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
 .personal-intro {display:block}.personal-intro h1 {font-size:32px;line-height:1.15}.personal-identity {margin-bottom:24px}
 .personal-focus {flex-wrap:wrap;align-items:flex-start;padding:20px;gap:16px}
 .personal-focus-icon {width:40px;height:40px}.personal-focus>div {flex-basis:calc(100% - 56px)}
 .personal-focus .button {width:100%}.personal-focus h2 {font-size:18px}
 .personal-campaign-grid {grid-template-columns:1fr;gap:16px}.personal-campaign {padding:20px}
 .personal-campaigns .sectionheader {align-items:flex-start;flex-wrap:wrap}.personal-campaigns .sectionheader>.button {min-height:44px}
 .smartviews button {min-height:44px}.toolbar>select {flex:1 1 145px}
 .alpha-counts {gap:10px 20px;margin-bottom:16px}
}
@media print {.personal-focus,.personal-campaigns {display:none}}

body[data-route=home] .metrics {grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:750px) {body[data-route=home] .metrics {grid-template-columns:1fr}}

/* Match the reference's neutral geometry in secondary screens as well. */
.brandpreview .primary,.tour-avatar {background:var(--action-bg);color:var(--action-ink)}
.newsdot {background:var(--ink)}
#leadsbody .board:focus-visible,#leadsbody .columncards:focus-visible {outline-color:var(--focusring)}
@media(max-width:420px) {.personal-intro h1 {font-size:30px}.personal-identity small {font-size:14px}}

@media(max-width:750px) {
 body[data-route=home] .metrics {grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 body[data-route=home] .metric {padding:16px 12px;border-radius:24px}
 body[data-route=home] .metric label {font-size:14px;line-height:1.4;min-height:40px}
 body[data-route=home] .metric strong {font-size:28px;margin:12px 0 0}
 body[data-route=home] .metric small,body[data-route=home] .metricicon {display:none}
}

/* Keep the default neutral; saved customer CI supplies the workspace palette. */
:root:not([data-customer-ci=true]) {--petrol:var(--action-bg)!important;--orange:var(--ink)!important;--accent-ink:var(--ink)!important;--primarytext:var(--action-ink)!important;--accent-button-text:var(--action-ink)!important;--deep:var(--surface3)}
:root[data-theme=dark] {--ambient-a:transparent;--ambient-b:transparent}
.metric.highlight strong {color:var(--ink)}
.metric.highlight .metricicon {background:var(--surface2);color:var(--muted)}
nav button.active:after {box-shadow:none}
.avatar {background:var(--surface2);color:var(--ink)}
.personal-identity>.avatar {background:var(--surface)}
.bulkbar {background:var(--action-bg);color:var(--action-ink);border-color:var(--line)}
.button.primary:hover {background:var(--action-bg);border-color:var(--action-bg);color:var(--action-ink)}
.column.dragover {background:var(--surface3)}

/* Let the Kanban use the workspace width while keeping readable columns. */
@media screen {
  body[data-route=campaign] .content:has(#leadsbody .board) {max-width:none;width:100%}
  #leadsbody .board {gap:20px}
  #leadsbody .board>.column {flex:1 0 320px;width:auto;min-width:320px}
}
@media screen and (max-width:750px) {
  #leadsbody .board {gap:16px}
  #leadsbody .board>.column {flex:0 0 290px;min-width:290px}
}

/* Applicant cards stay closed; profile details open on demand. */
.leadcard.compact-leadcard {padding:20px;text-align:left;min-height:0}
.compact-leadname {display:block;font-size:16px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.compact-leaddates {display:flex;flex-wrap:wrap;gap:14px 24px;margin:16px 0 0}
.compact-leaddates>div {min-width:0}
.compact-leaddates dt {font-size:11px;line-height:1.5;color:var(--muted);margin-bottom:4px}
.compact-leaddates dd {font-size:12px;line-height:1.5;color:var(--ink);margin:0;font-variant-numeric:tabular-nums}
.contacttile .compact-leadcard {border:0;margin:0;background:transparent;box-shadow:none}

/* Keep campaign navigation stable; scroll tab content within its own pane. */
@media screen {
 body:has(#campaignbody) {height:100dvh;overflow:hidden}
 body:has(#campaignbody) main {height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
 body:has(#campaignbody) header {flex-shrink:0}
 #content:has(#campaignbody) {flex:1;min-height:0;display:flex;overflow:hidden}
 .content:has(#campaignbody) {max-width:none;width:100%;min-height:0;display:flex;flex-direction:column;padding-top:24px;padding-bottom:16px}
 .content:has(#campaignbody)>.heading {flex-shrink:0;margin-bottom:12px}
 .content:has(#campaignbody)>.heading h1 {margin-top:0;margin-bottom:0;font-size:28px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .content:has(#campaignbody)>.tabs {flex-shrink:0;margin-bottom:14px}
 #campaignbody {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
 .campaign-create-placeholder {visibility:hidden;pointer-events:none}
 #campaignbody:has(#leadsbody) {overflow:hidden;flex:1;min-height:0;display:flex;flex-direction:column;gap:12px}
 .leadcontrols {flex-shrink:0;max-height:50%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
 .leadcontrols .alpha-counts {margin-bottom:10px}
 .leadcontrols .smartviews {margin-bottom:12px}
 .leadcontrols .toolbar {margin-bottom:0}
 .leadcontrols>.checkboxrow {margin-top:10px}
 .leadcontrols .alpha-filter-options[open]>.alpha-filter-body,.leadcontrols .alpha-view-options[open]>div {position:static;margin-top:8px;box-shadow:none}
 #leadsbody {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
 #leadsbody:has(.board) {overflow:hidden;scrollbar-gutter:auto}
 #leadsbody .board {height:100%;min-height:0;max-height:100%;margin:0}
 #leadsbody .columncards {min-height:0}
 #leadsbody .tablewrap {max-height:100%}
 #leadsbody .tablewrap thead {position:sticky;top:0;z-index:1;background:var(--surface)}
}
@media screen and (max-width:750px) {
 .content:has(#campaignbody) {padding-top:16px;padding-bottom:12px}
 .content:has(#campaignbody)>.heading h1 {font-size:22px}
 .content:has(#campaignbody)>.heading {margin-bottom:10px;gap:10px}
 .content:has(#campaignbody)>.tabs {margin-bottom:10px}
 .leadcontrols .smartviews {flex-wrap:nowrap;overflow-x:auto;white-space:nowrap}
 .leadcontrols .smartviews>* {flex-shrink:0}
}

/* Customer CI applies to navigation, dialogs and all workspace screens. */
:root[data-customer-ci=true] {--deep:var(--surface3)}
:root[data-customer-ci=true] nav button.active {background:var(--ui-accent-soft);color:var(--ui-accent)}
:root[data-customer-ci=true] .tabs button.active {color:var(--ui-accent)}
:root[data-customer-ci=true] .smartviews button.active {background:var(--ui-accent-soft);border-color:var(--ui-accent);color:var(--ui-accent)}
:root[data-customer-ci=true] .metric.highlight strong {color:var(--ui-accent)}
:root[data-customer-ci=true] .personal-focus-icon {color:var(--ui-accent);background:var(--ui-accent-soft)}
:root[data-customer-ci=true] .brand img {height:48px;object-fit:contain;object-position:left center}

/* Native top-layer filter menu keeps the toolbar and results stationary. */
#leadfiltertrigger {width:100%;white-space:nowrap}
#leadfilterpanel {position:fixed;inset:auto;margin:0;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);box-shadow:0 12px 36px #0003;box-sizing:border-box;overflow:auto;overscroll-behavior:contain}
#leadfilterpanel:popover-open {display:flex;flex-direction:column;gap:12px}
#leadfilterpanel::backdrop {background:transparent}
