:root{color:#172538;background:#f3f6fa;font-family:system-ui,sans-serif}body{margin:0}main{max-width:76rem;margin:2rem auto;padding:0 1rem 3rem}.login{max-width:26rem;margin-top:10vh}header{justify-content:space-between;align-items:center;gap:1rem;display:flex}h1{margin-bottom:.5rem;font-size:clamp(1.6rem,4vw,2.2rem)}p{line-height:1.6}nav,.actions{flex-wrap:wrap;gap:.6rem;margin:1rem 0;display:flex}section{background:#fff;border:1px solid #dde4ec;border-radius:.8rem;margin:1rem 0;padding:1.2rem}form{flex-wrap:wrap;align-items:end;gap:1rem;display:flex}label{flex-direction:column;flex:15rem;gap:.4rem;display:flex}input,select,button{font:inherit;box-sizing:border-box;border:1px solid #a4b3c4;border-radius:.4rem;min-height:44px;padding:.7rem}button{cursor:pointer;color:#123b68;background:#edf3fa}button[aria-pressed=true]{color:#fff;background:#164978}button:disabled{opacity:.5;cursor:default}input:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline-offset:2px;outline:3px solid #6aa3db}.check{flex-direction:row;align-items:center}.check input{width:1.2rem;height:1.2rem;min-height:auto}.table-wrap{margin:1rem 0;overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%}th,td{vertical-align:top;border-bottom:1px solid #dde4ec;padding:.8rem}td button{margin:.2rem}small{color:#566579;margin-top:.4rem;display:block}.error{color:#9a2222;background:#fff0f0;padding:.8rem}@media (width<=600px){main{margin-top:1rem}header{align-items:start}section{padding:.8rem}}.work{border-top:1px solid #dde4ec;padding:1rem 0}dt{margin-top:.7rem;font-weight:600}dd{margin-left:0}textarea{font:inherit;resize:vertical;border:1px solid #cbd5e1;border-radius:.4rem;width:100%;max-width:100%;padding:.65rem}.act-document{color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:12px;max-width:900px;margin:24px 0;padding:clamp(20px,4vw,44px);box-shadow:0 4px 18px #0f172a08}.act-document-header{border-bottom:2px solid #334155;justify-content:space-between;align-items:center;gap:24px;padding-bottom:20px;display:flex}.act-document-header h3{margin:8px 0 0;font-size:1.5rem}.act-draft-label{color:#64748b;font-size:.8rem}.act-parties,.act-signatures{grid-template-columns:1fr 1fr;gap:32px;margin:28px 0;display:grid}.act-document h4{color:#64748b;margin:0 0 10px;font-size:.85rem;font-weight:500}.act-document p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.act-description{background:#f8fafc;border-left:3px solid #cbd5e1;margin:24px 0 36px;padding:20px}.act-signature-line{border-bottom:1px solid #94a3b8;width:80%;margin-top:36px}.act-document footer{color:#64748b;border-top:1px solid #e2e8f0;padding-top:18px;font-size:.8rem}@media (width<=600px){.act-parties,.act-signatures{grid-template-columns:1fr;gap:24px}.act-document-header{align-items:flex-start}.act-document-header h3{font-size:1.2rem}}.signature-canvas{touch-action:none;background:#fff;border:1px solid #94a3b8;border-radius:8px;width:100%;max-width:600px;height:auto}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin:24px 0;display:grid}.summary-card{background:#f8fafc;border:1px solid #dce3ec;border-radius:12px;flex-direction:column;gap:10px;padding:24px;display:flex}.summary-card strong{font-size:2rem}.version-link{color:#3153aa;font-size:.88rem;text-decoration:none}.header-actions{align-items:center;gap:18px;display:flex}.district-layout{grid-template-columns:240px minmax(0,1fr);gap:24px;display:grid}.district-list{flex-direction:column;gap:8px;display:flex}.district-list button{text-align:left}.district-list button[aria-pressed=true] small{color:#dbe4ff}.district-detail{min-width:0}.form-hint{color:#66748a;width:100%;font-size:.9rem}.dashboard{--ink:#202c46;--muted:#7b8598;--purple:#6454da;max-width:none;min-height:100vh;color:var(--ink);background:#f5f6fa;grid-template-rows:94px 1fr;grid-template-columns:232px minmax(0,1fr);margin:0;padding:0;font-size:14px;display:grid}.dashboard-brand{background:#fff;border-right:1px solid #e9ebf3;grid-area:1/1;align-items:center;gap:12px;padding:24px;display:flex}.brand-mark{color:#fff;background:#6454da;border-radius:13px;place-items:center;width:42px;height:42px;font-size:26px;font-weight:800;display:grid;box-shadow:0 5px 12px #6454da22}.dashboard-brand strong{letter-spacing:.4px;font-size:14px}.dashboard-brand small{color:var(--muted);margin-top:5px;font-size:11px}.dashboard .workspace-header{background:#fff;border-bottom:1px solid #e9ebf3;grid-area:1/2;padding:0 34px}.dashboard .workspace-header h1{margin:0;font-size:18px;font-weight:650}.dashboard .workspace-header p{color:var(--muted);margin:6px 0 0;font-size:12px}.dashboard .workspace-header button{background:#fff;border-color:#e7e9f1;padding:8px 14px;font-size:12px}.dashboard .workspace-nav{background:#fff;border-right:1px solid #e9ebf3;flex-flow:column;grid-area:2/1;align-content:start;gap:8px;margin:0;padding:26px 16px;display:flex}.dashboard .workspace-nav button{text-align:left;color:#738097;background:0 0;border:0;border-radius:10px;align-items:center;gap:13px;padding:13px 16px;font-size:13px;display:flex}.dashboard .workspace-nav button[aria-pressed=true]{color:#6454da;background:#efedff;font-weight:650}.dashboard .workspace-nav button:hover{color:#6454da;background:#f4f3fe}.dashboard .workspace-content{box-sizing:border-box;grid-area:2/2;width:100%;min-width:0;max-width:1500px;padding:30px 34px 48px}.dashboard section{border:1px solid #e9ebf3;border-radius:15px;margin:0 0 22px;padding:24px;box-shadow:0 3px 10px #263c6203}.dashboard h2{margin:8px 0;font-size:24px;font-weight:650}.dashboard h3{margin:0;font-size:16px;font-weight:650}.dashboard p{color:#738097}.dashboard button{color:#536079;background:#fff;border-color:#e3e5f0;border-radius:8px;font-size:13px;font-weight:500}.dashboard button:hover{border-color:#b7adf4}.dashboard input,.dashboard select{background:#fcfcfe;border-color:#e3e5f0;border-radius:8px;font-size:14px}.dashboard label{color:#66748a;font-size:12px}.dashboard .primary{color:#fff;background:#6454da;border-color:#6454da;padding:12px 20px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.eyebrow{letter-spacing:1.8px;color:#8c91a5;font-size:10px;font-weight:700}.page-heading p{margin:8px 0 0;font-size:13px}.dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.dashboard button.kpi{text-align:left;background:#fff;border:1px solid #e9ebf3;border-radius:14px;flex-direction:column;padding:20px 22px;display:flex;box-shadow:0 3px 10px #263c6203}.kpi-label{color:#7b8598;align-items:center;gap:8px;font-size:12px;display:flex}.status-dot{background:#7899ef;border-radius:50%;width:8px;height:8px}.kpi-1 .status-dot{background:#9d85ef}.kpi-2 .status-dot{background:#e9ad63}.kpi-3 .status-dot{background:#65baa3}.kpi strong{color:#25324c;margin-top:12px;font-size:32px;font-weight:650;line-height:1.4}.kpi-foot{color:#a1a9b9;justify-content:space-between;width:100%;margin-top:14px;font-size:11px;display:flex}.dashboard-grid,.dashboard-bottom{grid-template-columns:minmax(0,1.9fr) minmax(250px,1fr);gap:22px;display:grid}.panel-heading{justify-content:space-between;align-items:center;gap:15px;display:flex}.panel-heading p{margin:7px 0 0;font-size:11px}.dashboard .panel-heading button{color:#6454da;white-space:nowrap;background:0 0;border:0;padding:5px;font-size:11px}.dashboard table{font-size:12px}.dashboard th{text-transform:uppercase;letter-spacing:.5px;color:#97a1b1;background:#fafbfe;padding:12px;font-size:10px;font-weight:500}.dashboard td{border-color:#f0f1f6;padding:15px 12px}.dashboard small{color:#94a0b3;font-size:11px}.status-pill{color:#7790d1;white-space:nowrap;background:#f0f3ff;border-radius:6px;padding:6px 9px;font-size:10px;display:inline-flex}.status-1{color:#8d76d1;background:#efedff}.status-2{color:#c49551;background:#fff3e4}.status-3{color:#5aa787;background:#e9f7f0}.dashboard-empty{text-align:center;color:#a6a6c9;flex-direction:column;justify-content:center;align-items:center;min-height:190px;display:flex}.dashboard-empty svg{color:#8d81cd;background:#f4f2ff;border-radius:18px;width:35px;height:35px;padding:14px}.dashboard-empty h4{color:#61708b;margin:18px 0 6px;font-size:14px;font-weight:500}.dashboard-empty p{max-width:280px;margin:0;font-size:12px}.progress-total{flex-direction:column;gap:4px;margin:26px 0 18px;display:flex}.progress-total strong{font-size:34px;font-weight:650}.progress-total span{color:#97a1b1;font-size:11px}.status-bar{background:#f2f3f7;border-radius:8px;gap:3px;height:9px;display:flex;overflow:hidden}.bar-0,.legend-0{background:#7899ef}.bar-1,.legend-1{background:#9d85ef}.bar-2,.legend-2{background:#e9ad63}.bar-3,.legend-3{background:#65baa3}.status-legend{color:#7b8598;flex-direction:column;gap:16px;margin:22px 0 0;padding:0;font-size:12px;list-style:none;display:flex}.status-legend li,.status-legend li>span{align-items:center;gap:9px;display:flex}.status-legend li{justify-content:space-between}.status-legend i{border-radius:50%;width:7px;height:7px;display:block}.status-legend strong{color:#4e5b73;font-size:12px}.large-metric{align-items:baseline;gap:12px;margin:26px 0 22px;display:flex}.large-metric strong{font-size:34px;font-weight:650}.large-metric span{color:#8b95a9;font-size:12px}.district-chips{flex-wrap:wrap;gap:9px;display:flex}.dashboard .district-chips button{background:#fafbfe;border-color:#eff0f6;min-height:36px;padding:9px 12px;font-size:11px}.district-chips strong{color:#8a80c9;margin-left:12px}.team-list{margin:22px 0;padding:0;list-style:none}.team-list li{align-items:center;gap:11px;margin:16px 0;font-size:12px;display:flex}.avatar{color:#8973cf;background:#efedff;border-radius:11px;flex-shrink:0;place-items:center;width:36px;height:36px;font-weight:650;display:grid}.team-state{background:#bac1d0;border-radius:50%;width:7px;height:7px;margin-left:auto}.team-state.available{background:#65baa3}.team-empty{text-align:center;flex-direction:column;align-items:center;padding:22px 0 6px;display:flex}.team-empty p{max-width:225px;margin:10px 0;font-size:12px}.dashboard .team-empty button{color:#6454da;min-height:36px;font-size:11px}.dashboard .act-count{border-top:1px solid #eff0f6;margin-bottom:0;padding-top:14px;font-size:11px}.dashboard .error{color:#9a2222}.dashboard-login{background:#fff;border:1px solid #e8e6f2;border-radius:18px;padding:36px;box-shadow:0 10px 35px #35417508}.dashboard-login h1{font-size:24px}.dashboard-login button{color:#fff;background:#6454da;border-color:#6454da;width:100%}.dashboard-login form{flex-direction:column;align-items:stretch}.dashboard-login label{flex:auto}.dashboard input[readonly],.login input[readonly]{color:#758096;background:#f1f3f8}@media (width>=1600px){.dashboard .workspace-content{padding:40px 48px}.dashboard .workspace-header{padding:0 48px}}@media (width<=1100px){.dashboard{grid-template-columns:190px minmax(0,1fr)}.dashboard-brand{padding:18px 14px}.dashboard-brand strong{font-size:12px}.dashboard .workspace-header{padding:0 22px}.dashboard .workspace-content{padding:24px 22px}.dashboard .workspace-nav{padding:22px 10px}.dashboard-kpis{gap:12px}.dashboard button.kpi{padding:16px}.dashboard-grid,.dashboard-bottom{grid-template-columns:minmax(0,1fr)}.progress-panel .status-legend{grid-template-columns:1fr 1fr;display:grid}.district-layout{grid-template-columns:190px minmax(0,1fr)}}@media (width<=700px){.dashboard{display:block}.dashboard-brand{border:0;padding:16px 20px}.dashboard .workspace-header{gap:10px;padding:16px 20px}.dashboard .workspace-header h1{font-size:16px}.dashboard .header-actions{flex-direction:column;align-items:flex-end;gap:10px}.dashboard .version-link{font-size:11px}.dashboard .workspace-nav{border-bottom:1px solid #e9ebf3;border-right:0;flex-flow:row;gap:5px;padding:12px 16px;overflow-x:auto}.dashboard .workspace-nav button{flex-shrink:0;gap:7px;padding:11px;font-size:12px}.dashboard .workspace-nav svg{width:17px}.dashboard .workspace-content{padding:22px 16px}.page-heading{align-items:flex-start}.dashboard h2{font-size:22px}.page-heading .primary{padding:9px 12px;font-size:11px}.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard section{padding:18px}.district-layout{display:block}.district-list{flex-direction:row;margin-bottom:20px;padding-bottom:8px;display:flex;overflow-x:auto}.district-list button{flex-shrink:0}.dashboard-login{max-width:none;margin:30px 16px;padding:24px}.panel-heading{align-items:flex-start}}.dashboard .district-list button[aria-pressed=true]{color:#6454da;background:#efedff;border-color:#ded8fc}.dashboard .district-list button[aria-pressed=true] small{color:#8f81ce}
