:root {
    --ink: #27313a;
    --muted: #66717c;
    --line: #d9dee4;
    --paper: #ffffff;
    --canvas: #f3f5f7;
    --brand: #0f766e;
    --brand-dark: #105f59;
    --gold: #b7791f;
    --danger: #b42318;
}

body {
    background: var(--canvas);
    color: var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
}

.app-navbar {
    background: #252b31;
    border-bottom: 3px solid var(--brand);
}

.navbar-brand {
    letter-spacing: 0;
}

.page-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.page-title h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
}

.eyebrow {
    margin: 0 0 4px;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 700;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.panel,
.metric-card,
.filter-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(39, 49, 58, 0.05);
}

.panel {
    padding: 18px;
    margin-bottom: 18px;
}

.filter-panel {
    padding: 16px;
    margin-bottom: 18px;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.panel-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.metric-card {
    padding: 20px;
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.metric-card span {
    color: var(--muted);
    font-size: 14px;
}

.metric-card strong {
    color: var(--brand-dark);
    font-size: 44px;
    line-height: 1;
}

.metric-card.alert-metric strong {
    color: var(--danger);
}

.btn {
    border-radius: 6px;
}

.btn-primary {
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand-dark);
    --bs-btn-hover-border-color: var(--brand-dark);
}

.maintenance-page {
    min-height: 100vh;
    margin: 0;
    color: #e5edf8;
    background:
        linear-gradient(135deg, rgba(8, 22, 40, 0.92), rgba(18, 40, 63, 0.94)),
        #101f33;
}

.maintenance-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.maintenance-panel {
    width: min(560px, 100%);
    padding: 36px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.78);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.maintenance-eyebrow {
    margin: 0 0 12px;
    color: #93c5fd;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0;
}

.maintenance-panel h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.maintenance-message {
    margin: 18px 0 0;
    font-size: 1.1rem;
    color: #f8fafc;
}

.maintenance-note {
    margin: 12px 0 0;
    color: #b6c4d8;
    line-height: 1.8;
}

.btn-outline-primary {
    --bs-btn-color: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand);
    --bs-btn-hover-border-color: var(--brand);
}

.table thead th {
    color: #46525e;
    background: #eef2f5;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    white-space: nowrap;
}

.table td {
    white-space: normal;
    word-break: break-word;
}

.table-summary {
    max-width: 360px;
    min-width: 220px;
}

.action-cell {
    white-space: nowrap !important;
    min-width: 170px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 10px;
}

.status-grid.large {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.status-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    min-height: 76px;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    color: var(--ink);
}

.status-cell span {
    font-weight: 700;
}

.status-cell strong {
    font-size: 13px;
}

.status-cell.submitted {
    background: #edf8f4;
    border-color: #7bc7b7;
}

.status-cell.submitted strong {
    color: var(--brand-dark);
}

.status-cell.missing {
    background: #fff1f0;
    border-color: #f1a5a0;
}

.status-cell.missing strong {
    color: var(--danger);
}

.status-cell.optional {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.status-cell.optional strong {
    color: #64748b;
}

.city-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.city-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f7f9fa;
    font-weight: 700;
}

.city-chip.danger {
    color: var(--danger);
    background: #fff1f0;
    border-color: #f1a5a0;
}

.city-chip.success {
    color: var(--brand-dark);
    background: #edf8f4;
    border-color: #7bc7b7;
}

.monthly-status-wrap {
    max-height: 68vh;
}

.monthly-status-table {
    min-width: 1100px;
}

.monthly-status-table th,
.monthly-status-table td {
    min-width: 58px;
}

.monthly-status-table .sticky-col {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #ffffff;
}

.monthly-status-table thead .sticky-col {
    z-index: 3;
    background: #eef2f5;
}

.monthly-status-table .city-col {
    min-width: 120px;
}

.status-day.submitted {
    background: #edf8f4;
}

.status-day.submitted a {
    color: var(--brand-dark);
    font-weight: 700;
    text-decoration: none;
}

.status-day.missing {
    color: var(--danger);
    background: #fff1f0;
    font-weight: 700;
}

.status-day.optional {
    color: #64748b;
    background: #f1f5f9;
    font-weight: 700;
}

.shortcut-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.shortcut-grid a {
    padding: 14px;
    color: var(--ink);
    text-decoration: none;
    background: #f7f9fa;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 700;
}

.shortcut-grid a:hover {
    color: var(--brand-dark);
    border-color: var(--brand);
}

.detail-grid {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 0;
    margin: 0;
}

.detail-grid dt,
.detail-grid dd {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
}

.detail-grid dt {
    color: var(--muted);
    background: #f7f9fa;
    font-weight: 700;
}

.detail-grid dd {
    margin: 0;
}

.form-panel {
    max-width: 980px;
}

