/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-np3gvrmqrn] {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* min-width: 0 lets main shrink narrower than its content. Without it, a wide table (the staff
   grids have a 48rem minimum so they scroll sideways) makes main refuse to shrink, and the flex
   row squeezes the sidebar instead (the menu text piles up in phone landscape and in narrow
   desktop windows). With it, the table scrolls inside its .table-responsive wrapper. */
main[b-np3gvrmqrn] {
    flex: 1;
    min-width: 0;
}

.sidebar[b-np3gvrmqrn] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-np3gvrmqrn] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-np3gvrmqrn]  a, .top-row[b-np3gvrmqrn]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-np3gvrmqrn]  a:hover, .top-row[b-np3gvrmqrn]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-np3gvrmqrn]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-np3gvrmqrn] {
        justify-content: space-between;
    }

    .top-row[b-np3gvrmqrn]  a, .top-row[b-np3gvrmqrn]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-np3gvrmqrn] {
        flex-direction: row;
    }

    .sidebar[b-np3gvrmqrn] {
        flex-shrink: 0;
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-np3gvrmqrn] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-np3gvrmqrn]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-np3gvrmqrn], article[b-np3gvrmqrn] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-np3gvrmqrn] {
    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-np3gvrmqrn] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
        background: none;
        border: none;
        font-size: 1rem;
        padding: 0.25rem;
        line-height: 1;
    }

/* Logo and portal name sit side by side when there's room. When the name can't get about
   14rem beside the logo (phones, or a narrow window with the sidebar open), it wraps onto its
   own full-width line under the logo instead of being squeezed into a one-word-per-line column. */
.city-header[b-np3gvrmqrn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
    padding: 1rem 0;
    border-bottom: 2px solid #dee2e6;
}

.city-logo[b-np3gvrmqrn] {
    max-width: 250px;
    max-height: 120px;
    object-fit: contain;
}

.city-name[b-np3gvrmqrn] {
    flex: 1 1 14rem;
    margin: 0;
    color: #333;
    font-weight: 600;
    font-size: 1.5rem;
}

