/* DSM x Slate Auto — Premium balanced sign-in v2.0
   Standalone stylesheet: workspace UI is intentionally unaffected. */
:root{
  color-scheme:dark;
  --red:#f7374e;
  --ruby:#db1230;
  --text:#f7f7f9;
  --muted:#c7cad2;
  --motion-x:0px;
  --motion-y:0px;
  --shine-x:50%;
  font-synthesis:none;
}
*{box-sizing:border-box}
html{min-height:100%;scroll-behavior:smooth}
body.prototype-page{min-width:320px;min-height:100vh;min-height:100dvh;margin:0;overflow-x:hidden;background:#0e0e14;color:var(--text);font-family:Inter,"Segoe UI Variable","Segoe UI",system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}
button,input{font:inherit}
button{cursor:pointer}
a{color:inherit}
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #ffb1b9;outline-offset:3px}
.svg-library,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.ico{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Full-viewport manufacturing photograph with translucent cinematic layers */
.cinema{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;isolation:isolate;background:#101015}
.cinema-image{position:absolute;inset:-2.2%;background-image:url("../img/automotive-factory.75d57fd403fe.webp");background-repeat:no-repeat;background-position:center center;background-size:cover;filter:saturate(1.12) contrast(1.04) brightness(.85);transform:translate3d(var(--motion-x),var(--motion-y),0) scale(1.035);transition:transform .65s ease-out}
.cinema-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,8,13,.56) 0%,rgba(15,8,14,.30) 28%,rgba(12,11,20,.15) 52%,rgba(12,10,18,.6) 86%),linear-gradient(180deg,rgba(5,5,8,.24),transparent 27%,rgba(11,5,10,.23) 74%,rgba(7,5,10,.48));mix-blend-mode:normal}
.cinema-pattern{position:absolute;inset:0;opacity:.17;background-image:radial-gradient(rgba(255,85,93,.85) .7px,transparent .7px);background-size:12px 12px;mask-image:linear-gradient(90deg,#000,transparent 16%,transparent 82%,#000)}
.cinema-corners{position:absolute;inset:0;background:radial-gradient(ellipse at 0 85%,rgba(255,0,33,.19),transparent 43%),radial-gradient(ellipse at 99% 10%,rgba(255,48,56,.16),transparent 41%);animation:ambientGlow 9s ease-in-out infinite alternate}
.light-slash{position:absolute;transform:skewX(-37deg);pointer-events:none}
.slash-one{width:95px;top:-15%;height:54%;left:47%;background:linear-gradient(105deg,transparent,rgba(191,210,231,.12),rgba(239,241,255,.23),rgba(175,189,216,.04),transparent);border-left:1px solid rgba(255,255,255,.19);border-right:1px solid rgba(245,248,252,.13)}
.slash-two{width:70px;top:4%;right:-3%;height:76%;background:linear-gradient(100deg,transparent,rgba(231,31,58,.24),rgba(174,26,54,.02));border-right:1px solid rgba(253,41,71,.35)}
.neon-paths{position:absolute;inset:0;width:100%;height:100%;opacity:.83;filter:drop-shadow(0 0 10px rgba(255,32,61,.7))}
.trail-core,.trail-soft,.trail-blur{fill:none;stroke-linecap:round}
.trail-blur{stroke:#ff243a;stroke-width:17;opacity:.23;filter:blur(8px)}
.trail-core{stroke:url(#trail-gradient);stroke-width:4;stroke-dasharray:1000 1100;animation:trailSweep 11s linear infinite}
.trail-soft{stroke:#ff314b;stroke-width:2.4;opacity:.45;stroke-dasharray:520 1500;animation:trailSweep 15s linear infinite reverse}
.embers{position:absolute;inset:0}
.ember{position:absolute;left:var(--left);top:var(--top);width:var(--size);height:var(--size);background:#ff626b;box-shadow:0 0 11px 2px rgba(255,48,67,.55);border-radius:50%;opacity:0;animation:emberFloat var(--speed) ease-in-out var(--delay) infinite}

.shell{position:relative;isolation:isolate;z-index:1;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.masthead{min-height:85px;display:flex;align-items:center;gap:30px;padding:0 clamp(24px,4.1vw,74px);background:linear-gradient(100deg,rgba(22,20,25,.88),rgba(28,28,35,.74),rgba(17,17,24,.78));border-bottom:1px solid rgba(240,245,255,.21);backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px);box-shadow:0 10px 35px rgba(0,0,0,.23)}
.masthead-brand{display:flex;align-items:center;min-width:0;text-decoration:none;gap:13px}
.masthead-brand img{display:block;object-fit:contain;width:75px;height:69px;filter:drop-shadow(0 5px 12px rgba(0,0,0,.4))}
.masthead-name{font-size:clamp(16px,1.52vw,28px);font-weight:300;letter-spacing:-.045em;line-height:1.12;white-space:nowrap;color:#e4e5eb}
.masthead-name strong{color:#fff;font-weight:740}
.masthead-name>span{color:#d3d5de;font-weight:350}
.masthead-caption{padding-left:26px;border-left:1px solid rgba(237,237,244,.4);font-size:11px;letter-spacing:.34em;white-space:nowrap;color:#e0e1ea;font-weight:700}
.masthead-right{margin-left:auto;display:flex;align-items:center;gap:12px}
.secure-badge{min-height:39px;display:flex;align-items:center;gap:9px;padding:6px 16px 6px 12px;border:1.4px solid #36d17f;border-radius:40px;background:rgba(8,14,21,.47);color:#e9f8ef;box-shadow:inset 0 0 13px rgba(58,231,132,.04),0 0 21px rgba(51,205,113,.07);transition:background .2s,border-color .2s,transform .2s}
.secure-badge:hover{background:rgba(17,57,34,.45);transform:translateY(-2px)}
.secure-badge .ico{width:19px;height:19px;color:#3deb87}
.secure-badge span:nth-child(2){font-weight:650;white-space:nowrap;font-size:12px}
.status-signal{width:6px;height:6px;background:#57f79b;border-radius:100%;box-shadow:0 0 7px #48e590;animation:signalPulse 2.3s infinite}
.secure-badge.health-failed{border-color:#f2a84b}.secure-badge.health-failed .ico{color:#f2a84b}.secure-badge.health-failed .status-signal{background:#f2a84b}
.language-toggle{border-radius:40px;min-height:39px;padding:0 12px;color:#eff1f5;background:rgba(21,24,34,.66);border:1px solid rgba(221,230,244,.25);display:flex;gap:7px;align-items:center;transition:background .2s,transform .2s}.language-toggle:hover{transform:translateY(-2px);background:rgba(50,51,60,.7)}.language-toggle .ico{width:16px;height:16px}.language-toggle span{font-size:11px;font-weight:760}

.frontstage{width:100%;max-width:1880px;margin:0 auto;flex:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(470px,605px);column-gap:clamp(22px,3vw,62px);align-items:center;padding:0 clamp(30px,5.2vw,87px) 12px}
.hero-side{min-width:0;align-self:stretch;display:flex;align-items:flex-start;padding:clamp(58px,8vh,90px) 0 60px clamp(0px,4vw,78px)}
.hero-copy{width:100%;max-width:710px;animation:heroArrive 1s .13s both}
.red-rule{width:174px;height:5px;border-radius:4px;background:linear-gradient(90deg,#ff2848 0%,#ff4056 26%,rgba(209,100,113,.22) 34%,transparent 98%);box-shadow:-9px 0 24px rgba(255,26,46,.2);margin-bottom:26px}
.hero-kicker{margin:0 0 6px;font-size:11px;letter-spacing:.23em;color:#f3c0c6;font-weight:680;text-transform:uppercase}
.hero-kicker b{font-size:13px;color:#ff4157;margin:0 3px}
.hero-copy h1{font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:clamp(54px,4.7vw,85px);font-weight:870;line-height:1.03;letter-spacing:-.07em;transform:skewX(-5deg);transform-origin:left center;font-style:italic;margin:3px 0 22px;filter:drop-shadow(0 5px 8px rgba(0,0,0,.45))}
.hero-copy h1 span{display:block;white-space:nowrap}
.hero-copy h1 span:first-child{background:linear-gradient(180deg,#fff,#e9e8ec 53%,#bfc1cb);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-copy h1 .hero-red{background:linear-gradient(135deg,#ffd9db 0%,#ffb0b7 27%,#fa606c 61%,#fa253c 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-summary{margin:0;max-width:535px;color:#f3eced;font-size:clamp(16px,1.31vw,22px);line-height:1.53;text-shadow:0 2px 12px rgba(0,0,0,.75);font-weight:430;letter-spacing:-.018em}
.feature-strip{display:flex;align-items:center;gap:clamp(12px,1.4vw,24px);margin-top:32px;max-width:690px}
.feature{display:flex;align-items:center;gap:12px;white-space:nowrap;min-width:0;font-size:clamp(10px,.87vw,14px);line-height:1.28;font-weight:550;text-shadow:0 2px 8px #000}
.feature-tile{width:48px;height:48px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;border:1px solid rgba(254,254,255,.5);border-radius:11px;background:linear-gradient(140deg,rgba(250,245,252,.27),rgba(116,117,131,.08));box-shadow:inset 0 0 13px rgba(255,255,255,.07),0 8px 23px rgba(0,0,0,.32);backdrop-filter:blur(8px);transition:transform .35s,box-shadow .35s}
.feature-tile .ico{width:27px;height:27px;stroke-width:2}
.feature:hover .feature-tile{transform:translateY(-4px) rotate(-3deg);box-shadow:0 9px 23px rgba(255,36,63,.28)}
.feature-divider{height:33px;width:1px;background:rgba(239,233,241,.56);flex:none}

.form-side{width:100%;min-width:0;display:flex;align-items:center;justify-content:flex-end;padding:5px 0 0}
.glass-card{width:100%;position:relative;isolation:isolate;border-radius:30px;padding:37px clamp(35px,3.35vw,54px) 25px;background:linear-gradient(127deg,rgba(58,59,70,.78),rgba(28,30,39,.88) 36%,rgba(37,36,46,.88) 67%,rgba(76,49,60,.7));border:1px solid rgba(255,221,235,.66);box-shadow:0 22px 75px rgba(0,0,0,.52),inset 0 1px rgba(255,255,255,.2),inset 0 0 55px rgba(235,233,249,.06),0 0 35px rgba(255,50,68,.14);backdrop-filter:blur(24px) saturate(1.2);-webkit-backdrop-filter:blur(24px) saturate(1.2);animation:cardArrive 1s .15s both;overflow:hidden}
.glass-card::before{content:"";position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;z-index:0;background:radial-gradient(ellipse 215px 18px at 18% 0%,rgba(255,45,69,.95),transparent 80%),radial-gradient(ellipse 235px 13px at 83% 100%,rgba(255,62,88,.76),transparent 80%);opacity:.88;animation:borderBreath 5s ease-in-out infinite alternate}
.glass-card::after{content:"";pointer-events:none;position:absolute;inset:0;border-radius:inherit;z-index:-1;background:radial-gradient(circle at 16% 13%,rgba(255,69,81,.12),transparent 35%),radial-gradient(circle at 100% 96%,rgba(255,58,81,.12),transparent 34%)}
.glass-shimmer{position:absolute;pointer-events:none;z-index:-1;inset:0;background:linear-gradient(116deg,transparent 35%,rgba(255,255,255,.045) 51%,transparent 64%);transform:translateX(-90%);animation:glassShine 13s 2s linear infinite}
.card-brand{text-align:center;position:relative;z-index:1}
.card-logo{width:116px;height:105px;object-fit:contain;display:block;margin:0 auto 3px;filter:drop-shadow(0 13px 16px rgba(0,0,0,.28));animation:logoHover 6s ease-in-out infinite}
.card-brand h2{font-size:clamp(21px,1.86vw,30px);line-height:1.16;margin:9px 0 11px;font-weight:750;letter-spacing:-.045em;white-space:nowrap;text-shadow:0 3px 6px rgba(0,0,0,.35)}
.secure-title{display:flex;align-items:center;justify-content:center;gap:20px;color:#d3d4de;font-size:clamp(16px,1.37vw,22px);font-weight:350;white-space:nowrap}
.title-rule{width:92px;max-width:22%;height:1px;background:linear-gradient(90deg,transparent,rgba(235,237,242,.55),transparent)}
.partner-caption{font-size:9px;letter-spacing:.25em;color:#d4a9b4;font-weight:650;margin:9px 0 0}.partner-caption i{font-style:normal;color:#fa7081}
.signin-form{margin-top:27px;position:relative;z-index:1}
.field-frame{display:flex;align-items:center;position:relative;height:55px;border-radius:13px;border:1px solid rgba(231,232,245,.57);background:linear-gradient(110deg,rgba(255,255,255,.085),rgba(229,227,250,.07));box-shadow:inset 0 1px 5px rgba(255,255,255,.06),0 2px 6px rgba(0,0,0,.12);transition:background .23s,border-color .23s,box-shadow .23s;margin-bottom:13px}
.field-frame:focus-within{border-color:#ffadb9;background:rgba(255,255,255,.11);box-shadow:0 0 0 3px rgba(255,72,100,.16),inset 0 1px 5px rgba(255,255,255,.07)}
.field-frame .field-ico{width:25px;height:25px;margin-left:19px;stroke:#e1e4ec;stroke-width:1.7}
.field-frame input{width:100%;height:100%;min-width:0;border:0;outline:0!important;background:transparent;color:white;padding:0 13px 0 21px;font-size:15px;font-weight:410;letter-spacing:.01em}
.field-frame input::placeholder{color:#c8c9d2;opacity:.95}
.eye-button{display:flex;align-items:center;justify-content:center;flex:0 0 45px;height:43px;margin-right:7px;background:transparent;border:none;color:#e8e8f2;border-radius:8px;transition:color .2s,background .2s}
.eye-button:hover{background:rgba(255,255,255,.09);color:white}.eye-button .ico{width:25px;height:25px}
.form-options{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:37px;margin:4px 1px 15px}
.remember-option{display:flex;align-items:center;gap:10px;cursor:pointer;color:#f0edf0;font-size:13px;white-space:nowrap}
.remember-option input{position:absolute;width:1px;height:1px;opacity:0}.pretty-check{height:22px;width:22px;display:grid;place-items:center;border-radius:5px;border:1px solid rgba(255,255,255,.6);background:rgba(48,36,44,.7);transition:background .2s,border-color .2s,box-shadow .2s}.pretty-check .ico{display:none;width:15px;height:15px;stroke-width:2.4}.remember-option input:checked+.pretty-check{background:linear-gradient(145deg,#ff354c,#db1432);border-color:#f36b7a;box-shadow:0 0 11px rgba(247,27,61,.3)}.remember-option input:checked+.pretty-check .ico{display:block}.remember-option input:focus-visible+.pretty-check{outline:2px solid white;outline-offset:3px}
.forgot-link{font-size:13px;color:#ff7583;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,115,128,.6);font-weight:580;white-space:nowrap;transition:color .2s}.forgot-link:hover{color:#ffc0c6}
.form-error{font-size:12px;color:#ffc1c9;line-height:1.5;margin:0;min-height:0}.form-error:not(:empty){background:rgba(136,18,42,.29);border:1px solid rgba(251,93,118,.24);padding:8px 10px;border-radius:8px;margin-bottom:11px}
.server-error{display:flex;align-items:center;gap:9px;color:#ffd7dd;background:rgba(153,28,53,.26);border:1px solid rgba(255,136,155,.38);padding:9px 13px;margin-top:17px;font-size:12px;border-radius:10px}.server-error .ico{width:18px;height:18px}
.primary-button{position:relative;display:flex;justify-content:center;align-items:center;gap:17px;overflow:hidden;width:100%;height:61px;border-radius:13px;background:linear-gradient(115deg,#ff3046 0%,#e81537 54%,#b90d27 100%);border:1px solid #ff657b;box-shadow:0 9px 21px rgba(219,10,37,.33),inset 0 2px 0 rgba(255,220,226,.48),inset 0 -3px 10px rgba(95,0,17,.2),0 0 28px rgba(238,28,57,.21);color:white;font-size:21px;font-weight:750;letter-spacing:-.025em;text-shadow:0 1px 3px rgba(89,0,16,.35);transition:transform .24s,box-shadow .24s,filter .24s}
.primary-button:hover{transform:translateY(-3px);filter:brightness(1.1);box-shadow:0 13px 28px rgba(245,23,51,.43),0 0 34px rgba(238,28,57,.33),inset 0 2px 0 rgba(255,220,226,.48)}.primary-button:active{transform:translateY(0) scale(.99)}.primary-button:disabled{opacity:.78;cursor:progress;transform:none}
.primary-button .ico{width:27px;height:27px;stroke-width:2.2}.button-flare{position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 22%,rgba(255,255,255,.23) 50%,transparent 74%);transform:translateX(-140%);animation:buttonShine 6.5s 1.2s ease-in-out infinite}.button-spinner{display:none;width:22px;height:22px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .75s linear infinite}.is-submitting .button-spinner{display:block}.is-submitting .enter-icon{display:none}
.or-rule{display:flex;align-items:center;gap:17px;margin:21px 0 18px;color:#d5d6dd;font-size:14px}.or-rule span:first-child,.or-rule span:last-child{height:1px;flex:1;background:linear-gradient(90deg,transparent,rgba(236,239,244,.42),transparent)}
.secondary-button{width:100%;height:46px;border:1px solid rgba(230,233,242,.47);border-radius:13px;display:flex;align-items:center;justify-content:center;gap:10px;color:#fff;background:linear-gradient(110deg,rgba(240,242,255,.14),rgba(170,179,198,.065));font-size:14px;font-weight:560;box-shadow:inset 0 1px rgba(255,255,255,.08);transition:transform .24s,background .24s,border-color .24s,box-shadow .24s}
.secondary-button:hover{transform:translateY(-2px);background:rgba(246,247,255,.18);border-color:#f5bac2;box-shadow:0 8px 18px rgba(0,0,0,.19)}.secondary-button .ico{width:23px;height:23px}
.help-row{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;margin-top:12px;font-size:13px;color:#e8e6ec}.help-row>.ico{width:21px;height:21px}.help-row a{display:flex;align-items:center;gap:4px;color:#ff7685;text-decoration:underline;text-underline-offset:3px;font-weight:620;transition:color .2s}.help-row a:hover{color:#ffd3d9}.help-row a .ico{height:15px;width:15px}
.security-footer{display:flex;align-items:center;justify-content:center;gap:22px;border-top:1px solid rgba(238,240,249,.26);padding-top:19px;margin-top:10px;color:#c6c8d0;font-size:11px;white-space:nowrap}.security-footer>span{display:flex;align-items:center;gap:9px}.security-footer>span .ico{width:20px;height:20px}.security-footer>i{height:19px;width:1px;background:rgba(221,226,236,.29)}
.minimal-footer{width:100%;padding:8px 28px 16px;text-align:center;font-size:10px;letter-spacing:.11em;font-weight:600;color:rgba(228,228,232,.7);text-shadow:0 1px 4px #000;opacity:.86}.footer-dot{color:#ff6172;margin:0 12px}

/* Functional status and SSO information dialogs */
.portal-dialog{width:min(470px,calc(100vw - 30px));border:1px solid rgba(255,177,193,.55);border-radius:20px;background:linear-gradient(145deg,#383640,#171a24);box-shadow:0 25px 100px rgba(0,0,0,.75),0 0 28px rgba(233,35,63,.18);backdrop-filter:blur(22px);color:white;padding:28px;animation:dialogArrive .26s ease-out both}
.portal-dialog::backdrop{background:rgba(5,5,9,.69);backdrop-filter:blur(7px)}.portal-dialog h2{font-size:24px;letter-spacing:-.035em;line-height:1.22;margin:14px 0 22px}.portal-dialog p{color:#d0d0db;font-size:13px;line-height:1.7}.dialog-topline{display:flex;justify-content:space-between;align-items:center;color:#ff9ba7;font-size:10px;letter-spacing:.2em;font-weight:700}.dialog-x{width:31px;height:31px;color:white;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:rgba(255,255,255,.08);display:grid;place-items:center}.dialog-x .ico{width:16px;height:16px}.dialog-state{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid rgba(240,242,249,.14);font-size:13px}.dialog-state strong{font-size:12px;color:#ffb18e}.dialog-state strong.healthy{color:#8af3b9}.dialog-state strong.pending{color:#f9c180}.dialog-action{min-height:43px;padding:0 18px;margin-top:13px;border:1px solid rgba(255,116,132,.68);border-radius:9px;color:white;background:linear-gradient(95deg,#ed314d,#b4152d);font-size:13px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;transition:filter .2s}.dialog-action:hover{filter:brightness(1.13)}

@keyframes heroArrive{from{opacity:0;transform:translateX(-22px) translateY(13px)}to{opacity:1;transform:none}}
@keyframes cardArrive{from{opacity:0;transform:translateY(27px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes ambientGlow{from{opacity:.48}to{opacity:1}}
@keyframes borderBreath{from{opacity:.45}to{opacity:1}}
@keyframes logoHover{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes emberFloat{0%{opacity:0;transform:translateY(7px) scale(.7)}30%{opacity:.7}80%{opacity:.23}100%{opacity:0;transform:translateY(-40px) scale(1.3)}}
@keyframes trailSweep{to{stroke-dashoffset:-2100}}
@keyframes signalPulse{0%,100%{opacity:1;box-shadow:0 0 6px #48e590}50%{opacity:.4;box-shadow:0 0 13px #48e590}}
@keyframes glassShine{0%,68%,100%{transform:translateX(-95%)}83%{transform:translateX(95%)}}
@keyframes buttonShine{0%,75%,100%{transform:translateX(-140%)}88%{transform:translateX(140%)}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes dialogArrive{from{opacity:0;transform:scale(.96) translateY(12px)}to{opacity:1;transform:none}}

/* Keep the prototype legible at standard Windows RDP resolutions */
@media(max-width:1400px){.masthead-caption{letter-spacing:.23em;font-size:10px}.frontstage{grid-template-columns:minmax(0,1fr) minmax(430px,540px);column-gap:24px;padding-inline:clamp(27px,3.8vw,62px)}.hero-side{padding-left:clamp(0px,2.8vw,36px)}.hero-copy h1{font-size:clamp(52px,4.8vw,68px)}.hero-summary{max-width:440px}.feature-strip{gap:11px}.feature{gap:8px;font-size:11px}.feature-tile{width:39px;height:42px}.feature-tile .ico{width:22px;height:22px}.glass-card{padding-left:36px;padding-right:36px}.card-brand h2{font-size:25px}}
@media(max-width:1120px){.masthead-caption{display:none}.frontstage{grid-template-columns:minmax(0,1fr) minmax(390px,495px)}.hero-copy h1{font-size:clamp(48px,5vw,62px)}.hero-side{padding-left:0}.hero-summary{font-size:16px}.feature-strip{flex-wrap:wrap;gap:9px}.feature-divider{display:none}.feature{min-width:140px}.glass-card{padding:30px 30px 22px}.card-logo{height:90px;width:96px}.card-brand h2{font-size:23px}}
@media(max-width:940px){.masthead{padding-inline:24px;gap:15px}.frontstage{display:flex;flex-direction:column;gap:25px;align-items:stretch;padding:35px 28px 20px}.hero-side{padding:0;align-self:auto}.hero-copy{max-width:750px}.hero-copy h1{font-size:clamp(55px,8.3vw,76px)}.hero-summary{max-width:580px}.form-side{justify-content:center;padding:0}.glass-card{max-width:610px}.minimal-footer{padding-bottom:19px}.cinema-image{background-position:37% center}.cinema-shade{background:linear-gradient(180deg,rgba(6,7,12,.8),rgba(11,9,15,.44) 30%,rgba(8,8,14,.8) 85%)}}
@media(max-width:640px){.masthead{min-height:69px;padding:0 17px;gap:9px}.masthead-brand{gap:7px}.masthead-brand img{width:43px;height:43px}.masthead-name{font-size:clamp(12px,3.3vw,16px)}.masthead-name>span{display:none}.masthead-right{gap:7px}.secure-badge{padding:0;width:37px;min-height:37px;justify-content:center}.secure-badge span:nth-child(2),.secure-badge .status-signal{display:none}.language-toggle{min-height:37px;padding:0 8px}.frontstage{padding:27px 15px 18px;gap:21px}.hero-copy{padding:0 4px}.red-rule{margin-bottom:14px;height:3px;width:122px}.hero-kicker{font-size:9px;letter-spacing:.09em}.hero-copy h1{font-size:clamp(47px,9vw,67px);line-height:1;margin:7px 0 15px}.hero-summary{font-size:13px;max-width:540px}.feature-strip{margin-top:20px;gap:8px}.feature{min-width:0;font-size:9px;line-height:1.2;gap:7px;flex:1}.feature-tile{width:30px;height:32px;border-radius:8px}.feature-tile .ico{width:17px;height:17px}.glass-card{border-radius:22px;padding:24px 24px 20px}.card-logo{width:84px;height:79px}.card-brand h2{font-size:clamp(20px,5vw,24px);margin-top:5px}.secure-title{font-size:17px;gap:10px}.title-rule{width:55px}.signin-form{margin-top:22px}.field-frame{height:51px}.field-frame input{font-size:14px}.form-options{margin:1px 0 13px}.remember-option,.forgot-link{font-size:12px}.primary-button{height:56px;font-size:19px}.or-rule{margin:17px 0 14px}.secondary-button{height:46px;font-size:12px}.security-footer{gap:10px;font-size:9px;margin-top:7px;padding-top:14px}.security-footer>span{gap:5px}.security-footer>span .ico{height:17px;width:17px}.help-row{font-size:12px;min-height:45px}.minimal-footer{font-size:9px;line-height:1.8}.cinema-image{background-position:29% center}}
@media(max-width:380px){.masthead-name{font-size:12px}.frontstage{padding-inline:12px}.hero-copy h1{font-size:44px}.hero-kicker{letter-spacing:.03em}.feature-strip{gap:4px}.feature{font-size:8px}.feature-tile{width:26px;height:29px}.glass-card{padding:22px 18px 17px}.card-brand h2{font-size:19px}.security-footer{font-size:8px}.remember-option,.forgot-link{font-size:11px}}
@media(max-height:800px) and (min-width:941px){.hero-side{padding-top:40px}.glass-card{padding-top:20px;padding-bottom:16px}.card-logo{height:72px;width:82px}.card-brand h2{margin-top:4px;margin-bottom:7px}.partner-caption{margin-top:5px}.signin-form{margin-top:17px}.field-frame{height:48px;margin-bottom:9px}.form-options{min-height:30px;margin:2px 0 10px}.primary-button{height:53px}.or-rule{margin:13px 0}.secondary-button{height:43px}.help-row{min-height:42px;margin-top:8px}.security-footer{padding-top:12px;margin-top:5px}.hero-copy h1{font-size:clamp(48px,4.6vw,71px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.cinema-image{transform:none!important}}

/* ============================================================
   v2.0 — balanced desktop design / restrained glass / flow rail
   Style-only changes: no authentication or server logic affected.
   ============================================================ */
:root{--soft-line:rgba(255,225,234,.24);--card-red:#fa4157;--fg-dim:#bdc1cc}
.cinema-image{background-position:48% center;filter:saturate(1.07) contrast(1.05) brightness(.78)}
.cinema-shade{background:linear-gradient(90deg,rgba(8,8,13,.71) 0%,rgba(10,10,16,.43) 33%,rgba(14,10,17,.33) 58%,rgba(11,9,16,.59) 100%),linear-gradient(180deg,rgba(5,5,9,.2) 0%,transparent 40%,rgba(5,4,10,.46) 100%)}
.cinema-corners{background:radial-gradient(ellipse at 0 88%,rgba(234,10,47,.20),transparent 43%),radial-gradient(ellipse at 99% 2%,rgba(255,29,62,.14),transparent 45%)}
.masthead{min-height:78px;padding-inline:clamp(22px,3.8vw,66px);gap:25px;background:linear-gradient(95deg,rgba(15,14,20,.93),rgba(21,20,27,.86) 54%,rgba(13,13,21,.84));box-shadow:0 12px 28px rgba(0,0,0,.20)}
.masthead-brand img{width:64px;height:61px}
.masthead-name{font-size:clamp(16px,1.3vw,23px);letter-spacing:-.04em}
.masthead-caption{font-size:10px;letter-spacing:.3em;padding-left:23px}
.secure-badge,.language-toggle{min-height:37px}
.frontstage{max-width:1840px;grid-template-columns:minmax(0,1fr) minmax(430px,490px);gap:clamp(35px,4vw,85px);padding:22px clamp(40px,5.2vw,92px) 16px;min-height:0;align-items:center}
.hero-side{min-width:0;align-self:stretch;display:flex;flex-direction:column;align-items:stretch;justify-content:center;padding:25px 0 25px clamp(0px,1.8vw,30px);gap:clamp(50px,8vh,106px)}
.hero-copy{max-width:660px;width:100%;flex:none}
.red-rule{height:4px;width:148px;margin-bottom:18px}
.hero-kicker{display:block;margin:0 0 12px;font-size:10px;letter-spacing:.22em;color:#ffd3d9}
.hero-copy h1{font-size:clamp(55px,4.45vw,76px);line-height:1.035;letter-spacing:-.073em;margin:0 0 22px;filter:drop-shadow(0 4px 11px rgba(0,0,0,.48))}
.hero-summary{max-width:548px;font-size:clamp(16px,1.24vw,19px);line-height:1.53;letter-spacing:-.02em}
.feature-strip{margin-top:31px;gap:16px;max-width:632px}
.feature{gap:9px;font-size:clamp(11px,.84vw,13px);font-weight:600}
.feature-tile{width:42px;height:43px;border-radius:10px;border-color:rgba(245,243,251,.38);background:linear-gradient(145deg,rgba(255,248,254,.2),rgba(102,104,130,.08))}
.feature-tile .ico{width:23px;height:23px}
.feature-divider{height:27px;background:rgba(234,233,244,.32)}
/* The flow rail fills previously unused bottom-left area, without inventing live EDI activity. */
.hero-flow{width:min(100%,665px);padding:17px 20px 14px;position:relative;overflow:hidden;border-radius:17px;border:1px solid rgba(232,225,242,.21);background:linear-gradient(117deg,rgba(11,15,24,.65),rgba(29,25,36,.47) 66%,rgba(73,29,48,.37));box-shadow:0 15px 48px rgba(0,0,0,.20),inset 0 1px rgba(255,255,255,.08);backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px);animation:heroArrive 1s .38s both}
.hero-flow::before{content:"";position:absolute;width:50%;height:1px;top:0;left:16px;background:linear-gradient(90deg,rgba(255,80,99,.88),transparent)}
.hero-flow::after{content:"";pointer-events:none;position:absolute;width:120px;height:120px;right:-58px;top:-77px;background:radial-gradient(circle,rgba(255,49,90,.17),transparent 75%)}
.flow-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.flow-heading-left{display:flex;align-items:center;gap:9px;white-space:nowrap;color:#f4dee2;font-size:10px;letter-spacing:.16em;font-weight:720}
.flow-pulse{width:7px;height:7px;border-radius:50%;background:#ff6379;box-shadow:0 0 0 4px rgba(244,48,77,.14),0 0 11px rgba(255,80,97,.8);animation:signalPulse 2.6s infinite}
.flow-eyebrow{color:#afaebb;font-size:9px;white-space:nowrap;letter-spacing:.13em;font-weight:650}
.flow-stages{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:17px}
.flow-stage{display:flex;align-items:baseline;gap:9px;white-space:nowrap;font-size:13px;font-weight:690;color:#f4f4f8;letter-spacing:-.015em}
.flow-index{color:#f18a99;font-size:10px;font-variant-numeric:tabular-nums;letter-spacing:.12em}
.flow-connector{min-width:18px;flex:1;max-width:75px;position:relative;display:block;height:1px;background:linear-gradient(90deg,rgba(255,109,126,.23),rgba(239,218,226,.4),rgba(255,109,126,.23));overflow:visible}
.flow-runner{position:absolute;left:0;top:-2px;width:5px;height:5px;border-radius:50%;background:#ff7f90;box-shadow:0 0 8px rgba(255,60,92,.9);animation:flowRunner 4.1s linear infinite}
.flow-connector:nth-of-type(4) .flow-runner{animation-delay:2s}
.flow-caption{margin:14px 0 0;font-size:10px;color:#bab8c4;letter-spacing:.02em}
@keyframes flowRunner{from{left:0;opacity:.4}15%{opacity:1}85%{opacity:1}to{left:calc(100% - 5px);opacity:.2}}
/* Sign-in glass panel: smaller, calmer, and vertically centered. */
.form-side{width:100%;align-items:center;justify-content:flex-end;padding:0}
.glass-card{width:100%;max-width:490px;border-radius:25px;padding:26px 33px 20px;background:linear-gradient(135deg,rgba(51,49,61,.84),rgba(22,24,34,.92) 36%,rgba(25,25,36,.89) 78%,rgba(63,39,52,.78));border-color:rgba(237,216,231,.44);box-shadow:0 24px 80px rgba(0,0,0,.59),0 0 44px rgba(232,28,63,.14),inset 0 1px rgba(255,255,255,.15);backdrop-filter:blur(24px) saturate(1.15);-webkit-backdrop-filter:blur(24px) saturate(1.15)}
.glass-card::before{background:radial-gradient(ellipse 150px 12px at 15% 0%,rgba(255,59,91,.95),transparent 85%),radial-gradient(ellipse 150px 13px at 86% 100%,rgba(255,60,91,.7),transparent 80%)}
.card-logo{width:85px;height:79px;margin-bottom:0;filter:drop-shadow(0 7px 12px rgba(0,0,0,.26))}
.card-brand h2{font-size:clamp(20px,1.55vw,24px);line-height:1.2;margin:6px 0 8px;letter-spacing:-.048em}
.secure-title{font-size:18px;gap:15px}.title-rule{width:60px}
.partner-caption{margin-top:7px;font-size:8px;letter-spacing:.22em}
.signin-form{margin-top:20px}
.field-frame{height:49px;border-radius:10px;margin-bottom:10px;border-color:rgba(233,230,242,.35);background:linear-gradient(115deg,rgba(224,225,249,.07),rgba(255,255,255,.035))}
.field-frame .field-ico{width:20px;height:20px;margin-left:16px;stroke:#dde0eb}
.field-frame input{padding-left:14px;font-size:13px;color:#f7f8fb}
.field-frame input::placeholder{color:#b9bac7}
.eye-button{height:39px;flex-basis:40px;margin-right:4px}.eye-button .ico{width:21px;height:21px}
.form-options{min-height:29px;margin:1px 0 11px}.remember-option,.forgot-link{font-size:11.5px}
.pretty-check{width:19px;height:19px}
.primary-button{height:52px;border-radius:11px;font-size:18px;gap:11px;box-shadow:0 8px 23px rgba(210,6,34,.31),inset 0 1px rgba(255,233,234,.56),0 0 16px rgba(247,40,68,.16)}
.primary-button .ico{width:23px;height:23px}
.or-rule{margin:15px 0 13px;font-size:12px;gap:12px;color:#c4c6d2}
.secondary-button{height:41px;border-radius:10px;font-size:11.5px;border-color:rgba(236,235,247,.34)}.secondary-button .ico{width:18px;height:18px}
.help-row{margin-top:5px;min-height:39px;font-size:11.5px;gap:6px}.help-row>.ico{width:18px;height:18px}.help-row a .ico{width:13px;height:13px}
.security-footer{margin-top:3px;padding-top:13px;gap:15px;font-size:9.5px;color:#b9bac5}.security-footer>span{gap:6px}.security-footer>span .ico{width:15px;height:15px}.security-footer>i{height:15px}
.minimal-footer{padding:5px 20px 14px;font-size:9px;letter-spacing:.1em;color:rgba(223,221,229,.68)}
/* 1366×768 RDP / laptops */
@media(max-width:1440px){
  .frontstage{grid-template-columns:minmax(0,1fr) minmax(405px,455px);gap:33px;padding-inline:clamp(28px,4.4vw,64px)}
  .hero-side{padding-left:clamp(0px,1vw,13px);gap:clamp(22px,5vh,55px)}
  .hero-copy h1{font-size:clamp(50px,4.6vw,66px)}
  .feature-strip{gap:10px}.feature{gap:8px;font-size:11px}.feature-tile{width:38px;height:39px}.feature-divider{height:24px}
  .glass-card{padding:22px 27px 18px}.card-logo{width:75px;height:70px}.card-brand h2{font-size:22px}
  .hero-flow{padding:14px 16px 12px}.flow-stages{margin-top:14px}.flow-caption{margin-top:11px}
}
@media(max-width:1080px) and (min-width:861px){
  .frontstage{grid-template-columns:minmax(0,1fr) minmax(385px,430px);gap:23px;padding-inline:28px}
  .hero-copy h1{font-size:clamp(44px,4.7vw,55px)}.hero-summary{font-size:15px}
  .feature-strip{flex-wrap:wrap}.feature-divider{display:none}.feature{min-width:125px}
  .hero-flow{padding:12px}.flow-heading{flex-wrap:wrap}.flow-eyebrow{display:none}.flow-stage{font-size:11px}.flow-stages{gap:5px}
  .masthead-caption{display:none}
}
/* Tablet & mobile form follows the overview, without fixed-height clipping. */
@media(max-width:860px){
  .masthead{min-height:72px;padding-inline:22px}.masthead-caption{display:none}.masthead-brand img{width:51px;height:50px}
  .frontstage{display:flex;flex-direction:column;align-items:center;gap:27px;padding:31px 25px 23px}
  .hero-side{width:100%;max-width:610px;align-self:center;gap:26px;padding:0}
  .hero-copy h1{font-size:clamp(51px,7.2vw,69px)}.hero-summary{font-size:16px}.feature-strip{flex-wrap:nowrap}
  .hero-flow{width:100%}.form-side{justify-content:center}.glass-card{max-width:520px}
  .cinema-image{background-position:30% center}.cinema-shade{background:linear-gradient(180deg,rgba(7,7,12,.83),rgba(8,7,12,.56) 44%,rgba(7,7,14,.77))}
}
@media(max-width:600px){
  .masthead{min-height:66px;padding:0 14px;gap:8px}.masthead-brand{gap:7px}.masthead-brand img{height:41px;width:42px}.masthead-name{font-size:clamp(12px,3.2vw,16px)}.masthead-name>span{display:none}.masthead-right{gap:6px}
  .secure-badge{min-height:34px;width:34px;padding:0;justify-content:center}.secure-badge span:nth-child(2),.secure-badge .status-signal{display:none}.language-toggle{min-height:34px;padding:0 8px}
  .frontstage{gap:20px;padding:24px 14px 16px}.hero-copy{padding:0 4px}.red-rule{width:107px;margin-bottom:14px}.hero-kicker{font-size:9px;letter-spacing:.11em;margin-bottom:10px}
  .hero-copy h1{font-size:clamp(43px,10.5vw,62px);margin-bottom:14px}.hero-summary{font-size:13px;line-height:1.5}
  .feature-strip{margin-top:19px;gap:8px}.feature{font-size:9px;gap:6px;flex:1}.feature-divider{display:none}.feature-tile{width:30px;height:32px;border-radius:8px}.feature-tile .ico{width:17px;height:17px}
  .hero-side{gap:21px}.hero-flow{padding:13px 12px 11px;border-radius:13px}.flow-heading-left{font-size:8px;letter-spacing:.1em}.flow-eyebrow{display:none}.flow-stages{gap:6px;margin-top:13px}.flow-stage{font-size:10px;gap:5px}.flow-index{font-size:8px}.flow-caption{font-size:9px;line-height:1.4;margin-top:11px}
  .glass-card{border-radius:21px;padding:22px 21px 18px}.card-logo{width:77px;height:70px}.card-brand h2{font-size:clamp(19px,5.4vw,23px)}.secure-title{font-size:16px}.title-rule{width:43px}
  .signin-form{margin-top:18px}.field-frame{height:49px}.form-options{margin:1px 0 12px}.remember-option,.forgot-link{font-size:11px}
  .primary-button{height:52px;font-size:18px}.or-rule{margin:14px 0 12px}.secondary-button{height:42px;font-size:11px}.help-row{font-size:11px}.security-footer{font-size:9px;gap:9px}.security-footer>span{gap:5px}.security-footer>span .ico{width:14px;height:14px}
  .minimal-footer{padding:8px 13px 15px;font-size:8px;line-height:1.7}
}
@media(max-width:360px){.hero-copy h1{font-size:41px}.hero-flow{padding:12px 9px}.flow-stage{font-size:9px}.flow-index{font-size:8px}.feature{font-size:8px}.glass-card{padding-inline:16px}.card-brand h2{font-size:19px}.security-footer{font-size:8px}}
@media(max-height:790px) and (min-width:861px){
  .frontstage{padding-top:12px;padding-bottom:7px}.hero-side{gap:20px;padding-top:6px;padding-bottom:6px}
  .hero-copy h1{font-size:clamp(46px,4.15vw,59px);margin-bottom:13px}.hero-summary{font-size:15px}.feature-strip{margin-top:18px}.hero-flow{padding:11px 14px 10px}.flow-stages{margin-top:10px}.flow-caption{margin-top:9px}
  .glass-card{padding-top:16px;padding-bottom:14px}.card-logo{width:67px;height:63px}.card-brand h2{margin:4px 0 6px;font-size:20px}.secure-title{font-size:16px}.partner-caption{margin-top:5px}
  .signin-form{margin-top:15px}.field-frame{height:45px;margin-bottom:8px}.form-options{min-height:26px;margin:0 0 9px}.primary-button{height:47px;font-size:17px}.or-rule{margin:11px 0}.secondary-button{height:38px}.help-row{min-height:34px}.security-footer{margin-top:2px;padding-top:11px}
}
@media(prefers-reduced-motion:reduce){.flow-pulse,.flow-runner{animation:none!important}}