body.export-console-page {
    --export-bg: #071525;
    --export-panel: rgba(9, 30, 50, 0.88);
    --export-panel-strong: rgba(12, 43, 66, 0.92);
    --export-border: rgba(77, 190, 207, 0.26);
    --export-border-strong: rgba(91, 214, 224, 0.48);
    --export-text: #edf8ff;
    --export-muted: #a9c0d1;
    --export-cyan: #27d3e6;
    --export-green: #21c79a;
    --export-gold: #d7ad55;
    background:
        linear-gradient(rgba(45, 142, 170, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 142, 170, 0.05) 1px, transparent 1px),
        linear-gradient(135deg, #071525 0%, #0b1f33 52%, #092c38 100%);
    background-size: 28px 28px, 28px 28px, auto;
    color: var(--export-text);
}

body.export-console-page main {
    max-width: 1500px;
    margin: 0 auto;
}

body.export-console-page .page-title {
    position: relative;
    padding: 22px 24px;
    overflow: hidden;
    background:
        linear-gradient(100deg, rgba(9, 30, 50, 0.92), rgba(10, 52, 70, 0.84)),
        linear-gradient(90deg, rgba(39, 211, 230, 0.11), rgba(215, 173, 85, 0.08));
    border: 1px solid var(--export-border);
    border-radius: 8px;
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.export-console-page .page-title::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 0;
    width: 260px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(39, 211, 230, 0.75));
}

body.export-console-page .page-title h1,
body.export-console-page .export-section-heading h2,
body.export-console-page .export-card-top strong {
    color: var(--export-text);
}

body.export-console-page .eyebrow {
    color: var(--export-cyan);
}

body.export-console-page .page-subtitle,
body.export-console-page .export-section-heading p,
body.export-console-page .export-card p {
    color: var(--export-muted);
}

.page-subtitle {
    max-width: 760px;
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.export-section {
    margin-bottom: 22px;
}

.export-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.export-section-heading div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.export-section-heading span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #ffffff;
    background: var(--brand);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

body.export-console-page .export-section-heading span {
    color: #04111d;
    background: linear-gradient(135deg, var(--export-cyan), #79f5d2);
    box-shadow: 0 0 20px rgba(39, 211, 230, 0.22);
}

.export-section-heading h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.export-section-heading p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    text-align: right;
}

.export-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 16px;
}

.export-grid-two {
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
}

.export-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(39, 49, 58, 0.06);
}

.export-card-featured {
    border-color: rgba(183, 121, 31, 0.36);
    background:
        linear-gradient(135deg, rgba(183, 121, 31, 0.08), rgba(15, 118, 110, 0.06)),
        var(--paper);
}

body.export-console-page .export-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(20, 70, 91, 0.34), rgba(6, 20, 34, 0.18)),
        var(--export-panel);
    border-color: var(--export-border);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

body.export-console-page .export-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(39, 211, 230, 0.58), transparent);
}

body.export-console-page .export-card:hover {
    border-color: var(--export-border-strong);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(39, 211, 230, 0.06);
}

body.export-console-page .export-card-featured {
    background:
        linear-gradient(135deg, rgba(215, 173, 85, 0.12), rgba(39, 211, 230, 0.08)),
        var(--export-panel-strong);
    border-color: rgba(215, 173, 85, 0.42);
}

body.export-console-page .package-card {
    background:
        linear-gradient(135deg, rgba(33, 199, 154, 0.10), rgba(39, 211, 230, 0.08)),
        var(--export-panel);
}

.export-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.export-card-top strong {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.3;
}

.export-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.export-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    color: var(--brand-dark);
    background: #edf8f4;
    border: 1px solid #7bc7b7;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.export-badge.gold {
    color: #7a4f12;
    background: #fff7e6;
    border-color: #e0b15c;
}

body.export-console-page .export-badge {
    color: #bbf6ff;
    background: rgba(39, 211, 230, 0.12);
    border-color: rgba(39, 211, 230, 0.34);
}

body.export-console-page .export-badge.gold {
    color: #ffe5a9;
    background: rgba(215, 173, 85, 0.14);
    border-color: rgba(215, 173, 85, 0.42);
}

.export-points {
    margin: 0;
    padding-left: 18px;
    color: #46525e;
    font-size: 13px;
    line-height: 1.7;
}

body.export-console-page .export-points {
    color: #c5d6e2;
}

body.export-console-page .export-points li::marker {
    color: var(--export-cyan);
}

.export-form {
    margin-top: auto;
}

.export-form p {
    margin-bottom: 10px;
}

.export-form label {
    margin-bottom: 4px;
    color: #46525e;
    font-size: 13px;
    font-weight: 700;
}

body.export-console-page .export-form label {
    color: #cfe4ef;
}

