/* ASU UMIS / Edge-to-edge, responsive login. No libraries, no web fonts. */
:root{
  color-scheme:light;
  --forest:#083f34;
  --forest-dark:#042e27;
  --forest-light:#0d6250;
  --gold:#e6bf72;
  --text:#142c25;
  --muted:#798880;
  --line:#d9e5df;
  --white:#fff;
  --bg:#fbfcfb;
}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;-webkit-text-size-adjust:100%}
body{font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;color:var(--text);background:var(--bg)}
button,input,select{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
[hidden]{display:none!important}
.page-shell{width:100%;height:100vh;height:100dvh;overflow:hidden}
.login-layout{display:grid;grid-template-columns:minmax(0,44%) minmax(0,56%);width:100%;height:100%;min-height:0;overflow:hidden}
/* Visual identity side */
.story-panel{min-width:0;height:100%;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(149deg,#0c5748 0%,#073e33 52%,#042b24 100%);color:white;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(25px,3.4vw,56px)}
.story-panel:before{content:"";position:absolute;z-index:-1;inset:0;opacity:.27;background-image:linear-gradient(90deg,transparent 96%,rgba(255,255,255,.1) 100%),linear-gradient(0deg,transparent 96%,rgba(255,255,255,.09) 100%);background-size:72px 72px;mask-image:linear-gradient(95deg,transparent,#000);pointer-events:none}
.story-panel:after{content:"";position:absolute;z-index:-1;width:min(74vw,790px);aspect-ratio:1;border:1px solid rgba(255,255,255,.105);border-radius:50%;right:-35%;top:17%;box-shadow:0 0 0 72px rgba(255,255,255,.025),0 0 0 150px rgba(255,255,255,.023),0 0 0 260px rgba(255,255,255,.018);pointer-events:none}
.brand-lockup{display:flex;align-items:center;gap:14px;min-width:0}
.brand-symbol{width:50px;height:50px;min-width:50px;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.17);color:#ffdb94;font-weight:850;font-size:15px;letter-spacing:-.7px}
.brand-symbol img{width:84%;height:84%;object-fit:contain}
.brand-copy{display:grid;gap:4px;min-width:0}
.brand-copy strong{font-size:clamp(11px,1vw,14px);letter-spacing:1.2px;line-height:1.3;white-space:normal;font-weight:780}
.brand-copy small{font-size:clamp(10px,.9vw,12px);font-weight:450;color:rgba(255,255,255,.69);line-height:1.4}
.story-center{position:relative;display:flex;flex:1;align-items:center;min-height:0}
.story-text{position:relative;z-index:1}
.story-tag{display:block;margin-bottom:clamp(14px,3vh,30px);font-size:11px;letter-spacing:2.8px;font-weight:700;color:#eecb88}
.story-text h1{font-size:clamp(38px,4.8vw,82px);font-weight:730;letter-spacing:-.055em;line-height:1.12;margin:0}
.gold-dot{color:var(--gold)}
.graphic-mark{position:absolute;width:min(34vw,420px);height:min(34vw,420px);right:-25%;bottom:-12%;opacity:.46;transform:rotate(22deg);pointer-events:none}
.graphic-mark span{position:absolute;display:block;border:1px solid rgba(255,255,255,.19);border-radius:26%}
.graphic-mark span:nth-child(1){inset:0}
.graphic-mark span:nth-child(2){inset:20%}
.graphic-mark span:nth-child(3){inset:40%;background:rgba(255,255,255,.05)}
.story-bottom{display:flex;align-items:center;gap:13px;font-size:11px;letter-spacing:.2px;color:rgba(255,255,255,.55);white-space:nowrap}
.story-divider{width:1px;height:13px;background:rgba(255,255,255,.33)}
/* Content side */
.signin-panel{height:100%;min-height:0;min-width:0;position:relative;display:flex;flex-direction:column;padding:clamp(22px,3.5vw,55px) clamp(25px,5vw,80px) clamp(18px,2.5vw,36px);background:var(--bg)}
.signin-top{height:42px;min-height:42px;display:flex;align-items:center;justify-content:flex-end}
.security-note{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:650;color:#648276;white-space:nowrap}
.security-dot{width:7px;height:7px;background:#198a66;border-radius:50%;box-shadow:0 0 0 4px #dff1e8}
.form-holder{width:100%;max-width:410px;margin:auto;min-height:0;flex-shrink:1}
.form-heading{margin-bottom:clamp(18px,3vh,30px)}
.overline{font-size:11px;letter-spacing:2.5px;font-weight:800;color:#148266}
.form-heading h2{font-size:clamp(27px,3vw,39px);line-height:1.15;letter-spacing:-1.5px;font-weight:740;margin:12px 0 8px;color:#15352b}
.form-heading p{font-size:14px;line-height:1.4;margin:0;color:var(--muted)}
.auth-form{display:flex;flex-direction:column;gap:clamp(13px,2.4vh,21px)}
.field-group{min-width:0}
.field-group label{display:block;font-size:12px;font-weight:700;color:#345349;margin-bottom:8px}
.select-wrap,.input-wrap{width:100%;height:clamp(45px,6.4vh,56px);min-height:44px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;position:relative;transition:border-color .18s,box-shadow .18s}
.select-wrap:hover,.input-wrap:hover{border-color:#a6c9b9}
.select-wrap:focus-within,.input-wrap:focus-within{border-color:#0e8b69;box-shadow:0 0 0 4px rgba(14,139,105,.11)}
select,.input-wrap input{min-width:0;width:100%;height:100%;border:none;outline:none!important;background:transparent;color:var(--text);font-size:13px;font-weight:530}
select{appearance:none;padding:0 42px 0 16px;cursor:pointer}
select:invalid{color:#8d9b94}
select option{color:#152e26}
.chevron{position:absolute;right:14px;pointer-events:none;color:#6b8175}
.input-wrap input{padding:0 12px 0 0}
.input-wrap input::placeholder{color:#9aa9a1;font-weight:400}
.field-icon{margin:0 13px 0 16px;flex:none;color:#749487}
.password-toggle{border:0;background:transparent;color:#0b775a;font-size:12px;font-weight:780;padding:11px 14px;border-radius:8px;flex:none;margin-right:3px}
.password-toggle:hover{background:#eaf7f0}
.primary-button{height:clamp(46px,6.8vh,56px);min-height:45px;border:1px solid #096247;background:#096047;color:#fff;border-radius:12px;font-size:14px;font-weight:740;display:flex;align-items:center;justify-content:center;gap:13px;margin-top:4px;box-shadow:0 6px 18px rgba(3,74,53,.13);transition:background .17s,transform .17s,box-shadow .17s}
.primary-button:hover{background:#084b39;box-shadow:0 8px 22px rgba(3,74,53,.18);transform:translateY(-1px)}
.primary-button:active{transform:translateY(0)}
.primary-button.is-loading{opacity:.75;pointer-events:none;transform:none;box-shadow:none}
.button-arrow{transition:transform .17s}
.primary-button:hover .button-arrow{transform:translateX(3px)}
.support-line{font-size:12px;text-align:center;margin:clamp(17px,3vh,28px) 0 0;color:#8b9a92}
.support-line span{font-weight:740;color:#177054}
.signin-footer{text-align:center;color:#99a9a0;font-size:11px;line-height:1.3;margin-top:20px;min-height:14px}
.account-pill{display:flex;align-items:center;gap:11px;background:#eef5f0;border:1px solid #d9e8dd;border-radius:12px;padding:9px 12px;margin:-4px 0 clamp(13px,2.5vh,22px);min-width:0}
.account-avatar{display:grid;place-items:center;flex:none;background:#d8ecdd;color:#0b6c4d;width:36px;height:36px;border-radius:10px;font-size:16px;font-weight:800}
.account-detail{display:grid;min-width:0;flex:1;gap:3px}
.account-detail strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-detail small{font-size:11px;color:#738b7d}
.change-account{color:#117858;font-size:12px;font-weight:740;white-space:nowrap}
.change-account:hover{text-decoration:underline}
.alert-error{display:flex;gap:10px;align-items:center;border:1px solid #f0d4ca;background:#fff3ef;color:#99523d;border-radius:10px;padding:10px 12px;font-size:12px;line-height:1.35;margin:0 0 14px;max-height:88px;overflow:auto}
.alert-icon{display:grid;place-items:center;width:18px;height:18px;min-width:18px;background:#c47059;color:#fff;border-radius:50%;font-weight:800;font-size:12px}
.caps-warning{font-size:11px;font-weight:650;color:#a36c28;margin:6px 0 0}
.mobile-brand{display:none}
/* Tablets: keep a two-column full-window treatment while giving the form space. */
@media(max-width:1060px) and (min-width:741px){
 .login-layout{grid-template-columns:minmax(0,39%) minmax(0,61%)}
 .story-panel{padding:clamp(23px,3vw,38px)}
 .signin-panel{padding-inline:clamp(28px,5vw,50px)}
 .story-text h1{font-size:clamp(34px,4.6vw,52px)}
 .brand-copy strong{letter-spacing:.7px}
}
/* Phones and smaller tablets: keep the entire login in the viewport. */
@media(max-width:740px){
 .login-layout{display:block}
 .story-panel{display:none}
 .signin-panel{width:100%;padding:clamp(13px,3vh,28px) clamp(20px,6vw,42px) clamp(12px,2.6vh,24px)}
 .signin-top{justify-content:space-between;height:auto;min-height:44px;max-width:410px;width:100%;margin:0 auto}
 .mobile-brand{display:block;min-width:0;max-width:75%}
 .mobile-brand .brand-symbol{height:37px;width:37px;min-width:37px;background:#0b604b;color:#ffdfa7;border:0;border-radius:10px;font-size:11px}
 .mobile-brand .brand-copy strong{font-size:10px;letter-spacing:.5px;color:#1a3f32}
 .mobile-brand .brand-copy small{font-size:9px;color:#75877b}
 .mobile-brand .brand-lockup{gap:10px}
 .security-note{font-size:10px}
 .form-heading h2{font-size:clamp(28px,7vw,34px)}
 .form-holder{max-width:410px}
 .signin-footer{width:100%;max-width:410px;margin:8px auto 0}
}
/* Landscape phones, small tablets, or short browser windows. */
@media(max-height:520px){
 .story-panel{display:none}
 .login-layout{display:block}
 .signin-panel{width:100%;padding:10px clamp(18px,5vw,45px)}
 .signin-top{height:35px;min-height:35px;width:100%;max-width:450px;margin:0 auto;justify-content:space-between}
 .mobile-brand{display:block}
 .mobile-brand .brand-symbol{height:32px;width:32px;min-width:32px;background:#0b604b;border:0;border-radius:8px;font-size:10px}
 .mobile-brand .brand-copy strong{color:#1a3f32;font-size:9px;letter-spacing:.35px}
 .mobile-brand .brand-copy small{color:#75877b;font-size:8px}
 .mobile-brand .brand-lockup{gap:9px}
 .form-holder{max-width:450px}
 .form-heading{margin-bottom:11px}
 .overline{font-size:9px;letter-spacing:1.8px}
 .form-heading h2{font-size:25px;margin:4px 0 1px}
 .form-heading p{font-size:11px}
 .auth-form{gap:9px}
 .field-group label{margin-bottom:4px;font-size:11px}
 .select-wrap,.input-wrap{height:41px;min-height:39px;border-radius:9px}
 select,.input-wrap input{font-size:12px}
 .primary-button{height:42px;min-height:40px;margin-top:0;border-radius:9px}
 .support-line{font-size:10px;margin:9px 0 0}
 .signin-footer{display:none}
 .account-pill{padding:5px 9px;margin:-1px 0 9px;border-radius:9px}
 .account-avatar{width:29px;height:29px;border-radius:8px}
 .account-detail strong{font-size:11px}
 .account-detail small{font-size:9px}
 .alert-error{max-height:48px;margin-bottom:6px;padding:5px 9px;font-size:10px}
}
@media(max-height:375px){
 .signin-top{min-height:29px;height:29px}
 .mobile-brand .brand-copy small{display:none}
 .form-heading{margin-bottom:6px}
 .form-heading h2{font-size:21px;margin:1px 0}
 .form-heading p{font-size:10px}
 .auth-form{gap:7px}
 .select-wrap,.input-wrap{height:36px;min-height:35px}
 .primary-button{height:37px;min-height:36px}
 .support-line{margin-top:5px}
 .security-note{font-size:9px}
 .account-pill{margin:0 0 5px}
}
@media(max-width:350px){
 .signin-panel{padding-inline:15px}
 .mobile-brand .brand-copy small{display:none}
 .security-note{font-size:9px}
 .brand-copy strong{font-size:9px!important}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
