:root { color-scheme: light; --la-blue: #1769e8; --la-ink: #172033; --la-border: #dce4ef; }
* { box-sizing: border-box; }
body { margin: 0; background: #f4f7fb; color: var(--la-ink); font: 1rem/1.5 system-ui, sans-serif; }
a { color: #173b8f; text-underline-offset: .2em; }
a:hover { color: #0056b3; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--la-blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.la-skip { position: absolute; left: 1rem; top: -5rem; padding: .75rem; background: white; }
.la-skip:focus { top: 1rem; }
.la-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.25rem max(1rem, calc((100% - 72rem) / 2)); background: white; border-bottom: 1px solid var(--la-border); }
.la-brand a { font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.la-brand span { color: #526078; font-size: .875rem; }
.la-main { width: min(100%, 34rem); margin: 2rem auto; padding: 0 1rem 2rem; }
.la-preview { padding: .75rem 1rem; background: #fff4d6; border: 1px solid #e5ca7a; border-radius: .75rem; color: #654507; font-size: .875rem; }
.la-card { background: white; border: 1px solid var(--la-border); border-radius: 1.25rem; padding: 2rem; overflow-wrap: anywhere; }
.la-modes { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.la-modes a { display: flex; align-items: center; padding: .5rem .75rem; min-height: 44px; border-radius: .5rem; font-size: .875rem; }
.la-modes [aria-current] { background: #edf4ff; color: #173b8f; font-weight: 600; }
h1 { font-size: 1.75rem; line-height: 1.2; margin: 0 0 1rem; text-wrap: balance; }
.la-intro, .la-help { color: #526078; }
.la-help { font-size: .875rem; margin: 1.5rem 0 0; }
label { display: block; font-weight: 600; margin: 1.25rem 0 .5rem; }
label span { font-size: .75rem; color: #526078; font-weight: 400; }
input { width: 100%; min-width: 0; min-height: 48px; padding: .75rem; border: 1px solid #8493aa; border-radius: .5rem; font: inherit; background: white; color: var(--la-ink); }
.la-hint { color: #526078; font-size: .875rem; margin: .5rem 0; }
.la-password { display: grid; gap: .5rem; }
button { font: inherit; cursor: pointer; touch-action: manipulation; }
#la-toggle { justify-self: end; min-height: 44px; border: 0; background: none; color: #173b8f; text-decoration: underline; }
#la-toggle:hover { color: #0056b3; }
.la-submit { width: 100%; min-height: 48px; padding: .75rem 1rem; margin-top: 1.25rem; background: #0056b3; color: white; border: 0; border-radius: .5rem; font-weight: 600; }
.la-submit:hover { background: #003d7a; }
.la-submit:disabled { background: #526078; cursor: wait; }
.la-alert { padding: 1rem; margin: 1rem 0; border: 1px solid #b3261e; border-radius: .5rem; background: #fff2f0; color: #8b1e17; }
.la-details { margin: 1.5rem 0; }
.la-details dt { color: #526078; font-size: .875rem; }
.la-details dd { margin: .25rem 0 1rem; font-weight: 600; }
@media (max-width: 400px) { .la-card { padding: 1.25rem; } h1 { font-size: 1.5rem; } .la-brand { gap: .5rem; } }
