@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --navy:#042C48;
  --navy-2:#043C5C;
  --primary:#0473BB;
  --ink:#102C40;
  --text:#2E3B48;
  --muted:#4A5868;
  --bg:#F3F6FA;
  --surface:#FFFFFF;
  --border:#DDE3EA;
  --ok:#11603A;
  --ok-bg:#E8F5EE;
  --warn:#8A3A05;
  --warn-bg:#FFF6ED;
  --danger:#9A1C12;
  --danger-bg:#FEF3F2;
  --info:#04548A;
  --info-bg:#EAF3FA;
  --neutral:#2E3B48;
  --neutral-bg:#E9EEF3;
  --on-navy-muted:#C9DDEC;
  --font-display:'Plus Jakarta Sans',sans-serif;
  --font-ui:'Manrope',sans-serif;
  --font-mono:'DM Mono',monospace;
  --type-meta:13px;
  --type-secondary:15px;
  --type-body:16px;
  --type-card:20px;
  --type-stat:30px;
  --type-title:44px;
  --type-hero:64px;
  --radius-button:8px;
  --radius-card:12px;
  --radius-pill:999px;
  --control-min:44px;
  --ocean:var(--primary); --aqua:var(--info-bg); --signal:var(--warn);
  --good:var(--ok); --line:var(--border); --paper:var(--bg);
  --shadow:0 4px 16px rgba(4,44,72,.06);
}