body.export-console-page .export-form .form-control,
body.export-console-page .export-form .form-select {
    color: var(--export-text);
    color-scheme: dark;
    background-color: rgba(4, 16, 29, 0.74);
    border-color: rgba(109, 171, 193, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.export-console-page .export-form .form-control:focus,
body.export-console-page .export-form .form-select:focus {
    border-color: var(--export-cyan);
    box-shadow: 0 0 0 0.16rem rgba(39, 211, 230, 0.16);
}

body.export-console-page .export-form .form-control::placeholder {
    color: rgba(237, 248, 255, 0.48);
}

body.export-console-page .btn-success {
    --bs-btn-bg: rgba(33, 199, 154, 0.90);
    --bs-btn-border-color: rgba(33, 199, 154, 0.95);
    --bs-btn-hover-bg: #16a982;
    --bs-btn-hover-border-color: #16a982;
}

body.export-console-page .btn-primary {
    --bs-btn-bg: #128ea5;
    --bs-btn-border-color: #18a7bf;
    --bs-btn-hover-bg: #19b7cf;
    --bs-btn-hover-border-color: #39cfe2;
    box-shadow: 0 10px 24px rgba(14, 142, 165, 0.22);
}

.export-inline-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}

.export-inline-form p {
    min-width: 180px;
    margin: 0;
}

.export-quick-action {
    padding-top: 12px;
    margin-top: 2px;
    border-top: 1px solid var(--line);
}

.export-quick-action p {
    margin-bottom: 10px;
    font-size: 13px;
}

body.export-console-page .export-quick-action {
    border-top-color: rgba(77, 190, 207, 0.22);
}

.export-progress-panel {
    padding: 12px 14px;
    margin-top: 12px;
    border: 1px solid rgba(15, 118, 110, 0.28);
    border-radius: 8px;
    background: #edf8f4;
}

.export-progress-panel[hidden] {
    display: none !important;
}

.export-progress-panel.is-complete .export-progress-track,
.export-progress-panel.is-timeout .export-progress-track {
    display: none;
}

.export-progress-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.export-progress-header strong {
    color: var(--brand-dark);
    font-size: 14px;
}

.export-progress-header span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    text-align: right;
}

.export-progress-track {
    position: relative;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.15);
}

.export-progress-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 38%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, var(--brand), #18a999, transparent);
    animation: export-progress-sweep 1.15s ease-in-out infinite;
}

.export-card.is-exporting {
    border-color: rgba(15, 118, 110, 0.45);
}

.export-link-busy {
    pointer-events: none;
    opacity: 0.82;
}

