*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Base */
    --bg:             #0c1220;
    --bg-end:         #121a2d;
    --surface:        rgba(255,255,255,0.03);
    --surface-border: rgba(255,255,255,0.06);
    --surface-hover:  rgba(255,255,255,0.06);

    /* Text */
    --text:           #e2e8f0;
    --muted:          #5a6480;
    --heading:        #f0e8ff;

    /* Accents */
    --accent:         #22d3ee;
    --accent-glow:    rgba(34,211,238,0.15);
    --highlight:      #e879f9;
    --highlight-glow: rgba(232,121,249,0.12);

    /* Status */
    --success:        #34d399;
    --warning:        #fbbf24;
    --error:          #ef4444;

    /* Gradient */
    --gradient-bar:   linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);

    /* Safe areas */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    background-color: var(--bg);
}

body {
    min-height: 100dvh;
    padding-bottom: calc(64px + var(--safe-bottom));
    background: linear-gradient(160deg, var(--bg) 0%, var(--bg-end) 50%, var(--bg) 100%);
    background-attachment: fixed;
}

main {
    max-width: 480px;
    margin: 0 auto;
}

.page {
    padding: calc(20px + var(--safe-top)) 16px 20px;
}

.pull-indicator {
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.85rem;
    padding: 8px 0;
    opacity: 0;
    transition: opacity 0.15s;
}

h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 4px;
}

@keyframes gradientFlow {
    0%   { background-position: 200% 50%; }
    100% { background-position: 0% 50%; }
}

.logo-wordmark {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s linear infinite;
}

.header-accent {
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
    background-size: 200% 100%;
    border-radius: 2px;
    margin-bottom: 14px;
    animation: gradientFlow 8s linear infinite;
}

.header-greeting {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.header-subtitle {
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 12px;
}

h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading);
    margin-top: 24px;
    margin-bottom: 12px;
}

.subtitle {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.center {
    text-align: center;
}

.muted {
    color: var(--muted);
}

/* ── Sync Button ────────────────────────────────────── */

.sync-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.2s ease;
    box-shadow: 0 0 20px var(--accent-glow),
                0 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.sync-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 32px var(--accent-glow),
                0 4px 12px rgba(0,0,0,0.4);
}

.sync-btn:active {
    transform: scale(0.97);
}

.sync-btn:disabled {
    cursor: not-allowed;
    transform: none;
}

.sync-btn.running {
    background: linear-gradient(90deg, var(--accent), var(--highlight), var(--accent));
    background-size: 200% 100%;
    animation: gradientSweep 2s linear infinite;
    color: var(--bg);
}

.sync-btn.done {
    background: var(--success);
    color: var(--bg);
}

@keyframes gradientSweep {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ── Status Cards ───────────────────────────────────── */

.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.status-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ── Status Card Glow ──────────────────────────────── */

.status-card.glow-ok,
.status-card.glow-accent {
    border-color: rgba(52, 211, 153, 0.2);
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.08);
}

.status-card.glow-ok:hover,
.status-card.glow-accent:hover {
    box-shadow: 0 0 25px rgba(52, 211, 153, 0.15);
}

.status-card.glow-error {
    border-color: rgba(239, 68, 68, 0.2);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.08);
}

.status-card.glow-error:hover {
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.15);
}

.status-card[data-status="sync"] {
    border-color: rgba(34, 211, 238, 0.2);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.08);
}

.status-card[data-status="sync"]:hover {
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.15);
}

.status-label {
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.status-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
}

.status-value.ok {
    color: var(--success);
}

.status-value.error {
    color: var(--error);
}

.status-value.accent {
    color: var(--accent);
}

/* ── Sync Log Timeline ──────────────────────────────── */

#sync-log {
    display: none;
}

.log-timeline {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 16px;
    min-height: 120px;
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 20px;
}

.log-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text);
}

.log-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.log-dot.info    { background: var(--accent); box-shadow: 0 0 6px var(--accent-glow); }
.log-dot.warning { background: var(--warning); }
.log-dot.error   { background: var(--error); }
.log-dot.success { background: var(--success); }

/* ── Section Labels ─────────────────────────────────── */

.section-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 28px;
    margin-bottom: 10px;
    padding: 0 4px;
}

.section-toggle {
    cursor: pointer;
    user-select: none;
}

.section-toggle:hover {
    color: var(--text);
}

.toggle-arrow {
    font-size: 1.1em;
    margin-left: 6px;
}

/* ── Transaction List ───────────────────────────────── */

.txn-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.date-group {
    margin-bottom: 8px;
}

