@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600;700&display=swap');

/* Highlight missing required fields */
.input-error {
    border: 2px solid #d32f2f !important;
    background-color: #fff6f6;
    box-shadow: 0 0 0 2px #d32f2f33;
}
/* Custom style for date input calendar popups */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.2) brightness(0.9) grayscale(0.5);
}
input[type="date"] {
    background-color: #f2f2f2;
    border-radius: 6px;
}
input[type="date"]:focus {
    outline: 2px solid #bdbdbd;
    background-color: #e6e6e6;
}
.request-cards-row > .request-card {
    min-width: 260px;
    max-width: 340px;
    width: 100%;
}
:root {
    --theme-primary-color: #0b3d2e;
    --theme-primary-dark-color: #082f23;
    --theme-accent-color: #c48a3a;
    --theme-background-color: #f4f3ef;
    --theme-surface-color: #e7efe9;
    --theme-text-color: #0f1c16;
    --theme-background-soft-color: #f8faf7;
    --theme-background-mid-color: #eef2ee;
    --theme-radius: 12px;
    --forest: var(--theme-primary-color);
    --forest-dark: var(--theme-primary-dark-color);
    --sage: #c5d4c3;
    --stone: var(--theme-background-color);
    --gold: var(--theme-accent-color);
    --ink: var(--theme-text-color);
    --mist: var(--theme-surface-color);
    --shadow: 0 20px 50px rgba(11, 61, 46, 0.18);
    --footer-height: 22px;
    --admin-sticky-top: 140px;
    --admin-pane-bottom-gap: 16px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Cascadia Code", "Cascadia Mono", "Consolas", "Menlo", "Monaco", "Courier New", "Source Sans 3", sans-serif;
    font-variant-numeric: slashed-zero;
    font-feature-settings: "zero" 1;
    color: var(--ink);
    background: radial-gradient(circle at top left, var(--theme-background-soft-color) 0%, var(--theme-background-mid-color) 40%, var(--theme-background-color) 100%);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: var(--footer-height);
}

body.ops-admin {
    overflow: hidden;
}

input,
textarea,
select,
button,
option,
label,
p,
span,
td,
th,
a,
strong,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Cascadia Code", "Cascadia Mono", "Consolas", "Menlo", "Monaco", "Courier New", "Source Sans 3", sans-serif;
    font-variant-numeric: slashed-zero;
    font-feature-settings: "zero" 1;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, 90vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(244, 243, 239, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(11, 61, 46, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--forest), var(--gold));
    box-shadow: var(--shadow);
}

.brand-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(15, 28, 22, 0.6);
}

.brand-name {
    display: block;
    font-family: "Merriweather", serif;
    font-size: 18px;
}

.nav {
    display: flex;
    gap: 18px;
    font-weight: 600;
}

.nav a {
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.2s ease;
}

.nav a:hover::after {
    width: 100%;
}

.cta {
    border: none;
    background: var(--forest);
    color: white;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.user-menu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
}

.user-menu__trigger {
    border: 1px solid rgba(11, 61, 46, 0.2);
    background: white;
    color: var(--ink);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

.user-menu__dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 180px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(11, 61, 46, 0.1);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    padding: 8px;
    z-index: 30;
}

.user-menu__dropdown a {
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 600;
}

.user-menu__dropdown a:hover,
.user-menu__dropdown a:focus {
    background: rgba(196, 138, 58, 0.12);
}

.user-menu:hover .user-menu__dropdown,
.user-menu:focus-within .user-menu__dropdown {
    display: flex;
}

.hero {
    padding: 90px 0 70px;
}

main {
    flex: 1;
}

.site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--footer-height);
    display: flex;
    align-items: center;
    color: rgba(15, 28, 22, 0.7);
    font-size: 0.75rem;
    line-height: 1.2;
    background: rgba(244, 243, 239, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(11, 61, 46, 0.08);
    z-index: 20;
}

.site-footer p {
    margin: 0;
    text-align: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    align-items: center;
}

.hero-copy h1 {
    font-family: "Merriweather", serif;
    font-size: clamp(2.4rem, 3vw, 3.4rem);
    margin: 10px 0 16px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    color: rgba(15, 28, 22, 0.6);
    margin: 0 0 12px;
}

.lead {
    font-size: 1.1rem;
    color: rgba(15, 28, 22, 0.8);
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin: 24px 0 30px;
    flex-wrap: wrap;
}

button {
    font-family: inherit;
}

.primary,
.secondary,
.ghost {
    padding: 12px 20px;
    border-radius: var(--theme-radius);
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.primary {
    background: var(--forest);
    color: white;
    box-shadow: var(--shadow);
}

.danger {
    background: #7a1c1c;
    color: white;
    box-shadow: var(--shadow);
}

.secondary {
    background: var(--mist);
    color: var(--forest);
}

.secondary.secondary--send-now {
    background: #d5e6dd;
    color: #0b3d2e;
    border: 1px solid rgba(11, 61, 46, 0.35);
    box-shadow: 0 1px 2px rgba(11, 61, 46, 0.12);
}

.secondary.secondary--send-now:hover,
.secondary.secondary--send-now:focus-visible {
    background: #c1dbc9;
    border-color: rgba(11, 61, 46, 0.5);
}

.secondary.secondary--warning {
    background: #fff59d;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-decoration: none;
}

.secondary.secondary--warning .sidebar-action__count {
    background: var(--forest);
    color: #ffffff;
}

.ghost {
    background: transparent;
    border: 1px solid rgba(11, 61, 46, 0.3);
    color: var(--forest);
}

.hero-metrics {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.metric {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--forest);
}

.metric-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(15, 28, 22, 0.6);
}

.hero-panel {
    background: white;
    padding: 28px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 61, 46, 0.08);
    max-width: 820px;
    margin: 0 auto;
}

#sign .hero-panel h2 {
    text-align: center;
}

.sign-vehicle-media {
    margin: 0;
}

.sign-vehicle-media img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(15, 28, 22, 0.12);
    background: var(--mist);
}

.sign-layout {
    display: block;
    margin-top: 12px;
}

.sign-form-wrap {
    max-width: 420px;
    margin: 0 auto;
}

.sign-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
}

.sign-form label {
    display: grid;
    gap: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
    text-align: left;
}

.sign-form input,
.sign-form textarea,
.sign-form select {
    width: 100%;
    min-height: 38px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(15, 28, 22, 0.16);
    font-size: 0.95rem;
    color: var(--ink);
    background: #ffffff;
    box-shadow: none;
}

.profile-theme-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.profile-theme-toggle .user-active-switch__input {
    flex: 0 0 auto;
    width: 42px;
    min-height: 22px;
    height: 22px;
    padding: 0;
}


.request-cards--split {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin: 10px 0 12px;
}
.request-cards-row {
    display: flex;
    flex-direction: row;
    gap: 24px;
    justify-content: center;
}
.request-cards-row--center {
    justify-content: center;
}