body.export-console-page .export-progress-panel {
    background:
        linear-gradient(135deg, rgba(39, 211, 230, 0.10), rgba(33, 199, 154, 0.08)),
        rgba(4, 16, 29, 0.72);
    border-color: rgba(77, 190, 207, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

body.export-console-page .export-progress-header strong {
    color: #dffbff;
}

body.export-console-page .export-progress-header span {
    color: rgba(203, 213, 225, 0.78);
}

body.export-console-page .export-progress-track {
    background: rgba(125, 211, 252, 0.12);
    box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.08);
}

body.export-console-page .export-progress-bar {
    background: linear-gradient(90deg, transparent, #27d3e6, #21c79a, transparent);
    box-shadow: 0 0 18px rgba(39, 211, 230, 0.28);
}

body.export-console-page .export-progress-panel.is-complete {
    border-color: rgba(33, 199, 154, 0.42);
    background:
        linear-gradient(135deg, rgba(33, 199, 154, 0.12), rgba(39, 211, 230, 0.06)),
        rgba(4, 16, 29, 0.72);
}

body.export-console-page .export-progress-panel.is-timeout {
    border-color: rgba(215, 173, 85, 0.42);
    background:
        linear-gradient(135deg, rgba(215, 173, 85, 0.12), rgba(39, 211, 230, 0.04)),
        rgba(4, 16, 29, 0.72);
}

body.export-console-page .export-card.is-exporting {
    border-color: rgba(39, 211, 230, 0.62);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(39, 211, 230, 0.10);
}

@keyframes export-progress-sweep {
    0% {
        transform: translateX(-130%);
    }

    100% {
        transform: translateX(300%);
    }
}

@media (max-width: 768px) {
    .export-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .export-section-heading p {
        text-align: left;
    }

    .export-grid,
    .export-grid-two {
        grid-template-columns: 1fr;
    }

    .export-card-top {
        align-items: flex-start;
        flex-direction: column;
    }
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.upload-progress-panel {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #b8d7d2;
    border-radius: 8px;
    background: #f4fbf9;
}

.upload-progress-panel[hidden] {
    display: none !important;
}

.upload-progress-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.upload-progress-header strong {
    display: block;
    font-size: 15px;
}

.upload-progress-header span {
    color: var(--muted);
    font-size: 13px;
}

.upload-progress-track {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #dce8e6;
}

.upload-progress-bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand), #18a999);
    transition: width 160ms ease;
}

.upload-progress-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.upload-progress-error {
    margin-top: 10px;
}

.image-picker {
    display: grid;
    gap: 10px;
}

.image-picker-native {
    position: relative;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.image-picker-native input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.image-picker-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.image-picker-mobile-actions {
    display: none;
}

.image-picker-desktop-action {
    display: grid;
    grid-template-columns: 1fr;
}

.image-picker-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 10px 12px;
    color: #105f59;
    border: 1px solid #8ccfc4;
    border-radius: 8px;
    background: #eefaf7;
    font-weight: 800;
}

.image-picker-button.album {
    color: #7a4f12;
    border-color: #e0b15c;
    background: #fff7e6;
}

.image-picker-button.file {
    color: #d7f8ff;
    border-color: #2aa7bd;
    background: rgba(8, 145, 178, 0.36);
}

.image-picker-button:hover,
.image-picker-button:focus {
    filter: brightness(0.98);
}

.image-picker-icon {
    position: relative;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border: 2px solid currentColor;
}

.image-picker-icon.camera {
    border-radius: 6px;
}

.image-picker-icon.camera::before,
.image-picker-icon.camera::after,
.image-picker-icon.album::before,
.image-picker-icon.album::after {
    position: absolute;
    content: "";
}

.image-picker-icon.camera::before {
    top: -5px;
    left: 4px;
    width: 8px;
    height: 5px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
}

.image-picker-icon.camera::after {
    top: 5px;
    left: 5px;
    width: 6px;
    height: 6px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.image-picker-icon.album {
    border-radius: 4px;
}

.image-picker-icon.album::before {
    right: 3px;
    bottom: 3px;
    left: 3px;
    height: 6px;
    background: currentColor;
    clip-path: polygon(0 100%, 38% 25%, 56% 58%, 72% 36%, 100% 100%);
}

.image-picker-icon.album::after {
    top: 4px;
    right: 4px;
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
}

.image-picker-selected {
    min-height: 34px;
    padding: 7px 10px;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: 8px;
    background: #f7f9fa;
    font-size: 13px;
    word-break: break-all;
}

.batch-common {
    padding: 16px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.72);
}

.batch-scenes {
    display: grid;
    gap: 18px;
}

.batch-scene-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.batch-scene-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.batch-scene-heading h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.delete-target {
    padding: 14px;
    background: #f7f9fa;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 700;
}

.export-form p {
    margin-bottom: 12px;
}

.export-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.login-page {
    min-height: 100vh;
    background: linear-gradient(140deg, #eef2f5, #ffffff);
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-panel {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(39, 49, 58, 0.12);
}

.login-heading {
    padding: 46px;
    background: #283036;
    color: #ffffff;
}

.login-heading .eyebrow {
    color: #96d8ca;
}

.login-heading h1 {
    margin: 0 0 16px;
    font-size: 30px;
    line-height: 1.35;
}

.login-heading p:last-child {
    color: #d5dde4;
}

.login-form {
    padding: 46px;
    align-self: center;
}

.login-form input {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: .375rem;
}

@media (max-width: 768px) {
    .page-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .login-panel {
        grid-template-columns: 1fr;
    }

    .login-heading,
    .login-form {
        padding: 28px;
    }
}

body.console-page {
    min-height: 100vh;
    color: #dbeafe;
    background:
        linear-gradient(rgba(28, 208, 199, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 208, 199, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 82% 12%, rgba(20, 184, 166, 0.18), transparent 34%),
        linear-gradient(135deg, #06111f 0%, #0a1e31 46%, #071018 100%);
    background-size: 38px 38px, 38px 38px, auto, auto;
    font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
}

body.console-page::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(115deg, transparent 0 24%, rgba(56, 189, 248, 0.08) 24% 25%, transparent 25% 100%),
        linear-gradient(245deg, transparent 0 68%, rgba(45, 212, 191, 0.07) 68% 69%, transparent 69% 100%);
}

body.console-page .app-navbar {
    background: rgba(3, 15, 28, 0.92);
    border-bottom: 1px solid rgba(45, 212, 191, 0.42);
    box-shadow: 0 14px 36px rgba(2, 8, 23, 0.42);
    backdrop-filter: blur(14px);
}

body.console-page .navbar-brand {
    color: #e0f2fe;
}

body.console-page .nav-link {
    color: rgba(219, 234, 254, 0.72);
}

body.console-page .nav-link:hover,
body.console-page .nav-link:focus {
    color: #67e8f9;
}

body.console-page main {
    width: min(1680px, 100%);
    margin: 0 auto;
}

body.console-page .page-title {
    position: relative;
    align-items: center;
    padding: 18px 20px;
    overflow: hidden;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.82), rgba(13, 58, 76, 0.56));
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(2, 8, 23, 0.32);
}

body.console-page .page-title::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.72));
}

body.console-page .page-title h1 {
    color: #f8fafc;
    font-size: 25px;
}

body.console-page .eyebrow {
    color: #67e8f9;
}

