
:root{--blue:#174799;--ink:#17304e;--muted:#61738a;--line:#dce4ee;--bg:#f3f6fa;--green:#087957;--red:#ae2838}
*{box-sizing:border-box}body{margin:0;font:15px system-ui,sans-serif;color:var(--ink);background:var(--bg)}
header{background:linear-gradient(115deg,#123064,#2356ad);color:white;padding:20px 28px;display:flex;justify-content:space-between;align-items:center;gap:12px}header h1{font-size:23px;margin:0}header small{opacity:.85}nav{display:flex;gap:7px;flex-wrap:wrap;padding:14px 24px;background:white;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2}
button{border:0;border-radius:8px;padding:11px 16px;background:var(--blue);color:white;font:inherit;cursor:pointer}button.secondary{background:#e8eef7;color:#17365f}button.danger{background:var(--red)}button:disabled{opacity:.5;cursor:wait}nav button{background:#edf2f9;color:var(--ink)}nav button.active{background:var(--blue);color:white}
main{max-width:1450px;margin:auto;padding:22px}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:18px}h2{font-size:21px;margin:0 0 14px}h3{font-size:16px;margin:18px 0 10px}.muted{color:var(--muted);font-size:13px}.row{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.wide{grid-column:1/-1}label{display:block;font-size:13px;font-weight:600;margin:0 0 5px}input,select,textarea{width:100%;border:1px solid #bccbdc;border-radius:7px;padding:10px;font:inherit;background:white;color:var(--ink)}textarea{min-height:78px}select[multiple]{min-height:120px}input[type=checkbox]{width:auto}.field{min-width:180px;flex:1}.actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.notice{border-left:4px solid #d99d23;padding:10px 14px;background:#fff7e4;margin:12px 0}.success{border-left-color:var(--green);background:#eaf8f1}.error{border-left-color:var(--red);background:#fff0f1}.status{position:fixed;bottom:18px;right:20px;max-width:650px;z-index:8;padding:14px 18px;border-radius:10px;background:#17304e;color:white;box-shadow:0 5px 25px #0002;white-space:pre-wrap}.status.error{background:var(--red)}.status.ok{background:var(--green)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:16px}.stat strong{font-size:27px;display:block}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;border-bottom:1px solid var(--line);padding:11px 9px;vertical-align:top}th{background:#f0f4f9;white-space:nowrap}td button{padding:6px 9px;font-size:12px}.pill{display:inline-block;background:#eaf0f8;border-radius:20px;padding:4px 9px;font-size:12px}.running{background:#dcf5e9;color:#086243}.outside{background:#fff0cd;color:#8c5400}.paused{background:#ffe8dc;color:#9c4c1a}.empty{padding:28px;color:var(--muted);text-align:center}.scanner{font-size:22px;border:2px solid var(--blue);letter-spacing:1px}.assignment{background:#f1f6fc;padding:15px;border-radius:9px;margin:12px 0}.hidden{display:none!important}#fatal{max-width:700px;margin:50px auto}.label{border:1px solid #999;width:290px;padding:14px;break-inside:avoid;display:inline-block;margin:9px;vertical-align:top;color:black;background:white}.label svg{width:145px;height:145px;display:block;margin:8px auto}.label p{margin:5px 0}.label code{font-size:11px;word-break:break-all}.routeCheck{display:inline-flex;gap:6px;align-items:center;margin:5px 12px 5px 0;font-weight:400}.help{font-size:13px;color:var(--muted);line-height:1.5}#printArea{display:none}
@media(max-width:650px){header{padding:15px;align-items:start}header h1{font-size:19px}nav{padding:10px}main{padding:12px}.panel{padding:15px}.stats{grid-template-columns:repeat(2,1fr)}.row{align-items:stretch}.status{left:12px;right:12px}.field{min-width:100%}}
@media print{body>*{display:none!important}#printArea{display:block!important}.label{font:13px Arial}.label svg{width:130px;height:130px}}
.hubBrand38{display:flex;align-items:center;gap:13px;min-width:0}.hubBrand38 img{width:54px;height:54px;object-fit:contain;background:white;border-radius:8px;padding:3px;flex-shrink:0}.hubBrand38 h1{font-size:clamp(17px,1.7vw,26px);margin:0;line-height:1.25}.hubCompany38{white-space:nowrap}.hubSoftware38{font-weight:500}.hubDivider38{color:#9fc7ff}header>div:first-child{min-width:0}header>div:last-child{flex-shrink:0}@media(max-width:900px){.hubBrand38{gap:8px}.hubBrand38 img{width:43px;height:43px}.hubSoftware38{display:block;font-size:17px}.hubDivider38{display:none}}@media(max-width:450px){header{flex-wrap:wrap;gap:8px}.hubBrand38 h1{font-size:16px}.hubBrand38 img{width:38px;height:38px}}
.posRoute328{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;margin:12px 0}.posStep328{flex:0 1 155px;min-width:130px;background:#edf3fc;border:1px solid #d3e0f2;border-radius:9px;padding:8px}.posStep328 .field{min-width:0;width:100%}.posStep328 label{font-size:12px}.posStepButtons328{display:flex;gap:4px;justify-content:flex-end;margin-top:6px}.posStepButtons328 button{padding:3px 9px}.posComponent328{border:1px solid #d3e0f2;border-radius:10px;padding:14px;margin:12px 0;background:#fff}.posComponentHead328{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.posComponentHead328 label:first-child{flex:1;min-width:160px}.posComponentHead328 label:nth-child(2){width:150px}.posComponentHead328 label{margin:0}@media(max-width:450px){.posStep328{flex-basis:calc(50% - 5px);min-width:0}}
#status{z-index:2147483000;top:16px;bottom:auto;max-width:min(680px,calc(100vw - 32px));max-height:40vh;overflow:auto;overflow-wrap:anywhere;box-shadow:0 8px 32px #0005}#status.error{border:2px solid #fff;color:#fff;background:#a51c32}

/* Only the unresolved session check is silent; login, intro and errors retain their own layouts. */
html body.sessionChecking438{min-height:100vh;min-height:100svh;background:radial-gradient(ellipse at 50% 35%,#345d9f,#1d396a 35%,#0e1e3b 76%)!important;background-attachment:fixed!important;background-repeat:no-repeat!important;background-size:cover!important}body.sessionChecking438>:not(#intro400){visibility:hidden!important}
