:root{--bg:#f6f8fb;--surface:#fff;--surface-soft:#f9fafc;--ink:#202a36;--muted:#7c8796;--line:#e8ecf2;--blue:#526ed1;--blue-dark:#405bb9;--blue-soft:#eef2ff;--green:#259b72;--green-soft:#eaf7f1;--amber:#c58b23;--amber-soft:#fff6df;--red:#cc5d62;--red-soft:#fff0f0;--violet:#7865c5;--violet-soft:#f1efff;--shadow:0 4px 18px rgba(26,39,65,.035);--radius:14px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html{min-width:320px;background:var(--bg)}body{margin:0;font-size:14px;font-weight:400;line-height:1.5;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}.icon{display:inline-block;flex:0 0 auto;vertical-align:middle}.app-body{min-height:100vh}.app-shell{min-height:100vh}.sidebar{width:250px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:22px 14px 14px;display:flex;flex-direction:column;z-index:30}.brand-lockup{display:flex;align-items:center;gap:11px;padding:2px 10px 23px;min-width:0}.brand-mark{width:39px;height:39px;border-radius:12px;background:linear-gradient(145deg,#6683e6,#4f67c4);color:white;display:grid;place-items:center;box-shadow:0 5px 12px rgba(82,110,209,.2);flex:0 0 auto}.brand-lockup strong{display:block;font-size:15px;line-height:1.2;font-weight:650;letter-spacing:-.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:162px}.brand-lockup small{display:block;color:#9aa3af;font-size:11px;margin-top:3px;white-space:nowrap}.main-nav{overflow-y:auto;scrollbar-width:thin;padding-bottom:12px}.nav-label{padding:8px 12px 7px;color:#a2aab6;text-transform:uppercase;letter-spacing:.09em;font-size:10px;font-weight:650}.nav-label-spaced{margin-top:13px}.nav-item{display:flex;align-items:center;gap:12px;height:42px;padding:0 12px;margin:2px 0;border-radius:9px;color:#687484;font-size:13px;font-weight:500;transition:background .16s,color .16s}.nav-item .icon{color:#919bab}.nav-item:hover{background:#f7f8fc;color:var(--ink)}.nav-item.active{background:#eef2ff;color:#4964c7;font-weight:600}.nav-item.active .icon{color:#526ed1}.nav-count{margin-left:auto;font-size:10px;background:#fff0ee;color:#c65e59;border-radius:8px;padding:2px 6px;font-weight:600}.sidebar-foot{margin-top:auto;border:1px solid var(--line);border-radius:11px;background:#fbfcfe;padding:11px;display:flex;align-items:center;gap:9px;color:#8a95a4}.sidebar-foot .icon{margin-left:auto}.sidebar-foot strong{display:block;color:#586474;font-size:11px;font-weight:600}.sidebar-foot span{display:block;font-size:10px;margin-top:2px}.sidebar-help-mark{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#eef2ff;color:#526ed1;font-weight:650}.main-panel{margin-left:250px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:65px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:space-between;padding:0 32px;position:sticky;top:0;z-index:15;backdrop-filter:blur(10px)}.breadcrumbs{display:flex;align-items:center;gap:9px;color:#98a2af;font-size:12px}.breadcrumbs .icon{color:#c0c6cf}.breadcrumbs strong{color:#45505e;font-size:12px;font-weight:550}.topbar-right{display:flex;align-items:center;gap:19px}.top-date{font-size:11px;color:#929ba8}.user-chip{display:flex;align-items:center;gap:8px}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#e9edfb;color:#5369b7;font-size:12px;font-weight:650;flex:0 0 auto}.user-chip-copy strong{display:block;font-size:11px;font-weight:600;line-height:1.2}.user-chip-copy small{display:block;font-size:10px;color:#98a2af;margin-top:3px}.icon-button{width:35px;height:35px;border:1px solid transparent;background:transparent;border-radius:9px;color:#8490a0;display:inline-flex;align-items:center;justify-content:center;transition:background .15s,color .15s,border-color .15s}.icon-button:hover{background:#f4f6f9;color:#475363;border-color:#edf0f4}.icon-button.small{width:30px;height:30px;border-color:#edf0f4;background:#fff}.icon-button.small:hover{background:#f5f7fa}.danger-icon:hover{background:var(--red-soft)!important;color:var(--red)!important;border-color:#f6d8d8!important}.menu-toggle{display:none}.logout-form{margin:0}.page-content{width:100%;max-width:1480px;margin:0 auto;padding:30px 32px 36px;flex:1}.app-footer{display:flex;justify-content:space-between;gap:14px;padding:15px 32px 18px;border-top:1px solid var(--line);font-size:10px;color:#a2aab4}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:23px}.page-heading h1{font-size:26px;letter-spacing:-.7px;line-height:1.2;font-weight:600;margin:4px 0 6px;color:#242f3c}.page-heading p{margin:0;color:#8893a1;font-size:12px}.eyebrow{text-transform:uppercase;letter-spacing:.105em;font-size:10px;font-weight:650;color:#8290a3}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;padding:10px 14px;line-height:1.2;font-size:12px;font-weight:550;border:1px solid transparent;white-space:nowrap;transition:all .15s ease}.button-primary{background:var(--blue);color:#fff;box-shadow:0 3px 7px rgba(82,110,209,.12)}.button-primary:hover{background:var(--blue-dark);transform:translateY(-1px)}.button-secondary{background:#fff;color:#657181;border-color:#e3e8ef}.button-secondary:hover{background:#f8f9fb;color:#344151}.button-sm{padding:7px 10px;font-size:11px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:17px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:17px 18px;box-shadow:var(--shadow);min-width:0}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#8792a0;font-size:11px;font-weight:500}.stat-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px}.stat-icon.violet,.quick-icon.violet{background:var(--violet-soft);color:var(--violet)}.stat-icon.blue,.quick-icon.blue{background:var(--blue-soft);color:var(--blue)}.stat-icon.amber{background:var(--amber-soft);color:var(--amber)}.stat-icon.green,.quick-icon.green{background:var(--green-soft);color:var(--green)}.stat-value{display:block;font-size:25px;font-weight:600;letter-spacing:-.7px;margin:10px 0 5px;color:#26313d;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-hint{display:flex;align-items:center;gap:4px;font-size:10px;color:#a0a9b4}.stat-hint .icon{color:#65ad8b}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:15px}.dashboard-grid>.panel{min-width:0}.chart-panel,.tasks-panel,.quick-panel,.recent-panel{padding:19px 20px}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.panel-heading h2{font-size:14px;font-weight:600;letter-spacing:-.15px;margin:0 0 3px;color:#2c3744}.panel-heading p{margin:0;color:#97a1ae;font-size:11px}.text-link{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#5c72c6;font-weight:550;white-space:nowrap}.text-link:hover{color:#354fae}.chart-area{height:192px;display:flex;gap:10px;position:relative;padding-top:4px}.chart-y-labels{height:100%;width:37px;display:flex;flex-direction:column;justify-content:space-between;padding:0 0 23px;text-align:right;font-size:9px;color:#a7afba}.chart-bars{display:flex;align-items:stretch;justify-content:space-around;gap:14px;flex:1;background:repeating-linear-gradient(to bottom,transparent 0,transparent 46px,#f0f2f6 47px,#f0f2f6 48px);padding:0 10px}.chart-column{flex:1;max-width:55px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:9px;color:#a0a9b4;font-size:10px}.bar-track{height:156px;width:25px;display:flex;align-items:flex-end;border-radius:7px 7px 0 0;overflow:hidden}.bar-fill{width:100%;min-height:3px;background:linear-gradient(180deg,#8598ea,#5b73d1);border-radius:6px 6px 1px 1px;transition:height .4s ease}.chart-column:nth-child(2n) .bar-fill{background:linear-gradient(180deg,#a7b4ec,#7a8ddb)}.chart-legend{display:flex;align-items:center;gap:7px;margin:9px 0 0 46px;color:#98a2af;font-size:10px}.legend-dot{width:7px;height:7px;border-radius:50%;background:#667ed9}.task-list{display:flex;flex-direction:column}.task-item{min-height:53px;display:flex;align-items:center;gap:10px;border-top:1px solid #f0f2f5}.task-check{width:16px;height:16px;border:1px solid #d8dee7;border-radius:50%;flex:0 0 auto}.task-copy{min-width:0;flex:1}.task-copy strong{display:block;font-size:11px;font-weight:550;color:#485565;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-copy span{display:block;font-size:9px;color:#a1aab4;margin-top:3px}.status-pill{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:20px;font-size:9px;font-weight:550;white-space:nowrap;background:#f0f3f8;color:#7b8795}.status-pill>span{width:5px;height:5px;border-radius:50%;background:currentColor}.status-pill.green{background:var(--green-soft);color:#428c70}.status-pill.red{background:var(--red-soft);color:#be6468}.status-pill.amber{background:var(--amber-soft);color:#a57b31}.status-pill.blue{background:var(--blue-soft);color:#6175c6}.recent-panel{grid-column:1/-1}.compact-table{min-width:620px}.compact-table th{padding-top:9px;padding-bottom:9px}.compact-table td{padding-top:10px;padding-bottom:10px}.primary-cell{font-size:11px;font-weight:550;color:#35414f}.sub-cell{display:block;font-size:9px;color:#9ba5b1;margin-top:3px;font-weight:400}.quick-actions{display:flex;flex-direction:column}.quick-actions a{display:flex;align-items:center;gap:10px;padding:11px 2px;border-top:1px solid #f0f2f5}.quick-actions a:first-child{border-top:0}.quick-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex:0 0 auto}.quick-actions a>span:nth-child(2){flex:1}.quick-actions strong{display:block;font-size:11px;font-weight:550;color:#4e5a68}.quick-actions small{display:block;color:#a0a9b4;font-size:9px;margin-top:2px}.quick-actions>.icon{color:#b7bec8}.mini-empty{text-align:center;padding:22px 10px;color:#98a2af}.mini-empty-icon{width:35px;height:35px;border-radius:11px;background:#f2f5fa;color:#8291a8;display:grid;place-items:center;margin:0 auto 10px}.mini-empty strong{display:block;color:#5b6878;font-size:12px;font-weight:550}.mini-empty p{font-size:10px;margin:4px 0 10px}.table-panel{overflow:hidden}.table-toolbar{padding:15px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.table-toolbar>div:first-child{color:#97a1ad;font-size:11px}.table-toolbar strong{color:#4b5868;font-weight:600}.table-search{display:flex;align-items:center;gap:8px}.search-box{display:flex;align-items:center;gap:7px;padding:0 10px;height:34px;border:1px solid #e7ebf1;border-radius:8px;color:#9ba5b0;background:#fff}.search-box input{border:0;outline:0;width:170px;color:#526071;font-size:11px;background:transparent}.search-box input::placeholder{color:#aab2bd}.clear-search{font-size:10px;color:#7688cd}.table-scroll{width:100%;overflow-x:auto}.data-table{width:100%;border-collapse:collapse;white-space:nowrap}.data-table th{text-align:left;padding:12px 16px;color:#96a0ad;background:#fafbfd;border-bottom:1px solid #edf0f4;font-size:9px;font-weight:600;letter-spacing:.025em}.data-table td{padding:12px 16px;border-bottom:1px solid #f0f2f5;color:#737f8e;font-size:10px;vertical-align:middle}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fcfdff}.data-table .action-column{text-align:right;width:94px}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.inline-form{display:inline-flex;margin:0}.amount-text{color:#3e4a59;font-size:10px;font-weight:600}.date-cell{color:#778392}.empty-state{text-align:center;padding:60px 20px}.empty-state h3{font-size:15px;font-weight:600;margin:12px 0 4px;color:#455260}.empty-state p{font-size:11px;color:#98a2af;margin:0 0 16px}.empty-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#f0f3fc;color:#687dcc;margin:0 auto}.pagination{padding:13px 17px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:#9aa4b0;font-size:10px}.pagination>div{display:flex;gap:7px}.form-panel{padding:23px 24px;max-width:900px}.form-grid{display:grid;gap:17px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.field-label,.installer-form label,.login-form label{display:flex;flex-direction:column;gap:7px;color:#5f6c7a;font-size:11px;font-weight:550}.field-label>span{font-size:11px}.field-label i{font-style:normal;color:#d27777}.field-label input,.field-label select,.field-label textarea,.installer-form input,.login-form input{width:100%;border:1px solid #e2e7ee;border-radius:8px;background:#fff;padding:10px 11px;min-height:39px;outline:none;color:#3c4856;font-size:11px;font-weight:400;transition:border .15s,box-shadow .15s}.field-label textarea{resize:vertical;min-height:92px;line-height:1.5}.field-label input:focus,.field-label select:focus,.field-label textarea:focus,.installer-form input:focus,.login-form input:focus{border-color:#9aa9e5;box-shadow:0 0 0 3px rgba(82,110,209,.08)}.field-label input::placeholder,.installer-form input::placeholder{color:#adb5bf}.field-full{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;padding-top:19px;margin-top:21px;border-top:1px solid #edf0f4}.input-note{display:block;color:#9aa4b0;font-size:9px;font-weight:400;line-height:1.4}.alert{display:flex;align-items:center;gap:9px;padding:11px 13px;border-radius:9px;font-size:11px;margin-bottom:17px;position:relative}.alert-success{background:#edf8f2;color:#4b8d70;border:1px solid #d9f0e3}.alert-error{background:#fff2f1;color:#b95e60;border:1px solid #f4dddb}.alert-dot{width:7px;height:7px;border-radius:50%;background:currentColor}.alert-dismiss{margin-left:auto;background:none;border:0;color:inherit;font-size:18px;line-height:1}.settings-panel{max-width:820px}.settings-note{border-top:1px solid #edf0f4;margin-top:25px;padding-top:15px;display:flex;flex-direction:column;gap:4px;color:#9ba5b1;font-size:10px}.settings-note strong{color:#616e7c;font-size:11px;font-weight:550}.member-cell{display:flex;align-items:center;gap:9px}.member-cell .avatar{width:30px;height:30px;font-size:11px}.table-footnote{padding:12px 18px;border-top:1px solid #edf0f4;font-size:10px;color:#9ba4b0}.report-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:17px}.report-stat{border:1px solid var(--line);background:#fff;border-radius:12px;padding:15px 17px;box-shadow:var(--shadow)}.report-stat span{display:block;color:#909aa7;font-size:10px}.report-stat strong{display:block;margin-top:8px;color:#34414e;font-size:19px;font-weight:600;letter-spacing:-.4px}.report-heading{padding:17px 18px 0;margin-bottom:14px}.login-body,.installer-body{min-height:100vh;background:#f6f8fc;display:grid;place-items:center;position:relative;overflow:hidden}.login-decoration{position:fixed;border-radius:50%;filter:blur(1px);pointer-events:none}.decor-one{width:460px;height:460px;background:radial-gradient(circle,rgba(108,132,218,.11),rgba(108,132,218,0));top:-180px;right:-100px}.decor-two{width:560px;height:560px;background:radial-gradient(circle,rgba(113,191,161,.09),rgba(113,191,161,0));bottom:-280px;left:-160px}.login-wrap{width:min(100% - 32px,420px);position:relative;z-index:1}.login-brand{padding:0 8px 23px}.login-card,.installer-card{padding:29px;background:#fff;border:1px solid #e8ecf2;border-radius:17px;box-shadow:0 15px 45px rgba(34,49,82,.07)}.login-card h1,.installer-card h1{font-size:23px;line-height:1.25;letter-spacing:-.5px;font-weight:600;margin:6px 0 7px;color:#25303d}.muted{color:#909ba9;font-size:11px;margin:0}.login-form{display:flex;flex-direction:column;gap:15px;margin-top:25px}.login-form label{gap:7px}.login-form input{min-height:43px}.login-submit{width:100%;min-height:42px;margin-top:3px}.login-footnote{display:flex;align-items:center;justify-content:center;gap:7px;color:#a0a9b4;font-size:9px;margin-top:20px}.secure-dot{width:6px;height:6px;border-radius:50%;background:#61ad8b}.login-copyright{text-align:center;color:#a6aeb8;font-size:9px;margin:17px 0}.login-card .alert{margin-top:18px;margin-bottom:-7px}.installer-wrap{width:min(100% - 28px,650px);position:relative;z-index:1;padding:28px 0}.installer-brand{padding:0 4px 17px}.installer-card{padding:27px 30px}.installer-card h1{margin-top:5px}.installer-form{display:flex;flex-direction:column;gap:14px;margin-top:20px}.installer-form label{gap:6px}.installer-form input{min-height:38px}.installer-form .form-hint{margin-top:-7px}.form-section-title{font-size:10px;color:#8693a4;text-transform:uppercase;letter-spacing:.09em;font-weight:650;padding-top:8px;border-top:1px solid #edf0f4}.form-section-title:first-of-type{border:0;padding-top:0}.form-grid.two label{min-width:0}.form-hint{font-size:9px;color:#9aa4b0;line-height:1.45}.install-submit{width:100%;margin-top:5px;min-height:43px}.installer-foot{text-align:center;color:#a6aeb8;font-size:9px;margin:13px 0}.requirements{display:flex;flex-direction:column;gap:0;border:1px solid #edf0f4;background:#fbfcfe;border-radius:9px;padding:5px 12px;margin:17px 0}.requirement{display:flex;align-items:center;gap:8px;padding:7px 0;color:#768291;font-size:10px;border-bottom:1px solid #eef1f5}.requirement:last-child{border-bottom:0}.requirement>span:last-child{margin-left:auto;font-size:9px}.requirement-dot{width:6px;height:6px;border-radius:50%;background:#69aa88}.requirement.bad .requirement-dot{background:#d3696e}.requirement.bad>span:last-child{color:#c15e61}.requirement.ok>span:last-child{color:#5e9d7e}.installer-form .form-grid{gap:12px}.alert-error ul{margin:0 0 0 15px;padding:0}.alert-error li{padding:2px 0}.sidebar-scrim{display:none}.page-empty{margin:10vh auto}.no-wrap{white-space:nowrap}code{background:#f1f3f7;border:1px solid #e9edf2;padding:2px 5px;border-radius:4px;color:#6b7787;font-size:10px}
@media(max-width:1180px){.sidebar{width:225px}.main-panel{margin-left:225px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1fr) minmax(290px,.9fr)}.topbar{padding:0 24px}.page-content{padding:25px 24px 30px}.app-footer{padding-left:24px;padding-right:24px}}
@media(max-width:900px){.sidebar{transform:translateX(-102%);transition:transform .22s ease;box-shadow:12px 0 30px rgba(25,39,67,.07)}.sidebar.open{transform:translateX(0)}.main-panel{margin-left:0}.menu-toggle{display:inline-flex}.topbar{justify-content:flex-start;gap:13px;padding:0 18px}.topbar-right{margin-left:auto;gap:12px}.sidebar-scrim.visible{display:block;position:fixed;inset:0;background:rgba(28,38,55,.25);z-index:25}.breadcrumbs{gap:5px}.stats-grid{gap:11px}.dashboard-grid{grid-template-columns:1fr}.recent-panel{grid-column:auto}.chart-panel{min-height:290px}.chart-area{height:190px}.report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.topbar{height:57px;padding:0 12px}.breadcrumbs>span,.breadcrumbs>.icon{display:none}.breadcrumbs strong{font-size:11px}.top-date{display:none}.user-chip-copy{display:none}.user-chip{gap:0}.topbar-right{gap:7px}.page-content{padding:21px 13px 24px}.page-heading{align-items:flex-start;margin-bottom:17px;gap:12px}.page-heading h1{font-size:22px}.page-heading p{font-size:10px;max-width:270px}.page-heading>.button{align-self:flex-end;padding:9px 10px;font-size:10px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{padding:13px}.stat-top{font-size:9px;align-items:flex-start}.stat-icon{width:29px;height:29px;border-radius:8px}.stat-value{font-size:21px;margin-top:9px}.stat-hint{font-size:9px}.chart-panel,.tasks-panel,.quick-panel,.recent-panel{padding:15px 13px}.panel-heading{gap:8px}.panel-heading h2{font-size:13px}.panel-heading p{font-size:9px}.text-link{font-size:9px}.table-toolbar{align-items:flex-start;flex-direction:column;padding:13px}.table-search{width:100%}.search-box{flex:1}.search-box input{width:100%}.data-table th{padding:11px 12px}.data-table td{padding:11px 12px}.form-panel{padding:17px 14px}.form-grid.two{grid-template-columns:1fr;gap:14px}.field-full{grid-column:auto}.form-actions{padding-top:14px;margin-top:15px}.app-footer{padding:13px;flex-direction:column;gap:3px}.report-stats{gap:9px}.report-stat{padding:12px}.report-stat strong{font-size:16px}.installer-card{padding:22px 17px}.installer-card h1{font-size:21px}.installer-form .form-grid.two{grid-template-columns:1fr}.login-card{padding:24px 20px}.login-card h1{font-size:21px}.breadcrumbs{min-width:0}.page-heading.dashboard-heading{align-items:center}.dashboard-heading>.button{align-self:center}.pagination{padding:11px 12px}.chart-bars{gap:7px;padding:0 4px}.chart-panel{min-height:276px}}
@media print{.sidebar,.topbar,.app-footer,.button,.table-search,.row-actions,.menu-toggle{display:none!important}.main-panel{margin:0}.page-content{padding:0}.panel,.report-stat,.stat-card{box-shadow:none!important;border-color:#ddd!important}.app-body{background:#fff}.report-stats{grid-template-columns:repeat(4,1fr)}}

.toolbar-actions{display:flex;align-items:center;gap:9px}.user-chip-link{color:inherit}.user-chip-link:hover{opacity:.84}
@media(max-width:600px){.toolbar-actions{width:100%}.toolbar-actions .table-search{flex:1;min-width:0}.toolbar-actions .button{padding-left:9px;padding-right:9px}}

.property-photos-panel{max-width:900px;margin-top:14px;padding:19px 20px}.photo-count{padding:4px 9px;border-radius:20px;background:#f1f3f8;color:#8390a0;font-size:10px}.photo-upload{display:flex;align-items:center;gap:9px;padding:12px;border:1px dashed #dfe5ed;border-radius:10px;background:#fbfcfe;margin-bottom:15px}.photo-picker{position:relative;display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #e2e7ee;border-radius:8px;background:#fff;color:#657282;font-size:10px;cursor:pointer;overflow:hidden}.photo-picker .icon{color:#6277cd}.photo-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.photo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.photo-card{margin:0;border:1px solid #e9edf2;border-radius:9px;overflow:hidden;background:#fff;min-width:0}.photo-card img{display:block;width:100%;aspect-ratio:1.25/1;object-fit:cover;background:#f3f5f8}.photo-card figcaption{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:5px 7px;color:#85909d;font-size:9px;min-width:0}.photo-card figcaption>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-card figcaption form{margin:0}.photos-empty{padding:19px 0 5px;text-align:center;color:#a0a9b4;font-size:10px}
@media(max-width:900px){.photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.property-photos-panel{padding:15px 12px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-upload{align-items:stretch;flex-direction:column}.photo-upload .button{width:100%}}

/* Higher-contrast workspace palette */
:root{--bg:#edf2f8;--surface:#fff;--surface-soft:#f4f7fb;--ink:#1b2738;--muted:#657387;--line:#dce4ef;--blue:#4966cf;--blue-dark:#3854b5;--blue-soft:#e9efff;--green:#16835f;--green-soft:#e5f5ee;--amber:#a96a0b;--amber-soft:#fff1d8;--red:#bd454b;--red-soft:#ffebeb;--violet:#6554b6;--violet-soft:#edeaff;--shadow:0 6px 20px rgba(29,48,78,.065)}
body.app-body{background:var(--bg);color:var(--ink)}
.sidebar{background:linear-gradient(180deg,#19263d 0%,#22334f 100%);border-right:1px solid #2d3e5a;color:#f2f6ff}
.brand-lockup strong{color:#f7f9ff}.brand-lockup small{color:#aebbd0}
.sidebar .brand-mark{background:linear-gradient(145deg,#6f8bfa,#4e67cf);box-shadow:0 7px 18px rgba(57,81,177,.34)}
.nav-label{color:#9cabc2}
.nav-item{color:#c4cede}
.nav-item .icon{color:#99a9c2}
.nav-item:hover{background:rgba(255,255,255,.08);color:#fff}
.nav-item:hover .icon{color:#dce6ff}
.nav-item.active{background:linear-gradient(90deg,rgba(104,133,239,.28),rgba(104,133,239,.12));color:#fff;font-weight:600;box-shadow:inset 3px 0 #8ea5ff}
.nav-item.active .icon{color:#a9baff}
.nav-count{background:#e0e8ff;color:#334fae}
.sidebar-foot{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.1);color:#edf2ff}
.sidebar-foot strong{color:#edf2ff}.sidebar-foot span{color:#aebbd0}.sidebar-help-mark{background:#344766;color:#d9e3ff}
.main-panel{background:var(--bg)}
.topbar{background:rgba(255,255,255,.94);border-bottom-color:#dce4ef;box-shadow:0 2px 10px rgba(28,45,75,.035)}
.breadcrumbs span,.top-date{color:#657387}.breadcrumbs strong{color:#26364c}
.page-content{color:var(--ink)}
.page-heading h1{color:#1a273a;letter-spacing:-.025em}
.page-heading p,.muted{color:#657387}
.panel,.stat-card{border-color:#dce4ef;box-shadow:0 6px 20px rgba(29,48,78,.055)}
.panel{background:#fff}
.stat-card{border-top:3px solid #8aa0ef;background:linear-gradient(145deg,#fff 30%,#f2f5ff 100%)}
.stat-card:nth-child(2){border-top-color:#58a6d3;background:linear-gradient(145deg,#fff 30%,#eef8fc 100%)}
.stat-card:nth-child(3){border-top-color:#d89a39;background:linear-gradient(145deg,#fff 30%,#fff7e9 100%)}
.stat-card:nth-child(4){border-top-color:#4ca985;background:linear-gradient(145deg,#fff 30%,#eef9f3 100%)}
.stat-top{color:#526176}.stat-value{color:#18263b}.stat-hint{color:#657387}
.stat-icon.blue,.quick-icon.blue{background:#e4edff;color:#3857bd}
.stat-icon.violet,.quick-icon.violet{background:#ece8ff;color:#6450b4}
.stat-icon.amber,.quick-icon.amber{background:#fff0d5;color:#a96a0b}
.stat-icon.green,.quick-icon.green{background:#e1f4eb;color:#167752}
.data-table thead th{background:#f0f4fa;color:#526176;border-bottom-color:#dce4ef}
.data-table td{border-bottom-color:#e5eaf2;color:#35445a}
.data-table tbody tr:hover{background:#f7f9fd}
.primary-cell,.amount-text{color:#1c2b40}.sub-cell,.date-cell{color:#657387}
.table-toolbar{border-bottom-color:#e1e7f0}.table-toolbar>div strong{color:#26364c}.table-toolbar>div span{color:#657387}
.button-primary{background:linear-gradient(135deg,#536fda,#405bc2);box-shadow:0 4px 11px rgba(64,91,194,.2)}
.button-primary:hover{background:linear-gradient(135deg,#4864cc,#354fae);box-shadow:0 6px 14px rgba(64,91,194,.25)}
.button-secondary{background:#fff;border-color:#d6deea;color:#485a72}
.button-secondary:hover{background:#f2f5fa;border-color:#c6d1e1;color:#273851}
.icon-button{color:#5b6a80}.icon-button:hover{background:#edf2fa;color:#3f5dbd}
.field-label>span,.settings-panel label,.installer-form label,.login-form label{color:#394a61}
input,select,textarea{border-color:#d3dce9;background:#fff;color:#1e2b3f}
input::placeholder,textarea::placeholder{color:#8996a8}
input:focus,select:focus,textarea:focus{border-color:#7188e3;box-shadow:0 0 0 3px rgba(83,111,218,.13)}
.status-pill{font-weight:600}.status-pill.blue{background:#e6efff;color:#3556af}.status-pill.green{background:#e2f5eb;color:#176c4c}.status-pill.amber{background:#fff1d9;color:#965f09}.status-pill.red{background:#ffebeb;color:#a83b43}
.alert-success{background:#e7f6ed;border-color:#b9e3cb;color:#1e714f}.alert-error{background:#fff0ef;border-color:#f2c8c4;color:#9c3634}
.chart-panel,.tasks-panel,.recent-panel,.quick-panel{box-shadow:0 6px 20px rgba(29,48,78,.055)}
.bar-fill{background:linear-gradient(180deg,#7089ec,#4f67ce)}
.quick-actions a:hover{background:#f3f6fc}
.empty-icon{background:#e8eeff;color:#4863c8}
.app-footer{color:#748197}
@media(max-width:900px){.sidebar{box-shadow:14px 0 32px rgba(12,25,47,.22)}}

/* Refined light workspace: keep the familiar sidebar and add subtle interaction states. */
:root{--bg:#edf1f7;--line:#d9e2ee;--shadow:0 7px 22px rgba(28,47,77,.06)}
body.app-body{background:var(--bg)}
.main-panel{background:radial-gradient(ellipse at 78% 0%,rgba(92,119,208,.055),transparent 36%),var(--bg)}
.sidebar{background:linear-gradient(180deg,#fff 0%,#fcfdff 100%);border-right:1px solid #dce4ef;color:#35445a;box-shadow:4px 0 18px rgba(30,48,77,.025)}
.brand-lockup strong{color:#23334b}.brand-lockup small{color:#8794a7}
.sidebar .brand-mark{background:linear-gradient(145deg,#6e87e5,#4e67c7);box-shadow:0 6px 15px rgba(73,102,207,.24)}
.nav-label{color:#8794a7}
.nav-item{position:relative;color:#59697e;transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}
.nav-item .icon{color:#8290a4;transition:color .18s ease,transform .18s ease}
.nav-item:hover{background:linear-gradient(90deg,#edf2ff,#f7f9ff);color:#293c5c;transform:translateX(2px);box-shadow:inset 0 0 0 1px rgba(82,110,209,.06)}
.nav-item:hover .icon{color:#4966cf;transform:scale(1.06)}
.nav-item.active{background:linear-gradient(100deg,#e9efff,#f3f6ff 78%,#f8faff);color:#3c57b0;font-weight:600;box-shadow:inset 3px 0 #607bd8,0 2px 7px rgba(57,81,150,.045)}
.nav-item.active .icon{color:#4b66c4}
.nav-count{background:#fff0ee;color:#b94e4e}
.sidebar-foot{background:linear-gradient(135deg,#f3f6ff,#fbfcff);border-color:#e0e7f1;color:#738198;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.sidebar-foot:hover{border-color:#cbd6f0;box-shadow:0 4px 12px rgba(54,78,142,.07);transform:translateY(-1px)}
.sidebar-foot strong{color:#42536c}.sidebar-foot span{color:#7d8ba0}.sidebar-help-mark{background:#e6ecff;color:#4c66c2}
.nav-label-spaced{margin-top:15px}
.topbar{background:rgba(250,252,255,.95)}
.page-heading .eyebrow{color:#5b75c7}
.stat-card,.quick-actions a,.button,.icon-button{transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease,border-color .18s ease}
.stat-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(32,52,89,.11);border-color:#cdd7eb}
.quick-actions a{border-radius:10px;padding-left:7px;padding-right:7px}
.quick-actions a:hover{background:linear-gradient(90deg,#f0f4ff,#f8faff);transform:translateX(2px)}
.button:active,.icon-button:active{transform:translateY(0) scale(.98)}
.button-primary{background:linear-gradient(135deg,#5a76df,#405bc2);box-shadow:0 4px 12px rgba(64,91,194,.2)}
.button-primary:hover{background:linear-gradient(135deg,#4e69d1,#354fae);box-shadow:0 7px 16px rgba(64,91,194,.25)}
.module-form-panel{max-width:1040px;padding:23px 25px;border-top:3px solid #8297e6;box-shadow:0 8px 24px rgba(32,52,89,.065)}
.module-form-intro{display:flex;align-items:center;gap:12px;padding:0 0 17px;margin:0 0 21px;border-bottom:1px solid #e5eaf2}
.module-form-icon{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px;background:linear-gradient(145deg,#e6ecff,#f0f4ff);color:#4b66c4}
.module-form-intro-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.module-form-intro-copy strong{color:#293951;font-size:13px;font-weight:600}
.module-form-intro-copy span{color:#738198;font-size:10px}
.form-required-note{margin-left:auto;padding:5px 9px;border:1px solid #e5eaf2;border-radius:20px;background:#f8faff;color:#738198;font-size:9px;white-space:nowrap}
.form-required-note i{font-style:normal;color:#ca656a;font-weight:700}
.module-form-panel .form-grid.two{gap:18px 22px}
.field-label{transition:color .15s ease}
.field-label:focus-within>span{color:#405bb5}
.field-label input:hover,.field-label select:hover,.field-label textarea:hover{border-color:#c1cce0}
.field-label input:focus,.field-label select:focus,.field-label textarea:focus{border-color:#6e84db;box-shadow:0 0 0 3px rgba(82,110,209,.12)}
.field-label input[type=file]{padding:8px;background:#fbfcff}
.form-actions{background:linear-gradient(180deg,rgba(255,255,255,0),#fbfcff);border-top-color:#e2e8f1}
.module-form-panel .form-actions{margin-left:-25px;margin-right:-25px;margin-bottom:-23px;padding:15px 25px 20px}
.nav-item:focus-visible,.button:focus-visible,.icon-button:focus-visible,.photo-picker:focus-within{outline:3px solid rgba(82,110,209,.28);outline-offset:2px}
@media(max-width:900px){.sidebar{box-shadow:10px 0 28px rgba(27,43,69,.15)}}
@media(max-width:600px){.module-form-panel{padding:17px 14px}.module-form-intro{gap:9px;padding-bottom:14px;margin-bottom:17px}.module-form-icon{width:34px;height:34px}.module-form-intro-copy strong{font-size:12px}.module-form-intro-copy span{font-size:9px}.form-required-note{padding:4px 7px;font-size:8px}.module-form-panel .form-grid.two{gap:14px}.module-form-panel .form-actions{margin-left:-14px;margin-right:-14px;margin-bottom:-17px;padding:13px 14px 16px}.module-page-heading>.button{font-size:9px;padding:8px 9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
.module-form-page{width:100%;max-width:1080px;margin:0 auto}
.module-form-panel{width:100%;max-width:none;min-height:480px}
.property-photos-panel{width:100%;max-width:none}
.module-form-panel .field-label input,.module-form-panel .field-label select{min-height:42px}
.dashboard-heading{position:relative;align-items:center;padding:20px 22px;margin-bottom:19px;border:1px solid #d7e0ef;border-left:4px solid #6980db;border-radius:16px;background:linear-gradient(112deg,#fff 0%,#f7f9ff 67%,#edf2ff 100%);box-shadow:0 8px 22px rgba(32,52,89,.065);overflow:hidden}
.dashboard-heading::after{content:"";position:absolute;right:13%;top:-100px;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(115,140,224,.13),rgba(115,140,224,0) 70%);pointer-events:none}
.dashboard-heading>div,.dashboard-heading-actions{position:relative;z-index:1}
.dashboard-heading h1{font-size:24px;letter-spacing:-.6px;margin-top:5px}
.dashboard-heading-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.dashboard-date-chip{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #dce4f0;border-radius:9px;background:rgba(255,255,255,.82);color:#68788f;font-size:10px;white-space:nowrap}
.dashboard-date-chip .icon{color:#687fd3}
.dashboard-grid{gap:16px}
.chart-panel,.tasks-panel,.recent-panel,.quick-panel{border-color:#dce3ef;box-shadow:0 7px 20px rgba(29,48,78,.055)}
@media(max-width:900px){.dashboard-heading{padding:17px 18px}.dashboard-heading h1{font-size:22px}}
@media(max-width:600px){.module-form-page{max-width:none}.module-form-panel{min-height:440px}.page-heading.dashboard-heading{align-items:flex-start!important;flex-direction:column;padding:16px 14px;gap:13px}.dashboard-heading h1{font-size:20px}.dashboard-heading-actions{width:100%;justify-content:space-between}.dashboard-date-chip{padding:7px 8px;font-size:9px}.dashboard-heading-actions>.button{align-self:center;font-size:10px}}

/* CRM workspace controls and lead pipeline */
.nav-group{display:flex;flex-direction:column}
.nav-group[hidden],.nav-item[hidden]{display:none!important}
.sidebar-search{height:37px;display:flex;align-items:center;gap:8px;margin:0 5px 12px;padding:0 9px;border:1px solid #e1e7f0;border-radius:9px;background:#f8faff;color:#7c8aa0;transition:border-color .16s,box-shadow .16s,background .16s}
.sidebar-search:focus-within{border-color:#aab8e8;background:#fff;box-shadow:0 0 0 3px rgba(82,110,209,.09)}
.sidebar-search input{width:100%;min-width:0;border:0!important;outline:0;background:transparent!important;box-shadow:none!important;color:#34445c;font-size:11px;padding:0}
.sidebar-search input::placeholder{color:#9aa6b8}
.sidebar-search kbd{flex:0 0 auto;border:1px solid #dce3ee;border-radius:4px;background:#fff;padding:1px 5px;color:#8995a6;font:10px ui-monospace,monospace}
.main-nav{display:flex;flex-direction:column;gap:2px}
.page-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.quick-create{position:relative;z-index:20}
.quick-create>summary{display:flex;align-items:center;gap:7px;height:35px;padding:0 11px;border:1px solid #dce4f1;border-radius:9px;background:linear-gradient(135deg,#f0f4ff,#e7edff);color:#425db8;font-size:11px;font-weight:600;list-style:none;cursor:pointer;transition:transform .16s,box-shadow .16s,background .16s}
.quick-create>summary::-webkit-details-marker{display:none}
.quick-create>summary:hover{background:#e8eeff;box-shadow:0 4px 10px rgba(63,91,181,.12);transform:translateY(-1px)}
.quick-create[open]>summary{box-shadow:0 0 0 3px rgba(82,110,209,.1)}
.quick-create-caret{font-size:14px;line-height:1;color:#7c8ed0}
.quick-create-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:205px;padding:6px;border:1px solid #dfe6f0;border-radius:12px;background:#fff;box-shadow:0 15px 32px rgba(29,46,77,.16);animation:menu-pop .14s ease-out}
.quick-create-menu a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;color:#526278;font-size:11px;transition:background .15s,color .15s}
.quick-create-menu a .icon{color:#6178ca}
.quick-create-menu a:hover{background:#f1f4ff;color:#334c9f}
@keyframes menu-pop{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.stats-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.pipeline-summary-panel{padding:18px 19px 17px;margin:0 0 16px;border-color:#d7e0ed;background:linear-gradient(135deg,#fff 0%,#fff 68%,#f7f9ff 100%)}
.pipeline-summary-panel .panel-heading{align-items:center;margin-bottom:13px}
.pipeline-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.pipeline-summary-stage{display:flex;flex-direction:column;gap:7px;min-width:0;padding:11px 12px;border:1px solid #e2e8f1;border-radius:10px;background:#fbfcfe;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s}
.pipeline-summary-stage:hover{transform:translateY(-2px);border-color:#cdd8ed;background:#fff;box-shadow:0 6px 13px rgba(37,57,93,.07)}
.pipeline-summary-stage[aria-disabled="true"]{cursor:default}
.pipeline-stage-name{display:flex;align-items:center;gap:7px;color:#68788f;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pipeline-summary-stage>strong{color:#23334c;font-size:19px;line-height:1.05;font-weight:600;letter-spacing:-.3px}
.kanban-stage-dot{width:8px;height:8px;border-radius:50%;background:#6780da;flex:0 0 auto}
.kanban-stage-dot.green,.pipeline-progress i.green{background:#188463}
.kanban-stage-dot.amber,.pipeline-progress i.amber{background:#c28622}
.kanban-stage-dot.red,.pipeline-progress i.red{background:#bd5458}
.kanban-stage-dot.blue,.pipeline-progress i.blue{background:#5974d1}
.kanban-stage-dot.violet,.pipeline-progress i.violet{background:#7461bf}
.pipeline-progress{display:block;height:4px;border-radius:10px;background:#e8edf5;overflow:hidden}
.pipeline-progress i{display:block;height:100%;min-width:0;border-radius:inherit;background:#5974d1;transition:width .3s ease}
.board-page-heading{align-items:center}
.board-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.board-search{display:flex;align-items:center;gap:8px;width:min(100%,320px);height:37px;padding:0 10px;border:1px solid #dce4ef;border-radius:9px;background:#fff;color:#8390a2}
.board-search:focus-within{border-color:#8da0e1;box-shadow:0 0 0 3px rgba(82,110,209,.1)}
.board-search input{width:100%;border:0;outline:0;background:transparent;font-size:11px;color:#34445a;box-shadow:none!important}
.board-search input::placeholder{color:#9aa6b6}
.board-total{color:#5e6e85;font-size:10px;font-weight:600}
.board-total span{color:#8d99a9;font-weight:400}
.board-message{margin:0 0 11px;padding:9px 12px;border:1px solid #d5eadf;border-radius:8px;background:#eff8f3;color:#367552;font-size:10px}
.board-message.is-error{border-color:#f0d4d2;background:#fff3f2;color:#a64a4b}
.kanban-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(240px,1fr);gap:11px;align-items:start;overflow-x:auto;padding:1px 2px 13px;scroll-snap-type:x proximity;scrollbar-color:#bdc9dd #edf1f7;scrollbar-width:thin}
.kanban-column{min-width:0;min-height:390px;border:1px solid #dce4ef;border-radius:12px;background:#f1f4f9;padding:8px;scroll-snap-align:start;transition:border-color .16s,background .16s,box-shadow .16s}
.kanban-column.is-drop-target{border-color:#7790df;background:#eaf0ff;box-shadow:inset 0 0 0 2px rgba(94,122,214,.14)}
.kanban-column-head{display:flex;align-items:center;gap:8px;padding:5px 4px 9px}
.kanban-column-head h2{margin:0;color:#43536b;font-size:10px;font-weight:600;line-height:1.25;flex:1}
.kanban-count{min-width:23px;padding:3px 6px;border-radius:20px;background:#e2e8f2;color:#596a82;font-size:9px;font-weight:600;text-align:center}
.kanban-cards{display:flex;flex-direction:column;gap:8px;max-height:calc(100vh - 285px);min-height:87px;overflow-y:auto;padding:1px 1px 4px;scrollbar-width:thin;scrollbar-color:#c8d1df transparent}
.kanban-empty{padding:18px 8px;border:1px dashed #d5deea;border-radius:9px;color:#9aa5b4;font-size:9px;text-align:center}
.lead-card{padding:11px;border:1px solid #dfe6ef;border-radius:10px;background:#fff;box-shadow:0 2px 7px rgba(28,47,77,.035);cursor:grab;transition:transform .16s,border-color .16s,box-shadow .16s,opacity .16s}
.lead-card:hover{transform:translateY(-1px);border-color:#c9d4e7;box-shadow:0 6px 14px rgba(28,47,77,.09)}
.lead-card[draggable="false"]{cursor:default}
.lead-card.is-dragging{opacity:.48;transform:rotate(1deg)}
.lead-card.is-saving{opacity:.62;pointer-events:none}
.lead-card-top{display:flex;align-items:center;justify-content:space-between;gap:7px}
.lead-card-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#263750;font-size:11px;font-weight:600}
.lead-card-name:hover{color:#4562bd}
.lead-drag-handle{display:grid;place-items:center;color:#a7b1c0;cursor:grab}
.lead-card-location{display:flex;align-items:center;gap:4px;margin-top:7px;color:#76869b;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lead-card-location .icon{color:#7185ca}
.lead-card-details{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:8px;color:#7b899a;font-size:9px}
.lead-card-details a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lead-card-details strong{flex:0 0 auto;color:#344860;font-size:9px;font-weight:600}
.lead-card-owner{display:flex;align-items:center;gap:6px;margin-top:9px;padding-top:8px;border-top:1px solid #eef1f5;color:#728198;font-size:9px;min-width:0}
.avatar.avatar-small{width:21px;height:21px;background:#edf1fb;color:#5870bd;font-size:9px}
.lead-card-added{margin-left:auto;color:#9aa5b3;font-size:8px}
.lead-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:8px}
.lead-status-pill{padding:3px 7px;font-size:8px}
.lead-stage-form{margin-top:8px;padding-top:8px;border-top:1px solid #eef1f5}
.lead-stage-form label{display:flex;align-items:center;justify-content:space-between;gap:7px;color:#8793a4;font-size:8px}
.lead-stage-select{max-width:142px;min-width:0;height:26px;padding:2px 6px;border:1px solid #e0e6ef;border-radius:6px;background:#fbfcfe;color:#56677f;font-size:8px}
.table-search{align-items:center}
.toolbar-select select{height:34px;min-width:115px;padding:0 8px;border:1px solid #d7e0ec;border-radius:8px;background:#fff;color:#5a6b82;font-size:10px}
.toolbar-search-button{flex:0 0 auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.pipeline-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.kanban-board{grid-auto-columns:minmax(235px,42vw)}}
@media(max-width:700px){.pipeline-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading-actions{width:100%;justify-content:flex-start}.board-page-heading{align-items:flex-start}.board-toolbar{align-items:flex-start;flex-direction:column}.board-search{width:100%;max-width:none}.kanban-board{grid-auto-columns:minmax(240px,78vw)}.kanban-column{min-height:350px}.kanban-cards{max-height:70vh}.quick-create>summary{padding:0 9px}.quick-create>summary>span:not(.quick-create-caret){display:none}}

/* Actionable CRM dashboard and filter controls */
.stat-card-link{display:block;color:inherit;text-decoration:none}
.stat-card-link:hover .stat-hint{color:#4966cf}
.stat-card-link:focus-visible,.dashboard-record-link:focus-visible,.task-item-link:focus-visible{outline:3px solid rgba(82,110,209,.24);outline-offset:2px}
.dashboard-record-link{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.dashboard-record-link:hover .primary-cell{color:#4966cf}
.task-item-link{color:inherit;text-decoration:none;transition:background .15s ease,padding .15s ease}
.task-item-link:hover{padding-left:7px;background:#f8faff}
.task-item-link:hover .task-copy strong{color:#405bb5}
.table-search{flex-wrap:wrap}
.toolbar-select{flex:0 0 auto}
.toolbar-select select{max-width:170px}
.table-toolbar .search-box input{min-width:115px}
@media(max-width:900px){.table-search{justify-content:flex-start}.toolbar-select{flex:1 1 120px}.toolbar-select select{width:100%;max-width:none}.table-toolbar .search-box{flex:1 1 190px;min-width:155px}}
@media(max-width:600px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card-link{min-height:112px}.table-search{gap:7px}.toolbar-search-button{margin-left:auto}}

/* Refined CRM command-center dashboard */
.dashboard-page{display:flex;flex-direction:column;gap:16px}
.dashboard-page>.stats-grid,.dashboard-page>.pipeline-summary-panel{margin-bottom:0}
.dashboard-welcome{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,350px);align-items:stretch;gap:20px;min-height:222px;padding:22px;border:1px solid #d4deee;border-radius:17px;background:linear-gradient(112deg,#fff 0%,#f7f9ff 53%,#eaf0ff 100%);box-shadow:0 9px 25px rgba(29,48,78,.065);overflow:hidden}
.dashboard-welcome::before{content:"";position:absolute;z-index:-1;right:285px;top:-172px;width:410px;height:410px;border:1px solid rgba(92,119,208,.08);border-radius:50%;box-shadow:0 0 0 34px rgba(92,119,208,.025),0 0 0 72px rgba(92,119,208,.02)}
.dashboard-welcome-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;padding:4px 0 4px 3px}
.dashboard-welcome-kicker{display:flex;align-items:center;gap:7px;color:#65789a;font-size:9px;font-weight:700;letter-spacing:.13em}
.dashboard-welcome-kicker>span:nth-child(2){color:#a5afbf}
.welcome-kicker-dot{width:7px;height:7px;border-radius:50%;background:#5975d3;box-shadow:0 0 0 4px rgba(89,117,211,.11)}
.dashboard-welcome-copy h1{margin:13px 0 6px;color:#1c2b42;font-size:30px;font-weight:600;line-height:1.16;letter-spacing:-.8px}
.dashboard-welcome-copy>p{margin:0;color:#697990;font-size:12px}
.dashboard-welcome-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:20px}
.dashboard-welcome-actions .button{min-height:37px}
.dashboard-welcome-actions .button-secondary{background:rgba(255,255,255,.78)}
.dashboard-welcome-actions .dashboard-date-chip{margin-left:4px}
.dashboard-snapshot{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;min-width:0;padding:16px 17px 14px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:linear-gradient(140deg,#25395f 0%,#344c80 53%,#4d67b4 100%);color:#fff;box-shadow:0 9px 21px rgba(39,60,111,.18);overflow:hidden}
.dashboard-snapshot::after{content:"";position:absolute;z-index:-1;right:-58px;top:-88px;width:225px;height:225px;border:1px solid rgba(255,255,255,.11);border-radius:50%;box-shadow:0 0 0 24px rgba(255,255,255,.035),0 0 0 52px rgba(255,255,255,.025)}
.snapshot-top{display:flex;align-items:center;gap:9px;min-width:0}
.snapshot-icon{width:33px;height:33px;display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:rgba(255,255,255,.1);color:#dce5ff}
.snapshot-label{display:flex;flex-direction:column;gap:2px;min-width:0}
.snapshot-label small{color:#c2cee9;font-size:8px;font-weight:650;letter-spacing:.1em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.snapshot-label strong{color:#fff;font-size:10px;font-weight:550}
.snapshot-live{display:inline-flex;align-items:center;gap:5px;margin-left:auto;padding:4px 7px;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:rgba(255,255,255,.08);color:#d6e8e3;font-size:8px;white-space:nowrap}
.snapshot-live i{width:5px;height:5px;border-radius:50%;background:#7be0b6;box-shadow:0 0 0 3px rgba(123,224,182,.14)}
.snapshot-main{display:flex;flex-direction:column;gap:2px;margin:11px 0 10px}
.snapshot-main>strong{font-size:39px;font-weight:600;line-height:1;letter-spacing:-1.4px;color:#fff}
.snapshot-main>span{color:#d1dbef;font-size:9px}
.snapshot-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding-top:10px;border-top:1px solid rgba(255,255,255,.15)}
.snapshot-bottom>div{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.snapshot-bottom span{color:#d1dbef;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.snapshot-bottom strong{color:#fff;font-size:12px;font-weight:600;white-space:nowrap}
.dashboard-page .stats-grid{gap:12px}
.dashboard-page .stat-card{position:relative;min-height:122px;padding:15px 16px 14px;border-top:0;border:1px solid #d8e1ed;border-radius:13px;background:#fff;box-shadow:0 5px 16px rgba(29,48,78,.045);overflow:hidden}
.dashboard-page .stat-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#617bd5}
.dashboard-page .stat-card:nth-child(2)::before{background:#40a0bc}
.dashboard-page .stat-card:nth-child(3)::before{background:#cf9638}
.dashboard-page .stat-card:nth-child(4)::before{background:#4b9a7b}
.dashboard-page .stat-card:nth-child(5)::before{background:#7768bc}
.dashboard-page .stat-card:hover{transform:translateY(-2px);border-color:#c7d3e4;box-shadow:0 9px 21px rgba(29,48,78,.085)}
.dashboard-page .stat-top{color:#617188;font-size:10px;font-weight:550}
.dashboard-page .stat-icon{width:32px;height:32px;border:1px solid rgba(84,105,161,.08);border-radius:9px}
.dashboard-page .stat-value{margin:12px 0 5px;color:#1e2d44;font-size:23px;font-weight:600;letter-spacing:-.55px}
.dashboard-page .stat-hint{font-size:9px;color:#8794a7}
.dashboard-page .stat-hint .icon{color:#5d7dd3}
.dashboard-page .pipeline-summary-panel{padding:17px 18px 16px;border:1px solid #d7e0ed;border-radius:14px;background:#fff;box-shadow:0 6px 17px rgba(29,48,78,.045)}
.dashboard-page .pipeline-summary-panel .panel-heading{margin-bottom:13px}
.dashboard-page .pipeline-summary-panel .panel-heading h2{color:#263750;font-size:13px}
.dashboard-page .pipeline-summary-panel .panel-heading p{color:#7a899e;font-size:10px}
.dashboard-page .pipeline-summary-grid{gap:8px}
.dashboard-page .pipeline-summary-stage{padding:10px 11px;border-color:#e0e6ef;background:#fafbfd}
.dashboard-page .pipeline-stage-name{font-size:9px}
.dashboard-page .pipeline-summary-stage>strong{font-size:17px}
.dashboard-page .dashboard-grid{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:14px}
.dashboard-page .dashboard-grid>.panel{border:1px solid #d9e2ee;border-radius:14px;box-shadow:0 6px 17px rgba(29,48,78,.045)}
.dashboard-page .dashboard-grid>.recent-panel{order:1}
.dashboard-page .dashboard-grid>.tasks-panel{order:2}
.dashboard-page .dashboard-grid>.chart-panel{order:3}
.dashboard-page .dashboard-grid>.quick-panel{order:4}
.dashboard-page .panel-heading{margin-bottom:13px}
.dashboard-page .panel-heading h2{color:#263750;font-size:13px}
.dashboard-page .panel-heading p{color:#7f8da1;font-size:10px}
.dashboard-page .data-table thead th{background:#f5f7fb;color:#708097;font-size:8px;letter-spacing:.045em}
.dashboard-page .data-table td{font-size:9px}
.dashboard-page .task-item{min-height:49px}
.dashboard-page .task-copy strong{font-size:10px;color:#34465e}
.dashboard-page .task-copy span{font-size:8px;color:#8795a8}
.dashboard-page .quick-actions a{min-height:47px}
@media(max-width:1000px){.dashboard-welcome{grid-template-columns:minmax(0,1fr) 310px;padding:18px}.dashboard-page .dashboard-grid{grid-template-columns:minmax(0,1fr) minmax(280px,.9fr)}}
@media(max-width:760px){.dashboard-welcome{grid-template-columns:1fr;gap:15px}.dashboard-snapshot{min-height:170px}.dashboard-page .dashboard-grid{grid-template-columns:1fr}.dashboard-page .dashboard-grid>.panel{grid-column:auto}}
@media(max-width:600px){.dashboard-page{gap:11px}.dashboard-welcome{padding:16px 14px;border-radius:14px}.dashboard-welcome-copy h1{margin-top:11px;font-size:23px;letter-spacing:-.55px}.dashboard-welcome-copy>p{font-size:10px;line-height:1.5}.dashboard-welcome-actions{gap:7px;margin-top:15px}.dashboard-welcome-actions .button{min-height:34px;padding:8px 10px;font-size:10px}.dashboard-welcome-actions .dashboard-date-chip{flex:0 0 auto;margin:2px 0 0;padding:7px 8px;font-size:9px}.dashboard-snapshot{min-height:160px;padding:13px;border-radius:11px}.snapshot-main>strong{font-size:34px}.dashboard-page .stats-grid{gap:8px}.dashboard-page .stat-card{min-height:108px;padding:12px 10px 11px;border-radius:11px}.dashboard-page .stat-top{font-size:8px}.dashboard-page .stat-icon{width:28px;height:28px}.dashboard-page .stat-value{margin:9px 0 4px;font-size:19px}.dashboard-page .stat-hint{font-size:8px}.dashboard-page .pipeline-summary-panel{padding:14px 12px;border-radius:12px}.dashboard-page .pipeline-summary-grid{gap:6px}.dashboard-page .pipeline-summary-stage{padding:9px}.dashboard-page .pipeline-stage-name{font-size:8px}.dashboard-page .dashboard-grid>.panel{padding:15px 13px}}

/* Reference-inspired light workspace shell and real estate dashboard */
.sidebar{width:296px;padding:18px 13px 13px;background:#fff;border-right:1px solid #e5e9f1;box-shadow:5px 0 20px rgba(43,57,88,.025)}
.main-panel{margin-left:296px}
.brand-lockup{padding:3px 9px 20px;gap:10px}
.brand-mark{width:40px;height:40px;border-radius:12px;background:linear-gradient(145deg,#805ce4,#5e61cf);box-shadow:0 6px 15px rgba(105,86,201,.22)}
.brand-lockup strong{color:#253149;font-size:15px;font-weight:600}
.brand-lockup small{color:#8994a7;font-size:10px}
.sidebar-search{height:36px;margin:0 3px 9px;border-color:#e6e9f1;background:#f8f9fc;border-radius:9px}
.sidebar-search:focus-within{border-color:#b5a7ed;box-shadow:0 0 0 3px rgba(122,92,218,.09)}
.sidebar-search kbd{border-color:#e1e5ee;color:#929caf}
.main-nav{flex:1;min-height:0;padding:0 0 10px;scrollbar-color:#d9deea transparent}
.nav-group{padding:0 0 6px;margin:0 0 3px;border:0}
.nav-label{padding:9px 9px 7px;color:#8b96a9;font-size:9px;font-weight:700;letter-spacing:.12em}
.nav-label-spaced{margin-top:8px}
.nav-item{position:relative;gap:10px;height:40px;padding:0 9px;margin:2px 0;border:1px solid transparent;border-radius:9px;color:#59677c;font-size:12px;font-weight:450;transition:color .17s ease,background .17s ease,border-color .17s ease,transform .17s ease}
.nav-icon-tile{width:29px;height:29px;display:grid;place-items:center;flex:0 0 auto;border:1px solid transparent;border-radius:8px;transition:transform .17s ease,box-shadow .17s ease}
.nav-icon-tile .icon{width:16px;height:16px}
.nav-icon-tile.tone-violet{color:#7557cf;background:#f0ecff;border-color:#e8e1ff}
.nav-icon-tile.tone-indigo{color:#556ed1;background:#edf1ff;border-color:#e2e8ff}
.nav-icon-tile.tone-blue{color:#4282cf;background:#eaf3ff;border-color:#dfedff}
.nav-icon-tile.tone-teal{color:#268e92;background:#e8f7f5;border-color:#ddf0ed}
.nav-icon-tile.tone-green{color:#328b6d;background:#eaf6ef;border-color:#deefe5}
.nav-icon-tile.tone-amber{color:#b7852e;background:#fff5e5;border-color:#ffefd4}
.nav-icon-tile.tone-rose{color:#c36771;background:#fff0f1;border-color:#ffe4e6}
.nav-icon-tile.tone-slate{color:#78869b;background:#f0f3f7;border-color:#e8edf2}
.nav-item-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav-item:hover{background:#f7f8fc;border-color:#eef0f5;color:#35435b;transform:translateX(2px)}
.nav-item:hover .nav-icon-tile{transform:scale(1.04)}
.nav-item.active{background:#f0edff;border-color:#e7e1ff;color:#5b45b0;font-weight:580;box-shadow:0 3px 8px rgba(109,83,192,.055)}
.nav-item.active::before{position:absolute;left:-1px;top:7px;bottom:7px;width:3px;border-radius:0 4px 4px 0;background:#7858d7;content:""}
.nav-item.active .nav-icon-tile{box-shadow:0 3px 8px rgba(108,80,199,.1)}
.nav-item.active .nav-icon-tile .icon{color:currentColor}
.nav-count{margin-left:auto;min-width:21px;text-align:center;border:1px solid #ffe5db;background:#fff0e9;color:#cb7652;border-radius:7px;padding:2px 6px;font-size:9px;font-weight:650}
.sidebar-bottom{flex:0 0 auto;padding:10px 3px 0;border-top:1px solid #edf0f5;background:#fff}
.sidebar-account{display:flex;align-items:center;gap:9px;padding:5px 5px 9px;color:#344258}
.sidebar-avatar{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:linear-gradient(145deg,#e4eaff,#eee9ff);color:#6157b5;font-size:12px;font-weight:650}
.sidebar-account-copy{min-width:0;flex:1}
.sidebar-account-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#35435a;font-size:11px;font-weight:600}
.sidebar-account-copy small{display:block;margin-top:2px;color:#929caf;font-size:9px}
.sidebar-account-more{color:#9ba5b5}
.sidebar-logout-form{margin:0}
.sidebar-logout-form button{width:100%;height:34px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #e6e9f0;border-radius:8px;background:#fff;color:#707d91;font-size:10px;font-weight:550;transition:background .16s,border-color .16s,color .16s}
.sidebar-logout-form button:hover{border-color:#ffd9d7;background:#fff5f4;color:#bd6267}
.topbar{height:68px;background:rgba(255,255,255,.96);border-bottom-color:#e5e9f1;padding:0 31px}
.topbar-right{gap:15px}
.breadcrumbs{font-size:11px;letter-spacing:.01em}
.breadcrumbs strong{color:#354258;font-weight:570}
.top-date{color:#8994a5;font-size:10px}
.user-chip{padding-left:13px;border-left:1px solid #edf0f5}
.user-chip-copy strong{color:#354258;font-size:10px;font-weight:600}
.user-chip-copy small{color:#929bad;font-size:9px}
.avatar{background:#eeeaff;color:#6857bf}
.notification-button{position:relative;width:34px;height:34px;background:#fff;border-color:#e9ecf3;color:#718097}
.notification-button:hover{background:#f4f1ff;border-color:#e1d9ff;color:#6954c5}
.notification-indicator{position:absolute;right:6px;top:5px;width:7px;height:7px;border:1.5px solid #fff;border-radius:50%;background:#e9846f}
.page-content{max-width:1680px;padding:27px 31px 35px}
.app-footer{padding-left:31px;padding-right:31px;border-top-color:#e7eaf1;color:#929bad}
.dashboard-page{gap:14px}
.dashboard-welcome{grid-template-columns:minmax(0,1fr) 235px;min-height:190px;align-items:center;padding:24px 26px;border-color:#e0e3f0;border-radius:17px;background:linear-gradient(112deg,#fbfaff 0%,#f5f6ff 57%,#eef0ff 100%);box-shadow:0 7px 20px rgba(63,64,116,.055)}
.dashboard-welcome::before{right:170px;top:-175px;width:390px;height:390px;border-color:rgba(117,88,215,.11);box-shadow:0 0 0 33px rgba(117,88,215,.035),0 0 0 68px rgba(117,88,215,.025)}
.dashboard-welcome-copy{padding:0}
.dashboard-welcome-kicker{gap:8px;color:#7c79a4;font-size:9px;font-weight:700;letter-spacing:.12em}
.welcome-kicker-icon{width:25px;height:25px;display:grid;place-items:center;border:1px solid #e2ddfb;border-radius:8px;background:#eeebff;color:#7055cf}
.welcome-kicker-icon .icon{width:14px;height:14px}
.welcome-kicker-dot{display:none}
.dashboard-welcome-copy h1{margin:12px 0 5px;color:#28344d;font-size:27px;font-weight:570;letter-spacing:-.65px}
.dashboard-welcome-copy>p{color:#738099;font-size:11px}
.dashboard-welcome-actions{gap:8px;margin-top:15px}
.dashboard-welcome-actions .button{min-height:34px;padding:8px 12px;font-size:10px}
.button-primary{background:linear-gradient(135deg,#7658d7,#6657cb);box-shadow:0 4px 10px rgba(105,82,195,.17)}
.button-primary:hover{background:linear-gradient(135deg,#6848c7,#594aba)}
.dashboard-welcome-actions .button-secondary{border-color:#e2e3ef;background:rgba(255,255,255,.8);color:#59677f}
.welcome-insight{display:inline-flex;align-items:center;gap:5px;margin-left:4px;color:#78849b;font-size:9px}
.welcome-insight .icon{color:#508d81}
.welcome-insight strong{color:#33445c;font-size:10px;font-weight:650}
.welcome-aside{position:relative;display:flex;min-height:135px;flex-direction:column;align-items:flex-end;justify-content:space-between;overflow:hidden}
.dashboard-date-chip{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #e1e3ef;border-radius:8px;background:rgba(255,255,255,.77);color:#66748c;font-size:9px;white-space:nowrap}
.welcome-aside-art{display:flex;align-items:center;gap:10px;align-self:flex-start;position:relative;z-index:1;margin:4px 0 0 5px}
.welcome-aside-art>div{display:flex;flex-direction:column;gap:2px}
.welcome-aside-art strong{color:#485574;font-size:11px;font-weight:600}
.welcome-aside-art small{color:#8993a8;font-size:9px}
.welcome-art-orbit{position:absolute;z-index:-1;left:-16px;top:-18px;width:64px;height:64px;border:1px solid rgba(117,88,215,.16);border-radius:50%;box-shadow:0 0 0 11px rgba(117,88,215,.04),0 0 0 22px rgba(117,88,215,.025)}
.welcome-art-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid #dfdafa;border-radius:12px;background:#f1efff;color:#7058c9}
.dashboard-page .stats-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.dashboard-page .stat-card{min-height:119px;padding:15px 16px;border:1px solid #e5e7f0;border-radius:13px;box-shadow:0 4px 13px rgba(52,62,98,.035);transition:transform .16s,box-shadow .16s,border-color .16s}
.dashboard-page .stat-card::before{display:none}
.dashboard-page .stat-card.tint-violet{background:#f1efff;border-color:#e8e3fb}
.dashboard-page .stat-card.tint-green{background:#edf8f2;border-color:#e1f0e7}
.dashboard-page .stat-card.tint-amber{background:#fff6e9;border-color:#f7ecd8}
.dashboard-page .stat-card.tint-blue{background:#edf4ff;border-color:#e0ebfa}
.dashboard-page .stat-card.tint-rose{background:#fff2f3;border-color:#f8dfe2}
.dashboard-page .stat-card:hover{transform:translateY(-2px);border-color:#d5d9e8;box-shadow:0 9px 19px rgba(52,62,98,.075)}
.dashboard-page .stat-top{color:#68758b;font-size:10px;font-weight:550}
.dashboard-page .stat-icon{width:34px;height:34px;border:1px solid rgba(255,255,255,.7);border-radius:10px}
.dashboard-page .stat-icon.violet{background:#e7e0ff;color:#7054ca}
.dashboard-page .stat-icon.green{background:#def1e7;color:#328c6b}
.dashboard-page .stat-icon.amber{background:#ffedcf;color:#ac7a28}
.dashboard-page .stat-icon.blue{background:#dfeeff;color:#477dcc}
.dashboard-page .stat-icon.rose{background:#ffe1e5;color:#cf4c5e}
.dashboard-page .stat-value{margin:11px 0 5px;color:#28364d;font-size:24px;font-weight:600;letter-spacing:-.5px}
.dashboard-page .stat-hint{color:#808ba0;font-size:9px}
.dashboard-page .stat-hint .icon{color:#628f82}
.dashboard-overview-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:14px;align-items:stretch}
.dashboard-overview-grid>.panel{min-width:0;min-height:276px;padding:18px 19px;border:1px solid #e2e6ef;border-radius:14px;background:#fff;box-shadow:0 5px 15px rgba(42,56,88,.035)}
.dashboard-page .panel-heading{align-items:center;margin-bottom:14px}
.dashboard-page .panel-heading h2{color:#29374e;font-size:13px;font-weight:600}
.dashboard-page .panel-heading p{color:#8792a6;font-size:9px}
.dashboard-page .text-link{color:#6d59c3;font-size:9px}
.lead-overview-content{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(180px,1.2fr);align-items:center;gap:15px;min-height:190px}
.pipeline-donut-wrap{display:grid;place-items:center;padding:4px}
.pipeline-donut{width:154px;height:154px;display:grid;place-items:center;border-radius:50%;position:relative;box-shadow:0 3px 9px rgba(53,64,100,.08)}
.pipeline-donut::before{position:absolute;inset:17px;border:1px solid #eef0f5;border-radius:50%;background:#fff;content:""}
.pipeline-donut>div{position:relative;display:flex;align-items:center;flex-direction:column;gap:2px}
.pipeline-donut strong{color:#2c3850;font-size:25px;font-weight:600;letter-spacing:-.6px;line-height:1.15}
.pipeline-donut span{color:#8a95a8;font-size:9px}
.pipeline-legend{display:flex;flex-direction:column;min-width:0;max-height:204px;overflow:auto;padding-right:3px;scrollbar-width:thin}
.pipeline-legend-row{display:grid;grid-template-columns:minmax(0,1fr) 34px 37px;align-items:center;gap:8px;min-height:31px;border-bottom:1px solid #f0f2f6;color:#58667c;font-size:9px;transition:background .15s,padding .15s}
.pipeline-legend-row:last-child{border-bottom:0}
.pipeline-legend-row:hover{padding-left:5px;background:#faf9ff}
.pipeline-legend-label{display:flex;align-items:center;gap:7px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pipeline-legend-label i{width:8px;height:8px;flex:0 0 auto;border-radius:3px;background:var(--legend-color)}
.pipeline-legend-row strong{color:#34435b;text-align:right;font-size:10px;font-weight:600}
.pipeline-legend-row small{color:#9aa3b2;text-align:right;font-size:8px}
.followups-panel .panel-heading{margin-bottom:9px}
.followup-list{display:flex;flex-direction:column}
.followup-row{display:flex;align-items:center;gap:10px;min-width:0;padding:8px 3px;border-top:1px solid #f0f2f5;transition:background .15s,padding .15s}
.followup-row:hover{padding-left:7px;background:#fafbff}
.followup-date{width:38px;height:39px;display:flex;flex:0 0 auto;flex-direction:column;align-items:center;justify-content:center;border:1px solid #e5e1fa;border-radius:9px;background:#f3f0ff;color:#7159c5}
.followup-date strong{font-size:13px;line-height:1.1;font-weight:650}
.followup-date small{margin-top:1px;font-size:8px;text-transform:uppercase}
.followup-date.overdue{border-color:#f4ded7;background:#fff3ee;color:#ca7659}
.followup-copy{min-width:0;flex:1}
.followup-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3b4960;font-size:10px;font-weight:580}
.followup-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;color:#929cad;font-size:8px}
.followup-open{color:#a2acbb}
.followup-open .icon{width:14px;height:14px}
.dashboard-page .dashboard-grid{grid-template-columns:minmax(0,1.05fr) minmax(290px,.95fr);gap:14px}
.dashboard-page .dashboard-grid>.panel{border:1px solid #e2e6ef;border-radius:14px;box-shadow:0 5px 15px rgba(42,56,88,.035)}
.dashboard-page .dashboard-grid>.recent-panel{order:1}
.dashboard-page .dashboard-grid>.tasks-panel{order:2}
.dashboard-page .dashboard-grid>.chart-panel{order:3}
.dashboard-page .dashboard-grid>.quick-panel{order:4}
.dashboard-page .data-table thead th{background:#f6f7fb;color:#748198}
.dashboard-page .data-table td{color:#748197}
@media(max-width:1180px) and (min-width:901px){.sidebar{width:248px}.main-panel{margin-left:248px}.page-content{padding:24px 22px 30px}.dashboard-welcome{grid-template-columns:minmax(0,1fr) 205px}.dashboard-page .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lead-overview-content{grid-template-columns:145px minmax(0,1fr);gap:10px}.pipeline-donut{width:138px;height:138px}}
@media(max-width:900px){.sidebar{width:min(292px,88vw);padding:17px 13px 13px}.main-panel{margin-left:0}.topbar{height:63px;padding:0 18px}.page-content{max-width:100%;padding:23px 20px 30px}.dashboard-overview-grid{grid-template-columns:1fr 1fr}.dashboard-page .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-page .dashboard-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.dashboard-welcome{grid-template-columns:minmax(0,1fr) 180px;min-height:175px;padding:19px}.dashboard-welcome-copy h1{font-size:24px}.welcome-aside{min-height:120px}.welcome-aside-art small{max-width:110px}.dashboard-overview-grid{grid-template-columns:1fr}.dashboard-overview-grid>.panel{min-height:250px}.dashboard-page .dashboard-grid{grid-template-columns:1fr}.dashboard-page .dashboard-grid>.panel{grid-column:auto}}
@media(max-width:600px){.topbar{height:57px;padding:0 12px}.topbar-right{gap:7px}.notification-button{width:30px;height:30px}.user-chip{padding-left:8px}.page-content{padding:18px 13px 24px}.dashboard-page{gap:11px}.dashboard-welcome{grid-template-columns:1fr;gap:10px;min-height:auto;padding:17px 15px;border-radius:14px}.dashboard-welcome::before{right:-10px;top:-195px}.dashboard-welcome-copy h1{margin:10px 0 5px;font-size:22px}.dashboard-welcome-copy>p{font-size:10px;line-height:1.5}.dashboard-welcome-actions{gap:7px;margin-top:13px}.dashboard-welcome-actions .button{min-height:33px;padding:8px 9px;font-size:9px}.welcome-insight{margin-left:0}.welcome-aside{min-height:auto;flex-direction:row;align-items:center;gap:8px;overflow:visible}.welcome-aside-art{margin:0 0 0 8px}.welcome-art-icon{width:31px;height:31px}.welcome-art-icon .icon{width:20px;height:20px}.dashboard-date-chip{padding:7px 8px;font-size:8px}.dashboard-page .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard-page .stat-card{min-height:104px;padding:11px 10px;border-radius:11px}.dashboard-page .stat-top{font-size:8px}.dashboard-page .stat-icon{width:28px;height:28px}.dashboard-page .stat-value{margin:8px 0 4px;font-size:19px}.dashboard-page .stat-hint{font-size:8px}.dashboard-overview-grid{gap:10px}.dashboard-overview-grid>.panel{min-height:auto;padding:14px 12px;border-radius:12px}.lead-overview-content{grid-template-columns:118px minmax(0,1fr);gap:8px;min-height:160px}.pipeline-donut{width:112px;height:112px}.pipeline-donut::before{inset:13px}.pipeline-donut strong{font-size:20px}.pipeline-donut span{font-size:8px}.pipeline-legend-row{grid-template-columns:minmax(0,1fr) 25px 28px;gap:5px;min-height:27px;font-size:8px}.followup-row{gap:8px;padding:7px 1px}.followup-date{width:34px;height:35px}.followup-copy strong{font-size:9px}.dashboard-page .dashboard-grid>.panel{padding:15px 13px}}

/* Consistent colorful module overview cards, filters, and result tables */
.module-list-page{display:flex;flex-direction:column;gap:14px}
.module-list-heading{align-items:center;margin-bottom:2px}
.module-list-title{display:flex;align-items:center;gap:16px;min-width:0}
.module-title-icon{width:62px;height:62px;display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(255,255,255,.25);border-radius:16px;background:linear-gradient(145deg,#a34bf2,#7545e8);color:#fff;box-shadow:0 8px 16px rgba(119,68,223,.2)}
.module-title-icon .icon{width:25px;height:25px;stroke-width:1.8}
.module-list-heading .eyebrow{color:#806cd0;font-size:9px;letter-spacing:.12em}
.module-list-heading h1{margin:3px 0 4px;color:#26334b;font-size:26px;font-weight:600;letter-spacing:-.55px}
.module-list-heading p{color:#78869d;font-size:11px}
.module-list-heading .page-heading-actions{flex:0 0 auto}
.module-list-heading .button-primary{min-height:42px;padding:11px 17px;border-radius:10px;font-size:11px}
.module-list-heading .button-secondary{min-height:39px}
.module-metrics-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.module-metric-card{position:relative;display:flex;min-width:0;min-height:135px;flex-direction:column;justify-content:space-between;padding:17px 18px 15px;border:1px solid;border-radius:16px;overflow:hidden;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.module-metric-card::after{position:absolute;right:-24px;bottom:-41px;width:105px;height:105px;border:1px solid currentColor;border-radius:50%;opacity:.055;box-shadow:0 0 0 13px currentColor,0 0 0 27px currentColor;content:"";pointer-events:none}
.module-metric-card:hover{transform:translateY(-2px);box-shadow:0 10px 19px rgba(51,62,93,.08)}
.module-metric-card.tone-violet{--metric-icon-start:#a34bf2;--metric-icon-end:#793de2;border-color:#eadcff;background:#faf5ff;color:#7838d9}
.module-metric-card.tone-green{--metric-icon-start:#41bc91;--metric-icon-end:#228c6b;border-color:#d6f0e2;background:#f0fbf5;color:#16835f}
.module-metric-card.tone-amber{--metric-icon-start:#ffb75c;--metric-icon-end:#ef883b;border-color:#fae6c3;background:#fff9ef;color:#b66500}
.module-metric-card.tone-rose{--metric-icon-start:#fb858c;--metric-icon-end:#e95367;border-color:#ffdcdf;background:#fff5f5;color:#d72838}
.module-metric-card.tone-slate{--metric-icon-start:#a2adbe;--metric-icon-end:#78879b;border-color:#e1e6ed;background:#f6f8fb;color:#65758c}
.module-metric-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.module-metric-top>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:700;letter-spacing:.045em;text-transform:uppercase}
.module-metric-icon{width:46px;height:46px;display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(255,255,255,.43);border-radius:13px;background:linear-gradient(145deg,var(--metric-icon-start),var(--metric-icon-end));color:#fff;box-shadow:0 5px 10px rgba(48,58,84,.11)}
.module-metric-icon .icon{width:20px;height:20px;stroke-width:1.9}
.module-metric-card>strong{position:relative;z-index:1;margin-top:7px;color:currentColor;font-size:28px;font-weight:650;line-height:1.08;letter-spacing:-.65px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.module-filter-panel{display:flex;align-items:flex-end;gap:13px;padding:16px 17px;border-color:#e2e6ef;border-radius:14px;box-shadow:0 5px 14px rgba(45,58,91,.035)}
.module-filter-form{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(auto-fit,minmax(140px,.8fr)) auto;align-items:end;gap:11px;flex:1;min-width:0}
.module-filter-control{display:flex;min-width:0;flex-direction:column;gap:6px;color:#77859b}
.module-filter-control>span:first-child{font-size:9px;font-weight:700;letter-spacing:.055em;text-transform:uppercase}
.module-filter-control .search-box,.module-filter-control select{width:100%;height:43px;min-width:0;padding:0 11px;border:1px solid #e0e5ee;border-radius:9px;background:#fff;color:#4f5f77;font-size:11px}
.module-filter-control .search-box{gap:8px;background:#fff;color:#93a0b4}
.module-filter-control .search-box input{width:100%;min-width:0;font-size:11px;color:#40506a}
.module-filter-control .search-box input::placeholder{color:#9aa6b7}
.module-filter-control select{appearance:auto}
.module-filter-control select:focus,.module-filter-control .search-box:focus-within{outline:0;border-color:#aa98eb;box-shadow:0 0 0 3px rgba(119,86,211,.09)}
.module-filter-submit{height:43px;align-self:end;border-color:#e0e5ee;color:#63718a;background:#f8f9fc;font-size:10px}
.module-filter-submit:hover{border-color:#d8d0f4;background:#f3f0ff;color:#6951c4}
.module-clear-filter{align-self:center;margin-left:-5px}
.module-export-button{height:37px;flex:0 0 auto;border-radius:8px}
.module-table-panel{border-color:#e2e6ef;border-radius:15px;box-shadow:0 5px 15px rgba(45,58,91,.035)}
.module-table-heading{display:flex;align-items:center;gap:11px;padding:17px 19px;border-bottom:1px solid #edf0f5;background:#fff}
.module-table-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #eadfff;border-radius:12px;background:#f2edff;color:#7d4ae0}
.module-table-icon .icon{width:19px;height:19px}
.module-table-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}
.module-table-copy strong{color:#2b3850;font-size:13px;font-weight:600}
.module-table-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8a96aa;font-size:9px}
.module-table-total{padding:5px 9px;border:1px solid #e8eaf1;border-radius:20px;background:#fafbfc;color:#77849a;font-size:9px;white-space:nowrap}
.module-table-panel .data-table th{background:#fafbfe;color:#738199;font-size:9px;font-weight:700;letter-spacing:.04em}
.module-table-panel .data-table td{color:#65738a;font-size:10px}
@media(max-width:1280px){.module-metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.module-filter-panel{align-items:stretch;flex-direction:column}.module-filter-form{grid-template-columns:minmax(180px,1.3fr) repeat(auto-fit,minmax(130px,1fr)) auto}.module-export-button{align-self:flex-end}}
@media(max-width:760px){.module-list-page{gap:11px}.module-list-heading{align-items:flex-start;flex-direction:column;gap:13px}.module-list-title{gap:12px}.module-title-icon{width:52px;height:52px;border-radius:14px}.module-list-heading h1{font-size:23px}.module-list-heading .page-heading-actions{width:100%;justify-content:flex-start}.module-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.module-metric-card{min-height:111px;padding:13px 12px;border-radius:12px}.module-metric-top>span:first-child{font-size:8px}.module-metric-icon{width:35px;height:35px;border-radius:10px}.module-metric-icon .icon{width:17px;height:17px}.module-metric-card>strong{font-size:23px}.module-filter-panel{padding:13px;border-radius:12px}.module-filter-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.module-search-control{grid-column:1/-1}.module-filter-submit{width:100%}.module-clear-filter{justify-self:center}.module-export-button{align-self:stretch;justify-content:center}.module-table-heading{padding:13px 12px;gap:9px}.module-table-icon{width:36px;height:36px}.module-table-copy strong{font-size:12px}.module-table-copy small{font-size:8px}.module-table-total{padding:4px 7px;font-size:8px}}
@media(max-width:420px){.module-filter-form{grid-template-columns:1fr}.module-search-control{grid-column:auto}.module-list-heading .page-heading-actions .button{font-size:9px;padding:8px 9px}.module-table-total{display:none}}

/* Compact controls, clearer type, and the expanded workspace settings */
:root{font-family:Inter,"Segoe UI Variable","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:400;letter-spacing:0;color:#2d3a50}
body{font-size:13px;line-height:1.52;-webkit-font-smoothing:antialiased}
.brand-lockup strong,.page-heading h1,.module-list-heading h1,.dashboard-welcome-copy h1,.panel-heading h2{font-family:Inter,"Segoe UI Variable","Segoe UI",Roboto,Arial,sans-serif;letter-spacing:-.025em}
.nav-item{font-size:12.3px;font-weight:480}
.nav-label{font-size:9.5px}
.brand-lockup small{font-size:10px;letter-spacing:.01em}
.sidebar{width:280px;padding-top:17px}
.main-panel{margin-left:280px}
.sidebar-search{height:33px;margin:0 3px 10px;padding:0 8px;border-radius:8px;background:#f8f9fc}
.sidebar-search input{font-size:11.5px}
.sidebar-search .icon{width:14px;height:14px}
.sidebar-search kbd{padding:0 4px;font-size:9px}
.nav-item{height:39px;gap:9px;border-radius:9px}
.nav-icon-tile{width:28px;height:28px;border-radius:8px}
.nav-icon-tile .icon{width:15px;height:15px;stroke-width:1.8}
.nav-item:focus-visible,.icon-button:focus-visible,.button:focus-visible,.quick-create>summary:focus-visible{outline:3px solid rgba(110,88,203,.25);outline-offset:2px}
.search-box{height:33px;padding:0 9px;border-radius:8px}
.search-box input{font-size:11.5px}
.board-search{width:min(100%,285px);height:34px;padding:0 9px;border-radius:8px}
.board-search .icon{width:14px;height:14px}
.board-search input{font-size:11.5px}
.module-filter-panel{align-items:center;gap:10px;padding:12px 14px}
.module-filter-form{grid-template-columns:minmax(190px,1.3fr) repeat(auto-fit,minmax(125px,.8fr)) auto;gap:9px}
.module-filter-control{gap:5px}
.module-filter-control>span:first-child{font-size:9px;font-weight:650;letter-spacing:.045em}
.module-filter-control .search-box,.module-filter-control select{height:36px;padding:0 9px;border-radius:8px;font-size:11.5px}
.module-filter-control .search-box{gap:7px}
.module-filter-control .search-box .icon{width:14px;height:14px}
.module-filter-control .search-box input{font-size:11.5px}
.module-filter-submit{height:36px;padding:0 11px;font-size:10.5px}
.module-export-button{height:34px}
.module-table-panel .data-table th{font-size:9.5px}
.module-table-panel .data-table td{font-size:10.8px}
.data-table th{font-size:9.5px}
.data-table td{font-size:10.8px}
.primary-cell{font-size:11.3px}
.field-label,.installer-form label,.login-form label{font-size:11.8px;font-weight:520}
.field-label input,.field-label select,.field-label textarea{font-size:12px}
.button{font-weight:560;letter-spacing:.005em}
.page-heading h1,.module-list-heading h1{font-weight:590}
.app-footer{align-items:center;min-height:53px;gap:18px;color:#8390a4}
.app-footer>span:first-child{display:flex;align-items:center;gap:9px;min-width:0}
.app-footer>span:first-child strong{color:#4b5a70;font-size:10.5px;font-weight:600}
.app-footer>span:first-child small{padding-left:9px;border-left:1px solid #dfe4ed;font-size:9.5px}
.footer-contact{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;font-size:9.5px}
.footer-contact a,.footer-contact>span{display:inline-flex;align-items:center;gap:5px;color:#738198}
.footer-contact a:hover{color:#674fc2}
.footer-contact .icon{color:#8d82c4}
.settings-panel{width:100%;max-width:1040px;padding:0;overflow:hidden}
.workspace-settings-form{padding:4px 24px 2px}
.settings-section{padding:21px 0;border-bottom:1px solid #edf0f5}
.settings-section-title{display:flex;align-items:center;gap:10px;margin-bottom:17px}
.settings-section-title>span{width:32px;height:32px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #e6e1fb;border-radius:9px;background:#f2efff;color:#7058c9}
.settings-section-title>span .icon{width:16px;height:16px;stroke-width:1.8}
.settings-section-title strong{display:block;color:#334158;font-size:12px;font-weight:600}
.settings-section-title small{display:block;margin-top:2px;color:#8b97aa;font-size:10px}
.settings-section .form-grid{gap:15px 17px}
.settings-section .field-label{gap:6px}
.settings-section .field-label>span{font-size:11px;font-weight:550}
.settings-section .field-label input,.settings-section .field-label select{min-height:38px;padding:8px 10px;border-color:#dfe4ed;border-radius:8px;font-size:11.5px}
.settings-section .field-label input:focus,.settings-section .field-label select:focus{border-color:#9f90df;box-shadow:0 0 0 3px rgba(119,86,211,.09)}
.settings-section .input-note{font-size:9px}
.favicon-setting{display:flex;align-items:center;gap:17px;padding:14px;border:1px solid #e7eaf2;border-radius:11px;background:#fafbfe}
.favicon-preview{width:82px;min-height:83px;display:flex;flex:0 0 auto;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid #e6e9f1;border-radius:10px;background:#fff;color:#8b96a9;font-size:9px}
.favicon-preview img{width:36px;height:36px;object-fit:contain;border-radius:9px}
.favicon-upload-copy{display:flex;flex:1;flex-direction:column;gap:10px;min-width:0}
.favicon-upload-copy .field-label{max-width:440px}
.favicon-upload-copy input[type=file]{min-height:37px;padding:6px 8px;font-size:10.5px}
.favicon-upload-copy input[type=file]::file-selector-button{margin-right:9px;padding:6px 9px;border:1px solid #dfe4ed;border-radius:6px;background:#fff;color:#5e6b82;font:inherit;cursor:pointer}
.remove-favicon-control{display:flex;align-items:center;gap:7px;color:#78859a;font-size:10px;cursor:pointer}
.remove-favicon-control input{width:14px;height:14px;margin:0;accent-color:#7058c9}
.settings-branding-section{border-bottom:0}
.workspace-settings-form .form-actions{justify-content:space-between;gap:12px;margin:0;padding:16px 0 18px}
.settings-save-hint{display:inline-flex;align-items:center;gap:7px;color:#8290a4;font-size:10px}
.settings-save-hint .icon{color:#579477}
@media(max-width:1180px) and (min-width:901px){.sidebar{width:248px}.main-panel{margin-left:248px}}
@media(max-width:900px){.sidebar{width:min(292px,88vw)}.main-panel{margin-left:0}.footer-contact{gap:9px}}
@media(max-width:700px){.module-filter-panel{align-items:stretch}.module-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.module-search-control{grid-column:1/-1}.module-filter-submit{height:35px}}
@media(max-width:600px){.sidebar-search{height:34px}.workspace-settings-form{padding:1px 14px 0}.settings-section{padding:17px 0}.settings-section-title{margin-bottom:13px}.settings-section .form-grid{gap:12px}.favicon-setting{align-items:flex-start;gap:10px;padding:10px}.favicon-preview{width:68px;min-height:72px}.favicon-upload-copy .field-label{max-width:none}.workspace-settings-form .form-actions{align-items:stretch;flex-direction:column}.workspace-settings-form .form-actions .button{width:100%}.settings-save-hint{justify-content:center}.app-footer{align-items:flex-start;padding:12px 14px}.app-footer>span:first-child{align-items:flex-start;flex-direction:column;gap:2px}.app-footer>span:first-child small{padding-left:0;border-left:0}.footer-contact{justify-content:flex-start;gap:7px 11px}.footer-contact>span{width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* 2026 workspace refresh: stronger page hierarchy, reference-style filters, and polished forms */
:root{--bg:#eef2f8;--surface:#fff;--surface-soft:#f7f8fc;--ink:#27354b;--muted:#73819a;--line:#dfe5ef;--blue:#526ed1;--blue-dark:#435bb9;--blue-soft:#eef2ff;--violet:#7258ce;--violet-soft:#f1edff;--shadow:0 8px 22px rgba(42,56,87,.055);font-family:Aptos,"Segoe UI Variable",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink)}
body{background:var(--bg);color:#2b3950;font-size:13px;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.icon{stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app-body{background:linear-gradient(135deg,#eef2f8 0%,#f4f6fb 45%,#edf1f7 100%)}
.sidebar{background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);border-right-color:#dfe5ef;box-shadow:5px 0 22px rgba(44,57,85,.035)}
.brand-lockup{padding-bottom:17px}
.brand-mark{background:linear-gradient(145deg,#7e6be0,#536fd0);box-shadow:0 7px 15px rgba(89,91,191,.21)}
.nav-label{color:#8994aa;font-size:9px;font-weight:650;letter-spacing:.11em}
.nav-group{padding-bottom:8px;margin-bottom:5px;border-bottom:1px solid #eff1f6}
.nav-group:last-child{border-bottom:0}
.nav-item{position:relative;height:40px;gap:10px;margin:2px 4px;padding:0 9px;color:#65738b;font-size:12.2px;font-weight:500;transition:background .16s ease,color .16s ease,transform .16s ease}
.nav-item:hover{background:#f3f5fb;color:#384761;transform:translateX(2px)}
.nav-item.active{background:linear-gradient(100deg,#f0edff 0%,#f6f5ff 100%);color:#5e4db9;font-weight:600;box-shadow:inset 0 0 0 1px #e5defd}
.nav-item.active::before{position:absolute;left:-4px;top:8px;bottom:8px;width:3px;border-radius:0 4px 4px 0;background:linear-gradient(180deg,#a36be7,#6377db);content:""}
.nav-icon-tile{width:29px;height:29px;border:1px solid rgba(94,111,153,.08);border-radius:9px;transition:transform .16s ease,box-shadow .16s ease}
.nav-item:hover .nav-icon-tile{transform:scale(1.05);box-shadow:0 3px 8px rgba(51,66,96,.08)}
.nav-item.active .nav-icon-tile{box-shadow:0 3px 8px rgba(98,82,182,.13)}
.nav-item .icon{width:15px;height:15px;stroke-width:1.8}
.sidebar-search{height:35px;border:1px solid #e4e8f0;border-radius:9px;background:#f7f8fc}
.sidebar-search:focus-within{border-color:#ab9be7;box-shadow:0 0 0 3px rgba(114,88,206,.09)}
.main-panel{background:transparent}
.topbar{border-bottom-color:#dfe5ef;background:rgba(255,255,255,.94)}
.page-content{padding-top:27px}
.panel,.stat-card,.module-table-panel{border-color:#dfe5ef;box-shadow:0 7px 20px rgba(42,56,87,.045)}
.page-heading h1,.module-list-heading h1{font-family:Aptos,"Segoe UI Variable",Inter,ui-sans-serif,system-ui,sans-serif;font-weight:620;letter-spacing:-.035em;color:#26344b}
.page-heading p{color:#77859c;font-size:12px}
.button{min-height:38px;border-radius:9px;font-size:11.5px;font-weight:560;letter-spacing:.005em;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,background .15s ease}
.button-primary{background:linear-gradient(135deg,#6e5bc9,#5573d2);box-shadow:0 5px 11px rgba(93,94,194,.17)}
.button-primary:hover{background:linear-gradient(135deg,#614dbd,#4966c7);box-shadow:0 7px 15px rgba(93,94,194,.22);transform:translateY(-1px)}
.button-secondary{border-color:#dfe4ed;color:#596981;background:#fff}
.button-secondary:hover{border-color:#cfc8f1;background:#f8f6ff;color:#624eb8}
.button-sm{min-height:32px}
.module-list-page{gap:15px}
.module-list-heading{align-items:center;padding:17px 19px;margin:0;border:1px solid #dfe5ef;border-left:4px solid #7462d0;border-radius:15px;background:linear-gradient(110deg,#fff 0%,#fcfbff 58%,#f0efff 100%);box-shadow:0 7px 20px rgba(52,60,105,.05)}
.module-list-title{gap:14px}
.module-title-icon{width:54px;height:54px;border:1px solid #e2dcfa;border-radius:15px;background:linear-gradient(145deg,#f4edff,#e8efff);color:#6e57ce;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.module-title-icon .icon{width:23px;height:23px;stroke-width:1.75}
.module-list-heading .eyebrow{color:#7569ae;font-size:9px;letter-spacing:.12em}
.module-list-heading h1{margin:3px 0 4px;font-size:24px}
.module-list-heading p{font-size:11px;color:#78869c}
.module-list-heading .page-heading-actions{gap:8px}
.module-list-heading .button-primary{min-height:39px;padding:10px 14px;border-radius:9px;font-size:11px}
.module-list-heading .button-secondary{min-height:37px}
.module-metrics-grid{gap:12px}
.module-metric-card{min-height:119px;padding:14px 15px 13px;border-radius:14px;box-shadow:0 5px 14px rgba(48,60,91,.035);border-left-width:3px}
.module-metric-card::after{right:-30px;bottom:-48px;width:112px;height:112px;opacity:.04}
.module-metric-card:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(48,60,91,.085)}
.module-metric-card.tone-violet{border-color:#e6dcff;border-left-color:#9264df;background:linear-gradient(130deg,#fcf9ff,#f4efff 100%);color:#6844ba;--metric-icon-start:#9b70e3;--metric-icon-end:#7656cd}
.module-metric-card.tone-green{border-color:#d6eee3;border-left-color:#45a982;background:linear-gradient(130deg,#f8fdf9,#ebf8f1 100%);color:#267b5c;--metric-icon-start:#56b994;--metric-icon-end:#328a6b}
.module-metric-card.tone-amber{border-color:#f1e3cc;border-left-color:#e3a34e;background:linear-gradient(130deg,#fffdf8,#fff5e7 100%);color:#a66819;--metric-icon-start:#eaae5b;--metric-icon-end:#ce8437}
.module-metric-card.tone-rose{border-color:#f1dfe3;border-left-color:#dc7780;background:linear-gradient(130deg,#fffafa,#fff0f1 100%);color:#ac4e5c;--metric-icon-start:#e88591;--metric-icon-end:#c65d70}
.module-metric-card.tone-slate{border-color:#dfe5ed;border-left-color:#8594aa;background:linear-gradient(130deg,#fbfcfe,#f0f3f8 100%);color:#5f6f85;--metric-icon-start:#98a7bb;--metric-icon-end:#73849d}
.module-metric-top>span:first-child{font-size:10.5px;font-weight:580;letter-spacing:.015em;text-transform:none;color:inherit}
.module-metric-icon{width:40px;height:40px;border:1px solid rgba(255,255,255,.58);border-radius:12px;background:linear-gradient(145deg,var(--metric-icon-start),var(--metric-icon-end));box-shadow:0 4px 9px rgba(53,62,91,.12)}
.module-metric-icon .icon{width:18px;height:18px;stroke-width:1.85}
.module-metric-card>strong{margin-top:6px;font-size:27px;font-weight:620;letter-spacing:-.045em;line-height:1.08}
.module-filter-panel{display:block;padding:16px;border:1px solid #dfe5ef;border-radius:15px;background:#fff;box-shadow:0 7px 20px rgba(42,56,87,.045)}
.module-filter-form{display:flex;min-width:0;flex-direction:column;gap:12px}
.module-filter-control{gap:6px;color:#697891}
.module-filter-control>span:first-child{font-size:9px;font-weight:620;letter-spacing:.09em;text-transform:uppercase;color:#7569ad}
.module-search-control .search-box{height:42px;gap:9px;padding:0 11px;border:1px solid #dddff0;border-radius:10px;background:#fff;color:#8e94b0;box-shadow:inset 0 1px 2px rgba(45,58,87,.025);transition:border-color .15s ease,box-shadow .15s ease}
.module-search-control .search-box .icon{width:15px;height:15px;flex:0 0 15px;padding-right:8px;box-sizing:content-box;border-right:1px solid #e4e5ef;stroke-width:1.8}
.module-search-control .search-box input{width:100%;min-width:0;height:100%;font-size:12px;color:#394a63;outline:0}
.module-search-control .search-box input::placeholder{color:#9aa5b9}
.module-search-control .search-box:focus-within{border-color:#9a88e4;box-shadow:0 0 0 3px rgba(114,88,206,.11)}
.module-filter-options-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}
.module-filter-selects{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));align-items:end;gap:10px;min-width:0}
.module-filter-select-control select{width:100%;height:41px;min-width:0;padding:0 12px;border:1px solid #dce2ed;border-radius:9px;background:#fff;color:#42536c;font-size:12px;outline:0;transition:border-color .15s ease,box-shadow .15s ease}
.module-filter-select-control select:focus{border-color:#9a88e4;box-shadow:0 0 0 3px rgba(114,88,206,.1)}
.module-export-button{height:38px;min-height:38px;padding:0 13px;align-self:end;border-radius:9px;color:#5f6e86}
.module-filter-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.module-filter-submit{width:100%;height:41px;min-height:41px;padding:0 14px;border:1px solid #ded9f5;border-radius:9px;background:linear-gradient(180deg,#f8f7ff,#f1effb);color:#6555b4;font-size:11.5px;font-weight:600;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.module-filter-submit .icon{width:15px;height:15px}
.module-filter-submit:hover{border-color:#c9c0ef;background:linear-gradient(180deg,#f2efff,#eae6fb);color:#5341a9}
.module-clear-filter{justify-self:end;margin:0;padding:7px 4px;color:#7062bb;font-size:10.5px}
.module-table-panel{overflow:hidden;border-color:#dfe5ef;border-radius:15px;box-shadow:0 7px 20px rgba(42,56,87,.045)}
.module-table-heading{padding:14px 17px;background:linear-gradient(100deg,#fff,#fbfaff)}
.module-table-icon{width:39px;height:39px;border:1px solid #e4ddfa;border-radius:11px;background:linear-gradient(145deg,#f4efff,#eaf0ff);color:#705ac8}
.module-table-icon .icon{width:18px;height:18px;stroke-width:1.8}
.module-table-copy strong{color:#34435c;font-size:12.5px;font-weight:600}
.module-table-copy small{color:#8491a7;font-size:10px}
.module-table-total{border-color:#e0e3ed;background:#f6f7fb;color:#6d7890;font-size:10px}
.module-table-panel .data-table th{padding-top:12px;padding-bottom:12px;background:#f7f8fc;color:#77849a;font-size:9.5px;font-weight:620;letter-spacing:.07em}
.module-table-panel .data-table td{padding-top:13px;padding-bottom:13px;color:#63718a;font-size:11px}
.module-table-panel .data-table tbody tr{transition:background .14s ease}
.module-table-panel .data-table tbody tr:hover{background:#f8f8ff}
.module-table-panel .primary-cell{color:#35435c;font-size:11.5px;font-weight:580}
.module-table-panel .icon-button.small{width:31px;height:31px;border-color:#e2e6ef;background:#fff;color:#6c7b92}
.module-table-panel .icon-button.small:hover{border-color:#d4ccf2;background:#f5f2ff;color:#6653bd}
.status-pill{padding:5px 9px;font-size:9.5px;font-weight:580}

/* Add and edit pages use a stable two-column workspace layout. */
.module-form-page{max-width:1240px;margin:0 auto}
.module-form-page .module-page-heading{align-items:center;padding:17px 19px;margin-bottom:16px;border:1px solid #dfe5ef;border-left:4px solid #7462d0;border-radius:15px;background:linear-gradient(110deg,#fff 0%,#fcfbff 62%,#f0efff 100%);box-shadow:0 7px 20px rgba(52,60,105,.05)}
.module-form-page-title{display:flex;align-items:center;gap:14px;min-width:0}
.module-form-page-title>div{min-width:0}
.module-form-page-title .module-title-icon{width:50px;height:50px;flex:0 0 auto}
.module-form-page-title .eyebrow{color:#7569ae;font-size:9px;letter-spacing:.11em}
.module-form-page-title h1{margin:3px 0 4px;font-size:23px}
.module-form-page-title p{font-size:11px}
.module-form-page .module-page-heading>.button{min-height:37px}
.module-form-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;align-items:start;gap:15px}
.module-form-panel{width:100%;min-height:0;max-width:none;padding:0;overflow:hidden;border-color:#dfe5ef;border-radius:15px;box-shadow:0 8px 23px rgba(42,56,87,.055)}
.module-form-panel form{padding:20px 22px 0}
.module-form-intro{align-items:center;gap:12px;padding:13px 14px;margin:0 0 19px;border:1px solid #e4e6f1;border-radius:12px;background:linear-gradient(110deg,#f9faff,#f4f3ff);}
.module-form-icon{width:42px;height:42px;border:1px solid #e4ddfa;border-radius:12px;background:linear-gradient(145deg,#e8e9ff,#eee5ff);color:#6e57c6;box-shadow:0 3px 7px rgba(88,73,163,.08)}
.module-form-icon .icon{width:20px;height:20px;stroke-width:1.8}
.module-form-intro-copy{gap:2px;flex:1}
.module-form-kicker{color:#786cb1;font-size:8.5px;font-weight:650;letter-spacing:.11em}
.module-form-intro-copy strong{color:#2e3c55;font-size:13px;font-weight:610;letter-spacing:-.01em}
.module-form-intro-copy>span:last-child{color:#77859b;font-size:10px}
.form-required-note{padding:6px 9px;border:1px solid #f0dfe1;border-radius:20px;background:#fff7f7;color:#8b6570;font-size:9px;white-space:nowrap}
.form-required-note i{color:#d26872;font-style:normal;font-weight:700}
.module-form-fields-heading{display:flex;align-items:center;gap:9px;margin:0 0 15px;padding:0 0 10px;border-bottom:1px solid #edf0f5}
.module-form-fields-heading>span{width:29px;height:29px;display:grid;place-items:center;border:1px solid #e1e4f3;border-radius:9px;background:#f2f2fb;color:#6c67bd}
.module-form-fields-heading>div{display:flex;flex-direction:column;gap:1px}
.module-form-fields-heading strong{color:#35445c;font-size:11.5px;font-weight:600}
.module-form-fields-heading small{color:#8b97aa;font-size:9px}
.module-form-panel .form-grid.two{gap:17px 19px}
.module-form-panel .field-label{gap:6px;color:#4e5d74;font-size:11.5px;font-weight:550}
.module-form-panel .field-label>span{font-size:11px;font-weight:580;color:#52617a}
.module-form-panel .field-label>span i{margin-left:2px;color:#d26a73;font-style:normal;font-weight:650}
.module-form-panel .field-label input,.module-form-panel .field-label select,.module-form-panel .field-label textarea{min-height:43px;padding:10px 11px;border:1px solid #dce2ec;border-radius:9px;background:#fff;color:#374861;font-size:12px;box-shadow:0 1px 2px rgba(37,51,79,.025);transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.module-form-panel .field-label select{padding-right:32px}
.module-form-panel .field-label textarea{min-height:100px;line-height:1.55}
.module-form-panel .field-label input::placeholder,.module-form-panel .field-label textarea::placeholder{color:#a0aabd}
.module-form-panel .field-label input:hover,.module-form-panel .field-label select:hover,.module-form-panel .field-label textarea:hover{border-color:#c2c9da;background:#fdfdff}
.module-form-panel .field-label input:focus,.module-form-panel .field-label select:focus,.module-form-panel .field-label textarea:focus{border-color:#8f80d8;outline:0;box-shadow:0 0 0 3px rgba(114,88,206,.11)}
.module-form-panel .field-label input[type=file]{height:auto;min-height:43px;padding:7px;background:#fbfbfe}
.module-form-panel .input-note{color:#8895a9;font-size:9px;line-height:1.45}
.module-form-panel .form-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px;margin:20px -22px 0;padding:12px 22px;border-top:1px solid #e8ebf2;background:#f8f9fc}
.module-form-panel .form-actions>div{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.module-save-note{display:inline-flex;align-items:center;gap:6px;color:#7a879b;font-size:9px}
.module-save-note .icon{color:#638f7c;stroke-width:1.9}
.module-form-guide{position:sticky;top:83px}
.module-guide-card{padding:17px;border:1px solid #dedff0;border-radius:14px;background:linear-gradient(155deg,#fff 0%,#f8f7ff 68%,#f0f3ff 100%);box-shadow:0 8px 20px rgba(48,56,97,.05)}
.module-guide-icon{width:36px;height:36px;display:grid;place-items:center;margin-bottom:12px;border:1px solid #e1dafa;border-radius:11px;background:linear-gradient(145deg,#eee6ff,#e7edff);color:#7158ca}
.module-guide-icon .icon{width:18px;height:18px}
.module-guide-kicker{display:block;color:#7a6db1;font-size:8.5px;font-weight:650;letter-spacing:.12em}
.module-guide-card h2{margin:4px 0 6px;color:#34425a;font-size:14px;font-weight:610;letter-spacing:-.02em}
.module-guide-card>p{margin:0;color:#78859b;font-size:10px;line-height:1.6}
.module-guide-rule{height:1px;margin:15px 0 5px;background:#e6e5f0}
.module-guide-tip{display:flex;align-items:flex-start;gap:9px;padding:10px 0;border-bottom:1px solid #e9e9f2}
.module-guide-tip>span:first-child{width:25px;height:25px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px;background:#ecebfa;color:#6b62b6}
.module-guide-star{color:#c96370!important;font-size:16px;font-weight:650;line-height:25px}
.module-guide-tip>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.module-guide-tip strong{color:#48566e;font-size:10px;font-weight:600}
.module-guide-tip small{color:#8591a4;font-size:9px;line-height:1.45}
.module-guide-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:13px;color:#77849a;font-size:8.5px}
.module-guide-meta>span{display:inline-flex;align-items:center;gap:5px;min-width:0}
.module-guide-meta .icon{color:#8278c6}

/* Keep secondary search controls compact and consistent across modules. */
.table-toolbar{border-color:#e2e7ef;background:#fff}
.table-search .search-box{height:34px;border-color:#dfe4ed;border-radius:8px;background:#fbfcfe}
.table-search .search-box input{width:150px;font-size:11px}
.board-search{width:min(100%,260px);height:34px;border-color:#dfe4ed;border-radius:8px;background:#fff}
.board-search input{font-size:11px}
@media(max-width:1120px){.module-form-layout{grid-template-columns:minmax(0,1fr) 220px;gap:12px}.module-guide-card{padding:14px}.module-metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.module-form-layout{grid-template-columns:1fr}.module-form-guide{position:static}.module-guide-card{display:grid;grid-template-columns:40px 1fr;column-gap:10px;align-items:start}.module-guide-icon{grid-row:1/3;margin:0}.module-guide-kicker{align-self:end}.module-guide-card h2{grid-column:2;margin-top:2px}.module-guide-card>p,.module-guide-rule,.module-guide-tip,.module-guide-meta{grid-column:1/-1}.module-guide-rule{margin:12px 0 3px}}
@media(max-width:760px){.module-list-heading{padding:14px;border-radius:13px}.module-list-title{align-items:flex-start}.module-title-icon{width:46px;height:46px;border-radius:13px}.module-list-heading h1{font-size:21px}.module-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.module-metric-card{min-height:105px;padding:12px;border-radius:12px}.module-metric-icon{width:35px;height:35px}.module-metric-card>strong{font-size:23px}.module-filter-panel{padding:13px;border-radius:13px}.module-filter-options-row{grid-template-columns:minmax(0,1fr) auto;gap:9px}.module-filter-selects{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:9px}.module-filter-select-control select,.module-search-control .search-box{height:40px}.module-export-button{height:36px;min-height:36px;padding:0 10px}.module-form-page .module-page-heading{align-items:flex-start;padding:14px;gap:10px}.module-form-page-title{gap:10px}.module-form-page-title .module-title-icon{width:43px;height:43px}.module-form-page-title h1{font-size:20px}.module-form-page .module-page-heading>.button{align-self:center;padding:8px 10px;font-size:10px}.module-form-panel form{padding:14px 14px 0}.module-form-intro{padding:11px;gap:9px}.module-form-icon{width:36px;height:36px}.module-form-intro-copy strong{font-size:12px}.module-form-intro-copy>span:last-child{font-size:9px}.module-form-panel .form-grid.two{gap:13px}.module-form-panel .form-actions{align-items:stretch;flex-direction:column;margin:16px -14px 0;padding:12px 14px}.module-form-panel .form-actions>div{width:100%}.module-form-panel .form-actions>div .button{flex:1}.module-save-note{justify-content:center}.module-guide-card{padding:13px}.module-table-panel .data-table th{padding:11px 12px}.module-table-panel .data-table td{padding:11px 12px}}
@media(max-width:540px){.module-filter-options-row{grid-template-columns:minmax(0,1fr) auto}.module-filter-selects{grid-template-columns:1fr}.module-filter-select-control{grid-column:auto}.module-filter-actions{grid-template-columns:1fr}.module-clear-filter{justify-self:center}.module-list-heading{align-items:flex-start;flex-direction:column}.module-list-heading .page-heading-actions{width:100%;justify-content:flex-start}.module-list-heading .page-heading-actions .button{min-height:35px}.module-form-page .module-page-heading{flex-direction:column;align-items:flex-start}.module-form-page .module-page-heading>.button{align-self:flex-start}.module-form-intro{align-items:flex-start;flex-wrap:wrap}.module-form-intro-copy{min-width:calc(100% - 55px)}.form-required-note{margin-left:47px;margin-top:-7px}.module-form-panel .form-grid.two{grid-template-columns:1fr}.module-form-panel .field-full{grid-column:auto}.module-guide-card{grid-template-columns:35px 1fr}.module-guide-icon{width:32px;height:32px}.module-table-total{display:none}}
.dashboard-page .stat-card{position:relative;overflow:hidden;min-height:126px;padding:16px 17px 14px;border-color:#dfe5ef;border-left-width:3px;border-radius:14px;box-shadow:0 6px 16px rgba(42,56,87,.045)}
.dashboard-page .stat-card.tint-violet{border-left-color:#866bd7;background:linear-gradient(130deg,#fff 0%,#f2efff 100%)}
.dashboard-page .stat-card.tint-green{border-left-color:#44a87d;background:linear-gradient(130deg,#fff 0%,#edf8f2 100%)}
.dashboard-page .stat-card.tint-amber{border-left-color:#d9a24f;background:linear-gradient(130deg,#fff 0%,#fff6e8 100%)}
.dashboard-page .stat-card.tint-blue{border-left-color:#5981d0;background:linear-gradient(130deg,#fff 0%,#edf4ff 100%)}
.dashboard-page .stat-card.tint-rose{border-left-color:#d66e7b;background:linear-gradient(130deg,#fff 0%,#fff0f2 100%)}
.dashboard-page .stat-top{color:#66758d;font-size:10.5px;font-weight:560}
.dashboard-page .stat-icon{width:38px;height:38px;border:1px solid rgba(255,255,255,.7);border-radius:12px;box-shadow:0 3px 8px rgba(48,58,84,.07)}
.dashboard-page .stat-icon .icon{width:18px;height:18px;stroke-width:1.8}
.dashboard-page .stat-value{margin:10px 0 4px;color:#2d3b52;font-size:25px;font-weight:620;letter-spacing:-.035em}
.dashboard-page .stat-hint{color:#8390a5;font-size:9.5px}

/* The filter form must stretch across the module panel on wide layouts. */
.module-filter-panel{display:block;width:100%;min-width:0;padding:13px 15px}
.module-filter-panel>.module-filter-form{display:flex;width:100%;max-width:none;min-width:0;flex:0 0 100%;align-items:stretch;margin:0}
.module-filter-panel .module-search-control,.module-filter-panel .module-search-control .search-box{display:flex;width:100%;min-width:0}
.module-filter-panel .module-filter-options-row,.module-filter-panel .module-filter-selects,.module-filter-panel .module-filter-actions{width:100%;min-width:0}
.module-filter-panel .module-filter-form{gap:9px}
.module-filter-panel .module-search-control{gap:4px}
.module-filter-panel .module-search-control .search-box,.module-filter-panel .module-filter-select-control select{height:39px}
.module-filter-panel .module-filter-actions .module-filter-submit{height:39px;min-height:39px}
@media(max-width:760px){.module-filter-panel{padding:12px}.module-filter-panel>.module-filter-form{width:100%}}

/* Final filter layout guard: keep the whole form at the panel width. */
.module-filter-panel{display:block;width:100%;min-width:0;padding:13px 15px}
.module-filter-panel>.module-filter-form{display:flex;width:100%;max-width:none;min-width:0;flex:1 1 100%;flex-direction:column;align-items:stretch;margin:0;gap:9px}
.module-filter-panel .module-search-control,.module-filter-panel .module-search-control>.search-box,.module-filter-panel .module-filter-options-row,.module-filter-panel .module-filter-selects,.module-filter-panel .module-filter-actions{width:100%;min-width:0}
.module-filter-panel .module-search-control{gap:4px}
.module-filter-panel .module-search-control>.search-box,.module-filter-panel .module-filter-select-control select{height:39px}
.module-filter-panel .module-filter-actions .module-filter-submit{height:39px;min-height:39px}
.module-filter-panel-compact .module-filter-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.module-filter-panel-compact .module-filter-submit{width:auto;min-width:150px;flex:0 0 auto}
.module-filter-panel-compact .module-export-button{margin-left:auto}
@media(max-width:760px){.module-filter-panel{padding:12px}.module-filter-panel>.module-filter-form{width:100%}}
@media(max-width:540px){.module-filter-panel-compact .module-filter-submit{min-width:0;flex:1 1 auto}.module-filter-panel-compact .module-export-button{margin-left:0}}
