.z18-garde-services-page,
.z18-garde-synthese-page,
.z18-garde-quota-page,
.z18-garde-verrou-page,
.z18-garde-recompenses-page,
.z18-locaux-page,
.z18-remise-page,
.z18-foyer-page,
.z18-sport-page,
.z18-vestiaire-page,
.z18-dortoir-page,
.z18-cuisine-page,
.z18-amicale-page,
.z18-vehicule-page,
.z18-stocks-page,
.z18-catalogue-page {
    --caserne-red: #e5483f;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.z18-caserne-info-hero {
    margin-bottom: 0;
}

.z18-caserne-hero-stat {
    min-width: 110px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
}

.z18-caserne-hero-stat small,
.z18-caserne-hero-stat strong {
    display: block;
}

.z18-caserne-hero-stat small {
    color: rgba(255, 255, 255, .48);
    font-size: 8px;
    text-transform: uppercase;
}

.z18-caserne-hero-stat strong {
    margin-top: 2px;
    color: #ff928c;
    font-size: 16px;
}

.z18-caserne-hero-action {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 7px;
    color: #fff !important;
    background: rgba(255, 255, 255, .07);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.z18-caserne-hero-action:hover {
    color: #fff;
    background: rgba(255, 255, 255, .14);
}

/* Barre de navigation sections (locaux, catalogue…) */
body.z18-velzon-test .z18-locaux-room-tabs,
body.z18-velzon-test nav.z18-locaux-room-tabs,
body.z18-velzon-test .z18-section-tabs,
body.z18-velzon-test nav.z18-section-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 5px;
    width: 100%;
    max-width: 100%;
    margin: 12px 0 0 !important;
    padding: 6px !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 12px !important;
    background:
        radial-gradient(circle at 12% 0, rgba(229, 72, 63, .16), transparent 34%),
        #262a2f !important;
    background-image:
        radial-gradient(circle at 12% 0, rgba(229, 72, 63, .16), transparent 34%) !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .14) !important;
    position: relative !important;
    z-index: 1 !important;
    min-height: 0 !important;
    height: auto !important;
    overflow-x: auto;
    scrollbar-width: thin;
}

body.z18-velzon-test .z18-locaux-page .z18-locaux-room-tabs,
body.z18-velzon-test .z18-remise-page .z18-locaux-room-tabs,
body.z18-velzon-test .z18-foyer-page .z18-locaux-room-tabs,
body.z18-velzon-test .z18-sport-page .z18-locaux-room-tabs,
body.z18-velzon-test .z18-vestiaire-page .z18-locaux-room-tabs,
body.z18-velzon-test .z18-dortoir-page .z18-locaux-room-tabs,
body.z18-velzon-test .z18-cuisine-page .z18-locaux-room-tabs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

body.z18-velzon-test .z18-locaux-room-tabs a,
body.z18-velzon-test nav.z18-locaux-room-tabs a,
body.z18-velzon-test .z18-section-tabs a,
body.z18-velzon-test nav.z18-section-tabs a {
    display: flex;
    min-width: 0;
    min-height: 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 6px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: rgba(255, 255, 255, .62) !important;
    background: transparent;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.15;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: color .15s ease, background-color .15s ease, border-color .15s ease, transform .15s ease;
}

body.z18-velzon-test .z18-locaux-room-tabs a i,
body.z18-velzon-test .z18-section-tabs a i {
    font-size: 16px;
    line-height: 1;
    color: rgba(255, 146, 140, .72);
    transition: color .15s ease;
}

body.z18-velzon-test .z18-locaux-room-tabs a span,
body.z18-velzon-test .z18-section-tabs a span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.z18-velzon-test .z18-locaux-room-tabs a:hover,
body.z18-velzon-test .z18-section-tabs a:hover {
    color: #fff !important;
    border-color: rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .06);
    transform: translateY(-1px);
}

body.z18-velzon-test .z18-locaux-room-tabs a:hover i,
body.z18-velzon-test .z18-section-tabs a:hover i {
    color: #ff928c;
}

body.z18-velzon-test .z18-locaux-room-tabs a.is-active,
body.z18-velzon-test .z18-section-tabs a.is-active {
    color: #fff !important;
    border-color: rgba(229, 72, 63, .35);
    background:
        linear-gradient(180deg, rgba(229, 72, 63, .95), rgba(196, 48, 40, .95));
    box-shadow: 0 8px 18px rgba(229, 72, 63, .28);
}

body.z18-velzon-test .z18-locaux-room-tabs a.is-active i,
body.z18-velzon-test .z18-section-tabs a.is-active i {
    color: #fff;
}

