:root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;line-height:1.55;--canvas:#f3f4f6;--surface:#fff;--muted:#f6f6f7;--border:#e5e7eb;--text:#111827;--text-muted:#4b5563;--accent:#047857;--accent-hover:#065f46;--accent-ink:#fff;--focus:#059669;--error-bg:#fff1f2;--error-text:#9f1239;--success:#047857;--shadow:0 12px 40px #122b1d18;--radius:12px;color:var(--text);background:var(--canvas);color-scheme:light}
*{box-sizing:border-box}body{margin:0;min-height:100svh;color:var(--text);background:var(--canvas)}[hidden]{display:none!important}a{color:var(--accent);text-underline-offset:3px}a:hover{text-decoration-thickness:2px}a,button,input,select{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible:not(.auth-form input),select:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:3px}h1,h2,h3,p{overflow-wrap:anywhere}h1{font-size:24px;line-height:1.25;letter-spacing:-.025em;margin:0 0 12px;font-weight:650}h2{font-size:21px;line-height:1.3;margin:0 0 16px}h3{font-size:19px;margin:0 0 12px}.lead{color:var(--text-muted);font-size:15px;margin:0 0 28px}.eyebrow{font-size:12px;letter-spacing:.04em;font-weight:650;color:var(--accent);margin:0 0 10px}.note{color:var(--text-muted);font-size:13px;margin:18px 0 0}.brand{display:inline-flex;min-height:44px;align-items:center;text-decoration:none;color:inherit}.brand{gap:8px}.brand-word{font-size:18px;letter-spacing:-.45px;font-weight:800;line-height:1.1}.brand-dot{display:inline-block;width:8px;height:8px;margin-top:4px;border-radius:50%;background:#059669}.brand:hover{text-decoration:none}footer{color:var(--text-muted);font-size:12px;line-height:1.5;margin-top:32px}dl{margin:20px 0}dt{font-size:13px;color:var(--text-muted)}dd{margin:3px 0 16px;overflow-wrap:anywhere}.skip-link{position:fixed;inset-block-start:-100px;inset-inline-start:12px;padding:10px 16px;background:var(--surface);z-index:100;border-radius:var(--radius)}.skip-link:focus{inset-block-start:10px}.interface-controls{position:absolute;inset-block-start:22px;inset-inline-end:28px;display:flex;align-items:center;gap:8px;z-index:20}@media(max-width:767px){.interface-controls{inset-block-start:16px;inset-inline-end:16px}h1{font-size:24px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.auth-shell{display:flex;min-height:100svh;background:var(--surface)}.auth-sidebar{width:380px;flex:none;padding:32px;display:flex;flex-direction:column;justify-content:space-between;background:#047857;color:#fff}.auth-sidebar .brand{color:#fff;align-self:flex-start;min-height:28px}.auth-sidebar .brand-dot{background:#fff}.brand-copy h2{font-size:30px;font-weight:800;line-height:1.08;letter-spacing:-.025em;margin:0}.brand-copy p{font-size:12px;font-weight:700;color:#a7f3d0;margin:16px 0 0}.auth-body{flex:1;min-width:0;min-height:100svh;display:flex;flex-direction:column}.auth-header{display:flex;align-items:center;min-height:84px;padding:20px 40px}.auth-main{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;padding:32px 40px}.auth-content{width:100%;max-width:384px}.mobile-brand{display:none}.auth-form{width:100%}.auth-footer{text-align:center;margin:0;padding:24px 16px;font-size:12px;line-height:18px;font-weight:600}@media(min-width:1280px){.auth-sidebar{width:420px;padding:40px}.brand-copy h2{font-size:36px}}@media(max-width:1023px){.auth-sidebar{display:none}.mobile-brand{display:block}}@media(max-width:767px){.auth-header{padding:16px 24px}.auth-main{padding:24px}.auth-content{max-width:384px}}@media(max-width:380px){.auth-main{padding-inline:20px}}
form{margin:0}label{display:block;font-size:12px;font-weight:600;color:var(--text-muted);margin:0 0 7px}input[type=text],input[type=email],input[type=password],select{width:100%;min-height:46px;padding:11px 12px;font:inherit;font-size:14px;border:1px solid var(--border);border-radius:var(--radius);background:var(--muted);color:var(--text);margin-bottom:20px}input[type=email],input[type=password]{direction:ltr;text-align:start}input::placeholder{color:var(--text-muted)}button{font:inherit;font-size:14px;font-weight:600;cursor:pointer}button[type=submit]{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:46px;border:1px solid transparent;border-radius:var(--radius);background:var(--accent);color:var(--accent-ink);padding:11px 16px}button[type=submit]:hover{background:var(--accent-hover)}button:disabled{cursor:wait;opacity:.7}.field-help{font-size:12px;line-height:1.5;color:var(--text-muted);margin:-10px 0 20px}.checkbox-label{display:flex;gap:12px;align-items:flex-start;font-size:14px;cursor:pointer;margin:22px 0;min-height:44px}.checkbox-label input{flex:none;width:22px;height:22px;margin:3px 0;accent-color:var(--accent)}.button-secondary[type=submit]{width:auto;min-height:44px;background:var(--muted);color:var(--text);border-color:var(--border)}.button-secondary[type=submit]:hover{background:var(--surface)}

form.auth-form{margin-top:28px}
.auth-form input[type=text],.auth-form input[type=email],.auth-form input[type=password]{border:0;padding:12px 16px;min-height:46px;background:var(--muted);box-shadow:inset 0 0 0 1px var(--border);font-weight:600;line-height:22px;transition:box-shadow .15s}
.auth-form input[type=text]:focus,.auth-form input[type=email]:focus,.auth-form input[type=password]:focus{outline:none;background:var(--surface);box-shadow:inset 0 0 0 2px var(--focus)}
.auth-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:7px}
.auth-label-row label{margin:0}
.auth-label-row a{font-size:12px;font-weight:700;text-decoration:none;line-height:1.5}
.auth-label-row a:hover{text-decoration:underline}
.auth-terms{display:inline-flex;width:fit-content;max-width:100%;align-items:flex-start;gap:10px;cursor:pointer;font-size:13px;line-height:1.6;margin:20px 0 0;min-height:44px}
.auth-terms input{cursor:pointer;flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:var(--accent)}
.auth-terms input:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.auth-privacy{color:var(--text-muted);font-size:13px;line-height:1.6;margin:8px 0 20px}
.resend-section{margin-top:28px;padding-top:24px;border-top:1px solid var(--border)}
.resend-section h2{font-size:17px;margin-bottom:14px}
.resend-section form.auth-form{margin-top:0}
@media(max-width:767px){.auth-form input[type=text],.auth-form input[type=email],.auth-form input[type=password]{font-size:16px}}
@media(forced-colors:active){.auth-form input[type=text],.auth-form input[type=email],.auth-form input[type=password]{border:1px solid CanvasText}.auth-form input[type=text]:focus,.auth-form input[type=email]:focus,.auth-form input[type=password]:focus{outline:2px solid Highlight;outline-offset:-2px}}

