:root {
    color-scheme: light;
    --ink: #17213b;
    --muted: #64708b;
    --line: #e5e9f2;
    --surface: #ffffff;
    --surface-soft: #f7f9fd;
    --primary: #4b5bdc;
    --primary-dark: #3747c2;
    --accent: #35b9a3;
    --danger: #c94f63;
    --shadow: 0 24px 70px rgba(35, 48, 91, 0.11);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 0%, rgba(95, 113, 231, 0.12), transparent 32rem),
        radial-gradient(circle at 95% 12%, rgba(53, 185, 163, 0.1), transparent 28rem),
        #f5f7fb;
    font-size: 15px;
    line-height: 1.55;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

button,
input {
    font: inherit;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand:hover {
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #6674e7, #3f50cb);
    border-radius: 11px;
    box-shadow: 0 8px 18px rgba(75, 91, 220, 0.25);
    font-size: 15px;
    font-weight: 800;
}

.user-chip {
    max-width: 270px;
    overflow: hidden;
    padding: 8px 13px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(229, 233, 242, 0.9);
    border-radius: 999px;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-link {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.header-link:hover {
    color: var(--primary-dark);
}

.language-switcher {
    display: inline-flex;
    gap: 3px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(229, 233, 242, 0.9);
    border-radius: 999px;
}

.language-switcher a {
    padding: 5px 8px;
    color: var(--muted);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.language-switcher a:hover,
.language-switcher a.is-active {
    color: var(--primary-dark);
    background: #fff;
    text-decoration: none;
}

.page-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 80px;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
    align-items: center;
    gap: clamp(40px, 8vw, 120px);
    min-height: calc(100vh - 150px);
}

.auth-intro {
    max-width: 580px;
    padding-bottom: 30px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    letter-spacing: -0.045em;
    line-height: 1.12;
}

h1 {
    font-size: clamp(32px, 5vw, 58px);
}

h2 {
    font-size: 27px;
}

.auth-intro h1 {
    max-width: 570px;
}

.lede {
    max-width: 480px;
    margin: 25px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.intro-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.intro-points span {
    padding: 9px 12px;
    color: #445174;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(229, 233, 242, 0.95);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.auth-card,
.form-card,
.form-card-wide {
    padding: clamp(26px, 4vw, 42px);
}

.form-card,
.form-card-wide {
    width: min(100%, 700px);
    margin: 0 auto;
}

.form-card {
    max-width: 520px;
}

.form-card-wide {
    max-width: 880px;
}

.centered-layout {
    padding-top: 20px;
}

.error-layout {
    display: grid;
    align-items: center;
    min-height: calc(100vh - 190px);
}

.error-card {
    width: min(100%, 650px);
    padding: clamp(28px, 5vw, 54px);
}

.error-status {
    margin: 8px 0 18px;
    color: var(--primary);
    font-size: clamp(68px, 12vw, 122px);
    font-weight: 850;
    letter-spacing: -0.07em;
    line-height: 0.9;
}

.error-card h1 {
    max-width: 540px;
    font-size: clamp(28px, 4vw, 44px);
}

.error-card p:not(.eyebrow):not(.error-reference) {
    max-width: 560px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.error-reference {
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.card-heading {
    margin-bottom: 27px;
}

.card-heading h1 {
    font-size: clamp(30px, 4vw, 44px);
}

.card-heading h2 {
    margin-bottom: 8px;
}

.card-heading p:not(.eyebrow) {
    margin: 11px 0 0;
    color: var(--muted);
}

.download-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    margin-bottom: 28px;
    padding: 20px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.download-panel h2 {
    font-size: 21px;
}

.download-panel p:not(.eyebrow) {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.form-stack {
    display: grid;
    gap: 19px;
}

.compact-form {
    max-width: 360px;
    margin-top: 30px;
}

.field {
    display: grid;
    gap: 7px;
}

label {
    color: #384562;
    font-size: 13px;
    font-weight: 750;
}

input {
    width: 100%;
    padding: 13px 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #d9dfeb;
    border-radius: 12px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(75, 91, 220, 0.12);
}

select {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #d9dfeb;
    border-radius: 12px;
    font: inherit;
}

select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(75, 91, 220, 0.12);
}

input[type="checkbox"],
input[type="radio"] {
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    accent-color: var(--primary);
}

.stack-form {
    display: grid;
    gap: 16px;
}

.stack-form > label {
    display: grid;
    gap: 7px;
}

.check-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #384562;
    font-size: 14px;
    font-weight: 700;
}

.field-hint,
.form-footnote {
    color: var(--muted);
    font-size: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 16px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #6774e5);
    box-shadow: 0 10px 22px rgba(75, 91, 220, 0.23);
}

.button-primary:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-dark), #5967d8);
    text-decoration: none;
}

.button-secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
}

.button-secondary:hover {
    color: var(--primary-dark);
    background: #fff;
    border-color: #cbd3e5;
    text-decoration: none;
}

.button-danger {
    color: #8b3044;
    background: #fff0f2;
    border: 1px solid #f5cbd3;
}

.button-danger:hover {
    color: #72273a;
    background: #ffe5e9;
    border-color: #edb4bf;
    text-decoration: none;
}

.inline-form {
    display: inline-flex;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

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

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.status-queued,
.status-acknowledged {
    color: #67531e;
    background: #fff5d6;
}

.status-running {
    color: #3157a6;
    background: #eaf0ff;
}

.status-succeeded {
    color: #2b665b;
    background: #edfaf6;
}

.status-verified,
.status-passed,
.status-clear,
.status-pass {
    color: #2b665b;
    background: #edfaf6;
}

.status-warning,
.status-pending,
.status-not_required,
.status-timed_out,
.status-unknown,
.status-no_data,
.status-stale {
    color: #67531e;
    background: #fff5d6;
}

.status-unavailable,
.status-vulnerable {
    color: #8b3044;
    background: #fff0f2;
}

.status-failed,
.status-expired,
.status-cancelled {
    color: #8b3044;
    background: #fff0f2;
}

.status-active,
.status-paired {
    color: #2b665b;
    background: #edfaf6;
}

.status-pairing_pending,
.status-draft {
    color: #67531e;
    background: #fff5d6;
}

.status-revoked {
    color: #8b3044;
    background: #fff0f2;
}

.sync-pill {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.sync-current {
    color: #2b665b;
    background: #edfaf6;
}

.sync-stale,
.sync-waiting {
    color: #67531e;
    background: #fff5d6;
}

.sync-unreachable {
    color: #8b3044;
    background: #fff0f2;
}

.form-footnote {
    margin: 22px 0 0;
    text-align: center;
}

.site-detail-content {
    display: grid;
    gap: 24px;
}

.site-detail-content > .alert,
.site-detail-content > .card,
.site-detail-content > details,
.site-detail-content > .stat-grid {
    margin-top: 0;
    margin-bottom: 0;
}

.compact-list h3 {
    margin: 0 0 14px;
}

.compact-list {
    display: grid;
    gap: 0;
    margin-top: 26px;
    border-top: 1px solid var(--line);
}

.compact-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.vulnerability-list {
    margin-top: 32px;
}

.detail-panel > .section-heading {
    padding-right: 24px;
    padding-left: 24px;
}

.detail-empty-state {
    margin: 0 24px 24px;
    padding: 34px 18px;
    background: var(--surface-soft);
    border: 1px dashed var(--line);
    border-radius: 14px;
}

.detail-list {
    margin: 20px 24px 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.detail-list .compact-list-row {
    padding: 14px 18px;
}

.detail-list .compact-list-row:last-child {
    border-bottom: 0;
}

.detail-list > h3 {
    margin: 0;
    padding: 18px;
    border-bottom: 1px solid var(--line);
}

.detail-list.vulnerability-list {
    margin-top: 24px;
}

.detail-list .empty-state {
    margin: 0;
    padding: 36px 18px;
}

.diagnostic-table-header,
.diagnostic-row {
    display: grid;
    grid-template-columns: minmax(210px, 1.05fr) minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 24px;
    text-align: left;
}

.diagnostic-table-header {
    padding: 12px 18px;
    color: var(--muted);
    background: var(--surface-soft);
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.diagnostic-row {
    min-height: 60px;
}

.diagnostic-label,
.diagnostic-value {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: left;
}

.diagnostic-value {
    color: #42506d;
}

.diagnostic-row .status-pill {
    justify-self: end;
}

.alert {
    margin: 0 0 21px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
}

.alert-error {
    color: #8b3044;
    background: #fff0f2;
    border: 1px solid #f5cbd3;
}

.alert-success {
    color: #2b665b;
    background: #edfaf6;
    border: 1px solid #c9eee4;
}

.alert-warning {
    color: #67531e;
    background: #fff9e8;
    border: 1px solid #f3df9d;
}

.notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 26px;
    padding: 13px 15px;
    color: #2b665b;
    background: #edfaf6;
    border: 1px solid #c9eee4;
    border-radius: 14px;
    font-size: 13px;
}

.notice p {
    margin: 0;
}

.notice-icon {
    display: grid;
    flex: 0 0 auto;
    width: 21px;
    height: 21px;
    place-items: center;
    color: #fff;
    background: var(--accent);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.enrollment-grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
    padding: 25px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.qr-panel {
    text-align: center;
}

.qr-frame {
    display: inline-flex;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(35, 48, 91, 0.08);
}

.qr-frame img {
    display: block;
    width: 210px;
    height: 210px;
}

.qr-caption {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.qr-caption strong {
    color: var(--ink);
    font-weight: 700;
}

.instruction-list {
    display: grid;
    gap: 18px;
}

.instruction {
    display: grid;
    grid-template-columns: 29px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.instruction p {
    margin: 2px 0 0;
    color: #53607c;
}

.step-number {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    color: var(--primary);
    background: #e9ecff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.manual-fallback {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.manual-fallback summary {
    color: var(--primary);
    cursor: pointer;
    font-size: 13px;
    font-weight: 750;
}

.manual-secret {
    display: grid;
    gap: 7px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
}

code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.manual-secret code,
.recovery-codes code {
    padding: 8px 10px;
    color: #35436d;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 12px;
    letter-spacing: 0.04em;
    word-break: break-all;
}

.recovery-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 270px);
    gap: 25px;
    margin-top: 25px;
    padding: 20px;
    background: #fff9e9;
    border: 1px solid #f2dfae;
    border-radius: 16px;
}

.recovery-panel h2 {
    font-size: 21px;
}

.recovery-panel p:not(.eyebrow) {
    margin: 8px 0 0;
    color: #75633a;
    font-size: 13px;
}

.recovery-codes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    align-content: start;
}

.recovery-codes code {
    color: #735a19;
    background: rgba(255, 255, 255, 0.7);
    border-color: #ecdba9;
    text-align: center;
}

.page-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.page-title h1 {
    font-size: clamp(32px, 5vw, 48px);
}

.page-title p {
    margin: 10px 0 0;
    color: var(--muted);
}

.button-small {
    width: auto;
    white-space: nowrap;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.stat-card {
    display: grid;
    gap: 4px;
    min-height: 100px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.stat-card .eyebrow {
    margin-bottom: 0;
}

.stat-card strong {
    overflow: hidden;
    color: var(--ink);
    font-size: 24px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stat-card small {
    color: var(--muted);
    font-size: 12px;
}

.filters-card {
    margin-bottom: 22px;
    padding: 18px;
}

.filters-form {
    display: grid;
    grid-template-columns: minmax(190px, 1.5fr) minmax(150px, 1fr) minmax(150px, 1fr) minmax(150px, 1fr) auto;
    align-items: end;
    gap: 12px;
}

.filters-form label {
    display: grid;
    gap: 6px;
}

.filters-form label span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.filters-form input,
.filters-form select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.filter-actions {
    display: flex;
    gap: 8px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 14px 10px;
}

.section-heading h2 {
    font-size: 23px;
}

.section-lede {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.updates-focus-card {
    margin-bottom: 22px;
}

.operation-progress {
    margin-bottom: 22px;
    padding: 22px;
}

.operation-progress-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.operation-progress-heading h2 {
    font-size: 23px;
}

.operation-progress-track {
    height: 12px;
    margin: 18px 0 12px;
    overflow: hidden;
    background: #edf0f7;
    border-radius: 999px;
}

.operation-progress-bar {
    display: block;
    height: 100%;
    min-width: 4px;
    background: linear-gradient(90deg, var(--primary), #7282ef);
    border-radius: inherit;
    transition: width 300ms ease;
}

.operation-progress-summary {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
}

.operation-progress-current,
.operation-progress-hint {
    margin: 7px 0 0;
    font-size: 13px;
}

.updates-focus-card table {
    min-width: 680px;
}

.update-group + .update-group {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.update-group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 14px 8px;
}

.update-group-heading .eyebrow {
    margin-bottom: 3px;
}

.update-group-heading h3 {
    margin: 0;
    color: var(--ink);
    font-size: 17px;
    letter-spacing: -0.02em;
}

.count-badge {
    display: inline-grid;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    place-items: center;
    color: var(--primary-dark);
    background: #e9ecff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.inventory-details {
    margin-top: 22px;
    overflow: hidden;
}

.inventory-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}

.inventory-details summary::-webkit-details-marker {
    display: none;
}

.inventory-details summary::after {
    content: "→";
    color: var(--primary);
    font-size: 18px;
    transition: transform 160ms ease;
}

.inventory-details[open] summary::after {
    transform: rotate(90deg);
}

.inventory-details summary .eyebrow {
    display: block;
    margin-bottom: 4px;
}

.inventory-details-content {
    padding: 0 8px 8px;
    overflow: auto;
}

.table-card {
    overflow: auto;
    padding: 8px;
}

.detail-card {
    padding: 8px 22px 22px;
}

table {
    width: 100%;
    min-width: 880px;
    border-collapse: collapse;
}

th,
td {
    padding: 15px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

td {
    color: #42506d;
    font-size: 13px;
}

td strong {
    color: var(--ink);
}

.empty-state {
    padding: 55px 20px;
    color: var(--muted);
    text-align: center;
}

dl {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    margin: 0;
}

dt,
dd {
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

dd {
    color: var(--ink);
}

@media (max-width: 760px) {
    .detail-panel > .section-heading {
        padding-right: 20px;
        padding-left: 20px;
    }

    .detail-empty-state,
    .detail-list {
        margin-right: 20px;
        margin-left: 20px;
    }

    .detail-list .compact-list-row {
        padding: 13px 16px;
    }

    .compact-list-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .diagnostic-table-header {
        display: none;
    }

    .diagnostic-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 4px 14px;
        align-items: start;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .diagnostic-label,
    .diagnostic-value {
        grid-column: 1;
    }

    .diagnostic-row .status-pill {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
    }

    .site-header,
    .page-shell {
        width: min(100% - 28px, 1180px);
    }

    .page-shell {
        padding-top: 20px;
    }

    .header-meta {
        gap: 8px;
    }

    .user-chip {
        max-width: 150px;
    }

    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filters-form {
        grid-template-columns: 1fr 1fr;
    }

    .filter-actions {
        grid-column: 1 / -1;
    }

    .auth-layout {
        display: block;
        min-height: auto;
    }

    .auth-intro {
        padding: 35px 0 32px;
    }

    .auth-intro h1 {
        font-size: 40px;
    }

    .enrollment-grid,
    .recovery-panel,
    .download-panel {
        grid-template-columns: 1fr;
    }

    .enrollment-grid {
        gap: 28px;
    }

    .qr-frame img {
        width: 190px;
        height: 190px;
    }

    .page-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .button-small {
        width: auto;
    }

    dl {
        grid-template-columns: 1fr;
    }

    dd {
        padding-top: 0;
    }
}
