:root {
    --bg: #f6f0e7;
    --paper: rgba(255, 251, 245, 0.92);
    --panel: rgba(255, 255, 255, 0.78);
    --ink: #1e2430;
    --muted: #596171;
    --line: rgba(30, 36, 48, 0.12);
    --accent: #006d77;
    --accent-strong: #00565f;
    --warm: #df6d2d;
    --danger: #b33951;
    --shadow: 0 22px 60px rgba(30, 36, 48, 0.12);
    --radius-xl: 28px;
    --radius-lg: 18px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", "Trebuchet MS", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(223, 109, 45, 0.18), transparent 38%),
        radial-gradient(circle at bottom right, rgba(0, 109, 119, 0.14), transparent 32%),
        linear-gradient(160deg, #f8f3ea 0%, #f2e9dd 48%, #efe6da 100%);
}

.page-shell {
    width: min(1240px, calc(100vw - 40px));
    margin: 32px auto;
}

.hero-card,
.workspace-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    padding: 36px;
    align-items: center;
}

.workspace-card {
    padding: 28px;
}

.hero-copy h1,
.workspace-header h1 {
    margin: 8px 0 12px;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.hero-text {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 720px;
}

.eyebrow {
    margin: 0;
    color: var(--accent);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.74rem;
    font-weight: 700;
}

.hero-panel,
.preview-panel,
.form-panel,
.summary-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.hero-panel,
.preview-panel,
.form-panel,
.summary-panel,
.summary-block {
    padding: 20px;
}

.panel-form,
.grid-form {
    display: grid;
    gap: 14px;
}

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

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

.field-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.field span {
    font-size: 0.9rem;
    font-weight: 600;
}

.field-full {
    grid-column: 1 / -1;
}

input,
textarea,
button {
    font: inherit;
}

input,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(30, 36, 48, 0.14);
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(0, 109, 119, 0.28);
    border-color: rgba(0, 109, 119, 0.48);
}

.confidence,
.hint {
    color: var(--muted);
    font-size: 0.82rem;
}

.primary-button,
.secondary-button,
.accent-button,
.ghost-button,
.copy-button {
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.primary-button {
    background: var(--accent);
    color: white;
    box-shadow: 0 14px 30px rgba(0, 109, 119, 0.18);
}

.secondary-button {
    background: rgba(30, 36, 48, 0.08);
    color: var(--ink);
}

.accent-button {
    background: var(--warm);
    color: white;
}

.ghost-button {
    background: transparent;
    border: 1px solid rgba(30, 36, 48, 0.16);
    color: var(--ink);
}

.copy-button {
    min-width: 82px;
    padding: 11px 14px;
    background: rgba(0, 109, 119, 0.08);
    border: 1px solid rgba(0, 109, 119, 0.22);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.copy-button-copied {
    background: rgba(0, 109, 119, 0.18);
    color: var(--accent-strong);
}

.primary-button:hover,
.secondary-button:hover,
.accent-button:hover,
.ghost-button:hover {
    transform: translateY(-1px);
}

button:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.status-box {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(0, 109, 119, 0.08);
    color: var(--ink);
}

.status-note {
    background: rgba(30, 36, 48, 0.06);
    color: var(--muted);
}

.status-error {
    background: rgba(179, 57, 81, 0.12);
    color: var(--danger);
}

.progress-shell {
    display: grid;
    gap: 8px;
}

.progress-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(30, 36, 48, 0.08);
}

.progress-fill {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--warm));
    transition: width 0.2s ease;
}

.progress-text {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.review-layout .workspace-card {
    display: grid;
    gap: 22px;
}

.workspace-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.review-grid {
    display: grid;
    grid-template-columns: 0.86fr 1.2fr 0.72fr;
    gap: 20px;
    align-items: start;
}

.passport-preview {
    width: 100%;
    display: block;
    border-radius: 14px;
    background: #ece7de;
}

.summary-panel {
    display: grid;
    gap: 14px;
}

.summary-block {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.68);
    border-radius: 16px;
}

.message-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.55;
}

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

.admin-links {
    display: grid;
    gap: 8px;
    justify-items: end;
}