@media (max-width: 640.98px) {
    .city-logo[b-np3gvrmqrn] {
        max-width: 200px;
        max-height: 90px;
    }

    .city-name[b-np3gvrmqrn] {
        font-size: 1.25rem;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-5kzyfx73b5] {
    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: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler-icon[b-5kzyfx73b5] {
    display: block;
    width: 1.75rem;
    height: 1.75rem;
    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/100%;
}

.navbar-toggler:focus-visible[b-5kzyfx73b5] {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.navbar-toggler[aria-expanded="true"][b-5kzyfx73b5] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-5kzyfx73b5] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-5kzyfx73b5] {
    font-size: 1.1rem;
}

.bi[b-5kzyfx73b5] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-5kzyfx73b5] {
    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-plus-square-fill-nav-menu[b-5kzyfx73b5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-5kzyfx73b5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-5kzyfx73b5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-5kzyfx73b5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-5kzyfx73b5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-5kzyfx73b5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' 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-people-fill-nav-menu[b-5kzyfx73b5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-people-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7Zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm-5.784 6A2.238 2.238 0 0 1 5 13c0-1.355.68-2.75 1.936-3.72A6.325 6.325 0 0 0 5 9c-4 0-5 3-5 4s1 1 1 1h4.216ZM4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-5kzyfx73b5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.bi-building-nav-menu[b-5kzyfx73b5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-building' viewBox='0 0 16 16'%3E%3Cpath d='M4 2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm3.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1ZM4 5.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1ZM7.5 5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1Zm2.5.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1ZM4.5 8a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1Zm2.5.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm3.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1Z'/%3E%3Cpath d='M2 1a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V1Zm11 0H3v14h3v-2.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5V15h3V1Z'/%3E%3C/svg%3E");
}
.bi-file-earmark-ruled-nav-menu[b-5kzyfx73b5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-receipt' viewBox='0 0 16 16'%3E%3Cpath d='M1.92.506a.5.5 0 0 1 .434.14L3 1.293l.646-.647a.5.5 0 0 1 .708 0L5 1.293l.646-.647a.5.5 0 0 1 .708 0L7 1.293l.646-.647a.5.5 0 0 1 .708 0L9 1.293l.646-.647a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .801.13l.5 1A.5.5 0 0 1 15 2v12a.5.5 0 0 1-.053.224l-.5 1a.5.5 0 0 1-.8.13L13 14.707l-.646.647a.5.5 0 0 1-.708 0L11 14.707l-.646.647a.5.5 0 0 1-.708 0L9 14.707l-.646.647a.5.5 0 0 1-.708 0L7 14.707l-.646.647a.5.5 0 0 1-.708 0L5 14.707l-.646.647a.5.5 0 0 1-.708 0L3 14.707l-.646.647a.5.5 0 0 1-.801-.13l-.5-1A.5.5 0 0 1 1 14V2a.5.5 0 0 1 .053-.224l.5-1a.5.5 0 0 1 .367-.27zm.217 1.338L2 2.118v11.764l.137.274.51-.51a.5.5 0 0 1 .707 0l.646.647.646-.646a.5.5 0 0 1 .708 0l.646.646.646-.646a.5.5 0 0 1 .708 0l.646.646.646-.646a.5.5 0 0 1 .708 0l.646.646.646-.646a.5.5 0 0 1 .708 0l.646.646.646-.646a.5.5 0 0 1 .708 0l.509.509.137-.274V2.118l-.137-.274-.51.51a.5.5 0 0 1-.707 0L12 1.707l-.646.647a.5.5 0 0 1-.708 0L10 1.707l-.646.647a.5.5 0 0 1-.708 0L8 1.707 7.354 2.354a.5.5 0 0 1-.708 0L6 1.707l-.646.647a.5.5 0 0 1-.708 0L4 1.707l-.646.647a.5.5 0 0 1-.708 0l-.509-.51z'/%3E%3Cpath d='M3 4.5a.5.5 0 0 1 .5-.5h6a.5.5 0 1 1 0 1h-6a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 1 1 0 1h-6a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 1 1 0 1h-6a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm8-6a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-5kzyfx73b5] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-5kzyfx73b5] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-5kzyfx73b5] {
        padding-bottom: 1rem;
    }

    .nav-item[b-5kzyfx73b5]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-5kzyfx73b5]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-5kzyfx73b5]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-item[b-5kzyfx73b5]  .nav-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-5kzyfx73b5] {
    display: none;
}

.nav-scrollable-expanded[b-5kzyfx73b5] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-5kzyfx73b5] {
        display: none;
    }

    .nav-scrollable[b-5kzyfx73b5] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/BusinessAccounts.razor.rz.scp.css */