body.console-page .panel,
body.console-page .metric-card,
body.console-page .filter-panel {
    color: #dbeafe;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(8, 47, 73, 0.58));
    border: 1px solid rgba(125, 211, 252, 0.18);
    box-shadow: 0 18px 48px rgba(2, 8, 23, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
}

body.console-page .panel-header {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

body.console-page .panel-header h2 {
    color: #f8fafc;
}

body.console-page .metric-card {
    border-color: rgba(45, 212, 191, 0.24);
}

body.console-page .metric-card span,
body.console-page .form-text,
body.console-page .text-muted,
body.console-page .export-form p {
    color: rgba(203, 213, 225, 0.72) !important;
}

body.console-page .metric-card strong {
    color: #facc15;
    text-shadow: 0 0 22px rgba(250, 204, 21, 0.2);
}

body.console-page .metric-card.alert-metric strong {
    color: #fb7185;
}

body.console-page .form-label,
body.console-page .export-form label {
    color: #bae6fd;
    font-weight: 700;
}

body.console-page .form-control,
body.console-page .form-select {
    color: #f8fafc;
    background-color: rgba(15, 23, 42, 0.72);
    border-color: rgba(125, 211, 252, 0.24);
}

body.console-page .form-control:focus,
body.console-page .form-select:focus {
    color: #ffffff;
    background-color: rgba(15, 23, 42, 0.92);
    border-color: #22d3ee;
    box-shadow: 0 0 0 0.2rem rgba(34, 211, 238, 0.18);
}

body.console-page .form-control::placeholder {
    color: rgba(203, 213, 225, 0.55);
}

body.console-page .readonly-select {
    color: #a7f3d0;
    background-color: rgba(20, 83, 45, 0.24);
    border-color: rgba(45, 212, 191, 0.32);
    pointer-events: none;
}

body.console-page input[type="date"]::-webkit-calendar-picker-indicator,
body.console-page input[type="month"]::-webkit-calendar-picker-indicator {
    width: 18px;
    height: 18px;
    padding: 4px;
    cursor: pointer;
    opacity: 1;
    border-radius: 6px;
    background-color: rgba(34, 211, 238, 0.14);
    filter: invert(86%) sepia(67%) saturate(867%) hue-rotate(145deg) brightness(105%) contrast(102%);
}

body.console-page input[type="date"]::-webkit-calendar-picker-indicator:hover,
body.console-page input[type="month"]::-webkit-calendar-picker-indicator:hover {
    background-color: rgba(34, 211, 238, 0.28);
    filter: invert(95%) sepia(95%) saturate(922%) hue-rotate(143deg) brightness(108%) contrast(106%);
}

body.console-page .form-check-input {
    background-color: rgba(15, 23, 42, 0.9);
    border-color: rgba(125, 211, 252, 0.36);
}

body.console-page .form-check-input:checked {
    background-color: #0f766e;
    border-color: #2dd4bf;
}

body.console-page .btn {
    font-weight: 700;
    box-shadow: none;
}

body.console-page .btn-primary {
    --bs-btn-bg: #0891b2;
    --bs-btn-border-color: #22d3ee;
    --bs-btn-hover-bg: #0e7490;
    --bs-btn-hover-border-color: #67e8f9;
    --bs-btn-color: #f8fafc;
}

body.console-page .btn-success {
    --bs-btn-bg: #0f766e;
    --bs-btn-border-color: #2dd4bf;
    --bs-btn-hover-bg: #115e59;
    --bs-btn-hover-border-color: #5eead4;
}

body.console-page .btn-outline-primary,
body.console-page .btn-outline-secondary {
    color: #bae6fd;
    border-color: rgba(125, 211, 252, 0.46);
}

body.console-page .btn-outline-primary:hover,
body.console-page .btn-outline-secondary:hover {
    color: #082f49;
    background: #67e8f9;
    border-color: #67e8f9;
}

body.console-page .btn-outline-danger {
    color: #fecdd3;
    border-color: rgba(248, 113, 113, 0.55);
}

body.console-page .btn-outline-danger:hover {
    color: #450a0a;
    background: #fb7185;
    border-color: #fb7185;
}

body.console-page .table {
    --bs-table-color: #dbeafe;
    --bs-table-bg: transparent;
    --bs-table-border-color: rgba(148, 163, 184, 0.16);
    --bs-table-hover-color: #f8fafc;
    --bs-table-hover-bg: rgba(14, 165, 233, 0.12);
}

body.console-page .table thead th {
    color: #bae6fd;
    background: rgba(8, 47, 73, 0.72);
    border-bottom: 1px solid rgba(45, 212, 191, 0.28);
}

body.console-page .table td {
    color: #dbeafe;
    border-color: rgba(148, 163, 184, 0.13);
}

body.console-page .table-summary {
    line-height: 1.65;
}

body.console-page .empty-cell,
body.console-page .list-group-item.text-muted {
    padding: 28px;
    color: rgba(203, 213, 225, 0.72) !important;
    text-align: center;
    background: rgba(15, 23, 42, 0.38);
}

body.console-page .status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

body.console-page .status-badge.submitted {
    color: #99f6e4;
    background: rgba(20, 184, 166, 0.14);
    border-color: rgba(45, 212, 191, 0.46);
}

body.console-page .status-badge.draft {
    color: #fde68a;
    background: rgba(217, 119, 6, 0.14);
    border-color: rgba(250, 204, 21, 0.48);
}

body.console-page .submission-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    margin-bottom: 18px;
    background: rgba(8, 47, 73, 0.5);
    border: 1px solid rgba(125, 211, 252, 0.18);
    border-radius: 8px;
}

body.console-page .submission-strip p {
    max-width: 560px;
    margin: 0;
    color: rgba(203, 213, 225, 0.78);
}

body.console-page .submission-kicker {
    display: block;
    margin-bottom: 3px;
    color: #67e8f9;
    font-size: 12px;
    font-weight: 800;
}

body.console-page .submission-state {
    font-size: 20px;
}

body.console-page .submission-state.submitted {
    color: #99f6e4;
}

body.console-page .submission-state.draft {
    color: #fde68a;
}

body.console-page .package-panel {
    border-color: rgba(250, 204, 21, 0.28);
    background:
        linear-gradient(145deg, rgba(15, 23, 42, 0.84), rgba(8, 47, 73, 0.68)),
        radial-gradient(circle at 86% 0%, rgba(250, 204, 21, 0.16), transparent 28%);
}

body.console-page .package-panel p {
    min-height: 48px;
    color: rgba(219, 234, 254, 0.78);
}

body.console-page .batch-common,
body.console-page .batch-scene-card {
    background: rgba(15, 23, 42, 0.44);
    border-color: rgba(125, 211, 252, 0.16);
}

body.console-page .batch-scene-heading {
    border-bottom-color: rgba(148, 163, 184, 0.16);
}

body.console-page .batch-scene-heading h2 {
    color: #f8fafc;
}

body.console-page .detail-grid dt,
body.console-page .detail-grid dd {
    border-bottom-color: rgba(148, 163, 184, 0.16);
}

body.console-page .detail-grid dt {
    color: #bae6fd;
    background: rgba(8, 47, 73, 0.45);
}

body.console-page .detail-grid dd {
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.2);
}