body.z18-velzon-test .z18-panel-tabs,
body.z18-velzon-test .z18-vehicule-page .z18-page-tabs,
body.z18-velzon-test .z18-stocks-page .z18-page-tabs {
    display: flex;
    max-width: 100%;
    gap: 4px;
    overflow-x: auto;
    margin-top: 8px;
    padding: 6px;
    border: 1px solid var(--vz-border-color, #e9ebec);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(56, 65, 74, .04);
    scrollbar-width: thin;
}

body.z18-velzon-test .z18-panel-tabs a,
body.z18-velzon-test .z18-vehicule-page .z18-page-tabs a,
body.z18-velzon-test .z18-stocks-page .z18-page-tabs a {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 0;
    border-radius: 6px;
    color: #626873;
    background: transparent;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

body.z18-velzon-test .z18-panel-tabs a:hover,
body.z18-velzon-test .z18-panel-tabs a.is-active,
body.z18-velzon-test .z18-vehicule-page .z18-page-tabs a.active,
body.z18-velzon-test .z18-stocks-page .z18-page-tabs a.active {
    color: #fff !important;
    background: #e5483f !important;
}

@media (max-width: 767.98px) {
    body.z18-velzon-test .z18-locaux-room-tabs,
    body.z18-velzon-test nav.z18-locaux-room-tabs,
    body.z18-velzon-test .z18-section-tabs,
    body.z18-velzon-test nav.z18-section-tabs {
        display: flex;
        grid-template-columns: none;
        gap: 4px;
        padding: 5px !important;
    }

    body.z18-velzon-test .z18-locaux-room-tabs a,
    body.z18-velzon-test .z18-section-tabs a {
        min-width: 88px;
        min-height: 44px;
        flex: 0 0 auto;
        padding: 7px 10px;
        font-size: 9px;
    }
}

body.z18-velzon-test .z18-garde-services-page .z18-card,
body.z18-velzon-test .z18-garde-synthese-page .z18-card,
body.z18-velzon-test .z18-garde-quota-page .z18-card,
body.z18-velzon-test .z18-garde-verrou-page .z18-card,
body.z18-velzon-test .z18-garde-recompenses-page .z18-card,
body.z18-velzon-test .z18-panel-page .z18-card,
body.z18-velzon-test .z18-vehicule-page .z18-card,
body.z18-velzon-test .z18-stocks-page .z18-card {
    overflow: hidden;
    border: 1px solid var(--vz-border-color, #e9ebec) !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 2px 5px rgba(56, 65, 74, .055) !important;
}

body.z18-velzon-test .z18-garde-services-page .z18-card-title,
body.z18-velzon-test .z18-garde-synthese-page .z18-card-title,
body.z18-velzon-test .z18-garde-quota-page .z18-card-title,
body.z18-velzon-test .z18-garde-verrou-page .z18-card-title,
body.z18-velzon-test .z18-garde-recompenses-page .z18-card-title,
body.z18-velzon-test .z18-panel-page .z18-card-title,
body.z18-velzon-test .z18-vehicule-page .z18-card-title,
body.z18-velzon-test .z18-stocks-page .z18-card-title {
    min-height: 43px;
    padding: 10px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--vz-border-color, #e9ebec) !important;
    color: #343a40 !important;
    background: #fff !important;
    font-size: 11px !important;
}

.z18-garde-info-hero .z18-garde-day-nav {
    display: grid;
    grid-template-columns: 36px minmax(130px, auto) 36px auto;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
}

.z18-garde-info-hero .z18-garde-day-nav .z18-btn {
    display: grid;
    min-width: 36px;
    height: 42px;
    place-items: center;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    color: #fff !important;
    background: transparent !important;
}

.z18-garde-info-hero .z18-garde-day-current {
    padding: 5px 11px;
    border-right: 1px solid rgba(255, 255, 255, .09);
    border-left: 1px solid rgba(255, 255, 255, .09);
    text-align: center;
}

.z18-garde-info-hero .z18-garde-day-current b,
.z18-garde-info-hero .z18-garde-day-current span {
    display: block;
    color: #fff;
}

.z18-garde-info-hero .z18-garde-day-current b { font-size: 10px; }
.z18-garde-info-hero .z18-garde-day-current span { color: rgba(255, 255, 255, .52); font-size: 8px; }

.z18-garde-services-page .z18-garde-services-toolbar {
    padding: 14px !important;
}

.z18-garde-services-page .z18-garde-type-tab {
    padding: 7px 11px;
    border: 0;
    border-radius: 6px;
    opacity: .7;
    font-size: 10px;
}

.z18-garde-services-page .z18-garde-type-tab.is-active {
    opacity: 1;
    box-shadow: 0 3px 8px rgba(31, 37, 46, .14);
}

.z18-garde-services-page .z18-garde-section-form select {
    min-height: 35px;
    border: 1px solid #dce0e5;
    border-radius: 6px;
}

.z18-garde-services-page .z18-garde-services-note {
    margin: 11px 0;
    padding: 9px 10px;
    border-left: 3px solid #405189;
    border-radius: 6px;
    color: #626873;
    background: rgba(64, 81, 137, .055);
    font-size: 9px;
}

.z18-garde-services-page .z18-garde-grid-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0 !important;
}

.z18-garde-services-page .z18-garde-grid-scroll {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
}

body.z18-velzon-test .z18-garde-services-page table.z18-garde-grid {
    width: max(100%, 1040px) !important;
    min-width: 1040px;
    margin: 0 !important;
    table-layout: fixed;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
}

body.z18-velzon-test .z18-garde-services-page .z18-garde-grid th,
body.z18-velzon-test .z18-garde-services-page .z18-garde-grid td {
    height: 42px !important;
    padding: 4px !important;
    border: 0 !important;
    border-right: 1px solid #eff1f3 !important;
    border-bottom: 1px solid #eff1f3 !important;
    text-align: center;
    vertical-align: middle !important;
}

body.z18-velzon-test .z18-garde-services-page .z18-garde-grid thead th {
    height: 39px !important;
    color: #717681 !important;
    background: #f5f6f8 !important;
    font-size: 9px;
}

body.z18-velzon-test .z18-garde-services-page .z18-garde-grid .z18-garde-name-col {
    position: sticky;
    left: 0;
    z-index: 3;
    width: 128px !important;
    min-width: 128px;
    padding: 7px 10px !important;
    background: #fff !important;
    text-align: left;
}

body.z18-velzon-test .z18-garde-services-page .z18-garde-grid thead .z18-garde-name-col {
    z-index: 4;
    background: #eef1f5 !important;
}

.z18-garde-services-page .z18-garde-cell {
    width: 27px !important;
    min-width: 27px !important;
    max-width: 27px !important;
    height: 27px !important;
    margin: 0 auto;
    border-radius: 6px;
}

.z18-garde-services-page .z18-garde-cell.past {
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .48) 0 50%, transparent 50% 100%);
}

