/* HSSL Operations Platform — HSSL Technologies branded */
:root{--navy:#0d2748;--navy2:#12345f;--gold:#c9a24a;--cyan:#00C2FF;--ink:#132033;--muted:#5f6f83;--line:#e4ebf2;--bg:#f4f7fb;--card:#fff;--green:#16a34a;--amber:#d98a1a;--red:#dc3f2e;--blue:#2f6bff;--shadow:0 1px 3px rgba(13,39,72,.06),0 10px 30px rgba(13,39,72,.06)}
*{box-sizing:border-box;margin:0}body{font-family:'Inter',system-ui,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg);font-size:14px;line-height:1.5}
h1,h2,h3,h4{font-family:'Space Grotesk','Inter',sans-serif;letter-spacing:-.01em}
a{color:var(--navy2);text-decoration:none;cursor:pointer}button{font-family:inherit;cursor:pointer}
.hidden{display:none!important}
.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;position:relative}

.login .art{background:linear-gradient(155deg,var(--navy),var(--navy2));color:#fff;display:flex;flex-direction:column;justify-content:center;padding:8vh 6vw;position:relative;overflow:hidden}
.login .art::after{content:"";position:absolute;inset:0;background:radial-gradient(600px 400px at 85% 5%,rgba(0,194,255,.14),transparent 60%),radial-gradient(500px 500px at 0 110%,rgba(201,162,74,.16),transparent 60%)}
.login .art .z{position:relative;z-index:2;max-width:520px}
.login .art .lg{height:52px;margin-bottom:34px;display:block}
.login .art h1{font-size:clamp(28px,3.6vw,44px);line-height:1.08;font-weight:800}
.login .art h1 span{color:var(--gold)}
.login .art p{color:#c7d6ea;font-size:16px;margin-top:16px;max-width:440px}
.login .art .pills{display:flex;gap:9px;flex-wrap:wrap;margin-top:30px}
.login .art .pills span{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);padding:6px 12px;border-radius:999px;font-size:12px}
.login .form{display:flex;flex-direction:column;justify-content:center;padding:8vh clamp(28px,6vw,110px);background:#fff}
.login .form h2{font-size:23px;margin-bottom:4px}.login .form .sub{color:var(--muted);margin-bottom:24px}
.field{margin-bottom:15px}.field label{display:block;font-size:12.5px;font-weight:600;color:var(--muted);margin-bottom:6px}
.field input,.field select,.field textarea{width:100%;padding:11px 13px;border:1.5px solid var(--line);border-radius:11px;font-size:14.5px;font-family:inherit;background:#fbfdff;outline:none}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,162,74,.15);background:#fff}
.btn{background:var(--navy);color:#fff;border:0;border-radius:11px;padding:11px 18px;font-weight:700;font-size:14px;transition:.15s;white-space:nowrap}
.btn:hover{background:var(--navy2)}.btn:disabled{opacity:.5}
.btn.gold{background:var(--gold);color:var(--navy)}.btn.gold:hover{background:#b8912f}
.btn.ghost{background:#eef2f7;color:var(--navy)}.btn.ghost:hover{background:#e2e9f1}
.btn.sm{padding:6px 11px;font-size:12.5px;border-radius:9px}.btn.danger{background:#fdecea;color:var(--red)}
.err{color:var(--red);font-size:13px;margin-top:8px;min-height:18px}
.demo-creds{margin-top:20px;background:#f5f8fc;border:1px dashed #cdd9e6;border-radius:12px;padding:12px 14px;font-size:12.5px;color:var(--navy2)}
.shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}
.rail{background:linear-gradient(180deg,var(--navy),#0a1f3c);color:#cdd9e6;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;overflow:hidden}
.rail .logo{display:flex;align-items:center;gap:10px;padding:16px 16px 12px}.rail .logo img{height:34px;max-width:150px;object-fit:contain}
.rail nav{flex:1;overflow-y:auto;padding:8px 10px}
.rail a.item{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:10px;color:#b9c9dd;font-size:13.5px;font-weight:500;margin-bottom:2px}
.rail a.item:hover{background:rgba(255,255,255,.06);color:#fff}
.rail a.item.active{background:var(--gold);color:var(--navy);font-weight:700}
.rail a.item .ic{width:18px;text-align:center;font-size:15px}.rail a.item .badge{margin-left:auto;background:var(--red);color:#fff;font-size:10px;font-weight:700;padding:1px 7px;border-radius:999px}
.rail .me{padding:12px 15px;border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:center;gap:10px}
.rail .me .av{width:34px;height:34px;border-radius:50%;background:var(--gold);color:var(--navy);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px}
.rail .me b{display:block;font-size:12.5px;color:#fff}.rail .me small{color:#8ba0bb;font-size:11px}
.main{min-width:0;display:flex;flex-direction:column}
.topbar{background:#fff;border-bottom:1px solid var(--line);padding:11px 22px;display:flex;align-items:center;gap:14px;position:sticky;top:0;z-index:30}
.topbar .ttl{font-weight:700;font-size:15px}.topbar .sp{flex:1}
.content{padding:22px;flex:1}
.page-h{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:18px}
.page-h h1{font-size:22px}.page-h p{color:var(--muted);font-size:13.5px;margin-top:2px}
.grid{display:grid;gap:14px}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:16px 18px}
.card h3{font-size:14px;margin-bottom:10px}
.kpi{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:15px 17px;box-shadow:var(--shadow);position:relative;overflow:hidden}
.kpi .lbl{font-size:11.5px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.kpi .val{font-size:26px;font-weight:800;margin-top:3px;font-family:'Space Grotesk',sans-serif}.kpi .sub{font-size:12px;color:var(--muted);margin-top:2px}
.kpi .bar{position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--gold)}
.pill{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;font-size:11.5px;font-weight:600;background:#eef2f6;color:var(--muted)}
.pill.green{background:#e6f6ec;color:#15803d}.pill.red{background:#fdecea;color:#c0392b}.pill.amber{background:#fdf3e0;color:#b7791f}.pill.blue{background:#e8f0ff;color:#2f6bff}.pill.gold{background:#f7efd9;color:#8a6d1f}
.tw{overflow-x:auto;border-radius:12px}table{width:100%;border-collapse:collapse;font-size:13px}
thead th{text-align:left;padding:9px 12px;font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--line);white-space:nowrap}
tbody td{padding:10px 12px;border-bottom:1px solid #eef3f7}tbody tr:hover{background:#f7fafd}
td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}.mono{font-family:ui-monospace,Menlo,monospace;font-size:12px}
.empty{padding:26px;text-align:center;color:var(--muted);font-size:13px}
.tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:14px}
.tabs button{background:none;border:0;padding:9px 14px;font-size:13.5px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent}
.tabs button.active{color:var(--navy);border-bottom-color:var(--gold)}
.overlay{position:fixed;inset:0;background:rgba(13,39,72,.45);display:flex;justify-content:flex-end;z-index:200}
.drawer{background:#fff;width:min(600px,96vw);height:100%;overflow-y:auto;padding:20px 22px;box-shadow:-10px 0 40px rgba(0,0,0,.2)}
.overlay.center{align-items:center;justify-content:center}.modal{background:#fff;border-radius:16px;width:min(480px,94vw);padding:22px;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.dh{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.dh h3{font-size:17px}.x{background:none;border:0;font-size:20px;color:var(--muted)}
.form2{display:grid;grid-template-columns:repeat(12,1fr);gap:12px}.form2 .s12{grid-column:span 12}.form2 .s6{grid-column:span 6}.form2 .s4{grid-column:span 4}.form2 .s3{grid-column:span 3}.form2 .s8{grid-column:span 8}
.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--navy);color:#fff;padding:11px 20px;border-radius:12px;font-size:13.5px;z-index:400;box-shadow:0 10px 30px rgba(0,0,0,.3)}.toast.err{background:var(--red)}
.src-chip{display:inline-flex;align-items:center;gap:6px;font-size:12px;padding:4px 10px;border-radius:999px;font-weight:600}
.thread{background:#f7fafd;border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin-bottom:8px}.thread .m{font-size:11px;color:var(--muted)}
.notif{display:flex;gap:11px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;margin-bottom:8px;align-items:flex-start}
.notif.unread{background:#fbfcfe;border-left:3px solid var(--gold)}
.notif .nic{width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex:none;background:#eef2f6}
@media(max-width:900px){.shell{grid-template-columns:1fr}.rail{position:fixed;z-index:100;transform:translateX(-100%);transition:.2s;width:240px}.rail.open{transform:none}.login{grid-template-columns:1fr}.login .art{display:none}}
.soc-div{position:relative;text-align:center;margin:20px 0 14px}
.soc-div span{background:#fff;padding:0 12px;font-size:12px;color:var(--muted);position:relative;z-index:1}
.soc-div::before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:var(--line)}
.soc{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.soc-b{width:54px;height:46px;border:1px solid var(--line);border-radius:11px;display:flex;align-items:center;justify-content:center;background:#fff;transition:.15s}
.soc-b:hover{border-color:var(--navy);box-shadow:0 2px 8px rgba(13,39,72,.1);transform:translateY(-1px)}
.soc-b.off{opacity:.42;filter:grayscale(1)}

/* @@NXLOGINLOGO@@ v1 — corporate Nexus SoftSphere login lockup: shown + uniform 72px (NXBRANDLINK keeps it clickable) */
.ab-logo{height:72px!important;display:block!important;margin-bottom:22px}
.authbrand .ab-logo,.authbrand.hyb .ab-logo{display:block!important;height:72px!important}
.nxcorp,.login-lockup{height:72px!important;width:auto!important}
/* @@/NXLOGINLOGO@@ v1 */

/* NXLOGOEST 2026-08-17 - one brand mark on the login: the real lockup now sits in the
   top-left corner the removed .login::before duplicate used to fill. Absolute against
   .art (position:relative already); !important beats the element's leftover inline
   style and the existing .nxcorp{height:72px!important}. */
.login .art>.nxcorp{position:absolute!important;top:22px!important;left:30px!important;margin:0!important;height:44px!important;z-index:20}
/* At <=920px .art is display:none, so the relocated lockup goes with it. The corner
   mark therefore stays a pseudo-element there, in the DARK variant that reads against
   the light form panel - this is the app's existing mobile behaviour, kept. */
@media(max-width:920px){.login::before{content:"";position:absolute;top:22px;left:30px;width:150px;height:30px;background:url(/hy-logo.svg?v=202608120639) left center/contain no-repeat;z-index:20}}

/* NXCOPYLEFT 2026-08-17 - the NXFUSER copyright footer is fixed+full-width+centred, so on
   these two-panel logins it straddled the dark/light divide. Align it to the LEFT edge,
   under the brand mark (which sits at left:30px). ⛔ NXFUSER injects its stylesheet at
   RUNTIME, so it lands after this file and wins on equal specificity - body> raises this
   to 0,1,1 and wins on specificity instead of order. */
body>.nxfu-copy{left:0;right:auto;text-align:left;padding-left:30px;padding-right:18px}

/* NXFOOTDARK 2026-08-17 - the left-aligned copyright sits on the DARK art panel at
   desktop widths; light text + no scrim there. Below 900px the panel is hidden and the
   footer falls back to its dark-on-light default. */
@media(min-width:901px){html body #hy-copyr{color:rgba(255,255,255,.85)!important}#hy-copyr::before{background:none!important}}
