/* V58: shared image frames, continuous specification groups and readable controls. */
.detail-layout,.detail-image,.detail-config,.form-grid,.field,.selection-row,.selection-product-heading,.benefit-item{min-width:0}
.detail-page .detail-image .product-art{height:clamp(250px,30vw,480px);flex:none;min-height:0}
.detail-page .detail-image .product-reference-figure{height:100%;background:#fff;border-radius:5px;padding:14px}
.detail-page .detail-image .product-reference-figure>img{width:100%!important;height:100%!important;max-height:100%!important;float:none!important;margin:0!important;object-fit:contain!important}
.product-gallery{width:100%;height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:10px;min-height:0}
.gallery-stage{margin:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 28px;align-items:center;background:#fff;border-radius:5px;padding:12px 14px 4px;touch-action:pan-y}
.gallery-stage img{display:block;position:static!important;width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;filter:none!important;margin:0!important}
.gallery-stage figcaption{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#52606a;line-height:24px}
.gallery-tabs{display:flex;gap:8px;flex-wrap:wrap}.gallery-tabs button{flex:1;min-height:40px;padding:8px;font-size:14px;line-height:1.4;white-space:normal;border:1px solid #aabdb755;border-radius:4px}
.gallery-tabs button[aria-pressed=true]{border-color:#c6dca1;color:#d5e8b7;background:#c6dca10a}
.product-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;min-width:0}
.product-card .product-reference-figure{height:174px;flex:none;justify-content:center;background:#fff;border-radius:4px;padding:10px;margin:0 0 12px}
.product-card .product-reference-figure>img{width:100%!important;height:140px!important;max-height:140px!important;object-fit:contain!important}
.product-card .product-reference-figure>figcaption{font-size:11px;color:#556269}
.product-card>h2{margin:0 0 8px;line-height:1.45;overflow-wrap:anywhere}.product-card>.subtle{margin-top:auto}
.detail-page .form-grid{grid-template-columns:minmax(0,1fr) minmax(100px,.7fr);align-items:start;gap:14px}
.detail-page .field select,.detail-page .field input{width:100%;min-width:0;max-width:100%;min-height:42px;font-size:clamp(14px,1vw,17px)}
.field option{background:#24343e;color:#f1efea}
.detail-config .product-reference{max-height:none!important;overflow:visible!important}
.detail-config .product-reference>summary{padding:12px 0;line-height:1.5}
.spec-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:clamp(14px,1vw,17px);line-height:1.6}
.spec-table th,.spec-table td{vertical-align:top;overflow-wrap:anywhere;padding:10px 8px;border-bottom:1px solid #ffffff20;text-align:left}
.spec-table th{width:46%;font-weight:400}.spec-table .spec-group th{width:auto;padding-top:20px;color:#c6dca1;font-weight:600;border-bottom:1px solid #c6dca14d}
.spec-table .flux-child th{padding-left:24px}.spec-table .flux-heading th{font-weight:600}
.spec-reference-note{font-size:13px!important;line-height:1.7;color:#bdcbd0;padding:12px 8px;margin:0!important}
.product-feedback{min-height:26px;line-height:1.5;margin:8px 0!important;color:#d5e8b7;overflow-wrap:anywhere}
.detail-page .row{display:flex;gap:12px;flex-wrap:wrap;padding-bottom:12px}.detail-page .row button{white-space:normal;line-height:1.5;min-height:42px}
.selection-product-heading{display:grid!important;grid-template-columns:100px minmax(0,1fr);align-items:start;gap:7px 14px}
.selection-product-heading>.product-reference-figure{grid-column:1;grid-row:1/5;width:100px!important;height:100px!important;margin:0!important;background:#fff;border-radius:4px;padding:5px}
.selection-product-heading>.product-reference-figure>img{width:100%!important;height:90px!important;max-height:90px!important;object-fit:contain!important}
.selection-product-heading>strong,.selection-product-heading>small{grid-column:2;position:static!important;overflow-wrap:anywhere}
.selection-product-heading>.selection-image-pending{grid-column:1;grid-row:1/5}
.selection-product-heading .selection-remove-top{grid-column:2;justify-self:start}
.benefit-item{display:grid;grid-template-columns:120px minmax(0,1fr);gap:8px 18px;padding:20px 0;clear:both}
.benefit-item>.product-reference-figure{float:none!important;grid-column:1;grid-row:1/3;width:120px!important;height:110px;background:#fff;padding:6px;border-radius:4px;margin:0}
.benefit-item>.product-reference-figure img{width:100%!important;height:98px!important;object-fit:contain!important}
.benefit-item>h3,.benefit-item>p{grid-column:2;position:static;margin:0;overflow-wrap:anywhere}.benefit-item>.benefit-charts{grid-column:1/-1;clear:both}
.renewal-visual .retained-fixture{object-fit:contain!important;background:#fff;border-radius:5px;padding:8px;filter:none!important}
.impact-how .carbon-principle{margin-top:18px}.carbon-principle p{line-height:1.8;max-width:70ch}.principle-heading{gap:12px;flex-wrap:wrap}.carbon-basis-panel .panel-body{line-height:1.8}.carbon-basis-panel h3{font-size:18px;color:#c6dca1;margin:20px 0 6px}.carbon-basis-panel p{margin:6px 0 12px}.carbon-basis-panel li{margin:6px 0}.carbon-basis-panel details{border-top:1px solid #ffffff30;padding-top:12px}
.dev56-reference{max-height:none!important;overflow:visible!important;white-space:pre-line;line-height:1.7}
.dev56 .dev56-upload.functional-button{background:#21313d!important;color:#f6f3e9!important;border:1px solid #d2ddc0!important;box-shadow:0 1px 4px #0004}
.dev56 .dev56-upload:focus-within{outline:2px solid #c6dca1;outline-offset:3px}
.carbon-basis-panel .panel-body{display:block!important}.carbon-basis-panel{max-height:88dvh;overflow:auto}
.footer{flex-shrink:0;clear:both}.page-body{min-width:0}.page :is(h1,h2,h3,p,small,label){overflow-wrap:break-word}
body:not(.compact-layout) .detail-page .detail-config.unified-product{overflow-y:auto;min-height:0;max-height:100%;padding:0 10px 16px 0;scrollbar-width:thin}
body:not(.compact-layout) .dev56 .dev56-form{display:block!important;overflow-y:auto!important;padding-bottom:16px}
body:not(.compact-layout) .dev56 .dev56-form>.dev56-sections{overflow:visible!important;flex:none}
/* Scenario cards use compact horizontal product rows. */
body:not(.compact-layout) .application-detail{max-height:min(62vh,580px)!important;overflow-y:auto!important;padding:20px!important;scrollbar-width:thin}
body:not(.compact-layout) .application-related{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
body:not(.compact-layout) .application-fixture{display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;grid-template-rows:auto auto;align-items:center;column-gap:14px;padding:10px!important;min-height:110px}
body:not(.compact-layout) .application-fixture>.product-reference-figure{grid-row:1/3;grid-column:1;width:110px!important;height:100px!important;margin:0;background:#fff;border-radius:4px;padding:5px}
body:not(.compact-layout) .application-fixture>.product-reference-figure img{height:90px!important;max-height:90px!important;width:100%!important;object-fit:contain!important}
body:not(.compact-layout) .application-fixture>span,body:not(.compact-layout) .application-fixture>small{grid-column:2;position:static!important;line-height:1.5;white-space:normal}
@media(max-width:1100px){
 body.compact-layout .detail-layout{gap:24px!important}
 body.compact-layout .detail-page .detail-image{width:100%!important;max-width:none!important}
 body.compact-layout .detail-page .detail-image .product-art{width:100%!important;max-width:none!important}
 body.compact-layout .detail-page .detail-image .product-art{height:clamp(290px,83vw,430px)!important;min-height:0!important}
 body.compact-layout .detail-page .form-grid{grid-template-columns:1fr!important;gap:14px}
 body.compact-layout .detail-page .field :is(select,input){font-size:16px;min-height:46px}
 body.compact-layout .detail-page .series-strip{display:grid;grid-template-columns:1fr;gap:12px}
 body.compact-layout .detail-page .detail-config.unified-product{max-height:none!important;overflow:visible!important;padding:0 0 16px!important;gap:12px}
 body.compact-layout .detail-page .row{display:grid;grid-template-columns:1fr;width:100%}
 body.compact-layout .spec-table{font-size:14px}.spec-table td{word-break:normal}
 body.compact-layout .selection-product-heading{grid-template-columns:80px minmax(0,1fr)}
 body.compact-layout .selection-product-heading>.product-reference-figure{width:80px!important;height:80px!important}
 body.compact-layout .selection-product-heading>.product-reference-figure>img{height:70px!important;max-height:70px!important}
 body.compact-layout .benefit-item{grid-template-columns:84px minmax(0,1fr);gap:8px 12px}
 body.compact-layout .benefit-item>.product-reference-figure{width:84px!important;height:84px}.benefit-item>.product-reference-figure img{max-height:98px!important}
 body.compact-layout .benefit-item>.product-reference-figure img{height:72px!important}
 body.compact-layout .portrait-city .portrait-impact,body.compact-layout .portrait-city .portrait-development{background:#243743d9!important;border-radius:5px;padding:8px 10px!important;text-shadow:none!important}
 body.compact-layout .portrait-city .portrait-impact small,body.compact-layout .portrait-city .portrait-development small{color:#e5eadc!important;font-weight:500;line-height:1.5}
 body.compact-layout .portrait-city .portrait-collection{display:flex!important;flex-direction:column!important;align-items:flex-start;gap:5px;left:7%!important;bottom:4%!important;top:auto!important;width:70%!important;max-width:none!important;height:auto!important;padding:8px!important;background:#243743df;border-radius:5px;text-align:left}
 body.compact-layout .portrait-collection>span{width:auto!important;max-width:none!important}
 body.compact-layout .portrait-collection>span i{display:inline!important;position:static!important;margin-left:4px}
 body.compact-layout .portrait-collection>span{order:0;font-size:17px;line-height:1.5;white-space:normal}
 body.compact-layout .portrait-collection>small{order:1;font-size:12px;color:#d1dec3;line-height:1.5}
 body.compact-layout .portrait-collection>img{order:2;width:58px!important;height:58px!important;position:static!important;object-fit:contain;margin:3px 0 0!important}
 body.compact-layout .topic-product{display:grid;grid-template-columns:85px minmax(0,1fr);gap:12px;align-items:center}
 body.compact-layout .topic-product .product-reference-figure{height:85px;width:85px;background:#fff;padding:5px}
 body.compact-layout .topic-product .product-reference-figure>img{height:75px!important;max-height:75px!important}
 body.compact-layout .mobile-rail-product .product-reference-figure{height:160px!important}
 body.compact-layout .mobile-rail-product .product-reference-figure>img{height:135px!important;max-height:135px!important}
 body.compact-layout .rail-specification{white-space:normal;overflow-wrap:anywhere;line-height:1.55}
}
