:root {
    --navy: #10243d;
    --orange: #f36a16;
    --green: #16b86a;
    --blue: #0878d1;
    --ink: #17202a;
    --muted: #64748b;
    --line: #e7eef5;
    --mist: #f5f9fd;
    --danger: #b42318;
    --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
    --shadow: 0 6px 18px rgba(16, 36, 61, 0.04);
    --shadow-hover: 0 10px 20px rgba(16, 36, 61, 0.06);
}

* { box-sizing: border-box; }

/* Global SVG Icon normalization */
.adm-ico,
svg.adm-ico {
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    max-width: 100%;
    flex-shrink: 0;
}


/* Premium Global Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
    transition: background 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

html.adm-html,
html.adm-html body.adm {
    height: 100%;
    margin: 0;
    overflow: hidden;
}
body.adm { margin: 0; font-family: var(--font); color: var(--ink); background: var(--mist); }
body.adm--fleet { background: #f4f8fc; }
.adm-shade {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 25;
    border: 0;
    padding: 0;
    background: rgba(8, 18, 32, 0.45);
    cursor: pointer;
}
.adm-shell {
    display: flex;
    height: 100%;
    overflow: hidden;
}
.adm-side,
.adm-side--dock {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 50;
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #0b192c;
    color: #ffffff;
    padding: 12px 0 12px 0;
    overflow: visible;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 2px 0 16px rgba(11, 25, 44, 0.15);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.adm-side__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    margin-bottom: 12px;
}

.adm-brand-circle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.38), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.adm-brand-circle:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.adm-brand-circle__text {
    color: #ffffff;
    line-height: 1;
}

.adm-side__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 0;
    scrollbar-width: none;
}

.adm-side__rail::-webkit-scrollbar {
    display: none;
    width: 0;
}

.adm-rail-btn {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(213, 225, 240, 0.72);
    text-decoration: none;
    position: relative;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    cursor: pointer;
    flex: none;
}

.adm-rail-btn .adm-ico {
    width: 22px;
    height: 22px;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease, filter 0.2s ease;
    shape-rendering: geometricPrecision;
}

.adm-rail-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.adm-rail-btn:hover .adm-ico {
    transform: scale(1.12);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.38));
}

.adm-rail-btn.is-active {
    background: linear-gradient(135deg, #ff8a3d 0%, #f36a16 55%, #e05305 100%);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(243, 106, 22, 0.48), inset 0 1px 1.5px rgba(255, 255, 255, 0.4);
    transform: none;
}

.adm-rail-btn.is-active .adm-ico {
    color: #ffffff;
    transform: scale(1.06);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

/* Super Admin Special Button Styling (Flaticon Administrator Model) */
.adm-rail-btn--super {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, rgba(99, 102, 241, 0.12) 100%);
    border-color: rgba(168, 85, 247, 0.3);
    color: #c084fc;
}

.adm-rail-btn--super:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.26) 0%, rgba(99, 102, 241, 0.26) 100%);
    border-color: rgba(192, 132, 252, 0.5);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.adm-rail-btn--super:hover .adm-ico {
    transform: scale(1.14);
    filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.65));
}

.adm-rail-btn--super.is-active {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #6366f1 100%) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 22px rgba(124, 58, 237, 0.55), inset 0 1px 1.5px rgba(255, 255, 255, 0.45) !important;
}

/* Tooltip on hover */
.adm-rail-btn[data-tooltip] {
    position: relative;
}

.adm-rail-btn[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) scale(0.92);
    background: #091a2e;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.12);
    z-index: 1000;
}

.adm-rail-btn[data-tooltip]::before {
    content: "";
    position: absolute;
    left: calc(100% + 5px);
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #091a2e;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease;
    z-index: 1000;
}

.adm-rail-btn[data-tooltip]:hover::after,
.adm-rail-btn[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.adm-rail-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px #091a2e, 0 2px 6px rgba(239, 68, 68, 0.4);
}

.adm-side__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex: none;
}

.adm-rail-btn--logout {
    color: rgba(239, 68, 68, 0.75);
}

.adm-rail-btn--logout:hover {
    background: rgba(239, 68, 68, 0.16);
    border-color: rgba(239, 68, 68, 0.35);
    color: #f87171;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}

.adm-rail-btn--logout:hover .adm-ico {
    transform: translateX(2px) scale(1.12);
    filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.5));
}

/* ==========================================================================
   MAIN VIEWPORT & TOPBAR
   ========================================================================== */
.adm-main {
    flex: 1;
    min-width: 0;
    min-height: 0;
    margin-left: 64px;
    width: calc(100% - 64px);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f4f8fc;
}

.adm-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex: none;
    min-height: 64px;
    padding: 8px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 20;
}

.adm-top__left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.adm-top__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.adm-top__logo img {
    height: 34px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.adm-menu {
    display: none;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 9px;
    background: #f1f5f9;
    padding: 9px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
}

.adm-menu span {
    display: block;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
}

.adm-search {
    position: relative;
    flex: 1;
    max-width: 500px;
    margin: 0 auto 0 16px;
}

.adm-search .adm-ico {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.adm-search input {
    width: 100%;
    min-height: 38px;
    padding: 0 16px 0 40px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    font: inherit;
    font-size: 13px;
    color: #0f172a;
    transition: all 0.16s ease;
}

.adm-search input:focus {
    background: #ffffff;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
    outline: none;
}

.adm-top__meta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.adm-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.adm-date-pill .adm-ico {
    width: 14px;
    height: 14px;
    color: #94a3b8;
}

.adm-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 4px 12px 4px 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.adm-user-pill:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.adm-user-pill .adm-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #0f172a;
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    display: grid;
    place-items: center;
    flex: none;
}

.adm-user-meta {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
}

.adm-user-meta strong {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
}

.adm-user-meta small {
    font-size: 10.5px;
    font-weight: 600;
    color: #64748b;
}

.adm-user-pill .adm-ico {
    width: 13px;
    height: 13px;
    color: #94a3b8;
    margin-left: 2px;
}

/* ==========================================================================
   HERO / HEADER SECTION & BREADCRUMBS
   ========================================================================== */
.cf-hero {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.cf-hero__crumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
}

.cf-hero__crumb .sep {
    color: #cbd5e1;
    font-size: 14px;
}

.cf-hero__crumb strong {
    color: #0f172a;
    font-weight: 700;
}

.cf-hero__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.cf-hero__copy h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.cf-hero__copy p {
    margin: 4px 0 0;
    font-size: 13.5px;
    color: #64748b;
}

.cf-hero__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cf-add,
.btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    border: 0;
    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.28);
    transition: all 0.16s ease;
    cursor: pointer;
}

.cf-add .adm-ico,
.btn-solid .adm-ico {
    width: 15px;
    height: 15px;
    color: #ffffff;
}

.cf-add:hover,
.btn-solid:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(234, 88, 12, 0.38);
    color: #ffffff !important;
}

.cf-btn-secondary,
.cf-btn-export {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.15s ease;
    cursor: pointer;
}

.cf-btn-secondary .adm-ico,
.cf-btn-export .adm-ico {
    width: 15px;
    height: 15px;
    color: #64748b;
}

.cf-btn-secondary:hover,
.cf-btn-export:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.cf-btn-secondary:hover .adm-ico,
.cf-btn-export:hover .adm-ico {
    color: #0f172a;
}

.cf-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #cbd5e1;
}

.cf-empty-icon .adm-ico {
    width: 44px;
    height: 44px;
    stroke-width: 1.5;
    color: #cbd5e1;
}


/* ==========================================================================
   HORIZONTAL SUB-NAVIGATION PILLS
   ========================================================================== */
.adm-subnav {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    scrollbar-width: none;
}

.adm-subnav::-webkit-scrollbar {
    display: none;
    width: 0;
}

.adm-subnav__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.adm-subnav__item .adm-ico {
    width: 15px;
    height: 15px;
    color: #94a3b8;
    transition: color 0.15s ease;
}

.adm-subnav__item:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.adm-subnav__item:hover .adm-ico {
    color: #0f172a;
}

.adm-subnav__item.is-active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

.adm-subnav__item.is-active .adm-ico {
    color: #f97316;
}

/* ==========================================================================
   SPARKLINE KPI METRIC CARDS
   ========================================================================== */
.cf-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.cf-kpis--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cf-kpis--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cf-kpi {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 20px 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    min-height: 118px;
}

.cf-kpi:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.cf-kpi__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.cf-kpi__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: none;
}

.cf-kpi__icon .adm-ico {
    width: 20px;
    height: 20px;
}

