.admin-page,
.admin-login-page {
    min-height: 100dvh;
    background: #f5f7fa;
}

.admin-sidebar {
    position: fixed;
    z-index: 30;
    inset: 0 auto 0 0;
    width: 248px;
    display: flex;
    flex-direction: column;
    padding: 26px 18px;
    color: #fff;
    background: #111a2d;
}

.admin-brand {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 108px;
    margin: -26px -18px 24px;
    padding: 24px 22px;
    color: #fff;
    background: #111a2d;
    border-bottom: 1px solid rgba(255,255,255,.1);
    text-decoration: none;
}
.admin-brand img {
    width: 204px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: .96;
}
.admin-brand::after {
    content: "";
    position: absolute;
    left: 22px;
    width: 64px;
    height: 56px;
    background: url("logo.svg") left center / auto 100% no-repeat;
    pointer-events: none;
}

.admin-sidebar nav { display: grid; gap: 5px; }
.admin-sidebar nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    color: #c5cddd;
    border-radius: 9px;
    text-decoration: none;
    transition: color .18s, background .18s;
}
.admin-sidebar nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.admin-sidebar nav a:first-child { color: #fff; background: rgba(255,255,255,.1); }
.admin-sidebar nav svg { width: 21px; height: 21px; }

.admin-logout { margin-top: auto; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; }
.admin-logout button {
    min-height: 44px;
    width: 100%;
    color: #aeb8ca;
    background: transparent;
    border: 0;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
}
.admin-logout button:hover { color: #fff; }

.admin-workspace { min-height: 100dvh; margin-left: 248px; }
.flash-stack--admin { left: calc(50% + 124px); }

.admin-main { width: min(1320px, 100%); margin: 0 auto; padding: 44px clamp(26px, 4vw, 58px) 80px; }

.admin-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}
.admin-page-header--compact { align-items: center; }
.admin-page-header h1 { margin: 2px 0 0; color: var(--navy-950); font-size: clamp(34px, 4vw, 48px); line-height: 1.1; letter-spacing: -.035em; }
.admin-page-header p:not(.admin-kicker) { margin: 9px 0 0; color: var(--muted); }
.admin-kicker {
    margin: 0;
    color: var(--brand);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.admin-back {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
}
.admin-back:hover { color: var(--brand); }
.admin-back svg { width: 18px; height: 18px; }
.admin-header-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

.button--small { min-height: 42px; padding: 9px 15px; font-size: 14px; }
.button--danger-quiet { color: var(--error); background: #fff; border-color: #f0b2b6; }
.button--danger-quiet:hover { background: var(--error-bg); }
.button--danger { color: #fff; background: #b4232a; border-color: #b4232a; }
.button--danger:hover { background: #971c22; border-color: #971c22; }

.icon-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 9px;
    cursor: pointer;
    text-decoration: none;
}
.icon-button:hover { color: var(--navy-900); border-color: #aeb7c5; }
.icon-button svg { width: 19px; height: 19px; }

.test-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.test-admin-card {
    padding: 25px;
    background: #fff;
    border: 1px solid #e0e5ed;
    border-radius: 15px;
    box-shadow: 0 8px 26px rgba(17,24,39,.035);
}
.test-admin-card__top { display: flex; justify-content: space-between; align-items: center; }
.test-admin-card__date { color: #8993a5; font-size: 12px; }
.status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 720;
}
.status::before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; }
.status--published { color: var(--success); background: var(--success-bg); }
.status--published::before { background: var(--success); }
.status--draft { color: #6e7789; background: #f0f2f5; }
.status--draft::before { background: #929bad; }
.test-admin-card h2 { margin: 22px 0 8px; color: var(--navy-950); font-size: 22px; line-height: 1.3; }
.test-admin-card > p { min-height: 46px; margin: 0; color: var(--muted); font-size: 14px; }
.test-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 24px 0;
    padding: 16px 0;
    border-block: 1px solid #edf0f4;
}
.test-card-stats div { display: flex; flex-direction: column-reverse; }
.test-card-stats div + div { padding-left: 18px; border-left: 1px solid #edf0f4; }
.test-card-stats dt { color: var(--muted); font-size: 11px; }
.test-card-stats dd { margin: 0; color: var(--navy-950); font-size: 20px; font-weight: 720; }
.test-admin-card__actions { display: flex; justify-content: space-between; align-items: center; }

.admin-empty {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    text-align: center;
    background: #fff;
    border: 1px dashed #ccd3de;
    border-radius: 16px;
}
.admin-empty > span { width: 64px; height: 64px; display: grid; place-items: center; color: var(--brand); background: #fff3f3; border-radius: 50%; }
.admin-empty svg { width: 30px; height: 30px; }
.admin-empty h2 { margin: 20px 0 5px; }
.admin-empty p { margin: 0 0 22px; color: var(--muted); }

.admin-columns { display: grid; gap: 20px; }
.admin-panel {
    padding: clamp(22px, 3vw, 32px);
    background: #fff;
    border: 1px solid #e0e5ed;
    border-radius: 15px;
    box-shadow: 0 7px 24px rgba(17,24,39,.025);
}
.admin-panel__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}
.admin-panel__heading > div { display: flex; align-items: center; gap: 11px; }
.admin-panel__heading h2 { margin: 0; color: var(--navy-950); font-size: 21px; }
.section-index { color: var(--brand); font-size: 12px; font-weight: 760; }
.count-pill { min-width: 27px; padding: 2px 7px; color: var(--muted); background: var(--soft); border-radius: 20px; font-size: 12px; text-align: center; }

.admin-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; align-content: start; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field > span,
.status-picker legend {
    color: var(--navy-900);
    font-size: 13px;
    font-weight: 660;
}
.field b { color: var(--brand); }
.field input,
.field textarea,
.field select {
    width: 100%;
    min-height: 47px;
    padding: 11px 13px;
    color: var(--navy-950);
    background: #fff;
    border: 1px solid #ccd4df;
    border-radius: 8px;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--navy-900); box-shadow: 0 0 0 3px rgba(24,35,59,.08); }
.field small { color: var(--muted); font-size: 12px; }
.field-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }

.status-picker {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    border: 0;
}
.status-picker legend { width: 100%; margin-bottom: 1px; }
.status-picker label { position: relative; cursor: pointer; }
.status-picker input { position: absolute; opacity: 0; }
.status-picker span {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 8px;
}
.status-picker input:checked + span { color: var(--navy-900); border-color: var(--navy-900); box-shadow: 0 0 0 1px var(--navy-900); }

.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding-top: 4px; }
.form-actions__danger { margin-left: auto; }

.question-admin-list { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.question-admin-list li {
    min-height: 76px;
    display: grid;
    grid-template-columns: 38px 40px 1fr 42px;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: opacity .18s, border-color .18s;
}
.question-admin-list li.is-dragging { opacity: .45; border-color: var(--brand); }
.drag-handle { width: 38px; height: 44px; display: grid; place-items: center; color: #8d97a9; background: transparent; border: 0; cursor: grab; }
.drag-handle:active { cursor: grabbing; }
.drag-handle svg { width: 20px; height: 20px; stroke-width: 3.3; }
.question-admin-list__number { color: var(--brand); font-size: 13px; font-weight: 720; font-variant-numeric: tabular-nums; }
.question-admin-list__copy { display: grid; min-width: 0; }
.question-admin-list__copy strong { overflow: hidden; color: var(--navy-950); font-size: 14px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.question-admin-list__copy span { color: var(--muted); font-size: 12px; }
.questions-empty { padding: 28px; text-align: center; background: var(--soft); border-radius: 10px; }
.questions-empty p { margin: 0; color: var(--muted); }

.admin-panel--danger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.admin-panel--danger h2 { margin: 0; font-size: 17px; }
.admin-panel--danger p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.danger-actions { display: flex; gap: 8px; }

.delete-dialog {
    width: min(520px, calc(100% - 32px));
    margin: auto;
    padding: 0;
    color: var(--text);
    background: #fff;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 28px 90px rgba(8, 15, 30, .28);
}
.delete-dialog::backdrop { background: rgba(9, 16, 31, .6); backdrop-filter: blur(3px); }
.delete-dialog__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: 8px;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.delete-dialog__close:hover { color: var(--navy-950); background: var(--soft); }
.delete-dialog__step { padding: 38px; }
.delete-dialog__mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    color: #9a6700;
    background: #fff7df;
    border: 1px solid #f2d88d;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 800;
}
.delete-dialog__mark--danger { color: var(--error); background: var(--error-bg); border-color: #f0b2b6; }
.delete-dialog__step .eyebrow { margin-bottom: 10px; }
.delete-dialog__step h2 { margin: 0; color: var(--navy-950); font-size: 28px; line-height: 1.2; }
.delete-dialog__step > p:not(.eyebrow) { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.delete-dialog__step > p strong { color: var(--navy-950); }
.delete-dialog__note {
    margin-top: 20px;
    padding: 14px 16px;
    color: #46536a;
    background: var(--soft);
    border-left: 3px solid var(--brand);
    font-size: 14px;
}
.delete-dialog__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }

.question-editor { max-width: 1000px; }
.question-editor .admin-form { grid-template-columns: 1fr; }
.upload-field {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background: var(--soft);
    border: 1px dashed #c6cfdb;
    border-radius: 9px;
}
.upload-field > span { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; }
.upload-field svg { width: 20px; height: 20px; color: var(--muted); }
.upload-field input { flex: 1; min-width: 200px; }
.upload-field small { width: 100%; color: var(--muted); font-size: 12px; }
.upload-field img { width: 150px; max-height: 100px; object-fit: contain; border-radius: 7px; }

.answer-editor { padding: 22px; border: 1px solid var(--border); border-radius: 10px; }
.answer-editor legend { padding: 0 8px; color: var(--navy-950); font-weight: 680; }
.answer-editor legend small { margin-left: 8px; color: var(--muted); font-weight: 450; }
.answer-edit-row {
    display: grid;
    grid-template-columns: 34px 28px 1fr 40px;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
}
.correct-radio { position: relative; width: 30px; height: 30px; cursor: pointer; }
.correct-radio input { position: absolute; opacity: 0; }
.correct-radio span { position: absolute; inset: 4px; border: 1.5px solid #aeb8c7; border-radius: 50%; }
.correct-radio input:checked + span { border-color: var(--success); box-shadow: inset 0 0 0 5px #fff; background: var(--success); }
.answer-edit-row__number { color: var(--muted); font-size: 12px; text-align: center; }
.answer-edit-row > input {
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #ccd4df;
    border-radius: 8px;
}
.remove-answer { width: 38px; height: 38px; display: grid; place-items: center; color: var(--muted); background: transparent; border: 0; cursor: pointer; }
.remove-answer:hover { color: var(--error); }
.remove-answer svg { width: 18px; height: 18px; }
.add-answer {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 7px;
    padding: 8px 10px;
    color: var(--navy-900);
    background: transparent;
    border: 0;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}
.add-answer svg { width: 18px; height: 18px; }

.admin-login-wrap {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 30px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(246,248,251,.94)),
        repeating-linear-gradient(135deg, transparent 0 36px, rgba(24,35,59,.06) 37px 38px);
}
.login-card {
    width: min(470px, 100%);
    padding: 42px;
    background: #fff;
    border: 1px solid #e0e5ed;
    border-radius: 18px;
    box-shadow: 0 22px 70px rgba(17,24,39,.1);
}
.login-card .brand { margin-bottom: 40px; }
.login-card__heading h1 { margin: 0; font-size: 36px; letter-spacing: -.035em; }
.login-card__heading > p:last-child { margin: 9px 0 25px; color: var(--muted); }
.login-card .admin-form { grid-template-columns: 1fr; }
.login-card > .text-link { margin-top: 18px; }

.import-panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); gap: 32px; }
.import-methods { display: grid; gap: 18px; }
.import-source {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
}
.import-source--paste { background: var(--soft); }
.import-source__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--brand);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
}
.import-source__icon svg { width: 25px; height: 25px; }
.import-source h2 { margin: 1px 0 4px; font-size: 22px; }
.import-source > div > p { margin: 0; color: var(--muted); font-size: 14px; }
.import-source form {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}
.import-source--paste form { display: grid; }
.import-text-field {
    display: grid;
    gap: 7px;
}
.import-text-field > span { color: var(--navy-900); font-size: 13px; font-weight: 650; }
.import-text-field textarea {
    width: 100%;
    min-height: 300px;
    resize: vertical;
    padding: 15px;
    color: var(--navy-900);
    background: #fff;
    border: 1px solid #ccd4df;
    border-radius: 9px;
    font: 13px/1.55 Consolas, "SFMono-Regular", monospace;
    tab-size: 2;
}
.import-text-field textarea:focus {
    border-color: var(--navy-900);
    box-shadow: 0 0 0 3px rgba(24,35,59,.08);
    outline: 0;
}
.import-text-field small { color: var(--muted); font-size: 12px; }
.import-source--paste .button { justify-self: start; }
.import-divider {
    position: relative;
    height: 1px;
    margin: 2px 0;
    background: var(--border);
}
.import-divider span {
    position: absolute;
    left: 50%;
    top: 50%;
    padding: 0 10px;
    color: var(--muted);
    background: #fff;
    font-size: 11px;
    text-transform: uppercase;
    transform: translate(-50%, -50%);
}
.file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-button span {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    color: var(--navy-900);
    background: #fff;
    border: 1px solid #ccd4df;
    border-radius: 9px;
    cursor: pointer;
}
.file-button:has(input:focus-visible) span { outline: 3px solid rgba(227,30,36,.2); }
.import-help { padding: 18px 10px; }
.import-help h3 { margin: 0 0 20px; }
.import-help ul { display: grid; gap: 22px; padding: 0; list-style: none; }
.import-help li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.import-help li > span { color: var(--brand); font-size: 12px; font-weight: 720; }
.import-help strong { font-size: 14px; }
.import-help p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.import-help__links { display: grid; gap: 3px; margin-top: 14px; }
.import-help .text-link { font-size: 13px; }
.import-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 16px;
    background: var(--soft);
    border-radius: 9px;
}
.import-meta div { display: grid; }
.import-meta dt { color: var(--muted); font-size: 11px; }
.import-meta dd { margin: 0; font-weight: 650; }
.preview-questions {
    max-height: 340px;
    display: grid;
    gap: 8px;
    margin: 18px 0 24px;
    padding-right: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}
.preview-questions article {
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
}
.preview-questions span { color: var(--brand); font-size: 12px; font-weight: 700; }
.preview-questions p { margin: 0; }
.mapping-form { margin-top: 24px; }
.csv-sample { grid-column: 1 / -1; overflow-x: auto; border: 1px solid var(--border); border-radius: 9px; }
.csv-sample table { min-width: 640px; width: 100%; border-collapse: collapse; font-size: 12px; }
.csv-sample th, .csv-sample td { padding: 10px; border-bottom: 1px solid var(--border); text-align: left; }
.csv-sample th { color: var(--muted); background: var(--soft); }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.metric-grid article { padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.metric-grid span { display: block; color: var(--muted); font-size: 12px; }
.metric-grid strong { color: var(--navy-950); font-size: 30px; letter-spacing: -.03em; }
.stats-columns { display: grid; grid-template-columns: 1.4fr .8fr; gap: 20px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { padding: 10px 12px; color: var(--muted); background: var(--soft); font-size: 11px; text-align: left; }
.admin-table td { padding: 12px; border-bottom: 1px solid #edf0f4; }
.hardest-list { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.hardest-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #edf0f4; }
.hardest-list div { display: grid; }
.hardest-list strong { font-size: 13px; line-height: 1.35; }
.hardest-list span { color: var(--muted); font-size: 11px; }
.hardest-list b { color: var(--error); }
.hardest-list .muted { color: var(--muted); }

@media (max-width: 1050px) {
    .admin-sidebar { width: 82px; padding-inline: 13px; }
    .admin-brand {
        min-height: 88px;
        margin: -26px -13px 20px;
        padding: 18px 13px;
        justify-content: center;
    }
    .admin-brand::after { left: 13px; width: 56px; height: 50px; }
    .admin-brand img { width: 56px; height: 50px; object-fit: cover; object-position: left; }
    .admin-sidebar nav a { font-size: 0; }
    .admin-sidebar nav a { justify-content: center; }
    .admin-sidebar nav svg { width: 23px; height: 23px; }
    .admin-workspace { margin-left: 82px; }
    .flash-stack--admin { left: calc(50% + 41px); }
    .stats-columns { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
    .test-grid { grid-template-columns: 1fr; }
    .admin-page-header { align-items: flex-start; flex-direction: column; }
    .admin-header-actions { justify-content: flex-start; }
    .field-row { grid-template-columns: 1fr; }
    .import-panel { grid-template-columns: 1fr; }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-panel--danger { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
    .admin-sidebar {
        position: fixed;
        inset: auto 0 0;
        width: auto;
        height: 70px;
        flex-direction: row;
        align-items: center;
        padding: 8px 12px;
    }
    .admin-brand { display: none; }
    .admin-sidebar nav { flex: 1; display: flex; justify-content: space-around; }
    .admin-sidebar nav a { min-width: 54px; min-height: 50px; padding: 9px; }
    .admin-logout { margin: 0; padding: 0 0 0 8px; border-top: 0; border-left: 1px solid rgba(255,255,255,.1); }
    .admin-logout button { width: 44px; font-size: 0; }
    .admin-logout button::after { content: "↗"; font-size: 18px; }
    .admin-workspace { margin-left: 0; padding-bottom: 76px; }
    .flash-stack--admin { left: 50%; }
    .admin-main { padding: 28px 14px 48px; }
    .admin-form { grid-template-columns: 1fr; }
    .field--full { grid-column: 1; }
    .question-admin-list li { grid-template-columns: 28px 26px 1fr 38px; gap: 6px; padding-inline: 6px; }
    .question-admin-list__copy span { display: none; }
    .danger-actions { flex-direction: column; }
    .delete-dialog__step { padding: 30px 22px 24px; }
    .delete-dialog__actions { flex-direction: column-reverse; }
    .delete-dialog__actions .button { width: 100%; }
    .form-actions { flex-wrap: wrap; }
    .form-actions__danger { margin-left: 0; }
    .answer-editor { padding: 14px 8px; }
    .answer-edit-row { grid-template-columns: 30px 20px 1fr 34px; gap: 4px; }
    .import-source { grid-template-columns: 44px 1fr; padding: 20px 14px; }
    .import-source__icon { width: 44px; height: 44px; }
    .import-source--file form { width: 100%; flex-direction: column; align-items: stretch; }
    .file-button, .file-button span, .import-source--file .button { width: 100%; }
    .import-source--paste .button { width: 100%; }
    .import-meta { grid-template-columns: 1fr; gap: 10px; }
    .metric-grid { grid-template-columns: 1fr 1fr; }
    .login-card { padding: 30px 22px; }
}
