/* Shape proposal only; not mounted into any candidate. Group rectangles need actual QA. */
.product-source193 { container-type:inline-size; width:100%; box-sizing:border-box; }
.product-source193 .p193-detail-workarea { width:740px; max-width:100%; }
.product-source193 .p193-identity,.product-source193 .p193-additional-columns { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px; }
.product-source193 .p193-identity { grid-template-columns:minmax(0,520px) 185px; }
.product-source193 .p193-image { min-height:130px; display:grid; place-items:center; }
.product-source193 .p193-group { min-width:0; margin:8px 0; padding:6px; }
.product-source193 .p193-price-header { display:flex; flex-wrap:wrap; gap:8px 12px; }
.product-source193 .p193-groups { display:grid; grid-template-columns:1fr 1fr; gap:8px 18px; }
.product-source193 .p193-field { display:grid; grid-template-columns:150px minmax(0,1fr); gap:6px; align-items:center; }
.product-source193 .p193-control { display:flex; min-width:0; }
.product-source193 .p193-table-scroll { overflow:auto; max-width:100%; }
.product-source193 .p193-grid table { table-layout:fixed; min-width:1060px; width:100%; }
.product-source193 .p193-grid td { padding:2px; }
.product-source193 .p193-grid td input { min-width:0; width:100%; max-width:100%; box-sizing:border-box; }
.product-source193 input,.product-source193 select,.product-source193 button { min-height:30px; box-sizing:border-box; }
.product-source193 footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; padding:8px 16px 12px 8px; }
@container (max-width:650px) { .product-source193 .p193-groups { grid-template-columns:1fr; }
 .product-source193 .p193-identity,.product-source193 .p193-additional-columns { grid-template-columns:1fr; }
 .product-source193 .p193-field { grid-template-columns:1fr; }
 .product-source193 input,.product-source193 select,.product-source193 button { min-height:44px; }
}

/* Scoped proposed product UI. Native chooser lists and calculations are deferred. */
.product-source193 .p193-tab[hidden] { display:none; }
.product-source193 .p193-group { border:1px solid var(--line,#d8dddc); border-radius:6px; }
.product-source193 .p193-field input,.product-source193 .p193-field textarea { min-width:0; width:100%; max-width:100%; }
.product-source193 .p193-control { display:flex; min-width:0; align-items:center; }
.product-source193 .p193-control button { flex:0 0 32px; }
.product-source193 .p193-ratio { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.product-source193 .p193-editable { padding:0; border:0; min-width:0; }
.product-source193 .p193-accessible-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.product-source193 .p193-sw-details { margin-top:10px; }
.product-source193 .p193-identity,.product-source193 .p193-additional { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px; }
.product-source193 .p193-price-header { display:grid; grid-template-columns:1fr 1fr; gap:6px 12px; }
.product-source193 .p193-table-scroll { max-width:100%; overflow:auto; }
.product-source193 .p193-grid table { table-layout:fixed; min-width:1190px; width:100%; }
.product-source193 .p193-grid th { width:105px; }
.product-source193 .p193-grid td { padding:2px; vertical-align:middle; }
.product-source193 .p193-grid td input { min-width:0; max-width:100%; width:100%; box-sizing:border-box; }
.product-source193 .p193-grid td input[type=checkbox] { width:24px; }
.product-source193 footer span { display:flex; flex-wrap:wrap; gap:6px; max-width:100%; }
.product-source193 footer { padding-right:22px; padding-bottom:18px; }
.product-source193 .p193-radio,.product-source193 .p193-checkbox { display:flex; align-items:center; gap:6px; }
@container (max-width:650px) {
 .product-source193 .p193-identity,.product-source193 .p193-additional,.product-source193 .p193-price-header { grid-template-columns:1fr; }
 .product-source193 input,.product-source193 select,.product-source193 button,.product-source193 textarea { min-height:44px; }
 .product-source193 footer span { width:100%; }
}

/* Product193 tab strip only; actual geometry/pointer acceptance remains pending. */
.product-source193 #master-form[data-product193] > nav[role="tablist"] {
 display:flex; flex-direction:row; flex-wrap:nowrap; align-items:stretch;
 gap:6px; width:100%; max-width:100%; min-width:0;
 overflow-x:auto; overflow-y:hidden; padding:4px 2px; margin-bottom:10px;
}
.product-source193 #master-form[data-product193] > nav[role="tablist"] > button[role="tab"] {
 flex:0 0 auto; width:auto; max-width:none; min-width:0; white-space:nowrap;
}
.product-source193 #master-form[data-product193] > nav[role="tablist"] > button[role="tab"][aria-selected="true"] {
 background:var(--navy,#152675); border-color:var(--navy,#152675); color:#fff;
}

/* Ratio children use shrinkable tracks; containment still requires fresh actual QA. */
.product-source193 #master-form[data-product193] .p193-ratio {
 grid-template-columns:repeat(2,minmax(0,1fr)); min-width:0;
 width:100%; max-width:100%; box-sizing:border-box;
}
.product-source193 #master-form[data-product193] .p193-ratio > .p193-field {
 grid-template-columns:minmax(0,1fr); min-width:0;
 width:100%; max-width:100%; box-sizing:border-box;
}
