/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-pm0or4m0b0] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-pm0or4m0b0] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/PosLayout.razor.rz.scp.css */
.pos-shell[b-hnj5yhs3fa] {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--paper);
}

.pos-header[b-hnj5yhs3fa] {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    background: white;
    border-bottom: 1px solid var(--border-subtle);
}

.pos-header-back[b-hnj5yhs3fa],
.pos-header-link[b-hnj5yhs3fa] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--brand);
    text-decoration: none;
    font-size: var(--text-sm);
    white-space: nowrap;
}

.pos-header-title[b-hnj5yhs3fa] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 0;
}

.pos-header-shop[b-hnj5yhs3fa] {
    color: var(--muted);
    font-size: var(--text-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pos-main[b-hnj5yhs3fa] {
    flex: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .pos-header[b-hnj5yhs3fa] { padding: 0.5rem 0.75rem; gap: 0.5rem; }
    .pos-header-back span[b-hnj5yhs3fa], .pos-header-shop[b-hnj5yhs3fa] { display: none; }
    .pos-main[b-hnj5yhs3fa] { padding: 0.75rem 0.75rem 6rem; }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* Reconnection continues in the background; never put a modal over the page. */
#components-reconnect-modal[b-0m6ygyf7qw] { display: none !important; }
#components-reconnect-modal[b-0m6ygyf7qw]::backdrop { display: none !important; }

.components-reconnect-first-attempt-visible[b-0m6ygyf7qw],
.components-reconnect-repeated-attempt-visible[b-0m6ygyf7qw],
.components-reconnect-failed-visible[b-0m6ygyf7qw],
.components-pause-visible[b-0m6ygyf7qw],
.components-resume-failed-visible[b-0m6ygyf7qw],
.components-rejoining-animation[b-0m6ygyf7qw] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-0m6ygyf7qw],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-0m6ygyf7qw],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-0m6ygyf7qw],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-0m6ygyf7qw],
#components-reconnect-modal.components-reconnect-retrying[b-0m6ygyf7qw],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-0m6ygyf7qw],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-0m6ygyf7qw],
#components-reconnect-modal.components-reconnect-failed[b-0m6ygyf7qw],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-0m6ygyf7qw] {
    display: block;
}


#components-reconnect-modal[b-0m6ygyf7qw] {
    background-color: white;
    width: 20rem;
    max-width: calc(100vw - 2rem);
    box-sizing: border-box;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

#components-reconnect-modal[open][b-0m6ygyf7qw] {
    animation: components-reconnect-modal-slideUp-b-0m6ygyf7qw 0.35s ease-out;
}

#components-reconnect-modal[b-0m6ygyf7qw]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-0m6ygyf7qw 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-0m6ygyf7qw {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-0m6ygyf7qw {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-0m6ygyf7qw {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-0m6ygyf7qw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-0m6ygyf7qw] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-0m6ygyf7qw] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-0m6ygyf7qw] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-0m6ygyf7qw] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-0m6ygyf7qw] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-0m6ygyf7qw] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-0m6ygyf7qw 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-0m6ygyf7qw] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-0m6ygyf7qw {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Admin/Inventory/Adjust.razor.rz.scp.css */
.stock-adjust-preview[b-xln9wrd10g] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    box-sizing: border-box;
    width: min(100%, 42rem);
    margin: 1rem 0;
    padding: .85rem;
    border: 1px solid var(--info-border);
    border-radius: var(--radius-md);
    background: var(--info-bg);
}

.stock-adjust-preview > div[b-xln9wrd10g] { display: grid; gap: .2rem; }
.stock-adjust-preview span[b-xln9wrd10g] { color: var(--muted); font-size: var(--text-sm); }
.stock-adjust-preview strong[b-xln9wrd10g] { font-size: 1.15rem; }
.stock-adjust-negative[b-xln9wrd10g] { color: var(--danger, #ad2929); }

/* Quantity box with its unit ("পিস") right beside it, on one line. */
/* The input keeps the global rule's own .25rem top margin (that rule out-ranks a scoped one). */
.stock-adjust-qty[b-xln9wrd10g] { display: flex; align-items: center; gap: .6rem; max-width: 420px; }
.stock-adjust-qty[b-xln9wrd10g]  input { flex: 1 1 auto; min-width: 0; margin-top: 0; -moz-appearance: textfield; }
.stock-adjust-qty[b-xln9wrd10g]  input::-webkit-outer-spin-button,
.stock-adjust-qty[b-xln9wrd10g]  input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stock-adjust-qty-unit[b-xln9wrd10g] { flex: 0 0 auto; color: var(--muted); font-size: 1rem; white-space: nowrap; }

/* "কমবে / বাড়বে" as two thumb-sized choices instead of bare 19px-tall radio rows. */
.adjust-direction-choice[b-xln9wrd10g] {
    min-height: 44px;
    padding: 0 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    cursor: pointer;
}
.adjust-direction-choice:has(input:checked)[b-xln9wrd10g] {
    border-color: var(--brand);
    background: var(--info-bg);
    color: var(--brand);
    font-weight: 600;
}

/* "বাড়বে" side note: plain muted text with an inline link — a pointer, not a warning box. */
.adjust-buy-hint[b-xln9wrd10g] { max-width: 42rem; margin: .4rem 0 .75rem; color: var(--muted); font-size: var(--text-sm); line-height: 1.5; }
.adjust-buy-hint a[b-xln9wrd10g] { font-weight: 600; }

@media (max-width: 600px) {
    .stock-adjust-preview[b-xln9wrd10g] { grid-template-columns: 1fr; }
    .adjust-direction > span[b-xln9wrd10g] { flex-basis: 100%; }
    .adjust-direction-choice[b-xln9wrd10g] { flex: 1 1 0; justify-content: center; }
}
/* /Components/Pages/Admin/Inventory/Count.razor.rz.scp.css */
.bc-toolbar[b-5topoi5khb] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin: 0.5rem 0 0.75rem;
}

.bc-toolbar .button[b-5topoi5khb] { margin-top: 0; }

.bc-table td[b-5topoi5khb] { vertical-align: middle; }

/* !important: app.css's global input rule (a long :not() chain) out-ranks a class selector and
   would stretch this small count box to the full cell. */
.bc-table input.bc-copies[b-5topoi5khb] { width: 5rem !important; max-width: 5rem !important; margin: 0; }
/* /Components/Pages/Admin/Inventory/Reorder.razor.rz.scp.css */
.reorder-group[b-fwon1py78a] { margin-bottom: 1.25rem; }

.reorder-group-head[b-fwon1py78a] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.reorder-group-head h2[b-fwon1py78a] { margin: 0; }
.reorder-group-head .button[b-fwon1py78a] { margin-top: 0; }
/* /Components/Pages/Admin/Products/Barcodes.razor.rz.scp.css */
.bc-page-panel[b-tfzf4qu1xs] {
    margin-top: .5rem;
    padding: clamp(1rem, 2vw, 1.5rem);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 3px 18px rgba(40, 55, 82, .045);
}

.bc-toolbar[b-tfzf4qu1xs] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .8rem;
    margin: 0 0 1rem;
}

