:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body.scantoscene-login, body.scantoscene-admin { background: #101b1b; color: #f7f8f4; }
.scene { position: fixed; inset: 0; background: linear-gradient(90deg, rgba(9,22,21,.38), rgba(9,22,21,.78) 58%, #101b1b), url("assets/splash-models/dagyenice.png") center/cover no-repeat; filter: saturate(.7); }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #101b1b 0%, transparent 38%, rgba(16,27,27,.3) 100%); }
.layout { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 480px); }
.story { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 5vw, 72px); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; color: #f7f8f4; text-decoration: none; font-size: 19px; letter-spacing: -.04em; font-weight: 750; }
.mark { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid rgba(187,228,177,.55); border-radius: 12px; color: #b9dda6; background: rgba(185,221,166,.09); font-size: 22px; font-weight: 600; transform: rotate(-8deg); }
.story-copy { max-width: 570px; padding-bottom: 24px; }
.eyebrow, .card-kicker { margin: 0 0 16px; color: #b9dda6; font-size: 11px; font-weight: 750; letter-spacing: .22em; text-transform: uppercase; }
.story h1 { margin: 0; font-size: clamp(36px, 5vw, 68px); line-height: 1.07; letter-spacing: -.065em; font-weight: 650; }
.story-copy p:last-child { max-width: 410px; margin: 20px 0 0; color: #c6d0c8; font-size: 15px; line-height: 1.65; }
.side { display: flex; align-items: center; justify-content: center; padding: 28px; background: rgba(16,27,27,.91); border-left: 1px solid rgba(228,244,222,.1); }
.card { width: 100%; max-width: 350px; }
.card-kicker { margin-bottom: 13px; }
.card h2 { margin: 0 0 10px; font-size: 32px; letter-spacing: -.05em; font-weight: 650; }
.card-intro { margin: 0 0 35px; color: #aebdb5; font-size: 14px; line-height: 1.55; }
.card label, .admin-form label { display: block; margin: 0 0 9px; color: #e3eae3; font-size: 13px; font-weight: 550; }
.card input, .admin-form input { width: 100%; height: 50px; padding: 0 15px; border: 1px solid #3c5049; border-radius: 11px; outline: none; background: #162624; color: #fff; font: inherit; font-size: 14px; }
.card input::placeholder, .admin-form input::placeholder { color: #7f9789; }
.card input:focus, .admin-form input:focus { border-color: #b9dda6; box-shadow: 0 0 0 3px rgba(185,221,166,.13); }
.field { margin-bottom: 20px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 75px; }
.show-password { position: absolute; top: 6px; right: 6px; bottom: 6px; padding: 0 12px; border: 0; background: transparent; color: #b9dda6; font: inherit; font-size: 12px; cursor: pointer; }
.submit { width: 100%; height: 51px; margin-top: 9px; border: 0; border-radius: 11px; background: #b9dda6; color: #10231c; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; transition: background .18s, transform .18s; }
.submit:hover { background: #d3e9c2; transform: translateY(-1px); }
.submit:disabled { opacity: .6; cursor: wait; transform: none; }
.error { min-height: 25px; margin: 12px 0 0; color: #ffb5a9; font-size: 13px; line-height: 1.4; }
.foot { margin-top: 40px; padding-top: 23px; border-top: 1px solid rgba(228,244,222,.12); color: #8ca299; font-size: 12px; }
@media (max-width: 760px) {
  .layout { grid-template-columns: 1fr; }
  .story { min-height: 210px; padding: 25px 26px 12px; }
  .story-copy { display: none; }
  .side { align-items: flex-start; min-height: calc(100dvh - 210px); padding: 48px 26px 28px; border-left: 0; background: linear-gradient(0deg, #101b1b 65%, rgba(16,27,27,.8)); }
  .card { max-width: 440px; }
}