body.console-page .status-cell,
body.console-page .shortcut-grid a,
body.console-page .city-chip,
body.console-page .delete-target,
body.console-page .list-group-item {
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.56);
    border-color: rgba(125, 211, 252, 0.18);
}

body.console-page .shortcut-grid a:hover {
    color: #f8fafc;
    border-color: rgba(45, 212, 191, 0.58);
    background: rgba(8, 145, 178, 0.18);
}

body.console-page .status-cell.submitted,
body.console-page .status-day.submitted {
    background: rgba(20, 184, 166, 0.16);
    border-color: rgba(45, 212, 191, 0.46);
}

body.console-page .status-cell.submitted strong,
body.console-page .status-day.submitted a {
    color: #99f6e4;
}

body.console-page .status-cell.missing,
body.console-page .status-day.missing {
    color: #fecdd3;
    background: rgba(190, 18, 60, 0.18);
    border-color: rgba(251, 113, 133, 0.42);
}

body.console-page .status-cell.missing strong {
    color: #fecdd3;
}

body.console-page .status-cell.optional,
body.console-page .status-day.optional {
    color: #cbd5e1;
    background: rgba(71, 85, 105, 0.24);
    border-color: rgba(148, 163, 184, 0.32);
}

body.console-page .status-cell.optional strong {
    color: #cbd5e1;
}

body.console-page .monthly-status-table .sticky-col,
body.console-page .monthly-status-table thead .sticky-col {
    background: #082f49;
}

body.console-page .alert {
    color: #e0f2fe;
    background: rgba(8, 47, 73, 0.82);
    border-color: rgba(125, 211, 252, 0.28);
}

body.console-page .message-stack {
    position: relative;
    z-index: 2;
}

body.console-page .checkbox-grid,
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.checkbox-grid .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 12px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f7f9fa;
}

.checkbox-grid input {
    flex: 0 0 auto;
}

body.console-page .checkbox-grid .form-check {
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.48);
    border-color: rgba(125, 211, 252, 0.18);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.section-heading h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.image-grid figure {
    padding: 12px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f7f9fa;
}

.image-grid img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
}

.image-grid figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

body.console-page .section-heading h2 {
    color: #f8fafc;
}

body.console-page .image-grid figure {
    background: rgba(15, 23, 42, 0.48);
    border-color: rgba(125, 211, 252, 0.18);
}

body.console-page .image-grid figcaption {
    color: #bae6fd;
}

body.console-page .image-picker-button {
    color: #e0faff;
    background: rgba(8, 145, 178, 0.24);
    border-color: rgba(103, 232, 249, 0.42);
}

body.console-page .image-picker-button.album {
    color: #fff1bf;
    background: rgba(217, 119, 6, 0.16);
    border-color: rgba(250, 204, 21, 0.42);
}