.secondary-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.status-card {
    max-width: 820px;
    margin: 0 auto;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.batch-list {
    display: grid;
    gap: 16px;
}

.batch-summary-card,
.batch-empty-card {
    display: grid;
    gap: 12px;
}

.batch-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.batch-source-list {
    margin: 0;
}

.batch-card {
    display: grid;
    gap: 16px;
}

.batch-card-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.batch-card-header h2 {
    margin: 8px 0 0;
    font-size: 1.25rem;
}

.batch-meta,
.batch-fields,
.batch-messages {
    display: grid;
    gap: 10px;
}

.batch-meta {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

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

.compact-list {
    margin-top: 8px;
}

.status-pending {
    color: var(--warm);
}

.admin-card,
.maintenance-card {
    max-width: 980px;
    margin: 0 auto;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 18px;
}

.admin-status-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.admin-status-row h2 {
    margin: 0 0 10px;
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.admin-pill-on {
    background: rgba(179, 57, 81, 0.14);
    color: var(--danger);
}

.admin-pill-off {
    background: rgba(0, 109, 119, 0.12);
    color: var(--accent);
}

@media (max-width: 1100px) {
    .review-grid,
    .hero-card,
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .batch-summary-grid,
    .batch-meta,
    .batch-fields,
    .batch-messages {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(100vw - 24px, 100%);
        margin: 12px auto 24px;
    }

    .workspace-card,
    .hero-card {
        padding: 18px;
    }

    .workspace-header,
    .status-grid,
    .grid-form {
        grid-template-columns: 1fr;
        display: grid;
    }

    .field-control {
        grid-template-columns: 1fr;
    }

    .copy-button {
        width: 100%;
    }
}

/* Review page redesign */

.review-page {
    --review-bg: #f4f6ff;
    --review-surface: rgba(255, 255, 255, 0.96);
    --review-surface-soft: rgba(255, 255, 255, 0.82);
    --review-ink: #1f2747;
    --review-muted: #646b8b;
    --review-line: rgba(69, 77, 129, 0.14);
    --review-purple: #3a2f8f;
    --review-purple-strong: #2d2377;
    --review-purple-soft: rgba(58, 47, 143, 0.08);
    --review-gold: #f2b635;
    --review-gold-soft: rgba(242, 182, 53, 0.14);
    --review-rose: #ec4f87;
    --review-rose-soft: rgba(236, 79, 135, 0.12);
    --review-success: #0c8a73;
    --review-success-soft: rgba(12, 138, 115, 0.12);
    --review-shadow: 0 18px 52px rgba(30, 36, 78, 0.12);
    margin: 0;
    min-height: 100vh;
    color: var(--review-ink);
    background:
        radial-gradient(circle at top left, rgba(58, 47, 143, 0.12), transparent 32%),
        radial-gradient(circle at bottom right, rgba(242, 182, 53, 0.12), transparent 28%),
        linear-gradient(180deg, #eef1ff 0%, #f7f8ff 40%, #fbfbfe 100%);
}

.review-page .page-shell {
    width: min(1380px, calc(100vw - 36px));
    margin: 22px auto 40px;
}

.review-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #433694;
    box-shadow: 0 10px 28px rgba(32, 24, 86, 0.16);
}

.review-topbar-shell {
    width: min(1440px, calc(100vw - 30px));
    margin: 0 auto;
    min-height: 112px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 12px 0;
}

.review-topbar-accent {
    height: 2px;
    background: linear-gradient(90deg, rgba(242, 182, 53, 0.85), rgba(247, 204, 92, 1));
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px 0 4px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.brand-logo-image {
    display: block;
    width: 170px;
    max-width: 100%;
    height: auto;
}

.brand-logo-image-circle {
    width: 188px;
    aspect-ratio: 1;
    object-fit: contain;
    filter: none;
}

.review-topbar-copy {
    min-width: 0;
    color: rgba(255, 255, 255, 0.92);
}

.review-topbar-eyebrow {
    margin: 0 0 6px;
    color: rgba(242, 182, 53, 0.95);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.review-topbar-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.15rem, 1vw + 0.95rem, 1.65rem);
    line-height: 1.08;
}

.review-topbar-copy p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.94rem;
    line-height: 1.45;
}

.review-topbar-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.topbar-link,
.topbar-menu-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.96);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.topbar-logout-form {
    display: inline-flex;
    margin: 0;
}

.topbar-logout-form button {
    font: inherit;
    cursor: pointer;
}

.topbar-link {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

.topbar-link-primary {
    border-color: rgba(88, 212, 117, 0.92);
    background: linear-gradient(135deg, #50c646, #2fa33d);
    color: #fff;
    box-shadow: 0 12px 28px rgba(18, 112, 45, 0.28);
}

.topbar-link-primary:hover {
    background: linear-gradient(135deg, #5cdb52, #35b844);
    box-shadow: 0 16px 32px rgba(18, 112, 45, 0.34);
}

.topbar-link:hover,
.topbar-menu-link:hover {
    transform: translateY(-1px);
}

.topbar-link-strong {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    gap: 10px;
}

.topbar-link-logout {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.02);
}

.topbar-link-icon,
.status-card-icon,
.card-heading-icon,
.request-hero-icon,
.button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.topbar-link-icon svg,
.status-card-icon svg,
.card-heading-icon svg,
.request-hero-icon svg,
.button-icon svg,
.copy-icon-button svg,
.review-topbar-menu summary svg,
.accordion-caret svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.review-topbar-menu {
    display: none;
    margin-left: auto;
    position: relative;
}

.review-topbar-menu summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
}

.review-topbar-menu summary::-webkit-details-marker {
    display: none;
}

.review-topbar-menu-card {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 210px;
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(42, 35, 112, 0.98);
    box-shadow: 0 20px 40px rgba(15, 11, 52, 0.32);
}

.topbar-menu-link {
    justify-content: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.topbar-menu-link.topbar-link-primary {
    justify-content: center;
    border-color: rgba(88, 212, 117, 0.92);
    background: linear-gradient(135deg, #50c646, #2fa33d);
}

.review-layout {
    display: grid;
    gap: 18px;
}

.request-hero-card,
.review-card {
    border: 1px solid var(--review-line);
    border-radius: 26px;
    background: var(--review-surface);
    box-shadow: var(--review-shadow);
}

.request-hero-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
}

.request-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(58, 47, 143, 0.1), rgba(58, 47, 143, 0.04));
    color: var(--review-purple);
    box-shadow: inset 0 0 0 1px rgba(58, 47, 143, 0.12);
}

.request-hero-copy {
    min-width: 0;
}

.request-hero-eyebrow {
    margin: 0 0 8px;
    color: var(--review-purple);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.request-hero-copy h2 {
    margin: 0;
    font-size: clamp(1.9rem, 2.1vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.request-hero-copy p {
    margin: 10px 0 0;
    max-width: 680px;
    color: var(--review-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.request-hero-summary {
    max-width: 540px;
}

.request-hero-meta {
    margin-top: 10px;
    color: rgba(31, 39, 71, 0.72);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.request-hero-status {
    display: grid;
    justify-items: end;
    gap: 10px;
}

.request-hero-card-compact {
    gap: 16px;
    padding: 16px 20px;
}

.request-hero-card-compact .request-hero-copy {
    display: flex;
    flex-direction: column;
}

.request-hero-card-compact .request-hero-eyebrow {
    order: 1;
    margin-bottom: 6px;
}

.request-hero-card-compact .request-hero-copy h2 {
    order: 2;
    font-size: clamp(1.45rem, 1.6vw, 2.1rem);
}

.request-hero-card-compact .request-hero-summary {
    order: 3;
    margin-top: 6px;
    font-size: 0.94rem;
    line-height: 1.45;
}

.request-hero-card-compact .request-hero-copy > p:not(.request-hero-eyebrow):not(.request-hero-summary) {
    display: none;
}

.request-hero-card-compact .request-hero-meta {
    display: none;
}

.batch-hero-card {
    grid-template-columns: auto minmax(0, 1fr) minmax(280px, 380px);
    align-items: stretch;
}

.batch-hero-actions {
    align-content: start;
    justify-items: stretch;
    min-width: 0;
}

.batch-hero-actions .hero-status-chip {
    justify-self: end;
}

.batch-hero-quick-booking:empty {
    display: none;
}

.batch-hero-quick-booking-card {
    width: 100%;
    min-width: 0;
    padding: 12px;
    border-radius: 18px;
    box-shadow: none;
}

.batch-hero-quick-booking-card .quick-booking-banner-copy {
    gap: 4px;
    flex-basis: auto;
}

.batch-hero-quick-booking-card .quick-booking-banner-copy h2 {
    font-size: 1rem;
}

.batch-hero-quick-booking-card .quick-booking-banner-copy p:not(.request-hero-eyebrow) {
    font-size: 0.84rem;
}

.batch-hero-quick-booking-card .quick-booking-banner-actions {
    min-width: 0;
    flex-basis: auto;
    gap: 8px;
}

.batch-hero-quick-booking-card .quick-booking-button {
    min-height: 38px;
    padding: 8px 12px;
}

.batch-hero-quick-booking-card .quick-booking-feedback {
    min-height: 0;
    font-size: 0.78rem;
}

.batch-hero-quick-booking-card .quick-booking-feedback:empty {
    display: none;
}

.hero-status-chip,
.status-inline-chip,
.accordion-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.request-hero-link {
    color: var(--review-purple);
    text-decoration: none;
    font-weight: 700;
}

.status-state-success {
    background: var(--review-success-soft);
    color: var(--review-success);
}

.status-state-warning {
    background: var(--review-gold-soft);
    color: #b27400;
}

.status-state-danger {
    background: var(--review-rose-soft);
    color: #ce356a;
}

.review-main-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(520px, 1.22fr) minmax(260px, 0.7fr);
    grid-template-areas: "preview form sidebar";
    gap: 18px;
    align-items: start;
}

.preview-card {
    grid-area: preview;
    padding: 18px;
}

.data-card {
    grid-area: form;
    padding: 18px;
}

.status-sidebar {
    grid-area: sidebar;
    display: grid;
    gap: 14px;
}

.status-sidebar-unified,
.batch-sidebar-panels {
    align-content: start;
}

.card-heading,
.status-card {
    padding: 18px;
}

.card-heading {
    padding-bottom: 14px;
}

.card-heading-main,
.status-card-header,
.accordion-summary,
.accordion-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-heading-main {
    justify-content: space-between;
}

.card-heading h3,
.status-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}

.card-heading p,
.status-card-label {
    margin: 0;
    color: var(--review-muted);
    font-size: 0.83rem;
}

.card-heading-icon,
.status-card-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    color: var(--review-purple);
    background: linear-gradient(180deg, rgba(58, 47, 143, 0.1), rgba(58, 47, 143, 0.04));
    box-shadow: inset 0 0 0 1px rgba(58, 47, 143, 0.12);
}

.warning-icon {
    color: #d68f00;
    background: linear-gradient(180deg, rgba(242, 182, 53, 0.12), rgba(242, 182, 53, 0.05));
    box-shadow: inset 0 0 0 1px rgba(242, 182, 53, 0.18);
}

.error-icon {
    color: #db3f72;
    background: linear-gradient(180deg, rgba(236, 79, 135, 0.11), rgba(236, 79, 135, 0.04));
    box-shadow: inset 0 0 0 1px rgba(236, 79, 135, 0.18);
}

.preview-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(244, 246, 255, 0.8), rgba(235, 239, 255, 0.9));
    border: 1px solid rgba(85, 91, 148, 0.12);
    padding: 16px;
}

.review-page .passport-preview {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5.35;
    object-fit: contain;
    max-height: 460px;
    margin: 0 auto;
    border-radius: 18px;
    background: #f8f8fb;
}

.review-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}

.review-field {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.review-field-wide {
    grid-column: 1 / -1;
}

.review-field-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--review-ink);
}

.review-input-shell,
.review-textarea-shell {
    position: relative;
}

