:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#18334e;background:#f3f6f9;font-size:14px;--teal:#087f8c;--navy:#153b4c;--line:#dfe7ed;--muted:#63798a}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:8px;padding:11px 16px;font-weight:600;transition:background .15s}button:hover{filter:brightness(.96)}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus,select:focus,a:focus-visible{outline:3px solid #66c6cf;outline-offset:2px}input,select{border:1px solid #d2dde5;border-radius:7px;background:white;color:#18334e;min-height:41px;padding:9px 10px;max-width:100%}label{display:block;font-size:12px;font-weight:650;color:#536b7c;margin-bottom:6px}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:680;letter-spacing:-.7px;line-height:1.25}h2{font-size:17px;line-height:1.4}h3{font-size:14px;margin:18px 0 10px}p{color:var(--muted);line-height:1.65}small{line-height:1.6}a{color:inherit}nav button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:transparent;color:#c8d9e0;margin:5px 0;padding:14px 13px;font-weight:500}nav button span{font-size:20px;width:22px}nav button.selected{background:#236174;color:white}.sidebar{position:fixed;inset:0 auto 0 0;background:var(--navy);width:243px;padding:30px 19px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;font-size:15px;font-weight:750;letter-spacing:.3px}.brand-mark{display:grid;place-items:center;width:40px;height:43px;color:white;background:#1595a0;border-radius:10px;font-size:25px}.brand>span:last-child{color:white}.brand small{display:block;color:#a9c4cf;font-size:12px;font-weight:450}.nav-label{color:#7ba2af;font-size:10px;letter-spacing:1.1px;margin:43px 12px 13px}.sidebar-bottom{margin-top:auto;padding:18px 10px;color:#bbd0da;font-size:11px}.sidebar-bottom small{display:block;margin-top:9px;color:#7da1b0}.sidebar-bottom button{color:#cde6eb}.status-dot{display:inline-block;background:#5ac3a4;width:7px;height:7px;border-radius:50%;margin-right:6px}.workspace{margin-left:243px}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;font-size:12px}.crumb{color:#77909e}.crumb span{margin:0 13px;color:#b5c3cb}.crumb strong{font-weight:500;color:#324f62}.badge{display:inline-block;background:#edf6f5;color:#33716f;padding:7px 11px;border-radius:20px;font-size:11px;font-weight:650;white-space:nowrap}main{max-width:1510px;padding:32px 36px 20px;margin:auto}.page-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:27px}.page-title p{font-size:13px;margin-top:8px}.eyebrow{font-size:10px;letter-spacing:1.1px;color:#7c929e;margin-bottom:11px;font-weight:650}.primary{background:var(--teal);color:#fff;box-shadow:0 2px 4px #087f8c12}.secondary{background:#fff;border:1px solid #cedce4;color:#285265}.quiet{background:transparent;color:var(--teal);padding:9px 11px;font-size:12px}.danger{color:#a94848}.panel{background:#fff;border:1px solid #e0e8ee;border-radius:13px;box-shadow:0 3px 12px #173a5e03;padding:24px}.empty{padding:58px 20px;text-align:center;margin:20px 0 28px}.empty-icon{background:#e6f3f3;color:#087f8c;width:75px;height:75px;border-radius:23px;margin:0 auto 22px;display:grid;place-items:center;font-size:39px}.empty h2{font-size:23px}.empty p{max-width:540px;margin:12px auto 22px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.empty .actions{justify-content:center;margin-bottom:18px}.empty small{color:#7e909d}.filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;padding:17px 20px;margin-bottom:25px}.filters>div:not(.checks){flex:0 1 155px}.filters>div.grow{flex:1;min-width:200px}.filters select,.filters input{width:100%}.filters .checks{width:100%;display:flex;gap:22px;margin-top:2px}.checks label{display:flex;align-items:center;gap:7px;margin:0;font-size:11px;font-weight:500}.checks input{min-height:initial;width:14px;height:14px;accent-color:var(--teal)}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:25px}.kpis article{background:#fff;border:1px solid #e0e8ee;border-radius:12px;padding:22px}.kpis article>span{font-size:12px;color:#5b7283}.kpis strong{display:block;font-size:31px;font-weight:700;margin:14px 0 8px;letter-spacing:-.5px}.kpis small{font-size:10px;color:#7e929f}.dashboard-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:24px}.panel-head{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:24px}.panel-head p{font-size:11px;margin-top:5px}.bars{display:grid;gap:18px}.bar-label{display:flex;justify-content:space-between;font-size:11px;margin-bottom:7px}.bar-label span{color:#5a7181}.bar-track{background:#f0f4f7;height:9px;border-radius:4px;overflow:hidden}.bar-fill{height:100%;background:#288e99;border-radius:4px}.sex-item{display:grid;grid-template-columns:12px 1fr auto;gap:10px;align-items:center;border-bottom:1px solid #edf1f5;padding:20px 0}.sex-dot{width:10px;height:10px;border-radius:50%}.sex-item p{font-size:11px}.sex-item strong{font-size:20px}.sex-item small{display:block;text-align:right;color:#7c909d}.info-note{background:#f2f7fa;border-radius:8px;padding:14px;color:#698090;font-size:11px;line-height:1.7;margin-top:24px}.report{padding:0;overflow:hidden}.report-controls{padding:20px;display:flex;align-items:end;gap:12px;border-bottom:1px solid var(--line);background:#fbfcfd;flex-wrap:wrap}.report-controls .grow{flex:1;min-width:220px}.report-controls select{width:100%}.report .panel-head{padding:22px 22px 0}.table-scroll{overflow:auto;max-height:530px;scrollbar-color:#bbcdd6 transparent}table{border-collapse:separate;border-spacing:0;width:100%;font-size:11px}th,td{padding:12px 16px;border-bottom:1px solid #e8eef2;vertical-align:middle;text-align:right;min-width:100px}th{position:sticky;top:0;background:#eaf1f6;color:#35566b;font-size:10px;z-index:1;white-space:normal;line-height:1.5}th:first-child,td:first-child{text-align:left;min-width:190px}tbody tr:nth-child(even){background:#fafcfd}tr.total td{background:#e5eff4;font-weight:700;position:sticky;bottom:0}td button{padding:5px 7px;background:none;color:#176e7a;font:inherit;font-weight:600;border-radius:4px}td button:hover{background:#e1f0f1;text-decoration:underline}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 20px;border-top:1px solid var(--line);font-size:10px;color:#79909c}.method{font-size:11px;line-height:1.7}.report>.method{padding:0 20px 20px}.custom-controls{display:flex;gap:13px;align-items:end;padding:15px 20px;border-bottom:1px solid var(--line);flex-wrap:wrap}.custom-controls>div{flex:1;min-width:160px}.custom-controls select{width:100%}.source-row,.history-row{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #e8eef2;padding:17px 0}.source-row h3{margin:0 0 5px;font-size:13px;overflow-wrap:anywhere}.source-row p,.history-row p{font-size:11px}.history{margin-top:24px}.history>p{font-size:12px;margin-top:6px;margin-bottom:15px}#clear-local{margin-top:17px}.drive-card{max-width:850px}.drive-card h2{font-size:25px;margin-bottom:14px}.drive-card>p{max-width:720px}.drive-symbol{width:60px;height:60px;display:grid;place-items:center;background:#e4f3f2;color:#087f8c;font-size:33px;border-radius:17px;margin-bottom:24px}.drive-card ol{padding-left:21px;font-size:13px;line-height:2.4;color:#4f6e80;margin:20px 0 27px}.main-footer{display:flex;justify-content:space-between;gap:15px;color:#8b9eaa;font-size:10px;border-top:1px solid #e0e8ee;padding-top:20px;margin-top:32px}dialog{width:min(620px,calc(100% - 28px));max-height:90vh;border:1px solid #dbe6ed;border-radius:15px;padding:25px;color:#18334e;box-shadow:0 20px 80px #173a5e3b}dialog::backdrop{background:#16384e66;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.icon-button{background:none;font-size:25px;padding:2px 8px;color:#74909e}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;flex-wrap:wrap}dialog>label{margin-top:17px}dialog>input,dialog>select,dialog #field-wrap select{width:100%}dialog p{font-size:12px}dialog input[type=search]{width:100%;margin:10px 0}.choices{max-height:280px;overflow:auto;margin:12px 0}.choices label{display:flex;align-items:center;gap:10px;font-size:12px;padding:11px;background:#f7fafb;margin:5px 0;border-radius:7px;cursor:pointer}.choices input{accent-color:var(--teal);min-height:0;flex-shrink:0}.choices small{margin-left:auto;font-size:10px}.import-summary{display:flex;gap:15px;padding:15px 0;font-size:12px;color:#4e6f80}.busy{position:fixed;inset:0;background:#14364c88;display:grid;place-items:center;z-index:100}.busy .panel{width:min(440px,calc(100% - 30px));text-align:center;padding:34px}.busy h2{margin:17px 0}.busy p{font-size:11px;margin:12px 0 20px}progress{width:100%;height:10px;accent-color:var(--teal)}.spinner{width:32px;height:32px;border:3px solid #d6e9ec;border-top-color:#087f8c;border-radius:50%;animation:spin 1s linear infinite;margin:auto}@keyframes spin{to{transform:rotate(360deg)}}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90%;background:#173a5e;color:#fff;border-radius:9px;padding:13px 20px;z-index:110;font-size:12px;box-shadow:0 5px 20px #173a5e33}[hidden]{display:none!important}
@media(max-width:1100px){.sidebar{width:205px;padding:25px 13px}.workspace{margin-left:205px}main{padding:27px 22px}.topbar{padding:0 22px}.kpis{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.brand{font-size:13px}.filters>div.grow{min-width:170px}.report-controls{gap:9px}.report-controls button{font-size:11px}}
@media(max-width:650px){.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;height:70px;padding:5px 8px;background:#153b4c;padding-bottom:env(safe-area-inset-bottom,5px)}.brand,.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;justify-content:space-around}nav button{width:auto;flex:1;display:flex;flex-direction:column;gap:2px;justify-content:center;text-align:center;font-size:9px;margin:0;padding:7px 4px;border-radius:8px}nav button span{font-size:19px}.workspace{margin-left:0;padding-bottom:75px}.topbar{height:54px;padding:0 17px}.crumb{font-size:10px}.crumb span{margin:0 6px}.topbar .badge{font-size:9px;padding:6px 8px;max-width:150px;overflow:hidden;text-overflow:ellipsis}main{padding:23px 15px 15px}.page-title{align-items:start;gap:10px;margin-bottom:21px}h1{font-size:24px}.page-title>button{font-size:10px;padding:10px 11px;white-space:nowrap;margin-top:23px}.eyebrow{font-size:8px;letter-spacing:.7px}.page-title p{font-size:11px}.kpis{gap:10px}.kpis article{padding:15px}.kpis strong{font-size:27px;margin:12px 0 6px}.kpis article>span{font-size:10px}.kpis small{font-size:9px}.filters{padding:14px;gap:10px}.filters>div:not(.checks){flex:1 1 42%;min-width:0}.filters>div.grow{flex-basis:100%;min-width:0}.filters .checks{gap:12px;flex-wrap:wrap}.filters .checks label{font-size:10px}.filters button{font-size:11px}.panel{padding:18px}.report{padding:0}.panel-head{margin-bottom:18px}.panel-head h2{font-size:15px}.panel-head p{font-size:10px}.report-controls{padding:15px}.report-controls .grow{min-width:100%;flex-basis:100%}.report-controls>div:not(.grow){flex:1}.report-controls>button{flex:1;font-size:10px;white-space:nowrap}.table-scroll{max-height:430px}.table-footer{align-items:start;padding:12px 15px;font-size:9px}.table-footer button{font-size:10px}.report>.method{padding:0 15px 15px;font-size:10px}td,th{padding:11px 10px;font-size:10px;min-width:105px}th:first-child,td:first-child{min-width:160px}.empty{padding:35px 17px}.empty h2{font-size:20px}.empty p{font-size:12px}.empty .actions{flex-direction:column}.empty .actions button{width:100%;max-width:280px}.source-row,.history-row{align-items:start;flex-wrap:wrap}.drive-card h2{font-size:22px}.drive-card .actions{display:grid}.drive-card .actions button{width:100%}.main-footer{font-size:9px;flex-direction:column;gap:5px}.custom-controls{padding:12px 15px}.custom-controls>div{min-width:100%}dialog{padding:19px}.dialog-actions button{font-size:11px;flex:1}.choices{max-height:38vh}#toast{bottom:90px;width:max-content;max-width:90%}}

.brand-mark{font-size:15px;letter-spacing:-.7px}

.access-locked>.sidebar,.access-locked>.workspace{display:none!important}.access{min-height:100vh;display:grid;place-items:center;padding:24px;background:#eaf1f6}.access-card{width:min(440px,100%);padding:32px}.access-card h1{font-size:24px;margin:18px 0 10px}.access-card>p{font-size:13px;margin-bottom:22px}.access-logo{display:inline-grid;place-items:center;width:60px;height:60px;background:#087f8c;color:white;font-weight:700;font-size:24px;border-radius:14px}.access-card input,dialog form>input,dialog form>select,dialog form>div>input{width:100%}.access-card label,dialog form label{margin-top:14px}.access-card form>button{width:100%;margin:14px 0}.form-error{color:#a92e39;font-size:12px;min-height:18px;margin-top:12px}#account-name{font-size:11px;color:#d4e3e9;line-height:1.6}#users-dialog{width:min(850px,calc(100% - 28px))}.user-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #dbe6ed;flex-wrap:wrap}.user-row>div{flex:1;min-width:190px}.user-row p{margin-top:5px}.user-row button{font-size:11px}.sidebar-bottom .quiet{display:block;margin-top:4px;color:#d4e3e9}.sidebar-bottom p{margin-bottom:8px}
