@charset "UTF-8";
:root {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  color-scheme: dark;
  --text: #f6f6f8;
  --muted: #a7a8ad;
  --line: rgba(244,245,248,.26);
  --glass: rgba(43,46,51,.39);
  --glass-top: rgba(112,114,121,.23);
  --glass-bottom: rgba(18,20,23,.27);
  --glass-border: rgba(236,238,242,.60);
  --glass-shine: rgba(255,255,255,.18);
  --glass-deep: rgba(15,17,21,.26);
  --input: rgba(68,70,76,.22);
  --input-border: rgba(225,226,231,.46);
  --input-hover: rgba(250,250,252,.69);
  --button: linear-gradient(156deg,#f2f2f3 0%,#d6d6d9 50%,#bdbdc2 100%);
  --button-text: #141517;
  --field-focus: rgba(255,255,255,.92);
  --badge-line: rgba(236,238,240,.37);
  --error: #ff9494;
  --drop-shadow: 0 35px 110px rgba(0,0,0,.43), 0 4px 24px rgba(0,0,0,.28);
  --page-bg: #090b0d;
}
:root[data-theme="light"] {
  color-scheme: light;
  --text: #15171a;
  --muted: #53565d;
  --line: rgba(25,27,31,.22);
  --glass: rgba(246,246,248,.52);
  --glass-top: rgba(255,255,255,.44);
  --glass-bottom: rgba(211,211,218,.25);
  --glass-border: rgba(255,255,255,.80);
  --glass-shine: rgba(255,255,255,.66);
  --glass-deep: rgba(245,245,248,.14);
  --input: rgba(255,255,255,.31);
  --input-border: rgba(40,43,48,.33);
  --input-hover: rgba(30,31,35,.57);
  --button: linear-gradient(156deg,#3e4148 0%,#24262b 70%,#18191d 100%);
  --button-text: #f9f9fa;
  --field-focus: rgba(23,25,29,.88);
  --badge-line: rgba(20,21,24,.27);
  --error: #ad2727;
  --drop-shadow: 0 30px 85px rgba(46,49,56,.23), 0 4px 28px rgba(40,42,48,.08);
  --page-bg: #eeeff1;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) { color-scheme: light; --text:#15171a; --muted:#53565d; --line:rgba(25,27,31,.22); --glass:rgba(246,246,248,.52); --glass-top:rgba(255,255,255,.44); --glass-bottom:rgba(211,211,218,.25); --glass-border:rgba(255,255,255,.80); --glass-shine:rgba(255,255,255,.66); --glass-deep:rgba(245,245,248,.14); --input:rgba(255,255,255,.31); --input-border:rgba(40,43,48,.33); --input-hover:rgba(30,31,35,.57); --button:linear-gradient(156deg,#3e4148,#18191d); --button-text:#f9f9fa; --field-focus:rgba(23,25,29,.88); --badge-line:rgba(20,21,24,.27); --error:#ad2727; --drop-shadow:0 30px 85px rgba(46,49,56,.23); --page-bg:#eeeff1; }
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  position: relative;
  margin: 0;
  min-height: 100svh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--page-bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  transition: color .25s ease, background .25s ease;
}
.scene, .ambient-filter { position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.scene img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) brightness(1.48) contrast(1.12) blur(1.55px); transform: scale(1.018); }
.ambient-filter { z-index: 0; background: linear-gradient(180deg,rgba(5,7,10,.37),rgba(6,7,10,.03) 31%,rgba(5,5,8,.08) 65%,rgba(6,8,12,.35)),radial-gradient(circle at 51% 48%,rgba(10,13,16,.19),rgba(5,7,9,.54) 80%); }
:root[data-theme="light"] .scene img { filter: grayscale(1) invert(.91) contrast(.66) brightness(1.08) blur(2.4px); }
:root[data-theme="light"] .ambient-filter { background:linear-gradient(180deg,rgba(255,255,255,.64),rgba(232,232,236,.23) 38%,rgba(235,235,241,.35) 70%,rgba(248,248,249,.70)); }
@media (prefers-color-scheme:light) { :root:not([data-theme]) .scene img {filter:grayscale(1) invert(.91) contrast(.66) brightness(1.08) blur(2.4px);} :root:not([data-theme]) .ambient-filter{background:linear-gradient(180deg,rgba(255,255,255,.64),rgba(232,232,236,.23) 38%,rgba(235,235,241,.35) 70%,rgba(248,248,249,.70));} }
.topbar { position:absolute;top:0;left:0;right:0;z-index:3; display:flex;align-items:center;justify-content:space-between; height:106px; padding:16px clamp(24px,4.25vw,70px); }
.topbar-brand {display:flex;align-items:center;gap:22px;}
.topbar-mark {width:40px;height:43px;position:relative;display:block;}
.topbar-mark img {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;}
.topbar-divider {height:36px;width:1px;background:var(--line);}
.topbar-name {font-size:30px;font-weight:650;letter-spacing:-.045em;line-height:1;}
.penrose-black {display:none;}
:root[data-theme="light"] .penrose-white {display:none;}
:root[data-theme="light"] .penrose-black {display:block;}
@media (prefers-color-scheme:light){:root:not([data-theme]) .penrose-white{display:none;}:root:not([data-theme]) .penrose-black{display:block;}}
.theme-toggle {appearance:none;border:1px solid transparent;background:rgba(124,124,128,.12);color:var(--text);border-radius:10px;display:grid;place-items:center;cursor:pointer;height:34px;width:34px;padding:8px;transition:background .2s ease,border-color .2s ease,transform .2s ease;}
.theme-toggle:hover {background:rgba(143,145,151,.18);border-color:var(--line);transform:translateY(-1px);}
.theme-toggle:focus-visible,.reveal-password:focus-visible,.submit-button:focus-visible {outline:2px solid var(--field-focus);outline-offset:3px;}
.theme-toggle svg {width:17px;height:17px;}
.icon-moon {display:none;}
:root[data-theme="light"] .icon-sun {display:none;}
:root[data-theme="light"] .icon-moon {display:block;}
@media (prefers-color-scheme:light){:root:not([data-theme]) .icon-sun{display:none;}:root:not([data-theme]) .icon-moon{display:block;}}
.login-stage {position:relative;z-index:1;min-height:100svh;min-height:100dvh;display:grid;place-items:center;padding:118px 24px 55px;}
.glass-panel {transform:translate(-20px,-56px);position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;align-items:stretch;width:min(952px,100%);min-height:467px;border:1px solid var(--glass-border);border-radius:28px;box-shadow:var(--drop-shadow),inset 0 1px 0 var(--glass-shine),inset 0 -1px 0 rgba(255,255,255,.13);background:linear-gradient(142deg,var(--glass-top),transparent 42%,var(--glass-bottom) 100%),var(--glass);-webkit-backdrop-filter:blur(33px) saturate(.75);backdrop-filter:blur(33px) saturate(.75);}
.glass-panel::before {content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse 390px 330px at -12% 115%,rgba(234,235,239,.16),transparent 66%),linear-gradient(120deg,transparent 57%,var(--glass-deep) 100%);pointer-events:none;}
.glass-panel::after {content:"";position:absolute;z-index:0;pointer-events:none;left:-135px;bottom:-245px;width:540px;height:385px;border:1px solid rgba(243,244,247,.62);border-radius:50%;transform:rotate(28deg);box-shadow:0 -2px 12px rgba(255,255,255,.14),0 -12px 48px rgba(255,255,255,.045);}
.glass-grain {position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.22;background-image:radial-gradient(rgba(255,255,255,.17) .45px,transparent .6px);background-size:6px 6px;}
.brand-side,.form-side {position:relative;z-index:1;display:flex;align-items:center;}
.brand-side {align-items:flex-start;padding:56px 44px 55px 72px;}
.brand-content {width:100%;}
.hero-mark {width:84px;height:88px;position:relative;display:block;margin-bottom:27px;}
.hero-mark img {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;}
.hero-heading {margin:0;display:flex;align-items:baseline;gap:12px;white-space:nowrap;font-size:clamp(22px,2.35vw,30px);line-height:1.25;letter-spacing:-.042em;font-weight:480;}
.hero-heading strong {font-weight:690;letter-spacing:-.055em;}
.hero-heading .slash {opacity:.64;font-weight:300;}
.hero-heading .tagline {color:var(--muted);font-weight:400;letter-spacing:-.042em;}
.hero-subtitle {margin:10px 0 31px;font-size:20px;font-weight:420;line-height:1.35;letter-spacing:-.02em;color:var(--muted);}
.viewer-badge {border:1px solid var(--badge-line);display:inline-flex;align-items:center;gap:15px;max-width:100%;padding:8px 17px;border-radius:100px;font-size:13px;letter-spacing:.012em;color:var(--text);white-space:nowrap;background:rgba(30,31,34,.10);box-shadow:inset 0 1px 0 rgba(255,255,255,.09);}
.viewer-badge svg {width:18px;height:18px;flex:none;}
.form-side {margin:42px 0 42px;border-left:1px solid var(--line);padding:26px 44px 20px 50px;}
#login-form {width:100%;max-width:380px;margin:auto 0;}
.field {display:flex;flex-direction:column;gap:10px;}
.field label {font-weight:460;color:var(--text);font-size:17px;line-height:1.4;}
.field input {width:100%;height:54px;padding:0 15px;border:1px solid var(--input-border);border-radius:12px;color:var(--text);background:var(--input);font-family:inherit;font-weight:500;font-size:17px;line-height:1.3;outline:none;box-shadow:inset 0 1px 2px rgba(0,0,0,.05);transition:border-color .2s ease,background .2s ease,box-shadow .2s ease;}
.field input:hover {border-color:var(--input-hover);}
.field input:focus {border-color:var(--field-focus);box-shadow:0 0 0 1px var(--field-focus),0 0 0 5px rgba(160,165,172,.09);}
.field-password {margin-top:23px;}
.password-wrap {position:relative;}
.password-wrap input {padding-right:60px;}
.reveal-password {appearance:none;display:grid;place-items:center;position:absolute;right:9px;top:50%;transform:translateY(-50%);border:0;color:var(--muted);background:transparent;height:40px;width:44px;border-radius:9px;cursor:pointer;}
.reveal-password:hover {color:var(--text);background:rgba(125,125,128,.09);}
.reveal-password svg {width:22px;height:22px;}
.reveal-password[aria-pressed="false"] .eye-hidden {display:none;}
.reveal-password[aria-pressed="true"] .eye-visible {display:none;}
.error-message {font-size:12.5px;color:var(--error);margin:10px 0 -3px;font-weight:550;line-height:1.4;}
.error-message[hidden] {display:none;}
.submit-button {width:100%;min-height:55px;margin-top:35px;border:1px solid rgba(255,255,255,.32);border-radius:12px;background:var(--button);color:var(--button-text);font-size:20px;font-weight:675;letter-spacing:-.02em;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.62),0 4px 11px rgba(0,0,0,.12);transition:transform .2s ease,filter .2s ease,box-shadow .2s ease;}
.submit-button:hover {filter:brightness(1.05);transform:translateY(-1px);}
.submit-button:active {transform:translateY(0);}
.submit-button:disabled {cursor:wait;opacity:.8;}
.help-text {font-size:13.5px;color:var(--muted);text-align:center;margin:24px -6px 0;white-space:nowrap;letter-spacing:-.015em;}
.help-text span {color:var(--text);font-weight:590;}
@media (max-width:1000px) {.glass-panel{width:min(880px,100%);} .brand-side{padding-left:48px;padding-right:26px;} .form-side{padding-left:37px;padding-right:32px;} .hero-heading{font-size:28px;} .viewer-badge{font-size:12px;padding:8px 12px;}}
@media (max-width:750px) {.glass-panel{transform:none;} .login-stage{padding:105px 18px 35px;} .glass-panel{grid-template-columns:1fr;min-height:0;max-width:510px;border-radius:24px;} .glass-panel::after{height:240px;width:330px;bottom:-180px;left:-110px;} .brand-side{padding:37px 38px 16px;} .hero-mark{width:62px;height:64px;margin-bottom:19px;} .hero-heading{font-size:clamp(21px,5vw,27px);} .hero-subtitle{font-size:16px;margin:8px 0 20px;} .viewer-badge{font-size:11px;} .form-side{margin:0 28px 22px;border-left:0;border-top:1px solid var(--line);padding:24px 10px 20px;} #login-form{margin:0 auto;} .field input{height:48px;} .submit-button{min-height:50px;margin-top:23px;font-size:17px;} .topbar{height:90px;padding:13px 24px;}}
@media (max-width:385px) {.brand-side{padding:28px 22px 16px;} .form-side{margin:0 15px 15px;} .hero-heading{gap:8px;font-size:21px;} .help-text{white-space:normal;line-height:1.5;} .topbar{padding:12px 18px;} .topbar-name{font-size:26px;}}
@media (prefers-reduced-motion:reduce) {*,*::before,*::after {transition:none!important;animation:none!important;}}

/* Authentic day/night image pair: separate uploaded backgrounds, not an inverted color filter. */
:root {
  --scene-photo: url('/login-bg-dark.webp');
  --scene-wash: linear-gradient(180deg, rgba(1,3,7,.06), rgba(3,4,7,.12));
  --liquid-fill: rgba(24,27,31,.205);
  --liquid-rim: rgba(249,250,252,.66);
  --liquid-blur: 23px;
}
:root[data-theme="light"] {
  --scene-photo: url('/login-bg-light.webp');
  --scene-wash: linear-gradient(180deg, rgba(249,250,252,.015), rgba(247,248,250,.085));
  --liquid-fill: rgba(211,220,229,.235);
  --liquid-rim: rgba(255,255,255,.93);
  --liquid-blur: 22px;
}
@media (prefers-color-scheme:light) {
  :root:not([data-theme]) {
    --scene-photo: url('/login-bg-light.webp');
    --scene-wash: linear-gradient(180deg, rgba(249,250,252,.015), rgba(247,248,250,.085));
    --liquid-fill: rgba(211,220,229,.235);
    --liquid-rim: rgba(255,255,255,.93);
    --liquid-blur: 22px;
  }
}
.scene { background:var(--page-bg); }
.scene .scene-image {
  position:absolute;
  inset:0;
  width:100%;height:100%;
  display:block;
  object-fit:cover;
  object-position:center center;
  transform:none;
  filter:none;
  will-change:opacity;
  transition:opacity .36s ease;
}
/* Override legacy theme filters on the previous synthetic SVG. */
:root[data-theme="light"] .scene .scene-image,
:root[data-theme="dark"] .scene .scene-image {
  filter:none;
  transform:none;
}
@media (prefers-color-scheme:light) {
  :root:not([data-theme]) .scene .scene-image {filter:none;transform:none;}
}
.scene-image-dark { opacity:1; }
.scene .scene-image-light { opacity:0; }
:root[data-theme="light"] .scene .scene-image-light {opacity:1;}
:root[data-theme="light"] .scene .scene-image-dark {opacity:0;}
@media (prefers-color-scheme:light) {
  :root:not([data-theme]) .scene .scene-image-light {opacity:1;}
  :root:not([data-theme]) .scene .scene-image-dark {opacity:0;}
}
.ambient-filter {background:var(--scene-wash);}
:root[data-theme="light"] .ambient-filter {background:var(--scene-wash);}
@media (prefers-color-scheme:light) {
  :root:not([data-theme]) .ambient-filter {background:var(--scene-wash);}
}
.glass-filter-defs {
  position:absolute;width:0;height:0;overflow:hidden;pointer-events:none;
}
/* The actual image is filtered by the compositor behind this panel.
   A refracted scene layer adds weak spatial displacement, not a baked-in fake glass asset. */
.glass-panel {
  --glint-x: 17%; --glint-y: 12%;
  z-index:1;
  background:linear-gradient(148deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,.035) 22%,transparent 47%,rgba(255,255,255,.06) 100%),var(--liquid-fill);
  border:1px solid var(--liquid-rim);
  -webkit-backdrop-filter:blur(var(--liquid-blur)) saturate(1.18) contrast(1.08);
  backdrop-filter:blur(var(--liquid-blur)) saturate(1.18) contrast(1.08);
  box-shadow:var(--drop-shadow),inset 0 1.5px 0 rgba(255,255,255,.42),inset 0 -1px 0 rgba(255,255,255,.13),inset 1px 0 0 rgba(255,255,255,.12);
}
.glass-panel::before {
  z-index:0;
  background:radial-gradient(ellipse 310px 280px at var(--glint-x) var(--glint-y),rgba(255,255,255,.19),transparent 76%),radial-gradient(ellipse 250px 270px at 101% -5%,rgba(255,255,255,.07),transparent 84%);
  mix-blend-mode:screen;
}
.glass-panel::after {
  box-shadow:0 -2px 14px rgba(255,255,255,.24),0 -17px 55px rgba(255,255,255,.09),inset 0 1px 10px rgba(255,255,255,.09);
}
.glass-refraction {
  position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.12;
  background-image:var(--scene-photo);
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
  filter:url('#iz-glass-refraction') blur(3px);
  mix-blend-mode:screen;
}
:root[data-theme="light"] .glass-refraction {opacity:.065;mix-blend-mode:multiply;}
@media (prefers-color-scheme:light) {:root:not([data-theme]) .glass-refraction{opacity:.065;mix-blend-mode:multiply;}}
.brand-side,.form-side {z-index:2;}
.glass-grain {z-index:1;opacity:.12;}
@supports not ((-webkit-backdrop-filter:blur(2px)) or (backdrop-filter:blur(2px))) {
  .glass-panel {background:rgba(24,27,31,.77);}
  :root[data-theme="light"] .glass-panel{background:rgba(247,248,250,.85);}
}
@media(max-width:750px) {
  .glass-panel {--liquid-blur:16px;}
  .glass-refraction {opacity:.05;}
}
@media(prefers-reduced-motion:reduce) {
  .scene .scene-image{transition:none;}
  .glass-refraction{filter:blur(3px);}
}


