.ivms-brand { display:inline-flex; align-items:center; gap:.48em; color:#f6f7f7; font-weight:720; letter-spacing:-.045em; white-space:nowrap; }
.ivms-brand::before { content:""; display:block; width:1.18em; aspect-ratio:1; background:var(--brand-mark,currentColor);
  mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20transform%3D%22rotate%280%2016%2016%29%22%3E%3Cpath%20d%3D%22M16%200C23%200%2028%204%2030%209H11Z%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22rotate%2860%2016%2016%29%22%3E%3Cpath%20d%3D%22M16%200C23%200%2028%204%2030%209H11Z%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22rotate%28120%2016%2016%29%22%3E%3Cpath%20d%3D%22M16%200C23%200%2028%204%2030%209H11Z%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22rotate%28180%2016%2016%29%22%3E%3Cpath%20d%3D%22M16%200C23%200%2028%204%2030%209H11Z%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22rotate%28240%2016%2016%29%22%3E%3Cpath%20d%3D%22M16%200C23%200%2028%204%2030%209H11Z%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22rotate%28300%2016%2016%29%22%3E%3Cpath%20d%3D%22M16%200C23%200%2028%204%2030%209H11Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center/contain no-repeat; }
.ivms-login { margin:0; background:#0e1011; color:#f8f9f9; color-scheme:dark; font:400 16px/1.45 system-ui,-apple-system,sans-serif; }
.ivms-login * { box-sizing:border-box; }
.auth-shell { display:grid; grid-template-columns:44% 56%; min-height:100vh; min-height:100svh; }
.auth-pane { position:relative; display:grid; align-items:center; padding:110px clamp(28px,6.6vw,120px); }
.auth-pane .ivms-brand { position:absolute; inset:clamp(22px,3vw,46px) auto auto clamp(22px,3.3vw,54px);
  --brand-mark:#d9ff3f; font-size:clamp(22px,2.1vw,32px); }
.auth-art { background:#131816 url('/images/ivms-lens.jpg') center/cover no-repeat; }
.auth-form { width:100%; max-width:520px; margin:auto; }
.auth-form h1 { margin:0 0 clamp(26px,4vh,48px); font-size:clamp(38px,4vw,68px); line-height:1.05; letter-spacing:-.055em; }
.auth-form label { display:block; margin:0 0 7px; font-weight:580; color:#c2c6c9; }
.auth-field { position:relative; margin-bottom:clamp(18px,2.8vh,32px); }
.auth-form input { display:block; width:100%; height:clamp(46px,5.8vh,62px); padding:0 14px; border:1px solid #505558; border-radius:8px; background:#101214; color:white; font:inherit; }
.auth-form input:focus-visible, .auth-form button:focus-visible { outline:2px solid #d9ff3f; outline-offset:3px; }
#password { padding-right:48px; }
.auth-reveal { position:absolute; right:3px; bottom:2px; height:calc(clamp(46px,5.8vh,62px) - 4px); width:44px; background:none; border:0; color:#c6cbcd; cursor:pointer; }
.auth-reveal svg { width:20px; fill:none; stroke:currentColor; stroke-width:1.6; }
.auth-reveal .slash { display:none; }
.auth-reveal[aria-pressed=true] .slash { display:block; }
.auth-primary { display:flex; justify-content:space-between; align-items:center; width:100%; min-height:clamp(50px,6.5vh,72px);
  padding:0 22px; border:0; border-radius:8px; background:#d9ff3f; color:#131607; font:700 18px/1 system-ui,sans-serif; cursor:pointer; }
.auth-primary:hover { background:#e5ff73; } .auth-primary:disabled { opacity:.7; }
.auth-primary span:last-child { font-size:24px; }
.auth-error { color:#ffbcb8; font-size:14px; margin:0 0 16px; }
.auth-error:empty { display:none; }
body:not(.review-mode) .nav { height:54px; gap:8px; padding:6px 14px; background:#101214; border-color:#2e3234; overflow:visible; }
.nav .ivms-brand { font-size:19px; margin-right:4px; } .review-mode .nav .ivms-brand { display:none; }
body:not(.review-mode) .nav #liveBtn.active, #liveView .layout-btn.active { background:#d9ff3f; border-color:#d9ff3f; color:#101309; font-weight:700; }
body:not(.review-mode) .user-avatar { background:#d9ff3f; color:#111; }
/* The Live camera wall (Sources panel, header, grid, tiles) is styled in /app/live-wall.css. */
body:not(.review-mode) :focus-visible { outline:2px solid #d9ff3f; outline-offset:2px; }
@media(max-width:720px) {
 .auth-shell { grid-template-columns:1fr; } .auth-pane { padding:110px 28px 65px; } .auth-form { max-width:400px; }
 .auth-art { display:none; }
 body:not(.review-mode) .nav { height:auto; flex-wrap:wrap; gap:4px; padding:6px; } body:not(.review-mode) .nav-divider { display:none; }
 body:not(.review-mode) .user-btn { padding:3px; } body:not(.review-mode) .user-btn #userNameNav { display:none; }
 body:not(.review-mode) .site-select { min-width:64px; max-width:95px; }
}
@media(max-width:400px) { body:not(.review-mode) .nav .ivms-brand { font-size:15px; } .nav-btn { padding:4px 6px; } }
