:root{--navy:#10283e;--dark:#173046;--ink:#1a3040;--muted:#75889a;--line:#e3eaf0;--bg:#f7f9fb;--teal:#078678;--tealwash:#eaf6f2;--blue:#2466be;--bluewash:#eaf2ff;--amber:#ae720f;--amberwash:#fff4df;--red:#b34141;--redwash:#fff0f0;--purple:#8253aa;--purplewash:#f2ebfa;--shadow:0 5px 26px rgba(22,48,74,.045)}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}input:focus,select:focus,textarea:focus,button:focus-visible{outline:2px solid #229f94;outline-offset:2px}h1,h2,h3,p{margin:0}h1{font-size:27px;letter-spacing:-.7px;line-height:1.2}h2{font-size:17px;letter-spacing:-.3px}h3{font-size:13px}p{line-height:1.65}a{color:#0c6c8d}.icon{height:19px;width:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app{display:flex;min-height:100vh}.sidebar{width:260px;flex-shrink:0;background:#10293f;color:#d3dee5;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:24px 15px 18px}.brand{display:flex;align-items:center;gap:11px;margin:3px 10px 31px}.brandmark{width:38px;height:38px;background:#12a99b;border-radius:12px;display:grid;place-items:center;color:white}.brandmark .icon{width:24px;height:24px}.brandname{font-size:15px;font-weight:800;color:#fff;letter-spacing:-.35px}.brandcap{font-size:10px;color:#a2bac9;letter-spacing:.65px;margin-top:1px}.navlabel{font-size:10px;font-weight:800;color:#82a0b4;letter-spacing:1px;margin:0 13px 11px}.nav{display:grid;gap:4px}.navbtn{display:flex;align-items:center;gap:12px;border:0;background:transparent;padding:12px 13px;border-radius:9px;color:#cad9e3;text-align:left;width:100%;font-weight:580}.navbtn:hover{background:#1e4057}.navbtn.active{background:#225166;color:#fff}.navlabel.future{margin-top:29px}.futureitem{display:flex;align-items:center;gap:11px;color:#809aad;padding:10px 13px;font-size:12px;cursor:default}.futureitem span{margin-left:auto;color:#66849a;font-weight:700;font-size:10px}.futureitem .icon{width:17px}.foot{margin-top:auto;padding:19px 11px 0;border-top:1px solid #315066;font-size:11px;color:#c6d7df}.foot p{font-size:10px;color:#819bad;margin-top:8px;line-height:1.6}.online-indicator{display:inline-block;background:#1bd0b3;border-radius:50%;height:7px;width:7px;margin-right:7px}.main{flex:1;min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid var(--line);height:69px;padding:0 34px;gap:16px}.breadcrumb{font-size:12px;color:#8798a7}.breadcrumb strong{color:#2d475c}.breadcrumb span{margin:0 12px;color:#becbd5}.topRight{display:flex;align-items:center;gap:13px}.avatar{border:1px solid #cfdee8;background:#ecf3f7;color:#406c80;height:32px;width:32px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:750}.miniStatus{font-size:11px;color:#607f8e;display:flex;gap:6px;align-items:center}.miniStatus:before{content:"";height:7px;width:7px;border-radius:50%;background:#20b297}.content{padding:30px 35px 65px;max-width:1580px;margin:auto}.pagehead{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:23px}.kicker{color:#8395a5;font-size:10px;letter-spacing:1.1px;font-weight:800;margin-bottom:10px}.subtitle{font-size:13px;color:#738594;margin-top:7px}.actions{display:flex;gap:9px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;padding:10px 14px;font-size:12px;font-weight:720;border-radius:9px;color:white;background:var(--navy);white-space:nowrap}.btn:hover:not(:disabled){filter:brightness(1.07)}.btn .icon{width:16px;height:16px}.btn.outline{background:white;border-color:#dbe5eb;color:#294b60}.btn.soft{background:#e8f4f2;color:#117e75}.btn.compact{padding:6px 10px;font-size:11px}.btn.primary{background:#087f74}.btn.danger{background:#fff0ef;color:#a83e40}.card{border-radius:13px;border:1px solid #e7edf1;background:white;box-shadow:var(--shadow)}.cardpad{padding:22px}.grid{display:grid;gap:17px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:19px}.metric{padding:20px 20px 18px;min-height:132px;position:relative}.metric .iconbox{position:absolute;right:17px;top:18px;border-radius:11px;background:#eaf5f2;color:#0d8d7d;width:36px;height:36px;display:grid;place-items:center}.metriclabel{font-size:12px;font-weight:660;color:#748a9b}.metricnumber{font-size:28px;font-weight:800;letter-spacing:-.7px;margin-top:13px}.metricsub{font-size:11px;color:#91a0ad;margin-top:1px}.split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr);gap:17px}.topSection{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.topSection small{color:#8697a6}.hero{border-radius:14px;background:linear-gradient(115deg,#102a43,#1c5366);color:white;padding:25px 29px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;gap:22px}.hero .kicker{color:#8edcca}.hero h2{font-size:19px;margin-bottom:6px;color:white}.hero p{color:#c1d7e1;font-size:12px;max-width:620px}.hero .btn{background:white;color:#174152}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:770;white-space:nowrap}.badge.purple{color:var(--purple);background:var(--purplewash)}.badge.teal{color:var(--teal);background:var(--tealwash)}.badge.amber{color:var(--amber);background:var(--amberwash)}.badge.blue{color:var(--blue);background:var(--bluewash)}.badge.red{color:var(--red);background:var(--redwash)}.badge.gray{color:#6a7a88;background:#edf1f4}.tablewrap{overflow:auto}.table{width:100%;border-collapse:collapse;text-align:left}.table th{background:#f9fbfc;text-transform:uppercase;letter-spacing:.5px;font-size:10px;color:#91a0ab;text-align:left;font-weight:790;padding:13px 17px;white-space:nowrap}.table td{border-top:1px solid #edf1f3;padding:13px 17px;font-size:12px;vertical-align:middle}.table tbody tr:hover{background:#fbfcfd}.table .linked{border:0;background:none;padding:0;font-weight:800;color:#126f8c}.table .rowbtn{border:1px solid #dbe5eb;background:white;padding:7px 10px;border-radius:8px;color:#35546b;font-weight:730;font-size:11px;white-space:nowrap}.table .sub{display:block;color:#8296a4;font-size:10px;margin-top:3px}.table .amount{white-space:nowrap;font-weight:780}.empty{padding:40px;text-align:center;color:#8799a6}.empty .icon{display:block;margin:0 auto 12px;height:30px;width:30px}.historyitem{display:flex;gap:11px;padding:12px 0;border-bottom:1px solid #eff2f4}.historyitem:last-child{border-bottom:0}.historyicon{height:30px;width:30px;border-radius:9px;background:#e9f4f2;display:grid;place-items:center;flex-shrink:0;color:#127d75}.historyicon .icon{height:16px;width:16px}.historyitem strong{font-size:12px}.historyitem p{font-size:11px;color:#778a98;margin-top:2px}.historyitem time{color:#9cabb5;font-size:10px;display:block;margin-top:3px}.filterbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:17px}.control{background:white;border:1px solid #d9e3e9;border-radius:8px;padding:11px 12px;font-size:12px;color:#37566a;min-width:130px;max-width:100%}.filterbar input{min-width:215px;flex:1}.process{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}.process .phase{border:1px solid var(--line);border-radius:10px;padding:14px;background:white;min-width:0}.phase strong{font-size:25px;display:block}.phase span{font-size:11px;color:#8b9aa6}.kanban{display:grid;grid-template-columns:repeat(3,minmax(250px,1fr));gap:13px}.kanbanCol{background:#eef3f6;border:1px solid #e2eaf0;border-radius:12px;min-height:160px;padding:11px}.kanbanTop{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px;padding:4px 5px 2px}.kanbanTop strong{font-size:12px}.kanbanTop span{font-size:11px;border-radius:6px;background:#dce6ee;padding:2px 8px;font-weight:800}.kanbanCard{background:white;border:1px solid #e4eaf0;border-radius:9px;padding:13px;margin-bottom:9px;box-shadow:0 3px 10px #123b4b08;text-align:left;width:100%;color:inherit}.kanbanCard:hover{border-color:#92c3c0}.kanbanCard .id{font-weight:790;font-size:12px;color:#1a6b86}.kanbanCard h4{font-size:12px;margin:8px 0 6px}.kanbanCard .detail{font-size:10px;color:#7d909d}.kanbanCard .money{margin-top:11px;font-size:12px;font-weight:750}.notice{border:1px solid #d5e9e4;background:#f1faf7;color:#456f68;border-radius:10px;padding:14px 16px;font-size:12px;line-height:1.6}.notice.amber{background:#fff9ee;border-color:#f0e0bf;color:#866a32}.notice.red{background:#fff1f1;border-color:#f1cfcf;color:#a54848}.connectionGrid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.kv{display:grid;grid-template-columns:minmax(160px,1fr) 1.5fr;gap:6px 20px;border-bottom:1px solid #edf1f3;padding:12px 0}.kv dt{font-size:11px;color:#8598a6}.kv dd{font-size:12px;font-weight:700;margin:0;overflow-wrap:anywhere}.instructions{padding-left:20px;color:#547082;font-size:12px;line-height:1.85}.instructions li{margin:10px 0}.mono{font-family:ui-monospace,Menlo,Consolas,monospace;overflow-wrap:anywhere}.muted{color:#8294a3;font-size:11px}.modalOverlay{background:#091f3299;position:fixed;inset:0;z-index:20;display:flex;justify-content:flex-end}.drawer{background:#fff;height:100%;width:min(100%,710px);overflow:auto;box-shadow:-18px 0 70px #0318282d}.drawerTop{border-bottom:1px solid var(--line);padding:25px 31px;display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.drawerbody{padding:23px 31px 46px}.drawerTop h2{font-size:22px}.drawerTop p{font-size:12px;color:#8295a3}.xbtn{border:1px solid #dce7ec;border-radius:9px;background:white;height:34px;width:34px;display:grid;place-items:center}.drawermeta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.infocard{border:1px solid var(--line);border-radius:10px;padding:13px 15px;min-width:0}.infocard label{font-size:10px;color:#91a0ad;display:block;margin-bottom:6px;font-weight:700}.infocard div{font-size:12px;overflow-wrap:anywhere;font-weight:700}.progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:16px 0 26px}.progress div{height:5px;border-radius:7px;background:#e8edf0}.progress div.on{background:#159e90}.progressLabels{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:10px;color:#728899;margin-top:-18px;margin-bottom:25px}.sectionTitle{font-size:13px;font-weight:800;border-bottom:1px solid #edf2f4;padding-bottom:12px;margin:20px 0 12px}.item{display:flex;align-items:start;justify-content:space-between;gap:10px;border-bottom:1px solid #edf1f4;padding:10px 0}.item strong{font-size:12px}.item span{display:block;font-size:10px;color:#8495a2}.item>.amount{font-size:12px;font-weight:780}.totalrow{display:flex;justify-content:space-between;align-items:center;background:#f8fafb;padding:13px;border-radius:8px;margin-top:9px}.actionsBox{border:1px solid #dcece9;background:#f5fbf9;padding:17px;border-radius:11px;margin:18px 0}.actionsBox label{font-size:11px;font-weight:750;display:block;margin-bottom:6px}.actionsBox textarea{border:1px solid #cbdedb;background:white;border-radius:8px;min-height:67px;padding:10px;resize:vertical;width:100%;font-size:12px}.actionsBox .btn{margin-top:11px}.eventline{display:flex;gap:13px;border-left:2px solid #d9e5e9;margin-left:6px;padding:3px 0 20px 16px;position:relative}.eventline:before{content:"";height:10px;width:10px;border-radius:50%;background:#fff;border:2px solid #1c9a90;position:absolute;left:-7px;top:5px}.eventline strong{font-size:12px;display:block}.eventline p{font-size:11px;color:#718696;margin-top:3px}.eventline small{font-size:10px;color:#99aab6}.toast{position:fixed;right:20px;bottom:23px;background:#183e52;color:white;padding:12px 18px;border-radius:10px;z-index:45;box-shadow:0 10px 26px #1233;font-size:12px;max-width:360px}.toast.err{background:#ad393c}.login{position:fixed;inset:0;display:grid;place-items:center;padding:20px;background:#ecf3f6}.login-card{background:#fff;border-radius:16px;border:1px solid #dae4ea;max-width:440px;width:100%;padding:36px;box-shadow:0 10px 40px #072e3f1f}.brandmark.big{margin-bottom:22px;width:47px;height:47px}.login-card p{color:#7890a0;font-size:12px;margin:13px 0 23px}.login-card label{font-size:12px;font-weight:750;display:block;margin-bottom:6px}.login-card input{width:100%;border:1px solid #d7e2e8;border-radius:9px;padding:12px;margin-bottom:13px}.login-card .btn{width:100%}.loginerror{color:#b44141!important}.mobileNav{display:none}.footerline{font-size:10px;color:#a2aeb7;padding:30px 0 0}.badge .icon{height:12px;width:12px}.setting-section{margin-bottom:16px}.overflow{overflow-wrap:anywhere}.onlysmall{display:none}
@media(max-width:1100px){.sidebar{width:228px}.content{padding:24px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.split{grid-template-columns:1fr}.connectionGrid{grid-template-columns:1fr}.process{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.sidebar{display:none}.topbar{padding:0 17px;height:62px}.content{padding:22px 15px 92px}.breadcrumb{font-size:11px}.topRight{gap:7px}.avatar{display:none}.pagehead{align-items:flex-start;flex-direction:column}.pagehead h1{font-size:24px}.hero{padding:20px;align-items:flex-start;flex-direction:column}.hero h2{font-size:17px}.metrics{gap:9px}.metric{padding:16px;min-height:115px}.metricnumber{font-size:24px}.metric .iconbox{width:29px;height:29px;top:14px;right:12px}.metric .iconbox .icon{width:15px}.process{gap:7px}.phase{padding:10px}.phase strong{font-size:18px}.phase span{font-size:9px}.kanban{grid-template-columns:1fr 1fr;gap:9px}.kanbanCol{min-width:0}.mobileNav{position:fixed;display:flex!important;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);z-index:12;justify-content:space-around;padding:8px 5px max(8px, env(safe-area-inset-bottom))}.mobileNav button{background:none;border:0;font-size:10px;color:#678091;padding:8px 6px}.mobileNav button.active{font-weight:800;color:#077d71}.drawerTop{padding:19px}.drawerbody{padding:19px 18px 55px}.drawermeta{gap:8px}.infocard{padding:10px}.topSection{flex-wrap:wrap}.filterbar .control{flex:1;min-width:105px}.kv{grid-template-columns:1fr}.table th,.table td{padding:12px}.onlysmall{display:inline}}
@media(max-width:400px){.metriclabel{font-size:10px}.kanban{grid-template-columns:1fr}.miniStatus{font-size:9px}.drawermeta{grid-template-columns:1fr}}
[hidden]{display:none!important}
.card,.split>*,.grid>*{min-width:0}
