:root {
    --background: #f6f7f9;
    --surface: #ffffff;
    --text: #1f2933;
    --muted: #5b6776;
    --line: #d8dee7;
    --accent: #0f766e;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

.topbar {
    align-items: center;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding: 16px clamp(16px, 4vw, 48px);
}

.brand {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.topbar nav a {
    color: var(--muted);
    text-decoration: none;
}

.container {
    margin: 0 auto;
    max-width: 1040px;
    padding: 40px 16px;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(24px, 5vw, 48px);
}

.panel h1 {
    font-size: clamp(32px, 6vw, 56px);
    line-height: 1.1;
    margin: 0 0 12px;
}

.panel p {
    color: var(--muted);
    margin: 0;
    max-width: 620px;
}

.grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 16px;
}

.grid article {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
}

.grid h2 {
    font-size: 18px;
    margin: 0 0 8px;
}

.grid p {
    color: var(--muted);
    margin: 0;
}

.button {
    background: var(--accent);
    border-radius: 6px;
    color: #ffffff;
    display: inline-block;
    margin-top: 20px;
    padding: 10px 14px;
    text-decoration: none;
}

.auth-page {
    background:
        radial-gradient(circle at top left, rgba(190, 18, 60, 0.16), transparent 30rem),
        radial-gradient(circle at bottom right, rgba(127, 29, 29, 0.12), transparent 28rem),
        linear-gradient(135deg, #fff7f7 0%, #f3f5f8 100%);
    min-height: 100vh;
}

.auth-header {
    align-items: center;
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 48%, #111820 100%);
    box-shadow: 0 12px 30px rgba(127, 29, 29, 0.22);
    display: flex;
    height: 72px;
    justify-content: center;
    padding: 12px 20px;
}

.auth-logo-link {
    display: inline-flex;
    max-width: min(220px, 64vw);
}

.auth-logo-link img {
    display: block;
    max-height: 42px;
    max-width: 100%;
    object-fit: contain;
}

.auth-main {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 72px);
    padding: 28px 16px;
}

.login-shell {
    max-width: 360px;
    width: 100%;
}

.login-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(248, 184, 184, 0.65);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(127, 29, 29, 0.13);
    padding: 28px 32px 30px;
}

.login-eyebrow {
    color: #b91c1c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 7px;
    text-transform: uppercase;
}

.login-card h1 {
    color: #151b23;
    font-size: 27px;
    line-height: 1.1;
    margin: 0 0 22px;
}

.login-form {
    display: grid;
    gap: 14px;
}

.login-alert {
    border-radius: 6px;
    font-size: 15px;
    margin: -12px 0 22px;
    padding: 12px 14px;
}

.login-alert.error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
}

.login-alert.success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.eligible-shell {
    max-width: 720px;
    width: 100%;
}

.eligible-card {
    animation: cardEnter 0.22s ease-out both;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(248, 184, 184, 0.7);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(127, 29, 29, 0.1);
    padding: 30px;
}

.eligible-heading {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 22px;
}

.eligible-heading h1 {
    color: #151b23;
    font-size: 34px;
    line-height: 1.1;
    margin: 0;
}

.eligible-profile {
    align-items: center;
    background: #ffffff;
    border: 1px solid #ead5d5;
    border-radius: 8px;
    display: grid;
    gap: 18px;
    grid-template-columns: 96px minmax(0, 1fr);
    margin-bottom: 16px;
    padding: 18px;
}

.eligible-photo {
    aspect-ratio: 1;
    border: 1px solid #ead5d5;
    border-radius: 8px;
    height: 96px;
    object-fit: cover;
    width: 96px;
}

.eligible-identity {
    min-width: 0;
}

.eligible-name-row {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    min-width: 0;
}

.eligible-identity h2 {
    color: #151b23;
    font-size: 25px;
    line-height: 1.15;
    margin: 0;
    overflow-wrap: anywhere;
}

