/* Mobile only. Desktop receives only the removal of the manual acknowledgement. */
body.compact-layout .portrait-impact strong{font-weight:650}
body.compact-layout .portrait-impact small{color:#142c3c;font-weight:600;text-shadow:0 1px 1px #d8e3de77}
body.compact-layout .portrait-cycle-symbol{stroke:none;fill:initial;filter:none}
body.compact-layout .portrait-development{top:75%;right:7%;max-width:48%}
.portrait-development:before{content:"";position:absolute;bottom:100%;right:45%;height:15px;width:1px;background:#d2e6ad88;pointer-events:none}
body.compact-layout .portrait-collection{top:81%;left:5%}
body.compact-layout .city-area{background:transparent;backdrop-filter:none;border:0;box-shadow:none;padding:8px 0!important;min-height:44px;font-weight:550;isolation:isolate}
.city-area:before{content:"";position:absolute;inset:7px -5px;background:#142b3c3d;backdrop-filter:blur(3px);z-index:-1;pointer-events:none}
.city-area:after{left:18%;height:9px}.city-area-visual:after{left:76%}
body.compact-layout .portrait-porthole{width:48%;border-radius:0;mask-image:url('assets/porthole-soft-mask.svg');-webkit-mask-image:url('assets/porthole-soft-mask.svg');mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-repeat:no-repeat;mask-mode:alpha;box-shadow:none}
/* Co-development copy and authored title breaks. */
body.compact-layout .mobile-service-copy>small{font-size:14px;letter-spacing:.1em}
body.compact-layout .mobile-service-copy h2{overflow-wrap:normal;word-break:normal}
body.compact-layout .worktable-heading h1{font-size:27px;line-height:1.3}
/* Family headline above a centered, manually controlled continuous rail. */
body.compact-layout .mobile-product-families{gap:22px}
body.compact-layout .mobile-family-row{display:block;padding:0 0 20px;min-width:0}
.mobile-family-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px;min-width:0}
body.compact-layout .mobile-family-heading h2{font-size:clamp(22px,6cqw,28px)!important;font-weight:650;line-height:1.2;margin:0;white-space:nowrap;word-break:keep-all}
body.compact-layout .mobile-family-heading .mobile-family-explore{font-size:12px;line-height:1.3;white-space:nowrap;min-height:44px;margin:0;flex:none}
body.compact-layout .mobile-product-rail{display:flex;position:relative;gap:12px;padding:0 0 10px;scroll-snap-type:x mandatory;scrollbar-width:none;overflow-x:auto;overscroll-behavior-x:contain}
.mobile-product-rail::-webkit-scrollbar{display:none}
body.compact-layout .mobile-rail-product{flex:0 0 calc((100% - 24px)/2);width:calc((100% - 24px)/2);min-width:0;max-width:none;scroll-snap-align:center;opacity:.55;transition:opacity .18s}
body.compact-layout .mobile-rail-product.is-center{opacity:1}
body.compact-layout .mobile-rail-product .product-card{padding:4px!important;border:0;background:transparent!important;text-align:center;max-width:100%;min-width:0}
body.compact-layout .mobile-rail-product .product-card .art{height:130px;max-height:130px;margin-bottom:9px}
body.compact-layout .mobile-rail-product .product-card h2{font-size:15px!important;font-weight:550;line-height:1.25!important}
body.compact-layout .mobile-rail-product .subtle{font-size:11px!important;line-height:1.4!important}
body.compact-layout .rail-specification{font-size:10px;padding:5px 0 0;text-align:center;overflow-wrap:anywhere}
/* Compact parent + three siblings, with the family selector on the next row. */
body.compact-layout .catalog-page .collection-navigation{display:block;gap:0;margin:0}
body.compact-layout .catalog-page .collection-hierarchy{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:0 12px}
body.compact-layout .catalog-page .collection-parent{display:inline-flex;align-items:center;gap:3px;min-height:42px;align-self:auto;border-right:1px solid var(--line);padding:0 10px 0 0;font-size:12px;white-space:nowrap;flex:none}
body.compact-layout .catalog-page .collection-hierarchy .category-nav{display:flex;flex:1;width:auto;gap:10px;flex-wrap:nowrap;min-width:0;margin:0}
body.compact-layout .catalog-page .category-nav a{font-size:12px!important;padding:9px 0!important;white-space:nowrap;line-height:1.3}
body.compact-layout .catalog-page .collection-hierarchy>.product-jump{flex:0 0 100%;width:100%;padding:8px 0 0;border:0;margin:0}
body.compact-layout .catalog-page .page-heading p{font-weight:550}
body.compact-layout .category-page{gap:14px}
/* Results lead to a separate project and download panel on phones. */
body.compact-layout .selection-layout{display:block;height:auto}
body.compact-layout .selection-next{margin-top:20px}
body.compact-layout .selection-next button{width:100%;min-height:48px}
body.compact-layout dialog.selection-summary-panel{width:calc(100% - 24px);max-width:520px;max-height:calc(100svh - 24px);overflow:auto;padding:24px 18px}
body.compact-layout .selection-summary-panel .panel-body{padding-top:35px;gap:0}
body.compact-layout .selection-summary-panel .selection-download{padding:0;border:0;display:flex;flex-direction:column;gap:14px;height:auto;overflow:visible}
body.compact-layout .selection-summary-panel h2{font-size:25px;line-height:1.3;margin:0}
body.compact-layout .selection-summary-panel p{font-size:14px;line-height:1.6;margin:0}
body.compact-layout .selection-summary-panel label{font-size:14px;gap:6px}
body.compact-layout .selection-summary-panel small{font-size:12px;line-height:1.5}
body.compact-layout .selection-summary-panel .confirm{margin:4px 0;font-size:13px}
html.force-mobile-preview body.compact-layout .selection-summary-panel{width:calc(var(--mobile-preview-width,480px) - 24px);max-width:min(520px,calc(100vw - 24px))}
@media(prefers-reduced-motion:reduce){.mobile-rail-product{transition:none!important}}
