* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #f0f4f1; color: #213e30; font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; display: grid; place-items: center; padding: 40px; }
.auth-shell { width: min(1040px, 100%); min-height: 570px; display: grid; grid-template-columns: 1.05fr 1fr; background: white; border: 1px solid #dce6df; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 80px #1e493012; }
.auth-brand { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 46px; background: #e8f1eb; overflow: hidden; }
.auth-logo { display: block; width: 194px; max-width: 100%; height: auto; object-fit: contain; margin: 0 auto 28px; }
.auth-brand-content { margin: auto 0; padding: 36px 0; }
.auth-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: #52735f; }
.auth-brand h2 { margin: 0; font-size: clamp(30px, 3vw, 40px); font-weight: 600; line-height: 1.2; letter-spacing: -.055em; }
.auth-modules { display: flex; gap: 9px; flex-wrap: wrap; }
.auth-modules span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid #cdded2; border-radius: 7px; font-size: 11px; font-weight: 500; background: #ffffff70; }
.auth-modules i { color: #33724e; }
.auth-brand-footer { font-size: 12px; color: #5f7b69; }
.auth-decoration { position: absolute; z-index: -1; right: -155px; bottom: -160px; width: 420px; height: 420px; transform: rotate(-25deg); }
.auth-decoration span { position: absolute; inset: 0; border: 1px solid #bdd2c480; border-radius: 70px; }
.auth-decoration span:nth-child(2) { inset: 38px; }
.auth-decoration span:nth-child(3) { inset: 76px; background: #c9dfd140; }
.auth-access { display: flex; flex-direction: column; justify-content: center; position: relative; padding: 42px 48px 70px; }
.auth-form-wrap { width: 100%; max-width: 360px; margin: auto; }
.auth-access-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: #edf5ef; color: #2d704a; margin-bottom: 24px; }
.auth-access h1 { font-size: 25px; font-weight: 600; letter-spacing: -.035em; margin: 0 0 34px; line-height: 1.3; }
.auth-form { display: grid; gap: 22px; }
.auth-field { display: grid; gap: 9px; }
.auth-field label { font-size: 12px; font-weight: 600; color: #486051; }
.auth-field input { width: 100%; min-width: 0; height: 48px; border: 1px solid #d6e1d9; border-radius: 8px; padding: 0 14px; color: #20382a; background: #fcfdfc; font: inherit; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.auth-field input:focus { outline: 0; border-color: #347953; box-shadow: 0 0 0 3px #34795318; background: white; }
.auth-submit { margin-top: 6px; height: 48px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #22633f; border-radius: 8px; padding: 0 18px; background: #256b44; color: white; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.auth-submit:hover { background: #1c5837; }
.auth-submit:focus-visible { outline: 3px solid #82b295; outline-offset: 3px; }
.auth-error { display: flex; align-items: start; gap: 10px; padding: 12px; margin-bottom: 22px; border: 1px solid #eed0d0; border-radius: 8px; color: #963e3e; background: #fff7f7; font-size: 13px; }
.auth-footer { position: absolute; bottom: 30px; left: 24px; right: 24px; text-align: center; font-size: 11px; color: #87958b; }
@media (max-width: 850px) { body { padding: 24px; } .auth-brand { padding: 32px; } .auth-access { padding: 40px 30px 80px; } .auth-shell { min-height: 550px; } }
@media (max-width: 650px) { body { padding: 16px; } .auth-shell { grid-template-columns: 1fr; min-height: auto; border-radius: 16px; max-width: 440px; } .auth-brand { padding: 26px; } .auth-logo { width: 155px; } .auth-brand-footer, .auth-decoration { display: none; } .auth-brand-content { margin: 0; padding: 0; } .auth-brand h2 { font-size: 20px; line-height: 1.4; letter-spacing: -.025em; } .auth-brand h2 br { display: none; } .auth-brand h2 span { display: block; } .auth-access { padding: 32px 26px 76px; } .auth-access h1 { font-size: 23px; margin-bottom: 26px; } .auth-access-icon { display: none; } }
@media (prefers-reduced-motion: reduce) { .auth-field input { transition: none; } }

.auth-brand h2 span { color: #54735f; font-weight: 500; }
.auth-access h1 { text-align: center; font-size: 23px; margin-bottom: 28px; }

.auth-decoration-top { right: auto; bottom: auto; left: -155px; top: -160px; transform: rotate(155deg); }

/* White sign-in surface aligned with the original logo artwork. */
.auth-access { background: #fff; }
.auth-access .auth-logo { width: 200px; margin-bottom: 24px; }
.auth-access h1 { font-size: 22px; font-weight: 500; letter-spacing: -.035em; color: #283c32; margin-bottom: 32px; }
.auth-form { gap: 20px; }
.auth-field { gap: 8px; }
.auth-field label { color: #465b50; font-size: 12px; letter-spacing: .01em; }
.auth-input-wrap { position: relative; }
.auth-input-wrap > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #90a197; font-size: 13px; pointer-events: none; }
.auth-input-wrap input { padding-left: 42px; height: 50px; background: #fff; border-color: #dce4df; border-radius: 10px; }
.auth-input-wrap:focus-within > i { color: #276b48; }
.auth-input-wrap input:focus { border-color: #4a8764; box-shadow: 0 0 0 3px #3479530d; }
.auth-submit { position: relative; justify-content: center; height: 48px; border-radius: 10px; background: #246944; border-color: #246944; margin-top: 8px; box-shadow: 0 4px 10px #245c3914; }
.auth-submit > i { position: absolute; right: 18px; font-size: 12px; opacity: .85; }
.auth-footer { color: #8b978f; font-size: 10px; letter-spacing: .015em; }
@media (max-width: 650px) { .auth-access .auth-logo { width: 178px; } .auth-access h1 { font-size: 21px; margin-bottom: 26px; } }
