:root{--bi-blue:#1673c8;--bi-teal:#069c96;--bi-violet:#7359cf;--bi-orange:#e39322;--bi-border:#dce5f0}.workspace .brand{background:white;border-radius:12px;padding:8px 10px 12px;margin:0 6px 28px;overflow:hidden;text-align:center}.workspace .brand img{width:190px;height:112px;object-fit:contain;transform:scale(1.28);display:block;margin:0 auto}.workspace .brand small{color:#536887;font-size:9px;position:relative;margin-top:3px;background:white;letter-spacing:0}.workspace .side{background:linear-gradient(180deg,#102540,#091a31)}.workspace .nav button.active{background:linear-gradient(90deg,#1368ab,#218eb3);color:white;box-shadow:0 4px 10px #0002}.workspace .content{background:linear-gradient(135deg,#eff4fa,#f7f9fc)}.workspace .top{border-bottom:3px solid #e5eef9}.page-heading h1{color:#14365b}.welcome-row{border-left:4px solid #1680c6;padding-left:18px}.stats-grid{gap:18px}.workspace .stat-card{position:relative;overflow:hidden;border:0;padding:22px;min-height:158px;color:white;box-shadow:0 8px 20px #1e46761a;transition:transform .15s}.workspace .stat-card:hover{transform:translateY(-3px)}.stat-card[data-palette=blue]{background:linear-gradient(125deg,#1559ad,#278cd9)}.stat-card[data-palette=teal]{background:linear-gradient(125deg,#087f88,#15b6a3)}.stat-card[data-palette=violet]{background:linear-gradient(125deg,#6244b4,#9771e0)}.stat-card[data-palette=orange]{background:linear-gradient(125deg,#bb6a13,#e8a42a)}.workspace .stat-card>span:not(.kpi-marker){color:#ffffffe8;font-size:12px;font-weight:500;padding-right:30px}.workspace .stat-card strong{font-size:29px;color:white;line-height:1.2}.workspace .stat-card small{color:#ffffffb8}.kpi-marker{position:absolute;right:18px;top:16px;font-size:23px!important;color:#fff9!important;background:#ffffff1c;border-radius:10px;padding:5px 11px}.stat-card:after{content:'';position:absolute;width:100px;height:100px;border:20px solid #ffffff09;border-radius:50%;right:-30px;bottom:-50px}.workspace .card{border-color:#dce5f0;box-shadow:0 4px 18px #23416d06}.workspace .card>h2,.workspace .card .section-head h2{color:#173f68}.project-card{border-top:5px solid var(--bi-blue)!important}.project-card[data-palette=teal]{border-top-color:var(--bi-teal)!important}.project-card[data-palette=violet]{border-top-color:var(--bi-violet)!important}.project-numbers div:first-child b{color:#1673c8}.project-numbers div:nth-child(2) b{color:#069c96}.project-finance{background:#f1f6fc;border-radius:8px;padding:14px!important}.project-tabs{background:white;border-radius:8px 8px 0 0;padding:0 8px}.project-tabs button.active{background:#edf5fd;border-bottom-color:#1673c8}.table-wrap{box-shadow:0 4px 15px #16366006;border:1px solid var(--bi-border)}.content .bi-table{background:white;border-collapse:separate;border-spacing:0;border:0;width:100%}.content .bi-table th{background:#173f68!important;color:white!important;font-size:11px;text-transform:uppercase;letter-spacing:.045em;padding:14px 16px;border-bottom:0;white-space:nowrap;cursor:pointer;position:sticky;top:0;z-index:1}.content .bi-table th[role=button]:after{content:' ↕';opacity:.45}.content .bi-table th.sorted{background:#126d9f!important}.content .bi-table td{padding:13px 16px;border-bottom:1px solid #e7edf5;font-size:12px;vertical-align:middle}.content .bi-table tbody tr:nth-child(even){background:#f2f6fb}.content .bi-table tbody tr:hover{background:#e6f2ff;box-shadow:inset 3px 0 #2183c5}.number-cell{text-align:right;font-variant-numeric:tabular-nums;font-weight:600;color:#173f68}.content .bi-table .btn{font-size:11px;min-height:28px;padding:5px 10px;background:#edf4fc;border-color:#d0e1f4;color:#1769aa}.table-toolbar{background:#fff;padding:15px 18px;border:1px solid #dce5f0;border-radius:10px;margin-bottom:14px}.table-toolbar h2{font-size:17px;margin-top:0;margin-bottom:0}.count-pill{background:#dcecff;color:#1769aa}.status-chip{font-weight:600;padding:5px 10px;font-size:10px;border-radius:6px}.status-chip[data-tone=green]{background:#e3f5ec!important;color:#147c50!important}.status-chip[data-tone=red]{background:#ffe9e9!important;color:#b83d3d!important}.status-chip[data-tone=amber]{background:#fff2d9!important;color:#956314!important}.status-chip[data-tone=blue]{background:#e3efff!important;color:#2466ad!important}.workspace .client-kpis div{border-top:3px solid #1673c8;background:#f0f6fe}.workspace .client-kpis div:nth-child(4n+2){border-top-color:#069c96;background:#ecf8f6}.workspace .client-kpis div:nth-child(4n+3){border-top-color:#7359cf;background:#f4f0fc}.workspace .client-kpis div:nth-child(4n+4){border-top-color:#e39322;background:#fff7eb}.workspace .client-kpis b{font-size:19px;color:#173f68}.workspace .module-shortcuts button{border-left:3px solid #1673c8;background:#f1f6fd}.workspace .module-shortcuts button:nth-child(3n+2){border-left-color:#069c96;background:#edf8f5}.workspace .module-shortcuts button:nth-child(3n+3){border-left-color:#7359cf;background:#f4f1fc}dialog{border-top:5px solid #1673c8}.modal-head{background:#f2f7fe!important}.form-section{background:#edf4fc;border-radius:6px;padding:10px 12px;border:0}.form label{color:#345371}.form input,.form select,.form textarea{border-color:#d2dfed}.form input:focus,.form select:focus{border-color:#1673c8;outline-color:#1673c828}@media(max-width:700px){.workspace .stat-card{min-height:140px;padding:17px}.workspace .stat-card strong{font-size:22px}.stats-grid{gap:12px}.table-toolbar input{width:100%}}
.module-toggle{display:flex;gap:14px;align-items:center;cursor:pointer}.module-toggle input{min-height:auto;width:20px;height:20px;accent-color:#1769aa}.module-toggle small{display:block;font-size:12px;color:#718098}.settings-logo{max-width:180px;max-height:100px;object-fit:contain;background:white}.settings-notice{padding:12px 16px;border-radius:8px;margin-bottom:18px}.settings-notice.success{background:#e3f5ec;color:#147c50}.settings-notice.error{background:#ffe9e9;color:#b83d3d}#settings-notice:empty{display:none}.workspace .side-footer{font-size:14px;letter-spacing:.06em;color:#a9bddb}
@media print{body>*{visibility:hidden}dialog.invoice-dialog,dialog.invoice-dialog *{visibility:visible}dialog.invoice-dialog{position:absolute;inset:0;margin:0;border:0;box-shadow:none;width:100%;max-height:none}.invoice-dialog .no-print{display:none!important}.invoice-dialog .invoice-preview{min-height:auto;border:0;padding:20px}.invoice-dialog .invoice-preview:before{display:none}.invoice-dialog .invoice-head{display:flex;justify-content:space-between;gap:24px}}
