:root {color-scheme: light; font-family: "Segoe UI", Arial, sans-serif; color: #18392d; background: #0f2e24;}
*, *::before, *::after {box-sizing: border-box;}
body { margin:0; min-height:100vh; min-height:100svh; display:grid; place-items:center; padding:24px; background:radial-gradient(ellipse at 22% 12%, #244436, #102c23 66%); }
main {width:min(100%,420px); background:#faf8ef; padding:clamp(25px,6vw,48px); border-top:3px solid #c6ab78; box-shadow:0 22px 50px #07150d50;}
a {color:inherit; text-decoration:none;}
.brand {display:block; font:400 25px/1 Georgia,serif; letter-spacing:.14em;}
.brand small {display:block; margin:6px 0 0 2px; font:10px/1 "Segoe UI",sans-serif; letter-spacing:.28em;}
.rule {height:1px;background:#d5cbb5;margin:24px 0 30px;}
h1 {margin:0 0 23px; font:400 clamp(32px,8vw,44px)/1 Georgia,serif; letter-spacing:-.06em;}
label {display:block; margin-bottom:7px; font-size:14px;}
input,button {width:100%; min-height:45px; padding:10px 12px; font:inherit;}
input {background:#fffef9;border:1px solid #a7b1a1;color:#163325;border-radius:0;}
button {border:0;background:#163b2d;color:#fffdf5;cursor:pointer;margin-top:14px;display:flex;align-items:center;justify-content:space-between;}
button:disabled {opacity:.65;}
#error { color:#883528; margin:8px 0; font-size:13px; }
#error:empty { display:none; }
.back { display:inline-flex; margin-top:20px; font-size:13px; text-decoration: underline; text-underline-offset:3px; }
:focus-visible {outline:2px solid #94753f;outline-offset:3px;}
