:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#163048;background:#f5f8fa}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:#086886}.initial{padding:4rem}.auth{min-height:100vh;display:grid;place-items:center;background:linear-gradient(130deg,#0d3447,#133f59 60%,#17687a);padding:1rem}.auth-card{width:min(100%,460px);padding:2rem;background:white;border-radius:18px;box-shadow:0 25px 80px #071f3070}.brand{font-size:1.6rem;font-weight:800;letter-spacing:-.05em}.auth-card h1{font-size:1.5rem;margin:2rem 0 0}.auth-card p,.muted{color:#5c7180;line-height:1.6}.auth-card form,.editor{display:grid;gap:1rem}.auth-card label,.editor label{display:grid;gap:.35rem;font-size:.85rem;font-weight:650}.auth-card input,.editor input,.editor textarea,.searchbar input{padding:.7rem .85rem;border:1px solid #cbd9e1;border-radius:8px;width:100%;color:#173349;background:white}.editor textarea{min-height:80px}.primary,.secondary,.danger,.nav-button{border:0;border-radius:9px;padding:.7rem 1rem}.primary{background:#087988;color:white;font-weight:700}.secondary{background:#e7f2f5;color:#0c5869}.danger{background:#fff0ed;color:#9c352d}.auth-card .toggle{background:none;border:none;color:#087988;text-decoration:underline;padding:1rem 0 0}.layout{display:grid;grid-template-columns:270px minmax(0,1fr);min-height:100vh}.sidebar{background:#102f43;color:#e7f4f8;padding:1.5rem 1rem;max-height:100vh;overflow:auto;position:sticky;top:0}.sidebar .brand{padding:.3rem .6rem 1rem}.sidebar small{color:#a9c9d5;display:block;padding:0 .6rem 1.3rem;word-break:break-word}.nav-group{font-size:.68rem;text-transform:uppercase;letter-spacing:.13em;color:#92b8c9;margin:1.6rem .6rem .5rem}.nav-button{display:block;width:100%;text-align:left;margin:.1rem 0;color:#d8e9f0;background:transparent;font-size:.83rem;padding:.6rem .7rem}.nav-button:hover,.nav-button.active{background:#22516a;color:white}.content{padding:2rem clamp(1rem,3vw,3rem);max-width:1500px;width:100%}.top{display:flex;justify-content:space-between;align-items:center;gap:1rem;border-bottom:1px solid #dce7eb;padding-bottom:1rem}.eyebrow{color:#178092;font-weight:750;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase}h1{font-size:clamp(1.7rem,2.8vw,2.4rem);letter-spacing:-.035em;margin:.4rem 0}.subtitle{color:#607885;line-height:1.6}.card{background:white;border:1px solid #dce7eb;border-radius:14px;padding:1.3rem;margin:1.2rem 0;box-shadow:0 4px 18px #153a5109}.notice{background:#e7f5f8;color:#1b6073;padding:1rem;border-left:4px solid #1f93a7;border-radius:6px;line-height:1.55}.warning{background:#fff6e7;color:#835818;border-color:#dfac54}.card-head,.actions{display:flex;align-items:center;justify-content:space-between;gap:.7rem;flex-wrap:wrap}.actions{justify-content:flex-start}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.8rem}.stat{padding:1rem;background:#f3f9fa;border-radius:10px}.stat strong{font-size:1.6rem;display:block}.searchbar{display:flex;gap:.7rem;flex-wrap:wrap;margin:1rem 0}.searchbar input{max-width:260px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.85rem}td,th{text-align:left;padding:.8rem;border-bottom:1px solid #e5eef1;vertical-align:top}th{color:#526e7d;background:#f5f9fa;white-space:nowrap}td .actions{white-space:nowrap}td button{font-size:.78rem;padding:.35rem .55rem}.empty{padding:2rem;text-align:center;color:#647d89;background:#f6fafb;border-radius:9px}.editor{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1.2rem}.editor .wide{grid-column:1/-1}.editor .actions{grid-column:1/-1}dialog{border:0;border-radius:15px;padding:1.5rem;width:min(90vw,700px);box-shadow:0 20px 80px #10293f50}dialog::backdrop{background:#10293faa}.status{position:fixed;bottom:1rem;right:1rem;background:#173d4c;color:white;padding:.8rem 1.2rem;border-radius:9px;max-width:min(90vw,460px);z-index:4}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #f4a340;outline-offset:2px}@media(max-width:860px){.layout{display:block}.sidebar{position:static;max-height:270px}.content{padding:1rem}.top{align-items:flex-start}.editor{grid-template-columns:1fr}}