.request-card {
    border: 2px solid #000000;
    border-radius: 14px;
    padding: 12px;
    background: #f8faf7;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}


/* Black to Kermit-green gradient for first two cards */
.request-cards .request-card:nth-child(1),
.request-cards .request-card:nth-child(2) {
    background: linear-gradient(135deg, #181818 10%, #5ecb18 90%);
    border-color: #000000;
    color: #ffffff;
}

.request-cards .request-card:nth-child(-n+3) h3,
.request-cards .request-card:nth-child(-n+3) p {
    color: #ffffff;
}


/* Black-red gradient for report card, more red, less black */
.request-card--report {
    background: linear-gradient(135deg, #181818 10%, #7a1c1c 90%) !important;
    border-color: #000000 !important;
    color: #ffffff !important;
    grid-column: auto;
    grid-row: auto;
}

.request-card--report h3,
.request-card--report p {
    color: #ffffff;
}

.request-card h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    text-align: center;
}

.request-card p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(15, 28, 22, 0.7);
}

.request-card.request-card--report h3,
.request-card.request-card--report p {
    color: #ffffff;
}

.request-card--status {
    cursor: default;
}

.reservation-status-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.reservation-status-form input[type="text"] {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(11, 61, 46, 0.2);
    border-radius: 10px;
    padding: 8px 10px;
    font: inherit;
}

.reservation-status-result {
    margin-top: 8px;
    font-size: 0.85rem;
    color: rgba(15, 28, 22, 0.85);
}

.reservation-status-result--note {
    color: rgba(15, 28, 22, 0.7);
}

.reservation-status-result--error {
    color: #7a1c1c;
}

.request-card.is-active {
    border-color: rgba(11, 61, 46, 0.4);
    box-shadow: var(--shadow);
    background: white;
}

.request-card:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.reservation-lookup {
    display: none;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    border: 1px dashed rgba(11, 61, 46, 0.3);
    background: #f8faf7;
}

.reservation-lookup.is-visible {
    display: grid;
}

.reservation-lookup button {
    align-self: end;
}

.return-fields {
    display: none;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 12px;
}

.return-fields.is-visible {
    display: grid;
}

.return-fields .minor-issue-row,
.return-fields .minor-issue-details-field {
    grid-column: 1 / -1 !important;
}

.return-fields .minor-issue-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.return-fields .minor-issue-row label {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    width: auto;
    display: block;
}

.return-fields .minor-issue-row input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: auto;
    width: 16px !important;
    height: 16px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    flex: 0 0 auto;
}


@media (max-width: 900px) {
    .request-cards {
        grid-template-columns: 1fr;
    }

    .request-cards-row {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        gap: 14px;
    }

    .request-cards-row > .request-card {
        min-width: 0;
        max-width: none;
    }

    .request-card {
        width: 100%;
    }

    .reservation-status-form {
        flex-direction: column;
        align-items: stretch;
    }

    .reservation-status-form .secondary,
    .reservation-status-form button {
        width: 100%;
    }

    .hero-panel {
        padding: 20px;
    }

    .sign-form-wrap {
        max-width: min(560px, 100%);
    }

    .inline-region-switch label {
        width: 100%;
        max-width: 480px;
    }

    .inline-region-switch select {
        min-width: 0;
        width: 100%;
    }

    .request-card--report {
        grid-column: auto;
        grid-row: auto;
    }

    .return-fields {
        grid-template-columns: 1fr;
    }

    .reservation-lookup {
        grid-template-columns: 1fr;
    }
}

.error-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 120;
}

.error-modal.is-open {
    display: flex;
}

.success-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 120;
}

.success-modal.is-open {
    display: flex;
}

.warning-modal,
.review-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 120;
}

.warning-modal.is-open,
.review-modal.is-open {
    display: flex;
}

.error-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 47, 35, 0.4);
    backdrop-filter: blur(4px);
}

.success-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 47, 35, 0.4);
    backdrop-filter: blur(4px);
}

.warning-backdrop,
.review-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 47, 35, 0.4);
    backdrop-filter: blur(4px);
}

.error-card {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 24px;
    width: min(420px, 92vw);
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 61, 46, 0.1);
    z-index: 1;
    text-align: center;
}

.success-card {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 24px;
    width: min(460px, 92vw);
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 61, 46, 0.1);
    z-index: 1;
    text-align: center;
}

.warning-card,
.review-card {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 24px;
    width: min(460px, 92vw);
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 61, 46, 0.1);
    z-index: 1;
    text-align: center;
}

.error-card h3 {
    margin: 0 0 10px;
    font-family: "Merriweather", serif;
}

.success-card h3 {
    margin: 0 0 10px;
    font-family: "Merriweather", serif;
}

.warning-card h3,
.review-card h3 {
    margin: 0 0 10px;
    font-family: "Merriweather", serif;
}

.success-detail {
    margin: 0 0 8px;
}

.success-id {
    font-size: 14pt;
    font-weight: 700;
}

.success-id,
#reservation-lookup-input,
.reservation-status-form input[name="reservation_id"],
input[name*="reservation_id"],
input[name*="vehicle_id"],
input[name*="vehicle_assigned"],
#reservation-id,
#reservation-delete-id,
#reservation-deny-id,
#discrepancy-reservation-id,
#discrepancy-vehicle-id,
.reservation-status-result strong {
    font-family: "Fira Code", "Cascadia Code", "Cascadia Mono", "Consolas", "Menlo", "Monaco", "Courier New", monospace;
    font-variant-numeric: slashed-zero;
    -webkit-font-feature-settings: "zero" 1;
    -moz-font-feature-settings: "zero" 1;
    font-feature-settings: "zero" 1, "tnum" 1;
    font-optical-sizing: auto;
    letter-spacing: 0.02em;
}

.editable-table td,
.editable-table th,
.vehicle-usage-report-table td,
.vehicle-usage-report-table th,
.table-wrap td,
.table-wrap th {
    font-family: "Fira Code", "Cascadia Code", "Cascadia Mono", "Consolas", "Menlo", "Monaco", "Courier New", monospace;
    font-variant-numeric: slashed-zero tabular-nums;
    -webkit-font-feature-settings: "zero" 1, "tnum" 1;
    -moz-font-feature-settings: "zero" 1, "tnum" 1;
    font-feature-settings: "zero" 1, "tnum" 1;
}

.error-card p {
    margin: 0 0 16px;
    color: rgba(15, 28, 22, 0.75);
}

@media (max-width: 900px) {
    .sign-layout {
        display: block;
    }
}

.label-inline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.match-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #7a1c1c;
    background: rgba(122, 28, 28, 0.12);
}


.sign-form input:focus,
.sign-form textarea:focus,
.sign-form select:focus {
    outline: 2px solid rgba(11, 61, 46, 0.25);
    outline-offset: 0;
}

.sign-form .input-muted,
.sign-form input[readonly] {
    background: #e2e8e2;
    color: rgba(15, 28, 22, 0.7);
}

.sign-form input.auto-assigned-display[readonly] {
    background: repeating-linear-gradient(
        -45deg,
        rgba(11, 61, 46, 0.12),
        rgba(11, 61, 46, 0.12) 8px,
        rgba(11, 61, 46, 0.06) 8px,
        rgba(11, 61, 46, 0.06) 16px
    ) !important;
    border: 1px dashed rgba(11, 61, 46, 0.55) !important;
    color: rgba(15, 28, 22, 0.86) !important;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: not-allowed;
}

.sign-form input.auto-assigned-display[readonly]:focus {
    outline: 2px solid rgba(11, 61, 46, 0.22);
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.form-note {
    font-size: 0.85rem;
    color: rgba(15, 28, 22, 0.6);
    margin: 0;
}

.status {
    padding: 70px 0;
    background: var(--stone);
}

.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.section-heading h1,
.section-heading h2,
.section-heading h3 {
    margin-bottom: 6px;
}

.section-heading .form-note {
    margin-top: 3px;
    line-height: 1.5;
}

.section-heading--report-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 24px;
    row-gap: 8px;
}

.section-heading--report-detail > div:last-child {
    text-align: right;
    align-self: start;
}

.section-heading--report-detail > div:last-child .form-note {
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .section-heading--report-detail {
        grid-template-columns: 1fr;
    }

    .section-heading--report-detail > div:last-child {
        text-align: left;
        width: 100%;
    }

    .section-heading--report-detail > div:last-child .form-note {
        white-space: normal;
    }
}

.section-heading-title-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.section-heading-title-actions .sidebar-action {
    width: auto;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 24px 0 30px;
}

.status-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.card-link {
    display: block;
}

.card-link h3,
.card-link p {
    margin: 0 0 6px;
}

.card-link p {
    color: rgba(15, 28, 22, 0.75);
}

.active-region-banner {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 10px 0 16px;
}

