:root{--navy:#071e3a;--gold:#e7b54a;--red:#b93440;--ink:#182b45;--muted:#637087;--line:#dce2eb;--surface:#fff;--bg:#f4f6f9;font-family:Segoe UI,system-ui,sans-serif;color:var(--ink);background:var(--bg);font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;min-height:44px;border-radius:9px;padding:10px 17px;border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:600}button:hover{background:#edf1f7}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--navy);border-color:var(--navy);color:white}.primary:hover{background:#193957}.gold{background:var(--gold);border-color:var(--gold);color:var(--navy)}.subtle{background:transparent;border-color:transparent}.loading{min-height:70vh;display:grid;place-items:center;color:var(--muted)}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-brand{background:var(--navy);color:white;padding:60px;display:flex;flex-direction:column;justify-content:center;border-bottom:6px solid var(--red)}.wordmark{font-size:15px;font-weight:800;letter-spacing:.08em;color:var(--gold)}.auth-brand h1{font-size:clamp(36px,4vw,58px);line-height:1.1;max-width:480px;margin:24px 0}.auth-brand p{color:#bac8db;max-width:360px;line-height:1.7}.auth-form{display:flex;align-items:center;justify-content:center;padding:40px}.auth-form form{width:100%;max-width:380px}.auth-form h2{font-size:28px;margin-bottom:12px}.auth-form .primary{width:100%;margin-top:8px}label{display:flex;flex-direction:column;gap:8px;margin:0 0 18px;font-size:14px;font-weight:600}input,textarea,select{width:100%;min-height:46px;border:1px solid #b9c5d5;border-radius:8px;padding:11px;background:white;color:var(--ink)}textarea{resize:vertical;min-height:100px}input:focus,textarea:focus,select:focus{outline:2px solid var(--gold);outline-offset:2px}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.muted{color:var(--muted);line-height:1.5;font-weight:400}.error{color:#9b1b29;background:#fff0f1;padding:12px;border-radius:8px;line-height:1.5}.error:empty{display:none}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:white;padding:28px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.sidebar .wordmark{line-height:1.8;padding:0 12px}.sidebar .small{color:#b5c5dc;padding:4px 12px 28px;font-size:14px}nav{display:flex;flex-direction:column;gap:7px}nav button{border:0;background:transparent;color:#c0cde0;text-align:left}nav button.active{background:#1b3554;color:white;border-left:3px solid var(--gold)}.who{margin-top:auto;padding:24px 12px 10px;border-top:1px solid #29405e;font-size:14px}.who strong{display:block;margin-bottom:5px}.who .muted{color:#b5c5dc}.sidebar .logout{color:white;text-align:left}.main{padding:36px 40px;max-width:1500px;width:100%}.top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:26px}.eyebrow{color:var(--muted);text-transform:uppercase;letter-spacing:.09em;font-size:12px;font-weight:700;margin:0 0 8px}h1{font-size:30px;margin:0 0 8px}h2{margin-top:0}.actions{display:flex;gap:10px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 24px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:20px}.stat strong{font-size:32px;display:block;margin-top:8px}.stat.red{border-top:3px solid var(--red)}.stat.goldline{border-top:3px solid var(--gold)}.stat span{color:var(--muted);font-size:14px}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:18px}.toolbar input{flex:1;min-width:0}.toolbar select{width:200px}.records{display:flex;flex-direction:column;gap:12px}.record{background:white;border:1px solid var(--line);border-radius:12px;padding:22px;display:flex;justify-content:space-between;gap:22px;align-items:center}.record h3{font-size:18px;margin:0 0 7px;overflow-wrap:anywhere}.record p{margin:4px 0;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.record .meta{font-size:14px;color:var(--muted)}.record .right{display:flex;flex-direction:column;align-items:flex-end;gap:12px;flex-shrink:0}.badge{display:inline-flex;align-items:center;font-size:13px;font-weight:600;padding:5px 9px;border-radius:6px;background:#e9eef5;white-space:nowrap}.badge.urgent{background:#ffe4e7;color:#991f30}.badge.done{background:#e2f0e8;color:#236744}.empty{padding:60px 20px;text-align:center;border:1px dashed #bac6d6;border-radius:12px;background:white}.empty h3{margin-bottom:8px}dialog{border:0;border-radius:15px;padding:0;max-width:min(620px,calc(100% - 24px));width:620px;max-height:90vh;box-shadow:0 25px 90px #071e3a55}dialog::backdrop{background:#071e3a99}.dialog-head{padding:24px 26px 14px;display:flex;justify-content:space-between;gap:14px}.dialog-head h2{font-size:23px;margin:0;overflow-wrap:anywhere}.dialog-body{padding:8px 26px 26px}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;padding-top:8px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;background:var(--bg);padding:16px;border-radius:9px}.timeline{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.timeline article{padding:12px 0;border-bottom:1px solid var(--line)}.timeline p{white-space:pre-wrap;overflow-wrap:anywhere}.notice{background:#fdf6e5;border:1px solid #ead8a9;padding:14px;border-radius:8px;margin-bottom:20px;font-size:14px;line-height:1.6}#toast{position:fixed;bottom:25px;right:25px;padding:14px 22px;background:var(--navy);color:white;border-radius:10px;box-shadow:0 5px 30px #0003;z-index:30;max-width:calc(100vw - 40px)}#toast:empty{display:none}.mobile-head{display:none}@media(max-width:800px){.auth{grid-template-columns:1fr}.auth-brand{padding:26px;justify-content:flex-start}.auth-brand h1{font-size:30px;margin:12px 0}.auth-brand p{display:none}.auth-form{padding:26px;align-items:flex-start}.auth-form form{max-width:480px}.shell{grid-template-columns:1fr}.sidebar{position:sticky;top:0;height:auto;z-index:5;padding:14px 16px;gap:12px}.sidebar .small,.who{display:none}.sidebar .wordmark{font-size:13px;padding:0}.sidebar nav{flex-direction:row;overflow-x:auto;gap:5px}.sidebar nav button{white-space:nowrap;padding:9px 12px;font-size:14px;min-height:42px}.sidebar nav button.active{border-left:0;border-bottom:3px solid var(--gold)}.sidebar .logout{position:absolute;top:8px;right:8px;font-size:13px}.main{padding:24px 16px}.top{flex-direction:column;margin-bottom:20px}.top .actions{width:100%}.top .primary{flex:1}h1{font-size:27px}.stats{gap:8px}.stat{padding:13px 10px}.stat strong{font-size:27px}.stat span{font-size:13px}.toolbar{flex-direction:column;align-items:stretch}.toolbar select{width:100%}.record{padding:17px;align-items:flex-start;gap:12px;flex-direction:column}.record .right{width:100%;flex-direction:row;align-items:center;justify-content:space-between}.grid2{grid-template-columns:1fr;gap:0}.dialog-head{padding:20px 20px 12px}.dialog-body{padding:8px 20px 22px}#toast{bottom:15px;right:15px;left:15px;max-width:none}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s}dialog[open]{animation:appear .16s ease-out}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

/* Interfața din fotografia furnizată de Nicu. */
:root{--navy:#072846;--gold:#ffda67;--red:#ff767a;--ink:#ffe28a;--muted:#bbd4e4;--line:#477d9f;--surface:#103b5b;--bg:#082944;color:var(--ink);background:var(--bg)}
body{background:radial-gradient(ellipse at 47% 50%,#104a71 0%,#0b3456 48%,#071f39 100%)}
.shell{grid-template-columns:250px minmax(0,1fr)}
.sidebar{background:linear-gradient(160deg,#103b59dd,#09233bdd);border-right:1px solid #376180;padding:24px 18px 14px}
.brand-logo{position:relative;overflow:hidden;width:174px;height:180px;align-self:center;margin:0 0 22px;isolation:isolate}
.brand-logo img{position:absolute;width:575px;max-width:none;left:-216px;top:-7px}
nav{border-top:1px solid #41647b;padding-top:16px;gap:8px}
nav button{color:var(--gold);font-size:14px;min-height:42px;border-radius:7px;padding:10px 13px}
nav button.active{color:#ffe98f;background:linear-gradient(90deg,#15547e,#1379a4);border-left:3px solid var(--red);box-shadow:0 0 18px #0d83ae22}
nav button:hover{background:#185171}nav button span{display:inline-block;min-width:15px}
.who{color:var(--gold);border-color:#35536c;padding:15px 12px 0;display:flex;align-items:center;justify-content:space-between;gap:8px}.who strong{margin:0}.who .logout{font-size:12px;color:#bacedd;padding:4px;min-height:30px}
.main{max-width:none;padding:28px 28px 90px;position:relative;min-height:100vh}
.top{margin-bottom:24px}h1{font-size:28px;color:var(--gold);line-height:1.3;margin:0 0 7px}.subtitle{color:var(--gold);font-size:14px}
.stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px}
.stat{background:linear-gradient(135deg,#124a70aa,#17426055);border:1px solid #5e98b8;border-top:3px solid var(--red);border-radius:12px;padding:15px 14px;box-shadow:inset 0 1px 5px #ffffff12}
.stat strong{font-size:26px;margin:0 0 5px;color:var(--red)}.stat span{font-size:13px;color:var(--red);font-weight:700}
.search-panel{padding:12px;border:1px solid #3a7397;border-radius:13px;margin-bottom:18px;background:#0b345544}
.toolbar{margin:0;position:relative}.toolbar input{border:1px solid #a39167;background:#123952;color:#ffe394;padding:11px 14px 11px 39px;min-height:43px;font-size:14px;border-radius:9px}.toolbar input::placeholder{color:#f7e5b9;opacity:1}.search-icon{position:absolute;left:13px;top:4px;color:var(--red);font-size:29px}.search-help{font-size:12px;color:var(--gold);margin:7px 2px 0;line-height:1.5}
.empty{border:1px solid #5488a8;background:linear-gradient(125deg,#14517744,#0b2c4655);border-radius:13px;padding:45px 20px;min-height:125px;display:grid;place-items:center;font-size:14px;color:var(--gold)}.empty p{margin:0}
.floating-add{position:fixed;right:28px;bottom:24px;box-shadow:0 7px 24px #0004;border-radius:9px;min-height:43px;font-size:14px}
button{border-color:#4b7792;background:#163f5c;color:#ffe49b}button:hover{background:#225575}.primary,.gold{background:#ffda67;color:#433810;border-color:#e7ba4d}.primary:hover,.gold:hover{background:#ffe58e}
.record{background:#103b5b99;border-color:#4a7898}.record h3{color:#ffe49b}.record .meta,.muted{color:#bdd3e2}.badge{background:#26516f;color:#ffde77}
input,textarea,select{background:#0b2c47;color:#fff1c9;border-color:#53768d}dialog{background:#0c2e48;color:#ffe49b}.description{background:#08233a}.notice{background:#173b53;color:#ffe49b;border-color:#647b82}.auth-brand{background:#082944}.auth-form{background:#0c2d48}.error{background:#512b38;color:#ffbec1}.timeline{border-color:#446780}#toast{background:#ffe18b;color:#142e43}
@media(max-width:1000px) and (min-width:801px){.shell{grid-template-columns:210px minmax(0,1fr)}.stats{gap:7px}.stat{padding:12px 9px}.main{padding:24px 20px 90px}}
@media(max-width:800px){.shell{grid-template-columns:1fr}.sidebar{height:auto;padding:10px 12px;display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px}.brand-logo{width:43px;height:46px;margin:0}.brand-logo img{width:144px;left:-54px;top:-2px}.sidebar nav{border:0;padding:0;align-items:center;overflow-x:auto}.sidebar nav button{font-size:13px;padding:8px 10px}.sidebar nav button.active{border-left:0;border-bottom:2px solid var(--red)}.who{display:none}.main{padding:22px 14px 88px;min-height:calc(100vh - 66px)}h1{font-size:25px}.subtitle{font-size:13px;line-height:1.6}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stat{padding:12px}.stat strong{font-size:24px}.toolbar{flex-direction:row}.search-help{font-size:12px}.floating-add{right:16px;bottom:16px}.empty{padding:35px 16px}.sidebar .logout{position:static}}

/* Sigla întreagă, fără decupare în container. */
.brand-logo{width:180px;height:180px;overflow:visible;margin:0 auto 22px;align-self:center;display:flex;align-items:center;justify-content:center}.brand-logo img{position:static;width:100%;height:100%;max-width:100%;object-fit:contain;display:block}
@media(max-width:800px){.brand-logo{width:44px;height:46px;margin:0;align-self:center;justify-self:center}.brand-logo img{position:static;width:100%;height:100%;object-fit:contain}}

/* Fundalul albastru închis și sigla completă. */
:root{--navy:#071e3a;--bg:#071e3a;--surface:#0a2740;--line:#355775}
html,body{background:#071e3a}
.sidebar{background:#06182e;border-right-color:#2c4862}
.main{background:linear-gradient(140deg,#081f38,#06182e)}
.stat{background:#0b2943;border-color:#416782;border-top-color:var(--red)}
.search-panel{background:#081e35;border-color:#355775}
.toolbar input{background:#09233b}
.empty,.record{background:#0a243d;border-color:#416782}
nav button.active{background:linear-gradient(90deg,#113b5b,#155070)}
.auth-brand,.auth-form{background:#071e3a}
.brand-logo{width:190px;height:198px;min-height:198px;flex:0 0 auto;overflow:visible;margin:0 auto 22px;padding:0;display:flex;align-items:center;justify-content:center}
.brand-logo img{position:static;inset:auto;width:100%;height:100%;max-width:100%;object-fit:contain;display:block;transform:none}
@media(max-width:800px){.brand-logo{width:48px;height:50px;min-height:50px;margin:0;justify-self:center}.sidebar{grid-template-columns:48px minmax(0,1fr)}.brand-logo img{position:static;width:100%;height:100%;object-fit:contain}}

/* Varianta aprobată: aceeași nuanță în jurul siglei și pe fundalul aplicației. */
:root{--navy:#031630;--bg:#031630;--surface:#09243c}
html,body,.shell,.sidebar,.main,.auth-brand,.auth-form{background:#031630}
.sidebar{border-right-color:#294760}
.brand-logo{width:198px;height:198px;min-height:198px;overflow:visible;flex-shrink:0;margin:0 auto 22px}
.brand-logo img{width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;position:static;display:block}
@media(max-width:800px){.brand-logo{width:50px;height:50px;min-height:50px;margin:0}.brand-logo img{width:100%;height:100%;object-fit:contain}.sidebar{grid-template-columns:50px minmax(0,1fr)}}

/* Accente din referința trimisă: auriu din contur și roșu din emblemă. */
:root{--gold:#fcc803;--red:#bb0303;--ink:#fcc803}
.wordmark,h1,.subtitle,nav button,.who,.search-help,.empty,.record h3,.badge,dialog,.auth-form h2,label{color:var(--gold)}
.primary,.gold{background:var(--gold);border-color:var(--gold);color:var(--navy)}
.primary:hover,.gold:hover{background:var(--gold);filter:brightness(1.08)}
button{color:var(--gold)}
.toolbar input{color:var(--gold);border-color:var(--gold)}
.toolbar input::placeholder{color:var(--gold)}
.record .meta,.muted{color:#becddd}
.badge.urgent{background:var(--red);color:#fff;border:1px solid var(--red)}
.badge.done{background:#09243c;color:var(--gold);border:1px solid var(--gold)}
.error{background:#330b17;color:#fff;border-left:3px solid var(--red)}
.notice{color:var(--gold)}
#toast{background:var(--gold);color:var(--navy)}
.top>div{min-width:0;max-width:100%;width:100%}
.subtitle{white-space:nowrap;overflow-x:auto;max-width:100%;font-size:14px;line-height:1.7}

/* Rubrici selectabile, titlu deasupra numărului. */
.stats .stat{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;cursor:pointer;color:var(--red)}
.stats .stat span{color:var(--red);margin:0;line-height:1.3}
.stats .stat strong{color:var(--red);margin:0;line-height:1.2}
.stats .stat.selected{border-color:var(--gold);border-top-color:var(--gold)}
.stats .stat.selected span,.stats .stat.selected strong{color:var(--gold)}
.stats .stat:hover{background:#12344f}
.stats .stat:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

/* Căutarea obiectivului din formularul Tichet nou. */
.ticket-objective{margin-bottom:18px}.ticket-objective label{margin-bottom:8px}.ticket-objective select{margin-top:10px}.ticket-objective .muted{font-size:13px;margin:8px 0 0}.ticket-objective .muted:empty{display:none}#ticket-details-help{font-size:13px}

.objective-picker{position:relative}.objective-results{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:10;max-height:240px;overflow-y:auto;background:#0c2e46;border:1px solid #477d9f;border-radius:8px;box-shadow:0 10px 24px #0005}.objective-results[hidden]{display:none}.objective-results button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:100%;border:0;border-radius:0;text-align:left;padding:12px;font-weight:400}.objective-results button+button{border-top:1px solid #35536c}.objective-results button strong{color:var(--gold)}.objective-results button span{color:#bdd3e2;font-size:13px}.objective-results button[aria-selected=true]{background:#225575}.objective-results p{padding:12px;margin:0}
.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0}.admin-heading p{font-size:18px;color:var(--gold)}.admin-users{display:grid;gap:16px}.user-card{align-items:center}.user-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;max-width:390px}.permission-group{border:1px solid #477d9f;border-radius:10px;margin:18px 0;padding:14px}.permission-group legend{color:var(--gold);font-weight:700;padding:0 8px}.permission-check{display:flex;align-items:flex-start;gap:12px;margin:0;padding:10px 0;cursor:pointer}.permission-check input{width:20px;height:20px;min-width:20px;margin:2px 0;accent-color:#d8bb20}.permission-check input:disabled{opacity:1}.permission-check span{display:block}.permission-check small{display:block;font-weight:400;color:#bdd3e2;margin-top:5px;line-height:1.4}button[hidden]{display:none!important}@media(max-width:700px){.user-card{flex-direction:column;align-items:stretch}.user-actions{justify-content:flex-start;max-width:none}}
.dialog-body label.permission-check{display:flex;align-items:flex-start;gap:12px}.dialog-body label.permission-check input{flex:0 0 20px}.dialog-body label.permission-check span{flex:1;min-width:0}
.dialog-body label.permission-check{flex-direction:row}.dialog-body label.permission-check input{min-height:20px;height:20px;padding:0}

.ticket-card{cursor:pointer}.ticket-card:hover{border-color:var(--gold)}.ticket-card:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.ticket-page{max-width:1000px;margin:auto}.ticket-page .dialog-body{max-height:none;overflow:visible}

.sidebar{min-width:0}.brand-logo{width:min(180px,100%);max-width:100%;overflow:hidden;margin:0 auto 22px}.brand-logo img{max-width:100%;object-fit:contain}.dialog-footer{flex-wrap:wrap}@media(max-width:800px){.brand-logo{width:50px;height:50px;min-height:50px;margin:0}}

.maintenance-summary{width:100%;text-align:left;margin:0 0 20px;cursor:pointer}.maintenance-summary strong{font-size:24px}.maintenance-heading{font-size:18px;margin:0 0 16px}#maintenance-fields[hidden]{display:none}

.objective-details{margin:14px 0;padding:14px;border:1px solid #d4deea;border-radius:10px;background:#f5f8fc;color:#132c48;overflow-wrap:anywhere}.objective-details p{margin:0 0 8px}.objective-details a{color:#075aab;text-decoration:underline}.maps-link{display:inline-block;padding:8px 0;font-weight:600}

.ticket-card p,.description{white-space:pre-wrap}

.objective-details{background:#102f4b;color:#e6f1f8;border-color:#477d9f;border-left:3px solid #e7b54a;margin-top:22px}.objective-details strong{color:#e7b54a}.objective-details a{color:#9edaff}.objective-details a:hover{color:#ffffff}.record:has(.objective-details)>div:first-child{flex:1;min-width:0}
:root{color-scheme:dark;--bg:#031630;--surface:#09243c;--ink:#e7edf5;--line:#355775}html,body,.shell,.main,.sidebar,.auth,.auth-form,.auth-brand{background:#031630;color:#e7edf5}.record,.stat,.search-panel,.empty,dialog,.dialog-head,.dialog-body,.dialog-footer,.ticket-page,.objective-details,.description,.notice{background:#09243c;color:#e7edf5}button,input,textarea,select,option{background:#0b2c47;color:#e7edf5;border-color:#47718d}.primary,.gold{background:#143c57;color:#fcc803;border-color:#fcc803}.primary:hover,.gold:hover,button:hover{background:#1a4865;filter:none}.subtle{background:transparent}.objective-details strong,h1,h2,h3,label{color:#fcc803}.objective-details a{color:#9edaff}.muted,.meta{color:#becddd}.error{background:#330b17;color:#ffd7df}#toast{background:#143c57;color:#ffe39b;border:1px solid #b68b23}input::placeholder,textarea::placeholder{color:#aebfd0}input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #0b2c47 inset;-webkit-text-fill-color:#e7edf5}
:root{--ink:#fcc803;--muted:#fcc803}html,body,.shell,.main,.sidebar,.auth,.auth-form,.auth-brand,.auth-brand p,.sidebar .small,.sidebar .logout,.loading,nav button,nav button.active,.record,.record .meta,.stat,.search-panel,.empty,dialog,.dialog-head,.dialog-body,.dialog-footer,.ticket-page,.objective-details,.objective-details strong,.objective-details a,.objective-details a:hover,.description,.notice,button,input,textarea,select,option,.muted,.meta,.objective-results button span,.permission-check small,#toast{color:var(--gold)}input::placeholder,textarea::placeholder,.toolbar input::placeholder{color:var(--gold);opacity:1}input:-webkit-autofill{-webkit-text-fill-color:#fcc803}.badge.urgent{background:#330b17;color:var(--red);border-color:var(--red)}.error{color:var(--red)}.stat span,.stat strong{color:var(--red)}.stats .stat.selected span,.stats .stat.selected strong{color:var(--gold)}
h1,h2,.record h3,.dialog-head h2,.maintenance-heading,label,.subtitle,.admin-heading p,.permission-group legend{color:var(--red)}.record p,.record .meta,.objective-details p,.objective-details a,.muted,.meta,input,textarea,select,option{color:var(--gold)}.objective-details strong,.search-icon,.maintenance-summary span{color:var(--red)}nav button.active{color:var(--red);border-color:var(--gold)}nav button{color:var(--gold)}.objective-details{border-left-color:var(--red)}.primary,.gold{color:var(--gold);border-color:var(--red)}.primary:hover,.gold:hover{border-color:var(--gold)}

.auth-logo{display:block;width:210px;height:210px;max-width:100%;object-fit:contain;margin:0 0 18px;flex-shrink:0}@media(max-width:700px){.auth-logo{width:110px;height:110px;margin:0 auto 12px}.auth-brand{align-items:center;text-align:center}.auth-brand h1{margin:12px 0}}

.app-update{position:sticky;top:0;z-index:1000;display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;padding:12px 18px;background:#09243c;border-bottom:2px solid var(--red);color:var(--gold)}.app-update[hidden]{display:none}.app-update button{color:var(--gold);border-color:var(--red);background:#143c57}.has-app-update .sidebar{top:72px;height:calc(100vh - 72px)}.update-confirm{max-width:480px}.update-confirm p{color:var(--gold)}@media(max-width:800px){.app-update{gap:8px;padding:10px 12px;font-size:14px}.has-app-update .sidebar{top:0;height:auto}}

.clickable-record{cursor:pointer}.clickable-record:hover{border-color:var(--gold)}.clickable-record:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.record-detail{max-width:1000px;margin:auto;background:#09243c;border:1px solid #355775;border-radius:12px}.record-detail p{white-space:pre-wrap;color:var(--gold);overflow-wrap:anywhere}.record-detail h3{color:var(--red)}.report-picker,.report-downloads{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.report-picker [aria-pressed=true]{border-color:var(--gold);color:var(--red)}.report-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.report-heading p{color:var(--gold)}.report-preview{padding:22px;background:#09243c;border:1px solid #355775;border-radius:12px}.report-table-wrap{overflow-x:auto}.report-table{width:100%;border-collapse:collapse;min-width:760px;font-size:14px}.report-table th,.report-table td{border:1px solid #355775;padding:12px;vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere}.report-table th{color:var(--red);background:#071e3a;text-align:left}.report-table td{color:var(--gold)}.report-table tr:nth-child(even){background:#0b2c47}@media(max-width:700px){.report-preview{padding:12px}.report-downloads{width:100%}.record-detail .dialog-head{flex-wrap:wrap}}

.location-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}.location-fields label,.location-fields select{min-width:0;width:100%}
