/* /Components/Pages/Display/InjShots.razor.rz.scp.css */
/* 공장 디스플레이 — 내부 사이트 디자인과 무관하게 화면 전체(100vw × 100vh)를 스크롤 없이 덮는다.
   클래스는 모두 ds- 접두어(공용 app.css 와 이름이 겹치지 않게), 타일 글자는 타일 크기(--u)에 비례한다. */
.dsp[b-b6remyykj5] {
    --ds-bg: #1c2535;
    --ds-tile: #05070b;
    --ds-line: #2b3648;
    --ds-dim: #93a3bd;
    --ds-ok: #3d8ef8;
    --ds-warn: #f59e0b;
    --ds-over: #ef4444;
    --ds-clock: #ffe14d;
    position: fixed; inset: 0; z-index: 10;
    display: flex; flex-direction: column;
    background: var(--ds-bg); color: #fff; overflow: hidden;
    font-family: "Segoe UI", "Malgun Gothic", Tahoma, Arial, sans-serif; font-weight: 700;
    font-variant-numeric: tabular-nums; letter-spacing: 0; line-height: 1.2;
}
.dsp.ds-idle[b-b6remyykj5] { cursor: none; }

.ds-bar[b-b6remyykj5] {
    flex: 0 0 auto; height: 4.2vh; min-height: 30px;
    display: flex; align-items: center; gap: 2vw; padding: 0 1vw;
    font-size: clamp(12px, 1.9vh, 26px);
}
.ds-title[b-b6remyykj5] { color: #dbe7ff; letter-spacing: .04em; }
.ds-legend[b-b6remyykj5] { display: flex; gap: 1.2vw; color: var(--ds-dim); font-weight: 600; }
.ds-lg[b-b6remyykj5] { display: inline-block; width: 1.4em; height: .7em; margin-right: .35em; border-radius: 2px; vertical-align: middle; }
.ds-lg.ds-ok[b-b6remyykj5] { background: var(--ds-ok); }
.ds-lg.ds-warn[b-b6remyykj5] { background: var(--ds-warn); }
.ds-lg.ds-over[b-b6remyykj5] { background: var(--ds-over); }
.ds-fs[b-b6remyykj5] {
    margin-left: auto; background: transparent; border: 1px solid var(--ds-line); color: var(--ds-dim); border-radius: 6px;
    font: inherit; font-size: 1.1em; line-height: 1; padding: .15em .45em; cursor: pointer;
}
.ds-fs:hover[b-b6remyykj5] { color: #fff; border-color: #53627a; }

.ds-grid[b-b6remyykj5] { flex: 1 1 auto; min-height: 0; display: grid; gap: .6vh .5vw; padding: .3vh .6vw 1vh; }
.ds-grid.ds-one[b-b6remyykj5] { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.ds-empty[b-b6remyykj5] { display: flex; align-items: center; justify-content: center; color: var(--ds-dim); font-size: 3vh; }

.ds-tile[b-b6remyykj5] {
    container-type: size; position: relative; min-width: 0; min-height: 0;
    /* 글자 단위 — 타일 높이의 1%, 단 폭이 모자라면(원본 타일 비율 1.9:1 기준) 폭에 맞춘다 */
    --u: min(1cqh, 0.53cqw);
    background: var(--ds-tile); border: 1px solid #111827;
}
/* 행 배치는 타일 안 상자에 둔다 — 컨테이너 단위(cqh)는 자기 자신이 아니라 바깥 컨테이너 기준이라 타일 자신에 쓰면 화면 높이로 계산된다.
   행 높이도 글자 단위로 고정하고 남는 세로 공간은 행 사이에 나눈다 — 세로로 긴 타일(?rows=3)에서도 배지·칩이 늘어나지 않는다 */
.ds-in[b-b6remyykj5] {
    height: 100%;
    display: grid; grid-template-rows: calc(19 * var(--u)) calc(24 * var(--u)) calc(13 * var(--u)) calc(28 * var(--u));
    align-content: space-evenly; padding: 2cqh 3cqw;
}
.ds-tile.ds-stale[b-b6remyykj5] { opacity: .55; }

/* 1행: 코드 배지 + 진행률 막대 */
.ds-r1[b-b6remyykj5] { display: flex; align-items: center; gap: 2.5cqw; min-height: 0; }
.ds-code[b-b6remyykj5] {
    flex: 0 0 auto; height: 86%; min-width: 21cqw; padding: 0 1.8cqw;
    display: flex; align-items: center; justify-content: center;
    background: #f4f1ea; color: #111; border: 1px solid #c9c2b3; border-radius: 3px;
    font-size: calc(14 * var(--u)); line-height: 1;
}
.ds-pbar[b-b6remyykj5] { position: relative; flex: 1 1 auto; height: 78%; background: #0b1220; border: 1px solid #4b5b75; overflow: hidden; }
.ds-fill[b-b6remyykj5] { position: absolute; inset: 0 auto 0 0; background: var(--ds-ok); }
.ds-pbar.ds-warn .ds-fill[b-b6remyykj5] { background: var(--ds-warn); }
.ds-pbar.ds-over .ds-fill[b-b6remyykj5] { background: var(--ds-over); }
.ds-pbar.ds-none .ds-fill[b-b6remyykj5] { background: transparent; }
.ds-pct[b-b6remyykj5] {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: calc(11 * var(--u)); color: #fff; text-shadow: 0 0 3px #000, 0 0 2px #000, 0 0 1px #000;
}

/* 2행: 톤수 + 상태 */
.ds-r2[b-b6remyykj5] { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; min-height: 0; }
.ds-ton[b-b6remyykj5] { font-size: calc(20 * var(--u)); line-height: 1; white-space: nowrap; }
.ds-ton.ds-t1[b-b6remyykj5] { color: #ffd21f; }
.ds-ton.ds-t2[b-b6remyykj5] { color: #7cf05a; }
.ds-ton.ds-t3[b-b6remyykj5] { color: #ffffff; }
.ds-ton.ds-t4[b-b6remyykj5] { color: #4fe3ff; }
.ds-ton.ds-t0[b-b6remyykj5] { color: var(--ds-dim); }
.ds-st[b-b6remyykj5] {
    flex: 0 0 auto; width: 44cqw; height: 72%;
    display: flex; align-items: center; justify-content: center;
    border-radius: 3px; font-size: calc(12 * var(--u)); color: #0a1a0a;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.ds-st.ds-st-RUN[b-b6remyykj5]  { background: linear-gradient(#b7ff9a, #34d314 55%, #1f9e08); }
.ds-st.ds-st-STOP[b-b6remyykj5] { background: linear-gradient(#ffb0a8, #ff3b30 55%, #c21a10); color: #fff; }
.ds-st.ds-st-IDLE[b-b6remyykj5] { background: linear-gradient(#ffe7a3, #f5b014 55%, #c98500); }
.ds-st.ds-st-PM[b-b6remyykj5]   { background: linear-gradient(#bfe0ff, #3d8ef8 55%, #1d5fc4); color: #fff; }
.ds-st.ds-st-OFF[b-b6remyykj5], .ds-st.ds-st-NONE[b-b6remyykj5] { background: linear-gradient(#8a8272, #5f594e); color: #d6d0c4; }

/* 3행: 장착 금형 */
.ds-r3[b-b6remyykj5] { display: flex; align-items: center; gap: 2cqw; min-height: 0; overflow: hidden; }
.ds-mold[b-b6remyykj5] { font-size: calc(10 * var(--u)); color: #c7d2e4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.ds-id[b-b6remyykj5] { color: #e8eefa; font-weight: 700; margin-right: 1.5cqw; }
.ds-mold.ds-none[b-b6remyykj5] { color: var(--ds-dim); }
.ds-tag[b-b6remyykj5] { flex: 0 0 auto; font-size: calc(7 * var(--u)); color: #9fb3d1; border: 1px solid #3a4a63; border-radius: 3px; padding: .1em .4em; font-weight: 600; }

/* 4행: 현재 / 최대 Shot */
.ds-r4[b-b6remyykj5] { display: flex; align-items: center; justify-content: center; min-height: 0; white-space: nowrap; }
.ds-shots[b-b6remyykj5] { font-size: calc(22 * var(--u)); line-height: 1; }
.ds-sep[b-b6remyykj5] { color: #cfd8e6; margin: 0 .25em; }
.ds-shots.ds-none[b-b6remyykj5] { color: var(--ds-dim); }

/* 시계 칸 */
.ds-clock[b-b6remyykj5] {
    container-type: size; min-width: 0; min-height: 0; --u: min(1cqh, 0.53cqw);
    display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ds-clock);
}
.ds-d[b-b6remyykj5] { font-size: calc(17 * var(--u)); line-height: 1.2; }
.ds-t[b-b6remyykj5] { font-size: calc(34 * var(--u)); line-height: 1.05; }
.ds-z[b-b6remyykj5] { font-size: calc(8 * var(--u)); color: var(--ds-dim); font-weight: 600; }
/* /Components/Pages/Fg/ShipmentPlan.razor.rz.scp.css */
.shipment-plan-page[b-v702fhdqna] { display:flex; flex-direction:column; gap:12px; min-height:0; overflow:hidden; }
.plan-toolbar[b-v702fhdqna], .plan-filters[b-v702fhdqna] { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.plan-toolbar[b-v702fhdqna] { justify-content:space-between; }
.preview-tag[b-v702fhdqna] { margin-left:10px; font-size: calc(10px + var(--ames-fs-bump)); opacity:.65; cursor:help; }
.load-estimate[b-v702fhdqna] { display:grid; grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr) 32px minmax(0,1fr); align-items:center; gap:0; }
.load-estimate-header[b-v702fhdqna] { width:100%; text-align:center; white-space:nowrap; font-size: calc(10px + var(--ames-fs-bump)); }
.load-estimate input[b-v702fhdqna] { box-sizing:border-box; width:100%; min-width:0; height:23px; min-height:0; margin:0; padding:1px 6px; border:1px solid var(--ames-border-soft, #718097); border-radius:0; background:transparent; color:inherit; font:inherit; font-size:12px; line-height:19px; text-align:left; appearance:textfield; }
.load-estimate input[aria-invalid="true"][b-v702fhdqna] { border-color:var(--ames-tx-amber-400, #d5a750); }
.pallet-count[b-v702fhdqna] { text-align:center; white-space:nowrap; font-variant-numeric:tabular-nums; }
.pallet-count small[b-v702fhdqna] { font-size: calc(10px + var(--ames-fs-bump)); opacity:.7; }
.quantity-summary[b-v702fhdqna] { display:grid; grid-template-columns:1fr auto 1fr auto 1fr; gap:4px; align-items:center; text-align:right; font-variant-numeric:tabular-nums; }
.load-estimate input[b-v702fhdqna]::-webkit-inner-spin-button, .load-estimate input[b-v702fhdqna]::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.load-estimate input:focus-visible[b-v702fhdqna] { outline:1px solid var(--ames-tx-blue-300); }
.packing-missing[b-v702fhdqna] { color:var(--ames-tx-amber-400, #d5a750); font-size: calc(10px + var(--ames-fs-bump)); white-space:nowrap; }
.packing-value[b-v702fhdqna] { display:flex; align-items:center; justify-content:center; gap:3px; font-variant-numeric:tabular-nums; }
.calculation-separator[b-v702fhdqna] { display:flex; align-items:center; justify-content:center; align-self:stretch; text-align:center; font-size:15px; font-weight:600; line-height:1; }
.packing-info[b-v702fhdqna] { display:inline-flex; align-items:center; justify-content:center; border:0; background:transparent; color:var(--ames-tx-blue-300, #8bb7eb); padding:0 1px; font-size:15px; line-height:20px; cursor:pointer; vertical-align:middle; }
.packing-info:focus-visible[b-v702fhdqna] { outline:1px solid currentColor; }
.part-summary[b-v702fhdqna] { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
/* Keep this display-only planner as dense as the PP supply table, without changing other FG screens. */
.shipment-plan-page[b-v702fhdqna]  .shipment-plan-grid .rz-data-grid-data > table { table-layout:fixed !important; min-width:1000px; }
.shipment-plan-page[b-v702fhdqna]  .shipment-plan-grid .rz-data-row > td { height:29px !important; padding:2px 6px !important; font-size:12px !important; line-height:20px !important; vertical-align:middle; }
.shipment-plan-page[b-v702fhdqna]  .shipment-plan-grid .rz-cell-data { font-size:12px !important; line-height:20px !important; }
.shipment-plan-page[b-v702fhdqna]  .shipment-plan-grid thead th { font-size: calc(10px + var(--ames-fs-bump)) !important; padding:3px 5px !important; }
.shipment-plan-page[b-v702fhdqna]  .shipment-plan-grid .rz-column-title { font-size: calc(10px + var(--ames-fs-bump)) !important; text-align:center; justify-content:center; }
.shipment-plan-page[b-v702fhdqna]  .shipment-plan-grid thead th:first-child { padding-left:6px !important; padding-right:6px !important; }
.shipment-plan-page[b-v702fhdqna]  .shipment-plan-grid thead th:first-child .rz-column-title,
.shipment-plan-page[b-v702fhdqna]  .shipment-plan-grid thead th:first-child .rz-column-title-content { display:block; width:100%; padding:0; }
/* /Components/Pages/Fg/ShipmentTrailerDialog.razor.rz.scp.css */
.trailer-preview[b-5shldj431q] { color:inherit; display:flex; flex-direction:column; gap:12px; max-height:80vh; overflow:hidden; }
.preview-summary[b-5shldj431q] { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.preview-heading[b-5shldj431q], .preview-buttons[b-5shldj431q] { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.preview-heading > span[b-5shldj431q] { font-size:12px; }
.partial-badge[b-5shldj431q] { color:var(--ames-tx-amber-400, #d5a750); border:1px solid currentColor; padding:1px 6px; }
.details-toggle[b-5shldj431q] { background:transparent; color:inherit; border:1px solid var(--ames-border, #526075); padding:6px 10px; font:inherit; font-size:12px; cursor:pointer; }
.packing-details[b-5shldj431q] { overflow:auto; max-height:45vh; flex-shrink:0; border:1px solid var(--ames-border, #526075); padding:12px; }
.preview-help[b-5shldj431q] { font-size:12px; opacity:.75; margin:8px 0; }
.preview-error[b-5shldj431q] { padding:12px; border:1px solid #dd5c5c; color:#e77373; margin-bottom:12px; }
.estimate-totals[b-5shldj431q] { display:flex; flex-wrap:wrap; gap:16px; margin-top:10px; font-size:13px; }
.unestimated[b-5shldj431q], .partial-warning[b-5shldj431q] { color:var(--ames-tx-amber-400, #d5a750); }
.packing-info[b-5shldj431q] { border:0; background:transparent; color:var(--ames-tx-blue-300, #8bb7eb); padding:0 2px; font-size:15px; line-height:20px; vertical-align:middle; cursor:pointer; }
.packing-info:focus-visible[b-5shldj431q] { outline:1px solid currentColor; }
.partial-warning[b-5shldj431q] { border:1px solid currentColor; padding:8px 12px; margin:10px 0; font-size:12px; }
.estimate-section[b-5shldj431q] { border:1px solid var(--ames-border, #526075); padding:12px; margin-bottom:14px; }
.estimate-section h3[b-5shldj431q], .estimate-section summary[b-5shldj431q] { font-size:12px; margin:0; cursor:pointer; }
.estimate-section p[b-5shldj431q] { font-size: calc(11px + var(--ames-fs-bump)); opacity:.75; margin:6px 0; }
.estimate-table-wrap[b-5shldj431q] { overflow:auto; }
.excluded-list[b-5shldj431q] { max-height:200px; margin-top:8px; }
.estimate-table[b-5shldj431q] { width:100%; border-collapse:collapse; font-size:12px; }
.estimate-table th[b-5shldj431q], .estimate-table td[b-5shldj431q] { padding:6px 8px; border-bottom:1px solid var(--ames-border, #526075); text-align:left; vertical-align:top; }
.estimate-table th[b-5shldj431q] { font-size: calc(10px + var(--ames-fs-bump)); text-transform:uppercase; }
.estimate-table input[b-5shldj431q] { width:125px; box-sizing:border-box; background:transparent; color:inherit; border:1px solid #718097; font:inherit; padding:4px 6px; }
.estimate-table input[aria-invalid="true"][b-5shldj431q] { border-color:#dd5c5c; }
.input-error[b-5shldj431q] { color:#e77373; font-size: calc(11px + var(--ames-fs-bump)); max-width:230px; margin-top:4px; }
.group-part[b-5shldj431q] { margin-top:6px; overflow-wrap:anywhere; }
.trailer-board[b-5shldj431q] { min-height:0; overflow:auto; padding:2px; }
.trailer-day + .trailer-day[b-5shldj431q] { margin-top:18px; }
.trailer-day h3[b-5shldj431q] { font-size:13px; margin:0 0 10px; }
.trailer-day h3 span[b-5shldj431q] { margin-left:10px; font-size: calc(11px + var(--ames-fs-bump)); font-weight:normal; opacity:.7; }
.trailer-day-grid[b-5shldj431q] { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; align-items:start; }
.trailer-card[b-5shldj431q] { border:1px solid var(--ames-border, #526075); background:var(--ames-card-bg, transparent); padding:10px; min-width:0; }
.trailer-card.drop-ready[b-5shldj431q] { border-color:#70a5e9; }
.trailer-card header[b-5shldj431q], .trailer-actions[b-5shldj431q] { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.trailer-card header span[b-5shldj431q] { display:block; font-size:12px; margin-top:6px; opacity:.75; }
.trailer-card header b[b-5shldj431q] { white-space:nowrap; }
.trailer-meter[b-5shldj431q] { height:4px; background:#7c8da32b; margin:12px 0; }
.trailer-meter i[b-5shldj431q] { display:block; height:100%; background:#5b92d6; }
.trailer-actions[b-5shldj431q] { margin-bottom:12px; }
.trailer-actions button[b-5shldj431q] { background:transparent; border:1px solid #718097; color:inherit; padding:5px 10px; cursor:pointer; }
.trailer-actions button:disabled[b-5shldj431q] { opacity:.4; cursor:default; }
.pallet-slots[b-5shldj431q] { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
.pallet-tile[b-5shldj431q] { min-width:0; text-align:left; font:inherit; color:inherit; border:1px solid #5e8cc0; background:#5c94ce18; padding:9px; cursor:grab; overflow-wrap:anywhere; }
.pallet-tile.selected[b-5shldj431q] { outline:2px solid #6aa8f0; background:#5c94ce35; }
.pallet-tile:focus-visible[b-5shldj431q] { outline:2px solid #6aa8f0; }
.pallet-tile strong[b-5shldj431q], .pallet-tile span[b-5shldj431q], .pallet-tile small[b-5shldj431q] { display:block; }
.pallet-tile strong[b-5shldj431q] { font-size:12px; margin:6px 0; }
.pallet-tile span[b-5shldj431q], .pallet-tile small[b-5shldj431q] { font-size: calc(11px + var(--ames-fs-bump)); line-height:1.4; }
.pallet-caption[b-5shldj431q] { color:var(--ames-tx-blue-400, #639be4); font-weight:700; }
.empty-slot[b-5shldj431q] { min-height:46px; display:grid; place-items:center; border:1px dashed #7c8da344; font-size: calc(11px + var(--ames-fs-bump)); opacity:.45; }
@media(max-width:1000px) { .trailer-day-grid[b-5shldj431q] { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .trailer-day-grid[b-5shldj431q] { grid-template-columns:1fr; } .preview-summary[b-5shldj431q] { align-items:flex-start; flex-direction:column; } }
/* /Components/Pages/Portal/BoxLabels.razor.rz.scp.css */
.label-tools[b-5utj5b04yd] { padding:20px; display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
@media print { .label-tools[b-5utj5b04yd] { display:none!important; } }
/* /Components/Pages/Portal/CaseLabel.razor.rz.scp.css */
.label-tools[b-rzou96pc9l] { display:flex; flex-wrap:wrap; gap:16px; padding:20px; align-items:center; }
.case-labels[b-rzou96pc9l] { width:190mm; margin:20px auto; color:#000; background:#fff; font-family:Arial,sans-serif; }
.case-label[b-rzou96pc9l] { box-sizing:border-box; padding:8mm; width:190mm; min-height:235mm; break-after:page; }
.case-label:last-child[b-rzou96pc9l] { break-after:auto; }
.case-label header[b-rzou96pc9l] { display:flex; justify-content:space-between; gap:12px; font-size:16pt; border-bottom:1px solid #000; padding-bottom:5mm; }
.case-label header span[b-rzou96pc9l] { font-size:12pt; overflow-wrap:anywhere; }
.case-barcode[b-rzou96pc9l] { text-align:center; padding:8mm 10mm; }
.case-barcode[b-rzou96pc9l]  svg { width:100%; height:25mm; fill:#000; }
.case-barcode strong[b-rzou96pc9l] { display:block; font-size:23pt; margin-top:3mm; overflow-wrap:anywhere; }
.case-info[b-rzou96pc9l] { display:flex; justify-content:space-between; gap:8mm; padding:4mm 0; font-size:12pt; }
.case-label table[b-rzou96pc9l] { border-collapse:collapse; width:100%; table-layout:fixed; font-size:10pt; }
.case-label th[b-rzou96pc9l],.case-label td[b-rzou96pc9l] { padding:3mm 2mm; border:1px solid #000; overflow-wrap:anywhere; }
.case-label th:nth-child(1)[b-rzou96pc9l] { width:24%; }.case-label th:nth-child(2)[b-rzou96pc9l] { width:36%; }
.case-label th:nth-child(3)[b-rzou96pc9l],.case-label th:nth-child(5)[b-rzou96pc9l] { width:10%; }
.case-label th:nth-child(4)[b-rzou96pc9l] { width:20%; }
.case-label tr[b-rzou96pc9l] { break-inside:avoid; }
.case-label footer[b-rzou96pc9l] { margin-top:6mm; font-size:9pt; }
@media print {
    @page { size:Letter portrait; margin:10mm; }
    .label-tools[b-rzou96pc9l] { display:none!important; }
    .case-labels[b-rzou96pc9l] { width:190mm!important; margin:0!important; visibility:visible!important; }
    .case-labels[b-rzou96pc9l]  * { visibility:visible!important; }
}
/* /Components/Pages/Portal/DeliveryBoxes.razor.rz.scp.css */
.box-layout[b-8bcd62j89a] { display:grid; grid-template-columns:minmax(270px,1fr) minmax(0,2fr); gap:16px; }
.box-layout > .ames-card[b-8bcd62j89a] { min-width:0; }
.box-layout.embedded[b-8bcd62j89a] { grid-template-columns:minmax(0,1fr); }
.box-toolbar[b-8bcd62j89a] { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin:12px 0; }
.box-document[b-8bcd62j89a] { border:0; background:none; color:var(--ames-tx-blue-300); cursor:pointer; padding:0; text-align:left; }
.box-layout[b-8bcd62j89a]  .rz-cell-data { white-space:normal!important; overflow-wrap:anywhere; }
@media(max-width:1000px) { .box-layout[b-8bcd62j89a] { grid-template-columns:1fr; } }
/* /Components/Pages/Portal/DeliveryCases.razor.rz.scp.css */
.case-toolbar[b-ovkc9s5xfc] { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding:12px 0; }
.case-context[b-ovkc9s5xfc] { justify-content:space-between; border-bottom:1px solid var(--ames-bd-white-a12); }
.case-context strong[b-ovkc9s5xfc] { margin-left:8px; }
.case-section-header[b-ovkc9s5xfc] { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.case-box-actions[b-ovkc9s5xfc] { padding:12px 16px; }
.ames-card[b-ovkc9s5xfc] { min-width:0; margin-bottom:16px; }
.case-cards[b-ovkc9s5xfc] { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,180px)); gap:14px; padding:16px; }
.case-cards:empty[b-ovkc9s5xfc] { display:none; }
.case-tile[b-ovkc9s5xfc] { aspect-ratio:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:12px; border:1px solid var(--ames-bd-white-a12); border-radius:4px; background:var(--ames-sf-0d1b2e); color:var(--ames-tx-white); cursor:pointer; font:inherit; overflow-wrap:anywhere; }
.case-tile:hover[b-ovkc9s5xfc],.case-tile.active[b-ovkc9s5xfc] { border-color:var(--ames-tx-blue-400); background:var(--ames-sf-0f172a); }
.case-tile:focus-visible[b-ovkc9s5xfc] { outline:2px solid var(--ames-tx-blue-400); outline-offset:2px; }
.case-tile[b-ovkc9s5xfc]  .rzi { font-size:34px; color:var(--ames-tx-blue-400); }
.case-tile span[b-ovkc9s5xfc] { color:var(--ames-tx-slate-400); }
.case-choice[b-ovkc9s5xfc] { min-width:0; display:flex; flex-direction:column; gap:8px; }
.case-choice .case-tile[b-ovkc9s5xfc] { width:100%; min-height:180px; aspect-ratio:auto; flex:1; gap:8px; }
.case-choice label[b-ovkc9s5xfc] { display:flex; align-items:center; gap:8px; }
summary.ames-card-h[b-ovkc9s5xfc] { cursor:pointer; }
.case-po-scroll[b-ovkc9s5xfc] { overflow-x:auto; }
.case-po-row[b-ovkc9s5xfc] { cursor:pointer; }
.case-po-row:hover[b-ovkc9s5xfc] { background:var(--ames-sf-0f172a); }
.case-po-row > td:first-child[b-ovkc9s5xfc] { width:36px; }
.case-expand[b-ovkc9s5xfc] { border:0; background:transparent; color:inherit; cursor:pointer; font-size:18px; padding:6px; }
.case-po-content > td[b-ovkc9s5xfc] { padding:16px; background:var(--ames-sf-0d1b2e); }
.case-create-footer[b-ovkc9s5xfc] { justify-content:flex-end; position:sticky; bottom:0; padding:14px 16px; background:var(--ames-sf-0d1b2e); border-top:1px solid var(--ames-bd-white-a12); z-index:2; }
.case-detail[b-ovkc9s5xfc] { padding:0 16px 16px; border-top:1px solid var(--ames-bd-white-a12); }
.case-empty[b-ovkc9s5xfc] { padding:16px; }
.case-table-scroll[b-ovkc9s5xfc] { overflow:auto; max-height:460px; }
.case-table-scroll td[b-ovkc9s5xfc] { overflow-wrap:anywhere; }
.case-table-scroll input:not([type="checkbox"])[b-ovkc9s5xfc] { max-width:100%; min-width:100px; }
.case-quantity-editor[b-ovkc9s5xfc] { width:140px; max-width:100%; }
.case-quantity-editor input.ames-input[b-ovkc9s5xfc] { min-width:80px; width:110px; text-align:center; font-size:18px; font-weight:600; border-radius:3px; }
.case-quantity-editor input[aria-invalid="true"][b-ovkc9s5xfc] { border-color:#f87171; }
.case-input-message[b-ovkc9s5xfc] { max-width:260px; margin-top:6px; color:var(--ames-tx-slate-400); font-size:12px; }
.case-quantity-editor input:disabled[b-ovkc9s5xfc] { opacity:.55; cursor:not-allowed; }
.case-table-scroll th[b-ovkc9s5xfc] { position:sticky; top:0; background:var(--ames-sf-0d1b2e); }
.case-allocation[b-ovkc9s5xfc] { margin-top:4px; font-size:.8rem; white-space:normal; overflow-wrap:anywhere; }
.case-part-unavailable[b-ovkc9s5xfc] { color:var(--ames-tx-slate-400); background:var(--ames-sf-0f172a); }
.case-part-unavailable input:disabled[b-ovkc9s5xfc] { opacity:.45; cursor:not-allowed; }
.case-packing-editor[b-ovkc9s5xfc] { display:grid; gap:6px; margin-top:6px; min-width:105px; }
.case-packing-editor input[b-ovkc9s5xfc] { width:100%; min-width:0; }
/* /Components/Pages/Portal/DeliveryNote.razor.rz.scp.css */
.note-toolbar[b-acpcg4n63z] { display:flex; align-items:center; justify-content:space-between; gap:16px; max-width:210mm; margin:20px auto; padding:0 20px; }
.note-error[b-acpcg4n63z] { margin:30px; }
.note-actions[b-acpcg4n63z] { display:flex; gap:8px; flex-wrap:wrap; }
.note-help[b-acpcg4n63z] { max-width:210mm; margin:12px auto; padding:0 20px; }
.delivery-note[b-acpcg4n63z] { box-sizing:border-box; max-width:210mm; margin:20px auto; padding:15mm; background:white; color:#172333; font:14px/1.5 Arial,sans-serif; }
header[b-acpcg4n63z] { border-bottom:3px solid #172333; padding-bottom:14px; }
header strong[b-acpcg4n63z] { font-size:24px; }
h1[b-acpcg4n63z] { text-align:center; font-size:28px; letter-spacing:3px; margin:8px 0; }
header p[b-acpcg4n63z] { text-align:right; margin:0; }
dl[b-acpcg4n63z] { display:grid; grid-template-columns:210px 1fr; gap:8px 16px; margin:24px 0; }
dt[b-acpcg4n63z] { font-weight:bold; } dd[b-acpcg4n63z] { margin:0; overflow-wrap:anywhere; }
table[b-acpcg4n63z] { width:100%; border-collapse:collapse; font-size:13px; }
th[b-acpcg4n63z],td[b-acpcg4n63z] { border:1px solid #87919c; padding:9px; overflow-wrap:anywhere; }
th[b-acpcg4n63z] { background:#edf1f5; text-align:left; } .quantity[b-acpcg4n63z] { text-align:right; white-space:nowrap; }
.totals[b-acpcg4n63z] { text-align:right; font-weight:bold; }
.signatures[b-acpcg4n63z] { display:flex; justify-content:space-between; gap:12px; margin-top:40px; break-inside:avoid; }
footer[b-acpcg4n63z] { border-top:1px solid #87919c; margin-top:30px; padding-top:12px; font-size:11px; }
@media print {
    @page scm-delivery-note { size:A4; margin:12mm; }
    .delivery-note[b-acpcg4n63z] { page:scm-delivery-note; visibility:visible !important; }
    .delivery-note[b-acpcg4n63z]  * { visibility:visible !important; }
    .note-toolbar[b-acpcg4n63z],.note-error[b-acpcg4n63z],.note-help[b-acpcg4n63z] { display:none !important; }
    .delivery-note[b-acpcg4n63z] { margin:0; padding:0; max-width:none; font-size:12px; }
    thead[b-acpcg4n63z] { display:table-header-group; }
    tr[b-acpcg4n63z] { break-inside:avoid; }
    h1[b-acpcg4n63z] { font-size:24px; outline:none !important; }
}
@media screen and (max-width:650px) {
    .delivery-note[b-acpcg4n63z] { padding:18px; } dl[b-acpcg4n63z] { grid-template-columns:1fr; gap:4px; } dd[b-acpcg4n63z] { margin-bottom:8px; }
}

.note-barcode[b-acpcg4n63z] { width:100mm; max-width:100%; margin:18px auto; text-align:center; color:black; background:white; padding:3mm; }
.note-barcode[b-acpcg4n63z]  svg { width:100%; height:18mm; fill:black; display:block; }

th:nth-child(4)[b-acpcg4n63z],th:nth-child(5)[b-acpcg4n63z] { white-space:nowrap; }
.delivery-group[b-acpcg4n63z] { background:#f5f7fa; font-size:12px; }
/* /Components/Pages/Portal/PackingQuantities.razor.rz.scp.css */
.packing-toolbar[b-4bo98jtpj5] { display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; }
.packing-hint[b-4bo98jtpj5] { padding:12px 16px; font-size:.85rem; }
.ames-card[b-4bo98jtpj5]  .ames-rz-grid .rz-data-grid-data > table { table-layout:fixed !important; }
.ames-card[b-4bo98jtpj5]  .rz-cell-data { white-space:normal !important; overflow-wrap:anywhere; }
.ames-card[b-4bo98jtpj5]  .rz-data-cell { white-space:normal !important; }
/* 협력업체는 코드·이름을 한 줄로 */
.ames-card[b-4bo98jtpj5]  td.packing-nowrap, .ames-card[b-4bo98jtpj5]  td.packing-nowrap .rz-cell-data { white-space:nowrap !important; overflow-wrap:normal; }
.packing-create[b-4bo98jtpj5] { width:min(560px,95vw); }
.packing-create-body[b-4bo98jtpj5] { display:grid; gap:12px; padding:20px; }
.packing-issue[b-4bo98jtpj5] { color:var(--ames-warning, #b87316); font-size:.85rem; margin-top:4px; overflow-wrap:anywhere; }
/* /Components/Pages/Portal/Receipts.razor.rz.scp.css */
.receipt-card-header[b-s4zjj63a84] { display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; }
.receipt-card-header > span[b-s4zjj63a84] { white-space:nowrap; }
.receipt-hint[b-s4zjj63a84] { font-size:var(--ames-fs-hint); padding:0 0 6px; }
.receipt-totals[b-s4zjj63a84] { display:flex; flex-wrap:wrap; gap:8px; padding:4px 0 10px; font-size:var(--ames-fs-hint); }
.ames-modal.receipt-detail[b-s4zjj63a84] { max-width:min(1480px, 96vw); width:min(1480px, 96vw); min-width:0; box-sizing:border-box; }
.receipt-detail-grid[b-s4zjj63a84] { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:10px; margin:4px 0 12px; }
.receipt-tile[b-s4zjj63a84] { padding:8px 10px; border:1px solid rgba(148,163,184,.22); border-radius:6px; background:rgba(148,163,184,.06); }
.receipt-label[b-s4zjj63a84] { font-size:var(--ames-fs-hint,12px); color:var(--rz-text-secondary-color,var(--ames-tx-slate-400)); margin-bottom:3px; }
.receipt-value[b-s4zjj63a84] { font-weight:600; overflow-wrap:anywhere; }
.receipt-footer[b-s4zjj63a84] { display:flex; justify-content:flex-end; align-items:center; gap:12px; }
.receipt-detail[b-s4zjj63a84]  .rz-grid-table td.receipt-wrap, .receipt-detail[b-s4zjj63a84]  .rz-grid-table td.receipt-wrap .rz-cell-data { white-space:normal; overflow-wrap:anywhere; }
/* 줄바꿈은 유연 열(품목명)만 — 번호·코드 열은 너비를 내용에 맞춰 두고 한 줄로 */
.receipt-list[b-s4zjj63a84]  .rz-grid-table td.receipt-wrap, .receipt-list[b-s4zjj63a84]  .rz-grid-table td.receipt-wrap .rz-cell-data { white-space:normal; overflow-wrap:anywhere; }
.scm-discrepancies[b-s4zjj63a84] { width:min(1250px,96vw); max-width:96vw; max-height:90vh; display:flex; flex-direction:column; }
.scm-discrepancies .ames-modal-h[b-s4zjj63a84] { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.scm-discrepancy-content[b-s4zjj63a84] { padding:16px; overflow:auto; min-height:0; }
.scm-discrepancy-scroll[b-s4zjj63a84] { overflow:auto; }
.scm-discrepancy-scroll table[b-s4zjj63a84] { min-width:1000px; }
.scm-discrepancy-scroll td[b-s4zjj63a84] { white-space:normal; overflow-wrap:anywhere; }
.scm-shortage[b-s4zjj63a84] { color:var(--ames-tx-red-400); }
.scm-overage[b-s4zjj63a84] { color:var(--ames-tx-blue-400); }
.receipt-mismatch[b-s4zjj63a84],
.receipt-mismatch:disabled[b-s4zjj63a84] { border:0; background:transparent; box-shadow:none; padding:0; color:var(--ames-tx-red-400); opacity:1; font:inherit; font-weight:600; cursor:pointer; }
.receipt-mismatch:disabled[b-s4zjj63a84] { cursor:default; }
.receipt-mismatch:not(:disabled):hover[b-s4zjj63a84] { text-decoration:underline; }
.receipt-mismatch:focus-visible[b-s4zjj63a84] { outline:2px solid currentColor; outline-offset:3px; }
/* /Components/Pages/Pp/Mrp.razor.rz.scp.css */
/* PP-005 MRP — PP-003 과 같은 전체 높이 그리드 + 선택 체크박스, 부족/PR 행 강조, 상세·일괄 PR 모달. */

/* 선택 체크박스 — 테마 액센트 (부족·PR 미생성 행만 활성) */
[b-n43fb05014] .mrp-ck {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #2563eb;
}
[b-n43fb05014] .mrp-ck:disabled {
    cursor: not-allowed;
    opacity: .4;
}

.mrp-runbar[b-n43fb05014] { display: flex; align-items: center; gap: 12px; padding: 6px 0 10px; font-size: 12px; color: var(--ames-tx-blue-300); }

[b-n43fb05014] .mrp-prlink { color: var(--ames-tx-blue-300); text-decoration: none; border-bottom: 1px dashed rgba(147,197,253,.5); }
[b-n43fb05014] .mrp-prlink:hover { color: var(--ames-tx-blue-200); border-bottom-style: solid; }

[b-n43fb05014] .mrp-neg { color: var(--ames-tx-red-300); font-weight: 800; }
[b-n43fb05014] .mrp-pos { color: var(--ames-tx-green-300); font-weight: 700; }

[b-n43fb05014] tr.mrp-short .rz-data-cell,
[b-n43fb05014] tr.mrp-short td { background: rgba(220, 38, 38, .09) !important; }
[b-n43fb05014] tr.mrp-fixed .rz-data-cell,
[b-n43fb05014] tr.mrp-fixed td { background: rgba(37, 99, 235, .08) !important; }

/* 고정(Frozen) 셀은 반투명 강조색만 두면 가로 스크롤된 뒤 컬럼이 비친다 —
   app.css 의 불투명 고정 배경 위에 강조색을 겹친다 (범위 CSS 가 우선순위가 높아 여기서 다시 지정) */
[b-n43fb05014] tr.mrp-short td.rz-frozen-cell { background: linear-gradient(rgba(220, 38, 38, .09), rgba(220, 38, 38, .09)), var(--ames-frozen-bg) !important; }
[b-n43fb05014] tr.mrp-fixed td.rz-frozen-cell { background: linear-gradient(rgba(37, 99, 235, .08), rgba(37, 99, 235, .08)), var(--ames-frozen-bg) !important; }

.mrp-dgrid[b-n43fb05014] { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.mrp-dt[b-n43fb05014] { background: rgba(255,255,255,.04); border: 1px solid var(--ames-bd-white-a08); border-radius: 8px; padding: 8px 10px; }
.mrp-dl[b-n43fb05014] { font-size: calc(10px + var(--ames-fs-bump)); letter-spacing: .04em; text-transform: uppercase; color: var(--ames-tx-slate-400); margin-bottom: 4px; }
.mrp-dv[b-n43fb05014] { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.mrp-dv.neg[b-n43fb05014] { color: var(--ames-tx-red-300); }
.mrp-dv.pos[b-n43fb05014] { color: var(--ames-tx-green-300); }
.mrp-dsub[b-n43fb05014] { font-size: calc(11px + var(--ames-fs-bump)); color: var(--ames-tx-slate-400); margin: 4px 0 6px; }
.mrp-wochip[b-n43fb05014] { display: inline-block; margin: 0 6px 6px 0; padding: 2px 8px; border-radius: 6px; font-family: var(--ames-font-code); font-size: calc(11px + var(--ames-fs-bump));
              background: rgba(147,197,253,.12); color: var(--ames-tx-blue-300); border: 1px solid rgba(147,197,253,.3); }
.mrp-hint[b-n43fb05014] { margin-top: 8px; font-size: calc(11px + var(--ames-fs-bump)); font-weight: 600; }
.mrp-hint.neg[b-n43fb05014]  { color: var(--ames-tx-red-300); }
.mrp-hint.info[b-n43fb05014] { color: var(--ames-tx-blue-300); }

.mrp-bulk-list[b-n43fb05014] { max-height: 300px; overflow-y: auto; border: 1px solid var(--ames-bd-white-a08); border-radius: 8px; }
.mrp-bulk-item[b-n43fb05014] { display: flex; align-items: center; gap: 12px; padding: 6px 10px; font-size: 12px; border-bottom: 1px solid var(--ames-bd-white-a06); }
.mrp-bulk-item > :first-child[b-n43fb05014] { flex: 1; min-width: 0; }
.mrp-bulk-item:last-child[b-n43fb05014] { border-bottom: 0; }
.mrp-bulk-item.warn[b-n43fb05014] { background: rgba(217,119,6,.08); }
.mrp-bulk-item.bad[b-n43fb05014]  { background: rgba(220,38,38,.10); }
.mrp-bulk-head[b-n43fb05014] { font-size: calc(10px + var(--ames-fs-bump)); letter-spacing: .04em; text-transform: uppercase; color: var(--ames-tx-slate-400); background: rgba(255,255,255,.03); }
.mrp-bulk-qty[b-n43fb05014] { width: 150px; flex: none; text-align: right; display: inline-flex; justify-content: flex-end; align-items: center; gap: 6px; }
.mrp-bulk-foot[b-n43fb05014] { display: flex; justify-content: space-between; padding: 7px 10px 0; font-size: 12px; }
/* 상세 모달 — 진행 중 구매요청 열 */
.mrp-pr-col[b-n43fb05014] { width: 96px; flex: none; text-align: right; }
.mrp-pr-col.wide[b-n43fb05014] { width: 150px; }
.mrp-hint.warn[b-n43fb05014] { color: var(--ames-tx-amber-400); }
/* /Components/Pages/Pp/PlanConfirm.razor.rz.scp.css */
/* 라인 부하 바 */
.pc-bar[b-ddjb1ipmau] {
    height: 6px;
    width: 64px;
    background: rgba(255, 255, 255, .08);
    border-radius: 4px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}
.pc-bar i[b-ddjb1ipmau] {
    display: block;
    height: 100%;
    border-radius: 4px;
}

/* 선택 체크박스 — 테마 액센트 */
.pc-ck[b-ddjb1ipmau] {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #2563eb;
}
.pc-ck:disabled[b-ddjb1ipmau] {
    cursor: not-allowed;
    opacity: .4;
}
/* /Components/Pages/Pp/PurchaseReq.razor.rz.scp.css */
/* PP-006 구매요청 — PP-003/PP-005 와 같은 전체 높이 가상화 그리드 + 선택 체크박스, 실패/승인 행 강조, 상세·일괄 전송 모달. */

/* 선택 체크박스 — Draft/Failed 행만 활성 */
[b-jqzpuo833a] .pr-ck { width: 15px; height: 15px; cursor: pointer; accent-color: #2563eb; }
[b-jqzpuo833a] .pr-ck:disabled { cursor: not-allowed; opacity: .4; }

[b-jqzpuo833a] .pr-neg { color: var(--ames-tx-red-300); font-weight: 700; }
[b-jqzpuo833a] .pr-pos { color: var(--ames-tx-green-300); font-weight: 700; }
[b-jqzpuo833a] .pr-link { color: var(--ames-tx-blue-300); text-decoration: none; border-bottom: 1px dashed rgba(147,197,253,.5); }
[b-jqzpuo833a] .pr-link:hover { color: var(--ames-tx-blue-200); border-bottom-style: solid; }

[b-jqzpuo833a] tr.pr-failed .rz-data-cell,
[b-jqzpuo833a] tr.pr-failed td { background: rgba(220, 38, 38, .09) !important; }
[b-jqzpuo833a] tr.pr-approved .rz-data-cell,
[b-jqzpuo833a] tr.pr-approved td { background: rgba(34, 197, 94, .05) !important; }
/* 고정 셀은 반투명 강조색만 두면 가로 스크롤된 뒤 컬럼이 비친다 — app.css 의 불투명 고정 배경 위에 겹친다 */
[b-jqzpuo833a] tr.pr-failed td.rz-frozen-cell   { background: linear-gradient(rgba(220, 38, 38, .09), rgba(220, 38, 38, .09)), var(--ames-frozen-bg) !important; }
[b-jqzpuo833a] tr.pr-approved td.rz-frozen-cell { background: linear-gradient(rgba(34, 197, 94, .05), rgba(34, 197, 94, .05)), var(--ames-frozen-bg) !important; }

/* 상세 모달 */
.pr-dgrid[b-jqzpuo833a] { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.pr-dt[b-jqzpuo833a] { background: rgba(255,255,255,.04); border: 1px solid var(--ames-bd-white-a08); border-radius: 8px; padding: 8px 10px; min-width: 0; }
.pr-dl[b-jqzpuo833a] { font-size: calc(10px + var(--ames-fs-bump)); letter-spacing: .04em; text-transform: uppercase; color: var(--ames-tx-slate-400); margin-bottom: 4px; }
.pr-dv[b-jqzpuo833a] { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pr-drow[b-jqzpuo833a] { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.pr-dsub[b-jqzpuo833a] { font-size: calc(11px + var(--ames-fs-bump)); color: var(--ames-tx-slate-400); margin: 10px 0 6px; }
.pr-wochip[b-jqzpuo833a] { display: inline-block; padding: 2px 8px; border-radius: 6px; font-family: var(--ames-font-code); font-size: calc(11px + var(--ames-fs-bump));
             background: rgba(147,197,253,.12); color: var(--ames-tx-blue-300); border: 1px solid rgba(147,197,253,.3); }
.pr-log[b-jqzpuo833a] { border: 1px solid var(--ames-bd-white-a08); border-radius: 8px; padding: 6px 10px; max-height: 160px; overflow-y: auto; }
.pr-logline[b-jqzpuo833a] { font-family: var(--ames-font-code); font-size: calc(11px + var(--ames-fs-bump)); padding: 2px 0; }
.pr-act[b-jqzpuo833a] { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--ames-bd-white-a10); }
.pr-act .pr-dl[b-jqzpuo833a] { margin: 0; width: 130px; }

/* 일괄 전송 모달 */
.pr-list[b-jqzpuo833a] { max-height: 260px; overflow-y: auto; border: 1px solid var(--ames-bd-white-a08); border-radius: 8px; }
.pr-item[b-jqzpuo833a] { display: flex; justify-content: space-between; gap: 12px; padding: 6px 10px; font-size: 12px; border-bottom: 1px solid var(--ames-bd-white-a06); }
.pr-item:last-child[b-jqzpuo833a] { border-bottom: 0; }
/* /Components/Pages/Pp/SupplyPlanImport.razor.rz.scp.css */
/* 선택 체크박스 — 테마 액센트 */
.spi-ck[b-szt84tfxxe] {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #2563eb;
}
.spi-ck:disabled[b-szt84tfxxe] {
    cursor: not-allowed;
    opacity: .4;
}
/* /Components/Pages/Pp/WorkOrder.razor.rz.scp.css */
/* 진행률 바 */
.wo-bar[b-qb81wimhf7] {
    height: 6px;
    width: 72px;
    background: rgba(255, 255, 255, .08);
    border-radius: 4px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}
.wo-bar i[b-qb81wimhf7] {
    display: block;
    height: 100%;
    border-radius: 4px;
}

/* 라우팅 흐름 스텝 칩 */
.wo-step[b-qb81wimhf7] {
    padding: 4px 12px;
    border-radius: 5px;
    font-family: var(--ames-font-mono);
    font-size: calc(10px + var(--ames-fs-bump));
    font-weight: 700;
}
.wo-step.done[b-qb81wimhf7] { background: rgba(34, 197, 94, .18);  color: var(--ames-tx-green-400); }
.wo-step.cur[b-qb81wimhf7]  { background: #059669;                 color: #fff; }
.wo-step.todo[b-qb81wimhf7] { background: rgba(255, 255, 255, .06); color: var(--ames-tx-slate-500); }
/* /Components/Pages/Scm/PurchaseItems.razor.rz.scp.css */
.vendor-check-list[b-86h2a2mgiv] {
    height: 160px;
    overflow-y: auto;
    padding: 6px 10px;
    border: 1px solid var(--rz-base-700, #334155);
    border-radius: 6px;
    background: var(--rz-input-background-color, rgba(128, 128, 128, .08));
}

.vendor-check-item[b-86h2a2mgiv] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 29px;
    cursor: pointer;
    color: var(--rz-text-color, #d7e0eb);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    margin: 0;
}

.vendor-check-item input[b-86h2a2mgiv] {
    width: 19px;
    height: 19px;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--rz-primary, #32a5ff);
    cursor: pointer;
    color-scheme: dark;
}

.vendor-check-item:focus-within[b-86h2a2mgiv] {
    outline: 1px solid var(--rz-primary);
    outline-offset: 1px;
}

/* 모달 정보 타일 — ScmPreview·PP-006 상세와 같은 모양 */
.pi-dgrid[b-86h2a2mgiv] { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:10px; margin:4px 0 12px; }
.pi-dt[b-86h2a2mgiv] { padding:8px 10px; border:1px solid rgba(148,163,184,.22); border-radius:6px; background:rgba(148,163,184,.06); }
.pi-dl[b-86h2a2mgiv] { font-size:var(--ames-fs-hint, 12px); color:var(--rz-text-secondary-color, var(--ames-tx-slate-400)); margin-bottom:3px; }
.pi-dv[b-86h2a2mgiv] { font-weight:600; word-break:break-word; }
.pi-dsub[b-86h2a2mgiv] { font-weight:600; font-size:.92em; color:var(--rz-text-secondary-color, var(--ames-tx-slate-400)); }
/* /Components/Pages/Wh/PickingOrders.razor.rz.scp.css */
.auto-order-page[b-zmj37qsb13] {
    display: block;
}

.auto-order-page .wh-pick-list[b-zmj37qsb13] {
    min-height: 330px;
}

.auto-order-page > .ames-card + .ames-card[b-zmj37qsb13] {
    margin-top: 12px;
}

.slip-detail-card[b-zmj37qsb13] {
    margin-top: 12px;
}

.slip-detail-card .code[b-zmj37qsb13] {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.2;
}

.wh-slip-paper[b-zmj37qsb13] {
    overflow: hidden;
    box-sizing: border-box;
}

.wh-slip-paper .wh-slip-meta div[b-zmj37qsb13],
.wh-slip-barcode-box[b-zmj37qsb13],
.wh-slip-table th[b-zmj37qsb13],
.wh-slip-table td[b-zmj37qsb13] {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.wh-slip-table[b-zmj37qsb13] {
    max-width: 100%;
}

.wh-slip-table .slip-col-no[b-zmj37qsb13] { width: 4%; }
.wh-slip-table .slip-col-part[b-zmj37qsb13] { width: 15%; }
.wh-slip-table .slip-col-name[b-zmj37qsb13] { width: 22%; }
.wh-slip-table .slip-col-qty[b-zmj37qsb13] { width: 9%; }
.wh-slip-table .slip-col-lot[b-zmj37qsb13] { width: 20%; }
.wh-slip-table .slip-col-location[b-zmj37qsb13] { width: 18%; }
.wh-slip-table .slip-col-destination[b-zmj37qsb13] { width: 12%; }

.wh-slip-table th[b-zmj37qsb13],
.wh-slip-table td[b-zmj37qsb13] {
    max-width: 0;
    hyphens: none;
}

.wh-slip-table td.num[b-zmj37qsb13] {
    white-space: nowrap;
}

.pick-source[b-zmj37qsb13] {
    display: block;
    white-space: pre-line;
    overflow-wrap: anywhere;
    line-height: 1.4;
}

@media print {
    .auto-order-page[b-zmj37qsb13],
    .slip-detail-card[b-zmj37qsb13],
    .ames-page-header[b-zmj37qsb13],
    .rz-alert[b-zmj37qsb13] {
        display: none !important;
    }
}
/* /Components/Shared/BoxLabelSheet.razor.rz.scp.css */
.box-labels[b-aad41coh04] { width:210mm; max-width:none; margin:20px auto; color:#000; font-family:Arial,sans-serif; background:white; }
.label-page[b-aad41coh04] { box-sizing:border-box; width:210mm; min-height:267mm; padding:10mm 0 0; break-after:page; }
.label-page:last-child[b-aad41coh04] { break-after:auto; }
.label-pair[b-aad41coh04] { display:grid; grid-template-columns:1fr 1fr; break-inside:avoid; }
.box-label[b-aad41coh04] { box-sizing:border-box; height:82mm; padding:3mm 4mm 1mm; border:0.25mm dashed #333; background:white; color:black; overflow:hidden; }
.box-label *[b-aad41coh04] { box-sizing:border-box; }
.label-header[b-aad41coh04] { display:flex; justify-content:space-between; align-items:end; gap:2mm; border-bottom:0.25mm solid black; height:5mm; font-size:8pt; }
.label-header strong[b-aad41coh04] { font-size:8pt; overflow-wrap:anywhere; line-height:1; }
.label-header span[b-aad41coh04] { white-space:nowrap; }
.box-barcode[b-aad41coh04] { height:19mm; padding:1.5mm 8mm 0; text-align:center; border-bottom:0.25mm solid black; }
.box-barcode[b-aad41coh04]  svg { display:block; width:100%; height:13mm!important; fill:black; }
.box-barcode strong[b-aad41coh04] { display:block; font-size:8pt; line-height:3.5mm; }
.part-row[b-aad41coh04] { display:flex; align-items:center; gap:1mm; height:11mm; }
.box-label small[b-aad41coh04] { font-size:6pt; font-weight:normal; white-space:nowrap; }
.part-value[b-aad41coh04] { font-size:18pt; line-height:1; overflow-wrap:anywhere; }
.desc-row[b-aad41coh04] { display:flex; align-items:center; gap:2mm; height:7mm; border-bottom:0.25mm solid black; }
.desc-row strong[b-aad41coh04] { font-size:9pt; line-height:1.05; overflow-wrap:anywhere; }
.label-details[b-aad41coh04] { display:grid; grid-template-columns:58% 42%; grid-template-rows:8mm 10mm 7mm; }
.label-details > div[b-aad41coh04] { display:flex; align-items:center; gap:1mm; min-width:0; }
.fifo strong[b-aad41coh04] { font-size:14pt; }
.delivery-number[b-aad41coh04] { border-left:0.25mm solid black; border-bottom:0.25mm solid black; padding-left:1.5mm; font-size:9pt; font-weight:bold; overflow-wrap:anywhere; }
.quantity strong[b-aad41coh04] { font-size:20pt; line-height:1; }
.quantity b[b-aad41coh04] { font-size:10pt; margin-left:auto; padding-right:2mm; }
.box-count[b-aad41coh04] { border-left:0.25mm solid black; padding-left:1.5mm; }
.box-count strong[b-aad41coh04] { font-size:16pt; }
.destination strong[b-aad41coh04],.lot strong[b-aad41coh04] { font-size:9pt; line-height:1.05; overflow-wrap:anywhere; }
.lot[b-aad41coh04] { border-left:0.25mm solid black; padding-left:1.5mm; }
.part-barcode[b-aad41coh04] { display:flex; align-items:center; gap:1mm; height:9mm; border-top:0.25mm solid black; border-bottom:0.25mm solid black; padding:0.6mm 8mm 0.6mm 1mm; }
.part-barcode[b-aad41coh04]  svg { display:block; flex:1; min-width:0; width:100%; height:7mm!important; fill:black; }
.box-label footer[b-aad41coh04] { display:flex; justify-content:space-between; font-size:7pt; line-height:3mm; }
@media print {
    @page scm-box-labels { size:Letter portrait; margin:5mm 3mm; }
    .box-labels[b-aad41coh04] { page:scm-box-labels; visibility:visible!important; width:210mm!important; margin:0!important; padding:0!important; }
    .box-labels[b-aad41coh04]  * { visibility:visible!important; }
    .label-page[b-aad41coh04] { width:210mm; height:267mm; min-height:0; }
}

.part-value.compact[b-aad41coh04] { font-size:14pt; }
.desc-row.compact strong[b-aad41coh04] { font-size:6pt; }
.lot.compact strong[b-aad41coh04] { font-size:7pt; }
/* /Components/Shared/ScmPreview.razor.rz.scp.css */
/* SCM·포탈 공용 화면 — 목록·모달은 표준 클래스(ames-card·ames-rz-grid·ames-modal)를 쓰고, 상세 모달 안의 정보 타일·품목 표만 여기서 정한다(PP-006 상세와 같은 모양). */
.scm-dgrid[b-pks9oyoj1d] { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:10px; margin:4px 0 12px; }
.scm-dt[b-pks9oyoj1d] { padding:8px 10px; border:1px solid rgba(148,163,184,.22); border-radius:6px; background:rgba(148,163,184,.06); }
.scm-dl[b-pks9oyoj1d] { font-size:var(--ames-fs-hint, 12px); color:var(--rz-text-secondary-color, var(--ames-tx-slate-400)); margin-bottom:3px; white-space:nowrap; }
.scm-dv[b-pks9oyoj1d] { font-weight:600; word-break:break-word; }
.scm-dsub[b-pks9oyoj1d] { margin:14px 0 6px; font-weight:600; font-size:.92em; color:var(--rz-text-secondary-color, var(--ames-tx-slate-400)); }
.scm-scroll[b-pks9oyoj1d] { overflow-x:auto; }
.scm-scroll .num[b-pks9oyoj1d], .scm-scroll th.num[b-pks9oyoj1d] { text-align:right; white-space:nowrap; }
.scm-log[b-pks9oyoj1d] { line-height:1.9; font-size:.92em; }
.scm-act[b-pks9oyoj1d] { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.scm-creation-actions[b-pks9oyoj1d] { display:flex; flex-wrap:nowrap; align-items:center; gap:10px; margin:0 0 12px; overflow-x:auto; }
.scm-creation-actions[b-pks9oyoj1d]  button { flex-shrink:0; white-space:nowrap; }
.scm-line-toolbar[b-pks9oyoj1d] { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.scm-lines[b-pks9oyoj1d] { width:100%; }
.scm-lines td:nth-child(2)[b-pks9oyoj1d] { min-width:240px; }
.scm-lines td[b-pks9oyoj1d] { vertical-align:middle; }
.scm-lines .dim[b-pks9oyoj1d] { white-space:normal; max-width:390px; padding-top:4px; }
.scm-total[b-pks9oyoj1d] { display:flex; justify-content:flex-end; align-items:center; gap:20px; padding:10px 4px 0; font-size:15px; }

.scm-act[b-pks9oyoj1d] { margin:12px 0; }
.scm-act label[b-pks9oyoj1d] { display:flex; align-items:center; gap:8px; }
.scm-number[b-pks9oyoj1d] { width:100%; min-width:100px; min-height:32px; padding:6px 10px; }

/* Keep the purchase editor within the viewport without clipping editable columns. */
.ames-modal.scm-editor[b-pks9oyoj1d] { max-width:1200px; min-width:0; box-sizing:border-box; }
.ames-modal.scm-order-detail[b-pks9oyoj1d] { max-width:1200px; min-width:0; box-sizing:border-box; }
.scm-order-detail > .scm-scroll[b-pks9oyoj1d] { flex-shrink:0; }
.scm-order-detail .ames-table[b-pks9oyoj1d] { width:100%; table-layout:fixed; }
.scm-order-detail .ames-table th[b-pks9oyoj1d],
.scm-order-detail .ames-table td[b-pks9oyoj1d] { min-width:0; white-space:normal; overflow-wrap:anywhere; }
.scm-order-detail .ames-table:not(.scm-lines) th:nth-child(1)[b-pks9oyoj1d] { width:14%; }
.scm-order-detail .ames-table:not(.scm-lines) th:nth-child(2)[b-pks9oyoj1d] { width:26%; }
.scm-order-detail .ames-table:not(.scm-lines) th:nth-child(3)[b-pks9oyoj1d] { width:6%; }
/* 수량은 단위 자릿수(UomQty)로 길어진다 — 숫자는 끊지 않고 품명이 줄바꿈해 폭을 내준다 */
.scm-order-detail .ames-table:not(.scm-lines)[b-pks9oyoj1d] { table-layout:auto; }
.scm-order-detail .ames-table:not(.scm-lines) .num[b-pks9oyoj1d] { white-space:nowrap; overflow-wrap:normal; }
.scm-order-detail .scm-number[b-pks9oyoj1d] { min-width:0; padding:6px 4px; }
.scm-editor .scm-lines[b-pks9oyoj1d] { table-layout:fixed; }
.scm-editor .scm-lines th:nth-child(1)[b-pks9oyoj1d] { width:4%; }
.scm-editor .scm-lines th:nth-child(2)[b-pks9oyoj1d] { width:40%; }
.scm-editor .scm-lines th:nth-child(3)[b-pks9oyoj1d] { width:6%; }
.scm-editor .scm-lines th:nth-child(4)[b-pks9oyoj1d],
.scm-editor .scm-lines th:nth-child(5)[b-pks9oyoj1d] { width:15%; }
.scm-editor .scm-lines th:nth-child(6)[b-pks9oyoj1d] { width:15%; }
.scm-editor .scm-lines th:nth-child(7)[b-pks9oyoj1d] { width:5%; }
.scm-editor .scm-lines td[b-pks9oyoj1d] { min-width:0; overflow-wrap:anywhere; }
.scm-editor .scm-lines th[b-pks9oyoj1d] { white-space:normal; }
.scm-editor .scm-lines .num[b-pks9oyoj1d] { white-space:normal; overflow-wrap:anywhere; }
.scm-editor .scm-lines .dim[b-pks9oyoj1d] { max-width:none; overflow-wrap:anywhere; }
.scm-editor .scm-lines[b-pks9oyoj1d]  .rz-dropdown,
.scm-editor .scm-lines[b-pks9oyoj1d]  .rz-numeric { width:100% !important; min-width:0; max-width:100%; }
.scm-editor .scm-lines[b-pks9oyoj1d]  .rz-dropdown-label { min-width:0; overflow:hidden; text-overflow:ellipsis; }
.scm-editor .scm-lines[b-pks9oyoj1d]  .rz-numeric-input { min-width:0; width:100%; }
@media(max-width:700px) {
    .ames-modal.scm-editor[b-pks9oyoj1d] { padding:16px; }
    .scm-editor .scm-lines thead[b-pks9oyoj1d] { display:none; }
    .scm-editor .scm-lines tbody[b-pks9oyoj1d] { display:block; }
    .scm-editor .scm-lines tr[b-pks9oyoj1d] { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); margin-bottom:16px; }
    .scm-editor .scm-lines td:nth-child(2)[b-pks9oyoj1d] { grid-column:1 / -1; }
    .scm-editor .scm-lines td:nth-child(1)[b-pks9oyoj1d] { grid-column:1 / -1; }
    .scm-editor .scm-lines td:nth-child(4)[b-pks9oyoj1d]::before { content:"수량 / Qty"; display:block; }
    .scm-editor .scm-lines td:nth-child(5)[b-pks9oyoj1d]::before { content:"단가 / Price"; display:block; }
    .scm-editor .scm-lines td:nth-child(6)[b-pks9oyoj1d]::before { content:"금액 / Amount"; display:block; }
}



/* Delivery editor has its own column sizing; do not inherit purchase-order proportions. */
.ames-modal.scm-delivery-detail[b-pks9oyoj1d] { width:calc(100vw - 48px); max-width:1200px; min-width:0; box-sizing:border-box; }
.scm-delivery-detail .scm-scroll[b-pks9oyoj1d] { flex-shrink:0; }
.scm-delivery-detail .ames-table[b-pks9oyoj1d] { width:100%; table-layout:auto; }
.scm-delivery-detail .ames-table th[b-pks9oyoj1d] { white-space:normal; }
.scm-delivery-detail .ames-table td[b-pks9oyoj1d] { white-space:normal; overflow-wrap:anywhere; }
.scm-delivery-detail .scm-lines td:nth-child(2)[b-pks9oyoj1d] { min-width:50px; }
.scm-delivery-detail td[data-field="item"][b-pks9oyoj1d] { min-width:140px; }
.scm-delivery-detail td[data-field="quantity"][b-pks9oyoj1d] { min-width:130px; }
.scm-delivery-detail td[data-field="lot"][b-pks9oyoj1d] { min-width:190px; }
.scm-delivery-detail td[data-field="production-date"][b-pks9oyoj1d] { min-width:175px; }
.scm-delivery-detail input.ames-input[b-pks9oyoj1d] { width:100%; box-sizing:border-box; }
.scm-delivery-detail[b-pks9oyoj1d]  .rz-numeric,
.scm-delivery-detail[b-pks9oyoj1d]  .rz-datepicker { width:100%; min-width:0; }
.scm-delivery-detail[b-pks9oyoj1d]  .rz-numeric-input { width:100%; min-width:0; }
@media(max-width:1150px) {
    .ames-modal.scm-delivery-detail[b-pks9oyoj1d] { padding:20px; }
    .scm-delivery-detail .ames-table thead[b-pks9oyoj1d] { display:none; }
    .scm-delivery-detail .ames-table tbody[b-pks9oyoj1d] { display:block; }
    .scm-delivery-detail .ames-table tr[b-pks9oyoj1d] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:12px 0; }
    .scm-delivery-detail .ames-table td[b-pks9oyoj1d] { display:block; min-width:0; padding:6px; }
    .scm-delivery-detail .ames-table td[b-pks9oyoj1d]::before { content:attr(data-label); display:block; margin-bottom:6px; font-size:12px; color:var(--rz-text-secondary-color,var(--ames-tx-slate-400)); }
}
@media(max-width:480px) {
    .scm-delivery-detail .ames-table tr[b-pks9oyoj1d] { grid-template-columns:minmax(0,1fr); }
}