.inline-region-switch {
    display: flex;
    justify-content: center;
    margin: 8px 0 4px;
}

.inline-region-switch label {
    display: grid;
    gap: 4px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
}

.inline-region-switch select {
    min-width: 250px;
    min-height: 40px;
    font-size: 1rem;
    padding: 6px 10px;
}

.card-link:focus-visible {
    outline: 2px solid rgba(196, 138, 58, 0.6);
    outline-offset: 4px;
}

.status-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 50px rgba(11, 61, 46, 0.22);
}

.status-count {
    font-size: 2rem;
    margin: 12px 0 6px;
    color: var(--forest);
}

.table-wrap {
    background: white;
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    line-height: 1.1;
}

.editable-table input {
    width: 100%;
    padding: 3px 4px;
    border-radius: 6px;
    border: 1px solid rgba(15, 28, 22, 0.2);
    background: #f8faf7;
    font-size: 0.85rem;
    color: var(--ink);
}

.editable-table textarea {
    width: 100%;
    padding: 3px 4px;
    border-radius: 6px;
    border: 1px solid rgba(15, 28, 22, 0.2);
    background: #f8faf7;
    font-size: 0.85rem;
    color: var(--ink);
    resize: vertical;
}

.editable-table select {
    width: 100%;
    padding: 3px 4px;
    border-radius: 6px;
    border: 1px solid rgba(15, 28, 22, 0.2);
    background: #f8faf7;
    font-size: 0.85rem;
    color: var(--ink);
}

.editable-table tr.reservation-row--special-request-pending td {
    background: rgba(255, 214, 51, 0.45);
}

.editable-table tr.reservation-row--special-request-pending input,
.editable-table tr.reservation-row--special-request-pending textarea,
.editable-table tr.reservation-row--special-request-pending select {
    background: #ffe680;
    border-color: rgba(122, 90, 0, 0.42);
}

.reservation-special-request-legend {
    margin-top: 12px;
}

.editable-table td.region-cell {
    min-width: 220px;
}

.region-selector {
    width: 100%;
    min-width: 200px;
    min-height: 120px;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid rgba(15, 28, 22, 0.3);
    background: #f8faf7;
    color: var(--ink);
}

.region-selector--compact {
    min-height: 32px;
    height: 32px;
    padding: 3px 4px;
}

.region-selector option {
    padding: 4px 6px;
}

.region-selector:focus {
    outline: 2px solid rgba(196, 138, 58, 0.45);
    outline-offset: 1px;
}

.user-region-primary-field {
    display: inline-grid;
    gap: 6px;
}

.user-region-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.user-region-select {
    width: 16ch;
    min-width: 16ch;
    max-width: 16ch;
}

.editable-table .user-region-select {
    width: 16ch;
    min-width: 16ch;
    max-width: 16ch;
}

.user-region-select--alt {
    background: rgba(8, 47, 35, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #f2f7f4;
    color-scheme: dark;
}

.user-region-select--alt option {
    background: #123528;
    color: #f2f7f4;
}

.user-region-select--alt option:disabled {
    color: rgba(242, 247, 244, 0.58);
}

.editable-table .user-role-select {
    width: 15ch;
    min-width: 15ch;
    max-width: 15ch;
}

.name-cell {
    min-width: 16.5ch;
}

.role-cell {
    min-width: 15.5ch;
}

.active-cell {
    min-width: 7ch;
}

.editable-table .user-active-select {
    width: 6.5ch;
    min-width: 6.5ch;
    max-width: 6.5ch;
}

.editable-table .user-password-input {
    width: 14ch;
    min-width: 14ch;
    max-width: 14ch;
}

.editable-table .action-cell {
    width: 8ch;
    min-width: 8ch;
    max-width: 8ch;
    white-space: nowrap;
}

.editable-table .user-action-btn {
    width: 100%;
    min-width: 0;
    padding: 4px 6px;
}

.region-cell--primary,
.region-cell--alt {
    min-width: 14ch;
}

.region-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.region-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(11, 61, 46, 0.22);
    background: rgba(11, 61, 46, 0.08);
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
}

.region-selector-help {
    margin: 6px 0 0;
    font-size: 0.72rem;
    color: rgba(15, 28, 22, 0.75);
}



.editable-table input:focus {
    outline: 2px solid rgba(196, 138, 58, 0.35);
    outline-offset: 1px;
}

.table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.editable-table .table-actions {
    flex-wrap: nowrap;
}

#reservation-completed-edit-modal .completed-daily-legs-panel {
    grid-column: 1 / -1;
    border: 1px dashed rgba(11, 61, 46, 0.3);
    border-radius: 10px;
    background: rgba(11, 61, 46, 0.03);
    padding: 10px;
}

#reservation-completed-edit-modal .completed-daily-legs-panel .form-note {
    margin-top: 0;
    margin-bottom: 8px;
}

#reservation-completed-edit-modal .completed-daily-legs-rows {
    display: grid;
    gap: 8px;
    margin-bottom: 8px;
}

#reservation-completed-edit-modal .completed-daily-trip-leg-row {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) minmax(110px, 1fr) auto;
    gap: 6px;
    align-items: end;
}

#reservation-completed-edit-modal .completed-daily-trip-leg-row > input {
    min-width: 0;
}

#reservation-completed-edit-modal .completed-daily-trip-leg-row > input:nth-child(3) {
    grid-column: 1 / -1;
}

#reservation-completed-edit-modal .completed-daily-trip-leg-row > input:nth-child(4),
#reservation-completed-edit-modal .completed-daily-trip-leg-row > input:nth-child(5) {
    grid-column: span 1;
}

#reservation-completed-edit-modal .completed-daily-trip-leg-row .danger {
    grid-column: 3;
    justify-self: end;
    align-self: center;
    min-height: 34px;
    padding: 6px 10px;
}

@media (max-width: 560px) {
    #reservation-completed-edit-modal .completed-daily-trip-leg-row {
        grid-template-columns: 1fr;
    }

    #reservation-completed-edit-modal .completed-daily-trip-leg-row > input:nth-child(4),
    #reservation-completed-edit-modal .completed-daily-trip-leg-row > input:nth-child(5) {
        grid-column: 1;
    }

    #reservation-completed-edit-modal .completed-daily-trip-leg-row .danger {
        grid-column: 1;
        justify-self: stretch;
    }
}

/* Active reservations: give manual Res-ID room and keep telephone compact. */
.editable-table--active-reservations th:nth-child(1),
.editable-table--active-reservations td:nth-child(1) {
    width: 20ch;
    min-width: 20ch;
}

.editable-table--active-reservations th:nth-child(6),
.editable-table--active-reservations td:nth-child(6) {
    width: 14ch;
    min-width: 14ch;
    max-width: 14ch;
}

.editable-table--active-reservations td:nth-child(6) input[type="text"] {
    width: 100%;
    max-width: 14ch;
}

#manual-reservation-modal input[name="telephone"] {
    width: 100%;
    max-width: 18ch;
}

/* Completed reservations: tighten Res-ID and give Vehicle more room. */
#completed-reservations .editable-table th:nth-child(1),
#completed-reservations .editable-table td:nth-child(1) {
    width: 14ch;
    min-width: 14ch;
    max-width: 14ch;
}

#completed-reservations .editable-table th:nth-child(5),
#completed-reservations .editable-table td:nth-child(5) {
    width: 18ch;
    min-width: 18ch;
}

th,
 td {
    text-align: left;
    padding: 4px 4px;
    border-bottom: 1px solid rgba(11, 61, 46, 0.1);
}

#users .table-wrap {
    padding: 10px;
}

#users .editable-table {
    table-layout: auto;
    width: 100%;
    min-width: 1060px;
}

#users .editable-table th,
#users .editable-table td {
    padding: 2px 3px;
    font-size: 0.8rem;
    line-height: 1.05;
}