.login-page .login-welcome { font-family:var(--font-display); font-size:var(--type-title); font-weight:800; }
.login-page .login-submit,.login-page .login-google,.login-page input { min-height:var(--control-min); border-radius:var(--radius-button); }
.login-page .login-card { border-radius:var(--radius-card); }
* { box-sizing:border-box; }
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
html { background:var(--paper); }
body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.55 Manrope,sans-serif; }
a { color:inherit; }
button,input,select { font:inherit; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline:3px solid rgba(0,125,138,.28); outline-offset:2px;
}
.shell { min-height:100dvh; }
.icon-sprite { position:absolute; width:0; height:0; overflow:hidden; }
.icon { width:1em; height:1em; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.topbar {
  min-height:62px; background:#061b33; color:#e9f1ec; display:flex;
  align-items:center; padding:0 clamp(16px,3vw,34px); gap:12px;
  border-bottom:2px solid var(--signal); position:relative; z-index:20;
}
.brand { display:flex; align-items:center; width:164px; text-decoration:none; flex:0 0 auto; margin-right:12px; }
.brand img { display:block; width:100%; height:auto; }
.nav { display:flex; gap:4px; align-self:stretch; }
.nav a { display:flex; align-items:center; color:#b8c8d9; text-decoration:none; font-weight:800; font-size:11px; padding:0 13px; border-bottom:2px solid transparent; }
.nav a:hover,.nav a.active { color:#fff; border-bottom-color:#57a2ec; }
.topbar-search { width:min(220px,18vw); height:30px; margin-left:auto; border:1px solid #38536d; background:#0b2744; border-radius:5px; color:#b7c8d8; display:flex; align-items:center; padding:0 9px; gap:7px; }
.topbar-search input { min-width:0; width:100%; border:0; outline:0; color:#fff; background:transparent; font-size:11px; }
.topbar-search input::placeholder { color:#9db0c4; }
.topbar-icon { width:34px; height:34px; display:grid; place-items:center; flex:0 0 auto; border:0; border-radius:50%; color:#b7c8d8; background:transparent; cursor:pointer; text-decoration:none; position:relative; }
.topbar-icon:hover { color:#fff; background:rgba(255,255,255,.08); }
.topbar-icon img { width:34px; height:34px; display:block; border-radius:50%; }
.notification-badge { position:absolute; top:0; right:-1px; min-width:14px; height:14px; padding:0 3px; display:grid; place-items:center; border-radius:8px; background:var(--danger); color:#fff; font:700 8px Manrope,sans-serif; }
.notification-menu { position:relative; flex:0 0 auto; }
.notification-menu summary { list-style:none; }
.notification-menu summary::-webkit-details-marker { display:none; }
.notification-menu summary:focus-visible { outline:2px solid var(--signal); outline-offset:3px; }
.notification-menu .notification-popover { width:min(340px,calc(100vw - 32px)); z-index:30; }
.notification-menu .notification-popover>strong { display:flex; justify-content:space-between; }
.notification-list { list-style:none; margin:0; padding:0; max-height:340px; overflow-y:auto; }
.notification-list li+li { border-top:1px solid #e5ecf2; }
.notification-list a { display:block; padding:11px 7px; border-radius:4px; color:var(--ink); text-decoration:none; overflow-wrap:anywhere; }
.notification-list a:hover,.notification-list a:focus-visible { background:#eef6fd; }
.notification-list strong,.notification-list span,.notification-list small { display:block; }
.notification-list strong { font-size:13px; }
.notification-list span { margin-top:4px; color:var(--muted); font-size:12px; }
.notification-list small { margin-top:4px; font-size:12px; color:var(--ocean); }
.notification-empty { font-size:13px; color:var(--muted); }
.notification-view-all { display:block; padding-top:12px; border-top:1px solid #e5ecf2; font-size:12px; color:var(--ocean); }
@media(max-width:760px) { .notification-menu { order:2; }.notification-menu .notification-popover { position:fixed; top:70px; right:16px; } }
.topbar-menu { display:none; }
.viewniverse-menu,.user-menu { position:relative; }
.viewniverse-menu summary,.user-menu summary { list-style:none; }
.viewniverse-menu summary::-webkit-details-marker,.user-menu summary::-webkit-details-marker { display:none; }
.user-menu summary { display:flex; align-items:center; gap:8px; min-width:130px; color:#dce8f2; cursor:pointer; }
.avatar { width:28px; height:28px; display:grid; place-items:center; flex:0 0 auto; border-radius:50%; background:#e8f0f8; color:#061b33; font-size:9px; font-weight:800; }
.user-copy { min-width:0; max-width:120px; }
.user-copy strong,.user-copy small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.user-copy strong { font-size:11px; }.user-copy small { color:#99aec2; font:9px DM Mono,monospace; }
.topbar-popover { position:absolute; top:calc(100% + 12px); right:0; width:230px; padding:13px; border:1px solid #dce5ed; border-radius:7px; background:#fff; color:var(--ink); box-shadow:0 15px 35px rgba(5,24,43,.2); }
.topbar-popover>strong { display:block; margin-bottom:8px; font-size:12px; }
.product-popover span { display:block; padding:7px 8px; border-radius:4px; font-size:10px; font-weight:700; }
.product-popover span small { display:block; margin-left:18px; color:var(--muted); font-weight:500; }
.product-popover span.current { background:#eef6fd; color:var(--ocean); }.product-popover .icon { margin-right:5px; }
.user-popover { width:210px; }.user-popover>strong { overflow-wrap:anywhere; }
.logout { width:100%; border:1px solid #cbd9e4; background:#f4f8fb; color:var(--navy); border-radius:4px; padding:8px 11px; font-size:11px; font-weight:800; cursor:pointer; }
.main { width:100%; max-width:none; margin:0; padding:26px clamp(16px,3vw,42px) 78px; }
.site-footer { min-height:66px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:15px clamp(16px,3vw,42px); background:#061b33; color:#9fb2c4; font-size:9px; }
.site-footer img { width:118px; height:auto; }.footer-trust { display:flex; gap:18px; color:#c1d2df; }
.eyebrow { margin:0 0 9px; color:var(--ocean); font:600 11px DM Mono,monospace; text-transform:uppercase; letter-spacing:.12em; }
.page-title { font:800 clamp(32px,4.2vw,52px)/1.05 'Plus Jakarta Sans',sans-serif; letter-spacing:-.065em; margin:0; }
.lede { color:var(--muted); margin:10px 0 0; max-width:650px; }
.heading-row { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:29px; }
.button {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; border:0;
  background:var(--ocean); color:#fff; text-decoration:none; border-radius:5px;
  padding:14px 18px; font-size:14px; font-weight:800; cursor:pointer;
  transition:transform .18s ease,background .18s ease;
}
.button:hover { transform:translateY(-2px); background:#075A94; }
.button.secondary { background:var(--aqua); color:var(--navy); }
.button.small { padding:9px 11px; font-size:12px; }
.danger-action { background:var(--danger); margin-top:18px; }
.danger-action:hover { background:#8f342a; }
.alert { border-left:4px solid var(--signal); background:#fff7dd; padding:14px 16px; margin:0 0 23px; color:#664b12; }
.alert.error { border-color:var(--danger); background:#fceee9; color:#792c25; }
.system-strip {
  display:grid; grid-template-columns:1fr 1fr; gap:1px; margin-bottom:18px;
  background:var(--line); border:1px solid var(--line); border-radius:8px; overflow:hidden;
}
.system-strip>div { display:flex; align-items:center; gap:11px; background:var(--surface); padding:13px 16px; }
.system-strip strong,.system-strip small,.environment-callout strong,.environment-callout small { display:block; }
.system-strip strong,.environment-callout strong { font-size:14px; }
.system-strip small,.environment-callout small { color:var(--muted); font-size:12px; }
.status-dot { width:10px; height:10px; border-radius:50%; background:var(--muted); flex:0 0 auto; }
.status-dot.completed { background:var(--ocean); box-shadow:0 0 0 4px rgba(14,118,188,.12); }
.status-dot.pending { background:var(--signal); box-shadow:0 0 0 4px rgba(243,187,75,.18); }
.status-dot.dead { background:var(--danger); box-shadow:0 0 0 4px rgba(169,67,53,.12); }
.stats { display:grid; grid-template-columns:1.2fr repeat(4,1fr); gap:12px; margin-bottom:30px; }
.stat { background:var(--surface); border:1px solid var(--line); padding:19px; border-radius:7px; text-decoration:none; cursor:pointer; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.stat:hover { transform:translateY(-2px); border-color:#9FC9E3; box-shadow:0 10px 24px rgba(10,42,67,.09); }
.stat.selected { border-color:var(--ocean); box-shadow:0 0 0 3px rgba(14,118,188,.14); }
.stat.main { background:var(--navy); color:white; }
.stat.main.selected { border-color:#2E9BD6; box-shadow:0 0 0 3px rgba(46,155,214,.24); }
.stat.attention strong { color:var(--danger); }
.stat label { display:block; color:var(--muted); font:600 11px DM Mono,monospace; text-transform:uppercase; letter-spacing:.1em; }
.stat.main label { color:#B8DDF2; }
.stat strong { display:block; font:800 35px/1 'Plus Jakarta Sans',sans-serif; margin-top:11px; letter-spacing:-.06em; }
.workspace { background:var(--surface); border:1px solid var(--line); border-radius:8px; box-shadow:var(--shadow); overflow:hidden; }
.workspace-head { display:flex; justify-content:space-between; align-items:center; padding:20px 22px; border-bottom:1px solid var(--line); }
h2 { font:800 20px 'Plus Jakarta Sans',sans-serif; letter-spacing:-.04em; margin:0; }
.quiet { font:500 12px DM Mono,monospace; color:var(--muted); }
table { width:100%; border-collapse:collapse; }
th { text-align:left; padding:14px 22px; background:#F4F8FB; color:var(--muted); font:600 11px DM Mono,monospace; letter-spacing:.08em; text-transform:uppercase; }
td { padding:17px 22px; border-top:1px solid #E8EEF2; }
.attention-row { background:#fffaf0; }
.company { font-weight:800; }
.contact { color:var(--muted); font-size:13px; }
.error-detail { color:var(--danger); font-size:12px; max-width:360px; margin-top:5px; }
.row-link { color:var(--ocean); font-weight:800; font-size:14px; }
.badge { display:inline-block; padding:5px 8px; border-radius:3px; background:#e5eee8; color:var(--good); font:700 11px DM Mono,monospace; text-transform:uppercase; }
.badge.pending { background:#fff0cf; color:#80621d; }
.badge.dead { background:#f9e4de; color:var(--danger); }
.badge.completed { background:#dcefe7; color:var(--good); }
.empty { padding:60px 28px; text-align:center; }
.empty h2 { margin-bottom:8px; }
.empty p { color:var(--muted); max-width:410px; margin:0 auto 20px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:0 28px; padding:26px; }
.form-grid .full,.form-actions { grid-column:1/-1; }
.field { margin-bottom:18px; }
.field label { display:block; font:700 11px DM Mono,monospace; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.field input,.field select { width:100%; border:1px solid #C8D4DD; background:#FFFFFF; border-radius:4px; color:var(--ink); padding:13px 14px; outline:none; }
.field input:focus,.field select:focus { border-color:var(--ocean); box-shadow:0 0 0 3px rgba(0,125,138,.13); }
.hint { font-size:12px; color:var(--muted); margin:7px 0 0; }
.form-actions { border-top:1px solid var(--line); padding-top:20px; display:flex; justify-content:space-between; align-items:center; gap:15px; }
.form-actions p { font-size:11px; color:var(--muted); margin:3px 0 0; max-width:480px; }
.button-group { display:flex; gap:10px; flex:0 0 auto; }
.detail-grid { display:grid; grid-template-columns:1.25fr .75fr; gap:18px; }
.detail-card { padding:25px; }
.detail-card dl { margin:18px 0 0; display:grid; grid-template-columns:145px 1fr; gap:14px; font-size:15px; }
.detail-card dt { color:var(--muted); }
.detail-card dd { margin:0; font-weight:700; overflow-wrap:anywhere; }
.detail-card dd.total { font-size:18px; color:var(--ocean); }
.section-title { margin-top:18px; }
.action-card { align-self:start; }
.environment-callout { display:flex; gap:12px; align-items:center; padding:14px 17px; margin-bottom:20px; border:1px solid var(--line); background:var(--surface); border-radius:8px; }
.failure-box { margin-top:22px; padding:14px 16px; border-left:4px solid var(--danger); background:#fceee9; color:#792c25; }
.failure-box p { margin:5px 0 0; font-size:12px; }

@media(max-width:900px) {
  .stats { grid-template-columns:1fr 1fr; }
  .stat.main { grid-column:1/-1; }
  .system-strip { grid-template-columns:1fr; }
}
@media(max-width:720px) {
  .topbar { min-height:62px; flex-wrap:wrap; padding-block:12px; gap:8px; }
  .topbar-menu { display:grid; order:0; }.brand { order:1; width:145px; margin-right:auto; }
  .topbar-search { order:5; width:100%; flex-basis:100%; display:none; }
  .nav { display:none; order:6; flex-basis:100%; align-self:auto; overflow:auto; border-top:1px solid #27435e; }
  .nav.mobile-open { display:flex; }.nav a { min-height:40px; padding:0 10px; white-space:nowrap; }
  .topbar>a.topbar-icon { order:2; }.viewniverse-menu { order:3; }.user-menu { order:4; }.user-copy { display:none; }.user-menu summary { min-width:auto; }
  .main { padding-top:29px; }
  .heading-row { align-items:start; flex-direction:column; }
  .workspace { overflow:auto; }
  .form-grid { display:block; padding:20px; }
  .detail-grid { display:block; }
  .detail-grid>*+* { margin-top:16px; }
  .form-actions { display:block; }
  .button-group { margin-top:15px; display:grid; }
  .button-group .button { width:100%; }
  .site-footer { flex-direction:column; align-items:flex-start; }.footer-trust { flex-wrap:wrap; }
  .table-wrap { min-width:0; overflow:visible; }
  .table-wrap table,.table-wrap tbody,.table-wrap tr,.table-wrap td { display:block; width:100%; }
  .table-wrap thead { display:none; }
  .table-wrap tbody { padding:10px; }
  .table-wrap tr { margin-bottom:10px; border:1px solid var(--line); border-radius:7px; background:#fffefa; overflow:hidden; }
  .table-wrap tr:last-child { margin-bottom:0; }
  .table-wrap td { display:grid; grid-template-columns:88px minmax(0,1fr); gap:12px; padding:10px 12px; border-top:1px solid #edf0eb; }
  .table-wrap td:first-child { border-top:0; }
  .table-wrap td::before { content:attr(data-label); color:var(--muted); font:600 9px DM Mono,monospace; letter-spacing:.08em; text-transform:uppercase; padding-top:2px; }
  .table-wrap .attention-row { background:#fffaf0; }
  .detail-card dl { grid-template-columns:105px 1fr; }
}

/* ProposalVIEW production token pass. Keep these overrides in the live sheet. */
body { background:var(--bg); color:var(--text); font:400 var(--type-body)/1.55 var(--font-ui); }
.topbar,.site-footer { background:var(--navy); }
.topbar { min-height:64px; }
.nav a { min-height:var(--control-min); font-size:var(--type-meta); font-weight:700; }
.topbar-search,.brand-switcher,.brand-switcher select,.brand-switcher button,
.records-filters input:not([type=checkbox]),.records-filters select,
.field input,.field select,.field textarea,.member-add input,.member-add select,
.button,.logout,.native-button { min-height:var(--control-min); border-radius:var(--radius-button); }
.button { padding:10px 17px; background:var(--primary); font-size:var(--type-secondary); font-weight:700; }
.button.secondary { color:var(--navy); background:var(--info-bg); }
.button.small { min-height:var(--control-min); padding:8px 12px; font-size:var(--type-meta); }
.page-title,.native-title { font:800 var(--type-title)/1.12 var(--font-display); letter-spacing:-.045em; color:var(--ink); }
.eyebrow,.native-kicker,.customer-kicker,.customer-card-kicker { font:500 var(--type-meta)/1.4 var(--font-mono); letter-spacing:.08em; }
.lede { font-size:var(--type-secondary); color:var(--muted); }
h2 { font:700 var(--type-card)/1.3 var(--font-ui); letter-spacing:-.025em; }
.workspace,.brand-settings-panel,.brand-side-panel,.today-panel,.side-card,.pipeline-card { border-radius:var(--radius-card); }
.badge,.tag,.native-status,.current-version,.version-state { display:inline-flex; align-items:center; padding:5px 10px; border-radius:var(--radius-pill); font:700 var(--type-meta)/1.25 var(--font-ui); white-space:nowrap; text-transform:none; }
.badge { color:var(--neutral); background:var(--neutral-bg); }
.badge.signed,.badge.completed { color:var(--ok); background:var(--ok-bg); }
.badge.sent,.badge.viewed { color:var(--info); background:var(--info-bg); }
.badge.expired,.badge.pending { color:var(--warn); background:var(--warn-bg); }
.badge.replaced { color:var(--neutral); background:var(--neutral-bg); }
.badge.review,.badge.dead { color:var(--danger); background:var(--danger-bg); }
.badge.neutral { color:var(--neutral); background:var(--neutral-bg); }
.badge.info { color:var(--info); background:var(--info-bg); }
.badge.warn { color:var(--warn); background:var(--warn-bg); }
.badge.ok { color:var(--ok); background:var(--ok-bg); }
.badge.danger { color:var(--danger); background:var(--danger-bg); }
th,.pipeline-table th,.records-table th { color:var(--text); font:600 var(--type-meta)/1.4 var(--font-ui); letter-spacing:0; text-transform:none; white-space:nowrap; }
td { font-size:var(--type-body); }
.table-wrap { min-width:0; overflow:auto; }
.table-wrap table { min-width:720px; }
.company,.row-link,.today-open { color:var(--primary); }
.today-list li span,.contact,.hint,.quiet,.error-detail { font-family:var(--font-ui); font-size:var(--type-meta); }
.signature-hero { justify-content:flex-start; padding:32px; border-radius:var(--radius-card); background:var(--navy); }
.hero-label { color:#C9DDEC; font-size:var(--type-secondary); font-weight:700; }
.hero-value { margin:8px 0; font:800 var(--type-hero)/1 var(--font-display); letter-spacing:-.055em; }
.signature-hero>p:not(.hero-label) { font-size:var(--type-secondary); }
.hero-stages { grid-template-columns:repeat(5,minmax(0,1fr)); }
.hero-stages.revenue-stages { grid-template-columns:repeat(3,minmax(0,1fr)); }
.hero-stages.revenue-stages a:last-child { grid-column:auto; }
.hero-stages a { min-height:76px; font-size:var(--type-meta); }
.hero-stages b { font:800 var(--type-stat)/1 var(--font-display); }
.dashboard-stat span,.stat label { color:var(--muted); font:600 var(--type-meta)/1.4 var(--font-ui); letter-spacing:0; text-transform:none; }
.dashboard-stat.all span,.stat.main label { color:#C9DDEC; }
.dashboard-stat strong,.stat strong { font:800 var(--type-stat)/1 var(--font-display); }
.dashboard-stats { grid-template-columns:repeat(6,minmax(0,1fr)); }
.pipeline-table { min-width:780px; }
.pipeline-table th,.records-table th { font-size:var(--type-meta); }
.pipeline-table td,.records-table td { padding:15px 16px; font-size:var(--type-body); }
.pipeline-table td:nth-child(4),.records-table td:nth-child(5) { white-space:nowrap; }
.value-cell { font-weight:700; white-space:nowrap; }
.records-filters { align-items:center; }
.records-filters>label { font-size:var(--type-meta); }
.records-filters input:not([type=checkbox]),.records-filters select { font-size:var(--type-meta); }
.field label,.member-add label,.brand-settings .field label { font:600 var(--type-secondary)/1.4 var(--font-ui); letter-spacing:0; text-transform:none; }
.field input,.field select,.field textarea { border-radius:var(--radius-button); font-size:var(--type-body); }
.team-page { grid-template-columns:220px minmax(0,1fr); }
.settings-rail a { min-height:var(--control-min); display:flex; align-items:center; border-radius:var(--radius-button); }
.settings-rail a.selected,.settings-rail a:hover { background:var(--info-bg); color:var(--navy); }
.native-banner { border:1px solid var(--border); border-left:4px solid var(--info); border-radius:var(--radius-card); background:var(--info-bg); color:var(--info); }
.native-banner.error { border-color:#e4b9b4; border-left-color:var(--danger); background:var(--danger-bg); color:var(--danger); }
.detail-grid,.record-layout { gap:20px; }
.action-panel .button { width:100%; }
.technical-detail { overflow-wrap:anywhere; }
.status-open,.badge.quote { color:var(--neutral); background:var(--neutral-bg); }
.badge.info { color:var(--info); background:var(--info-bg); }
.status-ok { color:var(--ok); background:var(--ok-bg); }
.status-warn { color:var(--warn); background:var(--warn-bg); }
.status-danger { color:var(--danger); background:var(--danger-bg); }
.activity-day { padding:18px 22px 5px; color:var(--ink); font:700 20px var(--font-ui); }
.activity-events { list-style:none; padding:0 22px 12px; margin:0; }
.activity-event { display:grid; grid-template-columns:14px minmax(0,1fr) auto; align-items:start; gap:13px; padding:16px 0; border-bottom:1px solid var(--border); }
.activity-dot { width:10px; height:10px; margin-top:7px; border-radius:50%; background:var(--primary); box-shadow:0 0 0 4px var(--info-bg); }
.activity-event-main { min-width:0; }
.activity-event-main strong { font-size:var(--type-body); }
.activity-event-main p,.activity-event time { margin:4px 0 0; color:var(--muted); font-size:var(--type-meta); }
.activity-event time { white-space:nowrap; }
.form-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,.72fr); gap:20px; align-items:start; }
.form-layout .workspace { min-width:0; }
.form-layout .estimate-panel { position:sticky; top:24px; margin:0; }
.form-layout .form-grid { padding:24px; }
.form-layout .form-actions { grid-column:1/-1; }
.brand-settings .brand-logo-preview { max-width:180px; max-height:64px; min-height:24px; object-fit:contain; }
.brand-settings .accent-swatch { width:48px; height:44px; border-radius:var(--radius-button); }
.client-views { padding:16px; }
.client-views dl { grid-template-columns:1fr; }
.client-views .view-explanation { margin-top:12px; }
@media(max-width:900px) {
  .form-layout { grid-template-columns:1fr; }
  .form-layout .estimate-panel { position:static; grid-row:2; }
}
@media(max-width:720px) {
  .page-title,.native-title { font-size:var(--type-title); }
  .main { padding-inline:16px; }
  .dashboard-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .dashboard-stat.all { grid-column:1/-1; }
  .hero-stages { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hero-stages a:last-child { grid-column:1/-1; }
  .table-wrap { max-width:100%; overflow:auto; }
  .table-wrap table { min-width:760px; }
  .records-filters { align-items:stretch; }
  .records-filters>label,.records-filters .record-search { min-width:100%; }
  .form-layout .form-grid { padding:18px; }
  .activity-event { grid-template-columns:14px minmax(0,1fr); }
  .activity-event time { grid-column:2; }
  .team-page { grid-template-columns:1fr; }
}

/* HotelPORT operations audit: one restrained, legible language across every operator screen. */
body { background:var(--paper); color:var(--ink); }
.topbar { background:#042c48; border-bottom:0; min-height:54px; gap:8px; }
.topbar-search { width:clamp(190px,20vw,260px); flex:0 1 260px; }
.topbar-search input { font-size:12px; }
.nav a { font-size:12px; padding:0 12px; }
.brand { width:142px; }
.main { max-width:1440px; margin:0 auto; padding:28px clamp(18px,3vw,42px) 70px; }
.button { background:#0473bb; border-radius:5px; padding:11px 16px; font-size:13px; }
.button.secondary { color:#123d58; background:#e6f0f6; }
.button:disabled { opacity:.55; cursor:not-allowed; transform:none; }
.page-title { color:#102c40; }
.workspace { border-radius:9px; box-shadow:0 2px 12px rgba(4,44,72,.045); }
.badge { border-radius:14px; background:#e4edf3; color:#31576f; padding:5px 9px; }
.badge.pending { color:#795718; background:#f5eddc; }
.badge.completed { color:#23694f; background:#e4f1ea; }
.badge.dead { color:#943e30; background:#f7e8e3; }
.audit-dashboard { max-width:1400px; margin:0 auto; }
.dash-head { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:20px; }
.dash-tools { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:9px; }
.dash-head .eyebrow { margin-bottom:7px; }
.dash-head .page-title { font-size:clamp(32px,4vw,46px); }
.test-toggle { display:flex; align-items:center; gap:10px; padding:9px 12px; border:1px solid var(--line); border-radius:6px; background:#fff; color:#23475d; }
.test-toggle label { display:flex; align-items:center; gap:8px; font-weight:700; cursor:pointer; }
.test-toggle input,.check-filter input { accent-color:#0473bb; }
.test-toggle span { color:var(--muted); }
.dash-feature-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(320px,.9fr); gap:16px; margin-bottom:18px; }
.signature-hero { min-height:254px; display:flex; flex-direction:column; justify-content:center; padding:26px; border-radius:10px; color:#fff; background:#042c48; }
.hero-label { margin:0; color:#c7dfef; font-weight:700; }
.hero-value { display:block; margin:3px 0 4px; font-family:'Plus Jakarta Sans',sans-serif; font-size:clamp(36px,5vw,54px); font-weight:800; line-height:1.1; letter-spacing:-.055em; }
.signature-hero>p:not(.hero-label) { margin:0; color:#d3e1eb; }
.hero-stages { display:grid; grid-template-columns:repeat(4,1fr); margin-top:22px; border-radius:6px; overflow:hidden; background:#103d5c; }
.hero-stages a { display:grid; gap:4px; min-height:62px; align-content:center; padding:10px 13px; color:#d5e6f0; text-decoration:none; border-right:1px solid rgba(255,255,255,.1); }
.hero-stages a:last-child { border:0; background:#0473bb; color:#fff; }
.hero-stages b { font:800 22px/1 'Plus Jakarta Sans',sans-serif; }
.today-panel { padding:19px 20px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.panel-title { display:flex; justify-content:space-between; align-items:center; padding-bottom:13px; border-bottom:1px solid #e8edf1; }
.panel-title h2 { font-size:17px; }
.panel-title>span { color:var(--muted); }
.today-list { list-style:none; padding:0; margin:0; }
.today-list li { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid #edf1f4; }
.today-list li:last-child { border-bottom:0; }
.today-list li>a:first-child { display:grid; gap:3px; min-width:0; text-decoration:none; }
.today-list li strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.today-list li span { color:var(--muted); }
.today-open { flex:0 0 auto; color:#0473bb; font-weight:800; text-decoration:none; }
.today-empty { color:var(--muted); margin:18px 0; }
.pipeline-head { align-items:center; }
.pipeline-head h2 { font-size:20px; }
.pipeline-head .eyebrow { margin-bottom:4px; }
.pipeline-tabs { display:flex; gap:7px; flex-wrap:wrap; }
.pipeline-tabs a { padding:8px 12px; border:1px solid #e2e9ee; border-radius:18px; color:#3b596c; text-decoration:none; white-space:nowrap; }
.pipeline-tabs a.active,.pipeline-tabs a:hover { color:#fff; border-color:#042c48; background:#042c48; }
.pipeline-table { min-width:0; font-size:13px; }
.pipeline-table th,.records-table th { padding:12px 16px; background:#f7f9fb; color:#516a7a; font-size:12px; }
.pipeline-table td,.records-table td { padding:14px 16px; vertical-align:middle; }
.pipeline-table td small,.records-table td small { display:block; margin-top:3px; color:var(--muted); }
.pipeline-table .company,.records-table .company { color:#193b51; text-decoration:none; }
.pipeline-table .company:hover,.records-table .company:hover { color:#0473bb; text-decoration:underline; }
.value-cell { font-weight:800; white-space:nowrap; }
.pipeline-footer { display:flex; justify-content:space-between; gap:14px; padding:13px 17px; border-top:1px solid var(--line); color:var(--muted); }
.pipeline-footer a { color:#0473bb; font-weight:800; }
.records-workspace { overflow:hidden; }
.records-filters { display:flex; align-items:end; flex-wrap:wrap; gap:12px; padding:17px; border-bottom:1px solid var(--line); background:#fbfcfd; }
.records-filters>label { display:grid; gap:5px; min-width:150px; color:#4d6677; font-weight:700; }
.records-filters .record-search { flex:1 1 230px; }
.records-filters input:not([type=checkbox]),.records-filters select { width:100%; min-height:40px; padding:8px 10px; border:1px solid #cad7df; border-radius:5px; background:#fff; color:var(--ink); }
.records-filters .check-filter { display:flex; align-items:center; gap:7px; min-width:auto; min-height:40px; }
.records-filters .button { min-height:40px; }
.records-summary { display:flex; justify-content:space-between; padding:12px 17px; color:var(--muted); border-bottom:1px solid #edf1f4; }
.records-table { min-width:920px; }
.record-flag { color:#8b5725!important; }
.list-heading { margin-bottom:24px; }
.record-page { max-width:1200px; margin:0 auto; }
.crumbs { display:flex; gap:9px; margin:0 0 20px; color:var(--muted); }
.crumbs a { color:#0473bb; font-weight:700; }
.record-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:23px; }
.record-heading .page-title { margin-top:10px; }
.status-line,.record-actions-top { display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.tag { padding:5px 9px; border:1px solid #d6e2e9; border-radius:14px; background:#edf3f6; color:#31566c; font-weight:700; }
.record-actions-top { align-self:center; }
.record-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:16px; align-items:start; }
.record-main,.record-aside { display:grid; gap:16px; }
.journey-card { padding:0 20px 18px; }
.journey-card .workspace-head { padding:19px 0; }
.journey-card .eyebrow { margin-bottom:4px; }
.journey { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; list-style:none; margin:0; padding:0; }
.journey li { display:grid; align-content:start; gap:7px; min-height:84px; padding-top:12px; border-top:4px solid #dce4e9; }
.journey li.known { border-color:#0473bb; }
.journey li .journey-name { color:#425f71; font-weight:800; }
.journey li strong { font-weight:500; }
.technical-detail { margin-top:20px; padding-top:14px; border-top:1px solid var(--line); }
.technical-detail summary { color:#37566b; font-weight:700; cursor:pointer; }
.technical-detail p { overflow-wrap:anywhere; color:#5a6f7c; }
.detail-facts { padding:18px 20px; }
.detail-facts dl { display:grid; grid-template-columns:1fr 1fr; gap:18px 26px; margin:0; }
.detail-facts dl>div { min-width:0; }
.detail-facts dt { margin-bottom:4px; color:var(--muted); }
.detail-facts dd { margin:0; font-weight:700; overflow-wrap:anywhere; }
.detail-facts dd.fact-total { color:#084d76; font:800 24px/1.2 'Plus Jakarta Sans',sans-serif; }
.action-panel { padding:19px; }
.action-panel h2 { margin:0 0 8px; font-size:17px; }
.action-panel p { color:#496476; line-height:1.55; }
.action-panel .button { width:100%; margin-top:8px; }
.action-panel form+form { margin-top:8px; }
.danger-outline { color:#9a4735; background:#fff!important; border:1px solid #d7a99c; }
.classification-form { margin-top:8px; }
.settings-list { max-width:900px; display:grid; gap:10px; }
.settings-link { display:grid; grid-template-columns:54px 1fr auto; align-items:center; gap:15px; padding:19px; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink); text-decoration:none; }
.settings-link:hover { border-color:#a6c5d8; transform:translateY(-1px); }
.settings-index { color:#0473bb; font:700 13px 'DM Mono',monospace; }
.settings-link strong,.settings-link small { display:block; }
.settings-link small { color:var(--muted); margin-top:3px; }
.settings-link>b { color:#0473bb; }
.settings-sub { margin-left:32px; }
.team-page { display:grid; grid-template-columns:220px minmax(0,1fr); gap:30px; }
.settings-rail { display:grid; align-content:start; gap:4px; }
.settings-rail a { padding:11px 13px; border-radius:5px; color:#34566c; text-decoration:none; font-weight:700; }
.settings-rail a.selected,.settings-rail a:hover { background:#e4eff6; color:#042c48; }
.team-content { min-width:0; max-width:920px; }
.team-content .heading-row { margin-bottom:20px; }
.member-add { padding:18px 20px 12px; }
.member-add form { display:grid; grid-template-columns:minmax(0,1fr) 180px auto; align-items:end; gap:12px; }
.member-add label { display:grid; gap:6px; color:#486477; font-weight:700; }
.member-add input,.member-add select { min-width:0; height:42px; padding:8px 11px; border:1px solid #cad7df; border-radius:5px; background:#fff; }
.member-add .hint { margin:9px 0 0; }
.members-panel { margin-top:16px; }
.members-panel .workspace-head { padding:17px 20px; }
.members-panel .workspace-head p { margin:4px 0 0; color:var(--muted); }
.member-list { list-style:none; margin:0; padding:0; }
.member-list li { display:flex; align-items:center; gap:12px; padding:15px 19px; border-top:1px solid #e9eef1; }
.member-avatar { width:38px; height:38px; display:grid; place-items:center; flex:0 0 auto; border-radius:50%; color:#fff; background:#08436a; font-weight:800; }
.member-info { flex:1; min-width:120px; }
.member-info strong,.member-info>small { display:block; overflow-wrap:anywhere; }
.member-info>small { color:var(--muted); margin-top:3px; }
.member-role { padding:5px 10px; border-radius:13px; background:#e7f0f5; color:#254d66; font-weight:700; }
.member-guard { color:#637783; text-align:right; }
.member-toggle { flex:0 0 auto; }
.estimate-panel { display:grid; grid-template-columns:1fr auto; align-items:center; gap:4px 18px; padding:17px 19px; margin:2px 0 22px; border:1px solid #d5e4ec; border-radius:7px; background:#f2f8fb; }
.estimate-panel .eyebrow { margin-bottom:4px; }
.estimate-panel h2 { font-size:16px; }
.estimate-panel>div p:last-child { margin:4px 0 0; color:var(--muted); }
.estimate-panel>strong { color:#084d76; font:800 26px 'Plus Jakarta Sans',sans-serif; text-align:right; }
.estimate-panel>.hint { grid-column:1/-1; margin:2px 0 0; }
.form-section-label { display:flex; align-items:baseline; gap:10px; padding:6px 0 13px; margin:4px 0 8px; border-bottom:1px solid var(--line); }
.form-section-label span { color:#0473bb; font:700 12px 'DM Mono',monospace; }
.form-section-label strong { color:#193b51; }
.form-section-label small { color:var(--muted); }
.brand-logo-preview { display:block; max-width:180px; max-height:54px; object-fit:contain; margin-top:10px; }
.brand-settings .accent-swatch { display:block; width:50px; height:38px; padding:3px; margin-top:7px; border:1px solid #c8d4dd; border-radius:5px; background:#fff; cursor:pointer; }
.brand-settings .swatch-label { margin:8px 0 0; text-transform:none; letter-spacing:0; }
.brand-settings .brand-mark { background:#e5f0f6; color:#0473bb; }
.site-footer { background:#042c48; }

@media(max-width:1000px) {
  .dash-feature-grid { grid-template-columns:1fr; }
  .record-layout { grid-template-columns:minmax(0,1fr) 290px; }
}
@media(max-width:720px) {
  .main { padding:22px 14px 48px; }
  .dash-head,.record-heading { align-items:flex-start; flex-direction:column; }
  .dash-tools { width:100%; align-items:stretch; flex-direction:column; }
  .test-toggle { align-self:stretch; justify-content:space-between; flex-wrap:wrap; }
  .dash-tools>.button { width:100%; }
  .signature-hero { min-height:0; padding:21px 17px; }
  .hero-stages { grid-template-columns:repeat(2,1fr); }
  .hero-stages a:nth-child(2) { border-right:0; }
  .hero-stages a:nth-child(n+3) { border-top:1px solid rgba(255,255,255,.1); }
  .pipeline-head { align-items:flex-start; flex-direction:column; }
  .pipeline-tabs { width:100%; overflow:auto; flex-wrap:nowrap; padding-bottom:3px; }
  .pipeline-table,.records-table { min-width:0; }
  .records-filters { align-items:stretch; }
  .records-filters>label,.records-filters .record-search { flex:1 1 100%; min-width:0; }
  .records-filters .check-filter { flex:1 1 auto; }
  .records-filters>.button { flex:1 1 100%; }
  .records-summary { align-items:flex-start; flex-direction:column; gap:4px; }
  .table-wrap { overflow:visible; }
  .records-table thead,.pipeline-table thead { display:none; }
  .records-table,.records-table tbody,.records-table tr,.records-table td,
  .pipeline-table,.pipeline-table tbody,.pipeline-table tr,.pipeline-table td { display:block; width:100%; }
  .records-table tbody,.pipeline-table tbody { padding:9px; }
  .records-table tr,.pipeline-table tr { margin-bottom:10px; border:1px solid var(--line); border-radius:7px; background:#fff; overflow:hidden; }
  .records-table tr:last-child,.pipeline-table tr:last-child { margin-bottom:0; }
  .records-table td,.pipeline-table td { display:grid; grid-template-columns:minmax(100px,34%) minmax(0,1fr); gap:10px; padding:10px 12px; border-top:1px solid #edf1f4; }
  .records-table td:first-child,.pipeline-table td:first-child { border-top:0; }
  .records-table td::before,.pipeline-table td::before { content:attr(data-label); color:var(--muted); font-weight:700; }
  .pipeline-footer { align-items:flex-start; flex-direction:column; }
  .record-layout { grid-template-columns:1fr; }
  .record-aside { grid-row:1; }
  .record-actions-top { width:100%; }
  .record-actions-top .button { flex:1; }
  .journey { grid-template-columns:repeat(2,1fr); }
  .detail-facts dl { grid-template-columns:1fr; gap:13px; }
  .team-page { grid-template-columns:1fr; gap:16px; }
  .settings-rail { display:flex; overflow:auto; white-space:nowrap; }
  .settings-rail a { flex:0 0 auto; }
  .member-add form { grid-template-columns:1fr; }
  .member-list li { align-items:flex-start; flex-wrap:wrap; }
  .member-info { flex:1 1 calc(100% - 55px); }
  .member-role { margin-left:50px; }
  .member-guard { flex:1 1 100%; margin-left:50px; text-align:left; }
  .member-toggle { margin-left:50px; }
  .estimate-panel { grid-template-columns:1fr; }
  .estimate-panel>strong { text-align:left; }
  .estimate-panel>.hint { grid-column:auto; }
}

/* Dashboard only: graduated ProposalVIEW operations workspace. */
.dashboard { --dash-blue:#0A66D8; --dash-red:#C13C45; --dash-amber:#A76D00; --dash-purple:#6331C2; --dash-green:#17765B; }
.dashboard-heading { margin-bottom:20px; }
.dashboard .page-title { font-size:clamp(30px,3.5vw,44px); }
.dashboard .lede { font-size:14px; }
.dashboard-overview { display:grid; grid-template-columns:1.18fr .82fr; gap:14px; }
.dashboard-briefing { min-height:183px; padding:18px 21px; overflow:hidden; position:relative; border-radius:8px; color:#fff; background:#061B33; isolation:isolate; }
.dashboard-briefing::after { content:""; position:absolute; z-index:-1; inset:0 0 0 auto; width:57%; opacity:.78; background:linear-gradient(90deg,#061B33 0%,rgba(6,27,51,.38) 47%,transparent 100%),url("/static/brand/proposalview-dashboard-concept-cosmos.jpg") center/cover no-repeat; }
.briefing-heading { display:flex; align-items:center; gap:12px; }
.briefing-kicker { margin:0; font-size:13px; font-weight:800; }
.briefing-kicker span { margin-left:5px; padding:2px 7px; border-radius:10px; background:#204870; color:#bfe3ff; font:500 9px DM Mono,monospace; text-transform:uppercase; }
.briefing-health { margin-left:auto; padding:4px 8px; border:1px solid rgba(148,231,190,.38); border-radius:12px; color:#94e7be; background:#0c4d39; font-size:10px; }
.dashboard-briefing h2 { margin:13px 0 5px; color:#fff; font-size:16px; letter-spacing:-.02em; }
.dashboard-briefing p:not(.briefing-kicker) { max-width:570px; margin:0; color:#d8e3ed; font-size:11px; }
.briefing-actions { display:flex; flex-wrap:wrap; gap:7px; margin-top:14px; }
.briefing-chip { padding:5px 8px; border:1px solid #2d5375; border-radius:13px; color:#deebf6; text-decoration:none; background:#102d4b; font-size:10px; font-weight:700; }
.briefing-chip:hover { border-color:#9fc9e3; background:#173b60; }
.briefing-chip.is-alert { color:#ffd1d1; border-color:#98424a; }
.briefing-link { display:inline-block; margin-top:11px; color:#abd2fc; font-size:10px; font-weight:800; }
.pipeline-card { border:1px solid var(--line); border-radius:8px; overflow:hidden; background:var(--surface); box-shadow:0 3px 12px rgba(21,56,94,.04); }
.pipeline-titlebar { height:36px; display:flex; align-items:center; justify-content:space-between; padding:0 14px; background:#0B2B4B; color:#fff; }
.pipeline-titlebar h2 { font-size:12px; letter-spacing:0; }
.pipeline-titlebar span { color:#b8d4ec; font:500 9px DM Mono,monospace; text-transform:uppercase; }
.pipeline-content { min-height:147px; display:flex; align-items:center; gap:13px; padding:15px; }
.pipeline-ring { width:74px; height:74px; flex:0 0 auto; display:grid; place-items:center; border-radius:50%; background:conic-gradient(var(--dash-amber) 0 25%,var(--dash-blue) 25% 50%,var(--dash-purple) 50% 75%,var(--dash-green) 75%); }
.pipeline-ring::before { content:""; position:absolute; width:54px; height:54px; border-radius:50%; background:#fff; }
.pipeline-ring span { position:relative; color:var(--ink); font:800 16px 'Plus Jakarta Sans',sans-serif; }
.pipeline-total { display:block; font:800 25px/1 'Plus Jakarta Sans',sans-serif; letter-spacing:-.05em; }
.pipeline-caption { color:var(--muted); font-size:10px; white-space:nowrap; }
.pipeline-list { display:grid; gap:5px; margin:0 0 0 auto; padding:0; list-style:none; font-size:10px; }
.pipeline-list a { color:var(--muted); text-decoration:none; }
.pipeline-list li::before { content:""; display:inline-block; width:7px; height:7px; margin-right:6px; border-radius:50%; background:currentColor; }
.pipeline-list li span { margin-left:4px; color:var(--ink); font-weight:800; }
.pipeline-list .preparing { color:var(--dash-amber); }.pipeline-list .sent { color:var(--dash-blue); }.pipeline-list .viewed { color:var(--dash-purple); }.pipeline-list .completed { color:var(--dash-green); }
.dashboard-stats { display:grid; grid-template-columns:1.2fr repeat(4,1fr); gap:10px; margin:14px 0; }
.dashboard-stat { min-height:103px; padding:15px; border:1px solid var(--line); border-radius:7px; background:#fff; color:var(--ink); text-decoration:none; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.dashboard-stat:hover { transform:translateY(-2px); border-color:#9fc9e3; box-shadow:0 8px 20px rgba(10,42,67,.08); }
.dashboard-stat.selected { border-color:var(--dash-blue); box-shadow:0 0 0 3px rgba(10,102,216,.13); }
.dashboard-stat span { display:block; color:var(--muted); font:700 10px DM Mono,monospace; letter-spacing:.08em; text-transform:uppercase; }
.dashboard-stat-icon { display:block; width:15px; height:15px; margin-bottom:7px; color:currentColor; }
.dashboard-stat strong { display:block; margin-top:9px; font:800 29px/1 'Plus Jakarta Sans',sans-serif; letter-spacing:-.05em; }
.dashboard-stat.all { color:#fff; background:var(--navy); }.dashboard-stat.all span { color:#b8ddf2; }
.dashboard-stat.attention strong { color:var(--dash-red); }.dashboard-stat.preparing strong { color:var(--dash-amber); }.dashboard-stat.sent strong { color:var(--dash-blue); }.dashboard-stat.viewed strong { color:var(--dash-purple); }.dashboard-stat.completed strong { color:var(--dash-green); }
.dashboard-workspace-layout { display:grid; grid-template-columns:minmax(0,1fr) 290px; gap:14px; }
.dashboard-workspace { box-shadow:0 3px 12px rgba(21,56,94,.05); }
.dashboard-workspace .workspace-head { padding:17px 18px 10px; align-items:start; }
.dashboard-workspace h2,.dashboard-side h2 { font-size:16px; }
.title-icon { width:13px; height:13px; margin-left:4px; color:#8291a2; vertical-align:middle; }
.icon-link,.briefing-link { display:inline-flex; align-items:center; gap:3px; }
.icon-link .icon,.briefing-link .icon { width:12px; height:12px; }
.briefing-kicker { display:flex; align-items:center; gap:6px; }.briefing-kicker>.icon { width:14px; height:14px; color:#73b9ff; }
.dashboard-new { padding-right:0; gap:12px; }.button-chevron { display:grid; place-items:center; align-self:stretch; padding:0 12px; border-left:1px solid rgba(255,255,255,.3); }
.workspace-filter { margin:4px 0 0; color:var(--muted); font-size:11px; }
.dashboard-tabs { display:flex; gap:20px; overflow:auto; padding:0 18px; border-bottom:1px solid var(--line); }
.dashboard-tabs a { padding:9px 0; border-bottom:2px solid transparent; color:#758396; text-decoration:none; white-space:nowrap; font-size:11px; font-weight:800; }
.dashboard-tabs a:hover,.dashboard-tabs a.active { border-color:var(--dash-blue); color:var(--dash-blue); }
.workspace-filters { display:flex; gap:7px; padding:10px 17px; border-bottom:1px solid var(--line); background:#fbfcfe; }
.workspace-filter-control { min-width:118px; height:29px; display:flex; align-items:center; gap:6px; padding:0 8px; border:1px solid var(--line); border-radius:3px; background:#fff; color:#66778a; }
.workspace-filter-control select,.workspace-filter-control input { min-width:0; width:100%; border:0; outline:0; appearance:none; background:transparent; color:#66778a; font-size:9px; }
.workspace-filter-control>.icon { width:11px; height:11px; flex:0 0 auto; }.workspace-search { min-width:170px; }
.workspace-filter-submit { height:29px; display:inline-flex; align-items:center; gap:5px; padding:0 9px; border:1px solid var(--line); border-radius:3px; background:#fff; color:#66778a; font-size:9px; font-weight:700; cursor:pointer; }
.workspace-filter-submit .icon { width:11px; height:11px; }
.dashboard-workspace .table-wrap { overflow:auto; }
.proposal-table { min-width:780px; font-size:10px; }
.dashboard-workspace .proposal-table th { padding:9px 10px; color:#8492a2; background:#f7f9fb; font:700 8px DM Mono,monospace; white-space:nowrap; }
.dashboard-workspace .proposal-table td { padding:10px; border-top:1px solid #edf1f4; vertical-align:middle; font-size:10px; }
.proposal-table tbody tr { transition:background .15s ease; }.proposal-table tbody tr:hover { background:#f8fbff; }
.table-client { min-width:155px; display:flex; align-items:center; gap:8px; }.table-avatar { width:25px; height:25px; display:grid; place-items:center; flex:none; border-radius:5px; background:#e8f2ff; color:var(--dash-blue); font:800 9px DM Mono,monospace; text-transform:uppercase; }
.table-client .company { display:block; font-size:10px; text-decoration:none; white-space:nowrap; }.table-client small,.table-product small { display:block; color:var(--muted); font-size:8px; }
.table-client small { max-width:180px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.table-product strong { display:block; font-size:9px; }.table-product { min-width:100px; }
.table-status { display:inline-block; max-width:180px; padding:4px 6px; border-radius:3px; background:#edf1f4; color:#66778a; font:800 8px DM Mono,monospace; text-transform:uppercase; }
.table-status small { display:block; margin-top:2px; overflow:hidden; text-overflow:ellipsis; font:500 8px Manrope,sans-serif; text-transform:none; white-space:nowrap; }
.table-status.dead { background:#f9e4de; color:var(--dash-red); }.table-status.pending { background:#fff0cf; color:#80621d; }.table-status.completed { background:#dcefe7; color:var(--dash-green); }.table-status.other { background:#ece7fb; color:var(--dash-purple); }
.dashboard-workspace .quiet { font-size:9px; white-space:nowrap; }.table-next { color:var(--dash-blue); font-size:9px; font-weight:800; text-decoration:none; white-space:nowrap; }.table-more { width:25px; height:25px; display:grid; place-items:center; color:#738498; border-radius:50%; }.table-more:hover { background:#eaf1f7; }.table-more .icon { width:14px; height:14px; }
.dashboard-side { display:grid; align-content:start; gap:14px; }
.side-card { padding:16px; border:1px solid var(--line); border-radius:8px; background:#fff; box-shadow:0 3px 12px rgba(21,56,94,.04); }
.momentum-card dl { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:15px 0; }
.momentum-card dl div { padding:9px; border-radius:5px; background:#f4f8fb; }
.momentum-card dt { color:var(--muted); font-size:9px; }.momentum-card dd { margin:3px 0 0; font:800 18px/1 'Plus Jakarta Sans',sans-serif; }
.momentum-note { padding:10px; margin:0 0 12px; border-radius:5px; background:#f0f5fc; font-size:10px; line-height:1.55; }
.systems-card h2 { margin-bottom:14px; }.system-item { display:flex; gap:9px; align-items:flex-start; padding:11px 0; border-top:1px solid #edf1f4; }.system-item strong,.system-item small { display:block; }.system-item strong { font-size:11px; }.system-item small,.system-user { color:var(--muted); font-size:10px; }.system-user { padding-top:11px; margin:0; border-top:1px solid #edf1f4; overflow-wrap:anywhere; }

@media(max-width:1050px) {
  .dashboard-overview,.dashboard-workspace-layout { grid-template-columns:1fr; }
  .dashboard-side { grid-template-columns:1fr 1fr; }
}
@media(max-width:720px) {
  .dashboard-overview { gap:12px; }.dashboard-briefing { min-height:205px; }.dashboard-briefing::after { width:75%; opacity:.48; }
  .briefing-heading { align-items:flex-start; }.briefing-health { margin-left:auto; }.pipeline-content { justify-content:center; }
  .dashboard-stats { grid-template-columns:repeat(2,1fr); }.dashboard-stat.all { grid-column:1/-1; }.dashboard-stat { min-height:84px; }
  .dashboard-side { grid-template-columns:1fr; }.dashboard-workspace .workspace-head { gap:12px; }.dashboard-workspace .workspace-head .quiet { white-space:nowrap; }
  .workspace-filters { min-width:780px; white-space:nowrap; }
  .dashboard-workspace .table-wrap table { display:table; width:100%; }.dashboard-workspace .table-wrap thead { display:table-header-group; }.dashboard-workspace .table-wrap tbody { display:table-row-group; padding:0; }.dashboard-workspace .table-wrap tr { display:table-row; border:0; background:transparent; }.dashboard-workspace .table-wrap td { display:table-cell; width:auto; padding:10px; border-top:1px solid #edf1f4; }.dashboard-workspace .table-wrap td::before { display:none; }
}

/* Final production cascade: all operator views share the same scale and fonts. */
body :not(svg):not(path) { font-family:var(--font-ui)!important; }
body .eyebrow,body .native-kicker,body .customer-kicker,body .customer-card-kicker { font-family:var(--font-mono)!important; }
body h1,body .page-title,body .native-title,body .sign-title,body .hero-value,
body .dashboard-stat strong,body .stat strong,body .pipeline-ring span,body .pipeline-total,
body .detail-facts dd.fact-total,body .accepted-total { font-family:var(--font-display)!important; }
body :not(h1):not(h2):not(h3):not(h4):not(svg):not(path):not(.page-title):not(.native-title):not(.sign-title):not(.hero-value):not(.hero-stages b):not(.dashboard-stat strong):not(.stat strong):not(.pipeline-ring span):not(.pipeline-total):not(.fact-total):not(.accepted-total) {
  font-size:max(13px,1em)!important;
}
body .page-title,body .native-title,body .sign-title { font-size:var(--type-title)!important; }
body .signature-hero strong.hero-value { font-size:var(--type-hero)!important; line-height:1!important; }
body .dashboard-stat strong,body .stat strong { font-size:var(--type-stat)!important; }
body .signature-hero { justify-content:flex-start; padding:32px; }
body .signature-hero .hero-label,body .signature-hero .hero-stages span { color:var(--on-navy-muted); font-size:var(--type-secondary)!important; }
body .signature-hero .hero-stages span { font-size:var(--type-meta)!important; }
body .signature-hero>p:not(.hero-label) { font-size:var(--type-secondary)!important; }
body .signature-hero .hero-stages a b { font:800 var(--type-stat)/1 var(--font-display)!important; }
body .dashboard-stats { grid-template-columns:repeat(6,minmax(0,1fr)); }
body .hero-stages { grid-template-columns:repeat(5,minmax(0,1fr)); }
body .badge { white-space:nowrap; }
body .age-cell { white-space:nowrap; }
body .row-link,body .today-open { display:inline-flex; align-items:center; min-height:var(--control-min); }
body input[type=checkbox],body input[type=radio] { min-height:var(--control-min)!important; min-width:var(--control-min)!important; border-radius:var(--radius-button)!important; }
body .form-layout .form-actions { display:block; min-width:0; }
body .form-layout .form-actions .button-group { display:grid; gap:var(--type-meta); margin-top:var(--type-meta); }
body .form-layout .form-actions .button { width:100%; min-width:0; white-space:normal; }
body .bulk-toolbar { gap:var(--type-secondary); flex-wrap:wrap; }
body .bulk-toolbar>div { display:grid; gap:var(--type-meta); }
body .bulk-toolbar label { display:grid; gap:var(--type-meta); }
body .muted-value { color:var(--muted); font-weight:400; }
body .link-options { margin-top:14px; border-top:1px solid var(--border); padding-top:12px; }
body .link-options summary { min-height:var(--control-min); display:flex; align-items:center; color:var(--muted); font-weight:700; cursor:pointer; }
body .link-options form { margin-top:8px; }
body .client-views .detail-facts { box-shadow:none; border:0; padding:0; }
body button,body input,body select,body textarea { min-height:var(--control-min)!important; border-radius:var(--radius-button); }
body input[type="hidden"] { display:none; }
[hidden] { display:none!important; }
@media(max-width:720px) {
  body .dashboard-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body .hero-stages { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body .hero-stages a:last-child { grid-column:1/-1; }
  body .table-wrap { overflow:auto; }
  body .records-table,body .pipeline-table { min-width:760px; }
}