*{box-sizing:border-box}body{color:#202d42;background:#f5f7fa;margin:0;font:14px Segoe UI,sans-serif}aside{color:#fff;background:#12283b;width:226px;height:100vh;padding:33px 22px;position:fixed}.brand{letter-spacing:-1px;gap:12px;font-size:28px;font-weight:700;display:flex}.dim{color:#7fbaaf;font-weight:400}aside small{letter-spacing:1.7px;color:#91a5b6;margin:18px 0 34px;font-size:9px;display:block}nav button{text-align:left;color:#aebfcc;width:100%;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;margin-bottom:6px;padding:14px}nav button.active{color:#c9f5dc;background:#25454f}.sidefoot{color:#b6d7cc;font-size:12px;line-height:2;position:absolute;bottom:30px}.sidefoot span{color:#8da1b3}main{margin-left:226px}header{letter-spacing:1px;color:#7d8898;background:#fff;border-bottom:1px solid #e5e9ee;justify-content:space-between;align-items:center;height:78px;padding:0 36px;font-size:11px;display:flex}header b{color:#35455c;margin-left:10px}select,input{color:#26364b;font:inherit;background:#fff;border:1px solid #dce2e9;border-radius:6px;padding:10px}header select{max-width:250px;margin-left:10px}.notice{color:#507165;background:#eaf1ee;padding:10px 36px;font-size:11px}section{min-height:76vh;padding:32px 36px}.eyebrow{letter-spacing:1.8px;color:#638475;text-transform:uppercase;font-size:11px}.title{justify-content:space-between;align-items:center;margin:10px 0 26px;display:flex}h1{letter-spacing:-.8px;margin:0 0 8px;font-size:30px;font-weight:650}p{color:#7b8898;margin:0;line-height:1.6}button{cursor:pointer;font:inherit}button.primary,.primary{color:#fff;background:#166a55;border:0;border-radius:6px;padding:12px 18px}button.secondary{color:#35455c;background:#fff;border:1px solid #dce2e9;border-radius:6px;padding:10px 14px}.cards{grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:28px;display:grid}.card{background:#fff;border:1px solid #e2e7ed;border-radius:10px;padding:22px}.card label{color:#7b8898;font-size:12px;display:block}.card strong{letter-spacing:-.7px;margin:12px 0 8px;font-size:27px;font-weight:650;display:block}.card small{color:#5b8b78}.panel{background:#fff;border:1px solid #e2e7ed;border-radius:10px;margin-bottom:22px;overflow:hidden}.panelhead{justify-content:space-between;align-items:center;gap:10px;padding:21px;display:flex}.panelhead h3{margin:0;font-size:16px}.panelhead input{width:240px}table{border-collapse:collapse;white-space:nowrap;width:100%}th{text-transform:uppercase;letter-spacing:.8px;color:#7b8898;text-align:left;background:#f7f9fb;padding:14px 20px;font-size:10px}td{border-bottom:1px solid #edf0f3;padding:17px 20px;font-size:12px}.scroll{overflow:auto}.badge{color:#5c77a2;background:#edf2fa;border-radius:5px;padding:5px 9px;font-size:11px}.badge.green{color:#33805e;background:#e7f4ed}.badge.orange{color:#ab782d;background:#fff3e4}.route{color:#8692a1;margin-top:5px;font-size:11px;display:block}.revenue{color:#267c60;font-weight:600}.cols{grid-template-columns:1.6fr 1fr;gap:22px;display:grid}.item{border-bottom:1px solid #edf0f3;justify-content:space-between;gap:15px;padding:17px 22px;display:flex}.item small{color:#8b96a4;margin-top:5px;display:block}.bar{background:#e9eef3;border-radius:8px;height:7px;margin-top:10px;overflow:hidden}.bar i{background:#428978;height:100%;display:block}.empty{text-align:center;color:#7b8898;padding:35px}footer{color:#698174;border-top:1px solid #e3e8ee;padding:20px 36px;font-size:12px}footer span{float:right;color:#9aa4b1}dialog{border:0;border-radius:12px;width:720px;max-width:95vw;max-height:90vh;padding:26px;box-shadow:0 20px 100px #12283b44}dialog::backdrop{background:#12283b77}.dialoghead{justify-content:space-between;align-items:center;display:flex}.dialoghead button{background:0 0;border:0;font-size:20px}#fields{grid-template-columns:1fr 1fr;gap:14px;margin:20px 0;display:grid}#fields label{color:#657588;font-size:12px}#fields input,#fields select{width:100%;margin-top:6px;display:block}#calc{color:#216a50;background:#eaf4ef;margin-bottom:20px;padding:12px}#toast{color:#fff;background:#173e33;border-radius:8px;padding:14px 22px;display:none;position:fixed;bottom:25px;right:25px}.permission{color:#278464;font-size:17px}.muted{color:#aab3be}.toolbar{gap:10px;display:flex}.link{color:#26775f;background:0 0;border:0;text-decoration:underline}.note{color:#6c7e75;background:#f7faf9;padding:18px 22px;font-size:12px;line-height:1.7}@media (max-width:1000px){aside{width:175px;padding:24px 12px}main{margin-left:175px}.cards{grid-template-columns:1fr 1fr}.cols{grid-template-columns:1fr}section{padding:24px 20px}header{padding:15px 20px}.notice{padding:10px 20px}}@media (max-width:650px){aside{width:100%;height:auto;padding:16px;position:relative}.brand{font-size:22px}aside small,.sidefoot{display:none}nav{margin-top:15px;display:flex;overflow:auto}nav button{white-space:nowrap;width:auto;margin:0;padding:10px}main{margin:0}header{flex-wrap:wrap;gap:12px;height:auto}.cards{gap:10px}.card{padding:15px}.card strong{font-size:23px}.title{align-items:flex-start;gap:10px}h1{font-size:24px}.panelhead{flex-wrap:wrap}footer span{display:none}}nav{max-height:calc(100vh - 230px);overflow:auto}nav button{margin-bottom:3px;padding:10px 14px;font-size:13px}.filters{margin:0 0 22px}.filterchips{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.chip{color:#586d63;background:#fff;border:1px solid #dce5e1;border-radius:7px;padding:9px 12px;font-size:12px}.chip b{background:#edf2ef;border-radius:4px;margin-left:7px;padding:2px 5px}.chip.selected{color:#fff;background:#166a55;border-color:#166a55}.chip.selected b{color:#166a55}.chip.alert{color:#af3c38;background:#fff4f3;border-color:#e8b9b7}.chip.alert.selected{color:#fff;background:#ad403b}.searchrow{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.searchrow>input{flex:1;min-width:240px}.searchrow label{color:#788879;font-size:12px}.danger,.task{color:#bb4942}.task{margin:4px 0;font-size:11px;font-weight:600;display:block}.formsection{text-transform:uppercase;letter-spacing:1px;color:#2d745e;border-bottom:1px solid #e3ebe7;grid-column:1/-1;margin:12px 0 0;padding:10px 0;font-size:12px}.formhint{color:#7a8b82;grid-column:1/-1;font-size:12px;line-height:1.5}.check{align-items:center;gap:7px;padding-top:20px;display:flex}#fields .check input{width:auto;margin:0;display:inline}#fields #packerfield label{display:block}#fields [hidden]{display:none}.backup{max-width:850px;padding:30px}.backup p{max-width:720px;margin:15px 0 25px;line-height:1.8}dialog{width:850px}#calc{font-size:12px;line-height:1.8}.toolbar{flex-wrap:wrap}.title{gap:20px}h1{font-size:29px}.sidefoot{bottom:20px}.cards{margin-top:0}#entry>.primary{width:100%;position:sticky;bottom:0}footer span{color:#607c6f}@media (max-width:650px){nav{max-height:none}.chip{padding:8px;font-size:11px}.searchrow label{flex:1}.searchrow label input{width:100%}#fields{grid-template-columns:1fr}.title{flex-wrap:wrap}.card strong{font-size:24px}.backup{padding:20px}}.companygrid{grid-template-columns:1fr 1fr;gap:22px;display:grid}.companycard{padding:28px}.companycrest{align-items:center;height:80px;display:flex}.companycrest img{object-fit:contain;max-width:190px;max-height:70px}.companycrest span{color:#166a55;background:#e7f1ec;border-radius:12px;padding:15px;font-size:22px;font-weight:700}.companycard h2{margin:20px 0 12px;font-size:22px}.companycard p{min-height:45px}.profilefacts{grid-template-columns:110px 1fr;gap:15px;margin:25px 0;font-size:12px;display:grid}.profilefacts span{color:#8a9690}.companyfilter{color:#677f73;margin:0 0 20px;font-size:12px}.companyfilter select{min-width:220px;margin-left:10px}.companybadge{color:#296b54;white-space:normal;background:#eaf3ef;border-radius:6px;max-width:200px;padding:7px 9px;font-size:11px;display:inline-block}@media (max-width:850px){.companygrid{grid-template-columns:1fr}}html,body{min-height:100%}.workspace aside{width:225px}.workspace main{margin-left:225px}.workspace nav{max-height:calc(100vh - 220px);overflow:auto}.workspace header{height:86px}.workspace header>div{text-align:right}.workspace header small{letter-spacing:0;margin-top:6px;font-size:10px;display:block}.livebar{color:#47705b;background:#e8f2ec;padding:12px 36px;font-size:11px}.livebar a{float:right;color:#34694f}.workspace section{min-height:78vh;padding:32px 36px}.workspace h1{margin-top:10px;font-size:29px}.subtitle{color:#7d8b81;margin:10px 0 25px}.workspace small{line-height:1.7;display:block}.filters{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:20px;display:flex}.filters>input{flex:1;min-width:240px}.filters label{color:#7b8a81;font-size:11px}.filters input[type=date]{max-width:145px}.chips{flex-wrap:wrap;gap:8px;margin-bottom:20px;display:flex}.sectionhead{justify-content:space-between;align-items:center;gap:15px;margin:20px 0;display:flex}.sectionhead h3{font-size:16px}.export{margin-bottom:15px}.workspace td{vertical-align:top}.rowactions{gap:7px;display:flex}.rowactions .link{padding:3px}.workspace .panel{margin-bottom:20px}.workspace .cards{grid-template-columns:repeat(4,1fr)}.workspace .card strong{font-size:25px}.overlay{z-index:50;background:#132d405e;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:13px;width:870px;max-width:96vw;max-height:94vh;padding:28px;overflow:auto;box-shadow:0 20px 80px #12283b40}.modalhead{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.modalhead h2{margin:8px 0;font-size:22px}.modalhead small{color:#659077;letter-spacing:1.5px;font-size:10px}.close{background:0 0;border:0;font-size:26px}.formgrid{grid-template-columns:1fr 1fr;gap:17px;display:grid}.formgrid>label{color:#62796b;font-size:12px}.formgrid input,.formgrid select,.formgrid textarea{width:100%;font:inherit;color:#263a30;background:#fff;border:1px solid #d9e3dc;border-radius:6px;margin-top:7px;padding:11px;display:block}.formgrid input[type=checkbox]{width:auto;margin-left:12px;display:inline}.wide{grid-column:1/-1}.formgrid textarea{resize:vertical}.rolechecks{flex-wrap:wrap;gap:16px;padding:15px 0;display:flex}.rolechecks label{align-items:center;gap:8px;display:flex}.rolechecks input[type=checkbox]{margin:0}.formfoot{background:#fff;border-top:1px solid #e4ebe6;justify-content:flex-end;gap:12px;margin-top:22px;padding:20px 0 10px;display:flex;position:sticky;bottom:-28px}.notice{border-radius:7px;margin-bottom:20px;line-height:1.6}.calc{color:#306449;background:#edf5ef;margin-top:20px;padding:18px;line-height:1.8}.quoteitems{border-top:1px solid #e0e8e2;margin-top:25px;padding-top:15px}.line{grid-template-columns:2fr .65fr 1fr 1fr auto;align-items:center;gap:8px;margin-bottom:10px;display:grid}.line input{width:100%;min-width:0}.total{text-align:right;color:#1c6d4d;padding:15px 0;font-size:23px}.toolbar{flex-wrap:wrap;gap:10px;display:flex}.documentmodal{width:1000px}.documentmodal iframe{background:#fff;border:1px solid #e0e8e2;width:100%;height:70vh;margin-top:20px}.confirm{max-width:500px;line-height:1.8}.confirm button{margin-right:12px}.delete{background:#aa4943!important}.loading{max-width:650px;margin:12vh auto;padding:35px;line-height:1.8}.loading .brand{color:#166a55}.loading a{color:#166a55;margin:20px;display:inline-block}.loading button{padding:10px 20px}.logopreview{object-fit:contain;max-width:160px;max-height:80px}.companycard img{max-width:200px;max-height:85px}.crest{color:#2a6d4c;background:#edf4ef;border-radius:10px;padding:16px;font-size:24px;display:inline-block}.companycard p{margin:15px 0}.companycard button{margin-top:15px}.companycard h2{margin-top:25px}.backup p{margin:20px 0;line-height:1.8}footer span{float:right}button:disabled{opacity:.6;cursor:wait}.workspace .brand{white-space:nowrap}.workspace .brand span{color:#8fb9aa}.workspace .brand{letter-spacing:-1px;font-size:27px}.workspace nav button{padding:10px 12px;font-size:12px}.workspace nav .active{background:#254c4b}.empty{color:#809187;text-align:center;padding:35px!important}.danger{color:#b3423c}.badge.red{color:#b0443c;background:#fbe8e6}@media (max-width:1100px){.workspace .cards{grid-template-columns:1fr 1fr}.workspace aside{width:180px}.workspace main{margin-left:180px}.workspace section{padding:25px 20px}.workspace header{padding:15px 20px}.livebar{padding:12px 20px}.workspace .brand{font-size:24px}}@media (max-width:700px){.workspace aside{width:100%;height:auto;position:relative}.workspace main{margin:0}.workspace nav{max-height:none;display:flex;overflow:auto}.workspace nav button{white-space:nowrap;width:auto}.workspace .sidefoot,.workspace aside>small{display:none}.workspace header{flex-wrap:wrap;gap:10px;height:auto}.workspace .cards{grid-template-columns:1fr 1fr}.formgrid{grid-template-columns:1fr}.line{grid-template-columns:2fr 1fr 1fr}.line b,.line button{grid-column:auto}.overlay{padding:10px}.modal{padding:20px}.companygrid{grid-template-columns:1fr}.livebar a{float:none;margin-top:7px;display:block}.workspace .card{padding:15px}.workspace .card strong{font-size:22px}.formfoot{bottom:-20px}.workspace section{padding:20px 15px}}.pwa-install{bottom:max(16px,env(safe-area-inset-bottom));z-index:70;font:14px system-ui;position:fixed;right:16px}.pwa-trigger{color:#fff;cursor:pointer;background:#126957;border:1px solid #fff6;border-radius:24px;padding:12px 18px;font-weight:650;box-shadow:0 4px 20px #123b3526}.pwa-help{color:#173b35;background:#fff;border:1px solid #d4e2dd;border-radius:16px;width:min(340px,100vw - 32px);padding:22px;line-height:1.55;position:absolute;bottom:58px;right:0;box-shadow:0 10px 40px #123b3526}.pwa-help h3{margin:0 50px 15px 0}.pwa-help p{margin:12px 0;font-size:14px}.pwa-close{cursor:pointer;color:#173b35;background:0 0;border:0;font-size:12px;position:absolute;top:10px;right:12px}@media print{.pwa-install{display:none}}
