/* Shared layout corrections. Loaded after page and language styles. */
.detail-layout > *, .detail-input-grid > *, .product-hero-grid > *,
.product-model-selector-layout > *, .equipment-grid > *, .card-grid > *,
.product-carousel-head > *, .system-journey-inner > * { min-width:0; }
.detail-input-grid .asset-placeholder { min-width:0; }
.detail-layout, .product-hero-grid { overflow-wrap:break-word; }
.technology-full-hero .technology-hero-copy :is(h1,p,.technology-hero-en),
.news-full-hero .about-hero-copy p { white-space:normal; overflow-wrap:break-word; }
.technology-full-hero .technology-hero-en { text-wrap:balance; }
.contact-network-card .network-role { position:static; display:block; margin-top:18px; overflow-wrap:anywhere; }
.contact-network-card :is(small,h3,p) { overflow-wrap:break-word; }
.contact-network-card { display:flex; flex-direction:column; align-items:flex-start; }
.contact-network-card .network-role { margin-top:auto; padding-top:18px; }

@media(max-width:1180px) {
 .industry-showcase { height:auto; min-height:0; padding-block:72px; }
 .industry-showcase .industry-card-grid { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:none; gap:12px; min-height:0; }
 .industry-showcase .industry-card-grid .industry-accordion-panel { min-width:0; min-height:96px; height:auto; margin:0; flex:none; border-radius:12px; box-shadow:0 8px 22px rgba(2,22,48,.12); }
 .industry-showcase .industry-card-grid .industry-accordion-panel.active { min-height:0; }
 .industry-showcase .industry-accordion-panel .panel-collapsed { inset:0; display:flex; flex-direction:row; align-items:center; justify-content:flex-start; gap:16px; padding:24px; }
 .industry-showcase .industry-accordion-panel .panel-collapsed h3 { width:auto; height:auto; min-width:0; writing-mode:horizontal-tb; font-size:18px; line-height:1.4; overflow-wrap:break-word; }
 .industry-showcase .industry-accordion-panel .panel-collapsed .panel-icon { flex-shrink:0; align-self:center; }
 .industry-showcase .industry-accordion-panel .panel-expanded { display:none; position:relative; inset:auto; width:100%; max-width:100%; padding:28px; transform:none; }
 .industry-showcase .industry-accordion-panel.active .panel-expanded { display:block; transform:none; }
 .industry-showcase .industry-accordion-panel .panel-expanded ul { grid-template-columns:minmax(0,1fr); }
 .industry-showcase .industry-accordion-panel .panel-expanded :is(p,small,li,h3) { min-width:0; overflow-wrap:break-word; }
 .industry-showcase .industry-next { position:relative; top:auto; right:auto; bottom:auto; margin:20px 0 0 auto; transform:none; }
 .industry-showcase .industry-next:hover { transform:translateX(3px); }
}

@media(max-width:1100px) {
 .contact-network-section .contact-network-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; overflow:visible; padding:0; scroll-snap-type:none; }
 .contact-network-section .contact-network-card { flex:none; min-height:180px; padding:24px; }
}

@media(max-width:860px) {
 .detail-layout, .product-hero-grid { grid-template-columns:minmax(0,1fr); }
 .product-model-selector-layout { grid-template-columns:minmax(0,1fr); }
 .detail-layout .side-index { min-width:0; max-width:100%; }
 .technology-full-hero .technology-hero-copy { left:22px; right:22px; width:auto; padding:30px 26px; }
 .technology-full-hero .technology-hero-copy h1 { font-size:clamp(26px,5vw,40px); letter-spacing:.04em; }
 .technology-full-hero .technology-hero-copy p { font-size:15px; }
 .journey-node :is(.journey-label-zh,.journey-label-en) { max-width:100%; min-width:0; overflow-wrap:anywhere; }
 .proof-action .btn { max-width:100%; white-space:normal; text-align:center; }
}

