:root{--brand:#1aa8d2;--brand2:#0b7da5;--brand-soft:#e9f8fc;--navy:#16263d;--bg:#f4f7fb;--card:#fff;--text:#203047;--muted:#738096;--line:#e4eaf2;--green:#1aa374;--green-soft:#e8f8f1;--amber:#c77b00;--amber-soft:#fff4dc;--red:#df5663;--red-soft:#fff0f2;--violet:#7564df;--violet-soft:#f1efff;--shadow:0 8px 28px rgba(36,58,87,.08)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Segoe UI,Arial,sans-serif}button,input,select,textarea{font:inherit}.app{display:grid;grid-template-columns:258px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--line);padding:17px 13px;overflow:auto;z-index:40}.brand{display:flex;align-items:center;gap:12px;padding:5px 8px 20px}.brand img{width:44px;height:44px;object-fit:cover;border-radius:8px;border:1px solid #d5e9f0}.brand h1{font-size:17px;margin:0;color:#15263c}.brand p{font-size:10px;color:var(--muted);margin:4px 0 0}.nav-title{font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:#a0a9b8;padding:12px 10px 6px}.nav{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;padding:10px 11px;border-radius:9px;color:#56657a;cursor:pointer;text-align:left;font-size:13px;margin:2px 0}.nav:hover{background:#f3f8fb;color:var(--brand2)}.nav.active{background:var(--brand-soft);color:var(--brand2);font-weight:700}.nav .ico{width:20px;text-align:center}.nav .count{margin-left:auto;background:#eef2f6;border-radius:20px;padding:2px 7px;font-size:10px}.side-note{margin-top:16px;border:1px solid #dceef4;background:#f4fbfd;padding:11px;border-radius:10px;font-size:11px;line-height:1.5;color:#60728a}.main{min-width:0}.topbar{height:67px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 22px;gap:13px;position:sticky;top:0;z-index:30}.menu{display:none;border:0;background:var(--brand-soft);color:var(--brand2);width:38px;height:38px;border-radius:9px}.search{position:relative;max-width:540px;flex:1}.search input{width:100%;padding:10px 13px 10px 38px;border:1px solid var(--line);background:#f8fafc;border-radius:10px;outline:none}.search span{position:absolute;left:13px;top:10px;color:#8793a5}.topright{margin-left:auto;display:flex;align-items:center;gap:10px}.today{font-size:11px;color:var(--muted);border:1px solid var(--line);padding:8px 10px;border-radius:8px}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--brand),#60c6e1);color:#fff;font-weight:700}.content{padding:22px}.page{display:none}.page.active{display:block;animation:fade .18s ease}@keyframes fade{0%{opacity:.3;transform:translateY(3px)}to{opacity:1;transform:none}}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:17px}.page-head h2{font-size:23px;margin:0 0 6px}.page-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.actions{display:flex;gap:8px;flex-wrap:wrap}.btn{border:0;border-radius:9px;padding:9px 13px;font-size:12px;cursor:pointer;display:inline-flex;gap:7px;align-items:center;justify-content:center}.btn-primary{background:var(--brand);color:#fff;box-shadow:0 6px 16px #1aa8d238}.btn-primary:hover{background:var(--brand2)}.btn-light{background:#fff;color:#56657a;border:1px solid var(--line)}.btn-soft{background:var(--brand-soft);color:var(--brand2)}.btn-danger{background:var(--red-soft);color:var(--red)}.btn-xs{padding:6px 8px;font-size:10.5px}.admin-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.admin-kpi{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px 15px;box-shadow:var(--shadow);position:relative;overflow:hidden}.admin-kpi:after{content:"";position:absolute;right:-20px;top:-24px;width:80px;height:80px;border-radius:50%;background:var(--brand-soft);opacity:.7}.admin-kpi .kpi-top{display:flex;align-items:center;justify-content:space-between;gap:8px;position:relative;z-index:1}.admin-kpi .kpi-icon{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand2);font-size:14px;font-weight:800}.admin-kpi label{font-size:10px;color:var(--muted);position:relative;z-index:1}.admin-kpi strong{display:block;font-size:20px;margin-top:8px;position:relative;z-index:1}.admin-kpi small{display:block;font-size:9.5px;color:#8995a6;margin-top:5px;position:relative;z-index:1}.admin-grid-3{display:grid;grid-template-columns:1.05fr .95fr 1.05fr;gap:16px;margin-bottom:16px}.admin-grid-2{display:grid;grid-template-columns:1.35fr .85fr;gap:16px;margin-bottom:16px}.chart-pad{padding:15px 16px}.funnel-list{display:flex;flex-direction:column;gap:11px}.funnel-row{display:grid;grid-template-columns:105px 1fr 52px;gap:10px;align-items:center}.funnel-row label{font-size:10px;color:#647287}.funnel-track{height:18px;background:#eef2f6;border-radius:7px;overflow:hidden}.funnel-fill{height:100%;border-radius:7px;background:linear-gradient(90deg,var(--brand),#6fd0e8);display:flex;align-items:center;justify-content:flex-end;padding-right:7px;color:#fff;font-size:8px;min-width:4px}.funnel-row strong{font-size:11px;text-align:right}.dashboard-donut-wrap{display:grid;grid-template-columns:135px 1fr;gap:14px;align-items:center}.dashboard-donut{width:126px;height:126px;border-radius:50%;display:grid;place-items:center;position:relative}.dashboard-donut:after{content:"";width:76px;height:76px;border-radius:50%;background:#fff;position:absolute}.dashboard-donut-center{position:relative;z-index:2;text-align:center}.dashboard-donut-center strong{display:block;font-size:22px}.dashboard-donut-center span{font-size:9px;color:var(--muted)}.legend-list{display:flex;flex-direction:column;gap:8px}.legend-row{display:grid;grid-template-columns:10px 1fr auto;gap:8px;align-items:center;font-size:10px}.legend-dot{width:8px;height:8px;border-radius:50%}.legend-row span{color:#647287}.legend-row b{font-size:10.5px}.fin-bars{display:flex;flex-direction:column;gap:10px}.fin-bar-row{display:grid;grid-template-columns:105px 1fr 85px;gap:9px;align-items:center}.fin-bar-row label{font-size:9.5px;color:#647287}.fin-track{height:9px;background:#edf1f5;border-radius:7px;overflow:hidden}.fin-fill{height:100%;border-radius:7px;background:linear-gradient(90deg,var(--brand),#7ad1e7)}.fin-fill.green{background:linear-gradient(90deg,var(--green),#76cfad)}.fin-fill.amber{background:linear-gradient(90deg,var(--amber),#f0bb55)}.fin-fill.red{background:linear-gradient(90deg,var(--red),#ee8c96)}.fin-bar-row strong{font-size:10px;text-align:right}.month-chart{height:235px;padding:14px 12px 4px;display:flex;align-items:flex-end;gap:10px;border-top:1px dashed #e8edf3;margin-top:8px}.month-col{flex:1;min-width:55px;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}.month-bars{height:175px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:5px}.month-bar{width:23%;min-width:12px;border-radius:5px 5px 2px 2px;position:relative;min-height:2px}.month-bar.order{background:var(--brand)}.month-bar.profit{background:var(--green)}.month-bar:hover:after{content:attr(data-tip);position:absolute;bottom:calc(100% + 5px);left:50%;transform:translate(-50%);background:#1f3148;color:#fff;font-size:8px;padding:4px 6px;border-radius:5px;white-space:nowrap;z-index:5}.month-label{font-size:8.5px;color:#768399;margin-top:7px}.chart-legend-inline{display:flex;align-items:center;gap:14px;font-size:9px;color:var(--muted);padding:0 16px 3px}.chart-legend-inline i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:4px}.chart-legend-inline .order{background:var(--brand)}.chart-legend-inline .profit{background:var(--green)}.lift-demand-list{padding:14px 16px;display:flex;flex-direction:column;gap:11px}.lift-demand-row{display:grid;grid-template-columns:minmax(100px,145px) 1fr 38px;gap:9px;align-items:center}.lift-demand-row label{font-size:9.5px;color:#53677e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lift-demand-track{height:10px;background:#edf1f5;border-radius:7px;overflow:hidden}.lift-demand-fill{height:100%;background:linear-gradient(90deg,var(--violet),#a99cf1);border-radius:7px}.lift-demand-row strong{font-size:10px;text-align:right}.admin-alerts{padding:6px 14px 13px}.admin-alert{display:grid;grid-template-columns:30px 1fr auto;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid #edf1f5}.admin-alert:last-child{border-bottom:0}.admin-alert-icon{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:var(--amber-soft);color:var(--amber);font-size:11px;font-weight:800}.admin-alert.red .admin-alert-icon{background:var(--red-soft);color:var(--red)}.admin-alert.blue .admin-alert-icon{background:var(--brand-soft);color:var(--brand2)}.admin-alert.green .admin-alert-icon{background:var(--green-soft);color:var(--green)}.admin-alert strong{display:block;font-size:10.5px}.admin-alert p{margin:3px 0 0;font-size:9.5px;color:var(--muted);line-height:1.35}.admin-alert b{font-size:10px}.dashboard-section-title{display:flex;align-items:center;justify-content:space-between;margin:3px 0 10px}.dashboard-section-title h3{font-size:13px;margin:0}.profit-positive{color:var(--green)}.profit-negative{color:var(--red)}.dashboard-card-link{cursor:pointer}.dashboard-card-link:hover{border-color:#bfdfeb}@media (max-width:1250px){.admin-kpis{grid-template-columns:repeat(2,1fr)}.admin-grid-3{grid-template-columns:1fr 1fr}.admin-grid-3>.card:last-child{grid-column:1/-1}.admin-grid-2{grid-template-columns:1fr}}@media (max-width:760px){.admin-kpis,.admin-grid-3{grid-template-columns:1fr}.admin-grid-3>.card:last-child{grid-column:auto}.dashboard-donut-wrap{grid-template-columns:1fr;justify-items:center}.funnel-row{grid-template-columns:85px 1fr 42px}.fin-bar-row{grid-template-columns:85px 1fr 70px}}.kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:16px}.kpi{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;box-shadow:var(--shadow)}.kpi label{font-size:10.5px;color:var(--muted)}.kpi strong{display:block;font-size:19px;margin-top:9px}.kpi small{display:block;color:#8793a4;font-size:10px;margin-top:5px}.card{background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);overflow:hidden}.card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line)}.card-head h3{margin:0;font-size:14px}.card-head small{color:var(--muted);font-size:10.5px}.grid2{display:grid;grid-template-columns:1.3fr 1fr;gap:16px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:780px}th,td{padding:11px 12px;border-bottom:1px solid #edf1f5;text-align:left;font-size:11.5px;vertical-align:middle;white-space:nowrap}th{background:#fbfcfe;color:#78859a;font-size:10.5px}tbody tr:hover td{background:#fbfdff}.money{font-weight:700}.muted{color:var(--muted)}.pill{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:20px;font-size:10px;background:#eff3f7;color:#66758b}.pill:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.pill.blue{background:var(--brand-soft);color:var(--brand2)}.pill.green{background:var(--green-soft);color:var(--green)}.pill.amber{background:var(--amber-soft);color:var(--amber)}.pill.red{background:var(--red-soft);color:var(--red)}.pill.violet{background:var(--violet-soft);color:var(--violet)}.filters{display:flex;gap:8px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:11px;padding:10px;margin-bottom:13px}.field{border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 10px;font-size:11.5px;outline:none;min-width:145px}.follow-list{padding:7px 15px 14px}.follow{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #edf1f5}.follow:last-child{border-bottom:0}.datebox{width:40px;height:40px;border-radius:9px;background:var(--brand-soft);display:grid;place-items:center;color:var(--brand2);font-weight:700;font-size:11px}.follow strong{font-size:11.5px}.follow p{font-size:10.5px;color:var(--muted);margin:3px 0 0;line-height:1.4}.flow{display:flex;gap:0;overflow:auto;padding:18px}.flow-step{min-width:130px;position:relative;text-align:center;padding-top:31px;font-size:10.5px;color:#78869a}.flow-step:before{content:"";position:absolute;top:7px;left:50%;transform:translate(-50%);width:18px;height:18px;border-radius:50%;background:#dfe6ee;border:4px solid #fff;box-shadow:0 0 0 1px #dfe6ee;z-index:2}.flow-step:after{content:"";position:absolute;top:16px;left:-50%;width:100%;height:2px;background:#dfe6ee}.flow-step:first-child:after{display:none}.flow-step.done:before{background:var(--green);box-shadow:0 0 0 1px var(--green)}.flow-step.done:after{background:var(--green)}.flow-step.current:before{background:var(--brand);box-shadow:0 0 0 4px #d7f0f7}.flow-step.current:after{background:var(--green)}.amount-split{display:grid;grid-template-columns:1fr 1fr;gap:10px}.splitbox{border:1px solid var(--line);border-radius:10px;padding:11px;background:#fbfcfe}.splitbox label{font-size:10px;color:var(--muted)}.splitbox strong{display:block;font-size:14px;margin-top:5px}.bar{height:7px;border-radius:10px;background:#edf1f5;overflow:hidden}.bar span{display:block;height:100%;background:linear-gradient(90deg,var(--brand),#7ed0e7)}.project-filter-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}.project-filter-btn{border:1px solid var(--line);background:#fff;color:#637287;padding:9px 12px;border-radius:9px;cursor:pointer;font-size:10.5px}.project-filter-btn.active{background:var(--brand-soft);border-color:#c8e7f1;color:var(--brand2);font-weight:800}.project-filter-btn .count{margin-left:5px;background:#edf2f6;padding:2px 6px;border-radius:15px;font-size:9px}.project-status-select{border:1px solid var(--line);border-radius:8px;padding:6px 8px;font-size:10.5px;background:#fff;color:var(--text);min-width:105px}.expense-mode{display:inline-flex;align-items:center;padding:4px 8px;border-radius:16px;font-size:9.5px;font-weight:700}.expense-mode.cash{background:#fff2d6;color:#a66b00}.expense-mode.bank{background:#e9f8fd;color:#087b9f}.borne-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:16px;font-size:9.5px;font-weight:700}.borne-pill.us{background:#fff0f2;color:#b43f52}.borne-pill.other{background:#eef6fb;color:#4a6579}.project-card-click{cursor:pointer;transition:.15s}.project-card-click:hover{border-color:#b9dfea;box-shadow:0 10px 30px #243a571f;transform:translateY(-1px)}.project-card-click .project-open-hint{font-size:9.5px;color:var(--brand2);margin-top:4px}#project-detail .page-head{margin-bottom:14px}#project-detail .card{box-shadow:none}#project-detail .project-money-grid{margin-bottom:4px}#project-detail{max-width:none}#project-detail .table-wrap{width:100%}.project-detail-wrap{display:block}.project-detail-section{margin-top:16px}.project-detail-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.project-detail-title h4{margin:0;font-size:12px}.fixed-project-banner{border:1px solid #d7edf4;background:#f1fbfe;border-radius:9px;padding:10px 12px;font-size:10.5px;color:#527088;margin-bottom:12px}.project-money-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.project-money-box{border:1px solid var(--line);border-radius:10px;padding:12px;background:#fbfcfe}.project-money-box label{display:block;font-size:9.5px;color:var(--muted)}.project-money-box strong{display:block;font-size:15px;margin-top:5px}.project-money-box.profit{background:#eefaf6;border-color:#d6efe5}.project-money-box.profit strong{color:var(--green)}.project-box{padding:15px}.project-top{display:flex;justify-content:space-between;gap:10px}.project-top h3{margin:0 0 4px;font-size:16px}.project-top p{margin:0;font-size:10.5px;color:var(--muted)}.mini-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:13px}.mini{border:1px solid var(--line);background:#fbfcfe;border-radius:9px;padding:10px}.mini label{font-size:9.5px;color:var(--muted)}.mini strong{display:block;font-size:12.5px;margin-top:5px}.cogs-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;padding:14px}.cog{border:1px solid var(--line);border-radius:10px;padding:12px}.cog .top{display:flex;justify-content:space-between;gap:5px}.cog b{font-size:11px}.cog span{display:block;color:var(--muted);font-size:9.5px;margin-top:4px}.cog strong{display:block;font-size:14px;margin-top:10px}.empty{padding:30px;text-align:center;color:var(--muted);font-size:12px}.tabs{display:flex;gap:4px;padding:0 14px;border-bottom:1px solid var(--line);overflow:auto}.tab{border:0;background:transparent;padding:12px 10px;font-size:11px;color:#78869b;cursor:pointer;border-bottom:2px solid transparent;white-space:nowrap}.tab.active{color:var(--brand2);border-bottom-color:var(--brand);font-weight:700}.panel{display:none;padding:14px}.panel.active{display:block}.modal{position:fixed;inset:0;background:#0f1d2f7a;z-index:100;display:none;align-items:center;justify-content:center;padding:18px}.modal.show{display:flex}.modal-box{width:min(900px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:14px;box-shadow:0 25px 70px #00000038}.modal-box.wide{width:min(1120px,100%)}.modal-head{position:sticky;top:0;z-index:2;background:#fff;padding:14px 16px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.modal-head h3{margin:0;font-size:15px}.close{width:31px;height:31px;border:0;border-radius:8px;background:#f0f3f7;cursor:pointer}.modal-body{padding:16px}.modal-foot{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--line);padding:12px 16px;display:flex;justify-content:flex-end;gap:8px}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.fg label{display:block;font-size:10px;color:#6c798d;margin-bottom:5px}.fg input,.fg select,.fg textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:9px 10px;outline:none;background:#fff;color:var(--text);font-size:11.5px}.fg textarea{resize:vertical}.fg.full{grid-column:1/-1}.fg.span2{grid-column:span 2}.section-title{grid-column:1/-1;font-size:11px;font-weight:800;color:#32445d;background:#f6f9fc;border:1px solid var(--line);padding:8px 10px;border-radius:8px;margin-top:4px}.dual{display:grid;grid-template-columns:1fr 1fr;gap:8px}.help{font-size:9.5px;color:#8792a3;margin-top:4px;line-height:1.4}.notice{border:1px solid #d9edf3;background:#f1fbfe;padding:10px 11px;border-radius:9px;color:#527088;font-size:10.5px;line-height:1.5;margin-bottom:12px}.timeline{padding:8px 0}.timeline-item{display:grid;grid-template-columns:16px 1fr;gap:10px;padding:7px 0}.timeline-item i{width:9px;height:9px;border-radius:50%;background:var(--brand);margin-top:4px}.timeline-item strong{font-size:11px}.timeline-item p{margin:3px 0 0;font-size:10px;color:var(--muted);line-height:1.4}.toast{position:fixed;right:18px;bottom:18px;background:#17324c;color:#fff;padding:10px 14px;border-radius:9px;font-size:11px;box-shadow:0 10px 30px #0000002e;transform:translateY(100px);opacity:0;transition:.2s;z-index:200}.toast.show{transform:none;opacity:1}.quotation-type-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.quotation-type-card{border:1px solid var(--line);background:#fff;border-radius:12px;padding:18px;cursor:pointer;text-align:left;transition:.15s}.quotation-type-card:hover{border-color:#9ed8e8;box-shadow:var(--shadow);transform:translateY(-1px)}.quotation-type-card .qt-icon{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand2);font-size:20px;margin-bottom:12px}.quotation-type-card h4{margin:0 0 6px;font-size:14px}.quotation-type-card p{margin:0;color:var(--muted);font-size:10.5px;line-height:1.5}.spares-items-table{width:100%;border-collapse:collapse;min-width:1280px}.spares-items-table th,.spares-items-table td{padding:8px;border-bottom:1px solid var(--line);font-size:10.5px}.spares-items-table select,.spares-items-table input{width:100%;border:1px solid var(--line);border-radius:7px;padding:7px 8px;font-size:10.5px;background:#fff}.spares-items-table .sq-spec{min-width:220px}.spares-items-table .num{text-align:right}.spares-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.spares-summary .sum-box{border:1px solid var(--line);background:#fbfcfe;border-radius:10px;padding:11px}.spares-summary label{display:block;color:var(--muted);font-size:9.5px}.spares-summary strong{display:block;font-size:15px;margin-top:5px}.inventory-inline{display:flex;gap:8px;align-items:center}.inventory-inline select{flex:1}.ledger-tabs{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}.ledger-tab{border:1px solid var(--line);background:#fff;color:#647287;padding:10px 15px;border-radius:9px;cursor:pointer;font-size:11px}.ledger-tab.active{background:var(--brand-soft);border-color:#cceaf3;color:var(--brand2);font-weight:700}.ledger-panel{display:none}.ledger-panel.active{display:block}.ledger-search{min-width:270px;max-width:330px}.ledger-search input{min-width:220px}.ledger-party-row{cursor:pointer}.ledger-party-row:hover td{background:#f6fbfd}.ledger-party-name b{display:block;font-size:11.5px}.ledger-party-name span{display:block;font-size:9.5px;color:var(--muted);margin-top:3px}.ledger-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.ledger-summary-box{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px}.ledger-summary-box label{display:block;font-size:9.5px;color:var(--muted)}.ledger-summary-box strong{display:block;font-size:15px;margin-top:5px}.ledger-summary-box.outstanding{background:#fff8ef}.ledger-summary-box.received{background:#f1fbf7}.ledger-entry-plus{font-weight:700;color:#1a7f63}.ledger-entry-minus{font-weight:700;color:#c34b5b}.ledger-running{font-weight:800}.ledger-type-pill{display:inline-flex;align-items:center;gap:4px;border-radius:18px;padding:4px 8px;font-size:9.5px;font-weight:700}.ledger-type-pill.plus{background:#eaf8f2;color:#137759}.ledger-type-pill.minus{background:#fff0f2;color:#b93f51}.finance-search{min-width:300px;max-width:390px}.finance-search input{min-width:250px}.finance-tabs{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}.finance-tab{border:1px solid var(--line);background:#fff;color:#647287;padding:10px 15px;border-radius:9px;cursor:pointer;font-size:11px}.finance-tab.active{background:var(--brand-soft);border-color:#cceaf3;color:var(--brand2);font-weight:700}.finance-panel{display:none}.finance-panel.active{display:block}.finance-panel .card{width:100%}.quote-view-tabs{display:flex;gap:6px;margin-bottom:13px;flex-wrap:wrap}.quote-view-tab{border:1px solid var(--line);background:#fff;color:#647287;padding:9px 13px;border-radius:9px;cursor:pointer;font-size:11px}.quote-view-tab.active{background:var(--brand-soft);border-color:#cceaf3;color:var(--brand2);font-weight:700}.quote-view-panel{display:none}.quote-view-panel.active{display:block}.settings-tabs{display:flex;gap:6px;margin-bottom:14px;flex-wrap:wrap}.settings-tab{border:1px solid var(--line);background:#fff;color:#647287;padding:9px 13px;border-radius:9px;cursor:pointer;font-size:11px}.settings-tab.active{background:var(--brand-soft);border-color:#cceaf3;color:var(--brand2);font-weight:700}.settings-panel{display:none}.settings-panel.active{display:block}.master-grid{display:grid;grid-template-columns:300px 1fr;gap:16px}.master-menu{background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px;box-shadow:var(--shadow);height:max-content;max-height:calc(100vh - 260px);overflow:auto}.master-group{border:1px solid #edf1f5;border-radius:9px;margin-bottom:8px;overflow:hidden;background:#fff}.master-group:last-child{margin-bottom:0}.master-group-head{width:100%;border:0;background:#fbfcfe;text-align:left;padding:11px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#263a52;cursor:pointer;font-size:11.5px;font-weight:800}.master-group-head:hover{background:#f4f9fb}.master-group-head.active{background:#eef9fc;color:var(--brand2)}.master-group-head .chev{font-size:11px;transition:.15s}.master-group.open .master-group-head .chev{transform:rotate(90deg)}.master-group-body{display:none;padding:6px;background:#fff}.master-group.open .master-group-body{display:block}.master-subsection{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#8b98a9;padding:8px 9px 4px;font-weight:800}.master-menu .master-item{width:100%;border:0;background:transparent;text-align:left;padding:9px 10px;border-radius:7px;color:#5e6c81;cursor:pointer;font-size:10.8px;margin:1px 0}.master-menu .master-item:hover{background:#f4f9fb}.master-menu .master-item.active{background:var(--brand-soft);color:var(--brand2);font-weight:800}.master-menu .master-item small{display:block;font-size:8.8px;color:var(--muted);margin-top:3px;font-weight:400;line-height:1.3}.master-menu .master-item.active small{color:#5f8290}.master-path{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:9.5px;color:var(--muted);margin-top:4px}.master-path span{display:inline-flex;align-items:center}.master-path b{color:#4c6479;font-weight:700}@media (max-width:950px){.master-grid{grid-template-columns:1fr}.master-menu{max-height:none}}.master-value{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border-bottom:1px solid #edf1f5}.master-value:last-child{border-bottom:0}.master-value b{font-size:11.5px}.master-value small{display:block;color:var(--muted);font-size:9.5px;margin-top:3px}.permission-grid{display:grid;grid-template-columns:1.2fr repeat(4,.8fr);gap:0;border:1px solid var(--line);border-radius:10px;overflow:hidden}.permission-grid>div{padding:11px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);font-size:11px;background:#fff}.permission-grid>div:nth-child(-n+5){background:#fbfcfe;font-weight:700;color:#6f7c90}.permission-grid input{width:16px;height:16px}.perm-user b{display:block}.perm-user small{color:var(--muted)}.user-status{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:20px;font-size:10px;font-weight:700}.user-status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.user-status.active{background:var(--green-soft);color:var(--green)}.user-status.inactive{background:#eef2f6;color:#7c8899}.speech-wrap{position:relative}.speech-wrap textarea{padding-right:115px}.speech-btn{position:absolute;right:8px;top:8px;border:1px solid #cce8f1;background:var(--brand-soft);color:var(--brand2);border-radius:8px;padding:7px 9px;font-size:10px;cursor:pointer}.speech-btn.listening{background:var(--red-soft);border-color:#ffd9de;color:var(--red);animation:pulse 1.2s infinite}.speech-hint{font-size:9.5px;color:var(--muted);margin-top:5px}@keyframes pulse{50%{opacity:.55}}.master-picker{display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:center;width:100%}.master-picker select{width:100%;border:1px solid var(--line);border-radius:8px;padding:9px;outline:none;background:#fff;color:var(--text);font-size:11.5px}.master-picker .mini-action{height:34px;border:1px solid #cce8f1;background:var(--brand-soft);color:var(--brand2);border-radius:8px;cursor:pointer;font-weight:800;font-size:14px}.master-picker .mini-action.edit{background:#fff;border-color:var(--line);color:#68768a}.master-picker .mini-action:hover{filter:brightness(.98)}.quick-master-current{border:1px solid var(--line);background:#fbfcfe;border-radius:9px;padding:10px 11px;font-size:11px;color:#5f6e83;margin-bottom:12px}.add-param-box{display:flex;gap:8px;align-items:center}.add-param-box input{flex:1;border:1px solid var(--line);border-radius:8px;padding:9px 10px;font-size:11.5px;outline:none}.overlay{display:none}@media (max-width:1280px){.kpis,.mini-grid,.cogs-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:950px){.ledger-summary-grid,.project-money-grid{grid-template-columns:repeat(2,1fr)}.app{grid-template-columns:1fr}.sidebar{position:fixed;left:-270px;width:258px;transition:.2s}.sidebar.open{left:0}.menu{display:block}.overlay.show{display:block;position:fixed;inset:0;background:#0f1d2f59;z-index:90}.grid2,.grid3{grid-template-columns:1fr}.form-grid{grid-template-columns:repeat(2,1fr)}.fg.span2{grid-column:span 1}}@media (max-width:620px){.ledger-summary-grid{grid-template-columns:1fr}.content{padding:14px}.search{display:none}.page-head{flex-direction:column}.kpis,.mini-grid,.cogs-grid,.form-grid{grid-template-columns:1fr}.fg.full,.section-title{grid-column:auto}.topbar{padding:0 12px}.today{display:none}}html,body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}body{color:#10283f;font-weight:500}h1,h2,h3,h4,h5,h6,.page-head h2,.card-head h3,.project-top h3{color:#0b2238;font-weight:800}table th{color:#40556d;font-weight:750}table td{color:#22384f;font-weight:520}label,.fg label{color:#52677d;font-weight:650}small,.muted,.help,.page-head p,.card-head small{color:#65778b}input,select,textarea{color:#1b3249;font-weight:520}.btn{font-weight:650}.row-action{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle}.dot-action-btn{width:30px;height:28px;border:1px solid #d5e0e8;border-radius:8px;background:#fff;color:#40566d;display:grid;place-items:center;cursor:pointer;font-size:18px;line-height:1;padding:0;font-weight:800;transition:.12s}.dot-action-btn:hover,.dot-action-btn.active{background:#eaf7fb;border-color:#9fd7e8;color:#087da2}.row-action-menu{display:none!important}.floating-row-menu{position:fixed;display:none;min-width:132px;background:#fff;border:1px solid #d7e1e9;border-radius:10px;box-shadow:0 12px 32px #122b4033;padding:6px;z-index:999999}.floating-row-menu.open{display:block}.floating-row-menu button{display:flex;align-items:center;width:100%;border:0;background:transparent;text-align:left;padding:9px 11px;border-radius:7px;font-size:10.5px;color:#314960;cursor:pointer;font-weight:650;white-space:nowrap}.floating-row-menu button:hover{background:#eef6fa}.floating-row-menu button.delete{color:#c53f50}.floating-row-menu button.delete:hover{background:#fff0f2}.floating-row-menu button+button{margin-top:2px;border-top:1px solid #f0f3f6}.master-action-wrap{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.master-action-wrap .row-action{margin-left:2px}table th:last-child,table td:last-child{white-space:nowrap}.compact-search{width:265px;max-width:40vw}.amc-status{display:inline-flex;align-items:center;padding:4px 8px;border-radius:14px;font-size:9.5px;font-weight:750}.amc-status.active{background:#e9f8f1;color:#16875d}.amc-status.pending{background:#fff3da;color:#a46a00}.amc-status.expired{background:#fff0f2;color:#be4151}.amc-status.on-hold{background:#eef3f7;color:#53677b}.amc-status.cancelled{background:#f3f3f4;color:#7a7d84}.amc-renewal-soon{color:#b36b00;font-weight:750}.amc-expired-text{color:#c54555;font-weight:750}@media (max-width:900px){.compact-search{width:100%;max-width:none}}.amc-calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f7fafc}.amc-calendar-weekdays span{text-align:center;padding:9px 4px;font-size:9.5px;color:#65788d;font-weight:750}.amc-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);background:var(--line);gap:1px}.amc-cal-day{min-height:112px;background:#fff;padding:8px;position:relative;overflow:hidden}.amc-cal-day.other{background:#f8fafc;color:#9aa6b5}.amc-cal-day.today{box-shadow:inset 0 0 0 2px var(--brand)}.amc-cal-num{font-size:10px;font-weight:800;color:#425871;margin-bottom:6px}.amc-cal-event{display:block;width:100%;border:0;text-align:left;border-radius:6px;padding:5px 6px;margin:3px 0;font-size:8.5px;line-height:1.25;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.amc-cal-event.renewal{background:#fff0d7;color:#995f00}.amc-cal-event.expiry{background:#ffecef;color:#b23a4a}.amc-cal-event:hover{filter:brightness(.97)}.amc-customer-note{padding:8px 10px;border-radius:8px;background:#eef9fc;color:#496476;font-size:9.5px}@media (max-width:900px){.amc-calendar-grid,.amc-calendar-weekdays{min-width:800px}.amc-calendar-grid{overflow:auto}.amc-cal-day{min-height:95px}}.invoice-items-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px;background:#fff}.invoice-items-table{width:100%;border-collapse:collapse;min-width:1120px}.invoice-items-table th,.invoice-items-table td{padding:7px;border-bottom:1px solid var(--line);font-size:10px;vertical-align:middle}.invoice-items-table th{background:#f7fafc;color:#40566d;font-weight:750;text-align:left}.invoice-items-table input,.invoice-items-table select{width:100%;border:1px solid #dbe4ec;border-radius:7px;padding:7px;font-size:10px;background:#fff;color:#1e354c}.invoice-items-table .num{text-align:right}.invoice-items-table .inv-desc{min-width:240px}.invoice-items-table .inv-hsn{min-width:95px}.invoice-items-table .inv-qty{min-width:65px}.invoice-items-table .inv-unit{min-width:75px}.invoice-items-table .inv-rate{min-width:100px}.invoice-items-table .inv-value{min-width:110px}.invoice-remove{width:27px;height:27px;border:0;border-radius:7px;background:#fff0f2;color:#c44152;cursor:pointer}.invoice-summary{display:grid;grid-template-columns:1fr 330px;gap:18px;margin-top:14px;align-items:start}.invoice-note-panel{border:1px solid var(--line);border-radius:10px;background:#fbfcfe;padding:12px}.invoice-total-panel{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}.invoice-total-panel>div{display:flex;justify-content:space-between;gap:15px;padding:11px 13px;border-bottom:1px solid var(--line);font-size:10.5px}.invoice-total-panel>div:last-child{border-bottom:0}.invoice-total-panel span{color:#607389}.invoice-total-panel strong{font-size:13px}.invoice-total-panel .grand{background:#eaf8fc}.invoice-total-panel .grand span,.invoice-total-panel .grand strong{color:#087da2;font-weight:800}.invoice-status{display:inline-flex;padding:4px 8px;border-radius:14px;font-size:9px;font-weight:750}.invoice-status.draft{background:#eef2f6;color:#657388}.invoice-status.issued{background:#e8f7fc;color:#087da2}.invoice-status.cancelled{background:#fff0f2;color:#c44152}@media (max-width:800px){.invoice-summary{grid-template-columns:1fr}}.project-invoice-card{border-color:#cfe6ef}.project-invoice-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;padding:12px 14px}.project-invoice-metric{border:1px solid var(--line);border-radius:9px;padding:10px;background:#fbfcfe;min-width:0}.project-invoice-metric label{display:block;font-size:9px;color:#65778b;font-weight:650;margin-bottom:5px}.project-invoice-metric strong{display:block;font-size:13px;color:#142c43}.project-invoice-metric.pending{background:#fff8ed;border-color:#f2dfbb}.project-invoice-metric.pending strong{color:#a26500}.project-invoice-metric.issued{background:#eef9fc;border-color:#d2edf5}.project-invoice-metric.issued strong{color:#087da2}.project-invoice-metric.received{background:#eefaf5;border-color:#d5eee3}.project-invoice-metric.received strong{color:#13835c}.project-invoice-note{font-size:9px;color:#6a7b8e;margin-top:4px;line-height:1.3}@media (max-width:1200px){.project-invoice-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:700px){.project-invoice-grid{grid-template-columns:repeat(2,1fr)}}:root{--brand:#109fc9;--brand2:#087da2;--brand-soft:#e9f8fc;--navy:#10263d;--bg:#f2f6fa;--card:#ffffff;--text:#14283e;--muted:#607289;--line:#dce5ee;--green:#13885e;--green-soft:#eaf8f2;--amber:#a96a00;--amber-soft:#fff5e2;--red:#cc4655;--red-soft:#fff0f2;--violet:#6657cb;--violet-soft:#f1efff;--shadow:0 4px 18px rgba(20,45,70,.055);--shadow-strong:0 12px 34px rgba(20,45,70,.12)}html{scroll-behavior:smooth;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{background:radial-gradient(circle at 95% 0%,rgba(16,159,201,.035),transparent 24rem),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.45}button,input,select,textarea{font-family:inherit}button{font-weight:650}::selection{background:#cceef7;color:#10263d}*{scrollbar-width:thin;scrollbar-color:#b7c6d4 transparent}*::-webkit-scrollbar{width:9px;height:9px}*::-webkit-scrollbar-thumb{background:#b7c6d4;border:2px solid transparent;background-clip:padding-box;border-radius:20px}*::-webkit-scrollbar-track{background:transparent}.app{grid-template-columns:246px minmax(0,1fr)}.sidebar{border-right:1px solid #d9e3eb;padding:16px 12px 18px;box-shadow:4px 0 18px #1c344d06}.brand{padding:6px 8px 18px;gap:11px}.brand img{width:42px;height:42px;border-radius:9px;box-shadow:0 3px 10px #109fc91f}.brand h1{font-size:16.5px;font-weight:800;letter-spacing:-.2px;color:#0d2238}.brand p{font-size:9.5px;color:#63758a;margin-top:3px}.nav-title{margin:15px 9px 6px;font-size:9px;letter-spacing:.11em;font-weight:800;color:#8a9aab}.nav{min-height:40px;padding:10px 11px;border-radius:9px;color:#445c74;font-size:12.5px;font-weight:590;transition:background .15s ease,color .15s ease,transform .15s ease}.nav:hover{background:#f1f7fa;color:#173a53}.nav.active{background:linear-gradient(90deg,#dff4fa,#edf9fc);color:#087da2;font-weight:750;box-shadow:inset 3px 0 #109fc9}.nav .ico{opacity:.82}.nav .count{background:#eef3f6;color:#5f7184;font-weight:750;min-width:22px;text-align:center}.nav.active .count{background:#fff;color:#087da2}.sidebar .notice{border-color:#d3e7ef;background:#f6fbfd;color:#526b80;box-shadow:none}.topbar{height:64px;padding:0 20px;border-bottom:1px solid #dce5ed;background:#fffffff5;backdrop-filter:blur(10px);box-shadow:0 2px 10px #142d4606}.topbar .search{max-width:560px}.search{border:1px solid #d7e2eb;background:#fbfdfe;border-radius:10px;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.search:focus-within{background:#fff;border-color:#8dcee1;box-shadow:0 0 0 3px #109fc917}.search input{color:#243a50;font-weight:520}.search input::placeholder{color:#8998a7}.content{padding:22px 24px 38px}.page{animation:terraPageIn .16s ease-out}@keyframes terraPageIn{0%{opacity:.3;transform:translateY(2px)}to{opacity:1;transform:none}}.page-head{margin-bottom:17px;align-items:center}.page-head h2{margin:0 0 4px;color:#10263d;font-size:21px;line-height:1.15;letter-spacing:-.35px;font-weight:820}.page-head p{color:#64778d;font-size:11.5px;max-width:850px}.page-head .actions{row-gap:8px}.btn{min-height:34px;border-radius:8px;padding:8px 12px;font-size:10.8px;font-weight:700;letter-spacing:.005em;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease,background .12s ease}.btn:hover{transform:translateY(-1px)}.btn:active{transform:translateY(0)}.btn-primary{background:linear-gradient(180deg,#12a5cf,#0c95bd);color:#fff;box-shadow:0 4px 12px #109fc92e}.btn-primary:hover{box-shadow:0 6px 16px #109fc93d}.btn-light{border:1px solid #d6e0e9;background:#fff;color:#3f566d}.btn-light:hover{border-color:#b9cfdd;background:#fbfdff}.btn-soft{background:#e8f7fb;color:#087da2}.btn-xs{min-height:28px;padding:6px 9px;font-size:9.6px;border-radius:7px}.card{border:1px solid #dce5ed;border-radius:12px;box-shadow:var(--shadow)}.card-head{min-height:56px;padding:13px 15px;background:linear-gradient(180deg,#fff,#fdfefe)}.card-head h3{margin:0 0 2px;font-size:12.6px;font-weight:800;color:#122a41;letter-spacing:-.05px}.card-head small{font-size:9.8px;color:#687b8f}.kpis{gap:10px}.kpi{min-height:88px;border-color:#dce5ed;border-radius:11px;padding:12px 13px;box-shadow:0 2px 10px #142d4609;position:relative;overflow:hidden}.kpi:after{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#d7edf4}.kpi label{color:#63778d;font-size:9.5px;font-weight:650}.kpi strong{color:#122b43;font-size:15px;letter-spacing:-.15px}.kpi small{color:#7a8998;font-size:9px}#projectCards>.card{margin-bottom:14px;transition:border-color .15s ease,box-shadow .15s ease}#projectCards>.card:hover{border-color:#bcdce8;box-shadow:0 7px 22px #14465f13}.fixed-project-banner{border:1px solid #cae8f1;background:linear-gradient(90deg,#eefafd,#f7fcfe);color:#395b70;border-radius:9px;padding:10px 12px}.project-money-grid{gap:9px}.project-money-box,.mini,.project-invoice-metric{border-color:#dce5ed;border-radius:9px;background:#fbfdfe;box-shadow:0 1px 4px #142d4605}.project-money-box label,.mini label,.project-invoice-metric label{color:#677a8f;font-weight:650}.project-money-box strong,.mini strong,.project-invoice-metric strong{color:#10263d;letter-spacing:-.08px}.project-invoice-card{border-color:#cce5ee}.project-invoice-grid{gap:8px}.project-invoice-metric.issued{background:#edf9fc}.project-invoice-metric.received{background:#eef9f4}.project-invoice-metric.pending{background:#fff8ed}.table-wrap{overflow:auto;scrollbar-gutter:stable}table{border-collapse:separate;border-spacing:0}table th{position:sticky;top:0;z-index:3;background:#f7f9fb;color:#50667e;font-size:9.5px;font-weight:780;letter-spacing:.005em;border-bottom:1px solid #dce4ec;white-space:nowrap}table td{color:#21384e;font-size:10.2px;border-bottom:1px solid #e7edf2}table tbody tr{transition:background .1s ease}table tbody tr:hover td{background:#f9fcfd}table tbody tr:last-child td{border-bottom:0}table td b{color:#112b43;font-weight:760}.money{font-weight:780;color:#10263d}.muted{color:#6c7e91!important}.finance-tabs,.ledger-tabs{gap:7px}.finance-tab,.ledger-tab,.project-filter-btn,.settings-tab,.quote-view-tab{border-color:#d7e1ea;border-radius:8px;font-weight:670;color:#5a6e83;background:#fff;transition:.13s ease}.finance-tab:hover,.ledger-tab:hover,.project-filter-btn:hover,.settings-tab:hover,.quote-view-tab:hover{border-color:#acd5e2;background:#f6fbfd;color:#177b9b}.finance-tab.active,.ledger-tab.active,.project-filter-btn.active,.settings-tab.active,.quote-view-tab.active{background:#e7f7fb;border-color:#b7e1ec;color:#087da2;font-weight:780;box-shadow:inset 0 -2px #109fc940}.form-grid{gap:11px 12px}.fg label{margin-bottom:5px;color:#536b82;font-size:9.7px;font-weight:700}.fg input,.fg select,.fg textarea,input:not([type=checkbox]):not([type=radio]),select,textarea{border-color:#d6e1ea;border-radius:8px;color:#193149;background:#fff;font-weight:520;outline:none;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease}.fg input:focus,.fg select:focus,.fg textarea:focus,input:focus,select:focus,textarea:focus{border-color:#7fc5da;box-shadow:0 0 0 3px #109fc916;background:#fff}input[readonly],textarea[readonly]{background:#f7f9fb!important;color:#536579!important}.section-title{background:linear-gradient(90deg,#f2f7fa,#f8fafc);border-color:#dce5ed;color:#314c64;font-weight:800;letter-spacing:.01em;border-radius:8px}.help{color:#738496;font-size:9px;line-height:1.4}.modal{background:#0c1d2e85;padding:16px;backdrop-filter:blur(2px)}.modal-box{border:1px solid rgba(255,255,255,.55);border-radius:13px;box-shadow:0 26px 70px #0a1e3047}.modal-head{z-index:8;padding:13px 15px;background:#fffffffa;backdrop-filter:blur(8px)}.modal-head h3{font-size:13.5px;font-weight:820;color:#10263d}.modal-body{padding:14px 15px 16px}.modal-foot{z-index:8;padding:11px 15px;background:#fffffffa;backdrop-filter:blur(8px);box-shadow:0 -5px 16px #142d4609}.close{width:31px;height:31px;border-radius:8px;color:#52687d;background:#f4f7f9;border:1px solid #e0e7ed}.close:hover{background:#edf4f7;color:#15384f}.notice{border-radius:9px;border-color:#cfe7ef;background:#f1fafc;color:#456478}.pill,.invoice-status,.amc-status,.ledger-type-pill{font-weight:740;letter-spacing:.005em}.pill{padding:4px 8px}.empty{padding:28px 16px!important;color:#8492a0!important;text-align:center;background:#fbfcfd}.dot-action-btn{width:29px;height:29px;border-color:#cedae4;border-radius:8px;background:#fff;color:#37536b}.dot-action-btn:hover,.dot-action-btn.active{background:#e9f7fb;border-color:#8fcbdc;color:#087da2}#floatingRowMenu{border:1px solid #d7e1e9!important;border-radius:9px!important;box-shadow:0 14px 34px #142d462b!important;overflow:hidden!important;padding:5px!important;background:#fff!important}#floatingRowMenu button{border-radius:6px!important;font-weight:650!important;color:#344e65!important}#floatingRowMenu button:hover{background:#f1f8fa!important}#floatingRowMenu button.delete{color:#c34351!important}.invoice-items-wrap{border-color:#d7e2ea}.invoice-items-table th{background:#f5f8fa}.invoice-total-panel,.invoice-note-panel{border-color:#d8e3eb}.invoice-total-panel .grand{background:#e7f7fb}.ledger-summary-grid{gap:9px}.ledger-summary-box{border-color:#dce5ed;border-radius:9px;box-shadow:0 1px 4px #142d4605}.ledger-summary-box label{color:#687b8f;font-weight:650}.ledger-summary-box strong{color:#10263d}.ledger-running{font-weight:800;color:#10263d}.amc-calendar-weekdays{background:#f5f8fa}.amc-cal-day{min-height:108px}.amc-cal-day.today{box-shadow:inset 0 0 0 2px #109fc9;background:#fbfeff}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #109fc9;outline-offset:2px}@media (min-width:1500px){.content{padding-left:26px;padding-right:26px}.kpis{gap:11px}}@media (max-width:1200px){.app{grid-template-columns:224px minmax(0,1fr)}.sidebar{padding-left:9px;padding-right:9px}.content{padding:18px}.kpis{grid-template-columns:repeat(3,1fr)}}@media (max-width:820px){.app{display:block}.sidebar{position:fixed;top:0;left:-270px;width:258px;height:100vh;border-right:1px solid var(--line);border-bottom:0;transition:.2s;z-index:40}.sidebar.open{left:0}.topbar{position:sticky;top:0}.content{padding:14px}.page-head{align-items:flex-start;flex-direction:column}.page-head .actions{width:100%}.page-head .actions .search{flex:1;min-width:210px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.modal{padding:8px;align-items:flex-start}.modal-box{max-height:calc(100vh - 16px)}.form-grid{grid-template-columns:1fr!important}.fg.full,.fg.span2{grid-column:auto!important}}@media (max-width:520px){.kpis{grid-template-columns:1fr}.content{padding:11px}.btn{min-height:32px}}@media print{body{background:#fff!important}.sidebar,.topbar,.page-head .actions,.btn,.dot-action-btn,#floatingRowMenu{display:none!important}.app{display:block!important}.content{padding:0!important}.page{display:block!important}.card,.kpi{box-shadow:none!important;break-inside:avoid}table th{position:static!important}}#projectCards{display:grid;gap:12px}.compact-project-card{margin:0!important;padding:0;overflow:hidden;cursor:pointer;border:1px solid #d9e5ed;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.compact-project-card:hover{border-color:#a9d6e4;box-shadow:0 8px 24px #11496514;transform:translateY(-1px)}.compact-project-main{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:15px 16px 10px}.compact-project-identity{min-width:0}.compact-project-code{margin-bottom:2px;color:#087da2;font-size:10px;font-weight:800;letter-spacing:.035em}.compact-project-identity h3{margin:0;color:#10263d;font-size:15px;font-weight:820;letter-spacing:-.12px}.compact-project-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:6px;color:#62768a;font-size:9.8px}.compact-project-status{display:flex;align-items:center;gap:8px;flex:0 0 auto}.compact-project-status .project-status-select{min-width:105px;height:34px;border-radius:8px;border:1px solid #d8e2ea;background:#fff;color:#385168;font-size:10px;font-weight:650;padding:0 8px}.compact-project-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid #edf1f4;border-bottom:1px solid #edf1f4;background:#fbfcfd}.compact-metric{min-height:67px;padding:11px 14px;border-right:1px solid #e5ebf0}.compact-metric:last-child{border-right:0}.compact-metric label{display:block;margin-bottom:4px;color:#687b8f;font-size:9.2px;font-weight:680}.compact-metric strong{color:#122a41;font-size:13.5px;font-weight:820;letter-spacing:-.1px}.compact-metric.attention strong{color:#9a6200}.compact-metric.profit strong{color:#13885e}.compact-metric.loss strong{color:#cc4655}.compact-project-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:9px 14px;background:#fff}.compact-project-hint{color:#7a8997;font-size:9.3px}body.form-page-open{overflow:hidden}.modal{position:fixed!important;inset:auto 0 0 246px!important;z-index:85!important;display:none;align-items:stretch!important;justify-content:stretch!important;padding:0!important;overflow:auto!important;background:#f2f6fa!important;backdrop-filter:none!important}.modal.show{display:block!important}.modal-box,.modal-box.wide{width:100%!important;max-width:none!important;min-height:100%!important;max-height:none!important;margin:0!important;overflow:visible!important;border:0!important;border-radius:0!important;background:#f2f6fa!important;box-shadow:none!important}.modal-head{position:sticky!important;top:0!important;z-index:20!important;min-height:62px;padding:13px 24px!important;border-bottom:1px solid #dce5ed!important;background:#fffffffa!important;backdrop-filter:blur(10px)!important;box-shadow:0 2px 10px #142d4606}.modal-head h3{color:#10263d!important;font-size:18px!important;font-weight:820!important;letter-spacing:-.25px}.modal .close{width:auto!important;min-width:78px!important;height:34px!important;padding:0 11px!important;border:1px solid #d7e1e9!important;border-radius:8px!important;background:#fff!important;color:transparent!important;font-size:0!important;font-weight:700!important}.modal .close:after{content:"\2190  Back";color:#365168;font-size:10.5px;font-weight:750}.modal .close:hover{border-color:#abd2df!important;background:#f4fbfd!important}.modal-body{width:calc(100% - 48px)!important;max-width:1380px!important;margin:18px auto 92px!important;padding:20px 20px 24px!important;border:1px solid #dce5ed;border-radius:12px;background:#fff!important;box-shadow:0 4px 18px #142d460b}.modal-foot{position:fixed!important;left:246px!important;right:0!important;bottom:0!important;z-index:25!important;min-height:62px;padding:11px 24px!important;border-top:1px solid #dce5ed!important;background:#fffffffa!important;backdrop-filter:blur(10px)!important;box-shadow:0 -5px 18px #142d460d!important}.fg{position:relative;padding-top:8px}.fg>label{position:absolute!important;top:0!important;left:10px!important;z-index:4!important;width:auto!important;max-width:calc(100% - 20px);margin:0!important;padding:0 5px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#fff!important;color:#5b7187!important;font-size:9px!important;line-height:16px!important;font-weight:750!important;letter-spacing:.005em;pointer-events:none}.fg>input,.fg>select,.fg>textarea{width:100%;min-height:43px!important;padding:11px 10px 7px!important;border:1px solid #d5e0e9!important;border-radius:8px!important;background:#fff;color:#183148;font-size:10.5px!important;font-weight:550}.fg>textarea{min-height:72px!important;padding-top:14px!important;resize:vertical}.fg>input:focus,.fg>select:focus,.fg>textarea:focus{border-color:#73bfd6!important;box-shadow:0 0 0 3px #109fc916!important}.fg>input[readonly],.fg>textarea[readonly]{background:#f8fafc!important}.fg>.help{margin-top:4px;padding-left:2px}.modal .section-title{margin-top:4px;min-height:34px;padding:8px 10px;background:linear-gradient(90deg,#f1f7fa,#f8fbfc);border-color:#dbe5ec;color:#314d65}.modal .tabs{position:sticky;top:62px;z-index:15;margin:-20px -20px 16px;padding:0 20px;background:#fff;border-bottom:1px solid #e1e8ee}#floatingRowMenu{z-index:180!important}@media (max-width:1200px){.modal{inset:auto 0 0 224px!important}.modal-foot{left:224px!important}}@media (max-width:950px){.modal{inset:auto 0 0!important}.modal-foot{left:0!important}.modal-body{width:calc(100% - 24px)!important;margin:12px auto 84px!important;padding:15px!important}.compact-project-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-metric:nth-child(2){border-right:0}}@media (max-width:620px){.compact-project-main,.compact-project-footer{align-items:flex-start;flex-direction:column}.compact-project-status{width:100%;justify-content:space-between}.compact-project-metrics{grid-template-columns:1fr}.compact-metric{border-right:0;border-bottom:1px solid #e5ebf0}.compact-metric:last-child{border-bottom:0}.modal-head{padding:11px 14px!important}.modal-head h3{font-size:15px!important}.modal-body{width:calc(100% - 16px)!important;margin-top:8px!important;padding:12px!important}.modal-foot{padding:9px 12px!important;overflow:auto}}.modal{background:#f5f8fb!important;overflow:auto!important}.modal-box,.modal-box.wide{width:100%!important;max-width:none!important;min-height:100%!important;margin:0!important;padding:0!important;background:#f5f8fb!important}.modal-body{width:100%!important;max-width:none!important;min-height:calc(100vh - 126px)!important;margin:0!important;padding:20px 28px 92px!important;border:0!important;border-radius:0!important;background:#f5f8fb!important;box-shadow:none!important}.modal-body>.notice{margin-bottom:16px}.modal .form-grid{width:100%;max-width:none!important}.modal .section-title{margin:16px 0 10px!important;padding:8px 10px!important;border:0!important;border-left:3px solid #109fc9!important;border-radius:0!important;background:transparent!important;color:#24445e!important;font-size:10.5px!important;font-weight:820!important}.modal .tabs{margin:-20px -28px 18px!important;padding:0 28px!important;background:#fff!important}.modal .invoice-items-wrap,.modal .invoice-note-panel,.modal .invoice-total-panel{border-radius:7px!important;box-shadow:none!important}.modal-body .card{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.modal-body .card-head{padding-left:0!important;padding-right:0!important;background:transparent!important;border-bottom:1px solid #dce5ed!important}.modal .fg>label{background:#f5f8fb!important}.modal .fg>input,.modal .fg>select,.modal .fg>textarea{background:#fff!important}.modal-foot{background:#fff!important}@media (min-width:1400px){.modal-body{padding-left:34px!important;padding-right:34px!important}.modal .form-grid{column-gap:14px!important}}@media (max-width:950px){.modal-body{padding:15px 16px 84px!important}.modal .tabs{margin:-15px -16px 16px!important;padding:0 16px!important}}@media (max-width:620px){.modal-body{padding:12px 10px 78px!important}.modal .tabs{margin:-12px -10px 14px!important;padding:0 10px!important}}body{font-size:14px!important;line-height:1.5!important;color:#132a41!important}body,button,input,select,textarea,table{font-feature-settings:"kern" 1}.brand h1{font-size:18px!important;line-height:1.18!important}.brand p{font-size:10.5px!important;line-height:1.4!important}.nav-title{font-size:9.7px!important}.nav{min-height:42px!important;font-size:13px!important;line-height:1.25!important}.nav .count{font-size:10px!important}.page-head h2{font-size:23px!important}.page-head p{font-size:12.5px!important;line-height:1.5!important}.card-head h3{font-size:14px!important}.card-head small{font-size:10.8px!important}.notice{font-size:11px!important;line-height:1.5!important}.kpi label{font-size:10.5px!important}.kpi strong{font-size:17px!important}.kpi small{font-size:10px!important}.compact-project-code{font-size:10.8px!important}.compact-project-identity h3{font-size:16.5px!important}.compact-project-meta{font-size:10.8px!important}.compact-project-status .project-status-select{font-size:11px!important}.compact-metric label{font-size:10.3px!important}.compact-metric strong{font-size:15px!important}.compact-project-hint{font-size:10.3px!important}.btn{min-height:36px!important;padding:8px 13px!important;font-size:11.5px!important}.btn-xs{min-height:30px!important;padding:6px 10px!important;font-size:10.5px!important}.finance-tab,.ledger-tab,.project-filter-btn,.settings-tab,.quote-view-tab{min-height:34px!important;font-size:11px!important}.pill,.invoice-status,.amc-status,.ledger-type-pill{font-size:10px!important}table th{padding:10px 11px!important;font-size:10.8px!important;line-height:1.3!important}table td{padding:10px 11px!important;font-size:11.5px!important;line-height:1.42!important}table td .muted,table td small{font-size:10.2px!important}.modal-head{min-height:66px!important;padding:14px 28px!important}.modal-head h3{font-size:20px!important;line-height:1.2!important}.modal .close:after{font-size:11.5px!important}.modal .fg{padding-top:9px!important}.modal .fg>label{top:0!important;left:11px!important;padding:0 5px!important;font-size:10.2px!important;line-height:17px!important;font-weight:760!important;color:#49637b!important}.modal .fg>input,.modal .fg>select,.modal .fg>textarea{min-height:46px!important;padding:13px 11px 8px!important;font-size:12px!important;line-height:1.4!important}.modal .fg>textarea{min-height:82px!important;padding-top:15px!important}.modal .help{font-size:10.2px!important;line-height:1.45!important}.modal .section-title{font-size:12px!important;line-height:1.35!important}.modal-foot{min-height:66px!important}.modal-body{padding-top:24px!important}.invoice-items-table th{font-size:10.4px!important}.invoice-items-table td{font-size:11px!important}.invoice-items-table input,.invoice-items-table select{min-height:38px!important;font-size:11px!important}.invoice-total-panel>div{font-size:11.5px!important}.invoice-total-panel strong{font-size:14px!important}.ledger-summary-box label{font-size:10.5px!important}.ledger-summary-box strong{font-size:15px!important}.search input{font-size:12.5px!important}.search{min-height:40px!important}.muted{color:#64778a!important}.fg label,table th,.card-head small,.page-head p{opacity:1!important}@media (max-width:1200px){body{font-size:13.5px!important}.nav{font-size:12.5px!important}table td{font-size:11px!important}}@media (max-width:620px){.page-head h2{font-size:20px!important}.modal-head h3{font-size:17px!important}.modal .fg>input,.modal .fg>select,.modal .fg>textarea{font-size:12px!important}}body.form-page-open .sidebar,body.form-page-open .topbar{pointer-events:auto!important;z-index:100!important}body.form-page-open .modal{z-index:85!important}.sidebar{pointer-events:auto!important}.sidebar .nav{pointer-events:auto!important;cursor:pointer!important;position:relative;z-index:2}.sidebar .nav-title,.sidebar .brand,.sidebar .side-note{position:relative;z-index:1}body.form-page-open .sidebar{pointer-events:auto!important;z-index:110!important}body.form-page-open .sidebar .nav{pointer-events:auto!important}.searchable-select-wrap{position:relative;width:100%;min-width:0;flex:1 1 auto}.searchable-select-native{position:absolute!important;width:1px!important;height:1px!important;min-height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;padding:0!important;margin:0!important;border:0!important}.searchable-select-control{position:relative;width:100%}.searchable-select-input{width:100%!important;min-height:46px!important;padding:12px 38px 8px 11px!important;border:1px solid #d5e0e9!important;border-radius:8px!important;background:#fff!important;color:#183148!important;font-size:12px!important;line-height:1.35!important;font-weight:550!important;outline:none!important;cursor:text;transition:border-color .14s ease,box-shadow .14s ease}.searchable-select-input:focus,.searchable-select-wrap.open .searchable-select-input{border-color:#5eb5d0!important;box-shadow:0 0 0 3px #109fc91a!important}.searchable-select-arrow{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#64778a;font-size:11px;pointer-events:none;transition:transform .15s ease}.searchable-select-wrap.open .searchable-select-arrow{transform:translateY(-50%) rotate(180deg)}.searchable-select-menu{display:none;position:fixed;z-index:260;overflow:hidden;border:1px solid #d6e1e9;border-radius:9px;background:#fff;box-shadow:0 14px 32px #18354f29}.searchable-select-wrap.open .searchable-select-menu{display:block}.searchable-select-create{display:flex;width:100%;align-items:center;gap:9px;border:0;border-bottom:1px solid #d8e8ef;background:#eef9fc;color:#0a6f91;padding:10px 12px;text-align:left;font-size:11.5px;font-weight:800;cursor:pointer}.searchable-select-create:hover{background:#e2f5fa}.searchable-select-create .plus{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;border-radius:6px;background:#0c8eb5;color:#fff;font-size:15px}.searchable-select-options{max-height:250px;overflow:auto;overscroll-behavior:contain}.searchable-select-option{display:block;width:100%;border:0;border-bottom:1px solid #edf1f4;background:#fff;color:#233c53;padding:9px 12px;text-align:left;font-size:11.5px;line-height:1.35;cursor:pointer}.searchable-select-option:last-child{border-bottom:0}.searchable-select-option:hover,.searchable-select-option.keyboard-active{background:#f1f9fb;color:#087da2}.searchable-select-option.selected{background:#f5fbfd;color:#087da2;font-weight:750}.searchable-select-option.disabled{color:#9aa7b4;cursor:not-allowed;background:#fafbfc}.searchable-select-empty{padding:15px 12px;text-align:center;color:#8392a1;font-size:10.8px}.searchable-select-hint{padding:7px 10px;border-top:1px solid #edf1f4;background:#fbfcfd;color:#81909f;font-size:9.5px}.modal .fg>.searchable-select-wrap{margin:0}.modal .fg>label{z-index:8!important}.master-picker>.searchable-select-wrap{min-width:0}.master-picker .searchable-select-input{min-height:40px!important;padding-top:10px!important;padding-bottom:7px!important;font-size:11.5px!important}.master-picker .searchable-select-menu{min-width:260px}.filters .searchable-select-wrap{width:auto;min-width:150px;flex:0 1 210px}.filters .searchable-select-input{min-height:38px!important;font-size:11.5px!important;padding-top:8px!important;padding-bottom:8px!important}td .searchable-select-input{min-height:36px!important;padding:7px 30px 7px 9px!important;font-size:10.8px!important}td .searchable-select-menu{min-width:190px}.compact-project-status .searchable-select-wrap{width:122px;flex:0 0 122px}.compact-project-status .searchable-select-input{min-height:34px!important;padding:7px 28px 7px 9px!important;font-size:10.5px!important}#project-detail .searchable-select-wrap{max-width:190px}.modal-foot{z-index:240!important}@media (max-width:620px){.searchable-select-menu{position:fixed;inset:auto 12px 74px!important}.searchable-select-options{max-height:45vh}}.master-picker{display:block!important;width:100%!important}.master-picker>.searchable-select-wrap,.master-picker>select{width:100%!important;max-width:none!important}.master-picker .mini-action{display:none!important}.searchable-select-create{position:sticky;top:0;z-index:3}.searchable-select-create .plus{flex:0 0 22px}.searchable-select-create span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:root{--text:#10263d!important;--muted:#536a80!important}html,body{font-family:Inter,Segoe UI,Arial,sans-serif!important;text-rendering:optimizeLegibility!important;-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important}body{font-size:15px!important;line-height:1.52!important;color:#10263d!important;font-weight:500!important;letter-spacing:.002em}.brand h1{font-size:18.5px!important;font-weight:850!important;color:#0b2034!important}.brand p{font-size:11px!important;font-weight:550!important;color:#4e6579!important}.nav-title{font-size:10px!important;font-weight:850!important;color:#72859a!important}.nav{min-height:43px!important;font-size:13.5px!important;font-weight:650!important;color:#314d65!important}.nav.active{font-weight:800!important;color:#087da2!important}.nav .count{font-size:10.5px!important;font-weight:800!important}.topbar{font-size:12.5px!important}.search input{font-size:13px!important;font-weight:550!important;color:#243a50!important}.search input::placeholder{color:#6f8193!important;opacity:1!important}.page-head h2{font-size:23px!important;line-height:1.2!important;font-weight:850!important;color:#0c2238!important}.page-head p{font-size:12.8px!important;font-weight:520!important;color:#526b80!important;line-height:1.55!important}.card-head h3{font-size:14.2px!important;font-weight:820!important;color:#10263d!important}.card-head small{font-size:11px!important;font-weight:520!important;color:#5c7186!important}.notice{font-size:11.5px!important;font-weight:520!important;color:#3d5b70!important;line-height:1.55!important}.kpi label{font-size:10.8px!important;font-weight:720!important;color:#586f85!important}.kpi strong{font-size:17.5px!important;font-weight:850!important;color:#10263d!important}.kpi small{font-size:10.3px!important;font-weight:520!important;color:#687b8e!important}.compact-project-code{font-size:11px!important;font-weight:850!important}.compact-project-identity h3{font-size:17px!important;font-weight:850!important}.compact-project-meta{font-size:11px!important;font-weight:520!important;color:#526b80!important}.compact-metric label{font-size:10.5px!important;font-weight:720!important}.compact-metric strong{font-size:15.5px!important;font-weight:850!important}.compact-project-hint{font-size:10.5px!important;color:#62768a!important}.btn{min-height:37px!important;padding:8px 14px!important;font-size:12px!important;line-height:1.2!important;font-weight:760!important}.btn-xs{min-height:31px!important;padding:6px 10px!important;font-size:10.8px!important}.finance-tab,.ledger-tab,.project-filter-btn,.settings-tab,.quote-view-tab{min-height:35px!important;font-size:11.3px!important;font-weight:720!important}.pill,.invoice-status,.amc-status,.ledger-type-pill{font-size:10.3px!important;font-weight:800!important}table{font-size:12px!important}table th{padding:10px 11px!important;font-size:11px!important;font-weight:820!important;color:#405a72!important;line-height:1.35!important}table td{padding:10px 11px!important;font-size:12px!important;font-weight:520!important;color:#173149!important;line-height:1.48!important}table td b,table td strong{font-weight:800!important;color:#0f2941!important}table td .muted,table td small{font-size:10.5px!important;color:#60758a!important}.modal-head h3{font-size:20.5px!important;font-weight:860!important;color:#0c2238!important}.modal .close:after{font-size:12px!important;font-weight:780!important}.modal .fg>label{font-size:10.5px!important;line-height:17px!important;font-weight:800!important;color:#405d75!important}.modal .fg>input,.modal .fg>select,.modal .fg>textarea{min-height:47px!important;padding:13px 11px 8px!important;font-size:12.5px!important;line-height:1.42!important;font-weight:560!important;color:#102d46!important}.modal .fg>textarea{min-height:84px!important}.modal .help{font-size:10.5px!important;font-weight:500!important;color:#657a8e!important}.modal .section-title{font-size:12.2px!important;font-weight:850!important}.searchable-select-input{font-size:12.5px!important;font-weight:560!important;color:#102d46!important}.searchable-select-create{font-size:11.8px!important;font-weight:850!important}.searchable-select-option{font-size:11.8px!important;font-weight:560!important;color:#19344c!important}.searchable-select-option.selected{font-weight:800!important}.searchable-select-hint{font-size:10px!important;font-weight:520!important;color:#667b90!important}.invoice-items-table th{font-size:10.8px!important;font-weight:820!important}.invoice-items-table td{font-size:11.5px!important}.invoice-items-table input,.invoice-items-table select{font-size:11.5px!important;font-weight:550!important}.invoice-total-panel>div{font-size:12px!important}.invoice-total-panel strong{font-size:14.5px!important;font-weight:850!important}.ledger-summary-box label{font-size:10.8px!important;font-weight:720!important}.ledger-summary-box strong{font-size:15.5px!important;font-weight:850!important}.ledger-running{font-size:12px!important;font-weight:850!important}.settings-side button,.settings-master-group button{font-size:11.5px!important;font-weight:650!important}.parameter-item strong{font-size:12px!important;font-weight:800!important}.muted{color:#5b7186!important;opacity:1!important}.help,small{opacity:1!important}input,select,textarea,button{font-family:Inter,Segoe UI,Arial,sans-serif!important}@media (max-width:1200px){body{font-size:14.5px!important}.nav{font-size:13px!important}table td{font-size:11.7px!important}}@media (max-width:620px){body{font-size:14px!important}.page-head h2{font-size:21px!important}.modal-head h3{font-size:18px!important}.modal .fg>input,.modal .fg>select,.modal .fg>textarea,.searchable-select-input{font-size:12.3px!important}}html,body,button,input,select,textarea,table,th,td,.app,.sidebar,.main{font-family:Inter,Segoe UI,Arial,sans-serif!important}.modal{top:64px!important;bottom:0!important;height:auto!important}@media (max-width:1200px){.modal{inset:64px 0 0 224px!important}}@media (max-width:950px){.modal{inset:64px 0 0!important}}#quoteModal .modal-head{top:0!important;min-height:66px!important;flex:0 0 auto!important}#quoteModal .modal-body{padding-top:18px!important;overflow:visible!important}#quoteModal .tabs{position:sticky!important;top:66px!important;z-index:18!important;margin:0 -28px 20px!important;padding:0 28px!important;min-height:45px!important;align-items:flex-end!important;background:#fff!important;overflow-x:auto!important;overflow-y:visible!important}#quoteModal #qbasic,#quoteModal #qtech,#quoteModal #qprice{overflow:visible!important}#quoteModal #qbasic.panel.active,#quoteModal #qtech.panel.active,#quoteModal #qprice.panel.active{padding-top:18px!important}#quoteModal .form-grid{overflow:visible!important;padding-top:2px!important}#quoteModal .fg{overflow:visible!important}@media (max-width:950px){#quoteModal .modal-body{padding-top:14px!important}#quoteModal .tabs{margin:0 -16px 18px!important;padding:0 16px!important}}@media (max-width:620px){#quoteModal .modal-body{padding-top:12px!important}#quoteModal .tabs{top:62px!important;margin:0 -10px 16px!important;padding:0 10px!important}}.project-financial-summary{margin:10px 0 14px;border:1px solid #dbe5ed;border-radius:10px;overflow:hidden;background:#fff}.project-financial-summary table{width:100%;table-layout:fixed}.project-financial-summary th{position:static!important;background:#f5f8fa!important;color:#4a6177!important;font-size:10.5px!important;padding:8px 10px!important;text-align:left}.project-financial-summary td{padding:9px 10px!important;font-size:11.5px!important;vertical-align:top}.project-financial-summary .group-cell{width:145px;color:#18364f;font-weight:820;background:#fbfcfd}.project-financial-summary .summary-label{display:block;margin-bottom:3px;color:#667b8f;font-size:9.8px;font-weight:700}.project-financial-summary .summary-value{display:block;color:#112c44;font-size:13.2px;font-weight:850;line-height:1.25}.project-financial-summary .summary-value.good{color:#13885e}.project-financial-summary .summary-value.warn{color:#a46600}.project-financial-summary .summary-note{display:block;margin-top:3px;color:#6e8091;font-size:9.3px;line-height:1.35}.project-financial-summary .cash-bank{white-space:nowrap}.project-financial-summary tr:last-child td{border-bottom:0}.project-invoice-card .project-invoice-grid{display:none!important}.project-invoice-card .card-head{min-height:50px}.project-invoice-card{margin-top:12px!important}.vendor-invoice-register{margin-top:14px}.vendor-invoice-register .card-head{min-height:50px}.vendor-invoice-badge{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;background:#edf8fb;color:#087da2;font-size:9.8px;font-weight:800}@media (max-width:900px){.project-financial-summary{overflow-x:auto}.project-financial-summary table{min-width:760px}}.project-detail-top{margin-bottom:12px}.project-detail-title-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:10px}.project-detail-title{display:flex;align-items:center;gap:14px;min-width:0}.project-detail-title h2{margin:0 0 2px;font-size:22px;line-height:1.18;font-weight:850;color:#0c2238}.project-detail-title p{margin:0;font-size:11.5px;color:#5c7186}.project-detail-status{display:flex;align-items:center;gap:8px;flex:0 0 auto}.project-action-label{color:#657a8e;font-size:10px;font-weight:750}.project-detail-status .searchable-select-wrap,.project-detail-status .project-status-select{width:135px!important;max-width:135px!important;flex:0 0 135px!important}.project-action-toolbar{display:flex;align-items:center;flex-wrap:nowrap;gap:7px;width:100%;overflow-x:auto;overflow-y:hidden;padding:7px 0 9px;scrollbar-width:thin}.project-action-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:36px;padding:7px 11px;border:1px solid #d5e0e9;border-radius:8px;background:#fff;color:#314d65;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:11px;font-weight:760;white-space:nowrap;cursor:pointer;transition:background .13s ease,border-color .13s ease,color .13s ease,transform .13s ease}.project-action-btn:hover{transform:translateY(-1px);border-color:#9fcfdd;background:#f7fbfd;color:#087da2}.project-action-btn.customer{border-color:#b9dfea;background:#effafd;color:#087da2}.project-action-btn.vendor{border-color:#cdded9;background:#f3faf7;color:#28725a}.project-action-btn.expense{border-color:#e2d8c3;background:#fffaf0;color:#7f5c18}.project-action-icon{display:inline-flex;width:21px;height:21px;align-items:center;justify-content:center;border-radius:6px;background:#0f5b7a14;font-size:12px;font-weight:850;line-height:1}.project-action-btn.customer .project-action-icon{background:#dff4fa}.project-action-btn.vendor .project-action-icon{background:#e2f3ec}.project-action-btn.expense .project-action-icon{background:#f8edd8}.project-action-separator{flex:0 0 1px;width:1px;height:26px;margin:0 2px;background:#dce5ed}#project-detail .fixed-project-banner{display:block!important;padding:9px 11px!important;line-height:1.45}@media (max-width:1100px){.project-detail-title-row{align-items:flex-start}.project-action-toolbar{padding-bottom:10px}}@media (max-width:700px){.project-detail-title-row{flex-direction:column}.project-detail-status{width:100%;justify-content:flex-start}.project-detail-title{align-items:flex-start;flex-direction:column}}.modal-head{justify-content:flex-start!important;gap:12px!important}.modal-head .close{order:-1!important;flex:0 0 auto!important;margin:0!important}.modal-head h3{order:0!important;flex:1 1 auto!important;margin:0!important;text-align:left!important}.modal .close{width:auto!important;min-width:74px!important;height:35px!important;padding:0 11px!important;border:1px solid #d4dee7!important;border-radius:8px!important;background:#fff!important;color:transparent!important;font-size:0!important;box-shadow:none!important}.modal .close:after{content:"\2190  Back"!important;color:#334b61!important;font-size:11.5px!important;font-weight:750!important}.modal .close:hover{background:#f5f7f9!important;border-color:#bcc9d4!important}button,.btn,.btn-primary,.btn-light,.btn-soft,.btn-xs,.project-action-btn,.project-action-btn.customer,.project-action-btn.vendor,.project-action-btn.expense,.searchable-select-create,.dot-action-btn,.project-filter-btn,.finance-tab,.ledger-tab,.settings-tab,.quote-view-tab{background:#fff!important;color:#31485d!important;border-color:#d2dce5!important;box-shadow:none!important}button:hover,.btn:hover,.btn-primary:hover,.btn-light:hover,.btn-soft:hover,.project-action-btn:hover,.project-action-btn.customer:hover,.project-action-btn.vendor:hover,.project-action-btn.expense:hover,.searchable-select-create:hover,.dot-action-btn:hover{background:#f4f6f8!important;color:#1e354a!important;border-color:#b8c5d0!important;box-shadow:none!important}.btn-add-colored,button.btn-add-colored,.btn.btn-add-colored,.btn-primary.btn-add-colored,.btn-light.btn-add-colored,.btn-soft.btn-add-colored{background:var(--brand)!important;color:#fff!important;border-color:var(--brand)!important;box-shadow:0 6px 16px #1aa8d238!important}.btn-add-colored:hover,button.btn-add-colored:hover,.btn.btn-add-colored:hover,.btn-primary.btn-add-colored:hover,.btn-light.btn-add-colored:hover,.btn-soft.btn-add-colored:hover{background:var(--brand2)!important;color:#fff!important;border-color:var(--brand2)!important;box-shadow:0 6px 16px #109fc93d!important}.project-action-icon,.project-action-btn.customer .project-action-icon,.project-action-btn.vendor .project-action-icon,.project-action-btn.expense .project-action-icon,.searchable-select-create .plus{background:#eef1f4!important;color:#31485d!important}.finance-tab.active,.ledger-tab.active,.project-filter-btn.active,.settings-tab.active,.quote-view-tab.active{background:#f2f4f6!important;color:#20384e!important;border-color:#b8c5d0!important;box-shadow:inset 0 -2px #6c7e90!important}.dot-action-btn.active{background:#f2f4f6!important;color:#20384e!important;border-color:#b8c5d0!important}#floatingRowMenu button.delete,.row-action-menu button.delete,.project-action-btn.delete{background:#fff!important;color:#b63e4a!important}.project-financial-summary .summary-value.good,.compact-metric.profit strong,.project-money-box.profit strong,.kpi.profit strong,.net-profit,.profit-value{color:#13885e!important}.project-financial-summary tr:nth-child(1) td:nth-child(3) .summary-value,.project-financial-summary tr:nth-child(2) td:nth-child(3) .summary-value{color:#112c44!important}.project-financial-summary tr:nth-child(3) td:nth-child(4) .summary-value{color:#13885e!important}.project-financial-summary .summary-value.warn{color:#112c44!important}.compact-metric.attention strong,.compact-metric.loss strong{color:#122a41!important}.compact-metric.profit strong{color:#13885e!important}.modal-foot .btn-primary,.modal-foot .btn-light{background:#fff!important;color:#243d53!important;border:1px solid #cbd6df!important}.modal-foot .btn-primary{font-weight:800!important;border-color:#9eacb8!important}.standard-page-search,.page-head .search.standard-page-search,.page-head .search.finance-search,.page-head .search.ledger-search{display:flex!important;align-items:center!important;gap:8px!important;width:310px!important;min-width:260px!important;max-width:310px!important;height:40px!important;padding:0 11px!important;margin:0!important;border:1px solid #ccd7e0!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important}.standard-page-search:focus-within,.page-head .search.finance-search:focus-within,.page-head .search.ledger-search:focus-within{border-color:#9cabb8!important;box-shadow:0 0 0 2px #465a6e14!important}.standard-page-search .search-icon,.standard-page-search>span,.page-head .search.finance-search>span,.page-head .search.ledger-search>span{position:static!important;left:auto!important;top:auto!important;flex:0 0 auto;color:#63768a!important;font-size:14px!important;line-height:1!important}.standard-page-search input,.page-head .search.finance-search input,.page-head .search.ledger-search input{width:100%!important;min-width:0!important;height:36px!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#1e354a!important;font-size:12px!important;font-weight:550!important}.standard-page-search input::placeholder,.page-head .search.finance-search input::placeholder,.page-head .search.ledger-search input::placeholder{color:#738598!important;opacity:1!important}.page-head .actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:8px!important}.top-search.compact-search{width:100%!important;height:36px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:12px!important}#leads .filters{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-bottom:12px}#leads .filters .field{min-width:160px;max-width:220px}.modal .fg input[id*=Search],.modal .fg input[id*=search]{font-size:12.5px!important;border-color:#ccd7e0!important}@media (max-width:900px){.standard-page-search,.page-head .search.standard-page-search,.page-head .search.finance-search,.page-head .search.ledger-search{width:100%!important;min-width:220px!important;max-width:none!important}.page-head .actions{width:100%;justify-content:flex-start!important}}.ledger-master-source{display:block;margin-top:5px;font-size:9.8px!important;font-weight:550!important;color:#6b7f92!important}#logoutNav{color:#c0492e;margin-top:6px;border-top:1px solid var(--line);border-radius:0;padding-top:12px}#logoutNav:hover{background:#fff0ec;color:#a63c22}#logoutNav .ico{color:inherit}.pfs{margin:10px 0 14px}.pfs-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.pfs-card{min-width:0;background:var(--card);border:1px solid #dbe5ed;border-radius:10px;padding:12px 14px 6px}.pfs-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.pfs-card-head h4{margin:0;font-size:14px;font-weight:850;color:#112c44}.pfs-card-head small{display:block;color:var(--muted);font-size:10.5px;margin-top:2px}.pfs-pct{text-align:right;line-height:1.1}.pfs-pct b{font-size:15px;color:#112c44}.pfs-pct small{display:block;color:var(--muted);font-size:9.5px}.pfs-progress{height:6px;border-radius:99px;background:#edf2f7;margin:9px 0 6px;overflow:hidden}.pfs-progress span{display:block;height:100%;border-radius:99px;background:#1aa8d2}.pfs-table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed}.pfs-table th,.pfs-table td{position:static!important;background:transparent!important;padding:7px 6px!important;border-bottom:1px solid var(--line);font-size:12px!important;text-align:right;vertical-align:middle}.pfs-table thead th{color:#667b8f!important;font-size:10px!important;font-weight:750;text-transform:none;letter-spacing:0;border-bottom:1px solid #dbe5ed}.pfs-table th:first-child{text-align:left;width:28%}.pfs-table tbody th{color:#18364f;font-weight:780}.pfs-table tbody th small{display:block;color:var(--muted);font-size:9.5px;font-weight:600}.pfs-table td{color:#112c44;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}.pfs-table tr.pfs-total th,.pfs-table tr.pfs-total td{border-bottom:0;font-weight:850;font-size:13px!important;border-top:1.5px solid #c9d6e2}.pfs-bal-cell{line-height:1.2}.pfs-bal{display:block;font-weight:850}.pfs-bal.due{color:#112c44}.pfs-bal.extra{color:var(--violet)}.pfs-bal.settled{color:var(--muted);font-weight:700}.pfs-bal-tag{display:block;font-size:9px;color:var(--muted);font-weight:650}.pfs-bal-tag.extra{color:var(--violet)}.pfs-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.pfs-tile{background:var(--card);border:1px solid #dbe5ed;border-radius:10px;padding:10px 14px}.pfs-tile.profit{background:var(--green-soft);border-color:#cdeedd}.pfs-tile-label{display:block;color:#667b8f;font-size:10px;font-weight:750}.pfs-tile-value{display:block;color:#112c44;font-size:16px;font-weight:850;margin:2px 0;font-variant-numeric:tabular-nums}.pfs-tile-value small{font-size:11px;color:var(--muted);font-weight:650}.pfs-tile-note{display:block;color:#6e8091;font-size:10px;line-height:1.35}.pfs-legend{margin-top:8px;color:var(--muted);font-size:10px}@media (max-width:900px){.pfs-grid,.pfs-strip{grid-template-columns:1fr}}
