@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.bundle.scp.css';
@import '_content/InfoasiaDrag/InfoasiaDrag.0g1lbj8zh2.bundle.scp.css';

/* /Components/BomRoutingCopyPreview.razor.rz.scp.css */
.bcp[b-coj4lrkln1] {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    border-top: 1px solid #c3c6d7;
    background: #fafbff;
}

.bcp-title[b-coj4lrkln1] {
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.bcp-subtitle[b-coj4lrkln1] {
    font-weight: 600;
    margin: 0.6rem 0 0.25rem;
}

.bcp-note[b-coj4lrkln1] {
    color: #666;
}

.bcp-header[b-coj4lrkln1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
}

.bcp-field[b-coj4lrkln1] {
    display: flex;
    gap: 0.35rem;
}

.bcp-k[b-coj4lrkln1] {
    color: #6b7280;
}

.bcp-v[b-coj4lrkln1] {
    font-weight: 600;
}

.bcp-scroll[b-coj4lrkln1] {
    max-height: 14rem;
    overflow: auto;
    border: 1px solid #dee2e6;
    background: #fff;
}

.bcp-table[b-coj4lrkln1] {
    border-collapse: collapse;
    width: 100%;
}

.bcp-table th[b-coj4lrkln1],
.bcp-table td[b-coj4lrkln1] {
    padding: 0.2rem 0.5rem;
    border-bottom: 1px solid #eef0f4;
    white-space: nowrap;
    text-align: left;
}

.bcp-table th[b-coj4lrkln1] {
    position: sticky;
    top: 0;
    background: #f1f3f9;
    font-weight: 600;
}
/* /Components/CsAttachmentCell.razor.rz.scp.css */
.cs-attachment-cell[b-2hl2hlmw8y] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    text-decoration: none;
    color: #3755c3;
    cursor: pointer;
}

.cs-attachment-cell img[b-2hl2hlmw8y] {
    width: 1.6rem;
    height: 1.6rem;
    object-fit: cover;
    border-radius: 0.25rem;
    border: 1px solid #dde3ef;
    flex-shrink: 0;
}

.cs-attachment-name[b-2hl2hlmw8y] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.82rem;
}

.cs-attachment-empty[b-2hl2hlmw8y] {
    color: #9aa5b1;
    font-size: 0.82rem;
}
/* /Components/CsCheckboxCell.razor.rz.scp.css */
.cs-checkbox-cell[b-996n1l4heu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cs-checkbox-cell input[type="checkbox"][b-996n1l4heu] {
    width: 16px;
    height: 16px;
    cursor: default;
    accent-color: #0070f2;
}
/* /Components/CsLinkCell.razor.rz.scp.css */
.cs-link-cell[b-2vanvqq93w] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
    color: #0070f2;
    text-decoration: none;
    vertical-align: middle;
}

.cs-link-cell:hover[b-2vanvqq93w] {
    color: #0058c2;
}

.cs-link-cell .material-symbols-outlined[b-2vanvqq93w] {
    font-size: 16px;
}

.cs-link-cell--btn[b-2vanvqq93w] {
    gap: 4px;
    margin-right: 0;
}
/* /Components/CsRichtext.razor.rz.scp.css */
/* The wrapper fills the cell's width (and a row's height) so hovering anywhere in the cell shows the
   tooltip, not just the small icon/preview. */
.cs-richtext-wrap[b-9vjq0kxo4n] {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 1.6rem;
    box-sizing: border-box;
    overflow: hidden;
}

/* Icon holder - not clickable (the content shows on hover only). */
.cs-richtext-btn[b-9vjq0kxo4n] {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0.15rem 0.35rem;
    border: 1px solid #dde3ef;
    border-radius: 0.25rem;
    background: #f5f7fb;
    color: #3755c3;
    font-size: 0.82rem;
    cursor: default;
    margin-right: 0.3rem;
}

.cs-richtext-btn .material-symbols-outlined[b-9vjq0kxo4n] {
    font-size: 1rem;
}

/* The preview is a row of pictures and text pieces (min-width:0 lets it shrink below its content so the cell never grows). */
.cs-richtext-preview[b-9vjq0kxo4n] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

/* A piece of text takes what the pictures leave and is cut with "..." when it is wider than that. */
.cs-richtext-text[b-9vjq0kxo4n] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-richtext-content[b-9vjq0kxo4n] {
    white-space: pre-wrap;
    word-break: break-word;
}

.cs-richtext-icon[b-9vjq0kxo4n] {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
}

/* Small and shrinkable, so the text next to it keeps room. */
.cs-richtext-thumb[b-9vjq0kxo4n] {
    height: 1.4rem;
    max-width: 2.2rem;
    min-width: 1rem;
    flex: 0 1 auto;
    object-fit: contain;
}

/* position:fixed so a table cell's overflow can't clip it; pointer-events:none so it never steals the hover. */
.cs-richtext-tip[b-9vjq0kxo4n] {
    position: fixed;
    z-index: 3000;
    max-width: 24rem;
    max-height: 20rem;
    overflow: hidden;
    padding: 0.4rem 0.6rem;
    background: #fff;
    border: 1px solid #c3c6d7;
    border-radius: 0.35rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    font-size: 0.8rem;
    pointer-events: none;
}

/* Inline with the text around it (text beside / after the picture stays in the card), and short enough that the text under a tall
   picture is not pushed past the card's max-height. */
.cs-richtext-tip-img[b-9vjq0kxo4n] {
    max-width: 20rem;
    max-height: 12rem;
    display: inline-block;
    vertical-align: middle;
    margin: 0.1rem 0.25rem;
}
/* /Components/CsTableCell.razor.rz.scp.css */
.cs-table-cell-btn[b-vk4mxh0z2u] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.5rem;
    border: 1px solid #dde3ef;
    border-radius: 0.25rem;
    background: #f5f7fb;
    color: #3755c3;
    font-size: 0.82rem;
    cursor: pointer;
}

.cs-table-cell-btn:hover[b-vk4mxh0z2u] {
    background: #e9edf8;
}

.cs-table-cell-btn .material-symbols-outlined[b-vk4mxh0z2u] {
    font-size: 1rem;
}

.cs-table-cell-icon[b-vk4mxh0z2u] {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
}
/* /Components/EsDateTimeObject.razor.rz.scp.css */
.es-datetime-object[b-dyabwdm6d6] {
    position: relative;
    display: inline-flex;
    width: 100%;
}

/* The real, directly interactive input -- its own value text is made invisible (not the element
   itself, and not display:none/hidden -- it must stay a normal, clickable/tappable/focusable
   control so opening the picker is a genuine user gesture the browser honors) so the overlay's
   custom-Format text shows in its place. The native calendar icon is a UA-rendered glyph, not
   text, so it stays visible through color:transparent. */
.es-datetime-native[b-dyabwdm6d6] {
    position: relative;
    z-index: 1;
    color: transparent;
    caret-color: transparent;
}

    /* !important because a host's per-field text colour is an inline style on this same input
       (EntryFieldValueEditor passes the field's Style through), which would otherwise outrank the
       transparent above and draw the native value on top of the overlay's formatted text -- the
       doubled, overlapping date. The overlay carries that colour instead (see OverlayStyle). */
    .es-datetime-native:not(:focus)[b-dyabwdm6d6] {
        color: transparent !important;
    }

    /* Browser UA stylesheets set "input:disabled { color: graytext; }", which outweighs the plain
       class selector above (0,1,1 vs 0,1,0) and makes the real native value show through in gray,
       overlapping the overlay's formatted text. Match that specificity to keep it transparent. */
    .es-datetime-native:disabled[b-dyabwdm6d6] {
        color: transparent;
    }

    /* While actually focused/editing, show the real native value so the browser's own mm/dd/yyyy
       (or date+time) editing UI is visible -- the overlay (its next sibling) hides at the same time
       so the two don't visually double up. */
    .es-datetime-native:focus[b-dyabwdm6d6] {
        color: inherit;
    }

    .es-datetime-native:focus + .es-datetime-overlay[b-dyabwdm6d6] {
        opacity: 0;
    }

/* Same box as the native input (box-sizing/border/padding/font come from the shared CssClass, e.g.
   ibr-input, applied to both) but non-interactive -- pointer-events:none lets every click/tap pass
   straight through to the real input beneath it. */
.es-datetime-overlay[b-dyabwdm6d6] {
    box-sizing: border-box;
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0.45rem 0.675rem;
    font-size: 0.86rem;
    color: #1a202c;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    pointer-events: none;
}
/* /Components/EsTableObject.razor.rz.scp.css */
.es-table-object[b-i7jvx1obm1] {
    width: 100%;
    min-width: 0;
    max-height: 16rem;
    overflow: auto;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
}

.es-table-object-table[b-i7jvx1obm1] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
    color: #191c1e;
}

    .es-table-object-table th[b-i7jvx1obm1],
    .es-table-object-table td[b-i7jvx1obm1] {
        padding: 0.35rem 0.55rem;
        text-align: left;
        white-space: nowrap;
        border-bottom: 1px solid #e2e5ee;
    }

    .es-table-object-table th[b-i7jvx1obm1] {
        position: sticky;
        top: 0;
        background: #f5f7fb;
        color: #4a5568;
        font-weight: 700;
        border-bottom: 1px solid #c3c6d7;
    }

    .es-table-object-table tbody tr:last-child td[b-i7jvx1obm1] {
        border-bottom: none;
    }

    .es-table-object-table tbody tr:hover[b-i7jvx1obm1] {
        background: #f8faff;
    }

.es-table-object-empty[b-i7jvx1obm1] {
    padding: 0.5rem 0;
    color: #737686;
    font-size: 0.8rem;
}

.es-table-object-toolbar[b-i7jvx1obm1] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.3rem;
}

.es-table-object-export[b-i7jvx1obm1] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    color: #0070f2;
    background: #fff;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    cursor: pointer;
}

    .es-table-object-export:hover[b-i7jvx1obm1] {
        background: #f1f5ff;
    }

    .es-table-object-export .material-symbols-outlined[b-i7jvx1obm1] {
        font-size: 1rem;
    }
/* /Components/FieldValueCell.razor.rz.scp.css */
.wo-field-value-icon[b-r1g9rl6ph7] {
    height: 20px;
    width: auto;
    vertical-align: middle;
}

@keyframes spin-b-r1g9rl6ph7 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hover card (WOColumnFormatConfig.HoverEnabled): the cell's host, and the card shown while hovered (pinned by a click). */
.fvc-hover-host[b-r1g9rl6ph7] { display: inline-block; max-width: 100%; }
.fvc-hover-backdrop[b-r1g9rl6ph7] { position: fixed; inset: 0; z-index: 999; }
.fvc-hover[b-r1g9rl6ph7] { position: fixed; z-index: 1000; max-width: 42rem; max-height: 50vh; overflow: auto; padding: 0.5rem 0.75rem; background: #fff; color: #1f2a37; border: 1px solid #d0d5da; border-radius: 0.375rem; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18); font-size: 0.8rem; font-weight: normal; text-align: left; pointer-events: none; }
.fvc-hover.pinned[b-r1g9rl6ph7] { pointer-events: auto; }
.fvc-hover.up[b-r1g9rl6ph7] { transform: translateY(-100%); }
.fvc-hover-title[b-r1g9rl6ph7] { font-weight: 600; max-width: 28rem; margin-bottom: 0.35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fvc-hover table[b-r1g9rl6ph7] { border-collapse: collapse; }
.fvc-hover th[b-r1g9rl6ph7], .fvc-hover td[b-r1g9rl6ph7] { padding: 0.15rem 0.5rem; text-align: left; white-space: nowrap; border-bottom: 1px solid #eceef0; }
/* /Components/InfoTooltipBadge.razor.rz.scp.css */
.itt-wrap[b-pfd9lfyzes] {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    vertical-align: middle;
}

.itt-btn[b-pfd9lfyzes] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: help;
    line-height: 1;
}

.itt-icon[b-pfd9lfyzes] {
    font-size: 15px;
    color: #2563eb;
}

    .itt-btn:hover .itt-icon[b-pfd9lfyzes],
    .itt-btn:focus-visible .itt-icon[b-pfd9lfyzes] {
        color: #1d4ed8;
    }

/* Light card matching the app's own popover/card language (ColumnPickerModal's wo-column-item,
   AppQueryCreatorV2's aqm-card, ModalCpn) - white surface, thin border, soft shadow, dark text.
   z-index sits just above regular in-page content/sticky headers (app.css tops out around 20 for
   those), well below Bootstrap's modal stack (1050+). */
.itt-popup[b-pfd9lfyzes] {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    max-width: 300px;
    background: #ffffff;
    color: #1a1f25;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .14);
    z-index: 30;
    font-size: 11px;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
    font-weight: 400;
}

    .itt-wrap:hover .itt-popup[b-pfd9lfyzes],
    .itt-btn:focus-visible ~ .itt-popup[b-pfd9lfyzes],
    .itt-wrap:focus-within .itt-popup[b-pfd9lfyzes] {
        display: block;
    }

.itt-popup-top[b-pfd9lfyzes] {
    bottom: calc(100% + 9px);
}

.itt-popup-bottom[b-pfd9lfyzes] {
    top: calc(100% + 9px);
}

    .itt-popup-top[b-pfd9lfyzes]::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        width: 9px;
        height: 9px;
        margin-top: -5px;
        transform: translateX(-50%) rotate(45deg);
        background: #ffffff;
        border-right: 1px solid #e2e8f0;
        border-bottom: 1px solid #e2e8f0;
    }

    .itt-popup-bottom[b-pfd9lfyzes]::after {
        content: '';
        position: absolute;
        bottom: 100%;
        left: 50%;
        width: 9px;
        height: 9px;
        margin-bottom: -5px;
        transform: translateX(-50%) rotate(45deg);
        background: #ffffff;
        border-left: 1px solid #e2e8f0;
        border-top: 1px solid #e2e8f0;
    }

.itt-popup-title[b-pfd9lfyzes] {
    font-weight: 700;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #2563eb;
    margin-bottom: 6px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eef2f6;
}

.itt-text[b-pfd9lfyzes] {
    color: #374151;
}
/* /Components/Layout/CustomReconnectModal.razor.rz.scp.css */
.my-reconnect-modal[b-fw6tghqtxt] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    background: rgba(0,0,0,0.5);
}

.my-reconnect-modal .reconnect-card[b-fw6tghqtxt] {
    background: #fff;
    color: #222;
    text-align: center;
    border-radius: 10px;
    padding: 2rem;
    width: 320px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.my-reconnect-modal .loader[b-fw6tghqtxt] {
    margin: 0 auto 1rem;
    width: 48px;
    height: 48px;
    border: 4px solid #ccc;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin-b-fw6tghqtxt 1s linear infinite;
}

@keyframes spin-b-fw6tghqtxt {
    to {
        transform: rotate(360deg);
    }
}

.retry-btn[b-fw6tghqtxt] {
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
}

.retry-btn:hover[b-fw6tghqtxt] {
    background: #2563eb;
}

.components-reconnect-hide[b-fw6tghqtxt] {
    display: none !important;
}
/* /Components/Layout/E_OfficeNestedLayout.razor.rz.scp.css */
.toggle-label[b-udrtuifsdr] {
    position: relative;
    display: block;
    width: 60px;
    height: 1.8rem;
    border: 1px solid #376682;
    border-radius:15px;
    cursor:pointer
}
.toggle-label input[type=checkbox][b-udrtuifsdr] {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
}
.toggle-label input[type=checkbox] + .back[b-udrtuifsdr] {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #cccccc;
    transition: background 150ms linear;
    border-radius: 15px;
}

.toggle-label input[type=checkbox]:checked + .back[b-udrtuifsdr] {
    background: #cccccc;
}
.toggle-label input[type=checkbox] + .back .toggle[b-udrtuifsdr] {
    display: block;
    position: absolute;
    content: ' ';
    background: #5496cd;
    width: 50%;
    height: 100%;
    transition: margin 150ms linear;
    border: 1px solid #418ac7;
    border-radius: 15px;
    /*opacity: 1;*/
}
.toggle-label input[type=checkbox]:checked + .back .toggle[b-udrtuifsdr] {
    margin-left: 29px;
}
.toggle-label .label[b-udrtuifsdr] {
    display: block;
    position: absolute;
    width: 50%;
    text-align: center;
}
.toggle-label .label.on[b-udrtuifsdr] {
    left: 0px;
    top: 3px
}
.toggle-label .label.off[b-udrtuifsdr] {
    right: 0px;
    top: 3px
}
disabled[b-udrtuifsdr] {
    background-color: #111418;
    opacity: 0.4;
    color: white;
}
.cursor-pointer[b-udrtuifsdr] {
    cursor: pointer
}

.d-none[b-udrtuifsdr] {
    display: none;
}

.opacity-hidden[b-udrtuifsdr] {
    opacity: 0;
    transition: opacity 0.5s;
}

.opacity-visible[b-udrtuifsdr] {
    opacity: 1;
    transition: opacity 0.5s;
}
/* /Components/Layout/LoginLayout.razor.rz.scp.css */
/*.page {
    display: flex;
    align-items: stretch;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.page-cover {
    flex: 1;
}

.page-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-cover-logo {
    position: absolute;
    top: 3rem;
    left: 3rem;
    width: 207px;
    height: auto;
}

.page-content {
    width: 30rem;
    overflow: auto;
}

.page-content-forms {
    margin: 5rem auto 0;
    max-width: 21.5rem;
}

.floater {
    float: left;
    height: 50%;
    width: 1px;
    margin-bottom: -10rem;
}

.center_box {
    clear: both;
    margin-left: auto;
    margin-right: auto;
}

.hide {
    display: none;
}

.selected {
    background: #fceecc;
}

.remember {
    margin-bottom: .825rem;
    font-size: .75rem;
}

.tab-item {
    color: #666;
    cursor: pointer;
    display: inline-block;
    height: 3rem;
    margin: 0 1rem;
    line-height: 3rem;
}

    .tab-item.selected {
        background-color: transparent;
        border-bottom: 3px solid #f1b41e;
        color: #f0ab00;
        font-family: "72-Bold";
    }

.tab {
    margin-bottom: 2.25rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-bottom: 1px solid #fbda85;
}

.tab.hide {
    display: none;
}*/

/* Select with filterable list --- end*/
/*.select {
    margin-bottom: 2.25rem;
    position: relative;
}

.select-value {
    display: flex;
    position: relative;
}

    .select-value input {
        cursor: pointer;
        margin-bottom: 0;
        padding-right: 2.125rem;
    }

.select-value-icon {
    cursor: pointer;
    font-size: 1.375rem;
    height: 3rem;
    padding: 0.25rem 0.75rem;
    position: absolute;
    right: 0;
}

.filterable-list {
    -webkit-box-shadow: 0px 0px 4px 0px rgba(59,59,59,0.75);
    -moz-box-shadow: 0px 0px 4px 0px rgba(59,59,59,0.75);
    box-shadow: 0px 0px 4px 0px rgba(59,59,59,0.75);
    background: #fff;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.filterable-list-search {
    position: relative;
    padding: 0.3125rem 0.625rem;
    border-bottom: 1px solid #d8d8d8;
    height: 3rem;
}

input.filterable-list-search-input {
    border-color: #d8d8d8;
    font-size: 0.875rem;
    height: 2.375rem;
    margin-bottom: 0;
}

.filterable-list-search-icon {
    position: absolute;
    right: 10px;
    top: 6px;
    padding: 0.625rem;
    color: #f0ab00;
    font-size: 0.875rem;
    cursor: pointer;
}

.filterable-list-list {
    margin: 0;
    margin-top: -1px;
    padding-left: 0;
    max-height: 15rem;
    overflow: auto;
    list-style-type: none;
}

.filterable-list-list-item {
    padding: 1rem;
    height: 3rem;
    border-top: 1px solid #d8d8d8;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filterable-list-list-item-company {
    height: 4.5rem;
}

.filterable-list-list-item:hover {
    background-color: #f3f3f2;
}

.filterable-list-list-item > span {
    display: block;
}

.filterable-list-list-item > span.belong {
    color: gray;
    font-size: 1rem;
}*/

/* Select with filterable list --- end*/

/*.error-message {
    background-color: #ffe2e1;
    border: 1px solid #fd514d;
    border-radius: 3px;
    display: flex;
    line-height: 1.25rem;
    margin-bottom: 2.25rem;
    min-height: 3rem;
    padding: 0.75rem;
}

.error-message.hide {
    display: none;
}

.error-message .notification-icon {
    color: #b90000;
    font-size: 0.875rem;
    margin-right: 0.75rem;
}

.error-message .error-message-content {
    color: #434343;
    font-size: 0.875rem;
}

.succeed-message .succeed-message-content {
    background-color: #71eeb2;
    border: 1px solid #82cbae;
    border-radius: 3px;
    display: flex;
    line-height: 1.25rem;
    margin-bottom: 2.25rem;
    min-height: 3rem;
    padding: 0.75rem;
}

.field-input {
    margin-bottom: 2.25rem;
}

.field-input input {
    margin-bottom: 0;
}

.show-tip {
    position: relative;
}

.error-tip {
    display: none;
}

.show-tip .error-tip {
    color: #b90000;
    display: inline-block;
    font-size: 0.625rem;
    padding-left: 0.75rem;
    position: absolute;
    top: 50px;
}

.show-tip > input,
.show-tip.select .select-value-input {
    border: 1px solid #b90000;
}

@media (max-width: 1130px) {
    .tab-item {
        margin: 0 0.5rem;
    }
}

@media (max-width: 950px) {
    .page {
        flex-direction: column;
        height: auto;
        overflow: initial;
    }

    .page-cover {
        height: 30vw;
    }

    .page-cover-logo {
        top: 7vw;
        left: 5vw;
        width: 207px;
    }

    .page-content {
        width: auto;
    }

    .floater {
        float: none;
        height: 2.25rem;
        width: auto;
        margin-bottom: 0px;
    }

    .tab-item {
        margin: 0 1.5rem;
    }

    .page-content-forms {
        margin: 2rem auto 0;
    }

    html {
        font-size: 75%;
    }
}*/
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/*.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row ::deep a, .top-row ::deep .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row ::deep a:hover, .top-row ::deep .btn-link:hover {
        text-decoration: underline;
    }

    .top-row ::deep a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row {
        justify-content: space-between;
    }

    .top-row ::deep a, .top-row ::deep .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth ::deep a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}*/

#blazor-error-ui[b-r215xwi2mi] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-r215xwi2mi] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
nav[b-ajqwrrfjf8] {
    background-color: #2c4a65;
    overflow: hidden;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    isolation: isolate;
    /* Must stay above any page's own sticky header (e.g. payment_request_detail.css's .prd-header at
       z-index:50) so the Menu button never gets covered, but below modal/overlay tiers (999+) so those
       still render on top of it as expected. */
    z-index: 500;
    opacity: 1;
    padding: 0 2.75rem;
    height: 2.75rem;
    line-height: 2.25rem;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

.btnCustum[b-ajqwrrfjf8] {
    display: block !important;
    position: unset !important;
}

.custumBT[b-ajqwrrfjf8] {
    border: none;
    margin: 0;
    padding: 0;
    position: unset !important;
    background: none !important;
}

.custumBTUS[b-ajqwrrfjf8] {
    border: 2px solid white;
    border-radius: 50%;
    height: 2rem;
    width: 2rem;
    margin: 0;
    padding: 0;
    background: none;
    position: unset !important;
}

.searchNavBar[b-ajqwrrfjf8] {
    position: relative;
}

    .searchNavBar img[b-ajqwrrfjf8] {
        position: absolute;
        top: 25%;
        right: 4%;
    }

#offcanvasNavbar[b-ajqwrrfjf8] {
    top: 2.75rem;
    width: 18.75rem;
    border-right: 1px solid #000;
    left: 0;
}

.navbar-toggler:focus[b-ajqwrrfjf8] {
    outline: none;
    box-shadow: none;
}

.searchNav[b-ajqwrrfjf8]::placeholder {
    font-style: italic;
    padding-left: 0.25rem
}

.navbar-nav a .active[b-ajqwrrfjf8] {
    background: red;
}

.itemNavMain[b-ajqwrrfjf8] {
    background-image: linear-gradient(to right, #376682, #A2C4D7);
    height: 2.2rem
}

.dropdownSettingMain[b-ajqwrrfjf8] {
    border-top: 1px solid #bfbfbf;
    transform: translate(-100px, 5px) !important;
    z-index: 10;
    width: 6.25rem;
    background-color: #3f5161;
    border-radius: 0.25rem;
    overflow: visible
}

.arrDpSetMain[b-ajqwrrfjf8] {
    width: 0.7rem;
    height: 0.7rem;
    background-color: #3f5161;
    position: absolute;
    top: -6px;
    right: 37px;
    transform: rotate(-45deg);
    border-top: 1px solid #bfbfbf;
    border-right: 1px solid #bfbfbf
}
.PieOfNotifications[b-ajqwrrfjf8] {
    width: 0.7rem;
    height: 0.7rem;
    background-color: #3f5161;
    position: absolute;
    top: -6px;
    right: 82px;
    transform: rotate(-45deg);
    border-top: 1px solid #bfbfbf;
    border-right: 1px solid #bfbfbf
}
/* Preview Button */
.preview-feature-btn[b-ajqwrrfjf8] {
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    color: white;
    font-size: 0.875rem;
}

    .preview-feature-btn:hover[b-ajqwrrfjf8] {
        opacity: 0.8;
    }

    .preview-feature-btn img[b-ajqwrrfjf8] {
        width: 25px;
        height: 25px;
    }

.preview-badge[b-ajqwrrfjf8] {
    display: none;
}

/* Modal Overlay */
.preview-modal-overlay[b-ajqwrrfjf8] {
    position: fixed;
    top: 2.75rem;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    display: none;
    z-index: 10000;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0;
    pointer-events: none;
}

    .preview-modal-overlay.show[b-ajqwrrfjf8] {
        display: flex;
    }

/* Modal Wrapper */
.preview-modal-wrapper[b-ajqwrrfjf8] {
    display: flex;
    height: 100%;
    pointer-events: auto;
    animation: slideInRight-b-ajqwrrfjf8 0.3s ease;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

/* Sidebar - Cột bên trái chứa nút thu gọn */
.preview-sidebar[b-ajqwrrfjf8] {
    background: #2c4a65;
    width: 30px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    position: relative;
    flex-shrink: 0;
}

/* Modal Content */
.preview-modal-content[b-ajqwrrfjf8] {
    background: #f8f9fa;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    width: 500px;
    max-width: 90vw;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease, opacity 0.3s ease;
}

@keyframes slideInRight-b-ajqwrrfjf8 {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Modal Header */
.preview-modal-header[b-ajqwrrfjf8] {
    padding: 16px 20px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #2c4a65;
    color: white;
    flex-shrink: 0;
}

.preview-modal-title[b-ajqwrrfjf8] {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
}

    .preview-modal-title img[b-ajqwrrfjf8] {
        width: 20px;
        height: 20px;
    }

.preview-close-btn[b-ajqwrrfjf8] {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 20px;
    line-height: 1;
    transition: all 0.2s;
}

    .preview-close-btn:hover[b-ajqwrrfjf8] {
        background: rgba(255, 255, 255, 0.2);
    }

/* Modal Body */
.preview-modal-body[b-ajqwrrfjf8] {
    padding: 0;
    overflow-y: auto;
    flex: 1;
    background: white;
}

/* Info Banner */
.preview-info-banner[b-ajqwrrfjf8] {
    padding: 20px;
    background: #e7f3ff;
    border-left: 4px solid #2c4a65;
    margin: 0;
    border-bottom: 1px solid #dee2e6;
}

.preview-info-content[b-ajqwrrfjf8] {
    flex: 1;
}

    .preview-info-content p[b-ajqwrrfjf8] {
        margin: 0 0 10px 0;
        color: #495057;
        line-height: 1.6;
        font-size: 0.9rem;
    }

        .preview-info-content p:last-child[b-ajqwrrfjf8] {
            margin-bottom: 0;
        }

.preview-learn-more[b-ajqwrrfjf8] {
    color: #0066cc;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

    .preview-learn-more:hover[b-ajqwrrfjf8] {
        color: #0052a3;
    }

/* Feature List */
.preview-features-list[b-ajqwrrfjf8] {
    display: flex;
    flex-direction: column;
}

.preview-feature-item[b-ajqwrrfjf8] {
    padding: 16px 20px;
    background: white;
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.2s;
    cursor: pointer;
}

    .preview-feature-item:nth-child(even)[b-ajqwrrfjf8] {
        background: #f8f9fa;
    }

    .preview-feature-item:hover[b-ajqwrrfjf8] {
        background: #e9ecef;
    }

.preview-feature-name[b-ajqwrrfjf8] {
    font-weight: 500;
    color: #212529;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.preview-feature-description[b-ajqwrrfjf8] {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Empty State */
.preview-empty-state[b-ajqwrrfjf8] {
    padding: 60px 20px;
    text-align: center;
}

.preview-empty-title[b-ajqwrrfjf8] {
    font-size: 1rem;
    font-weight: 500;
    color: #495057;
    margin: 0 0 8px 0;
}

.preview-empty-description[b-ajqwrrfjf8] {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Scrollbar */
.preview-modal-body[b-ajqwrrfjf8]::-webkit-scrollbar {
    width: 6px;
}

.preview-modal-body[b-ajqwrrfjf8]::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.preview-modal-body[b-ajqwrrfjf8]::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
}

    .preview-modal-body[b-ajqwrrfjf8]::-webkit-scrollbar-thumb:hover {
        background: #adb5bd;
    }

/* Collapse Button */
.preview-collapse-btn[b-ajqwrrfjf8] {
    width: 40px;
    height: 60px;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .preview-collapse-btn:hover[b-ajqwrrfjf8] {
        background: none;
    }

.preview-collapse-icon[b-ajqwrrfjf8] {
    color: white;
    font-size: 16px;
    transition: transform 0.3s ease;
}

/* Trạng thái modal khi bị thu gọn */
.preview-modal-wrapper.collapsed .preview-modal-content[b-ajqwrrfjf8] {
    width: 0;
    opacity: 0;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .preview-modal-content[b-ajqwrrfjf8] {
        width: 100%;
        max-width: 100%;
    }

    .preview-sidebar[b-ajqwrrfjf8] {
        width: 50px;
    }

    .preview-collapse-btn[b-ajqwrrfjf8] {
        width: 30px;
        height: 50px;
    }
}
/* /Components/Layout/PageNestedLayout.razor.rz.scp.css */
/* /Components/Modals/AdaptFilterFieldRow.razor.rz.scp.css */
.search-item.dragging[b-an1fe61vbj] {
    opacity: 0.4;
    background: #e1e2e4;
}

.search-item.wpd-drop-target[b-an1fe61vbj] {
    box-shadow: inset 0 2px 0 0 #004ac6;
}

.wo-column-drag-handle[b-an1fe61vbj] {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: #737686;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: element;
    touch-action: none;
}

    .wo-column-drag-handle:active[b-an1fe61vbj] {
        cursor: grabbing;
    }

    .wo-column-drag-handle.disabled[b-an1fe61vbj] {
        color: #c3c6d7;
        cursor: not-allowed;
    }

.column-textstyle-btn[b-an1fe61vbj] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.9rem;
    height: 1.9rem;
    padding: 0.2rem;
    border: 1px solid #babbbb;
    border-radius: 0.25rem;
    background: #fff;
    color: #333;
    cursor: pointer;
}

    .column-textstyle-btn .material-symbols-outlined[b-an1fe61vbj] {
        font-size: 1rem;
    }

    .column-textstyle-btn:hover[b-an1fe61vbj],
    .column-textstyle-btn.active[b-an1fe61vbj] {
        border-color: #0070f2;
        color: #0070f2;
    }

.column-colorrule-badge[b-an1fe61vbj] {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
    background: #0070f2;
    color: #fff;
    font-size: 0.6rem;
    line-height: 1;
    border-radius: 999px;
    min-width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.2rem;
}
/* /Components/Modals/AdaptFilterModalBeasForEdit.razor.rz.scp.css */
.modal-body[b-ccij1wcfs5] {
    padding: 0 !important;
}

.sap-format-controls[b-ccij1wcfs5] {
    flex-shrink: 0;
}

.sap-format-style-btn[b-ccij1wcfs5],
.sap-format-colorrule-btn[b-ccij1wcfs5] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.9rem;
    height: 1.9rem;
    padding: 0.2rem;
    border: 1px solid #babbbb;
    border-radius: 0.25rem;
    background: #fff;
    color: #333;
    cursor: pointer;
}

    .sap-format-style-btn .material-symbols-outlined[b-ccij1wcfs5],
    .sap-format-colorrule-btn .material-symbols-outlined[b-ccij1wcfs5] {
        font-size: 1rem;
    }

    .sap-format-style-btn:hover[b-ccij1wcfs5],
    .sap-format-style-btn.active[b-ccij1wcfs5],
    .sap-format-colorrule-btn:hover[b-ccij1wcfs5],
    .sap-format-colorrule-btn.active[b-ccij1wcfs5] {
        border-color: #0070f2;
        color: #0070f2;
    }

.sap-show-selected-btn[b-ccij1wcfs5] {
    background: none;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    color: #0070f2;
}

    .sap-show-selected-btn.active[b-ccij1wcfs5] {
        background: #e8f4ff;
        border-color: #0070f2;
    }

.sap-adapt-table[b-ccij1wcfs5] {
    border-collapse: collapse;
    width: 100%;
}

    .sap-adapt-table thead th[b-ccij1wcfs5] {
        /* sticky already establishes a positioning context for the absolutely-positioned
           .sap-col-resizer child - no separate "position: relative" needed. */
        position: sticky;
        top: 0;
        z-index: 2;
        background: #f5f6f7;
        border-bottom: 1px solid #d9d9d9;
        padding: 0.4rem 0.5rem;
        font-size: 0.75rem;
        font-weight: 600;
        color: #555;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
    }

    .sap-adapt-table tbody td[b-ccij1wcfs5] {
        padding: 0.3rem 0.5rem;
        vertical-align: middle;
    }

    .sap-adapt-table tbody tr[b-ccij1wcfs5] {
        cursor: pointer;
    }

    /* Drag-and-drop row reorder (see _dragListId/wpdInitRowDragReorder) - same visual convention
       as management_wo.css's .wpd-table rules, scoped to this table instead of pulling in that
       class's own td/th padding overrides. */
    .sap-adapt-table tbody tr.dragging[b-ccij1wcfs5] {
        opacity: 0.4;
        background: #f5f6f7;
    }

    .sap-adapt-table tbody tr.wpd-drop-target[b-ccij1wcfs5] {
        box-shadow: inset 0 2px 0 0 #0070f2;
    }

.sap-format-colorrule-badge[b-ccij1wcfs5] {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
    background: #0070f2;
    color: #fff;
    font-size: 0.6rem;
    line-height: 1;
    border-radius: 999px;
    min-width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.2rem;
}

.sap-format-format-input[b-ccij1wcfs5] {
    width: 6rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
    border: 1px solid #babbbb;
    border-radius: 0.25rem;
    background: #fff;
    color: #333;
}

/* Move First/Up/Down/Last nav buttons - disabled (see the .razor's disabled="..." conditions:
   no row selected, or a search is active) still carries cursor:pointer from its own inline
   style="..." attribute, which always outranks a plain external-stylesheet rule regardless of
   selector specificity - !important is the only way to actually win and show the blocked cursor
   on hover. */
.sap-nav-icon-btn:disabled[b-ccij1wcfs5] {
    cursor: not-allowed !important;
}

/* Password re-confirmation gate in front of "Save Default Setting" - only ever in the DOM while
   _showSaveDefaultPasswordConfirm is true (see the @if in the .razor file), so this doesn't need
   its own show/hide visibility rules the way ModalCpn-backed modals do. */
.sap-confirm-password-backdrop[b-ccij1wcfs5] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1060;
}

.sap-confirm-password-modal[b-ccij1wcfs5] {
    width: 22rem;
    max-width: 90vw;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.sap-confirm-password-header[b-ccij1wcfs5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.9rem;
    border-bottom: 1px solid #d9d9d9;
    font-weight: 600;
    color: #333;
}

.sap-confirm-password-close[b-ccij1wcfs5] {
    background: none;
    border: none;
    color: #737686;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.sap-confirm-password-body[b-ccij1wcfs5] {
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .sap-confirm-password-body p[b-ccij1wcfs5] {
        margin: 0;
        font-size: 0.8125rem;
        color: #737686;
    }

.sap-confirm-password-error[b-ccij1wcfs5] {
    font-size: 0.8125rem;
    color: #d92d20;
}

.sap-confirm-password-input[b-ccij1wcfs5] {
    width: 100%;
    height: 2.2rem;
}

.sap-confirm-password-footer[b-ccij1wcfs5] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.75rem 0.9rem;
    border-top: 1px solid #e5e5e5;
}
/* /Components/Modals/AdaptFilterModalSAP.razor.rz.scp.css */
.modal-body[b-79h6qs0sl7] {
    padding: 0 !important;
}

/* Drag-and-drop row reorder (see _dragListId/wpdInitRowDragReorder) - same visual convention as
   AdaptFilterModalBeasForEdit.razor.css's own .sap-adapt-table rules. The handle itself is styled
   inline in the .razor markup (matches this file's existing inline-style convention), these two
   classes are only ever toggled by the JS drag helper so they need real CSS. */
.sap-adapt-table tbody tr.dragging[b-79h6qs0sl7] {
    opacity: 0.4;
    background: #f5f6f7;
}

.sap-adapt-table tbody tr.wpd-drop-target[b-79h6qs0sl7] {
    box-shadow: inset 0 2px 0 0 #0070f2;
}

.sap-format-controls[b-79h6qs0sl7] {
    flex-shrink: 0;
}

.sap-format-style-btn[b-79h6qs0sl7],
.sap-format-colorrule-btn[b-79h6qs0sl7] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.9rem;
    height: 1.9rem;
    padding: 0.2rem;
    border: 1px solid #babbbb;
    border-radius: 0.25rem;
    background: #fff;
    color: #333;
    cursor: pointer;
}

    .sap-format-style-btn .material-symbols-outlined[b-79h6qs0sl7],
    .sap-format-colorrule-btn .material-symbols-outlined[b-79h6qs0sl7] {
        font-size: 1rem;
    }

    .sap-format-style-btn:hover[b-79h6qs0sl7],
    .sap-format-style-btn.active[b-79h6qs0sl7],
    .sap-format-colorrule-btn:hover[b-79h6qs0sl7],
    .sap-format-colorrule-btn.active[b-79h6qs0sl7] {
        border-color: #0070f2;
        color: #0070f2;
    }

    /* Locked row (LockedFieldCodes): button is inert but still shows its configured state. */
    .sap-format-style-btn:disabled[b-79h6qs0sl7],
    .sap-format-colorrule-btn:disabled[b-79h6qs0sl7] {
        opacity: 0.5;
        cursor: not-allowed;
    }

        .sap-format-style-btn:disabled:hover[b-79h6qs0sl7],
        .sap-format-colorrule-btn:disabled:hover[b-79h6qs0sl7] {
            border-color: #babbbb;
            color: #333;
        }

        .sap-format-style-btn.active:disabled:hover[b-79h6qs0sl7],
        .sap-format-colorrule-btn.active:disabled:hover[b-79h6qs0sl7] {
            border-color: #0070f2;
            color: #0070f2;
        }

.sap-show-selected-btn[b-79h6qs0sl7] {
    background: none;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    color: #0070f2;
}

    .sap-show-selected-btn.active[b-79h6qs0sl7] {
        background: #e8f4ff;
        border-color: #0070f2;
    }

.sap-action-placeholder[b-79h6qs0sl7] {
    flex-shrink: 0;
    width: 1.9rem;
    height: 1.9rem;
}

.sap-format-colorrule-badge[b-79h6qs0sl7] {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
    background: #0070f2;
    color: #fff;
    font-size: 0.6rem;
    line-height: 1;
    border-radius: 999px;
    min-width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.2rem;
}

.sap-format-type-select[b-79h6qs0sl7] {
    font-size: 0.75rem;
    padding: 0.25rem 0.3rem;
    border: 1px solid #babbbb;
    border-radius: 0.25rem;
    background: #fff;
    color: #333;
}

.sap-format-format-input[b-79h6qs0sl7] {
    width: 6rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
    border: 1px solid #babbbb;
    border-radius: 0.25rem;
    background: #fff;
    color: #333;
}

/* Row column input is type="number" in a narrow (3.5rem) th - the browser's native up/down
   spin buttons eat into that width and cover the digit itself. Hide them so the number stays
   fully visible; the Row value is edited by typing, not by the spinner. */
.sap-format-format-input[type="number"][b-79h6qs0sl7] {
    -moz-appearance: textfield;
}
.sap-format-format-input[type="number"][b-79h6qs0sl7]::-webkit-outer-spin-button,
.sap-format-format-input[type="number"][b-79h6qs0sl7]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Move First/Up/Down/Last nav buttons - disabled (see the .razor's disabled="..." conditions:
   no row selected, or a search is active) still carries cursor:pointer from its own inline
   style="..." attribute, which always outranks a plain external-stylesheet rule regardless of
   selector specificity - !important is the only way to actually win and show the blocked cursor
   on hover. */
.sap-nav-icon-btn:disabled[b-79h6qs0sl7] {
    cursor: not-allowed !important;
}

/* Password re-confirmation gate in front of "Save Default Setting" - only ever in the DOM while
   _showSaveDefaultPasswordConfirm is true (see the @if in the .razor file), so this doesn't need
   its own show/hide visibility rules the way ModalCpn-backed modals do. */
/* Section combobox - a button (shows the current value) that toggles this open list underneath it.
   A custom dropdown rather than a native <select> because a native <option> can't offer a context
   menu of its own (browsers own right-click on <option> entirely) - see AdaptFilterModalSAP's
   OnSectionOptionContextMenu. */
.sap-section-trigger[b-79h6qs0sl7] {
    text-align: left;
    cursor: pointer;
}

/* position:fixed (not absolute/top:100%) - the dropdown is rendered as a sibling after
   .sap-list-container, positioned via _sectionDropdownX/Y (see ToggleSectionDropdown), not anchored
   under .sap-section-trigger via CSS. .sap-list-container scrolls (overflow-y:auto); an
   absolutely-positioned descendant of a scrolling container is clipped to that container's bounds
   for any row near the bottom regardless of z-index, which is exactly why this moved out. */
.sap-section-dropdown[b-79h6qs0sl7] {
    position: fixed;
    z-index: 1070;
    width: 14rem;
    max-height: 16rem;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #babbbb;
    border-radius: 0.35rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.sap-section-dropdown-item[b-79h6qs0sl7] {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .sap-section-dropdown-item:hover[b-79h6qs0sl7] {
        background: #f0f6ff;
    }

    .sap-section-dropdown-item.active[b-79h6qs0sl7] {
        background: #e8f4ff;
        color: #0070f2;
        font-weight: 600;
    }

.sap-section-dropdown-new[b-79h6qs0sl7] {
    display: flex;
    gap: 0.3rem;
    padding: 0.4rem;
    border-top: 1px solid #e5e5e5;
    position: sticky;
    bottom: 0;
    background: #fff;
}

.sap-section-dropdown-new .sap-format-format-input[b-79h6qs0sl7] {
    flex: 1;
    min-width: 0;
}

.sap-btn-tiny[b-79h6qs0sl7] {
    font-size: 0.72rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid #babbbb;
    border-radius: 0.25rem;
    background: #fff;
    color: #333;
    cursor: pointer;
}

.sap-btn-tiny-primary[b-79h6qs0sl7] {
    background: #0070f2;
    border-color: #0070f2;
    color: #fff;
}

/* Section combobox's right-click "Delete Section" menu - invisible full-screen backdrop just to
   catch the next click/right-click and close the menu, same idea as .sap-confirm-password-backdrop
   below but transparent (this isn't a modal, just a small positioned menu). */
.sap-context-menu-backdrop[b-79h6qs0sl7] {
    position: fixed;
    inset: 0;
    z-index: 1069;
}

.sap-context-menu[b-79h6qs0sl7] {
    position: fixed;
    z-index: 1070;
    background: #fff;
    border: 1px solid #babbbb;
    border-radius: 0.35rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    padding: 0.25rem;
    min-width: 10rem;
}

.sap-context-menu-item[b-79h6qs0sl7] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.4rem 0.6rem;
    border: none;
    background: none;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    color: #dc3545;
    cursor: pointer;
    white-space: nowrap;
}

    .sap-context-menu-item:hover[b-79h6qs0sl7] {
        background: #fdecea;
    }

    .sap-context-menu-item .material-symbols-outlined[b-79h6qs0sl7] {
        font-size: 1rem;
    }

/* .sap-confirm-password-* moved to the global wwwroot/css/app.css - ColumnPickerModal and
   EntryFromSettingModal render this same markup for their own "Save Default Setting" gate, and
   Blazor's per-component CSS isolation meant a scoped copy here never applied to their markup. */
/* /Components/Modals/AppCreators/AppQueryQrModal.razor.rz.scp.css */
/* Uses --aqm-* custom properties and .aqm-btn/.material-symbols-outlined base rules defined globally
   in AppQueryCreatorV2.razor's own <style> block (a plain global <style> tag, so it still cascades
   here). ModalCpn's body is text-align:center, hence the explicit left alignment. */

.aqq-body[b-k5eqwszf3y] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.aqq-intro[b-k5eqwszf3y] {
    font-size: 12px;
    color: var(--aqm-muted);
}

.aqq-empty[b-k5eqwszf3y] {
    padding: 10px 12px;
    border: 1px dashed var(--aqm-border);
    border-radius: var(--aqm-r);
    font-size: 12px;
    font-style: italic;
    color: var(--aqm-label);
}

.aqq-field[b-k5eqwszf3y] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.aqq-label[b-k5eqwszf3y] {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--aqm-text);
}

.aqq-req[b-k5eqwszf3y] {
    margin-left: 2px;
    color: #dc3545;
}

.aqq-name[b-k5eqwszf3y] {
    margin-left: 6px;
    font-family: var(--aqm-mono);
    font-size: 10.5px;
    font-weight: 400;
    color: var(--aqm-label);
}

.aqq-input[b-k5eqwszf3y] {
    width: 100%;
    height: 32px;
    padding: 0 9px;
    font-size: 12px;
    color: var(--aqm-text);
    background: var(--aqm-inner);
    border: 1px solid var(--aqm-border);
    border-radius: var(--aqm-r);
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

    .aqq-input:focus[b-k5eqwszf3y] {
        border-color: var(--aqm-border-focus);
        box-shadow: 0 0 0 2px rgba(14, 165, 233, .12);
    }

    .aqq-input.invalid[b-k5eqwszf3y] {
        border-color: #dc3545;
    }

.aqq-hint[b-k5eqwszf3y] {
    font-size: 10.5px;
    color: var(--aqm-muted);
}

.aqq-error[b-k5eqwszf3y] {
    font-size: 10.5px;
    color: #dc3545;
}

.aqq-check[b-k5eqwszf3y] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 12px;
    color: var(--aqm-text);
    cursor: pointer;
}

.aqq-note[b-k5eqwszf3y] {
    padding: 8px 10px;
    border-radius: var(--aqm-r);
    background: var(--aqm-inner);
    font-size: 10.5px;
    line-height: 1.4;
    color: var(--aqm-muted);
}

.aqq-alert[b-k5eqwszf3y] {
    padding: 8px 10px;
    border: 1px solid #f1aeb5;
    border-radius: var(--aqm-r);
    background: #f8d7da;
    font-size: 12px;
    color: #842029;
}

.aqq-result[b-k5eqwszf3y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--aqm-border);
}

.aqq-qr img[b-k5eqwszf3y] {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
    image-rendering: pixelated;
}

.aqq-url[b-k5eqwszf3y] {
    width: 100%;
    padding: 6px 9px;
    border: 1px solid var(--aqm-border);
    border-radius: var(--aqm-r);
    background: var(--aqm-inner);
    font-family: var(--aqm-mono);
    font-size: 11px;
    color: var(--aqm-text);
    word-break: break-all;
    user-select: all;
}

.aqq-actions[b-k5eqwszf3y] {
    display: flex;
    gap: 8px;
}

.aqq-generate:disabled[b-k5eqwszf3y] {
    opacity: .5;
    cursor: not-allowed;
}
/* /Components/Modals/AppCreators/CardColorPicker.razor.rz.scp.css */
/* Uses the --aqm-* custom properties defined globally in AppQueryCreatorV2.razor's own <style> block. */

.ccp[b-t18jjzm8up] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
}

.ccp-swatch[b-t18jjzm8up] {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 40px;
    height: 30px;
    border-radius: var(--aqm-r);
}

    .ccp-swatch input[type=color][b-t18jjzm8up] {
        width: 100%;
        height: 100%;
        padding: 2px;
        border: 1px solid var(--aqm-border);
        border-radius: var(--aqm-r);
        background: var(--aqm-card);
        cursor: pointer;
    }

.ccp.unset .ccp-swatch input[type=color][b-t18jjzm8up] {
    opacity: .35;
}

/* An unset color whose default is "transparent": a checkerboard swatch (the picker itself stays
   clickable on top, just invisible). */
.ccp.transparent .ccp-swatch[b-t18jjzm8up] {
    border: 1px solid var(--aqm-border);
    background-color: #fff;
    background-image: linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%), linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%);
    background-size: 10px 10px;
    background-position: 0 0, 5px 5px;
}

.ccp.transparent .ccp-swatch input[type=color][b-t18jjzm8up] {
    opacity: 0;
}

.ccp-unset[b-t18jjzm8up] {
    font-size: 11px;
    font-weight: 400;
    font-style: italic;
    color: var(--aqm-label);
}

.ccp-clear[b-t18jjzm8up] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid var(--aqm-border);
    border-radius: 50%;
    background: var(--aqm-card);
    color: var(--aqm-muted);
    cursor: pointer;
}

    .ccp-clear .material-symbols-outlined[b-t18jjzm8up] {
        font-size: 14px;
    }
/* /Components/Modals/AppCreators/CardLayoutCanvas.razor.rz.scp.css */
/* Uses the --aqm-* custom properties defined globally in AppQueryCreatorV2.razor's own <style> block. */

/* Base look of the mobile app's card (Card.razor.css .custom-card: white, 0.5rem radius, 0.5rem
   padding), which the card style's inline values then override. Capped to roughly a phone's card
   width so wrap/truncate behave the way they will on the device. */
.cvs-card[b-ps7666up0q] {
    width: 100%;
    max-width: 380px;
    padding: 8px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
    font-size: 16px;
    color: #000;
    text-align: left;
}

    /* Text selection would fight HTML drag and drop while editing. */
    .cvs-card.editing[b-ps7666up0q] {
        user-select: none;
    }

.cvs-empty[b-ps7666up0q] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    font-size: 12px;
    font-style: italic;
    text-align: center;
    color: var(--aqm-label);
}

.cvs-row[b-ps7666up0q] {
    display: flex;
    align-items: stretch;
    gap: 4px;
    border-radius: 6px;
}

    .cvs-card.editing .cvs-row[b-ps7666up0q] {
        padding: 3px 2px;
        cursor: default;
    }

        .cvs-card.editing .cvs-row.selected[b-ps7666up0q] {
            background: rgba(0, 140, 130, .07);
            box-shadow: inset 3px 0 0 0 var(--aqm-teal);
        }

    .cvs-row.dragging[b-ps7666up0q] {
        opacity: .4;
    }

    .cvs-row.dropTarget[b-ps7666up0q] {
        outline: 2px dashed var(--aqm-primary);
        outline-offset: 1px;
    }

.cvs-handle[b-ps7666up0q] {
    flex: 0 0 16px;
    align-self: center;
    font-size: 16px;
    color: #adb5bd;
    cursor: grab;
}

/* The row's own flex layout (wrap/truncate, gap) comes from AppQueryCardStyleBuilder.Row inline;
   this only lets it take whatever the handle and add-cell button leave over. */
.cvs-cells[b-ps7666up0q] {
    flex: 1 1 auto;
    min-width: 0;
}

.cvs-cell[b-ps7666up0q] {
    border-radius: 4px;
}

.cvs-card.editing .cvs-cell[b-ps7666up0q] {
    min-height: 22px;
    outline: 1px dashed rgba(0, 0, 0, .18);
    outline-offset: 1px;
    cursor: pointer;
}

    .cvs-card.editing .cvs-cell:hover[b-ps7666up0q] {
        outline-color: var(--aqm-primary);
    }

    .cvs-card.editing .cvs-cell.selected[b-ps7666up0q] {
        outline: 2px solid var(--aqm-teal);
    }

.cvs-divider[b-ps7666up0q] {
    padding: 4px 0;
}

.cvs-hr[b-ps7666up0q] {
    display: block;
}

.cvs-ph[b-ps7666up0q] {
    font-size: 12px;
    font-style: italic;
    color: var(--aqm-label);
}

/* Defaults the mobile app applies to a value and a label (AppQueryCustomCard.razor.css); the gap
   between them comes from AppQueryCardStyleBuilder.CellBox (LabelGap). Keep in step with
   AppQueryCardDefaults. */
.cvs-val[b-ps7666up0q],
.cvs-valInline[b-ps7666up0q] {
    color: #000;
    font-weight: 600;
}

.cvs-lbl[b-ps7666up0q] {
    font-size: 12px;
    color: #4b5563;
}

.cvs-lblInline[b-ps7666up0q] {
    flex: 0 1 auto;
    max-width: 40%;
    font-size: 12px;
    color: #4b5563;
}

.cvs-valInline[b-ps7666up0q] {
    flex: 1 1 0;
    min-width: 0;
}

/* Add-cell button: sits on the right of the row, so a single cell takes most of the width. */
.cvs-plus[b-ps7666up0q],
.cvs-addRow[b-ps7666up0q] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px dashed var(--aqm-border);
    background: transparent;
    color: var(--aqm-muted);
    cursor: pointer;
}

    .cvs-plus:hover[b-ps7666up0q],
    .cvs-addRow:hover[b-ps7666up0q] {
        border-color: var(--aqm-primary);
        color: var(--aqm-primary);
        background: rgba(0, 99, 152, .06);
    }

    .cvs-plus .material-symbols-outlined[b-ps7666up0q],
    .cvs-addRow .material-symbols-outlined[b-ps7666up0q] {
        font-size: 18px;
    }

.cvs-plus[b-ps7666up0q] {
    flex: 0 0 26px;
    align-self: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
}

.cvs-addRow[b-ps7666up0q] {
    width: 100%;
    height: 28px;
    border-radius: 8px;
}
/* /Components/Modals/AppCreators/CardLayoutDesignerModal.razor.rz.scp.css */
/* Uses --aqm-* custom properties and .aqm-btn/.material-symbols-outlined base rules defined globally
   in AppQueryCreatorV2.razor's own <style> block (a plain global <style> tag, so it still cascades
   here). ModalCpn's body is text-align:center, hence the explicit left alignment. */

/* ── Full screen ──
   ModalCpn's own dialog/content/body can't be styled from here (this component's scope attribute
   never lands on ModalCpn's markup, so ::deep has nothing to hang off). Instead the dialog is sized
   and made a flex container through ModalCpn's Style parameter, which stretches .modal-content to
   the full height; .modal-body then grows to fill whatever the header and footer leave (Bootstrap
   gives it flex:1 1 auto), which keeps the footer pinned to the bottom. .cld-layout is positioned
   absolutely inside that body (.modal-body is position:relative), so it fills the body without its
   content ever being able to make the modal taller than the screen. ── */
.cld-layout[b-cb6zz8cgah] {
    position: absolute;
    inset: 12px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 16px;
    text-align: left;
}

.cld-left[b-cb6zz8cgah] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

.cld-right[b-cb6zz8cgah] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    overflow-y: auto;
    padding-right: 6px;
}

/* Exit button in the modal header's top-right corner. */
.cld-close[b-cb6zz8cgah] {
    position: absolute;
    top: 8px;
    right: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #666;
    cursor: pointer;
}

    .cld-close:hover[b-cb6zz8cgah] {
        background: #e9ecef;
        color: #212529;
    }

    .cld-close .material-symbols-outlined[b-cb6zz8cgah] {
        font-size: 22px;
    }

/* ── Left: card canvas ── */
.cld-toolbar[b-cb6zz8cgah] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.cld-hint[b-cb6zz8cgah] {
    font-size: 11.5px;
    color: var(--aqm-muted);
}

.cld-segment[b-cb6zz8cgah] {
    display: inline-flex;
    flex: 0 0 auto;
    border: 1px solid var(--aqm-border);
    border-radius: var(--aqm-r);
    overflow: hidden;
}

    .cld-segment button[b-cb6zz8cgah] {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 5px 12px;
        border: none;
        background: var(--aqm-card);
        font-size: 12px;
        font-weight: 600;
        color: var(--aqm-muted);
        cursor: pointer;
    }

        .cld-segment button + button[b-cb6zz8cgah] {
            border-left: 1px solid var(--aqm-border);
        }

        .cld-segment button.active[b-cb6zz8cgah] {
            background: var(--aqm-primary);
            color: #fff;
        }

    .cld-segment .material-symbols-outlined[b-cb6zz8cgah] {
        font-size: 16px;
    }

.cld-stage[b-cb6zz8cgah] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 16px;
    border: 1px solid var(--aqm-border);
    border-radius: var(--aqm-rlg);
    background: #e9ecef;
}

/* ── Right: edit column. Panels size to their content and the column scrolls. ── */
.cld-actions[b-cb6zz8cgah] {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid var(--aqm-border);
    border-radius: var(--aqm-rlg);
    background: var(--aqm-card);
}

.cld-panel[b-cb6zz8cgah] {
    flex: 0 0 auto;
    height: auto;
    border: 1px solid var(--aqm-border);
    border-radius: var(--aqm-rlg);
    background: var(--aqm-card);
    overflow: hidden;
}

.cld-panelHdr[b-cb6zz8cgah] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--aqm-text);
    background: var(--aqm-inner);
    border-bottom: 1px solid var(--aqm-border);
}

.cld-grow[b-cb6zz8cgah] {
    flex: 1 1 auto;
}

.cld-panelBody[b-cb6zz8cgah] {
    padding: 10px 12px;
}

.cld-grid[b-cb6zz8cgah] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px 10px;
    align-items: end;
}

.cld-cellForm[b-cb6zz8cgah] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cld-noSelection[b-cb6zz8cgah] {
    padding: 12px;
    border: 1px dashed var(--aqm-border);
    border-radius: var(--aqm-rlg);
    font-size: 12px;
    font-style: italic;
    color: var(--aqm-label);
}

.cld-field[b-cb6zz8cgah] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--aqm-muted);
}

    .cld-field input[type=number][b-cb6zz8cgah],
    .cld-field input[type=text][b-cb6zz8cgah],
    .cld-field select[b-cb6zz8cgah] {
        width: 100%;
        height: 30px;
        padding: 0 8px;
        font-size: 12px;
        color: var(--aqm-text);
        border: 1px solid var(--aqm-border);
        border-radius: var(--aqm-r);
        background: var(--aqm-card);
    }

.cld-hintLine[b-cb6zz8cgah] {
    font-size: 11px;
    color: var(--aqm-muted);
}

/* One "group by" field: a column picker plus a remove button, like a value-converter row, but
   clickable to select that field for the Cell settings/Text editor panels below. */
.cld-groupRow[b-cb6zz8cgah] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    border-radius: var(--aqm-r);
    cursor: pointer;
}

    .cld-groupRow:hover[b-cb6zz8cgah] {
        background: var(--aqm-inner);
    }

    .cld-groupRow.selected[b-cb6zz8cgah] {
        outline: 2px solid var(--aqm-teal);
        background: rgba(0, 140, 130, .07);
    }

    .cld-groupRow select[b-cb6zz8cgah] {
        flex: 1 1 0;
        min-width: 0;
        height: 30px;
        padding: 0 8px;
        font-size: 12px;
        color: var(--aqm-text);
        border: 1px solid var(--aqm-border);
        border-radius: var(--aqm-r);
        background: var(--aqm-card);
    }

/* One value-converter entry: original value -> displayed text, with a remove button. */
.cld-mapRow[b-cb6zz8cgah] {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .cld-mapRow input[type=text][b-cb6zz8cgah] {
        flex: 1 1 0;
        min-width: 0;
        height: 30px;
        padding: 0 8px;
        font-size: 12px;
        color: var(--aqm-text);
        border: 1px solid var(--aqm-border);
        border-radius: var(--aqm-r);
        background: var(--aqm-card);
    }

.cld-mapArrow[b-cb6zz8cgah] {
    flex: 0 0 auto;
    font-size: 16px;
    color: var(--aqm-muted);
}

.cld-check[b-cb6zz8cgah] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--aqm-text);
    cursor: pointer;
}

.cld-subTitle[b-cb6zz8cgah] {
    padding-top: 8px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--aqm-muted);
    border-top: 1px solid var(--aqm-border);
}

    .cld-subTitle:first-child[b-cb6zz8cgah] {
        padding-top: 0;
        border-top: none;
    }

.cld-iconBtn[b-cb6zz8cgah] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid var(--aqm-border);
    border-radius: var(--aqm-r);
    background: var(--aqm-card);
    color: var(--aqm-muted);
    cursor: pointer;
}

    .cld-iconBtn:hover:not(:disabled)[b-cb6zz8cgah] {
        border-color: var(--aqm-primary);
        color: var(--aqm-primary);
    }

    .cld-iconBtn:disabled[b-cb6zz8cgah] {
        opacity: .4;
        cursor: not-allowed;
    }

    .cld-iconBtn .material-symbols-outlined[b-cb6zz8cgah] {
        font-size: 16px;
    }

/* Footer: solid red, since the footer is a dark slate bar where a red outline would barely show. */
.cld-btnDanger[b-cb6zz8cgah] {
    border: 1px solid #dc3545;
    background: #dc3545;
    color: #fff;
}

    .cld-btnDanger:hover[b-cb6zz8cgah] {
        border-color: #bb2d3b;
        background: #bb2d3b;
        color: #fff;
    }

/* In the right column (white background): red outline. */
.cld-btnOutlineDanger[b-cb6zz8cgah] {
    border: 1px solid #dc3545;
    background: transparent;
    color: #dc3545;
}

    .cld-btnOutlineDanger:hover:not(:disabled)[b-cb6zz8cgah] {
        background: #dc3545;
        color: #fff;
    }

    .cld-btnOutlineDanger:disabled[b-cb6zz8cgah] {
        opacity: .4;
        cursor: not-allowed;
    }

@media (max-width: 900px) {
    .cld-layout[b-cb6zz8cgah] {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    }
}
/* /Components/Modals/AppCreators/CardLayoutHeaderRow.razor.rz.scp.css */
/* Mirrors the body card's look in CardLayoutCanvas.razor.css (.cvs-*) so the header reads as a card
   like any other - kept as a separate, smaller copy since CSS isolation means the two components
   can't share rules. Keep the two in sync. */
.chr-card[b-0v4ol8zbwp] {
    width: 100%;
    max-width: 380px;
    padding: 8px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
    font-size: 16px;
    color: #000;
    text-align: left;
}

    .chr-card.editing[b-0v4ol8zbwp] {
        user-select: none;
    }

    /* See AppQueryResultView.razor.css's .appquery-result-group-header comment: sticky is bounded by
       this element's own parent (CardLayoutStage's .cls-group), so it releases once that group's
       cards scroll past. */
    .chr-card.sticky[b-0v4ol8zbwp] {
        position: sticky;
        top: 0;
        z-index: 2;
    }

.chr-empty[b-0v4ol8zbwp] {
    padding: 6px 2px;
    font-size: 12px;
    font-style: italic;
    text-align: center;
    color: var(--aqm-label);
}

.chr-cell[b-0v4ol8zbwp] {
    border-radius: 4px;
}

.chr-card.editing .chr-cell[b-0v4ol8zbwp] {
    min-height: 22px;
    outline: 1px dashed rgba(0, 0, 0, .18);
    outline-offset: 1px;
    cursor: pointer;
}

    .chr-card.editing .chr-cell:hover[b-0v4ol8zbwp] {
        outline-color: var(--aqm-primary);
    }

    .chr-card.editing .chr-cell.selected[b-0v4ol8zbwp] {
        outline: 2px solid var(--aqm-teal);
    }

.chr-ph[b-0v4ol8zbwp] {
    font-size: 12px;
    font-style: italic;
    color: var(--aqm-label);
}

/* Defaults the mobile app applies to a value and a label (AppQueryCustomCard.razor.css); the gap
   between them comes from AppQueryCardStyleBuilder.CellBox (LabelGap). Keep in step with
   AppQueryCardDefaults. */
.chr-val[b-0v4ol8zbwp],
.chr-valInline[b-0v4ol8zbwp] {
    color: #000;
    font-weight: 600;
}

.chr-lbl[b-0v4ol8zbwp] {
    font-size: 12px;
    color: #4b5563;
}

.chr-lblInline[b-0v4ol8zbwp] {
    flex: 0 1 auto;
    max-width: 40%;
    font-size: 12px;
    color: #4b5563;
}

.chr-valInline[b-0v4ol8zbwp] {
    flex: 1 1 0;
    min-width: 0;
}
/* /Components/Modals/AppCreators/CardLayoutStage.razor.rz.scp.css */
/* Capped to roughly a phone's card width, like CardLayoutCanvas's card, so wrap/truncate behave the
   way they will on the device. */
.cls-stack[b-0hzxt5wba1] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 380px;
}

.cls-group[b-0hzxt5wba1] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cls-cards[b-0hzxt5wba1] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
/* /Components/Modals/AppCreators/CardTextStyleEditor.razor.rz.scp.css */
/* Uses the --aqm-* custom properties defined globally in AppQueryCreatorV2.razor's own <style> block. */

.cse-grid[b-l2rzdqa96i] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px 10px;
    text-align: left;
}

.cse-field[b-l2rzdqa96i] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--aqm-muted);
}

    .cse-field input[type=number][b-l2rzdqa96i],
    .cse-field select[b-l2rzdqa96i] {
        width: 100%;
        height: 30px;
        padding: 0 8px;
        font-size: 12px;
        color: var(--aqm-text);
        border: 1px solid var(--aqm-border);
        border-radius: var(--aqm-r);
        background: var(--aqm-card);
    }

.cse-checks[b-l2rzdqa96i] {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--aqm-text);
}

    .cse-checks label[b-l2rzdqa96i] {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        margin: 0;
        cursor: pointer;
    }
/* /Components/Modals/AppCreators/MobileLayoutSettingsModal.razor.rz.scp.css */
/* Uses --aqm-* custom properties and .aqm-btn/.aqm-sec-hint/.material-symbols-outlined base rules
   defined globally in AppQueryCreatorV2.razor's own <style> block (that block is a plain global
   <style> tag, not CSS-isolated, so it still cascades here). */

.aqm-ml-modeGrid[b-4j6h5teyo5] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.aqm-ml-modeCard[b-4j6h5teyo5] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    padding: 12px 14px;
    border: 1.5px solid var(--aqm-border);
    border-radius: var(--aqm-rlg);
    background: var(--aqm-inner);
    cursor: pointer;
    transition: border-color .15s, background .15s, box-shadow .15s;
}

    .aqm-ml-modeCard:hover[b-4j6h5teyo5] {
        border-color: var(--aqm-primary);
    }

    .aqm-ml-modeCard.active[b-4j6h5teyo5] {
        border-color: var(--aqm-primary);
        background: #eaf4fc;
        box-shadow: 0 0 0 3px rgba(0,99,152,0.10);
    }

.aqm-ml-modeIconRow[b-4j6h5teyo5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aqm-ml-modeIcon[b-4j6h5teyo5] {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--aqm-card);
    border: 1px solid var(--aqm-border);
    color: var(--aqm-muted);
    flex-shrink: 0;
}

    .aqm-ml-modeCard.active .aqm-ml-modeIcon[b-4j6h5teyo5] {
        background: var(--aqm-primary);
        border-color: var(--aqm-primary);
        color: #fff;
    }

.aqm-ml-modeCheck[b-4j6h5teyo5] {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--aqm-border);
    flex-shrink: 0;
    background: var(--aqm-card);
}

    .aqm-ml-modeCard.active .aqm-ml-modeCheck[b-4j6h5teyo5] {
        border-color: var(--aqm-primary);
        background: var(--aqm-primary);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .aqm-ml-modeCard.active .aqm-ml-modeCheck[b-4j6h5teyo5]::after {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #fff;
    }

.aqm-ml-modeTitle[b-4j6h5teyo5] {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--aqm-text);
}

.aqm-ml-modeDesc[b-4j6h5teyo5] {
    font-size: 10.5px;
    color: var(--aqm-muted);
    line-height: 1.4;
}

.aqm-ml-panel[b-4j6h5teyo5] {
    border: 1px solid var(--aqm-border);
    border-radius: var(--aqm-rlg);
    overflow: hidden;
}

.aqm-ml-panelHdr[b-4j6h5teyo5] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--aqm-inner);
    border-bottom: 1px solid var(--aqm-border);
}

.aqm-ml-panelHdr .material-symbols-outlined[b-4j6h5teyo5] {
    font-size: 17px;
    color: var(--aqm-primary);
}

.aqm-ml-panelTtl[b-4j6h5teyo5] {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--aqm-text);
    flex: 1;
}

.aqm-ml-panelBody[b-4j6h5teyo5] {
    padding: 12px 14px;
}

.aqm-ml-panelHint[b-4j6h5teyo5] {
    font-size: 11px;
    color: var(--aqm-muted);
    line-height: 1.5;
    margin: 0 0 12px;
}

.aqm-ml-chips[b-4j6h5teyo5] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    min-height: 28px;
    padding: 8px 10px;
    background: var(--aqm-inner);
    border: 1px dashed var(--aqm-border);
    border-radius: var(--aqm-r);
}

.aqm-ml-chipsEmpty[b-4j6h5teyo5] {
    font-size: 11px;
    color: var(--aqm-label);
    font-style: italic;
    align-self: center;
}

.aqm-ml-chip[b-4j6h5teyo5] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--aqm-teal);
    color: #fff;
    border-radius: 99px;
    padding: 3px 6px 3px 10px;
    font-size: 11px;
    font-weight: 600;
    cursor: grab;
}

    .aqm-ml-chip.dragging[b-4j6h5teyo5] {
        opacity: .45;
    }

.aqm-ml-chipDrag[b-4j6h5teyo5] {
    font-size: 14px;
    opacity: .8;
}

.aqm-ml-chipRemove[b-4j6h5teyo5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.22);
    color: #fff;
    cursor: pointer;
    padding: 0;
}

    .aqm-ml-chipRemove:hover[b-4j6h5teyo5] {
        background: rgba(255,255,255,0.4);
    }

    .aqm-ml-chipRemove .material-symbols-outlined[b-4j6h5teyo5] {
        font-size: 12px;
    }

/* Field list is one CSS Grid shared by the header-label row and every data row, so the two
   action columns auto-size to whichever is widest across ALL rows (a long untranslated
   "AppQuery.IsShowHeader"-style key included) and every checkbox centers in that same width -
   no hardcoded column width needed. .aqm-ml-field is display:contents so its children (name +
   the two .aqm-ml-checkCol cells) become direct grid items lining up under the header cells;
   the row's border/background/selected look is drawn on those children directly since
   display:contents itself renders no box. */
.aqm-ml-fieldList[b-4j6h5teyo5] {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: stretch;
    column-gap: 0;
    row-gap: 6px;
    max-height: 260px;
    overflow-y: auto;
}

.aqm-ml-fieldTableHdrCell[b-4j6h5teyo5] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px 4px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--aqm-muted);
}

    .aqm-ml-fieldTableHdrCell:first-child[b-4j6h5teyo5] {
        justify-content: flex-start;
    }

.aqm-ml-field[b-4j6h5teyo5] {
    display: contents;
}

.aqm-ml-fieldName[b-4j6h5teyo5] {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--aqm-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 7px 10px;
    border: 1px solid var(--aqm-border);
    border-right: none;
    border-radius: var(--aqm-r) 0 0 var(--aqm-r);
    background: var(--aqm-card);
    transition: border-color .15s, background .15s, box-shadow .15s;
}

.aqm-ml-checkCol[b-4j6h5teyo5] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 10px;
    border-top: 1px solid var(--aqm-border);
    border-bottom: 1px solid var(--aqm-border);
    background: var(--aqm-card);
    transition: border-color .15s, background .15s;
}

    .aqm-ml-checkCol:last-child[b-4j6h5teyo5] {
        border-right: 1px solid var(--aqm-border);
        border-radius: 0 var(--aqm-r) var(--aqm-r) 0;
    }

.aqm-ml-field:hover:not(.selected) .aqm-ml-fieldName[b-4j6h5teyo5],
.aqm-ml-field:hover:not(.selected) .aqm-ml-checkCol[b-4j6h5teyo5] {
    border-color: var(--aqm-primary);
}

.aqm-ml-field.selected .aqm-ml-fieldName[b-4j6h5teyo5] {
    border-color: var(--aqm-teal);
    background: #f0faf9;
    box-shadow: inset 3px 0 0 0 var(--aqm-teal);
}

.aqm-ml-field.selected .aqm-ml-checkCol[b-4j6h5teyo5] {
    border-color: var(--aqm-teal);
    background: #f0faf9;
}

.aqm-ml-check[b-4j6h5teyo5] {
    width: 16px;
    height: 16px;
    accent-color: var(--aqm-teal);
    cursor: pointer;
    flex-shrink: 0;
}

    .aqm-ml-check:disabled[b-4j6h5teyo5] {
        opacity: .4;
        cursor: not-allowed;
    }
/* /Components/Modals/AppQueryModal.razor.rz.scp.css */
/* ── AppQueryModal Scoped Styles ── */

/* ── Override ModalCpn internal structure ── */

/* Make the modal content container match the design reference */
[b-zfyelzey5z] .modal-content.modalCpn {
    border-radius: 0.5rem;
    overflow: hidden;
    background: #f7f9fb;
    box-shadow: 0 20px 40px rgba(25, 28, 30, 0.06);
}

/* Remove default modal header styling */
[b-zfyelzey5z] .modal-header.modalHeaderCustom {
    padding: 0;
    border-bottom: none;
    background: transparent;
}

/* Remove default modal footer styling */
[b-zfyelzey5z] .modal-footer.modalFooterCustom {
    padding: 0;
    border-top: none;
    background: transparent;
}

/* Remove default body centering */
[b-zfyelzey5z] .modal-body {
    text-align: left !important;
    padding: 0;
}

/* ── Custom Header ── */
.aq-modal-header[b-zfyelzey5z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(194, 198, 217, 0.15);
    background: #ffffff;
    width: 100%;
}

.aq-modal-header-left[b-zfyelzey5z] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.aq-modal-icon[b-zfyelzey5z] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.375rem;
    background: #2aa30d;
}

.aq-modal-title[b-zfyelzey5z] {
    font-family: 'Inter', 'Mukta', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #191c1e;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.3;
}

.aq-modal-close[b-zfyelzey5z] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #737687;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 0;
}

.aq-modal-close:hover[b-zfyelzey5z] {
    background: #eceef0;
    color: #191c1e;
}

/* ── Scrollable Body ── */
.aq-modal-body[b-zfyelzey5z] {
    flex: 1;
    overflow-y: auto;
    padding: 0rem 1rem 1rem 1rem;
    max-height: 60vh;
    background: #f7f9fb;
}

/* ── Sticky Footer ── */
.aq-modal-footer[b-zfyelzey5z] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0rem 1.5rem;
    background: rgba(242, 244, 246, 0.0);
    border-top: 1px solid rgba(194, 198, 217, 0.15);
    width: 100%;
}

.aq-modal-btn-cancel[b-zfyelzey5z] {
    padding: 0.5rem 1.125rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #737687;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 2.25rem;
}

.aq-modal-btn-cancel:hover[b-zfyelzey5z] {
    color: #191c1e;
    background: #e6e8ea;
}

.aq-modal-btn-cancel:active[b-zfyelzey5z] {
    transform: scale(0.97);
}

.aq-modal-btn-primary[b-zfyelzey5z] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(to bottom right, #004cca, #0062ff);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 76, 202, 0.15);
    transition: all 0.2s ease;
    min-height: 2.25rem;
}

.aq-modal-btn-primary:hover[b-zfyelzey5z] {
    box-shadow: 0 6px 20px rgba(0, 76, 202, 0.25);
}

.aq-modal-btn-primary:active[b-zfyelzey5z] {
    opacity: 0.9;
    transform: scale(0.97);
}

.aq-modal-btn-chevron[b-zfyelzey5z] {
    font-size: 1.125rem;
    line-height: 1;
}
/* /Components/Modals/BatchAssignRoleModal.razor.rz.scp.css */
.bar-grid[b-g665r1pggp] { display: grid; grid-template-columns: 1fr 0.8fr 1.2fr; gap: 0.75rem; height: 60vh; text-align: left; }
.bar-col[b-g665r1pggp] { display: flex; flex-direction: column; min-height: 0; border: 1px solid #d0d5da; border-radius: 0.4rem; overflow: hidden; }
.bar-col-header[b-g665r1pggp] { padding: 0.5rem 0.75rem; font-weight: 600; background: #f3f6fa; border-bottom: 1px solid #d0d5da; }
.bar-search[b-g665r1pggp] { margin: 0.5rem; width: calc(100% - 1rem); }
.bar-scroll[b-g665r1pggp] { flex: 1; overflow-y: auto; }
.bar-empty[b-g665r1pggp] { padding: 1rem; color: #7a828a; text-align: center; }
.bar-all[b-g665r1pggp] { font-weight: 400; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 0.3rem; cursor: pointer; }

.bar-user[b-g665r1pggp] { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.5rem 0.75rem; border-bottom: 1px solid #eef1f4; }
.bar-user-pick[b-g665r1pggp] { cursor: pointer; }
.bar-user-pick:hover[b-g665r1pggp] { background: #f3f6fa; }
.bar-user-pick.active[b-g665r1pggp] { background: #e3eefc; }
.bar-role[b-g665r1pggp] { align-items: center; cursor: pointer; margin: 0; }
.bar-user input[type="checkbox"][b-g665r1pggp], .bar-user input[type="radio"][b-g665r1pggp] { margin-top: 0.25rem; flex: 0 0 auto; }
.bar-user-main[b-g665r1pggp] { flex: 1; min-width: 0; }
.bar-user-name[b-g665r1pggp] { font-weight: 600; font-size: 0.9rem; }
.bar-chips[b-g665r1pggp] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; margin-top: 0.2rem; }
.bar-chips .badge[b-g665r1pggp] { font-size: 0.75em; }
.bar-muted[b-g665r1pggp] { color: #9aa1a9; font-size: 0.8rem; }

@media (max-width: 768px) {
    .bar-grid[b-g665r1pggp] { grid-template-columns: 1fr; height: auto; }
    .bar-col[b-g665r1pggp] { max-height: 40vh; }
}
/* /Components/Modals/BeasAttachmentPickerModal.razor.rz.scp.css */
.beas-attach-picker[b-m1ul8uutgn] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.beas-attach-status[b-m1ul8uutgn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #556b81;
}

.beas-attach-spin[b-m1ul8uutgn] {
    animation: beas-attach-spin-b-m1ul8uutgn 1s linear infinite;
}

@keyframes beas-attach-spin-b-m1ul8uutgn {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.beas-attach-preview[b-m1ul8uutgn] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 10rem;
    max-height: 16rem;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #f5f6f7;
    overflow: hidden;
}

.beas-attach-preview-img[b-m1ul8uutgn] {
    max-width: 100%;
    max-height: 16rem;
    object-fit: contain;
}

.beas-attach-preview-nonimage[b-m1ul8uutgn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 1.5rem;
    color: #556b81;
    font-size: 0.8125rem;
    text-align: center;
    word-break: break-all;
}

.beas-attach-preview-nonimage .material-symbols-outlined[b-m1ul8uutgn] {
    font-size: 2.5rem;
}

.beas-attach-preview-openbtn[b-m1ul8uutgn] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background: #fff;
    border: 1px solid #babbbb;
    border-radius: 4px;
    color: #0070f2;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.beas-attach-preview-openbtn .material-symbols-outlined[b-m1ul8uutgn] {
    font-size: 1.125rem;
}

/* Thumbnail strip below the preview frame - one square tile per staged attachment, plus a
   trailing "+" tile (same size/shape) that opens the file picker. Replaces the old always-visible
   dropzone box entirely. */
.beas-attach-grid[b-m1ul8uutgn] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.beas-attach-tile[b-m1ul8uutgn] {
    position: relative;
    width: 4.5rem;
    height: 4.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #f5f6f7;
    cursor: pointer;
    overflow: hidden;
}

.beas-attach-tile:hover[b-m1ul8uutgn] {
    border-color: #0070f2;
}

.beas-attach-tile.active[b-m1ul8uutgn] {
    border-color: #0070f2;
    box-shadow: 0 0 0 1px #0070f2;
}

.beas-attach-tile img[b-m1ul8uutgn] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.beas-attach-tile .material-symbols-outlined[b-m1ul8uutgn] {
    color: #556b81;
    font-size: 1.75rem;
}

.beas-attach-tile-remove[b-m1ul8uutgn] {
    position: absolute;
    top: 0.125rem;
    right: 0.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #babbbb;
    border-radius: 50%;
    color: #c00;
    cursor: pointer;
    padding: 0;
}

.beas-attach-tile-remove .material-symbols-outlined[b-m1ul8uutgn] {
    font-size: 0.875rem;
    color: #c00;
}

.beas-attach-tile-add[b-m1ul8uutgn] {
    position: relative;
    border: 2px dashed #babbbb;
    background: #fff;
}

.beas-attach-tile-add:hover[b-m1ul8uutgn] {
    border-color: #0070f2;
    background: #eaf3ff;
}

.beas-attach-tile-add .material-symbols-outlined[b-m1ul8uutgn] {
    color: #0070f2;
    font-size: 1.75rem;
}

/* Shown instead of the preview frame + grid when there's nothing staged yet and the host allows
   editing - a single large click target to add the first file. Same minimal look as the small "+"
   tile (border + centered plus, nothing else), just sized like the preview frame it replaces. */
.beas-attach-empty-box[b-m1ul8uutgn] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 10rem;
    border: 2px dashed #babbbb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.beas-attach-empty-box:hover[b-m1ul8uutgn] {
    border-color: #0070f2;
    background: #eaf3ff;
}

.beas-attach-empty-box .material-symbols-outlined[b-m1ul8uutgn] {
    color: #0070f2;
    font-size: 2.5rem;
}

/* View-only (canEdit=false) empty state - nothing to add, so no click target, just a note. */
.beas-attach-empty[b-m1ul8uutgn] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 6rem;
    font-size: 0.8125rem;
    color: #888;
    font-style: italic;
}
/* /Components/Modals/BeasCentrals/ProductionExecutionAlertsModal.razor.rz.scp.css */
/* Production Execution Alerts modal — color tokens lifted from the source template.
   Declared on .pea-header, .pea-widget, AND the footer buttons individually because the
   footer lives in ModalCpn's own .modal-footer div — a sibling of both, not a descendant —
   so var(--pea-*) wouldn't otherwise resolve there (custom properties only inherit down the
   DOM tree from where they're declared). .pea-widget also needs its own copy since it's rendered
   standalone (no ModalCpn ancestor at all) when this component is used with Inline="true". */
.pea-header[b-kqj7w5rds0],
.pea-widget[b-kqj7w5rds0],
.pea-btn-dismiss[b-kqj7w5rds0],
.pea-btn-primary[b-kqj7w5rds0] {
    --pea-primary: #3755c3;
    --pea-primary-dim: #2848b7;
    --pea-on-primary: #f8f7ff;
    --pea-secondary: #4a4bd7;
    --pea-tertiary: #914d00;
    --pea-tertiary-fixed: #fe932c;
    --pea-surface: #f8f9ff;
    --pea-surface-container-low: #eff4ff;
    --pea-surface-container: #e5eeff;
    --pea-surface-container-high: #dce9ff;
    --pea-surface-container-highest: #d2e4ff;
    --pea-surface-container-lowest: #ffffff;
    --pea-on-surface: #00345e;
    --pea-on-surface-variant: #26619d;
    --pea-error: #9f403d;
    --pea-error-container: #fe8983;
    --pea-error-dim: #4e0309;
}

/* Header */
.pea-header[b-kqj7w5rds0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(to right, var(--pea-primary), var(--pea-primary-dim));
    color: var(--pea-on-primary);
    border-radius: 0.5rem 0.5rem 0 0;
}

.pea-header-title[b-kqj7w5rds0] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pea-header-title h1[b-kqj7w5rds0] {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.pea-header-title .material-symbols-outlined[b-kqj7w5rds0] {
    font-variation-settings: 'FILL' 1;
}

.pea-header-actions[b-kqj7w5rds0] {
    display: flex;
    gap: 6px;
}

.pea-icon-btn[b-kqj7w5rds0] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--pea-on-primary);
    transition: background-color 0.15s, color 0.15s;
}

.pea-icon-btn:hover[b-kqj7w5rds0] {
    background: rgba(255, 255, 255, 0.2);
}

.pea-icon-btn .material-symbols-outlined[b-kqj7w5rds0] {
    font-size: 18px;
}

/* Body wrapper */
.pea-widget[b-kqj7w5rds0] {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
    color: var(--pea-on-surface);
}

/* Date range filter bar */
.pea-filter-bar[b-kqj7w5rds0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    margin-bottom: 12px;
    background: var(--pea-surface-container-low);
    border-bottom: 1px solid var(--pea-surface-container-highest);
    border-radius: 8px 8px 0 0;
}

.pea-filter-label[b-kqj7w5rds0] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--pea-on-surface-variant);
    font-size: 12px;
    font-weight: 600;
}

.pea-filter-label .material-symbols-outlined[b-kqj7w5rds0] {
    font-size: 18px;
}

.pea-filter-inputs[b-kqj7w5rds0] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pea-date-field[b-kqj7w5rds0] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--pea-surface-container-lowest);
    border: 1px solid var(--pea-surface-container-highest);
    border-radius: 8px;
}

.pea-date-field:focus-within[b-kqj7w5rds0] {
    box-shadow: 0 0 0 2px rgba(55, 85, 195, 0.25);
}

.pea-date-field span[b-kqj7w5rds0] {
    font-size: 12px;
    color: var(--pea-on-surface-variant);
}

.pea-date-field input[type="date"][b-kqj7w5rds0] {
    border: none;
    background: transparent;
    font-size: 13px;
    color: var(--pea-on-surface);
    padding: 0;
    outline: none;
}

.pea-arrow[b-kqj7w5rds0] {
    font-size: 16px;
    color: var(--pea-on-surface-variant);
}

.pea-btn-apply[b-kqj7w5rds0] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--pea-on-primary);
    background: var(--pea-primary);
    border: none;
    border-radius: 8px;
    transition: box-shadow 0.15s;
}

.pea-btn-apply:hover[b-kqj7w5rds0] {
    box-shadow: 0 2px 8px rgba(55, 85, 195, 0.35);
}

.pea-btn-apply .material-symbols-outlined[b-kqj7w5rds0] {
    font-size: 16px;
}

.pea-btn-reset[b-kqj7w5rds0] {
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--pea-on-surface-variant);
    background: transparent;
    border: none;
    border-radius: 8px;
    transition: background-color 0.15s;
}

.pea-btn-reset:hover[b-kqj7w5rds0] {
    background: var(--pea-surface-container-high);
}

.pea-range-error[b-kqj7w5rds0] {
    font-size: 12px;
    color: var(--pea-error);
    margin-left: 4px;
}

/* Content: two sections side by side */
.pea-content[b-kqj7w5rds0] {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.pea-divider[b-kqj7w5rds0] {
    width: 1px;
    background: var(--pea-surface-container-highest);
    margin: 4px 4px;
}

.pea-section[b-kqj7w5rds0] {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--pea-surface-container-lowest);
    border-radius: 8px;
}

.pea-section-header[b-kqj7w5rds0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 8px;
    background: var(--pea-surface-container-low);
    border-radius: 8px 8px 0 0;
}

.pea-section-header h2[b-kqj7w5rds0] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--pea-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pea-icon-tertiary[b-kqj7w5rds0] {
    color: var(--pea-tertiary-fixed);
    font-variation-settings: 'FILL' 1;
}

.pea-icon-secondary[b-kqj7w5rds0] {
    color: var(--pea-secondary);
    font-variation-settings: 'FILL' 1;
}

.pea-badge[b-kqj7w5rds0] {
    font-size: 11px;
    color: var(--pea-on-surface-variant);
    background: var(--pea-surface-container-high);
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.pea-list-wrap[b-kqj7w5rds0] {
    flex: 1;
    overflow-y: auto;
    max-height: 320px;
    padding: 8px;
}

.pea-list-cols[b-kqj7w5rds0] {
    display: grid;
    grid-template-columns: 1fr 1.3fr 0.8fr 1fr;
    gap: 6px;
    padding: 0 8px 8px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--pea-on-surface-variant);
    position: sticky;
    top: 0;
    background: var(--pea-surface-container-lowest);
}

.pea-list-cols > div[b-kqj7w5rds0] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pea-list-rows[b-kqj7w5rds0] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pea-list-row[b-kqj7w5rds0] {
    display: grid;
    grid-template-columns: 1fr 1.3fr 0.8fr 1fr;
    gap: 6px;
    padding: 10px 8px;
    background: var(--pea-surface);
    border-radius: 8px;
    font-size: 13px;
    transition: background-color 0.15s;
}

.pea-list-row > div[b-kqj7w5rds0] {
    min-width: 0;
}

.pea-list-row:hover[b-kqj7w5rds0] {
    background: var(--pea-surface-container);
}

.pea-list-row--center[b-kqj7w5rds0] {
    align-items: center;
}

.pea-cell-strong[b-kqj7w5rds0] {
    font-weight: 600;
}

.pea-cell-truncate[b-kqj7w5rds0] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pea-col-right[b-kqj7w5rds0] {
    text-align: right;
}

.pea-due-today[b-kqj7w5rds0] {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--pea-tertiary);
}

.pea-due-today .material-symbols-outlined[b-kqj7w5rds0] {
    font-size: 16px;
}

.pea-due-normal[b-kqj7w5rds0] {
    color: var(--pea-on-surface-variant);
}

.pea-priority[b-kqj7w5rds0] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.pea-priority-critical[b-kqj7w5rds0] {
    background: rgba(159, 64, 61, 0.2);
    color: var(--pea-error);
}

.pea-priority-high[b-kqj7w5rds0] {
    background: rgba(254, 147, 44, 0.2);
    color: var(--pea-tertiary);
}

.pea-priority-normal[b-kqj7w5rds0] {
    background: var(--pea-surface-container-highest);
    color: var(--pea-on-surface-variant);
}

.pea-empty[b-kqj7w5rds0] {
    padding: 16px 8px;
    text-align: center;
    font-size: 13px;
    color: var(--pea-on-surface-variant);
}

/* Compact pager (replaces PaginationCustom, which was oversized for this panel) */
.pea-pager[b-kqj7w5rds0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-top: 1px solid var(--pea-surface-container-highest);
}

.pea-pager-info[b-kqj7w5rds0] {
    font-size: 11px;
    color: var(--pea-on-surface-variant);
    white-space: nowrap;
}

.pea-pager-btns[b-kqj7w5rds0] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pea-pager-btn[b-kqj7w5rds0] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background: var(--pea-surface-container-lowest);
    border: 1px solid var(--pea-surface-container-highest);
    border-radius: 6px;
    color: var(--pea-on-surface-variant);
    transition: background-color 0.15s, color 0.15s;
}

.pea-pager-btn .material-symbols-outlined[b-kqj7w5rds0] {
    font-size: 16px;
}

.pea-pager-btn:hover:not(:disabled)[b-kqj7w5rds0] {
    background: var(--pea-surface-container-high);
    color: var(--pea-primary);
}

.pea-pager-btn:disabled[b-kqj7w5rds0] {
    opacity: 0.4;
    cursor: default;
}

.pea-pager-page[b-kqj7w5rds0] {
    font-size: 11px;
    font-weight: 600;
    color: var(--pea-on-surface);
    min-width: 36px;
    text-align: center;
}

/* Footer */
.pea-btn-dismiss[b-kqj7w5rds0] {
    height: 2.25rem;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--pea-on-surface-variant);
    background: transparent;
    border: none;
    border-radius: 0.25rem;
    transition: background-color 0.15s;
}

.pea-btn-dismiss:hover[b-kqj7w5rds0] {
    background: var(--pea-surface-container-high);
}

.pea-btn-primary[b-kqj7w5rds0] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 2.25rem;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(to right, var(--pea-primary), var(--pea-primary-dim));
    border: none;
    border-radius: 0.25rem;
    transition: box-shadow 0.15s;
}

.pea-btn-primary:hover[b-kqj7w5rds0] {
    box-shadow: 0 4px 12px rgba(55, 85, 195, 0.35);
}

.pea-btn-primary .material-symbols-outlined[b-kqj7w5rds0] {
    font-size: 16px;
}

@media (max-width: 900px) {
    .pea-content[b-kqj7w5rds0] {
        flex-direction: column;
    }

    .pea-divider[b-kqj7w5rds0] {
        display: none;
    }
}
/* /Components/Modals/BeasCentrals/ShortageAlertModal.razor.rz.scp.css */
/* .modal-content/.modal-header/.modal-body/.modal-footer are rendered by ModalCpn itself, which
   has no CSS isolation of its own - ::deep can't reach them (it only matches descendants of a
   scoped ancestor, and none of ModalCpn's own markup is scoped by anything). Styled instead via
   the inline <style> block at the top of ShortageAlertModal.razor, which Blazor leaves unscoped. */

/* Title bar */
.shortage-titlebar[b-edbu1azs9c] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 2.5rem;
    padding: 0 0.75rem;
    background-color: #e5eeff;
}

.shortage-titlebar-left[b-edbu1azs9c] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shortage-titlebar-icon[b-edbu1azs9c] {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.shortage-titlebar-title[b-edbu1azs9c] {
    font-weight: 600;
    font-size: 0.875rem;
    color: #00345e;
    letter-spacing: 0.02em;
}

.shortage-titlebar-scenario[b-edbu1azs9c] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-left: 1rem;
}

.shortage-titlebar-scenario-label[b-edbu1azs9c] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #26619d;
    white-space: nowrap;
}

.shortage-titlebar-scenario-input[b-edbu1azs9c] {
    width: 160px;
    height: 1.5rem;
    padding: 0 0.5rem;
    font-size: 0.75rem;
    border: 1px solid rgba(129, 181, 246, 0.4);
    border-radius: 0.375rem;
    background-color: #ffffff;
    color: #00345e;
    outline: none;
}

.shortage-titlebar-scenario-input:focus[b-edbu1azs9c] {
    box-shadow: 0 0 0 2px rgba(55, 85, 195, 0.2);
}

.shortage-titlebar-scenario-input:disabled[b-edbu1azs9c] {
    background-color: transparent;
    border-color: transparent;
    color: #00345e;
    cursor: default;
}

.shortage-titlebar-actions[b-edbu1azs9c] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.shortage-titlebar-btn[b-edbu1azs9c] {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #26619d;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.shortage-titlebar-btn:hover[b-edbu1azs9c] {
    background-color: #dce9ff;
}

.shortage-titlebar-btn-close:hover[b-edbu1azs9c] {
    background-color: #fe8983;
    color: #752121;
}

.shortage-titlebar-btn img[b-edbu1azs9c] {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.shortage-minimize-icon[b-edbu1azs9c] {
    width: 10px;
    height: 2px;
    background-color: currentColor;
    display: inline-block;
}

/* Body layout */
.shortage-body[b-edbu1azs9c] {
    flex: 1 1 auto;
    display: flex;
    overflow: hidden;
    padding: 0.5rem;
    gap: 0.5rem;
    min-height: 0;
    background-color: #f8f9ff;
}

.shortage-left-pane[b-edbu1azs9c], .shortage-right-pane[b-edbu1azs9c] {
    width: 50%;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 0.5rem;
    border: 1px solid rgba(129, 181, 246, 0.2);
    overflow: hidden;
    min-height: 0;
}

/* Scenario id — only shown when this component is embedded standalone (Inline), since it has no
   external scenario-id supplier the way the modal's normal caller does. */
.shortage-scenario-bar[b-edbu1azs9c] {
    display: flex;
    align-items: center;
    margin: 0.5rem 0.5rem 0;
    padding: 0.25rem 0.5rem;
    background-color: #eff4ff;
    border-radius: 0.5rem;
    transition: box-shadow 0.15s ease;
}

.shortage-scenario-bar:focus-within[b-edbu1azs9c] {
    box-shadow: 0 0 0 2px rgba(55, 85, 195, 0.2);
}

.shortage-scenario-input[b-edbu1azs9c] {
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.75rem;
    color: #00345e;
    width: 100%;
    height: 1.5rem;
}

.shortage-scenario-input[b-edbu1azs9c]::placeholder {
    color: #8e9eb7;
}

/* Search */
.shortage-search-wrap[b-edbu1azs9c] {
    display: flex;
    align-items: center;
    margin: 0.5rem;
    padding: 0.25rem 0.5rem;
    background-color: #eff4ff;
    border-radius: 0.5rem;
    transition: box-shadow 0.15s ease;
}

.shortage-search-wrap:focus-within[b-edbu1azs9c] {
    box-shadow: 0 0 0 2px rgba(55, 85, 195, 0.2);
}

.shortage-search-icon[b-edbu1azs9c] {
    width: 14px;
    height: 14px;
    margin-right: 0.25rem;
    opacity: 0.6;
}

.shortage-search-input[b-edbu1azs9c] {
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.75rem;
    color: #00345e;
    width: 100%;
    height: 1.5rem;
}

.shortage-search-input[b-edbu1azs9c]::placeholder {
    color: #8e9eb7;
}

/* List header */
.shortage-list-header[b-edbu1azs9c] {
    display: flex;
    padding: 0.375rem 0.75rem;
    font-size: 10.5px;
    font-weight: 700;
    color: #26619d;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(129, 181, 246, 0.2);
}

.shortage-col-code[b-edbu1azs9c] {
    width: 32%;
    text-align: left;
}

.shortage-col-deficit[b-edbu1azs9c] {
    width: 22%;
    text-align: right;
}

.shortage-col-method[b-edbu1azs9c] {
    width: 21%;
    text-align: center;
}

.shortage-col-status[b-edbu1azs9c] {
    width: 25%;
    text-align: center;
}

/* List body */
.shortage-list-body[b-edbu1azs9c] {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0.25rem;
    min-height: 0;
}

.shortage-list-row[b-edbu1azs9c] {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 8px;
    border-radius: 0.5rem;
    cursor: pointer;
    margin-bottom: 0.25rem;
    transition: background-color 0.15s ease;
}

.shortage-list-row:hover[b-edbu1azs9c] {
    background-color: #e5eeff;
}

.shortage-list-row-selected[b-edbu1azs9c], .shortage-list-row-selected:hover[b-edbu1azs9c] {
    background-color: #dde1ff;
}

.shortage-list-row .shortage-col-code[b-edbu1azs9c] {
    display: flex;
    flex-direction: column;
}

.shortage-list-row .shortage-col-deficit[b-edbu1azs9c] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.shortage-list-row .shortage-col-method[b-edbu1azs9c] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shortage-list-row .shortage-col-status[b-edbu1azs9c] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 0.25rem;
}

.shortage-active-bar[b-edbu1azs9c] {
    position: absolute;
    left: 0;
    top: 0.25rem;
    bottom: 0.25rem;
    width: 3px;
    background-color: #3755c3;
    border-radius: 0 3px 3px 0;
}

.shortage-item-code[b-edbu1azs9c] {
    font-size: 13px;
    font-weight: 600;
    color: #00345e;
    text-align: left;
}

.shortage-list-row-selected .shortage-item-code[b-edbu1azs9c] {
    color: #2747b6;
}

.shortage-item-name[b-edbu1azs9c] {
    font-size: 11px;
    color: #26619d;
    text-align: left;
}

.shortage-list-row-selected .shortage-item-name[b-edbu1azs9c] {
    color: #3755c3;
}

.shortage-item-deficit[b-edbu1azs9c] {
    font-size: 13px;
    font-weight: 700;
}

.shortage-item-stock[b-edbu1azs9c] {
    font-size: 11px;
    color: #26619d;
}

.shortage-status-critical[b-edbu1azs9c] {
    color: #9f403d;
}

.shortage-status-warning[b-edbu1azs9c] {
    color: #804300;
}

.shortage-status-low[b-edbu1azs9c] {
    color: #00345e;
}

.shortage-badge[b-edbu1azs9c] {
    padding: 4px 8px;
    border-radius: 0.375rem;
    font-size: 11px;
    font-weight: 500;
}

.shortage-badge-critical[b-edbu1azs9c] {
    background-color: rgba(254, 147, 44, 0.3);
    color: #804300;
}

.shortage-badge-warning[b-edbu1azs9c] {
    background-color: rgba(254, 147, 44, 0.2);
    color: #804300;
}

.shortage-badge-low[b-edbu1azs9c] {
    background-color: #dce9ff;
    color: #26619d;
}

.shortage-badge-method-buy[b-edbu1azs9c] {
    background-color: rgba(26, 156, 137, 0.15);
    color: #146356;
}

.shortage-badge-method-make[b-edbu1azs9c] {
    background-color: rgba(124, 92, 239, 0.15);
    color: #4b3a91;
}

/* Footer summary */
.shortage-footer[b-edbu1azs9c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    border-top: 1px solid rgba(129, 181, 246, 0.2);
    background-color: #eff4ff;
    font-size: 11px;
}

.shortage-footer-text[b-edbu1azs9c] {
    color: #26619d;
    font-weight: 500;
}

.shortage-export-btn[b-edbu1azs9c] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: transparent;
    border: none;
    color: #3755c3;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.shortage-export-btn:hover[b-edbu1azs9c] {
    color: #2848b7;
}

.shortage-export-btn img[b-edbu1azs9c] {
    width: 12px;
    height: 12px;
}

/* Right pane detail header */
.shortage-detail-header[b-edbu1azs9c] {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(129, 181, 246, 0.2);
    background: linear-gradient(to right, #eff4ff, #ffffff);
}

.shortage-detail-header-top[b-edbu1azs9c] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.25rem;
    gap: 0.5rem;
}

.shortage-detail-title[b-edbu1azs9c] {
    font-size: 15px;
    font-weight: 700;
    color: #00345e;
    margin: 0;
    text-align: left;
}

.shortage-detail-subtitle[b-edbu1azs9c] {
    font-size: 11px;
    color: #26619d;
    margin: 0;
}

.shortage-critical-badge[b-edbu1azs9c] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border-radius: 0.75rem;
    font-size: 11px;
    font-weight: 600;
    color: #9f403d;
    background-color: rgba(254, 137, 131, 0.2);
    border: 1px solid rgba(254, 137, 131, 0.3);
    white-space: nowrap;
}

.shortage-critical-dot[b-edbu1azs9c] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #9f403d;
    animation: shortage-pulse-b-edbu1azs9c 1.5s ease-in-out infinite;
}

@keyframes shortage-pulse-b-edbu1azs9c {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.shortage-stat-row[b-edbu1azs9c] {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.shortage-stat[b-edbu1azs9c] {
    display: flex;
    flex-direction: column;
}

.shortage-stat-label[b-edbu1azs9c] {
    font-size: 11px;
    color: #26619d;
    text-transform: uppercase;
}

.shortage-stat-value[b-edbu1azs9c] {
    font-size: 0.875rem;
    font-weight: 700;
    color: #00345e;
    text-align: left;
}

.shortage-stat-value-warning[b-edbu1azs9c] {
    color: #804300;
    text-align: left;
}

/* Action bar */
.shortage-action-bar[b-edbu1azs9c] {
    display: flex;
    gap: 0.5rem;
    padding: 0.375rem 0.5rem;
    border-bottom: 1px solid rgba(129, 181, 246, 0.2);
    background-color: #e5eeff;
}

.shortage-action-btn[b-edbu1azs9c] {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    height: 2.25rem;
    font-size: 13px;
    font-weight: 500;
    padding: 0 16px;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: box-shadow 0.15s ease, background-color 0.15s ease;
}

.shortage-action-btn img[b-edbu1azs9c] {
    width: 16px;
    height: 16px;
}

.shortage-action-btn-primary[b-edbu1azs9c] {
    background: linear-gradient(to right, #3755c3, #2848b7);
    color: #f8f7ff;
    border: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.shortage-action-btn-primary:hover[b-edbu1azs9c] {
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}

.shortage-action-btn-secondary[b-edbu1azs9c] {
    background-color: #ffffff;
    color: #00345e;
    border: 1px solid rgba(129, 181, 246, 0.3);
}

.shortage-action-btn-secondary:hover[b-edbu1azs9c] {
    background-color: #dce9ff;
}

/* Ledger */
.shortage-ledger[b-edbu1azs9c] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.shortage-ledger-header[b-edbu1azs9c] {
    padding: 0.375rem 0.75rem;
    font-size: 11px;
    font-weight: 700;
    color: #26619d;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: left;
    border-bottom: 1px solid rgba(129, 181, 246, 0.1);
}

.shortage-ledger-body[b-edbu1azs9c] {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0.5rem;
    min-height: 0;
}

.shortage-ledger-entry[b-edbu1azs9c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.375rem;
    border-radius: 0.25rem;
    transition: background-color 0.15s ease;
}

.shortage-ledger-entry:hover[b-edbu1azs9c] {
    background-color: #e5eeff;
}

.shortage-ledger-entry-left[b-edbu1azs9c] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shortage-ledger-icon[b-edbu1azs9c] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shortage-ledger-icon img[b-edbu1azs9c] {
    width: 12px;
    height: 12px;
}

.shortage-ledger-icon-output[b-edbu1azs9c] {
    background-color: #e1e0ff;
}

.shortage-ledger-icon-adjustment[b-edbu1azs9c] {
    background-color: #dce9ff;
}

.shortage-ledger-icon-input[b-edbu1azs9c] {
    background-color: #c4dcff;
}

.shortage-ledger-info[b-edbu1azs9c] {
    display: flex;
    flex-direction: column;
}

.shortage-ledger-type[b-edbu1azs9c] {
    font-size: 11px;
    font-weight: 500;
    text-align: left !important;
    color: #00345e;
}

.shortage-ledger-meta[b-edbu1azs9c] {
    font-size: 11px;
    text-align: left !important;
    color: #26619d;
}

.shortage-ledger-amount[b-edbu1azs9c] {
    font-size: 11px;
    font-weight: 700;
}

.shortage-amount-negative[b-edbu1azs9c] {
    color: #9f403d;
}

.shortage-amount-positive[b-edbu1azs9c] {
    color: #3755c3;
}

/* Scrollbars */
.shortage-list-body[b-edbu1azs9c]::-webkit-scrollbar,
.shortage-ledger-body[b-edbu1azs9c]::-webkit-scrollbar {
    width: 4px;
}

.shortage-list-body[b-edbu1azs9c]::-webkit-scrollbar-thumb,
.shortage-ledger-body[b-edbu1azs9c]::-webkit-scrollbar-thumb {
    background-color: #c4dcff;
    border-radius: 4px;
}

.shortage-list-body[b-edbu1azs9c]::-webkit-scrollbar-thumb:hover,
.shortage-ledger-body[b-edbu1azs9c]::-webkit-scrollbar-thumb:hover {
    background-color: #81b5f6;
}

@media (max-width: 1050px) {
    .shortage-body[b-edbu1azs9c] {
        flex-direction: column;
    }

    .shortage-left-pane[b-edbu1azs9c],
    .shortage-right-pane[b-edbu1azs9c] {
        width: 100%;
        flex: 1 1 0;
        min-height: 0;
    }

    .shortage-body[b-edbu1azs9c] {
        overflow-y: auto;
    }
}
/* /Components/Modals/BeasCentrals/SimpleCreateWorkOrderModal.razor.rz.scp.css */
.scwo-modal-title[b-wsn9rer175] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #00345e;
}
.scwo-button[b-wsn9rer175] {
    height: 2rem;
    border-radius: 0.25rem;
    background-color: #5496cd;
    border-color: #5496cd;
    color: #eeeeee;
}

.scwo-button-close[b-wsn9rer175] {
    height: 2rem;
    border-radius: 0.25rem;
    /* border: #5496cd solid 2px; */
    background-color: transparent;
    border-color: transparent;
}
/* Form layout */
.scwo-form[b-wsn9rer175] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 4px 2px;
}

.scwo-field[b-wsn9rer175] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.scwo-label[b-wsn9rer175] {
    font-size: 13px;
    font-weight: 600;
    color: #26619d;
    margin: 0;
    text-align: start;
}

.scwo-required[b-wsn9rer175] {
    color: #d32f2f;
    margin-left: 2px;
}

/* Input */
.scwo-input[b-wsn9rer175] {
    height: 36px;
    padding: 0 10px;
    border: 1px solid #d2e4ff;
    border-radius: 6px;
    font-size: 14px;
    color: #00345e;
    background: #f8f9ff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.scwo-input:focus[b-wsn9rer175] {
    border-color: #3755c3;
    box-shadow: 0 0 0 2px rgba(55, 85, 195, 0.12);
    background: #fff;
}

.scwo-input--error[b-wsn9rer175] {
    border-color: #d32f2f;
    background: #fff6f6;
}

.scwo-input--error:focus[b-wsn9rer175] {
    box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.12);
}

.scwo-input:read-only[b-wsn9rer175],
.scwo-input[readonly][b-wsn9rer175] {
    background: #f1f3f5;
    border-color: #dcdfe6;
    color: #6b7280;
    cursor: not-allowed;
}

/* Validation message */
.scwo-error-msg[b-wsn9rer175] {
    font-size: 11px;
    color: #d32f2f;
    margin-top: 1px;
}

/* Busy spinner inside button */
.scwo-spinner[b-wsn9rer175] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: scwo-spin-b-wsn9rer175 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes scwo-spin-b-wsn9rer175 {
    to { transform: rotate(360deg); }
}
/* /Components/Modals/BeasCentrals/SimpleCreateWorkOrderV2Modal.razor.rz.scp.css */
/* SimpleCreateWorkOrderV2Modal - scoped styles
   ============================================= */

/* -- so-section: no extra bottom margin inside modal body -- */
.so-section[b-mbu2ocx358] {
    margin-bottom: 0;
}

/* -- so-table override: remove min-width constraint in modal -- */
.scwov2-table-modal[b-mbu2ocx358] {
    min-width: unset;
}

/* -- so-qty-input: fill column, no inherited min-width -- */
.scwov2-table-modal .so-qty-input[b-mbu2ocx358] {
    width: 100%;
    min-width: unset;
}

.scwov2-button[b-mbu2ocx358] {
    height: 2rem;
    border-radius: 0.25rem;
    background-color: #5496cd;
    border-color: #5496cd;
    color: #eeeeee;
}

.scwov2-button-close[b-mbu2ocx358] {
    height: 2rem;
    border-radius: 0.25rem;
    /* border: #5496cd solid 2px; */
    background-color: transparent;
    border-color: transparent;
}

/* -- Column widths -- */
.scwov2-col-num[b-mbu2ocx358]  { width: 40px;  text-align: center; }
.scwov2-col-doc[b-mbu2ocx358]  { width: 140px; }
.scwov2-col-line[b-mbu2ocx358] { width: 120px; }
.scwov2-col-qty[b-mbu2ocx358]  { width: 150px; }
.scwov2-col-date[b-mbu2ocx358] { width: 170px; }

/* -- Row number badge -- */
.scwov2-row-num[b-mbu2ocx358] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e8edf5;
    color: #5a6880;
    font-size: 10px;
    font-weight: 700;
}

/* -- Error row highlight -- */
.scwov2-table-modal tbody tr.scwov2-row-error[b-mbu2ocx358] { background: #fff6f6; }

/* -- Input error state -- */
.scwov2-table-modal .so-qty-input.scwov2-input-error[b-mbu2ocx358] {
    border-color: #d32f2f;
    background: #fff6f6;
    box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.10);
}

/* -- Readonly cells -- */
.scwov2-readonly-input[b-mbu2ocx358] {
    width: 100%;
    height: 30px;
    padding: 0 8px;
    border: 1px solid #e0e8f0;
    border-radius: 5px;
    background: #f3f6fb;
    color: #8fa3b8;
    font-size: 12px;
    cursor: not-allowed;
    outline: none;
    box-sizing: border-box;
}

/* -- Inline error message -- */
.scwov2-err-msg[b-mbu2ocx358] {
    display: block;
    font-size: 10.5px;
    color: #d32f2f;
    margin-top: 2px;
}

/* -- Summary chips (section header) -- */
.scwov2-chip[b-mbu2ocx358] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.scwov2-chip--multiple[b-mbu2ocx358] { background: #dde8ff; color: #3755c3; }
.scwov2-chip--combine[b-mbu2ocx358]  { background: #fff1d6; color: #7a3e00; }
.scwov2-chip--qty[b-mbu2ocx358]      { background: #e8f5e9; color: #2e7d32; }

/* -- Mode pill toggle (footer) -- */
.scwov2-pill[b-mbu2ocx358] {
    display: inline-flex;
    background: #eef2f8;
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
    width: fit-content;
}

.scwov2-pill-btn[b-mbu2ocx358] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #5a6880;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    white-space: nowrap;
}

.scwov2-pill-btn:hover:not(.active)[b-mbu2ocx358] {
    background: #dde4f0;
    color: #3755c3;
}

.scwov2-pill-btn.active[b-mbu2ocx358] {
    background: #fff;
    color: #3755c3;
    box-shadow: 0 1px 4px rgba(55, 85, 195, 0.18), 0 0 0 1px rgba(55, 85, 195, 0.10);
}

.scwov2-pill-icon[b-mbu2ocx358] {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

/* -- Footer buttons -- */
.scwov2-btn-create[b-mbu2ocx358] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 18px;
    border-radius: 7px;
    background: #3755c3;
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
}

.scwov2-btn-create:hover:not(:disabled)[b-mbu2ocx358] {
    background: #2848b7;
    box-shadow: 0 2px 8px rgba(55, 85, 195, 0.28);
}

.scwov2-btn-create:disabled[b-mbu2ocx358] {
    opacity: 0.65;
    cursor: not-allowed;
}

.scwov2-btn-cancel[b-mbu2ocx358] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 16px;
    border-radius: 7px;
    background: transparent;
    border: 1.5px solid #d2e4ff;
    color: #5a6880;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.scwov2-btn-cancel:hover[b-mbu2ocx358] {
    border-color: #3755c3;
    color: #3755c3;
    background: #f0f4ff;
}
/* /Components/Modals/BeasQsArtikelHauptDetailModal.razor.rz.scp.css */
.qsl-toolbar[b-2s36rr5hh8] {
    margin-top: 1.5rem;
    border-top: 1px solid #dde3ef;
}

.qsl-title[b-2s36rr5hh8] {
    margin: 0 auto 0 0;
}

.qsl-actions-col[b-2s36rr5hh8] {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}

.qsl-actions-col .ibr-btn + .ibr-btn[b-2s36rr5hh8] {
    margin-left: 0.25rem;
}
/* /Components/Modals/BeasQsArtikelLineModal.razor.rz.scp.css */
/* Which plan the panel is working on: a plain line above the form, no fill. */
.qsa-plan-banner[b-fjwjh1lgya] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0 0.6rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-outline-variant);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-on-surface);
}

.qsa-plan-banner .material-symbols-outlined[b-fjwjh1lgya] {
    font-size: 1.1rem;
    color: var(--color-primary);
}
/* /Components/Modals/BeasQsArtikelRowModal.razor.rz.scp.css */
/* Which plan the panel is working on: a plain line above the form, no fill. */
.qsa-plan-banner[b-dawkb0ouyt] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0 0.6rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-outline-variant);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-on-surface);
}

.qsa-plan-banner .material-symbols-outlined[b-dawkb0ouyt] {
    font-size: 1.1rem;
    color: var(--color-primary);
}
/* /Components/Modals/BeforePostModal.razor.rz.scp.css */
.bp-hint[b-h3pepqnjuo] {
    text-align: left;
    font-size: 0.9rem;
    color: #4f667a;
    margin-bottom: 8px;
}

.bp-example[b-h3pepqnjuo] {
    text-align: left;
    font-size: 0.85rem;
    color: #7a8b99;
    margin-bottom: 8px;
}

.bp-example code[b-h3pepqnjuo] {
    font-family: Consolas, monospace;
    color: #1d4f7c;
    user-select: all;
}

.bp-query[b-h3pepqnjuo] {
    width: 100%;
    font-family: Consolas, monospace;
    font-size: 0.95rem;
    border: 1px solid #c7cbcb;
    border-radius: 4px;
    padding: 8px;
    resize: vertical;
}

.bp-lists[b-h3pepqnjuo] {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.bp-list[b-h3pepqnjuo] {
    flex: 1 1 0;
    min-width: 0;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid #e3e7e8;
    border-radius: 4px;
    text-align: left;
}

.bp-list-title[b-h3pepqnjuo] {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border: none;
    text-align: left;
    position: sticky;
    top: 0;
    background: #f7f9fa;
    font-weight: 600;
    padding: 6px 10px;
    border-bottom: 1px solid #e3e7e8;
}

.bp-item[b-h3pepqnjuo] {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid #f0f2f3;
    padding: 5px 10px;
}

.bp-item:hover[b-h3pepqnjuo] {
    background: #eef5fb;
}

.bp-item-code[b-h3pepqnjuo] {
    font-family: Consolas, monospace;
    font-size: 0.85rem;
    color: #1d4f7c;
}

.bp-item-desc[b-h3pepqnjuo] {
    font-size: 0.78rem;
    color: #7a8b99;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bp-examples[b-h3pepqnjuo] {
    margin-top: 10px;
    border: 1px solid #e3e7e8;
    border-radius: 4px;
    text-align: left;
}

.bp-examples-title[b-h3pepqnjuo] {
    position: static;
}

pre.bp-example[b-h3pepqnjuo] {
    margin: 0;
    padding: 6px 10px;
    white-space: pre-wrap;
    border-bottom: 1px solid #f0f2f3;
}

.bp-more-wrap[b-h3pepqnjuo] {
    display: flex;
    justify-content: center;
}

.bp-chevron[b-h3pepqnjuo] {
    width: 8px;
    height: 8px;
    margin-top: 4px;
    border-right: 2px solid #4f667a;
    border-bottom: 2px solid #4f667a;
    transform: rotate(45deg);
    transition: transform 0.25s ease, margin-top 0.25s ease;
}

.bp-chevron-up[b-h3pepqnjuo] {
    margin-top: 8px;
    transform: rotate(-135deg);
}

.bp-lists[b-h3pepqnjuo] {
    margin-bottom: 10px;
}

.bp-more[b-h3pepqnjuo] {
    background: none;
    border: none;
    color: #1d4f7c;
    padding: 6px 10px;
}

.bp-list-head[b-h3pepqnjuo] {
    position: static;
    flex: 1 1 0;
    border: 1px solid #e3e7e8;
    border-radius: 4px;
}

.bp-toggle[b-h3pepqnjuo] {
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
    background: #fff;
    border: 1px solid #e3e7e8;
    border-radius: 4px;
    height: 28px;
    margin-bottom: 10px;
}

/* Slide open/closed: animate the grid row from 0fr to 1fr */
.bp-collapse[b-h3pepqnjuo] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.bp-collapse.bp-open[b-h3pepqnjuo] {
    grid-template-rows: 1fr;
}

.bp-collapse-inner[b-h3pepqnjuo] {
    overflow: hidden;
    min-height: 0;
}

.bp-toggle .bp-chevron[b-h3pepqnjuo] {
    margin-top: -4px;
}

.bp-toggle .bp-chevron.bp-chevron-up[b-h3pepqnjuo] {
    margin-top: 4px;
}

/* No gap between the Field codes / Current titles and their lists */
.bp-lists[b-h3pepqnjuo] {
    margin-top: 0;
    margin-bottom: 0;
}

.bp-toggle[b-h3pepqnjuo] {
    margin-top: 0;
}

.bp-query[b-h3pepqnjuo] {
    border: 1px solid #c7cbcb;
    border-radius: 4px;
    overflow: hidden;
    padding: 0;
}

/* Each list has its own header + chevron; a closed one shows only its header */
.bp-lists[b-h3pepqnjuo] {
    align-items: flex-start;
}

.bp-col[b-h3pepqnjuo] {
    flex: 1 1 0;
    min-width: 0;
}

.bp-col .bp-list-head[b-h3pepqnjuo] {
    align-items: center;
}

.bp-col .bp-chevron[b-h3pepqnjuo] {
    margin-top: -4px;
}

.bp-col .bp-chevron.bp-chevron-up[b-h3pepqnjuo] {
    margin-top: 4px;
}

.bp-lists[b-h3pepqnjuo] {
    margin-bottom: 8px;
}
/* /Components/Modals/CategorySetupModal.razor.rz.scp.css */
.btn-primary[b-4jxlnyhkjt] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
}

.btn-secondary[b-4jxlnyhkjt] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f3f4f6;
    color: #505f76;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
}

.csm-editor[b-4jxlnyhkjt] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    width: max-content;
    max-width: 100%;
    overflow: auto;
}

.csm-mode-row[b-4jxlnyhkjt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid #e5e7ee;
}

.csm-mode-label[b-4jxlnyhkjt] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #191c1e;
}

.csm-mode-toggle[b-4jxlnyhkjt] {
    display: flex;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    overflow: hidden;
}

.csm-mode-btn[b-4jxlnyhkjt] {
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
    border: none;
    background: #f8f9fb;
    color: #737686;
    cursor: pointer;
}

    .csm-mode-btn + .csm-mode-btn[b-4jxlnyhkjt] {
        border-left: 1px solid #c3c6d7;
    }

    .csm-mode-btn.active[b-4jxlnyhkjt] {
        background: #004ac6;
        color: #ffffff;
    }

.csm-row[b-4jxlnyhkjt] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: max-content;
    min-width: 0;
}

.csm-name-input[b-4jxlnyhkjt] {
    flex: 0 0 8.75rem;
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.csm-empty-toggle[b-4jxlnyhkjt] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    flex: 0 0 5.5rem;
    font-size: 0.7rem;
    color: #505f76;
    white-space: nowrap;
}

.csm-empty-toggle--global[b-4jxlnyhkjt] {
    align-self: flex-start;
    margin-bottom: 0.15rem;
}

.csm-global-options[b-4jxlnyhkjt] {
    display: flex;
    align-items: center;
    min-height: 1.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e5e7ee;
}

.csm-empty-toggle input[b-4jxlnyhkjt] {
    margin: 0;
}

.csm-tab-select[b-4jxlnyhkjt] {
    flex: 0 0 7rem;
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0.35rem 0.35rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.csm-style-btn[b-4jxlnyhkjt] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.8125rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #737686;
    cursor: pointer;
}

    .csm-style-btn:hover[b-4jxlnyhkjt],
    .csm-style-btn.active[b-4jxlnyhkjt] {
        border-color: #004ac6;
        color: #004ac6;
    }

    .csm-style-btn .material-symbols-outlined[b-4jxlnyhkjt] {
        font-size: 1rem;
    }

.csm-fontsize-input[b-4jxlnyhkjt] {
    box-sizing: border-box;
    flex: 0 0 4rem;
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.csm-color-input[b-4jxlnyhkjt] {
    box-sizing: border-box;
    flex: 0 0 6rem;
    min-width: 0;
    text-transform: uppercase;
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.csm-move-btn[b-4jxlnyhkjt],
.csm-delete-btn[b-4jxlnyhkjt] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #737686;
    cursor: pointer;
}

    .csm-move-btn:hover:not(:disabled)[b-4jxlnyhkjt] {
        border-color: #004ac6;
        color: #004ac6;
    }

    .csm-move-btn:disabled[b-4jxlnyhkjt] {
        opacity: 0.4;
        cursor: default;
    }

    .csm-delete-btn:hover[b-4jxlnyhkjt] {
        border-color: #d32f2f;
        color: #d32f2f;
    }

    .csm-move-btn .material-symbols-outlined[b-4jxlnyhkjt],
    .csm-delete-btn .material-symbols-outlined[b-4jxlnyhkjt] {
        font-size: 0.95rem;
    }

.csm-add-btn[b-4jxlnyhkjt] {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
    cursor: pointer;
}

    .csm-add-btn:hover[b-4jxlnyhkjt] {
        border-color: #004ac6;
        color: #004ac6;
    }

.csm-empty[b-4jxlnyhkjt] {
    padding: 0.75rem;
    text-align: center;
    color: #737686;
    font-size: 0.85rem;
}

@media (max-width: 48rem) {
    .csm-editor[b-4jxlnyhkjt] {
        padding-bottom: 0.25rem;
    }

    .csm-row[b-4jxlnyhkjt] {
        min-width: 0;
    }
}
/* /Components/Modals/ColumnBarModal.razor.rz.scp.css */
.btn-primary[b-c3ijwfp2ny] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-primary:hover[b-c3ijwfp2ny] {
        background: #2563eb;
    }

    .btn-primary:active[b-c3ijwfp2ny] {
        transform: scale(0.96);
    }

.btn-secondary[b-c3ijwfp2ny] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f3f4f6;
    color: #505f76;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-secondary:hover[b-c3ijwfp2ny] {
        background: #e7e8ea;
    }

    .btn-secondary:active[b-c3ijwfp2ny] {
        transform: scale(0.96);
    }

/* Self-contained on purpose (not the shared management_wo.css) - ColumnBarModal is opened from
   ColumnPickerModal on pages (ItemBomRouting, AppQueryViewV2) that never load management_wo.css,
   so relying on its classes/CSS custom properties left this modal unstyled there. Same reasoning as
   WOBarCell.razor.css. */
.wo-bar-editor[b-c3ijwfp2ny] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.wo-bar-row[b-c3ijwfp2ny] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wo-bar-label[b-c3ijwfp2ny] {
    font-size: 0.75rem;
    color: #737686;
}

.wo-bar-input[b-c3ijwfp2ny] {
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.wo-bar-inline[b-c3ijwfp2ny] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

    .wo-bar-inline .wo-bar-input[b-c3ijwfp2ny] {
        flex: 1;
    }

.wo-bar-select[b-c3ijwfp2ny] {
    font-size: 0.8125rem;
    padding: 0.35rem 0.4rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
    flex: 0 0 auto;
}

.wo-bar-hint[b-c3ijwfp2ny] {
    font-size: 0.7rem;
    color: #737686;
    line-height: 1.5;
}

    .wo-bar-hint code[b-c3ijwfp2ny] {
        font-family: "Consolas", "Courier New", monospace;
        background: #fff;
        border: 1px solid #d4dadf;
        border-radius: 0.15rem;
        padding: 0 0.2rem;
        color: #0b3d91;
    }

.wo-bar-color-group[b-c3ijwfp2ny] {
    display: flex;
    min-width: 0;
}

.wo-bar-hex-input[b-c3ijwfp2ny] {
    flex: 0 0 5.5rem;
    min-width: 0;
    text-transform: uppercase;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.wo-bar-code-input[b-c3ijwfp2ny] {
    flex: 1;
    min-width: 0;
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.wo-bar-color-group input:focus[b-c3ijwfp2ny] {
    position: relative;
    z-index: 1;
}

.wo-bar-checkbox-row[b-c3ijwfp2ny] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid #c3c6d7;
    font-size: 0.8125rem;
    color: #191c1e;
    cursor: pointer;
}
/* /Components/Modals/ColumnHoverSettingModal.razor.rz.scp.css */
/* Title bar: the title on the left, the actions as icon buttons on the right. */
/* ModalCpn forces padding:0 on its header while its own title is hidden, so the spacing lives here; the left padding keeps the title clear of the drag handle (absolutely positioned at the top-left). */
.chs-head[b-1u63s6nak4] { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; box-sizing: border-box; padding: 0.9rem 0.75rem 0.6rem 2rem; border-bottom: 1px solid #e3e7ec; }
.chs-head-title[b-1u63s6nak4] { font-weight: 600; font-size: 1.05rem; color: #1f2a37; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chs-tools[b-1u63s6nak4] { display: flex; align-items: center; gap: 0.15rem; flex: 0 0 auto; }
.chs-tool[b-1u63s6nak4] { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 0.4rem; background: none; color: #5f6368; cursor: pointer; }
.chs-tool:hover[b-1u63s6nak4] { background: #eef2f7; color: #14305a; }
.chs-tool-danger:hover[b-1u63s6nak4] { background: #fdf0ee; color: #b3261e; }
.chs-tool .material-symbols-outlined[b-1u63s6nak4] { font-size: 1.25rem; }
.chs-tool:focus-visible[b-1u63s6nak4], .chs-toggle:focus-visible[b-1u63s6nak4], .chs-menu button:focus-visible[b-1u63s6nak4] { outline: 2px solid #0a5bd3; outline-offset: 1px; }

.chs-menu-wrap[b-1u63s6nak4] { position: relative; }
.chs-menu[b-1u63s6nak4] { position: absolute; top: calc(100% + 0.25rem); right: 0; z-index: 5; display: grid; min-width: 9.5rem; padding: 0.25rem; background: #fff; border: 1px solid #d0d5da; border-radius: 0.4rem; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18); }
.chs-menu button[b-1u63s6nak4] { padding: 0.4rem 0.6rem; border: 0; border-radius: 0.3rem; background: none; text-align: left; font-size: 0.85rem; color: #1f2a37; cursor: pointer; }
.chs-menu button:hover:not(:disabled)[b-1u63s6nak4] { background: #eef2f7; }
.chs-menu button:disabled[b-1u63s6nak4] { color: #9aa1a9; cursor: default; }

.chs[b-1u63s6nak4] { display: grid; gap: 1.1rem; color: #1f2a37; text-align: left; }

/* Empty: one sentence and the two ways in. */
.chs-empty[b-1u63s6nak4] { display: grid; justify-items: start; gap: 0.75rem; }
.chs-empty-icon[b-1u63s6nak4] { font-size: 2rem; color: #0a5bd3; }
.chs-empty-text[b-1u63s6nak4] { margin: 0; max-width: 34ch; color: #5f6368; line-height: 1.5; }
.chs-actions[b-1u63s6nak4] { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Status: a miniature of the card as it will appear, beside the switch that controls it. */
.chs-top[b-1u63s6nak4] { display: grid; grid-template-columns: minmax(0, 13rem) 1fr; gap: 1.1rem; align-items: center; }
.chs-card[b-1u63s6nak4] { padding: 0.6rem 0.75rem; background: #fff; border: 1px solid #d0d5da; border-radius: 0.4rem; box-shadow: 0 3px 12px rgba(20, 48, 90, 0.14); transition: opacity 0.15s, filter 0.15s; }
.chs-card.is-off[b-1u63s6nak4] { opacity: 0.45; filter: grayscale(1); box-shadow: none; }
.chs-card-title[b-1u63s6nak4] { font-weight: 600; font-size: 0.8rem; margin-bottom: 0.35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chs-line[b-1u63s6nak4] { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.22rem 0; border-top: 1px solid #eceef0; font-size: 0.72rem; }
.chs-line span[b-1u63s6nak4] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.chs-line i[b-1u63s6nak4] { flex: 0 0 2.2rem; height: 0.4rem; border-radius: 0.2rem; background: #e3e7ec; }
.chs-more[b-1u63s6nak4] { padding-top: 0.3rem; border-top: 1px solid #eceef0; font-size: 0.72rem; color: #5f6368; }

.chs-state[b-1u63s6nak4] { display: flex; align-items: flex-start; gap: 0.7rem; }
.chs-state-text[b-1u63s6nak4] { display: grid; gap: 0.15rem; line-height: 1.35; }
.chs-state-text span[b-1u63s6nak4] { font-size: 0.82rem; color: #5f6368; }
.chs-toggle[b-1u63s6nak4] { position: relative; flex: 0 0 auto; width: 2.6rem; height: 1.5rem; padding: 0; border: 0; border-radius: 1rem; background: #aeb6c0; cursor: pointer; transition: background 0.15s; }
.chs-toggle.on[b-1u63s6nak4] { background: #0a5bd3; }
.chs-knob[b-1u63s6nak4] { position: absolute; top: 0.18rem; left: 0.18rem; width: 1.14rem; height: 1.14rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); transition: transform 0.15s; }
.chs-toggle.on .chs-knob[b-1u63s6nak4] { transform: translateX(1.1rem); }

@media (max-width: 30rem) { .chs-top[b-1u63s6nak4] { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .chs-card[b-1u63s6nak4], .chs-toggle[b-1u63s6nak4], .chs-knob[b-1u63s6nak4] { transition: none; } }
/* /Components/Modals/ColumnPickerModal.razor.rz.scp.css */
.btn-primary[b-rqan2csx4y] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-primary:hover[b-rqan2csx4y] {
        background: #2563eb;
    }

    .btn-primary:active[b-rqan2csx4y] {
        transform: scale(0.96);
    }

.btn-secondary[b-rqan2csx4y] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f3f4f6;
    color: #505f76;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-secondary:hover[b-rqan2csx4y] {
        background: #e7e8ea;
    }

    .btn-secondary:active[b-rqan2csx4y] {
        transform: scale(0.96);
    }

.btn-outline[b-rqan2csx4y] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #c3c6d7;
    background: #e1e2e4;
    color: #191c1e;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s;
}

    .btn-outline:hover[b-rqan2csx4y] {
        background: rgba(195,198,215,0.25);
    }

    .btn-outline.active[b-rqan2csx4y] {
        background: #d0e1fb;
        color: #54647a;
        border-color: #004ac6;
    }

.wo-column-picker[b-rqan2csx4y] {
    text-align: left;
}

.wo-column-tabs-row[b-rqan2csx4y] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border-bottom: 1px solid #c3c6d7;
    margin-bottom: 0.5rem;
}

.wo-column-tabs[b-rqan2csx4y] {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
}

    .wo-column-tabs[b-rqan2csx4y]::-webkit-scrollbar {
        display: none;
    }

.wo-column-tabs-scroll-btn[b-rqan2csx4y] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    background: transparent;
    color: #737686;
    cursor: pointer;
    border-radius: 0.25rem;
}

    .wo-column-tabs-scroll-btn:hover[b-rqan2csx4y] {
        background: #e1e2e4;
        color: #004ac6;
    }

    .wo-column-tabs-scroll-btn .material-symbols-outlined[b-rqan2csx4y] {
        font-size: 1.1rem;
    }

.wo-column-tab[b-rqan2csx4y] {
    flex: 0 0 auto;
    border: none;
    background: transparent;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #737686;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

    .wo-column-tab.active[b-rqan2csx4y] {
        color: #004ac6;
        border-bottom-color: #004ac6;
    }

.wo-column-toolbar[b-rqan2csx4y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.wo-column-search[b-rqan2csx4y] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
    padding: 0.3rem 0.6rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    color: #737686;
}

    .wo-column-search .material-symbols-outlined[b-rqan2csx4y] {
        font-size: 1.1rem;
    }

    .wo-column-search input[b-rqan2csx4y] {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        font-size: 0.8125rem;
        color: #191c1e;
    }

.wo-column-custom-btn[b-rqan2csx4y] {
    flex-shrink: 0;
    white-space: nowrap;
    justify-content: center;
    min-width: 9.5rem;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.wo-column-list[b-rqan2csx4y] {
    max-height: 50vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.wo-column-item[b-rqan2csx4y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.5rem 0.25rem;
    border-bottom: 1px solid #c3c6d7;
    font-size: 0.85rem;
    color: #191c1e;
}

    .wo-column-item:last-child[b-rqan2csx4y] {
        border-bottom: none;
    }

    .wo-column-item.dragging[b-rqan2csx4y] {
        opacity: 0.4;
        background: #e1e2e4;
    }

    .wo-column-item.drop-target-above[b-rqan2csx4y] {
        box-shadow: inset 0 2px 0 0 #004ac6;
    }

    .wo-column-item--fixed[b-rqan2csx4y] {
        background: #f4f5f8;
    }

.wo-column-drag-handle[b-rqan2csx4y] {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: #737686;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: element;
    touch-action: none;
}

    .wo-column-drag-handle:active[b-rqan2csx4y] {
        cursor: grabbing;
    }

    .wo-column-drag-handle.disabled[b-rqan2csx4y] {
        color: #c3c6d7;
        cursor: not-allowed;
    }

.wo-column-item-check[b-rqan2csx4y] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    flex: 1;
    min-width: 0;
}

    .wo-column-item-check span[b-rqan2csx4y] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.wo-column-item-format[b-rqan2csx4y] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.wo-column-freeze-check[b-rqan2csx4y] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    font-size: 0.75rem;
    color: #333;
    white-space: nowrap;
    cursor: pointer;
}

    .wo-column-freeze-check input[b-rqan2csx4y] {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
        accent-color: #004ac6;
        cursor: pointer;
    }

.wo-column-mapping-btn[b-rqan2csx4y] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    width: 6.5rem;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
    cursor: pointer;
    white-space: nowrap;
}

    .wo-column-mapping-btn:hover[b-rqan2csx4y] {
        border-color: #004ac6;
        color: #004ac6;
    }

    .wo-column-mapping-btn .material-symbols-outlined[b-rqan2csx4y] {
        font-size: 1rem;
    }

.wo-column-colorrule-btn[b-rqan2csx4y] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 1.9rem;
    padding: 0.25rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
    cursor: pointer;
}

    .wo-column-colorrule-btn:hover[b-rqan2csx4y],
    .wo-column-colorrule-btn.active[b-rqan2csx4y] {
        border-color: #004ac6;
        color: #004ac6;
    }

    .wo-column-colorrule-btn .material-symbols-outlined[b-rqan2csx4y] {
        font-size: 1rem;
    }

    /* Fixed (locked) row: button is inert but still shows its configured state. */
    .wo-column-colorrule-btn:disabled[b-rqan2csx4y] {
        opacity: 0.5;
        cursor: not-allowed;
    }

        .wo-column-colorrule-btn:disabled:hover[b-rqan2csx4y] {
            border-color: #c3c6d7;
            color: #191c1e;
        }

        .wo-column-colorrule-btn.active:disabled:hover[b-rqan2csx4y] {
            border-color: #004ac6;
            color: #004ac6;
        }

.wo-column-colorrule-badge[b-rqan2csx4y] {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
    background: #004ac6;
    color: #ffffff;
    font-size: 0.6rem;
    line-height: 1;
    border-radius: 999px;
    min-width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.2rem;
}

.wo-column-uid[b-rqan2csx4y] {
    display: inline-block;
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 700;
    color: #737686;
    background: #eef0f4;
    border-radius: 0.25rem;
    padding: 0.05rem 0.3rem;
}

.wo-virtual-tag[b-rqan2csx4y] {
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #004ac6;
    background: #e8effd;
    border-radius: 0.25rem;
    padding: 0.05rem 0.35rem;
}

.wo-virtual-settings-btn[b-rqan2csx4y] {
    width: 2rem;
    color: #d32f2f;
    border-color: #f3c9c9;
}

    .wo-virtual-settings-btn:hover[b-rqan2csx4y] {
        border-color: #d32f2f;
        color: #d32f2f;
    }

.wo-virtual-delete-btn[b-rqan2csx4y] {
    width: 2rem;
    color: #d32f2f;
    border-color: #f3c9c9;
}

    .wo-virtual-delete-btn:hover[b-rqan2csx4y] {
        border-color: #d32f2f;
        color: #d32f2f;
    }

.wo-column-batch-intro[b-rqan2csx4y] {
    padding: 6px 4px 10px;
    font-size: 13px;
    color: #5b6472;
}

/* Bar at the top of a hover-card tab: the way back to the column list. */
.wo-column-hover-back[b-rqan2csx4y] { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; font-size: 0.85rem; color: #5f6368; }
.wo-column-hover-back .btn-secondary[b-rqan2csx4y] { display: inline-flex; align-items: center; gap: 0.25rem; }
.wo-column-hover-back .material-symbols-outlined[b-rqan2csx4y] { font-size: 1.1rem; }
/* /Components/Modals/ColumnTypeFormatEditor.razor.rz.scp.css */
/* Theme + width per host (see ColumnTypeFormatEditor.PlaceKind). Picker keeps the blue-grey
   management_wo look; the three Adapt-Filter hosts keep the neutral SAP look. */
.ctf--picker[b-sddudsu1tx],
.ctf--entry[b-sddudsu1tx] {
    --ctf-border: #c3c6d7;
    --ctf-bg: #f8f9fb;
    --ctf-color: #191c1e;
    --ctf-accent: #004ac6;
    --ctf-width: 6.5rem;
    --ctf-gap: 0.3rem;
    --ctf-icon-size: 1rem;
}

.ctf--sap[b-sddudsu1tx],
.ctf--beas[b-sddudsu1tx],
.ctf--fill[b-sddudsu1tx] {
    --ctf-border: #babbbb;
    --ctf-bg: #fff;
    --ctf-color: #333;
    --ctf-accent: #0070f2;
    --ctf-width: 6rem;
    --ctf-gap: 0.25rem;
    --ctf-icon-size: 0.9rem;
}

.ctf--fill[b-sddudsu1tx] {
    --ctf-width: 100%;
}

.ctf-type[b-sddudsu1tx],
.ctf-input[b-sddudsu1tx],
.ctf-btn[b-sddudsu1tx] {
    font-size: 0.75rem;
    border: 1px solid var(--ctf-border);
    border-radius: 0.25rem;
    background: var(--ctf-bg);
    color: var(--ctf-color);
}

.ctf-type[b-sddudsu1tx] {
    padding: 0.25rem 0.4rem;
}

.ctf-type.ctf--sap[b-sddudsu1tx],
.ctf-type.ctf--beas[b-sddudsu1tx],
.ctf-type.ctf--fill[b-sddudsu1tx] {
    padding: 0.25rem 0.3rem;
}

.ctf-type.ctf--sap[b-sddudsu1tx] {
    width: 100%;
}

.ctf-type.ctf--fill[b-sddudsu1tx] {
    width: 6.5rem;
    flex: 0 0 6.5rem;
}

.ctf-input[b-sddudsu1tx] {
    width: var(--ctf-width);
    padding: 0.25rem 0.4rem;
}

.ctf-input.ctf--fill[b-sddudsu1tx] {
    box-sizing: border-box;
}

.ctf-input.ctf--sap[b-sddudsu1tx] {
    width: 100%;
}

.ctf-btn[b-sddudsu1tx] {
    display: flex;
    align-items: center;
    gap: var(--ctf-gap);
    width: var(--ctf-width);
    justify-content: center;
    padding: 0.25rem 0.4rem;
    cursor: pointer;
    white-space: nowrap;
}

    .ctf-btn:hover[b-sddudsu1tx] {
        border-color: var(--ctf-accent);
        color: var(--ctf-accent);
    }

    .ctf-btn .material-symbols-outlined[b-sddudsu1tx] {
        font-size: var(--ctf-icon-size);
    }

.ctf-table-icon[b-sddudsu1tx] {
    width: var(--ctf-icon-size);
    height: var(--ctf-icon-size);
    object-fit: contain;
}

/* Beas Type=Icon's Format cell - plain inert icon+label, no button/interactivity. */
.ctf-icon-label[b-sddudsu1tx] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #333;
    white-space: nowrap;
}

    .ctf-icon-label .material-symbols-outlined[b-sddudsu1tx] {
        font-size: 0.9rem;
        color: #888;
    }

/* EntryFromSettingModal: picker colours, but the controls fill their (user-resizable) grid cell
   instead of using a fixed width, and may shrink below their content. */
.ctf--entry[b-sddudsu1tx] {
    --ctf-width: 100%;
}

.ctf-type.ctf--entry[b-sddudsu1tx] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.25rem 0.3rem;
}

.ctf-input.ctf--entry[b-sddudsu1tx],
.ctf-btn.ctf--entry[b-sddudsu1tx] {
    box-sizing: border-box;
    min-width: 0;
}

.ctf-btn.ctf--entry[b-sddudsu1tx] {
    overflow: hidden;
}

/* Table / Richtext button once it has been configured. */
.ctf-btn.active[b-sddudsu1tx] {
    border-color: var(--ctf-accent);
    color: var(--ctf-accent);
}
/* /Components/Modals/CostCalculationModal/DetailPostInCostModal.razor.rz.scp.css */
/* Anchor and clip inside each td without relying on ancestor selectors */
td[b-51ihyjigla] {
    position: relative;
}

.cell-parent[b-51ihyjigla] {
    position: relative;
}

.cell-wrapper[b-51ihyjigla] {
    display: inline-block;       /* allows centering and ellipsis */
    max-width: 100%;
    padding-right: 28px;         /* avoid overlap with button */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

.cell-action-btn[b-51ihyjigla] {
    position: absolute;
    top: 2px;
    right: 2px;
    display: none;               /* show on hover */
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

/* Show when hovering the cell or wrapper */
td:hover .cell-action-btn[b-51ihyjigla],
.cell-parent:hover .cell-action-btn[b-51ihyjigla] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cell-content[b-51ihyjigla] {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Modals/CrossReferenceModal.razor.rz.scp.css */
/* Not defined anywhere else this component can rely on: whichever host page's Bootstrap/global
   .btn-secondary happens to be loaded wins otherwise (a dark gray button on pages without their
   own light override), instead of the light "Close" look intended here. */
.btn-secondary[b-zj93rr4xog] {
    background: #f3f4f6;
    color: #505f76;
    border: none;
    border-radius: 0.5rem;
    padding: 0.45rem 1rem;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-secondary:hover[b-zj93rr4xog] {
        background: #e7e8ea;
    }

.col-dynamic-icon[b-zj93rr4xog] {
    height: 20px;
    width: auto;
    vertical-align: middle;
}

.cr-table-panel[b-zj93rr4xog] {
    position: relative;
}

.cr-table-gear-btn[b-zj93rr4xog] {
    position: absolute;
    top: 0.25rem;
    right: 0.5rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid #c3c6d7;
    background: linear-gradient(180deg, #ffffff, #f3f4f6);
    color: #505f76;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
    transition: color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.25s ease;
}

    .cr-table-gear-btn .material-symbols-outlined[b-zj93rr4xog] {
        font-size: 14px;
        transition: transform 0.35s ease;
    }

    .cr-table-gear-btn:hover[b-zj93rr4xog] {
        border-color: #004ac6;
        color: #004ac6;
        box-shadow: 0 2px 6px rgba(16, 24, 40, 0.18);
        transform: translateY(-1px);
    }

    .cr-table-gear-btn:hover .material-symbols-outlined[b-zj93rr4xog] {
        transform: rotate(60deg);
    }

    .cr-table-gear-btn:active[b-zj93rr4xog] {
        transform: translateY(0);
        box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
    }

.cr-table-wrap[b-zj93rr4xog] {
    max-height: 70vh;
    overflow: auto;
    border: 1px solid #e2e7f0;
    border-radius: 0.375rem;
}

    .cr-table-wrap[b-zj93rr4xog]::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    .cr-table-wrap[b-zj93rr4xog]::-webkit-scrollbar-track {
        background: transparent;
    }

    .cr-table-wrap[b-zj93rr4xog]::-webkit-scrollbar-thumb {
        background: var(--color-outline-variant);
        border-radius: 3px;
    }

        .cr-table-wrap[b-zj93rr4xog]::-webkit-scrollbar-thumb:hover {
            background: var(--color-outline);
        }

/* ModalCpn sets text-align:center inline on .modal-body, which beats any external CSS rule of
   equal specificity -- so alignment has to be set on the table itself, not the modal-body. */
.cr-table[b-zj93rr4xog] {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 0.82rem;
    text-align: left;
}

.cr-table th[b-zj93rr4xog] {
    position: sticky;
    top: 0;
    background: #eaedff;
    text-align: left;
    padding: 0.5rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #434655;
    border-bottom: 1px solid #e2e7f0;
}

.cr-table td[b-zj93rr4xog] {
    padding: 0.45rem 0.75rem;
    border-bottom: 1px solid rgba(226, 231, 240, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cr-col-resize-handle[b-zj93rr4xog] {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    cursor: col-resize;
    z-index: 2;
}

.cr-col-resize-handle[b-zj93rr4xog]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 16px;
    transform: translate(-50%, -50%);
    border-radius: 1px;
    background: #c4cee3;
    opacity: 0.7;
}

.cr-col-resize-handle:hover[b-zj93rr4xog] {
    background: #004ac6;
    opacity: 0.35;
}

.cr-col-resize-handle:hover[b-zj93rr4xog]::after {
    background: #004ac6;
    opacity: 1;
}
/* /Components/Modals/CustomDictionarySelectData.razor.rz.scp.css */
/* The pen button of an action column: same look as the funnel button of ColumnFilterDropdown, so header and row icons match. */
.cds-icon-btn[b-fe9c7qjt0m] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid #93c5fd;
    border-radius: 5px;
    background: #dbeafe;
    color: #1d4ed8;
    cursor: pointer;
    font-size: 0.9rem;
    vertical-align: middle;
    box-shadow: 0 1px 2px rgba(37, 99, 235, .12);
}

.cds-icon-btn:hover[b-fe9c7qjt0m],
.cds-icon-btn:focus-visible[b-fe9c7qjt0m] {
    border-color: #3b82f6;
    background: #bfdbfe;
    color: #1e40af;
}

/* The action was used on this row (e.g. its plan values were modified): amber, same colour as the "modified" marks next to the fields. */
.cds-icon-btn--on[b-fe9c7qjt0m],
.cds-icon-btn--on:hover[b-fe9c7qjt0m],
.cds-icon-btn--on:focus-visible[b-fe9c7qjt0m] {
    border-color: #d97706;
    background: #f59e0b;
    color: #fff;
}

/* Select-all box and the Sel funnel on one line. */
.cds-sel-head[b-fe9c7qjt0m] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Two parts: the list on top, the detail of the clicked row below. Each part scrolls by itself; TableCustom's own inner scroller is switched off
   in the markup, so the list has a single vertical scrollbar. */
.cds-list[b-fe9c7qjt0m] {
    max-height: 70vh;
    overflow: auto;
    /* The scrollbar (6px, see below) sits in the popup's side padding instead of squeezing the table. */
    margin-right: -6px;
}

.cds-list--split[b-fe9c7qjt0m] {
    max-height: 34vh;
}

.cds-detail[b-fe9c7qjt0m] {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem 0.75rem;
    border: 1px solid #dbe3f5;
    border-radius: 6px;
    background: #f8faff;
    max-height: 30vh;
    overflow: auto;
}

/* The plan table's own wrapper must not scroll too (and cut its last line): the detail scrolls as a whole. */
.cds-detail[b-fe9c7qjt0m]  .ibr-table-wrapper {
    overflow: visible;
}

/* Floating scrollbar of both parts: thin, no arrow buttons, invisible until the area is hovered - same look as FactoryBusinessFlowPage's widgets. */
.cds-scroll[b-fe9c7qjt0m]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.cds-scroll[b-fe9c7qjt0m]::-webkit-scrollbar-track {
    background: transparent;
}

.cds-scroll[b-fe9c7qjt0m]::-webkit-scrollbar-button {
    display: none;
}

.cds-scroll[b-fe9c7qjt0m]::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 999px;
}

.cds-scroll:hover[b-fe9c7qjt0m]::-webkit-scrollbar-thumb {
    background-color: rgba(100, 116, 139, 0.4);
}

/* Browsers without ::-webkit-scrollbar (Firefox) get their thin scrollbar. */
@supports not selector(::-webkit-scrollbar) {
    .cds-scroll[b-fe9c7qjt0m] {
        scrollbar-width: thin;
    }
}

/* A row the host marked (MarkedRow): already chosen / assigned. */
.cds-scroll td.cds-marked[b-fe9c7qjt0m] {
    background-color: #e6f4ea;
    font-weight: 600;
    color: #1b5e20;
}
/* /Components/Modals/DocumentPreviewModal.razor.rz.scp.css */
.dpm-body[b-keyaobwq77] { text-align: left; }
.dpm-field[b-keyaobwq77] { margin-bottom: 12px; }
.dpm-title[b-keyaobwq77] { font-weight: 600; word-break: break-word; margin-bottom: 6px; }
.dpm-error[b-keyaobwq77] { color: #b91c1c; font-size: 13px; padding: 4px 0; }
.dpm-note[b-keyaobwq77] { color: #64748b; font-size: 12px; }
.dpm-progress[b-keyaobwq77] { height: 4px; margin-top: 12px; border-radius: 2px; background: #e2e8f0; overflow: hidden; }
.dpm-progress-bar[b-keyaobwq77] { width: 40%; height: 100%; background: #6366f1; animation: dpm-slide-b-keyaobwq77 1.1s ease-in-out infinite; }
@keyframes dpm-slide-b-keyaobwq77 { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }

.dpm-preview[b-keyaobwq77] { max-height: 70vh; overflow: auto; }
.dpm-preview[b-keyaobwq77]  canvas { display: block; width: 100%; margin-bottom: 8px; border: 1px solid #e2e8f0; }
.dpm-preview[b-keyaobwq77]  .aik-sheet-table { overflow: auto; margin-bottom: 12px; }
.dpm-preview[b-keyaobwq77]  .aik-sheet-table td, .dpm-preview[b-keyaobwq77]  .aik-sheet-table th { border: 1px solid #cbd5e1; padding: 2px 6px; font-size: 13px; white-space: nowrap; }
.dpm-preview[b-keyaobwq77]  .aik-sheet-table table { border-collapse: collapse; }
.dpm-preview[b-keyaobwq77]  .aik-pdf-frame { display: block; width: 100%; height: 70vh; border: 0; }

.dpm-media[b-keyaobwq77] { display: block; max-width: 100%; max-height: 70vh; margin: 0 auto; }
.dpm-box[b-keyaobwq77] { max-height: 65vh; overflow: auto; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc; font-size: 14px; word-break: break-word; }
.dpm-md[b-keyaobwq77]  table { border-collapse: collapse; margin: 8px 0; }
.dpm-md[b-keyaobwq77]  th, .dpm-md[b-keyaobwq77]  td { border: 1px solid #cbd5e1; padding: 4px 8px; }
/* /Components/Modals/DuplicateItemModal.razor.rz.scp.css */
.dim-row[b-rngrx47hq0] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.dim-label[b-rngrx47hq0] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}

.dim-input[b-rngrx47hq0] {
    padding: 0.5rem 0.7rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

    .dim-input:focus[b-rngrx47hq0] {
        outline: none;
        border-color: #004ac6;
    }

.btn-primary[b-rngrx47hq0] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-primary:hover[b-rngrx47hq0] {
        background: #2563eb;
    }

    .btn-primary:active[b-rngrx47hq0] {
        transform: scale(0.96);
    }

    .btn-primary:disabled[b-rngrx47hq0] {
        opacity: 0.6;
        cursor: not-allowed;
    }

.btn-secondary[b-rngrx47hq0] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-secondary:hover[b-rngrx47hq0] {
        background: #f3f4f6;
    }

    .btn-secondary:disabled[b-rngrx47hq0] {
        opacity: 0.6;
        cursor: not-allowed;
    }
/* /Components/Modals/EditFormulaParamModal.razor.rz.scp.css */
/* /Components/Modals/EntryFieldAccessRuleModal.razor.rz.scp.css */
.btn-primary[b-t2rimgjifz] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
}

.btn-secondary[b-t2rimgjifz] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f3f4f6;
    color: #505f76;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
}

.ear-editor[b-t2rimgjifz] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.ear-hint[b-t2rimgjifz] {
    font-size: 0.75rem;
    color: #737686;
}

.ear-unlisted-toggle[b-t2rimgjifz] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: #505f76;
}

.ear-mode-btn[b-t2rimgjifz] {
    padding: 0.3rem 0.6rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #505f76;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}

    .ear-mode-btn.active[b-t2rimgjifz] {
        border-color: #004ac6;
        color: #004ac6;
        background: #e8effd;
    }

.ear-row[b-t2rimgjifz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #e2e5ee;
}

.ear-select[b-t2rimgjifz] {
    min-width: 0;
    flex: 1 1 30%;
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.ear-kind-select[b-t2rimgjifz] {
    flex: 0 0 5rem;
}

/* Wrapper just for positioning the suggestion list below the search box. */
.ear-target-wrap[b-t2rimgjifz] {
    min-width: 0;
    flex: 1 1 30%;
}

/* Same gray-box look as .ear-select (the Role/User and Hidden/Read-only/Editable dropdowns next
   to it), just with a search icon + borderless input inside instead of native <select> options --
   keeps every field in the row reading as one consistent set of controls. */
.ear-target-search[b-t2rimgjifz] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
}

    .ear-target-search .material-symbols-outlined[b-t2rimgjifz] {
        font-size: 1.1rem;
        color: #737686;
        flex-shrink: 0;
    }

    .ear-target-search input[b-t2rimgjifz] {
        flex: 1;
        min-width: 0;
        border: none;
        outline: none;
        background: transparent;
        font-size: 0.8125rem;
        color: #191c1e;
    }

/* Suggestion list -- same gray-box border/background as .ear-select instead of a raised white
   Bootstrap card, so it reads as part of the same control rather than a foreign popup. */
.ear-target-dropdown[b-t2rimgjifz] {
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    margin-top: 0.2rem;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
}

.ear-target-dropdown-item[b-t2rimgjifz] {
    display: block;
    padding: 0.35rem 0.5rem;
    font-size: 0.8125rem;
    color: #191c1e;
    text-decoration: none;
    cursor: pointer;
}

    .ear-target-dropdown-item:hover[b-t2rimgjifz] {
        background: #e8effd;
        color: #004ac6;
    }

.ear-row-btn[b-t2rimgjifz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #505f76;
    cursor: pointer;
}

    .ear-row-btn:hover[b-t2rimgjifz] {
        border-color: #004ac6;
        color: #004ac6;
    }

.ear-add-btn[b-t2rimgjifz] {
    width: auto;
    gap: 0.3rem;
    padding: 0.4rem 0.75rem;
    align-self: flex-start;
}
/* /Components/Modals/EntryFieldForbiddenRuleModal.razor.rz.scp.css */
.btn-primary[b-6rfb3dtwr9] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-primary:hover[b-6rfb3dtwr9] {
        background: #2563eb;
    }

.btn-secondary[b-6rfb3dtwr9] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f3f4f6;
    color: #505f76;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-secondary:hover[b-6rfb3dtwr9] {
        background: #e7e8ea;
    }

/* Editor on the left, guide + sample values on the right. */
.efs-forbidden-layout[b-6rfb3dtwr9] {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    text-align: left;
}

.efs-forbidden-editor[b-6rfb3dtwr9],
.efs-forbidden-side[b-6rfb3dtwr9],
.efs-forbidden-guide[b-6rfb3dtwr9],
.efs-forbidden-params[b-6rfb3dtwr9] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.efs-forbidden-side[b-6rfb3dtwr9] {
    padding-left: 1rem;
    border-left: 1px solid #e2e5ee;
}

.efs-forbidden-editor-wrap[b-6rfb3dtwr9] {
    border-radius: 0.25rem;
    overflow: hidden;
}

.efs-forbidden-label[b-6rfb3dtwr9] {
    font-size: 0.75rem;
    color: #737686;
}

.efs-forbidden-hint[b-6rfb3dtwr9] {
    font-size: 0.75rem;
    color: #6b7280;
}

.efs-forbidden-preview-bar[b-6rfb3dtwr9] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.efs-forbidden-run-btn[b-6rfb3dtwr9] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.7rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.3rem;
    background: #fff;
    color: #3755c3;
    font-size: 0.8rem;
    cursor: pointer;
}

.efs-forbidden-hint-list[b-6rfb3dtwr9] {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.72rem;
    color: #555a6a;
    line-height: 1.5;
}

    .efs-forbidden-hint-list li + li[b-6rfb3dtwr9] {
        margin-top: 0.3rem;
    }

    .efs-forbidden-hint-list code[b-6rfb3dtwr9],
    .efs-forbidden-param code[b-6rfb3dtwr9] {
        font-family: "Consolas", "Courier New", monospace;
        background: #fff;
        border: 1px solid #d4dadf;
        border-radius: 0.15rem;
        padding: 0 0.2rem;
        color: #0b3d91;
    }

.efs-forbidden-example[b-6rfb3dtwr9] {
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.75rem;
    color: #0b3d91;
    background: #f5f7fb;
    border: 1px solid #d4dadf;
    border-radius: 0.2rem;
    padding: 0.4rem 0.5rem;
    white-space: pre-wrap;
}

.efs-forbidden-param[b-6rfb3dtwr9] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.efs-forbidden-input[b-6rfb3dtwr9] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.25rem 0.4rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    font-size: 0.8rem;
}

.efs-forbidden-result[b-6rfb3dtwr9] {
    padding: 0.4rem 0.6rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    white-space: pre-wrap;
}

.efs-forbidden-result--ok[b-6rfb3dtwr9] {
    background: #e7f6ec;
    border: 1px solid #9bd3ae;
    color: #1b5e34;
}

.efs-forbidden-result--blocked[b-6rfb3dtwr9] {
    background: #fdecea;
    border: 1px solid #f1aeb5;
    color: #842029;
}
/* /Components/Modals/EntryFieldMappingModal.razor.rz.scp.css */
.btn-primary[b-hilg9n24eb] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
}

.btn-secondary[b-hilg9n24eb] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f3f4f6;
    color: #505f76;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
}

.efm-editor[b-hilg9n24eb] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.efm-source-toggle[b-hilg9n24eb] {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}

.efm-type-btn[b-hilg9n24eb] {
    padding: 0.35rem 0.75rem;
}

    .efm-type-btn.active[b-hilg9n24eb] {
        border-color: #004ac6;
        color: #004ac6;
    }

textarea.efm-sql-textarea[b-hilg9n24eb] {
    width: 100%;
    min-height: 4.5rem;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
    flex: none;
}

.efm-sql-hint[b-hilg9n24eb] {
    font-size: 0.7rem;
    color: #737686;
}

.efm-row[b-hilg9n24eb] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.efm-input[b-hilg9n24eb] {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.efm-row-btn[b-hilg9n24eb] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    flex-shrink: 0;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #737686;
    cursor: pointer;
    padding: 0.35rem;
    transition: color .2s, border-color .2s;
}

    .efm-row-btn:hover[b-hilg9n24eb] {
        border-color: #004ac6;
        color: #004ac6;
    }

.efm-add-btn[b-hilg9n24eb],
.efm-test-btn[b-hilg9n24eb] {
    align-self: flex-start;
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
}

    .efm-test-btn:disabled[b-hilg9n24eb] {
        opacity: 0.5;
        cursor: default;
    }

.efm-default-row[b-hilg9n24eb] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #c3c6d7;
}

.efm-default-label[b-hilg9n24eb] {
    font-size: 0.75rem;
    color: #737686;
}

.efm-checkbox-row-label[b-hilg9n24eb] {
    flex-shrink: 0;
    width: 4.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4a5568;
}

.efm-test-results[b-hilg9n24eb] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.efm-test-summary[b-hilg9n24eb] {
    font-size: 0.75rem;
    color: #737686;
}

.efm-test-table-wrap[b-hilg9n24eb] {
    max-height: 22rem;
    overflow: auto;
    border: 1px solid #dde3ef;
    border-radius: 0.5rem;
}

.efm-test-table[b-hilg9n24eb] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

    .efm-test-table th[b-hilg9n24eb],
    .efm-test-table td[b-hilg9n24eb] {
        padding: 0.5rem 0.75rem;
        text-align: left;
        white-space: nowrap;
        border-bottom: 1px solid #eef0f5;
    }

    .efm-test-table th[b-hilg9n24eb] {
        position: sticky;
        top: 0;
        background: #f3f4f8;
        color: #4a5568;
        font-weight: 700;
        z-index: 1;
    }

    .efm-test-table tbody tr:last-child td[b-hilg9n24eb] {
        border-bottom: none;
    }

    .efm-test-table tbody tr:hover td[b-hilg9n24eb] {
        background: #f8f9fb;
    }

.efm-test-ellipsis-row td[b-hilg9n24eb] {
    text-align: center;
    color: #a0a8bd;
    letter-spacing: 0.2rem;
    font-weight: 700;
    background: transparent !important;
}

.efm-test-empty[b-hilg9n24eb] {
    padding: 1.5rem;
    text-align: center;
    color: #737686;
    font-size: 0.85rem;
}
/* /Components/Modals/EntryFieldTableQueryModal.razor.rz.scp.css */
.btn-primary[b-6d7m5knhxn] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-primary:hover[b-6d7m5knhxn] {
        background: #2563eb;
    }

    .btn-primary:active[b-6d7m5knhxn] {
        transform: scale(0.96);
    }

.btn-secondary[b-6d7m5knhxn] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f3f4f6;
    color: #505f76;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-secondary:hover[b-6d7m5knhxn] {
        background: #e7e8ea;
    }

    .btn-secondary:active[b-6d7m5knhxn] {
        transform: scale(0.96);
    }

.eftq-layout[b-6d7m5knhxn] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Side-by-side layout when ShowDisplaySettings is on (ColumnPickerModal's Table type only) - the
   SQL editor stays the wider column, Button Display sits beside it as a narrower settings panel
   instead of stacking underneath, which used to push the modal taller than it needed to be. */
.eftq-layout--split[b-6d7m5knhxn] {
    flex-direction: row;
    align-items: flex-start;
}

    .eftq-layout--split .eftq-editor[b-6d7m5knhxn] {
        flex: 1 1 60%;
        min-width: 0;
    }

    .eftq-layout--split .eftq-display[b-6d7m5knhxn] {
        flex: 1 1 40%;
        min-width: 0;
        border-left: 1px solid #e2e6ee;
        padding-left: 1rem;
    }

.eftq-editor[b-6d7m5knhxn] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: left;
}

.eftq-label[b-6d7m5knhxn] {
    font-size: 0.75rem;
    color: #737686;
}

.eftq-editor-wrap[b-6d7m5knhxn] {
    border-radius: 0.25rem;
    overflow: hidden;
}

.eftq-example[b-6d7m5knhxn] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.6rem 0.7rem;
    background: #f5f7fb;
    border: 1px solid #e2e6ee;
    border-radius: 0.25rem;
}

.eftq-example-code[b-6d7m5knhxn] {
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.75rem;
    color: #0b3d91;
    background: #fff;
    border: 1px solid #d4dadf;
    border-radius: 0.2rem;
    padding: 0.35rem 0.5rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.eftq-hint[b-6d7m5knhxn] {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.7rem;
    color: #737686;
    line-height: 1.5;
}

    .eftq-hint li + li[b-6d7m5knhxn] {
        margin-top: 0.3rem;
    }

.eftq-display[b-6d7m5knhxn] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* The Example card sits under the Button Display settings in the split layout. */
.eftq-display .eftq-example[b-6d7m5knhxn] {
    margin-top: 0.6rem;
}

.eftq-display-preview[b-6d7m5knhxn] {
    font-size: 1.25rem;
    color: #737686;
}

    .eftq-hint code[b-6d7m5knhxn] {
        font-family: "Consolas", "Courier New", monospace;
        background: #fff;
        border: 1px solid #d4dadf;
        border-radius: 0.15rem;
        padding: 0 0.2rem;
        color: #0b3d91;
    }

.eftq-preview[b-6d7m5knhxn] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.eftq-preview-head[b-6d7m5knhxn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.eftq-preview-param[b-6d7m5knhxn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
/* /Components/Modals/EntryFieldVisibilityRuleModal.razor.rz.scp.css */
.btn-primary[b-oeqoge6fsd] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
}

.btn-secondary[b-oeqoge6fsd] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f3f4f6;
    color: #505f76;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
}

.evr-editor[b-oeqoge6fsd] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.evr-mode-toggle[b-oeqoge6fsd] {
    display: flex;
    gap: 0.4rem;
}

.evr-mode-btn[b-oeqoge6fsd] {
    flex: 1;
    padding: 0.4rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #505f76;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}

    .evr-mode-btn.active[b-oeqoge6fsd] {
        border-color: #004ac6;
        color: #004ac6;
        background: #e8effd;
    }

.evr-hint[b-oeqoge6fsd] {
    font-size: 0.75rem;
    color: #737686;
}

    .evr-hint code[b-oeqoge6fsd] {
        font-family: "Courier New", monospace;
        background: #eef0f4;
        border-radius: 0.2rem;
        padding: 0 0.25rem;
    }

.evr-row[b-oeqoge6fsd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #e2e5ee;
}

.evr-select[b-oeqoge6fsd] {
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.evr-operator-select[b-oeqoge6fsd] {
    flex: 1 1 40%;
}

.evr-row-values[b-oeqoge6fsd] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1 1 100%;
}

.evr-input[b-oeqoge6fsd] {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.evr-field-input[b-oeqoge6fsd] {
    flex: 1 1 40%;
    font-family: "Courier New", monospace;
}

.evr-and[b-oeqoge6fsd] {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: #737686;
}

.evr-row-btn[b-oeqoge6fsd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #505f76;
    cursor: pointer;
}

    .evr-row-btn:hover[b-oeqoge6fsd] {
        border-color: #004ac6;
        color: #004ac6;
    }

.evr-add-btn[b-oeqoge6fsd] {
    width: auto;
    gap: 0.3rem;
    padding: 0.4rem 0.75rem;
    align-self: flex-start;
}
/* /Components/Modals/EntryFromSettingModal.razor.rz.scp.css */
.btn-primary[b-7ntnzovf5j] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
}

.btn-secondary[b-7ntnzovf5j] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f3f4f6;
    color: #505f76;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
}

.efs-toolbar[b-7ntnzovf5j] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.efs-search[b-7ntnzovf5j] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
    flex: 1;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    color: #737686;
}

    .efs-search .material-symbols-outlined[b-7ntnzovf5j] {
        font-size: 1.1rem;
    }

    .efs-search input[b-7ntnzovf5j] {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        font-size: 0.8125rem;
        color: #191c1e;
    }

.efs-virtual-columns-btn[b-7ntnzovf5j] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    padding: 0.35rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #c3c6d7;
    background: #e1e2e4;
    color: #191c1e;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
}

    .efs-virtual-columns-btn:hover[b-7ntnzovf5j] {
        background: rgba(195,198,215,0.25);
    }

    .efs-virtual-columns-btn .material-symbols-outlined[b-7ntnzovf5j] {
        font-size: 1.05rem;
    }

/* Forbidden rule button when the form has a rule configured. */
.efs-virtual-columns-btn--active[b-7ntnzovf5j] {
    border-color: #3755c3;
    background: #e6ebfb;
    color: #3755c3;
}

.efs-header-row[b-7ntnzovf5j] {
    display: grid;
    grid-template-columns: var(--efs-grid-columns);
    align-items: center;
    column-gap: 0.5rem;
    padding: 0.3rem 0.25rem;
    margin-bottom: 0.15rem;
    border-bottom: 2px solid #c3c6d7;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #737686;
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
}

    /* Every header title centered over its column -- the row controls below keep their own
       (mostly left-aligned) layout, this only affects the header text itself. */
    .efs-header-row > span[b-7ntnzovf5j] {
        text-align: center;
    }

.efs-header-tab[b-7ntnzovf5j] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.efs-header-label[b-7ntnzovf5j] {
    text-align: left !important; /* Field cell content is left-aligned, so its title follows */
    min-width: 0;
}

/* min-width:0 overrides the flex item's default min-width:auto, which would otherwise floor these
   at their unbroken text's own width (e.g. "Visibility" alone) and overflow into the next column's
   label regardless of the width set above -- white-space:normal (the default for a span, restated
   here since it's what actually needs the min-width override to take effect) lets that text wrap
   onto a second line within the column instead. */
.efs-header-linkobject[b-7ntnzovf5j] {
    min-width: 0;
    white-space: normal;
    line-height: 1.15;
}

.efs-header-visual-rule[b-7ntnzovf5j],
.efs-header-access-rule[b-7ntnzovf5j] {
    min-width: 0;
    white-space: normal;
    line-height: 1.15;
}

.efs-header-category[b-7ntnzovf5j] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.efs-header-category-btn[b-7ntnzovf5j] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #737686;
    cursor: pointer;
}

    .efs-header-category-btn:hover[b-7ntnzovf5j] {
        color: #004ac6;
    }

    .efs-header-category-btn .material-symbols-outlined[b-7ntnzovf5j] {
        font-size: 0.95rem;
    }

.efs-header-readonly[b-7ntnzovf5j] {
    text-align: center;
}

.efs-header-required[b-7ntnzovf5j] {
    text-align: center;
}

.efs-list[b-7ntnzovf5j] {
    max-height: 55vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    text-align: left;
    scrollbar-width: thin;
    scrollbar-color: #c3c6d7 transparent;
}

    .efs-list[b-7ntnzovf5j]::-webkit-scrollbar {
        width: 8px;
    }

    .efs-list[b-7ntnzovf5j]::-webkit-scrollbar-track {
        background: transparent;
    }

    .efs-list[b-7ntnzovf5j]::-webkit-scrollbar-thumb {
        background: #c3c6d7;
        border-radius: 4px;
    }

    .efs-list[b-7ntnzovf5j]::-webkit-scrollbar-thumb:hover {
        background: #a7abc0;
    }

.efs-item[b-7ntnzovf5j] {
    display: grid;
    grid-template-columns: var(--efs-grid-columns);
    align-items: center;
    column-gap: 0.5rem;
    padding: 0.5rem 0.25rem;
    border-bottom: 1px solid #e2e5ee;
    font-size: 0.82rem;
}

    .efs-header-row > *[b-7ntnzovf5j],
    .efs-item > *[b-7ntnzovf5j] {
        min-width: 0;
    }

    .efs-item:last-child[b-7ntnzovf5j] {
        border-bottom: none;
    }

    /* .dragging/.drop-target-above are toggled by the shared woColumnDragInit JS (see
       columnDragReorder.js) -- CSS isolation means ColumnPickerModal.razor.css's own rules for
       these same class names don't reach this component's rows, so they need restating here. */
    .efs-item.dragging[b-7ntnzovf5j] {
        opacity: 0.4;
        background: #e1e2e4;
    }

    .efs-item.drop-target-above[b-7ntnzovf5j] {
        box-shadow: inset 0 2px 0 0 #004ac6;
    }

/* Shared grid-column wrapper (matches .efs-header-label) holding the label AND, for a virtual
   column row, its "virtual" tag + edit/delete buttons -- those used to be separate flex siblings
   of .efs-item-label, which pushed every later column (Type, Default Value, ...) further right on
   virtual rows than on plain ones, drifting them out of alignment with the header. Keeping them
   inside one cell lets the label shrink/ellipsize first while the tag/buttons stay put. */
.efs-field-cell[b-7ntnzovf5j] {
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    overflow: hidden;
}

.efs-item-label[b-7ntnzovf5j] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #191c1e;
}

.efs-item-uid[b-7ntnzovf5j] {
    display: inline-block;
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 700;
    color: #737686;
    background: #eef0f4;
    border-radius: 0.25rem;
    padding: 0.05rem 0.3rem;
    margin-right: 0.3rem;
}

.efs-virtual-tag[b-7ntnzovf5j] {
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #004ac6;
    background: #e8effd;
    border-radius: 0.25rem;
    padding: 0.1rem 0.35rem;
}

.efs-virtual-delete-btn[b-7ntnzovf5j] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: 1px solid #f3c9c9;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #d32f2f;
    cursor: pointer;
}

    .efs-virtual-delete-btn:hover[b-7ntnzovf5j] {
        border-color: #d32f2f;
    }

    .efs-virtual-delete-btn .material-symbols-outlined[b-7ntnzovf5j] {
        font-size: 0.95rem;
    }

/* Each header and row cell occupies the same shared grid track; box-sizing keeps control borders
   and padding inside their columns. */
.efs-type-cell[b-7ntnzovf5j] {
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.efs-mapping-btn[b-7ntnzovf5j] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
    cursor: pointer;
}

    .efs-mapping-btn:hover[b-7ntnzovf5j] {
        border-color: #004ac6;
        color: #004ac6;
    }

    .efs-mapping-btn .material-symbols-outlined[b-7ntnzovf5j] {
        font-size: 0.95rem;
    }

    .efs-mapping-btn--active[b-7ntnzovf5j] {
        border-color: #004ac6;
        color: #004ac6;
        background: #e8effd;
    }

.efs-condition-cell[b-7ntnzovf5j] {
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.efs-linkobject-cell[b-7ntnzovf5j] {
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.efs-visual-rule-cell[b-7ntnzovf5j] {
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.efs-access-rule-cell[b-7ntnzovf5j] {
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

/* Same grid-cell wrapper as .efs-type-cell: the delete button (shown only when a
   category is assigned) shares the column with the select instead of pushing later columns
   out of alignment. */
.efs-category-cell[b-7ntnzovf5j] {
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.efs-tab-cell[b-7ntnzovf5j] {
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    align-items: center;
}

.efs-tab-select[b-7ntnzovf5j] {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    font-size: 0.75rem;
    padding: 0.25rem 0.3rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.efs-category-select[b-7ntnzovf5j] {
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
    font-size: 0.75rem;
    padding: 0.25rem 0.3rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.efs-width-cell[b-7ntnzovf5j] {
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    gap: 2px;
}

.efs-width-input[b-7ntnzovf5j] {
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
    font-size: 0.75rem;
    padding: 0.25rem 0.3rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.efs-width-unit-select[b-7ntnzovf5j] {
    box-sizing: border-box;
    flex-shrink: 0;
    width: 1.25rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.1rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.efs-sequence-input[b-7ntnzovf5j] {
    box-sizing: border-box;
    min-width: 0;
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.efs-format-cell[b-7ntnzovf5j] {
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    align-items: center;
}

.efs-style-cell[b-7ntnzovf5j] {
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.efs-defaultvalue-input[b-7ntnzovf5j] {
    box-sizing: border-box;
    min-width: 0;
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.efs-drag-handle[b-7ntnzovf5j] {
    box-sizing: border-box;
    overflow: hidden;
    font-size: 18px;
    text-align: center;
}

.efs-visible-check[b-7ntnzovf5j] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.efs-readonly-check[b-7ntnzovf5j] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.efs-required-check[b-7ntnzovf5j] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.efs-empty[b-7ntnzovf5j] {
    padding: 1rem;
    text-align: center;
    color: #737686;
    font-size: 0.85rem;
}

.efs-batch-intro[b-7ntnzovf5j] {
    padding: 6px 4px 10px;
    font-size: 13px;
    color: #5b6472;
}
/* /Components/Modals/InventoryHistoryModal.razor.rz.scp.css */
/* Generic .btn-*/.loading-cell/.col-* classes used by this component's own markup below, but
   which management_wo.css (not this file) used to be the one supplying -- ported here verbatim
   so this modal no longer silently depends on the host page defining matching copies. Colors are
   literal (copied from management_wo.css's :root, the palette this modal originally shipped with
   on MrpWorkbench) rather than var(--color-*)[b-9zun8uaj9l], since --color-* isn't declared by every host page
   and :root itself can't be targeted from scoped css (Blazor's isolation attribute never lands on
   <html>) -- literal values guarantee this modal looks identical everywhere it's opened from. */
.btn-primary[b-9zun8uaj9l] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-primary:hover[b-9zun8uaj9l] {
        background: #2563eb;
    }

    .btn-primary:active[b-9zun8uaj9l] {
        transform: scale(0.96);
    }

.btn-secondary[b-9zun8uaj9l] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f3f4f6;
    color: #505f76;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-secondary:hover[b-9zun8uaj9l] {
        background: #e7e8ea;
    }

    .btn-secondary:active[b-9zun8uaj9l] {
        transform: scale(0.96);
    }

.btn-outline[b-9zun8uaj9l] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #c3c6d7;
    background: #e1e2e4;
    color: #191c1e;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s;
}

    .btn-outline:hover[b-9zun8uaj9l] {
        background: rgba(195,198,215,0.25);
    }

    .btn-outline.active[b-9zun8uaj9l] {
        background: #d0e1fb;
        color: #54647a;
        border-color: #004ac6;
    }

.loading-cell[b-9zun8uaj9l] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 3rem;
    color: #505f76;
    font-size: 0.875rem;
}

@keyframes spin-b-9zun8uaj9l {
    to {
        transform: rotate(360deg);
    }
}

.spin[b-9zun8uaj9l] {
    animation: spin-b-9zun8uaj9l 1s linear infinite;
}

.col-resize-handle[b-9zun8uaj9l] {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    cursor: col-resize;
    z-index: 2;
}

    .col-resize-handle[b-9zun8uaj9l]::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 2px;
        height: 16px;
        transform: translate(-50%, -50%);
        border-radius: 1px;
        background: #c3c6d7;
        opacity: 0.7;
    }

    .col-resize-handle:hover[b-9zun8uaj9l] {
        background: #004ac6;
        opacity: 0.35;
    }

    .col-resize-handle:hover[b-9zun8uaj9l]::after {
        background: #004ac6;
        opacity: 1;
    }

.col-dynamic-icon[b-9zun8uaj9l] {
    height: 20px;
    width: auto;
    vertical-align: middle;
}

.ihm-tabs[b-9zun8uaj9l] {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid #c3c6d7;
    margin-bottom: 0.75rem;
}

.ihm-tab[b-9zun8uaj9l] {
    border: none;
    background: transparent;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #737686;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

    .ihm-tab.active[b-9zun8uaj9l] {
        color: #004ac6;
        border-bottom-color: #004ac6;
    }

.ihm-canvas[b-9zun8uaj9l] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

/* Item header */
.ihm-item-header[b-9zun8uaj9l] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.ihm-breadcrumb[b-9zun8uaj9l] {
    display: flex;
    gap: 0.4rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #505f76;
    margin-bottom: 0.25rem;
}

.ihm-breadcrumb-sep[b-9zun8uaj9l] {
    color: #737686;
}

.ihm-item-title[b-9zun8uaj9l] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #004ac6;
    margin: 0;
}

.ihm-item-actions[b-9zun8uaj9l] {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.ihm-btn-outline[b-9zun8uaj9l], .ihm-btn-primary[b-9zun8uaj9l] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 0.25rem;
    cursor: pointer;
}

    .ihm-btn-outline .material-symbols-outlined[b-9zun8uaj9l], .ihm-btn-primary .material-symbols-outlined[b-9zun8uaj9l] {
        font-size: 18px;
    }

.ihm-btn-outline[b-9zun8uaj9l] {
    border: 1px solid #c3c6d7;
    background: #ffffff;
    color: #505f76;
}

.ihm-btn-primary[b-9zun8uaj9l] {
    border: none;
    background: #004ac6;
    color: #ffffff;
    opacity: 0.9;
}

/* KPI grid */
.ihm-kpi-grid[b-9zun8uaj9l] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.ihm-kpi-card[b-9zun8uaj9l] {
    border: 1px solid #c3c6d7;
    background: #ffffff;
    border-radius: 0.25rem;
    padding: 0.75rem 1rem;
}

    .ihm-kpi-card.dim[b-9zun8uaj9l] {
        opacity: 0.6;
    }

    .ihm-kpi-card.danger[b-9zun8uaj9l] {
        box-shadow: 0 0 0 1px #ba1a1a inset;
    }

.ihm-kpi-card-top[b-9zun8uaj9l] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.ihm-kpi-warning[b-9zun8uaj9l] {
    font-size: 18px;
    color: #ba1a1a;
}

.ihm-kpi-label[b-9zun8uaj9l] {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #505f76;
    margin: 0 0 0.4rem;
}

.ihm-kpi-value[b-9zun8uaj9l] {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.ihm-kpi-card.danger .ihm-kpi-value[b-9zun8uaj9l] {
    color: #ba1a1a;
}

/* Secondary groups */
.ihm-groups-grid[b-9zun8uaj9l] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.ihm-group-card[b-9zun8uaj9l] {
    border: 1px solid #c3c6d7;
    background: #ffffff;
    border-radius: 0.25rem;
    overflow: hidden;
}

.ihm-group-header[b-9zun8uaj9l] {
    background: #edeef0;
    padding: 0.5rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #434655;
}

.ihm-group-body[b-9zun8uaj9l] {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ihm-group-body-grid[b-9zun8uaj9l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.ihm-field-row[b-9zun8uaj9l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.8125rem;
}

    .ihm-field-row.dim[b-9zun8uaj9l] {
        opacity: 0.55;
    }

.ihm-field-value[b-9zun8uaj9l] {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
}

.ihm-param-label[b-9zun8uaj9l] {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #737686;
    margin: 0 0 0.25rem;
}

/* Anomaly banner */
.ihm-anomaly[b-9zun8uaj9l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    background: #ffdad6;
    border: 1px solid #ba1a1a;
}

.ihm-anomaly-icon[b-9zun8uaj9l] {
    background: #ba1a1a;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .ihm-anomaly-icon .material-symbols-outlined[b-9zun8uaj9l] {
        color: #fff;
        font-size: 20px;
    }

.ihm-anomaly-text[b-9zun8uaj9l] {
    flex-grow: 1;
}

.ihm-anomaly-title[b-9zun8uaj9l] {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #93000a;
    margin: 0;
}

.ihm-anomaly-sub[b-9zun8uaj9l] {
    font-size: 0.75rem;
    color: #93000a;
    opacity: 0.85;
    margin: 0.15rem 0 0;
}

.ihm-anomaly-value[b-9zun8uaj9l] {
    text-align: right;
    flex-shrink: 0;
}

.ihm-anomaly-value-label[b-9zun8uaj9l] {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #93000a;
    opacity: 0.7;
    margin: 0;
}

.ihm-anomaly-value-number[b-9zun8uaj9l] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ba1a1a;
    margin: 0;
}

/* Transaction history card */
.ihm-txn-card[b-9zun8uaj9l] {
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    overflow: hidden;
}

.ihm-txn-header[b-9zun8uaj9l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #c3c6d7;
}

    .ihm-txn-header h3[b-9zun8uaj9l] {
        font-size: 0.9375rem;
        font-weight: 700;
        margin: 0;
    }

.ihm-txn-actions[b-9zun8uaj9l] {
    display: flex;
    gap: 0.5rem;
}

.ihm-txn-chip[b-9zun8uaj9l] {
    padding: 0.15rem 0.5rem;
    background: #edeef0;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: #505f76;
    font-family: 'JetBrains Mono', monospace;
}

.ihm-txn-chip-btn[b-9zun8uaj9l] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.55rem;
    background: #edeef0;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #505f76;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

    .ihm-txn-chip-btn .material-symbols-outlined[b-9zun8uaj9l] {
        font-size: 15px;
    }

    .ihm-txn-chip-btn:hover:not(:disabled)[b-9zun8uaj9l] {
        border-color: #004ac6;
        color: #004ac6;
        background: #ffffff;
    }

    .ihm-txn-chip-btn:disabled[b-9zun8uaj9l] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.ihm-txn-chip-btn--icon[b-9zun8uaj9l] {
    padding: 0.3rem;
}

/* Expand toggle: instead of resizing the Bootstrap modal itself (which fought the library's own
   sizing/centering), the card becomes a fixed fullscreen overlay painted on top of the modal. */
.ihm-txn-card--expanded[b-9zun8uaj9l] {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 0;
}

    .ihm-txn-card--expanded .wo-txn-table-wrap[b-9zun8uaj9l] {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
    }

.ihm-txn-filters[b-9zun8uaj9l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #c3c6d7;
    background: #f3f4f6;
    flex-wrap: wrap;
}

.ihm-filter-input[b-9zun8uaj9l] {
    border: 1px solid #c3c6d7;
    background: #ffffff;
    border-radius: 0.25rem;
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
    color: inherit;
}

.ihm-filter-search[b-9zun8uaj9l] {
    flex-grow: 1;
    min-width: 120px;
}

.ihm-filter-search-btn[b-9zun8uaj9l] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
}

    .ihm-filter-search-btn .material-symbols-outlined[b-9zun8uaj9l] {
        font-size: 16px;
    }

.ihm-txn-badge[b-9zun8uaj9l] {
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
}

.badge-receipt[b-9zun8uaj9l] {
    background: #eff6ff;
    color: #004ac6;
}

.badge-issue[b-9zun8uaj9l] {
    background: #fff7ed;
    color: #b45309;
}

.badge-adjust[b-9zun8uaj9l] {
    background: #edeef0;
    color: #434655;
}

.ihm-txn-qty-col[b-9zun8uaj9l] {
    text-align: right;
    font-family: 'JetBrains Mono', monospace;
}

    .ihm-txn-qty-col.positive[b-9zun8uaj9l] {
        color: #059669;
    }

    .ihm-txn-qty-col.negative[b-9zun8uaj9l] {
        color: #ba1a1a;
    }

.wo-txn-table-wrap[b-9zun8uaj9l] {
    max-height: 360px;
    overflow-y: auto;
    overflow-x: auto;
}

.wo-txn-table[b-9zun8uaj9l] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.wo-txn-table th[b-9zun8uaj9l] {
    position: sticky;
    top: 0;
    z-index: 1;
    text-align: left;
    padding: 0.5rem 0.6rem;
    border-bottom: 2px solid #c3c6d7;
    color: #434655;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #edeef0;
}

.wo-txn-table td[b-9zun8uaj9l] {
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid #c3c6d7;
    text-align: left;
}

/* The By Warehouse/Bin/Batch tabs aren't wrapped in .ihm-canvas, so without this they'd inherit
   ModalCpn's centered .modal-body text-align. */
[b-9zun8uaj9l] .modal-content.modalCpn {
    min-height: 600px;
}

/* Column picker + drag-resize (widths persisted via PageProperties, keyed by column key) */
.ihm-columns-btn[b-9zun8uaj9l] {
    padding: 0.15rem 0.6rem;
    font-size: 0.75rem;
}

/* By Warehouse/Bin/Batch tabs: the "manage columns" trigger is a small gear docked into the
   table's own header row (top-right corner) instead of a full toolbar row above it, so it sits
   flush with -- vertically centered on -- the column headers rather than floating above them. */
.ihm-table-panel[b-9zun8uaj9l] {
    position: relative;
}

.ihm-table-gear-btn[b-9zun8uaj9l] {
    position: absolute;
    top: 0.25rem;
    right: 0.5rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid #c3c6d7;
    background: linear-gradient(180deg, #ffffff, #f3f4f6);
    color: #505f76;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
    transition: color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.25s ease;
}

    .ihm-table-gear-btn .material-symbols-outlined[b-9zun8uaj9l] {
        font-size: 14px;
        transition: transform 0.35s ease;
    }

    .ihm-table-gear-btn:hover[b-9zun8uaj9l] {
        border-color: #004ac6;
        color: #004ac6;
        box-shadow: 0 2px 6px rgba(16, 24, 40, 0.18);
        transform: translateY(-1px);
    }

    .ihm-table-gear-btn:hover .material-symbols-outlined[b-9zun8uaj9l] {
        transform: rotate(60deg);
    }

    .ihm-table-gear-btn:active[b-9zun8uaj9l] {
        transform: translateY(0);
        box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
    }

.ihm-resizable-table[b-9zun8uaj9l] {
    table-layout: fixed;
}

    .ihm-resizable-table th[b-9zun8uaj9l], .ihm-resizable-table td[b-9zun8uaj9l] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding-right: 0.75rem;
    }

/* Transaction History cells wrap onto multiple lines instead of truncating; the wrap container
   keeps its max-height scroll and sticky header (see .wo-txn-table-wrap / .wo-txn-table th above). */
.ihm-txn-wrap td[b-9zun8uaj9l] {
    white-space: normal;
    overflow-wrap: break-word;
    overflow: visible;
    text-overflow: clip;
}
/* /Components/Modals/ItemBomRoutingColumnOrderModal.razor.rz.scp.css */
/* Mirrors ColumnPickerModal.razor.css's .wo-column-list/.wo-column-item look -- Blazor CSS
   isolation scopes that file to ColumnPickerModal.razor only, so identical class names here need
   their own copy. Drag states use .dragging/.wpd-drop-target (not ColumnPickerModal's own
   .dragging/.drop-target-above) because this list is driven by columnDragReorder.js's
   wpdInitRowDragReorder, the same generic helper ItemBomRoutingDetailModal's BOM/Routing row
   reorder uses -- those are the exact class names that JS expects. */
.wo-column-list[b-kfuxjr9k43] {
    max-height: 50vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.wo-column-item[b-kfuxjr9k43] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.25rem;
    border-bottom: 1px solid #c3c6d7;
    font-size: 0.85rem;
    color: #191c1e;
}

    .wo-column-item:last-child[b-kfuxjr9k43] {
        border-bottom: none;
    }

    .wo-column-item.dragging[b-kfuxjr9k43] {
        opacity: 0.4;
        background: #e1e2e4;
    }

    .wo-column-item.wpd-drop-target[b-kfuxjr9k43] {
        box-shadow: inset 0 2px 0 0 #004ac6;
    }

.wo-column-drag-handle[b-kfuxjr9k43] {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: #737686;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: element;
    touch-action: none;
}

    .wo-column-drag-handle:active[b-kfuxjr9k43] {
        cursor: grabbing;
    }

.wo-column-item-check[b-kfuxjr9k43] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
}

    .wo-column-item-check span[b-kfuxjr9k43] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.ibr-column-order-tab-badge[b-kfuxjr9k43] {
    flex-shrink: 0;
    padding: 0.1rem 0.5rem;
    border-radius: 1rem;
    background: #eef2ff;
    color: #3755c3;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.wo-column-item-empty[b-kfuxjr9k43] {
    padding: 1.5rem;
    text-align: center;
    font-size: 0.84rem;
    color: #9aa5b4;
}
/* /Components/Modals/LinkObjectSetupModal.razor.rz.scp.css */
.btn-primary[b-hada365a1r] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
}

.btn-secondary[b-hada365a1r] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f3f4f6;
    color: #505f76;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
}

.lom-editor[b-hada365a1r] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.lom-label[b-hada365a1r] {
    font-size: 0.75rem;
    color: #737686;
}

.lom-select[b-hada365a1r] {
    width: 100%;
    font-size: 0.8125rem;
    padding: 0.4rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.lom-params[b-hada365a1r] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.lom-param-row[b-hada365a1r] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lom-param-index[b-hada365a1r] {
    flex-shrink: 0;
    width: 4.5rem;
    font-size: 0.75rem;
    color: #737686;
}

.lom-param-select[b-hada365a1r] {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}
/* /Components/Modals/MappingDetailModal.razor.rz.scp.css */
.mapping-detail-body[b-y733urf612] {
    display: flex;
    flex-direction: column;
    height: 520px; /* ← Cố định chiều cao */
    padding: 0.5rem 0;
    overflow: hidden;
}


.mapping-detail-loading[b-y733urf612] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    color: #94a3b8;
    font-size: 13px;
}

.mapping-detail-empty[b-y733urf612] {
    text-align: center;
    color: #64748b;
    padding: 2rem;
    font-size: 13px;
}

.mapping-detail-table-wrapper[b-y733urf612] {
    flex: 1;
    overflow-x: auto; /* ← Scroll ngang khi nhiều cột */
    overflow-y: auto; /* ← Scroll dọc khi nhiều hàng */
    /* Xóa max-height: 60vh cũ */
}
.mapping-detail-table[b-y733urf612] {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    font-family: 'Segoe UI', -apple-system, sans-serif;
}

    .mapping-detail-table thead th[b-y733urf612] {
        background: rgba(6, 182, 212, 0.1);
        color: #06b6d4;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        padding: 8px 12px;
        border-bottom: 1px solid rgba(6, 182, 212, 0.2);
        white-space: nowrap;
        position: sticky;
        top: 0;
        z-index: 2;
        backdrop-filter: blur(12x); /* ← thêm dòng này */
        -webkit-backdrop-filter: blur(12px);
    }
    .mapping-detail-table tbody tr[b-y733urf612] {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: background 0.15s;
    }

        .mapping-detail-table tbody tr:hover[b-y733urf612] {
            background: rgba(255, 255, 255, 0.04);
        }

    .mapping-detail-table tbody td[b-y733urf612] {
        padding: 7px 12px;
        white-space: nowrap;
        vertical-align: middle;
    }
.drag-card-metric-btn[b-y733urf612] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 3px 4px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    text-align: left;
}

    .drag-card-metric-btn:hover[b-y733urf612] {
        border-color: rgba(6, 182, 212, 0.4);
        background: rgba(6, 182, 212, 0.06);
    }

    .drag-card-metric-btn:active[b-y733urf612] {
        background: rgba(6, 182, 212, 0.12);
    }
/* Thêm vào file CSS của MappingDetailModal */

.mapping-detail-footer[b-y733urf612] {
    padding: 8px 12px;
    font-size: 11px;
    color: #475569;
    text-align: right;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

    .mapping-detail-footer strong[b-y733urf612] {
        color: #94a3b8;
    }

/* Cell variants */
.mapping-detail-table tbody td.cell-mono[b-y733urf612] {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    letter-spacing: 0.03em;
}

.mapping-detail-table tbody td.cell-dim[b-y733urf612] {
    color: #475569;
}

.mapping-detail-table tbody td.cell-highlight[b-y733urf612] {
    color: #06b6d4;
    font-weight: 600;
}

/* Status cell coloring */
.mapping-detail-table tbody td.cell-status[b-y733urf612] {
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.cell-status-running[b-y733urf612] {
    color: #4ade80;
}

.cell-status-idle[b-y733urf612] {
    color: #fbbf24;
}

.cell-status-waiting[b-y733urf612] {
    color: #94a3b8;
}

.cell-status-done[b-y733urf612],
.cell-status-complete[b-y733urf612] {
    color: #4ade80;
}

.cell-status-error[b-y733urf612] {
    color: #f87171;
}
/* /Components/Modals/MrpAdvancedSearchModal.razor.rz.scp.css */
/* Matches MrpScenarioSetting.razor.css's .mss-input / .mss-lookup-group look
   (Blazor CSS isolation scopes classes per-component, so it can't be reused directly). */
.mas-input[b-kltdhn7czy] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0.6rem;
    font-size: 0.86rem;
    font-family: inherit;
    border: 1px solid #dde3ef;
    border-radius: 0.375rem;
    background: #fff;
    color: #131b2e;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.mas-input:focus[b-kltdhn7czy] {
    border-color: #004ac6;
    box-shadow: 0 0 0 2px rgba(0, 74, 198, 0.12);
}

.mas-input:read-only[b-kltdhn7czy] {
    background: #f4f6fb;
    cursor: not-allowed;
}

.mas-lookup-group[b-kltdhn7czy] {
    display: flex;
    align-items: stretch;
}

.mas-lookup-group .mas-input[b-kltdhn7czy] {
    flex: 1;
    min-width: 0;
    border-radius: 0.375rem 0 0 0.375rem;
    cursor: pointer;
}

.mas-lookup-btn[b-kltdhn7czy] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #dde3ef;
    border-left: none;
    border-radius: 0 0.375rem 0.375rem 0;
    background: #f4f6fb;
    padding: 0 0.6rem;
    cursor: pointer;
}

.mas-lookup-btn .material-symbols-outlined[b-kltdhn7czy] {
    font-size: 1.1rem;
    color: #64748b;
}

.mas-lookup-btn:hover[b-kltdhn7czy] {
    background: #e2e7f0;
}
/* /Components/Modals/MrpBulkPreviewModal.razor.rz.scp.css */
[b-mh0vxdk4qy] .modal-body {
    text-align: left;
}

.mbp-table-wrap[b-mh0vxdk4qy] {
    max-height: 320px;
    overflow: auto;
    border: 1px solid #e2e7f0;
    border-radius: 0.375rem;
}

.mbp-table[b-mh0vxdk4qy] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.mbp-table th[b-mh0vxdk4qy] {
    position: sticky;
    top: 0;
    background: #eaedff;
    text-align: left;
    padding: 0.5rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #434655;
    border-bottom: 1px solid #e2e7f0;
}

.mbp-table td[b-mh0vxdk4qy] {
    padding: 0.45rem 0.75rem;
    border-bottom: 1px solid rgba(226, 231, 240, 0.5);
}

.mbp-input[b-mh0vxdk4qy] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.3rem 0.5rem;
    border: 1px solid #dde3ef;
    border-radius: 0.375rem;
    font-family: inherit;
    font-size: 0.8rem;
}

.mbp-input:focus[b-mh0vxdk4qy] {
    border-color: #004ac6;
    outline: none;
}

.mbp-count[b-mh0vxdk4qy] {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    color: #64748b;
}
/* /Components/Modals/MrpDocumentOriginModal.razor.rz.scp.css */
.mdo-table-wrap[b-ieai9payg8] {
    max-height: 70vh;
    overflow: auto;
    border: 1px solid #e2e7f0;
    border-radius: 0.375rem;
}

/* ModalCpn sets text-align:center inline on .modal-body, which beats any external CSS rule of
   equal specificity -- so alignment has to be set on the table itself, not the modal-body. */
.mdo-table[b-ieai9payg8] {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 0.82rem;
    text-align: left;
}

.mdo-table th[b-ieai9payg8] {
    position: sticky;
    top: 0;
    background: #eaedff;
    text-align: left;
    padding: 0.5rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #434655;
    border-bottom: 1px solid #e2e7f0;
}

.mdo-table td[b-ieai9payg8] {
    padding: 0.45rem 0.75rem;
    border-bottom: 1px solid rgba(226, 231, 240, 0.5);
    overflow-wrap: break-word;
}

.mdo-table tbody tr:hover[b-ieai9payg8] {
    background: #f8fafc;
}

.mdo-col-resize-handle[b-ieai9payg8] {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    cursor: col-resize;
    z-index: 2;
}

.mdo-col-resize-handle[b-ieai9payg8]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 16px;
    transform: translate(-50%, -50%);
    border-radius: 1px;
    background: #c4cee3;
    opacity: 0.7;
}

.mdo-col-resize-handle:hover[b-ieai9payg8] {
    background: #004ac6;
    opacity: 0.35;
}

.mdo-col-resize-handle:hover[b-ieai9payg8]::after {
    background: #004ac6;
    opacity: 1;
}

/* ── Tree guides ─────────────────────────────
   Drawn as absolutely-positioned lines spanning the full cell height (not glyphs baked into
   text), so they stay a continuous, unbroken line even on rows that wrap to multiple lines
   because of a long Description/Information value in a neighboring column. ── */
.mdo-tree-cell[b-ieai9payg8] {
    position: relative;
}

.mdo-tree-guides[b-ieai9payg8] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.mdo-tree-line[b-ieai9payg8] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1.5px;
    background: #98a4bf;
}

.mdo-tree-elbow-top[b-ieai9payg8] {
    position: absolute;
    top: 0;
    height: 50%;
    width: 1.5px;
    background: #98a4bf;
}

.mdo-tree-elbow-h[b-ieai9payg8] {
    position: absolute;
    top: 50%;
    width: 11px;
    height: 1.5px;
    background: #98a4bf;
}

.mdo-tree-elbow-bottom[b-ieai9payg8] {
    position: absolute;
    top: 50%;
    bottom: 0;
    width: 1.5px;
    background: #98a4bf;
}

.mdo-tree-content[b-ieai9payg8] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.mdo-tree-icon[b-ieai9payg8] {
    font-size: 15px;
    flex-shrink: 0;
}

.mdo-tree-icon--root[b-ieai9payg8] {
    color: #004ac6;
}

.mdo-tree-icon--leaf[b-ieai9payg8] {
    color: #94a3b8;
}

.mdo-tree-label[b-ieai9payg8] {
    font-weight: 600;
    color: #1f2937;
}

.mdo-tree-label--root[b-ieai9payg8] {
    font-weight: 700;
    color: #004ac6;
}
/* /Components/Modals/QCOrderCreateModal.razor.rz.scp.css */
.qc-copy[b-gauz44qbwc] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 16px;
    padding: 4px 16px 0;
}

.qc-copy__section[b-gauz44qbwc] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qc-copy__label[b-gauz44qbwc] {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.qc-copy__mode[b-gauz44qbwc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* "Create from" and its dropdowns sit at the left of the panel's top bar, the buttons stay at the right. */
.qc-order-create .ibr-detail-panel-actions[b-gauz44qbwc] {
    flex-wrap: wrap;
    align-items: center;
}

.qc-copy__mode-bar[b-gauz44qbwc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}

.qc-copy__mode-bar .qc-copy__mode-select[b-gauz44qbwc] {
    min-width: 150px;
}

.qc-copy__mode-select[b-gauz44qbwc] {
    width: auto;
    min-width: 220px;
}

.qc-copy__fields[b-gauz44qbwc] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 14px 16px;
    padding: 16px;
    border: 1px solid #dbe3f5;
    border-radius: 10px;
    background: #fff;
}

.qc-copy__field[b-gauz44qbwc] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
}

.qc-copy__hint[b-gauz44qbwc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 36px 12px;
    border: 1px dashed #c7d2fe;
    border-radius: 10px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

.qc-copy__hint .material-symbols-outlined[b-gauz44qbwc] {
    font-size: 30px;
    color: #a5b4fc;
}

/* The spinner while the source lines are being loaded. */
.qc-copy__spin[b-gauz44qbwc] {
    animation: qc-copy-spin-b-gauz44qbwc 1s linear infinite;
}

@keyframes qc-copy-spin-b-gauz44qbwc {
    to {
        transform: rotate(360deg);
    }
}

.qc-order-create[b-gauz44qbwc] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 12px;
    padding: 4px 0 12px;
}

.qc-copy__plan[b-gauz44qbwc] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.qc-copy__plan-title[b-gauz44qbwc] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.qc-copy__plan-select[b-gauz44qbwc] {
    width: auto;
    min-width: 160px;
    margin-left: 8px;
    font-weight: 400;
}

.qc-copy__plan-empty[b-gauz44qbwc] {
    font-size: 13px;
    color: #b91c1c;
}

.qc-copy__date[b-gauz44qbwc] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.qc-copy__plan-hint[b-gauz44qbwc] {
    font-size: 12px;
    color: #64748b;
}

.qc-copy__qty[b-gauz44qbwc] {
    width: 110px;
    min-width: 0;
}

.qc-copy__edit-row > td[b-gauz44qbwc] {
    background: #fff;
}

/* The source lines table in the panel: ticked rows become orders, a click on a row shows its plan below. */
.qc-copy__source[b-gauz44qbwc] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
}

.qc-copy__source-head[b-gauz44qbwc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
}

/* From / To side by side, labels never wrap. */
.qc-copy__range[b-gauz44qbwc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

.qc-copy__range .qc-copy__date[b-gauz44qbwc] {
    white-space: nowrap;
}

.qc-copy__range .qc-copy__date .ibr-input[b-gauz44qbwc] {
    width: 9.5rem;
}

.qc-copy__count[b-gauz44qbwc] {
    margin-left: auto;
    padding: 1px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 12px;
    font-weight: 600;
}

.qc-copy__table-wrap[b-gauz44qbwc] {
    max-height: 42vh;
    /* Above the plan table below: the funnel panels opened from this table's header belong to this layer, and the plan's sticky header must not cover them. */
    position: relative;
    z-index: 3;
}

.qc-copy__table-wrap[b-gauz44qbwc]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.qc-copy__table-wrap[b-gauz44qbwc]::-webkit-scrollbar-track {
    background: transparent;
}

.qc-copy__table-wrap[b-gauz44qbwc]::-webkit-scrollbar-button {
    display: none;
}

.qc-copy__table-wrap[b-gauz44qbwc]::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 999px;
}

.qc-copy__table-wrap:hover[b-gauz44qbwc]::-webkit-scrollbar-thumb {
    background-color: rgba(100, 116, 139, 0.4);
}

.qc-copy__sel[b-gauz44qbwc] {
    width: 4.5rem;
    white-space: nowrap;
}

.qc-copy__sel-head[b-gauz44qbwc] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.qc-copy__row[b-gauz44qbwc] {
    cursor: pointer;
}

.qc-copy__row--active > td[b-gauz44qbwc] {
    background: #eef2ff;
}

.qc-copy__modmark[b-gauz44qbwc] {
    margin-left: 6px;
    color: #d97706;
    font-size: 0.75rem;
}

/* The "Modified" badge in the plan editor. */
.qc-copy__chip[b-gauz44qbwc] {
    padding: 2px 8px;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

/* Plan values changed for one order: amber on the chip, the edited cells and the note. */
.qc-copy__chip--modified[b-gauz44qbwc] {
    border-color: #f59e0b;
    background: #fffbeb;
    color: #92400e;
}

.qc-copy__qty.qc-copy__qty--changed[b-gauz44qbwc] {
    border-color: #f59e0b;
    background: #fffbeb;
}

/* The "Columns" icon in the top right corner of the table: the last header cell, kept at the right edge while the table scrolls sideways. */
.qc-copy__gear[b-gauz44qbwc] {
    position: sticky;
    right: 0;
    width: 2.25rem;
    padding: 0 4px;
    text-align: right;
    background: #f8faff;
}

td.qc-copy__gear[b-gauz44qbwc] {
    background: transparent;
}

.qc-copy__gear-btn[b-gauz44qbwc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #718096;
    cursor: pointer;
}

.qc-copy__gear-btn:hover[b-gauz44qbwc] {
    background: #eef2ff;
    color: #3730a3;
}

.qc-copy__gear-btn .material-symbols-outlined[b-gauz44qbwc] {
    font-size: 20px;
}

/* A position of the item's plan taken out of this order: struck through until it is put back. */
.qc-copy__plan-row--removed > td[b-gauz44qbwc] {
    opacity: 0.45;
    text-decoration: line-through;
}

.qc-copy__plan-row--removed > td:last-child[b-gauz44qbwc] {
    opacity: 1;
    text-decoration: none;
}

.qc-copy__plan-buttons[b-gauz44qbwc] {
    white-space: nowrap;
}

/* Drag the right edge of a header to change the column's width (see js/interops/qcOrderCreateColumnResize.js); a column narrower than its title clips it. */
.qc-copy__resize-handle[b-gauz44qbwc] {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    cursor: col-resize;
    z-index: 2;
}

.qc-copy__resize-handle[b-gauz44qbwc]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 16px;
    transform: translate(-50%, -50%);
    border-radius: 1px;
    background: #dde3ef;
}

.qc-copy__resize-handle:hover[b-gauz44qbwc] {
    background: rgba(55, 85, 195, 0.1);
}

.qc-copy__resize-handle:hover[b-gauz44qbwc]::after {
    background: #3755c3;
}

th[data-field-code][b-gauz44qbwc] {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* A header: the title shrinks to three dots when the column is narrow, the filter funnel next to it always stays visible. */
.qc-copy__th[b-gauz44qbwc] {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-width: 0;
    gap: 4px;
    vertical-align: middle;
}

.qc-copy__th-title[b-gauz44qbwc] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qc-copy__th-filter[b-gauz44qbwc] {
    display: inline-flex;
    flex-shrink: 0;
}

/* A value longer than its column ends in three dots (the full text is the cell's tooltip). */
.qc-copy__table-wrap td[b-gauz44qbwc],
.qc-copy__plan td[b-gauz44qbwc] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The plan's inputs follow the width of their column. */
.qc-copy__plan td .ibr-input[b-gauz44qbwc] {
    width: 100%;
    box-sizing: border-box;
}

.qc-copy__plan-actions[b-gauz44qbwc] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qc-copy__icon[b-gauz44qbwc] {
    height: 1.25rem;
    vertical-align: middle;
}
/* /Components/Modals/QCReleaseResultModal.razor.rz.scp.css */
.rr-running[b-c6hwi8v3va] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 12px;
}

.rr-running .material-symbols-outlined[b-c6hwi8v3va] {
    font-size: 40px;
    color: #1976d2;
}

.rr-spin[b-c6hwi8v3va] {
    animation: rr-rotate-b-c6hwi8v3va 1s linear infinite;
}

.rr-running-text[b-c6hwi8v3va] {
    font-weight: 600;
}

.rr-bar[b-c6hwi8v3va] {
    position: relative;
    width: 70%;
    height: 6px;
    border-radius: 3px;
    background: #e3eefb;
    overflow: hidden;
}

.rr-bar-fill[b-c6hwi8v3va] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 35%;
    border-radius: 3px;
    background: #1976d2;
    animation: rr-slide-b-c6hwi8v3va 1.2s ease-in-out infinite;
}

@keyframes rr-rotate-b-c6hwi8v3va {
    to { transform: rotate(360deg); }
}

@keyframes rr-slide-b-c6hwi8v3va {
    from { left: -35%; }
    to { left: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .rr-spin[b-c6hwi8v3va],
    .rr-bar-fill[b-c6hwi8v3va] {
        animation-duration: 3s;
    }
}

.rr-headline[b-c6hwi8v3va] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    font-weight: 600;
}

.rr-headline--good[b-c6hwi8v3va] {
    background: #e8f5e9;
    color: #2e7d32;
}

.rr-headline--bad[b-c6hwi8v3va] {
    background: #ffebee;
    color: #c62828;
}

.rr-totals[b-c6hwi8v3va] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}

.rr-chip[b-c6hwi8v3va] {
    padding: 2px 10px;
    border-radius: 12px;
    background: #f1f1f1;
    font-size: 12px;
}

.rr-chip--good[b-c6hwi8v3va] {
    background: #e8f5e9;
    color: #2e7d32;
}

.rr-chip--bad[b-c6hwi8v3va] {
    background: #ffebee;
    color: #c62828;
}

.rr-chip--pending[b-c6hwi8v3va],
.rr-chip--skipped[b-c6hwi8v3va] {
    background: #fff8e1;
    color: #8d6e00;
}

.rr-filters[b-c6hwi8v3va] {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.rr-filter[b-c6hwi8v3va] {
    border: 1px solid #ccc;
    background: transparent;
    border-radius: 12px;
    padding: 2px 12px;
    font-size: 12px;
    cursor: pointer;
}

.rr-filter--on[b-c6hwi8v3va] {
    background: #1976d2;
    border-color: #1976d2;
    color: #fff;
}

.rr-list[b-c6hwi8v3va] {
    max-height: 50vh;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rr-sample[b-c6hwi8v3va] {
    border: 1px solid #e0e0e0;
    border-left-width: 4px;
    border-radius: 4px;
    padding: 6px 10px;
}

.rr-sample--good[b-c6hwi8v3va] {
    border-left-color: #2e7d32;
}

.rr-sample--bad[b-c6hwi8v3va] {
    border-left-color: #c62828;
}

.rr-sample--pending[b-c6hwi8v3va],
.rr-sample--skipped[b-c6hwi8v3va] {
    border-left-color: #f9a825;
}

.rr-sample-head[b-c6hwi8v3va] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.rr-verdict[b-c6hwi8v3va] {
    font-size: 12px;
    font-weight: 600;
}

.rr-verdict--good[b-c6hwi8v3va] {
    color: #2e7d32;
}

.rr-verdict--bad[b-c6hwi8v3va] {
    color: #c62828;
}

.rr-verdict--pending[b-c6hwi8v3va],
.rr-verdict--skipped[b-c6hwi8v3va] {
    color: #8d6e00;
}

.rr-reason[b-c6hwi8v3va] {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.rr-measurements[b-c6hwi8v3va] {
    width: 100%;
    margin-top: 6px;
    border-collapse: collapse;
    font-size: 12px;
}

.rr-measurements th[b-c6hwi8v3va],
.rr-measurements td[b-c6hwi8v3va] {
    text-align: left;
    padding: 2px 6px;
    border-top: 1px solid #eee;
}
/* /Components/Modals/RightSideModal.razor.rz.scp.css */
.preview-modal-content[b-ueynp3pkqk] {
    position: relative;
}

.preview-modal-title-group[b-ueynp3pkqk] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

    .preview-modal-content.resizing[b-ueynp3pkqk] {
        transition: none !important;
    }

.preview-modal-resizer[b-ueynp3pkqk] {
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 8px;
    cursor: col-resize;
    z-index: 10;
    background: transparent;
    transition: background-color .15s ease;
}

    .preview-modal-resizer:hover[b-ueynp3pkqk] {
        background: rgba(44, 74, 101, 0.25);
    }

.preview-modal-content.resizing .preview-modal-resizer[b-ueynp3pkqk] {
    background: rgba(44, 74, 101, 0.4);
}

.preview-modal-resizer[b-ueynp3pkqk]::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 36px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: background-color .15s ease, height .15s ease;
}

.preview-modal-resizer:hover[b-ueynp3pkqk]::after {
    background: #2c4a65;
    height: 48px;
}

.preview-modal-content.resizing .preview-modal-resizer[b-ueynp3pkqk]::after {
    background: #2c4a65;
    height: 48px;
}
/* /Components/Modals/SAPUI/AdaptHeaderFieldModalSAP.razor.rz.scp.css */
.hf-toolbar[b-a0tjw91shj] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.hf-input[b-a0tjw91shj] {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid #babbbb;
    border-radius: 0.25rem;
}

/* Shared grid so the header row and data rows line up - matches column order in the markup:
   show, field name, category, order, width. Field name gets the flexible 1fr share (with a floor
   so a normal-length field code never gets squeezed down to unreadable/truncated) - Category is
   the only other column allowed to give ground (down to its own floor) before that happens, since
   Show/Order/Width are all fixed-width controls (checkbox/number inputs) that don't benefit from
   extra room and shouldn't shrink below what they need either. */
.hf-list-header[b-a0tjw91shj],
.hf-list-row[b-a0tjw91shj] {
    display: grid;
    grid-template-columns: 3rem minmax(11rem, 1fr) minmax(6rem, 10rem) 4rem 6rem;
    align-items: center;
    gap: 0.6rem;
}

.hf-list-header[b-a0tjw91shj] {
    padding: 0 0.75rem 0.5rem;
    border-bottom: 1px solid #d9d9d9;
}

.hf-list-header-cell[b-a0tjw91shj] {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #737686;
}

.hf-list-container[b-a0tjw91shj] {
    max-height: calc(90vh - 18rem);
    overflow-y: auto;
}

.hf-list-row[b-a0tjw91shj] {
    min-height: 2.4rem;
    padding: 0.3rem 0.75rem;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
}

.hf-col-check input[b-a0tjw91shj] {
    width: 15px;
    height: 15px;
    accent-color: #0070f2;
    cursor: pointer;
}

.hf-col-name[b-a0tjw91shj] {
    font-size: 0.8125rem;
    font-weight: 600;
    /* Wraps instead of truncating - the field code column now has a guaranteed minimum width
       (see grid-template-columns), so this only ever wraps on an unusually long code, and
       min-height on .hf-list-row lets the row grow to fit rather than clipping it. */
    white-space: normal;
    word-break: break-word;
}

.hf-list-select[b-a0tjw91shj] {
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
    border: 1px solid #d4dadf;
    border-radius: 0.25rem;
    min-width: 0;
}

.hf-list-number[b-a0tjw91shj] {
    width: 100%;
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
    border: 1px solid #d4dadf;
    border-radius: 0.25rem;
}

.hf-col-width:not(:disabled)[b-a0tjw91shj] {
    border-color: #0070f2;
    color: #0070f2;
}

.hf-col-width:disabled[b-a0tjw91shj] {
    background: #f5f7fb;
    color: #b3b8c2;
}
/* /Components/Modals/SAPUI/BatchSerialNumberModal.razor.rz.scp.css */
.sap_inner-card[b-t8aeztixni]{background:#fff;border:1px solid #e6e6e6;padding:1rem;border-radius:6px}
.sap_section-title[b-t8aeztixni]{margin:0 0 .5rem;font-size:1rem;font-weight:600}
.sap_table-actions[b-t8aeztixni]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}
.sap_table-no-data[b-t8aeztixni]{text-align:center;color:#888;padding:1rem}
.sap_table-wrapper[b-t8aeztixni]{overflow-x:auto;width:100%}
.sap-table[b-t8aeztixni]{width:100%;border-collapse:collapse;min-width:max-content}
.sap-table th[b-t8aeztixni],.sap-table td[b-t8aeztixni]{border:1px solid #f0f0f0;padding:.5rem;text-align:left;min-width:160px;white-space:nowrap}
.sap-table th:first-child[b-t8aeztixni],.sap-table td:first-child[b-t8aeztixni]{min-width:40px;width:40px;text-align:center}
.sap-table th:nth-child(2)[b-t8aeztixni],.sap-table td:nth-child(2)[b-t8aeztixni]{min-width:50px;width:50px;text-align:center}
.sap_input[b-t8aeztixni]{padding:.4rem .5rem;border:1px solid #ccc;border-radius:3px}
.sap_input_group[b-t8aeztixni]{display:flex;align-items:center;gap:.5rem}
.sap_input_btn[b-t8aeztixni]{background:#f3f3f3;border:1px solid #ddd;padding:.25rem .4rem;border-radius:3px;cursor:pointer}
.sap_dropdown-container[b-t8aeztixni]{position:relative}
.sap_dropdown-menu[b-t8aeztixni]{position:absolute;display:none;background:#fff;border:1px solid #ddd;z-index:10;min-width:160px}
.sap_dropdown-menu.show[b-t8aeztixni]{display:block}
.sap_dropdown-item[b-t8aeztixni]{padding:.4rem .6rem;cursor:pointer}
.sap_mt-16[b-t8aeztixni]{margin-top:1rem}
.sap_btn-action[b-t8aeztixni],.sap_btn[b-t8aeztixni]{padding:.4rem .6rem;border-radius:4px;border:1px solid #ccc;background:#fff;cursor:pointer}
.sap_btn-primary[b-t8aeztixni]{background:#0078d4;color:#fff;border-color:#0078d4}
.sap_table-actions-right[b-t8aeztixni]{display:flex;gap:.5rem;align-items:center}
.sap_btn-primary[b-t8aeztixni] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

/* Table Input Styles */
.sap_table-input[b-t8aeztixni] {
    padding: 0.4rem 0.5rem;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    font-size: 0.875rem;
    background-color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sap_table-input:focus[b-t8aeztixni] {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.sap_table-input:disabled[b-t8aeztixni],
.sap_table-input[disabled][b-t8aeztixni] {
    background-color: #f5f5f5;
    color: #6c757d;
    cursor: not-allowed;
}

.sap_table-input-readonly[b-t8aeztixni] {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
}

.sap_table-input-editable[b-t8aeztixni] {
    background-color: #fff;
    border: 1px solid #d0d0d0;
}

.sap_table-input-number[b-t8aeztixni] {
    text-align: right;
    padding: 0.4rem 0.5rem;
}

.sap_table-input-text[b-t8aeztixni] {
    text-align: left;
    padding: 0.4rem 0.5rem;
}
/* /Components/Modals/SAPUI/DIApprovalRequestModal.razor.rz.scp.css */
.di-approval-user-item:hover[b-0bbi0iugdd] {
    background-color: #f0f4ff;
}
/* /Components/Modals/SAPUI/ReferencedDocumentPickerModal.razor.rz.scp.css */
.refdocpick-card[b-agcq1o0y6u] {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    text-align: left;
}

.refdocpick-search[b-agcq1o0y6u] {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.refdocpick-input[b-agcq1o0y6u] {
    flex: 1;
    border: 1px solid #89919a;
    border-radius: 4px;
    padding: .2rem .5rem;
}

.refdocpick-btn[b-agcq1o0y6u] {
    background: transparent;
    border: none;
    color: #0070f2;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
}

.refdocpick-scroll[b-agcq1o0y6u] {
    max-height: 50vh;
    overflow: auto;
}

.refdocpick-table[b-agcq1o0y6u] {
    width: 100%;
    border-collapse: collapse;
}

    .refdocpick-table th[b-agcq1o0y6u],
    .refdocpick-table td[b-agcq1o0y6u] {
        padding: .4rem .5rem;
        border-bottom: 1px solid #d9d9d9;
        white-space: nowrap;
    }

    .refdocpick-table thead th[b-agcq1o0y6u] {
        position: sticky;
        top: 0;
        background: #fff;
        border-top: 1px solid #d9d9d9;
        font-weight: 600;
    }

.refdocpick-row[b-agcq1o0y6u] {
    cursor: pointer;
}

    .refdocpick-row:hover[b-agcq1o0y6u] {
        background: #eaf2ff;
    }

.refdocpick-num[b-agcq1o0y6u] {
    text-align: right;
}

.refdocpick-empty[b-agcq1o0y6u] {
    text-align: center;
    color: #6a6d70;
}

.refdocpick-footer-info[b-agcq1o0y6u] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.875rem;
    color: #6a6d70;
}
/* /Components/Modals/SAPUI/ReferencedDocumentsModal.razor.rz.scp.css */
.refdoc-card[b-qbx991azko] {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    text-align: left;
}

.refdoc-actions[b-qbx991azko] {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    min-height: 1.5rem;
    margin-bottom: 8px;
}

.refdoc-link[b-qbx991azko] {
    background: transparent;
    border: none;
    color: #0070f2;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
}

.refdoc-table[b-qbx991azko] {
    width: 100%;
    border-collapse: collapse;
}

    .refdoc-table th[b-qbx991azko],
    .refdoc-table td[b-qbx991azko] {
        padding: .4rem .5rem;
        border-bottom: 1px solid #d9d9d9;
        white-space: nowrap;
    }

    .refdoc-table thead th[b-qbx991azko] {
        border-top: 1px solid #d9d9d9;
        font-weight: 600;
    }

.refdoc-num[b-qbx991azko] {
    text-align: right;
}

.refdoc-docno[b-qbx991azko] {
    display: flex;
    gap: 4px;
}

.refdoc-pick[b-qbx991azko] {
    background: transparent;
    border: none;
    color: #0070f2;
    cursor: pointer;
}

.refdoc-input[b-qbx991azko] {
    width: 100%;
    border: 1px solid #89919a;
    border-radius: 4px;
    padding: .2rem .5rem;
}
/* /Components/Modals/SmallModal/SimpleChooseOption.razor.rz.scp.css */
.simple-choose-option-modal[b-4gcqfpf31c] {
    min-width: 450px;
    max-width: 600px;
}

.simple-choose-option-header[b-4gcqfpf31c] {
    display: flex;
    gap: 1rem;
    width: 100%;
    align-items: center;
    background-color: #374d61;
    padding: 0.3rem 2rem;
    height: 2.25rem;
}

.simple-choose-option-body[b-4gcqfpf31c] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    min-height: 150px;
}

.simple-choose-option-list[b-4gcqfpf31c] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.custom-radio-label[b-4gcqfpf31c] {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 0.75rem;
    user-select: none;
    transition: opacity 0.2s ease;
}

.custom-radio-label:hover[b-4gcqfpf31c] {
    opacity: 0.8;
}

.custom-radio-input[b-4gcqfpf31c] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.custom-radio-input:checked[b-4gcqfpf31c] {
    border-color: #3b82f6;
    background: radial-gradient(circle, #3b82f6 40%, transparent 40%);
}

.custom-radio-input:hover:not(:checked)[b-4gcqfpf31c] {
    border-color: #9ca3af;
}

.custom-radio-circle[b-4gcqfpf31c] {
    display: none;
}

.custom-radio-text[b-4gcqfpf31c] {
    font-size: 0.9375rem;
    color: #4a4a4a;
    font-weight: 500;
}

.simple-choose-option-footer[b-4gcqfpf31c] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    padding: 0.75rem;
}

.simple-choose-option-empty[b-4gcqfpf31c] {
    text-align: center;
    padding: 1rem;
    color: #6c757d;
    margin: 0;
}
/* /Components/Modals/SortAdaptFilterModal.razor.rz.scp.css */
.column-toolbar-link-btn[b-crle4ue2uw] {
    background: none;
    border: none;
    color: #0070f2;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    padding: 0 0.3rem;
}

.wo-format-type-select[b-crle4ue2uw] {
    width: 6rem;
    flex: 0 0 6rem;
    font-size: 0.8rem;
    border: 1px solid #babbbb;
    border-radius: 0.25rem;
    padding: 0.2rem 0.3rem;
    background: #fff;
    color: #333;
}

.wo-format-format-input[b-crle4ue2uw] {
    width: 6rem;
    flex: 0 0 6rem;
    font-size: 0.8rem;
    border: 1px solid #babbbb;
    border-radius: 0.25rem;
    padding: 0.2rem 0.3rem;
    background: #fff;
    color: #333;
}

.column-show-selected-btn[b-crle4ue2uw] {
    background: none;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    color: #0070f2;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
}

    .column-show-selected-btn.active[b-crle4ue2uw] {
        background: #e8f4ff;
        border-color: #0070f2;
    }
/* /Components/Modals/StructureReportChartNode.razor.rz.scp.css */
/* Absolutely positioned at StructureReportNode.ChartLeft/ChartTop (set server-side by
   ComputeChartLayout, in "world" px that stay constant across zoom levels -- see
   StructureReportModal.razor's srm-chart-canvas transform:scale). structureReportChartConnectors.js
   drags this by rewriting left/top directly and redraws the SVG connector on every move; the width
   and height here must stay in sync with StructureReportNode.ChartBlockWidth/ChartBlockHeight, which
   the layout math uses to space columns/rows apart. */
.srm-chart-block-wrap[b-x0xgnf1emu] {
    position: absolute;
    width: 170px;
    height: 84px;
    cursor: grab;
    z-index: 1;
    user-select: none;
}

/* Routing (OP) blocks render smaller than BOM/parent blocks, stacked vertically above the item
   they feed into -- see StructureReportNode.ChartRoutingBlockWidth/ChartRoutingBlockHeight, which
   the layout math (ComputeChartLayout) uses to space/center them and must stay in sync with this. */
.srm-chart-block-wrap[data-is-routing="1"][b-x0xgnf1emu] {
    width: 130px;
    height: 52px;
}

.srm-chart-block-wrap--dragging[b-x0xgnf1emu] {
    z-index: 10;
    cursor: grabbing;
}

    .srm-chart-block-wrap--dragging .srm-chart-block[b-x0xgnf1emu] {
        box-shadow: 0 4px 12px rgba(16, 24, 40, 0.22);
    }

.srm-chart-block[b-x0xgnf1emu] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    height: 100%;
    overflow: hidden;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
    box-sizing: border-box;
}

.srm-chart-block--bom[b-x0xgnf1emu] {
    border-color: #86efac;
    background: #f0fdf4;
}

.srm-chart-block--routing[b-x0xgnf1emu] {
    border-color: #fde68a;
    background: #fffbeb;
    gap: 0.05rem;
    padding: 0.3rem 0.6rem;
}

.srm-chart-block-badge[b-x0xgnf1emu] {
    align-self: flex-start;
    flex-shrink: 0;
    font-size: 0.62rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.05rem 0.4rem;
}

.srm-chart-block--routing .srm-chart-block-badge[b-x0xgnf1emu] {
    font-size: 0.55rem;
    padding: 0.02rem 0.3rem;
}

.srm-chart-block--routing .srm-chart-block-label[b-x0xgnf1emu] {
    font-size: 0.72rem;
}

.srm-chart-block--routing .srm-chart-block-code[b-x0xgnf1emu],
.srm-chart-block--routing .srm-chart-block-qty[b-x0xgnf1emu] {
    font-size: 0.64rem;
}

.srm-chart-block--bom .srm-chart-block-badge[b-x0xgnf1emu] {
    background: #dcfce7;
    color: #166534;
}

.srm-chart-block--routing .srm-chart-block-badge[b-x0xgnf1emu] {
    background: #fef3c7;
    color: #92400e;
}

.srm-chart-block-label[b-x0xgnf1emu] {
    flex-shrink: 0;
    font-weight: 700;
    font-size: 0.82rem;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.srm-chart-block-code[b-x0xgnf1emu],
.srm-chart-block-qty[b-x0xgnf1emu] {
    flex-shrink: 0;
    font-size: 0.72rem;
    color: #6b7280;
}

/* /Components/Modals/StructureReportModal.razor.rz.scp.css */
/* Not defined anywhere else this component can rely on -- see CrossReferenceModal.razor.css. */
.btn-secondary[b-gafa9gqcyc] {
    background: #f3f4f6;
    color: #505f76;
    border: none;
    border-radius: 0.5rem;
    padding: 0.45rem 1rem;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-secondary:hover[b-gafa9gqcyc] {
        background: #e7e8ea;
    }

/* ModalCpn sets text-align:center inline on .modal-body -- see CrossReferenceModal.razor.css. */
.srm-tabs[b-gafa9gqcyc] {
    display: flex;
    gap: 0.25rem;
    text-align: left;
    border-bottom: 1px solid #e2e7f0;
    margin-bottom: 0.75rem;
}

.srm-tab[b-gafa9gqcyc] {
    border: none;
    background: transparent;
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

    .srm-tab:hover[b-gafa9gqcyc] {
        color: #374151;
    }

.srm-tab--active[b-gafa9gqcyc] {
    color: #004ac6;
    border-bottom-color: #004ac6;
}

.srm-fullscreen-btn[b-gafa9gqcyc] {
    margin-left: auto;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #c3c6d7;
    background: linear-gradient(180deg, #ffffff, #f3f4f6);
    color: #505f76;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}

    .srm-fullscreen-btn .material-symbols-outlined[b-gafa9gqcyc] {
        font-size: 16px;
    }

    .srm-fullscreen-btn:hover[b-gafa9gqcyc] {
        border-color: #004ac6;
        color: #004ac6;
    }

/* Expand toggle: instead of resizing the Bootstrap modal itself (which fights the library's own
   sizing/centering -- see InventoryHistoryModal.razor.css's .ihm-txn-card--expanded), srm-panel
   becomes a fixed fullscreen overlay painted on top of the modal. srm-tabs stays its natural
   height and the active view (srm-list-panel/srm-chart-panel) grows to fill the rest. */
.srm-panel--expanded[b-gafa9gqcyc] {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 1rem;
}

    .srm-panel--expanded .srm-tabs[b-gafa9gqcyc] {
        flex: 0 0 auto;
    }

    .srm-panel--expanded .srm-list-panel[b-gafa9gqcyc],
    .srm-panel--expanded .srm-chart-panel[b-gafa9gqcyc] {
        flex: 1 1 auto;
        min-height: 0;
    }

    .srm-panel--expanded .srm-tree-wrap[b-gafa9gqcyc],
    .srm-panel--expanded .srm-chart-wrap[b-gafa9gqcyc] {
        max-height: none;
        height: 100%;
    }

    .srm-panel--expanded .srm-chart-body[b-gafa9gqcyc] {
        height: 100%;
    }

    .srm-panel--expanded .srm-chart-area[b-gafa9gqcyc] {
        min-height: 0;
    }

.srm-list-panel[b-gafa9gqcyc] {
    position: relative;
}

.srm-gear-btn[b-gafa9gqcyc] {
    position: absolute;
    top: 0.25rem;
    right: 0.5rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #c3c6d7;
    background: linear-gradient(180deg, #ffffff, #f3f4f6);
    color: #505f76;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
    transition: color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.25s ease;
}

    .srm-gear-btn .material-symbols-outlined[b-gafa9gqcyc] {
        font-size: 16px;
        transition: transform 0.35s ease;
    }

    .srm-gear-btn:hover[b-gafa9gqcyc] {
        border-color: #004ac6;
        color: #004ac6;
    }

    .srm-gear-btn:hover .material-symbols-outlined[b-gafa9gqcyc] {
        transform: rotate(60deg);
    }

.srm-tree-wrap[b-gafa9gqcyc],
.srm-chart-wrap[b-gafa9gqcyc] {
    max-height: 78vh;
    overflow: auto;
    text-align: left;
    border: 1px solid #e2e7f0;
    border-radius: 0.375rem;
}

.srm-chart-wrap[b-gafa9gqcyc] {
    overflow-x: auto;
    padding: 0.5rem;
    cursor: grab;
}

/* Holds srm-chart-area side by side with the node panel (see .srm-node-panel) that opens when a
   block is clicked -- align-items:stretch makes the panel match the chart area's rendered height
   (itself capped at 78vh) instead of only hugging its own content, so the two read as one fitted
   row rather than a short sidebar floating next to a tall canvas. The gap between them is what
   keeps the panel from ever touching the canvas/toolbar. */
.srm-chart-body[b-gafa9gqcyc] {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
}

/* Wraps srm-chart-toolbar + srm-chart-wrap in their own positioning context, separate from the
   node panel -- srm-chart-toolbar anchors to *this* element's edges (top/right:0.5rem), so it only
   ever floats over the chart canvas and can never drift over the node panel next to it, however
   either one resizes. */
.srm-chart-area[b-gafa9gqcyc] {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
}

    .srm-chart-area .srm-chart-wrap[b-gafa9gqcyc] {
        flex: 1 1 auto;
        min-width: 0;
    }

/* Small panel that opens on the right when a chart block is clicked -- upload UI for that node.
   OnSaveNodeFiles has no real backend yet (dummy), see StructureReportModal.razor.cs. Freshly
   mounted by the @if in the markup each time a node is selected, so the keyframe animation below
   plays automatically on every open with no JS needed. Default width (230px) is sized so the
   footer's 3 buttons (Save + the download/delete toggles, each 38px) sit comfortably without
   excess empty space in Save -- it also happens to still fit exactly 2 columns of
   srm-node-panel-files' auto-fill grid. flex:0 0 auto plus an explicit width (rather than
   flex-grow) so srmNodePanelInitResize (structureReportColumnResize.js) can drive the width
   directly via its left-edge .srm-node-panel-resize-handle without the flex layout fighting it --
   the grid adds/drops columns to match as it's dragged. position:relative anchors that handle. */
.srm-node-panel[b-gafa9gqcyc] {
    position: relative;
    flex: 0 0 auto;
    width: 230px;
    min-width: 180px;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    max-height: 78vh;
    border: 1px solid #e2e7f0;
    border-radius: 0.6rem;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.1);
    overflow: hidden;
    animation: srm-node-panel-in-b-gafa9gqcyc 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Full-height drag target for srmNodePanelInitResize -- a few px wider than its visible center bar
   so it's easy to grab, without the visible bar itself looking heavy. */
.srm-node-panel-resize-handle[b-gafa9gqcyc] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -3px;
    width: 7px;
    z-index: 2;
    cursor: col-resize;
}

    .srm-node-panel-resize-handle[b-gafa9gqcyc]::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 3px;
        width: 1px;
        background: transparent;
        transition: background 0.15s ease;
    }

    .srm-node-panel-resize-handle:hover[b-gafa9gqcyc]::after {
        background: #004ac6;
    }

@keyframes srm-node-panel-in-b-gafa9gqcyc {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.srm-node-panel-header[b-gafa9gqcyc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.7rem;
    border-bottom: 1px solid #e2e7f0;
    background: linear-gradient(180deg, #eef1ff, #eaedff);
}

.srm-node-panel-title[b-gafa9gqcyc] {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #434655;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.srm-node-panel-close[b-gafa9gqcyc] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #505f76;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

    .srm-node-panel-close .material-symbols-outlined[b-gafa9gqcyc] {
        font-size: 15px;
    }

    .srm-node-panel-close:hover[b-gafa9gqcyc] {
        background: #dfe3f5;
        color: #004ac6;
        transform: rotate(90deg);
    }

.srm-node-panel-body[b-gafa9gqcyc] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 0.7rem;
}

.srm-node-panel-browse[b-gafa9gqcyc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 100%;
    padding: 1rem 0.5rem;
    border: 1.5px dashed #c3c6d7;
    border-radius: 0.5rem;
    background: #fbfcfe;
    font-size: 0.76rem;
    font-weight: 500;
    color: #004ac6;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.15s ease, border-color 0.15s ease;
}

    .srm-node-panel-browse .material-symbols-outlined[b-gafa9gqcyc] {
        font-size: 20px;
        transition: transform 0.15s ease;
    }

    .srm-node-panel-browse:hover[b-gafa9gqcyc] {
        background: #eaedff;
        border-color: #004ac6;
    }

    .srm-node-panel-browse:hover .material-symbols-outlined[b-gafa9gqcyc] {
        transform: translateY(-2px);
    }

.srm-node-panel-files[b-gafa9gqcyc] {
    list-style: none;
    margin: 0.7rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 0.5rem;
}

    .srm-node-panel-files li[b-gafa9gqcyc] {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.3rem;
        aspect-ratio: 1 / 1;
        padding: 0.5rem;
        border: 1px solid #e2e7f0;
        border-radius: 0.5rem;
        background: #fbfcfe;
        font-size: 0.72rem;
        color: #434655;
        box-sizing: border-box;
        animation: srm-node-panel-in-b-gafa9gqcyc 0.15s ease-out;
        transition: border-color 0.15s ease, background 0.15s ease;
    }

        .srm-node-panel-files li:hover[b-gafa9gqcyc] {
            border-color: #c3c6d7;
            background: #ffffff;
        }

/* Fixed size (not flex:1/width:100% of the card) so every thumbnail -- image or file-type icon --
   reads as the same size, regardless of how wide the grid's columns happen to be at the panel's
   current (user-resizable) width. */
.srm-node-panel-file-thumb-wrap[b-gafa9gqcyc] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    cursor: zoom-in;
}

/* Image thumbnails preview on hover (see .srm-thumb-popover) instead of the click-to-open
   fullscreen lightbox non-image thumbnails still use, so no zoom-in click affordance here. */
.srm-node-panel-file-thumb-wrap--hoverable[b-gafa9gqcyc] {
    cursor: default;
}

.srm-node-panel-thumb[b-gafa9gqcyc] {
    width: 100%;
    height: 100%;
    border-radius: 0.35rem;
    /* cover, not contain -- the thumbnail always fills the square, cropping a non-square image
       rather than letterboxing it. */
    object-fit: cover;
}

.srm-node-panel-file-icon[b-gafa9gqcyc] {
    font-size: 36px;
    color: #9aa0b4;
}

.srm-node-panel-file-name[b-gafa9gqcyc] {
    flex: 0 0 auto;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.srm-node-panel-file-remove[b-gafa9gqcyc] {
    position: absolute;
    top: 0.3rem;
    right: 0.3rem;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: #9aa0b4;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.15);
    transition: background 0.15s ease, color 0.15s ease;
}

    .srm-node-panel-file-remove .material-symbols-outlined[b-gafa9gqcyc] {
        font-size: 13px;
    }

    .srm-node-panel-file-remove:hover[b-gafa9gqcyc] {
        background: #fee2e2;
        color: #dc2626;
    }

/* Staged for deletion (see _nodePanelMarkedForDelete) -- stays red/checked until Save commits it
   or the delete-toggle footer button is clicked again to cancel the whole selection. */
.srm-node-panel-file-remove--marked[b-gafa9gqcyc] {
    background: #dc2626;
    color: #ffffff;
}

    .srm-node-panel-file-remove--marked:hover[b-gafa9gqcyc] {
        background: #b91c1c;
        color: #ffffff;
    }

/* Dims the thumbnail of a file staged for deletion so the card itself, not just its corner
   button, reads as "about to go" while delete mode is on. */
.srm-node-panel-file-thumb-wrap--marked[b-gafa9gqcyc] {
    opacity: 0.4;
}

/* Mirrors srm-node-panel-file-remove on the opposite corner -- same _nodePanelDeleteMode gating,
   toggled together by the footer's trash-can button. */
.srm-node-panel-file-download[b-gafa9gqcyc] {
    position: absolute;
    top: 0.3rem;
    left: 0.3rem;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: #9aa0b4;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.15);
    transition: background 0.15s ease, color 0.15s ease;
}

    .srm-node-panel-file-download .material-symbols-outlined[b-gafa9gqcyc] {
        font-size: 13px;
    }

    .srm-node-panel-file-download:hover[b-gafa9gqcyc] {
        background: #eaedff;
        color: #004ac6;
    }

.srm-node-panel-footer[b-gafa9gqcyc] {
    display: flex;
    gap: 0.4rem;
    padding: 0.6rem 0.7rem;
    border-top: 1px solid #e2e7f0;
    background: #fbfcfe;
}

.srm-node-panel-save[b-gafa9gqcyc] {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
    padding: 0.5rem;
    border: none;
    border-radius: 0.5rem;
    background: #004ac6;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

    .srm-node-panel-save:hover[b-gafa9gqcyc] {
        background: #0039a0;
        box-shadow: 0 2px 8px rgba(0, 74, 198, 0.35);
    }

    .srm-node-panel-save:active[b-gafa9gqcyc] {
        transform: scale(0.98);
    }

    .srm-node-panel-save:disabled[b-gafa9gqcyc] {
        opacity: 0.7;
        cursor: default;
        box-shadow: none;
        transform: none;
    }

    .srm-node-panel-save .material-symbols-outlined[b-gafa9gqcyc] {
        font-size: 16px;
    }

/* Toggles each file card's remove (x) button on/off -- see _nodePanelDeleteMode. */
.srm-node-panel-delete-toggle[b-gafa9gqcyc] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    border: 1px solid #e2e7f0;
    border-radius: 0.5rem;
    background: #ffffff;
    color: #9aa0b4;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

    .srm-node-panel-delete-toggle .material-symbols-outlined[b-gafa9gqcyc] {
        font-size: 16px;
    }

    .srm-node-panel-delete-toggle:hover[b-gafa9gqcyc] {
        border-color: #dc2626;
        color: #dc2626;
    }

.srm-node-panel-delete-toggle--active[b-gafa9gqcyc] {
    background: #fee2e2;
    border-color: #dc2626;
    color: #dc2626;
}

/* Toggles each file card's download button on/off -- see _nodePanelDownloadMode. Independent of
   srm-node-panel-delete-toggle above, so either can be shown without the other. */
.srm-node-panel-download-toggle[b-gafa9gqcyc] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    border: 1px solid #e2e7f0;
    border-radius: 0.5rem;
    background: #ffffff;
    color: #9aa0b4;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

    .srm-node-panel-download-toggle .material-symbols-outlined[b-gafa9gqcyc] {
        font-size: 16px;
    }

    .srm-node-panel-download-toggle:hover[b-gafa9gqcyc] {
        border-color: #004ac6;
        color: #004ac6;
    }

.srm-node-panel-download-toggle--active[b-gafa9gqcyc] {
    background: #eaedff;
    border-color: #004ac6;
    color: #004ac6;
}

.srm-chart-toolbar[b-gafa9gqcyc] {
    position: absolute;
    top: 0.25rem;
    right: 0.5rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    border: 1px solid #c3c6d7;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #f3f4f6);
    padding: 0.15rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
}

.srm-chart-zoom-btn[b-gafa9gqcyc] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #505f76;
    cursor: pointer;
}

    .srm-chart-zoom-btn .material-symbols-outlined[b-gafa9gqcyc] {
        font-size: 16px;
    }

    .srm-chart-zoom-btn:hover[b-gafa9gqcyc] {
        background: #eaedff;
        color: #004ac6;
    }

.srm-chart-zoom-btn--active[b-gafa9gqcyc] {
    background: #eaedff;
    color: #004ac6;
}

.srm-chart-zoom-reset[b-gafa9gqcyc] {
    width: auto;
    padding: 0 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
}

/* Explicit width/height (from StructureReportNode.ComputeChartLayout, not width:100%) so a wide/
   tall tree pushes srm-chart-wrap into scroll instead of squashing the blocks -- position:relative
   anchors srm-chart-connectors, and transform-origin:0 0 keeps block ChartLeft/ChartTop (unscaled
   "world" px) lining up with the SVG's own coordinates at every zoom level. The dot grid is pure
   background-image (scales/pans for free along with the canvas itself, no JS needed) -- it's
   there only to help gauge spacing/alignment while dragging blocks around.*/
.srm-chart-canvas[b-gafa9gqcyc] {
    position: relative;
    transform-origin: 0 0;
    background-color: #fbfcfe;
    background-image: radial-gradient(circle, #d6dbe8 1px, transparent 1px);
    background-size: 24px 24px;
}

.srm-chart-connectors[b-gafa9gqcyc] {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: visible;
}

/* srmChartSyncConnectors (structureReportChartConnectors.js) creates these <path> elements
   directly via document.createElementNS, so they never receive Blazor's CSS-isolation scope
   attribute -- a scoped rule here would silently never match them. Their fill/stroke are set as
   plain SVG attributes in JS instead; nothing to style from this file. */

.srm-tree-wrap[b-gafa9gqcyc]::-webkit-scrollbar,
.srm-chart-wrap[b-gafa9gqcyc]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.srm-tree-wrap[b-gafa9gqcyc]::-webkit-scrollbar-track,
.srm-chart-wrap[b-gafa9gqcyc]::-webkit-scrollbar-track {
    background: transparent;
}

.srm-tree-wrap[b-gafa9gqcyc]::-webkit-scrollbar-thumb,
.srm-chart-wrap[b-gafa9gqcyc]::-webkit-scrollbar-thumb {
    background: #c3c6d7;
    border-radius: 3px;
}

    .srm-tree-wrap[b-gafa9gqcyc]::-webkit-scrollbar-thumb:hover,
    .srm-chart-wrap[b-gafa9gqcyc]::-webkit-scrollbar-thumb:hover {
        background: #9aa0b4;
    }

/* table-layout:fixed + an explicit width (set inline from TreeTableWidth, not width:100%) so
   resizing a column never gets redistributed across the others, and the table can outgrow
   srm-tree-wrap -- that's what makes srm-tree-wrap's overflow:auto scroll horizontally. */
.srm-tree-table[b-gafa9gqcyc] {
    table-layout: fixed;
    border-collapse: collapse;
    text-align: left;
}

.srm-tree-table thead th[b-gafa9gqcyc] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #eaedff;
    text-align: left;
    padding: 0.5rem 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #434655;
    border-bottom: 1px solid #e2e7f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.srm-col-resize-handle[b-gafa9gqcyc] {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    cursor: col-resize;
    z-index: 2;
}

    .srm-col-resize-handle[b-gafa9gqcyc]::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 2px;
        height: 16px;
        transform: translate(-50%, -50%);
        border-radius: 1px;
        background: #c4cee3;
        opacity: 0.7;
    }

    .srm-col-resize-handle:hover[b-gafa9gqcyc] {
        background: #004ac6;
        opacity: 0.35;
    }

    .srm-col-resize-handle:hover[b-gafa9gqcyc]::after {
        background: #004ac6;
        opacity: 1;
    }

/* Small hover preview for an image thumbnail in srm-node-panel-files (see OnThumbHoverEnter) --
   position:fixed for the same reason as srm-lightbox below (escapes srm-node-panel's
   overflow:hidden regardless of DOM depth), anchored to the mouseenter event's own viewport
   coordinates (left/top set inline) rather than the thumbnail's rect, so no JS interop is needed.
   The translate anchors the popover's right edge just left of the cursor and vertically centers
   it, which reliably floats it over the chart canvas next to the (right-hand) node panel instead
   of covering the thumbnail itself. pointer-events:none so it never intercepts the mouseleave
   that's meant to dismiss it. Opacity (not a mount/unmount keyframe) drives visibility -- the
   markup keeps this element rendered with the last-hovered file after mouseleave (see
   _hoverPreviewVisible) so toggling .srm-thumb-popover--visible transitions smoothly both ways. */
.srm-thumb-popover[b-gafa9gqcyc] {
    position: fixed;
    z-index: 1100;
    transform: translate(calc(-100% - 14px), -50%) scale(0.96);
    pointer-events: none;
    padding: 0.4rem;
    border-radius: 0.5rem;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.28);
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.srm-thumb-popover--visible[b-gafa9gqcyc] {
    opacity: 1;
    transform: translate(calc(-100% - 14px), -50%) scale(1);
}

.srm-thumb-popover-img[b-gafa9gqcyc] {
    display: block;
    width: 220px;
    max-height: 220px;
    border-radius: 0.35rem;
    object-fit: contain;
}

/* Full-image preview opened by clicking a thumbnail in srm-node-panel-files -- position:fixed
   puts it above srm-panel--expanded's own fixed overlay (z-index:20) and ModalCpn's backdrop
   regardless of where in the DOM this component happens to render. */
.srm-lightbox[b-gafa9gqcyc] {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 24, 40, 0.82);
    cursor: zoom-out;
    animation: srm-node-panel-in-b-gafa9gqcyc 0.15s ease-out;
}

.srm-lightbox-img[b-gafa9gqcyc] {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 0.4rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    cursor: default;
}

.srm-lightbox-pdf[b-gafa9gqcyc] {
    width: 80vw;
    height: 88vh;
    border: none;
    border-radius: 0.4rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    cursor: default;
}

.srm-lightbox-text[b-gafa9gqcyc] {
    width: min(70vw, 900px);
    max-height: 85vh;
    margin: 0;
    overflow: auto;
    padding: 1.25rem;
    border-radius: 0.4rem;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.8rem;
    color: #434655;
    white-space: pre-wrap;
    word-break: break-word;
    cursor: default;
}

.srm-lightbox-fallback[b-gafa9gqcyc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2.5rem 3rem;
    border-radius: 0.6rem;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    cursor: default;
}

    .srm-lightbox-fallback .material-symbols-outlined[b-gafa9gqcyc] {
        font-size: 48px;
        color: #9aa0b4;
    }

    .srm-lightbox-fallback-name[b-gafa9gqcyc] {
        font-size: 0.9rem;
        font-weight: 600;
        color: #434655;
        max-width: 50vw;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .srm-lightbox-fallback-note[b-gafa9gqcyc] {
        font-size: 0.78rem;
        color: #9aa0b4;
    }

.srm-lightbox-close[b-gafa9gqcyc] {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.15s ease;
}

    .srm-lightbox-close .material-symbols-outlined[b-gafa9gqcyc] {
        font-size: 20px;
    }

    .srm-lightbox-close:hover[b-gafa9gqcyc] {
        background: rgba(255, 255, 255, 0.3);
    }
/* /Components/Modals/StructureReportParamModal.razor.rz.scp.css */
.srp-row[b-d130ifqujr] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.srp-label[b-d130ifqujr] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}

.srp-input[b-d130ifqujr] {
    padding: 0.5rem 0.7rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

    .srp-input:focus[b-d130ifqujr] {
        outline: none;
        border-color: #004ac6;
    }

    .srp-input:read-only[b-d130ifqujr] {
        background: #f3f4f6;
        color: #6b7280;
    }

.btn-primary[b-d130ifqujr] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-primary:hover[b-d130ifqujr] {
        background: #2563eb;
    }

    .btn-primary:active[b-d130ifqujr] {
        transform: scale(0.96);
    }

.btn-secondary[b-d130ifqujr] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-secondary:hover[b-d130ifqujr] {
        background: #f3f4f6;
    }
/* /Components/Modals/StructureReportTreeNode.razor.rz.scp.css */
.srm-tree-row[b-dm151bon6h] {
    cursor: pointer;
    font-size: 0.85rem;
}

    .srm-tree-row:hover[b-dm151bon6h] {
        background: #f3f4f6;
    }

.srm-tree-cell[b-dm151bon6h] {
    padding: 0.35rem 0.5rem;
    border-bottom: 1px solid rgba(226, 231, 240, 0.5);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #4b5563;
    font-size: 0.85rem;
}

.srm-tree-cell--step[b-dm151bon6h] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.srm-tree-toggle[b-dm151bon6h] {
    flex-shrink: 0;
    width: 1rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.75rem;
}

.srm-tree-toggle--leaf[b-dm151bon6h] {
    visibility: hidden;
}

.srm-tree-icon[b-dm151bon6h] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.srm-tree-code[b-dm151bon6h] {
    font-weight: 600;
    color: #1f2937;
}
/* /Components/Modals/TableHeaderTranslateModal.razor.rz.scp.css */
.thtm-grid[b-33g05w5e8s] {
    display: grid;
    grid-template-columns: minmax(8rem, 1.2fr) repeat(6, minmax(7rem, 1fr));
    gap: 0.35rem 0.5rem;
    align-items: center;
    max-height: 60vh;
    overflow: auto;
}

.thtm-head[b-33g05w5e8s] {
    font-weight: 700;
    text-align: center;
    color: #4a5568;
}

.thtm-key[b-33g05w5e8s] {
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Modals/TabsSettingModal.razor.rz.scp.css */
.tabsSettingModal[b-th0kz70fyc] {
    z-index: 1070;
}

.tsm-editor[b-th0kz70fyc] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    min-height: 0;
    overflow-y: auto;
}

.tsm-hint[b-th0kz70fyc],
.tsm-empty[b-th0kz70fyc] {
    color: #737686;
    font-size: 0.8125rem;
}

.tsm-tab-row[b-th0kz70fyc],
.tsm-category-row[b-th0kz70fyc],
.tsm-add-category[b-th0kz70fyc] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tsm-tab-row[b-th0kz70fyc] {
    display: grid;
    grid-template-columns: 1.9rem minmax(0, 1fr) minmax(12rem, auto) 1.9rem 1.9rem 1.9rem;
    padding: 0.3rem 0.4rem;
    background: #eef1f7;
    align-items: center;
}

.tsm-tab-label[b-th0kz70fyc] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #505f76;
    font-weight: 600;
}

.tsm-tab-select[b-th0kz70fyc] {
    flex: 0 0 7rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #505f76;
    cursor: pointer;
    text-align: left;
}

.tsm-tab-select.active[b-th0kz70fyc] {
    border-color: #004ac6;
    background: #eaf1ff;
    color: #004ac6;
    font-weight: 700;
}

.tsm-tab-name[b-th0kz70fyc],
.tsm-add-category select[b-th0kz70fyc] {
    flex: 1;
    min-width: 0;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
    font-size: 0.8125rem;
}

.tsm-icon-btn[b-th0kz70fyc],
.tsm-remove-btn[b-th0kz70fyc] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #737686;
    cursor: pointer;
}

.tsm-icon-btn:disabled[b-th0kz70fyc] {
    opacity: 0.4;
    cursor: default;
}

.tsm-category-panel[b-th0kz70fyc] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0 0 0.35rem 0;
    padding: 0.75rem;
    border: 1px solid #e5e7ee;
    border-radius: 0.35rem;
}

.tsm-panel-title[b-th0kz70fyc] {
    color: #191c1e;
    font-size: 0.8125rem;
}

.tsm-category-row[b-th0kz70fyc] {
    display: grid;
    grid-template-columns: 1.9rem minmax(0, 1fr) 8rem;
    justify-content: initial;
    padding: 0.3rem 0.4rem;
    background: #f8f9fb;
    color: #505f76;
    font-size: 0.8125rem;
}

.tsm-tab-format[b-th0kz70fyc] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
}

.tsm-format-btn[b-th0kz70fyc],
.tsm-fontsize-input[b-th0kz70fyc] {
    box-sizing: border-box;
    min-width: 0;
    height: 1.9rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #737686;
    font-size: 0.8125rem;
}

.tsm-format-btn[b-th0kz70fyc] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    cursor: pointer;
}

.tsm-format-btn:hover[b-th0kz70fyc],
.tsm-format-btn.active[b-th0kz70fyc] {
    border-color: #004ac6;
    color: #004ac6;
}

.tsm-fontsize-input[b-th0kz70fyc] {
    width: 4rem;
    padding: 0.35rem 0.5rem;
    color: #191c1e;
}

.tsm-format-badge[b-th0kz70fyc] {
    min-width: 0.9rem;
    padding: 0.05rem 0.2rem;
    border-radius: 999px;
    background: #004ac6;
    color: #fff;
    font-size: 0.6rem;
}

.tsm-drag-handle[b-th0kz70fyc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    color: #737686;
    cursor: grab;
    user-select: none;
}

.tsm-drag-handle:active[b-th0kz70fyc] {
    cursor: grabbing;
}

.tsm-category-row select[b-th0kz70fyc] {
    min-width: 0;
    padding: 0.3rem 0.4rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #505f76;
    font-size: 0.8125rem;
}

.tsm-tab-group-title[b-th0kz70fyc] {
    margin-top: 0.4rem;
    padding: 0.25rem 0.4rem;
    background: #eef1f7;
    font-weight: 600;
}

.tsm-add-btn[b-th0kz70fyc] {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
    cursor: pointer;
    font-size: 0.8125rem;
}

.tsm-add-btn:disabled[b-th0kz70fyc] {
    opacity: 0.45;
    cursor: default;
}
/* /Components/Modals/TrainingFaceDataModal.razor.rz.scp.css */
.spin-animation[b-msq118ky7g] {
    animation: spin-b-msq118ky7g 1s linear infinite;
}

@keyframes spin-b-msq118ky7g {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/* /Components/Modals/UserLicenseModal.razor.rz.scp.css */
.ul-body[b-lvexed5kd3] { text-align: left; }
.ul-seats[b-lvexed5kd3] { color: #666; margin-bottom: 8px; font-weight: 500; }
.ul-key[b-lvexed5kd3] { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid #dadbe3; border-radius: 6px; }
.ul-key-granted[b-lvexed5kd3] { border-color: #1a7f3c; background: #eaf7ee; }
.ul-key-blocked[b-lvexed5kd3] { border-color: #b42318; background: #fde0e0; }
.ul-key-text[b-lvexed5kd3] { font-weight: 600; }
.ul-key-date[b-lvexed5kd3] { color: #667085; font-size: 12px; }
.ul-empty[b-lvexed5kd3] { padding: 24px; text-align: center; color: #667085; }
.ul-message[b-lvexed5kd3] { margin-top: 10px; color: #b42318; }
/* /Components/Modals/ViewImageModal.razor.rz.scp.css */
/* /Components/Modals/Widgets/AIWidgetCreateModal.razor.rz.scp.css */
.aiwc-titlebar[b-b8tjexmdbo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.aiwc-title[b-b8tjexmdbo] {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.aiwc-close-btn[b-b8tjexmdbo] {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px;
    line-height: 0;
}

.aiwc-body[b-b8tjexmdbo] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.aiwc-fg[b-b8tjexmdbo] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aiwc-fl[b-b8tjexmdbo] {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
}

.aiwc-fc[b-b8tjexmdbo] {
    width: 100%;
    box-sizing: border-box;
    padding: 7px 9px;
    background: #f8fafb;
    border: 1px solid #dde2e8;
    border-radius: 6px;
    font-size: 13px;
    color: #1a1f25;
    outline: none;
}

.aiwc-fc:focus[b-b8tjexmdbo] {
    border-color: #0ea5e9;
}

.aiwc-tags[b-b8tjexmdbo] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-height: 76px;
    padding: 7px 9px;
    box-sizing: border-box;
    background: #f8fafb;
    border: 1px solid #dde2e8;
    border-radius: 6px;
}

.aiwc-tags:focus-within[b-b8tjexmdbo] {
    border-color: #0ea5e9;
}

.aiwc-tag[b-b8tjexmdbo] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 5px 8px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-size: 12px;
    line-height: 1.3;
}

.aiwc-tag > span[b-b8tjexmdbo] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.aiwc-tag-remove[b-b8tjexmdbo] {
    padding: 0;
    border: none;
    background: transparent;
    color: #0369a1;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.aiwc-tag-input[b-b8tjexmdbo] {
    flex: 1 1 140px;
    min-width: 140px;
    padding: 5px 2px;
    border: none;
    outline: none;
    background: transparent;
    font: inherit;
    color: #1a1f25;
}

.aiwc-hint[b-b8tjexmdbo] {
    font-size: 11px;
    color: #94a3b8;
}
/* /Components/Modals/Widgets/CustomWidgetParamsModal.razor.rz.scp.css */
.cwp-titlebar[b-eovauztp1s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.cwp-title[b-eovauztp1s] {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.cwp-close-btn[b-eovauztp1s] {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px;
    line-height: 0;
}

.cwp-body[b-eovauztp1s] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cwp-sec-ttl[b-eovauztp1s] {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #7a8899;
    margin-bottom: 8px;
}

.cwp-fg[b-eovauztp1s] {
    margin-bottom: 10px;
}

.cwp-fg:last-child[b-eovauztp1s] {
    margin-bottom: 0;
}

.cwp-fl[b-eovauztp1s] {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.cwp-fc[b-eovauztp1s] {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 9px;
    background: #f8fafb;
    border: 1px solid #dde2e8;
    border-radius: 6px;
    font-size: 13px;
    color: #1a1f25;
    outline: none;
}

.cwp-fc:focus[b-eovauztp1s] {
    border-color: #0ea5e9;
}

.cwp-footer[b-eovauztp1s] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}
/* /Components/Modals/Widgets/CustomWidgetTemplatePickerModal.razor.rz.scp.css */
.wtpl-titlebar[b-7mbmn0lwre] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.wtpl-title[b-7mbmn0lwre] {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.wtpl-close-btn[b-7mbmn0lwre] {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px;
    line-height: 0;
}

.wtpl-search-wrap[b-7mbmn0lwre] {
    position: relative;
    margin: 12px 16px;
    flex-shrink: 0;
}

.wtpl-search-icon[b-7mbmn0lwre] {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    opacity: .5;
}

.wtpl-search-input[b-7mbmn0lwre] {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px 8px 32px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
}

/* Fixed 3-column grid so every card is a uniform size (not auto-fill's content-driven track
   count/width) - drops to 2/1 columns on narrow viewports since the modal itself shrinks below
   its 640px max-width there. Scrolls internally (flex:1 1 auto + min-height:0 + overflow-y:auto)
   once the cards no longer fit within the modal's fixed height. */
.wtpl-grid[b-7mbmn0lwre] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 0 16px 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    align-content: start;
}

@media (max-width: 640px) {
    .wtpl-grid[b-7mbmn0lwre] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 420px) {
    .wtpl-grid[b-7mbmn0lwre] {
        grid-template-columns: repeat(1, 1fr);
    }
}

.wtpl-card[b-7mbmn0lwre] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 180px;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    text-align: left;
}

.wtpl-card:hover[b-7mbmn0lwre] {
    border-color: #006398;
    background: rgba(0, 99, 152, .05);
}

.wtpl-card-preview[b-7mbmn0lwre] {
    height: 90px;
    flex-shrink: 0;
    border-radius: 6px;
    background: #fafbfc;
    border: 1px solid #eef1f4;
    overflow: hidden;
}

.wtpl-card-name[b-7mbmn0lwre] {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wtpl-card-desc[b-7mbmn0lwre] {
    font-size: 11px;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wtpl-empty[b-7mbmn0lwre] {
    font-size: 12px;
    color: #9ca3af;
    padding: 12px 16px;
}
/* /Components/Modals/WOColumnColorRuleModal.razor.rz.scp.css */
.btn-primary[b-n9v2s3vtx7] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-primary:hover[b-n9v2s3vtx7] {
        background: #2563eb;
    }

    .btn-primary:active[b-n9v2s3vtx7] {
        transform: scale(0.96);
    }

    .btn-primary:disabled[b-n9v2s3vtx7] {
        background: #c3c6d7;
        cursor: not-allowed;
    }

        .btn-primary:disabled:active[b-n9v2s3vtx7] {
            transform: none;
        }

.btn-secondary[b-n9v2s3vtx7] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f3f4f6;
    color: #505f76;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-secondary:hover[b-n9v2s3vtx7] {
        background: #e7e8ea;
    }

    .btn-secondary:active[b-n9v2s3vtx7] {
        transform: scale(0.96);
    }

.wo-mapping-input[b-n9v2s3vtx7] {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.wo-mapping-row-btn[b-n9v2s3vtx7] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    flex-shrink: 0;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #737686;
    cursor: pointer;
    padding: 0.35rem;
    transition: color .2s, border-color .2s;
}

    .wo-mapping-row-btn:hover[b-n9v2s3vtx7] {
        border-color: #004ac6;
        color: #004ac6;
    }

.wo-mapping-add-btn[b-n9v2s3vtx7] {
    align-self: flex-start;
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
}

.wo-colorrule-editor[b-n9v2s3vtx7] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: left;
}

.wo-colorrule-type-hint[b-n9v2s3vtx7] {
    font-size: 0.75rem;
    color: #737686;
    font-style: italic;
}

.wo-colorrule-operator-hint[b-n9v2s3vtx7] {
    font-size: 0.7rem;
    color: #737686;
    font-style: italic;
}

.wo-colorrule-row[b-n9v2s3vtx7] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #c3c6d7;
}

    .wo-colorrule-row:last-of-type[b-n9v2s3vtx7] {
        border-bottom: none;
        padding-bottom: 0;
    }

.wo-colorrule-row-main[b-n9v2s3vtx7] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.wo-colorrule-label[b-n9v2s3vtx7] {
    font-size: 0.75rem;
    color: #737686;
    white-space: nowrap;
}

.wo-colorrule-operator-select[b-n9v2s3vtx7] {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.wo-colorrule-row-values[b-n9v2s3vtx7] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.wo-colorrule-and[b-n9v2s3vtx7] {
    font-size: 0.75rem;
    color: #737686;
    white-space: nowrap;
}

.wo-mapping-input.invalid[b-n9v2s3vtx7] {
    border-color: #dc3545;
    background: #fff2f2;
}

.wo-colorrule-error[b-n9v2s3vtx7] {
    font-size: 0.7rem;
    color: #dc3545;
    margin-top: -0.2rem;
}

.wo-colorrule-style-row[b-n9v2s3vtx7] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.wo-colorrule-style-btn[b-n9v2s3vtx7] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.8125rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #737686;
    cursor: pointer;
}

    .wo-colorrule-style-btn:hover[b-n9v2s3vtx7],
    .wo-colorrule-style-btn.active[b-n9v2s3vtx7] {
        border-color: #004ac6;
        color: #004ac6;
    }

.wo-colorrule-color-group[b-n9v2s3vtx7] {
    display: flex;
    flex: 1;
    min-width: 0;
}

.wo-colorrule-hex-input[b-n9v2s3vtx7] {
    flex: 0 0 5.5rem;
    min-width: 0;
    text-transform: uppercase;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.wo-colorrule-code-input[b-n9v2s3vtx7] {
    flex: 1;
    min-width: 0;
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.wo-colorrule-color-group input:focus[b-n9v2s3vtx7] {
    position: relative;
    z-index: 1;
}
/* /Components/Modals/WOColumnConditionDefaultValueModal.razor.rz.scp.css */
.btn-primary[b-obxg5ryugh] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-primary:hover[b-obxg5ryugh] {
        background: #2563eb;
    }

    .btn-primary:active[b-obxg5ryugh] {
        transform: scale(0.96);
    }

.btn-secondary[b-obxg5ryugh] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f3f4f6;
    color: #505f76;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-secondary:hover[b-obxg5ryugh] {
        background: #e7e8ea;
    }

    .btn-secondary:active[b-obxg5ryugh] {
        transform: scale(0.96);
    }

.wo-conditiondefault-editor[b-obxg5ryugh] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: left;
}

.wo-conditiondefault-allowedit-row[b-obxg5ryugh] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: #191c1e;
    cursor: pointer;
}

.wo-conditiondefault-label[b-obxg5ryugh] {
    font-size: 0.75rem;
    color: #737686;
}

.wo-conditiondefault-editor-wrap[b-obxg5ryugh] {
    border-radius: 0.25rem;
    overflow: hidden;
}

.wo-conditiondefault-example[b-obxg5ryugh] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.6rem 0.7rem;
    background: #f5f7fb;
    border: 1px solid #e2e6ee;
    border-radius: 0.25rem;
}

.wo-conditiondefault-example-code[b-obxg5ryugh] {
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.75rem;
    color: #0b3d91;
    background: #fff;
    border: 1px solid #d4dadf;
    border-radius: 0.2rem;
    padding: 0.35rem 0.5rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.wo-conditiondefault-hint[b-obxg5ryugh] {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.7rem;
    color: #737686;
    line-height: 1.5;
}

    .wo-conditiondefault-hint li + li[b-obxg5ryugh] {
        margin-top: 0.3rem;
    }

    .wo-conditiondefault-hint code[b-obxg5ryugh] {
        font-family: "Consolas", "Courier New", monospace;
        background: #fff;
        border: 1px solid #d4dadf;
        border-radius: 0.15rem;
        padding: 0 0.2rem;
        color: #0b3d91;
    }

.wo-conditiondefault-preview-bar[b-obxg5ryugh] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.wo-conditiondefault-preview-hint[b-obxg5ryugh] {
    font-size: 0.75rem;
    color: #6b7280;
}

.wo-conditiondefault-preview-param[b-obxg5ryugh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wo-conditiondefault-preview-value[b-obxg5ryugh] {
    margin-bottom: 0.5rem;
    text-align: left;
    font-size: 0.85rem;
}

/* Two halves: the editor on the left, the preview's sample-value parameters on the right. */
.wo-conditiondefault-layout[b-obxg5ryugh] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    text-align: left;
}

.wo-conditiondefault-params[b-obxg5ryugh] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1rem;
    border-left: 1px solid #e2e5ee;
}
/* /Components/Modals/WOColumnIconRuleModal.razor.rz.scp.css */
.btn-primary[b-xpglpj98uj] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-primary:hover[b-xpglpj98uj] {
        background: #2563eb;
    }

    .btn-primary:active[b-xpglpj98uj] {
        transform: scale(0.96);
    }

    .btn-primary:disabled[b-xpglpj98uj] {
        background: #c3c6d7;
        cursor: not-allowed;
    }

        .btn-primary:disabled:active[b-xpglpj98uj] {
            transform: none;
        }

.btn-secondary[b-xpglpj98uj] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f3f4f6;
    color: #505f76;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-secondary:hover[b-xpglpj98uj] {
        background: #e7e8ea;
    }

    .btn-secondary:active[b-xpglpj98uj] {
        transform: scale(0.96);
    }

.wo-mapping-input[b-xpglpj98uj] {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.wo-mapping-row-btn[b-xpglpj98uj] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    flex-shrink: 0;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #737686;
    cursor: pointer;
    padding: 0.35rem;
    transition: color .2s, border-color .2s;
}

    .wo-mapping-row-btn:hover[b-xpglpj98uj] {
        border-color: #004ac6;
        color: #004ac6;
    }

.wo-mapping-add-btn[b-xpglpj98uj] {
    align-self: flex-start;
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
}

.wo-mapping-source-toggle[b-xpglpj98uj] {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}

.wo-mapping-type-btn[b-xpglpj98uj] {
    padding: 0.35rem 0.75rem;
}

.wo-mapping-type-btn.active[b-xpglpj98uj] {
    border-color: #004ac6;
    color: #004ac6;
}

.wo-mapping-icon-picker[b-xpglpj98uj] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wo-mapping-icon-preview[b-xpglpj98uj] {
    height: 24px;
    width: 24px;
    object-fit: contain;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
}

.wo-colorrule-editor[b-xpglpj98uj] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: left;
}

.wo-colorrule-type-hint[b-xpglpj98uj] {
    font-size: 0.75rem;
    color: #737686;
    font-style: italic;
}

.wo-colorrule-operator-hint[b-xpglpj98uj] {
    font-size: 0.7rem;
    color: #737686;
    font-style: italic;
}

.wo-colorrule-row[b-xpglpj98uj] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #c3c6d7;
}

    .wo-colorrule-row:last-of-type[b-xpglpj98uj] {
        border-bottom: none;
        padding-bottom: 0;
    }

.wo-colorrule-row-main[b-xpglpj98uj] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.wo-colorrule-label[b-xpglpj98uj] {
    font-size: 0.75rem;
    color: #737686;
    white-space: nowrap;
}

.wo-colorrule-operator-select[b-xpglpj98uj] {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.wo-colorrule-row-values[b-xpglpj98uj] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.wo-colorrule-and[b-xpglpj98uj] {
    font-size: 0.75rem;
    color: #737686;
    white-space: nowrap;
}

.wo-colorrule-error[b-xpglpj98uj] {
    font-size: 0.7rem;
    color: #dc3545;
    margin-top: -0.2rem;
}

.wo-iconrule-sql-textarea[b-xpglpj98uj] {
    width: 100%;
    min-height: 3.5rem;
    resize: vertical;
    font-family: inherit;
}

/* .woColumnIconRuleModal .modal-dialog/-body positioning lives in the global management_wo.css
   instead of here - see that file's own comment on why a scoped .razor.css selector can't reach
   ModalCpn's nested .modal-dialog without ::deep. */
/* /Components/Modals/WOColumnMappingModal.razor.rz.scp.css */
.btn-primary[b-fe7ivykgj1] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-primary:hover[b-fe7ivykgj1] {
        background: #2563eb;
    }

    .btn-primary:active[b-fe7ivykgj1] {
        transform: scale(0.96);
    }

.btn-secondary[b-fe7ivykgj1] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f3f4f6;
    color: #505f76;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-secondary:hover[b-fe7ivykgj1] {
        background: #e7e8ea;
    }

    .btn-secondary:active[b-fe7ivykgj1] {
        transform: scale(0.96);
    }

[b-fe7ivykgj1] #woColumnMappingModal .modal-dialog {
    position: fixed;
    top: 1.75rem;
    left: calc(50% + 300px);
    margin: 0;
    max-height: calc(100vh - 3.5rem);
}

[b-fe7ivykgj1] #woColumnMappingModal .modal-body {
    max-height: calc(100vh - 10rem);
    overflow-y: auto;
}

.wo-mapping-editor[b-fe7ivykgj1] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.wo-mapping-source-toggle[b-fe7ivykgj1] {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}

.wo-mapping-type-btn[b-fe7ivykgj1] {
    padding: 0.35rem 0.75rem;
}

.wo-mapping-sql-textarea[b-fe7ivykgj1] {
    width: 100%;
    min-height: 4.5rem;
    resize: vertical;
    font-family: inherit;
}

.wo-mapping-sql-hint[b-fe7ivykgj1] {
    font-size: 0.7rem;
    color: #737686;
}

.wo-mapping-row[b-fe7ivykgj1] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.wo-mapping-input[b-fe7ivykgj1] {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

/* Every row of the Manual editor lines up: the Key (typed or special-value list) takes a fixed share, the value gets the rest, and the small buttons
   (special value, text/icon, remove) are one size. Only direct children of the row - the "Choose Icon" button inside the icon picker keeps its own size. */
.wo-mapping-key[b-fe7ivykgj1] {
    flex: 0 0 38%;
    width: 38%;
    box-sizing: border-box;
}

.wo-mapping-row > .wo-mapping-row-btn[b-fe7ivykgj1] {
    width: 2.125rem;
    height: 2.125rem;
    padding: 0;
}

.wo-mapping-row-btn[b-fe7ivykgj1] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    flex-shrink: 0;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #737686;
    cursor: pointer;
    padding: 0.35rem;
    transition: color .2s, border-color .2s;
}

    .wo-mapping-row-btn:hover[b-fe7ivykgj1] {
        border-color: #004ac6;
        color: #004ac6;
    }

.wo-mapping-add-btn[b-fe7ivykgj1] {
    align-self: flex-start;
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
}

.wo-mapping-type-btn.active[b-fe7ivykgj1] {
    border-color: #004ac6;
    color: #004ac6;
}

.wo-mapping-icon-picker[b-fe7ivykgj1] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wo-mapping-icon-preview[b-fe7ivykgj1] {
    height: 24px;
    width: 24px;
    object-fit: contain;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
}

.wo-mapping-default-row[b-fe7ivykgj1] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #c3c6d7;
}

.wo-mapping-default-label[b-fe7ivykgj1] {
    font-size: 0.75rem;
    color: #737686;
}

.wo-mapping-checkbox-row-label[b-fe7ivykgj1] {
    flex-shrink: 0;
    width: 4.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4a5568;
}
/* /Components/Modals/WOColumnPopoverModal.razor.rz.scp.css */
.btn-primary[b-noqi9ymtxp] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-primary:hover[b-noqi9ymtxp] {
        background: #2563eb;
    }

    .btn-primary:active[b-noqi9ymtxp] {
        transform: scale(0.96);
    }

.btn-secondary[b-noqi9ymtxp] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f3f4f6;
    color: #505f76;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-secondary:hover[b-noqi9ymtxp] {
        background: #e7e8ea;
    }

    .btn-secondary:active[b-noqi9ymtxp] {
        transform: scale(0.96);
    }

.wo-popover-editor[b-noqi9ymtxp] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: left;
}

.wo-popover-allow-row[b-noqi9ymtxp] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: #191c1e;
    cursor: pointer;
}

.wo-popover-label[b-noqi9ymtxp] {
    font-size: 0.75rem;
    color: #737686;
}

.wo-popover-type-select[b-noqi9ymtxp] {
    font-size: 0.8125rem;
    padding: 0.4rem 0.5rem;
    border: 1px solid #d4dadf;
    border-radius: 0.25rem;
    background: #fff;
    color: #191c1e;
}

.wo-popover-hint[b-noqi9ymtxp] {
    font-size: 0.75rem;
    color: #737686;
    line-height: 1.4;
}
/* /Components/Modals/WOColumnRichtextModal.razor.rz.scp.css */
.wrt-body[b-vsdco0i18r] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wrt-label[b-vsdco0i18r] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #737686;
}

.wrt-icon-row[b-vsdco0i18r] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wrt-icon-preview[b-vsdco0i18r] {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

.wrt-icon-default[b-vsdco0i18r] {
    font-size: 1.5rem;
    color: #3755c3;
}
/* /Components/Modals/WOColumnTextStyleModal.razor.rz.scp.css */
.btn-primary[b-607mug408o] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #004ac6;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-primary:hover[b-607mug408o] {
        background: #2563eb;
    }

    .btn-primary:active[b-607mug408o] {
        transform: scale(0.96);
    }

.btn-secondary[b-607mug408o] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #f3f4f6;
    color: #505f76;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .btn-secondary:hover[b-607mug408o] {
        background: #e7e8ea;
    }

    .btn-secondary:active[b-607mug408o] {
        transform: scale(0.96);
    }

[b-607mug408o] #woColumnTextStyleModal .modal-dialog {
    position: fixed;
    top: 1.75rem;
    left: calc(50% + 300px);
    margin: 0;
    max-height: calc(100vh - 3.5rem);
}

.wo-textstyle-editor[b-607mug408o] {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    text-align: left;
}

.wo-textstyle-label[b-607mug408o] {
    display: block;
    font-size: 0.75rem;
    color: #737686;
    margin-bottom: 0.35rem;
}

.wo-textstyle-btn-row[b-607mug408o] {
    display: flex;
    gap: 0.4rem;
}

.wo-textstyle-btn[b-607mug408o] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.9rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #737686;
    cursor: pointer;
}

    .wo-textstyle-btn:hover[b-607mug408o],
    .wo-textstyle-btn.active[b-607mug408o] {
        border-color: #004ac6;
        color: #004ac6;
    }

.wo-textstyle-color-row[b-607mug408o] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.wo-mapping-input[b-607mug408o] {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.wo-textstyle-color-group[b-607mug408o] {
    display: flex;
    flex: 1;
    min-width: 0;
}

.wo-textstyle-hex-input[b-607mug408o] {
    flex: 0 0 5.5rem;
    min-width: 0;
    text-transform: uppercase;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.wo-textstyle-code-input[b-607mug408o] {
    flex: 1;
    min-width: 0;
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.wo-textstyle-color-group input:focus[b-607mug408o] {
    position: relative;
    z-index: 1;
}

.wo-textstyle-hint[b-607mug408o] {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.7rem;
    color: #9096a3;
}
/* /Components/Modals/WOMaterialRequirementPanel.razor.rz.scp.css */
.wo-txn-panel[b-4wyj6fz3qk] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.wo-txn-toolbar[b-4wyj6fz3qk] {
    display: flex;
    justify-content: space-between;
    flex-shrink: 0;
}

.wo-txn-toolbar-zone[b-4wyj6fz3qk] {
    display: flex;
    gap: 0.5rem;
}

.wo-txn-table-wrap[b-4wyj6fz3qk] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-outline-variant) transparent;
}

    .wo-txn-table-wrap[b-4wyj6fz3qk]::-webkit-scrollbar {
        width: 6px;
    }

    .wo-txn-table-wrap[b-4wyj6fz3qk]::-webkit-scrollbar-track {
        background: transparent;
    }

    .wo-txn-table-wrap[b-4wyj6fz3qk]::-webkit-scrollbar-thumb {
        background: var(--color-outline-variant);
        border-radius: 3px;
    }

        .wo-txn-table-wrap[b-4wyj6fz3qk]::-webkit-scrollbar-thumb:hover {
            background: var(--color-outline);
        }

.wo-txn-table[b-4wyj6fz3qk] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
    table-layout: fixed;
}

.wo-txn-table th[b-4wyj6fz3qk] {
    position: sticky;
    top: 0;
    z-index: 1;
    text-align: left;
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid var(--color-outline-variant);
    color: var(--color-outline);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--color-surface, #fff);
}

.wo-txn-table td[b-4wyj6fz3qk] {
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid var(--color-outline-variant);
}

/* :not() exclusions (rather than a color here) so this default never out-specifies
   .wo-value-positive/.wo-value-negative when FormatColorClass puts one of those directly
   on this same <td> -- the two rules are mutually exclusive by selector, not by cascade order. */
.wo-txn-table td:not(.wo-value-positive):not(.wo-value-negative)[b-4wyj6fz3qk] {
    color: #000;
}

.wo-txn-table tbody tr:hover td[b-4wyj6fz3qk] {
    background: var(--color-surface-variant, rgba(0, 0, 0, 0.04));
}

.wo-txn-table tbody tr.wo-txn-row-selected td[b-4wyj6fz3qk] {
    background: var(--color-secondary-container);
}

/* Fixed layout (above) lets long values get truncated instead of wrapping to a
   second line -- same approach as WOTransactionRightModal's --resizable table. */
.wo-txn-table th[b-4wyj6fz3qk],
.wo-txn-table td[b-4wyj6fz3qk] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Drag-to-resize handle at each column's right edge, drawn as two small bars that stay visible
   in the normal (non-hover) state -- unlike WOTransactionRightModal's .col-resize-handle, which
   is fully transparent until hover, this one needs to read as a grabbable grip at rest. */
.wo-txn-table .womr-col-resize-handle[b-4wyj6fz3qk] {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
    cursor: col-resize;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

/*    .wo-txn-table .womr-col-resize-handle::before,*/
    .wo-txn-table .womr-col-resize-handle[b-4wyj6fz3qk]::after {
        content: "";
        width: 1px;
        height: 60%;
        background: var(--color-outline-variant);
        border-radius: 1px;
    }

/*    .wo-txn-table .womr-col-resize-handle:hover::before,*/
    .wo-txn-table .womr-col-resize-handle:hover[b-4wyj6fz3qk]::after {
        background: var(--color-primary);
    }
/* /Components/Modals/WOTransactionRightModal.razor.rz.scp.css */
.wo-txn-panel[b-sp0uruxwy8] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.wo-txn-tabs[b-sp0uruxwy8] {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid var(--color-outline-variant);
    flex-shrink: 0;
}

.wo-txn-tab[b-sp0uruxwy8] {
    border: none;
    background: transparent;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-outline);
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

    .wo-txn-tab.active[b-sp0uruxwy8] {
        color: var(--color-primary);
        border-bottom-color: var(--color-primary);
    }

.wo-txn-toolbar[b-sp0uruxwy8] {
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.wo-txn-table-wrap[b-sp0uruxwy8] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-outline-variant) transparent;
}

    .wo-txn-table-wrap[b-sp0uruxwy8]::-webkit-scrollbar {
        width: 6px;
    }

    .wo-txn-table-wrap[b-sp0uruxwy8]::-webkit-scrollbar-track {
        background: transparent;
    }

    .wo-txn-table-wrap[b-sp0uruxwy8]::-webkit-scrollbar-thumb {
        background: var(--color-outline-variant);
        border-radius: 3px;
    }

        .wo-txn-table-wrap[b-sp0uruxwy8]::-webkit-scrollbar-thumb:hover {
            background: var(--color-outline);
        }

.wo-txn-table[b-sp0uruxwy8] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.wo-txn-table th[b-sp0uruxwy8] {
    position: sticky;
    top: 0;
    z-index: 1;
    text-align: left;
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid var(--color-outline-variant);
    color: var(--color-outline);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--color-surface, #fff);
}

.wo-txn-table td[b-sp0uruxwy8] {
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid var(--color-outline-variant);
}

/* :not() exclusions (rather than a color here) so this default never out-specifies
   .wo-value-positive/.wo-value-negative when FormatColorClass puts one of those directly
   on this same <td> -- the two rules are mutually exclusive by selector, not by cascade order. */
.wo-txn-table td:not(.wo-value-positive):not(.wo-value-negative)[b-sp0uruxwy8] {
    color: #000;
}

.wo-txn-table tbody tr:hover td[b-sp0uruxwy8] {
    background: var(--color-surface-variant, rgba(0, 0, 0, 0.04));
}

/* Fixed layout lets the drag-resized <col> widths (see wotxnColumnResize.js) actually govern
   each column instead of the browser re-flowing them from cell content; long values are hidden
   behind an ellipsis instead of wrapping onto a second line. */
.wo-txn-table--resizable[b-sp0uruxwy8] {
    table-layout: fixed;
}

    .wo-txn-table--resizable th[b-sp0uruxwy8],
    .wo-txn-table--resizable td[b-sp0uruxwy8] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.wo-txn-table .col-resize-handle[b-sp0uruxwy8] {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    cursor: col-resize;
    z-index: 2;
}

    .wo-txn-table .col-resize-handle:hover[b-sp0uruxwy8] {
        background: var(--color-primary);
        opacity: 0.35;
    }
/* /Components/Modals/WOVirtualColumnModal.razor.rz.scp.css */
[b-9umscnge47] #woVirtualColumnModal .modal-dialog {
    position: fixed;
    top: 1.75rem;
    left: calc(50% + 300px);
    margin: 0;
    max-height: calc(100vh - 3.5rem);
}

[b-9umscnge47] #woVirtualColumnModal .modal-body {
    max-height: calc(100vh - 10rem);
    overflow-y: auto;
}

.wo-virtual-editor[b-9umscnge47] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: left;
}

.wo-mapping-default-label[b-9umscnge47] {
    font-size: 0.75rem;
    color: #737686;
}

.wo-virtual-row[b-9umscnge47] {
    display: flex;
    gap: 0.75rem;
}

.wo-virtual-col[b-9umscnge47] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1 1 0;
    min-width: 0;
}

.wo-virtual-label-row[b-9umscnge47] {
    display: flex;
    gap: 0.35rem;
    align-items: stretch;
}

    .wo-virtual-label-row .wo-mapping-input[b-9umscnge47] {
        flex: 1 1 auto;
        min-width: 0;
    }

.wo-virtual-icon-btn[b-9umscnge47] {
    width: 2.1rem;
    min-width: 2.1rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #4f5f7a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .wo-virtual-icon-btn:hover[b-9umscnge47] {
        background: #eef3ff;
        color: #0b3d91;
    }

    .wo-virtual-icon-btn .material-symbols-outlined[b-9umscnge47] {
        font-size: 1.1rem;
    }

.wo-virtual-note[b-9umscnge47] {
    field-sizing: content;
    max-height: 10rem;
    resize: none;
    font-family: inherit;
}

.wo-mapping-input[b-9umscnge47] {
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.wo-virtual-select[b-9umscnge47] {
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
}

.wo-virtual-editor-wrap[b-9umscnge47] {
    border-radius: 0.25rem;
    overflow: hidden;
}

.wo-virtual-editor-toolbar[b-9umscnge47] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.wo-virtual-toolbar-actions[b-9umscnge47] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.wo-virtual-find-btn[b-9umscnge47] {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
    color: #191c1e;
    cursor: pointer;
}

    .wo-virtual-find-btn:hover[b-9umscnge47] {
        background: #eef0f4;
    }

.wo-virtual-findbar[b-9umscnge47] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.35rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #f8f9fb;
}

.wo-virtual-find-input[b-9umscnge47] {
    flex: 1 1 8rem;
    min-width: 6rem;
}

.wo-virtual-find-count[b-9umscnge47] {
    font-size: 0.7rem;
    color: #737686;
    white-space: nowrap;
}

.wo-virtual-find-step[b-9umscnge47],
.wo-virtual-find-action[b-9umscnge47],
.wo-virtual-find-close[b-9umscnge47] {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.25rem;
    background: #fff;
    color: #191c1e;
    cursor: pointer;
    white-space: nowrap;
}

    .wo-virtual-find-step:hover[b-9umscnge47],
    .wo-virtual-find-action:hover[b-9umscnge47],
    .wo-virtual-find-close:hover[b-9umscnge47] {
        background: #eef0f4;
    }

.wo-virtual-hint[b-9umscnge47] {
    font-size: 0.7rem;
    color: #737686;
    line-height: 1.5;
}

    .wo-virtual-hint code[b-9umscnge47] {
        font-family: "Consolas", "Courier New", monospace;
        background: #fff;
        border: 1px solid #d4dadf;
        border-radius: 0.15rem;
        padding: 0 0.2rem;
        color: #0b3d91;
    }

.wo-language-picker[b-9umscnge47] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.wo-language-filter[b-9umscnge47] {
    display: flex;
    gap: 0.5rem;
}

    .wo-language-filter .wo-mapping-input[b-9umscnge47] {
        flex: 1 1 auto;
        min-width: 0;
    }

.wo-language-list[b-9umscnge47] {
    border: 1px solid #d4dadf;
    border-radius: 0.25rem;
    max-height: 55vh;
    overflow: auto;
}

.wo-language-table[b-9umscnge47] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

    .wo-language-table th[b-9umscnge47] {
        position: sticky;
        top: 0;
        background: #f8f9fb;
        border-bottom: 1px solid #d4dadf;
        padding: 0.5rem 0.65rem;
        text-align: left;
        white-space: nowrap;
    }

    .wo-language-table td[b-9umscnge47] {
        border-bottom: 1px solid #edf0f5;
        padding: 0.5rem 0.65rem;
        vertical-align: top;
        min-width: 8rem;
    }

    .wo-language-table tbody tr:hover[b-9umscnge47] {
        background: #f9fbfc;
    }

.wo-language-key[b-9umscnge47] {
    font-weight: 600;
    color: #0b3d91;
    overflow-wrap: anywhere;
    cursor: pointer;
    min-width: 10rem;
}

    .wo-language-key:hover[b-9umscnge47] {
        text-decoration: underline;
    }

.wo-language-empty[b-9umscnge47] {
    padding: 1rem;
    color: #737686;
    text-align: center;
}
/* /Components/ObjectComponent/DropDownData/SearchableSelectInput.razor.rz.scp.css */
/* Matches the legacy .inputCustum / .dropdownSelectNS language (see
   .claude/docs/component-rule/{inputs-and-forms,dropdowns-and-selects}.md) instead of the newer
   --ia-* token system, since this component is meant to sit next to other .inputCustum fields in
   legacy-styled forms/modals and should look like one of them, not a visually different system. */

.ssi-root[b-7y27zpou1a] {
    position: relative;
    width: 100%;
}

.ssi-input-wrap[b-7y27zpou1a] {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #bfbfbf;
    border-radius: 10px;
    height: 36px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.ssi-input-wrap:hover[b-7y27zpou1a] {
    border-color: #4da6ff;
}

.ssi-input-wrap:focus-within[b-7y27zpou1a] {
    border: 2px solid #0080ff;
}

.ssi-input-wrap--disabled[b-7y27zpou1a] {
    background: #f5f5f5;
    opacity: 0.7;
}

.ssi-icon[b-7y27zpou1a] {
    font-size: 18px;
    color: #919396;
    padding-left: 0.75rem;
    pointer-events: none;
}

.ssi-input[b-7y27zpou1a] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 0.5rem;
    height: 100%;
    color: #424242;
    font-size: 1rem;
}

.ssi-input[b-7y27zpou1a]::placeholder {
    color: #a8a8a8;
}

.ssi-input:disabled[b-7y27zpou1a] {
    cursor: not-allowed;
    color: #c0c0c0;
}

.ssi-clear[b-7y27zpou1a] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 6px;
    border: none;
    background: none;
    border-radius: 50%;
    color: #919396;
    cursor: pointer;
}

.ssi-clear:hover[b-7y27zpou1a] {
    background-color: rgba(128, 128, 128, 0.2);
    color: #424242;
}

.ssi-clear .material-symbols-outlined[b-7y27zpou1a] {
    font-size: 16px;
}

.ssi-panel[b-7y27zpou1a] {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    z-index: 50;
    max-height: 220px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #bfbfbf;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 4px 0;
}

.ssi-option[b-7y27zpou1a] {
    padding: 6px 12px;
    cursor: pointer;
    color: #2c4a65;
    font-size: 0.9rem;
}

.ssi-option:hover[b-7y27zpou1a] {
    background-color: rgb(128, 128, 128, 0.4);
}

.ssi-option--selected[b-7y27zpou1a] {
    background-color: #d0e1fb;
    color: #00327d;
    font-weight: 600;
}

.ssi-empty[b-7y27zpou1a] {
    padding: 10px;
    color: #999;
    font-size: 0.85rem;
    text-align: center;
}

.ssi-spinner[b-7y27zpou1a] {
    font-size: 18px;
    animation: ssi-spin-b-7y27zpou1a 1s linear infinite;
}

@keyframes ssi-spin-b-7y27zpou1a {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/* /Components/ObjectComponent/MappingObjectDrag/DragDisplay3Column.razor.rz.scp.css */
/* DragDisplay3Column Component - Machine Node Design */

/* Material Symbols Icon Font */
.material-symbols-outlined[b-ypzfx9ckc2] {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-flex;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}

/* ==================== MACHINE NODE COMPONENT ==================== */

/* Machine Node Wrapper - Fills parent container */
.machine-node-wrapper[b-ypzfx9ckc2] {
    width: 100%;
    height: 100%;
    background-color: #131b2e;
    border: 1px solid #3d494c;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
    cursor: grab;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

.machine-node-wrapper:hover[b-ypzfx9ckc2] {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}

.square-object:active .machine-node-wrapper[b-ypzfx9ckc2] {
    cursor: grabbing;
}

.square-object.dragging .machine-node-wrapper[b-ypzfx9ckc2] {
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.35);
}

/* Status Color Bar */
.machine-node-status-bar[b-ypzfx9ckc2] {
    width: 100%;
    height: 4px;
    display: block;
    flex-shrink: 0;
}

/* Node Content Container */
.machine-node-content[b-ypzfx9ckc2] {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

/* Node Header Section */
.machine-node-header[b-ypzfx9ckc2] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

/* Title Section */
.machine-node-title-section[b-ypzfx9ckc2] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* Node Type Label */
.machine-node-type[b-ypzfx9ckc2] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Node Title */
.machine-node-title[b-ypzfx9ckc2] {
    font-size: 16px;
    font-weight: 600;
    color: #dae2fd;
    margin: 0;
    line-height: 1.2;
    font-family: 'Manrope', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Status Icon */
.machine-node-icon[b-ypzfx9ckc2] {
    font-size: 20px;
    font-variation-settings: 'FILL' 1;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

/* Metrics Grid Container */
.machine-node-metrics-grid[b-ypzfx9ckc2] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
    border-top: 1px solid rgba(61, 73, 76, 0.3);
    padding-top: 0.5rem;
    flex: 1;
    min-height: 0;
}

/* Metric Cell */
.machine-node-metric-cell[b-ypzfx9ckc2] {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Middle Metric Cell - Add borders */
.machine-node-metric-cell-middle[b-ypzfx9ckc2] {
    border-left: 1px solid rgba(61, 73, 76, 0.3);
    border-right: 1px solid rgba(61, 73, 76, 0.3);
}

/* Metric Label */
.machine-node-metric-label[b-ypzfx9ckc2] {
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

/* Metric Value */
.machine-node-metric-value[b-ypzfx9ckc2] {
    font-size: 13px;
    font-weight: 500;
    color: #dae2fd;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
}



/* ==================== OLD GLASS CARD STYLES (DEPRECATED) ==================== */


/* Metrics Grid Section */
.metrics-grid[b-ypzfx9ckc2] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

/* Metric Column */
.metric-column[b-ypzfx9ckc2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
    border-right: 1px solid var(--glass-border);
    gap: 0.25rem;
}

.metric-column:last-child[b-ypzfx9ckc2] {
    border-right: none;
}

/* Metric Label */
.metric-label[b-ypzfx9ckc2] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: var(--color-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* Metric Value */
.metric-value[b-ypzfx9ckc2] {
    font-family: 'Courier New', 'Courier', monospace;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    letter-spacing: -0.02em;
}

/* Metric Unit */
.metric-unit[b-ypzfx9ckc2] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 9px;
    font-weight: 500;
    color: var(--color-slate-500);
    text-transform: capitalize;
    opacity: 0.8;
}

/* Hover Effects - Disabled for drag functionality */
.glass-card-container[b-ypzfx9ckc2] {
    transition: none;
}

.glass-card-container:hover[b-ypzfx9ckc2] {
    background: var(--glass-bg);
    border-color: transparent;
    box-shadow: none;
}
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);[b-ypzfx9ckc2]
}

/* Metric Column */
.metric-column[b-ypzfx9ckc2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
    border-right: 1px solid var(--glass-border);
    gap: 0.25rem;
}

.metric-column:last-child[b-ypzfx9ckc2] {
    border-right: none;
}

/* Metric Label */
.metric-label[b-ypzfx9ckc2] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: var(--color-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* Metric Value */
.metric-value[b-ypzfx9ckc2] {
    font-family: 'Courier New', 'Courier', monospace;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    letter-spacing: -0.02em;
}

/* Metric Unit */
.metric-unit[b-ypzfx9ckc2] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 9px;
    font-weight: 500;
    color: var(--color-slate-500);
    text-transform: capitalize;
    opacity: 0.8;
}

/* Hover Effects - Disabled for drag functionality */
.glass-card-container[b-ypzfx9ckc2] {
    transition: none;
}

.glass-card-container:hover[b-ypzfx9ckc2] {
    background: var(--glass-bg);
    border-color: transparent;
    box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .glass-card-container[b-ypzfx9ckc2] {
        padding: var(--space-sm);
        gap: var(--space-sm);
    }
    
    .card-title[b-ypzfx9ckc2] {
        font-size: 12px;
    }
    
    .metric-value[b-ypzfx9ckc2] {
        font-size: 18px;
    }
    
    .metric-label[b-ypzfx9ckc2] {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .glass-card-container[b-ypzfx9ckc2] {
        max-width: 100%;
        padding: 0.75rem;
    }
    
    .card-title[b-ypzfx9ckc2] {
        font-size: 11px;
    }
    
    .metric-value[b-ypzfx9ckc2] {
        font-size: 16px;
    }
}
    }
    
    .drag-display-title[b-ypzfx9ckc2] {
        font-size: 8px;
    }
    
    .drag-display-metric-label[b-ypzfx9ckc2] {
        font-size: 7px;
    }
    
    .drag-display-metric-value[b-ypzfx9ckc2] {
        font-size: 12px;
    }
    
    .drag-display-metric-unit[b-ypzfx9ckc2] {
        font-size: 7px;
    }
}
/* /Components/ObjectComponent/MappingObjectDrag/MappingObjectDragging.razor.rz.scp.css */
.square-object[b-f1elpibhru] {
    position: absolute;
    width: 300px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    color: inherit;
    font-weight: bold;
    font-size: 14px;
    border-radius: 0.5rem;
    cursor: grab;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    user-select: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    will-change: left, top;
    border-width: 2px;
    border-style: solid;
    z-index: 100;
    overflow: hidden;
    padding: 0;
}

.square-object:hover[b-f1elpibhru] {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    cursor: grab;
}

.square-object:active[b-f1elpibhru] {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    cursor: grabbing;
}

.square-object.dragging[b-f1elpibhru] {
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.6);
    z-index: 2000;
    cursor: grabbing;
    will-change: left, top;
    filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.3));
    transition: none !important;
}
/* /Components/ObjectComponent/SAPUI/DropDownData/SAPButtonDropDownList.razor.rz.scp.css */
/* Styles for SAPButtonDropDownList */
.sap_dropdown-container[b-114p0pap9k]{position:relative;display:inline-block}
.sap_btn-icon[b-114p0pap9k]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;color:#0d6efd;transition:all .15s}
.sap_btn-icon:hover:not(:disabled)[b-114p0pap9k]{background:#e9ecef}
.sap_btn-icon:disabled[b-114p0pap9k]{opacity:.5;cursor:not-allowed}
.sap_btn-icon img[b-114p0pap9k]{vertical-align:middle;margin-left:8px}

.sap_dropdown-menu[b-114p0pap9k]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-114p0pap9k]{display:block}
.sap_dropdown-item[b-114p0pap9k]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0;transition:background-color .12s}
.sap_dropdown-item:last-child[b-114p0pap9k]{border-bottom:none}
.sap_dropdown-item:hover[b-114p0pap9k]{background:#f5f5f5}
/* /Components/ObjectComponent/SAPUI/DropDownData/SAPDropDownList.razor.rz.scp.css */
/* Styles for SAPDropDownList component */
.dropdown.sap_dropdown[b-8dvlwq23p6]{display:inline-block}
.sap_dropdown-control[b-8dvlwq23p6]{width:100%;display:flex;align-items:center;justify-content:space-between;padding:6px 8px;background:#fff;border:1px solid #d4dadf;border-radius:3px}
.sap_dropdown-menu[b-8dvlwq23p6]{min-width:160px;background:#fff;border:1px solid #e0e0e0;border-radius:4px}
.sap_dropdown-item[b-8dvlwq23p6]{padding:8px 12px}
.sap_dropdown-item:hover[b-8dvlwq23p6]{background:#f5f5f5}
/* /Components/ObjectComponent/SAPUI/FilterData/SearchBarSAP.razor.rz.scp.css */
.sap-coa-header[b-nwjulvrxsv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #fff !important;
}

.sap-coa-title[b-nwjulvrxsv] {
    font-size: 1.5625rem;
    font-weight: 600;
    margin: 0;
    color: #0064d9;
}
.sap-toggle-btn[b-nwjulvrxsv] {
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 7px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 0;
    cursor: pointer;
}
/*
.sap-toggle-btn {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #c0c0c0;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
    z-index: 10;
}
    */
/* /Components/ObjectComponent/SAPUI/HeaderDipslayClassSAP.razor.rz.scp.css */
/* Styles for HeaderDipslayClassSAP component */
.sap_label[b-btyirp5fuy]{display:grid;grid-template-columns:220px var(--sap-input-width, 1fr);align-items:center;gap:12px}
.sap_input_group[b-btyirp5fuy]{position:relative;display:flex;align-items:center}
.sap_input[b-btyirp5fuy]{width:100%;height:1.625rem;padding:6px 8px;font-size:12px;border-radius:3px;border:1px solid #d4dadf;background:#fff}
.sap_input_btn[b-btyirp5fuy]{position:absolute;right:0;top:0;border:none;background:none;padding:0 6px;height:100%;display:flex;align-items:center}
.sap_required[b-btyirp5fuy]{color:#c1292e;margin-left:4px}

/* small helper for readonly inputs */
.sap_input[readonly][b-btyirp5fuy]{background:#f5f7fb;border-color:#dde2eb;color:#333}

/* shared helpers */
.sap_dropdown-container[b-btyirp5fuy]{position:relative}
.sap_btn-action[b-btyirp5fuy]{padding:6px 12px;background:none;border:none;border-radius:4px;color:#0d6efd}
/* /Components/ObjectComponent/SAPUI/HeaderDipslaySAP.razor.rz.scp.css */
/* Styles for HeaderDipslaySAP component */
.sap_label[b-42avntplvq]{display:grid;grid-template-columns:var(--sap-input-width, 1fr);align-items:center;gap:12px}
.sap_label:has(> span)[b-42avntplvq]{grid-template-columns:220px var(--sap-input-width, 1fr)}
.sap_input_group[b-42avntplvq]{position:relative;display:flex;align-items:center}
.sap_input[b-42avntplvq]{width:100%;height:1.625rem;padding:6px 8px;font-size:12px;border-radius:3px;border:1px solid #d4dadf;background:#fff}
.sap_input_btn[b-42avntplvq]{position:absolute;right:0;top:0;border:none;background:none;padding:0 6px;height:100%;display:flex;align-items:center}
.sap_required[b-42avntplvq]{color:#c1292e;margin-left:4px}
.sap_input[readonly][b-42avntplvq]{background:#f5f7fb;border-color:#dde2eb;color:#333}

/* helper for label with action */
.sap_label .sap_label-action[b-42avntplvq]{display:flex;gap:8px;align-items:center}
/* /Components/ObjectComponent/SAPUI/InteractDragDrop/EditModeSAPObject.razor.rz.scp.css */
/* .edit-mode-* classes moved to the global wwwroot/css/sap/sapui_custom.css - SubHeaderInputSAP
   now renders this same markup directly (no SAPObjectData-typed component to reuse there), and
   Blazor's per-component CSS isolation meant a scoped copy here never applied to that markup. */

/* /Components/ObjectComponent/SAPUI/LineData/CheckboxDropdownSelectSAP.razor.rz.scp.css */
.chk-dd-wrapper[b-gwowgeww0u] {
    position: relative;
    display: inline-block;
    width: 100%;
}

.chk-dd-trigger[b-gwowgeww0u] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
    width: 100%;
    text-align: left;
    cursor: pointer;
    background: #fff;
}

.chk-dd-summary[b-gwowgeww0u] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.chk-dd-caret[b-gwowgeww0u] {
    font-size: 1.125rem;
    color: #556b81;
    flex-shrink: 0;
}

.chk-dd-panel[b-gwowgeww0u] {
    min-width: 12rem;
    max-height: 16rem;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #babbbb;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 0.25rem 0;
}

.chk-dd-row[b-gwowgeww0u] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    cursor: pointer;
    white-space: nowrap;
    margin: 0;
}

.chk-dd-row:hover[b-gwowgeww0u] {
    background: #f0f4f8;
}

.chk-dd-empty[b-gwowgeww0u] {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    color: #888;
    font-style: italic;
}
/* /Components/ObjectComponent/SAPUI/LineData/DatetimeInputSAP.razor.rz.scp.css */
.sap_date_wrapper[b-n8fuyis4xy] {
    position: relative;
    display: inline-block;
    width: 100%;
}

.sap_date_wrapper .sap_input[b-n8fuyis4xy] {
    width: 100%;
}

.sap_date_icon[b-n8fuyis4xy] {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #6b7785;
    pointer-events: none;
}

/* Invisible except for its own calendar-picker icon (which sap_date_icon above visually
   replaces) - sized to just the icon area so clicking there opens the native date picker while
   the rest of the field is the plain text input. */
.sap_date_native[b-n8fuyis4xy] {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 20px;
    opacity: 0;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}
/* /Components/ObjectComponent/SAPUI/LineData/NumberInputSAP.razor.rz.scp.css */
/* Local styles for NumberInputSAP component */
/* Copied from global sapui_custom.css .sap_input block and scoped to this component */
.sap_input[b-6rn9z6fhm5] {
    width: 100%;
    height: 1.625rem;
    padding: 6px 8px;
    font-size: 12px;
    border-radius: 3px;
    border: 1px solid #d4dadf;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 1px 0 0 #556b81;
    transition: border-color 120ms ease-out, box-shadow 120ms ease-out, background-color 120ms ease-out;
}

.sap_input:hover:not(:disabled)[b-6rn9z6fhm5] {
    border-color: #91C0FF;
    box-shadow: 0 1px 0 0 #2882ec;
}

.sap_input:focus[b-6rn9z6fhm5] {
    border-color: #0068ff;
    box-shadow: 0 0 0 1px rgba(0, 104, 255, 0.9);
}

.sap_input:disabled[b-6rn9z6fhm5] {
    background-color: #f5f7fb;
    border-color: #dde2eb;
    color: #999;
    box-shadow: none;
}

/* Number input adjustments: hide native spinner buttons for consistent look */
input[type=number].sap_input[b-6rn9z6fhm5]::-webkit-outer-spin-button,
input[type=number].sap_input[b-6rn9z6fhm5]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number].sap_input[b-6rn9z6fhm5] {
    -moz-appearance: textfield; /* Firefox */
}
/* /Components/ObjectComponent/SAPUI/LineData/NumberInputWithCurrencySAP.razor.rz.scp.css */
/* Component-scoped styles for NumberInputWithCurrencySAP */
/* Uses the same .sap_input class as other SAP inputs to keep consistent styling */
.sap_input[b-lb86o3dzdb] {
    width: 100%;
    height: 1.625rem;
    padding: 6px 8px;
    font-size: 12px;
    border-radius: 3px;
    border: 1px solid #d4dadf;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 1px 0 0 #556b81;
    transition: border-color 120ms ease-out, box-shadow 120ms ease-out, background-color 120ms ease-out;
}

.sap_input:hover:not(:disabled)[b-lb86o3dzdb] {
    border-color: #91C0FF;
    box-shadow: 0 1px 0 0 #2882ec;
}

.sap_input:focus[b-lb86o3dzdb] {
    border-color: #0068ff;
    box-shadow: 0 0 0 1px rgba(0, 104, 255, 0.9);
}

.sap_input:disabled[b-lb86o3dzdb] {
    background-color: #f5f7fb;
    border-color: #dde2eb;
    color: #999;
    box-shadow: none;
}

/* Ensure text input shows caret and selection consistently */
input.sap_input[b-lb86o3dzdb]::placeholder {
    color: #b8c2cc;
}
/* /Components/ObjectComponent/SAPUI/LineData/NumberWithUnitSAP.razor.rz.scp.css */
/* Widen the small dropdown trigger (right button) */
.sap_inline-group button.sap_dropdown-control.dropdown-toggle[b-rp8n0sgb7m] {
    min-width: 44px !important;
    width: 44px !important;
    padding: 0.15rem 0.45rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Widen the dropdown menu */
.sap_inline-group .dropdown-menu[b-rp8n0sgb7m] {
    min-width: 9rem !important; /* adjust to taste (e.g. 9rem = 144px) */
    max-width: 20rem;
    white-space: normal;
}

/* Ensure items don't wrap/cut unexpectedly */
.sap_inline-group .dropdown-item[b-rp8n0sgb7m] {
    white-space: nowrap;
    padding: 0.25rem 0.5rem;
}

/* Fallback: if Bootstrap renders the menu outside the component, apply global rules */
:global(.dropdown-menu)[b-rp8n0sgb7m] {
    min-width: 9rem !important;
}

:global(.sap_dropdown-control.dropdown-toggle)[b-rp8n0sgb7m] {
    min-width: 44px !important;
    width: 44px !important;
}
/* /Components/ObjectComponent/SAPUI/LineData/TextboxLineDataNoSourceSAP.razor.rz.scp.css */
/* Styles for TextboxLineDataNoSourceSAP */
.textbox-linesimple[b-41fzi5edyn]{display:block}
.textbox-linesimple .sap_input[b-41fzi5edyn]{width:100%}
/* /Components/ObjectComponent/SAPUI/LineData/TextboxLineDataSAP.razor.rz.scp.css */
/* Styles for TextboxLineDataSAP */
.textbox-line[b-2euigdjh27]{display:flex;align-items:center}
.textbox-line .sap_input[b-2euigdjh27]{flex:1}
.sap_input_btn[b-2euigdjh27]{position:absolute;right:0;top:0;border:none;background:none;height:100%;padding:0 6px}
.sap_input_group[b-2euigdjh27]{position:relative}
/* /Components/ObjectComponent/SAPUI/ReportData/JE_GLAccount.razor.rz.scp.css */
.tbe-scroll[b-rp40fhcq5y] {
    max-height: 70vh;
    overflow: auto;
    text-align: left;
}

.tbe-empty[b-rp40fhcq5y] {
    padding: 24px;
    color: #666;
    font-size: 0.875rem;
}

.tbe-table[b-rp40fhcq5y] {
    border-collapse: collapse;
    font-size: 0.8125rem;
}

    .tbe-table th[b-rp40fhcq5y],
    .tbe-table td[b-rp40fhcq5y] {
        padding: 4px 8px;
        border: 1px solid #e0e0e0;
        white-space: nowrap;
    }

    .tbe-table thead th[b-rp40fhcq5y] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #e8e8e8;
        text-align: left;
    }

    .tbe-table .tbe-num[b-rp40fhcq5y] {
        text-align: right;
        font-variant-numeric: tabular-nums;
    }

    .tbe-table .tbe-group td[b-rp40fhcq5y] {
        background: #f5f6f7;
        color: #0a3d91;
        font-weight: 600;
    }

    .tbe-table .tbe-group-name[b-rp40fhcq5y] {
        color: #212529;
        font-weight: normal;
    }

.tbe-more[b-rp40fhcq5y] {
    padding: 8px;
    text-align: center;
    color: #666;
    font-size: 0.8125rem;
}

.tbe-close[b-rp40fhcq5y] {
    height: 1.875rem;
    padding: 0 16px;
    background: #fff;
    border: 1px solid #0064d9;
    border-radius: 4px;
    color: #0064d9;
    cursor: pointer;
}

.tbe-search[b-rp40fhcq5y] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin: 0 0 8px;
    /* same right edge as the table: the scrollbar of .tbe-scroll takes this much */
    padding-right: 17px;
}

    .tbe-search input[b-rp40fhcq5y] {
        box-sizing: border-box;
        width: 14rem;
        height: 1.875rem;
        margin: 0;
        padding: 0 8px;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        color: #6a6d70 !important;
        font-size: 0.8125rem;
    }

        .tbe-search input[b-rp40fhcq5y]::placeholder {
            color: #6a6d70 !important;
            opacity: 1 !important;
        }

        .tbe-search input[b-rp40fhcq5y]::-webkit-input-placeholder {
            color: #6a6d70 !important;
            opacity: 1 !important;
        }

    .tbe-search button[b-rp40fhcq5y] {
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 1.875rem;
        height: 1.875rem;
        margin: 0;
        padding: 0;
        background: #fff;
        border: 1px solid #0064d9;
        border-radius: 4px;
        color: #0064d9;
        line-height: 1;
        cursor: pointer;
    }
/* /Components/ObjectComponent/SAPUI/ReportData/ReportTitlesModal.razor.rz.scp.css */
.vsap-btn[b-x75iue201h] {
    min-width: 2rem;
    padding: 0 0.5rem;
}

/* The printed form (same look as the report pages' gj-* block, repeated because isolated CSS can't be shared). */
.gj-report[b-x75iue201h] {
    padding: 12px 16px 24px;
    color: #000;
    font-size: 14px;
}

.gj-head[b-x75iue201h] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.gj-company > div[b-x75iue201h] {
    margin-bottom: 6px;
}

.gj-form[b-x75iue201h] {
    flex: 0 0 18rem;
    text-align: center;
}

.gj-form__note[b-x75iue201h] {
    margin-top: 4px;
    padding: 4px 6px;
    border: 1px solid #1a6b3c;
    font-size: 0.75rem;
}

.gj-title[b-x75iue201h] {
    margin-top: 4px;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: #e00000;
}

.gj-period[b-x75iue201h] {
    margin: 4px 0 12px;
    text-align: center;
    font-weight: 600;
}

.gj-period--split[b-x75iue201h] {
    display: flex;
    justify-content: space-between;
    max-width: 60rem;
    font-weight: 400;
}

.gj-table[b-x75iue201h] {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #000;
}

    .gj-table th[b-x75iue201h],
    .gj-table td[b-x75iue201h] {
        padding: 4px 6px;
        border: 1px solid #000;
    }

    .gj-table thead th[b-x75iue201h] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #fff;
        text-align: center;
        font-weight: 700;
        white-space: nowrap;
    }

    .gj-table .gj-c[b-x75iue201h] {
        text-align: center;
        white-space: nowrap;
    }

    .gj-table .gj-t[b-x75iue201h] {
        text-align: left;
    }

    .gj-table .gj-n[b-x75iue201h] {
        text-align: right;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

/* Report titles modal: the printed form as a sheet, with every editable text as an input in place. */
.vsap-title-body[b-x75iue201h] {
    max-height: 70vh;
    overflow: auto;
    padding: 0 16px 16px;
    background: #f4f5f7;
}

/* Formatting toolbar of the titles modal: stays at the top while the sheet scrolls. */
.vsap-fmt[b-x75iue201h] {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 -16px;
    padding: 8px 16px;
    background: #fff;
    border-bottom: 1px solid #c3c6d7;
}

.vsap-fmt__target[b-x75iue201h] {
    margin-left: auto;
    font-size: 0.75rem;
    color: #666;
}

.vsap-fmt__btn[b-x75iue201h],
.vsap-fmt__clear[b-x75iue201h],
.vsap-fmt__size[b-x75iue201h] {
    height: 1.75rem;
    min-width: 1.75rem;
    padding: 0 8px;
    background: #fff;
    border: 1px solid #c3c6d7;
    border-radius: 4px;
    color: #1d2d3e;
    font-size: 0.8125rem;
    cursor: pointer;
}

    .vsap-fmt__btn:hover:not(:disabled)[b-x75iue201h],
    .vsap-fmt__clear:hover:not(:disabled)[b-x75iue201h] {
        background: #eaf2fd;
    }

    .vsap-fmt__btn.is-on[b-x75iue201h] {
        background: #dbe7fb;
        border-color: #004ac6;
        color: #004ac6;
    }

    .vsap-fmt__btn:disabled[b-x75iue201h],
    .vsap-fmt__clear:disabled[b-x75iue201h],
    .vsap-fmt__size:disabled[b-x75iue201h] {
        opacity: 0.45;
        cursor: not-allowed;
    }

.vsap-fmt__color[b-x75iue201h] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    margin: 0;
    cursor: pointer;
    font-size: 0.8125rem;
}

    .vsap-fmt__color input[b-x75iue201h] {
        width: 1.75rem;
        height: 0.75rem;
        padding: 0;
        border: 1px solid #c3c6d7;
        cursor: pointer;
    }

.vsap-fmt__a[b-x75iue201h] {
    font-weight: 700;
    line-height: 1;
}

.vsap-fmt__bg[b-x75iue201h] {
    width: 0.9rem;
    height: 0.9rem;
    border: 1px solid #666;
    background: linear-gradient(135deg, #fff 45%, #ffe066 45%);
}

.vsap-cols-bar[b-x75iue201h] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 6px;
}

.vsap-title-note[b-x75iue201h] {
    padding: 10px 2px;
    font-size: 0.8125rem;
    color: #666;
}

.vsap-title-hint[b-x75iue201h] {
    margin: -8px 0 12px;
    text-align: center;
    font-size: 0.75rem;
    color: #666;
}

.vsap-sheet[b-x75iue201h] {
    background: #fff;
    border: 1px solid #c3c6d7;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .10);
}

.vsap-edit[b-x75iue201h] {
    min-width: 0;
    padding: 1px 6px;
    font: inherit;
    color: inherit;
    background: transparent;
    border: 1px dashed #b7bfd6;
    border-radius: 4px;
}

    .vsap-edit:hover[b-x75iue201h] {
        background: #f2f7ff;
        border-color: #004ac6;
    }

    .vsap-edit:focus-visible[b-x75iue201h] {
        outline: 2px solid #004ac6;
        background: #fff;
    }

.vsap-edit--label[b-x75iue201h] {
    width: 9rem;
}

.vsap-edit--center[b-x75iue201h] {
    width: 100%;
    text-align: center;
}

.vsap-edit--wide[b-x75iue201h] {
    width: 100%;
}

.gj-sign .vsap-edit--center[b-x75iue201h] {
    display: block;
    width: 14rem;
    margin: 0 auto 4px;
}

.vsap-edit--bold[b-x75iue201h] {
    font-weight: 700;
}

.vsap-edit--title[b-x75iue201h] {
    font-size: 1.125rem;
    font-weight: 700;
    color: #e00000;
}

.vsap-edit--note[b-x75iue201h] {
    margin-top: 4px;
    font-size: 0.75rem;
    resize: vertical;
}

/* General Ledger: the opening / period / closing summary sits above the Nợ / Có columns, right-aligned. */
.gj-sum[b-x75iue201h] {
    width: auto;
    margin: 12px 0 12px auto;
}

    .gj-sum td:first-child[b-x75iue201h] {
        min-width: 11rem;
    }

.gj-table .gj-index th[b-x75iue201h] {
    font-weight: 600;
}

.gj-table tfoot td[b-x75iue201h] {
    font-weight: 700;
}

/* Trial Balance: heavier grid and a grey total row, as in the printed form. */
.gj-tb th[b-x75iue201h],
.gj-tb td[b-x75iue201h] {
    border-width: 2px;
}

.gj-tb tfoot td[b-x75iue201h] {
    background: #e6e6e6;
}

/* Balance Sheet / Profit and Loss: a narrower statement table with a bold, centred header and index row. */
.gj-fin[b-x75iue201h] {
    width: 60rem;
    max-width: 100%;
}

    .gj-fin .gj-index th[b-x75iue201h] {
        font-weight: 700;
    }

.gj-sign[b-x75iue201h] {
    display: flex;
    justify-content: space-around;
    width: 60rem;
    max-width: 100%;
    margin: 24px 0 64px;
    text-align: center;
}

.gj-notes[b-x75iue201h] {
    max-width: 36rem;
    font-size: 0.8125rem;
}

    .gj-notes > div[b-x75iue201h] {
        margin-bottom: 6px;
    }

/* Only the title row of the main table sticks; the "(1) (2) ..." row and the summary header scroll normally. */
.gj-table .gj-index th[b-x75iue201h],
.gj-sum thead th[b-x75iue201h] {
    position: static;
}
/* /Components/ObjectComponent/SAPUI/ReportData/SAPAccountPicker.razor.rz.scp.css */
.acct-picker[b-m25s82tweu] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
}

.acct-picker__bar[b-m25s82tweu] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-bottom: 1px solid #e0e0e0;
}

.acct-picker__search[b-m25s82tweu] {
    flex: 1;
    min-width: 0;
    height: 1.75rem;
    padding: 0 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.875rem;
}

.acct-picker__btn[b-m25s82tweu] {
    height: 1.75rem;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #0064d9;
    border-radius: 4px;
    color: #0064d9;
    font-size: 0.8125rem;
    cursor: pointer;
}

    .acct-picker__btn:hover[b-m25s82tweu] {
        background: #eaf2fd;
    }

.acct-picker__count[b-m25s82tweu] {
    margin-left: auto;
    font-size: 0.8125rem;
    color: #666;
}


.acct-picker__bal[b-m25s82tweu] {
    white-space: nowrap;
    padding: 4px 6px;
    color: #000;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    font-size: 13px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.acct-picker__drill[b-m25s82tweu] {
    margin-right: 4px;
    padding: 0 2px;
    background: none;
    border: 0;
    color: #e9730c;
    font-weight: 700;
    cursor: pointer;
}

    .acct-picker__drill:hover[b-m25s82tweu] {
        color: #0064d9;
    }

.acct-picker__bal--parent[b-m25s82tweu] {
    font-weight: 700;
}
/* /Components/ObjectComponent/SAPUI/ReportData/SAPBusinessPartnerPicker.razor.rz.scp.css */
.bp-picker[b-hxbe7atlu5] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 26rem;
    background: #fff;
}

.bp-picker__bar[b-hxbe7atlu5] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-bottom: 1px solid #e0e0e0;
}

.bp-picker__search[b-hxbe7atlu5] {
    flex: 1;
    min-width: 0;
    height: 1.75rem;
    padding: 0 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.875rem;
}

.bp-picker__btn[b-hxbe7atlu5] {
    height: 1.75rem;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #0064d9;
    border-radius: 4px;
    color: #0064d9;
    font-size: 0.8125rem;
    cursor: pointer;
}

    .bp-picker__btn:hover[b-hxbe7atlu5] {
        background: #eaf2fd;
    }

.bp-picker__count[b-hxbe7atlu5] {
    margin-left: auto;
    font-size: 0.8125rem;
    color: #666;
}

.bp-picker__list[b-hxbe7atlu5] {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.bp-picker__item[b-hxbe7atlu5] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    margin: 0;
    padding: 0 12px;
    font-size: 0.875rem;
    white-space: nowrap;
    cursor: pointer;
}

    .bp-picker__item:hover[b-hxbe7atlu5] {
        background: #f5f6f7;
    }
/* /Components/ObjectComponent/SAPUI/ReportData/SAPControlAccountFilter.razor.rz.scp.css */
.caf-use[b-zdx9yedl19] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    font-size: 0.875rem;
    color: #191c1e;
    cursor: pointer;
}

.caf-btn[b-zdx9yedl19] {
    height: 1.875rem;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #c3c6d7;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #191c1e;
    cursor: pointer;
}

    .caf-btn:hover[b-zdx9yedl19] {
        background: #eef1ff;
    }

.caf-btn--active[b-zdx9yedl19] {
    border-color: #004ac6;
    color: #004ac6;
}

.caf-body[b-zdx9yedl19] {
    padding: 8px 4px;
    min-width: 0;
    text-align: left;
}

.caf-bar[b-zdx9yedl19] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.caf-search[b-zdx9yedl19] {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
    width: 100%;
    height: 1.75rem;
    padding: 0 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.875rem;
}

.caf-list[b-zdx9yedl19] {
    box-sizing: border-box;
    max-width: 100%;
    max-height: 18rem;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 4px 8px;
}

.caf-item[b-zdx9yedl19] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 4px 0;
    font-size: 0.875rem;
    cursor: pointer;
}

.caf-text[b-zdx9yedl19] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: left;
}

.caf-empty[b-zdx9yedl19] {
    padding: 8px 0;
    color: #888;
    font-size: 0.875rem;
}

.caf-hint[b-zdx9yedl19] {
    margin-top: 6px;
    color: #888;
    font-size: 0.75rem;
}

.caf-action[b-zdx9yedl19] {
    height: 1.875rem;
    padding: 0 16px;
    background: #fff;
    border: 1px solid #c3c6d7;
    border-radius: 8px;
    font-size: 0.875rem;
    cursor: pointer;
}

.caf-action--primary[b-zdx9yedl19] {
    background: #004ac6;
    border-color: #004ac6;
    color: #fff;
}
/* /Components/ObjectComponent/SAPUI/ReportData/SAPDocNoCell.razor.rz.scp.css */
.docno[b-uswpevsy2m] {
    display: inline-flex;
    align-items: center;
}

.docno-type[b-uswpevsy2m] {
    display: inline-block;
    width: 1.75rem;
    color: #0070f2;
}

    /* The number keeps the normal text colour instead of the popover's blue. */
    .docno[b-uswpevsy2m]  [data-bp-popover-id] > span {
        color: #212529 !important;
        font-weight: normal !important;
    }
/* /Components/ObjectComponent/SAPUI/ReportData/SAPPartnerGroupFilter.razor.rz.scp.css */
.pgf[b-33muedpsv2] {
    position: relative;
}

.pgf-btn[b-33muedpsv2] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 1.75rem;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #c3c6d7;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #191c1e;
    cursor: pointer;
    white-space: nowrap;
}

    .pgf-btn:hover[b-33muedpsv2] {
        background: #eef1ff;
    }

.pgf-btn--active[b-33muedpsv2] {
    border-color: #004ac6;
    color: #004ac6;
}

.pgf-caret[b-33muedpsv2] {
    font-size: 0.75rem;
}

.pgf-backdrop[b-33muedpsv2] {
    position: fixed;
    inset: 0;
    z-index: 20;
}

.pgf-menu[b-33muedpsv2] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 21;
    width: 16rem;
    max-height: 20rem;
    display: flex;
    flex-direction: column;
    margin-top: 2px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.pgf-bar[b-33muedpsv2] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-bottom: 1px solid #e0e0e0;
}

.pgf-link[b-33muedpsv2] {
    padding: 0;
    background: none;
    border: 0;
    font-size: 0.8125rem;
    color: #004ac6;
    cursor: pointer;
}

.pgf-count[b-33muedpsv2] {
    margin-left: auto;
    font-size: 0.75rem;
    color: #666;
}

.pgf-list[b-33muedpsv2] {
    overflow-y: auto;
    padding: 4px 10px;
}

.pgf-section[b-33muedpsv2] {
    margin-top: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
}

.pgf-item[b-33muedpsv2] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 4px 0;
    font-size: 0.875rem;
    cursor: pointer;
}

.pgf-empty[b-33muedpsv2] {
    padding: 8px 0;
    color: #888;
    font-size: 0.875rem;
}
/* /Components/ObjectComponent/SAPUI/ReportData/SAPReportColumnTools.razor.rz.scp.css */
.rpt-tools[b-1u1qxqdmd5] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rpt-tools-search[b-1u1qxqdmd5] {
    display: flex;
    margin: 0;
}

    .rpt-tools-search input[b-1u1qxqdmd5] {
        width: 12rem;
        height: 1.875rem;
        padding: 0 8px;
        border: 1px solid #c3c6d7;
        border-radius: 8px;
        font-size: 0.875rem;
        color: #333;
    }

.rpt-tools-search--server[b-1u1qxqdmd5] {
    gap: 4px;
}

.rpt-tools-search-btn[b-1u1qxqdmd5] {
    height: 1.875rem;
    width: 1.875rem;
    padding: 0;
    background: #fff;
    border: 1px solid #c3c6d7;
    border-radius: 8px;
    color: #004ac6;
    font-size: 0.875rem;
    cursor: pointer;
}

    .rpt-tools-search-btn:hover[b-1u1qxqdmd5] {
        background: #eaf2fd;
    }

.rpt-tools-cols[b-1u1qxqdmd5] {
    height: 1.875rem;
    width: 1.875rem;
    padding: 0;
    background: #fff;
    border: 1px solid #004ac6;
    border-radius: 8px;
    color: #004ac6;
    font-size: 0.875rem;
    cursor: pointer;
}

    .rpt-tools-cols:hover[b-1u1qxqdmd5] {
        background: #eaf2fd;
    }
/* /Components/ObjectComponent/SAPUI/ReportData/SAPReportShell.razor.rz.scp.css */
.rpt-shell[b-7j0ne0uwvl] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 50px);
    box-sizing: border-box;
    padding: 16px;
    background: #f8f9fb;
}

.rpt-toolbar[b-7j0ne0uwvl] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    padding: 12px 16px;
    margin-bottom: 8px;
    position: relative;
    z-index: 10;
    background: #f3f4f6;
    border: 1px solid #c3c6d7;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .10);
}

.rpt-title[b-7j0ne0uwvl] {
    margin: 0 auto 0 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: #191c1e;
    align-self: center;
}

.rpt-toolbar-tools[b-7j0ne0uwvl] {
    display: flex;
    justify-content: flex-end;
    flex: 0 0 calc(100% + 32px);
    margin: 0 -16px -12px;
    padding: 10px 16px;
    background: #fff;
    border-top: 1px solid #c3c6d7;
    border-radius: 0 0 11px 11px;
}

.rpt-field[b-7j0ne0uwvl] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    font-size: 0.75rem;
    color: #666;
}

    .rpt-field input[b-7j0ne0uwvl] {
        height: 1.875rem;
        padding: 0 8px;
        border: 1px solid #c3c6d7;
        border-radius: 8px;
        background: #f3f4f6;
        font-size: 0.875rem;
        color: #191c1e;
    }

.rpt-run[b-7j0ne0uwvl] {
    height: 1.875rem;
    padding: 0 20px;
    background: #004ac6;
    border: 1px solid #004ac6;
    border-radius: 8px;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
}

    .rpt-run:hover[b-7j0ne0uwvl] {
        background: #003da3;
    }

.rpt-body[b-7j0ne0uwvl] {
    display: flex;
    flex: 1;
    gap: 8px;
    min-height: 0;
}

.rpt-left-wrap[b-7j0ne0uwvl] {
    position: relative;
    flex: 0 0 36%;
    min-width: 0;
    display: flex;
    transition: flex-basis 0.3s ease;
}

.rpt-left-wrap--hidden[b-7j0ne0uwvl] {
    flex-basis: 14px;
}

    .rpt-left-wrap--hidden .rpt-left[b-7j0ne0uwvl] {
        cursor: pointer;
    }

    /* Collapsed to a thin white strip: the content stays mounted (ticked codes survive) but is not shown. */
    .rpt-left-wrap--hidden .rpt-left[b-7j0ne0uwvl]  * {
        visibility: hidden;
    }

.rpt-left[b-7j0ne0uwvl] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #c3c6d7;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .10);
}

    /* Content is indented 1.5rem but the divider lines still run to the left edge. */
    .rpt-left[b-7j0ne0uwvl]  .acct-picker__bar,
    .rpt-left[b-7j0ne0uwvl]  .bp-picker__bar,
    .rpt-left[b-7j0ne0uwvl]  .bp-picker__item,
    .rpt-left[b-7j0ne0uwvl]  .sap-tree-table th:first-child,
    .rpt-left[b-7j0ne0uwvl]  .sap-tree-table td:first-child {
        padding-left: calc(12px + 1.5rem);
    }

    /* Fixed inner width so the tree slides out instead of re-wrapping while the panel shrinks. */
    .rpt-left[b-7j0ne0uwvl]  .acct-picker {
        min-width: 26rem;
    }

/* Sits on the middle of the left card's right edge. */
.rpt-toggle[b-7j0ne0uwvl] {
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    z-index: 5;
    width: 24px;
    height: 24px;
    padding: 0;
    background: #fff;
    border: 1px solid #004ac6;
    border-radius: 50%;
    color: #004ac6;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

    .rpt-toggle:hover[b-7j0ne0uwvl] {
        background: #eaf2fd;
    }

.rpt-right[b-7j0ne0uwvl] {
    flex: 1;
    min-width: 0;
    overflow: auto;
    background: #fff;
    border: 1px solid #c3c6d7;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .10);
}

@media (max-width: 900px) {
    .rpt-body[b-7j0ne0uwvl] {
        flex-direction: column;
        overflow: auto;
    }

    .rpt-left-wrap[b-7j0ne0uwvl] {
        flex: 0 0 auto;
        height: 50vh;
        transition: height 0.3s ease;
    }

    .rpt-left-wrap--hidden[b-7j0ne0uwvl] {
        flex-basis: auto;
        height: 14px;
    }

    .rpt-toggle[b-7j0ne0uwvl] {
        top: auto;
        right: 50%;
        bottom: -12px;
        transform: translateX(50%);
    }
}
/* /Components/ObjectComponent/SAPUI/SummaryDisplaySAP.razor.rz.scp.css */
.sap_summary-row[b-besau1kwxo] {
    display: grid;
    grid-template-columns: 1fr 200px 250px;
    align-items: center;
    gap: 0;
}

.sap_summary-label[b-besau1kwxo] {
    font-size: 13px;
    color: #444;
    text-align: left;
    white-space: nowrap;
    grid-column: 2;
}

.sap_summary-value[b-besau1kwxo] {
    font-size: 13px;
    font-weight: 600;
    color: #009966;
    white-space: nowrap;
    text-align: right;
    grid-column: 3;
}
/* /Components/ObjectComponent/SAPUI/TreeViewData/SAPTreeView.razor.rz.scp.css */
.sap-tree-table[b-955j6wqlxs] {
    width: 100%;
    border-collapse: collapse;
}

    .sap-tree-table thead[b-955j6wqlxs] {
        position: sticky;
        top: 0;
        background: #f5f5f5;
        z-index: 1;
    }

    .sap-tree-table th[b-955j6wqlxs] {
        text-align: left;
        padding: 8px 12px;
        font-size: 0.875rem;
        font-weight: 600;
        color: #333;
        border-bottom: 1px solid #e0e0e0;
    }

    .sap-tree-table td[b-955j6wqlxs] {
        padding: 6px 12px;
        font-size: 0.875rem;
        color: #333;
        border-bottom: 1px solid #f0f0f0;
    }

.sap-tree-row:hover[b-955j6wqlxs] {
    background: #f9f9f9;
}

.sap-tree-root[b-955j6wqlxs] {
    font-weight: 600;
}

.sap-tree-toggle[b-955j6wqlxs] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 4px;
    margin-right: 4px;
    font-size: 0.75rem;
    color: #666;
}
/* /Components/Pages/AccountDI/EditAccountDI.razor.rz.scp.css */
/* Custom DI Fields Styling - Match Design Layout */
.custom-di-section[b-ivujso5drk] {
    padding: 20px;
    margin-top: 20px;
}

.itemRenderDIEdit[b-ivujso5drk] {
    width: 100%;
    padding: 16px;
    background-color: #ffffff;
    border-radius: 5px;
    border: 1px solid #bfbfbf;
}

    /* Container for each row of fields */
    .itemRenderDIEdit > .containerDemoDR[b-ivujso5drk] {
        min-width: 100%;
        display: flex;
        gap: 10px;
        margin-bottom: 12px;
    }

    /* Individual field wrapper */
    .itemRenderDIEdit .d-flex.justify-content-between[b-ivujso5drk] {
        flex: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    /* Labels */
    .itemRenderDIEdit .styleTextTT[b-ivujso5drk] {
        font-weight: 500;
        color: #2c3e50;
        min-width: 120px;
        text-align: left;
        white-space: nowrap;
        padding-right: 10px;
    }

    /* Input fields */
    .itemRenderDIEdit input:not([type="checkbox"])[b-ivujso5drk],
    .itemRenderDIEdit select[b-ivujso5drk],
    .itemRenderDIEdit textarea[b-ivujso5drk] {
        border: 1px solid #ced4da;
        border-radius: 4px;
        padding: 8px 12px;
        flex: 1;
        height: 36px;
        font-family: inherit;
    }

    .itemRenderDIEdit textarea[b-ivujso5drk] {
        height: 80px;
        resize: vertical;
    }

    /* Checkbox styling */
    .itemRenderDIEdit input[type="checkbox"][b-ivujso5drk] {
        cursor: pointer;
        accent-color: #376682;
        width: 20px;
        height: 20px;
        margin: 0 8px 0 0;
    }

    /* Date/Time wrapper */
    .itemRenderDIEdit .d-flex.gap-2[b-ivujso5drk] {
        display: flex;
        gap: 12px;
        flex: 1;
    }

        .itemRenderDIEdit .d-flex.gap-2 input[b-ivujso5drk] {
            flex: 1;
        }

    /* Focus states */
    .itemRenderDIEdit input:focus[b-ivujso5drk],
    .itemRenderDIEdit select:focus[b-ivujso5drk],
    .itemRenderDIEdit textarea:focus[b-ivujso5drk] {
        border-color: #376682;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(55, 102, 130, 0.25);
    }

    /* Checkbox group */
    .itemRenderDIEdit .d-flex.gap-3[b-ivujso5drk] {
        display: flex;
        gap: 20px;
        align-items: center;
    }

        .itemRenderDIEdit .d-flex.gap-3 > div[b-ivujso5drk] {
            display: flex;
            align-items: center;
            gap: 8px;
        }

    /* Required asterisk */
    .itemRenderDIEdit .text-danger[b-ivujso5drk] {
        color: #dc3545;
        margin-left: 2px;
    }

/* ========================================
   ✅ Field Group Styles - SIMPLE VERSION
   ======================================== */
.field-group-container[b-ivujso5drk] {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Button collapse */
.btnFieldGroup[b-ivujso5drk] {
    background: none;
    border: none;
}

    .btnFieldGroup:hover[b-ivujso5drk] {
        background-color: #f5f5f5;
    }

    .btnFieldGroup img[b-ivujso5drk] {
        transition: transform 0.3s ease;
    }

    .btnFieldGroup[aria-expanded="false"] img[b-ivujso5drk] {
        transform: rotate(-90deg);
    }

/* Labels */
.field-group-container .styleTextTT[b-ivujso5drk] {
    color: #333;
    font-weight: 500;
}

/* ✅ INPUT - Đơn giản nhất, viền xám nhạt */
.field-group-container input[type="text"][b-ivujso5drk],
.field-group-container input[type="date"][b-ivujso5drk],
.field-group-container input[type="time"][b-ivujso5drk],
.field-group-container input[type="number"][b-ivujso5drk],
.field-group-container input.inputCustum[b-ivujso5drk],
.field-group-container input.inputCustumHD[b-ivujso5drk],
.field-group-container textarea[b-ivujso5drk],
.field-group-container select[b-ivujso5drk] {
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important; /* Xám nhạt giống ảnh */
    border-radius: 4px;
    padding: 8px 12px;
    height: 36px;
    color: #333;
    outline: none !important;
    box-shadow: none !important;
}

/* Textarea */
.field-group-container textarea[b-ivujso5drk] {
    height: 80px;
}

/* Checkbox */
.field-group-container input[type="checkbox"][b-ivujso5drk] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #376682;
}

/* Xóa browser validation border */
.field-group-container input:invalid[b-ivujso5drk],
.field-group-container input:required[b-ivujso5drk],
.field-group-container input:valid[b-ivujso5drk] {
    box-shadow: none !important;
    outline: none !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .itemRenderDIEdit > .containerDemoDR[b-ivujso5drk] {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .itemRenderDIEdit .d-flex.justify-content-between[b-ivujso5drk] {
        flex-direction: column;
        align-items: flex-start;
    }

    .itemRenderDIEdit .styleTextTT[b-ivujso5drk] {
        min-width: 100%;
    }

    .itemRenderDIEdit input:not([type="checkbox"])[b-ivujso5drk],
    .itemRenderDIEdit select[b-ivujso5drk],
    .itemRenderDIEdit textarea[b-ivujso5drk] {
        width: 100%;
    }

    .field-group-container .d-flex.flex-column.gap-2[b-ivujso5drk] {
        min-width: 100%;
    }
}
/* /Components/Pages/AccountRequest/AccountRequestApprovePage.razor.rz.scp.css */
.apa-wrap[b-2ng0kwt727] { min-width: 0; }
.apa-card[b-2ng0kwt727] { max-width: 820px; padding: 24px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.apa-blocked[b-2ng0kwt727] { padding: 8px 0; font-size: .95rem; color: #475569; }

.apa-section-title[b-2ng0kwt727] { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #5DA2CF; font-size: .82rem; font-weight: 700; color: #374d61; letter-spacing: .08em; }
.apa-section-title .material-symbols-outlined[b-2ng0kwt727] { font-size: 1.1rem; color: #5DA2CF; }
.apa-section-gap[b-2ng0kwt727] { margin-top: 28px; }

.apa-row[b-2ng0kwt727] { display: grid; grid-template-columns: 160px 1fr; gap: 10px; align-items: center; margin-bottom: 14px; }
.apa-remark[b-2ng0kwt727] { white-space: pre-wrap; }

.apa-form[b-2ng0kwt727] { text-align: left; }
.apa-field[b-2ng0kwt727] { margin-bottom: 12px; min-width: 0; }
.apa-label[b-2ng0kwt727] { display: block; font-size: .8rem; font-weight: 600; color: #475569; margin-bottom: 6px; }
.apa-input[b-2ng0kwt727] { width: 100%; min-width: 0; padding: 10px 14px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: .875rem; color: #1e293b; outline: none; background: #fff; }
.apa-input:focus[b-2ng0kwt727] { border-color: #5DA2CF; }
.apa-check[b-2ng0kwt727] { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 12px; font-size: .875rem; color: #334155; }
.apa-check input[b-2ng0kwt727] { margin-top: 3px; flex: none; }

.apa-error[b-2ng0kwt727] { margin-top: 8px; color: #b91c1c; font-size: 13px; overflow-wrap: anywhere; }
.apa-actions[b-2ng0kwt727] { display: flex; align-items: center; gap: 16px; margin-top: 24px; }

@media (max-width: 768px) {
    .apa-row[b-2ng0kwt727] { grid-template-columns: 1fr; gap: 4px; }
}
/* /Components/Pages/AccountRequest/AccountRequestPage.razor.rz.scp.css */
.ar-wrap[b-bsrdnh2h87] { min-width: 0; }
.ar-config-grid[b-bsrdnh2h87] { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 8px; }
.ar-field[b-bsrdnh2h87] { margin-bottom: 12px; min-width: 0; }
.ar-label[b-bsrdnh2h87] { display: block; font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 4px; }
.ar-input[b-bsrdnh2h87] { width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 14px; outline: none; background: #fff; }
.ar-input:focus[b-bsrdnh2h87] { border-color: #6366f1; }
.ar-error[b-bsrdnh2h87] { color: #b91c1c; font-size: 13px; padding: 4px 0 8px; overflow-wrap: anywhere; }
.ar-warning[b-bsrdnh2h87] { margin-bottom: 12px; padding: 8px 12px; font-size: 13px; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; overflow-wrap: anywhere; }

/* The modal body is centred by ModalCpn; the form reads left to right. */
.ar-modal-body[b-bsrdnh2h87] { text-align: left; }

/* User picker: read-only box plus a select icon, as on App Creator's user-selection field. */
.ar-pick[b-bsrdnh2h87] { position: relative; }
.ar-pick-input[b-bsrdnh2h87] { padding-right: 56px; cursor: pointer; text-overflow: ellipsis; }
.ar-pick-input:disabled[b-bsrdnh2h87] { cursor: default; background: #f8fafc; }
.ar-pick-btn[b-bsrdnh2h87] { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; padding: 2px 4px; border: none; background: none; }
.ar-pick-btn:disabled[b-bsrdnh2h87] { opacity: 0.4; }
.ar-pick-clear[b-bsrdnh2h87] { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); padding: 0 4px; border: none; background: none; font-size: 18px; line-height: 1; color: #64748b; }
.ar-pick-clear:hover[b-bsrdnh2h87] { color: #b91c1c; }

/* Table header: title with the column filter funnel beside it. */
.ar-head[b-bsrdnh2h87] { display: flex; align-items: center; gap: 6px; }
.ar-head-title[b-bsrdnh2h87] { white-space: nowrap; }

/* Status badge and "your turn" tag. */
.ar-badge[b-bsrdnh2h87] { display: inline-block; padding: 2px 10px; font-size: 12px; font-weight: 600; border-radius: 999px; white-space: nowrap; }
.ar-badge--waiting[b-bsrdnh2h87] { color: #92400e; background: #fef3c7; }
.ar-badge--approved[b-bsrdnh2h87] { color: #166534; background: #dcfce7; }
.ar-badge--rejected[b-bsrdnh2h87] { color: #991b1b; background: #fee2e2; }
.ar-badge--draft[b-bsrdnh2h87] { color: #475569; background: #f1f5f9; }
.ar-you[b-bsrdnh2h87] { margin-left: 6px; padding: 1px 8px; font-size: 11px; font-weight: 600; color: #3730a3; background: #e0e7ff; border-radius: 999px; white-space: nowrap; }
/* /Components/Pages/AppQuery/AppQueryAdvancedFilterModal.razor.rz.scp.css */
.advfilter-header[b-eol8fwgz0x] {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 2rem;
    background: #fff;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid #f1f5f9;
}

.advfilter-header-left[b-eol8fwgz0x] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.advfilter-icon[b-eol8fwgz0x] {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: rgba(0, 87, 194, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0057c2;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.advfilter-title[b-eol8fwgz0x] {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    display: block;
}

.advfilter-subtitle[b-eol8fwgz0x] {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.3;
    display: block;
}

.advfilter-close[b-eol8fwgz0x] {
    background: none;
    border: none;
    color: #94a3b8;
    padding: 0.4rem;
    border-radius: 999px;
    line-height: 1;
    font-size: 1.1rem;
}

.advfilter-close:hover[b-eol8fwgz0x] {
    color: #475569;
    background: #f8fafc;
}

.advfilter-body[b-eol8fwgz0x] {
    margin: -1rem;
    padding: 2rem;
    background: #fff;
    max-height: 60vh;
    overflow-y: auto;
    text-align: left;
}

.advfilter-body[b-eol8fwgz0x]::-webkit-scrollbar {
    width: 5px;
}

.advfilter-body[b-eol8fwgz0x]::-webkit-scrollbar-track {
    background: transparent;
}

.advfilter-body[b-eol8fwgz0x]::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.advfilter-grid[b-eol8fwgz0x] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem 1rem;
}

.advfilter-entity-wrap[b-eol8fwgz0x] {
    position: relative;
}

.advfilter-entity-icon[b-eol8fwgz0x] {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
    pointer-events: none;
}

.advfilter-toggle-row[b-eol8fwgz0x] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem 1.5rem;
}

.advfilter-toggle-item[b-eol8fwgz0x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
}

.advfilter-toggle-item:hover[b-eol8fwgz0x] {
    border-color: #f1f5f9;
    background: #f8fafc;
}

.advfilter-toggle-title[b-eol8fwgz0x] {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
}

.advfilter-toggle-desc[b-eol8fwgz0x] {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
}

.advfilter-switch[b-eol8fwgz0x] {
    width: 2.75rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #e2e8f0;
    border: none;
    position: relative;
    flex-shrink: 0;
    padding: 0;
    transition: background 0.2s ease;
}

.advfilter-switch.is-on[b-eol8fwgz0x] {
    background: #0057c2;
}

.advfilter-switch-knob[b-eol8fwgz0x] {
    position: absolute;
    top: 0.1875rem;
    left: 0.1875rem;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.advfilter-switch.is-on .advfilter-switch-knob[b-eol8fwgz0x] {
    transform: translateX(1.25rem);
}

.advfilter-footer[b-eol8fwgz0x] {
    width: 100%;
    box-sizing: border-box;
    margin: -0.75rem;
    padding: 0.5rem 2rem 0.5rem 0rem;
    
    border-top: 1px solid #f1f5f9;
    border-radius: 0 0 10px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.advfilter-reset[b-eol8fwgz0x] {
    background: none;
    border: none;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.advfilter-reset:hover[b-eol8fwgz0x] {
    color: #334155;
    text-decoration: underline;
}

.advfilter-actions[b-eol8fwgz0x] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.advfilter-cancel[b-eol8fwgz0x] {
    height: 2.5rem;
    padding: 0 1.25rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 0.5rem;
    color: #475569;
    font-weight: 600;
    font-size: 0.875rem;
}

.advfilter-cancel:hover[b-eol8fwgz0x] {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.advfilter-run[b-eol8fwgz0x] {
    height: 2.5rem;
    padding: 0 2rem;
    border: none;
    background: #0057c2;
    border-radius: 0.5rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 10px rgba(0, 87, 194, 0.25);
}

.advfilter-run:hover[b-eol8fwgz0x] {
    background: #00469c;
}
/* /Components/Pages/AppQuery/AppQueryViewV2.razor.rz.scp.css */
/* Matches viewportInterop.js's PC_MIN_WIDTH breakpoint that drives IsMobileView -- below it the
   page name truncates with an ellipsis instead of wrapping/overflowing the narrow header. */
@media (max-width: 1023px) {
    .appQueryPageTitle[b-sel8mxxqid] {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }
}

.appQueryMobileList[b-sel8mxxqid] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.appQueryMobileCard[b-sel8mxxqid] {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    padding: 0.75rem 1rem;
}

/* FORM LAYOUT - deliberately a different visual language from Card Layout's stack of shadowed,
   titled cards: a gradient title band standing apart from the list (its own block, not fused to
   the first row), followed by flat bordered line-item rows that are each their own block too
   (real gap between them, not just a divider line) - no per-row box-shadow/title, just a small
   numbered badge, so it still reads as clearly distinct from Card Layout's tiles. */
.appQueryFormSheet[b-sel8mxxqid] {
    gap: 0.6rem !important;
}

.appQueryFormSheetHeader[b-sel8mxxqid] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #1d4ed8, #2563EB);
    color: #fff;
    border-radius: 8px;
    margin-bottom: 0.15rem;
}

.appQueryFormSheetIcon[b-sel8mxxqid] {
    font-size: 1.15rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.appQueryFormSheetTitleWrap[b-sel8mxxqid] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.6rem;
}

.appQueryFormSheetTitleItem[b-sel8mxxqid] {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    word-break: break-word;
}

.appQueryFormSheetTitleLabel[b-sel8mxxqid] {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    opacity: 0.8;
}

.appQueryFormSheetTitleValue[b-sel8mxxqid] {
    font-weight: 700;
    font-size: 1.02rem;
}

.appQueryFormSheetTitleSep[b-sel8mxxqid] {
    opacity: 0.5;
}

.appQueryFormItem[b-sel8mxxqid] {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
}

.appQueryFormItemIndex[b-sel8mxxqid] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.4rem;
    height: 1.4rem;
    margin-top: 0.1rem;
    border-radius: 50%;
    background: #EFF6FF;
    color: #2563EB;
    font-size: 0.7rem;
    font-weight: 700;
}

.appQueryFormItemBody[b-sel8mxxqid] {
    flex: 1 1 auto;
    min-width: 0;
}

.appQueryMobileCardTitle[b-sel8mxxqid] {
    font-weight: 600;
    font-size: 1rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid #E5E7EB;
    word-break: break-word;
}

.appQueryMobileCardRow[b-sel8mxxqid] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #F3F4F6;
}

.appQueryMobileCardRow:last-child[b-sel8mxxqid] {
    border-bottom: none;
}

.appQueryMobileCardLabel[b-sel8mxxqid] {
    color: #6B7280;
    font-size: 0.85rem;
    flex: 0 0 auto;
    max-width: 45%;
}

.appQueryMobileCardValue[b-sel8mxxqid] {
    text-align: right;
    word-break: break-word;
    flex: 1 1 auto;
}

.appQueryMobileEmpty[b-sel8mxxqid] {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.appQueryMobileLoadMore[b-sel8mxxqid] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-bottom: 0.5rem;
}

.appQueryMobileLoadMoreCount[b-sel8mxxqid] {
    color: #6B7280;
    font-size: 0.85rem;
}

.appQueryMobileCardToggle[b-sel8mxxqid] {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.2rem 0;
    background: none;
    border: none;
    border-top: 1px dashed #E5E7EB;
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
}

.appQueryMobileCardToggle .material-symbols-outlined[b-sel8mxxqid] {
    font-size: 1.3rem;
}

.appQueryMobileSummary[b-sel8mxxqid] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    background-color: #C6E4F3;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    margin-top: 0.75rem;
    font-weight: 600;
}

.appQueryMobileSummaryItem[b-sel8mxxqid] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.appQueryMobileSummaryItem .appQueryMobileCardLabel[b-sel8mxxqid] {
    max-width: none;
}

/* WoBench/Excel mode hiding the nested layout's own header, and Excel mode's page-padding
   removal, both live in an inline <style> tag in AppQueryViewV2.razor instead of here - isolated
   CSS can never reach PageNestedLayout's own wrapper markup, see
   .claude/docs/CSS_ISOLATION_EXCEPTIONS.md. */

/* Flat WoBench presentation: same visual language as ManageWorkOrder, without
   work-order tree controls or child-row rendering. */
.appQueryWobenchWrap[b-sel8mxxqid] {
    padding: 0 0.375rem;
    overflow: hidden;
}

.appQueryWobenchPageHeader[b-sel8mxxqid] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0 0.625rem;
}

/* Inline replacement for the old filter-modal-opening button: renders AppQueryFilterFieldsCpn's
   fields (each its own "aq-filter-field" div, see that component) directly in this row, followed
   by the Search button below. */
.appQueryWobenchFilterInline[b-sel8mxxqid] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
}

.appQueryWobenchFilterInline[b-sel8mxxqid]  .aq-filter-field {
    flex: 0 0 auto;
    width: 11rem;
}

    /* app.css's global input::placeholder (#a8a8a8) reads too light against these fields' white
   background - darken just this inline filter row's inputs rather than the shared global rule. */
    .appQueryWobenchFilterInline[b-sel8mxxqid]  input::placeholder {
        color: #c3c6d7;
    }

    .appQueryWobenchFilterInline[b-sel8mxxqid]  input {
        color: #191c1e;
        font-weight: 600;
    }
.appQueryWobenchPageTitle[b-sel8mxxqid] {
    margin: 0;
    color: #191c1e;
    font-family: Arial, sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-align: left;
}

.appQueryWobenchPageDivider[b-sel8mxxqid] {
    margin: 0.35rem 0 0.25rem;
    border-top: 2px solid #d9dde4;
    padding-top: 1.0rem;
}

.appQueryWobenchPageSubtitle[b-sel8mxxqid] {
    margin: 0.25rem 0 0;
    color: #505f76;
    font-size: 0.875rem;
    line-height: 1.35;
    white-space: pre-wrap;
}

.appQueryWobenchFilterButton[b-sel8mxxqid] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-shrink: 0;
    height: 2.5rem;
    padding: 0 0.9rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.375rem;
    background: #f3f4f6;
    color: #191c1e;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color .15s;
}

.appQueryWobenchFilterButton:hover[b-sel8mxxqid] {
    background: #e7e8ea;
}

.appQueryWobenchFilterButton .material-symbols-outlined[b-sel8mxxqid] {
    font-size: 1.125rem;
}

.appQueryWobenchCard[b-sel8mxxqid] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 14rem);
    min-height: 0;
    background: #fff;
    border: 1px solid #c3c6d7;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.appQueryWobenchTableScroll[b-sel8mxxqid] {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: auto;
    scrollbar-color: #c3c6d7 transparent;
    scrollbar-width: thin;
}

/* Own horizontal scroll (hidden scrollbar), separate from .appQueryWobenchTableScroll's - same
   split-header/body pattern as ItemBomRouting's .ibr-tree-col-header/.ibr-tree-body: sitting
   outside the vertically-scrolling body means the header is simply never scrolled out of view
   (no position:sticky needed), and AppQueryWobench.js keeps this in horizontal lockstep with the
   body by mirroring its scrollLeft on every body scroll event. */
.appQueryWobenchHeaderBar[b-sel8mxxqid] {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
    background: #f3f4f6;
    border-bottom: 1px solid #c3c6d7;
    overflow-x: auto;
    scrollbar-width: none;
}

.appQueryWobenchHeaderBar[b-sel8mxxqid]::-webkit-scrollbar {
    display: none;
}

.appQueryWobenchHeaderActions[b-sel8mxxqid] {
    position: absolute;
    top: 0.35rem;
    right: 0.5rem;
    z-index: 10;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.25rem;
    padding: 0 0.75rem;
    background: #f3f4f6;
    border-left: 1px solid #c3c6d7;
    pointer-events: auto;
}

.appQueryWobenchSettingsButton[b-sel8mxxqid] {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #004ac6;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}

.appQueryWobenchSettingsButton:hover[b-sel8mxxqid] {
    background: #e7e8ea;
    color: #004ac6;
}

.appQueryWobenchSettingsButton .material-symbols-outlined[b-sel8mxxqid] {
    font-size: 1.125rem;
}

.appQueryWobenchHeaderRow[b-sel8mxxqid],
.appQueryWobenchRow[b-sel8mxxqid] {
    display: grid;
    align-items: center;
    min-width: max-content;
}

.appQueryWobenchHeaderRow[b-sel8mxxqid] {
    flex: 0 0 auto;
    min-width: max-content;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.appQueryWobenchColumnHeader[b-sel8mxxqid] {
    position: relative;
    min-width: 0; /* column floor (50px) is enforced by the grid track; a larger min here made narrowed headers overflow into neighbours */
    min-height: 1.8rem;
    overflow: hidden;
    padding: 0 0.625rem 0 0.375rem;
    color: #505f76;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    /* Marks where each column ends so the resize handle overlapping this edge (see
       .appQueryWobenchResizeHandle, otherwise invisible until hovered) is easy to find and drag.
       Remains visible even when title is hidden, so empty columns still show their divider. */
    border-right: 2px solid #9aa4b5;
}

/* The row's own left/right edge spacing (formerly padding on .appQueryWobenchHeaderRow/
   .appQueryWobenchRow themselves) now lives on the first/last cell's own padding instead -
   a frozen first column's tinted background (see appQueryWobenchFrozenCell below) is only ever
   painted on the cell's own box, so keeping this gutter as row padding would leave an
   unselected-looking strip at the very edge whenever that column is frozen. */
.appQueryWobenchColumnHeader:first-child[b-sel8mxxqid] {
    padding-left: calc(0.375rem + 0.5rem);
}

.appQueryWobenchColumnHeader:last-child[b-sel8mxxqid] {
    padding-right: calc(0.625rem + 0.5rem);
    border-right: none;
}

.appQueryWobenchResizeHandle[b-sel8mxxqid] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 0.5rem;
    cursor: col-resize;
}

.appQueryWobenchResizeHandle:hover[b-sel8mxxqid] {
    background: #9aa4b5;
}

.appQueryWobenchBody[b-sel8mxxqid] {
    width: max-content;
    min-width: 100%;
    background: #fff;
}

.appQueryWobenchRow[b-sel8mxxqid] {
    min-height: 2.2rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #c3c6d7;
    color: #191c1e;
    transition: background .15s;
}

.appQueryWobenchRow:hover[b-sel8mxxqid] {
    background: #f8f9fb;
}

.appQueryWobenchCell[b-sel8mxxqid] {
    min-width: 0;
    overflow: hidden;
    padding: 0 0.375rem;
    font-size: 0.9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Same reasoning as .appQueryWobenchColumnHeader:first-child/:last-child above. */
.appQueryWobenchCell:first-child[b-sel8mxxqid] {
    padding-left: calc(0.375rem + 0.5rem);
}

.appQueryWobenchCell:last-child[b-sel8mxxqid] {
    padding-right: calc(0.375rem + 0.5rem);
}

/* Frozen (sticky) columns - see WoBenchFrozenColumnCount/GetWoBenchFreezeStyle. Needs an opaque
   background so horizontally-scrolled content doesn't show through underneath the pinned cell;
   tinted blue like a selected/active state (same palette as ColumnPickerModal's own .active
   buttons and SAP's .sap-frozen-col) so a frozen column reads as "selected" at a glance. An
   inset box-shadow (not `border`) marks the boundary since a plain border on a position:sticky
   cell tends to visually disappear at the sticky edge - same reasoning as SAP's .sap-frozen-col. */
.appQueryWobenchColumnHeader.appQueryWobenchFrozenCell[b-sel8mxxqid] {
    background: #d0e1fb;
}

.appQueryWobenchCell.appQueryWobenchFrozenCell[b-sel8mxxqid] {
    background: #e8f4ff;
}

.appQueryWobenchRow:hover .appQueryWobenchCell.appQueryWobenchFrozenCell[b-sel8mxxqid] {
    background: #d9ecff;
}

.appQueryWobenchFrozenCellLast[b-sel8mxxqid] {
    box-shadow: inset -1px 0 0 #9cc2f2, inset -3px 0 0 rgba(0, 74, 198, 0.45);
}

.appQueryWobenchLoadingCell[b-sel8mxxqid] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 8rem;
    color: #505f76;
    font-size: 0.8125rem;
}

.appQueryWobenchFooter[b-sel8mxxqid] {
    flex-shrink: 0;
    padding: 0.5rem 1.5rem;
    background: #f3f4f6;
    border-top: 1px solid #c3c6d7;
    color: #505f76;
    font-size: 0.8125rem;
}

.appQueryWobenchFooter strong[b-sel8mxxqid] {
    color: #191c1e;
}
/* /Components/Pages/AppQuery/ExcelReportLinkedCpn.razor.rz.scp.css */
/* ── ExcelReportLinkedCpn Scoped Styles ── */

.aq-report-panel[b-c7xgel801s] {
    width: 100%;
    max-width: 100%;
}

/* Section header */
.aq-report-section-header[b-c7xgel801s] {
    margin-bottom: 1.5rem;
}

.aq-report-section-title[b-c7xgel801s] {
    font-family: 'Inter', 'Mukta', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #004cca;
    margin: 0 0 0.25rem 0;
}

.aq-report-section-desc[b-c7xgel801s] {
    font-size: 0.8125rem;
    color: #737687;
    margin: 0;
    line-height: 1.4;
}

/* Responsive grid for form fields */
.aq-report-form-grid[b-c7xgel801s] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 576px) {
    .aq-report-form-grid[b-c7xgel801s] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .aq-report-form-grid[b-c7xgel801s] {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Field container */
.aq-report-field[b-c7xgel801s] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

/* Label styling */
.aq-report-label[b-c7xgel801s] {
    font-family: 'Inter', 'Mukta', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #424656;
    line-height: 1.3;
}

/* Input wrapper — overrides nested shared component styles */
.aq-report-input-wrap[b-c7xgel801s] {
    width: 100%;
}

/* Override shared component input styles within this scope */
.aq-report-input-wrap[b-c7xgel801s]  input[type="text"],
.aq-report-input-wrap[b-c7xgel801s]  input[type="number"],
.aq-report-input-wrap[b-c7xgel801s]  input[type="date"],
.aq-report-input-wrap[b-c7xgel801s]  .custumSearch,
.aq-report-input-wrap[b-c7xgel801s]  .inputCustumHD {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: #ffffff;
    border: 1px solid rgba(194, 198, 217, 0.5);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #191c1e !important;
    height: auto;
    min-height: 2.375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.aq-report-input-wrap[b-c7xgel801s]  input[type="text"]:focus,
.aq-report-input-wrap[b-c7xgel801s]  input[type="number"]:focus,
.aq-report-input-wrap[b-c7xgel801s]  input[type="date"]:focus,
.aq-report-input-wrap[b-c7xgel801s]  .custumSearch:focus,
.aq-report-input-wrap[b-c7xgel801s]  .inputCustumHD:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px #0062ff;
}

.aq-report-input-wrap[b-c7xgel801s]  input::placeholder {
    color: #c2c6d9;
}

/* Hide the internal title spans from shared components since we use our own labels */
.aq-report-input-wrap[b-c7xgel801s]  .styleTextTT {
    display: none;
}

/* Style for select button/popup trigger inside InputTextSelect */
.aq-report-input-wrap[b-c7xgel801s]  .sapEmloyIdBtn {
    top: 50%;
    transform: translateY(-50%);
}

/* ── Footer (Show Report button area) ── */
.aq-report-footer[b-c7xgel801s] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.aq-report-btn-primary[b-c7xgel801s] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(to bottom right, #004cca, #0062ff);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 76, 202, 0.15);
    transition: all 0.2s ease;
    min-height: 2.25rem;
}

.aq-report-btn-primary:hover:not(:disabled)[b-c7xgel801s] {
    box-shadow: 0 6px 16px rgba(0, 76, 202, 0.25);
}

.aq-report-btn-primary:active:not(:disabled)[b-c7xgel801s] {
    transform: scale(0.97);
    opacity: 0.9;
}

.aq-report-btn-primary:disabled[b-c7xgel801s] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Status messages ── */
.aq-report-status[b-c7xgel801s] {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    border-radius: 0.375rem;
    line-height: 1.4;
}

.aq-report-status-success[b-c7xgel801s] {
    background-color: #d3e4fe;
    color: #0b1c30;
}

.aq-report-status-error[b-c7xgel801s] {
    background-color: #ffdad6;
    color: #93000a;
}

/* ── Empty state ── */
.aq-report-empty[b-c7xgel801s] {
    font-size: 0.8125rem;
    color: #737687;
    margin: 0;
}
/* /Components/Pages/AppQuery/ExcelSheet/AppQueryExcelSheet.razor.rz.scp.css */
.xls-root[b-9wzptgcqnu] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: #f5f6f7;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.xls-loading-spinner[b-9wzptgcqnu] {
    width: 1rem;
    height: 1rem;
    border: 2px solid #d0d5da;
    border-top-color: #217346;
    border-radius: 50%;
    animation: xls-spin-b-9wzptgcqnu 0.75s linear infinite;
}

@keyframes xls-spin-b-9wzptgcqnu {
    to {
        transform: rotate(360deg);
    }
}

.xls-toolbar[b-9wzptgcqnu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.xls-toolbar-left[b-9wzptgcqnu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
}

.xls-toolbar-icon[b-9wzptgcqnu] {
    color: #217346;
}

.xls-toolbar-title[b-9wzptgcqnu] {
    font-weight: 600;
    font-size: 1rem;
}

.xls-toolbar-right[b-9wzptgcqnu] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: auto;
    gap: 0.5rem;
}

.xls-btn[b-9wzptgcqnu] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid #d0d5da;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 0.85rem;
    cursor: pointer;
}

    .xls-btn:hover[b-9wzptgcqnu] {
        background: #eef1f4;
    }

    .xls-btn .material-symbols-outlined[b-9wzptgcqnu] {
        font-size: 1.05rem;
    }

.xls-btn-primary[b-9wzptgcqnu] {
    background: #217346;
    border-color: #217346;
    color: #fff;
}

    .xls-btn-primary:hover[b-9wzptgcqnu] {
        background: #1a5c38;
    }

.xls-formula-bar[b-9wzptgcqnu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #d0d5da;
    border-radius: 4px;
    padding: 0.35rem 0.6rem;
    min-height: 2rem;
}

.xls-formula-ref[b-9wzptgcqnu] {
    min-width: 2.5rem;
    font-weight: 600;
    color: #217346;
    font-size: 0.8rem;
    border-right: 1px solid #d0d5da;
    padding-right: 0.5rem;
}

.xls-formula-value[b-9wzptgcqnu] {
    font-family: "JetBrains Mono", "Consolas", monospace;
    font-size: 0.8rem;
    color: #333;
    white-space: pre;
    overflow-x: auto;
}

.xls-formula-input[b-9wzptgcqnu] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: "JetBrains Mono", "Consolas", monospace;
    font-size: 0.8rem;
    color: #333;
}

.xls-formula-input[readonly][b-9wzptgcqnu] {
    cursor: default;
    color: #4b5563;
}

.xls-grid-wrap[b-9wzptgcqnu] {
    overflow: auto;
    height: calc(100vh - 210px);
    min-height: 420px;
    border: 1px solid #d0d5da;
    border-radius: 4px;
    background: #fff;
}

.xls-chart-sheet[b-9wzptgcqnu] {
    height: calc(100vh - 210px);
    min-height: 420px;
    padding: 1rem;
    border: 1px solid #d0d5da;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}

.xls-chart-host[b-9wzptgcqnu] {
    position: relative;
    width: 100%;
    height: calc(100% - 2rem);
    min-height: 360px;
}

.xls-sheet-stage[b-9wzptgcqnu] {
    position: relative;
}

.xls-embedded-chart[b-9wzptgcqnu] {
    position: absolute;
    z-index: 20;
    display: flex;
    flex-direction: column;
    min-width: 280px;
    min-height: 180px;
    padding: 1.5rem 0.5rem 0.5rem;
    border: 1px solid #217346;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
    user-select: none;
}

.xls-embedded-chart canvas[b-9wzptgcqnu] {
    flex: 1 1 auto;
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
}

.xls-embedded-chart-title[b-9wzptgcqnu] {
    position: absolute;
    inset: 0 2rem auto 0;
    height: 1.5rem;
    padding: 0.2rem 0.5rem;
    cursor: move;
    color: #217346;
    font-size: 0.8rem;
    font-weight: 600;
}

.xls-embedded-chart-remove[b-9wzptgcqnu] {
    position: absolute;
    top: 0.15rem;
    right: 0.25rem;
    z-index: 2;
    border: 0;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    font-size: 1rem;
}

.xls-embedded-chart-resize[b-9wzptgcqnu] {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0.8rem;
    height: 0.8rem;
    cursor: nwse-resize;
}

.xls-import-chart-backdrop[b-9wzptgcqnu] {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
}

.xls-import-chart-dialog[b-9wzptgcqnu] {
    width: min(420px, calc(100vw - 2rem));
    padding: 1.25rem;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.xls-import-chart-dialog h5[b-9wzptgcqnu] {
    margin: 0 0 1rem;
}

.xls-import-chart-actions[b-9wzptgcqnu] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}

.xls-table[b-9wzptgcqnu] {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    min-width: 100%;
}

.xls-resize-overlay[b-9wzptgcqnu] {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: transparent;
    user-select: none;
}

.xls-resize-overlay.xls-resize-active-col[b-9wzptgcqnu] {
    display: block;
    cursor: col-resize;
}

.xls-resize-overlay.xls-resize-active-row[b-9wzptgcqnu] {
    display: block;
    cursor: row-resize;
}

.xls-corner[b-9wzptgcqnu] {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 3;
    width: 2.75rem;
    min-width: 2.75rem;
    background: #f0f2f4;
    border-right: 1px solid #d0d5da;
    border-bottom: 1px solid #d0d5da;
}

.xls-col-head[b-9wzptgcqnu] {
    position: sticky;
    top: 0;
    z-index: 2;
    width: 9rem;
    min-width: 9rem;
    background: #f0f2f4;
    border-right: 1px solid #d0d5da;
    border-bottom: 1px solid #d0d5da;
    padding: 0.25rem 0.4rem;
    cursor: grab;
    height: 3.1rem;
}

.xls-col-resize-handle[b-9wzptgcqnu] {
    position: absolute;
    top: 0;
    right: -3px;
    width: 7px;
    height: 100%;
    cursor: col-resize;
    z-index: 5;
}

    .xls-col-resize-handle:hover[b-9wzptgcqnu] {
        background: rgba(33, 115, 70, 0.18);
    }

.xls-col-head-row[b-9wzptgcqnu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
}

.xls-col-letter[b-9wzptgcqnu] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6b7280;
}

.xls-col-head-title[b-9wzptgcqnu] {
    display: block;
    width: 100%;
    margin-top: 0.15rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1f2937;
    padding: 0.1rem 0.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-height: 1.1em;
    line-height: 1.1em;
}

.xls-col-virtual-badge[b-9wzptgcqnu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #217346;
    background: #e6f4ec;
    border-radius: 3px;
    padding: 0.05rem 0.3rem;
}

.xls-icon-btn[b-9wzptgcqnu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    line-height: 0;
}

.xls-col-head .xls-icon-btn[b-9wzptgcqnu],
.xls-row-head .xls-icon-btn[b-9wzptgcqnu] {
    opacity: 0;
}

.xls-col-head:hover .xls-icon-btn[b-9wzptgcqnu],
.xls-row-head:hover .xls-icon-btn[b-9wzptgcqnu] {
    opacity: 1;
}

    .xls-icon-btn:hover[b-9wzptgcqnu] {
        color: #217346;
    }

    .xls-icon-btn .material-symbols-outlined[b-9wzptgcqnu] {
        font-size: 1rem;
    }

.xls-row-head[b-9wzptgcqnu] {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 2.75rem;
    min-width: 2.75rem;
    background: #f0f2f4;
    border-right: 1px solid #d0d5da;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
    cursor: grab;
    display: table-cell;
    vertical-align: middle;
}

.xls-row-resize-handle[b-9wzptgcqnu] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 7px;
    cursor: row-resize;
    z-index: 5;
}

    .xls-row-resize-handle:hover[b-9wzptgcqnu] {
        background: rgba(33, 115, 70, 0.18);
    }

.xls-row-number[b-9wzptgcqnu] {
    margin-right: 0;
}

    .xls-row-head .xls-icon-btn[b-9wzptgcqnu] {
        position: absolute;
        right: 1px;
        top: 50%;
        transform: translateY(-50%);
        vertical-align: middle;
    }

        .xls-row-head .xls-icon-btn .material-symbols-outlined[b-9wzptgcqnu] {
            font-size: 0.8rem;
        }

.xls-cell[b-9wzptgcqnu] {
    position: relative;
    width: 9rem;
    min-width: 9rem;
    max-width: 9rem;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.3rem 0.4rem;
    font-size: 0.8rem;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 9rem;
}

.xls-cell-readonly[b-9wzptgcqnu] {
    cursor: default;
}

.xls-cell-editable[b-9wzptgcqnu] {
    cursor: cell;
}

    .xls-cell-editable:hover[b-9wzptgcqnu] {
        background: #f8faf9;
    }

.xls-cell-formula[b-9wzptgcqnu] {
    background: #f3faf6;
}

.xls-cell-selected[b-9wzptgcqnu] {
    outline: 2px solid #217346;
    outline-offset: -2px;
}

.xls-cell-in-selection[b-9wzptgcqnu] {
    background: #dcefe3;
}

/* Distinct color from xls-cell-selected (green) so an actively-edited cell is visually
   unmistakable from a merely-selected one - declared after it so it wins when both classes are on
   the same cell (which is normally the case, since editing implies selected). */
.xls-cell-editing[b-9wzptgcqnu] {
    outline: 2px solid #1a73e8;
    outline-offset: -2px;
    background: #fff;
}

.xls-cell-checkbox[b-9wzptgcqnu] {
    margin-right: 0.3rem;
}

.xls-fill-handle[b-9wzptgcqnu] {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 7px;
    height: 7px;
    background: #217346;
    border: 1px solid #fff;
    cursor: crosshair;
}

.xls-cell-input[b-9wzptgcqnu] {
    width: 100%;
    border: none;
    outline: none;
    font-size: 0.8rem;
    font-family: "JetBrains Mono", "Consolas", monospace;
    background: #fff;
}

/* Render-only padding past a sheet's real rows/columns so it visually fills the screen even with
   little data (see AppQueryExcelSheet's MinDisplayRows/Cols) - never interactive. */
.xls-col-head-filler[b-9wzptgcqnu] {
    width: 9rem;
    min-width: 9rem;
    max-width: 9rem;
    cursor: default;
}

.xls-row-head-filler[b-9wzptgcqnu] {
    cursor: default;
}

.xls-cell-filler[b-9wzptgcqnu] {
    width: 9rem;
    min-width: 9rem;
    max-width: 9rem;
    background: #fff;
    cursor: default;
}

.xls-tabs[b-9wzptgcqnu] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.25rem 0;
    flex-wrap: wrap;
}

.xls-tab[b-9wzptgcqnu] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    border: 1px solid #d0d5da;
    border-radius: 4px 4px 0 0;
    background: #eef1f4;
    color: #555;
    font-size: 0.8rem;
    cursor: pointer;
}

.xls-tab-active[b-9wzptgcqnu] {
    background: #fff;
    color: #217346;
    font-weight: 600;
    border-color: #217346;
}

.xls-tab-name[b-9wzptgcqnu] {
    white-space: nowrap;
}

.xls-tab-close[b-9wzptgcqnu] {
    color: #9ca3af;
}

.xls-tab-rename[b-9wzptgcqnu] {
    color: #6c757d;
}
.xls-col-fixed-rowhead[b-9wzptgcqnu] {
    width: 2.75rem;
}

.xls-col-fixed-cell[b-9wzptgcqnu] {
    width: 9rem;
}

.xls-tab-add[b-9wzptgcqnu] {
    border: 1px dashed #d0d5da;
    border-radius: 4px;
    padding: 0.3rem 0.5rem;
    color: #217346;
}

    .xls-tab-rename .material-symbols-outlined[b-9wzptgcqnu],
    .xls-tab-close .material-symbols-outlined[b-9wzptgcqnu],
    .xls-tab-add .material-symbols-outlined[b-9wzptgcqnu] {
        font-size: 0.85rem;
    }
.xls-cell-range[b-9wzptgcqnu] {
    background: #c6efce;
}
/* /Components/Pages/Automation/AiAgentWorkbench.razor.rz.scp.css */
.ai-agent-workbench-page[b-hy79ghfuv9] {
    width: 100%;
    padding: 16px;
}
/* /Components/Pages/Automation/AutomationWorkbench.razor.rz.scp.css */
.automation-workbench-page[b-7kbr7jlu7n] {
    width: 100%;
    height: calc(100vh - 44px);
}

.automation-workbench-frame[b-7kbr7jlu7n] {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}
/* /Components/Pages/BeasMasterDataUI/BeasFtPriorPage.razor.rz.scp.css */
.sap_inner-card[b-dh13zz53zt]{background:#fff;border:1px solid #e6e6e6;padding:1rem;border-radius:6px}
.sap_section-title[b-dh13zz53zt]{margin:0 0 .5rem;font-size:1rem;font-weight:600}
.sap_table-actions[b-dh13zz53zt]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}
.sap_table-no-data[b-dh13zz53zt]{text-align:center;color:#888;padding:1rem}
.sap_table-wrapper[b-dh13zz53zt]{overflow-x:auto;width:100%}
.sap-table[b-dh13zz53zt]{width:100%;border-collapse:collapse;min-width:max-content}
.sap-table th[b-dh13zz53zt],.sap-table td[b-dh13zz53zt]{border:1px solid #f0f0f0;padding:.5rem;text-align:left;min-width:160px;white-space:nowrap}
.sap-table th:first-child[b-dh13zz53zt],.sap-table td:first-child[b-dh13zz53zt]{min-width:40px;width:40px;text-align:center}
.sap-table th:nth-child(2)[b-dh13zz53zt],.sap-table td:nth-child(2)[b-dh13zz53zt]{min-width:50px;width:50px;text-align:center}
.sap_input[b-dh13zz53zt]{padding:.4rem .5rem;border:1px solid #ccc;border-radius:3px}
.sap_input_group[b-dh13zz53zt]{display:flex;align-items:center;gap:.5rem}
.sap_input_btn[b-dh13zz53zt]{background:#f3f3f3;border:1px solid #ddd;padding:.25rem .4rem;border-radius:3px;cursor:pointer}
.sap_dropdown-container[b-dh13zz53zt]{position:relative}
.sap_dropdown-menu[b-dh13zz53zt]{position:absolute;display:none;background:#fff;border:1px solid #ddd;z-index:10;min-width:160px}
.sap_dropdown-menu.show[b-dh13zz53zt]{display:block}
.sap_dropdown-item[b-dh13zz53zt]{padding:.4rem .6rem;cursor:pointer}
.sap_mt-16[b-dh13zz53zt]{margin-top:1rem}
.sap_btn-action[b-dh13zz53zt],.sap_btn[b-dh13zz53zt],.sap_btn-primary[b-dh13zz53zt]{padding:.4rem .6rem;border-radius:4px;border:1px solid #ccc;background:#fff;cursor:pointer}
.sap_btn-primary[b-dh13zz53zt]{background:#0078d4;color:#fff;border-color:#0078d4}
.sap_table-actions-right[b-dh13zz53zt]{display:flex;gap:.5rem;align-items:center}
.curr-scroll-wrapper[b-dh13zz53zt] {
    overflow-x: auto;
    overflow-y: visible;
}

.curr-table[b-dh13zz53zt] {
    min-width: max-content;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    position: relative;
}

/* make sticky action column narrow (target ~35px) */
.curr-sticky-col[b-dh13zz53zt] {
    position: sticky;
    right: 0;
    z-index: 1;
    background: var(--color-surface, #fff);
    box-shadow: -3px 0 6px rgba(0,0,0,0.08);
    white-space: nowrap;
    /* reduced width: half of previous 70px target -> 35px */
    max-width: 70px !important;
}
.sap_btn.sap_primary[b-dh13zz53zt] {
    background: none !important;
    border: none !important;
}
.sap_btn[b-dh13zz53zt] {
    background: none !important;
    border: none !important;
}
/* center header text in actions column */
.curr-sticky-col-header[b-dh13zz53zt] {
    z-index: 1;
    background: var(--color-header-bg, #f5f5f5);
    text-align: center;
    max-width: 70px !important;
}

/* highlight editing row */
.curr-row-editing td[b-dh13zz53zt] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

.curr-row-editing .curr-sticky-col[b-dh13zz53zt] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

/* action cell basics */
.curr-action-cell[b-dh13zz53zt] {
    display: table-cell;
    vertical-align: middle;
    /* reduce padding so cell can shrink */
    padding: 2px 4px;
    gap: 4px;
    text-align: center; /* center everything inside the cell */
    width: 35px;
    min-width: 35px;
    max-width: 35px;
    overflow: visible;
}

/* make action buttons icon-only and remove any background/border/shadow */
.curr-action-cell .sap_btn[b-dh13zz53zt],
.curr-action-cell .sap_btn-primary[b-dh13zz53zt],
.curr-action-cell .curr-row-btn[b-dh13zz53zt] {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 2px !important; /* reduce horizontal margins */
    height: auto !important;
    min-width: 0 !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ensure icon images are block and centered, slightly smaller */
.curr-action-cell img[b-dh13zz53zt] {
    display: block;
    margin: 0 auto;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* slightly larger hit area without visible background (reduced) */
.curr-action-cell .sap_btn[b-dh13zz53zt]::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-left: -28px; /* keep only hit area, not visible */
    pointer-events: none;
    visibility: hidden;
}

/* keep original spacing for rows but avoid text wrapping inside action cell */
.curr-action-cell > *[b-dh13zz53zt] {
    white-space: nowrap;
}

/* small tweak to reduce default .curr-row-btn padding elsewhere */
.curr-row-btn[b-dh13zz53zt] {
    font-size: 12px;
    padding: 0;
    height: auto;
    margin: 0 2px;
}
/* /Components/Pages/BeasMasterDataUI/BeasQsArtikelPage.razor.rz.scp.css */
/* The card fills the page down to the bottom (the wrap is the flexible area under the header) - same as the Quantity Control Workbench. */
.workbench-wrap[b-x710xld2bu] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.workbench-card[b-x710xld2bu] {
    height: auto;
    flex: 1 1 0;
    min-height: 0;
}

/* The plan row's column titles: every title (id column and picked columns alike) reads the same way. */
.qsa-head .col-dynamic[b-x710xld2bu] {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-secondary);
}
/* /Components/Pages/BeasMasterDataUI/BeasQsArtikelTreeRow.razor.rz.scp.css */
/* Every row ends at the same right edge (at least the width of the table), whatever its own columns add up to,
   so the row lines run the full width instead of stopping where each row's columns stop. The minus is the row's indent. */
.qsa-root[b-lbgq52mztu] {
    min-width: 100%;
}

.qsa-node[b-lbgq52mztu] {
    min-width: calc(100% - 2rem);
}

.qsa-subhead[b-lbgq52mztu],
.qsa-leaf[b-lbgq52mztu],
.qsa-empty[b-lbgq52mztu] {
    min-width: calc(100% - 4rem);
}

.qsa-node-name[b-lbgq52mztu] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-on-surface);
    white-space: nowrap;
}

.qsa-count[b-lbgq52mztu] {
    min-width: 1.4rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    border: 1px solid var(--color-outline-variant);
    color: var(--color-secondary);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.1rem;
    text-align: center;
}

/* Column titles of the rows below a node. */
.qsa-subhead[b-lbgq52mztu] {
    cursor: default;
}

.qsa-subhead:hover[b-lbgq52mztu] {
    background: transparent;
}

.qsa-subhead .col-dynamic[b-lbgq52mztu],
.qsa-subhead .id-cell[b-lbgq52mztu] {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-secondary);
}

.qsa-empty[b-lbgq52mztu] {
    box-sizing: border-box;
    padding: 0.55rem 1rem 0.55rem 3rem;
    font-size: 0.8125rem;
    color: var(--color-secondary);
    border-bottom: 1px solid var(--color-outline-variant);
}
/* /Components/Pages/BeasMasterDataUI/BeasReasonForScrapPage.razor.rz.scp.css */
.sap_inner-card[b-qrx40zq3ym]{background:#fff;border:1px solid #e6e6e6;padding:1rem;border-radius:6px}
.sap_section-title[b-qrx40zq3ym]{margin:0 0 .5rem;font-size:1rem;font-weight:600}
.sap_table-actions[b-qrx40zq3ym]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}
.sap_table-no-data[b-qrx40zq3ym]{text-align:center;color:#888;padding:1rem}
.sap_table-wrapper[b-qrx40zq3ym]{overflow-x:auto;width:100%}
.sap-table[b-qrx40zq3ym]{width:100%;border-collapse:collapse;min-width:max-content}
.sap-table th[b-qrx40zq3ym],.sap-table td[b-qrx40zq3ym]{border:1px solid #f0f0f0;padding:.5rem;text-align:left;min-width:160px;white-space:nowrap}
.sap-table th:first-child[b-qrx40zq3ym],.sap-table td:first-child[b-qrx40zq3ym]{min-width:40px;width:40px;text-align:center}
.sap-table th:nth-child(2)[b-qrx40zq3ym],.sap-table td:nth-child(2)[b-qrx40zq3ym]{min-width:50px;width:50px;text-align:center}
.sap_input[b-qrx40zq3ym]{padding:.4rem .5rem;border:1px solid #ccc;border-radius:3px}
.sap_input_group[b-qrx40zq3ym]{display:flex;align-items:center;gap:.5rem}
.sap_input_btn[b-qrx40zq3ym]{background:#f3f3f3;border:1px solid #ddd;padding:.25rem .4rem;border-radius:3px;cursor:pointer}
.sap_dropdown-container[b-qrx40zq3ym]{position:relative}
.sap_dropdown-menu[b-qrx40zq3ym]{position:absolute;display:none;background:#fff;border:1px solid #ddd;z-index:10;min-width:160px}
.sap_dropdown-menu.show[b-qrx40zq3ym]{display:block}
.sap_dropdown-item[b-qrx40zq3ym]{padding:.4rem .6rem;cursor:pointer}
.sap_mt-16[b-qrx40zq3ym]{margin-top:1rem}
.sap_btn-action[b-qrx40zq3ym],.sap_btn[b-qrx40zq3ym],.sap_btn-primary[b-qrx40zq3ym]{padding:.4rem .6rem;border-radius:4px;border:1px solid #ccc;background:#fff;cursor:pointer}
.sap_btn-primary[b-qrx40zq3ym]{background:#0078d4;color:#fff;border-color:#0078d4}
.sap_table-actions-right[b-qrx40zq3ym]{display:flex;gap:.5rem;align-items:center}
.curr-scroll-wrapper[b-qrx40zq3ym] {
    overflow-x: auto;
    overflow-y: visible;
}
.sap_btn.sap_primary[b-qrx40zq3ym] {
    background: none !important;
    border: none !important;
}
.sap_btn[b-qrx40zq3ym] {
    background: none !important;
    border: none !important;
}
.curr-table[b-qrx40zq3ym] {
    min-width: max-content;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    position: relative;
}

/* make sticky action column narrow (target ~35px) */
.curr-sticky-col[b-qrx40zq3ym] {
    position: sticky;
    right: 0;
    z-index: 1;
    background: var(--color-surface, #fff);
    box-shadow: -3px 0 6px rgba(0,0,0,0.08);
    white-space: nowrap;
    /* reduced width: half of previous 70px target -> 35px */
    max-width: 70px !important;
}

/* center header text in actions column */
.curr-sticky-col-header[b-qrx40zq3ym] {
    z-index: 1;
    background: var(--color-header-bg, #f5f5f5);
    text-align: center;
    max-width: 70px !important;
}

/* highlight editing row */
.curr-row-editing td[b-qrx40zq3ym] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

.curr-row-editing .curr-sticky-col[b-qrx40zq3ym] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

/* action cell basics */
.curr-action-cell[b-qrx40zq3ym] {
    display: table-cell;
    vertical-align: middle;
    /* reduce padding so cell can shrink */
    padding: 2px 4px;
    gap: 4px;
    text-align: center; /* center everything inside the cell */
    width: 35px;
    min-width: 35px;
    max-width: 35px;
    overflow: visible;
}

/* make action buttons icon-only and remove any background/border/shadow */
.curr-action-cell .sap_btn[b-qrx40zq3ym],
.curr-action-cell .sap_btn-primary[b-qrx40zq3ym],
.curr-action-cell .curr-row-btn[b-qrx40zq3ym] {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 2px !important; /* reduce horizontal margins */
    height: auto !important;
    min-width: 0 !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ensure icon images are block and centered, slightly smaller */
.curr-action-cell img[b-qrx40zq3ym] {
    display: block;
    margin: 0 auto;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* slightly larger hit area without visible background (reduced) */
.curr-action-cell .sap_btn[b-qrx40zq3ym]::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-left: -28px; /* keep only hit area, not visible */
    pointer-events: none;
    visibility: hidden;
}

/* keep original spacing for rows but avoid text wrapping inside action cell */
.curr-action-cell > *[b-qrx40zq3ym] {
    white-space: nowrap;
}

/* small tweak to reduce default .curr-row-btn padding elsewhere */
.curr-row-btn[b-qrx40zq3ym] {
    font-size: 12px;
    padding: 0;
    height: auto;
    margin: 0 2px;
}
/* /Components/Pages/BeasMasterDataUI/ExcelSheet/BeasMasterDataExcelSheet.razor.rz.scp.css */
.xls-root[b-yv3cojnnzr] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: #f5f6f7;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.xls-toolbar[b-yv3cojnnzr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.xls-toolbar-left[b-yv3cojnnzr] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
}

.xls-toolbar-icon[b-yv3cojnnzr] {
    color: #217346;
}

.xls-toolbar-title[b-yv3cojnnzr] {
    font-weight: 600;
    font-size: 1rem;
}

.xls-toolbar-right[b-yv3cojnnzr] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: auto;
    gap: 0.5rem;
}

.xls-btn[b-yv3cojnnzr] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid #d0d5da;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 0.85rem;
    cursor: pointer;
}

.xls-btn:disabled[b-yv3cojnnzr] {
    cursor: wait;
    opacity: 0.7;
}

.xls-loading-spinner[b-yv3cojnnzr] {
    width: 1rem;
    height: 1rem;
    border: 2px solid #d0d5da;
    border-top-color: #217346;
    border-radius: 50%;
    animation: xls-spin-b-yv3cojnnzr 0.75s linear infinite;
}

@keyframes xls-spin-b-yv3cojnnzr {
    to {
        transform: rotate(360deg);
    }
}

    .xls-btn:hover[b-yv3cojnnzr] {
        background: #eef1f4;
    }

    .xls-btn .material-symbols-outlined[b-yv3cojnnzr] {
        font-size: 1.05rem;
    }

.xls-btn-primary[b-yv3cojnnzr] {
    background: #217346;
    border-color: #217346;
    color: #fff;
}

    .xls-btn-primary:hover[b-yv3cojnnzr] {
        background: #1a5c38;
    }

.xls-formula-bar[b-yv3cojnnzr] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #d0d5da;
    border-radius: 4px;
    padding: 0.35rem 0.6rem;
    min-height: 2rem;
}

.xls-formula-ref[b-yv3cojnnzr] {
    min-width: 2.5rem;
    font-weight: 600;
    color: #217346;
    font-size: 0.8rem;
    border-right: 1px solid #d0d5da;
    padding-right: 0.5rem;
}

.xls-formula-value[b-yv3cojnnzr] {
    font-family: "JetBrains Mono", "Consolas", monospace;
    font-size: 0.8rem;
    color: #333;
    white-space: pre;
    overflow-x: auto;
}

.xls-formula-input[b-yv3cojnnzr] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: "JetBrains Mono", "Consolas", monospace;
    font-size: 0.8rem;
    color: #333;
}

.xls-formula-input[readonly][b-yv3cojnnzr] {
    cursor: default;
    color: #4b5563;
}

.xls-grid-wrap[b-yv3cojnnzr] {
    overflow: auto;
    height: calc(100vh - 210px);
    min-height: 420px;
    border: 1px solid #d0d5da;
    border-radius: 4px;
    background: #fff;
}

.xls-chart-sheet[b-yv3cojnnzr] {
    height: calc(100vh - 210px);
    min-height: 420px;
    padding: 1rem;
    border: 1px solid #d0d5da;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}

.xls-chart-host[b-yv3cojnnzr] {
    position: relative;
    width: 100%;
    height: calc(100% - 2rem);
    min-height: 360px;
}

.xls-sheet-stage[b-yv3cojnnzr] {
    position: relative;
}

.xls-embedded-chart[b-yv3cojnnzr] {
    position: absolute;
    z-index: 20;
    display: flex;
    flex-direction: column;
    min-width: 280px;
    min-height: 180px;
    padding: 1.5rem 0.5rem 0.5rem;
    border: 1px solid #217346;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
    user-select: none;
}

.xls-embedded-chart canvas[b-yv3cojnnzr] {
    flex: 1 1 auto;
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
}

.xls-embedded-chart-title[b-yv3cojnnzr] {
    position: absolute;
    inset: 0 2rem auto 0;
    height: 1.5rem;
    padding: 0.2rem 0.5rem;
    cursor: move;
    color: #217346;
    font-size: 0.8rem;
    font-weight: 600;
}

.xls-embedded-chart-remove[b-yv3cojnnzr] {
    position: absolute;
    top: 0.15rem;
    right: 0.25rem;
    z-index: 2;
    border: 0;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    font-size: 1rem;
}

.xls-embedded-chart-resize[b-yv3cojnnzr] {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0.8rem;
    height: 0.8rem;
    cursor: nwse-resize;
}

.xls-import-chart-backdrop[b-yv3cojnnzr] {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
}

.xls-import-chart-dialog[b-yv3cojnnzr] {
    width: min(420px, calc(100vw - 2rem));
    padding: 1.25rem;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.xls-import-chart-dialog h5[b-yv3cojnnzr] {
    margin: 0 0 1rem;
}

.xls-import-chart-actions[b-yv3cojnnzr] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}

.xls-table[b-yv3cojnnzr] {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    min-width: 100%;
}

.xls-resize-overlay[b-yv3cojnnzr] {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: transparent;
    user-select: none;
}

.xls-resize-overlay.xls-resize-active-col[b-yv3cojnnzr] {
    display: block;
    cursor: col-resize;
}

.xls-resize-overlay.xls-resize-active-row[b-yv3cojnnzr] {
    display: block;
    cursor: row-resize;
}

.xls-corner[b-yv3cojnnzr] {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 3;
    width: 2.75rem;
    min-width: 2.75rem;
    background: #f0f2f4;
    border-right: 1px solid #d0d5da;
    border-bottom: 1px solid #d0d5da;
}

.xls-col-head[b-yv3cojnnzr] {
    position: sticky;
    top: 0;
    z-index: 2;
    width: 9rem;
    min-width: 9rem;
    background: #f0f2f4;
    border-right: 1px solid #d0d5da;
    border-bottom: 1px solid #d0d5da;
    padding: 0.25rem 0.4rem;
    cursor: grab;
    height: 3.1rem;
}

.xls-col-resize-handle[b-yv3cojnnzr] {
    position: absolute;
    top: 0;
    right: -3px;
    width: 7px;
    height: 100%;
    cursor: col-resize;
    z-index: 5;
}

    .xls-col-resize-handle:hover[b-yv3cojnnzr] {
        background: rgba(33, 115, 70, 0.18);
    }

.xls-col-head-row[b-yv3cojnnzr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
}

.xls-col-letter[b-yv3cojnnzr] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6b7280;
}

.xls-col-head-title[b-yv3cojnnzr] {
    display: block;
    width: 100%;
    margin-top: 0.15rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1f2937;
    padding: 0.1rem 0.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-height: 1.1em;
    line-height: 1.1em;
}

.xls-col-virtual-badge[b-yv3cojnnzr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #217346;
    background: #e6f4ec;
    border-radius: 3px;
    padding: 0.05rem 0.3rem;
}

.xls-icon-btn[b-yv3cojnnzr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    line-height: 0;
}

.xls-col-head .xls-icon-btn[b-yv3cojnnzr],
.xls-row-head .xls-icon-btn[b-yv3cojnnzr] {
    opacity: 0;
}

.xls-col-head:hover .xls-icon-btn[b-yv3cojnnzr],
.xls-row-head:hover .xls-icon-btn[b-yv3cojnnzr] {
    opacity: 1;
}

    .xls-icon-btn:hover[b-yv3cojnnzr] {
        color: #217346;
    }

    .xls-icon-btn .material-symbols-outlined[b-yv3cojnnzr] {
        font-size: 1rem;
    }

.xls-row-head[b-yv3cojnnzr] {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 2.75rem;
    min-width: 2.75rem;
    background: #f0f2f4;
    border-right: 1px solid #d0d5da;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
    cursor: grab;
    display: table-cell;
    vertical-align: middle;
}

.xls-row-resize-handle[b-yv3cojnnzr] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 7px;
    cursor: row-resize;
    z-index: 5;
}

    .xls-row-resize-handle:hover[b-yv3cojnnzr] {
        background: rgba(33, 115, 70, 0.18);
    }

.xls-row-number[b-yv3cojnnzr] {
    margin-right: 0;
}

    .xls-row-head .xls-icon-btn[b-yv3cojnnzr] {
        position: absolute;
        right: 1px;
        top: 50%;
        transform: translateY(-50%);
        vertical-align: middle;
    }

        .xls-row-head .xls-icon-btn .material-symbols-outlined[b-yv3cojnnzr] {
            font-size: 0.8rem;
        }

.xls-cell[b-yv3cojnnzr] {
    position: relative;
    width: 9rem;
    min-width: 9rem;
    max-width: 9rem;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.3rem 0.4rem;
    font-size: 0.8rem;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 9rem;
}

.xls-cell-readonly[b-yv3cojnnzr] {
    cursor: default;
}

.xls-cell-editable[b-yv3cojnnzr] {
    cursor: cell;
}

    .xls-cell-editable:hover[b-yv3cojnnzr] {
        background: #f8faf9;
    }

.xls-cell-formula[b-yv3cojnnzr] {
    background: #f3faf6;
}

.xls-cell-selected[b-yv3cojnnzr] {
    outline: 2px solid #217346;
    outline-offset: -2px;
}

.xls-cell-in-selection[b-yv3cojnnzr] {
    background: #dcefe3;
}

/* Distinct color from xls-cell-selected (green) so an actively-edited cell is visually
   unmistakable from a merely-selected one - declared after it so it wins when both classes are on
   the same cell (which is normally the case, since editing implies selected). */
.xls-cell-editing[b-yv3cojnnzr] {
    outline: 2px solid #1a73e8;
    outline-offset: -2px;
    background: #fff;
}

.xls-cell-checkbox[b-yv3cojnnzr] {
    margin-right: 0.3rem;
}

.xls-fill-handle[b-yv3cojnnzr] {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 7px;
    height: 7px;
    background: #217346;
    border: 1px solid #fff;
    cursor: crosshair;
}

.xls-cell-input[b-yv3cojnnzr] {
    width: 100%;
    border: none;
    outline: none;
    font-size: 0.8rem;
    font-family: "JetBrains Mono", "Consolas", monospace;
    background: #fff;
}

/* Render-only padding past a sheet's real rows/columns so it visually fills the screen even with
   little data (see BeasMasterDataExcelSheet's MinDisplayRows/Cols) - never interactive. */
.xls-col-head-filler[b-yv3cojnnzr] {
    width: 9rem;
    min-width: 9rem;
    max-width: 9rem;
    cursor: default;
}

.xls-row-head-filler[b-yv3cojnnzr] {
    cursor: default;
}

.xls-cell-filler[b-yv3cojnnzr] {
    width: 9rem;
    min-width: 9rem;
    max-width: 9rem;
    background: #fff;
    cursor: default;
}

.xls-tabs[b-yv3cojnnzr] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.25rem 0;
    flex-wrap: wrap;
}

.xls-tab[b-yv3cojnnzr] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    border: 1px solid #d0d5da;
    border-radius: 4px 4px 0 0;
    background: #eef1f4;
    color: #555;
    font-size: 0.8rem;
    cursor: pointer;
}

.xls-tab-active[b-yv3cojnnzr] {
    background: #fff;
    color: #217346;
    font-weight: 600;
    border-color: #217346;
}

.xls-tab-name[b-yv3cojnnzr] {
    white-space: nowrap;
}

.xls-tab-close[b-yv3cojnnzr] {
    color: #9ca3af;
}

.xls-tab-rename[b-yv3cojnnzr] {
    color: #6c757d;
}
.xls-col-fixed-rowhead[b-yv3cojnnzr] {
    width: 2.75rem;
}

.xls-col-fixed-cell[b-yv3cojnnzr] {
    width: 9rem;
}

.xls-tab-add[b-yv3cojnnzr] {
    border: 1px dashed #d0d5da;
    border-radius: 4px;
    padding: 0.3rem 0.5rem;
    color: #217346;
}

    .xls-tab-rename .material-symbols-outlined[b-yv3cojnnzr],
    .xls-tab-close .material-symbols-outlined[b-yv3cojnnzr],
    .xls-tab-add .material-symbols-outlined[b-yv3cojnnzr] {
        font-size: 0.85rem;
    }
.xls-cell-range[b-yv3cojnnzr] {
    background: #c6efce;
}
/* /Components/Pages/BeasMasterDataUI/ExcelSheet/ExcelChartConfigModal.razor.rz.scp.css */
.exc-body[b-1kcocrqdw4] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.25rem;
}

.exc-source-row[b-1kcocrqdw4] {
    display: flex;
    align-items: end;
    gap: 1rem;
}

.exc-source-field[b-1kcocrqdw4] {
    flex: 1;
}

.exc-header-check[b-1kcocrqdw4] {
    min-height: 2.25rem;
}

.exc-grid[b-1kcocrqdw4] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.exc-field[b-1kcocrqdw4] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: #1f2937;
    font-size: 0.9rem;
}

.exc-section[b-1kcocrqdw4] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.exc-title[b-1kcocrqdw4] {
    font-weight: 600;
    color: #1f2937;
}

.exc-series-list[b-1kcocrqdw4] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    max-height: 13rem;
    overflow-y: auto;
    padding: 0.6rem;
    border: 1px solid #d0d5da;
    border-radius: 4px;
    background: #f8fafc;
}

.exc-series-item[b-1kcocrqdw4],
.exc-check[b-1kcocrqdw4] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #1f2937;
}

.exc-options[b-1kcocrqdw4],
.exc-footer[b-1kcocrqdw4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.exc-axis[b-1kcocrqdw4] {
    width: 10rem;
}

.exc-error[b-1kcocrqdw4] {
    color: #b42318;
    font-size: 0.85rem;
}

@media (max-width: 640px) {
    .exc-source-row[b-1kcocrqdw4] {
        align-items: stretch;
        flex-direction: column;
    }

    .exc-grid[b-1kcocrqdw4],
    .exc-series-list[b-1kcocrqdw4] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/BeasMasterDataUI/ExcelSheet/PivotTableConfigModal.razor.rz.scp.css */
.ptc-body[b-4b447pe8xp] {
    text-align: left;
    padding: 0.25rem 0.5rem 0.5rem;
}

.ptc-source-row[b-4b447pe8xp] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.ptc-source-label[b-4b447pe8xp] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

.ptc-source-select[b-4b447pe8xp] {
    flex: 0 1 20rem;
    padding: 0.3rem 0.5rem;
    border: 1px solid #d0d5da;
    border-radius: 4px;
    font-size: 0.85rem;
}

.ptc-header-row-toggle[b-4b447pe8xp] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #444;
    cursor: pointer;
    white-space: nowrap;
}

.ptc-layout[b-4b447pe8xp] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.ptc-available-col[b-4b447pe8xp] {
    flex: 0 0 16rem;
    border: 1px solid #d0d5da;
    border-radius: 4px;
    background: #fafbfc;
}

.ptc-buckets-col[b-4b447pe8xp] {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.ptc-col-title[b-4b447pe8xp], .ptc-bucket-title[b-4b447pe8xp] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid #e5e5e5;
    background: #f0f2f4;
}

.ptc-available-list[b-4b447pe8xp] {
    max-height: 22rem;
    overflow-y: auto;
}

.ptc-field-row[b-4b447pe8xp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    padding: 0.35rem 0.6rem;
    border-bottom: 1px solid #eee;
}

.ptc-field-name[b-4b447pe8xp] {
    font-size: 0.82rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.ptc-field-actions[b-4b447pe8xp] {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.ptc-chip-btn[b-4b447pe8xp] {
    border: 1px solid #d0d5da;
    background: #fff;
    color: #217346;
    border-radius: 3px;
    font-size: 0.68rem;
    padding: 0.15rem 0.4rem;
    cursor: pointer;
    white-space: nowrap;
}

    .ptc-chip-btn:hover:not(:disabled)[b-4b447pe8xp] {
        background: #e6f2ec;
    }

    .ptc-chip-btn:disabled[b-4b447pe8xp] {
        color: #aaa;
        cursor: not-allowed;
    }

.ptc-bucket[b-4b447pe8xp] {
    border: 1px solid #d0d5da;
    border-radius: 4px;
    background: #fff;
    min-height: 6rem;
}

.ptc-bucket-empty[b-4b447pe8xp] {
    padding: 0.6rem;
    font-size: 0.78rem;
    color: #888;
    font-style: italic;
}

.ptc-bucket-item[b-4b447pe8xp] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.6rem;
    border-bottom: 1px solid #eee;
}

.ptc-bucket-item-label[b-4b447pe8xp] {
    flex: 1;
    font-size: 0.82rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ptc-bucket-item-actions[b-4b447pe8xp] {
    display: flex;
    gap: 0.15rem;
    flex-shrink: 0;
}

.ptc-icon-btn[b-4b447pe8xp] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 3px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

    .ptc-icon-btn:hover:not(:disabled)[b-4b447pe8xp] {
        background: #eef1f4;
    }

    .ptc-icon-btn:disabled[b-4b447pe8xp] {
        color: #ccc;
        cursor: not-allowed;
    }

    .ptc-icon-btn .material-symbols-outlined[b-4b447pe8xp] {
        font-size: 1rem;
    }

.ptc-agg-select[b-4b447pe8xp] {
    font-size: 0.75rem;
    padding: 0.15rem 0.3rem;
    border: 1px solid #d0d5da;
    border-radius: 3px;
    flex-shrink: 0;
}

.ptc-filter-item[b-4b447pe8xp] {
    flex-direction: column;
    align-items: stretch;
}

.ptc-filter-item-header[b-4b447pe8xp] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
}

.ptc-filter-count[b-4b447pe8xp] {
    font-size: 0.72rem;
    color: #888;
    flex-shrink: 0;
}

.ptc-filter-values[b-4b447pe8xp] {
    max-height: 8rem;
    overflow-y: auto;
    margin-top: 0.3rem;
    padding-left: 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ptc-filter-value-row[b-4b447pe8xp] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: #444;
    cursor: pointer;
}

.ptc-footer[b-4b447pe8xp] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    width: 100%;
}

.ptc-btn[b-4b447pe8xp] {
    padding: 0.4rem 0.9rem;
    border: 1px solid #d0d5da;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 0.85rem;
    cursor: pointer;
}

    .ptc-btn:hover:not(:disabled)[b-4b447pe8xp] {
        background: #eef1f4;
    }

.ptc-btn-primary[b-4b447pe8xp] {
    background: #217346;
    border-color: #217346;
    color: #fff;
}

    .ptc-btn-primary:hover:not(:disabled)[b-4b447pe8xp] {
        background: #1a5c38;
    }

    .ptc-btn-primary:disabled[b-4b447pe8xp] {
        background: #9cbfae;
        border-color: #9cbfae;
        cursor: not-allowed;
    }

@media (max-width: 900px) {
    .ptc-layout[b-4b447pe8xp] {
        flex-direction: column;
    }

    .ptc-available-col[b-4b447pe8xp] {
        flex: 1 1 auto;
        width: 100%;
    }

    .ptc-buckets-col[b-4b447pe8xp] {
        grid-template-columns: 1fr;
        width: 100%;
    }
}
/* /Components/Pages/BeasMasterDataUI/ListType/BeasMasterDataListType.razor.rz.scp.css */
/* select.sap_input (sapui_custom.css) strips the native dropdown arrow (appearance:none) without
   drawing its own, so an edit-mode Mapping/ItemsForSelect dropdown here rendered with no visible
   arrow at all - add one back, scoped to just this component's selects. It also sets padding:8px
   on all sides while height stays a fixed 1.625rem (26px, border-box) - 16px of vertical padding
   plus the 2px border leaves only 8px for a 14px-tall line of text, clipping the selected option
   down to its descenders ("Yes" rendering as a sliver). Cut the vertical padding instead so the
   selected value shows in full.
*/
.sap_input--select[b-z4i6jyk33l] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23556b82'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding: 3px 24px 3px 8px !important;
    line-height: 1.3 !important;
}
.sap_btn.sap_primary[b-z4i6jyk33l] {
    background: none !important;
    border: none !important;
}
.sap_btn[b-z4i6jyk33l] {
    background: none !important;
    border: none !important;
}
.sap_checkbox_label[b-z4i6jyk33l] {
    margin-left: 0.4rem;
    vertical-align: middle;
}
.beas-attach-cell-btn[b-z4i6jyk33l] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    border-radius: 3px;
    padding: 0.15rem 0.5rem;
    color: #0070f2;
    font-size: 0.8125rem;
    cursor: pointer;
}
.beas-attach-cell-btn .material-symbols-outlined[b-z4i6jyk33l] {
    font-size: 1rem;
}
.beas-attach-cell-btn:disabled[b-z4i6jyk33l] {
    color: #999;
    border-color: #ddd;
    cursor: not-allowed;
}
.beas-icon-edit-cell[b-z4i6jyk33l] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.beas-icon-edit-stack[b-z4i6jyk33l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    cursor: pointer;
}
.beas-icon-edit-preview[b-z4i6jyk33l] {
    height: 22px;
    width: 22px;
    object-fit: contain;
    border: 1px solid #babbbb;
    border-radius: 0.25rem;
    flex-shrink: 0;
    cursor: pointer;
}
.beas-icon-edit-placeholder[b-z4i6jyk33l] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    width: 22px;
    font-size: 1.1rem;
    color: #999;
    border: 1px dashed #babbbb;
    border-radius: 0.25rem;
    flex-shrink: 0;
    cursor: pointer;
}
.beas-icon-edit-delete-btn[b-z4i6jyk33l] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.3rem;
    height: 1.3rem;
    padding: 0;
    border: 1px solid #babbbb;
    border-radius: 0.25rem;
    background: #fff;
    color: #888;
    cursor: pointer;
}
.beas-icon-edit-delete-btn:hover[b-z4i6jyk33l] {
    border-color: #dc3545;
    color: #dc3545;
}
.beas-icon-edit-delete-btn .material-symbols-outlined[b-z4i6jyk33l] {
    font-size: 0.9rem;
}
/* /Components/Pages/BeasMasterDataUI/ListView/BeasMasterDataListView.razor.rz.scp.css */
/* Flat CSS-grid "card" list, same visual language as AppQueryViewV2's WoBench mode
   (appQueryWobench* in AppQueryViewV2.razor.css) - kept as this component's own isolated copy
   under bmdlv* names rather than shared (Blazor CSS isolation scopes per component file; see
   .claude/docs/CSS_ISOLATION_EXCEPTIONS.md), same convention as ManageWorkOrder.js/
   QuantityControlWorkbench.js each keeping their own independent copy of this kind of grid CSS/JS. */
/* Plain white, no panel treatment (no border-radius/shadow) - .bmdlvCard below already carries its
   own border/shadow/rounded corners. Padding matches AppQueryViewV2's TOTAL rendered gap, not just
   its own .appQueryWobenchWrap value - AppQueryViewV2 runs under PageNestedLayout, whose own
   wrapper div (PageNestedLayout.razor's ".styleContentPageLayout"/"#content-container") already
   contributes "padding:0 3rem" + "padding-top:2rem" + "padding-bottom:30px" before
   appQueryWobenchWrap's own "0 0.375rem" ever applies. AppMasterDataRenderPage instead runs under
   SAPBaseLayout, which is just "@Body" with no padding of its own, so this wrapper has to supply
   that whole layout contribution itself to end up with the same total gap. */
.bmdlvWrap[b-0tedir6rtx] {
    background-color: #fff;
    padding: 2rem 3.375rem 1.875rem 3.375rem;
}

/* appQueryWobenchPageHeader/appQueryWobenchPageTitle/appQueryWobenchPageDivider/
   appQueryWobenchFilterInline/appQueryWobenchFilterButton, copied 1:1 from AppQueryViewV2's own
   WoBench mode - big title + divider on the left, a single free-text search box + button on the
   right, replacing SearchBarSAP's per-field filter bar. */
.bmdlvPageHeader[b-0tedir6rtx] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.25rem;
    padding: 0 0.375rem 0.625rem;
}

.bmdlvPageTitle[b-0tedir6rtx] {
    margin: 0;
    color: #191c1e;
    font-family: Arial, sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-align: left;
}

.bmdlvPageDivider[b-0tedir6rtx] {
    margin: 0.35rem 0 0.15rem;
    border-top: 2px solid #d9dde4;
    padding-top: 1rem;
}

/* Two children: .bmdlvSearchBoxes (flex:1, wraps internally) then .bmdlvFilterActions (fixed
   width, never wraps) - this row itself never wraps as a whole, so the buttons always stay on
   the first line. flex:1/min-width:0 on this row lets it fill the rest of .bmdlvPageHeader's
   width so .bmdlvSearchBoxes has a real width to wrap against. margin-top gives the row its own
   breathing room below the title/divider block above so a wrap never visually collides with it. */
.bmdlvFilterInline[b-0tedir6rtx] {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 0.25rem;
}

/* row-reverse packs boxes from the right edge of this sub-container and grows leftward as more
   are added (in field order, so the first searchable field ends up closest to the buttons);
   flex-wrap keeps that same right-packing behavior on any overflow line, so a wrapped box lands
   under whichever box is currently rightmost rather than under the Filter/Search buttons (those
   live in the separate, non-wrapping .bmdlvFilterActions sibling). flex:1/min-width:0 makes this
   take exactly the space left over after .bmdlvFilterActions in the row above. */
.bmdlvSearchBoxes[b-0tedir6rtx] {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
    flex: 1 1 auto;
    min-width: 0;
}

.bmdlvSearchInput[b-0tedir6rtx] {
    flex: 0 0 auto;
    width: 11.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.375rem;
    color: #191c1e;
    font-weight: 600;
    box-sizing: border-box;
}

.bmdlvSearchInput[b-0tedir6rtx]::placeholder {
    color: #c3c6d7;
}

/* flex-shrink:0 keeps this at its natural width so .bmdlvSearchBoxes' flex:1 sibling absorbs all
   the wrapping instead - this group always stays put on the first line. */
.bmdlvFilterActions[b-0tedir6rtx] {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    flex-shrink: 0;
}

.bmdlvFilterButton[b-0tedir6rtx] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-shrink: 0;
    height: 2.5rem;
    padding: 0 0.9rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.375rem;
    background: #f3f4f6;
    color: #191c1e;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color .15s;
}

.bmdlvFilterButton:hover[b-0tedir6rtx] {
    background: #e7e8ea;
}

.bmdlvFilterButton .material-symbols-outlined[b-0tedir6rtx] {
    font-size: 1.125rem;
}

.bmdlvCard[b-0tedir6rtx] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 250px);
    min-height: 0;
    background: #fff;
    border: 1px solid #c3c6d7;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* appQueryWobenchHeaderActions/appQueryWobenchSettingsButton, copied 1:1 from AppQueryViewV2's own
   WoBench mode - the settings gear floats over the header bar's right edge. */
.bmdlvHeaderActions[b-0tedir6rtx] {
    position: absolute;
    top: 0.35rem;
    right: 0.5rem;
    z-index: 10;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.25rem;
    padding: 0 0.75rem;
    background: #f3f4f6;
    border-left: 1px solid #c3c6d7;
    pointer-events: auto;
}

.bmdlvSettingsButton[b-0tedir6rtx] {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #004ac6;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}

.bmdlvSettingsButton:hover[b-0tedir6rtx] {
    background: #e7e8ea;
    color: #004ac6;
}

.bmdlvSettingsButton .material-symbols-outlined[b-0tedir6rtx] {
    font-size: 1.125rem;
}

/* Own horizontal scroll (hidden scrollbar), separate from .bmdlvTableScroll's - the header sits
   outside the vertically-scrolling body (no position:sticky needed), and BeasMasterDataListView.js
   keeps this in horizontal lockstep with the body by mirroring its scrollLeft on every body scroll
   event. */
.bmdlvHeaderBar[b-0tedir6rtx] {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
    background: #f3f4f6;
    border-bottom: 1px solid #c3c6d7;
    overflow-x: auto;
    scrollbar-width: none;
}

.bmdlvHeaderBar[b-0tedir6rtx]::-webkit-scrollbar {
    display: none;
}

.bmdlvHeaderRow[b-0tedir6rtx],
.bmdlvRow[b-0tedir6rtx] {
    display: grid;
    align-items: center;
    min-width: max-content;
}

.bmdlvHeaderRow[b-0tedir6rtx] {
    flex: 0 0 auto;
    min-width: max-content;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.bmdlvColumnHeader[b-0tedir6rtx] {
    position: relative;
    min-width: 80px;
    min-height: 1.8rem;
    overflow: hidden;
    padding: 0 0.625rem 0 0.375rem;
    color: #505f76;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    /* Marks where each column ends so the resize handle overlapping this edge (see
       .bmdlvResizeHandle, otherwise invisible until hovered) is easy to find and drag. */
    border-right: 2px solid #9aa4b5;
}

.bmdlvColumnHeader:first-child[b-0tedir6rtx] {
    padding-left: calc(0.375rem + 0.5rem);
}

.bmdlvColumnHeader:last-child[b-0tedir6rtx] {
    padding-right: calc(0.625rem + 0.5rem);
    border-right: none;
}

.bmdlvResizeHandle[b-0tedir6rtx] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 0.5rem;
    cursor: col-resize;
}

.bmdlvResizeHandle:hover[b-0tedir6rtx] {
    background: #9aa4b5;
}

.bmdlvTableScroll[b-0tedir6rtx] {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: auto;
    scrollbar-color: #c3c6d7 transparent;
    scrollbar-width: thin;
}

.bmdlvBody[b-0tedir6rtx] {
    width: max-content;
    min-width: 100%;
    background: #fff;
}

.bmdlvRow[b-0tedir6rtx] {
    min-height: 2.2rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #c3c6d7;
    color: #191c1e;
    transition: background .15s;
}

.bmdlvRow:hover[b-0tedir6rtx] {
    background: #f8f9fb;
}

.bmdlvCell[b-0tedir6rtx] {
    min-width: 0;
    overflow: hidden;
    padding: 0 0.375rem;
    font-size: 0.9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bmdlvCell:first-child[b-0tedir6rtx] {
    padding-left: calc(0.375rem + 0.5rem);
}

.bmdlvCell:last-child[b-0tedir6rtx] {
    padding-right: calc(0.375rem + 0.5rem);
}

/* Frozen (sticky) columns - see FrozenColumnCount/GetFreezeStyle. Needs an opaque background so
   horizontally-scrolled content doesn't show through underneath the pinned cell; tinted blue like a
   selected/active state (same palette as ColumnPickerModal's own .active buttons and SAP's
   .sap-frozen-col). An inset box-shadow (not `border`) marks the boundary since a plain border on a
   position:sticky cell tends to visually disappear at the sticky edge. */
.bmdlvColumnHeader.bmdlvFrozenCell[b-0tedir6rtx] {
    background: #d0e1fb;
}

.bmdlvCell.bmdlvFrozenCell[b-0tedir6rtx] {
    background: #e8f4ff;
}

.bmdlvRow:hover .bmdlvCell.bmdlvFrozenCell[b-0tedir6rtx] {
    background: #d9ecff;
}

.bmdlvFrozenCellLast[b-0tedir6rtx] {
    box-shadow: inset -1px 0 0 #9cc2f2, inset -3px 0 0 rgba(0, 74, 198, 0.45);
}

.bmdlvLoadingCell[b-0tedir6rtx] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 8rem;
    color: #505f76;
    font-size: 0.8125rem;
}

.bmdlvFooter[b-0tedir6rtx] {
    flex-shrink: 0;
    padding: 0.5rem 1.5rem;
    background: #f3f4f6;
    border-top: 1px solid #c3c6d7;
    color: #505f76;
    font-size: 0.8125rem;
}

.bmdlvFooter strong[b-0tedir6rtx] {
    color: #191c1e;
}
/* /Components/Pages/BeasMasterDataUI/ManageList/BeasMasterDataManageList.razor.rz.scp.css */
/* .sap-checkbox (format-driven Checkbox column) inherits app.css's global "input, select, button"
   rule (padding-left/right, border, background) meant for text inputs - that inflates its
   border-box and, combined with the default baseline vertical-align, makes the checkbox render
   noticeably higher than its .sap_checkbox_label text ("Yes"/"No"). Reset those and center both
   on the line so the checkbox sits level with its label. */
.sap-checkbox[b-c1swjxreuc] {
    padding: 0;
    border: none;
    background: none;
    vertical-align: middle;
}
.sap_checkbox_label[b-c1swjxreuc] {
    margin-left: 0.4rem;
    vertical-align: middle;
}
/* /Components/Pages/BeasMasterDataUI/SAPBench/BeasMasterDataSAPBenchDetail.razor.rz.scp.css */
/* Header bar styles - same as SubHeaderSAP.razor.css (used by SaleOrderDI etc). Isolated CSS only
   reaches markup written in the owning .razor, so this component's own copy of the header needs its own rules. */

.sap_action-header[b-k9dplyvrxw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    background: transparent;
    gap: 12px;
}

.sap_action-left[b-k9dplyvrxw] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_item-code[b-k9dplyvrxw] {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #333;
    margin-right: 15px;
    margin-left: 15px;
}

.sap_nav-btn[b-k9dplyvrxw] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

.sap_nav-btn:hover:not(:disabled)[b-k9dplyvrxw] {
    background: #e9ecef;
    border-color: #adb5bd;
}

.sap_nav-btn:disabled[b-k9dplyvrxw] {
    opacity: 0.5;
    cursor: not-allowed;
}

.sap_action-right[b-k9dplyvrxw] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.sap_btn-primary[b-k9dplyvrxw] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

    .sap_btn-primary:hover:not(:disabled)[b-k9dplyvrxw] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }

.sap_btn-white[b-k9dplyvrxw] {
    color: #0064D9;
    font-size: 1rem;
    font-weight: 530;
    border-radius: 10px;
    border: none;
    background: transparent;
}

    .sap_btn-white:hover:not(:disabled)[b-k9dplyvrxw] {
        background: #f5f5f5;
    }

    .sap_btn-white:disabled[b-k9dplyvrxw] {
        opacity: 0.5;
        cursor: not-allowed;
    }
/* /Components/Pages/ChatbotAI/ChatbotCopilotPage.razor.rz.scp.css */
.chatbot-host[b-s4eaozsvcc] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* dvh tracks the mobile browser's collapsing address bar; vh above is the fallback */
    height: 100dvh;
    overflow: hidden;
}
/* /Components/Pages/ChatbotAI/ChatbotPage.razor.rz.scp.css */
.chatbot-page[b-t05zi1lhm7] {
    display: flex;
    gap: 24px;
    height: calc(100vh - 140px);
    padding: 24px;
    font-family: -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    box-sizing: border-box;
    background: #f8fafc;
}

.chatbot-page--disabled[b-t05zi1lhm7] {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #64748b;
    text-align: center;
}

.chatbot-page--disabled i[b-t05zi1lhm7] {
    font-size: 40px;
    color: #94a3b8;
}

.chat-panel[b-t05zi1lhm7] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    min-width: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.chat-panel-header[b-t05zi1lhm7] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(90deg, #581c87, #3730a3);
    color: #ffffff;
    flex-shrink: 0;
}

.chat-panel-header-icon[b-t05zi1lhm7] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.chat-panel-header h3[b-t05zi1lhm7] {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-panel-header p[b-t05zi1lhm7] {
    margin: 0;
    font-size: 11px;
    color: #ddd6fe;
}

.chat-messages[b-t05zi1lhm7] {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f8fafc;
}

.chat-message[b-t05zi1lhm7] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 80%;
}

.chat-message--bot[b-t05zi1lhm7] {
    align-self: flex-start;
}

.chat-message--user[b-t05zi1lhm7] {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-avatar[b-t05zi1lhm7] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 11px;
    flex-shrink: 0;
}

.chat-avatar--bot[b-t05zi1lhm7] {
    background: #9333ea;
}

.chat-bubble[b-t05zi1lhm7] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 20px;
    color: #1e293b;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.chat-message--user .chat-bubble[b-t05zi1lhm7] {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.chat-typing[b-t05zi1lhm7] {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 12px 16px;
}

.chat-typing span[b-t05zi1lhm7] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
    animation: chat-typing-bounce-b-t05zi1lhm7 1s infinite ease-in-out;
}

.chat-typing span:nth-child(2)[b-t05zi1lhm7] { animation-delay: 0.15s; }
.chat-typing span:nth-child(3)[b-t05zi1lhm7] { animation-delay: 0.3s; }

@keyframes chat-typing-bounce-b-t05zi1lhm7 {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.6; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.chat-input-row[b-t05zi1lhm7] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
    flex-shrink: 0;
}

.chat-input[b-t05zi1lhm7] {
    flex: 1;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

.chat-input:focus[b-t05zi1lhm7] {
    border-color: #9333ea;
}

.chat-send-button[b-t05zi1lhm7] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #9333ea;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.chat-send-button:hover:not(:disabled)[b-t05zi1lhm7] {
    background: #7e22ce;
}

.chat-send-button:disabled[b-t05zi1lhm7] {
    background: #cbd5e1;
    cursor: not-allowed;
}

.chat-suggestions[b-t05zi1lhm7] {
    width: 280px;
    flex-shrink: 0;
}

.chat-suggestions-card[b-t05zi1lhm7] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.chat-suggestions-card h4[b-t05zi1lhm7] {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-suggestions-card h4 i[b-t05zi1lhm7] {
    color: #f59e0b;
}

.chat-suggestion-item[b-t05zi1lhm7] {
    text-align: left;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
}

.chat-suggestion-item:hover:not(:disabled)[b-t05zi1lhm7] {
    border-color: #d8b4fe;
    color: #7e22ce;
    background: #faf5ff;
}

.chat-suggestion-item:disabled[b-t05zi1lhm7] {
    opacity: 0.6;
    cursor: not-allowed;
}
/* /Components/Pages/ChatbotAI/ChatWeb.razor.rz.scp.css */

<style >
.chatbot-container[b-0ww4utmf20] {
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    animation: slideUp-b-0ww4utmf20 0.5s ease-out;
}

@keyframes slideUp-b-0ww4utmf20 {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header[b-0ww4utmf20] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    min-height: 120px;
}

.language-selector[b-0ww4utmf20] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

    .language-selector select[b-0ww4utmf20] {
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.5);
        text-align: center;
        text-align-last: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border-radius: 8px;
        padding: 8px 12px;
        color: #333;
        font-size: 0.9rem;
        font-weight: 500;
        min-width: 80px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
.gantt-button[b-0ww4utmf20] {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    transition: all 0.3s ease;
}

    .gantt-button:hover[b-0ww4utmf20] {
        background: #218838;
        transform: scale(1.1);
    }

    .gantt-button:disabled[b-0ww4utmf20] {
        background: #6c757d;
        cursor: not-allowed;
        transform: none;
    }

.gantt-mode[b-0ww4utmf20] {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

.language-label[b-0ww4utmf20] {
    color: white;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.language-section[b-0ww4utmf20] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.apply-button[b-0ww4utmf20], .extract-button[b-0ww4utmf20] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header-logo[b-0ww4utmf20] {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    padding: 5px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

    .header-logo.sap-logo[b-0ww4utmf20] {
        width: 180px;
        height: 100px;
    }

.header-center[b-0ww4utmf20] {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.chat-status[b-0ww4utmf20] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.status-dot[b-0ww4utmf20] {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse-b-0ww4utmf20 2s infinite;
}

.language-display[b-0ww4utmf20] {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 2px;
    color: white;
}

.chat-messages[b-0ww4utmf20] {
    height: 400px;
    padding: 20px;
    overflow-y: auto;
    background: #f8fafc;
    background-image: radial-gradient(circle at 25px 25px, rgba(255,255,255,0.8) 2px, transparent 0), radial-gradient(circle at 75px 75px, rgba(255,255,255,0.8) 2px, transparent 0);
    background-size: 100px 100px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.message[b-0ww4utmf20] {
    margin-bottom: 15px;
    animation: messageSlide-b-0ww4utmf20 0.3s ease-out;
}

.user-message[b-0ww4utmf20] {
    text-align: right;
}

    .user-message .message-bubble[b-0ww4utmf20] {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 12px 16px;
        border-radius: 18px 18px 5px 18px;
        display: inline-block;
        max-width: 80%;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        position: relative;
        word-wrap: break-word;
        white-space: pre-wrap;
    }

.bot-message .message-bubble[b-0ww4utmf20] {
    background: white;
    color: #334155;
    padding: 12px 16px;
    border-radius: 18px 18px 18px 5px;
    display: inline-block;
    max-width: 80%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    position: relative;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.message-time[b-0ww4utmf20] {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 5px;
}

.typing-indicator[b-0ww4utmf20] {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-radius: 18px 18px 18px 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    max-width: 80px;
}

.typing-dots[b-0ww4utmf20] {
    display: flex;
    gap: 4px;
}

.typing-dot[b-0ww4utmf20] {
    width: 8px;
    height: 8px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typing-b-0ww4utmf20 1.4s infinite ease-in-out;
}

    .typing-dot:nth-child(1)[b-0ww4utmf20] {
        animation-delay: -0.32s;
    }

    .typing-dot:nth-child(2)[b-0ww4utmf20] {
        animation-delay: -0.16s;
    }

@keyframes typing-b-0ww4utmf20 {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-input-container[b-0ww4utmf20] {
    padding: 20px;
    background: #eef2ff;
    border-top: 1px solid #e2e8f0;
}

.file-upload-container[b-0ww4utmf20] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.file-preview[b-0ww4utmf20] {
    background: #f0f9ff;
    border: 1px solid #7dd3fc;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    max-width: 150px;
}

.remove-file-btn[b-0ww4utmf20] {
    background: #e5e7eb;
    color: #6b7280;
    border: none;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: absolute;
    top: -5px;
    right: -5px;
}

.input-wrapper[b-0ww4utmf20] {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border-radius: 25px;
    padding: 8px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

    .input-wrapper:focus-within[b-0ww4utmf20] {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

.chat-input[b-0ww4utmf20] {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-size: 1rem;
    background: transparent;
    color: #334155;
    font-family: inherit;
}

.file-button[b-0ww4utmf20], .send-button[b-0ww4utmf20] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.welcome-message[b-0ww4utmf20] {
    text-align: center;
    color: #64748b;
    padding: 40px 20px;
    font-style: italic;
}

    .welcome-message i[b-0ww4utmf20] {
        font-size: 3rem;
        color: #cbd5e1;
        margin-bottom: 15px;
        display: block;
    }

.quick-actions[b-0ww4utmf20] {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.quick-action[b-0ww4utmf20] {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 6px 12px;
    font-size: 0.8rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .quick-action:hover[b-0ww4utmf20] {
        background: #667eea;
        color: white;
        transform: translateY(-1px);
    }

.new-chat-button[b-0ww4utmf20] {
    background: #f59e0b;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.8rem;
    margin: 10px auto;
    display: block;
    transition: all 0.2s ease;
}

    .new-chat-button:hover[b-0ww4utmf20] {
        background: #d97706;
        transform: translateY(-1px);
    }

.session-info[b-0ww4utmf20] {
    background: #f0f9ff;
    border: 1px solid #7dd3fc;
    color: #0369a1;
    padding: 8px 12px;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 0.8rem;
    text-align: center;
}

@keyframes pulse-b-0ww4utmf20 {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@keyframes messageSlide-b-0ww4utmf20 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .chat-header[b-0ww4utmf20] {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        text-align: center;
    }

    .header-logo[b-0ww4utmf20] {
        width: 80px;
        height: 80px;
    }

        .header-logo.sap-logo[b-0ww4utmf20] {
            width: 140px;
            height: 80px;
        }

    .language-selector[b-0ww4utmf20] {
        order: -1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .chatbot-container[b-0ww4utmf20] {
        margin: 20px 10px;
        max-width: none;
    }

    .chat-messages[b-0ww4utmf20] {
        height: 300px;
    }

    .chat-header[b-0ww4utmf20] {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .header-logo[b-0ww4utmf20] {
        width: 60px;
        height: 60px;
    }

        .header-logo.sap-logo[b-0ww4utmf20] {
            width: 120px;
            height: 60px;
        }

    .chat-header h3[b-0ww4utmf20] {
        font-size: 1.2rem;
    }

    .language-selector select[b-0ww4utmf20] {
        min-width: 70px;
        font-size: 0.8rem;
        padding: 6px 8px;
    }

    .apply-button[b-0ww4utmf20] {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

</style[b-0ww4utmf20] >
/* /Components/Pages/CostCalculation/CostBomTree.razor.rz.scp.css */
/* Look of the Product Tree of /SAP/ItemBomRouting (wwwroot/css/itemBomRouting.css: .ibr-tree-*), as a window like the GRPO one of the page.
   Under the Journal Entry popover (9999), over the table; a click on the backdrop closes it. */
.cbt-backdrop[b-9tzpy66lho] {
    position: fixed;
    inset: 0;
    z-index: 9000;
}

.cbt-window[b-9tzpy66lho] {
    position: fixed;
    z-index: 9001;
    max-height: 460px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #dde3ef;
    border-radius: var(--radius-sm, 0.375rem);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
}

.cbt-head[b-9tzpy66lho] {
    padding: 8px 12px;
    background: #f8faff;
    border-bottom: 1px solid #dde3ef;
}

.cbt-title[b-9tzpy66lho] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a202c;
}

/* The one scroller (both ways). costBomTree.js sets --cbt-c0..4 on it when a header edge is dragged, so every row follows. */
.cbt-scroll[b-9tzpy66lho] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.cbt-inner[b-9tzpy66lho] {
    width: max-content;
    min-width: 100%;
}

/* ItemCode | Description | BOM | Scrap % | Usage */
.cbt-grid[b-9tzpy66lho] {
    display: grid;
    grid-template-columns: var(--cbt-c0, 220px) var(--cbt-c1, 180px) var(--cbt-c2, 80px) var(--cbt-c3, 80px) var(--cbt-c4, 80px);
    align-items: center;
}

.cbt-col-header[b-9tzpy66lho] {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #f8faff;
    border-bottom: 1px solid #dde3ef;
}

.cbt-cell[b-9tzpy66lho] {
    position: relative;
    box-sizing: border-box;
    padding: 0 0.5rem;
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #000;
}

.cbt-cell--header[b-9tzpy66lho] {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #718096;
}

.cbt-num[b-9tzpy66lho] {
    text-align: right;
}

/* Drag handle on the right edge of a header cell. */
.cbt-rs[b-9tzpy66lho] {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    cursor: col-resize;
    touch-action: none;
}

    .cbt-rs:hover[b-9tzpy66lho] {
        background: linear-gradient(to left, var(--color-primary, #1a73e8) 0 2px, transparent 2px);
    }

.cbt-row[b-9tzpy66lho] {
    position: relative;
    padding: 0.35rem 0 0.35rem 0.375rem;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.12s;
}

    .cbt-row:hover[b-9tzpy66lho] {
        background: #eef2ff;
    }

.cbt-main[b-9tzpy66lho] {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 0.25rem;
}

/* Connector rails: one per ancestor level (1.25rem), the last one is an elbow into the icon. Out of the grid flow. */
.cbt-guides[b-9tzpy66lho] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0.375rem;
    display: flex;
    pointer-events: none;
}

.cbt-guide[b-9tzpy66lho] {
    position: relative;
    flex: 0 0 1.25rem;
}

    .cbt-guide[b-9tzpy66lho]::before {
        content: "";
        position: absolute;
        left: 9px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: #9aa5b4;
    }

.cbt-guide--elbow[b-9tzpy66lho]::before {
    bottom: 50%;
}

.cbt-guide--elbow[b-9tzpy66lho]::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 50%;
    width: 11px;
    height: 1px;
    background: #9aa5b4;
}

.cbt-plus[b-9tzpy66lho] {
    flex-shrink: 0;
    width: 0.75rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #3755c3;
}

.cbt-toggle[b-9tzpy66lho] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 1.25rem;
}

/* The box icon of a plain component (same mask as .ibr-icon-mask--bom). */
.cbt-icon-mask[b-9tzpy66lho] {
    display: inline-block;
    background-color: #0ea95b;
    -webkit-mask: url('/img/icon/box.svg') center / contain no-repeat;
    mask: url('/img/icon/box.svg') center / contain no-repeat;
}

.cbt-label[b-9tzpy66lho] {
    flex: 1;
    min-width: 0;
    font-size: 0.86rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #000;
}

.cbt-row--root[b-9tzpy66lho] {
    background: #dde1ff;
    color: #2747b6;
    font-weight: 600;
}

    .cbt-row--root .cbt-label[b-9tzpy66lho],
    .cbt-row--root .cbt-cell[b-9tzpy66lho] {
        color: #2747b6;
    }
/* /Components/Pages/CostCalculation/CostCalculateManage.razor.rz.scp.css */
/* Keep selectors local to this component so CSS isolation applies correctly */
/* Anchor and clip inside each td without relying on ancestor selectors */
td[b-woew1cdcd1] {
    position: relative;
}

.cell-parent[b-woew1cdcd1] {
    position: relative;
}

.cell-wrapper[b-woew1cdcd1] {
    display: inline-block;       /* allows centering and ellipsis */
    max-width: 100%;
    padding-right: 28px;         /* avoid overlap with button */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

.cell-action-btn[b-woew1cdcd1] {
    position: absolute;
    top: 2px;
    right: 2px;
    display: none;               /* show on hover */
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

/* Show when hovering the cell or wrapper */
td:hover .cell-action-btn[b-woew1cdcd1],
.cell-parent:hover .cell-action-btn[b-woew1cdcd1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cell-content[b-woew1cdcd1] {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Center all string content and anchor action buttons to top-right in cells */

/* Apply to this table only to avoid global side effects */
.tableCustom th[b-woew1cdcd1],
.tableCustom td[b-woew1cdcd1] {
    text-align: center;
    vertical-align: middle;
    position: relative; /* anchor for absolute buttons */
}

/* Header title centered, button absolutely positioned */
.header-cell-title[b-woew1cdcd1] {
    display: inline-block;       /* center within th */
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 28px; /* make room for the absolute button */
}

/* Move header edit button to the top-right of the th */
.header-cell-action[b-woew1cdcd1] {
    position: absolute;
    top: 2px;
    right: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 6px;
    line-height: 1;
/*    background: transparent;
*/    border: none;
}
/* /Components/Pages/CostCalculation/CostCalculationPage.razor.rz.scp.css */
/* Look follows the QC workbench pages: management_wo.css tokens, QCPageHeaderBar, workbench-card, and the qcs-* list styling
   (12px / 600 sticky header on surface-container-low, outline-variant row lines, 36px rows, hover tint, floating scrollbar). */
.cc-card[b-an7h3yqmyt] {
    --cc-line: var(--color-outline-variant, #d9dce0);
    overflow: hidden;
    min-height: 320px;
}

/* Toolbar: a tinted strip with a divider, two quiet selects on the left, count and Columns on the right. */
.cc-bar[b-an7h3yqmyt] {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 16px;
    background: var(--color-surface-container-low, #f3f4f6);
    border-bottom: 1px solid var(--cc-line);
}

.cc-period[b-an7h3yqmyt] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-on-surface-variant, #5f6368);
}

.cc-select[b-an7h3yqmyt] {
    min-width: 11rem;
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--cc-line);
    border-radius: var(--radius-sm, 0.375rem);
    background: var(--color-surface-container-lowest, #fff);
    color: var(--color-on-surface, #191c1e);
    font-size: 0.8125rem;
    font-weight: 600;
}

    .cc-select:hover[b-an7h3yqmyt] {
        border-color: var(--color-outline, #9aa0a6);
    }

.cc-period:has(.cc-select:not(.cc-select--year)) .cc-select[b-an7h3yqmyt] {
    min-width: 20rem;
}

    .cc-select:focus-visible[b-an7h3yqmyt] {
        outline: 2px solid var(--color-primary, #1a73e8);
        outline-offset: 1px;
    }

.cc-bar-info[b-an7h3yqmyt] {
    display: inline-flex;
    align-self: flex-end;
    padding-bottom: 4px;
    color: var(--color-on-surface-variant, #5f6368);
    cursor: help;
}

    .cc-bar-info .material-symbols-outlined[b-an7h3yqmyt] {
        font-size: 18px;
    }

.cc-count[b-an7h3yqmyt] {
    flex: 0 0 auto;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--color-surface-container-lowest, #fff);
    border: 1px solid var(--cc-line);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    color: var(--color-on-surface-variant, #5f6368);
}

/* Only this scroller scrolls: the bar stays put and the table fills the rest of the card. */
.cc-scroll-host[b-an7h3yqmyt] {
    background: var(--color-surface-container-lowest, #fff);
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    display: flex;
}

/* The native bars are hidden (they always reserve space); costCalculationResize.js moves these floating thumbs over the table instead. */
.cc-scroll[b-an7h3yqmyt] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow: auto;
    scrollbar-width: none;
}

    .cc-scroll[b-an7h3yqmyt]::-webkit-scrollbar {
        display: none;
    }

.cc-thumb[b-an7h3yqmyt] {
    position: absolute;
    z-index: 30;
    border-radius: 999px;
    background: var(--color-outline, #9aa0a6);
    opacity: 0;
    transition: opacity .15s;
    pointer-events: auto;
    cursor: pointer;
}

    .cc-thumb:hover[b-an7h3yqmyt] {
        background: var(--color-on-surface-variant, #5f6368);
    }

.cc-scroll-host:hover .cc-thumb[b-an7h3yqmyt],
.cc-thumb.cc-dragging[b-an7h3yqmyt] {
    opacity: .75;
}

.cc-thumb-v[b-an7h3yqmyt] {
    right: 2px;
    width: 6px;
    display: none;
}

.cc-thumb-h[b-an7h3yqmyt] {
    bottom: 2px;
    height: 6px;
    display: none;
}

.cc-table[b-an7h3yqmyt] {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    font-size: 13px;
    color: var(--color-on-surface, #191c1e);
}

    .cc-table th[b-an7h3yqmyt],
    .cc-table td[b-an7h3yqmyt] {
        box-sizing: border-box;
        padding: 0 8px;
        border-bottom: 1px solid var(--cc-line);
        white-space: nowrap;
    }

    .cc-table th[b-an7h3yqmyt] {
        position: sticky;
        height: 32px;
        background: var(--color-surface-container-low, #f3f4f6);
        color: var(--color-on-surface-variant, #5f6368);
        font-size: 12px;
        font-weight: 600;
        text-align: center;
        border-right: 1px solid var(--cc-line);
        z-index: 2;
    }

    .cc-table thead tr:nth-child(1) th[b-an7h3yqmyt] { top: 0; }
    .cc-table thead tr:nth-child(2) th[b-an7h3yqmyt] { top: 32px; }
    .cc-table thead tr:nth-child(3) th[b-an7h3yqmyt] { top: 64px; }

    /* The header cell whose funnel panel is open stays above its neighbours (the panel is position:fixed inside the sticky <th>). */
    .cc-table th:focus-within[b-an7h3yqmyt] {
        z-index: 20;
    }

    .cc-table td[b-an7h3yqmyt] {
        height: 36px;
        overflow: hidden;
        text-overflow: ellipsis; /* a number wider than its column ends in 3 dots; drag the column wider to read it */
        text-align: right;
        font-variant-numeric: tabular-nums;
        border-right: 1px solid var(--cc-line);
    }

    .cc-table tbody tr:hover td[b-an7h3yqmyt] {
        background: var(--color-surface-container-low, #f3f4f6);
    }

    /* ItemCode: centered as asked, monospace like the QC sample ids, and frozen while the table scrolls sideways. */
    .cc-table th.cc-item[b-an7h3yqmyt],
    .cc-table td.cc-item[b-an7h3yqmyt] {
        text-align: center;
        position: sticky;
        left: 0;
    }

    .cc-table td.cc-item[b-an7h3yqmyt] {
        background: var(--color-surface-container-lowest, #fff);
        font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
        font-weight: 600;
    }

    .cc-table tbody tr:hover td.cc-item[b-an7h3yqmyt] {
        background: var(--color-surface-container-low, #f3f4f6);
    }

    .cc-table th.cc-item[b-an7h3yqmyt] {
        z-index: 3;
    }

    /* Dividers: a strong line between groups (Open / GRPO / Material Issue / PostIn), a medium one between In and Out. */
    .cc-table th.cc-gs[b-an7h3yqmyt],
    .cc-table td.cc-gs[b-an7h3yqmyt] {
        border-left: 2px solid var(--color-outline, #9aa0a6);
    }

    .cc-table th.cc-ss[b-an7h3yqmyt],
    .cc-table td.cc-ss[b-an7h3yqmyt] {
        border-left: 1px solid var(--color-outline, #9aa0a6);
    }

    .cc-table thead tr:nth-child(3) th[b-an7h3yqmyt] {
        border-bottom: 2px solid var(--color-outline, #9aa0a6);
    }

    /* Frozen columns (Freeze checkbox of the Columns picker): they stay beside the ItemCode column while the table scrolls sideways.
       The left offset is inline (CostCalculationPage.FrozenLeft); a header cell is already sticky for the top. */
    .cc-table td.cc-frozen[b-an7h3yqmyt] {
        position: sticky;
        z-index: 2;
        background: var(--color-surface-container-lowest, #fff);
    }

    .cc-table tbody tr:hover td.cc-frozen[b-an7h3yqmyt] {
        background: var(--color-surface-container-low, #f3f4f6);
    }

    .cc-table th.cc-frozen[b-an7h3yqmyt] {
        z-index: 4;
    }

    .cc-table th.cc-frozen-last[b-an7h3yqmyt],
    .cc-table td.cc-frozen-last[b-an7h3yqmyt] {
        border-right: 2px solid var(--color-outline, #9aa0a6);
    }

    .cc-table tr.cc-empty-row td[b-an7h3yqmyt],
    .cc-table tbody tr.cc-empty-row:hover td[b-an7h3yqmyt] {
        height: auto;
        border-right: 0;
        border-bottom: 0;
        background: var(--color-surface-container-lowest, #fff);
    }

/* Loading: a ring that spins while the report is fetched (instead of the word "Loading..."). */
.cc-spin[b-an7h3yqmyt] {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 3px solid var(--cc-line);
    border-top-color: var(--color-primary, #1a73e8);
    border-radius: 50%;
    animation: cc-spin-b-an7h3yqmyt .8s linear infinite;
}

@keyframes cc-spin-b-an7h3yqmyt {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .cc-spin[b-an7h3yqmyt] { animation-duration: 2.4s; }
}

    .cc-table td.cc-empty[b-an7h3yqmyt] {
        text-align: center;
        padding: 32px 16px;
        color: var(--color-on-surface-variant, #5f6368);
    }

/* Header title + funnel on one line, like .qcs-cell--head. */
.cc-th[b-an7h3yqmyt] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

/* Drag handle on the right edge of each leaf header (js/pages/costCalculationResize.js). */
.cc-rs[b-an7h3yqmyt] {
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 100%;
    cursor: col-resize;
    touch-action: none;
    z-index: 5;
}

    /* A line on the very edge shows where the drag starts. */
    .cc-rs:hover[b-an7h3yqmyt] {
        background: linear-gradient(to left, var(--color-primary, #1a73e8) 0 3px, transparent 3px);
    }

/* Same title spacing as the QC pages (QCPageHeaderBar): the underline stays, the text sits a little higher. */
.cc-title[b-an7h3yqmyt] {
    padding-top: 18px;
    padding-bottom: 10px;
    margin: 0;
    line-height: 1.2;
}

/* Count + Columns button sit together on the right of the bar. */
.cc-bar-right[b-an7h3yqmyt] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex: 0 0 auto;
}

    .cc-bar-right .cc-count[b-an7h3yqmyt] {
        margin-left: 0;
    }

/* The sorted column's arrow stays highlighted (the button itself is the shared .col-sort-btn from management_wo.css). */
.cc-sort-on[b-an7h3yqmyt] {
    color: var(--color-primary, #1a73e8) !important;
}

.cc-select--year[b-an7h3yqmyt] {
    min-width: 6rem;
}

/* Layout: the report card takes the free height, the totals card sits under it as a card of its own. */
.cc-wrap[b-an7h3yqmyt] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
}

.cc-card[b-an7h3yqmyt] {
    height: auto;
    flex: 1 1 0;
}

.cc-total-card[b-an7h3yqmyt] {
    flex: 0 0 auto;
    height: auto;
    overflow: hidden;
}

.cc-total-bar[b-an7h3yqmyt] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
}

.cc-total-title[b-an7h3yqmyt] {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
}

.cc-total-sub[b-an7h3yqmyt] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: var(--color-on-surface-variant, #5f6368);
}

/* The totals row: scrolled by the report table's scroll (script), so no scrollbar of its own. */
.cc-total-scroll[b-an7h3yqmyt] {
    overflow: hidden;
}

.cc-total-card[b-an7h3yqmyt] {
    --cc-line: var(--color-outline-variant, #d9dce0);
}

.cc-total-bar[b-an7h3yqmyt] {
    border-top: 1px solid var(--cc-line);
    background: var(--color-surface-container-low, #f3f4f6);
}

.cc-total-table td[b-an7h3yqmyt] {
    font-weight: 600;
    background: var(--color-surface-container-lowest, #fff);
    border-bottom: 0;
    border-right: 1px solid var(--color-outline, #9aa0a6);
    font-size: 14px;
}

    .cc-total-table td.cc-item[b-an7h3yqmyt] {
        background: var(--color-surface-container-lowest, #fff);
        font-family: inherit;
    }

/* Labor / Machine Total: a cell the user types in. It fills the cell and looks like plain text until hovered or focused. */
.cc-input[b-an7h3yqmyt] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    padding: 2px 6px;
    font: inherit;
    text-overflow: ellipsis;
    text-align: right;
    color: inherit;
}

.cc-input:hover[b-an7h3yqmyt] {
    border-color: var(--color-outline);
    background: white;
}

.cc-input:focus[b-an7h3yqmyt] {
    outline: none;
    border-color: var(--color-primary);
    background: white;
}

/* Under the Labor / Machine header text: the Total input and the Type dropdown, side by side. In the header the input is always outlined. */
.cc-head-inputs[b-an7h3yqmyt] {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 6px;
    font-weight: normal;
}

    .cc-head-inputs .cc-input[b-an7h3yqmyt] {
        width: 50%;
        min-width: 70px;
        border-color: var(--color-outline);
        background: white;
    }

    .cc-head-inputs .cc-select[b-an7h3yqmyt] {
        width: 40%;
        min-width: 64px;
    }

/* Open Value / GRPO In Value: the default shows as plain text, a value the user typed is marked. */
.cc-cell-edit.cc-edited[b-an7h3yqmyt] {
    font-weight: 600;
    color: var(--color-primary);
}

/* > beside GRPO In / Out Qty: opens the window of GRPO documents. */
.cc-grpo-btn[b-an7h3yqmyt] {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    padding: 0;
    margin-right: 2px;
    border: 0;
    background: transparent;
    color: var(--color-primary, #1a73e8);
    cursor: pointer;
}

    .cc-grpo-btn .material-symbols-outlined[b-an7h3yqmyt] {
        font-size: 18px;
    }

/* The GRPO window: under the Journal Entry popover (z-index 9999), over the table. The backdrop closes it on an outside click. */
.cc-grpo-backdrop[b-an7h3yqmyt] {
    position: fixed;
    inset: 0;
    z-index: 9000;
}

.cc-grpo-window[b-an7h3yqmyt] {
    position: fixed;
    z-index: 9001;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    background: var(--color-surface-container-lowest, #fff);
    border: 1px solid var(--color-outline-variant, #d9dce0);
    border-radius: var(--radius-sm, 0.375rem);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
    font-size: 13px;
}

.cc-grpo-head[b-an7h3yqmyt] {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-weight: 600;
    background: var(--color-surface-container-low, #f3f4f6);
    border-bottom: 1px solid var(--color-outline-variant, #d9dce0);
}

.cc-grpo-body[b-an7h3yqmyt] {
    overflow: auto;
}

.cc-grpo-empty[b-an7h3yqmyt] {
    padding: 20px;
    text-align: center;
    color: var(--color-on-surface-variant, #5f6368);
}

.cc-grpo-table[b-an7h3yqmyt] {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

    .cc-grpo-table th[b-an7h3yqmyt],
    .cc-grpo-table td[b-an7h3yqmyt] {
        padding: 6px 12px;
        text-align: right;
        border-bottom: 1px solid var(--color-outline-variant, #d9dce0);
    }

    .cc-grpo-table th[b-an7h3yqmyt] {
        position: sticky;
        top: 0;
        background: var(--color-surface-container-low, #f3f4f6);
        font-size: 12px;
    }

    .cc-grpo-table .cc-grpo-doc[b-an7h3yqmyt] {
        text-align: left;
    }

/* Debug-build buttons: dashed so they are not mistaken for real features. */
.cc-debug[b-an7h3yqmyt] {
    border-style: dashed;
}

.cc-debug-note[b-an7h3yqmyt] {
    color: var(--color-error, #b3261e);
}
/* /Components/Pages/CostCalculation/SubCpn/AccountSettingCalculation.razor.rz.scp.css */
/* Keep selectors local to this component so CSS isolation applies correctly */
/* Anchor and clip inside each td without relying on ancestor selectors */
td[b-wvi5nrf7co] {
    position: relative;
}

.cell-parent[b-wvi5nrf7co] {
    position: relative;
}

.cell-wrapper[b-wvi5nrf7co] {
    display: inline-block; /* allows centering and ellipsis */
    max-width: 100%;
    padding-right: 28px; /* avoid overlap with button */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

.cell-action-btn[b-wvi5nrf7co] {
    position: absolute;
    top: 2px;
    right: 2px;
    display: none; /* show on hover */
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

/* Show when hovering the cell or wrapper */
td:hover .cell-action-btn[b-wvi5nrf7co],
.cell-parent:hover .cell-action-btn[b-wvi5nrf7co] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cell-content[b-wvi5nrf7co] {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Center all string content and anchor action buttons to top-right in cells */

/* Apply to this table only to avoid global side effects */
.tableCustom th[b-wvi5nrf7co],
.tableCustom td[b-wvi5nrf7co] {
    text-align: center;
    vertical-align: middle;
    position: relative; /* anchor for absolute buttons */
}

/* Header title centered, button absolutely positioned */
.header-cell-title[b-wvi5nrf7co] {
    display: inline-block; /* center within th */
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 28px; /* make room for the absolute button */
}

/* Move header edit button to the top-right of the th */
.header-cell-action[b-wvi5nrf7co] {
    position: absolute;
    top: 2px;
    right: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 6px;
    line-height: 1;
    /*    background: transparent;
*/ border: none;
}
/* /Components/Pages/CostCalculation/SubCpn/InventoryCalculation.razor.rz.scp.css */
/* Keep selectors local to this component so CSS isolation applies correctly */
/* Anchor and clip inside each td without relying on ancestor selectors */
td[b-oayuerf8yx] {
    position: relative;
}

.cell-parent[b-oayuerf8yx] {
    position: relative;
}

.cell-wrapper[b-oayuerf8yx] {
    display: inline-block;       /* allows centering and ellipsis */
    max-width: 100%;
    padding-right: 28px;         /* avoid overlap with button */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

.cell-action-btn[b-oayuerf8yx] {
    position: absolute;
    top: 2px;
    right: 2px;
    display: none;               /* show on hover */
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

/* Show when hovering the cell or wrapper */
td:hover .cell-action-btn[b-oayuerf8yx],
.cell-parent:hover .cell-action-btn[b-oayuerf8yx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cell-content[b-oayuerf8yx] {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Center all string content and anchor action buttons to top-right in cells */

/* Apply to this table only to avoid global side effects */
.tableCustom th[b-oayuerf8yx],
.tableCustom td[b-oayuerf8yx] {
    text-align: center;
    vertical-align: middle;
    position: relative; /* anchor for absolute buttons */
}

/* Header title centered, button absolutely positioned */
.header-cell-title[b-oayuerf8yx] {
    display: inline-block;       /* center within th */
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 28px; /* make room for the absolute button */
}

/* Move header edit button to the top-right of the th */
.header-cell-action[b-oayuerf8yx] {
    position: absolute;
    top: 2px;
    right: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 6px;
    line-height: 1;
/*    background: transparent;
*/    border: none;
}
/* /Components/Pages/CostCalculation/SubCpn/InventoryReport.razor.rz.scp.css */
/* Keep selectors local to this component so CSS isolation applies correctly */
/* Anchor and clip inside each td without relying on ancestor selectors */
td[b-22vco5uy55] {
    position: relative;
}

.cell-parent[b-22vco5uy55] {
    position: relative;
}

.cell-wrapper[b-22vco5uy55] {
    display: inline-block;       /* allows centering and ellipsis */
    max-width: 100%;
    padding-right: 28px;         /* avoid overlap with button */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

.cell-action-btn[b-22vco5uy55] {
    position: absolute;
    top: 2px;
    right: 2px;
    display: none;               /* show on hover */
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

/* Show when hovering the cell or wrapper */
td:hover .cell-action-btn[b-22vco5uy55],
.cell-parent:hover .cell-action-btn[b-22vco5uy55] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cell-content[b-22vco5uy55] {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Center all string content and anchor action buttons to top-right in cells */

/* Apply to this table only to avoid global side effects */
.tableCustom th[b-22vco5uy55],
.tableCustom td[b-22vco5uy55] {
    text-align: center;
    vertical-align: middle;
    position: relative; /* anchor for absolute buttons */
}

/* Header title centered, button absolutely positioned */
.header-cell-title[b-22vco5uy55] {
    display: inline-block;       /* center within th */
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 28px; /* make room for the absolute button */
}

/* Move header edit button to the top-right of the th */
.header-cell-action[b-22vco5uy55] {
    position: absolute;
    top: 2px;
    right: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 6px;
    line-height: 1;
/*    background: transparent;
*/    border: none;
}
/* /Components/Pages/CustomerAging/CustomerAging.razor.rz.scp.css */
/* Main Page Container */
.customer-aging-main[b-20owoaeqpl] {
    margin-left: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
}

.content-wrapper[b-20owoaeqpl] {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* Page Sections */
.page-section[b-20owoaeqpl] {
    margin-bottom: 24px;
}

/* Typography */
.page-title[b-20owoaeqpl] {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #00345e;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

.page-subtitle[b-20owoaeqpl] {
    font-size: 14px;
    color: #26619d;
    margin: 8px 0 0 0;
}

/* Spacing Utilities */
.spacing-small[b-20owoaeqpl] {
    margin-bottom: 12px;
}

.spacing-medium[b-20owoaeqpl] {
    margin-bottom: 24px;
}

.spacing-large[b-20owoaeqpl] {
    margin-bottom: 40px;
}

/* Transitions */
.smooth-transition[b-20owoaeqpl] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading State */
.loading-container[b-20owoaeqpl] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: #26619d;
}

.loading-spinner[b-20owoaeqpl] {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(55, 85, 195, 0.1);
    border-top-color: #3755c3;
    border-radius: 50%;
    animation: spin-b-20owoaeqpl 0.8s linear infinite;
}

@keyframes spin-b-20owoaeqpl {
    to {
        transform: rotate(360deg);
    }
}

/* Error State */
.error-container[b-20owoaeqpl] {
    background-color: rgba(159, 64, 61, 0.1);
    border: 1px solid #9f403d;
    border-radius: 8px;
    padding: 16px;
    color: #fff7f6;
    text-align: center;
    margin: 16px 0;
}

.error-icon[b-20owoaeqpl] {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

.error-message[b-20owoaeqpl] {
    font-size: 14px;
    font-weight: 500;
}

/* Empty State */
.empty-state[b-20owoaeqpl] {
    background-color: #eff4ff;
    border-radius: 12px;
    padding: 60px 24px;
    text-align: center;
    color: #26619d;
}

.empty-icon[b-20owoaeqpl] {
    font-size: 64px;
    opacity: 0.5;
    margin-bottom: 16px;
    display: block;
}

.empty-message[b-20owoaeqpl] {
    font-size: 16px;
    font-weight: 500;
    color: #00345e;
    margin: 8px 0;
}

.empty-description[b-20owoaeqpl] {
    font-size: 13px;
    color: #26619d;
    margin-top: 8px;
}

/* Card-like Container */
.card-container[b-20owoaeqpl] {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 52, 94, 0.06);
    transition: all 0.3s ease;
}

.card-container:hover[b-20owoaeqpl] {
    box-shadow: 0 4px 16px rgba(0, 52, 94, 0.1);
}

/* Grid Layout */
.grid-2-col[b-20owoaeqpl] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.grid-3-col[b-20owoaeqpl] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Flex Utilities */
.flex-center[b-20owoaeqpl] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between[b-20owoaeqpl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-col[b-20owoaeqpl] {
    display: flex;
    flex-direction: column;
}

.flex-gap-sm[b-20owoaeqpl] {
    gap: 8px;
}

.flex-gap-md[b-20owoaeqpl] {
    gap: 16px;
}

.flex-gap-lg[b-20owoaeqpl] {
    gap: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .customer-aging-main[b-20owoaeqpl] {
        padding: 0;
    }

    .content-wrapper[b-20owoaeqpl] {
        padding: 20px;
    }

    .page-title[b-20owoaeqpl] {
        font-size: 28px;
    }

    .grid-2-col[b-20owoaeqpl],
    .grid-3-col[b-20owoaeqpl] {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .content-wrapper[b-20owoaeqpl] {
        padding: 20px 12px;
    }

    .page-title[b-20owoaeqpl] {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .spacing-small[b-20owoaeqpl] {
        margin-bottom: 8px;
    }

    .spacing-medium[b-20owoaeqpl] {
        margin-bottom: 16px;
    }

    .spacing-large[b-20owoaeqpl] {
        margin-bottom: 24px;
    }

    .card-container[b-20owoaeqpl] {
        padding: 16px;
    }

    .empty-state[b-20owoaeqpl] {
        padding: 40px 16px;
    }

    .empty-icon[b-20owoaeqpl] {
        font-size: 48px;
    }
}

@media (max-width: 480px) {
    .content-wrapper[b-20owoaeqpl] {
        padding: 20px 8px;
    }

    .page-title[b-20owoaeqpl] {
        font-size: 20px;
    }

    .page-subtitle[b-20owoaeqpl] {
        font-size: 12px;
    }

    .card-container[b-20owoaeqpl] {
        padding: 12px;
        border-radius: 8px;
    }

    .empty-state[b-20owoaeqpl] {
        padding: 30px 12px;
    }

    .empty-icon[b-20owoaeqpl] {
        font-size: 40px;
    }

    .empty-message[b-20owoaeqpl] {
        font-size: 14px;
    }

    .empty-description[b-20owoaeqpl] {
        font-size: 12px;
    }

    .loading-spinner[b-20owoaeqpl] {
        width: 32px;
        height: 32px;
        border-width: 3px;
    }
}

/* Print Styles */
@media print {
    .customer-aging-main[b-20owoaeqpl] {
        margin-left: 0;
        padding: 0;
    }

    .card-container[b-20owoaeqpl] {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

/* Accessibility */
.sr-only[b-20owoaeqpl] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Visible for Keyboard Navigation */
:focus-visible[b-20owoaeqpl] {
    outline: 2px solid #3755c3;
    outline-offset: 2px;
}

button:focus-visible[b-20owoaeqpl] {
    outline-offset: 2px;
}
/* /Components/Pages/CustomerAging/CustomerNavigationBar.razor.rz.scp.css */
.customer-navigation-bar[b-l84y4xgppk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    background-color: #dce9ff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(129, 181, 246, 0.1);
    gap: 16px;
}

.nav-button[b-l84y4xgppk] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3755c3;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    font-size: 14px;
    font-family: "Be Vietnam Pro", sans-serif;
    white-space: nowrap;
}

.nav-button:hover[b-l84y4xgppk] {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateX(0.25rem);
}

.nav-button:active[b-l84y4xgppk] {
    transform: scale(0.98);
}

.nav-button:disabled[b-l84y4xgppk] {
    opacity: 0.5;
    cursor: not-allowed;
}

.customer-info[b-l84y4xgppk] {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.customer-name[b-l84y4xgppk] {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #00345e;
    margin: 0;
    letter-spacing: -0.5px;
}

.customer-id[b-l84y4xgppk] {
    font-family: monospace;
    font-size: 11px;
    color: #26619d;
    font-weight: 700;
    margin: 4px 0 0 0;
}

.nav-icon[b-l84y4xgppk] {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

@media (max-width: 1024px) {
    .customer-navigation-bar[b-l84y4xgppk] {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .customer-info[b-l84y4xgppk] {
        order: -1;
        margin-bottom: 8px;
    }

    .customer-name[b-l84y4xgppk] {
        font-size: 20px;
    }

    .nav-button[b-l84y4xgppk] {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .customer-navigation-bar[b-l84y4xgppk] {
        padding: 12px;
        gap: 8px;
    }

    .customer-name[b-l84y4xgppk] {
        font-size: 18px;
    }

    .customer-id[b-l84y4xgppk] {
        font-size: 10px;
    }

    .nav-button[b-l84y4xgppk] {
        font-size: 12px;
        padding: 6px 10px;
    }

    .nav-icon[b-l84y4xgppk] {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .customer-navigation-bar[b-l84y4xgppk] {
        padding: 8px;
        gap: 4px;
    }

    .customer-name[b-l84y4xgppk] {
        font-size: 16px;
    }

    .customer-id[b-l84y4xgppk] {
        font-size: 9px;
    }

    .nav-button[b-l84y4xgppk] {
        font-size: 11px;
        padding: 4px 6px;
        gap: 4px;
    }

    .nav-icon[b-l84y4xgppk] {
        font-size: 16px;
    }
}
/* /Components/Pages/CustomerAging/InvoiceRow.razor.rz.scp.css */
.invoice-row[b-w9j8scutzz] {
    transition: all 0.2s ease;
}

.invoice-row:hover[b-w9j8scutzz] {
    background-color: #eff4ff;
}

.table-cell[b-w9j8scutzz] {
    padding: 10px 12px;
    vertical-align: middle;
    font-size: 13px;
    text-align: left;
    word-wrap: break-word;
    height: 44px;
}

.text-right[b-w9j8scutzz] {
    text-align: right;
}

.invoice-id[b-w9j8scutzz] {
    font-weight: 600;
    color: #3755c3;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.date-cell[b-w9j8scutzz] {
    font-size: 12px;
    color: rgba(0, 52, 94, 0.8);
    white-space: nowrap;
}

.amount-cell[b-w9j8scutzz] {
    font-weight: 500;
    font-size: 12px;
    color: #00345e;
    white-space: nowrap;
}

.balance-cell[b-w9j8scutzz] {
    font-weight: 700;
    font-size: 12px;
    color: #914d00;
    white-space: nowrap;
}

.status-cell[b-w9j8scutzz] {
    padding: 12px 16px;
}

.status-badge[b-w9j8scutzz] {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.status-overdue[b-w9j8scutzz] {
    background-color: rgba(241, 147, 44, 0.2);
    color: #4a2500;
}

.status-pending[b-w9j8scutzz] {
    background-color: #d2e4ff;
    color: #26619d;
}

.actions-cell[b-w9j8scutzz] {
    padding: 10px 12px;
    min-width: 350px;
    vertical-align: middle;
}

.actions-wrapper[b-w9j8scutzz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.contact-section[b-w9j8scutzz] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 150px;
    gap: 2px;
}

.contact-email[b-w9j8scutzz] {
    font-size: 11px;
    color: #26619d;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.3px;
}

.contact-history[b-w9j8scutzz] {
    font-size: 10px;
    color: #3755c3;
    text-decoration: none;
    font-weight: 700;
    margin-top: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-history:hover[b-w9j8scutzz] {
    text-decoration: underline;
    opacity: 0.8;
}

.send-btn[b-w9j8scutzz] {
    background-color: #3755c3;
    color: white;
    border: none;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(55, 85, 195, 0.2);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
    height: fit-content;
}

.send-btn:hover[b-w9j8scutzz] {
    background-color: #2848b7;
    box-shadow: 0 2px 6px rgba(55, 85, 195, 0.3);
}

.send-btn:active[b-w9j8scutzz] {
    transform: scale(0.95);
    box-shadow: 0 1px 2px rgba(55, 85, 195, 0.2);
}

.send-btn:disabled[b-w9j8scutzz] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .actions-wrapper[b-w9j8scutzz] {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .send-btn[b-w9j8scutzz] {
        width: 100%;
        text-align: center;
    }

    .table-cell[b-w9j8scutzz] {
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .table-cell[b-w9j8scutzz] {
        padding: 8px 10px;
        font-size: 11px;
    }

    .invoice-id[b-w9j8scutzz] {
        font-size: 11px;
    }

    .amount-cell[b-w9j8scutzz],
    .balance-cell[b-w9j8scutzz] {
        font-size: 11px;
    }

    .date-cell[b-w9j8scutzz] {
        font-size: 11px;
    }

    .status-badge[b-w9j8scutzz] {
        font-size: 9px;
        padding: 3px 6px;
    }

    .contact-email[b-w9j8scutzz] {
        font-size: 10px;
    }

    .contact-history[b-w9j8scutzz] {
        font-size: 9px;
    }

    .send-btn[b-w9j8scutzz] {
        font-size: 10px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .table-cell[b-w9j8scutzz] {
        padding: 6px 8px;
        font-size: 10px;
    }

    .invoice-id[b-w9j8scutzz] {
        font-size: 10px;
    }

    .send-btn[b-w9j8scutzz] {
        font-size: 9px;
        padding: 4px 8px;
    }

    .status-badge[b-w9j8scutzz] {
        font-size: 8px;
        padding: 2px 4px;
    }

    .contact-email[b-w9j8scutzz] {
        font-size: 9px;
    }

    .contact-history[b-w9j8scutzz] {
        margin-top: 2px;
    }

    .actions-wrapper[b-w9j8scutzz] {
        gap: 6px;
    }
}
/* /Components/Pages/CustomerAging/InvoiceTable.razor.rz.scp.css */
.invoice-table-container[b-ycxkogk7bp] {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 52, 94, 0.04);
    margin-bottom: 24px;
}

.invoice-table-scroll[b-ycxkogk7bp] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.invoice-table[b-ycxkogk7bp] {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
    table-layout: fixed;
}

.table-header[b-ycxkogk7bp] {
    background-color: #e5eeff;
    color: #26619d;
}

.table-header-cell[b-ycxkogk7bp] {
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    vertical-align: middle;
    text-align: left;
    word-wrap: break-word;
    height: 44px;
}

.table-body[b-ycxkogk7bp] {
    border-top: 1px solid rgba(129, 181, 246, 0.1);
}

.table-row[b-ycxkogk7bp] {
    border-bottom: 1px solid rgba(129, 181, 246, 0.1);
    transition: all 0.2s ease;
}

.table-row:hover[b-ycxkogk7bp] {
    background-color: #eff4ff;
}

.table-row:last-child[b-ycxkogk7bp] {
    border-bottom: none;
}

.table-cell[b-ycxkogk7bp] {
    padding: 12px 16px;
    vertical-align: middle;
    font-size: 13px;
    text-align: left;
    word-wrap: break-word;
}

.table-cell-right[b-ycxkogk7bp] {
    text-align: right;
}

.text-right[b-ycxkogk7bp] {
    text-align: right;
}

.invoice-id[b-ycxkogk7bp] {
    font-weight: 600;
    color: #3755c3;
    font-family: monospace;
    font-size: 12px;
}

.date-cell[b-ycxkogk7bp] {
    font-size: 12px;
    color: rgba(0, 52, 94, 0.8);
    white-space: nowrap;
}

.amount-cell[b-ycxkogk7bp] {
    font-weight: 500;
    color: #00345e;
    font-size: 12px;
    white-space: nowrap;
}

.balance-cell[b-ycxkogk7bp] {
    font-weight: 700;
    color: #914d00;
    font-size: 12px;
    white-space: nowrap;
}

.status-badge[b-ycxkogk7bp] {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.status-overdue[b-ycxkogk7bp] {
    background-color: rgba(241, 147, 44, 0.2);
    color: #4a2500;
}

.status-pending[b-ycxkogk7bp] {
    background-color: #d2e4ff;
    color: #26619d;
}

.actions-cell[b-ycxkogk7bp] {
    min-width: 350px;
}

.actions-wrapper[b-ycxkogk7bp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.contact-info[b-ycxkogk7bp] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 150px;
}

.contact-email[b-ycxkogk7bp] {
    font-size: 11px;
    color: #26619d;
    font-weight: 500;
    margin: 0;
}

.contact-history-link[b-ycxkogk7bp] {
    font-size: 10px;
    color: #3755c3;
    text-decoration: none;
    font-weight: 700;
    margin-top: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.contact-history-link:hover[b-ycxkogk7bp] {
    text-decoration: underline;
}

.send-statement-btn[b-ycxkogk7bp] {
    background-color: #3755c3;
    color: white;
    border: none;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(55, 85, 195, 0.3);
    white-space: nowrap;
    text-transform: uppercase;
    flex-shrink: 0;
}

.send-statement-btn:hover[b-ycxkogk7bp] {
    background-color: #2848b7;
    box-shadow: 0 4px 10px rgba(55, 85, 195, 0.4);
}

.send-statement-btn:active[b-ycxkogk7bp] {
    transform: scale(0.95);
}

.send-statement-btn:disabled[b-ycxkogk7bp] {
    opacity: 0.5;
    cursor: not-allowed;
}

.table-loading[b-ycxkogk7bp] {
    text-align: center;
    padding: 40px 24px;
    color: #26619d;
}

.table-empty[b-ycxkogk7bp] {
    text-align: center;
    padding: 60px 24px;
}

.empty-icon[b-ycxkogk7bp] {
    font-size: 48px;
    color: #81b5f6;
    margin-bottom: 16px;
}

.empty-message[b-ycxkogk7bp] {
    font-size: 16px;
    font-weight: 500;
    color: #00345e;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .actions-wrapper[b-ycxkogk7bp] {
        flex-direction: column;
        align-items: flex-start;
    }

    .send-statement-btn[b-ycxkogk7bp] {
        width: 100%;
    }

    .table-header-cell[b-ycxkogk7bp] {
        padding: 10px 12px;
        font-size: 10px;
    }

    .table-cell[b-ycxkogk7bp] {
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .invoice-table[b-ycxkogk7bp] {
        font-size: 12px;
    }

    .table-header-cell[b-ycxkogk7bp] {
        padding: 8px 10px;
        font-size: 9px;
    }

    .table-cell[b-ycxkogk7bp] {
        padding: 8px 10px;
        font-size: 11px;
    }

    .invoice-id[b-ycxkogk7bp] {
        font-size: 11px;
    }

    .date-cell[b-ycxkogk7bp] {
        font-size: 11px;
    }

    .amount-cell[b-ycxkogk7bp] {
        font-size: 11px;
    }

    .balance-cell[b-ycxkogk7bp] {
        font-size: 11px;
    }

    .status-badge[b-ycxkogk7bp] {
        font-size: 9px;
        padding: 3px 6px;
    }

    .actions-cell[b-ycxkogk7bp] {
        min-width: 300px;
    }

    .send-statement-btn[b-ycxkogk7bp] {
        font-size: 10px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .invoice-table[b-ycxkogk7bp] {
        font-size: 11px;
    }

    .table-header-cell[b-ycxkogk7bp] {
        padding: 6px 8px;
        font-size: 8px;
        letter-spacing: 0px;
    }

    .table-cell[b-ycxkogk7bp] {
        padding: 6px 8px;
        font-size: 10px;
    }

    .invoice-id[b-ycxkogk7bp] {
        font-size: 10px;
    }

    .date-cell[b-ycxkogk7bp],
    .amount-cell[b-ycxkogk7bp],
    .balance-cell[b-ycxkogk7bp] {
        font-size: 10px;
    }

    .contact-email[b-ycxkogk7bp] {
        font-size: 9px;
    }

    .contact-history-link[b-ycxkogk7bp] {
        font-size: 8px;
    }

    .send-statement-btn[b-ycxkogk7bp] {
        font-size: 9px;
        padding: 4px 8px;
    }

    .actions-cell[b-ycxkogk7bp] {
        min-width: 250px;
    }
}

.actions-cell[b-ycxkogk7bp] {
    min-width: 400px;
}

.actions-container[b-ycxkogk7bp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.contact-info[b-ycxkogk7bp] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-email[b-ycxkogk7bp] {
    font-size: 11px;
    color: #26619d;
    font-weight: 500;
    margin: 0;
}

.contact-history-link[b-ycxkogk7bp] {
    font-size: 10px;
    color: #3755c3;
    text-decoration: none;
    font-weight: 700;
    margin-top: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.contact-history-link:hover[b-ycxkogk7bp] {
    text-decoration: underline;
}

.send-statement-btn[b-ycxkogk7bp] {
    background-color: #3755c3;
    color: white;
    border: none;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(55, 85, 195, 0.3);
    white-space: nowrap;
    text-transform: uppercase;
}

.send-statement-btn:hover[b-ycxkogk7bp] {
    background-color: #2848b7;
    box-shadow: 0 4px 10px rgba(55, 85, 195, 0.4);
}

.send-statement-btn:active[b-ycxkogk7bp] {
    transform: scale(0.95);
}

.send-statement-btn:disabled[b-ycxkogk7bp] {
    opacity: 0.5;
    cursor: not-allowed;
}

.table-loading[b-ycxkogk7bp] {
    text-align: center;
    padding: 40px 24px;
    color: #26619d;
}

.table-empty[b-ycxkogk7bp] {
    text-align: center;
    padding: 60px 24px;
}

.empty-icon[b-ycxkogk7bp] {
    font-size: 48px;
    color: #81b5f6;
    margin-bottom: 16px;
}

.empty-message[b-ycxkogk7bp] {
    font-size: 16px;
    font-weight: 500;
    color: #00345e;
    margin: 0;
}

@media (max-width: 1024px) {
    .actions-container[b-ycxkogk7bp] {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .send-statement-btn[b-ycxkogk7bp] {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .invoice-table-scroll[b-ycxkogk7bp] {
        -webkit-overflow-scrolling: touch;
    }

    .table-cell[b-ycxkogk7bp] {
        padding: 12px 16px;
        font-size: 13px;
    }

    .table-header-cell[b-ycxkogk7bp] {
        padding: 12px 16px;
        font-size: 10px;
    }

    .actions-cell[b-ycxkogk7bp] {
        min-width: 300px;
    }
}

@media (max-width: 480px) {
    .table-cell[b-ycxkogk7bp] {
        padding: 10px 12px;
        font-size: 12px;
    }

    .table-header-cell[b-ycxkogk7bp] {
        padding: 10px 12px;
        font-size: 9px;
    }

    .actions-cell[b-ycxkogk7bp] {
        min-width: 250px;
    }
}
/* /Components/Pages/CustomerAging/QueryFiltersSection.razor.rz.scp.css */
.query-filters-section[b-gvyirm3d0c] {
    background-color: #eff4ff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 24px;
    box-shadow: 0 1px 3px rgba(0, 52, 94, 0.06);
}

.filter-group[b-gvyirm3d0c] {
    flex: 1;
    min-width: 200px;
}

.filter-tools[b-gvyirm3d0c] {
    display: flex;
    justify-content: flex-end;
    flex: 0 0 100%;
}

.filter-label[b-gvyirm3d0c] {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #26619d;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.filter-input-wrapper[b-gvyirm3d0c] {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-input[b-gvyirm3d0c] {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 40px 12px 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    font-family: "Be Vietnam Pro", sans-serif;
}

.filter-input:focus[b-gvyirm3d0c] {
    outline: none;
    border-color: #3755c3;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 0 2px rgba(55, 85, 195, 0.2);
}

.filter-input:readonly[b-gvyirm3d0c] {
    cursor: pointer;
    background-color: #ffffff;
}

.filter-icon[b-gvyirm3d0c] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #477dbb;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.run-query-btn[b-gvyirm3d0c] {
    background-color: #3755c3;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(55, 85, 195, 0.3);
    white-space: nowrap;
    font-family: "Be Vietnam Pro", sans-serif;
}

.run-query-btn:hover[b-gvyirm3d0c] {
    background-color: #2848b7;
    box-shadow: 0 4px 12px rgba(55, 85, 195, 0.4);
    transform: translateY(-2px);
}

.run-query-btn:active[b-gvyirm3d0c] {
    transform: scale(0.95);
}

.run-query-btn:disabled[b-gvyirm3d0c] {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .query-filters-section[b-gvyirm3d0c] {
        flex-direction: column;
        gap: 16px;
    }

    .filter-group[b-gvyirm3d0c] {
        width: 100%;
    }

    .run-query-btn[b-gvyirm3d0c] {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .query-filters-section[b-gvyirm3d0c] {
        padding: 16px;
        gap: 12px;
    }

    .filter-group[b-gvyirm3d0c] {
        width: 100%;
    }

    .filter-input[b-gvyirm3d0c] {
        padding: 10px 36px 10px 10px;
        font-size: 13px;
    }

    .filter-icon[b-gvyirm3d0c] {
        font-size: 18px;
        right: 8px;
    }

    .filter-label[b-gvyirm3d0c] {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .run-query-btn[b-gvyirm3d0c] {
        width: 100%;
        font-size: 13px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .query-filters-section[b-gvyirm3d0c] {
        padding: 12px;
        gap: 8px;
    }

    .filter-input[b-gvyirm3d0c] {
        padding: 8px 32px 8px 8px;
        font-size: 12px;
    }

    .filter-icon[b-gvyirm3d0c] {
        font-size: 16px;
    }

    .filter-label[b-gvyirm3d0c] {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .run-query-btn[b-gvyirm3d0c] {
        font-size: 11px;
        padding: 8px 12px;
    }
}
/* /Components/Pages/CustomerAging/SummaryFooter.razor.rz.scp.css */
.summary-footer[b-0pd07tenmj] {
    margin-top: auto;
    margin-left: 0;
    margin-right: 0;
    background-color: #00345e;
    color: #ffffff;
    border-radius: 0;
    padding: 32px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 12px rgba(0, 52, 94, 0.15);
    gap: 24px;
    width: 100%;
}

.balance-section[b-0pd07tenmj] {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.balance-icon-wrapper[b-0pd07tenmj] {
    background-color: rgba(55, 85, 195, 0.2);
    padding: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.balance-icon[b-0pd07tenmj] {
    color: #cad2ff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.balance-content[b-0pd07tenmj] {
    display: flex;
    flex-direction: column;
}

.balance-label[b-0pd07tenmj] {
    color: #c4dcff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.balance-amount[b-0pd07tenmj] {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin: 4px 0 0 0;
    letter-spacing: -0.5px;
}

.actions-section[b-0pd07tenmj] {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.footer-btn[b-0pd07tenmj] {
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    font-family: "Be Vietnam Pro", sans-serif;
}

.btn-download[b-0pd07tenmj] {
    background-color: #ffffff;
    color: #00345e;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-download:hover[b-0pd07tenmj] {
    background-color: #d2e4ff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-download:active[b-0pd07tenmj] {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-send-all[b-0pd07tenmj] {
    background-color: #4a4bd7;
    color: white;
    box-shadow: 0 2px 6px rgba(74, 75, 215, 0.3);
}

.btn-send-all:hover[b-0pd07tenmj] {
    background-color: #3d3dcb;
    box-shadow: 0 4px 10px rgba(74, 75, 215, 0.4);
    transform: translateY(-2px);
}

.btn-send-all:active[b-0pd07tenmj] {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(74, 75, 215, 0.2);
}

.btn-icon[b-0pd07tenmj] {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-disabled[b-0pd07tenmj] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

@media (max-width: 768px) {
    .summary-footer[b-0pd07tenmj] {
        padding: 20px 12px;
        gap: 16px;
        flex-direction: column;
    }

    .balance-icon-wrapper[b-0pd07tenmj] {
        min-width: 48px;
        height: 48px;
        padding: 10px;
    }

    .balance-icon[b-0pd07tenmj] {
        font-size: 28px;
    }

    .balance-section[b-0pd07tenmj] {
        gap: 16px;
        width: 100%;
    }

    .balance-amount[b-0pd07tenmj] {
        font-size: 24px;
    }

    .balance-label[b-0pd07tenmj] {
        font-size: 10px;
    }

    .actions-section[b-0pd07tenmj] {
        gap: 12px;
        width: 100%;
        flex-direction: column;
    }

    .footer-btn[b-0pd07tenmj] {
        width: 100%;
        padding: 12px 16px;
        font-size: 12px;
    }

    .btn-icon[b-0pd07tenmj] {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .summary-footer[b-0pd07tenmj] {
        padding: 16px 8px;
        flex-direction: column;
    }

    .balance-section[b-0pd07tenmj] {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .balance-icon-wrapper[b-0pd07tenmj] {
        margin: 0 auto;
    }

    .balance-amount[b-0pd07tenmj] {
        font-size: 20px;
    }

    .balance-label[b-0pd07tenmj] {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .actions-section[b-0pd07tenmj] {
        width: 100%;
        gap: 8px;
    }

    .footer-btn[b-0pd07tenmj] {
        font-size: 11px;
        padding: 10px 12px;
        gap: 6px;
    }

    .btn-icon[b-0pd07tenmj] {
        font-size: 14px;
    }
}
/* /Components/Pages/DashboardTicketPage.razor.rz.scp.css */
#chartRenderPercent[b-jt4xapqp8e] {
    background-color: rgba(217, 217, 217, 0.3);
    border-radius: 50%;
}
/* /Components/Pages/Door/ManageDirectory.razor.rz.scp.css */
.dg-layout[b-yjixqmg0wj] { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.dg-list[b-yjixqmg0wj] { flex: 0 1 280px; min-width: 0; }
.dg-editor[b-yjixqmg0wj] { flex: 1 1 420px; min-width: 0; max-width: 720px; padding: 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
.dg-item[b-yjixqmg0wj] { display: flex; flex-direction: column; width: 100%; min-width: 0; margin-bottom: 8px; padding: 10px 12px; text-align: left; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.dg-item--on[b-yjixqmg0wj] { border-color: #6366f1; background: #eef2ff; }
.dg-item-name[b-yjixqmg0wj] { font-weight: 600; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dg-item-meta[b-yjixqmg0wj] { font-size: 12px; color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dg-field[b-yjixqmg0wj] { margin-bottom: 12px; }
.dg-label[b-yjixqmg0wj] { display: block; font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 4px; }
.dg-input[b-yjixqmg0wj] { width: 100%; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 14px; outline: none; }
.dg-input:focus[b-yjixqmg0wj] { border-color: #6366f1; }
.dg-hint[b-yjixqmg0wj] { margin-top: 4px; font-size: 12px; color: #64748b; overflow-wrap: anywhere; }
.dg-check[b-yjixqmg0wj] { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: #334155; }
.dg-check input[b-yjixqmg0wj] { margin-top: 3px; flex: none; }
.dg-title[b-yjixqmg0wj] { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.dg-error[b-yjixqmg0wj] { color: #b91c1c; font-size: 13px; padding: 4px 0; overflow-wrap: anywhere; }
.dg-member[b-yjixqmg0wj] { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 0; border-bottom: 1px solid #f1f5f9; }
.dg-member-text[b-yjixqmg0wj] { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.dg-member-name[b-yjixqmg0wj] { font-weight: 600; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dg-member-sub[b-yjixqmg0wj] { font-size: 12px; color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dg-alias[b-yjixqmg0wj] { margin-top: 4px; padding: 4px 8px; font-size: 13px; }
.dg-dot[b-yjixqmg0wj] { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.dg-dot--on[b-yjixqmg0wj] { background: #16a34a; }
/* /Components/Pages/Door/ManageDoor.razor.rz.scp.css */
.md-pair[b-55rcdvn8on] { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin-bottom: 20px; padding: 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
.md-pair-form[b-55rcdvn8on] { flex: 1 1 320px; min-width: 0; max-width: 560px; }
.md-title[b-55rcdvn8on] { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.md-field[b-55rcdvn8on] { margin: 12px 0; }
.md-label[b-55rcdvn8on] { display: block; font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 4px; }
.md-input[b-55rcdvn8on] { width: 100%; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 14px; outline: none; }
.md-input:focus[b-55rcdvn8on] { border-color: #6366f1; }
.md-hint[b-55rcdvn8on] { margin-top: 4px; font-size: 12px; color: #64748b; }
.md-error[b-55rcdvn8on] { color: #b91c1c; font-size: 13px; padding: 4px 0; overflow-wrap: anywhere; }
.md-pair-result[b-55rcdvn8on] { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 20px; border: 1px dashed #cbd5e1; border-radius: 12px; }
.md-qr[b-55rcdvn8on] { width: 220px; height: 220px; image-rendering: pixelated; }
.md-code[b-55rcdvn8on] { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: Consolas, monospace; font-size: 14px; font-weight: 700; color: #0f172a; }
.md-left[b-55rcdvn8on] { font-size: 13px; color: #475569; }
/* /Components/Pages/FaceGuest/ManageGuest.razor.rz.scp.css */
.mg-cell[b-h3koxbyavo] { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; max-width: 420px; }
.mg-id[b-h3koxbyavo] { font-family: Consolas, monospace; font-size: 13px; color: #475569; }
.mg-field[b-h3koxbyavo] { margin-bottom: 12px; }
.mg-label[b-h3koxbyavo] { display: block; font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 4px; }
.mg-input[b-h3koxbyavo] { width: 100%; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 14px; outline: none; }
.mg-input:focus[b-h3koxbyavo] { border-color: #6366f1; }
.mg-input--readonly[b-h3koxbyavo] { background: #f8fafc; color: #334155; font-family: Consolas, monospace; font-size: 13px; }
.mg-hint[b-h3koxbyavo] { margin-top: 4px; font-size: 12px; color: #64748b; }
.mg-error[b-h3koxbyavo] { color: #b91c1c; font-size: 13px; padding: 4px 0; }
/* /Components/Pages/FactoryBusinessFlow/FactoryBusinessFlowPage.razor.rz.scp.css */
/* Layout is pinned to the viewport (instead of styling body/html, which an isolated
   stylesheet can never reach - see the :root tip in .claude/docs/CSS_ISOLATION_EXCEPTIONS.md) */
.fbf-page[b-grv2l41j5e] {
    position: fixed;
    inset: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.topbar[b-grv2l41j5e] {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    z-index: 100;
    position: relative;
}

.topbar h1[b-grv2l41j5e] {
    margin: 0;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.tb-title-text[b-grv2l41j5e] {
    display: flex;
    flex-direction: column;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
}

.tb-title-text small[b-grv2l41j5e] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.fbf-back-btn[b-grv2l41j5e] {
    padding: 8px 16px;
    font-size: 0.9rem;
    margin-right: 6px;
}

.fbf-logo[b-grv2l41j5e] {
    height: 40px;
    margin-right: 10px;
    display: block;
}

/* Order and Config controls, each in its own labelled group */
.tb-groups[b-grv2l41j5e] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-right: auto;
}

.tb-group[b-grv2l41j5e] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px 5px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.tb-label[b-grv2l41j5e] {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.order-dropdown[b-grv2l41j5e] {
    width: 210px;
    padding: 7px 12px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #475569;
    outline: none;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s;
}

.order-dropdown:hover[b-grv2l41j5e] {
    border-color: #cbd5e1;
}

.order-dropdown:focus[b-grv2l41j5e] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Template dropdown (custom, so an option can take a right-click -> "Set as default"). */
.tsel[b-grv2l41j5e] {
    position: relative;
}

.tsel-btn[b-grv2l41j5e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    text-align: left;
}

.tsel-text[b-grv2l41j5e] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tsel-caret[b-grv2l41j5e] {
    font-size: 0.7rem;
    color: #94a3b8;
}

.tsel-backdrop[b-grv2l41j5e] {
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.tsel-panel[b-grv2l41j5e] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    max-height: 320px;
    overflow-y: auto;
    z-index: 1001;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
    padding: 4px;
}

.tsel-item[b-grv2l41j5e] {
    display: block;
    width: 100%;
    padding: 7px 10px;
    border: none;
    border-radius: 6px;
    background: transparent;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
    cursor: pointer;
}

.tsel-item:hover[b-grv2l41j5e] {
    background: #f1f5f9;
}

.tsel-item--active[b-grv2l41j5e] {
    background: #eff6ff;
    color: #1d4ed8;
}

.tsel-ctx[b-grv2l41j5e] {
    position: fixed;
    z-index: 1002;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
    padding: 4px;
}

.tsel-ctx-item[b-grv2l41j5e] {
    display: block;
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
    cursor: pointer;
}

.tsel-ctx-item:hover[b-grv2l41j5e] {
    background: #f1f5f9;
}

/* Wraps the searchable Order picker (SearchableSelectInput fills its parent's width, and its dropdown
   panel is exactly that wide - order labels are longer than the old 210px select allowed). */
.order-picker[b-grv2l41j5e] {
    width: 240px;
}

/* Same picker inside the edit panel's "test with tracking order" row (.cfg-big-tools). */
.cfg-order-picker[b-grv2l41j5e] {
    flex: 1;
    min-width: 0;
}

.controls[b-grv2l41j5e] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status[b-grv2l41j5e] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #3b82f6;
    min-width: 260px;
    max-width: 420px;
    text-align: center;
}

.btn[b-grv2l41j5e] {
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-sm[b-grv2l41j5e] {
    padding: 7px 14px;
    font-size: 0.9rem;
}

.btn-outline[b-grv2l41j5e] {
    background: #f1f5f9;
    color: #475569;
}

.btn-outline:hover[b-grv2l41j5e] {
    background: #e2e8f0;
    color: #1e293b;
}

.btn-primary[b-grv2l41j5e] {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover[b-grv2l41j5e] {
    background: #2563eb;
    transform: translateY(-2px);
}

.canvas-container[b-grv2l41j5e] {
    flex: 1;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 20px 40px;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 30px 30px;
    overflow: hidden;
    cursor: grab;
}

.canvas-container.panning[b-grv2l41j5e] {
    cursor: grabbing;
}

/* Unlimited map: this is the transformed (pan/zoom) layer - only the nodes live inside it. See the
   comment on it in FactoryBusinessFlowPage.razor and applyTransform() in the .js. */
.canvas-world[b-grv2l41j5e] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform-origin: 0 0;
    will-change: transform;
    z-index: 10;
}

/* Smart alignment guide shown while dragging a node in line with another one */
.align-guide[b-grv2l41j5e] {
    position: absolute;
    pointer-events: none;
    z-index: 30;
    display: none;
}

.align-guide--v[b-grv2l41j5e] { top: 0; bottom: 0; border-left: 1.5px dashed #ec4899; }
.align-guide--h[b-grv2l41j5e] { left: 0; right: 0; border-top: 1.5px dashed #ec4899; }
.align-guide.show[b-grv2l41j5e] { display: block; }

/* --- Widget panel: occupies the old iFrame widgets' spot (grid columns 10-12 of the 12-col layer) --- */
/* pointer-events: none on the shell - .widget-list (below) stretches to fill the panel's full height
   via flex:1 regardless of how many widgets exist, so with few/no widgets most of this region is
   visually empty canvas. Without this, that empty space still silently ate clicks meant for whatever
   node/connector-label the diagram happened to render underneath it (worse after panning/zooming, since
   that changes which nodes end up under this fixed screen region) - the actual interactive pieces
   (.widget-panel-head, .widget-card) opt back into pointer-events: auto below. */
.widget-panel[b-grv2l41j5e] {
    position: absolute;
    top: 20px;
    bottom: 20px;
    right: 40px;
    width: calc((100% - 80px) * 3 / 12);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: width 0.2s ease;
    pointer-events: none;
}

/* .widget-panel's own position+z-index makes it a stacking context, which traps its
   .widget-card--fullscreen descendant's z-index:1200 inside it - the whole panel still only
   stacks at z-index:20 against page-level siblings like .expand-overlay (z-index:1100), so the
   overlay painted over the "fullscreen" card instead of behind it. Bumping the panel itself above
   the overlay while an AI widget is expanded lets the card (which visually covers the panel
   anyway once fixed-positioned to nearly full-screen) stack correctly on top. */
.widget-panel.widget-panel--expanding[b-grv2l41j5e] {
    z-index: 1150;
}

/* Temporarily collapsed (see _isWidgetPanelCollapsed) - shrinks to just the toggle button so the
   diagram gets that screen width back. widgetBoundary() in the .js re-measures the panel live, so new
   nodes can immediately use the reclaimed space too. */
.widget-panel.widget-panel--collapsed[b-grv2l41j5e] {
    width: 44px;
}

.widget-panel-head[b-grv2l41j5e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    background: #1a2535;
    border-radius: 10px;
    flex-shrink: 0;
    pointer-events: auto;
}

.widget-panel--collapsed .widget-panel-head[b-grv2l41j5e] {
    justify-content: center;
    padding: 8px;
}

.panel-collapse-btn[b-grv2l41j5e] {
    background: #243044;
    border: 1px solid #334155;
    color: #cbd5e1;
}

.panel-collapse-btn:hover[b-grv2l41j5e] {
    background: #2d3f58;
}

.widget-panel-title[b-grv2l41j5e] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.add-wrap[b-grv2l41j5e] {
    position: relative;
}

.add-btn[b-grv2l41j5e] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border: 1px solid #334155;
    border-radius: 6px;
    background: #243044;
    color: #cbd5e1;
    font-size: 12px;
    cursor: pointer;
    transition: background .15s;
}

.add-btn:hover[b-grv2l41j5e] {
    background: #2d3f58;
}

.add-caret[b-grv2l41j5e] {
    font-size: 11px;
}

.add-backdrop[b-grv2l41j5e] {
    position: fixed;
    inset: 0;
    z-index: 299;
}

.add-menu[b-grv2l41j5e] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 8px;
    z-index: 300;
    min-width: 260px;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

.dropdown-label[b-grv2l41j5e] {
    font-size: 10px;
    color: #475569;
    padding: 4px 8px 6px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Flyout opens to the LEFT of its trigger row (the panel hugs the right edge); overlaps by 2px so the
   pointer never crosses a gap and closes it. Anchored by bottom (not top) since "Custom Widgets" is
   the last row in the parent list - opening downward from the top would run off the bottom of the
   viewport and clip later entries with no way to scroll to them. max-height+overflow-y is a safety
   net for a longer widget list than fits on screen even anchored this way. */
.flyout-menu[b-grv2l41j5e] {
    position: absolute;
    bottom: 0;
    right: calc(100% - 2px);
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 8px;
    z-index: 300;
    min-width: 240px;
    max-height: min(320px, calc(100vh - 40px));
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

.tpl-item[b-grv2l41j5e] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    color: #cbd5e1;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    transition: background .12s;
}

.tpl-item:hover[b-grv2l41j5e] {
    background: #273549;
}

.tpl-item--parent[b-grv2l41j5e] {
    position: relative;
    cursor: default;
}

.tpl-item--empty[b-grv2l41j5e] {
    cursor: default;
    opacity: .6;
}

.tpl-icon[b-grv2l41j5e] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.tpl-icon--muted[b-grv2l41j5e] { background: #334155; }
.tpl-icon--workorder[b-grv2l41j5e] { background: #0f4a36; }
.tpl-icon--camera[b-grv2l41j5e] { background: #0c2d52; }
.tpl-icon--sticker[b-grv2l41j5e] { background: #2d1f6e; }
.tpl-icon--iot[b-grv2l41j5e] { background: #00303a; }
.tpl-icon--chart[b-grv2l41j5e] { background: #5a3d0a; }
.tpl-icon--news[b-grv2l41j5e] { background: #3b2a55; }
.tpl-icon--shortage[b-grv2l41j5e] { background: #4a1f1d; }
.tpl-icon--production[b-grv2l41j5e] { background: #1b2a5c; }

.tpl-info[b-grv2l41j5e] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.tpl-name[b-grv2l41j5e] {
    font-size: 13px;
    font-weight: 600;
    color: #f1f5f9;
}

.tpl-desc[b-grv2l41j5e] {
    font-size: 11px;
    color: #94a3b8;
}

.widget-list[b-grv2l41j5e] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-y: overlay;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 2px;
}

.widget-empty[b-grv2l41j5e] {
    padding: 24px 12px;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    background: rgba(255,255,255,.7);
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
}

/* Height defaults to a 50/50 split of the column (flex-direction:column, so flex-basis sets
   height, not width); the "Extend height"/"Shrink back" button toggles widget-card--tall below. */
.widget-card[b-grv2l41j5e] {
    flex: 0 0 calc(50% - 6px);
    min-height: 220px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    background: #fff;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

.widget-card--tall[b-grv2l41j5e] {
    flex: 0 0 calc(100% - 6px);
    min-height: 440px;
}

.widget-card--over[b-grv2l41j5e] {
    border-color: #3b82f6;
}

.widget-card-head[b-grv2l41j5e] {
    background: #e2e8f0;
    color: #334155;
    padding: 6px 10px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: grab;
    flex-shrink: 0;
}

.widget-card-grip[b-grv2l41j5e] {
    color: #94a3b8;
}

.widget-card-title[b-grv2l41j5e] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icon-btn[b-grv2l41j5e] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #64748b;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background .12s, color .12s;
}

.icon-btn:hover[b-grv2l41j5e] {
    background: #f1f5f9;
    color: #1e293b;
}

.widget-card-body[b-grv2l41j5e] {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: auto;
    overflow: overlay;
}

/* AI Widget's iframe fills this box exactly (see AIWidgetRenderer.razor.css) - overflow:auto here
   would just add a redundant outer scrollbar on top of the iframe's own. */
.widget-card-body--fill[b-grv2l41j5e] {
    overflow: hidden;
}

/* AI Widget "bigger view": no ancestor of .widget-card sets transform/filter/will-change/contain,
   so position:fixed here escapes the widget-list layout and covers the viewport like a modal -
   same card, same iframe DOM node, so the n8n chat session isn't reloaded (see the
   IsAiWidget(_expandedWidget) branch in FactoryBusinessFlowPage.razor). */
.widget-card--fullscreen[b-grv2l41j5e] {
    position: fixed;
    top: 5vh;
    left: 4vw;
    width: 92vw;
    height: 90vh;
    z-index: 1200;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

/* --- Expanded (bigger) widget view --- */
.expand-overlay[b-grv2l41j5e] {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.expand-overlay--plain[b-grv2l41j5e] {
    backdrop-filter: none;
}

.expand-modal[b-grv2l41j5e] {
    width: 92vw;
    height: 90vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.expand-modal-head[b-grv2l41j5e] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1rem;
    color: #1e293b;
    flex-shrink: 0;
}

.expand-modal-body[b-grv2l41j5e] {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: auto;
    overflow: overlay;
}

/* --- Production Execution Alerts date-range picker --- */
.picker-overlay[b-grv2l41j5e] {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(15,23,42,.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.picker-modal[b-grv2l41j5e] {
    background: #fff;
    border-radius: 16px;
    width: 440px;
    max-width: 92vw;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    display: flex;
    flex-direction: column;
}

.picker-head[b-grv2l41j5e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid #e9eef5;
}

.picker-title[b-grv2l41j5e] {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.picker-close[b-grv2l41j5e] {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 6px;
}

.picker-close:hover[b-grv2l41j5e] {
    background: #f1f5f9;
    color: #1e293b;
}

.picker-body[b-grv2l41j5e] {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.picker-section-title[b-grv2l41j5e] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.picker-error[b-grv2l41j5e] {
    font-size: 12px;
    color: #b3261e;
}

.picker-field[b-grv2l41j5e] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
}

.picker-input-wrap[b-grv2l41j5e] {
    position: relative;
}

.picker-preview[b-grv2l41j5e] {
    font-size: 11px;
    color: #94a3b8;
}

.picker-date-input[b-grv2l41j5e] {
    box-sizing: border-box;
    width: 100%;
    font-size: 0.8125rem;
    padding: 0.4rem 0.5rem;
    border: 1px solid #c3c6d7;
    border-radius: 0.35rem;
    background: #f8f9fb;
    color: #191c1e;
}

.picker-suggest[b-grv2l41j5e] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 9999;
    max-height: 190px;
    overflow-y: auto;
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 0.4rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}

.picker-suggest-item[b-grv2l41j5e] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    width: 100%;
    padding: 6px 10px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #1f2937;
    text-align: left;
    cursor: pointer;
}

.picker-suggest-item:last-child[b-grv2l41j5e] {
    border-bottom: none;
}

.picker-suggest-item:hover[b-grv2l41j5e] {
    background: #1f2937;
}

.picker-suggest-value[b-grv2l41j5e] {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
}

.picker-suggest-desc[b-grv2l41j5e] {
    font-size: 10.5px;
    color: #cbd5e1;
}

.picker-foot[b-grv2l41j5e] {
    padding: 14px 20px;
    border-top: 1px solid #e9eef5;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.picker-btn[b-grv2l41j5e] {
    padding: 7px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.picker-btn--ghost[b-grv2l41j5e] {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
}

.picker-btn--ghost:hover[b-grv2l41j5e] {
    background: #f8fafc;
}

.picker-btn--primary[b-grv2l41j5e] {
    border: none;
    background: #1D9E75;
    color: #fff;
}

.picker-btn--primary:hover[b-grv2l41j5e] {
    background: #18896a;
}

/* --- List picker (camera / sticker / IoT / chart / news) --- */
.picker-list[b-grv2l41j5e] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 280px;
    overflow-y: auto;
}

.picker-item[b-grv2l41j5e] {
    text-align: left;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #1e293b;
    font-size: 13px;
    cursor: pointer;
    transition: background .12s, border-color .12s;
}

.picker-item:hover[b-grv2l41j5e] {
    background: #f8fafc;
    border-color: #1D9E75;
}

.picker-item-sub[b-grv2l41j5e] {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 2px;
}

.picker-empty[b-grv2l41j5e] {
    font-size: 12px;
    color: #94a3b8;
}

.grid-layer[b-grv2l41j5e] {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
}

/* --- Nodes: injected at runtime by FactoryBusinessFlowPage.js, so these rules need
   ::deep to reach them (they never carry this component's scope attribute). Nodes are
   free-form positioned (left/top %, set from JS) so they can be dragged in edit mode. --- */
.grid-layer[b-grv2l41j5e]  .node {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    width: 145px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 5px;
    transition: background 0.5s ease, box-shadow 0.5s ease, color 0.5s ease;
    touch-action: none;
}

.grid-layer[b-grv2l41j5e]  .node.upcoming {
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
    border: 1px solid #e2e8f0;
    color: #64748b;
    box-shadow:
        5px 5px 10px rgba(148, 163, 184, 0.15),
        -5px -5px 10px rgba(255, 255, 255, 1),
        inset 1px 1px 0px rgba(255, 255, 255, 1);
}

.grid-layer[b-grv2l41j5e]  .node.active {
    background: linear-gradient(145deg, #3b82f6, #1d4ed8);
    border: 1px solid #1e40af;
    color: #ffffff;
    box-shadow:
        0 15px 25px -5px rgba(37, 99, 235, 0.5),
        0 8px 10px -6px rgba(37, 99, 235, 0.4),
        inset 1px 1px 2px rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%) scale(1.15) translateY(-5px);
    z-index: 20;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.grid-layer[b-grv2l41j5e]  .node.completed {
    background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
    border: 1px solid #94a3b8;
    color: #475569;
    box-shadow:
        inset 4px 4px 8px rgba(100, 116, 139, 0.15),
        inset -4px -4px 8px rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%) scale(0.95);
    cursor: pointer;
}

.grid-layer[b-grv2l41j5e]  .node.completed:hover {
    border-color: #94a3b8;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* --- SVG lines: <path> elements are also injected at runtime --- */
#svg-canvas[b-grv2l41j5e] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

#paths-group[b-grv2l41j5e]  path {
    fill: none;
    transition: all 0.5s ease;
    pointer-events: auto;
}

#paths-group[b-grv2l41j5e]  path.clickable {
    cursor: pointer;
}

#paths-group[b-grv2l41j5e]  path.clickable:hover {
    stroke-width: 4;
    filter: drop-shadow(0 0 6px rgba(59,130,246,0.8));
}

#paths-group[b-grv2l41j5e]  path.upcoming {
    stroke: #cbd5e1;
    stroke-width: 2;
    stroke-dasharray: 6, 6;
    opacity: 1;
}

#paths-group[b-grv2l41j5e]  path.active {
    stroke: #3b82f6;
    stroke-width: 3;
    opacity: 1;
    filter: drop-shadow(0 0 4px rgba(59,130,246,0.6));
    stroke-dasharray: 12;
    animation: fbf-flow-b-grv2l41j5e 0.8s linear infinite;
}

#paths-group[b-grv2l41j5e]  path.completed {
    stroke: #94a3b8;
    stroke-width: 2;
    opacity: 1;
    stroke-dasharray: none;
}

/* Connector line type (chosen per connection in edit mode). "active" keeps its own flowing-dash
   animation regardless of type (it's a temporary highlight, not a steady look); "upcoming" and
   "completed" show the chosen type so solid/dashed/dotted are distinguishable in the idle diagram too. */
#paths-group[b-grv2l41j5e]  path.upcoming.lt-solid { stroke-dasharray: none; }
#paths-group[b-grv2l41j5e]  path.upcoming.lt-dotted { stroke-dasharray: 2, 4; }
#paths-group[b-grv2l41j5e]  path.completed.lt-dashed { stroke-dasharray: 6, 4; }
#paths-group[b-grv2l41j5e]  path.completed.lt-dotted { stroke-dasharray: 2, 4; }

@keyframes fbf-flow-b-grv2l41j5e {
    from { stroke-dashoffset: 24; }
    to { stroke-dashoffset: 0; }
}

/* --- Edge labels: injected at runtime --- */
#labels-layer[b-grv2l41j5e] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    pointer-events: none;
}

/* pointer-events stays "none" by default - #labels-layer sits above .grid-layer's nodes (z-index 15 vs
   10), so a label with no URL (not .clickable) and not being dragged (not .label--draggable, edit-mode
   only) has no interaction of its own, but was still intercepting clicks/double-clicks meant for
   whichever node it happened to render over - silently making that node's popup unopenable in view mode
   depending purely on the diagram's layout/zoom, with zero functional benefit for that label. Only the
   two states below that actually need clicks (open URL / drag) opt back in. */
#labels-layer[b-grv2l41j5e]  .label {
    position: absolute;
    font-size: 0.8rem;
    font-weight: 800;
    color: #ef4444;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    border: 1px solid #fee2e2;
    pointer-events: none;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.1);
}

#labels-layer[b-grv2l41j5e]  .label.clickable,
#labels-layer[b-grv2l41j5e]  .label.label--draggable {
    pointer-events: auto;
}

#labels-layer[b-grv2l41j5e]  .label.clickable {
    cursor: pointer;
}

#labels-layer[b-grv2l41j5e]  .label.clickable:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 20;
}

#labels-layer[b-grv2l41j5e]  .label.upcoming {
    opacity: 1;
    color: #94a3b8;
    border-color: #e2e8f0;
}

#labels-layer[b-grv2l41j5e]  .label.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2);
    border-color: #f87171;
    color: #ef4444;
}

#labels-layer[b-grv2l41j5e]  .label.completed {
    opacity: 0.8;
    color: #94a3b8;
    border-color: transparent;
    background: transparent;
}

/* Edit mode: the note can be dragged along its connector (see makeLabelDraggable in the .js) */
#labels-layer[b-grv2l41j5e]  .label.label--draggable {
    cursor: grab;
    touch-action: none;
}

#labels-layer[b-grv2l41j5e]  .label.label--draggable:active {
    cursor: grabbing;
}

/* Connector bend handle: dragged in edit mode to route a connector through a point instead of straight */
#labels-layer[b-grv2l41j5e]  .bend-handle {
    position: absolute;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    margin-top: -6px;
    border-radius: 50%;
    background: #f59e0b;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    cursor: grab;
    pointer-events: auto;
    touch-action: none;
    z-index: 25;
    display: none;
}

#labels-layer[b-grv2l41j5e]  .bend-handle:hover { transform: scale(1.2); }
#labels-layer[b-grv2l41j5e]  .bend-handle:active { cursor: grabbing; }

/* --- Transaction log modal --- */
.modal-overlay[b-grv2l41j5e] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active[b-grv2l41j5e] {
    opacity: 1;
    pointer-events: auto;
}

.modal-content[b-grv2l41j5e] {
    background: #ffffff;
    border-radius: 16px;
    width: 800px;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.modal-overlay.active .modal-content[b-grv2l41j5e] {
    transform: translateY(0) scale(1);
}

.modal-header[b-grv2l41j5e] {
    padding: 20px 30px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
}

/* Title + tracking badge share this group, separate from the action buttons below, so a long badge
   (many display fields) wraps within its own space instead of pushing/overlapping the buttons. */
.modal-header-info[b-grv2l41j5e] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    min-width: 0;
    flex: 1;
}

.modal-header-actions[b-grv2l41j5e] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.modal-header h2[b-grv2l41j5e] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header .badge[b-grv2l41j5e] {
    background: #e0e7ff;
    color: #4f46e5;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.btn-close[b-grv2l41j5e] {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-close:hover[b-grv2l41j5e] {
    color: #ef4444;
}

.modal-body[b-grv2l41j5e] {
    padding: 0;
    flex: 1;
    min-height: 0; /* lets this flex child actually shrink and scroll instead of growing .modal-content past max-height */
    overflow: auto;
}

.tx-table[b-grv2l41j5e] {
    width: 100%;
    border-collapse: collapse;
}

/* Header/body rows are injected at runtime, so th/td/status spans need ::deep */
.tx-table[b-grv2l41j5e]  th,
.tx-table[b-grv2l41j5e]  td {
    padding: 16px 30px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.tx-table[b-grv2l41j5e]  th {
    background: #f1f5f9;
    font-weight: 800;
    color: #475569;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tx-table[b-grv2l41j5e]  td {
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 500;
}

.tx-table[b-grv2l41j5e]  tr:hover {
    background: #f8fafc;
}

.tx-table[b-grv2l41j5e]  .tx-status-pass {
    color: #10b981;
    font-weight: 700;
}

.tx-table[b-grv2l41j5e]  .tx-status-fail {
    color: #ef4444;
    font-weight: 700;
}

.tx-table[b-grv2l41j5e]  .tx-status-pending {
    color: #f59e0b;
    font-weight: 700;
}

/* --- Edit mode: node picking / dragging on the diagram (JS-built nodes need ::deep) --- */
/* #canvas-world (not .grid-layer) carries this now - the pan/zoom transform gives #canvas-world its own
   stacking context, so .grid-layer's own z-index no longer has any effect on the outer paint order.
   No z-index override here any more (nodes keep their base z-index: 10, same as view mode) - it used to
   jump to 40, which put every node ABOVE #labels-layer's z-index: 15. Since #labels-layer holds the
   connector notes and bend handles across the WHOLE canvas, that silently made any note or bend handle
   unclickable wherever an unrelated node elsewhere on the diagram happened to render over it - the note
   only became clickable again once that node was dragged out of the way. Keeping nodes below
   #labels-layer (as in view mode) fixes that; a bend handle landing exactly on a node still lets you grab
   the (smaller, more specific) handle, which is the more standard priority for two overlapping controls. */
.canvas-container.edit-mode .canvas-world[b-grv2l41j5e] {
    pointer-events: none;
}

.canvas-container.edit-mode[b-grv2l41j5e]  .node {
    cursor: grab;
    border-style: dashed;
    pointer-events: auto;
}

.canvas-container.edit-mode[b-grv2l41j5e]  .node:active {
    cursor: grabbing;
}

.canvas-container.edit-mode[b-grv2l41j5e]  .node.selected {
    outline: 3px solid #f59e0b;
    outline-offset: 2px;
}

/* Ctrl+click connected-group selection (see setGroupSelectionFrom in the .js) - drawn after .selected
   so it wins when a node happens to be both the single edit-panel selection and part of a dragged group. */
.canvas-container.edit-mode[b-grv2l41j5e]  .node.group-selected {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
}

#labels-layer[b-grv2l41j5e]  .bend-handle.group-selected {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
    background: #2563eb;
}

/* Node codename (NodeKey) - always in the DOM, hidden unless the toolbar toggle turns it on. Own
   background pill so it stays legible regardless of the node's status colour underneath. */
.grid-layer[b-grv2l41j5e]  .node-codename {
    display: none;
    position: absolute;
    top: -8px;
    left: 4px;
    font-family: monospace;
    font-size: 0.6rem;
    font-weight: 600;
    color: #334155;
    background: #fde68a;
    border-radius: 4px;
    padding: 1px 4px;
    pointer-events: none;
}

.canvas-container.show-codenames[b-grv2l41j5e]  .node-codename {
    display: block;
}

.grid-layer[b-grv2l41j5e]  .node.query-error {
    box-shadow: 0 0 0 3px #ef4444;
}

/* --- Edit mode: config editor panel --- */
.cfg-panel[b-grv2l41j5e] {
    position: fixed;
    top: var(--fbf-topbar-h, 76px);
    right: 12px;
    bottom: 12px;
    width: var(--fbf-cfg-panel-w, 600px);
    min-width: 360px;
    max-width: 90vw;
    z-index: 60;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

/* Dragged (FactoryBusinessFlowPage.js) to resize the panel by setting --fbf-cfg-panel-w */
.cfg-resize-handle[b-grv2l41j5e] {
    position: absolute;
    top: 0;
    left: -5px;
    width: 10px;
    height: 100%;
    cursor: ew-resize;
    touch-action: none;
    z-index: 61;
}

.cfg-resize-handle:hover[b-grv2l41j5e], .cfg-resize-handle:active[b-grv2l41j5e] {
    background: rgba(59, 130, 246, 0.18);
}

.cfg-head[b-grv2l41j5e], .cfg-foot[b-grv2l41j5e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
}

.cfg-head[b-grv2l41j5e] { border-bottom: 1px solid #e2e8f0; }
.cfg-foot[b-grv2l41j5e] { border-top: 1px solid #e2e8f0; justify-content: flex-end; }

.cfg-title[b-grv2l41j5e] { font-weight: 800; color: #1e293b; }

.cfg-body[b-grv2l41j5e] {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cfg-label[b-grv2l41j5e] { font-size: 0.8rem; font-weight: 700; color: #475569; margin-top: 8px; }
.cfg-check[b-grv2l41j5e] { font-size: 0.85rem; color: #475569; display: flex; align-items: center; gap: 6px; }

/* Order picker display-field checkboxes (several .cfg-check items side by side, wrapping) */
.cfg-check-row[b-grv2l41j5e] { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 4px; }
.cfg-hint[b-grv2l41j5e] { font-size: 0.78rem; color: #64748b; background: #f8fafc; border-radius: 8px; padding: 8px 10px; margin-top: 6px; }
.cfg-empty[b-grv2l41j5e] { font-size: 0.85rem; color: #94a3b8; padding: 12px 0; }
.cfg-test-params[b-grv2l41j5e] { font-family: monospace; font-size: 0.76rem; color: #334155; background: #eef2ff; border-radius: 6px; padding: 4px 8px; margin-top: 4px; }

.cfg-input[b-grv2l41j5e], .cfg-textarea[b-grv2l41j5e] {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    outline: none;
}

.cfg-textarea[b-grv2l41j5e] { font-family: Consolas, monospace; resize: vertical; }
.cfg-input:focus[b-grv2l41j5e], .cfg-textarea:focus[b-grv2l41j5e] { border-color: #3b82f6; }

.cfg-error[b-grv2l41j5e] { color: #b91c1c; background: #fee2e2; border-radius: 8px; padding: 8px 10px; font-size: 0.82rem; margin-top: 6px; }

.cfg-result[b-grv2l41j5e] { max-height: 220px; overflow: auto; border: 1px solid #e2e8f0; border-radius: 8px; margin-top: 6px; }
.cfg-result table[b-grv2l41j5e] { border-collapse: collapse; width: 100%; font-size: 0.78rem; }
.cfg-result th[b-grv2l41j5e], .cfg-result td[b-grv2l41j5e] { padding: 4px 8px; border-bottom: 1px solid #f1f5f9; text-align: left; white-space: nowrap; }
.cfg-result th[b-grv2l41j5e] { position: sticky; top: 0; background: #f8fafc; }

/* --- Big query editor (opens over the config panel) --- */
.cfg-big-overlay[b-grv2l41j5e] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.5);
}

.cfg-big[b-grv2l41j5e] {
    width: min(1100px, 92vw);
    height: 85vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
}

.cfg-big-body[b-grv2l41j5e] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
}

.cfg-big-text[b-grv2l41j5e] { flex: 1; min-height: 240px; font-size: 0.95rem; }
.cfg-big-tools[b-grv2l41j5e] { display: flex; gap: 8px; align-items: center; }
.cfg-big-tools .cfg-input[b-grv2l41j5e] { flex: 1; }

/* --- Big editor: tabs, result popup, status note (colours match the map's node states) --- */
.cfg-tabs[b-grv2l41j5e] { display: flex; gap: 4px; }
.cfg-tab[b-grv2l41j5e] { padding: 6px 16px; border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc; color: #475569; font-weight: 700; cursor: pointer; }
.cfg-tab--on[b-grv2l41j5e] { background: #3b82f6; border-color: #1d4ed8; color: #fff; }

.cfg-result-overlay[b-grv2l41j5e] { z-index: 2100; }
.cfg-result-modal[b-grv2l41j5e] { width: min(1000px, 90vw); max-height: 80vh; display: flex; flex-direction: column; background: #fff; border-radius: 12px; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.4); }
.cfg-result--big[b-grv2l41j5e] { max-height: none; flex: 1; margin: 12px 16px 16px; }

.cfg-status[b-grv2l41j5e] { padding: 12px 16px; border-radius: 8px; font-weight: 800; border: 1px solid; }
.cfg-status--0[b-grv2l41j5e] { background: #f1f5f9; border-color: #e2e8f0; color: #64748b; }   /* upcoming */
.cfg-status--1[b-grv2l41j5e] { background: #cbd5e1; border-color: #94a3b8; color: #475569; }   /* completed */
.cfg-status--2[b-grv2l41j5e] { background: #1d4ed8; border-color: #1e40af; color: #fff; }      /* active */
.cfg-status--bad[b-grv2l41j5e] { background: #fee2e2; border-color: #fca5a5; color: #b91c1c; }

/* Flex children must not shrink (the query boxes were squashed to one line) */
.cfg-body > *[b-grv2l41j5e], .cfg-big-body > *[b-grv2l41j5e] { flex-shrink: 0; }
.cfg-big-body > .cfg-big-text[b-grv2l41j5e] { flex: 1 0 240px; }

/* Tabbed query editor in the panel: one tall query box per tab (default panel width set above) */
.cfg-query[b-grv2l41j5e] { min-height: 340px; flex: 1 0 340px; font-size: 0.9rem; }
.cfg-panel .cfg-tabs[b-grv2l41j5e] { margin-top: 8px; }

/* Config name row (rename + delete) and the new-config name popup */
.cfg-name-row[b-grv2l41j5e] { display: flex; gap: 8px; align-items: center; }
.cfg-name-row .cfg-input[b-grv2l41j5e] { flex: 1; }
.cfg-delete[b-grv2l41j5e] { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.cfg-delete:hover[b-grv2l41j5e] { background: #fecaca; }

.cfg-name-modal[b-grv2l41j5e] { position: relative; width: min(420px, 90vw); display: flex; flex-direction: column; gap: 12px; padding: 20px; background: #fff; border-radius: 12px; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.4); }
.cfg-name-modal-foot[b-grv2l41j5e] { display: flex; justify-content: flex-end; gap: 8px; }

/* Node name field and the previous/next connections list */
.cfg-node-name[b-grv2l41j5e] { font-weight: 800; color: #1e293b; }
.picker-btn--sm[b-grv2l41j5e] { padding: 3px 10px; font-size: 11px; }

.cfg-conn-col[b-grv2l41j5e] { display: flex; flex-direction: column; gap: 4px; }
.cfg-conn-head[b-grv2l41j5e] { display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; font-weight: 700; color: #475569; margin-top: 6px; }
.cfg-conn-empty[b-grv2l41j5e] { font-size: 0.8rem; color: #94a3b8; padding: 2px 0 4px; }

.cfg-conn-item[b-grv2l41j5e] { display: flex; align-items: center; gap: 6px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 4px 6px 4px 10px; }
.cfg-conn-link[b-grv2l41j5e] { flex: 1; text-align: left; background: none; border: none; padding: 2px 0; font-size: 0.82rem; color: #1d4ed8; cursor: pointer; }
.cfg-conn-link:hover[b-grv2l41j5e] { text-decoration: underline; }
.cfg-conn-x[b-grv2l41j5e] { background: none; border: none; color: #94a3b8; cursor: pointer; padding: 2px 6px; font-size: 0.8rem; }
.cfg-conn-x:hover[b-grv2l41j5e] { color: #b91c1c; }

/* --- Floating scrollbar for widgets: same as AdvancedChatRenderer.razor.css (.aiwa-messages) - thin
   overlay scrollbar, invisible until the area is hovered. ::deep covers scrollers rendered by the
   widget components. --- */
.widget-list[b-grv2l41j5e],
.widget-card-body[b-grv2l41j5e],
.expand-modal-body[b-grv2l41j5e],
.widget-card-body[b-grv2l41j5e]  *,
.expand-modal-body[b-grv2l41j5e]  * {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.widget-list:hover[b-grv2l41j5e],
.widget-card-body:hover[b-grv2l41j5e],
.expand-modal-body:hover[b-grv2l41j5e],
.widget-card-body[b-grv2l41j5e]  *:hover,
.expand-modal-body[b-grv2l41j5e]  *:hover {
    scrollbar-color: rgba(100, 116, 139, 0.4) transparent;
}

.widget-list[b-grv2l41j5e]::-webkit-scrollbar,
.widget-card-body[b-grv2l41j5e]::-webkit-scrollbar,
.expand-modal-body[b-grv2l41j5e]::-webkit-scrollbar,
.widget-card-body[b-grv2l41j5e]  *::-webkit-scrollbar,
.expand-modal-body[b-grv2l41j5e]  *::-webkit-scrollbar {
    width: 6px;
}

.widget-list[b-grv2l41j5e]::-webkit-scrollbar-track,
.widget-card-body[b-grv2l41j5e]::-webkit-scrollbar-track,
.expand-modal-body[b-grv2l41j5e]::-webkit-scrollbar-track,
.widget-card-body[b-grv2l41j5e]  *::-webkit-scrollbar-track,
.expand-modal-body[b-grv2l41j5e]  *::-webkit-scrollbar-track {
    background: transparent;
}

.widget-list[b-grv2l41j5e]::-webkit-scrollbar-thumb,
.widget-card-body[b-grv2l41j5e]::-webkit-scrollbar-thumb,
.expand-modal-body[b-grv2l41j5e]::-webkit-scrollbar-thumb,
.widget-card-body[b-grv2l41j5e]  *::-webkit-scrollbar-thumb,
.expand-modal-body[b-grv2l41j5e]  *::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 999px;
}

.widget-list:hover[b-grv2l41j5e]::-webkit-scrollbar-thumb,
.widget-card-body:hover[b-grv2l41j5e]::-webkit-scrollbar-thumb,
.expand-modal-body:hover[b-grv2l41j5e]::-webkit-scrollbar-thumb,
.widget-card-body[b-grv2l41j5e]  *:hover::-webkit-scrollbar-thumb,
.expand-modal-body[b-grv2l41j5e]  *:hover::-webkit-scrollbar-thumb {
    background-color: rgba(100, 116, 139, 0.4);
}

/* AI Dashboard is dark; the (non-overlay) scrollbar gutter of its card body otherwise shows the card's white. */
.widget-card-body:has(> .aid-dashboard)[b-grv2l41j5e],
.expand-modal-body:has(> .aid-dashboard)[b-grv2l41j5e] {
    background: #0f172a;
}
/* /Components/Pages/FixedAssetTransaction/Cards/CardCapitalization.razor.rz.scp.css */
/* Mirrors SubInnerCardLineDetailSAP.razor.css's grid classes (isolated to that component, so
   redefined here rather than reused) - gives the Contents grid the same look. */
.fa-cap-dates[b-am0bftlk8c] {
    margin-bottom: 16px;
}

.fa-cap-table-wrapper[b-am0bftlk8c] {
    overflow-x: auto;
    width: 100%;
}

.fa-cap-account-trigger[b-am0bftlk8c] {
    text-align: left;
    cursor: pointer;
}

.fa-cap-account-list[b-am0bftlk8c] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fa-cap-account-option[b-am0bftlk8c] {
    text-align: left;
    padding: 8px 12px;
    border: 1px solid #d4dadf;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
    font-size: 14px;
}

    .fa-cap-account-option:hover[b-am0bftlk8c] {
        background: #f5f6f7;
        border-color: #0070f2;
    }

.fa-cap-actions[b-am0bftlk8c] {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.sap-table-line[b-am0bftlk8c] {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #32363a;
}

    .sap-table-line thead th[b-am0bftlk8c] {
        background-color: #f5f6f7;
        font-weight: 600;
        text-align: left;
        padding: 8px 12px;
        white-space: nowrap;
        border-bottom: 1px solid #dde2eb;
    }

    .sap-table-line tbody td[b-am0bftlk8c] {
        border-bottom: 1px solid #ededed;
        padding: 6px 12px;
        vertical-align: middle;
    }

    .sap-table-line tbody td .sap_input[b-am0bftlk8c] {
        min-width: 100px;
    }

.sap_table-no-data[b-am0bftlk8c] {
    text-align: center;
    color: #888;
    padding: 1rem;
}
/* /Components/Pages/FixedAssetTransaction/Cards/CardDepreciationRun.razor.rz.scp.css */
.fa-dep-header[b-bgqr7tsjww] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.fa-trans-summary-item[b-bgqr7tsjww] {
    display: inline-flex;
    gap: 6px;
    margin-right: 24px;
    font-size: 14px;
}

.fa-dep-year-row[b-bgqr7tsjww] {
    max-width: 260px;
    margin-bottom: 12px;
}

/* .sap_label's default 220px label column leaves the input only a few px wide inside this
   260px-wide row - shrink the label column to fit "Year". */
.fa-dep-year-row .sap_label[b-bgqr7tsjww] {
    grid-template-columns: 60px 1fr;
}

.fa-dep-table-wrapper[b-bgqr7tsjww] {
    overflow-x: auto;
    width: 100%;
}

.sap-table-line[b-bgqr7tsjww] {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #32363a;
}

    .sap-table-line thead th[b-bgqr7tsjww] {
        background-color: #f5f6f7;
        font-weight: 600;
        text-align: left;
        padding: 8px 12px;
        white-space: nowrap;
        border-bottom: 1px solid #dde2eb;
    }

    .sap-table-line tbody td[b-bgqr7tsjww] {
        border-bottom: 1px solid #ededed;
        padding: 6px 12px;
        vertical-align: middle;
    }
/* /Components/Pages/FixedAssetTransaction/Cards/CardFiscalYearChange.razor.rz.scp.css */
.fa-fyc-year-input[b-osiot8tv8u] {
    display: flex;
    align-items: center;
    gap: 4px;
}

    .fa-fyc-year-input .sap_input[b-osiot8tv8u] {
        flex: 1;
    }

/* select.sap_input strips the native dropdown arrow without drawing its own and its default
   vertical padding clips the selected text - same fix as SAPMasterDataListType's .sap_input--select. */
.fa-fyc-select[b-osiot8tv8u] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23556b82'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding: 3px 24px 3px 8px !important;
    line-height: 1.3 !important;
}
/* /Components/Pages/FixedAssetTransaction/Cards/CardOthers.razor.rz.scp.css */
/* Mirrors CardCapitalization.razor.css's grid/table classes (isolated per component, so
   redefined here rather than reused) - gives this card's Contents grid the same look. */
.fa-cap-dates[b-8s42e4e607] {
    margin-bottom: 16px;
}

.fa-cap-table-wrapper[b-8s42e4e607] {
    overflow-x: auto;
    width: 100%;
}

.fa-cap-actions[b-8s42e4e607] {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.sap-table-line[b-8s42e4e607] {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #32363a;
}

    .sap-table-line thead th[b-8s42e4e607] {
        background-color: #f5f6f7;
        font-weight: 600;
        text-align: left;
        padding: 8px 12px;
        white-space: nowrap;
        border-bottom: 1px solid #dde2eb;
    }

    .sap-table-line tbody td[b-8s42e4e607] {
        border-bottom: 1px solid #ededed;
        padding: 6px 12px;
        vertical-align: middle;
    }

    .sap-table-line tbody td .sap_input[b-8s42e4e607] {
        min-width: 100px;
    }

.sap_table-no-data[b-8s42e4e607] {
    text-align: center;
    color: #888;
    padding: 1rem;
}

/* Mirrors SubSectionContentJEV2.razor.css's Add Row button (isolated to that component). */
.sap_btn-add-row-wrapper[b-8s42e4e607] {
    padding: 12px 0 0;
}

.sap_btn-add-row[b-8s42e4e607] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: #0070f2;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 4px;
}

    .sap_btn-add-row:hover[b-8s42e4e607] {
        background: #f5f5f5;
    }
/* /Components/Pages/FixedAssetTransaction/Cards/DepreciationRunModal.razor.rz.scp.css */
.fa-dep-modal-tabs[b-p7l4cprek8] {
    margin: 0;
}

.fa-dep-dates[b-p7l4cprek8] {
    margin: 12px 16px 16px;
}

/* .sap_label defaults to a 220px label column + 1fr input, which leaves the input only a few
   px wide once three fields share the modal's row - stack label above input instead. */
.fa-dep-dates .sap_label[b-p7l4cprek8] {
    grid-template-columns: 1fr;
    row-gap: 4px;
}

.fa-dep-table-wrapper[b-p7l4cprek8] {
    overflow-x: auto;
    width: 100%;
    padding: 0 16px 16px;
}

.sap-table-line[b-p7l4cprek8] {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #32363a;
}

    .sap-table-line thead th[b-p7l4cprek8] {
        background-color: #f5f6f7;
        font-weight: 600;
        text-align: left;
        padding: 8px 12px;
        white-space: nowrap;
        border-bottom: 1px solid #dde2eb;
    }

    .sap-table-line tbody td[b-p7l4cprek8] {
        border-bottom: 1px solid #ededed;
        padding: 6px 12px;
        vertical-align: middle;
    }

    .sap-table-line tbody td .sap_input[b-p7l4cprek8] {
        min-width: 90px;
    }

.sap_table-no-data[b-p7l4cprek8] {
    text-align: center;
    color: #888;
    padding: 1rem;
}

.fa-dep-group-row[b-p7l4cprek8] {
    cursor: pointer;
    user-select: none;
}

    .fa-dep-group-row td[b-p7l4cprek8] {
        font-weight: 600;
        text-align: left;
        border-bottom: 1px solid #dde2eb;
    }

    .fa-dep-group-row img[b-p7l4cprek8] {
        width: 14px;
        height: 14px;
        vertical-align: middle;
        margin-right: 4px;
    }

.fa-dep-money[b-p7l4cprek8] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fa-dep-money-cur[b-p7l4cprek8] {
    color: #6a6d70;
}

.sap-table-line th.fa-dep-check-col[b-p7l4cprek8],
.sap-table-line td.fa-dep-check-col[b-p7l4cprek8] {
    width: 40px;
    text-align: center;
}
/* /Components/Pages/FixedAssetTransaction/Cards/FiscalYearChangeModal.razor.rz.scp.css */
.fa-fyc-row[b-qxcpfnxjlj] {
    display: grid;
    grid-template-columns: 140px 120px 1fr;
    align-items: center;
    gap: 12px;
    margin: 16px;
    font-size: 14px;
    text-align: left;
}

.fa-fyc-range[b-qxcpfnxjlj] {
    color: #6a6d70;
    white-space: nowrap;
}

/* select.sap_input strips the native dropdown arrow without drawing its own and its default
   vertical padding clips the selected text - same fix as SAPMasterDataListType's .sap_input--select. */
.fa-fyc-select[b-qxcpfnxjlj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23556b82'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding: 3px 24px 3px 8px !important;
    line-height: 1.3 !important;
}
/* /Components/Pages/FixedAssetTransaction/FAAccountClassPickerModal.razor.rz.scp.css */
.fa-pick-table-wrapper[b-0cpau3wn5p] {
    max-height: 60vh;
    overflow: auto;
}

.fa-pick-row[b-0cpau3wn5p] {
    cursor: pointer;
}

.fa-pick-row:hover[b-0cpau3wn5p] {
    background-color: #f2f6fa;
}
/* /Components/Pages/FixedAssetTransaction/FAClassPickerModal.razor.rz.scp.css */
.fa-pick-table-wrapper[b-ha0edf6s3e] {
    max-height: 60vh;
    overflow: auto;
}

.fa-pick-row[b-ha0edf6s3e] {
    cursor: pointer;
}

.fa-pick-row:hover[b-ha0edf6s3e] {
    background-color: #f2f6fa;
}
/* /Components/Pages/FixedAssetTransaction/FixedAssetMasterDataDetail.razor.rz.scp.css */
/* Same look as FixedAssetTransaction.razor.css (which mirrors SubHeaderSAP.razor.css - isolated to
   that component, so redefined here rather than reused): title bar, nav buttons, form card. */
.sap_action-header[b-5b8w9gwvog] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    background: transparent;
    gap: 12px;
}

.sap_action-left[b-5b8w9gwvog] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_item-code[b-5b8w9gwvog] {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #333;
    margin-left: 15px;
}

.sap_nav-btn[b-5b8w9gwvog] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

    .sap_nav-btn:hover:not(:disabled)[b-5b8w9gwvog] {
        background: #e9ecef;
    }

    .sap_nav-btn:disabled[b-5b8w9gwvog] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.fa-trans-notice[b-5b8w9gwvog] {
    margin: 0 35px 10px;
    padding: 8px 12px;
    border-radius: 6px;
    background: #fef2f2;
    color: #b42318;
    font-size: 0.85rem;
}

.fa-trans-page[b-5b8w9gwvog] {
    padding-top: 16px;
    padding-bottom: 8rem; /* clears the fixed .sap_bottom-bar */
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Card holds two columns: Fixed Asset | Overview. */
.sap_card-columns[b-5b8w9gwvog] {
    grid-template-columns: 1fr 1fr;
}

.sap_column[b-5b8w9gwvog] {
    min-width: 0;
}

@media (max-width: 1200px) {
    .sap_card-columns[b-5b8w9gwvog] {
        grid-template-columns: 1fr;
    }
}

/* Long read-only values (e.g. a long asset name) are cut with "..." inside their own cell instead of
   running over the next column. */
.fa-trans-ellipsis[b-5b8w9gwvog] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Pages/FixedAssetTransaction/FixedAssetTransaction.razor.rz.scp.css */
/* Mirrors SubHeaderSAP.razor.css's .sap_action-header/.sap_item-code (isolated to that
   component, so redefined here rather than reused) - the plain title bar above the tabs. */
.sap_action-header[b-vgbwlk5ua5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    background: transparent;
    gap: 12px;
}

.sap_action-left[b-vgbwlk5ua5] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_item-code[b-vgbwlk5ua5] {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #333;
    margin-left: 15px;
}

.fa-trans-subtitle[b-vgbwlk5ua5] {
    font-size: 0.85rem;
    color: #6b7280;
    margin-right: 8px;
}

/* Mirrors SubHeaderSAP.razor.css's .sap_nav-btn (isolated to that component, so redefined
   here rather than reused) - the First/Previous/Next/Last icon buttons. */
.sap_nav-btn[b-vgbwlk5ua5] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

    .sap_nav-btn:hover:not(:disabled)[b-vgbwlk5ua5] {
        background: #e9ecef;
    }

    .sap_nav-btn:disabled[b-vgbwlk5ua5] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.fa-trans-notice[b-vgbwlk5ua5] {
    margin: 0 35px 10px;
    padding: 8px 12px;
    border-radius: 6px;
    background: #fef2f2;
    color: #b42318;
    font-size: 0.85rem;
}

.fa-trans-page[b-vgbwlk5ua5] {
    padding-top: 16px;
    padding-bottom: 32rem; /* clears the fixed .sap_bottom-bar */
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fa-trans-summary[b-vgbwlk5ua5] {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    flex: 1;
}

.fa-trans-summary-item[b-vgbwlk5ua5] {
    display: flex;
    gap: 6px;
    white-space: nowrap;
    font-size: 14px;
}

/* Header card holds three columns: Fixed Asset | Document Info | Overview. */
.sap_card-columns[b-vgbwlk5ua5] {
    grid-template-columns: 1fr 1fr 1fr;
}

.sap_column[b-vgbwlk5ua5] {
    min-width: 0;
}

@media (max-width: 1200px) {
    .sap_card-columns[b-vgbwlk5ua5] {
        grid-template-columns: 1fr;
    }
}

.fa-trans-card-host[b-vgbwlk5ua5] {
    min-height: 160px;
}

/* Long read-only values (e.g. a long asset name) are cut with "..." inside their own cell instead of
   running over the next column. */
.fa-trans-ellipsis[b-vgbwlk5ua5] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Pages/HomePage.razor.rz.scp.css */
.contentHomePG .nav-link[b-y4esj77aty] {
    color: white;
    font-size: 25px;
    padding: 0;
    transition: border-bottom 0.2s ease, color 0.2s ease;
}
.navHomePage2[b-y4esj77aty] {
    position: sticky;
    top: 2.75rem;
    z-index: 9;
    background-color: #2c4a65;
    padding: 0 3rem;
    height: 3.25rem;
    transition: padding-left 0.3s ease;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.15);
}
.nav-back-btn[b-y4esj77aty] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: white;
    font-size: 0.8125rem;
    font-weight: bold;
    line-height: 2.875rem;
    height: 2.75rem;
}
.nav-subject-title[b-y4esj77aty] {
    color: white;
    font-size: 0.95rem;
    font-weight: bold;
    line-height: 2.875rem;
    height: 2.75rem;
    position: relative;
    padding-left: 0.75rem;
    flex-shrink: 0;
    white-space: nowrap;
    cursor: pointer;
}
.nav-subject-title[b-y4esj77aty]::after {
    content: "";
    position: absolute;
    right: -0.875rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 1rem;
    background: rgba(255, 255, 255, 0.35);
}
[data-theme="light"] .nav-back-btn[b-y4esj77aty],
[data-theme="light"] .nav-subject-title[b-y4esj77aty] {
    color: #212529 !important;
}
[data-theme="light"] .nav-subject-title[b-y4esj77aty]::after {
    background: #212529;
}
[data-theme="light"] .nav-back-btn:hover[b-y4esj77aty],
[data-theme="light"] .nav-subject-title:hover[b-y4esj77aty] {
    color: #0d6efd !important;
}
.nav-jumpto-dropdown[b-y4esj77aty] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
    position: relative;
}
.nav-jumpto-toggle[b-y4esj77aty] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.nav-jumpto-toggle:hover[b-y4esj77aty] {
    opacity: 1;
}
.nav-jumpto-arrow[b-y4esj77aty] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8125rem;
    font-weight: bold;
    height: 2.75rem;
    transition: transform 0.2s ease;
}
.nav-jumpto-toggle[aria-expanded="true"] .nav-jumpto-arrow[b-y4esj77aty] {
    transform: rotate(-90deg);
}
.nav-jumpto-menu[b-y4esj77aty] {
    min-width: 10rem;
    background-color: #2c4a65;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 0;
}
.nav-jumpto-item[b-y4esj77aty] {
    display: block;
    width: 100%;
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
    line-height: 2.25rem;
    padding: 0 1rem;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: border-bottom 0.2s ease, background-color 0.2s ease;
}
.nav-jumpto-item:hover[b-y4esj77aty] {
    color: white;
    background-color: rgba(255, 255, 255, 0.08);
}
.nav-jumpto-item.active[b-y4esj77aty] {
    border-bottom-color: white;
}
[data-theme="light"] .nav-jumpto-arrow[b-y4esj77aty] {
    color: #212529 !important;
}
[data-theme="light"] .nav-jumpto-arrow:hover[b-y4esj77aty] {
    color: #0d6efd !important;
}
[data-theme="light"] .nav-jumpto-menu[b-y4esj77aty] {
    background-color: #fff;
    border-color: rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .nav-jumpto-item[b-y4esj77aty] {
    color: #212529 !important;
}
[data-theme="light"] .nav-jumpto-item:hover[b-y4esj77aty] {
    background-color: rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .nav-jumpto-item.active[b-y4esj77aty] {
    border-bottom-color: #212529;
}
.contentHomePG .nav-link.active[b-y4esj77aty], .contentHomePG .nav-link:hover[b-y4esj77aty] {
    background-color: transparent !important;
    color: white !important;
    border-radius: 0 !important;
}
.contentHomePG .nav-link.active[b-y4esj77aty] {
    border-bottom: 3px solid white;
    color: white !important;
    border-radius: 0 !important;
}
.nav-group[b-y4esj77aty] {
    align-items: center;
}
.nav-group-subjects[b-y4esj77aty] {
    animation: navGroupSlideInRight-b-y4esj77aty 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-group-categories[b-y4esj77aty] {
    animation: navGroupSlideInLeft-b-y4esj77aty 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes navGroupSlideInRight-b-y4esj77aty {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes navGroupSlideInLeft-b-y4esj77aty {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.contentHomePG .content-item[b-y4esj77aty] {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: none;
}
.contentHomePG .content-item.show[b-y4esj77aty] {
    display: block;
    opacity: 1;
    transform: scale(1);
}
.grid-item[b-y4esj77aty] {
    border-radius:0.25rem;
}
.contentHomePage[b-y4esj77aty] {
    background-image: linear-gradient(180deg, #2b4964 0%, #2b4964 15%, #96b9d7 100%);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 0 3rem;
    position: relative;
    transition: padding-left 0.3s ease;
    padding-bottom: 0 !important;
    /* overflow: hidden; */ 
    margin-bottom: 0;
}
html[b-y4esj77aty], body[b-y4esj77aty] {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
/* Hiệu ứng hover cho ảnh trong video-container */
#video-container img[b-y4esj77aty] {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

    #video-container img:hover[b-y4esj77aty] {
        border: 1px solid #3b82f6;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25) !important;
    }

/* Hiệu ứng cho container bọc ảnh */

/*
#SettingLink .resIconItem {
    width: 70px !important;
    height: 70px !important;
}
/* /Components/Pages/HrCentrals/ShiftAssignPageV2.razor.rz.scp.css */
.sticky-col[b-9g296xakmu] {
    position: sticky;
}
/* /Components/Pages/HrCentrals/WorkerSalaryPage.razor.rz.scp.css */
/* Worker Salary – look & feel taken 1:1 from WorkerSalaryDemo.html (which copies AiMrpWorkbench.razor.css): Manrope, #004ac6 blue, #eaedff table head,
   teal calculated column, outline buttons, panels with a #f8faff header. The :root tokens live on the page, popup and dialog roots. */

/* Look & feel copied from BlazorWebApp/Components/Pages/MRP/AiMrpWorkbench.razor.css (mwb-*): Manrope, #004ac6 blue, #eaedff table head,
   teal calculated columns (#0f766e), purple AI/plan accents (#6d28d9), outline icon buttons, link buttons, panels with a #f8faff header. */
.wk-page[b-yuyco5yxvw],.wk-fpop[b-yuyco5yxvw],.wk-modal[b-yuyco5yxvw]{
  --wk-ink:#131b2e; --wk-muted:#64748b; --wk-line:#b9c4dc; --wk-line-soft:#d3dbec; --wk-input:#dde3ef; --wk-bg:#f4f6fb; --wk-head:#f8faff;
  --wk-blue:#004ac6; --wk-blue-soft:#eef4ff; --wk-blue-edge:#b7c6ea; --wk-thead:#eaedff; --wk-thead-ink:#434655;
  --wk-teal:#0f766e; --wk-teal-soft:#f0fdfa; --wk-red:#dc2626; --wk-green:#16a34a; --wk-purple:#6d28d9; --wk-purple-soft:#f5f0ff;
  --wk-amber-bg:#fff7e6; --wk-amber-line:#f5c26b; --wk-amber-ink:#7a4b00;
}
.wk-page *[b-yuyco5yxvw],.wk-fpop *[b-yuyco5yxvw],.wk-modal *[b-yuyco5yxvw]{box-sizing:border-box}
.material-symbols-outlined[b-yuyco5yxvw]{font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24;font-size:1.1rem;line-height:1;vertical-align:middle}
.wk-page[b-yuyco5yxvw]{display:flex;flex-direction:column;gap:.6rem;padding:.25rem;background:var(--wk-bg);font-family:'Manrope','Segoe UI',sans-serif;font-size:.82rem;color:var(--wk-ink);min-height:calc(100vh - 3rem)}
.wk-title[b-yuyco5yxvw]{font-size:1.4rem;font-weight:700;margin:0}
.wk-subtitle[b-yuyco5yxvw]{font-size:.82rem;color:var(--wk-muted);margin:.2rem 0 0}

/* panels */
.wk-panel[b-yuyco5yxvw]{background:#fff;border:2px solid var(--wk-line);border-radius:.75rem;box-shadow:0 2px 6px rgba(16,24,40,.10);display:flex;flex-direction:column;overflow:hidden}
.wk-panel-header[b-yuyco5yxvw]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem;padding:.65rem 1rem;background:var(--wk-head);border-bottom:2px solid var(--wk-line)}
.wk-panel-header h3[b-yuyco5yxvw]{margin:0;font-size:.9rem;color:var(--wk-blue)}
.wk-panel-actions[b-yuyco5yxvw]{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;justify-content:flex-end}
.wk-divider[b-yuyco5yxvw]{width:1px;height:1.4rem;background:var(--wk-line)}
.wk-panel-footer[b-yuyco5yxvw]{padding:.5rem 1rem;background:var(--wk-head);border-top:2px solid var(--wk-line);font-size:.72rem;color:var(--wk-muted)}
.wk-panel-footer b[b-yuyco5yxvw]{color:var(--wk-ink)}
.wk-split[b-yuyco5yxvw]{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.wk-split>*+*[b-yuyco5yxvw]{border-left:2px solid var(--wk-line)}
.wk-pane-label[b-yuyco5yxvw]{padding:.4rem 1rem;font-size:.72rem;font-weight:600;color:var(--wk-muted);background:var(--wk-head);border-top:1px solid var(--wk-line);border-bottom:2px solid var(--wk-line)}
@media(max-width:900px){.wk-split[b-yuyco5yxvw]{grid-template-columns:1fr}.wk-split>*+*[b-yuyco5yxvw]{border-left:0;border-top:2px solid var(--wk-line)}}

/* banner (same as .mwb-ai-banner / --info) */
.wk-banner[b-yuyco5yxvw]{display:flex;align-items:center;gap:.5rem;padding:.6rem .9rem;background:var(--wk-purple-soft);border:1px solid #c4b5fd;border-radius:.5rem;color:#5b21b6;font-weight:600}

/* tabs of the rules panel (collapsible); each tab scrolls inside a limited height */
.wk-tabs[b-yuyco5yxvw]{display:flex;align-items:flex-end;gap:.15rem;flex-wrap:wrap;padding:.4rem 1rem 0;background:var(--wk-head);border-bottom:1px solid var(--wk-line)}
.wk-tab[b-yuyco5yxvw]{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .9rem;border:1px solid transparent;border-bottom:0;border-radius:.5rem .5rem 0 0;background:transparent;color:var(--wk-muted);font:inherit;font-size:.8rem;font-weight:600;cursor:pointer;margin-bottom:-1px}
.wk-tab:hover[b-yuyco5yxvw]{background:#eef2fb;color:var(--wk-blue)}
.wk-tab.on[b-yuyco5yxvw]{background:#fff;color:var(--wk-blue);border-color:var(--wk-line);border-bottom:1px solid #fff}
.wk-tabs-sp[b-yuyco5yxvw]{flex:1}
.wk-tabs .wk-link-btn[b-yuyco5yxvw]{margin-bottom:.25rem}
.wk-tabscroll[b-yuyco5yxvw]{max-height:min(20rem,45vh);overflow:auto;scrollbar-width:thin;scrollbar-color:#c4cee3 transparent}
.wk-tabscroll .wk-table-scroll[b-yuyco5yxvw]{overflow:visible}

/* buttons: .mwb-icon-btn-outline / .mwb-link-btn / .mwb-selected-badge */
.wk-btn[b-yuyco5yxvw]{display:inline-flex;align-items:center;gap:.3rem;background:#fff;border:1px solid var(--wk-input);color:var(--wk-muted);padding:.4rem .6rem;border-radius:.5rem;cursor:pointer;font:inherit;font-size:.78rem}
.wk-btn:hover[b-yuyco5yxvw]{background:var(--wk-bg)}
.wk-btn.primary[b-yuyco5yxvw]{background:var(--wk-blue);border-color:var(--wk-blue);color:#fff;font-weight:600}
.wk-btn.primary:hover[b-yuyco5yxvw]{background:#003a9e}
.wk-btn:disabled[b-yuyco5yxvw],.wk-btn.primary:disabled[b-yuyco5yxvw]{background:#eef1f7;border-color:var(--wk-input);color:#a3adc2;cursor:not-allowed}
.wk-link-btn[b-yuyco5yxvw]{display:inline-flex;align-items:center;gap:.3rem;background:none;border:none;color:var(--wk-blue);font:inherit;font-size:.8rem;font-weight:600;padding:.4rem .7rem;border-radius:.375rem;cursor:pointer;transition:background .12s}
.wk-link-btn:hover[b-yuyco5yxvw]{background:rgba(0,74,198,.06)}
.wk-icon-btn[b-yuyco5yxvw]{display:inline-flex;align-items:center;justify-content:center;width:1.6rem;height:1.6rem;border:none;border-radius:50%;background:transparent;color:var(--wk-muted);cursor:pointer;padding:0}
.wk-icon-btn:hover[b-yuyco5yxvw]{background:var(--wk-bg)}
.wk-icon-btn--danger:hover[b-yuyco5yxvw]{background:#fee2e2;color:var(--wk-red)}
.wk-icon-btn:disabled[b-yuyco5yxvw]{opacity:.4;cursor:not-allowed}
.wk-badge[b-yuyco5yxvw]{display:inline-flex;align-items:center;gap:.3rem;padding:.3rem .75rem;background:rgba(0,74,198,.08);border-radius:999px;color:var(--wk-blue);font-size:.78rem;font-weight:600}

/* segmented toggle: Time | Product | Both */

/* inputs: .mwb-search input */
.wk-field[b-yuyco5yxvw]{display:flex;align-items:center;gap:.5rem;font-size:.8rem;color:var(--wk-muted)}
.wk-cap[b-yuyco5yxvw]{display:flex;flex-direction:column;gap:.2rem;font-size:.72rem;font-weight:600;color:var(--wk-muted)}
.wk-page input[b-yuyco5yxvw],.wk-page select[b-yuyco5yxvw],.wk-modal input[b-yuyco5yxvw],.wk-modal select[b-yuyco5yxvw]{font:inherit;font-size:.8rem;padding:.4rem .6rem;border:1px solid #9aa8c7;border-radius:.5rem;background:#fff;color:var(--wk-ink);outline:none;font-weight:400}
.wk-page input:focus[b-yuyco5yxvw],.wk-page select:focus[b-yuyco5yxvw],.wk-modal input:focus[b-yuyco5yxvw],.wk-modal select:focus[b-yuyco5yxvw]{border-color:var(--wk-blue)}
.wk-page input:disabled[b-yuyco5yxvw],.wk-page select:disabled[b-yuyco5yxvw],.wk-modal input:disabled[b-yuyco5yxvw]{background:#f1f4f9;color:#a3adc2}
.wk-page input[type=number][b-yuyco5yxvw]{width:6rem;text-align:right}
.wk-page input[type=checkbox][b-yuyco5yxvw],.wk-fpop input[type=checkbox][b-yuyco5yxvw]{width:1rem;height:1rem;padding:0;accent-color:var(--wk-blue)}

/* tables: .mwb-table */
.wk-table-scroll[b-yuyco5yxvw]{overflow:auto;scrollbar-width:thin;scrollbar-color:#c4cee3 transparent}
.wk-table[b-yuyco5yxvw]{width:100%;border-collapse:collapse;text-align:left;font-size:.82rem}
.wk-table thead th[b-yuyco5yxvw]{position:sticky;top:0;z-index:2;background:var(--wk-thead);color:var(--wk-thead-ink);font-weight:600;font-size:.72rem;padding:.65rem .75rem;border-bottom:2px solid var(--wk-line);white-space:nowrap}
.wk-table thead tr+tr th[b-yuyco5yxvw]{top:2.2rem}
.wk-table tbody td[b-yuyco5yxvw]{padding:.6rem .75rem;border-bottom:1px solid var(--wk-line);border-right:1px solid var(--wk-line-soft);white-space:nowrap;color:#000}
.wk-table tbody td:last-child[b-yuyco5yxvw]{border-right:0}
.wk-table tbody tr.wk-row:hover td[b-yuyco5yxvw]{background:var(--wk-head)}
.wk-table .num[b-yuyco5yxvw]{text-align:right}
.wk-table .th-center[b-yuyco5yxvw]{text-align:center}
.wk-table .muted[b-yuyco5yxvw],.muted[b-yuyco5yxvw]{color:var(--wk-muted);font-size:.72rem}
.wk-table .empty[b-yuyco5yxvw],.empty[b-yuyco5yxvw]{text-align:center;color:var(--wk-muted);font-style:italic;padding:1.5rem}
.wk-table tbody tr.wk-sub td[b-yuyco5yxvw]{background:#fafbff;color:#334155;font-size:.74rem}
.wk-total td[b-yuyco5yxvw]{background:var(--wk-thead);font-weight:700;border-top:2px solid var(--wk-line)}
.wk-sel td[b-yuyco5yxvw]{background:rgba(37,99,235,.06) !important}
.wk-sel td:first-child[b-yuyco5yxvw]{box-shadow:inset 2px 0 0 var(--wk-blue)}
.wk-sel td:last-child[b-yuyco5yxvw]{box-shadow:inset -2px 0 0 var(--wk-blue)}
.wk-sel td[b-yuyco5yxvw]{box-shadow:inset 0 2px 0 var(--wk-blue),inset 0 -2px 0 var(--wk-blue)}

/* rule cards (inside the Time rates tab) */
.wk-rule[b-yuyco5yxvw]{padding:.75rem 1rem;border-bottom:2px solid var(--wk-line)}
.wk-rule:last-of-type[b-yuyco5yxvw]{border-bottom:0}
.wk-rule-head[b-yuyco5yxvw]{display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-end}
.wk-rule-head .grow[b-yuyco5yxvw]{margin-left:auto}

/* worker grid */
.wk-grid .wk-wstart td[b-yuyco5yxvw]{border-top:2px solid var(--wk-line);border-bottom:2px solid var(--wk-line)}
.wk-grid td.wk-worker[b-yuyco5yxvw],.wk-grid td.wk-pay[b-yuyco5yxvw],.wk-grid td.wk-scheme[b-yuyco5yxvw],.wk-grid td.wk-time[b-yuyco5yxvw]{vertical-align:top;background:#fff !important}
.wk-grid td.wk-pay select[b-yuyco5yxvw],.wk-grid td.wk-scheme select[b-yuyco5yxvw]{width:100%}
.wk-grid td.wk-worker[b-yuyco5yxvw]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* height caps: the tables scroll inside their panel (sticky headers keep the column names visible) */
.wk-cap-grid[b-yuyco5yxvw]{max-height:min(30rem,60vh)}
.wk-cap-sum[b-yuyco5yxvw]{max-height:min(20rem,42vh)}
/* rules collapsed: the tables of the lower card grow down to the bottom of the window */
.wk-tall .wk-cap-grid[b-yuyco5yxvw]{max-height:calc(100vh - 13rem)}
.wk-tall .wk-cap-sum[b-yuyco5yxvw]{max-height:calc(100vh - 17rem)}
/* fixed columns: Worker on the left, Time + salary on the right; the day columns scroll horizontally in between */
.wk-grid[b-yuyco5yxvw]{border-collapse:separate;border-spacing:0;min-width:100%}
/* widths (px) are CSS variables on #grid, changed by dragging the header edges (see .wk-rz) */
.wk-grid td.wk-worker[b-yuyco5yxvw],.wk-grid thead th.wk-c-worker[b-yuyco5yxvw]{position:sticky;left:0;z-index:3;width:var(--w-worker,104px);min-width:var(--w-worker,104px);max-width:var(--w-worker,104px)}
.wk-grid td.wk-pay[b-yuyco5yxvw],.wk-grid thead th.wk-c-pay[b-yuyco5yxvw]{position:sticky;left:var(--w-worker,104px);z-index:3;width:var(--w-pay,128px);min-width:var(--w-pay,128px);max-width:var(--w-pay,128px)}
.wk-grid td.wk-scheme[b-yuyco5yxvw],.wk-grid thead th.wk-c-scheme[b-yuyco5yxvw]{position:sticky;left:calc(var(--w-worker,104px) + var(--w-pay,128px));z-index:3;width:var(--w-scheme,112px);min-width:var(--w-scheme,112px);max-width:var(--w-scheme,112px);box-shadow:2px 0 0 var(--wk-line)}
.wk-grid td.wk-time[b-yuyco5yxvw],.wk-grid thead th.wk-c-time[b-yuyco5yxvw]{position:sticky;right:var(--w-calc,112px);z-index:3;width:var(--w-time,240px);min-width:var(--w-time,240px);max-width:var(--w-time,240px);box-shadow:-2px 0 0 var(--wk-line)}
.wk-grid td.wk-prod[b-yuyco5yxvw],.wk-grid thead th.wk-c-prod[b-yuyco5yxvw]{position:sticky;right:calc(var(--w-calc,112px) + var(--w-time,240px));z-index:3;width:var(--w-prod,190px);min-width:var(--w-prod,190px);max-width:var(--w-prod,190px);box-shadow:-2px 0 0 var(--wk-line)}
.wk-grid td.wk-prod[b-yuyco5yxvw]{vertical-align:top;background:#fff !important;white-space:normal}
.wk-grid td.wk-td-calc[b-yuyco5yxvw],.wk-grid thead th.wk-c-calc[b-yuyco5yxvw]{position:sticky;right:0;z-index:3;width:var(--w-calc,112px);min-width:var(--w-calc,112px);max-width:var(--w-calc,112px)}
.wk-grid td.wk-worker[b-yuyco5yxvw],.wk-grid td.wk-pay[b-yuyco5yxvw],.wk-grid td.wk-scheme[b-yuyco5yxvw],.wk-grid thead th.wk-c-worker[b-yuyco5yxvw],.wk-grid thead th.wk-c-pay[b-yuyco5yxvw],.wk-grid thead th.wk-c-scheme[b-yuyco5yxvw]{padding-left:.5rem;padding-right:.5rem}
.wk-grid thead th.wk-c-worker[b-yuyco5yxvw],.wk-grid thead th.wk-c-pay[b-yuyco5yxvw],.wk-grid thead th.wk-c-scheme[b-yuyco5yxvw],.wk-grid thead th.wk-c-time[b-yuyco5yxvw],.wk-grid thead th.wk-c-prod[b-yuyco5yxvw],.wk-grid thead th.wk-c-calc[b-yuyco5yxvw]{z-index:6}
/* column resize handle: same idea as .mwb-col-resize-handle */
.wk-rz[b-yuyco5yxvw]{position:absolute;top:0;right:0;width:7px;height:100%;cursor:col-resize;z-index:7;touch-action:none}
.wk-rz--left[b-yuyco5yxvw]{right:auto;left:0}
.wk-rz[b-yuyco5yxvw]::after{content:"";position:absolute;top:50%;left:50%;width:2px;height:16px;transform:translate(-50%,-50%);border-radius:1px;background:#b9c4dc;opacity:.8}
.wk-rz:hover[b-yuyco5yxvw],.wk-rz.drag[b-yuyco5yxvw]{background:rgba(0,74,198,.12)}
.wk-rz:hover[b-yuyco5yxvw]::after,.wk-rz.drag[b-yuyco5yxvw]::after{background:var(--wk-blue);opacity:1}
/* day band = the blue "quantity" header, salary = the teal "calculated" column */
.wk-th-qty[b-yuyco5yxvw]{background:var(--wk-blue) !important;color:#fff !important;border-bottom:1px solid var(--wk-blue) !important;text-align:center !important}
.wk-th-calc[b-yuyco5yxvw]{background:var(--wk-teal) !important;color:#fff !important;border-bottom:1px solid var(--wk-teal) !important}
.wk-td-day[b-yuyco5yxvw]{vertical-align:top;min-width:var(--w-day,248px);background:var(--wk-blue-soft) !important;border-left:2px solid var(--wk-blue-edge);border-right:2px solid var(--wk-blue-edge)}
.wk-entry[b-yuyco5yxvw]{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.25rem .55rem;margin-bottom:.3rem;background:#fff;border:1px solid var(--wk-blue-edge);border-radius:.375rem}
.wk-ro-item[b-yuyco5yxvw]{font-weight:600}
.wk-ro-qty[b-yuyco5yxvw]{font-weight:800;color:var(--wk-blue);font-variant-numeric:tabular-nums}
.wk-off .wk-td-day[b-yuyco5yxvw]{background:#f1f4f9 !important}
.wk-td-calc[b-yuyco5yxvw]{background:var(--wk-teal-soft) !important;text-align:right;vertical-align:top;cursor:pointer}
.wk-td-calc:hover[b-yuyco5yxvw]{background:#ccfbf1 !important}
.wk-money[b-yuyco5yxvw]{color:var(--wk-teal);font-weight:700}
.wk-neg[b-yuyco5yxvw]{color:var(--wk-red);font-weight:700}

/* time cell */
.wk-mini[b-yuyco5yxvw]{display:flex;align-items:center;justify-content:space-between;gap:.5rem;font-size:.72rem;color:#334155;margin-bottom:.3rem}
.wk-mini b[b-yuyco5yxvw]{color:var(--wk-blue)}
.wk-mini input[b-yuyco5yxvw]{width:4.2rem !important;height:1.5rem;padding:0 .5rem}
.wk-unitin[b-yuyco5yxvw]{display:inline-flex;align-items:center;gap:.25rem}
.wk-unitin em[b-yuyco5yxvw]{font-style:normal;color:var(--wk-muted);width:2.2rem;font-size:.72rem}
.wk-timepay[b-yuyco5yxvw]{display:flex;justify-content:space-between;margin-top:.4rem;padding-top:.4rem;border-top:1px dashed var(--wk-input);font-size:.72rem;color:var(--wk-muted)}
.wk-timepay b[b-yuyco5yxvw]{color:var(--wk-teal);font-size:.82rem}

.wk-pill[b-yuyco5yxvw]{display:inline-block;padding:.1rem .55rem;border-radius:999px;font-size:.7rem;font-weight:600;background:rgba(0,74,198,.08);color:var(--wk-blue);vertical-align:middle}
.wk-warn[b-yuyco5yxvw]{color:#b45309;font-weight:600}
.wk-hidden[b-yuyco5yxvw]{display:none !important}

/* faults tab: the assigned-faults table gets the wider column */
.wk-faultsplit[b-yuyco5yxvw]{grid-template-columns:minmax(0,.9fr) minmax(0,1.6fr)}
.wk-faultsplit .wk-table thead th[b-yuyco5yxvw],.wk-faultsplit .wk-table tbody td[b-yuyco5yxvw]{padding-left:.5rem;padding-right:.5rem}
@media(max-width:900px){.wk-faultsplit[b-yuyco5yxvw]{grid-template-columns:1fr}}

/* main card tabs + save-salary dialog */
.wk-count[b-yuyco5yxvw]{font-size:.7rem;font-weight:700;background:rgba(0,74,198,.1);color:var(--wk-blue);border-radius:999px;padding:0 .45rem;margin-left:.1rem}
.wk-savedmsg[b-yuyco5yxvw]{display:inline-flex;align-items:center;gap:.3rem;color:var(--wk-teal);font-size:.78rem;font-weight:600}
/* salary summary: 10 columns on the left, so the table gets the wider side and tighter cells */
.sum-split[b-yuyco5yxvw]{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
.sum-split .wk-table thead th[b-yuyco5yxvw],.sum-split .wk-table tbody td[b-yuyco5yxvw]{padding-left:.5rem;padding-right:.5rem}
.wk-dlg-wide[b-yuyco5yxvw]{width:min(40rem,94vw) !important}
.wk-table .wk-chk[b-yuyco5yxvw]{width:2.2rem;text-align:center;padding-left:.4rem;padding-right:.4rem}
.wk-sal-grid[b-yuyco5yxvw]{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.wk-dlg input[b-yuyco5yxvw]{font:inherit;font-size:.8rem;padding:.4rem .6rem;border:1px solid var(--wk-input);border-radius:.5rem;background:#fff;color:var(--wk-ink);outline:none;width:100%;font-weight:400}
.wk-dlg input:focus[b-yuyco5yxvw]{border-color:var(--wk-blue)}
.wk-dlg input[readonly][b-yuyco5yxvw]{background:#f1f4f9}
.wk-dlg .wk-warn[b-yuyco5yxvw]{font-size:.8rem}

/* batch assign */
.wk-batch[b-yuyco5yxvw]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)}
.wk-batch-col[b-yuyco5yxvw]{padding:.75rem 1rem;display:flex;flex-direction:column;gap:.4rem}
.wk-batch-col+.wk-batch-col[b-yuyco5yxvw]{border-left:1px solid var(--wk-line)}
.wk-check[b-yuyco5yxvw]{display:flex;align-items:center;gap:.5rem;font-size:.8rem;cursor:pointer}
.wk-bt-row[b-yuyco5yxvw]{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;padding:.4rem 0;border-bottom:1px dashed var(--wk-input)}
.wk-bt-row .wk-check[b-yuyco5yxvw]{min-width:7rem}
@media(max-width:900px){.wk-batch[b-yuyco5yxvw]{grid-template-columns:1fr}.wk-batch-col+.wk-batch-col[b-yuyco5yxvw]{border-left:0;border-top:1px solid var(--wk-line)}}

/* save bar of each rules box: amber while unsaved (same amber as .mwb-ai-banner) */
.wk-savebar[b-yuyco5yxvw]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem;padding:.5rem 1rem;background:#fff;border-bottom:2px solid var(--wk-line);font-size:.8rem}
.wk-savebar .st[b-yuyco5yxvw]{display:inline-flex;align-items:center;gap:.4rem;color:var(--wk-muted)}
.wk-savebar.dirty[b-yuyco5yxvw]{background:var(--wk-amber-bg)}
.wk-savebar.dirty .st[b-yuyco5yxvw]{color:var(--wk-amber-ink);font-weight:600}
.wk-savebar .acts[b-yuyco5yxvw]{display:flex;gap:.5rem;align-items:center}
.wk-dot[b-yuyco5yxvw]{display:inline-block;width:.55rem;height:.55rem;border-radius:50%;background:#f59e0b}

/* column filter: button in the header + Excel-style popup */
.wk-fbtn[b-yuyco5yxvw]{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:inherit;opacity:.55;padding:.05rem .15rem;margin-left:.15rem;border-radius:.25rem;cursor:pointer;vertical-align:middle}
.wk-fbtn .material-symbols-outlined[b-yuyco5yxvw]{font-size:.95rem}
.wk-fbtn:hover[b-yuyco5yxvw]{opacity:1;background:rgba(0,0,0,.08)}
.wk-fbtn.on[b-yuyco5yxvw]{opacity:1;background:#fde68a;color:#7a4b00}
.wk-fpop[b-yuyco5yxvw]{position:fixed;z-index:2000;width:15.5rem;background:#fff;border:1px solid var(--wk-line);border-radius:.5rem;box-shadow:0 12px 32px rgba(15,23,42,.22);padding:.6rem;display:flex;flex-direction:column;gap:.45rem;font-family:'Manrope','Segoe UI',sans-serif;font-size:.8rem;color:var(--wk-ink)}
.wk-fpop input[type=search][b-yuyco5yxvw]{width:100%;font:inherit;font-size:.8rem;padding:.4rem .6rem;border:1px solid var(--wk-input);border-radius:.5rem;outline:none}
.wk-fpop input[type=search]:focus[b-yuyco5yxvw]{border-color:var(--wk-blue)}
.wk-fpop input[type=checkbox][b-yuyco5yxvw]{width:1rem;height:1rem;accent-color:var(--wk-blue)}
.wk-fpop .flist[b-yuyco5yxvw]{max-height:14rem;overflow:auto;border:1px solid var(--wk-line);border-radius:.5rem;padding:.35rem .5rem;display:flex;flex-direction:column;gap:.3rem}
.wk-fpop .wk-fact[b-yuyco5yxvw]{display:flex;justify-content:space-between;align-items:center}
.wk-fpop .wk-link-btn:disabled[b-yuyco5yxvw]{opacity:.4;cursor:not-allowed}
/* confirm dialog: same as .mwb-cw-backdrop / .mwb-cw-panel */
.wk-modal[b-yuyco5yxvw]{position:fixed;inset:0;background:rgba(15,23,42,.45);display:flex;align-items:center;justify-content:center;z-index:2000}
.wk-fback[b-yuyco5yxvw]{position:fixed;inset:0;z-index:1999}
.wk-dlg[b-yuyco5yxvw]{background:#fff;border:0;border-radius:.75rem;padding:1rem 1.25rem;width:min(26rem,94vw);box-shadow:0 20px 50px rgba(15,23,42,.35);font-family:'Manrope','Segoe UI',sans-serif;color:var(--wk-ink)}
.wk-dlg h4[b-yuyco5yxvw]{margin:0;font-size:1.1rem;font-weight:700}
.wk-dlg .body[b-yuyco5yxvw]{margin:.4rem 0 .75rem;color:var(--wk-muted);font-size:.85rem;line-height:1.5}
.wk-dlg .body b[b-yuyco5yxvw]{color:var(--wk-ink)}
.wk-dlg-actions[b-yuyco5yxvw]{display:flex;justify-content:flex-end;gap:.5rem;margin-top:.75rem}

.wk-pill[b-yuyco5yxvw]{margin-left:.35rem}
.wk-title .wk-pill[b-yuyco5yxvw]{font-size:.7rem}
.wk-tabscroll .wk-table-scroll[b-yuyco5yxvw]{overflow:visible}
.wk-fact .wk-btn[b-yuyco5yxvw]{padding:.3rem .6rem}
.wk-bfilter[b-yuyco5yxvw]{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;padding-bottom:.4rem;border-bottom:1px dashed var(--wk-input)}
.wk-bfilter input[type=search][b-yuyco5yxvw]{width:11rem}
.wk-bcols[b-yuyco5yxvw]{display:inline-flex;align-items:center;gap:.15rem;font-size:.72rem;font-weight:600;color:var(--wk-muted)}
.wk-bscroll[b-yuyco5yxvw]{display:flex;flex-direction:column;gap:.3rem;max-height:15rem;overflow:auto;padding:.5rem .75rem;background:#fff;border:2px solid var(--wk-line);border-radius:.75rem;box-shadow:0 4px 14px rgba(16,24,40,.12);scrollbar-width:thin;scrollbar-color:#9fb0d3 transparent}
.wk-bscroll[b-yuyco5yxvw]::-webkit-scrollbar{width:8px}
.wk-bscroll[b-yuyco5yxvw]::-webkit-scrollbar-thumb{background:#9fb0d3;border-radius:999px;border:2px solid #fff}
.wk-bscroll[b-yuyco5yxvw]::-webkit-scrollbar-track{background:transparent;margin:.5rem 0}
.wk-bscroll > .wk-check:first-child[b-yuyco5yxvw]{position:sticky;top:-.5rem;background:#fff;padding:.35rem 0;margin-top:-.5rem;border-bottom:1px dashed var(--wk-input);z-index:1}
.wk-bapply[b-yuyco5yxvw]{display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem;padding-top:.6rem;border-top:2px solid var(--wk-line)}
.wk-bapply .st[b-yuyco5yxvw]{display:inline-flex;align-items:center;gap:.4rem;color:var(--wk-ink)}
.wk-bapply .acts[b-yuyco5yxvw]{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;flex-wrap:wrap}
.wk-unpaid td[b-yuyco5yxvw]{color:var(--wk-muted)}
.wk-hours[b-yuyco5yxvw]{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem;margin-top:.3rem;padding:.2rem .5rem;border-radius:.375rem;background:var(--wk-teal-soft);border:1px solid #99d6cf;color:var(--wk-teal);font-size:.74rem}
.wk-hours b[b-yuyco5yxvw]{font-weight:800;font-variant-numeric:tabular-nums}
.wk-hours .material-symbols-outlined[b-yuyco5yxvw]{font-size:.95rem}
.wk-ot[b-yuyco5yxvw]{margin-left:auto;font-weight:700;color:var(--wk-amber-ink);background:var(--wk-amber-bg);border-radius:999px;padding:0 .4rem}
.wk-chips[b-yuyco5yxvw]{display:flex;flex-wrap:wrap;gap:.4rem;padding:.2rem 0}
.wk-chip[b-yuyco5yxvw]{display:inline-flex;align-items:center;gap:.2rem;padding:.15rem .3rem .15rem .7rem;background:#fff;border:1px solid var(--wk-blue-edge);border-radius:999px;font-weight:600;font-size:.76rem}
.wk-chip-x[b-yuyco5yxvw]{border:0;background:transparent;color:var(--wk-muted);cursor:pointer;font-size:1rem;line-height:1;padding:0 .3rem;border-radius:50%}
.wk-chip-x:hover[b-yuyco5yxvw]{background:#fee2e2;color:var(--wk-red)}
.wk-chip-add[b-yuyco5yxvw]{display:flex;align-items:center;gap:.5rem;margin-top:.3rem}
.wk-chip-add input[b-yuyco5yxvw]{width:15rem}
.wk-more-spin[b-yuyco5yxvw]{display:inline-block;width:1rem;height:1rem;margin:0 .5rem;border:2px solid var(--wk-blue-edge);border-top-color:var(--wk-blue);border-radius:50%;vertical-align:middle;animation:wk-spin-b-yuyco5yxvw .7s linear infinite}
@keyframes wk-spin-b-yuyco5yxvw{to{transform:rotate(360deg)}}
.wk-more-loading[b-yuyco5yxvw]{display:none;align-items:center;color:var(--wk-blue);font-style:normal;font-weight:600}
.wk-loading .wk-more-loading[b-yuyco5yxvw]{display:inline-flex}
.wk-loading .wk-more-hint[b-yuyco5yxvw]{display:none}
.wk-skel[b-yuyco5yxvw]{display:none}
.wk-loading .wk-skel[b-yuyco5yxvw]{display:table-row}
.wk-skel td[b-yuyco5yxvw]{padding:.7rem 1rem;border-bottom:1px solid var(--wk-line-soft)}
.wk-skel-bar[b-yuyco5yxvw]{height:1.1rem;border-radius:.4rem;background:linear-gradient(90deg,#e8edf7 25%,#f6f8fd 37%,#e8edf7 63%);background-size:400% 100%;animation:wk-shimmer-b-yuyco5yxvw 1.2s ease infinite}
@keyframes wk-shimmer-b-yuyco5yxvw{0%{background-position:100% 50%}100%{background-position:0 50%}}
/* the Total row stays at the bottom of the table while the rows scroll */
.wk-total-fixed td[b-yuyco5yxvw]{position:sticky;bottom:0;z-index:2;background:var(--wk-thead);box-shadow:0 -2px 0 var(--wk-line)}
.wk-time24[b-yuyco5yxvw]{display:inline-flex;align-items:center;gap:.2rem}
.wk-time24 select[b-yuyco5yxvw]{width:auto;min-width:3.4rem}

/* pinned "All workers" row at the bottom of the worker grid, and the product chips */
.wk-grid tfoot td[b-yuyco5yxvw]{position:sticky;bottom:0;z-index:4;background:var(--wk-thead) !important;border-top:3px solid var(--wk-blue-edge);vertical-align:top;font-size:.78rem;white-space:normal}
.wk-grid tfoot td.wk-worker[b-yuyco5yxvw],.wk-grid tfoot td.wk-pay[b-yuyco5yxvw],.wk-grid tfoot td.wk-scheme[b-yuyco5yxvw],.wk-grid tfoot td.wk-time[b-yuyco5yxvw],.wk-grid tfoot td.wk-prod[b-yuyco5yxvw],.wk-grid tfoot td.wk-td-calc[b-yuyco5yxvw]{z-index:7;background:var(--wk-thead) !important;cursor:default}
.wk-grid tfoot td.wk-td-day[b-yuyco5yxvw]{background:var(--wk-thead) !important}
.wk-pt-chip[b-yuyco5yxvw]{display:inline-block;margin:.1rem .3rem .1rem 0;padding:.1rem .5rem;border:1px solid var(--wk-blue-edge);border-radius:.375rem;background:#fff;white-space:nowrap}
.wk-pt-chip b[b-yuyco5yxvw]{color:var(--wk-blue)}
/* /Components/Pages/IOTDashboard/IOTAddDevice.razor.rz.scp.css */
.iot-layout[b-y1on1zna1v] {
    display: flex;
    min-height: calc(100vh - 2.75rem);
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.iot-main[b-y1on1zna1v] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.add-content[b-y1on1zna1v] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 3rem;
    background-color: #faf8ff;
    box-sizing: border-box;
}

.custom-scrollbar[b-y1on1zna1v]::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar[b-y1on1zna1v]::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar[b-y1on1zna1v]::-webkit-scrollbar-thumb {
    background: #bcc9cd;
    border-radius: 10px;
}

.add-grid[b-y1on1zna1v] {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px;
    min-width: 0;
}

/* Card */
.card[b-y1on1zna1v] {
    background: white;
    border: 1px solid #bcc9cd;
    padding: 14px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    min-width: 0;
}

.card-h3[b-y1on1zna1v] {
    font-family: Manrope, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #131b2e;
    margin: 0;
}

.card-header-row[b-y1on1zna1v] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.icon-btn-sm[b-y1on1zna1v] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

    .icon-btn-sm:hover[b-y1on1zna1v] {
        background-color: #eaedff;
    }

    .icon-btn-sm.primary .material-symbols-outlined[b-y1on1zna1v] {
        color: #00687a;
        font-size: 20px !important;
    }

/* Category Items */
.category-list[b-y1on1zna1v] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.category-item[b-y1on1zna1v] {
    padding: 8px;
    background-color: #f2f3ff;
    border: 1px solid #bcc9cd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: border-color 0.2s;
}

    .category-item:hover[b-y1on1zna1v] {
        border-color: #00687a;
    }

.cat-icon[b-y1on1zna1v] {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .cat-icon .material-symbols-outlined[b-y1on1zna1v] {
        font-size: 18px !important;
    }

.secondary-cont-bg[b-y1on1zna1v] {
    background-color: #6cf8bb;
    color: #00714d;
}

.primary-fixed-bg[b-y1on1zna1v] {
    background-color: #acedff;
    color: #001f26;
}

.tertiary-fixed-bg[b-y1on1zna1v] {
    background-color: #ffddb8;
    color: #2a1700;
}

.cat-info[b-y1on1zna1v] {
    flex: 1;
    min-width: 0;
}

.cat-name[b-y1on1zna1v] {
    font-size: 14px;
    font-weight: 700;
    color: #131b2e;
    margin: 0;
}

.cat-sub[b-y1on1zna1v] {
    font-size: 12px;
    color: #3d494c;
    margin: 0;
}

.cat-chevron[b-y1on1zna1v] {
    color: #6d797d;
    transition: color 0.2s;
    font-size: 18px !important;
    flex-shrink: 0;
}

.category-item:hover .cat-chevron[b-y1on1zna1v] {
    color: #00687a;
}

/* Distribution */
.dist-section[b-y1on1zna1v] {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #bcc9cd;
}

.dist-label[b-y1on1zna1v] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #3d494c;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.dist-bar[b-y1on1zna1v] {
    display: flex;
    height: 10px;
    width: 100%;
    background-color: #eaedff;
    border-radius: 9999px;
    overflow: hidden;
}

.dist-segment[b-y1on1zna1v] {
    height: 100%;
}

.dist-legend[b-y1on1zna1v] {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 12px;
}

.legend-item[b-y1on1zna1v] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.legend-dot[b-y1on1zna1v] {
    width: 7px;
    height: 7px;
    border-radius: 9999px;
}

/* Health */
.left-pane[b-y1on1zna1v] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.health-list[b-y1on1zna1v] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.health-item[b-y1on1zna1v] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.timeline-dot[b-y1on1zna1v] {
    width: 16px;
    height: 16px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.secondary-dot-sm[b-y1on1zna1v] {
    background-color: #006c49;
}

.tertiary-dot-sm[b-y1on1zna1v] {
    background-color: #855300;
}

.tiny-icon[b-y1on1zna1v] {
    font-size: 10px !important;
    color: white;
}

.health-title[b-y1on1zna1v] {
    font-size: 13px;
    font-weight: 700;
    margin: 0;
}

.health-sub[b-y1on1zna1v] {
    font-size: 12px;
    color: #3d494c;
    opacity: 0.7;
    margin: 0;
}

/* Wizard */
.right-pane[b-y1on1zna1v] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.wizard-card[b-y1on1zna1v] {
    background: white;
    border: 1px solid #bcc9cd;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.connection-line-top[b-y1on1zna1v] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #06b6d4, transparent);
    background-size: 200% 100%;
    animation: moveGradient-b-y1on1zna1v 3s linear infinite;
}

@keyframes moveGradient-b-y1on1zna1v {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.wizard-header[b-y1on1zna1v] {
    margin-bottom: 24px;
}

.wizard-title[b-y1on1zna1v] {
    font-family: Manrope, sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #00687a;
    margin: 0 0 4px 0;
}

.wizard-sub[b-y1on1zna1v] {
    font-size: 15px;
    color: #3d494c;
    margin: 0;
}

/* Stepper */
.stepper[b-y1on1zna1v] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
}

.stepper-line[b-y1on1zna1v] {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #eaedff;
    transform: translateY(-50%);
    z-index: 0;
}

.step[b-y1on1zna1v] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.step-circle[b-y1on1zna1v] {
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    background-color: #eaedff;
    color: #3d494c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 0 0 4px white;
}

.active-circle[b-y1on1zna1v] {
    background-color: #00687a;
    color: white;
}

.step-label[b-y1on1zna1v] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #3d494c;
}

.active-label[b-y1on1zna1v] {
    color: #00687a;
}

/* Form */
.form-grid[b-y1on1zna1v] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    min-width: 0;
}

.form-col[b-y1on1zna1v] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-label[b-y1on1zna1v] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.label-text[b-y1on1zna1v] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #3d494c;
    text-transform: uppercase;
}

.form-input[b-y1on1zna1v], .form-select[b-y1on1zna1v] {
    width: 100%;
    background-color: #f2f3ff;
    border: 1px solid #bcc9cd;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 13px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

    .form-input:focus[b-y1on1zna1v], .form-select:focus[b-y1on1zna1v] {
        outline: none;
        border-color: #06b6d4;
        box-shadow: 0 0 0 1px #06b6d4;
    }

.readonly-input[b-y1on1zna1v] {
    background-color: #d2d9f4;
    opacity: 0.7;
}

.input-with-btn[b-y1on1zna1v] {
    display: flex;
    gap: 8px;
}

    .input-with-btn .form-input[b-y1on1zna1v] {
        flex: 1;
        min-width: 0;
    }

.btn-refresh[b-y1on1zna1v] {
    background-color: #e2e7ff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

    .btn-refresh:hover[b-y1on1zna1v] {
        background-color: #dae2fd;
    }

    .btn-refresh .material-symbols-outlined[b-y1on1zna1v] {
        font-size: 18px !important;
    }

.primary[b-y1on1zna1v] {
    color: #00687a;
}

.two-col-inputs[b-y1on1zna1v] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-footer[b-y1on1zna1v] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    gap: 12px;
    flex-wrap: wrap;
}

.info-note[b-y1on1zna1v] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3d494c;
    opacity: 0.7;
    font-size: 13px;
}

    .info-note .material-symbols-outlined[b-y1on1zna1v] {
        flex-shrink: 0;
        font-size: 18px !important;
    }

.form-actions[b-y1on1zna1v] {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cancel[b-y1on1zna1v] {
    padding: 10px 24px;
    border: 1px solid #6d797d;
    background: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .btn-cancel:hover[b-y1on1zna1v] {
        background-color: #f2f3ff;
    }

.btn-init[b-y1on1zna1v] {
    padding: 10px 24px;
    background-color: #06b6d4;
    color: #00424f;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: filter 0.2s;
    box-shadow: 0 4px 12px rgba(6,182,212,0.2);
}

    .btn-init:hover:not(:disabled)[b-y1on1zna1v] {
        filter: brightness(0.95);
    }

    .btn-init:disabled[b-y1on1zna1v] {
        opacity: 0.8;
        cursor: not-allowed;
    }

    .btn-init.btn-success[b-y1on1zna1v] {
        background-color: #006c49;
        color: white;
    }

    .btn-init .material-symbols-outlined[b-y1on1zna1v] {
        font-size: 18px !important;
    }

.spin-icon[b-y1on1zna1v] {
    animation: spin-b-y1on1zna1v 1s linear infinite;
}

@keyframes spin-b-y1on1zna1v {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Preview */
.preview-grid[b-y1on1zna1v] {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    min-width: 0;
}

.preview-card[b-y1on1zna1v] {
    background: white;
    border: 1px solid #bcc9cd;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 10rem;
    position: relative;
    min-width: 0;
}

.preview-overlay[b-y1on1zna1v] {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
    background-image: radial-gradient(circle, #00687a 1px, transparent 1px);
    background-size: 20px 20px;
}

.preview-header[b-y1on1zna1v] {
    padding: 10px;
    border-bottom: 1px solid #bcc9cd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f2f3ff;
}

.preview-title[b-y1on1zna1v] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
}

.ready-badge[b-y1on1zna1v] {
    padding: 2px 6px;
    background-color: #6cf8bb;
    color: #00714d;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.preview-body[b-y1on1zna1v] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.preview-flow[b-y1on1zna1v] {
    display: flex;
    align-items: center;
    gap: 24px;
}

.flow-node[b-y1on1zna1v] {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: rgba(6,182,212,0.1);
    border: 2px dashed #06b6d4;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .flow-node .material-symbols-outlined[b-y1on1zna1v] {
        font-size: 18px !important;
    }

.pulsing[b-y1on1zna1v] {
    animation: pulse-anim-b-y1on1zna1v 2s infinite;
}

@keyframes pulse-anim-b-y1on1zna1v {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.cyan[b-y1on1zna1v] {
    color: #06b6d4;
}

.flow-line[b-y1on1zna1v] {
    flex: 1;
    height: 2px;
    background-color: #eaedff;
    position: relative;
    min-width: 40px;
}

.connection-line-anim[b-y1on1zna1v] {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, #06b6d4, transparent);
    background-size: 200% 100%;
    animation: moveGradient-b-y1on1zna1v 3s linear infinite;
}

.throughput-card[b-y1on1zna1v] {
    background: white;
    border: 1px solid #bcc9cd;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.throughput-label[b-y1on1zna1v] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #3d494c;
    margin: 0 0 6px 0;
}

.throughput-value[b-y1on1zna1v] {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.tp-num[b-y1on1zna1v] {
    font-family: Manrope, sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #00687a;
    line-height: 1;
}

.tp-unit[b-y1on1zna1v] {
    font-size: 13px;
    color: #3d494c;
    margin-bottom: 2px;
}

.sparkbar-container[b-y1on1zna1v] {
    height: 52px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
}

.sparkbar[b-y1on1zna1v] {
    flex: 1;
    background-color: rgba(0,104,122,0.2);
    border-radius: 2px 2px 0 0;
    transition: height 0.3s;
    min-width: 4px;
}

.sparkbar-active[b-y1on1zna1v] {
    background-color: #00687a;
}
/* /Components/Pages/IOTDashboard/IOTCategory.razor.rz.scp.css */
/* ── Overlay ── */
.iotcat-modal-overlay[b-jkeiy6mfp9] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.iotcat-overlay-visible[b-jkeiy6mfp9] {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.iotcat-overlay-hidden[b-jkeiy6mfp9] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Backdrop blur */
.iotcat-backdrop[b-jkeiy6mfp9] {
    position: absolute;
    inset: 0;
    background-color: rgba(19, 27, 46, 0.45);
    backdrop-filter: blur(3px);
}

/* ── Modal Box ── */
.iotcat-modal-content[b-jkeiy6mfp9] {
    position: relative;
    z-index: 10;
    background: white;
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

/* Animation: open  */
.iotcat-modal-in[b-jkeiy6mfp9] {
    transform: scale(1);
    opacity: 1;
}

/* Animation: closed */
.iotcat-modal-out[b-jkeiy6mfp9] {
    transform: scale(0.92);
    opacity: 0;
}

/* ── Header ── */
.iotcat-modal-header[b-jkeiy6mfp9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #bcc9cd;
    background-color: #f2f3ff;
}

.iotcat-modal-title[b-jkeiy6mfp9] {
    font-family: Manrope, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #00345e;
    margin: 0;
}

.iotcat-close-btn[b-jkeiy6mfp9] {
    background: none;
    border: none;
    cursor: pointer;
    color: #6d797d;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

    .iotcat-close-btn:hover[b-jkeiy6mfp9] {
        color: #131b2e;
    }

    .iotcat-close-btn .material-symbols-outlined[b-jkeiy6mfp9] {
        font-size: 20px !important;
    }

/* ── Body ── */
.iotcat-modal-body[b-jkeiy6mfp9] {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.iotcat-field[b-jkeiy6mfp9] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.iotcat-label[b-jkeiy6mfp9] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3d494c;
}

.iotcat-input[b-jkeiy6mfp9] {
    background-color: #f2f3ff;
    border: 1px solid #bcc9cd;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .iotcat-input:focus[b-jkeiy6mfp9] {
        outline: none;
        border-color: #06b6d4;
        box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.12);
    }

.iotcat-input-error[b-jkeiy6mfp9] {
    border-color: #ef4444 !important;
}

.iotcat-error-msg[b-jkeiy6mfp9] {
    font-size: 11px;
    color: #ef4444;
}

/* ── Icon Grid ── */
.iotcat-icon-grid[b-jkeiy6mfp9] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.iotcat-icon-opt[b-jkeiy6mfp9] {
    padding: 10px;
    border: 1px solid #bcc9cd;
    border-radius: 8px;
    background: #f2f3ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6d797d;
    transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

    .iotcat-icon-opt:hover[b-jkeiy6mfp9] {
        border-color: #06b6d4;
        background-color: #e0f9ff;
        color: #00687a;
    }

.iotcat-icon-active[b-jkeiy6mfp9] {
    border-color: #06b6d4 !important;
    background-color: #e0f9ff !important;
    color: #00687a !important;
}

.iotcat-icon-opt .material-symbols-outlined[b-jkeiy6mfp9] {
    font-size: 20px !important;
}

/* ── Footer ── */
.iotcat-modal-footer[b-jkeiy6mfp9] {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #bcc9cd;
    background-color: #fafafa;
}

.iotcat-btn-cancel[b-jkeiy6mfp9] {
    flex: 1;
    padding: 10px;
    border: 1px solid #6d797d;
    background: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    color: #3d494c;
    transition: background-color 0.2s;
}

    .iotcat-btn-cancel:hover[b-jkeiy6mfp9] {
        background-color: #f2f3ff;
    }

.iotcat-btn-save[b-jkeiy6mfp9] {
    flex: 1;
    padding: 10px;
    background-color: #06b6d4;
    color: #00424f;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
    transition: filter 0.2s;
}

    .iotcat-btn-save:hover[b-jkeiy6mfp9] {
        filter: brightness(0.95);
    }
/* /Components/Pages/IOTDashboard/IOTHub.razor.rz.scp.css */
.iot-layout[b-0bf9l044ws] {
    display: flex;
    min-height: calc(100vh - 2.75rem);
    width: 100%;
    box-sizing: border-box;
}

.iot-main[b-0bf9l044ws] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.dashboard-content[b-0bf9l044ws] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 3rem;
background-color: #faf8ff;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
    min-width: 0;
}

/* Stats */
.stats-grid[b-0bf9l044ws] {
    display: grid;
  grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    min-width: 0;
}

.stat-card[b-0bf9l044ws] {
    background: white;
    border: 1px solid #bcc9cd;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
  min-width: 0;
    overflow: hidden;
}

.stat-card:hover[b-0bf9l044ws] {
    border-color: #06b6d4;
  box-shadow: 0 4px 12px rgba(0, 104, 122, 0.08);
}

.stat-label[b-0bf9l044ws] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #6d797d;
    text-transform: uppercase;
    margin: 0 0 4px 0;
}

.stat-value[b-0bf9l044ws] {
    font-family: Manrope, sans-serif;
    font-size: 36px;
    font-weight: 700;
  line-height: 1.1;
    margin: 0;
}

.stat-value.primary[b-0bf9l044ws] { color: #00687a; }
.stat-value.error[b-0bf9l044ws] { color: #ba1a1a; }
.stat-value.on-surface[b-0bf9l044ws] { color: #131b2e; }
.stat-value.secondary[b-0bf9l044ws] { color: #006c49; }

.stat-unit[b-0bf9l044ws] { font-size: 16px; font-weight: 600; }

.stat-sub[b-0bf9l044ws] {
    font-size: 12px;
    display: flex;
  align-items: center;
    gap: 4px;
    margin: 4px 0 0 0;
}
.stat-sub.secondary[b-0bf9l044ws] { color: #006c49; }
.stat-sub.error[b-0bf9l044ws] { color: #ba1a1a; }
.stat-sub.outline[b-0bf9l044ws] { color: #6d797d; }

.stat-icon-wrap[b-0bf9l044ws] {
    padding: 12px;
    border-radius: 9999px;
    flex-shrink: 0;
}
.primary-bg[b-0bf9l044ws] { background-color: rgba(6,182,212,0.1); }
.error-bg[b-0bf9l044ws] { background-color: rgba(255,218,214,0.2); }
.surface-high-bg[b-0bf9l044ws] { background-color: #dae2fd; }
.secondary-bg[b-0bf9l044ws] { background-color: rgba(108,248,187,0.2); }

.stat-icon[b-0bf9l044ws] { font-size: 28px !important; }
.stat-icon.primary[b-0bf9l044ws] { color: #00687a; }
.stat-icon.error[b-0bf9l044ws] { color: #ba1a1a; }
.stat-icon.secondary[b-0bf9l044ws] { color: #006c49; }

.small-icon[b-0bf9l044ws] { font-size: 13px !important; vertical-align: middle; }

/* Section */
.section[b-0bf9l044ws] { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.section-header[b-0bf9l044ws] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title-row[b-0bf9l044ws] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title[b-0bf9l044ws] {
    font-family: Manrope, sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.badge[b-0bf9l044ws] {
    margin-left: 12px;
    padding: 3px 8px;
    background-color: #eaedff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #3d494c;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.link-btn[b-0bf9l044ws] {
    background: none;
    border: none;
    color: #00687a;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.link-btn:hover[b-0bf9l044ws] { text-decoration: underline; }

/* Machine Cards */
.machine-grid[b-0bf9l044ws] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    min-width: 0;
}

.machine-card[b-0bf9l044ws] {
    background: white;
  border: 1px solid #bcc9cd;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 0;
}
.machine-card:hover[b-0bf9l044ws] {
    border-color: #06b6d4;
    box-shadow: 0 4px 12px rgba(0,104,122,0.08);
    transform: translateY(-2px);
}

.status-bar[b-0bf9l044ws] { height: 4px; width: 100%; }
.status-bar.producing[b-0bf9l044ws] { background-color: #006c49; }
.status-bar.waiting[b-0bf9l044ws] { background-color: #e79400; }
.status-bar.offline[b-0bf9l044ws] { background-color: #ba1a1a; }

.card-body[b-0bf9l044ws] { padding: 12px; }

.card-header-row[b-0bf9l044ws] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.card-title[b-0bf9l044ws] { font-size: 14px; font-weight: 700; color: #131b2e; margin: 0; }
.card-id[b-0bf9l044ws] { font-size: 12px; color: #6d797d; margin: 0; }

.status-badge[b-0bf9l044ws] {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}
.producing-badge[b-0bf9l044ws] { background-color: #006c49; }
.waiting-badge[b-0bf9l044ws] { background-color: #e79400; }
.offline-badge[b-0bf9l044ws] { background-color: #ba1a1a; }

.card-metrics[b-0bf9l044ws] {
    display: flex;
    justify-content: space-between;
    align-items: center;
  margin-bottom: 12px;
}

.signal-bars[b-0bf9l044ws] {
    display: flex;
    align-items: flex-end;
    gap: 3px;
}

.bar[b-0bf9l044ws] {
    width: 5px;
    border-radius: 9999px;
}
.h-2[b-0bf9l044ws] { height: 7px; }
.h-3[b-0bf9l044ws] { height: 10px; }
.h-4[b-0bf9l044ws] { height: 13px; }
.h-5[b-0bf9l044ws] { height: 16px; }

.producing-color[b-0bf9l044ws] { background-color: #006c49; }
.warning-color[b-0bf9l044ws] { background-color: #e79400; }
.dim-color[b-0bf9l044ws] { background-color: #bcc9cd; opacity: 0.3; }

.signal-val[b-0bf9l044ws] { font-size: 12px; color: #6d797d; margin-left: 3px; }

.metric-right[b-0bf9l044ws] { text-align: right; }
.metric-right.tertiary[b-0bf9l044ws] { color: #855300; }
.metric-right.error[b-0bf9l044ws] { color: #ba1a1a; }
.metric-label[b-0bf9l044ws] { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: #6d797d; margin: 0; }
.metric-value[b-0bf9l044ws] { font-size: 15px; font-weight: 700; margin: 0; }

.card-actions[b-0bf9l044ws] { display: flex; gap: 6px; }
.btn-configure[b-0bf9l044ws] {
    flex: 1;
  padding: 4px;
    border: 1px solid #00687a;
  color: #00687a;
    font-weight: 700;
    font-size: 12px;
    background: none;
    cursor: pointer;
    transition: background-color 0.2s;
}
.btn-configure:hover[b-0bf9l044ws] { background-color: rgba(6,182,212,0.1); }

.btn-more[b-0bf9l044ws] {
    padding: 4px 7px;
 border: 1px solid #bcc9cd;
  color: #3d494c;
    background: none;
  cursor: pointer;
    transition: background-color 0.2s;
}
.btn-more:hover[b-0bf9l044ws] { background-color: #eaedff; }
.btn-more .material-symbols-outlined[b-0bf9l044ws] { font-size: 16px !important; }

/* Power Grid */
.power-grid[b-0bf9l044ws] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    min-width: 0;
}

.power-card[b-0bf9l044ws] {
  background: white;
    border: 1px solid #bcc9cd;
    border-radius: 4px;
padding: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    transition: all 0.2s ease;
    min-width: 0;
}
.power-card:hover[b-0bf9l044ws] {
    border-color: #06b6d4;
    box-shadow: 0 4px 12px rgba(0,104,122,0.08);
}

.power-icon-wrap[b-0bf9l044ws] {
 width: 52px;
    height: 52px;
    background-color: #f2f3ff;
    border: 1px solid #bcc9cd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
}

.large-icon[b-0bf9l044ws] { font-size: 28px !important; }
.primary[b-0bf9l044ws] { color: #00687a; }
.error[b-0bf9l044ws] { color: #ba1a1a; }
.secondary[b-0bf9l044ws] { color: #006c49; }

.power-info[b-0bf9l044ws] { flex: 1; min-width: 0; }
.power-header[b-0bf9l044ws] { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.power-title[b-0bf9l044ws] { font-size: 14px; font-weight: 700; margin: 0; }
.power-node[b-0bf9l044ws] { font-size: 12px; color: #6d797d; margin: 0 0 6px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pulse-dot[b-0bf9l044ws] {
  width: 10px;
    height: 10px;
    border-radius: 9999px;
    animation: pulse-b-0bf9l044ws 2s infinite;
    flex-shrink: 0;
}
.secondary-dot[b-0bf9l044ws] { background-color: #006c49; box-shadow: 0 0 8px #006c49; }
.error-dot[b-0bf9l044ws] { background-color: #ba1a1a; box-shadow: 0 0 8px #ba1a1a; }

@keyframes pulse-b-0bf9l044ws {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.progress-track[b-0bf9l044ws] {
    width: 100%;
    height: 4px;
    background-color: #eaedff;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill[b-0bf9l044ws] { height: 100%; border-radius: 9999px; }
.primary-fill[b-0bf9l044ws] { background-color: #00687a; }
.error-fill[b-0bf9l044ws] { background-color: #ba1a1a; }

.icon-action[b-0bf9l044ws] {
    padding: 6px;
    background: none;
 border: none;
cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
 flex-shrink: 0;
}
.icon-action:hover[b-0bf9l044ws] { background-color: #eaedff; }
.icon-action .material-symbols-outlined[b-0bf9l044ws] { font-size: 18px !important; }

/* Security */
.security-grid[b-0bf9l044ws] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    min-width: 0;
}

.sec-card[b-0bf9l044ws] {
    background: white;
    border: 1px solid #bcc9cd;
    border-radius: 4px;
    padding: 12px;
    transition: all 0.2s ease;
    min-width: 0;
    overflow: hidden;
}
.sec-card:hover[b-0bf9l044ws] {
    border-color: #06b6d4;
    box-shadow: 0 4px 12px rgba(0,104,122,0.08);
    transform: translateY(-2px);
}

.alarm-card[b-0bf9l044ws] { border-color: rgba(186,26,26,0.4); background-color: rgba(255,218,214,0.05); }

.sec-card-header[b-0bf9l044ws] { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.sec-icon-wrap[b-0bf9l044ws] { width: 36px; height: 36px; background-color: rgba(0,104,122,0.1); display: flex; align-items: center; justify-content: center; border-radius: 4px; flex-shrink: 0; }
.error-icon-wrap[b-0bf9l044ws] { background-color: rgba(255,218,214,0.3) !important; }
.sec-status[b-0bf9l044ws] { text-align: right; }
.sec-status-text[b-0bf9l044ws] { font-size: 13px; font-weight: 700; }
.sec-status-text.secondary[b-0bf9l044ws] { color: #006c49; }
.sec-status-text.error[b-0bf9l044ws] { color: #ba1a1a; }
.sec-id[b-0bf9l044ws] { font-size: 10px; color: #6d797d; margin: 0; }
.sec-name[b-0bf9l044ws] { font-size: 13px; font-weight: 700; margin: 0 0 8px 0; }
.sec-name.error[b-0bf9l044ws] { color: #ba1a1a; }
.sec-icon-wrap .material-symbols-outlined[b-0bf9l044ws] { font-size: 18px !important; }

.cam-preview[b-0bf9l044ws] {
    aspect-ratio: 16/9;
    background-color: #eaedff;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}
.cam-preview img[b-0bf9l044ws] { width: 100%; height: 100%; object-fit: cover; }

.last-entry[b-0bf9l044ws] { padding: 4px 8px; background-color: #f2f3ff; border: 1px solid #bcc9cd; border-radius: 4px; display: flex; align-items: center; gap: 8px; }
.entry-avatar[b-0bf9l044ws] { width: 20px; height: 20px; border-radius: 9999px; background-color: #6cf8bb; flex-shrink: 0; }
.entry-label[b-0bf9l044ws] { font-size: 10px; font-weight: 700; margin: 0; }
.entry-value[b-0bf9l044ws] { font-size: 10px; opacity: 0.7; margin: 0; }

.sensor-grid[b-0bf9l044ws] { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.sensor-item[b-0bf9l044ws] { padding: 4px; background-color: #f2f3ff; border: 1px solid #bcc9cd; border-radius: 4px; text-align: center; }
.sensor-label[b-0bf9l044ws] { font-size: 10px; color: #6d797d; margin: 0; }
.sensor-value[b-0bf9l044ws] { font-size: 13px; font-weight: 700; margin: 0; }

.btn-clear-alert[b-0bf9l044ws] {
    width: 100%;
    padding: 4px;
    background-color: #ba1a1a;
  color: white;
    font-weight: 700;
    font-size: 13px;
    border: none;
    border-radius: 4px;
  cursor: pointer;
    transition: filter 0.2s;
}
.btn-clear-alert:hover[b-0bf9l044ws] { filter: brightness(1.1); }
/* /Components/Pages/IOTDashboard/IOTSideNav.razor.rz.scp.css */
.iot-sidenav[b-bsliodbi6k] {
 display: flex;
 flex-direction: column;
    position: fixed;
    left: 0;
    top: 2.75rem; /* below app fixed navbar */
    height: calc(100% - 2.75rem);
    width: 13rem;
    padding: 12px 0;
    z-index: 30;
    background-color: #f2f3ff;
    border-right: 1px solid #bcc9cd;
    overflow-y: auto;
}

.sidenav-brand[b-bsliodbi6k] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    margin-bottom: 24px;
}

.brand-icon[b-bsliodbi6k] {
    width: 36px;
    height: 36px;
    background-color: #00687a;
    border-radius: 4px;
    display: flex;
  align-items: center;
  justify-content: center;
 color: white;
  flex-shrink: 0;
}

.brand-title[b-bsliodbi6k] {
    font-family: Manrope, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #00687a;
  margin: 0;
}

.brand-sub[b-bsliodbi6k] {
    font-size: 11px;
    color: #3d494c;
    opacity: 0.8;
    margin: 0;
}

.sidenav-nav[b-bsliodbi6k] {
flex: 1;
    display: flex;
  flex-direction: column;
    gap: 2px;
    padding: 0 6px;
}

.nav-item[b-bsliodbi6k] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 4px;
    color: #3d494c;
    opacity: 0.8;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.nav-item:hover[b-bsliodbi6k] {
    background-color: #eaedff;
    opacity: 1;
}

.nav-item-active[b-bsliodbi6k] {
  color: #00687a;
    font-weight: 700;
    background-color: white;
    border-right: 3px solid #00687a;
    opacity: 1;
}

.sidenav-footer[b-bsliodbi6k] {
    margin-top: auto;
    padding: 12px 6px 0;
    border-top: 1px solid #bcc9cd;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.btn-add-device[b-bsliodbi6k] {
  width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #06b6d4;
    color: #00424f;
    padding: 7px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    border: none;
    cursor: pointer;
    margin-bottom: 6px;
    transition: filter 0.2s;
}

.btn-add-device:hover[b-bsliodbi6k] {
    filter: brightness(0.95);
}
/* /Components/Pages/IOTDashboard/IOTStatic.razor.rz.scp.css */
.iot-layout[b-ke2vx89s4u] {
    display: block;
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
}

.iot-main[b-ke2vx89s4u] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.static-content[b-ke2vx89s4u] {
    flex: 1;
    padding: 24px 3rem;
    background-color: #faf8ff;
    box-sizing: border-box;
    min-width: 0;
}

/* Page Header */
.page-header[b-ke2vx89s4u] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.breadcrumb[b-ke2vx89s4u] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #3d494c;
    margin-bottom: 4px;
}

.bc-icon[b-ke2vx89s4u] {
    font-size: 12px !important;
}

.bc-active[b-ke2vx89s4u] {
    color: #00687a;
    font-weight: 700;
}

.page-title[b-ke2vx89s4u] {
    font-family: Manrope, sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #131b2e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.online-badge[b-ke2vx89s4u] {
    padding: 2px 8px;
    background-color: #6cf8bb;
    color: #00714d;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-actions[b-ke2vx89s4u] {
    display: flex;
    gap: 16px;
}

.btn-discard[b-ke2vx89s4u] {
    padding: 8px 24px;
    border: 1px solid #6d797d;
    color: #131b2e;
    background: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: background-color 0.2s;
}

    .btn-discard:hover[b-ke2vx89s4u] {
        background-color: #f2f3ff;
    }

.btn-save[b-ke2vx89s4u] {
    padding: 8px 24px;
    background-color: #06b6d4;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: opacity 0.2s;
}

    .btn-save:hover[b-ke2vx89s4u] {
        opacity: 0.9;
    }

/* Bento Grid */
.bento-grid[b-ke2vx89s4u] {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.bento-left[b-ke2vx89s4u] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bento-right[b-ke2vx89s4u] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Bento Card */
.bento-card[b-ke2vx89s4u] {
    background: white;
    border: 1px solid #bcc9cd;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    overflow: hidden;
}

.bento-top-bar[b-ke2vx89s4u] {
    height: 4px;
    width: 100%;
}

.primary-bar[b-ke2vx89s4u] {
    background-color: #06b6d4;
}

.error-bar[b-ke2vx89s4u] {
    background-color: #ba1a1a;
}

.bento-body[b-ke2vx89s4u] {
    padding: 24px;
}

.bento-card-header[b-ke2vx89s4u] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.bento-title[b-ke2vx89s4u] {
    font-family: Manrope, sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.bento-label[b-ke2vx89s4u] {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #3d494c;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.primary[b-ke2vx89s4u] {
    color: #00687a;
}

.error[b-ke2vx89s4u] {
    color: #ba1a1a;
}

.secondary[b-ke2vx89s4u] {
    color: #006c49;
}

.white[b-ke2vx89s4u] {
    color: white;
}

/* Protocol Form */
.protocol-grid[b-ke2vx89s4u] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.field-group[b-ke2vx89s4u] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label[b-ke2vx89s4u] {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #3d494c;
    text-transform: uppercase;
}

.device-id-field[b-ke2vx89s4u] {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: #f2f3ff;
    border: 1px solid #bcc9cd;
    border-radius: 8px;
}

.device-id-val[b-ke2vx89s4u] {
    font-size: 14px;
    font-weight: 700;
    font-family: monospace;
}

.copy-icon[b-ke2vx89s4u] {
    margin-left: auto;
    color: #3d494c;
    cursor: pointer;
    font-size: 18px !important;
}

.field-select[b-ke2vx89s4u], .field-input[b-ke2vx89s4u] {
    width: 100%;
    padding: 16px;
    background-color: white;
    border: 1px solid #bcc9cd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

    .field-select:focus[b-ke2vx89s4u], .field-input:focus[b-ke2vx89s4u] {
        outline: none;
        border-color: #06b6d4;
        box-shadow: 0 0 0 1px #06b6d4;
    }

.range-row[b-ke2vx89s4u] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.range-input[b-ke2vx89s4u] {
    flex: 1;
    accent-color: #06b6d4;
}

.range-val[b-ke2vx89s4u] {
    font-size: 14px;
    font-weight: 700;
    color: #00687a;
    white-space: nowrap;
}

/* Thresholds */
.threshold-list[b-ke2vx89s4u] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.threshold-item[b-ke2vx89s4u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid #bcc9cd;
    border-radius: 8px;
    transition: border-color 0.2s;
}

    .threshold-item:hover[b-ke2vx89s4u] {
        border-color: rgba(186,26,26,0.3);
    }

.threshold-left[b-ke2vx89s4u] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.threshold-right[b-ke2vx89s4u] {
    display: flex;
    align-items: center;
    gap: 24px;
}

.threshold-icon[b-ke2vx89s4u] {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon-bg[b-ke2vx89s4u] {
    background-color: rgba(255,218,214,0.2);
}

.surface-icon-bg[b-ke2vx89s4u] {
    background-color: #eaedff;
}

.threshold-name[b-ke2vx89s4u] {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.threshold-desc[b-ke2vx89s4u] {
    font-size: 10px;
    color: #3d494c;
    margin: 0;
}

.threshold-val[b-ke2vx89s4u] {
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    margin: 0;
}

.threshold-severity[b-ke2vx89s4u] {
    font-size: 10px;
    color: #3d494c;
    text-transform: uppercase;
    text-align: right;
    margin: 0;
}

.edit-icon[b-ke2vx89s4u] {
    color: #3d494c;
    cursor: pointer;
}

/* Telemetry */
.telemetry-card[b-ke2vx89s4u] {
    background-color: #283044;
    color: #faf8ff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    height: 500px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.telemetry-header[b-ke2vx89s4u] {
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.live-indicator[b-ke2vx89s4u] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-dot[b-ke2vx89s4u] {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: #006c49;
    animation: pulse-anim-b-ke2vx89s4u 2s infinite;
}

@keyframes pulse-anim-b-ke2vx89s4u {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.telemetry-label[b-ke2vx89s4u] {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.terminal-icon[b-ke2vx89s4u] {
    font-size: 18px !important;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
}

    .terminal-icon:hover[b-ke2vx89s4u] {
        color: white;
    }

.log-container[b-ke2vx89s4u] {
    flex: 1;
    padding: 16px;
    font-family: monospace;
    font-size: 11px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .log-container[b-ke2vx89s4u]::-webkit-scrollbar {
        width: 4px;
    }

    .log-container[b-ke2vx89s4u]::-webkit-scrollbar-track {
        background: transparent;
    }

    .log-container[b-ke2vx89s4u]::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.2);
        border-radius: 10px;
    }

.log-dim[b-ke2vx89s4u] {
    color: rgba(255,255,255,0.4);
}

.log-ok[b-ke2vx89s4u] {
    color: #6ffbbe;
}

.log-warn[b-ke2vx89s4u] {
    color: #ffddb8;
}

.cmd-bar[b-ke2vx89s4u] {
    padding: 8px;
    background-color: rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    gap: 8px;
}

.cmd-input[b-ke2vx89s4u] {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 11px;
    outline: none;
}

    .cmd-input[b-ke2vx89s4u]::placeholder {
        color: rgba(255,255,255,0.2);
    }

.btn-send[b-ke2vx89s4u] {
    padding: 4px 16px;
    background-color: #00687a;
    color: white;
    font-size: 10px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Connection Flow */
.flow-diagram[b-ke2vx89s4u] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 24px 16px;
}

.flow-node-circle[b-ke2vx89s4u] {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.primary-circle[b-ke2vx89s4u] {
    background-color: #06b6d4;
}

.secondary-circle[b-ke2vx89s4u] {
    background-color: #6cf8bb;
    color: #00714d;
    border: 1px solid rgba(0,108,73,0.2);
}

.dashed-line[b-ke2vx89s4u] {
    flex: 1;
    height: 1px;
    background-image: linear-gradient(90deg, #06b6d4 50%, transparent 50%);
    background-size: 10px 1px;
    animation: marching-b-ke2vx89s4u 1s infinite linear;
}

@keyframes marching-b-ke2vx89s4u {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 20px 0;
    }
}

.flow-labels[b-ke2vx89s4u] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 16px;
}

.flow-node-label[b-ke2vx89s4u] {
    font-size: 10px;
    font-weight: 700;
}

.stats-rows[b-ke2vx89s4u] {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(188,201,205,0.3);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-row[b-ke2vx89s4u] {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.stat-row-label[b-ke2vx89s4u] {
    color: #3d494c;
}

.stat-row-val[b-ke2vx89s4u] {
    font-weight: 700;
}

    .stat-row-val.secondary[b-ke2vx89s4u] {
        color: #006c49;
    }
/* /Components/Pages/IOTDashboard/IOTTopBar.razor.rz.scp.css */
.iot-topbar[b-4oss1uhp0m] {
    width: 100%;
    height: 52px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #faf8ff;
    border-bottom: 1px solid #bcc9cd;
    box-sizing: border-box;
}

.topbar-left[b-4oss1uhp0m] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.topbar-icon[b-4oss1uhp0m] {
    color: #00687a;
    font-size: 20px;
    flex-shrink: 0;
}

.topbar-title[b-4oss1uhp0m] {
    font-family: Manrope, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #00687a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-right[b-4oss1uhp0m] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.topbar-search[b-4oss1uhp0m] {
    position: relative;
    width: 14rem;
}

.search-icon[b-4oss1uhp0m] {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #3d494c;
    font-size: 16px !important;
}

.search-input[b-4oss1uhp0m] {
    width: 100%;
    padding: 4px 12px 4px 32px;
    background-color: #f2f3ff;
    border: 1px solid #bcc9cd;
    border-radius: 9999px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

    .search-input:focus[b-4oss1uhp0m] {
        border-color: #06b6d4;
    }

.icon-btn[b-4oss1uhp0m] {
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #3d494c;
    transition: background-color 0.2s;
}

    .icon-btn:hover[b-4oss1uhp0m] {
        background-color: #f2f3ff;
    }

    .icon-btn .material-symbols-outlined[b-4oss1uhp0m] {
        color: #00687a;
        font-size: 20px !important;
    }

.user-info[b-4oss1uhp0m] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-text[b-4oss1uhp0m] {
    text-align: right;
}

.user-name[b-4oss1uhp0m] {
    font-size: 11px;
    font-weight: 700;
    color: #131b2e;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.user-role[b-4oss1uhp0m] {
    font-size: 10px;
    color: #6d797d;
    margin: 0;
}

.avatar[b-4oss1uhp0m] {
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    overflow: hidden;
    border: 1px solid #bcc9cd;
}

    .avatar img[b-4oss1uhp0m] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.btn-add-device-topbar[b-4oss1uhp0m] {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #06b6d4;
    color: #00424f;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: filter 0.2s;
}

    .btn-add-device-topbar:hover[b-4oss1uhp0m] {
        filter: brightness(0.95);
    }

    .btn-add-device-topbar .material-symbols-outlined[b-4oss1uhp0m] {
        font-size: 18px !important;
    }
/* /Components/Pages/LicensePage.razor.rz.scp.css */
.license-page[b-8v54n3xugy] { --ink: #1c2b3a; --muted: #667085; --line: #e1e6ed; --brand: #2c4a65; --ok: #1f7a4d; --warn: #b7791f; --fail: #b42318;
    padding: 24px; width: 100%; box-sizing: border-box; color: var(--ink); font-family: 'Manrope', 'Inter', sans-serif; font-variant-numeric: tabular-nums; }
.license-title[b-8v54n3xugy] { font-size: 22px; font-weight: 700; margin: 0 0 18px; }
.muted[b-8v54n3xugy] { color: var(--muted); font-weight: 400; }
.mono[b-8v54n3xugy] { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }

/* The license plate: one sheet, status colour on the left edge */
.license-plate[b-8v54n3xugy] { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--muted); border-radius: 10px; padding: 20px 24px 22px; margin-bottom: 24px; }
.license-plate.ok[b-8v54n3xugy] { border-left-color: var(--ok); }
.license-plate.warn[b-8v54n3xugy] { border-left-color: var(--warn); }
.license-plate.fail[b-8v54n3xugy] { border-left-color: var(--fail); }
.plate-head[b-8v54n3xugy] { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.plate-status[b-8v54n3xugy] { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; }
.license-plate.ok .plate-status[b-8v54n3xugy] { color: var(--ok); }
.license-plate.warn .plate-status[b-8v54n3xugy] { color: var(--warn); }
.license-plate.fail .plate-status[b-8v54n3xugy] { color: var(--fail); }
.plate-company[b-8v54n3xugy] { font-size: 15px; font-weight: 600; }
.plate-facts[b-8v54n3xugy] { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 28px; margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); }
.plate-facts dt[b-8v54n3xugy] { color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.plate-facts dd[b-8v54n3xugy] { margin: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plate-note[b-8v54n3xugy] { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.plate-note.warn[b-8v54n3xugy] { color: var(--warn); }
.plate-note.fail[b-8v54n3xugy] { color: var(--fail); }

/* Seat strip: one tile per seat the key allows */
.seat-block[b-8v54n3xugy] { margin-top: 18px; }
.seat-caption[b-8v54n3xugy] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 8px; font-size: 14px; }
.seat-over[b-8v54n3xugy] { color: var(--fail); font-weight: 600; font-size: 13px; }
.seat-strip[b-8v54n3xugy] { display: flex; flex-wrap: wrap; gap: 4px; }
.seat[b-8v54n3xugy] { width: 18px; height: 26px; border-radius: 4px; border: 1.5px solid #c3ccd7; background: #fff; }
.seat.taken[b-8v54n3xugy] { background: var(--brand); border-color: var(--brand); }
.license-plate.fail .seat.taken[b-8v54n3xugy] { background: var(--fail); border-color: var(--fail); }
.seat-bar[b-8v54n3xugy] { height: 12px; border-radius: 6px; background: #e9edf2; overflow: hidden; }
.seat-bar span[b-8v54n3xugy] { display: block; height: 100%; background: var(--brand); }

.license-columns[b-8v54n3xugy] { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.7fr); gap: 24px; align-items: start; }
.panel[b-8v54n3xugy] { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.panel-title[b-8v54n3xugy] { font-size: 15px; font-weight: 700; margin: 0 0 12px; }
.panel-hint[b-8v54n3xugy] { font-size: 13px; margin: 10px 0 0; }
.panel-hint.warn[b-8v54n3xugy] { color: var(--warn); }
.panel-actions[b-8v54n3xugy] { display: flex; align-items: center; gap: 10px; margin-top: 12px; }

.license-textarea[b-8v54n3xugy] { width: 100%; padding: 10px 12px; border: 1px solid #cdd5df; border-radius: 8px; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; line-height: 1.45; resize: vertical; word-break: break-all; }
.license-textarea:focus[b-8v54n3xugy] { outline: 2px solid var(--brand); outline-offset: 1px; }

.license-btn[b-8v54n3xugy] { padding: 7px 16px; border-radius: 7px; border: 1px solid #cdd5df; background: #fff; color: var(--ink); font-weight: 600; font-size: 13px; cursor: pointer; }
.license-btn:hover:not(:disabled)[b-8v54n3xugy] { background: #f1f4f8; }
.license-btn:focus-visible[b-8v54n3xugy] { outline: 2px solid var(--brand); outline-offset: 2px; }
.license-btn:disabled[b-8v54n3xugy] { opacity: .5; cursor: default; }
.license-btn.primary[b-8v54n3xugy] { background: var(--brand); border-color: var(--brand); color: #fff; }
.license-btn.primary:hover:not(:disabled)[b-8v54n3xugy] { background: #223a50; }
.license-file[b-8v54n3xugy] { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; overflow: hidden; }
.license-file.disabled[b-8v54n3xugy] { opacity: .5; cursor: default; }
.license-file[b-8v54n3xugy]  input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.license-btn.quiet[b-8v54n3xugy] { border-color: transparent; background: transparent; color: var(--fail); padding: 4px 10px; }
.license-btn.quiet:hover:not(:disabled)[b-8v54n3xugy] { background: #fdecea; }

.license-table[b-8v54n3xugy] { width: 100%; border-collapse: collapse; }
.license-table th[b-8v54n3xugy] { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 6px 10px; border-bottom: 1px solid var(--line); }
.license-table td[b-8v54n3xugy] { padding: 10px; border-bottom: 1px solid #eef1f5; font-size: 14px; }
.license-table tbody tr:last-child td[b-8v54n3xugy] { border-bottom: none; }
.license-table tbody tr:hover[b-8v54n3xugy] { background: #f7f9fb; }
.license-table tr.blocked td[b-8v54n3xugy] { background: #fff7f6; }
.cell-end[b-8v54n3xugy] { text-align: right; }
.seat-no[b-8v54n3xugy] { display: inline-block; min-width: 28px; padding: 2px 8px; border-radius: 6px; background: #eaf0f6; color: var(--brand); font-weight: 700; text-align: center; }
.chip[b-8v54n3xugy] { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.chip.ok[b-8v54n3xugy] { background: #e6f4ec; color: var(--ok); }
.chip.fail[b-8v54n3xugy] { background: #fde7e4; color: var(--fail); }

.license-empty[b-8v54n3xugy] { padding: 28px 12px; text-align: center; color: var(--muted); font-size: 14px; }
.license-error[b-8v54n3xugy] { color: var(--fail); }
.license-message[b-8v54n3xugy] { padding: 8px 12px; border-radius: 8px; margin: 12px 0 0; font-size: 13px; }
.license-message.ok[b-8v54n3xugy] { background: #e6f4ec; color: var(--ok); }
.license-message.fail[b-8v54n3xugy] { background: #fde7e4; color: var(--fail); }
.sr-only[b-8v54n3xugy] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 860px) {
    .license-page[b-8v54n3xugy] { padding: 16px; }
    .license-columns[b-8v54n3xugy] { grid-template-columns: 1fr; }
}
/* /Components/Pages/LoginPage.razor.rz.scp.css */
/*.bg-img {
    position: relative;
}

.bg-img .imgLogoL {
    position: absolute;
    left: 0;
    width: 12%
}

.bg-img .bg-op {
    background-color: #111418;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.bg-img .imgLeft {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg-lg {
    background-image: url(img/br_login_mobileV2.jpeg);
    background-size: cover;
    position: relative;
}

.input-LG {
    font-size: 20px;
    padding-left: 10px;
    border: 2px solid #DADBE3;
    border-radius: 10px;
    outline: 0;
}

.input-LG:focus {
    border: 2px solid #305A80;
}
.inputCheck {
    border: 1px solid #DADBE3;
}

.inputUP input::placeholder {
    font-size: 22px;
    padding: 15px 0px
}

.bg-lg .buttonLG {
    background-color: #376682;
    border: 2px solid #305A80;
    color: white;
    font-size: 22px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 30px;
    display: inline-block;
    text-decoration: none;
}

.qrVr {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%)
}

.languageLG:focus-visible {
    border: 2px solid #25A5D6 !important;
}

select.changed-border {
    border-color: #25A5D6 !important;
}
@media screen and (min-width: 1200px) {
}*/
/* lap */
/*@media screen and (max-width: 1200px) {
    .forPas {
        width: 65% !important;
    }

    .bg-img {
        width: 65% !important;
    }

    .bg-lg {
        width: 35% !important;
    }
}*/
/* tap */
/*@media screen and (max-width: 992px) {
    .bg-img {
        width: 60% !important;
    }

    .bg-lg {
        width: 40% !important;
    }
}*/
/* tap */
/*@media screen and (max-width: 768px) {
    .contentLG {
        display: block !important;
        position: relative !important;
    }

    .bg-img {
        width: 100% !important;
        height: 100vh;
    }

    .bg-lg {
        position: absolute !important;
        width: 80% !important;
        height: 80%;
        top: 10%;
        left: 10%;
        z-index: 9;
        border-radius: 20px;
        opacity: 0.9;
    }

    .forPas {
        width: 100% !important;
    }

    .resLogoMain {
        margin-top: 30px !important;
        width: 185px !important;
        height: 193px !important;
    }

    .qrVr {
        width: 42% !important;
    }

    .resUN {
        margin-top: 20px !important;
    }
}*/
/* mobile */
/*@media (max-width: 576px) {
    .forPas {
        width: 80% !important;
    }
    .resLogoMain {
        margin-top: 30px !important;
        width: 165px !important;
        height: 173px !important;
    }
}*/
.error-tip[b-59pr5o2oat] {
    /*display: none;*/
    color:red;
}
a[b-59pr5o2oat] {
    color: -webkit-link !important;
    cursor: pointer;
    text-decoration: underline !important;
}

.loginAppStores[b-59pr5o2oat] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.loginAppStoreBtn[b-59pr5o2oat] {
    --store-color: #f0ab00;
    --store-tint: #fff8e6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-width: 0;
    height: 3rem;
    padding: 0 0.75rem;
    color: #2b2d31;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--store-color) 45%, #fff);
    border-radius: 6px;
    box-shadow: inset 0 -3px 0 var(--store-color);
    cursor: pointer;
    transition: transform .15s, background-color .15s, box-shadow .15s;
}

.loginAppStoreAndroid[b-59pr5o2oat] {
    --store-color: #3ddc84;
    --store-tint: #eafaf1;
}

.loginAppStoreIos[b-59pr5o2oat] {
    --store-color: #0a84ff;
    --store-tint: #eaf3ff;
}

.loginAppStoreBtn:hover[b-59pr5o2oat] {
    background: var(--store-tint);
    transform: translateY(-1px);
}

.loginAppStoreBtn:active[b-59pr5o2oat] {
    transform: translateY(1px);
    box-shadow: inset 0 -1px 0 var(--store-color);
}

.loginAppStoreBtn:focus-visible[b-59pr5o2oat] {
    outline: 2px solid var(--store-color);
    outline-offset: 2px;
}

.loginAppStoreAndroid svg[b-59pr5o2oat] {
    color: #2fb868;
}

.loginAppStoreIos svg[b-59pr5o2oat] {
    color: #0a84ff;
}

.loginAppStoreBtn svg[b-59pr5o2oat] {
    flex: none;
}

.loginAppStoreText[b-59pr5o2oat] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    text-align: left;
}

.loginAppStoreText small[b-59pr5o2oat] {
    font-size: 0.7rem;
    opacity: 0.7;
}

.loginAppStoreText strong[b-59pr5o2oat] {
    font-size: 1.05rem;
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    .loginAppStoreBtn[b-59pr5o2oat] {
        transition: none;
    }
}

.loginIosSoon[b-59pr5o2oat] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 0;
    color: #0a84ff;
    text-align: center;
}

.loginIosSoon strong[b-59pr5o2oat] {
    font-size: 1.25rem;
    color: #2b2d31;
}

.loginIosSoon span[b-59pr5o2oat] {
    color: #5f6368;
}
/* /Components/Pages/ManageWO/ManageWorkOrder.razor.rz.scp.css */
/* View tabs in the title row: the title text itself is the tab, the active one is underlined. */
.wo-bench-tabs[b-4f520y87p1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wo-bench-tab-sep[b-4f520y87p1] {
    color: var(--color-secondary);
    font-family: var(--font-headline);
    font-size: 1.75rem;
    font-weight: 400;
    /* the tabs carry a 3px underline below their text; offset it so the slash is centred on the text */
    margin-bottom: 3px;
}

.wo-bench-tab[b-4f520y87p1] {
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: var(--color-secondary);
    cursor: pointer;
    font-family: var(--font-headline);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 0.15rem 0.25rem;
}

.wo-bench-tab.active[b-4f520y87p1] {
    border-bottom-color: var(--color-primary);
    color: var(--color-on-surface);
}

/* management_wo.css sizes the card as calc(100vh - 14rem), which left a gap under it; fill the remaining height instead. */
.workbench-card[b-4f520y87p1] {
    height: 100%;
}
/* /Components/Pages/ManageWO/WOPageHeaderBar.razor.rz.scp.css */
/* Space between the title tabs and the table below. */
.page-header-area[b-8twx8nipwh] {
    padding-bottom: 0.75rem;
}

.header-actions[b-8twx8nipwh] {
    margin-bottom: 0.25rem;
}
/* /Components/Pages/ManageWO/WorkOrderProcessTable.razor.rz.scp.css */

.process-workbench-wrap[b-u4ksxxqocs] { padding-top: 0; }
.process-card[b-u4ksxxqocs] { height: 100%; }
.process-scroll[b-u4ksxxqocs] { flex: 1; min-height: 0; overflow: auto; }
.process-gear-th[b-u4ksxxqocs] { position: sticky; right: 0; z-index: 3; padding: 0 !important; text-align: center !important; overflow: visible !important; }
.process-empty[b-u4ksxxqocs] { padding: 1.5rem 1rem !important; color: #5f6368; }
.process-table[b-u4ksxxqocs] { table-layout: fixed; border-collapse: collapse; font-size: 0.875rem; }
.process-table th[b-u4ksxxqocs], .process-table td[b-u4ksxxqocs] { padding: 0.5rem 0.75rem; border-bottom: 1px solid #eceef0; white-space: nowrap; }
.process-table th[b-u4ksxxqocs] { position: sticky; top: 0; background: #f7f9fb; text-align: left; font-weight: 600; z-index: 1; }
.process-table td[b-u4ksxxqocs] { overflow: hidden; text-overflow: ellipsis; }
.process-table th[b-u4ksxxqocs] { overflow: hidden; }
/* Frozen columns: a tinted header, and a shadow on the last frozen column that appears over the columns scrolling underneath it. */
.process-table th.process-frozen[b-u4ksxxqocs] { background: #e8eef7 !important; }
.process-table td.process-frozen[b-u4ksxxqocs] { background: #fbfcfe !important; }
/* The blue edge is an inset box-shadow, not a border: with border-collapse a border belongs to the table grid and scrolls away while the sticky cell stays put. */
.process-table .process-frozen-last[b-u4ksxxqocs] { box-shadow: inset -2px 0 0 #8ab8ee, 3px 0 5px -2px rgba(20, 48, 90, 0.35); }
.process-cell-icon[b-u4ksxxqocs] { max-height: 1.25rem; vertical-align: middle; }
.process-table td .material-symbols-outlined[b-u4ksxxqocs] { font-size: 1.1rem; vertical-align: middle; }

/* Time receipts of the hovered step. Hovering only previews (pointer-events none so it never steals the hover); a click pins it:
   it then stays until a click lands outside it (the transparent backdrop catches that click). */
.process-hover-backdrop[b-u4ksxxqocs] { position: fixed; inset: 0; z-index: 999; }
.process-hover[b-u4ksxxqocs] { position: fixed; z-index: 1000; max-width: 42rem; max-height: 50vh; overflow: auto; padding: 0.5rem 0.75rem; background: #fff; border: 1px solid #d0d5da; border-radius: 0.375rem; box-shadow: 0 4px 16px rgba(0,0,0,.18); font-size: 0.8rem; pointer-events: none; }
.process-hover.pinned[b-u4ksxxqocs] { pointer-events: auto; }
.process-hover.up[b-u4ksxxqocs] { transform: translateY(-100%); }
.process-hover-title[b-u4ksxxqocs] { font-weight: 600; max-width: 28rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.process-hover-sub[b-u4ksxxqocs] { color: #5f6368; font-size: 0.72rem; margin-bottom: 0.35rem; }
.process-hover-empty[b-u4ksxxqocs] { color: #5f6368; }
.process-hover table[b-u4ksxxqocs] { border-collapse: collapse; }
.process-hover th[b-u4ksxxqocs], .process-hover td[b-u4ksxxqocs] { padding: 0.15rem 0.5rem; text-align: left; white-space: nowrap; border-bottom: 1px solid #eceef0; }

/* Column resize handle (own class: the shared inventoryHistoryColumnResize.js listens to every .col-resize-handle inside any table). */
.process-resize-handle[b-u4ksxxqocs] { position: absolute; top: 0; right: 0; width: 6px; height: 100%; cursor: col-resize; z-index: 2; }
.process-resize-handle[b-u4ksxxqocs]::after { content: ""; position: absolute; top: 50%; left: 50%; width: 2px; height: 16px; transform: translate(-50%, -50%); border-radius: 1px; background: var(--color-outline-variant); opacity: 0.7; }
.process-resize-handle:hover[b-u4ksxxqocs]::after { background: var(--color-primary); opacity: 1; }

/* Funnel (ColumnFilterDropdown) next to the column title. */
.process-table[b-u4ksxxqocs]  .cfd, .process-table[b-u4ksxxqocs]  .crf { margin-left: 0.25rem; }
/* /Components/Pages/MappingChart/MappingScreen.razor.rz.scp.css */
/* MappingScreen - Modern Glass Card Design with Drag & Drop Support */

:root[b-xr77fufvbc] {
    --color-white: #ffffff;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;
    --color-cyan-500: #06b6d4;
    --color-green-400: #4ade80;
    --color-green-500: #22c55e;
    --color-amber-400: #fbbf24;
    --color-red-400: #f87171;
    --color-red-500: #ef4444;
    --color-red-600: #dc2626;
    --color-background: #0b1326;
    --glass-bg: rgba(30, 41, 59, 0.8);
    --glass-border: rgba(107, 114, 128, 0.2);
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
}

/* Main Container */
.mapping-container[b-xr77fufvbc] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--color-background) 0%, #111c30 100%);
    gap: var(--space-md);
    position: relative;
}

/* Header Section */
.mapping-header[b-xr77fufvbc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

    .mapping-header h2[b-xr77fufvbc] {
        margin: 0;
        color: var(--color-white);
        font-size: 28px;
        font-weight: 700;
        letter-spacing: -0.02em;
        flex: 1;
        text-transform: uppercase;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    }

    .mapping-header .btn[b-xr77fufvbc] {
        padding: 0.625rem 1.25rem;
        font-size: 14px;
        font-weight: 600;
        border: none;
        border-radius: 0.5rem;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background-color: var(--color-cyan-500);
        color: var(--color-slate-900);
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

        .mapping-header .btn:hover[b-xr77fufvbc] {
            background-color: #00d4e3;
            box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
            transform: translateY(-2px);
        }

        .mapping-header .btn:active[b-xr77fufvbc] {
            transform: translateY(0);
        }

/* Delete Zone */
.delete-zone[b-xr77fufvbc] {
    position: fixed;
    left: var(--space-lg);
    top: 100px;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(239, 68, 68, 0.5);
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 0.25rem;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

    .delete-zone:hover[b-xr77fufvbc] {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.15) 100%);
        border-color: rgba(239, 68, 68, 0.7);
    }

    .delete-zone.active[b-xr77fufvbc] {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.4) 0%, rgba(220, 38, 38, 0.3) 100%);
        border-color: var(--color-red-500);
        box-shadow: 0 12px 32px rgba(239, 68, 68, 0.4);
    }

        .delete-zone.active .delete-icon[b-xr77fufvbc] {
            color: var(--color-red-500);
            transform: scale(1.1);
        }

        .delete-zone.active .delete-text[b-xr77fufvbc] {
            color: var(--color-red-500);
            font-weight: 700;
        }

.delete-icon[b-xr77fufvbc] {
    font-size: 24px;
    color: rgba(239, 68, 68, 0.7);
    transition: all 0.2s ease;
}

.delete-text[b-xr77fufvbc] {
    font-size: 10px;
    color: rgba(239, 68, 68, 0.7);
    font-weight: 600;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Refresh Panel — dùng chung style với zoom-toolbar, chỉ đổi vị trí sang góc phải trên */
#refresh-panel.refresh-panel[b-xr77fufvbc] {
    top: 100px !important;
    right: 0px !important;
    bottom: auto !important;
    border-radius: 999px 0 0 999px;
    left: auto !important;
    transform: none !important;
}

.refresh-countdown-wrap[b-xr77fufvbc] {
    display: flex;
    align-items: center;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateX(10px);
    transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease,
                transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

    .refresh-countdown-wrap.visible[b-xr77fufvbc] {
        max-width: 220px;
        opacity: 1;
        transform: translateX(0);
    }

.refresh-countdown-text[b-xr77fufvbc] {
    white-space: nowrap;
}

    .refresh-countdown-text #refresh-countdown-value[b-xr77fufvbc] {
        font-weight: 700;
        color: var(--color-cyan-500);
    }

/* Mapping Canvas */
.mapping-canvas[b-xr77fufvbc] {
    flex: 1;
    background-color: var(--color-slate-900);
    background-image: linear-gradient(0deg, transparent 24%, rgba(107, 114, 128, 0.08) 25%, rgba(107, 114, 128, 0.08) 26%, transparent 27%, transparent 74%, rgba(107, 114, 128, 0.08) 75%, rgba(107, 114, 128, 0.08) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(107, 114, 128, 0.08) 25%, rgba(107, 114, 128, 0.08) 26%, transparent 27%, transparent 74%, rgba(107, 114, 128, 0.08) 75%, rgba(107, 114, 128, 0.08) 76%, transparent 77%, transparent);
    background-size: 40px 40px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3), 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* =============================================
   SQUARE OBJECT — Machine Card (matches screenshot)
   Size: 260px wide × 185px tall
   ============================================= */
.square-object[b-xr77fufvbc] {
    position: absolute;
    width: 350px;
    height: 240px;
    cursor: grab;
    border-radius: 12px;
    user-select: none;
    transition: box-shadow 0.2s ease;
    will-change: left, top;
    z-index: 100;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transform-box: border-box;
}

    .square-object:hover[b-xr77fufvbc] {
        box-shadow: 0 8px 32px rgba(0,0,0,0.5);
        border-color: rgba(255,255,255,0.12);
    }

    .square-object.dragging[b-xr77fufvbc] {
        box-shadow: 0 20px 56px rgba(0,0,0,0.6);
        z-index: 2000;
        cursor: grabbing;
        will-change: left, top;
        filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.35));
        transition: none !important;
    }

/* ---- Card inner layout ---- */
.drag-card[b-xr77fufvbc] {
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Top accent bar (colored by status) */
.drag-card-accent[b-xr77fufvbc] {
    height: 10px;
    width: 100%;
    flex-shrink: 0;
}

    .drag-card-accent.status-running[b-xr77fufvbc] {
        background: #22c55e;
    }

    .drag-card-accent.status-idle[b-xr77fufvbc] {
        background: #fbbf24;
    }

    .drag-card-accent.status-maintenance[b-xr77fufvbc] {
        background: #ef4444;
    }

    .drag-card-accent.status-default[b-xr77fufvbc] {
        background: #06b6d4;
    }

/* Header row: title + status badge */
.drag-card-header[b-xr77fufvbc] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 7px 10px 4px 10px;
}

.drag-card-title-block[b-xr77fufvbc] {
}

.drag-card-id[b-xr77fufvbc] {
    font-size: 20px;
    font-weight: 700;
    color: black;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

.drag-card-subtitle[b-xr77fufvbc] {
    font-size: 14px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 1px;
}

/* Status badge */
.drag-card-status[b-xr77fufvbc] {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 3px;
    flex-shrink: 0;
}

    .drag-card-status.status-running[b-xr77fufvbc] {
        background: rgba(34,197,94,0.15);
        color: #4ade80;
        border: 1px solid rgba(34,197,94,0.3);
    }

    .drag-card-status.status-idle[b-xr77fufvbc] {
        background: rgba(251,191,36,0.15);
        color: #fbbf24;
        border: 1px solid rgba(251,191,36,0.3);
    }

    .drag-card-status.status-maintenance[b-xr77fufvbc] {
        background: rgba(239,68,68,0.15);
        color: #f87171;
        border: 1px solid rgba(239,68,68,0.3);
    }

    .drag-card-status.status-default[b-xr77fufvbc] {
        background: rgba(6,182,212,0.15);
        color: #06b6d4;
        border: 1px solid rgba(6,182,212,0.3);
    }

/* Metrics row: WAIT / WIP / DELIVERY */
.drag-card-metrics[b-xr77fufvbc] {
    display: flex;
    padding: 2px 10px 4px 10px;
    gap: 0;
}

.drag-card-metric[b-xr77fufvbc] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.drag-card-metric-label[b-xr77fufvbc] {
    font-size: 8px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 1px;
    text-align: center;
}

.drag-card-metric-value[b-xr77fufvbc] {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
    display: flex; 
    justify-content: center;
}

    /* Colored values */
    .drag-card-metric-value.cyan[b-xr77fufvbc] {
        color: #06b6d4;
    }

    .drag-card-metric-value.green[b-xr77fufvbc] {
        color: #4ade80;
    }

    .drag-card-metric-value.amber[b-xr77fufvbc] {
        color: #fbbf24;
    }

    .drag-card-metric-value.red[b-xr77fufvbc] {
        color: #f87171;
    }

/* Divider */
.drag-card-divider[b-xr77fufvbc] {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 0 10px;
}

/* Footer row: Work Order + Operator */
.drag-card-footer[b-xr77fufvbc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 10px 5px 10px;
}

.drag-card-footer-item[b-xr77fufvbc] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.drag-card-footer-label[b-xr77fufvbc] {
    font-size: 8px;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.drag-card-footer-value[b-xr77fufvbc] {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
}

/* Alarm / warning row */
.drag-card-alarm[b-xr77fufvbc] {
    padding: 3px 10px;
    font-size: 9px;
    font-weight: 700;
    color: #f87171;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(239,68,68,0.08);
}

/* Mini bar chart area at bottom */
.drag-card-bars[b-xr77fufvbc] {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    padding: 4px 10px 7px 10px;
    height: 32px;
    margin-top: auto;
}

.drag-card-bar[b-xr77fufvbc] {
    flex: 1;
    border-radius: 2px 2px 0 0;
    min-height: 4px;
    opacity: 0.7;
}

/* Locked overlay (MAINTENANCE) */
.drag-card-lock[b-xr77fufvbc] {
    margin: 0 10px 5px 10px;
    background: repeating-linear-gradient( 45deg, rgba(239,68,68,0.12), rgba(239,68,68,0.12) 4px, rgba(239,68,68,0.04) 4px, rgba(239,68,68,0.04) 8px );
    border: 1px solid rgba(239,68,68,0.25);
    border-radius: 3px;
    padding: 3px 8px;
    font-size: 9px;
    font-weight: 700;
    color: #f87171;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
}

/* =============================================
   Toast Notification
   ============================================= */
#toast-notification[b-xr77fufvbc] {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    padding: 0.875rem 1.125rem;
    color: var(--color-white);
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 2001;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

    #toast-notification.show[b-xr77fufvbc] {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

#toast-spinner[b-xr77fufvbc] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner[b-xr77fufvbc] {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-top-color: var(--color-cyan-500);
    border-radius: 50%;
    animation: spin-b-xr77fufvbc 0.8s linear infinite;
}

@keyframes spin-b-xr77fufvbc {
    to {
        transform: rotate(360deg);
    }
}

#toast-message[b-xr77fufvbc] {
    flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .mapping-container[b-xr77fufvbc] {
        padding: var(--space-sm);
        height: auto;
        min-height: 100vh;
    }

    .mapping-header[b-xr77fufvbc] {
        flex-direction: column;
        align-items: stretch;
    }

        .mapping-header h2[b-xr77fufvbc] {
            font-size: 20px;
            text-align: center;
        }

        .mapping-header .btn[b-xr77fufvbc] {
            width: 100%;
            text-align: center;
        }

    .square-object[b-xr77fufvbc] {
        width: 100%;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
    }

    .delete-zone[b-xr77fufvbc] {
        position: relative;
        width: 100%;
        left: 0;
        top: 0;
        margin-bottom: var(--space-md);
    }
}

@media (prefers-reduced-motion: reduce) {
    .square-object[b-xr77fufvbc], #toast-notification[b-xr77fufvbc], .delete-zone[b-xr77fufvbc] {
        transition: none;
    }

    .spinner[b-xr77fufvbc] {
        animation: none;
    }
}

.square-object.will-delete[b-xr77fufvbc] {
    opacity: 0.6;
    outline: 2px solid red;
    transition: opacity 0.15s;
}

.zoom-toolbar[b-xr77fufvbc] {
    position: fixed !important;
    bottom: 24px !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 6px 12px;
    background: rgba(34, 42, 61, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(107, 114, 128, 0.3);
    border-radius: 999px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    z-index: 100 !important;
}

.zoom-btn[b-xr77fufvbc] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

    .zoom-btn:hover[b-xr77fufvbc] {
        background: rgba(107,114,128,0.2);
        color: #06b6d4;
    }

    .zoom-btn:active[b-xr77fufvbc] {
        transform: scale(0.92);
    }

.zoom-divider[b-xr77fufvbc] {
    width: 1px;
    height: 16px;
    background: rgba(107,114,128,0.3);
    margin: 0 4px;
}

.zoom-label[b-xr77fufvbc] {
    font-size: 12px;
    font-family: 'Segoe UI', monospace;
    color: #64748b;
    min-width: 40px;
    text-align: center;
    letter-spacing: 0.03em;
}

/* Mode Dropdown */
.mapping-mode-dropdown[b-xr77fufvbc] {
    position: relative;
}

.mapping-dropdown-btn[b-xr77fufvbc] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.45rem 1rem 0.45rem 0.75rem;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(107, 114, 128, 0.3);
    border-radius: 0.5rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 120px;
}

    .mapping-dropdown-btn:hover[b-xr77fufvbc] {
        border-color: rgba(6, 182, 212, 0.5);
        color: #ffffff;
        background: rgba(15, 23, 42, 0.9);
    }

.dropdown-chevron[b-xr77fufvbc] {
    width: 10px;
    height: 6px;
    margin-left: auto;
    color: #64748b;
    transition: transform 0.2s ease;
}

    .dropdown-chevron.open[b-xr77fufvbc] {
        transform: rotate(180deg);
    }

.dropdown-dot[b-xr77fufvbc] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-pcard[b-xr77fufvbc] {
    background: #06b6d4;
    box-shadow: 0 0 6px #06b6d4;
}

.dot-nopcard[b-xr77fufvbc] {
    background: #fbbf24;
    box-shadow: 0 0 6px #fbbf24;
}

.mapping-dropdown-menu[b-xr77fufvbc] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 140px;
    background: rgba(17, 28, 48, 0.97);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(107, 114, 128, 0.25);
    border-radius: 0.5rem;
    overflow: hidden;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    animation: dropdownFadeIn-b-xr77fufvbc 0.15s ease;
}

@keyframes dropdownFadeIn-b-xr77fufvbc {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mapping-dropdown-item[b-xr77fufvbc] {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 0.55rem 1rem;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    text-align: left;
}

    .mapping-dropdown-item:hover[b-xr77fufvbc] {
        background: rgba(107, 114, 128, 0.15);
        color: #ffffff;
    }

    .mapping-dropdown-item.selected[b-xr77fufvbc] {
        color: #06b6d4;
        background: rgba(6, 182, 212, 0.08);
    }

button.drag-card-metric-label-btn[b-xr77fufvbc] {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 1px 3px;
    margin: 0 -3px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    line-height: 1;
}

    button.drag-card-metric-label-btn:hover[b-xr77fufvbc] {
        border-color: rgba(6, 182, 212, 0.45);
        background: rgba(6, 182, 212, 0.07);
    }

    button.drag-card-metric-label-btn:active[b-xr77fufvbc] {
        background: rgba(6, 182, 212, 0.13);
    }

button.drag-card-metric-value-btn[b-xr77fufvbc] {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 1px 3px;
    margin: 0 -3px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    line-height: 1;
}

    button.drag-card-metric-value-btn:hover[b-xr77fufvbc] {
        border-color: rgba(6, 182, 212, 0.45);
        background: rgba(6, 182, 212, 0.07);
    }

    button.drag-card-metric-value-btn:active[b-xr77fufvbc] {
        background: rgba(6, 182, 212, 0.13);
    }

/* === 2 TAG LỚN WAIT / WIP === */
.drag-card-metrics-tags[b-xr77fufvbc] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px ;
}

.drag-card-tag-box[b-xr77fufvbc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: background 0.15s;
    text-align: center;
}

/* WAIT — neutral glass */
.drag-card-tag-box--wait[b-xr77fufvbc] {
    background: rgba(255,255,255,0.7);
    border-color: rgba(226,232,240,0.5);
}


/* WIP inactive */
.drag-card-tag-box--wip[b-xr77fufvbc] {
    background: rgba(255,255,255,0.7);
    border-color: rgba(226,232,240,0.5);
}

/* WIP active — xanh nhạt highlight */
.drag-card-tag-box--wip-active[b-xr77fufvbc] {
    background: rgba(0,74,198,0.06);
    border-color: rgba(0,74,198,0.2);
}

.drag-card-tag-box-label[b-xr77fufvbc] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #64748b;
    text-transform: uppercase;
}

.drag-card-tag-box--wip-active .drag-card-tag-box-label[b-xr77fufvbc] {
    color: #004ac6;
}

.drag-card-tag-box-icon[b-xr77fufvbc] {
    font-size: 11px;
}

.drag-card-tag-box-value[b-xr77fufvbc] {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: #191c1e;
    display: flex;
    align-items: center;
    gap: 4px;
}

.drag-card-tag-box--wip-active .drag-card-tag-box-value[b-xr77fufvbc] {
    color: #004ac6;
}

.drag-card-tag-warn[b-xr77fufvbc] {
    font-size: 16px;
    color: #ba1a1a;
}

/* === SECONDARY ROW: DELIVERY + RECENT === */
.drag-card-metrics-secondary[b-xr77fufvbc] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 10px;
}

.drag-card-metric-secondary-btn[b-xr77fufvbc] {
    background: none;
    border-radius:6px;
    border:none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0px 10px 0px 10px;
}

.drag-card-metric-secondary-right[b-xr77fufvbc] {
    display: flex;
    align-items: flex-end;
}

.drag-card-metric-value-lg[b-xr77fufvbc] {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: #191c1e;
    
}

/* Bar chart inline (RECENT) */
.drag-card-bars-inline[b-xr77fufvbc] {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 22px;
    margin-top: 2px;
}

/* === OEE FOOTER ROW === */
.drag-card-oee-row[b-xr77fufvbc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.drag-card-oee-bar-wrap[b-xr77fufvbc] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.drag-card-oee-bar-track[b-xr77fufvbc] {
    width: 48px;
    height: 6px;
    background: #e7e8ea;
    border-radius: 99px;
    overflow: hidden;
}

.drag-card-oee-bar-fill[b-xr77fufvbc] {
    height: 100%;
    background: #004ac6;
    border-radius: 99px;
    transition: width 0.4s ease;
}

.drag-card-oee-label[b-xr77fufvbc] {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.04em;
}

.drag-card-oee-life[b-xr77fufvbc] {
    font-size: 11px;
    font-weight: 500;
    color: #16a34a;
}

.drag-card-oee-alert[b-xr77fufvbc] {
    font-size: 11px;
    font-weight: 600;
    color: #ba1a1a;
}
/* === CARD BACKGROUND STATE === */
.drag-card[b-xr77fufvbc] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

/* ACTIVE — pulse glow xanh lá nhẹ */
.drag-card--active[b-xr77fufvbc] {
    border-color: #bbf7d0;
    animation: card-pulse-active-b-xr77fufvbc 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes card-pulse-active-b-xr77fufvbc {
    0%, 100% {
        background-color: rgba(255, 255, 255, 1);
        box-shadow: 0 0 0 0 rgba(34,197,94,0);
    }

    50% {
        background-color: rgba(240, 253, 244, 1);
        box-shadow: 0 0 8px 2px rgba(34,197,94,0.08);
    }
}

/* IDLE — xám nhạt, không animation */
.drag-card--idle[b-xr77fufvbc] {
    border-color: #e2e8f0;
    background-color: #f8fafc;
    filter: grayscale(0.3);
    opacity: 0.85;
}

/* === BADGE TAG === */
.drag-card-tag[b-xr77fufvbc] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ACTIVE badge — xanh lá */
.drag-card-tag--active[b-xr77fufvbc] {
    background-color: #dcfce7;
    color: #16a34a;
    border-color: #bbf7d0;
}

/* IDLE badge — xám */
.drag-card-tag--idle[b-xr77fufvbc] {
    background-color: #f1f5f9;
    color: #64748b;
    border-color: #e2e8f0;
}

/* Dot */
.drag-card-tag-dot[b-xr77fufvbc] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.drag-card-tag-dot--active[b-xr77fufvbc] {
    background-color: #22c55e;
    animation: dot-pulse-b-xr77fufvbc 1.5s ease-in-out infinite;
}

.drag-card-tag-dot--idle[b-xr77fufvbc] {
    background-color: #94a3b8;
}

@keyframes dot-pulse-b-xr77fufvbc {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.75);
    }
}



.square-object[b-xr77fufvbc] {
    position: absolute;
    min-width: 200px;
    min-height: 130px;
}

.resize-handle[b-xr77fufvbc] {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14px;
    height: 14px;
    cursor: se-resize;
    background: linear-gradient(135deg, transparent 50%, #4ECDC4 50%);
    border-bottom-right-radius: 8px;
    z-index: 10;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.square-object:hover .resize-handle[b-xr77fufvbc] {
    opacity: 1;
}



/* ===== LOG PANEL ===== */
.log-panel[b-xr77fufvbc] {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) scaleY(0.92) translateY(8px);
    width: 16000px;
    max-width: 92vw;
    background: #f8f9fb;
    border-radius: 14px;
    border: 1px solid rgba(196, 198, 215, 0.6);
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform-origin: bottom center;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 500;
}

    .log-panel.open[b-xr77fufvbc] {
        opacity: 1;
        transform: translateX(-50%) scaleY(1) translateY(0);
        pointer-events: auto;
    }

.log-panel-header[b-xr77fufvbc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #e1e2e4;
    background: #f8f9fb;
}

.log-panel-title[b-xr77fufvbc] {
    font-size: 14px;
    font-weight: 700;
    color: #191c1e;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.log-search-wrapper[b-xr77fufvbc] {
    position: relative;
    display: flex;
    align-items: center;
}

.log-search-icon[b-xr77fufvbc] {
    position: absolute;
    left: 8px;
    width: 14px;
    height: 14px;
    pointer-events: none;
    flex-shrink: 0;
}

.log-search-input[b-xr77fufvbc] {
    height: 28px;
    padding: 0 10px 0 28px;
    font-size: 12px;
    border: 1px solid #e1e2e4;
    border-radius: 4px;
    background: #ffffff;
    color: #191c1e;
    outline: none;
    width: 200px;
}

    .log-search-input:focus[b-xr77fufvbc] {
        border-color: #004ac6;
        box-shadow: 0 0 0 2px rgba(0, 74, 198, 0.08);
    }

.log-export-btn[b-xr77fufvbc] {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #004ac6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    text-transform: uppercase;
}

    .log-export-btn:hover[b-xr77fufvbc] {
        text-decoration: underline;
    }

/* Table */
.log-body-scroll[b-xr77fufvbc] {
    height: 220px;
    min-height: 220px;
    overflow-y: auto;
    overflow-x: auto;
}

.log-table-wrap[b-xr77fufvbc] {
    overflow-x: visible;
}

.log-table[b-xr77fufvbc] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

    .log-table thead tr[b-xr77fufvbc] {
        background: #f3f4f6;
    }

    .log-table th[b-xr77fufvbc] {
        padding: 8px 14px;
        font-size: 10px;
        font-weight: 700;
        color: #434655;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        border-bottom: 1px solid #e1e2e4;
        text-align: left;
        white-space: nowrap;
        position: sticky;
        top: 0;
        z-index: 1;
        background: #f3f4f6;
    }

    .log-table td[b-xr77fufvbc] {
        padding: 9px 14px;
        border-bottom: 1px solid #e1e2e4;
        color: #191c1e;
        vertical-align: middle;
    }

    .log-table tbody tr:last-child td[b-xr77fufvbc] {
        border-bottom: none;
    }

    .log-table tbody tr:hover[b-xr77fufvbc] {
        background: #f3f4f6;
    }

    .log-table .text-right[b-xr77fufvbc] {
        text-align: right;
    }

    .log-table .text-center[b-xr77fufvbc] {
        text-align: center;
    }

.log-mono[b-xr77fufvbc] {
    font-family: 'Segoe UI', monospace;
    font-size: 12px;
    font-weight: 500;
}

/* Operator */
.log-operator[b-xr77fufvbc] {
    display: flex;
    align-items: center;
    gap: 7px;
}

.log-avatar[b-xr77fufvbc] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e7e8ea;
    border: 1px solid #c3c6d7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #434655;
    flex-shrink: 0;
}

/* Progress bar */
.log-progress[b-xr77fufvbc] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.log-progress-track[b-xr77fufvbc] {
    width: 72px;
    height: 5px;
    background: #e7e8ea;
    border-radius: 99px;
    overflow: hidden;
}

.log-progress-fill[b-xr77fufvbc] {
    height: 100%;
    border-radius: 99px;
    transition: width 0.4s ease;
}

.log-progress-fill--progress[b-xr77fufvbc] {
    background: #004ac6;
}

.log-progress-fill--done[b-xr77fufvbc] {
    background: #22c55e;
}

.log-progress-fill--queued[b-xr77fufvbc] {
    background: #94a3b8;
}

/* Status badge */
.log-badge[b-xr77fufvbc] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.log-badge--progress[b-xr77fufvbc] {
    background: rgba(0,74,198,0.1);
    color: #004ac6;
}

.log-badge--done[b-xr77fufvbc] {
    background: #dcfce7;
    color: #16a34a;
}

.log-badge--queued[b-xr77fufvbc] {
    background: #e7e8ea;
    color: #434655;
    border: 1px solid #c3c6d7;
}

/* Toggle button */
.log-toggle-btn[b-xr77fufvbc] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

    .log-toggle-btn:hover[b-xr77fufvbc] {
        background: rgba(107,114,128,0.2);
        color: #06b6d4;
    }

    .log-toggle-btn.active[b-xr77fufvbc] {
        color: #06b6d4;
    }

.log-toggle-dot[b-xr77fufvbc] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #64748b;
    flex-shrink: 0;
    transition: background 0.2s;
}

.log-toggle-btn.active .log-toggle-dot[b-xr77fufvbc] {
    background: #06b6d4;
    box-shadow: 0 0 5px rgba(6, 182, 212, 0.5);
    animation: dot-pulse-b-xr77fufvbc 1.5s ease-in-out infinite;
}
.drag-card-tag-box--wait:hover[b-xr77fufvbc] {
    background-color: #f5f5f5 !important;
    border: 1px solid #919191 !important;
}
.drag-card-tag-box--wip:hover[b-xr77fufvbc] {
    background-color: #f5f5f5 !important;
    border: 1px solid #919191 !important;
}
.drag-card-tag-box--wip-active:hover[b-xr77fufvbc] {
    background-color: #f5f5f5 !important;
    border: 1px solid #004ac6 !important;
}
.drag-card-metric-secondary-btn:hover[b-xr77fufvbc] {
    background-color: #f5f5f5 !important;
    border: 1px solid #919191 !important;
}

.log-section-label[b-xr77fufvbc] {
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #434655;
    background: #eef0f3;
    border-top: 1px solid #e1e2e4;
    border-bottom: 1px solid #e1e2e4;
}

.log-mode-btn[b-xr77fufvbc] {
    background: transparent;
    border: 1px solid rgba(107, 114, 128, 0.3);
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.15s;
}

    .log-mode-btn.active[b-xr77fufvbc] {
        background: rgba(6, 182, 212, 0.1);
        border-color: rgba(6, 182, 212, 0.4);
        color: #06b6d4;
    }

    .log-mode-btn:hover[b-xr77fufvbc] {
        border-color: rgba(6, 182, 212, 0.4);
        color: #ffffff;
    }


.drag-card-header[b-xr77fufvbc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    gap: 8px;
}

.drag-card-title-block[b-xr77fufvbc] {
    flex: 1;
}

.drag-card-header-actions[b-xr77fufvbc] {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.camera-btn-header[b-xr77fufvbc] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

    .camera-btn-header:hover[b-xr77fufvbc] {
        background-color: rgba(59, 130, 246, 0.1);
        transform: scale(1.1);
    }

    .camera-btn-header:active[b-xr77fufvbc] {
        transform: scale(0.95);
    }

.camera-icon-header[b-xr77fufvbc] {
    display: inline-block;
    line-height: 1;
}

.modal-content[b-xr77fufvbc] {
    max-width: 1000px !important;
}
.template-dropdown-section-label[b-xr77fufvbc] {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    padding: 6px 12px 2px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.template-row[b-xr77fufvbc] {
    display: flex;
    align-items: center;
    padding: 0 !important;
}

.template-name-btn[b-xr77fufvbc] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: inherit;
    font-size: 13px;
    text-align: left;
}

.template-delete-btn[b-xr77fufvbc] {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 4px;
    transition: color .15s, background .15s;
}

    .template-delete-btn:hover[b-xr77fufvbc] {
        color: #ef4444;
        background: #fef2f2;
    }

.template-dropdown-divider[b-xr77fufvbc] {
    border-top: 1px solid #1e293b;
    margin: 4px 0;
}

.template-create-row[b-xr77fufvbc] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
}

.template-input[b-xr77fufvbc] {
    flex: 1;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #e2e8f0;
    font-size: 12px;
    padding: 5px 8px;
    outline: none;
    min-width: 0;
}

    .template-input:focus[b-xr77fufvbc] {
        border-color: #3b82f6;
    }

.template-create-btn[b-xr77fufvbc] {
    background: #1d4ed8;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
}

    .template-create-btn:hover:not(:disabled)[b-xr77fufvbc] {
        background: #2563eb;
    }

    .template-create-btn:disabled[b-xr77fufvbc] {
        opacity: .4;
        cursor: not-allowed;
    }

/* Confirm modal */
.mapping-confirm-overlay[b-xr77fufvbc] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mapping-confirm-box[b-xr77fufvbc] {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 28px 32px;
    min-width: 320px;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.mapping-confirm-title[b-xr77fufvbc] {
    font-size: 15px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 10px;
}

.mapping-confirm-msg[b-xr77fufvbc] {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 22px;
    line-height: 1.5;
}

.mapping-confirm-actions[b-xr77fufvbc] {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-danger[b-xr77fufvbc] {
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 16px;
    cursor: pointer;
    font-size: 13px;
}

    .btn-danger:hover[b-xr77fufvbc] {
        background: #b91c1c;
    }
/* /Components/Pages/MRP/AiMrpWorkbench.razor.rz.scp.css */
/* ═══════════════════════════════════════════════
   MWB – MRP Workbench
   Scoped styles (no Tailwind)
═══════════════════════════════════════════════ */

.mwb-page[b-kk2koolxvs] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.25rem;
    background: #f4f6fb;
    height: calc(100vh - 3rem);
    overflow: hidden;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    color: #131b2e;
    box-sizing: border-box;
}

.material-symbols-outlined[b-kk2koolxvs] {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 1.1rem;
    line-height: 1;
    vertical-align: middle;
}

/* ── Header ─────────────────────────────────── */
.mwb-title[b-kk2koolxvs] {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.mwb-subtitle[b-kk2koolxvs] {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0.2rem 0 0;
}

.mwb-search[b-kk2koolxvs] {
    position: relative;
    display: flex;
    align-items: center;
}

.mwb-search .material-symbols-outlined[b-kk2koolxvs] {
    position: absolute;
    left: 0.5rem;
    color: #64748b;
    font-size: 1rem;
}

.mwb-search input[b-kk2koolxvs] {
    width: 11rem;
    box-sizing: border-box;
    padding: 0.4rem 0.6rem 0.4rem 1.9rem;
    font-size: 0.8rem;
    border: 1px solid #dde3ef;
    border-radius: 0.5rem;
    outline: none;
    font-family: inherit;
}

.mwb-search input:focus[b-kk2koolxvs] {
    border-color: #004ac6;
}

.mwb-icon-btn-outline[b-kk2koolxvs] {
    background: #fff;
    border: 1px solid #dde3ef;
    color: #64748b;
    padding: 0.4rem 0.6rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-family: inherit;
}

.mwb-icon-btn-outline:hover[b-kk2koolxvs] {
    background: #f4f6fb;
}

.mwb-icon-btn-outline--active[b-kk2koolxvs] {
    background: rgba(0, 74, 198, 0.08);
    border-color: #004ac6;
    color: #004ac6;
}

.mwb-icon-btn-outline--active:hover[b-kk2koolxvs] {
    background: rgba(0, 74, 198, 0.12);
}

.mwb-selected-badge[b-kk2koolxvs] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    background: rgba(0, 74, 198, 0.08);
    border-radius: 999px;
    color: #004ac6;
    font-size: 0.78rem;
    font-weight: 600;
}

.mwb-divider[b-kk2koolxvs] {
    width: 1px;
    height: 1.4rem;
    background: #e2e7f0;
}

.mwb-toolbar-actions[b-kk2koolxvs] {
    display: flex;
    gap: 0.4rem;
}

.mwb-link-btn[b-kk2koolxvs] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: none;
    border: none;
    color: #004ac6;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.7rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.12s;
    font-family: inherit;
}

.mwb-link-btn:hover[b-kk2koolxvs] {
    background: rgba(0, 74, 198, 0.06);
}

/* ── Panels ─────────────────────────────────── */
.mwb-panel[b-kk2koolxvs] {
    background: #fff;
    border: 1px solid #e2e7f0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mwb-panel--upper[b-kk2koolxvs] {
    flex: 1;
    min-height: 16rem;
}

.mwb-panel--lower[b-kk2koolxvs] {
    flex: 1;
    min-height: 12rem;
}

.mwb-section-hidden[b-kk2koolxvs] {
    display: none !important;
}

.mwb-vertical-resize-handle[b-kk2koolxvs] {
    flex-shrink: 0;
    height: 0.5rem;
    margin: -0.25rem 0;
    cursor: row-resize;
    position: relative;
    z-index: 4;
}

.mwb-vertical-resize-handle[b-kk2koolxvs]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 3px;
    background: #b7c6ea;
    border-radius: 999px;
    transform: translateY(-50%);
}

.mwb-vertical-resize-handle:hover[b-kk2koolxvs]::after {
    background: #004ac6;
    height: 4px;
}

.mwb-panel-header[b-kk2koolxvs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: #f8faff;
    border-bottom: 1px solid #e2e7f0;
    flex-shrink: 0;
}

.mwb-panel-header h3[b-kk2koolxvs] {
    margin: 0;
    font-size: 0.9rem;
    color: #004ac6;
}

.mwb-panel-title-block[b-kk2koolxvs] {
    display: flex;
    flex-direction: column;
}

.mwb-panel-header-actions[b-kk2koolxvs] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.mwb-flow-item[b-kk2koolxvs] {
    font-weight: 700;
    color: #131b2e;
}

/* ── Lower section split ────────────────────── */
.mwb-lower-split[b-kk2koolxvs] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.mwb-lower-pane[b-kk2koolxvs] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.mwb-lower-pane-label[b-kk2koolxvs] {
    padding: 0.4rem 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    background: #f8faff;
    border-bottom: 1px solid #e2e7f0;
    flex-shrink: 0;
}

.mwb-lower-resize-handle[b-kk2koolxvs] {
    width: 6px;
    flex-shrink: 0;
    cursor: col-resize;
    position: relative;
}

.mwb-lower-resize-handle[b-kk2koolxvs]::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #b7c6ea;
    border-radius: 999px;
    transform: translateX(-50%);
}

.mwb-lower-resize-handle:hover[b-kk2koolxvs]::after {
    background: #004ac6;
    width: 3px;
}

.mwb-table-scroll[b-kk2koolxvs] {
    flex: 1;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #c4cee3 transparent;
}

.mwb-table-scroll[b-kk2koolxvs]::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.mwb-table-scroll[b-kk2koolxvs]::-webkit-scrollbar-track {
    background: transparent;
}

.mwb-table-scroll[b-kk2koolxvs]::-webkit-scrollbar-thumb {
    background-color: #c4cee3;
    border-radius: 999px;
    border: 2px solid #fff;
    background-clip: padding-box;
}

.mwb-table-scroll[b-kk2koolxvs]::-webkit-scrollbar-thumb:hover {
    background-color: #8fa3d1;
}

.mwb-table-scroll[b-kk2koolxvs]::-webkit-scrollbar-corner {
    background: transparent;
}

/* ── Tables ─────────────────────────────────── */
.mwb-table[b-kk2koolxvs] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.82rem;
}

.mwb-table thead th[b-kk2koolxvs] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #eaedff;
    color: #434655;
    font-weight: 600;
    font-size: 0.72rem;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid #e2e7f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mwb-th-check[b-kk2koolxvs] {
    width: 2.5rem;
}

.mwb-th-qty[b-kk2koolxvs] {
    background: #004ac6 !important;
    color: #fff !important;
    border-bottom: 1px solid #004ac6 !important;
}

.mwb-td-qty[b-kk2koolxvs] {
    background: #eef4ff;
    border-left: 2px solid #b7c6ea;
    border-right: 2px solid #b7c6ea;
}

.mwb-qty-input[b-kk2koolxvs] {
    width: 100%;
    box-sizing: border-box;
    height: 1.3rem;
    padding: 0 0.6rem;
    border: 2px solid #004ac6;
    border-radius: 0.375rem;
    background: #fff;
    text-align: right;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    color: #004ac6;
    box-shadow: 0 1px 3px rgba(0, 74, 198, 0.25);
}

.mwb-qty-input:focus[b-kk2koolxvs] {
    border-color: #002f7d;
    box-shadow: 0 0 0 3px rgba(0, 74, 198, 0.25);
    outline: none;
}

.mwb-col-resize-handle[b-kk2koolxvs] {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    cursor: col-resize;
    z-index: 3;
}

.mwb-col-resize-handle[b-kk2koolxvs]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 16px;
    transform: translate(-50%, -50%);
    border-radius: 1px;
    background: #dde3ef;
    opacity: 0.7;
}

.mwb-col-resize-handle:hover[b-kk2koolxvs] {
    background: rgba(0, 74, 198, 0.1);
}

.mwb-col-resize-handle:hover[b-kk2koolxvs]::after {
    background: #004ac6;
    opacity: 1;
}

.mwb-table tbody td[b-kk2koolxvs] {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid rgba(226, 231, 240, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000;
}

/* MRP Detail rows the balance does not count (closed / cancelled documents, purchase requests): amber, italic */
.mwb-table tbody tr.mwb-row-notcounted td[b-kk2koolxvs] {
    background: #fff4e0;
    color: #8a6d3b;
    font-style: italic;
}

.mwb-cell-icon[b-kk2koolxvs] {
    height: 1.1rem;
}

.mwb-empty[b-kk2koolxvs] {
    text-align: center;
    color: #64748b;
    font-style: italic;
    padding: 1.5rem !important;
}

.mwb-row[b-kk2koolxvs] {
    cursor: pointer;
    transition: background 0.12s;
}

.mwb-row:hover[b-kk2koolxvs] {
    background: #f8faff;
}

.mwb-row--focused[b-kk2koolxvs] {
    background: rgba(37, 99, 235, 0.06);
    outline: 2px solid #004ac6;
    outline-offset: -2px;
    position: relative;
    z-index: 1;
}

/* ── Panel footer ───────────────────────────── */
.mwb-panel-footer[b-kk2koolxvs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: #f8faff;
    border-top: 1px solid #e2e7f0;
    font-size: 0.72rem;
    color: #64748b;
    flex-shrink: 0;
}

.mwb-loading-more[b-kk2koolxvs] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #004ac6;
    font-weight: 600;
}

/* ── AI-MRP additions ───────────────────────── */
.mwb-ai-banner[b-kk2koolxvs] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.9rem;
    background: #fff7e6;
    border: 1px solid #f5c26b;
    border-radius: 0.5rem;
    color: #7a4b00;
    font-weight: 600;
}

.mwb-ai-banner--info[b-kk2koolxvs] {
    background: #f5f0ff;
    border-color: #c4b5fd;
    color: #5b21b6;
}

.mwb-ai-banner-text[b-kk2koolxvs] {
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
}

/* ── AI-MRP: calculated inflow / outflow / balance and the plan ───────── */
.mwb-th-calc[b-kk2koolxvs] {
    width: 6.5rem;
    background: #0f766e !important;
    color: #fff !important;
    border-bottom: 1px solid #0f766e !important;
}

.mwb-td-calc[b-kk2koolxvs] {
    text-align: right;
    white-space: nowrap;
    background: #f0fdfa;
}

.mwb-strong[b-kk2koolxvs] {
    font-weight: 700;
}

.mwb-neg[b-kk2koolxvs],
.mwb-table tbody td.mwb-neg[b-kk2koolxvs] {
    color: #dc2626;
    font-weight: 700;
}

.mwb-pos[b-kk2koolxvs],
.mwb-table tbody td.mwb-pos[b-kk2koolxvs] {
    color: #16a34a;
    font-weight: 700;
}

/* shown while the KW columns hold the AI plan instead of BEAS's numbers */
.mwb-ai-hint[b-kk2koolxvs] {
    color: #6d28d9;
    font-weight: 600;
}

/* the page's own CW columns: a plan quantity is clickable (purple) until its document is created (green) */
.mwb-th-cw[b-kk2koolxvs] {
    width: 5.5rem;
    background: #6d28d9 !important;
    color: #fff !important;
    border-bottom: 1px solid #6d28d9 !important;
    text-align: right;
}

/* spinner shown in the quantity cell of the rows the AI is calculating */
.mwb-row-spin[b-kk2koolxvs] {
    font-size: 1.1rem;
    color: #6d28d9;
    animation: mwb-row-spin-b-kk2koolxvs 1s linear infinite;
}

@keyframes mwb-row-spin-b-kk2koolxvs {
    to { transform: rotate(360deg); }
}

.mwb-table tbody td.mwb-cw-empty[b-kk2koolxvs] {
    background: #faf8ff;
}

.mwb-table tbody td.mwb-cw-plan[b-kk2koolxvs] {
    background: #f5f0ff;
    color: #5b21b6;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px #c4b5fd;
}

.mwb-table tbody td.mwb-cw-plan:hover[b-kk2koolxvs] {
    background: #ede9fe;
}

.mwb-table tbody td.mwb-cw-created[b-kk2koolxvs] {
    background: #ecfdf5;
    color: #15803d;
    font-weight: 700;
    text-align: right;
    box-shadow: inset 0 0 0 1px #86efac;
}

/* quantity input with the "why this plan" button beside it */
.mwb-qty-cell[b-kk2koolxvs] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.mwb-qty-cell .mwb-qty-input[b-kk2koolxvs] {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.mwb-reason-btn[b-kk2koolxvs] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.4rem;
    height: 1.4rem;
    padding: 0;
    border: 1px solid #c4b5fd;
    border-radius: 50%;
    background: #f5f0ff;
    color: #6d28d9;
    cursor: pointer;
}

.mwb-reason-btn:hover[b-kk2koolxvs] {
    background: #ede9fe;
}

.mwb-reason-btn .material-symbols-outlined[b-kk2koolxvs] {
    font-size: 1rem;
}

/* the full reason panel */
.mwb-reason-panel[b-kk2koolxvs] {
    width: min(36rem, 96vw);
}

.mwb-reason-summary[b-kk2koolxvs] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    color: #334155;
}

.mwb-reason-text[b-kk2koolxvs] {
    max-height: 16rem;
    overflow: auto;
    margin-bottom: 0.75rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid #ddd6fe;
    border-radius: 0.5rem;
    background: #faf8ff;
    color: #1e293b;
    font-size: 0.9rem;
    line-height: 1.45;
    white-space: pre-wrap;
}

/* a created cell that knows its document opens it on click */
.mwb-table tbody td.mwb-cw-link[b-kk2koolxvs] {
    cursor: pointer;
}

.mwb-table tbody td.mwb-cw-link:hover[b-kk2koolxvs] {
    background: #d1fae5;
}

.mwb-cw-backdrop[b-kk2koolxvs] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
}

.mwb-cw-panel[b-kk2koolxvs] {
    width: min(24rem, 94vw);
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
}

.mwb-cw-title[b-kk2koolxvs] {
    font-size: 1.1rem;
    font-weight: 700;
}

.mwb-cw-help[b-kk2koolxvs] {
    margin: 0.3rem 0 0.75rem;
    color: #64748b;
    font-size: 0.8rem;
}

.mwb-cw-row[b-kk2koolxvs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.mwb-cw-row .mwb-qty-input[b-kk2koolxvs] {
    width: 6rem;
}

/* Calculate settings: the deadline per item */
.mwb-calc-panel[b-kk2koolxvs] {
    width: min(38rem, 96vw);
}

.mwb-calc-panel .mwb-cw-row .mwb-date-input[b-kk2koolxvs] {
    width: 9.5rem;
}

.mwb-calc-list[b-kk2koolxvs] {
    max-height: 22rem;
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.mwb-calc-table[b-kk2koolxvs] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.mwb-calc-table th[b-kk2koolxvs] {
    position: sticky;
    top: 0;
    padding: 0.4rem 0.6rem;
    background: #f1f5f9;
    text-align: left;
}

.mwb-calc-table td[b-kk2koolxvs] {
    padding: 0.3rem 0.6rem;
    border-top: 1px solid #eef2f7;
}

.mwb-calc-table .mwb-date-input[b-kk2koolxvs] {
    width: 9.5rem;
}

.mwb-calc-num[b-kk2koolxvs] {
    text-align: right;
}

.mwb-cw-actions[b-kk2koolxvs] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
/* /Components/Pages/MRP/MrpScenarioList.razor.rz.scp.css */
/* ═══════════════════════════════════════════════
   MSL – MRP Scenario List
   Scoped styles (no Tailwind)
═══════════════════════════════════════════════ */

.msl-page[b-9dsiros99g] {
    padding: 1.5rem;
    background: #f4f6fb;
    min-height: calc(100vh - 3rem);
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    color: #131b2e;
    box-sizing: border-box;
}

.material-symbols-outlined[b-9dsiros99g] {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 1.1rem;
    line-height: 1;
    vertical-align: middle;
}

/* ── Header ─────────────────────────────────── */
.msl-header[b-9dsiros99g] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.msl-title[b-9dsiros99g] {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.4rem;
    color: #131b2e;
}

.msl-subtitle[b-9dsiros99g] {
    font-size: 0.9rem;
    color: #64748b;
    max-width: 42rem;
    margin: 0;
}

.msl-header-actions[b-9dsiros99g] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.msl-search[b-9dsiros99g] {
    position: relative;
}

.msl-search-icon[b-9dsiros99g] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
    pointer-events: none;
}

.msl-search-input[b-9dsiros99g] {
    width: 16rem;
    box-sizing: border-box;
    padding: 0.5rem 0.75rem 0.5rem 2.25rem;
    font-size: 0.84rem;
    border: 1px solid #dde3ef;
    border-radius: 0.5rem;
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.msl-search-input:focus[b-9dsiros99g] {
    border-color: #004ac6;
    box-shadow: 0 0 0 2px rgba(0, 74, 198, 0.15);
}

.msl-btn[b-9dsiros99g] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: 0.84rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.15s;
}

.msl-btn--outline[b-9dsiros99g] {
    background: #fff;
    border: 1px solid #dde3ef;
    color: #131b2e;
}

.msl-btn--outline:hover[b-9dsiros99g] {
    background: #f4f6fb;
}

/* ── Table card ─────────────────────────────── */
.msl-card[b-9dsiros99g] {
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid #e2e7f0;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    overflow: hidden;
}

.msl-table-scroll[b-9dsiros99g] {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #c4cee3 transparent;
}

.msl-table-scroll[b-9dsiros99g]::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.msl-table-scroll[b-9dsiros99g]::-webkit-scrollbar-track {
    background: transparent;
}

.msl-table-scroll[b-9dsiros99g]::-webkit-scrollbar-thumb {
    background-color: #c4cee3;
    border-radius: 999px;
    border: 2px solid #fff;
    background-clip: padding-box;
}

.msl-table-scroll[b-9dsiros99g]::-webkit-scrollbar-thumb:hover {
    background-color: #8fa3d1;
}

.msl-table-scroll[b-9dsiros99g]::-webkit-scrollbar-corner {
    background: transparent;
}

.msl-table[b-9dsiros99g] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.msl-table thead tr[b-9dsiros99g] {
    background: rgba(0, 74, 198, 0.05);
    border-bottom: 2px solid rgba(0, 74, 198, 0.25);
}

.msl-table th[b-9dsiros99g] {
    position: relative;
    padding: 1rem 1.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #004ac6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msl-table-actions-head[b-9dsiros99g] {
    text-align: right;
}

.msl-col-resize-handle[b-9dsiros99g] {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    cursor: col-resize;
    z-index: 2;
}

.msl-col-resize-handle[b-9dsiros99g]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 16px;
    transform: translate(-50%, -50%);
    border-radius: 1px;
    background: #dde3ef;
    opacity: 0.7;
}

.msl-col-resize-handle:hover[b-9dsiros99g] {
    background: rgba(0, 74, 198, 0.1);
}

.msl-col-resize-handle:hover[b-9dsiros99g]::after {
    background: #004ac6;
    opacity: 1;
}

.msl-row[b-9dsiros99g] {
    border-bottom: 1px solid #eef1f7;
    cursor: pointer;
    transition: background 0.12s;
}

.msl-row:last-child[b-9dsiros99g] {
    border-bottom: none;
}

.msl-row:hover[b-9dsiros99g] {
    background: #f8faff;
}

.msl-row--selected[b-9dsiros99g] {
    background: rgba(37, 99, 235, 0.06);
}

.msl-table td[b-9dsiros99g] {
    padding: 0.75rem 1.5rem;
    font-size: 0.86rem;
    vertical-align: middle;
}

.msl-cell-icon[b-9dsiros99g] {
    height: 20px;
    width: auto;
    vertical-align: middle;
}

/* ── Row actions ────────────────────────────── */
.msl-cell-actions[b-9dsiros99g] {
    text-align: right;
}

.msl-actions[b-9dsiros99g] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.msl-icon-btn[b-9dsiros99g] {
    background: none;
    border: none;
    padding: 0.4rem;
    border-radius: 0.375rem;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s, color 0.12s;
}

.msl-icon-btn:hover:not(:disabled)[b-9dsiros99g] {
    background: rgba(37, 99, 235, 0.08);
    color: #004ac6;
}

.msl-icon-btn:disabled[b-9dsiros99g] {
    opacity: 0.3;
    cursor: not-allowed;
}

.msl-icon-btn--edit[b-9dsiros99g] {
    color: #004ac6;
}

.msl-icon-btn--edit:hover:not(:disabled)[b-9dsiros99g] {
    background: rgba(0, 74, 198, 0.1);
}

.msl-icon-btn--run[b-9dsiros99g] {
    color: #16a34a;
}

.msl-icon-btn--run:hover:not(:disabled)[b-9dsiros99g] {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
}

.msl-icon-btn--view[b-9dsiros99g] {
    color: #7c3aed;
}

.msl-icon-btn--view:hover:not(:disabled)[b-9dsiros99g] {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.msl-icon-btn--copy[b-9dsiros99g] {
    color: #d97706;
}

.msl-icon-btn--copy:hover:not(:disabled)[b-9dsiros99g] {
    background: rgba(217, 119, 6, 0.1);
    color: #d97706;
}

.msl-icon-btn--danger[b-9dsiros99g] {
    color: #ba1a1a;
}

.msl-icon-btn--danger:hover:not(:disabled)[b-9dsiros99g] {
    background: rgba(186, 26, 26, 0.1);
    color: #ba1a1a;
}

/* ── Empty state ────────────────────────────── */
.msl-empty[b-9dsiros99g] {
    text-align: center;
    padding: 2rem;
    color: #94a3b8;
    font-size: 0.86rem;
}

/* ── Footer / pagination ────────────────────── */
.msl-footer[b-9dsiros99g] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #fff;
    border-top: 1px solid #e2e7f0;
}

.msl-footer-count[b-9dsiros99g] {
    font-size: 0.72rem;
    color: #64748b;
    margin: 0;
}

.msl-pagination[b-9dsiros99g] {
    display: flex;
    gap: 0.4rem;
}

.msl-page-btn[b-9dsiros99g] {
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dde3ef;
    border-radius: 0.375rem;
    background: #fff;
    font-size: 0.78rem;
    color: #131b2e;
    cursor: pointer;
    transition: background 0.12s;
}

.msl-page-btn:hover:not(:disabled)[b-9dsiros99g] {
    background: #f4f6fb;
}

.msl-page-btn:disabled[b-9dsiros99g] {
    opacity: 0.3;
    cursor: not-allowed;
}

.msl-page-btn--active[b-9dsiros99g] {
    background: #004ac6;
    border-color: #004ac6;
    color: #fff;
}
/* /Components/Pages/MRP/MrpScenarioSetting.razor.rz.scp.css */
/* ═══════════════════════════════════════════════
   MSS – MRP Scenario Setting
   Scoped styles (no Tailwind)
═══════════════════════════════════════════════ */

.mss-page[b-avx7mlx2z8] {
    padding: 1.5rem;
    background: #f4f6fb;
    height: calc(100vh - 3rem);
    overflow-y: auto;
    overflow-x: hidden;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    color: #131b2e;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #c4cee3 transparent;
}

.mss-page[b-avx7mlx2z8]::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.mss-page[b-avx7mlx2z8]::-webkit-scrollbar-track {
    background: transparent;
}

.mss-page[b-avx7mlx2z8]::-webkit-scrollbar-thumb {
    background-color: #c4cee3;
    border-radius: 999px;
    border: 2px solid #f4f6fb;
    background-clip: padding-box;
}

.mss-page[b-avx7mlx2z8]::-webkit-scrollbar-thumb:hover {
    background-color: #8fa3d1;
}

.mss-page[b-avx7mlx2z8]::-webkit-scrollbar-corner {
    background: transparent;
}

.material-symbols-outlined[b-avx7mlx2z8] {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 1.1rem;
    line-height: 1;
    vertical-align: middle;
}

/* ── Header ─────────────────────────────────── */
.mss-header[b-avx7mlx2z8] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.mss-title[b-avx7mlx2z8] {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.4rem;
}

.mss-subtitle[b-avx7mlx2z8] {
    font-size: 0.86rem;
    color: #64748b;
    margin: 0;
}

.mss-header-actions[b-avx7mlx2z8] {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}

.mss-btn[b-avx7mlx2z8] {
    padding: 0.5rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: opacity 0.15s, background 0.15s;
}

.mss-btn--outline[b-avx7mlx2z8] {
    background: #fff;
    border: 1px solid #004ac6;
    color: #004ac6;
}

.mss-btn--outline:hover[b-avx7mlx2z8] {
    background: rgba(0, 74, 198, 0.06);
}

.mss-btn--primary[b-avx7mlx2z8] {
    background: #004ac6;
    border: 1px solid #004ac6;
    color: #fff;
}

.mss-btn--primary:hover[b-avx7mlx2z8] {
    opacity: 0.9;
}

/* ── Tabs ───────────────────────────────────── */
.mss-tabs[b-avx7mlx2z8] {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid #e2e7f0;
    margin-bottom: 1.25rem;
}

.mss-tab[b-avx7mlx2z8] {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.6rem 1rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}

.mss-tab:hover[b-avx7mlx2z8] {
    color: #004ac6;
}

.mss-tab--active[b-avx7mlx2z8] {
    color: #004ac6;
    border-bottom-color: #004ac6;
}

.mss-tab-placeholder[b-avx7mlx2z8] {
    text-align: center;
    color: #64748b;
}

/* ── Scheduling tab wizard layout (label left, control right) ── */
.mss-wizard[b-avx7mlx2z8] {
    padding: 1.25rem 1.5rem;
}

.mss-wizard-row[b-avx7mlx2z8] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.3rem 0;
    /* Keeps checkbox rows (Active, Repeat On) the same height as the text/time-input rows
       above and below them -- without this, rows shrink to their content's height and the
       label column reads as a ragged staircase instead of an aligned block. */
    min-height: 2.25rem;
}

/* Bare checkbox inputs default to a browser UA margin (e.g. Chrome's 3px/4px), which offsets
   them a few px right of where .mss-input's flush left edge starts -- reset it so the Active
   checkbox lines up with the Description/From Time inputs above and below it. */
.mss-wizard-checkbox[b-avx7mlx2z8] {
    margin: 0;
    width: 1.05rem;
    height: 1.05rem;
    accent-color: #004ac6;
    cursor: pointer;
}

.mss-wizard-row-label[b-avx7mlx2z8] {
    flex: 0 0 180px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #1e3a5f;
}

.mss-wizard-row-control[b-avx7mlx2z8] {
    flex: 1;
    min-width: 0;
}

.mss-wizard-row--pair .mss-wizard-row-control[b-avx7mlx2z8] {
    flex: 1;
}

/* The gap between label and control must stay 1rem (same as single-field rows) so every row's
   first control lines up on the same left edge; the second label just gets its own left margin
   for breathing room instead of widening the row's shared gap. */
.mss-wizard-row--pair .mss-wizard-row-label:not(:first-child)[b-avx7mlx2z8] {
    margin-left: 0.5rem;
}

.mss-wizard-gap[b-avx7mlx2z8] {
    height: 1rem;
}

.mss-wizard-section-label[b-avx7mlx2z8] {
    font-size: 0.86rem;
    font-weight: 700;
    color: #131b2e;
    margin: 0 0 0.5rem;
}

/* ── Cards ──────────────────────────────────── */
.mss-card[b-avx7mlx2z8] {
    background: #fff;
    border: 1px solid #e2e7f0;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.mss-card-title[b-avx7mlx2z8] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--mss-accent, #64748b);
    font-weight: 600;
    margin-bottom: 1rem;
}

.mss-card-title > .material-symbols-outlined[b-avx7mlx2z8] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    background: var(--mss-accent-bg, rgba(100, 116, 139, 0.1));
    font-size: 1.15rem;
}

.mss-card-title h3[b-avx7mlx2z8] {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
    color: #131b2e;
}

.mss-card-title--bordered[b-avx7mlx2z8] {
    background: var(--mss-accent-bg, rgba(100, 116, 139, 0.06));
    border: 1px solid var(--mss-accent-border, rgba(100, 116, 139, 0.15));
    border-radius: 0.5rem;
    padding: 0.6rem 0.9rem;
    margin: -0.25rem -0.25rem 1.5rem;
    transition: background 0.15s, box-shadow 0.15s;
}

.mss-card-title--collapsible[b-avx7mlx2z8] {
    cursor: pointer;
    user-select: none;
}

.mss-card-title--collapsible:hover[b-avx7mlx2z8] {
    background: var(--mss-accent-hover, rgba(100, 116, 139, 0.1));
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.mss-card-title > .mss-card-toggle-icon[b-avx7mlx2z8] {
    margin-left: auto;
    color: var(--mss-accent, #64748b);
    background: transparent;
    width: auto;
    height: auto;
}

.mss-card--nested[b-avx7mlx2z8] {
    background: #fafbfd;
    border-left: 3px solid #dde3ef;
    box-shadow: none;
    margin-bottom: 0;
}

.mss-card-children[b-avx7mlx2z8] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.1rem;
    margin-top: 1rem;
}

/* ── Grid helpers ───────────────────────────── */
.mss-grid-12[b-avx7mlx2z8] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.mss-col-4[b-avx7mlx2z8] { grid-column: span 4; }
.mss-col-8[b-avx7mlx2z8] { grid-column: span 8; }

/* ── Compact field list (one field per line, for checkbox-heavy sub-sections) ── */
.mss-field-list[b-avx7mlx2z8] {
    display: flex;
    flex-direction: column;
}

.mss-field-row[b-avx7mlx2z8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0.5rem;
    margin: 0 -0.5rem;
    border-bottom: 1px solid #eef1f6;
    border-radius: 0.25rem;
    transition: background 0.15s;
}

.mss-field-row:last-child[b-avx7mlx2z8] {
    border-bottom: none;
}

.mss-field-row:hover[b-avx7mlx2z8] {
    background: #f8fafc;
}

.mss-field-row .mss-label[b-avx7mlx2z8] {
    margin-bottom: 0;
    flex: 1;
}

.mss-field-row .mss-input[b-avx7mlx2z8] {
    width: auto;
    min-width: 8rem;
}

/* ── Form fields ────────────────────────────── */
.mss-label[b-avx7mlx2z8] {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #64748b;
    margin-bottom: 0.4rem;
}

.mss-input[b-avx7mlx2z8] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0.6rem;
    font-size: 0.86rem;
    font-family: inherit;
    border: 1px solid #dde3ef;
    border-radius: 0.375rem;
    background: #fff;
    color: #131b2e;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    resize: vertical;
}

.mss-input:focus[b-avx7mlx2z8] {
    border-color: #004ac6;
    box-shadow: 0 0 0 2px rgba(0, 74, 198, 0.12);
}

.mss-input:read-only[b-avx7mlx2z8] {
    background: #f4f6fb;
    cursor: not-allowed;
}

/* ── Lookup fields (click to pick from a popup) ── */
.mss-lookup-group[b-avx7mlx2z8] {
    display: flex;
    align-items: stretch;
}

.mss-lookup-group .mss-input[b-avx7mlx2z8] {
    flex: 1;
    border-radius: 0.375rem 0 0 0.375rem;
    cursor: pointer;
}

.mss-lookup-btn[b-avx7mlx2z8] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #dde3ef;
    border-left: none;
    border-radius: 0 0.375rem 0.375rem 0;
    background: #f4f6fb;
    padding: 0 0.6rem;
    cursor: pointer;
}

.mss-lookup-btn .material-symbols-outlined[b-avx7mlx2z8] {
    font-size: 1.1rem;
    color: #64748b;
}

.mss-lookup-btn:hover[b-avx7mlx2z8] {
    background: #e2e7f0;
}

/* ── Warehouse tab table ────────────────────── */
.mss-card--table[b-avx7mlx2z8] {
    padding: 0;
    overflow: hidden;
}

.mss-table-toolbar[b-avx7mlx2z8] {
    display: flex;
    justify-content: flex-end;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid #e2e7f0;
}

.mss-table-wrap[b-avx7mlx2z8] {
    max-height: 70vh;
    overflow: auto;
}

.mss-table[b-avx7mlx2z8] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.mss-table th[b-avx7mlx2z8] {
    position: sticky;
    top: 0;
    background: #eaedff;
    text-align: left;
    padding: 0.6rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #434655;
    border-bottom: 1px solid #e2e7f0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mss-col-resize-handle[b-avx7mlx2z8] {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    cursor: col-resize;
    z-index: 3;
}

.mss-col-resize-handle[b-avx7mlx2z8]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 16px;
    transform: translate(-50%, -50%);
    border-radius: 1px;
    background: #dde3ef;
    opacity: 0.7;
}

.mss-col-resize-handle:hover[b-avx7mlx2z8] {
    background: rgba(0, 74, 198, 0.1);
}

.mss-col-resize-handle:hover[b-avx7mlx2z8]::after {
    background: #004ac6;
    opacity: 1;
}

.mss-table td[b-avx7mlx2z8] {
    padding: 0.5rem 0.9rem;
    border-bottom: 1px solid rgba(226, 231, 240, 0.5);
}

.mss-table tbody tr:hover[b-avx7mlx2z8] {
    background: #f8fafc;
}

.mss-table-check[b-avx7mlx2z8] {
    width: 1%;
    white-space: nowrap;
    text-align: center;
}

.mss-table-empty[b-avx7mlx2z8] {
    text-align: center;
    color: #64748b;
    padding: 1.5rem;
}

/* ── Auto trigger tab: weekday picker ────────── */
.mss-weekday-group[b-avx7mlx2z8] {
    display: flex;
    /* nowrap keeps this row the same single-line height as the Active/Description/From Time
       rows above it -- wrapping to 2 lines was what threw off the label column's alignment. */
    flex-wrap: nowrap;
    gap: 1rem;
}

.mss-weekday-check[b-avx7mlx2z8] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #131b2e;
    cursor: pointer;
}

.mss-weekday-check input[type="checkbox"][b-avx7mlx2z8] {
    margin: 0;
    width: 1.05rem;
    height: 1.05rem;
    accent-color: #004ac6;
    cursor: pointer;
}
/* /Components/Pages/MRP/MrpWorkbench.razor.rz.scp.css */
/* ═══════════════════════════════════════════════
   MWB – MRP Workbench
   Scoped styles (no Tailwind)
═══════════════════════════════════════════════ */

.mwb-page[b-vgzfc4a7fr] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.25rem;
    background: #f4f6fb;
    height: calc(100vh - 3rem);
    overflow: hidden;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    color: #131b2e;
    box-sizing: border-box;
}

.material-symbols-outlined[b-vgzfc4a7fr] {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 1.1rem;
    line-height: 1;
    vertical-align: middle;
}

/* ── Header ─────────────────────────────────── */
.mwb-title[b-vgzfc4a7fr] {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.mwb-subtitle[b-vgzfc4a7fr] {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0.2rem 0 0;
}

.mwb-search[b-vgzfc4a7fr] {
    position: relative;
    display: flex;
    align-items: center;
}

.mwb-search .material-symbols-outlined[b-vgzfc4a7fr] {
    position: absolute;
    left: 0.5rem;
    color: #64748b;
    font-size: 1rem;
}

.mwb-search input[b-vgzfc4a7fr] {
    width: 11rem;
    box-sizing: border-box;
    padding: 0.4rem 0.6rem 0.4rem 1.9rem;
    font-size: 0.8rem;
    border: 1px solid #dde3ef;
    border-radius: 0.5rem;
    outline: none;
    font-family: inherit;
}

.mwb-search input:focus[b-vgzfc4a7fr] {
    border-color: #004ac6;
}

.mwb-icon-btn-outline[b-vgzfc4a7fr] {
    background: #fff;
    border: 1px solid #dde3ef;
    color: #64748b;
    padding: 0.4rem 0.6rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-family: inherit;
}

.mwb-icon-btn-outline:hover[b-vgzfc4a7fr] {
    background: #f4f6fb;
}

.mwb-icon-btn-outline--active[b-vgzfc4a7fr] {
    background: rgba(0, 74, 198, 0.08);
    border-color: #004ac6;
    color: #004ac6;
}

.mwb-icon-btn-outline--active:hover[b-vgzfc4a7fr] {
    background: rgba(0, 74, 198, 0.12);
}

.mwb-selected-badge[b-vgzfc4a7fr] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    background: rgba(0, 74, 198, 0.08);
    border-radius: 999px;
    color: #004ac6;
    font-size: 0.78rem;
    font-weight: 600;
}

.mwb-divider[b-vgzfc4a7fr] {
    width: 1px;
    height: 1.4rem;
    background: #e2e7f0;
}

.mwb-toolbar-actions[b-vgzfc4a7fr] {
    display: flex;
    gap: 0.4rem;
}

.mwb-link-btn[b-vgzfc4a7fr] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: none;
    border: none;
    color: #004ac6;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.7rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.12s;
    font-family: inherit;
}

.mwb-link-btn:hover[b-vgzfc4a7fr] {
    background: rgba(0, 74, 198, 0.06);
}

/* ── Panels ─────────────────────────────────── */
.mwb-panel[b-vgzfc4a7fr] {
    background: #fff;
    border: 1px solid #e2e7f0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mwb-panel--upper[b-vgzfc4a7fr] {
    flex: 1;
    min-height: 16rem;
}

.mwb-panel--lower[b-vgzfc4a7fr] {
    flex: 1;
    min-height: 12rem;
}

.mwb-section-hidden[b-vgzfc4a7fr] {
    display: none !important;
}

.mwb-vertical-resize-handle[b-vgzfc4a7fr] {
    flex-shrink: 0;
    height: 0.5rem;
    margin: -0.25rem 0;
    cursor: row-resize;
    position: relative;
    z-index: 4;
}

.mwb-vertical-resize-handle[b-vgzfc4a7fr]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 3px;
    background: #b7c6ea;
    border-radius: 999px;
    transform: translateY(-50%);
}

.mwb-vertical-resize-handle:hover[b-vgzfc4a7fr]::after {
    background: #004ac6;
    height: 4px;
}

.mwb-panel-header[b-vgzfc4a7fr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: #f8faff;
    border-bottom: 1px solid #e2e7f0;
    flex-shrink: 0;
}

.mwb-panel-header h3[b-vgzfc4a7fr] {
    margin: 0;
    font-size: 0.9rem;
    color: #004ac6;
}

.mwb-panel-title-block[b-vgzfc4a7fr] {
    display: flex;
    flex-direction: column;
}

.mwb-panel-header-actions[b-vgzfc4a7fr] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.mwb-flow-item[b-vgzfc4a7fr] {
    font-weight: 700;
    color: #131b2e;
}

/* ── Lower section split ────────────────────── */
.mwb-lower-split[b-vgzfc4a7fr] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.mwb-lower-pane[b-vgzfc4a7fr] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.mwb-lower-pane-label[b-vgzfc4a7fr] {
    padding: 0.4rem 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    background: #f8faff;
    border-bottom: 1px solid #e2e7f0;
    flex-shrink: 0;
}

.mwb-lower-resize-handle[b-vgzfc4a7fr] {
    width: 6px;
    flex-shrink: 0;
    cursor: col-resize;
    position: relative;
}

.mwb-lower-resize-handle[b-vgzfc4a7fr]::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #b7c6ea;
    border-radius: 999px;
    transform: translateX(-50%);
}

.mwb-lower-resize-handle:hover[b-vgzfc4a7fr]::after {
    background: #004ac6;
    width: 3px;
}

.mwb-table-scroll[b-vgzfc4a7fr] {
    flex: 1;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #c4cee3 transparent;
}

.mwb-table-scroll[b-vgzfc4a7fr]::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.mwb-table-scroll[b-vgzfc4a7fr]::-webkit-scrollbar-track {
    background: transparent;
}

.mwb-table-scroll[b-vgzfc4a7fr]::-webkit-scrollbar-thumb {
    background-color: #c4cee3;
    border-radius: 999px;
    border: 2px solid #fff;
    background-clip: padding-box;
}

.mwb-table-scroll[b-vgzfc4a7fr]::-webkit-scrollbar-thumb:hover {
    background-color: #8fa3d1;
}

.mwb-table-scroll[b-vgzfc4a7fr]::-webkit-scrollbar-corner {
    background: transparent;
}

/* ── Tables ─────────────────────────────────── */
.mwb-table[b-vgzfc4a7fr] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.82rem;
}

.mwb-table thead th[b-vgzfc4a7fr] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #eaedff;
    color: #434655;
    font-weight: 600;
    font-size: 0.72rem;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid #e2e7f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mwb-th-check[b-vgzfc4a7fr] {
    width: 2.5rem;
}

.mwb-th-qty[b-vgzfc4a7fr] {
    background: #004ac6 !important;
    color: #fff !important;
    border-bottom: 1px solid #004ac6 !important;
}

.mwb-td-qty[b-vgzfc4a7fr] {
    background: #eef4ff;
    border-left: 2px solid #b7c6ea;
    border-right: 2px solid #b7c6ea;
}

.mwb-qty-input[b-vgzfc4a7fr] {
    width: 100%;
    box-sizing: border-box;
    height: 1.3rem;
    padding: 0 0.6rem;
    border: 2px solid #004ac6;
    border-radius: 0.375rem;
    background: #fff;
    text-align: right;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    color: #004ac6;
    box-shadow: 0 1px 3px rgba(0, 74, 198, 0.25);
}

.mwb-qty-input:focus[b-vgzfc4a7fr] {
    border-color: #002f7d;
    box-shadow: 0 0 0 3px rgba(0, 74, 198, 0.25);
    outline: none;
}

.mwb-col-resize-handle[b-vgzfc4a7fr] {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    cursor: col-resize;
    z-index: 3;
}

.mwb-col-resize-handle[b-vgzfc4a7fr]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 16px;
    transform: translate(-50%, -50%);
    border-radius: 1px;
    background: #dde3ef;
    opacity: 0.7;
}

.mwb-col-resize-handle:hover[b-vgzfc4a7fr] {
    background: rgba(0, 74, 198, 0.1);
}

.mwb-col-resize-handle:hover[b-vgzfc4a7fr]::after {
    background: #004ac6;
    opacity: 1;
}

.mwb-table tbody td[b-vgzfc4a7fr] {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid rgba(226, 231, 240, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000;
}

.mwb-cell-icon[b-vgzfc4a7fr] {
    height: 1.1rem;
}

.mwb-empty[b-vgzfc4a7fr] {
    text-align: center;
    color: #64748b;
    font-style: italic;
    padding: 1.5rem !important;
}

.mwb-row[b-vgzfc4a7fr] {
    cursor: pointer;
    transition: background 0.12s;
}

.mwb-row:hover[b-vgzfc4a7fr] {
    background: #f8faff;
}

.mwb-row--focused[b-vgzfc4a7fr] {
    background: rgba(37, 99, 235, 0.06);
    outline: 2px solid #004ac6;
    outline-offset: -2px;
    position: relative;
    z-index: 1;
}

/* ── Panel footer ───────────────────────────── */
.mwb-panel-footer[b-vgzfc4a7fr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: #f8faff;
    border-top: 1px solid #e2e7f0;
    font-size: 0.72rem;
    color: #64748b;
    flex-shrink: 0;
}

.mwb-loading-more[b-vgzfc4a7fr] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #004ac6;
    font-weight: 600;
}
/* /Components/Pages/QualityControl/QCPageHeaderBar.razor.rz.scp.css */
/* The title (with its underline) and the buttons share one line: the shared .page-title has a large bottom padding and margin that push it off the buttons' line. */
.page-title-row[b-j6woetw9pn] {
    align-items: center;
}

.page-title[b-j6woetw9pn] {
    /* The text moves up 6px, the underline stays: 6px comes off the top padding and goes onto the bottom one. */
    padding-top: 18px;
    padding-bottom: 10px;
    margin: 0;
    line-height: 1.2;
}

/* The title and the icons that open the other QC pages share one line. */
.page-title-group[b-j6woetw9pn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-nav-btn[b-j6woetw9pn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    background: transparent;
    color: #3755c3;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.page-nav-btn:hover[b-j6woetw9pn] {
    background: #e0e7ff;
    border-color: #c7d2fe;
}

.page-nav-btn:focus-visible[b-j6woetw9pn] {
    outline: 2px solid #3755c3;
    outline-offset: 2px;
}

.page-nav-btn .material-symbols-outlined[b-j6woetw9pn] {
    font-size: 1.35rem;
}

/* The buttons sit 2px lower (a third of the 6px the title text was raised). */
.header-actions[b-j6woetw9pn] {
    position: relative;
    top: 2px;
}
/* /Components/Pages/QualityControl/QCReleasePanel.razor.rz.scp.css */
.qcw-release-panel[b-r1ykxxoeab] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--color-outline-variant, #cac4d0);
    background: var(--color-surface-container-low, #f7f2fa);
    font-size: 13px;
}

.qcw-release-icon[b-r1ykxxoeab] {
    color: #6a1b9a;
}

.qcw-release-group[b-r1ykxxoeab] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qcw-release-radio[b-r1ykxxoeab] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.qcw-release-btn[b-r1ykxxoeab] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: 1px solid var(--color-outline-variant, #cac4d0);
    border-radius: 6px;
    background: var(--color-surface, #fff);
    color: inherit;
    font-size: 13px;
    cursor: pointer;
}

.qcw-release-btn:hover:not(:disabled)[b-r1ykxxoeab] {
    background: var(--color-surface-container, #ece6f0);
}

.qcw-release-btn:disabled[b-r1ykxxoeab] {
    opacity: 0.5;
    cursor: not-allowed;
}

.qcw-release-btn--primary[b-r1ykxxoeab] {
    border-color: #6a1b9a;
    background: #6a1b9a;
    color: #fff;
}

.qcw-release-btn--primary:hover:not(:disabled)[b-r1ykxxoeab] {
    background: #4a148c;
}

.qcw-release-btn .material-symbols-outlined[b-r1ykxxoeab] {
    font-size: 18px;
}

.qcw-release-count[b-r1ykxxoeab] {
    color: var(--color-on-surface-variant, #49454f);
}

.qcw-release-spacer[b-r1ykxxoeab] {
    flex: 1 1 auto;
}

.qcw-release-label[b-r1ykxxoeab] {
    font-weight: 600;
}

.qcw-release-btn--auto .material-symbols-outlined[b-r1ykxxoeab] {
    color: #6a1b9a;
}

.qcw-release-btn--yes .material-symbols-outlined[b-r1ykxxoeab] {
    color: #2e7d32;
}

.qcw-release-btn--no .material-symbols-outlined[b-r1ykxxoeab] {
    color: #c62828;
}
/* /Components/Pages/QualityControl/QCSampleRow.razor.rz.scp.css */
.qcw-release-check[b-47gsd1bug7] {
    width: 16px;
    height: 16px;
    margin: 0 6px 0 0;
    flex: 0 0 auto;
    cursor: pointer;
    accent-color: var(--color-primary, #1976d2);
}
/* /Components/Pages/QualityControl/QuantityControlMeasurement.razor.rz.scp.css */
/* The card fills the page down to the bottom (the wrap is the flexible area under the header). */
.workbench-wrap[b-lkckyowx8k] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Two panes under one frame: measurements (left), the value box of the selected one (right).
   Measurements of one QC order share a coloured rail; the rail colour flips at the next order and a wider gap
   separates the orders. */
.qcs-card[b-lkckyowx8k] {
    --qcs-rail-a: var(--color-primary, #1a73e8);
    --qcs-rail-b: var(--color-tertiary, #8a6d3b);
    --qcs-line: var(--color-outline-variant, #d9dce0);
    display: grid;
    grid-template-columns: minmax(420px, 5fr) minmax(320px, 4fr);
    flex: 1 1 0;
    min-height: 320px;
    overflow: hidden;
}

.qcs-pane[b-lkckyowx8k] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

/* The 6px grid column between the halves; its width is set inline by the page and by the drag script. */
.qcs-splitter[b-lkckyowx8k] {
    cursor: col-resize;
    touch-action: none;
    border-left: 1px solid var(--qcs-line);
    border-right: 1px solid var(--qcs-line);
    background: var(--color-surface-container-low, #f3f4f6);
}

.qcs-splitter:hover[b-lkckyowx8k] {
    background: var(--color-primary-container, #dbe7ff);
}

.qcs-pane-title[b-lkckyowx8k] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
}

.qcs-head[b-lkckyowx8k],
.qcs-row[b-lkckyowx8k] {
    display: grid;
    align-items: center;
}

/* Header and rows share one scroll area: the grids are as wide as their columns, the header stays on top. */
.qcs-head[b-lkckyowx8k],
.qcs-row[b-lkckyowx8k] {
    width: max-content;
    min-width: 100%;
    box-sizing: border-box;
}

.qcs-head[b-lkckyowx8k] {
    position: sticky;
    top: 0;
    z-index: 3;
    background: var(--color-surface-container-low, #f3f4f6);
    padding: 0 0 0 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-on-surface-variant, #5f6368);
    border-bottom: 1px solid var(--qcs-line);
}

.qcs-head .qcs-cell[b-lkckyowx8k] {
    padding-top: 6px;
    padding-bottom: 6px;
}

/* Column widths of both grids are set inline by the page, from the chosen columns. */
.qcs-body[b-lkckyowx8k] {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

/* Floating scrollbars: no track or arrows, a thin rounded thumb that shows while the list is hovered or scrolled. */
.qcs-body[b-lkckyowx8k] {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.qcs-body:hover[b-lkckyowx8k] {
    scrollbar-color: var(--color-outline, #9aa0a6) transparent;
}

.qcs-body[b-lkckyowx8k]::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.qcs-body[b-lkckyowx8k]::-webkit-scrollbar-track,
.qcs-body[b-lkckyowx8k]::-webkit-scrollbar-corner,
.qcs-body[b-lkckyowx8k]::-webkit-scrollbar-button {
    background: transparent;
    display: none;
}

.qcs-body[b-lkckyowx8k]::-webkit-scrollbar-thumb {
    background: transparent;
    border: 2px solid transparent;
    border-radius: 999px;
    background-clip: padding-box;
}

.qcs-body:hover[b-lkckyowx8k]::-webkit-scrollbar-thumb {
    background-color: var(--color-outline, #9aa0a6);
    background-clip: padding-box;
}

.qcs-body[b-lkckyowx8k]::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-on-surface-variant, #5f6368);
    background-clip: padding-box;
}

.qcs-row[b-lkckyowx8k] {
    position: relative;
    min-height: 36px;
    padding-left: 4px;
    border-bottom: 1px solid var(--qcs-line);
}

/* The rail: a 4px bar on the row's left edge, continuous across the rows of an order. */
.qcs-pane--samples .qcs-row[b-lkckyowx8k]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: -1px;
    width: 4px;
}

.qcs-row--rail-a[b-lkckyowx8k]::before { background: var(--qcs-rail-a); }
.qcs-row--rail-b[b-lkckyowx8k]::before { background: var(--qcs-rail-b); }

.qcs-row--group-start[b-lkckyowx8k] {
    margin-top: 10px;
}

.qcs-row--group-start:first-child[b-lkckyowx8k] {
    margin-top: 0;
}

.qcs-pane--samples .qcs-row[b-lkckyowx8k] {
    cursor: pointer;
}

.qcs-pane--samples .qcs-row:hover[b-lkckyowx8k] {
    background: var(--color-surface-container-low, #f3f4f6);
}

.qcs-row--selected[b-lkckyowx8k],
.qcs-pane--samples .qcs-row--selected:hover[b-lkckyowx8k] {
    background: var(--color-primary-container, #dbe7ff);
}

.qcs-cell[b-lkckyowx8k] {
    padding: 4px 8px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qcs-cell--head[b-lkckyowx8k] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
    overflow: visible;
}

.qcs-head-title[b-lkckyowx8k] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.qcs-cell--sample[b-lkckyowx8k] {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

/* The mark column: a green tick when the measurement already has a value. */
.qcs-cell--status[b-lkckyowx8k] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: visible;
}

.qcm-done[b-lkckyowx8k] {
    font-size: 18px;
    color: #2e7d32;
}

/* Drag handle on the right edge of a header cell (see qcsInitColumnResize in js/pages/QuantityControlSample.js). */
.qcs-resize[b-lkckyowx8k] {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    cursor: col-resize;
    touch-action: none;
    z-index: 2;
}

.qcs-resize:hover[b-lkckyowx8k] {
    background: var(--color-primary-container, #dbe7ff);
}

.qcs-input[b-lkckyowx8k] {
    width: 100%;
    box-sizing: border-box;
    padding: 5px 8px;
    border: 1px solid var(--qcs-line);
    border-radius: 6px;
    background: var(--color-surface, #fff);
    font: inherit;
    font-variant-numeric: tabular-nums;
}

.qcs-input:hover[b-lkckyowx8k] {
    border-color: var(--color-outline, #9aa0a6);
}

.qcs-input:focus-visible[b-lkckyowx8k] {
    outline: 2px solid var(--color-primary, #1a73e8);
    outline-offset: 1px;
    border-color: transparent;
}

.qcs-actions[b-lkckyowx8k] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid var(--qcs-line);
}

.qcs-actions-spacer[b-lkckyowx8k] {
    flex: 1;
}

.qcs-empty[b-lkckyowx8k] {
    padding: 32px 16px;
    text-align: center;
    color: var(--color-on-surface-variant, #5f6368);
}

/* The entry view of the right half: measurement name, its limits (number entry) and the value to give. */
.qcm-entry[b-lkckyowx8k] {
    display: flex;
    flex-direction: column;
}

/* Focusable (tabindex -1) so the arrow keys work even when the view has no control to focus, e.g. an empty pick list. */
.qcm-entry:focus[b-lkckyowx8k] {
    outline: none;
}

/* Under the header band: the entry itself. */
.qcm-fields[b-lkckyowx8k] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
}



@media (max-width: 1100px) {
    .qcs-card[b-lkckyowx8k] {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto;
        height: auto;
    }

    .qcs-splitter[b-lkckyowx8k] {
        display: none;
    }

    .qcs-pane--samples[b-lkckyowx8k] {
        border-bottom: 1px solid var(--qcs-line);
        max-height: 50vh;
    }
}

/* The picked sample / measurement, after the title of the right half. */
.qcs-pane-subtitle[b-lkckyowx8k] {
    margin-left: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-on-surface-variant, #5f6368);
}
/* /Components/Pages/QualityControl/QuantityControlSample.razor.rz.scp.css */
/* The card fills the page down to the bottom (the wrap is the flexible area under the header). */
.workbench-wrap[b-47mpdhq2qk] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Two panes under one frame: samples (left), the selected sample's measurements (right).
   Samples of one QC order share a coloured rail; the rail colour flips at the next order and a wider gap
   separates the orders, so no "QC n" column is needed. */
.qcs-card[b-47mpdhq2qk] {
    --qcs-rail-a: var(--color-primary, #1a73e8);
    --qcs-rail-b: var(--color-tertiary, #8a6d3b);
    --qcs-line: var(--color-outline-variant, #d9dce0);
    display: grid;
    grid-template-columns: minmax(420px, 5fr) minmax(480px, 6fr);
    flex: 1 1 0;
    min-height: 320px;
    overflow: hidden;
}

.qcs-pane[b-47mpdhq2qk] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

/* The 6px grid column between the halves; its width is set inline by the page and by the drag script. */
.qcs-splitter[b-47mpdhq2qk] {
    cursor: col-resize;
    touch-action: none;
    border-left: 1px solid var(--qcs-line);
    border-right: 1px solid var(--qcs-line);
    background: var(--color-surface-container-low, #f3f4f6);
}

.qcs-splitter:hover[b-47mpdhq2qk] {
    background: var(--color-primary-container, #dbe7ff);
}

.qcs-pane-title[b-47mpdhq2qk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
}

.qcs-head[b-47mpdhq2qk],
.qcs-row[b-47mpdhq2qk] {
    display: grid;
    align-items: center;
}

/* Header and rows share one scroll area: the grids are as wide as their columns, the header stays on top. */
.qcs-head[b-47mpdhq2qk],
.qcs-row[b-47mpdhq2qk] {
    width: max-content;
    min-width: 100%;
    box-sizing: border-box;
}

.qcs-head[b-47mpdhq2qk] {
    position: sticky;
    top: 0;
    z-index: 3;
    background: var(--color-surface-container-low, #f3f4f6);
    padding: 0 0 0 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-on-surface-variant, #5f6368);
    border-bottom: 1px solid var(--qcs-line);
}

.qcs-head .qcs-cell[b-47mpdhq2qk] {
    padding-top: 6px;
    padding-bottom: 6px;
}

/* Column widths of both grids are set inline by the page, from the chosen columns. */
.qcs-body[b-47mpdhq2qk] {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

/* Floating scrollbars: no track or arrows, a thin rounded thumb that shows while the list is hovered or scrolled. */
.qcs-body[b-47mpdhq2qk] {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.qcs-body:hover[b-47mpdhq2qk] {
    scrollbar-color: var(--color-outline, #9aa0a6) transparent;
}

.qcs-body[b-47mpdhq2qk]::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.qcs-body[b-47mpdhq2qk]::-webkit-scrollbar-track,
.qcs-body[b-47mpdhq2qk]::-webkit-scrollbar-corner,
.qcs-body[b-47mpdhq2qk]::-webkit-scrollbar-button {
    background: transparent;
    display: none;
}

.qcs-body[b-47mpdhq2qk]::-webkit-scrollbar-thumb {
    background: transparent;
    border: 2px solid transparent;
    border-radius: 999px;
    background-clip: padding-box;
}

.qcs-body:hover[b-47mpdhq2qk]::-webkit-scrollbar-thumb {
    background-color: var(--color-outline, #9aa0a6);
    background-clip: padding-box;
}

.qcs-body[b-47mpdhq2qk]::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-on-surface-variant, #5f6368);
    background-clip: padding-box;
}

.qcs-row[b-47mpdhq2qk] {
    position: relative;
    min-height: 36px;
    padding-left: 4px;
    border-bottom: 1px solid var(--qcs-line);
}

/* The rail: a 4px bar on the row's left edge, continuous across the rows of an order. */
.qcs-pane--samples .qcs-row[b-47mpdhq2qk]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: -1px;
    width: 4px;
}

.qcs-row--rail-a[b-47mpdhq2qk]::before { background: var(--qcs-rail-a); }
.qcs-row--rail-b[b-47mpdhq2qk]::before { background: var(--qcs-rail-b); }

.qcs-row--group-start[b-47mpdhq2qk] {
    margin-top: 10px;
}

.qcs-row--group-start:first-child[b-47mpdhq2qk] {
    margin-top: 0;
}

.qcs-pane--samples .qcs-row[b-47mpdhq2qk] {
    cursor: pointer;
}

.qcs-pane--samples .qcs-row:hover[b-47mpdhq2qk] {
    background: var(--color-surface-container-low, #f3f4f6);
}

.qcs-row--selected[b-47mpdhq2qk],
.qcs-pane--samples .qcs-row--selected:hover[b-47mpdhq2qk] {
    background: var(--color-primary-container, #dbe7ff);
}

.qcs-row--dirty[b-47mpdhq2qk] {
    background: var(--color-surface-container-low, #f6f8fc);
    box-shadow: inset 3px 0 0 var(--color-primary, #1a73e8);
}

.qcs-cell[b-47mpdhq2qk] {
    padding: 4px 8px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qcs-cell--head[b-47mpdhq2qk] {
    display: flex;
    align-items: center;
    gap: 2px;
    overflow: visible;
}

.qcs-head-title[b-47mpdhq2qk] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.qcs-cell--sample[b-47mpdhq2qk],
.qcs-cell--id[b-47mpdhq2qk] {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.qcs-cell--action[b-47mpdhq2qk] {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.qcs-input[b-47mpdhq2qk] {
    width: 100%;
    box-sizing: border-box;
    padding: 5px 8px;
    border: 1px solid var(--qcs-line);
    border-radius: 6px;
    background: var(--color-surface, #fff);
    font: inherit;
    font-variant-numeric: tabular-nums;
}

.qcs-input:hover[b-47mpdhq2qk] {
    border-color: var(--color-outline, #9aa0a6);
}

.qcs-input:focus-visible[b-47mpdhq2qk] {
    outline: 2px solid var(--color-primary, #1a73e8);
    outline-offset: 1px;
    border-color: transparent;
}

.qcs-ok[b-47mpdhq2qk] {
    display: inline-block;
    min-width: 24px;
    padding: 1px 8px;
    border-radius: 999px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    background: var(--color-surface-container, #eceef1);
}

.qcs-ok:empty[b-47mpdhq2qk] {
    display: none;
}

/* The add button under each list, like the plan editor of the Add QC Order panel. */
.qcs-actions[b-47mpdhq2qk] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid var(--qcs-line);
}

.qcs-actions-spacer[b-47mpdhq2qk] {
    flex: 1;
}

.qcs-pending[b-47mpdhq2qk] {
    align-self: center;
    font-size: 12px;
    color: #b45309;
}

/* Staged changes: added rows are amber-highlighted, removed rows are struck through (the undo button puts them back). */
.qcs-row--new[b-47mpdhq2qk] {
    background: #fff4d6;
    box-shadow: inset 3px 0 0 #f59e0b;
}

.qcs-row--removed > .qcs-cell[b-47mpdhq2qk] {
    opacity: 0.45;
    text-decoration: line-through;
}

.qcs-row--removed > .qcs-cell--action[b-47mpdhq2qk] {
    opacity: 1;
    text-decoration: none;
}

.qcs-empty[b-47mpdhq2qk] {
    padding: 32px 16px;
    text-align: center;
    color: var(--color-on-surface-variant, #5f6368);
}

@media (max-width: 1100px) {
    .qcs-card[b-47mpdhq2qk] {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto;
        height: auto;
    }

    .qcs-splitter[b-47mpdhq2qk] {
        display: none;
    }

    .qcs-pane--samples[b-47mpdhq2qk] {
        border-bottom: 1px solid var(--qcs-line);
        max-height: 50vh;
    }
}

/* Right half while the measurements load: placeholder cards with a light that sweeps across them. */
.qcs-skeleton[b-47mpdhq2qk] {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.qcs-skeleton-card[b-47mpdhq2qk] {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--qcs-line);
    border-radius: 8px;
}

.qcs-skeleton-bar[b-47mpdhq2qk] {
    display: block;
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--color-surface-container, #eceef1) 25%, var(--color-surface-container-low, #f6f7f9) 50%, var(--color-surface-container, #eceef1) 75%);
    background-size: 300% 100%;
    animation: qcs-shimmer-b-47mpdhq2qk 1.4s ease-in-out infinite;
}

.qcs-skeleton-bar--title[b-47mpdhq2qk] {
    width: 35%;
    height: 14px;
}

.qcs-skeleton-bar--short[b-47mpdhq2qk] {
    width: 60%;
}

@keyframes qcs-shimmer-b-47mpdhq2qk {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .qcs-skeleton-bar[b-47mpdhq2qk] {
        animation: none;
    }
}

/* A measurement that is added / duplicated (not created yet) has a green edge; a removed one is dimmed and struck through (right-click: Put back). */
.qcs-measure--new[b-47mpdhq2qk] {
    box-shadow: inset 3px 0 0 #16a34a;
}

.qcs-measure--removed[b-47mpdhq2qk] {
    opacity: 0.45;
    text-decoration: line-through;
}

/* The inline measurement editors stay mounted (so they load) but out of sight while the placeholder cards show. */
.qcs-hidden[b-47mpdhq2qk] {
    display: none;
}

/* Drag handle on the right edge of a header cell of the left list (see qcsInitColumnResize in js/pages/QuantityControlSample.js). */
.qcs-cell--head[b-47mpdhq2qk] {
    position: relative;
}

.qcs-resize[b-47mpdhq2qk] {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    cursor: col-resize;
    touch-action: none;
    z-index: 2;
}

.qcs-resize:hover[b-47mpdhq2qk] {
    background: var(--color-primary-container, #dbe7ff);
}

/* The tick column of the left list. */
.qcs-rel[b-47mpdhq2qk] {
    padding: 0 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.qcs-rel--pass[b-47mpdhq2qk] {
    background: #e8f5e9;
    color: #2e7d32;
}

.qcs-rel--fail[b-47mpdhq2qk] {
    background: #ffebee;
    color: #c62828;
}

.qcs-rel--none[b-47mpdhq2qk] {
    background: #f1f1f1;
    color: #888;
}

.qcs-cell--check[b-47mpdhq2qk] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: visible;
}

.qcs-cell--head.qcs-cell--check[b-47mpdhq2qk] {
    gap: 4px;
}

.qcs-cell--check input[type="checkbox"][b-47mpdhq2qk] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}
/* The picked sample / measurement, after the title of the right half. */
.qcs-pane-subtitle[b-47mpdhq2qk] {
    margin-left: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-on-surface-variant, #5f6368);
}
/* /Components/Pages/QualityControl/QuantityControlWorkbench.razor.rz.scp.css */
/* The card fills the page down to the bottom (the wrap is the flexible area under the header). */
.workbench-wrap[b-rixeobonen] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.workbench-card[b-rixeobonen] {
    height: auto;
    flex: 1 1 0;
    min-height: 0;
}
/* /Components/Pages/ReportLayout/ReportLayoutPage.razor.rz.scp.css */
/* Report Layout Page Styles */

.report-layout-sidebar[b-r89awxxmnj] {
    background-color: #fff;
}

.category-tree[b-r89awxxmnj] {
    user-select: none;
}

.category-item[b-r89awxxmnj] {
    border-radius: 4px;
transition: all 0.2s ease;
}

.category-node[b-r89awxxmnj] {
 transition: background-color 0.2s ease;
 position: relative;
}

.category-node:hover[b-r89awxxmnj] {
    background-color: #f5f7fa;
}

.category-node.selected[b-r89awxxmnj] {
    background-color: #e3f2fd;
    font-weight: 500;
    border-left: 3px solid #0064d9;
}

.category-toggle-icon[b-r89awxxmnj] {
 display: inline-flex;
    align-items: center;
  justify-content: center;
    width: 20px;
    height: 20px;
    cursor: pointer;
 transition: transform 0.2s ease;
}

.category-toggle-icon:hover[b-r89awxxmnj] {
  transform: scale(1.1);
}

.category-toggle-icon img[b-r89awxxmnj] {
    transition: transform 0.2s ease;
}

.category-routes[b-r89awxxmnj] {
    animation: slideDown-b-r89awxxmnj 0.3s ease-out;
    overflow: hidden;
}

@keyframes slideDown-b-r89awxxmnj {
 from {
   opacity: 0;
     max-height: 0;
transform: translateY(-10px);
    }
    to {
  opacity: 1;
      max-height: 500px;
        transform: translateY(0);
    }
}

.route-item[b-r89awxxmnj] {
    transition: all 0.2s ease;
    font-size: 0.9rem;
    border-left: 2px solid transparent;
}

.route-item:hover[b-r89awxxmnj] {
    background-color: #f0f4f8;
  border-left-color: #90caf9;
}

.route-item.selected[b-r89awxxmnj] {
    background-color: #e3f2fd;
    font-weight: 500;
    border-left: 3px solid #0064d9;
}

/* Top-Bottom Split Layout */
.reports-list-section[b-r89awxxmnj] {
  background-color: #fff;
    border-radius: 4px;
    padding: 10px;
}

.report-details-section[b-r89awxxmnj] {
    background-color: #fafbfc;
    border-radius: 4px;
    padding: 10px;
    animation: slideInFromBottom-b-r89awxxmnj 0.3s ease-out;
}

@keyframes slideInFromBottom-b-r89awxxmnj {
  from {
        opacity: 0;
      transform: translateY(10px);
    }
    to {
        opacity: 1;
     transform: translateY(0);
    }
}

/* Table Styles */
.table-hover tbody tr[b-r89awxxmnj] {
  transition: background-color 0.2s ease;
}

.table-hover tbody tr:hover[b-r89awxxmnj] {
    background-color: #f8f9fa;
}

.table-active[b-r89awxxmnj] {
    background-color: #fff8d6 !important;
    border-left: 3px solid #0064d9;
}

.table thead th[b-r89awxxmnj] {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    padding: 12px 8px;
 font-size: 0.9rem;
    position: sticky;
    top: 0;
  z-index: 10;
}

.table tbody td[b-r89awxxmnj] {
    padding: 10px 8px;
    vertical-align: middle;
    font-size: 0.9rem;
}

/* Form Styles */
.form-group[b-r89awxxmnj] {
    margin-bottom: 1rem;
}

.form-group label[b-r89awxxmnj] {
    font-weight: 500;
 color: #495057;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
}

.form-control[b-r89awxxmnj] {
    font-size: 0.9rem;
}

.form-control:focus[b-r89awxxmnj] {
    border-color: #0064d9;
    box-shadow: 0 0 0 0.2rem rgba(0, 100, 217, 0.25);
}

/* Report Details Section */
.report-details[b-r89awxxmnj] {
    padding: 1rem;
    background-color: #fff;
    border-radius: 8px;
}

.report-details h6[b-r89awxxmnj] {
    color: #333;
    font-weight: 600;
 border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .report-layout-sidebar[b-r89awxxmnj] {
   width: 100% !important;
  border-right: none;
        border-bottom: 1px solid #bfbfbf;
   margin-bottom: 1rem;
  }
  
    .category-routes[b-r89awxxmnj] {
        margin-left: 1rem !important;
    }
    
    .reports-list-section[b-r89awxxmnj] {
        max-height: 300px !important;
    }
}

/* Custom Scrollbar */
.report-layout-sidebar[b-r89awxxmnj]::-webkit-scrollbar,
.reports-list-section[b-r89awxxmnj]::-webkit-scrollbar,
.report-details-section[b-r89awxxmnj]::-webkit-scrollbar {
    width: 6px;
  height: 6px;
}

.report-layout-sidebar[b-r89awxxmnj]::-webkit-scrollbar-track,
.reports-list-section[b-r89awxxmnj]::-webkit-scrollbar-track,
.report-details-section[b-r89awxxmnj]::-webkit-scrollbar-track {
    background: #f1f1f1;
  border-radius: 3px;
}

.report-layout-sidebar[b-r89awxxmnj]::-webkit-scrollbar-thumb,
.reports-list-section[b-r89awxxmnj]::-webkit-scrollbar-thumb,
.report-details-section[b-r89awxxmnj]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.report-layout-sidebar[b-r89awxxmnj]::-webkit-scrollbar-thumb:hover,
.reports-list-section[b-r89awxxmnj]::-webkit-scrollbar-thumb:hover,
.report-details-section[b-r89awxxmnj]::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Action Buttons */
.btn-link[b-r89awxxmnj] {
    padding: 0.25rem 0.5rem;
transition: transform 0.2s ease;
}

.btn-link:hover[b-r89awxxmnj] {
    transform: scale(1.1);
}

.btn-link img[b-r89awxxmnj] {
    opacity: 0.7;
transition: opacity 0.2s ease;
}

.btn-link:hover img[b-r89awxxmnj] {
    opacity: 1;
}

/* Empty State */
.text-center.text-muted.p-5[b-r89awxxmnj] {
    animation: fadeIn-b-r89awxxmnj 0.5s ease-in;
}

@keyframes fadeIn-b-r89awxxmnj {
    from {
   opacity: 0;
        transform: translateY(10px);
  }
    to {
      opacity: 1;
   transform: translateY(0);
    }
}

/* Category Breadcrumb */
.border-bottom[b-r89awxxmnj] {
    animation: slideInFromTop-b-r89awxxmnj 0.3s ease-out;
}

@keyframes slideInFromTop-b-r89awxxmnj {
 from {
        opacity: 0;
transform: translateY(-5px);
  }
    to {
      opacity: 1;
        transform: translateY(0);
  }
}

/* Divider between sections */
.report-details-section[b-r89awxxmnj] {
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}
/* /Components/Pages/SAPUI/BusinessPartnerForm/BusinessPartnerDI.razor.rz.scp.css */
.sap_name-display[b-m2s6ez8oa0] {
    padding: 4px 20px 12px;
    font-size: 0.875rem;
}

.sap_name-label[b-m2s6ez8oa0] {
    color: #6c757d;
}
.button:disabled[b-m2s6ez8oa0] {
    background-color: none!important;
}
.sap_name-value[b-m2s6ez8oa0] {
    margin-left: 4px;
    color: #212529;
}
.sap_btn-action button:disabled[b-m2s6ez8oa0] {
    background: none !important; /* hoặc background-color: transparent; */
}
.sap_btn-action:disabled[b-m2s6ez8oa0] {
    background: none !important; /* hoặc background-color: transparent; */
}
.button:disabled[b-m2s6ez8oa0] {
    background: none !important; /* hoặc background-color: transparent; */
}
.sap_form-grid-two-column[b-m2s6ez8oa0] {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px 24px;
    align-items: start;
    max-width: 800px;
}

    .sap_form-grid-two-column .sap_label[b-m2s6ez8oa0] {
        display: contents;
    }

        .sap_form-grid-two-column .sap_label > span[b-m2s6ez8oa0] {
            color: #495057;
            font-weight: 400;
            text-align: left;
            padding-top: 8px;
        }

        .sap_form-grid-two-column .sap_label > textarea[b-m2s6ez8oa0] {
            min-height: 80px;
            resize: vertical;
        }

.sap_image-upload[b-m2s6ez8oa0] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sap_image-placeholder[b-m2s6ez8oa0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
    text-align: center;
}

    .sap_image-placeholder p[b-m2s6ez8oa0] {
        margin: 8px 0 0 0;
        color: #212529;
    }

.sap_mt-8[b-m2s6ez8oa0] {
    margin-top: 8px;
}

.sap_table-no-data[b-m2s6ez8oa0] {
    text-align: center;
    padding: 32px;
    color: #6c757d;
    font-style: italic;
}
/* /Components/Pages/SAPUI/ButtonConfigForm/ButtonConfigSAP.razor.rz.scp.css */
/* /Components/Pages/SAPUI/ItemMasterDataForm/ChartOfAccountDI.razor.rz.scp.css */
/* HeaderDipslaySAP's own .sap_inputDisable (view-mode value display, rendered by SubHeaderInputACT's
   child HeaderDipslaySAP component) already sets white-space:nowrap globally, but as a CSS Grid item
   inside .sap_label it never shrinks below its own content width (grid items default to
   min-width:auto) - so a long value like Acct Name overflows past the card edge instead of wrapping
   or clipping. Truncate with an ellipsis instead once it no longer fits. */
[b-pltmhqxzs4] .sap_inputDisable {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Components/Pages/SAPUI/ItemMasterDataForm/ItemMasterDataDI.razor.rz.scp.css */
.sap-table thead th[b-j9j8f2zb04] {
    position: static;
}

.sap_table-cell--number[b-j9j8f2zb04] {
    text-align: right;
}

.sap_dropdown-control[b-j9j8f2zb04]::before {
    content: "";
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 4px 4px 0 4px;
    border-color: #0068ff transparent transparent transparent;
    display: none !important;
}
/* /Components/Pages/SAPUI/ItemMasterDataForm/ManagePriceListItems.razor.rz.scp.css */
.sap_inner-card[b-rv15g31vf4]{background:#fff;border:1px solid #e6e6e6;padding:1rem;border-radius:6px}
.sap_section-title[b-rv15g31vf4]{margin:0 0 .5rem;font-size:1rem;font-weight:600}
.sap_table-actions[b-rv15g31vf4]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}
.sap_table-no-data[b-rv15g31vf4]{text-align:center;color:#888;padding:1rem}
.sap_table-wrapper[b-rv15g31vf4]{overflow-x:auto;width:100%}
.sap-table[b-rv15g31vf4]{width:100%;border-collapse:collapse;min-width:max-content}
.sap-table th[b-rv15g31vf4],.sap-table td[b-rv15g31vf4]{border:1px solid #f0f0f0;padding:.5rem;text-align:left;min-width:160px;white-space:nowrap}
.sap-table th:first-child[b-rv15g31vf4],.sap-table td:first-child[b-rv15g31vf4]{min-width:40px;width:40px;text-align:center}
.sap-table th:nth-child(2)[b-rv15g31vf4],.sap-table td:nth-child(2)[b-rv15g31vf4]{min-width:50px;width:50px;text-align:center}
.sap_input[b-rv15g31vf4]{padding:.4rem .5rem;border:1px solid #ccc;border-radius:3px}
.sap_input_group[b-rv15g31vf4]{display:flex;align-items:center;gap:.5rem}
.sap_input_btn[b-rv15g31vf4]{background:#f3f3f3;border:1px solid #ddd;padding:.25rem .4rem;border-radius:3px;cursor:pointer}
.sap_dropdown-container[b-rv15g31vf4]{position:relative}
.sap_dropdown-menu[b-rv15g31vf4]{position:absolute;display:none;background:#fff;border:1px solid #ddd;z-index:10;min-width:160px}
.sap_dropdown-menu.show[b-rv15g31vf4]{display:block}
.sap_dropdown-item[b-rv15g31vf4]{padding:.4rem .6rem;cursor:pointer}
.sap_mt-16[b-rv15g31vf4]{margin-top:1rem}
.sap_btn-action[b-rv15g31vf4],.sap_btn[b-rv15g31vf4],.sap_btn-primary[b-rv15g31vf4]{padding:.4rem .6rem;border-radius:4px;border:1px solid #ccc;background:#fff;cursor:pointer}
.sap_btn-primary[b-rv15g31vf4]{background:#0078d4;color:#fff;border-color:#0078d4}
.sap_table-actions-right[b-rv15g31vf4]{display:flex;gap:.5rem;align-items:center}
.curr-scroll-wrapper[b-rv15g31vf4] {
    overflow-x: auto;
    overflow-y: visible;
}

.curr-table[b-rv15g31vf4] {
    min-width: max-content;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    position: relative;
}

/* make sticky action column narrow (target ~35px) */
.curr-sticky-col[b-rv15g31vf4] {
    position: sticky;
    right: 0;
    z-index: 1;
    background: var(--color-surface, #fff);
    box-shadow: -3px 0 6px rgba(0,0,0,0.08);
    white-space: nowrap;
    /* reduced width: half of previous 70px target -> 35px */
    max-width: 70px !important;
}

/* center header text in actions column */
.curr-sticky-col-header[b-rv15g31vf4] {
    z-index: 1;
    background: var(--color-header-bg, #f5f5f5);
    text-align: center;
    max-width: 70px !important;
}

/* highlight editing row */
.curr-row-editing td[b-rv15g31vf4] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

.curr-row-editing .curr-sticky-col[b-rv15g31vf4] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

/* action cell basics */
.curr-action-cell[b-rv15g31vf4] {
    display: table-cell;
    vertical-align: middle;
    /* reduce padding so cell can shrink */
    padding: 2px 4px;
    gap: 4px;
    text-align: center; /* center everything inside the cell */
    width: 35px;
    min-width: 35px;
    max-width: 35px;
    overflow: visible;
}

/* make action buttons icon-only and remove any background/border/shadow */
.curr-action-cell .sap_btn[b-rv15g31vf4],
.curr-action-cell .sap_btn-primary[b-rv15g31vf4],
.curr-action-cell .curr-row-btn[b-rv15g31vf4] {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 2px !important; /* reduce horizontal margins */
    height: auto !important;
    min-width: 0 !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ensure icon images are block and centered, slightly smaller */
.curr-action-cell img[b-rv15g31vf4] {
    display: block;
    margin: 0 auto;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* slightly larger hit area without visible background (reduced) */
.curr-action-cell .sap_btn[b-rv15g31vf4]::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-left: -28px; /* keep only hit area, not visible */
    pointer-events: none;
    visibility: hidden;
}

/* keep original spacing for rows but avoid text wrapping inside action cell */
.curr-action-cell > *[b-rv15g31vf4] {
    white-space: nowrap;
}

/* small tweak to reduce default .curr-row-btn padding elsewhere */
.curr-row-btn[b-rv15g31vf4] {
    font-size: 12px;
    padding: 0;
    height: auto;
    margin: 0 2px;
}
/* /Components/Pages/SAPUI/ItemMasterDataForm/SAPManageCardGroups.razor.rz.scp.css */
.sap_inner-card[b-hn1824dfzd]{background:#fff;border:1px solid #e6e6e6;padding:1rem;border-radius:6px}
.sap_section-title[b-hn1824dfzd]{margin:0 0 .5rem;font-size:1rem;font-weight:600}
.sap_table-actions[b-hn1824dfzd]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}
.sap_table-no-data[b-hn1824dfzd]{text-align:center;color:#888;padding:1rem}
.sap_table-wrapper[b-hn1824dfzd]{overflow-x:auto;width:100%}
.sap-table[b-hn1824dfzd]{width:100%;border-collapse:collapse;min-width:max-content}
.sap-table th[b-hn1824dfzd],.sap-table td[b-hn1824dfzd]{border:1px solid #f0f0f0;padding:.5rem;text-align:left;min-width:160px;white-space:nowrap}
.sap-table th:first-child[b-hn1824dfzd],.sap-table td:first-child[b-hn1824dfzd]{min-width:40px;width:40px;text-align:center}
.sap-table th:nth-child(2)[b-hn1824dfzd],.sap-table td:nth-child(2)[b-hn1824dfzd]{min-width:50px;width:50px;text-align:center}
.sap_input[b-hn1824dfzd]{padding:.4rem .5rem;border:1px solid #ccc;border-radius:3px}
.sap_input_group[b-hn1824dfzd]{display:flex;align-items:center;gap:.5rem}
.sap_input_btn[b-hn1824dfzd]{background:#f3f3f3;border:1px solid #ddd;padding:.25rem .4rem;border-radius:3px;cursor:pointer}
.sap_dropdown-container[b-hn1824dfzd]{position:relative}
.sap_dropdown-menu[b-hn1824dfzd]{position:absolute;display:none;background:#fff;border:1px solid #ddd;z-index:10;min-width:160px}
.sap_dropdown-menu.show[b-hn1824dfzd]{display:block}
.sap_dropdown-item[b-hn1824dfzd]{padding:.4rem .6rem;cursor:pointer}
.sap_mt-16[b-hn1824dfzd]{margin-top:1rem}
.sap_btn-action[b-hn1824dfzd],.sap_btn[b-hn1824dfzd],.sap_btn-primary[b-hn1824dfzd]{padding:.4rem .6rem;border-radius:4px;border:1px solid #ccc;background:#fff;cursor:pointer}
.sap_btn-primary[b-hn1824dfzd]{background:#0078d4;color:#fff;border-color:#0078d4}
.sap_table-actions-right[b-hn1824dfzd]{display:flex;gap:.5rem;align-items:center}
.curr-scroll-wrapper[b-hn1824dfzd] {
    overflow-x: auto;
    overflow-y: visible;
}

.curr-table[b-hn1824dfzd] {
    min-width: max-content;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    position: relative;
}

/* make sticky action column narrow (target ~35px) */
.curr-sticky-col[b-hn1824dfzd] {
    position: sticky;
    right: 0;
    z-index: 1;
    background: var(--color-surface, #fff);
    box-shadow: -3px 0 6px rgba(0,0,0,0.08);
    white-space: nowrap;
    /* reduced width: half of previous 70px target -> 35px */
    max-width: 70px !important;
}

/* center header text in actions column */
.curr-sticky-col-header[b-hn1824dfzd] {
    z-index: 1;
    background: var(--color-header-bg, #f5f5f5);
    text-align: center;
    max-width: 70px !important;
}

/* highlight editing row */
.curr-row-editing td[b-hn1824dfzd] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

.curr-row-editing .curr-sticky-col[b-hn1824dfzd] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

/* action cell basics */
.curr-action-cell[b-hn1824dfzd] {
    display: table-cell;
    vertical-align: middle;
    /* reduce padding so cell can shrink */
    padding: 2px 4px;
    gap: 4px;
    text-align: center; /* center everything inside the cell */
    width: 35px;
    min-width: 35px;
    max-width: 35px;
    overflow: visible;
}

/* make action buttons icon-only and remove any background/border/shadow */
.curr-action-cell .sap_btn[b-hn1824dfzd],
.curr-action-cell .sap_btn-primary[b-hn1824dfzd],
.curr-action-cell .curr-row-btn[b-hn1824dfzd] {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 2px !important; /* reduce horizontal margins */
    height: auto !important;
    min-width: 0 !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ensure icon images are block and centered, slightly smaller */
.curr-action-cell img[b-hn1824dfzd] {
    display: block;
    margin: 0 auto;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* slightly larger hit area without visible background (reduced) */
.curr-action-cell .sap_btn[b-hn1824dfzd]::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-left: -28px; /* keep only hit area, not visible */
    pointer-events: none;
    visibility: hidden;
}

/* keep original spacing for rows but avoid text wrapping inside action cell */
.curr-action-cell > *[b-hn1824dfzd] {
    white-space: nowrap;
}

/* small tweak to reduce default .curr-row-btn padding elsewhere */
.curr-row-btn[b-hn1824dfzd] {
    font-size: 12px;
    padding: 0;
    height: auto;
    margin: 0 2px;
}
/* /Components/Pages/SAPUI/ItemMasterDataForm/SAPManageLocations.razor.rz.scp.css */
.sap_inner-card[b-h19d009hz7]{background:#fff;border:1px solid #e6e6e6;padding:1rem;border-radius:6px}
.sap_section-title[b-h19d009hz7]{margin:0 0 .5rem;font-size:1rem;font-weight:600}
.sap_table-actions[b-h19d009hz7]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}
.sap_table-no-data[b-h19d009hz7]{text-align:center;color:#888;padding:1rem}
.sap_table-wrapper[b-h19d009hz7]{overflow-x:auto;width:100%}
.sap-table[b-h19d009hz7]{width:100%;border-collapse:collapse;min-width:max-content}
.sap-table th[b-h19d009hz7],.sap-table td[b-h19d009hz7]{border:1px solid #f0f0f0;padding:.5rem;text-align:left;min-width:160px;white-space:nowrap}
.sap-table th:first-child[b-h19d009hz7],.sap-table td:first-child[b-h19d009hz7]{min-width:40px;width:40px;text-align:center}
.sap-table th:nth-child(2)[b-h19d009hz7],.sap-table td:nth-child(2)[b-h19d009hz7]{min-width:50px;width:50px;text-align:center}
.sap_input[b-h19d009hz7]{padding:.4rem .5rem;border:1px solid #ccc;border-radius:3px}
.sap_input_group[b-h19d009hz7]{display:flex;align-items:center;gap:.5rem}
.sap_input_btn[b-h19d009hz7]{background:#f3f3f3;border:1px solid #ddd;padding:.25rem .4rem;border-radius:3px;cursor:pointer}
.sap_dropdown-container[b-h19d009hz7]{position:relative}
.sap_dropdown-menu[b-h19d009hz7]{position:absolute;display:none;background:#fff;border:1px solid #ddd;z-index:10;min-width:160px}
.sap_dropdown-menu.show[b-h19d009hz7]{display:block}
.sap_dropdown-item[b-h19d009hz7]{padding:.4rem .6rem;cursor:pointer}
.sap_mt-16[b-h19d009hz7]{margin-top:1rem}
.sap_btn-action[b-h19d009hz7],.sap_btn[b-h19d009hz7],.sap_btn-primary[b-h19d009hz7]{padding:.4rem .6rem;border-radius:4px;border:1px solid #ccc;background:#fff;cursor:pointer}
.sap_btn-primary[b-h19d009hz7]{background:#0078d4;color:#fff;border-color:#0078d4}
.sap_table-actions-right[b-h19d009hz7]{display:flex;gap:.5rem;align-items:center}
.curr-scroll-wrapper[b-h19d009hz7] {
    overflow-x: auto;
    overflow-y: visible;
}

.curr-table[b-h19d009hz7] {
    min-width: max-content;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    position: relative;
}

/* make sticky action column narrow (target ~35px) */
.curr-sticky-col[b-h19d009hz7] {
    position: sticky;
    right: 0;
    z-index: 1;
    background: var(--color-surface, #fff);
    box-shadow: -3px 0 6px rgba(0,0,0,0.08);
    white-space: nowrap;
    /* reduced width: half of previous 70px target -> 35px */
    max-width: 70px !important;
}

/* center header text in actions column */
.curr-sticky-col-header[b-h19d009hz7] {
    z-index: 1;
    background: var(--color-header-bg, #f5f5f5);
    text-align: center;
    max-width: 70px !important;
}

/* highlight editing row */
.curr-row-editing td[b-h19d009hz7] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

.curr-row-editing .curr-sticky-col[b-h19d009hz7] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

/* action cell basics */
.curr-action-cell[b-h19d009hz7] {
    display: table-cell;
    vertical-align: middle;
    /* reduce padding so cell can shrink */
    padding: 2px 4px;
    gap: 4px;
    text-align: center; /* center everything inside the cell */
    width: 35px;
    min-width: 35px;
    max-width: 35px;
    overflow: visible;
}

/* make action buttons icon-only and remove any background/border/shadow */
.curr-action-cell .sap_btn[b-h19d009hz7],
.curr-action-cell .sap_btn-primary[b-h19d009hz7],
.curr-action-cell .curr-row-btn[b-h19d009hz7] {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 2px !important; /* reduce horizontal margins */
    height: auto !important;
    min-width: 0 !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ensure icon images are block and centered, slightly smaller */
.curr-action-cell img[b-h19d009hz7] {
    display: block;
    margin: 0 auto;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* slightly larger hit area without visible background (reduced) */
.curr-action-cell .sap_btn[b-h19d009hz7]::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-left: -28px; /* keep only hit area, not visible */
    pointer-events: none;
    visibility: hidden;
}

/* keep original spacing for rows but avoid text wrapping inside action cell */
.curr-action-cell > *[b-h19d009hz7] {
    white-space: nowrap;
}

/* small tweak to reduce default .curr-row-btn padding elsewhere */
.curr-row-btn[b-h19d009hz7] {
    font-size: 12px;
    padding: 0;
    height: auto;
    margin: 0 2px;
}
/* /Components/Pages/SAPUI/ItemMasterDataForm/SAPManageManufacturers.razor.rz.scp.css */
.sap_inner-card[b-2vsyiu5m7d]{background:#fff;border:1px solid #e6e6e6;padding:1rem;border-radius:6px}
.sap_section-title[b-2vsyiu5m7d]{margin:0 0 .5rem;font-size:1rem;font-weight:600}
.sap_table-actions[b-2vsyiu5m7d]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}
.sap_table-no-data[b-2vsyiu5m7d]{text-align:center;color:#888;padding:1rem}
.sap_table-wrapper[b-2vsyiu5m7d]{overflow-x:auto;width:100%}
.sap-table[b-2vsyiu5m7d]{width:100%;border-collapse:collapse;min-width:max-content}
.sap-table th[b-2vsyiu5m7d],.sap-table td[b-2vsyiu5m7d]{border:1px solid #f0f0f0;padding:.5rem;text-align:left;min-width:160px;white-space:nowrap}
.sap-table th:first-child[b-2vsyiu5m7d],.sap-table td:first-child[b-2vsyiu5m7d]{min-width:40px;width:40px;text-align:center}
.sap-table th:nth-child(2)[b-2vsyiu5m7d],.sap-table td:nth-child(2)[b-2vsyiu5m7d]{min-width:50px;width:50px;text-align:center}
.sap_input[b-2vsyiu5m7d]{padding:.4rem .5rem;border:1px solid #ccc;border-radius:3px}
.sap_input_group[b-2vsyiu5m7d]{display:flex;align-items:center;gap:.5rem}
.sap_input_btn[b-2vsyiu5m7d]{background:#f3f3f3;border:1px solid #ddd;padding:.25rem .4rem;border-radius:3px;cursor:pointer}
.sap_dropdown-container[b-2vsyiu5m7d]{position:relative}
.sap_dropdown-menu[b-2vsyiu5m7d]{position:absolute;display:none;background:#fff;border:1px solid #ddd;z-index:10;min-width:160px}
.sap_dropdown-menu.show[b-2vsyiu5m7d]{display:block}
.sap_dropdown-item[b-2vsyiu5m7d]{padding:.4rem .6rem;cursor:pointer}
.sap_mt-16[b-2vsyiu5m7d]{margin-top:1rem}
.sap_btn-action[b-2vsyiu5m7d],.sap_btn[b-2vsyiu5m7d],.sap_btn-primary[b-2vsyiu5m7d]{padding:.4rem .6rem;border-radius:4px;border:1px solid #ccc;background:#fff;cursor:pointer}
.sap_btn-primary[b-2vsyiu5m7d]{background:#0078d4;color:#fff;border-color:#0078d4}
.sap_table-actions-right[b-2vsyiu5m7d]{display:flex;gap:.5rem;align-items:center}
.curr-scroll-wrapper[b-2vsyiu5m7d] {
    overflow-x: auto;
    overflow-y: visible;
}

.curr-table[b-2vsyiu5m7d] {
    min-width: max-content;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    position: relative;
}

/* make sticky action column narrow (target ~35px) */
.curr-sticky-col[b-2vsyiu5m7d] {
    position: sticky;
    right: 0;
    z-index: 1;
    background: var(--color-surface, #fff);
    box-shadow: -3px 0 6px rgba(0,0,0,0.08);
    white-space: nowrap;
    /* reduced width: half of previous 70px target -> 35px */
    max-width: 70px !important;
}

/* center header text in actions column */
.curr-sticky-col-header[b-2vsyiu5m7d] {
    z-index: 1;
    background: var(--color-header-bg, #f5f5f5);
    text-align: center;
    max-width: 70px !important;
}

/* highlight editing row */
.curr-row-editing td[b-2vsyiu5m7d] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

.curr-row-editing .curr-sticky-col[b-2vsyiu5m7d] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

/* action cell basics */
.curr-action-cell[b-2vsyiu5m7d] {
    display: table-cell;
    vertical-align: middle;
    /* reduce padding so cell can shrink */
    padding: 2px 4px;
    gap: 4px;
    text-align: center; /* center everything inside the cell */
    width: 35px;
    min-width: 35px;
    max-width: 35px;
    overflow: visible;
}

/* make action buttons icon-only and remove any background/border/shadow */
.curr-action-cell .sap_btn[b-2vsyiu5m7d],
.curr-action-cell .sap_btn-primary[b-2vsyiu5m7d],
.curr-action-cell .curr-row-btn[b-2vsyiu5m7d] {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 2px !important; /* reduce horizontal margins */
    height: auto !important;
    min-width: 0 !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ensure icon images are block and centered, slightly smaller */
.curr-action-cell img[b-2vsyiu5m7d] {
    display: block;
    margin: 0 auto;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* slightly larger hit area without visible background (reduced) */
.curr-action-cell .sap_btn[b-2vsyiu5m7d]::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-left: -28px; /* keep only hit area, not visible */
    pointer-events: none;
    visibility: hidden;
}

/* keep original spacing for rows but avoid text wrapping inside action cell */
.curr-action-cell > *[b-2vsyiu5m7d] {
    white-space: nowrap;
}

/* small tweak to reduce default .curr-row-btn padding elsewhere */
.curr-row-btn[b-2vsyiu5m7d] {
    font-size: 12px;
    padding: 0;
    height: auto;
    margin: 0 2px;
}
/* /Components/Pages/SAPUI/ItemMasterDataForm/SAPManagePriceLists.razor.rz.scp.css */
.sap_inner-card[b-5epoy795w1]{background:#fff;border:1px solid #e6e6e6;padding:1rem;border-radius:6px}
.sap_section-title[b-5epoy795w1]{margin:0 0 .5rem;font-size:1rem;font-weight:600}
.sap_table-actions[b-5epoy795w1]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}
.sap_table-no-data[b-5epoy795w1]{text-align:center;color:#888;padding:1rem}
.sap_table-wrapper[b-5epoy795w1]{overflow-x:auto;width:100%}
.sap-table[b-5epoy795w1]{width:100%;border-collapse:collapse;min-width:max-content}
.sap-table th[b-5epoy795w1],.sap-table td[b-5epoy795w1]{border:1px solid #f0f0f0;padding:.5rem;text-align:left;min-width:160px;white-space:nowrap}
.sap-table th:first-child[b-5epoy795w1],.sap-table td:first-child[b-5epoy795w1]{min-width:40px;width:40px;text-align:center}
.sap-table th:nth-child(2)[b-5epoy795w1],.sap-table td:nth-child(2)[b-5epoy795w1]{min-width:50px;width:50px;text-align:center}
.sap_input[b-5epoy795w1]{padding:.4rem .5rem;border:1px solid #ccc;border-radius:3px}
.sap_input_group[b-5epoy795w1]{display:flex;align-items:center;gap:.5rem}
.sap_input_btn[b-5epoy795w1]{background:#f3f3f3;border:1px solid #ddd;padding:.25rem .4rem;border-radius:3px;cursor:pointer}
.sap_dropdown-container[b-5epoy795w1]{position:relative}
.sap_dropdown-menu[b-5epoy795w1]{position:absolute;display:none;background:#fff;border:1px solid #ddd;z-index:10;min-width:160px}
.sap_dropdown-menu.show[b-5epoy795w1]{display:block}
.sap_dropdown-item[b-5epoy795w1]{padding:.4rem .6rem;cursor:pointer}
.sap_mt-16[b-5epoy795w1]{margin-top:1rem}
.sap_btn-action[b-5epoy795w1],.sap_btn[b-5epoy795w1],.sap_btn-primary[b-5epoy795w1]{padding:.4rem .6rem;border-radius:4px;border:1px solid #ccc;background:#fff;cursor:pointer}
.sap_btn-primary[b-5epoy795w1]{background:#0078d4;color:#fff;border-color:#0078d4}
.sap_table-actions-right[b-5epoy795w1]{display:flex;gap:.5rem;align-items:center}
.curr-scroll-wrapper[b-5epoy795w1] {
    overflow-x: auto;
    overflow-y: visible;
}

.curr-table[b-5epoy795w1] {
    min-width: max-content;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    position: relative;
}

/* make sticky action column narrow (target ~35px) */
.curr-sticky-col[b-5epoy795w1] {
    position: sticky;
    right: 0;
    z-index: 1;
    background: var(--color-surface, #fff);
    box-shadow: -3px 0 6px rgba(0,0,0,0.08);
    white-space: nowrap;
    /* reduced width: half of previous 70px target -> 35px */
    max-width: 70px !important;
}

/* center header text in actions column */
.curr-sticky-col-header[b-5epoy795w1] {
    z-index: 1;
    background: var(--color-header-bg, #f5f5f5);
    text-align: center;
    max-width: 70px !important;
}

/* highlight editing row */
.curr-row-editing td[b-5epoy795w1] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

.curr-row-editing .curr-sticky-col[b-5epoy795w1] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

/* action cell basics */
.curr-action-cell[b-5epoy795w1] {
    display: table-cell;
    vertical-align: middle;
    /* reduce padding so cell can shrink */
    padding: 2px 4px;
    gap: 4px;
    text-align: center; /* center everything inside the cell */
    width: 35px;
    min-width: 35px;
    max-width: 35px;
    overflow: visible;
}

/* make action buttons icon-only and remove any background/border/shadow */
.curr-action-cell .sap_btn[b-5epoy795w1],
.curr-action-cell .sap_btn-primary[b-5epoy795w1],
.curr-action-cell .curr-row-btn[b-5epoy795w1] {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 2px !important; /* reduce horizontal margins */
    height: auto !important;
    min-width: 0 !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ensure icon images are block and centered, slightly smaller */
.curr-action-cell img[b-5epoy795w1] {
    display: block;
    margin: 0 auto;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* slightly larger hit area without visible background (reduced) */
.curr-action-cell .sap_btn[b-5epoy795w1]::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-left: -28px; /* keep only hit area, not visible */
    pointer-events: none;
    visibility: hidden;
}

/* keep original spacing for rows but avoid text wrapping inside action cell */
.curr-action-cell > *[b-5epoy795w1] {
    white-space: nowrap;
}

/* small tweak to reduce default .curr-row-btn padding elsewhere */
.curr-row-btn[b-5epoy795w1] {
    font-size: 12px;
    padding: 0;
    height: auto;
    margin: 0 2px;
}
/* /Components/Pages/SAPUI/ItemMasterDataForm/SAPManageShippingTypes.razor.rz.scp.css */
.sap_inner-card[b-vwj21jfsx9]{background:#fff;border:1px solid #e6e6e6;padding:1rem;border-radius:6px}
.sap_section-title[b-vwj21jfsx9]{margin:0 0 .5rem;font-size:1rem;font-weight:600}
.sap_table-actions[b-vwj21jfsx9]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}
.sap_table-no-data[b-vwj21jfsx9]{text-align:center;color:#888;padding:1rem}
.sap_table-wrapper[b-vwj21jfsx9]{overflow-x:auto;width:100%}
.sap-table[b-vwj21jfsx9]{width:100%;border-collapse:collapse;min-width:max-content}
.sap-table th[b-vwj21jfsx9],.sap-table td[b-vwj21jfsx9]{border:1px solid #f0f0f0;padding:.5rem;text-align:left;min-width:160px;white-space:nowrap}
.sap-table th:first-child[b-vwj21jfsx9],.sap-table td:first-child[b-vwj21jfsx9]{min-width:40px;width:40px;text-align:center}
.sap-table th:nth-child(2)[b-vwj21jfsx9],.sap-table td:nth-child(2)[b-vwj21jfsx9]{min-width:50px;width:50px;text-align:center}
.sap_input[b-vwj21jfsx9]{padding:.4rem .5rem;border:1px solid #ccc;border-radius:3px}
.sap_input_group[b-vwj21jfsx9]{display:flex;align-items:center;gap:.5rem}
.sap_input_btn[b-vwj21jfsx9]{background:#f3f3f3;border:1px solid #ddd;padding:.25rem .4rem;border-radius:3px;cursor:pointer}
.sap_dropdown-container[b-vwj21jfsx9]{position:relative}
.sap_dropdown-menu[b-vwj21jfsx9]{position:absolute;display:none;background:#fff;border:1px solid #ddd;z-index:10;min-width:160px}
.sap_dropdown-menu.show[b-vwj21jfsx9]{display:block}
.sap_dropdown-item[b-vwj21jfsx9]{padding:.4rem .6rem;cursor:pointer}
.sap_mt-16[b-vwj21jfsx9]{margin-top:1rem}
.sap_btn-action[b-vwj21jfsx9],.sap_btn[b-vwj21jfsx9],.sap_btn-primary[b-vwj21jfsx9]{padding:.4rem .6rem;border-radius:4px;border:1px solid #ccc;background:#fff;cursor:pointer}
.sap_btn-primary[b-vwj21jfsx9]{background:#0078d4;color:#fff;border-color:#0078d4}
.sap_table-actions-right[b-vwj21jfsx9]{display:flex;gap:.5rem;align-items:center}
.curr-scroll-wrapper[b-vwj21jfsx9] {
    overflow-x: auto;
    overflow-y: visible;
}

.curr-table[b-vwj21jfsx9] {
    min-width: max-content;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    position: relative;
}

/* make sticky action column narrow (target ~35px) */
.curr-sticky-col[b-vwj21jfsx9] {
    position: sticky;
    right: 0;
    z-index: 1;
    background: var(--color-surface, #fff);
    box-shadow: -3px 0 6px rgba(0,0,0,0.08);
    white-space: nowrap;
    /* reduced width: half of previous 70px target -> 35px */
    max-width: 70px !important;
}

/* center header text in actions column */
.curr-sticky-col-header[b-vwj21jfsx9] {
    z-index: 1;
    background: var(--color-header-bg, #f5f5f5);
    text-align: center;
    max-width: 70px !important;
}

/* highlight editing row */
.curr-row-editing td[b-vwj21jfsx9] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

.curr-row-editing .curr-sticky-col[b-vwj21jfsx9] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

/* action cell basics */
.curr-action-cell[b-vwj21jfsx9] {
    display: table-cell;
    vertical-align: middle;
    /* reduce padding so cell can shrink */
    padding: 2px 4px;
    gap: 4px;
    text-align: center; /* center everything inside the cell */
    width: 35px;
    min-width: 35px;
    max-width: 35px;
    overflow: visible;
}

/* make action buttons icon-only and remove any background/border/shadow */
.curr-action-cell .sap_btn[b-vwj21jfsx9],
.curr-action-cell .sap_btn-primary[b-vwj21jfsx9],
.curr-action-cell .curr-row-btn[b-vwj21jfsx9] {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 2px !important; /* reduce horizontal margins */
    height: auto !important;
    min-width: 0 !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ensure icon images are block and centered, slightly smaller */
.curr-action-cell img[b-vwj21jfsx9] {
    display: block;
    margin: 0 auto;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* slightly larger hit area without visible background (reduced) */
.curr-action-cell .sap_btn[b-vwj21jfsx9]::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-left: -28px; /* keep only hit area, not visible */
    pointer-events: none;
    visibility: hidden;
}

/* keep original spacing for rows but avoid text wrapping inside action cell */
.curr-action-cell > *[b-vwj21jfsx9] {
    white-space: nowrap;
}

/* small tweak to reduce default .curr-row-btn padding elsewhere */
.curr-row-btn[b-vwj21jfsx9] {
    font-size: 12px;
    padding: 0;
    height: auto;
    margin: 0 2px;
}
/* /Components/Pages/SAPUI/ItemMasterDataForm/SAPManageTaxcodes.razor.rz.scp.css */
.sap_inner-card[b-sbho6a6n98]{background:#fff;border:1px solid #e6e6e6;padding:1rem;border-radius:6px}
.sap_section-title[b-sbho6a6n98]{margin:0 0 .5rem;font-size:1rem;font-weight:600}
.sap_table-actions[b-sbho6a6n98]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}
.sap_table-no-data[b-sbho6a6n98]{text-align:center;color:#888;padding:1rem}
.sap_table-wrapper[b-sbho6a6n98]{overflow-x:auto;width:100%}
.sap-table[b-sbho6a6n98]{width:100%;border-collapse:collapse;min-width:max-content}
.sap-table th[b-sbho6a6n98],.sap-table td[b-sbho6a6n98]{border:1px solid #f0f0f0;padding:.5rem;text-align:left;min-width:160px;white-space:nowrap}
.sap-table th:first-child[b-sbho6a6n98],.sap-table td:first-child[b-sbho6a6n98]{min-width:40px;width:40px;text-align:center}
.sap-table th:nth-child(2)[b-sbho6a6n98],.sap-table td:nth-child(2)[b-sbho6a6n98]{min-width:50px;width:50px;text-align:center}
.sap_input[b-sbho6a6n98]{padding:.4rem .5rem;border:1px solid #ccc;border-radius:3px}
.sap_input_group[b-sbho6a6n98]{display:flex;align-items:center;gap:.5rem}
.sap_input_btn[b-sbho6a6n98]{background:#f3f3f3;border:1px solid #ddd;padding:.25rem .4rem;border-radius:3px;cursor:pointer}
.sap_dropdown-container[b-sbho6a6n98]{position:relative}
.sap_dropdown-menu[b-sbho6a6n98]{position:absolute;display:none;background:#fff;border:1px solid #ddd;z-index:10;min-width:160px}
.sap_dropdown-menu.show[b-sbho6a6n98]{display:block}
.sap_dropdown-item[b-sbho6a6n98]{padding:.4rem .6rem;cursor:pointer}
.sap_mt-16[b-sbho6a6n98]{margin-top:1rem}
.sap_btn-action[b-sbho6a6n98],.sap_btn[b-sbho6a6n98],.sap_btn-primary[b-sbho6a6n98]{padding:.4rem .6rem;border-radius:4px;border:1px solid #ccc;background:#fff;cursor:pointer}
.sap_btn-primary[b-sbho6a6n98]{background:#0078d4;color:#fff;border-color:#0078d4}
.sap_table-actions-right[b-sbho6a6n98]{display:flex;gap:.5rem;align-items:center}
.curr-scroll-wrapper[b-sbho6a6n98] {
    overflow-x: auto;
    overflow-y: visible;
}

.curr-table[b-sbho6a6n98] {
    min-width: max-content;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    position: relative;
}

/* highlight editing row */
.curr-row-editing td[b-sbho6a6n98] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

.curr-row-editing .sticky-col-right[b-sbho6a6n98] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

/* action cell basics */
.curr-action-cell[b-sbho6a6n98] {
    display: table-cell;
    vertical-align: middle;
    /* reduce padding so cell can shrink */
    padding: 2px 4px;
    gap: 4px;
    text-align: center; /* center everything inside the cell */
    width: 35px;
    min-width: 35px;
    max-width: 35px;
    overflow: visible;
}

/* make action buttons icon-only and remove any background/border/shadow */
.curr-action-cell .sap_btn[b-sbho6a6n98],
.curr-action-cell .sap_btn-primary[b-sbho6a6n98],
.curr-action-cell .curr-row-btn[b-sbho6a6n98] {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 2px !important; /* reduce horizontal margins */
    height: auto !important;
    min-width: 0 !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ensure icon images are block and centered, slightly smaller */
.curr-action-cell img[b-sbho6a6n98] {
    display: block;
    margin: 0 auto;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* slightly larger hit area without visible background (reduced) */
.curr-action-cell .sap_btn[b-sbho6a6n98]::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-left: -28px; /* keep only hit area, not visible */
    pointer-events: none;
    visibility: hidden;
}

/* keep original spacing for rows but avoid text wrapping inside action cell */
.curr-action-cell > *[b-sbho6a6n98] {
    white-space: nowrap;
}

/* small tweak to reduce default .curr-row-btn padding elsewhere */
.curr-row-btn[b-sbho6a6n98] {
    font-size: 12px;
    padding: 0;
    height: auto;
    margin: 0 2px;
}
/* /Components/Pages/SAPUI/ItemMasterDataForm/SAPManageUoMs.razor.rz.scp.css */
.sap_inner-card[b-nyjudx48az]{background:#fff;border:1px solid #e6e6e6;padding:1rem;border-radius:6px}
.sap_section-title[b-nyjudx48az]{margin:0 0 .5rem;font-size:1rem;font-weight:600}
.sap_table-actions[b-nyjudx48az]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}
.sap_table-no-data[b-nyjudx48az]{text-align:center;color:#888;padding:1rem}
.sap_table-wrapper[b-nyjudx48az]{overflow-x:auto;width:100%}
.sap-table[b-nyjudx48az]{width:100%;border-collapse:collapse;min-width:max-content}
.sap-table th[b-nyjudx48az],.sap-table td[b-nyjudx48az]{border:1px solid #f0f0f0;padding:.5rem;text-align:left;min-width:160px;white-space:nowrap}
.sap-table th:first-child[b-nyjudx48az],.sap-table td:first-child[b-nyjudx48az]{min-width:40px;width:40px;text-align:center}
.sap-table th:nth-child(2)[b-nyjudx48az],.sap-table td:nth-child(2)[b-nyjudx48az]{min-width:50px;width:50px;text-align:center}
.sap_input[b-nyjudx48az]{padding:.4rem .5rem;border:1px solid #ccc;border-radius:3px}
.sap_input_group[b-nyjudx48az]{display:flex;align-items:center;gap:.5rem}
.sap_input_btn[b-nyjudx48az]{background:#f3f3f3;border:1px solid #ddd;padding:.25rem .4rem;border-radius:3px;cursor:pointer}
.sap_dropdown-container[b-nyjudx48az]{position:relative}
.sap_dropdown-menu[b-nyjudx48az]{position:absolute;display:none;background:#fff;border:1px solid #ddd;z-index:10;min-width:160px}
.sap_dropdown-menu.show[b-nyjudx48az]{display:block}
.sap_dropdown-item[b-nyjudx48az]{padding:.4rem .6rem;cursor:pointer}
.sap_mt-16[b-nyjudx48az]{margin-top:1rem}
.sap_btn-action[b-nyjudx48az],.sap_btn[b-nyjudx48az],.sap_btn-primary[b-nyjudx48az]{padding:.4rem .6rem;border-radius:4px;border:1px solid #ccc;background:#fff;cursor:pointer}
.sap_btn-primary[b-nyjudx48az]{background:#0078d4;color:#fff;border-color:#0078d4}
.sap_table-actions-right[b-nyjudx48az]{display:flex;gap:.5rem;align-items:center}
.curr-scroll-wrapper[b-nyjudx48az] {
    overflow-x: auto;
    overflow-y: visible;
}

.curr-table[b-nyjudx48az] {
    min-width: max-content;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    position: relative;
}

/* make sticky action column narrow (target ~35px) */
.curr-sticky-col[b-nyjudx48az] {
    position: sticky;
    right: 0;
    z-index: 1;
    background: var(--color-surface, #fff);
    box-shadow: -3px 0 6px rgba(0,0,0,0.08);
    white-space: nowrap;
    /* reduced width: half of previous 70px target -> 35px */
    max-width: 70px !important;
}

/* center header text in actions column */
.curr-sticky-col-header[b-nyjudx48az] {
    z-index: 1;
    background: var(--color-header-bg, #f5f5f5);
    text-align: center;
    max-width: 70px !important;
}

/* highlight editing row */
.curr-row-editing td[b-nyjudx48az] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

.curr-row-editing .curr-sticky-col[b-nyjudx48az] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

/* action cell basics */
.curr-action-cell[b-nyjudx48az] {
    display: table-cell;
    vertical-align: middle;
    /* reduce padding so cell can shrink */
    padding: 2px 4px;
    gap: 4px;
    text-align: center; /* center everything inside the cell */
    width: 35px;
    min-width: 35px;
    max-width: 35px;
    overflow: visible;
}

/* make action buttons icon-only and remove any background/border/shadow */
.curr-action-cell .sap_btn[b-nyjudx48az],
.curr-action-cell .sap_btn-primary[b-nyjudx48az],
.curr-action-cell .curr-row-btn[b-nyjudx48az] {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 2px !important; /* reduce horizontal margins */
    height: auto !important;
    min-width: 0 !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ensure icon images are block and centered, slightly smaller */
.curr-action-cell img[b-nyjudx48az] {
    display: block;
    margin: 0 auto;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* slightly larger hit area without visible background (reduced) */
.curr-action-cell .sap_btn[b-nyjudx48az]::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-left: -28px; /* keep only hit area, not visible */
    pointer-events: none;
    visibility: hidden;
}

/* keep original spacing for rows but avoid text wrapping inside action cell */
.curr-action-cell > *[b-nyjudx48az] {
    white-space: nowrap;
}

/* small tweak to reduce default .curr-row-btn padding elsewhere */
.curr-row-btn[b-nyjudx48az] {
    font-size: 12px;
    padding: 0;
    height: auto;
    margin: 0 2px;
}
/* /Components/Pages/SAPUI/ItemMasterDataForm/SAPMasterDataListType.razor.rz.scp.css */
.sap_table-no-data[b-3s5a3rkjp8]{text-align:center;color:#888;padding:1rem}
.sap-table[b-3s5a3rkjp8]{width:100%;border-collapse:collapse;min-width:max-content}
.sap-table th[b-3s5a3rkjp8],.sap-table td[b-3s5a3rkjp8]{border:1px solid #f0f0f0;padding:.5rem;text-align:left;min-width:160px;white-space:nowrap}
.sap-table th:first-child[b-3s5a3rkjp8],.sap-table td:first-child[b-3s5a3rkjp8]{min-width:40px;width:40px;text-align:center}
.sap_input[b-3s5a3rkjp8]{padding:.4rem .5rem;border:1px solid #ccc;border-radius:3px}
.sap_input_group[b-3s5a3rkjp8]{display:flex;align-items:center;gap:.5rem}
.sap_input_btn[b-3s5a3rkjp8]{background:#f3f3f3;border:1px solid #ddd;padding:.25rem .4rem;border-radius:3px;cursor:pointer}

/* select.sap_input strips the native dropdown arrow without drawing its own - add one back,
   scoped to just this component's selects, and fix the vertical padding that otherwise clips the
   selected option's text down to its descenders. */
.sap_input--select[b-3s5a3rkjp8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23556b82'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding: 3px 24px 3px 8px !important;
    line-height: 1.3 !important;
}
.sap_checkbox_label[b-3s5a3rkjp8] {
    margin-left: 0.4rem;
    vertical-align: middle;
}
.sap_btn.sap_primary[b-3s5a3rkjp8],
.sap_btn[b-3s5a3rkjp8] {
    background: none !important;
    border: none !important;
}

.curr-scroll-wrapper[b-3s5a3rkjp8] {
    overflow-x: auto;
    overflow-y: visible;
}

.curr-table[b-3s5a3rkjp8] {
    min-width: max-content;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    position: relative;
}

.curr-sticky-col[b-3s5a3rkjp8] {
    position: sticky;
    right: 0;
    z-index: 1;
    background: var(--color-surface, #fff);
    box-shadow: -3px 0 6px rgba(0,0,0,0.08);
    white-space: nowrap;
    max-width: 70px !important;
}

.curr-sticky-col-header[b-3s5a3rkjp8] {
    z-index: 1;
    background: var(--color-header-bg, #f5f5f5);
    text-align: center;
    max-width: 70px !important;
}

.curr-row-editing td[b-3s5a3rkjp8] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

.curr-row-editing .curr-sticky-col[b-3s5a3rkjp8] {
    background-color: var(--color-row-edit, #fffde7) !important;
}

.curr-action-cell[b-3s5a3rkjp8] {
    display: table-cell;
    vertical-align: middle;
    padding: 2px 4px;
    gap: 4px;
    text-align: center;
    width: 35px;
    min-width: 35px;
    max-width: 35px;
    overflow: visible;
}

.curr-action-cell .sap_btn[b-3s5a3rkjp8],
.curr-action-cell .sap_btn-primary[b-3s5a3rkjp8],
.curr-action-cell .curr-row-btn[b-3s5a3rkjp8] {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 2px !important;
    height: auto !important;
    min-width: 0 !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.curr-action-cell img[b-3s5a3rkjp8] {
    display: block;
    margin: 0 auto;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.curr-action-cell .sap_btn[b-3s5a3rkjp8]::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-left: -28px;
    pointer-events: none;
    visibility: hidden;
}

.curr-action-cell > *[b-3s5a3rkjp8] {
    white-space: nowrap;
}

.curr-row-btn[b-3s5a3rkjp8] {
    font-size: 12px;
    padding: 0;
    height: auto;
    margin: 0 2px;
}
/* /Components/Pages/SAPUI/ItemMasterDataForm/WareHousrDI.razor.rz.scp.css */
:root[b-b0fgs2c8t0] {
    --sap-bottom-bar-height: 56px;
    --sap-bottom-bar-gap: 24px;
}

.sap_page[b-b0fgs2c8t0] {
    padding-bottom: calc(var(--sap-bottom-bar-height) + var(--sap-bottom-bar-gap) + 16px) !important;
}

.sap_inner-card[b-b0fgs2c8t0],
.sap_card[b-b0fgs2c8t0],
section.sap_card[b-b0fgs2c8t0] {
    margin-bottom: 16px;
}

    .sap_inner-card:last-child[b-b0fgs2c8t0],
    .sap_card:last-child[b-b0fgs2c8t0],
    section.sap_card:last-child[b-b0fgs2c8t0] {
        margin-bottom: calc(var(--sap-bottom-bar-height) + var(--sap-bottom-bar-gap) + 24px);
    }

.sap_bottom-bar[b-b0fgs2c8t0] {
    z-index: 1200 !important;
}

.sap-safe-bottom[b-b0fgs2c8t0] {
    padding-bottom: calc(var(--sap-bottom-bar-height) + var(--sap-bottom-bar-gap) + 16px) !important;
}
/* /Components/Pages/SAPUI/LandedCostForm/LandedCostBaseDocModal.razor.rz.scp.css */
.lcb_toolbar[b-xgfsotx2an] {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.lcb_toolbar .sap_input[b-xgfsotx2an] {
    max-width: 240px;
}

.lcb_scroll[b-xgfsotx2an] {
    max-height: 55vh;
    overflow: auto;
}

.lcb_table[b-xgfsotx2an] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.lcb_table th[b-xgfsotx2an] {
    position: sticky;
    top: 0;
    background: #fff;
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid #d9d9d9;
    font-weight: 600;
    white-space: nowrap;
}

.lcb_table td[b-xgfsotx2an] {
    padding: 6px 8px;
    border-bottom: 1px solid #eef0f3;
}

.lcb_table tbody tr[b-xgfsotx2an] {
    cursor: pointer;
}

.lcb_table tbody tr:hover[b-xgfsotx2an] {
    background: #f5f7fa;
}

.lcb_num[b-xgfsotx2an] {
    text-align: right;
}

.lcb_empty[b-xgfsotx2an] {
    text-align: center;
    color: #6a6d70;
    padding: 16px;
}
/* /Components/Pages/SAPUI/LandedCostForm/LandedCostDI.razor.rz.scp.css */
/* Sticky header block: action header + summary bar + tabs */
.lc_sticky[b-k7da32u0wo] {
    position: sticky;
    top: 44px;
    z-index: 2;
    background: white;
}

/* ── Action header ── */
.lc_action-header[b-k7da32u0wo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    gap: 12px;
}

.lc_action-left[b-k7da32u0wo],
.lc_action-right[b-k7da32u0wo] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lc_action-right[b-k7da32u0wo] {
    flex-wrap: wrap;
}

.lc_title[b-k7da32u0wo] {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #333;
    margin: 0 15px;
}

.lc_nav-btn[b-k7da32u0wo] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: white;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc_nav-btn:hover:not(:disabled)[b-k7da32u0wo] {
    background: #e9ecef;
}

.lc_nav-btn:disabled[b-k7da32u0wo] {
    opacity: 0.5;
    cursor: not-allowed;
}

.lc_btn-primary[b-k7da32u0wo] {
    background: #0d6efd;
    color: white;
    border: 1px solid #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    padding: 2px 14px;
}

.lc_btn-primary:hover[b-k7da32u0wo] {
    background: #0b5ed7;
}

/* ── Summary bar ── */
.lc_summary-wrap[b-k7da32u0wo] {
    position: relative;
    padding-bottom: 14px;
}

/* Columns sit close together at their natural width; only when the row runs out of room do they wrap. */
.lc_summary-bar[b-k7da32u0wo] {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 50px;
}

.lc_summary-item[b-k7da32u0wo] {
    width: auto;
    min-width: 0;
}

/* Global .sap_label is a grid with a 220px first column (for form rows), which stretches every summary column. */
.lc_summary-item .sap_label[b-k7da32u0wo] {
    display: block;
}

.lc_summary-item--right[b-k7da32u0wo] {
    text-align: right;
}

.lc_summary-bp[b-k7da32u0wo] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lc_summary-code[b-k7da32u0wo] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    color: #0070F2;
}

.lc_summary-rule[b-k7da32u0wo] {
    margin: 0 45rem;
    border-top: 2px solid #d9d9d9;
}

.lc_toggle-btn[b-k7da32u0wo] {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 28px;
    height: 20px;
    padding: 0;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Page ── */
.lc_page[b-k7da32u0wo] {
    padding-bottom: 10rem;
    display: flex;
    flex-direction: column;
}

.lc_mt-18[b-k7da32u0wo] {
    margin-top: 18px;
}

.lc_mt-30[b-k7da32u0wo] {
    margin-top: 30px;
}

/* ── Form bits ── */
.lc_pair[b-k7da32u0wo] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: center;
}

.lc_readonly[b-k7da32u0wo] {
    min-height: 1.625rem;
    padding: 4px 8px;
    font-size: 0.9rem;
    color: #1d2d3e;
    border-bottom: 1px solid #d4dadf;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lc_label--top[b-k7da32u0wo] {
    align-items: start;
}

.lc_textarea[b-k7da32u0wo] {
    height: auto;
    min-height: 6rem;
    resize: vertical;
}

.lc_checkbox[b-k7da32u0wo] {
    width: 16px;
    height: 16px;
}

.lc_lookup[b-k7da32u0wo] {
    position: relative;
    display: flex;
    align-items: center;
}

.lc_bp-cell[b-k7da32u0wo] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lc_bp-cell .lc_lookup[b-k7da32u0wo] {
    flex: 1;
}

.lc_lookup-btn[b-k7da32u0wo] {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
}

/* ── Tables ── */
.lc_table[b-k7da32u0wo] {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.lc_table th[b-k7da32u0wo] {
    text-align: left;
    padding: 8px;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    font-weight: 600;
    white-space: nowrap;
}

.lc_table td[b-k7da32u0wo] {
    padding: 6px 8px;
    border-bottom: 1px solid #eef0f3;
    vertical-align: middle;
}

/* Items / Fixed Costs grids: fixed layout so the <colgroup> widths (and sapInitResize's drag widths) rule,
   one-line cells that end in "...", and a light divider between columns. */
.lc_table--grid[b-k7da32u0wo] {
    table-layout: fixed;
}

.lc_table--grid th[b-k7da32u0wo],
.lc_table--grid td[b-k7da32u0wo] {
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-right: 1px solid #e5e5e5;
}

.lc_table--grid th:last-child[b-k7da32u0wo],
.lc_table--grid td:last-child[b-k7da32u0wo] {
    border-right: none;
}

/* Frozen columns: sapApplyFrozenColumns (sapui_custom.js) adds .sap-frozen-col / .sap-frozen-col-last and
   the sticky left offset; these mirror sapui_custom.css's .sap-table-line rules for this grid. */
.lc_table td.sap-frozen-col[b-k7da32u0wo] {
    z-index: 1;
    background: #eaf3ff;
    box-shadow: inset -1px 0 0 #e5e5e5, inset 1px 0 0 #e5e5e5;
}

.lc_table td.sap-frozen-col:has(.sap-bp-popover)[b-k7da32u0wo] {
    z-index: 20;
}

.lc_table thead th.sap-frozen-col[b-k7da32u0wo] {
    z-index: 2;
    background: #d7e8fc;
    box-shadow: inset 0 1px 0 #bcc9d6, inset 0 -1px 0 #bcc9d6, inset -1px 0 0 #e5e5e5, inset 1px 0 0 #e5e5e5;
}

.lc_table td.sap-frozen-col-last[b-k7da32u0wo] {
    box-shadow: inset -1px 0 0 #e5e5e5, inset -4px 0 0 rgba(0, 112, 242, 0.45);
}

.lc_table thead th.sap-frozen-col-last[b-k7da32u0wo] {
    box-shadow: inset 0 1px 0 #bcc9d6, inset 0 -1px 0 #bcc9d6, inset -1px 0 0 #e5e5e5, inset -4px 0 0 rgba(0, 112, 242, 0.45);
}

.lc_item-cell[b-k7da32u0wo] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lc_item-text[b-k7da32u0wo] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lc_col-check[b-k7da32u0wo] {
    width: 36px;
    text-align: center;
}

.lc_col-no[b-k7da32u0wo] {
    width: 36px;
}

.lc_num[b-k7da32u0wo] {
    text-align: right;
}

.lc_center[b-k7da32u0wo] {
    text-align: center;
}

.lc_wrap[b-k7da32u0wo] {
    min-width: 220px;
    white-space: normal;
}

.lc_empty[b-k7da32u0wo] {
    text-align: center;
    color: #6a6d70;
    padding: 14px;
}

.lc_cell-input[b-k7da32u0wo] {
    text-align: right;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-overflow: ellipsis;
}

/* Global .sap_input is height:1.625rem + 6px vertical padding, which clips a <select>'s text in table cells. */
.lc_cell-select[b-k7da32u0wo] {
    height: auto;
    min-height: 1.625rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-overflow: ellipsis;
    padding-top: 2px;
    padding-bottom: 2px;
    line-height: 1.25;
}

.lc_scroll[b-k7da32u0wo] {
    overflow-x: auto;
}

/* ── Grid toolbar ── */
.lc_toolbar[b-k7da32u0wo] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 4px;
}

.lc_spacer[b-k7da32u0wo] {
    flex: 1;
}

.lc_link-btn[b-k7da32u0wo] {
    background: none;
    border: none;
    color: #0064D9;
    font-size: 14px;
    font-weight: 530;
    padding: 6px 4px;
    cursor: pointer;
}

.lc_link-btn:disabled[b-k7da32u0wo] {
    opacity: 0.5;
    cursor: not-allowed;
}

.lc_icon-btn[b-k7da32u0wo] {
    background: none;
    border: none;
    color: #0064D9;
    cursor: pointer;
    padding: 2px 6px;
}

.lc_icon-btn:disabled[b-k7da32u0wo] {
    opacity: 0.4;
    cursor: not-allowed;
}

.lc_menu[b-k7da32u0wo] {
    position: relative;
}

.lc_menu-list[b-k7da32u0wo] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    list-style: none;
    margin: 4px 0 0;
    padding: 6px 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lc_menu-list--right[b-k7da32u0wo] {
    left: auto;
    right: 0;
}

.lc_menu-list li[b-k7da32u0wo] {
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
}

.lc_menu-list li:hover[b-k7da32u0wo] {
    background: #f5f5f5;
}

/* ── Totals under the Costs grid ── */
.lc_totals[b-k7da32u0wo] {
    display: grid;
    gap: 8px;
    margin: 28px 0 0 auto;
    width: min(520px, 100%);
}
/* /Components/Pages/SAPUI/ManageSAPList/JECustomer.razor.rz.scp.css */
.jecu-grid[b-d6xycp8v43] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem 1rem;
    padding: 1rem 1.5rem 0.75rem;
}

@media (max-width: 1024px) {
    .jecu-grid[b-d6xycp8v43] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .jecu-grid[b-d6xycp8v43] {
        grid-template-columns: repeat(2, 1fr);
    }
}

.jecu-field[b-d6xycp8v43] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jecu-label[b-d6xycp8v43] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #26619d;
}

.jecu-input[b-d6xycp8v43] {
    width: 100%;
    height: 2rem;
    box-sizing: border-box;
    padding: 0.375rem 0.75rem;
    background: #eff4ff;
    border: none;
    outline: none;
    border-radius: 0.5rem;
    box-shadow: 0 0 0 1px #81b5f633;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #00345e;
}

    .jecu-input:focus[b-d6xycp8v43] {
        box-shadow: 0 0 0 2px #3755c333;
    }

    .jecu-input:disabled[b-d6xycp8v43] {
        background: #f8f9ff;
        color: #26619d88;
        cursor: not-allowed;
    }

.jecu-unbalanced[b-d6xycp8v43] {
    color: #d32f2f;
}

.jecu-table .jecu-num[b-d6xycp8v43] {
        text-align: right;
    }

.jecu-name[b-d6xycp8v43] {
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jecu-cell[b-d6xycp8v43] {
    width: 100%;
    min-width: 6rem;
    height: 1.75rem;
    box-sizing: border-box;
    padding: 0 6px;
    background: #eff4ff;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    color: #00345e;
}

    /* View mode: plain text like JournalEntryDIV2's table, not boxed inputs. */
    .jecu-cell:disabled[b-d6xycp8v43] {
        background: transparent;
        color: #32363a;
        -webkit-text-fill-color: #32363a;
        padding: 0;
    }

.jecu-cf[b-d6xycp8v43] {
    display: flex;
    gap: 4px;
    align-items: center;
}

.jecu-cf-list[b-d6xycp8v43] {
    max-height: 50vh;
    overflow-y: auto;
    margin-top: 0.75rem;
}

.jecu-cf-table[b-d6xycp8v43] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

    .jecu-cf-table th[b-d6xycp8v43], .jecu-cf-table td[b-d6xycp8v43] {
        padding: .4rem .5rem;
        border-bottom: 1px solid #e5e5e5;
    }

    .jecu-cf-table th[b-d6xycp8v43] {
        position: sticky;
        top: 0;
        background: #fff;
    }

    .jecu-cf-table tbody tr[b-d6xycp8v43] {
        cursor: pointer;
    }

        .jecu-cf-table tbody tr:hover[b-d6xycp8v43], .jecu-cf-table tbody tr.jecu-cf-selected[b-d6xycp8v43] {
            background: #eff4ff;
        }

.jecu-wide[b-d6xycp8v43] {
    min-width: 14rem;
}

.jecu-btn[b-d6xycp8v43] {
    min-width: 2rem;
    padding: 0 0.5rem;
}

.jecu-add[b-d6xycp8v43] {
    margin-top: 0.5rem;
}

/* Same table rules as SubSectionContentJEV2.razor.css (isolated there, so they don't reach this page). */
.sap_table-wrapper-line[b-d6xycp8v43] {
    overflow-x: auto;
    overflow-y: clip;
    padding-bottom: 70px;
    scrollbar-width: thin;
}

.sap-table-line[b-d6xycp8v43] {
    width: 100%;
    border-collapse: collapse;
    min-width: max-content;
}

    .sap-table-line th[b-d6xycp8v43], .sap-table-line td[b-d6xycp8v43] {
        padding: .5rem;
        text-align: left;
        min-width: 160px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        position: relative;
    }

        .sap-table-line th:first-child[b-d6xycp8v43], .sap-table-line td:first-child[b-d6xycp8v43] {
            min-width: 40px;
            width: 40px;
            text-align: center;
        }

    .sap-table-line th[b-d6xycp8v43] {
        user-select: none;
        font-weight: 600;
        border-right: 1px solid #e5e5e5;
        border-top: 1px solid #bcc9d6;
        border-bottom: 1px solid #bcc9d6;
    }

    .sap-table-line th:last-child[b-d6xycp8v43] {
        border-right: none;
    }

    .sap-table-line .jecu-total-row td[b-d6xycp8v43] {
        font-weight: 700;
        border-top: 2px solid #bcc9d6;
        border-bottom: none;
    }

    .sap-table-line td:has(.jecu-cell)[b-d6xycp8v43] {
        overflow: visible;
    }

    .sap-table-line .jecu-cell[b-d6xycp8v43] {
        min-width: 0;
    }

/* Page header + summary: same look as SubHeaderJE / SubSummarybarJE (isolated there, so they don't reach this page). */
.sap_action-header[b-d6xycp8v43] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    background: white;
    gap: 12px;
}

.sap_action-left[b-d6xycp8v43], .sap_action-right[b-d6xycp8v43] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_action-right[b-d6xycp8v43] {
    flex-wrap: wrap;
}

.sap_item-code[b-d6xycp8v43] {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #333;
    margin: 0 15px;
}

.sap_btn-white[b-d6xycp8v43] {
    color: #0064D9;
    font-size: 1rem;
    font-weight: 530;
    border-radius: 10px;
    border: 1px solid white;
    background: white;
    padding: .4rem .6rem;
    cursor: pointer;
}

    .sap_btn-white:hover:not(:disabled)[b-d6xycp8v43] {
        background: #f5f5f5;
    }

.sap_summary-bar[b-d6xycp8v43] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

.sap_summary-item[b-d6xycp8v43] {
    min-width: 0;
    flex: 0 0 auto;
}

    .sap_summary-item:first-child[b-d6xycp8v43] {
        flex: 1 1 200px;
        max-width: 300px;
    }

    .sap_summary-item:nth-child(2)[b-d6xycp8v43] {
        margin-right: 40px;
    }

    .sap_summary-item .sapMText[b-d6xycp8v43] {
        display: inline-block;
        white-space: nowrap;
        font-size: .875rem;
        color: #1d2d3e;
    }

.jecu-table-actions[b-d6xycp8v43] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.jecu-gear[b-d6xycp8v43] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .jecu-gear:hover[b-d6xycp8v43] {
        background: #e9ecef;
    }

.sap-col-resizer[b-d6xycp8v43] {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    cursor: col-resize;
    background: transparent;
    user-select: none;
    z-index: 10;
}

    .sap-col-resizer:hover[b-d6xycp8v43],
    .sap-col-resizer.resizing[b-d6xycp8v43] {
        background: rgba(0, 120, 212, 0.4);
    }
/* /Components/Pages/SAPUI/ManageSAPList/SAPAdaptFilterHeader.razor.rz.scp.css */
/* =====================================================================
   SAPAdaptFilterHeader – SAP-style adaptive header filter component
   ===================================================================== */

.sap-adapt-filter-root[b-uzxz2vr9og] {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 0.75rem 0.5rem;
    background: transparent;
}

/* Row of field columns */
.sap-adapt-filter-fields[b-uzxz2vr9og] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    align-items: flex-end;
    flex: 1;
}

/* Each individual field */
.sap-adapt-filter-field-col[b-uzxz2vr9og] {
  display: flex;
    flex-direction: column;
    min-width: 9rem;
    max-width: 14rem;
    flex: 1 1 9rem;
}

/* Label above input */
.sap-adapt-filter-label[b-uzxz2vr9og] {
    font-size: 0.75rem;
    color: #444;
  margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Wrapper for input + copy button */
.sap-adapt-filter-input-wrap[b-uzxz2vr9og] {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #b5cfe0;
  border-radius: 2px;
    background: #fff;
    height: 1.9rem;
}

.sap-adapt-filter-input-wrap:focus-within[b-uzxz2vr9og] {
border-color: #0070f2;
    box-shadow: 0 0 0 1px #0070f2;
}

/* Text / Number input */
.sap-adapt-filter-input[b-uzxz2vr9og] {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 0.3rem;
    font-size: 0.82rem;
    color: #222;
    height: 100%;
    min-width: 0;
}

.sap-adapt-filter-input[b-uzxz2vr9og]::-webkit-inner-spin-button,
.sap-adapt-filter-input[b-uzxz2vr9og]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

/* Copy / clear button */
.sap-adapt-filter-copy-btn[b-uzxz2vr9og] {
    border: none;
    background: none;
    padding: 0 0.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 100%;
    opacity: 0.7;
    flex-shrink: 0;
}

.sap-adapt-filter-copy-btn:hover[b-uzxz2vr9og] {
    opacity: 1;
}

/* ── Select / Dropdown ──────────────────────────────────────────────── */

.sap-adapt-filter-tags-box[b-uzxz2vr9og] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
  cursor: pointer;
    padding: 0 0.3rem;
    min-height: 1.9rem;
    width: 100%;
 user-select: none;
}

.sap-adapt-filter-caret[b-uzxz2vr9og] {
    margin-left: auto;
    font-size: 0.65rem;
    color: #666;
  padding-right: 0.15rem;
    flex-shrink: 0;
}

/* Tag chip (selected value) */
.sap-adapt-filter-tag[b-uzxz2vr9og] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    background: #e8f4fd;
    border: 1px solid #a8cfe8;
    border-radius: 2px;
    font-size: 0.78rem;
  padding: 0.05rem 0.3rem;
    color: #1a5276;
    white-space: nowrap;
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sap-adapt-filter-tag-remove[b-uzxz2vr9og] {
    cursor: pointer;
    font-size: 0.85rem;
    color: #888;
    line-height: 1;
}

.sap-adapt-filter-tag-remove:hover[b-uzxz2vr9og] {
    color: #c0392b;
}

/* Dropdown popup */
.sap-adapt-filter-dropdown[b-uzxz2vr9og] {
    position: absolute;
    top: calc(100% + 2px);
  left: 0;
    min-width: 100%;
  max-width: 20rem;
    background: #fff;
    border: 1px solid #b5cfe0;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
z-index: 9999;
    max-height: 16rem;
    overflow-y: auto;
}

.sap-adapt-filter-dropdown-search[b-uzxz2vr9og] {
    padding: 0.3rem 0.4rem;
border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    background: #fff;
}

.sap-adapt-filter-dropdown-search-input[b-uzxz2vr9og] {
    width: 100%;
    border: 1px solid #b5cfe0;
  border-radius: 2px;
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
    outline: none;
}

.sap-adapt-filter-dropdown-item[b-uzxz2vr9og] {
    padding: 0.3rem 0.6rem;
    font-size: 0.82rem;
    cursor: pointer;
    color: #222;
    white-space: nowrap;
}

.sap-adapt-filter-dropdown-item:hover[b-uzxz2vr9og] {
    background: #e8f4fd;
}

.sap-adapt-filter-dropdown-item.selected[b-uzxz2vr9og] {
    background: #d0eaf7;
    font-weight: 500;
    color: #0070f2;
}

/* ── Action buttons row ─────────────────────────────────────────────── */

.sap-adapt-filter-actions[b-uzxz2vr9og] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
    padding-top: 0.4rem;
}

.sap-adapt-filter-go-btn[b-uzxz2vr9og] {
    min-width: 3rem;
    height: 1.9rem;
    padding: 0 0.75rem;
    font-size: 0.82rem;
}

.sap-adapt-filter-adapt-btn[b-uzxz2vr9og] {
    background: none;
    border: none;
    color: #0070f2;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
    text-decoration: underline;
  text-underline-offset: 2px;
}

.sap-adapt-filter-adapt-btn:hover[b-uzxz2vr9og] {
    color: #004fa3;
}
/* /Components/Pages/SAPUI/ManageSAPList/SAPManageListPage.razor.rz.scp.css */
/* .sap-checkbox (format-driven Checkbox column) inherits app.css's global "input, select, button"
   rule (padding-left/right, border, background) meant for text inputs - that inflates its
   border-box and, combined with the default baseline vertical-align, makes the checkbox render
   noticeably higher than its .sap_checkbox_label text ("Yes"/"No"). Reset those and center both
   on the line so the checkbox sits level with its label. */
.sap-checkbox[b-a9jxoin91d] {
    padding: 0;
    border: none;
    background: none;
    vertical-align: middle;
}
.sap_checkbox_label[b-a9jxoin91d] {
    margin-left: 0.4rem;
    vertical-align: middle;
}
/* /Components/Pages/SAPUI/ManageSAPList/SAPVASReport.razor.rz.scp.css */
.vas-param-row[b-fty4ab4oyu] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.vas-param-label[b-fty4ab4oyu] {
    flex: 0 0 180px;
    margin: 0;
    text-align: left;
}

.vas-param-input[b-fty4ab4oyu] {
    flex: 1 1 auto;
    min-width: 0;
}
/* /Components/Pages/SAPUI/ManageSAPList/VASReportForCustommer.razor.rz.scp.css */


.vsap-tabs[b-l5sxcdy7qn] {
    display: flex;
    gap: 0.25rem;
}

.vsap-tab[b-l5sxcdy7qn] {
    border: 1px solid #d9d9d9;
    background: #fff;
    padding: 0.35rem 1rem;
    border-radius: 4px;
    color: #0070f2;
}

.vsap-tab.active[b-l5sxcdy7qn] {
    background: #0070f2;
    color: #fff;
    border-color: #0070f2;
}

/* The Update Journal Entry button sits left of the tabs, set apart from them. */
.vsap-tab-action[b-l5sxcdy7qn] {
    margin-right: 0.75rem;
}

.vsap-search[b-l5sxcdy7qn] {
    max-width: 320px;
}

.vsap-table[b-l5sxcdy7qn] {
    margin: 0;
}

.vsap-table thead th[b-l5sxcdy7qn] {
    position: sticky;
    top: 0;
    background: #fff;
}

.vsap-row-title[b-l5sxcdy7qn] {
    background: #f0f4fa;
}

/* Template tab view mode: Targets / Present read like the edit-mode inputs (same size, not bold). */
.vsap-tpl td[b-l5sxcdy7qn] {
    font-size: 0.875rem;
    font-weight: 400;
}

    .vsap-tpl td[b-l5sxcdy7qn]  span {
        font-weight: 400 !important;
    }

.vsap-col-btn[b-l5sxcdy7qn] {
    width: 1%;
    white-space: nowrap;
    text-align: center;
}

.vsap-btn[b-l5sxcdy7qn] {
    min-width: 2rem;
    padding: 0 0.5rem;
}

/* The search box stays put and only the table scrolls, with its header row pinned to the top of the scroll area. */
.vsap-modal-body[b-l5sxcdy7qn] {
    display: flex;
    flex-direction: column;
    height: 60vh;
    padding: 0 1rem 1rem;
    overflow: hidden;
}

    .vsap-modal-body .vsap-search[b-l5sxcdy7qn] {
        flex: 0 0 auto;
        margin: 0.75rem 0 0.5rem;
    }

.vsap-add-form[b-l5sxcdy7qn] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 1rem 1rem;
}

/* Formula Definition: lines in the left column, the signs in the right one, each sign half a row below the line it follows. */
.vsap-fx-cols[b-l5sxcdy7qn] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex: 0 0 auto;
}

.vsap-fx-items[b-l5sxcdy7qn] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vsap-fx-ops[b-l5sxcdy7qn] {
    width: 5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1.2rem;
}

.vsap-modal-scroll[b-l5sxcdy7qn] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

    .vsap-modal-scroll .vsap-table thead th[b-l5sxcdy7qn] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #fff;
        box-shadow: inset 0 -1px 0 #dee2e6;
    }

    /* Account and Name read from the left edge; only the checkbox / button columns are centred. */
    .vsap-modal-scroll .vsap-table th[b-l5sxcdy7qn],
    .vsap-modal-scroll .vsap-table td[b-l5sxcdy7qn] {
        text-align: left;
    }

    .vsap-modal-scroll .vsap-table .vsap-col-check[b-l5sxcdy7qn],
    .vsap-modal-scroll .vsap-table .vsap-col-btn[b-l5sxcdy7qn] {
        text-align: center;
    }

.vsap-table-click tbody tr[b-l5sxcdy7qn] {
    cursor: pointer;
}

.vsap-table-click tbody tr:hover[b-l5sxcdy7qn] {
    background: #eaf2ff;
}

.vsap-tabs[b-l5sxcdy7qn] {
    align-self: center;
}

/* Report tab: same look as the General Ledger page (left list card, grid table). */
.vsap-left[b-l5sxcdy7qn] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
}

.vsap-left__bar[b-l5sxcdy7qn] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px 8px calc(12px + 1.5rem);
    border-bottom: 1px solid #e0e0e0;
}

.vsap-left__search[b-l5sxcdy7qn] {
    flex: 1;
    min-width: 0;
    height: 1.75rem;
    padding: 0 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.875rem;
}

.vsap-left__btn[b-l5sxcdy7qn] {
    height: 1.75rem;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #0064d9;
    border-radius: 4px;
    color: #0064d9;
    font-size: 0.8125rem;
    cursor: pointer;
}

    .vsap-left__btn:hover[b-l5sxcdy7qn] {
        background: #eaf2fd;
    }

.vsap-field[b-l5sxcdy7qn] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    font-size: 0.75rem;
    color: #666;
}

    .vsap-field input[b-l5sxcdy7qn] {
        height: 1.875rem;
        padding: 0 8px;
        border: 1px solid #c3c6d7;
        border-radius: 8px;
        background: #f3f4f6;
        font-size: 0.875rem;
        color: #191c1e;
    }

.vsap-export[b-l5sxcdy7qn] {
    height: 1.875rem;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #217346;
    border-radius: 4px;
    color: #217346;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

    .vsap-export:hover:not(:disabled)[b-l5sxcdy7qn] {
        background: #eaf2fd;
    }

    .vsap-export:disabled[b-l5sxcdy7qn] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.vsap-export__spin[b-l5sxcdy7qn] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
    border: 2px solid #217346;
    border-right-color: transparent;
    border-radius: 50%;
    animation: vsap-export-spin-b-l5sxcdy7qn 0.7s linear infinite;
}

@keyframes vsap-export-spin-b-l5sxcdy7qn {
    to { transform: rotate(360deg); }
}

.vsap-scroll[b-l5sxcdy7qn] {
    height: 100%;
    overflow: auto;
}

.vsap-empty[b-l5sxcdy7qn] {
    padding: 24px;
    color: #666;
    font-size: 0.875rem;
}

.vsap-more[b-l5sxcdy7qn] {
    padding: 8px;
    text-align: center;
    color: #666;
    font-size: 0.8125rem;
}

.vsap-table-title[b-l5sxcdy7qn] {
    padding: 8px 8px 4px;
    font-weight: 600;
    font-size: 0.8125rem;
}

.vsap-grid[b-l5sxcdy7qn] {
    width: 100%;
    border-collapse: collapse;
    font-size: 18px;
}

    .vsap-grid th[b-l5sxcdy7qn],
    .vsap-grid td[b-l5sxcdy7qn] {
        padding: 8px 8px;
        line-height: 1.4;
        border: 1px solid #e0e0e0;
        white-space: nowrap;
    }

    .vsap-grid thead th[b-l5sxcdy7qn] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #e8e8e8;
        text-align: left;
    }

.vsap-tools[b-l5sxcdy7qn] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 16px;
}

.vsap-run[b-l5sxcdy7qn] {
    height: 1.875rem;
    padding: 0 20px;
    background: #004ac6;
    border: 1px solid #004ac6;
    border-radius: 8px;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
}

    .vsap-run:hover[b-l5sxcdy7qn] {
        background: #003da3;
    }

.vsap-field select[b-l5sxcdy7qn] {
    height: 1.875rem;
    padding: 0 8px;
    border: 1px solid #c3c6d7;
    border-radius: 8px;
    background: #f3f4f6;
    font-size: 0.875rem;
    color: #191c1e;
}

.vsap-cell-select[b-l5sxcdy7qn] {
    height: 1.5rem;
    padding: 0 4px;
    font-size: 0.8125rem;
}


.vsap-input-group[b-l5sxcdy7qn] {
    display: flex;
}

    .vsap-input-group input[b-l5sxcdy7qn] {
        min-width: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

.vsap-pick[b-l5sxcdy7qn] {
    height: 1.875rem;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #c3c6d7;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    color: #0064d9;
    cursor: pointer;
}

    .vsap-pick:hover[b-l5sxcdy7qn] {
        background: #eaf2fd;
    }

/* General Journal: the printed "sổ nhật ký chung" layout (same look as SAPTrialBalance's tb-* block). */
.gj-report[b-l5sxcdy7qn] {
    padding: 12px 16px 24px;
    color: #000;
    font-size: 14px;
}

.gj-head[b-l5sxcdy7qn] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.gj-company > div[b-l5sxcdy7qn] {
    margin-bottom: 6px;
}

.gj-form[b-l5sxcdy7qn] {
    flex: 0 0 18rem;
    text-align: center;
}

.gj-form__note[b-l5sxcdy7qn] {
    margin-top: 4px;
    padding: 4px 6px;
    border: 1px solid #1a6b3c;
    font-size: 0.75rem;
}

.gj-title[b-l5sxcdy7qn] {
    margin-top: 4px;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: #e00000;
}

.gj-period[b-l5sxcdy7qn] {
    margin: 4px 0 12px;
    text-align: center;
    font-weight: 600;
}

.gj-period--split[b-l5sxcdy7qn] {
    display: flex;
    justify-content: space-between;
    max-width: 60rem;
    font-weight: 400;
}

.gj-table[b-l5sxcdy7qn] {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #000;
}

    .gj-table th[b-l5sxcdy7qn],
    .gj-table td[b-l5sxcdy7qn] {
        padding: 4px 6px;
        border: 1px solid #000;
    }

    .gj-table thead th[b-l5sxcdy7qn] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #fff;
        text-align: center;
        font-weight: 700;
        white-space: nowrap;
    }

    .gj-table .gj-c[b-l5sxcdy7qn] {
        text-align: center;
        white-space: nowrap;
    }

    .gj-table .gj-t[b-l5sxcdy7qn] {
        text-align: left;
    }

    .gj-table .gj-n[b-l5sxcdy7qn] {
        text-align: right;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

    .gj-table .gj-doc[b-l5sxcdy7qn] {
        color: #0070f2;
        cursor: pointer;
    }

/* General Ledger: the opening / period / closing summary sits above the Nợ / Có columns, right-aligned. */
.gj-sum[b-l5sxcdy7qn] {
    width: auto;
    margin: 12px 0 12px auto;
}

    .gj-sum td:first-child[b-l5sxcdy7qn] {
        min-width: 11rem;
    }

.gj-table .gj-index th[b-l5sxcdy7qn] {
    font-weight: 600;
}

.gj-table tfoot td[b-l5sxcdy7qn] {
    font-weight: 700;
}

/* Trial Balance: heavier grid and a grey total row, as in the printed form. */
.gj-tb th[b-l5sxcdy7qn],
.gj-tb td[b-l5sxcdy7qn] {
    border-width: 2px;
}

.gj-tb tfoot td[b-l5sxcdy7qn] {
    background: #e6e6e6;
}

/* Balance Sheet / Profit and Loss: a narrower statement table with a bold, centred header and index row. */
.gj-fin[b-l5sxcdy7qn] {
    width: 60rem;
    max-width: 100%;
}

    .gj-fin .gj-index th[b-l5sxcdy7qn] {
        font-weight: 700;
    }

/* Cash Flow (direct): section headings and totals. */
.gj-fin .gj-bold td[b-l5sxcdy7qn] {
    font-weight: 700;
}

.gj-sign[b-l5sxcdy7qn] {
    display: flex;
    justify-content: space-around;
    width: 60rem;
    max-width: 100%;
    margin: 24px 0 64px;
    text-align: center;
}

.gj-notes[b-l5sxcdy7qn] {
    max-width: 36rem;
    font-size: 0.8125rem;
}

    .gj-notes > div[b-l5sxcdy7qn] {
        margin-bottom: 6px;
    }

/* Only the title row of the main table sticks; the "(1) (2) ..." row and the summary header scroll normally. */
.gj-table .gj-index th[b-l5sxcdy7qn],
.gj-sum thead th[b-l5sxcdy7qn] {
    position: static;
}

.vsap-leaf-only[b-l5sxcdy7qn] {
    align-items: flex-start;
    cursor: pointer;
}

    .vsap-leaf-only input[b-l5sxcdy7qn] {
        height: 1.875rem;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

.gj-tb .gj-rollup td[b-l5sxcdy7qn] {
    font-weight: 700;
    background: #f5f6f7;
}
/* /Components/Pages/SAPUI/ManageSAPList/VASReportSAP.razor.rz.scp.css */


.vsap-tabs[b-2p29376xqw] {
    display: flex;
    gap: 0.25rem;
}

.vsap-tab[b-2p29376xqw] {
    border: 1px solid #d9d9d9;
    background: #fff;
    padding: 0.35rem 1rem;
    border-radius: 4px;
    color: #0070f2;
}

.vsap-tab.active[b-2p29376xqw] {
    background: #0070f2;
    color: #fff;
    border-color: #0070f2;
}

.vsap-search[b-2p29376xqw] {
    max-width: 320px;
}

.vsap-table[b-2p29376xqw] {
    margin: 0;
}

.vsap-table thead th[b-2p29376xqw] {
    position: sticky;
    top: 0;
    background: #fff;
}

.vsap-row-title[b-2p29376xqw] {
    background: #f0f4fa;
}

/* Template tab view mode: Targets / Present read like the edit-mode inputs (same size, not bold). */
.vsap-tpl td[b-2p29376xqw] {
    font-size: 0.875rem;
    font-weight: 400;
}

    .vsap-tpl td[b-2p29376xqw]  span {
        font-weight: 400 !important;
    }

.vsap-col-btn[b-2p29376xqw] {
    width: 1%;
    white-space: nowrap;
    text-align: center;
}

.vsap-btn[b-2p29376xqw] {
    min-width: 2rem;
    padding: 0 0.5rem;
}

/* The search box stays put and only the table scrolls, with its header row pinned to the top of the scroll area. */
.vsap-modal-body[b-2p29376xqw] {
    display: flex;
    flex-direction: column;
    height: 60vh;
    padding: 0 1rem 1rem;
    overflow: hidden;
}

    .vsap-modal-body .vsap-search[b-2p29376xqw] {
        flex: 0 0 auto;
        margin: 0.75rem 0 0.5rem;
    }

.vsap-add-form[b-2p29376xqw] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 1rem 1rem;
}

/* Formula Definition: lines in the left column, the signs in the right one, each sign half a row below the line it follows. */
.vsap-fx-cols[b-2p29376xqw] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex: 0 0 auto;
}

.vsap-fx-items[b-2p29376xqw] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vsap-fx-ops[b-2p29376xqw] {
    width: 5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1.2rem;
}

.vsap-modal-scroll[b-2p29376xqw] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

    .vsap-modal-scroll .vsap-table thead th[b-2p29376xqw] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #fff;
        box-shadow: inset 0 -1px 0 #dee2e6;
    }

    /* Account and Name read from the left edge; only the checkbox / button columns are centred. */
    .vsap-modal-scroll .vsap-table th[b-2p29376xqw],
    .vsap-modal-scroll .vsap-table td[b-2p29376xqw] {
        text-align: left;
    }

    .vsap-modal-scroll .vsap-table .vsap-col-check[b-2p29376xqw],
    .vsap-modal-scroll .vsap-table .vsap-col-btn[b-2p29376xqw] {
        text-align: center;
    }

.vsap-table-click tbody tr[b-2p29376xqw] {
    cursor: pointer;
}

.vsap-table-click tbody tr:hover[b-2p29376xqw] {
    background: #eaf2ff;
}

.vsap-tabs[b-2p29376xqw] {
    align-self: center;
}

/* Report tab: same look as the General Ledger page (left list card, grid table). */
.vsap-left[b-2p29376xqw] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
}

.vsap-left__bar[b-2p29376xqw] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px 8px calc(12px + 1.5rem);
    border-bottom: 1px solid #e0e0e0;
}

.vsap-left__search[b-2p29376xqw] {
    flex: 1;
    min-width: 0;
    height: 1.75rem;
    padding: 0 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.875rem;
}

.vsap-left__btn[b-2p29376xqw] {
    height: 1.75rem;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #0064d9;
    border-radius: 4px;
    color: #0064d9;
    font-size: 0.8125rem;
    cursor: pointer;
}

    .vsap-left__btn:hover[b-2p29376xqw] {
        background: #eaf2fd;
    }

.vsap-field[b-2p29376xqw] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    font-size: 0.75rem;
    color: #666;
}

    .vsap-field input[b-2p29376xqw] {
        height: 1.875rem;
        padding: 0 8px;
        border: 1px solid #c3c6d7;
        border-radius: 8px;
        background: #f3f4f6;
        font-size: 0.875rem;
        color: #191c1e;
    }

.vsap-export[b-2p29376xqw] {
    height: 1.875rem;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #217346;
    border-radius: 4px;
    color: #217346;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

    .vsap-export:hover:not(:disabled)[b-2p29376xqw] {
        background: #eaf2fd;
    }

    .vsap-export:disabled[b-2p29376xqw] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.vsap-scroll[b-2p29376xqw] {
    height: 100%;
    overflow: auto;
}

.vsap-empty[b-2p29376xqw] {
    padding: 24px;
    color: #666;
    font-size: 0.875rem;
}

.vsap-more[b-2p29376xqw] {
    padding: 8px;
    text-align: center;
    color: #666;
    font-size: 0.8125rem;
}

.vsap-table-title[b-2p29376xqw] {
    padding: 8px 8px 4px;
    font-weight: 600;
    font-size: 0.8125rem;
}

.vsap-grid[b-2p29376xqw] {
    width: 100%;
    border-collapse: collapse;
    font-size: 18px;
}

    .vsap-grid th[b-2p29376xqw],
    .vsap-grid td[b-2p29376xqw] {
        padding: 8px 8px;
        line-height: 1.4;
        border: 1px solid #e0e0e0;
        white-space: nowrap;
    }

    .vsap-grid thead th[b-2p29376xqw] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #e8e8e8;
        text-align: left;
    }

.vsap-tools[b-2p29376xqw] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 16px;
}

.vsap-run[b-2p29376xqw] {
    height: 1.875rem;
    padding: 0 20px;
    background: #004ac6;
    border: 1px solid #004ac6;
    border-radius: 8px;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
}

    .vsap-run:hover[b-2p29376xqw] {
        background: #003da3;
    }

.vsap-field select[b-2p29376xqw] {
    height: 1.875rem;
    padding: 0 8px;
    border: 1px solid #c3c6d7;
    border-radius: 8px;
    background: #f3f4f6;
    font-size: 0.875rem;
    color: #191c1e;
}

.vsap-cell-select[b-2p29376xqw] {
    height: 1.5rem;
    padding: 0 4px;
    font-size: 0.8125rem;
}


.vsap-input-group[b-2p29376xqw] {
    display: flex;
}

    .vsap-input-group input[b-2p29376xqw] {
        min-width: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

.vsap-pick[b-2p29376xqw] {
    height: 1.875rem;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #c3c6d7;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    color: #0064d9;
    cursor: pointer;
}

    .vsap-pick:hover[b-2p29376xqw] {
        background: #eaf2fd;
    }

/* General Journal: the printed "sổ nhật ký chung" layout (same look as SAPTrialBalance's tb-* block). */
.gj-report[b-2p29376xqw] {
    padding: 12px 16px 24px;
    color: #000;
    font-size: 14px;
}

.gj-head[b-2p29376xqw] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.gj-company > div[b-2p29376xqw] {
    margin-bottom: 6px;
}

.gj-form[b-2p29376xqw] {
    flex: 0 0 18rem;
    text-align: center;
}

.gj-form__note[b-2p29376xqw] {
    margin-top: 4px;
    padding: 4px 6px;
    border: 1px solid #1a6b3c;
    font-size: 0.75rem;
}

.gj-title[b-2p29376xqw] {
    margin-top: 4px;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: #e00000;
}

.gj-period[b-2p29376xqw] {
    margin: 4px 0 12px;
    text-align: center;
    font-weight: 600;
}

.gj-period--split[b-2p29376xqw] {
    display: flex;
    justify-content: space-between;
    max-width: 60rem;
    font-weight: 400;
}

.gj-table[b-2p29376xqw] {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #000;
}

    .gj-table th[b-2p29376xqw],
    .gj-table td[b-2p29376xqw] {
        padding: 4px 6px;
        border: 1px solid #000;
    }

    .gj-table thead th[b-2p29376xqw] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #fff;
        text-align: center;
        font-weight: 700;
        white-space: nowrap;
    }

    .gj-table .gj-c[b-2p29376xqw] {
        text-align: center;
        white-space: nowrap;
    }

    .gj-table .gj-t[b-2p29376xqw] {
        text-align: left;
    }

    .gj-table .gj-n[b-2p29376xqw] {
        text-align: right;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

    .gj-table .gj-doc[b-2p29376xqw] {
        color: #0070f2;
        cursor: pointer;
    }

/* General Ledger: the opening / period / closing summary sits above the Nợ / Có columns, right-aligned. */
.gj-sum[b-2p29376xqw] {
    width: auto;
    margin: 12px 0 12px auto;
}

    .gj-sum td:first-child[b-2p29376xqw] {
        min-width: 11rem;
    }

.gj-table .gj-index th[b-2p29376xqw] {
    font-weight: 600;
}

.gj-table tfoot td[b-2p29376xqw] {
    font-weight: 700;
}

/* Trial Balance: heavier grid and a grey total row, as in the printed form. */
.gj-tb th[b-2p29376xqw],
.gj-tb td[b-2p29376xqw] {
    border-width: 2px;
}

.gj-tb tfoot td[b-2p29376xqw] {
    background: #e6e6e6;
}

/* Balance Sheet / Profit and Loss: a narrower statement table with a bold, centred header and index row. */
.gj-fin[b-2p29376xqw] {
    width: 60rem;
    max-width: 100%;
}

    .gj-fin .gj-index th[b-2p29376xqw] {
        font-weight: 700;
    }

.gj-sign[b-2p29376xqw] {
    display: flex;
    justify-content: space-around;
    width: 60rem;
    max-width: 100%;
    margin: 24px 0 64px;
    text-align: center;
}

.gj-notes[b-2p29376xqw] {
    max-width: 36rem;
    font-size: 0.8125rem;
}

    .gj-notes > div[b-2p29376xqw] {
        margin-bottom: 6px;
    }

/* Only the title row of the main table sticks; the "(1) (2) ..." row and the summary header scroll normally. */
.gj-table .gj-index th[b-2p29376xqw],
.gj-sum thead th[b-2p29376xqw] {
    position: static;
}
/* /Components/Pages/SAPUI/MisaEInvoice.razor.rz.scp.css */
.misa-page[b-0jn1d7h3iw] { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.misa-header[b-0jn1d7h3iw] { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.misa-title[b-0jn1d7h3iw] { margin: 0; }
.misa-actions[b-0jn1d7h3iw] { display: flex; gap: 8px; }

.misa-filter[b-0jn1d7h3iw] { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.misa-filter label[b-0jn1d7h3iw] { display: flex; flex-direction: column; font-size: 12px; gap: 2px; }
.misa-input[b-0jn1d7h3iw] { height: 32px; padding: 0 8px; border: 1px solid #ced4da; border-radius: 4px; min-width: 140px; }

.misa-btn[b-0jn1d7h3iw] { height: 32px; padding: 0 14px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: 13px; }
.misa-btn:disabled[b-0jn1d7h3iw] { opacity: 0.55; cursor: not-allowed; }
.misa-btn-primary[b-0jn1d7h3iw] { background: #0d6efd; color: #fff; }
.misa-btn-secondary[b-0jn1d7h3iw] { background: #fff; color: #0d6efd; border-color: #0d6efd; }

.misa-table-wrap[b-0jn1d7h3iw] { overflow: auto; max-height: calc(100vh - 220px); border: 1px solid #dee2e6; border-radius: 4px; }
.misa-table[b-0jn1d7h3iw] { width: 100%; border-collapse: collapse; font-size: 13px; }
.misa-table th[b-0jn1d7h3iw], .misa-table td[b-0jn1d7h3iw] { padding: 6px 10px; border-bottom: 1px solid #eee; text-align: left; white-space: nowrap; }
.misa-table th[b-0jn1d7h3iw] { position: sticky; top: 0; background: #f1f3f5; z-index: 1; }
.misa-col-check[b-0jn1d7h3iw] { width: 36px; text-align: center !important; }
.misa-num[b-0jn1d7h3iw] { text-align: right !important; }
.misa-docno[b-0jn1d7h3iw] { display: inline-flex; align-items: center; gap: 4px; }
.misa-empty[b-0jn1d7h3iw] { text-align: center !important; padding: 24px !important; color: #868e96; }
.misa-error[b-0jn1d7h3iw] { max-width: 320px; overflow: hidden; text-overflow: ellipsis; color: #c92a2a; }

.misa-inv-input[b-0jn1d7h3iw] { min-width: 120px; width: 140px; }
.misa-modal-table[b-0jn1d7h3iw] { max-height: 50vh; text-align: left; }

.misa-badge[b-0jn1d7h3iw] {padding: 2px 8px; border-radius: 10px; font-size: 12px; background: #e9ecef; color: #495057; }
.misa-badge-pushed[b-0jn1d7h3iw] { background: #fff3bf; color: #8f6b00; }
.misa-badge-synced[b-0jn1d7h3iw] { background: #d3f9d8; color: #2b8a3e; }
.misa-badge-failed[b-0jn1d7h3iw] { background: #ffe3e3; color: #c92a2a; }
/* /Components/Pages/SAPUI/RelationshipMapModal.razor.rz.scp.css */
/* ── Overlay ─────────────────────────────────────────────────────────── */
.relationship-map-overlay[b-7izq8hlkl8] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
  opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.relationship-map-overlay.visible[b-7izq8hlkl8] {
        opacity: 1;
    pointer-events: all;
    }
.rm-scroll-container[b-7izq8hlkl8] {
    cursor: grab;
    overflow: auto;
    scrollbar-width: none; /* ← Firefox */
    -ms-overflow-style: none; /* ← IE/Edge */
}

    .rm-scroll-container[b-7izq8hlkl8]::-webkit-scrollbar {
        display: none; /* ← Chrome/Safari */
    }

    .rm-scroll-container:active[b-7izq8hlkl8] {
        cursor: grabbing;
    }
.relationship-map-dialog[b-7izq8hlkl8] {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    width: 1150px;
    max-width: 96vw;
    height: 70vh; /* ← đổi max-height thành height */
    max-height: 70vh; /* ← giữ lại để an toàn */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: '72','SAP 72',Arial,sans-serif;
    transition: width .2s, height .2s;
}

    .relationship-map-dialog.fullscreen[b-7izq8hlkl8] {
        width: calc(100vw - 12rem) !important;
        max-width: calc(100vw - 12rem) !important;
     height: calc(100vh - 6rem) !important;
        max-height: calc(100vh - 6rem) !important;
   border-radius: 10px;
        margin: 4rem  5rem;
    }

/* ── Header ──────────────────────────────────────────────────────────── */
.rm-header[b-7izq8hlkl8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0;
    background: #fff;
}

.rm-title[b-7izq8hlkl8] {
  margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #32363a;
}

.rm-header-actions[b-7izq8hlkl8] {
    display: flex;
    gap: 4px;
}

.rm-icon-btn[b-7izq8hlkl8] {
    background: transparent;
 border: 1px solid transparent;
    border-radius: 3px;
    padding: 5px 7px;
    cursor: pointer;
    color: #0a6ed1;
    display: flex;
    align-items: center;
    transition: background .15s, border-color .15s;
}

    .rm-icon-btn:hover[b-7izq8hlkl8] {
        background: #f0f4fb;
        border-color: #c5d9f5;
    }

.rm-body[b-7izq8hlkl8] {
    flex: 1;
    overflow: hidden;
    min-height: 0; /* ← thêm dòng này */
    background: #fff;
}


.rm-scroll-container[b-7izq8hlkl8] {
    width: 100%;
    height: 100%;
    overflow: auto;
}

.rm-content[b-7izq8hlkl8] {
    padding: 0;
    display: inline-block; /* ← đổi lại inline-block */
    min-width: unset; /* ← bỏ min-width: 100% */
}
.rm-inner[b-7izq8hlkl8] {
    display: inline-flex;
    flex-direction: column;
    padding: 0 32px 32px 32px;
    min-width: fit-content;
}


/* ── Graph (DAG) layout ──────────────────────────────────────────────── */
.rm-graph-canvas[b-7izq8hlkl8] {
    position: relative;
}

.rm-edges-svg[b-7izq8hlkl8] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.rm-graph-node[b-7izq8hlkl8] {
    position: absolute;
    z-index: 1;
    cursor: grab;
}

    /* Node đang được kéo: nổi lên trên các node khác */
    .rm-graph-node.rm-node-dragging[b-7izq8hlkl8] {
        z-index: 3;
        cursor: grabbing;
    }

        .rm-graph-node.rm-node-dragging .rm-node[b-7izq8hlkl8] {
            box-shadow: 0 6px 18px rgba(0,0,0,.22);
        }

        .rm-graph-node.rm-node-dragging .rm-node-link[b-7izq8hlkl8] {
            cursor: grabbing;
        }

/* Feedback while a click's new tab is still opening/loading - without this, clicking a card
   changes nothing visible in the CURRENT tab, which reads as "nothing happened" and invites a
   repeat click (each one opening yet another tab). Toggled by
   sapRelationshipMap._onClickCapture in sapui_custom.js, which also blocks a repeat click on the
   same link during this window instead of opening a duplicate tab. */
.rm-node-link.rm-node-link-opening[b-7izq8hlkl8] {
    cursor: wait;
}

    .rm-node-link.rm-node-link-opening .rm-node[b-7izq8hlkl8] {
        opacity: 0.55;
    }

.rm-edge-info-btn[b-7izq8hlkl8] {
    position: absolute;
    z-index: 2;
}

.connector-info-btn[b-7izq8hlkl8] {
    width: 36px;
    height: 24px;
    background-color: #30914c;
    border: #30914c;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: background .15s;
}
    .connector-info-btn span[b-7izq8hlkl8] {
        color: white;
    }
    .connector-info-btn:hover span[b-7izq8hlkl8] {
        color: #30914c;
    }
    .connector-info-btn:hover[b-7izq8hlkl8] {
        background-color: #eaecee;
        border-color: #bcc3ca;
    }

/* ── Node wrapper ────────────────────────────────────────────────────── */
.rm-node-wrapper[b-7izq8hlkl8] {
    display: flex;
  flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

/* ── Node card ───────────────────────────────────────────────────────── */
.node-base[b-7izq8hlkl8] {
    width: 145px;
    min-height: 195px;
    border-radius: 0 15px 15px 15px;
    border: 1px solid #c9d5e0;
    clip-path: polygon(18px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 18px);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    position: relative;
    transition: box-shadow .15s, border-color .15s;
    flex-shrink: 0;
    gap: 4px;
    padding: 16px 13px 13px;
}

    .node-base:hover[b-7izq8hlkl8] {
        border-color: #0a6ed1;
  box-shadow: 0 0 0 2px rgba(10,110,209,.15);
    }
.node-focused[b-7izq8hlkl8] {
    border-color: #0a6ed1 !important;
}
    .node-focused .node-corner-fold[b-7izq8hlkl8] {
        background: linear-gradient(315deg, #0a6ed1 0%, #0a6ed1 50%, transparent 50%);
    }

.node-positive[b-7izq8hlkl8] {
    border-color: #758ca4;
}

.node-negative[b-7izq8hlkl8] {
 border-color: #758ca4;
}



.node-cancelled[b-7izq8hlkl8] {
}

.node-corner-fold[b-7izq8hlkl8] {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 18px;
    height: 18px;
    background: linear-gradient(315deg, #758ca4 0%, #758ca4 50%, transparent 50%);
    pointer-events: none;
    z-index: 2;
    border-radius: 0 0 8px 0;
}

.node-base:hover .node-corner-fold[b-7izq8hlkl8] {
    background: linear-gradient(315deg, #0a6ed1 0%, #0a6ed1 50%, transparent 50%);
}

.node-center-icon[b-7izq8hlkl8] {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Node details ────────────────────────────────────────────────────── */
.node-details[b-7izq8hlkl8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.node-detail-row[b-7izq8hlkl8] {
    font-size: 0.67rem;
    color: #32363a;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.node-detail-docnum[b-7izq8hlkl8] {
    font-weight: 700;
    font-size: 0.78rem;
    color: #32363a;
}

.node-detail-type[b-7izq8hlkl8] {
    font-size: 0.63rem;
    color: #758ca4;
    font-style: italic;
}

.node-detail-date[b-7izq8hlkl8] {
    font-size: 0.63rem;
    color: #758ca4;
}

.node-detail-amount[b-7izq8hlkl8] {
    font-weight: 500;
    color: #32363a;
}

.node-detail-status[b-7izq8hlkl8] {
    border-radius: 3px;
    padding: 1px 5px;
    font-size: 0.63rem;
    font-weight: 600;
    margin-top: 2px;
}

.node-detail-status--normal[b-7izq8hlkl8] {
    background: #e1f5e1;
    color: #00a800;
}

.node-detail-status--canceled[b-7izq8hlkl8] {
  background: #ffeaea;
    color: #f53232;
}

.node-detail-status--cancellation[b-7izq8hlkl8] {
    background: #ffeaea;
    color: #f53232;
}

.node-detail-status--paid[b-7izq8hlkl8] {
    background: #e3f2fd;
    color: #0a6ed1;
}

.node-detail-status--open[b-7izq8hlkl8] {
    background: #fff3e0;
    color: #e68a00;
}

.node-detail-status--closed[b-7izq8hlkl8] {
    background: #f0f0f0;
    color: #555;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.rm-footer[b-7izq8hlkl8] {
    display: flex;
    justify-content: flex-end;
    padding: 8px 16px 10px;
    border-top: 1px solid #e5e5e5;
    background: #fff;
    flex-shrink: 0;
}

.rm-close-btn[b-7izq8hlkl8] {
    padding: 5px 20px;
    background: #fff;
    border: 1px solid #b0b5ba;
    border-radius: 3px;
    font-size: .875rem;
    color: #32363a;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}

    .rm-close-btn:hover[b-7izq8hlkl8] {
background: #f5f5f5;
        border-color: #8a9096;
    }

.rm-lanes-row[b-7izq8hlkl8] {
    display: flex;
    align-items: flex-start;
    padding: 20px 0 16px 0;
    min-width: fit-content;  /* ← co theo nội dung */
}

.rm-lane-edge[b-7izq8hlkl8] {
    display: flex;
  align-items: center;
    padding-top: 24px;
    flex-shrink: 0;
    width: 10px;
}

.lane-edge-line[b-7izq8hlkl8] {
    width: 2px;
    height: 20px;
    background: #b0b5ba;
    margin: 0 auto;
}

.rm-lane-col[b-7izq8hlkl8] {
    flex: 1;
    display: flex;
    justify-content: center;
}

.rm-lane-header[b-7izq8hlkl8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    width: 100%;
}

.lane-hline[b-7izq8hlkl8] {
    position: absolute;
    top: 32px;
    height: 1px;
    background: gray;
    width: calc(50% - 36px);
}

.lane-hline-left[b-7izq8hlkl8] {
    left: 0;
}

.lane-hline-right[b-7izq8hlkl8] {
    right: 0;
}

.lane-donut-wrap[b-7izq8hlkl8] {
    position: relative;
    width: 64px;
  height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.donut-svg[b-7izq8hlkl8] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.donut-outer[b-7izq8hlkl8] {
    fill: #fff;
    stroke: gray;
    stroke-width: 1;
}

.donut-ring-positive[b-7izq8hlkl8] {
    stroke: #00a800;
}

.donut-ring-negative[b-7izq8hlkl8] {
  stroke: #f53232;
}

.donut-ring-warning[b-7izq8hlkl8] {
    stroke: #f58b00;
}

.lane-icon-inner[b-7izq8hlkl8] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lane-label[b-7izq8hlkl8] {
    font-size: 0.8rem;
    font-weight: 500;
  color: #32363a;
    text-align: center;
  white-space: nowrap;
    margin-top: 4px;
}

.rm-lane-sep[b-7izq8hlkl8] {
    display: flex;
    align-items: center;
    padding-top: 19px;
    flex-shrink: 0;
    gap: 2px;
}

.sep-arrows[b-7izq8hlkl8] {
    color: #6e9fcc;
    padding: 0 0.5rem;
}
.node-title[b-7izq8hlkl8] {
    font-size: .875rem;
    color: #32363a;
    text-align: left;
    width: 100%;
    word-break: break-word;
    white-space: normal;
    line-height: 1.3;

}

.node-status-row[b-7izq8hlkl8] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    margin: 20px 0;
    justify-content: flex-start; /* ← thêm dòng này */
    width: 100%; /* ← thêm dòng này để đảm bảo full width */
}

.status-closed[b-7izq8hlkl8] {
    color: #00a800;
}

.status-open-overdue[b-7izq8hlkl8] {
    color: #AA0808;
}

.status-open[b-7izq8hlkl8] {
    color: #B44F00;
}

.status-default[b-7izq8hlkl8] {
    color: #758ca4;
}

.node-amount-block[b-7izq8hlkl8],
.node-due-block[b-7izq8hlkl8] {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 4px;
}

.node-amount-label[b-7izq8hlkl8] {
    font-size: 0.75rem;
    color: #556B82;
    text-align: left;
}
.status-open-future[b-7izq8hlkl8] {
    color: #556B82;
}
.node-amount-value[b-7izq8hlkl8] {
    font-size: 0.7rem;
    font-weight: 500;
    color: #32363a;
    text-align: left;
}

.node-due-value[b-7izq8hlkl8] {
    font-size: 0.7rem;
    color: #32363a;
    text-align: left;
}
/* ── Node zoom levels ────────────────────────────────────────────────── */
.rm-node-lv1[b-7izq8hlkl8] {
    width: 176px;
    min-height: 221px;
}

.rm-node-lv2[b-7izq8hlkl8] {
    width: 145px;
    min-height: 195px;
}

.rm-node-lv3[b-7izq8hlkl8] {
    width: 104px;
    min-height: 128px;
    padding: 10px 8px 8px;
    gap: 2px;
}

.rm-node-lv4[b-7izq8hlkl8] {
    width: 48px;
    min-height: 60px;
    padding: 8px 4px;
    clip-path: polygon(12px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 12px);
    border-radius: 0 10px 10px 10px;
    justify-content: center;
    align-items: center;
}

    .rm-node-lv4 .node-corner-fold[b-7izq8hlkl8] {
        width: 12px;
        height: 12px;
    }

    .rm-node-lv4 .node-details[b-7izq8hlkl8] {
        align-items: center;
        justify-content: center;
    }

.node-lv4-icon[b-7izq8hlkl8] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.rm-node-lv3 .node-title-sm[b-7izq8hlkl8] {
    font-size: 0.875rem;
    color: #32363a;
    text-align: center;
    width: 100%;
    word-break: break-word;
    white-space: normal;
    line-height: 1.2;
    margin-top: 0.5rem;
}

.rm-node-lv3 .node-status-row[b-7izq8hlkl8] {
    margin: 4px 0 0 0;
}


.rm-node-lv1 .node-title[b-7izq8hlkl8] {
    font-size: 1rem;
}

.rm-node-lv1 .node-status-row[b-7izq8hlkl8] {
    font-size: 0.875rem;
}

    .rm-node-lv1 .node-status-row svg[b-7izq8hlkl8] {
        width: 20px;
        height: 20px;
    }

    .rm-node-lv1 .node-status-row span[style*="SAP-icons"][b-7izq8hlkl8] {
        font-size: 1.2rem !important;
    }

.rm-node-lv1 .node-amount-label[b-7izq8hlkl8] {
    font-size: 0.875rem;
}
.rm-node-lv3 .node-status-row[b-7izq8hlkl8] {
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.rm-node-lv3 .node-status-row svg[b-7izq8hlkl8] {
    width: 20px;
    height: 20px;
}

.rm-node-lv3 .node-status-row span[style*="SAP-icons"][b-7izq8hlkl8] {
    font-size: 1.2rem !important;
}

.rm-node-lv4 .node-lv4-icon svg[b-7izq8hlkl8] {
    width: 22px;
    height: 22px;
}
.rm-node-lv4 .node-lv4-icon span[style*="SAP-icons"][b-7izq8hlkl8] {
    font-size: 1.32rem !important;
}

.rm-scroll-container[b-7izq8hlkl8] {
    cursor: grab;
    overflow: auto;
}

    .rm-scroll-container:active[b-7izq8hlkl8] {
        cursor: grabbing;
    }

/* /Components/Pages/SAPUI/SaleForm/SaleOrderDI.razor.rz.scp.css */
/* /Components/Pages/SAPUI/SAPAccountingGeneralLedger.razor.rz.scp.css */
.gl-left[b-xp71k9n9sd] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
}

.gl-tabs[b-xp71k9n9sd] {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.gl-tab[b-xp71k9n9sd] {
    flex: 1;
    height: 2.25rem;
    background: #fff;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #666;
    font-size: 0.875rem;
    cursor: pointer;
}

.gl-tab--active[b-xp71k9n9sd] {
    border-bottom-color: #0064d9;
    color: #0064d9;
    font-weight: 600;
}

.gl-pane[b-xp71k9n9sd] {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.gl-pane--hidden[b-xp71k9n9sd] {
    display: none;
}

.gl-scroll[b-xp71k9n9sd] {
    height: 100%;
    overflow: auto;
}

.gl-empty[b-xp71k9n9sd] {
    padding: 24px;
    color: #666;
    font-size: 0.875rem;
}

.gl-table[b-xp71k9n9sd] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

    .gl-table th[b-xp71k9n9sd],
    .gl-table td[b-xp71k9n9sd] {
        padding: 4px 8px;
        border: 1px solid #e0e0e0;
        white-space: nowrap;
    }

    .gl-table thead th[b-xp71k9n9sd] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #e8e8e8;
        text-align: left;
    }

    .gl-table .gl-num[b-xp71k9n9sd] {
        text-align: right;
        font-variant-numeric: tabular-nums;
    }

    .gl-table .gl-group[b-xp71k9n9sd] {
        cursor: pointer;
        user-select: none;
    }

        .gl-table .gl-group td[b-xp71k9n9sd] {
            background: #f5f6f7;
            color: #0a3d91;
            font-weight: 600;
        }

    .gl-table .gl-group td .gl-group-name[b-xp71k9n9sd] {
        color: #212529;
        font-weight: normal;
    }

    .gl-table .gl-group td.gl-opening[b-xp71k9n9sd] {
        color: #6a6d70;
    }

    .gl-table .gl-chevron[b-xp71k9n9sd] {
        width: 12px;
        height: 12px;
        margin-right: 6px;
        vertical-align: middle;
    }

.gl-export[b-xp71k9n9sd] {
    height: 1.875rem;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #217346;
    border-radius: 4px;
    color: #217346;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

    .gl-export:hover:not(:disabled)[b-xp71k9n9sd] {
        background: #eaf2fd;
    }

    .gl-export:disabled[b-xp71k9n9sd] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.gl-more[b-xp71k9n9sd] {
    padding: 8px;
    text-align: center;
    color: #666;
    font-size: 0.8125rem;
}
/* /Components/Pages/SAPUI/SAPAging.razor.rz.scp.css */
.ag-left[b-1g7lvhf73z] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
}

.ag-scroll[b-1g7lvhf73z] {
    height: 100%;
    overflow: auto;
}

.ag-empty[b-1g7lvhf73z] {
    padding: 24px;
    color: #666;
    font-size: 0.875rem;
}

.ag-table[b-1g7lvhf73z] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

    .ag-table th[b-1g7lvhf73z],
    .ag-table td[b-1g7lvhf73z] {
        padding: 4px 8px;
        border: 1px solid #e0e0e0;
        white-space: nowrap;
    }

    .ag-table thead th[b-1g7lvhf73z] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #e8e8e8;
        text-align: left;
    }

    .ag-table .ag-num[b-1g7lvhf73z] {
        text-align: right;
        font-variant-numeric: tabular-nums;
    }

    .ag-table .ag-group[b-1g7lvhf73z] {
        cursor: pointer;
        user-select: none;
    }

        .ag-table .ag-group td[b-1g7lvhf73z] {
            background: #f5f6f7;
            font-weight: 700;
        }

    .ag-table .ag-sub td[b-1g7lvhf73z] {
        background: #fafbfc;
        font-weight: 600;
    }

    .ag-table .ag-chevron[b-1g7lvhf73z] {
        width: 12px;
        height: 12px;
        margin-right: 6px;
        vertical-align: middle;
    }

.ag-more[b-1g7lvhf73z] {
    padding: 8px;
    text-align: center;
    color: #666;
    font-size: 0.8125rem;
}

.ag-export[b-1g7lvhf73z] {
    height: 1.875rem;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #217346;
    border-radius: 4px;
    color: #217346;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

    .ag-export:hover:not(:disabled)[b-1g7lvhf73z] {
        background: #eaf2fd;
    }

    .ag-export:disabled[b-1g7lvhf73z] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.ag-interval[b-1g7lvhf73z] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 1.875rem;
    font-size: 0.875rem;
    color: #191c1e;
}

    .ag-interval select[b-1g7lvhf73z],
    .ag-interval input[b-1g7lvhf73z] {
        height: 1.875rem;
        padding: 0 6px;
        border: 1px solid #c3c6d7;
        border-radius: 8px;
        background: #f3f4f6;
        font-size: 0.875rem;
    }

    .ag-interval input[b-1g7lvhf73z] {
        width: 3.5rem;
        text-align: center;
    }
/* /Components/Pages/SAPUI/SAPAutoCompleteInputOld.razor.rz.scp.css */
/* ===== AutoComplete Container ===== */
.sap_autocomplete_container[b-y6a4cttdd5] {
    position: relative;
    width: 100%;
}

/* ===== Input Group ===== */
.sap_input_group[b-y6a4cttdd5] {
    position: relative;
    display: flex;
  align-items: center;
}

.sap_input[b-y6a4cttdd5] {
    flex: 1;
    height: 1.625rem;
    padding: 6px 8px;
  font-size: 12px;
    border-radius: 3px;
    border: 1px solid #d4dadf;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 1px 0 0 #556b81;
    transition: border-color 120ms ease-out, box-shadow 120ms ease-out, background-color 120ms ease-out;
}

.sap_input:hover:not(:disabled)[b-y6a4cttdd5] {
    border-color: #91C0FF;
    box-shadow: 0 1px 0 0 #2882ec;
}

.sap_input:focus[b-y6a4cttdd5],
.sap_input_active[b-y6a4cttdd5] {
    border-color: #0068ff;
    box-shadow: 0 0 0 1px rgba(0, 104, 255, 0.9);
}



.sap_input_btn[b-y6a4cttdd5] {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.sap_input_btn:hover:not(:disabled)[b-y6a4cttdd5] {
    opacity: 0.7;
}

.sap_input_btn:disabled[b-y6a4cttdd5] {
    cursor: not-allowed;
    opacity: 0.3;
}

.sap_input_btn:disabled img[b-y6a4cttdd5] {
    display: none;
}

/* ===== Dropdown Container ===== */
.sap_dropdown[b-y6a4cttdd5] {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #c8d0e3;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    display: flex;
    flex-direction: column;
}

/* ===== Dropdown Table Wrapper ===== */
.sap_dropdown_table[b-y6a4cttdd5] {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 350px;
    flex: 1;
}

/* ===== Table Styling ===== */
.sap_dropdown table[b-y6a4cttdd5] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    background: white;
}

.sap_dropdown thead[b-y6a4cttdd5] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f7f7f7;
}

.sap_dropdown thead th[b-y6a4cttdd5] {
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: #32363a;
    border-bottom: 1px solid #d9d9d9;
    background: #f7f7f7;
    white-space: nowrap;
}

.sap_dropdown tbody td[b-y6a4cttdd5] {
    padding: 6px 12px;
    border-bottom: 1px solid #ededed;
    color: #32363a;
    vertical-align: middle;
    white-space: nowrap;
}

.sap_dropdown tbody tr[b-y6a4cttdd5] {
    cursor: pointer;
    transition: background-color 0.15s;
}

.sap_dropdown tbody tr:hover[b-y6a4cttdd5] {
    background-color: #eaecee;
}

.sap_dropdown tbody tr:active[b-y6a4cttdd5] {
    background-color: #d9f0ff;
}

.sap_dropdown tbody tr:last-child td[b-y6a4cttdd5] {
    border-bottom: none;
}

/* ===== Dropdown Footer ===== */
.sap_dropdown_footer[b-y6a4cttdd5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-top: 1px solid #ededed;
    background: #fafbfc;
    font-size: 11px;
    color: #6c757d;
}

.sap_items_count[b-y6a4cttdd5] {
    font-size: 11px;
    color: #6c757d;
}

.sap_show_all_btn[b-y6a4cttdd5] {
    padding: 4px 12px;
    font-size: 11px;
    background: white;
  border: 1px solid #d4dadf;
    border-radius: 3px;
    color: #0068ff;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.sap_show_all_btn:hover[b-y6a4cttdd5] {
    background: #f0f7ff;
    border-color: #0068ff;
}

.sap_show_all_btn:active[b-y6a4cttdd5] {
    background: #e0efff;
}

/* ===== Scrollbar Styling ===== */
.sap_dropdown_table[b-y6a4cttdd5]::-webkit-scrollbar {
 width: 8px;
    height: 8px;
}

.sap_dropdown_table[b-y6a4cttdd5]::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.sap_dropdown_table[b-y6a4cttdd5]::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.sap_dropdown_table[b-y6a4cttdd5]::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .sap_dropdown[b-y6a4cttdd5] {
        max-height: 300px;
    }

    .sap_dropdown_table[b-y6a4cttdd5] {
        max-height: 250px;
    }

    .sap_dropdown thead th[b-y6a4cttdd5],
    .sap_dropdown tbody td[b-y6a4cttdd5] {
        padding: 6px 8px;
        font-size: 11px;
    }
}
/* /Components/Pages/SAPUI/SAPBusinessPartner.razor.rz.scp.css */
/* Total Summary Styles */
.sap_total-summary[b-p59bp5y7ue] {
    margin-top: 24px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.sap_summary-grid[b-p59bp5y7ue] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    margin-left: auto;
}

.sap_summary-row[b-p59bp5y7ue] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

    .sap_summary-row.sap_summary-total[b-p59bp5y7ue] {
        border-top: 2px solid #dee2e6;
        padding-top: 12px;
        margin-top: 8px;
        font-weight: 600;
        font-size: 1.1rem;
    }

.sap_summary-label[b-p59bp5y7ue] {
    color: #6c757d;
    font-weight: 500;
}

.sap_summary-value[b-p59bp5y7ue] {
    font-weight: 600;
    color: #212529;
}

/* Table Actions */
.sap_table-actions[b-p59bp5y7ue] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    margin-bottom: 12px;
}

.sap_table-actions-right[b-p59bp5y7ue] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_btn-action[b-p59bp5y7ue] {
    padding: 6px 12px;
    background: none;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #0d6efd;
    transition: all 0.2s;
}

    .sap_btn-action:hover:not(:disabled)[b-p59bp5y7ue] {
        background: #e9ecef;
    }

    .sap_btn-action:disabled[b-p59bp5y7ue] {
        opacity: 0.5;
        cursor: not-allowed;
        color: #6c757d;
    }

.sap_btn-icon[b-p59bp5y7ue] {
    width: 100px;
    height: 32px;
    padding: 24px;
    background: none;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

    .sap_btn-icon:hover:not(:disabled)[b-p59bp5y7ue] {
        background: #e9ecef;
        border-color: #adb5bd;
    }

    .sap_btn-icon:disabled[b-p59bp5y7ue] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.sap_btn-icon-right[b-p59bp5y7ue] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: none;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

    .sap_btn-icon-right:hover:not(:disabled)[b-p59bp5y7ue] {
        background: #e9ecef;
        border-color: #adb5bd;
    }

    .sap_btn-icon-right:disabled[b-p59bp5y7ue] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Table No Data */
.sap_table-no-data[b-p59bp5y7ue] {
    text-align: center;
    padding: 32px;
    color: #6c757d;
    font-style: italic;
}

/* Attachment Area */
.sap_attachment-area[b-p59bp5y7ue] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
}

.sap_attachment-icon[b-p59bp5y7ue] {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.sap_attachment-text[b-p59bp5y7ue] {
    color: #6c757d;
    margin-bottom: 16px;
}

/* Input Sizes */
.sap_input-sm[b-p59bp5y7ue] {
    max-width: 120px;
}

/* Define New Link */
.sap_define-new-link[b-p59bp5y7ue] {
    margin-top: 8px;
}

.sap_link[b-p59bp5y7ue] {
    color: #0d6efd;
    text-decoration: none;
    font-size: 14px;
}

    .sap_link:hover[b-p59bp5y7ue] {
        text-decoration: underline;
    }

/* Link Section */
.sap_link-section[b-p59bp5y7ue] {
    padding: 8px 0;
}

/* UDF Grid - Single Column Layout (như trong ảnh) */
.sap_udf-grid-two-column[b-p59bp5y7ue] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
    max-width: 800px; /* Giới hạn độ rộng */
}

    .sap_udf-grid-two-column .sap_label[b-p59bp5y7ue] {
        display: grid;
        grid-template-columns: 200px 1fr;
        align-items: center;
        gap: 16px;
    }

        .sap_udf-grid-two-column .sap_label span[b-p59bp5y7ue] {
            color: #495057;
            font-weight: 400;
            text-align: left;
        }

        .sap_udf-grid-two-column .sap_label .sap_input[b-p59bp5y7ue] {
            width: 100%;
            max-width: 540px;
        }

/* Checkbox Row */
.sap_checkbox-row[b-p59bp5y7ue] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

    .sap_checkbox-row span[b-p59bp5y7ue] {
        flex: 1;
    }

    .sap_checkbox-row input[type="checkbox"][b-p59bp5y7ue] {
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

/* Spacing utilities */
.sap_mt-8[b-p59bp5y7ue] {
    margin-top: 8px;
}

.sap_mt-12[b-p59bp5y7ue] {
    margin-top: 12px;
}

.sap_mt-16[b-p59bp5y7ue] {
    margin-top: 16px;
}

.sap_mt-24[b-p59bp5y7ue] {
    margin-top: 24px;
}

.sap_mb-80[b-p59bp5y7ue] {
    margin-bottom: 80px;
}

.sap_dropdown-container[b-p59bp5y7ue] {
    position: relative;
    display: inline-block;
}

.sap_dropdown-menu[b-p59bp5y7ue] {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-top: 4px;
}

    .sap_dropdown-menu.show[b-p59bp5y7ue] {
        display: block;
    }

.sap_dropdown-item[b-p59bp5y7ue] {
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

    .sap_dropdown-item:last-child[b-p59bp5y7ue] {
        border-bottom: none;
    }

    .sap_dropdown-item:hover[b-p59bp5y7ue] {
        background-color: #f5f5f5;
    }

    .sap_dropdown-item:active[b-p59bp5y7ue] {
        background-color: #e8e8e8;
    }

.sap_btn-icon img[b-p59bp5y7ue] {
    vertical-align: middle;
    margin-left: 8px;
}
/* Collapsible Section Styles */
.sap_collapsible-header[b-p59bp5y7ue] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 0;
    user-select: none;
}

    .sap_collapsible-header:hover[b-p59bp5y7ue] {
        opacity: 0.8;
    }

.sap_collapse-icon[b-p59bp5y7ue] {
    display: inline-block;
    transition: transform 0.2s ease;
    font-size: 12px;
    color: #6c757d;
}

    .sap_collapse-icon.sap_collapsed[b-p59bp5y7ue] {
        transform: rotate(90deg);
    }

.sap_collapsible-content[b-p59bp5y7ue] {
    padding: 16px 0;
}

.sap_remarks-textarea[b-p59bp5y7ue] {
    min-height: 100px;
    width: 100%;
    resize: vertical;
}

/* Table Container with Horizontal Scroll */
.sap_inner-card[b-p59bp5y7ue] {
    overflow-x: auto;
    overflow-y: visible;
}

/* Table Wrapper for Scroll Control */
.sap_table-wrapper[b-p59bp5y7ue] {
    overflow-x: auto;
    overflow-y: visible;
    max-width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

/* Table Fixed Width for Columns */
.sap-table[b-p59bp5y7ue] {
    min-width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

    .sap-table th[b-p59bp5y7ue],
    .sap-table td[b-p59bp5y7ue] {
        min-width: 150px; /* Chiều rộng tối thiểu mỗi cột */
        max-width: 200px; /* Chiều rộng tối đa mỗi cột */
        padding: 12px;
        text-align: left;
        border-bottom: 1px solid #dee2e6;
    }

    /* Fixed width cho cột checkbox và # */


    /* Sticky header */
    .sap-table thead th[b-p59bp5y7ue] {
        top: 0;
        background: #f8f9fa;
        
        font-weight: 600;
        border-bottom: 2px solid #dee2e6;
    }


/* Scrollbar Styling */
.sap_table-wrapper[b-p59bp5y7ue]::-webkit-scrollbar {
    height: 10px;
}

.sap_table-wrapper[b-p59bp5y7ue]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.sap_table-wrapper[b-p59bp5y7ue]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

    .sap_table-wrapper[b-p59bp5y7ue]::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
.sap_form-grid-two-column[b-p59bp5y7ue] {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px 24px;
    align-items: start;
    max-width: 800px;
    padding-left: 12px;
}

    .sap_form-grid-two-column .sap_label[b-p59bp5y7ue] {
        display: contents;
    }

        .sap_form-grid-two-column .sap_label > span[b-p59bp5y7ue] {
            color: #495057;
            font-weight: 400;
            text-align: left;
            padding-top: 8px;
        }

        .sap_form-grid-two-column .sap_label > input[b-p59bp5y7ue],
        .sap_form-grid-two-column .sap_label > textarea[b-p59bp5y7ue],
        .sap_form-grid-two-column .sap_label > SAPLookupInput[b-p59bp5y7ue],
        .sap_form-grid-two-column .sap_label > SAPDropDownList[b-p59bp5y7ue] {
            width: 100%;
        }

        .sap_form-grid-two-column .sap_label > textarea[b-p59bp5y7ue] {
            min-height: 80px;
            resize: vertical;
        }

/* Responsive - trên mobile collapse hết */
@media (max-width: 768px) {
    .sap-table th[b-p59bp5y7ue],
    .sap-table td[b-p59bp5y7ue] {
        min-width: 120px;
        max-width: 150px;
    }

    .sap_form-grid--half[b-p59bp5y7ue] {
        grid-template-columns: 1fr;
    }

    .sap_form-grid-two-column[b-p59bp5y7ue] {
        grid-template-columns: 1fr;
        gap: 8px;
    }

        .sap_form-grid-two-column .sap_label[b-p59bp5y7ue] {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
}
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .sap_table-actions[b-p59bp5y7ue] {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .sap_table-actions-right[b-p59bp5y7ue] {
        justify-content: flex-end;
    }

    .sap_summary-grid[b-p59bp5y7ue] {
        max-width: 100%;
    }

    .sap_udf-grid-two-column[b-p59bp5y7ue] {
        grid-template-columns: 1fr;
    }
}








.sap_action-header[b-p59bp5y7ue] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: white;
    gap: 12px;
}

.sap_action-left[b-p59bp5y7ue] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_item-code[b-p59bp5y7ue] {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #333;
    margin-right: 15px;
    margin-left: 15px;
}

.sap_nav-btn[b-p59bp5y7ue] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: white;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

    .sap_nav-btn:hover:not(:disabled)[b-p59bp5y7ue] {
        background: #e9ecef;
        border-color: #adb5bd;
    }

    .sap_nav-btn:disabled[b-p59bp5y7ue] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.sap_action-right[b-p59bp5y7ue] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.sap_btn[b-p59bp5y7ue] {
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.sap_btn-primary[b-p59bp5y7ue] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

    .sap_btn-primary:hover:not(:disabled)[b-p59bp5y7ue] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }


.sap_btn.sap_primary[b-p59bp5y7ue] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 550;
    border-radius: 10px;
}

    .sap_btn.sap_primary:hover:not(:disabled)[b-p59bp5y7ue] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }

.sap_btn-white[b-p59bp5y7ue] {
    color: #0064D9;
    font-size: 1rem;
    font-weight: 530;
    border-radius: 10px;
    border-color: white;
}

    .sap_btn-white:hover:not(:disabled)[b-p59bp5y7ue] {
        background: #f5f5f5;
    }

    .sap_btn-white:disabled[b-p59bp5y7ue] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.sap_btn[b-p59bp5y7ue] {
    background: white;
    color: #0d6efd;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

    .sap_btn:hover:not(:disabled)[b-p59bp5y7ue] {
        background: #f5f5f5;
        border-color: #0b5ed7;
    }

.sap_btn-dropdown[b-p59bp5y7ue] {
    background: white;
    color: #212529;
    border: 1px solid #dee2e6;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

    .sap_btn-dropdown:hover[b-p59bp5y7ue] {
        background: #f8f9fa;
        border-color: #adb5bd;
    }

.sap_summary-logo[b-p59bp5y7ue] {
    flex-shrink: 0;
    margin-right: 48px;
}

/* Summary Bar */
.sap_summary-bar[b-p59bp5y7ue] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px 32px;
    padding: 12px 16px;
    background: white;
}

.sap_summary-item[b-p59bp5y7ue] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 50px;
    flex-shrink: 0; /* thêm dòng này */
    width: auto !important;
}

    .sap_summary-item .sap_label_summary[b-p59bp5y7ue] {
        font-size: 0.8125rem;
        color: #6c757d;
        font-weight: 400;
        white-space: nowrap;
    }

    .sap_summary-item .sap_value[b-p59bp5y7ue],
    .sap_summary-item .sapMText[b-p59bp5y7ue] {
        font-size: 0.875rem;
        color: #212529;
        font-weight: 500;
        word-break: break-word;
        white-space: nowrap;
    }

.sap_customer-value[b-p59bp5y7ue] {
    font-weight: 700;
    color: #212529;
}

.sap_summary-image[b-p59bp5y7ue] {
    width: 96px;
    height: auto;
    object-fit: contain;
}

.sap_summary-placeholder[b-p59bp5y7ue] {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    font-size: 32px;
}

.sap_summary-description[b-p59bp5y7ue] {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
    padding-left: 24px; /* THÊM dòng này - khoảng cách với lề trái */
    /* hoặc dùng margin-left: 48px; */
}

.sap_description-label[b-p59bp5y7ue] {
    font-weight: 400;
    color: #6c757d;
    flex-shrink: 0;
}

.sap_description-value[b-p59bp5y7ue] {
    color: #212529;
    font-weight: 400;
}



.sap_customer-name[b-p59bp5y7ue] {
    color: black;
    font-weight: 600;
    white-space: nowrap;
}
/* Image Upload Section */
    .sap_image-upload[b-p59bp5y7ue] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sap_image-placeholder[b-p59bp5y7ue] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
    text-align: center;
}

    .sap_image-placeholder p[b-p59bp5y7ue] {
        margin: 8px 0 0 0;
        color: #212529;
    }

    .sap_image-placeholder .sap_text-muted[b-p59bp5y7ue] {
        font-size: 0.875rem;
        color: #6c757d;
    }
.sap_input_v2[type="date"][b-p59bp5y7ue] {
    max-width: 150px; /* hoặc 180px tùy theo thiết kế */
    width: auto;
}
.dropdown .sap_dropdown[b-p59bp5y7ue] {
    min-width: 500px;
}
.sap-table tbody td[b-p59bp5y7ue] {
    border-bottom: 1px solid #ededed;
    padding: 6px 12px;
    vertical-align: middle;
    height: 36px;
    overflow: hidden !important;
    text-overflow: ellipsis;
}
/* /Components/Pages/SAPUI/SAPChartOfAccounts.razor.rz.scp.css */
/* Container */
html[b-oolw4fvxor], body[b-oolw4fvxor] {
    height: 100%;
    margin: 0;
}
.sap-coa-container[b-oolw4fvxor] {
    display: flex;
    height: calc(100vh - 50px);
    gap: 1px;
    background: #e0e0e0;
}

/* Left Panel */
.sap-coa-left[b-oolw4fvxor] {
    background: #f5f6f7;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 50%;
}
.sap-coa-left.sap-coa-left--full[b-oolw4fvxor] {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
.sap-coa-header[b-oolw4fvxor] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #fff !important;
}

.sap-coa-title[b-oolw4fvxor] {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.sap-icon-btn[b-oolw4fvxor] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .sap-icon-btn:hover[b-oolw4fvxor] {
        background: #f5f5f5;
        border-radius: 4px;
    }

/* Filters */
.sap-coa-filters[b-oolw4fvxor] {
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.sap-filter-row[b-oolw4fvxor] {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

    .sap-filter-row label[b-oolw4fvxor] {
        width: 120px;
        font-size: 0.875rem;
        color: #666;
        margin: 0;
    }

.sap-input-group[b-oolw4fvxor] {
    flex: 1;
    display: flex;
    gap: 4px;
}

.sap-input[b-oolw4fvxor] {
    width: 100%;
    height: 1.625rem;
    padding: 6px 8px;
    font-size: 12px;
    border-radius: 3px;
    border: 1px solid #d4dadf;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 1px 0 0 #556b81;
    transition: border-color 120ms ease-out, box-shadow 120ms ease-out, background-color 120ms ease-out;
}

select.sap-input[b-oolw4fvxor] {
    height: 1.625rem;
    padding: 8px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #ffffff;
}

    .sap-input:hover[b-oolw4fvxor],
    select.sap-input:hover[b-oolw4fvxor] {
        border-color: #91C0FF;
        box-shadow: 0 1px 0 0 #2882ec;
    }

    .sap-input:focus[b-oolw4fvxor],
    select.sap-input:focus[b-oolw4fvxor] {
        border-color: #0068ff;
        box-shadow: 0 0 0 1px rgba(0, 104, 255, 0.9);
    }

    .sap-input:disabled[b-oolw4fvxor],
    select.sap-input:disabled[b-oolw4fvxor] {
        background-color: #f5f7fb;
        border-color: #dde2eb;
        color: #999;
        box-shadow: none;
    }

.sap-icon-btn-sm[b-oolw4fvxor] {
    background: none;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 4px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .sap-icon-btn-sm:hover[b-oolw4fvxor] {
        background: #f5f5f5;
    }

/* Actions */
.sap-coa-actions[b-oolw4fvxor] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 1px solid #e0e0e0;
}

.sap-actions-right[b-oolw4fvxor] {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto;
}

.sap_btn-white[b-oolw4fvxor] {
    color: #0064D9;
    font-size: 1rem;
    font-weight: 530;
    border-radius: 10px;
    border-color: white;
}

.sap_btn-primary[b-oolw4fvxor] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

    .sap_btn-primary:hover:not(:disabled)[b-oolw4fvxor] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }

.sap_btn-white:hover:not(:disabled)[b-oolw4fvxor] {
    background: #f5f5f5;
}

.sap_btn-white:disabled[b-oolw4fvxor] {
    opacity: 0.5;
    cursor: not-allowed;
}

.sap_btn[b-oolw4fvxor] {
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.sap_btn-primary[b-oolw4fvxor] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

    .sap_btn-primary:hover:not(:disabled)[b-oolw4fvxor] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }


.sap_btn.sap_primary[b-oolw4fvxor] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 550;
    border-radius: 10px;
}

    .sap_btn.sap_primary:hover:not(:disabled)[b-oolw4fvxor] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }

.sap_btn-white[b-oolw4fvxor] {
    color: #0064D9;
    font-size: 1rem;
    font-weight: 530;
    border-radius: 10px;
    border-color: white;
}

    .sap_btn-white:hover:not(:disabled)[b-oolw4fvxor] {
        background: #f5f5f5;
    }

    .sap_btn-white:disabled[b-oolw4fvxor] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.sap_btn[b-oolw4fvxor] {
    background: white;
    color: #0d6efd;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

    .sap_btn:hover:not(:disabled)[b-oolw4fvxor] {
        background: #f5f5f5;
        border-color: #0b5ed7;
    }

.sap_btn-dropdown[b-oolw4fvxor] {
    background: white;
    color: #212529;
    border: 1px solid #dee2e6;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

    .sap_btn-dropdown:hover[b-oolw4fvxor] {
        background: #f8f9fa;
        border-color: #adb5bd;
    }

/* Tree Table */
.sap-coa-tree[b-oolw4fvxor] {
    flex: 1;
    overflow-y: auto;
}

.sap-tree-table[b-oolw4fvxor] {
    width: 100%;
    border-collapse: collapse;
}

    .sap-tree-table thead[b-oolw4fvxor] {
        position: sticky;
        top: 0;
        background: #f5f5f5;
        z-index: 1;
    }

    .sap-tree-table th[b-oolw4fvxor] {
        text-align: left;
        padding: 8px 12px;
        font-size: 0.875rem;
        font-weight: 600;
        color: #333;
        border-bottom: 1px solid #e0e0e0;
        box-shadow:   inset -1px 0 0 #e5e5e5,inset 0 -1px 0 #e5e5e5;
    }

    .sap-tree-table td[b-oolw4fvxor] {
        padding: 6px 12px;
        font-size: 0.875rem;
        color: #333;
        border-bottom: 1px solid #f0f0f0;
    }

.sap-tree-row:hover[b-oolw4fvxor] {
    background: #f9f9f9;
}

.sap-tree-root[b-oolw4fvxor] {
    font-weight: 600;
}

.sap-tree-toggle[b-oolw4fvxor] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 4px;
    margin-right: 4px;
    font-size: 0.75rem;
    color: #666;
}

.sap-number[b-oolw4fvxor] {
    text-align: right;
}

/* Right Panel */
.sap-coa-right[b-oolw4fvxor] {
    width: 100%;
    /*min-width: 30%;*/
    background: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sap-detail-header[b-oolw4fvxor] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.sap-detail-title[b-oolw4fvxor] {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}




.sap-summary-item[b-oolw4fvxor] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sap-summary-label[b-oolw4fvxor] {
    font-size: 0.75rem;
    color: #666;
}

.sap-summary-value[b-oolw4fvxor] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
}

/* Tabs */
.sap-detail-tabs[b-oolw4fvxor] {
    display: flex;
    padding: 0 16px;
    border-bottom: 1px solid #e0e0e0;
    background: #f9f9f9;
}

.sap-tab[b-oolw4fvxor] {
    background: none;
    border: none;
    padding: 12px 16px;
    font-size: 0.875rem;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

    .sap-tab:hover[b-oolw4fvxor] {
        color: #333;
    }

    .sap-tab.active[b-oolw4fvxor] {
        color: #0066cc;
        border-bottom-color: #0066cc;
    }

/* Content */
.sap-detail-content[b-oolw4fvxor] {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #ECECEC;
    padding-bottom: 70vh; 
}


.sap-form-section[b-oolw4fvxor] {
    margin-bottom: 24px;
}

.sap-section-title[b-oolw4fvxor] {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
}

.sap-form-grid[b-oolw4fvxor] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}



.sap-textarea[b-oolw4fvxor] {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 0.875rem;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
}

    .sap-textarea:focus[b-oolw4fvxor] {
        outline: none;
        border-color: #0066cc;
    }

    .sap-textarea:read-only[b-oolw4fvxor] {
        background: #f5f5f5;
    }

.sap-udf-grid[b-oolw4fvxor] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Radio Group */
.sap-radio-group[b-oolw4fvxor] {
    display: flex;
    gap: 24px;
    align-items: center;
}

.sap-radio-label[b-oolw4fvxor] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    color: #333;
}

    .sap-radio-label input[type="radio"][b-oolw4fvxor] {
        cursor: pointer;
    }

        .sap-radio-label input[type="radio"]:disabled[b-oolw4fvxor] {
            cursor: not-allowed;
        }


/* Checkbox Grid */
.sap-checkbox-grid[b-oolw4fvxor] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
}

.sap-checkbox-label[b-oolw4fvxor] {
    display: grid;
    grid-template-columns: 300px auto 1fr 1fr;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #333;
}

    .sap-checkbox-label input[type="checkbox"][b-oolw4fvxor] {
        cursor: pointer;
        justify-self: center;
    }

        .sap-checkbox-label input[type="checkbox"]:disabled[b-oolw4fvxor] {
            cursor: not-allowed;
        }

/* Section Title in Forms */
.sap_section-title[b-oolw4fvxor] {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

/* Actions */
.sap-detail-actions[b-oolw4fvxor] {
    padding: 16px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    z-index: 1000;
    background-color: #ffffff;
    border: 1px solid #dde2eb;
    border-radius: 12px; /* floating card look */
    box-shadow: 08px24px rgba(0,0,0,0.12),02px8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
}



/* No Selection */
.sap-no-selection[b-oolw4fvxor] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    font-size: 1rem;
}

/* Scrollbar Styling */
.sap-coa-tree[b-oolw4fvxor]::-webkit-scrollbar,
.sap-detail-content[b-oolw4fvxor]::-webkit-scrollbar {
    width: 8px;
}

.sap-coa-tree[b-oolw4fvxor]::-webkit-scrollbar-track,
.sap-detail-content[b-oolw4fvxor]::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.sap-coa-tree[b-oolw4fvxor]::-webkit-scrollbar-thumb,
.sap-detail-content[b-oolw4fvxor]::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

    .sap-coa-tree[b-oolw4fvxor]::-webkit-scrollbar-thumb:hover,
    .sap-detail-content[b-oolw4fvxor]::-webkit-scrollbar-thumb:hover {
        background: #999;
    }
.sap_label[b-oolw4fvxor] {
    grid-template-columns: 140px 1fr;
    gap: 2px;
}

/* Resizer handle */
.sap-resizer[b-oolw4fvxor] {
    width: 6px;
    background: #e0e0e0;
    cursor: col-resize;
    flex-shrink: 0;
    position: relative;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .sap-resizer:hover[b-oolw4fvxor],
    .sap-resizer.resizing[b-oolw4fvxor] {
        background: #b0b8c9;
    }

    /* Thanh kéo trực quan ở giữa */
    .sap-resizer[b-oolw4fvxor]::after {
        content: "";
        display: block;
        width: 4px;
        height: 48px;
        border-radius: 4px;
        background: #9aa5b4;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
/* Ensure right panel acts as positioning context */


/* If you need different height, tweak padding-bottom and the bar padding above */
.sap-coa-drill[b-oolw4fvxor] {
    margin-right: 4px;
    padding: 0 2px;
    background: none;
    border: 0;
    color: #e9730c;
    font-weight: 700;
    cursor: pointer;
}

    .sap-coa-drill:hover[b-oolw4fvxor] {
        color: #0064d9;
    }
/* /Components/Pages/SAPUI/SAPExchangeRate.razor.rz.scp.css */
.exr-card[b-7ea4e45dhx] {
    background-color: #f5f6f7;
    border-radius: 8px;
    padding: 1rem 3rem 1.5rem 3rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.exr-toolbar[b-7ea4e45dhx] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    background-color: #fff;
}

.exr-icon[b-7ea4e45dhx] {
    font-family: 'SAP-icons';
    font-size: 1rem;
    color: #0070f2;
}

th.exr-col-check[b-7ea4e45dhx],
td.exr-col-check[b-7ea4e45dhx] {
    width: 2.5rem;
    min-width: 2.5rem;
    max-width: 2.5rem;
    padding-left: 0;
    padding-right: 0;
    white-space: nowrap;
    text-align: center;
}

.exr-input[b-7ea4e45dhx] {
    width: 100%;
    height: 1.75rem;
    padding: 0 0.5rem;
    text-align: left;
    border: 1px solid #89919a;
    border-radius: 4px;
    background: #fff;
}

.exr-input:focus[b-7ea4e45dhx] {
    outline: 2px solid #0070f2;
    outline-offset: 0;
}

.exr-footer-spacer[b-7ea4e45dhx] {
    height: 4rem;
}

.exr-footer-btn:disabled[b-7ea4e45dhx] {
    opacity: 0.5;
    cursor: not-allowed;
}
/* /Components/Pages/SAPUI/SAPGeneralLedger.razor.rz.scp.css */
.gl-empty[b-ewlb3jxb8b] {
    padding: 24px;
    color: #666;
    font-size: 0.875rem;
}

.gl-table[b-ewlb3jxb8b] {
    width: 100%;
    border-collapse: collapse;
}

    .gl-table th[b-ewlb3jxb8b],
    .gl-table td[b-ewlb3jxb8b] {
        padding: 6px 12px;
        font-size: 0.875rem;
        color: #333;
        border-bottom: 1px solid #f0f0f0;
    }

    .gl-table thead th[b-ewlb3jxb8b] {
        position: sticky;
        top: 0;
        background: #f5f5f5;
        font-weight: 600;
        text-align: left;
        border-bottom: 1px solid #e0e0e0;
    }

    .gl-table tbody tr:hover[b-ewlb3jxb8b] {
        background: #f9f9f9;
    }

    .gl-table tfoot td[b-ewlb3jxb8b] {
        font-weight: 600;
        background: #f5f6f7;
        border-top: 2px solid #0064d9;
    }

    .gl-table .gl-num[b-ewlb3jxb8b] {
        text-align: right;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }
/* /Components/Pages/SAPUI/SAPItemMasterData.razor.rz.scp.css */
.sap_action-header[b-fksb398b06] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: white;
    gap: 12px;
}

.sap_action-left[b-fksb398b06] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_item-code[b-fksb398b06] {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #333;
    margin-right: 15px;
    margin-left: 15px;
}

.sap_nav-btn[b-fksb398b06] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: white;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

    .sap_nav-btn:hover:not(:disabled)[b-fksb398b06] {
        background: #e9ecef;
        border-color: #adb5bd;
    }

    .sap_nav-btn:disabled[b-fksb398b06] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.sap_action-right[b-fksb398b06] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.sap_btn[b-fksb398b06] {
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.sap_btn-primary[b-fksb398b06] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

    .sap_btn-primary:hover:not(:disabled)[b-fksb398b06] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }


.sap_btn.sap_primary[b-fksb398b06] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 550;
    border-radius: 10px;
}

    .sap_btn.sap_primary:hover:not(:disabled)[b-fksb398b06] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }

.sap_btn-white[b-fksb398b06] {
    color: #0064D9;
    font-size: 1rem;
    font-weight: 530;
    border-radius: 10px;
    border-color: white;
}

    .sap_btn-white:hover:not(:disabled)[b-fksb398b06] {
        background: #f5f5f5;        
    }

    .sap_btn-white:disabled[b-fksb398b06] {
        opacity: 0.5;
        cursor: not-allowed;
    }
.sap_btn[b-fksb398b06] {
    background: white;
    color: #0d6efd;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

    .sap_btn:hover:not(:disabled)[b-fksb398b06] {
        background: #f5f5f5;
        border-color: #0b5ed7;
    }
.sap_btn-dropdown[b-fksb398b06] {
    background: white;
    color: #212529;
    border: 1px solid #dee2e6;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

    .sap_btn-dropdown:hover[b-fksb398b06] {
        background: #f8f9fa;
        border-color: #adb5bd;
    }
.sap_summary-logo[b-fksb398b06] {
    flex-shrink: 0;
    margin-right: 48px;
}
.sap_summary-bar[b-fksb398b06] {
    gap: 5px !important; 
}
.sap_summary-image[b-fksb398b06] {
    width: 96px;
    height: auto; 
    object-fit: contain;
}

.sap_summary-placeholder[b-fksb398b06] {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    font-size: 32px;
}
.sap_summary-description[b-fksb398b06] {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
    padding-left: 24px; /* THÊM dòng này - khoảng cách với lề trái */
    /* hoặc dùng margin-left: 48px; */
}

.sap_description-label[b-fksb398b06] {
    font-weight: 400;
    color: #6c757d;
    flex-shrink: 0;
}

.sap_description-value[b-fksb398b06] {
    color: #212529;
    font-weight: 400;
}

.sap_dropdown-control[b-fksb398b06]::before {
    content: "";
    position: absolute;
    right: 9px; /* chỉnh cho vừa */
    top: 50%;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 4px 4px 0 4px; /* tam giác nhỏ hướng xuống */
    border-color: #0068ff transparent transparent transparent;
    display: none !important;
}
.sap-table thead th[b-fksb398b06] {
    position: static;
}
.sap_table-cell--number[b-fksb398b06] {
    text-align: right;
}
/* /Components/Pages/SAPUI/SAPSalesOrder.razor.rz.scp.css */
/* Total Summary Styles */
.sap_total-summary[b-35fr44se1x] {
    margin-top: 24px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.sap_summary-grid[b-35fr44se1x] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    margin-left: auto;
}

.sap_summary-row[b-35fr44se1x] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.sap_summary-row.sap_summary-total[b-35fr44se1x] {
    border-top: 2px solid #dee2e6;
    padding-top: 12px;
    margin-top: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}

.sap_summary-label[b-35fr44se1x] {
    color: #6c757d;
    font-weight: 500;
}

.sap_summary-value[b-35fr44se1x] {
    font-weight: 600;
    color: #212529;
}

/* Table Actions */
.sap_table-actions[b-35fr44se1x] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    margin-bottom: 12px;
}

.sap_table-actions-right[b-35fr44se1x] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_btn-action[b-35fr44se1x] {
    padding: 6px 12px;
    background: none;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #0d6efd;
    transition: all 0.2s;
}

    .sap_btn-action:hover:not(:disabled)[b-35fr44se1x] {
        background: #e9ecef;
    }

    .sap_btn-action:disabled[b-35fr44se1x] {
        opacity: 0.5;
        cursor: not-allowed;
        color: #6c757d;
    }

.sap_btn-icon[b-35fr44se1x] {
    width: 100px;
    height: 32px;
    padding: 24px;
    background: none ;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

    .sap_btn-icon:hover:not(:disabled)[b-35fr44se1x] {
  background: #e9ecef;
        border-color: #adb5bd;
    }

    .sap_btn-icon:disabled[b-35fr44se1x] {
    opacity: 0.5;
    cursor: not-allowed;
    }

.sap_btn-icon-right[b-35fr44se1x] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: none;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

    .sap_btn-icon-right:hover:not(:disabled)[b-35fr44se1x] {
        background: #e9ecef;
        border-color: #adb5bd;
    }

    .sap_btn-icon-right:disabled[b-35fr44se1x] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Table No Data */
.sap_table-no-data[b-35fr44se1x] {
    text-align: center;
 padding: 32px;
    color: #6c757d;
    font-style: italic;
}

/* Attachment Area */
.sap_attachment-area[b-35fr44se1x] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
}

.sap_attachment-icon[b-35fr44se1x] {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.sap_attachment-text[b-35fr44se1x] {
    color: #6c757d;
    margin-bottom: 16px;
}

/* Input Sizes */
.sap_input-sm[b-35fr44se1x] {
 max-width: 120px;
}

/* Define New Link */
.sap_define-new-link[b-35fr44se1x] {
    margin-top: 8px;
}

.sap_link[b-35fr44se1x] {
    color: #0d6efd;
    text-decoration: none;
    font-size: 14px;
}

    .sap_link:hover[b-35fr44se1x] {
     text-decoration: underline;
    }

/* Link Section */
.sap_link-section[b-35fr44se1x] {
 padding: 8px 0;
}

/* UDF Grid - Single Column Layout (như trong ảnh) */
.sap_udf-grid-two-column[b-35fr44se1x] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
    max-width: 800px; /* Giới hạn độ rộng */
}

.sap_udf-grid-two-column .sap_label[b-35fr44se1x] {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 16px;
}

.sap_udf-grid-two-column .sap_label span[b-35fr44se1x] {
    color: #495057;
    font-weight: 400;
    text-align: left;
}

.sap_udf-grid-two-column .sap_label .sap_input[b-35fr44se1x] {
    width: 100%;
    max-width: 540px;
}

/* Checkbox Row */
.sap_checkbox-row[b-35fr44se1x] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

    .sap_checkbox-row span[b-35fr44se1x] {
        flex: 1;
    }

    .sap_checkbox-row input[type="checkbox"][b-35fr44se1x] {
   width: 18px;
        height: 18px;
    cursor: pointer;
    }

/* Spacing utilities */
.sap_mt-8[b-35fr44se1x] {
    margin-top: 8px;
}

.sap_mt-12[b-35fr44se1x] {
 margin-top: 12px;
}

.sap_mt-16[b-35fr44se1x] {
    margin-top: 16px;
}

.sap_mt-24[b-35fr44se1x] {
    margin-top: 24px;
}

.sap_mb-80[b-35fr44se1x] {
    margin-bottom: 80px;
}
.sap_dropdown-container[b-35fr44se1x] {
    position: relative;
    display: inline-block;
}

.sap_dropdown-menu[b-35fr44se1x] {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-top: 4px;
}

    .sap_dropdown-menu.show[b-35fr44se1x] {
        display: block;
    }

.sap_dropdown-item[b-35fr44se1x] {
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

    .sap_dropdown-item:last-child[b-35fr44se1x] {
        border-bottom: none;
    }

    .sap_dropdown-item:hover[b-35fr44se1x] {
        background-color: #f5f5f5;
    }

    .sap_dropdown-item:active[b-35fr44se1x] {
        background-color: #e8e8e8;
    }

.sap_btn-icon img[b-35fr44se1x] {
    vertical-align: middle;
    margin-left: 8px;
}
/* Collapsible Section Styles */
.sap_collapsible-header[b-35fr44se1x] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 0;
    user-select: none;
}

    .sap_collapsible-header:hover[b-35fr44se1x] {
        opacity: 0.8;
    }

.sap_collapse-icon[b-35fr44se1x] {
    display: inline-block;
    transition: transform 0.2s ease;
    font-size: 12px;
    color: #6c757d;
}

    .sap_collapse-icon.sap_collapsed[b-35fr44se1x] {
        transform: rotate(90deg);
    }

.sap_collapsible-content[b-35fr44se1x] {
    padding: 16px 0;
}

.sap_remarks-textarea[b-35fr44se1x] {
    min-height: 100px;
    width: 100%;
    resize: vertical;
}

/* Table Container with Horizontal Scroll */
.sap_inner-card[b-35fr44se1x] {
    overflow-x: auto;
    overflow-y: visible;
}

/* Table Wrapper for Scroll Control */
.sap_table-wrapper[b-35fr44se1x] {
    overflow-x: auto;
    overflow-y: visible;
    max-width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

/* Table Fixed Width for Columns */
.sap-table[b-35fr44se1x] {
    min-width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

    .sap-table th[b-35fr44se1x],
    .sap-table td[b-35fr44se1x] {
        min-width: 150px; /* Chiều rộng tối thiểu mỗi cột */
        max-width: 200px; /* Chiều rộng tối đa mỗi cột */
        padding: 12px;
        text-align: left;
        border-bottom: 1px solid #dee2e6;
    }

        /* Fixed width cho cột checkbox và # */
        

    /* Sticky header */
    .sap-table thead th[b-35fr44se1x] {
        position: sticky;
        top: 0;
        background: #f8f9fa;
        z-index: 11;
        font-weight: 600;
        border-bottom: 2px solid #dee2e6;
    }

/* Scrollbar Styling */
.sap_table-wrapper[b-35fr44se1x]::-webkit-scrollbar {
    height: 10px;
}

.sap_table-wrapper[b-35fr44se1x]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.sap_table-wrapper[b-35fr44se1x]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

    .sap_table-wrapper[b-35fr44se1x]::-webkit-scrollbar-thumb:hover {
        background: #555;
    }


/* Responsive - trên mobile collapse hết */
@media (max-width: 768px) {
    .sap-table th[b-35fr44se1x],
    .sap-table td[b-35fr44se1x] {
        min-width: 120px;
        max-width: 150px;
    }
    .sap_form-grid--half[b-35fr44se1x] {
        grid-template-columns: 1fr;
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .sap_table-actions[b-35fr44se1x] {
        flex-direction: column;
   gap: 8px;
        align-items: stretch;
    }

    .sap_table-actions-right[b-35fr44se1x] {
    justify-content: flex-end;
    }

    .sap_summary-grid[b-35fr44se1x] {
        max-width: 100%;
    }

    .sap_udf-grid-two-column[b-35fr44se1x] {
        grid-template-columns: 1fr;
    }
}








.sap_action-header[b-35fr44se1x] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: white;
    gap: 12px;
}

.sap_action-left[b-35fr44se1x] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_item-code[b-35fr44se1x] {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #333;
    margin-right: 15px;
    margin-left: 15px;
}

.sap_nav-btn[b-35fr44se1x] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: white;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

    .sap_nav-btn:hover:not(:disabled)[b-35fr44se1x] {
        background: #e9ecef;
        border-color: #adb5bd;
    }

    .sap_nav-btn:disabled[b-35fr44se1x] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.sap_action-right[b-35fr44se1x] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.sap_btn[b-35fr44se1x] {
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.sap_btn-primary[b-35fr44se1x] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

    .sap_btn-primary:hover:not(:disabled)[b-35fr44se1x] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }


.sap_btn.sap_primary[b-35fr44se1x] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 550;
    border-radius: 10px;
}

    .sap_btn.sap_primary:hover:not(:disabled)[b-35fr44se1x] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }

.sap_btn-white[b-35fr44se1x] {
    color: #0064D9;
    font-size: 1rem;
    font-weight: 530;
    border-radius: 10px;
    border-color: white;
}

    .sap_btn-white:hover:not(:disabled)[b-35fr44se1x] {
        background: #f5f5f5;
    }

    .sap_btn-white:disabled[b-35fr44se1x] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.sap_btn[b-35fr44se1x] {
    background: white;
    color: #0d6efd;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

    .sap_btn:hover:not(:disabled)[b-35fr44se1x] {
        background: #f5f5f5;
        border-color: #0b5ed7;
    }

.sap_btn-dropdown[b-35fr44se1x] {
    background: white;
    color: #212529;
    border: 1px solid #dee2e6;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

    .sap_btn-dropdown:hover[b-35fr44se1x] {
        background: #f8f9fa;
        border-color: #adb5bd;
    }

.sap_summary-logo[b-35fr44se1x] {
    flex-shrink: 0;
    margin-right: 48px;
}

.sap_summary-bar[b-35fr44se1x] {
    gap: 5px !important;
}

.sap_summary-image[b-35fr44se1x] {
    width: 96px;
    height: auto;
    object-fit: contain;
}

.sap_summary-placeholder[b-35fr44se1x] {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    font-size: 32px;
}

.sap_summary-description[b-35fr44se1x] {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
    padding-left: 24px; /* THÊM dòng này - khoảng cách với lề trái */
    /* hoặc dùng margin-left: 48px; */
}

.sap_description-label[b-35fr44se1x] {
    font-weight: 400;
    color: #6c757d;
    flex-shrink: 0;
}

.sap_description-value[b-35fr44se1x] {
    color: #212529;
    font-weight: 400;
}



.sap_customer-name[b-35fr44se1x] {
    color: black;
    font-weight: 600;
    white-space: nowrap;
}
/* /Components/Pages/SAPUI/SAPTransactionJournalReport.razor.rz.scp.css */
.tj-left[b-nb0vclpwkb] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
}

.tj-tabs[b-nb0vclpwkb] {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.tj-tab[b-nb0vclpwkb] {
    flex: 1;
    height: 2.25rem;
    background: #fff;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #666;
    font-size: 0.875rem;
    cursor: pointer;
}

.tj-tab--active[b-nb0vclpwkb] {
    border-bottom-color: #0064d9;
    color: #0064d9;
    font-weight: 600;
}

.tj-pane[b-nb0vclpwkb] {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.tj-pane--hidden[b-nb0vclpwkb] {
    display: none;
}

.tj-field[b-nb0vclpwkb] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.75rem;
    color: #666;
}

.tj-dropdown[b-nb0vclpwkb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 11rem;
    height: 1.875rem;
    padding: 0 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    font-size: 0.875rem;
    cursor: pointer;
}

.tj-caret[b-nb0vclpwkb] {
    font-size: 0.75rem;
    color: #666;
}

.tj-backdrop[b-nb0vclpwkb] {
    position: fixed;
    inset: 0;
    z-index: 20;
}

.tj-menu[b-nb0vclpwkb] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 21;
    width: 16rem;
    max-height: 20rem;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tj-bar[b-nb0vclpwkb] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid #e0e0e0;
}

.tj-btn[b-nb0vclpwkb] {
    height: 1.75rem;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #0064d9;
    border-radius: 4px;
    color: #0064d9;
    font-size: 0.8125rem;
    cursor: pointer;
}

    .tj-btn:hover[b-nb0vclpwkb] {
        background: #eaf2fd;
    }

.tj-count[b-nb0vclpwkb] {
    margin-left: auto;
    color: #666;
    font-size: 0.8125rem;
}

.tj-list[b-nb0vclpwkb] {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.tj-item[b-nb0vclpwkb] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 6px 12px;
    font-size: 0.875rem;
    cursor: pointer;
}

    .tj-item:hover[b-nb0vclpwkb] {
        background: #f5f6f7;
    }

.tj-scroll[b-nb0vclpwkb] {
    height: 100%;
    overflow: auto;
}

.tj-empty[b-nb0vclpwkb] {
    padding: 24px;
    color: #666;
    font-size: 0.875rem;
}

.tj-table[b-nb0vclpwkb] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

    .tj-table th[b-nb0vclpwkb],
    .tj-table td[b-nb0vclpwkb] {
        padding: 4px 8px;
        border: 1px solid #e0e0e0;
        white-space: nowrap;
    }

    .tj-table thead th[b-nb0vclpwkb] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #e8e8e8;
        text-align: left;
    }

    .tj-table .tj-num[b-nb0vclpwkb] {
        text-align: right;
        font-variant-numeric: tabular-nums;
    }

    .tj-table .tj-entry[b-nb0vclpwkb] {
        cursor: pointer;
        user-select: none;
    }

        .tj-table .tj-entry td[b-nb0vclpwkb] {
            background: #f5f6f7;
            font-weight: 600;
        }

    .tj-table .tj-entry td .tj-entry-name[b-nb0vclpwkb] {
        color: #212529;
        font-weight: normal;
    }

    .tj-table .tj-chevron[b-nb0vclpwkb] {
        width: 12px;
        height: 12px;
        margin-right: 6px;
        vertical-align: middle;
    }

.tj-export[b-nb0vclpwkb] {
    height: 1.875rem;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #217346;
    border-radius: 4px;
    color: #217346;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

    .tj-export:hover:not(:disabled)[b-nb0vclpwkb] {
        background: #eaf2fd;
    }

    .tj-export:disabled[b-nb0vclpwkb] {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .tj-table tfoot td[b-nb0vclpwkb] {
        position: sticky;
        bottom: 0;
        background: #e8e8e8;
        font-weight: 700;
    }

.tj-more[b-nb0vclpwkb] {
    padding: 8px;
    text-align: center;
    color: #666;
    font-size: 0.8125rem;
}
/* /Components/Pages/SAPUI/SAPTrialBalance.razor.rz.scp.css */
.tb-empty[b-0z8wvtlhna] {
    padding: 24px;
    color: #666;
    font-size: 0.875rem;
}

.tb-report[b-0z8wvtlhna] {
    padding: 12px 16px 24px;
    color: #000;
    font-size: 0.8125rem;
}

.tb-head[b-0z8wvtlhna] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.tb-company > div[b-0z8wvtlhna] {
    margin-bottom: 6px;
}

.tb-form[b-0z8wvtlhna] {
    flex: 0 0 18rem;
    text-align: center;
}

.tb-form__note[b-0z8wvtlhna] {
    margin-top: 4px;
    padding: 4px 6px;
    border: 1px solid #1a6b3c;
    font-size: 0.75rem;
}

.tb-title[b-0z8wvtlhna] {
    margin-top: 4px;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: #e00000;
}

.tb-period[b-0z8wvtlhna] {
    margin: 4px 0 12px;
    text-align: center;
    font-weight: 600;
}

.tb-table[b-0z8wvtlhna] {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #000;
}

    .tb-table th[b-0z8wvtlhna],
    .tb-table td[b-0z8wvtlhna] {
        padding: 4px 6px;
        border: 1px solid #000;
    }

    .tb-table thead th[b-0z8wvtlhna] {
        text-align: center;
        font-weight: 700;
        white-space: nowrap;
    }

    .tb-table .tb-index th[b-0z8wvtlhna] {
        font-weight: 600;
    }

    .tb-table .tb-name[b-0z8wvtlhna] {
        text-align: center;
        white-space: nowrap;
    }

    .tb-table .tb-code[b-0z8wvtlhna] {
        text-align: center;
        white-space: nowrap;
    }

    .tb-table .tb-num[b-0z8wvtlhna] {
        text-align: right;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

    .tb-table tfoot td[b-0z8wvtlhna] {
        font-weight: 700;
    }

    .tb-table .tb-rollup td[b-0z8wvtlhna] {
        font-weight: 700;
        background: #f5f6f7;
    }


.tb-export[b-0z8wvtlhna] {
    height: 1.875rem;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #217346;
    border-radius: 4px;
    color: #217346;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

    .tb-export:hover:not(:disabled)[b-0z8wvtlhna] {
        background: #eaf2fd;
    }

    .tb-export:disabled[b-0z8wvtlhna] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.tb-left[b-0z8wvtlhna] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
}

.tb-tabs[b-0z8wvtlhna] {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.tb-tab[b-0z8wvtlhna] {
    flex: 1;
    height: 2.25rem;
    background: #fff;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #666;
    font-size: 0.875rem;
    cursor: pointer;
}

.tb-tab--active[b-0z8wvtlhna] {
    border-bottom-color: #0064d9;
    color: #0064d9;
    font-weight: 600;
}

.tb-pane[b-0z8wvtlhna] {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.tb-pane--hidden[b-0z8wvtlhna] {
    display: none;
}

.tb-section[b-0z8wvtlhna] {
    margin: 16px 0 6px;
    font-weight: 700;
    font-size: 0.875rem;
    color: #0064d9;
}

.tb-leaf-only[b-0z8wvtlhna] {
    /* Same shape as the shell's date fields: label on top (level with "From date"), the control below, centred on the date input's height. */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin: 0 12px 0 0;
    font-size: 0.75rem;
    color: #666;
    white-space: nowrap;
    cursor: pointer;
}

    .tb-leaf-only input[b-0z8wvtlhna] {
        height: 1.875rem;
        margin: 0;
        cursor: pointer;
    }
/* /Components/Pages/SAPUI/SubBPTable/SubBPRelatedTableSAP.razor.rz.scp.css */
.sap_table-wrapper[b-03q8mjkse3] {
    overflow-x: auto;
    overflow-y: visible;
    width: 100%;
    isolation: isolate;
}

.sap_table-actions[b-03q8mjkse3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    margin-bottom: 12px;
}

.sap_table-actions-right[b-03q8mjkse3] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_table-no-data[b-03q8mjkse3] {
    text-align: center;
    padding: 32px;
    color: #6c757d;
    font-style: italic;
}
/* /Components/Pages/SAPUI/SubBPTable/SubBPTopBar.razor.rz.scp.css */
.sap_action-header[b-ik16bd0bjz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: white;
    gap: 12px;
}

.sap_action-left[b-ik16bd0bjz] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_item-code[b-ik16bd0bjz] {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #333;
    margin-right: 15px;
    margin-left: 15px;
}

.sap_nav-btn[b-ik16bd0bjz] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: white;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

    .sap_nav-btn:hover:not(:disabled)[b-ik16bd0bjz] {
        background: #e9ecef;
        border-color: #adb5bd;
    }

    .sap_nav-btn:disabled[b-ik16bd0bjz] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.sap_action-right[b-ik16bd0bjz] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.sap_label_summary[b-ik16bd0bjz] {
    font-size: 0.8125rem;
    color: #6c757d;
    font-weight: 400;
    white-space: nowrap;
}

.sap_summary-item .sap_customer-value[b-ik16bd0bjz] {
    font-weight: 700;
    color: #212529;
}
/* /Components/Pages/SAPUI/SubHeaderInput/SubHeaderInputACT.razor.rz.scp.css */
/* Styles specific to SubHeaderInputSAP.razor */
/* Scoped to the component by Blazor .razor.css convention */

.sap_card[b-6tqn23erxy] {
    padding: 18px 20px 22px;
    border-radius: 6px;
}

.sap_card-columns[b-6tqn23erxy] {
    gap: 48px;
    grid-template-columns: 1fr 1fr;
}

.sap_column[b-6tqn23erxy] {
    min-width: 0;
}

.sap_section-title[b-6tqn23erxy] {
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 600;
}

.sap_form-grid[b-6tqn23erxy] {
    display: grid;
    gap: 8px;
}

/* make the small header inputs align nicely inside the column */
.sap_input_group[b-6tqn23erxy] {
    display: flex;
    align-items: center;
}

.sap_input_group .sap_input[b-6tqn23erxy] {
    flex: 1;
}

/* responsive adjustments for narrow screens */
@media (max-width: 768px) {
    .sap_card-columns[b-6tqn23erxy] {
        grid-template-columns: 1fr;
    }
}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-6tqn23erxy]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-6tqn23erxy]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-6tqn23erxy]{background:#e9ecef}
.sap_btn-action:disabled[b-6tqn23erxy]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-6tqn23erxy]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-6tqn23erxy]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-6tqn23erxy]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-6tqn23erxy]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-6tqn23erxy]{vertical-align:middle}
.sap_dropdown-container[b-6tqn23erxy]{position:relative;display:inline-block}
.sap_dropdown-menu[b-6tqn23erxy]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-6tqn23erxy]{display:block}
.sap_dropdown-item[b-6tqn23erxy]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-6tqn23erxy]{border-bottom:none}
.sap_dropdown-item:hover[b-6tqn23erxy]{background:#f5f5f5}

.sap_form-grid[b-6tqn23erxy] {
    display: grid;
    gap: 8px;
    min-width: 0; /* thêm dòng này */
}

    /* Thêm mới: đảm bảo tất cả children trong grid không tràn */
    .sap_form-grid > *[b-6tqn23erxy] {
        min-width: 0;
    }
.sap_date-flex-wrapper[b-6tqn23erxy] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
    flex-wrap: nowrap;
}

.sap_date-flex-wrapper > *[b-6tqn23erxy] {
    min-width: 0;
    flex-shrink: 1;
}
.sap_date-flex-wrapper .sap_label[b-6tqn23erxy] {
    grid-template-columns: auto 1fr;
    min-width: 0;
}

.sap_date-flex-wrapper .sap_input_group[b-6tqn23erxy] {
    min-width: 120px;
}

.sap_date-flex-wrapper input[type="date"][b-6tqn23erxy] {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}
/* /Components/Pages/SAPUI/SubHeaderInput/SubHeaderInputDatePeriod.razor.rz.scp.css */
/* Styles specific to SubHeaderInputSAP.razor */
/* Scoped to the component by Blazor .razor.css convention */

.sap_card[b-9gp47oauug] {
    padding: 18px 20px 22px;
    border-radius: 6px;
}

.sap_card-columns[b-9gp47oauug] {
    display: grid;
    gap: 48px;
    grid-template-columns: 1fr 1fr;
}

.sap_column[b-9gp47oauug] {
    min-width: 0;
}

.sap_section-title[b-9gp47oauug] {
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 600;
}

.sap_form-grid[b-9gp47oauug] {
    display: grid;
    gap: 8px;
}

/* make the small header inputs align nicely inside the column */
.sap_input_group[b-9gp47oauug] {
    display: flex;
    align-items: center;
}

.sap_input_group .sap_input[b-9gp47oauug] {
    flex: 1;
}

/* responsive adjustments for narrow screens */
@media (max-width: 768px) {
    .sap_card-columns[b-9gp47oauug] {
        grid-template-columns: 1fr;
    }
}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-9gp47oauug]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-9gp47oauug]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-9gp47oauug]{background:#e9ecef}
.sap_btn-action:disabled[b-9gp47oauug]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-9gp47oauug]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-9gp47oauug]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-9gp47oauug]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-9gp47oauug]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-9gp47oauug]{vertical-align:middle}
.sap_dropdown-container[b-9gp47oauug]{position:relative;display:inline-block}
.sap_dropdown-menu[b-9gp47oauug]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-9gp47oauug]{display:block}
.sap_dropdown-item[b-9gp47oauug]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-9gp47oauug]{border-bottom:none}
.sap_dropdown-item:hover[b-9gp47oauug]{background:#f5f5f5}
/* /Components/Pages/SAPUI/SubHeaderInput/SubHeaderInputPaymentSAP.razor.rz.scp.css */
.pay-header-two-col[b-rnp9ywwhoz] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 3rem;
    margin-top: 0.75rem;
}

.pay-header-col[b-rnp9ywwhoz] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (max-width: 1024px) {
    .pay-header-two-col[b-rnp9ywwhoz] {
        grid-template-columns: 1fr;
    }
}

.pay-field[b-rnp9ywwhoz] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pay-header-address[b-rnp9ywwhoz] {
    resize: vertical;
    min-height: 4rem;
}

/* Document Currency + Exchange Rate on one row (matches SaleOrderDI's header layout) - each
   HeaderDipslaySAP renders with no Title so its own label column collapses (sap_label--no-label),
   leaving just the two controls side by side under one shared "Document Currency" label. */
.pay-header-currcy-rate-row[b-rnp9ywwhoz] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

/* Each child here is a <HeaderDipslaySAP> - its rendered ".sap_label" root belongs to THAT
   component's own CSS-isolation scope, not this one's, so a plain (non-::deep) selector like
   ".pay-header-currcy-rate-row > *" can never match it - Blazor only stamps this component's own
   scope attribute onto elements written directly in this .razor file. ::deep is required to reach
   past that boundary and size the child's own markup. */
.pay-header-currcy-rate-row[b-rnp9ywwhoz]  .sap_label {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
}

/* Same reason - .sap_dropdown (currency) and .sap_input_group (rate) are rendered by that same
   child component, one level further in, so the width:100% needs ::deep here too: the currency
   dropdown fills the whole row alone (Document Currency = main currency, rate hidden), and the two
   controls split it evenly when the rate is shown (foreign currency). */
.pay-header-currcy-rate-row[b-rnp9ywwhoz]  .sap_dropdown,
.pay-header-currcy-rate-row[b-rnp9ywwhoz]  .sap_input_group {
    width: 100%;
}

/* Collapsed summary row's own Document Currency + Rate - compact, sized to content like every
   other field in the one-line summary (.sap_card-collapse-summary .sap_label is already
   flex:0 0 auto), unlike the expanded panel's own .pay-header-currcy-rate-row above which
   deliberately fills its label's full input column width. */
.pay-collapse-currcy-rate-row[b-rnp9ywwhoz] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pay-collapse-currcy-rate-row[b-rnp9ywwhoz]  .sap_dropdown {
    width: 110px;
}

.pay-collapse-currcy-rate-row[b-rnp9ywwhoz]  .sap_input_group {
    width: 90px;
}

/* Collapsed summary row labels (Customer:, Series:, Due Date:, ...) - bold, per request. The ">"
   before span:first-child is required - without it, "span:first-child" matches ANY span anywhere
   inside .sap_label's subtree that happens to be first among ITS OWN siblings (e.g. the dropdown
   VALUE text in HeaderDipslaySAP's <Display><span>@Value</span></Display>, or SeriesHeader's
   <span class="sap_dropdown-label">) - only a DIRECT child of .sap_label is the field's own Title
   span (both HeaderDipslaySAP and SeriesHeader render exactly that as their first direct child). */
.sap_card-collapse-summary[b-rnp9ywwhoz]  .sap_label > span:first-child {
    font-weight: 600;
}
/* /Components/Pages/SAPUI/SubHeaderInput/SubHeaderInputPeriod.razor.rz.scp.css */
/* Styles specific to SubHeaderInputSAP.razor */
/* Scoped to the component by Blazor .razor.css convention */

.sap_card[b-fsxwkyyrz5] {
    padding: 18px 20px 22px;
    border-radius: 6px;
}

.sap_card-columns[b-fsxwkyyrz5] {
    gap: 48px;
    grid-template-columns: 1fr 1fr;
}

.sap_column[b-fsxwkyyrz5] {
    min-width: 0;
}

.sap_section-title[b-fsxwkyyrz5] {
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 600;
}

.sap_form-grid[b-fsxwkyyrz5] {
    display: grid;
    gap: 8px;
}

/* make the small header inputs align nicely inside the column */
.sap_input_group[b-fsxwkyyrz5] {
    display: flex;
    align-items: center;
}

.sap_input_group .sap_input[b-fsxwkyyrz5] {
    flex: 1;
}

/* responsive adjustments for narrow screens */
@media (max-width: 768px) {
    .sap_card-columns[b-fsxwkyyrz5] {
        grid-template-columns: 1fr;
    }
}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-fsxwkyyrz5]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-fsxwkyyrz5]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-fsxwkyyrz5]{background:#e9ecef}
.sap_btn-action:disabled[b-fsxwkyyrz5]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-fsxwkyyrz5]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-fsxwkyyrz5]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-fsxwkyyrz5]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-fsxwkyyrz5]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-fsxwkyyrz5]{vertical-align:middle}
.sap_dropdown-container[b-fsxwkyyrz5]{position:relative;display:inline-block}
.sap_dropdown-menu[b-fsxwkyyrz5]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-fsxwkyyrz5]{display:block}
.sap_dropdown-item[b-fsxwkyyrz5]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-fsxwkyyrz5]{border-bottom:none}
.sap_dropdown-item:hover[b-fsxwkyyrz5]{background:#f5f5f5}
/* /Components/Pages/SAPUI/SubHeaderInput/SubHeaderInputPurchaseOrderSAP.razor.rz.scp.css */
/* Styles specific to SubHeaderInputSAP.razor */
/* Scoped to the component by Blazor .razor.css convention */

.sap_card[b-tcf6srix6d] {
    padding: 18px 20px 22px;
    border-radius: 6px;
}

.sap_card-columns[b-tcf6srix6d] {
    gap: 48px;
    grid-template-columns: 1fr 1fr;
}

.sap_column[b-tcf6srix6d] {
    min-width: 0;
}

.sap_section-title[b-tcf6srix6d] {
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 600;
}

.sap_form-grid[b-tcf6srix6d] {
    display: grid;
    gap: 8px;
}

/* One row can hold 1..N fields side by side - own copy of SubHeaderInputSAP.razor.css's rules
   (Blazor CSS isolation scopes to the component that renders the markup, not the C# inheritance
   chain, so SubHeaderInputSAP.razor.css's copy never applies to this component's own ObjectData
   RenderFragment even though it inherits from SubHeaderInputSAP). See that file for the full
   rationale. */
.sap_form-row[b-tcf6srix6d] {
    display: flex;
    gap: 24px;
    align-items: start;
}

.sap_form-row-item[b-tcf6srix6d] {
    flex: 1 1 0;
    min-width: 0;
}

.sap_form-row-item--fixed[b-tcf6srix6d] {
    flex: 0 0 auto;
}

/* Live Admin-mode width resizer, sits between two fields sharing a row (see headerRowResize.js). */
.sap-row-resizer[b-tcf6srix6d] {
    width: 8px;
    flex-shrink: 0;
    align-self: stretch;
    cursor: col-resize;
    position: relative;
}

    .sap-row-resizer[b-tcf6srix6d]::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 3px;
        width: 2px;
        background: transparent;
        transition: background-color 0.15s ease;
    }

    .sap-row-resizer:hover[b-tcf6srix6d]::after,
    .sap-row-resizer.sap-row-resizing[b-tcf6srix6d]::after {
        background-color: #0070f2;
    }

/* make the small header inputs align nicely inside the column */
.sap_input_group[b-tcf6srix6d] {
    display: flex;
    align-items: center;
}

.sap_input_group .sap_input[b-tcf6srix6d] {
    flex: 1;
}

/* responsive adjustments for narrow screens */
@media (max-width: 768px) {
    .sap_card-columns[b-tcf6srix6d] {
        grid-template-columns: 1fr;
    }
}

/* Collapsed header summary - bold field labels (Currency/Item-Service Type), matching
   SubHeaderInputSAP's collapsed summary. ::deep reaches into SubInnerCardPreferencesSAP's
   ".sap_label" markup, scoped so it only affects the collapsed summary row. */
.sap_card-collapse-summary[b-tcf6srix6d]  .sap_label > span:first-child {
    font-weight: bold;
}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-tcf6srix6d]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-tcf6srix6d]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-tcf6srix6d]{background:#e9ecef}
.sap_btn-action:disabled[b-tcf6srix6d]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-tcf6srix6d]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-tcf6srix6d]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-tcf6srix6d]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-tcf6srix6d]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-tcf6srix6d]{vertical-align:middle}
.sap_dropdown-container[b-tcf6srix6d]{position:relative;display:inline-block}
.sap_dropdown-menu[b-tcf6srix6d]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-tcf6srix6d]{display:block}
.sap_dropdown-item[b-tcf6srix6d]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-tcf6srix6d]{border-bottom:none}
.sap_dropdown-item:hover[b-tcf6srix6d]{background:#f5f5f5}
/* /Components/Pages/SAPUI/SubHeaderInput/SubHeaderInputRecurringJE.razor.rz.scp.css */
/* Same look as SubHeaderInputJEV2's jev2-* grid, read-only values. */
.rjev2-grid[b-5pilrgh9sy] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem 1rem;
}

@media (max-width: 1024px) {
    .rjev2-grid[b-5pilrgh9sy] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .rjev2-grid[b-5pilrgh9sy] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .rjev2-grid[b-5pilrgh9sy] {
        grid-template-columns: 1fr;
    }
}

.rjev2-full-span[b-5pilrgh9sy] {
    grid-column: 1 / -1;
}

.rjev2-field[b-5pilrgh9sy] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
}

.rjev2-label[b-5pilrgh9sy] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #26619d;
}

.rjev2-value[b-5pilrgh9sy] {
    display: flex;
    align-items: center;
    background: #f8f9ff;
    border-radius: 0.5rem;
    padding: 0.375rem 0.75rem;
    min-height: 2rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #00345e;
    box-sizing: border-box;
    box-shadow: 0 0 0 1px #81b5f633;
    overflow-wrap: anywhere;
}

.rjev2-value--multiline[b-5pilrgh9sy] {
    align-items: flex-start;
    white-space: pre-wrap;
    min-height: 3.5rem;
}

.rjev2-checkbox-field[b-5pilrgh9sy] {
    display: flex;
    align-items: center;
    padding: 0.375rem 0;
}

    .rjev2-checkbox-field input[type="checkbox"][b-5pilrgh9sy] {
        accent-color: #3755c3;
        width: 14px;
        height: 14px;
        margin: 0;
    }

.rjev2-input[b-5pilrgh9sy] {
    width: 100%;
    background: #eff4ff;
    border: none;
    outline: none;
    box-shadow: 0 0 0 1px #81b5f633;
    border-radius: 0.5rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #00345e;
    height: 2rem;
    box-sizing: border-box;
    font-family: inherit;
}

    .rjev2-input:focus[b-5pilrgh9sy] {
        box-shadow: 0 0 0 2px #3755c333;
    }

.rjev2-textarea[b-5pilrgh9sy] {
    height: auto;
    min-height: 3.5rem;
    resize: vertical;
}

/* Date field: text input + calendar icon, with the native date input stretched invisibly over the icon only. */
.sap_date_wrapper[b-5pilrgh9sy] {
    position: relative;
    display: block;
    width: 100%;
}

.sap_date_icon[b-5pilrgh9sy] {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #6b7785;
    pointer-events: none;
}

.sap_date_native[b-5pilrgh9sy] {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 28px;
    opacity: 0;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.rjev2-freq[b-5pilrgh9sy] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

    .rjev2-freq > *[b-5pilrgh9sy] {
        flex: 1 1 0;
        min-width: 0;
    }

/* Native select keeps the .rjev2-input look; the browser arrow is replaced so it stays visible and consistent. */
.rjev2-select[b-5pilrgh9sy] {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2300345e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}
/* /Components/Pages/SAPUI/SubHeaderInput/SubHeaderInputSAP.razor.rz.scp.css */
/* Styles specific to SubHeaderInputSAP.razor */
/* Scoped to the component by Blazor .razor.css convention */

.sap_card[b-2kgpyl5pk0] {
    padding: 18px 20px 22px;
    border-radius: 6px;
}

.sap_card-columns[b-2kgpyl5pk0] {
    gap: 48px;
    grid-template-columns: 1fr 1fr;

}

.sap_column[b-2kgpyl5pk0] {
    min-width: 0;
}

.sap_section-header[b-2kgpyl5pk0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.sap_section-title[b-2kgpyl5pk0] {
    font-size: 13px;
    margin-bottom: 0;
    font-weight: 600;
    flex: 1;
}

.sap_rollback-btn[b-2kgpyl5pk0] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.15s ease;
    font-size: 16px;
    flex-shrink: 0;
}

.sap_rollback-btn:hover[b-2kgpyl5pk0] {
    background-color: #e9ecef;
    color: #0d6efd;
}

.sap_rollback-btn:active[b-2kgpyl5pk0] {
    transform: scale(0.95);
}

.sap_rollback-icon[b-2kgpyl5pk0] {
    display: inline-block;
}

.sap_form-grid[b-2kgpyl5pk0] {
    display: grid;
    gap: 8px;
}

/* .sap_form-row/.sap_form-row-item/.sap-row-resizer moved to the global sapui_custom.css - Blazor's
   per-component CSS isolation meant these scoped rules never applied to SubSectionLogisticsSAP/
   SubSectionAccountingSAP, which now render the same classes for their own Row groups too. */

/* make the small header inputs align nicely inside the column */
.sap_input_group[b-2kgpyl5pk0] {
    display: flex;
    align-items: center;
}

.sap_input_group .sap_input[b-2kgpyl5pk0] {
    flex: 1;
}

/* responsive adjustments for narrow screens */
/* Wrap xuống 1 cột khi màn hình nhỏ hơn 900px */
@media (max-width: 900px) {
    .sap_card-columns[b-2kgpyl5pk0] {
        grid-template-columns: 1fr;
        gap: 24px; /* giảm gap khi stack dọc */
    }
}

/* Collapsed header summary - bold all field labels (Customer/Series/No./Delivery Date/
   Currency/Item-Service Type). ::deep reaches into the child components (SeriesHeader,
   HeaderDipslaySAP, HeaderDipslayClassSAP, SubInnerCardPreferencesSAP) that actually render
   the ".sap_label" markup, scoped so it only affects the collapsed summary row and not the
   same shared components used elsewhere (e.g. the expanded FirstColumn/SecondColumn grid). */
.sap_card-collapse-summary[b-2kgpyl5pk0]  .sap_label > span:first-child {
    font-weight: bold;
}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-2kgpyl5pk0]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-2kgpyl5pk0]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-2kgpyl5pk0]{background:#e9ecef}
.sap_btn-action:disabled[b-2kgpyl5pk0]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-2kgpyl5pk0]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-2kgpyl5pk0]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-2kgpyl5pk0]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-2kgpyl5pk0]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-2kgpyl5pk0]{vertical-align:middle}
.sap_dropdown-container[b-2kgpyl5pk0]{position:relative;display:inline-block}
.sap_dropdown-menu[b-2kgpyl5pk0]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-2kgpyl5pk0]{display:block}
.sap_dropdown-item[b-2kgpyl5pk0]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-2kgpyl5pk0]{border-bottom:none}
.sap_dropdown-item:hover[b-2kgpyl5pk0]{background:#f5f5f5}
/* /Components/Pages/SAPUI/SubHeaderInput/SubHeaderInputSQ.razor.rz.scp.css */
/* Styles specific to SubHeaderInputSAP.razor */
/* Scoped to the component by Blazor .razor.css convention */

.sap_card[b-po2jwso1h3] {
    padding: 18px 20px 22px;
    border-radius: 6px;
}

.sap_card-columns[b-po2jwso1h3] {
    gap: 48px;
    grid-template-columns: 1fr 1fr;
}

.sap_column[b-po2jwso1h3] {
    min-width: 0;
}

.sap_section-title[b-po2jwso1h3] {
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 600;
}

.sap_form-grid[b-po2jwso1h3] {
    display: grid;
    gap: 8px;
}

/* make the small header inputs align nicely inside the column */
.sap_input_group[b-po2jwso1h3] {
    display: flex;
    align-items: center;
}

.sap_input_group .sap_input[b-po2jwso1h3] {
    flex: 1;
}

/* responsive adjustments for narrow screens */
@media (max-width: 768px) {
    .sap_card-columns[b-po2jwso1h3] {
        grid-template-columns: 1fr;
    }
}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-po2jwso1h3]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-po2jwso1h3]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-po2jwso1h3]{background:#e9ecef}
.sap_btn-action:disabled[b-po2jwso1h3]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-po2jwso1h3]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-po2jwso1h3]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-po2jwso1h3]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-po2jwso1h3]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-po2jwso1h3]{vertical-align:middle}
.sap_dropdown-container[b-po2jwso1h3]{position:relative;display:inline-block}
.sap_dropdown-menu[b-po2jwso1h3]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-po2jwso1h3]{display:block}
.sap_dropdown-item[b-po2jwso1h3]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-po2jwso1h3]{border-bottom:none}
.sap_dropdown-item:hover[b-po2jwso1h3]{background:#f5f5f5}
/* /Components/Pages/SAPUI/SubHeaderInput/SubHeaderInputStockSAP.razor.rz.scp.css */
/* Styles specific to SubHeaderInputSAP.razor */
/* Scoped to the component by Blazor .razor.css convention */

.sap_card[b-mcoohzbus1] {
    padding: 18px 20px 22px;
    border-radius: 6px;
}

.sap_card-columns[b-mcoohzbus1] {
    gap: 48px;
    grid-template-columns: 1fr 1fr;

}

.sap_column[b-mcoohzbus1] {
    min-width: 0;
}

.sap_section-header[b-mcoohzbus1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.sap_section-title[b-mcoohzbus1] {
    font-size: 13px;
    margin-bottom: 0;
    font-weight: 600;
    flex: 1;
}

.sap_rollback-btn[b-mcoohzbus1] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.15s ease;
    font-size: 16px;
    flex-shrink: 0;
}

.sap_rollback-btn:hover[b-mcoohzbus1] {
    background-color: #e9ecef;
    color: #0d6efd;
}

.sap_rollback-btn:active[b-mcoohzbus1] {
    transform: scale(0.95);
}

.sap_rollback-icon[b-mcoohzbus1] {
    display: inline-block;
}

.sap_form-grid[b-mcoohzbus1] {
    display: grid;
    gap: 8px;
}

/* One row can hold 1..N fields side by side. The first field in a row has no width override
   (flex:1, keeps .sap_label's default 1fr input column - grows to fill whatever's left); every
   subsequent field gets flex:0 (sized to its own content) and sets --sap-input-width, which
   .sap_label (sapui_custom.css / HeaderDipslaySAP.razor.css / HeaderDipslayClassSAP.razor.css)
   reads to widen its input column beyond the default 1fr. */
.sap_form-row[b-mcoohzbus1] {
    display: flex;
    gap: 24px;
    align-items: start;
}

.sap_form-row-item[b-mcoohzbus1] {
    flex: 1 1 0;
    min-width: 0;
}

.sap_form-row-item--fixed[b-mcoohzbus1] {
    flex: 0 0 auto;
}

/* Live Admin-mode width resizer, sits between two fields sharing a row (see headerRowResize.js -
   it reads/writes this handle's nextElementSibling, i.e. the field immediately after it). */
.sap-row-resizer[b-mcoohzbus1] {
    width: 8px;
    flex-shrink: 0;
    align-self: stretch;
    cursor: col-resize;
    position: relative;
}

    .sap-row-resizer[b-mcoohzbus1]::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 3px;
        width: 2px;
        background: transparent;
        transition: background-color 0.15s ease;
    }

    .sap-row-resizer:hover[b-mcoohzbus1]::after,
    .sap-row-resizer.sap-row-resizing[b-mcoohzbus1]::after {
        background-color: #0070f2;
    }

/* make the small header inputs align nicely inside the column */
.sap_input_group[b-mcoohzbus1] {
    display: flex;
    align-items: center;
}

.sap_input_group .sap_input[b-mcoohzbus1] {
    flex: 1;
}

/* responsive adjustments for narrow screens */
/* Wrap xuống 1 cột khi màn hình nhỏ hơn 900px */
@media (max-width: 900px) {
    .sap_card-columns[b-mcoohzbus1] {
        grid-template-columns: 1fr;
        gap: 24px; /* giảm gap khi stack dọc */
    }
}

/* Collapsed header summary - bold all field labels (Customer/Series/No./Delivery Date/
   Currency/Item-Service Type). ::deep reaches into the child components (SeriesHeader,
   HeaderDipslaySAP, HeaderDipslayClassSAP, SubInnerCardPreferencesSAP) that actually render
   the ".sap_label" markup, scoped so it only affects the collapsed summary row and not the
   same shared components used elsewhere (e.g. the expanded FirstColumn/SecondColumn grid). */
.sap_card-collapse-summary[b-mcoohzbus1]  .sap_label > span:first-child {
    font-weight: bold;
}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-mcoohzbus1]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-mcoohzbus1]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-mcoohzbus1]{background:#e9ecef}
.sap_btn-action:disabled[b-mcoohzbus1]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-mcoohzbus1]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-mcoohzbus1]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-mcoohzbus1]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-mcoohzbus1]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-mcoohzbus1]{vertical-align:middle}
.sap_dropdown-container[b-mcoohzbus1]{position:relative;display:inline-block}
.sap_dropdown-menu[b-mcoohzbus1]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-mcoohzbus1]{display:block}
.sap_dropdown-item[b-mcoohzbus1]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-mcoohzbus1]{border-bottom:none}
.sap_dropdown-item:hover[b-mcoohzbus1]{background:#f5f5f5}
/* /Components/Pages/SAPUI/SubHeaderInput/SubHeaderInputWareHouse.razor.rz.scp.css */
/* Styles specific to SubHeaderInputSAP.razor */
/* Scoped to the component by Blazor .razor.css convention */

.sap_card[b-bkc3tt7bxx] {
    padding: 18px 20px 22px;
    border-radius: 6px;
}

.sap_card-columns[b-bkc3tt7bxx] {
    gap: 48px;
    grid-template-columns: 1fr 1fr;
}

.sap_column[b-bkc3tt7bxx] {
    min-width: 0;
}

.sap_section-title[b-bkc3tt7bxx] {
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 600;
}

.sap_form-grid[b-bkc3tt7bxx] {
    display: grid;
    gap: 8px;
}

/* make the small header inputs align nicely inside the column */
.sap_input_group[b-bkc3tt7bxx] {
    display: flex;
    align-items: center;
}

.sap_input_group .sap_input[b-bkc3tt7bxx] {
    flex: 1;
}

/* responsive adjustments for narrow screens */
@media (max-width: 768px) {
    .sap_card-columns[b-bkc3tt7bxx] {
        grid-template-columns: 1fr;
    }
}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-bkc3tt7bxx]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-bkc3tt7bxx]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-bkc3tt7bxx]{background:#e9ecef}
.sap_btn-action:disabled[b-bkc3tt7bxx]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-bkc3tt7bxx]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-bkc3tt7bxx]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-bkc3tt7bxx]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-bkc3tt7bxx]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-bkc3tt7bxx]{vertical-align:middle}
.sap_dropdown-container[b-bkc3tt7bxx]{position:relative;display:inline-block}
.sap_dropdown-menu[b-bkc3tt7bxx]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-bkc3tt7bxx]{display:block}
.sap_dropdown-item[b-bkc3tt7bxx]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-bkc3tt7bxx]{border-bottom:none}
.sap_dropdown-item:hover[b-bkc3tt7bxx]{background:#f5f5f5}
/* /Components/Pages/SAPUI/SubInnerCardLine/SalesOrderLineDetailPanel.razor.rz.scp.css */
.line-detail-panel-overlay[b-5ymfyqpsts] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9998;
    background: transparent;
}

.line-detail-panel[b-5ymfyqpsts] {
    position: fixed;
    z-index: 9999;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    width: 1140px;
    max-width: 95vw;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.line-detail-panel-header[b-5ymfyqpsts] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid #e5e5e5;
}

.line-detail-panel-docnum[b-5ymfyqpsts] {
    font-weight: 400;
    font-size: 0.85rem;
    color: #666;
    margin-left: 10px;
}

.line-detail-panel-header-actions[b-5ymfyqpsts] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.line-detail-panel-fullscreen[b-5ymfyqpsts] {
    cursor: pointer;
    font-size: 1.1rem;
    color: #999;
    line-height: 1;
}

    .line-detail-panel-fullscreen:hover[b-5ymfyqpsts] {
        color: #333;
    }

.line-detail-panel-close[b-5ymfyqpsts] {
    cursor: pointer;
    font-size: 1.2rem;
    color: #999;
    line-height: 1;
}

    .line-detail-panel-close:hover[b-5ymfyqpsts] {
        color: #333;
    }

.line-detail-panel-body[b-5ymfyqpsts] {
    max-height: min(60vh, 480px);
    overflow: auto;
    padding: 8px;
}
/* /Components/Pages/SAPUI/SubInnerCardLine/SubInnerCardLineDetailSAP.razor.rz.scp.css */
.sap_inner-card[b-cqxitunc00]{background:#f8fafc;padding:1rem;border-radius:6px}
.sap_section-title[b-cqxitunc00]{margin:0 0 .5rem;font-size:1rem;font-weight:600}
.sap_table-actions[b-cqxitunc00]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}
.sap_table-no-data[b-cqxitunc00]{text-align:center;color:#888;padding:1rem}
/* isolation:isolate scopes the frozen-column sticky cells' z-index (1/2/3, used only to order
   sticky bits within this table) to a stacking context of their own, so they can't leak out and
   out-rank page-level sticky elements (e.g. SaleOrderDI's sticky sub-header, also z-index:2) that
   should paint on top of this table while scrolling the page. */
/* overflow-y (+ the max-height cap) gives the grid its own internal scrollbar, independent of the
   page, and doubles as the "nearest scrolling ancestor" the global .sap-table-line thead th's
   position:sticky;top:0 (sapui_custom.css) and this file's frozen-column position:sticky;left/right
   attach to per axis - without it those sticky rules pin to the page's own scroll instead, which is
   what made the grid render as an ordinary page-scrolling table with no visible row cap despite
   <Virtualize> already only mounting a window of rows under the hood. 36px per data row matches
   .sap-table-line tbody td's actual CSS height (sapui_custom.css, border-box) and must stay in sync
   with <Virtualize ItemSize="36f"> and LINE_ROW_ESTIMATED_HEIGHT in keyboard-navigation-jev2.js if
   row height ever changes. max-height (not height) so a document with fewer than ~10 lines still
   shrinks to fit its content instead of leaving empty space. */
.sap_table-wrapper-line[b-cqxitunc00]{overflow-x:auto;overflow-y:auto;max-height:calc(36px * 10 + 40px);width:100%;isolation:isolate}
/* Wraps .sap_table-wrapper-line so the loading overlay below can absolutely-position itself against
   THIS element (position:relative) rather than the page - the wrapper itself can't be the positioning
   parent because it's the scrollable element (overflow-y:auto above); an absolutely-positioned child
   of a scrollable ancestor scrolls away with the content instead of staying pinned over the visible
   viewport while IsLoadingLines is true. */
.sap_table-line-outer[b-cqxitunc00]{position:relative}
.sap_table-line-loading-overlay[b-cqxitunc00]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.75);z-index:5}
/* The <Virtualize> spacer-styling rule that used to live here moved to an inline <style> tag in
   SubInnerCardLineDetailSAP.razor - confirmed live that an isolated selector can never match it
   (the spacer <tr> Virtualize generates carries no b-xxxx scope attribute at all, only Blazor's
   own internal marker), see .claude/docs/CSS_ISOLATION_EXCEPTIONS.md Exception 1. */
.sap-table-line[b-cqxitunc00]{width:100%;border-collapse:collapse;min-width:max-content}
.sap-table-line th[b-cqxitunc00],.sap-table-line td[b-cqxitunc00]{padding:.5rem;text-align:left;min-width:160px;white-space:nowrap}
.sap-table-line th:first-child[b-cqxitunc00],.sap-table-line td:first-child[b-cqxitunc00]{min-width:40px;width:40px;text-align:center}
.sap-table-line th:nth-child(2)[b-cqxitunc00],.sap-table-line td:nth-child(2)[b-cqxitunc00]{min-width:50px;width:50px;text-align:center}
.sap_input[b-cqxitunc00]{padding:.4rem .5rem;border:1px solid #ccc;border-radius:3px}
.sap_input_group[b-cqxitunc00]{display:flex;align-items:center;gap:.5rem}
.sap_input_btn[b-cqxitunc00]{background:#f3f3f3;border:1px solid #ddd;padding:.25rem .4rem;border-radius:3px;cursor:pointer}
.sap_dropdown-container[b-cqxitunc00]{position:relative}
.sap_dropdown-menu[b-cqxitunc00]{position:absolute;display:none;background:#fff;border:1px solid #ddd;z-index:10;min-width:160px}
.sap_dropdown-menu.show[b-cqxitunc00]{display:block}
.sap_dropdown-item[b-cqxitunc00]{padding:.4rem .6rem;cursor:pointer}
.sap_mt-16[b-cqxitunc00]{margin-top:1rem}
.sap_btn-action[b-cqxitunc00],.sap_btn[b-cqxitunc00],.sap_btn-primary[b-cqxitunc00]{padding:.4rem .6rem;border-radius:4px;border:1px solid #ccc;background:#fff;cursor:pointer}
.sap_btn-primary[b-cqxitunc00]{background:#0078d4;color:#fff;border-color:#0078d4}
.sap_table-actions-right[b-cqxitunc00]{display:flex;gap:.5rem;align-items:center}

    .sap-table-line th[b-cqxitunc00],
.sap-table-line td[b-cqxitunc00] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 0;
    width: inherit;
    position: relative;
}

/* Blazor CSS isolation adds a scope attribute to every selector in this file, which makes the
   `position: relative` rule just above (needed so .sap-col-resizer's absolute positioning has a
   local anchor) MORE specific than sapui_custom.css's global `.sap-table-line thead th { position:
   sticky; top: 0; ... }` - so it silently won that fight and the header scrolled away with the
   body instead of staying pinned. Re-declaring the same two properties here, scoped to thead th
   specifically, is more specific again than the rule above (extra `thead` type selector) and wins
   cleanly without needing !important. Every other header style (z-index, background, box-shadow...)
   still comes from the global rule - only position/top are restated here. */
.sap-table-line thead th[b-cqxitunc00] {
    position: sticky;
    top: 0;
}

    .sap-table-line th[b-cqxitunc00] {
        user-select: none;
    }

.sap-col-resizer[b-cqxitunc00] {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    cursor: col-resize;
    background: transparent;
    user-select: none;
    z-index: 10;
}

    .sap-col-resizer:hover[b-cqxitunc00],
    .sap-col-resizer.resizing[b-cqxitunc00] {
        background: rgba(0, 120, 212, 0.4);
    }

/* /Components/Pages/SAPUI/SubInnerCardLine/SubInnerCardLinePRQSAP.razor.rz.scp.css */
.sap_inner-card[b-163jjogprc] {
    background: #fff;
    padding: 1rem;
    border-radius: 6px
}

.sap_section-title[b-163jjogprc] {
    margin: 0 0 .5rem;
    font-size: 1rem;
    font-weight: 600
}

.sap_table-actions[b-163jjogprc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .75rem
}

.sap_table-no-data[b-163jjogprc] {
    text-align: center;
    color: #888;
    padding: 1rem
}

.sap_table-wrapper-line[b-163jjogprc] {
    overflow-x: auto;
    width: 100%
}

.sap-table-line[b-163jjogprc] {
    width: 100%;
    border-collapse: collapse;
    min-width: max-content
}

    .sap-table-line th[b-163jjogprc], .sap-table-line td[b-163jjogprc] {
        padding: .5rem;
        text-align: left;
        min-width: 160px;
        white-space: nowrap
    }

        .sap-table-line th:first-child[b-163jjogprc], .sap-table-line td:first-child[b-163jjogprc] {
            min-width: 40px;
            width: 40px;
            text-align: center
        }

        .sap-table-line th:nth-child(2)[b-163jjogprc], .sap-table-line td:nth-child(2)[b-163jjogprc] {
            min-width: 50px;
            width: 50px;
            text-align: center
        }

.sap_input[b-163jjogprc] {
    padding: .4rem .5rem;
    border: 1px solid #ccc;
    border-radius: 3px
}

.sap_input_group[b-163jjogprc] {
    display: flex;
    align-items: center;
    gap: .5rem
}

.sap_input_btn[b-163jjogprc] {
    background: #f3f3f3;
    border: 1px solid #ddd;
    padding: .25rem .4rem;
    border-radius: 3px;
    cursor: pointer
}

.sap_dropdown-container[b-163jjogprc] {
    position: relative
}

.sap_dropdown-menu[b-163jjogprc] {
    position: absolute;
    display: none;
    background: #fff;
    border: 1px solid #ddd;
    z-index: 10;
    min-width: 160px
}

    .sap_dropdown-menu.show[b-163jjogprc] {
        display: block
    }

.sap_dropdown-item[b-163jjogprc] {
    padding: .4rem .6rem;
    cursor: pointer
}

.sap_mt-16[b-163jjogprc] {
    margin-top: 1rem
}

.sap_btn-action[b-163jjogprc], .sap_btn[b-163jjogprc], .sap_btn-primary[b-163jjogprc] {
    padding: .4rem .6rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer
}

.sap_btn-primary[b-163jjogprc] {
    background: #0078d4;
    color: #fff;
    border-color: #0078d4
}

.sap_table-actions-right[b-163jjogprc] {
    display: flex;
    gap: .5rem;
    align-items: center
}

.sap-table-line th[b-163jjogprc],
.sap-table-line td[b-163jjogprc] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 0;
    width: inherit;
    position: relative;
}

.sap-table-line th[b-163jjogprc] {
    user-select: none;
}

.sap-col-resizer[b-163jjogprc] {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    cursor: col-resize;
    background: transparent;
    user-select: none;
    z-index: 10;
}

    .sap-col-resizer:hover[b-163jjogprc],
    .sap-col-resizer.resizing[b-163jjogprc] {
        background: rgba(0, 120, 212, 0.4);
    }
/* /Components/Pages/SAPUI/SubInnerCardLine/SubInnerCardLineStockSAP.razor.rz.scp.css */
.sap_inner-card[b-m49p88fs1i]{background:#f8fafc;padding:1rem;border-radius:6px}
.sap_section-title[b-m49p88fs1i]{margin:0 0 .5rem;font-size:1rem;font-weight:600}
.sap_table-actions[b-m49p88fs1i]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}
.sap_table-no-data[b-m49p88fs1i]{text-align:center;color:#888;padding:1rem}
/* isolation:isolate scopes the frozen-column sticky cells' z-index (1/2/3, used only to order
   sticky bits within this table) to a stacking context of their own, so they can't leak out and
   out-rank page-level sticky elements (e.g. SaleOrderDI's sticky sub-header, also z-index:2) that
   should paint on top of this table while scrolling the page. */
.sap_table-wrapper-line[b-m49p88fs1i]{overflow-x:auto;width:100%;isolation:isolate}
.sap-table-line[b-m49p88fs1i]{width:100%;border-collapse:collapse;min-width:max-content}
.sap-table-line th[b-m49p88fs1i],.sap-table-line td[b-m49p88fs1i]{padding:.5rem;text-align:left;min-width:160px;white-space:nowrap}
.sap-table-line th:first-child[b-m49p88fs1i],.sap-table-line td:first-child[b-m49p88fs1i]{min-width:40px;width:40px;text-align:center}
.sap-table-line th:nth-child(2)[b-m49p88fs1i],.sap-table-line td:nth-child(2)[b-m49p88fs1i]{min-width:50px;width:50px;text-align:center}
.sap_input[b-m49p88fs1i]{padding:.4rem .5rem;border:1px solid #ccc;border-radius:3px}
.sap_input_group[b-m49p88fs1i]{display:flex;align-items:center;gap:.5rem}
.sap_input_btn[b-m49p88fs1i]{background:#f3f3f3;border:1px solid #ddd;padding:.25rem .4rem;border-radius:3px;cursor:pointer}
.sap_dropdown-container[b-m49p88fs1i]{position:relative}
.sap_dropdown-menu[b-m49p88fs1i]{position:absolute;display:none;background:#fff;border:1px solid #ddd;z-index:10;min-width:160px}
.sap_dropdown-menu.show[b-m49p88fs1i]{display:block}
.sap_dropdown-item[b-m49p88fs1i]{padding:.4rem .6rem;cursor:pointer}
.sap_mt-16[b-m49p88fs1i]{margin-top:1rem}
.sap_btn-action[b-m49p88fs1i],.sap_btn[b-m49p88fs1i],.sap_btn-primary[b-m49p88fs1i]{padding:.4rem .6rem;border-radius:4px;border:1px solid #ccc;background:#fff;cursor:pointer}
.sap_btn-primary[b-m49p88fs1i]{background:#0078d4;color:#fff;border-color:#0078d4}
.sap_table-actions-right[b-m49p88fs1i]{display:flex;gap:.5rem;align-items:center}

    .sap-table-line th[b-m49p88fs1i],
.sap-table-line td[b-m49p88fs1i] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 0;    
    width: inherit;    
    position: relative;
}

    .sap-table-line th[b-m49p88fs1i] {
        user-select: none;
    }

.sap-col-resizer[b-m49p88fs1i] {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    cursor: col-resize;
    background: transparent;
    user-select: none;
    z-index: 10;
}

    .sap-col-resizer:hover[b-m49p88fs1i],
    .sap-col-resizer.resizing[b-m49p88fs1i] {
        background: rgba(0, 120, 212, 0.4);
    }

/* /Components/Pages/SAPUI/SubSectionAccounting/SubSectionAccountingSAP.razor.rz.scp.css */
/* Styles specific to SubHeaderInputSAP.razor */
/* Scoped to the component by Blazor .razor.css convention */

.sap_card[b-fxajr9p43c] {
    padding: 18px 20px 22px;
    border-radius: 6px;
}

.sap_card-columns[b-fxajr9p43c] {
    gap: 24px;
    grid-template-columns: 1fr 1fr;
}

.sap_column[b-fxajr9p43c] {
    min-width: 0;
}

.sap_section-title[b-fxajr9p43c] {
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 600;
}

.sap_form-grid[b-fxajr9p43c] {
    display: grid;
    gap: 8px;
}

/* make the small header inputs align nicely inside the column */
.sap_input_group[b-fxajr9p43c] {
    display: flex;
    align-items: center;
}

.sap_input_group .sap_input[b-fxajr9p43c] {
    flex: 1;
}

/* responsive adjustments for narrow screens */
@media (max-width: 768px) {
    .sap_card-columns[b-fxajr9p43c] {
        grid-template-columns: 1fr;
    }
}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-fxajr9p43c]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-fxajr9p43c]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-fxajr9p43c]{background:#e9ecef}
.sap_btn-action:disabled[b-fxajr9p43c]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-fxajr9p43c]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-fxajr9p43c]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-fxajr9p43c]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-fxajr9p43c]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-fxajr9p43c]{vertical-align:middle}
.sap_dropdown-container[b-fxajr9p43c]{position:relative;display:inline-block}
.sap_dropdown-menu[b-fxajr9p43c]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-fxajr9p43c]{display:block}
.sap_dropdown-item[b-fxajr9p43c]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-fxajr9p43c]{border-bottom:none}
.sap_dropdown-item:hover[b-fxajr9p43c]{background:#f5f5f5}
/* /Components/Pages/SAPUI/SubSectionAccounting/SubsectionAccountingWarehouse.razor.rz.scp.css */
.sap_inner-card[b-8ktlv88drt]{background:#fff;border:1px solid #e6e6e6;padding:1rem;border-radius:6px}
.sap_section-title[b-8ktlv88drt]{margin:0 0 .5rem;font-size:1rem;font-weight:600}
.sap_table-actions[b-8ktlv88drt]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}
.sap_table-no-data[b-8ktlv88drt]{text-align:center;color:#888;padding:1rem}
.sap_table-wrapper[b-8ktlv88drt]{overflow-x:auto;width:100%}
.sap-table[b-8ktlv88drt]{width:100%;border-collapse:collapse;min-width:max-content}
.sap-table th[b-8ktlv88drt],.sap-table td[b-8ktlv88drt]{border:1px solid #f0f0f0;padding:.5rem;text-align:left;min-width:160px;white-space:nowrap}
.sap-table th:first-child[b-8ktlv88drt],.sap-table td:first-child[b-8ktlv88drt]{min-width:40px;width:40px;text-align:center}
.sap-table th:nth-child(2)[b-8ktlv88drt],.sap-table td:nth-child(2)[b-8ktlv88drt]{min-width:50px;width:50px;text-align:center}
.sap_input[b-8ktlv88drt]{padding:.4rem .5rem;border:1px solid #ccc;border-radius:3px}
.sap_input_group[b-8ktlv88drt]{display:flex;align-items:center;gap:.5rem}
.sap_input_btn[b-8ktlv88drt]{background:#f3f3f3;border:1px solid #ddd;padding:.25rem .4rem;border-radius:3px;cursor:pointer}
.sap_dropdown-container[b-8ktlv88drt]{position:relative}
.sap_dropdown-menu[b-8ktlv88drt]{position:absolute;display:none;background:#fff;border:1px solid #ddd;z-index:10;min-width:160px}
.sap_dropdown-menu.show[b-8ktlv88drt]{display:block}
.sap_dropdown-item[b-8ktlv88drt]{padding:.4rem .6rem;cursor:pointer}
.sap_mt-16[b-8ktlv88drt]{margin-top:1rem}
.sap_btn-action[b-8ktlv88drt],.sap_btn[b-8ktlv88drt],.sap_btn-primary[b-8ktlv88drt]{padding:.4rem .6rem;border-radius:4px;border:1px solid #ccc;background:#fff;cursor:pointer}
.sap_btn-primary[b-8ktlv88drt]{background:#0078d4;color:#fff;border-color:#0078d4}
.sap_table-actions-right[b-8ktlv88drt]{display:flex;gap:.5rem;align-items:center}

/* Account Code column centered in view/read-only mode only (TextboxLineDataSAP's own
   .sap_inputDisable div) - ::deep reaches into that child component's own rendered markup, which
   normal CSS-isolation scoping otherwise wouldn't match. Editable mode (the actual <input>) stays
   left-aligned, same as every other input on this page - centering that one too visibly separated
   the popover chevron from the text (the chevron's own space is reserved via a fixed left padding,
   not centered), so it's intentionally left out here. */
.sap-acct-code-cell[b-8ktlv88drt]  .sap_inputDisable {
    text-align: center;
}
/* /Components/Pages/SAPUI/SubSectionContent/SubSectionContentJE.razor.rz.scp.css */
.sap_inner-card[b-wcf9zqnodc]{background:#fff;padding:1rem;border-radius:6px}
.sap_section-title[b-wcf9zqnodc]{margin:0 0 .5rem;font-size:1rem;font-weight:600}
.sap_table-actions[b-wcf9zqnodc]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}
.sap_table-no-data[b-wcf9zqnodc]{text-align:center;color:#888;padding:1rem}
.sap_table-wrapper-line[b-wcf9zqnodc] {
    overflow-x: auto;
    overflow-y: clip;
    padding-bottom: 70px;
    /*margin-bottom: -180px;*/
    /* Ép scrollbar luôn hiển thị */
    scrollbar-width: thin; /* Firefox */
}

.sap-table-line[b-wcf9zqnodc]{width:100%;border-collapse:collapse;min-width:max-content}
.sap-table-line th[b-wcf9zqnodc],.sap-table-line td[b-wcf9zqnodc]{padding:.5rem;text-align:left;min-width:160px;white-space:nowrap}
.sap-table-line th:first-child[b-wcf9zqnodc],.sap-table-line td:first-child[b-wcf9zqnodc]{min-width:40px;width:40px;text-align:center}
.sap-table-line th:nth-child(2)[b-wcf9zqnodc],.sap-table-line td:nth-child(2)[b-wcf9zqnodc]{min-width:50px;width:50px;text-align:center}
/* Without the leading checkbox column (ShowSelectColumn=false) the 2nd column is the G/L Account code, not "#" - give it the normal column width instead of the 50px "#" width. */
.sap-table-line.sap-table-no-select th:nth-child(2)[b-wcf9zqnodc],.sap-table-line.sap-table-no-select td:nth-child(2)[b-wcf9zqnodc]{min-width:160px;width:auto;text-align:left}
.sap_input[b-wcf9zqnodc]{padding:.4rem .5rem;border:1px solid #ccc;border-radius:3px}
.sap_input_group[b-wcf9zqnodc]{display:flex;align-items:center;gap:.5rem}
.sap_input_btn[b-wcf9zqnodc]{background:#f3f3f3;border:1px solid #ddd;padding:.25rem .4rem;border-radius:3px;cursor:pointer}
.sap_dropdown-container[b-wcf9zqnodc]{position:relative}
.sap_dropdown-menu[b-wcf9zqnodc]{position:absolute;display:none;background:#fff;border:1px solid #ddd;z-index:10;min-width:160px}
.sap_dropdown-menu.show[b-wcf9zqnodc]{display:block}
.sap_dropdown-item[b-wcf9zqnodc]{padding:.4rem .6rem;cursor:pointer}
.sap_mt-16[b-wcf9zqnodc]{margin-top:1rem}
.sap_btn-action[b-wcf9zqnodc],.sap_btn[b-wcf9zqnodc],.sap_btn-primary[b-wcf9zqnodc]{padding:.4rem .6rem;border-radius:4px;border:1px solid #ccc;background:#fff;cursor:pointer}
.sap_btn-primary[b-wcf9zqnodc]{background:#0078d4;color:#fff;border-color:#0078d4}
.sap_table-actions-right[b-wcf9zqnodc]{display:flex;gap:.5rem;align-items:center}

    .sap-table-line th[b-wcf9zqnodc],
.sap-table-line td[b-wcf9zqnodc] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 0;    
    width: inherit;    
    position: relative;
}

    .sap-table-line th[b-wcf9zqnodc] {
        user-select: none;
    }

.sap-col-resizer[b-wcf9zqnodc] {  
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    cursor: col-resize;
    background: transparent;
    user-select: none;
    z-index: 10;
}

    .sap-col-resizer:hover[b-wcf9zqnodc],
    .sap-col-resizer.resizing[b-wcf9zqnodc] {
        background: rgba(0, 120, 212, 0.4);
    }
.sap-table-line td:has(.dropdown-menu.show)[b-wcf9zqnodc],
.sap-table-line td:has(.sap_dropdown-menu.show)[b-wcf9zqnodc] {
    overflow: visible !important;
}


.sap_btn-add-row-wrapper[b-wcf9zqnodc] {
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid #e5eeff;
}

.sap_btn-add-row[b-wcf9zqnodc] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: #0070f2;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    transition: text-decoration 0.15s;
}

    .sap_btn-add-row:hover[b-wcf9zqnodc] {
        background: #f5f5f5;
    }

    .sap_btn-add-row i[b-wcf9zqnodc] {
        font-size: 1.2rem;
    }
/* /Components/Pages/SAPUI/SubSectionContent/SubSectionContentJEV2.razor.rz.scp.css */
.sap_inner-card[b-0n468mbwqk] {
    background: #fff;
    padding: 1rem;
    border-radius: 6px
}

.sap_section-title[b-0n468mbwqk] {
    margin: 0 0 .5rem;
    font-size: 1rem;
    font-weight: 600
}

.sap_table-actions[b-0n468mbwqk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .75rem
}

.sap_table-no-data[b-0n468mbwqk] {
    text-align: center;
    color: #888;
    padding: 1rem
}

.sap_table-wrapper-line[b-0n468mbwqk] {
    overflow-x: auto;
    overflow-y: clip;
    padding-bottom: 70px;
    /*margin-bottom: -180px;*/
    /* Ép scrollbar luôn hiển thị */
    scrollbar-width: thin; /* Firefox */
}

.sap-table-line[b-0n468mbwqk] {
    width: 100%;
    border-collapse: collapse;
    min-width: max-content
}

    .sap-table-line th[b-0n468mbwqk], .sap-table-line td[b-0n468mbwqk] {
        padding: .5rem;
        text-align: left;
        min-width: 160px;
        white-space: nowrap
    }

        .sap-table-line th:first-child[b-0n468mbwqk], .sap-table-line td:first-child[b-0n468mbwqk] {
            min-width: 40px;
            width: 40px;
            text-align: center
        }

        .sap-table-line th:nth-child(2)[b-0n468mbwqk], .sap-table-line td:nth-child(2)[b-0n468mbwqk] {
            min-width: 50px;
            width: 50px;
            text-align: center
        }

.sap_input[b-0n468mbwqk] {
    padding: .4rem .5rem;
    border: 1px solid #ccc;
    border-radius: 3px
}

.sap_input_group[b-0n468mbwqk] {
    display: flex;
    align-items: center;
    gap: .5rem
}

.sap_input_btn[b-0n468mbwqk] {
    background: #f3f3f3;
    border: 1px solid #ddd;
    padding: .25rem .4rem;
    border-radius: 3px;
    cursor: pointer
}

.sap_dropdown-container[b-0n468mbwqk] {
    position: relative
}

.sap_dropdown-menu[b-0n468mbwqk] {
    position: absolute;
    display: none;
    background: #fff;
    border: 1px solid #ddd;
    z-index: 10;
    min-width: 160px
}

    .sap_dropdown-menu.show[b-0n468mbwqk] {
        display: block
    }

.sap_dropdown-item[b-0n468mbwqk] {
    padding: .4rem .6rem;
    cursor: pointer
}

.sap_mt-16[b-0n468mbwqk] {
    margin-top: 1rem
}

.sap_btn-action[b-0n468mbwqk], .sap_btn[b-0n468mbwqk], .sap_btn-primary[b-0n468mbwqk] {
    padding: .4rem .6rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer
}

.sap_btn-primary[b-0n468mbwqk] {
    background: #0078d4;
    color: #fff;
    border-color: #0078d4
}

.sap_table-actions-right[b-0n468mbwqk] {
    display: flex;
    gap: .5rem;
    align-items: center
}

.sap-table-line th[b-0n468mbwqk],
.sap-table-line td[b-0n468mbwqk] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 0;
    width: inherit;
    position: relative;
}

.sap-table-line th[b-0n468mbwqk] {
    user-select: none;
}

.sap-col-resizer[b-0n468mbwqk] {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    cursor: col-resize;
    background: transparent;
    user-select: none;
    z-index: 10;
}

    .sap-col-resizer:hover[b-0n468mbwqk],
    .sap-col-resizer.resizing[b-0n468mbwqk] {
        background: rgba(0, 120, 212, 0.4);
    }

.sap-table-line td:has(.dropdown-menu.show)[b-0n468mbwqk],
.sap-table-line td:has(.sap_dropdown-menu.show)[b-0n468mbwqk] {
    overflow: visible !important;
}


.sap_btn-add-row-wrapper[b-0n468mbwqk] {
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid #e5eeff;
}

.sap_btn-add-row[b-0n468mbwqk] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: #0070f2;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    transition: text-decoration 0.15s;
}

    .sap_btn-add-row:hover[b-0n468mbwqk] {
        background: #f5f5f5;
    }

    .sap_btn-add-row i[b-0n468mbwqk] {
        font-size: 1.2rem;
    }
/* /Components/Pages/SAPUI/SubSectionContent/SubSectionContentPO.razor.rz.scp.css */
.sap_section-content[b-ag32y0cac4]{padding:.5rem}
.sap_block-title[b-ag32y0cac4]{font-size:1.2rem;margin-bottom:.5rem}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-ag32y0cac4]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-ag32y0cac4]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-ag32y0cac4]{background:#e9ecef}
.sap_btn-action:disabled[b-ag32y0cac4]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-ag32y0cac4]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-ag32y0cac4]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-ag32y0cac4]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-ag32y0cac4]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-ag32y0cac4]{vertical-align:middle}
.sap_dropdown-container[b-ag32y0cac4]{position:relative;display:inline-block}
.sap_dropdown-menu[b-ag32y0cac4]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-ag32y0cac4]{display:block}
.sap_dropdown-item[b-ag32y0cac4]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-ag32y0cac4]{border-bottom:none}
.sap_dropdown-item:hover[b-ag32y0cac4]{background:#f5f5f5}
/* /Components/Pages/SAPUI/SubSectionContent/SubSectionContentPRQ.razor.rz.scp.css */
.sap_section-content[b-f11vwr6nsq]{padding:.5rem}
.sap_block-title[b-f11vwr6nsq]{font-size:1.2rem;margin-bottom:.5rem}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-f11vwr6nsq]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-f11vwr6nsq]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-f11vwr6nsq]{background:#e9ecef}
.sap_btn-action:disabled[b-f11vwr6nsq]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-f11vwr6nsq]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-f11vwr6nsq]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-f11vwr6nsq]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-f11vwr6nsq]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-f11vwr6nsq]{vertical-align:middle}
.sap_dropdown-container[b-f11vwr6nsq]{position:relative;display:inline-block}
.sap_dropdown-menu[b-f11vwr6nsq]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-f11vwr6nsq]{display:block}
.sap_dropdown-item[b-f11vwr6nsq]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-f11vwr6nsq]{border-bottom:none}
.sap_dropdown-item:hover[b-f11vwr6nsq]{background:#f5f5f5}
/* /Components/Pages/SAPUI/SubSectionContent/SubSectionContentRecurringJE.razor.rz.scp.css */
.rjev2-num[b-28yjplqz6p] {
    text-align: right;
    white-space: nowrap;
}

.rjev2-total-row td[b-28yjplqz6p] {
    font-weight: 700;
    border-top: 2px solid #d9d9d9;
}

/* Room below the table so an open dropdown on the last row isn't clipped or covered by the total row */
.sap_table-wrapper-line[b-28yjplqz6p] {
    overflow-x: auto;
    overflow-y: clip;
    padding-bottom: 70px;
    scrollbar-width: thin;
}

/* Column resize - same rules as SubSectionContentJEV2 (handle is driven by sapInitResize in sapui_custom.js) */
.sap-table-line[b-28yjplqz6p] {
    min-width: max-content;
}

    .sap-table-line th[b-28yjplqz6p], .sap-table-line td[b-28yjplqz6p] {
        min-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 0;
        width: inherit;
        position: relative;
    }

        .sap-table-line th:first-child[b-28yjplqz6p], .sap-table-line td:first-child[b-28yjplqz6p] {
            min-width: 40px;
            width: 40px;
            text-align: center;
        }

        .sap-table-line th:nth-child(2)[b-28yjplqz6p], .sap-table-line td:nth-child(2)[b-28yjplqz6p] {
            min-width: 50px;
            width: 50px;
            text-align: center;
        }

.sap-table-line th[b-28yjplqz6p] {
    user-select: none;
}

.sap-col-resizer[b-28yjplqz6p] {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    cursor: col-resize;
    background: transparent;
    user-select: none;
    z-index: 10;
}

    .sap-col-resizer:hover[b-28yjplqz6p],
    .sap-col-resizer.resizing[b-28yjplqz6p] {
        background: rgba(0, 120, 212, 0.4);
    }

.sap-table-line td:has(.dropdown-menu.show)[b-28yjplqz6p],
.sap-table-line td:has(.sap_dropdown-menu.show)[b-28yjplqz6p] {
    overflow: visible !important;
    position: relative;
    z-index: 5;
}

.sap_btn-add-row-wrapper[b-28yjplqz6p] {
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid #e5eeff;
}

.sap_btn-add-row[b-28yjplqz6p] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: #0070f2;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

    .sap_btn-add-row:hover[b-28yjplqz6p] {
        background: #f5f5f5;
    }
/* /Components/Pages/SAPUI/SubSectionContent/SubSectionContentSAP.razor.rz.scp.css */
.sap_section-content[b-ym99ajnnfl]{padding:.5rem}
.sap_block-title[b-ym99ajnnfl]{font-size:1.2rem;margin-bottom:.5rem}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-ym99ajnnfl]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-ym99ajnnfl]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-ym99ajnnfl]{background:#e9ecef}
.sap_btn-action:disabled[b-ym99ajnnfl]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-ym99ajnnfl]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-ym99ajnnfl]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-ym99ajnnfl]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-ym99ajnnfl]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-ym99ajnnfl]{vertical-align:middle}
.sap_dropdown-container[b-ym99ajnnfl]{position:relative;display:inline-block}
.sap_dropdown-menu[b-ym99ajnnfl]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-ym99ajnnfl]{display:block}
.sap_dropdown-item[b-ym99ajnnfl]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-ym99ajnnfl]{border-bottom:none}
.sap_dropdown-item:hover[b-ym99ajnnfl]{background:#f5f5f5}
/* /Components/Pages/SAPUI/SubSectionContent/SubSectionPaymentInvoicesSAP.razor.rz.scp.css */
.pay-inv-toolbar[b-zmzxxx3q08] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pay-inv-toolbar-actions[b-zmzxxx3q08] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pay-inv-hint[b-zmzxxx3q08] {
    color: #7a8699;
    font-size: 0.85rem;
    margin: 0.5rem 0;
}

/* Shows ~10 rows before scrolling (SAP B1's own Document Installments grid behaves the same way
   instead of growing to fit every installment) - thead is sticky within this scroll container so
   the column headers stay visible while scrolling. */
.pay-inv-table-scroll[b-zmzxxx3q08] {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 25rem;
    border: 1px solid #e7ecf3;
    border-radius: 0.375rem;
}

.pay-inv-table[b-zmzxxx3q08] {
    width: 100%;
    /* separate (not collapse) - Chromium/WebKit drop a collapsed border on a position:sticky <th>
       as soon as the container scrolls (a well-known sticky+border-collapse rendering bug), which
       made the header's own bottom/right border lines vanish on scroll. Every border here is only
       ever set on one side of one cell (border-bottom, border-right on non-last th), so switching
       to separate/0-spacing doesn't introduce any doubled-up borders. */
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.85rem;
}

    .pay-inv-table th[b-zmzxxx3q08],
    .pay-inv-table td[b-zmzxxx3q08] {
        padding: 0.5rem 0.6rem;
        border-bottom: 1px solid #e7ecf3;
        text-align: left;
        white-space: nowrap;
        /* Only actually truncates once a column has an explicit width - i.e. after the user drags
           a column narrower via sapInitResize (which switches the table to table-layout:fixed and
           sets that th's width/min-width/max-width in px; td cells in that column then follow it
           under fixed layout). Before any resize the table stays at its default auto layout, where
           columns simply grow to fit content as before - unaffected by this. */
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pay-inv-table thead th[b-zmzxxx3q08] {
        position: sticky;
        top: 0;
        background: #fff;
        font-weight: 600;
        color: #1d2d3e;
        border-bottom: 1px solid #c7d1de;
    }

        .pay-inv-table thead th:not(:last-child)[b-zmzxxx3q08] {
            border-right: 1px solid #d7dee8;
        }

.pay-inv-checkbox-col[b-zmzxxx3q08] {
    width: 2rem;
    text-align: center;
}

/* Red left-edge bar for an overdue installment (OverdueDays > 0) - matches SAP B1's own Document
   Installments grid, where this is independent of whether the row is selected. Selection gets its
   own separate, weaker tint below so the two indicators don't collide on the same row. */
.pay-inv-row-overdue[b-zmzxxx3q08] {
    box-shadow: inset 3px 0 0 #d92b2b;
}

.pay-inv-row-selected[b-zmzxxx3q08] {
    background-color: rgba(224, 128, 20, 0.08);
}

/* DocTotal/OpenBalance ("VND 100,000,000.00") - plain black, normal weight, deliberately not
   routed through FieldValueCell's Currency-format positive/negative color+bold. */
.pay-inv-plain-amount[b-zmzxxx3q08] {
    color: #1d2d3e;
    font-weight: 400;
}

.pay-inv-overdue-value[b-zmzxxx3q08] {
    color: #d92b2b;
    font-weight: 600;
}

.pay-inv-amount[b-zmzxxx3q08] {
    text-align: right;
}

.pay-inv-dcount-group[b-zmzxxx3q08] {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
}

.pay-inv-dcount-input[b-zmzxxx3q08] {
    width: 3rem;
    text-align: right;
    border: 1px solid #d7dee8;
    border-radius: 0.25rem;
    padding: 0.2rem 0.3rem;
    font-size: 0.85rem;
    color: #1d2d3e;
}

/* No box, no gray-out (browsers dim disabled input text by default) - reads as plain text,
   same normal-weight black used for the other read-only amount cells (.pay-inv-plain-amount). */
.pay-inv-dcount-input:disabled[b-zmzxxx3q08] {
    background: transparent;
    border-color: transparent;
    padding-right: 0;
    color: #1d2d3e;
    -webkit-text-fill-color: #1d2d3e;
    opacity: 1;
}

.pay-inv-dcount-suffix[b-zmzxxx3q08] {
    color: #1d2d3e;
    font-size: 0.85rem;
}

.pay-inv-total[b-zmzxxx3q08] {
    margin-top: 0.75rem;
    text-align: right;
    font-size: 0.9rem;
}

.pay-inv-search-wrap[b-zmzxxx3q08] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #f5f7fa;
    border: 1px solid #d7dee8;
    border-radius: 0.5rem;
    padding: 0.3rem 0.6rem;
}

.pay-inv-search-icon[b-zmzxxx3q08] {
    font-size: 1.1rem;
    color: #7a8699;
}

.pay-inv-search-input[b-zmzxxx3q08] {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.8rem;
    color: #1d2d3e;
    width: 12rem;
}

.pay-inv-columns-btn[b-zmzxxx3q08] {
    background: #eff4ff;
    color: #26619d;
    border: none;
    border-radius: 0.5rem;
    padding: 0.4rem 0.7rem;
    cursor: pointer;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
}

.pay-inv-columns-btn .material-symbols-outlined[b-zmzxxx3q08] {
    font-size: 1.1rem;
}

/* Control Account / Payment on Account row, and the Total Amount Due summary below it - see
   SAP Business One's Incoming/Outgoing Payment "Contents" tab, below the installments grid. */
.pay-inv-onaccount-row[b-zmzxxx3q08] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 3rem;
    margin-top: 1.5rem;
}

.pay-inv-onaccount-col[b-zmzxxx3q08] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pay-inv-onaccount-input-row[b-zmzxxx3q08] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pay-inv-amount-due[b-zmzxxx3q08] {
    font-size: 0.9rem;
    color: #1d2d3e;
}

/* Control Account (BpAct) - editable state is one bordered sap_input_group box (chevron popover
   prefix + code input + picker button, matching the Payment Means tab's G/L Account field);
   disabled state is just the plain chevron+code (AccountPopover). */
.pay-inv-ctlacct-value[b-zmzxxx3q08] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.pay-inv-ctlacct-input-group[b-zmzxxx3q08] {
    width: 160px;
    flex: 0 0 auto;
}

.pay-inv-ctlacct-name[b-zmzxxx3q08] {
    color: #555;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .pay-inv-onaccount-row[b-zmzxxx3q08] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/SAPUI/SubSectionContent/SubSectionPaymentMeansSAP.razor.rz.scp.css */
/* Reference and Summary tab - two columns (Reference / Summary) in one card, matching the
   Payment Means sub-cards' heading-outside-the-card layout above. */
.pay-ref-two-col[b-3mxk57wgn6] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 3rem;
}

.pay-ref-col[b-3mxk57wgn6] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pay-ref-amount[b-3mxk57wgn6] {
    text-align: right;
    display: block;
}

@media (max-width: 768px) {
    .pay-ref-two-col[b-3mxk57wgn6] {
        grid-template-columns: 1fr;
    }
}

/* Payment Means sub-cards (Check / Bank Transfer / Credit Card / Cash) - each is its own white
   card on the page's gray background, matching HrTicketListPage-style section cards. */
.pay-means-subcard[b-3mxk57wgn6] {
    margin-top: 0.75rem;
}

.pay-means-subcard:first-of-type[b-3mxk57wgn6] {
    margin-top: 0.5rem;
}

.pay-means-gl-field[b-3mxk57wgn6] {
    max-width: 420px;
    margin-bottom: 1rem;
}

.pay-means-two-col[b-3mxk57wgn6] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 3rem;
}

.pay-means-col[b-3mxk57wgn6] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (max-width: 768px) {
    .pay-means-two-col[b-3mxk57wgn6] {
        grid-template-columns: 1fr;
    }
}

/* Check / Credit Card tables - read-only placeholder grids (no backing SAP field yet) styled to
   match the rest of the Payment Means cards. */
.pay-means-table-toolbar[b-3mxk57wgn6] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.pay-means-btn-icon[b-3mxk57wgn6] {
    background: #eff4ff;
    color: #26619d;
    border: none;
    border-radius: 0.5rem;
    padding: 0.35rem;
    display: inline-flex;
    align-items: center;
    cursor: not-allowed;
}

    .pay-means-btn-icon .material-symbols-outlined[b-3mxk57wgn6] {
        font-size: 1.1rem;
    }

.pay-means-table-scroll[b-3mxk57wgn6] {
    overflow-x: auto;
    border: 1px solid #e7ecf3;
    border-radius: 0.5rem;
}

.pay-means-table[b-3mxk57wgn6] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

    .pay-means-table th[b-3mxk57wgn6],
    .pay-means-table td[b-3mxk57wgn6] {
        padding: 0.5rem 0.6rem;
        border-bottom: 1px solid #e7ecf3;
        text-align: left;
        white-space: nowrap;
    }

    .pay-means-table thead th[b-3mxk57wgn6] {
        background: #f8fafc;
        color: #555;
        font-weight: 600;
    }

.pay-means-checkbox-col[b-3mxk57wgn6] {
    width: 2rem;
}

.pay-means-nodata[b-3mxk57wgn6] {
    text-align: center !important;
    color: #7a8699;
    padding: 1rem !important;
}

/* G/L Account (Transfer)/(Cash) - editable state is one bordered sap_input_group box (chevron
   popover prefix + code input + picker button, matching HeaderDipslayClassSAP's CardCode field);
   disabled state is just the plain chevron+code (AccountPopover). Resolved account name is shown
   plainly alongside either way. */
.pay-means-acct-value[b-3mxk57wgn6] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.pay-means-acct-input-group[b-3mxk57wgn6] {
    width: 160px;
    flex: 0 0 auto;
}

.pay-means-acct-name[b-3mxk57wgn6] {
    color: #555;
    font-size: 0.875rem;
    flex: 1 1 auto;
    min-width: 0;
}
/* /Components/Pages/SAPUI/SubSectionCustom/SubSectionCustomTabBusinessPartnerSAP.razor.rz.scp.css */
/* .sap_column is a grid item of the shared (global) .sap_card-columns 1fr/1fr grid. Without
   min-width:0 a grid item's default automatic minimum is its content's min-content - and since
   BusinessPartner's Preferences section has rows with 2-3 fixed-width fields (flex: 0 0 auto,
   e.g. Active/ValidFrom/ValidTo), that min-content can be 1000px+, well past a fair 50% share.
   Grouping Preferences into the same column as Basic Information (see BusinessPartnerDI's
   SectionColumn) makes that column's min-content win over the grid's intended 50/50 split,
   pushing the sibling column - and its content - outside the card. min-width:0 lets the grid
   track actually shrink to its 1fr share; flex-wrap lets an overflowing row's extra fixed-width
   fields drop to their own line instead of demanding the extra horizontal space. Scoped here
   (not in the shared sapui_custom.css) so it doesn't change row-wrapping on any of the other 36
   pages that reuse these same global class names. */
.sap_column[b-cg6teauj8a] {
    min-width: 0;
}

.sap_form-row[b-cg6teauj8a] {
    flex-wrap: wrap;
}

/* Tighter vertical padding than the shared sapui_custom.css select.sap_input rule (8px top/bottom,
   which squeezes 14px option text into too little height and clips it) - scoped here (not in the
   shared stylesheet) so it only affects this page's own Mapping/Manual dropdowns
   (RenderMappingField's <select class="sap_input sap_input--select">), not every other select.
   sap_input on the other 36 pages that reuse sapui_custom.css. */
.sap_input--select[b-cg6teauj8a] {
    height: 1.625rem;
    padding: 2px 20px 2px 8px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #ffffff;
}
/* /Components/Pages/SAPUI/SubSectionCustom/SubSectionCustomTabItemMasterSAP.razor.rz.scp.css */
/* Tighter vertical padding than the shared sapui_custom.css select.sap_input rule (8px top/bottom,
   which squeezes 14px option text into too little height and clips it) - scoped here (not in the
   shared stylesheet) so it only affects this page's own Mapping/Manual dropdowns
   (RenderMappingField's <select class="sap_input sap_input--select">), not every other select.
   sap_input on the other pages that reuse sapui_custom.css. */
.sap_input--select[b-2dl1tzo32t] {
    height: 1.625rem;
    padding: 2px 20px 2px 8px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #ffffff;
}
/* /Components/Pages/SAPUI/SubSectionLogistics/SubSectionLogisticsSAP.razor.rz.scp.css */
/* Styles specific to SubHeaderInputSAP.razor */
/* Scoped to the component by Blazor .razor.css convention */

.sap_card[b-ialoidevvx] {
    padding: 18px 20px 22px;
    border-radius: 6px;
}

.sap_card-columns[b-ialoidevvx] {
    gap: 24px;
    grid-template-columns: 1fr 1fr;
}

.sap_column[b-ialoidevvx] {
    min-width: 0;
}

.sap_section-title[b-ialoidevvx] {
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 600;
}

.sap_form-grid[b-ialoidevvx] {
    display: grid;
    gap: 8px;
}

/* make the small header inputs align nicely inside the column */
.sap_input_group[b-ialoidevvx] {
    display: flex;
    align-items: center;
}

.sap_input_group .sap_input[b-ialoidevvx] {
    flex: 1;
}

/* New row-based layout styles */
.sap_row[b-ialoidevvx] {
    width: 100%;
    margin-bottom: 0;
}

.sap_row-container[b-ialoidevvx] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.sap_button-container[b-ialoidevvx] {
    margin-top: 8px;
    text-align: center;
}

.sap_link-button[b-ialoidevvx] {
    background: none;
    border: 1px solid #0d6efd;
    color: #0d6efd;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.15s;
    width: 100%;
}

.sap_link-button:hover[b-ialoidevvx] {
    background: #0d6efd;
    color: #fff;
}

.sap_address-components[b-ialoidevvx] {
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
}

.sap_mt-16[b-ialoidevvx] {
    margin-top: 16px;
}

/* responsive adjustments for narrow screens */
@media (max-width: 768px) {
    .sap_card-columns[b-ialoidevvx] {
        grid-template-columns: 1fr;
    }
    
    .sap_row-container[b-ialoidevvx] {
        grid-template-columns: 1fr;
    }
}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-ialoidevvx]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-ialoidevvx]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-ialoidevvx]{background:#e9ecef}
.sap_btn-action:disabled[b-ialoidevvx]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-ialoidevvx]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-ialoidevvx]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-ialoidevvx]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-ialoidevvx]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-ialoidevvx]{vertical-align:middle}
.sap_dropdown-container[b-ialoidevvx]{position:relative;display:inline-block}
.sap_dropdown-menu[b-ialoidevvx]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-ialoidevvx]{display:block}
.sap_dropdown-item[b-ialoidevvx]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-ialoidevvx]{border-bottom:none}
.sap_dropdown-item:hover[b-ialoidevvx]{background:#f5f5f5}
/* /Components/Pages/SAPUI/SubSummarybar/SubSummarybarACT.razor.rz.scp.css */
/* Summary bar tweaks for SubSummarybarSAP.razor */
/* Scoped to the component by Blazor .razor.css convention */

.sap_summary-bar[b-ovz0oe9d2n] {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 12px 20px;
    background: #fff;
    flex-wrap: wrap;
}

.sap_summary-item[b-ovz0oe9d2n] {
    display: flex;
    flex-direction: column;
    min-width: 120px;
}

    .sap_summary-item .sap_label[b-ovz0oe9d2n] {
        font-size: 11px;
        color: #6b7280;
    }

    .sap_summary-item .sap_value[b-ovz0oe9d2n] {
        font-size: 14px;
        font-weight: 600;
        color: #009966;
        margin-top: 3px;
    }

.sap_customer-name[b-ovz0oe9d2n] {
    color: black;
    font-weight: 600;
    white-space: nowrap;
}

/* collapse into stacked layout on small screens */
@media (max-width: 640px) {
    .sap_summary-bar[b-ovz0oe9d2n] {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .sap_summary-item[b-ovz0oe9d2n] {
        min-width: auto;
    }
}
.sap-toggle-btn[b-ovz0oe9d2n] {
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 7px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 0;
    cursor: pointer;
}
/* /Components/Pages/SAPUI/SubSummarybar/SubSummarybarItemMaster.razor.rz.scp.css */
/* Summary bar tweaks for SubSummarybarSAP.razor */
/* Scoped to the component by Blazor .razor.css convention */

.sap_summary-bar[b-c9kalxg58s] {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #eef2f8;
    flex-wrap: wrap;
}

.sap_summary-logo[b-c9kalxg58s] {
    flex-shrink: 0;
    margin-right: 48px;
}

.sap_summary-image[b-c9kalxg58s] {
    width: 96px;
    height: auto;
    object-fit: contain;
}

.sap_summary-placeholder[b-c9kalxg58s] {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    font-size: 32px;
}

.sap_summary-description[b-c9kalxg58s] {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
    padding-left: 24px;
}

.sap_description-label[b-c9kalxg58s] {
    font-weight: 400;
    color: #6c757d;
    flex-shrink: 0;
}

.sap_description-value[b-c9kalxg58s] {
    color: #212529;
    font-weight: 400;
}

.sap_summary-item[b-c9kalxg58s] {
    display: flex;
    flex-direction: column;
    min-width: 120px;
}

.sap_summary-item .sap_label[b-c9kalxg58s] {
    font-size: 11px;
    color: #6b7280;
}

    .sap_summary-item .sap_value[b-c9kalxg58s] {
        font-size: 14px;
        font-weight: 600;
        color: #009966;
        margin-top: 3px;
    }
.sap_customer-name[b-c9kalxg58s] {
    color: black;
    font-weight: 600;
    white-space: nowrap;
}  

/* collapse into stacked layout on small screens */
@media (max-width: 640px) {
    .sap_summary-bar[b-c9kalxg58s] {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .sap_summary-item[b-c9kalxg58s] {
        min-width: auto;
    }
}
/* /Components/Pages/SAPUI/SubSummarybar/SubSummarybarJE.razor.rz.scp.css */
/* Customer code: link-style, xanh dương, có mũi tên */
.sap_customer-code[b-evomafgpn5] {
    color: #0070F2;
    font-weight: 400;
    font-size: 13px;
    cursor: pointer;
}


.sap_arrow[b-evomafgpn5] {
    font-size: 15px;
    margin-right: 2px;
}

/* Customer name: đen, nhỏ hơn, không đậm */
.sap_customer-name[b-evomafgpn5] {
    display: block;
    color: #111827;
    font-weight: 400;
    font-size: 12px;
    white-space: normal;
    margin-top: 1px;
}

/* Customer value: xếp dọc */
.sap_customer-value[b-evomafgpn5] {
    display: flex;
    flex-direction: column;
    min-width: 0; /* ← cho phép children bị clamp */
    overflow: hidden;
    overflow: visible !important;
}

/* Total value: đen, không xanh */
.sap_total-value[b-evomafgpn5] {
    color: #111827 !important;
    font-weight: 400;
    font-size: 13px;
}
.sapMText[b-evomafgpn5] {
    display: inline-block;
    box-sizing: border-box;
    white-space: pre-line;
    word-wrap: break-word;
    cursor: text;
    font-size: .875rem;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    line-height: normal;
    color: #1d2d3e;
    font-weight: 400;
}
.sap_customer-value .sapMText[b-evomafgpn5] {
    white-space: nowrap;
    overflow: hidden; /* ← cắt text thay vì tràn */
    text-overflow: ellipsis; /* ← hiển thị "..." khi bị cắt */
    max-width: 100%; /* ← không vượt quá container */
    word-break: normal;
}

.sap_summary-bar[b-evomafgpn5] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* đổi thành 10px theo yêu cầu */
    align-items: flex-start;
}
.sap_summary-item[b-evomafgpn5] {
    min-width: 0; /* ← quan trọng: cho phép flex item co lại */
    flex-shrink: 1;
}
    .sap_summary-item:first-child[b-evomafgpn5] {
        flex: 1 1 200px;
        max-width: 300px; /* giới hạn tối đa */
        min-width: 0;
    }

    /* Cột Total và Status không co giãn */
    .sap_summary-item:not(:first-child)[b-evomafgpn5] {
        flex: 0 0 auto;
    }
.sap_summary-item .sapMText[b-evomafgpn5] {
    white-space: nowrap;
}
.sap_summary-item:first-child[b-evomafgpn5] {
    flex: 1 1 200px;
    max-width: 300px;
    min-width: 0;
}

/* Total: không co giãn, nhưng có margin-right cố định sang Status */
.sap_summary-item:nth-child(2)[b-evomafgpn5] {
    flex: 0 0 auto;
    margin-right: 40px; /* ← khoảng cách cố định giữa Total và Status */
}
.sap-toggle-btn[b-evomafgpn5] {
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 7px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 0;
    cursor: pointer;
}

.sap-bp-submenu[b-evomafgpn5] {
    position: absolute;
    bottom: 24px;
    right: 0;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    white-space: nowrap;
    z-index: 10000;
}

.sap-bp-viewmore-btn[b-evomafgpn5] {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #0070f2;
    font-size: inherit;
    width: 100%;
    text-align: left;
}

    .sap-bp-viewmore-btn:hover[b-evomafgpn5] {
        background: #f5f5f5;
    }
/* /Components/Pages/SAPUI/SubSummarybar/SubSummarybarPayment.razor.rz.scp.css */
/* Customer code: link-style, xanh dương, có mũi tên */
.sap_customer-code[b-ssb07r6qje] {
    color: #0070F2;
    font-weight: 400;
    font-size: 13px;
    cursor: pointer;
}


.sap_arrow[b-ssb07r6qje] {
    font-size: 15px;
    margin-right: 2px;
}

/* Customer name: đen, nhỏ hơn, không đậm */
.sap_customer-name[b-ssb07r6qje] {
    display: block;
    color: #111827;
    font-weight: 400;
    font-size: 12px;
    white-space: normal;
    margin-top: 1px;
}

/* Customer value: xếp dọc */
.sap_customer-value[b-ssb07r6qje] {
    display: flex;
    flex-direction: column;
    min-width: 0; /* ← cho phép children bị clamp */
    overflow: hidden;
    overflow: visible !important;
}

/* Total value: đen, không xanh */
.sap_total-value[b-ssb07r6qje] {
    color: #111827 !important;
    font-weight: 400;
    font-size: 13px;
}
.sapMText[b-ssb07r6qje] {
    display: inline-block;
    box-sizing: border-box;
    white-space: pre-line;
    word-wrap: break-word;
    cursor: text;
    font-size: .875rem;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    line-height: normal;
    color: #1d2d3e;
    font-weight: 400;
}
.sap_customer-value .sapMText[b-ssb07r6qje] {
    white-space: nowrap;
    overflow: hidden; /* ← cắt text thay vì tràn */
    text-overflow: ellipsis; /* ← hiển thị "..." khi bị cắt */
    max-width: 100%; /* ← không vượt quá container */
    word-break: normal;
}

.sap_summary-bar[b-ssb07r6qje] {
    display: flex;
    flex-wrap: wrap;
    gap: 32px; /* khoảng cách đều giữa các cột */
    align-items: flex-start;
    background: transparent;
}
.sap_summary-item[b-ssb07r6qje] {
    min-width: 0; /* ← quan trọng: cho phép flex item co lại */
    flex-shrink: 1;
    flex: 0 0 auto; /* không cột nào co giãn chiếm chỗ trống, để các cột nằm sát nhau */
}
.sap_summary-item .sapMText[b-ssb07r6qje] {
    white-space: nowrap;
}
/* Payment summary column - Paid Amount (bold, the sum) plus the Transfer/Cash amounts it's made
   of, laid out as three small metrics side by side under one "Payment" label. */
.pay-summary-payment-group[b-ssb07r6qje] {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.pay-summary-payment-metric .sap_label[b-ssb07r6qje] {
    font-size: 12px;
}

.pay-summary-payment-metric--main .sap_value[b-ssb07r6qje] {
    font-size: 14px;
}

.sap-toggle-btn[b-ssb07r6qje] {
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 7px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 0;
    cursor: pointer;
}

.sap-bp-submenu[b-ssb07r6qje] {
    position: absolute;
    bottom: 24px;
    right: 0;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    white-space: nowrap;
    z-index: 10000;
}

.sap-bp-viewmore-btn[b-ssb07r6qje] {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #0070f2;
    font-size: inherit;
    width: 100%;
    text-align: left;
}

    .sap-bp-viewmore-btn:hover[b-ssb07r6qje] {
        background: #f5f5f5;
    }
/* /Components/Pages/SAPUI/SubSummarybar/SubSummarybarPeriod.razor.rz.scp.css */
/* Summary bar tweaks for SubSummarybarSAP.razor */
/* Scoped to the component by Blazor .razor.css convention */

.sap_summary-bar[b-bi16rdfwaa] {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    flex-wrap: wrap;
}

.sap_summary-item[b-bi16rdfwaa] {
    display: flex;
    flex-direction: column;
    min-width: 120px;
}

    .sap_summary-item .sap_label[b-bi16rdfwaa] {
        font-size: 11px;
        color: #6b7280;
    }

    .sap_summary-item .sap_value[b-bi16rdfwaa] {
        font-size: 14px;
        font-weight: 600;
        color: #009966;
        margin-top: 3px;
    }

.sap_customer-name[b-bi16rdfwaa] {
    color: black;
    font-weight: 600;
    white-space: nowrap;
}

/* collapse into stacked layout on small screens */
@media (max-width: 640px) {
    .sap_summary-bar[b-bi16rdfwaa] {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .sap_summary-item[b-bi16rdfwaa] {
        min-width: auto;
    }
}
.sap-toggle-btn[b-bi16rdfwaa] {
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 7px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 0;
    cursor: pointer;
}
/* /Components/Pages/SAPUI/SubSummarybar/SubSummarybarPRQ.razor.rz.scp.css */
/* Customer code: link-style, xanh dương, có mũi tên */
.sap_customer-code[b-tpcwe37fcr] {
    color: #0070F2;
    font-weight: 400;
    font-size: 13px;
    cursor: pointer;
}

    .sap_customer-code:hover[b-tpcwe37fcr] {
        text-decoration: underline;
    }

.sap_arrow[b-tpcwe37fcr] {
    font-size: 15px;
    margin-right: 2px;
}

/* Customer name: đen, nhỏ hơn, không đậm */
.sap_customer-name[b-tpcwe37fcr] {
    display: block;
    color: #111827;
    font-weight: 400;
    font-size: 12px;
    white-space: normal;
    margin-top: 1px;
}

/* Customer value: xếp dọc */
.sap_customer-value[b-tpcwe37fcr] {
    display: flex;
    flex-direction: column;
    min-width: 0; /* ← cho phép children bị clamp */
    overflow: hidden;
}

/* Total value: đen, không xanh */
.sap_total-value[b-tpcwe37fcr] {
    color: #111827 !important;
    font-weight: 400;
    font-size: 13px;
}
.sapMText[b-tpcwe37fcr] {
    display: inline-block;
    box-sizing: border-box;
    white-space: pre-line;
    word-wrap: break-word;
    cursor: text;
    font-size: .875rem;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    line-height: normal;
    color: #1d2d3e;
    font-weight: 400;
}
.sap_customer-value .sapMText[b-tpcwe37fcr] {
    white-space: nowrap;
    overflow: hidden; /* ← cắt text thay vì tràn */
    text-overflow: ellipsis; /* ← hiển thị "..." khi bị cắt */
    max-width: 100%; /* ← không vượt quá container */
    word-break: normal;
}

.sap_summary-bar[b-tpcwe37fcr] {
    display: flex;
    flex-wrap: wrap;
    gap: 100px; /* đổi thành 10px theo yêu cầu */
    align-items: flex-start;
}
.sap_summary-item[b-tpcwe37fcr] {
    min-width: 0; /* ← quan trọng: cho phép flex item co lại */
    flex-shrink: 1;
}
    .sap_summary-item:first-child[b-tpcwe37fcr] {
        max-width: 300px; /* giới hạn tối đa */
        min-width: 0;
    }

    /* Cột Total và Status không co giãn */
    .sap_summary-item:not(:first-child)[b-tpcwe37fcr] {
        flex: 0 0 auto;
    }
.sap-toggle-btn[b-tpcwe37fcr] {
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 7px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 0;
    cursor: pointer;
}
/* /Components/Pages/SAPUI/SubSummarybar/SubSummarybarSAP.razor.rz.scp.css */
/* Customer code: link-style, xanh dương, có mũi tên */
.sap_customer-code[b-x17jsi1i2o] {
    color: #0070F2;
    font-weight: 400;
    font-size: 13px;
    cursor: pointer;
}


.sap_arrow[b-x17jsi1i2o] {
    font-size: 15px;
    margin-right: 2px;
}

/* Customer name: đen, nhỏ hơn, không đậm */
.sap_customer-name[b-x17jsi1i2o] {
    display: block;
    color: #111827;
    font-weight: 400;
    font-size: 12px;
    white-space: normal;
    margin-top: 1px;
}

/* Customer value: xếp dọc */
.sap_customer-value[b-x17jsi1i2o] {
    display: flex;
    flex-direction: column;
    min-width: 0; /* ← cho phép children bị clamp */
    overflow: hidden;
    overflow: visible !important;
}

/* Total value: đen, không xanh */
.sap_total-value[b-x17jsi1i2o] {
    color: #111827 !important;
    font-weight: 400;
    font-size: 13px;
}
.sapMText[b-x17jsi1i2o] {
    display: inline-block;
    box-sizing: border-box;
    white-space: pre-line;
    word-wrap: break-word;
    cursor: text;
    font-size: .875rem;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    line-height: normal;
    color: #1d2d3e;
    font-weight: 400;
}
.sap_customer-value .sapMText[b-x17jsi1i2o] {
    white-space: nowrap;
    overflow: hidden; /* ← cắt text thay vì tràn */
    text-overflow: ellipsis; /* ← hiển thị "..." khi bị cắt */
    max-width: 100%; /* ← không vượt quá container */
    word-break: normal;
}

.sap_summary-bar[b-x17jsi1i2o] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* đổi thành 10px theo yêu cầu */
    align-items: flex-start;
    background: transparent;
}
.sap_summary-item[b-x17jsi1i2o] {
    min-width: 0; /* ← quan trọng: cho phép flex item co lại */
    flex-shrink: 1;
}
    .sap_summary-item:first-child[b-x17jsi1i2o] {
        flex: 1 1 200px;
        max-width: 300px; /* giới hạn tối đa */
        min-width: 0;
    }

    /* Cột Total và Status không co giãn */
    .sap_summary-item:not(:first-child)[b-x17jsi1i2o] {
        flex: 0 0 auto;
    }
.sap_summary-item .sapMText[b-x17jsi1i2o] {
    white-space: nowrap;
}
.sap_summary-item:first-child[b-x17jsi1i2o] {
    flex: 1 1 200px;
    max-width: 300px;
    min-width: 0;
}

/* Total: không co giãn, nhưng có margin-right cố định sang Status */
.sap_summary-item:nth-child(2)[b-x17jsi1i2o] {
    flex: 0 0 auto;
    margin-right: 40px; /* ← khoảng cách cố định giữa Total và Status */
}
.sap-toggle-btn[b-x17jsi1i2o] {
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 7px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 0;
    cursor: pointer;
}

.sap-bp-submenu[b-x17jsi1i2o] {
    position: absolute;
    bottom: 24px;
    right: 0;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    white-space: nowrap;
    z-index: 10000;
}

.sap-bp-viewmore-btn[b-x17jsi1i2o] {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #0070f2;
    font-size: inherit;
    width: 100%;
    text-align: left;
}

    .sap-bp-viewmore-btn:hover[b-x17jsi1i2o] {
        background: #f5f5f5;
    }
/* /Components/Pages/SAPUI/SubSummarybar/SubSummarybarWHS.razor.rz.scp.css */
/* Summary bar tweaks for SubSummarybarSAP.razor */
/* Scoped to the component by Blazor .razor.css convention */

.sap_summary-bar[b-59ntleb5ln] {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    flex-wrap: wrap;
}

.sap_summary-item[b-59ntleb5ln] {
    display: flex;
    flex-direction: column;
    min-width: 120px;
}

    .sap_summary-item .sap_label[b-59ntleb5ln] {
        font-size: 11px;
        color: #6b7280;
    }

    .sap_summary-item .sap_value[b-59ntleb5ln] {
        font-size: 14px;
        font-weight: 600;
        color: #009966;
        margin-top: 3px;
    }

.sap_customer-name[b-59ntleb5ln] {
    color: black;
    font-weight: 600;
    white-space: nowrap;
}

/* collapse into stacked layout on small screens */
@media (max-width: 640px) {
    .sap_summary-bar[b-59ntleb5ln] {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .sap_summary-item[b-59ntleb5ln] {
        min-width: auto;
    }
}
.sap-toggle-btn[b-59ntleb5ln] {
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 7px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 0;
    cursor: pointer;
}
/* /Components/Pages/SAPUI/Sub_SAPUI/PRHeaderBar.razor.rz.scp.css */
/* existing component styles (unchanged) */

.sap_action-header[b-ise2w6os9b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    background: white;
    gap: 12px;
}

.sap_action-left[b-ise2w6os9b] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_item-code[b-ise2w6os9b] {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #333;
    margin-right: 15px;
    margin-left: 15px;
}

.sap_nav-btn[b-ise2w6os9b] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: white;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

    .sap_nav-btn:hover:not(:disabled)[b-ise2w6os9b] {
        background: #e9ecef;
        border-color: #adb5bd;
    }

    .sap_nav-btn:disabled[b-ise2w6os9b] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.sap_action-right[b-ise2w6os9b] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.sap_btn-primary[b-ise2w6os9b] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

    .sap_btn-primary:hover:not(:disabled)[b-ise2w6os9b] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }


.sap_btn.sap_primary[b-ise2w6os9b] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 550;
    border-radius: 10px;
}

    .sap_btn.sap_primary:hover:not(:disabled)[b-ise2w6os9b] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }

.sap_btn-white[b-ise2w6os9b] {
    color: #0064D9;
    font-size: 1rem;
    font-weight: 530;
    border-radius: 10px;
    border-color: white;
}

    .sap_btn-white:hover:not(:disabled)[b-ise2w6os9b] {
        background: #f5f5f5;
    }

    .sap_btn-white:disabled[b-ise2w6os9b] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-ise2w6os9b] {
    display: flex;
    gap: 8px;
    align-items: center
}

.sap_btn-action[b-ise2w6os9b] {
    padding: 6px 12px;
    background: none;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #0d6efd;
    transition: all .15s
}

    .sap_btn-action:hover:not(:disabled)[b-ise2w6os9b] {
        background: #e9ecef
    }

    .sap_btn-action:disabled[b-ise2w6os9b] {
        opacity: .5;
        cursor: not-allowed;
        color: #6c757d
    }

.sap_btn-icon-right[b-ise2w6os9b] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: none;
    border: none !important;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all .15s
}

    .sap_btn-icon-right:hover:not(:disabled)[b-ise2w6os9b] {
        background: #e9ecef
    }

    .sap_btn-icon-right:disabled[b-ise2w6os9b] {
        opacity: .5;
        cursor: not-allowed
    }

.sap_btn-icon[b-ise2w6os9b] {
    padding: 6px 12px;
    background: none;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

    .sap_btn-icon img[b-ise2w6os9b] {
        vertical-align: middle
    }

.sap_dropdown-container[b-ise2w6os9b] {
    position: relative;
    display: inline-block
}

.sap_dropdown-menu[b-ise2w6os9b] {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    z-index: 1000;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-top: 4px
}

    .sap_dropdown-menu.show[b-ise2w6os9b] {
        display: block
    }

.sap_dropdown-item[b-ise2w6os9b] {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0
}

    .sap_dropdown-item:last-child[b-ise2w6os9b] {
        border-bottom: none
    }

    .sap_dropdown-item:hover[b-ise2w6os9b] {
        background: #f5f5f5
    }

.custumButtonPGLO[b-ise2w6os9b] {
    line-height: 1.5rem;
    font-size: 0.875rem !important;
    background-color: #0d6efd !important;
}
/* /Components/Pages/SAPUI/Sub_SAPUI/SubHeaderACT.razor.rz.scp.css */
/* existing component styles (unchanged) */

.sap_action-header[b-q2qfuzvza3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    background: white;
    gap: 12px;
}

.sap_action-left[b-q2qfuzvza3] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_item-code[b-q2qfuzvza3] {
    font-size: 1.25rem;
    font-weight: 900;
    color: #333;
    margin-right: 15px;
    margin-left: 20px;
}

.sap_nav-btn[b-q2qfuzvza3] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: white;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

.sap_nav-btn:hover:not(:disabled)[b-q2qfuzvza3] {
    background: #e9ecef;
    border-color: #adb5bd;
}

.sap_nav-btn:disabled[b-q2qfuzvza3] {
    opacity: 0.5;
    cursor: not-allowed;
}

.sap_action-right[b-q2qfuzvza3] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.sap_btn-primary[b-q2qfuzvza3] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

    .sap_btn-primary:hover:not(:disabled)[b-q2qfuzvza3] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }


.sap_btn.sap_primary[b-q2qfuzvza3] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 550;
    border-radius: 10px;
}

    .sap_btn.sap_primary:hover:not(:disabled)[b-q2qfuzvza3] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }

.sap_btn-white[b-q2qfuzvza3] {
    color: #0064D9;
    font-size: 1rem;
    font-weight: 530;
    border-radius: 10px;
    border-color: white;
}

    .sap_btn-white:hover:not(:disabled)[b-q2qfuzvza3] {
        background: #f5f5f5;
    }

    .sap_btn-white:disabled[b-q2qfuzvza3] {
        opacity: 0.5;
        cursor: not-allowed;
    }
.sap_radio-group[b-q2qfuzvza3] {
    display: flex;
    gap: 24px;
    align-items: center;
}

.sap_radio-label[b-q2qfuzvza3] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
}

    .sap_radio-label input[type="radio"][b-q2qfuzvza3] {
        accent-color: #0070f2; /* SAP blue */
        width: 16px;
        height: 16px;
        cursor: pointer;
    }

        .sap_radio-label input[type="radio"]:disabled[b-q2qfuzvza3] {
            cursor: not-allowed;
        }
/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-q2qfuzvza3]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-q2qfuzvza3]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-q2qfuzvza3]{background:#e9ecef}
.sap_btn-action:disabled[b-q2qfuzvza3]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-q2qfuzvza3]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-q2qfuzvza3]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-q2qfuzvza3]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-q2qfuzvza3]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-q2qfuzvza3]{vertical-align:middle}
.sap_dropdown-container[b-q2qfuzvza3]{position:relative;display:inline-block}
.sap_dropdown-menu[b-q2qfuzvza3]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-q2qfuzvza3]{display:block}
.sap_dropdown-item[b-q2qfuzvza3]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-q2qfuzvza3]{border-bottom:none}
.sap_dropdown-item:hover[b-q2qfuzvza3]{background:#f5f5f5}
/* /Components/Pages/SAPUI/Sub_SAPUI/SubHeaderJE.razor.rz.scp.css */
/* existing component styles (unchanged) */

.sap_action-header[b-fh6ravd02k] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    background: white;
    gap: 12px;
}

.sap_action-left[b-fh6ravd02k] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_item-code[b-fh6ravd02k] {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #333;
    margin-right: 15px;
    margin-left: 15px;
}

.sap_nav-btn[b-fh6ravd02k] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: white;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

.sap_nav-btn:hover:not(:disabled)[b-fh6ravd02k] {
    background: #e9ecef;
    border-color: #adb5bd;
}

.sap_nav-btn:disabled[b-fh6ravd02k] {
    opacity: 0.5;
    cursor: not-allowed;
}

.sap_action-right[b-fh6ravd02k] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.sap_btn-primary[b-fh6ravd02k] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

    .sap_btn-primary:hover:not(:disabled)[b-fh6ravd02k] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }


.sap_btn.sap_primary[b-fh6ravd02k] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 550;
    border-radius: 10px;
}

    .sap_btn.sap_primary:hover:not(:disabled)[b-fh6ravd02k] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }

.sap_btn-white[b-fh6ravd02k] {
    color: #0064D9;
    font-size: 1rem;
    font-weight: 530;
    border-radius: 10px;
    border-color: white;
}

    .sap_btn-white:hover:not(:disabled)[b-fh6ravd02k] {
        background: #f5f5f5;
    }

    .sap_btn-white:disabled[b-fh6ravd02k] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-fh6ravd02k]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-fh6ravd02k]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-fh6ravd02k]{background:#e9ecef}
.sap_btn-action:disabled[b-fh6ravd02k]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-fh6ravd02k]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-fh6ravd02k]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-fh6ravd02k]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-fh6ravd02k]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-fh6ravd02k]{vertical-align:middle}
.sap_dropdown-container[b-fh6ravd02k]{position:relative;display:inline-block}
.sap_dropdown-menu[b-fh6ravd02k]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-fh6ravd02k]{display:block}
.sap_dropdown-item[b-fh6ravd02k]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-fh6ravd02k]{border-bottom:none}
.sap_dropdown-item:hover[b-fh6ravd02k]{background:#f5f5f5}
.custumButtonPGLO[b-fh6ravd02k] {
    line-height: 1.5rem;
    font-size: 0.875rem !important;
    background-color: #0d6efd !important;
}
/* /Components/Pages/SAPUI/Sub_SAPUI/SubHeaderRecurringJE.razor.rz.scp.css */
/* Mirrors SubHeaderJE.razor.css (isolated to that component, so redefined here for the header bar). */

.sap_action-header[b-nzcpgoxqmi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    background: white;
    gap: 12px;
}

.sap_action-left[b-nzcpgoxqmi] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_item-code[b-nzcpgoxqmi] {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #333;
    margin-right: 15px;
    margin-left: 15px;
}

.sap_nav-btn[b-nzcpgoxqmi] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: white;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

.sap_nav-btn:hover:not(:disabled)[b-nzcpgoxqmi] {
    background: #e9ecef;
    border-color: #adb5bd;
}

.sap_nav-btn:disabled[b-nzcpgoxqmi] {
    opacity: 0.5;
    cursor: not-allowed;
}

.sap_action-right[b-nzcpgoxqmi] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.sap_btn-white[b-nzcpgoxqmi] {
    color: #0064D9;
    font-size: 1rem;
    font-weight: 530;
    border-radius: 10px;
    border-color: white;
}

.sap_btn-white:hover:not(:disabled)[b-nzcpgoxqmi] {
    background: #f5f5f5;
}

.sap_btn-primary[b-nzcpgoxqmi] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

.sap_btn-primary:hover:not(:disabled)[b-nzcpgoxqmi] {
    background: #0b5ed7;
    border-color: #0b5ed7;
}
/* /Components/Pages/SAPUI/Sub_SAPUI/SubHeaderSAP.razor.rz.scp.css */
/* existing component styles (unchanged) */

.sap_action-header[b-v0knmyu6a1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    background: transparent;
    gap: 12px;
}

.sap_action-left[b-v0knmyu6a1] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_item-code[b-v0knmyu6a1] {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #333;
    margin-right: 15px;
    margin-left: 15px;
}

.sap_nav-btn[b-v0knmyu6a1] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

.sap_nav-btn:hover:not(:disabled)[b-v0knmyu6a1] {
    background: #e9ecef;
    border-color: #adb5bd;
}

.sap_nav-btn:disabled[b-v0knmyu6a1] {
    opacity: 0.5;
    cursor: not-allowed;
}

.sap_action-right[b-v0knmyu6a1] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.sap_btn-primary[b-v0knmyu6a1] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

    .sap_btn-primary:hover:not(:disabled)[b-v0knmyu6a1] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }


.sap_btn.sap_primary[b-v0knmyu6a1] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 550;
    border-radius: 10px;
}

    .sap_btn.sap_primary:hover:not(:disabled)[b-v0knmyu6a1] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }

.sap_btn-white[b-v0knmyu6a1] {
    color: #0064D9;
    font-size: 1rem;
    font-weight: 530;
    border-radius: 10px;
    border: none;
    background: transparent;
}

    .sap_btn-white:hover:not(:disabled)[b-v0knmyu6a1] {
        background: #f5f5f5;
    }

    .sap_btn-white:disabled[b-v0knmyu6a1] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-v0knmyu6a1]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-v0knmyu6a1]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-v0knmyu6a1]{background:#e9ecef}
.sap_btn-action:disabled[b-v0knmyu6a1]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-v0knmyu6a1]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-v0knmyu6a1]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-v0knmyu6a1]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-v0knmyu6a1]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-v0knmyu6a1]{vertical-align:middle}
.sap_dropdown-container[b-v0knmyu6a1]{position:relative;display:inline-block}
.sap_dropdown-menu[b-v0knmyu6a1]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-v0knmyu6a1]{display:block}
.sap_dropdown-item[b-v0knmyu6a1]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-v0knmyu6a1]{border-bottom:none}
.sap_dropdown-item:hover[b-v0knmyu6a1]{background:#f5f5f5}
.custumButtonPGLO[b-v0knmyu6a1] {
    line-height: 1.5rem;
    font-size: 0.875rem !important;
    background-color: #0d6efd !important;
}
/* /Components/Pages/SAPUI/Sub_SAPUI/SubHeaderSAPItemMaster.razor.rz.scp.css */
/* existing component styles (unchanged) */

.sap_action-header[b-3y7mu40gvm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    background: white;
    gap: 12px;
}

.sap_action-left[b-3y7mu40gvm] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_item-code[b-3y7mu40gvm] {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #333;
    margin-right: 15px;
    margin-left: 15px;
}

.sap_nav-btn[b-3y7mu40gvm] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: white;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

.sap_nav-btn:hover:not(:disabled)[b-3y7mu40gvm] {
    background: #e9ecef;
    border-color: #adb5bd;
}

.sap_nav-btn:disabled[b-3y7mu40gvm] {
    opacity: 0.5;
    cursor: not-allowed;
}

.sap_action-right[b-3y7mu40gvm] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.sap_btn-primary[b-3y7mu40gvm] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

    .sap_btn-primary:hover:not(:disabled)[b-3y7mu40gvm] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }


.sap_btn.sap_primary[b-3y7mu40gvm] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 550;
    border-radius: 10px;
}

    .sap_btn.sap_primary:hover:not(:disabled)[b-3y7mu40gvm] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }

.sap_btn-white[b-3y7mu40gvm] {
    color: #0064D9;
    font-size: 1rem;
    font-weight: 530;
    border-radius: 10px;
    border-color: white;
}

    .sap_btn-white:hover:not(:disabled)[b-3y7mu40gvm] {
        background: #f5f5f5;
    }

    .sap_btn-white:disabled[b-3y7mu40gvm] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-3y7mu40gvm]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-3y7mu40gvm]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-3y7mu40gvm]{background:#e9ecef}
.sap_btn-action:disabled[b-3y7mu40gvm]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-3y7mu40gvm]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-3y7mu40gvm]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-3y7mu40gvm]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-3y7mu40gvm]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-3y7mu40gvm]{vertical-align:middle}
.sap_dropdown-container[b-3y7mu40gvm]{position:relative;display:inline-block}
.sap_dropdown-menu[b-3y7mu40gvm]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-3y7mu40gvm]{display:block}
.sap_dropdown-item[b-3y7mu40gvm]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-3y7mu40gvm]{border-bottom:none}
.sap_dropdown-item:hover[b-3y7mu40gvm]{background:#f5f5f5}
/* /Components/Pages/SAPUI/Sub_SAPUI/SubHeaderStock.razor.rz.scp.css */
/* existing component styles (unchanged) */

.sap_action-header[b-1dnd3tv1gu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    background: transparent;
    gap: 12px;
}

.sap_action-left[b-1dnd3tv1gu] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_item-code[b-1dnd3tv1gu] {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #333;
    margin-right: 15px;
    margin-left: 15px;
}

.sap_nav-btn[b-1dnd3tv1gu] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

.sap_nav-btn:hover:not(:disabled)[b-1dnd3tv1gu] {
    background: #e9ecef;
    border-color: #adb5bd;
}

.sap_nav-btn:disabled[b-1dnd3tv1gu] {
    opacity: 0.5;
    cursor: not-allowed;
}

.sap_action-right[b-1dnd3tv1gu] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.sap_btn-primary[b-1dnd3tv1gu] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

    .sap_btn-primary:hover:not(:disabled)[b-1dnd3tv1gu] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }


.sap_btn.sap_primary[b-1dnd3tv1gu] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 550;
    border-radius: 10px;
}

    .sap_btn.sap_primary:hover:not(:disabled)[b-1dnd3tv1gu] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }

.sap_btn-white[b-1dnd3tv1gu] {
    color: #0064D9;
    font-size: 1rem;
    font-weight: 530;
    border-radius: 10px;
    border: none;
    background: transparent;
}

    .sap_btn-white:hover:not(:disabled)[b-1dnd3tv1gu] {
        background: #f5f5f5;
    }

    .sap_btn-white:disabled[b-1dnd3tv1gu] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-1dnd3tv1gu]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-1dnd3tv1gu]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-1dnd3tv1gu]{background:#e9ecef}
.sap_btn-action:disabled[b-1dnd3tv1gu]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-1dnd3tv1gu]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-1dnd3tv1gu]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-1dnd3tv1gu]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-1dnd3tv1gu]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-1dnd3tv1gu]{vertical-align:middle}
.sap_dropdown-container[b-1dnd3tv1gu]{position:relative;display:inline-block}
.sap_dropdown-menu[b-1dnd3tv1gu]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-1dnd3tv1gu]{display:block}
.sap_dropdown-item[b-1dnd3tv1gu]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-1dnd3tv1gu]{border-bottom:none}
.sap_dropdown-item:hover[b-1dnd3tv1gu]{background:#f5f5f5}
.custumButtonPGLO[b-1dnd3tv1gu] {
    line-height: 1.5rem;
    font-size: 0.875rem !important;
    background-color: #0d6efd !important;
}
/* /Components/Pages/SAPUI/Sub_SAPUI/SubHeaderWHS.razor.rz.scp.css */
/* existing component styles (unchanged) */

.sap_action-header[b-wdkbnafo9q] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    background: white;
    gap: 12px;
}

.sap_action-left[b-wdkbnafo9q] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sap_item-code[b-wdkbnafo9q] {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #333;
    margin-right: 15px;
    margin-left: 15px;
}

.sap_nav-btn[b-wdkbnafo9q] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: white;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.2s;
}

.sap_nav-btn:hover:not(:disabled)[b-wdkbnafo9q] {
    background: #e9ecef;
    border-color: #adb5bd;
}

.sap_nav-btn:disabled[b-wdkbnafo9q] {
    opacity: 0.5;
    cursor: not-allowed;
}

.sap_action-right[b-wdkbnafo9q] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.sap_btn-primary[b-wdkbnafo9q] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
}

    .sap_btn-primary:hover:not(:disabled)[b-wdkbnafo9q] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }


.sap_btn.sap_primary[b-wdkbnafo9q] {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    font-size: 1rem;
    font-weight: 550;
    border-radius: 10px;
}

    .sap_btn.sap_primary:hover:not(:disabled)[b-wdkbnafo9q] {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }

.sap_btn-white[b-wdkbnafo9q] {
    color: #0064D9;
    font-size: 1rem;
    font-weight: 530;
    border-radius: 10px;
    border-color: white;
}

    .sap_btn-white:hover:not(:disabled)[b-wdkbnafo9q] {
        background: #f5f5f5;
    }

    .sap_btn-white:disabled[b-wdkbnafo9q] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-wdkbnafo9q]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-wdkbnafo9q]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-wdkbnafo9q]{background:#e9ecef}
.sap_btn-action:disabled[b-wdkbnafo9q]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-wdkbnafo9q]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-wdkbnafo9q]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-wdkbnafo9q]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-wdkbnafo9q]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-wdkbnafo9q]{vertical-align:middle}
.sap_dropdown-container[b-wdkbnafo9q]{position:relative;display:inline-block}
.sap_dropdown-menu[b-wdkbnafo9q]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-wdkbnafo9q]{display:block}
.sap_dropdown-item[b-wdkbnafo9q]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-wdkbnafo9q]{border-bottom:none}
.sap_dropdown-item:hover[b-wdkbnafo9q]{background:#f5f5f5}
.custumButtonPGLO[b-wdkbnafo9q] {
    line-height: 1.5rem;
    font-size: 0.875rem !important;
    background-color: #0d6efd !important;
}
/* /Components/Pages/SAPUI/Sub_SAPUI/SubInnerCardCloseRemarkSAP.razor.rz.scp.css */
.sap_inner-card[b-k9snbue99z]{padding:1rem;border-radius:6px}
.sap_section-title[b-k9snbue99z]{margin:0;font-size:1rem;font-weight:700;color:#1a1a1a}
/* Header box: full border khi đóng, chỉ border-bottom khi mở */
.sap_remark-header-box[b-k9snbue99z]{display:flex;align-items:center;gap:.5rem;cursor:pointer;user-select:none;padding:.5rem .75rem;border-bottom: 1px solid #d0d0d0;border-radius:10px}
.sap_remark-header-box--open[b-k9snbue99z]{border-bottom:1px solid #d0d0d0;border-top:none;border-left:none;border-right:none;border-radius:10px 10px 0 0;padding-left:10px}
.sap_collapse-icon-img[b-k9snbue99z]{width:18px;height:18px;object-fit:contain;flex-shrink:0}
.sap_collapsible-content[b-k9snbue99z]{display:flex;flex-direction:column;gap:.5rem;margin-top:.75rem}
.sap_link-section[b-k9snbue99z]{margin-bottom:.25rem}
.sap_link[b-k9snbue99z]{color:#0078d4;text-decoration:none;font-size:.875rem}
.sap_link:hover[b-k9snbue99z]{text-decoration:underline}
.sap_textarea[b-k9snbue99z]{width:100%;min-height:80px;padding:.5rem;border:1px solid #ccc;border-radius:4px;font-size:.875rem;resize:vertical;box-sizing:border-box}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-k9snbue99z]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-k9snbue99z]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-k9snbue99z]{background:#e9ecef}
.sap_btn-action:disabled[b-k9snbue99z]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-k9snbue99z]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-k9snbue99z]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-k9snbue99z]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-k9snbue99z]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-k9snbue99z]{vertical-align:middle}
.sap_dropdown-container[b-k9snbue99z]{position:relative;display:inline-block}
.sap_dropdown-menu[b-k9snbue99z]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-k9snbue99z]{display:block}
.sap_dropdown-item[b-k9snbue99z]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-k9snbue99z]{border-bottom:none}
.sap_dropdown-item:hover[b-k9snbue99z]{background:#f5f5f5}
.sap_remark-header-box:focus-within[b-k9snbue99z] {
    border: 2px solid #004da5;
    outline: none;
}
.sap_section-title[b-k9snbue99z] {
    margin-bottom: 0!important;
}
/* /Components/Pages/SAPUI/Sub_SAPUI/SubInnerCardFreightSAP.razor.rz.scp.css */
.sap_inner-card[b-8gyzupr1v8]{background:#fff;border:1px solid #e6e6e6;padding:1rem;border-radius:6px}
.sap_section-title[b-8gyzupr1v8]{margin:0 0 .5rem;font-size:1rem;font-weight:600}
.sap-table[b-8gyzupr1v8]{width:100%;border-collapse:collapse}
.sap-table th[b-8gyzupr1v8],.sap-table td[b-8gyzupr1v8]{border:1px solid #f0f0f0;padding:.5rem;text-align:left}
.sap_table-actions[b-8gyzupr1v8]{display:flex;justify-content:flex-end;gap:.5rem}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-8gyzupr1v8]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-8gyzupr1v8]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-8gyzupr1v8]{background:#e9ecef}
.sap_btn-action:disabled[b-8gyzupr1v8]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-8gyzupr1v8]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-8gyzupr1v8]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-8gyzupr1v8]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-8gyzupr1v8]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-8gyzupr1v8]{vertical-align:middle}
.sap_dropdown-container[b-8gyzupr1v8]{position:relative;display:inline-block}
.sap_dropdown-menu[b-8gyzupr1v8]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-8gyzupr1v8]{display:block}
.sap_dropdown-item[b-8gyzupr1v8]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-8gyzupr1v8]{border-bottom:none}
.sap_dropdown-item:hover[b-8gyzupr1v8]{background:#f5f5f5}
/* /Components/Pages/SAPUI/Sub_SAPUI/SubInnerCardOpenRemarkSAP.razor.rz.scp.css */
.sap_inner-card[b-ir8xno8i4w]{padding:1rem;border-radius:6px}
.sap_section-title[b-ir8xno8i4w]{margin:0;font-size:1rem;font-weight:700;color:#1a1a1a}
/* Header box: full border khi đóng, chỉ border-bottom khi mở */
.sap_remark-header-box[b-ir8xno8i4w]{display:flex;align-items:center;gap:.5rem;cursor:pointer;user-select:none;padding:.5rem .75rem;border-bottom: 1px solid #d0d0d0;border-radius:10px}
.sap_remark-header-box--open[b-ir8xno8i4w]{border-bottom:1px solid #d0d0d0;border-top:none;border-left:none;border-right:none;border-radius:10px 10px 0 0;padding-left:10px}
.sap_collapse-icon-img[b-ir8xno8i4w]{width:18px;height:18px;object-fit:contain;flex-shrink:0}
.sap_collapsible-content[b-ir8xno8i4w]{display:flex;flex-direction:column;gap:.5rem;margin-top:.75rem}
.sap_link-section[b-ir8xno8i4w]{margin-bottom:.25rem}
.sap_link[b-ir8xno8i4w]{color:#0078d4;text-decoration:none;font-size:.875rem}
.sap_link:hover[b-ir8xno8i4w]{text-decoration:underline}
.sap_textarea[b-ir8xno8i4w]{width:100%;min-height:80px;padding:.5rem;border:1px solid #ccc;border-radius:4px;font-size:.875rem;resize:vertical;box-sizing:border-box}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-ir8xno8i4w]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-ir8xno8i4w]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-ir8xno8i4w]{background:#e9ecef}
.sap_btn-action:disabled[b-ir8xno8i4w]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-ir8xno8i4w]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-ir8xno8i4w]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-ir8xno8i4w]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-ir8xno8i4w]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-ir8xno8i4w]{vertical-align:middle}
.sap_dropdown-container[b-ir8xno8i4w]{position:relative;display:inline-block}
.sap_dropdown-menu[b-ir8xno8i4w]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-ir8xno8i4w]{display:block}
.sap_dropdown-item[b-ir8xno8i4w]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-ir8xno8i4w]{border-bottom:none}
.sap_dropdown-item:hover[b-ir8xno8i4w]{background:#f5f5f5}
.sap_remark-header-box:focus-within[b-ir8xno8i4w] {
    border: 2px solid #004da5;
    outline: none;
}
.sap_section-title[b-ir8xno8i4w] {
    margin-bottom: 0!important;
}
/* /Components/Pages/SAPUI/Sub_SAPUI/SubInnerCardSummary.razor.rz.scp.css */
.sap_inner-card[b-1iuiwvb7dp] {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 6px
}

/* Floating widget docked to the bottom-right corner, always visible regardless of scroll
   position - same "floating card" treatment as .sap_bottom-bar (border/shadow formula matches
   it for visual consistency). bottom offset clears the fixed .sap_bottom-bar (10px inset,
   2.5rem tall). */
.sap_summary-sticky[b-1iuiwvb7dp] {
    position: fixed;
    right: 35px;
    bottom: 70px;
    z-index: 1;
/*    width: 460px;*/
    max-width: calc(100vw - 40px);
    border: 1px solid #dde2eb;
    box-shadow: 0 0 0 .0625rem rgba(34, 53, 72, 0.48), 0 .125rem .5rem 0 rgba(34, 53, 72, 0.3);
}

.sap_section-title[b-1iuiwvb7dp] {
    margin: 0 0 .5rem;
    font-size: 1rem;
    font-weight: 600
}

.sap_summary-grid[b-1iuiwvb7dp] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
}
/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-1iuiwvb7dp] {
    display: flex;
    gap: 8px;
    align-items: center
}

.sap_btn-action[b-1iuiwvb7dp] {
    padding: 6px 12px;
    background: none;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #0d6efd;
    transition: all .15s
}

    .sap_btn-action:hover:not(:disabled)[b-1iuiwvb7dp] {
        background: #e9ecef
    }

    .sap_btn-action:disabled[b-1iuiwvb7dp] {
        opacity: .5;
        cursor: not-allowed;
        color: #6c757d
    }

.sap_btn-icon-right[b-1iuiwvb7dp] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: none;
    border: none !important;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all .15s
}

    .sap_btn-icon-right:hover:not(:disabled)[b-1iuiwvb7dp] {
        background: #e9ecef
    }

    .sap_btn-icon-right:disabled[b-1iuiwvb7dp] {
        opacity: .5;
        cursor: not-allowed
    }

.sap_btn-icon[b-1iuiwvb7dp] {
    padding: 6px 12px;
    background: none;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

    .sap_btn-icon img[b-1iuiwvb7dp] {
        vertical-align: middle
    }

.sap_dropdown-container[b-1iuiwvb7dp] {
    position: relative;
    display: inline-block
}

.sap_dropdown-menu[b-1iuiwvb7dp] {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    z-index: 1000;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-top: 4px
}

    .sap_dropdown-menu.show[b-1iuiwvb7dp] {
        display: block
    }

.sap_dropdown-item[b-1iuiwvb7dp] {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0
}

    .sap_dropdown-item:last-child[b-1iuiwvb7dp] {
        border-bottom: none
    }

    .sap_dropdown-item:hover[b-1iuiwvb7dp] {
        background: #f5f5f5
    }

/* Component-specific summary styles */
.sap_total-summary[b-1iuiwvb7dp] {
    background-color: #fff;
    padding: 2rem;
    border-radius: 6px;
    border: 1px solid #e0e4ef;
}

.sap_summary-row[b-1iuiwvb7dp] {
    display: grid;
    /* Cột 1: Linh hoạt | Cột 2 (Label): 200px | Cột 3 (Value): 250px (Tùy chỉnh độ rộng này) */
    grid-template-columns: 1fr 200px 250px;
    align-items: center;
    gap: 0; /* Giảm gap về 0 để kiểm soát bằng độ rộng cột */
}

.sap_summary-label[b-1iuiwvb7dp] {
    font-size: 13px;
    color: #444;
    text-align: left; /* Căn lề trái để tất cả các chữ cái đầu hàng thẳng nhau */
    white-space: nowrap;
    grid-column: 2; /* Nằm ở cột 2 */
}

.sap_summary-value-container[b-1iuiwvb7dp] {
    display: flex;
    justify-content: flex-end; /* Đẩy sang phải */
    align-items: center;
    gap: 8px;
    grid-column: 3; /* Value ở cột 3 (phải) */
}

.sap_summary-value[b-1iuiwvb7dp] {
    font-size: 13px;
    font-weight: 600;
    color: #009966;
    text-align: right;
    grid-column: 3; /* Value ở cột 3 (phải) */
}
.sap_summary-value[b-1iuiwvb7dp], .sap_inline-group[b-1iuiwvb7dp] {
    grid-column: 3;
    justify-content: flex-end; 
    text-align: right;
}
.sap_inline-group[b-1iuiwvb7dp] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end; /* Căn phải cho inline group */
    grid-column: 3; /* Inline group ở cột 3 (phải) */
}

/* small variant for compact inputs used in summary */
.sap_input.sap_input-sm[b-1iuiwvb7dp] {
    height: 1.25rem;
    padding: 4px 6px;
    font-size: 14px;
}

/* Allow embedding a small/compact value if needed */
.sap_summary-value--small[b-1iuiwvb7dp] {
    font-size: 14px;
    font-weight: 600;
}
/* Thanh kẻ ngang nằm trong Grid */
.sap_summary-line[b-1iuiwvb7dp] {
    grid-column: 2 / span 2; /* Bắt đầu từ cột 2 và kéo dài qua 2 cột (cột nhãn và cột giá trị) */
    border-top: 2px solid #dee2e6;
    margin: 10px 0; /* Khoảng cách trên dưới để thanh kẻ không dính sát vào chữ */
    width: 100%;
}

/* Đảm bảo hàng chứa thanh kẻ không bị lệch */
.sap_summary-row:has(.sap_summary-line)[b-1iuiwvb7dp] {
    align-items: center;
    height: auto;
}
/* /Components/Pages/SAPUI/Sub_SAPUI/SubSapAttachments.razor.rz.scp.css */

/* Empty state (no attachments, or an unsupported document type) */
.sap_attachment-area[b-1fxxk49fya] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
}

.sap_attachment-icon[b-1fxxk49fya] {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.sap_attachment-text[b-1fxxk49fya] {
    color: #6c757d;
    margin-bottom: 16px;
}

/* Toolbar - "Add Attachment" pill button, matching PaymentRequestDetail's prd-import-btn */
.sap_attachment-toolbar[b-1fxxk49fya] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.sap_attachment-add-btn[b-1fxxk49fya] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border: 1px solid #c3c6d7;
    border-radius: 8px;
    background: #ffffff;
    color: #004ac6;
    font-size: 13px;
    cursor: pointer;
    transition: background .15s;
}

.sap_attachment-add-btn:hover[b-1fxxk49fya] {
    background: #f2f3ff;
}

.sap_attachment-add-btn .material-symbols-outlined[b-1fxxk49fya] {
    font-size: 18px;
}

/* Attachment cards - horizontal scrolling row, matching PaymentRequestDetail's prd-attachment-* */
.sap_attachment-list[b-1fxxk49fya] {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    /* overflow-x: auto forces the y-axis to clip too, which was cutting off the remove badge's
       negative top offset below - this top padding gives it room inside the clipped area instead. */
    padding: 12px 4px 8px;
}

.sap_attachment-card[b-1fxxk49fya] {
    position: relative;
    flex: 0 0 auto;
    width: 180px;
    height: 200px;
    padding: 8px;
    border: 1px solid #c3c6d7;
    border-radius: 8px;
    background: #eaedff;
}

.sap_attachment-link[b-1fxxk49fya] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.sap_attachment-thumb[b-1fxxk49fya] {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}

.sap_attachment-file-icon[b-1fxxk49fya] {
    font-size: 80px;
    color: #004ac6;
}

.sap_attachment-name[b-1fxxk49fya] {
    max-width: 100%;
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sap_attachment-remove[b-1fxxk49fya] {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 9999px;
    background: #ba1a1a;
    color: #fff;
    cursor: pointer;
}

.sap_attachment-remove .material-symbols-outlined[b-1fxxk49fya] {
    font-size: 16px;
}
/* /Components/Pages/SAPUI/Sub_SAPUI/SubSapTab.razor.rz.scp.css */
/* Styles for the SAP sub-tabs used in SubSapTab.razor */
/* Scoped to the component by Blazor .razor.css convention */

.sap_tabs[b-pk5se35bjx] {
    display: flex;
    gap: 35px;
    padding: 12px 35px 0;
    background-color: transparent;
    border-bottom: 1px solid #dde2eb;
}

.sap_tab[b-pk5se35bjx] {
    border: none;
    background: none;
    padding: 8px 0;
    font-size: 13px;
    color: #556B82;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

    .sap_tab.sap_active[b-pk5se35bjx] {
        color: #0070f2;
        font-weight: 600;
    }

        .sap_tab.sap_active[b-pk5se35bjx]::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -2px;
            height: 2px;
            background-color: #0070f2;
        }




@media (max-width: 600px) {
    .sap_tabs[b-pk5se35bjx] {
        gap: 8px;
    }
}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-pk5se35bjx]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-pk5se35bjx]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-pk5se35bjx]{background:#e9ecef}
.sap_btn-action:disabled[b-pk5se35bjx]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-pk5se35bjx]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-pk5se35bjx]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-pk5se35bjx]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-pk5se35bjx]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-pk5se35bjx]{vertical-align:middle}
.sap_dropdown-container[b-pk5se35bjx]{position:relative;display:inline-block}
.sap_dropdown-menu[b-pk5se35bjx]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-pk5se35bjx]{display:block}
.sap_dropdown-item[b-pk5se35bjx]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-pk5se35bjx]{border-bottom:none}
.sap_dropdown-item:hover[b-pk5se35bjx]{background:#f5f5f5}
/* /Components/Pages/SAPUI/Sub_SAPUI/SubSapTabV2.razor.rz.scp.css */
/* Styles for the SAP sub-tabs used in SubSapTab.razor */
/* Scoped to the component by Blazor .razor.css convention */

.sap_tabs[b-3uq4mdr9at] {
    display: flex;
    gap: 35px;
    padding: 12px 35px 0;
    background-color: #fff;
    border-bottom: 1px solid #dde2eb;
}

.sap_tab[b-3uq4mdr9at] {
    border: none;
    background: none;
    padding: 8px 0;
    font-size: 13px;
    color: #556B82;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

    .sap_tab.sap_active[b-3uq4mdr9at] {
        color: #0070f2;
        font-weight: 600;
    }

        .sap_tab.sap_active[b-3uq4mdr9at]::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -2px;
            height: 2px;
            background-color: #0070f2;
        }




@media (max-width: 600px) {
    .sap_tabs[b-3uq4mdr9at] {
        gap: 8px;
    }
}

/* Shared action/dropdown/button helpers for Sub_SAPUI components */
.sap_table-actions-right[b-3uq4mdr9at]{display:flex;gap:8px;align-items:center}
.sap_btn-action[b-3uq4mdr9at]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;font-size:14px;color:#0d6efd;transition:all .15s}
.sap_btn-action:hover:not(:disabled)[b-3uq4mdr9at]{background:#e9ecef}
.sap_btn-action:disabled[b-3uq4mdr9at]{opacity:.5;cursor:not-allowed;color:#6c757d}
.sap_btn-icon-right[b-3uq4mdr9at]{width:32px;height:32px;padding:0;background:none;border:none!important;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#495057;transition:all .15s}
.sap_btn-icon-right:hover:not(:disabled)[b-3uq4mdr9at]{background:#e9ecef}
.sap_btn-icon-right:disabled[b-3uq4mdr9at]{opacity:.5;cursor:not-allowed}
.sap_btn-icon[b-3uq4mdr9at]{padding:6px 12px;background:none;border:none!important;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sap_btn-icon img[b-3uq4mdr9at]{vertical-align:middle}
.sap_dropdown-container[b-3uq4mdr9at]{position:relative;display:inline-block}
.sap_dropdown-menu[b-3uq4mdr9at]{display:none;position:absolute;background:#fff;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:1000;border:1px solid #e0e0e0;border-radius:4px;margin-top:4px}
.sap_dropdown-menu.show[b-3uq4mdr9at]{display:block}
.sap_dropdown-item[b-3uq4mdr9at]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.sap_dropdown-item:last-child[b-3uq4mdr9at]{border-bottom:none}
.sap_dropdown-item:hover[b-3uq4mdr9at]{background:#f5f5f5}
/* /Components/Pages/SAPUI/Sub_SAPUI/SubSapUDF.razor.rz.scp.css */
.sap_udf-grid-two-column[b-d7jmeeqoos] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
    max-width: 800px; /* Giới hạn độ rộng */
}
.sap_udf-grid-two-column[b-d7jmeeqoos] {
    grid-template-columns: 1fr;
}
/* /Components/Pages/SAPUI/Sub_SAPUI/Sub_LineSAPUI/SubLineDetailActionSAP.razor.rz.scp.css */
.sap_line-actions[b-91yqazgo9c]{display:flex;gap:.5rem}
.sap_btn[b-91yqazgo9c]{padding:.3rem .5rem;border-radius:4px;border:1px solid #ccc;background:#fff}

/* Component-specific action toolbar styles */
.sap_table-actions-right[b-91yqazgo9c] {display:flex;gap:8px;align-items:center}

/* Collapsible action group + sliding toggle arrow */
.sap_btn-toggle-collapse[b-91yqazgo9c] {flex-shrink:0}

.sap_toggle-arrow[b-91yqazgo9c] {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: bold;
    color: #0070f2;
    line-height: 1;
    transition: transform 0.3s ease;
}

.sap_toggle-arrow.expanded[b-91yqazgo9c] {
    transform: rotate(180deg);
}

.sap_actions-collapsible[b-91yqazgo9c] {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    max-width: 700px;
    opacity: 1;
    transition: max-width 0.3s ease, opacity 0.2s ease, margin-left 0.3s ease;
}

.sap_actions-collapsible.collapsed[b-91yqazgo9c] {
    max-width: 0;
    opacity: 0;
    margin-left: -8px;
    pointer-events: none;
}

.sap_btn-action[b-91yqazgo9c] {
    padding: 6px 12px;
    background: none;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #0d6efd;
    transition: all 0.15s ease;
}

.sap_btn-action:hover:not(:disabled)[b-91yqazgo9c] {
    background: #e9ecef;
}

.sap_btn-action:disabled[b-91yqazgo9c] {
    opacity: 0.5;
    cursor: not-allowed;
    color: #6c757d;
}

.sap_btn-icon-right[b-91yqazgo9c] {
    width: 32px;
    height: 32px;
    padding: 0;
    background: none;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: all 0.15s ease;
}

.sap_btn-icon-right:hover:not(:disabled)[b-91yqazgo9c] {
    background: #e9ecef;
}

.sap_btn-icon-right:disabled[b-91yqazgo9c] {
    opacity: 0.5;
    cursor: not-allowed;
}

.sap_btn-icon[b-91yqazgo9c] {
    padding: 6px 12px;
    background: none;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sap_btn-icon img[b-91yqazgo9c] { vertical-align: middle; }

/* Dropdown helper */
.sap_dropdown-container[b-91yqazgo9c] {
    position: relative;
    display: inline-block;
}

.sap_dropdown-menu[b-91yqazgo9c] {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.12);
    z-index: 1000;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-top: 4px;
}

.sap_dropdown-menu.show[b-91yqazgo9c] { display: block; }

.sap_dropdown-item[b-91yqazgo9c] {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.12s;
}

.sap_dropdown-item:last-child[b-91yqazgo9c] { border-bottom: none; }

.sap_dropdown-item:hover[b-91yqazgo9c] { background: #f5f5f5; }
/* /Components/Pages/ScheduleAPS/ApsPage.razor.rz.scp.css */
/* The page look comes from wwwroot/css/apsWorkbench.css (apsw-*), the APS design system.
   This file only styles what APS adds on top of it: toolbar groups, the scheduling options bar, the draft bar,
   the message strip and the status bar. Row height is RowHeightPx in ApsGanttCpn.razor. */

/* ---- toolbar groups ------------------------------------------------------------------------------------------- */
.aps-tgroup[b-wf3nb0w9mu] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.aps-tsep[b-wf3nb0w9mu] {
    width: 1px;
    height: 18px;
    margin: 0 4px;
    background: var(--aps-rule, rgba(129, 181, 246, .32));
}

.aps-ibtn[b-wf3nb0w9mu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--aps-ctl-h, 26px);
    height: var(--aps-ctl-h, 26px);
    padding: 0;
    border: 1px solid var(--aps-rule, rgba(129, 181, 246, .32));
    border-radius: 4px;
    background: var(--apsw-surface-container-lowest, #fff);
    color: var(--apsw-on-surface, #00345e);
    cursor: pointer;
}

.aps-ibtn .apsw-material-icon[b-wf3nb0w9mu] {
    font-size: 17px;
}

.aps-ibtn:hover:not(:disabled)[b-wf3nb0w9mu] {
    background: rgba(55, 85, 195, .08);
    border-color: rgba(55, 85, 195, .45);
}

.aps-ibtn:disabled[b-wf3nb0w9mu] {
    opacity: .4;
    cursor: default;
}

.aps-ibtn--on[b-wf3nb0w9mu] {
    background: rgba(55, 85, 195, .14);
    border-color: var(--apsw-primary, #3755c3);
    color: var(--apsw-primary, #3755c3);
}

.aps-ibtn:focus-visible[b-wf3nb0w9mu],
.aps-messages__head:focus-visible[b-wf3nb0w9mu],
.aps-message:focus-visible[b-wf3nb0w9mu] {
    outline: 2px solid var(--apsw-primary, #3755c3);
    outline-offset: 1px;
}

/* ---- scheduling options --------------------------------------------------------------------------------------- */
.aps-subbar[b-wf3nb0w9mu] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    min-height: 34px;
    padding: 4px 10px;
    border-bottom: 1px solid var(--aps-rule, rgba(129, 181, 246, .32));
    background: var(--apsw-surface-container-lowest, #fff);
}

.aps-field[b-wf3nb0w9mu] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--apsw-on-surface-variant, #26619d);
}

.aps-field input[b-wf3nb0w9mu],
.aps-field select[b-wf3nb0w9mu] {
    height: var(--aps-ctl-h, 26px);
    padding: 0 6px;
    border: 1px solid var(--aps-rule, rgba(129, 181, 246, .32));
    border-radius: 4px;
    background: var(--apsw-surface-container-lowest, #fff);
    color: var(--apsw-on-surface, #00345e);
    font-size: 12px;
    font-weight: 500;
}

.aps-check[b-wf3nb0w9mu] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--apsw-on-surface, #00345e);
    cursor: pointer;
}

.aps-check input[b-wf3nb0w9mu] {
    accent-color: var(--apsw-primary, #3755c3);
}

/* ---- draft bar: thin amber strip with a hatched edge ------------------------------------------------------------ */
.aps-draft[b-wf3nb0w9mu] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 3px 10px 3px 14px;
    border-bottom: 1px solid rgba(224, 161, 0, .55);
    background:
        linear-gradient(-45deg, #e0a100 25%, #f6d56a 25% 50%, #e0a100 50% 75%, #f6d56a 75%) left / 6px 100% no-repeat,
        #fff7dd;
    background-size: 6px 8px, auto;
    background-repeat: repeat-y, no-repeat;
}

.aps-draft__icon[b-wf3nb0w9mu] {
    font-size: 18px;
    color: #8a6200;
}

.aps-draft__text[b-wf3nb0w9mu] {
    margin-right: auto;
    font-size: 12px;
    color: #5c4300;
}

.aps-draft__text strong[b-wf3nb0w9mu] {
    margin-right: 6px;
    font-family: Manrope, Inter, sans-serif;
}

/* ---- messages: one line, expands to a list; a row selects its operation -------------------------------------------- */
.aps-messages[b-wf3nb0w9mu] {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid rgba(224, 161, 0, .4);
    background: #fff9e6;
    color: #6b4f00;
}

.aps-messages--error[b-wf3nb0w9mu] {
    border-bottom-color: rgba(170, 64, 61, .4);
    background: #fdecea;
    color: #8f2f2c;
}

.aps-messages__head[b-wf3nb0w9mu] {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 8px;
    min-width: 0;
    height: 28px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}

.aps-messages__head .apsw-material-icon[b-wf3nb0w9mu] {
    font-size: 16px;
}

.aps-messages__first[b-wf3nb0w9mu] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aps-messages__first strong[b-wf3nb0w9mu],
.aps-message strong[b-wf3nb0w9mu] {
    margin-right: 4px;
    font-weight: 700;
}

.aps-messages__count[b-wf3nb0w9mu] {
    padding: 0 6px;
    border-radius: 9px;
    background: rgba(0, 0, 0, .1);
    font-size: 11px;
    font-weight: 700;
}

.aps-messages__x[b-wf3nb0w9mu] {
    width: 22px;
    height: 22px;
    margin-right: 6px;
    border-color: transparent;
    background: transparent;
    color: inherit;
}

.aps-messages__list[b-wf3nb0w9mu] {
    flex-basis: 100%;
    max-height: 132px;
    overflow-y: auto;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.aps-message[b-wf3nb0w9mu] {
    display: block;
    width: 100%;
    padding: 3px 10px 3px 34px;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}

.aps-message:hover[b-wf3nb0w9mu] {
    background: rgba(0, 0, 0, .06);
}

.aps-message span[b-wf3nb0w9mu] {
    margin-right: 4px;
    font-variant-numeric: tabular-nums;
    opacity: .75;
}

.aps-empty[b-wf3nb0w9mu] {
    flex: 1;
}

/* ---- status bar ----------------------------------------------------------------------------------------------- */
.aps-status[b-wf3nb0w9mu] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    height: 24px;
    padding: 0 10px;
    border-top: 1px solid var(--aps-rule, rgba(129, 181, 246, .32));
    background: var(--apsw-surface-container-low, #eff4ff);
    color: var(--apsw-on-surface-variant, #26619d);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.aps-status strong[b-wf3nb0w9mu] {
    margin-right: 3px;
    color: var(--apsw-on-surface, #00345e);
    font-weight: 700;
}

.aps-status__sel[b-wf3nb0w9mu] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--apsw-primary, #3755c3);
    font-weight: 600;
}

.aps-status--warn strong[b-wf3nb0w9mu] {
    color: #b4651e;
}

.aps-status--draft strong[b-wf3nb0w9mu] {
    color: #8a6200;
}

/* ApsAiPanelCpn positions itself at the top right of its nearest positioned ancestor; it reads these tokens. */
.aps-ai-slot[b-wf3nb0w9mu] {
    --aps-surface: #ffffff;
    --aps-ink: #00345e;
    --aps-ink-soft: #26619d;
    --aps-steel: #a9c9f0;
    --aps-steel-soft: #e5eeff;
    --aps-enamel: #3755c3;
    --aps-enamel-dark: #2a43a0;
    --aps-enamel-tint: #e5eeff;
    --aps-signal: #e0a100;
    --aps-signal-tint: #fff4d1;
    --aps-overload: #c23030;
    --aps-overload-tint: #fbe4e4;
    --aps-radius: 6px;
    position: relative;
    height: 0;
    z-index: 30;
}

/* the site styles every disabled <button>; keep the APS look when disabled */
.aps-ibtn:disabled[b-wf3nb0w9mu] {
    background: var(--apsw-surface-container-lowest, #fff);
    color: var(--apsw-on-surface-variant, #26619d);
    border: 1px solid var(--aps-rule, rgba(129, 181, 246, .32));
}

/* Gantt view switch (Work order | Resource) in the Resource Scheduler title row. */
.aps-view-switch[b-wf3nb0w9mu] {
    display: inline-flex;
    align-self: center;
    margin-left: .75rem;
    border: 1px solid rgba(55, 85, 195, .35);
    border-radius: 4px;
    overflow: hidden;
}

.aps-view-switch button[b-wf3nb0w9mu] {
    padding: 3px 10px;
    border: 0;
    background: transparent;
    color: var(--apsw-primary, #3755c3);
    font-size: 12px;
    cursor: pointer;
}

.aps-view-switch button + button[b-wf3nb0w9mu] {
    border-left: 1px solid rgba(55, 85, 195, .35);
}

.aps-view-switch button.active[b-wf3nb0w9mu] {
    background: var(--apsw-primary, #3755c3);
    color: #fff;
}

.aps-group-check[b-wf3nb0w9mu] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: .75rem;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
}
/* /Components/Pages/SibarCategory/RouteSearchingCpn.razor.rz.scp.css */
.route-item-wrapper[b-wcep2k76u9] {
    border: 1px solid #d1d1d1;
    border-radius: 5px;
    padding: 0;
}

.route-item-wrapper[b-wcep2k76u9] {
    position: relative;
}

.route-icon-setting-btn[b-wcep2k76u9] {
    position: absolute;
    right: 2px;
    bottom: 2px;
    display: flex;
    padding: 0;
    border: none;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
}

.route-rollback-btn[b-wcep2k76u9] {
    position: absolute;
    right: 2px;
    top: 2px;
    display: flex;
    padding: 0;
    border: none;
    background: transparent;
    color: #dc3545;
    cursor: pointer;
}

.route-rollback-btn .material-symbols-outlined[b-wcep2k76u9] {
    font-size: 18px;
}

.route-icon-setting-btn:hover[b-wcep2k76u9] {
    color: #212529;
}

.route-icon-setting-btn .material-symbols-outlined[b-wcep2k76u9] {
    font-size: 16px;
}
/* /Components/Pages/SibarCategory/SibarCategoryPage.razor.rz.scp.css */
.category-item[b-7x1qf28kml] {
    cursor: move;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.category-item:active[b-7x1qf28kml] {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

.route-item:hover[b-7x1qf28kml] {
    background-color: #5496cd;
}

.cate-drag-handle[b-7x1qf28kml] {
    cursor: grab;
}

.category-item.dragging[b-7x1qf28kml],
.route-item.dragging[b-7x1qf28kml] {
    opacity: .5;
}

.route-show-btn img[b-7x1qf28kml] {
    transition: transform .15s ease-in-out;
}



.route-item.route-item-focused[b-7x1qf28kml] {
    background-color: #5496cd;
}
/* /Components/Pages/Systems/ColumnSettingLoader.razor.rz.scp.css */
/* The loader of the Column Settings page: a skeleton of the table with a soft sweep, and a progress bar on the first load.
   Same palette as the page: header wash #eaf1f8, hairline #dfe6ee, accent #0a6ed1, ink #1f2d3d, muted #64748b. */
/* Bounded by the window, so the loader alone never makes the page scroll. The 330px is what stands above and below it in
   PageNestedLayout: the top bar and page title, #content-container's padding-top (2rem) and the layout's padding-bottom (30px). */
.csl[b-8ep5m7n9pt] { max-height: calc(100vh - 330px); min-height: 220px; overflow: hidden; }

.csl-status[b-8ep5m7n9pt] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    margin-bottom: 10px;
}
.csl-text[b-8ep5m7n9pt] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.csl-title[b-8ep5m7n9pt] { color: #1f2d3d; font-size: 1rem; font-weight: 600; }
.csl-note[b-8ep5m7n9pt] { max-width: 62ch; color: #64748b; font-size: .8125rem; }
.csl-count[b-8ep5m7n9pt] { color: #3a6186; font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.csl-track[b-8ep5m7n9pt] { height: 6px; margin-bottom: 14px; overflow: hidden; border-radius: 999px; background: #e3ebf3; }
.csl-fill[b-8ep5m7n9pt] { height: 100%; width: 0; border-radius: inherit; background: #0a6ed1; transition: width .35s ease; }
/* The total is not known (yet, or any more): a short block travels along the track instead of a fill */
.csl-fill--wait[b-8ep5m7n9pt] { width: 28%; animation: csl-travel-b-8ep5m7n9pt 1.3s ease-in-out infinite; }
@keyframes csl-travel-b-8ep5m7n9pt { 0% { margin-left: -28%; } 100% { margin-left: 100%; } }

/* The table outline fades out towards the bottom: there is more below, it is just not here yet */
.csl-table[b-8ep5m7n9pt] {
    border: 1px solid #dfe6ee;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 60%, transparent);
    mask-image: linear-gradient(#000 60%, transparent);
}
.csl-row[b-8ep5m7n9pt] {
    display: grid;
    grid-template-columns: 48px 1.5fr 1fr 1.2fr 1fr 96px;
    align-items: center;
    gap: 18px;
    padding: 12px 16px;
    border-bottom: 1px solid #edf1f6;
}
.csl-row--head[b-8ep5m7n9pt] { padding: 11px 16px; border-bottom-color: #cddbe9; background: #eaf1f8; }

.csl-bar[b-8ep5m7n9pt] {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(100deg, #e6edf5 30%, #f6f9fc 48%, #e6edf5 66%);
    background-size: 240% 100%;
    animation: csl-sweep-b-8ep5m7n9pt 1.7s linear infinite;
    animation-delay: calc(var(--i, 0) * -.12s);
}
.csl-bar--head[b-8ep5m7n9pt] { height: 9px; background: linear-gradient(100deg, #d3e0ee 30%, #e4edf6 48%, #d3e0ee 66%); background-size: 240% 100%; }
.csl-w0[b-8ep5m7n9pt] { width: 85%; }
.csl-w1[b-8ep5m7n9pt] { width: 62%; }
.csl-w2[b-8ep5m7n9pt] { width: 40%; }
@keyframes csl-sweep-b-8ep5m7n9pt { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }

@media (max-width: 720px) {
    .csl-row[b-8ep5m7n9pt] { grid-template-columns: 32px 1fr 1fr; }
    .csl-row > :nth-child(n + 4)[b-8ep5m7n9pt] { display: none; }
}

/* No movement: the bar still fills with the real progress, the skeleton stays still */
@media (prefers-reduced-motion: reduce) {
    .csl-bar[b-8ep5m7n9pt] { animation: none; }
    .csl-fill[b-8ep5m7n9pt] { transition: none; }
    .csl-fill--wait[b-8ep5m7n9pt] { animation: none; margin-left: 0; width: 100%; opacity: .5; }
}
/* /Components/Pages/Systems/ColumnSettingPage.razor.rz.scp.css */
/* Column Settings admin page. A quiet ledger: steel-blue like the rest of the app, hairline rows, one filled accent (the interactive blue).
   Ink #1f2d3d, muted #64748b, hairline #dfe6ee, header wash #eaf1f8 with #3a6186 text, accent #0a6ed1 on tint #e8f1fc.
   The tokens below live on .cs-page (toolbar + table); the modals are outside it and use the same values written out. */
.cs-page[b-6n1ti0jxtd] {
    --cs-ink: #1f2d3d;
    --cs-muted: #64748b;
    --cs-line: #dfe6ee;
    --cs-wash: #f5f8fb;
    --cs-head: #eaf1f8;
    --cs-head-ink: #3a6186;
    --cs-accent: #0a6ed1;
    --cs-accent-strong: #0854a0;
    --cs-tint: #e8f1fc;
    --cs-ring: rgba(10, 110, 209, .35);
}

/* ---- Toolbar: one rail holding every action ---- */
.cs-summary[b-6n1ti0jxtd] { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 10px; }
.cs-actions[b-6n1ti0jxtd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid var(--cs-line);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(31, 45, 61, .05);
}
/* The batch bar sits right before the divider of the right-hand group, and takes over its push to the right edge. */
.cs-batchbar[b-6n1ti0jxtd] { margin-left: auto; }
.cs-batchbar + .cs-toolbar-right[b-6n1ti0jxtd] { margin-left: 0; }
.cs-toolbar-right[b-6n1ti0jxtd] { display: flex; align-items: center; gap: 6px; margin-left: auto; padding-left: 10px; border-left: 1px solid var(--cs-line); }

/* The same quiet icon button everywhere in the rail; the show/hide fields switch is the one filled in the accent tint. */
.cs-toolbar-icon-btn.btn[b-6n1ti0jxtd],
.cs-filterload > .btn[b-6n1ti0jxtd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--cs-head-ink);
    font-size: .875rem;
    transition: background .15s, border-color .15s, color .15s;
}
.cs-toolbar-icon-btn.btn:hover:not(:disabled)[b-6n1ti0jxtd],
.cs-toolbar-icon-btn.btn:focus-visible[b-6n1ti0jxtd],
.cs-filterload > .btn:hover:not(:disabled)[b-6n1ti0jxtd],
.cs-filterload > .btn:focus-visible[b-6n1ti0jxtd] {
    border-color: #c5d6e8;
    background: var(--cs-head);
    color: var(--cs-accent-strong);
}
.cs-toolbar-icon-btn.btn:focus-visible[b-6n1ti0jxtd],
.cs-filterload > .btn:focus-visible[b-6n1ti0jxtd] { outline: 2px solid var(--cs-ring); outline-offset: 1px; }
.cs-toolbar-icon-btn.btn:disabled[b-6n1ti0jxtd],
.cs-filterload > .btn:disabled[b-6n1ti0jxtd] { opacity: .5; }
.cs-hide-fields-btn.btn[b-6n1ti0jxtd] {
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid #b9d3f0;
    border-radius: 9px;
    background: var(--cs-tint);
    color: var(--cs-accent);
}
.cs-hide-fields-btn.btn:hover:not(:disabled)[b-6n1ti0jxtd],
.cs-hide-fields-btn.btn:focus-visible[b-6n1ti0jxtd] { border-color: var(--cs-accent); background: #d6e7fa; color: var(--cs-accent-strong); }
.cs-filterload[b-6n1ti0jxtd] { display: flex; align-items: center; gap: 4px; }
.cs-refresh-spinner[b-6n1ti0jxtd] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: cs-refresh-spin-b-6n1ti0jxtd .7s linear infinite;
}
@keyframes cs-refresh-spin-b-6n1ti0jxtd { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cs-refresh-spinner[b-6n1ti0jxtd] { animation-duration: 2s; } }

/* Batch change: appears in the rail while fields are ticked */
.cs-batchbar[b-6n1ti0jxtd] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 3px 6px 3px 12px;
    border: 1px solid #b9d3f0;
    border-radius: 10px;
    background: var(--cs-tint);
    color: var(--cs-accent-strong);
    font-size: .875rem;
    font-weight: 600;
}
.cs-batchbar .form-select[b-6n1ti0jxtd],
.cs-batchbar .form-control[b-6n1ti0jxtd] { width: 180px; }

.cs-note[b-6n1ti0jxtd] { font-size: 12px; color: var(--cs-muted, #64748b); padding-bottom: 10px; }
.cs-chip[b-6n1ti0jxtd] {
    padding: 2px 10px;
    border: 1px solid #d3dce6;
    border-radius: 999px;
    background: var(--cs-wash, #f5f8fb);
    font-size: 12px;
    color: #475569;
    white-space: nowrap;
}
.cs-chip--stale[b-6n1ti0jxtd] { border-color: #e0b15a; background: #fff8e6; color: #8a5a00; }

/* ---- Table: hairline rows, steel header, no grid ---- */
.cs-host[b-6n1ti0jxtd] { transition: opacity 0.18s ease; }
.cs-fading[b-6n1ti0jxtd] { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .cs-host[b-6n1ti0jxtd] { transition: none; } }

.cs-host[b-6n1ti0jxtd]  table.tableCustom {
    border: 1px solid var(--cs-line, #dfe6ee);
    border-radius: 12px;
    background: #fff;
}
.cs-host[b-6n1ti0jxtd]  table.tableCustom thead th {
    height: auto;
    padding: 9px 12px;
    border: 0;
    border-bottom: 1px solid #cddbe9;
    background: var(--cs-head, #eaf1f8);
    color: var(--cs-head-ink, #3a6186);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .01em;
    vertical-align: middle;
}
.cs-host[b-6n1ti0jxtd]  table.tableCustom thead th:first-child { border-top-left-radius: 11px; }
.cs-host[b-6n1ti0jxtd]  table.tableCustom thead th:last-child { border-top-right-radius: 11px; }
.cs-host[b-6n1ti0jxtd]  table.tableCustom thead th:hover { background: #e1ecf6 !important; color: var(--cs-head-ink, #3a6186); cursor: default; }
.cs-host[b-6n1ti0jxtd]  table.tableCustom tbody tr,
.cs-host[b-6n1ti0jxtd]  table.tableCustom tbody tr:nth-child(even),
.cs-host[b-6n1ti0jxtd]  table.tableCustom tbody tr:nth-child(odd) { background: #fff; }
.cs-host[b-6n1ti0jxtd]  table.tableCustom tbody td {
    height: auto;
    padding: 8px 12px;
    border: 0;
    border-bottom: 1px solid #edf1f6;
    color: var(--cs-ink, #1f2d3d);
    font-size: .8125rem;
    text-align: left;
    vertical-align: middle;
    /* A long value stays on one line and ends in "..."; the cell's title shows all of it. */
    max-width: 28rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cs-host[b-6n1ti0jxtd]  table.tableCustom tbody tr:last-child td { border-bottom: 0; }
.cs-host[b-6n1ti0jxtd]  table.tableCustom tbody tr.hoverTrTable:hover { background: #f3f8fd !important; cursor: default; }
.cs-host[b-6n1ti0jxtd]  table.tableCustom tbody td.text-center { text-align: center; }
.cs-host[b-6n1ti0jxtd]  table.tableCustom tbody td.text-end { text-align: right; }
/* A merged cell can be as tall as all the rows it spans: its content starts at the top and stays in view (below the sticky header) while the rows scroll. */
.cs-host[b-6n1ti0jxtd]  table.tableCustom tbody td.cs-merged { vertical-align: top; }
.cs-merged[b-6n1ti0jxtd] { vertical-align: top; }
.cs-sticky[b-6n1ti0jxtd] { position: sticky; top: var(--cs-head-h, 40px); padding: 4px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* One line per field: no cell spans several rows, so nothing has to stay in view while the rows scroll. Every cell is centred in its row;
   with the sticky offset (the height of the header) a lone cell was pushed to the bottom of its row, and the file / name cells sat at the top. */
.cs-host--flat .cs-sticky[b-6n1ti0jxtd] { position: static; padding: 0; }
.cs-host--flat[b-6n1ti0jxtd]  table.tableCustom tbody td.cs-merged { vertical-align: middle; }
.cs-host--flat .cs-line[b-6n1ti0jxtd],
.cs-host--flat .cs-line.cs-file[b-6n1ti0jxtd] { height: auto; min-height: 0; align-items: center; }
.cs-cell[b-6n1ti0jxtd] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Status: a dot and a word, tinted by how the setting compares with the page config */
.cs-badge[b-6n1ti0jxtd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.cs-badge[b-6n1ti0jxtd]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cs-status--insync[b-6n1ti0jxtd] { background: #e6f4ea; color: #1e6b3a; }
.cs-status--differs[b-6n1ti0jxtd] { background: #fdf3dc; color: #8a5a00; }
.cs-status--missingindb[b-6n1ti0jxtd] { background: #fde8e8; color: #a12626; }
.cs-status--onlyindb[b-6n1ti0jxtd] { background: #e9ecfb; color: #3b46a5; }

/* A field column with no value: said so, in a muted style */
.cs-off[b-6n1ti0jxtd] { color: #98a6b5; font-style: italic; }

.cs-colfilter[b-6n1ti0jxtd] { margin-top: 4px; font-weight: normal; min-width: 0; }
.cs-line[b-6n1ti0jxtd] { display: flex; align-items: center; gap: 6px; height: 40px; }
.cs-line.cs-file[b-6n1ti0jxtd] { min-height: 40px; height: auto; align-items: flex-start; }
.cs-line.cs-file > .cs-cell[b-6n1ti0jxtd] { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cs-line.cs-file > .cs-btn[b-6n1ti0jxtd] { flex: 0 0 28px; }
.cs-btn[b-6n1ti0jxtd] { width: 28px; height: 28px; padding: 0; font-size: 14px; border-radius: 8px; }

/* Type / Format cell: the label and its details button on one line */
.cs-typeformat[b-6n1ti0jxtd] { display: flex; align-items: center; gap: 6px; }
.cs-typeformat > span[b-6n1ti0jxtd] { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Hide-this-column button in a header: nearly invisible until the header is pointed at */
.cs-hidecol[b-6n1ti0jxtd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin: -3px 0 -3px 4px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #7b93ad;
    line-height: 1;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}
th:hover .cs-hidecol[b-6n1ti0jxtd],
.cs-hidecol:focus-visible[b-6n1ti0jxtd] { border-color: #c5d6e8; background: #fff; color: #3a6186; }
.cs-hidecol:hover[b-6n1ti0jxtd] { border-color: #0a6ed1; color: #0a6ed1; }
.cs-hidecol:focus-visible[b-6n1ti0jxtd] { outline: 2px solid rgba(10, 110, 209, .35); outline-offset: 1px; }

.cs-hiddenwrap[b-6n1ti0jxtd] { position: relative; }
.cs-hiddenmenu[b-6n1ti0jxtd] {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 20;
    min-width: 180px;
    margin-top: 6px;
    padding: 6px;
    max-height: 60vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d5dee8;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(31, 45, 61, .16), 0 2px 6px rgba(31, 45, 61, .08);
}
.cs-hiddenitem[b-6n1ti0jxtd] {
    display: block;
    width: 100%;
    padding: 6px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #1f2d3d;
    text-align: left;
    white-space: nowrap;
}
.cs-hiddenitem:hover[b-6n1ti0jxtd] { background: #eaf1f8; }

/* The select column is in the table; the toolbar button toggles cs-wrap--select on the wrapper (a class, not a render of the page). */
.cs-selcell[b-6n1ti0jxtd] { display: none; }
.cs-wrap--select .cs-selcell[b-6n1ti0jxtd] { display: table-cell; }

/* The select column keeps its own width: the table's width lock measures it while hidden (0px), so the stylesheet overrides that. */
.cs-wrap--select .cs-selcell[b-6n1ti0jxtd] {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    padding: 0 !important;
    text-align: center;
    vertical-align: middle;
    overflow: visible;
}
/* The whole cell is the click target, not just the box. */
.cs-selhit[b-6n1ti0jxtd] { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 36px; margin: 0; cursor: pointer; }
.cs-check[b-6n1ti0jxtd] {
    appearance: none;
    -webkit-appearance: none;
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1.5px solid #8aa0b8;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: background .12s, border-color .12s;
}
.cs-selhit:hover .cs-check[b-6n1ti0jxtd] { border-color: #0a6ed1; }
/* A locked box passes the click to its cell, which says why it cannot be ticked. */
.cs-check:disabled[b-6n1ti0jxtd] { pointer-events: none; opacity: .4; }
.cs-check:checked[b-6n1ti0jxtd] { background: #0a6ed1; border-color: #0a6ed1; }
.cs-check:checked[b-6n1ti0jxtd]::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.cs-check:focus-visible[b-6n1ti0jxtd] { outline: 2px solid rgba(10, 110, 209, .35); outline-offset: 2px; }

/* ---- Modals (outside .cs-page, so the values are written out) ---- */
.cs-field[b-6n1ti0jxtd] { margin-bottom: 12px; }
.cs-label[b-6n1ti0jxtd] { display: block; font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 4px; }
.cs-readonly[b-6n1ti0jxtd] { font-size: 13px; color: #1f2d3d; word-break: break-all; }
.cs-text[b-6n1ti0jxtd] { width: 100%; padding: 8px 10px; border: 1px solid #d5dee8; border-radius: 8px; font-family: Consolas, monospace; font-size: 12px; resize: vertical; outline: none; }
.cs-text:focus[b-6n1ti0jxtd] { border-color: #0a6ed1; box-shadow: 0 0 0 3px rgba(10, 110, 209, .15); }
.cs-text--readonly[b-6n1ti0jxtd] { background: #f5f8fb; color: #1f2d3d; }
.cs-error[b-6n1ti0jxtd] { color: #b91c1c; font-size: 13px; padding: 8px 12px; margin-bottom: 8px; border: 1px solid #f5c2c2; border-radius: 10px; background: #fdf0f0; }
.cs-hub-item[b-6n1ti0jxtd] { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #e4eaf1; }
.cs-hub-text[b-6n1ti0jxtd] { flex: 1; min-width: 0; }
.cs-hub-title[b-6n1ti0jxtd] { font-size: 14px; font-weight: 600; color: #1f2d3d; word-break: break-all; }
.cs-hub-sub[b-6n1ti0jxtd] { font-size: 12px; color: #64748b; word-break: break-all; }
.cs-swatch[b-6n1ti0jxtd] { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border: 1px solid #94a3b8; border-radius: 3px; vertical-align: -1px; }

/* Read-only details of a field */
.cs-preview[b-6n1ti0jxtd] { width: 100%; border-collapse: collapse; }
.cs-preview td[b-6n1ti0jxtd] { padding: 5px 8px; border-bottom: 1px solid #e4eaf1; vertical-align: top; word-break: break-word; }
.cs-preview-name[b-6n1ti0jxtd] { width: 36%; color: #64748b; }
/* /Components/Pages/Systems/ColumnSettingPager.razor.rz.scp.css */
/* The pager of the Column Settings page: the same white rail as its toolbar, the accent blue on the current page only. */
.csp[b-icf87h0fbs] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
    margin-top: 12px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #dfe6ee;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(31, 45, 61, .05);
    color: #64748b;
    font-size: .8125rem;
}
.csp-total[b-icf87h0fbs] { display: flex; align-items: baseline; gap: 6px; }
.csp-total-num[b-icf87h0fbs] { color: #1f2d3d; font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.csp-controls[b-icf87h0fbs] { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }

.csp-size[b-icf87h0fbs],
.csp-goto[b-icf87h0fbs] { display: inline-flex; align-items: center; gap: 8px; margin: 0; }

.csp-select[b-icf87h0fbs],
.csp-input[b-icf87h0fbs] {
    height: 30px;
    border: 1px solid #d5dee8;
    border-radius: 8px;
    background: #f9fbfd;
    color: #1f2d3d;
    font-size: .8125rem;
    font-variant-numeric: tabular-nums;
    outline: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.csp-select[b-icf87h0fbs] { padding: 0 24px 0 10px; }
.csp-input[b-icf87h0fbs] { width: 64px; padding: 0 8px; text-align: center; }
.csp-select:focus[b-icf87h0fbs],
.csp-input:focus[b-icf87h0fbs] { border-color: #0a6ed1; background: #fff; box-shadow: 0 0 0 3px rgba(10, 110, 209, .15); }

.csp-pages[b-icf87h0fbs] { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.csp-btn[b-icf87h0fbs] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #3a6186;
    font-size: .8125rem;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}
.csp-btn:hover:not(:disabled):not(.csp-btn--on)[b-icf87h0fbs] { border-color: #c5d6e8; background: #eaf1f8; color: #0854a0; }
.csp-btn:focus-visible[b-icf87h0fbs] { outline: 2px solid rgba(10, 110, 209, .35); outline-offset: 1px; }
.csp-btn:disabled[b-icf87h0fbs] { color: #b4c0cd; cursor: default; }
.csp-btn--on[b-icf87h0fbs] { border-color: #0a6ed1; background: #0a6ed1; color: #fff; font-weight: 600; cursor: default; }
.csp-gap[b-icf87h0fbs] { min-width: 22px; text-align: center; color: #94a3b8; user-select: none; }

@media (max-width: 640px) {
    .csp[b-icf87h0fbs] { justify-content: center; }
}
/* /Components/Pages/Systems/DocumentPage.razor.rz.scp.css */
.rd-cell[b-as2215egoc] { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; max-width: 420px; }
.rd-icon-btn[b-as2215egoc] { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; font-size: 16px; }
.rd-field[b-as2215egoc] { margin-bottom: 12px; }
.rd-label[b-as2215egoc] { display: block; font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 4px; }
.rd-title[b-as2215egoc] { font-weight: 600; word-break: break-word; margin-bottom: 6px; }
.rd-text[b-as2215egoc] { width: 100%; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 14px; resize: vertical; outline: none; }
.rd-text:focus[b-as2215egoc] { border-color: #6366f1; }
.rd-error[b-as2215egoc] { color: #b91c1c; font-size: 13px; padding: 4px 0; }
.rd-note[b-as2215egoc] { color: #64748b; font-size: 12px; }

/* Status / approval badges (buttons when the user may change them) */
.rd-badge[b-as2215egoc] { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 0; border-radius: 999px; font-size: 12px; font-weight: 600; background: #e2e8f0; color: #334155; }
.rd-badge--btn[b-as2215egoc] { cursor: pointer; }
.rd-badge--btn:hover[b-as2215egoc] { filter: brightness(0.95); box-shadow: 0 0 0 2px #cbd5e1; }
.rd-badge--btn i[b-as2215egoc] { font-size: 10px; opacity: .6; }
.rd-badge--completed[b-as2215egoc], .rd-badge--approved[b-as2215egoc] { background: #dcfce7; color: #166534; }
.rd-badge--pending[b-as2215egoc] { background: #fef3c7; color: #92400e; }
.rd-badge--failed[b-as2215egoc], .rd-badge--rejected[b-as2215egoc] { background: #fee2e2; color: #991b1b; }
.rd-badge--reconvert[b-as2215egoc] { background: #dbeafe; color: #1e40af; }
.rd-badge--disabled[b-as2215egoc] { background: #e5e7eb; color: #4b5563; }

/* Detail modal */
.rd-detail[b-as2215egoc] { display: grid; grid-template-columns: 120px 1fr; gap: 8px 12px; margin-bottom: 16px; align-items: center; }
.rd-detail .rd-label[b-as2215egoc] { margin: 0; }
.rd-box[b-as2215egoc] { padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc; white-space: pre-wrap; word-break: break-word; max-height: 160px; overflow: auto; font-size: 14px; }
.rd-box--error[b-as2215egoc] { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* Approval / status choice cards */
.rd-options[b-as2215egoc] { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.rd-option[b-as2215egoc] { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; border: 2px solid #e2e8f0; border-radius: 10px; background: #fff; font-weight: 600; text-align: left; cursor: pointer; }
.rd-option small[b-as2215egoc] { font-weight: 400; color: #64748b; }
.rd-option:hover[b-as2215egoc] { border-color: #94a3b8; }
.rd-option.active[b-as2215egoc] { border-color: #6366f1; background: #eef2ff; }

/* Upload modal */
.rd-drop[b-as2215egoc] { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 24px 12px; border: 2px dashed #cbd5e1; border-radius: 12px; background: #f8fafc; text-align: center; transition: border-color .15s, background .15s; }
.rd-drop:hover[b-as2215egoc] { border-color: #6366f1; background: #eef2ff; }
.rd-drop--disabled[b-as2215egoc] { opacity: .6; pointer-events: none; }
.rd-drop-icon[b-as2215egoc] { font-size: 34px; color: #6366f1; line-height: 1; }
.rd-drop-title[b-as2215egoc] { font-weight: 600; }
.rd-drop[b-as2215egoc]  .rd-drop-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.rd-files[b-as2215egoc] { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 6px; max-height: 220px; overflow: auto; }
.rd-file[b-as2215egoc] { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.rd-file-name[b-as2215egoc] { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-file-remove[b-as2215egoc] { border: 0; background: none; color: #94a3b8; cursor: pointer; padding: 2px 4px; }
.rd-file-remove:hover[b-as2215egoc] { color: #b91c1c; }
.rd-progress[b-as2215egoc] { height: 4px; margin-top: 12px; border-radius: 2px; background: #e2e8f0; overflow: hidden; }
.rd-progress-bar[b-as2215egoc] { width: 40%; height: 100%; background: #6366f1; animation: rd-slide-b-as2215egoc 1.1s ease-in-out infinite; }
@keyframes rd-slide-b-as2215egoc { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }

/* Mobile (AI Knowledge) */
.aik-bar[b-as2215egoc] { display: flex; align-items: center; gap: 12px; min-height: 3.5rem; color: #fff; }
.aik-bar-title[b-as2215egoc] { flex: 1; font-size: 1.25rem; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aik-icon-btn[b-as2215egoc] { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; background: none; color: #fff; font-size: 18px; }
.aik-icon-btn:disabled[b-as2215egoc] { opacity: .5; }
.aik-chips[b-as2215egoc] { display: flex; gap: 8px; padding-bottom: 1rem; overflow-x: auto; scrollbar-width: none; }
.aik-chips[b-as2215egoc]::-webkit-scrollbar { display: none; }
.aik-chip[b-as2215egoc] { flex: 0 0 auto; padding: 6px 16px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .15); color: #e2e8f0; font-size: 14px; font-weight: 600; white-space: nowrap; }
.aik-chip.active[b-as2215egoc] { background: #fff; color: #1e3a52; }

.aik-body[b-as2215egoc] { padding: 4px 0 96px; }
.aik-count[b-as2215egoc] { margin: 0 0 12px; color: #64748b; font-size: 13px; }
.aik-card[b-as2215egoc] { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; padding: 14px; border-radius: 14px; background: #fff; box-shadow: 0 1px 4px rgba(15, 23, 42, .12); }
.aik-card-main[b-as2215egoc] { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.aik-card-name[b-as2215egoc] { font-weight: 700; color: #1e293b; word-break: break-all; }
.aik-card-sub[b-as2215egoc] { color: #64748b; font-size: 13px; }
.aik-pills[b-as2215egoc] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.aik-kebab[b-as2215egoc] { flex: 0 0 auto; border: 0; background: none; padding: 4px 6px; color: #475569; font-size: 18px; }
.aik-kebab--danger[b-as2215egoc] { color: #b91c1c; }
.aik-type[b-as2215egoc] { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: #64748b; color: #fff; font-size: 12px; font-weight: 700; }
.aik-type--xls[b-as2215egoc] { background: #1f8a4c; }
.aik-type--md[b-as2215egoc] { background: #5b6b7e; }
.aik-type--video[b-as2215egoc] { background: #7b3fa0; }
.aik-type--pdf[b-as2215egoc] { background: #c0392b; }
.aik-type--doc[b-as2215egoc] { background: #2563eb; }
.aik-type--ppt[b-as2215egoc] { background: #d97706; }
.aik-fab[b-as2215egoc] { position: fixed; right: 16px; bottom: 24px; z-index: 20; display: flex; align-items: center; gap: 8px; padding: 14px 22px; border: 0; border-radius: 999px; background: #1e88f5; color: #fff; font-weight: 700; box-shadow: 0 4px 12px rgba(30, 136, 245, .45); }

/* Bottom sheets (row actions, filter) */
.aik-backdrop[b-as2215egoc] { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; background: rgba(15, 23, 42, .5); }
.aik-sheet[b-as2215egoc] { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1041; max-height: 90vh; overflow: auto; padding: 8px 16px 20px; border-radius: 20px 20px 0 0; background: #fff; }
.aik-sheet-grip[b-as2215egoc] { width: 40px; height: 4px; margin: 0 auto 12px; border-radius: 2px; background: #cbd5e1; }
.aik-sheet-heading[b-as2215egoc] { margin-bottom: 8px; font-size: 18px; font-weight: 700; color: #1e293b; }
.aik-sheet-title[b-as2215egoc] { margin-bottom: 8px; font-weight: 700; color: #1e293b; word-break: break-all; }
.aik-menu-item[b-as2215egoc] { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 4px; border: 0; border-top: 1px solid #f1f5f9; background: none; color: #1e293b; font-size: 15px; text-align: left; text-decoration: none; }
.aik-menu-item--danger[b-as2215egoc] { color: #b91c1c; }
.aik-menu-item:disabled[b-as2215egoc] { color: #94a3b8; cursor: not-allowed; }
.aik-field[b-as2215egoc] { position: relative; margin-bottom: 12px; }
.aik-field > i[b-as2215egoc] { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #64748b; pointer-events: none; }
.aik-input[b-as2215egoc] { width: 100%; padding: 11px 38px 11px 14px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; font-size: 15px; outline: none; appearance: none; }
.aik-input:focus[b-as2215egoc] { border-color: #1e88f5; }
.aik-actions[b-as2215egoc] { display: flex; gap: 12px; margin-top: 16px; }
.aik-btn[b-as2215egoc] { flex: 1; padding: 13px; border: 0; border-radius: 12px; font-weight: 700; }
.aik-btn:disabled[b-as2215egoc] { opacity: .5; }
.aik-btn--ghost[b-as2215egoc] { background: #e8edf3; color: #1e293b; }
.aik-btn--primary[b-as2215egoc] { background: #1e88f5; color: #fff; }

/* Upload screen */
.aik-screen[b-as2215egoc] { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1050; display: flex; flex-direction: column; background: #eef2f7; }
.aik-screen > .aik-bar[b-as2215egoc] { padding: 0 16px; background: #2f4b63; }
.aik-screen-body[b-as2215egoc] { flex: 1; overflow: auto; padding: 16px; }
.aik-screen-footer[b-as2215egoc] { display: flex; gap: 12px; padding: 12px 16px; background: #fff; box-shadow: 0 -1px 4px rgba(15, 23, 42, .1); }
.aik-drop[b-as2215egoc] { position: relative; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 16px; padding: 24px 12px; border: 2px dashed #94a3b8; border-radius: 16px; background: #fff; text-align: center; }
.aik-drop--disabled[b-as2215egoc] { opacity: .6; pointer-events: none; }
.aik-drop-icon[b-as2215egoc] { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #dbeafe; color: #1e88f5; font-size: 22px; }
.aik-drop-title[b-as2215egoc] { font-weight: 700; color: #1e293b; }
.aik-browse[b-as2215egoc] { margin-top: 6px; padding: 10px 22px; border-radius: 10px; background: #2f4b63; color: #fff; font-weight: 700; }
.aik-drop-input[b-as2215egoc] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }

.aik-summary[b-as2215egoc] { text-align: left; }
.aik-summary-box[b-as2215egoc] { max-height: 65vh; text-align: left; }
.aik-preview[b-as2215egoc]  canvas { display: block; width: 100%; margin-bottom: 8px; border: 1px solid #e2e8f0; }
.aik-preview[b-as2215egoc] { max-height: 70vh; overflow: auto; }
.aik-md[b-as2215egoc] { white-space: normal; }
.aik-md[b-as2215egoc]  table { border-collapse: collapse; margin: 8px 0; }
.aik-md[b-as2215egoc]  th, .aik-md[b-as2215egoc]  td { border: 1px solid #cbd5e1; padding: 4px 8px; }
.aik-preview-media[b-as2215egoc] { display: block; max-width: 100%; max-height: 70vh; margin: 0 auto; }
.rd-coll-btn[b-as2215egoc] { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.rd-coll-btn i[b-as2215egoc] { font-size: 10px; color: #94a3b8; }
.rd-coll-btn:hover i[b-as2215egoc] { color: #2563eb; }
.aik-preview[b-as2215egoc]  .aik-sheet-table { overflow: auto; margin-bottom: 12px; }
.aik-preview[b-as2215egoc]  .aik-sheet-table td, .aik-preview[b-as2215egoc]  .aik-sheet-table th { border: 1px solid #cbd5e1; padding: 2px 6px; font-size: 13px; white-space: nowrap; }
.aik-preview[b-as2215egoc]  .aik-sheet-table table { border-collapse: collapse; }
.aik-preview[b-as2215egoc]  .aik-pdf-frame { display: block; width: 100%; height: 70vh; border: 0; }
/* /Components/Pages/Systems/ListData.razor.rz.scp.css */
/* Search Container - PC View (Default) - No changes */
/* Base container */
.search-container-responsive[b-flq9nsdrn9] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}

/* Search item wrapper for mobile responsiveness */
.search-item-wrapper[b-flq9nsdrn9] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-sizing: border-box;
    min-width: 0;
}

.search-item-flex-row[b-flq9nsdrn9] {
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.search-item-col[b-flq9nsdrn9] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-sizing: border-box;
    min-width: 0;
}

.search-item-col-half[b-flq9nsdrn9] {
    flex: 1;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.search-item-label[b-flq9nsdrn9] {
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    color: #ddd;
    line-height: 1.3;
}

/* PC View (Default) - Show all items in pairs horizontally */
.search-item-pair-mobile[b-flq9nsdrn9] {
    width: 25rem;
    flex-shrink: 0;
}

/* Default wrapper widths for PC view */
.search-container-responsive > .search-item-wrapper[b-flq9nsdrn9] {
    width: auto;
    flex-shrink: 0;
}

/* Override to ensure items take their natural width on PC */
.search-item-wrapper[style*="width:12.5rem"][b-flq9nsdrn9] {
    width: 12.5rem;
    flex-shrink: 0;
}

.search-item-wrapper[style*="width:25rem"][b-flq9nsdrn9] {
    width: 25rem;
    flex-shrink: 0;
}

.search-action-buttons-responsive[b-flq9nsdrn9] {
    gap: 0.5rem;
    flex-basis: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.search-action-buttons-responsive button[b-flq9nsdrn9] {
    white-space: nowrap;
}

/* ============================================================
   MOBILE VIEW (< 768px) - 1 object per line, full width
   ============================================================ */
@media (max-width: 767px) {
    .search-container-responsive[b-flq9nsdrn9] {
        gap: 0.35rem;
        padding: 0;
        width: 100%;
    }

    /* Hide items beyond the 4th on mobile */
    .search-item-wrapper:nth-child(n+5)[b-flq9nsdrn9] {
        display: none;
    }

    /* Force full width for all search items - Override ALL inline widths */
    .search-container-responsive > .search-item-wrapper[b-flq9nsdrn9],
    .search-item-wrapper[style*="width:12.5rem"][b-flq9nsdrn9],
    .search-item-wrapper[style*="width:25rem"][b-flq9nsdrn9] {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex-basis: 100% !important;
        flex-grow: 1 !important;
        flex-shrink: 1 !important;
        display: flex !important;
        flex-direction: column;
        box-sizing: border-box;
    }

    /* Show pair items as full width on mobile */
    .search-item-pair-mobile[b-flq9nsdrn9] {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex-basis: 100% !important;
        flex-grow: 1 !important;
        flex-shrink: 1 !important;
    }

    .search-item-flex-row[b-flq9nsdrn9] {
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
    }

    .search-item-col-half[b-flq9nsdrn9] {
        width: 100%;
        flex: 1;
    }

    .search-item-label[b-flq9nsdrn9] {
        font-size: 0.8rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        color: #ddd;
    }

    .search-action-buttons-responsive[b-flq9nsdrn9] {
        gap: 0.35rem;
        flex-basis: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
        margin-top: 0.5rem;
    }

    .search-action-buttons-responsive button[b-flq9nsdrn9] {
        flex: 0 1 auto;
        font-size: 0.8rem;
        padding: 0.35rem 0.5rem !important;
    }

    .search-action-buttons-responsive button[style*="max-width"][b-flq9nsdrn9] {
        max-width: 100%;
        flex: 1 1 calc(50% - 0.175rem);
    }

    .search-action-buttons-responsive button[style*="min-width"][b-flq9nsdrn9] {
        min-width: 1.8rem;
        flex: 0 0 auto;
    }
}

/* ============================================================
   TABLET VIEW (768px - 1023px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
    .search-container-responsive[b-flq9nsdrn9] {
        gap: 0.75rem;
    }

    .search-item-pair-mobile[b-flq9nsdrn9] {
        width: 22rem;
        flex-shrink: 0;
    }

    .search-item-flex-row[b-flq9nsdrn9] {
        gap: 0.5rem;
    }

    .search-item-label[b-flq9nsdrn9] {
        font-size: 0.875rem;
        line-height: 1.3;
    }

    .search-action-buttons-responsive[b-flq9nsdrn9] {
        gap: 0.5rem;
    }
}

/* ============================================================
   DESKTOP VIEW (>= 1024px) - PC View (NO CHANGES)
   ============================================================ */
@media (min-width: 1024px) {
    .search-container-responsive[b-flq9nsdrn9] {
        gap: 0.75rem;
    }

    .search-item-pair-mobile[b-flq9nsdrn9] {
        width: 25rem;
        flex-shrink: 0;
    }

    .search-item-flex-row[b-flq9nsdrn9] {
        gap: 0.5rem;
    }

    .search-item-label[b-flq9nsdrn9] {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .search-action-buttons-responsive[b-flq9nsdrn9] {
        gap: 0.75rem;
    }
}

/* ============================================================
   INPUT FIELDS RESPONSIVE
   ============================================================ */
.inputCustumHD[b-flq9nsdrn9],
.custumSearch[b-flq9nsdrn9] {
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    padding: 0.5rem;
}

/* Style FlatPickr input to inherit proper font styling */
.flatpickr-input[b-flq9nsdrn9] {
    font-size: 1rem !important;
    color: #cae4fb !important;
}

@media (max-width: 767px) {
    .inputCustumHD[b-flq9nsdrn9],
    .custumSearch[b-flq9nsdrn9] {
        font-size: 0.95rem;
        padding: 0.4rem;
    }

    .flatpickr-input[b-flq9nsdrn9] {
        font-size: 0.95rem !important;
    }
}
/* /Components/Pages/Systems/ListUser.razor.rz.scp.css */
/* wider than Bootstrap's modal-xl (1140px) so the middle and right columns get more room */
.modal-dialog.role-mgmt-dialog[b-vq03mgk9vg] {
    --bs-modal-width: min(1600px, 96vw);
}

/* role row controls (people / app count / delete): same fixed box, same line in every row */
.role-item > button[b-vq03mgk9vg],
.role-item > .badge[b-vq03mgk9vg] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.role-item > .badge[b-vq03mgk9vg] {
    min-width: 28px;
}

.role-item > .role-users-btn[b-vq03mgk9vg] {
    width: 30px;
    margin-right: 8px;
}

.role-item > .btn-link[b-vq03mgk9vg] {
    width: 24px;
}

.role-mgmt-grid[b-vq03mgk9vg] {
    display: grid;
    grid-template-columns: 1.3fr 1.1fr 1.1fr;
    gap: 12px;
    height: 70vh;
}

.role-mgmt-col[b-vq03mgk9vg] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
}

.role-mgmt-col-header[b-vq03mgk9vg] {
    display: flex;
    align-items: center;
    min-height: 50px; /* same height in all 3 columns so the rows below line up */
    padding: 8px 12px;
    font-weight: 600;
    background: #f7f7f7;
    border-bottom: 1px solid #dee2e6;
}

.role-mgmt-create[b-vq03mgk9vg] {
    display: flex;
    align-items: center;
    min-height: 50px; /* toolbar row, equal in all 3 columns */
    gap: 6px;
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.role-mgmt-scroll[b-vq03mgk9vg] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 6px;
}

.role-mgmt-empty[b-vq03mgk9vg] {
    padding: 16px;
    text-align: center;
    color: #999;
    font-size: 0.9em;
}

.role-item[b-vq03mgk9vg],
.perm-item[b-vq03mgk9vg] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    margin-bottom: 4px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #fff;
}

.role-item[b-vq03mgk9vg] {
    cursor: pointer;
}

.role-item:hover[b-vq03mgk9vg] {
    background: #f0f6fc;
}

.role-item.active[b-vq03mgk9vg] {
    background: #e3f0fd;
    border-color: #5b9bd5;
}

.role-item-name[b-vq03mgk9vg],
.perm-item-name[b-vq03mgk9vg] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.perm-kind-icon[b-vq03mgk9vg] {
    flex: 0 0 auto;
    color: #5b9bd5;
}

.perm-kind-app[b-vq03mgk9vg] {
    font-size: 0.4em;
    color: #000;
}

.perm-info-btn[b-vq03mgk9vg] {
    color: #5b9bd5;
    line-height: 1;
}

.role-users-btn[b-vq03mgk9vg] {
    position: relative;
    border: none;
    background: none;
    color: #5b6b7b;
    line-height: 1;
}

.role-users-btn:hover[b-vq03mgk9vg] {
    color: #0d6efd;
}

.role-users-count[b-vq03mgk9vg] {
    position: absolute;
    top: -8px;
    right: -6px;
    min-width: 15px;
    padding: 0 3px;
    border-radius: 8px;
    background: #0d6efd;
    color: #fff;
    font-size: 0.65em;
    font-weight: 600;
    line-height: 15px;
    text-align: center;
}

.role-popup-backdrop[b-vq03mgk9vg] {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
}

.role-popup[b-vq03mgk9vg] {
    width: min(420px, 90%);
    max-height: 70%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.role-popup-header[b-vq03mgk9vg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f7f7f7;
    border-bottom: 1px solid #dee2e6;
}

.role-popup-body[b-vq03mgk9vg] {
    overflow-y: auto;
    padding: 0 6px 6px; /* no top padding: the sticky search box must sit flush with the top edge */
}

.role-popup-search[b-vq03mgk9vg] {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 8px 2px;
    background: #fff;
}

.role-popup-row > i[b-vq03mgk9vg] {
    margin-right: 8px;
}

.role-popup-row-cat[b-vq03mgk9vg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.role-popup-row-name[b-vq03mgk9vg] {
    flex: 1;
    min-width: 0;
}

.role-popup-toggle[b-vq03mgk9vg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0.8em;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    line-height: 1;
    border: 1px solid #c9d3dd;
    border-radius: 4px;
    background: #fff;
    color: #0d6efd;
    font-weight: 700;
}

.role-popup-toggle:hover[b-vq03mgk9vg] {
    background: #e3f0fd;
}

/* collapsed: slide up + fade out (the row stays in the DOM so it can animate back) */
.role-popup-row-hidden[b-vq03mgk9vg] {
    max-height: 0 !important;
    opacity: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom-width: 0 !important;
}

.role-popup-row[b-vq03mgk9vg] {
    max-height: 80px;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease, border-width 0.25s ease;
    padding: 5px 8px;
    border-bottom: 1px solid #f0f0f0;
}

.role-item-name[b-vq03mgk9vg] {
    color: #0d6efd;
}

.perm-drag[b-vq03mgk9vg] {
    cursor: grab;
}

.role-drop-zone[b-vq03mgk9vg] {
    background: #fafcff;
}

/* Anchors the sap-col-resizer drag handle (absolutely positioned) to its header cell. */
.lu-th[b-vq03mgk9vg] { position: relative; }

/* Always-visible divider between header cells: 1px line inside the 5px drag handle, solid blue on hover/drag (global rule). */
.lu-th .sap-col-resizer[b-vq03mgk9vg] {
    background-image: linear-gradient(to left, #c4c9d0 0, #c4c9d0 1px, transparent 1px);
    top: 20%;
    height: 60%;
}
.lu-th .sap-col-resizer:hover[b-vq03mgk9vg],
.sap-col-resizing .sap-col-resizer[b-vq03mgk9vg] {
    background-image: none;
    top: 0;
    height: 100%;
}

/* Long text is cut with "..." instead of wrapping once a column is dragged narrower. */
.lu-th[b-vq03mgk9vg], .lu-td[b-vq03mgk9vg] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Header: the title and the funnel filter on one line, like QuantityControlMeasurement's .qcs-cell--head. */
.lu-head[b-vq03mgk9vg] { display: flex; align-items: center; gap: 2px; min-width: 0; }
.lu-head-title[b-vq03mgk9vg] { overflow: hidden; text-overflow: ellipsis; }

/* Table look of QuantityControlMeasurement: light grey header, small bold titles, only horizontal lines, no zebra. TableCustom's own
   table/tr markup carries its scope attribute, so it is reached through ::deep from the wrapper. */
.lu-wrap[b-vq03mgk9vg]  table.tableCustom { border: none; border-collapse: collapse; }
.lu-wrap[b-vq03mgk9vg]  .tableCustom th,
.lu-wrap[b-vq03mgk9vg]  .tableCustom td { border: none; border-bottom: 1px solid #d9dce0; height: 36px; padding-top: 4px; padding-bottom: 4px; }
.lu-wrap[b-vq03mgk9vg]  .tableCustom th { background-color: #f3f4f6; color: #5f6368; font-size: 12px; font-weight: 600; }
.lu-wrap[b-vq03mgk9vg]  .tableCustom td { color: #1f2a37; font-size: 0.85rem; }
.lu-wrap[b-vq03mgk9vg]  .tableCustom tr:nth-child(even),
.lu-wrap[b-vq03mgk9vg]  .tableCustom tr:nth-child(odd) { background-color: transparent; }
.lu-wrap[b-vq03mgk9vg]  .tableCustom thead th:hover { background-color: #f3f4f6 !important; color: #5f6368; cursor: default; }
.lu-wrap[b-vq03mgk9vg]  .tableCustom tbody tr:hover,
.lu-wrap[b-vq03mgk9vg]  .hoverTrTable:hover { background-color: #f3f4f6 !important; cursor: default; }
/* /Components/Pages/Systems/QuickNoteListPage.razor.rz.scp.css */
.qnl-cell[b-kh8rb8tcj6] { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; max-width: 420px; }
.qnl-field[b-kh8rb8tcj6] { margin-bottom: 12px; }
.qnl-label[b-kh8rb8tcj6] { display: block; font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 4px; }
.qnl-text[b-kh8rb8tcj6] { width: 100%; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 14px; resize: vertical; outline: none; }
.qnl-text:focus[b-kh8rb8tcj6] { border-color: #6366f1; }
.qnl-text--readonly[b-kh8rb8tcj6] { background: #f8fafc; color: #334155; }
.qnl-error[b-kh8rb8tcj6] { color: #b91c1c; font-size: 13px; padding: 4px 0; }
/* /Components/Pages/Systems/ServerUpdate/RemoteUpdate.razor.rz.scp.css */
/* Row styling based on change type */
.row-new[b-i40jorlz38] {
    border-left: 4px solid #36B37E !important;
    background-color: rgba(227, 252, 239, 0.3) !important;
}

.row-update[b-i40jorlz38] {
    border-left: 4px solid #FFAB00 !important;
    background-color: rgba(255, 240, 179, 0.3) !important;
}

.row-delete[b-i40jorlz38] {
    border-left: 4px solid #FF5630 !important;
    background-color: rgba(255, 235, 230, 0.3) !important;
}

/* Material icons alignment */
.material-symbols-outlined[b-i40jorlz38] {
    vertical-align: middle;
    font-family: 'Material Symbols Outlined' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
}

/* Custom scrollbar */
.table-responsive[b-i40jorlz38]::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-responsive[b-i40jorlz38]::-webkit-scrollbar-track {
    background: #F4F5F7;
}

.table-responsive[b-i40jorlz38]::-webkit-scrollbar-thumb {
    background: #DFE1E6;
    border-radius: 4px;
}

.table-responsive[b-i40jorlz38]::-webkit-scrollbar-thumb:hover {
    background: #c3c6d6;
}

/* Table hover effect */
.table-hover tbody tr:hover[b-i40jorlz38] {
    background-color: rgba(0, 0, 0, 0.025) !important;
    transition: background-color 0.2s ease;
}

/* Badge styling to match design */
.badge[b-i40jorlz38] {
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Code tag styling */
code[b-i40jorlz38] {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
}

/* Button improvements */
.btn-sm[b-i40jorlz38] {
    font-size: 13px;
    padding: 4px 12px;
}
/* /Components/Pages/Tasks/TicketManagerPage.razor.rz.scp.css */
.toggle-label[b-najqyjkdox] {
    position: relative;
    display: block;
    width: 70px;
    height: 32px;
    border: 1px solid #376682;
    cursor: pointer
}

    .toggle-label input[type=checkbox][b-najqyjkdox] {
        opacity: 0;
        position: absolute;
        width: 100%;
        height: 100%;
    }

        .toggle-label input[type=checkbox] + .back[b-najqyjkdox] {
            position: absolute;
            width: 100%;
            height: 100%;
            background: rgba(17, 20, 24, 0.6);
            opacity: 0.6;
            transition: background 150ms linear;
        }

        .toggle-label input[type=checkbox]:checked + .back[b-najqyjkdox] {
            background: rgba(17, 20, 24, 0.6);
        }

        .toggle-label input[type=checkbox] + .back .toggle[b-najqyjkdox] {
            display: block;
            position: absolute;
            content: ' ';
            background: #E0F4FF;
            width: 50%;
            height: 100%;
            transition: margin 150ms linear;
            border: 1px solid #376682;
        }

        .toggle-label input[type=checkbox]:checked + .back .toggle[b-najqyjkdox] {
            margin-left: 35px;
        }

    .toggle-label .label[b-najqyjkdox] {
        display: block;
        position: absolute;
        width: 50%;
        text-align: center;
    }

        .toggle-label .label.on[b-najqyjkdox] {
            left: 0px;
            top: 3px
        }

        .toggle-label .label.off[b-najqyjkdox] {
            right: 0px;
            top: 3px
        }

disabled[b-najqyjkdox] {
    background-color: #111418;
    opacity: 0.4;
    color: white;
}

.cursor-pointer[b-najqyjkdox] {
    cursor: pointer
}

.d-none[b-najqyjkdox] {
    display: none;
}

.opacity-hidden[b-najqyjkdox] {
    opacity: 0;
    transition: opacity 0.5s;
}

.opacity-visible[b-najqyjkdox] {
    opacity: 1;
    transition: opacity 0.5s;
}
/* /Components/Pages/TextSpeechTest.razor.rz.scp.css */
.recording-dot[b-qe0wp1sjgr] {
    color: #dc3545;
    font-weight: bold;
}

.result pre[b-qe0wp1sjgr] {
    white-space: pre-wrap;
    word-break: break-word;
    background: rgba(128, 128, 128, 0.12);
    padding: 0.5rem;
    border-radius: 4px;
}
/* /Components/Pages/Tickets/PurchaseRequest.razor.rz.scp.css */

/* /Components/Subs/AnnouncementSettingsCpn.razor.rz.scp.css */
.news-dashboard-page[b-819l1lpo4d] {
    padding: 0;
    max-width: 100%;
    margin: 0;
    min-height: calc(100vh - 3rem);
    overflow: visible;
}

/* Split Layout Container */
.dashboard-split-container[b-819l1lpo4d] {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    gap: 0;
}

.dashboard-left-panel[b-819l1lpo4d],
.dashboard-right-panel[b-819l1lpo4d] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dashboard-left-panel[b-819l1lpo4d] {
    border-right: 2px solid #e9ecef;
    background: #f8f9fa;
}

.dashboard-right-panel[b-819l1lpo4d] {
    background: white;
}

/* Panel Header */
.panel-header[b-819l1lpo4d] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0.75rem 1.5rem;
    height: 60px;
    background: linear-gradient(135deg, #2c4a65, #3d5c7a);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.dashboard-left-panel .panel-header[b-819l1lpo4d] {
    justify-content: space-between;
}

.panel-title[b-819l1lpo4d] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.panel-content[b-819l1lpo4d] {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    position: relative;
}

.calendar-content[b-819l1lpo4d] {
    padding: 0;
    background: white;
}

.btn-settings[b-819l1lpo4d] {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: none;
}

    .btn-settings img[b-819l1lpo4d] {
        filter: brightness(0) invert(1);
    }

/* Settings Panel */
.news-settings-panel[b-819l1lpo4d] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideDown-b-819l1lpo4d 0.3s ease;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

    .news-settings-panel[b-819l1lpo4d]::-webkit-scrollbar {
        width: 8px;
    }

    .news-settings-panel[b-819l1lpo4d]::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .news-settings-panel[b-819l1lpo4d]::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

        .news-settings-panel[b-819l1lpo4d]::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

.settings-container[b-819l1lpo4d] {
    padding: 2rem;
}

.settings-section[b-819l1lpo4d] {
    margin-bottom: 2rem;
}

    .settings-section:last-child[b-819l1lpo4d] {
        margin-bottom: 0;
    }

.section-header[b-819l1lpo4d] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

    .section-header h3[b-819l1lpo4d] {
        font-size: 1.25rem;
        color: #2c4a65;
        margin: 0;
        font-weight: 600;
    }

.btn-collapse[b-819l1lpo4d] {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: all 0.2s;
}

    .btn-collapse:hover[b-819l1lpo4d] {
        color: #2c4a65;
    }

/* Form */
.add-feature-form[b-819l1lpo4d] {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    animation: fadeIn-b-819l1lpo4d 0.3s ease;
}

.form-row[b-819l1lpo4d] {
    margin-bottom: 1.5rem;
}

.form-group[b-819l1lpo4d] {
    display: flex;
    flex-direction: column;
}

    .form-group label[b-819l1lpo4d] {
        font-weight: 500;
        color: #495057;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

.form-input[b-819l1lpo4d],
.form-textarea[b-819l1lpo4d] {
    padding: 0.75rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

    .form-input:focus[b-819l1lpo4d],
    .form-textarea:focus[b-819l1lpo4d] {
        outline: none;
        border-color: #2c4a65;
        box-shadow: 0 0 0 3px rgba(44, 74, 101, 0.1);
    }

.form-textarea[b-819l1lpo4d] {
    resize: vertical;
    min-height: 80px;
}

/* IMAGE UPLOAD STYLES - UPDATED */
.image-upload-container[b-819l1lpo4d] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Upload Tabs */
.upload-tabs[b-819l1lpo4d] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tab-button[b-819l1lpo4d] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .tab-button:hover[b-819l1lpo4d] {
        border-color: #2c4a65;
        background: #f8f9fa;
    }

    .tab-button.active[b-819l1lpo4d] {
        background: #2c4a65;
        color: white;
        border-color: #2c4a65;
    }

/* File Upload Section */
.upload-section[b-819l1lpo4d] {
    position: relative;
}

.file-input[b-819l1lpo4d] {
    display: none;
}

.file-label[b-819l1lpo4d] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s;
}

    .file-label:hover[b-819l1lpo4d] {
        border-color: #2c4a65;
        background: #e9ecef;
    }

.file-icon[b-819l1lpo4d] {
    font-size: 2rem;
}

.file-label small[b-819l1lpo4d] {
    color: #6c757d;
    font-size: 0.85rem;
}

.upload-progress[b-819l1lpo4d] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #e7f3ff;
    border-radius: 6px;
    margin-top: 1rem;
}

.image-preview-container[b-819l1lpo4d] {
    position: relative;
    width: 100%;
    max-width: 400px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

.image-preview[b-819l1lpo4d] {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

.btn-remove-image[b-819l1lpo4d] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

    .btn-remove-image:hover[b-819l1lpo4d] {
        background: #dc3545;
        transform: scale(1.1);
    }

/* THUMBNAIL IN LIST */
.item-thumbnail[b-819l1lpo4d] {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
}

.thumbnail-image[b-819l1lpo4d] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Form Actions */
.form-actions[b-819l1lpo4d] {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-add[b-819l1lpo4d],
.btn-cancel[b-819l1lpo4d] {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-add[b-819l1lpo4d] {
    background: #28a745;
    color: white;
}

    .btn-add:hover[b-819l1lpo4d] {
        background: #218838;
        transform: translateY(-2px);
    }

    .btn-add img[b-819l1lpo4d] {
        filter: brightness(0) invert(1);
    }

.btn-cancel[b-819l1lpo4d] {
    background: #6c757d;
    color: white;
}

    .btn-cancel:hover[b-819l1lpo4d] {
        background: #5a6268;
    }

/* Features Management List */
.features-management-list[b-819l1lpo4d] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.feature-management-item[b-819l1lpo4d] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.2s;
}

    .feature-management-item.active[b-819l1lpo4d] {
        border-color: #28a745;
        background: #f0fff4;
    }

    .feature-management-item:hover[b-819l1lpo4d] {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

.feature-details[b-819l1lpo4d] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.feature-text[b-819l1lpo4d] {
    flex: 1;
    min-width: 0;
}

    .feature-text h4[b-819l1lpo4d] {
        font-size: 1rem;
        font-weight: 600;
        color: #212529;
        margin: 0 0 0.25rem 0;
    }

    .feature-text p[b-819l1lpo4d] {
        font-size: 0.875rem;
        color: #6c757d;
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

.btn-delete[b-819l1lpo4d] {
    background: none !important;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
    opacity: 0.6;
    color: #dc3545;
}

    .btn-delete:hover[b-819l1lpo4d] {
        background: none !important;
        opacity: 1;
    }

.management-actions[b-819l1lpo4d] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-edit-mini[b-819l1lpo4d] {
    background: none !important;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
    opacity: 0.6;
    color: #6c757d;
}

    .btn-edit-mini:hover[b-819l1lpo4d] {
        background: none !important;
        opacity: 1;
        color: #2c4a65;
    }

.features-management-list[b-819l1lpo4d]::-webkit-scrollbar {
    width: 8px;
}

.features-management-list[b-819l1lpo4d]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.features-management-list[b-819l1lpo4d]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

    .features-management-list[b-819l1lpo4d]::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/* Alert Styles */
.alert[b-819l1lpo4d] {
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.alert-danger[b-819l1lpo4d] {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.text-success[b-819l1lpo4d] {
    color: #28a745;
}

.text-muted[b-819l1lpo4d] {
    color: #6c757d;
    font-size: 0.85rem;
}

.checkbox-label[b-819l1lpo4d] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem 0;
}

.form-checkbox[b-819l1lpo4d] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #2c4a65;
}

.checkbox-text[b-819l1lpo4d] {
    font-weight: 500;
    color: #495057;
    font-size: 0.95rem;
}

.form-input:disabled[b-819l1lpo4d] {
    background-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Badge Styles */
.badge-ontop[b-819l1lpo4d] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.badge-days[b-819l1lpo4d] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.25rem;
    vertical-align: middle;
}

.ontop-item[b-819l1lpo4d] {
    border-left: 4px solid #ff6b6b !important;
    background: linear-gradient(90deg, rgba(255, 107, 107, 0.05), transparent) !important;
}

.file-attachments-container[b-819l1lpo4d] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.files-list[b-819l1lpo4d] {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #dee2e6;
}

    .files-list h4[b-819l1lpo4d] {
        margin: 0 0 1rem 0;
        font-size: 0.95rem;
        color: #495057;
        font-weight: 600;
    }

.file-item[b-819l1lpo4d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

    .file-item:last-child[b-819l1lpo4d] {
        margin-bottom: 0;
    }

    .file-item:hover[b-819l1lpo4d] {
        border-color: #2c4a65;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

.file-info[b-819l1lpo4d] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.file-icon-mini[b-819l1lpo4d] {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.file-name[b-819l1lpo4d] {
    font-size: 0.9rem;
    color: #495057;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-remove-file[b-819l1lpo4d] {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    transition: all 0.2s;
    flex-shrink: 0;
}

    .btn-remove-file:hover[b-819l1lpo4d] {
        background: #c82333;
        transform: scale(1.1);
    }

/* Badge for file count */
.badge-files[b-819l1lpo4d] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.25rem;
    vertical-align: middle;
}

/* Attached files mini display in list */
.attached-files-mini[b-819l1lpo4d] {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

    .attached-files-mini small[b-819l1lpo4d] {
        display: block;
        width: 100%;
        margin-bottom: 0.25rem;
        color: #495057;
    }

.file-tag[b-819l1lpo4d] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #e9ecef;
    color: #495057;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid #dee2e6;
}

.file-tag-more[b-819l1lpo4d] {
    display: inline-flex;
    align-items: center;
    background: #6c757d;
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Empty state */
.empty-state[b-819l1lpo4d] {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

    .empty-state p[b-819l1lpo4d] {
        margin: 0;
        font-size: 1rem;
    }

/* Loading container */
.loading-container[b-819l1lpo4d] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .file-item[b-819l1lpo4d] {
        padding: 0.5rem;
    }

    .file-name[b-819l1lpo4d] {
        font-size: 0.85rem;
    }

    .btn-remove-file[b-819l1lpo4d] {
        width: 20px;
        height: 20px;
        font-size: 0.9rem;
    }

    .attached-files-mini[b-819l1lpo4d] {
        gap: 0.25rem;
    }

    .file-tag[b-819l1lpo4d] {
        font-size: 0.7rem;
        padding: 0.1rem 0.4rem;
    }
}

/* Animations */
@keyframes slideDown-b-819l1lpo4d {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn-b-819l1lpo4d {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .settings-container[b-819l1lpo4d] {
        padding: 1rem;
    }

    .form-actions[b-819l1lpo4d] {
        flex-direction: column;
    }

    .btn-add[b-819l1lpo4d],
    .btn-cancel[b-819l1lpo4d] {
        width: 100%;
        justify-content: center;
    }

    .image-preview-container[b-819l1lpo4d] {
        max-width: 100%;
    }

    .item-thumbnail[b-819l1lpo4d] {
        width: 50px;
        height: 50px;
    }

    .upload-tabs[b-819l1lpo4d] {
        flex-direction: column;
    }

    .tab-button[b-819l1lpo4d] {
        width: 100%;
    }
}
/* /Components/Subs/AppCreators/AppCreatorManageListPage.razor.rz.scp.css */
.approval-flow[b-zgqkjxxxg5] {
    display: flex;
    align-items: center;
}

.approval-node[b-zgqkjxxxg5] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.approval-line[b-zgqkjxxxg5] {
    width: 16px;
    height: 2px;
    background: #d1d5db;
    flex-shrink: 0;
}

.approval-line.approval-line-done[b-zgqkjxxxg5] {
    background: #22c55e;
}

.approval-badge[b-zgqkjxxxg5] {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    padding: 2px 8px;
    white-space: nowrap;
}

.approval-none[b-zgqkjxxxg5] {
    background: #e2e8f0;
    color: #94a3b8;
}

.approval-approved[b-zgqkjxxxg5] {
    background: #dcfce7;
    color: #166534;
}

.approval-pending[b-zgqkjxxxg5] {
    background: #fef9c3;
    color: #854d0e;
}

.approval-rejected[b-zgqkjxxxg5] {
    background: #fee2e2;
    color: #991b1b;
}

.approval-draft[b-zgqkjxxxg5] {
    background: #f1f5f9;
    color: #475569;
}
/* /Components/Subs/AppCreators/CreatorCpn.razor.rz.scp.css */
/* moved to global appCreator.css */

/* A field the logged-in user may not edit (see ApprovalEditPolicy): its user-picker buttons are hidden too */
.approval-field-locked[b-1qfmrwwkew]  .sapEmloyIdBtn {
    display: none;
}
/* /Components/Subs/AppCreators/CreatorViewCpn.razor.rz.scp.css */
/* moved to global appCreator.css */
/* /Components/Subs/AppCreators/HtmlControlCpn.razor.rz.scp.css */


/* ---------- LABEL ---------- */
.labelCustumHD[b-zugajq4mc9] {
    display: block;
    font-size: 0.6875rem; /* 11px */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #566168;
    margin-bottom: 6px;
    line-height: 1.4;
}

    .labelCustumHD.required[b-zugajq4mc9]::after {
        content: ' *';
        color: #9f403d;
        font-style: normal;
    }

/* ---------- INPUT / TEXTAREA ---------- */
.inputCustumHD[b-zugajq4mc9] {
    width: 100%;
    background: #fafafa;
    border: 1px solid rgba(168, 179, 187, 0.3);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.875rem;
    font-family: inherit;
    color: black;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

    .inputCustumHD[b-zugajq4mc9]::placeholder {
        color: #a8b3bb;
        font-style: italic;
    }

    .inputCustumHD:hover[b-zugajq4mc9] {
        border-color: rgba(113, 124, 132, 0.55);
        background: #ffffff;
    }

    .inputCustumHD:focus[b-zugajq4mc9] {
        border-color: #005db6;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(0, 93, 182, 0.12);
    }

/* Textarea riêng */
textarea.inputCustumHD[b-zugajq4mc9] {
    resize: vertical;
    min-height: 90px;
    line-height: 1.6;
}

/* Readonly / disabled */
.inputCustumHD[readonly][b-zugajq4mc9],
.inputCustumHD:disabled[b-zugajq4mc9] {
    background: #f0f4f8;
    color: #566168;
    cursor: not-allowed;
    border-color: rgba(168, 179, 187, 0.2);
}

    .inputCustumHD[readonly]:hover[b-zugajq4mc9],
    .inputCustumHD:disabled:hover[b-zugajq4mc9] {
        border-color: rgba(168, 179, 187, 0.2);
        background: #f0f4f8;
    }
/* Khi KHÔNG có class redesign → giữ nguyên, không cần override */

/* Khi CÓ class fieldGroupObject--redesign */
.fieldGroupObject--redesign > div[b-zugajq4mc9] {
    border: none !important;
    min-width: unset !important;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(58, 97, 134, 0.15);
}

.fieldGroupObject--redesign .btnFieldGroup[b-zugajq4mc9] {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #3a6186;
    background: #dde8f0 !important;
    border-bottom: 1px solid rgba(168,179,187,0.2) !important;
    width: 100%;
}
.richTextObject--redesign[b-zugajq4mc9] {
    border: 1px solid rgba(168, 179, 187, 0.4);
    box-shadow: 0 4px 16px rgba(58, 97, 134, 0.15);
    overflow: hidden;
    border-radius: 8px 8px 0 0 !important;
}

    
/* /Components/Subs/AppCreators/HtmlControlViewCpn.razor.rz.scp.css */


/* ---------- LABEL ---------- */
.labelCustumHD[b-nwoptier5d] {
    display: block;
    font-size: 0.6875rem; /* 11px */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #566168;
    margin-bottom: 6px;
    line-height: 1.4;
}

    .labelCustumHD.required[b-nwoptier5d]::after {
        content: ' *';
        color: #9f403d;
        font-style: normal;
    }

/* ---------- INPUT / TEXTAREA ---------- */
.inputCustumHD[b-nwoptier5d] {
    width: 100%;
    background: #fafafa;
    border: 1px solid rgba(168, 179, 187, 0.3);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.875rem;
    font-family: inherit;
    color: black;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

    .inputCustumHD[b-nwoptier5d]::placeholder {
        color: #a8b3bb;
        font-style: italic;
    }

    .inputCustumHD:hover[b-nwoptier5d] {
        border-color: rgba(113, 124, 132, 0.55);
        background: #ffffff;
    }

    .inputCustumHD:focus[b-nwoptier5d] {
        border-color: #005db6;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(0, 93, 182, 0.12);
    }

/* Textarea riêng */
textarea.inputCustumHD[b-nwoptier5d] {
    resize: vertical;
    min-height: 90px;
    line-height: 1.6;
}

/* Readonly / disabled */
.inputCustumHD[readonly][b-nwoptier5d],
.inputCustumHD:disabled[b-nwoptier5d] {
    background: #f0f4f8;
    color: #566168;
    cursor: not-allowed;
    border-color: rgba(168, 179, 187, 0.2);
}

    .inputCustumHD[readonly]:hover[b-nwoptier5d],
    .inputCustumHD:disabled:hover[b-nwoptier5d] {
        border-color: rgba(168, 179, 187, 0.2);
        background: #f0f4f8;
    }
/* Khi KHÔNG có class redesign → giữ nguyên, không cần override */

/* Khi CÓ class fieldGroupObject--redesign */
.fieldGroupObject--redesign > div[b-nwoptier5d] {
    border: none !important;
    min-width: unset !important;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(58, 97, 134, 0.15);
}

.fieldGroupObject--redesign .btnFieldGroup[b-nwoptier5d] {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #3a6186;
    background: #dde8f0 !important;
    border-bottom: 1px solid rgba(168,179,187,0.2) !important;
    width: 100%;
}
.richTextObject--redesign[b-nwoptier5d] {
    border: 1px solid rgba(168, 179, 187, 0.4);
    box-shadow: 0 4px 16px rgba(58, 97, 134, 0.15);
    overflow: hidden;
    border-radius: 8px 8px 0 0 !important;
}

    
/* /Components/Subs/AppCreators/HtmlRenderViewCpn.razor.rz.scp.css */
/* HTML Render View Component - Read-only display styling */

/* Link styling in view mode */
a[b-xr22x2f5p5] {
    text-decoration: none;
    color: inherit;
}

/* Disabled buttons styling */
button:disabled[b-xr22x2f5p5] {
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

button:disabled:hover[b-xr22x2f5p5] {
    background-color: unchanged;
    border-color: unchanged;
}

/* Image styling in view mode */
img[b-xr22x2f5p5] {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Text content styling */
span[b-xr22x2f5p5], p[b-xr22x2f5p5], div[b-xr22x2f5p5] {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Remove any input-like appearance from read-only elements */
.inputCustumHD:disabled[b-xr22x2f5p5],
.inputCustumHD[readonly][b-xr22x2f5p5] {
    background-color: #f5f5f5;
    color: #666;
    border-color: #ddd;
    cursor: not-allowed;
}

/* Dropdown in view mode - disabled state */
.dropdown-menu:disabled[b-xr22x2f5p5] {
    pointer-events: none;
    opacity: 0.6;
}

/* Link hover effect in view mode - subtle only */
a:hover[b-xr22x2f5p5] {
    text-decoration: underline;
}
/* /Components/Subs/AppCreators/ObjectCreators/ActivateLinkObject.razor.rz.scp.css */
.activateLinkObject[b-7i3nplzb5i] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 0;
}

/* ── Field row ── */
.al-field-row[b-7i3nplzb5i] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.al-field-label[b-7i3nplzb5i] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #4f667a;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ── Input with pick button ── */
.al-input-wrapper[b-7i3nplzb5i] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.al-input[b-7i3nplzb5i] {
    flex: 1;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #333;
    background: #fff;
    cursor: pointer;
    min-width: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.al-input:focus[b-7i3nplzb5i] {
    outline: none;
    border-color: #5496cd;
}

.al-pick-btn[b-7i3nplzb5i] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #f5f7f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.al-pick-btn:hover[b-7i3nplzb5i] {
    background: #e8ecf0;
}

/* ── Status select ── */
.al-select[b-7i3nplzb5i] {
    height: 32px;
    padding: 0 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #333;
    background: #fff;
    cursor: pointer;
    width: 100%;
}

.al-select:focus[b-7i3nplzb5i] {
    outline: none;
    border-color: #5496cd;
}

/* ── Modal ── */
.al-modal-backdrop[b-7i3nplzb5i] {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.al-modal[b-7i3nplzb5i] {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    width: 420px;
    max-width: 95vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.al-modal-header[b-7i3nplzb5i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: #4f667a;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    flex-shrink: 0;
}

.al-modal-close[b-7i3nplzb5i] {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.al-modal-close:hover[b-7i3nplzb5i] {
    opacity: 0.75;
}

.al-modal-body[b-7i3nplzb5i] {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    flex: 1;
}

.al-search-input[b-7i3nplzb5i] {
    width: 100%;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.al-search-input:focus[b-7i3nplzb5i] {
    outline: none;
    border-color: #5496cd;
}

.al-list[b-7i3nplzb5i] {
    overflow-y: auto;
    flex: 1;
    border: 1px solid #eee;
    border-radius: 6px;
}

.al-list-item[b-7i3nplzb5i] {
    padding: 8px 12px;
    font-size: 0.88rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    transition: background 0.12s;
}

.al-list-item:last-child[b-7i3nplzb5i] {
    border-bottom: none;
}

.al-list-item:hover[b-7i3nplzb5i] {
    background-color: #f0f6ff;
}

.al-list-item.selected[b-7i3nplzb5i] {
    background-color: #dbeeff;
    font-weight: 600;
    color: #1a6fc4;
}

.al-list-empty[b-7i3nplzb5i] {
    padding: 16px;
    text-align: center;
    color: #aaa;
    font-size: 0.85rem;
    font-style: italic;
}
/* /Components/Subs/AppCreators/ObjectCreators/ActivateLinkObjectView.razor.rz.scp.css */
/* Activate Link Object View - Read-only display */

.al-field-row-view[b-924sgc5dyi] {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    padding: 10px;
    border-bottom: 1px solid #e3e7e8;
}

.al-field-label[b-924sgc5dyi] {
    font-weight: 600;
    color: #333;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.al-field-value[b-924sgc5dyi] {
    color: #666;
    font-size: 14px;
    padding: 8px;
    background-color: #f9f9f9;
    border-radius: 4px;
    word-wrap: break-word;
    min-height: 24px;
    display: flex;
    align-items: center;
}

/* Status styling */
.al-status-active[b-924sgc5dyi] {
    color: #28a745;
    font-weight: 600;
}

.al-status-pending[b-924sgc5dyi] {
    color: #ffc107;
    font-weight: 600;
}

.al-status-unknown[b-924sgc5dyi] {
    color: #6c757d;
    font-weight: 500;
}
/* /Components/Subs/AppCreators/ObjectCreators/InputObject.razor.rz.scp.css */
/* The select button swaps its icon for a spinner (same 17px box, same blue-grey) while the modal is loading */
.select-spinner[b-grt8oog3i7] {
    display: none;
    box-sizing: border-box;
    width: 17px;
    height: 17px;
    border: 2px solid #cddbe9;
    border-top-color: #5b8db8;
    border-radius: 50%;
    animation: select-spin-b-grt8oog3i7 0.7s linear infinite;
    vertical-align: middle;
}

button[data-loading="1"] .select-icon[b-grt8oog3i7] {
    display: none;
}

button[data-loading="1"] .select-spinner[b-grt8oog3i7] {
    display: inline-block;
}

@keyframes select-spin-b-grt8oog3i7 {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .select-spinner[b-grt8oog3i7] {
        animation-duration: 2s;
    }
}
/* /Components/Subs/AppCreators/ObjectCreators/LocationObjectView.razor.rz.scp.css */
/* Location Object View - Read-only display */

.location-header[b-gsr8ndxcub] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    font-weight: 600;
    color: #333;
}

.locationObject-view[b-gsr8ndxcub] {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-display-context[b-gsr8ndxcub] {
    color: #666;
    font-size: 14px;
    word-wrap: break-word;
    line-height: 1.5;
    padding: 8px;
    background-color: #f9f9f9;
    border-radius: 4px;
    min-height: 40px;
}

.location-coordinates[b-gsr8ndxcub] {
    color: #888;
    font-size: 12px;
    margin-top: 8px;
    padding: 8px;
    background-color: #f0f0f0;
    border-left: 3px solid #ddd;
    border-radius: 2px;
}
/* /Components/Subs/AppCreators/ObjectCreators/SignatureObject.razor.rz.scp.css */
.signatureObject[b-0lpi7gjvxf] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 0;
}

/* ── Preview area ── */
.signature-preview-wrapper[b-0lpi7gjvxf] {
    width: 100%;
    flex: 1;
    min-height: 60px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.signature-preview-img[b-0lpi7gjvxf] {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.signature-empty-placeholder[b-0lpi7gjvxf] {
    color: #bbb;
    font-size: 0.85rem;
    font-style: italic;
    user-select: none;
}

/* ── Action buttons ── */
.signature-actions[b-0lpi7gjvxf] {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    flex-shrink: 0;
    margin-top: 4px;
}

.signature-action-btn[b-0lpi7gjvxf] {
    height: 28px;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
}

.signature-clear-btn-sm[b-0lpi7gjvxf] {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    color: #555;
}

.signature-clear-btn-sm:hover[b-0lpi7gjvxf] {
    background-color: #e8e8e8;
}

.signature-download-btn[b-0lpi7gjvxf] {
    background-color: #27ae60;
    border: none;
    color: #fff;
}

.signature-download-btn:hover[b-0lpi7gjvxf] {
    background-color: #1e8449;
}

.signature-edit-btn[b-0lpi7gjvxf] {
    background-color: #f0a500;
    border: none;
    color: #fff;
}

.signature-edit-btn:hover[b-0lpi7gjvxf] {
    background-color: #d4900a;
}

.signature-save-btn[b-0lpi7gjvxf] {
    background-color: #3498db;
    border: none;
    color: #fff;
}

.signature-save-btn:hover[b-0lpi7gjvxf] {
    background-color: #2980b9;
}

.signature-cancel-btn[b-0lpi7gjvxf] {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    color: #555;
}

.signature-cancel-btn:hover[b-0lpi7gjvxf] {
    background-color: #e8e8e8;
}

/* ── Modal ── */
.signature-modal-backdrop[b-0lpi7gjvxf] {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signature-modal[b-0lpi7gjvxf] {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    width: 520px;
    max-width: 95vw;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.signature-modal-header[b-0lpi7gjvxf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: #4f667a;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.signature-modal-close[b-0lpi7gjvxf] {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}

.signature-modal-close:hover[b-0lpi7gjvxf] {
    opacity: 0.75;
}

.signature-modal-body[b-0lpi7gjvxf] {
    padding: 12px 16px;
    background-color: #fafafa;
}

.signature-modal-canvas[b-0lpi7gjvxf] {
    width: 100%;
    height: 220px;
    border: 1px dashed #aaa;
    border-radius: 4px;
    background-color: #fff;
    cursor: crosshair;
    touch-action: none;
    display: block;
}

.signature-modal-footer[b-0lpi7gjvxf] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 10px 16px;
    border-top: 1px solid #eee;
    background-color: #fff;
}
/* /Components/Subs/AppCreators/ObjectCreators/SignatureObjectView.razor.rz.scp.css */
/* Signature Object View - Read-only display */

.signature-preview-wrapper[b-wn3scs10dc] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    margin-bottom: 12px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fafafa;
}

.signature-preview-img[b-wn3scs10dc] {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.signature-empty-placeholder[b-wn3scs10dc] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    font-style: italic;
    font-size: 14px;
}

.signature-info[b-wn3scs10dc] {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.signature-action-btn[b-wn3scs10dc] {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f5f5f5;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.signature-action-btn:hover[b-wn3scs10dc] {
    background-color: #e9e9e9;
    border-color: #999;
}

.signature-download-btn-view[b-wn3scs10dc] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.signature-download-btn-view i[b-wn3scs10dc] {
    font-size: 12px;
}
/* /Components/Subs/AppCreators/ObjectCreators/VerificationObject.razor.rz.scp.css */
.verificationObject[b-wt5411b3ip] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 0;
}

.verification-row[b-wt5411b3ip] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.verification-datetime[b-wt5411b3ip] {
    flex: 1;
    min-width: 0;
    height: 32px;
    border: 1px solid #e3e7e8;
    border-radius: 4px;
    padding: 0 6px;
    font-size: 0.85rem;
    color: black;
}

.verification-datetime:disabled[b-wt5411b3ip] {
    background-color: #f5f5f5;
    color: #888;
}

.verification-btn[b-wt5411b3ip] {
    flex-shrink: 0;
    height: 32px;
    padding: 0 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
}

.verification-btn:disabled[b-wt5411b3ip] {
    opacity: 0.5;
    cursor: not-allowed;
}

.verification-signin-btn[b-wt5411b3ip] {
    background-color: #3498db;
    color: #fff;
}

.verification-signin-btn:hover:not(:disabled)[b-wt5411b3ip] {
    background-color: #2980b9;
}

.verification-signout-btn[b-wt5411b3ip] {
    background-color: #e74c3c;
    color: #fff;
}

.verification-signout-btn:hover:not(:disabled)[b-wt5411b3ip] {
    background-color: #c0392b;
}

.verification-location-row[b-wt5411b3ip] {
    padding-left: 2px;
    min-height: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.verification-location-text[b-wt5411b3ip] {
    font-size: 0.78rem;
    word-break: break-all;
    color: #888;
}

/* Photo preview */
.verification-photo-wrapper[b-wt5411b3ip] {
    position: relative;
    display: inline-block;
    margin-top: 2px;
}

.verification-photo-img[b-wt5411b3ip] {
    display: block;
    max-width: 100%;
    max-height: 120px;
    border-radius: 4px;
    border: 1px solid #ddd;
    object-fit: cover;
}

.verification-photo-download-btn[b-wt5411b3ip] {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.55);
    border: none;
    border-radius: 4px;
    color: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.verification-photo-download-btn:hover[b-wt5411b3ip] {
    background: rgba(0, 0, 0, 0.8);
}

/* Camera modal */
.verification-camera-backdrop[b-wt5411b3ip] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verification-camera-modal[b-wt5411b3ip] {
    background: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    width: min(480px, 96vw);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.verification-camera-header[b-wt5411b3ip] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    font-size: 0.95rem;
}

.verification-camera-close[b-wt5411b3ip] {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: #555;
    line-height: 1;
}

.verification-camera-close:hover[b-wt5411b3ip] {
    color: #e74c3c;
}

.verification-camera-body[b-wt5411b3ip] {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}

.verification-camera-video[b-wt5411b3ip] {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    display: block;
}

.verification-camera-footer[b-wt5411b3ip] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 10px 14px;
    border-top: 1px solid #e0e0e0;
    background: #fafafa;
}

/* Lightbox */
.verification-photo-img[b-wt5411b3ip] {
    cursor: zoom-in;
}

.verification-lightbox-backdrop[b-wt5411b3ip] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verification-lightbox-modal[b-wt5411b3ip] {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verification-lightbox-img[b-wt5411b3ip] {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    box-shadow: 0 4px 32px rgba(0,0,0,0.6);
}

.verification-lightbox-close[b-wt5411b3ip] {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 1;
    color: #333;
    line-height: 1;
}

.verification-lightbox-close:hover[b-wt5411b3ip] {
    background: #e74c3c;
    color: #fff;
}
/* /Components/Subs/AppCreators/ObjectCreators/VerificationObjectView.razor.rz.scp.css */
/* Verification Object View - Read-only display */

.verification-row-view[b-a0dpe6w1kt] {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e3e7e8;
}

.verification-location-row-view[b-a0dpe6w1kt] {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e3e7e8;
}

.verification-label[b-a0dpe6w1kt] {
    font-weight: 600;
    min-width: 100px;
    color: #333;
    margin-right: 12px;
    font-size: 13px;
}

.verification-value[b-a0dpe6w1kt] {
    flex: 1;
    color: #666;
    font-size: 13px;
    word-wrap: break-word;
}

.verification-photo-wrapper-view[b-a0dpe6w1kt] {
    margin: 12px 0;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.verification-photo-img-view[b-a0dpe6w1kt] {
    max-width: 100%;
    max-height: 200px;
    border-radius: 4px;
    object-fit: contain;
}
/* /Components/Subs/APS/ApsAiPanelCpn.razor.rz.scp.css */
.aps-ai[b-h4ob8zsmzj] {
    position: fixed;   /* bottom right of the window like a chat, so the input stays in view whatever the layout */
    right: 16px;
    bottom: 32px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    width: 440px;
    max-width: calc(100% - 16px);
    max-height: min(75vh, 620px);
    border: 1px solid var(--aps-ink-soft, #5b6b7a);
    border-radius: var(--aps-radius, 4px);
    background: var(--aps-surface, #fff);
    box-shadow: 0 8px 24px rgba(24, 35, 46, .22);
    overflow: hidden;   /* the body scrolls, not the panel, so the header (and its close button) never scrolls away */
}

.aps-ai__head[b-h4ob8zsmzj] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 8px 8px 12px;
    border-bottom: 1px solid var(--aps-steel, #c9d1d9);
    background: var(--aps-surface, #fff);
}

.aps-ai__body[b-h4ob8zsmzj] {
    flex: 1 1 auto;
    min-height: 0;
    padding: 10px 12px;
    overflow-y: auto;
}

.aps-ai__close[b-h4ob8zsmzj] {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    font-size: 14px;
    line-height: 1;
    border: 0;
    border-radius: var(--aps-radius, 4px);
    background: transparent;
    color: var(--aps-ink-soft, #5b6b7a);
    cursor: pointer;
}

.aps-ai__close:hover[b-h4ob8zsmzj] {
    background: var(--aps-paper, #edf0f3);
}

.aps-ai__ask[b-h4ob8zsmzj] {
    display: flex;
    gap: 6px;
}

.aps-ai__ask input[b-h4ob8zsmzj] {
    flex: 1;
    min-width: 0;
    height: 28px;
    padding: 0 8px;
    border: 1px solid var(--aps-steel, #c9d1d9);
    border-radius: var(--aps-radius, 4px);
    font: inherit;
}

.aps-ai__btn[b-h4ob8zsmzj] {
    height: 28px;
    padding: 0 12px;
    border: 1px solid var(--aps-steel, #c9d1d9);
    border-radius: var(--aps-radius, 4px);
    background: var(--aps-surface, #fff);
    color: var(--aps-ink, #18232e);
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}

.aps-ai__btn:disabled[b-h4ob8zsmzj] {
    opacity: .5;
    cursor: not-allowed;
}

.aps-ai__btn--primary[b-h4ob8zsmzj] {
    background: var(--aps-enamel, #0f6f7a);
    border-color: var(--aps-enamel-dark, #0a545d);
    color: #fff;
}

.aps-ai__fine[b-h4ob8zsmzj] {
    margin: 6px 0 0;
    font-size: 11.5px;
    color: var(--aps-ink-soft, #5b6b7a);
}

.aps-ai__error[b-h4ob8zsmzj] {
    margin: 0 0 8px;
    padding: 6px 10px;
    border-left: 3px solid var(--aps-overload, #c23030);
    background: var(--aps-overload-tint, #fbe4e4);
}

/* ---- the last Plan ------------------------------------------------------------------------------------------- */
.aps-ai__plan[b-h4ob8zsmzj] {
    margin-bottom: 8px;
}

.aps-ai__plan--wait[b-h4ob8zsmzj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 10px;
    border-left: 3px solid var(--aps-enamel, #0f6f7a);
    background: var(--aps-enamel-tint, #e0f0f1);
    font-size: 12px;
}

.aps-ai__summary[b-h4ob8zsmzj] {
    margin: 0 0 4px;
    padding: 6px 10px;
    border-left: 3px solid var(--aps-enamel, #0f6f7a);
    background: var(--aps-enamel-tint, #e0f0f1);
}

.aps-ai__risk[b-h4ob8zsmzj] {
    margin: 4px 0 0;
    padding-left: 8px;
    border-left: 3px solid var(--aps-signal, #e0a100);
    font-size: 12px;
}

/* ---- chat ----------------------------------------------------------------------------------------------------- */
.aps-chat__rules[b-h4ob8zsmzj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    font-size: 11.5px;
    color: var(--aps-ink-soft, #5b6b7a);
}

.aps-chat__chip[b-h4ob8zsmzj] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 4px 1px 8px;
    border-radius: 10px;
    background: var(--aps-signal-tint, #fff4d1);
    border: 1px solid var(--aps-signal, #e0a100);
    color: var(--aps-ink, #18232e);
    font-weight: 600;
}

.aps-chat__chip button[b-h4ob8zsmzj] {
    width: 16px;
    height: 16px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 9px;
    cursor: pointer;
}

.aps-chat__chip button:hover[b-h4ob8zsmzj] {
    background: rgba(0, 0, 0, .12);
}

/* column-reverse keeps the newest message in view without any script */
.aps-chat__scroll[b-h4ob8zsmzj] {
    display: flex;
    flex-direction: column-reverse;
    max-height: 320px;
    margin: 8px 0;
    overflow-y: auto;
}

.aps-chat__thread[b-h4ob8zsmzj] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aps-chat__msg[b-h4ob8zsmzj] {
    max-width: 94%;
    padding: 6px 10px;
    border-radius: var(--aps-radius, 4px);
    font-size: 12.5px;
    line-height: 1.4;
}

.aps-chat__msg p[b-h4ob8zsmzj] {
    margin: 0;
    white-space: pre-wrap;
}

.aps-chat__msg--user[b-h4ob8zsmzj] {
    align-self: flex-end;
    background: var(--aps-enamel, #3755c3);
    color: #fff;
}

.aps-chat__msg--assistant[b-h4ob8zsmzj] {
    align-self: flex-start;
    background: var(--aps-enamel-tint, #e5eeff);
    color: var(--aps-ink, #00345e);
}

.aps-chat__msg--error[b-h4ob8zsmzj] {
    border-left: 3px solid var(--aps-overload, #c23030);
    background: var(--aps-overload-tint, #fbe4e4);
}

.aps-chat__msg--wait[b-h4ob8zsmzj] {
    color: var(--aps-ink-soft, #26619d);
    font-style: italic;
}
/* /Components/Subs/APS/ApsGanttCpn.razor.rz.scp.css */
/* The Gantt itself is styled by wwwroot/css/apsWorkbench.css (apsw-*), the APS design system.
   This file only adds the states APS needs on top of it. */

.aps-bar--selected[b-jixye4xtzm] {
    outline: 2px solid var(--apsw-primary, #3755c3);
    outline-offset: 1px;
    box-shadow: 0 0 0 3px rgba(55, 85, 195, .18);
}

.aps-bar--warn[b-jixye4xtzm] {
    outline: 2px dashed #e0a100;
    outline-offset: 1px;
}

.aps-bar--fixed[b-jixye4xtzm] {
    cursor: not-allowed;
    background-image: repeating-linear-gradient(-45deg, rgba(0, 0, 0, .08) 0 4px, transparent 4px 8px);
}

.aps-bar--dim[b-jixye4xtzm] {
    opacity: .35;
}

.aps-row--selected .apsw-resource-label-cell[b-jixye4xtzm] {
    background-color: #dde6ff;
}

.aps-label--sel[b-jixye4xtzm] {
    color: var(--apsw-primary, #3755c3);
    font-weight: 800;
}

.aps-row-check[b-jixye4xtzm] {
    margin: 0 4px 0 2px;
    cursor: pointer;
    flex: 0 0 auto;
}

.aps-row-fold[b-jixye4xtzm] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--apsw-primary, #3755c3);
    cursor: pointer;
}

/* Resource view, closed row: one-colour block for a busy period (click opens the row). */
.aps-busy[b-jixye4xtzm] {
    cursor: pointer;
}

.aps-row-x[b-jixye4xtzm] {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    padding: 2px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--apsw-on-surface-variant, #26619d);
    cursor: pointer;
    opacity: .55;
}

.aps-row-x:hover[b-jixye4xtzm] {
    opacity: 1;
    background: rgba(159, 64, 61, .12);
    color: var(--apsw-error, #9f403d);
}

/* Added by wwwroot/js/pages/apsGantt.js while a bar is dragged. */
.aps-bar--dragging[b-jixye4xtzm] {
    z-index: 30;
    opacity: .8;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

/* One row per WO/POS: the routing steps share the row and are joined by a dashed line. */
.aps-flow[b-jixye4xtzm] {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: visible;
}

.aps-flow path[b-jixye4xtzm] {
    fill: none;
    stroke: var(--apsw-primary, #3755c3);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .75;
}

.aps-flow-line[b-jixye4xtzm] {
    stroke-dasharray: 4 3;
}

/* The next step starts before the previous one ends: shown in the warning colour. */
.aps-flow-line--tight[b-jixye4xtzm] {
    stroke: #e0a100;
    stroke-dasharray: 3 2;
    opacity: 1;
}

.aps-unsched[b-jixye4xtzm] {
    position: absolute;
    left: .5rem;
    top: 22px;
    font-size: 10px;
    font-style: italic;
    color: rgba(38, 97, 157, .7);
    white-space: nowrap;
}

.aps-row-item[b-jixye4xtzm] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    color: rgba(38, 97, 157, .75);
}

/* ---- bars: one colour per resource, text inside the bar ------------------------------------------------------------- */
.apsw-gantt-block.apsw-block-primary[b-jixye4xtzm] {
    height: 20px;
    padding: 0 6px;
    gap: 4px;
    border: 0;
    border-radius: 4px;
    background: var(--bar, #3755c3);
    color: #fff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .18);
}

.apsw-gantt-block.apsw-block-primary:hover[b-jixye4xtzm] {
    filter: brightness(1.08);
}

.aps-bar-text[b-jixye4xtzm] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff !important;
    font-size: 10px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 20px;
}

.apsw-block-icon[b-jixye4xtzm] {
    font-size: 13px !important;
    color: #fff;
}

.aps-res-0[b-jixye4xtzm] { --bar: #3755c3; }
.aps-res-1[b-jixye4xtzm] { --bar: #0f7b8a; }
.aps-res-2[b-jixye4xtzm] { --bar: #8a4fb3; }
.aps-res-3[b-jixye4xtzm] { --bar: #b4651e; }
.aps-res-4[b-jixye4xtzm] { --bar: #2f7d4f; }
.aps-res-5[b-jixye4xtzm] { --bar: #b23a6a; }
.aps-res-6[b-jixye4xtzm] { --bar: #4a6578; }
.aps-res-7[b-jixye4xtzm] { --bar: #7a6a12; }

/* routing link */
.aps-flow path[b-jixye4xtzm] {
    stroke: #5b6b7a;
}

.aps-flow-line--tight[b-jixye4xtzm] {
    stroke: #e0a100;
}

.aps-label--sel[b-jixye4xtzm] {
    color: var(--apsw-primary, #3755c3);
}
/* /Components/Subs/APS/LevelWOQuantityChartCpn.razor.rz.scp.css */
/* WOQuantityChartCpn - scoped styles intentionally empty.
   All woqc-* rules live in schedulePageV2.css so both
   WOQuantityChartCpn and WorkshopQuantityChartCpn share them
   without depending on Blazor scoped-CSS build order. */
/* /Components/Subs/APS/TableWOAPS.razor.rz.scp.css */
.wo-container[b-q4tb59p795] {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Desktop Table Styles */
.table-container[b-q4tb59p795] {
    width: 100%;
    overflow-x: auto;
    background-color: #ffffff;
    border-radius: 0.125rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(116, 119, 128, 0.1);
    position: relative;
}

.wo-table[b-q4tb59p795] {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    text-align: left;
}

.wo-table thead[b-q4tb59p795] {
    background: linear-gradient(135deg, #002555 0%, #1b3b6f 100%);
    position: relative;
}

.table-header-row[b-q4tb59p795] {
    display: table-row;
}

.table-header-cell[b-q4tb59p795] {
    padding: 1rem;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    cursor: move;
    user-select: none;
    transition: background-color 0.2s ease;
    position: relative;
}

.table-header-cell:last-child[b-q4tb59p795] {
    border-right: none;
}

.table-header-cell:hover[b-q4tb59p795] {
    background-color: rgba(255, 255, 255, 0.1);
}

.table-header-cell.dragging[b-q4tb59p795] {
    opacity: 0.5;
    background-color: rgba(255, 255, 255, 0.2);
}

.table-header-cell.drag-over[b-q4tb59p795] {
    background-color: rgba(74, 144, 226, 0.2);
}

.column-drop-indicator[b-q4tb59p795] {
    position: absolute;
    top: 0;
    width: 3px;
    background: linear-gradient(to bottom, #4a90e2, #2e5c8a);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.5), 0 0 10px rgba(74, 144, 226, 0.3);
    z-index: 1000;
    pointer-events: none;
}

.table-row[b-q4tb59p795] {
    border-bottom: 1px solid rgba(196, 198, 209, 0.2);
    transition: background-color 0.2s ease;
    color: #191c1e;
}

.table-row:hover[b-q4tb59p795] {
    background-color: #f5f5f5;
}

.table-row-alt[b-q4tb59p795] {
    background-color: #f7f9fb;
}

.table-row-alt:hover[b-q4tb59p795] {
    background-color: #eff1f3;
}

.table-cell[b-q4tb59p795] {
    padding: 0.75rem 1rem;
    border-right: 1px solid rgba(196, 198, 209, 0.2);
}

.table-cell:last-child[b-q4tb59p795] {
    border-right: none;
}

.text-center[b-q4tb59p795] {
    text-align: center;
}

.text-primary[b-q4tb59p795] {
    color: #002555;
}

.font-bold[b-q4tb59p795] {
    font-weight: 700;
}

.font-mono[b-q4tb59p795] {
    font-family: 'Courier New', monospace;
}

.font-semibold[b-q4tb59p795] {
    font-weight: 600;
}

.text-xs[b-q4tb59p795] {
    font-size: 12px;
}

.py-3[b-q4tb59p795] {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Utility Classes */
.d-flex[b-q4tb59p795] {
    display: flex;
}

.gap-1[b-q4tb59p795] {
    gap: 0.25rem;
}

.align-items-center[b-q4tb59p795] {
    align-items: center;
}

.justify-content-center[b-q4tb59p795] {
    justify-content: center;
}

.form-check-input[b-q4tb59p795] {
    width: 1em;
    height: 1em;
    margin-top: 0.125em;
    vertical-align: top;
    border: 1px solid #747780;
    border-radius: 0.125em;
    cursor: pointer;
    accent-color: #002555;
}

.form-check-input:checked[b-q4tb59p795] {
    background-color: #002555;
    border-color: #002555;
}

.form-check-input:focus[b-q4tb59p795] {
    outline: none;
    ring: 1px;
    ring-color: #002555;
}

.checkbox-wrapper[b-q4tb59p795] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.checkbox-wrapper .form-check-input[b-q4tb59p795] {
    margin: 0;
    flex-shrink: 0;
}

.table-action-bar[b-q4tb59p795] {
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem 0;
}

.btn-add-plan[b-q4tb59p795] {
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #002555 0%, #1b3b6f 100%);
    color: #ffffff;
    font-size: 11px;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 0.125rem;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

.btn-add-plan:hover[b-q4tb59p795] {
    opacity: 0.85;
}

.btn-add-plan:active[b-q4tb59p795] {
    transform: scale(0.97);
}
/* /Components/Subs/APS/WOQuantityChartCpn.razor.rz.scp.css */
/* WOQuantityChartCpn - scoped styles intentionally empty.
   All woqc-* rules live in schedulePageV2.css so both
   WOQuantityChartCpn and WorkshopQuantityChartCpn share them
   without depending on Blazor scoped-CSS build order. */
/* /Components/Subs/APS/WorkshopQuantityChartCpn.razor.rz.scp.css */
/* WOQuantityChartCpn - scoped styles intentionally empty.
   All woqc-* rules live in schedulePageV2.css so both
   WOQuantityChartCpn and WorkshopQuantityChartCpn share them
   without depending on Blazor scoped-CSS build order. */
/* /Components/Subs/Controls/QCMeasurementHeader.razor.rz.scp.css */
.qch[b-gggfxc06gb] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 20px 24px 18px;
    border-bottom: 1px solid var(--color-outline-variant, #e2e6ec);
    background: var(--color-surface-container-low, #f8fafc);
}

.qch-main[b-gggfxc06gb] {
    flex: 1 1 280px;
    min-width: 0;
}

.qch-where[b-gggfxc06gb] {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 6px;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-on-surface-variant, #64748b);
}

/* The dots between QC / sample / position. */
.qch-where span + span[b-gggfxc06gb]::before {
    content: "•";
    margin: 0 9px;
}

.qch-title[b-gggfxc06gb] {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.015em;
    overflow-wrap: anywhere;
    color: var(--color-on-surface, #0f172a);
}

.qch-title--empty[b-gggfxc06gb] {
    font-weight: 400;
    font-style: italic;
    color: var(--color-on-surface-variant, #5f6368);
}

.qch-facts[b-gggfxc06gb] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.qch-fact[b-gggfxc06gb] {
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--color-outline-variant, #e2e6ec);
    border-radius: 999px;
    background: var(--color-surface, #fff);
    color: var(--color-on-surface, #0f172a);
}

.qch-fact--type[b-gggfxc06gb] {
    border-color: transparent;
    background: var(--color-primary, #1a73e8);
    color: var(--color-on-primary, #fff);
}

.qch-fact-name[b-gggfxc06gb] {
    font-weight: 500;
    color: var(--color-on-surface-variant, #64748b);
}
/* /Components/Subs/Controls/QCMeasurementNumberInput.razor.rz.scp.css */
.qcn[b-yge8t68z76] {
    --qcn-ink: #64748b;
    --qcn-line: var(--color-outline-variant, #cbd5e1);
    --qcn-tint: transparent;
}

.qcn--out[b-yge8t68z76] {
    --qcn-ink: #e11d48;
    --qcn-line: #e11d48;
    --qcn-tint: #ffe4e6;
}

.qcn--ok[b-yge8t68z76] {
    --qcn-ink: #16a34a;
    --qcn-line: #16a34a;
    --qcn-tint: #dcfce7;
}

.qcn-head[b-yge8t68z76] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-bottom: 8px;
}

.qcn-label[b-yge8t68z76] {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-on-surface, #0f172a);
}

.qcn-hint[b-yge8t68z76] {
    font-size: 13px;
    color: var(--color-on-surface-variant, #94a3b8);
}

.qcn-box[b-yge8t68z76] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 14px 0 20px;
    border: 2px solid var(--qcn-line);
    border-radius: 14px;
    background: var(--color-surface, #fff);
}

.qcn-box:focus-within[b-yge8t68z76] {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--qcn-line) 22%, transparent);
}

.qcn-hash[b-yge8t68z76] {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-on-surface-variant, #94a3b8);
}

.qcn-input[b-yge8t68z76] {
    flex: 1;
    min-width: 0;
    padding: 18px 0;
    font: inherit;
    font-size: 26px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--color-on-surface, #0f172a);
    background: transparent;
    border: 0;
    outline: none;
}

.qcn-flag[b-yge8t68z76] {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    font-size: 24px;
    border-radius: 10px;
    color: var(--qcn-ink);
    background: var(--qcn-tint);
}

.qcn-msg[b-yge8t68z76] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 10px 2px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--qcn-ink);
}

.qcn-msg .material-symbols-outlined[b-yge8t68z76] {
    font-size: 18px;
}
/* /Components/Subs/Controls/QCMeasurementPickList.razor.rz.scp.css */
.qcl-grid[b-44xmgor768] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
}

.qcl-card[b-44xmgor768] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 10px 14px;
    text-align: left;
    font: inherit;
    color: var(--color-on-surface, #1f1f1f);
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-outline-variant, #d9dce0);
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 120ms, border-color 120ms, color 120ms;
}

.qcl-card:hover[b-44xmgor768] {
    border-color: var(--color-primary, #1a73e8);
}

.qcl-card:focus-visible[b-44xmgor768] {
    outline: 2px solid var(--color-primary, #1a73e8);
    outline-offset: 2px;
}

.qcl-id[b-44xmgor768] {
    flex: none;
    min-width: 34px;
    padding: 4px 6px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    border-radius: 6px;
    background: var(--color-surface-variant, #eef0f3);
}

.qcl-text[b-44xmgor768] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qcl-main[b-44xmgor768] {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
}

.qcl-sub[b-44xmgor768] {
    font-size: 12.5px;
    line-height: 1.3;
    color: var(--color-on-surface-variant, #5f6368);
}

.qcl-check[b-44xmgor768] {
    flex: none;
    font-size: 22px;
    opacity: 0;
}

.qcl-card--chosen[b-44xmgor768] {
    color: var(--color-on-primary, #fff);
    background: var(--color-primary, #1a73e8);
    border-color: var(--color-primary, #1a73e8);
}

.qcl-card--chosen .qcl-id[b-44xmgor768] {
    background: rgba(255, 255, 255, 0.22);
}

.qcl-card--chosen .qcl-sub[b-44xmgor768] {
    color: inherit;
    opacity: 0.85;
}

.qcl-card--chosen .qcl-check[b-44xmgor768] {
    opacity: 1;
}

.qcl-empty[b-44xmgor768] {
    padding: 32px 16px;
    text-align: center;
    color: var(--color-on-surface-variant, #5f6368);
}

@media (prefers-reduced-motion: reduce) {
    .qcl-card[b-44xmgor768] {
        transition: none;
    }
}
/* /Components/Subs/Controls/QCMeasurementRangeBadge.razor.rz.scp.css */
.qcb[b-i56gpc89jc] {
    --qcb-ink: #64748b;
    --qcb-bg: #f1f5f9;
    --qcb-line: #e2e8f0;
    flex: none;
    min-width: 200px;
    padding: 12px 18px;
    border: 1px solid var(--qcb-line);
    border-radius: 14px;
    background: var(--qcb-bg);
    color: var(--qcb-ink);
}

.qcb--out[b-i56gpc89jc] {
    --qcb-ink: #be123c;
    --qcb-bg: #fff1f2;
    --qcb-line: #fecdd3;
}

.qcb--ok[b-i56gpc89jc] {
    --qcb-ink: #15803d;
    --qcb-bg: #f0fdf4;
    --qcb-line: #bbf7d0;
}

.qcb-state[b-i56gpc89jc] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.qcb-state .material-symbols-outlined[b-i56gpc89jc] {
    font-size: 18px;
}

.qcb-main[b-i56gpc89jc] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 4px;
}

.qcb-big[b-i56gpc89jc] {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.qcb-small[b-i56gpc89jc] {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.85;
}
/* /Components/Subs/Controls/QCMeasurementRangeSlider.razor.rz.scp.css */
.qcr[b-pt8bcpy1cw] {
    --qcr-state: #64748b;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 26px 18px;
    border: 1px solid var(--color-outline-variant, #e2e6ec);
    border-radius: 18px;
    background: var(--color-surface-container-low, #f8fafc);
}

.qcr--ok[b-pt8bcpy1cw] { --qcr-state: #16a34a; }
.qcr--out[b-pt8bcpy1cw] { --qcr-state: #e11d48; }

.qcr-top[b-pt8bcpy1cw] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.qcr-caption[b-pt8bcpy1cw] {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-on-surface-variant, #94a3b8);
}

.qcr-value[b-pt8bcpy1cw] {
    margin-top: 2px;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
    color: var(--qcr-state);
    text-shadow: 0 6px 22px color-mix(in srgb, var(--qcr-state) 35%, transparent);
}

.qcr-unit[b-pt8bcpy1cw] {
    margin-left: 10px;
    font-size: 20px;
    font-weight: 600;
    text-shadow: none;
    color: var(--color-on-surface-variant, #64748b);
}

.qcr-pill[b-pt8bcpy1cw] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--color-outline-variant, #e2e6ec);
    border-radius: 8px;
    background: var(--color-surface, #fff);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.qcr-dot[b-pt8bcpy1cw] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
}

.qcr-pill--saved .qcr-dot[b-pt8bcpy1cw] { background: #16a34a; }
.qcr-pill--dirty .qcr-dot[b-pt8bcpy1cw] { background: #f59e0b; }

.qcr-rail[b-pt8bcpy1cw] {
    position: relative;
    height: 44px;
    margin-top: 8px;
}

/* The track is drawn here; the native input on top of it only supplies the handle. It starts and ends at the handle's centre travel. */
.qcr-track[b-pt8bcpy1cw] {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 50%;
    height: 10px;
    margin-top: -5px;
    border-radius: 5px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.qcr-target[b-pt8bcpy1cw] {
    position: absolute;
    top: 50%;
    width: 2px;
    height: 30px;
    margin: -15px 0 0 -1px;
    border-radius: 1px;
    background: #0f172a;
}

.qcr-input[b-pt8bcpy1cw] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    background: transparent;
    cursor: grab;
    appearance: none;
    -webkit-appearance: none;
}

.qcr-input:active[b-pt8bcpy1cw] {
    cursor: grabbing;
}

.qcr-input[b-pt8bcpy1cw]::-webkit-slider-runnable-track {
    height: 100%;
    background: transparent;
}

.qcr-input[b-pt8bcpy1cw]::-moz-range-track {
    height: 100%;
    background: transparent;
}

.qcr-input[b-pt8bcpy1cw]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    margin-top: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--qcr-state) 0 34%, #fff 38%);
    border: 2px solid var(--qcr-state);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.28);
}

.qcr-input[b-pt8bcpy1cw]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--qcr-state) 0 34%, #fff 38%);
    border: 2px solid var(--qcr-state);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.28);
}

.qcr-input:focus-visible[b-pt8bcpy1cw] {
    outline: none;
}

.qcr-input:focus-visible[b-pt8bcpy1cw]::-webkit-slider-thumb {
    outline: 2px solid var(--color-primary, #1a73e8);
    outline-offset: 2px;
}

.qcr-input:focus-visible[b-pt8bcpy1cw]::-moz-range-thumb {
    outline: 2px solid var(--color-primary, #1a73e8);
    outline-offset: 2px;
}

.qcr-scale[b-pt8bcpy1cw],
.qcr-entered[b-pt8bcpy1cw] {
    position: relative;
    height: 24px;
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--color-on-surface-variant, #64748b);
}

.qcr-mark[b-pt8bcpy1cw],
.qcr-flag[b-pt8bcpy1cw] {
    position: absolute;
    top: 0;
    white-space: nowrap;
}

.qcr-mark[b-pt8bcpy1cw] {
    transform: translateX(-50%);
}

.qcr-mark small[b-pt8bcpy1cw],
.qcr-flag small[b-pt8bcpy1cw] {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.8;
}

.qcr-mark--target[b-pt8bcpy1cw] {
    padding: 1px 8px;
    border-radius: 6px;
    background: #e2e8f0;
    color: #0f172a;
    margin-top: -2px;
}

.qcr-flag[b-pt8bcpy1cw] {
    color: var(--qcr-state);
    font-weight: 700;
}

@media (max-width: 560px) {
    .qcr-value[b-pt8bcpy1cw] {
        font-size: 48px;
    }
}
/* /Components/Subs/Controls/QCMeasurementValueBox.razor.rz.scp.css */
.qcv-input[b-9y7ggqkpka] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font: inherit;
    font-size: 22px;
    font-weight: 600;
    color: var(--color-on-surface, #1f1f1f);
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-outline-variant, #d9dce0);
    border-radius: 10px;
}

.qcv-input--number[b-9y7ggqkpka] {
    font-variant-numeric: tabular-nums;
}

.qcv-input--text[b-9y7ggqkpka] {
    min-height: 180px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    resize: vertical;
}

.qcv-input[b-9y7ggqkpka]::placeholder {
    font-weight: 400;
    color: var(--color-on-surface-variant, #5f6368);
}

.qcv-input:hover[b-9y7ggqkpka] {
    border-color: var(--color-outline, #9aa0a6);
}

.qcv-input:focus-visible[b-9y7ggqkpka] {
    outline: 2px solid var(--color-primary, #1a73e8);
    outline-offset: 1px;
    border-color: transparent;
}
/* /Components/Subs/CustomControls/ColumnFilterDropdown.razor.rz.scp.css */
/* Excel-style column filter: the funnel in a header and its fixed-position panel.
   Same steel-blue family as the Column Settings page: ink #1f2d3d, hairline #dfe6ee, accent #0a6ed1 on tint #e8f1fc. */
.cfd[b-yk1ghbkc1z] { display: inline-flex; vertical-align: middle; }
.cfd-btn[b-yk1ghbkc1z] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: #6d86a0;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background .15s, border-color .15s, color .15s;
}
.cfd-btn:hover:not(:disabled)[b-yk1ghbkc1z],
.cfd-btn:focus-visible[b-yk1ghbkc1z] {
    border-color: #c5d6e8;
    background: #fff;
    color: #0854a0;
}
.cfd-btn:focus-visible[b-yk1ghbkc1z] { outline: 2px solid rgba(10, 110, 209, .35); outline-offset: 1px; }
.cfd-btn:disabled[b-yk1ghbkc1z] { opacity: .45; cursor: not-allowed; }
/* A filter is on: the funnel is filled so it can be told from across the table */
.cfd-btn--on[b-yk1ghbkc1z],
.cfd-btn--on:hover:not(:disabled)[b-yk1ghbkc1z] { border-color: #0a6ed1; background: #0a6ed1; color: #fff; }

.cfd-panel[b-yk1ghbkc1z] {
    position: fixed;
    z-index: 9999;
    width: 296px;
    min-width: 280px;
    max-width: calc(100vw - 16px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    resize: horizontal;
    background: #fff;
    border: 1px solid #d5dee8;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(31, 45, 61, .18), 0 2px 6px rgba(31, 45, 61, .08);
    font-size: 0.85rem;
    color: #1f2d3d;
    font-weight: normal;
    text-align: left;
}
.cfd-item[b-yk1ghbkc1z] { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 14px; border: none; background: transparent; color: #3a6186; text-align: left; cursor: pointer; }
.cfd-item:hover:not(:disabled)[b-yk1ghbkc1z] { background: #eaf1f8; color: #0854a0; }
.cfd-item:disabled[b-yk1ghbkc1z] { color: #a3b0be; cursor: default; }
.cfd-item--on[b-yk1ghbkc1z] { background: #eaf1f8; color: #0854a0; font-weight: 600; }
.cfd-sep[b-yk1ghbkc1z] { margin: 0; border: 0; border-top: 1px solid #e4eaf1; opacity: 1; }
.cfd-search[b-yk1ghbkc1z] {
    margin: 10px 12px 8px;
    padding: 6px 10px;
    border: 1px solid #d5dee8;
    border-radius: 9px;
    background: #f9fbfd;
    outline: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.cfd-search:focus[b-yk1ghbkc1z] { border-color: #0a6ed1; background: #fff; box-shadow: 0 0 0 3px rgba(10, 110, 209, .15); }
.cfd-list[b-yk1ghbkc1z] {
    flex: 1 1 auto;
    min-height: 120px;
    max-height: 260px;
    margin: 0 12px 8px;
    overflow-y: auto;
    border: 1px solid #e4eaf1;
    border-radius: 9px;
    background: #fff;
}
/* The row height (26px) is the item size of the Virtualize in the markup: keep the two in step. */
.cfd-row[b-yk1ghbkc1z] { display: flex; align-items: center; gap: 9px; height: 26px; margin: 0; padding: 0 10px; cursor: pointer; white-space: nowrap; }
.cfd-row:hover[b-yk1ghbkc1z] { background: #eef4fb; }
/* (Select All) stays at the top of the list while the values scroll under it */
.cfd-list > .cfd-row:first-child[b-yk1ghbkc1z] { position: sticky; top: 0; z-index: 1; border-bottom: 1px solid #e4eaf1; background: #f5f8fb; font-weight: 600; }
.cfd-list > .cfd-row:first-child:hover[b-yk1ghbkc1z] { background: #eaf1f8; }
.cfd-text[b-yk1ghbkc1z] { overflow: hidden; text-overflow: ellipsis; }
.cfd-empty[b-yk1ghbkc1z] { padding: 10px; color: #6b7a8c; font-size: 0.8rem; }
.cfd-box[b-yk1ghbkc1z] { position: relative; flex: 0 0 15px; width: 15px; height: 15px; border: 1.5px solid #8aa0b8; border-radius: 4px; background: #fff; transition: background .12s, border-color .12s; }
.cfd-box--on[b-yk1ghbkc1z] { background: #0a6ed1; border-color: #0a6ed1; }
.cfd-box--on[b-yk1ghbkc1z]::after { content: ""; position: absolute; left: 4px; top: 0; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cfd-box--part[b-yk1ghbkc1z] { border-color: #0a6ed1; background: #fff; }
.cfd-box--part[b-yk1ghbkc1z]::after { content: ""; position: absolute; left: 3px; top: 6px; width: 6px; height: 2px; border-radius: 1px; background: #0a6ed1; }
.cfd-foot[b-yk1ghbkc1z] { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 6px 12px 12px; }
.cfd-count[b-yk1ghbkc1z] { margin-right: auto; color: #64748b; font-size: 0.78rem; }
.cfd-count--none[b-yk1ghbkc1z] { color: #a12626; }
.cfd-ok[b-yk1ghbkc1z], .cfd-cancel[b-yk1ghbkc1z] { min-width: 64px; padding: 4px 14px; border: 1px solid #d5dee8; border-radius: 9px; background: #fff; color: #1f2d3d; cursor: pointer; transition: background .15s, border-color .15s; }
.cfd-cancel:hover[b-yk1ghbkc1z] { background: #eef4fb; border-color: #c5d6e8; }
.cfd-ok[b-yk1ghbkc1z] { border-color: #0a6ed1; background: #0a6ed1; color: #fff; font-weight: 600; }
.cfd-ok:hover:not(:disabled)[b-yk1ghbkc1z] { background: #0854a0; border-color: #0854a0; }
.cfd-ok:disabled[b-yk1ghbkc1z] { opacity: .45; cursor: not-allowed; }
.cfd-ok:focus-visible[b-yk1ghbkc1z], .cfd-cancel:focus-visible[b-yk1ghbkc1z] { outline: 2px solid rgba(10, 110, 209, .35); outline-offset: 1px; }

/* Single-choice mode: a short list of radio rows, nothing else */
.cfd-panel--single[b-yk1ghbkc1z] { width: 220px; min-width: 200px; resize: none; padding: 6px; }
.cfd-single[b-yk1ghbkc1z] { display: flex; flex-direction: column; gap: 2px; }
.cfd-choice[b-yk1ghbkc1z] { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 9px; background: transparent; color: #1f2d3d; text-align: left; cursor: pointer; transition: background .12s; }
.cfd-choice:hover[b-yk1ghbkc1z] { background: #eef4fb; }
.cfd-choice--on[b-yk1ghbkc1z] { background: #e8f1fc; font-weight: 600; }
.cfd-choice:focus-visible[b-yk1ghbkc1z] { outline: 2px solid rgba(10, 110, 209, .35); outline-offset: 1px; }
.cfd-radio[b-yk1ghbkc1z] { position: relative; flex: 0 0 16px; width: 16px; height: 16px; border: 1.5px solid #8aa0b8; border-radius: 50%; background: #fff; transition: border-color .12s; }
.cfd-choice--on .cfd-radio[b-yk1ghbkc1z] { border-color: #0a6ed1; }
.cfd-choice--on .cfd-radio[b-yk1ghbkc1z]::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #0a6ed1; }
/* /Components/Subs/CustomControls/ColumnRangeFilterDropdown.razor.rz.scp.css */
/* Range funnel: the funnel in a header and its fixed-position panel (same look as ColumnFilterDropdown). */
.crf[b-n9xjcah2y5] { display: inline-flex; vertical-align: middle; }
.crf-btn[b-n9xjcah2y5] { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #6d86a0; cursor: pointer; font-size: 0.85rem; transition: background .15s, border-color .15s, color .15s; }
.crf-btn:hover[b-n9xjcah2y5], .crf-btn:focus-visible[b-n9xjcah2y5] { border-color: #c5d6e8; background: #fff; color: #0854a0; }
.crf-btn:focus-visible[b-n9xjcah2y5] { outline: 2px solid rgba(10, 110, 209, .35); outline-offset: 1px; }
.crf-btn--on[b-n9xjcah2y5], .crf-btn--on:hover[b-n9xjcah2y5] { border-color: #0a6ed1; background: #0a6ed1; color: #fff; }

.crf-panel[b-n9xjcah2y5] { position: fixed; z-index: 9999; width: 260px; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #d5dee8; border-radius: 14px; box-shadow: 0 14px 36px rgba(31, 45, 61, .18), 0 2px 6px rgba(31, 45, 61, .08); font-size: 0.85rem; color: #1f2d3d; font-weight: normal; text-align: left; }
.crf-item[b-n9xjcah2y5] { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 14px; border: none; background: transparent; color: #3a6186; text-align: left; cursor: pointer; }
.crf-item:hover:not(:disabled)[b-n9xjcah2y5] { background: #eaf1f8; color: #0854a0; }
.crf-item:disabled[b-n9xjcah2y5] { color: #a3b0be; cursor: default; }
.crf-sep[b-n9xjcah2y5] { margin: 0; border: 0; border-top: 1px solid #e4eaf1; opacity: 1; }
.crf-fields[b-n9xjcah2y5] { display: flex; gap: 10px; padding: 12px; }
.crf-fields label[b-n9xjcah2y5] { display: flex; flex: 1 1 0; min-width: 0; flex-direction: column; gap: 4px; color: #64748b; font-size: 0.78rem; }
.crf-fields input[b-n9xjcah2y5] { width: 100%; padding: 6px 10px; border: 1px solid #d5dee8; border-radius: 9px; background: #f9fbfd; color: #1f2d3d; font-size: 0.85rem; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.crf-fields input:focus[b-n9xjcah2y5] { border-color: #0a6ed1; background: #fff; box-shadow: 0 0 0 3px rgba(10, 110, 209, .15); }
.crf-foot[b-n9xjcah2y5] { display: flex; justify-content: flex-end; gap: 8px; padding: 0 12px 12px; }
.crf-ok[b-n9xjcah2y5], .crf-cancel[b-n9xjcah2y5] { min-width: 64px; padding: 4px 14px; border: 1px solid #d5dee8; border-radius: 9px; background: #fff; color: #1f2d3d; cursor: pointer; transition: background .15s, border-color .15s; }
.crf-cancel:hover[b-n9xjcah2y5] { background: #eef4fb; border-color: #c5d6e8; }
.crf-ok[b-n9xjcah2y5] { border-color: #0a6ed1; background: #0a6ed1; color: #fff; font-weight: 600; }
.crf-ok:hover[b-n9xjcah2y5] { background: #0854a0; border-color: #0854a0; }
.crf-ok:focus-visible[b-n9xjcah2y5], .crf-cancel:focus-visible[b-n9xjcah2y5] { outline: 2px solid rgba(10, 110, 209, .35); outline-offset: 1px; }
/* /Components/Subs/CustomControls/ContextMenu.razor.rz.scp.css */
.context-menu-overlay[b-tmehtpbkgk] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9998;
    background: transparent;
}

/* ---- Built-in search box ---- */
.context-menu-search[b-tmehtpbkgk] {
    padding: 6px 8px 4px;
    border-bottom: 1px solid #e5e5e5;
}

.context-menu-search-input[b-tmehtpbkgk] {
    width: 100%;
    box-sizing: border-box;
    height: 28px;
    padding: 0 8px;
    border: 1px solid #d0d7e2;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    background: #f8f9ff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.context-menu-search-input:focus[b-tmehtpbkgk] {
    border-color: #3755c3;
    box-shadow: 0 0 0 2px rgba(55, 85, 195, 0.12);
    background: #fff;
}

.context-menu[b-tmehtpbkgk] {
    position: fixed;
    z-index: 9999;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    padding: 4px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    animation: contextMenuFadeIn-b-tmehtpbkgk 0.15s ease-out;
    transform-origin: top left;
}

@keyframes contextMenuFadeIn-b-tmehtpbkgk {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.context-menu-list[b-tmehtpbkgk] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.context-menu-item[b-tmehtpbkgk] {
    position: relative;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    user-select: none;
}

.context-menu-item:hover:not(.disabled)[b-tmehtpbkgk] {
    background-color: #f5f5f5;
}

.context-menu-item.disabled[b-tmehtpbkgk] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.context-menu-item-content[b-tmehtpbkgk] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.context-menu-icon[b-tmehtpbkgk] {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.context-menu-icon-symbol[b-tmehtpbkgk] {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    color: #666;
}

.context-menu-text[b-tmehtpbkgk] {
    flex: 1;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

.context-menu-shortcut[b-tmehtpbkgk] {
    font-size: 12px;
    color: #999;
    margin-left: 16px;
    font-family: 'Courier New', monospace;
}

.context-menu-arrow[b-tmehtpbkgk] {
    font-size: 10px;
    color: #999;
    margin-left: auto;
    transition: transform 0.15s ease;
}

.context-menu-item:hover:not(.disabled) .context-menu-arrow[b-tmehtpbkgk] {
    transform: translateX(2px);
}

.context-menu-separator[b-tmehtpbkgk] {
    height: 1px;
    background-color: #e5e5e5;
    margin: 4px 8px;
}

.context-menu-group[b-tmehtpbkgk] {
    position: relative;
}

.context-menu-submenu[b-tmehtpbkgk] {
    position: absolute;
    left: 100%;
    top: -4px;
    margin-left: 2px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    padding: 4px 0;
    animation: submenuSlideIn-b-tmehtpbkgk 0.15s ease-out;
}

/* Invisible bridge over the gap between the group row and its submenu (menu padding + margin-left), so the
   pointer stays inside the hovered group while crossing it instead of closing the submenu. */
.context-menu-submenu[b-tmehtpbkgk]::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -16px;
    width: 16px;
}

@keyframes submenuSlideIn-b-tmehtpbkgk {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Active/Selected state for better feedback */
.context-menu-item:active:not(.disabled)[b-tmehtpbkgk] {
    background-color: #e0e0e0;
}

/* Keyboard focus support */
.context-menu-item:focus[b-tmehtpbkgk] {
    outline: 2px solid #4CAF50;
    outline-offset: -2px;
}
/* /Components/Subs/CustomControls/SelectCustom.razor.rz.scp.css */
.dropdown[b-s3aa7yz6m7] {
    position: relative;
    display: inline-block;
}
.dropdown-input[b-s3aa7yz6m7] {
    padding-right: 20px;
    background-image: url(/img/icon/icons8-arrow-down-30SL.png);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: calc(100% - 5px) center;
    /*background-color: #E0F4FF;*/
    /*border: .0625rem solid #bfbfbf;*/
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 1rem;
    font-weight: 350;
    padding-right: 15px;
    height: 1.625rem;
    outline: none;
    color: #000;
    /*font-weight: 400;*/
    line-height: normal;
}
/*.dropdown-input:focus {
    outline: none;
    border: 1px solid #305A80;
    border-radius: 0;
}*/
.dropdown-input:hover[b-s3aa7yz6m7] {
    cursor: pointer;
}
.dropdown-list[b-s3aa7yz6m7] {
    background: none;
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    border: .0625rem solid #bfbfbf;
    border-top: none;
    border-radius: 0;
    display: none;
    z-index: 1000;
    top: 1.625rem;
}
.dropdown-list[b-s3aa7yz6m7]::-webkit-scrollbar {
    display: none;
}
.category[b-s3aa7yz6m7] {
    padding: 2px 8px;
    background-color: white;
    cursor: pointer;
    font-size: .875rem;
    /*font-weight: 400;*/
    color: #000;
}
.category:hover[b-s3aa7yz6m7] {
    background-color: #cccccc;
}
/* /Components/Subs/CustomControls/SelectCustomBlackInput.razor.rz.scp.css */
.dropdown[b-2y7dyi1roq] {
    position: relative;
    display: inline-block;
}
.dropdown-input[b-2y7dyi1roq] {
    padding-right: 20px;
    background-image: url(/img/icon/icons8-arrow-down-30SL.png);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: calc(100% - 5px) center;
    /*background-color: #E0F4FF;*/
    /*border: .0625rem solid #bfbfbf;*/
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 1rem;
    font-weight: 350;
    padding-right: 15px;
    height: 1.625rem;
    outline: none;
    color: #000;
    /*font-weight: 400;*/
    line-height: normal;
}
/*.dropdown-input:focus {
    outline: none;
    border: 1px solid #305A80;
    border-radius: 0;
}*/
.dropdown-input:hover[b-2y7dyi1roq] {
    cursor: pointer;
}
.dropdown-list[b-2y7dyi1roq] {
    background: none;
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    border: .0625rem solid #bfbfbf;
    border-top: none;
    border-radius: 0;
    display: none;
    z-index: 1000;
    top: 1.625rem;
}
.dropdown-list[b-2y7dyi1roq]::-webkit-scrollbar {
    display: none;
}
.category[b-2y7dyi1roq] {
    padding: 2px 8px;
    background-color: white;
    cursor: pointer;
    font-size: .875rem;
    /*font-weight: 400;*/
    color: #000;
}
.category:hover[b-2y7dyi1roq] {
    background-color: #cccccc;
}
/* /Components/Subs/CustomControls/TablecustomV2.razor.rz.scp.css */
.sap-table[b-idsj69xnft] {
    border-collapse: collapse; /* or 'separate' if you need spacing */
    width: 100%;
}

    .sap-table[b-idsj69xnft], .sap-table th[b-idsj69xnft], .sap-table td[b-idsj69xnft] {
        border: 1px solid #e6e6e6;
    }

        .sap-table td[b-idsj69xnft] {
            border-bottom: 1px solid #ececec;
        }

        .sap-table thead th[b-idsj69xnft] {
            background: #fafafa;
            border-bottom: 2px solid #ddd;
        }

.curr-table tbody[b-idsj69xnft] {
    border: none !important;
}
/* /Components/Subs/CustomControls/TableCustomV3.razor.rz.scp.css */
.sap-table[b-7etwm8xqsg] {
    border-collapse: collapse; /* or 'separate' if you need spacing */
    width: 100%;
}

    .sap-table[b-7etwm8xqsg], .sap-table th[b-7etwm8xqsg], .sap-table td[b-7etwm8xqsg] {
        border: 1px solid #e6e6e6;
    }

        .sap-table td[b-7etwm8xqsg] {
            border-bottom: 1px solid #ececec;
            max-width: 3000px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

            .sap-table td.curr-sticky-col[b-7etwm8xqsg] {
                max-width: none;
                overflow: visible;
                text-overflow: clip;
                white-space: normal;
            }

        .sap-table thead th[b-7etwm8xqsg] {
            background: #fafafa;
            border-bottom: 2px solid #ddd;
        }

.curr-table tbody[b-7etwm8xqsg] {
    border: none !important;
}
    .curr-table tbody tr[b-7etwm8xqsg] {
        background-color: white; /* hoặc màu bạn muốn */
    }
.sap-table[b-7etwm8xqsg] {
    border-top: none!important;
}

.sap-row-highlighted[b-7etwm8xqsg] {
    background-color: #fffadf !important;
}

/* /Components/Subs/EditParamModal.razor.rz.scp.css */
/* /Components/Subs/FactoryBusinessFlow/FbfWidgetCards.razor.rz.scp.css */
/* Ported from DragCanvas's inline .dc-* card styles (fbf- prefix), scoped to this component. */

.fbf-wo[b-c0fc6dzxts] {
    padding: 8px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    box-sizing: border-box;
}

.fbf-wo-sub[b-c0fc6dzxts] {
    font-size: 10px;
    color: #94a3b8;
}

.fbf-metric-row[b-c0fc6dzxts] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    flex-shrink: 0;
}

.fbf-tag-btn[b-c0fc6dzxts] {
    display: flex;
    flex-direction: column;
    border: 1px solid #e9eef5;
    background: #f8fafc;
    border-radius: 7px;
    padding: 6px 8px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.fbf-tag-btn-label[b-c0fc6dzxts] {
    font-size: 10px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 3px;
}

.fbf-tag-btn-val[b-c0fc6dzxts] {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.fbf-bars[b-c0fc6dzxts] {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 22px;
    margin-top: 2px;
}

.fbf-bar[b-c0fc6dzxts] {
    width: 7px;
    border-radius: 2px 2px 0 0;
    flex-shrink: 0;
}

/* Camera */
.fbf-cam-body[b-c0fc6dzxts] {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

.fbf-cam-video-frame[b-c0fc6dzxts] {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.fbf-cam-live-badge[b-c0fc6dzxts] {
    position: absolute;
    bottom: 6px;
    left: 8px;
    background: rgba(0,0,0,.5);
    padding: 2px 8px;
    border-radius: 20px;
    z-index: 2;
}

.fbf-cam-live[b-c0fc6dzxts] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #1D9E75;
}

.fbf-cam-live-dot[b-c0fc6dzxts] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1D9E75;
    animation: fbf-pulse-b-c0fc6dzxts 1.5s infinite;
}

@keyframes fbf-pulse-b-c0fc6dzxts {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

/* Sticker */
.fbf-sticker-body[b-c0fc6dzxts] {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 6px 10px 10px;
    gap: 3px;
    overflow: hidden;
    box-sizing: border-box;
}

.fbf-sticker-big[b-c0fc6dzxts] {
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1;
}

.fbf-sticker-sub[b-c0fc6dzxts] {
    font-size: 10px;
    color: #94a3b8;
}

/* Chart */
/* Absolutely filled (not height:100%): the ECharts container inside uses height:100%, which collapses
   to 0 when the ancestor chain is a flex item without a definite height. */
.fbf-chart-body[b-c0fc6dzxts] {
    position: absolute;
    inset: 0;
    padding: 4px 10px 10px;
    box-sizing: border-box;
}

.fbf-empty[b-c0fc6dzxts] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #94a3b8;
    font-size: 12px;
}

/* News */
.fbf-news-feature-card[b-c0fc6dzxts] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
}

.fbf-news-image-container[b-c0fc6dzxts] {
    position: relative;
    width: 100%;
    height: 40%;
    min-height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f1f5f9;
}

.fbf-news-image[b-c0fc6dzxts] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fbf-news-card-body[b-c0fc6dzxts] {
    flex: 1;
    min-height: 0;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fbf-news-title-row[b-c0fc6dzxts] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.fbf-news-title[b-c0fc6dzxts] {
    font-size: 13px;
    font-weight: 600;
    color: #2c4a65;
    margin: 0 0 4px 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.fbf-news-pin-badge[b-c0fc6dzxts] {
    font-size: 11px;
    flex-shrink: 0;
}

.fbf-news-description[b-c0fc6dzxts] {
    flex: 1;
    min-height: 0;
    color: #6c757d;
    font-size: 11px;
    line-height: 1.5;
    margin: 0 0 6px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.fbf-news-footer[b-c0fc6dzxts] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding-top: 6px;
    border-top: 1px solid #e9ecef;
}

.fbf-news-date[b-c0fc6dzxts] {
    font-size: 10px;
    color: #adb5bd;
}

/* IoT panels (Output / Energy) */
.fbf-ar-panel[b-c0fc6dzxts] {
    width: 100%;
    height: 100%;
    padding: 19px;
    border-radius: 0;
    background: rgba(0, 20, 40, 0.85);
    color: #fff;
    text-transform: uppercase;
    box-sizing: border-box;
    overflow: hidden;
}

.fbf-output-panel[b-c0fc6dzxts] {
    color: #00ff9d;
    box-shadow: inset 0 0 15px rgba(0, 255, 157, 0.1);
}

.fbf-energy-panel[b-c0fc6dzxts] {
    color: #ffcc00;
    box-shadow: inset 0 0 15px rgba(255, 204, 0, 0.1);
}

.fbf-panel-title[b-c0fc6dzxts] {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.825rem;
    margin-bottom: 11px;
    letter-spacing: 1px;
    opacity: 0.9;
}

.fbf-main-value-container[b-c0fc6dzxts] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.fbf-main-value[b-c0fc6dzxts] {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 15px currentColor;
}

.fbf-unit[b-c0fc6dzxts] {
    font-size: 1rem;
    margin-left: 4px;
}

.fbf-panel-icon[b-c0fc6dzxts] {
    width: 36px;
    height: 36px;
    fill: currentColor;
    filter: drop-shadow(0 0 10px currentColor);
}

.fbf-progress-section[b-c0fc6dzxts] {
    margin-top: 8px;
}

.fbf-progress-label[b-c0fc6dzxts] {
    font-size: 0.75rem;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}

.fbf-progress-bar-track[b-c0fc6dzxts] {
    width: 100%;
    height: 9px;
    background: rgba(0, 255, 157, 0.2);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 157, 0.4);
}

.fbf-progress-bar-fill[b-c0fc6dzxts] {
    height: 100%;
    background: #00ff9d;
    border-radius: 5px;
    box-shadow: 0 0 15px #00ff9d;
    transition: width 1s ease-out;
}

.fbf-chart-container[b-c0fc6dzxts] {
    width: 100%;
    height: 50px;
    margin-top: 11px;
    position: relative;
    border-bottom: 1px solid rgba(255, 204, 0, 0.3);
    border-left: 1px solid rgba(255, 204, 0, 0.3);
    overflow: hidden;
    box-sizing: border-box;
}

.fbf-sparkline-svg[b-c0fc6dzxts] {
    width: 100%;
    height: 100%;
    overflow: visible;
    display: block;
    box-sizing: border-box;
}

.fbf-sparkline-path[b-c0fc6dzxts] {
    fill: none;
    stroke: #ffcc00;
    stroke-width: 2;
    filter: drop-shadow(0 0 5px #ffcc00);
    vector-effect: non-scaling-stroke;
}
/* /Components/Subs/NewsDashboardCpn.razor.rz.scp.css */
.news-dashboard-page[b-xldwvws52k] {
    padding: 0;
    max-width: 100%;
    margin: 0;
    min-height: auto; /* Thay vì calc(100vh - 3rem) */
    overflow: visible;
}

.dashboard-split-container[b-xldwvws52k] {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 3rem);
    gap: 0;
}

    .dashboard-split-container[style*="display: none"][b-xldwvws52k] {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

.dashboard-left-panel[b-xldwvws52k],
.dashboard-right-panel[b-xldwvws52k] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: visible; /* THAY ĐỔI: từ hidden sang visible */
}

.dashboard-left-panel[b-xldwvws52k] {
    border-right: 2px solid #e9ecef;
    background: #f8f9fa;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.dashboard-right-panel[b-xldwvws52k] {
    background: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
/* Panel Header */
.panel-header[b-xldwvws52k] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0.75rem 1.5rem;
    height: 60px;
    background: linear-gradient(135deg, #2c4a65, #3d5c7a);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.dashboard-left-panel .panel-header[b-xldwvws52k] {
    justify-content: space-between;
}

.panel-title[b-xldwvws52k] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.panel-content[b-xldwvws52k] {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    position: relative;
    min-height: 0;
}

.calendar-content[b-xldwvws52k] {
    padding: 0;
    background: white;
    overflow: visible !important; /* ĐỔI: từ auto !important sang visible !important */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.btn-settings[b-xldwvws52k] {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: none;
}

    .btn-settings img[b-xldwvws52k] {
        filter: brightness(0) invert(1);
    }

/* Settings Panel */
.news-settings-panel[b-xldwvws52k] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideDown-b-xldwvws52k 0.3s ease;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

    .news-settings-panel[b-xldwvws52k]::-webkit-scrollbar {
        width: 8px;
    }

    .news-settings-panel[b-xldwvws52k]::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .news-settings-panel[b-xldwvws52k]::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

        .news-settings-panel[b-xldwvws52k]::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

.settings-container[b-xldwvws52k] {
    padding: 2rem;
}

.settings-section[b-xldwvws52k] {
    margin-bottom: 2rem;
}

    .settings-section:last-child[b-xldwvws52k] {
        margin-bottom: 0;
    }

.section-header[b-xldwvws52k] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

    .section-header h3[b-xldwvws52k] {
        font-size: 1.25rem;
        color: #2c4a65;
        margin: 0;
        font-weight: 600;
    }

.btn-collapse[b-xldwvws52k] {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: all 0.2s;
}

    .btn-collapse:hover[b-xldwvws52k] {
        color: #2c4a65;
    }

/* Form */
.add-feature-form[b-xldwvws52k] {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    animation: fadeIn-b-xldwvws52k 0.3s ease;
}

.form-row[b-xldwvws52k] {
    margin-bottom: 1.5rem;
}

.form-group[b-xldwvws52k] {
    display: flex;
    flex-direction: column;
}

    .form-group label[b-xldwvws52k] {
        font-weight: 500;
        color: #495057;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

.form-input[b-xldwvws52k],
.form-textarea[b-xldwvws52k] {
    padding: 0.75rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

    .form-input:focus[b-xldwvws52k],
    .form-textarea:focus[b-xldwvws52k] {
        outline: none;
        border-color: #2c4a65;
        box-shadow: 0 0 0 3px rgba(44, 74, 101, 0.1);
    }

.form-textarea[b-xldwvws52k] {
    resize: vertical;
    min-height: 80px;
}

/* Form Actions */
.form-actions[b-xldwvws52k] {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-add[b-xldwvws52k],
.btn-cancel[b-xldwvws52k] {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-add[b-xldwvws52k] {
    background: #28a745;
    color: white;
}

    .btn-add:hover[b-xldwvws52k] {
        background: #218838;
        transform: translateY(-2px);
    }

    .btn-add img[b-xldwvws52k] {
        filter: brightness(0) invert(1);
    }

.btn-cancel[b-xldwvws52k] {
    background: #6c757d;
    color: white;
}

    .btn-cancel:hover[b-xldwvws52k] {
        background: #5a6268;
    }

/* Features Management List */
.features-management-list[b-xldwvws52k] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.feature-management-item[b-xldwvws52k] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.2s;
}

    .feature-management-item.active[b-xldwvws52k] {
        border-color: #28a745;
        background: #f0fff4;
    }

    .feature-management-item:hover[b-xldwvws52k] {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

.feature-details[b-xldwvws52k] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.feature-text[b-xldwvws52k] {
    flex: 1;
    min-width: 0;
}

    .feature-text h4[b-xldwvws52k] {
        font-size: 1rem;
        font-weight: 600;
        color: #212529;
        margin: 0 0 0.25rem 0;
    }

    .feature-text p[b-xldwvws52k] {
        font-size: 0.875rem;
        color: #6c757d;
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

.btn-delete[b-xldwvws52k] {
    background: none !important;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
    opacity: 0.6;
    color: #dc3545;
}

    .btn-delete:hover[b-xldwvws52k] {
        background: none !important;
        opacity: 1;
    }

.management-actions[b-xldwvws52k] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-edit-mini[b-xldwvws52k] {
    background: none !important;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
    opacity: 0.6;
    color: #6c757d;
}

    .btn-edit-mini:hover[b-xldwvws52k] {
        background: none !important;
        opacity: 1;
        color: #2c4a65;
    }

.features-management-list[b-xldwvws52k]::-webkit-scrollbar {
    width: 8px;
}

.features-management-list[b-xldwvws52k]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.features-management-list[b-xldwvws52k]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

    .features-management-list[b-xldwvws52k]::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/* Main Content */
.news-dashboard-content[b-xldwvws52k] {
    /* Inline style từ Razor xử lý */
}

.loading-container[b-xldwvws52k] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    gap: 1rem;
}

.loading-text[b-xldwvws52k] {
    color: #6c757d;
    font-size: 1.1rem;
}

.empty-state[b-xldwvws52k] {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.empty-image[b-xldwvws52k] {
    width: 200px;
    margin-bottom: 2rem;
    opacity: 0.6;
}

.empty-state h2[b-xldwvws52k] {
    font-size: 1.75rem;
    color: #2c4a65;
    margin-bottom: 1rem;
}

.empty-state p[b-xldwvws52k] {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Features Grid */
.features-grid[b-xldwvws52k] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card[b-xldwvws52k] {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .feature-card:hover[b-xldwvws52k] {
        transform: translateY(-8px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }

.card-image-container[b-xldwvws52k] {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image[b-xldwvws52k] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .card-image[b-xldwvws52k] {
    transform: scale(1.1);
}

.card-overlay[b-xldwvws52k] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(44, 74, 101, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.feature-card:hover .card-overlay[b-xldwvws52k] {
    opacity: 1;
}

.view-detail[b-xldwvws52k] {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.card-body[b-xldwvws52k] {
    padding: 1.5rem;
}

.card-title[b-xldwvws52k] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c4a65;
    margin: 0 0 0.75rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.card-description[b-xldwvws52k] {
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-footer[b-xldwvws52k] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.card-date[b-xldwvws52k] {
    color: #adb5bd;
    font-size: 0.875rem;
}

.btn-read-more[b-xldwvws52k] {
    background: none;
    border: none;
    color: #2c4a65;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-read-more:hover[b-xldwvws52k] {
        color: #1f3449;
        transform: translateX(4px);
    }

/* Feature Detail Modal */
.feature-modal-overlay[b-xldwvws52k] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
    animation: fadeIn-b-xldwvws52k 0.3s ease;
}

.feature-modal[b-xldwvws52k] {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp-b-xldwvws52k 0.3s ease;
}

.modal-header[b-xldwvws52k] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
}

    .modal-header h2[b-xldwvws52k] {
        margin: 0;
        font-size: 1.5rem;
        color: #2c4a65;
    }

.btn-close-modal[b-xldwvws52k] {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

    .btn-close-modal:hover[b-xldwvws52k] {
        background: #f8f9fa;
        color: #212529;
    }

.modal-body[b-xldwvws52k] {
    padding: 2rem;
}

.modal-image[b-xldwvws52k] {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.modal-text[b-xldwvws52k] {
    color: #495057;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Animations */
@keyframes slideDown-b-xldwvws52k {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn-b-xldwvws52k {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-xldwvws52k {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Left Column Layout */
.dashboard-left-column[b-xldwvws52k] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* ĐỔI LẠI: từ visible sang hidden */

    min-height: 0;
    gap: 0;
}
.calendar-section[b-xldwvws52k] {
    flex: 1 1 auto;
    border-right: 2px solid #e9ecef;
    background: #f8f9fa;
    overflow: visible; /* ← ĐỔI thành visible */
    min-height: 600px;
    display: flex;
    flex-direction: column;
}
/* Dashboard Top Row - Container chính */
.dashboard-top-row[b-xldwvws52k] {
    display: flex;
    flex: 1 1 auto;
    overflow: hidden;
    min-height: 0;
    gap: 0;
}

/* WRAPPER CHO CALENDAR - Đảm bảo cùng chiều cao với News Dashboard */
.calendar-wrapper-container[b-xldwvws52k] {
    flex: 1; /* Chia đều không gian với dashboard-right-column */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    background: #f8f9fa;
    border-right: 2px solid #e9ecef;
}

/* Dashboard Left Column */
.dashboard-left-column[b-xldwvws52k] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    gap: 0;
}

/* Calendar Section */
.calendar-section[b-xldwvws52k] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

/* Dashboard Left Panel */
.dashboard-left-panel[b-xldwvws52k] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

/* Panel Content */
.panel-content[b-xldwvws52k] {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    position: relative;
    min-height: 0;
}

/* Calendar Content */
.calendar-content[b-xldwvws52k] {
    padding: 0;
    background: white;
    overflow: auto !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

/* Calendar Wrapper */
.calendar-wrapper[b-xldwvws52k] {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
    flex: 1;
}

    .calendar-wrapper[b-xldwvws52k]::-webkit-scrollbar {
        height: 8px;
    }

    .calendar-wrapper[b-xldwvws52k]::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .calendar-wrapper[b-xldwvws52k]::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

        .calendar-wrapper[b-xldwvws52k]::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

/* Dashboard Right Column - News Dashboard */
.dashboard-right-column[b-xldwvws52k] {
    flex: 1; /* Chia đều không gian với calendar-wrapper-container */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.dashboard-right-panel[b-xldwvws52k] {
    background: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid[b-xldwvws52k] {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .calendar-wrapper-container[b-xldwvws52k] {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .dashboard-split-container[b-xldwvws52k] {
        flex-direction: column;
    }

    .dashboard-top-row[b-xldwvws52k] {
        flex-direction: column;
    }

    .calendar-wrapper-container[b-xldwvws52k] {
        border-right: none;
        border-bottom: 2px solid #e9ecef;
        min-height: 400px;
        max-height: 50vh;
    }

    .dashboard-left-column[b-xldwvws52k] {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: auto;
        min-height: 0;
        gap: 0;
    }

    .calendar-section[b-xldwvws52k] {
        flex: 1;
        overflow: auto;
        min-height: 350px;
    }

    .calendar-content[b-xldwvws52k] {
        overflow-x: auto;
        overflow-y: visible;
    }

    .dashboard-right-column[b-xldwvws52k] {
        flex: 1;
        min-height: 400px;
    }

    .stickers-section[b-xldwvws52k] {
        flex: 0 0 auto;
    }

    .dashboard-left-panel[b-xldwvws52k] {
        border-right: none;
        border-bottom: 2px solid #e9ecef;
        max-height: none;
    }
}
.summary-section[b-xldwvws52k] {
    flex: 0 0 100px;
    border-right: 2px solid #e9ecef;
    border-top: 2px solid #e9ecef;
    background: white;
    display: flex;
    flex-direction: column;
    min-height: 100px;
    max-height: 100px;
    flex-shrink: 0;
}





   



.dashboard-top-row[b-xldwvws52k] {
    display: flex;
    flex: 1 1 auto;
    overflow: hidden; /* ĐỔI LẠI: từ visible sang hidden */
    min-height: 0;
}
/* Right Column */
.dashboard-right-column[b-xldwvws52k] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    max-height: calc(100vh ); /* 60px = header height */
}

/* Announcements Sections */
.announcements-section[b-xldwvws52k] {
    margin-bottom: 3rem;
}

    .announcements-section.older-section[b-xldwvws52k] {
        padding-top: 2rem;
        border-top: 2px solid #e9ecef;
    }

.section-title[b-xldwvws52k] {
    font-size: 1.5rem;
    color: #2c4a65;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-new[b-xldwvws52k] {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: pulse-b-xldwvws52k 2s infinite;
}

@keyframes pulse-b-xldwvws52k {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.feature-card.new-feature[b-xldwvws52k] {
    border: 2px solid #ff6b6b;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.2);
}

    .feature-card.new-feature:hover[b-xldwvws52k] {
        box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
    }

.loading-container-small[b-xldwvws52k] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.empty-state-small[b-xldwvws52k] {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

/* STICKERS SECTION - QUAN TRỌNG */
.stickers-section[b-xldwvws52k] {
    flex: 0 0 auto; /* THAY ĐỔI: Cho phép tự động điều chỉnh chiều cao */
    border-top: 2px solid #e9ecef;
    background: white;
    display: flex;
    flex-direction: column;
    overflow: visible; /* THAY ĐỔI: từ hidden sang visible */
}

.stickers-header[b-xldwvws52k] {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #2c4a65, #3d5c7a);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stickers-content[b-xldwvws52k] {
    flex: 1;
    overflow: visible; /* THAY ĐỔI: từ auto sang visible */
    padding: 1rem;
}



.toggle-icon[b-xldwvws52k] {
    font-size: 1rem;
    transition: transform 0.3s ease;
}
/* Unified Header Bar - Gộp 3 thanh */
.unified-header-bar[b-xldwvws52k] {
    background: linear-gradient(135deg, #2c4a65, #3d5c7a);
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 6rem;
    z-index: 8;
    border-radius: 0.8rem 0.8rem 0 0;
}
.header-left[b-xldwvws52k] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.header-center[b-xldwvws52k] {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.btn-toggle-dashboard[b-xldwvws52k] {
    background: none;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .btn-toggle-dashboard:hover[b-xldwvws52k] {
        background: none;
        transform: scale(1.2);
    }

.toggle-icon[b-xldwvws52k] {
    font-size: 0.9rem;
}

.header-title[b-xldwvws52k] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}


.header-right[b-xldwvws52k] {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.btn-settings[b-xldwvws52k] {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-settings img[b-xldwvws52k] {
        filter: brightness(0) invert(1);
    }

.sticker-grid[b-xldwvws52k] {
    display: grid;
    gap: 1.5rem;
}
/* Responsive */
@media (max-width: 1024px) {
    .features-grid[b-xldwvws52k] {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .dashboard-split-container[b-xldwvws52k] {
        flex-direction: column;
    }

    .dashboard-left-panel[b-xldwvws52k] {
        border-right: none;
        border-bottom: 2px solid #e9ecef;
        max-height: 50vh;
    }

    .dashboard-left-column[b-xldwvws52k] {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden; /* ĐỔI LẠI: từ visible sang hidden */
        min-height: 0;
        gap: 0;
    }
    .stickers-section[b-xldwvws52k] {
        flex: 0 0 auto;
    }

    .calendar-section[b-xldwvws52k] {
        flex: 1 1 auto;
        border-right: 2px solid #e9ecef;
        background: #f8f9fa;
        overflow: hidden; /* ĐỔI LẠI: từ visible sang hidden */
        min-height: 0;
        display: flex;
        flex-direction: column;
    }


   

  

    .stat-card[b-xldwvws52k] {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
    }

    .panel-header[b-xldwvws52k] {
        padding: 1rem;
    }

    .panel-title[b-xldwvws52k] {
        font-size: 1.25rem;
    }

    .panel-content[b-xldwvws52k] {
        flex: 1;
        overflow-y: auto;
        padding: 1.5rem;
        position: relative;
        min-height: 0;
    }



    .features-grid[b-xldwvws52k] {
        grid-template-columns: 1fr;
    }

    .settings-container[b-xldwvws52k] {
        padding: 1rem;
    }

    .form-actions[b-xldwvws52k] {
        flex-direction: column;
    }

    .btn-add[b-xldwvws52k],
    .btn-cancel[b-xldwvws52k] {
        width: 100%;
        justify-content: center;
    }
}
/* /Components/Subs/SapFioriControls/SfCalendar.razor.rz.scp.css */
.sap-calendar[b-zi914bv0iq] {
    width: 280px;
    padding: 12px;
    background: #f7f7f7;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    font-family: Arial, sans-serif;
}

/* HEADER */
.sap-calendar__header[b-zi914bv0iq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sap-calendar__title[b-zi914bv0iq] {
    font-weight: 600;
    color: #0070f2;
    cursor: pointer;
}

.sap-calendar__nav[b-zi914bv0iq] {
    cursor: pointer;
    color: #0070f2;
    font-size: 18px;
}

/* WEEKDAYS */
.sap-calendar__weekdays[b-zi914bv0iq] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 8px;
}

.sap-calendar__weekdays--with-week[b-zi914bv0iq] {
    grid-template-columns: 30px repeat(7, 1fr);
}

.sap-calendar__weekdays div[b-zi914bv0iq] {
    text-align: center;
    font-size: 12px;
    color: #6a6d70;
}

/* GRID */
.sap-calendar__grid[b-zi914bv0iq] {
    display: grid;
    gap: 6px;
}

.sap-calendar__grid--with-week[b-zi914bv0iq] {
    grid-template-columns: 30px repeat(7, 1fr);
}

.sap-calendar__grid--month[b-zi914bv0iq],
.sap-calendar__grid--year[b-zi914bv0iq] {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

/* WEEK NUMBER */
.sap-calendar__week[b-zi914bv0iq] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #888;
}

/* DAY */
.sap-calendar__day[b-zi914bv0iq] {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #32363a;
}

    .sap-calendar__day:hover[b-zi914bv0iq] {
        background: #eaeaea;
    }

/* STATES */
.sap-calendar__day--muted[b-zi914bv0iq] {
    color: #a0a0a0;
}

.sap-calendar__day--weekend[b-zi914bv0iq] {
    background: #eeeeee;
}

.sap-calendar__day--today[b-zi914bv0iq] {
    border: 2px solid #0070f2;
}

.sap-calendar__day--active[b-zi914bv0iq] {
    border: 2px solid #0070f2;
    color: #0070f2;
    font-weight: 600;
}

/* MONTH / YEAR CELL */
.sap-calendar__cell[b-zi914bv0iq] {
    text-align: center;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    color: #0070f2;
}

    .sap-calendar__cell:hover[b-zi914bv0iq] {
        background: #eaeaea;
    }
/* /Components/Subs/Tickets/AccountRejectModal.razor.rz.scp.css */
/* The modal body is centred by ModalCpn; the form reads left to right. */
.arm-body[b-80h3bsnciw] { text-align: left; }
.arm-label[b-80h3bsnciw] { display: block; font-size: .8rem; font-weight: 600; color: #475569; margin-bottom: 6px; }
.arm-input[b-80h3bsnciw] { width: 100%; min-width: 0; padding: 10px 14px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: .875rem; color: #1e293b; outline: none; background: #fff; }
.arm-input:focus[b-80h3bsnciw] { border-color: #5DA2CF; }
.arm-error[b-80h3bsnciw] { margin-top: 8px; color: #b91c1c; font-size: 13px; overflow-wrap: anywhere; }
/* /Components/Subs/Tickets/AccountRequestDetail.razor.rz.scp.css */
.ard[b-6bwp4223cp] { padding: 16px 24px; display: flex; flex-direction: column; gap: 24px; }

.ard-basic[b-6bwp4223cp] { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #e2e8f0; }
.ard-pair[b-6bwp4223cp] { display: flex; gap: 8px; align-items: baseline; }
.ard-pair .styleContentModal[b-6bwp4223cp] { white-space: nowrap; }

.ard-section-title[b-6bwp4223cp] { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #5DA2CF; font-size: .82rem; font-weight: 700; color: #374d61; letter-spacing: .08em; }
.ard-section-title .material-symbols-outlined[b-6bwp4223cp] { font-size: 1.1rem; color: #5DA2CF; }

.ard-row[b-6bwp4223cp] { display: grid; grid-template-columns: 160px 1fr; gap: 10px; align-items: center; margin-bottom: 14px; }
.ard-remark[b-6bwp4223cp] { white-space: pre-wrap; }

.ard-levels[b-6bwp4223cp] { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ard-level[b-6bwp4223cp] { border: 1px solid #e2e8f0; border-radius: 8px; padding: 14px; background: #f8fafc; }
.ard-level-title[b-6bwp4223cp] { font-size: .7rem; font-weight: 700; color: #5DA2CF; letter-spacing: .04em; margin-bottom: 8px; }
.ard-notes[b-6bwp4223cp] { margin-top: 14px; margin-bottom: 0; }

@media (max-width: 768px) {
    .ard-basic[b-6bwp4223cp], .ard-levels[b-6bwp4223cp] { grid-template-columns: 1fr; }
    .ard-row[b-6bwp4223cp] { grid-template-columns: 1fr; gap: 4px; }
}
/* /Components/Subs/Tickets/TicketBaseCpn.razor.rz.scp.css */
/* Read-only because another approver's level is pending: the user-picker buttons of the form are hidden too */
.approval-readonly[b-tcmo4jkytw]  .sapEmloyIdBtn {
    display: none;
}
/* /Components/Subs/Tickets/TicketDetailModal.razor.rz.scp.css */
/* The app creator fields are shown read-only (disabled) - keep their text black instead of the browser's grey */
.custom-app-detail[b-ke3nsee5kb]  input,
.custom-app-detail[b-ke3nsee5kb]  textarea {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    opacity: 1 !important;
}
/* /Components/Subs/Widgets/Templates/AIDashboard/AIDashboardSkeleton.razor.rz.scp.css */
.aids-widget[b-5yca3bsveh] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 8px;
    background: #0f172a;
}

.aids-row[b-5yca3bsveh] {
    display: flex;
    gap: 5px;
}

.aids-box[b-5yca3bsveh] {
    flex: 1;
    height: 16px;
    border-radius: 4px;
    background: #1e293b;
    border: 1px solid #334155;
}

.aids-small[b-5yca3bsveh] {
    height: 12px;
}

.aids-tall[b-5yca3bsveh] {
    height: 22px;
}

.aids-alert[b-5yca3bsveh] {
    border-color: #e63946;
    background: rgba(230, 57, 70, 0.15);
}
/* /Components/Subs/Widgets/Templates/AIDashboard/AIDashInputPickerModal.razor.rz.scp.css */
/* ModalCpn centres its body text; the table needs its own left alignment. */
.aidp-hint[b-7ef36fogqt] {
    text-align: left;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 8px;
}

.aidp-wrap[b-7ef36fogqt] {
    max-height: 60vh;
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: left;
}

.aidp-tbl[b-7ef36fogqt] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
    color: #0f172a;
}

.aidp-tbl th[b-7ef36fogqt] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f1f5f9;
    color: #334155;
    font-weight: 600;
    text-align: left;
    padding: 10px 16px;
    border-bottom: 1px solid #cbd5e1;
    white-space: nowrap;
}

.aidp-tbl td[b-7ef36fogqt] {
    text-align: left;
    padding: 10px 16px;
    border-bottom: 1px solid #e2e8f0;
    word-break: break-word;
}

.aidp-tbl tbody tr:last-child td[b-7ef36fogqt] {
    border-bottom: none;
}

.aidp-tbl tbody tr:nth-child(even)[b-7ef36fogqt] {
    background: #f8fafc;
}

.aidp-tbl tbody tr[b-7ef36fogqt] {
    cursor: pointer;
}

.aidp-tbl tbody tr:hover[b-7ef36fogqt] {
    background: #e0f2fe;
}

.aidp-tbl tbody tr.aidp-selected[b-7ef36fogqt] {
    background: #bae6fd;
    font-weight: 600;
}

.aidp-empty[b-7ef36fogqt] {
    padding: 1rem;
    text-align: center;
    color: #64748b;
}
/* /Components/Subs/Widgets/Templates/AIWidget/AdvancedChatRenderer.razor.rz.scp.css */
.aiwa-page[b-rsva71kc3w] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #f8fafc;
    overflow: hidden;
    container-type: inline-size;
    container-name: aiwa-container;
}

.aiwa-topbar[b-rsva71kc3w] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 64px;
    flex-shrink: 0;
    padding: 0 24px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.aiwa-topbar-back[b-rsva71kc3w] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    background: #fff;
    color: #1e293b;
    cursor: pointer;
}

.aiwa-topbar-back:hover[b-rsva71kc3w] {
    background: #f1f5f9;
}

.aiwa-topbar-title[b-rsva71kc3w] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aiwa-topbar-actions[b-rsva71kc3w] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.aiwa-search[b-rsva71kc3w] {
    position: relative;
    display: flex;
    align-items: center;
}

.aiwa-search i[b-rsva71kc3w] {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 0.8rem;
    pointer-events: none;
}

.aiwa-search input[b-rsva71kc3w] {
    width: 220px;
    background: #f1f5f9;
    border: none;
    border-radius: 999px;
    padding: 8px 16px 8px 32px;
    font-size: 0.85rem;
    outline: none;
    box-sizing: border-box;
}

.aiwa-search input:focus[b-rsva71kc3w] {
    box-shadow: 0 0 0 2px #3b82f6;
}

.aiwa-date[b-rsva71kc3w] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    white-space: nowrap;
}

.aiwa-date:hover[b-rsva71kc3w] {
    background: #f8fafc;
}

.aiwa-bell[b-rsva71kc3w] {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
}

.aiwa-bell:hover[b-rsva71kc3w] {
    background: #e2e8f0;
}

.aiwa-bell--active[b-rsva71kc3w] {
    background: #dbeafe;
    color: #2563eb;
}

.aiwa-top-menu[b-rsva71kc3w] {
    position: relative;
}

.aiwa-top-backdrop[b-rsva71kc3w] {
    position: absolute;
    inset: 0;
    z-index: 30;
}

.aiwa-ctx-menu[b-rsva71kc3w] {
    position: absolute;
    z-index: 31;
    min-width: 140px;
    padding: 4px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

.aiwa-ctx-menu-item[b-rsva71kc3w] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #334155;
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
}

.aiwa-ctx-menu-item:hover[b-rsva71kc3w] {
    background: #eff6ff;
    color: #1d4ed8;
}

.aiwa-top-popover[b-rsva71kc3w] {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 31;
    width: 320px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

.aiwa-top-popover-title[b-rsva71kc3w] {
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
}

.aiwa-top-popover-empty[b-rsva71kc3w] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px 16px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.aiwa-top-popover-empty i[b-rsva71kc3w] {
    font-size: 1.6rem;
}

.aiwa-bell-dot[b-rsva71kc3w] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
}

.aiwa-noti-list[b-rsva71kc3w] {
    max-height: 320px;
    overflow-y: auto;
}

.aiwa-noti-item[b-rsva71kc3w] {
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}

.aiwa-noti-item:last-child[b-rsva71kc3w] {
    border-bottom: none;
}

.aiwa-noti-item:hover[b-rsva71kc3w] {
    background: #f8fafc;
}

.aiwa-noti-item--unread[b-rsva71kc3w] {
    background: #eff6ff;
}

.aiwa-noti-title[b-rsva71kc3w] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

.aiwa-noti-desc[b-rsva71kc3w] {
    margin-top: 2px;
    font-size: 0.8rem;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aiwa-noti-time[b-rsva71kc3w] {
    margin-top: 4px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.aiwa-body[b-rsva71kc3w] {
    flex: 1;
    display: flex;
    gap: 20px;
    padding: 20px;
    overflow: hidden;
    min-height: 0;
}

.aiwa-widget[b-rsva71kc3w] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.aiwa-sidebar[b-rsva71kc3w] {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    overflow-y: overlay;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.aiwa-sidebar:hover[b-rsva71kc3w] {
    scrollbar-color: rgba(100, 116, 139, 0.4) transparent;
}

.aiwa-history-toggle-btn[b-rsva71kc3w] {
    display: none;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
}

.aiwa-history-toggle-btn:hover[b-rsva71kc3w] {
    background: rgba(255, 255, 255, 0.25);
}

.aiwa-sidebar-backdrop[b-rsva71kc3w] {
    display: none;
}

.aiwa-history-card[b-rsva71kc3w] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    padding: 18px;
    flex-shrink: 0;
}

.aiwa-history-heading[b-rsva71kc3w] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.aiwa-history-heading h3[b-rsva71kc3w] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
}

.aiwa-history-heading h3 i[b-rsva71kc3w] {
    color: #3b82f6;
}

.aiwa-new-chat-btn[b-rsva71kc3w] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}

.aiwa-new-chat-btn:not(:disabled):hover[b-rsva71kc3w] {
    background: #dbeafe;
    border-color: #bfdbfe;
}

.aiwa-new-chat-btn:disabled[b-rsva71kc3w] {
    opacity: 0.6;
    cursor: default;
}

.aiwa-history-search[b-rsva71kc3w] {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.aiwa-history-search i[b-rsva71kc3w] {
    position: absolute;
    left: 10px;
    color: #94a3b8;
    font-size: 0.75rem;
    pointer-events: none;
}

.aiwa-history-search input[b-rsva71kc3w] {
    width: 100%;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    padding: 7px 10px 7px 28px;
    font-size: 0.78rem;
    outline: none;
    box-sizing: border-box;
    color: #334155;
}

.aiwa-history-search input:focus[b-rsva71kc3w] {
    box-shadow: 0 0 0 2px #a855f7;
}

.aiwa-history-list[b-rsva71kc3w] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 170px;
    overflow-y: auto;
    overflow-y: overlay;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.aiwa-history-list:hover[b-rsva71kc3w] {
    scrollbar-color: rgba(100, 116, 139, 0.4) transparent;
}

.aiwa-history-empty[b-rsva71kc3w] {
    color: #94a3b8;
    font-size: 0.8rem;
}

.aiwa-history-error[b-rsva71kc3w] {
    color: #b91c1c;
    font-size: 0.78rem;
    line-height: 1.4;
}

.aiwa-history-retry[b-rsva71kc3w] {
    align-self: flex-start;
    padding: 4px 8px;
    border: 1px solid #fecaca;
    border-radius: 5px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 0.75rem;
    cursor: pointer;
}

.aiwa-history-item-wrap[b-rsva71kc3w] {
    position: relative;
    display: flex;
}

.aiwa-history-item[b-rsva71kc3w] {
    width: 100%;
    overflow: hidden;
    padding: 9px 26px 9px 10px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.8rem;
    line-height: 1.35;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.aiwa-history-item-time[b-rsva71kc3w] {
    margin-right: 6px;
    color: #94a3b8;
    font-size: 0.72rem;
}

.aiwa-history-item:hover[b-rsva71kc3w],
.aiwa-history-item--active[b-rsva71kc3w] {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.aiwa-history-rename-input[b-rsva71kc3w] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #3b82f6;
    border-radius: 7px;
    background: #fff;
    color: #1e293b;
    font-size: 0.8rem;
    line-height: 1.35;
    outline: none;
    box-sizing: border-box;
}

.aiwa-history-delete-btn[b-rsva71kc3w] {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #94a3b8;
    font-size: 0.7rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s, background .15s, color .15s;
}

.aiwa-history-item-wrap:hover .aiwa-history-delete-btn[b-rsva71kc3w] {
    opacity: 1;
    pointer-events: auto;
}

.aiwa-history-delete-btn:hover[b-rsva71kc3w] {
    background: #fee2e2;
    color: #dc2626;
}

.aiwa-history-delete-btn:disabled[b-rsva71kc3w] {
    cursor: default;
}

.aiwa-history-item:disabled[b-rsva71kc3w] {
    cursor: default;
}

.aiwa-suggest-card[b-rsva71kc3w] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    padding: 18px;
    flex-shrink: 0;
}

.aiwa-suggest-card h3[b-rsva71kc3w] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
}

.aiwa-suggest-card h3 i[b-rsva71kc3w] {
    color: #f59e0b;
}

.aiwa-suggest-list[b-rsva71kc3w] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aiwa-suggest-list button[b-rsva71kc3w] {
    text-align: left;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
}

.aiwa-suggest-list button:not(:disabled):hover[b-rsva71kc3w] {
    border-color: #c084fc;
    background: #faf5ff;
    color: #7e22ce;
}

.aiwa-suggest-list button:disabled[b-rsva71kc3w] {
    opacity: 0.6;
    cursor: default;
}

.aiwa-promo-card[b-rsva71kc3w] {
    flex: 1;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    color: #fff;
    background: linear-gradient(to bottom right, #312e81, #0f172a);
    border-radius: 12px;
}

.aiwa-promo-icon[b-rsva71kc3w] {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.aiwa-promo-icon i[b-rsva71kc3w] {
    font-size: 1.6rem;
    color: #fbbf24;
}

.aiwa-promo-card h3[b-rsva71kc3w] {
    margin: 0 0 8px 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.aiwa-promo-card p[b-rsva71kc3w] {
    margin: 0;
    font-size: 0.75rem;
    color: #cbd5e1;
    line-height: 1.6;
}

@container aiwa-container (max-width: 700px) {
    .aiwa-topbar[b-rsva71kc3w] {
        display: none;
    }

    .aiwa-body[b-rsva71kc3w] {
        position: relative;
        padding: 0;
    }

    .aiwa-widget[b-rsva71kc3w] {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .aiwa-history-toggle-btn[b-rsva71kc3w] {
        display: flex;
    }

    .aiwa-sidebar-backdrop[b-rsva71kc3w] {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 15;
        background: rgba(15, 23, 42, 0.4);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .aiwa-sidebar-backdrop--open[b-rsva71kc3w] {
        opacity: 1;
        pointer-events: auto;
    }

    .aiwa-sidebar[b-rsva71kc3w] {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 20;
        width: 280px;
        max-width: 80%;
        background: #f8fafc;
        padding: 16px;
        box-shadow: 2px 0 16px rgba(0, 0, 0, 0.15);
        transform: translateX(-100%);
        transition: transform 0.2s ease;
        overflow-y: auto;
    }

    .aiwa-sidebar--open[b-rsva71kc3w] {
        transform: translateX(0);
    }

    .aiwa-history-card[b-rsva71kc3w] {
        width: 100%;
    }

    .aiwa-history-list[b-rsva71kc3w] {
        max-height: none;
    }

    .aiwa-suggest-card[b-rsva71kc3w] {
        display: none;
    }
}

.aiwa-header[b-rsva71kc3w] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(to right, #581c87, #3730a3);
    color: #fff;
    flex-shrink: 0;
}

.aiwa-avatar[b-rsva71kc3w] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aiwa-avatar--sm[b-rsva71kc3w] {
    width: 28px;
    height: 28px;
    background: #9333ea;
    color: #fff;
    margin-top: 4px;
}

.aiwa-avatar--user[b-rsva71kc3w] {
    background: #2563eb;
}

.aiwa-title[b-rsva71kc3w] {
    font-weight: 700;
    font-size: 0.9rem;
}

.aiwa-subtitle[b-rsva71kc3w] {
    font-size: 0.7rem;
    color: #d8b4fe;
}

.aiwa-messages[b-rsva71kc3w] {
    flex: 1;
    overflow-y: auto;
    overflow-y: overlay;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f8fafc;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.aiwa-messages:hover[b-rsva71kc3w] {
    scrollbar-color: rgba(100, 116, 139, 0.4) transparent;
}

.aiwa-messages[b-rsva71kc3w]::-webkit-scrollbar,
.aiwa-sidebar[b-rsva71kc3w]::-webkit-scrollbar,
.aiwa-history-list[b-rsva71kc3w]::-webkit-scrollbar {
    width: 6px;
}

.aiwa-messages[b-rsva71kc3w]::-webkit-scrollbar-track,
.aiwa-sidebar[b-rsva71kc3w]::-webkit-scrollbar-track,
.aiwa-history-list[b-rsva71kc3w]::-webkit-scrollbar-track {
    background: transparent;
}

.aiwa-messages[b-rsva71kc3w]::-webkit-scrollbar-thumb,
.aiwa-sidebar[b-rsva71kc3w]::-webkit-scrollbar-thumb,
.aiwa-history-list[b-rsva71kc3w]::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 999px;
}

.aiwa-messages:hover[b-rsva71kc3w]::-webkit-scrollbar-thumb,
.aiwa-sidebar:hover[b-rsva71kc3w]::-webkit-scrollbar-thumb,
.aiwa-history-list:hover[b-rsva71kc3w]::-webkit-scrollbar-thumb {
    background-color: rgba(100, 116, 139, 0.4);
}

.aiwa-msg[b-rsva71kc3w] {
    display: flex;
    gap: 10px;
}

.aiwa-msg--user[b-rsva71kc3w] {
    flex-direction: row-reverse;
}

.aiwa-bubble[b-rsva71kc3w] {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}

.aiwa-bubble--ai[b-rsva71kc3w] {
    max-width: 90%;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-top-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    color: #334155;
    white-space: normal;
    overflow-x: auto;
}

.aiwa-bubble--user[b-rsva71kc3w] {
    background: #2563eb;
    color: #fff;
    border-top-right-radius: 4px;
}

.aiwa-typing[b-rsva71kc3w] {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top-left-radius: 4px;
    border-radius: 16px;
    padding: 10px 14px;
    height: 20px;
}

.aiwa-typing span[b-rsva71kc3w] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
    animation: aiwa-bounce-b-rsva71kc3w 1s infinite ease-in-out;
}

.aiwa-typing span:nth-child(2)[b-rsva71kc3w] {
    animation-delay: 0.15s;
}

.aiwa-typing span:nth-child(3)[b-rsva71kc3w] {
    animation-delay: 0.3s;
}

@keyframes aiwa-bounce-b-rsva71kc3w {
    0%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-4px);
    }
}

.aiwa-input-area[b-rsva71kc3w] {
    padding: 12px;
    background: #fff;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.aiwa-form[b-rsva71kc3w] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aiwa-attach-btn[b-rsva71kc3w] {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.aiwa-visually-hidden[b-rsva71kc3w] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.aiwa-camera-btn[b-rsva71kc3w] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.aiwa-disabled[b-rsva71kc3w] {
    pointer-events: none;
    opacity: .5;
}
.aiwa-camera-btn[b-rsva71kc3w],
label.aiwa-attach-btn[b-rsva71kc3w] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.aiwa-attach-btn:not(:disabled):hover[b-rsva71kc3w] {
    background: #e2e8f0;
    color: #475569;
}

.aiwa-attach-btn:disabled[b-rsva71kc3w] {
    opacity: 0.5;
    cursor: default;
}

.aiwa-test-btn--active[b-rsva71kc3w] {
    background: #a855f7;
    color: #fff;
}

.aiwa-test-btn--active:not(:disabled):hover[b-rsva71kc3w] {
    background: #9333ea;
    color: #fff;
}

.aiwa-input-wrap[b-rsva71kc3w] {
    position: relative;
    flex: 1;
    min-width: 0;
}

.aiwa-input[b-rsva71kc3w] {
    display: block;
    width: 100%;
    max-height: 160px;
    background: #f1f5f9;
    border: none;
    border-radius: 999px;
    padding: 10px 48px 10px 16px;
    font-family: inherit;
    font-size: 0.85rem;
    line-height: 1.4;
    resize: none;
    overflow-y: auto;
    outline: none;
    box-sizing: border-box;
}

.aiwa-input:focus[b-rsva71kc3w] {
    box-shadow: 0 0 0 2px #a855f7;
}

/* Holds the mic button and (once there is something to send) the Send button side by side */
.aiwa-send-group[b-rsva71kc3w] {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
}

.aiwa-form--send .aiwa-input[b-rsva71kc3w] {
    padding-right: 86px;
}

.aiwa-send-btn[b-rsva71kc3w] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #9333ea;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.aiwa-send-btn:disabled[b-rsva71kc3w] {
    opacity: 0.5;
    cursor: default;
}

.aiwa-send-btn:not(:disabled):hover[b-rsva71kc3w] {
    background: #7e22ce;
}

.aiwa-tools[b-rsva71kc3w],
.aiwa-tools-inline[b-rsva71kc3w] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Two-row input (long or multi-line text): text row on top, button row underneath */
.aiwa-form--multi[b-rsva71kc3w] {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "input input"
        "tools send";
    row-gap: 8px;
}

.aiwa-form--multi .aiwa-input-wrap[b-rsva71kc3w] {
    grid-area: input;
}

.aiwa-form--multi .aiwa-tools[b-rsva71kc3w] {
    grid-area: tools;
}

.aiwa-form--multi .aiwa-send-group[b-rsva71kc3w] {
    position: static;
    transform: none;
    grid-area: send;
}

.aiwa-form--multi .aiwa-input[b-rsva71kc3w] {
    padding: 10px 16px;
    border-radius: 18px;
}

/* Phone "+" popup */
.aiwa-plus-btn--open[b-rsva71kc3w] {
    background: #e2e8f0;
    color: #475569;
}

.aiwa-plus-backdrop[b-rsva71kc3w] {
    position: fixed;
    inset: 0;
    z-index: 19;
}

.aiwa-plus-menu[b-rsva71kc3w] {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    z-index: 20;
    width: min(290px, calc(100vw - 48px));
    padding: 6px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
}

.aiwa-plus-item[b-rsva71kc3w] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 10px;
    border: none;
    border-radius: 12px;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.aiwa-plus-item:not(:disabled):hover[b-rsva71kc3w] {
    background: #f1f5f9;
}

.aiwa-plus-item:disabled[b-rsva71kc3w] {
    opacity: 0.5;
    cursor: default;
}

.aiwa-plus-item-icon[b-rsva71kc3w] {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3e8ff;
    color: #9333ea;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aiwa-plus-item-text[b-rsva71kc3w] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.aiwa-plus-item-title[b-rsva71kc3w] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

.aiwa-plus-item-desc[b-rsva71kc3w] {
    font-size: 0.75rem;
    line-height: 1.3;
    color: #64748b;
}

.aiwa-attach-preview[b-rsva71kc3w] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 4px 10px 4px;
}

.aiwa-attach-notice[b-rsva71kc3w] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: -4px 4px 10px 4px;
    font-size: 13px;
    color: #b45309;
}

.aiwa-attach-chip[b-rsva71kc3w] {
    position: relative;
    display: flex;
    align-items: center;
}

.aiwa-attach-chip-img[b-rsva71kc3w] {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.aiwa-attach-chip-file[b-rsva71kc3w] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #f1f5f9;
    border-radius: 10px;
    max-width: 160px;
}

.aiwa-attach-chip-file i[b-rsva71kc3w] {
    color: #64748b;
    flex-shrink: 0;
}

.aiwa-attach-chip-name[b-rsva71kc3w] {
    font-size: 0.75rem;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aiwa-attach-chip-remove[b-rsva71kc3w] {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1e293b;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    cursor: pointer;
}

.aiwa-bubble-col[b-rsva71kc3w] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    max-width: 80%;
    min-width: 0;
}

.aiwa-bubble-col .aiwa-bubble[b-rsva71kc3w] {
    max-width: 100%;
}

.aiwa-attach-group[b-rsva71kc3w] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 4px;
}

.aiwa-attach-time[b-rsva71kc3w],
.aiwa-attach-status[b-rsva71kc3w] {
    flex-basis: 100%;
    text-align: right;
}

.aiwa-attach-time[b-rsva71kc3w] {
    font-size: 0.7rem;
    color: #94a3b8;
}

.aiwa-ai-col[b-rsva71kc3w] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    max-width: 80%;
}

/* Row under an AI bubble for message actions (download, ...); add new buttons here, right-aligned. */
.aiwa-ai-bubble-wrap[b-rsva71kc3w] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    max-width: 100%;
    min-width: 0;
}

    .aiwa-ai-bubble-wrap .aiwa-bubble--ai[b-rsva71kc3w] {
        max-width: 100%;
    }

.aiwa-msg-actions[b-rsva71kc3w] {
    margin-top: 6px;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.aiwa-msg-pdf-btn[b-rsva71kc3w] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
    font-size: 0.72rem;
    cursor: pointer;
}

.aiwa-msg-pdf-btn:hover:not(:disabled)[b-rsva71kc3w] {
    background: #f1f5f9;
    color: #334155;
}

.aiwa-msg-pdf-btn:focus-visible[b-rsva71kc3w] {
    outline: 2px solid #64748b;
    outline-offset: 2px;
}

.aiwa-msg-pdf-btn:disabled[b-rsva71kc3w] {
    opacity: 0.6;
    cursor: not-allowed;
}

.aiwa-speech-actions[b-rsva71kc3w] {
    margin-top: 4px;
    display: flex;
    justify-content: flex-start;
    gap: 6px;
}

.aiwa-mic-btn--recording[b-rsva71kc3w] {
    background: #dc2626;
    animation: aiwa-mic-pulse-b-rsva71kc3w 1.2s ease-in-out infinite;
}

.aiwa-mic-btn--recording:not(:disabled):hover[b-rsva71kc3w] {
    background: #b91c1c;
}

@keyframes aiwa-mic-pulse-b-rsva71kc3w {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}

.aiwa-ai-attach-group[b-rsva71kc3w] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
}

/* Attachments follow the sender's side: user (right) vs AI (left). */
.aiwa-bubble-col .aiwa-ai-attach-group[b-rsva71kc3w] {
    justify-content: flex-end;
}

.aiwa-bubble-col[b-rsva71kc3w],
.aiwa-attach-group[b-rsva71kc3w] {
    align-self: flex-end;
}

.aiwa-ai-col[b-rsva71kc3w] {
    align-self: flex-start;
}

.aiwa-attach-image-btn[b-rsva71kc3w],
.aiwa-attach-file-dl[b-rsva71kc3w],
.aiwa-lightbox-btn[b-rsva71kc3w] {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.aiwa-attach-image-btn[b-rsva71kc3w] { line-height: 0; }

.aiwa-attach-file-dl[b-rsva71kc3w] {
    margin-left: auto;
    color: #475569;
    padding: 4px 6px;
}

.aiwa-attach-file-dl:hover[b-rsva71kc3w] { color: #1d4ed8; }

.aiwa-lightbox[b-rsva71kc3w] {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(15, 23, 42, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 16px 16px;
}

.aiwa-lightbox-bar[b-rsva71kc3w] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #fff;
}

.aiwa-lightbox-name[b-rsva71kc3w] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.85rem;
}

.aiwa-lightbox-btn[b-rsva71kc3w] {
    color: #fff;
    font-size: 1.1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.aiwa-lightbox-btn:hover[b-rsva71kc3w] { background: rgba(255, 255, 255, 0.18); }

.aiwa-lightbox[b-rsva71kc3w] { outline: none; }

.aiwa-attach-file-dl--first[b-rsva71kc3w] { margin-left: auto; }
.aiwa-attach-file-dl--first + .aiwa-attach-file-dl[b-rsva71kc3w] { margin-left: 0; }

.aiwa-lightbox-frame[b-rsva71kc3w] {
    width: min(960px, 100%);
    height: 100%;
    border: none;
    border-radius: 8px;
    background: #fff;
}

.aiwa-lightbox-text[b-rsva71kc3w] {
    width: min(960px, 100%);
    max-height: 100%;
    overflow: auto;
    margin: 0;
    padding: 16px;
    border-radius: 8px;
    background: #fff;
    color: #1e293b;
    font-size: 0.82rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.aiwa-lightbox-msg[b-rsva71kc3w] {
    color: #fff;
    font-size: 0.9rem;
}

.aiwa-lightbox-count[b-rsva71kc3w] {
    font-size: 0.8rem;
    opacity: 0.8;
}

.aiwa-lightbox-nav[b-rsva71kc3w] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

.aiwa-lightbox-nav:hover[b-rsva71kc3w] { background: rgba(255, 255, 255, 0.3); }
.aiwa-lightbox-nav--prev[b-rsva71kc3w] { left: 16px; }
.aiwa-lightbox-nav--next[b-rsva71kc3w] { right: 16px; }

.aiwa-lightbox-img[b-rsva71kc3w] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.aiwa-attach-image[b-rsva71kc3w] {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

@container aiwa-container (max-width: 700px) {
    .aiwa-attach-image[b-rsva71kc3w] {
        width: 110px;
        height: 110px;
    }

    .aiwa-bubble-col[b-rsva71kc3w],
    .aiwa-ai-col[b-rsva71kc3w] {
        max-width: 88%;
    }
}

.aiwa-attach-file[b-rsva71kc3w] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f1f5f9;
    border-radius: 10px;
    min-width: 180px;
    max-width: 260px;
}

.aiwa-attach-file-icon[b-rsva71kc3w] {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
    background: #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aiwa-attach-file-info[b-rsva71kc3w] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.aiwa-attach-file-name[b-rsva71kc3w] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aiwa-attach-file-size[b-rsva71kc3w] {
    font-size: 0.7rem;
    color: #94a3b8;
}

.aiwa-attach-status[b-rsva71kc3w] {
    font-size: 0.7rem;
    color: #94a3b8;
}

/* ---------- Standalone chat page (FullPage) ----------
   App-style phone layout (hamburger header, greeting + suggestion pills above a rounded input,
   push-style history drawer) that keeps the original palette and every original function.
   Everything is scoped to .aiwa-page--full inside the same 700px container query, so desktop and
   the dashboard widgets are unaffected. */
.aiwa-empty-pills[b-rsva71kc3w],
.aiwa-header-new-btn[b-rsva71kc3w],
.aiwa-drawer-brand[b-rsva71kc3w],
.aiwa-history-rename-btn[b-rsva71kc3w],
.aiwa-camera-btn[b-rsva71kc3w],
.aiwa-plus-wrap[b-rsva71kc3w] {
    display: none;
}

@container aiwa-container (max-width: 700px) {
    /* Top bar (search, date, schedule, notifications) stays, compacted to a single row */
    .aiwa-page--full .aiwa-topbar[b-rsva71kc3w] {
        display: none;
    }

    .aiwa-page--full .aiwa-topbar-title[b-rsva71kc3w] {
        display: none;
    }

    .aiwa-page--full .aiwa-topbar-actions[b-rsva71kc3w] {
        flex: 1;
        min-width: 0;
        justify-content: flex-end;
        gap: 8px;
    }

    .aiwa-page--full .aiwa-date[b-rsva71kc3w] {
        padding: 6px 8px;
        gap: 6px;
        font-size: 0.75rem;
    }

    .aiwa-page--full .aiwa-bell[b-rsva71kc3w] {
        width: 36px;
        height: 36px;
    }

    /* Popovers span the bar instead of hanging off their button, which would clip off-screen */
    .aiwa-page--full .aiwa-top-menu[b-rsva71kc3w] {
        position: static;
    }

    .aiwa-page--full .aiwa-top-popover[b-rsva71kc3w] {
        left: 12px;
        right: 12px;
        width: auto;
    }

    /* Header: [hamburger] [centred title] [new chat] on the original purple gradient */
    .aiwa-page--full .aiwa-header[b-rsva71kc3w] {
        padding: 10px 12px;
        gap: 8px;
    }

    .aiwa-page--full .aiwa-header .aiwa-avatar[b-rsva71kc3w] {
        display: none;
    }

    .aiwa-page--full .aiwa-history-toggle-btn[b-rsva71kc3w],
    .aiwa-page--full .aiwa-header-new-btn[b-rsva71kc3w] {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        border: none;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
        font-size: 1.1rem;
        cursor: pointer;
    }

    .aiwa-page--full .aiwa-header-new-btn:not(:disabled):hover[b-rsva71kc3w] {
        background: rgba(255, 255, 255, 0.25);
    }

    .aiwa-page--full .aiwa-header-new-btn:disabled[b-rsva71kc3w] {
        opacity: 0.5;
        cursor: default;
    }

    .aiwa-page--full .aiwa-header-text[b-rsva71kc3w] {
        flex: 1;
        min-width: 0;
        text-align: center;
    }

    .aiwa-page--full .aiwa-title[b-rsva71kc3w] {
        font-size: 1rem;
    }

    /* Main column: no card chrome, it is the page itself; it slides right when the drawer opens */
    .aiwa-page--full .aiwa-widget[b-rsva71kc3w] {
        background: transparent;
        border: none;
        box-shadow: none;
        transition: transform 0.25s ease;
    }

    .aiwa-page--full .aiwa-widget--pushed[b-rsva71kc3w] {
        transform: translateX(83%);
    }

    .aiwa-page--full .aiwa-messages[b-rsva71kc3w] {
        padding: 12px 16px;
        scrollbar-gutter: auto;
    }

    .aiwa-page--full .aiwa-bubble[b-rsva71kc3w] {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Empty state: greeting + suggestion pills sit at the bottom, right above the input */
    .aiwa-page--full .aiwa-empty[b-rsva71kc3w] {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: auto;
    }

    .aiwa-page--full .aiwa-empty .aiwa-avatar[b-rsva71kc3w] {
        display: none;
    }

    .aiwa-page--full .aiwa-empty .aiwa-bubble--ai[b-rsva71kc3w] {
        max-width: 100%;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        color: #1e293b;
        font-size: clamp(1.3rem, 6vw, 1.8rem);
        font-weight: 700;
        line-height: 1.25;
    }

    .aiwa-page--full .aiwa-empty-pills[b-rsva71kc3w] {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .aiwa-page--full .aiwa-pill[b-rsva71kc3w] {
        max-width: 100%;
        padding: 12px 18px;
        border: 1px solid #e2e8f0;
        border-radius: 22px;
        background: #fff;
        color: #475569;
        font-size: 0.9rem;
        font-weight: 500;
        line-height: 1.35;
        text-align: left;
        cursor: pointer;
        transition: border-color .15s, background .15s, color .15s;
    }

    .aiwa-page--full .aiwa-pill:not(:disabled):hover[b-rsva71kc3w] {
        border-color: #c084fc;
        background: #faf5ff;
        color: #7e22ce;
    }

    .aiwa-page--full .aiwa-pill:disabled[b-rsva71kc3w] {
        opacity: 0.6;
        cursor: default;
    }

    /* Input: one rounded white bar; 16px text stops iOS zooming in on focus */
    .aiwa-page--full .aiwa-input-area[b-rsva71kc3w] {
        padding: 8px 12px calc(12px + env(safe-area-inset-bottom)) 12px;
        background: transparent;
        border-top: none;
    }

    .aiwa-page--full .aiwa-form[b-rsva71kc3w] {
        gap: 4px;
        padding: 6px;
        border: 1px solid #e2e8f0;
        border-radius: 999px;
        background: #fff;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    }

    .aiwa-page--full .aiwa-form:focus-within[b-rsva71kc3w] {
        box-shadow: 0 0 0 2px #a855f7;
    }

    .aiwa-page--full .aiwa-camera-btn[b-rsva71kc3w] {
        display: flex;
    }

    .aiwa-page--full .aiwa-input[b-rsva71kc3w] {
        padding: 10px 44px 10px 4px;
        background: transparent;
        font-size: 16px;
    }

    .aiwa-page--full .aiwa-input:focus[b-rsva71kc3w] {
        box-shadow: none;
    }

    /* The attach / camera / knowledge buttons collapse into the "+" popup */
    .aiwa-page--full .aiwa-tools[b-rsva71kc3w],
    .aiwa-page--full .aiwa-tools-inline[b-rsva71kc3w] {
        gap: 4px;
    }

    .aiwa-page--full .aiwa-tools-inline[b-rsva71kc3w] {
        display: none;
    }

    .aiwa-page--full .aiwa-plus-wrap[b-rsva71kc3w] {
        display: block;
        position: relative;
    }

    /* The send button is a form child now (not inside the input wrap), so its inset includes the form padding */
    .aiwa-page--full .aiwa-send-group[b-rsva71kc3w] {
        right: 12px;
    }

    .aiwa-page--full .aiwa-form--send .aiwa-input[b-rsva71kc3w] {
        padding-right: 82px;
    }

    .aiwa-page--full .aiwa-form--multi[b-rsva71kc3w] {
        border-radius: 22px;
    }

    .aiwa-page--full .aiwa-form--multi .aiwa-input[b-rsva71kc3w] {
        padding: 8px 10px;
    }

    .aiwa-page--full .aiwa-form--multi .aiwa-send-group[b-rsva71kc3w] {
        right: auto;
    }

    /* Drawer: 83% wide, main column peeks out on the right (dimmed by the original backdrop) */
    .aiwa-page--full .aiwa-sidebar[b-rsva71kc3w] {
        width: 83%;
        max-width: none;
        padding: 16px 12px 16px 16px;
        overflow: hidden;
    }

    .aiwa-page--full .aiwa-drawer-brand[b-rsva71kc3w] {
        display: block;
        flex-shrink: 0;
        padding: 0 4px 14px 4px;
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: #1e293b;
    }

    .aiwa-page--full .aiwa-history-card[b-rsva71kc3w] {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .aiwa-page--full .aiwa-history-search input[b-rsva71kc3w] {
        font-size: 16px;
    }

    .aiwa-page--full .aiwa-history-list[b-rsva71kc3w] {
        flex: 1;
        min-height: 0;
    }

    .aiwa-page--full .aiwa-history-empty[b-rsva71kc3w] {
        padding: 20px 0;
        text-align: center;
    }

    .aiwa-page--full .aiwa-history-item[b-rsva71kc3w] {
        padding: 11px 58px 11px 10px;
        font-size: 0.9rem;
    }

    /* No hover on touch screens, so the row actions are always visible */
    .aiwa-page--full .aiwa-history-rename-btn[b-rsva71kc3w],
    .aiwa-page--full .aiwa-history-delete-btn[b-rsva71kc3w] {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        border-radius: 50%;
        background: transparent;
        color: #94a3b8;
        font-size: 0.75rem;
        cursor: pointer;
    }

    .aiwa-page--full .aiwa-history-rename-btn[b-rsva71kc3w] {
        right: 30px;
    }

    .aiwa-page--full .aiwa-history-delete-btn[b-rsva71kc3w] {
        right: 4px;
        opacity: 1;
        pointer-events: auto;
    }

    .aiwa-page--full .aiwa-history-rename-btn:hover[b-rsva71kc3w] {
        background: #dbeafe;
        color: #2563eb;
    }

    .aiwa-page--full .aiwa-history-rename-btn:disabled[b-rsva71kc3w] {
        cursor: default;
    }

    /* The drawer is history only: suggestions live above the input (the base container query already
       hides .aiwa-suggest-card) and new chat is the header button, so drop the drawer's own new-chat button */
    .aiwa-page--full .aiwa-new-chat-btn[b-rsva71kc3w] {
        display: none;
    }
}
/* /Components/Subs/Widgets/Templates/AIWidget/AIKnowledgeUploadModal.razor.rz.scp.css */
.kn-field[b-e0exnm4hwz] { margin-bottom: 12px; }
.kn-label[b-e0exnm4hwz] { display: block; font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 4px; }
.kn-text[b-e0exnm4hwz] { width: 100%; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 14px; outline: none; }
.kn-text:focus[b-e0exnm4hwz] { border-color: #6366f1; }
.kn-error[b-e0exnm4hwz] { color: #b91c1c; font-size: 13px; padding: 4px 0; }
.kn-note[b-e0exnm4hwz] { color: #64748b; font-size: 12px; }

.kn-drop[b-e0exnm4hwz] { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 24px 12px; border: 2px dashed #cbd5e1; border-radius: 12px; background: #f8fafc; text-align: center; transition: border-color .15s, background .15s; }
.kn-drop:hover[b-e0exnm4hwz] { border-color: #6366f1; background: #eef2ff; }
.kn-drop--disabled[b-e0exnm4hwz] { opacity: .6; pointer-events: none; }
.kn-drop-icon[b-e0exnm4hwz] { font-size: 34px; color: #6366f1; line-height: 1; }
.kn-drop-title[b-e0exnm4hwz] { font-weight: 600; }
.kn-drop[b-e0exnm4hwz]  .kn-drop-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.kn-files[b-e0exnm4hwz] { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 6px; max-height: 220px; overflow: auto; }
.kn-file[b-e0exnm4hwz] { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.kn-file-name[b-e0exnm4hwz] { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kn-file-remove[b-e0exnm4hwz] { border: 0; background: none; color: #94a3b8; cursor: pointer; padding: 2px 4px; }
.kn-file-remove:hover[b-e0exnm4hwz] { color: #b91c1c; }
.kn-progress[b-e0exnm4hwz] { height: 4px; margin-top: 12px; border-radius: 2px; background: #e2e8f0; overflow: hidden; }
.kn-progress-bar[b-e0exnm4hwz] { width: 40%; height: 100%; background: #6366f1; animation: kn-slide-b-e0exnm4hwz 1.1s ease-in-out infinite; }
@keyframes kn-slide-b-e0exnm4hwz { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
/* /Components/Subs/Widgets/Templates/AIWidget/AiTableCard.razor.rz.scp.css */
/* Hidden by default; the container query at the bottom shows it in mobile view. */
.atc[b-us3j6vg9in] {
    display: none;
    align-items: stretch;
    gap: 8px;
    margin: 8px 0;
}

.atc-card[b-us3j6vg9in] {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    text-align: left;
}

.atc-title[b-us3j6vg9in] {
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    overflow-wrap: anywhere;
}

.atc-field[b-us3j6vg9in] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 5px 0;
}

.atc-field + .atc-field[b-us3j6vg9in] { border-top: 1px dashed #f1f5f9; }

.atc-label[b-us3j6vg9in] {
    flex: 0 0 38%;
    font-size: 0.74rem;
    font-weight: 600;
    color: #64748b;
}

.atc-value[b-us3j6vg9in] {
    flex: 1;
    min-width: 0;
    font-size: 0.84rem;
    color: #1e293b;
    text-align: right;
    overflow-wrap: anywhere;
}

.atc-expand[b-us3j6vg9in] {
    flex-shrink: 0;
    align-self: flex-start;
    width: 36px;
    height: 36px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    cursor: pointer;
    transition: background 0.15s;
}

.atc-expand:hover[b-us3j6vg9in] { background: #dbeafe; }

.atc-modal[b-us3j6vg9in] { text-align: left; }

.atc-filter-title[b-us3j6vg9in] {
    margin-bottom: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
}

.atc-filters[b-us3j6vg9in] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.atc-filter[b-us3j6vg9in] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 0.78rem;
    color: #64748b;
    background: #fff;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.atc-filter--on[b-us3j6vg9in] {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}

.atc-list[b-us3j6vg9in] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.atc-list .atc-card[b-us3j6vg9in] {
    flex: none;
    background: #f8fafc;
    box-shadow: none;
}

@container aiwa-container (max-width: 700px) {
    .atc[b-us3j6vg9in] { display: flex; }
}

/* Citation chips come from raw HTML (no scope attribute) and the modal lives outside .aiwa-md,
   so the chat's .aiwa-md .aiwa-source rules don't reach them. */
.atc-card[b-us3j6vg9in]  .aiwa-source {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    margin: 4px 0 0;
    padding: 3px 10px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-family: inherit;
    font-size: 0.74rem;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
}

.atc-card[b-us3j6vg9in]  .aiwa-source:hover { background: #dbeafe; }

.atc-card[b-us3j6vg9in]  .aiwa-source i { flex-shrink: 0; }

.atc-card[b-us3j6vg9in]  .aiwa-source span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.atc-card[b-us3j6vg9in]  code {
    padding: 1px 5px;
    border-radius: 4px;
    background: #f1f5f9;
    font-size: 0.78rem;
}
/* /Components/Subs/Widgets/Templates/AIWidget/AIWidgetRenderer.razor.rz.scp.css */
.aiw-widget[b-dxg3be52pj] {
    width: 100%;
    height: 100%;
}

.aiw-frame[b-dxg3be52pj] {
    display: block; /* iframe defaults to inline, which leaves a baseline gap that overflows a
                        height:100% parent by a few px and forces an extra outer scrollbar */
    width: 100%;
    height: 100%;
    border: none;
}
/* /Components/Subs/Widgets/Templates/AIWidget/AIWidgetSkeleton.razor.rz.scp.css */
.aiws-widget[b-w0xkd5xkm7] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 8px;
    background: #f4f6f8;
}

.aiws-bubble[b-w0xkd5xkm7] {
    max-width: 65%;
    height: 10px;
    border-radius: 8px;
    background: #d8dee5;
}

.aiws-bubble-left[b-w0xkd5xkm7] {
    align-self: flex-start;
}

.aiws-bubble-right[b-w0xkd5xkm7] {
    align-self: flex-end;
    background: #b7c1cc;
}

.aiws-bubble-short[b-w0xkd5xkm7] {
    max-width: 40%;
}

.aiws-inputbar[b-w0xkd5xkm7] {
    margin-top: auto;
    height: 14px;
    border-radius: 7px;
    background: #e5e9ed;
    border: 1px solid #d8dee5;
}
/* /Components/Subs/Widgets/Templates/AIWidget/DocumentSimpleChatCpn.razor.rz.scp.css */
.dsc-messages[b-hipvpta143] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 55vh;
    overflow-y: auto;
    padding: 4px;
    text-align: left;
}

.dsc-empty[b-hipvpta143] {
    margin: auto;
    color: #94a3b8;
    font-size: 0.9rem;
}

.dsc-msg[b-hipvpta143] {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.dsc-msg--user[b-hipvpta143] {
    justify-content: flex-end;
}

.dsc-avatar[b-hipvpta143] {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.85rem;
}

.dsc-ai-col[b-hipvpta143] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    max-width: calc(100% - 38px);
}

.dsc-bubble[b-hipvpta143] {
    padding: 9px 13px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.dsc-bubble--user[b-hipvpta143] {
    max-width: 80%;
    background: #2563eb;
    color: #fff;
    white-space: pre-wrap;
}

.dsc-bubble--ai[b-hipvpta143] {
    background: #f1f5f9;
    color: #334155;
}

/* The markdown HTML is injected via MarkupString, so it never gets this component's scope attribute - ::deep reaches it. */
.dsc-md[b-hipvpta143]  p { margin: 0 0 10px 0; }
.dsc-md[b-hipvpta143]  p:last-child { margin-bottom: 0; }
.dsc-md[b-hipvpta143]  strong { font-weight: 700; }
.dsc-md[b-hipvpta143]  ul, .dsc-md[b-hipvpta143]  ol { margin: 0 0 10px 0; padding-left: 20px; }
.dsc-md[b-hipvpta143]  li { margin-bottom: 4px; }
.dsc-md[b-hipvpta143]  table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
    font-size: 0.82rem;
    border: 1px solid #e2e8f0;
}
.dsc-md[b-hipvpta143]  th {
    background: #e2e8f0;
    color: #334155;
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid #cbd5e1;
}
.dsc-md[b-hipvpta143]  td {
    padding: 8px 12px;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}
.dsc-md[b-hipvpta143]  tr:last-child td { border-bottom: none; }
.dsc-md[b-hipvpta143]  blockquote {
    margin: 8px 0;
    padding: 10px 14px;
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    border-radius: 0 8px 8px 0;
    color: #1d4ed8;
    font-size: 0.82rem;
}
.dsc-md[b-hipvpta143]  blockquote p { margin: 0; }
.dsc-md[b-hipvpta143]  code {
    background: #e2e8f0;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 0.8em;
}
.dsc-md[b-hipvpta143]  img { max-width: 100%; height: auto; }
.dsc-md[b-hipvpta143]  .aiwa-source {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    margin: 2px;
    padding: 1px 8px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.75rem;
    vertical-align: middle;
    cursor: pointer;
}
.dsc-md[b-hipvpta143]  .aiwa-source:hover { background: #dbeafe; }
.dsc-md[b-hipvpta143]  .aiwa-source span {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dsc-attach-group[b-hipvpta143] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dsc-attach-image-btn[b-hipvpta143] {
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    cursor: zoom-in;
    overflow: hidden;
}

.dsc-attach-image[b-hipvpta143] {
    display: block;
    max-width: 260px;
    max-height: 200px;
}

.dsc-attach-file[b-hipvpta143] {
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1d4ed8;
    font-size: 0.82rem;
    text-decoration: none;
}

.dsc-typing[b-hipvpta143] {
    display: flex;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f1f5f9;
}

.dsc-typing span[b-hipvpta143] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
    animation: dsc-blink-b-hipvpta143 1.2s infinite ease-in-out;
}

.dsc-typing span:nth-child(2)[b-hipvpta143] { animation-delay: 0.2s; }
.dsc-typing span:nth-child(3)[b-hipvpta143] { animation-delay: 0.4s; }

@keyframes dsc-blink-b-hipvpta143 {
    0%, 80%, 100% { opacity: 0.25; }
    40% { opacity: 1; }
}

.dsc-form[b-hipvpta143] {
    display: flex;
    width: 100%;
    gap: 8px;
}

.dsc-input[b-hipvpta143] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.9rem;
}

.dsc-input:focus[b-hipvpta143] {
    outline: none;
    border-color: #3b82f6;
}

.dsc-send-btn[b-hipvpta143] {
    flex: 0 0 auto;
    width: 40px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
}

.dsc-send-btn:disabled[b-hipvpta143] {
    background: #cbd5e1;
    cursor: not-allowed;
}

.dsc-lightbox[b-hipvpta143] {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.85);
    outline: none;
}

.dsc-lightbox-bar[b-hipvpta143] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #fff;
}

.dsc-lightbox-name[b-hipvpta143] {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dsc-lightbox-btn[b-hipvpta143],
.dsc-lightbox-nav[b-hipvpta143] {
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
}

.dsc-lightbox-nav[b-hipvpta143] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.dsc-lightbox-nav--prev[b-hipvpta143] { left: 16px; }
.dsc-lightbox-nav--next[b-hipvpta143] { right: 16px; }

.dsc-lightbox-img[b-hipvpta143] {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}
/* /Components/Subs/Widgets/Templates/AIWidget/QuickNote.razor.rz.scp.css */
.qn-field[b-xghszmqe46] { margin-bottom: 12px; }
.qn-label[b-xghszmqe46] { display: block; font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 4px; }
.qn-text[b-xghszmqe46] { width: 100%; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 14px; resize: vertical; outline: none; }
.qn-text:focus[b-xghszmqe46] { border-color: #6366f1; }
.qn-text--readonly[b-xghszmqe46] { background: #f8fafc; color: #334155; }
.qn-error[b-xghszmqe46] { color: #b91c1c; font-size: 13px; }
.qn-btn[b-xghszmqe46] { padding: 6px 16px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; color: #1e293b; cursor: pointer; }
.qn-btn:hover:not(:disabled)[b-xghszmqe46] { background: #f1f5f9; }
.qn-btn--primary[b-xghszmqe46] { background: #6366f1; border-color: #6366f1; color: #fff; }
.qn-btn--primary:hover:not(:disabled)[b-xghszmqe46] { background: #4f46e5; }
.qn-btn:disabled[b-xghszmqe46] { opacity: .6; cursor: default; }
/* /Components/Subs/Widgets/Templates/TwoColumnWidgetTemplate/TwoColumnWidgetTemplateRenderer.razor.rz.scp.css */
/* Two Column Widget Template renderer — color tokens duplicated from
   ProductionExecutionAlertsModal.razor.css (Blazor CSS isolation is per-component, so those
   rules don't apply here automatically; same "each component keeps its own copy" precedent as
   ShortageAlertModal.razor.css). Class names kept identical (.pea-*) for visual/maintenance
   consistency per CLAUDE.md's "reuse .pea-* classes where possible" guidance. */
.tcw-widget[b-33wcnpywws] {
    --pea-primary: #3755c3;
    --pea-primary-dim: #2848b7;
    --pea-on-primary: #f8f7ff;
    --pea-secondary: #4a4bd7;
    --pea-surface: #f8f9ff;
    --pea-surface-container-low: #eff4ff;
    --pea-surface-container: #e5eeff;
    --pea-surface-container-high: #dce9ff;
    --pea-surface-container-highest: #d2e4ff;
    --pea-surface-container-lowest: #ffffff;
    --pea-on-surface: #00345e;
    --pea-on-surface-variant: #26619d;
}

.tcw-widget[b-33wcnpywws] {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    /* Fills whatever height its host gives it (DragCanvas's resizable .dc-card-body, or the
       editor's .aqm-live-preview) - both hosts are flex containers, so flex:1/min-height:0 here
       let this widget grow/shrink with them instead of being capped at a fixed pixel height. */
    flex: 1 1 auto;
    min-height: 0;
    text-align: left;
    color: var(--pea-on-surface);
}

.pea-content[b-33wcnpywws] {
    display: flex;
    gap: 8px;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
}

.tcw-divider[b-33wcnpywws] {
    width: 1px;
    background: var(--pea-surface-container-highest);
    margin: 4px 4px;
}

.pea-section[b-33wcnpywws] {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: var(--pea-surface-container-lowest);
    border-radius: 8px;
}

.pea-section-header[b-33wcnpywws] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 8px;
    background: var(--pea-surface-container-low);
    border-radius: 8px 8px 0 0;
    flex-shrink: 0;
}

.pea-section-header h2[b-33wcnpywws] {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--pea-primary);
}

.tcw-search-bar[b-33wcnpywws] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 6px;
    padding: 8px 8px 0;
    flex-shrink: 0;
}

.tcw-search-field[b-33wcnpywws] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 90px;
    flex: 1 1 90px;
}

.tcw-search-label[b-33wcnpywws] {
    font-size: 10px;
    font-weight: 600;
    color: var(--pea-on-surface-variant);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tcw-search-input[b-33wcnpywws] {
    font-size: 12px;
    color: var(--pea-on-surface);
    background: var(--pea-surface-container-lowest);
    border: 1px solid var(--pea-surface-container-highest);
    border-radius: 6px;
    padding: 4px 6px;
    outline: none;
    width: 100%;
}

.tcw-search-btn[b-33wcnpywws] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    padding: 0;
    background: var(--pea-primary);
    border: none;
    border-radius: 6px;
    color: var(--pea-on-primary);
}

.tcw-search-btn .material-symbols-outlined[b-33wcnpywws] {
    font-size: 16px;
}

.tcw-search-btn:hover[b-33wcnpywws] {
    background: var(--pea-primary-dim);
}

.pea-list-wrap[b-33wcnpywws] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 4px 8px;
}

.tcw-table[b-33wcnpywws] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.tcw-table thead th[b-33wcnpywws] {
    position: sticky;
    top: 0;
    background: var(--pea-surface-container-lowest);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--pea-on-surface-variant);
    padding: 4px 6px 8px;
    text-align: left;
    white-space: nowrap;
}

.tcw-table tbody td[b-33wcnpywws] {
    padding: 8px 6px;
    border-top: 1px solid var(--pea-surface-container-high);
}

.tcw-table tbody tr:hover[b-33wcnpywws] {
    background: var(--pea-surface-container);
}

.tcw-cell-icon[b-33wcnpywws] {
    height: 18px;
}

.pea-empty[b-33wcnpywws] {
    padding: 16px 8px;
    text-align: center;
    font-size: 13px;
    color: var(--pea-on-surface-variant);
}

.pea-pager[b-33wcnpywws] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-top: 1px solid var(--pea-surface-container-highest);
    flex-shrink: 0;
}

.pea-pager-info[b-33wcnpywws] {
    font-size: 11px;
    color: var(--pea-on-surface-variant);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.pea-pager-size[b-33wcnpywws] {
    font-size: 11px;
    color: var(--pea-on-surface-variant);
    background: var(--pea-surface-container-lowest);
    border: 1px solid var(--pea-surface-container-highest);
    border-radius: 6px;
    padding: 3px 4px;
    outline: none;
    flex-shrink: 0;
}

.pea-pager-btns[b-33wcnpywws] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.pea-pager-btn[b-33wcnpywws] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background: var(--pea-surface-container-lowest);
    border: 1px solid var(--pea-surface-container-highest);
    border-radius: 6px;
    color: var(--pea-on-surface-variant);
}

.pea-pager-btn .material-symbols-outlined[b-33wcnpywws] {
    font-size: 16px;
}

.pea-pager-btn:hover:not(:disabled)[b-33wcnpywws] {
    background: var(--pea-surface-container-high);
    color: var(--pea-primary);
}

.pea-pager-btn:disabled[b-33wcnpywws] {
    opacity: 0.4;
    cursor: default;
}

.pea-pager-page[b-33wcnpywws] {
    font-size: 11px;
    font-weight: 600;
    color: var(--pea-on-surface);
    min-width: 36px;
    text-align: center;
}

@media (max-width: 900px) {
    .pea-content[b-33wcnpywws] {
        flex-direction: column;
    }

    .tcw-divider[b-33wcnpywws] {
        display: none;
    }
}
/* /Components/Subs/Widgets/Templates/TwoColumnWidgetTemplate/TwoColumnWidgetTemplateSkeleton.razor.rz.scp.css */
.tcws-widget[b-owgofvclg4] {
    display: flex;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 4px;
}

.tcws-col[b-owgofvclg4] {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    background: #f4f6f8;
    border-radius: 6px;
}

.tcws-bar[b-owgofvclg4] {
    height: 8px;
    border-radius: 4px;
    background: #d8dee5;
}

.tcws-bar-head[b-owgofvclg4] {
    width: 55%;
    height: 9px;
    background: #b7c1cc;
    margin-bottom: 2px;
}
/* /Components/Toasts/FloatingToast.razor.rz.scp.css */
.fab-button[b-cjacnvm4am] {
    position: fixed;
    bottom: 80px;
    right: 32px;
    width: 56px;
    height: 56px;
    background-color: #0047ab;
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 90;
    transition: transform 0.2s ease;
    font-size: 24px;
}

    .fab-button:hover[b-cjacnvm4am] {
        transform: scale(1.1);
    }

    .fab-button:active[b-cjacnvm4am] {
        transform: scale(0.95);
    }

.quick-access-panel[b-cjacnvm4am] {
    position: fixed;
    bottom: 150px;
    right: 32px;
    width: 360px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 8px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
    z-index: 100;
    padding: 24px;
    transition: all 0.3s ease;
}

.panel-open[b-cjacnvm4am] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.panel-closed[b-cjacnvm4am] {
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
}

.panel-header[b-cjacnvm4am] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.panel-title[b-cjacnvm4am] {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #191c1e;
}

.close-icon[b-cjacnvm4am] {
    cursor: pointer;
    color: #737784;
    font-size: 24px;
    transition: color 0.2s ease;
}

    .close-icon:hover[b-cjacnvm4am] {
        color: #191c1e;
    }

.panel-content[b-cjacnvm4am] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Stats Grid */
.stats-grid[b-cjacnvm4am] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.stat-item[b-cjacnvm4am] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background-color: #f2f4f6;
    border-radius: 4px;
}

.stat-label[b-cjacnvm4am] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #737784;
    margin-bottom: 4px;
}

.stat-value[b-cjacnvm4am] {
    font-size: 18px;
    font-weight: 700;
}

/* Exceptions Section */
.exceptions-section[b-cjacnvm4am] {
    margin-top: 8px;
}

.exceptions-title[b-cjacnvm4am] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #737784;
    margin: 0 0 8px 0;
}

.exceptions-list[b-cjacnvm4am] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.exception-item[b-cjacnvm4am] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    border: 1px solid rgba(115, 119, 132, 0.3);
    border-radius: 4px;
    background-color: rgba(242, 244, 246, 0.5);
    transition: background-color 0.2s ease;
}

    .exception-item:hover[b-cjacnvm4am] {
        background-color: #f2f4f6;
    }

.exception-info[b-cjacnvm4am] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.exception-date[b-cjacnvm4am] {
    font-size: 11px;
    font-weight: 700;
    color: #191c1e;
}

.exception-reason[b-cjacnvm4am] {
    font-size: 10px;
    color: #737784;
}

.exception-action[b-cjacnvm4am] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.exception-badge[b-cjacnvm4am] {
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

    .exception-badge.Late[b-cjacnvm4am] {
        background-color: rgba(251, 146, 60, 0.1);
        color: #fb923c;
    }

    .exception-badge.Absent[b-cjacnvm4am] {
        background-color: rgba(186, 26, 26, 0.1);
        color: #ba1a1a;
    }

    .exception-badge.Early\ Leave[b-cjacnvm4am] {
        background-color: rgba(168, 85, 247, 0.1);
        color: #a855f7;
    }

.exception-btn[b-cjacnvm4am] {
    background: none;
    border: none;
    color: #0047ab;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .exception-btn:hover[b-cjacnvm4am] {
        opacity: 1;
    }
/* /Components/WOBarCell.razor.rz.scp.css */
.wo-cell-bar[b-cfqvk0ehj3] {
    position: relative;
    width: 100%;
    min-width: 3.5rem;
    height: 1.1rem;
    background: #e5e7eb;
    border-radius: 0.25rem;
    overflow: hidden;
}

.wo-cell-bar-fill[b-cfqvk0ehj3] {
    height: 100%;
    border-radius: 0.25rem;
    transition: width .2s;
}

.wo-cell-bar-label[b-cfqvk0ehj3] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    pointer-events: none;
}
