/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-0w2dlqxxpa] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-0w2dlqxxpa] {
    flex: 1;
}

#blazor-error-ui[b-0w2dlqxxpa] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-0w2dlqxxpa] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Top navbar ── */
.top-navbar[b-md6eqz7osa] {
    display: flex;
    align-items: center;
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    padding: 0 1rem;
    min-height: 3.5rem;
    position: sticky;
    top: 0;
    z-index: 1100;
    flex-wrap: wrap;
}

.navbar-brand[b-md6eqz7osa] {
    color: white;
    font-size: 1.1rem;
    text-decoration: none;
    margin-right: 2rem;
    white-space: nowrap;
}

.navbar-brand:hover[b-md6eqz7osa] {
    color: white;
}

/* ── Brand / Company switcher ── */
.brand-dropdown[b-md6eqz7osa] {
    margin-right: 2rem;
}

.brand-dropdown .navbar-brand.dropdown-toggle[b-md6eqz7osa] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.brand-dropdown .dropdown-menu[b-md6eqz7osa] {
    min-width: 220px;
}

/* ── Company Logo ── */
.company-logo-nav[b-md6eqz7osa] {
    height: 28px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    margin-right: 0.4rem;
    border-radius: 3px;
}

.company-logo-dropdown[b-md6eqz7osa] {
    height: 20px;
    width: auto;
    max-width: 60px;
    object-fit: contain;
    margin-right: 0.4rem;
    border-radius: 2px;
    vertical-align: middle;
}

/* ── Hamburger toggle (mobile) ── */
.navbar-toggler[b-md6eqz7osa] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-md6eqz7osa] {
    background-color: rgba(255, 255, 255, 0.5);
}

/* ── Nav items row ── */
.nav-items[b-md6eqz7osa] {
    display: none;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}

.nav-items[b-md6eqz7osa]  .nav-link {
    color: #d7d7d7;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-items[b-md6eqz7osa]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-items[b-md6eqz7osa]  a.active {
    background-color: rgba(255, 255, 255, 0.37);
    color: white;
}

/* ── Icons ── */
.bi[b-md6eqz7osa] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-md6eqz7osa] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-md6eqz7osa] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3C/svg%3E");
}

.bi-database-fill-nav-menu[b-md6eqz7osa] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M3.904 1.777C4.978 1.289 6.427 1 8 1s3.022.289 4.096.777C13.125 2.245 14 2.993 14 4s-.875 1.755-1.904 2.223C11.022 6.711 9.573 7 8 7s-3.022-.289-4.096-.777C2.875 5.755 2 5.007 2 4s.875-1.755 1.904-2.223z'/%3E%3Cpath d='M2 6.161V7c0 1.007.875 1.755 1.904 2.223C4.978 9.71 6.427 10 8 10s3.022-.289 4.096-.777C13.125 8.755 14 8.007 14 7v-.839c-.457.432-1.004.751-1.49.972C11.278 7.693 9.682 8 8 8s-3.278-.307-4.51-.867c-.486-.22-1.033-.54-1.49-.972z'/%3E%3Cpath d='M2 9.161V10c0 1.007.875 1.755 1.904 2.223C4.978 12.711 6.427 13 8 13s3.022-.289 4.096-.777C13.125 11.755 14 11.007 14 10v-.839c-.457.432-1.004.751-1.49.972C11.278 10.693 9.682 11 8 11s-3.278-.307-4.51-.867c-.486-.22-1.033-.54-1.49-.972z'/%3E%3Cpath d='M2 12.161V13c0 1.007.875 1.755 1.904 2.223C4.978 15.711 6.427 16 8 16s3.022-.289 4.096-.777C13.125 14.755 14 14.007 14 13v-.839c-.457.432-1.004.751-1.49.972C11.278 13.693 9.682 14 8 14s-3.278-.307-4.51-.867c-.486-.22-1.033-.54-1.49-.972z'/%3E%3C/svg%3E");
}

.bi-truck-fill-nav-menu[b-md6eqz7osa] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M0 3.5A1.5 1.5 0 0 1 1.5 2h9A1.5 1.5 0 0 1 12 3.5V5h1.02a1.5 1.5 0 0 1 1.17.563l1.481 1.85a1.5 1.5 0 0 1 .329.938V10.5a1.5 1.5 0 0 1-1.5 1.5H14a2 2 0 1 1-4 0H5a2 2 0 1 1-3.998-.085A1.5 1.5 0 0 1 0 10.5v-7zm1.294 7.456A1.999 1.999 0 0 1 4.732 11h5.536a2.01 2.01 0 0 1 .732-.732V3.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .294.456zM12 10a2 2 0 0 1 1.732 1h.768a.5.5 0 0 0 .5-.5V8.35a.5.5 0 0 0-.11-.312l-1.48-1.85A.5.5 0 0 0 13.02 6H12v4zm-9 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm9 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z'/%3E%3C/svg%3E");
}