@media(max-width:700px) {
 .contact-network-section .contact-network-list { grid-template-columns:minmax(0,1fr); }
 .contact-network-section .contact-network-card { min-height:170px; }
 .contact-network-section .contact-network-card h3 { margin-top:12px; font-size:22px; }
 .contact-network-section .contact-network-card small { font-size:11px; }
 .contact-network-section .contact-network-card p { font-size:14px; }
 .contact-network-section .contact-network-card .network-role { font-size:10px; }
 .detail-input-grid { grid-template-columns:minmax(0,1fr); }
 .node-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
 .node-gallery .node-figure figcaption { padding:14px 12px; overflow-wrap:anywhere; }
 .card-grid :is(p,h3,.eyebrow,small) { overflow-wrap:anywhere; }
 .technology-full-hero .technology-hero-copy { left:16px; right:16px; padding:26px 20px; }
 .technology-full-hero .technology-hero-en { font-size:clamp(14px,3.8vw,22px); line-height:1.4; }
 .technology-full-hero .technology-hero-copy h1 { white-space:normal; }
 .industry-showcase .industry-accordion-panel .panel-expanded { padding:26px 22px; }
 .industry-showcase .industry-accordion-panel .panel-expanded h3 { font-size:28px; }
 .clean-card .clean-card-data { flex-wrap:wrap; }
 .clean-card .clean-card-data strong { overflow-wrap:anywhere; line-height:1.25; }
 .clean-card .clean-card-data em { margin-left:0; }
 .product-carousel-head .product-carousel-controls { width:100%; flex-wrap:wrap; justify-content:space-between; }
 .product-carousel-head .product-carousel-controls button { flex:1 1 80px; min-width:0; min-height:44px; height:auto; padding:10px 8px; white-space:normal; }
 .product-carousel-head .product-carousel-count { flex:0 0 auto; }
 .floating-contact { top:auto; right:12px; bottom:calc(12px + env(safe-area-inset-bottom,0px)); flex-direction:row; gap:8px; transform:none; }
 .floating-contact .floating-contact-button { width:44px; height:44px; }
 .floating-contact .support-launcher > span { display:none; }
 .floating-contact .floating-contact-panel { position:fixed; top:auto; right:12px; bottom:calc(72px + env(safe-area-inset-bottom,0px)); min-width:0; width:min(240px,calc(100vw - 24px)); max-width:calc(100vw - 24px); transform:translateY(8px); }
 .floating-contact .floating-contact-panel::after { display:none; }
 .floating-contact .floating-contact-item.is-open .floating-contact-panel { transform:none; }
 .floating-contact .floating-contact-panel.is-qr { width:184px; }
 .floating-contact .floating-contact-panel a { white-space:normal; overflow-wrap:anywhere; }
 html .customer-support { top:auto; right:12px; bottom:calc(72px + env(safe-area-inset-bottom,0px)); width:calc(100vw - 24px); max-width:420px; height:min(620px,calc(100dvh - 156px - env(safe-area-inset-bottom,0px))); max-height:calc(100dvh - 156px - env(safe-area-inset-bottom,0px)); }
 .customer-support .support-heading > div { min-width:0; }
 .customer-support .support-heading h2 { font-size:17px; overflow-wrap:break-word; }
 .customer-support .support-close { flex-shrink:0; }
 .customer-support .support-messages { min-height:0; }
 .customer-support .support-questions { flex-wrap:wrap; }
 body:has(.floating-contact) { padding-bottom:calc(76px + env(safe-area-inset-bottom,0px)); }
}

@media(max-width:360px) {
 .journey-axis .journey-node { padding-inline:1px; }
 .journey-axis .journey-label-en { font-size:7px; letter-spacing:0; }
 .journey-axis .journey-label-zh { font-size:12px; }
 .node-gallery { gap:10px; }
 .node-gallery .node-figure figcaption { padding:12px 10px; }
}