.verified-pill {
    animation: verifiedEnter 0.32s ease-out 0.12s both;
    align-items: center;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    color: #166534;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    gap: 6px;
    padding: 5px 9px;
}

.verified-pill svg {
    fill: none;
    height: 14px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    width: 14px;
}

.guest-meta {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.guest-meta div {
    display: grid;
    gap: 2px;
}

.guest-meta dt {
    color: #9f1239;
    font-size: 11px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.guest-meta dd {
    color: #756064;
    font-size: 15px;
    margin: 0;
    overflow-wrap: anywhere;
}

.benefit-copy {
    background: #ffffff;
    border: 1px solid #ead5d5;
    border-left: 4px solid #16a34a;
    border-radius: 6px;
    color: #344054 !important;
    line-height: 1.48;
    margin: 0 0 18px;
    padding: 18px 20px;
}

.benefit-copy h3 {
    color: #151b23;
    font-size: 18px;
    margin: 0 0 10px;
}

.benefit-copy p {
    margin: 0;
}

.benefit-copy p + p {
    margin-top: 10px;
}

.eligible-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.eligible-actions .login-button {
    min-width: 170px;
    width: auto;
}

.authorization-shell {
    max-width: 1040px;
    width: 100%;
}

.authorization-card {
    animation: cardEnter 0.22s ease-out both;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(248, 184, 184, 0.7);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(127, 29, 29, 0.1);
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(340px, 390px) minmax(420px, 1fr);
    overflow: hidden;
    padding: 34px;
}

.authorization-heading {
    display: flex;
    gap: 16px;
    grid-column: 1 / -1;
    justify-content: space-between;
}

.authorization-heading h1 {
    color: #151b23;
    font-size: 38px;
    line-height: 1.1;
    margin: 0 0 8px;
}

.authorization-heading p {
    color: #667085;
    margin: 0;
}

.authorization-card > .login-alert {
    grid-column: 1 / -1;
    margin: -10px 0 0;
}

.secure-badge {
    align-items: center;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    color: #166534;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 700;
    gap: 7px;
    height: 38px;
    padding: 0 12px;
}

.secure-badge svg {
    fill: none;
    height: 17px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 17px;
}

.card-preview {
    align-self: start;
    min-height: 240px;
    perspective: 1000px;
    position: relative;
    width: 100%;
}

.card-face {
    backface-visibility: hidden;
    background:
        radial-gradient(circle at 86% 14%, rgba(255, 255, 255, 0.2), transparent 20%),
        linear-gradient(135deg, #111827 0%, #7f1d1d 54%, #1f171d 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    bottom: 0;
    box-shadow: 0 22px 46px rgba(127, 29, 29, 0.26);
    color: #ffffff;
    display: grid;
    left: 0;
    min-height: 240px;
    overflow: hidden;
    padding: 26px;
    position: absolute;
    right: 0;
    top: 0;
    transform-style: preserve-3d;
    transition: transform 420ms ease;
}

.card-front {
    transform: rotateY(0deg);
}

.card-back {
    background:
        radial-gradient(circle at 20% 100%, rgba(255, 255, 255, 0.16), transparent 26%),
        linear-gradient(135deg, #111827 0%, #7f1d1d 54%, #1f171d 100%);
    transform: rotateY(180deg);
}

.card-preview.is-flipped .card-front {
    transform: rotateY(-180deg);
}

.card-preview.is-flipped .card-back {
    transform: rotateY(0deg);
}

.card-sheen {
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.12) 44%, transparent 66%);
    bottom: -60%;
    left: -30%;
    position: absolute;
    top: -60%;
    transform: rotate(8deg);
    width: 70%;
}

.card-preview-top,
.card-preview-bottom {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.card-chip {
    background:
        linear-gradient(135deg, #f8fafc, #cbd5e1);
    border-radius: 5px;
    display: block;
    height: 34px;
    position: relative;
    width: 52px;
}

.card-chip::after {
    border-left: 1px solid rgba(127, 29, 29, 0.22);
    border-right: 1px solid rgba(127, 29, 29, 0.22);
    content: "";
    height: 100%;
    left: 50%;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 16px;
}

.card-preview-top strong {
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    letter-spacing: 0.8px;
}

.card-number-control {
    display: grid;
    position: relative;
}

.card-number-control input {
    padding-right: 94px;
}

.input-card-brand {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e5e9f0;
    border-radius: 5px;
    display: inline-flex;
    height: 30px;
    justify-content: center;
    min-width: 66px;
    opacity: 0;
    padding: 4px 7px;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(calc(-50% - 4px));
    transition: opacity 180ms ease, transform 180ms ease;
    width: auto;
}

.input-card-brand.is-visible {
    opacity: 1;
    transform: translateY(-50%);
}

.input-card-brand[hidden] {
    display: none;
}

.input-card-brand img {
    display: block;
    max-height: 25px;
    max-width: 66px;
}

.card-preview-top strong {
    font-size: 14px;
}

.card-preview-number {
    align-self: center;
    font-family: "Courier New", monospace;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1.4px;
    position: relative;
}

.card-preview-label {
    align-self: end;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    position: relative;
    text-transform: uppercase;
}

.card-preview-bottom {
    align-self: end;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    gap: 18px;
    position: relative;
    text-transform: uppercase;
}

.card-back-strip {
    background: rgba(0, 0, 0, 0.58);
    height: 42px;
    margin: 8px -22px 0;
}

.card-back-row {
    align-items: center;
    align-self: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 6px;
    color: #151b23;
    display: flex;
    justify-content: space-between;
    min-height: 42px;
    padding: 0 12px;
}

.card-back-row span {
    color: #667085;
    font-size: 12px;
}

.card-back-row strong {
    font-family: "Courier New", monospace;
    font-size: 17px;
}

.card-back p {
    align-self: end;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    margin: 0;
    text-align: right;
}

.card-form {
    display: grid;
    gap: 14px 16px;
    grid-template-columns: 1fr 1fr;
    min-width: 0;
}

.card-field {
    display: grid;
    gap: 7px;
}

.card-field.full,
.authorization-note.full,
.card-form .login-button.full {
    grid-column: 1 / -1;
}

.card-field span {
    color: #344054;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.card-field input {
    background: #ffffff;
    border: 1px solid #d9e0ea;
    border-radius: 6px;
    color: #151b23;
    font: inherit;
    font-size: 16px;
    min-height: 46px;
    min-width: 0;
    outline: 0;
    padding: 9px 11px;
}

.card-field input:focus {
    border-color: #b91c1c;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

.card-field small {
    color: #b91c1c;
    font-size: 12px;
    min-height: 14px;
}

.card-field.has-error input {
    border-color: #fca5a5;
}

.card-form .login-button:disabled {
    background: #b8bec7;
    cursor: default;
}

.authorization-note {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-left: 4px solid #16a34a;
    border-radius: 6px;
    color: #344054;
    display: grid;
    gap: 4px;
    padding: 11px 13px 11px 15px;
}

.authorization-note strong {
    align-items: center;
    color: #14532d;
    display: inline-flex;
    gap: 8px;
}

.authorization-note strong svg,
.secure-submit-button svg {
    fill: none;
    flex: 0 0 auto;
    height: 17px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 17px;
}

.authorization-note span {
    color: #475467;
    font-size: 14px;
}

.secure-submit-button {
    gap: 8px;
}

.review-shell {
    max-width: 520px;
    width: 100%;
}

.review-card {
    animation: cardEnter 0.22s ease-out both;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(248, 184, 184, 0.7);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(127, 29, 29, 0.1);
    padding: 34px;
    text-align: center;
}

.review-icon {
    align-items: center;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    color: #16a34a;
    display: inline-flex;
    height: 58px;
    justify-content: center;
    margin-bottom: 18px;
    width: 58px;
}

.review-icon svg {
    fill: none;
    height: 32px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    width: 32px;
}

.review-card h1 {
    color: #151b23;
    font-size: 34px;
    line-height: 1.1;
    margin: 0 0 14px;
}

.review-copy {
    color: #667085;
    margin: 0 0 18px;
}

.review-benefit {
    background: #ffffff;
    border: 1px solid #ead5d5;
    border-left: 4px solid #16a34a;
    border-radius: 6px;
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    padding: 16px;
    text-align: left;
}

.review-benefit strong {
    color: #14532d;
}

.review-benefit span {
    color: #344054;
}

@media (max-width: 900px) {
    .authorization-shell {
        max-width: 680px;
    }

    .authorization-card {
        grid-template-columns: 1fr;
    }

    .card-preview {
        max-width: 430px;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes verifiedEnter {
    from {
        opacity: 0;
        transform: translateY(3px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.field {
    align-items: center;
    border-bottom: 1px solid #d8b4b4;
    display: grid;
    gap: 10px;
    grid-template-columns: 22px 1fr;
    min-height: 42px;
}

.field:focus-within {
    border-color: #dc2626;
}

.field-icon {
    color: #7f1d1d;
    display: inline-flex;
}

.field-icon svg {
    fill: none;
    height: 21px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 21px;
}

.field input {
    background: transparent;
    border: 0;
    color: var(--text);
    font: inherit;
    font-size: 16px;
    min-width: 0;
    outline: 0;
    padding: 8px 0;
}

.field input::placeholder {
    color: #8b6f72;
}

.remember-row {
    align-items: center;
    color: #756064;
    display: inline-flex;
    font-size: 14px;
    gap: 8px;
    margin-top: -2px;
}

.remember-row input {
    accent-color: #dc2626;
    height: 16px;
    width: 16px;
}

.honeypot-field {
    height: 0;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

.login-button {
    align-items: center;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    justify-content: center;
    min-height: 46px;
    padding: 10px 14px;
    text-decoration: none;
    width: 100%;
}

.login-button:disabled {
    cursor: wait;
    opacity: 0.9;
}

.button-spinner {
    animation: spin 0.75s linear infinite;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 999px;
    display: none;
    height: 18px;
    margin-right: 8px;
    width: 18px;
}

.login-button.is-loading .button-spinner {
    display: inline-block;
}

.login-button.primary {
    background: #b91c1c;
    color: #ffffff;
}

.login-button.primary:hover {
    background: #991b1b;
}

.login-button.secondary {
    background: #fff1f2;
    color: #7f1d1d;
}

.login-button.secondary:hover {
    background: #ffe4e6;
}

.sr-only {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.admin-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 18px;
    padding: 24px;
}

.admin-header {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.admin-header.compact {
    margin-bottom: 12px;
}

.admin-eyebrow {
    color: #b91c1c;
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.admin-header h1,
.admin-panel h2 {
    margin: 0;
}

.admin-count {
    color: var(--muted);
    margin: 4px 0 0;
}

.admin-login-link {
    margin-top: 0;
}

.admin-actions {
    display: flex;
    gap: 10px;
}

.admin-secondary-link {
    background: #eef1f4;
    color: #39424e;
    margin-top: 0;
}

.danger-button {
    background: #991b1b;
    margin-top: 0;
}

.admin-login-panel {
    margin: 0 auto;
    max-width: 380px;
}

.admin-login-panel h1 {
    margin: 0 0 18px;
}

.admin-auth-form {
    display: grid;
    gap: 14px;
}

.admin-auth-form label {
    color: var(--muted);
    display: grid;
    gap: 6px;
}

.admin-auth-form input {
    border: 1px solid var(--line);
    border-radius: 6px;
    font: inherit;
    padding: 10px;
}

.import-form {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr auto;
}

.import-form label {
    color: var(--muted);
    display: grid;
    gap: 8px;
}

.import-form input {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px;
}

.table-wrap {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow-x: auto;
}

.guest-table {
    border-collapse: collapse;
    min-width: 760px;
    width: 100%;
}

.guest-table th,
.guest-table td {
    border-bottom: 1px solid var(--line);
    padding: 13px 14px;
    text-align: left;
    vertical-align: top;
}

.guest-table th {
    background: #fafafa;
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
}

.guest-table tbody tr:last-child td {
    border-bottom: 0;
}

.guest-table tbody tr.is-logged-in {
    background: #f8fffb;
}

.guest-name {
    color: var(--text);
    font-weight: 700;
    min-width: 140px;
}

.guest-email,
.guest-password {
    overflow-wrap: anywhere;
}

.guest-password {
    color: #7f1d1d;
    font-family: "Courier New", monospace;
    font-size: 13px;
}

.login-status {
    background: #dcfce7;
    border: 1px solid #86efac;
    border-radius: 999px;
    color: #166534;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
    padding: 3px 8px;
}

.login-time {
    color: var(--text);
    display: block;
    font-size: 13px;
    white-space: nowrap;
}

.login-time.muted,
.empty-table {
    color: var(--muted);
}

.pagination {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 16px;
}

.pagination .button {
    margin-top: 0;
}

@media (max-width: 520px) {
    body {
        overflow-x: hidden;
    }

    .auth-header {
        height: 64px;
        padding: 10px 16px;
    }

    .auth-logo-link img {
        max-height: 38px;
    }

    .auth-main {
        align-items: flex-start;
        min-height: calc(100vh - 64px);
        padding: 18px 16px;
    }

    .login-shell,
    .login-card {
        max-width: 300px;
        min-width: 0;
        width: 100%;
    }

    .login-card {
        overflow: hidden;
        padding: 22px 18px 24px;
    }

    .login-card h1 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .login-form {
        gap: 13px;
    }

    .field {
        gap: 8px;
        grid-template-columns: 20px minmax(0, 1fr);
        min-height: 42px;
    }

    .field input,
    .remember-row,
    .login-button {
        font-size: 15px;
    }

    .login-button {
        min-height: 44px;
    }

    .eligible-shell {
        max-width: 100%;
    }

    .eligible-card {
        padding: 22px 16px 24px;
    }

    .eligible-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 18px;
    }

    .eligible-heading h1 {
        font-size: 28px;
    }

    .eligible-profile {
        gap: 14px;
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 16px 14px;
        text-align: center;
    }

    .eligible-photo {
        height: 92px;
        width: 92px;
    }

    .eligible-identity h2 {
        font-size: 22px;
    }

    .eligible-name-row {
        align-items: center;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 14px;
    }

    .guest-meta {
        gap: 9px;
        grid-template-columns: 1fr;
        text-align: left;
        width: 100%;
    }

    .guest-meta div {
        background: #fff8f8;
        border: 1px solid #f1d6d6;
        border-radius: 6px;
        padding: 9px 10px;
    }

    .guest-meta dd,
    .benefit-copy {
        font-size: 14px;
    }

    .benefit-copy {
        line-height: 1.55;
        margin-bottom: 16px;
        padding: 15px 14px 15px 16px;
    }

    .guest-meta dt {
        font-size: 10px;
    }

    .eligible-actions {
        display: grid;
        gap: 10px;
    }

    .eligible-actions .login-button {
        width: 100%;
    }

    .authorization-shell {
        max-width: 100%;
    }

    .authorization-card {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 22px 18px 24px;
    }

    .authorization-heading {
        flex-direction: column;
        gap: 12px;
    }

    .authorization-heading h1 {
        font-size: 27px;
    }

    .secure-badge {
        width: max-content;
    }

    .card-preview {
        min-height: 188px;
        max-width: none;
    }

    .card-face {
        min-height: 188px;
        padding: 20px;
    }

    .card-preview-number {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .card-form {
        gap: 10px;
        grid-template-columns: 1fr;
    }

    .card-field input {
        min-height: 41px;
    }

    .admin-panel {
        padding: 18px;
    }

    .admin-header,
    .import-form {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .admin-actions {
        flex-direction: column;
    }
}