.cf-kpi--blue .cf-kpi__icon {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.cf-kpi--green .cf-kpi__icon {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.cf-kpi--orange .cf-kpi__icon {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
}

.cf-kpi--purple .cf-kpi__icon {
    background: #faf5ff;
    color: #7c3aed;
    border: 1px solid #e9d5ff;
}

.cf-kpi--red .cf-kpi__icon {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.cf-kpi__meta {
    flex: 1;
    min-width: 0;
}

.cf-kpi__label {
    margin: 0;
    font-size: 12.5px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.cf-kpi__row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 4px 0 2px;
}

.cf-kpi__val {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cf-kpi__trend {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
}

.cf-kpi__trend--up {
    background: #dcfce7;
    color: #15803d;
}

.cf-kpi__trend--warn {
    background: #fef3c7;
    color: #b45309;
}

.cf-kpi__note {
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 600;
    display: block;
}

.cf-kpi__spark {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 38px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.85;
}

/* ==========================================================================
   PANEL, TOOLBAR FILTERS & DATA TABLES
   ========================================================================== */
.cf-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.cf-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.cf-panel__head h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.cf-panel__head p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #64748b;
}

.cf-views {
    display: inline-flex;
    gap: 4px;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 8px;
}

.cf-views a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #64748b;
}

.cf-views a.is-on {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cf-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.cf-search {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.cf-search .adm-ico {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: #94a3b8;
    pointer-events: none;
}

.cf-search input {
    width: 100%;
    min-height: 38px;
    padding: 0 14px 0 36px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    font: inherit;
    font-size: 13px;
    color: #0f172a;
    transition: all 0.15s ease;
}

.cf-search input:focus {
    border-color: #f97316;
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.cf-filters select {
    min-height: 38px;
    padding: 0 30px 0 12px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") no-repeat right 8px center / 16px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    appearance: none;
    cursor: pointer;
}

.cf-filters select:focus {
    border-color: #f97316;
    outline: none;
}

.cf-filter {
    min-height: 38px;
    padding: 0 18px;
    border-radius: 10px;
    background: #0f172a;
    color: #ffffff;
    border: 0;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.cf-filter:hover {
    background: #1e293b;
}

.cf-reset {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.cf-reset:hover {
    color: #ef4444;
}

/* Data Table */
.cf-table-wrap {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
}

.cf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.cf-table th {
    padding: 12px 14px;
    background: #f8fafc;
    font-size: 11.5px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.cf-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.cf-table tr:last-child td {
    border-bottom: 0;
}

.cf-table tr:hover td {
    background: #f8fafc;
}

.cf-code a {
    font-family: monospace;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    font-size: 13.5px;
}

.cf-code a:hover {
    text-decoration: underline;
}

.cf-rate {
    font-weight: 700;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.cf-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cf-view {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.15s ease;
}

.cf-view:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.bk-act {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    background: #f8fafc;
    color: #334155;
    transition: all 0.15s ease;
}

.bk-act--next {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

.bk-act--next:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.bk-act--wa {
    background: #25d366;
    color: #ffffff !important;
    border-color: #25d366;
}

.bk-act--wa:hover {
    background: #1eb954;
    border-color: #1eb954;
}

/* Dropdown menu */
.cf-more {
    position: relative;
    display: inline-block;
}

.cf-more summary {
    list-style: none;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    gap: 2px;
}

.cf-more summary::-webkit-details-marker {
    display: none;
}

.cf-more summary i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #64748b;
    display: block;
}

.cf-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 4px;
    min-width: 140px;
    z-index: 100;
}

.cf-menu a,
.cf-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    border: 0;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
}

.cf-menu a:hover,
.cf-menu button:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.cf-menu .cf-menu-divider,
.cf-menu-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 4px 0;
}

.cf-menu button.cf-menu-btn--danger,
.cf-menu a.cf-menu-btn--danger {
    color: #dc2626 !important;
    font-weight: 700 !important;
}

.cf-menu button.cf-menu-btn--danger:hover,
.cf-menu a.cf-menu-btn--danger:hover {
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

.cf-btn-permanent-delete {
    color: #dc2626 !important;
    background: #fff1f2 !important;
    border: 1.5px solid #fecaca !important;
    font-weight: 700 !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
    transition: all 0.18s ease !important;
}

.cf-btn-permanent-delete:hover {
    background: #fee2e2 !important;
    border-color: #f87171 !important;
    color: #b91c1c !important;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.16) !important;
}

/* Vehicle Actions Modal Trigger */
.cf-action-trigger {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #e3eaf2;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    padding: 0;
    transition: all 0.18s ease;
}

.cf-action-trigger:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.cf-action-trigger i {
    display: block;
    width: 3.5px;
    height: 3.5px;
    margin: 1.2px 0;
    border-radius: 50%;
    background: #1e293b;
    transition: background 0.18s ease;
}

.cf-action-trigger:hover i {
    background: #0284c7;
}

/* Upward flip for legacy dropdown on lower table rows */
.cf-table tr:last-child .cf-menu,
.cf-table tr:nth-last-child(2) .cf-menu {
    top: auto;
    bottom: calc(100% + 4px);
    box-shadow: 0 -10px 25px -5px rgba(0, 0, 0, 0.1), 0 -4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Action Modal Tiles */
.adm-action-tile {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 14px;
    border-radius: 12px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.18s ease;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.adm-action-tile:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.adm-action-tile__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.adm-action-tile__icon.tone-blue { background: #eff6ff; color: #2563eb; }
.adm-action-tile__icon.tone-purple { background: #faf5ff; color: #7c3aed; }
.adm-action-tile__icon.tone-orange { background: #fff7ed; color: #ea580c; }
.adm-action-tile__icon.tone-amber { background: #fffbeb; color: #d97706; }
.adm-action-tile__icon.tone-danger { background: #fee2e2; color: #dc2626; }

.adm-action-tile__text {
    flex: 1;
    min-width: 0;
}

.adm-action-tile__text strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.adm-action-tile__text span {
    display: block;
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.35;
}

.adm-action-tile__arrow {
    font-size: 15px;
    color: #94a3b8;
    font-weight: 700;
    transition: transform 0.18s ease, color 0.18s ease;
}

.adm-action-tile:hover .adm-action-tile__arrow {
    transform: translateX(3px);
    color: #0284c7;
}

.adm-action-tile--danger {
    background: #fff5f5 !important;
    border-color: #fecaca !important;
}

.adm-action-tile--danger:hover {
    background: #fee2e2 !important;
    border-color: #f87171 !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.14) !important;
}

.adm-action-tile__badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    padding: 3px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Badges & Status Pills */
.cf-badge,
.adm-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.cf-badge--issued,
.cf-badge--active,
.cf-badge--confirmed,
.cf-badge--completed,
.cf-badge--available,
.adm-badge--green {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.cf-badge--pending,
.cf-badge--draft,
.cf-badge--payment_pending,
.cf-badge--ready_for_pickup,
.adm-badge--orange {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.cf-badge--cancelled,
.cf-badge--rejected,
.cf-badge--maintenance,
.adm-badge--red {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.cf-badge--on_rent,
.adm-badge--blue {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.cf-badge--inactive,
.adm-badge--purple {
    background: #faf5ff;
    color: #7c3aed;
    border: 1px solid #e9d5ff;
}

.adm-badge--gray {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}


/* Mobile Responsiveness */
@media (max-width: 900px) {
    .adm-side,
    .adm-side--dock {
        transform: translateX(-100%);
    }
    .adm-nav-open .adm-side,
    .adm-nav-open .adm-side--dock {
        transform: translateX(0);
    }
    .adm-nav-open .adm-shade {
        display: block;
    }
    .adm-main {
        margin-left: 0;
        width: 100%;
    }
    .adm-menu {
        display: flex;
    }
    .adm-search {
        display: none;
    }
    .cf-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .cf-kpis {
        grid-template-columns: 1fr;
    }
    .adm-top {
        padding: 8px 14px;
    }
    .adm-date-pill {
        display: none;
    }
}

.adm-bell {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #ffffff;
    color: #475569;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    padding: 0;
}
.adm-bell .adm-ico {
    width: 20px;
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}
.adm-bell:hover {
    background: #f8fafc;
    color: #f36a16;
    border-color: #fdba74;
    box-shadow: 0 4px 12px rgba(243, 106, 22, 0.15), 0 1px 3px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}
.adm-bell:hover .adm-ico {
    animation: bellSwing 0.6s ease-in-out;
}
.adm-bell[aria-expanded="true"] {
    background: #fff7ed;
    color: #ea580c;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2), 0 4px 12px rgba(249, 115, 22, 0.15);
}
.adm-bell:active {
    transform: scale(0.95);
}
.adm-bell b {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px #ffffff, 0 2px 6px rgba(239, 68, 68, 0.4);
    animation: badgePulse 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
@keyframes bellSwing {
    0% { transform: rotate(0); }
    20% { transform: rotate(-14deg); }
    40% { transform: rotate(12deg); }
    60% { transform: rotate(-8deg); }
    80% { transform: rotate(4deg); }
    100% { transform: rotate(0); }
}
@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 2px #ffffff, 0 2px 6px rgba(239, 68, 68, 0.4); }
    50% { transform: scale(1.08); box-shadow: 0 0 0 2px #ffffff, 0 0 10px rgba(239, 68, 68, 0.7); }
}
.adm-notif-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.adm-notif-pop {
    position: absolute;
    top: calc(100% + 12px);
    right: -100px;
    width: 390px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 48px -10px rgba(15, 23, 42, 0.22), 0 8px 20px -4px rgba(15, 23, 42, 0.08);
    z-index: 1200;
    overflow: visible;
    transform-origin: calc(100% - 120px) top;
    animation: admNotifPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.adm-notif-pop::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 114px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
    transform: rotate(45deg);
    z-index: 10;
}
.adm-notif-pop[hidden] {
    display: none !important;
}
@keyframes admNotifPopIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.adm-notif-pop__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
    border-radius: 16px 16px 0 0;
    position: relative;
    z-index: 2;
}
.adm-notif-pop__head strong {
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
    display: block;
    line-height: 1.2;
}
.adm-notif-pop__head small {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
    display: block;
    margin-top: 2px;
}
.adm-notif-pop__action {
    font-size: 11.5px;
    font-weight: 700;
    color: #ea580c;
    text-decoration: none;
    padding: 5px 12px;
    background: #fff7ed;
    border-radius: 8px;
    border: 1px solid #fed7aa;
    transition: all 0.18s ease;
}
.adm-notif-pop__action:hover {
    background: #ea580c;
    color: #ffffff;
    border-color: #ea580c;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
}
.adm-notif-pop__list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 380px;
    overflow-y: auto;
    position: relative;
    z-index: 2;
}
.adm-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}
.adm-notif-item:hover {
    background: #f8fafc;
}
.adm-notif-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.adm-notif-item__icon svg {
    width: 18px;
    height: 18px;
}
.adm-notif-item__icon--blue {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}
.adm-notif-item__icon--green {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}
.adm-notif-item__icon--orange {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
}
.adm-notif-item__icon--red {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecdd3;
}
.adm-notif-item__body {
    flex: 1;
    min-width: 0;
}
.adm-notif-item__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 3px;
    line-height: 1.35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.adm-notif-item__title span:first-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.adm-notif-item__meta {
    font-size: 11.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.adm-notif-item__time {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}
.adm-notif-empty {
    padding: 32px 18px;
    text-align: center;
    color: #64748b;
}
.adm-notif-empty p svg {
    width: 36px;
    height: 36px;
    color: #cbd5e1;
    margin-bottom: 8px;
}
.adm-notif-empty h3 {
    margin: 0 0 4px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--navy);
}
.adm-notif-pop__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 18px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 16px 16px;
    font-size: 12px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}
.adm-notif-pop__foot a {
    color: #ea580c;
    text-decoration: none;
    transition: color 0.15s ease;
}
.adm-notif-pop__foot a:hover {
    color: #c2410c;
    text-decoration: underline;
}
.adm-user { display: flex; align-items: center; gap: 10px; }
.adm-user strong, .adm-user small { display: block; }
.adm-user strong { font-size: 14px; color: var(--navy); }
.adm-user small { color: var(--muted); font-size: 12px; }
.adm-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #16365c;
    color: #fff;
    font-weight: 800;
}
.adm-content { flex: 1; min-height: 0; overflow: auto; padding: 20px 24px 32px; }
.adm-foot {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 0;
    padding: 6px 18px;
    background: #081729;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 11.5px;
    line-height: 1.2;
    z-index: 15;
}
.adm-foot p { margin: 0; font-weight: 600; }
.adm-foot__partner {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
    color: inherit;
    text-decoration: none;
}
.adm-foot__credit { display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 14px; }
.adm-foot__partner:hover { color: inherit; opacity: 0.92; }
.adm-foot__line { font-weight: 600; white-space: nowrap; color: #94a3b8; }
.adm-foot__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin: 0;
}
.adm-foot__pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}
.adm-foot__pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #f1f5f9;
}
.adm-foot__pill--ver {
    font-family: 'JetBrains Mono', monospace;
    color: #cbd5e1;
}
.adm-foot__pill--cloud {
    color: #34d399;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
}
.adm-foot__pulse {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: footPulse 2s infinite;
}
@keyframes footPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.adm-foot__pill--sec {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.25);
}
.adm-foot__pill--sec .adm-ico {
    width: 12px;
    height: 12px;
    stroke-width: 2.2;
}
.adm-foot__pill--php {
    font-family: 'JetBrains Mono', monospace;
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.08);
    border-color: rgba(167, 139, 250, 0.25);
}
.adm-foot__mark {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: relative;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}
.adm-foot__partner:hover .adm-foot__mark {
    transform: translateY(-1px) scale(1.05);
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
}
.adm-foot__brand {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-align: center;
    background: linear-gradient(
        90deg,
        #38bdf8 0%,
        #818cf8 18%,
        #c084fc 36%,
        #f472b6 54%,
        #fb923c 72%,
        #34d399 90%,
        #38bdf8 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: jnvMultiColorFlow 3.5s linear infinite;
    display: block;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.5));
}
.adm-foot__tag {
    display: block;
    position: relative;
    padding-top: 2px;
    font-size: 5.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    background: linear-gradient(
        90deg,
        #38bdf8 0%,
        #818cf8 18%,
        #c084fc 36%,
        #f472b6 54%,
        #fb923c 72%,
        #34d399 90%,
        #38bdf8 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: jnvMultiColorFlow 3.5s linear infinite;
}
.adm-foot__tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        #38bdf8 0%,
        #818cf8 18%,
        #c084fc 36%,
        #f472b6 54%,
        #fb923c 72%,
        #34d399 90%,
        #38bdf8 100%
    );
    background-size: 200% auto;
    animation: jnvMultiColorFlow 3.5s linear infinite;
    opacity: 0.85;
}
@keyframes jnvMultiColorFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}
.adm-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.muted { color: var(--muted); }
.dash-empty {
    margin: 0;
    padding: 22px 12px;
    text-align: center;
    color: var(--muted);
}
.dash-empty--icon { display: grid; justify-items: center; gap: 8px; padding: 28px 12px; }
.dash-empty--icon .adm-ico { width: 28px; height: 28px; color: #94a3b8; }
.dash-empty--chart { display: grid; justify-items: center; gap: 6px; padding: 36px 12px; }
.dash-empty--chart p { margin: 0; }
.dash-empty__bars { display: flex; align-items: flex-end; gap: 5px; height: 28px; margin-bottom: 8px; }
.dash-empty__bars i { width: 7px; border-radius: 3px 3px 0 0; background: #dbe7f3; }
.dash-empty__bars i:nth-child(1) { height: 12px; }
.dash-empty__bars i:nth-child(2) { height: 22px; }
.dash-empty__bars i:nth-child(3) { height: 16px; }
.dash-empty__cta { margin: 0 0 8px; text-align: center; }

.dash {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.72fr) minmax(220px, 0.68fr);
    grid-template-areas:
        "upper upper upper"
        "fin   fin   fin"
        "chart fleet schedule"
        "recent recent activity";
    gap: 14px;
    align-items: stretch;
}
.dash-upper {
    grid-area: upper;
    display: grid;
    grid-template-columns: minmax(0, 2.05fr) minmax(300px, 1fr);
    grid-template-areas:
        "hello qa"
        "kpi1  ops";
    gap: 12px;
    align-items: stretch;
    min-width: 0;
}
.dash > *,
.dash-upper > *,
.kpi-row,
.ops-strip,
.fin-overview,
.kpi,
.fin-metric { min-width: 0; }

.dash-hello { grid-area: hello; }
.qa { grid-area: qa; align-self: stretch; }
.kpi-row--4, .dash-kpi-error { grid-area: kpi1; align-self: start; }
.ops-strip { grid-area: ops; }
.fin-overview { grid-area: fin; }
.dash-chart { grid-area: chart; }
.fleet { grid-area: fleet; }
.dash-recent { grid-area: recent; }
.dash-schedule { grid-area: schedule; }
.dash-activity { grid-area: activity; }
.dash-alerts { grid-area: alerts; }

.dash-hello {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 196px;
    padding: 16px 22px;
    border-radius: 16px;
    background: #10243d;
    box-shadow: 0 8px 18px rgba(16, 36, 61, 0.12);
}
.dash-hello__copy { position: relative; z-index: 1; max-width: 580px; }
.dash-hello__kicker {
    margin: 0 0 3px;
    color: #ffb07a;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.dash-hello h1 { margin: 0; color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.dash-hello__wave { font-size: 0.82em; }
.dash-hello__lead { margin: 3px 0 0; color: #d5deea; font-size: 12.5px; }
.dash-hello__meta { margin: 2px 0 0; color: #b7c3d4; font-size: 11.5px; }
.dash-stats { display: flex; gap: 16px; margin-top: 12px; }
.dash-stats span { display: grid; grid-template-columns: 16px auto; grid-template-rows: auto auto; column-gap: 6px; align-items: center; }
.dash-stats i { grid-row: 1 / span 2; display: grid; color: #ffb07a; }
.dash-stats i .adm-ico { width: 14px; height: 14px; }
.dash-stats strong { color: #fff; font-size: 14px; font-weight: 800; line-height: 1; }
.dash-stats small { color: #b7c3d4; font-size: 10px; font-weight: 600; }
.dash-ring {
    --pct: 0;
    --dash-offset: 257.6px;
    position: absolute;
    z-index: 4;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 96px;
    height: 96px;
    flex: none;
    border-radius: 50%;
    background: #10243d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    box-shadow: 0 0 0 6px rgba(16, 36, 61, 0.75), 0 10px 24px rgba(0, 0, 0, 0.45);
}
.dash-ring:hover {
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 0 0 7px rgba(243, 106, 22, 0.35), 0 0 24px rgba(243, 106, 22, 0.45), 0 12px 28px rgba(0, 0, 0, 0.5);
}
.dash-ring::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(243, 106, 22, 0.7);
    pointer-events: none;
    z-index: -1;
    animation: dashRingPulse 2.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
.dash-ring::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(243, 106, 22, 0.45) 90deg, transparent 180deg, rgba(255, 176, 122, 0.3) 270deg, transparent 360deg);
    filter: blur(6px);
    opacity: 0.85;
    pointer-events: none;
    z-index: -1;
    animation: dashRingHalo 6s linear infinite;
}
.dash-ring__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    z-index: 2;
    pointer-events: none;
}
.dash-ring__track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 7;
}
.dash-ring__fill {
    fill: none;
    stroke: url(#dashRingGrad);
    stroke-width: 7;
    stroke-linecap: round;
    stroke-dasharray: 257.6;
    stroke-dashoffset: var(--dash-offset, 257.6);
    filter: drop-shadow(0 0 4px rgba(243, 106, 22, 0.75));
    animation: dashRingDraw 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.dash-ring > span {
    position: relative;
    z-index: 3;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #1c3961 0%, #0e1e33 100%);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2), inset 0 -2px 5px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.dash-ring strong {
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0;
    display: block;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}
.dash-ring small {
    margin-top: 3px;
    color: #ffb07a;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}
@keyframes dashRingPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.85;
        border-color: rgba(243, 106, 22, 0.75);
    }
    55% {
        transform: scale(1.24);
        opacity: 0;
        border-color: rgba(243, 106, 22, 0);
    }
    100% {
        transform: scale(1.24);
        opacity: 0;
        border-color: rgba(243, 106, 22, 0);
    }
}
@keyframes dashRingHalo {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes dashRingDraw {
    from {
        stroke-dashoffset: 257.6;
    }
    to {
        stroke-dashoffset: var(--dash-offset, 206px);
    }
}
.dash-hero {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 58%;
    object-fit: cover;
    object-position: 72% 50%;
    opacity: 0.92;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 48%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 48%);
    pointer-events: none;
}
.dash-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-solid, .btn-line, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.btn-solid { background: var(--orange); color: #fff; }
button.btn-solid, button.btn-line, button.btn-ghost { border: 0; cursor: pointer; font: inherit; }
.btn-line { background: #fff; color: var(--orange); border: 1.5px solid var(--orange); }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn-ghost .adm-ico { width: 15px; height: 15px; }

.kpi-row { display: grid; gap: 12px; }
.kpi-row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.kpi {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    height: 112px;
    min-height: 0;
    padding: 12px 12px 12px 14px;
    overflow: hidden;
    border: 1px solid #e7eef5;
    border-top: 3px solid #e7eef5;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(16, 36, 61, 0.04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.kpi::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(currentColor .65px, transparent .85px);
    background-size: 11px 11px;
    opacity: .2;
    -webkit-mask-image: linear-gradient(100deg, #000 0%, #000 42%, transparent 80%);
    mask-image: linear-gradient(100deg, #000 0%, #000 42%, transparent 80%);
}
.kpi:hover {
    transform: translateY(-2px);
    border-left-color: #d5e0ea;
    border-right-color: #d5e0ea;
    border-bottom-color: #d5e0ea;
    box-shadow: 0 8px 16px rgba(16, 36, 61, 0.08);
}
.kpi > div { position: relative; z-index: 1; min-width: 0; flex: 1; }
.kpi .kpi-label { display: block; color: #64748b; font-size: 13px; font-weight: 600; }
.kpi strong { display: block; margin: 1px 0; color: #10243d; font-size: 28px; font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi em { display: block; color: #64748b; font-size: 12.5px; font-style: normal; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi em.is-up { color: #16a34a; font-weight: 700; }
.kpi .kpi-ico { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.kpi .kpi-ico .adm-ico { width: 20px; height: 20px; }
.kpi-mark {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    margin-left: 4px;
    display: grid;
    place-items: center;
    flex: none;
    opacity: .28;
    pointer-events: none;
}
.kpi-mark .adm-ico { width: 64px; height: 64px; stroke-width: 1.25; }
.kpi-go {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: none;
    color: #94a3b8;
    pointer-events: none;
}
.kpi-go .adm-ico { width: 16px; height: 16px; }
.kpi--cars {
    border-top-color: #3b82f6;
    color: #3b82f6;
    background-image:
        radial-gradient(circle at 78% 50%, rgba(59, 130, 246, .14), transparent 46%),
        linear-gradient(105deg, #e8f2ff 0%, #f7fbff 46%, #fff 78%);
}
.kpi--cars .kpi-ico { background: #dbeafe; color: #2563eb; }
.kpi--cars .kpi-mark { color: #3b82f6; }
.kpi--ok {
    border-top-color: #22c55e;
    color: #10b981;
    background-image:
        radial-gradient(circle at 78% 50%, rgba(16, 185, 129, .14), transparent 46%),
        linear-gradient(105deg, #e9fbf2 0%, #f6fdf9 46%, #fff 78%);
}
.kpi--ok .kpi-ico { background: #d1fae5; color: #059669; }
.kpi--ok .kpi-mark { color: #10b981; }
.kpi--rent {
    border-top-color: #f59e0b;
    color: #f59e0b;
    background-image:
        radial-gradient(circle at 78% 50%, rgba(245, 158, 11, .16), transparent 46%),
        linear-gradient(105deg, #fff4e8 0%, #fffaf4 46%, #fff 78%);
}
.kpi--rent .kpi-ico { background: #ffedd5; color: #ea580c; }
.kpi--rent .kpi-mark { color: #f59e0b; }
.kpi--wrench {
    border-top-color: #ef4444;
    color: #f43f5e;
    background-image:
        radial-gradient(circle at 78% 50%, rgba(244, 63, 94, .14), transparent 46%),
        linear-gradient(105deg, #fff0f2 0%, #fff8f8 46%, #fff 78%);
}
.kpi--wrench .kpi-ico { background: #ffe4e6; color: #e11d48; }
.kpi--wrench .kpi-mark { color: #f43f5e; }
.kpi--wrench .kpi-mark::after {
    content: "";
    position: absolute;
    width: 54px;
    height: 54px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    opacity: .85;
}

/* ==========================================================================
   PREMIUM OPERATIONAL METRICS STRIP
   ========================================================================== */
.ops-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 8px;
    height: 100%;
    align-self: stretch;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}
.ops-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    min-height: 0;
    min-width: 0;
    padding: 6px 8px 7px;
    overflow: hidden;
    border: 1px solid #e7eef5;
    border-top: 2px solid #e7eef5;
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(16, 36, 61, 0.04);
    text-decoration: none;
    color: inherit;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ops-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(currentColor .6px, transparent .8px);
    background-size: 9px 9px;
    opacity: .18;
    -webkit-mask-image: linear-gradient(100deg, #000 0%, #000 38%, transparent 78%);
    mask-image: linear-gradient(100deg, #000 0%, #000 38%, transparent 78%);
}
a.ops-card:hover {
    transform: translateY(-2px);
    border-left-color: #d5e0ea;
    border-right-color: #d5e0ea;
    border-bottom-color: #d5e0ea;
    box-shadow: 0 8px 16px rgba(16, 36, 61, 0.08);
}
a.ops-card:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.ops-mark {
    position: absolute;
    right: 16px;
    top: 50%;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    opacity: .2;
    pointer-events: none;
}
.ops-mark .adm-ico { width: 36px; height: 36px; stroke-width: 1.3; }
.ops-card__head,
.ops-card__val,
.ops-card__note { position: relative; z-index: 1; }
.ops-card__head {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.ops-card__go { margin-left: auto; display: grid; color: #94a3b8; flex: none; }
.ops-card__go .adm-ico { width: 14px; height: 14px; }
.ops-card__ico {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex: none;
}
.ops-card__ico .adm-ico { width: 14px; height: 14px; }
.ops-card__label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}
.ops-card__val {
    display: block;
    margin: 1px 0 0;
    color: #10243d;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ops-card__val.is-revenue { color: #059669; }
.ops-card__note {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: #64748b;
    font-size: 11.5px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25;
    white-space: normal;
}
.ops-card--pending {
    color: #f59e0b;
    border-top-color: #f59e0b;
    background-image: radial-gradient(circle at 82% 50%, rgba(245, 158, 11, .16), transparent 48%), linear-gradient(105deg, #fff4e8 0%, #fffaf4 50%, #fff 80%);
}
.ops-card--pending .ops-card__ico { background: #ffedd5; color: #ea580c; }
.ops-card--pending .ops-mark { color: #f59e0b; }
.ops-card--confirmed {
    color: #10b981;
    border-top-color: #22c55e;
    background-image: radial-gradient(circle at 82% 50%, rgba(16, 185, 129, .14), transparent 48%), linear-gradient(105deg, #e9fbf2 0%, #f6fdf9 50%, #fff 80%);
}
.ops-card--confirmed .ops-card__ico { background: #d1fae5; color: #059669; }
.ops-card--confirmed .ops-mark { color: #10b981; }
.ops-card--pickups {
    color: #3b82f6;
    border-top-color: #3b82f6;
    background-image: radial-gradient(circle at 82% 50%, rgba(59, 130, 246, .14), transparent 48%), linear-gradient(105deg, #e8f2ff 0%, #f7fbff 50%, #fff 80%);
}
.ops-card--pickups .ops-card__ico { background: #dbeafe; color: #2563eb; }
.ops-card--pickups .ops-mark { color: #3b82f6; }
.ops-card--returns {
    color: #f43f5e;
    border-top-color: #fb7185;
    background-image: radial-gradient(circle at 82% 50%, rgba(244, 63, 94, .14), transparent 48%), linear-gradient(105deg, #fff0f2 0%, #fff8f8 50%, #fff 80%);
}
.ops-card--returns .ops-card__ico { background: #ffe4e6; color: #e11d48; }
.ops-card--returns .ops-mark { color: #f43f5e; }
.ops-card--revenue {
    color: #10b981;
    border-top-color: #10b981;
    background-image: radial-gradient(circle at 82% 50%, rgba(16, 185, 129, .14), transparent 48%), linear-gradient(105deg, #e9fbf2 0%, #f6fdf9 50%, #fff 80%);
}
.ops-card--revenue .ops-card__ico { background: #d1fae5; color: #059669; }
.ops-card--revenue .ops-mark { color: #10b981; }
.ops-card--due {
    color: #db2777;
    border-top-color: #ec4899;
    background-image: radial-gradient(circle at 82% 50%, rgba(219, 39, 119, .14), transparent 48%), linear-gradient(105deg, #fdf2f8 0%, #fff7fb 50%, #fff 80%);
}
.ops-card--due .ops-card__ico { background: #fce7f3; color: #db2777; }
.ops-card--due .ops-mark { color: #db2777; }

/* Consolidated Finance Overview */
.fin-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 16px;
    padding: 14px 16px;
    background:
        radial-gradient(90% 80px at 8% 0%, rgba(191, 219, 254, 0.55), transparent 70%),
        radial-gradient(60% 70px at 70% 0%, rgba(224, 242, 254, 0.7), transparent 72%),
        #f7fbff;
    border: 1px solid #d5e6f6;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(16, 36, 61, 0.04);
    align-items: stretch;
}
.fin-overview__main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    gap: 12px;
}
.fin-overview__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.fin-overview__title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.fin-overview__ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #eaf3fc;
    color: #2563eb;
    display: grid;
    place-items: center;
    flex: none;
}
.fin-overview__ico .adm-ico { width: 16px; height: 16px; }
.fin-overview__title h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.fin-overview__sub {
    margin: 1px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}
.fin-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    cursor: default;
}
.fin-pill__arr { font-size: 10px; color: #94a3b8; }
.fin-overview__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.fin-metric {
    position: relative;
    min-width: 0;
    min-height: 108px;
    padding: 12px 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e6eef6;
    box-shadow: 0 1px 2px rgba(16, 36, 61, 0.03);
}
.fin-metric--in { border-bottom: 3px solid #2563eb; }
.fin-metric--dep { border-bottom: 3px solid #db2777; }
.fin-metric--trip { border-bottom: 3px solid #7c3aed; }
.fin-metric--net { border-bottom: 3px solid #16a34a; }
.fin-metric__top { display: flex; align-items: center; gap: 8px; min-width: 0; margin-bottom: 6px; }
.fin-metric__ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex: none;
}
.fin-metric__ico .adm-ico { width: 15px; height: 15px; }
.fin-metric--in .fin-metric__ico { background: #e7f1fc; color: #2563eb; }
.fin-metric--dep .fin-metric__ico { background: #fde8f3; color: #db2777; }
.fin-metric--trip .fin-metric__ico { background: #f3e8ff; color: #7c3aed; }
.fin-metric--net .fin-metric__ico { background: #e8f8ef; color: #16a34a; }
.fin-metric p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fin-metric strong {
    display: block;
    color: #0f172a;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.fin-metric strong.is-net { color: #16a34a; }
.fin-metric em {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 11px;
    font-style: normal;
    line-height: 1.3;
    white-space: normal;
    overflow: hidden;
}
.fin-held {
    background: #fff9eb;
    border: 1px solid #fef3c7;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-width: 0;
}
.fin-held__head {
    display: flex;
    align-items: center;
    gap: 6px;
}
.fin-held__ico {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #ffedd5;
    color: #d97706;
    display: grid;
    place-items: center;
    flex: none;
}
.fin-held__ico .adm-ico { width: 13px; height: 13px; }
.fin-held__label {
    font-size: 12px;
    font-weight: 700;
    color: #92400e;
}
.fin-held strong {
    display: block;
    margin: 2px 0 1px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.fin-held__due {
    margin: 0;
    color: #78350f;
    font-size: 11px;
    font-weight: 600;
}
.fin-held__fine {
    margin: 2px 0 0;
    color: #92400e;
    font-size: 10px;
    font-weight: 500;
    opacity: 0.85;
}

.panel {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: var(--shadow);
}
.panel h2 { margin: 0; color: var(--navy); font-size: 16px; font-weight: 800; }
.dash .panel {
    border-color: #e7eef5;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 1px 2px rgba(16, 36, 61, 0.04);
}
.dash .fin-overview {
    padding: 14px 16px;
    border-color: #d5e6f6;
    background:
        radial-gradient(90% 80px at 8% 0%, rgba(191, 219, 254, 0.55), transparent 70%),
        radial-gradient(60% 70px at 70% 0%, rgba(224, 242, 254, 0.7), transparent 72%),
        #f7fbff;
    box-shadow: 0 8px 22px rgba(16, 36, 61, 0.04);
}
.dash-count {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    margin-left: 8px;
    padding: 0 6px;
    border-radius: 999px;
    background: #fff1f2;
    color: #e11d48;
    font-size: 12px;
    font-weight: 800;
    vertical-align: 2px;
}
.panel-head, .chart-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel-head { justify-content: space-between; margin-bottom: 12px; }
.panel-head a, .util__row a { color: var(--orange); font-size: 13px; font-weight: 700; text-decoration: none; }
.qa { container-type: inline-size; align-self: stretch; display: flex; flex-direction: column; }
.qa p { margin: 0; color: var(--muted); font-size: 13px; }
.qa.panel {
    padding: 12px 14px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 120px;
}
.qa-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    flex: none;
}
.qa-head h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.01em;
}
.qa-more {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: all .15s ease;
    padding: 0;
}
a.qa-more { text-decoration: none; }
.qa-more:hover { color: var(--navy); background: #f1f5f9; }
.qa-more .adm-ico { width: 16px; height: 16px; }
.qa-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    flex: 1;
    min-height: 0;
}
.qa-grid:has(.qa-btn:nth-child(5)) {
    grid-template-rows: repeat(2, minmax(0, 1fr));
}
.qa-btn {
    --qa-c: var(--navy);
    --qa-bg: #f4f7fb;
    --qa-b: #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: 6px 4px;
    border-radius: 12px;
    border: 1px solid var(--qa-b);
    background: var(--qa-bg);
    color: var(--qa-c);
    text-decoration: none;
    text-align: center;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
    position: relative;
}
.qa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 36, 61, 0.08);
}
.qa-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.qa-btn__ico {
    display: grid;
    place-items: center;
    color: var(--qa-c);
    flex: none;
}
.qa-btn__ico .adm-ico { width: 18px; height: 18px; }
.qa-btn__label {
    max-width: 100%;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.qa-btn--primary {
    --qa-c: #ea580c;
    --qa-bg: #fff0e6;
    --qa-b: #fed7aa;
}
.qa-btn--primary:hover {
    --qa-bg: #ffedd5;
    --qa-b: #fdba74;
}

.qa-btn--blue {
    --qa-c: #2563eb;
    --qa-bg: #eaf3fc;
    --qa-b: #dbeafe;
}
.qa-btn--blue:hover { --qa-bg: #dbeafe; --qa-b: #bfdbfe; }

.qa-btn--red {
    --qa-c: #e11d48;
    --qa-bg: #ffecee;
    --qa-b: #fee2e2;
}
.qa-btn--red:hover { --qa-bg: #fee2e2; --qa-b: #fecaca; }

.qa-btn--amber {
    --qa-c: #d97706;
    --qa-bg: #fff4ec;
    --qa-b: #fef3c7;
}
.qa-btn--amber:hover { --qa-bg: #fef3c7; --qa-b: #fde68a; }

.qa-btn--indigo {
    --qa-c: #4f46e5;
    --qa-bg: #eef2ff;
    --qa-b: #e0e7ff;
}
.qa-btn--indigo:hover { --qa-bg: #e0e7ff; --qa-b: #c7d2fe; }

.qa-btn--green {
    --qa-c: #16a34a;
    --qa-bg: #e8f8ef;
    --qa-b: #dcfce7;
}
.qa-btn--green:hover { --qa-bg: #dcfce7; --qa-b: #bbf7d0; }

.qa-btn--cyan {
    --qa-c: #0284c7;
    --qa-bg: #e0f2fe;
    --qa-b: #bae6fd;
}
.qa-btn--cyan:hover { --qa-bg: #bae6fd; --qa-b: #7dd3fc; }

.qa-btn--navy {
    --qa-c: #475569;
    --qa-bg: #f1f5f9;
    --qa-b: #e2e8f0;
}
.qa-btn--navy:hover { --qa-bg: #e2e8f0; --qa-b: #cbd5e1; }

@container (max-width: 280px) {
    .qa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 6px; }
    .qa-btn { flex-direction: row; justify-content: flex-start; height: auto; min-height: 36px; padding: 6px 8px; gap: 6px; }
    .qa-btn__label { font-size: 11px; text-align: left; -webkit-line-clamp: 1; }
    .qa-btn__ico .adm-ico { width: 16px; height: 16px; }
}

.dash-mid { display: contents; }
.dash-chart, .fleet, .dash-schedule, .dash-recent, .dash-activity { align-self: stretch; }
.chart-head { margin-bottom: 4px; }
.chart-head h2 { margin-right: auto; }
.adm-tabs {
    display: flex;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    background: #f4f7fb;
}
.adm-tabs a {
    padding: 6px 12px;
    border-radius: 999px;
    color: #52657a;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}
.adm-tabs a:hover { color: var(--navy); }
.adm-tabs a.is-active { background: var(--navy); color: #fff; }
.chart-legend { display: flex; justify-content: flex-end; gap: 16px; margin: 4px 0 2px; color: #52657a; font-size: 12px; font-weight: 600; }
.chart-legend span { display: inline-flex; align-items: center; }
.chart-legend .is-book { border-radius: 2px; }
.chart-legend i, .cal-key i, .adm-legend li::before {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    background: #94a3b8;
}
.chart-legend .is-book { background: #3d8fe6; }
.chart-legend .is-rev { background: var(--orange); }
.cash { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 6px 0 10px; }
.cash__item {
    padding: 10px 12px;
    border: 1px solid #eef3f8;
    border-left: 3px solid #cbd5e1;
    border-radius: 12px;
    background: #fbfdff;
}
.cash__item p { margin: 0 0 2px; color: var(--muted); font-size: 12px; font-weight: 700; }
.cash__item strong { display: block; color: var(--navy); font-size: 16px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cash__item em { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-style: normal; }
.cash__item--in { border-left-color: var(--blue); }
.cash__item--out { border-left-color: #db2777; }
.cash__item--net { border-left-color: var(--green); }
.cash__item--hold { border-left-color: var(--orange); }
.cash__item--net strong { color: #0f9f5a; }
.cash__fine { display: block; margin-top: 4px; color: #94a3b8; font-size: 11px; font-style: normal; line-height: 1.35; }
.cash-band {
    grid-area: cash;
    margin: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.cash-band .cash__item {
    background: #fff;
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(16, 36, 61, 0.04);
}
.cash__note { margin: 0 0 8px; color: var(--muted); font-size: 12px; }
@media (max-width: 800px) {
    .cash { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .cash { grid-template-columns: 1fr; }
}
.adm-chart { width: 100%; height: 200px; display: block; }
.chart-wrap { position: relative; }
.chart-note {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 8px rgba(16, 36, 61, 0.08);
    color: #52657a;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.fleet { display: flex; flex-direction: column; padding-right: 16px; padding-left: 16px; }
.fleet-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; margin: 16px 0 auto; }
.adm-donut {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: var(--donut, #e8eef5);
    display: grid;
    place-items: center;
}
.adm-donut span {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    box-shadow: 0 2px 6px rgba(16, 36, 61, 0.08);
}
.adm-donut strong { color: var(--navy); font-size: 26px; font-weight: 800; line-height: 1; }
.adm-donut small { margin-top: 3px; color: var(--muted); font-size: 10.5px; }
.adm-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.adm-legend li { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: #334155; }
.adm-legend li span { flex: 1; }
.adm-legend li strong { color: var(--navy); font-weight: 700; font-variant-numeric: tabular-nums; }
.adm-legend li em { min-width: 36px; color: var(--muted); font-size: 12px; font-style: normal; font-variant-numeric: tabular-nums; text-align: right; }
.adm-legend li::before { content: ""; margin: 0 4px 0 0; }
.adm-legend .is-available::before { background: var(--green); }
.adm-legend .is-on-rent::before { background: #f5b942; }
.adm-legend .is-maintenance::before { background: var(--orange); }
.adm-legend .is-inactive::before { background: #94a3b8; }
.adm-legend .is-other::before { background: var(--navy); }
.util { margin-top: 18px; }
.util__row { display: flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 600; color: var(--navy); }
.util__row strong { color: var(--navy); font-weight: 800; }
.util__track { height: 6px; margin-top: 8px; border-radius: 999px; background: #e8eef5; overflow: hidden; }
.util__track span { display: block; height: 100%; background: var(--navy); border-radius: inherit; }

.table-wrap { overflow-x: auto; }
.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th, .dash-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.dash-table th { color: #94a3b8; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.dash-table td { font-size: 13px; color: #1e293b; }
.dash-table tbody tr:hover td { background: #f8fafc; }
.dash-table th:nth-child(7),
.dash-table td.is-amt { text-align: right; }
.book-no { color: var(--navy); font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; }
.dash-view {
    display: inline-flex;
    padding: 6px 12px;
    border: 1px solid #e4ebf2;
    border-radius: 999px;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    background: #fff;
}
.dash-view:hover { border-color: #ffd0b0; color: var(--orange); }

.sch { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sch::before {
    content: "";
    position: absolute;
    left: 78px;
    top: 16px;
    bottom: 16px;
    width: 1px;
    background: #e2e8f0;
}
.sch-item {
    --sch: #94a3b8;
    position: relative;
    display: grid;
    grid-template-columns: 62px 16px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px 8px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: inherit;
    text-decoration: none;
    transition: background .18s ease;
}
a.sch-item:hover { background: #f8fafc; }
a.sch-item:hover .sch-ico { background: #f8fafc; }
.sch .is-pickup .sch-item { --sch: var(--green); }
.sch .is-return .sch-item { --sch: #e11d48; }
.sch .is-maintenance .sch-item { --sch: var(--orange); }
.sch time { color: var(--navy); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.5; }
.sch-ico { position: relative; z-index: 1; color: var(--sch); line-height: 0; padding-top: 2px; background: #fff; }
.sch-ico .adm-ico { width: 16px; height: 16px; stroke-width: 2.2; }
.sch-body { min-width: 0; }
.sch strong, .sch em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sch-kind {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    margin-bottom: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--navy);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.5;
    text-transform: uppercase;
}
.sch .is-pickup .sch-kind { background: #e8f7ee; color: #15803d; }
.sch .is-return .sch-kind { background: #fdecec; color: #e11d48; }
.sch .is-maintenance .sch-kind { background: #fff1e8; color: var(--orange); }
.sch .is-blocked .sch-kind { background: #eef3f8; color: #526174; }
.sch--compact { margin-top: 8px; }
.sch--compact::before { display: none; }
.sch--compact .sch-item { grid-template-columns: 62px minmax(0, 1fr); padding: 6px 4px; }
.sch-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.sch-head h2 { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1; font-size: 14px; white-space: nowrap; }
.sch-head__ico { display: grid; place-items: center; color: #2563eb; flex: none; }
.sch-head__ico .adm-ico { width: 16px; height: 16px; }
.sch-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border: 1px solid #e7eef5;
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
}
.sch-date .adm-ico { width: 12px; height: 12px; }
.sch-all {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #fff;
    color: #2563eb;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.sch-all:hover { background: #eff6ff; }
.sch-cards { display: grid; gap: 8px; }
.sch-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid transparent;
    color: inherit;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease;
}
a.sch-card:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(16, 36, 61, 0.06); }
.sch-card--pick { background: #f0fdf6; border-color: #d1fae5; }
.sch-card--ret { background: #fff7ed; border-color: #ffedd5; }
.sch-card--maint { background: #f5f3ff; border-color: #ede9fe; }
.sch-card__ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.sch-card__ico .adm-ico { width: 18px; height: 18px; }
.sch-card--pick .sch-card__ico { background: #d1fae5; color: #059669; }
.sch-card--ret .sch-card__ico { background: #ffedd5; color: #ea580c; }
.sch-card--maint .sch-card__ico { background: #ede9fe; color: #7c3aed; }
.sch-card__body { min-width: 0; flex: 1; }
.sch-card__body strong { display: flex; align-items: center; gap: 6px; color: #10243d; font-size: 14px; font-weight: 800; }
.sch-card__body em {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #fff;
    font-style: normal;
    font-size: 11px;
    font-weight: 800;
    display: inline-grid;
    place-items: center;
}
.sch-card--pick .sch-card__body em { color: #059669; }
.sch-card--ret .sch-card__body em { color: #ea580c; }
.sch-card--maint .sch-card__body em { color: #7c3aed; }
.sch-card__body small { display: block; margin-top: 2px; color: #64748b; font-size: 12px; font-weight: 500; }
.sch-card__go { color: #94a3b8; display: grid; place-items: center; flex: none; }
.sch-card__go .adm-ico { width: 16px; height: 16px; }
.sch-sum a, .sch-sum div {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 7px 2px;
    border-bottom: 1px solid #f4f7fb;
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.sch-sum strong { font-variant-numeric: tabular-nums; }
.sch-sum i { width: 8px; height: 8px; border-radius: 50%; }
.sch-sum .is-pick { background: #3d8fe6; }
.sch-sum .is-ret { background: #f36a16; }
.sch-sum .is-maint { background: #16b86a; }
.act { list-style: none; margin: 0; padding: 0; }
.act li > a, .act li > div, .act .is-clear {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    border-top: 1px solid #f1f5f9;
    color: inherit;
    text-decoration: none;
}
.act li:first-child > a, .act li:first-child > div, .act li:first-child.is-clear { border-top: 0; padding-top: 2px; }
.act strong, .act em { display: block; }
.act strong { color: var(--navy); font-size: 13px; }
.act em { color: var(--muted); font-size: 12px; font-style: normal; }
.act time { margin-left: auto; color: #94a3b8; font-size: 11px; white-space: nowrap; }
.act-dot { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: #3d8fe6; flex: none; }
.act-dot.is-ok { background: #16b86a; }
.act-dot.is-due { background: #e11d48; }
.sch strong { color: #334155; font-size: 12px; font-weight: 500; }
.sch em { color: var(--muted); font-size: 11.5px; font-style: normal; }

.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px 0; }
.cal-dow, .cal-day { text-align: center; font-size: 12px; }
.cal-dow { color: #94a3b8; font-weight: 700; padding-bottom: 6px; }
.cal-day { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 42px; padding: 2px 0; color: var(--navy); text-decoration: none; border-radius: 10px; }
.cal-day:hover { background: #f4f7fb; }
.cal-day b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-weight: 700; }
.cal-day.is-today b { background: var(--orange); color: #fff; }
.cal-day.is-current:not(.is-today) b { box-shadow: inset 0 0 0 1.5px var(--orange); }
.cal-day i, .cal-key { display: flex; gap: 2px; min-height: 6px; }
.cal-day em, .cal-key i { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.cal-day em.is-pickup, .cal-key .is-pickup { background: var(--green); }
.cal-day em.is-return, .cal-key .is-return { background: var(--blue); }
.cal-day em.is-maintenance, .cal-key .is-maintenance { background: var(--orange); }
.cal-day em.is-block, .cal-key .is-block { background: #94a3b8; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--navy); text-decoration: none; background: #f4f7fb; font-size: 18px; }
.cal-key { list-style: none; margin: 12px 0 0; padding: 0; justify-content: space-between; color: var(--muted); font-size: 11px; }

.alerts { list-style: none; margin: 0; padding: 0; }
.alerts a, .alerts .is-clear { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-top: 1px solid #f1f5f9; color: inherit; text-decoration: none; }
.alerts li:first-child a, .alerts li:first-child.is-clear { border-top: 0; padding-top: 4px; }
.alerts .is-clear { padding-bottom: 8px; }
.alerts a:hover strong { color: var(--orange); }
.alerts strong, .alerts em { display: block; }
.alerts strong { color: var(--navy); font-size: 13px; }
.alerts em { color: var(--muted); font-size: 12px; font-style: normal; }
.alert-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.alert-ico.is-warn { background: #fff4e5; color: #d97706; }
.alert-ico.is-maint { background: #fff1e8; color: var(--orange); }
.alert-ico.is-due { background: #fde8f3; color: #db2777; }
.alert-ico.is-block { background: #eef3f8; color: #526174; }
.alert-ico.is-ok { background: #e8f8ef; color: var(--green); }
.dash-search { margin-bottom: 16px; }
.find { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.find a { display: block; padding: 10px 12px; border-radius: 12px; background: #f8fbfe; color: inherit; text-decoration: none; }
.find a:hover { background: #eef5fb; }
.find strong, .find em { display: block; }
.find em { color: var(--muted); font-size: 12px; font-style: normal; margin-top: 2px; }
.who { display: inline-flex; align-items: center; gap: 8px; }
.who-av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eaf3ff;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    flex: none;
}
.dash-table .is-amt { font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }

.adm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.adm-stat, .adm-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.adm-stat span, .adm-stat em { display: block; color: var(--muted); font-size: 13px; font-style: normal; }
.adm-stat strong { font-size: 28px; }
.adm-card { margin-top: 16px; }
.adm-card h1, .adm-card h2 { margin: 0 0 12px; font-size: 20px; color: var(--navy); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; color: var(--muted); }
.adm-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
a.adm-btn, button.adm-btn, .adm-btn { display: inline-flex; align-items: center; border: 0; border-radius: 999px; padding: 9px 14px; background: var(--orange); color: #fff; text-decoration: none; font-weight: 700; cursor: pointer; }
.adm-btn.alt { background: var(--navy); }
.adm-btn.ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.adm-form { display: grid; gap: 12px; max-width: 760px; }
.adm-form label { display: grid; gap: 6px; font-weight: 600; }
.adm-form input, .adm-form select, .adm-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfd8e3; border-radius: 10px; font: inherit; }
.adm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.adm-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.adm-filters input, .adm-filters select { padding: 8px 10px; border: 1px solid #cfd8e3; border-radius: 10px; }
.adm-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 10px; background: #eef3f8; font-size: 12px; font-weight: 700; }
.adm-badge-available, .adm-badge-confirmed, .adm-badge-completed, .adm-badge-paid, .adm-badge-active { background: #e8f7ee; color: #15803d; }
.adm-badge-pending, .adm-badge-maintenance { background: #fff4e8; color: #b45309; }
.adm-badge-payment_pending { background: #f3e8ff; color: #7c3aed; }
.adm-badge-ready_for_pickup, .adm-badge-on_rent, .adm-badge-booked { background: #e7f3fc; color: var(--blue); }
.adm-badge-cancelled, .adm-badge-rejected, .adm-badge-blocked, .adm-badge-inactive, .adm-badge-failed { background: #fdecec; color: var(--danger); }
.adm a:focus-visible, .adm button:focus-visible, .adm input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.adm-flash { padding: 10px 12px; border-radius: 10px; background: #e8f7ee; }
.adm-flash-error { background: #fdecec; }
.adm-login-page {
    background:
        radial-gradient(900px 420px at 12% -10%, rgba(8, 120, 209, 0.14), transparent 55%),
        radial-gradient(720px 360px at 100% 0%, rgba(243, 106, 22, 0.12), transparent 48%),
        var(--mist);
}
.adm-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.adm-login form {
    width: min(420px, 100%);
    background: #fff;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(16, 36, 61, 0.1);
    display: grid;
    gap: 12px;
    border: 1px solid #eef3f8;
}
.adm-login h1 { margin: 4px 0 0; color: var(--navy); font-size: 28px; letter-spacing: -0.03em; }
.adm-login__brand { margin: 0; }
.adm-login__brand img { display: block; width: min(280px, 100%); height: auto; }
.adm-login__kicker { margin: 0; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.adm-login__lead { margin: 0 0 8px; color: var(--muted); }
.adm-login label { display: grid; gap: 6px; font-weight: 600; color: var(--navy); }
.adm-login input {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #d5e0ea;
    border-radius: 12px;
    font: inherit;
    background: #f8fbfe;
}
.adm-login input:focus { background: #fff; outline: 2px solid rgba(243, 106, 22, 0.25); border-color: var(--orange); }
.adm-login__go { width: 100%; margin-top: 6px; min-height: 46px; }
.adm-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.adm-thumbs figure { margin: 0; width: 140px; }
.adm-thumbs img { width: 140px; height: 90px; object-fit: cover; border-radius: 8px; }
.adm-check { display: flex; gap: 8px; align-items: center; font-weight: 600; }

@media (max-width: 1366px) {
    .dash { grid-template-columns: minmax(0, 1.2fr) minmax(190px, 0.7fr) minmax(200px, 0.62fr); }
    .dash-upper { grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.92fr); }
}
@media (max-width: 1100px) {
    .dash {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "upper upper"
            "fin   fin"
            "chart chart"
            "fleet schedule"
            "recent activity";
    }
    .dash-upper { grid-template-columns: minmax(0, 1fr) 250px; }
    .kpi-row--4, .adm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ops-strip { grid-template-columns: 1fr 1fr; }
    .fin-overview { grid-template-columns: 1fr; }
    .fin-overview__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .adm-search { max-width: 360px; }
    .dash-hero { width: min(280px, 38%); }
}
@media (max-width: 800px) {
    .adm-side { position: fixed; inset: 0 auto 0 0; z-index: 30; transform: translateX(-105%); width: min(280px, 86vw); }
    .adm-main { margin-left: 0; width: 100%; }
    body.adm-nav-open .adm-side { transform: none; }
    body.adm-nav-open .adm-shade { display: block; }
    .adm-menu { display: flex; }
    .adm-brand--top { display: flex; }
    .adm-top__meta .btn-line, .adm-date { display: none; }
    .adm-search { max-width: none; }
    .adm-content { padding: 14px; }
    .adm-foot {
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 6px 12px;
        text-align: center;
    }
    .adm-foot__credit { flex-direction: column; gap: 2px; }
    .adm-foot__credit,
    .adm-foot__partner,
    .adm-foot__meta { align-items: center; justify-content: center; }
    .adm-foot__line { white-space: normal; }
    .chart-head { align-items: flex-start; }
    .dash-hello { min-height: 0; padding: 14px 16px; }
    .dash-hello h1 { font-size: 22px; }
    .dash-hello p { max-width: 100%; }
    .dash-ring { width: 74px; height: 74px; right: 14px; box-shadow: 0 0 0 5px rgba(16, 36, 61, 0.6); }
    .dash-ring__inner,
    .dash-ring span { width: 54px; height: 54px; }
    .dash-ring strong { font-size: 13px; }
    .dash-ring small { font-size: 7.5px; }
    .dash-hero { display: none; }
    .dash-upper {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "hello"
            "qa"
            "kpi1"
            "ops";
    }
    .kpi-row--4, .adm-split, .adm-grid { grid-template-columns: 1fr 1fr; }
    .ops-strip { grid-template-columns: 1fr 1fr; }
    .fleet-body { grid-template-columns: 1fr; justify-items: center; }
    .dash .table-wrap { overflow-x: auto; }
    .dash-table { display: table; min-width: 720px; }
    .dash-table thead { display: table-header-group; }
    .dash-table tbody { display: table-row-group; }
    .dash-table tr { display: table-row; margin: 0; padding: 0; border: 0; border-radius: 0; }
    .dash-table th, .dash-table td { display: table-cell; width: auto; }
    .dash-table td::before { content: none; }
    table:not(.dash-table) { display: block; overflow-x: auto; }
}
@media (max-width: 767px) {
    .dash {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "upper"
            "fin"
            "chart"
            "fleet"
            "schedule"
            "recent"
            "activity";
    }
}
.adm--board .adm-top { min-height: 56px; padding-top: 6px; padding-bottom: 6px; }
.adm--board .adm-content { padding: 14px 16px 20px; }
@media (max-width: 420px) {
    .kpi-row--4, .ops-strip, .fin-overview__metrics { grid-template-columns: 1fr; }
    .adm-user small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .kpi, .ops, .ops-card, .qa-btn, .qa-item, .cv__panel, .ask__panel, .btn-solid, .btn-line, .btn-ghost, .adm-side nav a { transition: none; animation: none; }
    .kpi:hover, .cf-kpi:hover, .ops:hover, .ops-card:hover, .qa-btn:hover, .qa-item:hover, .btn-solid:hover, .btn-line:hover, .btn-ghost:hover { transform: none; }
}

.adm--fleet .adm-top__title { display: none; }
.cf { display: grid; gap: 14px; }
.cf-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.cf-hero__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.cf-hero__copy {
    flex: 1;
    min-width: 220px;
}
.cf-hero__crumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}
.cf-hero__crumb .sep {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 400;
}
.cf-hero__crumb strong {
    color: #0f172a;
}
.cf-hero h1 {
    margin: 0;
    color: #0f172a;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.cf-hero p {
    margin: 3px 0 0;
    color: #64748b;
    font-size: 12.5px;
    line-height: 1.35;
}
.cf-hero__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.cf-hero__photo {
    display: none !important;
}

/* Horizontal Top Module Sub-Navigation Bar */
.adm-subnav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 9px;
    border-top: 1px solid #f1f5f9;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.adm-subnav::-webkit-scrollbar {
    display: none;
}
.adm-subnav__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5.5px 11px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    transition: all 0.15s ease;
}
.adm-subnav__item:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}
.adm-subnav__item.is-active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}
.adm-subnav__item .adm-ico {
    width: 14px;
    height: 14px;
    flex: none;
}
.adm-subnav__item.is-active .adm-ico {
    color: #f97316;
}
.adm-subnav__item .adm-nav-badge {
    height: 15px;
    line-height: 15px;
    font-size: 9px;
    padding: 0 4px;
    min-width: 15px;
    box-shadow: none;
}

.cf-add {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: none;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 9px;
    background: #f97316;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(249, 115, 22, 0.25);
    white-space: nowrap;
    transition: all 0.16s ease;
}
.cf-add:hover {
    background: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.32);
}
.cf-add .adm-ico { width: 15px; height: 15px; }
button.cf-add { border: 0; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.cf-hero form { position: relative; z-index: 1; flex: none; }
.cf-hero form .cf-add { margin-left: 0; }
.cf-panel .cv__specs { margin: 0 18px 12px; }
.cf-panel > .cv__copy, .cf-panel > .cv__note { margin-left: 18px; margin-right: 18px; }
.cf-panel > .cv__note { margin-bottom: 18px; }
.cf-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cf-kpi {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-height: 112px;
    padding: 12px 12px 12px 14px;
    overflow: hidden;
    border: 1px solid #e7eef5;
    border-top: 3px solid #e7eef5;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(16, 36, 61, 0.04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cf-kpi::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(currentColor .65px, transparent .85px);
    background-size: 11px 11px;
    opacity: .18;
    -webkit-mask-image: linear-gradient(100deg, #000 0%, #000 42%, transparent 80%);
    mask-image: linear-gradient(100deg, #000 0%, #000 42%, transparent 80%);
}
.cf-kpi:hover {
    transform: translateY(-2px);
    border-left-color: #d5e0ea;
    border-right-color: #d5e0ea;
    border-bottom-color: #d5e0ea;
    box-shadow: 0 8px 16px rgba(16, 36, 61, 0.08);
}
.cf-kpi__icon,
.cf-kpi__meta,
.cf-kpi__mark,
.cf-kpi__go { position: relative; z-index: 1; }
.cf-kpi p, .cf-kpi strong, .cf-kpi small { display: block; margin: 0; }
.cf-kpi__meta { min-width: 0; flex: 1; }
.cf-kpi__label,
.cf-kpi p {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cf-kpi__val,
.cf-kpi strong {
    margin: 1px 0;
    color: #10243d;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.cf-kpi__note,
.cf-kpi small {
    margin-top: 1px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cf-kpi__note.is-up { color: #16a34a; font-weight: 700; }
.cf-kpi__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
}
.cf-kpi__icon .adm-ico { width: 18px; height: 18px; }
.cf-kpi__mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: none;
    opacity: .22;
    pointer-events: none;
}
.cf-kpi__mark .adm-ico { width: 46px; height: 46px; stroke-width: 1.25; }
.cf-kpi__go { display: grid; place-items: center; flex: none; color: #94a3b8; }
.cf-kpi__go .adm-ico { width: 16px; height: 16px; }
.cf-kpi--blue {
    color: #3b82f6;
    border-top-color: #3b82f6;
    background-image: radial-gradient(circle at 78% 50%, rgba(59, 130, 246, .14), transparent 46%), linear-gradient(105deg, #e8f2ff 0%, #f7fbff 46%, #fff 78%);
}
.cf-kpi--blue .cf-kpi__icon { background: #dbeafe; color: #2563eb; }
.cf-kpi--blue .cf-kpi__mark { color: #3b82f6; }
.cf-kpi--green {
    color: #10b981;
    border-top-color: #22c55e;
    background-image: radial-gradient(circle at 78% 50%, rgba(16, 185, 129, .14), transparent 46%), linear-gradient(105deg, #e9fbf2 0%, #f6fdf9 46%, #fff 78%);
}
.cf-kpi--green .cf-kpi__icon { background: #d1fae5; color: #059669; }
.cf-kpi--green .cf-kpi__mark { color: #10b981; }
.cf-kpi--orange {
    color: #f59e0b;
    border-top-color: #f59e0b;
    background-image: radial-gradient(circle at 78% 50%, rgba(245, 158, 11, .16), transparent 46%), linear-gradient(105deg, #fff4e8 0%, #fffaf4 46%, #fff 78%);
}
.cf-kpi--orange .cf-kpi__icon { background: #ffedd5; color: #ea580c; }
.cf-kpi--orange .cf-kpi__mark { color: #f59e0b; }
.cf-kpi--purple {
    color: #8b5cf6;
    border-top-color: #8b5cf6;
    background-image: radial-gradient(circle at 78% 50%, rgba(139, 92, 246, .14), transparent 46%), linear-gradient(105deg, #f5f3ff 0%, #faf8ff 46%, #fff 78%);
}
.cf-kpi--purple .cf-kpi__icon { background: #ede9fe; color: #7c3aed; }
.cf-kpi--purple .cf-kpi__mark { color: #8b5cf6; }
.cf-kpi--red {
    color: #f43f5e;
    border-top-color: #ef4444;
    background-image: radial-gradient(circle at 78% 50%, rgba(244, 63, 94, .14), transparent 46%), linear-gradient(105deg, #fff0f2 0%, #fff8f8 46%, #fff 78%);
}
.cf-kpi--red .cf-kpi__icon { background: #ffe4e6; color: #e11d48; }
.cf-kpi--red .cf-kpi__mark { color: #f43f5e; }
.cf-panel {
    border: 1px solid #e3eaf2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(16, 36, 61, 0.04);
}
.cf-panel__head, .cf-filters, .cf-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cf-panel__head { padding: 18px 18px 0; }
.cf-panel__head h2 { margin: 0; color: #10243d; font-size: 18px; }
.cf-panel__head p { margin: 3px 0 0; color: #64748b; font-size: 13px; }
.cf-views { display: flex; padding: 3px; border: 1px solid #e3eaf2; border-radius: 12px; background: #f7fafc; }
.cf-views a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 9px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.cf-views a.is-on { background: #fff; color: #10243d; box-shadow: 0 1px 2px rgba(16, 36, 61, 0.08); }
.cf-views .adm-ico { width: 15px; height: 15px; }
.cf-filters { flex-wrap: wrap; justify-content: flex-end; padding: 14px 18px; }
.cf-search { position: relative; flex: 1; min-width: min(100%, 280px); }
.cf-search .adm-ico { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; color: #94a3b8; transform: translateY(-50%); }
.cf-filters input, .cf-filters select, .cf-pager select {
    min-height: 42px;
    border: 1px solid #e3eaf2;
    border-radius: 12px;
    background: #fff;
    color: #10243d;
    font: inherit;
    font-size: 14px;
}
.cf-search input { width: 100%; padding: 0 12px 0 36px; }
.cf-filters select, .cf-pager select { padding: 0 12px; }
.cf-filter, .cf-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #e3eaf2;
    border-radius: 12px;
    background: #fff;
    color: #10243d;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.cf-filter { background: #10243d; color: #fff; border-color: #10243d; }
.cf-table-wrap { overflow-x: auto; }
.cf-table { width: 100%; border-collapse: collapse; }
.cf-table th {
    padding: 10px 14px;
    border-top: 1px solid #eef3f8;
    border-bottom: 1px solid #eef3f8;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}
.cf-table td { padding: 12px 14px; border-bottom: 1px solid #f1f5f9; color: #10243d; font-size: 14px; vertical-align: middle; }
.cf-table tr:hover td { background: #f8fbfe; }
.cf-code { color: #64748b; font-weight: 700; white-space: nowrap; }
.cf-vehicle { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.cf-vehicle img, .cf-ph, .cf-card > img, .cf-card > .cf-ph {
    width: 84px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: #f4f8fc;
}
.cf-ph { display: grid; place-items: center; color: #94a3b8; }
.cf-ph .adm-ico { width: 22px; height: 22px; }
.cf-vehicle strong, .cf-card__title strong { display: block; max-width: 180px; overflow: hidden; color: #10243d; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.cf-vehicle small, .cf-card__title small { display: block; max-width: 180px; overflow: hidden; color: #64748b; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.cf-chip { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.cf-chip--type { background: #eef4fb; color: #24527a; }
.cf-chip--fuel { background: #f4f0ff; color: #6d28d9; }
.cf-chip--gear { background: #f3f6f9; color: #475569; }
.cf-miss { color: #94a3b8; }
.cf-rate { font-weight: 800; white-space: nowrap; }
.cf-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; background: #eef4fb; color: #24527a; font-size: 12px; font-weight: 800; white-space: nowrap; }
.cf-badge--available { background: #e8f8ef; color: #15803d; }
.cf-badge--booked, .cf-badge--on_rent, .cf-badge--published { background: #e7f3fc; color: #1479d1; }
.cf-badge--maintenance { background: #fff1e8; color: #c2410c; }
.cf-badge--inactive, .cf-badge--archived { background: #f3e8ff; color: #7c3aed; }
.cf-badge--draft, .cf-badge--refunded { background: #f1f5f9; color: #64748b; }
.cf-badge--pending, .cf-badge--payment_pending, .cf-badge--failed, .cf-badge--new, .cf-badge--contacted { background: #fff1e8; color: #c2410c; }
.cf-badge--confirmed, .cf-badge--ready_for_pickup, .cf-badge--sent { background: #e7f3fc; color: #1479d1; }
.cf-badge--active, .cf-badge--completed, .cf-badge--paid, .cf-badge--issued { background: #e8f8ef; color: #15803d; }
.cf-badge--cancelled, .cf-badge--rejected, .cf-badge--blocked { background: #f3e8ff; color: #7c3aed; }
.cf-kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cf-kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cf-card--plain { grid-template-columns: 1fr; }
.cf-panel .adm-form { max-width: none; padding: 0 18px 18px; }
.cf-panel .adm-card { margin: 0; border: 0; box-shadow: none; }
.cf-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.cf-actions form, .bk-row form, .cf-menu form, .cv-decide form { margin: 0; }
.bk-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.bk-act {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 10px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.bk-act--ok { border: 0; background: #15803d; color: #fff; }
.bk-act--wa { border: 0; background: #25d366; color: #fff; text-decoration: none; }
.bk-act--no { border: 1px solid #fecaca; background: #fff; color: #b91c1c; }
.bk-act--next { border: 1px solid #d7e6f5; background: #f4f8fc; color: #10243d; }
.cf-flash { margin: 0 0 14px; }
.cv-decide {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid #ffe0c2;
    border-radius: 14px;
    background: #fff7ed;
}
.cv-decide__copy { flex: 1 1 220px; min-width: 0; }
.cv-decide__copy strong { display: block; color: #9a3412; font-size: 14px; }
.cv-decide__copy p { margin: 2px 0 0; color: #b45309; font-size: 13px; font-weight: 600; }
.cv-decide__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-decide__acts .bk-act { min-height: 38px; padding: 0 16px; }
.cv-decide.is-done { border-color: #e3eaf2; background: #f8fbfe; }
.cv-decide.is-done .cv-decide__copy strong { color: #10243d; }
.cv-decide.is-done .cv-decide__copy p { color: #64748b; }
.pay-top { padding: 14px 16px; border: 1px solid #e3eaf2; border-radius: 14px; background: #f8fbfe; }
.pay-top__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.pay-top__head em { color: #10243d; font-size: 14px; font-style: normal; font-weight: 800; }
.pay-bar { height: 8px; margin: 10px 0; border-radius: 999px; background: #e3eaf2; overflow: hidden; }
.pay-bar span { display: block; height: 100%; border-radius: 999px; background: #15803d; }
.pay-top__row { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pay-top__row p { margin: 0; color: #64748b; font-size: 12px; font-weight: 700; }
.pay-top__row strong { margin-left: 6px; color: #10243d; font-size: 14px; }
.cv .pay-form { padding: 0; }
.pay-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pay-chips span { color: #64748b; font-size: 12px; font-weight: 800; }
.pay-chips button {
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #d7e6f5;
    border-radius: 999px;
    background: #fff;
    color: #10243d;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.pay-chips button:hover { border-color: #1479d1; color: #1479d1; }
.pay-dep {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e3eaf2;
    border-radius: 16px;
    background: #f8fbfe;
}
.pay-dep__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.pay-dep__head em { color: #64748b; font-size: 12px; font-style: normal; font-weight: 700; }
.pay-dep__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pay-dep__grid article {
    padding: 10px;
    border: 1px solid #e8eef6;
    border-radius: 12px;
    background: #fff;
}
.pay-dep__grid p { margin: 0 0 2px; color: #64748b; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.pay-dep__grid strong { color: #10243d; font-size: 15px; }
.pay-dep__log { display: grid; gap: 2px; margin: 0; color: #64748b; font-size: 12px; font-weight: 700; }
.pay-dep__log span { color: #10243d; font-weight: 600; }
.pay-dep__reset { display: flex; justify-content: center; margin: 10px 0 4px; }
.pay-dep__reset .cf-filter { width: auto; }
@media (min-width: 720px) {
    .pay-dep__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.ask {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 20px;
}
.ask__shade { position: absolute; inset: 0; border: 0; padding: 0; background: rgba(8, 20, 38, 0.48); backdrop-filter: blur(3px); cursor: pointer; }
.ask__panel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    width: min(420px, 100%);
    padding: 18px;
    border: 1px solid #e7eef5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(7, 26, 45, 0.28);
    animation: cvIn .18s ease;
}
.ask__panel h2 { margin: 0; color: #10243d; font-size: 18px; letter-spacing: -0.02em; }
.ask__note { margin: 0; color: #64748b; font-size: 13px; }
.ask__reason { display: grid; gap: 4px; color: #10243d; font-size: 12px; font-weight: 800; }
.ask__reason input {
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid #e3eaf2;
    border-radius: 10px;
    background: #fff;
    color: #10243d;
    font: inherit;
    font-weight: 600;
}
.ask__row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.ask__no, .ask__yes {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}
.ask__no { border: 1px solid #e3eaf2; background: #fff; color: #10243d; }
.ask__yes { border: 0; background: #10243d; color: #fff; }
.ask__yes--ok { background: #15803d; }
.ask__yes--no { background: #b91c1c; }
.ask__yes--next { background: #1479d1; }
.cf-view {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #e3eaf2;
    border-radius: 10px;
    background: #fff;
    color: #10243d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.cf-more { position: relative; }
.cf-more summary {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #e3eaf2;
    border-radius: 10px;
    background: #fff;
    list-style: none;
    cursor: pointer;
}
.cf-more summary::-webkit-details-marker { display: none; }
.cf-more summary i { display: block; width: 3px; height: 3px; margin: 1px 0; border-radius: 50%; background: #10243d; }
.cf-menu {
    position: absolute;
    right: 0;
    z-index: 5;
    display: grid;
    min-width: 160px;
    margin-top: 6px;
    padding: 6px;
    border: 1px solid #e3eaf2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(16, 36, 61, 0.12);
}
.cf-menu a, .cf-menu button {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #10243d;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.cf-menu a:hover, .cf-menu button:hover { background: #f4f8fc; }
.cf-cards { display: none; gap: 12px; padding: 0 18px 18px; }
.cf--grid .cf-table-wrap { display: none; }
.cf--grid .cf-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cf-card { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 12px; border: 1px solid #e3eaf2; border-radius: 16px; background: #fff; }
.cf-card__title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.cf-card__body p { margin: 2px 0; color: #64748b; font-size: 12px; font-weight: 700; }
.cf-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cf-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.cf-card__foot b { color: #10243d; }
.cf-empty { display: grid; justify-items: center; gap: 6px; padding: 48px 16px; text-align: center; }
.cf-empty span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #e7f3fc; color: #1479d1; }
.cf-empty h3 { margin: 6px 0 0; color: #10243d; }
.cf-empty p { margin: 0 0 8px; color: #64748b; }
.cf-alert { padding: 22px; border: 1px solid #fecaca; border-radius: 18px; background: #fff; }
.cf-alert h2 { margin: 0 0 6px; color: #10243d; font-size: 18px; }
.cf-alert p { margin: 0 0 12px; color: #64748b; }
.cf-pager { padding: 12px 18px 16px; color: #64748b; font-size: 13px; font-weight: 700; }
.cf-pager p { margin: 0; }
.cf-pager div { display: flex; align-items: center; gap: 6px; }
.cf-pager a, .cf-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid #e3eaf2;
    border-radius: 10px;
    background: #fff;
    color: #10243d;
    text-decoration: none;
}
.cf-pager span.is-on { background: #f36a16; border-color: #f36a16; color: #fff; }
.cf-pager span.is-off { color: #94a3b8; }
.cf-pager form { margin: 0; }
@media (max-width: 1200px) {
    .cf-kpis, .cf-kpis--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cf--grid .cf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .cf-hero { align-items: flex-start; flex-direction: column; min-height: 0; padding-bottom: 18px; }
    .cf-hero__copy { order: 1; }
    .cf-add, .cf-hero form { order: 2; margin-left: 0; }
    .cf-hero__photo { order: 3; position: relative; flex: none; max-width: none; margin-left: 0; width: 100%; height: 88px; border-radius: 12px; -webkit-mask-image: none; mask-image: none; }
    .cf-kpis, .cf-kpis--3, .cf-kpis--4, .cf--grid .cf-cards { grid-template-columns: 1fr 1fr; }
    .cf-table-wrap { display: none; }
    .cf-cards { display: grid; grid-template-columns: 1fr; }
    .cf-panel__head, .cf-pager { align-items: flex-start; flex-direction: column; }
    .cf-filters { justify-content: stretch; }
    .cf-filters select, .cf-filter, .cf-reset, .cf-search { width: 100%; }
}
@media (max-width: 520px) {
    .cf-hero h1 { font-size: 28px; }
}

.cv { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; }
.cv__shade { position: absolute; inset: 0; border: 0; background: rgba(8, 20, 38, 0.48); backdrop-filter: blur(3px); cursor: pointer; }
.cv__x {
    display: grid;
    place-items: center;
    margin-left: auto;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #f4f8fc;
    color: #10243d;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    flex: none;
    transition: background .16s ease, color .16s ease;
}
.cv__x:hover { background: #e7eef6; color: #0b2038; }
.cv__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(920px, 100%);
    max-height: min(760px, calc(100vh - 48px));
    overflow: hidden;
    border: 1px solid #e7eef5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(7, 26, 45, 0.28);
    z-index: 1;
    animation: cvIn .18s ease;
}
.cv--notice .cv__panel { width: min(440px, 100%); }
.cv-note__ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex: none;
    background: #fff1e8;
    color: #ea580c;
}
.cv-note__ico .adm-ico { width: 20px; height: 20px; }
.cv__panel > h2 { margin: 0; padding: 18px 18px 0; color: #10243d; font-size: 18px; }
.cv__panel > p { margin: 6px 18px 0; color: #64748b; font-size: 13px; }
.cv__panel > .cf-add { align-self: flex-end; margin: 16px 18px; }
.cv--notice .cv__foot { justify-content: flex-end; }
@keyframes cvIn {
    from { opacity: 0; transform: translateY(8px) scale(.985); }
    to { opacity: 1; transform: none; }
}
body.has-popup { overflow: hidden; }
.cv__head, .cv__foot { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.cv__head { border-bottom: 1px solid #e3eaf2; }
.cv__foot { border-top: 1px solid #e3eaf2; background: #f8fbfe; }
.cv__foot .cf-add, .cv__add .cf-add { margin-left: 0; }
.cv__lead { width: 72px; height: 48px; border-radius: 10px; object-fit: cover; background: #f4f8fc; }
.cv__lead--empty { display: grid; place-items: center; color: #94a3b8; }
.cv__code { margin: 0; color: #64748b; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; }
.cv__head h2 { margin: 0; color: #10243d; font-size: 22px; letter-spacing: -0.03em; }
.cv__reg { margin: 2px 0 0; color: #64748b; font-size: 13px; }
.cv-flag { padding: 4px 8px; border-radius: 999px; background: #fff1e8; color: #c2410c; font-size: 12px; font-weight: 800; }
.cv .adm-flash { margin: 12px 18px 0; }
.cv__tabs { display: flex; gap: 6px; padding: 12px 18px 0; }
.cv__tabs button {
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.cv__tabs button.is-on { background: #10243d; color: #fff; }
.cv__body { overflow: auto; padding: 16px 18px 20px; }
.cv__pane { display: none; }
.cv__pane.is-on { display: block; }
.cv__hero { width: 100%; height: 240px; object-fit: cover; border-radius: 16px; background: #f4f8fc; }
.cv__shots { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.cv__shots button { flex: none; padding: 0; border: 2px solid transparent; border-radius: 10px; background: none; cursor: pointer; }
.cv__shots button.is-on { border-color: #f36a16; }
.cv__shots img { display: block; width: 84px; height: 52px; object-fit: cover; border-radius: 8px; }
.cv__specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; }
.cv__specs div { padding: 10px 12px; border: 1px solid #e3eaf2; border-radius: 12px; background: #f8fbfe; }
.cv__specs dt { color: #64748b; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.cv__specs dd { margin: 3px 0 0; color: #10243d; font-size: 14px; font-weight: 700; }
.cv__body h3 { margin: 16px 0 6px; color: #10243d; font-size: 15px; }
.cv__copy, .cv__note, .cv-miss { color: #64748b; }
.cv__prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cv__prices article { padding: 14px; border: 1px solid #e3eaf2; border-radius: 14px; }
.cv__prices p { margin: 0; color: #64748b; font-size: 12px; font-weight: 700; }
.cv__prices strong { display: block; margin-top: 4px; color: #10243d; font-size: 20px; }
.cv__features { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.cv__features li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #e3eaf2; border-radius: 12px; }
.cv__features strong, .cv__features small { display: block; }
.cv__features small { color: #64748b; }
.cv__features button, .cv__add input {
    min-height: 36px;
    border: 1px solid #e3eaf2;
    border-radius: 10px;
    background: #fff;
    font: inherit;
}
.cv__features button { padding: 0 10px; color: #b42318; font-weight: 700; cursor: pointer; }
.cv__features a { color: #1479d1; font-weight: 800; text-decoration: none; }
.cv__add { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; }
.cv__add label { display: grid; gap: 4px; color: #10243d; font-size: 12px; font-weight: 800; }
.cv__add input { padding: 0 10px; color: #10243d; }
.cv .cf-table-wrap { display: block; }
.cv-back { margin: 0; }
.cv-back a { color: #1479d1; font-weight: 700; }
.cv .adm-form { max-width: none; }
.cv .adm-form .adm-btn { justify-self: start; }
@media (max-width: 800px) {
    .cv { padding: 0; }
    .cv__panel { width: 100%; max-height: 100%; height: 100%; border-radius: 0; }
    .cv--notice { padding: 16px; }
    .cv--notice .cv__panel { width: min(440px, 100%); height: auto; max-height: none; border-radius: 18px; }
    .cv__specs, .cv__prices, .cv__add { grid-template-columns: 1fr 1fr; }
    .cv__head { flex-wrap: wrap; }
    .cv__foot { flex-wrap: wrap; }
}
.cv-upload {
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid #e3eaf2;
    border-radius: 14px;
    background: #f8fbfe;
}
.cv-upload label { display: grid; gap: 4px; color: #10243d; font-size: 12px; font-weight: 800; }
.cv-upload input { min-height: 40px; padding: 8px 10px; border: 1px solid #e3eaf2; border-radius: 10px; background: #fff; font: inherit; }
.cv-upload p { grid-column: 1 / -1; margin: 0; color: #64748b; font-size: 12px; }
.cv-upload .cf-add { margin-left: 0; }
.cv-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
.cv-shot { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px; border: 1px solid #e3eaf2; border-radius: 14px; }
.cv-shot > button { padding: 0; border: 2px solid transparent; border-radius: 12px; background: none; cursor: pointer; }
.cv-shot > button.is-on { border-color: #f36a16; }
.cv-shot img { display: block; width: 100%; height: 78px; object-fit: cover; border-radius: 10px; }
.cv-shot__empty { display: block; height: 78px; border-radius: 10px; background: #eef4fa; }
.cv-shot strong, .cv-shot small { display: block; }
.cv-shot strong { color: #10243d; font-size: 14px; }
.cv-shot small { color: #64748b; font-size: 12px; }
.cv-shot__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cv-shot__actions button {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #e3eaf2;
    border-radius: 10px;
    background: #fff;
    color: #10243d;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
.cv-shot__actions form:last-child button { color: #b42318; }
@media (max-width: 700px) {
    .cv-upload { grid-template-columns: 1fr; }
}

/* Inspection Subsystem Modal Styles */
.insp-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0 16px;
    padding: 10px 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    font-size: 13px;
    color: #166534;
}
.insp-quick span { display: inline-flex; align-items: center; gap: 6px; }
.insp-quick .adm-ico { width: 16px; height: 16px; color: #16a34a; }

.insp-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}
.insp-banner strong { display: block; font-size: 16px; color: #0f172a; }
.insp-banner small { color: #64748b; font-size: 11px; text-transform: uppercase; font-weight: 700; }

.insp-card {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 16px;
}
.insp-card--pickup { border-left: 4px solid #16a34a; }
.insp-card--return { border-left: 4px solid #f97316; }
.insp-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}
.insp-card__head strong { font-size: 15px; color: #0f172a; }
.insp-card__head span { font-size: 12px; color: #64748b; }

.insp-checks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    margin: 10px 0;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
}
.insp-check-item { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.insp-check-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: #15803d; }

.insp-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
    margin-top: 10px;
}
.insp-photo-item {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}
.insp-photo-item img { width: 100%; height: 70px; object-fit: cover; display: block; }
.insp-photo-item span {
    display: block;
    padding: 3px 4px;
    font-size: 10px;
    font-weight: 700;
    color: #475569;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.insp-overage-box {
    margin: 16px 0;
    padding: 14px;
    background: #fff7ed;
    border: 1.5px solid #ffedd5;
    border-radius: 12px;
}
.insp-overage-box h4 { margin: 0 0 8px; color: #9a3412; font-size: 14px; font-weight: 800; }
.insp-overage-box p { margin: 0 0 6px; font-size: 13px; color: #7c2d12; }

/* Agreement & Digital Signature Pad */
.agr-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}
.agr-card--signed { border-left: 4px solid #1e3a8a; }
.agr-sigpad-wrap {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    position: relative;
    margin: 10px 0;
    touch-action: none;
}
.agr-sigpad-canvas {
    display: block;
    width: 100%;
    height: 180px;
    cursor: crosshair;
}
.agr-sigpad-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: #f1f5f9;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.agr-sigpad-clear {
    background: #e2e8f0;
    border: 0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    color: #475569;
}
.agr-sigpad-clear:hover { background: #cbd5e1; color: #0f172a; }

.wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #25d366;
    color: #fff !important;
    font-weight: 700;
    font-size: 13px;
    border-radius: 8px;
    text-decoration: none;
}
.wa-btn:hover { background: #1eb954; color: #fff !important; }

.doc-acts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
}

/* FASTag Tolls & Challan Deduction Engine */
.toll-banner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
@media (min-width: 680px) {
    .toll-banner { grid-template-columns: repeat(4, 1fr); }
}
.toll-banner-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.toll-banner-item small {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.toll-banner-item strong {
    color: #0f172a;
    font-size: 17px;
    font-weight: 800;
}
.toll-banner-item--highlight {
    background: #fff7ed;
    border-color: #fed7aa;
}
.toll-banner-item--highlight strong { color: #c2410c; }
.toll-banner-item--blue {
    background: #f0f9ff;
    border-color: #bae6fd;
}
.toll-banner-item--blue strong { color: #0369a1; }

.toll-calc-box {
    margin: 14px 0 18px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.toll-calc-math {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
}
.toll-calc-math span { font-weight: 700; color: #0f172a; }
.toll-calc-math em { font-style: normal; color: #94a3b8; font-weight: 800; font-size: 14px; }
.toll-calc-res {
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    color: #15803d;
    font-weight: 800;
}

.toll-badge-type {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.toll-badge-type--toll { background: #f0f9ff; color: #0284c7; border: 1px solid #bae6fd; }
.toll-badge-type--challan { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.toll-badge-type--parking { background: #faf5ff; color: #7c3aed; border: 1px solid #e9d5ff; }
.toll-badge-type--other { background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; }

.toll-settle-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 700;
}
.toll-settle-badge--deposit { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.toll-settle-badge--bill { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.toll-settle-badge--direct { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.toll-settle-badge--waived { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }

.toll-proof-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0369a1;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}
.toll-proof-link:hover { background: #f0f9ff; border-color: #bae6fd; }

/* ==========================================================================
   Compact All Bookings Table & Layout (Single-Line Layout)
   ========================================================================== */

/* Reduce page padding for bookings page */
.adm--bookings-compact .adm-content {
    padding: 16px 20px;
}

/* Page Header */
.bk-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.bk-header__main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bk-header__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #0284c7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.22);
}

.bk-header__icon .adm-ico {
    width: 20px;
    height: 20px;
}

.bk-header__title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0;
}

.bk-header__sub {
    font-size: 12.5px;
    color: #64748b;
    margin: 2px 0 0;
    line-height: 1.3;
}

/* Status Filter Tabs / Pills */
.bk-status-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    margin-bottom: 10px;
    scrollbar-width: thin;
}

.bk-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    background: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
}

.bk-tab:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.bk-tab.is-active {
    background: #0a2540;
    color: #ffffff;
    border-color: #0a2540;
    box-shadow: 0 2px 6px rgba(10, 37, 64, 0.25);
}

.bk-tab__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
}

.bk-tab__ico .adm-ico {
    width: 14px;
    height: 14px;
}

.bk-tab--navy .bk-tab__ico { color: #38bdf8; }
.bk-tab--orange .bk-tab__ico { color: #ea580c; }
.bk-tab--green .bk-tab__ico { color: #16a34a; }
.bk-tab--blue .bk-tab__ico { color: #0284c7; }
.bk-tab--purple .bk-tab__ico { color: #9333ea; }
.bk-tab--red .bk-tab__ico { color: #dc2626; }

.bk-tab.is-active .bk-tab__ico {
    color: #38bdf8;
}

/* Search & Filter Toolbar */
.bk-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    background: #ffffff;
    padding: 6px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.bk-search-box {
    position: relative;
    flex: 1 1 300px;
    min-width: 200px;
}

.bk-search-box .adm-ico {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #94a3b8;
    pointer-events: none;
}

.bk-search-box input {
    width: 100%;
    height: 40px;
    padding: 0 12px 0 36px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 13px;
    font-weight: 500;
    outline: none;
    transition: all 0.15s ease;
}

.bk-search-box input:focus {
    background: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.bk-select-box {
    position: relative;
    width: 180px;
    flex-shrink: 0;
}

.bk-select-box select {
    width: 100%;
    height: 40px;
    padding: 0 32px 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.bk-select-box select:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.bk-select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #64748b;
    font-size: 11px;
}

.bk-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 18px;
    border-radius: 8px;
    background: #0a2540;
    color: #ffffff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.bk-filter-btn:hover {
    background: #0f172a;
}

.bk-filter-btn .adm-ico {
    width: 14px;
    height: 14px;
}

.bk-reset-btn {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 12px;
    color: #ef4444;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
}

.bk-reset-btn:hover {
    background: #fef2f2;
}

/* Compact Single-Line Booking Table Card */
.bk-table-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 18px;
}

.bk-table-wrap {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.bk-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    text-align: left;
}

.bk-table th {
    padding: 10px 10px;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
    user-select: none;
}

.bk-table th .bk-sort {
    font-size: 11px;
    color: #94a3b8;
    margin-left: 2px;
}

.bk-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    vertical-align: middle;
    white-space: nowrap;
    height: 62px;
}

.bk-table tr:hover td {
    background: #f8fbfe;
}

.bk-table tr:last-child td {
    border-bottom: none;
}

/* Checkbox Column */
.bk-th-check, .bk-td-check {
    width: 36px;
    min-width: 36px;
    text-align: center;
    padding-left: 12px !important;
    padding-right: 6px !important;
}

.bk-table input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #0284c7;
    cursor: pointer;
    border-radius: 3px;
}

/* Column Width Proportions */
.bk-th-booking, .bk-td-booking { width: 14%; min-width: 145px; }
.bk-th-cust, .bk-td-cust { width: 14%; min-width: 155px; }
.bk-th-car, .bk-td-car { width: 15%; min-width: 160px; }
.bk-th-sch, .bk-td-sch { width: 22%; min-width: 235px; }
.bk-th-amt, .bk-td-amt { width: 11%; min-width: 115px; }
.bk-th-status, .bk-td-status { width: 10%; min-width: 125px; }
.bk-th-actions, .bk-td-actions { width: 14%; min-width: 160px; }

/* Booking Cell */
.bk-cell-booking {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bk-booking-link {
    font-family: inherit;
    font-weight: 700;
    font-size: 12.5px;
    color: #2563eb;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.bk-booking-link:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

.bk-cell-date {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

/* Customer Cell */
.bk-cell-cust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bk-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bk-cust-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.bk-cust-name {
    font-weight: 700;
    font-size: 12px;
    color: #0f172a;
    text-transform: uppercase;
}

.bk-cust-phone {
    font-size: 11px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bk-cust-phone a {
    color: inherit;
    text-decoration: none;
}

.bk-cust-phone a:hover {
    color: #0284c7;
}

/* Car & Plate Cell */
.bk-cell-car {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bk-car-img {
    width: 44px;
    height: 30px;
    border-radius: 6px;
    object-fit: contain;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.bk-car-img--ph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    background: #f1f5f9;
}

.bk-car-img--ph .adm-ico {
    width: 18px;
    height: 18px;
}

.bk-car-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bk-car-name {
    font-weight: 700;
    font-size: 12.5px;
    color: #0f172a;
}

.bk-plate-badge {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    padding: 0 4px;
    line-height: 14px;
    letter-spacing: 0.02em;
    width: fit-content;
}

/* Schedule Cell */
.bk-cell-sch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.bk-sch-ico {
    font-size: 14px;
    color: #0284c7;
    flex-shrink: 0;
    line-height: 1;
}

.bk-sch-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.bk-sch-dates {
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bk-sch-arrow {
    color: #64748b;
    font-weight: 700;
    margin: 0 2px;
}

.bk-sch-days {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

/* Amount & Paid Cell */
.bk-cell-amt {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bk-amt-val {
    font-size: 12.5px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.bk-pay-pill {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    line-height: 1.2;
    width: fit-content;
}

.bk-pay-pill--paid {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.bk-pay-pill--partial {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.bk-pay-pill--unpaid {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Status Pill Cell */
.bk-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid transparent;
}

.bk-status-pill--payment_pending, .bk-status-pill--pending {
    background: #fff7ed;
    color: #c2410c;
    border-color: #ffedd5;
}

.bk-status-pill--confirmed {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #dbeafe;
}

.bk-status-pill--ready_for_pickup {
    background: #f0f9ff;
    color: #0284c7;
    border-color: #e0f2fe;
}

.bk-status-pill--active {
    background: #faf5ff;
    color: #7e22ce;
    border-color: #f3e8ff;
}

.bk-status-pill--completed {
    background: #f0fdf4;
    color: #15803d;
    border-color: #dcfce7;
}

.bk-status-pill--cancelled, .bk-status-pill--rejected {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fee2e2;
}

/* Action Buttons */
.bk-actions {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.bk-btn-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 10px;
    border-radius: 6px;
    background: #ffffff;
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    transition: all 0.15s ease;
}

.bk-btn-open:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.bk-btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 30px;
    padding: 0 10px;
    border-radius: 6px;
    background: #22c55e;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #16a34a;
    transition: all 0.15s ease;
}

.bk-btn-wa:hover {
    background: #16a34a;
}

.bk-btn-wa .adm-ico {
    width: 13px;
    height: 13px;
}

.bk-status-form {
    margin: 0;
    display: inline-block;
}

.bk-act--compact {
    height: 30px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
}

.bk-act--compact:hover {
    background: #f1f5f9;
}

.bk-more summary {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    transition: all 0.15s ease;
}

.bk-more summary:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

/* Pagination Bar */
.bk-pager-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    font-size: 12px;
    color: #64748b;
    flex-wrap: wrap;
    gap: 10px;
}

.bk-pager-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bk-per-page-select {
    height: 28px;
    padding: 0 6px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 12px;
    color: #334155;
    background: #ffffff;
    cursor: pointer;
}

.bk-pager-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bk-pager-nav a, .bk-pager-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.bk-pager-nav a:hover {
    background: #f1f5f9;
}

.bk-pager-nav .is-active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.bk-pager-nav .is-disabled {
    color: #cbd5e1;
    background: #f8fafc;
    border-color: #f1f5f9;
    cursor: not-allowed;
}

/* Responsive adjustment */
@media (max-width: 900px) {
    .bk-toolbar {
        flex-wrap: wrap;
    }
    .bk-select-box {
        flex: 1 1 140px;
    }
}

/* ==========================================================================
   PR Solutions Standardized Admin Modal System (AdminModal) - v68
   ========================================================================== */

.has-popup, .has-modal {
    overflow: hidden !important;
}

.adm-modal-shade, .ask__shade {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    z-index: 99998 !important;
    border: none !important;
    cursor: pointer !important;
    animation: admFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.adm-modal-wrap, .ask {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    pointer-events: auto !important;
}

.adm-modal-card, .ask__panel {
    position: relative !important;
    z-index: 100000 !important;
    width: 100% !important;
    max-width: 520px !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    padding: 28px !important;
    animation: admPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

@keyframes admFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes admPopIn {
    from {
        opacity: 0;
        transform: scale(0.93) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes admAuraPulse {
    0% { transform: rotate(0deg) scale(0.98); opacity: 0.5; }
    100% { transform: rotate(18deg) scale(1.05); opacity: 0.85; }
}

/* Modal Hero Header with Radiant Aura */
.adm-modal-hero, .adm-modal-head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 2px !important;
}

.adm-modal-aura-wrap {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

.adm-modal-aura-ring {
    position: absolute !important;
    inset: -6px !important;
    width: 68px !important;
    height: 68px !important;
    pointer-events: none !important;
    animation: admAuraPulse 4s ease-in-out infinite alternate !important;
}

.adm-modal-shield, .adm-modal-badge {
    width: 38px !important;
    height: 38px !important;
    border-radius: 11px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 2 !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease !important;
}

.adm-modal-shield svg, .adm-modal-badge svg {
    width: 22px !important;
    height: 22px !important;
}

/* Success Aura & Shield */
.adm-modal-hero--success .adm-modal-aura-wrap, .adm-modal-badge--success {
    background: #ecfdf5 !important;
    color: #10b981 !important;
}
.adm-modal-shield--success {
    background: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
}

/* Danger Aura & Shield */
.adm-modal-hero--danger .adm-modal-aura-wrap, .adm-modal-badge--danger {
    background: #fef2f2 !important;
    color: #ef4444 !important;
}
.adm-modal-shield--danger {
    background: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4) !important;
}

/* Warning Aura & Shield */
.adm-modal-hero--warning .adm-modal-aura-wrap, .adm-modal-badge--warning {
    background: #fffbeb !important;
    color: #f59e0b !important;
}
.adm-modal-shield--warning {
    background: #f59e0b !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4) !important;
}

/* Primary Aura & Shield */
.adm-modal-hero--primary .adm-modal-aura-wrap, .adm-modal-badge--primary {
    background: #f0f9ff !important;
    color: #0284c7 !important;
}
.adm-modal-shield--primary {
    background: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4) !important;
}

/* Circular Close Button */
.adm-modal-close {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #64748b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    margin-left: auto !important;
    padding: 0 !important;
}

.adm-modal-close:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
    transform: rotate(90deg) !important;
}

/* Modal Typography */
.adm-modal-title, .ask__panel h2 {
    font-size: 21px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    margin: 14px 0 6px 0 !important;
    letter-spacing: -0.02em !important;
    text-align: left !important;
}

.adm-modal-subtitle {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    line-height: 1.4 !important;
    margin: 0 0 6px 0 !important;
    text-align: left !important;
}

.adm-modal-desc, .adm-modal-body, .ask__note {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 0 0 18px 0 !important;
    text-align: left !important;
    font-weight: 450 !important;
}

/* Details Summary Box */
.adm-modal-details {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 14px 16px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

.adm-modal-detail-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.adm-modal-detail-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.adm-modal-detail-icon svg {
    width: 16px !important;
    height: 16px !important;
}

.adm-modal-detail-icon--blue { background: #eff6ff !important; color: #2563eb !important; }
.adm-modal-detail-icon--orange { background: #fff7ed !important; color: #ea580c !important; }
.adm-modal-detail-icon--purple { background: #faf5ff !important; color: #9333ea !important; }
.adm-modal-detail-icon--green { background: #f0fdf4 !important; color: #16a34a !important; }
.adm-modal-detail-icon--gray { background: #f1f5f9 !important; color: #475569 !important; }

.adm-modal-detail-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
    min-width: 0 !important;
}

.adm-modal-detail-label {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-transform: capitalize !important;
    line-height: 1.2 !important;
}

.adm-modal-detail-val {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.adm-modal-detail-sub {
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.2 !important;
}

.adm-modal-note {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 3px solid #0284c7 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    font-size: 12px !important;
    color: #334155 !important;
    margin-bottom: 16px !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

.adm-modal-reason, .ask__reason {
    display: block !important;
    margin-bottom: 18px !important;
    text-align: left !important;
}

.adm-modal-reason span, .ask__reason span {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-bottom: 6px !important;
}

.adm-modal-reason input, .ask__reason input {
    width: 100% !important;
    height: 40px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 13px !important;
    outline: none !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}

.adm-modal-reason input:focus, .ask__reason input:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12) !important;
}

/* Modal Foot and Action Buttons */
.adm-modal-foot, .ask__row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    margin-top: 20px !important;
}

.adm-modal-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    height: 42px !important;
    padding: 0 22px !important;
    border-radius: 12px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    line-height: 1 !important;
    border: none !important;
    white-space: nowrap !important;
}

.adm-modal-btn svg {
    flex-shrink: 0 !important;
}

.adm-modal-btn--cancel, .ask__no {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #334155 !important;
}

.adm-modal-btn--cancel:hover, .ask__no:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

.adm-modal-btn--primary {
    background: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3) !important;
}

.adm-modal-btn--primary:hover {
    background: #0369a1 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4) !important;
}

.adm-modal-btn--success, .ask__yes--ok {
    background: #16a34a !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3) !important;
}

.adm-modal-btn--success:hover, .ask__yes--ok:hover {
    background: #15803d !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.4) !important;
}

.adm-modal-btn--warning {
    background: #ea580c !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3) !important;
}

.adm-modal-btn--warning:hover {
    background: #c2410c !important;
    transform: translateY(-1px) !important;
}

.adm-modal-btn--danger, .ask__yes--no {
    background: #dc2626 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3) !important;
}

.adm-modal-btn--danger:hover, .ask__yes--no:hover {
    background: #b91c1c !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4) !important;
}

/* ==========================================================================
   VEHICLE ATTACHMENTS PIPELINE STEPPER & VIEW STYLES
   ========================================================================== */

.att-stepper-track {
    width: 100%;
    overflow-x: auto;
    padding: 10px 4px 6px;
    -webkit-overflow-scrolling: touch;
}

.att-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 740px;
    position: relative;
}

.att-step {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    text-decoration: none;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    min-width: 60px;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.att-step:hover {
    transform: translateY(-2px);
}

.att-step__dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #cbd5e1;
    background: #ffffff;
    color: #94a3b8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.att-step__dot svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 3;
}

.att-step.is-complete .att-step__dot {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.35);
}

.att-step.is-current .att-step__dot {
    background: #0f172a;
    border-color: #f97316;
    color: #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2), 0 4px 10px rgba(15, 23, 42, 0.25);
    transform: scale(1.12);
}

.att-step.is-upcoming .att-step__dot {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.att-step__label {
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
    letter-spacing: -0.2px;
    transition: color 0.15s ease;
}

.att-step.is-complete .att-step__label {
    color: #166534;
    font-weight: 800;
}

.att-step.is-current .att-step__label {
    color: #0f172a;
    font-weight: 900;
}

.att-step__line {
    flex: 1;
    height: 3px;
    background: #e2e8f0;
    margin: 0 6px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    border-radius: 3px;
    min-width: 16px;
    transition: background 0.25s ease;
}

.att-step__line.is-complete {
    background: #16a34a;
    box-shadow: 0 1px 3px rgba(22, 163, 74, 0.25);
}

/* Modern Tab Bar */
.att-tab-bar {
    display: flex;
    gap: 6px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 0;
    -webkit-overflow-scrolling: touch;
}

.att-tab-item {
    padding: 10px 16px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px 8px 0 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #64748b;
    background: transparent;
    border-bottom: 3px solid transparent;
    transition: all 0.15s ease;
    margin-bottom: -2px;
}

.att-tab-item .adm-ico {
    width: 15px;
    height: 15px;
    opacity: 0.8;
}

.att-tab-item:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.att-tab-item.is-active {
    background: #0f172a;
    color: #ffffff;
    border-bottom: 3px solid #f97316;
}

.att-tab-item.is-active .adm-ico {
    opacity: 1;
    color: #f97316;
}

/* ==========================================================================
   PR Solutions Standardized Admin Modal System (Image 2 Design Standard)
   ========================================================================== */
.adm-modal-wrap,
.adm-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: admFadeIn .18s ease-out;
}

.adm-modal-shade {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
    z-index: 0;
}

.adm-modal-backdrop {
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.adm-modal-card {
    position: relative;
    z-index: 1;
    width: min(500px, 100%);
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.05);
    padding: 28px 26px 24px;
    box-sizing: border-box;
    text-align: left;
    animation: admPopIn .22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes admFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes admPopIn {
    from { opacity: 0; transform: scale(0.95) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Hero Badge with Radiant Aura */
.adm-modal-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.adm-modal-aura-wrap {
    position: relative;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adm-modal-aura-ring {
    position: absolute;
    width: 68px;
    height: 68px;
    pointer-events: none;
    animation: admAuraPulse 3s ease-in-out infinite;
}

@keyframes admAuraPulse {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.55;
    }
    50% {
        transform: rotate(180deg) scale(1.08);
        opacity: 0.9;
    }
}

.adm-modal-shield {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.adm-modal-shield svg {
    width: 22px;
    height: 22px;
}

/* Tone variants */
.adm-modal-hero--success .adm-modal-aura-ring,
.adm-modal-aura-wrap.tone-success .adm-modal-aura-ring { color: #10b981; }
.adm-modal-shield--success,
.adm-modal-aura-wrap.tone-success .adm-modal-shield { background: #10b981; color: #ffffff; box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35); }

.adm-modal-hero--danger .adm-modal-aura-ring,
.adm-modal-aura-wrap.tone-danger .adm-modal-aura-ring { color: #ef4444; }
.adm-modal-shield--danger,
.adm-modal-aura-wrap.tone-danger .adm-modal-shield { background: #ef4444; color: #ffffff; box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35); }

.adm-modal-hero--warning .adm-modal-aura-ring,
.adm-modal-aura-wrap.tone-warning .adm-modal-aura-ring { color: #f59e0b; }
.adm-modal-shield--warning,
.adm-modal-aura-wrap.tone-warning .adm-modal-shield { background: #f59e0b; color: #ffffff; box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35); }

.adm-modal-hero--primary .adm-modal-aura-ring,
.adm-modal-aura-wrap.tone-primary .adm-modal-aura-ring { color: #3b82f6; }
.adm-modal-shield--primary,
.adm-modal-aura-wrap.tone-primary .adm-modal-shield { background: #3b82f6; color: #ffffff; box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35); }

/* Circular Close Button */
.adm-modal-close {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s ease;
    padding: 0;
    z-index: 2;
}

.adm-modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
    transform: rotate(90deg);
}

/* Typography */
.adm-modal-title {
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.adm-modal-subtitle {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px;
    line-height: 1.4;
}

.adm-modal-desc {
    font-size: 13.5px;
    font-weight: 450;
    color: #64748b;
    margin: 0 0 16px;
    line-height: 1.5;
}

/* Contextual Details Box (Image 2) */
.adm-modal-details {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 6px 14px;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
}

.adm-modal-detail-item,
.adm-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
}

.adm-modal-detail-item:last-child,
.adm-detail-row:last-child {
    border-bottom: none;
}

.adm-modal-detail-icon,
.adm-detail-ico {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.adm-modal-detail-icon svg,
.adm-detail-ico svg {
    width: 17px;
    height: 17px;
}

.adm-modal-detail-icon--blue {
    background: #eff6ff;
    color: #2563eb;
}

.adm-modal-detail-icon--orange {
    background: #fff7ed;
    color: #ea580c;
}

.adm-modal-detail-icon--purple {
    background: #faf5ff;
    color: #7c3aed;
}

.adm-modal-detail-icon--green {
    background: #ecfdf5;
    color: #059669;
}

.adm-modal-detail-text,
.adm-detail-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.adm-modal-detail-label,
.adm-detail-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: capitalize;
    letter-spacing: 0.02em;
    margin-bottom: 2px;
}

.adm-modal-detail-val,
.adm-detail-val {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    word-break: break-word;
}

.adm-modal-detail-sub {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    margin-top: 1px;
}

/* Optional Note & Reason Input */
.adm-modal-note {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12.5px;
    color: #92400e;
    margin-bottom: 14px;
}

.adm-modal-reason {
    display: block;
    margin-bottom: 16px;
}

.adm-modal-reason span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
}

.adm-modal-reason input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 13px;
    color: #0f172a;
    outline: none;
    transition: border-color .15s;
}

.adm-modal-reason input:focus {
    border-color: #0284c7;
}

/* Footer Action Buttons */
.adm-modal-foot,
.adm-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.adm-modal-btn {
    min-height: 42px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all 0.18s ease;
    border: none;
    font-family: inherit;
    text-decoration: none;
}

.adm-modal-btn--cancel {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #334155;
}

.adm-modal-btn--cancel:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.adm-modal-btn--success {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.32);
}

.adm-modal-btn--success:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.4);
}

.adm-modal-btn--danger {
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.32);
}

.adm-modal-btn--danger:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4);
}

.adm-modal-btn--warning {
    background: #ea580c;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.32);
}

.adm-modal-btn--warning:hover {
    background: #c2410c;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4);
}

.adm-modal-btn--primary {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32);
}

.adm-modal-btn--primary:hover {
    background: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}

body.has-modal {
    overflow: hidden;
}

/* ==========================================================================
   Role Permissions Control Center & Feature Matrix
   ========================================================================== */

.adm-role-tabs-wrap {
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.adm-role-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: max-content;
}

.adm-role-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.adm-role-tab:hover {
    color: #0f172a;
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-1px);
}

.adm-role-tab.is-active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.adm-role-tab__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.adm-role-tab.is-active .adm-role-tab__icon {
    color: #38bdf8;
}

.adm-role-tab--super-locked {
    background: #f5f3ff;
    border-color: #ddd6fe;
    color: #6b21a8;
    cursor: default;
    opacity: 0.9;
}

.adm-role-tab--super-locked:hover {
    transform: none;
    border-color: #ddd6fe;
    background: #f5f3ff;
}

.adm-role-tab__lock {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 6px;
    background: #ede9fe;
    color: #7c3aed;
    font-weight: 800;
    text-transform: uppercase;
}

/* Active Role Header Card */
.adm-role-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
}

.adm-role-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #64748b;
}

.adm-role-card--purple::before { background: linear-gradient(180deg, #8b5cf6, #6d28d9); }
.adm-role-card--blue::before { background: linear-gradient(180deg, #0284c7, #0369a1); }
.adm-role-card--green::before { background: linear-gradient(180deg, #10b981, #047857); }
.adm-role-card--orange::before { background: linear-gradient(180deg, #f59e0b, #d97706); }
.adm-role-card--gray::before { background: linear-gradient(180deg, #94a3b8, #64748b); }

.adm-role-card__main {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    flex: 1;
    min-width: 280px;
}

.adm-role-card__icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 24px;
    flex-shrink: 0;
}

.adm-role-card--purple .adm-role-card__icon-wrap { background: #ede9fe; color: #7c3aed; }
.adm-role-card--blue .adm-role-card__icon-wrap { background: #e0f2fe; color: #0284c7; }
.adm-role-card--green .adm-role-card__icon-wrap { background: #dcfce7; color: #16a34a; }
.adm-role-card--orange .adm-role-card__icon-wrap { background: #fef3c7; color: #d97706; }

.adm-role-card__content {
    flex: 1;
}

.adm-role-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.adm-role-card__head h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.adm-role-card__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.adm-role-badge {
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
}

.adm-role-badge--purple { background: #ede9fe; color: #6d28d9; }
.adm-role-badge--blue { background: #e0f2fe; color: #0369a1; }
.adm-role-badge--green { background: #dcfce7; color: #15803d; }
.adm-role-badge--orange { background: #fef3c7; color: #92400e; }
.adm-role-badge--gray { background: #f1f5f9; color: #475569; }

.adm-role-badge--count { background: #f8fafc; color: #334155; border: 1px solid #e2e8f0; }
.adm-role-badge--custom { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.adm-role-badge--default { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

.adm-role-card__desc {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
    max-width: 680px;
}

.adm-role-card__kpis {
    display: flex;
    gap: 16px;
    align-items: center;
}

.adm-role-kpi {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 18px;
    text-align: center;
    min-width: 100px;
}

.adm-role-kpi strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.adm-role-kpi small {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 2px;
}

/* Toolbar */
.adm-perm-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.adm-perm-search {
    position: relative;
    flex: 1;
    min-width: 260px;
    max-width: 520px;
}

.adm-perm-search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.adm-perm-search input {
    width: 100%;
    padding: 11px 16px 11px 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13.5px;
    color: #0f172a;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.adm-perm-search input:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.adm-perm-toolbar-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* Modules Grid */
.adm-perm-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
    gap: 24px;
    margin-bottom: 90px;
}

@media (max-width: 640px) {
    .adm-perm-modules-grid {
        grid-template-columns: 1fr;
    }
}

.adm-perm-module {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    transition: box-shadow 0.2s ease;
}

.adm-perm-module:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.adm-perm-module__header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.adm-perm-module__title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.adm-perm-module__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    flex-shrink: 0;
}

.adm-perm-module__title h3 {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.adm-perm-module__title p {
    font-size: 12px;
    color: #64748b;
    margin: 2px 0 0;
}

.adm-perm-module__quick-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
}

.adm-perm-mod-toggle {
    background: none;
    border: none;
    color: #0284c7;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
}

.adm-perm-mod-toggle:hover {
    background: #e0f2fe;
    text-decoration: underline;
}

/* Permission List Item */
.adm-perm-module__items {
    padding: 8px 0;
}

.adm-perm-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.15s ease;
}

.adm-perm-item:last-child {
    border-bottom: none;
}

.adm-perm-item:hover {
    background: #f8fafc;
}

.adm-perm-item.is-enabled {
    background: rgba(240, 253, 244, 0.4);
}

.adm-perm-item.is-enabled:hover {
    background: rgba(240, 253, 244, 0.7);
}

.adm-perm-item__meta {
    flex: 1;
    min-width: 0;
}

.adm-perm-item__label {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    cursor: pointer;
    margin: 0 0 3px;
}

.adm-perm-item__name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.adm-perm-item__code code {
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    color: #64748b;
    background: #f1f5f9;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.adm-perm-item.is-enabled .adm-perm-item__code code {
    color: #166534;
    background: #dcfce7;
}

.adm-perm-item__desc {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

/* iOS-style Smooth Toggle Switch */
.adm-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 25px;
    flex-shrink: 0;
    cursor: pointer;
}

.adm-switch__input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.adm-switch__slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 25px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.adm-switch__slider::before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.adm-switch__input:checked + .adm-switch__slider {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.adm-switch__input:checked + .adm-switch__slider::before {
    transform: translateX(21px);
}

.adm-switch__input:focus + .adm-switch__slider {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

/* Sticky Save Action Bar at bottom */
.adm-perm-save-bar {
    position: fixed;
    bottom: 0;
    left: 64px; /* offset slim dock rail */
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid #e2e8f0;
    padding: 14px 32px;
    z-index: 95;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

@media (max-width: 900px) {
    .adm-perm-save-bar {
        left: 0;
    }
}

.adm-perm-save-bar__inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.adm-perm-save-bar__summary {
    display: flex;
    align-items: center;
    gap: 14px;
}

.adm-perm-save-bar__role {
    font-size: 14px;
    color: #475569;
}

.adm-perm-save-bar__role strong {
    color: #0f172a;
}

.adm-perm-save-bar__count {
    font-size: 12.5px;
    font-weight: 800;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 8px;
    color: #334155;
}

.adm-perm-save-bar__actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.adm-perm-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    padding: 10px 22px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
    transition: all 0.2s ease;
}

.adm-perm-save-btn:hover {
    background: linear-gradient(135deg, #0369a1, #075985);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}

/* ==========================================================================
   PR Solutions Staff SOP & Feature Help Button & Slide Drawer
   ========================================================================== */
.adm-top-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 13px;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1.5px solid #d8b4fe;
    border-radius: 999px;
    color: #6b21a8;
    cursor: pointer;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.12);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    user-select: none;
}

.adm-top-help-btn:hover {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-color: #c084fc;
    color: #581c87;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.24);
}

.adm-top-help-btn:active {
    transform: translateY(0);
}

.adm-top-help-btn__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #7c3aed;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.35);
}

.adm-top-help-btn__text {
    font-weight: 800;
}

/* Drawer Shell */
.adm-help-drawer {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    justify-content: flex-end;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.25s ease, opacity 0.25s ease;
}

.adm-help-drawer.is-open {
    visibility: visible;
    opacity: 1;
}

.adm-help-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}

.adm-help-panel {
    position: relative;
    width: 100%;
    max-width: 540px;
    height: 100%;
    background: #ffffff;
    box-shadow: -10px 0 35px rgba(15, 23, 42, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.adm-help-drawer.is-open .adm-help-panel {
    transform: translateX(0);
}

/* Drawer Header */
.adm-help-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 16px;
}

.adm-help-header__main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.adm-help-aura {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

.adm-help-aura__ring {
    position: absolute;
    inset: -3px;
    border-radius: 17px;
    border: 2px solid rgba(168, 85, 247, 0.6);
    animation: admPulseRing 2.4s infinite ease-out;
}

@keyframes admPulseRing {
    0% { transform: scale(0.96); opacity: 0.9; }
    50% { transform: scale(1.06); opacity: 0.4; }
    100% { transform: scale(0.96); opacity: 0.9; }
}

.adm-help-aura__shield {
    font-size: 20px;
}

.adm-help-title {
    font-size: 16.5px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 2px;
    letter-spacing: -0.01em;
}

.adm-help-subtitle {
    font-size: 12px;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.35;
}

.adm-help-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.adm-help-full-link {
    font-size: 11.5px;
    font-weight: 700;
    color: #e0e7ff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.adm-help-full-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.adm-help-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.adm-help-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

/* Search and Role Filter Bar */
.adm-help-search-wrap {
    padding: 16px 20px 12px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.adm-help-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 8px 14px;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.adm-help-search:focus-within {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.adm-help-search svg {
    color: #94a3b8;
    flex-shrink: 0;
}

.adm-help-search input {
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 13.5px;
    color: #0f172a;
    width: 100%;
}

.adm-help-clear {
    background: none;
    border: none;
    font-size: 18px;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.adm-help-pills {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.adm-help-pills::-webkit-scrollbar {
    display: none;
}

.adm-help-pill {
    white-space: nowrap;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.adm-help-pill:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.adm-help-pill.is-active {
    background: #7c3aed;
    color: #ffffff;
    border-color: #7c3aed;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.25);
}

/* Drawer Body */
.adm-help-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 20px;
    background: #f1f5f9;
}

.adm-help-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.adm-help-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.adm-help-card.is-open {
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.adm-help-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    user-select: none;
    gap: 12px;
    background: #ffffff;
    transition: background 0.15s;
}

.adm-help-card__head:hover {
    background: #f8fafc;
}

.adm-help-card__title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.adm-help-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.adm-help-icon--purple { background: #faf5ff; color: #7c3aed; }
.adm-help-icon--blue { background: #eff6ff; color: #0284c7; }
.adm-help-icon--green { background: #f0fdf4; color: #16a34a; }
.adm-help-icon--orange { background: #fff7ed; color: #ea580c; }

.adm-help-card__badges {
    margin-bottom: 2px;
}

.adm-help-card__title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
}

.adm-help-card__chevron {
    font-size: 14px;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.adm-help-card.is-open .adm-help-card__chevron {
    transform: rotate(180deg);
}

.adm-help-card__content {
    display: none;
    padding: 16px 18px 20px;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
}

.adm-help-card.is-open .adm-help-card__content {
    display: block;
}

.adm-help-card__summary {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 12px;
}

.adm-help-card__when {
    font-size: 12px;
    background: #f8fafc;
    border-left: 3px solid #7c3aed;
    padding: 8px 12px;
    border-radius: 0 8px 8px 0;
    color: #334155;
    margin-bottom: 16px;
}

.adm-help-steps__heading {
    font-size: 12.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.adm-help-steps__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.adm-help-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.adm-help-step__badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #7c3aed;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.adm-help-step__body {
    flex: 1;
}

.adm-help-step__title {
    display: block;
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 3px;
}

.adm-help-step__desc {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 6px;
}

.adm-help-step__tip {
    font-size: 11px;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #92400e;
    padding: 5px 8px;
    border-radius: 6px;
    line-height: 1.4;
}

.adm-help-checklist {
    margin-top: 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 12px 14px;
}

.adm-help-checklist h4 {
    font-size: 12px;
    font-weight: 800;
    color: #166534;
    margin: 0 0 6px;
}

.adm-help-checklist ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.adm-help-checklist li {
    font-size: 12px;
    color: #15803d;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.adm-help-checklist .chk-check {
    font-weight: 900;
    color: #16a34a;
}

.adm-help-card__foot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.adm-help-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.adm-help-no-results strong {
    display: block;
    font-size: 15px;
    color: #0f172a;
    margin-bottom: 4px;
}

.adm-help-no-results p {
    font-size: 12.5px;
    margin: 0;
}

/* Drawer Footer */
.adm-help-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    gap: 12px;
}