/* Spectral edge thickness, composited over the real scene. Masking leaves
   the login text and the clear middle of the glass completely untouched. */
.glass-lens-rim {
  position:absolute;inset:0;z-index:3;pointer-events:none;border-radius:inherit;
  padding:1.8px;
  background:conic-gradient(from 236deg at 50% 50%,
    rgba(255,255,255,.06) 0deg,rgba(255,255,255,.65) 27deg,
    rgba(255,255,255,.12) 64deg,rgba(255,255,255,.055) 118deg,
    rgba(255,255,255,.69) 167deg,rgba(255,255,255,.095) 203deg,
    rgba(255,255,255,.04) 265deg,rgba(255,255,255,.56) 316deg,
    rgba(255,255,255,.06) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite:exclude;
  opacity:.65;
}
:root[data-theme="light"] .glass-lens-rim {
  background:conic-gradient(from 225deg at 50% 50%,
    rgba(35,45,60,.17),rgba(255,255,255,.94) 36deg,
    rgba(37,48,66,.08) 88deg,rgba(255,255,255,.82) 148deg,
    rgba(30,41,58,.13) 219deg,rgba(255,255,255,.83) 289deg,
    rgba(35,45,60,.17) 360deg);
  opacity:.93;
}
@media(prefers-color-scheme:light) {
  :root:not([data-theme]) .glass-lens-rim {
    background:conic-gradient(from 225deg at 50% 50%,
      rgba(35,45,60,.17),rgba(255,255,255,.94) 36deg,
      rgba(37,48,66,.08) 88deg,rgba(255,255,255,.82) 148deg,
      rgba(30,41,58,.13) 219deg,rgba(255,255,255,.83) 289deg,
      rgba(35,45,60,.17) 360deg);
    opacity:.93;
  }
}
/* Optical separation at 16:9: retain bright daylight in the room, but give
   the transparent pane a subtle contrast field and a refractive edge. */
.login-stage::before {
  content:"";
  position:absolute;inset:0;z-index:0;
  pointer-events:none;
  background:radial-gradient(ellipse min(690px,48vw) min(445px,44vh) at 50% 47%,rgba(0,0,0,.085),rgba(0,0,0,.036) 57%,transparent 100%);
}
:root[data-theme="light"] .login-stage::before {
  background:radial-gradient(ellipse min(710px,51vw) min(465px,47vh) at 50% 46%,rgba(32,39,47,.17),rgba(32,39,47,.085) 54%,transparent 100%);
}
@media(prefers-color-scheme:light) {
  :root:not([data-theme]) .login-stage::before {
    background:radial-gradient(ellipse min(710px,51vw) min(465px,47vh) at 50% 46%,rgba(32,39,47,.17),rgba(32,39,47,.085) 54%,transparent 100%);
  }
}
/* A bright top lip, low-key graphite bottom lip and cool transparent fill:
   the lens reads as a separate volume against a white security-room wall. */
:root[data-theme="light"] .glass-panel {
  background:linear-gradient(142deg,rgba(255,255,255,.35) 0%,rgba(255,255,255,.10) 25%,rgba(79,89,105,.045) 67%,rgba(106,118,134,.065) 100%),var(--liquid-fill);
  -webkit-backdrop-filter:blur(var(--liquid-blur)) saturate(1.10) contrast(1.13) brightness(.955);
  backdrop-filter:blur(var(--liquid-blur)) saturate(1.10) contrast(1.13) brightness(.955);
  box-shadow:0 31px 92px rgba(24,31,41,.23),0 9px 33px rgba(24,31,41,.15),0 0 0 1px rgba(31,41,54,.24),inset 0 1.8px 0 rgba(255,255,255,.92),inset 0 -1.5px 0 rgba(37,50,65,.16),inset 1px 0 0 rgba(255,255,255,.63);
}
@media(prefers-color-scheme:light) {
  :root:not([data-theme]) .glass-panel {
    background:linear-gradient(142deg,rgba(255,255,255,.35) 0%,rgba(255,255,255,.10) 25%,rgba(79,89,105,.045) 67%,rgba(106,118,134,.065) 100%),var(--liquid-fill);
    -webkit-backdrop-filter:blur(var(--liquid-blur)) saturate(1.10) contrast(1.13) brightness(.955);
    backdrop-filter:blur(var(--liquid-blur)) saturate(1.10) contrast(1.13) brightness(.955);
    box-shadow:0 31px 92px rgba(24,31,41,.23),0 9px 33px rgba(24,31,41,.15),0 0 0 1px rgba(31,41,54,.24),inset 0 1.8px 0 rgba(255,255,255,.92),inset 0 -1.5px 0 rgba(37,50,65,.16),inset 1px 0 0 rgba(255,255,255,.63);
  }
}
:root[data-theme="light"] .glass-panel::before {
  background:radial-gradient(ellipse 300px 230px at var(--glint-x) var(--glint-y),rgba(255,255,255,.36),transparent 76%),radial-gradient(ellipse 230px 200px at 100% 0%,rgba(255,255,255,.12),transparent 90%);
}
@media(prefers-color-scheme:light) {
  :root:not([data-theme]) .glass-panel::before {
    background:radial-gradient(ellipse 300px 230px at var(--glint-x) var(--glint-y),rgba(255,255,255,.36),transparent 76%),radial-gradient(ellipse 230px 200px at 100% 0%,rgba(255,255,255,.12),transparent 90%);
  }
}
:root[data-theme="light"] .glass-panel::after {border-color:rgba(255,255,255,.44);box-shadow:0 -2px 9px rgba(255,255,255,.4),0 -13px 35px rgba(255,255,255,.12);}
:root[data-theme="light"] .glass-refraction {opacity:.105;filter:url('#iz-glass-refraction') blur(2px);}
:root[data-theme="light"] .glass-grain {opacity:.07;}
:root[data-theme="light"] .hero-heading .tagline {color:#424852;}
:root[data-theme="light"] .hero-subtitle {color:#3f454f;}
:root[data-theme="light"] .field input {
  background:rgba(248,249,251,.42);
  border-color:rgba(30,38,49,.38);
}
:root[data-theme="light"] .form-side {border-left-color:rgba(38,45,57,.21);}
@media(prefers-color-scheme:light) {
  :root:not([data-theme]) .glass-panel::after {border-color:rgba(255,255,255,.44);box-shadow:0 -2px 9px rgba(255,255,255,.4),0 -13px 35px rgba(255,255,255,.12);}
  :root:not([data-theme]) .glass-refraction {opacity:.105;filter:url('#iz-glass-refraction') blur(2px);}
  :root:not([data-theme]) .glass-grain {opacity:.07;}
  :root:not([data-theme]) .hero-heading .tagline {color:#424852;}
  :root:not([data-theme]) .hero-subtitle {color:#3f454f;}
  :root:not([data-theme]) .field input {background:rgba(248,249,251,.42);border-color:rgba(30,38,49,.38);}
  :root:not([data-theme]) .form-side {border-left-color:rgba(38,45,57,.21);}
}
@media(max-width:750px){.login-stage::before{background:none!important;}}


/* CLEAR-GLASS-REVISION: keep the camera-room scene optically present.
   Blur is deliberately <= 3px. Materiality comes from surface Fresnel highlights,
   a translucent tint and sharp edge separation, NOT a smeared photograph. */
.glass-panel {
  --liquid-blur: 2.5px;
  background: linear-gradient(142deg,rgba(255,255,255,.095) 0%,rgba(255,255,255,.013) 36%,transparent 66%,rgba(255,255,255,.05) 100%),rgba(12,16,22,.20);
  border: 1px solid rgba(255,255,255,.48);
  -webkit-backdrop-filter: blur(2.5px) saturate(1.05);
  backdrop-filter: blur(2.5px) saturate(1.05);
  box-shadow: 0 23px 55px rgba(0,0,0,.27),0 3px 13px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.48),inset 0 -1px 0 rgba(255,255,255,.11);
}
/* Delete the old tilted ellipse: it is the distracting bottom-left halo. */
.glass-panel::after { content: none; display: none; }
/* A narrow surface reflection, not a diffuse fog layer. */
.glass-panel::before {
  content:"";
  z-index:0;
  background:linear-gradient(180deg,rgba(255,255,255,.11),transparent 14%),radial-gradient(ellipse 270px 190px at var(--glint-x) var(--glint-y),rgba(255,255,255,.085),transparent 80%);
  mix-blend-mode:normal;
}
/* Duplicate background with SVG blur created a ghost image inside the pane. */
.glass-refraction { display:none; }
.glass-grain { opacity:.035; }
/* Previous localized vignette darkened the whole area surrounding the pane. */
.login-stage::before {content:none;display:none;background:none;}
.glass-lens-rim {opacity:.55;padding:1.2px;}
:root[data-theme="light"] .glass-panel {
  --liquid-blur:2.2px;
  background:linear-gradient(142deg,rgba(255,255,255,.19),rgba(255,255,255,.035) 35%,transparent 70%,rgba(255,255,255,.09)),rgba(241,245,249,.115);
  border-color:rgba(255,255,255,.73);
  -webkit-backdrop-filter:blur(2.2px) saturate(1.04);
  backdrop-filter:blur(2.2px) saturate(1.04);
  box-shadow:0 23px 58px rgba(23,31,41,.16),0 3px 13px rgba(23,31,41,.12),0 0 0 1px rgba(32,43,57,.13),inset 0 1px 0 rgba(255,255,255,.76),inset 0 -1px 0 rgba(38,48,62,.08);
}
:root[data-theme="light"] .glass-panel::before {
  content:"";
  background:linear-gradient(180deg,rgba(255,255,255,.22),transparent 13%),radial-gradient(ellipse 240px 170px at var(--glint-x) var(--glint-y),rgba(255,255,255,.105),transparent 80%);
}
:root[data-theme="light"] .glass-lens-rim {opacity:.55;}
:root[data-theme="light"] .glass-grain {opacity:.025;}
:root[data-theme="light"] .field input {background:rgba(255,255,255,.26);border-color:rgba(36,43,53,.40);}
:root[data-theme="light"] .hero-heading .tagline {color:#383f48;}
:root[data-theme="light"] .hero-subtitle {color:#404853;}
@media(prefers-color-scheme:light){
  :root:not([data-theme]) .glass-panel {
    --liquid-blur:2.2px;
    background:linear-gradient(142deg,rgba(255,255,255,.19),rgba(255,255,255,.035) 35%,transparent 70%,rgba(255,255,255,.09)),rgba(241,245,249,.115);
    border-color:rgba(255,255,255,.73);
    -webkit-backdrop-filter:blur(2.2px) saturate(1.04);
    backdrop-filter:blur(2.2px) saturate(1.04);
    box-shadow:0 23px 58px rgba(23,31,41,.16),0 3px 13px rgba(23,31,41,.12),0 0 0 1px rgba(32,43,57,.13),inset 0 1px 0 rgba(255,255,255,.76),inset 0 -1px 0 rgba(38,48,62,.08);
  }
  :root:not([data-theme]) .glass-panel::before {content:"";background:linear-gradient(180deg,rgba(255,255,255,.22),transparent 13%),radial-gradient(ellipse 240px 170px at var(--glint-x) var(--glint-y),rgba(255,255,255,.105),transparent 80%);}
  :root:not([data-theme]) .glass-lens-rim {opacity:.55;}
  :root:not([data-theme]) .glass-grain {opacity:.025;}
  :root:not([data-theme]) .field input {background:rgba(255,255,255,.26);border-color:rgba(36,43,53,.40);}
  :root:not([data-theme]) .hero-heading .tagline {color:#383f48;}
  :root:not([data-theme]) .hero-subtitle {color:#404853;}
}
@media (max-width:750px){
  .glass-panel {--liquid-blur:2px;-webkit-backdrop-filter:blur(2px) saturate(1.04);backdrop-filter:blur(2px) saturate(1.04);}
}


/* GLASS-BODY-BALANCE: v4. Retain camera-room geometry, give the pane body.
   No fake image overlay, orbital halo, dark scene vignette or large blur. */
.glass-panel {
  background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.026) 37%,transparent 68%,rgba(255,255,255,.055)),rgba(12,16,22,.30);
  border:1px solid rgba(255,255,255,.47);
  -webkit-backdrop-filter:blur(4.2px) saturate(1.08);
  backdrop-filter:blur(4.2px) saturate(1.08);
  box-shadow:0 26px 64px rgba(0,0,0,.31),0 6px 18px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.43),inset 0 -1px 0 rgba(255,255,255,.10);
}
/* Only the left reading area gets a subtle, non-rectangular contrast wash. */
.brand-side::before {
  content:"";
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(ellipse at 29% 43%,rgba(0,0,0,.13),transparent 69%);
}
.brand-content {position:relative;z-index:1;}
.glass-lens-rim {opacity:.70;}
:root[data-theme="light"] .glass-panel {
  background:linear-gradient(145deg,rgba(255,255,255,.24),rgba(255,255,255,.06) 36%,rgba(255,255,255,.016) 68%,rgba(255,255,255,.095)),rgba(241,245,249,.22);
  border:1px solid rgba(255,255,255,.73);
  -webkit-backdrop-filter:blur(4px) saturate(1.05);
  backdrop-filter:blur(4px) saturate(1.05);
  box-shadow:0 24px 58px rgba(23,31,41,.19),0 5px 16px rgba(23,31,41,.11),0 0 0 1px rgba(32,43,57,.13),inset 0 1px 0 rgba(255,255,255,.80),inset 0 -1px 0 rgba(38,48,62,.10);
}
:root[data-theme="light"] .brand-side::before {
  background:radial-gradient(ellipse at 31% 45%,rgba(255,255,255,.15),transparent 71%);
}
:root[data-theme="light"] .glass-lens-rim {opacity:.72;}
@media (prefers-color-scheme:light) {
  :root:not([data-theme]) .glass-panel {
    background:linear-gradient(145deg,rgba(255,255,255,.24),rgba(255,255,255,.06) 36%,rgba(255,255,255,.016) 68%,rgba(255,255,255,.095)),rgba(241,245,249,.22);
    border:1px solid rgba(255,255,255,.73);
    -webkit-backdrop-filter:blur(4px) saturate(1.05);
    backdrop-filter:blur(4px) saturate(1.05);
    box-shadow:0 24px 58px rgba(23,31,41,.19),0 5px 16px rgba(23,31,41,.11),0 0 0 1px rgba(32,43,57,.13),inset 0 1px 0 rgba(255,255,255,.80),inset 0 -1px 0 rgba(38,48,62,.10);
  }
  :root:not([data-theme]) .brand-side::before {
    background:radial-gradient(ellipse at 31% 45%,rgba(255,255,255,.15),transparent 71%);
  }
  :root:not([data-theme]) .glass-lens-rim {opacity:.72;}
}
@media (max-width:750px){
  .glass-panel {-webkit-backdrop-filter:blur(4.2px) saturate(1.08);backdrop-filter:blur(4.2px) saturate(1.08);}
  :root[data-theme="light"] .glass-panel {-webkit-backdrop-filter:blur(4px) saturate(1.05);backdrop-filter:blur(4px) saturate(1.05);}
}
/* Hard guard against the previous two visual regressions. */
.glass-panel::after,.glass-refraction,.login-stage::before {display:none!important;content:none!important;}
