:root{color-scheme:dark;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f7edd6;background:#142b20;--cream:#f7e8c5;--ink:#142b20}
*{box-sizing:border-box}body{margin:0;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;background:#142b20 url("/static/warm-florist-workshop.webp") center center/cover fixed no-repeat;isolation:isolate;--credits-background:rgba(12,24,17,.8);--credits-border:transparent;--credits-text:#f1e4ca;--credits-name:#fff0cf;--credits-link:#f1e4ca}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(12,23,15,.12),rgba(8,19,12,.2) 50%,rgba(12,23,15,.12)),linear-gradient(0deg,rgba(8,18,12,.36),transparent 45%)}
.auth-main{flex:1;display:grid;place-items:center;width:100%;padding:clamp(1.25rem,4vh,2.5rem) 1rem}
.auth-main>form{width:min(100%,29rem);min-width:0;display:grid;gap:1.1rem;margin:0;padding:clamp(1.5rem,4vw,2.75rem);border:1px solid #ae9563;border-radius:24px;background:rgba(17,39,27,.94);box-shadow:0 20px 70px #0007,inset 0 0 0 1px #e1bd7520}
@supports(backdrop-filter:blur(18px)){.auth-main>form{background:rgba(15,35,24,.86);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}}
.auth-brand{text-align:center;margin-bottom:.2rem}.botanical-mark{display:block;width:76px;height:51px;margin:0 auto .8rem;color:#e3d4a9}.product-name{margin:0;font:clamp(1.65rem,3vw,2rem)/1.2 Georgia,"Times New Roman",serif;letter-spacing:-.025em;color:var(--cream)}.brand-rule{display:block;width:4rem;height:1px;background:#cfb77a;margin:1.25rem auto}
h1{font:600 clamp(1.9rem,4vw,2.6rem)/1.15 Georgia,"Times New Roman",serif;letter-spacing:-.025em;margin:0;color:var(--cream)}.auth-intro{font:italic 1.1rem/1.5 Georgia,"Times New Roman",serif;margin:.4rem 0 0;color:#e4dcc5}
.auth-fields{display:grid;gap:.5rem;min-width:0}label{font-size:1rem;font-weight:600;line-height:1.5;min-width:0}.auth-fields>label:not(:first-child){margin-top:.7rem}input{width:100%;min-width:0;min-height:52px;padding:.8rem .9rem;border:1px solid #b8b294;border-radius:9px;background:rgba(8,25,17,.78);color:#fff6e5;font:1rem/1.4 system-ui,sans-serif;caret-color:#f7e8c5}input:focus{border-color:#f5deb2;background:#102a1d}input:autofill{box-shadow:0 0 0 50px #142e21 inset;color:#fff6e5}input:-webkit-autofill{-webkit-text-fill-color:#fff6e5;box-shadow:0 0 0 50px #142e21 inset}
.password-field{display:flex;position:relative;min-width:0}.password-field:has(.password-toggle:not([hidden])) input{padding-right:3.5rem}.password-toggle{position:absolute;right:3px;top:3px;bottom:3px;display:grid;place-items:center;width:48px;min-height:46px;padding:0;border:0;background:transparent;color:var(--cream);border-radius:7px}.password-toggle:hover{background:#f5deb215}.password-toggle[aria-pressed=true]{color:#fff;box-shadow:inset 0 -2px #cfb77a}
button{min-height:52px;border:1px solid transparent;border-radius:10px;padding:.85rem 1rem;background:#f2dfb7;color:var(--ink);font:650 1.05rem/1.3 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}button[type=submit]{font-family:Georgia,"Times New Roman",serif;font-size:1.4rem;font-weight:700;box-shadow:0 3px 12px #0002}button:hover{background:#ffeac2}.password-toggle:hover{background:#f5deb215}button:active{transform:translateY(1px)}button:disabled{opacity:.6;cursor:default}.auth-main form>label{display:grid;gap:.4rem}form>p{margin:0;line-height:1.6;color:#e4dcc5}
.err{font-size:.95rem;line-height:1.5;color:#ffe2d9;background:#602d26;border:1px solid #c88670;border-radius:8px;padding:.7rem .85rem;overflow-wrap:anywhere}.err:empty{display:none}[hidden]{display:none!important}:focus-visible{outline:3px solid #f5d494;outline-offset:4px}
.site-credits{border-top:0}.site-credits-inner{flex-direction:column;align-items:center;gap:.2rem;padding-block:.7rem;font-size:.8rem}.site-credit a{margin-left:.3rem}.site-credit strong{font-weight:600}
@media(max-width:520px){body{background-position:46% center;background-attachment:scroll}.auth-main{padding:1.25rem 1rem}.auth-main>form{border-radius:19px;padding:1.65rem 1.4rem;gap:1rem}.botanical-mark{width:62px;height:42px;margin-bottom:.6rem}.brand-rule{margin:1rem auto}.site-credits-inner{font-size:.75rem}.site-credit a{margin-inline:auto}}
@media(max-height:760px) and (min-width:521px){.auth-main{padding:1.25rem 1rem}.auth-main>form{padding:1.75rem 2.25rem;gap:.95rem}.botanical-mark{width:62px;height:42px;margin-bottom:.5rem}.brand-rule{margin:.9rem auto}h1{font-size:2rem}}
@media(prefers-reduced-transparency:reduce){.auth-main>form{background:#142b20;backdrop-filter:none}}
@media(forced-colors:active){body{background:Canvas;color:CanvasText}body::before{display:none}.auth-main>form{background:Canvas;border-color:CanvasText;box-shadow:none}.auth-brand *{color:CanvasText}.brand-rule{background:CanvasText}input,button{border:1px solid ButtonText}.site-credits{background:Canvas}}

/* Backgrounds change; the readable evergreen form stays consistent. */
body[data-login-theme=spring]{background-image:url("/static/login-themes/spring.webp")}
body[data-login-theme=summer]{background-image:url("/static/login-themes/summer.webp")}
body[data-login-theme=autumn]{background-image:url("/static/login-themes/autumn.webp")}
body[data-login-theme=winter]{background-image:url("/static/login-themes/winter.webp")}
body[data-login-theme=valentines]{background-image:url("/static/login-themes/valentines.webp")}
body[data-login-theme=mothers-day]{background-image:url("/static/login-themes/mothers-day.webp")}
body[data-login-theme=thanksgiving]{background-image:url("/static/login-themes/thanksgiving.webp")}
body[data-login-theme=christmas]{background-image:url("/static/login-themes/christmas.webp")}

.theme-preview{display:none;position:absolute;inset:1rem auto auto 1rem;z-index:1;max-width:calc(100% - 2rem);padding:.65rem .85rem;border:1px solid #ae9563;border-radius:9px;background:#142b20;color:#f7e8c5;font:500 .85rem/1.5 system-ui,sans-serif}.theme-preview a{color:inherit;margin-left:.8rem}body[data-theme-preview=true] .theme-preview{display:block}body[data-theme-preview=true] .auth-main{padding-top:5rem}
