:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#112b40;background:#08283d;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:28px 16px;background:radial-gradient(ellipse at 94% 0%,#098e91 0%,transparent 48%),radial-gradient(ellipse at 0% 95%,#087f89 0%,transparent 42%),linear-gradient(145deg,#061a32,#083b50 60%,#061c33);position:relative}body::before,body::after{content:"";position:fixed;pointer-events:none;width:110vw;height:54vh;border:1px solid #55e8dc38;border-radius:50%;transform:rotate(-22deg);background:linear-gradient(150deg,#2bcdb312,transparent);z-index:0}body::before{top:-32vh;right:-34vw}body::after{bottom:-28vh;left:-36vw}.login-card{position:relative;z-index:1;width:min(100%,530px);background:#f9fbfc;border:1px solid #ffffff60;border-radius:24px;box-shadow:0 24px 80px #00132180;overflow:hidden}.brand{padding:23px 26px 17px;text-align:center;background:linear-gradient(155deg,#edf6f7,#e8f4f6 65%,#f3f8fa)}.brand-line{display:flex;align-items:center;justify-content:center;gap:12px}.brand-mark{width:46px;height:46px;flex:none}h1{margin:0;font-size:clamp(30px,6vw,43px);line-height:1.05;letter-spacing:-1px;font-weight:800;color:#09233d}.subtitle{margin:7px 0 9px;font-weight:650;color:#38596b;font-size:17px}.hero{display:block;width:100%;max-width:390px;height:auto;margin:0 auto 12px;border-radius:12px}.features{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;text-align:left}.features>div{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:650;line-height:1.3}.features svg{flex:none;width:28px;height:28px;padding:4px;border-radius:7px;background:#d4efee;fill:none;stroke:#087b7d;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.auth-form{padding:20px 32px 12px}form{display:grid;gap:8px}label{font-size:13px;font-weight:650}input:not([type=checkbox]){width:100%;border:1px solid #c5d2dc;border-radius:10px;background:white;color:#10283c;font:inherit;padding:12px 14px;min-height:46px;margin-bottom:6px}input:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #55c9bd;outline-offset:2px}button{border:0;border-radius:10px;background:linear-gradient(135deg,#078f88,#065568);color:white;font:inherit;font-weight:700;padding:13px;cursor:pointer;min-height:48px}button:hover{background:#075e68}a{color:#086f75;font-weight:650;text-underline-offset:3px}footer{text-align:center;color:#587080;font-size:11px;padding:9px 12px 17px}.notice{padding:11px;border-radius:8px;font-size:13px;margin-bottom:12px;overflow-wrap:anywhere}.error{background:#fee9e7;color:#8b2520}.success{background:#dcf7ed;color:#145d46}@media(max-width:450px){body{padding:14px 10px}.brand{padding:20px 16px 14px}.features{grid-template-columns:repeat(2,1fr);max-width:270px;margin:auto;gap:10px}.auth-form{padding:18px 20px 10px}.hero{max-width:310px}}@media(max-height:760px) and (min-width:451px){body{padding:12px}.brand{padding-top:15px}.hero{max-width:300px}.auth-form{padding-top:15px;padding-bottom:8px}}

/* Compact login layout; allow scrolling on very short screens. */
body{padding:16px 12px}.brand{padding:18px 26px 14px}.hero{max-width:340px;margin-bottom:10px}.auth-form{padding:17px 32px 8px}form{gap:7px}input:not([type=checkbox]){padding:10px 14px;min-height:42px;margin-bottom:4px}button{min-height:44px;padding:11px;margin-top:5px}footer{padding:8px 12px 13px}@media(max-height:760px){.hero{max-width:270px}.brand{padding-top:12px;padding-bottom:10px}.auth-form{padding-top:12px}.brand-mark{width:40px;height:40px}.subtitle{margin:5px 0 6px}}@media(max-width:450px){.brand{padding-left:16px;padding-right:16px}.auth-form{padding-left:20px;padding-right:20px}}