.date-group-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    padding: 12px 4px 6px;
    border-bottom: 1px solid var(--surface-border);
    margin-bottom: 8px;
}

.txn-list > .date-group-label:first-child {
    padding-top: 4px;
}

.txn-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.txn-row:hover {
    background: var(--surface-hover);
    border-color: var(--accent-glow);
}

.txn-info {
    min-width: 0;
    flex: 1;
}

.txn-name {
    font-weight: 500;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.txn-split {
    font-size: 0.78rem;
    color: var(--muted);
}

.txn-amount {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--highlight);
    white-space: nowrap;
    margin-left: 12px;
}

.txn-detail {
    display: none;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-top: none;
    border-radius: 0 0 10px 10px;
    margin-top: -7px;
    margin-bottom: 6px;
    padding: 12px 16px;
    overflow: hidden;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 0.85rem;
}

.detail-label {
    color: var(--muted);
}

/* ── Sync History ───────────────────────────────────── */

.sync-run-list {
    display: none;
    flex-direction: column;
    gap: 4px;
}

.sync-run-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.82rem;
}

.sync-run-time {
    color: var(--muted);
    min-width: 60px;
}

.status-badge {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 4px;
}

.status-badge.done    { color: var(--success); background: rgba(52,211,153,0.12); }
.status-badge.error   { color: var(--error);   background: rgba(239,68,68,0.12); }
.status-badge.timeout { color: var(--warning);  background: rgba(251,191,36,0.12); }
.status-badge.running { color: var(--accent);   background: var(--accent-glow); }

.sync-run-duration {
    color: var(--muted);
    margin-left: auto;
}

.sync-run-error {
    width: 100%;
    font-size: 0.78rem;
    color: var(--error);
    margin-top: 4px;
    word-break: break-word;
}

/* ── Card Groups / Settings ─────────────────────────── */

.card-group {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    overflow: hidden;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--surface-border);
    transition: background 0.15s ease;
}

.setting-row:last-child {
    border-bottom: none;
}

.setting-row:hover {
    background: var(--surface-hover);
}

.setting-value {
    font-size: 0.9rem;
}

.household-input {
    width: 160px;
    flex: 0 0 160px;
    margin-left: auto;
    padding: 4px 8px;
    border: 1px solid var(--surface-border);
    border-radius: 6px;
    background: var(--surface);
    color: var(--text);
    font-size: 0.9rem;
    text-align: right;
}

.household-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 6px var(--accent-glow);
}

select.household-input {
    appearance: none;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235a6480'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 24px;
}

input.household-input {
    height: 30px;
}

.flag-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flag-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px rgba(255,255,255,0.1);
}