.z18-garde-synthese-fleet {
    margin-top: 14px;
    padding: 0 0 4px;
    border: 1px solid var(--vz-border-color, #e9ebec);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(56, 65, 74, .05);
    overflow: hidden;
}

.z18-garde-synthese-empty {
    margin: 0 16px 16px;
    color: #878a99;
    font-size: 12px;
}

.z18-garde-synthese-centre-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 0 16px 10px;
    font-size: 13px;
}

.z18-garde-synthese-centre-head strong { color: #343a40; }
.z18-garde-synthese-centre-head span { color: #878a99; font-size: 12px; }

.z18-garde-synthese-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.z18-garde-synthese-badge.is-renfort {
    color: #856404;
    background: #fff3cd;
}

/* Carte remise sans clic — équipage sous la photo */
.z18-garde-synthese-page .z18-remise-card.z18-garde-synthese-card {
    cursor: default;
}

.z18-garde-synthese-page .z18-remise-card.z18-garde-synthese-card:hover,
.z18-garde-synthese-page .z18-remise-card.z18-garde-synthese-card:focus {
    transform: none;
    box-shadow: var(--z18-shadow-soft, 0 4px 14px rgba(31, 37, 46, .08));
}

.z18-garde-synthese-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Sous la photo / équipage : évite le collage au bord bas (remise body a padding-bottom: 0) */
body.z18-velzon-test .z18-garde-synthese-page .z18-remise-card .z18-garde-synthese-card-body {
    padding-bottom: 12px;
}

.z18-garde-synthese-armed-label {
    display: inline-flex;
    align-self: flex-start;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.z18-garde-synthese-armed-label.is-ok {
    color: #000;
    background: #419f2e;
}

.z18-garde-synthese-armed-label.is-nok {
    color: #1a1a1a;
    background: #faff93;
    border: 1px solid #419f2e;
}

.z18-garde-synthese-armed-label.is-statut {
    max-width: 100%;
    overflow: hidden;
    color: #495057;
    background: #f3f6f9;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.z18-garde-synthese-crew {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.z18-garde-synthese-crew li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    border: 1px solid #dfe4ec;
    border-radius: 7px;
    background: #f8fafc;
    font-size: 11px;
    line-height: 1.25;
}

.z18-garde-synthese-crew li.is-filled {
    border-color: #86b87a;
    background: #f3faf1;
    box-shadow: inset 0 0 0 1px rgba(65, 159, 46, .12);
}

.z18-garde-synthese-crew li.is-missing {
    border-style: dashed;
    border-color: #e8a09a;
    background: #fff8f7;
}

.z18-garde-synthese-crew li.is-optional {
    border-style: dashed;
    border-color: #cfd6e0;
    background: #fbfcfd;
}

.z18-garde-synthese-crew-role {
    min-width: 0;
    color: #64748b;
    font-weight: 600;
}

.z18-garde-synthese-crew li.is-filled .z18-garde-synthese-crew-role {
    color: #3f5d38;
}

.z18-garde-synthese-crew-who {
    min-width: 0;
    color: #1f252e;
    font-weight: 700;
    text-align: right;
}

.z18-garde-synthese-crew li.is-filled .z18-garde-synthese-crew-who {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 72%;
    min-width: 0;
    padding: 2px 7px;
    border: 1px solid #c5d0c8;
    border-radius: 999px;
    background: #fff;
    color: #1f5c18;
    box-shadow: 0 1px 0 rgba(31, 37, 46, .04);
    overflow: hidden;
    white-space: nowrap;
}

.z18-garde-synthese-crew-grade {
    flex: 0 0 auto;
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.z18-garde-synthese-crew-login {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.z18-garde-synthese-crew-who i {
    color: #c2410c;
    font-style: normal;
    font-weight: 600;
}

.z18-garde-synthese-crew li.is-optional .z18-garde-synthese-crew-who i {
    color: #94a3b8;
}

.z18-garde-synthese-crew-note {
    margin: 0;
    color: #878a99;
    font-size: 11px;
}

.z18-garde-quota-page .z18-garde-compact-head,
.z18-garde-verrou-page .z18-garde-compact-head,
.z18-garde-recompenses-page .z18-garde-compact-head {
    position: relative;
    min-height: 82px;
    padding: 16px 18px 16px 78px;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(120deg, #262a2f, #30363d);
}

.z18-garde-quota-page .z18-garde-compact-head::before,
.z18-garde-verrou-page .z18-garde-compact-head::before,
.z18-garde-recompenses-page .z18-garde-compact-head::before {
    position: absolute;
    top: 16px;
    left: 18px;
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: rgba(229, 72, 63, .2);
    content: "\eb7b";
    font-family: remixicon !important;
    font-size: 20px;
}

.z18-garde-quota-page .z18-garde-compact-title strong,
.z18-garde-verrou-page .z18-garde-compact-title strong,
.z18-garde-recompenses-page .z18-garde-compact-title strong { color: #fff; }
.z18-garde-quota-page .z18-garde-compact-title span,
.z18-garde-verrou-page .z18-garde-compact-title span,
.z18-garde-recompenses-page .z18-garde-compact-title span { color: rgba(255, 255, 255, .58); }

body.z18-velzon-test .z18-panel-page .z18-stat-card,
body.z18-velzon-test .z18-panel-page .z18-kpi {
    border: 1px solid #e4e7eb !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: 0 2px 5px rgba(56, 65, 74, .05);
}

.z18-panel-page .z18-stat-card strong,
.z18-panel-page .z18-kpi b {
    color: #e5483f;
}

/* ===== Remise — flotte véhicules ===== */
body.z18-velzon-test .z18-remise-page .z18-remise-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 14px;
}

body.z18-velzon-test .z18-remise-page .z18-remise-kpi {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #e4e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(56, 65, 74, .05);
}

body.z18-velzon-test .z18-remise-page .z18-remise-kpi-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    color: #e5483f;
    background: rgba(229, 72, 63, .1);
    font-size: 18px;
}

body.z18-velzon-test .z18-remise-page .z18-remise-kpi-icon.is-ok {
    color: #0ab39c;
    background: rgba(10, 179, 156, .12);
}

body.z18-velzon-test .z18-remise-page .z18-remise-kpi-icon.is-warn {
    color: #f7b84b;
    background: rgba(247, 184, 75, .14);
}

body.z18-velzon-test .z18-remise-page .z18-remise-kpi span:not(.z18-remise-kpi-icon) {
    display: block;
    color: #878a99;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body.z18-velzon-test .z18-remise-page .z18-remise-kpi strong {
    display: block;
    margin-top: 2px;
    color: #343a40;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

body.z18-velzon-test .z18-remise-page .z18-remise-kpi strong.is-warn {
    color: #e5483f;
}

body.z18-velzon-test .z18-remise-page .z18-remise-fleet {
    overflow: hidden;
    margin: 0;
    border: 1px solid #e4e7eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(56, 65, 74, .05);
}

body.z18-velzon-test .z18-remise-page .z18-remise-fleet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #eef0f2;
    background:
        radial-gradient(circle at 8% 0, rgba(229, 72, 63, .08), transparent 28%),
        #fbfbfc;
}

body.z18-velzon-test .z18-remise-page .z18-remise-fleet-head h2 {
    margin: 0;
    color: #343a40;
    font-size: 15px;
    font-weight: 700;
}

body.z18-velzon-test .z18-remise-page .z18-remise-fleet-head p {
    margin: 3px 0 0;
    color: #878a99;
    font-size: 11px;
}

body.z18-velzon-test .z18-remise-page .z18-remise-fleet-count {
    flex-shrink: 0;
    padding: 6px 10px;
    border-radius: 999px;
    color: #e5483f;
    background: rgba(229, 72, 63, .1);
    font-size: 11px;
    font-weight: 700;
}

body.z18-velzon-test .z18-remise-page .z18-remise-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 0 14px 4px;
    color: #878a99;
    font-size: 12px;
    font-weight: 600;
}

body.z18-velzon-test .z18-remise-page .z18-remise-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body.z18-velzon-test .z18-remise-page .z18-remise-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    flex: 0 0 auto;
}

body.z18-velzon-test .z18-remise-page .z18-remise-dot.is-ok { background: #419f2e; }
body.z18-velzon-test .z18-remise-page .z18-remise-dot.is-nok { background: #faff93; border-color: #419f2e; }
body.z18-velzon-test .z18-remise-page .z18-remise-dot.is-busy { background: #e5483f; }
body.z18-velzon-test .z18-remise-page .z18-remise-dot.is-warn { background: #f7b84b; }
body.z18-velzon-test .z18-remise-page .z18-remise-dot.is-reserve { background: #8b5a2b; }
body.z18-velzon-test .z18-remise-page .z18-remise-dot.is-indispo { background: #1f1f1f; }

body.z18-velzon-test .z18-remise-page .z18-remise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
    justify-content: stretch;
    padding: 14px;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid #e4e7eb !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 2px 6px rgba(56, 65, 74, .04);
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card.is-dispo-ok {
    border-color: #2f7a22 !important;
    border-width: 2px !important;
    background:
        linear-gradient(180deg, rgba(65, 159, 46, .55) 0%, rgba(65, 159, 46, .28) 38%, rgba(65, 159, 46, .08) 72%, #fff 100%) !important;
    box-shadow: 0 4px 14px rgba(65, 159, 46, .18);
}

body.z18-velzon-test .z18-remise-page .z18-remise-card.is-dispo-nok {
    border-color: #2f7a22 !important;
    border-width: 2px !important;
    background:
        linear-gradient(180deg, rgba(250, 255, 147, .95) 0%, rgba(247, 184, 75, .35) 42%, rgba(255, 255, 255, .9) 78%, #fff 100%) !important;
    box-shadow: 0 4px 14px rgba(247, 184, 75, .16);
}

body.z18-velzon-test .z18-remise-page .z18-remise-card.is-engage {
    border-color: #c53b34 !important;
    border-width: 2px !important;
    background:
        linear-gradient(180deg, rgba(229, 72, 63, .52) 0%, rgba(229, 72, 63, .26) 40%, rgba(229, 72, 63, .08) 72%, #fff 100%) !important;
    box-shadow: 0 4px 14px rgba(229, 72, 63, .18);
}

body.z18-velzon-test .z18-remise-page .z18-remise-card.is-warn {
    border-color: #e0a030 !important;
    border-width: 2px !important;
    background:
        linear-gradient(180deg, rgba(247, 184, 75, .58) 0%, rgba(247, 184, 75, .28) 40%, rgba(247, 184, 75, .08) 72%, #fff 100%) !important;
    box-shadow: 0 4px 14px rgba(247, 184, 75, .16);
}

body.z18-velzon-test .z18-remise-page .z18-remise-card.is-reserve {
    border-color: #6f4620 !important;
    border-width: 2px !important;
    background:
        linear-gradient(180deg, rgba(139, 90, 43, .58) 0%, rgba(139, 90, 43, .3) 40%, rgba(139, 90, 43, .1) 72%, #fff 100%) !important;
    box-shadow: 0 4px 14px rgba(139, 90, 43, .18);
}

body.z18-velzon-test .z18-remise-page .z18-remise-card.is-indispo {
    border-color: #000 !important;
    border-width: 2px !important;
    background:
        linear-gradient(180deg, rgba(20, 20, 20, .55) 0%, rgba(40, 40, 40, .28) 40%, rgba(40, 40, 40, .08) 72%, #fff 100%) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
}

body.z18-velzon-test .z18-remise-page .z18-remise-card.is-neutral {
    border-color: #cfd4dc !important;
    background:
        linear-gradient(180deg, rgba(148, 163, 184, .22) 0%, rgba(148, 163, 184, .08) 50%, #fff 100%) !important;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card:hover,
body.z18-velzon-test .z18-remise-page .z18-remise-card:focus {
    outline: none;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
    transform: translateY(-3px);
}

body.z18-velzon-test .z18-remise-page .z18-remise-card.is-dispo-ok:hover,
body.z18-velzon-test .z18-remise-page .z18-remise-card.is-dispo-ok:focus {
    border-color: #24661a !important;
    background:
        linear-gradient(180deg, rgba(65, 159, 46, .68) 0%, rgba(65, 159, 46, .34) 40%, rgba(65, 159, 46, .1) 72%, #fff 100%) !important;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card.is-dispo-nok:hover,
body.z18-velzon-test .z18-remise-page .z18-remise-card.is-dispo-nok:focus {
    border-color: #24661a !important;
    background:
        linear-gradient(180deg, #faff93 0%, rgba(247, 184, 75, .45) 42%, #fff 100%) !important;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card.is-engage:hover,
body.z18-velzon-test .z18-remise-page .z18-remise-card.is-engage:focus {
    border-color: #a82e28 !important;
    background:
        linear-gradient(180deg, rgba(229, 72, 63, .68) 0%, rgba(229, 72, 63, .34) 40%, rgba(229, 72, 63, .1) 72%, #fff 100%) !important;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card.is-warn:hover,
body.z18-velzon-test .z18-remise-page .z18-remise-card.is-warn:focus {
    border-color: #c78a1c !important;
    background:
        linear-gradient(180deg, rgba(247, 184, 75, .72) 0%, rgba(247, 184, 75, .34) 40%, rgba(247, 184, 75, .1) 72%, #fff 100%) !important;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card.is-reserve:hover,
body.z18-velzon-test .z18-remise-page .z18-remise-card.is-reserve:focus {
    border-color: #553616 !important;
    background:
        linear-gradient(180deg, rgba(139, 90, 43, .72) 0%, rgba(139, 90, 43, .36) 40%, rgba(139, 90, 43, .12) 72%, #fff 100%) !important;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card.is-indispo:hover,
body.z18-velzon-test .z18-remise-page .z18-remise-card.is-indispo:focus {
    border-color: #000 !important;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, .7) 0%, rgba(40, 40, 40, .36) 40%, rgba(40, 40, 40, .12) 72%, #fff 100%) !important;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 11px 0;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card-type {
    overflow: hidden;
    max-width: 55%;
    color: #878a99;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 168px;
    margin: 12px 12px 0;
    padding: 12px;
    border-radius: 10px;
    background:
        radial-gradient(circle at 50% 20%, rgba(229, 72, 63, .07), transparent 45%),
        #e4e7eb;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card-media img {
    display: block;
    width: 100%;
    max-width: 230px;
    max-height: 148px;
    height: auto;
    object-fit: contain;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card-placeholder {
    display: grid;
    width: 100%;
    min-height: 120px;
    place-items: center;
    color: #adb5bd;
    font-size: 22px;
    font-weight: 700;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    padding: 10px 11px 0;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card-name {
    color: #343a40;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card-meters {
    display: grid;
    gap: 7px;
}

body.z18-velzon-test .z18-remise-page .z18-remise-meter-row > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 3px;
    color: #878a99;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

body.z18-velzon-test .z18-remise-page .z18-remise-meter-row > span i {
    color: #e5483f;
    font-size: 12px;
}

body.z18-velzon-test .z18-remise-page .z18-remise-meter {
    position: relative;
    overflow: hidden;
    height: 16px;
    border-radius: 999px;
    background: #eef0f2;
}

body.z18-velzon-test .z18-remise-page .z18-remise-meter .bar {
    display: block;
    height: 100%;
    border-radius: 999px;
}

body.z18-velzon-test .z18-remise-page .z18-remise-meter .bar-ok { background: #0ab39c; }
body.z18-velzon-test .z18-remise-page .z18-remise-meter .bar-warn { background: #f7b84b; }
body.z18-velzon-test .z18-remise-page .z18-remise-meter .bar-bad { background: #e5483f; }

body.z18-velzon-test .z18-remise-page .z18-remise-meter b {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #343a40;
    font-size: 9px;
    font-weight: 700;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    padding: 9px 11px;
    border-top: 1px solid #eef0f2;
    color: #e5483f;
    background: #fbfbfc;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body.z18-velzon-test .z18-remise-page .z18-remise-card:hover .z18-remise-card-foot {
    background: rgba(229, 72, 63, .06);
}

body.z18-velzon-test .z18-remise-page .z18-remise-unavailable {
    padding: 28px 20px;
    border: 1px dashed #e4e7eb;
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

body.z18-velzon-test .z18-remise-page .z18-remise-unavailable-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    place-items: center;
    border-radius: 14px;
    color: #e5483f;
    background: rgba(229, 72, 63, .1);
    font-size: 24px;
}

body.z18-velzon-test .z18-remise-page .z18-remise-unavailable h2 {
    margin: 0 0 6px;
    color: #343a40;
    font-size: 16px;
}

body.z18-velzon-test .z18-remise-page .z18-remise-unavailable p {
    margin: 0 auto 14px;
    max-width: 420px;
    color: #878a99;
    font-size: 12px;
}

body.z18-velzon-test .z18-remise-page .z18-remise-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 8px;
    color: #fff !important;
    background: #e5483f;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
}

@media (max-width: 991.98px) {
    body.z18-velzon-test .z18-remise-page .z18-remise-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    body.z18-velzon-test .z18-remise-page .z18-remise-kpis {
        grid-template-columns: 1fr;
    }

    body.z18-velzon-test .z18-remise-page .z18-remise-fleet-head {
        align-items: flex-start;
        flex-direction: column;
    }

    body.z18-velzon-test .z18-remise-page .z18-remise-grid {
        grid-template-columns: 1fr;
        padding: 12px;
    }
}

.z18-remise-page .z18-foyer-drinks,
.z18-foyer-page .z18-foyer-drinks,
.z18-sport-page .z18-sport-equipment,
.z18-vestiaire-page .z18-vestiaire-locker {
    gap: 10px;
}

.z18-vestiaire-page .z18-vestiaire-missing-banner-body {
    background: linear-gradient(135deg, #fff7f6 0%, #fff 62%);
}

@media (max-width: 720px) {
    .z18-vestiaire-page .z18-vestiaire-missing-banner-body {
        flex-direction: column;
        align-items: stretch;
    }

    .z18-vestiaire-page .z18-vestiaire-assign-btn {
        width: 100%;
        justify-content: center;
    }
}

.z18-panel-page [class*="-minigame-panel"] {
    overflow: hidden;
    border: 1px solid #e4e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(56, 65, 74, .05);
}

body.z18-velzon-test .z18-vehicule-page .grid-1,
body.z18-velzon-test .z18-stocks-page .grid-1 {
    width: 100% !important;
    min-width: 0;
    max-width: 100% !important;
    margin: 0 0 14px !important;
}

/* ===== Stocks — habillement ===== */
body.z18-velzon-test .z18-stocks-page .z18-stocks-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 14px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-kpi {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #e4e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(56, 65, 74, .05);
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-kpi-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    color: #e5483f;
    background: rgba(229, 72, 63, .1);
    font-size: 18px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-kpi-icon.is-ok {
    color: #0ab39c;
    background: rgba(10, 179, 156, .12);
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-kpi-icon.is-warn {
    color: #f7b84b;
    background: rgba(247, 184, 75, .14);
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-kpi span:not(.z18-stocks-kpi-icon) {
    display: block;
    color: #878a99;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-kpi strong {
    display: block;
    margin-top: 2px;
    color: #343a40;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-kpi strong.is-warn {
    color: #e5483f;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-kpi-centre {
    overflow: hidden;
    font-size: 14px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-panel {
    overflow: hidden;
    border: 1px solid #e4e7eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(56, 65, 74, .05);
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #eef0f2;
    background:
        radial-gradient(circle at 8% 0, rgba(229, 72, 63, .08), transparent 28%),
        #fbfbfc;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-panel-head h2 {
    margin: 0;
    color: #343a40;
    font-size: 15px;
    font-weight: 700;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-panel-head p {
    margin: 3px 0 0;
    color: #878a99;
    font-size: 11px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-panel-count {
    flex-shrink: 0;
    padding: 6px 10px;
    border-radius: 999px;
    color: #e5483f;
    background: rgba(229, 72, 63, .1);
    font-size: 11px;
    font-weight: 700;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    padding: 14px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-grid--pneus {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: none;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-card-desc {
    margin: 0;
    color: #878a99;
    font-size: 11px;
    line-height: 1.45;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-empty--inline {
    padding: 0 14px 14px;
    text-align: left;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-empty--inline p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    color: #b45309;
    background: rgba(245, 158, 11, .1);
    font-size: 12px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-empty--inline p i {
    flex-shrink: 0;
    font-size: 16px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e4e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(56, 65, 74, .04);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-card:hover {
    border-color: rgba(229, 72, 63, .35);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .1);
    transform: translateY(-2px);
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 11px 0;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-card-type {
    color: #878a99;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-wear-badge {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-wear-badge.is-ok {
    color: #0ab39c;
    background: rgba(10, 179, 156, .12);
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-wear-badge.is-warn {
    color: #b7791f;
    background: rgba(247, 184, 75, .18);
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-wear-badge.is-bad {
    color: #e5483f;
    background: rgba(229, 72, 63, .12);
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-card-media {
    display: grid;
    min-height: 88px;
    margin: 10px 11px 0;
    padding: 10px;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
    color: #e5483f;
    background:
        radial-gradient(circle at 50% 20%, rgba(229, 72, 63, .1), transparent 45%),
        #f6f7f9;
    font-size: 28px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-card-media img {
    display: block;
    width: 100%;
    max-width: 160px;
    height: 72px;
    object-fit: contain;
    object-position: center;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-card-media-fallback {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 50%;
    background: #eef1f4;
    color: #64748b;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    padding: 10px 11px 0;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-card-body > strong {
    color: #343a40;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-meter-row > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 3px;
    color: #878a99;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-meter-row > span i {
    color: #e5483f;
    font-size: 12px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-meter {
    position: relative;
    overflow: hidden;
    height: 16px;
    border-radius: 999px;
    background: #eef0f2;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-meter .bar {
    display: block;
    height: 100%;
    border-radius: 999px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-meter .bar-ok { background: #0ab39c; }
body.z18-velzon-test .z18-stocks-page .z18-stocks-meter .bar-warn { background: #f7b84b; }
body.z18-velzon-test .z18-stocks-page .z18-stocks-meter .bar-bad { background: #e5483f; }

body.z18-velzon-test .z18-stocks-page .z18-stocks-meter b {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #343a40;
    font-size: 9px;
    font-weight: 700;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 12px;
    padding: 10px 11px;
    border-top: 1px solid #eef0f2;
    background: #fbfbfc;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-btn,
body.z18-velzon-test .z18-stocks-page .z18-stocks-btn:link,
body.z18-velzon-test .z18-stocks-page .z18-stocks-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid #262a2f;
    border-radius: 8px;
    color: #fff !important;
    background: #262a2f;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-btn:hover {
    background: #3a4048;
    border-color: #3a4048;
    transform: translateY(-1px);
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-btn--primary,
body.z18-velzon-test .z18-stocks-page .z18-stocks-btn--primary:link,
body.z18-velzon-test .z18-stocks-page .z18-stocks-btn--primary:visited {
    border-color: #e5483f;
    background: #e5483f;
    box-shadow: 0 4px 12px rgba(229, 72, 63, .22);
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-btn--primary:hover {
    border-color: #c93028;
    background: #c93028;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-empty {
    padding: 34px 20px;
    text-align: center;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-empty-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    place-items: center;
    border-radius: 14px;
    color: #e5483f;
    background: rgba(229, 72, 63, .1);
    font-size: 24px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-empty h3 {
    margin: 0 0 6px;
    color: #343a40;
    font-size: 16px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-empty p {
    margin: 0 auto 14px;
    max-width: 380px;
    color: #878a99;
    font-size: 12px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-assign-head {
    margin-bottom: 12px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-assign-grid {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 14px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-assign-summary,
body.z18-velzon-test .z18-stocks-page .z18-stocks-assign-form {
    padding: 16px;
    border: 1px solid #e4e7eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(56, 65, 74, .05);
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-assign-summary > strong {
    display: block;
    margin: 10px 0;
    color: #343a40;
    font-size: 16px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-assign-note {
    margin: 12px 0 0;
    color: #878a99;
    font-size: 12px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-assign-form h2 {
    margin: 0 0 4px;
    color: #343a40;
    font-size: 16px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-assign-form > p {
    margin: 0 0 16px;
    color: #878a99;
    font-size: 12px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-form label {
    display: block;
    margin-bottom: 14px;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-form label > span {
    display: block;
    margin-bottom: 6px;
    color: #878a99;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body.z18-velzon-test .z18-stocks-page .z18-stocks-form select {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid #dce0e5;
    border-radius: 8px;
    background: #fff;
    color: #343a40;
    font-size: 13px;
}

@media (max-width: 991.98px) {
    body.z18-velzon-test .z18-stocks-page .z18-stocks-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.z18-velzon-test .z18-stocks-page .z18-stocks-assign-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    body.z18-velzon-test .z18-stocks-page .z18-stocks-kpis {
        grid-template-columns: 1fr;
    }

    body.z18-velzon-test .z18-stocks-page .z18-stocks-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    body.z18-velzon-test .z18-stocks-page .z18-stocks-grid {
        grid-template-columns: 1fr;
    }

    body.z18-velzon-test .z18-stocks-page .z18-stocks-card-actions {
        grid-template-columns: 1fr;
    }
}

body.z18-velzon-test .z18-vehicule-page .title-grid,
body.z18-velzon-test .z18-stocks-page .title-grid {
    min-height: 43px;
    padding: 10px 14px !important;
    border: 1px solid #e4e7eb !important;
    border-bottom: 0 !important;
    border-radius: 9px 9px 0 0 !important;
    color: #343a40 !important;
    background: #fff !important;
    font-size: 11px;
}

body.z18-velzon-test .z18-vehicule-page .content-gird-1,
body.z18-velzon-test .z18-vehicule-page .content-gird-2,
body.z18-velzon-test .z18-stocks-page .content-gird-1,
body.z18-velzon-test .z18-stocks-page .content-gird-2 {
    padding: 13px !important;
    border: 1px solid #e4e7eb !important;
    border-radius: 0 0 9px 9px !important;
    background: #fff !important;
}

body.z18-velzon-test .z18-vehicule-page table,
body.z18-velzon-test .z18-stocks-page table {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
}

body.z18-velzon-test .z18-vehicule-page table th,
body.z18-velzon-test .z18-vehicule-page table td,
body.z18-velzon-test .z18-stocks-page table th,
body.z18-velzon-test .z18-stocks-page table td {
    height: auto !important;
    padding: 8px 9px !important;
    border: 0 !important;
    border-bottom: 1px solid #eef0f2 !important;
    font-size: 10px;
}

body.z18-velzon-test .z18-vehicule-page table th,
body.z18-velzon-test .z18-stocks-page table th {
    color: #717681 !important;
    background: #f5f6f8 !important;
}

.z18-vehicule-page .elem,
.z18-stocks-page .elem {
    padding: 12px;
    border: 1px solid #e5e8ec;
    border-radius: 8px;
    background: #f8f9fb;
}

.z18-vehicule-page input,
.z18-vehicule-page select,
.z18-vehicule-page textarea,
.z18-stocks-page input,
.z18-stocks-page select {
    min-height: 36px;
    border: 1px solid #dce0e5;
    border-radius: 6px;
}

.z18-catalogue-page .catalogue-root {
    border-radius: 10px;
}

html[data-sidebar="dark"] body.z18-velzon-test .app-menu .menu-dropdown .z18-vz-management-title {
    padding: 8px 20px 3px;
    color: rgba(255, 146, 140, .54);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

html[data-sidebar="dark"] body.z18-velzon-test .app-menu .nav-link.menu-link > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .z18-caserne-info-hero {
        align-items: flex-start;
        flex-wrap: wrap;
    }

}

@media (max-width: 767.98px) {
    .z18-caserne-hero-action,
    .z18-caserne-hero-stat {
        width: 100%;
    }

    .z18-garde-info-hero .z18-garde-day-nav {
        width: 100%;
        grid-template-columns: 36px minmax(0, 1fr) 36px;
    }

    .z18-garde-info-hero .z18-garde-day-nav > a:last-child {
        display: none;
    }
}

/* ===== Popup fiche véhicule (remise) ===== */
body.z18-velzon-test .z18-remise-popup-panel {
    width: min(880px, calc(100vw - 24px));
    max-height: min(92vh, 820px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .38) !important;
}

body.z18-velzon-test .z18-remise-popup-body {
    max-height: min(92vh, 820px);
    overflow: auto;
}

body.z18-velzon-test .z18-remise-popup-close {
    top: 12px !important;
    right: 12px !important;
    z-index: 5;
    width: 34px !important;
    height: 34px !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: #e5483f !important;
    box-shadow: 0 4px 12px rgba(229, 72, 63, .35);
}

body.z18-velzon-test .z18-remise-detail {
    color: #343a40;
}

body.z18-velzon-test .z18-remise-detail-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 54px 16px 18px;
    border-bottom: 0 !important;
    color: #fff;
    background:
        radial-gradient(circle at 12% 0, rgba(229, 72, 63, .22), transparent 34%),
        linear-gradient(135deg, #262a2f 0%, #30363d 100%) !important;
}

body.z18-velzon-test .z18-remise-detail-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    color: rgba(255, 146, 140, .9);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.z18-velzon-test .z18-remise-detail-head-main h2 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

body.z18-velzon-test .z18-remise-detail-head-main p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
    font-weight: 500;
}

body.z18-velzon-test .z18-remise-detail-head-main p span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

body.z18-velzon-test .z18-remise-detail-head-main p i {
    color: #ff928c;
    font-size: 13px;
}

body.z18-velzon-test .z18-remise-detail-status {
    flex: 0 0 auto;
    margin: 0;
    padding-bottom: 2px;
}

body.z18-velzon-test .z18-remise-detail-status .z18-badge,
body.z18-velzon-test .z18-remise-detail-head .z18-badge {
    flex: 0 0 auto;
    margin-top: 0;
}

body.z18-velzon-test .z18-remise-detail-body {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 16px;
    padding: 16px 18px;
    background: #f7f8fa;
}

body.z18-velzon-test .z18-remise-detail-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    padding: 16px;
    border: 1px solid #e4e7eb;
    border-radius: 12px;
    background:
        radial-gradient(circle at 50% 20%, rgba(229, 72, 63, .06), transparent 42%),
        #fff;
    box-shadow: 0 2px 8px rgba(56, 65, 74, .05);
}

body.z18-velzon-test .z18-remise-detail-media img {
    display: block;
    width: 100%;
    max-width: 240px;
    height: auto;
    object-fit: contain;
}

body.z18-velzon-test .z18-remise-detail-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

body.z18-velzon-test .z18-remise-detail-kpi {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid #e4e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(56, 65, 74, .04);
}

body.z18-velzon-test .z18-remise-detail-kpi > span {
    display: block;
    color: #878a99;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

body.z18-velzon-test .z18-remise-detail-kpi > strong {
    display: block;
    margin: 3px 0 8px;
    color: #e5483f;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

body.z18-velzon-test .z18-remise-detail-grid {
    display: grid;
    gap: 8px;
    margin: 0;
}

body.z18-velzon-test .z18-remise-detail-grid > div {
    display: grid;
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 11px 12px;
    border: 1px solid #e4e7eb;
    border-radius: 10px;
    background: #fff;
}

body.z18-velzon-test .z18-remise-detail-grid dt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #878a99;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body.z18-velzon-test .z18-remise-detail-grid dt i {
    color: #e5483f;
    font-size: 14px;
}

body.z18-velzon-test .z18-remise-detail-grid dd {
    margin: 0;
    color: #343a40;
    font-size: 12px;
    font-weight: 700;
}

body.z18-velzon-test .z18-remise-detail-actions {
    margin: 0;
    padding: 14px 18px 16px;
    border-top: 1px solid #eef0f2;
    background: #fff;
}

body.z18-velzon-test .z18-remise-detail-actions > strong {
    display: block;
    margin-bottom: 10px;
    color: #495057;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

body.z18-velzon-test .z18-remise-detail-actions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.z18-velzon-test .z18-remise-detail-btn,
body.z18-velzon-test .z18-remise-detail-btn:link,
body.z18-velzon-test .z18-remise-detail-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid #262a2f !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: #262a2f !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .12);
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

body.z18-velzon-test .z18-remise-detail-btn i {
    font-size: 14px;
    line-height: 1;
}

body.z18-velzon-test .z18-remise-detail-btn:hover,
body.z18-velzon-test .z18-remise-detail-btn:focus-visible {
    border-color: #3a4048 !important;
    background: #3a4048 !important;
    transform: translateY(-1px);
}

body.z18-velzon-test .z18-remise-detail-btn--mechanic,
body.z18-velzon-test .z18-remise-detail-btn--mechanic:link,
body.z18-velzon-test .z18-remise-detail-btn--mechanic:visited {
    border-color: #e5483f !important;
    color: #fff !important;
    background: #e5483f !important;
    box-shadow: 0 6px 16px rgba(229, 72, 63, .28);
    text-transform: uppercase;
    letter-spacing: .03em;
}

body.z18-velzon-test .z18-remise-detail-btn--mechanic:hover,
body.z18-velzon-test .z18-remise-detail-btn--mechanic:focus-visible {
    border-color: #c93028 !important;
    background: #c93028 !important;
}

body.z18-velzon-test .z18-remise-detail-muted,
body.z18-velzon-test .z18-remise-detail-empty {
    color: #878a99;
    font-size: 12px;
    font-weight: 500;
}

@media (max-width: 767.98px) {
    body.z18-velzon-test .z18-remise-detail-body {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    body.z18-velzon-test .z18-remise-detail-kpis {
        grid-template-columns: 1fr;
    }

    body.z18-velzon-test .z18-remise-detail-grid > div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    body.z18-velzon-test .z18-remise-detail-actions-list {
        flex-direction: column;
    }

    body.z18-velzon-test .z18-remise-detail-btn {
        width: 100%;
    }
}
