@import '_content/Hwadam.Blazor.WASM/Hwadam.Blazor.WASM.292qzkw9ol.bundle.scp.css';

/* /Pages/Home/ErpDashboardPage.razor.rz.scp.css */
.erp-dashboard-page[b-izrwqzjhh4] {
    --dashboard-surface: var(--app-surface, var(--bs-body-bg, #fff));
    --dashboard-surface-strong: var(--app-surface-strong, var(--bs-tertiary-bg, #f8fafc));
    --dashboard-border: var(--app-border, var(--bs-border-color, #d8dee9));
    --dashboard-text: var(--app-text, var(--bs-body-color, #1f2937));
    --dashboard-muted: var(--app-muted, var(--bs-secondary-color, #5f6b7a));
    --dashboard-hover: var(--app-hover, rgba(37, 99, 235, .10));
    --dashboard-primary: var(--app-primary, var(--bs-primary, #2563eb));
    --dashboard-meter-bg: color-mix(in srgb, var(--dashboard-muted) 16%, var(--dashboard-surface));
    --dashboard-danger: var(--app-danger, #dc2626);
    --dashboard-danger-bg: color-mix(in srgb, var(--dashboard-danger) 10%, var(--dashboard-surface));
    --dashboard-danger-border: color-mix(in srgb, var(--dashboard-danger) 28%, var(--dashboard-border));
    --dashboard-warning: #b45309;
    --dashboard-warning-bg: #fffbeb;
    --dashboard-warning-border: #fde68a;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 24px 24px;
    color: var(--dashboard-text);
}

body[data-theme="black"] .erp-dashboard-page[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .erp-dashboard-page[b-izrwqzjhh4] {
    --dashboard-meter-bg: color-mix(in srgb, var(--dashboard-muted) 26%, var(--dashboard-surface));
    --dashboard-danger-bg: color-mix(in srgb, var(--dashboard-danger) 16%, var(--dashboard-surface));
    --dashboard-danger-border: color-mix(in srgb, var(--dashboard-danger) 42%, var(--dashboard-border));
    --dashboard-warning: #fbbf24;
    --dashboard-warning-bg: color-mix(in srgb, #fbbf24 14%, var(--dashboard-surface));
    --dashboard-warning-border: color-mix(in srgb, #fbbf24 36%, var(--dashboard-border));
}

.dashboard-filter-panel[b-izrwqzjhh4] {
    display: flex;
    align-items: end;
    gap: 14px;
    border: 1px solid var(--dashboard-border);
    border-radius: 8px;
    background: var(--dashboard-surface);
    padding: 16px;
}

[b-izrwqzjhh4] .dashboard-command-drawer {
    width: 100%;
}

[b-izrwqzjhh4] .dashboard-command-drawer .dxbl-drawer-panel {
    max-width: calc(100vw - 24px);
}

.drawer-filter-body[b-izrwqzjhh4] {
    display: grid;
    gap: 14px;
    padding: 12px;
}

.drawer-quick-actions[b-izrwqzjhh4] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.drawer-quick-actions[b-izrwqzjhh4]  .dxbl-btn {
    width: 100%;
    min-width: 0;
}

.drawer-command-footer[b-izrwqzjhh4] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px;
}

.date-range[b-izrwqzjhh4] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.field[b-izrwqzjhh4] {
    display: grid;
    gap: 5px;
    min-width: 0;
}

[b-izrwqzjhh4] .field .dxbl-edit,
[b-izrwqzjhh4] .field .dxbl-combobox,
[b-izrwqzjhh4] .field .dxbl-date-edit {
    width: 100%;
}

.field > span[b-izrwqzjhh4] {
    color: var(--dashboard-muted);
    font-size: 12px;
    font-weight: 700;
}

.field-date[b-izrwqzjhh4] {
    width: 156px;
}

.range-separator[b-izrwqzjhh4] {
    color: var(--dashboard-muted);
    font-weight: 700;
}

.date-shift-buttons[b-izrwqzjhh4] {
    display: flex;
    gap: 6px;
}

.date-shift-buttons > *[b-izrwqzjhh4] {
    flex: 0 0 auto;
}

.status-message[b-izrwqzjhh4] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    border: 1px solid var(--dashboard-border);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
}

.status-message.is-error[b-izrwqzjhh4] {
    color: var(--dashboard-danger);
    background: var(--dashboard-danger-bg);
    border-color: var(--dashboard-danger-border);
}

[b-izrwqzjhh4] .dashboard-loading-panel {
    width: 100%;
}

.dashboard-results[b-izrwqzjhh4] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.kpi-grid[b-izrwqzjhh4] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
    gap: 10px;
}

.kpi-card[b-izrwqzjhh4] {
    display: grid;
    gap: 7px;
    min-height: 138px;
    border: 1px solid var(--dashboard-border);
    border-left: 4px solid var(--accent-color, var(--dashboard-muted));
    border-radius: 8px;
    background: var(--dashboard-surface);
    padding: 13px 14px;
    min-width: 0;
}

.kpi-card-header[b-izrwqzjhh4] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--dashboard-muted);
    font-size: 12px;
    font-weight: 800;
}

.kpi-card-header > span:last-child[b-izrwqzjhh4] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kpi-icon[b-izrwqzjhh4] {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: var(--accent-color, var(--dashboard-muted));
    background: color-mix(in srgb, var(--accent-color, var(--dashboard-muted)) 14%, var(--dashboard-surface));
    flex: 0 0 auto;
}

.kpi-card strong[b-izrwqzjhh4] {
    color: var(--dashboard-text);
    font-size: 28px;
    line-height: 1;
    font-weight: 850;
}

.kpi-sub[b-izrwqzjhh4],
.kpi-money[b-izrwqzjhh4] {
    overflow: hidden;
    color: var(--dashboard-muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kpi-money[b-izrwqzjhh4] {
    color: var(--dashboard-text);
    font-weight: 700;
}

.kpi-card.is-purchase[b-izrwqzjhh4] {
    --accent-color: #2563eb;
}

.kpi-card.is-incoming[b-izrwqzjhh4] {
    --accent-color: #047857;
}

.kpi-card.is-order[b-izrwqzjhh4] {
    --accent-color: #7c3aed;
}

.kpi-card.is-shipping[b-izrwqzjhh4] {
    --accent-color: #be123c;
}

.kpi-card.is-outsourcing-out[b-izrwqzjhh4] {
    --accent-color: #ea580c;
}

.kpi-card.is-outsourcing-in[b-izrwqzjhh4] {
    --accent-color: #0891b2;
}

.kpi-card.is-disposal[b-izrwqzjhh4] {
    --accent-color: #dc2626;
}

.kpi-card.is-workorder[b-izrwqzjhh4] {
    --accent-color: #b45309;
}

.kpi-card.is-production[b-izrwqzjhh4] {
    --accent-color: #0f766e;
}

body[data-theme="black"] .kpi-card.is-purchase[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .kpi-card.is-purchase[b-izrwqzjhh4] {
    --accent-color: #60a5fa;
}

body[data-theme="black"] .kpi-card.is-incoming[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .kpi-card.is-incoming[b-izrwqzjhh4] {
    --accent-color: #34d399;
}

body[data-theme="black"] .kpi-card.is-order[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .kpi-card.is-order[b-izrwqzjhh4] {
    --accent-color: #a78bfa;
}

body[data-theme="black"] .kpi-card.is-shipping[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .kpi-card.is-shipping[b-izrwqzjhh4] {
    --accent-color: #fb7185;
}

body[data-theme="black"] .kpi-card.is-outsourcing-out[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .kpi-card.is-outsourcing-out[b-izrwqzjhh4] {
    --accent-color: #fb923c;
}

body[data-theme="black"] .kpi-card.is-outsourcing-in[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .kpi-card.is-outsourcing-in[b-izrwqzjhh4] {
    --accent-color: #22d3ee;
}

body[data-theme="black"] .kpi-card.is-disposal[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .kpi-card.is-disposal[b-izrwqzjhh4] {
    --accent-color: #f87171;
}

body[data-theme="black"] .kpi-card.is-workorder[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .kpi-card.is-workorder[b-izrwqzjhh4] {
    --accent-color: #fbbf24;
}

body[data-theme="black"] .kpi-card.is-production[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .kpi-card.is-production[b-izrwqzjhh4] {
    --accent-color: #5eead4;
}

.dashboard-main-grid[b-izrwqzjhh4] {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
    gap: 14px;
}

.panel[b-izrwqzjhh4] {
    min-width: 0;
    border: 1px solid var(--dashboard-border);
    border-radius: 8px;
    background: var(--dashboard-surface);
    overflow: hidden;
}

.daily-flow-panel[b-izrwqzjhh4] {
    grid-row: span 2;
}

.panel-header[b-izrwqzjhh4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--dashboard-border);
    background: var(--dashboard-surface-strong);
}

.panel-header h2[b-izrwqzjhh4] {
    margin: 0;
    color: var(--dashboard-text);
    font-size: 15px;
    font-weight: 850;
}

.panel-header span[b-izrwqzjhh4] {
    color: var(--dashboard-muted);
    font-size: 12px;
    font-weight: 700;
}

.panel-count[b-izrwqzjhh4] {
    flex: 0 0 auto;
}

.daily-legend[b-izrwqzjhh4] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px 0;
}

.legend[b-izrwqzjhh4] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--dashboard-muted);
    font-size: 12px;
    font-weight: 750;
}

.legend[b-izrwqzjhh4]::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--legend-color);
}

.legend.purchase[b-izrwqzjhh4] {
    --legend-color: #2563eb;
}

.legend.incoming[b-izrwqzjhh4] {
    --legend-color: #047857;
}

.legend.order[b-izrwqzjhh4] {
    --legend-color: #7c3aed;
}

.legend.shipping[b-izrwqzjhh4] {
    --legend-color: #be123c;
}

.legend.outsourcing-out[b-izrwqzjhh4] {
    --legend-color: #ea580c;
}

.legend.outsourcing-in[b-izrwqzjhh4] {
    --legend-color: #0891b2;
}

.legend.production[b-izrwqzjhh4] {
    --legend-color: #0f766e;
}

.daily-flow-list[b-izrwqzjhh4] {
    display: grid;
    gap: 8px;
    max-height: 580px;
    overflow: auto;
    padding: 12px 16px 16px;
}

.daily-flow-row[b-izrwqzjhh4] {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 88px;
    align-items: center;
    gap: 10px;
    min-height: 46px;
}

.daily-date[b-izrwqzjhh4],
.daily-total[b-izrwqzjhh4] {
    color: var(--dashboard-muted);
    font-size: 12px;
    font-weight: 750;
}

.daily-total[b-izrwqzjhh4] {
    text-align: right;
}

.daily-bars[b-izrwqzjhh4] {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.bar[b-izrwqzjhh4] {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: var(--dashboard-meter-bg);
    overflow: hidden;
}

.bar[b-izrwqzjhh4]::before {
    content: "";
    display: block;
    width: var(--bar-width, 0%);
    height: 100%;
    border-radius: inherit;
    background: var(--bar-color, var(--dashboard-muted));
}

.bar.purchase[b-izrwqzjhh4] {
    --bar-color: #2563eb;
}

.bar.incoming[b-izrwqzjhh4] {
    --bar-color: #047857;
}

.bar.order[b-izrwqzjhh4] {
    --bar-color: #7c3aed;
}

.bar.shipping[b-izrwqzjhh4] {
    --bar-color: #be123c;
}

.bar.outsourcing-out[b-izrwqzjhh4] {
    --bar-color: #ea580c;
}

.bar.outsourcing-in[b-izrwqzjhh4] {
    --bar-color: #0891b2;
}

.bar.production[b-izrwqzjhh4] {
    --bar-color: #0f766e;
}

body[data-theme="black"] .bar.purchase[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .bar.purchase[b-izrwqzjhh4],
body[data-theme="black"] .legend.purchase[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .legend.purchase[b-izrwqzjhh4] {
    --bar-color: #60a5fa;
    --legend-color: #60a5fa;
}

body[data-theme="black"] .bar.incoming[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .bar.incoming[b-izrwqzjhh4],
body[data-theme="black"] .legend.incoming[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .legend.incoming[b-izrwqzjhh4] {
    --bar-color: #34d399;
    --legend-color: #34d399;
}

body[data-theme="black"] .bar.order[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .bar.order[b-izrwqzjhh4],
body[data-theme="black"] .legend.order[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .legend.order[b-izrwqzjhh4] {
    --bar-color: #a78bfa;
    --legend-color: #a78bfa;
}

body[data-theme="black"] .bar.shipping[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .bar.shipping[b-izrwqzjhh4],
body[data-theme="black"] .legend.shipping[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .legend.shipping[b-izrwqzjhh4] {
    --bar-color: #fb7185;
    --legend-color: #fb7185;
}

body[data-theme="black"] .bar.outsourcing-out[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .bar.outsourcing-out[b-izrwqzjhh4],
body[data-theme="black"] .legend.outsourcing-out[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .legend.outsourcing-out[b-izrwqzjhh4] {
    --bar-color: #fb923c;
    --legend-color: #fb923c;
}

body[data-theme="black"] .bar.outsourcing-in[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .bar.outsourcing-in[b-izrwqzjhh4],
body[data-theme="black"] .legend.outsourcing-in[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .legend.outsourcing-in[b-izrwqzjhh4] {
    --bar-color: #22d3ee;
    --legend-color: #22d3ee;
}

body[data-theme="black"] .bar.production[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .bar.production[b-izrwqzjhh4],
body[data-theme="black"] .legend.production[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .legend.production[b-izrwqzjhh4] {
    --bar-color: #5eead4;
    --legend-color: #5eead4;
}

.process-list[b-izrwqzjhh4],
.disposal-list[b-izrwqzjhh4],
.status-list[b-izrwqzjhh4],
.attention-list[b-izrwqzjhh4] {
    display: grid;
    gap: 12px;
    padding: 14px 16px 16px;
}

.process-row[b-izrwqzjhh4],
.disposal-row[b-izrwqzjhh4],
.status-row[b-izrwqzjhh4] {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.process-title[b-izrwqzjhh4],
.disposal-title[b-izrwqzjhh4],
.process-meta[b-izrwqzjhh4],
.status-row > div:first-child[b-izrwqzjhh4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.process-title strong[b-izrwqzjhh4],
.disposal-title strong[b-izrwqzjhh4],
.status-row strong[b-izrwqzjhh4] {
    overflow: hidden;
    color: var(--dashboard-text);
    font-size: 13px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.process-title span[b-izrwqzjhh4],
.disposal-title span[b-izrwqzjhh4],
.process-meta span[b-izrwqzjhh4],
.status-row span[b-izrwqzjhh4] {
    color: var(--dashboard-muted);
    font-size: 12px;
    font-weight: 700;
}

.meter[b-izrwqzjhh4] {
    height: 8px;
    border-radius: 999px;
    background: var(--dashboard-meter-bg);
    overflow: hidden;
}

.meter > span[b-izrwqzjhh4] {
    display: block;
    width: var(--bar-width, 0%);
    height: 100%;
    border-radius: inherit;
    background: var(--production-color, #0f766e);
}

.status-row .meter > span[b-izrwqzjhh4] {
    background: var(--workorder-color, #b45309);
}

.disposal-row .meter > span[b-izrwqzjhh4] {
    background: var(--disposal-color, #dc2626);
}

body[data-theme="black"] .meter > span[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .meter > span[b-izrwqzjhh4] {
    --production-color: #5eead4;
}

body[data-theme="black"] .status-row .meter > span[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .status-row .meter > span[b-izrwqzjhh4] {
    --workorder-color: #fbbf24;
}

body[data-theme="black"] .disposal-row .meter > span[b-izrwqzjhh4],
body[data-theme="blazing-dark"] .disposal-row .meter > span[b-izrwqzjhh4] {
    --disposal-color: #f87171;
}

.attention-item[b-izrwqzjhh4] {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid var(--attention-border, var(--dashboard-border));
    border-radius: 8px;
    background: var(--attention-bg, var(--dashboard-surface));
    padding: 11px 12px;
}

.attention-item > i[b-izrwqzjhh4] {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: var(--attention-color, var(--dashboard-muted));
    background: var(--attention-icon-bg, var(--dashboard-surface-strong));
}

.attention-item div[b-izrwqzjhh4] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.attention-item span[b-izrwqzjhh4],
.attention-item small[b-izrwqzjhh4] {
    overflow: hidden;
    color: var(--dashboard-muted);
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.attention-item strong[b-izrwqzjhh4] {
    color: var(--dashboard-text);
    font-size: 20px;
    line-height: 1.1;
    font-weight: 850;
}

.attention-item.is-warning[b-izrwqzjhh4] {
    --attention-border: var(--dashboard-warning-border);
    --attention-bg: var(--dashboard-warning-bg);
    --attention-color: var(--dashboard-warning);
    --attention-icon-bg: color-mix(in srgb, var(--dashboard-warning) 18%, var(--dashboard-surface));
}

.attention-item.is-danger[b-izrwqzjhh4] {
    --attention-border: var(--dashboard-danger-border);
    --attention-bg: var(--dashboard-danger-bg);
    --attention-color: var(--dashboard-danger);
    --attention-icon-bg: color-mix(in srgb, var(--dashboard-danger) 16%, var(--dashboard-surface));
}

.attention-item.is-muted[b-izrwqzjhh4] {
    --attention-border: var(--dashboard-border);
    --attention-bg: var(--dashboard-surface-strong);
    --attention-color: var(--dashboard-muted);
    --attention-icon-bg: var(--dashboard-meter-bg);
}

.empty-state[b-izrwqzjhh4] {
    min-height: 220px;
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 24px;
    color: var(--dashboard-muted);
    font-size: 13px;
}

.empty-state.compact[b-izrwqzjhh4] {
    min-height: 142px;
}

.empty-state i[b-izrwqzjhh4] {
    color: var(--dashboard-primary);
    font-size: 24px;
}

@media (max-width: 1280px) {
    .kpi-grid[b-izrwqzjhh4] {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }

    .dashboard-main-grid[b-izrwqzjhh4] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .erp-dashboard-page[b-izrwqzjhh4] {
        padding: 0 14px 18px;
    }

    .kpi-grid[b-izrwqzjhh4] {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
}

@media (max-width: 640px) {
    .erp-dashboard-page[b-izrwqzjhh4] {
        gap: 10px;
        padding: 0 10px 14px;
    }

    .dashboard-filter-panel[b-izrwqzjhh4] {
        padding: 12px;
    }

    .drawer-command-footer[b-izrwqzjhh4] {
        flex-direction: column;
    }

    .drawer-command-footer[b-izrwqzjhh4]  .dxbl-btn {
        width: 100%;
    }

    .date-range[b-izrwqzjhh4] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
    }

    .field-date[b-izrwqzjhh4] {
        width: 100%;
    }

    .range-separator[b-izrwqzjhh4] {
        display: none;
    }

    .date-shift-buttons[b-izrwqzjhh4] {
        grid-column: 1 / -1;
    }

    .kpi-grid[b-izrwqzjhh4] {
        grid-template-columns: 1fr;
    }

    .daily-flow-row[b-izrwqzjhh4] {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .daily-total[b-izrwqzjhh4] {
        display: none;
    }

    .panel-header[b-izrwqzjhh4] {
        align-items: flex-start;
    }
}
/* /Pages/Inventory/ItemInventoryPage.razor.rz.scp.css */
.inventory-page[b-2o9dv3uap7] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 24px 24px;
}

.search-panel[b-2o9dv3uap7] {
    display: grid;
    gap: 12px;
    border: 1px solid var(--bs-border-color, #d8dee9);
    border-radius: 8px;
    background: var(--bs-body-bg, #fff);
    padding: 16px;
}

[b-2o9dv3uap7] .inventory-command-drawer {
    width: 100%;
}

[b-2o9dv3uap7] .inventory-command-drawer .dxbl-drawer-panel {
    max-width: calc(100vw - 24px);
}

.drawer-filter-body[b-2o9dv3uap7] {
    display: grid;
    gap: 14px;
    padding: 12px;
}

.drawer-command-footer[b-2o9dv3uap7] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px;
}

[b-2o9dv3uap7] .inventory-filter-form {
    width: 100%;
}

[b-2o9dv3uap7] .inventory-filter-form .dxbl-fl-cpt {
    color: var(--bs-secondary-color, #5f6b7a);
    font-size: 12px;
    font-weight: 700;
}

.status-message[b-2o9dv3uap7] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    border: 1px solid var(--bs-border-color, #d8dee9);
    border-radius: 8px;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-secondary-color, #5f6b7a);
    padding: 10px 12px;
    font-size: 13px;
}

.status-message.is-error[b-2o9dv3uap7] {
    border-color: rgba(220, 53, 69, .28);
    background: rgba(220, 53, 69, .08);
    color: var(--bs-danger, #b42318);
}

.inventory-grid-shell[b-2o9dv3uap7] {
    height: calc(100dvh - 260px);
    min-height: 480px;
    border: 1px solid var(--bs-border-color, #d8dee9);
    border-radius: 8px;
    background: var(--bs-body-bg, #fff);
    overflow: hidden;
}

[b-2o9dv3uap7] .inventory-loading-panel {
    width: 100%;
    height: 100%;
    min-height: 480px;
}

.empty-state[b-2o9dv3uap7] {
    min-height: 360px;
    display: grid;
    place-items: center;
    gap: 10px;
    color: var(--bs-secondary-color, #5f6b7a);
    font-size: 14px;
}

.empty-state i[b-2o9dv3uap7] {
    color: var(--bs-primary, #2f6fed);
    font-size: 26px;
}

[b-2o9dv3uap7] .inventory-grid {
    height: 100%;
    min-height: 480px;
}

[b-2o9dv3uap7] .inventory-grid .dxbl-grid-table > tbody > tr > td {
    vertical-align: middle;
}

.amount-badge[b-2o9dv3uap7] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 86px;
    border-radius: 999px;
    background: #e7f8ee;
    color: #17633a;
    padding: 3px 9px;
    font-weight: 800;
    white-space: nowrap;
}

.amount-badge.is-warning[b-2o9dv3uap7] {
    background: #fff2cc;
    color: #8a5a00;
}

@media (max-width: 980px) {
    .inventory-page[b-2o9dv3uap7] {
        padding: 0 14px 18px;
    }
}

@media (max-width: 640px) {
    .inventory-page[b-2o9dv3uap7] {
        gap: 10px;
        padding: 0 10px 14px;
    }

    .drawer-command-footer[b-2o9dv3uap7] {
        flex-direction: column;
    }

    .drawer-command-footer[b-2o9dv3uap7]  .dxbl-btn {
        width: 100%;
    }

    .inventory-grid-shell[b-2o9dv3uap7] {
        height: calc(100dvh - 220px);
        min-height: 360px;
    }

    [b-2o9dv3uap7] .inventory-grid {
        min-height: 360px;
    }
}
/* /Pages/Inventory/LotTraceGraphPage.razor.rz.scp.css */
.lot-trace-page[b-acl48ddftz] {
    --lot-card-bg: #fcfaf4;
    --lot-card-border: #ddd5c8;
    --lot-default-color: #8b8076;
    --lot-search-color: #d4a13f;
    --lot-search-fill: #f7ea72;
    --lot-root-color: #5c7aa5;
    --lot-exception-color: #c68c4c;
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    gap: 8px;
    height: calc(100dvh - 126px);
    min-height: 520px;
    min-width: 0;
    overflow: hidden;
    color: var(--app-text, #1f2933);
}

.lot-command-bar[b-acl48ddftz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--app-border, #d9dee5);
    border-radius: 8px;
    background: var(--app-surface, #fff);
}

.lot-current[b-acl48ddftz] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.lot-current span[b-acl48ddftz] {
    color: var(--app-text-muted, #5d6875);
    font-size: 12px;
    font-weight: 700;
}

.lot-current strong[b-acl48ddftz] {
    max-width: min(46vw, 520px);
    overflow: hidden;
    color: var(--app-text, #1f2933);
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lot-current em[b-acl48ddftz] {
    color: var(--app-text-muted, #5d6875);
    font-size: 12px;
    font-style: normal;
    white-space: nowrap;
}

.lot-command-actions[b-acl48ddftz],
.lot-filter-actions[b-acl48ddftz],
.lot-row-actions[b-acl48ddftz],
.lot-node-card footer[b-acl48ddftz] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lot-command-actions[b-acl48ddftz] {
    flex: 0 0 auto;
}

.lot-filter-panel[b-acl48ddftz],
.lot-drawer-filter[b-acl48ddftz] {
    display: grid;
    gap: 10px;
    min-width: 0;
}

[b-acl48ddftz] .lot-filter-drawer {
    width: 100%;
}

[b-acl48ddftz] .lot-filter-drawer .dxbl-drawer-panel {
    max-width: calc(100vw - 24px);
}

.lot-drawer-filter[b-acl48ddftz] {
    padding: 12px;
}

.drawer-command-footer[b-acl48ddftz] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px;
}

.lot-filter-panel[b-acl48ddftz] {
    grid-template-columns: minmax(220px, 520px) auto;
    align-items: end;
    padding: 10px;
    border: 1px solid var(--app-border, #d9dee5);
    border-radius: 8px;
    background: var(--app-surface, #fff);
}

.lot-field[b-acl48ddftz] {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: var(--app-text-muted, #5d6875);
    font-size: 12px;
    font-weight: 700;
}

[b-acl48ddftz] .lot-field .dxbl-edit {
    width: 100%;
}

.lot-history[b-acl48ddftz] {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: var(--app-text-muted, #5d6875);
    font-size: 12px;
}

.lot-history button[b-acl48ddftz],
.lot-tabs button[b-acl48ddftz] {
    border: 1px solid var(--app-border, #d9dee5);
    border-radius: 7px;
    background: var(--app-surface, #fff);
    color: var(--app-text, #1f2933);
    cursor: pointer;
}

.lot-history button[b-acl48ddftz] {
    max-width: 180px;
    padding: 4px 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lot-status-strip[b-acl48ddftz] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.lot-status-strip > div[b-acl48ddftz] {
    display: inline-flex;
    align-items: flex-start;
    gap: 7px;
    max-width: 100%;
    padding: 6px 9px;
    border: 1px solid #c8d9f0;
    border-radius: 7px;
    background: #f4f8fd;
    color: #254c77;
    font-size: 12px;
}

.lot-status-strip span[b-acl48ddftz] {
    overflow-wrap: anywhere;
}

.lot-status-strip .is-error[b-acl48ddftz] {
    border-color: #f2c1c1;
    background: #fff6f6;
    color: #9b1c1c;
}

.lot-status-strip .is-warning[b-acl48ddftz] {
    border-color: #f5d49b;
    background: #fff9ed;
    color: #7a4d00;
}

.lot-content-shell[b-acl48ddftz] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--app-border, #d9dee5);
    border-radius: 8px;
    background: var(--app-surface, #fff);
}

.lot-tabs[b-acl48ddftz] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--app-border, #d9dee5);
}

.lot-tabs button[b-acl48ddftz] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 12px;
    font-weight: 700;
}

.lot-tabs button.is-active[b-acl48ddftz] {
    border-color: #6e97a3;
    background: #eef6f7;
    color: #365e68;
}

.lot-mobile-current-card[b-acl48ddftz] {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #b9d4f5;
    border-radius: 8px;
    background: #f5f9ff;
    box-shadow: 0 8px 18px rgba(46, 91, 148, .09);
}

.lot-mobile-card-eyebrow[b-acl48ddftz] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #245b96;
    font-size: 12px;
    font-weight: 800;
}

.lot-mobile-current-card > strong[b-acl48ddftz] {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #124a83;
    font-size: 18px;
    line-height: 1.25;
}

.lot-mobile-current-card dl[b-acl48ddftz] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.lot-mobile-current-card dl > div[b-acl48ddftz],
.lot-mobile-node-fields > div[b-acl48ddftz] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.lot-mobile-current-card dt[b-acl48ddftz],
.lot-mobile-current-card dd[b-acl48ddftz],
.lot-mobile-node-fields dt[b-acl48ddftz],
.lot-mobile-node-fields dd[b-acl48ddftz] {
    min-width: 0;
    margin: 0;
    font-size: 12px;
}

.lot-mobile-current-card dt[b-acl48ddftz],
.lot-mobile-node-fields dt[b-acl48ddftz] {
    color: var(--app-text-muted, #5d6875);
    font-weight: 800;
}

.lot-mobile-current-card dd[b-acl48ddftz],
.lot-mobile-node-fields dd[b-acl48ddftz] {
    overflow-wrap: anywhere;
    color: var(--app-text, #1f2933);
}

.lot-mobile-shell[b-acl48ddftz],
.lot-graph-shell[b-acl48ddftz],
.lot-data-shell[b-acl48ddftz] {
    height: 100%;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
}

.lot-mobile-shell[b-acl48ddftz] {
    overflow: auto;
    background: #f8f6ef;
}

.lot-mobile-timeline[b-acl48ddftz],
.lot-mobile-process-list[b-acl48ddftz] {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 12px 12px 16px;
}

.lot-mobile-timeline-item[b-acl48ddftz] {
    --node-color: var(--lot-default-color);
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    min-width: 0;
}

.lot-mobile-timeline-marker[b-acl48ddftz] {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 100%;
}

.lot-mobile-timeline-marker[b-acl48ddftz]::before {
    position: absolute;
    top: -10px;
    bottom: -10px;
    width: 2px;
    border-radius: 999px;
    background: #d7d1c4;
    content: "";
}

.lot-mobile-timeline-item:first-of-type .lot-mobile-timeline-marker[b-acl48ddftz]::before {
    top: 14px;
}

.lot-mobile-timeline-item:last-of-type .lot-mobile-timeline-marker[b-acl48ddftz]::before {
    bottom: calc(100% - 14px);
}

.lot-mobile-timeline-marker span[b-acl48ddftz] {
    position: relative;
    z-index: 1;
    width: 14px;
    height: 14px;
    margin-top: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--node-color);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--node-color) 42%, transparent);
}

.lot-mobile-node-card[b-acl48ddftz] {
    --node-color: var(--lot-default-color);
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    overflow: hidden;
    border: 1px solid var(--lot-card-border);
    border-left: 4px solid var(--node-color);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(75, 64, 48, .09);
}

.lot-mobile-node-card.is-process[b-acl48ddftz] {
    border-color: #e5c49b;
    border-left-color: #c7813d;
    background: #fff7ec;
}

.lot-mobile-node-card.is-current[b-acl48ddftz] {
    border-color: #7eb2f0;
    border-left-color: #2568b4;
    background: #f5f9ff;
    box-shadow: 0 0 0 2px rgba(37, 104, 180, .16), 0 8px 18px rgba(46, 91, 148, .11);
}

.lot-mobile-node-card.is-exception[b-acl48ddftz] {
    border-color: #e0a4a4;
    border-left-color: var(--lot-exception-color);
}

.lot-mobile-node-card header[b-acl48ddftz] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
    min-width: 0;
}

.lot-mobile-node-card header > div[b-acl48ddftz] {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.lot-mobile-node-card header span[b-acl48ddftz] {
    color: #6c5f52;
    font-size: 11px;
    font-weight: 900;
}

.lot-mobile-node-card.is-current header span[b-acl48ddftz] {
    color: #245b96;
}

.lot-mobile-node-card header strong[b-acl48ddftz] {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--app-text, #1f2933);
    font-size: 15px;
    line-height: 1.28;
}

.lot-mobile-node-card.is-current header strong[b-acl48ddftz] {
    color: #124a83;
}

.lot-mobile-node-card header small[b-acl48ddftz] {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--app-text-muted, #5d6875);
    font-size: 12px;
}

.lot-mobile-node-card header em[b-acl48ddftz] {
    max-width: 112px;
    min-height: 22px;
    padding: 3px 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #f0e8dd;
    color: #6f6255;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lot-mobile-relation-line[b-acl48ddftz] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 5px 8px;
    border-radius: 7px;
    background: #f4f1e8;
    color: #665d52;
    font-size: 12px;
    font-weight: 800;
}

.lot-mobile-relation-line span[b-acl48ddftz] {
    overflow-wrap: anywhere;
}

.lot-mobile-node-fields[b-acl48ddftz] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px;
    margin: 0;
}

.lot-mobile-node-card footer[b-acl48ddftz] {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
}

.lot-mobile-relation-group[b-acl48ddftz],
.lot-mobile-impact-summary-card[b-acl48ddftz] {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--app-border, #d9dee5);
    border-radius: 8px;
    background: #fff;
}

.lot-mobile-relation-group.is-merge[b-acl48ddftz] {
    border-color: #d8c5a9;
    background: #fffbf4;
}

.lot-mobile-relation-group.is-split[b-acl48ddftz] {
    border-color: #bed6c4;
    background: #f6fbf7;
}

.lot-mobile-relation-group.is-impact[b-acl48ddftz],
.lot-mobile-impact-summary-card[b-acl48ddftz] {
    border-color: #c8d9f0;
    background: #f4f8fd;
}

.lot-mobile-relation-group header[b-acl48ddftz],
.lot-mobile-impact-summary-card header[b-acl48ddftz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.lot-mobile-relation-group header span[b-acl48ddftz],
.lot-mobile-impact-summary-card header span[b-acl48ddftz] {
    color: var(--app-text-muted, #5d6875);
    font-size: 12px;
    font-weight: 900;
}

.lot-mobile-relation-group header strong[b-acl48ddftz],
.lot-mobile-impact-summary-card header strong[b-acl48ddftz] {
    min-width: 0;
    overflow: hidden;
    color: var(--app-text, #1f2933);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lot-mobile-lot-grid[b-acl48ddftz] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}

.lot-mobile-mini-lot[b-acl48ddftz] {
    --node-color: var(--lot-default-color);
    display: grid;
    gap: 4px;
    min-width: 0;
    min-height: 66px;
    padding: 9px;
    border: 1px solid #d9dee5;
    border-left: 4px solid var(--node-color);
    border-radius: 8px;
    background: #fff;
    color: var(--app-text, #1f2933);
    text-align: left;
    cursor: pointer;
}

.lot-mobile-mini-lot:disabled[b-acl48ddftz] {
    cursor: default;
    opacity: .72;
}

.lot-mobile-mini-lot.is-current[b-acl48ddftz] {
    border-color: #7eb2f0;
    border-left-color: #2568b4;
    background: #f5f9ff;
}

.lot-mobile-mini-lot strong[b-acl48ddftz],
.lot-mobile-mini-lot span[b-acl48ddftz] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.lot-mobile-mini-lot strong[b-acl48ddftz] {
    font-size: 12px;
    line-height: 1.25;
}

.lot-mobile-mini-lot span[b-acl48ddftz] {
    color: var(--app-text-muted, #5d6875);
    font-size: 11px;
}

.lot-mobile-impact-summary-card[b-acl48ddftz] {
    margin: 0 12px 16px;
}

.lot-mobile-impact-summary-card.is-standalone[b-acl48ddftz] {
    margin: 12px 12px 0;
}

.lot-mobile-impact-metrics[b-acl48ddftz] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

.lot-mobile-impact-metrics > div[b-acl48ddftz] {
    display: grid;
    gap: 2px;
    min-width: 0;
    padding: 8px 6px;
    border-radius: 7px;
    background: #fff;
    text-align: center;
}

.lot-mobile-impact-metrics strong[b-acl48ddftz] {
    color: #254c77;
    font-size: 16px;
}

.lot-mobile-impact-metrics span[b-acl48ddftz],
.lot-mobile-impact-summary-card p[b-acl48ddftz] {
    color: var(--app-text-muted, #5d6875);
    font-size: 11px;
}

.lot-mobile-impact-summary-card p[b-acl48ddftz] {
    margin: 0;
    overflow-wrap: anywhere;
}

.lot-mobile-bottom-actions[b-acl48ddftz] {
    position: sticky;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--app-border, #d9dee5);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -8px 18px rgba(31, 41, 51, .08);
}

.lot-mobile-bottom-actions[b-acl48ddftz]  .dxbl-btn {
    width: 100%;
    min-width: 0;
}

[b-acl48ddftz] .lot-content-loading-panel {
    width: 100%;
    height: 100%;
    min-height: 0;
}

[b-acl48ddftz] .lot-layout-loading-panel,
[b-acl48ddftz] .lot-detail-loading-panel {
    width: 100%;
    min-height: 220px;
}

.lot-graph-viewport[b-acl48ddftz] {
    position: relative;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    cursor: grab;
    touch-action: none;
    background:
        linear-gradient(90deg, rgba(68, 74, 82, .055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(68, 74, 82, .055) 1px, transparent 1px),
        #f8f6ef;
    background-size: 32px 32px;
}

.lot-graph-viewport.is-panning[b-acl48ddftz] {
    cursor: grabbing;
}

.lot-graph-stage[b-acl48ddftz] {
    position: relative;
    min-width: 100%;
    min-height: 100%;
    transform-origin: 0 0;
}

.lot-graph-links[b-acl48ddftz] {
    position: absolute;
    inset: 0;
    overflow: visible;
    pointer-events: none;
}

.lot-graph-links path[b-acl48ddftz] {
    fill: none;
    stroke: #7a8794;
    stroke-width: 2.2;
}

.lot-graph-links marker path[b-acl48ddftz] {
    fill: #7a8794;
}

.lot-graph-links path.is-exception[b-acl48ddftz] {
    stroke: #b45e5e;
    stroke-dasharray: 7 5;
}

.lot-graph-edge-label[b-acl48ddftz] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 24px;
    overflow: hidden;
    color: #5f6974;
    font-size: 12px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}

.lot-node-card[b-acl48ddftz] {
    --node-color: var(--lot-default-color);
    position: absolute;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--lot-card-border);
    border-radius: 16px;
    background: var(--lot-card-bg);
    box-shadow: 0 10px 22px rgba(75, 64, 48, .12);
    cursor: default;
}

.lot-node-card.is-search-match[b-acl48ddftz] {
    border-color: var(--lot-search-color);
    box-shadow: 0 0 0 3px rgba(212, 161, 63, .28), 0 10px 22px rgba(75, 64, 48, .12);
}

.lot-node-card.is-root-match[b-acl48ddftz] {
    border-color: var(--lot-root-color);
}

.lot-node-card.is-exception[b-acl48ddftz] {
    border-color: var(--lot-exception-color);
}

.lot-node-card header[b-acl48ddftz] {
    display: grid;
    gap: 4px;
    padding: 12px 13px 10px;
    background: var(--node-color);
    color: #fff;
}

.lot-node-heading[b-acl48ddftz] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.lot-node-heading strong[b-acl48ddftz] {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 15px;
    line-height: 1.25;
}

.lot-node-card small[b-acl48ddftz] {
    min-width: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lot-event-chip[b-acl48ddftz],
.lot-badge[b-acl48ddftz] {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    max-width: 100%;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
}

.lot-event-chip[b-acl48ddftz] {
    flex: 0 0 auto;
    background: #f0e8dd;
    color: #6f6255;
}

.lot-event-chip.is-warehousing[b-acl48ddftz] {
    background: #f0e5d6;
    color: #70563a;
}

.lot-event-chip.is-delivering[b-acl48ddftz] {
    background: #e6eee8;
    color: #4b6654;
}

.lot-event-chip.is-terminal[b-acl48ddftz] {
    background: #f1e7de;
    color: #7c6551;
}

.lot-node-body[b-acl48ddftz] {
    display: grid;
    gap: 10px;
    padding: 12px 13px 13px;
}

.lot-node-lot[b-acl48ddftz] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.lot-node-lot span[b-acl48ddftz] {
    color: #746a5f;
    font-size: 11px;
    font-weight: 800;
}

.lot-node-lot strong[b-acl48ddftz] {
    min-width: 0;
    overflow: hidden;
    color: #2f2a23;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lot-node-lot em[b-acl48ddftz],
.lot-badge[b-acl48ddftz] {
    background: #f0e8dd;
    color: #6f6255;
}

.lot-badge.is-exception[b-acl48ddftz] {
    background: #feecec;
    color: #9b1c1c;
}

.lot-node-card dl[b-acl48ddftz] {
    display: grid;
    gap: 5px;
    margin: 0;
}

.lot-node-card dl > div[b-acl48ddftz] {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px;
    min-width: 0;
}

.lot-node-card dt[b-acl48ddftz],
.lot-node-card dd[b-acl48ddftz] {
    min-width: 0;
    margin: 0;
    font-size: 12px;
}

.lot-node-card dt[b-acl48ddftz] {
    color: #746a5f;
    font-weight: 800;
}

.lot-node-card dd[b-acl48ddftz] {
    overflow-wrap: anywhere;
    color: #302b25;
}

.lot-data-shell[b-acl48ddftz] {
    overflow: auto;
}

.lot-trace-tree[b-acl48ddftz],
[b-acl48ddftz] .lot-trace-tree {
    min-width: 1260px;
}

.lot-tree-main[b-acl48ddftz] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.lot-tree-main strong[b-acl48ddftz],
.lot-tree-main small[b-acl48ddftz],
.lot-lot-text[b-acl48ddftz] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lot-tree-main small[b-acl48ddftz] {
    color: var(--app-text-muted, #5d6875);
    font-size: 12px;
}

.lot-tree-main.is-search-match[b-acl48ddftz],
.lot-lot-text.is-search-match[b-acl48ddftz] {
    color: #8a5a00;
    font-weight: 800;
}

.lot-tree-main.is-search-match strong[b-acl48ddftz],
.lot-lot-text.is-search-match[b-acl48ddftz] {
    background: rgba(247, 234, 114, .45);
    box-decoration-break: clone;
}

.lot-tree-color[b-acl48ddftz] {
    --node-color: var(--lot-default-color);
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 4px;
    background: var(--node-color);
}

.color-sourceinput[b-acl48ddftz] {
    --node-color: #9b7c4f;
}

.color-production[b-acl48ddftz] {
    --node-color: #7b8894;
}

.color-work-slitting[b-acl48ddftz] {
    --node-color: #6e97a3;
}

.color-work-packaging[b-acl48ddftz] {
    --node-color: #8e9a68;
}

.color-work-press[b-acl48ddftz] {
    --node-color: #7080a8;
}

.color-work-heattreat[b-acl48ddftz] {
    --node-color: #b37a60;
}

.color-work-assembly[b-acl48ddftz] {
    --node-color: #6c917a;
}

.color-work-heattreatassembly[b-acl48ddftz] {
    --node-color: #8d8266;
}

.color-moving[b-acl48ddftz] {
    --node-color: #7c919b;
}

.color-outsourcing[b-acl48ddftz] {
    --node-color: #b28761;
}

.color-return[b-acl48ddftz] {
    --node-color: #a87380;
}

.color-deliveringgroup[b-acl48ddftz] {
    --node-color: #7b8f62;
}

.color-disposal[b-acl48ddftz] {
    --node-color: #b45e5e;
}

.color-pending[b-acl48ddftz] {
    --node-color: #b38857;
}

.color-stock[b-acl48ddftz] {
    --node-color: #6b7681;
}

.color-exception[b-acl48ddftz] {
    --node-color: var(--lot-exception-color);
}

.color-default[b-acl48ddftz] {
    --node-color: var(--lot-default-color);
}

.lot-empty-state[b-acl48ddftz] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    min-height: 220px;
    color: var(--app-text-muted, #5d6875);
    font-size: 14px;
}

.lot-detail-header[b-acl48ddftz] {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid var(--lot-card-border);
    border-radius: 8px;
    background: var(--lot-card-bg);
}

.lot-detail-header strong[b-acl48ddftz] {
    color: var(--app-text, #1f2933);
    font-size: 16px;
}

.lot-detail-header span[b-acl48ddftz] {
    color: var(--app-text-muted, #5d6875);
    font-size: 13px;
}

.lot-detail-warnings[b-acl48ddftz] {
    margin-bottom: 12px;
}

.lot-detail-sections[b-acl48ddftz] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.lot-detail-sections section[b-acl48ddftz] {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--app-border, #d9dee5);
    border-radius: 8px;
    background: var(--app-surface, #fff);
}

.lot-detail-sections h3[b-acl48ddftz] {
    margin: 0 0 10px;
    color: var(--app-text, #1f2933);
    font-size: 14px;
}

.lot-detail-sections dl[b-acl48ddftz] {
    display: grid;
    gap: 8px;
    margin: 0;
}

.lot-detail-sections dl > div[b-acl48ddftz] {
    display: grid;
    grid-template-columns: minmax(86px, 34%) minmax(0, 1fr);
    gap: 8px;
}

.lot-detail-sections dt[b-acl48ddftz],
.lot-detail-sections dd[b-acl48ddftz] {
    min-width: 0;
    margin: 0;
    font-size: 12px;
}

.lot-detail-sections dt[b-acl48ddftz] {
    color: var(--app-text-muted, #5d6875);
    font-weight: 700;
}

.lot-detail-sections dd[b-acl48ddftz] {
    overflow-wrap: anywhere;
    color: var(--app-text, #1f2933);
}

.lot-qr-body[b-acl48ddftz] {
    display: grid;
    gap: 10px;
}

.lot-qr-reader[b-acl48ddftz] {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--app-border, #d9dee5);
    border-radius: 8px;
    background: #111827;
}

.lot-qr-video[b-acl48ddftz] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lot-qr-reader[b-acl48ddftz]  .scan-region-highlight {
    border: 2px solid rgba(var(--app-primary-rgb, 37, 99, 235), .85);
    border-radius: 10px;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, .32);
}

.lot-qr-reader[b-acl48ddftz]  .code-outline-highlight {
    stroke: #22c55e !important;
    stroke-width: 4 !important;
}

.lot-qr-status[b-acl48ddftz] {
    margin: 0;
    color: var(--app-text-muted, #5d6875);
    font-size: 13px;
}

[b-acl48ddftz] .lot-detail-popup .dxbl-popup-body,
[b-acl48ddftz] .lot-qr-popup .dxbl-popup-body {
    max-height: min(72dvh, 720px);
    overflow: auto;
}

[b-acl48ddftz] .lot-data-shell .dxbl-grid {
    height: 100%;
}

@media (max-width: 900px) {
    .lot-trace-page[b-acl48ddftz] {
        height: calc(100dvh - 100px);
        min-height: 460px;
    }

    .lot-filter-panel[b-acl48ddftz] {
        grid-template-columns: minmax(0, 1fr);
    }

    .lot-filter-actions[b-acl48ddftz] {
        justify-content: flex-end;
    }
}

@media (max-width: 720px) {
    .lot-trace-page[b-acl48ddftz] {
        grid-template-rows: auto auto minmax(0, 1fr);
        gap: 6px;
        height: calc(100dvh - 86px);
        min-height: 420px;
    }

    .lot-command-bar[b-acl48ddftz] {
        flex-direction: column;
        align-items: stretch;
        padding: 7px;
    }

    .lot-current[b-acl48ddftz] {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 3px 6px;
    }

    .lot-current em[b-acl48ddftz] {
        grid-column: 1 / -1;
    }

    .lot-command-actions[b-acl48ddftz] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
    }

    .lot-command-actions > *[b-acl48ddftz] {
        min-width: 0;
    }

    .lot-command-actions[b-acl48ddftz]  .dxbl-btn {
        width: 100%;
        min-width: 0;
        min-height: 36px;
    }

    .lot-command-actions > *:nth-child(3)[b-acl48ddftz],
    .lot-command-actions > *:nth-child(4)[b-acl48ddftz] {
        display: none;
    }

    .drawer-command-footer[b-acl48ddftz] {
        flex-direction: column;
    }

    .drawer-command-footer[b-acl48ddftz]  .dxbl-btn {
        width: 100%;
    }

    .lot-status-strip[b-acl48ddftz] {
        max-height: 76px;
        overflow: auto;
    }

    .lot-tabs[b-acl48ddftz] {
        padding: 6px;
    }

    .lot-tabs button[b-acl48ddftz] {
        flex: 1 1 0;
        justify-content: center;
        min-width: 0;
    }

    .lot-history button[b-acl48ddftz] {
        max-width: 100%;
    }

    .lot-trace-tree[b-acl48ddftz],
    [b-acl48ddftz] .lot-trace-tree {
        min-width: 920px;
    }

    .lot-graph-edge-label[b-acl48ddftz] {
        display: none;
    }

    .lot-mobile-timeline[b-acl48ddftz],
    .lot-mobile-process-list[b-acl48ddftz] {
        padding: 10px 8px 14px;
    }

    .lot-mobile-impact-summary-card[b-acl48ddftz] {
        margin-right: 8px;
        margin-left: 8px;
    }

    .lot-detail-sections[b-acl48ddftz] {
        grid-template-columns: minmax(0, 1fr);
    }

    .lot-detail-sections dl > div[b-acl48ddftz] {
        grid-template-columns: minmax(78px, 32%) minmax(0, 1fr);
    }
}

@media (max-width: 420px) {
    .lot-mobile-current-card dl[b-acl48ddftz],
    .lot-mobile-node-fields[b-acl48ddftz],
    .lot-mobile-impact-metrics[b-acl48ddftz] {
        grid-template-columns: minmax(0, 1fr);
    }

    .lot-mobile-timeline-item[b-acl48ddftz] {
        grid-template-columns: 18px minmax(0, 1fr);
        gap: 6px;
    }

    .lot-mobile-node-card[b-acl48ddftz] {
        padding: 10px;
    }

    .lot-mobile-node-card header[b-acl48ddftz] {
        grid-template-columns: minmax(0, 1fr);
    }

    .lot-mobile-node-card header em[b-acl48ddftz] {
        justify-self: start;
        max-width: 100%;
    }

    .lot-mobile-lot-grid[b-acl48ddftz] {
        grid-template-columns: minmax(0, 1fr);
    }

    .lot-mobile-node-card footer[b-acl48ddftz] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lot-mobile-node-card footer[b-acl48ddftz]  .dxbl-btn {
        width: 100%;
        min-width: 0;
    }

}
/* /Pages/Production/ProcessWorkResultEntryPage.razor.rz.scp.css */
[b-so03mv7gs2] .process-loading-panel {
    width: 100%;
}

.process-entry-page[b-so03mv7gs2] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 8px;
    height: calc(100dvh - 126px);
    min-height: 540px;
    min-width: 0;
    overflow: hidden;
}

.process-status[b-so03mv7gs2] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #c8d9f0;
    border-radius: 8px;
    background: #f4f8fd;
    color: #254c77;
    font-size: 13px;
}

.process-status.is-error[b-so03mv7gs2] {
    border-color: #f2c1c1;
    background: #fff6f6;
    color: #9b1c1c;
}

.process-status span[b-so03mv7gs2] {
    overflow-wrap: anywhere;
}

.process-tablet-shell[b-so03mv7gs2] {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--app-border, #d9dee5);
    border-radius: 8px;
    background: var(--app-surface, #fff);
}

.process-command-panel[b-so03mv7gs2] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    overflow: auto;
    border-right: 1px solid var(--app-border, #d9dee5);
    background: #f7f8fa;
    padding: 12px;
}

.process-options[b-so03mv7gs2] {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.process-field[b-so03mv7gs2] {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: var(--app-text-muted, #5d6875);
    font-size: 12px;
    font-weight: 800;
}

.process-field[b-so03mv7gs2]  .dxbl-edit {
    width: 100%;
}

.process-latest-qr[b-so03mv7gs2] {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--app-border, #d9dee5);
    border-radius: 8px;
    background: #fff;
}

.process-latest-qr span[b-so03mv7gs2] {
    color: var(--app-text-muted, #5d6875);
    font-size: 12px;
    font-weight: 800;
}

.process-latest-qr strong[b-so03mv7gs2] {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 13px;
}

.process-large-actions[b-so03mv7gs2] {
    display: grid;
    align-content: start;
    gap: 10px;
}

.process-large-actions[b-so03mv7gs2]  .dxbl-btn {
    width: 100%;
    min-height: 84px;
}

.process-main-panel[b-so03mv7gs2] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
    min-width: 0;
    padding: 12px;
    overflow: hidden;
}

.process-summary-grid[b-so03mv7gs2] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}

.process-data-card[b-so03mv7gs2],
.process-mobile-card[b-so03mv7gs2] {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--app-border, #d9dee5);
    border-radius: 8px;
    background: #fff;
}

.process-data-card[b-so03mv7gs2] {
    min-height: 82px;
}

.process-data-card.is-primary[b-so03mv7gs2] {
    border-left: 4px solid #457b9d;
}

.process-data-card.is-success[b-so03mv7gs2] {
    border-left: 4px solid #2f8f6f;
}

.process-data-card span[b-so03mv7gs2],
.process-grid-shell header span[b-so03mv7gs2],
.process-mobile-card header span[b-so03mv7gs2] {
    color: var(--app-text-muted, #5d6875);
    font-size: 12px;
    font-weight: 900;
}

.process-data-card strong[b-so03mv7gs2],
.process-mobile-card header strong[b-so03mv7gs2] {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--app-text, #1f2933);
    font-size: 18px;
    line-height: 1.25;
}

.process-grid-shell[b-so03mv7gs2] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--app-border, #d9dee5);
    border-radius: 8px;
    background: #fff;
}

.process-grid-shell header[b-so03mv7gs2],
.process-mobile-rows > header[b-so03mv7gs2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    padding: 10px 12px;
    border-bottom: 1px solid var(--app-border, #d9dee5);
    background: #f4f6f8;
}

.process-grid-shell header div:first-child[b-so03mv7gs2] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.process-grid-shell header strong[b-so03mv7gs2],
.process-mobile-rows > header strong[b-so03mv7gs2] {
    color: var(--app-text, #1f2933);
    font-size: 13px;
}

.process-toggle[b-so03mv7gs2] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.process-grid[b-so03mv7gs2],
[b-so03mv7gs2] .process-grid {
    height: 100%;
    min-width: 980px;
}

.process-empty-state[b-so03mv7gs2] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 180px;
    color: var(--app-text-muted, #5d6875);
    font-size: 14px;
}

.process-bottom-actions[b-so03mv7gs2] {
    display: none;
}

.process-mobile-shell[b-so03mv7gs2] {
    display: grid;
    gap: 10px;
    min-height: 0;
    overflow: auto;
}

.process-mobile-card.is-primary[b-so03mv7gs2] {
    border-color: #b9d4f5;
    border-left: 4px solid #457b9d;
    background: #f5f9ff;
}

.process-mobile-card header[b-so03mv7gs2] {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.process-mobile-card dl[b-so03mv7gs2] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.process-mobile-card dl > div[b-so03mv7gs2] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.process-mobile-card dt[b-so03mv7gs2],
.process-mobile-card dd[b-so03mv7gs2] {
    min-width: 0;
    margin: 0;
    font-size: 12px;
}

.process-mobile-card dt[b-so03mv7gs2] {
    color: var(--app-text-muted, #5d6875);
    font-weight: 800;
}

.process-mobile-card dd[b-so03mv7gs2] {
    overflow-wrap: anywhere;
}

.process-mobile-rows[b-so03mv7gs2] {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.process-mobile-row[b-so03mv7gs2] {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--app-border, #d9dee5);
    border-left: 4px solid #8b98a8;
    border-radius: 8px;
    background: #fff;
    color: var(--app-text, #1f2933);
    text-align: left;
}

.process-mobile-row.is-selected[b-so03mv7gs2] {
    border-color: #7eb2f0;
    border-left-color: #2568b4;
    background: #f5f9ff;
}

.process-mobile-row strong[b-so03mv7gs2],
.process-mobile-row span[b-so03mv7gs2],
.process-mobile-row small[b-so03mv7gs2] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.process-mobile-row strong[b-so03mv7gs2] {
    font-size: 14px;
}

.process-mobile-row span[b-so03mv7gs2],
.process-mobile-row small[b-so03mv7gs2] {
    color: var(--app-text-muted, #5d6875);
    font-size: 12px;
}

@media (max-width: 900px) {
    .process-entry-page[b-so03mv7gs2] {
        height: calc(100dvh - 96px);
        min-height: 460px;
    }

    .process-summary-grid[b-so03mv7gs2] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .process-entry-page[b-so03mv7gs2] {
        grid-template-rows: auto minmax(0, 1fr) auto;
        gap: 6px;
        height: calc(100dvh - 86px);
        min-height: 420px;
    }

    .process-bottom-actions[b-so03mv7gs2] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        padding: 8px;
        border: 1px solid var(--app-border, #d9dee5);
        border-radius: 8px;
        background: rgba(255, 255, 255, .96);
    }

    .process-bottom-actions[b-so03mv7gs2]  .dxbl-btn {
        width: 100%;
        min-width: 0;
        min-height: 42px;
    }
}

@media (max-width: 420px) {
    .process-mobile-card dl[b-so03mv7gs2] {
        grid-template-columns: minmax(0, 1fr);
    }

    .process-mobile-rows > header[b-so03mv7gs2] {
        align-items: stretch;
        flex-direction: column;
    }

    .process-toggle[b-so03mv7gs2]  .dxbl-btn {
        flex: 1 1 0;
    }
}
/* /Pages/Production/ProductionQrPopup.razor.rz.scp.css */
.production-qr-body[b-iv0h5kwbk1] {
    display: grid;
    gap: 10px;
}

.production-qr-reader[b-iv0h5kwbk1] {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--app-border, #d9dee5);
    border-radius: 8px;
    background: #111827;
}

.production-qr-video[b-iv0h5kwbk1] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.production-qr-reader[b-iv0h5kwbk1]  .scan-region-highlight {
    border: 2px solid rgba(var(--app-primary-rgb, 37, 99, 235), .85);
    border-radius: 10px;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, .32);
}

.production-qr-reader[b-iv0h5kwbk1]  .code-outline-highlight {
    stroke: #22c55e !important;
    stroke-width: 4 !important;
}

.production-qr-status[b-iv0h5kwbk1] {
    margin: 0;
    color: var(--app-text-muted, #5d6875);
    font-size: 13px;
}

[b-iv0h5kwbk1] .production-qr-popup .dxbl-popup-body {
    max-height: min(72dvh, 720px);
    overflow: auto;
}
/* /Pages/Production/ProductionResultEntryPage.razor.rz.scp.css */
[b-fk6xeizzco] .production-loading-panel {
    width: 100%;
}

.production-entry-page[b-fk6xeizzco] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 8px;
    height: calc(100dvh - 126px);
    min-height: 540px;
    min-width: 0;
    overflow: hidden;
    color: var(--app-text, #1f2933);
}

.production-status[b-fk6xeizzco] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #c8d9f0;
    border-radius: 8px;
    background: #f4f8fd;
    color: #254c77;
    font-size: 13px;
}

.production-status.is-error[b-fk6xeizzco] {
    border-color: #f2c1c1;
    background: #fff6f6;
    color: #9b1c1c;
}

.production-status span[b-fk6xeizzco] {
    overflow-wrap: anywhere;
}

.production-tablet-shell[b-fk6xeizzco] {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--app-border, #d9dee5);
    border-radius: 8px;
    background: var(--app-surface, #fff);
}

.production-side-panel[b-fk6xeizzco] {
    min-height: 0;
    overflow: auto;
    border-right: 1px solid var(--app-border, #d9dee5);
    background: #f7f8fa;
}

.production-main-panel[b-fk6xeizzco] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
    min-width: 0;
    padding: 12px;
    overflow: hidden;
}

.production-options[b-fk6xeizzco] {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 12px;
}

.production-field[b-fk6xeizzco] {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: var(--app-text-muted, #5d6875);
    font-size: 12px;
    font-weight: 800;
}

.production-field[b-fk6xeizzco]  .dxbl-edit {
    width: 100%;
}

.production-latest-qr[b-fk6xeizzco] {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--app-border, #d9dee5);
    border-radius: 8px;
    background: #fff;
}

.production-latest-qr span[b-fk6xeizzco] {
    color: var(--app-text-muted, #5d6875);
    font-size: 12px;
    font-weight: 800;
}

.production-latest-qr strong[b-fk6xeizzco] {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 13px;
}

.production-summary-grid[b-fk6xeizzco] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}

.production-data-card[b-fk6xeizzco],
.production-mobile-card[b-fk6xeizzco] {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--app-border, #d9dee5);
    border-radius: 8px;
    background: #fff;
}

.production-data-card[b-fk6xeizzco] {
    min-height: 84px;
}

.production-data-card.is-primary[b-fk6xeizzco] {
    border-left: 4px solid #457b9d;
}

.production-data-card.is-success[b-fk6xeizzco] {
    border-left: 4px solid #2f8f6f;
}

.production-data-card span[b-fk6xeizzco],
.production-mobile-card header span[b-fk6xeizzco],
.production-mobile-materials > header span[b-fk6xeizzco],
.production-material-shell header span[b-fk6xeizzco] {
    color: var(--app-text-muted, #5d6875);
    font-size: 12px;
    font-weight: 900;
}

.production-data-card strong[b-fk6xeizzco],
.production-mobile-card header strong[b-fk6xeizzco] {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--app-text, #1f2933);
    font-size: 19px;
    line-height: 1.25;
}

.production-material-shell[b-fk6xeizzco] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--app-border, #d9dee5);
    border-radius: 8px;
    background: #fff;
}

.production-material-shell header[b-fk6xeizzco],
.production-mobile-materials > header[b-fk6xeizzco] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    padding: 10px 12px;
    border-bottom: 1px solid var(--app-border, #d9dee5);
    background: #f4f6f8;
}

.production-material-shell header div[b-fk6xeizzco] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.production-material-shell header strong[b-fk6xeizzco],
.production-mobile-materials > header strong[b-fk6xeizzco] {
    color: var(--app-text, #1f2933);
    font-size: 13px;
}

.production-material-grid[b-fk6xeizzco],
[b-fk6xeizzco] .production-material-grid {
    height: 100%;
    min-width: 900px;
}

.production-empty-state[b-fk6xeizzco] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 180px;
    color: var(--app-text-muted, #5d6875);
    font-size: 14px;
}

.production-bottom-actions[b-fk6xeizzco] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--app-border, #d9dee5);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
}

.production-bottom-actions[b-fk6xeizzco]  .dxbl-btn {
    width: 100%;
    min-width: 0;
    min-height: 44px;
}

.production-mobile-flow[b-fk6xeizzco],
.production-mobile-materials[b-fk6xeizzco] {
    display: grid;
    gap: 10px;
    min-height: 0;
    min-width: 0;
}

.production-mobile-flow[b-fk6xeizzco] {
    overflow: auto;
}

.production-mobile-card.is-primary[b-fk6xeizzco] {
    border-color: #b9d4f5;
    border-left: 4px solid #457b9d;
    background: #f5f9ff;
}

.production-mobile-card header[b-fk6xeizzco] {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.production-mobile-card dl[b-fk6xeizzco] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.production-mobile-card dl > div[b-fk6xeizzco] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.production-mobile-card dt[b-fk6xeizzco],
.production-mobile-card dd[b-fk6xeizzco] {
    min-width: 0;
    margin: 0;
    font-size: 12px;
}

.production-mobile-card dt[b-fk6xeizzco] {
    color: var(--app-text-muted, #5d6875);
    font-weight: 800;
}

.production-mobile-card dd[b-fk6xeizzco] {
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .production-entry-page[b-fk6xeizzco] {
        height: calc(100dvh - 96px);
        min-height: 460px;
    }

    .production-summary-grid[b-fk6xeizzco] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .production-entry-page[b-fk6xeizzco] {
        grid-template-rows: auto minmax(0, 1fr) auto;
        gap: 6px;
        height: calc(100dvh - 86px);
        min-height: 420px;
    }

    .production-bottom-actions[b-fk6xeizzco] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        padding: 8px;
    }

    .production-bottom-actions[b-fk6xeizzco]  .dxbl-btn {
        min-height: 40px;
    }
}

@media (max-width: 420px) {
    .production-mobile-card dl[b-fk6xeizzco] {
        grid-template-columns: minmax(0, 1fr);
    }

    .production-options[b-fk6xeizzco] {
        padding: 0;
    }
}
/* /Pages/Sales/OrderInquiryPage.razor.rz.scp.css */
.order-inquiry-page[b-ohhup5uyfk] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 24px 24px;
}

.search-panel[b-ohhup5uyfk] {
    display: grid;
    gap: 12px;
    border: 1px solid var(--bs-border-color, #d8dee9);
    border-radius: 8px;
    background: var(--bs-body-bg, #fff);
    padding: 16px;
}

[b-ohhup5uyfk] .order-command-drawer {
    width: 100%;
}

[b-ohhup5uyfk] .order-command-drawer .dxbl-drawer-panel {
    max-width: calc(100vw - 24px);
}

.drawer-filter-body[b-ohhup5uyfk] {
    display: grid;
    gap: 14px;
    padding: 12px;
}

.drawer-quick-actions[b-ohhup5uyfk] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.drawer-quick-actions[b-ohhup5uyfk]  .dxbl-btn {
    width: 100%;
    min-width: 0;
}

.drawer-command-footer[b-ohhup5uyfk] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px;
}

[b-ohhup5uyfk] .order-filter-form {
    width: 100%;
}

.status-message[b-ohhup5uyfk] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--bs-danger, #b42318);
    font-size: 13px;
}

.summary-strip[b-ohhup5uyfk] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.summary-item[b-ohhup5uyfk] {
    display: grid;
    gap: 4px;
    min-width: 0;
    border: 1px solid var(--bs-border-color, #d8dee9);
    border-radius: 8px;
    background: var(--bs-body-bg, #fff);
    padding: 12px 14px;
}

.summary-item span[b-ohhup5uyfk] {
    color: var(--bs-secondary-color, #5f6b7a);
    font-size: 12px;
    font-weight: 700;
}

.summary-item strong[b-ohhup5uyfk] {
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--bs-body-color, #172033);
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}

.order-grid-shell[b-ohhup5uyfk],
.order-detail-shell[b-ohhup5uyfk] {
    border: 1px solid var(--bs-border-color, #d8dee9);
    border-radius: 8px;
    background: var(--bs-body-bg, #fff);
    overflow: hidden;
}

.order-grid-shell[b-ohhup5uyfk] {
    min-height: 420px;
}

[b-ohhup5uyfk] .order-loading-panel {
    width: 100%;
    min-height: 420px;
}

.empty-state[b-ohhup5uyfk] {
    min-height: 320px;
    display: grid;
    place-items: center;
    gap: 10px;
    color: var(--bs-secondary-color, #5f6b7a);
    font-size: 14px;
}

.empty-state i[b-ohhup5uyfk] {
    color: var(--bs-primary, #2f6fed);
    font-size: 26px;
}

[b-ohhup5uyfk] .order-grid {
    min-height: 420px;
}

[b-ohhup5uyfk] .order-grid .dxbl-grid-table > tbody > tr > td,
[b-ohhup5uyfk] .order-item-grid .dxbl-grid-table > tbody > tr > td {
    vertical-align: middle;
}

.status-badge[b-ohhup5uyfk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 82px;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.status-badge.is-draft[b-ohhup5uyfk] {
    background: #f1f5f9;
    color: #334155;
}

.status-badge.is-requested[b-ohhup5uyfk] {
    background: #e0f2fe;
    color: #075985;
}

.status-badge.is-shipping[b-ohhup5uyfk] {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.is-complete[b-ohhup5uyfk] {
    background: #dcfce7;
    color: #166534;
}

.status-badge.is-unknown[b-ohhup5uyfk] {
    background: #eceff4;
    color: #4c566a;
}

.detail-header[b-ohhup5uyfk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--bs-border-color, #d8dee9);
    padding: 12px 14px;
}

.detail-header div[b-ohhup5uyfk] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.detail-header strong[b-ohhup5uyfk] {
    color: var(--bs-body-color, #172033);
    font-size: 14px;
    font-weight: 800;
}

.detail-header span[b-ohhup5uyfk] {
    overflow: hidden;
    color: var(--bs-secondary-color, #5f6b7a);
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detail-empty[b-ohhup5uyfk] {
    min-height: 220px;
}

[b-ohhup5uyfk] .order-item-grid {
    min-height: 280px;
}

@media (max-width: 1100px) {
    .summary-strip[b-ohhup5uyfk] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .order-inquiry-page[b-ohhup5uyfk] {
        gap: 10px;
        padding: 0 10px 14px;
    }

    .summary-strip[b-ohhup5uyfk] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .summary-item[b-ohhup5uyfk] {
        padding: 10px 12px;
    }

    .summary-item strong[b-ohhup5uyfk] {
        font-size: 17px;
    }

    .drawer-command-footer[b-ohhup5uyfk] {
        flex-direction: column;
    }

    .drawer-command-footer[b-ohhup5uyfk]  .dxbl-btn {
        width: 100%;
    }

    .order-grid-shell[b-ohhup5uyfk] {
        min-height: calc(100dvh - 380px);
    }

    [b-ohhup5uyfk] .order-loading-panel,
    [b-ohhup5uyfk] .order-grid {
        min-height: calc(100dvh - 380px);
    }

    .detail-header[b-ohhup5uyfk] {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    [b-ohhup5uyfk] .order-command-drawer .dxbl-drawer-panel {
        width: calc(100vw - 24px) !important;
    }

    .summary-strip[b-ohhup5uyfk] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Sales/OrderItemDeliveringHistoryPage.razor.rz.scp.css */
.sales-report-page[b-o6s5sxt6w5] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 24px 24px;
}

.search-panel[b-o6s5sxt6w5] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid var(--bs-border-color, #d8dee9);
    border-radius: 8px;
    background: var(--bs-body-bg, #fff);
    padding: 16px;
}

[b-o6s5sxt6w5] .sales-command-drawer {
    width: 100%;
}

[b-o6s5sxt6w5] .sales-command-drawer .dxbl-drawer-panel {
    max-width: calc(100vw - 24px);
}

.drawer-filter-body[b-o6s5sxt6w5] {
    display: grid;
    gap: 14px;
    padding: 12px;
}

.drawer-quick-actions[b-o6s5sxt6w5] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.drawer-quick-actions[b-o6s5sxt6w5]  .dxbl-btn {
    width: 100%;
    min-width: 0;
}

.drawer-command-footer[b-o6s5sxt6w5] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px;
}

.date-range[b-o6s5sxt6w5],
.filter-grid[b-o6s5sxt6w5],
.mode-row[b-o6s5sxt6w5] {
    display: flex;
    align-items: end;
    gap: 10px;
    flex-wrap: wrap;
}

.date-range[b-o6s5sxt6w5] {
    align-items: center;
}

.filter-grid[b-o6s5sxt6w5] {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(220px, 320px) minmax(220px, 340px);
    align-items: end;
    width: 100%;
}

.field[b-o6s5sxt6w5] {
    display: grid;
    gap: 5px;
    min-width: 0;
}

[b-o6s5sxt6w5] .field .dxbl-edit,
[b-o6s5sxt6w5] .field .dxbl-combobox,
[b-o6s5sxt6w5] .field .dxbl-date-edit {
    width: 100%;
}

.field > span[b-o6s5sxt6w5] {
    color: var(--bs-secondary-color, #5f6b7a);
    font-size: 12px;
    font-weight: 700;
}

.field-date[b-o6s5sxt6w5] {
    width: 156px;
}

.range-separator[b-o6s5sxt6w5] {
    color: var(--bs-secondary-color, #5f6b7a);
    font-weight: 700;
}

.date-shift-buttons[b-o6s5sxt6w5] {
    display: flex;
    gap: 6px;
}

.date-shift-buttons > *[b-o6s5sxt6w5] {
    flex: 0 0 auto;
}

.mode-row[b-o6s5sxt6w5] {
    justify-content: space-between;
    align-items: center;
}

.status-message[b-o6s5sxt6w5] {
    margin: 0;
    color: var(--bs-danger, #b42318);
    font-size: 13px;
}

.report-grid-shell[b-o6s5sxt6w5] {
    min-height: 460px;
    border: 1px solid var(--bs-border-color, #d8dee9);
    border-radius: 8px;
    background: var(--bs-body-bg, #fff);
    overflow: hidden;
}

[b-o6s5sxt6w5] .sales-report-loading-panel {
    width: 100%;
    min-height: 460px;
}

.empty-state[b-o6s5sxt6w5] {
    min-height: 360px;
    display: grid;
    place-items: center;
    gap: 10px;
    color: var(--bs-secondary-color, #5f6b7a);
    font-size: 14px;
}

.empty-state i[b-o6s5sxt6w5] {
    color: var(--bs-primary, #2f6fed);
    font-size: 26px;
}

[b-o6s5sxt6w5] .sales-report-grid {
    min-height: 460px;
}

[b-o6s5sxt6w5] .sales-report-grid .dxbl-grid-table > tbody > tr > td {
    vertical-align: middle;
}

.status-badge[b-o6s5sxt6w5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 86px;
    justify-content: center;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.status-badge.is-draft[b-o6s5sxt6w5] {
    background: #f1f5f9;
    color: #334155;
}

.status-badge.is-requested[b-o6s5sxt6w5] {
    background: #e0f2fe;
    color: #075985;
}

.status-badge.is-shipping[b-o6s5sxt6w5] {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.is-complete[b-o6s5sxt6w5] {
    background: #dcfce7;
    color: #166534;
}

.status-badge.is-return[b-o6s5sxt6w5] {
    background: #fee2e2;
    color: #991b1b;
}

.status-badge.is-unknown[b-o6s5sxt6w5] {
    background: #eceff4;
    color: #4c566a;
}

@media (max-width: 980px) {
    .sales-report-page[b-o6s5sxt6w5] {
        padding: 0 14px 18px;
    }

    .filter-grid[b-o6s5sxt6w5] {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .sales-report-page[b-o6s5sxt6w5] {
        gap: 10px;
        padding: 0 10px 14px;
    }

    .search-panel[b-o6s5sxt6w5] {
        gap: 12px;
        padding: 12px;
    }

    .drawer-command-footer[b-o6s5sxt6w5] {
        flex-direction: column;
    }

    .drawer-command-footer[b-o6s5sxt6w5]  .dxbl-btn {
        width: 100%;
    }

    .date-range[b-o6s5sxt6w5] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
    }

    .filter-grid[b-o6s5sxt6w5] {
        grid-template-columns: 1fr;
    }

    .field-date[b-o6s5sxt6w5] {
        width: 100%;
    }

    .mode-row[b-o6s5sxt6w5] {
        align-items: stretch;
        flex-direction: column;
    }

    .range-separator[b-o6s5sxt6w5] {
        display: none;
    }

    .date-shift-buttons[b-o6s5sxt6w5] {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .date-shift-buttons > *[b-o6s5sxt6w5] {
        min-width: 0;
    }

    .date-shift-buttons[b-o6s5sxt6w5]  .dxbl-btn {
        width: 100%;
        min-width: 0;
        min-height: 38px;
    }

    .mode-row[b-o6s5sxt6w5]  .dxbl-radiogroup,
    .mode-row[b-o6s5sxt6w5]  .dxbl-checkbox {
        max-width: 100%;
    }

    .report-grid-shell[b-o6s5sxt6w5] {
        min-height: calc(100dvh - 360px);
    }

    [b-o6s5sxt6w5] .sales-report-grid {
        min-height: calc(100dvh - 360px);
    }
}
/* /Pages/Sales/SalesDailySummaryPage.razor.rz.scp.css */
.sales-daily-summary-page[b-r6dwgerr9c] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 24px 24px;
}

.search-panel[b-r6dwgerr9c] {
    display: grid;
    gap: 12px;
    border: 1px solid var(--bs-border-color, #d8dee9);
    border-radius: 8px;
    background: var(--bs-body-bg, #fff);
    padding: 16px;
}

[b-r6dwgerr9c] .sales-daily-summary-drawer {
    width: 100%;
}

[b-r6dwgerr9c] .sales-daily-summary-drawer .dxbl-drawer-panel {
    max-width: calc(100vw - 24px);
}

.drawer-filter-body[b-r6dwgerr9c] {
    display: grid;
    gap: 14px;
    padding: 12px;
}

.drawer-quick-actions[b-r6dwgerr9c] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.drawer-quick-actions[b-r6dwgerr9c]  .dxbl-btn {
    width: 100%;
    min-width: 0;
}

.drawer-command-footer[b-r6dwgerr9c] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px;
}

.option-checks[b-r6dwgerr9c] {
    display: flex;
    align-items: center;
    min-height: 38px;
    gap: 14px;
    flex-wrap: wrap;
}

.status-message[b-r6dwgerr9c] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--bs-secondary-color, #5f6b7a);
    font-size: 13px;
}

.status-message.is-error[b-r6dwgerr9c] {
    color: var(--bs-danger, #b42318);
}

.summary-strip[b-r6dwgerr9c] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.summary-item[b-r6dwgerr9c] {
    display: grid;
    gap: 4px;
    border: 1px solid var(--bs-border-color, #d8dee9);
    border-radius: 8px;
    background: var(--bs-body-bg, #fff);
    padding: 12px 14px;
    min-width: 0;
}

.summary-item span[b-r6dwgerr9c] {
    color: var(--bs-secondary-color, #5f6b7a);
    font-size: 12px;
    font-weight: 700;
}

.summary-item strong[b-r6dwgerr9c] {
    overflow: hidden;
    color: var(--bs-body-color, #1f2937);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.summary-grid-shell[b-r6dwgerr9c] {
    min-height: 520px;
    border: 1px solid var(--bs-border-color, #d8dee9);
    border-radius: 8px;
    background: var(--bs-body-bg, #fff);
    overflow: hidden;
}

[b-r6dwgerr9c] .sales-daily-summary-loading-panel {
    width: 100%;
    min-height: 520px;
}

.empty-state[b-r6dwgerr9c] {
    min-height: 420px;
    display: grid;
    place-items: center;
    gap: 10px;
    color: var(--bs-secondary-color, #5f6b7a);
    font-size: 14px;
}

.empty-state i[b-r6dwgerr9c] {
    color: var(--bs-primary, #2f6fed);
    font-size: 26px;
}

[b-r6dwgerr9c] .sales-daily-summary-grid {
    min-height: 520px;
}

[b-r6dwgerr9c] .sales-daily-summary-grid .dxbl-grid-table > tbody > tr > td {
    vertical-align: middle;
}

@media (max-width: 1100px) {
    .summary-strip[b-r6dwgerr9c] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .sales-daily-summary-page[b-r6dwgerr9c] {
        padding: 0 14px 18px;
    }

    .summary-strip[b-r6dwgerr9c] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .sales-daily-summary-page[b-r6dwgerr9c] {
        gap: 10px;
        padding: 0 10px 14px;
    }

    .drawer-command-footer[b-r6dwgerr9c] {
        flex-direction: column;
    }

    .drawer-command-footer[b-r6dwgerr9c]  .dxbl-btn {
        width: 100%;
    }

    .drawer-quick-actions[b-r6dwgerr9c] {
        grid-template-columns: 1fr;
    }

    .summary-strip[b-r6dwgerr9c] {
        grid-template-columns: 1fr;
    }
}
