@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

/* Scoped to the Shield login view so the portal/admin styles are unaffected. */
.auth-lamp-screen{--al-navy:#0c2638;--al-navy-2:#14394d;--al-ink:#142f41;--al-muted:#71818b;--al-red:#ee5036;--al-green:#078d50;--al-gold:#e9b64c;position:fixed;inset:0;z-index:1200;min-height:100vh;min-height:100svh;overflow:auto;background:#091b29;color:#f4f7f8;font-family:'DM Sans',system-ui,sans-serif;isolation:isolate;transition:background .55s ease}
.auth-lamp-screen:before{content:"";position:fixed;inset:0;z-index:-1;background:radial-gradient(ellipse 45% 65% at 31% 41%,rgba(238,80,54,.08),transparent 75%),radial-gradient(ellipse 40% 65% at 87% 90%,rgba(11,133,78,.12),transparent 78%);pointer-events:none;transition:opacity .6s ease}
.auth-lamp-screen[data-lamp="on"]{background:#122638}.auth-lamp-screen[data-lamp="on"]:before{background:radial-gradient(ellipse 47% 72% at 34% 38%,rgba(255,207,111,.2),transparent 73%),radial-gradient(ellipse 42% 65% at 87% 90%,rgba(11,133,78,.13),transparent 78%)}
.auth-layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(390px,.78fr);gap:clamp(44px,8vw,130px);align-items:center;width:min(1160px,calc(100% - 64px));min-height:100vh;min-height:100svh;margin:0 auto;padding:46px 0}
.auth-story{position:relative;display:flex;min-height:min(760px,calc(100svh - 92px));flex-direction:column;justify-content:space-between;padding:5px 0 0}
.auth-brand{display:flex;align-items:center;width:175px;height:74px;text-decoration:none}.auth-brand img{display:block;max-width:100%;max-height:100%;object-fit:contain;object-position:left center}
.story-copy{position:relative;z-index:2;margin-top:27px}.story-kicker,.card-kicker{display:inline-flex;align-items:center;gap:9px;font-size:11px;font-weight:800;letter-spacing:.16em;color:#ff9a7b}.story-kicker i{font-size:13px}.story-copy h1{margin:19px 0 17px;font:800 clamp(42px,5.3vw,68px)/1.04 Manrope,'DM Sans',sans-serif;letter-spacing:-.065em;color:#f6f7f4}.story-copy h1 em{font-style:normal;color:#ff7659}.story-copy p{max-width:450px;margin:0;color:#b5c1c8;font-size:17px;line-height:1.72}
.lamp-scene{position:relative;height:360px;max-width:580px;margin:18px 0 8px;display:grid;place-items:center;isolation:isolate}.lamp-glow{position:absolute;top:3%;left:18%;width:65%;height:73%;border-radius:50%;background:radial-gradient(ellipse,rgba(255,199,104,.28),rgba(255,199,104,.09) 37%,transparent 71%);filter:blur(16px);opacity:.14;transform:scale(.86);transition:opacity .55s ease,transform .7s ease}.auth-lamp-screen[data-lamp="on"] .lamp-glow{opacity:1;transform:scale(1.12)}
.desk-lamp{position:relative;z-index:1;width:min(370px,70%);height:100%;overflow:visible;filter:drop-shadow(0 18px 25px rgba(0,0,0,.18))}.lamp-ground{fill:rgba(0,0,0,.25)}.lamp-arm,.lamp-stem,.lamp-neck{fill:none;stroke:#71808a;stroke-width:12;stroke-linecap:round;stroke-linejoin:round}.lamp-neck{stroke-width:9;stroke:#92a0a4}.lamp-joint{fill:#243a48;stroke:#a6b3b5;stroke-width:4}.lamp-shade{fill:#d9e0db;stroke:#eff2eb;stroke-width:4;transition:fill .5s ease,filter .5s ease}.lamp-shade-edge{stroke:#9aa8a5;stroke-width:5;stroke-linecap:round}.lamp-foot{fill:#3c515b;stroke:#829197;stroke-width:3}.lamp-cord{position:absolute;z-index:3;top:58%;left:calc(50% + 75px);width:48px;height:68px;padding:0;border:0;background:transparent;cursor:grab;touch-action:manipulation}.lamp-cord span{position:absolute;left:50%;bottom:6px;width:15px;height:15px;border-radius:50%;background:#e7b550;box-shadow:0 0 0 5px rgba(231,181,80,.14);transform:translateX(-50%);transition:transform .2s ease,box-shadow .3s ease}.lamp-cord:before{content:"";position:absolute;left:50%;top:0;width:2px;height:52px;background:#aab4b1;transform:translateX(-50%)}.lamp-cord:hover span,.lamp-cord:focus-visible span{transform:translate(-50%,5px);box-shadow:0 0 0 8px rgba(231,181,80,.2)}.lamp-cord:focus-visible{outline:2px solid #ffd67f;outline-offset:2px;border-radius:18px}.lamp-highlight{fill:none;stroke:rgba(255,255,255,.7);stroke-width:4;stroke-linecap:round}.auth-lamp-screen[data-lamp="on"] .lamp-shade{fill:#fff2c9;filter:drop-shadow(0 0 23px rgba(255,218,132,.82))}.auth-lamp-screen[data-lamp="on"] .lamp-arm{stroke:#9aa9ab}.desk-line{position:absolute;z-index:-1;bottom:32px;left:8%;width:80%;height:1px;background:linear-gradient(90deg,transparent,rgba(187,205,206,.44),transparent)}
.scene-caption{position:absolute;right:2%;bottom:20px;display:flex;align-items:center;gap:10px;padding:11px 15px;border:1px solid rgba(218,230,228,.13);border-radius:13px;background:rgba(17,39,53,.8);box-shadow:0 10px 28px rgba(0,0,0,.12);backdrop-filter:blur(8px)}.scene-caption>span:last-child{display:grid;gap:2px}.scene-caption b{font:700 12px Manrope,sans-serif;color:#f1f4ef}.scene-caption small{font-size:10px;color:#9eafb5}.caption-dot{width:9px;height:9px;border-radius:50%;background:#13a864;box-shadow:0 0 0 5px rgba(19,168,100,.12)}
.story-foot{display:flex;justify-content:space-between;gap:15px;color:#8699a2;font-size:11px;letter-spacing:.02em}.story-foot span:first-child{display:inline-flex;align-items:center;gap:7px}.story-foot i{color:#8ec9a6}
.auth-panel{position:relative;z-index:2}.auth-card{width:100%;padding:clamp(28px,4vw,47px);border:1px solid rgba(255,255,255,.75);border-radius:23px;background:#fff;color:var(--al-ink);box-shadow:0 32px 85px rgba(0,0,0,.26);animation:auth-enter .65s cubic-bezier(.2,.8,.2,1) both}.mobile-brand{display:none}.card-kicker{font-size:10px;letter-spacing:.18em;color:#c44c35}.auth-card h2{margin:11px 0 6px;font:800 31px/1.15 Manrope,sans-serif;letter-spacing:-.04em;color:#122f43}.card-intro{margin:0 0 26px;color:#71818b;font-size:14px}
.auth-alert{display:flex;align-items:flex-start;gap:10px;margin:0 0 17px;padding:12px 13px;border:1px solid;border-radius:10px;font-size:13px;line-height:1.5}.auth-alert i{padding-top:2px}.auth-alert.error{border-color:#f3cac3;background:#fff3f0;color:#983a2b}.auth-alert.success{border-color:#c6e6d2;background:#edf8f1;color:#17683d}
.signin-form label{display:block;margin:0 0 7px;color:#294354;font-size:13px;font-weight:700}.input-wrap{position:relative;display:flex;align-items:center;margin-bottom:19px}.input-wrap>i:first-child{position:absolute;left:15px;color:#84949c;font-size:15px;pointer-events:none}.input-wrap input{width:100%;height:53px;margin:0;padding:0 47px 0 43px;border:1px solid #d9e2e4;border-radius:10px;background:#fbfcfb;color:#173449;font:500 15px 'DM Sans',sans-serif;outline:none;transition:border-color .2s,box-shadow .2s,background .2s}.input-wrap input::placeholder{color:#a2afb4}.input-wrap input:focus{border-color:#218859;background:#fff;box-shadow:0 0 0 4px rgba(33,136,89,.12)}.password-heading{display:flex;justify-content:space-between;align-items:center;margin-top:4px}.password-heading a,.register-note a{color:#187e4d;font-size:12px;font-weight:700;text-decoration:none}.password-heading a:hover,.register-note a:hover{text-decoration:underline;text-underline-offset:3px}.password-toggle{position:absolute;right:8px;top:50%;display:grid;place-items:center;width:38px;height:38px;transform:translateY(-50%);border:0;border-radius:8px;background:transparent;color:#71818b}.password-toggle:hover{background:#edf4ef;color:#17683d}.password-toggle:focus-visible{outline:2px solid #218859;outline-offset:1px}
.remember-row{display:flex!important;align-items:center;gap:9px;margin:-1px 0 20px!important;color:#586e79!important;font-size:13px!important;font-weight:500!important;cursor:pointer}.remember-row input{width:17px;height:17px;margin:0;accent-color:#18864f}.signin-button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:53px;padding:0 18px;border:0;border-radius:10px;background:#ed5036;color:white;font-size:15px;font-weight:750;cursor:pointer;box-shadow:0 8px 17px rgba(237,80,54,.19);transition:transform .18s ease,background .18s ease,box-shadow .18s ease}.signin-button:hover{transform:translateY(-1px);background:#d9442d;box-shadow:0 11px 22px rgba(237,80,54,.24)}.signin-button:focus-visible{outline:3px solid rgba(237,80,54,.32);outline-offset:3px}.signin-button i{font-size:14px}.register-note{margin:19px 0 0;text-align:center;color:#71818b;font-size:13px}.card-security{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:25px;padding-top:17px;border-top:1px solid #edf0ef;color:#819098;font-size:11px}.card-security i{color:#178450}.back-home{display:table;margin:17px auto 0;color:#a9b8bd;font-size:12px;text-decoration:none}.back-home:hover{color:white}.back-home i{margin-right:6px}
.auth-orbit{position:fixed;z-index:-1;border:1px solid rgba(194,219,215,.06);border-radius:50%;pointer-events:none}.orbit-one{width:490px;height:490px;left:-250px;top:-220px}.orbit-two{width:620px;height:620px;right:-360px;bottom:-385px;box-shadow:0 0 0 26px rgba(194,219,215,.018),0 0 0 54px rgba(194,219,215,.013)}
@keyframes auth-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:930px){.auth-layout{grid-template-columns:minmax(0,1fr) minmax(350px,.82fr);gap:38px;width:calc(100% - 44px)}.story-copy h1{font-size:clamp(40px,6vw,58px)}.lamp-scene{height:300px}.scene-caption{right:0;bottom:9px}.auth-card{padding:31px}}
@media(max-width:700px){.auth-layout{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:20px;width:min(100% - 28px,470px);min-height:100svh;padding:16px 0 24px}.auth-story{display:grid;grid-template-columns:minmax(0,1fr) 84px;grid-template-rows:auto auto;align-items:center;gap:6px 0;min-height:unset;padding:0}.auth-brand{grid-column:1;grid-row:1;width:138px;height:52px}.story-copy{grid-column:1;grid-row:2;margin:5px 0 0}.story-kicker{font-size:9px}.story-copy h1{font-size:clamp(29px,8vw,39px);line-height:1.04;margin:8px 0}.story-copy h1 br{display:none}.story-copy p{max-width:36ch;font-size:13px;line-height:1.5}.lamp-scene{grid-column:2;grid-row:1/3;width:100%;height:142px;margin:0;overflow:visible}.desk-lamp{width:100%;height:145px}.lamp-cord{top:55%;left:calc(50% + 9px);width:42px;height:50px}.lamp-cord:before{height:35px}.lamp-cord span{width:12px;height:12px;bottom:5px}.lamp-ground{display:none}.desk-line{bottom:9px;left:4%;width:90%}.scene-caption{right:-2px;bottom:-18px;gap:7px;padding:7px 9px;border-radius:9px}.scene-caption b{font-size:9px}.scene-caption small{font-size:8px}.caption-dot{width:7px;height:7px}.story-foot{display:none}.auth-panel{margin-top:3px}.auth-card{padding:25px 22px 21px;border-radius:18px;box-shadow:0 20px 50px rgba(0,0,0,.22)}.mobile-brand{display:none}.auth-card h2{font-size:27px}.card-intro{margin-bottom:21px;font-size:13px}.input-wrap{margin-bottom:16px}.input-wrap input{height:51px;font-size:16px}.signin-button{min-height:51px}.card-security{margin-top:19px}.back-home{margin-top:12px}.orbit-one{width:280px;height:280px;left:-210px;top:-170px}.orbit-two{width:350px;height:350px;right:-245px;bottom:-230px}}
@media(max-width:360px){.auth-layout{width:calc(100% - 22px);padding-top:11px}.auth-story{grid-template-columns:minmax(0,1fr) 68px}.lamp-scene{height:127px}.desk-lamp{height:132px}.story-copy h1{font-size:29px}.story-copy p{font-size:12px}.auth-card{padding:22px 18px}.auth-card h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){.auth-lamp-screen,.auth-lamp-screen *{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Cord-pull interaction: the form fades in only after the lamp is switched on. */
.lamp-prompt{margin-top:13px!important;color:#f0c76e!important;font-size:13px!important;font-weight:700;letter-spacing:.015em;transition:color .35s ease,opacity .35s ease}
.lamp-scene .cord-line,.lamp-scene .cord-end{display:none}
.lamp-cord{top:40%;height:88px;touch-action:none;transform:translateY(var(--cord-pull,0px));transition:transform .48s cubic-bezier(.18,.82,.24,1),filter .25s ease;cursor:grab}
.lamp-cord:before{height:74px;transition:height .15s ease}.lamp-cord span{transition:transform .15s ease,box-shadow .3s ease}.lamp-cord.is-pulling{transition:none;cursor:grabbing}.lamp-cord.is-pulling span{transform:translateX(-50%) scale(1.08);box-shadow:0 0 0 8px rgba(231,181,80,.22)}
.auth-panel{opacity:1;transform:translateY(0) scale(1);filter:blur(0);transition:opacity .72s cubic-bezier(.2,.7,.2,1),transform .72s cubic-bezier(.2,.7,.2,1),filter .72s ease}.auth-panel[hidden]{display:none!important}.auth-panel.is-entering{opacity:0;transform:translateY(30px) scale(.975);filter:blur(10px);pointer-events:none}
.auth-lamp-screen[data-lamp="on"] .lamp-prompt{color:#b6e1c3!important}
@media(max-width:700px){
  .auth-layout{min-height:calc(100svh - 40px);justify-content:center;gap:0}
  .auth-story{display:flex;min-height:calc(100svh - 40px);flex-direction:column;justify-content:space-between;gap:13px;padding:0;transition:min-height .55s ease}
  .auth-brand{width:138px;height:52px;flex:none}
  .story-copy{margin:0;flex:none}
  .story-copy h1{font-size:clamp(31px,9vw,43px);line-height:1.04;margin:10px 0 9px}
  .story-copy h1 br{display:none}
  .story-copy p{max-width:38ch;font-size:14px;line-height:1.5}
  .lamp-prompt{margin-top:10px!important;font-size:12px!important;line-height:1.35}
  .lamp-scene{flex:none;width:100%;height:290px;min-height:290px;max-width:none;margin:0 auto;overflow:visible;transition:height .55s cubic-bezier(.2,.7,.2,1),min-height .55s cubic-bezier(.2,.7,.2,1)}
  .desk-lamp{width:min(250px,72vw);height:250px;transition:width .55s cubic-bezier(.2,.7,.2,1),height .55s cubic-bezier(.2,.7,.2,1)}
  .lamp-glow{left:15%;top:0;width:70%;height:78%}
  .lamp-cord{top:42%;left:calc(50% + 40px);width:48px;height:72px}
  .lamp-cord:before{height:54px}
  .lamp-cord span{width:15px;height:15px;bottom:6px}
  .lamp-cord:hover span,.lamp-cord:focus-visible span{transform:translate(-50%,3px);box-shadow:0 0 0 7px rgba(231,181,80,.2)}
  .lamp-ground{display:block}
  .desk-line{bottom:18px;left:7%;width:86%}
  .scene-caption{left:50%;right:auto;bottom:0;transform:translateX(-50%);gap:8px;padding:8px 12px;border-radius:11px;white-space:nowrap}
  .scene-caption b{font-size:10px}.scene-caption small{font-size:9px}
  .story-foot{display:none}
  .auth-panel{margin:4px 0 0}
  .auth-card{padding:25px 22px 21px;border-radius:18px;box-shadow:0 20px 50px rgba(0,0,0,.22)}
  .mobile-brand{display:none}.auth-card h2{font-size:27px}.card-intro{margin-bottom:21px;font-size:13px}.input-wrap{margin-bottom:16px}.input-wrap input{height:51px;font-size:16px}.signin-button{min-height:51px}.card-security{margin-top:19px}.back-home{margin-top:12px}
  .auth-lamp-screen[data-lamp="on"] .auth-layout{justify-content:flex-start}
  .auth-lamp-screen[data-lamp="on"] .auth-story{min-height:unset;justify-content:flex-start;gap:8px}
  .auth-lamp-screen[data-lamp="on"] .lamp-scene{height:180px;min-height:180px}
  .auth-lamp-screen[data-lamp="on"] .desk-lamp{width:180px;height:180px}
  .auth-lamp-screen[data-lamp="on"] .lamp-cord{top:40%;left:calc(50% + 29px);height:54px;width:44px}
  .auth-lamp-screen[data-lamp="on"] .lamp-cord:before{height:44px}
  .auth-lamp-screen[data-lamp="on"] .lamp-cord span{width:13px;height:13px;bottom:5px}
  .orbit-one{width:280px;height:280px;left:-210px;top:-170px}.orbit-two{width:350px;height:350px;right:-245px;bottom:-230px}
}
@media(max-width:360px){.auth-layout{width:calc(100% - 22px);padding-top:11px}.story-copy h1{font-size:31px}.story-copy p{font-size:13px}.auth-card{padding:22px 18px}.auth-card h2{font-size:25px}.lamp-scene{height:270px;min-height:270px}.auth-lamp-screen[data-lamp="on"] .lamp-scene{height:170px;min-height:170px}.desk-lamp{width:220px;height:230px}.auth-lamp-screen[data-lamp="on"] .desk-lamp{width:165px;height:165px}}
@media(prefers-reduced-motion:reduce){.auth-panel,.lamp-scene,.desk-lamp,.auth-story{transition:none}}