#users .editable-table th {
    text-align: center;
}

#users .editable-table td:nth-child(3),
#users .editable-table td:nth-child(4),
#users .editable-table td:nth-child(5) {
    text-align: center;
}

#users .editable-table th:nth-child(5),
#users .editable-table td:nth-child(5) {
    width: 33ch;
    min-width: 33ch;
    max-width: 33ch;
    white-space: nowrap;
}

#users .editable-table th:nth-child(4),
#users .editable-table td:nth-child(4) {
    width: 24ch;
    min-width: 24ch;
    max-width: 24ch;
    white-space: nowrap;
}

#users .editable-table input,
#users .editable-table select {
    padding: 2px 4px;
}

#users .editable-table th:nth-child(6),
#users .editable-table th:nth-child(7),
#users .editable-table th:nth-child(8),
#users .editable-table td:nth-child(6),
#users .editable-table td:nth-child(7),
#users .editable-table td:nth-child(8) {
    text-align: center;
    vertical-align: middle;
}

#users .editable-table th:nth-child(6),
#users .editable-table td:nth-child(6) {
    width: 13ch;
    min-width: 13ch;
    max-width: 13ch;
}

#users .editable-table th:nth-child(7),
#users .editable-table td:nth-child(7),
#users .editable-table th:nth-child(8),
#users .editable-table td:nth-child(8) {
    width: 12ch;
    min-width: 12ch;
    max-width: 12ch;
}

#users .editable-table th:nth-child(3),
#users .editable-table td:nth-child(3) {
    width: 23.5ch;
    min-width: 23.5ch;
    max-width: 23.5ch;
    white-space: nowrap;
}

#users .editable-table th:nth-child(6) {
    font-size: 0.76rem;
}

#users .editable-table th:nth-child(6),
#users .editable-table th:nth-child(7),
#users .editable-table th:nth-child(8) {
    white-space: nowrap;
}

#users .editable-table .active-cell,
#site-management .editable-table .active-cell {
    text-align: center;
    font-weight: 600;
}

#users .editable-table .user-active-inline-form,
#site-management .editable-table .user-active-inline-form {
    margin: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#users .editable-table .user-active-switch__input,
#site-management .editable-table .user-active-switch__input {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 42px;
    height: 22px;
    margin: 0;
    border-radius: 999px;
    background: rgba(122, 28, 28, 0.85);
    border: 1px solid rgba(122, 28, 28, 0.92);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.user-active-switch__input {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 42px;
    height: 22px;
    margin: 0;
    border-radius: 999px;
    background: rgba(122, 28, 28, 0.85);
    border: 1px solid rgba(122, 28, 28, 0.92);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

#users .editable-table .user-active-switch__input::before,
#site-management .editable-table .user-active-switch__input::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

.user-active-switch__input::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

#users .editable-table .user-active-switch__input:checked,
#site-management .editable-table .user-active-switch__input:checked {
    background: #52c41a;
    border-color: #3f9914;
}

.user-active-switch__input:checked {
    background: #52c41a;
    border-color: #3f9914;
}

#users .editable-table .user-active-switch__input:checked::before,
#site-management .editable-table .user-active-switch__input:checked::before {
    transform: translateX(20px);
}

.user-active-switch__input:checked::before {
    transform: translateX(20px);
}

#users .editable-table .user-active-switch__input:focus-visible,
#site-management .editable-table .user-active-switch__input:focus-visible {
    outline: 2px solid rgba(196, 138, 58, 0.6);
    outline-offset: 2px;
}

.user-active-switch__input:focus-visible {
    outline: 2px solid rgba(196, 138, 58, 0.6);
    outline-offset: 2px;
}

#users .editable-table .action-cell {
    text-align: center;
}

#users .editable-table .action-cell .user-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    min-height: 26px;
    padding: 1px 8px;
    font-size: 0.78rem;
    width: 78px;
}

@media (max-width: 1100px) {
    #users .editable-table th:nth-child(6),
    #users .editable-table td:nth-child(6) {
        width: 12.5ch;
        min-width: 12.5ch;
        max-width: 12.5ch;
    }

    #users .editable-table th:nth-child(7),
    #users .editable-table td:nth-child(7),
    #users .editable-table th:nth-child(8),
    #users .editable-table td:nth-child(8) {
        width: 11.5ch;
        min-width: 11.5ch;
        max-width: 11.5ch;
    }

    #users .editable-table th:nth-child(3),
    #users .editable-table td:nth-child(3) {
        width: 23ch;
        min-width: 23ch;
        max-width: 23ch;
    }

    #users .editable-table th:nth-child(4),
    #users .editable-table td:nth-child(4) {
        width: 24ch;
        min-width: 24ch;
        max-width: 24ch;
    }

    #users .editable-table th:nth-child(5),
    #users .editable-table td:nth-child(5) {
        width: 33ch;
        min-width: 33ch;
        max-width: 33ch;
    }

    #users .editable-table .action-cell .user-action-btn {
        width: 72px;
    }
}

#users .editable-table .action-cell .form-note {
    margin: 0;
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
}

#completed-reservations .editable-table th:nth-child(1),
#completed-reservations .editable-table td:nth-child(1) {
    min-width: 190px;
}

#completed-reservations .editable-table td:nth-child(1) input {
    min-width: 180px;
}

#completed-reservations .editable-table th:nth-child(8),
#completed-reservations .editable-table td:nth-child(8) {
    min-width: 92px;
    width: 92px;
}

.table-actions .secondary,
.table-actions .ghost,
.table-actions .primary,
.table-actions .danger {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
}

.table-actions form {
    margin: 0;
}

.status-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.status-approved {
    color: #0b3d2e;
    background: rgba(11, 61, 46, 0.15);
}

.status-auto {
    color: #7a4a00;
    background: rgba(196, 138, 58, 0.2);
}

.status-denied {
    color: #7a1c1c;
    background: rgba(122, 28, 28, 0.12);
}

.status-closed {
    color: #1f4c6b;
    background: rgba(31, 76, 107, 0.15);
}

.special-request-resolution-panel {
    border: 1px solid rgba(11, 61, 46, 0.2);
    border-radius: 10px;
    padding: 10px;
    background: rgba(231, 239, 233, 0.45);
}

.vehicle-profile {
    background: white;
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 61, 46, 0.08);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.vehicle-profile--single {
    grid-template-columns: 1fr;
}

.profile-media {
    display: grid;
    gap: 12px;
}

.profile-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(15, 28, 22, 0.12);
    background: var(--mist);
}

.upload-control {
    display: grid;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--forest);
}

.upload-control input {
    font-size: 0.85rem;
}

.profile-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 16px;
}

.profile-fields--three {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 24px;
}

.profile-fields label {
    display: grid;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.checkbox-stack {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-align: left;
    width: max-content;
}

.checkbox-stack span {
    display: inline-block;
}

.checkbox-stack input[type="checkbox"] {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0;
}

.profile-fields .checkbox-stack {
    justify-self: start;
    align-self: start;
}

.profile-fields input,
.profile-fields select {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(15, 28, 22, 0.2);
    font-size: 0.9rem;
}

body.ops-admin--fleet-admin :is(input, textarea, select):is([readonly], :disabled) {
    background: rgba(15, 28, 22, 0.12) !important;
    border-color: rgba(15, 28, 22, 0.38) !important;
    color: rgba(15, 28, 22, 0.9) !important;
    opacity: 1;
    cursor: not-allowed;
}

.profile-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 16px;
}

.profile-actions > div {
    display: flex;
    align-items: center;
}

.profile-actions .primary,
.profile-actions .secondary,
.profile-actions .ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
}

.experimental-vehicle-list {
    display: grid;
    gap: 8px;
}

.experimental-vehicle-list-head,
.experimental-vehicle-summary {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(86px, 0.72fr) minmax(140px, 1fr) minmax(140px, 1fr) minmax(86px, 0.72fr);
    gap: 8px;
    align-items: center;
}