.review-page input,
.review-page textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 15px;
    border-radius: 14px;
    border: 1px solid rgba(82, 90, 146, 0.16);
    background: #fff;
    color: var(--review-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.review-page input {
    padding-right: 50px;
}

.review-page textarea {
    min-height: 104px;
    resize: vertical;
}

.review-page input:focus,
.review-page textarea:focus {
    outline: none;
    border-color: rgba(58, 47, 143, 0.42);
    box-shadow:
        0 0 0 4px rgba(58, 47, 143, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.mrz-input {
    font-family: "Consolas", "SFMono-Regular", "Liberation Mono", monospace;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}

.copy-icon-button {
    position: absolute;
    top: 50%;
    right: 7px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #666e92;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.copy-icon-button:hover {
    transform: translateY(-50%);
    background: rgba(58, 47, 143, 0.08);
    color: var(--review-purple);
}

.copy-icon-button.is-copied {
    transform: translateY(-50%);
    background: rgba(58, 47, 143, 0.12);
    color: var(--review-purple-strong);
}

.review-action-bar {
    position: sticky;
    bottom: 12px;
    z-index: 10;
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 34px rgba(33, 40, 85, 0.12);
    backdrop-filter: blur(18px);
}

.review-action-bar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    flex: 1 1 190px;
    font-weight: 700;
}

.review-primary-button {
    background: linear-gradient(90deg, var(--review-purple), #4d40b0);
    color: #fff;
    box-shadow: 0 14px 30px rgba(58, 47, 143, 0.22);
}

.review-secondary-button {
    background: #fff;
    color: var(--review-ink);
    border: 1px solid rgba(82, 90, 146, 0.18);
}

.review-risk-button {
    background: rgba(255, 255, 255, 0.95);
    color: var(--review-rose);
    border: 1.5px solid rgba(236, 79, 135, 0.34);
    box-shadow: none;
}

.review-risk-button:disabled {
    color: rgba(236, 79, 135, 0.62);
    border-color: rgba(236, 79, 135, 0.2);
    background: rgba(255, 250, 252, 0.86);
}

.review-mode-note {
    margin: 14px 2px 0;
    color: var(--review-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.compact-meta-card {
    padding: 18px 20px;
}

.compact-meta-card-bottom {
    display: grid;
    gap: 14px;
}

.compact-meta-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.compact-meta-card-header h3 {
    margin: 2px 0 0;
    font-size: 1.02rem;
    line-height: 1.2;
}

.compact-meta-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(58, 47, 143, 0.08);
    color: var(--review-purple);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.compact-meta-grid {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.compact-meta-grid div {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(82, 90, 146, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 248, 255, 0.92));
}

.compact-meta-grid dt {
    margin: 0 0 6px;
    color: var(--review-muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.compact-meta-grid dd {
    margin: 0;
    color: var(--review-ink);
    font-weight: 700;
    word-break: break-word;
}

.compact-meta-chip-list {
    gap: 8px;
}

.compact-meta-note {
    margin-top: 0;
}

.status-card {
    display: grid;
    gap: 14px;
}

.sidebar-panel-card {
    padding: 18px;
    border-color: rgba(82, 90, 146, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 255, 0.98));
    box-shadow: none;
}

.status-card-header {
    align-items: flex-start;
}

.sidebar-panel-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sidebar-panel-header > div {
    min-width: 0;
    flex: 1 1 auto;
}

.sidebar-count-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(58, 47, 143, 0.08);
    color: var(--review-purple);
    font-size: 0.82rem;
    font-weight: 800;
}

.status-card-label {
    color: var(--review-purple);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-detail-list {
    margin: 0;
    display: grid;
    gap: 10px;
}

.status-detail-list div {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: 8px;
}

.status-detail-list dt {
    color: var(--review-muted);
}

.status-detail-list dd {
    margin: 0;
    font-weight: 700;
    color: var(--review-ink);
    word-break: break-word;
}

.sidebar-detail-list {
    gap: 12px;
}

.sidebar-message-list {
    margin: 0;
    padding-left: 18px;
    color: var(--review-muted);
    line-height: 1.55;
}

.sidebar-message-list li + li {
    margin-top: 6px;
}

.accordion-card {
    padding: 0;
    overflow: hidden;
}

.accordion-summary {
    padding: 16px 18px;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
}

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

.accordion-title {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.accordion-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.accordion-count {
    min-width: 40px;
    min-height: 34px;
    padding-inline: 10px;
    font-size: 0.86rem;
}

.warning-card .accordion-count {
    background: rgba(242, 182, 53, 0.16);
    color: #b27400;
}

.error-card .accordion-count {
    background: rgba(236, 79, 135, 0.14);
    color: #cf376c;
}

.accordion-caret {
    display: inline-flex;
    color: var(--review-muted);
    transition: transform 0.18s ease;
}

.accordion-card[open] .accordion-caret {
    transform: rotate(180deg);
}

.compact-message-list {
    margin: 0;
    padding: 0 20px 18px 34px;
    color: var(--review-muted);
    line-height: 1.55;
}

.compact-message-list li + li {
    margin-top: 6px;
}

.no-issues-item {
    color: var(--review-success);
    font-weight: 600;
}

.warning-card {
    border-color: rgba(242, 182, 53, 0.42);
}

.warning-card.has-items {
    background: linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(255, 255, 255, 0.98));
}

.error-card {
    border-color: rgba(236, 79, 135, 0.28);
}

.error-card.has-items {
    background: linear-gradient(180deg, rgba(255, 245, 249, 0.98), rgba(255, 255, 255, 0.98));
}

.status-toast-card {
    padding: 15px 18px;
    font-weight: 600;
}

.review-page .status-note {
    background: linear-gradient(180deg, rgba(245, 247, 255, 0.92), rgba(255, 255, 255, 0.98));
    color: var(--review-ink);
    border: 1px solid rgba(82, 90, 146, 0.12);
}

.review-page .status-error {
    background: linear-gradient(180deg, rgba(255, 242, 247, 0.94), rgba(255, 255, 255, 0.98));
    color: #cb3a6d;
    border: 1px solid rgba(236, 79, 135, 0.18);
}

.upload-layout {
    display: grid;
    gap: 18px;
}

.maintenance-layout {
    display: grid;
    gap: 18px;
}

.maintenance-topbar-status {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.maintenance-hero-card {
    align-items: center;
}

.maintenance-hero-card .request-hero-copy {
    max-width: 760px;
}

.maintenance-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 18px;
}

.maintenance-info-card {
    padding: 22px;
}

.maintenance-note-list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.maintenance-callout {
    margin-bottom: 18px;
    background: linear-gradient(180deg, rgba(245, 247, 255, 0.92), rgba(255, 255, 255, 0.98));
}

.maintenance-callout-text {
    margin: 0;
    color: var(--review-ink);
    font-size: 0.92rem;
    line-height: 1.6;
}

.batch-review-layout {
    display: grid;
    gap: 18px;
}

.admin-layout-current {
    display: grid;
    gap: 18px;
}

.admin-flash-card {
    padding: 16px 18px;
}

.admin-flash-card .status-box {
    margin: 0;
}

.admin-main-grid-current {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 18px;
    align-items: start;
}

.admin-panel-card {
    padding: 18px;
    display: grid;
    gap: 16px;
}

.admin-state-shell {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.admin-state-title {
    margin: 6px 0 0;
    font-size: 1.55rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.admin-state-note {
    margin-top: 10px;
}

.admin-state-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    min-height: 42px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.admin-state-badge-success {
    background: var(--review-success-soft);
    color: var(--review-success);
}

.admin-state-badge-warning {
    background: var(--review-gold-soft);
    color: #b27400;
}

.admin-info-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-info-strip div {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(82, 90, 146, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 248, 255, 0.96));
}

.admin-info-strip dt {
    margin: 0 0 6px;
    color: var(--review-muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-info-strip dd {
    margin: 0;
    color: var(--review-ink);
    font-weight: 700;
    word-break: break-word;
}

.admin-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-action-row form {
    flex: 1 1 220px;
}

.admin-action-button {
    width: 100%;
    min-height: 48px;
    border-radius: 16px;
    font-weight: 700;
}

.admin-detail-list {
    gap: 12px;
}

.admin-note-list {
    margin-top: 0;
}

.batch-summary-stack,
.batch-review-list {
    display: grid;
    gap: 18px;
}

.batch-progress-shell {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    max-width: 620px;
}

.batch-progress-shell[hidden] {
    display: none;
}

.batch-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.batch-progress-head strong {
    color: var(--review-purple);
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.batch-progress-head span {
    color: var(--review-muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.batch-progress-track {
    position: relative;
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(58, 47, 143, 0.08);
}

.batch-progress-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--review-purple), #6d62eb);
    transition: width 0.2s ease;
}

.review-page .compact-meta-card-bottom,
.review-page .batch-summary-stack {
    display: none;
}

.status-sidebar-unified > .sidebar-panel-card:nth-child(2) {
    display: none;
}

.admin-report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.admin-grid-span-full {
    grid-column: 1 / -1;
}

.admin-info-strip-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-report-summary {
    display: grid;
    gap: 16px;
}

.admin-report-totals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: var(--review-muted);
    font-size: 0.95rem;
}

.admin-report-totals strong {
    color: var(--review-ink);
}

.admin-report-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-report-metrics div,
.admin-manager-breakdown {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(82, 90, 146, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 248, 255, 0.96));
}

.admin-report-metrics dt,
.admin-manager-breakdown h4 {
    margin: 0 0 8px;
    color: var(--review-muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-report-metrics dd {
    margin: 0;
    display: grid;
    gap: 6px;
    color: var(--review-ink);
    font-weight: 600;
}

.admin-manager-list {
    margin: 0;
    padding-left: 18px;
}

.admin-manager-list li {
    color: var(--review-ink);
}

.admin-secret-card {
    gap: 16px;
}

.admin-secret-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-secret-grid div,
.admin-manager-form-card,
.admin-manager-list-card,
.admin-manager-row {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(82, 90, 146, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 248, 255, 0.96));
}

.admin-secret-grid dt {
    margin: 0 0 6px;
    color: var(--review-muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-secret-grid dd {
    margin: 0;
    color: var(--review-ink);
    font-weight: 700;
    word-break: break-word;
}

.admin-manager-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    gap: 16px;
    align-items: start;
}

.admin-manager-form-card h4,
.admin-manager-list-card h4 {
    margin: 0 0 14px;
    font-size: 1rem;
}

.admin-manager-form {
    display: grid;
    gap: 12px;
}

.admin-manager-form label {
    display: grid;
    gap: 6px;
    color: var(--review-ink);
    font-weight: 600;
}

.admin-manager-form label span {
    color: var(--review-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.admin-manager-form input {
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(82, 90, 146, 0.16);
    background: #fff;
    color: var(--review-ink);
}

.admin-manager-list-shell {
    display: grid;
    gap: 12px;
}

.admin-manager-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.admin-manager-row-copy {
    display: grid;
    gap: 4px;
}

.admin-manager-row-copy strong {
    color: var(--review-ink);
}

.admin-manager-row-copy span {
    color: var(--review-muted);
    font-size: 0.9rem;
}

.admin-manager-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.admin-inline-button {
    border: 1px solid rgba(82, 90, 146, 0.16);
    background: rgba(255, 255, 255, 0.84);
    cursor: pointer;
}

.admin-inline-button-danger {
    color: #c14a61;
    border-color: rgba(193, 74, 97, 0.2);
}

.batch-source-card,
.batch-review-card {
    padding: 18px;
}

.batch-stat-hint,
.batch-review-card-subtitle {
    margin: 0;
    color: var(--review-muted);
    line-height: 1.55;
}

.batch-source-card {
    display: grid;
    gap: 14px;
}

.batch-heading-stack {
    align-items: flex-start;
}

.batch-source-chip-list,
.batch-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.batch-source-chip,
.batch-meta-chip {
    background: rgba(58, 47, 143, 0.08);
    color: var(--review-purple);
}

.batch-meta-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.batch-empty-state {
    padding: 24px;
}

.batch-review-card {
    display: grid;
    gap: 18px;
}

.batch-review-card-head {
    display: grid;
    gap: 12px;
}

.batch-review-card-copy {
    min-width: 0;
    display: grid;
    gap: 7px;
}

.batch-review-card-title {
    margin: 0;
    font-size: clamp(1.14rem, 1.24vw, 1.42rem);
    line-height: 1.16;
    letter-spacing: -0.015em;
    color: var(--review-ink);
}

.batch-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease;
}

.batch-title-link:hover {
    color: var(--review-purple);
}

.batch-review-card-grid {
    display: grid;
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.18fr) minmax(250px, 0.86fr);
    gap: 16px;
    align-items: start;
}

.batch-preview-panel,
.batch-data-panel,
.batch-sidebar-panels {
    display: grid;
    gap: 12px;
}

.batch-preview-frame {
    min-height: 100%;
}

.batch-passport-preview {
    aspect-ratio: 4 / 5.35;
    object-fit: contain;
    max-height: 460px;
    margin: 0 auto;
}

.batch-detail-grid {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.batch-detail-card {
    border: 1px solid rgba(82, 90, 146, 0.12);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 248, 255, 0.96));
    padding: 14px;
    min-width: 0;
}

.batch-detail-grid dt {
    color: var(--review-muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.batch-detail-grid dd {
    margin: 8px 0 0;
}

.batch-detail-value-shell {
    position: relative;
    min-height: 52px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px 12px 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(82, 90, 146, 0.16);
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.batch-detail-value-text {
    display: block;
    color: var(--review-ink);
    font-weight: 700;
    word-break: break-word;
}

.batch-copy-button {
    position: static;
    transform: none;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: 1px solid rgba(58, 47, 143, 0.14);
    border-radius: 12px;
    background: rgba(58, 47, 143, 0.08);
    color: var(--review-purple);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.batch-copy-button:hover {
    transform: none;
    background: rgba(58, 47, 143, 0.12);
    color: var(--review-purple-strong);
}

.batch-copy-button.is-copied {
    transform: none;
    background: rgba(58, 47, 143, 0.16);
    color: var(--review-purple-strong);
}

.batch-copy-button:disabled {
    cursor: default;
    opacity: 0.45;
    background: rgba(58, 47, 143, 0.04);
    border-color: rgba(58, 47, 143, 0.08);
    color: rgba(58, 47, 143, 0.45);
}

.batch-sidebar-panels {
    grid-template-columns: 1fr;
}

.batch-document-type-card {
    background:
        radial-gradient(circle at top right, rgba(58, 47, 143, 0.08), transparent 46%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 255, 0.96));
}

.batch-document-type-card h3 {
    font-size: 1rem;
    line-height: 1.25;
}

.upload-hero-card {
    grid-template-columns: auto 1fr auto;
}

.upload-hero-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.upload-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(58, 47, 143, 0.08);
    color: var(--review-purple);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.upload-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.24fr) minmax(320px, 0.98fr);
    gap: 18px;
    align-items: start;
}

.upload-form-card {
    padding: 18px;
    order: 2;
}

.upload-copy-card {
    order: 1;
    padding: 18px;
}

.upload-feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.upload-copy-card .card-heading p {
    display: block;
}

.upload-feature-card p {
    font-size: 0.92rem;
}

.upload-feature-card {
    border: 1px solid rgba(82, 90, 146, 0.12);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 255, 0.96));
    padding: 16px;
}

.upload-feature-card h4 {
    margin: 0 0 8px;
    font-size: 0.98rem;
    color: var(--review-ink);
}

.upload-feature-card p {
    margin: 0;
    color: var(--review-muted);
    line-height: 1.55;
}

.upload-note-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.upload-note-card {
    background: rgba(255, 255, 255, 0.72);
}

.upload-note-list {
    margin-top: 10px;
}

.upload-note-list li + li {
    margin-top: 6px;
}

.upload-form-card .panel-form {
    display: grid;
    gap: 14px;
}

.upload-form-card input[type="file"] {
    min-height: 52px;
    padding: 12px 14px;
}

.upload-submit-button {
    min-height: 48px;
    background: linear-gradient(90deg, var(--review-purple), #4d40b0);
    color: #fff;
    box-shadow: 0 14px 30px rgba(58, 47, 143, 0.2);
}

.upload-form-hint {
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 1260px) {
    .review-topbar-shell {
        width: min(100vw - 28px, 100%);
    }

    .review-page .page-shell {
        width: min(100vw - 28px, 100%);
    }

    .review-main-grid {
        grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
        grid-template-areas:
            "preview form"
            "sidebar sidebar";
    }

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

    .batch-review-card-grid {
        grid-template-columns: minmax(240px, 0.76fr) minmax(0, 1.24fr);
    }

    .batch-sidebar-panels {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-main-grid-current {
        grid-template-columns: 1fr;
    }

    .maintenance-grid {
        grid-template-columns: 1fr;
    }

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

    .status-sidebar .status-toast-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .review-topbar-shell {
        grid-template-columns: auto 1fr auto;
        gap: 14px;
        min-height: 102px;
    }

    .brand-lockup {
        padding: 0 14px 0 0;
    }

    .brand-logo-image {
        width: 138px;
    }

    .brand-logo-image-circle {
        width: 156px;
    }

    .review-topbar-copy p {
        font-size: 0.88rem;
    }

    .request-hero-card {
        grid-template-columns: auto 1fr;
    }

    .request-hero-status {
        grid-column: 1 / -1;
        justify-items: start;
        padding-left: 74px;
    }

    .batch-hero-card {
        grid-template-columns: auto 1fr;
    }

    .batch-hero-actions {
        justify-items: stretch;
    }

    .batch-hero-actions .hero-status-chip {
        justify-self: start;
    }

    .maintenance-topbar-status {
        justify-content: flex-start;
    }

    .upload-hero-card {
        grid-template-columns: auto 1fr;
    }

    .upload-hero-chips {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-left: 74px;
    }

    .upload-feature-list,
    .upload-note-grid {
        grid-template-columns: 1fr;
    }

    .admin-state-shell {
        flex-direction: column;
    }

    .admin-info-strip {
        grid-template-columns: 1fr;
    }

    .compact-meta-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .batch-review-card-head {
        grid-template-columns: 1fr;
    }

    .upload-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .review-page {
        font-size: 15px;
    }

    .upload-form-card {
        order: 1;
    }

    .upload-copy-card {
        order: 2;
    }

    .review-topbar-actions {
        display: none;
    }

    .review-topbar-menu {
        display: block;
    }

    .review-topbar-shell {
        grid-template-columns: auto 1fr auto;
        gap: 12px;
        padding: 10px 0;
        min-height: 92px;
    }

    .brand-lockup {
        padding: 0 10px 0 0;
    }

    .brand-logo-image {
        width: 122px;
    }

    .brand-logo-image-circle {
        width: 122px;
    }

    .review-topbar-copy h1 {
        font-size: 1.08rem;
    }

    .review-topbar-copy p {
        display: none;
    }

    .review-page .page-shell {
        width: min(100vw - 18px, 100%);
        margin: 14px auto 110px;
    }

    .request-hero-card {
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 16px;
    }

    .request-hero-icon {
        display: none;
    }

    .request-hero-copy h2 {
        font-size: 1.5rem;
    }

    .request-hero-copy p {
        font-size: 1rem;
    }

    .request-hero-status {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-content: start;
        justify-items: end;
        padding-left: 0;
    }

    .batch-hero-card {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
        align-items: start;
    }

    .batch-hero-actions {
        grid-column: 2;
        grid-row: 1;
        justify-items: stretch;
        padding-left: 0;
    }

    .batch-hero-actions .hero-status-chip {
        justify-self: start;
    }

    .upload-hero-card {
        grid-template-columns: 1fr;
    }

    .upload-hero-chips {
        grid-column: 1;
        justify-content: flex-start;
        padding-left: 0;
    }

    .hero-status-chip,
    .status-inline-chip,
    .accordion-count {
        min-height: 34px;
        padding-inline: 12px;
    }

    .review-main-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "preview"
            "form"
            "sidebar";
        gap: 14px;
    }

    .compact-meta-grid,
    .batch-review-card-grid,
    .batch-sidebar-panels {
        grid-template-columns: 1fr;
    }

    .status-sidebar {
        grid-template-columns: 1fr;
    }

    .card-heading,
    .status-card,
    .preview-card,
    .data-card {
        padding: 14px;
    }

    .preview-frame {
        padding: 10px;
    }

    .review-page .passport-preview,
    .batch-passport-preview {
        aspect-ratio: auto;
        min-height: 0;
        max-height: 220px;
    }

    .review-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 10px;
    }

    .review-field-wide {
        grid-column: 1 / -1;
    }

    .review-field,
    .batch-detail-card {
        gap: 4px;
    }

    .review-field-label,
    .batch-detail-grid dt {
        font-size: 0.74rem;
        line-height: 1.2;
        letter-spacing: 0.05em;
    }

    .card-heading p,
    .batch-preview-panel .card-heading p,
    .batch-data-panel .card-heading p {
        display: none;
    }

    .review-page input,
    .review-page textarea {
        min-height: 40px;
        font-size: 0.92rem;
        padding: 10px 42px 10px 12px;
    }

    .copy-icon-button {
        width: 36px;
        height: 36px;
        min-width: 36px;
        right: 3px;
        border-radius: 12px;
    }

    .batch-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .batch-detail-card {
        padding: 10px;
    }

    .batch-detail-value-shell {
        min-height: 40px;
        padding: 8px 8px 8px 10px;
        gap: 6px;
    }

    .batch-detail-value-text {
        font-size: 0.88rem;
        line-height: 1.2;
    }

    .batch-copy-button {
        width: 32px;
        height: 32px;
        min-width: 32px;
        border-radius: 10px;
    }

    .review-action-bar {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        margin-top: 0;
        display: grid;
        gap: 8px;
        padding: 10px;
        border-radius: 18px;
    }

    .review-action-bar button {
        width: 100%;
        flex: none;
    }

    .accordion-summary {
        padding: 14px 16px;
    }

    .compact-message-list {
        padding: 0 18px 16px 30px;
    }

    .upload-copy-card,
    .upload-form-card {
        padding: 16px;
    }

    .batch-source-card,
    .batch-review-card,
    .batch-empty-state,
    .admin-panel-card,
    .admin-flash-card {
        padding: 16px;
    }

    .admin-report-grid,
    .admin-report-metrics,
    .admin-info-strip-wide,
    .admin-secret-grid,
    .admin-manager-grid {
        grid-template-columns: 1fr;
    }

    .admin-manager-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .maintenance-info-card {
        padding: 16px;
    }

    .admin-manager-row-actions {
        justify-content: flex-start;
    }

    .upload-form-card input[type="file"] {
        min-height: 48px;
    }
}

@media (max-width: 620px) {
    .batch-hero-card {
        grid-template-columns: 1fr;
    }

    .batch-hero-actions {
        grid-column: 1;
        grid-row: auto;
    }

    .batch-hero-quick-booking-card .quick-booking-banner-copy p:not(.request-hero-eyebrow) {
        display: none;
    }
}

@media (max-width: 480px) {
    .review-topbar-shell {
        min-height: 72px;
    }

    .review-topbar-copy h1 {
        font-size: 0.98rem;
    }

    .request-hero-card {
        grid-template-columns: 1fr;
    }

    .request-hero-status {
        grid-column: 1;
        grid-row: auto;
        justify-items: start;
    }

    .upload-hero-chips {
        gap: 8px;
    }

    .request-hero-link {
        font-size: 0.95rem;
    }

.compact-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .review-form-grid,
    .batch-detail-grid {
        grid-template-columns: 1fr;
    }
}

.admin-managers-shell {
    gap: 18px;
}

.admin-simple-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.admin-simple-header h1,
.admin-manager-form-page h2,
.admin-panel-card h2 {
    margin: 0 0 8px;
}

.admin-simple-header p {
    margin: 0;
    max-width: 760px;
}

.admin-header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-header-actions-column {
    align-items: stretch;
}

.admin-header-actions-grid,
.admin-header-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-summary-card {
    padding: 18px;
    display: grid;
    gap: 6px;
}

.admin-summary-label {
    margin: 0;
    color: var(--review-muted);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-summary-value {
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    line-height: 1;
    color: var(--review-ink);
}

.admin-summary-note {
    color: #6f7a96;
    font-size: 0.9rem;
    line-height: 1.45;
}

.admin-filter-toolbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.admin-filter-field,
.admin-inline-form label,
.admin-manager-edit-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
    color: #42506a;
}

.admin-filter-toolbar input,
.admin-filter-toolbar select,
.admin-inline-form input,
.admin-inline-form select,
.admin-manager-edit-form input,
.admin-manager-edit-form select {
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid #d8def3;
    padding: 0 14px;
    font: inherit;
    background: #fff;
}

.admin-filter-actions,
.admin-inline-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-table-shell {
    overflow-x: auto;
}

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

.admin-table th,
.admin-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #ebeffc;
    text-align: left;
    vertical-align: top;
    font-size: 0.95rem;
}

.admin-table th {
    color: #55627e;
    font-weight: 700;
}

.admin-table-compact th,
.admin-table-compact td {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 0.9rem;
}

.admin-table-identity {
    display: grid;
    gap: 4px;
}

.admin-table-identity strong {
    color: var(--review-ink);
}

.admin-table-identity span {
    color: var(--review-muted);
    font-size: 0.84rem;
}

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

.admin-table-actions form,
.admin-header-actions-grid form,
.admin-action-row form {
    margin: 0;
}

.admin-action-button {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.88rem;
    white-space: nowrap;
}

.admin-empty-row {
    text-align: center;
    color: #7a859e;
    padding: 24px 14px;
}

.admin-manager-form-page {
    padding: 20px;
}

.admin-form-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-form-columns-single {
    grid-template-columns: 1fr;
    max-width: 520px;
}

.admin-form-card {
    border: 1px solid #ebeffc;
    border-radius: 24px;
    padding: 18px;
    background: #fbfcff;
}

.admin-checkbox-row {
    flex-direction: row !important;
    align-items: center;
}

.admin-checkbox-row input {
    min-height: auto !important;
    width: 18px;
    height: 18px;
}

.admin-form-note {
    margin-top: 10px;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.5;
}

.admin-preview-note {
    border-radius: 16px;
    border: 1px solid rgba(58, 47, 143, 0.12);
    background: rgba(58, 47, 143, 0.06);
    padding: 12px 14px;
    color: var(--review-ink);
    line-height: 1.55;
}

.admin-preview-note p {
    margin: 0;
}

.admin-preview-note p + p {
    margin-top: 6px;
}

.admin-access-card {
    margin-top: 18px;
}

.admin-access-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.admin-access-grid h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.admin-access-grid p {
    margin: 0;
    color: #667085;
    line-height: 1.55;
}

.admin-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 18px;
    flex-wrap: wrap;
}

.admin-detail-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.admin-detail-hero-copy {
    display: grid;
    gap: 10px;
}

.admin-detail-hero-copy p {
    margin: 0;
}

.admin-detail-hero-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-detail-hero-title h1 {
    margin: 0;
}

.admin-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: #64748b;
    font-size: 0.92rem;
}

.admin-dashboard-grid,
.admin-detail-grid {
    display: grid;
    gap: 18px;
}

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

.admin-dashboard-column {
    display: grid;
    gap: 18px;
    align-content: start;
}

.admin-dashboard-list,
.admin-profile-grid,
.admin-secret-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.admin-dashboard-list {
    grid-template-columns: 1fr;
}

.admin-dashboard-list div,
.admin-profile-grid div,
.admin-secret-grid div {
    border: 1px solid #edf1fd;
    border-radius: 18px;
    background: #fbfcff;
    padding: 14px;
}

.admin-dashboard-list dt,
.admin-profile-grid dt,
.admin-secret-grid dt {
    color: #667085;
    font-size: 0.82rem;
    margin-bottom: 6px;
}

.admin-profile-grid dd,
.admin-secret-grid dd {
    margin: 0;
    font-weight: 600;
    word-break: break-word;
}

.admin-inline-secret {
    margin-top: 14px;
    border-radius: 18px;
    border: 1px solid #ebe8ff;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 245, 255, 0.96));
    padding: 14px;
}

.admin-inline-secret label {
    display: block;
    margin-bottom: 8px;
    color: var(--review-muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-secret-inline-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.admin-secret-inline-row input {
    min-height: 46px;
    border-radius: 14px;
    border: 1px solid #d8def3;
    padding: 0 14px;
    font: inherit;
    background: #fff;
}

.admin-inline-secret-warning {
    margin: 10px 0 0;
    color: #8c5b00;
    font-size: 0.88rem;
    line-height: 1.45;
}

.admin-secret-item dd {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-secret-item input {
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid #d8def3;
    padding: 0 14px;
    font: inherit;
    background: #fff;
}

.admin-secret-item-wide {
    grid-column: 1 / -1;
}

.admin-action-row-wrap {
    flex-wrap: wrap;
}

.admin-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: lowercase;
}

.admin-status-success {
    background: #e8f8ef;
    color: #157347;
}

.admin-status-danger {
    background: #fdecec;
    color: #bb2d3b;
}

.admin-status-warning {
    background: #fff4dd;
    color: #a15c00;
}

.admin-status-info {
    background: #eef2ff;
    color: #4338ca;
}

.admin-status-muted {
    background: #eef2f7;
    color: #64748b;
}

.admin-user-agent-cell {
    max-width: 260px;
    word-break: break-word;
}

.status-success {
    color: #157347;
    background: #e8f8ef;
    border: 1px solid #ccefd9;
}

@media (max-width: 960px) {
    .admin-summary-grid,
    .admin-dashboard-grid,
    .admin-access-grid,
    .admin-inline-form,
    .admin-filter-toolbar,
    .admin-form-columns,
    .admin-profile-grid,
    .admin-secret-grid {
        grid-template-columns: 1fr;
    }

    .admin-simple-header,
    .admin-detail-hero {
        flex-direction: column;
    }

    .admin-header-actions,
    .admin-header-actions-grid,
    .admin-header-links {
        justify-content: flex-start;
    }

    .admin-secret-inline-row {
        grid-template-columns: 1fr;
    }
}

/* Premium batch passport verification */

.batch-premium-page {
    --batch-purple-deep: #10005e;
    --batch-purple: #2a0bd9;
    --batch-purple-strong: #2100b8;
    --batch-green: #18b84f;
    --batch-green-strong: #0d9e41;
    --batch-green-soft: rgba(24, 184, 79, 0.12);
    --batch-red: #ef3434;
    --batch-red-soft: rgba(239, 52, 52, 0.12);
    --batch-ink: #141b49;
    --batch-muted: #687094;
    --batch-line: rgba(50, 56, 118, 0.13);
    --batch-shadow: 0 22px 58px rgba(26, 28, 83, 0.13);
    background:
        radial-gradient(circle at 13% 0%, rgba(81, 66, 217, 0.16), transparent 28%),
        radial-gradient(circle at 88% 8%, rgba(24, 184, 79, 0.12), transparent 24%),
        linear-gradient(180deg, #eef0ff 0%, #f7f8ff 42%, #fbfbff 100%);
    color: var(--batch-ink);
}

.batch-premium-topbar {
    width: 100%;
    color: #fff;
    background: #433694;
    box-shadow: 0 10px 28px rgba(32, 24, 86, 0.16);
}

.batch-topbar-shell {
    width: min(1440px, calc(100vw - 30px));
    min-height: 126px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 12px 0;
}

.batch-brand-lockup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.batch-brand-logo {
    display: block;
    width: 160px;
    aspect-ratio: 1;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.batch-topbar-divider {
    width: 1px;
    height: 84px;
    background: rgba(255, 255, 255, 0.58);
}

.batch-topbar-copy {
    min-width: 0;
}

.batch-topbar-copy p {
    margin: 0 0 8px;
    color: rgba(242, 182, 53, 0.95);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.batch-topbar-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.35rem, 1.35vw + 0.95rem, 2rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.batch-topbar-copy span {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.94rem;
    line-height: 1.5;
}

.batch-topbar-actions {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.batch-topbar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 11px 20px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    font-weight: 750;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.batch-topbar-link-logout {
    font: inherit;
    cursor: pointer;
}

.batch-topbar-link:hover {
    transform: translateY(-1px);
}

.batch-topbar-link-primary {
    background: linear-gradient(135deg, #18cb55, #08a83d);
    border: 1px solid rgba(83, 255, 134, 0.52);
    box-shadow: 0 18px 38px rgba(2, 106, 48, 0.36);
}

.batch-topbar-link-primary:hover {
    background: linear-gradient(135deg, #22de62, #0cb947);
    box-shadow: 0 20px 44px rgba(2, 106, 48, 0.44);
}

.batch-topbar-link-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.batch-topbar-link .topbar-link-icon svg,
.batch-passports-arrow svg,
.batch-premium-stat-icon svg,
.batch-overview-icon svg,
.batch-card-zoom-button svg,
.batch-card-rotate-button svg,
.batch-passport-copy svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.batch-premium-shell {
    width: min(1440px, calc(100vw - 30px));
    margin: 22px auto 40px;
    display: grid;
    gap: 20px;
}

.batch-overview-card,
.batch-passports-section {
    border: 1px solid var(--batch-line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--batch-shadow);
}

.batch-overview-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 20px;
    align-items: stretch;
    padding: 18px 24px;
}

.batch-overview-content {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.batch-overview-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.batch-overview-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--batch-purple);
    background: linear-gradient(180deg, rgba(42, 11, 217, 0.12), rgba(42, 11, 217, 0.06));
    box-shadow: inset 0 0 0 1px rgba(42, 11, 217, 0.12);
}

.batch-overview-copy {
    min-width: 0;
}

.batch-overview-eyebrow {
    margin: 0 0 5px;
    color: var(--batch-purple);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.batch-overview-copy h2 {
    margin: 0;
    color: var(--batch-ink);
    font-size: clamp(1.22rem, 0.9vw + 0.95rem, 1.65rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.batch-success-line {
    margin: 7px 0 0;
    color: var(--batch-green-strong);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.45;
}

.batch-success-line::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    margin-right: 8px;
    border-radius: 999px;
    color: var(--batch-green-strong);
    background: var(--batch-green-soft);
    font-size: 0.74rem;
}

.batch-premium-page .batch-progress-shell {
    margin-top: 10px;
    max-width: 720px;
}

.batch-issue-report-button {
    justify-self: end;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(42, 11, 217, 0.45);
    border-radius: 12px;
    background: #fff;
    color: var(--batch-purple);
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(26, 28, 83, 0.08);
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.batch-issue-report-button:hover {
    transform: translateY(-1px);
    border-color: var(--batch-purple);
    background: rgba(42, 11, 217, 0.06);
    box-shadow: 0 14px 28px rgba(26, 28, 83, 0.12);
}

.batch-issue-report-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.batch-premium-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.batch-premium-stat-card {
    min-height: 48px;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    grid-template-areas: "icon value label";
    column-gap: 9px;
    align-items: center;
    padding: 9px 12px;
    border: 1px solid var(--batch-line);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff, #fbfbff);
}

.batch-premium-stat-icon {
    grid-area: icon;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.batch-premium-stat-icon.is-purple {
    color: var(--batch-purple);
    background: rgba(42, 11, 217, 0.1);
}

.batch-premium-stat-icon.is-danger {
    color: var(--batch-red);
    background: var(--batch-red-soft);
}

.batch-premium-stat-icon.is-success {
    color: var(--batch-green-strong);
    background: var(--batch-green-soft);
}

.batch-premium-stat-card strong {
    grid-area: value;
    color: var(--batch-purple);
    font-size: 1.32rem;
    line-height: 1;
}

.batch-premium-stat-card > span:not(.batch-premium-stat-icon):not(.batch-error-passports) {
    grid-area: label;
    color: var(--batch-muted);
    font-weight: 700;
    font-size: 0.75rem;
    align-self: center;
}

.batch-error-passports {
    grid-column: 2 / -1;
    grid-row: 2;
    color: var(--batch-red);
    font-size: 0.68rem;
    font-weight: 850;
    line-height: 1.2;
    white-space: nowrap;
}

.batch-overview-action {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--batch-line);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(42, 11, 217, 0.08), transparent 42%),
        linear-gradient(180deg, #fbfbff, #f7f8ff);
}

.batch-status-pill,
.batch-card-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 28px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.04em;
}

.batch-overview-action .batch-status-pill {
    justify-self: end;
}

.batch-booking-copy h3 {
    margin: 0;
    color: var(--batch-ink);
    font-size: 1.05rem;
    line-height: 1.15;
}

.batch-booking-copy p {
    margin: 7px 0 0;
    color: var(--batch-green-strong);
    font-size: 0.82rem;
    font-weight: 750;
}

.batch-booking-action {
    display: grid;
    gap: 10px;
}

.batch-generate-button {
    min-height: 42px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #3810f2, #2600b8);
    color: #fff;
    box-shadow: 0 15px 30px rgba(42, 11, 217, 0.28);
    cursor: pointer;
    font-size: 0.94rem;
    font-weight: 800;
}

.batch-generate-button:disabled {
    cursor: default;
    opacity: 0.58;
    box-shadow: none;
}

.batch-booking-feedback {
    margin: 0;
    min-height: 18px;
    color: var(--batch-muted);
    font-size: 0.76rem;
    line-height: 1.35;
}

.batch-booking-feedback.is-error {
    color: var(--batch-red);
}

.batch-passports-section {
    min-width: 0;
    max-width: 100%;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    position: relative;
}

.batch-passports-head {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    min-height: 48px;
    padding: 0 2px 12px;
}

.batch-passports-head h2 {
    grid-column: 1;
    justify-self: start;
    margin: 0;
    color: var(--batch-ink);
    font-size: 1.2rem;
    letter-spacing: 0;
}

.batch-passports-nav {
    grid-column: 2;
    justify-self: center;
    z-index: 7;
    display: grid;
    grid-template-columns: max-content auto max-content;
    align-items: center;
    justify-content: end;
    gap: 10px;
    width: auto;
}

.batch-passports-position {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(82, 46, 255, 0.16);
    border-radius: 999px;
    background: rgba(82, 46, 255, 0.06);
    color: #33207c;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.batch-passports-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(82, 46, 255, 0.24);
    border-radius: 999px;
    background: #fff;
    color: var(--batch-purple);
    box-shadow: 0 12px 26px rgba(82, 46, 255, 0.14);
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.batch-passports-arrow:not(:disabled):hover {
    border-color: rgba(82, 46, 255, 0.46);
    background: rgba(82, 46, 255, 0.08);
    box-shadow: 0 16px 28px rgba(82, 46, 255, 0.18);
    transform: translateY(-1px);
}

.batch-passports-arrow-prev,
.batch-passports-arrow-next {
    width: auto;
    min-width: 184px;
    gap: 10px;
    padding: 0 14px;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.batch-passports-arrow-prev {
    justify-content: flex-start;
}

.batch-passports-arrow-next {
    justify-content: flex-end;
}

.batch-passports-arrow:disabled {
    opacity: 0.42;
    cursor: default;
    box-shadow: none;
}

.batch-passports-rail {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: block;
    align-items: flex-start;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 0 2px;
    scrollbar-width: none;
}

.batch-passports-rail.is-dragging {
    cursor: default;
}

.batch-passports-rail.is-dragging .batch-passport-slide,
.batch-passports-rail.is-dragging .batch-passport-card {
    pointer-events: none;
}

.batch-passports-rail::-webkit-scrollbar {
    display: none;
}

.batch-passports-rail::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(28, 33, 72, 0.12);
}

.batch-passports-rail::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(90deg, var(--batch-purple), #5b3bff);
}

.batch-passport-slide,
.batch-passport-card {
    width: 100%;
    min-width: 0;
}

.batch-passport-slide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    gap: 20px;
    align-items: stretch;
}

.batch-passport-slide.no-warning-column {
    grid-template-columns: minmax(0, 1fr);
}

.batch-passport-card {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(50, 56, 118, 0.12);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 58px rgba(26, 28, 83, 0.12);
}

.batch-passport-slide .batch-passport-card {
    flex: initial;
    width: 100%;
    height: 100%;
    scroll-snap-align: none;
}

.batch-passport-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.batch-passport-card-head h3 {
    margin: 0;
    color: var(--batch-ink);
    font-size: 1.08rem;
    line-height: 1.2;
}

.batch-passport-card-head p {
    display: none;
}

.batch-passport-card-body {
    display: grid;
    grid-template-columns: minmax(240px, 0.88fr) minmax(260px, 1fr);
    grid-template-rows: none;
    gap: 20px;
    align-items: stretch;
}

.batch-passport-thumb {
    min-width: 0;
    display: grid;
}

.batch-card-preview-frame {
    position: relative;
    min-height: 0;
    height: clamp(410px, 34vw, 520px);
    padding: 10px;
    border: 1px solid rgba(50, 56, 118, 0.1);
    border-radius: 18px;
    background: linear-gradient(180deg, #f8f9ff, #eef2ff);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.batch-card-passport-preview {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
    display: block;
    transform-origin: center;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.batch-passport-slide.is-birth-certificate .batch-passport-card-body {
    grid-template-columns: minmax(360px, 1.12fr) minmax(250px, 0.88fr);
}

.batch-passport-slide.is-birth-certificate .batch-card-preview-frame {
    height: clamp(500px, 42vw, 640px);
}

.batch-card-preview-actions {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.batch-card-icon-button {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: #fff;
    color: var(--batch-purple);
    box-shadow: 0 12px 26px rgba(26, 28, 83, 0.16);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.batch-card-icon-button:hover {
    transform: translateY(-1px);
    color: #2a0bd9;
    box-shadow: 0 16px 30px rgba(26, 28, 83, 0.2);
}

.batch-card-icon-button:disabled,
.batch-card-preview-frame.is-preview-loading .batch-card-icon-button {
    cursor: wait;
    opacity: 0.62;
    pointer-events: none;
}

.batch-card-icon-button:disabled:hover {
    transform: none;
}

.batch-card-preview-frame.is-preview-loading .batch-card-passport-preview {
    opacity: 0.9;
}

.batch-card-preview-frame.is-preview-error .batch-card-passport-preview {
    opacity: 0.06;
}

.batch-preview-error {
    position: absolute;
    inset: 24px;
    z-index: 5;
    border: 1px dashed rgba(82, 58, 214, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--batch-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 24px;
}

.batch-preview-error[hidden] {
    display: none;
}

.batch-preview-error strong {
    font-size: 1rem;
    font-weight: 900;
}

.batch-preview-error span {
    max-width: 260px;
    color: var(--batch-muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.batch-preview-error button {
    border: 1px solid rgba(82, 58, 214, 0.35);
    border-radius: 999px;
    background: #fff;
    color: var(--batch-purple);
    font-weight: 850;
    padding: 10px 18px;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(26, 28, 83, 0.12);
}

.batch-preview-error button:hover {
    background: rgba(82, 58, 214, 0.07);
}

.batch-passport-data {
    min-width: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.batch-passport-fields {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.batch-passport-field {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(140px, 0.62fr) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.batch-passport-field dt {
    margin: 0;
    color: var(--batch-muted);
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1.25;
}

.batch-passport-field dd {
    margin: 0;
    min-height: 31px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 26px;
    gap: 14px;
    align-items: center;
    color: var(--batch-ink);
    font-size: 1.04rem;
    font-weight: 850;
    line-height: 1.25;
}

.batch-passport-field dd span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.batch-passport-copy {
    width: 26px;
    height: 26px;
    min-width: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(42, 11, 217, 0.64);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.batch-passport-copy:hover:not(:disabled) {
    background: rgba(42, 11, 217, 0.08);
    color: var(--batch-purple);
}

.batch-passport-copy svg {
    width: 15px;
    height: 15px;
}

.batch-copy-check-icon {
    display: none;
}

.batch-passport-copy.is-copied {
    color: var(--batch-green-strong);
    background: var(--batch-green-soft);
}

.batch-passport-copy.is-copied .batch-copy-icon {
    display: none;
}

.batch-passport-copy.is-copied .batch-copy-check-icon {
    display: block;
}

.batch-passport-copy:disabled {
    visibility: hidden;
    opacity: 0;
    cursor: default;
}

.batch-card-issues {
    max-height: 170px;
    overflow: auto;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--batch-red-soft);
    color: #a92727;
    font-size: 0.82rem;
    line-height: 1.35;
}

.batch-card-issues strong {
    display: block;
    margin-bottom: 5px;
}

.batch-card-issues ul {
    margin: 0;
    padding-left: 18px;
}

.batch-passport-warning-column {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 16px;
}

.batch-passport-warning-column.is-empty {
    display: none;
}

.batch-passport-warning-column .temporary-passport-warning {
    grid-template-columns: 1fr;
    min-height: 0;
}

.batch-passport-warning-column .temporary-passport-grid {
    grid-template-columns: 1fr;
}

.temporary-passport-warning {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 16px;
    background: #fff7ed;
    color: #7c2d12;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.temporary-passport-warning strong {
    display: block;
    margin: 7px 0 5px;
    color: #7c2d12;
    font-size: 0.94rem;
}

.temporary-passport-warning p {
    margin: 0;
    color: #9a3412;
    font-size: 0.84rem;
    line-height: 1.45;
}

.temporary-passport-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 22px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #fed7aa;
    color: #9a3412;
    font-size: 0.72rem;
    font-weight: 850;
}

.temporary-passport-grid {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.temporary-passport-grid div {
    min-width: 0;
}

.temporary-passport-grid dt {
    margin: 0 0 3px;
    color: #9a3412;
    font-size: 0.72rem;
    font-weight: 750;
}

.temporary-passport-grid dd {
    margin: 0;
    color: #431407;
    font-size: 0.88rem;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.batch-issue-modal[hidden],
.batch-issue-toast[hidden] {
    display: none;
}

.batch-issue-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 24px;
}

.batch-issue-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 15, 46, 0.38);
    backdrop-filter: blur(5px);
}

.batch-issue-dialog {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    max-height: min(720px, calc(100vh - 48px));
    overflow: auto;
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(50, 56, 118, 0.13);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 32px 80px rgba(13, 15, 46, 0.26);
}

.batch-issue-dialog-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
}

.batch-issue-eyebrow {
    margin: 0 0 5px;
    color: var(--batch-purple);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.batch-issue-dialog h2 {
    margin: 0;
    color: var(--batch-ink);
    font-size: 1.25rem;
    line-height: 1.18;
}

.batch-issue-close {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--batch-line);
    border-radius: 999px;
    background: #fff;
    color: var(--batch-purple);
    cursor: pointer;
}

.batch-issue-close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.batch-issue-description {
    margin: 0;
    color: var(--batch-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.batch-issue-passport-list {
    display: grid;
    gap: 10px;
}

.batch-issue-passport-row {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 11px 12px;
    border: 1px solid var(--batch-line);
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #fbfbff);
    cursor: pointer;
}

.batch-issue-passport-row input {
    margin-top: 3px;
    accent-color: var(--batch-purple);
}

.batch-issue-passport-row span {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.batch-issue-passport-row strong {
    color: var(--batch-ink);
    font-size: 0.92rem;
}

.batch-issue-passport-row em {
    color: var(--batch-purple);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 850;
}

.batch-issue-passport-row small {
    color: var(--batch-muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.batch-issue-empty {
    padding: 12px;
    border: 1px dashed var(--batch-line);
    border-radius: 14px;
    color: var(--batch-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.batch-issue-message-label {
    color: var(--batch-ink);
    font-size: 0.84rem;
    font-weight: 850;
}

.batch-issue-message {
    width: 100%;
    min-height: 118px;
    resize: vertical;
    padding: 12px 14px;
    border: 1px solid var(--batch-line);
    border-radius: 14px;
    color: var(--batch-ink);
    font: inherit;
    line-height: 1.45;
    background: #fff;
}

.batch-issue-message:focus {
    outline: none;
    border-color: rgba(42, 11, 217, 0.56);
    box-shadow: 0 0 0 4px rgba(42, 11, 217, 0.1);
}

.batch-issue-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.batch-issue-cancel,
.batch-issue-submit {
    min-height: 40px;
    border-radius: 11px;
    padding: 9px 15px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 850;
}

.batch-issue-cancel {
    border: 1px solid var(--batch-line);
    background: #fff;
    color: var(--batch-muted);
}

.batch-issue-submit {
    border: none;
    background: linear-gradient(135deg, #3810f2, #2600b8);
    color: #fff;
    box-shadow: 0 14px 28px rgba(42, 11, 217, 0.24);
}

.batch-issue-submit:disabled {
    cursor: wait;
    opacity: 0.72;
}

.batch-issue-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    max-width: min(420px, calc(100vw - 48px));
    padding: 13px 16px;
    border: 1px solid rgba(42, 11, 217, 0.16);
    border-radius: 16px;
    background: #fff;
    color: var(--batch-ink);
    box-shadow: 0 18px 48px rgba(13, 15, 46, 0.18);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.35;
}

.manager-login-page {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(67, 56, 202, 0.08), rgba(16, 185, 129, 0.08)),
        #f5f7ff;
}

.manager-login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 18px;
}

.manager-login-card {
    width: min(440px, 100%);
    border: 1px solid rgba(111, 126, 173, 0.22);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(21, 31, 84, 0.16);
    padding: 28px;
}

.manager-login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.manager-login-logo {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 14px 30px rgba(21, 31, 84, 0.12);
}

.manager-login-brand p {
    margin: 0 0 4px;
    color: #4338ca;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.manager-login-brand h1 {
    margin: 0;
    color: #101941;
    font-size: 1.55rem;
    line-height: 1.15;
}

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

.manager-login-field {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: 0.9rem;
    font-weight: 800;
}

.manager-login-field input {
    min-height: 46px;
    border: 1px solid #cdd6f5;
    border-radius: 12px;
    background: #fbfcff;
    color: #111a44;
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 12px;
    outline: none;
}

.manager-login-field input:focus {
    border-color: #5b4dff;
    box-shadow: 0 0 0 4px rgba(91, 77, 255, 0.12);
}

.manager-login-submit {
    min-height: 46px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #4338ca, #2600b8);
    color: #fff;
    cursor: pointer;
    font-size: 0.96rem;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(42, 11, 217, 0.24);
}

.manager-login-alert {
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fff5f5;
    color: #b42318;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.4;
    padding: 10px 12px;
}

.manager-login-note {
    margin: 14px 0 0;
    color: #475467;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
}

.manager-login-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.manager-login-submit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.manager-login-admin-link {
    display: inline-flex;
    margin-top: 18px;
    color: #4338ca;
    font-size: 0.86rem;
    font-weight: 850;
    text-decoration: none;
}

.manager-login-actions .manager-login-admin-link {
    margin-top: 0;
}

.manager-login-admin-link:hover {
    text-decoration: underline;
}

.batch-passport-empty {
    min-height: 240px;
    align-content: center;
}

.batch-empty-compact {
    display: flex;
    align-items: center;
    gap: 18px;
}

.batch-empty-compact h3 {
    margin: 0 0 8px;
}

.batch-empty-compact p {
    margin: 0;
    color: var(--batch-muted);
}

@media (max-width: 1180px) {
    .batch-topbar-shell,
    .batch-premium-shell {
        width: min(100vw - 36px, 100%);
    }

    .batch-topbar-shell {
        grid-template-columns: auto 1px minmax(0, 1fr);
    }

    .batch-topbar-actions {
        grid-column: 3;
        justify-content: flex-start;
    }

    .batch-overview-card {
        grid-template-columns: 1fr;
    }

    .batch-overview-action {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .batch-overview-action .batch-status-pill {
        grid-column: 2;
        grid-row: 1;
    }

    .batch-booking-action {
        grid-column: 1 / -1;
    }

    .batch-passport-slide {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
        gap: 18px;
    }

    .batch-passport-slide .batch-passport-card {
        width: 100%;
    }

    .batch-passport-card-body {
        grid-template-columns: minmax(220px, 0.86fr) minmax(250px, 1fr);
        gap: 18px;
    }
}

@media (max-width: 760px) {
    .batch-premium-topbar {
        background: #433694;
    }

    .batch-topbar-shell {
        grid-template-columns: 1fr;
        gap: 16px;
        min-height: 0;
        padding: 22px 0;
    }

    .batch-brand-logo {
        width: 142px;
    }

    .batch-topbar-divider {
        display: none;
    }

    .batch-topbar-copy h1 {
        font-size: 1.35rem;
    }

    .batch-topbar-copy span {
        font-size: 0.92rem;
    }

    .batch-topbar-actions {
        grid-column: auto;
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .batch-topbar-link {
        width: 100%;
        min-height: 50px;
    }

    .batch-premium-shell {
        width: min(100vw - 22px, 100%);
        margin: 18px auto 34px;
        gap: 18px;
    }

    .batch-overview-card {
        border-radius: 22px;
    }

    .batch-overview-card {
        padding: 20px;
    }

    .batch-overview-heading {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .batch-issue-report-button {
        justify-self: start;
        width: 100%;
        min-height: 42px;
    }

    .batch-overview-icon {
        width: 48px;
        height: 48px;
    }

    .batch-premium-stats,
    .batch-overview-action {
        grid-template-columns: 1fr;
    }

    .batch-overview-action .batch-status-pill {
        grid-column: auto;
        grid-row: auto;
        justify-self: start;
    }

    .batch-passports-head {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .batch-passports-nav {
        grid-column: 1;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .batch-passports-position {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-content: center;
    }

    .batch-passports-arrow-prev,
    .batch-passports-arrow-next {
        grid-row: 2;
        min-width: 170px;
    }

    .batch-passports-rail {
        padding-bottom: 0;
    }

    .batch-passport-slide {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .batch-passport-slide .batch-passport-card {
        width: 100%;
    }

    .batch-passport-card {
        padding: 16px;
        border-radius: 20px;
    }

    .batch-passport-card-body {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .batch-card-preview-frame {
        min-height: 220px;
        height: 260px;
    }

    .batch-card-passport-preview {
        max-height: none;
    }

    .batch-passport-field {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .batch-passport-field dd {
        font-size: 0.86rem;
    }

    .batch-passport-warning-column {
        gap: 12px;
    }

    .batch-passport-warning-column.is-empty {
        display: none;
    }

    .batch-issue-dialog {
        padding: 18px;
        border-radius: 18px;
    }

    .batch-issue-dialog-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .batch-passport-fields {
        grid-template-columns: 1fr;
    }

    .temporary-passport-warning {
        grid-template-columns: 1fr;
    }

    .batch-premium-stat-card {
        min-height: 50px;
        padding: 10px 13px;
    }

    .batch-premium-stat-icon {
        width: 34px;
        height: 34px;
    }
}
