:root{color-scheme:dark;--bg:#09101d;--panel:#111927ed;--line:#ffffff20;--ink:#f5f3ed;--muted:#aeb8c7;--gold:#f5c451}*{box-sizing:border-box}body{margin:0;min-height:100vh;font:16px/1.5 'Segoe UI',sans-serif;color:var(--ink);background:linear-gradient(115deg,#061d39 0%,#141326 55%,#3d1020 100%);background-attachment:fixed}body:before{content:'';position:fixed;inset:0;pointer-events:none;background:repeating-linear-gradient(135deg,transparent 0 4px,#ffffff02 4px 5px)}main{position:relative;width:min(1100px,calc(100% - 40px));margin:50px auto}.brand{text-align:center;margin-bottom:35px}.brand .wordmark{font-size:clamp(38px,7vw,72px);font-weight:300;letter-spacing:.15em;color:var(--gold);margin:0}.eyebrow{color:var(--gold);letter-spacing:.13em;text-transform:uppercase;font-size:12px}.muted{color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-size:28px}h2{font-size:21px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:28px;box-shadow:0 20px 60px #0003}.login{max-width:450px;margin:auto}.field{display:grid;gap:7px;font-size:14px;margin:16px 0}input,select,textarea{font:inherit;color:inherit;background:#0a1220;border:1px solid #ffffff30;border-radius:8px;padding:12px;min-width:0;width:100%}input:focus,select:focus,textarea:focus{outline:2px solid var(--gold);outline-offset:2px}button,.button{font:600 14px 'Segoe UI',sans-serif;border:1px solid var(--line);background:#ffffff0c;color:var(--ink);border-radius:8px;padding:12px 18px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover,.button:hover{background:#ffffff18}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--gold);color:#211807;border-color:var(--gold)}.primary:hover{background:#ffda7c}.wide{width:100%}.error{color:#ffb5ae;white-space:pre-wrap}.error:empty{display:none}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:30px}.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.modules{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.module{display:flex;flex-direction:column;align-items:center;text-align:center;padding:40px 28px}.module img{width:100px;height:100px;object-fit:contain;margin-bottom:20px}.pub-seal{width:100px;height:100px;display:grid;place-items:center;border:1px solid var(--gold);border-radius:50%;color:var(--gold);font-family:Georgia,serif;font-size:54px;margin-bottom:20px}.module p{max-width:320px;color:var(--muted);flex:1}.tag{font-size:12px;letter-spacing:.06em;color:var(--gold);margin-bottom:12px}.foot{text-align:center;color:var(--muted);font-size:12px;margin-top:28px}.grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.product{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:110px}.product strong{font-size:17px}.product small{color:var(--muted)}.product b{margin-top:auto;color:var(--gold)}.tabs{margin-bottom:22px}.tabs button[aria-selected=true]{background:var(--gold);color:#211807}.row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.row input{max-width:75px}.total{font-size:25px;color:var(--gold)}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:12px;border-bottom:1px solid var(--line)}.table-scroll{overflow:auto}.empty{color:var(--muted);padding:30px 0}dialog{color:var(--ink);background:#111927;border:1px solid var(--line);border-radius:16px;width:min(530px,calc(100% - 24px));max-height:90vh;padding:26px}dialog::backdrop{background:#000b}.split{display:grid;grid-template-columns:1fr 1fr;gap:12px}[hidden]{display:none!important}@media(max-width:720px){main{width:calc(100% - 24px);margin:24px auto}.modules,.grid{grid-template-columns:1fr}.panel{padding:20px}.topbar{align-items:flex-start;flex-wrap:wrap}.module{padding:28px 20px}.brand{margin-bottom:24px}.split{grid-template-columns:1fr}}
/* Auras Pub: violet and pink neon, warm gold, and a near-black base. */
body.auras-pub{--panel:#180e24f2;--line:#aa65cf38;--ink:#faf3ff;--muted:#c4afcf;--gold:#edc66c;background:radial-gradient(ellipse at 15% 0%,#68278345,transparent 48%),radial-gradient(ellipse at 95% 55%,#a5267430,transparent 48%),#0d0813;background-attachment:fixed}
.auras-pub .topbar{border-bottom:1px solid #edc66c45;padding-bottom:24px}
.auras-pub h1{color:#edc66c;text-shadow:0 0 26px #c467bc55;letter-spacing:.025em}
.auras-pub h2,.auras-pub h3{color:#f4defd}
.auras-pub .panel{border-color:#a05dc642;box-shadow:0 16px 45px #0005,inset 0 1px 0 #e8b3ff0b}
.auras-pub input,.auras-pub select,.auras-pub textarea{background:#100918;border-color:#b37acf50}
.auras-pub input:focus,.auras-pub select:focus,.auras-pub textarea:focus{outline-color:#d998f5}
.auras-pub button,.auras-pub .button{background:#291634;border-color:#b978d54d}
.auras-pub button:hover:not(:disabled),.auras-pub .button:hover{background:#40204f;border-color:#d18aea}
.auras-pub button:focus-visible,.auras-pub .button:focus-visible{outline:2px solid #edc66c;outline-offset:3px}
.auras-pub .primary,.auras-pub .tabs button[aria-selected=true]{background:linear-gradient(115deg,#7233a0,#a63283);color:#fff6ff;border-color:#d67ade;box-shadow:0 3px 18px #a63c9728}
.auras-pub .primary:hover:not(:disabled),.auras-pub .tabs button[aria-selected=true]:hover{background:linear-gradient(115deg,#8843b6,#ba4098)}
.auras-pub .product{background:linear-gradient(145deg,#291534,#1c1029);border-color:#ab63c64d}
.auras-pub .product b,.auras-pub .total{color:#edc66c}
.auras-pub th{color:#edc66c;background:#29163466}
.auras-pub dialog{background:#1b1026;border-color:#bb74d569;box-shadow:0 24px 90px #0009}
.auras-pub dialog::backdrop{background:#09040dd9}
.auras-pub #notice{color:#edc66c}
@media print{body.auras-pub{background:white;color:black}.auras-pub:before{display:none}.auras-pub dialog{background:white;color:black;box-shadow:none}.auras-pub dialog h2,.auras-pub dialog h3,.auras-pub dialog .total{color:black}}
body.lspd{--panel:#101f30f2;--line:#65819e44;--gold:#e4c47c;background:radial-gradient(ellipse at top,#183954,#07111e 70%);background-attachment:fixed}
.lspd .department-logo{width:96px;height:96px;object-fit:contain;border-radius:50%;flex-shrink:0}
.lspd .wordmark{font-size:clamp(25px,4vw,46px);letter-spacing:.05em}
.lspd .dispatch-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:24px}
.lspd .dispatch-card{padding:20px 0;border-bottom:1px solid var(--line)}
.lspd .dispatch-card:last-child{border:0}
.lspd .dispatch-card h3{margin:4px 0 10px;color:var(--gold)}
.lspd .dispatch-card p{margin-bottom:10px;overflow-wrap:anywhere}
@media(max-width:720px){.lspd .dispatch-grid{grid-template-columns:1fr}.lspd .department-logo{width:70px;height:70px}}