.experimental-vehicle-list-head {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(15, 28, 22, 0.72);
}

.experimental-vehicle-card {
    padding: 8px 10px;
}

.experimental-vehicle-card summary {
    list-style: none;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 10px;
}

.experimental-vehicle-card--oos summary {
    background: #8b1a1a;
    color: #ffffff;
}

.experimental-vehicle-card--minor summary {
    background: #fff59d;
    color: #10191a;
}

.experimental-vehicle-card--oos-minor summary {
    background: linear-gradient(100deg, #8b1a1a 0%, #8b1a1a 48%, #fff59d 52%, #fff59d 100%);
    color: #ffffff;
    text-shadow: none;
}

.experimental-vehicle-card--oos-minor .experimental-vehicle-summary > span:last-child {
    color: #10191a;
}

.experimental-vehicle-card--oos-minor .experimental-vehicle-summary > span:nth-child(4) {
    color: #10191a;
}

.experimental-vehicle-card--oos-minor .experimental-vehicle-summary > span:first-child {
    color: #ffffff;
}

.experimental-vehicle-card--oos-minor .experimental-vehicle-summary__time--oos {
    color: #ffffff;
}

.experimental-vehicle-card summary::-webkit-details-marker {
    display: none;
}

.experimental-vehicle-card summary::marker {
    content: '';
}

.experimental-vehicle-summary span {
    font-weight: 600;
    line-height: 1.2;
}

.experimental-vehicle-summary > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.experimental-vehicle-summary__value {
    display: inline-block;
}

.experimental-vehicle-summary__time {
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
}

.experimental-vehicle-summary__tis {
    justify-content: center !important;
}

.experimental-vehicle-list-head > span:nth-child(2),
.experimental-vehicle-summary > span:nth-child(2) {
    justify-content: center;
    text-align: center;
    transform: none;
}

.experimental-vehicle-list-head > span:nth-child(5),
.experimental-vehicle-summary > span:nth-child(5) {
    justify-content: center;
    text-align: center;
}

.experimental-vehicle-summary__time--oos {
    color: #ffffff;
}

.experimental-vehicle-summary__time--minor {
    color: #10191a;
}

.experimental-vehicle-summary__type {
    position: relative;
    padding-left: 17px;
}

.experimental-vehicle-summary__type::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transform-origin: 35% 50%;
    transition: transform 0.16s ease;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid rgba(15, 28, 22, 0.85);
}

.experimental-vehicle-card[open] .experimental-vehicle-summary__type::before {
    transform: translateY(-50%) rotate(90deg);
}

.experimental-vehicle-card--oos .experimental-vehicle-summary > span:first-child::before {
    border-left-color: #ffffff;
}

.experimental-vehicle-card--minor .experimental-vehicle-summary__type::before {
    border-left-color: rgba(15, 28, 22, 0.9);
}

.experimental-vehicle-card--oos-minor .experimental-vehicle-summary__type::before {
    border-left-color: #ffffff;
}

@media (max-width: 900px) {
    .vehicle-profile {
        grid-template-columns: 1fr;
    }

    .experimental-vehicle-list-head,
    .experimental-vehicle-summary {
        grid-template-columns: 1fr;
    }

}

.admin-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    width: min(1440px, 94vw);
    margin: 0 auto;
    padding: 0 0 80px;
    padding-left: 0;
    min-height: calc(100vh - var(--admin-sticky-top) - var(--footer-height) - var(--admin-pane-bottom-gap));
}

.admin-sidebar {
    position: sticky;
    top: var(--admin-sticky-top);
    align-self: start;
    z-index: 2;
    margin-left: 0;
    width: 100%;
    max-width: 240px;
    min-width: 0;
    max-height: calc(100vh - var(--admin-sticky-top) - var(--footer-height) - var(--admin-pane-bottom-gap));
    overflow-y: auto;
    overscroll-behavior: contain;
}

.admin-sidebar .sidebar-card + .sidebar-card {
    margin-top: 10px;
}

.admin-sidebar .sidebar-card:first-child {
    margin-top: 40px;
}

.admin-content .container {
    width: min(1200px, 100%);
    margin: 0;
}

.admin-content--reservations .container {
    width: min(1200px, 100%);
    margin: 0;
}

.admin-content--reservations .section-heading,
.admin-content--reservations .table-wrap {
    margin-left: 0;
}

.admin-content .section-heading {
    margin-top: -75px;
}

.admin-content .section-heading + .section-heading {
    margin-top: 32px;
}

.admin-content--reports .section-heading {
    margin-top: 0;
}

.site-intervals-title-match {
    font-size: 2em;
    font-weight: 700;
    line-height: 1.2;
    margin: 0.67em 0;
}

.admin-content {
    margin-left: 0;
    position: relative;
    z-index: 1;
    max-height: calc(100vh - var(--admin-sticky-top) - var(--footer-height) - var(--admin-pane-bottom-gap));
    overflow-y: auto;
    overscroll-behavior: contain;
}

.admin-sidebar,
.admin-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(11, 61, 46, 0.35) transparent;
}

.admin-sidebar::-webkit-scrollbar,
.admin-content::-webkit-scrollbar {
    width: 10px;
}

.admin-sidebar::-webkit-scrollbar-track,
.admin-content::-webkit-scrollbar-track {
    background: transparent;
}

.admin-sidebar::-webkit-scrollbar-thumb,
.admin-content::-webkit-scrollbar-thumb {
    background: rgba(11, 61, 46, 0.35);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.admin-sidebar::-webkit-scrollbar-thumb:hover,
.admin-content::-webkit-scrollbar-thumb:hover {
    background: rgba(11, 61, 46, 0.5);
    background-clip: padding-box;
}


.sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 61, 46, 0.08);
    display: grid;
    gap: 12px;
}

.sidebar-search {
    display: grid;
    gap: 10px;
}

.sidebar-search label {
    display: grid;
    gap: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

.sidebar-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(15, 28, 22, 0.6);
    margin: 0;
}

.sidebar-select {
    width: 100%;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(15, 28, 22, 0.2);
    background: #f8faf7;
    font-size: 0.9rem;
    color: var(--ink);
}

.vehicle-menu {
    display: grid;
    gap: 10px;
}

.vehicle-group {
    border: 1px solid rgba(11, 61, 46, 0.08);
    border-radius: 12px;
    padding: 6px 10px;
    background: rgba(244, 243, 239, 0.7);
}

.vehicle-group summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--forest);
    list-style: none;
    padding: 4px 0;
}

.vehicle-group summary::-webkit-details-marker {
    display: none;
}

.vehicle-group ul {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.vehicle-link {
    display: block;
    padding: 6px 10px;
    border-radius: 10px;
    background: white;
    border: 1px solid rgba(11, 61, 46, 0.08);
    font-size: 0.9rem;
}

.vehicle-link.is-active {
    background: rgba(11, 61, 46, 0.12);
    border-color: rgba(11, 61, 46, 0.3);
}

.sidebar-action {
    width: 100%;
}

.sidebar-action--alert {
    background: #7a1c1c;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-action--warning {
    background: #fff59d;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-action--discrepancy {
    background: #f0a14a;
    color: #10191a;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-action--warning .sidebar-action__count {
    background: var(--forest);
    color: #ffffff;
}

.sidebar-action--discrepancy .sidebar-action__count {
    background: #8b1a1a;
    color: #ffffff;
}

.sidebar-action--dark {
    background: var(--ink);
    color: #ffffff;
}

.sidebar-action__count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 100;
}

.modal.is-open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 47, 35, 0.4);
    backdrop-filter: blur(4px);
}

.modal-card {
    position: relative;
    background: white;
    border-radius: 18px;
    padding: 24px;
    width: min(520px, 92vw);
    max-height: 85vh;
    overflow: auto;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 61, 46, 0.08);
    z-index: 1;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.modal-header__actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.modal-print-button {
    min-height: 34px;
    padding: 6px 12px;
}

