:root{--sidebar-width:204px;--topbar-height:72px;--merdo-hairline:#dce4ee;--merdo-canvas:#f7f9fc;--merdo-blue-wash:#eaf2ff;--merdo-shadow:0 10px 30px #1420350a}body{background:var(--merdo-canvas);color:#142035}.app-shell{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);background:var(--merdo-canvas)}.sidebar{border-right:1px solid var(--merdo-hairline);color:#344860;background:radial-gradient(circle at 12% 8%,#fff 0,#f8fbff 36%,#0000 64%),linear-gradient(#f9fbfe 0%,#f1f6fb 100%);padding:18px 12px 14px}.sidebar>.brand{align-items:center;width:100%;min-height:66px;padding:7px 10px 15px}.sidebar .brand-logo{background-image:url(/brand/logo.png);background-size:contain;width:130px;height:40px}.sidebar .brand small{color:#c7d4e3;letter-spacing:.02em;margin-left:2px;font-size:11px}.sidebar-search{border:1px solid var(--merdo-hairline);color:#6b7d92;background:#ffffffb8;border-radius:10px;align-items:center;gap:8px;height:38px;margin:2px 0 14px;padding:0 10px;font-size:12px;display:flex}.sidebar-search kbd{color:#8190a3;font:inherit;background:0 0;border:0;margin-left:auto}.sidebar nav{gap:4px}.sidebar nav a{color:#455970;border-radius:10px;min-height:44px;padding:0 12px;font-size:13px;font-weight:520}.sidebar nav svg{stroke-width:1.7px;width:19px;height:19px}.sidebar nav a:hover{color:#142035;background:#edf3fb}.sidebar nav a[aria-current=page]{color:#1258e8;background:linear-gradient(100deg,#e7f1ff,#d9e9ff);font-weight:650;box-shadow:inset 0 0 0 1px #d2e4ff}.nav-count{color:#52647a;background:#fff;border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 7px;font-size:11px;display:grid}.sidebar-footer{border-top:1px solid var(--merdo-hairline);gap:3px;margin-top:auto;padding:12px 0 0;display:grid}.sidebar-footer>a{color:#53667c;border-radius:9px;align-items:center;gap:10px;min-height:38px;padding:0 10px;font-size:12px;display:flex}.sidebar-profile{border:1px solid var(--merdo-hairline);color:#142035;text-align:left;background:#ffffffa8;border-radius:11px;grid-template-columns:34px minmax(0,1fr) 16px;align-items:center;gap:9px;width:100%;margin-top:5px;padding:8px;display:grid}.sidebar-profile .avatar{width:34px;height:34px}.sidebar-profile span{min-width:0}.sidebar-profile strong,.sidebar-profile small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.sidebar-profile strong{font-size:12px}.sidebar-profile small{color:#708197;margin-top:2px;font-size:10px}.topbar{min-height:var(--topbar-height);border-bottom:1px solid var(--merdo-hairline);-webkit-backdrop-filter:blur(18px)saturate(1.2);backdrop-filter:blur(18px)saturate(1.2);background:#ffffffde;gap:12px;padding:9px 18px;box-shadow:0 2px 16px #14203508}.workspace-account{border:1px solid var(--merdo-hairline);background:#f8fafe;border-radius:11px;align-items:center;gap:8px;min-width:164px;padding:7px 10px;display:flex}.workspace-account-icon{color:#142035;background:#eef3fa;border-radius:8px;place-items:center;width:29px;height:29px;display:grid}.workspace-account strong,.workspace-account small{display:block}.workspace-account strong{font-size:12px}.workspace-account small{color:#53657b;margin-top:2px;font-size:9px}.workspace-metrics{align-items:stretch;min-width:0;display:flex}.workspace-metrics>span{border-left:1px solid #e5ebf2;flex-direction:column;justify-content:center;min-width:105px;padding:0 14px;display:flex}.workspace-metrics small{color:#53657b;font-size:9px}.workspace-metrics strong{color:#142035;white-space:nowrap;margin-top:3px;font-size:12px}.workspace-metrics .positive{color:#087c5b}.topbar>[data-command-palette]{margin-left:auto}.topbar-right{gap:8px;margin-left:auto}.topbar-right>.badge{display:none}.topbar-right .avatar{width:32px;height:32px}.page-content{background:radial-gradient(circle at 92% 3%, #eaf2ff80, transparent 28%), var(--merdo-canvas);padding:22px 24px 18px}.page-header{margin-bottom:18px}.page-header h1,.crm-section>h1,.section>h1{color:#101b2e;letter-spacing:-.035em;font-size:29px;font-weight:720}.panel,.card,.summary-metric{border:1px solid var(--merdo-hairline);box-shadow:var(--merdo-shadow);background:#fff;border-radius:12px}.panel-heading{border-bottom:1px solid #e7edf4;min-height:48px;padding:0 15px}.panel-heading h2{color:#152238;font-size:14px;font-weight:680}.panel-subtitle{color:#53657b;padding:0 15px;font-size:11px}.button,.icon-button,input,select,textarea{border-radius:9px}.button-primary,.button:not(.button-secondary):not(.button-ghost){background:linear-gradient(#328cff 0%,#176fe8 100%);border-color:#2175ee;box-shadow:0 5px 12px #176fe82a,inset 0 1px #ffffff40}.table-scroll,.data-table{border-radius:0 0 11px 11px}table{border-collapse:separate;border-spacing:0}th{color:#53657b;text-transform:none;font-size:10px;font-weight:520}td{color:#142035;font-size:11px}tbody tr{transition:background .12s}tbody tr:hover{background:#f5f9ff}.manager-metrics,.crm-metrics{border-bottom:1px solid #e3e9f1;gap:0;padding:4px 0 16px}.summary-metric,.crm-metrics>div{min-height:104px;box-shadow:none;background:0 0;border:0;border-right:1px solid #e1e8f0;border-radius:0}.summary-metric:last-child,.crm-metrics>div:last-child{border-right:0}.summary-metric>svg,.crm-metrics>div>svg{color:#1674f5}.summary-metric strong,.crm-metrics strong{color:#101b2e;letter-spacing:-.03em;font-size:29px}.manager-main-grid,.manager-bottom-grid,.crm-work-grid,.control-grid{gap:12px}.exposure-row .bar-track,.progress-track{background:#edf1f6;border-radius:4px;overflow:hidden}.exposure-row .bar-track i{background:linear-gradient(90deg,#2685fa,#7eb6ff)}.workspace-footer{border-top:1px solid var(--merdo-hairline);color:#53657b;background:#f8fafc;min-height:28px;padding:5px 18px;font-size:9px}.mobile-product-nav{display:none}@media (max-width:1180px){.workspace-metrics>span:nth-last-child(-n+2){display:none}.workspace-metrics>span{min-width:96px;padding-inline:10px}}@media (max-width:760px){:root{--topbar-height:58px}body{background:#f7f9fc}.app-shell{height:100dvh;min-height:0;display:flex;overflow:hidden}.desktop-sidebar{display:none}.app-body{height:100%;min-height:0;overflow:hidden}.topbar{z-index:20;height:58px;min-height:58px;padding:max(8px, env(safe-area-inset-top)) 14px 8px;background:#f9fbfef2;border-bottom:0;position:sticky;top:0}.mobile-brand{display:block}.mobile-brand .brand-logo{background-image:url(/brand/logo.png);width:84px;height:27px}.mobile-menu{order:-1}.workspace-account,.workspace-metrics,.topbar>.badge,.topbar>[data-command-palette],.topbar-right>:not(.avatar):not(.icon-button){display:none}.topbar-right{margin-left:auto}.page-content{height:auto;min-height:0;padding:14px 14px calc(88px + env(safe-area-inset-bottom));overscroll-behavior:contain;background:#f7f9fc;overflow:auto}.page-header h1{font-size:26px}.manager-metrics,.crm-metrics{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.summary-metric,.crm-metrics>div{border:1px solid var(--merdo-hairline);background:#fff;border-radius:14px;min-height:112px;padding:14px;box-shadow:0 8px 24px #1420350a}.summary-metric strong,.crm-metrics strong{font-size:23px}.manager-main-grid,.manager-bottom-grid,.crm-work-grid,.control-grid,.client360-grid{flex-direction:column;gap:12px;height:auto;display:flex}.panel{border-radius:14px}.workspace-footer{display:none}.mobile-product-nav{right:9px;bottom:max(9px, env(safe-area-inset-bottom));z-index:50;-webkit-backdrop-filter:blur(18px)saturate(1.2);backdrop-filter:blur(18px)saturate(1.2);background:#fffffff2;border:1px solid #d8e1ec;border-radius:18px;height:64px;padding:7px 6px 6px;display:flex;position:fixed;left:9px;box-shadow:0 12px 36px #14203524}.mobile-product-nav a,.mobile-product-nav button{color:#53657b;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;min-width:0;font-size:9px;display:flex}.mobile-product-nav a[aria-current=page]{color:#075dc7;background:#edf4ff}.mobile-product-nav svg{stroke-width:1.8px;width:19px;height:19px}.table-scroll{-webkit-overflow-scrolling:touch;overflow-x:auto}.dialog{border-radius:18px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}}[data-theme=dark]{--merdo-hairline:#233b52;--merdo-canvas:#091827}[data-theme=dark] body{color:var(--text)}[data-theme=dark] .sidebar,[data-theme=dark] .topbar,[data-theme=dark] .workspace-footer{background:#0c1d30}[data-theme=dark] .panel,[data-theme=dark] .card,[data-theme=dark] .sidebar-profile,[data-theme=dark] .workspace-account{background:#10243a}[data-theme=dark] .workspace-account strong,[data-theme=dark] .workspace-metrics strong,[data-theme=dark] .panel-heading h2,[data-theme=dark] td{color:var(--text)}[data-theme=dark] .sidebar-search{border-color:var(--border);background:var(--surface-subtle);color:var(--text-secondary)}[data-theme=dark] .sidebar-search kbd,[data-theme=dark] .sidebar nav a,[data-theme=dark] .sidebar-footer a,[data-theme=dark] .workspace-metrics small,[data-theme=dark] .workspace-footer,[data-theme=dark] th,[data-theme=dark] .sort-button{color:var(--text-secondary)}[data-theme=dark] .sidebar-profile strong{color:var(--text)}[data-theme=dark] .sidebar-profile small,[data-theme=dark] .workspace-account small,[data-theme=dark] .panel-subtitle{color:var(--text-secondary)}@media (max-width:760px){[data-theme=dark] body,[data-theme=dark] .page-content{background:var(--merdo-canvas)}[data-theme=dark] .summary-metric,[data-theme=dark] .crm-metrics>div{border-color:var(--border);background:var(--surface);box-shadow:none}[data-theme=dark] .mobile-product-nav{border-color:var(--border);background:#0c1d30f2;box-shadow:0 12px 36px #0000003d}[data-theme=dark] .mobile-product-nav a,[data-theme=dark] .mobile-product-nav button{color:var(--text-secondary)}[data-theme=dark] .mobile-product-nav a[aria-current=page]{background:var(--accent-soft);color:var(--accent)}}
.ledger-workspace{flex-direction:column;min-width:0;min-height:0;display:flex}.ledger-workspace>.panel-content{flex:1;height:0;min-height:0;overflow:auto}.ledger-workspace .row{flex-wrap:wrap;align-items:end}.wt-portfolio-records>.ledger-workspace,.ref-portfolio-records>.ledger-workspace{flex:1;overflow:hidden}@media (max-width:640px){.ledger-workspace .table-scroll th:first-child,.ledger-workspace .table-scroll td:first-child,.ledger-workspace .table-scroll th:nth-child(4),.ledger-workspace .table-scroll td:nth-child(4){display:none}.ledger-workspace>.panel-content{padding:12px}}html[data-theme] .brand-logo{-webkit-mask:url(/midas/atlas.svg) 50%/contain no-repeat;mask:url(/midas/atlas.svg) 50%/contain no-repeat;background:var(--text,#172130)!important;filter:none!important}html[data-theme] .brand-mark{border-radius:0;-webkit-mask:url(/midas/mark.svg) 50%/contain no-repeat;mask:url(/midas/mark.svg) 50%/contain no-repeat;background:#4959ea!important}.company-wordmark{letter-spacing:-.04em;overflow-wrap:anywhere;align-items:center;gap:10px;max-width:100%;font-size:24px;font-weight:700;display:flex}.company-wordmark .brand-mark{flex:none;width:30px;height:30px}.wt-desktop-sidebar .company-wordmark{justify-content:center;font-size:0}.company-settings-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;display:grid}.company-settings-form{gap:18px;padding:24px;display:grid}.company-surfaces{gap:20px;padding:0;list-style:none;display:grid}.company-surfaces li{align-items:center;gap:12px;display:flex}.company-surfaces li svg:last-child{color:var(--positive);margin-left:auto}@media (max-width:850px){.company-settings-grid{grid-template-columns:1fr}.company-settings-form{padding:16px}}.funding-brand{color:#5b5b73;background:#fff;border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.funding-brand>img{object-fit:contain;border-radius:50%;max-width:100%;display:block}.funding-brand .funding-network-mark{border:2px solid var(--surface,#000);border-radius:50%;width:16px;height:16px;position:absolute;bottom:-3px;right:-3px}.transfer-token-heading{align-items:center;gap:14px;margin-bottom:20px;display:flex}.transfer-token-heading small{color:var(--text-secondary);margin-top:5px;display:block}.bank-monogram:has(.funding-brand){background:0 0!important;border:0!important}
:is(html:has(.crm-workspace),body:has(.crm-workspace)){height:100%;margin:0;overflow:hidden}.crm-workspace{--background:#070709;--surface:#0d0d11;--surface-subtle:#15151b;--text:#f4f4f8;--text-secondary:#a4a4b4;--border:#25252e;--accent:#8581ff;background:var(--background);height:100dvh;color:var(--text);grid-template-columns:230px minmax(0,1fr);font-size:13px;display:grid}.crm-workspace *{scrollbar-width:none}.branding-editor{flex-direction:column;gap:16px;height:100%;min-height:0;display:flex}.branding-tabs{border-bottom:1px solid var(--border);flex:none;gap:8px;padding-bottom:12px;display:flex}.branding-tabs button{color:var(--text-secondary);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;padding:10px 16px}.branding-tabs button[aria-selected=true]{color:#d4d1ff;background:#252136;border-color:#524b80}.branding-content{grid-template-columns:minmax(280px,480px) minmax(220px,1fr);gap:24px;min-height:0;display:grid}.branding-form{flex-direction:column;gap:18px;padding:12px 0;display:flex}.branding-description{color:var(--text-secondary);margin:0;font-size:12px}.branding-actions{flex-wrap:wrap;gap:10px;margin-top:8px;display:flex}.branding-preview{border-left:1px solid var(--border);min-width:0;padding:24px}.branding-preview small{color:var(--text-secondary);letter-spacing:.1em;font-size:10px}.branding-sample{align-items:center;gap:14px;min-width:0;padding:24px 0;display:flex}.branding-sample strong{overflow-wrap:anywhere;font-size:26px}.branding-preview dl{grid-template-columns:140px minmax(0,1fr);gap:16px;font-size:12px;display:grid}.branding-preview dt{color:var(--text-secondary)}.branding-preview dd{margin:0}.branding-preview p{color:var(--text-secondary);font-size:12px;line-height:1.6}.branding-success{color:#56dcaa;margin:0;font-size:12px}@media (max-width:700px){.branding-tabs{gap:3px;padding-bottom:8px}.branding-tabs button{flex:1;padding:8px;font-size:11px}.branding-editor{gap:10px}.branding-content{grid-template-columns:minmax(0,1fr);gap:8px}.branding-form{gap:12px;padding:0}.branding-preview{border-left:0;border-top:1px solid var(--border);padding:8px 12px}.branding-sample{padding:6px 0}.branding-sample strong{font-size:20px}.branding-preview dl,.branding-preview>p{display:none}.branding-actions{flex-wrap:nowrap;gap:6px}.branding-actions .button{flex:1;padding-inline:8px;font-size:11px}}@media (max-height:650px){.branding-form{gap:10px}.branding-description{display:none}.branding-preview{padding:8px 12px}}.crm-workspace ::-webkit-scrollbar{display:none}.crm-workspace .panel h2{color:var(--text)}.crm-workspace .panel{background:var(--surface);border-color:var(--border)}.crm-detail>.crm-scroll:has(table){flex-direction:column;display:flex;overflow:hidden}.crm-detail>.crm-scroll:has(table)>.panel{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.crm-detail>.crm-scroll:has(table) .table-scroll{flex:1;min-height:0;overflow:auto}.crm-sidebar{border-right:1px solid var(--border);background:#0b0b0f;flex-direction:column;gap:22px;min-height:0;padding:24px 16px;display:flex}.crm-brand{color:inherit;align-items:center;gap:12px;font-size:20px;text-decoration:none;display:flex}.crm-brand small{color:var(--text-secondary);margin-top:3px;font-size:11px;font-weight:400;display:block}.crm-search{border:1px solid var(--border);color:var(--text-secondary);border-radius:10px;align-items:center;gap:8px;padding:10px;display:flex}.crm-search input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:none;font-size:12px}.crm-sidebar nav{flex-direction:column;flex:1;gap:5px;display:flex}.crm-sidebar nav a{color:var(--text-secondary);border-radius:9px;padding:11px 12px;text-decoration:none}.crm-sidebar nav a[aria-current=page]{color:#c5c2ff;background:#242137;font-weight:650}.crm-sidebar nav a:hover{color:#fff;background:#16161e}.crm-signout{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:10px;display:flex}.crm-main{flex-direction:column;gap:18px;min-width:0;min-height:0;padding:24px 28px;display:flex;overflow:hidden}.crm-heading{flex:none;align-items:center;gap:12px;display:flex}.crm-heading h1{margin:0 0 5px;font-size:26px;line-height:1.2}.crm-heading p{color:var(--text-secondary);margin:0;font-size:12px}.crm-heading>.button{margin-left:auto}.crm-menu-button{display:none}.crm-scroll{scrollbar-width:none;overscroll-behavior:contain;min-height:0;overflow:auto}.crm-scroll::-webkit-scrollbar{display:none}.staff-permissions::-webkit-scrollbar{display:none}.crm-content{flex:1;grid-template-columns:minmax(230px,.8fr) minmax(0,1.8fr);gap:20px;min-height:0;display:grid;overflow:hidden}.crm-client-list{border:1px solid var(--border);border-radius:14px;padding:8px}.crm-client{width:100%;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #202027;align-items:center;gap:10px;padding:15px 10px;display:flex}.crm-client[aria-current=true]{background:#181627;border-radius:9px}.crm-client>span:nth-child(2){overflow-wrap:anywhere;flex:1;min-width:0}.crm-client small,.crm-work-item small{color:var(--text-secondary);margin-top:5px;font-size:11px;display:block}.crm-client strong,.crm-client small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.crm-client svg{flex:none}.company-mobile-tabs{display:none}.company-logo-picker{position:relative}.company-logo-picker span{border:1px solid var(--border);color:var(--text-secondary);border-radius:8px;padding:10px;font-size:11px}.company-logo-picker input[type=file]{opacity:0;cursor:pointer;width:100%;height:40px;position:absolute;inset:20px 0 0}.crm-avatar{color:#b9b4ff;background:#29253d;border-radius:10px;flex:none;place-items:center;width:34px;height:34px;display:grid}.crm-detail{flex-direction:column;gap:15px;min-width:0;min-height:0;display:flex;overflow:hidden}.crm-client-heading{border-bottom:1px solid var(--border);flex:none;padding:10px 0 16px}.crm-client-heading h2{margin:0 0 7px;font-size:22px}.crm-client-heading p,.crm-client-heading small{color:var(--text-secondary);overflow-wrap:anywhere;margin:0;font-size:12px}.crm-work-list{flex:1}.crm-work-item{border:1px solid var(--border);background:#0e0e13;border-radius:12px;margin-bottom:12px;padding:16px}.crm-work-item p{white-space:pre-wrap;overflow-wrap:anywhere;color:#d4d4df;margin:12px 0}.crm-work-item label{align-items:center;gap:10px;font-size:12px;display:flex}.crm-work-item select{border:1px solid var(--border);color:inherit;background:#17171e;border-radius:7px;padding:6px 10px}.crm-compose{border-top:1px solid var(--border);flex:none;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding-top:14px;display:grid}.crm-compose .field,.crm-compose>label{grid-column:1/-1}.crm-compose textarea{resize:none;width:100%;height:60px;margin-top:5px;display:block}.crm-workspace :is(input:not([type=checkbox]),select,textarea){color:var(--text);border:1px solid var(--border);background:#101016;border-radius:8px}.crm-workspace .field input,.crm-workspace .field select{min-height:36px;padding:8px 10px}.crm-workspace .button{border-radius:8px;min-height:34px}.crm-error{background:#291820;border:1px solid #51303a;border-radius:9px;flex:none;margin:0;padding:9px 12px;font-size:12px}.crm-settings{flex:1;min-height:0;overflow:hidden}.crm-settings .company-settings-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-height:calc(100% - 30px);display:grid}.crm-settings .panel{border-color:var(--border);background:#0d0d12;min-width:0;margin:0;padding:16px}.crm-settings .panel h2{color:var(--text);font-size:17px}.crm-settings .company-settings-form{flex-direction:column;gap:10px;display:flex}.crm-settings .company-settings-form p{margin:0;font-size:11px;line-height:1.4}.crm-settings .company-settings-form>svg,.crm-settings .company-settings-form>ul{display:none}.staff-administration{max-width:1000px;margin:auto}.staff-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:16px;display:grid}.staff-tabs{gap:6px;margin-top:12px;display:flex}.staff-tabs button{border:1px solid var(--border);color:inherit;background:0 0;border-radius:8px;padding:9px 14px}.staff-tabs button[aria-selected=true]{color:#d2ceff;background:#29253d}.staff-administration .staff-columns{max-width:580px;display:block}.staff-administration .staff-columns form,.staff-administration .staff-columns>.stack{gap:9px}.staff-columns form,.staff-columns>.stack{flex-direction:column;gap:12px;min-width:0;display:flex}.staff-permissions{scrollbar-width:none;border:1px solid var(--border);border-radius:10px;height:220px;padding:10px;overflow:auto}.staff-permissions label{overflow-wrap:anywhere;gap:8px;margin-bottom:9px;font-size:11px;display:flex}.staff-administration p{color:var(--text-secondary);font-size:12px}.crm-finance dl{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (max-width:1100px){.crm-workspace{grid-template-columns:195px minmax(0,1fr)}.crm-main{padding:20px 18px}.crm-content{grid-template-columns:210px minmax(0,1fr);gap:14px}.crm-settings .company-settings-grid{grid-template-columns:1fr 1fr}.crm-settings .company-settings-grid>.panel:last-child{display:none}.staff-columns{grid-template-columns:1fr}.staff-permissions{height:160px}}@media (max-width:700px){.company-mobile-tabs{gap:8px;margin-bottom:12px;display:flex}.company-mobile-tabs button{border:1px solid var(--border);color:var(--text);background:0 0;border-radius:10px;flex:1;padding:10px}.company-mobile-tabs button[aria-selected=true]{color:#d2ceff;background:#29253d}.crm-settings .company-settings-grid{grid-template-columns:minmax(0,1fr)}.crm-settings .company-settings-grid[data-company-panel=company]>.panel:nth-child(2),.crm-settings .company-settings-grid[data-company-panel=login]>.panel:first-child{display:none}.crm-workspace{grid-template-columns:minmax(0,1fr)}.crm-sidebar{z-index:50;width:240px;display:none;position:fixed;inset:0 auto 0 0;box-shadow:20px 0 80px #0009}.crm-workspace[data-menu=true] .crm-sidebar{display:flex}.crm-menu-button{color:inherit;background:0 0;border:0;place-items:center;padding:5px;display:grid}.crm-main{gap:12px;padding:16px 12px}.crm-heading h1{font-size:22px}.crm-content{grid-template-rows:100px minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:12px}.crm-client-list{gap:8px;display:flex;overflow:auto}.crm-client{border-bottom:0;flex:none;width:190px;min-width:190px;padding:10px}.crm-detail{gap:10px}.crm-client-heading{padding:0 0 10px}.crm-client-heading h2{font-size:18px}.crm-work-item{padding:12px}.crm-compose{gap:6px;padding-top:10px}.crm-compose textarea{height:42px}.crm-settings .company-settings-grid{gap:10px}.crm-settings .panel{padding:10px}.crm-settings .company-settings-form{gap:8px}.crm-settings .company-settings-form>p,.crm-settings .company-settings-form>small{display:none}.crm-settings .panel h2{font-size:14px}.crm-settings .field label{font-size:11px}}@media (max-height:650px){.crm-main{gap:8px;padding-top:10px;padding-bottom:10px}.crm-heading h1{font-size:20px}.crm-heading p{display:none}.crm-content{gap:8px}.crm-work-item{padding:10px}.crm-client-heading p{font-size:11px}.crm-compose textarea{height:34px}.crm-compose{padding-top:7px}.crm-compose .field{gap:3px}}
.lead-workspace{flex-direction:column;flex:1;gap:12px;min-height:0;display:flex}.lead-commandbar{flex-wrap:wrap;flex:none;align-items:end;gap:10px;display:flex}.lead-commandbar .field{min-width:140px}.lead-overdue{align-items:center;gap:6px;padding-bottom:10px;font-size:11px;display:flex}.lead-import-button{border:1px solid var(--border);cursor:pointer;border-radius:8px;padding:11px 12px;font-size:12px;position:relative}.lead-import-button input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.lead-split{flex:1;grid-template-columns:minmax(0,1.5fr) minmax(340px,1fr);gap:16px;min-height:0;display:grid}.lead-grid{border:1px solid var(--border);background:#09090c;border-radius:10px}.lead-grid table{border-collapse:collapse;width:100%;font-size:12px}.lead-grid th{z-index:1;color:var(--text-secondary);text-align:left;border-bottom:1px solid var(--border);white-space:nowrap;background:#111116;padding:12px;font-size:10px;position:sticky;top:0}.lead-grid td{border-bottom:1px solid var(--border);vertical-align:middle;padding:12px}.lead-grid tr[aria-selected=true]{background:#1b182a}.lead-grid td small{color:var(--text-secondary);margin-top:5px;font-size:10px;display:block}.lead-open{color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:start;gap:4px;padding:0;display:flex}.lead-open strong{font-weight:600}.lead-open small{overflow-wrap:anywhere}.lead-stage{white-space:nowrap;border:1px solid #34303e;border-radius:5px;padding:4px 7px;font-size:10px;display:inline-block}.lead-stage-client{color:#56dcaa;border-color:#205e49}.lead-stage-lost{color:#f08b8b;border-color:#633434}.lead-late{color:#ffae7f}.lead-grid-count{color:var(--text-secondary);padding:12px;font-size:11px;display:block}.lead-inspector{border:1px solid var(--border);background:#0c0c10;border-radius:10px;padding:18px}.lead-inspector h2{margin:0;font-size:17px}.lead-inspector-title{align-items:center;gap:10px;margin-bottom:16px;display:flex}.lead-inspector-title small{color:var(--text-secondary);font-size:10px}.lead-inspector-title button{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;margin-left:auto;font-size:24px}.lead-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 10px;display:grid}.lead-field-pair{display:contents}.lead-form .field{min-width:0}.lead-form .field label{font-size:11px}.lead-form>.button,.lead-form>small{grid-column:1/-1}.lead-inspector-empty p,.lead-inspector-empty small{color:var(--text-secondary);font-size:12px;line-height:1.7}.lead-timeline{border-top:1px solid var(--border);margin-top:22px;padding-top:14px}.lead-timeline h3{margin:0 0 12px;font-size:13px}.lead-timeline article,.lead-import-preview article{border-bottom:1px solid var(--border);padding:12px 0;font-size:11px}.lead-timeline article small,.lead-import-preview article small{color:var(--text-secondary);margin-top:4px;font-size:10px;display:block}.lead-timeline article p{color:var(--text-secondary);overflow-wrap:anywhere;margin:6px 0}.lead-feedback{color:#d0c2a6;flex:none;margin:0;font-size:12px}.lead-empty{color:var(--text-secondary);padding:18px;font-size:12px;line-height:1.7}.lead-import-preview{max-height:250px;margin-bottom:12px}@media (max-width:1100px){.lead-split{grid-template-columns:minmax(0,1fr) 340px}.lead-grid th,.lead-grid td{padding:10px 8px}.lead-commandbar{gap:6px}}@media (max-width:700px){.lead-split{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.lead-inspector-empty{display:none}.lead-inspector:has(.lead-inspector-empty){display:none}:is(.lead-workspace:has(.lead-form) .lead-commandbar,.lead-workspace:has(.lead-import-preview) .lead-commandbar),:is(.lead-split:has(.lead-form)>.lead-grid,.lead-split:has(.lead-import-preview)>.lead-grid){display:none}.lead-inspector{padding:12px}.lead-inspector:has(.lead-form){flex-direction:column;display:flex;overflow:hidden}.lead-inspector-title{flex:none;margin-bottom:8px}.lead-form{flex:none;gap:7px}.lead-form .field label{align-items:end;min-height:24px;font-size:10px;display:flex}.lead-form .field input,.lead-form .field select{height:32px;min-height:32px;padding:6px 8px;font-size:11px}.lead-form>.button{min-height:34px;padding:6px}.lead-timeline{flex:1;min-height:0;margin-top:10px;padding-top:10px;overflow:auto}.lead-commandbar .field{flex:1;min-width:0}.lead-commandbar .field label{font-size:10px}.lead-overdue{padding-bottom:0}.lead-commandbar .button,.lead-import-button{padding:8px;font-size:11px}}.crm-work-scheduling{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;display:grid}.crm-overdue{color:#ff7965!important}.crm-compose>.crm-work-scheduling{grid-column:1/-1;min-width:0}.crm-compose .crm-work-scheduling .field{grid-column:auto;min-width:0}.crm-work-scheduling :is(input,select){width:100%;min-width:0;max-width:100%}.crm-compose>.button[type=submit]{grid-column:1/-1;place-self:start end;min-height:36px}@media (max-width:700px){.crm-compose>.button[type=submit]{justify-self:stretch}}
.crm-navgroup{margin:0 0 9px}.crm-navgroup>summary{letter-spacing:.08em;text-transform:uppercase;color:#9088a8;cursor:pointer;padding:9px 12px;font-size:10px;list-style-position:inside}.crm-navgroup>a{margin:2px 0}.crm-navgroup[open]>summary{color:#beb3d8}.enterprise-desk,.enterprise-settings{--ed-line:#24242e;--ed-muted:#9293a5;flex-direction:column;flex:1;gap:10px;min-height:0;display:flex}.enterprise-desk :is(button,input,select),.enterprise-settings :is(button,input,select){font:inherit}.ed-viewbar,.ed-tools,.ed-selection,.ed-job,.ed-save-view{flex-wrap:wrap;flex:none;align-items:center;gap:10px;display:flex}.ed-viewbar{border-bottom:1px solid var(--ed-line);padding:10px 0}.ed-viewbar>select{min-width:210px;max-width:320px;padding:9px}.ed-viewbar>span{font-variant-numeric:tabular-nums;color:#c2bfd7;margin-left:auto;font-size:12px}.ed-viewbar nav{flex-wrap:wrap;gap:4px;display:flex}.ed-viewbar nav button,.ed-dimensions button{color:var(--ed-muted);background:0 0;border:0;border-radius:6px;padding:8px 10px;font-size:12px}.ed-viewbar nav button[aria-pressed=true],.ed-dimensions button[aria-pressed=true]{color:#e0ddff;background:#27233e}.ed-tools>.field{flex-direction:row;align-items:center;gap:7px;margin-left:auto;font-size:11px;display:flex}.ed-tools .field select{min-height:30px;padding:6px}.ed-tools .button{min-height:32px;padding:8px 10px;font-size:12px}.ed-selection{color:var(--ed-muted);padding:3px 0;font-size:11px}.ed-selection label{align-items:center;gap:6px;display:flex}.ed-selection small{margin-left:auto}.ed-selection>button{color:#b6afff;background:0 0;border:0;padding:4px}.ed-split{flex:1;grid-template-columns:minmax(0,1fr);gap:12px;min-height:0;display:grid}.has-record .ed-split{grid-template-columns:minmax(320px,1fr) minmax(340px,410px)}.ed-grid{border:1px solid var(--ed-line);background:#09090d;border-radius:9px;min-height:0;position:relative}.ed-grid table{border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:100%;font-size:12px}.ed-grid thead{z-index:3;position:sticky;top:0}.ed-grid th{text-align:left;color:#b8b6c9;background:#121219;border-bottom:1px solid #30303b;padding:9px 12px 5px;font-weight:500;position:relative}.ed-grid th>button{color:inherit;white-space:nowrap;background:0 0;border:0;padding:0;font-size:11px}.ed-grid th>input[type=range]{opacity:.15;cursor:col-resize;width:100%;height:5px;margin-top:4px;display:block}.ed-grid th:hover>input[type=range],.ed-grid th>input[type=range]:focus{opacity:1}.ed-grid td{text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #20202a;max-width:400px;padding:8px 12px;overflow:hidden}.ed-grid .ed-grid-spacer td{background:0 0;border:0;padding:0}.ed-grid tr[aria-selected=true] td{background:#1d1930}.ed-grid tr:focus{outline-offset:-1px;outline:1px solid #a59cff}.ed-grid tr:hover td{background:#14131d}.ed-grid .is-pinned{z-index:2;background:#101017;position:sticky;left:0;box-shadow:1px 0 #282532}.ed-grid th.is-pinned{z-index:4}.ed-grid[data-density=comfortable] td{padding-block:16px}.ed-record-link{color:#f2f0fa;text-align:left;background:0 0;border:0;flex-direction:column;gap:4px;width:100%;padding:0;display:flex}.ed-record-link small{color:var(--ed-muted);text-overflow:ellipsis;max-width:100%;font-size:10px;overflow:hidden}.ed-empty{color:var(--ed-muted);padding:24px;font-size:12px}.ed-inspector{border:1px solid var(--ed-line);background:#0e0d14;border-radius:9px;flex-direction:column;gap:12px;padding:18px;display:flex}.ed-record-heading{border-bottom:1px solid var(--ed-line);justify-content:space-between;gap:10px;padding-bottom:12px;display:flex}.ed-record-heading small{color:#aaa2e7;letter-spacing:.08em;font-size:9px}.ed-record-heading h2{margin:8px 0;font-size:20px}.ed-record-heading p{color:var(--ed-muted);word-break:break-word;font-size:11px}.ed-record-heading>button{color:#adabc0;background:0 0;border:0;align-self:start;font-size:24px}.ed-inspector form{flex-direction:column;gap:14px;display:flex}.ed-record-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.ed-record-fields .field{min-width:0}.ed-inspector .field :is(input,select){width:100%;min-width:0;font-size:12px}.ed-tags{border:1px solid var(--ed-line);border-radius:7px;flex-wrap:wrap;gap:6px;padding:10px;font-size:11px;display:flex}.ed-tags legend{color:var(--ed-muted);padding:0 5px}.ed-tags label{border:1px solid;border-radius:12px;gap:5px;padding:5px 8px;display:flex}.ed-timeline{border-left:2px solid #37314d;padding:0 0 0 12px;font-size:12px}.ed-timeline small{color:var(--ed-muted);margin-top:4px;display:block}.ed-timeline p{margin:8px 0}.ed-inspector>p,.ed-inspector>a{font-size:11px;line-height:1.6}.ed-inspector h3{font-size:13px}.ed-filter-panel{background:#100e18;border:1px solid #373044;border-radius:9px;flex:none;max-height:42vh;padding:14px}.ef-group{border:1px solid #343040;border-radius:7px;margin:7px 0;padding:10px}.ef-group legend{padding:0 5px;font-size:11px}.ef-group legend select{min-height:27px;padding:5px}.ef-child{align-items:start;gap:6px;display:flex}.ef-child>:first-child{flex:1;min-width:0}.ef-child>button{color:#9993ae;background:0 0;border:0;padding:9px}.ef-rule{grid-template-columns:minmax(110px,1fr) minmax(100px,1fr) minmax(130px,1.3fr);gap:8px;margin:5px 0;display:grid}.ef-rule :is(input,select){width:100%;min-width:0;font-size:12px;min-height:32px!important;padding:7px!important}.ef-rule select[multiple]{height:74px}.ef-actions{gap:8px;margin-top:10px;display:flex}.ef-actions button,.ef-group legend>button{color:#c7bffa;background:#1a1624;border:1px solid #393046;border-radius:5px;padding:5px 8px;font-size:11px}.ed-save-view{padding-top:12px}.ed-save-view .field{flex:1;min-width:140px}.ed-save-view .button{align-self:end}.ed-columns{border:1px solid var(--ed-line);border-radius:8px;flex-wrap:wrap;flex:none;gap:9px;max-height:150px;padding:12px;display:flex}.ed-columns label{background:#14111c;border-radius:6px;align-items:center;gap:5px;padding:5px 8px;font-size:11px;display:flex}.ed-columns button{color:#bdb2ff;background:0 0;border:0;font-size:10px}.ed-bulk{background:#171221;border:1px solid #413459;border-radius:8px;flex:none;grid-template-columns:1fr 130px 2fr auto;align-items:end;gap:12px;padding:12px;display:grid}.ed-bulk>strong{align-self:center;font-size:12px}.ed-job{background:#14121c;border:1px solid #3a324e;border-radius:8px;padding:10px 14px;font-size:12px}.ed-job span{color:var(--ed-muted)}.ed-job small{color:#ff8a7f;width:100%}.ed-dimensions{border-bottom:1px solid var(--ed-line);flex-wrap:wrap;gap:8px;padding-bottom:10px;display:flex}.ed-settings-split{flex:1;grid-template-columns:minmax(240px,.85fr) minmax(350px,1.5fr);gap:18px;min-height:0;display:grid}.ed-definition-list{flex-direction:column;gap:5px;display:flex}.ed-definition{color:#e6e2f2;text-align:left;background:#100f16;border:1px solid #24222e;border-radius:7px;grid-template-columns:10px 1fr;gap:6px 12px;width:100%;padding:12px;display:grid}.ed-definition>span{border-radius:50%;align-self:center;width:9px;height:9px}.ed-definition strong{font-size:12px}.ed-definition small{color:var(--ed-muted);grid-column:2;font-size:10px}.ed-definition[aria-pressed=true]{background:#211a31;border-color:#8174b4}.ed-definition-form{border:1px solid var(--ed-line);background:#0e0d14;border-radius:9px;flex-direction:column;gap:14px;padding:20px;display:flex}.ed-definition-form h2{margin:0 0 5px;font-size:18px}.ed-definition-form>label{font-size:12px}.ed-definition-form>p{color:var(--ed-muted);font-size:11px;line-height:1.6}.ed-multiselect{flex-direction:column;gap:6px;display:flex}.ed-multiselect select{min-height:75px;padding:8px}.ed-multiselect small{color:var(--ed-muted);font-size:10px}.ed-message{background:#1d1729;border-left:2px solid #9d8bff;flex:none;padding:10px;font-size:12px}.enterprise-settings .crm-scroll>h2{font-size:16px}@media (max-width:1100px){.has-record .ed-split{grid-template-columns:minmax(200px,1fr) minmax(300px,1fr)}.ed-viewbar nav button{padding:6px}.ed-bulk{grid-template-columns:1fr 1fr}.crm-sidebar{width:210px}}@media (max-width:700px){.ed-viewbar>select{flex:1;min-width:0;max-width:100%}.ed-viewbar nav{order:3;width:100%}.ed-tools{gap:6px}.ed-tools>.field{margin-left:0}.ed-split,.has-record .ed-split{grid-template-columns:minmax(0,1fr)}.has-record .ed-grid,.has-record :is(.ed-tools,.ed-viewbar,.ed-selection){display:none}.ed-inspector{padding:14px}.ed-record-fields{gap:10px}.ed-settings-split{grid-template-rows:minmax(100px,.5fr) minmax(0,1.5fr);grid-template-columns:minmax(0,1fr)}.ed-definition-form{padding:14px}.ed-filter-panel{max-height:48vh}.ef-rule{grid-template-columns:1fr 1fr}.ef-rule>:last-child{grid-column:1/-1}.ed-columns{max-height:160px}.ed-viewbar>span{font-size:10px}.ed-selection small{display:none}}.enterprise-desk .button-secondary,.enterprise-settings .button-secondary{color:#d5cfe7;background:#111018;border-color:#302a3d}.enterprise-desk .button-secondary:hover,.enterprise-settings .button-secondary:hover{color:#eee9fa;background:#21192e}.enterprise-desk .ed-grid th>input[type=range]{opacity:0;width:100%;height:6px;margin:0;position:absolute;bottom:-3px;left:0}.enterprise-desk .ed-grid th:hover>input[type=range]{opacity:.35}.enterprise-desk .ed-grid th>input[type=range]:focus{opacity:1}.crm-sidebar .crm-navgroup>a{margin:2px 0;line-height:1.4;display:block}.crm-workspace .enterprise-desk .button-secondary,.crm-workspace .enterprise-settings .button-secondary{color:#d5cfe7;background:#111018;border-color:#302a3d}.crm-workspace .enterprise-desk .button-secondary:hover,.crm-workspace .enterprise-settings .button-secondary:hover{color:#eee9fa;background:#21192e}.crm-workspace .enterprise-desk .ed-grid th>input[type=range]{opacity:0;width:100%;height:6px;margin:0;position:absolute;bottom:-3px;left:0}.crm-workspace .enterprise-desk .ed-grid th:hover>input[type=range]{opacity:.35}.crm-workspace .enterprise-desk .ed-grid th>input[type=range]:focus{opacity:1}.enterprise-import{flex-direction:column;flex:1;gap:14px;min-height:0;display:flex}.ed-import-intro{border-bottom:1px solid #282331;flex:none;grid-template-columns:1fr minmax(240px,400px);align-items:center;gap:20px;padding-bottom:16px;display:grid}.ed-import-intro small{letter-spacing:.1em;color:#a39abb;font-size:10px}.ed-import-intro h2{margin:7px 0;font-size:21px}.ed-import-intro p{color:#9790a7;margin:0;font-size:11px;line-height:1.6}.ed-import-split{flex:1;grid-template-columns:260px minmax(0,1fr);gap:20px;min-height:0;display:grid}.ed-import-history{border-right:1px solid #292331;flex-direction:column;gap:8px;padding-right:15px;display:flex}.ed-import-history h3{margin:0 0 8px;font-size:12px}.ed-import-history .ed-definition{display:block}.ed-import-history .ed-definition small{margin-top:6px;display:block}.ed-import-history p{word-break:break-word;color:#aca4bc;font-size:11px}.ed-file-upload{color:#d6c9f0;border:1px dashed #5b4c76;border-radius:8px;flex-direction:column;align-items:center;gap:12px;padding:20px 12px;font-size:12px;display:flex}.ed-file-upload input{clip-path:inset(50%);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.ed-file-upload{cursor:pointer}.ed-file-upload:focus-within{outline-offset:3px;outline:2px solid #a59cff}.ed-import-detail{flex-direction:column;gap:18px;padding-right:4px;display:flex}.ed-import-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.ed-import-heading h2{word-break:break-word;margin:5px 0;font-size:18px}.ed-import-heading small{color:#bcb0d4;font-size:10px}.ed-import-heading strong{white-space:nowrap;font-size:12px}.ed-import-counts{border-block:1px solid #2e253a;grid-template-columns:repeat(5,1fr);gap:8px;padding:12px 0;display:grid}.ed-import-counts span{color:#9990ab;font-size:10px}.ed-import-counts b{color:#e4daef;font-variant-numeric:tabular-nums;margin-bottom:4px;font-size:20px;display:block}.ed-mapping{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.ed-mapping .field{min-width:0}.ed-import-confirm{background:#1c1529;border:1px solid #493559;border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px;padding:14px;font-size:12px;display:flex}.ed-import-confirm label{align-items:center;gap:8px;display:flex}.ed-import-confirm progress{width:100%}.ed-import-preview{flex:none;max-height:380px;overflow:auto}.ed-import-detail>p{font-size:11px;line-height:1.7}.ed-import-detail>.field>select{max-width:400px}.ed-import-detail .ed-save-view .button{font-size:12px}.ed-import-history>.button{min-height:36px;margin-top:0}.crm-workspace .enterprise-settings .button:not(.button-secondary),.crm-workspace .enterprise-import .button:not(.button-secondary),.crm-workspace .enterprise-desk .button:not(.button-secondary){color:#080811;box-shadow:none;background:#817cf4;border:1px solid #938eff}.crm-workspace .enterprise-settings .button:not(.button-secondary):hover,.crm-workspace .enterprise-import .button:not(.button-secondary):hover,.crm-workspace .enterprise-desk .button:not(.button-secondary):hover{background:#9995ff}.enterprise-import .crm-error{flex:none}@media (max-width:1100px){.ed-mapping{grid-template-columns:repeat(2,minmax(0,1fr))}.ed-import-split{grid-template-columns:220px minmax(0,1fr)}}@media (max-width:700px){.ed-import-intro{grid-template-columns:minmax(0,1fr);gap:10px;padding-bottom:10px}.ed-import-intro h2{font-size:17px}.ed-import-split{grid-template-rows:140px minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:12px}.ed-import-history{border:1px solid #2d2536;border-radius:8px;padding:10px;display:block}.ed-import-history h3,.ed-import-history .ed-definition{display:none}.ed-file-upload{flex-direction:row;justify-content:space-between;gap:7px;padding:10px}.ed-import-history p{margin:5px 0}.ed-import-history>.button{width:100%}.ed-import-counts{grid-template-columns:repeat(3,1fr)}.ed-mapping{gap:10px}.ed-import-detail{gap:14px}.ed-import-preview{max-height:300px}}
.crm-workspace{--background:#000;--surface:#08090b;--surface-subtle:#141419;--text:#f3f3f6;--text-secondary:#a4a4b0;--border:#25252d;--accent:#817cf4;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:var(--background)}.crm-sidebar,.crm-main{background:var(--background)}.crm-workspace .button.button-primary{background:var(--accent);color:#08090b;border-color:var(--accent);box-shadow:none}.crm-workspace .button.button-primary:hover{background:#aaa6ff}.crm-reference-workspace{flex-direction:column;flex:1;gap:14px;min-height:0;display:flex}.crm-actionbar:where(fieldset){border:0;min-inline-size:0;margin:0;padding:0}.crm-reference-grid{flex:1;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:16px;min-height:0;display:grid}.crm-reference-grid>section,.crm-reference-grid>form{border:1px solid var(--border);background:var(--surface);border-radius:12px;flex-direction:column;gap:12px;min-height:0;padding:16px;display:flex}.crm-reference-grid label,.crm-reference-profile label{flex-direction:column;gap:6px;font-size:12px;display:flex}.crm-reference-form{flex-direction:column;gap:12px;display:flex}.crm-reference-grid :is(input,select),.crm-reference-profile :is(input,select){background:var(--surface-subtle);color:var(--text);border:1px solid var(--border);border-radius:8px;min-width:0;padding:9px}.crm-reference-grid input[type=checkbox]{align-self:flex-start}.crm-reference-grid h2{margin:0;font-size:17px}.crm-reference-grid footer{flex:none}.crm-reference-grid p,.crm-reference-profile p{color:var(--text-secondary);font-size:12px}.crm-reference-profile{grid-template-columns:minmax(240px,1fr) minmax(0,1.4fr);gap:20px;height:100%;min-height:0;display:grid}.crm-reference-profile>section{flex-direction:column;gap:12px;min-height:0;display:flex;overflow:auto}.crm-reference-profile h3{margin:0}.crm-reference-profile article{border-bottom:1px solid var(--border);padding:14px 0}@media (max-width:800px){.crm-reference-grid{display:flex}.crm-reference-grid>section,.crm-reference-grid>form{flex:1}.crm-reference-grid[data-pane=list]>form,.crm-reference-grid[data-pane=edit]>section{display:none}.crm-reference-profile{flex-direction:column;display:flex;overflow:auto}.crm-reference-profile>section{flex:none;min-height:220px;overflow:visible}}.crm-navgroup>summary{color:var(--text-secondary)}.crm-navgroup[open]>summary{color:var(--text)}.crm-universe,.crm-financial-activity,.crm-profile,.crm-command{flex-direction:column;flex:1;gap:14px;min-width:0;min-height:0;display:flex;position:relative}.crm-universe-intro{border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:center;gap:16px;padding:6px 0 14px;display:flex}.crm-kicker{letter-spacing:.12em;color:var(--text-secondary);font-size:10px}.crm-universe-intro h1,.crm-person-hero h1{letter-spacing:-.7px;margin:8px 0;font-size:25px;line-height:1.2}.crm-universe-intro p,.crm-person-hero p{color:var(--text-secondary);margin:6px 0;font-size:12px}.crm-universe-intro>strong{font-variant-numeric:tabular-nums;font-size:30px;line-height:1.2}.crm-universe-intro>strong small{color:var(--text-secondary);text-align:right;font-size:10px;font-weight:400;display:block}.crm-actionbar{flex-wrap:wrap;flex:none;align-items:end;gap:10px;display:flex}.crm-actionbar label,.crm-profile label{color:var(--text-secondary);gap:5px;font-size:10px;display:grid}.crm-actionbar :is(select,input),.crm-profile :is(select,input){background:var(--surface);color:var(--text);border:1px solid var(--border);font:inherit;border-radius:5px;min-width:0;padding:8px 10px;font-size:12px}.crm-actionbar>a{color:var(--accent);margin-left:auto;padding:9px;font-size:12px}.crm-data-region{scrollbar-width:none;overscroll-behavior:contain;flex:1;min-width:0;min-height:0;overflow:auto}.crm-data-region::-webkit-scrollbar{display:none}.crm-data-region:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.crm-operations-table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:12px}.crm-operations-table th{background:var(--surface-subtle);color:var(--text-secondary);z-index:2;text-align:left;border-block:1px solid var(--border);padding:11px 14px;font-size:10px;font-weight:500;position:sticky;top:0}.crm-operations-table td{border-bottom:1px solid var(--border);padding:13px 14px}.crm-operations-table tr:hover td{background:var(--surface)}.crm-operations-table th:first-child,.crm-operations-table td:first-child{background:var(--background);position:sticky;left:0}.crm-operations-table th:first-child{z-index:3;background:var(--surface-subtle)}.crm-operations-table small{color:var(--text-secondary);margin-top:5px;font-size:10px;display:block}.crm-person-link{font:inherit;color:var(--text);cursor:pointer;background:0 0;border:0;padding:0;font-weight:600;text-decoration:none}.crm-person-link:hover{color:var(--accent)}.crm-state{border:1px solid var(--border);background:var(--surface-subtle);white-space:nowrap;border-radius:4px;padding:4px 7px;font-size:10px}.crm-list-footer{border-top:1px solid var(--border);color:var(--text-secondary);flex:none;justify-content:space-between;align-items:center;gap:10px;padding:10px 0 0;font-size:10px;display:flex}.crm-list-footer>div{gap:8px;display:flex}.crm-list-footer .button{padding:7px 12px;font-size:11px}.crm-zero{text-align:center;min-height:160px;color:var(--text-secondary);align-content:center;justify-items:center;gap:10px;display:grid}.crm-zero h3{color:var(--text);margin:0}.crm-zero p{margin:0}.crm-loading{color:var(--text-secondary);padding:16px}.crm-filter-region{border:1px solid var(--border);scrollbar-width:none;border-radius:6px;min-height:70px;max-height:28vh;padding:10px;overflow:auto}.crm-finance-totals{scrollbar-width:none;flex:none;gap:12px;display:flex;overflow:auto}.crm-finance-totals button{border:1px solid var(--border);background:var(--surface);color:var(--text);text-align:left;cursor:pointer;border-radius:6px;min-width:210px;padding:12px 16px}.crm-finance-totals :is(small,span){color:var(--text-secondary);font-size:10px;display:block}.crm-finance-totals strong{font-variant-numeric:tabular-nums;margin:4px 0;font-size:22px;display:block}.crm-amount{font-variant-numeric:tabular-nums;font-weight:600}.crm-case-detail{background:var(--background);border:1px solid var(--border);z-index:4;flex-direction:column;gap:14px;min-height:0;padding:20px;display:flex;position:absolute;inset:0}.crm-case-detail header{justify-content:space-between;align-items:center;gap:10px;display:flex}.crm-case-detail h3{margin:0}.crm-case-detail p{overflow-wrap:anywhere;margin:0;font-size:12px}.crm-case-detail a{color:var(--accent)}.crm-case-detail .crm-data-region p{border-bottom:1px solid var(--border);padding:12px 0}.crm-profile-head{flex:none;align-items:center;gap:12px;display:flex}.crm-profile-head a{color:var(--text-secondary);font-size:12px}.crm-profile-head .button{margin-left:auto}.crm-person-hero{border-bottom:1px solid var(--border);flex:none;align-items:center;gap:16px;padding:14px 0;display:flex}.crm-profile-avatar{background:var(--surface-subtle);width:48px;height:48px;color:var(--accent);border-radius:50%;flex:none;place-content:center;font-size:16px;display:grid}.crm-person-meta{color:var(--text-secondary);gap:8px;margin-left:auto;font-size:11px;display:grid}.crm-profile-tabs{border-bottom:1px solid var(--border);flex-wrap:wrap;flex:none;gap:6px;display:flex}.crm-profile-tabs button{color:var(--text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:10px 12px;font-size:12px}.crm-profile-tabs button[aria-current]{color:var(--text);border-color:var(--accent)}.crm-profile-content{flex:1;min-height:0;display:flex}.crm-profile-overview{flex:1;grid-template-columns:1fr 1fr;gap:22px;min-height:0;display:grid}.crm-profile-overview>section{border:1px solid var(--border);background:var(--surface);border-radius:6px;min-height:0;padding:16px}.crm-profile-overview h3{margin:0 0 12px;font-size:14px}.crm-key-value{border-bottom:1px solid var(--border);justify-content:space-between;gap:12px;padding:11px 0;font-size:12px;display:flex}.crm-key-value span{color:var(--text-secondary)}.crm-key-value strong{font-weight:500}.crm-profile-timeline{flex-direction:column;gap:10px;display:flex}.crm-profile-timeline article,.crm-profile-activity article{border-bottom:1px solid var(--border);padding:12px 0}.crm-profile-timeline article p,.crm-profile-activity article p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 6px}.crm-profile-timeline small,.crm-profile-activity small{color:var(--text-secondary);font-size:10px}.crm-relationship-form{flex-direction:column;gap:14px;width:min(100%,550px);display:flex}.crm-relationship-form h3{margin:0;font-size:14px}.crm-profile-finance,.crm-profile-activity{flex-direction:column;flex:1;gap:14px;min-height:0;display:flex}.crm-profile-activity form{border-top:1px solid var(--border);flex:none;align-items:end;gap:12px;padding-top:12px;display:flex}.crm-profile-activity form label{flex:1}.crm-command-metrics{border:1px solid var(--border);border-radius:6px;flex:none;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.crm-command-metrics a{border-right:1px solid var(--border);color:var(--text);padding:16px;text-decoration:none}.crm-command-metrics a:last-child{border:0}.crm-command-metrics :is(span,small){color:var(--text-secondary);font-size:11px;display:block}.crm-command-metrics strong{font-variant-numeric:tabular-nums;margin:6px 0;font-size:30px;font-weight:550;display:block}.crm-command-metrics small{font-size:10px}.crm-command-grid{flex:1;grid-template-rows:1fr 1fr;grid-template-columns:1.3fr 1fr;gap:16px;min-height:0;display:grid}.crm-command-grid>section{border:1px solid var(--border);background:var(--surface);border-radius:6px;flex-direction:column;gap:12px;min-height:0;padding:16px;display:flex}.crm-command-grid>section:first-child{grid-row:1/3}.crm-command-grid h3{margin:0 0 5px;font-size:14px}.crm-command-grid header small{color:var(--text-secondary);font-size:10px}.crm-source-bar{color:var(--text);grid-template-columns:110px minmax(0,1fr) 35px;align-items:center;gap:12px;padding:15px 0;font-size:11px;text-decoration:none;display:grid}.crm-source-bar i{background:var(--accent);opacity:.8;height:13px}.crm-command-shortcuts a{border-bottom:1px solid var(--border);color:var(--text);grid-template-columns:1fr 20px;padding:11px 0;text-decoration:none;display:grid}.crm-command-shortcuts strong{font-size:12px;font-weight:550}.crm-command-shortcuts small{color:var(--text-secondary);grid-column:1;margin-top:4px;font-size:10px}.crm-command-shortcuts a>span{color:var(--accent);grid-area:1/2/3}@media (max-width:1100px){.crm-person-meta{display:none}.crm-command-metrics strong{font-size:25px}.crm-command-metrics a{padding:12px}.crm-operations-table td{padding:11px}.crm-profile-overview{gap:14px}.crm-key-value{padding:8px 0;font-size:11px}.crm-universe-intro h1,.crm-person-hero h1{font-size:22px}}@media (max-width:700px){.crm-universe,.crm-profile,.crm-command,.crm-financial-activity{gap:10px}.crm-universe-intro{padding:0 0 10px}.crm-universe-intro h1{font-size:19px}.crm-universe-intro p,.crm-universe-intro>strong{display:none}.crm-kicker{font-size:8px}.crm-actionbar{gap:6px}.crm-actionbar :is(input,select){max-width:150px;padding:6px;font-size:11px}.crm-actionbar .button{padding:7px;font-size:10px}.crm-actionbar>a{display:none}.crm-operations-table{font-size:11px}.crm-operations-table td{padding:11px 9px}.crm-list-footer{gap:5px;font-size:9px}.crm-list-footer .button{padding:6px 8px;font-size:10px}.crm-person-hero{gap:10px;padding:7px 0}.crm-person-hero h1{margin:4px 0;font-size:21px}.crm-person-hero p{font-size:10px}.crm-profile-avatar{width:35px;height:35px;font-size:12px}.crm-profile-tabs{gap:2px}.crm-profile-tabs button{padding:7px;font-size:10px}.crm-profile-overview{grid-template-rows:minmax(0,1fr);grid-template-columns:1fr}.crm-profile-overview>.crm-profile-timeline{display:none}.crm-profile-overview>section{padding:10px}.crm-key-value{padding:9px 0}.crm-command-metrics{grid-template-columns:1fr 1fr}.crm-command-metrics a{padding:9px 10px}.crm-command-metrics small{display:none}.crm-command-metrics strong{margin:3px 0;font-size:24px}.crm-command-metrics span{font-size:9px}.crm-command-grid{grid-template-rows:1fr 1fr;grid-template-columns:1fr;gap:10px}.crm-command-grid>section:first-child{grid-row:auto}.crm-command-grid>section:nth-child(2){display:none}.crm-command-grid>section{padding:10px}.crm-source-bar,.crm-command-shortcuts a{padding:9px 0}.crm-finance-totals{gap:6px}.crm-finance-totals button{min-width:175px;padding:8px 10px}.crm-finance-totals strong{font-size:18px}.crm-finance-totals span,.crm-profile-head .crm-state{display:none}.crm-profile-activity form{gap:6px}.crm-profile-activity form .button{padding:8px;font-size:11px}.crm-case-detail{padding:12px}.crm-case-detail header h3{font-size:14px}}@media (max-height:720px){.crm-universe-intro p{display:none}.crm-universe-intro{padding-bottom:8px}.crm-universe-intro h1{margin:5px 0;font-size:21px}.crm-command-metrics a{padding:9px 12px}.crm-command-metrics strong{font-size:23px}.crm-key-value{padding:7px 0}.crm-profile-tabs button{padding:7px}.crm-person-hero{padding:8px 0}.crm-person-hero h1{font-size:21px}}@media (prefers-reduced-motion:no-preference){.crm-profile-content,.crm-data-region{animation:.14s ease-out crm-enter}@keyframes crm-enter{0%{opacity:.85}to{opacity:1}}}.crm-allocation{flex-direction:column;flex:1;gap:12px;min-height:0;display:flex}.crm-allocation-panes{flex:none;gap:4px;display:flex}.crm-allocation-panes button{font:inherit;border:1px solid var(--border);color:var(--text-secondary);background:var(--surface);cursor:pointer;padding:8px 12px;font-size:12px}.crm-allocation-panes button[aria-current]{color:var(--text);border-color:var(--accent)}.crm-allocation-grid{flex:1;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:16px;min-height:0;display:grid;position:relative}.crm-allocation-grid>section{border:1px solid var(--border);background:var(--surface);border-radius:6px;flex-direction:column;gap:12px;min-width:0;min-height:0;padding:16px;display:flex}.crm-allocation-grid header{flex:none;justify-content:space-between;align-items:center;gap:10px;display:flex}.crm-allocation-grid h3{margin:0;font-size:14px}.crm-allocation-grid header :is(span,small){color:var(--text-secondary);font-size:10px}.crm-allocation-controls{flex:none;grid-template-columns:1fr 1fr;gap:10px;display:grid}.crm-allocation-controls label{color:var(--text-secondary);gap:5px;font-size:10px;display:grid}.crm-allocation-controls :is(input,select){border:1px solid var(--border);background:var(--background);width:100%;min-width:0;color:var(--text);font:inherit;border-radius:4px;padding:8px;font-size:12px}.crm-allocation-agent{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:11px 0;font-size:12px;display:flex}.crm-allocation-agent span{gap:4px;display:grid}.crm-allocation-agent strong{font-weight:500}.crm-allocation-agent small{color:var(--text-secondary);font-size:10px}.crm-allocation-agent input{accent-color:var(--accent);width:15px;height:15px}.crm-allocation-grid>.crm-allocation-preview{z-index:4;display:none;position:absolute;inset:0}.crm-allocation-grid[data-pane=preview]>.crm-allocation-preview{display:flex}.crm-allocation-summary{border-block:1px solid var(--border);flex:none;align-items:center;gap:18px;padding:12px 0;display:flex}.crm-allocation-summary b{font-size:24px;display:block}.crm-allocation-summary small{color:var(--text-secondary);overflow-wrap:anywhere;margin-left:auto;font-size:10px}.crm-definition{color:var(--text-secondary);flex:none;margin:0;font-size:11px}.crm-success{color:#3cdda4;border:1px solid var(--border);margin:0;padding:10px;font-size:12px}@media (max-width:800px){.crm-allocation-grid{grid-template-columns:minmax(0,1fr)}.crm-allocation-grid[data-pane=records]>.crm-allocation-policy,.crm-allocation-grid[data-pane=policy]>.crm-allocation-records,.crm-allocation-grid[data-pane=preview]>:not(.crm-allocation-preview){display:none}.crm-allocation-grid>section{gap:10px;padding:12px}.crm-allocation-grid>.crm-allocation-preview{position:static}.crm-allocation-controls{gap:8px}.crm-allocation-summary{gap:10px}.crm-allocation-summary small{max-width:115px;font-size:9px}.crm-allocation-controls :is(input,select){padding:7px}.crm-allocation .crm-list-footer{font-size:9px}.crm-allocation .crm-universe-intro>.crm-state{display:none}}.crm-relationship-desk{flex-direction:column;flex:1;gap:12px;min-height:0;display:flex}.crm-relationship-layout{flex:1;grid-template-columns:250px minmax(0,1fr) 270px;gap:14px;min-height:0;display:grid}.crm-relationship-layout>section{border:1px solid var(--border);background:var(--surface);border-radius:6px;flex-direction:column;gap:12px;min-width:0;min-height:0;padding:14px;display:flex}.crm-relationship-layout h3{margin:0;font-size:14px}.crm-relationship-layout header>small{color:var(--text-secondary);font-size:10px}.crm-contact-row{border:0;border-bottom:1px solid var(--border);color:var(--text);text-align:left;width:100%;font:inherit;cursor:pointer;background:0 0;gap:5px;padding:13px 10px;display:grid}.crm-contact-row strong{font-size:12px;font-weight:550}.crm-contact-row small{color:var(--text-secondary);font-size:10px}.crm-contact-row[aria-current]{background:var(--surface-subtle);box-shadow:inset 2px 0 var(--accent)}.crm-contact-workspace .crm-person-hero{margin:0;padding:4px 0 10px}.crm-contact-workspace .crm-person-hero a{color:var(--accent);margin-left:auto;font-size:11px}.crm-contact-context{gap:0;display:grid}.crm-contact-form{flex:1;grid-template-columns:1fr 1fr;align-content:center;gap:14px;min-height:0;display:grid}.crm-contact-form label{color:var(--text-secondary);gap:6px;font-size:11px;display:grid}.crm-contact-form :is(input,select){width:100%;min-width:0;font:inherit;background:var(--background);color:var(--text);border:1px solid var(--border);border-radius:4px;padding:10px;font-size:12px}.crm-contact-history article{border-left:1px solid var(--border);margin-bottom:14px;padding:5px 0 14px 14px}.crm-contact-history p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 6px;font-size:12px}.crm-contact-history small{color:var(--text-secondary);font-size:10px}.crm-retention-desk .crm-contact-workspace{border-top:2px solid #39bda4}.crm-sales-desk .crm-contact-workspace{border-top:2px solid var(--accent)}@media (max-width:1200px){.crm-relationship-layout{grid-template-columns:230px minmax(0,1fr)}.crm-contact-history{display:none!important}.crm-contact-form{gap:10px}}@media (max-width:800px){.crm-relationship-layout{grid-template-columns:minmax(0,1fr)}.crm-relationship-layout[data-pane=queue]>.crm-contact-workspace,.crm-relationship-layout[data-pane=contact]>.crm-contact-queue{display:none}.crm-relationship-layout>section{gap:10px;padding:12px}.crm-contact-context .crm-key-value{padding:6px 0;font-size:10px}.crm-contact-form{align-content:start;gap:10px}.crm-contact-form :is(input,select){padding:8px}.crm-contact-workspace .crm-person-hero h3{font-size:17px}.crm-contact-workspace .crm-person-hero a{font-size:10px}.crm-relationship-desk .crm-universe-intro h1{font-size:20px}.crm-relationship-desk .crm-universe-intro>.button{padding:8px;font-size:10px}.crm-relationship-desk .crm-list-footer>span{max-width:155px;font-size:9px}.crm-relationship-desk .crm-universe-intro>div{min-width:0}}@media (max-height:700px){.crm-contact-context .crm-key-value{padding:6px 0;font-size:10px}.crm-contact-form{align-content:center;gap:9px}.crm-contact-form :is(input,select){padding:7px}.crm-relationship-layout>section{gap:8px}.crm-contact-workspace .crm-person-hero p{margin:4px 0;font-size:10px}}.crm-workspace[data-operational=true] .crm-heading{border-bottom:1px solid var(--border);gap:8px;min-height:24px;padding-bottom:6px}.crm-workspace[data-operational=true] .crm-heading p,.crm-workspace[data-operational=true] .crm-heading>.button{display:none}.crm-shell-context{color:var(--text-secondary);font-size:11px}@media (max-height:500px){.crm-workspace[data-operational=true] .crm-main{gap:8px;padding:8px 12px}.crm-workspace[data-operational=true] .crm-heading{min-height:22px;padding:0}.crm-universe-intro h1{margin:3px 0;font-size:18px}.crm-universe-intro{padding-bottom:6px}.crm-universe-intro .crm-kicker{display:none}.crm-relationship-desk,.crm-allocation,.crm-financial-activity,.crm-profile,.crm-command,.crm-universe{gap:8px}.crm-relationship-desk .crm-actionbar :is(select,.button){padding:5px;font-size:10px}.crm-relationship-desk .crm-actionbar label{font-size:9px}.crm-relationship-layout>section{gap:7px;padding:8px}.crm-contact-workspace .crm-person-hero{gap:8px;padding:0 0 6px}.crm-contact-workspace .crm-person-hero h3{font-size:15px}.crm-contact-workspace .crm-person-hero .crm-profile-avatar{width:26px;height:26px;font-size:10px}.crm-contact-workspace .crm-person-hero p,.crm-contact-context{display:none}.crm-contact-form{align-content:center;gap:6px}.crm-contact-form label{gap:3px;font-size:9px}.crm-contact-form :is(input,select){padding:5px;font-size:11px}.crm-contact-workspace .crm-list-footer{padding-top:6px}.crm-contact-workspace .crm-list-footer span{max-width:150px;font-size:8px}.crm-contact-workspace .crm-list-footer .button{padding:6px 9px;font-size:10px}.crm-financial-activity .crm-actionbar{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;display:grid}.crm-financial-activity .crm-actionbar label{min-width:0;font-size:8px}.crm-financial-activity .crm-actionbar :is(input,select){width:100%;max-width:100%;padding:5px;font-size:10px}.crm-finance-totals button{min-width:180px;padding:6px 10px}.crm-finance-totals strong{margin:2px 0;font-size:18px}.crm-finance-totals span{display:none}.crm-profile-overview>section{padding:9px}.crm-profile-overview .crm-key-value{padding:5px 0;font-size:10px}.crm-person-hero{padding:6px 0}.crm-person-hero h1{margin:3px 0;font-size:18px}.crm-person-hero p{display:none}.crm-profile-tabs button,.crm-profile-head .button{padding:5px 8px;font-size:10px}}.crm-workspace table.crm-operations-table td,.crm-workspace .crm-state{color:var(--text)}.crm-view-dialog{color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:16px;width:min(760px,100vw - 24px);max-height:calc(100dvh - 24px);padding:0}.crm-view-dialog::backdrop{background:#000b}.crm-view-dialog>header,.crm-view-dialog>footer{background:var(--surface);justify-content:space-between;align-items:center;gap:10px;padding:16px;display:flex}.crm-view-dialog>header{border-bottom:1px solid var(--border)}.crm-view-dialog h2{margin:4px 0 0}.crm-view-dialog>footer{border-top:1px solid var(--border);flex-wrap:wrap}.crm-view-dialog-body{gap:14px;max-height:calc(100dvh - 230px);padding:16px;display:grid;overflow:auto}.crm-view-dialog label{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.crm-view-dialog input:not([type=checkbox]),.crm-view-dialog select{color:var(--text);background:var(--surface-subtle);border:1px solid var(--border);border-radius:8px;min-width:0;padding:8px}.crm-view-dialog p{color:var(--text-secondary);margin:0}.crm-column-controls{gap:6px;display:grid}.crm-column-controls>div{align-items:center;gap:8px;min-height:36px;display:flex}.crm-column-controls>div>label:first-child{flex:1}.crm-column-controls input[type=number]{width:72px}.crm-column-controls button{color:var(--text);background:var(--surface-subtle);border:1px solid var(--border);border-radius:6px;min-width:30px;min-height:30px}.crm-column-controls button:disabled{opacity:.35}.crm-view-flags{gap:20px;display:flex}.crm-operations-table[data-density=comfortable] td{padding-top:18px;padding-bottom:18px}@media (max-width:500px){.crm-column-controls>div{flex-wrap:wrap;gap:4px}.crm-column-controls>div>label:first-child{min-width:140px}.crm-view-dialog-body{max-height:calc(100dvh - 275px)}}@media (max-height:500px){.crm-allocation-grid>section{gap:8px;padding:9px}.crm-allocation-grid h3{font-size:12px}.crm-allocation-controls{gap:6px}.crm-allocation-controls :is(input,select){padding:5px;font-size:11px}.crm-allocation-controls label{gap:3px;font-size:9px}.crm-allocation-grid .crm-list-footer{padding-top:6px}.crm-allocation-grid .crm-list-footer .button{min-height:28px;padding:5px 8px;font-size:10px}}.crm-workspace .crm-operations{flex:1;grid-template-columns:minmax(210px,.8fr) minmax(0,1.8fr);gap:16px;min-height:0;display:grid;overflow:hidden}.crm-operations>section{border:1px solid var(--border);background:var(--surface);border-radius:12px;min-width:0;min-height:0;padding:16px}.crm-operations .crm-case-row{text-align:left;width:100%;color:var(--text);border:0;border-bottom:1px solid var(--border);cursor:pointer;background:0 0;flex-direction:column;gap:7px;padding:14px;display:flex}.crm-operations .crm-case-row:hover{background:var(--surface-subtle)}.crm-case-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-block-end:12px;display:grid}.crm-case-filter-panel{margin-block-end:12px}.crm-case-filter-panel summary{cursor:pointer;border:1px solid var(--border);color:var(--text);border-radius:7px;padding:10px}.crm-case-filter-panel[open] summary{margin-block-end:10px}.crm-case-filters label{min-width:0;color:var(--text-secondary);gap:6px;font-size:12px;display:grid}.crm-case-filters label:first-child,.crm-case-filters label:last-child{grid-column:1/-1}.crm-case-filters :is(input,select){box-sizing:border-box;border:1px solid var(--border);background:var(--surface-subtle);width:100%;min-width:0;min-height:36px;color:var(--text);border-radius:7px;padding:8px}.crm-workspace .crm-operations .button:not(.button-primary){background:var(--surface-subtle);color:var(--text);border:1px solid var(--border);box-shadow:none}.crm-case-routing{border-block:1px solid var(--border);margin-block:18px;padding-block:14px}.crm-case-routing summary{cursor:pointer;padding-block-end:12px;font-weight:600}.crm-operation-form fieldset{border:1px solid var(--border);border-radius:8px;gap:10px;min-inline-size:0;margin:0;padding:12px;display:grid}.crm-operation-form label:has(input[type=checkbox]){flex-direction:row;align-items:center}.crm-operation-form input[type=checkbox]{width:16px;height:16px}.crm-cohort-controls{flex-wrap:wrap;align-items:end;gap:10px;padding-block:8px;display:flex}.crm-cohort-controls label{gap:6px;min-width:0;font-size:12px;display:grid}.crm-cohort-controls :is(input,select){box-sizing:border-box;background:var(--surface-subtle);min-width:0;max-width:100%;min-height:36px;color:var(--text);border:1px solid var(--border);border-radius:7px;padding:8px}.crm-cohort-results{border-top:1px solid var(--border);flex:1;min-height:0}.crm-cohort-results table{width:100%;min-width:820px}.crm-cohort-results table caption{text-align:start;color:var(--text-secondary);padding-block:12px}.crm-cohort-results table td{white-space:nowrap}.crm-cohort-results table td small{margin-block-start:8px;display:block}.crm-cohort-bars{gap:10px;margin:12px 0;display:grid}.crm-cohort-bars a{color:var(--text);gap:5px;display:grid}.crm-cohort-bars meter{width:100%;height:10px;accent-color:var(--accent)}.crm-cohort-bars meter::-webkit-meter-bar{background:var(--surface-subtle);border:0}.crm-cohort-bars meter::-webkit-meter-optimum-value{background:var(--accent)}.crm-cohort-bars meter::-moz-meter-bar{background:var(--accent)}.crm-cohort-scope{border-inline-start:3px solid var(--accent);background:var(--surface);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:12px;display:flex}.crm-cohort-scope span{overflow-wrap:anywhere;min-width:0}.crm-cohort-scope a{color:var(--accent);white-space:nowrap}.crm-activity-options{border-block:1px solid var(--border);flex-shrink:0;min-height:0}.crm-activity-options summary{cursor:pointer;color:var(--text);padding:12px 0}.crm-activity-option-scroll{scrollbar-width:none;max-height:min(38dvh,300px);overflow:auto}@media (max-width:700px){.crm-cohort-insights>.crm-cohort-controls{scrollbar-width:none;max-height:24dvh;overflow:auto}.crm-cohort-controls label{flex:120px}}.crm-workspace .crm-operation-form{border:0;flex-direction:column;gap:12px;min-inline-size:0;margin:0;padding:0;display:flex}.crm-operation-form label{flex-direction:column;gap:6px;font-size:12px;display:flex}.crm-operation-form :is(input,select,textarea){background:var(--surface-subtle);color:var(--text);border:1px solid var(--border);box-sizing:border-box;border-radius:7px;width:100%;min-width:0;padding:9px}.crm-operation-form textarea{resize:vertical;min-height:100px}.crm-workspace .crm-operation-shell{flex:1;min-height:0;padding:18px}.crm-operation-shell article,.crm-operations article{border-bottom:1px solid var(--border);overflow-wrap:anywhere;padding:14px 0}@media (max-width:700px){.crm-workspace .crm-operations{grid-template-rows:minmax(100px,.65fr) minmax(0,1.5fr);grid-template-columns:1fr;gap:8px}.crm-operations>section{padding:10px}}.crm-workspace .crm-shell-context{margin:0}.crm-operations .button,.crm-operation-shell .button{background:var(--surface-subtle);border:1px solid var(--border);box-shadow:none;color:var(--text);background-image:none}.crm-operations .button.button-primary,.crm-operation-shell .button.button-primary{background:var(--accent);color:#08090b;border-color:var(--accent)}.crm-operation-shell :is(th,td){color:var(--text-secondary)}.crm-operation-shell table{border-collapse:collapse;width:100%}.crm-operation-shell :is(th,td){text-align:left;border-bottom:1px solid var(--border);padding:10px}.crm-report-workspace{flex-direction:column;flex:1;gap:10px;min-height:0;display:flex;overflow:hidden}.crm-report-workspace>.crm-actionbar{white-space:nowrap;flex:none;padding:4px;overflow:auto}.crm-operation-shell fieldset fieldset{border:1px solid var(--border);border-radius:10px;padding:12px}.crm-operation-shell .crm-integrity{overflow-wrap:anywhere;font-size:11px}.crm-operation-shell input[type=checkbox],.crm-operations input[type=checkbox]{width:auto;accent-color:var(--accent)}.crm-operation-shell audio{max-width:100%}.crm-report-workspace>.crm-actionbar [role=tab]{border:1px solid var(--border);color:var(--text-secondary);box-shadow:none;background:0 0}.crm-report-workspace>.crm-actionbar [role=tab][aria-selected=true]{background:var(--accent);color:#08090b}.crm-workspace .crm-operation-form label:has(>input[type=checkbox]){justify-content:flex-start;align-items:center;gap:10px;display:flex}.crm-workspace .crm-operation-form label>input[type=checkbox]{width:16px;height:16px;min-height:16px;accent-color:var(--accent);flex:none;margin:0}.crm-workspace .crm-operation-shell .button:not(.button-primary){border:1px solid var(--border);color:var(--text);box-shadow:none;background:#101014}.crm-operation-shell audio[hidden]{display:none}.crm-identity-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0;display:grid}.crm-identity-columns>section{border:1px solid var(--border);overflow-wrap:anywhere;border-radius:10px;padding:14px}@media (max-width:720px){.crm-identity-columns{grid-template-columns:minmax(0,1fr)}}.crm-client-timeline{flex-direction:column;flex:1;gap:10px;min-height:0;display:flex;overflow:hidden}.crm-timeline-filters{flex-shrink:0;grid-template-columns:repeat(4,minmax(0,1fr)) auto auto;align-items:end;border:0!important;gap:8px!important;padding:0!important;display:grid!important}.crm-timeline-filters label{color:var(--text-secondary);flex-direction:column;gap:5px;font-size:11px;display:flex}.crm-timeline-filters input,.crm-timeline-filters select{width:100%;min-width:0;font:inherit;border:1px solid var(--border);color:var(--text);box-sizing:border-box;background:#0b0b0e;border-radius:7px;min-height:35px;padding:8px}.crm-client-timeline button{font:inherit;border:1px solid var(--border);min-height:35px;color:var(--text);cursor:pointer;background:#111116;border-radius:7px;padding:8px 11px;font-size:12px}.crm-client-timeline button:disabled{opacity:.5}.crm-timeline-explanation{color:var(--text-secondary);margin:0;font-size:11px}.crm-timeline-events{scrollbar-width:none;min-height:0;overflow:auto}.crm-timeline-events::-webkit-scrollbar{display:none}.crm-timeline-events h3{color:#b9b2ff;margin:0;padding:12px 0 6px;font-size:12px}.crm-timeline-events article{border-bottom:1px solid var(--border);overflow-wrap:anywhere;border-left:2px solid #5149ac;padding:12px!important}.crm-timeline-events article>div{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.crm-timeline-events span,.crm-timeline-events small,.crm-timeline-events details{color:var(--text-secondary);font-size:11px}.crm-timeline-events p{white-space:pre-wrap;font-size:12px}.crm-timeline-events summary{cursor:pointer;padding:7px 0}.crm-timeline-events a{color:#b9b2ff}.crm-timeline-events article strong{font-size:13px}@media (max-width:850px){.crm-timeline-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-timeline-events article>div{flex-direction:column}.crm-timeline-events article{padding:9px!important}}.crm-universe-actions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.crm-universe-actions>span{color:var(--text-secondary);font-size:11px}.crm-export-column{justify-content:space-between;align-items:center;gap:8px;margin:6px 0;display:flex}.crm-export-column>span{flex:1}:is(.crm-view-dialog label:has(>select),.crm-view-dialog label:has(>input)){flex-direction:column;gap:5px;margin-bottom:10px;display:flex}.crm-view-dialog select{min-width:0;max-width:100%}.crm-operations-table input[type=checkbox]{width:15px;height:15px;accent-color:var(--accent)}.crm-customer-financial-context{min-width:0;padding:12px 0}.crm-customer-financial-context>label{color:var(--text-secondary);flex-direction:column;gap:6px;font-size:12px;display:flex}.crm-customer-financial-context select{color:var(--text);border:1px solid var(--border);font:inherit;background:#0b0b0e;border-radius:7px;max-width:100%;padding:9px}.crm-context-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}.crm-context-facts article{border:1px solid var(--border);overflow-wrap:anywhere;border-radius:8px;flex-direction:column;gap:7px;min-width:0;padding:12px;display:flex}.crm-context-facts span,.crm-context-facts small{color:var(--text-secondary);font-size:11px}.crm-context-facts strong{font-size:16px}.crm-context-source-note{color:var(--text-secondary);font-size:11px;line-height:1.6}.crm-context-position-list{scrollbar-width:none;max-height:220px;overflow:auto}.crm-context-position-list table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:12px}.crm-context-position-list td,.crm-context-position-list th{text-align:left;border-bottom:1px solid var(--border);padding:9px}.crm-ret-financial{border-block:1px solid var(--border);padding:10px 0}.crm-ret-financial>summary{color:#b9b2ff;cursor:pointer;font-size:12px}.crm-ret-financial .crm-context-facts{grid-template-columns:1fr}.crm-canonical-context button{font:inherit;color:var(--text);border:1px solid var(--border);background:#111116;border-radius:7px;padding:7px 10px;font-size:12px}.crm-canonical-context button:disabled{opacity:.4}@media (max-width:700px){.crm-context-facts{grid-template-columns:1fr}.crm-context-facts article{padding:10px}}.crm-registered-relationship{min-width:0}.crm-registered-relationship p{color:var(--text-secondary);font-size:12px;line-height:1.6}.crm-registered-relationship h4{font-size:14px}.crm-registered-relationship dl{overflow-wrap:anywhere;grid-template-columns:90px minmax(0,1fr);gap:8px;font-size:12px;display:grid}.crm-registered-relationship dd{margin:0}.crm-registered-relationship dt{color:var(--text-secondary)}.crm-registered-relationship form,.crm-registered-relationship label{flex-direction:column;gap:8px;display:flex}.crm-registered-relationship form{gap:14px}.crm-registered-relationship input,.crm-registered-relationship select{font:inherit;color:var(--text);border:1px solid var(--border);background:#0b0b0e;border-radius:7px;min-width:0;padding:10px}.crm-registered-relationship button{font:inherit;color:var(--text);border:1px solid var(--border);cursor:pointer;background:#111116;border-radius:7px;padding:9px 12px;font-size:12px}.crm-registered-relationship button[type=submit]{background:var(--accent);color:#08090b}.crm-registered-relationship button:disabled{opacity:.5}.crm-registered-relationship a{color:#b9b2ff}.crm-partner-workspace .crm-task-grid{grid-template-columns:minmax(230px,.65fr) minmax(0,1.5fr)}.crm-partner-workspace .crm-task-actions{margin-top:0}.crm-partner-workspace .crm-task-actions button[aria-pressed=true]{border-color:var(--accent);background:#211e38}.crm-partner-workspace .crm-task-editor>a{color:#b9b2ff;margin:8px 0;font-size:12px;display:inline-block}.crm-partner-record strong{font-size:13px}.crm-partner-record small,.crm-partner-record summary{color:var(--text-secondary);font-size:11px}.crm-partner-record summary{cursor:pointer}.crm-partner-record p{overflow-wrap:anywhere;font-size:12px;line-height:1.5}.crm-partner-record a{color:#b9b2ff;font-size:12px}.crm-partner-workspace .crm-context-facts{grid-template-columns:repeat(2,minmax(0,1fr))}@media (max-width:720px){.crm-partner-workspace .crm-task-grid{grid-template-rows:minmax(90px,.4fr) minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.crm-partner-workspace .crm-task-actions{gap:4px}.crm-partner-workspace .crm-task-actions button{min-height:30px;padding:6px 8px;font-size:11px}.crm-partner-workspace .crm-task-editor{padding-inline:4px}.crm-partner-workspace .crm-task-editor h3{font-size:15px}}
.crm-task-calendar{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.crm-task-calendar>header{flex-wrap:wrap;justify-content:space-between;gap:1rem;display:flex}.crm-task-grid{flex:1;grid-template-columns:minmax(0,1fr) minmax(18rem,1fr);gap:1rem;min-height:0;display:grid}.crm-task-list{flex-direction:column;min-height:0;display:flex}.crm-task-filters{flex-wrap:wrap;gap:.6rem;display:flex}.crm-task-scroll,.crm-task-editor{scrollbar-width:none;min-height:0;overflow:auto}.crm-task-scroll::-webkit-scrollbar{display:none}.crm-task-editor::-webkit-scrollbar{display:none}.crm-task-row{text-align:left;flex-direction:column;gap:.4rem;width:100%;border-bottom:1px solid var(--border,#27272a)!important;background:#000!important;align-items:flex-start!important;padding:1rem!important;display:flex!important}.crm-task-row[aria-pressed=true]{box-shadow:inset 3px 0 #8075f5}.crm-task-row b{color:#b5afff}.crm-task-editor{padding:0 1rem 1rem}.crm-task-editor form,.crm-task-editor label{flex-direction:column;gap:.5rem;display:flex}.crm-task-editor form{gap:1rem}.crm-task-actions{flex-wrap:wrap;gap:.5rem;margin-top:1rem;display:flex}.crm-task-calendar button,.crm-task-calendar input,.crm-task-calendar select,.crm-task-calendar textarea{min-width:0;max-width:100%}.crm-task-calendar p{color:#a1a1aa}.crm-task-calendar input[type=checkbox]{width:auto}.crm-task-editor article{border-top:1px solid #27272a;padding-top:.5rem}@media (max-width:720px){.crm-task-grid{grid-template-rows:minmax(10rem,.8fr) minmax(0,1fr);grid-template-columns:1fr}.crm-task-editor{border-top:1px solid #27272a;padding-top:.7rem}.crm-task-calendar>header p{margin:.3rem 0;font-size:.8rem}.crm-task-calendar>header h2{margin:.3rem 0;font-size:1.2rem}}.crm-task-calendar{flex:1;gap:14px}.crm-task-calendar>header{flex-shrink:0;align-items:center}.crm-task-calendar>header h2{margin:0;font-size:22px}.crm-task-calendar>header p{max-width:60ch;margin:6px 0 0;font-size:12px}.crm-task-calendar>header button{background:var(--accent,#817cf4);color:#08090b;align-self:center;font-weight:650}.crm-task-calendar button{font:inherit;border:1px solid var(--border,#25252d);color:#f3f3f6;cursor:pointer;background:#111116;border-radius:8px;min-height:36px;padding:8px 12px;font-size:12px;line-height:1.4}.crm-task-calendar button:disabled{opacity:.45;cursor:default}.crm-task-calendar button:focus-visible{outline-offset:2px;outline:2px solid #b3aeff}.crm-task-calendar button:hover:not(:disabled){border-color:#817cf4}.crm-task-calendar label{color:#b6b6c2;font-size:12px}.crm-task-calendar input:not([type=checkbox]),.crm-task-calendar select,.crm-task-calendar textarea{font:inherit;color:#f3f3f6;box-sizing:border-box;background:#0b0b0e;border:1px solid #2b2b34;border-radius:7px;width:100%;min-height:38px;padding:9px 10px}.crm-task-calendar textarea{resize:vertical;min-height:76px}.crm-task-calendar input[type=checkbox]{accent-color:#817cf4}.crm-task-filters{align-items:flex-end;padding:0 0 12px}.crm-task-filters>label:not(:has([type=checkbox])){flex-direction:column;flex:1;gap:5px;display:flex}.crm-task-row{border:0!important;border-radius:0!important}.crm-task-row strong{font-size:14px}.crm-task-row span{color:#a4a4b0;overflow-wrap:anywhere;font-size:12px}.crm-task-row b{font-size:11px}.crm-task-editor{border-left:1px solid #25252d}.crm-task-editor h3{margin:0 0 16px;font-size:16px}.crm-task-editor form>button[type=submit]{color:#08090b;background:#817cf4;font-weight:650}.crm-task-editor form>p{margin:0;font-size:11px;line-height:1.5}.crm-task-actions{padding-bottom:14px}.crm-task-editor article{font-size:12px}.crm-task-editor h4{margin:10px 0}@media (max-width:720px){.crm-task-calendar{gap:10px}.crm-task-calendar>header{flex-wrap:nowrap;align-items:flex-start;gap:8px}.crm-task-calendar>header>div{flex:1;min-width:0}.crm-task-calendar>header button{flex-shrink:0;align-self:flex-start}.crm-task-calendar>header p{font-size:11px}.crm-task-grid{grid-template-rows:minmax(110px,.65fr) minmax(0,1fr);gap:10px}.crm-task-editor{border-left:0}.crm-task-filters{gap:6px;padding-bottom:6px}.crm-task-filters button{min-height:30px}.crm-task-row{padding:10px!important}.crm-task-calendar select{min-height:32px;padding:7px}.crm-task-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.crm-task-filters>label:has([type=checkbox]){align-self:center}.crm-task-filters>button{justify-self:end}}
.crm-workspace{--background:#08090c;--surface:#101217;--surface-subtle:#171a22;--border:#252a34;--text:#edf0f7;--text-secondary:#969eae;--accent:#9994ff;font-family:Arial,Helvetica,sans-serif}.crm-primary-nav{border-bottom:1px solid var(--border);gap:4px;margin-bottom:8px;padding-bottom:16px;display:grid}.crm-primary-nav a{min-height:40px;color:var(--text-secondary);border-radius:7px;align-items:center;gap:11px;padding:0 12px;font-weight:500;text-decoration:none;display:flex}.crm-primary-nav a[aria-current=page]{color:#e4e1ff;background:#292541;box-shadow:inset 2px 0 #aaa2ff}.crm-primary-nav a:hover{color:var(--text);background:#1a1d26}.crm-primary-action{color:#fff;cursor:pointer;white-space:nowrap;background:#8278e7;border:1px solid #a59aff;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:0 15px;font:600 12px Arial,sans-serif;display:inline-flex}.crm-primary-action:disabled{opacity:.55;cursor:wait}.crm-icon-action{border:1px solid var(--border);background:var(--surface);width:36px;height:36px;color:var(--text-secondary);cursor:pointer;border-radius:7px;place-items:center;display:grid}.crm-home-heading{flex:none;justify-content:space-between;align-items:center;gap:16px;display:flex}.crm-home-heading>div:last-child{gap:8px;display:flex}.crm-home-heading h1{letter-spacing:-.7px;margin:0 0 6px;font-size:24px;font-weight:650}.crm-home-heading p{color:var(--text-secondary);margin:0;font-size:12px}.crm-operator-home{gap:18px}.crm-home-stats{flex:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.crm-home-stats a{border:1px solid var(--border);color:var(--text);background:linear-gradient(125deg,#171922,#0f1116);border-radius:8px;padding:16px 18px;text-decoration:none;position:relative}.crm-home-stats a>div{color:var(--text-secondary);justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.crm-home-stats strong{font-variant-numeric:tabular-nums;letter-spacing:-.8px;margin-top:14px;font-size:29px;font-weight:600;display:block}.crm-home-stats a>svg{color:#9994cf;position:absolute;bottom:19px;right:18px}.crm-home-panels{flex:1;grid-template-rows:minmax(170px,1.25fr) minmax(140px,1fr);grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr);gap:14px;min-height:0;display:grid}.crm-home-panels>section{background:var(--surface);border:1px solid var(--border);border-radius:8px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.crm-home-panels header{border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:center;gap:10px;min-height:49px;padding:0 17px;display:flex}.crm-home-panels h2{align-items:center;gap:9px;margin:0;font-size:13px;font-weight:600;display:flex}.crm-home-panels header a{color:var(--text-secondary);align-items:center;gap:5px;font-size:11px;text-decoration:none;display:flex}.crm-home-panels .crm-scroll{flex:1;min-height:0;overflow:auto}.crm-home-panels table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%;font-size:12px}.crm-home-panels th{color:var(--text-secondary);background:#11141b;font-size:10px;font-weight:500}.crm-home-panels :is(th,td){border-bottom:1px solid #20242e;padding:11px 14px}.crm-home-panels td a{color:var(--text);align-items:center;gap:9px;text-decoration:none;display:flex}.crm-home-panels td strong{font-size:12px;font-weight:500;display:block}.crm-home-panels td small{color:var(--text-secondary);margin-top:4px;font-size:10px;display:block}.crm-home-avatar{color:#c4bcff;background:#24233d;border-radius:50%;flex:none;place-items:center;width:29px;height:29px;font-size:11px;display:grid}.crm-due{color:#e9b47c;align-items:center;gap:5px;font-size:10px;display:flex}.crm-home-empty{height:100%;min-height:110px;color:var(--text-secondary);flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.crm-home-empty strong{font-size:12px;font-weight:500}.crm-home-empty a{color:#b1a8ff;align-items:center;gap:6px;font-size:11px;text-decoration:none;display:flex}.crm-home-status .crm-scroll{padding:8px 17px}.crm-home-status .crm-scroll>div{border-bottom:1px solid #20242e;justify-content:space-between;padding:10px 0;font-size:12px;display:flex}.crm-home-status span{align-items:center;gap:8px;display:flex}.crm-home-status i{border-radius:50%;width:6px;height:6px}.crm-home-status strong{font-weight:500}.crm-home-sources .crm-scroll{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:15px 22px;padding:16px 18px;display:grid}.crm-home-source{color:var(--text-secondary);grid-template-columns:minmax(0,1fr) auto;gap:9px;font-size:11px;text-decoration:none;display:grid}.crm-home-source>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.crm-home-source strong{color:var(--text);font-weight:500}.crm-home-source>div{background:#262a34;border-radius:4px;grid-column:1/-1;height:4px}.crm-home-source i{background:linear-gradient(90deg,#6155b8,#9d90f5);border-radius:4px;height:100%;display:block}.crm-home-actions>div{grid-template-columns:1fr 1fr;gap:0 16px;padding:8px 17px;display:grid;overflow:auto}.crm-home-actions>div>a{color:var(--text);border-bottom:1px solid #20242e;justify-content:space-between;align-items:center;gap:8px;padding:13px 0;text-decoration:none;display:flex}.crm-home-actions strong{font-size:12px;font-weight:500;display:block}.crm-home-actions small{color:var(--text-secondary);margin-top:5px;font-size:10px;display:block}.crm-home-updated{color:var(--text-secondary);flex:none;font-size:10px}.crm-quick-dialog{color:#edf0f7;background:#111319;border:1px solid #353747;border-radius:12px;width:min(440px,100vw - 28px);max-height:calc(100dvh - 28px);padding:0;box-shadow:0 24px 100px #0009}.crm-quick-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009}.crm-quick-dialog form{flex-direction:column;max-height:calc(100dvh - 30px);display:flex}.crm-quick-dialog header{border-bottom:1px solid #292d38;justify-content:space-between;align-items:center;padding:22px 24px 18px;display:flex}.crm-quick-dialog header span{letter-spacing:1.5px;color:#a7a0da;font-size:9px}.crm-quick-dialog h2{margin:7px 0 0;font-size:20px;font-weight:600}.crm-quick-dialog header button{color:#b5b9c7;cursor:pointer;background:0 0;border:0}.crm-quick-fields{gap:17px;min-height:0;padding:22px 24px;display:grid;overflow:auto}.crm-quick-fields label{color:#c5cad8;gap:8px;font-size:12px;display:grid}.crm-quick-fields :is(input,textarea){box-sizing:border-box;color:#f1f1f8;background:#0c0e13;border:1px solid #343845;border-radius:7px;width:100%;padding:11px 12px;font:14px Arial,sans-serif}.crm-quick-fields :is(input,textarea):focus{outline-offset:2px;outline:2px solid #9487eb}.crm-quick-fields summary{cursor:pointer;color:#c2b9ff;font-size:12px}.crm-quick-fields summary span{float:right;color:#989eaf;font-size:10px}.crm-quick-fields details>div{gap:15px;padding-top:17px;display:grid}.crm-quick-fields p[role=alert]{color:#ffb1aa;margin:0;font-size:12px}.crm-quick-dialog footer{border-top:1px solid #292d38;flex:none;justify-content:flex-end;gap:9px;padding:16px 24px;display:flex}@media (max-width:1000px){.crm-home-panels{grid-template-columns:minmax(0,1.3fr) minmax(220px,1fr);gap:10px}.crm-home-stats{gap:8px}.crm-home-stats a{padding:14px 12px}}@media (max-width:700px){.crm-home-heading h1{font-size:20px}.crm-operator-home{gap:12px}.crm-home-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.crm-home-stats strong{margin-top:8px;font-size:24px}.crm-home-stats a{padding:11px 12px}.crm-home-stats a>svg{bottom:13px;right:12px}.crm-home-panels{grid-template-rows:minmax(160px,1.3fr) minmax(100px,1fr);grid-template-columns:minmax(0,1fr);overflow:auto}.crm-home-status,.crm-home-actions{display:none!important}.crm-home-panels :is(th,td){padding:9px 10px}.crm-home-heading>div:last-child{gap:6px}.crm-primary-action{padding:0 11px}.crm-home-heading p,.crm-home-stats a>div{font-size:10px}.crm-home-sources .crm-scroll{gap:12px;padding:12px}.crm-home-updated{font-size:9px}}@media (max-height:650px) and (min-width:701px){.crm-operator-home{gap:10px}.crm-home-stats a{padding:10px 14px}.crm-home-stats strong{margin-top:6px;font-size:24px}.crm-home-panels{grid-template-rows:minmax(120px,1fr) minmax(100px,1fr)}.crm-home-panels header{min-height:36px}.crm-home-heading h1{font-size:21px}}.crm-workspace .crm-primary-action{color:#11101c;font-weight:700}.crm-home-panels td{color:var(--text-secondary)}@media (min-width:701px){:is(.crm-main:has(>.crm-operator-home)>.crm-heading,.crm-main:has(>.crm-universe)>.crm-heading,.crm-main:has(>.crm-relationship-desk)>.crm-heading){display:none}}@media (max-width:700px){:is(.crm-main:has(>.crm-operator-home)>.crm-heading>div,.crm-main:has(>.crm-universe)>.crm-heading>div,.crm-main:has(>.crm-relationship-desk)>.crm-heading>div){display:none}}.crm-contact-links{flex-wrap:wrap;align-items:center;gap:10px;margin-left:auto;display:flex}.crm-contact-links .crm-primary-action{text-decoration:none}.crm-relationship-desk .crm-kicker{letter-spacing:.5px}.crm-workspace .crm-contact-links a.crm-primary-action{color:#11101c}.crm-quick-dialog footer>.button{color:#b5b9c7;box-shadow:none;background:0 0;border:1px solid #343845}.broker-profile .broker-profile-scroll{scrollbar-width:none;min-height:0;padding:0 4px 24px;display:block;overflow:auto}.broker-profile-hero{flex-wrap:wrap;align-items:center;gap:24px;padding:22px 0;display:flex}.broker-profile-hero h1{margin:4px 0 8px;font-size:28px}.broker-profile-hero p,.broker-profile-hero small{color:#9295a4}.broker-profile-hero .broker-customer-call{margin-left:auto}.broker-profile-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.broker-card{background:#08080b;border:1px solid #25252e;border-radius:12px;min-width:0;margin-bottom:16px;padding:20px}.broker-card h2{margin:0 0 18px;font-size:17px}.broker-edit-grid{grid-template-columns:1fr 1fr;align-items:end;gap:14px;display:grid}.broker-card label,.broker-reference-create label{color:#a5a7b5;gap:8px;font-size:13px;display:grid}.broker-card select,.broker-card textarea,.broker-reference-create input,.crm-quick-fields select{color:#ededf5;background:#101015;border:1px solid #2a2a36;border-radius:7px;width:100%;min-width:0;padding:10px}.broker-card textarea{resize:vertical;min-height:85px}.broker-facts{grid-template-columns:1fr 1fr;gap:18px;margin-top:24px;display:grid}.broker-facts dt{color:#9295a4;margin-bottom:6px;font-size:12px}.broker-facts dd{margin:0;font-size:13px}.broker-recent-notes{scrollbar-width:none;max-height:200px;overflow:auto}.broker-recent-notes article{border-bottom:1px solid #25252e;padding:12px 0}.broker-recent-notes small,.broker-kyc small{color:#9295a4}.broker-status{white-space:nowrap;align-items:center;gap:6px;font-size:12px;display:inline-flex}.broker-status:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.broker-column-sort{color:inherit;font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:0}.crm-workspace .crm-person-link{box-shadow:none;color:#f1f1fa;background:0 0;border:0;border-radius:0;padding:0}.crm-workspace table tbody tr:hover,.crm-workspace table tbody tr:hover td{box-shadow:none;background:#111116}.broker-customer-call,.broker-inline-actions,.broker-reference-create{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.broker-customer-call audio{max-width:230px}.broker-reference-page{flex-direction:column;gap:18px;min-height:0;display:flex}.broker-reference-create label{flex:1;max-width:440px}.broker-kyc header{justify-content:space-between;gap:10px;display:flex}@media (max-width:900px){.broker-profile-grid,.broker-edit-grid{grid-template-columns:1fr}.broker-profile-hero .broker-customer-call{margin-left:0}.broker-card{padding:14px}}.broker-sales{flex-direction:column;flex:1;gap:14px;min-height:0;display:flex}.broker-sales>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.broker-sales>header h1{margin:0;font-size:24px}.broker-sales>header label{align-items:center;gap:10px;display:flex}.broker-sales-body{flex:1;gap:20px;min-height:0;display:flex}.broker-sales-body>aside{border-right:1px solid #25252e;flex-direction:column;flex-shrink:0;width:260px;min-height:0;padding-right:14px;display:flex}.broker-sales-body>aside footer{gap:8px;padding-top:10px;display:flex}.broker-sales-person{text-align:left;color:#ededf5;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #25252e;gap:9px;width:100%;padding:16px 10px;display:grid}.broker-sales-person[aria-pressed=true]{background:#1b192e;border-left:2px solid #8985ff}.broker-sales-person:hover{background:#15151d}.broker-sales-person small,.broker-sales-person>span:not(.broker-status){color:#9295a4;font-size:12px}@media (min-width:901px){.crm-main:has(>.broker-sales,>.broker-reference-page,>.crm-financial-activity)>.crm-heading{display:none}}@media (max-width:900px){.crm-main:has(>.broker-sales,>.broker-reference-page,>.crm-financial-activity)>.crm-heading>div{display:none}.broker-sales-body{flex-direction:column}.broker-sales-body>aside{border-bottom:1px solid #25252e;border-right:0;width:100%;max-height:160px}.broker-sales-body>aside .crm-scroll{gap:10px;display:flex;overflow:auto}.broker-sales-person{min-width:210px}}.desk-profile{container:customer-desk/inline-size;gap:12px!important}.profile-breadcrumb{color:#8c90a0;align-items:center;gap:9px;min-height:24px;font-size:11px;display:flex}.profile-breadcrumb a,.profile-back-link{color:#b1b4c2;align-items:center;gap:6px;text-decoration:none;display:inline-flex}.profile-breadcrumb>span:last-of-type{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.profile-history-link{background:#101117;border:1px solid #282a36;border-radius:6px;flex-shrink:0;margin-left:auto;padding:7px 10px}.profile-history-link:hover{color:#eee;background:#1b1b27}.profile-identity{border-bottom:1px solid #25262e;align-items:center;gap:14px;padding:14px 0 18px;display:flex}.profile-identity-avatar{color:#cdc8ff;background:#282440;border:1px solid #3c365b;border-radius:50%;flex-shrink:0;place-items:center;width:48px;height:48px;font-size:16px;font-weight:600;display:grid}.profile-identity-name{flex:1;min-width:0}.profile-identity-name>div:first-child{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.profile-identity h1{letter-spacing:-.4px;color:#f0f0f7;overflow-wrap:anywhere;margin:0;font-size:22px;line-height:1.2}.profile-contact-line{color:#a1a4b5;flex-wrap:wrap;gap:16px;margin-top:8px;font-size:11px;display:flex}.profile-contact-line span{overflow-wrap:anywhere;align-items:center;gap:6px;display:inline-flex}.profile-status-chip{border:1px solid;border-radius:5px;align-items:center;gap:5px;padding:4px 7px;font-size:10px;display:inline-flex}.profile-status-chip i{background:currentColor;border-radius:50%;width:5px;height:5px}.profile-identity .broker-customer-call{margin-left:auto}.profile-date-strip{background:#0c0d12;border:1px solid #242630;border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 0;display:grid}.profile-date-strip>div{border-right:1px solid #25262e;gap:7px;padding:0 16px;display:grid}.profile-date-strip>div:last-child{border:0}.profile-date-strip span{color:#9397a9;font-size:10px}.profile-date-strip strong{color:#e6e8f1;font-size:12px;font-weight:500}.profile-desk-body{flex:1;grid-template-columns:230px minmax(280px,1fr) 285px;gap:12px;min-height:0;display:grid;overflow:hidden}.profile-desk-info,.profile-desk-operations{scrollbar-width:none;flex-direction:column;gap:12px;min-width:0;min-height:0;display:flex;overflow:auto}.profile-panel,.profile-notes{background:#0a0b10;border:1px solid #252731;border-radius:8px;min-width:0}.profile-panel-heading{border-bottom:1px solid #23252e;justify-content:space-between;align-items:center;gap:8px;min-height:45px;padding:11px 13px;display:flex}.profile-panel-heading h2{color:#e7e8f0;align-items:center;gap:7px;margin:0;font-size:12px;font-weight:600;display:flex}.profile-panel-heading h2 svg{color:#aaa5ef}.profile-panel-heading>span{color:#979aab;font-size:10px}.profile-icon-action{color:#a7a9bc;cursor:pointer;background:0 0;border:0;padding:4px;display:inline-flex}.profile-icon-action:hover{color:#cdc7ff}.profile-assignment{gap:14px;padding:16px 13px;display:grid}.desk-profile label{color:#a6aabc;gap:7px;font-size:11px;display:grid}.desk-profile select,.desk-profile input:not([type=checkbox]):not([type=radio]),.desk-profile textarea{color:#e6e8f2;width:100%;min-width:0;max-width:100%;font:inherit;box-shadow:none;background:#11131b;border:1px solid #2a2d39;border-radius:6px;padding:9px 10px}.desk-profile select:focus-visible,.desk-profile input:focus-visible,.desk-profile textarea:focus-visible{outline-offset:2px;outline:2px solid #8c82f8}.desk-profile button:disabled{opacity:.45;cursor:default;box-shadow:none}.profile-save{justify-content:center;width:100%;font-size:11px}.profile-small-facts{gap:14px;margin:0;padding:4px 13px 14px;display:grid}.profile-small-facts>div{justify-content:space-between;gap:8px;font-size:11px;display:flex}.profile-small-facts dt{color:#9296a9}.profile-small-facts dd{color:#d7dae5;text-align:right;overflow-wrap:anywhere;margin:0}.profile-desk-info .broker-card{background:0 0;border:0;border-bottom:1px solid #252731;border-radius:0;margin:0;padding:12px}.profile-desk-info .broker-card h2{display:none}.profile-desk-info .broker-edit-grid{grid-template-columns:1fr;gap:10px}.profile-notes{flex-direction:column;min-height:0;display:flex;overflow:hidden}.profile-note-feed{scrollbar-width:none;flex:1;min-height:0;padding:0 16px;overflow:auto}.profile-note{border-bottom:1px solid #242630;padding:17px 0}.profile-note:last-of-type{border-bottom:0}.profile-note-author{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.profile-note-avatar{color:#c6c0f8;background:#28243c;border-radius:50%;place-items:center;width:25px;height:25px;font-size:9px;display:grid}.profile-note-author strong{color:#dddfe9;font-size:11px;font-weight:600}.profile-note-author time{color:#9297aa;margin-left:auto;font-size:10px}.profile-note p{white-space:pre-wrap;overflow-wrap:anywhere;color:#c5c9d8;margin:9px 0 0 33px;font-size:12px;line-height:1.65}.profile-note-composer{background:#0d0e15;border-top:1px solid #252731;padding:13px}.profile-note-composer>label{margin-bottom:7px;font-size:11px}.desk-profile .profile-note-composer textarea{resize:vertical;min-height:82px;max-height:180px;font-size:12px}.profile-note-composer footer{justify-content:space-between;align-items:center;margin-top:8px;display:flex}.profile-note-composer footer>span{color:#8d92a6;font-size:10px}.profile-note-composer .crm-primary-action{min-height:32px;padding:8px 12px;font-size:11px}.profile-notes-empty{text-align:center;color:#979caf;flex-direction:column;justify-content:center;align-items:center;gap:10px;height:100%;min-height:200px;padding:20px;display:flex}.profile-notes-empty svg{color:#776fc0}.profile-notes-empty strong{color:#c6cada;font-size:12px;font-weight:500}.profile-notes-empty span{max-width:230px;font-size:11px;line-height:1.6}.profile-text-action{color:#aaa3f0;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:5px;width:100%;padding:10px;font-size:11px;display:flex}.profile-account-list{padding:4px 12px}.profile-account-list>div{border-bottom:1px solid #23252f;align-items:center;gap:9px;padding:12px 0;display:flex}.profile-account-list>div:last-child{border:0}.profile-account-symbol{color:#b2abf0;background:#1c1b2c;border-radius:6px;flex-shrink:0;place-items:center;width:30px;height:30px;display:grid}.profile-account-list strong{font-size:11px;font-weight:500;display:block}.profile-account-list small{color:#9499ad;margin-top:5px;font-size:10px;display:block}.profile-account-state{color:#a1a4b4;margin-left:auto;font-size:9px}.profile-account-state.is-active{color:#40d7ac}.profile-inline-empty{color:#9297a9;padding:18px 13px;font-size:11px}.profile-expand{padding:11px 12px}.profile-expand summary{color:#c9cbd9;cursor:pointer;align-items:center;gap:7px;font-size:11px;list-style:none;display:flex}.profile-expand summary::-webkit-details-marker{display:none}.profile-expand summary>svg:last-child{margin-left:auto}.profile-expand[open] summary{margin-bottom:14px}.profile-expand .crm-context-position-list{scrollbar-width:none;overflow:auto}.profile-expand .crm-context-facts{grid-template-columns:1fr!important}.profile-desk-operations .broker-kyc{padding:13px;font-size:11px}.profile-desk-operations .broker-kyc>div>p{color:#9ba0b2;margin:0 0 12px}.profile-desk-operations .broker-kyc button{font-size:11px}.profile-desk-operations .crm-case-documents{overflow-wrap:anywhere;min-width:0}.profile-desk-operations .panel,.profile-desk-operations .table-scroll{min-width:0;max-width:100%;overflow:auto}.customer-activity-page{flex-direction:column;flex:1;gap:18px;min-height:0;display:flex}.profile-back-link{font-size:12px}.customer-activity-page>header{align-items:center;gap:12px;display:flex}.profile-activity-icon{color:#aca3fb;background:#211f34;border:1px solid #38334e;border-radius:8px;place-items:center;width:42px;height:42px;display:grid}.customer-activity-page h1{margin:0 0 7px;font-size:23px}.customer-activity-page>header p{color:#9ba0b2;margin:0;font-size:12px}.customer-activity-page>.crm-client-timeline{flex-direction:column;flex:1;min-height:0;display:flex}.customer-activity-page .crm-timeline-events{padding:0 8px}.customer-activity-page .crm-timeline-events article{background:#0d0f16;border-color:#292b38;border-radius:8px;font-size:12px}.customer-activity-page .crm-timeline-explanation{color:#949aaf;font-size:11px}@media (min-width:901px){.crm-main:has(>.desk-profile,>.customer-activity-page)>.crm-heading{display:none}}@container customer-desk (max-width:980px){.profile-desk-body{scrollbar-width:none;grid-template-columns:220px minmax(250px,1fr);overflow:auto}.profile-desk-operations{grid-column:1/-1;grid-template-columns:1fr 1fr;display:grid;overflow:visible}.profile-notes{min-height:420px}.profile-desk-info{overflow:visible}.profile-identity{flex-wrap:wrap}.profile-identity .broker-customer-call{margin-left:62px}}@container customer-desk (max-width:600px){.profile-desk-body{flex-direction:column;display:flex}.profile-desk-operations{flex-direction:column;flex-shrink:0;display:flex;overflow:visible}.profile-desk-info{flex-shrink:0;overflow:visible}.profile-notes{flex-shrink:0;min-height:460px}.profile-identity h1{font-size:18px}.profile-contact-line{flex-direction:column;gap:7px}.profile-identity .broker-customer-call{margin-left:0}.profile-date-strip{grid-template-columns:1fr 1fr;padding:0}.profile-date-strip>div{border-bottom:1px solid #25262e;padding:10px 12px}.profile-date-strip>div:nth-child(2){border-right:0}.profile-date-strip>div:nth-child(n+3){border-bottom:0}.profile-identity-avatar{width:38px;height:38px;font-size:13px}.profile-identity{gap:10px;padding:5px 0 12px}.profile-note-author time{margin-left:33px}.profile-breadcrumb>span:last-of-type{display:none}}.desk-profile .button{color:#fff;box-shadow:none;background:#8275df;border:1px solid #9689ef;border-radius:6px;font-weight:500}.desk-profile .button:hover:not(:disabled){box-shadow:none;background:#9284ed}.desk-profile .button:disabled{color:#a29ab8;opacity:.75;background:#282337;border-color:#393047}.desk-profile{gap:10px!important}.profile-desk-body{grid-template-rows:minmax(245px,.95fr) minmax(245px,1.05fr);grid-template-columns:235px minmax(280px,1fr) 290px;gap:10px}.profile-desk-info{grid-row:1/3}.profile-desk-operations{grid-area:1/3}.profile-notes{grid-area:1/2}.profile-financial-desk{flex-direction:column;grid-area:2/2/auto/4;min-height:0;display:flex;overflow:hidden}.profile-financial-desk>.crm-customer-financial-context{scrollbar-width:none;min-height:0;padding:10px 12px;overflow:auto}.profile-financial-desk .crm-customer-financial-context>label{align-items:center;gap:10px;max-width:330px;margin-bottom:10px;display:flex}.profile-financial-desk .crm-canonical-context{background:0 0;border:0;flex-direction:column;gap:9px;padding:0;display:flex}.profile-financial-desk .crm-context-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.profile-financial-desk .crm-context-facts article{background:#11131a;border:1px solid #252731;border-radius:5px;gap:5px;min-width:0;padding:9px;display:grid}.profile-financial-desk .crm-context-facts span,.profile-risk-summary span,.profile-funding-summary span{color:#989fb2;font-size:10px}.profile-financial-desk .crm-context-facts strong{color:#e6e9f1;font-size:13px}.profile-financial-desk .crm-context-facts small{color:#8b93a5;font-size:9px}.profile-risk-summary{border-bottom:1px solid #262934;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px 0;display:grid}.profile-risk-summary>div,.profile-funding-summary>div{gap:5px;min-width:0;display:grid}.profile-risk-summary strong,.profile-funding-summary strong{overflow-wrap:anywhere;color:#dfe3ee;font-size:12px;font-weight:500}.profile-funding-summary{gap:26px;padding:4px 0 8px;display:flex}.profile-financial-desk .crm-context-position-list{scrollbar-width:none;min-height:90px;max-height:none;overflow:auto}.profile-financial-desk table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:11px}.profile-financial-desk th{text-align:left;color:#a8aec0;background:#11131b;font-weight:500}.profile-financial-desk td,.profile-financial-desk th{border-bottom:1px solid #252834;padding:10px}.profile-position-actions{gap:6px;display:flex}.profile-position-actions .button{color:#c1b7f9;background:0 0;border-color:#363242;padding:5px 8px;font-size:10px}.profile-side{border-radius:4px;padding:3px 7px;display:inline-block}.profile-side.buy{color:#46d8ad;background:#112c26}.profile-side.sell{color:#f18ba3;background:#36222b}.profile-contact-shortcuts{flex-wrap:wrap;align-items:center;gap:7px;margin-top:9px;font-size:10px;display:flex}.profile-contact-shortcuts button,.profile-contact-shortcuts a{color:#b1b7c8;cursor:pointer;background:#10121a;border:1px solid #292c38;border-radius:4px;align-items:center;gap:5px;padding:4px 7px;font-size:10px;text-decoration:none;display:inline-flex}.profile-contact-shortcuts [role=status]{color:#a69edf}.profile-note{position:relative}.profile-note.is-pinned{background:#14121e;border-left:2px solid #8e80e8;padding-left:11px}.profile-note-pin{color:#a59dd8;cursor:pointer;background:0 0;border:0;padding:4px;position:absolute;top:35px;right:0}.profile-note p{padding-right:20px}.profile-pinned-label{color:#b8a9fa;margin-left:37px;font-size:10px}.profile-recordings audio{max-width:100%;height:35px}.profile-recording-list article{border-bottom:1px solid #232630;align-items:center;gap:8px;padding:10px 12px;display:flex}.profile-recording-list article>div{flex:1;gap:5px;font-size:11px;display:grid}.profile-recording-list small{color:#939caf;font-size:10px}.crm-mic-meter{accent-color:#38c89d;width:65px;height:10px}.crm-period-shortcuts,.crm-status-shortcuts{flex-wrap:wrap;gap:6px;display:flex}.crm-period-shortcuts button,.crm-status-shortcuts button{color:#babed0;cursor:pointer;background:#10121a;border:1px solid #2a2d3b;border-radius:5px;align-items:center;gap:6px;padding:7px 10px;font-size:11px;display:inline-flex}.crm-status-shortcuts button[aria-pressed=true]{color:#eee;background:#25213b}.crm-status-shortcuts i{border-radius:50%;width:6px;height:6px}.crm-document-upload{border:1px dashed #363747;border-radius:5px;padding:8px}.crm-document-upload.is-dragging{background:#211a37;border-color:#b0a0ff}.crm-document-preview,.crm-position-dialog{color:#e1e4f1;background:#0d1018;border:1px solid #3d3853;border-radius:9px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:20px}.crm-document-preview::backdrop,.crm-position-dialog::backdrop{background:#000b}.crm-document-preview header,.crm-position-dialog header{justify-content:space-between;align-items:center;gap:15px;display:flex}.crm-document-preview img{object-fit:contain;max-width:100%;max-height:70dvh;margin-top:12px;display:block}.crm-position-dialog{width:430px}.crm-position-dialog h2{margin:0;font-size:18px}.crm-position-dialog fieldset{border:0;gap:13px;padding:10px 0;display:grid}.crm-position-dialog label{gap:6px;display:grid}.crm-position-dialog input{color:#eee;background:#141821;border:1px solid #363c50;padding:10px}.crm-position-dialog footer{margin-top:20px}@container customer-desk (max-width:980px){.profile-desk-body{grid-template-rows:auto auto auto;grid-template-columns:220px minmax(250px,1fr);overflow:auto}.profile-desk-info{grid-area:1/1}.profile-notes{grid-area:1/2;min-height:420px}.profile-desk-operations{grid-area:2/1/auto/-1;grid-template-columns:1fr 1fr;display:grid;overflow:visible}.profile-financial-desk{grid-area:3/1/auto/-1;min-height:360px;overflow:visible}.profile-financial-desk>.crm-customer-financial-context{overflow:visible}}@container customer-desk (max-width:600px){.profile-desk-body{display:flex}.profile-financial-desk{flex-shrink:0;min-height:340px}.profile-desk-operations{display:flex}.profile-risk-summary{grid-template-columns:1fr 1fr}.profile-financial-desk .crm-context-facts{grid-template-columns:1fr}.profile-notes{min-height:440px}.profile-identity-name{min-width:0}.profile-contact-shortcuts{max-width:100%}}.profile-desk-body{scrollbar-width:none;grid-template-rows:minmax(320px,.95fr) minmax(310px,1.05fr);overflow:auto}.profile-desk-body[data-has-account=false]{grid-template-rows:minmax(320px,1fr) 86px}.profile-desk-body[data-has-account=false] .profile-desk-operations{grid-row:1/3}.profile-note-composer{padding:10px 12px}.desk-profile .profile-note-composer textarea{min-height:52px;max-height:90px}.profile-desk-body[data-has-account=false] .profile-financial-desk .profile-inline-empty{padding:10px 13px}@container customer-desk (max-width:980px){.profile-desk-body,.profile-desk-body[data-has-account=false]{grid-template-rows:auto auto auto}.profile-desk-body[data-has-account=false] .profile-desk-operations{grid-row:2}.profile-financial-desk{min-height:360px}.profile-desk-body[data-has-account=false] .profile-financial-desk{min-height:86px}}.profile-customer-totals{border-bottom:1px solid #262934;flex-wrap:wrap;gap:20px;margin-bottom:12px;padding-bottom:10px;display:flex}.profile-customer-totals>div{gap:5px;display:grid}.profile-customer-totals span{color:#9ca4b5;font-size:10px}.profile-customer-totals strong{color:#dddff1;font-size:13px}.profile-desk-body{grid-template-rows:minmax(280px,.85fr) minmax(360px,1.15fr)}.profile-financial-desk>.crm-customer-financial-context{grid-template-columns:minmax(0,1fr) 250px;align-content:start;gap:8px;display:grid}.profile-financial-desk .profile-customer-totals{border:0;align-self:center;gap:14px;margin:0;padding:0}.profile-financial-desk .profile-customer-totals strong{font-size:11px}.profile-financial-desk .crm-customer-financial-context>label{grid-area:1/2;gap:4px;margin:0;font-size:10px;display:grid}.profile-financial-desk .crm-canonical-context{grid-column:1/-1;gap:7px}.profile-financial-desk .crm-context-facts{grid-template-columns:1fr 1fr}.profile-financial-desk .crm-context-facts article{flex-wrap:wrap;align-items:center;gap:5px 10px;padding:7px 9px;display:flex}.profile-financial-desk .crm-context-facts article:nth-child(3){display:none}.profile-financial-desk .crm-context-facts small{margin-left:auto}.profile-financial-desk .profile-funding-summary{display:none}.profile-risk-summary{padding:7px 0}.profile-financial-desk>.crm-customer-financial-context>p{grid-column:1/-1}@container customer-desk (max-width:980px){.profile-desk-body{grid-template-rows:auto auto auto}.profile-financial-desk>.crm-customer-financial-context{flex-direction:column;display:flex}.profile-financial-desk .crm-customer-financial-context>label{display:grid}}.profile-detail-fields{border:0;gap:10px;min-width:0;margin:0;padding:0;display:grid}.desk-profile label.profile-checkbox{align-items:center;gap:8px;display:flex}.desk-profile .profile-checkbox input{width:auto}.crm-workspace .desk-profile .broker-kyc button.button{color:#d0c5ff;box-shadow:none;background:#211d33;border:1px solid #42385e;border-radius:5px}.crm-workspace .desk-profile .broker-kyc button.button:hover:not(:disabled){background:#342b4d}.profile-financial-desk .crm-context-facts article{text-align:left;flex-direction:row;justify-content:space-between;gap:5px 10px;height:auto;min-height:0;padding:7px 9px}.profile-financial-desk .crm-context-facts article strong{text-align:right}.profile-financial-desk .crm-context-facts article small{text-align:right;flex-basis:100%}