/* Returns / Deregister buttons in the last column */
.account-action-btn[b-yl7xz9u4hw] {
    padding: 0 0.65rem;
    font-size: 0.875rem;
    line-height: 1;
    height: 24px;
    width: 90px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.account-action-btn:not(:last-child)[b-yl7xz9u4hw] {
    margin-right: 5px;
}

/* Size container: the card layout below reacts to the width the table actually gets, so a
   narrow window with the sidebar open gets cards too, not just a phone. */
.accounts-table-wrap[b-yl7xz9u4hw] {
    container-type: inline-size;
}

/* ---------------------------------------------------------------------------------------
   Narrow layout (VMS-4431). At 576px or less each business becomes a card: the business
   name is the heading (moved above Account No. with `order`), the other cells are
   "label ... value" rows (labels from data-label), and the buttons share a full-width row
   at a finger-sized height.
   --------------------------------------------------------------------------------------- */
@container (max-width: 576px) {
    table.accounts-table[b-yl7xz9u4hw],
    table.accounts-table tbody[b-yl7xz9u4hw],
    table.accounts-table td[b-yl7xz9u4hw] {
        display: block;
        width: 100%;
    }

    table.accounts-table tr[b-yl7xz9u4hw] {
        display: flex;
        flex-direction: column;
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
        margin-bottom: 0.75rem;
        overflow: hidden;
    }

    /* Column headers are replaced by per-cell labels. Hidden visually, still read aloud. */
    table.accounts-table thead[b-yl7xz9u4hw] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    /* No striping in cards: Bootstrap paints the stripe as an inset box-shadow, which
       would cover the card heading's background. */
    table.accounts-table td[b-yl7xz9u4hw] {
        border: none;
        box-shadow: none;
        padding: 0.35rem 0.75rem;
    }

    table.accounts-table td.account-company[b-yl7xz9u4hw] {
        order: -1;
        font-weight: 600;
        background-color: #f1f3f5;
        padding: 0.5rem 0.75rem;
    }

    table.accounts-table td[data-label][b-yl7xz9u4hw] {
        display: grid;
        grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
        column-gap: 1rem;
        text-align: right;
    }

    table.accounts-table td[data-label][b-yl7xz9u4hw]::before {
        content: attr(data-label);
        font-weight: 600;
        text-align: left;
    }

    /* Login emails have no spaces to wrap at */
    table.accounts-table td.account-email[b-yl7xz9u4hw] {
        overflow-wrap: anywhere;
    }

    table.accounts-table td.account-actions[b-yl7xz9u4hw] {
        display: flex;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem 0.75rem;
    }

    table.accounts-table .account-action-btn[b-yl7xz9u4hw] {
        flex: 1 1 0;
        width: auto;
        height: 2.5rem;
        font-size: 1rem;
        margin-right: 0;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.city-header[b-gf9jsednis] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 2px solid #dee2e6;
}

.city-logo[b-gf9jsednis] {
    max-width: 250px;
    max-height: 120px;
    object-fit: contain;
}

.city-name[b-gf9jsednis] {
    margin: 0;
    color: #333;
    font-weight: 600;
}
/* /Components/Pages/ReturnForm.razor.rz.scp.css */
/* Wrapper around the tax table. It's a size container, so the stacked layout at the bottom
   of this file reacts to the width the table gets, not the window width. The sidebar takes
   250px from 641px up, so a tablet can have a wide window and still a cramped table.
   The 300px bottom padding gives scrollToById room to center the last button. */
.return-table-wrap[b-vwpt9asa1f] {
    container-type: inline-size;
    padding-bottom: 300px;
}

/* Force table to use fixed layout for consistent column widths */
table.table[b-vwpt9asa1f] {
    table-layout: fixed !important;
    width: 100% !important;
}

/* Vertically center all table cells to handle multi-line Business Classification text */
table.table td[b-vwpt9asa1f] {
    vertical-align: middle;
}

table.table th[b-vwpt9asa1f] {
    vertical-align: middle;
}

/* Styling for the total row */
table.table tr.total-row[b-vwpt9asa1f] {
    border-top: 2px solid #dee2e6;
}

table.table tr.total-row td[b-vwpt9asa1f] {
    padding-top: 1rem;
}

table.table td.total-label[b-vwpt9asa1f],
table.table td.total-actions .btn[b-vwpt9asa1f] {
    white-space: nowrap;
}

/* Pay / Download buttons on a filed return */
table.table td.total-actions-filed[b-vwpt9asa1f] {
    white-space: nowrap;
    text-align: right;
    padding-right: 0.75in;
}

table.table td.total-actions-filed .btn-warning[b-vwpt9asa1f] {
    margin-right: 0.5rem;
}

/* Set width for Business Classification column */
table.table th.business-classification-col[b-vwpt9asa1f],
table.table td.business-classification-col[b-vwpt9asa1f] {
    width: 30% !important;
}

/* Force equal width for Gross Amount and Deduction columns */
table.table th.equal-width-col[b-vwpt9asa1f],
table.table td.equal-width-col[b-vwpt9asa1f] {
    width: 12% !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    box-sizing: border-box !important;
}

table.table td.equal-width-col input.form-control[b-vwpt9asa1f] {
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

/* Remove up/down arrows from number input fields */
input[type="number"][b-vwpt9asa1f]::-webkit-inner-spin-button,
input[type="number"][b-vwpt9asa1f]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"][b-vwpt9asa1f] {
    -moz-appearance: textfield;
}

/* Styling for deduction reason row */
table.table tr.deduction-reason-row td[b-vwpt9asa1f] {
    padding-left: 3rem !important;
    padding-right: 1rem !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.75rem !important;
    background-color: #f8f9fa;
}

table.table tr.deduction-reason-row label[b-vwpt9asa1f] {
    color: #0066cc;
    margin-bottom: 0.25rem !important;
}

/* Make the certification checkbox stand out when unchecked */
#certificationCheckbox[b-vwpt9asa1f] {
    width: 1.0em;
    height: 1.0em;
    border: 2px solid #0d6efd;
    cursor: pointer;
}

#certificationCheckbox:not(:checked)[b-vwpt9asa1f] {
    background-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

#certificationCheckbox + label[b-vwpt9asa1f] {
    cursor: pointer;
    font-weight: 500;
}