@media(max-height:500px) and (max-width:900px) {
 .technology-full-hero .technology-hero-copy { top:calc(50% + 34px); padding-block:16px; }
 .technology-full-hero .technology-hero-copy h1 { margin-top:10px; font-size:26px; }
 .technology-full-hero .technology-hero-copy p { margin-top:12px; }
 html .customer-support { top:76px; bottom:12px; height:calc(100dvh - 88px); max-height:calc(100dvh - 88px); }
 .customer-support .support-heading { padding:12px; }
 .customer-support .support-notice { display:none; }
}
/* Tables keep their own horizontal scroll instead of widening the page. */
.spec-table-wrapper { min-width:0; max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.clean-card .clean-card-data { flex-wrap:wrap; }
.clean-card .clean-card-data > * { min-width:0; }
.clean-card .clean-card-data strong { overflow-wrap:anywhere; line-height:1.25; }
@media(max-width:860px) {
 .proof-action .link-arrow, .card .link-arrow { width:fit-content; max-width:100%; min-width:0; white-space:normal; overflow-wrap:anywhere; }
 .proof-action .link-arrow::after, .card .link-arrow::after { flex-shrink:0; }
 .node-gallery { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:700px) {
 .node-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .product-slide figcaption { flex-direction:column; gap:8px; }
 .product-slide figcaption :is(strong,small) { min-width:0; max-width:100%; overflow-wrap:anywhere; }
}
/* Long controls must also fit narrow columns on tablet/desktop layouts. */
.product-carousel-head { flex-wrap:wrap; }
.product-carousel-head .product-carousel-controls { max-width:100%; flex-wrap:wrap; }
.product-carousel-head .product-carousel-controls button { min-width:0; min-height:44px; height:auto; white-space:normal; }
.product-slide figcaption { flex-wrap:wrap; }
.product-slide figcaption :is(strong,small) { min-width:0; max-width:100%; overflow-wrap:anywhere; }
.site-footer .footer-brand p span { white-space:normal; overflow-wrap:break-word; text-align:left; text-align-last:auto; }
.industry-solutions-section .industry-solution-stage > * { min-width:0; }
.industry-solutions-section .industry-solution-visual { margin-right:0; }
.industry-solutions-section .industry-solution-visual img { width:100%; max-width:100%; }
@media(min-width:1281px) {
 .industry-solutions-section .industry-solution-stage { grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(0,1.8fr); gap:clamp(28px,3vw,56px); }
}
@media(min-width:601px) and (max-width:1280px) {
 .industry-solutions-section .industry-solution-stage { grid-template-columns:minmax(0,1fr) minmax(0,1.45fr); gap:28px; }
 .industry-solutions-section .industry-solution-tabs { grid-column:1/-1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
 .industry-solutions-section .industry-solution-copy { padding-top:20px; }
}
@media(max-width:1180px) {
 .product-model-selector-layout { grid-template-columns:minmax(0,1fr); }
 .product-model-selector-layout .product-model-list { flex-direction:row; overflow-x:auto; }
 .product-model-selector-layout .product-model-list button { flex:0 0 auto; width:auto; white-space:nowrap; border-right:1px solid var(--line); border-bottom:0; }
}
@media(max-width:700px) {
 .customer-support .support-questions { flex-wrap:nowrap; max-height:58px; }
}
@media(max-height:500px) and (max-width:900px) {
 .customer-support .support-questions { flex-wrap:nowrap; max-height:58px; }
}
@media(max-width:1180px) {
 .industry-showcase .industry-accordion-panel.active .panel-collapsed { display:none; }
}
@media(max-height:500px) and (max-width:900px) {
 .customer-support .support-messages { min-height:0; padding:12px; }
 .customer-support .support-heading p { margin-top:2px; font-size:11px; }
 .customer-support .support-form { padding-block:8px; }
}
/* Tablets use the same compact contact dock as phones. */
@media(min-width:701px) and (max-width:1100px) {
 .floating-contact { top:auto; right:12px; bottom:calc(12px + env(safe-area-inset-bottom,0px)); flex-direction:row; gap:8px; transform:none; }
 .floating-contact .floating-contact-button { width:44px; height:44px; }
 .floating-contact .support-launcher > span { display:none; }
 .floating-contact .floating-contact-panel { position:fixed; top:auto; right:12px; bottom:calc(72px + env(safe-area-inset-bottom,0px)); min-width:0; width:240px; max-width:calc(100vw - 24px); transform:translateY(8px); }
 .floating-contact .floating-contact-panel::after { display:none; }
 .floating-contact .floating-contact-item.is-open .floating-contact-panel { transform:none; }
 .floating-contact .floating-contact-panel.is-qr { width:210px; }
 body:has(.floating-contact) { padding-bottom:calc(76px + env(safe-area-inset-bottom,0px)); }
}
@media(max-height:500px) and (max-width:1100px) {
 body:has(.customer-support.is-open) .floating-contact { visibility:hidden; }
}
/* A vertical timeline must grow with all milestones, rather than stay one screen tall. */
@media(max-width:800px) {
 .about-wide-page main #history.history-explorer { height:auto; min-height:0; overflow:hidden; }
 .about-wide-page main #history.history-explorer > .container { height:auto; display:block; }
 .about-wide-page main #history.history-explorer .history-scroll { position:relative; inset:auto; overflow:visible; }
 .about-wide-page main #history.history-explorer .history-canvas { height:auto; min-width:0; }
 .about-wide-page main #history.history-explorer .history-items { position:relative; inset:auto; }
 .about-wide-page main #history.history-explorer .history-node { min-height:0; }
 .about-wide-page main #history.history-explorer .history-node-copy { position:relative; top:auto; left:auto; width:auto; max-width:none; opacity:1; transform:none; animation:none; }
 .about-wide-page main #history.history-explorer .history-items { gap:32px 24px; }
}

