/* CX24 HMS typography within the existing .ONN workspace. */
[hidden] { display:none!important; }
* { scrollbar-width:thin; scrollbar-color:var(--input) var(--background); }
::selection { background:#b7eaff; color:var(--navy); }
html { scroll-padding-top:80px; }
body { font-size:14px; }
button, a, select { -webkit-tap-highlight-color:transparent; }
button, input, select, textarea { font-family:inherit; line-height:20px; letter-spacing:normal; }
button { border-radius:6px; min-height:40px; font-size:14px; font-weight:600; transition:background-color 150ms,border-color 150ms,color 150ms; }
button:not(:disabled):hover { background:var(--muted); border-color:var(--input); }
button:disabled { opacity:.5; }
button.primary { background:var(--primary); color:var(--primary-foreground); border-color:var(--primary); }
button.primary:not(:disabled):hover { background:var(--primary-hover); border-color:var(--primary-hover); }
button.quiet { background:transparent; }
a { color:var(--accent-foreground); text-underline-offset:4px; }
input,select,textarea { background:var(--card); color:var(--foreground); border-color:var(--input); border-radius:8px; font-size:14px; font-weight:500; caret-color:var(--primary); }
input::placeholder,textarea::placeholder { color:var(--placeholder); opacity:1; }
:is(a,button,input,select,textarea,summary,[tabindex]):focus-visible { outline:3px solid var(--ring); outline-offset:3px; }
.skip { z-index:100; border:1px solid var(--border); border-radius:7px; }
.icon { width:19px; height:19px; stroke-width:1.65; }
h1 { font-size:24px; line-height:32px; font-weight:700; letter-spacing:normal; text-wrap:balance; }
h2 { font-size:16px; line-height:24px; font-weight:700; letter-spacing:normal; }
h3 { font-size:14px; line-height:20px; font-weight:700; }
p { line-height:20px; }
small { font-size:12px; line-height:18px; }
strong,b { font-weight:700; }
pre,code,kbd,samp { font-family:var(--font-code); font-size:12px; line-height:18px; font-weight:400; }
pre { overflow:auto; }
.message-preview { font-family:var(--font-ui); font-size:14px; line-height:22px; font-weight:500; }
.onn-irops-shell { --nav-width:64px; }
.onn-irops-shell.nav-expanded .onn-sidebar { width:240px; }
.onn-sidebar {
  position:fixed; inset:0 auto 0 0; z-index:40; width:var(--nav-width); height:100dvh;
  display:flex; flex-direction:column; padding:0; border:0; background:var(--navy); color:var(--nav-text); overflow:hidden; transition:width 180ms ease-out;
}
.nav-brand-row { display:flex; align-items:center; flex-shrink:0; height:64px; border-bottom:1px solid var(--navy-panel); }
.nav-brand { display:flex; align-items:center; gap:14px; min-width:0; height:100%; padding:0 18px; color:#fff; text-decoration:none; white-space:nowrap; font-size:20px; letter-spacing:-.4px; }
.nav-brand img { flex:none; object-fit:contain; }
.nav-brand-divider { color:#7494a8; margin-inline:4px; }
.nav-desktop-close { display:none; margin-left:auto; min-height:40px; width:36px; flex:0 0 36px; padding:8px; border:0; background:transparent; color:var(--nav-text); }
.nav-expanded .nav-desktop-close { display:grid; place-items:center; }
.nav-expanded .nav-brand { gap:9px; padding-right:0; font-size:17px; }
.nav-expanded .nav-desktop-trigger { visibility:hidden; }
.nav-text { display:none; }
.nav-expanded .nav-text { display:block; }
.onn-nav-scroll { flex:1; min-height:0; overflow-y:auto; overflow-x:hidden; padding:8px 0; overscroll-behavior:contain; scrollbar-color:#365569 var(--navy); }
.nav-group-label { height:30px; display:flex; align-items:center; gap:12px; margin:14px 10px 4px; padding:0 12px; font-size:11px; line-height:20px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; }
.nav-group-label:first-child { margin-top:0; }
.category-mark { display:grid; place-items:center; flex:none; width:20px; height:20px; border-radius:5px; color:var(--cyan); background:#14303e; }
.category-mark .icon { width:14px; height:14px; }
.onn-sidebar .onn-nav-item {
  position:relative; display:flex; align-items:center; gap:12px; width:calc(100% - 20px); min-height:44px;
  margin:2px 10px; padding:10px 12px; border:0; border-radius:6px; background:transparent; color:var(--nav-text);
  text-align:left; text-decoration:none; font-size:14px; line-height:20px; font-weight:500; white-space:nowrap;
}
.onn-nav-item .icon { width:20px; height:20px; flex-shrink:0; }
.onn-sidebar .onn-nav-item:is(:hover,.is-active) { color:#fff; background:var(--navy-panel); }
.onn-nav-item.is-active::before { content:""; position:absolute; inset:10px auto 10px -10px; width:3px; border-radius:0 3px 3px 0; background:var(--cyan); }
.onn-sidebar :is(a,button):focus-visible { outline-color:var(--cyan); outline-offset:-3px; }
.nav-bottom { flex-shrink:0; border-top:1px solid var(--navy-line); padding:6px 0 8px; }
.nav-expand[aria-expanded=true]>.icon { transform:rotate(180deg); }
.onn-sidebar .nav-account { padding:7px 5px; gap:9px; }
.nav-account .nav-text { min-width:0; }
.nav-account strong { display:block; max-width:175px; overflow:hidden; text-overflow:ellipsis; color:#fff; font-size:13px; font-weight:600; }
.nav-account small { display:block; color:var(--nav-text); font-size:12px; margin-top:3px; }
.onn-avatar { width:34px; height:34px; flex:0 0 34px; background:#173c50; color:#bceaff; font-size:12px; }
.nav-mobile-trigger,.nav-mobile-close,.nav-backdrop { display:none; }
.onn-workspace { margin-left:var(--nav-width); min-width:0; }
.workspace-topbar { position:sticky; top:0; z-index:25; display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:64px; padding:10px 28px; background:var(--card); border-bottom:1px solid var(--border); }
.workspace-brand,.workspace-utilities { display:flex; align-items:center; gap:10px; min-width:0; }
.workspace-brand { gap:16px; flex-shrink:0; }
#workspace-jump { width:210px; min-width:0; font-size:14px; font-weight:600; }
.workspace-brand .onn-logo { display:flex; align-items:center; }
.workspace-brand .onn-logo img { width:86px; height:28px; }
.workspace-brand .onn-logo-dark { display:none; }
[data-theme=dark] .workspace-brand .onn-logo-light { display:none; }
[data-theme=dark] .workspace-brand .onn-logo-dark { display:block; }
.workspace-search { display:flex; align-items:center; width:clamp(180px,25vw,320px); height:42px; border:1px solid var(--input); border-radius:7px; background:var(--card); }
.workspace-search input { width:100%; min-width:0; padding:9px 10px; border:0; background:none; font-size:14px; }
.workspace-search button { display:grid; place-items:center; width:40px; flex:0 0 40px; min-height:40px; padding:8px; border:0; background:transparent; }
.workspace-search input:focus-visible { outline-offset:-3px; }
.workspace-icon-button,.theme-trigger { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:42px; padding:9px 11px; font-size:13px; flex-shrink:0; }
.workspace-icon-button { width:42px; padding:9px; }
.theme-sun,[data-theme=dark] .theme-moon { display:none; }
[data-theme=dark] .theme-sun { display:block; }
#main-content { padding:26px 28px 36px; max-width:1800px; margin:auto; }
#main.main { display:flex; flex-direction:column; gap:20px; width:100%; margin:0; padding:0; min-width:0; }
#main>* { min-width:0; margin-bottom:0; }
#main:focus { outline:none; }
.workspace-loading { padding:32px 0; }
.hero.crm-feature-hero { align-items:center; gap:20px; margin:0 0 3px; padding:0; background:none; border:0; box-shadow:none; }
.hero h1 { margin:0 0 4px; }
.hero p { margin:0; max-width:75ch; font-size:14px; }
#main:has(.overview-analytics) .hero h1 { font-size:26px; line-height:34px; font-weight:800; letter-spacing:-.02em; }
.hero-actions { padding:0; justify-content:flex-end; flex-shrink:0; }
.workspace-command { display:inline-flex; align-items:center; justify-content:center; gap:7px; font-size:14px; min-height:40px; padding:8px 12px; }
.workspace-command .icon { width:16px; height:16px; }
.workspace-categories { display:flex; gap:4px; overflow-x:auto; max-width:100%; padding-bottom:1px; border-bottom:1px solid var(--border); scrollbar-width:thin; }
.workspace-categories :is(a,button) { flex:0 0 auto; padding:11px 12px; min-height:44px; color:var(--muted-foreground); background:transparent; text-decoration:none; border:0; border-radius:0; border-bottom:2px solid transparent; font-size:13px; font-weight:600; }
.workspace-categories :is(a,button):hover { background:var(--muted); color:var(--foreground); }
.workspace-categories [aria-current] { color:var(--accent-foreground); border-bottom-color:var(--primary); background:var(--accent); }
.workspace-categories :is(a,button):focus-visible { outline-offset:-3px; }
.workspace-tool-panel { display:flex; align-items:center; gap:20px; padding:16px 20px; border:1px solid var(--border); border-radius:var(--radius); background:var(--card); }
.workspace-tool-heading { flex:0 1 220px; min-width:160px; }
.workspace-tool-heading h2 { margin:0; font-size:14px; line-height:20px; }
.workspace-tool-heading p { margin:4px 0 0; font-size:13px; color:var(--muted-foreground); }
.workspace-toolbar { display:flex; flex:1; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px; min-width:0; }
.workspace-data-note { flex:1 1 200px; color:var(--muted-foreground); font-size:12px; line-height:18px; }
.stats { gap:14px; }
.stats.six { grid-template-columns:repeat(6,minmax(0,1fr)); }
.stat.crm-metric { padding:18px; border-radius:var(--radius); box-shadow:none; }
.stat strong { font-size:24px; line-height:32px; font-weight:800; letter-spacing:-.01em; margin:4px 0; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.stat>span { font-size:13px; line-height:20px; font-weight:600; }
.stat small { font-size:12px; line-height:18px; }
.panel { border-radius:var(--radius); background:var(--card); box-shadow:none; }
.panel-head.crm-feature-panel-head,.panel-head,.panel-body { padding:18px 20px; }
.panel-head h2 { font-size:16px; margin:0; }
.overview-analytics .panel-head h2,.overview-columns .panel-head h2 { font-size:18px; font-weight:800; }
.panel-head p { margin:4px 0 0; }
.crm-feature-panel>.actions { padding:14px 20px; border-bottom:1px solid var(--border); }
.crm-feature-panel>.dictionary-filters { margin:0; padding:18px 20px; background:var(--surface-subtle); border-bottom:1px solid var(--border); }
.grid2 { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
.grid2>* { min-width:0; }
.grid2>.panel { margin-bottom:0; }
.step p { font-size:13px; line-height:20px; }
.table-wrap { max-width:100%; }
.table-wrap:not(.company-directory-table)>table { min-width:600px; }
table { font-size:13px; line-height:20px; font-variant-numeric:tabular-nums; }
th { background:var(--surface-subtle); padding:12px 16px; color:var(--muted-foreground); font-size:12px; line-height:20px; font-weight:600; }
td { padding:14px 16px; border-color:var(--line-soft); }
tbody tr:hover { background:var(--surface-hover); }
td strong { font-size:13px; font-weight:600; }
td small { line-height:18px; }
td>.actions { min-width:160px; max-width:260px; }
td>.actions button { font-size:13px; padding:6px 10px; min-height:34px; }
td>button { font-size:13px; padding:6px 10px; min-height:34px; margin:3px 6px 3px 0; }
td { overflow-wrap:anywhere; }
.domain-proposal-action { display:flex; flex-wrap:wrap; gap:6px; }
[data-action=buyer-proposal],[data-action=domain-assess] { flex:0 0 auto; width:max-content; white-space:nowrap; overflow-wrap:normal; }
.table-wrap:focus-visible { outline-offset:-3px; }
.badge { border:0; border-radius:999px; padding:2px 9px; font-size:12px; line-height:20px; font-weight:600; color:var(--muted-foreground); }
.badge.blue { background:var(--accent); color:var(--accent-foreground); }
.badge.green { background:var(--green-wash); color:var(--green); }
.badge.amber { background:var(--amber-wash); color:var(--amber); }
.badge.red { background:var(--red-wash); color:var(--red); }
.danger,.form-error,.error-state { color:var(--red); }
.error-state { line-height:1.7; }
.empty { padding:44px 20px; }
.empty-icon { background:transparent; width:40px; height:40px; margin-bottom:12px; }
.empty-icon .icon { width:28px; height:28px; }
.empty h3 { font-size:16px; }
.footer { flex-wrap:wrap; font-size:13px; }
.page-foot { flex-wrap:wrap; align-items:baseline; font-size:12px; line-height:18px; }
.page-foot span:last-child { max-width:75ch; }
.form-grid,.campaign-step { border-radius:8px; }
.form-grid>*,.company-filter-grid>* { min-width:0; }
.form-grid label,.dictionary-filters label,.company-filter-grid>label,.discovery-choice-field legend,.company-filter-grid .discovery-choice-field legend { font-size:13px; line-height:20px; font-weight:600; }
.form-grid input:not([type=checkbox]):not([type=radio]),.form-grid select,.form-grid textarea { font-size:14px; font-weight:500; }
.form-grid label:has(>input[type=checkbox]),.form-grid .check-label { display:flex; align-items:flex-start; gap:10px; line-height:1.6; }
.form-grid input[type=checkbox] { width:18px; height:18px; min-height:18px; flex:0 0 18px; margin:2px 0 0; accent-color:var(--primary); }
.hint { font-size:12px; line-height:18px; font-weight:500; }
.note { font-size:13px; line-height:20px; background:var(--surface-subtle); border-radius:8px; }
.research-detail,.llm-assessment { overflow-wrap:anywhere; }
.domain-filter-card,.company-advanced-filters,.calculator-metrics>div { border-radius:8px; }
.calculator-metrics>div { display:grid; align-content:start; gap:6px; }
.calculator-metrics :is(span,small),.company-lead-counts span { font-size:13px; line-height:20px; font-weight:600; }
.calculator-metrics strong,.company-lead-counts strong { font-size:24px; line-height:32px; font-weight:800; letter-spacing:-.01em; }
.company-advanced-filters>summary,.company-selection-bar,.company-subcategories>button { font-size:13px; line-height:20px; }
.company-advanced-filters>summary span,.discovery-choice-option { font-weight:500; }
.email-status-chip { font-size:12px; line-height:18px; font-weight:600; }
.lead-email .email-checked-at,.company-directory-table td:not(:first-child)::before { font-size:12px; line-height:18px; }
.domain-filter-card { margin-top:0; }
.data-validation-panel { padding:14px 20px; border-bottom:1px solid var(--border); font-size:13px; line-height:20px; }
.data-validation-panel .actions { gap:12px; margin-bottom:6px; }
.data-validation-panel p,.data-validation-panel small { margin-top:5px; color:var(--muted-foreground); }
#main>.data-validation-panel { border:1px solid var(--border); border-radius:8px; background:var(--card); }
[data-summary-time].note { border:0; border-radius:0; padding:10px 20px; font-size:12px; line-height:18px; }
html body dialog.modal-content { border-radius:12px; box-shadow:var(--shadow); }
.dialog-head h2 { font-size:16px; line-height:24px; font-weight:700; }
dialog::backdrop { background:rgb(7 16 25 / 56%); }
.dialog-head .quiet { display:grid; place-items:center; width:40px; padding:8px; }
#toast { max-width:min(560px,calc(100vw - 32px)); border:1px solid var(--navy-line); border-radius:9px; background:var(--navy); color:#fff; padding:14px 18px; box-shadow:var(--shadow); }
.auth-page { min-height:100dvh; display:grid; grid-template-columns:minmax(300px,42%) minmax(0,1fr); }
.crm-auth-story { display:flex; flex-direction:column; justify-content:space-between; padding:48px; background:var(--navy); border:0; color:#fff; }
.crm-auth-story-brand,.crm-auth-form-brand { display:flex; align-items:center; gap:16px; }
.crm-auth-story-copy { margin:auto 0; padding:60px 0; max-width:440px; }
.crm-auth-story-copy h3 { font-size:36px; line-height:44px; letter-spacing:-.02em; font-weight:800; margin:0 0 20px; }
.crm-auth-story-copy p { color:var(--nav-text); font-size:15px; line-height:24px; }
.crm-auth-story-copy ul { list-style:none; padding:16px 0 0; margin:0; }
.crm-auth-story-copy li { padding:13px 0; border-bottom:1px solid var(--navy-line); color:var(--nav-text); font-size:14px; }
.auth-page .container { width:100%; max-width:520px; padding:64px 36px; align-self:center; justify-self:center; }
.crm-auth-form-brand { display:none; }
.crm-auth-status { font-size:13px; margin:0 0 22px; }
.auth-page .card { padding:28px; border:1px solid var(--border); background:var(--card); border-radius:12px; }
.auth-page .card-header { padding:0; border:0; margin-bottom:24px; }
body.auth-page .card-header h1 { font-size:24px; line-height:32px; font-weight:800; letter-spacing:-.01em; }
.auth-page .login-kicker { font-size:14px; margin:10px 0 0; }
.auth-page .card-body { padding:0; }
.auth-page #auth button { width:100%; font-weight:700; }
body.auth-page #auth label { font-size:13px; font-weight:700; }
body.auth-page #auth input { font-size:14px; font-weight:500; }
.auth-theme { position:fixed; top:18px; right:20px; }
.buyer-proposal-page .cx24-brand { position:relative; display:block; width:122px; height:40px; }
.buyer-proposal-page .cx24-brand img { position:absolute; inset:0; width:122px; height:40px; object-fit:contain; }
.buyer-proposal-page .cx24-wordmark { clip-path:inset(0 0 0 33%); filter:brightness(0); }
.buyer-proposal-page .crm-feature-hero { display:block; padding:8px 0 24px; }
.buyer-proposal-seller { font-size:13px; margin:12px 0 0; }
.buyer-price-grid strong { font-size:24px; line-height:32px; font-weight:800; letter-spacing:-.01em; }
.workspace-guidance { border:1px solid var(--border); border-radius:8px; background:var(--card); font-size:13px; }
.workspace-guidance>summary { display:flex; align-items:center; flex-wrap:wrap; gap:10px; list-style:none; cursor:pointer; padding:12px 16px; min-height:44px; }
.workspace-guidance>summary::-webkit-details-marker { display:none; }
.workspace-guidance>summary>.icon { color:var(--accent-foreground); }
.workspace-guidance>div { padding:0 20px 18px; max-width:85ch; }
.workspace-guidance p { margin:4px 0 12px; }
.disclosure-label { margin-left:auto; color:var(--accent-foreground); }
.workspace-banner { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:24px; background:var(--navy); color:#fff; border-radius:var(--radius); }
.workspace-banner h2 { font-size:22px; line-height:30px; font-weight:800; letter-spacing:-.01em; margin:0 0 7px; }
.workspace-banner p { max-width:75ch; font-size:14px; color:var(--nav-text); margin:0; }
.banner-actions { display:flex; flex-direction:column; align-items:flex-end; gap:10px; flex-shrink:0; font-size:12px; color:var(--nav-text); }
.banner-actions .text-link { background:var(--primary); color:#fff; padding:10px 14px; border-radius:7px; }
.text-link { display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:600; text-decoration:none; }
.text-link:hover { text-decoration:underline; }
.text-link .icon { width:14px; height:14px; }
.overview-analytics { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); gap:20px; align-items:start; }
.overview-columns { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:20px; align-items:start; }
.overview-main,.overview-support { display:grid; gap:20px; min-width:0; }
.overview-support { padding:0; border:0; background:transparent; }
.overview-main>.panel,.overview-support>.panel,.overview-analytics>.panel { margin:0; }
.chart-bars { display:grid; gap:22px; }
.chart-row-label { display:flex; justify-content:space-between; gap:12px; font-size:13px; margin-bottom:8px; }
.chart-row-note { font-size:12px; line-height:18px; margin:5px 0 0; color:var(--muted-foreground); }
.chart-bars meter { appearance:none; display:block; width:100%; height:12px; border:0; background:var(--muted); border-radius:3px; }
.chart-bars meter::-webkit-meter-bar { height:12px; border:0; background:var(--muted); border-radius:3px; }
.chart-bars meter::-webkit-meter-optimum-value { background:var(--primary); border-radius:3px; }
.chart-bars meter::-moz-meter-bar { background:var(--primary); border-radius:3px; }
.workload-list>div { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 0; border-bottom:1px solid var(--line-soft); font-size:13px; }
.workload-list strong { font-size:24px; line-height:32px; font-weight:800; font-variant-numeric:tabular-nums; }
.workspace-flow { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; padding:20px; }
.workspace-flow>div { border-top:2px solid var(--border); padding-top:12px; }
.workspace-flow h3,.workspace-task h3 { font-size:14px; margin:0 0 6px; }
.workspace-flow p,.workspace-task p { font-size:13px; color:var(--muted-foreground); margin:0 0 10px; }
.workspace-task { padding:18px 20px; border-bottom:1px solid var(--line-soft); }
.workspace-task:last-child { border-bottom:0; }
.workspace-timeline { border-left:1px solid var(--border); padding:0 0 20px 14px; position:relative; }
.workspace-timeline::before { content:""; position:absolute; width:7px; height:7px; background:var(--primary); border-radius:50%; left:-4px; top:5px; }
.workspace-timeline time,.workspace-timeline p { font-size:12px; line-height:18px; color:var(--muted-foreground); margin:0 0 5px; overflow-wrap:anywhere; }
.workspace-timeline strong { color:var(--foreground); font-weight:600; }
.provider-body>p { font-size:13px; color:var(--muted-foreground); }
.provider-body .actions { margin-top:18px; font-size:13px; justify-content:space-between; }
@media(min-width:1450px) { #main-content { padding:32px 36px 40px; } .workspace-topbar { padding-inline:36px; } }
@media(max-width:1100px) {
  #workspace-jump { width:160px; }
  .workspace-topbar { gap:10px; padding-inline:20px; }
  .workspace-brand { gap:10px; }
  .theme-label { display:none; }
  .stats.six { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .overview-columns { grid-template-columns:minmax(0,1fr); }
  .overview-support { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .workspace-tool-panel { align-items:flex-start; }
  .grid2 { grid-template-columns:minmax(0,1fr); }
  .hero.crm-feature-hero { align-items:flex-start; }
  .crm-auth-story { padding:32px; }
}
@media(max-width:900px) {
  .workspace-search { width:180px; }
  .workspace-brand .onn-logo { display:none; }
  .workspace-banner { align-items:flex-start; flex-direction:column; }
  .banner-actions { align-items:flex-start; }
  .workspace-flow { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
  html { scroll-padding-top:140px; }
  .onn-irops-shell { --nav-width:0px; }
  .onn-sidebar,.onn-irops-shell.nav-expanded .onn-sidebar { width:min(280px,calc(100vw - 48px)); transform:translateX(-100%); visibility:hidden; transition:transform 180ms cubic-bezier(.16,1,.3,1),visibility 180ms; }
  .nav-mobile-open { overflow:hidden; }
  .nav-mobile-open .onn-sidebar { visibility:visible; transform:translateX(0); }
  .onn-sidebar .nav-text { display:block; }
  .onn-sidebar .nav-expand,.onn-sidebar .nav-desktop-close { display:none; }
  .nav-brand { padding-inline:18px 8px; font-size:18px; gap:10px; }
  .nav-mobile-close { display:grid; place-items:center; width:44px; min-height:44px; padding:10px; margin-left:auto; border:0; background:transparent; color:var(--nav-text); }
  .nav-backdrop { position:fixed; inset:0; z-index:35; border:0; border-radius:0; width:100%; height:100%; padding:0; background:rgb(7 16 25 / 56%); }
  .nav-mobile-open .nav-backdrop { display:block; }
  .nav-backdrop:hover { background:rgb(7 16 25 / 56%)!important; }
  .workspace-topbar { padding:10px 16px; gap:10px; flex-wrap:wrap; }
  .workspace-brand { gap:10px; flex:1; }
  #workspace-jump { width:100%; max-width:210px; }
  .nav-desktop-trigger { display:none; }
  .nav-mobile-trigger { display:grid; place-items:center; width:44px; min-height:44px; padding:10px; border:0; background:transparent; margin-left:-8px; }
  .workspace-brand .onn-logo img { width:76px; height:26px; }
  .workspace-utilities { display:contents; }
  .workspace-search { order:2; width:100%; height:44px; }
  .workspace-search input { font-size:16px; }
  .workspace-icon-button,.theme-trigger { min-height:44px; width:44px; padding:10px; }
  .theme-label { display:none; }
  #main-content { padding:22px 16px 28px; }
  #main.main { gap:18px; }
  .hero.crm-feature-hero { flex-direction:column; gap:14px; }
  .hero h1 { font-size:24px; }
  .hero p { font-size:14px; }
  .hero-actions { width:100%; justify-content:flex-start; }
  .hero-actions>button { flex:1 1 auto; }
  .workspace-tool-panel { flex-direction:column; gap:12px; padding:16px; }
  .workspace-tool-heading { flex:auto; }
  .workspace-toolbar { width:100%; justify-content:flex-start; gap:8px; }
  .workspace-command { flex:1 1 auto; font-size:14px; }
  .workspace-data-note { flex-basis:100%; order:1; }
  .stats,.stats.six { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .stat.crm-metric { padding:15px; }
  .stat strong { font-size:24px; }
  .panel-head.crm-feature-panel-head,.panel-head,.panel-body { padding:16px; }
  .crm-feature-panel>.actions { padding:14px 16px; }
  .crm-feature-panel>.dictionary-filters { padding:16px; }
  .overview-analytics,.overview-support { grid-template-columns:minmax(0,1fr); }
  .workspace-banner { padding:20px; }
  .workspace-flow { padding:16px; }
  .workspace-guidance>summary>span:not(.badge):not(.disclosure-label) { flex-basis:100%; }
  .step { grid-template-columns:28px minmax(0,1fr); gap:10px 14px; }
  .step button { grid-column:2; justify-self:start; }
  .data-validation-panel { padding:14px 16px; }
  :is(button,.workspace-command,td>.actions button,td>button) { min-height:44px; }
  :is(input:not([type=checkbox]),select,textarea),.form-grid input:not([type=checkbox]):not([type=radio]),.form-grid select,.form-grid textarea,body.auth-page #auth input { font-size:16px; min-height:44px; }
  .lead-email .email-check { min-height:44px!important; width:44px; flex-basis:44px; }
  .page-foot span:last-child { margin-left:0; }
  .auth-page { display:block; }
  .crm-auth-story { display:none; }
  .auth-page .container { padding:90px 20px 32px; }
  .crm-auth-form-brand { display:flex; width:max-content; padding:14px; border-radius:8px; background:var(--navy); margin-bottom:26px; }
  .auth-page .card { padding:24px 20px; }
  .auth-theme { top:16px; right:16px; }
}
/* Daily work stays above setup; disclosures retain all secondary controls. */
details.workspace-tool-panel { display:block; padding:0; }
.workspace-tool-panel>summary,.directory-background>summary { padding:10px 16px; min-height:44px; cursor:pointer; font-size:13px; font-weight:600; }
.workspace-tool-panel .workspace-toolbar { padding:12px 16px; justify-content:flex-start; }
.workspace-extra-tools:empty { display:none; }
.workspace-extra-tools { padding:0 16px 12px; }
.workspace-extra-tools .domain-filter-card,.workspace-extra-tools .catalogue-bulk-panel { margin:8px 0; }
.directory-background { border-top:1px solid var(--border); }
.directory-background>.data-validation-panel { margin:8px 0; }
.company-lead-counts { display:flex; flex-wrap:wrap; gap:8px 24px; padding:10px 16px; }
.company-lead-counts>span { display:flex; align-items:baseline; gap:8px; }
.company-lead-counts strong { font-size:16px; line-height:24px; }
.company-filters { padding:12px 16px; }
.directory-heading .company-lead-counts { border:0; padding:0; margin:0; background:none; gap:8px 20px; }
.directory-heading { flex-wrap:wrap; gap:12px; }
.company-filters>.company-filter-grid { grid-template-columns:minmax(180px,2fr) repeat(2,minmax(130px,1fr)); }
.company-advanced-filters { margin:8px 0; }
.company-advanced-filters>summary { min-height:44px; cursor:pointer; }
.company-filters>.actions { gap:8px; margin-top:8px; }
.active-filters { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:8px 0; }
.active-filters .filter-chip { min-height:40px; white-space:normal; text-align:left; overflow-wrap:anywhere; background:var(--accent); color:var(--accent-foreground); border-color:var(--border); }
.more-contacts>summary { cursor:pointer; min-height:44px; padding-block:10px; color:var(--accent-foreground); font-weight:600; }
.more-contacts .lead-email { margin-top:8px; }
.attention-row { display:flex; align-items:center; gap:16px; padding:16px 20px; border-bottom:1px solid var(--line-soft); color:var(--foreground); text-decoration:none; }
.attention-row:last-child { border-bottom:0; }
.attention-row:hover { background:var(--surface-hover); }
.attention-row>div { flex:1; min-width:0; }
.attention-row small { display:block; color:var(--muted-foreground); margin-top:4px; }
.attention-count { font-size:20px; font-weight:700; font-variant-numeric:tabular-nums; }
.attention-queues>p { padding:16px; }
.automation-setup { list-style:none; padding:0; margin:0; }
.automation-setup>li { display:flex; align-items:center; flex-wrap:wrap; gap:8px 20px; padding:14px 20px; border-bottom:1px solid var(--line-soft); }
.automation-setup strong { flex:0 1 200px; }
.automation-setup span { flex:1 1 200px; color:var(--muted-foreground); }
@media(min-width:761px) {
 .company-filters { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; }
 .company-filters>.company-filter-grid,.company-filters>.active-filters { flex-basis:100%; }
 .company-filters>.company-advanced-filters { flex:1 1 240px; margin:0; }
 .company-filters>.company-advanced-filters[open] { flex-basis:100%; }
 .company-filters>.actions { margin:0; }
}
@media(max-width:760px) {
 .company-filters>.company-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .company-filters>.company-filter-grid>label:has([name=q]) { grid-column:1/-1; }
 .company-lead-counts { gap:6px 16px; }
 .active-filters .filter-chip { min-height:44px; }
 .attention-row { padding:14px 16px; gap:10px; }
 .attention-count { font-size:18px; }
 .automation-setup>li { align-items:flex-start; flex-direction:column; padding:16px; }
 .automation-setup strong,.automation-setup span { flex:auto; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none!important; scroll-behavior:auto!important; } }
@media print {
  .onn-sidebar,.workspace-topbar,.workspace-tool-panel,.workspace-categories,.nav-backdrop { display:none!important; }
  .onn-workspace { margin-left:0; }
  #main-content { padding:0; }
}