.bc-toolbar-actions[b-tfzf4qu1xs] { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.bc-toolbar-find[b-tfzf4qu1xs] { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .6rem; min-width: 0; }

.bc-toolbar .button[b-tfzf4qu1xs] { margin-top: 0; }
.bc-toolbar-actions .bc-action[b-tfzf4qu1xs] {
    display: inline-flex;
    width: auto;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .5rem .8rem;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
    font-size: .9rem;
}
.bc-action[b-tfzf4qu1xs]  .icon { flex: 0 0 auto; width: 1rem; height: 1rem; }

/* !important on margin: app.css's global input rule ((0,5,1) via its :not() chain) adds a top
   margin that would knock the box out of line with the filter buttons beside it. */
.bc-toolbar .bc-search[b-tfzf4qu1xs] { width: 100%; min-width: 0; max-width: none; margin: 0 !important; }

.bc-filter[b-tfzf4qu1xs] {
    display: flex;
    width: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.bc-filter button[b-tfzf4qu1xs] {
    flex: 0 0 auto;
    min-width: 0;
    margin: 0;
    padding: .5rem .65rem;
    background: white;
    color: var(--ink);
    border: none;
    border-radius: 0;
    font-size: var(--text-sm);
    line-height: 1.3;
    white-space: nowrap;
    cursor: pointer;
}

.bc-filter button + button[b-tfzf4qu1xs] { border-left: 1px solid var(--border); }
.bc-filter button.active[b-tfzf4qu1xs] { background: #e8f1fe; color: #155fc4; font-weight: 700; }
.bc-filter button:hover:not(.active)[b-tfzf4qu1xs] { background: #f3f7fc; }
.bc-filter-short[b-tfzf4qu1xs] { display: none; }

@media (max-width: 800px) {
    .bc-toolbar-find[b-tfzf4qu1xs] { grid-template-columns: 1fr; }
    .bc-filter[b-tfzf4qu1xs] { width: 100%; }
    .bc-filter button[b-tfzf4qu1xs] { flex: 1 1 0; }
    .bc-filter-long[b-tfzf4qu1xs] { display: none; }
    .bc-filter-short[b-tfzf4qu1xs] { display: inline; }
}

@media (max-width: 640px) {
    .bc-toolbar-actions[b-tfzf4qu1xs] { display: grid; gap: .45rem; }
    .bc-toolbar-actions .bc-action[b-tfzf4qu1xs] { width: 100%; min-height: 2.9rem; }
    .bc-filter button[b-tfzf4qu1xs] { font-size: .82rem; padding-inline: .2rem; }
}

.bc-select-hint[b-tfzf4qu1xs] { margin: 0 0 0.5rem; }

.bc-table[b-tfzf4qu1xs] { table-layout: fixed; }
.bc-table th:nth-child(1)[b-tfzf4qu1xs] { width: 6%; }
.bc-table th:nth-child(2)[b-tfzf4qu1xs] { width: 35%; }
.bc-table th:nth-child(3)[b-tfzf4qu1xs] { width: 15%; }
.bc-table th:nth-child(4)[b-tfzf4qu1xs] { width: 29%; }
.bc-table th:nth-child(5)[b-tfzf4qu1xs] { width: 15%; }
.bc-table td[b-tfzf4qu1xs] { vertical-align: middle; overflow-wrap: anywhere; }

.bc-code[b-tfzf4qu1xs] {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: var(--text-sm);
}

.bc-code-remove[b-tfzf4qu1xs] {
    margin: 0 0 0 0.35rem;
    padding: 0.15rem;
    background: transparent;
    border: none;
    color: var(--muted);
    vertical-align: middle;
}

.bc-code-remove:hover[b-tfzf4qu1xs] { color: var(--danger-text, #b3261e); }

/* !important: app.css's global input rule (a long :not() chain) out-ranks any class selector
   and would stretch this tiny copies box to the full cell. */
.bc-table input.bc-copies[b-tfzf4qu1xs] { width: 4.5rem !important; max-width: 4.5rem !important; margin: 0; }
.bc-table input[type=checkbox][b-tfzf4qu1xs] { width: auto; margin: 0; }

.bc-print[b-tfzf4qu1xs] { margin-top: 1.25rem; }
.bc-print h2[b-tfzf4qu1xs] { display: flex; align-items: center; gap: 0.4rem; }

.bc-print-actions[b-tfzf4qu1xs] {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 0.75rem;
}

.bc-print-actions label[b-tfzf4qu1xs] { margin: 0; }
.bc-print-actions .button[b-tfzf4qu1xs] { margin-top: 0; }

.pos-link-inline[b-tfzf4qu1xs] {
    display: inline;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    color: var(--brand);
    text-decoration: underline;
    font-size: inherit;
}

.bc-assign[b-tfzf4qu1xs] {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin: 1rem 0;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    background: white;
    box-shadow: 0 3px 18px rgba(40, 55, 82, .045);
}

.bc-assign-close[b-tfzf4qu1xs] {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    margin: 0;
    padding: 0.35rem;
    background: transparent;
    border: none;
    color: var(--muted);
}

.bc-assign-card[b-tfzf4qu1xs] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bc-assign-card img[b-tfzf4qu1xs] {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.bc-assign-card h2[b-tfzf4qu1xs] { margin: 0; font-size: var(--text-xl); }
.bc-assign-card p[b-tfzf4qu1xs] { margin: 0.25rem 0 0; }

.bc-assign-prompt[b-tfzf4qu1xs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    background: #eef5ff;
    border: 1px solid #cbdcf6;
    color: var(--ink);
    font-weight: 600;
}

.bc-assign-prompt span:first-child[b-tfzf4qu1xs] { display: flex; align-items: center; gap: 0.5rem; }
.bc-assign-prompt[b-tfzf4qu1xs]  .icon { color: var(--brand); }

.bc-camera-inline-toggle[b-tfzf4qu1xs] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.3rem;
    margin: 0;
    padding: 0.35rem 0.65rem;
    background: white;
    color: var(--brand);
    border: 1px solid var(--brand);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    white-space: nowrap;
}

.bc-camera-inline-toggle.active[b-tfzf4qu1xs] { background: var(--brand); color: white; }

.bc-camera[b-tfzf4qu1xs] {
    position: relative;
    margin-bottom: 0.75rem;
    box-sizing: border-box;
    max-height: 320px;
    width: 100%;
    max-width: 100%;
    isolation: isolate;
    background: #1d1d1d;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.bc-camera-hidden[b-tfzf4qu1xs] { display: none; }

.bc-camera-view[b-tfzf4qu1xs] { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }

/* The shape comes from a padding-top spacer, not from aspect-ratio. Safari on older iPhones (iOS 15) handles aspect-ratio together with min/max-height badly: the box could come out wider than the screen and had to be scrolled sideways. A spacer gives the same shape in every browser. */
.bc-camera[b-tfzf4qu1xs]::before { content: ""; display: block; padding-top: 62.5%; }
.bc-camera-view[b-tfzf4qu1xs]  video { width: 100%; height: 100%; object-fit: cover; display: block; }

.bc-camera-guide[b-tfzf4qu1xs] {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 2px;
    background: #ff3b30;
    box-shadow: 0 0 8px #ff3b30;
    pointer-events: none;
}

.bc-camera-bar[b-tfzf4qu1xs] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    color: white;
    font-size: var(--text-sm);
}

.bc-camera-bar span[b-tfzf4qu1xs] { flex: 1; }

.bc-camera-btn[b-tfzf4qu1xs] {
    margin: 0;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

.bc-camera-btn.active[b-tfzf4qu1xs] { background: #ffd54a; color: #222; border-color: #ffd54a; }

/* Pinned to the viewport, not the camera preview — held and worked one-handed from the
   bottom edge of the phone. */
.bc-camera-trigger[b-tfzf4qu1xs] {
    position: fixed;
    left: 5%;
    right: 5%;
    bottom: calc(0.9rem + env(safe-area-inset-bottom));
    z-index: 65;
    margin: 0;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--brand);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 18px rgba(26, 115, 232, 0.25), 0 0 0 3px rgba(255, 255, 255, 0.9);
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.bc-camera-trigger.armed[b-tfzf4qu1xs] { background: #ffd54a; color: #222; border-color: #ffd54a; }

.bc-assign-warning[b-tfzf4qu1xs] {
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--warning-border);
    border-radius: var(--radius-md);
    background: var(--warning-bg);
    color: var(--warning-text);
    font-size: var(--text-sm);
}

.bc-assign-warning .button[b-tfzf4qu1xs] { margin: 0 0 0 0.4rem; }

.bc-assign-actions[b-tfzf4qu1xs] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bc-assign-actions .button[b-tfzf4qu1xs] { margin-top: 0; }

/* Phone list (see the record-list block in Barcodes.razor). The rows themselves are the app's
   shared .record-row styles in app.css; only the bits specific to selecting/printing live here. */
.bc-select-all[b-tfzf4qu1xs] { display: none; align-items: center; gap: 0.5rem; margin: 0.25rem 0 0; font-size: var(--text-sm); }
.bc-select-all input[b-tfzf4qu1xs] { width: auto; margin: 0; }

.bc-row-check[b-tfzf4qu1xs] { position: relative; z-index: 2; display: flex; align-items: center; flex: 0 0 auto; margin: 0; }
.bc-row-check input[b-tfzf4qu1xs] { width: auto; margin: 0; }

.bc-row-end[b-tfzf4qu1xs] { position: relative; z-index: 2; display: flex; align-items: center; justify-content: flex-end; gap: 0.4rem; }
.bc-row-copies[b-tfzf4qu1xs] { display: flex; align-items: center; gap: 0.3rem; margin: 0; font-size: var(--text-xs); color: var(--muted); }
/* !important: app.css's global input rule ((0,5,1) via its :not() chain) sets width:100% and a
   top margin that would stretch this tiny copies box across the row. */
.bc-row-copies input.bc-copies[b-tfzf4qu1xs] { width: 2.6rem !important; max-width: 2.6rem !important; margin: 0 !important; padding: 0.35rem 0.25rem; font-size: 0.9rem; text-align: center; }

@media (max-width: 640px) {
    .bc-select-all[b-tfzf4qu1xs] { display: flex; }

    /* The scan-to-assign trigger is position:fixed to the screen's bottom edge — which on the
       admin pages is exactly where the (z-index 800) bottom nav sits, so the button was drawn
       underneath it and simply wasn't there. Lift it clear of the nav and above it. */
    .bc-camera-trigger[b-tfzf4qu1xs] {
        bottom: calc(57px + env(safe-area-inset-bottom, 0px) + 0.75rem);
        z-index: 850;
    }
}
/* /Components/Pages/Admin/Products/Detail.razor.rz.scp.css */
.product-stock-choices-title[b-47ldiccasr] { margin: 1.25rem 0 0; font-size: 1rem; }
.product-stock-choices-help[b-47ldiccasr] { margin: .2rem 0 0; font-size: var(--text-sm); }
.product-variant-adjust[b-47ldiccasr] { display: inline-block; margin-left: .5rem; font-size: var(--text-sm); white-space: nowrap; }
.product-public-link[b-47ldiccasr] { display: inline-block; margin-inline-start: .5rem; }
@media (max-width: 600px) {
}
/* /Components/Pages/Admin/Products/Edit.razor.rz.scp.css */
.product-edit-save[b-8246qdpyi8] { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.25rem; }
.product-edit-save button[b-8246qdpyi8] { margin-top: 0; }

/* The unsaved-changes prompt uses the shared modal (.facebook-preview-modal); only its size and
   spacing are set here. */
.product-edit-unsaved[b-8246qdpyi8] { max-width: 420px; }
.product-edit-unsaved p[b-8246qdpyi8] { margin: 0; }
/* Focused on open only so keyboard and screen-reader users land in it; no focus ring on the box. */
.product-edit-unsaved:focus[b-8246qdpyi8] { outline: none; }

.barcode-owner-warning[b-8246qdpyi8] { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: -.25rem 0 .75rem; padding: .5rem .65rem; border: 1px solid var(--warning-border); border-radius: var(--radius-md); background: var(--warning-bg); color: var(--warning-text); font-size: var(--text-sm); }

.barcode-generate-note[b-8246qdpyi8] { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin: 0 0 .75rem; color: var(--brand); font-size: var(--text-sm); }

.product-barcode-field[b-8246qdpyi8] { margin-bottom: 1rem; }
.product-barcode-label[b-8246qdpyi8] { display: block; margin-bottom: .35rem; font-weight: 500; }
.product-barcode-field .muted[b-8246qdpyi8] { margin: .4rem 0 0; }

@media (max-width: 600px) {
    .product-edit-save[b-8246qdpyi8] { flex-direction: column; align-items: stretch; }
    .product-edit-save button[b-8246qdpyi8] { justify-content: center; white-space: normal; }
}
/* /Components/Pages/Admin/Products/ManageVariants.razor.rz.scp.css */
.variant-tools-grid[b-39agblfkes] {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 1rem;
    align-items: start;
    margin: 1rem 0 1.5rem;
}
.variant-tools-grid.single-tool[b-39agblfkes] { grid-template-columns: minmax(0, 1fr); }

.variant-tools-grid > .entry-form-section[b-39agblfkes] { margin: 0; min-width: 0; }
.variant-page-intro[b-39agblfkes] { max-width: 72rem; margin: .85rem 0 1rem; }
.variant-redefine-action[b-39agblfkes] { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .8rem; margin: 0 0 1rem; }
.variant-redefine-action .button[b-39agblfkes] { margin: 0; text-decoration: none; }
.variant-redefine-action p[b-39agblfkes] { margin: 0; max-width: 42rem; }
.variant-list-heading[b-39agblfkes] { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; margin: 1.3rem 0 .6rem; }
.variant-list-heading h2[b-39agblfkes] { margin: 0; font-size: 1.2rem; }

.variant-bulk-panel[b-39agblfkes] {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
}

.variant-bulk-panel > h2[b-39agblfkes] {
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: .25rem;
}

.variant-bulk-intro[b-39agblfkes] { margin: 0 0 .5rem; }

.variant-bulk-action[b-39agblfkes] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .75rem;
    align-items: end;
    padding: .7rem 0 0;
}

.variant-bulk-action h3[b-39agblfkes] {
    margin: 0 0 .65rem;
    font-size: 1rem;
    line-height: 1.35;
}

.variant-bulk-controls[b-39agblfkes] {
    display: grid;
    gap: .75rem;
    align-items: end;
}

.variant-bulk-controls-price[b-39agblfkes] { grid-template-columns: minmax(0, 1fr) auto; }
.variant-bulk-controls label[b-39agblfkes] { display: block; min-width: 0; margin: 0; }
.variant-bulk-controls input[b-39agblfkes] { box-sizing: border-box; width: 100%; }
.variant-bulk-controls .button[b-39agblfkes] { margin: 0; white-space: normal; }

@media (max-width: 850px) {
    .variant-bulk-action[b-39agblfkes] { grid-template-columns: 1fr; gap: .35rem; }
    .variant-bulk-action h3[b-39agblfkes] { margin: 0; }
}

@media (max-width: 600px) {
    .variant-bulk-controls-price[b-39agblfkes] { grid-template-columns: 1fr; }
    .variant-bulk-controls .button[b-39agblfkes] { width: 100%; justify-content: center; }
}

.vm-stock-link[b-39agblfkes] { font-size: var(--text-sm); white-space: nowrap; }

.variant-add-section[b-39agblfkes] { box-sizing: border-box; width: 100%; max-width: none; }
.variant-add-option[b-39agblfkes] { width: 100%; max-width: 42rem; margin-top: 1rem; }
.variant-add-option > label[b-39agblfkes],
.variant-add-custom > label[b-39agblfkes] { display: block; margin-bottom: .35rem; }
.variant-add-option > select[b-39agblfkes],
.variant-add-custom > input[b-39agblfkes] { box-sizing: border-box; width: 100%; }
.variant-add-custom[b-39agblfkes] {
    margin-top: .75rem;
}
.variant-add-or[b-39agblfkes] { display: block; margin-bottom: .35rem; color: var(--muted); font-size: var(--text-sm); }
.variant-add-info[b-39agblfkes] {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    box-sizing: border-box;
    max-width: 42rem;
    margin: .85rem 0 1rem;
    padding: .75rem .9rem;
    border: 1px solid var(--info-border);
    border-left: 3px solid var(--info-accent);
    border-radius: var(--radius-md);
    background: var(--info-bg);
    color: var(--ink);
    font-size: var(--text-sm);
    line-height: 1.5;
}
.variant-add-info[b-39agblfkes]  .icon { flex: 0 0 auto; margin-top: .2em; color: var(--info-accent); }
.variant-add-info p[b-39agblfkes] { margin: 0; }
.variant-add-info p + p[b-39agblfkes] { margin-top: .35rem; }
.variant-add-stock-info[b-39agblfkes] { margin-top: 1.25rem; }

.variant-barcode-panel h2[b-39agblfkes] { display: flex; align-items: center; gap: .4rem; }
.variant-barcode-panel .muted[b-39agblfkes] { margin: 0 0 .6rem; }
.variant-barcode-summary[b-39agblfkes] { line-height: 1.5; }
.variant-barcode-guide[b-39agblfkes] { margin-top: .85rem; border-top: 1px solid var(--border-subtle); padding-top: .7rem; }
.variant-barcode-guide summary[b-39agblfkes] { color: var(--brand); cursor: pointer; font-weight: 600; }
.variant-barcode-guide ul[b-39agblfkes] { padding-left: 1.2rem; margin: .65rem 0 0; line-height: 1.55; }
.variant-barcode-guide li + li[b-39agblfkes] { margin-top: .35rem; }
.variant-barcode-sequence-btn[b-39agblfkes] { margin-top: .75rem; }
.variant-barcode-cell[b-39agblfkes] { min-width: 13rem; }

@media (max-width: 1100px) {
    .variant-tools-grid[b-39agblfkes] { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .variant-add-info[b-39agblfkes] { padding: .7rem; }
}
/* /Components/Pages/Admin/Products/ProductCreateOptions.razor.rz.scp.css */
.create-options[b-la3m5cfgcj] { max-width: 960px; margin: 1.5rem 0; padding: 1.25rem; border: 1px solid #d8e6f7; border-radius: 12px; background: #f5f9ff; }
.create-options h2[b-la3m5cfgcj] { margin: 0 0 .5rem; }
.create-options h3[b-la3m5cfgcj] { margin: 1.25rem 0 .5rem; }
.create-options[b-la3m5cfgcj]  label { display: block; }
.create-options[b-la3m5cfgcj]  .checkbox-label { display: flex; align-items: center; gap: .55rem; margin: .75rem 0; }
.create-options[b-la3m5cfgcj]  .checkbox-label input { width: auto; flex: none; }
.create-options[b-la3m5cfgcj]  .axis-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 1rem 0; }
.create-options[b-la3m5cfgcj]  .axis-grid > div, .create-options[b-la3m5cfgcj]  .variant-row { min-width: 0; }
.create-options[b-la3m5cfgcj]  .axis-grid input, .create-options[b-la3m5cfgcj]  .axis-grid select, .create-options[b-la3m5cfgcj]  .variant-row input, .create-options[b-la3m5cfgcj]  .bulk-stock input { width: 100%; }
.create-options[b-la3m5cfgcj]  .preset-list, .create-options[b-la3m5cfgcj]  .design-list, .create-options[b-la3m5cfgcj]  .combo-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: .7rem 0; }
.create-options[b-la3m5cfgcj]  .preset-chip { display: inline-flex !important; align-items: center; gap: .35rem; padding: .45rem .6rem; border: 1px solid #cbdcf6; border-radius: 8px; background: #fff; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .preset-chip input { width: auto; }
.create-options[b-la3m5cfgcj]  .design-choice { width: 76px; height: 76px; padding: 4px; border: 2px solid #cbdcf6; border-radius: 9px; background: #fff; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .design-choice.selected { border-color: #1a73e8; box-shadow: 0 0 0 2px #d9e9ff; }
.create-options[b-la3m5cfgcj]  .design-choice img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.create-options[b-la3m5cfgcj]  .model-choice-list { display: grid; gap: .75rem; margin: .75rem 0; }
.create-options[b-la3m5cfgcj]  .model-choice-row { min-width: 0; padding: .85rem; border: 1px solid #d8e6f7; border-radius: 9px; background: #fff; }
.create-options[b-la3m5cfgcj]  .model-choice-heading { display: flex; align-items: end; gap: .6rem; }
.create-options[b-la3m5cfgcj]  .model-choice-heading label { flex: 1; min-width: 0; }
.create-options[b-la3m5cfgcj]  .model-choice-heading button { flex: none; }
.create-options[b-la3m5cfgcj]  .model-selected-photo { display: flex; align-items: center; gap: .6rem; margin: .65rem 0; }
.create-options[b-la3m5cfgcj]  .model-selected-photo img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.create-options[b-la3m5cfgcj]  .model-gallery { margin: .65rem 0; }
.create-options[b-la3m5cfgcj]  .model-gallery summary { width: fit-content; color: #155fc4; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .model-choice-row .variant-file-picker { margin-top: .55rem; }
.create-options[b-la3m5cfgcj]  .variant-photo-row { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: .7rem 0; padding: .7rem; border: 1px solid #d8e6f7; border-radius: 9px; background: #fff; }
.create-options[b-la3m5cfgcj]  .variant-photo-row > strong { min-width: 5rem; }
.create-options[b-la3m5cfgcj]  .variant-file-picker { position: relative; display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 40px; padding: .45rem .7rem; border: 1px solid #a9c9f4; border-radius: 7px; background: #fff; color: #155fc4; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .variant-file-picker:focus-within { outline: 2px solid #1a73e8; outline-offset: 2px; }
.create-options[b-la3m5cfgcj]  .variant-file-picker input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .variant-photo-row input[type=color] { width: 44px; height: 40px; padding: 2px; }
.create-options[b-la3m5cfgcj]  .variant-photo-picks { display: flex; flex: 1 1 100%; gap: .35rem; overflow-x: auto; padding: .2rem; }
.create-options[b-la3m5cfgcj]  .photo-choice { width: 44px; height: 44px; padding: 2px; flex: 0 0 auto; border: 2px solid #cbdcf6; border-radius: 6px; background: #fff; cursor: pointer; font-size: .7rem; }
.create-options[b-la3m5cfgcj]  .photo-choice.selected { border-color: #1a73e8; }
.create-options[b-la3m5cfgcj]  .photo-choice img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.create-options[b-la3m5cfgcj]  .photo-choice-clear { width: auto; min-width: 5rem; padding: .25rem .45rem; font-size: .75rem; }
.create-options[b-la3m5cfgcj]  .variant-rows { display: grid; gap: .7rem; margin: .8rem 0 1.25rem; }
.create-options[b-la3m5cfgcj]  .variant-barcode-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: .8rem 0 0; }
.create-options[b-la3m5cfgcj]  .variant-barcode-bar .button { margin-top: 0; }
.create-options[b-la3m5cfgcj]  .variant-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: .75rem; padding: 1rem; border: 1px solid #d8e6f7; border-radius: 10px; background: #fff; }
.create-options[b-la3m5cfgcj]  .variant-identity { display: flex; align-items: center; gap: .6rem; }
.create-options[b-la3m5cfgcj]  .variant-identity img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.create-options[b-la3m5cfgcj]  .bulk-stock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: .75rem; margin: .8rem 0 0; }
.create-options[b-la3m5cfgcj]  .bulk-stock label { min-width: 0; margin: 0; }
.create-options[b-la3m5cfgcj]  .bulk-stock .button { min-height: 2.65rem; margin: 0; box-sizing: border-box; justify-content: center; }
.create-options-intro[b-la3m5cfgcj] { max-width: 50rem; margin: 0 0 1rem; line-height: 1.55; }
.create-options-choices[b-la3m5cfgcj] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.create-options[b-la3m5cfgcj]  .create-option-choice { display: flex; align-items: flex-start; gap: .7rem; margin: 0; padding: .9rem 1rem; border: 1px solid #d8e6f7; border-radius: 10px; background: #fff; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .create-option-choice:has(input:checked) { border-color: #80b3f6; background: #eef5ff; }
.create-options[b-la3m5cfgcj]  .create-option-choice input { margin-top: .25rem; accent-color: #1a73e8; }
.create-options[b-la3m5cfgcj]  .create-option-choice span { display: grid; gap: .2rem; }
.create-options[b-la3m5cfgcj]  .create-option-choice small { color: var(--muted); font-weight: 400; line-height: 1.4; }
.create-options-step[b-la3m5cfgcj] { min-width: 0; margin-top: 1.1rem; padding: 1rem; border: 1px solid #d8e6f7; border-radius: 12px; background: #fff; }
.create-options-step-heading[b-la3m5cfgcj] { display: flex; align-items: flex-start; gap: .75rem; }
.create-options-step-heading h3[b-la3m5cfgcj] { margin: 0; font-size: 1.08rem; }
.create-options-step-heading p[b-la3m5cfgcj] { margin: .15rem 0 0; color: var(--muted); font-size: .85rem; }
.create-step-number[b-la3m5cfgcj] { display: grid; place-items: center; flex: 0 0 1.8rem; height: 1.8rem; border-radius: 50%; background: #e8f1fe; color: #155fc4; font-weight: 700; }
.create-options[b-la3m5cfgcj]  .axis-grid.single-axis { grid-template-columns: minmax(0, 1fr); }
.create-options[b-la3m5cfgcj]  .axis-panel { min-width: 0; padding: 1rem; border: 1px solid #e1eaf7; border-radius: 10px; background: #f8faff; }
.create-options[b-la3m5cfgcj]  .axis-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.create-options[b-la3m5cfgcj]  .create-text-button { padding: .25rem .5rem; border: 0; background: transparent; color: #155fc4; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .create-add-axis { margin-top: .1rem; }
.create-options[b-la3m5cfgcj]  .create-add-axis span { margin-left: .3rem; color: var(--muted); font-size: .8rem; font-weight: 400; }
.create-options[b-la3m5cfgcj]  .combo-filter, .create-options[b-la3m5cfgcj]  .bulk-stock-details { margin-top: .9rem; padding: .7rem .85rem; border: 1px solid #e1eaf7; border-radius: 8px; background: #f8faff; }
.create-options[b-la3m5cfgcj]  .combo-filter summary, .create-options[b-la3m5cfgcj]  .bulk-stock-details summary, .create-options[b-la3m5cfgcj]  .color-photo-options summary, .create-options[b-la3m5cfgcj]  .variant-row-more summary { color: #155fc4; cursor: pointer; font-weight: 600; }
.create-options[b-la3m5cfgcj]  .combo-filter summary span, .create-options[b-la3m5cfgcj]  .variant-row-more summary span { margin-left: .3rem; color: var(--muted); font-size: .8rem; font-weight: 400; }
.create-options[b-la3m5cfgcj]  .color-photo-options { margin-top: .7rem; }
.create-options[b-la3m5cfgcj]  .variant-identity { grid-column: 1 / -1; padding-bottom: .45rem; border-bottom: 1px solid #e1eaf7; }
.create-options[b-la3m5cfgcj]  .variant-identity strong { min-width: 0; overflow-wrap: anywhere; }
.create-options[b-la3m5cfgcj]  .variant-row > label { min-width: 0; }
.create-options[b-la3m5cfgcj]  .variant-row.without-stock > label { grid-column: 1 / -1; }
.create-options[b-la3m5cfgcj]  .variant-row-more { grid-column: 1 / -1; min-width: 0; padding-top: .2rem; }
.create-options[b-la3m5cfgcj]  .variant-row-more-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding-top: .75rem; }
.create-options[b-la3m5cfgcj]  .variant-row-more-fields > label { min-width: 0; }
.create-options[b-la3m5cfgcj]  .variant-row input, .create-options[b-la3m5cfgcj]  .axis-grid input, .create-options[b-la3m5cfgcj]  .axis-grid select, .create-options[b-la3m5cfgcj]  .bulk-stock input { box-sizing: border-box; max-width: 100%; min-width: 0; }
.create-options[b-la3m5cfgcj]  .variant-row .barcode-input-row { max-width: 100%; }
@media (max-width: 700px) {
    .create-options[b-la3m5cfgcj] { padding: 1rem; }
    .create-options[b-la3m5cfgcj]  .axis-grid, .create-options[b-la3m5cfgcj]  .variant-row { grid-template-columns: 1fr; }
    .create-options-choices[b-la3m5cfgcj], .create-options[b-la3m5cfgcj]  .variant-row-more-fields { grid-template-columns: 1fr; }
    .create-options-step[b-la3m5cfgcj] { padding: .8rem; }
    .create-options[b-la3m5cfgcj]  .variant-identity, .create-options[b-la3m5cfgcj]  .variant-row-more { grid-column: 1; }
    .create-options[b-la3m5cfgcj]  .variant-photo-row { flex-wrap: wrap; }
    .create-options[b-la3m5cfgcj]  .model-choice-heading { align-items: stretch; flex-direction: column; }
    .create-options[b-la3m5cfgcj]  .bulk-stock { grid-template-columns: 1fr; }
    .create-options[b-la3m5cfgcj]  .bulk-stock .button { width: 100%; }
}

/* Simple flow: pick what differs (chips), tap the values (chips), fill one small table. It sits inside the purple
   "সাইজ, রঙ বা মডেল" card on the product form, so the old blue box around it is gone. */
.create-options[b-la3m5cfgcj] { max-width: none; margin: 1rem 0 0; padding: 0; border: 0; background: transparent; }
.create-options[b-la3m5cfgcj]  .vx-block { margin: 0 0 1.1rem; }
.create-options[b-la3m5cfgcj]  .vx-q { margin: 0 0 .5rem; font-weight: 700; color: #5a2fa0; }
.create-options[b-la3m5cfgcj]  .vx-count { font-weight: 400; color: var(--muted); }
.create-options[b-la3m5cfgcj]  .vx-hint { margin: .45rem 0 0; color: var(--muted); font-size: .85rem; }
.create-options[b-la3m5cfgcj]  .vx-types { display: flex; flex-wrap: wrap; gap: .5rem; }
.create-options[b-la3m5cfgcj]  .vx-type { padding: .5rem 1.1rem; border: 1.5px solid #cdb6f0; border-radius: 999px; background: #fff; color: #5a2fa0; font-weight: 600; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .vx-type.on { border-color: #7a4fc2; background: #7a4fc2; color: #fff; }
.create-options[b-la3m5cfgcj]  .axis-grid { gap: 1rem; margin: 0 0 1.1rem; }
.create-options[b-la3m5cfgcj]  .axis-panel { padding: 0; border: 0; background: transparent; }
.create-options[b-la3m5cfgcj]  .preset-list { gap: .5rem; margin: .4rem 0 .8rem; }
.create-options[b-la3m5cfgcj]  .preset-chip { position: relative; margin: 0; padding: .45rem .95rem; border: 1.5px solid #d9c8f3; border-radius: 999px; background: #fff; color: #5a2fa0; font-weight: 600; }
.create-options[b-la3m5cfgcj]  .preset-chip input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.create-options[b-la3m5cfgcj]  .preset-chip:has(input:checked) { border-color: #7a4fc2; background: #7a4fc2; color: #fff; }
.create-options[b-la3m5cfgcj]  .preset-chip:has(input:focus-visible) { outline: 2px solid #7a4fc2; outline-offset: 2px; }
.create-options[b-la3m5cfgcj]  .vx-bulk { display: flex; align-items: center; gap: .6rem; margin: 0 0 .8rem; color: var(--muted); font-size: .9rem; }
.create-options[b-la3m5cfgcj]  .vx-bulk span { white-space: nowrap; }
.create-options[b-la3m5cfgcj]  .vx-bulk input { flex: 1 1 4rem; width: auto; min-width: 0; max-width: 8rem; }
.create-options[b-la3m5cfgcj]  .vx-bulk .button { margin: 0; min-height: 2.4rem; }
.create-options[b-la3m5cfgcj]  .vx-table { border: 1px solid #e3d6f7; border-radius: 12px; overflow: hidden; background: #fff; }
.create-options[b-la3m5cfgcj]  .vx-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .9fr) 2rem; align-items: center; gap: .5rem; padding: .5rem .7rem; border-top: 1px solid #f0e8fb; }
.create-options[b-la3m5cfgcj]  .vx-row.vx-head { border-top: 0; background: #f1e8fc; color: #5a2fa0; font-size: .85rem; font-weight: 700; }
.create-options[b-la3m5cfgcj]  .vx-row input { width: 100%; min-width: 0; box-sizing: border-box; padding: .45rem .5rem; }
.create-options[b-la3m5cfgcj]  .vx-name { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.create-options[b-la3m5cfgcj]  .vx-name strong { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.create-options[b-la3m5cfgcj]  .vx-name img { width: 32px; height: 32px; object-fit: cover; border-radius: 6px; flex: none; }
.create-options[b-la3m5cfgcj]  .vx-x { width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #8a8fa0; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .vx-x:hover { background: #fde8ef; color: #b8344f; }
.create-options[b-la3m5cfgcj]  .vx-total { margin: .6rem 0 0; font-weight: 600; color: #3b2370; }
.create-options[b-la3m5cfgcj]  .vx-total span { font-weight: 400; color: var(--muted); font-size: .85rem; }
.create-options[b-la3m5cfgcj]  .vx-excluded { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .6rem 0 0; color: var(--muted); font-size: .85rem; }
.create-options[b-la3m5cfgcj]  .vx-undo { padding: .25rem .65rem; border: 1px dashed #b9a2e0; border-radius: 999px; background: #fff; color: #5a2fa0; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .vx-extras { margin-top: 1rem; padding: .7rem .9rem; border: 1px solid #e3d6f7; border-radius: 10px; background: #fbf9ff; }
.create-options[b-la3m5cfgcj]  .vx-extras summary { color: #5a2fa0; cursor: pointer; font-weight: 600; }
.create-options[b-la3m5cfgcj]  .vx-extras summary span { margin-left: .3rem; color: var(--muted); font-size: .8rem; font-weight: 400; }
.create-options[b-la3m5cfgcj]  .vx-extras > .vx-bulk { margin-top: .8rem; }
.create-options[b-la3m5cfgcj]  .vx-extra-rows { gap: .5rem; margin: .8rem 0 0; }
.create-options[b-la3m5cfgcj]  .vx-extra-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; padding: .7rem 0; border-top: 1px solid #eee5fa; }
.create-options[b-la3m5cfgcj]  .vx-extra-row > strong { grid-column: 1 / -1; }
.create-options[b-la3m5cfgcj]  .vx-extra-row label { min-width: 0; }
.create-options[b-la3m5cfgcj]  .vx-extra-row input { width: 100%; box-sizing: border-box; min-width: 0; }
@media (max-width: 700px) {
    .create-options[b-la3m5cfgcj]  .vx-row { grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, .9fr) 1.8rem; gap: .35rem; padding: .5rem .5rem; }
    .create-options[b-la3m5cfgcj]  .vx-extra-row { grid-template-columns: 1fr; }
}
/* /Components/Pages/Admin/Products/StockAdd.razor.rz.scp.css */
.stock-add-intro[b-x1db7rdqbj] { max-width: 48rem; line-height: 1.5; }
.stock-add-section[b-x1db7rdqbj] { box-sizing: border-box; width: 100%; margin: 1rem 0; padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--border-subtle); border-radius: 16px; background: #fff; box-shadow: 0 3px 18px rgba(40, 55, 82, .045); }
.stock-add-section h2[b-x1db7rdqbj] { margin: 0 0 .75rem; font-size: 1.2rem; }
.stock-add-total[b-x1db7rdqbj] { font-size: 1.35rem; }
.stock-add-variants[b-x1db7rdqbj] { list-style: none; margin: .75rem 0 0; padding: 0; }
.stock-add-variants li[b-x1db7rdqbj] { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem; padding: .5rem 0; border-top: 1px solid var(--border-subtle); }
.stock-add-section label[b-x1db7rdqbj] { display: block; max-width: none; margin: .8rem 0; }
.stock-add-section label input[b-x1db7rdqbj],
.stock-add-section label select[b-x1db7rdqbj] { box-sizing: border-box; width: 100%; max-width: none !important; }
.stock-add-section .button[b-x1db7rdqbj] { margin-top: .5rem; }
@media (max-width: 600px) {
    .stock-add-section[b-x1db7rdqbj] { padding: .85rem; }
    .stock-add-section .button[b-x1db7rdqbj] { width: 100%; justify-content: center; }
}
/* /Components/Pages/Admin/Sales/PhoneScanner.razor.rz.scp.css */
.phone-scanner[b-tv7twbgjiy] {
    max-width: 560px;
    margin: 0 auto;
}

.phone-scanner-title[b-tv7twbgjiy] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    font-size: var(--text-lg);
}

.phone-scanner-live[b-tv7twbgjiy] { color: #1e8a44; font-size: var(--text-sm); font-weight: 400; }

.phone-scanner-empty[b-tv7twbgjiy] {
    padding: 2rem 1rem;
    text-align: center;
}

.phone-scanner-empty[b-tv7twbgjiy]  .icon { font-size: 2.5rem; color: var(--brand); }
.phone-scanner-empty h1[b-tv7twbgjiy] { font-size: var(--text-xl); }

.phone-scanner-camera[b-tv7twbgjiy] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    isolation: isolate;
    background: #1d1d1d;
    border-radius: 12px;
    overflow: hidden;
}

.phone-scanner-view[b-tv7twbgjiy] {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
}

/* The shape comes from a padding-top spacer, not from aspect-ratio. Safari on older iPhones (iOS 15) handles aspect-ratio together with min/max-height badly: the box could come out wider than the screen and had to be scrolled sideways. A spacer gives the same shape in every browser. */
.phone-scanner-camera[b-tv7twbgjiy]::before { content: ""; display: block; padding-top: 75%; }

.phone-scanner-view[b-tv7twbgjiy]  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phone-scanner-guide[b-tv7twbgjiy] {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50%;
    height: 2px;
    background: #ff3b30;
    box-shadow: 0 0 8px #ff3b30;
    pointer-events: none;
}

/* Pinned to the viewport, not the camera preview — held and worked one-handed from the bottom
   edge of the phone. */
.phone-scanner-trigger[b-tv7twbgjiy] {
    position: fixed;
    left: 6%;
    right: 6%;
    bottom: calc(0.9rem + env(safe-area-inset-bottom));
    z-index: 65;
    margin: 0;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--brand);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 18px rgba(184, 81, 42, 0.55), 0 0 0 3px rgba(255, 255, 255, 0.9);
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.phone-scanner-trigger.armed[b-tv7twbgjiy] {
    background: #ffd54a;
    color: #222;
    border-color: #ffd54a;
}

.phone-scanner-start[b-tv7twbgjiy] {
    position: relative;
    z-index: 1;
    padding: 0.9rem 1.4rem;
    font-size: 1.05rem;
}

.phone-scanner-actions[b-tv7twbgjiy] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.phone-scanner-actions .button[b-tv7twbgjiy] { flex: 1; justify-content: center; margin-top: 0; }
.phone-scanner-actions .button.active[b-tv7twbgjiy] { background: var(--brand); color: white; border-color: var(--brand); }

.phone-scanner-message[b-tv7twbgjiy] {
    margin: 0.75rem 0 0;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--warning-border);
    border-radius: var(--radius-md);
    background: var(--warning-bg);
    color: var(--warning-text);
    font-size: var(--text-sm);
}

.phone-scanner-manual[b-tv7twbgjiy] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

/* By id: app.css's global input rule out-ranks a class selector and caps width at 420px. */
#phone-manual-code[b-tv7twbgjiy] { flex: 1; min-width: 0; max-width: none; margin: 0; }
.phone-scanner-manual .button[b-tv7twbgjiy] { margin-top: 0; }

.phone-scanner-recent[b-tv7twbgjiy] {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.phone-scanner-recent li[b-tv7twbgjiy] {
    padding: 0.55rem 0.7rem;
    border-bottom: 1px solid var(--border-subtle);
    font-size: var(--text-sm);
}

.phone-scanner-recent li.warn[b-tv7twbgjiy] { color: var(--warning-text); }

.phone-scanner-code[b-tv7twbgjiy] {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    color: var(--muted);
    margin-right: 0.35rem;
}
/* /Components/Pages/Admin/Sales/Pos.razor.rz.scp.css */
.pos-layout[b-464crfxl4b] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    grid-template-areas:
        "omni checkout"
        "catalog checkout";
    grid-template-rows: auto 1fr;
    column-gap: 1.25rem;
    align-items: start;
}

.pos-scan-area[b-464crfxl4b] { grid-area: omni; min-width: 0; max-width: 100%; }
.pos-catalog[b-464crfxl4b] { grid-area: catalog; min-width: 0; max-width: 100%; }
.pos-checkout[b-464crfxl4b] { grid-area: checkout; min-width: 0; max-width: 100%; }

/* ---- catalog: omnibox + tiles ---- */

.pos-omnibox[b-464crfxl4b] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.75rem;
    background: white;
    border: 2px solid var(--brand);
    border-radius: var(--radius-md); 
}

.pos-omnibox[b-464crfxl4b]  .icon { font-size: 1.35rem; color: var(--brand); }

/* By id: app.css's global input rule chains several :not() selectors and would otherwise
   out-rank a class selector, capping the field at 420px with its own border. */
#pos-omnibox[b-464crfxl4b] {
    flex: 1;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    padding: 0.8rem 0;
    font-size: 1.1rem;
    background: transparent;
}

.pos-omnibox-clear[b-464crfxl4b] {
    margin: 0;
    padding: 0.25rem;
    background: transparent;
    border: none;
    color: var(--muted);
}

.pos-omnibox-camera[b-464crfxl4b] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0;
    padding: 0.4rem 0.6rem;
    background: var(--surface-muted);
    color: var(--brand);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    white-space: nowrap;
    font-size: var(--text-sm);
}

.pos-omnibox-camera:hover[b-464crfxl4b],
.pos-omnibox-camera:focus-visible[b-464crfxl4b] { background: #e8f0fe; border-color: #a9c9f4; color: #155fc4; }
.pos-omnibox-camera.active[b-464crfxl4b] { background: var(--brand); color: white; }

/* ---- camera ---- */

.pos-camera[b-464crfxl4b] {
    position: relative;
    box-sizing: border-box;
    margin-top: 0.6rem;
    min-height: 210px;
    max-height: 260px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background: #1d1d1d;
    border-radius: var(--radius-md);
    overflow: hidden;
    /* Keeps the rounded corners clipping the video on iOS (a known Safari habit of letting a video ignore them). */
    isolation: isolate;
}

.pos-camera-hidden[b-464crfxl4b] { display: none; }

.pos-camera-view[b-464crfxl4b] {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
}

/* The shape comes from a padding-top spacer, not from aspect-ratio. Safari on older iPhones (iOS 15) handles aspect-ratio together with min/max-height badly: the box could come out wider than the screen and had to be scrolled sideways. A spacer gives the same shape in every browser. */
.pos-camera[b-464crfxl4b]::before { content: ""; display: block; padding-top: 43.75%; }

.pos-camera-view[b-464crfxl4b]  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pos-camera-guide[b-464crfxl4b] {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 2px;
    background: #ff3b30;
    box-shadow: 0 0 8px #ff3b30;
    pointer-events: none;
}

/* Pinned to the viewport, not the camera preview — a phone is held and operated one-handed
   from the bottom edge, so the trigger stays reachable there no matter how tall the camera
   box or the product grid above it is. */
.pos-camera-trigger[b-464crfxl4b] {
    position: fixed;
    left: 5%;
    right: 5%;
    bottom: calc(0.9rem + env(safe-area-inset-bottom));
    z-index: 65;
    margin: 0;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--brand);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 18px rgba(184, 81, 42, 0.55), 0 0 0 3px rgba(255, 255, 255, 0.9);
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* The mobile "বিক্রয় সম্পন্ন" bar sits fixed at the very bottom once the cart has items —
   lift the trigger above it so the two never overlap. */
.pos-camera-trigger.pos-camera-trigger-above-cart[b-464crfxl4b] {
    bottom: calc(4.6rem + env(safe-area-inset-bottom));
}

.pos-camera-trigger.armed[b-464crfxl4b] {
    background: #ffd54a;
    color: #222;
    border-color: #ffd54a;
}

.pos-camera-bar[b-464crfxl4b] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    color: white;
    font-size: var(--text-sm);
}

.pos-camera-bar span[b-464crfxl4b] {
    /* A small basis: where the text and buttons fit on one row (as they always did) they stay on one row; only where they would run past the edge do the buttons wrap below. */
    flex: 1 1 3.5rem;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.pos-camera-bar[b-464crfxl4b]  .field-help-icon { color: rgba(255, 255, 255, 0.75); margin-left: 0; position: relative; top: 0.1rem; }
.pos-camera-bar[b-464crfxl4b]  .field-help-icon:hover, .pos-camera-bar[b-464crfxl4b]  .field-help-icon:focus-visible { color: white; }

.pos-camera-btn[b-464crfxl4b] {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

.pos-camera-btn.active[b-464crfxl4b] { background: #ffd54a; color: #222; border-color: #ffd54a; }

/* A narrow phone with a torch button (an iPhone's back camera has one) has four things in the bar: tighter spacing keeps them on one row. */
@media (max-width: 420px) {
    .pos-camera-bar[b-464crfxl4b] { gap: 0.35rem; padding: 0.4rem 0.5rem; }
    .pos-camera-bar span[b-464crfxl4b] { flex-basis: 2.5rem; }
    .pos-camera-btn[b-464crfxl4b] { padding: 0.3rem 0.45rem; }
}

.pos-camera-message[b-464crfxl4b] {
    margin: 0.6rem 0 0;
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--warning-border);
    border-radius: var(--radius-md);
    background: var(--warning-bg);
    color: var(--warning-text);
    font-size: var(--text-sm);
}

.pos-scan-tools[b-464crfxl4b] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.75rem;
    margin-top: 0.4rem;
}

.pos-scan-tools .pos-link[b-464crfxl4b] { display: inline-flex; align-items: center; gap: 0.3rem; text-decoration: none; }
.pos-phone-status[b-464crfxl4b] { color: var(--muted); font-size: var(--text-xs); }

.pos-pair h2[b-464crfxl4b] { display: flex; align-items: center; gap: 0.4rem; }
.pos-pair-steps[b-464crfxl4b] { margin: 0 0 0.75rem; padding-left: 1.2rem; font-size: var(--text-sm); }
.pos-pair-steps li[b-464crfxl4b] { margin-bottom: 0.3rem; }

.pos-pair-qr[b-464crfxl4b] {
    display: flex;
    justify-content: center;
    padding: 0.5rem;
    background: white;
    border-radius: var(--radius-md);
}

.pos-pair-qr[b-464crfxl4b]  svg { width: 220px; height: 220px; }

.pos-pair-url[b-464crfxl4b] {
    margin: 0.5rem 0;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: var(--text-xs);
    color: var(--muted);
    word-break: break-all;
    text-align: center;
}

.pos-grid-caption[b-464crfxl4b] {
    margin: 0.9rem 0 0.5rem;
    color: var(--muted);
    font-size: var(--text-sm);
}

.pos-grid[b-464crfxl4b] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.6rem;
}

.pos-tile[b-464crfxl4b] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    margin: 0;
    padding: 0.5rem;
    min-height: 0;
    background: white;
    color: var(--ink);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.12s, transform 0.08s;
}

.pos-tile:hover[b-464crfxl4b] { border-color: var(--brand); background: white; }
.pos-tile:active[b-464crfxl4b] { transform: scale(0.97); }

.pos-tile img[b-464crfxl4b],
.pos-tile-initial[b-464crfxl4b] {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    object-fit: cover;
}

.pos-tile-initial[b-464crfxl4b] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-muted);
    color: var(--brand);
    font-size: 1.8rem;
    font-weight: 600;
}

.pos-tile-name[b-464crfxl4b] {
    font-weight: 600;
    font-size: var(--text-sm);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pos-tile-meta[b-464crfxl4b] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    color: var(--muted);
    font-size: var(--text-xs);
}

.pos-tile-variants[b-464crfxl4b] {
    padding: 0 0.35rem;
    border-radius: var(--radius-pill);
    background: var(--info-bg);
    color: var(--info-accent);
}

.pos-empty[b-464crfxl4b] {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
}

/* ---- checkout: cart + payment ---- */

.pos-checkout[b-464crfxl4b] {
    position: sticky;
    top: 4.25rem;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 5.5rem);
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    /* Not overflow: hidden — the customer dropdown is an absolutely placed list that opens below the payment
       part, and hidden clipped it at this box's bottom edge. The cart scrolls on its own (.pos-cart), and the
       corners overflow hidden used to round are rounded on .pos-pay. min-width: 0 so the grid cell can still
       shrink now that it is not overflow hidden. */
    overflow: visible;
    min-width: 0;
}

.pos-cart-head[b-464crfxl4b] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem 0.5rem;
}

.pos-cart-head h2[b-464crfxl4b] { margin: 0; font-size: var(--text-lg); }

.pos-link[b-464crfxl4b] {
    margin: 0;
    padding: 0.2rem 0.4rem;
    background: transparent;
    border: none;
    color: var(--brand);
    font-size: var(--text-sm);
    text-decoration: underline;
}

.pos-cart-empty[b-464crfxl4b] {
    padding: 1.5rem 1rem;
    text-align: center;
    color: var(--muted);
}

.pos-cart-empty[b-464crfxl4b]  .icon { font-size: 2.2rem; opacity: 0.5; }
.pos-cart-empty p[b-464crfxl4b] { margin: 0.4rem 0 0; font-size: var(--text-sm); }

.pos-cart[b-464crfxl4b] {
    list-style: none;
    margin: 0;
    padding: 0 0.5rem;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 3rem;
}

.pos-line[b-464crfxl4b] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 6px;
}

.pos-line-flash[b-464crfxl4b] { animation: pos-flash-b-464crfxl4b 0.9s ease-out; }

@keyframes pos-flash-b-464crfxl4b {
    from { background: #fff1c9; }
    to { background: transparent; }
}

.pos-line-main[b-464crfxl4b] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    margin: 0;
    padding: 0;
    min-width: 0;
    background: transparent;
    border: none;
    color: var(--ink);
    text-align: left;
    white-space: normal;
}

.pos-line-main:hover[b-464crfxl4b] { background: transparent; }

.pos-line-name[b-464crfxl4b] {
    font-weight: 600;
    font-size: var(--text-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.pos-line-sub[b-464crfxl4b] { color: var(--muted); font-size: var(--text-xs); }
.pos-line-warn[b-464crfxl4b] { color: var(--warning-text); font-size: var(--text-xs); }

.pos-qty[b-464crfxl4b] {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.pos-qty button[b-464crfxl4b] {
    margin: 0;
    padding: 0.35rem 0.55rem;
    min-height: 2.2rem;
    background: white;
    border: none;
    color: var(--brand);
}

.pos-qty span[b-464crfxl4b] {
    min-width: 2rem;
    text-align: center;
    font-weight: 600;
    font-size: var(--text-sm);
}

.pos-line-total[b-464crfxl4b] {
    min-width: 4.5rem;
    text-align: right;
    font-weight: 600;
    font-size: var(--text-sm);
}

.pos-pay[b-464crfxl4b] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid var(--border-subtle);
    border-radius: 0 0 calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px);
    background: var(--surface-muted);
}

.pos-pay label[b-464crfxl4b] { margin: 0; font-size: var(--text-sm); }

.pos-total[b-464crfxl4b] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.pos-total strong[b-464crfxl4b] { font-size: 1.7rem; color: var(--ink); }

.pos-segment[b-464crfxl4b] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--brand);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.pos-segment button[b-464crfxl4b] {
    margin: 0;
    justify-content: center;
    padding: 0.5rem 0.25rem;
    background: white;
    color: var(--brand);
    border: none;
    border-radius: 0;
}

.pos-segment button + button[b-464crfxl4b] { border-left: 1px solid var(--brand); }
.pos-segment button.active[b-464crfxl4b] { background: var(--brand); color: white; }

.pos-change[b-464crfxl4b],
.pos-short[b-464crfxl4b] {
    margin: 0;
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

.pos-change[b-464crfxl4b] { background: #e8f6ec; color: #1e6b36; }
.pos-change strong[b-464crfxl4b] { font-size: 1.15rem; }
.pos-short[b-464crfxl4b] { background: var(--warning-bg); color: var(--warning-text); }

.pos-complete[b-464crfxl4b] {
    justify-content: center;
    margin-top: 0.25rem;
    padding: 0.85rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.pos-submit-spinner[b-464crfxl4b] {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.45rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: -0.15em;
    animation: pos-submit-spin-b-464crfxl4b 0.7s linear infinite;
}

@keyframes pos-submit-spin-b-464crfxl4b { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pos-submit-spinner[b-464crfxl4b] { animation: none; } }

.pos-kbd[b-464crfxl4b] {
    margin-left: 0.5rem;
    padding: 0 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    font-size: var(--text-xs);
    font-weight: 400;
    opacity: 0.85;
}

.pos-mobile-bar[b-464crfxl4b] { display: none; }
/* Phone-only pieces of the বিক্রির তালিকা bottom sheet (see the 640px block below). */
.pos-checkout-backdrop[b-464crfxl4b], .pos-checkout-close[b-464crfxl4b], .pos-checkout-tip[b-464crfxl4b] { display: none; }

/* ---- sheets (dialog on desktop, bottom sheet on phones) ---- */

.pos-sheet-backdrop[b-464crfxl4b] {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.45);
}

.pos-sheet[b-464crfxl4b] {
    position: relative;
    width: min(100%, 480px);
    max-height: 88vh;
    overflow-y: auto;
    padding: 1.25rem;
    background: var(--paper);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.pos-sheet > div > h2[b-464crfxl4b] {
    min-height: 2.25rem;
    margin: -1.25rem -1.25rem 1rem;
    padding: .9rem 3.5rem .9rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--surface-muted);
    font-size: var(--text-lg);
    line-height: 1.35;
}
.pos-sheet h3[b-464crfxl4b] { margin: 0.5rem 0; font-size: var(--text-base); }
.pos-sheet label[b-464crfxl4b] { display: block; }

.pos-sheet-close[b-464crfxl4b] {
    position: absolute;
    top: .8rem;
    right: 1rem;
    margin: 0;
    padding: 0.35rem;
    background: transparent;
    border: none;
    color: var(--muted);
}

.pos-choice-list[b-464crfxl4b] {
    display: grid;
    gap: 0.45rem;
    margin: 0.5rem 0;
}

.pos-choice[b-464crfxl4b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0.75rem 0.9rem;
    background: white;
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: left;
}

.pos-choice:hover[b-464crfxl4b] { border-color: var(--brand); background: white; }
.pos-choice span[b-464crfxl4b] { color: var(--muted); font-size: var(--text-sm); }

.pos-remember[b-464crfxl4b] { display: flex !important; align-items: center; gap: 0.5rem; margin-top: 0.75rem; font-size: var(--text-sm); }
.pos-remember input[b-464crfxl4b] { width: auto; }

.pos-code[b-464crfxl4b] {
    margin: 0 0 0.75rem;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}

.pos-new-product[b-464crfxl4b] {
    margin-top: 1rem;
    padding: 0.75rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: white;
}

.pos-new-product summary[b-464crfxl4b] { cursor: pointer; font-weight: 600; color: var(--brand); }
.pos-new-product .button[b-464crfxl4b] { margin-top: 0.5rem; }

.pos-two[b-464crfxl4b] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.pos-sheet-actions[b-464crfxl4b] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.pos-sheet-actions .button[b-464crfxl4b] { margin-top: 0; }

.pos-done[b-464crfxl4b] { text-align: center; }
.pos-done h2[b-464crfxl4b] { margin-right: 0; }
.pos-done-icon[b-464crfxl4b]  .icon { font-size: 3rem; color: #1e8a44; }
.pos-done-total[b-464crfxl4b] { margin: 0 0 0.75rem; font-size: 1.4rem; font-weight: 600; }
.pos-done .pos-sheet-actions[b-464crfxl4b] { justify-content: center; }
.pos-done .pos-change[b-464crfxl4b], .pos-done .pos-short[b-464crfxl4b] { margin-bottom: 0.5rem; }

@media (max-width: 900px) {
    .pos-layout[b-464crfxl4b] {
        /* minmax(0, 1fr), not 1fr: a plain 1fr column grows to its widest unbreakable content and pushes the page sideways. */
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "omni" "checkout" "catalog";
        grid-template-rows: auto;
        row-gap: 0.75rem;
    }
    .pos-checkout[b-464crfxl4b] { position: static; max-height: none; }
    .pos-cart[b-464crfxl4b] { max-height: 45vh; }
    .pos-grid[b-464crfxl4b] { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
    .pos-grid-caption[b-464crfxl4b] { margin-top: 0.25rem; }
}

@media (max-width: 640px) {
    .pos-kbd[b-464crfxl4b] { display: none; }
    /* Already on a phone: its own camera button is the scanner; pairing another phone is for laptops. */
    .pos-scan-tools .pos-phone-pair-link[b-464crfxl4b] { display: none; }
    /* Owner's call: on a phone the sale list is reached from the বিক্রয় tab, not from here. */
    .pos-scan-tools .pos-sales-list-link[b-464crfxl4b] { display: none; }

    .pos-mobile-bar[b-464crfxl4b] {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
        background: white;
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08);
    }

    .pos-mobile-total[b-464crfxl4b] {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        min-width: 0;
        min-height: 44px;
        margin: 0;
        padding: 0;
        background: transparent;
        border: none;
        color: var(--ink);
        text-align: left;
        text-decoration: none;
        font-size: var(--text-xs);
    }

    .pos-mobile-total span[b-464crfxl4b] { color: var(--brand); font-weight: 600; }
    .pos-mobile-total strong[b-464crfxl4b] { font-size: 1.3rem; }

    /* The grid sits right under the search box; the বিক্রির তালিকা panel (lines, payment,
       customer) leaves the page and becomes a bottom sheet opened from the bar. */
    .pos-layout[b-464crfxl4b] { grid-template-areas: "omni" "catalog"; }
    .pos-checkout[b-464crfxl4b] { display: none; }
    .pos-checkout.is-open[b-464crfxl4b] {
        display: flex;
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1095;
        max-height: 88vh;
        overflow-y: auto;
        overscroll-behavior: contain;
        border: none;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
        padding-bottom: env(safe-area-inset-bottom);
        animation: pos-checkout-up-b-464crfxl4b 0.2s ease-out;
    }
    /* While the customer list is open, the sheet takes the whole screen so the list (it opens
       below its box) isn't cut off at the bottom edge. */
    .pos-checkout.is-open:has(.unit-select-panel)[b-464crfxl4b] { top: 0; max-height: none; border-radius: 0; }
    /* The sheet scrolls as a whole; the line list no longer needs its own scroll box. */
    .pos-checkout.is-open .pos-cart[b-464crfxl4b] { max-height: none; overflow: visible; flex: none; }
    .pos-checkout.is-open .pos-cart-head[b-464crfxl4b] { position: sticky; top: 0; z-index: 1; background: white; border-radius: 16px 16px 0 0; }
    .pos-checkout-backdrop[b-464crfxl4b] { display: block; position: fixed; inset: 0; z-index: 1090; background: rgba(0, 0, 0, 0.45); }
    .pos-checkout-close[b-464crfxl4b] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0 -0.5rem 0 0.25rem;
        padding: 0;
        background: transparent;
        border: none;
        color: var(--muted);
        font-size: 1.2rem;
    }
    .pos-cart-head h2[b-464crfxl4b] { flex: 1; }

    /* One-time pointer to "তালিকা দেখুন": a dark callout just above the bar, its arrow over the
       bar's left (তালিকা দেখুন) half. */
    .pos-checkout-tip[b-464crfxl4b] {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        position: fixed;
        left: 0.75rem;
        right: 0.75rem;
        bottom: calc(5.3rem + env(safe-area-inset-bottom));
        z-index: 65;
        padding: 0.6rem 0.5rem 0.6rem 0.85rem;
        border-radius: 10px;
        background: #1f3554;
        color: #fff;
        font-size: var(--text-sm);
        line-height: 1.45;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
        animation: pos-toast-in-b-464crfxl4b 0.18s ease-out;
    }
    .pos-checkout-tip[b-464crfxl4b]::after {
        content: "";
        position: absolute;
        left: 2.5rem;
        bottom: -6px;
        border: 6px solid transparent;
        border-bottom: 0;
        border-top-color: #1f3554;
    }
    .pos-checkout-tip span[b-464crfxl4b] { flex: 1 1 auto; }
    .pos-checkout-tip-close[b-464crfxl4b] {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: -0.4rem 0;
        padding: 0;
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.85);
    }
    .pos-qty button[b-464crfxl4b] { min-width: 44px; min-height: 44px; }
    .pos-mobile-bar .button[b-464crfxl4b] { margin: 0; padding: 0.8rem 1.1rem; font-weight: 600; }

    .pos-sheet-backdrop[b-464crfxl4b] { align-items: flex-end; padding: 0; }
    .pos-sheet[b-464crfxl4b] { width: 100%; max-height: 90vh; border-radius: 16px 16px 0 0; padding-bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
    .pos-two[b-464crfxl4b] { grid-template-columns: 1fr; }
}

/* "Added" toast (see the markup next to the sheet backdrop in Pos.razor). A white card in the
   page's own style rather than a dark snackbar, sitting just above whatever is fixed to the
   bottom edge so it never covers it. Desktop shows it too — the cart is beside the grid there,
   but a tap on a tile still deserves a visible answer. */
.pos-toast[b-464crfxl4b] {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(1.25rem + env(safe-area-inset-bottom));
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 420px;
    margin: 0 auto;
    padding: 0.6rem 0.6rem 0.6rem 0.8rem;
    background: white;
    border: 1px solid var(--border-subtle);
    border-left: 4px solid #1e8a44;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    animation: pos-toast-in-b-464crfxl4b 0.18s ease-out;
}

@keyframes pos-toast-in-b-464crfxl4b {
    from { opacity: 0; transform: translateY(0.6rem); }
    to { opacity: 1; transform: translateY(0); }
}

.pos-toast[b-464crfxl4b]  .icon { flex: 0 0 auto; font-size: 1.4rem; color: #1e8a44; }
.pos-toast-text[b-464crfxl4b] { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.pos-toast-text strong[b-464crfxl4b] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.95rem; }
.pos-toast-text span[b-464crfxl4b] { font-size: var(--text-xs); color: var(--muted); }

.pos-toast-undo[b-464crfxl4b] {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.45rem 0.7rem;
    min-height: 0;
    background: transparent;
    border: none;
    color: var(--brand);
    font-weight: 600;
    font-size: var(--text-sm);
}

/* With the manual-scan trigger showing there is one more fixed element at the bottom. */
.pos-toast.pos-toast-above-trigger[b-464crfxl4b] { bottom: calc(5.2rem + env(safe-area-inset-bottom)); }

@media (max-width: 640px) {
    /* Phones: the "বিক্রয় সম্পন্ন" bar is fixed at the bottom (cart has items by definition here). */
    .pos-toast[b-464crfxl4b] { bottom: calc(5rem + env(safe-area-inset-bottom)); }
    .pos-toast.pos-toast-above-trigger[b-464crfxl4b] { bottom: calc(8.6rem + env(safe-area-inset-bottom)); }
}
/* The payment block now appears when the first item is added — a short fade so the right-hand
   panel growing on a laptop reads as "something arrived", not a layout jump. */
.pos-pay[b-464crfxl4b] { animation: pos-pay-in-b-464crfxl4b 0.2s ease-out; }
@keyframes pos-pay-in-b-464crfxl4b { from { opacity: 0; } to { opacity: 1; } }
@keyframes pos-checkout-up-b-464crfxl4b { from { transform: translateY(1.5rem); opacity: 0.6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pos-checkout.is-open[b-464crfxl4b] { animation: none; } }
/* /Components/Pages/Admin/Sales/Receipt.razor.rz.scp.css */
.receipt-barcode[b-k8iouh1p3o] { text-align: center; }

.receipt-barcode-bars[b-k8iouh1p3o] {
    width: 240px;
    height: 56px;
    margin: 0 auto;
}

.receipt-barcode-bars[b-k8iouh1p3o]  svg {
    width: 100%;
    height: 100%;
    display: block;
}

.receipt-barcode-code[b-k8iouh1p3o] {
    margin: 0.25rem 0 0;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    letter-spacing: 0.08em;
}
/* /Components/Shared/BarcodeCameraButton.razor.rz.scp.css */
/* A flex item beside the input (see e.g. Edit.razor.css's .barcode-input-row), not
   position:absolute — that was tried and confirmed broken: anchored with top/right/bottom:0, the
   button stretches to match the WHOLE wrapper's height, and once the camera panel opens below the
   input, the wrapper's height grows to include the panel (~260px) too — so the button balloons
   into a tall block with its icon centered deep inside it, invisible in the cropped input area.
   A flex row with flex-wrap sidesteps this: the panel drops to its own wrapped line, and each
   flex line's cross-size (height) is independent, so the panel's height never affects line one's
   (input + button) height. align-self:stretch matches the button's own height to the input's,
   nothing more. */
.barcode-camera-btn[b-et4yftqmep] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    width: 2.4rem;
    min-height: 0; /* the global button min-height made it taller than the input it sits beside */
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--brand);
    border: none;
    border-radius: 0;
    font-size: 1.1rem;
}

.barcode-camera-btn:hover[b-et4yftqmep] { background: var(--surface-muted); }
.barcode-camera-btn.active[b-et4yftqmep] { background: var(--brand); color: white; }

.barcode-camera-panel-hidden[b-et4yftqmep] { display: none; }

.barcode-camera-panel[b-et4yftqmep] {
    position: relative;
    margin-top: 0.5rem;
    box-sizing: border-box;
    max-height: 260px;
    width: 100%;
    max-width: 100%;
    isolation: isolate;
    background: #1d1d1d;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.barcode-camera-view[b-et4yftqmep] { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }

/* The shape comes from a padding-top spacer, not from aspect-ratio. Safari on older iPhones (iOS 15) handles aspect-ratio together with min/max-height badly: the box could come out wider than the screen and had to be scrolled sideways. A spacer gives the same shape in every browser. */
.barcode-camera-panel[b-et4yftqmep]::before { content: ""; display: block; padding-top: 62.5%; }
.barcode-camera-view[b-et4yftqmep]  video { width: 100%; height: 100%; object-fit: cover; display: block; }

.barcode-camera-guide[b-et4yftqmep] {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 2px;
    background: #ff3b30;
    box-shadow: 0 0 8px #ff3b30;
    pointer-events: none;
}

.barcode-camera-bar[b-et4yftqmep] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    color: white;
    font-size: var(--text-sm);
}

.barcode-camera-bar span[b-et4yftqmep] { flex: 1; }

.barcode-camera-close[b-et4yftqmep] {
    margin: 0;
    padding: 0.3rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
}

.barcode-camera-message[b-et4yftqmep] {
    margin: 0.5rem 0 0;
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--warning-border);
    border-radius: var(--radius-md);
    background: var(--warning-bg);
    color: var(--warning-text);
    font-size: var(--text-sm);
}
/* /Components/Shared/BarcodeEditor.razor.rz.scp.css */
.barcode-editor[b-0wmcpl7621] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.barcode-chip[b-0wmcpl7621] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.3rem 0.2rem 0.55rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: white;
    font-size: var(--text-sm);
    white-space: nowrap;
}

.barcode-chip-code[b-0wmcpl7621] {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    letter-spacing: 0.02em;
}

.barcode-chip-remove[b-0wmcpl7621],
.barcode-chip-action[b-0wmcpl7621] {
    margin: 0;
    padding: 0.1rem 0.35rem;
    min-height: 0;
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: var(--text-xs);
}

.barcode-chip-action.danger[b-0wmcpl7621] { color: var(--due); font-weight: 600; }
.barcode-chip-remove:hover[b-0wmcpl7621] { color: var(--due); background: transparent; }

.barcode-editor-add[b-0wmcpl7621] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.4rem;
    flex: 1 1 12rem;
    min-width: 0;
}

/* The input + camera layout itself is the shared .barcode-input-row in app.css; this only sets
   the row's own place as a flex item of .barcode-editor-add (beside "কোড তৈরি করুন"). */
.barcode-input-row[b-0wmcpl7621] { flex: 1 1 auto; min-width: 0; }
.barcode-editor-compact .barcode-input-row[b-0wmcpl7621] { max-width: none; }

.barcode-editor-add .button[b-0wmcpl7621] { margin-top: 0; white-space: nowrap; }

.barcode-editor-generate[b-0wmcpl7621] {
    flex-basis: 100%;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    min-height: 0;
    background: transparent;
    border: none;
    color: var(--brand);
    font-size: var(--text-sm);
    text-decoration: underline;
}

.barcode-editor-fallback[b-0wmcpl7621] {
    flex-basis: 100%;
    max-width: 16rem; /* a table cell grows to fit its longest line — keep this note from widening the column */
    margin: 0;
    color: var(--muted);
    font-size: var(--text-xs);
}

.barcode-editor-compact .barcode-editor-add[b-0wmcpl7621] { flex-basis: 9rem; }

.barcode-editor-msg[b-0wmcpl7621] {
    flex-basis: 100%;
    margin: 0;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--warning-border);
    border-radius: var(--radius-md);
    background: var(--warning-bg);
    color: var(--warning-text);
    font-size: var(--text-sm);
}

.barcode-editor-msg-actions[b-0wmcpl7621] {
    display: inline-flex;
    gap: 0.4rem;
    margin-left: 0.4rem;
}

.barcode-editor-msg-actions .button[b-0wmcpl7621] { margin-top: 0; }

.barcode-editor-error[b-0wmcpl7621] {
    border-color: #f1c7c7;
    background: #fdf0f0;
    color: var(--due);
}
/* /Components/Shared/BusinessTypePrompt.razor.rz.scp.css */
/* The new-product page's in-page version: a light card in the form's flow, no backdrop. */
.business-type-inline[b-gxk9mmfidh] {
    box-sizing: border-box;
    max-width: 42rem;
    margin: 0.75rem 0 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--info-border);
    border-radius: var(--radius-md);
    background: var(--info-bg);
}
/* The shared modal header bleeds -24px into a popup's padding and has its own band; in a card it
   would poke out of the sides, so here it is just a heading row with the ✕. */
.business-type-inline .fb-promote-header[b-gxk9mmfidh] { margin: 0; padding: 0; background: none; border: 0; }
.business-type-inline h2[b-gxk9mmfidh] { margin: 0; font-size: 1.05rem; }
.business-type-inline p[b-gxk9mmfidh] { margin: 0.4rem 0 0.6rem; font-size: var(--text-sm); color: var(--muted); }
/* /Components/Shared/CompleteOrderAction.razor.rz.scp.css */
.complete-order-modal[b-5cbs5akckr] {
    max-width: 420px;
    padding: 1.25rem;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(20, 35, 60, .2);
}

.complete-order-modal .fb-promote-header[b-5cbs5akckr] {
    gap: .75rem;
    margin: -1.25rem -1.25rem 1rem;
    padding: .9rem 1.25rem;
}

.complete-order-modal .fb-promote-header h2[b-5cbs5akckr] {
    line-height: 1.3;
}

.complete-order-summary[b-5cbs5akckr] {
    margin: .9rem 0 1rem;
    padding: .7rem .9rem;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: var(--surface-muted);
}

.complete-order-summary > div[b-5cbs5akckr] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    font-size: .88rem;
    line-height: 1.45;
}

.complete-order-summary > div + div[b-5cbs5akckr] { margin-top: .3rem; }
.complete-order-summary strong[b-5cbs5akckr] { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }

.complete-order-summary .complete-order-due[b-5cbs5akckr] {
    margin-top: .55rem;
    padding-top: .55rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--ink);
    font-weight: 600;
}

.complete-order-due strong[b-5cbs5akckr] { font-size: 1.15rem; }

.complete-order-payment[b-5cbs5akckr] {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.complete-order-payment legend[b-5cbs5akckr] {
    margin-bottom: .5rem;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.4;
}

.complete-order-options[b-5cbs5akckr] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.complete-order-options label[b-5cbs5akckr] {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
    margin: 0;
    padding: .55rem .65rem;
    border: 1px solid var(--border-subtle);
    border-radius: 9px;
    background: var(--paper);
    font-size: .86rem;
    line-height: 1.3;
    cursor: pointer;
}

.complete-order-options label.selected[b-5cbs5akckr] {
    border-color: #a9c9f4;
    background: #eef5ff;
    color: #155fc4;
}

.complete-order-options input[type="radio"][b-5cbs5akckr] {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    accent-color: var(--brand);
}

.complete-order-collected[b-5cbs5akckr] { margin-top: .75rem; }
.complete-order-collected input[b-5cbs5akckr] { display: block; width: 100%; margin-top: .35rem; }

.complete-order-actions[b-5cbs5akckr] { margin-top: 1rem; }
.complete-order-actions .button[b-5cbs5akckr] { margin: 0; min-height: 2.7rem; }

@media (max-width: 480px) {
    .complete-order-modal[b-5cbs5akckr] { padding: 1rem; }
    .complete-order-actions .button[b-5cbs5akckr] { flex: 1 1 0; }
}
/* /Components/Shared/PhoneScanPairing.razor.rz.scp.css */
.phone-pair-trigger[b-p2z8q2peb1] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0;
    padding: 0.2rem 0.4rem;
    background: transparent;
    border: none;
    color: var(--brand);
    font-size: var(--text-sm);
    text-decoration: underline;
}

/* On a phone the field's own camera icon already is the phone camera — pairing a second phone
   as a scanner only makes sense from a laptop/desktop. */
@media (max-width: 640px) {
    .phone-pair-trigger[b-p2z8q2peb1] { display: none; }
}

.phone-pair-backdrop[b-p2z8q2peb1] {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.45);
}

.phone-pair-sheet[b-p2z8q2peb1] {
    position: relative;
    width: min(100%, 420px);
    max-height: 88vh;
    overflow-y: auto;
    padding: 1.25rem;
    background: var(--paper);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.phone-pair-sheet h2[b-p2z8q2peb1] {
    display: flex;
    align-items: center;
    gap: .4rem;
    min-height: 2.25rem;
    margin: -1.25rem -1.25rem 1rem;
    padding: .9rem 3.5rem .9rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--surface-muted);
    font-size: var(--text-lg);
    line-height: 1.35;
}

.phone-pair-close[b-p2z8q2peb1] {
    position: absolute;
    top: .8rem;
    right: 1rem;
    margin: 0;
    padding: 0.35rem;
    background: transparent;
    border: none;
    color: var(--muted);
}

.phone-pair-steps[b-p2z8q2peb1] { margin: 0 0 0.75rem; padding-left: 1.2rem; font-size: var(--text-sm); }
.phone-pair-steps li[b-p2z8q2peb1] { margin-bottom: 0.3rem; }

.phone-pair-qr[b-p2z8q2peb1] {
    display: flex;
    justify-content: center;
    padding: 0.5rem;
    background: white;
    border-radius: var(--radius-md);
}

.phone-pair-qr[b-p2z8q2peb1]  svg { width: 220px; height: 220px; }

.phone-pair-url[b-p2z8q2peb1] {
    margin: 0.5rem 0;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: var(--text-xs);
    color: var(--muted);
    word-break: break-all;
    text-align: center;
}

.phone-pair-feedback[b-p2z8q2peb1] {
    margin: 0.5rem 0;
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-md);
    background: var(--warning-bg);
    color: var(--ink);
    font-size: var(--text-sm);
    text-align: center;
}

.phone-pair-actions[b-p2z8q2peb1] { display: flex; justify-content: center; margin-top: 1rem; }
.phone-pair-actions .button[b-p2z8q2peb1] { margin-top: 0; }
/* /Components/Shared/ProductManageNav.razor.rz.scp.css */
.product-manage-nav[b-meg79uwm8k] { margin: 0 0 1.5rem; padding: 1rem; max-width: 820px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: #fff; }
.product-manage-nav-title[b-meg79uwm8k] { display: block; margin-bottom: .65rem; font-weight: 700; }
.product-manage-nav-links[b-meg79uwm8k] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.product-manage-nav-link[b-meg79uwm8k] { display: flex; align-items: center; justify-content: center; min-height: 3rem; padding: .5rem .75rem; box-sizing: border-box; border: 1px solid var(--border); border-radius: 8px; color: var(--ink); background: #fff; text-align: center; text-decoration: none; line-height: 1.35; }
.product-manage-nav-link:hover[b-meg79uwm8k], .product-manage-nav-link:focus-visible[b-meg79uwm8k] { border-color: #a9c9f4; background: #eef5ff; color: #155fc4; }
.product-manage-nav-link.active[b-meg79uwm8k] { border-color: #a9c9f4; background: #e8f0fe; color: #155fc4; font-weight: 700; }
.product-manage-nav-label-short[b-meg79uwm8k] { display: none; }
@media (max-width: 600px) {
    .product-manage-nav[b-meg79uwm8k] { margin: 0 0 1rem; padding: .5rem; }
    .product-manage-nav-links[b-meg79uwm8k] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
    .product-manage-nav-link[b-meg79uwm8k] { min-width: 0; min-height: 2.75rem; padding: .35rem .2rem; font-size: .875rem; line-height: 1.25; text-align: center; }
    .product-manage-nav-label-full[b-meg79uwm8k] { display: none; }
    .product-manage-nav-label-short[b-meg79uwm8k] { display: inline; }
}
/* /Components/Shared/ShipOrderAction.razor.rz.scp.css */
.ship-order-backdrop[b-67k8g152a2] {
    box-sizing: border-box;
    padding: 1rem;
    overscroll-behavior: contain;
}

.ship-order-modal[b-67k8g152a2] {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: min(100%, 30rem);
    max-width: 30rem;
    max-height: calc(100dvh - 2rem);
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(20, 35, 60, .18);
}

.ship-order-header[b-67k8g152a2] {
    flex: 0 0 auto;
    gap: .75rem;
    min-width: 0;
    margin: 0;
    padding: 1rem 1.25rem;
    background: var(--surface-muted);
}

.ship-order-header h2[b-67k8g152a2] {
    min-width: 0;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.35;
}

.ship-order-title[b-67k8g152a2] { display: flex; align-items: center; gap: .4rem; min-width: 0; }
.ship-order-title h2[b-67k8g152a2] { min-width: 0; }

.ship-order-header .icon-button[b-67k8g152a2] { width: 2rem; height: 2rem; }

.ship-order-body[b-67k8g152a2] {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1rem 1.25rem;
}

.ship-order-field[b-67k8g152a2] {
    display: block;
    min-width: 0;
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: .9rem;
}

.ship-field-label[b-67k8g152a2] {
    display: block;
    margin-bottom: .45rem;
    font-weight: 600;
    line-height: 1.4;
}

.ship-courier-chips[b-67k8g152a2] { gap: .45rem; margin: 0 0 .7rem; }
.ship-courier-chip[b-67k8g152a2] { padding: .5rem .8rem; font-size: .86rem; line-height: 1.25; white-space: normal; }
.ship-courier-more[b-67k8g152a2] { box-sizing: border-box; width: 100% !important; min-width: 0; max-width: none !important; margin: 0; }
.ship-order-body input[b-67k8g152a2] { box-sizing: border-box; width: 100% !important; min-width: 0; max-width: none !important; }
.ship-order-body > .muted.small[b-67k8g152a2] { line-height: 1.5; overflow-wrap: anywhere; }
.ship-order-body > .muted.small:last-child[b-67k8g152a2] { margin-bottom: 0; }

.ship-order-actions[b-67k8g152a2] {
    flex: 0 0 auto;
    gap: .5rem;
    margin: 0;
    padding: .8rem 1.25rem 1rem;
    border-top: 1px solid var(--border-subtle);
    background: #fff;
}

.ship-order-actions .button[b-67k8g152a2] {
    min-height: 2.75rem;
    margin: 0;
    text-align: center;
    white-space: normal;
}

@media (max-width: 640px) {
    .ship-order-backdrop[b-67k8g152a2] { align-items: center; padding: .75rem; }
    .ship-order-modal[b-67k8g152a2] {
        width: 100%;
        max-width: 30rem;
        max-height: calc(100dvh - 1.5rem);
        border-radius: 14px;
    }
    .ship-order-header[b-67k8g152a2] { padding: .9rem 1rem; }
    .ship-order-body[b-67k8g152a2] { padding: .9rem 1rem 1rem; }
    .ship-order-actions[b-67k8g152a2] { padding: .75rem 1rem; }
    .ship-order-actions .button[b-67k8g152a2] { flex: 1 1 0; min-width: 0; }
}
/* /Components/Shared/StockActionChoices.razor.rz.scp.css */
.stock-choices[b-obeu9t1zg2] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: .6rem;
    margin-top: 1rem;
}

.stock-choice[b-obeu9t1zg2] {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 56px;
    padding: .7rem .9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--ink);
    text-decoration: none;
}
.stock-choice:hover[b-obeu9t1zg2], .stock-choice:focus-visible[b-obeu9t1zg2] { border-color: var(--brand); background: var(--info-bg); }
.stock-choice[b-obeu9t1zg2]  .icon { font-size: 1.25rem; color: var(--brand); }
.stock-choice span[b-obeu9t1zg2] { display: grid; gap: .1rem; min-width: 0; }
.stock-choice strong[b-obeu9t1zg2] { font-size: 1rem; }
.stock-choice small[b-obeu9t1zg2] { color: var(--muted); font-size: var(--text-sm); line-height: 1.3; }

@media (max-width: 640px) {
    .stock-choices[b-obeu9t1zg2] { grid-template-columns: 1fr; }
}
/* /Components/Shared/UnsavedChangesGuard.razor.rz.scp.css */
/* Uses the shared modal (.facebook-preview-modal); only its size and text spacing are set here. */
.unsaved-leave-modal[b-zy6rm4aria] { max-width: 420px; }
.unsaved-leave-modal p[b-zy6rm4aria] { margin: 0; }