.flag-red    { background: #ef4444; }
.flag-orange { background: #f97316; }
.flag-yellow { background: #eab308; }
.flag-blue   { background: #3b82f6; }
.flag-purple { background: #a855f7; }


/* ── Flag Inputs ───────────────────────────────────── */

.flag-input-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.flag-input-label {
    font-size: 0.82rem;
    color: var(--muted);
}

.flag-pct-input {
    width: 56px;
    padding: 4px 8px;
    border: 1px solid var(--surface-border);
    border-radius: 6px;
    background: var(--surface);
    color: var(--text);
    font-size: 0.9rem;
    text-align: center;
    -moz-appearance: textfield;
}

.flag-pct-input::-webkit-inner-spin-button,
.flag-pct-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.flag-pct-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 6px var(--accent-glow);
}

.flag-pct-input::placeholder {
    color: var(--muted);
    opacity: 0.5;
}

.flag-pct-symbol {
    font-size: 0.82rem;
    color: var(--muted);
}

.flag-save-row {
    padding: 10px 16px;
    display: flex;
    justify-content: flex-end;
}

/* ── Edit Controls ──────────────────────────────────── */

.edit-controls {
    display: flex;
    gap: 10px;
}

.edit-controls.inline {
    margin-top: 8px;
}

/* ── Buttons ────────────────────────────────────────── */

.btn-primary {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 0 16px var(--accent-glow);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: default;
    transform: none;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
    width: auto;
    display: inline-block;
}

.btn-danger {
    background: transparent;
    color: var(--error);
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.btn-danger:hover {
    background: rgba(239,68,68,0.1);
}

.btn-success {
    background: var(--success) !important;
    color: var(--bg) !important;
}

.btn-full {
    margin-bottom: 8px;
}

/* ── Bottom Tab Bar ─────────────────────────────────── */

.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: rgba(12,18,32,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--surface-border);
    padding-bottom: var(--safe-bottom);
    z-index: 100;
}

.tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0 10px;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.tab.active {
    color: var(--accent);
}

.tab-indicator {
    position: absolute;
    bottom: calc(var(--safe-bottom) + 2px);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
    transition: left 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tab-label {
    font-size: 0.78rem;
}

/* ── Forms ───────────────────────────────────────────── */

input[type="email"],
input[type="text"],
select {
    width: 100%;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 12px;
    transition: border-color 0.2s ease;
}

input[type="email"]:focus,
input[type="text"]:focus,
select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.inline-input {
    padding: 8px 10px;
    font-size: 0.9rem;
    margin-bottom: 0;
}

button[type="submit"] {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.2s ease;
}

button[type="submit"]:hover {
    transform: scale(1.02);
    box-shadow: 0 0 16px var(--accent-glow);
}

/* ── Login Page ──────────────────────────────────────── */

.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
}

.login-card {
    width: 100%;
    max-width: 360px;
    padding: 40px 24px;
    text-align: center;
}

.login-logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s linear infinite;
    margin-bottom: 4px;
}

.login-subtitle {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.login-form {
    text-align: left;
}

.login-form input[type="email"] {
    margin-bottom: 16px;
}

.login-hint {
    color: var(--muted);
    font-size: 0.8rem;
    margin-top: 16px;
}

.login-error {
    background: rgba(239,68,68,0.12);
    color: var(--error);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.login-sent {
    margin-top: 8px;
}

.login-sent-icon {
    width: 48px;
    height: 48px;
    background: rgba(52,211,153,0.12);
    color: var(--success);
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.login-code-form {
    margin-top: 20px;
}

.login-code-form input[type="text"] {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    padding: 14px;
    margin-bottom: 16px;
}

/* ── Dev Banner ──────────────────────────────────────── */

.dev-banner {
    background: var(--accent-glow);
    color: var(--accent);
    font-size: 0.75rem;
    text-align: center;
    padding: 6px;
    letter-spacing: 0.05em;
}

/* ── Stagger Entrance ──────────────────────────────── */

.with-entrance > .logo-wordmark,
.with-entrance > .header-accent,
.with-entrance > h1,
.with-entrance > .header-subtitle,
.with-entrance > .sync-btn,
.with-entrance > .status-grid,
.with-entrance > .section-label,
.with-entrance > .txn-list,
.with-entrance > .subtitle,
.with-entrance > .card-group {
    opacity: 0;
}

/* ── Skeleton Loading ──────────────────────────────── */

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton {
    background: linear-gradient(90deg,
        rgba(255,255,255,0.03) 25%,
        rgba(255,255,255,0.06) 50%,
        rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-bar      { height: 3px; border-radius: 2px; margin-bottom: 14px; }
.skeleton-heading  { height: 24px; width: 70%; margin-bottom: 6px; }
.skeleton-subtitle { height: 14px; width: 45%; margin-bottom: 16px; }
.skeleton-btn      { height: 52px; border-radius: 14px; margin-bottom: 20px; }
.skeleton-card     { height: 70px; border-radius: 12px; }
.skeleton-label    { height: 12px; width: 35%; margin-top: 28px; margin-bottom: 10px; }
.skeleton-row      { height: 56px; border-radius: 10px; margin-bottom: 6px; }

/* ── Reduced Motion ──────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .sync-btn {
        animation: none;
    }
}

/* Sync run modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-card {
    background: var(--bg);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    max-width: 520px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 1.5rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover { color: var(--text); }

.modal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.modal-duration {
    color: var(--muted);
    font-size: 0.85rem;
}

.modal-meta {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.modal-counts {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.modal-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    color: var(--error);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.modal-section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin: 1rem 0 0.5rem;
}

.modal-txn-list, .modal-fail-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.modal-txn-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--surface-border);
    font-size: 0.85rem;
}

.modal-txn-desc { flex: 1; }
.modal-txn-dir { color: var(--muted); font-size: 0.75rem; }
.modal-txn-amount { font-weight: 500; }

.modal-fail-row {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--surface-border);
    font-size: 0.85rem;
}

.modal-fail-stage {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--warning);
}

.modal-fail-error { color: var(--error); }

.modal-loading {
    text-align: center;
    color: var(--muted);
    padding: 2rem;
}

.sync-run-row.clickable { cursor: pointer; }
.sync-run-row.clickable:hover { background: var(--surface-hover); }

.sync-run-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sync-run-counts {
    display: flex;
    gap: 0.5rem;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.count-success { color: var(--success); }
.count-failed { color: var(--error); }

.source-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 4px;
    padding: 0.1rem 0.4rem;
    color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
    .logo-wordmark,
    .login-logo,
    .header-accent {
        animation: none;
    }
}
