/* Narrow readability corrections; original UX palette and components stay authoritative. */
[data-panel="inventory"] .inventory-compact-summary{flex-wrap:wrap;gap:8px 0}
[data-panel="inventory"] .inventory-summary-fact strong{font-size:15px;line-height:1.5}
[data-panel="inventory"] .inventory-summary-fact{max-width:380px;align-items:baseline}
[data-panel="inventory"] .business-inventory-table{min-width:1080px;table-layout:fixed}
[data-panel="inventory"] .business-inventory-table th:nth-child(1){width:10%}
[data-panel="inventory"] .business-inventory-table th:nth-child(2){width:24%}
[data-panel="inventory"] .business-inventory-table th:nth-child(3){width:18%}
[data-panel="inventory"] .business-inventory-table th:nth-child(4){width:10%}
[data-panel="inventory"] .business-inventory-table th:nth-child(5){width:16%}
[data-panel="inventory"] .business-inventory-table th:nth-child(6){width:14%}
[data-panel="inventory"] .business-inventory-table th:nth-child(7){width:8%}
[data-panel="inventory"] .business-inventory-table td{overflow-wrap:anywhere}
[data-panel="inventory"] .business-inventory-table .row-action{white-space:nowrap}
[data-panel="inventory"] .business-inventory-table .cell-secondary{display:block}
#material-workbench{margin-top:18px;scroll-margin-top:90px}
.material-demand-table{min-width:1100px}
.material-demand-table th{white-space:nowrap}
.material-demand-table td{vertical-align:top;max-width:300px;overflow-wrap:anywhere}
.material-demand-table .row-action{white-space:nowrap}
.material-demand-table .cell-secondary{display:block;margin-top:4px}
#material-preview-dialog{padding:24px}
#material-source-identity{overflow-wrap:anywhere}
#material-preview-events{max-height:55vh;overflow:auto}
#material-preview-dialog,#material-line-dialog{max-width:1100px;width:calc(100% - 40px)}
#material-line-form select{max-width:100%}
/* Delivery correction: scopes and provenance, without changing original navigation or palette. */
#internal-test-banner{position:static;max-width:none;width:100%;z-index:auto;border:1px solid var(--line,#ddd);background:#fff;color:var(--text,#262626);padding:9px 12px;margin:0 0 20px;display:flex;gap:16px;flex-wrap:wrap;font-size:12px;line-height:1.6;font-family:inherit;pointer-events:auto}
#internal-test-banner strong{white-space:nowrap}
.presentation-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}
.presentation-event-card{padding-bottom:20px}
.presentation-event-card>.primary-button{margin:0 20px}
.presentation-event-card>.data-boundary-note{margin:0 20px 10px;font-size:13px}
.presentation-event-card .breadcrumb{margin:0 0 8px}
.presentation-event-stats{display:grid;grid-template-columns:1fr auto;gap:10px 16px;margin:18px 20px}
.presentation-event-stats dt{color:var(--muted,#737373);font-size:13px}
.presentation-event-stats dd{margin:0;font-size:15px;font-weight:600}
.presentation-test-records{padding:16px 20px;margin-top:20px}
.presentation-test-records>summary{cursor:pointer;font-weight:600}
.presentation-test-records .data-boundary-note{margin:12px 0}
.presentation-test-records .record-row{gap:16px}
.presentation-scope-bar{margin:14px 0;align-items:end}
.presentation-scope-bar label{display:grid;gap:5px;min-width:230px}
.presentation-unit-details{border:1px solid var(--line,#ddd);border-radius:5px;padding:10px 12px;margin:12px 0 16px;background:#fff}
.presentation-unit-details>summary{cursor:pointer;font-size:13px;font-weight:500}
.presentation-unit-details table{margin-top:12px;width:100%;font-size:13px}
[data-panel="inventory"] .business-inventory-table{min-width:950px}
[data-panel="inventory"] .business-inventory-table th:nth-child(1){width:14%}
[data-panel="inventory"] .business-inventory-table th:nth-child(2){width:28%}
[data-panel="inventory"] .business-inventory-table th:nth-child(3){width:16%}
[data-panel="inventory"] .business-inventory-table th:nth-child(4){width:10%}
[data-panel="inventory"] .business-inventory-table th:nth-child(5){width:12%}
[data-panel="inventory"] .business-inventory-table th:nth-child(6){width:12%}
[data-panel="inventory"] .business-inventory-table th:nth-child(7){width:8%}
[data-panel="inventory"] .business-inventory-table td{font-size:14px;padding:14px 16px}
[data-panel="inventory"] .business-inventory-table .status-pill{font-size:11px;white-space:normal;line-height:1.5}
@media(max-width:1000px){.presentation-source-grid{grid-template-columns:1fr}}
.presentation-scope-bar>.presentation-unit-details{flex:1;min-width:260px;margin:0;align-self:end}
.presentation-scope-bar>.presentation-unit-details[open]{flex-basis:100%}
#presentation-inventory-scope-note{margin:8px 0 12px}
[data-panel="inventory"] .business-inventory-table td{padding-top:10px;padding-bottom:10px}
/* Restore compact project operations; keep the original logo, typography and components. */
.main-content::before{opacity:.008;pointer-events:none}
.view .surface{background:#fff}
.main-content{padding-bottom:110px}
#business-lifecycle-layout{display:flex;flex-direction:column;gap:16px;margin:16px 0}
#business-lifecycle-layout>.business-stage{width:100%;min-width:0}
#business-lifecycle-layout a.business-project-row{color:inherit;text-decoration:none;cursor:pointer}
#business-lifecycle-layout a.business-project-row:hover{background:#fafafa}
#business-lifecycle-layout a.business-project-row:focus-visible{outline:2px solid #333;outline-offset:-2px}
#business-lifecycle-layout .empty-state{padding:18px 20px;font-size:13px;text-align:left}
.business-project-row{display:flex;align-items:center;gap:20px;padding:15px 20px}
.business-project-copy{flex:1;min-width:130px;display:grid;gap:5px}
.business-project-copy strong{font-size:14px}
.business-project-copy small,.business-project-state small{font-size:12px;color:var(--muted,#737373)}
.business-project-state{min-width:120px;display:grid;gap:5px}
.business-project-row .button-row{gap:12px;flex-shrink:0}
.business-project-row .row-action{white-space:nowrap}
.business-unconfirmed{margin:16px 0}
#presentation-project-cards{border:1px solid var(--line,#ddd);border-radius:5px;background:#fff;margin:16px 0}
#presentation-project-cards .business-project-row+.business-project-row{border-top:1px solid var(--line,#ddd)}
#presentation-project-cards:empty{display:none}
[data-panel="inventory"] .presentation-unit-details{padding:0;border:0;background:transparent;margin:8px 0 14px;font-size:12px}
[data-panel="inventory"] .presentation-unit-details>summary{color:var(--muted,#737373);font-size:12px;font-weight:400}
[data-panel="inventory"] .inventory-compact-summary{margin-bottom:5px}
[data-panel="inventory"] .business-inventory-table th:nth-child(2){width:30%}
[data-panel="inventory"] .business-inventory-table th:nth-child(3){width:14%}
.business-document-project #project-workflow,.business-document-project .project-workflow-surface,.business-document-project #project-summary,.business-document-project #project-availability-note,.business-document-project .project-detail-grid>section:first-child{display:none!important}
.business-document-project .project-detail-grid{display:block}
.business-document-project #material-workbench{margin-top:18px;scroll-margin-top:90px}
.business-environment-info{margin-top:20px;padding:14px}
.business-environment-info>summary{cursor:pointer}
.business-environment-info #internal-test-banner{margin:12px 0 0}
@media(max-width:1000px){#business-lifecycle-layout{grid-template-columns:1fr}.business-project-row{flex-wrap:wrap;gap:12px}.business-project-copy{min-width:180px}}

/* Approved minimal dashboard only; retain the existing compact typography and shell. */
[data-panel="dashboard"] #business-lifecycle-layout>.business-stage{
 background:#fff;
 border:1px solid #E2E2E2;
 border-radius:6px;
 box-shadow:none;
 overflow:hidden;
}
[data-panel="dashboard"] .business-stage>.section-head{
 background:#F7F7F7;
 border-bottom:1px solid #E2E2E2;
}
[data-panel="dashboard"] #business-lifecycle-layout .business-project-row .row-action{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 flex-shrink:0;
 min-width:60px;
 min-height:32px;
 padding:6px 14px;
 border:0;
 border-radius:6px;
 background:#42464B;
 color:#fff;
 font-size:12px;
 font-weight:500;
 line-height:1.4;
}
[data-panel="dashboard"] #business-lifecycle-layout .business-project-row:hover .row-action{background:#34383D}
[data-panel="dashboard"] #business-lifecycle-layout .empty-state{
 display:flex;
 align-items:center;
 justify-content:center;
 min-height:72px;
 padding:24px 20px;
 text-align:center;
}

/* Inventory and project components follow the approved dashboard; no shell/dashboard overrides. */
.view.warehouse-compact-view{--ui-action:#42464B;--ui-action-hover:#34383D;--ui-line:#E2E2E2;--ui-head:#F7F7F7}
.view.warehouse-compact-view>.page-head{display:flex;align-items:center;min-height:44px;margin-bottom:18px}
.view.warehouse-compact-view>.page-head>div:first-child{min-width:0;width:auto;flex:1 1 auto}
.view.warehouse-compact-view>.page-head h1{margin:0;font-size:28px;line-height:1.3}
.view.warehouse-compact-view>.page-head p:not(#project-detail-dates):not(#inventory-detail-meta){display:none}
.view.warehouse-compact-view :is(#project-detail-dates,#inventory-detail-meta){margin:6px 0 0;font-size:13px;color:#616161}
.view.warehouse-compact-view :is(.primary-button,.secondary-button,.row-action,.inventory-primary-actions>button){min-height:32px;border-radius:6px;padding:6px 12px;font-size:12px;line-height:1.4;white-space:nowrap;box-shadow:none}
.view.warehouse-compact-view :is(.primary-button,.inventory-primary-actions>button,.business-inventory-table .row-action){background:var(--ui-action);color:#fff;border:1px solid var(--ui-action)}
.view.warehouse-compact-view :is(.primary-button,.inventory-primary-actions>button,.business-inventory-table .row-action):hover{background:var(--ui-action-hover);border-color:var(--ui-action-hover)}
.view.warehouse-compact-view .secondary-button{border:1px solid var(--ui-line)}
.view.warehouse-compact-view :is(button,input,select,summary):focus-visible{outline:2px solid var(--ui-action);outline-offset:2px;box-shadow:none}
.view.warehouse-compact-view :is(input,select){min-height:36px;height:36px;border-radius:6px;font-size:13px}
.view.warehouse-compact-view .surface{border-color:var(--ui-line);border-radius:6px;background:#fff;box-shadow:none}
.view.warehouse-compact-view .section-head{background:var(--ui-head);border-bottom:1px solid var(--ui-line)}
.view.warehouse-compact-view .section-head h2{font-size:14px}
.view[data-panel="inventory"] .inventory-compact-summary{margin:0 0 8px;padding:8px 0;border-color:var(--ui-line);gap:8px 0}
.view[data-panel="inventory"] .inventory-summary-fact{gap:7px;padding:0 16px}
.view[data-panel="inventory"] .inventory-summary-fact:first-child{padding-left:0}
.view[data-panel="inventory"] .inventory-summary-fact strong{font-size:14px}
.view[data-panel="inventory"] .inventory-summary-fact span{font-size:12px}
.view[data-panel="inventory"] .presentation-unit-details{margin:0 0 14px}
.view[data-panel="inventory"] .inventory-command-bar{padding:8px 10px;gap:10px;border-color:var(--ui-line);background:var(--ui-head)}
.view[data-panel="inventory"] .inventory-command-bar .button-row{gap:8px}
.view[data-panel="inventory"] .phase-a-filters{display:grid;grid-template-columns:minmax(220px,1fr) 170px 170px auto auto;gap:8px;align-items:center}
.view[data-panel="inventory"] .phase-a-filters>.table-search{min-width:0;max-width:none;width:100%;margin:0}
.view[data-panel="inventory"] .phase-a-filters>.table-search input{background:#fff;border:1px solid var(--ui-line);font-size:13px;font-weight:400}
.view[data-panel="inventory"] .phase-a-filters>select{width:100%;min-width:0;padding:6px 10px}
.view[data-panel="inventory"] .phase-a-filters>.table-search{order:0}
.view[data-panel="inventory"] #inventory-category-filter{order:1}
.view[data-panel="inventory"] #inventory-location-filter{order:2}
.view[data-panel="inventory"] .phase-a-filters>.advanced-filters{order:3}
.view[data-panel="inventory"] .phase-a-filters>.refresh{order:4}
.view[data-panel="inventory"] .phase-a-filters>:is(.advanced-filters,.refresh){grid-row:auto}
.view[data-panel="inventory"] .advanced-filters>summary{min-height:36px;border-color:var(--ui-line);border-radius:6px;font-size:12px}
.view[data-panel="inventory"] .advanced-filters>div{border-color:var(--ui-line);box-shadow:none}
.view[data-panel="inventory"] .inventory-result-bar{margin:8px 0;color:#616161;font-size:12px}
.view[data-panel="inventory"] .business-inventory-table{min-width:820px;width:100%;table-layout:fixed}
.view[data-panel="inventory"] .business-inventory-table th{height:38px;padding:9px 16px;background:var(--ui-head);font-size:12px;white-space:nowrap}
.view[data-panel="inventory"] .business-inventory-table td{padding:12px 16px;font-size:13px;vertical-align:middle}
.view[data-panel="inventory"] .business-inventory-table th:nth-child(1){width:13%}
.view[data-panel="inventory"] .business-inventory-table th:nth-child(2){width:27%}
.view[data-panel="inventory"] .business-inventory-table th:nth-child(3){width:18%}
.view[data-panel="inventory"] .business-inventory-table :is(th,td):nth-child(n+4):nth-child(-n+6){width:10%;text-align:right;font-variant-numeric:tabular-nums}
.view[data-panel="inventory"] .business-inventory-table th:last-child{width:12%}
.view[data-panel="inventory"] .business-inventory-table .item-detail-button{font-size:14px;font-weight:600;line-height:1.5}
.view[data-panel="inventory"] .business-inventory-table .cell-secondary{font-size:12px;line-height:1.5}
.view[data-panel="inventory"] .business-inventory-table .status-pill{font-size:11px}
.view[data-panel="inventory"] .business-inventory-table td:nth-child(n+4):nth-child(-n+6) .cell-secondary{display:inline;margin-left:4px;font-size:12px}
.view[data-panel="inventory"] .business-inventory-table .row-action{padding:6px 10px}
.view[data-panel="inventory"] .business-inventory-table tbody tr:hover{background:#FAFAFA}
.view[data-panel="inventory"] .empty-state{text-align:center;color:#616161;font-size:13px}
@media(max-width:1100px){
 .view[data-panel="inventory"] .phase-a-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto}
 .view[data-panel="inventory"] .phase-a-filters>.table-search{grid-column:1/-1}
}
@media(max-width:700px){
 .view[data-panel="inventory"]>.page-head{gap:12px;flex-direction:row;align-items:center}
 .view[data-panel="inventory"] .inventory-command-bar{display:flex;flex-wrap:wrap}
 .view[data-panel="inventory"] .phase-a-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
 .view[data-panel="inventory"] .phase-a-filters>.refresh{justify-self:end}
 .view[data-panel="inventory"] .inventory-summary-fact{padding:0 12px}
 .view[data-panel="inventory"] .inventory-summary-fact:nth-child(3){padding-left:0;border-left:0}
 .view[data-panel="inventory"] .table-wrap{max-width:100%;overflow-x:auto}
 .view[data-panel="inventory"] .business-inventory-table{min-width:760px}
}

/* Inventory layout/navigation only. The approved dashboard and project styles stay untouched. */
.view[data-panel="inventory"] #inventory-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 6px;padding:0;border:0}
.view[data-panel="inventory"] .inventory-stat-card{display:flex;flex-direction:column;gap:8px;padding:14px 16px;background:#fff;border:1px solid #E2E2E2;border-radius:6px;box-shadow:none}
.view[data-panel="inventory"] .inventory-stat-label{font-size:12px;color:#616161;line-height:1.5}
.view[data-panel="inventory"] .inventory-stat-value{display:flex;align-items:baseline;gap:6px}
.view[data-panel="inventory"] .inventory-stat-value strong{font-size:22px;line-height:1.2;font-weight:650;color:#282D33;font-variant-numeric:tabular-nums}
.view[data-panel="inventory"] .inventory-stat-value span{font-size:12px;color:#616161}
.view[data-panel="inventory"] .inventory-anomaly-status{grid-column:1/-1;margin:0;text-align:right;font-size:12px;color:#616161;line-height:1.5}
.view[data-panel="inventory"] .presentation-unit-details{margin:0 0 12px}
.view[data-panel="inventory"] .phase-a-filters{grid-template-columns:minmax(180px,1fr) minmax(150px,1fr) auto auto auto;grid-template-areas:"category location manage more refresh"}
.view[data-panel="inventory"] #inventory-category-filter{grid-area:category}
.view[data-panel="inventory"] #inventory-location-filter{grid-area:location}
.view[data-panel="inventory"] .inventory-category-actions{grid-area:manage;display:flex;gap:6px;flex-wrap:wrap}
.view[data-panel="inventory"] .inventory-category-actions>button{width:auto;flex:0 0 auto}
.view[data-panel="inventory"] .phase-a-filters>.advanced-filters{grid-area:more}
.view[data-panel="inventory"] .phase-a-filters>.refresh{grid-area:refresh}
.view[data-panel="inventory"] #inventory-filter-panel{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end;padding:14px;margin:8px 0 12px;width:100%;max-width:100%;border:1px solid #E2E2E2;border-radius:6px;background:#FAFAFA;box-shadow:none;overflow:visible}
.view[data-panel="inventory"] #inventory-filter-panel label{display:grid;gap:4px;font-size:12px;min-width:0}
.view[data-panel="inventory"] #inventory-filter-panel select{width:100%;min-width:0;font-size:12px}
.view[data-panel="inventory"] #inventory-clear-filters{justify-self:start}
.view[data-panel="inventory"] .inventory-command-bar .inventory-primary-actions{flex:none}
.view[data-panel="inventory"] .inventory-tool-group{display:grid;gap:3px;padding:8px 0}
.view[data-panel="inventory"] .inventory-tool-group+.inventory-tool-group{border-top:1px solid #E2E2E2}
.view[data-panel="inventory"] .inventory-tool-group>strong{font-size:11px;font-weight:500;color:#737373;padding:0 8px 4px}
.view[data-panel="inventory"] .inventory-tool-group>button{text-align:left;width:100%}
.view[data-panel="inventory"] .inventory-utility-actions .inventory-more-menu>div{border-color:#E2E2E2;border-radius:6px;box-shadow:none}
.inventory-navigation-indicator{display:none}
body.inventory-domain-active .primary-navigation .inventory-navigation-indicator{display:block;margin-left:auto;width:12px;height:12px;flex:none}
body.inventory-domain-active .primary-navigation [aria-expanded="true"] .inventory-navigation-indicator{transform:rotate(90deg)}
.primary-navigation .inventory-subnavigation{padding:0 0 0 25px;display:grid;gap:3px}
.primary-navigation .inventory-subnav-item{display:flex;align-items:center;min-height:34px;width:100%;padding:7px 12px;border:0;border-left:0;border-radius:5px;background:transparent;color:#D4D4D4;font-size:12px;text-align:left;cursor:pointer}
.primary-navigation .inventory-subnav-item:hover{background:#444;color:#fff}
.primary-navigation .inventory-subnav-item.active{background:#4A4A4A;color:#fff}
.primary-navigation .inventory-subnav-item:focus-visible{outline:2px solid #fff;outline-offset:-2px}

body.inventory-list-active :is(#category-create-dialog,#category-edit-dialog){border:1px solid #E2E2E2;border-radius:6px;box-shadow:none}
body.inventory-list-active :is(#category-create-dialog,#category-edit-dialog) :is(input,select){min-height:36px;border-radius:6px;font-size:13px}
body.inventory-list-active :is(#category-create-dialog,#category-edit-dialog) .primary-button{min-height:32px;border-radius:6px;background:#42464B;color:#fff;font-size:12px}
body.inventory-list-active :is(#category-create-dialog,#category-edit-dialog) .primary-button:hover{background:#34383D}
body.inventory-list-active #category-edit-dialog .inventory-category-preserved-field{display:none}
body.inventory-list-active #category-edit-dialog .master-data-grid{padding:0 20px;gap:12px}
@media(max-width:1100px){
 .view[data-panel="inventory"] .phase-a-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;grid-template-areas:"category location refresh" "manage manage more"}
}
@media(max-width:800px){
 
 
 
 
 
}
@media(max-width:700px){
 .view[data-panel="inventory"] .inventory-stat-card{padding:12px 10px;gap:7px}
 .view[data-panel="inventory"] .inventory-stat-value strong{font-size:20px}
 .view[data-panel="inventory"] .phase-a-filters{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"category location" "manage manage" "more refresh"}
 .view[data-panel="inventory"] #inventory-filter-panel{grid-template-columns:minmax(0,1fr);padding:12px;gap:8px}
}

/* Inventory receipt modes, scoped records and recovery; no dashboard/project overrides. */
.view[data-panel="inbound"] .inbound-mode-switch{margin:0 0 14px;gap:8px}
.view[data-panel="inbound"] .inbound-mode-switch button{min-height:34px;border-radius:6px;font-size:13px}
.view[data-panel="inbound"] .inbound-mode-switch button.active{background:#42464B;color:#fff;border-color:#42464B}
.view[data-panel="inbound"] :is(.inbound-catalog-step,.inbound-flow-status,.inbound-request-recovery){margin:12px 0;padding:12px;border:1px solid #E2E2E2;border-radius:6px;background:#FAFAFA;font-size:13px;line-height:1.6}
.view[data-panel="inbound"] .inbound-catalog-step p{margin:0 0 10px}
.view[data-panel="inbound"] .inbound-project-return-link{font-size:12px;color:#616161;margin:16px 0}
.inventory-history-scope{margin:0 0 12px;align-items:center;font-size:12px;color:#616161;gap:10px}
.inventory-history-scope .secondary-button{padding:5px 9px;font-size:12px;border-radius:6px}
.view[data-panel="inbound"] :is(input,select,textarea){max-width:100%;min-width:0}
body.inventory-domain-active #item-master-dialog{max-width:min(760px,calc(100vw - 24px));border:1px solid #E2E2E2;border-radius:6px}
@media(max-width:700px){.view[data-panel="inbound"] .inbound-mode-switch{flex-wrap:wrap}.view[data-panel="inbound"] .operation-grid{grid-template-columns:minmax(0,1fr)}}

.view[data-panel="inbound"] :is(.primary-button,.movement-form button[type="submit"]){background:#42464B;color:#fff;border:1px solid #42464B;border-radius:6px;font-size:13px}
.view[data-panel="inbound"] :is(.primary-button,.movement-form button[type="submit"]):hover{background:#34383D}
.view[data-panel="inbound"] :is(.primary-button,.movement-form button[type="submit"]):focus-visible{outline:2px solid #42464B;outline-offset:3px}

.view[data-panel="inbound"] .movement-form select{height:36px;padding:6px 10px;line-height:20px;font-size:13px}

/* Compact catalog forms and full-page material creation. The approved dashboard remains unchanged. */
:is(#category-create-dialog,#category-edit-dialog){border:1px solid #E2E2E2;border-radius:6px;box-shadow:none}
:is(#category-create-form,#category-edit-form)>label{display:grid;gap:6px;margin:12px 20px;font-size:13px}
:is(#category-create-form,#category-edit-form) :is(input,select){height:36px;padding:6px 10px;font-size:13px;line-height:20px;border-radius:6px}
.category-advanced-settings{margin:12px 20px;border:1px solid #E2E2E2;border-radius:6px;padding:10px 12px;font-size:12px}
.category-advanced-settings>summary{cursor:pointer;font-weight:500;color:#42464B}
.category-advanced-settings>label{display:grid;gap:6px;margin-top:10px;font-size:13px}
.category-advanced-settings .form-helper{font-size:12px;color:#616161;line-height:1.6;margin:10px 0 0}
.material-create-page .page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.material-create-page .page-head h1{font-size:28px;line-height:1.3;margin:0;color:#282D33}
.material-create-page .material-create-surface{max-width:960px;padding:20px;background:#fff;border:1px solid #E2E2E2;border-radius:6px;box-shadow:none}
.material-create-page #item-master-form{padding:0;max-width:none}
.material-create-page #item-master-form>.confirm-dialog-head{display:none}
.material-create-page #item-master-form fieldset{margin:0 0 16px;padding:14px 16px;border:1px solid #E2E2E2;border-radius:6px;background:#fff}
.material-create-page #item-master-form legend{padding:0 6px;font-size:13px;font-weight:600}
.material-create-page #item-master-form label{font-size:13px;line-height:1.5}
.material-create-page #item-master-form :is(input:not([type=checkbox]):not([type=hidden]),select){height:36px;padding:6px 10px;font-size:13px;line-height:20px;border-radius:6px}
.material-create-page #item-master-form textarea{min-height:80px;font-size:13px;padding:8px 10px;border-radius:6px}
.material-create-page #item-master-form .master-data-grid{gap:12px}
.material-create-page #item-master-form .confirm-actions{padding:4px 0 0;border:0;gap:8px}
.material-create-page .primary-button,.view[data-panel="outbound"] .primary-button{background:#42464B;color:#fff;border-color:#42464B;border-radius:6px;font-size:13px;box-shadow:none}
.material-create-page .primary-button:hover,.view[data-panel="outbound"] .primary-button:hover{background:#34383D}
.material-create-page :is(input,select,textarea,button):focus-visible,.view[data-panel="outbound"] :is(select,button):focus-visible{outline:2px solid #42464B;outline-offset:2px}
.view[data-panel="outbound"] .outbound-mode-switch{margin:0 0 14px;gap:8px}
.view[data-panel="outbound"] .outbound-mode-switch button{font-size:13px;min-height:34px;border-radius:6px}
.view[data-panel="outbound"] .outbound-mode-switch button.active{background:#42464B;color:#fff;border-color:#42464B}
.view[data-panel="outbound"] .outbound-project-entry{max-width:760px;display:flex;align-items:end;gap:12px;padding:20px;border:1px solid #E2E2E2;border-radius:6px;box-shadow:none}
.view[data-panel="outbound"] .outbound-project-entry label{display:grid;gap:8px;flex:1;min-width:0;font-size:13px}
.view[data-panel="outbound"] :is(.movement-form select,.outbound-project-entry select){height:36px;padding:6px 10px;font-size:13px;line-height:20px;min-width:0;max-width:100%;border-radius:6px}
.view[data-panel="outbound"] .ordinary-outbound-block{font-size:12px;line-height:1.6;color:#616161;margin:4px 0 12px}
@media(max-width:700px){
 .material-create-page .material-create-surface{padding:12px}
 .material-create-page #item-master-form fieldset{padding:10px}
 .material-create-page #item-master-form .master-data-grid{grid-template-columns:minmax(0,1fr)}
 .material-create-page #item-master-form .confirm-actions{flex-wrap:wrap}
 .view[data-panel="outbound"] .outbound-project-entry{flex-direction:column;align-items:stretch;padding:14px}
 .view[data-panel="outbound"] .outbound-mode-switch{flex-wrap:wrap}
}

.material-create-page #item-master-form .checkbox-label{display:flex;align-items:center;justify-content:flex-start;align-self:end;gap:8px;min-height:36px}
.material-create-page #item-master-form input[type="checkbox"]{width:14px;height:14px;min-height:0;padding:0;margin:0;flex:0 0 14px}
.material-create-page #item-master-duplicate-note{display:none}

/* One inbound page, one existing catalog form, two explicit confirmations. */
.view[data-panel="inbound"] .inbound-material-catalog{padding:16px 20px}
.view[data-panel="inbound"] .inbound-material-catalog #item-master-form{padding:0}
.view[data-panel="inbound"] .inbound-flow-status{margin:16px 20px;padding:10px 12px}
.view[data-panel="inbound"] .inbound-request-recovery{margin:16px 20px}
.view[data-panel="inbound"] .context-card{align-self:start}
@media(max-width:700px){.view[data-panel="inbound"] .inbound-material-catalog{padding:12px}.view[data-panel="inbound"] :is(.inbound-flow-status,.inbound-request-recovery){margin:12px}}

/* Only the inbound catalog uses this structure; original edit controls are restored in place. */
.view[data-panel="inbound"].inbound-catalog-editing .operation-layout{grid-template-columns:minmax(0,1fr);max-width:940px}
.view[data-panel="inbound"].inbound-catalog-editing .context-card{display:none}
.view[data-panel="inbound"] .inbound-material-catalog:has(.catalog-density-layout){padding:14px 18px}
.material-create-page #item-master-form.catalog-density-layout .catalog-density-root{display:grid;gap:10px}
.material-create-page #item-master-form.catalog-density-layout .density-basic-info{display:grid;gap:8px;min-width:0}
.material-create-page #item-master-form.catalog-density-layout :is(.density-basic-info,.density-management) h2{margin:0;font-size:14px;line-height:1.5;font-weight:600;color:#282D33}
.material-create-page #item-master-form.catalog-density-layout label{display:grid;gap:4px;margin:0;font-size:13px;min-width:0}
.material-create-page #item-master-form.catalog-density-layout .density-category-unit-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}
.material-create-page #item-master-form.catalog-density-layout .density-category-cell{min-width:0}
.material-create-page #item-master-form.catalog-density-layout .density-category-cell .master-data-inline-actions{display:flex;flex-wrap:wrap;gap:12px;margin:3px 0 0}
.material-create-page #item-master-form.catalog-density-layout :is(.master-data-inline-actions,.density-brand-tools) .text-button{width:auto;min-height:0;padding:0;border:0;background:transparent;font-size:12px;line-height:20px;color:#616161;box-shadow:none}
.material-create-page #item-master-form.catalog-density-layout :is(.master-data-inline-actions,.density-brand-tools) .text-button:hover{color:#282D33;text-decoration:underline}
.material-create-page #item-master-form.catalog-density-layout .density-brand-row>.master-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0}
.material-create-page #item-master-form.catalog-density-layout .density-brand-tools{display:flex;justify-content:flex-start;margin-top:-4px}
.material-create-page #item-master-form.catalog-density-layout :is(input:not([type=checkbox]):not([type=hidden]),select){height:34px;padding:5px 8px;line-height:20px;font-size:13px;min-width:0}
.material-create-page #item-master-form.catalog-density-layout .density-management{display:grid;gap:8px;border-top:1px solid #E2E2E2;padding-top:10px;min-width:0}
.material-create-page #item-master-form.catalog-density-layout .catalog-management-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;align-items:start}
.material-create-page #item-master-form.catalog-density-layout .catalog-management-grid>.checkbox-label{grid-column:1/-1;display:flex;justify-content:flex-start;align-items:center;gap:8px;min-height:28px}
.material-create-page #item-master-form.catalog-density-layout :is(.density-specifications,.density-save-area) textarea{min-height:44px;height:44px;padding:5px 8px}
.material-create-page #item-master-form.catalog-density-layout .threshold-help{font-size:11px;line-height:1.5;color:#616161}
.material-create-page #item-master-form.catalog-density-layout .density-save-area{display:grid;gap:6px}
.material-create-page #item-master-form.catalog-density-layout #item-master-error:empty{display:none}
.material-create-page #item-master-form.catalog-density-layout .confirm-actions{margin-top:10px;padding:0;gap:8px}
@media(max-width:700px){
 .view[data-panel="inbound"] .inbound-material-catalog:has(.catalog-density-layout){padding:12px}
 .material-create-page #item-master-form.catalog-density-layout :is(.density-category-unit-row,.density-brand-row>.master-data-grid,.catalog-management-grid){grid-template-columns:minmax(0,1fr);gap:8px}
}

[data-panel="locations"] .surface:has(#p0-location-title){scroll-margin-top:85px}
#p0-location-title:focus-visible{outline:2px solid #42464B;outline-offset:5px}
#locations .location-row>strong{min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){#locations .location-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}#locations .location-row>strong{grid-column:1/-1}}


/* Approved grayscale finish, inbound catalog only. Inherit every existing type size/weight. */
.view[data-panel="inbound"].inbound-catalog-editing .operation-card{border-color:#DADADA;border-radius:6px;box-shadow:none;background:#FFF;overflow:visible}
.view[data-panel="inbound"] .inbound-material-catalog:has(.catalog-density-layout){padding:0 18px 16px}
.material-create-page #item-master-form.catalog-density-layout .catalog-density-root{gap:12px}
.material-create-page #item-master-form.catalog-density-layout .density-basic-info{gap:10px}
.material-create-page #item-master-form.catalog-density-layout :is(.density-basic-info,.density-management)>h2{display:flex;align-items:center;gap:8px;margin:0 -18px;padding:8px 18px;background:#F5F5F5;border-bottom:1px solid #E3E3E3}
.material-create-page #item-master-form.catalog-density-layout .density-basic-info>h2{border-radius:6px 6px 0 0}
.material-create-page #item-master-form.catalog-density-layout .density-management{border:0;padding:0;gap:10px}
.material-create-page #item-master-form.catalog-density-layout .density-management>h2{border-top:1px solid #E3E3E3}
.material-create-page #item-master-form.catalog-density-layout h2>.icon{width:16px;height:16px;flex:0 0 16px;color:#555;stroke-width:1.6}
.material-create-page #item-master-form.catalog-density-layout label{gap:5px}
.material-create-page #item-master-form.catalog-density-layout :is(input:not([type=checkbox]):not([type=hidden]),select,textarea){border:1px solid #D5D5D5;border-radius:6px;background:#FFF;box-shadow:none}
.material-create-page #item-master-form.catalog-density-layout :is(input,select,textarea):hover{border-color:#AAA}
.material-create-page #item-master-form.catalog-density-layout :is(input,select,textarea):focus-visible{outline:2px solid #42464B;outline-offset:1px;border-color:#42464B;box-shadow:none}
.material-create-page #item-master-form.catalog-density-layout .density-category-unit-row{gap:14px}
.material-create-page #item-master-form.catalog-density-layout .density-brand-row>.master-data-grid{gap:14px}
.material-create-page #item-master-form.catalog-density-layout .catalog-management-grid{gap:10px 14px}
.material-create-page #item-master-form.catalog-density-layout .density-category-cell .master-data-inline-actions{margin-top:4px;gap:12px}
.material-create-page #item-master-form.catalog-density-layout .confirm-actions{margin:12px -18px -16px;padding:12px 18px;background:#FAFAFA;border-top:1px solid #E3E3E3;border-radius:0 0 6px 6px;gap:8px}
.material-create-page #item-master-form.catalog-density-layout .confirm-actions button{min-height:34px;border-radius:6px;box-shadow:none}
.material-create-page #item-master-form.catalog-density-layout .confirm-actions .primary-button{background:#42464B;border-color:#42464B;color:#FFF}
.material-create-page #item-master-form.catalog-density-layout .confirm-actions .primary-button:hover{background:#34383D;border-color:#34383D}
.material-create-page #item-master-form.catalog-density-layout .confirm-actions button:focus-visible{outline:2px solid #42464B;outline-offset:3px;box-shadow:none}
@media(max-width:700px){
 .view[data-panel="inbound"] .inbound-material-catalog:has(.catalog-density-layout){padding:0 12px 12px}
 .material-create-page #item-master-form.catalog-density-layout :is(.density-basic-info,.density-management)>h2{margin-inline:-12px;padding-inline:12px}
 .material-create-page #item-master-form.catalog-density-layout .confirm-actions{margin:12px -12px -12px;padding:12px}
 .material-create-page #item-master-form.catalog-density-layout :is(.density-category-unit-row,.density-brand-row>.master-data-grid,.catalog-management-grid){gap:10px}
}

/* Existing inbound fields: bounded content width, native semantics with neutral chevrons. */
.view[data-panel="inbound"].inbound-catalog-editing .operation-layout{max-width:1120px;width:100%}
#item-master-form .catalog-product-text,#item-master-form .catalog-unit-choice{display:none}
.material-create-page #item-master-form.catalog-density-layout .catalog-product-reference{display:none}
.material-create-page #item-master-form.catalog-density-layout .catalog-product-text{display:grid}
.material-create-page #item-master-form.catalog-density-layout .catalog-unit-choice{display:block;width:100%}
.material-create-page #item-master-form.catalog-density-layout [name="unit"]{display:none}
.material-create-page #item-master-form.catalog-density-layout [name="unit"].catalog-unit-custom{display:block;width:100%;margin-top:5px}
.material-create-page #item-master-form.catalog-density-layout .catalog-density-root select:not([multiple]){appearance:none;-webkit-appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%23616161' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:12px 12px;background-position:right 12px center}
.material-create-page #item-master-form.catalog-density-layout .density-category-cell .master-data-inline-actions{gap:8px;margin-top:6px}
.material-create-page #item-master-form.catalog-density-layout .master-data-inline-actions .text-button{min-height:28px;padding:3px 10px;border:1px solid #D5D5D5;border-radius:5px;background:#FFF;line-height:20px;color:#42464B;text-decoration:none}
.material-create-page #item-master-form.catalog-density-layout .master-data-inline-actions .text-button:hover{background:#F5F5F5;border-color:#AAA;text-decoration:none}
.material-create-page #item-master-form.catalog-density-layout .master-data-inline-actions .text-button:focus-visible{outline:2px solid #42464B;outline-offset:2px}
body:has([data-panel="inbound"]:not(.hidden)) .primary-navigation [data-nav-root="inventory"]{padding-right:12px}
body:has([data-panel="inbound"]:not(.hidden)) .primary-navigation .inventory-navigation-indicator{width:12px;height:12px;margin-right:0;align-self:center}

/* Unsaved catalog shares the existing inbound title and mode-switch content edges. */
.view[data-panel="inbound"].inbound-catalog-editing .operation-layout{max-width:none;margin-inline:0}
.material-create-page #item-master-form.catalog-density-layout #catalog-asset-guidance{margin:3px 0 0;color:#616161}

/* Inbound-only secondary action; reuse the existing location dialog. */
.view[data-panel="inbound"] .inbound-new-location{justify-self:start;min-height:28px;padding:3px 10px;margin-top:4px}

.view[data-panel="inbound"] .inbound-location-field{display:grid;gap:4px;min-width:0;align-content:start}

/* Existing monochrome record/location pages: stacked sections and compact detail content. */
.view[data-panel="inventory-history"] .inventory-history-grid{grid-template-columns:minmax(0,1fr)}
.view[data-panel="inventory-history"] .stock-record-table th:nth-child(1){width:25%}
.view[data-panel="inventory-history"] .stock-record-table th:nth-child(3){width:12%}
.view[data-panel="inventory-history"] .stock-record-table :is(td,th){vertical-align:top}
.view[data-panel="inventory-history"] .history-material{display:grid;gap:4px;min-width:120px}
.view[data-panel="inventory-history"] .stock-record-detail{min-width:42px}
.view[data-panel="inventory-history"] .stock-record-detail-body{min-width:260px;max-width:520px;padding-block:8px}
.view[data-panel="inventory-history"] .stock-record-detail-body pre{white-space:pre-wrap;overflow-wrap:anywhere}
.record-detail-fact{display:grid;grid-template-columns:minmax(60px,auto) minmax(0,1fr);gap:8px;margin-block:6px}
.record-detail-fact dd{margin:0;overflow-wrap:anywhere}
.view[data-panel="locations"] .location-material{display:grid;gap:4px;min-width:0}
.view[data-panel="locations"] .location-row{grid-template-columns:minmax(0,1fr) auto auto}
#item-master-dialog.optional-product-edit #item-master-form .catalog-product-reference{display:none}
#item-master-dialog.optional-product-edit #item-master-form .catalog-product-text{display:grid}
@media(max-width:600px){.view[data-panel="inventory-history"] .stock-record-table{min-width:650px}.view[data-panel="locations"] .location-row{grid-template-columns:minmax(0,1fr) auto}}

#item-master-dialog.optional-product-edit #open-dictionary-create{display:none}

/* Existing typography and black/white controls; scoped to approved inbound/category surfaces. */
.view[data-panel="inbound"] .inbound-step-status{font-size:13px;margin:8px 20px;padding:0;color:#42464B;line-height:1.6}
.view[data-panel="inbound"] .inbound-stored-locations{display:grid;gap:6px}
.view[data-panel="inbound"] .inbound-storage-row{font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.view[data-panel="inbound"] .inbound-other-locations{justify-self:start}
#category-list-dialog{width:min(680px,calc(100vw - 32px));border:1px solid #E2E2E2;border-radius:6px;padding:20px;box-sizing:border-box}
#category-list-dialog>input{width:100%;box-sizing:border-box;margin:12px 0;min-height:36px;border:1px solid #DDD;border-radius:6px;padding:8px 10px;font-family:inherit;font-size:13px}
#category-list-dialog>.secondary-button{margin-bottom:12px}
.category-management-list{max-height:55vh;overflow:auto}
.category-management-row{font-size:13px;display:flex;gap:12px;justify-content:space-between;align-items:center;padding:10px 0;border-top:1px solid #EEE}
.category-management-row>div:first-child{min-width:0;overflow-wrap:anywhere}
.category-management-row .button-row{flex-wrap:nowrap;flex-shrink:0}
@media(max-width:600px){.category-management-row{gap:6px}.category-management-row .secondary-button{padding:6px 8px}.view[data-panel="inbound"] .inbound-step-status{margin:8px 12px}}

/* Serial registration is part of the existing inbound card, with existing typography. */
.view[data-panel="inbound"] .asset-registration{padding:8px 20px 20px;min-width:0;font-size:13px}
.view[data-panel="inbound"] .asset-registration-area{padding-top:12px}
.view[data-panel="inbound"] .asset-registration h2{font-size:14px;margin:12px 0}
.view[data-panel="inbound"] .asset-register-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}
.view[data-panel="inbound"] .asset-register-form>button{justify-self:start;grid-column:1/-1}
.view[data-panel="inbound"] .asset-registration label{font-size:13px;display:grid;gap:5px;min-width:0}
.view[data-panel="inbound"] .asset-registration :is(input,select,textarea){font-size:13px;width:100%;min-height:36px;box-sizing:border-box;border:1px solid #DDD;border-radius:6px;padding:8px}
.view[data-panel="inbound"] .asset-registration button{font-size:13px}
.view[data-panel="inbound"] .asset-registration-table{font-size:13px;min-width:450px;width:100%}
.view[data-panel="inbound"] .asset-registration-table :is(td,th){padding:10px 6px;text-align:left}
.view[data-panel="inbound"] .asset-registration-table td:last-child{white-space:nowrap}
.view[data-panel="inbound"] .asset-receive-form{border-top:1px solid #DDD;display:grid;gap:12px;margin-top:12px}
.view[data-panel="inbound"] .asset-receive-form>button{justify-self:end}
@media(max-width:600px){.view[data-panel="inbound"] .asset-registration{padding:8px 12px 12px}.view[data-panel="inbound"] .asset-register-form{grid-template-columns:1fr}}

/* Category protection is concise until the user requests the reason. */
.category-management-row>div:first-child{flex:1}
.category-protection{margin-top:4px;font-size:12px;color:#666}
.category-protection>summary{cursor:pointer;width:fit-content;max-width:100%}
.category-protection>summary:hover{color:#333}
.category-protection>summary:focus-visible{outline:2px solid #42464B;outline-offset:2px;border-radius:2px}
.category-protection>p{margin:4px 0 0;line-height:1.5;overflow-wrap:anywhere}

/* Replenishment matches the approved catalog header; no new-material overrides. */
.view[data-panel="inbound"].inbound-replenishment .operation-card{border-color:#DADADA;border-radius:6px;box-shadow:none;background:#FFF}
.view[data-panel="inbound"].inbound-replenishment .operation-card>.section-head{padding:8px 18px;background:#F5F5F5;border-bottom:1px solid #E3E3E3;border-radius:6px 6px 0 0}
.view[data-panel="inbound"].inbound-replenishment .operation-card>.section-head h2{display:flex;align-items:center;gap:8px;margin:0;line-height:1.5}
.view[data-panel="inbound"].inbound-replenishment .operation-card>.section-head h2>svg{width:18px;height:18px;flex:0 0 18px;color:#282D33;stroke-width:1.7}

/* Ordinary outbound uses the same compact grayscale form and real subledger choices. */
.view[data-panel="outbound"] .operation-card{border-color:#DADADA;border-radius:6px;box-shadow:none}
.view[data-panel="outbound"] .operation-card>.section-head{padding:8px 18px;background:#F5F5F5;border-bottom:1px solid #E3E3E3;border-radius:6px 6px 0 0}
.view[data-panel="outbound"] .operation-card>.section-head h2{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;line-height:21px}
.view[data-panel="outbound"] .operation-card>.section-head h2 svg{width:18px;height:18px;flex:none}
.view[data-panel="outbound"] .outbound-location-choices{display:grid;gap:6px;min-width:0}
.view[data-panel="outbound"] .outbound-location-row{display:grid;grid-template-columns:minmax(90px,.8fr) minmax(0,1.4fr) auto;gap:10px;align-items:center;width:100%;min-width:0;text-align:left;padding:9px 10px;border:1px solid #D5D5D5;border-radius:6px;background:#FFF;color:#333;font-size:13px;white-space:normal}
.view[data-panel="outbound"] .outbound-location-row[aria-pressed="true"]{background:#F5F5F5;border-color:#BDBDBD;box-shadow:none}
.view[data-panel="outbound"] .outbound-location-row:hover{border-color:#777;background:#F7F7F7}
.view[data-panel="outbound"] .outbound-location-row:focus-visible{outline:2px solid #42464B;outline-offset:2px;box-shadow:none}
.view[data-panel="outbound"] .outbound-location-identity{display:flex;align-items:center;gap:6px;min-width:0}
.view[data-panel="outbound"] .outbound-location-mark{visibility:hidden;flex:none;width:12px;font-size:12px}
.view[data-panel="outbound"] .outbound-location-row[aria-pressed="true"] .outbound-location-mark{visibility:visible}
.view[data-panel="outbound"] .outbound-location-name{font-size:12px;color:#666;overflow-wrap:anywhere}
.view[data-panel="outbound"] .outbound-location-quantity{white-space:nowrap;text-align:right}
.view[data-panel="outbound"] .outbound-location-empty{font-size:13px;color:#666;padding:8px 0}
.view[data-panel="outbound"] .outbound-device-group{border-bottom:1px solid #E5E5E5;font-size:12px;min-width:0}
.view[data-panel="outbound"] .outbound-device-group>summary{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 0;cursor:pointer;list-style:none;font-size:12px}
.view[data-panel="outbound"] .outbound-device-group>summary::-webkit-details-marker{display:none}
.view[data-panel="outbound"] .outbound-device-group>summary::before{content:'›';color:#666;transition:transform .12s}
.view[data-panel="outbound"] .outbound-device-group[open]>summary::before{transform:rotate(90deg)}
.view[data-panel="outbound"] .outbound-device-group>summary:focus-visible{outline:2px solid #42464B;outline-offset:2px}
.view[data-panel="outbound"] .outbound-device-heading{display:flex;gap:6px 12px;flex-wrap:wrap;min-width:0}
.view[data-panel="outbound"] .outbound-device-count{color:#666;white-space:nowrap}
.view[data-panel="outbound"] .outbound-device-entry{display:flex;justify-content:space-between;gap:8px;padding:6px 0 6px 20px;color:#666;overflow-wrap:anywhere}
.view[data-panel="outbound"] .outbound-device-entry strong{color:#333}
.view[data-panel="outbound"] .movement-form>label[hidden],.view[data-panel="outbound"] .movement-form>button[hidden]{display:none}
.view[data-panel="outbound"] .outbound-request-recovery:empty{display:none}
.view[data-panel="outbound"] .outbound-recovery-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;padding:8px 0}
.view[data-panel="outbound"] .movement-location[hidden]{display:none}
@media(max-width:600px){.view[data-panel="outbound"] .outbound-location-row{grid-template-columns:minmax(0,1fr) auto;gap:5px 8px}.view[data-panel="outbound"] .outbound-location-name{grid-row:2;grid-column:1/-1}.view[data-panel="outbound"] .operation-card>.section-head{padding-inline:12px}}
.view[data-panel="inbound"].inbound-replenishment .movement-form{padding:10px 18px 16px;gap:10px}
.view[data-panel="inbound"].inbound-replenishment .movement-form label{gap:5px}
@media(max-width:700px){
 .view[data-panel="inbound"].inbound-replenishment .operation-card>.section-head{padding-inline:12px}
 .view[data-panel="inbound"].inbound-replenishment .movement-form{padding:10px 12px 12px}
}
/* Transfer form only: match the accepted inbound module without global label overrides. */
.view[data-panel="transfer"] .operation-card{border:1px solid #DADADA;border-radius:6px;box-shadow:none;overflow:visible}
.view[data-panel="transfer"] .operation-card>.section-head{height:38px;min-height:38px;box-sizing:border-box;padding:8px 18px;background:#F5F5F5;border-bottom:1px solid #E3E3E3;border-radius:6px 6px 0 0}
.view[data-panel="transfer"] .operation-card>.section-head h2{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;font-weight:600;line-height:21px}
.view[data-panel="transfer"] .operation-card>.section-head svg{width:18px;height:18px;stroke-width:1.7;flex:none}
.view[data-panel="transfer"] #transfer-form{gap:14px;padding:18px;min-width:0}
.view[data-panel="transfer"] #transfer-form label{display:grid;position:static;gap:6px;min-width:0;overflow:visible;font-size:13px;line-height:20px}
.view[data-panel="transfer"] #transfer-form .transfer-field-label{position:static;inset:auto;transform:none;display:block;margin:0;padding:0;height:auto;width:auto;line-height:20px;overflow:visible;z-index:auto;pointer-events:auto}
.view[data-panel="transfer"] #transfer-form :is(input,select,textarea){width:100%;min-width:0;box-sizing:border-box;font-size:13px}
.view[data-panel="transfer"] .transfer-item-balance{margin:-7px 0 0;font-size:12px;line-height:18px;color:#62666A;overflow-wrap:anywhere}
.view[data-panel="transfer"] .transfer-item-balance[hidden]{display:none}
@media(max-width:600px){.view[data-panel="transfer"] .operation-card>.section-head{padding-inline:12px}.view[data-panel="transfer"] #transfer-form{padding:12px}.view[data-panel="transfer"] .transfer-route{grid-template-columns:1fr}.view[data-panel="transfer"] .transfer-arrow{height:20px;transform:rotate(90deg)}}
/* Fixed 36px selects need enough content height for the existing 13px text. */
.view[data-panel="transfer"] #transfer-form select{height:36px;min-height:36px;padding:6px 32px 6px 10px;line-height:20px}

/* A01: keep the existing receipt controls under their own same-page step heading. */
.view[data-panel="inbound"].inbound-initial-receipt .operation-card>.section-head{padding:8px 18px;background:#F5F5F5;border-bottom:1px solid #E3E3E3;border-radius:6px 6px 0 0}
.view[data-panel="inbound"].inbound-initial-receipt .operation-card>.section-head h2{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;line-height:21px}
.view[data-panel="inbound"].inbound-initial-receipt .operation-card>.section-head svg{width:18px;height:18px;flex:none}
.view[data-panel="inbound"].inbound-initial-receipt .movement-form{padding:10px 18px 16px;gap:10px}
@media(max-width:600px){.view[data-panel="inbound"].inbound-initial-receipt .operation-card>.section-head{padding-inline:12px}.view[data-panel="inbound"].inbound-initial-receipt .movement-form{padding:10px 12px 12px}}

.business-inventory-table td:nth-child(4)>strong,.business-inventory-table td:nth-child(4)>small,.business-inventory-table td:nth-child(5)>strong,.business-inventory-table td:nth-child(5)>small{display:block}.business-inventory-table td:nth-child(4)>small,.business-inventory-table td:nth-child(5)>small{margin-top:3px}

.reference-inventory-table [hidden]{display:none!important}
@media(max-width:600px){
 .reference-inventory-table{display:block;min-width:0!important;width:100%;table-layout:auto}
 .reference-inventory-table thead{display:none}
 .reference-inventory-table tbody{display:block}
 .reference-inventory-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;padding:12px;border-bottom:1px solid #e3e3e3}
 .reference-inventory-table tbody td{display:block;min-width:0;height:auto!important;min-height:0;width:auto!important;padding:6px!important;border:0;white-space:normal;overflow-wrap:anywhere;text-align:left!important}
 .reference-inventory-table tbody td::before{content:attr(data-label);display:block;font-size:12px;color:#666;margin-bottom:4px}
 .reference-inventory-table tbody td:nth-child(1),.reference-inventory-table tbody td:nth-child(2),.reference-inventory-table tbody td:last-child{grid-column:1/-1}
 .reference-inventory-table tbody td:nth-child(2)::before,.reference-inventory-table tbody td:last-child::before{display:none}
 .reference-inventory-table tbody td:last-child{text-align:right!important}
}