.issue-note-history {
    margin-top: 10px;
}

.issue-note-history h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--forest);
}

.issue-note-list {
    border: 1px solid rgba(11, 61, 46, 0.12);
    border-radius: 12px;
    background: rgba(11, 61, 46, 0.03);
    padding: 10px;
    max-height: 180px;
    overflow: auto;
    display: grid;
    gap: 8px;
}

.issue-note-item {
    border: 1px solid rgba(11, 61, 46, 0.1);
    border-radius: 10px;
    background: #ffffff;
    padding: 8px 10px;
}

.issue-note-item__meta {
    margin: 0 0 4px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #2f594d;
}

.issue-note-item__body {
    margin: 0;
    font-size: 0.85rem;
    color: #15382f;
    white-space: pre-wrap;
}

.issue-note-form {
    margin-top: 12px;
}

@media (max-width: 1000px) {
    .admin-layout {
        grid-template-columns: 240px minmax(0, 1fr);
        width: min(1440px, 94vw);
        padding-left: 0;
    }

    .admin-sidebar {
        position: sticky;
        top: var(--admin-sticky-top);
        width: 100%;
        max-width: 240px;
        margin-left: 0;
    }
}

.pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(11, 61, 46, 0.12);
    color: var(--forest);
    font-weight: 600;
    font-size: 0.8rem;
}

.pill.warning {
    background: rgba(196, 138, 58, 0.15);
    color: var(--gold);
}

.pill.success {
    background: rgba(11, 61, 46, 0.15);
    color: var(--forest);
}

.management {
    padding: 80px 0;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    align-items: center;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 12px;
}

.feature-list li {
    padding-left: 28px;
    position: relative;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest), var(--gold));
}

.panel {
    background: var(--forest);
    color: white;
    padding: 28px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 14px;
}

.panel-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.site-mgmt-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.site-mgmt-tabs .secondary.is-active {
    background: var(--forest);
    color: #ffffff;
}

.site-mgmt-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: stretch;
}

.site-mgmt-grid .site-mgmt-overview-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: 14px;
}

.site-mgmt-grid .site-mgmt-overview-card h3 {
    margin: 0;
    font-size: 1.03rem;
    line-height: 1.35;
}

.site-mgmt-grid .site-mgmt-overview-card p {
    margin: 0;
}

.site-mgmt-grid .site-mgmt-overview-card .form-note,
.site-mgmt-grid .site-mgmt-overview-card .form-note strong {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: 0.92rem;
    line-height: 1.45;
}

.site-mgmt-grid .site-mgmt-overview-card .sidebar-label {
    margin-bottom: 2px;
}

.site-mgmt-grid .site-mgmt-overview-card .site-mgmt-card-actions {
    margin-top: auto;
    width: 100%;
    display: grid;
    gap: 10px;
    padding-top: 8px;
}

.site-mgmt-grid .site-mgmt-overview-card .site-mgmt-card-actions > a,
.site-mgmt-grid .site-mgmt-overview-card .site-mgmt-card-actions > form {
    width: 100%;
    margin: 0;
}

.site-mgmt-grid .site-mgmt-overview-card .site-mgmt-card-actions > form {
    display: grid;
    gap: 8px;
}

.site-mgmt-email-test-form {
    display: grid;
    gap: 10px;
    width: 100%;
}

.site-mgmt-email-test-form label {
    display: grid;
    gap: 6px;
    width: 100%;
    margin: 0;
}

.site-mgmt-email-test-form input[type="email"] {
    width: 100%;
    box-sizing: border-box;
}

.site-mgmt-grid .sidebar-card .site-mgmt-overview-action {
    width: 100%;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.site-mgmt-email-test-form .site-mgmt-overview-action {
    width: 100%;
    margin: 0;
}

.site-mgmt-grid .site-mgmt-overview-card .primary,
.site-mgmt-grid .site-mgmt-overview-card .secondary,
.site-mgmt-grid .site-mgmt-overview-card .danger {
    width: 100%;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
}

.site-mgmt-grid .site-mgmt-overview-card .site-mgmt-launch-installer {
    width: 100%;
    display: inline-flex;
    justify-content: center;
}

.site-mgmt-grid .site-mgmt-overview-card .sign-form,
.site-mgmt-grid .site-mgmt-overview-card .site-mgmt-email-test-form {
    margin: 0;
}

@media (min-width: 1180px) {
    #site-management .site-mgmt-grid {
        grid-template-columns: repeat(4, minmax(220px, 1fr));
        grid-auto-flow: row;
    }

    #site-management .site-mgmt-grid .site-mgmt-overview-card {
        height: 456px;
    }

    #site-management .site-mgmt-grid .site-mgmt-overview-card--fresh {
        grid-column: 4;
        grid-row: span 2;
        height: auto;
    }
}

.panel-item:last-child {
    border-bottom: none;
}

.support {
    padding: 70px 0 90px;
    background: var(--mist);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    align-items: center;
}

.support-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 14px;
}

.support-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: rgba(15, 28, 22, 0.6);
    margin: 0;
}

.support-value {
    font-size: 1.1rem;
    margin: 6px 0 0;
}