.bi-gear-fill-nav-menu[b-md6eqz7osa] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z'/%3E%3C/svg%3E");
}

/* ── Dropdown ── */
.nav-dropdown[b-md6eqz7osa] {
    position: relative;
}

.dropdown-toggle[b-md6eqz7osa] {
    color: #d7d7d7;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown-toggle:hover[b-md6eqz7osa] {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.dropdown-caret[b-md6eqz7osa] {
    margin-left: 0.35rem;
    font-size: 0.75rem;
    opacity: 0.75;
}

.dropdown-menu[b-md6eqz7osa] {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 180px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dropdown-menu[b-md6eqz7osa]  .dropdown-item {
    color: #d7d7d7;
    padding: 0.5rem 1rem;
    text-decoration: none;
    display: block;
    font-size: 0.875rem;
    white-space: nowrap;
}

.dropdown-menu[b-md6eqz7osa]  .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.dropdown-menu[b-md6eqz7osa]  a.active {
    background-color: rgba(255, 255, 255, 0.37);
    color: white;
}

/* ── Mobile (collapsed) ── */
@media (max-width: 640.98px) {
    .nav-items[b-md6eqz7osa] {
        flex-direction: column;
        width: 100%;
        padding: 0.5rem 0;
        align-items: stretch;
    }

    .navbar-toggler:checked ~ .nav-items[b-md6eqz7osa] {
        display: flex;
    }

    .dropdown-menu[b-md6eqz7osa] {
        position: static;
        box-shadow: none;
        padding-left: 1rem;
    }
}

/* ── Desktop (always visible, horizontal) ── */
@media (min-width: 641px) {
    .navbar-toggler[b-md6eqz7osa] {
        display: none;
    }

    .nav-items[b-md6eqz7osa] {
        display: flex;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-wexylbzhjj],
.components-reconnect-repeated-attempt-visible[b-wexylbzhjj],
.components-reconnect-failed-visible[b-wexylbzhjj],
.components-pause-visible[b-wexylbzhjj],
.components-resume-failed-visible[b-wexylbzhjj],
.components-rejoining-animation[b-wexylbzhjj] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-wexylbzhjj],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-wexylbzhjj],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-wexylbzhjj],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-wexylbzhjj],
#components-reconnect-modal.components-reconnect-retrying[b-wexylbzhjj],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-wexylbzhjj],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-wexylbzhjj],
#components-reconnect-modal.components-reconnect-failed[b-wexylbzhjj],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-wexylbzhjj] {
    display: block;
}


#components-reconnect-modal[b-wexylbzhjj] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-wexylbzhjj 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-wexylbzhjj 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-wexylbzhjj 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-wexylbzhjj]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-wexylbzhjj 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-wexylbzhjj {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-wexylbzhjj {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-wexylbzhjj {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-wexylbzhjj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-wexylbzhjj] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-wexylbzhjj] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-wexylbzhjj] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-wexylbzhjj] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-wexylbzhjj] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-wexylbzhjj] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-wexylbzhjj 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-wexylbzhjj] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-wexylbzhjj {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Dispatching/DispatchView.razor.rz.scp.css */
/* ── DispatchView mobile layout ──
   Turns the wide orders table into one card per row so every column —
   including the Actions buttons — stays reachable on phone-sized screens. */
