:root{color-scheme:dark}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#07111f;color:#e2e8f0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}.portal-shell{min-height:100vh;background:radial-gradient(circle at top right,#14345a 0,#07111f 45%,#050a12 100%)}.portal-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem max(1.25rem,calc((100vw - 1100px) / 2));border-bottom:1px solid #1e3a5f}.portal-title{display:flex;align-items:baseline;gap:1rem}.portal-title h1{margin:0;font-size:1.65rem}.portal-main{max-width:1100px;margin:0 auto;padding:1.25rem 1.25rem 3rem}.eyebrow{color:#67e8f9;font:700 .75rem/1.2 system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase}.muted{color:#94a3b8}.card{border:1px solid #1e3a5f;border-radius:18px;background:rgba(9,24,43,.88);padding:1.25rem;box-shadow:0 18px 50px rgba(0,0,0,.18)}.stack{grid-gap:.7rem}.grid,.stack{display:grid;gap:.7rem}.grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));grid-gap:.7rem}.row{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.button{border:0;border-radius:10px;background:#0891b2;color:#fff;padding:.7rem 1rem;font:700 .9rem system-ui,sans-serif}.button.secondary{background:#1e3a5f}.button.danger{background:#9f1239}.input{width:100%;border:1px solid #365779;border-radius:10px;background:#0b1d34;color:#f8fafc;padding:.75rem}.password-field{position:relative}.password-field .input{padding-right:5.5rem}.password-toggle{position:absolute;top:50%;right:.65rem;transform:translateY(-50%);border:0;background:transparent;color:#67e8f9;font:700 .75rem system-ui,sans-serif}.password-rules{display:grid;grid-gap:.2rem;gap:.2rem;color:#fda4af;font:.78rem system-ui,sans-serif}.password-rules .rule-ok{color:#86efac}.form{display:grid;grid-gap:.8rem;gap:.8rem;max-width:430px}.activation-card{position:relative}.help-button{position:absolute;top:1rem;right:1rem;width:2rem;height:2rem;border:2px solid #38bdf8;border-radius:50%;background:#0369a1;color:#fff;font:700 1rem/1 system-ui,sans-serif}.help-button:hover{background:#0284c7}.button:disabled{cursor:not-allowed;opacity:.55}.modal-backdrop{position:fixed;inset:0;z-index:10;display:grid;place-items:center;padding:1rem;background:rgba(2,6,23,.78)}.help-modal{width:min(100%,560px);border:1px solid #38bdf8;border-radius:18px;background:#09182b;padding:1.25rem;box-shadow:0 24px 80px rgba(0,0,0,.45)}.help-modal h2{margin:0;padding-right:1rem}.help-modal p{color:#cbd5e1;line-height:1.55}.modal-close{border:0;border-radius:50%;background:#1e3a5f;color:#fff;width:2rem;height:2rem;font:700 1rem system-ui,sans-serif}.document{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem 0;border-top:1px solid #1e3a5f}.document-link{border:0;padding:0;background:transparent;color:#7dd3fc;font-weight:700;text-align:left;text-decoration:underline;text-underline-offset:3px}.document-link:hover{color:#fff}.logout-button{width:2.25rem;height:2.25rem;border:1px solid #365779;border-radius:50%;background:transparent;color:#94a3b8;font-size:1.25rem;line-height:1}.logout-button:hover{border-color:#67e8f9;color:#67e8f9}.pill{display:inline-block;border-radius:999px;background:#164e63;padding:.3rem .6rem;font:700 .75rem system-ui,sans-serif}.error{border:1px solid #be123c;border-radius:10px;background:#4c0519;padding:.8rem;color:#fecdd3}.case-link{width:100%;border:0;color:inherit;text-align:left;background:transparent}.case-link:hover{background:rgba(30,58,95,.35)}.case-detail{margin-top:1rem;border-top:1px solid #1e3a5f;padding-top:1rem}.attachments{display:grid;grid-gap:.6rem;gap:.6rem;margin:.8rem 0;padding:.75rem;border:1px solid #1e3a5f;border-radius:10px;background:rgba(15,43,71,.35)}.attachment-list{display:flex;flex-wrap:wrap;gap:.75rem}.attachment-item{display:grid;grid-gap:.25rem;gap:.25rem;min-width:120px}.attachment-preview{width:120px;height:90px;padding:0;overflow:hidden;border:1px solid #365779;border-radius:8px;background:#0b1d34}.attachment-preview img{width:100%;height:100%;object-fit:cover}.attachment-kind{font:.72rem system-ui,sans-serif}.conversation{display:grid;grid-gap:.6rem;gap:.6rem;margin:1rem 0}.message{max-width:90%;border-radius:12px;padding:.7rem .85rem;font-family:system-ui,sans-serif;font-size:.9rem}.message small{display:block;margin-top:.35rem;color:#94a3b8}.message.incoming{justify-self:start;background:#102b47}.message.outgoing{justify-self:end;background:#155e75}@media (max-width:640px){.portal-title{align-items:flex-start;flex-direction:column;gap:.2rem}.portal-title h1{font-size:1.35rem}.document{align-items:flex-start;flex-direction:column}}