body.console-page .image-picker-button.file {
    color: #dffbff;
    background: rgba(8, 145, 178, 0.30);
    border-color: rgba(103, 232, 249, 0.42);
}

body.console-page .image-picker-button:hover,
body.console-page .image-picker-button:focus {
    border-color: rgba(103, 232, 249, 0.72);
    background: rgba(8, 145, 178, 0.34);
}

body.console-page .image-picker-selected {
    color: rgba(203, 213, 225, 0.78);
    background: rgba(15, 23, 42, 0.42);
    border-color: rgba(125, 211, 252, 0.20);
}

.app-navbar .nav-link.active {
    color: #ffffff !important;
    font-weight: 800;
}

.mobile-page-tools,
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    body.console-page main {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    body.console-page .page-title {
        align-items: flex-start;
        padding: 16px;
    }

    body.console-page .page-title h1 {
        font-size: 22px;
    }

    body.console-page .filter-panel .d-flex,
    body.console-page .form-actions,
    body.console-page .submission-strip,
    body.console-page .batch-scene-heading {
        align-items: stretch;
        flex-direction: column;
    }

    body.console-page .filter-panel .btn,
    body.console-page .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .app-navbar .container-fluid {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .navbar-brand {
        max-width: calc(100vw - 92px);
        font-size: 15px;
        line-height: 1.35;
        white-space: normal;
    }

    .navbar-toggler {
        width: 44px;
        height: 44px;
        padding: 0;
        border-color: rgba(255, 255, 255, 0.28);
        border-radius: 8px;
    }

    .navbar-collapse {
        margin-top: 12px;
        padding: 12px;
        border: 1px solid rgba(125, 211, 252, 0.18);
        border-radius: 10px;
        background: rgba(5, 16, 29, 0.96);
        box-shadow: 0 18px 36px rgba(2, 8, 23, 0.34);
    }

    .navbar-nav .nav-link {
        min-height: 44px;
        padding: 10px 12px;
        border-radius: 8px;
    }

    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link:hover {
        color: #082f49 !important;
        background: #67e8f9;
    }

    .mobile-page-tools {
        position: sticky;
        top: 8px;
        z-index: 30;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 9px;
        margin-bottom: 12px;
        border: 1px solid rgba(125, 211, 252, 0.18);
        border-radius: 10px;
        background: rgba(7, 21, 36, 0.86);
        box-shadow: 0 12px 28px rgba(2, 8, 23, 0.28);
        backdrop-filter: blur(14px);
    }

    .mobile-back-button,
    .mobile-home-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 8px 12px;
        color: #dffbff;
        text-decoration: none;
        border: 1px solid rgba(125, 211, 252, 0.28);
        border-radius: 8px;
        background: rgba(8, 47, 73, 0.58);
        font-size: 14px;
        font-weight: 800;
    }

    .mobile-back-button {
        flex: 1 1 auto;
    }

    .mobile-home-link {
        flex: 0 0 auto;
        color: #a7f3d0;
    }

    .mobile-bottom-nav {
        position: sticky;
        top: 0;
        z-index: 25;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        width: min(960px, calc(100% - 20px));
        padding: 8px;
        margin: 10px auto 0;
        border: 1px solid rgba(125, 211, 252, 0.20);
        border-radius: 14px;
        background: #061424;
        box-shadow: 0 10px 24px rgba(2, 8, 23, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    .mobile-bottom-nav a {
        display: grid;
        place-items: center;
        gap: 4px;
        min-height: 54px;
        color: rgba(219, 234, 254, 0.72);
        text-decoration: none;
        border: 1px solid transparent;
        border-radius: 10px;
        font-size: 12px;
        font-weight: 800;
    }

    .mobile-bottom-nav a.active {
        color: #06111f;
        background: linear-gradient(135deg, #67e8f9, #5eead4);
        border-color: rgba(103, 232, 249, 0.68);
    }

    .mobile-nav-icon {
        position: relative;
        width: 18px;
        height: 18px;
        border: 2px solid currentColor;
        border-radius: 5px;
    }

    .mobile-nav-icon::after {
        position: absolute;
        content: "";
        background: currentColor;
    }

    .mobile-nav-icon.home::after {
        inset: 5px;
        border-radius: 2px;
    }

    .mobile-nav-icon.daily::after {
        top: 4px;
        right: 3px;
        left: 3px;
        height: 2px;
        box-shadow: 0 5px 0 currentColor;
    }

    .mobile-nav-icon.robot {
        border-radius: 50%;
    }

    .mobile-nav-icon.robot::after {
        inset: 4px;
        border-radius: 50%;
    }

    .mobile-nav-icon.files::after {
        top: 3px;
        left: 3px;
        width: 10px;
        height: 2px;
        box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
    }

    .mobile-nav-icon.export::after {
        top: 3px;
        left: 6px;
        width: 2px;
        height: 10px;
        box-shadow: -4px 4px 0 currentColor, 4px 4px 0 currentColor;
    }
}

@media (max-width: 768px) {
    .page-title {
        gap: 12px;
        margin-bottom: 14px;
    }

    .page-title h1 {
        font-size: 22px;
        line-height: 1.35;
    }

    .quick-actions,
    .page-title > .d-flex {
        width: 100%;
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .quick-actions .btn,
    .page-title > .btn,
    .page-title > .d-flex .btn {
        width: 100%;
        min-height: 44px;
    }

    .panel,
    .filter-panel,
    .metric-card,
    .export-card {
        border-radius: 10px;
    }

    .panel,
    .filter-panel {
        padding: 14px;
        margin-bottom: 14px;
    }

    .filter-panel .col-md-2,
    .filter-panel .col-md-3,
    .filter-panel .col-md-4,
    .filter-panel .col-md-5 {
        width: 100%;
    }

    .filter-panel .d-flex,
    .export-inline-form {
        display: grid !important;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .form-control,
    .form-select,
    .btn {
        min-height: 44px;
        font-size: 15px;
    }

    input[type="file"].form-control {
        min-height: 48px;
    }

    .mobile-card-table {
        display: block;
    }

    .mobile-card-table thead {
        display: none;
    }

    .mobile-card-table tbody,
    .mobile-card-table tr,
    .mobile-card-table td {
        display: block;
        width: 100%;
    }

    .mobile-card-table tr {
        padding: 12px;
        margin-bottom: 12px;
        border: 1px solid rgba(125, 211, 252, 0.18);
        border-radius: 10px;
        background: rgba(15, 23, 42, 0.34);
    }

    .mobile-card-table td {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 10px;
        padding: 8px 0;
        border: 0 !important;
        text-align: left !important;
    }

    .mobile-card-table td::before {
        content: attr(data-label);
        color: #93c5fd;
        font-size: 12px;
        font-weight: 800;
    }

    .mobile-card-table td[colspan],
    .mobile-card-table .empty-cell {
        display: block;
        padding: 18px 10px;
        text-align: center !important;
    }

    .mobile-card-table td[colspan]::before,
    .mobile-card-table .empty-cell::before {
        display: none;
    }

    .mobile-card-table .table-summary {
        max-width: none;
        min-width: 0;
    }

    .mobile-action-cell {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .mobile-action-cell::before {
        margin-bottom: 2px;
    }

    .mobile-action-cell .btn {
        width: 100%;
        margin: 0 0 6px;
    }

    .form-panel {
        max-width: none;
    }

    .form-actions {
        position: sticky;
        bottom: calc(8px + env(safe-area-inset-bottom));
        z-index: 40;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px;
        margin: 18px -6px -4px;
        border: 1px solid rgba(125, 211, 252, 0.20);
        border-radius: 12px;
        background: rgba(3, 15, 28, 0.94);
        box-shadow: 0 -12px 30px rgba(2, 8, 23, 0.38);
    }

    .form-actions .btn {
        margin: 0;
    }

    .submission-strip,
    .upload-progress-header,
    .export-progress-header,
    .section-heading,
    .panel-header {
        align-items: stretch;
        flex-direction: column;
    }

    .export-progress-header span {
        text-align: left;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .checkbox-grid .form-check {
        min-height: 48px;
    }

    .image-picker-actions {
        grid-template-columns: 1fr 1fr;
    }

    .image-picker-mobile-actions {
        display: grid;
    }

    .image-picker-desktop-action {
        display: none;
    }

    .image-picker-button {
        min-height: 52px;
        padding: 12px 10px;
    }

    .detail-grid dt {
        padding-bottom: 4px;
        border-bottom: 0;
        border-radius: 8px 8px 0 0;
    }

    .detail-grid dd {
        padding-top: 8px;
        border-radius: 0 0 8px 8px;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .image-grid img {
        height: auto;
        max-height: 72vh;
        object-fit: contain;
        background: rgba(2, 8, 23, 0.34);
    }

    .monthly-status-wrap {
        max-height: 66vh;
        overflow: auto;
    }

    .monthly-status-table {
        min-width: 920px;
    }

    .export-section-heading {
        gap: 10px;
    }

    .export-card {
        padding: 16px;
    }

    .export-card .btn,
    .export-form .btn,
    .export-quick-action .btn {
        width: 100%;
    }

    .mobile-redundant-panel {
        display: none !important;
    }
}

@media (max-width: 420px) {
    body.console-page main,
    .cockpit-page main {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .navbar-brand {
        max-width: calc(100vw - 82px);
        font-size: 14px;
    }

    .mobile-bottom-nav {
        width: calc(100% - 12px);
        gap: 4px;
        padding: 6px;
    }

    .mobile-bottom-nav a {
        min-height: 50px;
        font-size: 11px;
    }

    .mobile-card-table td {
        grid-template-columns: 78px minmax(0, 1fr);
    }
}