.site-footer {
    background: var(--forest-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px;
}

.footer-title {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.site-footer a {
    display: block;
    margin-bottom: 8px;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-copy,
.hero-panel,
.status-card,
.table-wrap,
.panel,
.support-card {
    animation: rise 0.6s ease forwards;
}

@media (max-width: 860px) {
    .nav {
        display: none;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .site-header .cta,
    .site-header .user-menu {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 70px;
    }

    .container {
        width: min(1200px, 94vw);
    }

    .request-cards--split {
        gap: 16px;
    }

    .request-card h3 {
        font-size: 0.95rem;
    }

    .request-card p,
    .reservation-status-result {
        font-size: 0.82rem;
    }

    .sign-form input,
    .sign-form textarea,
    .sign-form select,
    .reservation-status-form input[type="text"] {
        min-height: 44px;
        font-size: 16px;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }

    .sign-form .primary,
    .sign-form .secondary,
    .sign-form .ghost,
    .reservation-lookup button,
    .field-grid .primary,
    .field-grid .secondary,
    .field-grid .ghost {
        width: 100%;
    }

    .reservation-lookup button {
        align-self: stretch;
    }

    .warning-modal,
    .review-modal,
    .success-modal,
    .error-modal {
        padding: 12px;
    }

    .warning-card,
    .review-card,
    .success-card,
    .error-card {
        width: min(520px, calc(100vw - 24px));
        max-height: 86vh;
        overflow: auto;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.admin-content--reports .container {
    width: min(1600px, 100%);
}

.report-print-tip {
    width: 100%;
    margin: 0 0 10px;
    white-space: nowrap;
}

.monthly-use-log-sheet .usage-summary-table th,
.monthly-use-log-sheet .monthly-use-log-table th {
    background: #fff59d;
}

.report-filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    align-items: end;
    margin-bottom: 14px;
}

.report-filter-form label {
    display: grid;
    gap: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

.report-filter-form select,
.report-filter-form input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(15, 28, 22, 0.2);
    background: #f8faf7;
}

.report-print-controls {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.table-wrap--report {
    overflow-x: auto;
}

.report-sheet-title {
    margin: 0 0 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.usage-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.usage-kpi-card {
    background: rgba(11, 61, 46, 0.04);
    border: 1px solid rgba(11, 61, 46, 0.12);
    border-radius: 12px;
    padding: 12px;
    display: grid;
    gap: 6px;
}

.usage-kpi-card--alert {
    background: #8b1a1a;
    border-color: #8b1a1a;
    color: #ffffff;
}

.usage-kpi-card--alert .usage-kpi-label,
.usage-kpi-card--alert strong {
    color: #ffffff;
}

.usage-kpi-card--warning {
    background: #fff59d;
    border-color: #e6d97a;
    color: #10191a;
}

.usage-kpi-card--discrepancy {
    background: #f0a14a;
    border-color: #dc8f3d;
    color: #10191a !important;
}

.usage-kpi-card--warning .usage-kpi-label,
.usage-kpi-card--warning strong {
    color: #10191a;
}

.usage-kpi-card--discrepancy .usage-kpi-label {
    color: #10191a !important;
}

.usage-kpi-card--discrepancy strong {
    color: #000000 !important;
}

.admin-content--overview .container {
    width: min(1500px, 100%);
}

.overview-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.overview-kpi-grid .usage-kpi-card {
    justify-items: center;
    align-content: center;
    text-align: center;
}

.overview-kpi-grid .usage-kpi-label,
.overview-kpi-grid .usage-kpi-value {
    width: 100%;
    text-align: center;
}

.overview-visual-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.overview-visual-grid--bottom {
    margin-bottom: 0;
}

.overview-panel {
    display: grid;
    gap: 12px;
}

.overview-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.overview-panel-head h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--ink);
}

.overview-donut-wrap {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    --overview-donut-ring: 26px;
}

.overview-donut {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    z-index: 0;
}

.overview-donut-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--overview-donut-ring)), #000 calc(100% - var(--overview-donut-ring)));
    mask: radial-gradient(farthest-side, transparent calc(100% - var(--overview-donut-ring)), #000 calc(100% - var(--overview-donut-ring)));
}

.overview-donut::after {
    content: '';
    position: absolute;
    inset: var(--overview-donut-ring);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(11, 61, 46, 0.1);
}

.overview-donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    z-index: 2;
}

.overview-donut-center strong {
    font-size: 1.4rem;
    color: var(--forest);
    line-height: 1;
}

.overview-donut-center span {
    font-size: 0.75rem;
    color: rgba(15, 28, 22, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.overview-legend-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.overview-legend-grid p {
    margin: 0;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: 0 0 10px;
}

.legend-dot--available {
    background: #0b3d2e;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
}

.legend-dot--reserved {
    background: #3f7cac;
}

.legend-dot--inuse {
    background: #c48a3a;
}

.legend-dot--oos {
    background: #7a1c1c;
}

.legend-dot--minor {
    background: #d7c46a;
}

.overview-status-note {
    margin-top: 10px;
}

.overview-trend-chart {
    min-height: 190px;
    border: 1px solid rgba(11, 61, 46, 0.14);
    border-radius: 12px;
    background: rgba(11, 61, 46, 0.03);
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: end;
    gap: 8px;
}

.overview-trend-bar-col {
    display: grid;
    gap: 6px;
    justify-items: center;
    align-content: end;
}

.overview-trend-value,
.overview-trend-day {
    font-size: 0.72rem;
    color: rgba(15, 28, 22, 0.72);
}

.overview-kpi-grid--compact {
    margin-top: 10px;
}

.overview-all-group {
    margin-bottom: 14px;
}

.overview-all-group__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    font-weight: 700;
    color: var(--forest);
    list-style: none;
}

.overview-all-group__summary::-webkit-details-marker {
    display: none;
}

.overview-all-group[open] .overview-all-group__summary {
    margin-bottom: 12px;
}

.overview-all-group__summary span:last-child {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(15, 28, 22, 0.66);
}

.overview-all-group > .table-wrap {
    margin-bottom: 0;
}

.overview-trend-bar {
    display: block;
    width: 36px;
    min-height: 8px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #3f7cac, #0b3d2e);
}

.overview-mix-row {
    display: grid;
    gap: 4px;
}

.overview-mix-row p {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.overview-utilization-value {
    margin: 0;
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 700;
    color: var(--forest);
}

.overview-utilization-track {
    height: 10px;
}

.usage-kpi-label {
    margin: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(15, 28, 22, 0.72);
}

.usage-kpi-value {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--forest);
}

.usage-table-wrap {
    margin-bottom: 12px;
}

.overview-lockout-message {
    text-align: center;
}

.usage-summary-table td,
.usage-summary-table th {
    white-space: nowrap;
}

.usage-variance {
    font-weight: 700;
    color: #0b3d2e;
}

.usage-variance--high {
    color: #7a1c1c;
}

.usage-variance--low {
    color: #1f4c6b;
}

.usage-fill-track {
    width: 100%;
    min-width: 92px;
    height: 8px;
    border-radius: 999px;
    background: rgba(11, 61, 46, 0.12);
    overflow: hidden;
}

.usage-fill-bar {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #0b3d2e, #2f7d64);
}

.signout-trend-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(8px, 1fr);
    gap: 4px;
    align-items: end;
    min-height: 96px;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid rgba(11, 61, 46, 0.16);
    background: rgba(11, 61, 46, 0.04);
}

.signout-trend-bar {
    display: block;
    min-height: 6px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #2f7d64, #0b3d2e);
}

.vehicle-usage-report-table {
    table-layout: fixed;
    width: 100%;
    font-size: 0.72rem;
    line-height: 1.2;
}

.vehicle-usage-report-table th,
.vehicle-usage-report-table td {
    padding: 4px 5px;
    white-space: normal;
    word-break: break-word;
    vertical-align: top;
}

.monthly-use-log-sheet .monthly-use-log-table th.col-activity-group {
    text-align: center !important;
}

.monthly-use-log-sheet .monthly-use-log-table {
    width: auto;
    max-width: none;
    border: 2px solid rgba(15, 28, 22, 0.88);
    outline: 3px solid rgba(15, 28, 22, 0.94);
    outline-offset: -2px;
}

.monthly-use-log-sheet .usage-summary-table {
    border: 2px solid rgba(15, 28, 22, 0.88);
    outline: 3px solid rgba(15, 28, 22, 0.94);
    outline-offset: -2px;
}

.monthly-use-log-sheet .usage-summary-table th,
.monthly-use-log-sheet .usage-summary-table td,
.monthly-use-log-sheet .monthly-use-log-table th,
.monthly-use-log-sheet .monthly-use-log-table td {
    border: 1px solid rgba(15, 28, 22, 0.66);
}

.monthly-use-log-sheet .monthly-use-log-table th.col-day,
.monthly-use-log-sheet .monthly-use-log-table td.col-day,
.monthly-use-log-sheet .monthly-use-log-table th.col-ending,
.monthly-use-log-sheet .monthly-use-log-table td.col-ending,
.monthly-use-log-sheet .monthly-use-log-table th.col-fuel,
.monthly-use-log-sheet .monthly-use-log-table td.col-fuel,
.monthly-use-log-sheet .monthly-use-log-table th.col-operator,
.monthly-use-log-sheet .monthly-use-log-table td.col-operator {
    text-align: center !important;
}

.monthly-use-log-sheet .monthly-use-log-table th.col-total,
.monthly-use-log-sheet .monthly-use-log-table td.col-total {
    text-align: right !important;
    padding-right: 6px !important;
}

.monthly-use-log-sheet .monthly-use-log-table th.col-total,
.monthly-use-log-sheet .monthly-use-log-table td.col-total,
.monthly-use-log-sheet .monthly-use-log-table th.col-purpose,
.monthly-use-log-sheet .monthly-use-log-table td.col-purpose,
.monthly-use-log-sheet .monthly-use-log-table th.col-fuel,
.monthly-use-log-sheet .monthly-use-log-table td.col-fuel {
    border-right: 4px solid rgba(15, 28, 22, 0.94) !important;
}

.monthly-use-log-sheet .monthly-use-log-table th.col-starting,
.monthly-use-log-sheet .monthly-use-log-table td.col-starting {
    border-left: 4px solid rgba(15, 28, 22, 0.94) !important;
}

.monthly-use-log-sheet .usage-summary-table th:nth-child(2),
.monthly-use-log-sheet .usage-summary-table td:nth-child(2) {
    border-right: 4px solid rgba(15, 28, 22, 0.94) !important;
}

.monthly-use-log-sheet .monthly-use-log-table col.col-activity-fixed {
    width: 8.3ch !important;
}

.monthly-use-log-sheet .monthly-use-log-table th.col-activity-code-head,
.monthly-use-log-sheet .monthly-use-log-table th.col-activity-code-value,
.monthly-use-log-sheet .monthly-use-log-table td.col-activity-code {
    text-align: center !important;
    white-space: nowrap;
    width: 8.3ch !important;
    min-width: 8.3ch !important;
    max-width: 8.3ch !important;
    padding-left: 1px !important;
    padding-right: 1px !important;
    overflow: hidden;
}

.monthly-use-log-sheet .monthly-use-log-table th.col-starting,
.monthly-use-log-sheet .monthly-use-log-table td.col-starting,
.monthly-use-log-sheet .monthly-use-log-table th.col-purpose,
.monthly-use-log-sheet .monthly-use-log-table td.col-purpose,
.monthly-use-log-sheet .monthly-use-log-table th.col-operator,
.monthly-use-log-sheet .monthly-use-log-table td.col-operator {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 1100px) {
    .overview-visual-grid {
        grid-template-columns: 1fr;
    }

    .overview-donut-wrap {
        width: 150px;
        height: 150px;
        --overview-donut-ring: 22px;
    }
}

@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    html,
    body {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    @page {
        size: 14in 8.5in;
        margin: 0.42in;
    }

    body.ops-admin--reports {
        background: white !important;
        color: #000;
        padding-bottom: 0;
    }

    body.ops-admin--reports .site-header,
    body.ops-admin--reports .site-footer,
    body.ops-admin--reports .admin-sidebar,
    body.ops-admin--reports .report-filter-form,
    body.ops-admin--reports .report-nonprint,
    body.ops-admin--reports .report-dashboard-section,
    body.ops-admin--reports .report-individual-section {
        display: none !important;
    }

    .report-nonprint,
    .print-hide {
        display: none !important;
    }

    body.ops-admin--reports .admin-layout,
    body.ops-admin--reports .admin-content,
    body.ops-admin--reports .admin-content .container,
    body.ops-admin--reports .table-wrap,
    body.ops-admin--reports .table-wrap--report {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: 0 !important;
        background: transparent !important;
        overflow: hidden !important;
        scrollbar-width: none !important;
    }

    body.ops-admin--reports .table-wrap::-webkit-scrollbar,
    body.ops-admin--reports .table-wrap--report::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
        display: none !important;
    }

    body.ops-admin--reports .admin-layout {
        display: block !important;
    }

    body.ops-admin--reports.ops-admin--report-monthly-use #vehicle-usage-reports .container > * {
        display: none !important;
    }

    body.ops-admin--reports.ops-admin--report-monthly-use #vehicle-usage-reports .container > .monthly-use-log-sheet {
        display: block !important;
    }

    body.ops-admin--reports.ops-admin--report-monthly-use #vehicle-usage-reports {
        /* Match prior manual printer scaling so one-page output fits at 100% print scale. */
        zoom: 0.85;
    }

    body.ops-admin--reports .section-heading {
        margin: 0 0 8px !important;
    }

    body.ops-admin--reports .vehicle-usage-report-table {
        font-size: 7.5px;
    }

    body.ops-admin--reports .vehicle-usage-report-table th,
    body.ops-admin--reports .vehicle-usage-report-table td {
        padding: 2px 3px;
    }

    body.ops-admin--reports .usage-summary-table th,
    body.ops-admin--reports .usage-summary-table td {
        white-space: normal !important;
    }

    body.ops-admin--reports .usage-dashboard-grid,
    body.ops-admin--reports .usage-kpi-card,
    body.ops-admin--reports .table-wrap {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    body.ops-admin--reports .monthly-use-log-sheet {
        display: block !important;
        break-inside: avoid;
        page-break-inside: avoid;
        page-break-after: avoid;
        width: 100% !important;
        max-width: 12.7in !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        overflow: hidden !important;
        transform: none !important;
        transform-origin: top center !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .report-sheet-title {
        margin: 0 0 3px !important;
        font-size: 13px !important;
        line-height: 1.1 !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .form-note {
        margin: 0 0 3px !important;
        font-size: 8.5px !important;
        line-height: 1.1 !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .usage-summary-table {
        margin-bottom: 3px !important;
        width: 100% !important;
        table-layout: fixed !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .usage-summary-table th,
    body.ops-admin--reports .monthly-use-log-sheet .usage-summary-table td,
    body.ops-admin--reports .monthly-use-log-sheet .vehicle-usage-report-table th,
    body.ops-admin--reports .monthly-use-log-sheet .vehicle-usage-report-table td {
        padding: 1.5px 2.5px !important;
        line-height: 1.05 !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .usage-summary-table th,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th {
        background: #fff59d !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table {
        table-layout: fixed !important;
        width: 100% !important;
        font-size: 7.0px !important;
        border: 1.5px solid #111 !important;
        outline: 0 !important;
        outline-offset: 0 !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table thead th {
        font-size: 6.9px !important;
        line-height: 1.08 !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table tbody td {
        font-size: 7.3px !important;
        line-height: 1.12 !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table col {
        min-width: 0 !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table tbody tr:not(:first-child) td {
        min-height: 0.155in !important;
        height: 0.155in !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .usage-summary-table {
        border: 1.5px solid #111 !important;
        outline: 0 !important;
        outline-offset: 0 !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .usage-summary-table th,
    body.ops-admin--reports .monthly-use-log-sheet .usage-summary-table td,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table td {
        border: 1px solid #222 !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th.col-day,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table td.col-day,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th.col-ending,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table td.col-ending,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th.col-fuel,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table td.col-fuel,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th.col-operator,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table td.col-operator {
        text-align: center !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th.col-total,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table td.col-total {
        text-align: right !important;
        padding-right: 4px !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th.col-starting,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table td.col-starting,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th.col-purpose,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table td.col-purpose,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th.col-operator,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table td.col-operator {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th.col-activity-group,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th.col-activity-code-head,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th.col-activity-code-value,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table td.col-activity-code {
        text-align: center !important;
        white-space: nowrap !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th.col-activity-code-head,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th.col-activity-code-value,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table td.col-activity-code {
        width: 5.85% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table col.col-activity-fixed {
        width: 5.85% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th.col-total,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table td.col-total,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th.col-purpose,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table td.col-purpose,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th.col-fuel,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table td.col-fuel {
        border-right: 4px solid #111 !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table th.col-starting,
    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table td.col-starting {
        border-left: 4px solid #111 !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .usage-summary-table th:nth-child(2),
    body.ops-admin--reports .monthly-use-log-sheet .usage-summary-table td:nth-child(2) {
        border-right: 4px solid #111 !important;
    }

    body.ops-admin--reports .monthly-use-log-sheet .monthly-use-log-table .col-fuel-unit {
        display: block;
        line-height: 1;
        font-size: 0.92em;
    }

    body.ops-admin--reports.ops-admin--report-single .report-dashboard-section {
        display: none !important;
    }

    body.ops-admin--reports.ops-admin--report-single .report-individual-section {
        display: block !important;
    }

    #signout-daily-volume,
    #signout-daily-volume * {
        display: none !important;
    }

    #vehicle-usage-reports .table-wrap,
    #vehicle-usage-reports .table-wrap--report,
    #vehicle-usage-reports .usage-table-wrap {
        overflow: visible !important;
        scrollbar-width: none !important;
    }

    #vehicle-usage-reports .table-wrap::-webkit-scrollbar,
    #vehicle-usage-reports .table-wrap--report::-webkit-scrollbar,
    #vehicle-usage-reports .usage-table-wrap::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
        display: none !important;
    }
}
