:root { color-scheme: light; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #202b24; background: #fff; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible { outline: 2px solid #246b4a; outline-offset: 3px; }
.login-shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(400px, 1fr); }
.login-visual { display: flex; flex-direction: column; min-width: 0; padding: 32px 42px; border-right: 1px solid #e4e9e5; background: #f3f6f4; overflow: hidden; }
.login-brand { display: flex; align-items: center; gap: 12px; }
.login-brand > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: #18563a; color: #fff; font-size: 12px; font-weight: 750; }
.login-brand strong { font-size: 17px; }
.login-brand small { margin-left: 10px; padding-left: 13px; border-left: 1px solid #cad5ce; color: #77867d; font-size: 13px; font-weight: 500; }
.preview-stage { position: relative; display: grid; place-items: center; flex: 1; width: min(580px, 100%); min-height: 560px; align-self: center; }
.preview-card { width: 100%; padding: 36px 30px 24px; border: 1px solid #e0e7e2; border-radius: 12px; background: #fff; box-shadow: 0 20px 60px #23422f0c; transform: rotate(-3deg); }
.preview-heading > span { display: block; color: #789183; font-size: 9px; font-weight: 650; letter-spacing: 1.2px; }
.preview-heading > strong { display: block; margin-top: 14px; font-size: clamp(19px, 1.8vw, 26px); letter-spacing: -.5px; }
.preview-heading p { margin: 9px 0 28px; color: #89958e; font-size: 12px; }
.preview-metrics { display: grid; grid-template-columns: repeat(3, 1fr); padding: 20px 0; border-top: 1px solid #e5ece7; border-bottom: 1px solid #e5ece7; }
.preview-metrics > div + div { padding-left: 14px; border-left: 1px solid #e5ece7; }
.preview-metrics small { display: block; margin-bottom: 7px; color: #8a968e; font-size: 10px; }
.preview-metrics strong { font-size: clamp(12px, 1.3vw, 18px); font-weight: 600; color: #376d50; }
.preview-table { margin-top: 22px; }
.preview-row { display: grid; grid-template-columns: .8fr 1fr 1fr; align-items: center; min-height: 52px; border-bottom: 1px solid #f0f3f1; font-size: 11px; color: #7c8a80; }
.preview-row b { width: fit-content; padding: 3px 8px; border-radius: 4px; background: #eaf3ed; color: #36724e; font-size: 10px; }
.preview-row em { font-size: 10px; font-style: normal; }
.preview-table-head { min-height: 30px; color: #a0aaa3; font-size: 9px; }
.preview-note { position: absolute; right: -10px; bottom: 55px; display: flex; align-items: center; gap: 12px; padding: 16px 22px; border: 1px solid #e0e8e3; border-radius: 9px; background: #fff; box-shadow: 0 12px 30px #23422f0a; transform: rotate(2deg); }
.preview-note > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #27704a; background: #eaf3ed; }
.preview-note strong, .preview-note small, .visual-caption strong, .visual-caption small { display: block; }
.preview-note strong { font-size: 11px; font-weight: 600; }
.preview-note small { margin-top: 5px; color: #9ca79f; font-size: 9px; }
.visual-caption { display: flex; align-items: center; gap: 12px; }
.visual-caption > span { color: #4a8360; font-size: 23px; }
.visual-caption strong { font-size: 12px; font-weight: 600; }
.visual-caption small { margin-top: 5px; color: #8c9991; font-size: 10px; }
.login-form-pane { display: grid; place-items: center; min-width: 0; padding: 56px; }
.login-form { width: min(360px, 100%); }
.login-form-heading { margin-bottom: 38px; }
.login-form-heading > span { color: #246b4a; font-size: 12px; font-weight: 600; }
.login-form-heading h1 { margin: 10px 0; font-size: 29px; line-height: 1.25; letter-spacing: -.8px; }
.login-form-heading p { margin: 0; color: #8a958f; font-size: 13px; }
.login-field { display: block; margin-top: 21px; }
.login-field > span { display: block; margin-bottom: 9px; color: #4a5850; font-size: 12px; font-weight: 600; }
.input-wrap { display: flex; align-items: center; gap: 11px; height: 48px; padding: 0 14px; border: 1px solid #dce3de; border-radius: 7px; transition: border-color .16s, box-shadow .16s; }
.input-wrap:focus-within { border-color: #36754e; box-shadow: 0 0 0 3px #246b4a12; }
.input-wrap svg { flex: 0 0 17px; width: 17px; height: 17px; fill: none; stroke: #929e96; stroke-width: 1.5; stroke-linecap: round; }
.input-wrap input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #25372c; font-size: 13px; }
.input-wrap input::placeholder { color: #aab3ad; }
.input-wrap:has([aria-invalid="true"]) { border-color: #bd574b; }
.password-toggle { padding: 5px; border: 0; border-radius: 4px; background: transparent; color: #839087; font-size: 11px; }
.password-toggle:hover { background: #f3f6f4; }
.login-error-slot { min-height: 42px; padding-top: 8px; }
.login-error-slot p { margin: 0; color: #ad483d; font-size: 12px; }
.login-submit { display: flex; justify-content: center; align-items: center; gap: 12px; width: 100%; height: 48px; padding: 0 16px; border: 0; border-radius: 7px; background: #246b4a; color: #fff; font-size: 13px; font-weight: 600; }
.login-submit:hover:not(:disabled) { background: #18563a; }
.login-submit:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 1000px) { .login-visual { padding: 28px; } .login-form-pane { padding: 36px; } .preview-card { padding: 28px 22px 18px; } .preview-note { right: 0; } }
@media (max-width: 760px) { .login-shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; } .login-visual { padding: 23px 28px; border-right: 0; border-bottom: 1px solid #e4e9e5; } .preview-stage, .visual-caption { display: none; } .login-form-pane { padding: 48px 28px 72px; } }
