:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--brand-950:198 38% 10%;--brand-900:198 34% 16%;--brand-700:190 82% 32%;--brand-600:190 86% 38%;--brand-200:190 30% 85%;--brand-100:190 38% 93%;--neutral-400:205 12% 68%;--neutral-300:205 16% 84%;--neutral-200:205 18% 90%;--neutral-100:205 24% 95%;--neutral-50:210 29% 97%;--danger-500:354 64% 47%;--warning-500:40 91% 48%;--bg:hsl(var(--neutral-50));--surface:#fff;--surface-soft:hsl(var(--neutral-100));--border:hsl(var(--neutral-300));--border-strong:#abbbc4;--text:hsl(var(--brand-900));--foreground:var(--text);--ink:var(--text);--muted:#5c6f7a;--brand:hsl(var(--brand-600));--brand-strong:hsl(var(--brand-900));--warning:hsl(var(--warning-500));--success:hsl(var(--brand-700));--danger:hsl(var(--danger-500));--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--control-height:38px;--danger-soft:#fceeef;--warning-soft:#fdf4e2;--success-soft:#e8f7f3;--shadow-sm:0 8px 24px #0f1e2a14;--shadow-panel:0 18px 52px #0f1e2a24;--chart-colour-1:hsl(var(--brand-600));--chart-colour-2:hsl(var(--brand-900));--chart-colour-3:#abbec4;--chart-colour-4:#e7a740}.operational-workspace{gap:clamp(12px,1.25vw,18px)}.operational-page-context{background:radial-gradient(circle at 94% 0%, hsl(var(--brand-600) / .1), transparent 34%), var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);align-items:end;padding:clamp(18px,2vw,28px)}.operational-page-context h1{margin-bottom:4px}.operational-page-context .muted{max-width:76ch;margin:0}.operational-page-actions,.operational-alerts{gap:10px;display:grid}.operational-metrics{margin:0}.operational-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.operational-toolbar>.inline-actions,.operational-toolbar>nav,.operational-toolbar>form{min-width:0}.operational-toolbar:has(>.order-query-panel){padding:0;display:block;overflow:hidden}.operational-toolbar>.order-query-panel{border-bottom:0}.operational-main-list,.operational-results-card{min-width:0}.operational-results-card{overflow:hidden}dialog.task-drawer{background:var(--surface);border:0;border-left:1px solid var(--border);box-shadow:-22px 0 70px hsl(var(--brand-950) / .26);color:var(--text);opacity:1;border-radius:24px 0 0 24px;width:min(720px,100vw - 28px);max-width:none;height:100dvh;max-height:none;margin:0;padding:0;inset:0 0 0 auto;overflow:hidden}dialog.task-drawer-wide{width:min(1040px,100vw - 28px)}dialog.task-drawer::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:hsl(var(--brand-950) / .42)}.task-drawer-frame{flex-direction:column;height:100%;min-height:0;display:flex}.task-drawer-header{background:radial-gradient(circle at 90% 0%, hsl(var(--brand-600) / .18), transparent 42%), var(--surface);border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px clamp(18px,2.6vw,30px) 18px;display:flex}.task-drawer-header h2{margin:2px 0 0}.task-drawer-header .muted{margin:5px 0 0}.task-drawer-body{overscroll-behavior:contain;gap:18px;min-height:0;padding:clamp(18px,2.6vw,30px);display:grid;overflow-y:auto}.task-drawer-section{border-top:1px solid var(--border);gap:12px;margin-top:2px;padding-top:18px;display:grid}.task-drawer-section:first-child{border-top:0;padding-top:0}.task-drawer-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.task-drawer-summary-grid>div{background:var(--surface-soft);border:1px solid var(--border);border-radius:14px;gap:4px;min-width:0;padding:13px 14px;display:grid}.task-drawer-summary-grid>div>span{color:var(--muted);letter-spacing:.09em;text-transform:uppercase;font-size:11px;font-weight:850}.task-drawer-summary-grid small,.record-row small{color:var(--muted);margin-top:2px;font-size:12px;display:block}.task-drawer-actions{background:color-mix(in srgb, var(--surface) 92%, transparent);border-top:1px solid var(--border);z-index:2;margin:6px -30px -30px;padding:14px 30px;position:sticky;bottom:-1px}.compact-definition-list{grid-template-columns:repeat(2,minmax(0,1fr))}.support-case-reference-button{font-weight:850}dialog.order-detail-dialog.task-drawer,dialog.lead-quick-view-dialog.task-drawer{max-width:none;max-height:none;margin:0;inset:0 0 0 auto}dialog.order-detail-dialog.task-drawer{width:min(1040px,100vw - 28px);padding:clamp(18px,2vw,28px);overflow-y:auto}dialog.order-detail-dialog-super-user.task-drawer{width:min(1240px,100vw - 28px)}dialog.lead-quick-view-dialog.task-drawer{width:min(720px,100vw - 28px);padding:clamp(18px,2.6vw,30px);overflow-y:auto}@media (prefers-reduced-motion:no-preference){dialog.task-drawer[open]{animation:.18s cubic-bezier(.22,1,.36,1) task-drawer-enter}@keyframes task-drawer-enter{0%{opacity:0;transform:translate(36px)}to{opacity:1;transform:translate(0)}}}@media (max-width:760px){.operational-page-context{align-items:flex-start}.operational-toolbar,.operational-toolbar>.inline-actions,.operational-toolbar>nav,.operational-toolbar>form{align-items:stretch;width:100%}dialog.task-drawer,dialog.task-drawer-wide,dialog.order-detail-dialog.task-drawer,dialog.order-detail-dialog-super-user.task-drawer,dialog.lead-quick-view-dialog.task-drawer{border-left:0;border-radius:0;width:100vw;inset:0}.task-drawer-summary-grid,.compact-definition-list{grid-template-columns:1fr}.task-drawer-actions{margin:6px -18px -18px;padding:14px 18px}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0c1318;--surface:#141e24;--surface-soft:#1d292f;--border:#34434b;--border-strong:#4b626c;--text:#e6ecef;--foreground:var(--text);--ink:var(--text);--muted:#a2b0b9;--brand:#27d2ec;--brand-strong:#96e4ee;--success:#56d2b1;--warning:#f7bc45;--danger:#f06a78;--danger-soft:#3c161a;--warning-soft:#362c16;--success-soft:#16312a;--shadow-sm:0 10px 30px #00000047;--shadow-panel:0 24px 70px #00000075, 0 0 30px hsl(var(--brand-600) / 8%);--chart-colour-1:#27d2ec;--chart-colour-2:#9cdfe8;--chart-colour-3:#8d9eb0;--chart-colour-4:#f5ba5c}*{box-sizing:border-box}html,body{min-height:100%;margin:0;padding:0}html{font-size:16px}html[data-text-size=small]{font-size:15px}html[data-text-size=large]{font-size:18px}body{background:var(--bg);color:var(--text);font-feature-settings:"cv01" 1;font-family:-apple-system,BlinkMacSystemFont,Inter,Segoe UI Variable,Segoe UI,Arial,sans-serif;font-size:.9375rem;line-height:1.5;transition:background-color .18s,color .18s}:root[data-theme=dark] body{background:radial-gradient(circle at 88% 4%, hsl(var(--brand-600) / .09), transparent 28rem), radial-gradient(circle at 18% 92%, hsl(var(--brand-700) / .06), transparent 34rem), var(--bg)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button:disabled,input:disabled,textarea:disabled{cursor:not-allowed;opacity:.62}:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.auth-page{background:radial-gradient(circle at 18% 18%, hsl(var(--brand-200) / .58), transparent 32%), radial-gradient(circle at 82% 8%, hsl(var(--brand-600) / .12), transparent 28%), linear-gradient(135deg, hsl(var(--neutral-50)), hsl(var(--neutral-100)));align-items:center;min-height:100vh;padding:24px;display:grid}.auth-shell{grid-template-columns:minmax(0,1fr) minmax(360px,460px);gap:0;width:min(1080px,100%);margin:0 auto;display:grid;overflow:hidden}.auth-hero{background:hsl(var(--brand-950));color:#fff;gap:34px;padding:clamp(28px,5vw,56px);display:grid}.auth-hero .auth-hero-title{color:#fff;letter-spacing:-.01em;max-width:620px;font-size:clamp(2rem,4vw,3.4rem);font-weight:800;line-height:1;margin:0!important}.auth-hero p{color:#cbdae2;max-width:620px;margin:18px 0 0;font-size:17px;line-height:1.7}.auth-feature-list{gap:12px;max-width:560px;margin:0;padding:0;list-style:none;display:grid}.auth-feature-list li{color:#d8e3e9;align-items:center;gap:12px;font-size:14px;font-weight:700;display:flex}.auth-feature-list li:before{background:var(--brand);content:"";border-radius:999px;width:9px;height:9px}.auth-card{background:var(--surface);gap:18px;padding:clamp(24px,4vw,44px);display:grid;box-shadow:0 30px 80px -44px #0f1e2a7a}.auth-card-logo{width:min(220px,100%);height:auto;margin-bottom:4px;display:block}.auth-brand{color:var(--muted);text-transform:uppercase;align-items:center;gap:10px;font-size:13px;font-weight:700;display:flex}.auth-logo,.brand{color:var(--brand-strong);letter-spacing:.16em;font-weight:800}.auth-logo{background:hsl(var(--brand-200) / .42);border-radius:var(--radius-md);padding:7px 9px}.auth-form{gap:16px;display:grid}.auth-links{gap:12px;display:flex}.auth-links button{color:var(--brand-strong);cursor:pointer;text-underline-offset:3px;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.auth-form .primary-action{justify-content:center;min-height:46px}.mfa-setup-box{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;gap:.75rem;padding:1rem;display:grid}.mfa-setup-box code{overflow-wrap:anywhere;background:var(--surface);letter-spacing:.08em;border-radius:8px;padding:.75rem;font-size:.95rem}.mfa-setup-box .secondary-action{width:fit-content}.mfa-qr-code{border:1px solid var(--border);background:#fff;border-radius:12px;place-items:center;min-height:264px;padding:12px;display:grid}.mfa-qr-code svg{width:min(240px,100%);height:auto;display:block}.mfa-manual-setup{gap:.75rem;padding-top:.25rem;display:grid}.mfa-manual-setup summary{color:var(--brand-strong);cursor:pointer;font-weight:700}.mfa-manual-setup[open] summary{margin-bottom:.75rem}.app-shell{grid-template-columns:236px minmax(0,1fr);min-height:100vh;transition:grid-template-columns .18s;display:grid}.sidebar{background:var(--surface);border-right:1px solid var(--border);color:var(--text);z-index:20;height:100vh;padding:58px 10px 16px;transition:padding .18s;position:sticky;top:0;overflow:visible auto}.brand{border-radius:var(--radius-lg);color:#fff;letter-spacing:0;align-items:center;gap:10px;margin:0 0 18px;padding:9px 10px;font-size:18px;transition:background .16s;display:flex}.brand:before{display:none}.brand:hover{background:hsl(var(--brand-600) / .16)}.sidebar-brand{border-bottom:1px solid var(--border);color:var(--brand-strong);border-radius:0;height:54px;margin:0;padding:0 46px 0 17px;font-size:17px;position:absolute;top:0;left:0;right:0;overflow:hidden}.sidebar-brand-logo{object-fit:contain;width:166px;max-width:100%;height:auto;display:block}.sidebar-brand:hover{background:hsl(var(--brand-100))}.brand-mark{background:var(--brand);content:"";border-radius:999px;width:9px;height:9px;display:inline-block}.nav-list{gap:10px;display:grid}.nav-group{gap:5px;display:grid}.nav-group-label{color:var(--muted);cursor:pointer;letter-spacing:.12em;text-align:left;text-transform:uppercase;background:0 0;border:0;justify-content:space-between;align-items:center;width:100%;margin:0;padding:5px 9px 3px;font-size:11px;font-weight:800;display:flex}.nav-group-items{gap:2px;display:grid}.nav-link{color:var(--muted);border-radius:5px;align-items:center;gap:11px;min-height:38px;padding:8px 10px;font-size:13.5px;font-weight:700;transition:background .16s,color .16s,transform .16s;display:flex}.nav-link:hover,.nav-link[aria-current=page]{background:hsl(var(--brand-100));color:var(--brand-strong)}.nav-link[aria-current=page]{box-shadow:inset 3px 0 0 var(--brand)}.nav-icon{flex:none;width:19px;height:19px}.nav-collapse-toggle{background:var(--surface);border:1px solid var(--border);color:var(--brand-strong);cursor:pointer;z-index:3;border-radius:999px;justify-content:center;align-items:center;width:30px;height:30px;font-size:22px;display:flex;position:absolute;top:14px;right:8px}.mobile-nav-trigger,.mobile-nav-backdrop,.mobile-nav-close,a.mobile-settings-link,.session-signout-icon{display:none}html.hub-nav-collapsed .app-shell{grid-template-columns:62px minmax(0,1fr)}html.hub-nav-collapsed .sidebar{padding-left:8px;padding-right:8px}html.hub-nav-collapsed .nav-group-label{border-top:1px solid var(--border);height:5px;margin:4px 5px;padding:0;overflow:hidden}html.hub-nav-collapsed .nav-group-label span,html.hub-nav-collapsed .nav-link>span{display:none}html.hub-nav-collapsed .nav-link{justify-content:center;padding-inline:6px}html.hub-nav-collapsed .sidebar-brand{padding:0 9px}html.hub-nav-collapsed .sidebar-brand-logo{display:none}.main{width:100%;min-width:0}.topbar{background:var(--surface);border-bottom:1px solid var(--border);z-index:15;justify-content:space-between;align-items:center;gap:16px;min-height:54px;padding:8px clamp(16px,1.4vw,24px);display:flex;position:sticky;top:0;box-shadow:0 2px 8px #172a370d}.topbar-brand{align-items:center;gap:10px;display:flex}.topbar-brand .brand-mark{width:12px;height:12px}.topbar-kicker{color:var(--brand);letter-spacing:.12em;text-transform:uppercase;margin:1px 0 0;font-size:11px;font-weight:800}.topbar-title{color:var(--brand-strong);margin:0;font-weight:800}.header-datetime{border-right:1px solid var(--border);text-align:right;gap:1px;padding-right:14px;display:grid}.header-datetime strong{color:var(--text);font-size:12px}.header-datetime span{color:var(--muted);font-size:11px}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.incoming-call-top-action{white-space:nowrap;gap:7px}.team-reminder-centre{position:relative}.team-reminder-centre>summary{background:var(--surface-soft);border:1px solid var(--border);cursor:pointer;height:var(--control-height);min-width:var(--control-height);border-radius:999px;justify-content:center;align-items:center;padding:0 10px;list-style:none;display:inline-flex;position:relative}.team-reminder-centre>summary::-webkit-details-marker{display:none}.team-reminder-centre>summary:focus-visible{outline:3px solid hsl(var(--brand-600) / .28);outline-offset:2px}.team-reminder-bell{font-size:17px;line-height:1}.team-reminder-count{background:var(--danger);border:2px solid var(--surface);color:#fff;border-radius:999px;justify-content:center;align-items:center;min-width:19px;height:19px;padding:0 3px;font-size:9px;font-weight:900;display:flex;position:absolute;top:-7px;right:-5px}.team-reminder-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);z-index:40;width:min(390px,100vw - 28px);max-height:min(560px,100vh - 78px);display:grid;position:absolute;top:calc(100% + 10px);right:0;overflow:hidden;box-shadow:0 18px 42px #172a372e}.team-reminder-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:14px;display:flex}.team-reminder-header>div,.team-reminder-item{gap:3px;display:grid}.team-reminder-header span,.team-reminder-item span{color:var(--muted);font-size:11px}.team-reminder-list{overflow-y:auto}.team-reminder-item{border-bottom:1px solid var(--border);color:var(--text);padding:12px 14px}.team-reminder-item:hover{background:var(--surface-soft)}.team-reminder-item .team-reminder-overdue{color:var(--danger);text-transform:uppercase;font-weight:900}.team-reminder-item .team-reminder-upcoming{color:var(--brand);text-transform:uppercase;font-weight:900}.team-reminder-empty{color:var(--muted);text-align:center;margin:0;padding:22px 14px}.team-reminder-footer{background:var(--surface-soft);color:var(--brand-strong);text-align:center;padding:12px 14px;font-weight:800}.territory-switcher{align-items:center;gap:8px;display:inline-flex}.territory-switcher label{color:var(--muted);font-size:12px;font-weight:800}.territory-switcher select{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);color:var(--brand-strong);min-height:var(--control-height);padding:7px 10px;font-weight:800}.content{width:100%;max-width:none;padding:clamp(14px,1.4vw,24px)}.page-stack{gap:clamp(16px,1.6vw,22px);width:100%;min-width:0;display:grid}.page-header{justify-content:space-between;align-items:end;gap:16px;display:flex}.page-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.page-header h1,.auth-card h1{margin:0;font-size:clamp(1.35rem,1.28rem + .32vw,1.72rem);line-height:1.08}.page-subtitle{color:var(--muted);margin:7px 0 0}.eyebrow{color:var(--brand);letter-spacing:.14em;text-transform:uppercase;margin:0 0 8px;font-size:12px;font-weight:800}.muted{color:var(--muted)}.card,.list-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:0 1px 2px #0f1e2a0a}.card{padding:14px}.card h2{color:var(--brand-strong);margin:0 0 10px;font-size:1.05rem;line-height:1.2}.section-card{gap:14px;min-width:0;display:grid}.section-card-header{justify-content:space-between;align-items:start;gap:14px;min-width:0;display:flex}.section-card-header>:first-child{min-width:0}.section-card-header h2,.section-card-header p{margin-bottom:0}.incoming-call-layout{grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr);align-items:start;gap:18px;display:grid}.incoming-call-capture{min-height:520px}.incoming-call-side{gap:18px;display:grid}.call-save-state{white-space:nowrap;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.call-save-saved{background:hsl(var(--brand-700) / .12);color:var(--success)}.call-save-saving{background:hsl(var(--brand-200) / .48);color:var(--brand-strong)}.call-save-error{background:hsl(var(--danger-500) / .12);color:var(--danger)}.error-banner{background:hsl(var(--danger-500) / .1);border-left:4px solid var(--danger);border-radius:var(--radius-md);color:var(--danger);padding:10px 12px;font-weight:700}.selected-customer{background:hsl(var(--brand-200) / .35);border:1px solid hsl(var(--brand-600) / .3);border-radius:var(--radius-md);gap:3px;margin-top:12px;padding:12px;display:grid}.selected-customer span,.customer-match span{color:var(--muted);font-size:12px}.text-button{color:var(--brand-strong);cursor:pointer;font:inherit;background:0 0;border:0;justify-self:start;margin-top:5px;padding:0;font-weight:800;text-decoration:underline}.customer-match-list{gap:7px;margin-top:10px;display:grid}.customer-match{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);color:var(--text);cursor:pointer;text-align:left;gap:2px;width:100%;padding:10px;display:grid}.customer-match:hover,.customer-match:focus-visible{background:var(--surface-soft);border-color:var(--brand)}.call-outcome-actions,.call-outcome-actions form{gap:10px;display:grid}.call-outcome-actions form+form{border-top:1px solid var(--border);padding-top:14px}.call-outcome-button{width:100%}.field-help{color:var(--muted);font-size:12px;display:block}.address-lookup{position:relative}.address-lookup-results{z-index:30;border:1px solid var(--border);background:var(--surface);border-radius:.75rem;max-height:18rem;position:absolute;top:calc(100% + .35rem);left:0;right:0;overflow-y:auto;box-shadow:0 1rem 2rem #0e253029}.address-lookup-result{border:0;border-bottom:1px solid var(--border);background:var(--surface);width:100%;color:var(--ink);text-align:left;cursor:pointer;padding:.8rem 1rem;display:block}.address-lookup-result:last-child{border-bottom:0}.address-lookup-result:hover,.address-lookup-result:focus-visible{background:var(--surface-soft);outline:none}.address-lookup-error{color:#a3222c}.grid{gap:16px;display:grid}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;display:grid}.dashboard-hero-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));grid-auto-rows:1fr;gap:14px;display:grid}.customer-growth-panel{gap:16px;width:100%;padding:clamp(18px,2vw,28px);display:grid;overflow:hidden}.dashboard-insights-carousel{grid-template-rows:auto minmax(0,1fr) auto;gap:12px;height:700px;padding:clamp(14px,1.7vw,22px);display:grid;overflow:hidden}.dashboard-insights-carousel.is-expanded{height:auto;min-height:700px}.dashboard-carousel-toolbar{justify-content:space-between;align-items:center;gap:20px;display:flex}.dashboard-carousel-toolbar p{margin:4px 0 0}.dashboard-carousel-selector{background:var(--surface-soft);border:1px solid var(--border);border-radius:999px;flex-wrap:nowrap;align-items:center;gap:5px;max-width:100%;padding:5px;display:flex;overflow-x:auto}.dashboard-carousel-selector button,.dashboard-carousel-footer button{color:var(--muted);cursor:pointer;font:inherit;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:999px;min-height:34px;padding:6px 12px;font-size:12px;font-weight:800}.dashboard-carousel-selector button:hover,.dashboard-carousel-selector button:focus-visible,.dashboard-carousel-footer button:hover,.dashboard-carousel-footer button:focus-visible{background:var(--surface);border-color:var(--border);color:var(--brand-strong)}.dashboard-carousel-selector button.is-active{background:hsl(var(--brand-200) / .62);border-color:hsl(var(--brand-600) / .45);color:hsl(var(--brand-900))}.dashboard-carousel-stage{min-width:0;min-height:0;position:relative;overflow:hidden}.dashboard-insights-carousel.is-expanded .dashboard-carousel-stage{overflow:visible}.dashboard-insights-carousel.can-expand:not(.is-expanded) .dashboard-carousel-stage:after{background:linear-gradient(transparent, var(--surface));content:"";pointer-events:none;height:44px;position:absolute;bottom:0;left:0;right:0}.dashboard-carousel-stage>[role=tabpanel]{height:100%}.dashboard-carousel-stage .customer-growth-panel{box-shadow:none;border:0;grid-template-rows:auto minmax(0,1fr) auto;height:100%;min-height:0;padding:8px 4px 0}.dashboard-carousel-footer{border-top:1px solid var(--border);justify-content:flex-end;align-items:center;gap:8px;padding-top:8px;display:flex}.dashboard-carousel-footer span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;font-weight:750}.dashboard-carousel-footer .dashboard-carousel-expand{border-color:hsl(var(--brand-600) / .35);color:var(--brand-strong);margin-right:auto}.dashboard-insight-panel{gap:14px;min-height:420px;padding:20px clamp(8px,2vw,28px);display:grid}.dashboard-insight-heading{justify-content:space-between;align-items:end;gap:20px;display:flex}.dashboard-insight-heading h2{margin:2px 0 0;font-size:clamp(1.35rem,1.1rem + .7vw,1.9rem)}.dashboard-insight-heading>strong{color:var(--brand-strong);white-space:nowrap;font-size:clamp(1.5rem,1.2rem + 1vw,2.25rem)}.dashboard-insight-panel>.muted{margin:-7px 0 0}.dashboard-sales-channel-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.dashboard-sales-channel-summary span{background:var(--surface-soft);border:1px solid var(--border);color:var(--muted);border-radius:12px;gap:2px;padding:10px 12px;display:grid}.dashboard-sales-channel-summary strong{color:var(--foreground);font-size:1.45rem}.dashboard-league-table{border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden}.dashboard-league-head,.dashboard-league-row{grid-template-columns:54px minmax(180px,1fr) minmax(115px,.38fr) minmax(100px,.34fr) 70px;align-items:center;gap:16px;padding:12px 16px;display:grid}.dashboard-league-head{background:hsl(var(--brand-900));color:#fff;letter-spacing:.07em;text-transform:uppercase;font-size:11px;font-weight:850}.dashboard-league-row+.dashboard-league-row{border-top:1px solid var(--border)}.dashboard-league-row>:first-child,.dashboard-league-row>:last-child{color:var(--brand-strong);font-variant-numeric:tabular-nums;font-size:1.2rem}.dashboard-league-row>span:nth-child(2){gap:5px;display:grid}.dashboard-league-row i{background:linear-gradient(90deg, hsl(var(--brand-600)), hsl(var(--brand-200)));border-radius:999px;min-width:5px;max-width:100%;height:5px;display:block}.dashboard-empty-state{margin:0;padding:20px}.dashboard-insight-note{background:var(--surface-soft);border-left:4px solid var(--brand);color:var(--muted);border-radius:8px;margin:0;padding:10px 12px}.dashboard-donut-wrap{grid-template-columns:minmax(240px,.6fr) minmax(300px,1fr);align-items:center;gap:clamp(32px,6vw,90px);width:100%;max-width:950px;margin:auto;display:grid}.dashboard-donut{aspect-ratio:1;border-radius:50%;place-items:center;width:100%;max-width:300px;margin:auto;padding:18%;display:grid;box-shadow:0 15px 40px #00303c1f}.dashboard-donut>div{aspect-ratio:1;background:var(--surface);box-shadow:inset 0 0 0 1px var(--border);text-align:center;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:100%;display:flex}.dashboard-donut strong{color:var(--brand-strong);font-size:clamp(2.1rem,1.5rem + 2vw,3.6rem);line-height:1}.dashboard-donut span{color:var(--muted);font-size:12px;font-weight:750}.dashboard-chart-legend{gap:10px;display:grid}.dashboard-chart-legend-row{background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;grid-template-columns:12px 1fr auto;align-items:center;gap:12px;padding:14px 16px;display:grid}.dashboard-chart-legend-row>span:last-child{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:800}.dashboard-chart-swatch{background:var(--chart-colour-1);border-radius:999px;width:12px;height:12px}.dashboard-chart-legend-row.colour-2 .dashboard-chart-swatch{background:var(--chart-colour-2)}.dashboard-chart-legend-row.colour-3 .dashboard-chart-swatch{background:var(--chart-colour-3)}.dashboard-chart-legend-row.colour-4 .dashboard-chart-swatch{background:var(--chart-colour-4)}.dashboard-order-trend{grid-template-rows:auto auto auto minmax(0,1fr)}.dashboard-line-legend{flex-wrap:wrap;align-items:center;gap:10px 20px;display:flex}.dashboard-line-legend span{color:var(--muted);align-items:center;gap:7px;font-size:12px;font-weight:800;display:inline-flex}.dashboard-line-legend i{background:var(--chart-colour-1);border-radius:999px;width:24px;height:4px}.dashboard-order-legend .is-dispatched i{background:var(--chart-colour-2)}.dashboard-order-legend .is-awaiting-dispatch i{background:var(--chart-colour-4)}.dashboard-order-trend-wrap{min-height:0;overflow:visible}.dashboard-order-trend-wrap svg{width:100%;height:100%;min-height:0;display:block}.dashboard-line-grid line{stroke:var(--border);stroke-width:1px}.dashboard-line-grid text,.dashboard-line-x-label{fill:var(--muted);font-size:12px;font-weight:700}.dashboard-line-axis,.dashboard-line-tick{stroke:var(--border-strong);stroke-width:1.5px}.dashboard-order-series{fill:none;stroke:var(--chart-colour-1);stroke-linecap:round;stroke-linejoin:round;stroke-width:4px;vector-effect:non-scaling-stroke}.dashboard-order-series.is-dispatched{stroke:var(--chart-colour-2)}.dashboard-order-series.is-awaiting-dispatch{stroke:var(--chart-colour-4);stroke-dasharray:10 7}.dashboard-order-legend strong{background:var(--surface-soft);border:1px solid var(--border);color:var(--foreground);text-align:center;border-radius:999px;min-width:28px;padding:2px 7px;font-size:11px}.dashboard-ageing-panel{grid-template-rows:auto auto minmax(0,1fr)}.dashboard-ageing-chart{gap:22px;min-height:0;padding:18px clamp(8px,2vw,28px) 0;display:grid}.dashboard-ageing-distribution{background:var(--surface-soft);border:1px solid var(--border);border-radius:999px;gap:4px;height:38px;padding:4px;display:flex;overflow:hidden}.dashboard-ageing-distribution i{background:#0a91a3;border-radius:999px;min-width:4px}.dashboard-ageing-distribution i.tone-warning{background:#f4a215}.dashboard-ageing-distribution i.tone-danger{background:#dd2c3e}.dashboard-ageing-distribution i.actionable,.dashboard-ageing-key i.actionable{background:hsl(var(--brand-600))}.dashboard-ageing-distribution i.agreed,.dashboard-ageing-key i.agreed{background:#90cbdf}.dashboard-ageing-distribution i.due,.dashboard-ageing-key i.due{background:#dd2c3e}.dashboard-ageing-key{flex-wrap:wrap;gap:10px 20px;display:flex}.dashboard-ageing-key span{align-items:center;gap:7px;display:inline-flex}.dashboard-ageing-key i{border-radius:99px;width:24px;height:10px;display:inline-block}.dashboard-ageing-summary{grid-template-columns:repeat(5,minmax(110px,1fr));gap:12px;display:grid}.dashboard-ageing-summary article{background:var(--surface-soft);border:1px solid var(--border);border-radius:14px;grid-template-columns:8px 1fr;align-items:center;gap:3px 9px;min-width:0;padding:13px 14px;display:grid}.dashboard-ageing-summary article>i{background:#0a91a3;border-radius:999px;grid-row:1/span 3;height:100%;min-height:52px}.dashboard-ageing-summary article.tone-warning>i{background:#f4a215}.dashboard-ageing-summary article.tone-danger>i{background:#dd2c3e}.dashboard-ageing-summary article>strong{color:var(--brand-strong);font-variant-numeric:tabular-nums;font-size:clamp(1.45rem,1.1rem + .8vw,2rem);line-height:1}.dashboard-ageing-summary article>span{font-weight:850}.dashboard-ageing-summary article>small{color:var(--muted);font-size:11px;font-weight:700}.lead-customer-match td{background:hsl(var(--brand-200) / .22)}.lead-customer-match-possible td,.lead-customer-match-ambiguous td{background:#fcf3de}.lead-match-callout{background:var(--surface);border:1px solid hsl(var(--brand-600) / .35);border-radius:9px;gap:3px;max-width:300px;margin-top:8px;padding:8px 10px;font-size:12px;display:grid}.lead-follow-up-panel{background:color-mix(in srgb, var(--surface) 92%, hsl(var(--brand-500)) 8%);border:1px solid hsl(var(--brand-600) / .3);border-left:5px solid hsl(var(--brand-600));border-radius:14px;gap:16px;padding:18px;display:grid}.lead-follow-up-panel.state-due_today,.lead-follow-up-panel.state-overdue{border-left-color:#dd2c3e}.lead-follow-up-current{gap:4px;display:grid}.lead-follow-up-current strong{font-size:1.12rem}.lead-follow-up-current p{margin:4px 0 0}.lead-follow-up-clear{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;padding-top:14px;display:grid}.lead-follow-up-badge.state-scheduled{color:#14556b;background:#dff0f6}.lead-follow-up-badge.state-due_today,.lead-follow-up-badge.state-overdue{color:#97212d;background:#fbe4e6}@media (max-width:760px){.lead-follow-up-clear{grid-template-columns:1fr}}.lead-customer-match-possible .lead-match-callout,.lead-customer-match-ambiguous .lead-match-callout{border-color:#dcab38}.lead-match-callout>span{color:var(--muted)}.link-button{color:hsl(var(--brand-700));cursor:pointer;font:inherit;text-align:left;text-underline-offset:2px;background:0 0;border:0;padding:0;font-weight:800;text-decoration:underline}.lead-match-dialog{background:var(--surface);border:1px solid var(--border);box-shadow:0 26px 80px hsl(var(--brand-900) / .28);color:var(--text);border-radius:22px;width:calc(100% - 32px);max-width:1040px;max-height:min(760px,100vh - 40px);margin:auto;padding:26px;overflow-y:auto}.lead-match-dialog::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:hsl(var(--brand-900) / .52)}.lead-match-dialog-header,.lead-match-dialog-actions{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.lead-list-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.table tbody tr:has(.lead-presence-badge) td{background:#fdf5e2;box-shadow:inset 0 1px #ecc56973,inset 0 -1px #ecc56973}.table tbody tr:has(.lead-presence-badge) td:first-child{box-shadow:inset 5px 0 #f0780f,inset 0 1px #ecc56973,inset 0 -1px #ecc56973}.lead-presence-badge{color:#71360e;background:#fde6c9;border:1px solid #df7416;border-radius:999px;align-items:center;gap:6px;max-width:220px;margin-top:7px;padding:5px 8px;font-size:11px;font-weight:850;display:inline-flex}.lead-presence-dot{background:#e6560f;border-radius:999px;flex:0 0 8px;width:8px;height:8px;animation:1.8s ease-in-out infinite lead-presence-pulse;box-shadow:0 0 0 3px #e6560f29}.lead-presence-alert{border-radius:var(--radius-lg);color:#642f0c;background:#feead2;border:2px solid #df7416;flex-wrap:wrap;align-items:center;gap:9px;padding:13px 16px;display:flex}.lead-presence-alert>span:last-child{color:#73482b}.lead-assign-button{color:hsl(var(--brand-700));cursor:pointer;font:inherit;text-underline-offset:3px;background:0 0;border:0;padding:5px 0 0;font-size:12px;font-weight:850;text-decoration:underline}@keyframes lead-presence-pulse{0%,to{opacity:1}50%{opacity:.45}}.lead-search{flex:520px;max-width:720px}.lead-reference-button{margin-top:4px;font-size:12px;display:inline-block}.lead-quick-view-dialog,.lead-action-dialog{background:var(--surface);border:1px solid var(--border);box-shadow:0 26px 80px hsl(var(--brand-900) / .28);color:var(--text);border-radius:22px;width:calc(100% - 32px);max-width:680px;max-height:calc(100vh - 40px);margin:auto;padding:26px;overflow-y:auto}.lead-quick-view-dialog::backdrop,.lead-action-dialog::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:hsl(var(--brand-900) / .52)}.lead-payment-message-dialog{max-width:900px}.lead-payment-message-editor,.lead-payment-message-admin-editor{resize:vertical;white-space:pre-wrap;min-height:320px;line-height:1.55}.lead-payment-message-admin-editor{min-height:460px}.lead-payment-message-count{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px 20px;display:flex}.lead-payment-actions{align-items:stretch}.lead-payment-processing{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:hsl(var(--brand-900) / .56);z-index:1200;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.lead-payment-processing-card{background:var(--surface);border:1px solid var(--border);box-shadow:0 26px 80px hsl(var(--brand-900) / .3);border-radius:20px;align-items:center;gap:18px;width:100%;max-width:560px;padding:24px 28px;display:flex}.lead-payment-processing-card strong{font-size:18px;line-height:1.3;display:block}.lead-payment-processing-card p{color:var(--muted);margin:6px 0 0}.lead-payment-processing-card .button-spinner{border-color:hsl(var(--brand-700) / .22);border-top-color:hsl(var(--brand-700));flex:none;width:30px;height:30px}.lead-quick-view-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 0;display:grid}.lead-quick-view-grid>div{background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;min-width:0;padding:12px 14px}.lead-quick-view-grid dt{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:850}.lead-quick-view-grid dd{overflow-wrap:anywhere;margin:5px 0 0}.lead-work-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.lead-workspace{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px;display:grid}.lead-workspace .eyebrow{color:hsl(var(--brand-900))}.lead-service-form,.lead-work-right{min-width:0}.lead-work-right{align-content:start;gap:18px;display:grid}.lead-work-panel{border:1px solid var(--border);border-top:5px solid hsl(var(--brand-900));background:#f4f8fb;border-radius:16px;align-content:start;gap:18px;min-width:0;padding:20px;display:grid}.lead-work-panel h3{margin:3px 0}.lead-work-panel-purchaser{background:hsl(var(--brand-600) / .055);border-color:hsl(var(--brand-600) / .28);border-top-color:hsl(var(--brand-600))}.lead-work-panel-qualification{border-top-color:#e3971c;grid-column:1/-1}.lead-work-panel .address-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-work-panel .address-lookup{grid-column:1/-1}.lead-work-save{flex-direction:column;grid-column:1/-1;justify-content:flex-start;align-items:flex-start;gap:8px;display:flex}.lead-autosave-status{border:1px solid var(--border);border-radius:10px;align-items:center;gap:8px;min-height:42px;margin-top:12px;padding:8px 11px;font-size:.88rem;font-weight:700;display:flex}.lead-autosave-saved{color:#196b57;background:#30a6891a;border-color:#30a68959}.lead-autosave-working{background:hsl(var(--brand-600) / .09);border-color:hsl(var(--brand-600) / .32);color:var(--foreground)}.lead-autosave-error{color:#ab2121;background:#df202017;border-color:#df202059}.lead-order-readiness{background:linear-gradient(115deg, hsl(var(--brand-900) / .98), hsl(var(--brand-600) / .9));border:1px solid hsl(var(--brand-600) / .35);color:#fff;border-radius:18px;grid-template-columns:minmax(260px,1fr) minmax(320px,1.25fr) auto;align-items:center;gap:18px;padding:20px 22px;display:grid}.lead-order-readiness.is-ready{background:linear-gradient(115deg,#1d6d59,#259d89)}.lead-order-readiness .eyebrow,.lead-order-readiness h2,.lead-order-readiness p{color:inherit;margin-bottom:0}.lead-order-readiness h2{margin-top:4px}.lead-order-readiness-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 16px;margin:0;padding:0;list-style:none;display:grid}.lead-order-readiness-list li{align-items:center;gap:8px;font-size:.9rem;font-weight:750;display:flex}.lead-order-readiness-list li>span{border:1px solid;border-radius:999px;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.lead-order-readiness-list .is-missing{color:#ffffffb3}.lead-order-readiness-saving{align-items:center;gap:7px;margin-top:8px;font-size:.85rem;display:flex}.lead-order-readiness .secondary-action,.lead-order-readiness .primary-action{color:hsl(var(--brand-900));white-space:nowrap;background:#fff;border-color:#fff;justify-content:center}[data-theme=dark] .lead-autosave-saved{color:#86ead1}[data-theme=dark] .lead-autosave-error{color:#f29292}.lead-communication-preferences{border:1px solid var(--border);border-radius:12px;flex-wrap:wrap;gap:.65rem 1.25rem;margin:0;padding:.8rem 1rem;display:flex}.lead-communication-preferences legend{padding:0 .35rem;font-weight:800}.lead-communication-preferences .field-help{flex-basis:100%}.lead-update-composer{background:hsl(var(--brand-600) / .045);border:1px solid hsl(var(--brand-600) / .22);border-radius:16px;grid-template-columns:minmax(220px,.7fr) minmax(320px,1.3fr);gap:22px;margin-top:22px;padding:20px;display:grid}.lead-update-composer h3{margin:3px 0}.lead-work-right .lead-update-composer{grid-template-columns:1fr;margin-top:0}.lead-update-form{gap:12px;display:grid}.page-stack-tight{gap:6px}.field-help-warning{color:#95540f;font-weight:750}.lead-outcome-actions,.lead-payment-link{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;display:flex}.lead-payment-link>.page-stack{flex:680px;min-width:0}.lead-payment-link>.inline-actions{flex:100%}@media (max-width:1100px){.lead-work-form,.lead-workspace{grid-template-columns:1fr}.lead-work-panel-qualification,.lead-work-save{grid-column:auto}.lead-update-composer,.lead-order-readiness{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.lead-presence-dot{animation:none}}.dispatch-address{background:hsl(var(--brand-600) / .07);border-left:3px solid hsl(var(--brand-600));border-radius:6px;gap:2px;margin-top:10px;padding:8px 10px;font-size:12px;display:grid}.dispatch-address strong{letter-spacing:.08em;text-transform:uppercase;font-size:10px}.dispatch-address-missing{background:hsl(var(--danger-500) / .08);border-left-color:hsl(var(--danger-500))}.lead-match-dialog-header h2{margin:3px 0}.dialog-close{background:var(--surface-soft);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;width:42px;height:42px;font-size:26px;line-height:1;display:inline-flex}.lead-match-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0;display:grid}.lead-match-panel{border:1px solid var(--border);border-radius:18px;min-width:0;padding:20px;overflow:hidden}.lead-match-panel-lead{border-top:6px solid hsl(var(--brand-900));background:#f1f6f9}.lead-match-panel-customer{background:hsl(var(--brand-600) / .075);border-color:hsl(var(--brand-600) / .3);border-top:6px solid hsl(var(--brand-600))}.lead-match-panel-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.lead-match-panel-header h3,.lead-match-decision-heading h3{margin:3px 0 0}.lead-match-record-label,.lead-match-field-badge{background:var(--surface);border:1px solid var(--border);color:var(--text);white-space:nowrap;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:850}.lead-match-panel-customer .lead-match-record-label{border-color:hsl(var(--brand-600) / .4)}.lead-match-panel-meta{color:var(--muted);margin:8px 0 16px;font-size:12px}.lead-match-comparison-details{gap:9px;margin:0;display:grid}.lead-match-comparison-field{background:color-mix(in srgb, var(--surface) 78%, transparent);border:1px solid hsl(var(--neutral-300) / .9);border-radius:12px;min-width:0;padding:11px 13px}.lead-match-comparison-field.is-match{background:hsl(var(--brand-600) / .1);border-color:hsl(var(--brand-600) / .48)}.lead-match-comparison-field dt{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:8px;margin-bottom:5px;font-size:12px;font-weight:850;display:flex}.lead-match-comparison-field dd{overflow-wrap:anywhere;margin:0}.lead-match-field-badge{background:hsl(var(--brand-600) / .13);border-color:hsl(var(--brand-600) / .38);color:hsl(var(--brand-900));letter-spacing:.04em;padding:3px 6px;font-size:9px}.lead-match-decision-heading{border-top:1px solid var(--border);padding-top:18px}.lead-match-dialog-actions{flex-wrap:wrap;justify-content:flex-start;margin-top:12px}@media (max-width:640px){.lead-match-dialog{border-radius:18px;padding:20px}.lead-match-comparison{grid-template-columns:1fr}.lead-match-panel{padding:16px}.lead-list-toolbar,.lead-outcome-actions,.lead-payment-link{grid-template-columns:1fr;align-items:stretch;display:grid}.lead-quick-view-grid,.lead-work-panel .address-fields{grid-template-columns:1fr}.lead-quick-view-grid .field-span,.lead-work-panel .address-lookup{grid-column:auto}.lead-work-panel,.lead-action-dialog,.lead-quick-view-dialog{padding:16px}.lead-payment-processing-card{align-items:flex-start;padding:20px}.lead-payment-message-editor,.lead-payment-message-admin-editor{min-height:360px}}.report-runner{gap:18px;display:grid}.report-runner-form{grid-template-columns:minmax(210px,1.25fr) minmax(210px,1fr) minmax(150px,.7fr) minmax(150px,.7fr) auto;align-items:end;gap:14px;display:grid}.report-runner-form small{color:var(--muted)}.report-download-actions{gap:8px;display:flex}.report-download-actions button{white-space:nowrap}.report-runner-note{border-top:1px solid var(--border);margin:0;padding-top:12px}.report-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.report-catalog-card{gap:9px;min-height:190px;display:grid;position:relative}.report-catalog-card>span{color:hsl(var(--brand-600));letter-spacing:-.05em;font-size:2.3rem;font-weight:900;line-height:1}.report-catalog-card h3,.report-catalog-card p{margin:0}.report-catalog-card p{color:var(--muted)}.report-catalog-card small{color:var(--brand-strong);letter-spacing:.08em;text-transform:uppercase;align-self:end;font-weight:850}@media (max-width:1100px){.report-runner-form{grid-template-columns:repeat(2,minmax(0,1fr))}.report-download-actions{grid-column:1/-1}}@media (max-width:760px){.report-runner-form,.report-catalog-grid{grid-template-columns:1fr}.report-download-actions{display:grid}}@media (max-width:820px){.dashboard-insights-carousel{height:auto;min-height:0}.dashboard-carousel-toolbar,.dashboard-insight-heading{flex-direction:column;align-items:stretch}.dashboard-carousel-selector{border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.dashboard-carousel-selector button{width:100%}.dashboard-carousel-stage,.dashboard-insight-panel{min-height:0}.dashboard-carousel-stage{overflow:visible}.dashboard-carousel-stage .customer-growth-panel{grid-template-rows:auto auto auto;height:auto}.customer-growth-chart-wrap,.customer-growth-chart{height:auto}.dashboard-order-trend-wrap svg{height:auto;min-height:0}.dashboard-ageing-chart{min-width:620px}.dashboard-ageing-panel{overflow-x:auto}.dashboard-donut-wrap{grid-template-columns:1fr;gap:24px}.dashboard-donut{max-width:230px}.dashboard-league-table{overflow-x:auto}.dashboard-league-head,.dashboard-league-row{min-width:690px}}@media (max-width:480px){.dashboard-sales-channel-summary,.dashboard-carousel-selector{grid-template-columns:1fr}.dashboard-insight-panel{padding:12px 2px}.dashboard-carousel-footer{justify-content:space-between}.dashboard-carousel-footer button{padding-inline:8px}}.customer-growth-header{justify-content:space-between;align-items:end;gap:24px;display:flex}.customer-growth-header h2{margin:0;font-size:clamp(1.15rem,1rem + .55vw,1.55rem)}.customer-growth-header .muted{max-width:760px;margin:6px 0 0}.customer-growth-selected{text-align:right;flex:none;justify-items:end;gap:1px;min-width:190px;display:grid}.customer-growth-selected>span{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;font-size:12px;font-weight:800}.customer-growth-selected strong{color:var(--brand-strong);font-variant-numeric:tabular-nums;letter-spacing:-.04em;font-size:clamp(2rem,1.65rem + 1.3vw,3.25rem);line-height:1}.customer-growth-selected small{color:var(--muted);font-size:12px}.customer-growth-chart-wrap{width:100%;min-width:0;height:100%;min-height:0}.customer-growth-chart{width:100%;height:100%;display:block;overflow:visible}.customer-growth-gridline line{stroke:var(--border);stroke-width:1px}.customer-growth-gridline text,.customer-growth-x-label{fill:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.customer-growth-area{pointer-events:none}.customer-growth-line{fill:none;pointer-events:none;stroke:var(--brand);stroke-linecap:round;stroke-linejoin:round;stroke-width:4px}.customer-growth-hit{cursor:pointer;fill:var(--surface);stroke:var(--brand);stroke-width:3px;transition:fill .15s,r .15s,stroke-width .15s}.customer-growth-hit:hover,.customer-growth-hit:focus,.customer-growth-hit.is-selected{fill:var(--brand);stroke:var(--surface);stroke-width:4px}.customer-growth-footnote{color:var(--muted);margin:-6px 0 0;font-size:12px}.hero-kpi{background:radial-gradient(circle at 95% 5%, hsl(var(--brand-600) / .55), transparent 42%), hsl(var(--brand-900));border:1px solid hsl(var(--brand-600) / .34);border-radius:var(--radius-lg);color:#fff;gap:7px;min-width:0;min-height:225px;padding:clamp(20px,2.3vw,32px);transition:transform .16s,box-shadow .16s;display:grid}.hero-kpi:hover{transform:translateY(-2px);box-shadow:0 12px 28px #12293429}.hero-kpi-eyebrow{color:#7ee3f1;letter-spacing:.14em;text-transform:uppercase;font-size:11px;font-weight:850}.hero-kpi-label{color:#d9e3e8;text-wrap:balance;font-size:15px;font-weight:800}.hero-kpi strong{letter-spacing:-.045em;overflow-wrap:anywhere;align-self:end;font-size:clamp(2.35rem,1.6rem + 2.7vw,4.5rem);font-weight:900;line-height:.96}.dashboard-counter-value{font-variant-numeric:tabular-nums;transform-origin:0;display:inline-block}.dashboard-counter-value.is-bumping{animation:.65s dashboard-counter-bump}@keyframes dashboard-counter-bump{32%{color:#77e9e5;text-shadow:0 0 22px #3adfd98c;transform:scale(1.1)}}.dashboard-effects-controls{background:var(--surface);border:1px solid var(--border);box-sizing:border-box;border-radius:999px;flex-wrap:wrap;align-items:center;gap:6px;min-height:46px;padding:5px;display:flex;box-shadow:0 4px 14px #00192312}.dashboard-effects-controls>span{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;padding:0 8px;font-size:11px;font-weight:850}.dashboard-effects-controls button{background:var(--surface-soft);border:1px solid var(--border);color:var(--muted);cursor:pointer;font:inherit;border-radius:999px;min-height:34px;padding:6px 11px;font-size:12px;font-weight:800}.dashboard-effects-controls button.is-on{background:hsl(var(--brand-200) / .62);border-color:hsl(var(--brand-600) / .45);color:hsl(var(--brand-900))}.new-customer-celebration{background:hsl(var(--brand-900));border:1px solid hsl(var(--brand-600) / .5);border-radius:var(--radius-lg);color:#fff;z-index:12000;align-items:center;gap:12px;max-width:min(390px,100vw - 32px);padding:15px 18px;animation:.5s cubic-bezier(.2,.9,.3,1.2) new-customer-arrival;display:flex;position:fixed;top:18px;right:18px;box-shadow:0 18px 46px #0019234d}.new-customer-celebration>span{background:hsl(var(--brand-600));border-radius:999px;flex:none;justify-content:center;align-items:center;width:38px;height:38px;font-size:18px;font-weight:900;display:flex}.new-customer-celebration strong,.new-customer-celebration p{color:#fff;margin:0}.new-customer-celebration p{color:#cdd9df;margin-top:2px;font-size:13px}@keyframes new-customer-arrival{0%{opacity:0;transform:translateY(-18px)scale(.94)}}.session-lock-trigger{white-space:nowrap}.session-lock-backdrop{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:20000;background:#001923c7;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.session-lock-backdrop.session-lock-warning{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#00192361}.session-lock-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:16px;width:100%;max-width:460px;padding:clamp(22px,4vw,34px);display:grid;box-shadow:0 24px 70px #00192352}.session-lock-card-full{text-align:center;grid-template-columns:1fr}.session-lock-logo{object-fit:contain;justify-self:center;width:100%;max-width:190px;height:auto}.session-lock-card h2,.session-lock-card p{margin:0}.session-lock-card h2{color:var(--text);font-size:1.4rem}.session-lock-card p{color:var(--muted);margin-top:5px}.session-lock-icon{background:hsl(var(--brand-200) / .62);border:1px solid hsl(var(--brand-600) / .38);color:hsl(var(--brand-900));border-radius:999px;justify-content:center;justify-self:center;align-items:center;width:52px;height:52px;font-size:27px;font-weight:900;display:flex;transform:rotate(-25deg)}.session-lock-actions{flex-wrap:wrap;grid-column:1/-1;justify-content:flex-end;gap:8px;display:flex}.session-lock-actions-spread{justify-content:space-between}.session-unlock-form{text-align:left;gap:14px;display:grid}.session-lock-timeout-note{text-align:center;font-size:12px}.hero-kpi>span:last-child{color:#c1d0d7;overflow-wrap:anywhere;font-size:13px}@media (prefers-reduced-motion:reduce){.dashboard-counter-value.is-bumping,.new-customer-celebration{animation:none}}@media (min-width:861px) and (max-width:1500px){.topbar{gap:10px}.topbar-actions{flex-wrap:nowrap;gap:6px}}.dashboard-section-heading{justify-content:space-between;align-items:end;gap:16px;min-width:0;margin:8px 0 12px;display:flex}.dashboard-section-heading>*{min-width:0}.dashboard-section-heading h2,.dashboard-section-heading p{margin-bottom:0}.operational-dashboard .dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.operational-dashboard .dashboard-hero-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.operational-dashboard .hero-kpi{min-height:168px;padding:16px}.operational-dashboard .hero-kpi strong{font-size:clamp(2rem,1.45rem + 1.5vw,3.2rem)}.operational-dashboard .hero-kpi>span:last-child{font-size:11px;line-height:1.35}.operational-dashboard .dashboard-current-operations .stat-card{min-height:118px}.operational-dashboard .dashboard-performance .dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.operational-dashboard .dashboard-performance .stat-value{font-size:clamp(1.55rem,1.25rem + .7vw,2.15rem)}.dashboard-main-grid{grid-template-columns:minmax(0,1fr) minmax(300px,.38fr);align-items:start;gap:16px;display:grid}.stat-card{gap:5px;min-width:0;min-height:104px;padding:15px;transition:border-color .16s,transform .16s;display:grid}.stat-card:hover{border-color:hsl(var(--brand-600) / .5);transform:translateY(-1px)}.stat-label{color:var(--muted);text-wrap:balance;margin:0;font-size:13px;font-weight:800}.stat-value{color:var(--brand-strong);overflow-wrap:anywhere;margin:0;font-size:clamp(1.8rem,1.56rem + .9vw,2.35rem);font-weight:850;line-height:1}.stat-card>.muted{overflow-wrap:anywhere}.stat-card-warning{border-color:hsl(var(--warning-500) / .55)}.stat-card-danger{border-color:hsl(var(--danger-500) / .5)}.stat-card-success{border-color:hsl(var(--brand-600) / .5)}.warning-card{border-color:hsl(var(--warning-500) / .55)}.warning-card p{margin-bottom:0}.sync-strip{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);flex-wrap:wrap;align-items:center;gap:10px 14px;padding:10px 13px;display:flex}.sync-strip a,.table-actions a:not(.primary-action):not(.secondary-action):not(.danger-action),.editor-disclosure a{color:var(--brand-strong);text-underline-offset:3px;font-weight:800;text-decoration:underline}.table-shell{overflow-x:auto}.table{border-collapse:collapse;width:100%;min-width:760px}.table th,.table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;padding:8px 9px}.table th{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:11px}.sortable-table-heading{color:inherit;white-space:nowrap;align-items:center;gap:5px;text-decoration:none;display:inline-flex}.sortable-table-heading:hover,.sortable-table-heading:focus-visible,.sortable-table-heading.is-active{color:var(--brand-strong)}.sortable-table-heading:focus-visible{outline:2px solid hsl(var(--brand-600));outline-offset:3px;border-radius:4px}.sortable-table-arrow{letter-spacing:0;font-size:14px;font-weight:900;line-height:1}.table tr:hover td{background:hsl(var(--neutral-100) / .5)}.badge{background:var(--surface-soft);border:1px solid hsl(var(--brand-200));border-radius:var(--radius-sm);color:var(--brand-strong);padding:4px 8px;font-size:12px;font-weight:800;display:inline-flex}.topbar-user-settings{text-decoration:none}.topbar-user-settings:hover{border-color:hsl(var(--brand-600) / .55);text-underline-offset:3px;text-decoration:underline}.settings-panel{max-width:760px}.settings-form{gap:22px;display:grid}.settings-choice{cursor:pointer;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:13px;display:grid}.settings-choice input{width:22px;height:22px;margin:2px 0 0}.settings-choice span{gap:6px;display:grid}.settings-choice strong{color:var(--text);font-size:17px}.settings-choice small{color:var(--muted);font-size:14px;line-height:1.55}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.operations-table{min-width:1080px}.orders-table{table-layout:fixed;min-width:1240px}.orders-table .orders-col-reference{width:8%}.orders-table .orders-col-status{width:10%}.orders-table .orders-col-customer{width:18%}.orders-table .orders-col-value{width:7%}.orders-table .orders-col-items{width:21%}.orders-table .orders-col-fulfilment{width:11%}.orders-table .orders-col-shipment{width:8%}.orders-table .orders-col-date{width:9%}.orders-table .orders-col-action{width:8%}.order-primary-row td{border-bottom:0;padding-bottom:5px}.order-metadata-row td{padding-top:3px;padding-bottom:10px}.order-row-metadata-line{color:var(--muted);flex-wrap:wrap;align-items:center;gap:7px 18px;font-size:12px;line-height:1.35;display:flex}.order-metadata-item{align-items:baseline;gap:6px;display:inline-flex}.order-metadata-key{color:var(--brand-strong);letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:850}.order-row-metadata-mobile{display:none}.order-row-metadata-line .analogue-customer-badge,.order-row-metadata-line .installation-request-badge{margin-top:0}.installation-request-badge{background:hsl(var(--warning-500) / .2);border-color:hsl(var(--warning-500) / .72);color:hsl(var(--brand-950));white-space:normal}.order-row-engineer-install td{background:hsl(var(--warning-500) / .1);border-bottom-color:hsl(var(--warning-500) / .42)}.table .order-row-engineer-install:hover td{background:hsl(var(--warning-500) / .17)}.installations-table .installation-address{color:var(--text);max-width:360px;margin-top:5px}.installation-map-link{text-underline-offset:3px;margin-top:7px;font-size:13px;font-weight:750;display:inline-block}.operations-table td{font-size:14px}.operations-table p{margin:4px 0 0}.stacked-line{display:block}.table-actions{flex-wrap:wrap;align-items:flex-start;gap:7px;display:flex}.error-cell{color:var(--danger);overflow-wrap:anywhere;max-width:320px}.fulfilment-action-form{gap:6px;min-width:220px;display:grid}.fulfilment-action-form .input{min-height:34px;padding-block:6px}.work-feed{background:hsl(var(--brand-950));border-radius:var(--radius-lg);color:#e6ecef;white-space:nowrap;gap:18px;padding:9px 12px;font-size:13px;display:flex;overflow:hidden}.work-feed span{color:#a6bdc9}.badge-success{background:hsl(var(--brand-600) / .13);border-color:hsl(var(--brand-600) / .35)}.badge-warning{background:hsl(var(--warning-500) / .18);border-color:hsl(var(--warning-500) / .42)}.badge-danger{background:hsl(var(--danger-500) / .12);border-color:hsl(var(--danger-500) / .38);color:var(--danger)}.badge-muted{background:hsl(var(--neutral-100));border-color:var(--border);color:var(--muted)}.analogue-customer-badge{color:#fff;white-space:normal;background:#6d28d9;border-color:#5b21b6;margin-top:6px;display:inline-flex}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.form-grid.single-column{grid-template-columns:1fr}.field{gap:6px;display:grid}.field label,.field>span{color:var(--brand-strong);font-size:13px;font-weight:700}.search-field-heading{justify-content:space-between;align-items:center;gap:10px;min-height:24px;display:flex}.search-field-heading>label{min-width:0}.search-input-with-recents,.compact-search-with-recents{align-items:center;gap:8px;min-width:0;display:flex}.search-input-with-recents>.input,.compact-search-with-recents>.input{min-width:0}.recent-searches{text-align:left;text-transform:none;z-index:12;flex:none;position:relative}.recent-search-trigger{color:hsl(var(--brand-700));cursor:pointer;letter-spacing:normal;text-transform:none;white-space:nowrap;background:0 0;border:0;align-items:center;gap:5px;padding:3px 2px;font-size:12px;font-weight:800;line-height:1.2;display:inline-flex}.recent-search-trigger:hover,.recent-search-trigger:focus-visible{color:var(--brand-strong);text-underline-offset:3px;text-decoration:underline}.recent-search-trigger svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:17px;height:17px}.recent-search-popover{background:var(--surface);border:1px solid var(--border);box-shadow:0 22px 60px hsl(var(--brand-950) / .24);color:var(--text);letter-spacing:normal;text-transform:none;z-index:100;border-radius:14px;width:min(360px,100vw - 36px);max-height:min(440px,100vh - 80px);padding:10px;font-size:14px;position:absolute;top:calc(100% + 8px);right:0;overflow:auto}.recent-search-popover-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:12px;padding:4px 4px 10px 6px;display:flex}.recent-search-popover-heading>div{gap:2px;display:grid}.recent-search-popover-heading strong{font-size:14px}.recent-search-popover-heading span{color:var(--muted);font-size:11px}.recent-search-popover .icon-action{background:var(--surface-soft);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;width:30px;height:30px;padding:0 0 2px;font-size:20px;line-height:1;display:inline-flex}.recent-search-list{gap:3px;padding:7px 0;display:grid}.recent-search-item{color:var(--text);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:9px 10px;display:flex}.recent-search-item:hover,.recent-search-item:focus-visible{background:hsl(var(--brand-200) / .42)}.recent-search-item>span{overflow-wrap:anywhere;min-width:0;font-weight:750}.recent-search-item small{color:var(--muted);white-space:nowrap;flex:none;font-size:10px}.recent-search-state{color:var(--muted);margin:0;padding:18px 10px}.recent-search-state.error-text{color:var(--danger)}.recent-search-footer{border-top:1px solid var(--border);justify-content:flex-end;padding:8px 6px 2px;display:flex}.recent-search-footer .text-button{color:var(--muted);margin:0;font-size:11px}@media (max-width:620px){.search-input-with-recents,.compact-search-with-recents{flex-wrap:wrap;align-items:stretch}.search-input-with-recents>.input,.compact-search-with-recents>.input{flex:220px}.search-input-with-recents>.recent-searches,.compact-search-with-recents>.recent-searches{align-self:center}}.customer-email-admin-page{width:100%;max-width:1500px;margin-inline:auto}.customer-email-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.customer-email-kpis .stat-card strong{color:var(--brand-strong);font-size:clamp(2rem,1.5rem + 1vw,2.8rem);line-height:1}.customer-email-guide{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);align-items:start;gap:22px;padding:clamp(18px,2vw,28px);display:grid}.customer-email-guide h2,.customer-email-guide p{margin-bottom:8px}.customer-email-token-list{flex-wrap:wrap;gap:7px;margin-top:10px;display:flex}.customer-email-token-list code{background:var(--surface-soft);border:1px solid var(--border);color:var(--brand-strong);border-radius:999px;padding:5px 9px;font-size:12px}.customer-email-create{position:relative}.customer-email-create>summary{list-style:none}.customer-email-create>summary::-webkit-details-marker{display:none}.customer-email-create[open]{width:min(100%,980px)}.customer-email-create[open]>summary{width:fit-content;margin-bottom:10px}.customer-email-step{border-top:5px solid var(--brand);padding:clamp(16px,2vw,24px)}.customer-email-step.is-paused{border-top-color:var(--border-strong);opacity:.84}.customer-email-step-heading{grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:16px;display:grid}.customer-email-step-heading h3,.customer-email-step-heading p{margin:0}.customer-email-step-heading p{color:var(--muted);margin:5px 0 2px}.customer-email-step-number{background:hsl(var(--brand-200) / .5);color:var(--brand-strong);border-radius:12px;justify-content:center;align-items:center;width:46px;height:42px;font-size:16px;font-weight:850;display:inline-flex}.customer-email-step-editor{border-top:1px solid var(--border);margin-top:18px;padding-top:14px}.customer-email-step-editor>summary{color:var(--brand-strong);cursor:pointer;width:fit-content;font-weight:800}.customer-email-edit-layout{grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);align-items:start;gap:22px;margin-top:18px;display:grid}.customer-email-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.customer-email-wide{grid-column:1/-1}.customer-email-delay{grid-template-columns:minmax(0,1fr) minmax(110px,.7fr);gap:7px;display:grid}.customer-email-body-editor{resize:vertical;min-height:340px}.customer-email-preview{position:sticky;top:86px}.customer-email-preview iframe{border:1px solid var(--border);background:#eef5f6;border-radius:14px;width:100%;height:min(760px,100vh - 160px);margin-top:8px}.error-text{color:var(--danger);overflow-wrap:anywhere}@media (max-width:1050px){.customer-email-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-email-edit-layout{grid-template-columns:minmax(0,1fr)}.customer-email-preview{position:static}}@media (max-width:700px){.customer-email-guide,.customer-email-kpis,.customer-email-editor-grid{grid-template-columns:minmax(0,1fr)}.customer-email-step-heading{grid-template-columns:auto minmax(0,1fr)}.customer-email-step-heading>.inline-actions{grid-column:1/-1}.customer-email-wide{grid-column:auto}}.input,.textarea{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);color:var(--text);min-height:var(--control-height);width:100%;padding:8px 10px;transition:border-color .16s,box-shadow .16s}.input:focus,.textarea:focus{border-color:var(--brand);outline:2px solid hsl(var(--brand-600) / .2)}.textarea{resize:vertical;min-height:96px}.search-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.empty-state{background:linear-gradient(135deg, var(--surface), hsl(var(--neutral-100) / .72));border:1px solid var(--border);border-radius:var(--radius-lg);place-items:start;gap:12px;padding:20px;display:grid}.empty-state h2{margin:0}.empty-state-icon{background:hsl(var(--brand-600) / .14);border:1px solid hsl(var(--brand-600) / .28);border-radius:var(--radius-lg);width:42px;height:42px;position:relative}.empty-state-icon:after{background:var(--brand);content:"";border-radius:999px;width:10px;height:10px;position:absolute;top:16px;left:16px}.legal-editor{gap:16px;display:grid}.offer-editor{gap:14px;margin-top:14px;display:grid}.offers-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.offer-ribbon-preview{background:var(--brand-strong);border-top:6px solid var(--brand);box-shadow:var(--shadow-sm);color:#fff;grid-template-columns:54px minmax(0,1fr);min-height:132px;margin:16px -20px;display:grid;position:relative;overflow:hidden}.offer-ribbon-preview:after{color:#ffffff12;content:"365";font-size:7rem;font-weight:800;line-height:1;position:absolute;top:12px;right:-12px}.offer-ribbon-preview-label{background:var(--brand);letter-spacing:.12em;text-transform:uppercase;writing-mode:vertical-rl;justify-content:center;align-items:center;padding:10px;font-size:.72rem;font-weight:800;display:flex}.offer-ribbon-preview>div{z-index:1;padding:20px;position:relative}.offer-ribbon-preview strong{color:#fff;font-size:1.25rem;display:block}.offer-ribbon-preview p{color:#ffffffd1;margin:6px 0 12px}.offer-ribbon-preview>div>span{border-radius:var(--radius-sm);color:var(--brand-strong);background:#fff;padding:8px 12px;font-size:.8rem;font-weight:800;display:inline-flex}.editor-disclosure{align-self:start}.editor-disclosure>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;list-style:none;display:flex}.editor-disclosure>summary::-webkit-details-marker{display:none}.editor-disclosure>summary>span:first-child{gap:3px;min-width:0;display:grid}.editor-disclosure[open]>summary{border-bottom:1px solid var(--border);padding-bottom:12px}.offer-active-row{min-height:var(--control-height);align-self:end}.legal-textarea{white-space:pre-wrap;min-height:520px;font-family:inherit;line-height:1.55}.blog-image-editor{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.blog-image-field{gap:10px;display:grid}.blog-image-preview{background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;align-items:center;gap:8px;padding:10px;display:grid;overflow:hidden}.blog-image-preview img{aspect-ratio:16/9;object-fit:cover;border-radius:8px;width:100%;display:block}@media (max-width:760px){.blog-image-editor{grid-template-columns:1fr}}.legal-editor-actions,.inline-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.inline-form{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.filter-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:14px;display:flex}.orders-results-card{padding:0;overflow:hidden}.order-query-panel{background:radial-gradient(circle at 96% 0%, hsl(var(--brand-600) / .12), transparent 30%), var(--surface-soft);border-bottom:1px solid var(--border);gap:16px;padding:clamp(16px,1.6vw,24px);display:grid}.order-query-heading,.order-results-heading{justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.order-query-heading h2,.order-results-heading h2{margin:0}.order-query-heading .muted{margin:5px 0 0}.order-query-summary{flex:none;align-items:center;gap:10px;display:flex}.order-query-shortcuts{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.order-query-shortcuts>span{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;margin-right:4px;font-size:11px;font-weight:850}.order-query-shortcuts a{background:var(--surface);border:1px solid var(--border);color:var(--brand-strong);border-radius:999px;padding:7px 11px;font-size:12px;font-weight:800}.order-query-shortcuts a:hover,.order-query-shortcuts a:focus-visible,.order-query-shortcuts a.is-active{background:hsl(var(--brand-600) / .13);border-color:hsl(var(--brand-600) / .45);color:var(--brand-strong)}.order-query-form{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:12px;display:grid}.order-query-form .field{min-width:0}.order-query-search{grid-column:span 2}.order-query-actions{min-height:var(--control-height);align-items:center;gap:8px;display:flex}.order-results-heading{padding:18px clamp(16px,1.6vw,24px) 10px}.orders-results-card .table-shell,.orders-results-card .pagination-nav{margin-left:clamp(16px,1.6vw,24px);margin-right:clamp(16px,1.6vw,24px)}.orders-results-card .pagination-nav{margin-bottom:clamp(16px,1.6vw,24px)}.order-reference-button{font-weight:850}.order-detail-dialog{background:var(--surface);border:1px solid var(--border);box-shadow:0 28px 90px hsl(var(--brand-950) / .34);color:var(--text);border-radius:22px;width:calc(100% - 24px);max-width:1540px;max-height:calc(100vh - 24px);margin:auto;padding:clamp(18px,1.8vw,28px);overflow-y:auto}.order-detail-dialog::backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:hsl(var(--brand-950) / .54)}.order-detail-dialog form{gap:14px;display:grid}.customer-operational-dialog{max-width:1380px}.customer-operational-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);align-items:stretch;gap:12px;display:grid}.order-detail-header,.order-detail-panel-heading,.order-detail-footer{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.order-detail-header{margin-bottom:16px}.order-detail-header h2,.order-detail-panel h3{margin:2px 0 0}.order-detail-loading{background:var(--surface-soft);border:1px solid var(--border);color:var(--muted);border-radius:16px;gap:12px;min-height:300px;padding:28px;display:grid}.order-detail-loading .skeleton-line{background:hsl(var(--brand-600) / .12);border-radius:8px;height:56px;animation:1.2s ease-in-out infinite alternate skeleton-pulse;display:block}.order-payment-failure-banner{border:2px solid;border-radius:16px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px 18px;display:grid}.order-payment-failure-banner.is-unresolved{color:#671914;background:#fdf2f1;border-color:#dc4338}.order-payment-failure-banner.is-resolved{color:#174f34;background:#ebf9f2;border-color:#328f62}.order-payment-failure-icon{color:#fff;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;font-size:25px;font-weight:900;display:flex}.order-payment-failure-banner.is-unresolved .order-payment-failure-icon{background:#bf2c22}.order-payment-failure-banner.is-resolved .order-payment-failure-icon{background:#28714e}.order-payment-failure-banner .eyebrow,.order-payment-failure-banner h3,.order-payment-failure-banner p{color:inherit;margin:0}.order-payment-failure-banner h3{margin-top:2px}.order-payment-failure-banner p:not(.eyebrow){margin-top:4px;line-height:1.45}.order-payment-failure-actions{justify-content:flex-end}.lead-payment-follow-up-banner{color:#63350d;background:#fef3e1;border:2px solid #ef9025;border-radius:16px;justify-content:space-between;align-items:center;gap:18px;padding:16px 18px;display:flex}.lead-payment-follow-up-banner .eyebrow,.lead-payment-follow-up-banner h2,.lead-payment-follow-up-banner p{color:inherit;margin:0}.lead-payment-follow-up-banner p{margin-top:4px;line-height:1.45}.order-detail-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;display:grid}.order-detail-item{min-width:0}.order-detail-summary .order-detail-item,.order-detail-definition-grid .order-detail-item{background:var(--surface-soft);border:1px solid var(--border);border-radius:11px;padding:10px 12px}.order-detail-item dt{color:var(--muted);letter-spacing:.09em;text-transform:uppercase;font-size:10px;font-weight:850}.order-detail-item dd{overflow-wrap:anywhere;margin:4px 0 0}.order-detail-main-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.16fr) minmax(0,1fr);align-items:stretch;gap:12px;display:grid}.order-detail-panel{background:var(--surface);border:1px solid var(--border);border-radius:15px;min-width:0;padding:15px}.order-address-panel{background:hsl(var(--brand-600) / .055);border-color:hsl(var(--brand-600) / .28)}.order-detail-definition-grid,.order-address-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.order-detail-help{margin:7px 0 0;font-size:12px;line-height:1.45}.order-address-grid .field{min-width:0}.order-address-grid .field-span{grid-column:1/-1}.order-address-grid .input{min-height:38px}.order-detail-contacts,.order-detail-notes{border-top:1px solid var(--border);gap:5px;margin-top:11px;padding-top:11px;display:grid}.order-detail-contacts>span{font-size:13px}.order-detail-contacts small,.order-detail-list small,.order-detail-operation small{color:var(--muted);margin-top:2px;font-size:11px;line-height:1.4;display:block}.order-detail-list{gap:0;margin-top:10px;display:grid}.order-detail-list>div,.order-detail-operation{border-top:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:10px;padding:9px 0;display:flex}.order-detail-list>div:first-child,.order-detail-operation:first-of-type{border-top:0}.order-detail-list>div>:last-child,.order-detail-operation>:last-child{text-align:right;flex:none}.order-detail-notes p{white-space:pre-wrap;margin:0}.order-detail-operations-grid{background:var(--surface-soft);border:1px solid var(--border);border-radius:15px;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;display:grid;overflow:hidden}.order-detail-operations-grid>section{border-left:1px solid var(--border);min-width:0;padding:13px 15px}.order-detail-operations-grid>section:first-child{border-left:0}.order-detail-footer{border-top:1px solid var(--border);align-items:center;padding-top:13px}.order-detail-footer>p{margin:0}@media (max-width:1180px){.order-detail-main-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-detail-main-grid>:last-child{grid-column:1/-1}}@media (max-width:760px){.order-detail-dialog{border-radius:14px;width:calc(100% - 12px);max-height:calc(100vh - 12px);padding:16px}.order-detail-summary,.order-detail-main-grid,.customer-operational-grid,.order-detail-operations-grid{grid-template-columns:1fr}.order-payment-failure-banner{grid-template-columns:44px minmax(0,1fr);align-items:start}.order-payment-failure-actions{grid-column:1/-1;justify-content:stretch}.order-payment-failure-actions>*{width:100%}.lead-payment-follow-up-banner{flex-direction:column;align-items:stretch}.lead-payment-follow-up-banner .primary-action{justify-content:center;width:100%}.order-detail-main-grid>:last-child{grid-column:auto}.order-detail-operations-grid>section{border-left:0;border-top:1px solid var(--border)}.order-detail-operations-grid>section:first-child{border-top:0}.order-detail-footer{flex-direction:column;align-items:stretch}.order-detail-footer .inline-actions,.order-detail-footer .inline-actions>*{width:100%}}.compact-field{color:var(--muted);gap:2px;font-size:11px;font-weight:700;display:grid}.compact-field .input{min-height:34px}.choice-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px;display:grid}.choice-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);cursor:pointer;align-items:flex-start;gap:10px;padding:12px;display:flex}.choice-card:has(input:checked){background:hsl(var(--brand-100));border-color:var(--brand)}.choice-card span{gap:2px;display:grid}.choice-card small{color:var(--muted)}.lead-payment-choice-group{border:0;gap:10px;min-width:0;margin:0;padding:0;display:grid}.lead-payment-choice-group>legend{margin-bottom:8px;padding:0}.field-span{grid-column:1/-1}.section-spacer{margin-top:14px}.success-notice{background:hsl(var(--brand-100));border-color:hsl(var(--brand-600) / .35);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.success-notice p{margin:2px 0 0}.route-loading{gap:14px;display:grid}.route-loading span{background:linear-gradient(90deg, var(--surface-soft), var(--surface), var(--surface-soft));border:1px solid var(--border);border-radius:var(--radius-lg);height:80px;animation:1.2s ease-in-out infinite alternate loading-pulse;display:block}.route-loading span:first-child{height:110px}@keyframes loading-pulse{to{opacity:.55}}.checkbox-row{align-items:center;gap:8px;display:flex;color:var(--text)!important;text-transform:none!important}hr{border:0;border-top:1px solid var(--border);margin:16px 0}.primary-action,.secondary-action,.danger-action{border-radius:var(--radius-md);cursor:pointer;min-height:var(--control-height);border:0;justify-content:center;align-items:center;padding:8px 13px;font-weight:800;transition:background .16s,box-shadow .16s,opacity .16s,transform .16s;display:inline-flex}.primary-action,.secondary-action,.danger-action,.nav-link,.list-card{-webkit-tap-highlight-color:transparent}.primary-action[aria-busy=true],.secondary-action[aria-busy=true],.danger-action[aria-busy=true]{box-shadow:inset 0 0 0 1px hsl(var(--brand-200) / .42);gap:8px}.primary-action:disabled,.secondary-action:disabled,.danger-action:disabled{cursor:wait;opacity:.72;pointer-events:none}.button-spinner{border:2px solid;border-right-color:#0000;border-radius:999px;width:14px;height:14px;animation:.7s linear infinite button-spin;display:inline-block}@keyframes button-spin{to{transform:rotate(360deg)}}.primary-action{background:var(--brand-strong);color:#fff}.primary-action:hover{background:hsl(var(--brand-950))}.secondary-action{background:var(--surface-soft);color:var(--text)}.danger-action{background:var(--danger-soft);color:var(--danger)}.notice{background:hsl(var(--brand-200) / .38);border-left:4px solid var(--brand);border-radius:var(--radius-md);color:var(--brand-strong);padding:10px 12px}.warning-notice{background:hsl(var(--warning-500) / .12);border-left-color:var(--warning);color:var(--text)}.warning-notice p{margin:2px 0 0}.payment-attempts-notice{gap:4px;margin-bottom:14px;display:grid}.error-box{background:var(--danger-soft);border-left:4px solid var(--danger);border-radius:var(--radius-md);color:var(--danger);padding:10px 12px}.timeline{gap:10px;display:grid}.timeline-item{border-left:3px solid var(--brand);padding-left:12px}.support-history .timeline-item{background:var(--surface-soft);border-bottom:1px solid var(--border);border-radius:0 var(--radius-md) var(--radius-md) 0;padding:12px}.lead-history{position:relative}.lead-history:before{background:var(--border);content:"";width:2px;position:absolute;top:18px;bottom:18px;left:8px}.lead-history .timeline-item{background:var(--surface-soft);border:1px solid var(--border);border-left:4px solid hsl(var(--brand-600));border-radius:0 var(--radius-md) var(--radius-md) 0;margin-left:20px;padding:14px 16px;position:relative}.lead-history .timeline-item:before{background:hsl(var(--brand-600));border:3px solid var(--surface);content:"";border-radius:999px;width:12px;height:12px;position:absolute;top:18px;left:-30px}.lead-history .timeline-item>p{white-space:pre-wrap;margin:8px 0 0}.support-history .timeline-item>p{white-space:pre-wrap;margin-bottom:0}.support-case-filters{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.detail-grid{grid-template-columns:minmax(0,1fr) minmax(320px,.42fr);align-items:start;gap:16px;display:grid}.detail-list{gap:9px;display:grid}.detail-item{border-bottom:1px solid var(--border);grid-template-columns:160px minmax(0,1fr);align-items:baseline;gap:10px;padding:0 0 9px;display:grid}.detail-item span,.note-block span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:800}.detail-item strong{color:var(--brand-strong);overflow-wrap:anywhere}.note-block{background:var(--surface-soft);border-radius:var(--radius-md);gap:8px;margin-top:14px;padding:12px;display:grid}.note-block p{white-space:pre-wrap;margin:0}.json-preview{background:hsl(var(--brand-950));border-radius:var(--radius-md);color:#e6ecef;white-space:pre-wrap;max-height:420px;margin:0;padding:12px;font-size:12px;line-height:1.55;overflow:auto}.customer-details-page{--customer-line:hsl(var(--brand-900) / .45)}.customer-context-banner{background:var(--surface);border:1px solid var(--customer-line);border-radius:var(--radius-lg);justify-content:space-between;align-items:flex-start;gap:16px;min-width:0;padding:16px;display:flex}.customer-context-banner>:first-child{min-width:0}.customer-context-banner .muted{overflow-wrap:anywhere}.customer-context-banner h1{margin:0;font-size:clamp(1.45rem,1.35rem + .42vw,1.9rem);line-height:1.05}.context-banner{background:var(--surface);border:1px solid hsl(var(--brand-900) / .34);border-radius:var(--radius-lg);justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.context-banner-title{flex-wrap:wrap;align-items:center;gap:10px;margin-top:4px;display:flex}.context-banner-title>span:last-child{color:var(--brand-strong);font-size:1.1rem;font-weight:850}.customer-context-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.customer-edit-workspace{gap:18px;display:grid}.customer-edit-heading,.customer-edit-card-heading,.customer-edit-section-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.customer-edit-heading{background:linear-gradient(135deg, hsl(var(--brand-950)), hsl(var(--brand-700)));border-radius:var(--radius-lg);color:#fff;padding:20px}.customer-edit-heading h2,.customer-edit-section-heading h2,.customer-edit-card h3{margin:0}.customer-edit-heading h2{color:#fff}.customer-edit-heading .eyebrow{color:#6fe3eb}.customer-edit-heading .muted{color:#d7e7ea;margin-bottom:0}.customer-edit-heading .secondary-action{background:#fff;flex:none}.customer-edit-section-heading{margin-top:4px}.customer-edit-section-heading p,.customer-edit-card-heading p{margin:4px 0 0}.customer-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;display:grid}.customer-edit-card{background:var(--surface);border:1px solid var(--customer-line);border-radius:var(--radius-lg);gap:14px;padding:18px;display:grid}.customer-edit-card-heading>.muted{font-size:12px;font-weight:750}.customer-edit-form{gap:14px;display:grid}.customer-edit-readonly{background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-md);padding:10px 12px}.customer-edit-readonly p{margin:4px 0 0}.customer-edit-checks{flex-wrap:wrap;gap:14px;display:flex}.customer-edit-actions{justify-content:flex-end;display:flex}.error-notice{background:hsl(var(--danger-500) / .1);border-left-color:var(--danger);color:var(--danger)}.label-row{flex-wrap:wrap;align-items:stretch;gap:6px;margin-top:10px;display:flex}.customer-context-banner .label-row>:is(.badge,.customer-flag){box-sizing:border-box;white-space:nowrap;align-items:center;min-height:34px;margin-top:0;line-height:1.2}.customer-context-rail{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;display:grid}.customer-flag{border:1px solid #0000;border-radius:999px;align-items:center;padding:5px 9px;font-size:12px;font-weight:850;line-height:1.2;display:inline-flex}.customer-flag-red{background:hsl(var(--danger-500) / .14);border-color:hsl(var(--danger-500) / .4);color:var(--danger)}.customer-flag-amber{background:hsl(var(--warning-500) / .2);border-color:hsl(var(--warning-500) / .48);color:#7c4c0e}.customer-flag-blue{color:#105984;background:#1695df21;border-color:#1695df66}.customer-flag-purple{color:#5d2489;background:#8f35d41f;border-color:#8f35d461}.customer-flag-teal{background:hsl(var(--brand-600) / .14);border-color:hsl(var(--brand-600) / .4);color:var(--brand-strong)}.customer-flag-grey{background:hsl(var(--neutral-100));border-color:var(--border);color:var(--muted)}.customer-attention-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.attention-overview-grid{grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);align-items:start;gap:14px;display:grid}.attention-record-list{gap:9px;display:grid}.attention-record{background:var(--surface);border:1px solid var(--border);border-left:4px solid hsl(var(--brand-600));border-radius:var(--radius-md);justify-content:space-between;align-items:flex-start;gap:12px;padding:11px 12px;display:flex}.attention-record p{margin:5px 0 0}.attention-record-main{overflow-wrap:anywhere;min-width:0}.reminder-overdue{border-left-color:hsl(var(--danger-500));background:hsl(var(--danger-500) / .035)}.reminder-due-soon{border-left-color:hsl(var(--warning-500));background:hsl(var(--warning-500) / .045)}.attention-record-muted{border-left-color:var(--border);opacity:.72}.attention-history{margin-top:14px}.attention-history summary{color:var(--brand-strong);cursor:pointer;margin-bottom:10px;font-weight:800}.attention-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.attention-summary-four{grid-template-columns:repeat(4,minmax(0,1fr))}.attention-summary-card{align-items:baseline;gap:10px;padding:14px;text-decoration:none;display:flex}.attention-summary-card strong{color:var(--brand-strong);font-size:2rem;line-height:1}.attention-summary-card span{color:var(--muted);font-weight:750}.attention-summary-danger{border-color:hsl(var(--danger-500) / .5)}.attention-summary-danger strong{color:var(--danger)}.attention-filter-toolbar{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);align-items:center;margin:0;padding:10px 12px}.filter-toolbar-group{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.filter-toolbar-group>.muted{letter-spacing:.08em;text-transform:uppercase;margin-right:2px;font-size:12px;font-weight:850}.attention-worklist .attention-record,.flag-register-list .attention-record{min-height:92px}.flag-type-selector{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.flag-type-card{align-content:center;gap:8px;min-height:86px;padding:13px;text-decoration:none;display:grid}.flag-type-card>strong{color:var(--brand-strong);font-size:1.65rem;line-height:1}.flag-type-card>span:last-child:not(.customer-flag){color:var(--muted);font-weight:800}.flag-type-card.is-selected{background:hsl(var(--brand-600) / .1);border-color:hsl(var(--brand-600) / .58);box-shadow:inset 0 0 0 1px hsl(var(--brand-600) / .16)}.flag-register-row{align-items:center}.flag-guidance{font-weight:700}.customer-flag-dialog-section{border-top:1px solid var(--border);gap:12px;margin-top:18px;padding-top:18px;display:grid}.customer-flag-dialog-section h3,.customer-flag-dialog-section p{margin:0}.customer-flag-clear-section{background:hsl(var(--danger-500) / .045);border:1px solid hsl(var(--danger-500) / .22);border-radius:var(--radius-lg);padding:16px}.kpi-card{background:var(--surface);border:1px solid var(--customer-line);border-radius:var(--radius-lg);gap:2px;padding:13px;display:grid}.kpi-value{color:var(--brand-strong);font-size:1.8rem;font-weight:800;line-height:1}.customer-tab-nav{background:var(--surface);border:1px solid var(--customer-line);overscroll-behavior-inline:contain;scrollbar-width:thin;border-radius:999px;align-items:center;gap:4px;padding:4px;display:flex;overflow-x:auto}.customer-tab{color:var(--muted);border:1px solid #0000;border-radius:999px;flex:none;align-items:center;gap:8px;min-height:34px;padding:7px 11px;font-size:14px;font-weight:800;display:inline-flex}.customer-tab:hover,.customer-tab[aria-current=page]{background:var(--surface-soft);border-color:var(--customer-line);color:var(--brand-strong)}.tab-count{background:hsl(var(--brand-600) / .12);color:var(--brand-strong);text-align:center;border-radius:999px;min-width:22px;padding:1px 6px;font-size:12px}.customer-workspace{grid-template-columns:minmax(260px,.3fr) minmax(0,1fr);align-items:start;gap:16px;min-width:0;display:grid}.customer-workspace-simplified{display:block}.customer-overview-page{gap:16px;display:grid}.customer-overview-flow{grid-template-columns:minmax(0,1.6fr) minmax(310px,.72fr);align-items:start;gap:16px;display:grid}.customer-overview-primary,.customer-overview-secondary{gap:16px;min-width:0;display:grid}.customer-overview-identity{min-height:100%}.customer-overview-side{gap:16px;display:grid}.customer-quick-work{grid-column:1/-1}.customer-essential-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px;margin:0;display:grid}.customer-essential-grid>div{min-width:0}.customer-essential-grid dt{color:var(--muted);letter-spacing:.09em;text-transform:uppercase;font-size:11px;font-weight:850}.customer-essential-grid dd{overflow-wrap:anywhere;margin:4px 0 0;font-size:15px;font-weight:750}.customer-consent-summary{flex-wrap:wrap;gap:.4rem;display:flex}.customer-preference-editor{border:1px solid var(--border);border-radius:12px;margin-top:1rem;padding:.75rem .9rem}.customer-preference-editor summary{cursor:pointer;font-weight:800}.customer-preference-form{grid-template-columns:minmax(180px,1fr) minmax(240px,1.5fr) auto;align-items:end;gap:.8rem;padding-top:.9rem;display:grid}.customer-preference-checks{flex-wrap:wrap;gap:.55rem 1rem;padding-bottom:.6rem;display:flex}@media (max-width:800px){.customer-preference-form{grid-template-columns:1fr;align-items:stretch}}.customer-communication-preferences{border:1px solid var(--border);border-radius:14px;gap:.65rem;margin:0;padding:1rem;display:grid}.customer-communication-preferences legend{padding:0 .4rem;font-weight:800}.customer-overview-divider{border-top:1px solid var(--border);margin:18px 0}.customer-overview-contacts h3,.customer-overview-contacts p{margin:0}.customer-contact-pills{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.customer-contact-pill{background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;gap:2px;min-width:min(190px,100%);max-width:100%;padding:9px 11px;display:grid}.customer-contact-pill span{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.customer-service-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.customer-service-summary>div{background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;gap:2px;padding:12px;display:grid}.customer-service-summary strong{color:var(--brand-strong);font-size:1.45rem}.customer-service-summary span{color:var(--muted);font-size:12px;font-weight:750}.customer-service-latest{flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:0;display:flex}.customer-position-layout{grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);align-items:start;gap:20px;display:grid}.customer-position-service{min-width:0}.customer-position-attention{border-left:1px solid var(--border);min-width:0;padding-left:20px}.customer-position-subheading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.customer-position-subheading>span{background:var(--surface-soft);color:var(--muted);border-radius:999px;justify-content:center;align-items:center;min-width:24px;min-height:24px;padding:3px 7px;font-size:11px;font-weight:850;display:inline-flex}.subscription-detail-summary{gap:14px;display:grid}.subscription-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;display:grid}.subscription-summary-grid>div{border-top:1px solid var(--border);min-width:0;padding:12px 18px 12px 0}.subscription-summary-grid dt{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:850}.subscription-summary-grid dd{overflow-wrap:anywhere;gap:3px;margin:4px 0 0;font-weight:750;display:grid}.subscription-summary-grid small{color:var(--muted);font-weight:500}.customer-checkout-readiness{border:1px solid var(--border);border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:16px;padding:13px 14px;display:grid}.customer-checkout-readiness.is-ready{background:#30a68917;border-color:#30a68952}.customer-checkout-readiness.is-incomplete{background:var(--warning-soft);border-color:#e3971c61}.customer-checkout-readiness-icon{border:1px solid;border-radius:999px;justify-content:center;align-items:center;width:30px;height:30px;font-weight:900;display:inline-flex}.customer-checkout-readiness p{margin:3px 0 0}@media (max-width:700px){.customer-checkout-readiness{grid-template-columns:auto minmax(0,1fr);align-items:start}.customer-checkout-readiness .secondary-action{grid-column:1/-1;justify-content:center}}.customer-attention-compact{gap:9px;display:grid}.customer-attention-compact>div{align-items:flex-start;gap:8px;display:flex}.customer-attention-compact>div>span:last-child{overflow-wrap:anywhere;font-size:12px;line-height:1.4}.customer-quick-action-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.customer-quick-action-grid details,.customer-quick-link{background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;min-width:0;padding:11px 12px}.customer-quick-action-grid details[open]{grid-column:span 2}.customer-quick-action-grid summary,.customer-quick-link{color:var(--brand-strong);cursor:pointer;font-weight:850}.customer-quick-action-grid details form{margin-top:12px}.customer-activity-card{overflow:hidden}.customer-activity-count{background:hsl(var(--brand-600) / .12);border:1px solid hsl(var(--brand-600) / .28);color:var(--brand-strong);white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:850}.customer-activity-tools{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin:14px 0 18px;display:grid}.customer-activity-filter{grid-template-columns:minmax(135px,.8fr) minmax(150px,1fr) minmax(130px,.7fr) minmax(130px,.7fr) auto;align-items:end;gap:9px;display:grid}.customer-activity-filter-actions{align-items:center;gap:9px;min-height:40px;display:flex}.customer-activity-note{position:relative}.customer-activity-note>summary{background:hsl(var(--brand-600));border-radius:var(--radius-md);color:#fff;cursor:pointer;white-space:nowrap;min-height:40px;padding:10px 13px;font-weight:850;list-style:none}.customer-activity-note>summary::-webkit-details-marker{display:none}.customer-activity-note[open]{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);z-index:20;width:440px;max-width:min(440px,100vw - 48px);padding:10px;position:absolute;right:18px;transform:translateY(38px);box-shadow:0 14px 32px #001c2624}.customer-activity-note[open]>summary{color:var(--brand-strong);background:0 0;padding:2px 3px 9px}.customer-activity-list{border-top:1px solid var(--border);display:grid}.customer-activity-item{grid-template-columns:12px minmax(0,1fr);gap:13px;padding:14px 2px;display:grid;position:relative}.customer-activity-item+.customer-activity-item{border-top:1px solid var(--border)}.customer-activity-marker{background:hsl(var(--brand-600));border:3px solid hsl(var(--brand-200));border-radius:999px;width:12px;height:12px;margin-top:4px}.customer-activity-marker.activity-payment,.customer-activity-marker.activity-subscription{background:#239a54;border-color:#cef3dd}.customer-activity-marker.activity-support,.customer-activity-marker.activity-installation{background:#ef8c0b;border-color:#ffeac7}.customer-activity-copy,.customer-activity-copy p{min-width:0}.customer-activity-heading{flex-wrap:wrap;align-items:baseline;gap:6px 10px;display:flex}.customer-activity-heading>span{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;font-size:11px;font-weight:850}.customer-activity-copy>p{overflow-wrap:anywhere;white-space:pre-wrap;margin:5px 0 0}.customer-activity-meta{font-size:12px}.customer-activity-repeats{color:var(--muted);margin-top:7px;font-size:12px}.customer-activity-repeats summary{color:var(--brand-strong);cursor:pointer;font-weight:800}.customer-activity-repeats ul{columns:2;margin:7px 0 0;padding-left:18px}.customer-activity-empty{text-align:center;padding:28px 4px}.customer-activity-empty p,.customer-activity-limit{margin-bottom:0}.customer-workspace>*{min-width:0}.customer-context-panel{background:linear-gradient(135deg, var(--surface), var(--surface-soft));border:1px solid var(--customer-line);border-radius:var(--radius-lg);gap:12px;min-width:0;padding:15px;display:grid;position:sticky;top:78px}.customer-context-panel h2,.customer-workspace-main h2{margin-top:0}.customer-workspace-main{min-width:0}.customer-workspace-main .grid-3{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.customer-workspace-main .card,.customer-workspace-main .record-list,.customer-context-panel section,.customer-context-panel form,.customer-context-panel input,.customer-context-panel textarea{min-width:0;max-width:100%}.definition-list{gap:10px;margin:0;display:grid}.definition-list div{gap:2px;display:grid}.definition-list dt{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:800}.definition-list dd{overflow-wrap:anywhere;margin:0}.record-list{gap:8px;min-width:0;margin:10px 0;display:grid}.record-row{background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-md);justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:10px;display:flex}.record-row>:first-child{overflow-wrap:anywhere;gap:2px;min-width:0;display:grid}.record-row>:last-child:not(:first-child){flex:none;max-width:100%}.customer-record-copy{min-width:0}.customer-record-copy>strong,.customer-message-preview{overflow-wrap:anywhere;min-width:0}.customer-message-preview{-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.4;display:-webkit-box;overflow:hidden}.customer-communication-row{overflow:hidden}.customer-note-list{max-height:420px;overflow:auto}.customer-note-list .timeline-item p{overflow-wrap:anywhere;white-space:pre-wrap;margin-top:0}.customer-note-composer{background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-md);padding:10px 12px}.customer-note-composer>summary{color:var(--brand-strong);cursor:pointer;font-weight:850}.customer-note-composer[open]>summary{margin-bottom:12px}.admin-page-header{align-items:flex-end}.admin-user-search-panel{justify-content:space-between;align-items:end;gap:12px;padding:16px;display:flex}.admin-user-search-form{grid-template-columns:minmax(260px,520px) auto auto;align-items:end;gap:10px;width:100%;display:grid}.admin-user-search-form .field{gap:5px}.admin-group-kpi-section{background:0 0;gap:16px;display:grid}.admin-group-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;display:grid}.admin-group-kpi{background:linear-gradient(145deg, var(--surface) 0%, var(--surface-soft) 100%);border:1px solid var(--border);border-radius:var(--radius-lg);color:var(--text);gap:5px;min-height:130px;padding:18px;transition:border-color .15s,box-shadow .15s,transform .15s;display:grid}.admin-group-kpi:hover,.admin-group-kpi:focus-visible{border-color:hsl(var(--brand-600) / .55);box-shadow:0 12px 30px hsl(var(--brand-900) / .1);outline:none;transform:translateY(-2px)}.admin-group-kpi-selected{background:linear-gradient(145deg, hsl(var(--brand-900)) 0%, hsl(var(--brand-700)) 100%);border-color:hsl(var(--brand-700));color:#fff}.admin-group-kpi>span{font-size:14px;font-weight:800}.admin-group-kpi>strong{align-self:end;font-size:clamp(2rem,3vw,2.8rem);line-height:.95}.admin-group-kpi>small{color:var(--muted);font-size:12px;font-weight:700}.admin-group-kpi-selected>small{color:#ffffffb8}.admin-user-list-card{overflow:hidden}.admin-user-list-table{min-width:760px}.admin-user-list-table td{vertical-align:middle;font-size:13px}.admin-user-list-table th:last-child,.admin-user-list-table td:last-child{text-align:right;width:1%}.admin-user-email{color:var(--muted);overflow-wrap:anywhere;margin-top:3px;font-size:12px;display:block}.admin-user-name-link{color:var(--brand-strong);text-decoration:underline;-webkit-text-decoration-color:hsl(var(--brand-600) / .36);text-decoration-color:hsl(var(--brand-600) / .36);text-underline-offset:3px;font-weight:800;text-decoration-thickness:1px}.admin-user-name-link:hover,.admin-user-name-link:focus-visible{color:hsl(var(--brand-700));text-decoration-color:currentColor}.admin-mfa-compact{color:var(--muted);font-size:12px;font-weight:700}.admin-edit-user-button{min-height:34px;padding:6px 11px}.admin-group-empty-state{text-align:center;place-items:center;min-height:260px;padding:40px;display:grid}.admin-group-empty-state h2,.admin-group-empty-state p{margin:4px 0}.admin-group-empty-icon{background:hsl(var(--brand-600) / .1);border-radius:999px;justify-content:center;align-items:center;width:70px;height:70px;margin-bottom:8px;font-size:30px;display:flex}.admin-user-modal{background:var(--surface);border:1px solid var(--border);box-shadow:0 26px 80px hsl(var(--brand-900) / .3);color:var(--text);border-radius:22px;width:calc(100% - 32px);max-width:1080px;max-height:calc(100vh - 40px);margin:auto;padding:0;overflow-y:auto}.admin-user-modal::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:hsl(var(--brand-900) / .54)}.admin-user-modal-header{background:linear-gradient(135deg, hsl(var(--brand-900)) 0%, hsl(var(--brand-700)) 100%);color:#fff;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 28px;display:flex}.admin-user-modal-header h2{color:#fff;margin:3px 0 4px}.admin-user-modal-header .muted{color:#ffffffb8;margin:0}.admin-user-modal-header .eyebrow{color:hsl(var(--brand-200))}.admin-user-modal-close{color:#fff;cursor:pointer;background:#ffffff1a;border:1px solid #ffffff52;border-radius:999px;flex:none;justify-content:center;align-items:center;width:42px;height:42px;font-size:26px;line-height:1;display:flex}.admin-user-modal-close:hover,.admin-user-modal-close:focus-visible{outline-offset:2px;background:#fff3;outline:2px solid #fff}.admin-user-modal-form{display:grid}.admin-user-modal-section,.admin-user-security-panel{border-bottom:1px solid var(--border);gap:14px;padding:22px 28px;display:grid}.admin-user-modal-section h3,.admin-user-security-panel h3{margin:0}.admin-modal-section-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.admin-modal-section-heading p{margin:4px 0 0}.admin-role-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px;display:grid}.admin-role-option{background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-md);align-self:start;gap:9px;padding:13px;display:grid}.admin-role-option:has(input:checked){background:hsl(var(--brand-600) / .08);border-color:hsl(var(--brand-600) / .5);box-shadow:inset 0 0 0 1px hsl(var(--brand-600) / .12)}.admin-role-option-title{cursor:pointer;align-items:center;gap:9px;display:flex}.admin-role-option-title input{width:18px;height:18px}.admin-role-description{color:var(--muted);font-size:12px;line-height:1.45}.admin-role-permissions{color:var(--muted);font-size:11px}.admin-role-permissions summary{cursor:pointer;width:fit-content;font-weight:800}.admin-role-permissions summary:hover,.admin-role-permissions summary:focus-visible{color:var(--brand-strong)}.admin-role-permissions p{margin:8px 0 0;line-height:1.55}.admin-territory-options{flex-wrap:wrap;gap:10px 24px;display:flex}.admin-user-modal-footer{background:var(--surface-soft);z-index:2;justify-content:flex-end;align-items:center;gap:10px;padding:18px 28px;display:flex;position:sticky;bottom:0}.admin-user-security-panel{background:hsl(var(--brand-600) / .035);border-bottom:0}.admin-security-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.admin-security-detail-grid>div{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);gap:3px;padding:12px;display:grid}.admin-security-detail-grid span{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:11px;font-weight:800}.admin-user-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.admin-user-actions form{margin:0;display:inline-flex}.admin-user-action{background:var(--surface-soft);border:1px solid var(--border);color:var(--brand-strong);cursor:pointer;font:inherit;white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:5px;min-height:34px;padding:6px 9px;font-size:11px;font-weight:800;display:inline-flex}.admin-user-action:hover,.admin-user-action:focus-visible{background:hsl(var(--brand-200) / .5);border-color:hsl(var(--brand-600) / .55)}.admin-user-action:focus-visible{outline:2px solid hsl(var(--brand-600));outline-offset:2px}.admin-user-action:disabled{cursor:not-allowed;opacity:.48}.admin-user-action-icon{flex:none;width:15px;height:15px}.admin-user-delete-action{border-left:1px solid var(--border);padding-left:9px;margin-left:3px!important}.admin-user-action-danger{background:hsl(var(--danger-500) / .08);border-color:hsl(var(--danger-500) / .25);color:var(--danger)}.admin-user-action-danger:hover,.admin-user-action-danger:focus-visible{background:hsl(var(--danger-500) / .14);border-color:hsl(var(--danger-500) / .5)}.admin-security-explainer{color:var(--muted);margin:0;font-size:12px;line-height:1.5}@media (max-width:760px){.admin-group-kpi-grid,.admin-role-grid,.admin-security-detail-grid{grid-template-columns:1fr}.admin-group-kpi{min-height:108px}.admin-user-search-panel{flex-direction:column;align-items:stretch}.admin-user-search-form{grid-template-columns:1fr}.admin-user-search-form>*{justify-content:center;width:100%}.admin-user-modal{border-radius:14px;width:calc(100% - 12px);max-height:calc(100vh - 16px)}.admin-user-modal-header,.admin-user-modal-section,.admin-user-security-panel,.admin-user-modal-footer{padding-left:16px;padding-right:16px}.admin-user-modal-footer{flex-direction:column-reverse;align-items:stretch}.admin-user-modal-footer>*{justify-content:center;width:100%}.admin-user-delete-action{border-left:0;border-top:1px solid var(--border);width:100%;padding-top:9px;padding-left:0;margin-left:0!important}}.checkout-price-list{gap:8px;max-height:260px;display:grid;overflow:auto}.two-column{grid-template-columns:minmax(280px,.42fr) minmax(0,1fr);align-items:start;gap:18px;display:grid}.compact-input{min-width:150px}.whatsapp-filterbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.whatsapp-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;display:flex}.section-tabs{background:var(--surface);border:1px solid var(--border);border-radius:999px;align-items:center;gap:4px;width:fit-content;padding:4px;display:flex;overflow-x:auto}.section-tabs a{color:var(--muted);border:1px solid #0000;border-radius:999px;flex:none;padding:7px 12px;font-weight:800}.section-tabs a:hover,.section-tabs a[aria-current=page]{background:var(--surface-soft);border-color:var(--border);color:var(--brand-strong)}.whatsapp-filterbar a,.whatsapp-filterbar button{gap:8px}.whatsapp-filterbar span{color:inherit;opacity:.75;font-size:12px}.whatsapp-page{flex-direction:column;min-height:calc(100dvh - 54px - clamp(14px,1.4vw,24px) - clamp(14px,1.4vw,24px));display:flex}.whatsapp-workspace{flex:auto;grid-template-columns:clamp(320px,25vw,440px) minmax(0,1fr);align-items:stretch;gap:14px;min-height:clamp(640px,100dvh - 255px,1100px);display:grid}.whatsapp-compose-panel{gap:14px;display:grid}.whatsapp-compose-form{grid-template-columns:minmax(280px,.75fr) minmax(360px,1.5fr) auto;align-items:end;gap:12px;display:grid}.whatsapp-recipient-mode{border:0;flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:8px 18px;margin:0;padding:0;display:flex}.whatsapp-recipient-mode legend{color:var(--brand-strong);margin-right:4px;font-size:13px;font-weight:800}.whatsapp-recipient-mode label{align-items:center;gap:6px;font-size:13px;font-weight:700;display:inline-flex}.whatsapp-recipient-fields{gap:9px;display:grid}.whatsapp-compose-message{position:relative}.whatsapp-compose-message .textarea{min-height:88px;padding-bottom:24px}.whatsapp-character-count{font-size:11px;position:absolute;bottom:7px;right:9px}.whatsapp-compose-error,.whatsapp-compose-help{grid-column:1/-1;margin:0}.whatsapp-sidebar,.whatsapp-thread{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);min-width:0}.whatsapp-sidebar{grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden}.whatsapp-sidebar-header,.whatsapp-thread-header,.whatsapp-thread-actions{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.whatsapp-sidebar-header h2,.whatsapp-thread-header h2{margin:0;font-size:1rem;line-height:1.2}.whatsapp-thread-header p{margin-bottom:0}.whatsapp-thread-badges,.whatsapp-thread-actions{flex-wrap:wrap}.whatsapp-ticket-subject{min-width:min(320px,55vw)}.whatsapp-conversation-list{overflow:auto}.whatsapp-row{appearance:none;border-top:0;border-left:4px solid #0000;border-right:0;border-bottom:1px solid var(--border);color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;grid-template-columns:minmax(0,1fr) auto;gap:6px;width:100%;padding:9px 10px;text-decoration:none;display:grid}.whatsapp-row.is-new-message{background:hsl(var(--brand-600) / .09);border-left-color:hsl(var(--brand-600))}.whatsapp-row.is-awaiting-reply{background:hsl(var(--warning-500) / .09);border-left-color:hsl(var(--warning-500))}.whatsapp-row.is-conversation{border-left-color:hsl(var(--brand-200))}.whatsapp-row:hover,.whatsapp-row[aria-current=page]{background:var(--surface-soft)}.whatsapp-row strong,.whatsapp-row .muted{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.whatsapp-row-meta{color:var(--muted);justify-items:end;gap:4px;min-width:78px;font-size:12px;display:grid}.whatsapp-conversation-state{border:1px solid var(--border);color:var(--text);letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:850}.is-new-message .whatsapp-conversation-state{background:hsl(var(--brand-600) / .14);border-color:hsl(var(--brand-600) / .4)}.is-awaiting-reply .whatsapp-conversation-state{background:hsl(var(--warning-500) / .16);border-color:hsl(var(--warning-500) / .45)}.whatsapp-thread{flex-direction:column;display:flex;overflow:hidden}.compact-message-list{border:0;border-radius:0;max-height:none}.whatsapp-reply-form{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;padding:10px 12px;display:grid}.whatsapp-reply-form label{grid-column:1/-1}.compact-reply{min-height:76px}.compact-automation-log .table td,.compact-automation-log .table th{padding-top:6px;padding-bottom:6px}.list-card{gap:6px;padding:12px;display:grid}.list-card:hover,.list-card[aria-current=page]{background:var(--surface-soft)}.message-list{background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-lg);gap:10px;max-height:520px;padding:12px;display:grid;overflow:auto}.message-list.compact-message-list{flex:auto;align-content:start;height:100%;min-height:0;max-height:none;overflow-y:auto}.message-bubble.is-optimistic{opacity:.72}.whatsapp-load-earlier,.whatsapp-load-more{justify-self:center;margin:8px auto}.whatsapp-virtual-message-space{width:100%;min-height:1px;position:relative}.whatsapp-virtual-message-row{width:100%;min-width:0;padding-bottom:10px;display:flex;position:absolute;top:0;left:0}.whatsapp-virtual-message-row.outbound{justify-content:flex-end}.whatsapp-virtual-message-row.inbound{justify-content:flex-start}.whatsapp-list-message,.whatsapp-thread-placeholder,.whatsapp-message-error{margin:0;padding:16px}.whatsapp-list-skeleton,.whatsapp-thread-skeleton,.whatsapp-message-skeleton{background:linear-gradient(100deg, var(--surface-soft), var(--surface), var(--surface-soft));background-size:220% 100%;animation:1.2s ease-in-out infinite alternate skeleton-pulse}.whatsapp-list-skeleton{height:320px}.whatsapp-thread-skeleton,.whatsapp-message-skeleton{flex:360px;min-height:360px}.whatsapp-ticket-dialog{max-width:600px}.whatsapp-ticket-dialog-form{gap:10px;margin-top:22px;display:grid}.compact-field{flex-direction:row;align-items:center;gap:8px;display:inline-flex}@keyframes skeleton-pulse{0%{background-position:100% 0}to{background-position:0 0}}@media (prefers-reduced-motion:reduce){.whatsapp-list-skeleton,.whatsapp-thread-skeleton,.whatsapp-message-skeleton{animation:none}}.message-bubble{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);gap:6px;min-width:0;max-width:min(680px,100% - 16px);padding:10px 12px;display:grid;overflow:hidden}.message-bubble p{overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word;max-width:100%;margin:0}.message-bubble small{color:var(--muted);overflow-wrap:anywhere}.message-bubble.outbound{border-color:hsl(var(--brand-600) / .45);justify-self:end}.message-bubble.inbound{justify-self:start}.whatsapp-media-card{background:hsl(var(--brand-200) / .55);border:1px solid hsl(var(--brand-600) / .35);border-radius:var(--radius-md);color:var(--text);text-align:left;align-items:center;gap:11px;min-width:min(280px,100%);padding:11px 13px;text-decoration:none;display:flex}.whatsapp-media-card>span:first-child{background:hsl(var(--brand-700));color:#fff;border-radius:999px;flex:0 0 34px;justify-content:center;align-items:center;height:34px;font-size:18px;display:inline-flex}.whatsapp-media-card>span:last-child{gap:2px;min-width:0;display:grid}.whatsapp-media-card strong,.whatsapp-media-card small{overflow-wrap:anywhere}.whatsapp-media-button{cursor:pointer;font:inherit}.whatsapp-media-button:hover,.whatsapp-media-button:focus-visible,.whatsapp-media-document:hover,.whatsapp-media-document:focus-visible{background:hsl(var(--brand-200) / .9);border-color:hsl(var(--brand-700))}.whatsapp-media-audio-video{gap:7px;min-width:min(440px,75vw);display:grid}.whatsapp-media-audio-video audio,.whatsapp-media-audio-video video{width:100%;max-width:100%;max-height:min(420px,55vh)}.whatsapp-media-download{color:hsl(var(--brand-700));justify-self:start;font-size:13px;font-weight:700}.whatsapp-media-dialog{color:#fff;background:#071e29;border:0;border-radius:18px;width:min(94vw,1200px);max-width:min(94vw,1200px);height:min(88vh,900px);max-height:900px;margin:auto;padding:0}.whatsapp-media-dialog::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#030f15d1}.whatsapp-media-dialog-toolbar{justify-content:space-between;align-items:center;gap:16px;min-height:74px;padding:12px 18px;display:flex}.whatsapp-media-dialog-toolbar>div:first-child{gap:2px;display:grid}.whatsapp-media-dialog-toolbar span{color:#c5d4da;font-size:13px}.whatsapp-media-dialog .dialog-close{color:#fff}.whatsapp-media-dialog .secondary-action{color:#102f3b;background:#fff}.whatsapp-media-image-stage{justify-content:center;align-items:center;height:calc(100% - 132px);min-height:240px;padding:0 18px;display:flex;overflow:hidden}.whatsapp-media-image-stage img{object-fit:contain;width:100%;height:100%}.whatsapp-media-caption{background:#00000040;min-height:58px;margin:0;padding:14px 18px;position:absolute;bottom:0;left:0;right:0}@media (max-width:640px){.whatsapp-media-audio-video{min-width:min(280px,72vw)}.whatsapp-media-dialog{border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh}.whatsapp-media-dialog-toolbar{align-items:flex-start}}.error-text{color:var(--danger)!important}.code-block{background:var(--surface-soft);border-radius:var(--radius-md);white-space:pre-wrap;word-break:break-word;max-width:320px;max-height:160px;margin:0;padding:8px;font-size:12px;overflow:auto}@media (max-width:860px){html{scroll-padding-top:70px}body.hub-mobile-nav-open{overflow:hidden}.auth-page{align-items:stretch;padding:0}.auth-shell{grid-template-columns:minmax(0,1fr);width:100%;min-width:0;max-width:100vw;min-height:100dvh}.auth-hero{min-width:0;padding:20px 22px 18px;display:block;overflow:hidden}.auth-hero .auth-hero-title{overflow-wrap:anywhere;font-size:clamp(1.45rem,7vw,2rem);line-height:1.05}.auth-hero p:not(.eyebrow):not(.auth-hero-title),.auth-feature-list{display:none}.auth-hero .eyebrow{margin-bottom:7px}.auth-card{box-shadow:none;min-width:0;max-width:100vw;padding:24px 20px max(28px, env(safe-area-inset-bottom));align-content:start;gap:16px}.auth-card-logo{width:min(190px,65vw)}.auth-form{gap:15px;min-width:0}.auth-form>*,.auth-form .field{width:100%;min-width:0}.auth-form .input{min-height:48px;font-size:16px}.auth-form .primary-action{width:100%;min-height:48px}.mfa-setup-box{padding:12px}.mfa-qr-code{min-height:0;padding:8px}.app-shell{min-height:100dvh;display:block}.sidebar{border-bottom:0;border-right:1px solid var(--border);max-width:88vw;height:100dvh;padding:66px 10px max(18px, env(safe-area-inset-bottom));visibility:hidden;z-index:90;width:310px;transition:transform .18s,visibility .18s;position:fixed;top:0;left:0;overflow-y:auto;transform:translate(-104%);box-shadow:18px 0 48px #0019233d}.sidebar.mobile-open{visibility:visible;transform:translate(0)}.sidebar-brand{height:58px;padding-left:16px;padding-right:54px}.sidebar-brand-logo{width:174px}.nav-collapse-toggle{display:none}.mobile-nav-trigger{background:var(--surface);border:1px solid var(--border);cursor:pointer;height:42px;left:10px;top:max(7px, env(safe-area-inset-top));z-index:100;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:42px;padding:0;display:flex;position:fixed;box-shadow:0 2px 8px #172a3717}.mobile-nav-trigger span{background:var(--brand-strong);border-radius:999px;width:19px;height:2px;display:block}.mobile-nav-trigger[aria-expanded=true]{opacity:0;pointer-events:none}.mobile-nav-backdrop{cursor:pointer;opacity:0;pointer-events:none;z-index:80;background:#0019237a;border:0;transition:opacity .18s;position:fixed;inset:0}.mobile-nav-backdrop.is-open{opacity:1;pointer-events:auto;display:block}.mobile-nav-close{background:var(--surface-soft);border:1px solid var(--border);color:var(--brand-strong);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;width:38px;height:38px;font-size:25px;line-height:1;display:flex;position:absolute;top:10px;right:11px}html.hub-nav-collapsed .app-shell{display:block}html.hub-nav-collapsed .sidebar{padding-left:10px;padding-right:10px}html.hub-nav-collapsed .nav-group-label span,html.hub-nav-collapsed .nav-link>span{display:inline}html.hub-nav-collapsed .nav-link{justify-content:flex-start;padding-inline:10px}html.hub-nav-collapsed .sidebar-brand-logo{display:block}.nav-link{min-height:44px;font-size:15px}.nav-group-label{min-height:36px}.grid-3,.dashboard-main-grid,.two-column,.whatsapp-workspace,.form-grid,.admin-create-user-form,.offers-editor-grid,.customer-context-rail,.customer-workspace,.customer-attention-grid,.attention-overview-grid,.attention-summary,.attention-summary-four,.flag-type-selector,.incoming-call-layout{grid-template-columns:1fr}.dashboard-hero-grid,.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.operational-dashboard .dashboard-hero-grid,.operational-dashboard .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));overflow-x:visible}.operational-dashboard .dashboard-performance .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-context-rail{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hero-kpi{gap:5px;min-height:150px;padding:14px}.hero-kpi strong{font-size:clamp(2rem,10vw,3rem)}.hero-kpi-label,.hero-kpi>span:last-child{font-size:12px}.stat-card{min-height:96px;padding:12px}.attention-record{display:grid}.topbar{flex-direction:row;justify-content:flex-end;align-items:center;min-height:56px;padding:7px 10px 7px 62px;top:0}.topbar-brand,.header-datetime,.topbar-user-settings,.session-lock-trigger{display:none}.topbar-actions{flex-wrap:nowrap;justify-content:flex-end;gap:6px;width:auto;min-width:0}.topbar-actions>form{display:flex}.incoming-call-top-action,a.mobile-settings-link,.session-signout-trigger{justify-content:center;align-items:center;width:42px;min-width:42px;height:42px;min-height:42px;padding:0;display:inline-flex}.incoming-call-label,.session-signout-label{display:none}.session-signout-icon{font-size:19px;line-height:1;display:inline;transform:rotate(180deg)}.territory-switcher{gap:0}.territory-switcher label,.territory-switcher-apply{display:none}.territory-switcher select{width:72px;min-height:42px;padding:7px 8px;font-size:14px}.team-reminder-centre>summary{min-width:42px;height:42px}.content{padding:12px}.page-stack{gap:14px}.card{padding:13px}.page-header h1{font-size:1.55rem}.page-subtitle,.page-header .muted{font-size:14px}.team-reminder-panel{width:calc(100vw - 20px);position:fixed;top:62px;right:10px}.page-header,.section-card-header,.search-form{grid-template-columns:1fr;align-items:stretch}.page-header,.section-card-header{flex-direction:column}.dashboard-effects-controls{border-radius:12px;width:100%}.dashboard-effects-controls button{flex:130px}.customer-growth-header{flex-direction:column;align-items:stretch;gap:12px}.customer-growth-selected{text-align:left;justify-items:start}.customer-growth-panel{padding:14px}.customer-growth-chart-wrap{padding-bottom:4px;overflow-x:auto}.customer-growth-chart{min-width:620px}.sync-strip,.editor-disclosure>summary{flex-direction:column;align-items:flex-start}.customer-context-banner{flex-direction:column;padding:14px}.customer-edit-heading,.customer-edit-card-heading,.customer-edit-section-heading{flex-direction:column}.customer-edit-grid{grid-template-columns:1fr}.customer-edit-card{padding:14px}.customer-edit-actions .primary-action{width:100%}.customer-context-panel{position:static}.customer-context-actions,.page-header-actions{justify-content:flex-start}.mobile-secondary-workflow{display:none}.customer-tab-nav,.section-tabs,.inline-actions{flex-wrap:nowrap;padding-bottom:5px;overflow-x:auto}.customer-tab,.section-tabs a,.inline-actions>a,.inline-actions>button{flex:none}.filter-toolbar,.inline-form,.search-form{grid-template-columns:1fr;align-items:stretch;width:100%;display:grid}.filter-toolbar{gap:12px}.filter-toolbar-group{grid-template-columns:1fr;align-items:stretch;display:grid}.input,select,textarea{font-size:16px}.primary-action,.secondary-action,.danger-action{min-height:42px}.table-shell:has(.mobile-card-table){overflow:visible}.mobile-card-table{border-collapse:separate;min-width:0;display:block}.mobile-card-table thead{display:none}.mobile-card-table tbody{gap:12px;display:grid}.mobile-card-table tbody tr{background:var(--surface);border:1px solid var(--border);border-radius:10px;display:grid;overflow:hidden;box-shadow:0 2px 7px #0f1e2a0d}.mobile-card-table tbody tr.order-metadata-row{display:none}.mobile-card-table tbody tr.order-primary-row td{border-bottom:1px solid var(--border);padding:10px 11px}.order-row-metadata-mobile{margin-top:8px;display:block}.mobile-card-table tbody td{border-bottom:1px solid var(--border);overflow-wrap:anywhere;background:0 0;min-width:0;padding:10px 11px;display:block}.mobile-card-table tbody td:last-child{border-bottom:0}.mobile-card-table tbody td:before{color:var(--muted);content:attr(data-label);letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px;font-size:10px;font-weight:850;display:block}.mobile-card-table tbody td[colspan]{display:block}.mobile-card-table tbody td[colspan]:before{content:none}.mobile-card-table .fulfilment-action-form{min-width:0}.mobile-card-table .table-actions,.mobile-card-table .table-actions a,.mobile-card-table .fulfilment-action-form,.mobile-card-table .fulfilment-action-form .inline-actions{width:100%}.mobile-card-table .table-actions a,.mobile-card-table .fulfilment-action-form button{justify-content:center}.whatsapp-workspace,.whatsapp-page{min-height:auto}.whatsapp-sidebar,.whatsapp-thread{max-height:none}.whatsapp-thread-actions,.whatsapp-reply-form,.whatsapp-compose-form,.admin-inline-form{grid-template-columns:1fr;align-items:stretch}.whatsapp-toolbar{flex-direction:column;align-items:stretch}.session-lock-backdrop{padding:12px}.session-lock-card{max-height:calc(100dvh - 24px);padding:22px 18px;overflow-y:auto}}@media (max-width:340px){.dashboard-hero-grid,.dashboard-grid,.operational-dashboard .dashboard-hero-grid,.operational-dashboard .dashboard-grid,.operational-dashboard .dashboard-performance .dashboard-grid{grid-template-columns:1fr}.topbar-actions{gap:4px}.territory-switcher select{width:66px}}.pagination-nav{grid-template-columns:1fr auto 1fr;align-items:center;gap:.75rem;margin-top:1rem;display:grid}.pagination-nav>:last-child{justify-self:end}.dashboard-header-controls{flex-wrap:wrap;justify-content:flex-end;align-items:stretch;gap:8px;min-width:0;display:flex}.operational-dashboard .page-header{flex-wrap:wrap;align-items:center}.operational-dashboard .page-header>:first-child{flex:320px;min-width:0}.operational-dashboard .page-header-actions{flex:0 auto;min-width:0}.dashboard-period-controls{background:var(--surface);border:1px solid var(--border);box-sizing:border-box;border-radius:999px;align-items:center;gap:8px;max-width:100%;min-height:46px;padding:6px 10px;display:flex;overflow:hidden;box-shadow:0 4px 14px #00192312}.dashboard-period-controls>span{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;padding-left:4px;font-size:11px;font-weight:850}.dashboard-period-controls .input{border-radius:999px;width:auto;height:34px;min-height:34px;padding:5px 30px 5px 10px;font-size:12px}.dashboard-period-controls select{flex:0 220px;width:210px;min-width:0;max-width:210px}.dashboard-period-controls input[type=date]{max-width:145px}.automation-day-filter{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 18px;display:flex}.automation-day-filter h2{margin:0}.automation-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.dashboard-current-operations{border-top:2px solid var(--border);padding-top:1.5rem}@media (max-width:1180px){.customer-workspace,.customer-overview-flow,.customer-activity-tools{grid-template-columns:minmax(0,1fr)}.customer-overview-flow{flex-direction:column;display:flex}.customer-overview-primary,.customer-overview-secondary{display:contents}.customer-overview-orders{order:1}.customer-overview-communications{order:2}.customer-overview-notes{order:3}.customer-overview-activity{order:4}.subscription-summary-grid,.customer-quick-action-grid,.customer-activity-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-activity-filter-actions{align-self:end}.customer-activity-note[open]{left:0;right:auto}.customer-context-panel{grid-template-columns:repeat(2,minmax(0,1fr));position:static}}@media (max-width:900px){.dashboard-header-controls,.dashboard-period-controls{align-items:stretch;width:100%}.dashboard-period-controls{border-radius:12px;flex-wrap:wrap}.dashboard-period-controls select,.dashboard-period-controls input[type=date]{flex:180px;width:auto;max-width:none}.automation-day-filter{flex-direction:column;align-items:stretch}.automation-day-filter .inline-form,.automation-day-filter .inline-actions{width:100%}.automation-day-filter .compact-field,.automation-day-filter .input{flex:auto}.order-query-heading,.order-results-heading{flex-direction:column;align-items:flex-start}.order-query-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:860px){.customer-context-panel,.customer-essential-grid{grid-template-columns:minmax(0,1fr)}.dashboard-section-heading{flex-direction:column;align-items:flex-start}}@media (max-width:560px){.operational-dashboard .dashboard-hero-grid,.operational-dashboard .dashboard-grid,.operational-dashboard .dashboard-performance .dashboard-grid{grid-template-columns:minmax(0,1fr)}.customer-context-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-activity-repeats ul{columns:1}.customer-quick-action-grid,.customer-activity-filter,.customer-service-summary{grid-template-columns:minmax(0,1fr)}.customer-quick-action-grid details[open]{grid-column:auto}.customer-activity-filter-actions,.customer-activity-filter-actions>*{width:100%}.customer-activity-filter-actions{flex-direction:column;align-items:stretch}.customer-activity-note[open]{width:100%;max-width:100%;position:static;transform:none}.customer-communication-row,.customer-workspace-main .record-row{flex-direction:column;align-items:flex-start}.customer-communication-row>:last-child:not(:first-child),.customer-workspace-main .record-row>:last-child:not(:first-child){align-self:flex-start}}.reporting-revenue-grid,.reporting-service-grid{grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1rem;margin-top:1.25rem;display:grid}.reporting-revenue-grid article,.reporting-service-grid article{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-soft);min-width:0;padding:1.15rem}.reporting-revenue-grid article>span,.reporting-service-grid article>span{color:var(--text-muted);letter-spacing:.1em;text-transform:uppercase;margin-bottom:.8rem;font-size:.78rem;font-weight:800;display:block}.reporting-revenue-grid article>div{justify-content:space-between;align-items:baseline;gap:1rem;padding:.45rem 0;display:flex}.reporting-revenue-grid .is-net{border-top:1px solid var(--border);color:var(--brand-700);margin-top:.35rem;padding-top:.8rem}.reporting-bars{gap:.8rem;margin-top:1.25rem;display:grid}.reporting-bar-row{min-height:2.3rem;color:inherit;grid-template-columns:minmax(8rem,12rem) minmax(10rem,1fr) 4rem;align-items:center;gap:1rem;text-decoration:none;display:grid}.reporting-bar-row:hover .reporting-bar-label,.reporting-bar-row:focus-visible .reporting-bar-label{color:var(--brand-700);text-decoration:underline}.reporting-bar-track{background:var(--surface-soft);border-radius:999px;height:.9rem;overflow:hidden}.reporting-bar-track i{border-radius:inherit;background:var(--brand-500);height:100%;display:block}.reporting-bar-track .tone-positive{background:var(--success)}.reporting-bar-track .tone-warning{background:var(--warning)}.reporting-bar-track .tone-danger{background:var(--danger)}.reporting-bar-row>strong{text-align:right;font-size:1.2rem}.reporting-service-grid article{grid-template-columns:1fr auto;align-items:end;gap:.3rem 1rem;display:grid}.reporting-service-grid article>span{grid-column:1/-1}.reporting-service-grid article>strong{font-size:clamp(1.5rem,3vw,2.5rem)}.reporting-service-grid article>small{color:var(--text-muted);grid-column:1}.reporting-service-grid article>em{color:var(--brand-700);grid-area:2/2/span 2;font-style:normal;font-weight:800}@media (max-width:720px){.reporting-bar-row{grid-template-columns:minmax(7rem,9rem) 1fr 2.75rem;gap:.6rem}.reporting-bar-label{font-size:.82rem}}.report-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin:1rem 0 1.25rem;display:grid}.report-choice-grid button{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-soft);min-height:8.5rem;color:inherit;text-align:left;cursor:pointer;align-content:start;gap:.45rem;padding:1rem;display:grid}.report-choice-grid button:hover,.report-choice-grid button:focus-visible{border-color:var(--brand-500)}.report-choice-grid button.is-selected{border-color:var(--brand-500);background:var(--brand-soft);box-shadow:inset .25rem 0 0 var(--brand-500)}.report-choice-grid button strong{font-size:1rem}.report-choice-grid button span{color:var(--text-muted);line-height:1.45}.report-config-panel{border-radius:var(--radius-md);background:var(--surface-soft);grid-template-columns:minmax(16rem,1.5fr) minmax(13rem,.7fr) auto;align-items:end;gap:1rem;padding:1rem;display:grid}.report-config-description>span{color:var(--text-muted);letter-spacing:.09em;text-transform:uppercase;font-size:.76rem;font-weight:800}.report-config-description>strong{margin-top:.25rem;font-size:1.1rem;display:block}.report-config-description p{color:var(--text-muted);margin:.25rem 0 0}.report-custom-dates{grid-template-columns:repeat(2,minmax(9rem,1fr));gap:.75rem;display:grid}.report-download-actions{flex-wrap:wrap;justify-content:flex-end;gap:.65rem;display:flex}@media (max-width:1100px){.report-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-config-panel{grid-template-columns:1fr 1fr}.report-download-actions{grid-column:1/-1;justify-content:flex-start}}@media (max-width:680px){.report-choice-grid,.report-config-panel{grid-template-columns:1fr}.report-choice-grid button{min-height:0}.report-download-actions,.report-download-actions>*{width:100%}}.global-customer-search{flex:0 300px;width:clamp(210px,19vw,300px);min-width:190px;position:relative}.global-customer-search-icon{color:var(--muted);pointer-events:none;z-index:1;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.global-customer-search-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.9px;width:18px;height:18px;display:block}.global-customer-search>input{background:var(--surface-soft);border:1px solid var(--border);color:var(--text);font:inherit;height:var(--control-height);border-radius:999px;outline:0;width:100%;padding:0 86px 0 38px;transition:border-color .15s,box-shadow .15s,background .15s}.global-customer-search>input:focus{background:var(--surface);border-color:hsl(var(--brand-600));box-shadow:0 0 0 3px hsl(var(--brand-600) / .16)}.global-customer-search-loading{color:var(--muted);font-size:11px;position:absolute;top:50%;right:13px;transform:translateY(-50%)}.global-customer-search-results{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-lg);z-index:70;border-radius:14px;min-width:min(420px,100vw - 24px);display:grid;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden}.global-customer-search-results>a{border-bottom:1px solid var(--border);color:var(--text);justify-content:space-between;align-items:center;gap:16px;min-width:0;padding:10px 12px;display:flex}.global-customer-search-results>a:hover,.global-customer-search-results>a:focus-visible{background:var(--surface-soft)}.global-customer-search-results>a>span,.global-customer-search-results>a>small{min-width:0}.global-customer-search-results strong,.global-customer-search-results small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.global-customer-search-results small{color:var(--muted);font-size:11px}.global-customer-search-results>p{color:var(--muted);margin:0;padding:14px}.global-customer-search-results .global-customer-search-all{color:var(--brand-strong);border:0;justify-content:center;font-weight:800}.customer-context-banner-rich{padding:0;display:block;overflow:hidden}.customer-context-main{--customer-context-padding:clamp(16px, 1.5vw, 22px);min-width:0;padding:var(--customer-context-padding);position:relative}.customer-context-title-row{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.customer-context-title-row .eyebrow,.customer-context-title-row .muted{margin:0}.customer-context-title-row h1{margin:4px 0 5px}.customer-close-action{background:var(--surface-soft);border:1px solid var(--border);color:var(--brand-strong);border-radius:999px;flex:none;justify-content:center;align-items:center;width:42px;height:42px;font-size:28px;font-weight:400;line-height:1;display:inline-flex}.customer-close-action:hover,.customer-close-action:focus-visible{background:hsl(var(--brand-600));border-color:hsl(var(--brand-600));color:#fff}.customer-banner-demographics{border-top:1px solid var(--border);grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 24px;margin:16px 0 0;padding-top:15px;display:grid}.customer-banner-demographics>div{min-width:0}.customer-banner-demographics dt,.customer-preference-summary dt{color:var(--muted);letter-spacing:.11em;text-transform:uppercase;font-size:10px;font-weight:850}.customer-banner-demographics dd,.customer-preference-summary dd{overflow-wrap:anywhere;margin:3px 0 0;font-weight:750}.customer-banner-address{grid-column:span 2}.customer-context-status-strip{background:var(--surface-soft);border-top:1px solid var(--border);margin:18px calc(0px - var(--customer-context-padding)) calc(0px - var(--customer-context-padding));grid-template-columns:repeat(4,minmax(0,1fr));gap:0;display:grid}.customer-context-status-strip>span{border-right:1px solid var(--border);color:var(--muted);align-items:baseline;gap:7px;min-width:0;padding:12px clamp(12px,1.2vw,18px);display:flex}.customer-context-status-strip>span:last-child{border-right:0}.customer-context-status-strip strong{color:var(--brand-strong);font-size:1.35rem}.customer-context-status-strip .is-warning strong{color:var(--danger)}.customer-quick-actions{background:var(--surface);border:1px solid var(--customer-line);border-radius:var(--radius-lg);justify-content:flex-start;align-items:center;gap:12px;padding:10px 12px;display:flex;position:relative}.customer-quick-actions-primary{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.customer-quick-action-menu{position:relative}.customer-quick-action-menu>summary{list-style:none}.customer-quick-action-menu>summary::-webkit-details-marker{display:none}.customer-quick-action-form{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-lg);z-index:25;border-radius:14px;gap:8px;min-width:min(380px,100vw - 28px);padding:14px;display:grid;position:absolute;top:calc(100% + 8px);left:0}.customer-account-page,.customer-admin-panel{gap:16px;display:grid}.customer-attachment-upload{background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-lg);grid-template-columns:minmax(180px,.75fr) minmax(260px,1.2fr) minmax(240px,1fr) auto;align-items:end;gap:12px;padding:16px;display:grid}.customer-attachment-visibility,.customer-attachment-policy{grid-column:1/-1}.customer-attachment-list{gap:10px;margin-top:16px;display:grid}.customer-attachment-row{border:1px solid var(--border);border-radius:var(--radius-lg);grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;padding:14px;display:grid}.customer-attachment-summary p{margin:5px 0 0}.customer-attachment-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.customer-attachment-remove{background:var(--danger-soft);border-radius:var(--radius-md);grid-column:1/-1;gap:10px;padding:12px;display:grid}@media (max-width:1050px){.customer-attachment-upload{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-attachment-row{grid-template-columns:1fr}.customer-attachment-actions{justify-content:flex-start}}@media (max-width:650px){.customer-attachment-upload{grid-template-columns:1fr}}.customer-people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;display:grid}.customer-people-grid>section+section{border-left:1px solid var(--border);padding-left:28px}.customer-subsection-heading{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.customer-subsection-heading h3{margin:0}.customer-subsection-heading>span{background:var(--surface-soft);color:var(--muted);text-align:center;border-radius:999px;min-width:25px;padding:3px 7px;font-size:11px;font-weight:850}.customer-compact-records{display:grid}.customer-compact-records>article{border-top:1px solid var(--border);padding:10px 0}.customer-compact-records>article>div:first-child{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.customer-compact-records p{color:var(--muted);overflow-wrap:anywhere;margin:4px 0 0}.customer-add-records{border-top:1px solid var(--border);flex-wrap:wrap;gap:8px;margin-top:14px;padding-top:14px;display:flex}.customer-add-records details{position:relative}.customer-add-records summary{list-style:none}.customer-add-records summary::-webkit-details-marker{display:none}.customer-add-record-form{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-lg);z-index:20;border-radius:14px;gap:7px;min-width:min(420px,100vw - 28px);padding:14px;display:grid;position:absolute;top:calc(100% + 8px);left:0}.customer-preference-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;display:grid}.customer-preference-summary>div{border-bottom:1px solid var(--border);min-width:0;padding:11px 14px 11px 0}.customer-preference-summary dd{gap:4px;display:grid}.customer-preference-summary small{color:var(--muted);font-weight:500}.customer-inline-editor summary,.customer-system-disclosure>summary{color:var(--brand-strong);cursor:pointer;font-weight:800}.customer-system-disclosure{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:14px 16px}.customer-system-grid{border-top:1px solid var(--border);grid-template-columns:minmax(260px,.65fr) minmax(0,1.35fr);gap:24px;margin-top:12px;padding-top:14px;display:grid}.customer-system-grid h3{margin-top:0}.customer-system-audit{min-width:0}@media (max-width:1180px){.global-customer-search{width:180px;min-width:160px}.customer-banner-demographics,.customer-preference-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:800px){.global-customer-search{flex-basis:42px;width:42px;min-width:42px;transition:width .18s}.global-customer-search:focus-within{width:min(260px,100vw - 150px)}.global-customer-search>input{padding-left:38px;padding-right:10px}.global-customer-search:not(:focus-within)>input::placeholder{color:#0000}.global-customer-search-results{position:fixed;top:58px;right:10px}.customer-banner-demographics,.customer-people-grid,.customer-preference-summary,.customer-system-grid,.customer-position-layout{grid-template-columns:1fr}.customer-position-attention{border-left:0;border-top:1px solid var(--border);padding-top:16px;padding-left:0}.customer-banner-address{grid-column:auto}.customer-context-status-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-context-status-strip>span:nth-child(2){border-right:0}.customer-context-status-strip>span:nth-child(-n+2){border-bottom:1px solid var(--border)}.customer-people-grid>section+section{border-left:0;border-top:1px solid var(--border);padding-top:18px;padding-left:0}}@media (max-width:520px){.customer-context-status-strip,.subscription-summary-grid{grid-template-columns:1fr}.customer-context-status-strip>span{border-bottom:1px solid var(--border);border-right:0}.customer-context-status-strip>span:last-child{border-bottom:0}.customer-quick-actions-primary>:is(a,details),.customer-quick-actions-primary>details>summary{width:100%}.customer-quick-action-form,.customer-add-record-form{position:fixed;top:70px;left:10px;right:10px}}:root[data-theme=dark] .global-customer-search>input,:root[data-theme=dark] .customer-context-status-strip{background:#192429}:root[data-theme=dark] .global-customer-search-results,:root[data-theme=dark] .customer-quick-action-form,:root[data-theme=dark] .customer-add-record-form{box-shadow:0 18px 44px #0000006b, 0 0 24px hsl(var(--brand-600) / .1)}@media (max-width:620px){.order-query-form{grid-template-columns:1fr}.order-query-search{grid-column:auto}.order-query-actions,.order-query-actions>*{width:100%}.automation-summary-grid{grid-template-columns:1fr}}.customer-search-toolbar{align-items:flex-end}.customer-result-labels{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;display:flex}.customer-name-link{color:var(--brand-strong);text-decoration:underline;-webkit-text-decoration-color:hsl(var(--brand-600) / .42);text-decoration-color:hsl(var(--brand-600) / .42);text-underline-offset:3px;font-weight:850;text-decoration-thickness:2px}.customer-name-link:hover,.customer-name-link:focus-visible{color:var(--brand);text-decoration-color:currentColor}.modal-dialog{background:var(--surface);border:1px solid var(--border);box-shadow:0 26px 80px hsl(var(--brand-900) / .28);color:var(--text);border-radius:22px;width:calc(100% - 32px);max-width:760px;max-height:calc(100vh - 40px);margin:auto;padding:26px;overflow-y:auto}.modal-dialog::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:hsl(var(--brand-900) / .52)}.modal-dialog-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;display:flex}.modal-dialog-header h2{margin:3px 0 0}.customer-create-dialog .form-grid{margin-top:20px}.customer-presence-badge{color:hsl(var(--brand-900));border:1px solid #97b0bf;border-radius:999px;align-items:center;gap:6px;padding:5px 8px;font-size:11px;font-weight:800;display:inline-flex}.customer-presence-badge.is-current{color:#71360e;background:#fde6c9;border-color:#df7416}.customer-presence-badge.is-recent{background:#eaf3f6}.customer-presence-dot{background:#e6560f;border-radius:999px;flex:0 0 8px;width:8px;height:8px;animation:1.8s ease-in-out infinite lead-presence-pulse;box-shadow:0 0 0 3px #e6560f29}.customer-presence-alert{border-radius:var(--radius-lg);color:#642f0c;background:#feead2;border:2px solid #df7416;align-items:center;gap:10px;margin-bottom:12px;padding:11px 14px;display:flex}.customer-presence-alert>div{gap:2px;display:grid}.customer-presence-alert.is-recent{color:hsl(var(--brand-900));background:#f1f7f9;border:1px solid #97b0bf}.table tbody tr:has(.customer-presence-badge.is-current) td{background:#fdf5e2}@media (prefers-reduced-motion:reduce){.customer-presence-dot{animation:none}}@media (max-width:640px){.customer-search-toolbar>*,.customer-search-toolbar button{width:100%}}.order-detail-dialog-super-user{max-width:1780px}.order-detail-dialog-super-user .order-detail-main-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-super-user-panel{background:#fef9eb;border-color:#efb261;grid-column:1/-1}.catalogue-item-editor,.customer-service-override,.phone-payment-progress{gap:14px;display:grid}.catalogue-selection-list,.catalogue-search-results,.customer-typeahead-results{gap:8px;display:grid}.catalogue-selection{background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;grid-template-columns:minmax(0,1fr) 72px minmax(92px,auto) 38px;align-items:center;gap:12px;padding:10px 12px;display:grid}.catalogue-selection>div,.catalogue-search-result>span:first-child{gap:2px;min-width:0;display:grid}.catalogue-selection small,.catalogue-search-result small{color:var(--muted);overflow-wrap:anywhere}.catalogue-search-results{overscroll-behavior:contain;max-height:260px;overflow-y:auto}.catalogue-search-result,.customer-typeahead-results button{background:var(--surface);border:1px solid var(--border);color:var(--text);cursor:pointer;text-align:left;border-radius:11px;justify-content:space-between;align-items:center;gap:14px;width:100%;padding:11px 12px;display:flex}.catalogue-search-result:hover:not(:disabled),.catalogue-search-result:focus-visible:not(:disabled),.customer-typeahead-results button:hover,.customer-typeahead-results button:focus-visible{background:hsl(var(--brand-600) / .07);border-color:hsl(var(--brand-600) / .45)}.catalogue-search-result:disabled{cursor:default;opacity:.58}.quantity-input{width:68px;min-height:36px}.phone-payment-page{max-width:none}.phone-payment-shell{grid-template-columns:minmax(0,1.55fr) minmax(360px,.72fr);align-items:start;gap:clamp(16px,1.5vw,24px);display:grid}.phone-payment-main{gap:clamp(16px,1.5vw,24px);min-width:0;display:grid}.phone-payment-main>.section-card,.phone-payment-checkout-card{align-content:start;min-height:0}.phone-payment-checkout-card{overscroll-behavior:contain;gap:18px;max-height:calc(100vh - 116px);display:grid;position:sticky;top:88px;overflow-y:auto}.phone-payment-checkout-card h2,.phone-payment-basket-card h2,.phone-payment-customer-card h2{margin-bottom:4px}.phone-payment-options{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;display:grid}.phone-payment-options>.field{grid-column:1/-1}.phone-payment-order-summary{background:linear-gradient(135deg, hsl(var(--brand-950)), hsl(var(--brand-700)));color:#fff;border-radius:16px;gap:0;display:grid;overflow:hidden}.phone-payment-order-summary>div{border-bottom:1px solid #ffffff29;justify-content:space-between;align-items:center;gap:16px;padding:12px 15px;display:flex}.phone-payment-order-summary>div:last-child{border-bottom:0}.phone-payment-order-summary span{color:#ffffffbd;letter-spacing:.06em;text-transform:uppercase;font-size:12px;font-weight:700}.phone-payment-order-summary strong{overflow-wrap:anywhere;text-align:right;max-width:65%}.phone-payment-order-summary .phone-payment-total{background:hsl(var(--brand-600) / .24);padding-block:16px}.phone-payment-order-summary .phone-payment-total strong{font-size:clamp(22px,2vw,30px)}.phone-payment-element-form{gap:16px;display:grid}.payment-element-frame{background:var(--surface);border:1px solid var(--border);border-radius:14px;min-height:132px;padding:14px}.payment-security-note{border:1px solid hsl(var(--brand-600) / .28);color:hsl(var(--brand-950));background:#f0f9f9;border-radius:13px;align-items:flex-start;gap:10px;padding:12px 13px;display:flex}.user-context-menu{z-index:70;flex:none;position:relative}.user-context-trigger{background:var(--surface-soft);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:999px;align-items:center;gap:9px;min-height:42px;padding:4px 10px 4px 5px;transition:border-color .16s,box-shadow .16s,background .16s;display:inline-flex}.user-context-trigger:hover,.user-context-trigger[aria-expanded=true]{background:var(--surface);border-color:hsl(var(--brand-600) / .55);box-shadow:0 0 0 3px hsl(var(--brand-600) / .1)}.user-context-avatar{background:linear-gradient(145deg, hsl(var(--brand-900)), hsl(var(--brand-700)));border:1px solid hsl(var(--brand-600) / .48);color:#fff;letter-spacing:.03em;border-radius:999px;flex:none;justify-content:center;align-items:center;width:32px;height:32px;font-size:12px;font-weight:900;display:inline-flex}.user-context-avatar-large{width:42px;height:42px;font-size:15px}.user-context-trigger-copy,.user-context-panel-header>span:last-child,.user-context-actions span,.user-effect-options button>span:first-child{text-align:left;gap:1px;min-width:0;display:grid}.user-context-trigger-copy strong{text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-size:12px;overflow:hidden}.user-context-trigger-copy small,.user-context-panel-header small,.user-context-actions small,.user-effect-options small{color:var(--muted);font-size:10px;font-weight:650}.user-context-chevron{color:var(--muted);font-size:15px;font-weight:900;transition:transform .16s}.user-context-trigger[aria-expanded=true] .user-context-chevron{transform:rotate(180deg)}.user-context-panel{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-panel);color:var(--text);border-radius:16px;width:min(380px,100vw - 28px);max-height:min(760px,100dvh - 72px);animation:.16s ease-out user-context-arrival;display:grid;position:absolute;top:calc(100% + 9px);right:0;overflow:auto}@keyframes user-context-arrival{0%{opacity:0;transform:translateY(-6px)scale(.985)}}.user-context-panel-header{background:linear-gradient(135deg, hsl(var(--brand-950)), hsl(var(--brand-700)));color:#fff;border-radius:15px 15px 0 0;align-items:center;gap:11px;padding:15px;display:flex}.user-context-panel-header strong{font-size:14px}.user-context-panel-header small{color:#d7e7ea;overflow-wrap:anywhere}.user-preference-stack{display:grid}.user-preference-group{border-bottom:1px solid var(--border);gap:9px;padding:13px 15px;display:grid}.user-preference-heading{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;align-items:center;gap:7px;font-size:10px;font-weight:850;display:flex}.user-menu-icon{color:var(--brand);letter-spacing:0;justify-content:center;align-items:center;width:18px;height:18px;font-size:15px;display:inline-flex}.user-menu-icon-text{text-transform:none;font-size:11px;font-weight:900}.user-preference-options{background:var(--surface-soft);border:1px solid var(--border);border-radius:10px;gap:3px;padding:3px;display:grid}.user-preference-options-three{grid-template-columns:repeat(3,minmax(0,1fr))}.user-preference-options button{color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;min-height:32px;padding:5px 8px;font-size:11px;font-weight:800}.user-preference-options button:hover,.user-preference-options button:focus-visible{background:color-mix(in srgb, var(--surface) 72%, transparent);color:var(--text)}.user-preference-options button.is-selected{background:var(--surface);border-color:hsl(var(--brand-600) / .5);color:var(--brand-strong);box-shadow:0 3px 10px #00192314}.user-effect-options,.user-context-actions{display:grid}.user-effect-options button,.user-context-actions a,.user-context-actions button{color:var(--text);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:46px;padding:7px 9px;text-decoration:none;display:flex}.user-effect-options button:hover,.user-effect-options button:focus-visible,.user-context-actions a:hover,.user-context-actions a:focus-visible,.user-context-actions button:hover,.user-context-actions button:focus-visible{background:var(--surface-soft)}.user-effect-options strong,.user-context-actions strong{font-size:12px}.preference-switch{background:var(--border-strong);border-radius:999px;flex:none;width:39px;height:22px;padding:3px;transition:background .16s;display:inline-flex}.preference-switch i{background:#fff;border-radius:999px;width:16px;height:16px;transition:transform .16s;display:block;transform:translate(0);box-shadow:0 1px 4px #0000003d}.preference-switch.is-on{background:var(--brand)}.preference-switch.is-on i{transform:translate(17px)}.user-context-actions{gap:2px;padding:8px 10px 10px}.user-context-actions a,.user-context-actions button{justify-content:flex-start}.user-context-signout{color:var(--danger)!important}.user-menu-action-icon{flex:none;width:19px;height:19px}:root[data-theme=dark] ::selection{background:hsl(var(--brand-600) / .38)}:root[data-theme=dark] .topbar,:root[data-theme=dark] .sidebar{background:color-mix(in srgb, var(--surface) 94%, transparent);box-shadow:0 10px 30px #0003}:root[data-theme=dark] .primary-action{background:hsl(var(--brand-700));color:#fff}:root[data-theme=dark] .primary-action:hover,:root[data-theme=dark] .primary-action:focus-visible{background:hsl(var(--brand-600));box-shadow:0 0 22px hsl(var(--brand-600) / .2)}:root[data-theme=dark] .sidebar-brand:hover{background:hsl(var(--brand-600) / .12)}:root[data-theme=dark] .topbar{-webkit-backdrop-filter:blur(18px)saturate(125%);backdrop-filter:blur(18px)saturate(125%)}:root[data-theme=dark] .sidebar-brand-logo,:root[data-theme=dark] .session-lock-logo,:root[data-theme=dark] .auth-card-logo{filter:drop-shadow(0 0 12px hsl(var(--brand-600) / .28));background:#f3f5f7;border-radius:8px;padding:4px 7px}:root[data-theme=dark] .nav-link:hover,:root[data-theme=dark] .nav-link:focus-visible{color:var(--brand-strong);box-shadow:inset 3px 0 0 hsl(var(--brand-600) / .72);background:#203237}:root[data-theme=dark] .nav-link[aria-current=page]{color:#fff;box-shadow:inset 4px 0 0 var(--brand), inset 0 0 0 1px hsl(var(--brand-600) / .44), 0 8px 22px #0000003d, 0 0 20px hsl(var(--brand-600) / .12);background:linear-gradient(105deg,#1b4b55,#1b2e37);font-weight:800}:root[data-theme=dark] .nav-link[aria-current=page] .nav-icon{color:var(--brand);filter:drop-shadow(0 0 5px hsl(var(--brand-600) / .34))}:root[data-theme=dark] .card,:root[data-theme=dark] .list-card,:root[data-theme=dark] .section-card,:root[data-theme=dark] .stat-card,:root[data-theme=dark] .customer-context-banner,:root[data-theme=dark] .context-banner,:root[data-theme=dark] .customer-edit-card,:root[data-theme=dark] .modal-dialog{box-shadow:var(--shadow-sm)}:root[data-theme=dark] .hero-kpi,:root[data-theme=dark] .admin-group-kpi-selected,:root[data-theme=dark] .offer-ribbon-preview{box-shadow:0 14px 38px #00000057, 0 0 28px hsl(var(--brand-600) / .1)}:root[data-theme=dark] .hero-kpi:hover,:root[data-theme=dark] .stat-card:hover,:root[data-theme=dark] .admin-group-kpi:hover{box-shadow:0 18px 46px #0006, 0 0 28px hsl(var(--brand-600) / .15)}:root[data-theme=dark] .table tr:hover td{background:#1d3a3e94}:root[data-theme=dark] .dashboard-carousel-selector button.is-active,:root[data-theme=dark] .dashboard-effects-controls button.is-on,:root[data-theme=dark] .session-lock-icon,:root[data-theme=dark] .lead-match-field-badge{background:hsl(var(--brand-600) / .18);color:var(--brand-strong)}:root[data-theme=dark] .lead-workspace .eyebrow{color:var(--brand)}:root[data-theme=dark] .badge-muted,:root[data-theme=dark] .customer-flag-grey{background:var(--surface-soft)}:root[data-theme=dark] .empty-state{background:linear-gradient(135deg, var(--surface), var(--surface-soft))}:root[data-theme=dark] .notice{background:hsl(var(--brand-600) / .12);color:var(--text)}:root[data-theme=dark] .warning-notice{background:var(--warning-soft)}:root[data-theme=dark] .danger-action,:root[data-theme=dark] .error-box,:root[data-theme=dark] .error-banner{background:var(--danger-soft)}:root[data-theme=dark] .order-payment-failure-banner.is-unresolved{color:#fbc9c5;background:#3b1917;border-color:#dd554b}:root[data-theme=dark] .order-payment-failure-banner.is-resolved{color:#beefd7;background:#173024;border-color:#42b37c}:root[data-theme=dark] .lead-payment-follow-up-banner{color:#fae2bd;background:#372816;border-color:#e59943}:root[data-theme=dark] .customer-presence-badge{color:var(--text)}:root[data-theme=dark] .customer-presence-badge.is-current{background:#3f3217}:root[data-theme=dark] .table tbody tr:has(.customer-presence-badge.is-current) td{background:#3f3217}:root[data-theme=dark] .customer-presence-alert.is-recent{color:var(--text);background:#19292e}:root[data-theme=dark] .customer-edit-heading .secondary-action,:root[data-theme=dark] .whatsapp-media-dialog .secondary-action,:root[data-theme=dark] .offer-ribbon-preview>div>span{color:hsl(var(--brand-950));background:#f3f5f7}:root[data-theme=dark] .phone-payment-order-summary,:root[data-theme=dark] .payment-security-note{background:var(--surface-soft);color:var(--text)}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea{accent-color:var(--brand)}:-webkit-any(:root[data-theme=dark] input:-webkit-autofill,:root[data-theme=dark] textarea:-webkit-autofill,:root[data-theme=dark] select:-webkit-autofill){-webkit-text-fill-color:var(--text);box-shadow:0 0 0 1000px var(--surface) inset}:is(:root[data-theme=dark] input:autofill,:root[data-theme=dark] textarea:autofill,:root[data-theme=dark] select:autofill){-webkit-text-fill-color:var(--text);box-shadow:0 0 0 1000px var(--surface) inset}:root[data-theme=dark] select option{background:var(--surface);color:var(--text)}:root[data-theme=dark] .auth-page{background:radial-gradient(circle at 16% 18%, hsl(var(--brand-600) / .12), transparent 32%), radial-gradient(circle at 82% 8%, hsl(var(--brand-600) / .09), transparent 28%), var(--bg)}:root[data-theme=dark] .auth-shell{box-shadow:var(--shadow-panel)}:root[data-theme=dark] .user-context-panel{border-color:hsl(var(--brand-600) / .28);box-shadow:var(--shadow-panel)}:root[data-theme=dark] .user-context-trigger,:root[data-theme=dark] .team-reminder-centre>summary{box-shadow:0 0 18px hsl(var(--brand-600) / .08)}:root[data-theme=dark] *{scrollbar-color:#4f6872 var(--surface-soft)}@media (max-width:700px){.user-context-trigger-copy,.user-context-chevron{display:none}.user-context-trigger{width:42px;min-width:42px;height:42px;padding:4px}.user-context-panel{width:min(380px,100vw - 20px);position:fixed;top:58px;right:10px}}@media (prefers-reduced-motion:reduce){.user-context-panel{animation:none}body,.user-context-trigger,.preference-switch,.preference-switch i{transition:none}}.payment-security-note>span{flex:none}.payment-security-note p{margin:0;font-size:13px;line-height:1.45}.phone-payment-submit{justify-content:center;align-items:center;width:100%;min-height:50px;display:inline-flex}.phone-payment-actions{flex-wrap:wrap;gap:10px;display:flex}.phone-payment-result{border:1px solid var(--border);border-radius:14px;padding:15px}.phone-payment-result p{margin:6px 0 0}.phone-payment-result.is-success{background:#e7f8f0;border-color:#67c195}.phone-payment-result.is-error{background:#fcedef;border-color:#df868f}.selected-customer-card{background:hsl(var(--brand-600) / .07);border:1px solid hsl(var(--brand-600) / .3);border-radius:14px;justify-content:space-between;align-items:center;gap:14px;padding:14px;display:flex}.selected-customer-card p{color:var(--muted);margin:3px 0 0}.customer-typeahead-results{max-height:320px;margin-top:8px;overflow-y:auto}.customer-typeahead-results button span{color:var(--muted);margin-top:3px;font-size:12px;display:block}.running-total{background:hsl(var(--brand-900));color:#fff;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.recurring-consent{background:#fef7e7;border:1px solid #efb261;border-radius:13px;align-items:flex-start;padding:13px}.recurring-consent span,.recurring-consent small{display:block}.recurring-consent small{color:var(--muted);margin-top:4px}.super-user-payment-choice{background:#fef7e7;border:1px solid #efb261;border-radius:16px;justify-content:space-between;align-items:center;gap:18px;margin:14px 0;padding:16px;display:flex}.super-user-payment-choice h3,.super-user-payment-choice p{margin:2px 0 0}.payment-exception-repair-dialog{background:var(--surface);border:1px solid var(--border);box-shadow:0 28px 90px hsl(var(--brand-950) / .34);color:var(--text);border-radius:22px;width:calc(100% - 24px);max-width:1680px;height:min(920px,100vh - 24px);max-height:calc(100vh - 24px);margin:auto;padding:clamp(18px,2vw,30px);overflow:hidden}.payment-exception-repair-dialog[open]{flex-direction:column;display:flex}.payment-exception-repair-dialog::backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:hsl(var(--brand-950) / .54)}.payment-repair-evidence,.payment-repair-success{background:hsl(var(--brand-600) / .07);border:1px solid hsl(var(--brand-600) / .3);border-left:5px solid hsl(var(--brand-600));border-radius:15px;justify-content:space-between;align-items:center;gap:24px;margin:16px 0;padding:16px 18px;display:flex}.payment-repair-evidence.confidence-medium{background:#f4b72a1a;border-color:#eba71e80 #eba71e80 #eba71e80 #eba71e}.payment-repair-evidence.confidence-low{background:#e24d2c14;border-color:#e24d2c61 #e24d2c61 #e24d2c61 #e24d2c}.payment-repair-evidence h3,.payment-repair-evidence p,.payment-repair-success h3,.payment-repair-success p{margin:3px 0 0}.payment-repair-totals{text-align:right;flex-direction:column;flex:0 0 min(360px,32%);align-items:flex-end;display:flex}.payment-repair-totals strong{font-size:clamp(1.45rem,2vw,2.2rem)}.payment-repair-totals small{color:var(--muted);margin-top:3px}.payment-repair-warnings{background:#f4b72a1a;border:1px solid #eba71e66;border-radius:12px;margin-bottom:14px;padding:10px 14px}.payment-repair-warnings p{margin:3px 0}.payment-repair-workspace{flex:1;grid-template-columns:minmax(0,1.9fr) minmax(330px,.75fr);gap:18px;min-height:0;display:grid}.payment-repair-catalogue,.payment-repair-controls{background:var(--surface-soft);border:1px solid var(--border);border-radius:16px;min-height:0;padding:16px}.payment-repair-catalogue{flex-direction:column;display:flex}.payment-repair-catalogue .catalogue-item-editor{flex:1;grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(300px,.95fr) minmax(360px,1.25fr);gap:12px 16px;min-height:0;display:grid}.payment-repair-catalogue .catalogue-selection-list{grid-row:1/3;align-content:start;max-height:none;padding-right:4px;overflow-y:auto}.payment-repair-catalogue .catalogue-search-results{align-content:start;min-height:0;max-height:none}.payment-repair-controls{align-content:start;gap:15px;display:grid;overflow-y:auto}.payment-repair-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.payment-repair-loading{text-align:center;align-content:center;justify-items:center;gap:8px;height:calc(100% - 90px);display:grid}.payment-repair-loading-bar{background:hsl(var(--brand-600) / .16);border-radius:999px;width:min(420px,70vw);height:14px;animation:1.4s ease-in-out infinite alternate payment-repair-pulse;display:block}.payment-repair-loading-bar.short{width:min(280px,50vw);animation-delay:.12s}@keyframes payment-repair-pulse{0%{opacity:.45;transform:scaleX(.96)}to{opacity:1;transform:scaleX(1)}}@media (max-width:900px){.phone-payment-shell,.order-detail-dialog-super-user .order-detail-main-grid{grid-template-columns:minmax(0,1fr)}.order-super-user-panel{grid-column:auto}.payment-exception-repair-dialog{height:calc(100vh - 16px);overflow-y:auto}.payment-repair-workspace,.payment-repair-catalogue .catalogue-item-editor{grid-template-columns:minmax(0,1fr);height:auto;display:grid}.payment-repair-catalogue .catalogue-selection-list{grid-row:auto;max-height:300px}.payment-repair-catalogue .catalogue-search-results{max-height:360px}.phone-payment-checkout-card{max-height:none;position:static;overflow-y:visible}}@media (max-width:620px){.catalogue-selection{grid-template-columns:minmax(0,1fr) 64px 36px}.catalogue-selection>span{grid-column:1/-1}.super-user-payment-choice,.selected-customer-card,.running-total{flex-direction:column;align-items:stretch}.payment-exception-repair-dialog{border-radius:14px;width:calc(100% - 12px);padding:16px}.payment-repair-evidence,.payment-repair-success{flex-direction:column;align-items:stretch}.payment-repair-totals{text-align:left;flex-basis:auto;align-items:flex-start}.phone-payment-options{grid-template-columns:minmax(0,1fr)}.phone-payment-options>.field{grid-column:auto}.phone-payment-order-summary>div{flex-direction:column;align-items:flex-start;gap:3px}.phone-payment-order-summary strong{text-align:left;max-width:none}.phone-payment-actions>*{justify-content:center;width:100%}}:root[data-theme=dark] .lead-customer-match td{background:hsl(var(--brand-600) / .1)}:root[data-theme=dark] .lead-work-panel,:root[data-theme=dark] .lead-match-panel-lead{background:var(--surface-soft)}:root[data-theme=dark] .customer-flag-blue{color:#99d3f5;background:#1695df29}:root[data-theme=dark] .customer-flag-purple{color:#d1a7f1;background:#8f35d429}:root[data-theme=dark] .installation-request-badge{color:#fbdc9d}:root[data-theme=dark] .lead-customer-match-possible td,:root[data-theme=dark] .lead-customer-match-ambiguous td,:root[data-theme=dark] .order-super-user-panel,:root[data-theme=dark] .recurring-consent,:root[data-theme=dark] .super-user-payment-choice{background:var(--warning-soft)}:root[data-theme=dark] .table tbody tr:has(.lead-presence-badge) td{background:var(--warning-soft)}:root[data-theme=dark] .lead-presence-badge,:root[data-theme=dark] .lead-presence-alert,:root[data-theme=dark] .customer-presence-badge.is-current,:root[data-theme=dark] .customer-presence-alert{color:#fbd893;background:#402d17}:root[data-theme=dark] .lead-presence-alert>span:last-child{color:#e1c58e}:root[data-theme=dark] .phone-payment-result.is-success{background:var(--success-soft);border-color:#43a374}:root[data-theme=dark] .phone-payment-result.is-error{background:var(--danger-soft);border-color:#cc3e4c}.customer-account-access-card{grid-column:1/-1}.customer-account-status-line,.customer-account-actions{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.customer-account-status-line{margin-bottom:1rem}.customer-account-actions{border-top:1px solid var(--border,#d5e0e5);margin-top:1rem;padding-top:1rem}.customer-account-definition-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;display:grid}.customer-account-definition-list>div{min-width:0}.customer-account-definition-list dd{overflow-wrap:anywhere}.customer-account-help{margin:1rem 0 0}@media (max-width:900px){.customer-account-definition-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.customer-account-definition-list{grid-template-columns:1fr}.customer-account-actions,.customer-account-actions form,.customer-account-actions button{width:100%}}
