:root { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #19352e; background: #fcfdfb; font-synthesis: none; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
a { color: inherit; text-decoration: none; }
a:hover { color: #087f5b; }
a:focus-visible, button:focus-visible { outline: 3px solid #087f5b; outline-offset: 4px; }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 10px 20px; background: #fff; z-index: 2; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.auth-header, .auth-footer { width: min(1160px, calc(100% - 80px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.auth-header { height: 88px; flex-shrink: 0; border-bottom: 1px solid #e4e9e2; }
.auth-brand { display: flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.7px; font-size: 21px; }
.auth-home-link { color: #65756d; font-size: 12px; }
.auth-layout { width: min(1040px, calc(100% - 80px)); margin: auto; padding-block: 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 96px; align-items: center; }
.auth-story { position: relative; background: #eff4ed; border: 1px solid #e3eade; border-radius: 18px; padding: 35px 36px 25px; overflow: hidden; }
.auth-eyebrow { margin: 0 0 15px; color: #487660; font-size: 10px; font-weight: 650; letter-spacing: 1.5px; }
.auth-story h2 { font-size: 36px; letter-spacing: -1.4px; line-height: 1.18; margin: 0; font-weight: 600; }
.auth-story h2 span { color: #087f5b; }
.auth-story-description { font-size: 13px; color: #66756a; line-height: 1.7; max-width: 335px; margin: 16px 0 0; }
.auth-template { margin: 28px auto 0; width: 234px; }
#auth-template-preview { height: 261px; overflow: hidden; border-radius: 3px 3px 0 0; background: #fff; box-shadow: 0 5px 22px #203c2410; }
#auth-template-preview > svg { display: block; width: 100%; height: auto; }
.auth-template figcaption { display: flex; align-items: center; gap: 8px; padding: 12px; background: #fff; border-top: 1px solid #e2e8e0; border-radius: 0 0 6px 6px; font-size: 11px; }
.auth-template-dot { width: 6px; height: 6px; background: #087f5b; border-radius: 50%; }
.auth-template-check { margin-left: auto; color: #087f5b; }
.auth-story-note { font-size: 11px; color: #67776b; line-height: 1.6; margin: 23px 0 0; text-align: center; }
.auth-handoff { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 14px 12px; background: #ffffffba; border: 1px solid #dce6d8; border-radius: 8px; }
.auth-file-icon { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 36px; border-radius: 4px; background: #e2efe4; font-weight: 700; font-size: 14px; color: #087f5b; }
.auth-handoff strong { font-size: 12px; font-weight: 600; }
.auth-handoff p { color: #65756d; font-size: 11px; line-height: 1.6; margin: 4px 0 0; }
.auth-handoff > span:last-child { margin-left: auto; color: #087f5b; }
.form-container { width: 100%; max-width: 390px; justify-self: center; }
.form-container h1 { margin: 0; font-size: 37px; font-weight: 600; letter-spacing: -1.5px; line-height: 1.15; }
.auth-subtitle { font-size: 13px; color: #6a776f; line-height: 1.7; margin: 13px 0 26px; }
.auth-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 47px; border: 1px solid #dce3da; border-radius: 7px; background: white; color: #253b30; font-size: 13px; font-weight: 550; }
.auth-google:hover { background: #f5f8f3; border-color: #b6cbb9; }
.auth-divider { display: flex; align-items: center; gap: 14px; color: #859085; font-size: 11px; margin: 24px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #e4e9e1; }
.form-group { margin-bottom: 19px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 9px; }
.form-group input { width: 100%; min-width: 0; height: 47px; background: #fff; border: 1px solid #dce3da; border-radius: 7px; padding: 12px 14px; color: #19352e; font-size: 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.form-group input::placeholder { color: #919b93; font-size: 12px; }
.form-group input:focus { border-color: #087f5b; box-shadow: 0 0 0 3px #087f5b12; }
.auth-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.auth-text-button { border: 0; background: none; color: #087f5b; padding: 0; font-size: 12px; font-weight: 550; }
.auth-text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.password-input { position: relative; }
.password-input input { padding-right: 49px; }
#toggle-password { position: absolute; right: 1px; top: 1px; height: 45px; width: 45px; border: 0; background: transparent; display: grid; place-items: center; color: #7c8980; border-radius: 6px; }
#toggle-password[aria-pressed="true"] { color: #087f5b; }
.password-help { font-size: 11px; color: #6a776f; margin: 8px 0 0; }
.auth-submit { width: 100%; height: 48px; border: 0; background: #087f5b; color: #fff; border-radius: 7px; font-size: 13px; font-weight: 600; box-shadow: 0 2px 4px #0c573d12; }
.auth-submit:hover { background: #076a4d; }
.auth-toggle { font-size: 12px; color: #65756d; line-height: 1.8; text-align: center; margin: 22px 0 0; }
.auth-toggle button { margin-left: 3px; }
.auth-reassurance { color: #859085; text-align: center; margin: 22px 0 0; font-size: 11px; line-height: 1.6; }
.auth-message { font-size: 12px; line-height: 1.6; color: #9d3434; background: #fff2ef; border: 1px solid #f3d9d2; border-radius: 6px; padding: 11px 13px; margin: 0 0 18px; overflow-wrap: anywhere; }
.auth-message:empty { display: none; }
.auth-message.is-success { color: #20634a; background: #eef7ee; border-color: #d9ead6; }
.auth-footer { padding: 22px 0; font-size: 11px; color: #7a877d; border-top: 1px solid #e4e9e2; flex-wrap: wrap; }
.auth-footer nav { display: flex; gap: 22px; }
.auth-footer .csvlink-language-switcher { position: relative; inset: auto; z-index: 1; box-shadow: none; background: transparent; padding: 4px; border-radius: 7px; font-size: 11px; }
.auth-footer > nav { margin-left: auto; }
@media (max-width: 980px) { .auth-layout { gap: 45px; width: calc(100% - 64px); } .auth-story { padding: 28px 25px; } .auth-story h2 { font-size: 31px; } }
@media (max-width: 720px) { .auth-header, .auth-footer { width: calc(100% - 40px); } .auth-header { height: 74px; } .auth-brand { font-size: 19px; } .auth-home-link { font-size: 10px; } .auth-layout { display: flex; flex-direction: column; gap: 28px; width: min(390px, calc(100% - 40px)); padding: 32px 0; } .auth-story { display: none; } .auth-layout.has-handoff .auth-story { display: block; width: 100%; background: none; border: 0; padding: 0; border-radius: 0; } .auth-layout.has-handoff .auth-story > :not(.auth-handoff) { display: none; } .auth-handoff { margin: 0; padding: 14px; background: #eff4ed; } .form-container h1 { font-size: 33px; } .auth-footer { margin-top: auto; padding-bottom: 70px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.has-certificate .auth-template { width: 100%; max-width: 360px; }
.has-certificate #auth-template-preview { height: auto; aspect-ratio: 1056 / 744; }
