/* Scoped to suite editing. Keep production table/control heights and typography. */
.pw-suite-editing .pw-suite-independent th:nth-child(3){width:auto}
.pw-suite-editing .pw-suite-independent th:last-child{width:130px}
.pw-suite-editing .pw-suite-independent td:last-child{white-space:nowrap}
.pw-suite-editing .pw-suite-independent button.pw-link{white-space:nowrap;padding-inline:3px}
.pw-suite-editing .pw-suite-independent .pw-error:empty,.pw-suite-editing .pw-suite-independent .pw-review:empty{display:none}
.pw-suite-editing .pw-suite-independent td.pw-spec-image-cell{width:30px}
.pw-suite-editing [data-suite-row]>td:nth-child(4)>button{max-width:360px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.pw-suite-editing .pw-suite-detail>td{height:auto!important;padding:4px 8px!important;background:#f8fbfa}
.pw-suite-editing .pw-suite-components{width:100%;table-layout:auto}
.pw-suite-editing .pw-suite-components input[type=number]{width:75px}
.pw-suite-editing .pw-suite-components select{max-width:260px}
.pw-suite-editing .pw-suite-attrs{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.pw-suite-editing .pw-suite-attrs label{display:flex;gap:4px;align-items:center}
.pw-suite-editing .pw-suite-attrs input{width:110px}
.pw-suite-editing .pw-map-tools{display:flex;gap:8px}
.pw-suite-editing .pw-map-line{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.pw-suite-editing .pw-part{border:0;border-bottom:1px solid var(--border,#dce6e2);border-radius:0;box-shadow:none}
/* Attribute headers occupy their own line; mapping pairs remain indivisible. */
.pw-suite-editing .pw-map-line{display:block;margin-top:6px}
.pw-suite-editing .pw-map-name{display:block;margin-bottom:3px;font-size:13px;font-weight:400;line-height:20px;color:var(--muted)}
.pw-suite-editing .pw-map-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px}
.pw-suite-editing .pw-map-values .pw-map{display:flex;flex-direction:row;align-items:center;gap:4px;min-width:0;max-width:none;margin:0!important}
.pw-suite-editing .pw-map-values .pw-map>span:first-child{max-width:35%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pw-suite-editing .pw-map-values select{min-width:0;width:0!important;flex:1;padding:3px 5px}
.pw-suite-editing .pw-map-tools button.pw-link{padding:3px 4px;font-size:12px;line-height:inherit}
.pw-suite-editing .pw-properties{container-type:inline-size}
@container (max-width:240px){.pw-suite-editing .pw-map-values{grid-template-columns:minmax(0,1fr)}}
/* Collapsed result rows never acquire a second validation/review line. */
.pw-suite-editing .pw-suite-independent{table-layout:fixed;min-width:850px;width:100%}
.pw-suite-editing .pw-suite-independent th:first-child{width:30px}
.pw-suite-editing .pw-suite-independent th:nth-child(3){width:110px}
.pw-suite-editing .pw-suite-independent th:nth-child(4){width:28%}
.pw-suite-editing .pw-suite-independent th:nth-child(6){width:70px}
.pw-suite-editing .pw-suite-independent [data-suite-row]>td{white-space:nowrap}
.pw-suite-editing .pw-suite-independent [data-suite-row]>td:nth-child(3)>button,.pw-suite-editing .pw-suite-independent [data-suite-row]>td:nth-child(4)>button{display:block;width:100%;max-width:100%;overflow:hidden;text-overflow:ellipsis;text-align:left}
.pw-suite-editing .pw-suite-independent .pw-code-sync{min-width:0;flex-wrap:nowrap}
.pw-suite-editing .pw-suite-independent .pw-code-sync>.pw-error,.pw-suite-editing .pw-suite-independent .pw-code-sync>.pw-review{display:inline-flex;flex:0 0 auto;margin:0;line-height:inherit}
.pw-suite-editing .pw-suite-independent .pw-code-sync>.pw-error:empty{display:none}
.pw-suite-editing .pw-suite-independent .pw-code-sync>.pw-review button{color:inherit}