.auth-signup{text-align:center}
.auth-signup a{font-weight:700;text-decoration:none}
.form-error,.notice.error{border-inline-start:3px solid var(--error-text);padding:12px 14px;background:var(--error-bg);color:var(--error-text);border-radius:4px;font-size:14px;margin:16px 0}.success{color:var(--success)}[role=status]{overflow-wrap:anywhere}.preference-status{position:absolute;inset-block-start:100%;inset-inline-end:0;max-width:min(300px,calc(100vw - 32px));padding:12px;background:var(--surface);color:var(--error-text);box-shadow:var(--shadow);border:1px solid var(--border);border-radius:var(--radius);font-size:13px}
.account-header{padding:22px 28px;min-height:88px;background:var(--surface);border-bottom:1px solid var(--border);padding-inline-end:330px}.account-main{max-width:1040px;margin:0 auto;padding:32px 24px}.account-card{padding:32px;background:var(--surface);border:1px solid var(--border);border-radius:12px}.portal-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 28px}.portal-nav>a{display:inline-flex;align-items:center;min-height:44px}.portal-section{border-top:1px solid var(--border);margin-top:28px;padding-top:22px}.plan-grid,.billing-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px}.plan{border:1px solid var(--border);border-radius:10px;padding:22px;background:var(--muted)}.price{font-size:27px;font-weight:700;margin:0 0 12px}.price-list,.history-list{padding:0;list-style:none;margin:0}.price-list li+li{margin-top:14px}.billing-metrics>div{background:var(--muted);border-radius:8px;padding:16px}.billing-metrics dd{margin:6px 0 0;font-size:22px;font-weight:700}.terms-list{padding-inline-start:22px}.terms-list li+li{margin-top:12px}.consent-form{background:var(--muted);border:1px solid var(--border);padding:22px;border-radius:10px;margin-top:26px}.history-list li{padding:12px 0;border-bottom:1px solid var(--border);font-size:14px}.refresh-link{display:inline-flex;align-items:center;min-height:44px}@media(max-width:767px){.account-header{padding:16px;padding-inline-end:140px}.account-main{padding:20px 16px}.account-card{padding:22px 18px}}@media(max-width:580px){.plan-grid,.billing-metrics{grid-template-columns:1fr}.portal-nav{align-items:flex-start;flex-wrap:wrap}.plan,.consent-form{padding:16px}.billing-metrics dd{font-size:21px}}
:root[data-theme=dark]{--canvas:#0d0f0e;--surface:#151817;--muted:#1d211f;--border:#3d4841;--text:#f4f7f5;--text-muted:#b6c0ba;--accent:#34d399;--accent-hover:#6ee7b7;--accent-ink:#052e20;--focus:#34d399;--error-bg:#321b23;--error-text:#fda4af;--success:#6ee7b7;--shadow:0 12px 40px #0006;color-scheme:dark}:root[data-theme=dark] .auth-sidebar{background:#064e3b}
@media(prefers-color-scheme:dark){:root[data-theme=system]{--canvas:#0d0f0e;--surface:#151817;--muted:#1d211f;--border:#3d4841;--text:#f4f7f5;--text-muted:#b6c0ba;--accent:#34d399;--accent-hover:#6ee7b7;--accent-ink:#052e20;--focus:#34d399;--error-bg:#321b23;--error-text:#fda4af;--success:#6ee7b7;--shadow:0 12px 40px #0006;color-scheme:dark}:root[data-theme=system] .auth-sidebar{background:#064e3b}}
.theme-toggle{height:44px;width:44px;min-height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:transparent;color:var(--text);cursor:pointer}.theme-toggle:hover{background:var(--muted)}.theme-toggle .icon-sun{display:none}[data-theme=dark] .theme-toggle .icon-sun{display:block}[data-theme=dark] .theme-toggle .icon-moon{display:none}
.language-selector{position:relative}.language-trigger{display:inline-flex;align-items:center;gap:9px;min-height:44px;max-width:250px;padding:9px 12px;background:transparent;border:0;border-radius:8px;color:var(--text);font-size:14px;font-weight:600}.language-trigger:hover{background:var(--muted)}.language-current{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.language-selector img{width:24px;height:18px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px #64746b40;flex:none}.language-options{position:absolute;inset-block-start:calc(100% + 8px);inset-inline-end:0;width:300px;max-width:calc(100vw - 32px);max-height:min(672px,75svh);overflow-y:auto;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:6px;box-shadow:var(--shadow);overscroll-behavior:contain}.language-options button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:9px 10px;border:0;border-radius:6px;background:transparent;color:var(--text);text-align:start;font-weight:400}.language-options button:hover{background:var(--muted)}.language-options button[aria-selected=true]{background:#ecfdf5;color:#065f46}[data-theme=dark] .language-options button[aria-selected=true]{background:#064e3b;color:#d1fae5}.language-check{margin-inline-start:auto;color:var(--accent)}.language-fallback{display:flex;align-items:center;gap:6px;max-width:350px}.language-fallback label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.language-fallback select{max-width:200px;margin:0;min-height:44px}.language-fallback button[type=submit]{min-height:44px;width:auto}.ui-enhanced .language-fallback{display:none}@media(max-width:767px){.language-trigger{padding:10px;min-width:44px;max-width:min(148px,calc(100vw - 212px));gap:6px}.language-current{display:block;min-width:0}.language-fallback select{max-width:145px}}
.password-meter{margin:-8px 0 20px;padding-top:2px}
.password-meter-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.password-meter-segment{display:flex;flex-direction:column;align-items:center;gap:6px}
.password-meter-bar{height:6px;width:100%;border-radius:999px;background:var(--border);transition:background-color .15s}
.password-meter-label{font:600 10px/1.4 ui-monospace,monospace;color:var(--text-muted)}
.password-rule-valid .password-meter-bar{background:var(--accent)}
.password-rule-valid .password-meter-label{color:var(--accent)}
.password-meter-hint{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.password-meter-hint-success{color:var(--accent)}
@media(prefers-reduced-motion:reduce){.password-meter-bar{transition:none}}
.notifications{position:fixed;top:84px;right:24px;width:min(400px,calc(100vw - 32px));z-index:40;display:grid;gap:12px;pointer-events:none}
.notification{pointer-events:auto;display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--border);border-inline-start:4px solid var(--accent);border-radius:12px;background:var(--surface);color:var(--text);box-shadow:var(--shadow);animation:notification-enter .16s ease-out}
.notification p{margin:0;font-size:14px;line-height:1.5;flex:1;min-width:0}
.notification-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:22px;height:22px;border:1px solid var(--accent);border-radius:50%;color:var(--accent);font-weight:700}
.notification-close{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:44px;min-height:44px;margin:-5px -5px 0 0;border:0;border-radius:8px;background:transparent;color:var(--text-muted);font-size:24px}
.notification-close:hover{background:var(--muted);color:var(--text)}
@keyframes notification-enter{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media(max-width:767px){.notifications{top:76px;right:16px}.notification-close{min-width:44px;min-height:44px}.notification{gap:8px}}
@media(prefers-reduced-motion:reduce){.notification{animation:none}}

.notification-error{border-inline-start-color:var(--error-text)}.notification-error .notification-icon{border-color:var(--error-text);color:var(--error-text)}
.notification-closing{animation:notification-exit .18s ease-in forwards;pointer-events:none}
@keyframes notification-exit{to{opacity:0;transform:translateX(16px)}}
@media(prefers-reduced-motion:reduce){.notification-closing{animation:none}}
.country-selector{margin-bottom:20px}.country-selector select{margin-bottom:0}
.country-selector .country-trigger{display:flex;width:100%;max-width:none;min-height:46px;padding:12px 16px;gap:10px;border:0;border-radius:var(--radius);background:var(--muted);color:var(--text);box-shadow:inset 0 0 0 1px var(--border);text-align:start;transition:box-shadow .15s}
.country-selector .country-trigger:focus,.country-selector select:focus{outline:none;background:var(--surface);box-shadow:inset 0 0 0 2px var(--focus)}
.country-selector .country-trigger[aria-invalid=true]{box-shadow:inset 0 0 0 2px var(--error-text)}
.country-current{flex:1;min-width:0;overflow-wrap:anywhere}.country-currency{flex:none;color:var(--text-muted);font-size:12px}
.country-selector .country-options{inset-inline:0;inset-block-start:100%;width:100%;max-width:none;max-height:min(320px,45svh);z-index:30;margin-top:6px}
.country-options [role=option] span:first-of-type{flex:1;min-width:0;overflow-wrap:anywhere}.country-selector .chevron{flex:none}
@media(max-width:767px){.country-selector .country-trigger{font-size:16px}}
@media(prefers-reduced-motion:reduce){.country-selector .country-trigger{transition:none}}
@media(forced-colors:active){.country-selector .country-trigger{border:1px solid CanvasText}.country-selector .country-trigger:focus{outline:2px solid Highlight;outline-offset:-2px}}