/* ---------------------------------------------------------------------------------------
   Narrow layout (VMS-4431). When the table gets 640px or less, the 7 columns can't fit the
   inputs, so each tax line becomes a card: the classification is the card heading, and each
   cell is a "label ... value" row whose label comes from the cell's data-label attribute.
   The totals become label/value pairs, with the buttons full width underneath.
   The selectors repeat the specificity of the rules above, because those use !important.
   --------------------------------------------------------------------------------------- */
@container (max-width: 640px) {
    table.table[b-vwpt9asa1f],
    table.table tbody[b-vwpt9asa1f],
    table.table tr[b-vwpt9asa1f],
    table.table td[b-vwpt9asa1f],
    table.table td.business-classification-col[b-vwpt9asa1f],
    table.table td.equal-width-col[b-vwpt9asa1f] {
        display: block;
        width: 100% !important;
    }

    /* Column headers are replaced by per-cell labels. Hidden visually, still read aloud. */
    table.table thead[b-vwpt9asa1f] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    table.table tr.tax-line[b-vwpt9asa1f] {
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
        margin-bottom: 0.75rem;
        overflow: hidden;
    }

    /* No striping in cards: Bootstrap paints the stripe as an inset box-shadow, which
       would cover the card heading's background. */
    table.table td[b-vwpt9asa1f] {
        border: none;
        box-shadow: none;
    }

    table.table td.business-classification-col[b-vwpt9asa1f] {
        font-weight: 600;
        background-color: #f1f3f5;
        padding: 0.5rem 0.75rem;
    }

    table.table td[data-label][b-vwpt9asa1f],
    table.table td.equal-width-col[data-label][b-vwpt9asa1f] {
        display: grid;
        grid-template-columns: minmax(0, 45%) minmax(0, 1fr);
        column-gap: 1rem;
        align-items: center;
        text-align: right;
        padding: 0.35rem 0.75rem !important;
    }

    table.table td[data-label][b-vwpt9asa1f]::before {
        content: attr(data-label);
        font-weight: 600;
        text-align: left;
    }

    table.table td[data-label] > .invalid-feedback[b-vwpt9asa1f] {
        grid-column: 1 / -1;
        text-align: left;
    }

    /* Penalty lines leave Gross / Deduction / Taxable / Rate blank on purpose (see the
       comments in the markup). In a card a label with no value looks broken, so drop it. */
    table.table td:empty[b-vwpt9asa1f],
    table.table td.equal-width-col[data-label]:empty[b-vwpt9asa1f] {
        display: none;
    }

    /* A deduction reason belongs to the line above it, so attach it to that card */
    table.table tr.deduction-reason-row[b-vwpt9asa1f] {
        margin-top: -0.75rem;
        margin-bottom: 0.75rem;
        border: 1px solid #dee2e6;
        border-top: none;
        border-radius: 0 0 0.375rem 0.375rem;
        overflow: hidden;
    }

    table.table tr.deduction-reason-row td[b-vwpt9asa1f] {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    /* Totals: label | value pairs, the buttons on their own full-width line */
    table.table tr.total-row[b-vwpt9asa1f] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        border: none;
        border-top: 2px solid #dee2e6;
        border-radius: 0;
        margin-bottom: 0;
    }

    table.table tr.total-row td[b-vwpt9asa1f] {
        width: auto !important;
        padding: 0.35rem 0.75rem;
    }

    table.table tr.total-row td.total-spacer[b-vwpt9asa1f] {
        display: none;
    }

    table.table td.total-label[b-vwpt9asa1f] {
        text-align: left !important;
        white-space: normal;
    }

    table.table td.total-value[b-vwpt9asa1f] {
        text-align: right;
    }

    table.table td.total-actions[b-vwpt9asa1f],
    table.table td.total-actions-filed[b-vwpt9asa1f] {
        grid-column: 1 / -1;
        order: 99;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        text-align: left !important;
        white-space: normal;
        padding: 0.75rem;
    }

    table.table td.total-actions .btn[b-vwpt9asa1f] {
        flex: 1 1 auto;
        margin-right: 0;
    }
}
/* /Components/Pages/Returns.razor.rz.scp.css */
/* Action button in the last column (File / View / Pay / Unfiled / Unpaid) */
.return-action-btn[b-er4oi1428x] {
    padding: 0 0.65rem;
    font-size: 0.875rem;
    line-height: 1;
    height: 24px;
    width: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Size container: the card layout below reacts to the width the table actually gets, so a
   narrow window with the sidebar open gets cards too, not just a phone. */
.returns-table-wrap[b-er4oi1428x] {
    container-type: inline-size;
}

/* ---------------------------------------------------------------------------------------
   Narrow layout (VMS-4431). At 576px or less each return becomes a card: the business
   name is the heading, the other cells are "label ... value" rows (labels from data-label),
   and the action button goes full width with a finger-sized height.
   --------------------------------------------------------------------------------------- */
@container (max-width: 576px) {
    table.returns-table[b-er4oi1428x],
    table.returns-table tbody[b-er4oi1428x],
    table.returns-table tr[b-er4oi1428x],
    table.returns-table td[b-er4oi1428x] {
        display: block;
        width: 100%;
    }

    /* Column headers are replaced by per-cell labels. Hidden visually, still read aloud. */
    table.returns-table thead[b-er4oi1428x] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    table.returns-table tr[b-er4oi1428x] {
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
        margin-bottom: 0.75rem;
        overflow: hidden;
    }

    /* No striping in cards: Bootstrap paints the stripe as an inset box-shadow, which
       would cover the card heading's background. */
    table.returns-table td[b-er4oi1428x] {
        border: none;
        box-shadow: none;
        padding: 0.35rem 0.75rem;
    }

    table.returns-table td.return-company[b-er4oi1428x] {
        font-weight: 600;
        background-color: #f1f3f5;
        padding: 0.5rem 0.75rem;
    }

    table.returns-table td[data-label][b-er4oi1428x] {
        display: grid;
        grid-template-columns: minmax(0, 45%) minmax(0, 1fr);
        column-gap: 1rem;
        text-align: right;
    }

    table.returns-table td[data-label][b-er4oi1428x]::before {
        content: attr(data-label);
        font-weight: 600;
        text-align: left;
    }

    table.returns-table td.return-action[b-er4oi1428x] {
        padding: 0.5rem 0.75rem 0.75rem;
    }

    table.returns-table .return-action-btn[b-er4oi1428x] {
        width: 100%;
        height: 2.5rem;
        font-size: 1rem;
    }
}