@media (max-width: 767.98px) {
    .dv-grid-responsive table[b-q7omc4sx54],
    .dv-grid-responsive thead[b-q7omc4sx54],
    .dv-grid-responsive tbody[b-q7omc4sx54],
    .dv-grid-responsive th[b-q7omc4sx54],
    .dv-grid-responsive td[b-q7omc4sx54],
    .dv-grid-responsive tr[b-q7omc4sx54] {
        display: block;
        width: 100%;
    }

    /* header labels come from data-label instead */
    .dv-grid-responsive thead[b-q7omc4sx54] {
        display: none;
    }

    .dv-grid-responsive tbody tr[b-q7omc4sx54] {
        border: 1px solid var(--bs-border-color, #dee2e6);
        border-radius: 0.5rem;
        margin: 0.5rem 0;
        padding: 0.4rem 0.6rem;
        background: var(--bs-body-bg, #fff);
        box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    }

    .dv-grid-responsive tbody tr.table-info[b-q7omc4sx54] {
        background: var(--bs-info-bg-subtle, #cff4fc);
    }

    .dv-grid-responsive tbody tr.table-primary[b-q7omc4sx54] {
        background: var(--bs-primary-bg-subtle, #cfe2ff);
    }

    .dv-grid-responsive tbody tr.table-success[b-q7omc4sx54] {
        background: var(--bs-success-bg-subtle, #d1e7dd);
    }

    .dv-grid-responsive td[b-q7omc4sx54] {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.3rem 0;
        border: 0;
        text-align: right;
    }

    /* pseudo-label on the left of each cell */
    .dv-grid-responsive td[b-q7omc4sx54]::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.78rem;
        color: var(--bs-secondary-color, #6c757d);
        text-align: left;
        flex: 0 0 32%;
        white-space: nowrap;
    }

    /* Actions cell: stack label above and let buttons use the full row width
       so every button stays tappable. */
    .dv-grid-responsive td[data-label="Actions"][b-q7omc4sx54] {
        flex-wrap: wrap;
        text-align: left;
    }

    .dv-grid-responsive td[data-label="Actions"][b-q7omc4sx54]::before {
        flex: 1 1 100%;
        margin-bottom: 0.35rem;
    }

    .dv-grid-responsive td[data-label="Actions"] > .d-flex[b-q7omc4sx54] {
        flex: 1 1 100%;
        width: 100%;
    }

    .dv-grid-responsive td[data-label="Actions"] .btn[b-q7omc4sx54] {
        min-height: 38px;
    }

    /* Empty-state row spans the full card without a label */
    .dv-grid-responsive td[colspan][b-q7omc4sx54] {
        text-align: center;
    }

    .dv-grid-responsive td[colspan][b-q7omc4sx54]::before {
        content: "";
        flex: 0;
    }
}
/* /Components/Pages/Dispatching/OrderEntry.razor.rz.scp.css */
/* ── OrderEntry page layout: sticky header, swipeable tabs, sticky action bar,
   and mobile stacked-card grids for Stops & Dims. Visual only. ── */

.order-entry-page[b-thnb0swt8u] {
    /* leave room so the sticky action bar never covers the last fields */
    padding-bottom: 4.5rem;
}

/* ── Sticky header (Order No / Service / Truck / Status / Invoice) ── */
.oe-sticky-header[b-thnb0swt8u] {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
    background: var(--bs-body-bg, #fff);
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    padding: 0.5rem 0.25rem;
    margin-bottom: 0.5rem;
}

/* ── Tab strip: single swipeable row, sticky beneath the header ── */
.oe-tabs-scroll[b-thnb0swt8u] {
    position: -webkit-sticky;
    position: sticky;
    top: 3.25rem; /* sits just under the sticky header */
    z-index: 1019;
    background: var(--bs-body-bg, #fff);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}

/* hide the horizontal scrollbar on WebKit (iOS Safari) for a cleaner look */
.oe-tabs-scroll[b-thnb0swt8u]::-webkit-scrollbar {
    height: 3px;
}

.oe-tabs-scroll[b-thnb0swt8u]::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .2);
    border-radius: 3px;
}

.oe-tabs.nav-tabs[b-thnb0swt8u] {
    flex-wrap: nowrap;
    border-bottom: 0;
    min-width: max-content;
}

.oe-tabs .nav-link[b-thnb0swt8u] {
    white-space: nowrap;
    cursor: pointer;
    border: 0;
    border-bottom: 3px solid transparent;
    color: var(--bs-secondary-color, #6c757d);
    padding: 0.5rem 0.85rem;
    min-height: 44px; /* comfortable touch target */
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.oe-tabs .nav-link:hover[b-thnb0swt8u] {
    color: var(--bs-primary, #1b6ec2);
    border-bottom-color: rgba(27, 110, 194, .35);
}

.oe-tabs .nav-link.active[b-thnb0swt8u] {
    color: var(--bs-primary, #1b6ec2);
    font-weight: 600;
    border-bottom-color: var(--bs-primary, #1b6ec2);
    background: transparent;
}

.oe-tab-label[b-thnb0swt8u] {
    font-size: 0.9rem;
}

/* ── Tab panels ── */
.oe-tab-panel[b-thnb0swt8u] {
    animation: oe-fade-in-b-thnb0swt8u 0.15s ease-in;
}

@keyframes oe-fade-in-b-thnb0swt8u {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ── Section accent: subtle colored header band for at-a-glance scanning ── */
.oe-section .card-header[b-thnb0swt8u] {
    border-left: 3px solid var(--bs-primary, #1b6ec2);
}

/* ── Sticky bottom action bar (Save / New / Delete / Clear) ── */
.oe-action-bar[b-thnb0swt8u] {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    z-index: 1020;
    background: var(--bs-body-bg, #fff);
    border-top: 1px solid var(--bs-border-color, #dee2e6);
    padding: 0.6rem 0.25rem;
    margin-top: 0.5rem;
}

/* ── Icon-only tabs on very small screens (phones) ── */
@media (max-width: 575.98px) {
    .oe-tab-label[b-thnb0swt8u] {
        display: none;
    }

    .oe-tabs .nav-link[b-thnb0swt8u] {
        padding: 0.5rem 0.9rem;
        justify-content: center;
    }

    .oe-tabs .nav-link .bi[b-thnb0swt8u] {
        font-size: 1.15rem;
    }
}

/* ── Stacked-card grids on mobile for Stops & Dims ──
   Turns wide tables into one card per row with pseudo-labels. ── */
@media (max-width: 767.98px) {
    .oe-grid-responsive table[b-thnb0swt8u],
    .oe-grid-responsive thead[b-thnb0swt8u],
    .oe-grid-responsive tbody[b-thnb0swt8u],
    .oe-grid-responsive th[b-thnb0swt8u],
    .oe-grid-responsive td[b-thnb0swt8u],
    .oe-grid-responsive tr[b-thnb0swt8u] {
        display: block;
        width: 100%;
    }

    .oe-grid-responsive thead[b-thnb0swt8u] {
        display: none; /* header labels come from data-label instead */
    }

    .oe-grid-responsive tbody tr[b-thnb0swt8u] {
        border: 1px solid var(--bs-border-color, #dee2e6);
        border-radius: 0.5rem;
        margin: 0.5rem;
        padding: 0.4rem 0.6rem;
        background: var(--bs-body-bg, #fff);
        box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    }

    .oe-grid-responsive tbody tr.table-warning[b-thnb0swt8u] {
        background: var(--bs-warning-bg-subtle, #fff3cd);
    }

    .oe-grid-responsive tbody tr.table-info[b-thnb0swt8u] {
        background: var(--bs-info-bg-subtle, #cff4fc);
    }

    .oe-grid-responsive td[b-thnb0swt8u] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.3rem 0;
        border: 0;
        text-align: right;
    }

    /* pseudo-label on the left of each cell */
    .oe-grid-responsive td[b-thnb0swt8u]::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.78rem;
        color: var(--bs-secondary-color, #6c757d);
        text-align: left;
        flex: 0 0 38%;
        white-space: nowrap;
    }

    /* cells with no label (e.g. action buttons, notes) span full width */
    .oe-grid-responsive td[data-label=""][b-thnb0swt8u] {
        justify-content: flex-end;
    }

    .oe-grid-responsive td[data-label=""][b-thnb0swt8u]::before {
        content: "";
        flex: 0;
    }

    /* let inputs/selects fill the available width inside a stacked cell */
    .oe-grid-responsive td .form-control[b-thnb0swt8u],
    .oe-grid-responsive td .form-select[b-thnb0swt8u],
    .oe-grid-responsive td .input-group[b-thnb0swt8u] {
        width: auto !important;
        flex: 1 1 auto;
        min-width: 0;
    }

    .oe-grid-responsive td .d-flex[b-thnb0swt8u] {
        flex: 1 1 auto;
    }

    /* City / State / Zip cell: stack the label on its own line and give the
       three inputs the full row width so State and Zip stay visible. */
    .oe-grid-responsive td[data-label="City/ST/Zip"][b-thnb0swt8u] {
        flex-wrap: wrap;
        text-align: left;
    }

    .oe-grid-responsive td[data-label="City/ST/Zip"][b-thnb0swt8u]::before {
        flex: 1 1 100%;
        margin-bottom: 0.2rem;
    }

    .oe-grid-responsive td[data-label="City/ST/Zip"] .d-flex[b-thnb0swt8u] {
        flex: 1 1 100%;
        width: 100%;
    }

    .oe-grid-responsive td[data-label="City/ST/Zip"] .d-flex .form-control[b-thnb0swt8u] {
        flex: 1 1 auto;
        width: auto !important;
    }

    /* full-width notes textarea row */
    .oe-grid-responsive td[colspan][b-thnb0swt8u] {
        text-align: left;
    }

    .oe-grid-responsive td[colspan][b-thnb0swt8u]::before {
        flex: 0;
        content: "";
    }
}
