/* Vantriq workspace system. Shared tokens and components across both hosts. */
.crm-shell,.portal-shell{--paper:#f4f6fa;--text:#18253d;--muted:#64738a;--muted-2:#738099;--border:#e2e8f1;--border-2:#f0f3f8;--teal:#2f56d9;--teal-dark:#2546b5;--teal-light:#edf2ff;--ink:#14213b;--radius:18px;--shadow-sm:0 2px 4px #17274403,0 12px 30px -22px #17274425;--shadow-md:0 8px 28px -15px #17274425;background:#f4f6fa;color:var(--text);font-size:13px;line-height:1.6}
.crm-shell :is(button,input,select,textarea),.portal-shell :is(button,input,select,textarea){font-family:var(--f-body)}
.crm-shell ::selection,.portal-shell ::selection{background:#dce6ff;color:#14213b}
.crm-shell .content,.portal-shell .portal-main{min-width:0}
/* Navigation and the workspace frame. */
.crm-shell .sidebar{background:radial-gradient(ellipse at 0 0,#263f76 0,transparent 60%),#111d35;border-color:#243657;scrollbar-width:thin;scrollbar-color:#425473 transparent}
.crm-shell .brand{padding:28px 22px;border-bottom:1px solid #ffffff12;gap:12px}
.crm-shell .brand-mark{width:39px;height:39px;background:#ffffff09;border:1px solid #ffffff16;border-radius:12px}
.crm-shell .brand-name{font-size:19px;letter-spacing:-.04em}.crm-shell .brand-sub{font-size:9px;color:#9daecb;letter-spacing:.14em}
.crm-shell .nav{padding:10px 14px 20px}.crm-shell .nav-group-label{font-size:9px;letter-spacing:.14em;color:#8f9fbd;padding:22px 12px 10px}
.crm-shell .nav-item{width:100%;text-align:left;appearance:none;border:1px solid transparent;background:transparent;font-size:12px;font-weight:550;min-height:43px;padding:10px 12px;gap:11px;border-radius:10px;color:#c0cce0;transition:background .16s,border-color .16s,color .16s}
.crm-shell .nav-item svg{width:17px;height:17px;opacity:.85;flex-shrink:0}.crm-shell .nav-item.active{border-color:#6688ed75;background:linear-gradient(110deg,#315bdb,#426de9);box-shadow:0 5px 14px #0002;color:#fff;font-weight:650}
.crm-shell .nav-item:hover:not(.active){background:#ffffff09;border-color:#ffffff0e;color:#fff}.crm-shell .nav-item.active::after{content:'';position:absolute;right:9px;width:4px;height:4px;border-radius:50%;background:#dce6ff}
.crm-shell .nav-badge{background:#ffffff12;color:inherit;border-radius:6px;font-size:10px;padding:1px 6px;margin-right:7px}.crm-shell .sidebar-foot{border-top:1px solid #ffffff10;background:#0c172b40;font-size:10px;color:#95a6c3;padding:20px}
.crm-shell .topbar{min-height:112px;padding:22px 32px;background:#ffffffeb;border-bottom:1px solid #e4eaf4;gap:18px}.crm-shell .topbar h1{font-size:27px;letter-spacing:-.045em;line-height:1.25;color:#17243d}.crm-shell .topbar-sub{font-size:11px;color:#64738a;max-width:76ch}.crm-shell .topbar .workspace-eyebrow{font-size:9px;letter-spacing:.14em;color:#5c70a0;margin-bottom:6px}.crm-shell .topbar-actions{align-items:center;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end}.crm-shell .content{padding:28px 32px 56px}
.workspace-jump-trigger{display:inline-flex;align-items:center;gap:10px;min-height:38px;padding:9px 12px;border:1px solid #e0e7f1;border-radius:10px;background:#f8fafd;color:#5b6d89;font-size:11px;font-weight:600;white-space:nowrap;cursor:pointer}.workspace-jump-trigger svg{width:15px;height:15px}.workspace-jump-trigger kbd{font:10px var(--f-body);padding:1px 5px;border:1px solid #dbe3f0;border-radius:4px;background:#fff;color:#6a7890}.workspace-jump-trigger:hover{border-color:#b8c9f0;background:#f0f5ff;color:#2f56d9}
.portal-shell #app{max-width:1480px;padding:26px 32px 52px}.portal-shell #app:has(.auth-screen){max-width:none;padding:0}.portal-shell .topbar{border-radius:20px;background:radial-gradient(ellipse at 90% -30%,#3f64b485,transparent 65%),#14213b;border:1px solid #2d4265;padding:25px 30px;box-shadow:0 12px 32px -24px #102344a0}.portal-shell .portal-account-heading{margin-top:22px}.portal-shell .company-name{font-size:27px;letter-spacing:-.045em}.portal-shell .topbar .workspace-eyebrow{font-size:9px;letter-spacing:.14em;color:#b6c9f2}.portal-shell .brand-name{font-size:18px}.portal-shell .brand-sub{font-size:9px;letter-spacing:.13em;color:#a8bad8}.portal-shell .portal-header-actions{gap:8px;align-items:center}.portal-shell .portal-header-actions .workspace-jump-trigger{color:#dbe6fb;background:#ffffff08;border-color:#ffffff20}.portal-shell .portal-header-actions kbd{color:#dbe6fb;background:#ffffff0c;border-color:#ffffff22}
.portal-shell .portal-layout{grid-template-columns:218px minmax(0,1fr);gap:26px;margin-top:26px}.portal-shell .portal-navigation{padding:14px 10px;border-radius:16px;border-color:#e1e7f1;box-shadow:0 3px 16px #17274404;gap:3px;max-height:calc(100vh - 48px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#cdd7e8 transparent}.portal-shell .portal-nav-title{font-size:9px;letter-spacing:.14em;color:#7888a1;padding:9px 13px 13px}.portal-shell .portal-navigation .tab{min-height:42px;padding:10px 13px;border:1px solid transparent;border-radius:9px;font-size:11px;font-weight:600;color:#586a84;gap:10px}.portal-shell .portal-navigation .tab.active{border-color:#cbd9ff;background:#edf2ff;color:#2c50c6;box-shadow:none}.portal-shell .portal-navigation .tab:hover:not(.active){background:#f5f8fd;color:#2447b2}.portal-shell .portal-navigation .tab.active .tab-n{background:#dbe5ff;color:#2c50c6}.portal-shell .portal-view-heading{margin-bottom:23px;padding:0 0 20px;border-bottom:1px solid #e2e8f1}.portal-shell .portal-view-heading h1{font-size:29px;letter-spacing:-.045em;margin:5px 0 7px}.portal-shell .portal-view-heading p{font-size:12px;color:#65748b}
/* Surfaces, hierarchy and controls. */
.crm-shell :is(.card,.chart-card,.table-wrap,.prod-card,.agent-card),.portal-shell .card{border:1px solid #e2e8f1;border-radius:16px;background:#fff;box-shadow:var(--shadow-sm)}
.crm-shell :is(.card h3,.chart-card h3),.portal-shell .card h3{font-size:14px;letter-spacing:-.025em;font-weight:650;color:#1e2e4a}.crm-shell .section-title{margin:28px 0 16px}.crm-shell .section-title h2{font-size:17px;font-weight:650}
.crm-shell :is(.btn,.vqa-btn,.vqs-btn,.vqc-btn),.portal-shell :is(.btn,.vqa-btn,.vqs-btn,.vqc-btn){min-height:39px;border-radius:10px;font-size:11px;font-weight:650;padding:10px 15px;line-height:1.4;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}
.crm-shell .btn-primary,.portal-shell .btn-primary{background:linear-gradient(180deg,#4169eb,#2f56d9);border:1px solid #3055d1;color:#fff;box-shadow:0 2px 3px #2a4bb41c,inset 0 1px #ffffff25}.crm-shell .btn-primary:hover,.portal-shell .btn-primary:hover{background:linear-gradient(180deg,#365fdc,#294bc6);box-shadow:0 4px 12px #2f56d926;transform:translateY(-1px)}
.crm-shell .btn-ghost,.portal-shell .btn-ghost{background:#fff;border-color:#dfe6f0;color:#536681}.crm-shell .btn-ghost:hover,.portal-shell .btn-ghost:hover{background:#f6f9ff;border-color:#b6c9ef;color:#2f56d9}.crm-shell .btn-danger,.portal-shell .btn-danger{color:#a63334;background:#fff5f3;border-color:#efd2cd}.crm-shell .btn:disabled,.portal-shell .btn:disabled{transform:none;box-shadow:none;opacity:.55}
.crm-shell .btn-sm,.portal-shell .btn-sm{min-height:33px;padding:7px 11px;font-size:10px}.crm-shell .btn svg,.portal-shell .btn svg{flex-shrink:0}
.crm-shell :is(.field input,.field select,.field textarea,.search-input),.portal-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#fff;border-color:#dce4f0;border-radius:10px;color:#233653;box-shadow:0 1px 2px #1e315008}.crm-shell :is(.field label,.field .label),.portal-shell label{color:#536681}.crm-shell :is(input,select,textarea):focus,.portal-shell :is(input,select,textarea):focus{border-color:#7293e9;box-shadow:0 0 0 3px #2f56d910;outline-offset:2px}
.crm-shell :is(.stage-tabs,.tabs),.portal-shell .tabs:not(.portal-navigation){padding:5px;border:1px solid #e0e7f1;background:#fff;border-radius:12px;gap:5px;box-shadow:0 2px 6px #17274402}.crm-shell :is(.stage-tab,.tab),.portal-shell .tabs:not(.portal-navigation) .tab{padding:9px 14px;border-radius:8px;font-size:11px;font-weight:650;color:#63748e}.crm-shell :is(.stage-tab.active,.tab.active),.portal-shell .tabs:not(.portal-navigation) .tab.active{background:#edf2ff;color:#2f56d9;box-shadow:none}
.crm-shell :is(th,.table-wrap th),.portal-shell th{background:#f7f9fc;border-color:#e7edf5;color:#62728b;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;padding:14px 16px}.crm-shell :is(td,.table-wrap td),.portal-shell td{border-color:#edf1f7;font-size:12px;padding:16px;vertical-align:middle}.crm-shell :is(tbody tr:hover,.row-click:hover),.portal-shell tbody tr:hover{background:#f8faff}.crm-shell td .mono,.portal-shell td .mono{font-size:11px}
.crm-shell .pill,.portal-shell .pill{border-radius:7px;padding:4px 8px;font-size:10px;line-height:1.5;font-weight:650}.portal-shell .portal-main .pill-active{background:#eaf5ef;color:#25745a}.crm-shell .kpi{position:relative;padding:22px;border-radius:16px}.crm-shell .kpi::after{display:none}.crm-shell .kpi .label{color:#64738a;letter-spacing:.03em;font-size:10px;font-weight:650;text-transform:none}.crm-shell .kpi .value{font-family:var(--f-body);font-size:30px;font-weight:750;letter-spacing:-.045em;color:#192b48;line-height:1.2}.crm-shell .kpi .delta{font-size:10px;line-height:1.7}.crm-shell .kpi:before{content:'';display:block;width:22px;height:3px;background:#5e80e5;border-radius:4px;margin-bottom:15px}
/* Page heroes keep the focus on actions; the pattern is decorative. */
.crm-shell .workspace-intro,.portal-shell .workspace-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(110deg,#fff,#f4f7ff);border:1px solid #dce5f7;box-shadow:0 4px 20px #17274404;padding:30px;border-radius:18px;margin-bottom:24px}.crm-shell .workspace-intro::after,.portal-shell .workspace-hero::after{content:'';position:absolute;inset:0 0 0 55%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 100% 50%,#8caef026,transparent 70%),repeating-linear-gradient(135deg,transparent 0 18px,#6787c508 18px 19px)}
.crm-shell .workspace-intro h2,.portal-shell .workspace-hero h2{font-size:29px;letter-spacing:-.045em;color:#1b2e50;margin:8px 0 10px}.crm-shell .workspace-intro p,.portal-shell .workspace-hero p{color:#64738a;font-size:12px;line-height:1.8}.crm-shell .workspace-intro .workspace-eyebrow,.portal-shell .workspace-hero .workspace-eyebrow{color:#4267c3}.crm-shell .workspace-intro .btn-ghost,.portal-shell .workspace-hero .btn-ghost{color:#425f98;border-color:#d5e0f3;background:#fff}
/* Dashboard intelligence, Pulse and Echo. */
.insight-head{margin:28px 0 20px}.insight-head h2{font-size:23px;font-weight:650;color:#1d2e4b}.insight-head p{font-size:11px;color:#64738a}.insight-controls select{font-size:11px;min-height:40px;border-radius:10px;color:#526580}.insight-refresh{border-radius:10px;color:#4767ad}.insight-metrics{gap:16px;margin-bottom:22px}.insight-metric{padding:23px;border-radius:16px;border-color:#dfe7f3;position:relative;overflow:hidden;background:linear-gradient(145deg,#fff 65%,#f8faff)}.insight-metric-top{color:#5c6e87;font-size:11px}.insight-metric-icon{width:38px;height:38px;border-radius:12px;border:1px solid #4367e00b}.insight-metric>strong{font:750 35px var(--f-body);letter-spacing:-.05em;margin-top:14px;color:#1b2d4c}.insight-metric p{font-size:10px;line-height:1.7;color:#65748b}.insight-grid{gap:22px}.insight-card{padding:25px;border-radius:18px;border-color:#e1e8f2;background:#fff;box-shadow:0 4px 20px #17274404}.insight-card-head{margin-bottom:25px}.insight-card h3{font-size:15px;font-weight:700;letter-spacing:-.025em;color:#203352}.insight-card-head p{font-size:11px;line-height:1.6;color:#65748b}.insight-badge{border:1px solid #e5ebf4;background:#f8fafd;color:#62738c;border-radius:7px;font-size:10px}.insight-track{background:#eff3fa;border-radius:7px;height:14px}.insight-track>div{border-radius:7px;box-shadow:inset 0 1px #ffffff25}.insight-funnel{gap:20px}.insight-funnel-label{font-size:11px;color:#60728c}.insight-funnel-label strong{font-size:13px;color:#203352}.insight-funnel-label small{font-size:10px;color:#65748b}.insight-footnote{padding-top:15px;margin-top:18px;border-top:1px solid #edf1f7;font-size:10px;color:#65748b}.insight-chart-frame{height:260px}.insight-legend>div{padding:8px 0;border-bottom:1px solid #f0f3f9;font-size:11px;color:#5c6e87}.insight-legend strong{font-variant-numeric:tabular-nums;color:#203352}.insight-dot{border-radius:50%;width:9px;height:9px}.insight-donut-center strong{font:750 31px var(--f-body);letter-spacing:-.04em}.insight-donut-center span{font-size:11px;color:#65748b}.insight-data summary{font-size:11px;color:#4968b5}.insight-data-scroll{border:1px solid #e4eaf4;border-radius:10px}.insight-data th,.insight-data td{font-size:11px;padding:11px}.insight-bottom{font-size:11px;color:#65748b}.insight-bottom button{font-size:11px}.insight-loading{border-radius:16px;line-height:1.8}
.crm-shell .vqa,.portal-shell .vqa,.crm-shell .vqs,.portal-shell .vqs{--vqa-gap:22px;--text:#182a48;--muted:#64738a;--border:#e2e8f1;--border-2:#eff3fa}
.crm-shell :is(.vqa-card,.vqs-card),.portal-shell :is(.vqa-card,.vqs-card){border-color:#e1e8f2;border-radius:17px;padding:23px;box-shadow:0 4px 20px #17274404}.crm-shell .vqa-hero,.portal-shell .vqa-hero{border-color:#dbe5f8;background:linear-gradient(115deg,#fff 40%,#edf3ff);border-radius:18px;padding:26px}.crm-shell .vqa-hero h2,.portal-shell .vqa-hero h2{font-size:25px;color:#1a2e50;letter-spacing:-.04em}.crm-shell .vqa-hero-mark,.portal-shell .vqa-hero-mark{background:linear-gradient(150deg,#4974ef,#2f56d9);border:1px solid #3159d4;box-shadow:0 5px 12px #2f56d922}.crm-shell .vqe .vqa-hero-mark,.portal-shell .vqe .vqa-hero-mark{background:linear-gradient(150deg,#8669dc,#6652bd);border-color:#7159c7;box-shadow:0 5px 12px #7053c922}.crm-shell .vqe .vqa-eyebrow,.portal-shell .vqe .vqa-eyebrow{color:#7155b8}
.crm-shell :is(.vqa-kpi,.vqs-kpi),.portal-shell :is(.vqa-kpi,.vqs-kpi){border-top-width:1px;padding:21px;background:linear-gradient(150deg,#fff 65%,#f8faff)}.crm-shell .vqa-kpi:first-child,.portal-shell .vqa-kpi:first-child{border-color:#c8d7fb;background:linear-gradient(135deg,#f8faff,#edf3ff)}.crm-shell :is(.vqa-kpi .v,.vqs-kpi .v),.portal-shell :is(.vqa-kpi .v,.vqs-kpi .v){font:750 34px var(--f-body);letter-spacing:-.05em;color:#1b2d4c}.crm-shell .vqa-kpi .l,.portal-shell .vqa-kpi .l{min-height:25px}.crm-shell .vqa-filters,.portal-shell .vqa-filters{border-radius:13px;background:#fff;border-color:#e1e8f2;padding:12px}.crm-shell :is(.vqa-seg,.vqs-seg),.portal-shell :is(.vqa-seg,.vqs-seg){background:#f1f5fb;border-radius:9px}.crm-shell .vqa-plot,.portal-shell .vqa-plot{height:280px}.crm-shell .vqa-plot.sm,.portal-shell .vqa-plot.sm{height:235px}.crm-shell .vqa-card h3,.portal-shell .vqa-card h3{font-size:15px;color:#203352}.crm-shell .vqa-card .vqa-sub,.portal-shell .vqa-card .vqa-sub{font-size:11px;color:#64738a;line-height:1.7}.crm-shell .vqa-bar .tr,.portal-shell .vqa-bar .tr{background:#eef3fa;height:12px}.crm-shell .vqa-bar .fl,.portal-shell .vqa-bar .fl{box-shadow:inset 0 1px #ffffff22}.crm-shell .vqa-section,.portal-shell .vqa-section{margin:28px 0 15px;font-size:17px}.crm-shell .vqa-heat .c,.portal-shell .vqa-heat .c{border-radius:4px;min-height:22px}.crm-shell .vqe-disclosure,.portal-shell .vqe-disclosure{background:#fff;border-color:#dfe7f4;border-radius:13px}.crm-shell .vqs-tabs button.on,.portal-shell .vqs-tabs button.on{color:#2f56d9;border-color:#2f56d9}
/* Directories, pipeline and scheduling share the same detail language. */
.crm-shell .vqc,.portal-shell .vqc{--vqc-card:#fff;--vqc-line:#e2e8f1;--vqc-ink:#1d2e4b;--vqc-muted:#64738a;--vqc-brand:#2f56d9}.crm-shell .vqc-kpi,.portal-shell .vqc-kpi{border-radius:14px;padding:18px;border-color:#e0e7f3;box-shadow:0 4px 16px #17274403}.crm-shell .vqc-kpi .v,.portal-shell .vqc-kpi .v{font-size:29px;letter-spacing:-.04em}.crm-shell .vqc-chip,.portal-shell .vqc-chip{border-radius:8px;padding:8px 11px;font-size:11px}.crm-shell .vqc-table,.portal-shell .vqc-table{border-color:#e1e8f2}.crm-shell .vqc-av,.portal-shell .vqc-av{border-radius:12px}.crm-shell .kanban-col{padding:15px;background:#edf1f7;border:1px solid #e2e8f1;border-radius:16px}.crm-shell .kanban-col-head{font-size:11px;letter-spacing:.03em;padding:3px 1px 13px}.crm-shell .kcard{border-color:#dfe7f2;border-radius:13px;padding:18px;box-shadow:0 2px 4px #17274404;transition:box-shadow .16s,border-color .16s,transform .16s}.crm-shell .kcard:hover{border-color:#b7c9f0;box-shadow:0 8px 18px #234a9410;transform:translateY(-2px)}
.crm-shell .calendar-toolbar,.portal-shell .work-toolbar{padding:14px;background:#fff;border:1px solid #e2e8f1;border-radius:13px;gap:10px}.crm-shell .calendar-scroll,.portal-shell .work-calendar-scroll{border-radius:16px;border-color:#dfe7f2}.crm-shell .calendar-weekday,.portal-shell .work-weekday{background:#f7f9fc;font-size:10px;letter-spacing:.08em;color:#677894}.crm-shell .calendar-day,.portal-shell .work-day{border-color:#e9eef6}.crm-shell .calendar-booking,.portal-shell .work-event{background:#f2f6ff;border-color:#dfe8fc;border-left:3px solid #5a7de0;border-radius:8px;padding:10px;box-shadow:none}.crm-shell .calendar-booking:hover,.portal-shell .work-event:hover{background:#eaf1ff;border-color:#a6bded}.crm-shell .calendar-agenda-card,.portal-shell .work-agenda>div{border:1px solid #e1e8f2;border-radius:15px;box-shadow:var(--shadow-sm)}.portal-shell .work-metric{border-radius:15px;padding:21px}.portal-shell .work-metric strong{font-family:var(--f-body);font-weight:750;font-size:31px;letter-spacing:-.04em}.portal-shell .work-metric::before{height:3px;width:24px;top:18px;left:auto;right:18px;border-radius:3px}.portal-shell .work-table{overflow-x:auto}.portal-shell .work-avatar{border:1px solid #dce6fb;background:#edf3ff;border-radius:11px;color:#4664b6}.portal-shell .wc-log{background:#f7f9fd;border:1px solid #e6edf7;padding:20px;border-radius:13px}
.crm-shell .modal,.crm-shell .panel,.portal-shell .work-dialog{border-color:#dce5f3;border-radius:20px;box-shadow:0 30px 100px #12223b33}.crm-shell .modal-overlay,.portal-shell .work-dialog::backdrop{background:#14213b80;backdrop-filter:blur(5px)}.crm-shell .empty,.portal-shell .empty{color:#65748b;line-height:1.9;padding:35px 20px}.crm-shell .toast,.portal-shell .toast{border-radius:12px;box-shadow:0 12px 35px #12223b26}
/* The sign-in surface carries the same brand without changing access flows. */
.crm-shell .auth-screen,.portal-shell .auth-screen{background:radial-gradient(ellipse at 20% 10%,#e4ecfe,transparent 55%),#f4f6fa}.crm-shell .auth-story,.portal-shell .auth-story{border:1px solid #304a75;border-radius:25px;background:radial-gradient(ellipse at 100% 0,#4169e180,transparent 60%),#14213b;box-shadow:0 20px 50px -25px #183c7c50}.crm-shell .auth-story>p,.portal-shell .auth-story>p{color:#b7c6de}.crm-shell .auth-story h1,.portal-shell .auth-story h1{font-size:43px;letter-spacing:-.05em}.crm-shell .auth-card,.portal-shell .auth-card{border:1px solid #e0e7f3;border-radius:21px;padding:36px;background:#fff;box-shadow:0 15px 50px -32px #16306360}.crm-shell .auth-title,.portal-shell .auth-title{font-size:27px;color:#1c2f50}.crm-shell .auth-description,.portal-shell .auth-description{color:#64738a;font-size:12px}.crm-shell .auth-capabilities span,.portal-shell .auth-capabilities span{border-color:#ffffff20;background:#ffffff07;color:#d0ddf1}
/* Fast navigation is deliberately limited to pages already in the host nav. */
.workspace-jump{width:min(560px,calc(100vw - 28px));max-height:min(680px,85svh);padding:0;border:1px solid #d8e3f5;border-radius:20px;background:#fff;color:#1d2e4b;box-shadow:0 30px 120px #10203e60;overflow:hidden}.workspace-jump::backdrop{background:#10203c80;backdrop-filter:blur(6px)}.workspace-jump-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 24px 17px}.workspace-jump-head h2{font-size:21px;letter-spacing:-.035em;margin:3px 0 0}.workspace-jump-head .workspace-eyebrow{color:#6b7fa1;font-size:9px}.workspace-jump-close{border:1px solid #e3eaf4;border-radius:8px;background:#f8fafd;width:32px;height:32px;font-size:22px;color:#617591}.workspace-jump-search{display:flex;gap:12px;align-items:center;margin:0 24px 14px;padding:0 13px;border:1px solid #bdcff5;border-radius:11px;background:#f8faff;color:#5c78b5}.workspace-jump-search input{width:100%;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;padding:13px 0!important;font-size:14px!important;color:#1d2e4b}.workspace-jump-results{padding:0 12px 12px;max-height:390px;overflow:auto}.workspace-jump-result{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:12px 14px;border:0;border-radius:10px;background:#fff;color:#385071;font:600 12px var(--f-body);text-align:left;cursor:pointer}.workspace-jump-result:hover,.workspace-jump-result:focus{background:#eef3ff;color:#2f56d9;outline:0}.workspace-jump-result small{font-size:10px;color:#7b8ca7}.workspace-jump-result[aria-current=page]{background:#f4f7fc}.workspace-jump-foot{display:flex;justify-content:space-between;gap:15px;padding:12px 24px;border-top:1px solid #e9eef6;background:#f9fbfe;font-size:10px;color:#71839f}.workspace-jump-empty{padding:24px 16px;color:#64738a;font-size:12px;text-align:center}
@media(min-width:1600px){.crm-shell .content{max-width:1700px;margin:0 auto;width:100%}.portal-shell #app{max-width:1560px}}
@media(max-width:1200px){.crm-shell .topbar{padding:22px 24px}.crm-shell .content{padding:24px}.workspace-jump-trigger kbd{display:none}.crm-shell .workspace-jump-trigger span{display:none}.crm-shell .workspace-jump-trigger{padding:10px}.portal-shell .portal-layout{grid-template-columns:195px minmax(0,1fr);gap:22px}.insight-metric{padding:20px}.insight-metric>strong{font-size:31px}.insight-card{padding:22px}.insight-source-layout{gap:18px}}
@media(max-width:860px){.crm-shell .sidebar{width:min(300px,86vw)}.crm-shell .topbar{padding:18px 16px;min-height:100px;align-items:flex-start}.crm-shell .topbar h1{font-size:23px}.crm-shell .topbar-sub{font-size:10px}.crm-shell .content{padding:20px 16px 96px}.portal-shell #app{padding:16px 14px 45px}.portal-shell .topbar{padding:22px;border-radius:16px}.portal-shell .portal-layout{display:block;margin-top:18px}.portal-shell .portal-navigation{flex-direction:row;max-height:none;overflow-y:hidden;overflow-x:auto;position:sticky;top:8px;z-index:15;padding:6px;gap:4px;margin-bottom:24px;border-radius:12px}.portal-shell .portal-nav-title{display:none}.portal-shell .portal-navigation .tab{min-height:40px;padding:10px 12px;flex:0 0 auto;font-size:11px}.portal-shell .portal-view-heading{margin-bottom:20px;padding-bottom:16px}.portal-shell .portal-view-heading h1{font-size:26px}.portal-shell .portal-main{width:100%}.portal-shell .topbar .workspace-jump-trigger span,.portal-shell .topbar .workspace-jump-trigger kbd{display:none}.portal-shell .portal-header-actions .workspace-jump-trigger{padding:8px;min-height:34px}.portal-shell .company-name{font-size:25px}.insight-head h2{font-size:22px}.insight-card-head{margin-bottom:20px}}
@media(max-width:600px){.crm-shell .topbar{flex-wrap:wrap;gap:12px}.crm-shell .topbar-heading{min-width:0;flex:1}.crm-shell .topbar-actions{gap:6px!important}.crm-shell .topbar-actions .btn{font-size:10px;min-height:36px;padding:8px 11px}.crm-shell .topbar .workspace-eyebrow{font-size:8px}.crm-shell .workspace-intro,.portal-shell .workspace-hero{padding:23px 20px;border-radius:16px}.crm-shell .workspace-intro h2,.portal-shell .workspace-hero h2{font-size:25px}.crm-shell .workspace-intro p,.portal-shell .workspace-hero p{font-size:11px}.portal-shell .portal-header-actions{position:static;margin-top:16px;gap:7px}.portal-shell .portal-header-actions .btn{padding:8px 11px;min-height:34px;font-size:10px}.portal-shell .portal-account-heading{margin-top:18px;gap:12px;align-items:flex-start}.portal-shell .company-name{font-size:24px}.portal-shell .status-row{justify-content:flex-start;gap:5px}.portal-shell .topbar .pill{font-size:9px}.portal-shell .portal-view-heading p{font-size:11px}.portal-shell .card{padding:18px}.portal-shell .work-table{padding:0}.portal-shell .two-up{gap:14px}.crm-shell .kpi{padding:18px 15px}.crm-shell .kpi .value{font-size:25px}.insight-metrics{gap:11px;margin-bottom:18px}.insight-metric{padding:17px 14px}.insight-metric>strong{font-size:29px}.insight-metric-icon{width:29px;height:29px;border-radius:9px}.insight-metric-top{font-size:10px}.insight-metric p{font-size:10px}.insight-grid{gap:16px}.insight-card{padding:21px 18px}.insight-card h3{font-size:14px}.insight-card-head p{font-size:10px}.insight-chart-frame{height:240px}.insight-source-layout{grid-template-columns:135px minmax(0,1fr);gap:14px}.insight-donut{width:135px;height:135px}.insight-donut-center strong{font-size:27px}.insight-legend>div{font-size:10px}.insight-controls{gap:7px}.insight-bottom{font-size:10px}.crm-shell :is(.vqa-card,.vqs-card),.portal-shell :is(.vqa-card,.vqs-card){padding:19px 16px}.crm-shell .vqa-hero,.portal-shell .vqa-hero{padding:21px 17px}.crm-shell .vqa-hero h2,.portal-shell .vqa-hero h2{font-size:21px}.crm-shell :is(.vqa-kpi .v,.vqs-kpi .v),.portal-shell :is(.vqa-kpi .v,.vqs-kpi .v){font-size:28px}.crm-shell .vqa-plot,.portal-shell .vqa-plot{height:245px}.crm-shell .vqa-hero-mark,.portal-shell .vqa-hero-mark{flex-basis:40px;width:40px;height:40px}.crm-shell .auth-screen,.portal-shell .auth-screen{padding:20px}.crm-shell .auth-card,.portal-shell .auth-card{padding:28px 23px}.workspace-jump-foot{font-size:9px;padding:12px 18px}.workspace-jump-head{padding:22px 20px 16px}.workspace-jump-search{margin:0 20px 12px}.portal-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.crm-shell .field :is(input,select,textarea){font-size:16px}}
@media(max-width:360px){.insight-source-layout{grid-template-columns:minmax(0,1fr)}.insight-donut{margin:0 auto}.portal-shell .portal-account-heading{flex-direction:column}.insight-controls select{min-width:0}.workspace-jump-foot{flex-direction:column;gap:3px}}
@media(prefers-reduced-motion:reduce){.crm-shell *,.portal-shell *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.workspace-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.workspace-chart-head h3{margin:0 0 6px!important}.workspace-chart-head p{font-size:11px;color:#64738a;margin:0;line-height:1.6}.workspace-usage-plot{position:relative;height:260px}.workspace-pipeline-donut{position:relative}.workspace-donut-label{position:absolute;inset:0 0 40px;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.workspace-donut-label strong{font:750 32px var(--f-body);letter-spacing:-.05em;color:#1b2d4c}.workspace-donut-label span{font-size:11px;color:#65748b}.crm-shell .kpi .label:has(svg){display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px}.crm-shell .kpi:has(.label svg):before{display:none}.crm-shell .kpi .label svg{width:30px;height:30px;padding:6px;border-radius:9px;background:#edf3ff;color:#5275d7;flex-shrink:0}.crm-shell .mobile-nav{background:#ffffffed;border-color:#e0e7f1}.crm-shell .mobile-nav-item{font-size:9px}.crm-shell .mobile-nav-item.active{background:#edf2ff;color:#2f56d9}
@media(max-width:600px){.workspace-usage-plot{height:230px}.workspace-chart-head p{font-size:10px}.workspace-donut-label strong{font-size:28px}.crm-shell .kpi .label svg{width:26px;height:26px;padding:5px}.crm-shell .btn,.portal-shell .btn{min-height:42px}.workspace-jump-trigger{min-height:42px}}

.workspace-jump[open]{display:flex;flex-direction:column}.workspace-jump-results{min-height:0;flex:1;overflow:auto}.workspace-jump-head,.workspace-jump-search,.workspace-jump-foot{flex-shrink:0}.workspace-jump-search:focus-within{box-shadow:0 0 0 3px #2f56d915;border-color:#8daaf0}.workspace-jump-result:focus-visible{outline:2px solid #8daaf0;outline-offset:-2px}

/* Workspace 2: a new frame and dashboard composition, rather than a reskin. */
.workspace-v2.crm-shell,.workspace-v2.portal-shell{--paper:#f1f4f9;background:#f1f4f9}
.workspace-v2.crm-shell .sidebar{width:224px;background:#fff;border-right:1px solid #e2e8f2;box-shadow:4px 0 24px #182e5403;scrollbar-color:#cad5e6 transparent}
.workspace-v2.crm-shell .brand{padding:26px 20px;border-color:#e9eef6}.workspace-v2.crm-shell .brand-name{color:#162743;font-size:20px}.workspace-v2.crm-shell .brand-sub{color:#6e7f99;font-size:8px}.workspace-v2.crm-shell .brand-mark{background:#eef3ff;border-color:#e1e9fb}.workspace-v2.crm-shell .brand-mark svg path{fill:#172b4d}.workspace-v2.crm-shell .brand-mark svg rect{fill:#4169e1}
.workspace-v2.crm-shell .nav{padding:6px 12px 20px}.workspace-v2.crm-shell .nav-group-label{color:#8896ab;font-size:9px;padding:23px 14px 10px;letter-spacing:.12em}.workspace-v2.crm-shell .nav-item{color:#5c6d88;min-height:43px;font-size:11px;padding:11px 13px;border-radius:9px;margin-bottom:4px}.workspace-v2.crm-shell .nav-item svg{opacity:.85}.workspace-v2.crm-shell .nav-item:hover:not(.active){background:#f2f5fb;border-color:#edf1f8;color:#2b4fbd}.workspace-v2.crm-shell .nav-item.active{background:#172c50;color:#fff;border-color:#172c50;box-shadow:0 5px 12px #172c501a}.workspace-v2.crm-shell .nav-item.active::after{background:#91b0ff;width:5px;height:5px}.workspace-v2.crm-shell .nav-badge{background:#eaf0fb;color:#536a92}.workspace-v2.crm-shell .nav-item.active .nav-badge{background:#ffffff1a;color:#d8e4ff}.workspace-v2.crm-shell .sidebar-foot{background:#f7f9fd;border-color:#e8eef7;color:#70809a;padding:20px 18px}.workspace-v2.crm-shell .sidebar-foot>div:first-child{color:#203452!important}.workspace-v2.crm-shell .sidebar-foot a{color:#2f56d9!important}.workspace-v2.crm-shell .mobile-menu-close{background:#f1f5fc;border-color:#dde6f4;color:#263f6c}
.workspace-v2.crm-shell .topbar{min-height:96px;padding:19px 32px;background:#fff}.workspace-v2.crm-shell .topbar h1{font-size:25px}.workspace-v2.crm-shell .topbar-sub{font-size:11px}.workspace-v2.crm-shell .content{padding:26px 32px 50px}.workspace-v2.crm-shell .workspace-jump-trigger{min-width:180px;background:#f4f7fc;border-color:#e4ebf5;justify-content:space-between}
.workspace-v2.portal-shell #app{max-width:1600px;padding:22px 30px 50px}.workspace-v2.portal-shell #app:has(.auth-screen){padding:0;max-width:none}.workspace-v2.portal-shell .topbar{background:#fff;color:#1c3051;border-color:#e0e7f1;border-radius:15px;box-shadow:0 3px 14px #18305503;padding:19px 24px}.workspace-v2.portal-shell .topbar-inner{display:flex;align-items:center;gap:22px}.workspace-v2.portal-shell .brand-row{order:1;flex-shrink:0}.workspace-v2.portal-shell .brand-name{color:#172b4d;font-size:19px}.workspace-v2.portal-shell .brand-sub{color:#7586a0;font-size:8px}.workspace-v2.portal-shell .portal-account-heading{order:2;flex:1;min-width:0;margin:0;padding-left:22px;border-left:1px solid #e4ebf5;align-items:center;gap:18px}.workspace-v2.portal-shell .topbar .workspace-eyebrow{color:#7b8ca5;font-size:8px}.workspace-v2.portal-shell .company-name{font-size:17px;color:#263c5e;margin-top:3px;max-width:270px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-v2.portal-shell .status-row{gap:5px}.workspace-v2.portal-shell .topbar .pill{background:#edf3fb;color:#577197;border:1px solid #e0e8f3;font-size:9px}.workspace-v2.portal-shell .portal-header-actions{order:3;position:static;margin:0;flex-shrink:0;gap:7px}.workspace-v2.portal-shell .portal-header-actions .btn{background:#fff;border-color:#dfe7f2;color:#52698d;font-size:10px}.workspace-v2.portal-shell .portal-header-actions .workspace-jump-trigger{background:#f4f7fc;color:#6a7e9d;border-color:#e2eaf5}.workspace-v2.portal-shell .portal-header-actions kbd{color:#647c9e;background:#fff;border-color:#dae4f3}.workspace-v2.portal-shell .portal-layout{grid-template-columns:205px minmax(0,1fr);margin-top:24px;gap:24px}.workspace-v2.portal-shell .portal-navigation{background:#fff;border-radius:14px;padding:16px 10px}.workspace-v2.portal-shell .portal-navigation .tab{font-size:11px;min-height:43px}.workspace-v2.portal-shell .portal-navigation .tab.active{background:#172c50;border-color:#172c50;color:#fff}.workspace-v2.portal-shell .portal-navigation .tab.active .tab-n{background:#ffffff19;color:#d6e3ff}.workspace-v2.portal-shell .portal-view-heading{border-bottom:0;padding:0;margin:0 0 18px}.workspace-v2.portal-shell .portal-view-heading h1{font-size:23px;margin:3px 0}.workspace-v2.portal-shell .portal-view-heading p{font-size:11px}
/* Dark, editorial welcome panel replaces the old pale banner. */
.workspace-v2 .workspace-intro,.workspace-v2 .workspace-hero{min-height:278px;position:relative;background:radial-gradient(ellipse at 88% -30%,#3764b6aa,transparent 55%),linear-gradient(115deg,#132645,#1b3965);border:1px solid #263f65;border-radius:20px;padding:33px 38px;box-shadow:0 12px 28px -20px #142d6160;align-items:center;margin-bottom:24px;gap:30px}
.workspace-v2 .workspace-intro::before,.workspace-v2 .workspace-hero::before{content:'';position:absolute;right:-65px;top:-145px;width:440px;height:440px;border:1px solid #ffffff10;border-radius:50%;box-shadow:0 0 0 55px #ffffff04,0 0 0 110px #ffffff03;pointer-events:none;z-index:-1}.workspace-v2 .workspace-intro::after,.workspace-v2 .workspace-hero::after{background:radial-gradient(circle at 85% 80%,#72a6ff15,transparent 60%);inset:0;z-index:-1}
.workspace-v2 .workspace-intro h2,.workspace-v2 .workspace-hero h2{font:650 clamp(34px,3.3vw,53px)/1.1 var(--f-head);letter-spacing:-.055em;color:#fff;margin:18px 0 15px}.workspace-v2 .workspace-intro h2 em,.workspace-v2 .workspace-hero h2 em{font-style:normal;color:#9cbcff}.workspace-v2 .workspace-intro p,.workspace-v2 .workspace-hero p{font-size:12px;line-height:1.8;color:#b5c7e3;max-width:46ch;margin:0}.workspace-v2 .workspace-intro .workspace-eyebrow,.workspace-v2 .workspace-hero .workspace-eyebrow{color:#a7c3f3;display:flex;align-items:center;gap:9px;font-size:9px;font-weight:650;letter-spacing:.14em}.workspace-orbit{height:7px;width:7px;background:#76b2fa;border-radius:50%;box-shadow:0 0 0 5px #76b2fa12;flex-shrink:0}.workspace-v2 .workspace-welcome{min-width:0;position:relative}.workspace-hero-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.workspace-hero-pills span{border:1px solid #afc7ed26;background:#ffffff05;color:#c3d5ef;border-radius:6px;padding:5px 9px;font-size:9px;font-weight:550}.workspace-v2 .workspace-intro-actions,.workspace-v2 .workspace-hero-actions{display:flex;flex-direction:column;min-width:165px;gap:10px;z-index:1}.workspace-v2 .workspace-intro .btn-primary,.workspace-v2 .workspace-hero .btn-primary{background:#fff;border-color:#fff;color:#24477f;box-shadow:0 5px 12px #0000000a;min-height:43px}.workspace-v2 .workspace-intro .btn-ghost,.workspace-v2 .workspace-hero .btn-ghost{background:#ffffff08;border-color:#b6cbea30;color:#d5e3f9;min-height:43px}
/* A larger performance chart and action center lead the dashboard. */
.workspace-v2 .insight-head{margin:27px 0 19px}.workspace-v2 .insight-head h2{font-size:23px;letter-spacing:-.04em}.workspace-v2 .insight-head .workspace-eyebrow{font-size:8px;letter-spacing:.16em;color:#8492aa}.workspace-v2 .insight-metrics{gap:14px;margin-bottom:20px}.workspace-v2 .insight-metric{padding:22px;border-radius:15px;background:#fff;min-height:155px;border-color:#e0e8f3;box-shadow:none}.workspace-v2 .insight-metric:first-child{background:linear-gradient(135deg,#3464e1,#234dbd);border-color:#2d59d1;color:#fff;box-shadow:0 9px 18px -12px #2a55c690}.workspace-v2 .insight-metric:first-child .insight-metric-top,.workspace-v2 .insight-metric:first-child p{color:#d2e0ff}.workspace-v2 .insight-metric:first-child>strong{color:#fff}.workspace-v2 .insight-metric:first-child .insight-metric-icon{background:#ffffff16;color:#fff;border-color:#ffffff14}.workspace-v2 .insight-metric>strong{font-size:36px;margin-top:16px}.workspace-v2 .insight-metric p{font-size:10px}
.workspace-v2 .insight-bento{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px;align-items:stretch}.workspace-v2 .insight-bento .insight-trend{grid-column:span 8}.workspace-v2 .insight-focus{grid-column:span 4}.workspace-v2 :is(.insight-conversion,.insight-sources,.insight-age-card){grid-column:span 4}.workspace-v2 .insight-card{padding:24px;border-radius:16px;box-shadow:0 2px 5px #142d6103}.workspace-v2 .insight-card-head{gap:12px;margin-bottom:20px}.insight-overline{display:block;font-size:8px;font-weight:700;letter-spacing:.14em;color:#8090aa;margin-bottom:8px}.workspace-v2 .insight-card h3{font-size:15px;letter-spacing:-.025em}.workspace-v2 .insight-card-head p{font-size:10px;line-height:1.7}.workspace-v2 .insight-trend .insight-chart-frame{height:285px}.workspace-v2 .insight-trend .insight-footnote{max-width:80ch}
.insight-focus{background:linear-gradient(145deg,#1b2f50,#152641);border:1px solid #293d5d;border-radius:16px;color:#fff;padding:24px;display:flex;flex-direction:column;min-width:0}.insight-focus-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.insight-focus .insight-overline{color:#a3b8d9;margin:0}.insight-focus-spark{width:30px;height:30px;display:grid;place-items:center;border:1px solid #ffffff18;border-radius:9px;color:#b3cefa;font-size:17px}.insight-focus h3{font:600 24px/1.3 var(--f-head);letter-spacing:-.04em;color:#fff;margin:9px 0 17px}.insight-focus-row{display:flex;align-items:center;gap:17px;padding:17px 0;border-bottom:1px solid #ffffff12}.insight-focus-row>strong{font:650 34px var(--f-body);letter-spacing:-.04em;color:#9dc0ff;min-width:43px}.insight-focus-row>div{font-size:11px;font-weight:600;color:#e0e9fa;line-height:1.6}.insight-focus-row span{display:block;font-size:9px;font-weight:400;color:#9eafc9;margin-top:3px}.insight-focus>p{font-size:9px;color:#a0b1cb;line-height:1.8;margin:12px 0 19px}.insight-focus-actions{display:grid;gap:8px;margin-top:auto}.insight-focus-actions button{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#ffffff07;border:1px solid #ffffff19;border-radius:8px;color:#dce8fb;padding:11px 13px;font:600 10px var(--f-body);cursor:pointer;text-align:left}.insight-focus-actions button:hover{background:#ffffff10;border-color:#ffffff30}.insight-focus-actions button:first-child{background:#dce8ff;color:#244577;border-color:#dce8ff}
.insight-funnel-visual{display:grid;gap:17px}.insight-funnel-visual svg{width:100%;height:150px;display:block}.insight-funnel-key{display:grid;gap:10px}.insight-funnel-key>div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#687b98}.insight-funnel-key span{display:flex;align-items:center;gap:7px}.insight-funnel-key i{display:inline-block;width:6px;height:6px;border-radius:50%;flex-shrink:0}.insight-funnel-key strong{font-size:12px;color:#253d60;font-variant-numeric:tabular-nums;white-space:nowrap}.insight-funnel-key small{font-size:9px;color:#7e90ab;font-weight:500;margin-left:7px}.workspace-v2 .insight-sources .insight-source-layout{grid-template-columns:minmax(0,1fr);gap:16px}.workspace-v2 .insight-sources .insight-donut{width:155px;height:155px;margin:0 auto}.workspace-v2 .insight-sources .insight-legend{gap:0}.workspace-v2 .insight-legend>div{font-size:10px;padding:8px 0}.workspace-v2 .insight-ageing{gap:26px;margin:35px 0 27px}.workspace-v2 .insight-age-row{grid-template-columns:64px 1fr 24px;font-size:10px;gap:8px}.workspace-v2 .insight-attention{font-size:9px;gap:12px}.workspace-v2 .insight-footnote{font-size:9px}.workspace-v2 .insight-bottom{font-size:10px}.workspace-v2 .kpi-row{gap:13px;margin:0 0 8px}.workspace-v2.crm-shell .kpi{padding:19px;border-radius:13px;background:#fff}.workspace-v2.crm-shell .kpi .value{font-size:26px}.workspace-v2.crm-shell .kpi .label{font-size:9px}
/* Other modules inherit the same new frame and stronger content hierarchy. */
.workspace-v2 .vqa-hero{background:linear-gradient(110deg,#172c50,#244777);border-color:#284b7d;border-radius:17px;min-height:145px;padding:28px}.workspace-v2 .vqa-hero h2{color:#fff;font-size:30px}.workspace-v2 .vqa-hero p{color:#b9cce9;font-size:12px}.workspace-v2 .vqa-hero .vqa-eyebrow{color:#9ebbec;letter-spacing:.15em}.workspace-v2 .vqa-hero-mark{background:#ffffff0b;border-color:#ffffff20;box-shadow:none;color:#b9d0ff;width:57px;height:57px;flex-basis:57px}.workspace-v2 .vqe .vqa-hero{background:linear-gradient(110deg,#30234f,#514077);border-color:#5d4c83}.workspace-v2 .vqe .vqa-hero .vqa-eyebrow{color:#c6b7eb}.workspace-v2 .vqe .vqa-hero-mark{background:#ffffff0a;border-color:#ffffff20;color:#d2c5fa}.workspace-v2 .vqa-period-badge{background:#ffffff0a;border-color:#ffffff20;color:#d5e4fb}.workspace-v2 .vqa-kpis{gap:14px}.workspace-v2 .vqa-kpi:first-child{background:#edf3ff;border-color:#c9d9fb}.workspace-v2 .vqa-card h3{font-size:16px}.workspace-v2 .vqa-plot{height:300px}.workspace-v2 .vqa-filters{border-radius:11px}.workspace-v2 .vqs-top h2{font-size:26px}.workspace-v2 .vqa-section{font-size:18px}.workspace-v2 .stage-tabs{box-shadow:none;border-radius:10px}.workspace-v2 .kanban-col{background:#e8edf5;border-radius:13px;padding:15px}.workspace-v2 .kcard{border-radius:11px;box-shadow:0 3px 7px #1b365d08}.workspace-v2 .table-wrap th,.workspace-v2 .work-table th{background:#eaf0f8;color:#536b8e;font-size:9px;letter-spacing:.1em}.workspace-v2 .btn-primary{background:#2659d8;border-color:#2659d8;border-radius:8px;box-shadow:0 4px 8px #2659d815}.workspace-v2 .btn-ghost{border-radius:8px}.workspace-v2 .calendar-weekday,.workspace-v2 .work-weekday{background:#eaf0f8;color:#5d7497}
@media(max-width:1250px){.workspace-v2 .insight-bento .insight-trend{grid-column:span 7}.workspace-v2 .insight-focus{grid-column:span 5}.workspace-v2 .insight-focus h3{font-size:22px}.workspace-v2.portal-shell .status-row{display:none}.workspace-v2.portal-shell .company-name{max-width:210px}.workspace-v2 .workspace-intro,.workspace-v2 .workspace-hero{flex-direction:row;align-items:center}.workspace-v2 .workspace-intro-actions,.workspace-v2 .workspace-hero-actions{min-width:145px;width:auto}.workspace-v2 .workspace-intro h2,.workspace-v2 .workspace-hero h2{font-size:39px}.workspace-v2 .workspace-intro,.workspace-v2 .workspace-hero{padding:30px}}
@media(max-width:1000px){.workspace-v2 .insight-bento .insight-trend,.workspace-v2 .insight-focus{grid-column:span 12}.workspace-v2 :is(.insight-conversion,.insight-sources,.insight-age-card){grid-column:span 6}.workspace-v2 .insight-age-card{grid-column:span 12}.workspace-v2 .insight-focus{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.workspace-v2 .insight-focus-heading,.workspace-v2 .insight-focus h3{grid-column:1/-1}.workspace-v2 .insight-focus h3 br{display:none}.workspace-v2 .insight-focus-actions{grid-column:2;grid-row:3/5;align-self:center}.workspace-v2 .insight-focus-row{grid-column:1}.workspace-v2 .insight-focus>p{grid-column:1}.workspace-v2.portal-shell .portal-header-actions kbd{display:none}.workspace-v2.portal-shell .portal-header-actions .workspace-jump-trigger span{display:none}.workspace-v2.portal-shell .portal-account-heading{padding-left:15px}.workspace-v2.portal-shell .topbar-inner{gap:15px}.workspace-v2.portal-shell .company-name{max-width:180px}}
@media(max-width:860px){.workspace-v2.crm-shell .sidebar{width:min(300px,86vw)}.workspace-v2.crm-shell .topbar{padding:18px 16px}.workspace-v2.crm-shell .content{padding:22px 16px 96px}.workspace-v2.crm-shell .workspace-jump-trigger{min-width:0}.workspace-v2.portal-shell #app{padding:14px 13px 45px}.workspace-v2.portal-shell .topbar{padding:16px 18px;border-radius:12px}.workspace-v2.portal-shell .portal-layout{display:block;margin-top:20px}.workspace-v2.portal-shell .portal-navigation{padding:6px;gap:3px;border-radius:11px;top:8px}.workspace-v2.portal-shell .portal-navigation .tab{min-height:40px}.workspace-v2.portal-shell .portal-account-heading{display:none}.workspace-v2.portal-shell .portal-header-actions{margin-left:auto}.workspace-v2.portal-shell .brand-name{font-size:17px}.workspace-v2.portal-shell .portal-header-actions .btn{min-height:34px;padding:8px 10px;font-size:9px}.workspace-v2.portal-shell .portal-view-heading{margin-bottom:16px}.workspace-v2.portal-shell .portal-view-heading h1{font-size:24px}.workspace-v2 .workspace-intro,.workspace-v2 .workspace-hero{padding:28px;min-height:245px}.workspace-v2 .workspace-intro h2,.workspace-v2 .workspace-hero h2{font-size:37px}.workspace-v2 .insight-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.workspace-v2 .workspace-intro,.workspace-v2 .workspace-hero{padding:25px 23px;display:block;min-height:0;border-radius:16px}.workspace-v2 .workspace-intro h2,.workspace-v2 .workspace-hero h2{font-size:36px;margin-top:17px}.workspace-v2 .workspace-intro p,.workspace-v2 .workspace-hero p{font-size:11px;max-width:32ch}.workspace-v2 .workspace-intro .workspace-eyebrow,.workspace-v2 .workspace-hero .workspace-eyebrow{font-size:8px;letter-spacing:.1em}.workspace-v2 .workspace-intro-actions,.workspace-v2 .workspace-hero-actions{display:grid;grid-template-columns:1fr 1fr;margin-top:24px;min-width:0;width:100%;gap:8px}.workspace-v2 .workspace-intro-actions .btn,.workspace-v2 .workspace-hero-actions .btn{padding:10px 8px;font-size:10px;min-width:0}.workspace-hero-pills{margin-top:17px;gap:6px}.workspace-hero-pills span{font-size:8px}.workspace-v2 .insight-metric{padding:19px 15px;min-height:147px;border-radius:13px}.workspace-v2 .insight-metric>strong{font-size:32px}.workspace-v2 .insight-metric-top{font-size:10px}.workspace-v2 .insight-metric p{font-size:9px}.workspace-v2 .insight-bento{grid-template-columns:minmax(0,1fr);gap:16px}.workspace-v2 .insight-bento>*{grid-column:1!important}.workspace-v2 .insight-focus{display:flex;gap:0;padding:23px}.workspace-v2 .insight-focus h3 br{display:block}.workspace-v2 .insight-focus-row{padding:15px 0}.workspace-v2 .insight-focus-actions{width:100%}.workspace-v2 .insight-card{padding:22px 18px}.workspace-v2 .insight-trend .insight-chart-frame{height:245px}.workspace-v2 .insight-funnel-visual{grid-template-columns:1fr 1fr;gap:16px;align-items:center}.workspace-v2 .insight-funnel-visual svg{height:180px}.workspace-v2 .insight-funnel-key>div{display:block;font-size:9px}.workspace-v2 .insight-funnel-key strong{display:block;margin:4px 0 0 13px}.workspace-v2 .insight-sources .insight-source-layout{grid-template-columns:140px minmax(0,1fr);gap:16px}.workspace-v2 .insight-sources .insight-donut{width:140px;height:140px}.workspace-v2 .insight-focus h3{font-size:26px}.workspace-v2 .insight-head h2{font-size:22px}.workspace-v2 .vqa-hero{padding:24px 18px;min-height:150px}.workspace-v2 .vqa-hero h2{font-size:25px}.workspace-v2 .vqa-hero p{font-size:11px}.workspace-v2 .vqa-hero-mark{width:39px;height:39px;flex-basis:39px}.workspace-v2 .vqa-plot{height:250px}.workspace-v2.portal-shell .topbar-inner{gap:8px;flex-wrap:wrap}.workspace-v2.portal-shell .portal-header-actions{gap:5px}.workspace-v2.portal-shell .portal-header-actions .btn{padding:8px;font-size:9px}.workspace-v2.portal-shell .brand-row{gap:6px}.workspace-v2.portal-shell .brand-name{font-size:15px}.workspace-v2.portal-shell .brand-sub{font-size:7px}.workspace-v2.portal-shell .topbar{padding:16px 13px}.workspace-v2 .kpi-row{gap:10px}.workspace-v2.crm-shell .kpi{padding:17px 13px}.workspace-v2.crm-shell .kpi .value{font-size:23px}}
@media(max-width:360px){.workspace-v2.portal-shell .portal-header-actions{width:100%;margin-left:0;justify-content:flex-end}.workspace-v2 .insight-sources .insight-source-layout{grid-template-columns:minmax(0,1fr)}.workspace-v2 .workspace-intro h2,.workspace-v2 .workspace-hero h2{font-size:32px}.workspace-v2 .insight-funnel-visual{gap:10px}.workspace-v2 .insight-funnel-key span{font-size:8px}}
@media(max-width:860px){.workspace-v2.portal-shell .topbar-inner{flex-wrap:wrap}.workspace-v2.portal-shell .portal-account-heading{display:flex;flex-basis:100%;order:4;border-left:0;border-top:1px solid #e7edf6;padding:11px 0 0;margin-top:7px;justify-content:space-between;gap:12px}.workspace-v2.portal-shell .portal-account-heading .workspace-eyebrow{font-size:7px}.workspace-v2.portal-shell .company-name{font-size:14px;max-width:100%;white-space:normal;margin-top:2px}.workspace-v2.portal-shell .status-row{display:flex;flex-shrink:0}.workspace-v2.portal-shell .topbar .pill{font-size:8px}}
.workspace-v2 .workspace-welcome h2{overflow-wrap:anywhere}.workspace-v2 .insight-footnote{font-size:10px}.workspace-v2 .insight-focus-actions button:focus-visible{outline:2px solid #9dc0ff;outline-offset:3px}

/* Navigation concept: floating midnight panels with luminous active tiles. */
.workspace-v2.crm-shell .sidebar{width:246px;margin:16px 0 16px 16px;top:16px;height:calc(100dvh - 32px);border:1px solid #35466c;background:radial-gradient(ellipse at 105% -10%,#344a7d99,transparent 55%),linear-gradient(175deg,#1b2642,#101a30 70%);border-radius:23px;box-shadow:0 12px 38px -15px #101f4560;overflow:hidden;isolation:isolate}
.workspace-v2.crm-shell .brand{padding:24px 20px 20px;border-bottom:0;gap:11px;flex-shrink:0}.workspace-v2.crm-shell .brand-name{font-size:20px;color:#f3f6fe;letter-spacing:-.045em}.workspace-v2.crm-shell .brand-name em{color:#9cb9ff}.workspace-v2.crm-shell .brand-sub{font-size:7px;letter-spacing:.17em;color:#8195bd;margin-top:4px}.workspace-v2.crm-shell .brand-mark{width:36px;height:36px;background:linear-gradient(145deg,#436de2,#2948a1);border:1px solid #6a8eed7a;box-shadow:0 4px 14px #090f2430,inset 0 1px #ffffff20;border-radius:11px}.workspace-v2.crm-shell .brand-mark svg path{fill:#fff}.workspace-v2.crm-shell .brand-mark svg rect{fill:#a6c1ff}
.workspace-nav-identity{display:flex;align-items:center;gap:10px;min-width:0;margin:0 13px 7px;padding:12px 10px;border:1px solid #9db4e11a;background:linear-gradient(130deg,#ffffff08,#ffffff02);border-radius:12px;flex-shrink:0}.workspace-nav-avatar{display:flex;align-items:center;justify-content:center;width:30px;height:32px;flex-shrink:0;background:linear-gradient(145deg,#354d7e,#27395f);border:1px solid #7992c22b;border-radius:9px;color:#c5d8fd;font:700 14px var(--f-body);box-shadow:inset 0 1px #ffffff0a}.workspace-nav-identity>div{flex:1;min-width:0}.workspace-nav-identity strong{display:block;color:#dbe6fb;font-size:9px;font-weight:650;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.workspace-nav-identity small{display:block;color:#8298bd;font-size:8px;margin-top:4px}.workspace-nav-chip{font-size:6px;color:#a8bde7;background:#859ed912;border:1px solid #98b0e329;border-radius:4px;padding:3px 4px;letter-spacing:.06em}
.workspace-v2.crm-shell .nav{min-height:0;overflow:auto;flex:1;padding:0 12px 16px;scrollbar-width:thin;scrollbar-color:#3c4f75 transparent}.workspace-v2.crm-shell .nav-group-label,.workspace-v2.portal-shell .workspace-nav-section{display:flex;align-items:center;gap:9px;color:#7187b0;font-size:7px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;padding:19px 12px 9px;line-height:1.5;flex-shrink:0}.workspace-v2.crm-shell .nav-group-label:after,.workspace-v2.portal-shell .workspace-nav-section:after{content:'';height:1px;flex:1;background:linear-gradient(90deg,#9fb6e01a,transparent)}
.workspace-v2.crm-shell .nav-item,.workspace-v2.portal-shell .portal-navigation .tab{border:1px solid transparent;background:transparent;min-height:45px;gap:11px;padding:8px 11px;border-radius:10px;color:#9eafd0;font-size:10px;font-weight:550;line-height:1.45;margin-bottom:3px;transition:background .16s,color .16s,border-color .16s,box-shadow .16s;position:relative}
.workspace-nav-glyph{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;border:1px solid #89a5de12;background:linear-gradient(145deg,#ffffff06,#ffffff02);flex-shrink:0;color:#7e99c8;transition:background .16s,border-color .16s,color .16s}.workspace-v2 .workspace-nav-glyph svg{width:15px;height:15px;opacity:1}.workspace-v2.crm-shell .nav-item[data-nav=analytics] .workspace-nav-glyph,.workspace-v2 .workspace-nav-glyph[data-nav-icon=analytics]{background:#3358c51c;color:#9cb6ff;border-color:#6e91ec20}.workspace-v2.crm-shell .nav-item[data-nav=surveys] .workspace-nav-glyph,.workspace-v2 .workspace-nav-glyph[data-nav-icon=surveys]{background:#8062c51a;color:#b9a1f2;border-color:#aa84e520}
.workspace-v2.crm-shell .nav-item:hover:not(.active),.workspace-v2.portal-shell .portal-navigation .tab:hover:not(.active){background:#ffffff05;border-color:#9fb9e912;color:#dce8ff}.workspace-v2.crm-shell .nav-item:hover .workspace-nav-glyph,.workspace-v2.portal-shell .tab:hover .workspace-nav-glyph{border-color:#93b4f32b;color:#bcd1fb;background:#ffffff09}
.workspace-v2.crm-shell .nav-item.active,.workspace-v2.portal-shell .portal-navigation .tab.active{color:#fff;background:linear-gradient(105deg,#3b68e9,#5c6ee4);border:1px solid #7a97f799;box-shadow:0 5px 18px -6px #486fe899,inset 0 1px #ffffff2a;font-weight:650}.workspace-v2.crm-shell .nav-item.active .workspace-nav-glyph,.workspace-v2.portal-shell .tab.active .workspace-nav-glyph{background:#ffffff17;border-color:#ffffff22;color:#fff;box-shadow:inset 0 1px #ffffff0c}.workspace-v2.crm-shell .nav-item.active::after,.workspace-v2.portal-shell .portal-navigation .tab.active::after{content:'';position:absolute;width:3px;height:14px;left:-1px;top:calc(50% - 7px);background:#c9d9ff;border-radius:0 3px 3px 0;box-shadow:0 0 9px #c9d9ff44}
.workspace-v2.crm-shell .nav-badge{font-size:8px;background:#ffffff08;color:#7893c1;border:1px solid #99b2e318;padding:1px 5px;border-radius:5px;margin-right:0}.workspace-v2.crm-shell .nav-item.active .nav-badge,.workspace-v2.portal-shell .portal-navigation .tab.active .tab-n{background:#ffffff16;color:#f1f5ff;border-color:#ffffff17}.workspace-v2.crm-shell .sidebar-foot{padding:17px 19px;border-top:1px solid #829cc419;background:linear-gradient(120deg,#0c162b88,#111d3188);color:#728ab1;font-size:8px;line-height:1.8;flex-shrink:0}.workspace-v2.crm-shell .sidebar-foot>div:first-child{color:#c6d7f3!important;font-size:10px!important}.workspace-v2.crm-shell .sidebar-foot a{color:#93b7ff!important;font-size:9px}.workspace-v2.crm-shell .sidebar-foot .mono{font-size:8px!important}.workspace-v2.crm-shell .mobile-menu-close{background:#ffffff07;color:#bfd3f8;border-color:#ffffff16}
.workspace-v2.crm-shell .content{padding-left:27px}.workspace-v2.crm-shell .topbar{padding-left:27px}.workspace-v2.portal-shell .portal-layout{grid-template-columns:225px minmax(0,1fr)}.workspace-v2.portal-shell .portal-navigation{padding:16px 11px 12px;gap:1px;border-radius:19px;top:18px;max-height:calc(100dvh - 36px);border:1px solid #35466c;background:radial-gradient(ellipse at 105% -10%,#344a7d99,transparent 55%),linear-gradient(175deg,#1b2642,#101a30 70%);box-shadow:0 12px 38px -15px #101f4540;scrollbar-color:#3c4f75 transparent}.workspace-v2.portal-shell .portal-navigation .workspace-nav-identity{margin:0 2px 6px;padding:12px 9px}.workspace-v2.portal-shell .portal-navigation .tab{flex-shrink:0;text-align:left;margin-bottom:2px;padding:8px 10px;min-height:44px}.workspace-v2.portal-shell .workspace-nav-section{padding:17px 11px 8px}.workspace-v2.portal-shell .workspace-nav-caption{display:flex;align-items:center;gap:7px;border-top:1px solid #8caae11c;padding:18px 11px 3px;margin-top:15px;font-size:8px;color:#7b94bd;flex-shrink:0}.workspace-nav-caption>span{width:5px;height:5px;border-radius:50%;background:#7a9ddc;box-shadow:0 0 0 3px #7a9ddc0d}.workspace-v2.portal-shell .portal-navigation .tab-n{background:#ffffff0b;color:#829dcb;border-radius:5px;font-size:8px;border:1px solid #ffffff0c}
@media(max-width:1200px){.workspace-v2.crm-shell .sidebar{width:229px;margin:13px 0 13px 13px;top:13px;height:calc(100dvh - 26px);border-radius:20px}.workspace-v2.crm-shell .content,.workspace-v2.crm-shell .topbar{padding-left:23px}.workspace-v2.portal-shell .portal-layout{grid-template-columns:212px minmax(0,1fr)}.workspace-v2.crm-shell .brand{padding:23px 17px 19px}.workspace-v2.crm-shell .nav-item{padding:8px 10px;font-size:10px;gap:9px}}
@media(max-width:860px){.workspace-v2.crm-shell .sidebar{position:fixed;width:min(300px,86vw);height:calc(100dvh - 24px);top:12px;left:12px;margin:0;border-radius:20px}.workspace-v2.crm-shell .sidebar:not(.open){left:0;transform:translateX(calc(-100% - 20px))}.workspace-v2.crm-shell .sidebar.open{left:12px;transform:translateX(0)}.workspace-v2.crm-shell .nav-item{min-height:46px;font-size:12px;padding:9px 12px}.workspace-v2.crm-shell .nav-group-label{font-size:8px}.workspace-v2.crm-shell .sidebar-foot{font-size:10px}.workspace-v2.crm-shell .workspace-nav-identity strong{font-size:11px}.workspace-v2.crm-shell .workspace-nav-identity small{font-size:9px}.workspace-v2.crm-shell .content,.workspace-v2.crm-shell .topbar{padding-left:16px}.workspace-v2.portal-shell .portal-layout{display:block}.workspace-v2.portal-shell .portal-navigation{flex-direction:row;overflow-x:auto;overflow-y:hidden;max-height:none;position:sticky;top:8px;padding:7px;gap:4px;border-radius:13px;box-shadow:0 6px 20px -12px #101f4555}.workspace-v2.portal-shell .portal-navigation .workspace-nav-identity,.workspace-v2.portal-shell .workspace-nav-section,.workspace-v2.portal-shell .workspace-nav-caption{display:none}.workspace-v2.portal-shell .portal-navigation .tab{min-height:41px;padding:7px 11px;gap:7px;font-size:11px;margin:0;border-radius:8px}.workspace-v2.portal-shell .workspace-nav-glyph{width:23px;height:23px;background:transparent;border-color:transparent;border-radius:6px}.workspace-v2.portal-shell .portal-navigation .tab.active::after{height:2px;width:16px;left:calc(50% - 8px);top:auto;bottom:-1px;border-radius:3px 3px 0 0}.workspace-v2.crm-shell .workspace-nav-glyph{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){.workspace-nav-glyph{transition:none!important}}
@media(min-width:861px){.workspace-v2.crm-shell .nav-item,.workspace-v2.portal-shell .portal-navigation .tab{font-size:11.5px}.workspace-v2.crm-shell .nav-group-label,.workspace-v2.portal-shell .workspace-nav-section{font-size:8px}.workspace-nav-identity strong{font-size:10px}.workspace-nav-identity small{font-size:9px}.workspace-v2.crm-shell .sidebar-foot{font-size:9px}}

/* Reserve scrollbar space as short and long modules replace one another. */
html:has(body.crm-shell),html:has(body.portal-shell){scrollbar-gutter:stable}
.workspace-v2.crm-shell .nav,.workspace-v2.portal-shell .portal-navigation{scrollbar-gutter:stable}

/* A straight desktop rail follows the document; only the content pane resets.
   Let wheel/touchpad gestures chain to the document at either pane boundary,
   so the rest of the straight navigation remains reachable without dragging. */
@media(min-width:861px){
 html:has(.crm-shell #app>.sidebar),html:has(.portal-shell .portal-layout){overflow:auto;scrollbar-gutter:stable;overflow-anchor:none}
 .workspace-v2.crm-shell #app:has(>.sidebar){height:auto;min-height:100dvh;overflow:visible}
 .workspace-v2.crm-shell .main{position:sticky;top:0;align-self:flex-start;height:100dvh;min-height:0;overflow-y:auto;scrollbar-gutter:stable;overflow-anchor:none;overscroll-behavior:auto}
 .workspace-v2.crm-shell .sidebar{position:relative;top:auto;height:auto;min-height:100dvh;align-self:stretch;margin:0;border-radius:0;overflow:visible;scrollbar-gutter:auto;overflow-anchor:none}
 .workspace-v2.crm-shell .nav{flex:0 0 auto;overflow:visible;scrollbar-gutter:auto}
 .workspace-v2.crm-shell .sidebar-foot{margin-top:auto}
 .workspace-v2.portal-shell #app:has(.portal-layout){height:auto;min-height:100dvh;display:block;overflow:visible}
 .workspace-v2.portal-shell .portal-layout{min-height:0;grid-template-rows:auto;align-items:start;overflow:visible}
 .workspace-v2.portal-shell .portal-navigation{position:relative;top:auto;height:auto;max-height:none;min-height:0;align-self:stretch;overflow:visible;scrollbar-gutter:auto;border-radius:0;overflow-anchor:none}
 .workspace-v2.portal-shell .portal-main{position:sticky;top:16px;align-self:start;height:calc(100dvh - 32px);min-height:0;overflow-y:auto;scrollbar-gutter:stable;overflow-anchor:none;overscroll-behavior:auto}
}
