@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");:root{--bg:#f6f8fb;--surface:#fff;--text:#17243a;--muted:#788397;--line:#e9edf3;--blue:#3867d6;--green:#159b70;--amber:#d99126;--shadow:0 1px 2px rgba(20,36,60,.03),0 8px 24px rgba(20,36,60,.025)}*{box-sizing:border-box}body,html{margin:0;min-height:100%;font-family:Inter,sans-serif}button,input{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.sidebar{width:252px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:22px 15px 14px;z-index:20}.brand-row{display:flex;align-items:center;gap:10px;padding:0 7px 22px}.brand-mark{width:34px;height:34px;border-radius:10px;background:linear-gradient(145deg,#294b91,#386bd7);display:grid;place-items:center;color:#fff;font-family:Inter;font-weight:800;font-size:23px;box-shadow:0 4px 10px #3867d633}.brand-mark span{transform:translateY(-1px)}.brand-copy{display:flex;flex-direction:column;gap:1px}.brand-copy strong{font:800 19px Inter;letter-spacing:-.8px}.brand-copy strong span{color:#3867d6}.brand-copy small{font-size:8px;letter-spacing:1.05px;color:#929bad;font-weight:700}.icon-button{border:0;background:transparent;color:#758198;display:inline-grid;place-items:center;width:34px;height:34px;border-radius:8px}.icon-button:hover{background:#f1f4f9;color:#263b60}.sidebar-collapse{margin-left:auto}.workspace-switcher{display:flex;align-items:center;width:100%;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff;text-align:left;gap:9px;margin-bottom:22px}.workspace-avatar{width:31px;height:31px;border-radius:8px;background:#eaf0ff;color:#315eb9;display:grid;place-items:center;font-weight:800}.workspace-info{display:flex;flex:1 1;flex-direction:column;gap:2px}.workspace-info strong{font-size:12px}.workspace-info small{font-size:10px;color:var(--muted)}.workspace-switcher>svg{color:#929bad}.main-nav{overflow:auto;flex:1 1}.nav-group{margin-bottom:22px}.nav-heading{font-weight:700;letter-spacing:1.1px;color:#9aa3b2;padding:0 10px 8px}.nav-item{width:100%;height:37px;border:0;background:transparent;border-radius:8px;display:flex;align-items:center;gap:11px;padding:0 10px;color:#69768b;text-align:left;margin:2px 0}.nav-item svg{color:#8994a7}.nav-item span{flex:1 1}.nav-item em{font-style:normal;font-size:10px;background:#f0f3f8;color:#7c8799;border-radius:5px;padding:2px 6px}.nav-item:hover{background:#f7f9fc;color:#243958}.nav-item.active{background:#edf3ff;color:#2e5fc4;font-weight:600}.nav-item.active svg{color:#3867d6}.nav-item.active em{background:#dce8ff;color:#315fbd}.sidebar-bottom{padding-top:10px}.usage-card{padding:12px;background:#f8faff;border:1px solid #edf1f8;border-radius:9px;margin:0 2px 12px}.usage-head{display:flex;justify-content:space-between;font-size:10px;font-weight:600;color:#58657b}.usage-track{height:5px;background:#e6ebf4;border-radius:9px;margin:9px 0 7px;overflow:hidden}.usage-track span{display:block;width:68%;height:100%;background:#527be0;border-radius:9px}.usage-card small{font-size:9px;color:#929bad}.profile-mini{display:flex;align-items:center;gap:9px;padding:13px 5px 0;margin-top:8px;border-top:1px solid var(--line)}.profile-mini>span:nth-child(2){display:flex;flex:1 1;flex-direction:column;gap:3px}.profile-mini strong,.profile-trigger strong{font-size:11px}.profile-mini small,.profile-trigger small{font-size:10px;color:var(--muted)}.profile-mini>svg{color:#9aa3b2}.avatar{width:31px;height:31px;border-radius:50%;display:inline-grid;place-items:center;font-size:10px;font-weight:700;flex-shrink:0;background:#eaf0ff;color:#315eb9}.avatar-sm{width:25px;height:25px;font-size:9px}.avatar-violet{background:#f0eaff;color:#7554bc}.avatar-green{background:#e3f6ee;color:#21815f}.avatar-amber{background:#fff2dc;color:#aa741f}.avatar-navy{background:#e8edf5;color:#243b61}.main-area{margin-left:252px;min-height:100vh}.topbar{height:68px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:-webkit-sticky;position:sticky;top:0;z-index:15}.breadcrumb{font-size:11px;color:#8994a6}.breadcrumb span{padding:0 9px;color:#c1c8d3}.breadcrumb strong{color:#33435d;font-weight:600}.topbar-actions{gap:16px}.global-search{width:245px;height:35px;border:1px solid #e9edf3;border-radius:8px;display:flex;align-items:center;gap:8px;padding:0 9px;color:#9aa3b2;background:#fbfcfe}.global-search input{border:0;outline:0;background:transparent;min-width:0;flex:1 1;font-size:11px;color:var(--text)}.global-search input::placeholder{color:#a0a9b8}.global-search kbd{font:9px Inter;border:1px solid #e5e9ef;border-radius:4px;padding:2px 4px;color:#929bad;background:#fff}.notification-button{position:relative}.notification-button i{position:absolute;width:6px;height:6px;background:#e36d63;border:1px solid white;border-radius:50%;top:7px;right:7px}.topbar-divider{height:27px;width:1px;background:var(--line)}.profile-trigger{display:flex;align-items:center;gap:8px;border:0;background:transparent;text-align:left}.profile-trigger>span:nth-child(2){display:flex;flex-direction:column;gap:2px}.profile-trigger>svg{color:#8a95a7}.page-content{max-width:1600px;margin:auto;padding:30px 34px 20px}.welcome-row{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:24px}.eyebrow{letter-spacing:1px;color:#8b96a8;font-weight:700;display:flex;align-items:center;gap:8px}.live-dot{width:6px;height:6px;border-radius:50%;background:#23ae7c;display:inline-block;box-shadow:0 0 0 3px #e6f6ef}.welcome-row h1{font:700 25px Inter;letter-spacing:-.8px;margin:10px 0 5px;color:#192943}.welcome-row h1 span{font-size:17px;color:#e3a640}.welcome-row p{font-size:12px;color:#818da0;margin:0}.welcome-actions{display:flex;gap:9px}.button{padding:0 13px;border-radius:8px;display:inline-flex;align-items:center;gap:8px;font-size:11px}.button-secondary{border:1px solid #e6eaf0;color:#536178}.button-primary{background:#3867d6;color:#fff;border:1px solid #3867d6;box-shadow:0 2px 4px #3867d626}.button-primary:hover{background:#2e59c0}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px;margin-bottom:18px}.metric-card,.panel{background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:var(--shadow)}.metric-card{padding:15px 16px 13px;min-height:145px}.metric-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.metric-icon{width:31px;height:31px;border-radius:8px;display:grid;place-items:center}.metric-icon.blue{background:#edf3ff;color:#4772d1}.metric-icon.violet{background:#f2eeff;color:#8163c5}.metric-icon.green{background:#e9f7f1;color:#21916c}.metric-icon.amber{background:#fff5e7;color:#c58a30}.subtle{width:27px;height:27px}.metric-label{font-size:10px;color:#7f8a9c;font-weight:500}.metric-bottom{display:flex;align-items:flex-end;justify-content:space-between}.metric-value{font:700 25px Inter;letter-spacing:-.8px;color:#1d2d48;margin:3px 0 4px}.metric-delta{display:flex;align-items:center;gap:2px;color:#159b70;font-size:9px;font-weight:600}.metric-delta.neutral{color:#bd842b}.metric-note{font-size:9px;color:#a0a8b5;margin-top:2px}.sparkline{width:72px;height:24px;color:#5c82df;margin-bottom:3px}.metric-card:nth-child(2) .sparkline{color:#9278d1}.metric-card:nth-child(3) .sparkline{color:#35a47d}.metric-card:nth-child(4) .sparkline{color:#d7a04d}.content-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);grid-gap:16px;gap:16px;align-items:start}.main-column,.side-column{display:flex;flex-direction:column;gap:16px}.panel-header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:15px}.panel-title{font:700 13px Inter;color:#243550;display:flex;align-items:center;gap:8px}.panel-header p{font-size:10px;color:#929bad;margin:5px 0 0}.count-pill{font:600 9px Inter;background:#f0f3f8;color:#748197;padding:3px 7px;border-radius:12px}.text-action{border:0;background:transparent;color:#3867d6;font-size:10px;font-weight:600;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;padding:4px 0}.priority-list{border-top:1px solid #f0f2f6}.priority-row{min-height:65px;display:grid;grid-template-columns:27px minmax(140px,1.2fr) minmax(125px,1fr) minmax(100px,.8fr) 25px;align-items:center;grid-gap:10px;gap:10px;border-bottom:1px solid #f0f2f6}.priority-row:last-child{border-bottom:0}.priority-indicator{width:27px;height:27px;display:grid;place-items:center;border-radius:7px}.priority-indicator.urgent{color:#d96c61;background:#fff0ee}.priority-indicator.warning{color:#c18a32;background:#fff6e8}.priority-indicator.normal{color:#8290a5;background:#f1f4f8}.priority-main,.priority-meta{display:flex;flex-direction:column;gap:4px;min-width:0}.priority-main strong{font-size:10px;color:#33425b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.priority-main span,.priority-meta>span:first-child{font-size:9px;color:#929bad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.type-label{font-size:9px;font-weight:600}.type-label.urgent{color:#d36c62}.type-label.warning{color:#b98532}.type-label.normal{color:#77859a}.priority-owner{gap:6px;color:#6e7b90;white-space:nowrap}.empty-state,.priority-owner{display:flex;align-items:center}.empty-state{padding:24px;justify-content:center;gap:8px;color:#16865f;font-size:11px}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;white-space:nowrap}.data-table th{text-align:left;font-size:8px;letter-spacing:.7px;color:#9aa3b2;font-weight:700;padding:0 9px 10px;border-bottom:1px solid #edf0f4}.data-table td{padding:12px 9px;border-bottom:1px solid #f0f2f6;font-size:9px;color:#657289}.data-table tbody tr:last-child td{border-bottom:0}.engagement-name{font-size:10px;font-weight:600;color:#33425b;margin-bottom:4px}.table-sub{font-size:9px;color:#9aa3b2}.stage-dot{width:6px;height:6px;display:inline-block;border-radius:50%;margin-right:6px;vertical-align:middle}.stage-dot.blue{background:#5480dc}.stage-dot.violet{background:#9174d0}.stage-dot.green{background:#2da37b}.stage-dot.amber{background:#d59b3e}.stage-text{font-size:9px;color:#6f7c90}.progress-cell{display:flex;align-items:center;gap:7px}.progress-track{width:65px;height:5px;background:#edf0f5;border-radius:9px;overflow:hidden}.progress-track span{height:100%;display:block;background:#5b80d9;border-radius:9px}.progress-cell small{font-size:8px;color:#8994a6}.owner-cell{display:flex;align-items:center;gap:6px;font-size:9px;color:#6e7b90}.due-today{color:#d18b29;font-weight:600}.due-normal{color:#7c899c}.select-button{height:27px;padding:0 8px;border:1px solid #e9edf3;border-radius:6px;background:#fff;color:#6e7b90;font-size:9px;gap:6px}.revenue-total,.select-button{display:flex;align-items:center}.revenue-total{font:700 24px Inter;letter-spacing:-.7px;color:#1c2c47;gap:9px}.revenue-total span{font:600 9px Inter;color:#16956b;background:#eaf7f1;border-radius:5px;padding:4px 5px;display:flex;align-items:center}.revenue-caption{font-size:9px;color:#9aa3b2;margin-top:3px}.chart{height:155px;display:flex;margin-top:18px}.chart-y{width:38px;display:flex;flex-direction:column;justify-content:space-between;padding:0 0 20px;color:#a0a9b7;font-size:8px}.chart-body{position:relative;flex:1 1}.chart-gridlines{position:absolute;inset:0 0 20px;display:flex;flex-direction:column;justify-content:space-between}.chart-gridlines i{height:1px;border-top:1px dashed #edf0f5}.revenue-svg{position:absolute;inset:0 0 20px;width:100%;height:calc(100% - 20px);overflow:visible}.chart-x{position:absolute;bottom:0;left:0;right:0;justify-content:space-between;color:#a0a9b7}.chart-x,.revenue-footer{display:flex;font-size:8px}.revenue-footer{gap:16px;margin-top:9px;padding-top:11px;border-top:1px solid #f0f2f6;color:#8792a4}.revenue-footer span{display:flex;align-items:center;gap:5px}.legend-dot{width:6px;height:6px;border-radius:50%;background:#4778df}.legend-dot.muted{background:#cbd3e0}.workload-list{display:flex;flex-direction:column;gap:14px;padding:2px 0 13px}.workload-row{display:flex;align-items:center;gap:8px}.workload-name{width:80px;font-size:9px;color:#657289}.workload-track{height:6px;flex:1 1;border-radius:9px;background:#f0f2f6;overflow:hidden}.workload-track span{display:block;height:100%;border-radius:9px}.workload-track .blue{background:#6688df}.workload-track .violet{background:#9a82d4}.workload-track .green{background:#48ad89}.workload-track .amber{background:#d9a14b}.workload-row strong{font-size:9px;color:#536178;width:15px;text-align:right}.panel-link{width:100%;border:0;border-top:1px solid #f0f2f6;background:transparent;padding:12px 0 0;color:#3867d6;font-size:10px;font-weight:600;display:flex;align-items:center;justify-content:space-between}.activity-panel{margin-top:16px}.activity-list{border-top:1px solid #f0f2f6}.activity-row{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #f0f2f6}.activity-row:last-child{border-bottom:0}.activity-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:8px}.activity-icon.green{background:#e9f7f1;color:#20936d}.activity-icon.blue{background:#edf3ff;color:#4772d1}.activity-icon.violet{background:#f2eeff;color:#8163c5}.activity-copy{display:flex;flex-direction:column;gap:4px;flex:1 1;min-width:0}.activity-copy strong{font-size:10px;color:#33425b}.activity-copy span{font-size:9px;color:#8d98a9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-client{font-size:9px;color:#68768c;background:#f7f8fa;padding:5px 7px;border-radius:5px}.activity-row time{font-size:9px;color:#9aa3b2;white-space:nowrap}.page-footer{display:flex;justify-content:space-between;padding:19px 2px 4px;color:#a0a9b7;font-size:9px}.page-footer span:nth-child(2){display:flex;align-items:center;gap:7px}.page-footer .live-dot{width:5px;height:5px}.popover{position:absolute;right:85px;top:57px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 35px #1b2b451a;border-radius:10px;padding:14px;width:255px;z-index:30}.popover-title{font:700 12px Inter;display:flex;justify-content:space-between}.popover-title span{font:500 9px Inter;color:#3867d6}.popover p{font-size:10px;color:#758197;padding:8px 0;border-bottom:1px solid #f0f2f6;margin:0}.mobile-menu,.mobile-scrim{display:none}.modal-backdrop{position:fixed;inset:0;background:#17243a55;display:grid;place-items:center;z-index:50;padding:20px}.quick-modal{background:#fff;border-radius:14px;width:min(440px,100%);padding:22px;box-shadow:0 24px 70px #17243a33}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.modal-head h2{font:700 19px Inter;margin:7px 0 0}.quick-options{display:flex;flex-direction:column;gap:7px}.quick-option{width:100%;border:1px solid #edf0f5;background:#fff;border-radius:9px;padding:12px;display:flex;align-items:center;gap:12px;text-align:left}.quick-option:hover{background:#f8faff;border-color:#dce6fa}.quick-option>span{width:34px;height:34px;border-radius:8px;background:#edf3ff;color:#3867d6;display:grid;place-items:center}.quick-option div{display:flex;flex:1 1;flex-direction:column;gap:4px}.quick-option strong{font-size:11px;color:#33425b}.quick-option small{font-size:9px;color:#929bad}.quick-option>svg{color:#9aa3b2}@media(max-width:1200px){.sidebar{width:225px}.main-area{margin-left:225px}.page-content{padding:26px 24px}.topbar{padding:0 24px}.content-grid{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr)}.priority-row{grid-template-columns:27px minmax(120px,1fr) minmax(110px,.9fr) 25px}.priority-owner{display:none}}@media(max-width:950px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid{grid-template-columns:1fr}.side-column{display:grid;grid-template-columns:1fr 1fr}.priority-row{grid-template-columns:27px minmax(130px,1fr) minmax(120px,1fr) 25px}.priority-owner{display:flex}.sidebar{transform:translateX(-100%);transition:transform .22s ease;box-shadow:none}.sidebar-open{transform:translateX(0);box-shadow:12px 0 30px #17243a1a}.main-area{margin-left:0}.mobile-menu{display:inline-grid}.mobile-scrim{display:block;position:fixed;inset:0;background:#17243a55;border:0;z-index:19}}@media(max-width:650px){.topbar{height:58px;padding:0 14px}.topbar-actions{gap:7px}.global-search{width:36px;border:0;background:transparent;padding:0;justify-content:center}.global-search input,.global-search kbd{display:none}.global-search svg{width:19px;height:19px}.profile-trigger span:nth-child(2),.profile-trigger>svg,.topbar-divider{display:none}.page-content{padding:23px 14px 16px}.welcome-row{align-items:flex-start;gap:15px;flex-direction:column}.welcome-row h1{font-size:22px}.welcome-actions{width:100%}.welcome-actions .button{flex:1 1;justify-content:center}.metric-grid{gap:9px}.metric-card{padding:12px;min-height:133px}.metric-value{font-size:22px}.sparkline{width:48px}.side-column{display:flex}.panel{padding:14px 12px}.panel-header{gap:6px}.panel-title{font-size:12px}.panel-header p{font-size:9px}.priority-row{grid-template-columns:25px minmax(0,1fr) 24px;gap:7px;padding:10px 0}.priority-meta,.priority-owner{display:none}.priority-main strong{font-size:10px}.data-table{min-width:650px}.activity-row{gap:8px}.activity-client{display:none}.activity-copy span{max-width:190px}.page-footer span:last-child{display:none}.breadcrumb{font-size:10px}.profile-trigger{padding:0}.profile-trigger .avatar{width:29px;height:29px}}.clients-welcome{margin-bottom:20px}.clients-welcome h1{display:flex;align-items:center;gap:10px}.clients-welcome h1 .count-pill{font-size:10px;background:#eaf0fb;color:#5272b5;padding:4px 8px}.client-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:13px;gap:13px;margin-bottom:17px}.client-stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:15px 17px;display:flex;flex-direction:column;gap:5px;box-shadow:var(--shadow)}.client-stat span{font-size:10px;color:#8792a4}.client-stat strong{font:700 23px Inter;color:#20314d;letter-spacing:-.5px}.client-stat small{font-size:9px;color:#a0a9b7}.clients-panel{padding:0}.client-toolbar{justify-content:space-between;gap:12px;padding:13px 17px;border-bottom:1px solid #edf0f4}.client-tabs,.client-toolbar{display:flex;align-items:center}.client-tabs{gap:4px;flex-wrap:wrap}.client-tabs button{border:0;background:transparent;padding:8px 10px;border-radius:7px;color:#788498;font-size:10px}.client-tabs button.selected{background:#edf3ff;color:#315fbd;font-weight:700}.client-tabs button span{margin-left:6px;color:#9aa5b5;font-size:9px}.client-tabs button.selected span{color:#5276c4}.client-tools{gap:8px}.client-search,.client-tools{display:flex;align-items:center}.client-search{gap:7px;color:#9aa4b4;font-size:9px;padding:0 9px;white-space:nowrap}.client-table{min-width:900px}.client-table th{padding:13px 12px 11px}.client-table td{padding:12px}.client-name-cell{display:flex;align-items:center;gap:9px;min-width:210px}.client-name-cell>div,.contact-cell{display:flex;flex-direction:column;gap:4px}.client-name-cell strong,.contact-cell strong{font-size:10px;color:#34445e;font-weight:600}.client-name-cell small,.contact-cell small{font-size:9px;color:#9aa4b4}.client-table td:nth-child(2),.client-table td:nth-child(4),.client-table td:nth-child(5){font-size:9px;color:#758197}.service-count{display:inline-grid;place-items:center;min-width:23px;height:22px;padding:0 6px;border-radius:6px;background:#f1f4f8;color:#5c6b83;font-size:9px;font-weight:700}.client-status{display:inline-flex;align-items:center;gap:6px;font-size:9px;font-weight:600;padding:5px 8px;border-radius:20px;white-space:nowrap}.client-status i{width:5px;height:5px;border-radius:50%;background:currentColor}.client-status.active{background:#eaf7f1;color:#238765}.client-status.onboarding{background:#fff5e6;color:#b47b24}.client-status.inactive{background:#f0f2f5;color:#8490a1}.client-table-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0f4;padding:12px 17px;color:#9aa4b4;font-size:9px}.client-table-footer>div{display:flex;gap:5px}.client-table-footer button{border:1px solid #e9edf3;background:#fff;color:#8792a4;border-radius:6px;padding:5px 8px;font-size:9px}.client-table-footer button:disabled{opacity:.45}.client-table-footer button.current-page{background:#edf3ff;border-color:#dce7fb;color:#315fbd;font-weight:700}.client-empty{display:flex;flex-direction:column;align-items:center;gap:7px;padding:42px;color:#9aa4b4}.client-empty strong{font-size:11px;color:#5e6c82}.client-empty span,.client-note{font-size:9px}.client-note{display:flex;align-items:center;gap:9px;color:#7d8a9e;background:#f0f4fb;border:1px solid #e6edf8;border-radius:9px;padding:12px 14px;margin-top:14px}.client-note svg{color:#5276c4;flex-shrink:0}.client-note strong{color:#52627c}.client-form{display:grid;grid-template-columns:1fr 1fr;grid-gap:13px;gap:13px}.client-form label{display:flex;flex-direction:column;gap:6px;color:#657289;font-size:10px;font-weight:600}.client-form input,.client-form select{height:37px;border:1px solid #e5eaf1;border-radius:7px;padding:0 10px;outline:none;color:#34445e;background:#fff;font-size:10px}.client-form input:focus,.client-form select:focus{border-color:#8ba8e7;box-shadow:0 0 0 3px #edf3ff}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.modal-actions .button:disabled{opacity:.45;cursor:not-allowed}.form-hint{font-size:9px;color:#a0a9b7;margin:12px 0 0}.add-client-modal{width:min(520px,100%)}@media(max-width:900px){.client-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.client-toolbar{align-items:flex-start;flex-direction:column}.client-tools{width:100%;justify-content:space-between}}@media(max-width:600px){.client-stat-grid{gap:8px}.client-stat{padding:12px}.client-stat strong{font-size:20px}.client-form{grid-template-columns:1fr}.client-note{align-items:flex-start;line-height:1.5}.client-tabs{width:100%}.client-tabs button{padding:7px 8px}}.entity-insight{display:flex;align-items:center;gap:13px;background:#f0f5ff;border:1px solid #e1eafb;border-radius:10px;padding:13px 16px;margin:-3px 0 16px}.entity-insight-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#fff;color:#3867d6;flex-shrink:0}.entity-insight>div{flex:1 1;min-width:0}.entity-insight strong{font-size:10px;color:#304a78}.entity-insight p{font-size:9px;color:#7485a2;margin:4px 0 0;line-height:1.5}.entity-insight-tag{font-size:8px;font-weight:700;letter-spacing:.8px;color:#6481bd;background:#fff;padding:6px 8px;border-radius:5px;white-space:nowrap}.entity-table{min-width:1030px}.entity-table td:nth-child(3),.entity-table td:nth-child(5){font-size:9px;color:#758197}.entity-id{font-size:9px;color:#68768c;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;white-space:nowrap}.entity-row{cursor:pointer}.entity-row:hover{background:#fafcff}.entity-drawer{position:fixed;right:0;top:0;height:100vh;width:min(480px,100%);background:#fff;box-shadow:-18px 0 50px #17243a24;padding:27px;overflow:auto;animation:drawer-in .18s ease;z-index:51}.entity-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding-bottom:20px;border-bottom:1px solid var(--line)}.entity-drawer-head h2{font:700 19px Inter;line-height:1.35;color:#20314d;margin:9px 0 10px}.entity-detail-block{display:flex;flex-direction:column;gap:5px;padding:18px 0;border-bottom:1px solid var(--line)}.entity-detail-block span,.entity-detail-grid span{font-size:9px;color:#929bad}.entity-detail-block strong{font-size:12px;color:#33445e}.entity-detail-block small{font-size:9px;color:#9aa4b4}.entity-detail-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:18px 14px;gap:18px 14px;padding:20px 0;border-bottom:1px solid var(--line)}.entity-detail-grid>div{display:flex;flex-direction:column;gap:6px;min-width:0}.entity-detail-grid strong{font-size:10px;color:#40516b;overflow-wrap:anywhere}.entity-drawer-section{padding:20px 0 12px}.entity-drawer-section h3{font:700 12px Inter;color:#33445e;margin:0 0 12px}.entity-placeholder-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-top:1px solid #f0f2f6;color:#8090a8}.entity-placeholder-row>span{display:flex;flex:1 1;flex-direction:column;gap:4px}.entity-placeholder-row strong{font-size:10px;color:#53627a}.entity-placeholder-row small{font-size:9px;color:#9aa4b4}.entity-placeholder-row b{font-size:10px;color:#66758c}@keyframes drawer-in{0%{transform:translateX(20px);opacity:.7}to{transform:translateX(0);opacity:1}}@media(max-width:600px){.entity-insight{align-items:flex-start}.entity-insight-tag{display:none}.entity-drawer{padding:20px}.entity-detail-grid{gap:15px 10px}}.engagement-register{min-width:1120px}.engagement-register td:nth-child(3){font-size:9px;color:#758197}.engagement-cell{display:flex;flex-direction:column;gap:5px;min-width:180px}.engagement-cell strong{font-size:10px;color:#34445e;font-weight:650}.engagement-cell small{font-size:9px;color:#9aa4b4}.engagement-register .progress-cell{min-width:95px}.engagement-register .progress-track{width:65px}.engagement-register .owner-cell{white-space:nowrap}.engagement-progress{align-items:center;gap:10px}.engagement-progress .progress-track{width:100%;height:7px}.engagement-progress small{white-space:nowrap}.engagement-next-step{display:flex;align-items:flex-start;gap:10px;padding:13px;margin-top:15px;background:#f6f8fc;border:1px solid #edf0f5;border-radius:8px;color:#71819b}.engagement-next-step>span{display:flex;flex-direction:column;gap:4px}.engagement-next-step strong{font-size:10px;color:#52627c}.engagement-next-step small{font-size:9px;line-height:1.5;color:#929bad}.engagement-modal{width:min(650px,100%);max-height:calc(100vh - 36px);overflow:auto}@media(max-width:600px){.engagement-modal{padding:18px}.engagement-register{min-width:1120px}}.workflow-panel{padding:0;overflow:hidden}.workflow-tabs{display:flex;gap:7px;padding:13px 17px;border-bottom:1px solid #edf0f4}.workflow-tabs button{display:flex;align-items:center;gap:8px;border:0;background:transparent;color:#7f8ba0;padding:9px 12px;border-radius:7px;font-size:10px;font-weight:600}.workflow-tabs button.active{background:#edf3ff;color:#315fbd}.workflow-tabs button span{font-size:9px;background:#f0f2f6;color:#8793a6;padding:3px 6px;border-radius:10px}.workflow-tabs button.active span{background:#fff;color:#5276c4}.workflow-toolbar{border-bottom:1px solid #edf0f4}.task-table{min-width:1120px}.task-table td{vertical-align:middle}.task-table .engagement-cell{min-width:190px}.task-table .contact-cell{min-width:155px}.task-priority{display:inline-flex;align-items:center;border-radius:5px;padding:4px 7px;font-weight:650}.task-priority.high{background:#fff0ed;color:#c65b48}.task-priority.normal{background:#f1f4f8;color:#738198}.task-priority.low{background:#edf7f2;color:#36866a}.task-status{display:inline-flex;align-items:center;gap:5px;border:1px solid transparent;border-radius:6px;padding:6px 8px;font-size:9px;font-weight:650;white-space:nowrap;cursor:pointer}.task-status.to-do{background:#f2f4f7;color:#768398;border-color:#e9edf2}.task-status.in-progress{background:#edf3ff;color:#416cc2;border-color:#e0e9fb}.task-status.in-review{background:#fff6e8;color:#b27b26;border-color:#f6ebd7}.task-status.done{background:#eaf7f1;color:#238765;border-color:#d9eee4}.template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:13px;gap:13px;padding:17px}.template-card{border:1px solid #e9edf3;border-radius:10px;padding:16px;min-width:0;background:#fff;transition:border-color .16s,box-shadow .16s}.template-card:hover{border-color:#cbd8ef;box-shadow:0 5px 18px #20314d0a}.template-card-top{display:flex;align-items:center;justify-content:space-between}.template-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#edf3ff;color:#416cc2}.template-id{font:600 9px ui-monospace,SFMono-Regular,Menlo,monospace;color:#a1aaba}.template-category{display:block;margin-top:14px;color:#6480b7;font-size:8px;font-weight:700;letter-spacing:.65px;text-transform:uppercase}.template-card h3{font:700 13px Inter;color:#2b3d59;margin:6px 0}.template-card p{font-size:10px;line-height:1.55;color:#8995a8;margin:0;min-height:32px}.template-meta{display:flex;gap:15px;margin-top:13px;padding:11px 0;border-top:1px solid #f0f2f6;border-bottom:1px solid #f0f2f6}.template-meta span{display:flex;align-items:center;gap:5px;color:#748198;font-size:9px}.template-stages{display:flex;gap:5px;flex-wrap:wrap;margin:11px 0 14px}.template-stages span{font-size:8px;color:#78869b;background:#f5f7fa;border-radius:4px;padding:5px 6px}.template-action{width:100%;justify-content:center!important;height:34px;font-size:9px!important}.template-action svg:last-child{margin-left:auto}.workflow-modal{width:min(600px,100%);max-height:calc(100vh - 36px);overflow:auto}.workflow-modal-copy{font-size:10px;line-height:1.6;color:#7f8ba0;margin:0 0 15px}.workflow-select-label{display:flex;flex-direction:column;gap:6px;color:#657289;font-size:10px;font-weight:600}.workflow-select-label select{height:38px;border:1px solid #e5eaf1;border-radius:7px;padding:0 10px;background:#fff;color:#34445e;font-size:10px}.workflow-preview-list{display:flex;flex-direction:column;gap:0;margin-top:14px;border:1px solid #edf0f4;border-radius:8px;overflow:hidden}.workflow-preview-list>div{display:grid;grid-template-columns:26px 1fr;grid-gap:2px 9px;gap:2px 9px;padding:9px 11px;border-bottom:1px solid #f0f2f6}.workflow-preview-list>div:last-child{border-bottom:0}.workflow-preview-list>div>span{grid-row:span 2;color:#9aa5b5;font:600 9px ui-monospace,SFMono-Regular,Menlo,monospace;padding-top:2px}.workflow-preview-list strong{font-size:9px;color:#4b5b73}.workflow-preview-list small{font-size:8px;color:#9aa4b4}.workflow-modal .client-form{margin-top:14px}@media(max-width:900px){.template-grid{grid-template-columns:1fr}.workflow-toolbar{align-items:flex-start}.workflow-tabs{overflow:auto}.workflow-tabs button{white-space:nowrap}}@media(max-width:600px){.template-grid,.workflow-tabs{padding:10px}.template-card{padding:13px}.workflow-modal{padding:18px}.workflow-preview-list{max-height:230px;overflow:auto}.task-table{min-width:1120px}}.docs-panel{padding:0;overflow:hidden}.docs-table{min-width:1120px}.docs-table td{vertical-align:middle}.doc-row{cursor:pointer}.doc-row:hover{background:#fafcff}.doc-name-cell{display:flex;align-items:center;gap:10px;min-width:220px}.doc-name-cell>div{display:flex;flex-direction:column;gap:4px}.doc-name-cell strong{font-size:10px;color:#34445e;font-weight:650}.doc-name-cell small{font-size:8px;color:#9aa4b4}.doc-file-icon,.portal-file-icon{width:32px;height:34px;border-radius:7px;background:#edf3ff;color:#4770c5;display:grid;place-items:center;flex-shrink:0}.doc-engagement{font-size:9px;color:#6e7d94;white-space:nowrap}.doc-status{display:inline-flex;align-items:center;gap:6px;border-radius:5px;padding:5px 7px;font-size:8px;font-weight:700;white-space:nowrap}.doc-status i{width:5px;height:5px;border-radius:50%;background:currentColor}.doc-status.requested{background:#fff6e8;color:#b47d2c}.doc-status.uploaded{background:#edf3ff;color:#416cc2}.doc-status.in-review{background:#fff2e4;color:#b77c2e}.doc-status.verified{background:#eaf7f1;color:#238765}.doc-status.rejected{background:#fff0ed;color:#c65b48}.doc-status.expired{background:#f1f2f5;color:#7c8798}.portal-preview{padding:20px}.portal-preview-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.portal-preview-head h2{font:700 18px Inter;color:#2b3d59;margin:8px 0 4px}.portal-preview-head p{font-size:10px;color:#8a96a9;margin:0}.portal-preview-head label{display:flex;flex-direction:column;gap:6px;color:#7c899e;font-size:9px;font-weight:650}.portal-preview-head select{height:36px;min-width:210px;border:1px solid #e5eaf1;border-radius:7px;padding:0 10px;color:#3d4d66;background:#fff;font-size:10px}.portal-client-card{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid #e9edf3;border-radius:9px;background:#fbfcfe}.portal-client-card>div{display:flex;flex-direction:column;gap:4px;flex:1 1}.portal-client-card strong{font-size:10px;color:#34445e}.portal-client-card small{font-size:8px;color:#929bad}.portal-secure{display:flex;align-items:center;gap:5px;color:#39876d;font-size:8px;font-weight:650}.portal-doc-list{margin-top:12px;border:1px solid #edf0f4;border-radius:9px;overflow:hidden}.portal-doc-row{display:flex;align-items:center;gap:11px;padding:13px;border-bottom:1px solid #edf0f4}.portal-doc-row:last-child{border-bottom:0}.portal-doc-row>div:nth-child(2){display:flex;flex-direction:column;gap:4px;flex:1 1;min-width:0}.portal-doc-row strong{font-size:10px;color:#40516b}.portal-doc-row small{font-size:8px;color:#909bad}.portal-doc-row .portal-note{color:#b47d2c}.portal-doc-action{display:flex;align-items:center;gap:10px}.portal-doc-action .button{height:30px;font-size:8px;padding:0 10px}.portal-wait{font-size:8px;color:#8a96a9}.docs-modal{width:min(650px,100%);max-height:calc(100vh - 36px);overflow:auto}.doc-drawer{width:min(520px,100%)}.doc-preview-placeholder{display:flex;align-items:center;flex-direction:column;gap:7px;margin:18px 0;padding:25px 15px;background:#f7f9fc;border:1px dashed #dce3ee;border-radius:9px;color:#7d8ba1;text-align:center}.doc-preview-placeholder strong{font-size:10px;color:#52627c}.doc-preview-placeholder small{font-size:8px;color:#9aa4b4}.doc-audit{padding:18px 0 5px}.doc-audit h3{font:700 12px Inter;color:#33445e;margin:0 0 13px}.doc-audit>div{display:flex;align-items:flex-start;gap:10px;padding:0 0 13px;position:relative}.doc-audit>div:before{content:"";position:absolute;left:4px;top:10px;bottom:-2px;width:1px;background:#e8edf4}.doc-audit>div:last-child:before{display:none}.doc-audit i{width:9px;height:9px;border-radius:50%;background:#8aa5dc;border:2px solid #edf3ff;flex-shrink:0;margin-top:2px;z-index:1}.doc-audit span{display:flex;flex-direction:column;gap:4px}.doc-audit strong{font-size:9px;color:#596980;font-weight:600;line-height:1.45}.doc-audit small{font-size:8px;color:#9aa4b4}.doc-review-actions{border-top:1px solid #edf0f4;padding-top:15px;margin-top:5px}.doc-review-actions label{display:flex;flex-direction:column;gap:6px;font-size:9px;color:#657289;font-weight:650}.doc-review-actions textarea{min-height:65px;resize:vertical;border:1px solid #e5eaf1;border-radius:7px;padding:9px;font:10px Inter,sans-serif;color:#34445e;outline:none}.doc-review-actions>div{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.doc-review-actions .button{height:34px;font-size:9px}.doc-review-actions .form-hint{line-height:1.5}@media(max-width:900px){.portal-preview-head{align-items:flex-start;flex-direction:column}.portal-preview-head label,.portal-preview-head select{width:100%}.portal-doc-row{align-items:flex-start;flex-wrap:wrap}.portal-doc-action{width:100%;padding-left:43px;justify-content:space-between}}@media(max-width:600px){.portal-preview{padding:13px}.portal-secure{display:none}.doc-drawer,.docs-modal{padding:18px}.portal-preview-head select{min-width:0}}.compliance-panel{padding:0;overflow:hidden}.compliance-overdue,.compliance-stat-grid .client-stat strong.compliance-overdue{color:#c45b4d}.compliance-toolbar{align-items:center}.compliance-select{height:31px;border:1px solid #e7ebf1;border-radius:6px;background:#fff;color:#62718a;padding:0 9px;font:9px Inter,sans-serif;outline:none}.compliance-table{min-width:1160px}.compliance-table td{vertical-align:middle}.compliance-file-icon{width:32px;height:34px;border-radius:7px;background:#f0f3fb;color:#657eb2;display:grid;place-items:center;flex-shrink:0}.compliance-status-label{font-size:8px;color:#8490a2;margin-left:5px;white-space:nowrap}.compliance-pill{display:inline-flex;align-items:center;padding:5px 8px;border-radius:5px;font-size:8px;font-weight:700}.compliance-pill.upcoming{background:#edf3ff;color:#4269b4}.compliance-pill.due-soon{background:#fff4e6;color:#b17b31}.compliance-pill.overdue{background:#fff0ed;color:#c45b4d}.compliance-pill.filed{background:#eaf7f1;color:#238765}.compliance-calendar{padding:20px}.calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.calendar-head h2{font:700 16px Inter,sans-serif;color:#2e405d;margin:0 0 4px}.calendar-head p{font-size:9px;color:#8c98aa;margin:0}.calendar-head>div:last-child{display:flex;align-items:center;gap:7px}.calendar-head .button{height:31px;font-size:9px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #e9edf3;border-left:1px solid #e9edf3}.calendar-weekday{padding:9px 8px;text-align:center;font-size:8px;font-weight:700;color:#8793a6;background:#fafbfd}.calendar-day,.calendar-weekday{border-right:1px solid #e9edf3;border-bottom:1px solid #e9edf3}.calendar-day{min-height:104px;padding:7px 6px;display:flex;flex-direction:column;gap:4px;min-width:0}.calendar-day>span{font-size:9px;color:#68768d;font-weight:650}.calendar-day.is-today>span{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#416dcc;color:#fff}.calendar-day.blank{background:#fafbfd}.calendar-event{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;border:0;border-radius:4px;padding:4px 5px;font:600 7px Inter,sans-serif;cursor:pointer}.calendar-event.upcoming{background:#edf3ff;color:#4169b2}.calendar-event.due-soon{background:#fff3e2;color:#a8752e}.calendar-event.overdue{background:#fff0ed;color:#c45b4d}.calendar-event.filed{background:#eaf7f1;color:#238765}.calendar-day>small{font-size:7px;color:#8995a7;padding-left:3px}.calendar-legend{display:flex;gap:18px;margin-top:14px}.calendar-legend span{display:flex;align-items:center;gap:6px;color:#7f8ba0;font-size:8px}.calendar-legend i{width:7px;height:7px;border-radius:2px;background:#f2b85e}.calendar-legend i.late{background:#d98275}.calendar-legend i.done{background:#58a88b}.compliance-detail-highlight{display:flex;align-items:center;gap:12px;padding:14px;margin:18px 0;background:#f5f8fe;border:1px solid #e8eef9;border-radius:9px}.compliance-detail-highlight>span{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;background:#e7efff;color:#4c70b7}.compliance-detail-highlight>div{display:flex;flex-direction:column;gap:3px}.compliance-detail-highlight small{font-size:7px;color:#8290a5;font-weight:700;letter-spacing:.08em}.compliance-detail-highlight strong{font:700 14px Inter;color:#334661}.compliance-detail-highlight em{font-size:8px;color:#8793a6;font-style:normal}.compliance-drawer .entity-detail-grid{margin-bottom:8px}.compliance-action-row{display:flex;justify-content:flex-end;gap:8px}.compliance-action-row .button{height:34px;font-size:9px}@media(max-width:800px){.calendar-day{min-height:76px;padding:5px 3px}.calendar-event{font-size:6px;padding:3px}.calendar-weekday{padding:7px 2px;font-size:7px}.calendar-grid{overflow:hidden}.compliance-calendar{padding:13px}.calendar-legend{flex-wrap:wrap}}@media(max-width:560px){.calendar-day{min-height:57px}.calendar-event{font-size:0;height:6px;padding:0;width:8px;border-radius:50%}.calendar-day>small{font-size:6px}.calendar-head h2{font-size:14px}.compliance-toolbar{align-items:flex-start;flex-direction:column}.compliance-toolbar .client-tools{width:100%;justify-content:space-between}}.brand-copy small{font-size:9px}.workspace-info strong{font-size:13px}.profile-mini small,.profile-trigger small,.workspace-info small{font-size:11px}.nav-heading{font-size:10px}.nav-item{font-size:13px;height:39px}.nav-item em,.usage-head{font-size:11px}.usage-card small{font-size:10px}.breadcrumb,.global-search input{font-size:12px}.global-search kbd{font-size:10px}.welcome-row h1{font-size:27px}.welcome-row p{font-size:14px;line-height:1.5}.eyebrow{font-size:10px}.button{height:38px}.metric-card{padding:17px 18px 15px;min-height:150px}.metric-label{font-size:12px}.metric-value{font-size:27px}.metric-delta,.metric-note{font-size:11px}.panel-title{font-size:15px}.panel-header p{font-size:12px;line-height:1.45}.text-action{font-size:12px}.priority-row{min-height:72px}.priority-main strong{font-size:12px}.priority-main span,.priority-meta>span:first-child,.priority-owner,.type-label{font-size:11px}.data-table th{font-size:10px;letter-spacing:.55px;padding-bottom:12px}.data-table td{font-size:12px;padding:14px 10px;line-height:1.4}.engagement-name{font-size:12px}.owner-cell,.progress-cell small,.stage-text,.table-sub{font-size:11px}.client-stat{padding:17px 18px;gap:6px}.client-stat span{font-size:12px}.client-stat strong{font-size:25px}.client-stat small{font-size:11px}.client-tabs button{font-size:12px}.client-results-label,.client-search,.client-tabs button span{font-size:11px}.client-name-cell strong,.contact-cell strong{font-size:12px}.client-name-cell small,.client-note,.client-status,.client-table-footer,.client-table-footer button,.contact-cell small,.service-count{font-size:11px}.client-note{line-height:1.55}.client-form label{font-size:12px}.client-form input,.client-form select{font-size:12px;height:40px}.form-hint{font-size:11px}.entity-insight strong{font-size:12px}.entity-insight p{font-size:11px;line-height:1.55}.entity-insight-tag{font-size:9px}.entity-detail-block small,.entity-detail-block span,.entity-detail-grid span,.entity-id,.entity-table td:nth-child(3),.entity-table td:nth-child(5){font-size:11px}.entity-detail-block strong,.entity-detail-grid strong{font-size:12px}.entity-drawer-section h3{font-size:14px}.entity-placeholder-row b,.entity-placeholder-row strong{font-size:12px}.entity-placeholder-row small{font-size:11px}.engagement-cell strong{font-size:12px}.engagement-cell small,.engagement-next-step small{font-size:11px}.engagement-next-step strong,.workflow-tabs button{font-size:12px}.workflow-tabs button span{font-size:10px}.task-priority,.task-status{font-size:11px}.template-card h3{font-size:15px}.template-card p{font-size:12px}.template-category,.template-id,.template-meta span,.template-stages span{font-size:10px}.template-action{font-size:11px!important}.workflow-modal-copy,.workflow-select-label{font-size:12px}.workflow-preview-list strong{font-size:11px}.workflow-preview-list small{font-size:10px}.doc-name-cell strong,.portal-doc-row strong{font-size:12px}.doc-engagement,.doc-name-cell small,.doc-status,.portal-doc-row small{font-size:10px}.portal-preview-head p{font-size:12px}.portal-preview-head label,.portal-preview-head select{font-size:11px}.portal-client-card strong{font-size:12px}.portal-client-card small,.portal-secure,.portal-wait{font-size:10px}.doc-preview-placeholder strong{font-size:12px}.doc-audit small,.doc-preview-placeholder small{font-size:10px}.doc-audit strong,.doc-review-actions label{font-size:11px}.doc-review-actions textarea{font-size:12px}.compliance-select{font-size:11px;height:34px}.calendar-head p,.calendar-weekday,.compliance-pill{font-size:10px}.calendar-day>span{font-size:11px}.calendar-day>small,.calendar-event,.calendar-legend span{font-size:9px}.compliance-detail-highlight em,.compliance-detail-highlight small{font-size:10px}.compliance-action-row .button{font-size:11px}.activity-copy strong{font-size:12px}.activity-client,.activity-copy span,.activity-row time{font-size:11px}.page-footer{font-size:10px}.admin-welcome{margin-bottom:20px}.admin-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:13px;gap:13px;margin-bottom:17px}.admin-summary-card{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px 18px;box-shadow:var(--shadow)}.admin-summary-card span{font-size:12px;color:#7b879a}.admin-summary-card strong{font:700 25px Inter;color:#20314d}.admin-summary-card small{font-size:11px;color:#9aa4b4}.admin-panel{padding:0;overflow:hidden}.admin-tabs{gap:5px;padding:12px 17px;border-bottom:1px solid #edf0f4;overflow-x:auto}.admin-tabs,.admin-tabs button{display:flex;align-items:center}.admin-tabs button{gap:8px;border:0;background:transparent;border-radius:7px;padding:10px 12px;color:#758197;font-size:12px;font-weight:600;white-space:nowrap}.admin-tabs button.active{background:#edf3ff;color:#315fbd}.admin-tabs button span{font-size:10px;background:#f0f2f6;color:#8793a6;padding:3px 6px;border-radius:10px}.admin-tabs button.active span{background:#fff;color:#5276c4}.admin-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 20px 14px}.admin-section-head h2{font:700 16px Inter;color:#293b58;margin:0}.admin-section-head p{font-size:12px;color:#8793a6;margin:5px 0 0}.admin-filter,.role-select{height:35px;border:1px solid #e5eaf1;border-radius:7px;padding:0 10px;background:#fff;color:#4c5d76;font:500 12px Inter,sans-serif}.admin-users-table{min-width:850px}.admin-users-table th{padding:13px 16px 11px}.admin-users-table td{padding:13px 16px}.admin-user-cell{display:flex;align-items:center;gap:10px;min-width:230px}.admin-user-cell>span:last-child{display:flex;flex-direction:column;gap:4px}.admin-user-cell strong{font-size:12px;color:#34445e}.admin-user-cell small{font-size:11px;color:#9aa4b4}.admin-avatar{width:34px;height:34px;border-radius:9px;background:#edf3ff;color:#4169b8;display:grid;place-items:center;font-size:11px;font-weight:700}.admin-user-status{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600}.admin-user-status i{width:6px;height:6px;border-radius:50%;background:currentColor}.admin-user-status.active{color:#238765}.admin-user-status.invited{color:#b47b24}.admin-user-status.suspended{color:#c45b4d}.role-select{height:31px;min-width:120px}.admin-table-foot{display:flex;justify-content:space-between;gap:12px;padding:13px 18px;border-top:1px solid #edf0f4;color:#929bad;font-size:11px}.admin-readonly-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid #e8edf4;border-radius:7px;background:#fbfcfe;color:#73819a;font-size:11px;font-weight:600;white-space:nowrap}.role-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px;padding:0 20px 20px}.role-card{display:flex;align-items:center;gap:12px;text-align:left;padding:13px;border:1px solid #e8edf4;border-radius:9px;background:#fff;color:#8090a5;transition:border-color .15s,background .15s}.role-card:hover{border-color:#c9d7f0;background:#fbfcff}.role-card.selected{border-color:#8ba9e7;background:#f7f9ff;box-shadow:0 0 0 2px #edf3ff}.role-card-icon{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;flex-shrink:0;background:#edf3ff;color:#416cc2}.role-card-icon.legal{background:#f2eeff;color:#8061c4}.role-card-icon.accounts{background:#eaf7f1;color:#238765}.role-card-icon.sales{background:#fff5e7;color:#b47b24}.role-card-icon.operations{background:#eef3f8;color:#62758f}.role-card-copy{display:flex;flex:1 1;flex-direction:column;gap:4px;min-width:0}.role-card-copy strong{font-size:13px;color:#34445e}.role-card-copy small{font-size:11px;color:#8793a6;line-height:1.4}.role-card-copy em{font-style:normal;font-size:10px;color:#5276c4;font-weight:650}.permission-editor{margin:0 20px 20px;border:1px solid #e8edf4;border-radius:10px;overflow:hidden}.permission-editor-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 18px;background:#fbfcfe;border-bottom:1px solid #edf0f4}.permission-editor-head h3{font:700 16px Inter;color:#2c3e5a;margin:6px 0 4px}.permission-editor-head p{font-size:11px;color:#8793a6;margin:0}.permission-count{font-size:11px;color:#5276c4;background:#edf3ff;padding:7px 9px;border-radius:6px;white-space:nowrap}.permission-group{padding:13px 18px 5px;border-bottom:1px solid #edf0f4}.permission-group:last-of-type{border-bottom:0}.permission-group h4{font:700 11px Inter,sans-serif;color:#8a96a8;letter-spacing:.6px;text-transform:uppercase;margin:0 0 8px}.permission-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;border-top:1px solid #f3f5f8}.permission-row>span{font-size:12px;color:#455670;font-weight:500}.permission-options{display:flex;align-items:center;gap:3px;padding:3px;background:#f3f5f8;border-radius:7px}.permission-options button{border:0;border-radius:5px;background:transparent;padding:6px 9px;color:#8793a6;font:600 10px Inter,sans-serif}.permission-options button.chosen{background:#fff;color:#315fbd;box-shadow:0 1px 3px #17243a16}.permission-options button:disabled{cursor:not-allowed;opacity:.7}.permission-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 18px;background:#fbfcfe;border-top:1px solid #edf0f4;color:#8793a6;font-size:11px;line-height:1.5}.permission-foot .button{height:33px;font-size:11px;white-space:nowrap}.audit-list{padding:0 20px 18px}.audit-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #f0f2f6}.audit-row:last-child{border-bottom:0}.audit-icon{width:32px;height:32px;border-radius:8px;background:#edf3ff;color:#5276c4;display:grid;place-items:center}.audit-row>div{flex:1 1;min-width:0}.audit-row strong{font-size:12px;color:#40516b}.audit-row p{font-size:12px;color:#7d8ba1;margin:4px 0 0}.audit-row time{font-size:11px;color:#9aa4b4;white-space:nowrap}.admin-demo-note{margin-bottom:4px}.invite-modal{width:min(540px,100%)}.wide-field{grid-column:1/-1}@media(max-width:900px){.admin-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.role-card-grid{grid-template-columns:1fr}}@media(max-width:650px){.admin-section-head{align-items:flex-start;flex-direction:column;padding:16px 14px 12px}.admin-filter{width:100%}.admin-summary-grid{gap:8px}.admin-summary-card{padding:13px}.admin-summary-card strong{font-size:22px}.admin-tabs{padding:10px}.admin-tabs button{padding:9px}.role-card-grid{padding:0 13px 14px}.permission-editor{margin:0 13px 14px}.permission-editor-head{padding:14px}.permission-editor-head,.permission-row{align-items:flex-start;flex-direction:column}.permission-row{padding:10px 0}.permission-options{width:100%}.permission-options button{flex:1 1}.permission-foot{align-items:flex-start;flex-direction:column;padding:12px 14px}.audit-list{padding:0 14px 14px}.audit-row{align-items:flex-start;flex-wrap:wrap}.audit-row time{width:100%;padding-left:44px}.admin-table-foot{flex-direction:column}.wide-field{grid-column:auto}}.page-content.role-readonly .button-primary,.page-content.role-readonly .client-form,.page-content.role-readonly .icon-button.subtle,.page-content.role-readonly .permission-options,.page-content.role-readonly .quick-options{display:none!important}.page-content.role-readonly .module-overview{min-height:190px}.page-content .profile-trigger select{cursor:pointer;outline:none}.page-content .profile-trigger select option{color:#24324a}.page-content.role-readonly .compliance-action-row button,.page-content.role-readonly .doc-review-actions button,.page-content.role-readonly .portal-doc-action button,.page-content.role-readonly .task-status,.page-content.role-readonly .template-action{display:none!important}.sidebar{background:#17243a;border-right:1px solid #263650;color:#e8eef8}.sidebar .brand-copy strong{color:#f5f7fb}.sidebar .brand-copy strong span{color:#8eafff}.sidebar .brand-copy small{color:#8291aa}.sidebar .workspace-switcher{background:#202f48;border-color:#354661;color:#f0f4fb}.sidebar .workspace-avatar{background:#30466b;color:#c9d9ff}.sidebar .workspace-info small,.sidebar .workspace-switcher>svg{color:#9baac0}.sidebar .nav-heading{color:#8493aa}.sidebar .nav-item{color:#b3bfd1}.sidebar .nav-item svg{color:#91a1ba}.sidebar .nav-item:hover{background:#233550;color:#fff}.sidebar .nav-item.active{background:#2b4773;color:#fff;box-shadow:inset 3px 0 0 #8eafff}.sidebar .nav-item.active svg{color:#a9c2ff}.sidebar .nav-item em{background:#30435f;color:#c1cde0}.sidebar .nav-item.active em{background:#3b5b8d;color:#e6eeff}.sidebar .usage-card{background:#202f48;border-color:#354661}.sidebar .usage-head{color:#d5deeb}.sidebar .usage-track{background:#3a4b65}.sidebar .usage-track span{background:#8eafff}.sidebar .usage-card small{color:#9baac0}.sidebar .profile-mini{border-top-color:#354661}.sidebar .profile-mini strong{color:#f0f4fb}.sidebar .profile-mini small,.sidebar .profile-mini>svg{color:#9baac0}.sidebar .avatar{background:#30466b;color:#d5e2ff}.sidebar .avatar-violet{background:#443b65;color:#d9ccff}.sidebar .avatar-green{background:#254d46;color:#b9ead8}.sidebar .avatar-amber{background:#5a4930;color:#f3d8a8}.sidebar .avatar-navy{background:#34445d;color:#d6e0ef}.sidebar .icon-button{color:#aab7ca}.sidebar .icon-button:hover{background:#293b56;color:#fff}.metric-card{position:relative}.metric-card-content{display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.metric-card-content:disabled{cursor:default}.metric-card-content:not(:disabled):hover .metric-value{color:#3867d6}.metric-card-content:focus-visible,.metric-top .icon-button:focus-visible{outline:2px solid #7fa2f5;outline-offset:3px;border-radius:6px}.metric-top{position:relative}.metric-more-menu{position:absolute;z-index:8;top:34px;right:0;min-width:174px;padding:5px;background:#fff;border:1px solid #e7ebf2;border-radius:9px;box-shadow:0 10px 28px rgba(23,36,58,.14)}.metric-more-menu button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:9px 10px;border:0;border-radius:6px;background:transparent;color:#40516b;font-size:10px;font-weight:600;text-align:left}.metric-more-menu button:hover{background:#f3f6fb;color:#2e5fc4}.sidebar .brand-mark{background:#ff6b00;box-shadow:0 4px 12px rgba(255,107,0,.28);overflow:hidden}.sidebar .brand-mark svg{width:100%;height:100%;display:block}.sidebar .brand-copy strong{color:#fff;font-size:17px;letter-spacing:-.65px}.sidebar .brand-copy strong span{color:#ff8a32}.sidebar .brand-copy small{color:#aab6c8;font-size:8px;letter-spacing:.9px}.sidebar .brand-copy .brand-product{color:#ff9a52;font-size:7px;letter-spacing:1.15px;margin-top:2px}.content-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));align-items:stretch}.main-column,.side-column{display:contents}.content-grid>.panel{height:100%}.content-grid>.activity-panel{grid-column:1/-1}.dashboard-customize{margin:0 0 16px;border-color:#dfe7f5;background:linear-gradient(135deg,#fff,#fbfcff)}.dashboard-widget-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));grid-gap:9px;gap:9px}.dashboard-widget-options label{display:flex;align-items:center;gap:9px;min-height:42px;padding:9px 11px;border:1px solid #e9edf4;border-radius:8px;background:#fff;color:#526078;font-size:11px;cursor:pointer}.dashboard-widget-options label:has(input:checked){border-color:#cbd9f6;background:#f5f8ff;color:#2f58a7}.dashboard-widget-options input{accent-color:#3867d6}.dashboard-customize-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:11px;margin-top:12px;border-top:1px solid #edf0f5;color:#9aa3b2;font-size:9px}@media(max-width:650px){.content-grid{grid-template-columns:minmax(0,1fr)}.content-grid>.activity-panel{grid-column:auto}.dashboard-widget-options{grid-template-columns:1fr 1fr}}.topbar-utility{width:36px;height:36px;display:grid;place-items:center;border:1px solid transparent;border-radius:8px;color:#68778e;background:transparent;flex:0 0 auto}.topbar-utility.utility-active,.topbar-utility:hover{background:#edf3ff;color:#315fbd;border-color:#dce7fb}.topbar-actions{display:flex;align-items:center;gap:8px;min-width:0}.sidebar .main-nav{padding-bottom:16px}@media(max-width:650px){.topbar-utility{width:32px;height:32px}.topbar-actions{gap:4px}.profile-trigger{gap:5px!important}.profile-trigger select{max-width:82px!important}}.report-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:13px;gap:13px;margin:0 0 15px}.report-kpi{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:17px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}.report-kpi-icon{width:35px;height:35px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px}.report-kpi-icon.revenue{background:#edf3ff;color:#416cc2}.report-kpi-icon.expense{background:#fff3e9;color:#bd7137}.report-kpi-icon.profit{background:#eaf7f1;color:#238765}.report-kpi-icon.receivable{background:#fff6e8;color:#b47b24}.report-kpi>div{display:flex;flex-direction:column;gap:5px;min-width:0}.report-kpi small{font-size:11px;color:#8793a6}.report-kpi strong{font:700 20px Inter;color:#263954;white-space:nowrap}.report-kpi em{font-style:normal;font-size:10px;color:#91a0b3}.report-insight{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;margin-bottom:15px;background:#f5f8ff;border:1px solid #e2eafa;border-radius:9px}.report-insight>span{width:30px;height:30px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px;background:#e5edff;color:#416cc2}.report-insight>div{flex:1 1;min-width:0}.report-insight strong{font-size:12px;color:#344b70}.report-insight p{font-size:11px;line-height:1.55;color:#74839a;margin:4px 0 0}.report-insight>small{font-size:9px;font-weight:700;letter-spacing:.7px;color:#8093b5;white-space:nowrap}.report-panel{overflow:hidden}.report-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 19px 14px}.report-panel-head h2{margin:0;font:700 15px Inter;color:#30425e}.report-panel-head p{margin:5px 0 0;font-size:11px;color:#8995a7}.report-filters{display:flex;gap:8px}.report-filters select{height:34px;padding:0 10px;border:1px solid #e5eaf1;border-radius:7px;background:#fff;color:#53637b;font:500 11px Inter,sans-serif}.report-register-summary{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:10px 19px;border-top:1px solid #f0f2f6;border-bottom:1px solid #edf0f4;background:#fbfcfe;color:#8793a6;font-size:10px}.report-register-summary strong{color:#435571;font-size:11px}.report-register-summary b{color:#5e6e84;margin-left:3px}.report-status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:5px}.report-status-dot.ready{background:#26936c}.report-status-dot.review{background:#d39a3d}.report-search-hint{display:inline-flex;align-items:center;gap:6px;margin-left:auto;color:#9aa4b4}.report-table{min-width:1050px}.report-table th{padding:12px 13px}.report-table td{padding:13px}.report-name-cell{display:flex;align-items:center;gap:9px;min-width:200px}.report-name-cell>span{width:30px;height:30px;display:grid;place-items:center;border-radius:7px;background:#edf3ff;color:#4b70bd;flex:0 0 auto}.report-name-cell>div{display:flex;flex-direction:column;gap:4px}.report-name-cell strong{font-size:11px;color:#3b4d68}.report-name-cell small{font-size:10px;color:#9aa4b4}.report-amount{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:#455873}.report-amount,.report-status{font-weight:600;white-space:nowrap}.report-status{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:6px;font-size:10px}.report-status i{width:6px;height:6px;border-radius:50%;background:currentColor}.report-status.ready{background:#eaf7f1;color:#258565}.report-status.review{background:#fff5e7;color:#ad792e}@media(max-width:1000px){.report-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.report-kpi-grid{gap:8px}.report-kpi{padding:12px;gap:8px}.report-kpi strong{font-size:16px}.report-kpi-icon{width:30px;height:30px}.report-panel-head{align-items:flex-start;flex-direction:column;padding:15px}.report-filters{width:100%}.report-filters select{flex:1 1;min-width:0}.report-register-summary{gap:10px;padding:10px 14px}.report-search-hint{width:100%;margin-left:0}.report-insight{padding:12px}}.lead-funnel{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:8px;gap:8px;margin:0 0 15px}.lead-funnel button{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:12px 14px;text-align:left;border:1px solid #e7ebf2;border-radius:9px;background:#fff;color:#8793a6}.lead-funnel button.active{border-color:#8ba9e7;background:#f5f8ff}.lead-funnel button span{font-size:10px;font-weight:600}.lead-funnel button strong{font:700 21px Inter;color:#30425e}.lead-funnel button small{font-size:10px;color:#8996a9}.lead-funnel button>svg{position:absolute;right:9px;top:50%;color:#c0c9d6}.lead-board-panel{overflow:hidden}.lead-board-panel>.panel-header{padding:17px 18px 12px}.lead-board{display:grid;grid-template-columns:repeat(5,minmax(210px,1fr));grid-gap:10px;gap:10px;padding:0 14px 16px;overflow-x:auto}.lead-lane{min-width:210px;background:#f6f8fb;border:1px solid #edf0f4;border-radius:9px;padding:9px}.lead-lane>header,.mywork-column>header{display:flex;align-items:center;justify-content:space-between;padding:4px 3px 10px;color:#50617a;font-size:11px}.lead-lane>header>span{display:flex;align-items:center;gap:7px;font-weight:650}.lead-lane>header>b,.mywork-column>header>span{padding:3px 7px;border-radius:12px;background:#e9edf3;color:#718097;font-size:10px}.lead-stage-dot{width:7px;height:7px;border-radius:50%;background:#8a9bb3}.lead-stage-dot.stage-1{background:#6996dc}.lead-stage-dot.stage-2{background:#9a83d2}.lead-stage-dot.stage-3{background:#d49b4c}.lead-stage-dot.stage-4{background:#3b9a78}.lead-card,.mywork-task{padding:12px;margin-bottom:8px;border:1px solid #e8edf3;background:#fff;box-shadow:0 2px 6px #1d35500a}.lead-card-top,.mywork-task>div:first-child{display:flex;justify-content:space-between;gap:8px}.lead-card-top small,.mywork-task>div:first-child small{font-size:9px;color:#9aa4b4}.lead-card-top strong{font-size:11px;color:#354a69}.lead-card h3,.mywork-task h3{font-size:12px;line-height:1.4;color:#344761;margin:9px 0 4px}.lead-card>p,.mywork-task>p{font-size:10px;color:#8996a9;margin:0 0 10px}.lead-contact,.lead-next{display:flex;align-items:center;gap:6px;margin-top:7px;font-size:10px;color:#78869b}.lead-next{color:#9b7b43}.lead-card footer,.mywork-task footer{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:11px;padding-top:9px;border-top:1px solid #f0f2f5;font-size:9px;color:#8996a9}.lead-card footer select,.mywork-task>select{max-width:112px;height:27px;padding:0 5px;border:1px solid #e4e9f0;border-radius:5px;background:#fff;color:#52627a;font-size:9px}.lead-lane-empty{padding:20px 8px;text-align:center;color:#a1aaba;font-size:10px}.segmented-control-like{display:flex;padding:3px;border:1px solid #e6eaf0;border-radius:8px;background:#fff}.segmented-control-like button{padding:7px 11px;border:0;border-radius:5px;background:transparent;color:#77859a;font-size:11px}.segmented-control-like button.active{background:#edf3ff;color:#315fbd;font-weight:650}.calendar-workspace{display:grid;grid-template-columns:205px minmax(0,1fr);min-height:500px;border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden}.calendar-date-rail{padding:17px 12px;background:#fafbfd;border-right:1px solid #edf0f4}.calendar-month-label{display:flex;justify-content:space-between;align-items:center;padding:4px 8px 14px;color:#8996a9}.calendar-month-label span{font-size:10px;letter-spacing:.7px}.calendar-month-label strong{font:700 12px Inter;color:#465873}.calendar-date-rail>button{display:grid;grid-template-columns:1fr auto;align-items:center;width:100%;grid-gap:3px 8px;gap:3px 8px;margin:3px 0;padding:10px;border:1px solid transparent;border-radius:7px;background:transparent;text-align:left;color:#78869a}.calendar-date-rail>button.selected{background:#edf3ff;border-color:#dce7fb;color:#315fbd}.calendar-date-rail>button small{font-size:9px;grid-column:1}.calendar-date-rail>button strong{font:700 19px Inter;grid-row:2;grid-column:1;color:#344761}.calendar-date-rail>button span{font-size:9px;grid-column:2;grid-row:2}.calendar-agenda{padding:20px 22px}.calendar-agenda>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:14px;border-bottom:1px solid #edf0f4}.calendar-agenda h2{font:700 17px Inter;color:#30425e;margin:0}.calendar-agenda header p{font-size:11px;color:#929eaf;margin:5px 0 0}.agenda-event{display:grid;grid-template-columns:90px 4px minmax(0,1fr) auto;align-items:center;grid-gap:14px;gap:14px;padding:17px 4px;border-bottom:1px solid #f0f2f5}.agenda-event time{font-size:10px;color:#8793a6}.agenda-event time strong{display:block;margin-top:4px;color:#475a75;font-size:11px}.agenda-kind{width:4px;height:38px;border-radius:4px;background:#6996dc}.agenda-kind.deadline{background:#d39a3d}.agenda-kind.meeting{background:#638bd2}.agenda-kind.reminder{background:#9679cb}.agenda-kind.task{background:#3b9a78}.agenda-event>div>strong{font-size:12px;color:#3b4e68}.agenda-event>div>p{font-size:10px;color:#8a97a9;margin:4px 0 0}.agenda-tag{padding:5px 7px;border-radius:5px;background:#edf3ff;color:#5374b6;font-size:9px}.agenda-tag.deadline{background:#fff5e7;color:#ad792e}.agenda-tag.reminder{background:#f3effb;color:#8065b5}.mywork-focus{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px;margin-bottom:15px}.mywork-focus>div{display:flex;flex-direction:column;gap:5px;padding:14px 16px;border:1px solid var(--line);border-radius:9px;background:#fff}.mywork-focus small{font-size:9px;letter-spacing:.6px;color:#8996a9;font-weight:700}.mywork-focus strong{font:700 23px Inter;color:#30425e}.mywork-focus span{font-size:10px;color:#96a1b1}.mywork-board{display:grid;grid-template-columns:repeat(4,minmax(210px,1fr));grid-gap:10px;gap:10px;overflow-x:auto}.mywork-column{min-width:210px;padding:9px;background:#f6f8fb;border:1px solid #edf0f4;border-radius:9px}.mywork-task>div:first-child{align-items:center}.task-priority{padding:3px 6px;border-radius:4px;background:#f0f2f6;color:#77859a;font-size:9px}.task-priority.high,.task-priority.urgent{background:#fff0ed;color:#c45e50}.mywork-task footer span{display:flex;align-items:center;gap:4px}.overdue-text{color:#c45e50!important}@media(max-width:900px){.lead-funnel{grid-template-columns:repeat(3,minmax(0,1fr))}.calendar-workspace{grid-template-columns:160px minmax(0,1fr)}.mywork-focus{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.lead-funnel{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-workspace{grid-template-columns:1fr}.calendar-date-rail{display:flex;gap:5px;overflow-x:auto;border-right:0;border-bottom:1px solid #edf0f4}.calendar-month-label{display:none}.calendar-date-rail>button{min-width:65px;display:flex;flex-direction:column;align-items:center}.calendar-agenda{padding:14px}.calendar-agenda>header{align-items:flex-start;flex-direction:column}.agenda-event{grid-template-columns:68px 4px minmax(0,1fr);gap:9px}.agenda-tag{grid-column:3;justify-self:start}.mywork-focus{gap:7px}.mywork-focus>div{padding:11px}.mywork-board{grid-template-columns:repeat(4,230px)}}.invoice-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px;margin-bottom:14px}.invoice-metrics>article{display:flex;align-items:flex-start;gap:11px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);min-width:0}.invoice-metric-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px}.invoice-metric-icon.blue{background:#edf3ff;color:#416cc2}.invoice-metric-icon.green{background:#eaf7f1;color:#238765}.invoice-metric-icon.amber{background:#fff6e8;color:#b47b24}.invoice-metric-icon.red{background:#fff0ed;color:#c45e50}.invoice-metrics article>div{display:flex;flex-direction:column;gap:4px;min-width:0}.invoice-metrics small{font-size:10px;color:#8793a6}.invoice-metrics strong{font:700 19px Inter;color:#30425e;white-space:nowrap}.invoice-metrics em{font-style:normal;font-size:9px;color:#97a2b2}.invoice-workflow{padding:15px 17px;margin-bottom:14px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}.invoice-workflow-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.invoice-workflow-head>div{display:flex;flex-direction:column;gap:4px}.invoice-workflow-head strong{font:700 13px Inter;color:#344761}.invoice-workflow-head>span{font-size:10px;color:#98a3b2}.invoice-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:8px;gap:8px}.invoice-steps button{position:relative;display:grid;grid-template-columns:10px 1fr auto;align-items:center;grid-gap:6px;gap:6px;padding:10px;border:1px solid #edf0f4;border-radius:8px;background:#fbfcfe;text-align:left;color:#7d8ba0}.invoice-steps button.active{border-color:#91ace4;background:#f3f7ff}.invoice-steps button strong{font-size:10px;color:#53647d}.invoice-steps button b{font:700 14px Inter;color:#344761}.invoice-steps button small{grid-column:2/4;font-size:9px;color:#9aa5b4}.invoice-step-dot{width:7px;height:7px;border-radius:50%;background:#aab4c2}.invoice-step-dot.step-0{background:#8b96a8}.invoice-step-dot.step-1{background:#628bd1}.invoice-step-dot.step-2{background:#c18a3c}.invoice-step-dot.step-3{background:#26936c}.invoice-step-dot.step-4{background:#c45e50}.invoice-register{overflow:hidden}.invoice-register-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px 13px}.invoice-register-head h2{margin:0;font:700 15px Inter;color:#30425e}.invoice-register-head p{margin:5px 0 0;font-size:10px;color:#8995a7}.invoice-register-actions{display:flex;align-items:center;gap:10px}.invoice-register-actions select{height:33px;padding:0 10px;border:1px solid #e5eaf1;border-radius:7px;background:#fff;color:#53637b;font:500 10px Inter,sans-serif}.invoice-register-actions>span{font-size:10px;color:#8d99aa;white-space:nowrap}.invoice-table{min-width:1040px}.invoice-table td,.invoice-table th{padding:12px}.invoice-row{cursor:pointer}.invoice-row:hover{background:#f9fbfe}.invoice-client,.invoice-id{display:block;font-size:11px;color:#40536f}.invoice-owner{display:block;margin-top:4px;font-size:9px;color:#98a3b2}.invoice-money{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-size:11px;font-weight:650;color:#40536f;white-space:nowrap}.invoice-money.paid{color:#278666}.invoice-status{display:inline-flex;align-items:center;gap:6px;padding:5px 7px;border-radius:5px;font-size:9px;font-weight:650;white-space:nowrap;background:#f0f2f6;color:#78869a}.invoice-status i{width:6px;height:6px;border-radius:50%;background:currentColor}.invoice-status.sent{background:#edf3ff;color:#4c73bd}.invoice-status.partially-paid{background:#fff6e8;color:#a87931}.invoice-status.paid{background:#eaf7f1;color:#258565}.invoice-status.overdue{background:#fff0ed;color:#c45e50}.invoice-status.draft{background:#f0f2f6;color:#78869a}.invoice-notice{display:flex;align-items:center;gap:8px;margin:12px 0;padding:10px 12px;border:1px solid #dcefe6;border-radius:8px;background:#f2faf6;color:#287b5f;font-size:11px}.invoice-notice button{margin-left:auto;border:0;background:transparent;color:inherit;cursor:pointer}.invoice-detail-total{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;margin:18px 0;padding:15px;background:#f6f8fb;border-radius:9px}.invoice-detail-grid>div,.invoice-detail-total>div{display:flex;flex-direction:column;gap:5px}.invoice-detail-grid small,.invoice-detail-total small{font-size:10px;color:#8b98aa}.invoice-detail-total strong{font:700 21px Inter;color:#30425e}.invoice-detail-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px;padding-bottom:16px;border-bottom:1px solid #edf0f4}.invoice-detail-grid strong{font-size:11px;color:#435571}.invoice-detail-line{display:flex;justify-content:space-between;padding:15px 0;font-size:11px;color:#6e7e94;border-bottom:1px solid #edf0f4}.invoice-detail-line strong{color:#40536f}.invoice-detail-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px}.invoice-detail-actions>div{display:flex;gap:8px}.invoice-detail-modal{max-width:540px}.invoice-create-modal{max-width:520px}@media(max-width:1000px){.invoice-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.invoice-metrics{gap:7px}.invoice-metrics>article{padding:11px;gap:7px}.invoice-metrics strong{font-size:15px}.invoice-metric-icon{width:29px;height:29px}.invoice-workflow{padding:12px}.invoice-workflow-head{align-items:flex-start;flex-direction:column}.invoice-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-register-head{align-items:flex-start;flex-direction:column;padding:14px}.invoice-register-actions{width:100%;justify-content:space-between}.invoice-register-actions select{flex:1 1}.invoice-detail-total strong{font-size:18px}}.payment-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px;margin-bottom:14px}.payment-metrics article{display:flex;flex-direction:column;gap:5px;padding:15px 17px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}.payment-metrics small{font-size:10px;color:#8793a6}.payment-metrics strong{font:700 21px Inter;color:#30425e}.payment-metrics span{font-size:9px;color:#98a3b2}.payment-reconcile{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;margin-bottom:14px;border:1px solid #e7ebf2;border-radius:10px;background:linear-gradient(110deg,#f7f9fd,#fff)}.payment-reconcile>div:first-child{max-width:560px}.payment-reconcile h2{margin:5px 0;font:700 14px Inter;color:#344761}.payment-reconcile p{margin:0;font-size:10px;line-height:1.5;color:#8391a5}.payment-reconcile-stats{display:flex;gap:22px}.payment-reconcile-stats>div{display:flex;flex-direction:column;gap:4px}.payment-reconcile-stats strong{font:700 17px Inter;color:#405571;white-space:nowrap}.payment-reconcile-stats span{font-size:9px;color:#94a0b0}.payment-register{overflow:hidden}.payment-register-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px 13px}.payment-register-head h2{margin:0;font:700 15px Inter;color:#30425e}.payment-register-head p{margin:5px 0 0;font-size:10px;color:#8995a7}.payment-filters{display:flex;align-items:center;gap:10px}.payment-filters select{height:33px;padding:0 10px;border:1px solid #e5eaf1;border-radius:7px;background:#fff;color:#53637b;font:500 10px Inter,sans-serif}.payment-filters span{font-size:10px;color:#8d99aa;white-space:nowrap}.payment-table{min-width:1050px}.payment-table td,.payment-table th{padding:12px}.payment-row{cursor:pointer}.payment-row:hover{background:#f9fbfe}.payment-row td:first-child strong{display:block;font-size:11px;color:#40536f}.payment-invoice{font-size:10px;color:#4d70b5}.unallocated-label{font-size:10px;font-weight:650;color:#ad792e}.payment-reference{font-size:10px;color:#7d8ba0;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.payment-status{display:inline-flex;align-items:center;gap:6px;padding:5px 7px;border-radius:5px;font-size:9px;font-weight:650;white-space:nowrap;background:#f0f2f6;color:#78869a}.payment-status i{width:6px;height:6px;border-radius:50%;background:currentColor}.payment-status.matched{background:#eaf7f1;color:#258565}.payment-status.unmatched{background:#fff6e8;color:#a87931}.payment-status.needs-review{background:#fff0ed;color:#c45e50}@media(max-width:1000px){.payment-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.payment-metrics{gap:7px}.payment-metrics article{padding:11px}.payment-metrics strong{font-size:17px}.payment-reconcile{align-items:flex-start;flex-direction:column;padding:13px}.payment-reconcile-stats{width:100%;justify-content:space-between}.payment-register-head{align-items:flex-start;flex-direction:column;padding:14px}.payment-filters{width:100%;justify-content:space-between}.payment-filters select{flex:1 1}}:root{--bg:#f7f8fa;--surface:#ffffff;--surface-raised:#ffffff;--surface-subtle:#f9fafb;--text:#182230;--muted:#667085;--line:#e4e7ec;--line-strong:#d0d5dd;--blue:#315fba;--blue-strong:#254f9f;--blue-soft:#eef4ff;--navy:#17243a;--green:#16845d;--amber:#a96d16;--red:#c2413a;--shadow:0 1px 2px rgba(16,24,40,.035),0 4px 12px rgba(16,24,40,.025);--shadow-raised:0 8px 24px rgba(16,24,40,.08);--radius-sm:6px;--radius-md:8px;--radius-lg:10px;--focus-ring:0 0 0 3px rgba(49,95,186,.18)}body,html{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text);background:var(--bg);font-feature-settings:"cv11","ss01";font-size:14px}button,input,select,textarea{font-family:inherit}[role=button]:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #6b91d6;outline-offset:2px}.sidebar{width:248px;padding:20px 14px 14px;background:#182538;border-right:1px solid #26364c}.main-area{margin-left:248px}.brand-mark{border-radius:9px;box-shadow:none;background:#315fba}.workspace-switcher{border-radius:8px;background:#223249;border-color:#34465e}.nav-group{margin-bottom:19px}.nav-heading{font-size:9px;letter-spacing:.09em;color:#91a0b5;padding-left:10px}.nav-item{height:36px;border-radius:7px;gap:10px;font-size:12px}.nav-item.active{background:#2a4161;color:#fff;box-shadow:inset 2px 0 0 #8eafff}.nav-item.active svg{color:#b5cbff}.topbar{height:62px;padding:0 30px;background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.page-content{padding:28px 30px 22px}.welcome-row{margin-bottom:21px}.welcome-row h1{font-family:Inter,sans-serif;font-size:26px;letter-spacing:-.7px;color:#182230}.welcome-row p{color:#667085;font-size:13px}.eyebrow{font-size:9px;letter-spacing:.085em;color:#667085}.admin-summary-card,.client-stat,.invoice-metrics>article,.metric-card,.panel,.payment-metrics article,.report-kpi{border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);background:var(--surface)}.panel{padding:17px 18px}.metric-card{border-radius:10px;box-shadow:var(--shadow)}.invoice-register-head h2,.panel-title,.payment-register-head h2,.report-panel-head h2{font-family:Inter,sans-serif;color:#243247}.panel-header p{color:#667085}.button{height:36px;border-radius:7px;font-size:12px;font-weight:600;transition:background .15s,border-color .15s,box-shadow .15s}.button-primary{background:#315fba;border-color:#315fba;box-shadow:none}.button-primary:hover{background:#254f9f;border-color:#254f9f}.button-secondary{background:#fff;border-color:#d0d5dd;color:#344054}.button-secondary:hover{background:#f9fafb;border-color:#98a2b3}.icon-button{border-radius:7px}.icon-button:hover{background:#f2f4f7;color:#344054}.global-search{height:34px;border-radius:7px;background:#f9fafb;border-color:#e4e7ec}.global-search:focus-within{border-color:#8aa7dc;box-shadow:var(--focus-ring);background:#fff}.data-table{border-collapse:separate;border-spacing:0}.data-table th{color:#667085;background:#fafbfc;border-bottom:1px solid var(--line);font-size:9px;letter-spacing:.055em}.data-table td{border-bottom:1px solid #eef0f3;color:#475467}.data-table tbody tr:hover{background:#fafbfc}.admin-tabs button.active,.client-tabs button.selected,.segmented-control-like button.active{background:var(--blue-soft);color:var(--blue)}.admin-tabs button,.client-tabs button{border-radius:6px}.admin-summary-card strong,.client-stat strong,.invoice-metrics strong,.payment-metrics strong,.report-kpi strong{font-family:Inter,sans-serif;color:#243247}input,select,textarea{accent-color:#315fba}.admin-filter,.client-form input,.client-form select,.compliance-select,.doc-review-actions textarea,.invoice-register-actions select,.payment-filters select,.portal-preview-head select,.report-filters select,.role-select{border-color:#d0d5dd;border-radius:7px;color:#344054}.admin-filter:focus,.client-form input:focus,.client-form select:focus,.compliance-select:focus,.doc-review-actions textarea:focus,.invoice-register-actions select:focus,.payment-filters select:focus,.portal-preview-head select:focus,.report-filters select:focus,.role-select:focus{outline:0;border-color:#8aa7dc;box-shadow:var(--focus-ring)}.quick-modal{border-radius:12px;box-shadow:var(--shadow-raised)}.modal-backdrop{background:rgba(16,24,40,.48);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.metric-more-menu,.popover{border-color:var(--line);border-radius:9px;box-shadow:var(--shadow-raised)}.count-pill{background:#f2f4f7;color:#475467}.panel-link,.text-action{color:#315fba}.panel-link:hover,.text-action:hover{color:#254f9f}.client-note,.invoice-notice,.report-insight{border-radius:8px}.lead-card,.mywork-task{border-radius:8px;box-shadow:0 1px 2px rgba(16,24,40,.035)}.lead-lane,.mywork-column{border-radius:8px;background:#f8f9fb;border-color:#eaecf0}.calendar-workspace{border-radius:10px;box-shadow:var(--shadow)}@media(max-width:1200px){.sidebar{width:225px}.main-area{margin-left:225px}}@media(max-width:950px){.sidebar{transform:translateX(-100%)}.main-area{margin-left:0}}@media(max-width:650px){.topbar{height:58px;padding:0 14px}.page-content{padding:22px 14px 16px}.panel{border-radius:9px}}@media(max-width:520px){.page-content{width:100%;min-width:0;padding-left:12px;padding-right:12px;overflow-x:clip}.metric-grid{grid-template-columns:minmax(0,1fr);gap:10px;width:100%;min-width:0}.metric-card{width:100%;min-width:0;min-height:112px}.metric-bottom,.metric-top{min-width:0}.metric-value{font-size:24px}.content-grid{grid-template-columns:minmax(0,1fr);gap:12px}.content-grid,.content-grid>.panel{width:100%;min-width:0}.content-grid>.activity-panel{grid-column:auto}.main-column,.panel,.side-column{min-width:0;max-width:100%}.priority-row{grid-template-columns:25px minmax(0,1fr) 24px}.chart,.chart-body,.priority-main,.priority-meta,.revenue-svg{min-width:0}}.priority-panel{min-width:0;overflow:hidden}.priority-list,.priority-row{min-width:0;max-width:100%}.priority-row{grid-template-columns:27px minmax(0,1.05fr) minmax(0,.95fr) minmax(58px,.65fr) 24px;gap:8px}.priority-main,.priority-meta,.priority-owner{min-width:0;overflow:hidden}.priority-main span,.priority-main strong,.priority-meta>span,.priority-owner span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.priority-owner{gap:5px;font-size:9px}.priority-owner .avatar{flex:0 0 25px}.engagements-panel{min-width:0;overflow:hidden}.engagements-panel .table-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}.engagements-panel .data-table{width:100%;min-width:620px}.content-grid>.panel{min-width:0;max-width:100%}.expense-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px;margin-bottom:16px}.expense-metrics article{min-width:0;background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:6px}.expense-metrics article>span{font-size:10px;color:#77849a;font-weight:600}.expense-metrics article>strong{font:700 23px Inter;letter-spacing:-.6px;color:#20314d}.expense-metrics article>small{font-size:9px;color:#9aa3b2}.expense-flow{background:#fff;border:1px solid var(--line);border-radius:10px;padding:15px 17px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:16px}.expense-flow>div:first-child{display:flex;flex-direction:column;gap:6px}.expense-flow>div:first-child strong{font-size:12px;color:#2b3c58}.expense-flow-stages{display:flex;align-items:center;gap:8px}.expense-flow-stages button{display:flex;align-items:center;gap:7px;border:1px solid #edf0f5;border-radius:7px;padding:7px 9px;background:#fff;color:#68768c;font-size:10px}.expense-flow-stages button b{display:grid;place-items:center;min-width:20px;height:20px;border-radius:6px;background:#f1f4f8;color:#42536d;font-size:10px}.expense-flow-stages button.active{background:#f2f6ff;border-color:#cbd9f6;color:#315fbd}.expense-register{overflow:hidden}.expense-register-head{padding:17px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}.expense-register-head h2{font:700 15px Inter;color:#243550;margin:0 0 5px}.expense-register-head p{font-size:10px;color:#929bad;margin:0}.expense-register-head>span{font-size:10px;color:#748197;background:#f1f4f8;border-radius:6px;padding:5px 8px}.expense-table{min-width:940px}.expense-table td:first-child small,.expense-table td:first-child strong{display:block}.expense-table td:first-child strong{font-size:10px;color:#33425b}.expense-table td:first-child small{font-size:9px;color:#9aa3b2;margin-top:4px}.expense-table tbody tr{cursor:pointer}.expense-table tbody tr:hover{background:#fafbfe}.expense-amount{font-weight:700;color:#33425b!important}.expense-status{display:inline-flex;align-items:center;gap:6px;font-size:9px;font-weight:600;white-space:nowrap}.expense-status i{width:6px;height:6px;border-radius:50%;background:#9aa3b2}.expense-status.submitted{color:#ad7a28}.expense-status.submitted i{background:#d59a38}.expense-status.approved{color:#3867b7}.expense-status.approved i{background:#5681d8}.expense-status.paid{color:#16845f}.expense-status.paid i{background:#27a47a}.expense-status.rejected{color:#c45f59}.expense-status.rejected i{background:#d96c63}.expense-status.draft{color:#77849a}.expense-status.draft i{background:#9aa3b2}.expense-modal{width:min(560px,100%)}.expense-detail-modal{width:min(520px,100%)}.expense-detail-total{padding:14px 16px;border:1px solid #e9edf4;border-radius:9px;background:#f9fbff;display:flex;flex-direction:column;gap:5px;margin-bottom:16px}.expense-detail-total small{font-size:10px;color:#8793a6}.expense-detail-total strong{font:700 25px Inter;color:#20314d}.expense-detail-modal .invoice-detail-actions>div{display:flex;gap:7px}@media(max-width:1000px){.expense-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.expense-flow{align-items:flex-start;flex-direction:column}.expense-flow-stages{width:100%;flex-wrap:wrap}}@media(max-width:600px){.expense-metrics{gap:8px}.expense-metrics article{padding:12px}.expense-metrics article>strong{font-size:19px}.expense-flow-stages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.expense-flow-stages button{justify-content:space-between}.expense-register-head{align-items:flex-start;padding:14px}.expense-detail-modal,.expense-modal{padding:18px}.expense-detail-modal .invoice-detail-actions{align-items:flex-start;flex-direction:column;gap:12px}}