:root { color-scheme: dark; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; color: #f5fbf8; background: radial-gradient(circle at 50% -20%, #194c38 0, #0a2118 35%, #050b08 75%); }
.shell { min-height: 100svh; display: grid; place-items: center; padding: calc(26px + env(safe-area-inset-top)) 18px calc(26px + env(safe-area-inset-bottom)); }
.card { width: min(100%, 460px); padding: 34px 26px 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; background: rgba(12,24,19,.82); box-shadow: 0 30px 90px rgba(0,0,0,.5); backdrop-filter: blur(24px); }
.brand { width: 72px; height: 72px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 22px; color: #04130d; background: linear-gradient(145deg,#7cf4b4,#21d779); box-shadow: 0 14px 40px rgba(33,215,121,.25); font-size: 25px; }
.brand span { transform: translateX(2px); }
.eyebrow { margin: 0 0 10px; color: #61d99e; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
h1 { margin: 0; text-align: center; font-size: clamp(38px, 10vw, 54px); letter-spacing: -.055em; line-height: 1; }
.subtitle { max-width: 330px; margin: 15px auto 28px; color: #9fb0a8; text-align: center; line-height: 1.5; }
label { display: block; margin: 0 0 8px 3px; color: #c7d3cd; font-size: 13px; font-weight: 650; }
input { width: 100%; min-height: 56px; padding: 0 16px; border: 1px solid #31463c; border-radius: 15px; outline: none; color: #fff; background: #0a1510; font: inherit; }
input:focus { border-color: #4ce897; box-shadow: 0 0 0 4px rgba(76,232,151,.12); }
button { width: 100%; min-height: 56px; border: 0; border-radius: 15px; cursor: pointer; font: inherit; font-weight: 800; }
form button { position: relative; margin-top: 12px; color: #04130d; background: linear-gradient(135deg,#82f4b8,#31df86); }
button:disabled { cursor: wait; opacity: .72; }
.install { margin-top: 12px; border: 1px solid #31463c; color: #dff8eb; background: transparent; }
.notice { margin: 20px 10px 0; color: #72847b; text-align: center; font-size: 11px; line-height: 1.45; }
.error { margin-bottom: 16px; padding: 12px 14px; border: 1px solid #8c3d4b; border-radius: 12px; color: #ffd8df; background: rgba(105,25,40,.35); font-size: 13px; line-height: 1.4; }
.spinner { display: none; width: 19px; height: 19px; margin: auto; border: 2px solid rgba(0,0,0,.25); border-top-color: #04130d; border-radius: 50%; animation: spin .8s linear infinite; }
.loading .button-label { display: none; }
.loading .spinner { display: block; }
dialog { width: min(calc(100% - 36px),420px); padding: 28px; border: 1px solid #31463c; border-radius: 22px; color: #effaf4; background: #0c1813; }
dialog::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(5px); }
dialog h2 { margin: 5px 0 18px; }
dialog ol { margin: 0; padding-left: 22px; color: #b6c7be; line-height: 1.9; }
.close { float: right; width: 38px; min-height: 38px; color: #fff; background: #1d3027; font-size: 25px; }
@keyframes spin { to { transform: rotate(360deg); } }

