:root{font:15px/1.5 system-ui,sans-serif;color:#192541;background:#f7f8fc;--accent:#5745c9;--muted:#59657e;--line:#e4e7f0}
*{box-sizing:border-box}body{margin:0;display:grid;grid-template-columns:242px minmax(0,1fr);min-height:100vh}aside{background:#17162e;color:#e5e2ff;padding:28px 18px;display:flex;flex-direction:column;gap:32px}.brand{display:flex;gap:12px;align-items:center;font-size:22px;font-weight:760;color:white;text-decoration:none}.brand b{background:#6954e8;border-radius:12px;padding:4px 10px}.brand small,.switch{display:block;font-size:12px;color:#bbb5dc}.switch select{width:100%;margin-top:7px;background:#292645;border-color:#454064;color:white}nav{display:grid;gap:6px}nav a{padding:10px 12px;border-radius:9px;text-decoration:none;color:#cbc6e7;white-space:nowrap}nav a:hover,nav a[aria-current=page]{background:#363058;color:white}.aside-footer{margin-top:auto;color:#bbb5dc;font-size:12px}.shell header{display:flex;align-items:center;justify-content:space-between;padding:15px 32px;border-bottom:1px solid var(--line);background:white;color:var(--muted)}main{max-width:1280px;margin:auto;padding:34px}.hero{background:linear-gradient(110deg,#302364,#5440b2 75%,#705dec);color:white;border-radius:20px;padding:32px;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 14px 30px #33217220}.hero p{color:#e4ddff}.hero button{background:white;color:#382880;white-space:nowrap}h1,h2,p{margin:0 0 8px}h1{font-size:clamp(25px,4vw,40px);letter-spacing:-.035em;line-height:1.16}h2{font-size:19px}.muted,small{color:var(--muted)}.date{font-size:13px;margin-bottom:12px}.metrics,.panels{display:grid;gap:16px;margin-top:20px}.metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.panels{grid-template-columns:1.7fr 1fr}.card{background:white;border:1px solid var(--line);padding:21px;border-radius:16px;min-width:0}.metric strong{display:block;font-size:29px}.metric i{font-style:normal;color:var(--accent);background:#f0ecff;border-radius:8px;padding:4px 8px;margin-right:7px}.page-head,.row,.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.page-head{margin-bottom:20px}.row{padding:13px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.row:last-child{border-bottom:0}.row small{display:block}.pill{background:#eeeaff;color:#4933a7;border-radius:20px;padding:4px 10px;font-size:12px;white-space:nowrap}.person{display:flex;align-items:center;gap:12px}.avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e7e1ff;color:#4933a7;font-weight:bold;object-fit:cover}button,input,select,textarea{font:inherit;border-radius:8px;padding:8px 11px;border:1px solid var(--line)}button{cursor:pointer;background:var(--accent);color:white;font-weight:650;transition:background .16s,transform .16s}button:hover{transform:translateY(-1px);background:#4938af;color:white}button.quiet{color:#4938af;background:#f2efff}.quiet:hover{background:#e6dfff}label.field{display:grid;gap:4px;margin-bottom:12px}dialog{width:min(460px,calc(100% - 30px));border:1px solid var(--line);border-radius:16px;padding:22px}dialog::backdrop{background:#17162e88}#toast{position:fixed;bottom:18px;right:18px;background:#252044;color:white;border-radius:10px;padding:12px;max-width:90vw}#toast:empty{display:none}.enter{animation:enter .25s ease-out both}@keyframes enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(max-width:750px){body{display:block}aside{padding:14px;gap:12px}.brand small,.aside-footer{display:none}.switch{max-width:250px}nav{display:flex;overflow:auto}.shell header,main{padding:16px}.hero{align-items:flex-start;flex-direction:column;padding:22px}.panels{grid-template-columns:1fr}}@media(max-width:460px){.metrics{grid-template-columns:1fr}.page-head{align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
dialog{max-height:calc(100dvh - 32px);overflow:auto}.form-error{color:#a2263d}.form-error:empty{display:none}.form-hint{display:block;margin:-8px 0 12px}
[hidden]{display:none!important}.brand-logo,.login-logo{object-fit:contain;background:white;border-radius:8px}.brand-logo{width:36px;height:36px}.login-logo{width:84px;height:84px;margin-bottom:12px}.brand-mark:has(img){padding:0;background:transparent;display:grid}.button-group{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.welcome{max-width:640px;padding:28px}.approver{padding:10px;background:#f0ecff;border-radius:8px;margin-bottom:14px}.approver strong{display:block}.upload-status,.photo-preview{display:block}.photo-preview:empty{display:none}.photo-preview .avatar{width:72px;height:72px;margin:5px 0}
.preview-link{color:inherit}.stack{display:grid;gap:14px}.stack .card{overflow-wrap:anywhere}.pilot-muted{margin-top:12px}.field input,.field select{min-width:0;width:100%}
