/* finesse · incumbent parity · product/operate · no new palette or native UI changes.
 * cqw uses the phone's inner width: 750 native rpx = 100cqw, not desktop px.
 * Only the mobile-preview subtree is in scope; ordinary admin pages stay unchanged. */
.parity-phone-shell {
  --phone-screen-height:calc(var(--parity-phone-height) - 12px);
  --phone-safe-bottom:14px;
  --phone-nav-reserve:calc(25.866667cqw + var(--phone-safe-bottom));
  container-type:inline-size;
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;
}
.parity-phone-shell.parity-device-huawei { --phone-screen-height:calc(var(--parity-phone-height) - 10px); }
.parity-phone-shell .parity-phone-scroll { background:#fff; padding-bottom:var(--phone-nav-reserve); bottom:0; }
.parity-phone-shell[data-has-tab-bar="false"] .parity-phone-scroll { padding-bottom:var(--phone-safe-bottom); }
.parity-phone-shell[data-preview-page="selection"] .parity-phone-scroll { padding-bottom:76px; bottom:14px; }
.parity-phone-shell .parity-phone-wordmark { width:16.533333cqw; height:4cqw; justify-self:center; object-fit:contain; }
.parity-phone-shell .parity-phone-search-icon { position:relative; margin-left:6px; width:14px; height:14px; border:1.5px solid #252922; border-radius:50%; }
.parity-phone-shell .parity-phone-search-icon::after { content:""; position:absolute; width:7px; height:1.5px; right:-5px; bottom:-2px; transform:rotate(45deg); background:#252922; }
.parity-phone-shell .parity-phone-back { width:10px; height:10px; margin-left:7px; border-left:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); }
.parity-phone-shell .parity-phone-native-title { font-size:14px; font-weight:600; text-align:center; white-space:nowrap; }
.parity-phone-shell[data-home-immersive="true"] .parity-phone-scroll { top:0; }
.parity-phone-shell[data-home-immersive="true"] .parity-phone-top,
.parity-phone-shell[data-home-immersive="true"] .parity-device-status { background:transparent; color:#fff; }
.parity-phone-shell[data-home-immersive="true"] .parity-phone-wordmark { filter:brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.parity-phone-shell[data-home-immersive="true"] .parity-mini-controls { color:#fff; border-color:rgba(255,255,255,.4); background:rgba(0,0,0,.12); }
.parity-page-preview-disclaimer { max-width:342px; margin:12px auto 0; color:var(--parity-muted); font-size:11px; line-height:1.65; }
.parity-phone-stage .parity-phone-workspace { margin-bottom:52px; }
.parity-phone-shell[data-home-immersive="true"] .parity-preview-hero.is-selected:has(> .is-immersive)::after { top:85px; }

/* Current shared glass bar, preview only. Native routes/configuration remain untouched. */
.parity-phone-shell .parity-phone-nav { left:4.266667cqw; right:4.266667cqw; bottom:calc(var(--phone-safe-bottom) + 2.4cqw); height:20.266667cqw; padding:1.333333cqw 1.6cqw 1.066667cqw; }
.parity-phone-shell .parity-phone-nav-glass { border:1px solid rgba(255,255,255,.72); border-radius:999px; clip-path:none; -webkit-clip-path:none; background:color-mix(in srgb, var(--parity-nav-bg, #fff) 24%, transparent); backdrop-filter:blur(14px) saturate(1.08) brightness(1.12); -webkit-backdrop-filter:blur(14px) saturate(1.08) brightness(1.12); box-shadow:inset 0 1px 1px rgba(255,255,255,.38),0 5px 18px rgba(25,28,24,.16); }
.parity-phone-shell .parity-phone-nav button { gap:0; padding:0; height:17.066667cqw; }
.parity-phone-shell .parity-nav-icon { width:10.666667cqw; height:10.666667cqw; }
.parity-phone-shell .parity-phone-nav img { width:6.4cqw; height:6.4cqw; }
.parity-phone-shell .parity-phone-nav b { height:3.733333cqw; margin-top:.533333cqw; font-size:2.933333cqw; line-height:3.733333cqw; font-weight:550; }
.parity-phone-shell .parity-phone-nav .is-active b { font-weight:650; }

/* Home: the first full hero includes the system status and custom navigation. */
.parity-home-template { min-height:100%; background:#fff; }
.parity-home-template > .is-hidden,
.parity-cases-template > .is-hidden { display:none; }
.parity-home-template .parity-hero-preview.full { height:calc(var(--phone-screen-height) - 13.333333cqw); }
.parity-home-template .parity-hero-preview.is-immersive { height:var(--phone-screen-height); }
.parity-home-template .parity-hero-preview.large { height:calc(var(--phone-screen-height) * .72); }
.parity-home-template .parity-hero-preview.medium { height:calc(var(--phone-screen-height) * .52); }
.parity-home-template .parity-hero-overlay { pointer-events:none; background:#000; }
.parity-home-template .parity-home-scroll-hint { position:absolute; z-index:3; left:50%; bottom:calc(27.2cqw + var(--phone-safe-bottom)); width:7.466667cqw; height:8.533333cqw; transform:translateX(-50%); pointer-events:none; }
.parity-home-template .parity-home-scroll-hint i { position:absolute; inset:auto; left:2cqw; top:0; width:2.933333cqw; height:2.933333cqw; background:none; border-right:.533333cqw solid #fff; border-bottom:.533333cqw solid #fff; transform:rotate(45deg); filter:drop-shadow(0 1px 1px rgba(0,0,0,.36)); animation:parity-home-scroll-cue 1.9s ease-in-out infinite; }
.parity-home-template .parity-home-scroll-hint i + i { top:3.2cqw; animation-delay:.18s; }
@keyframes parity-home-scroll-cue { 0%,100% { opacity:.3; transform:translateY(-.666667cqw) rotate(45deg); } 45% { opacity:1; } 75% { opacity:.12; transform:translateY(.933333cqw) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .parity-home-template .parity-home-scroll-hint i { animation:none; } }
.parity-home-template :is(.parity-preview-quickNavigation,.parity-preview-featuredProducts,.parity-preview-productRail) { padding:10.133333cqw 4.266667cqw; }
.parity-home-template :is(.parity-preview-sceneGrid,.parity-preview-brandGrid,.parity-preview-caseCategory,.parity-preview-popularProducts,.parity-preview-weeklyNew,.parity-preview-categoryProducts) { padding:5.6cqw 3.733333cqw; }
.parity-home-template .parity-preview-heading { padding:0; margin:1.866667cqw 0 3.2cqw; }
.parity-home-template .parity-preview-heading strong { color:#2d211c; font-size:4.266667cqw; font-weight:600; overflow-wrap:anywhere; }
.parity-home-template :is(.parity-preview-quickNavigation,.parity-preview-featuredProducts,.parity-preview-productRail) .parity-preview-heading strong { font-size:5.6cqw; }
.parity-home-template .parity-tile-grid { gap:2.4cqw; padding:0; }
.parity-home-template .parity-tile-grid article { min-height:0; overflow:visible; background:none; }
.parity-home-template .parity-tile-grid article :is(img,.parity-media-placeholder) { display:block; height:28cqw; min-height:0; object-fit:cover; background:#eee8e2; }
.parity-home-template .parity-tile-grid.is-navigation article :is(img,.parity-media-placeholder) { height:auto; aspect-ratio:1; }
.parity-home-template .parity-tile-grid article b { position:static; display:block; margin-top:1.333333cqw; color:#5b4439; font-size:3.2cqw; font-weight:400; line-height:1.5; text-align:center; text-shadow:none; overflow-wrap:anywhere; }
.parity-home-template .parity-product-grid { padding:0; gap:3.733333cqw 2.4cqw; }
.parity-home-template .parity-product-grid.is-rail { display:flex; gap:2.666667cqw; overflow-x:auto; scrollbar-width:none; }
.parity-home-template .parity-product-grid.is-rail article { flex:0 0 33.333333cqw; }
.parity-home-template .parity-product-grid .parity-product-swatch { display:block; width:100%; height:41.333333cqw; object-fit:cover; }
.parity-home-template .parity-product-grid.is-rail .parity-product-swatch { height:40cqw; }
.parity-home-template .parity-product-grid b { margin-top:1.6cqw; color:#946f5d; font-size:2.666667cqw; font-weight:400; }
.parity-home-template .parity-product-grid small { color:#2d211c; font-size:3.2cqw; font-weight:600; overflow-wrap:anywhere; }
.parity-home-template .parity-product-grid em { margin-top:1.6cqw; color:#946f5d; font-size:2.666667cqw; font-style:normal; }
.parity-home-template .parity-icon-info { gap:1.6cqw; padding:3.733333cqw; }
.parity-home-template .parity-icon-info img { width:8cqw; height:8cqw; object-fit:contain; }
.parity-home-template .parity-icon-info b { color:#5b4439; font-size:2.8cqw; font-weight:400; }
.parity-home-template .parity-linked-images { padding:0 3.733333cqw 3.733333cqw; }
.parity-home-template .parity-linked-images.is-horizontal { grid-auto-flow:column; grid-auto-columns:70%; grid-template-columns:none!important; overflow-x:auto; }
.parity-home-template .parity-linked-images article { min-width:0; }
.parity-home-template .parity-linked-images img { display:block; width:100%; height:34.666667cqw; min-height:0; object-fit:cover; }
.parity-home-template .parity-linked-images b { display:block; margin-top:1.333333cqw; font-size:3.2cqw; line-height:1.5; font-weight:400; }
.parity-home-template .parity-search-preview { gap:2.133333cqw; margin:3.2cqw 3.733333cqw; min-height:9.6cqw; padding:0 1.6cqw 0 3.2cqw; border-color:#e6e3df; border-radius:5.066667cqw; background:#f7f6f4; }
.parity-home-template .parity-search-preview.is-square { border-radius:1.066667cqw; }
.parity-home-template .parity-search-preview i { font-style:normal; color:#8b8b84; }
.parity-home-template .parity-search-preview span { min-width:0; padding:0; color:#9b9b94; font-size:3.2cqw; }
.parity-home-template .parity-search-preview b { padding:1.6cqw 2.933333cqw; border-radius:3.466667cqw; color:#fff; background:#6a3f2d; font-size:2.933333cqw; }
.parity-home-template .parity-announcement-preview { min-height:11.733333cqw; padding:0 4cqw; color:#6a5a50; background:#fff; font-size:3.2cqw; }
.parity-home-template .parity-announcement-preview p { flex:1; }
.parity-home-template .parity-video-preview { height:56.266667cqw; }
.parity-home-template .parity-home-sales-entry { padding:10.133333cqw 4.266667cqw; color:#2d211c; }
.parity-home-template .parity-home-sales-entry b { font-size:4.8cqw; }
.parity-home-template .parity-home-sales-entry p { color:#816f65; font-size:3.466667cqw; line-height:1.6; }
.parity-home-template .parity-home-sales-entry > span { display:inline-flex; align-items:center; min-height:11.733333cqw; font-size:3.466667cqw; color:#7a4936; }

/* Cases: approved Zoki customer layout, not its legacy editable grid schema. */
.parity-cases-template { min-height:100%; box-sizing:border-box; padding:1.6cqw; color:#101522; background:#fff; }
.parity-cases-template .parity-cases-grid { gap:1.333333cqw; padding:0; }
.parity-cases-template .parity-case-cover-frame { position:relative; width:100%; aspect-ratio:3/4; overflow:hidden; background:#dfe3d9; }
.parity-cases-template .parity-case-cover { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:3/4; border-radius:0; background:#dfe3d9; }
.parity-cases-template .parity-case-cover-empty { display:flex; align-items:center; justify-content:center; font-size:2.8cqw; line-height:1.4; color:#687184; text-align:center; white-space:pre-line; }
.parity-cases-template .parity-case-display-image { display:block; width:100%; height:auto; min-height:0; }
.parity-cases-template .parity-rich-text { margin:0; padding:3.2cqw; color:#242a1f; font-size:3.733333cqw; line-height:1.7; white-space:pre-wrap; }
.parity-cases-template .parity-video-preview { height:auto; aspect-ratio:16/9; }
.parity-cases-state { margin:0; padding:5.333333cqw 1.6cqw; color:#687184; font-size:3.466667cqw; line-height:1.4; text-align:center; background:#fff; }
.parity-cases-state b { display:block; font-weight:400; }
.parity-cases-state p { margin:1.6cqw 0 0; font-size:2.933333cqw; line-height:1.7; color:#858b96; overflow-wrap:anywhere; }
.parity-cases-state .parity-cases-retry { min-height:11.733333cqw; margin-top:3.2cqw; padding:0 3.733333cqw; border:.133333cqw solid #dde1e7; border-radius:1.066667cqw; color:#101522; background:#fff; font-size:3.733333cqw; font-weight:620; }

/* Contact: no invented salesperson/address. Supplied records use native anatomy. */
.parity-phone-shell .parity-contact-template { display:block; padding:3.733333cqw; background:#f8f5f2; color:#2d211c; }
.parity-contact-template .parity-contact-intro { margin:1.6cqw .533333cqw 4.533333cqw; padding:0; }
.parity-contact-template .parity-contact-intro b { font-size:5.6cqw; line-height:1.25; }
.parity-contact-template .parity-sales-card { padding:4.8cqw 4.533333cqw 4cqw; }
.parity-contact-template .parity-sales-identity { gap:3.2cqw; }
.parity-contact-template .parity-sales-avatar { flex:none; width:13.866667cqw; height:13.866667cqw; border:1px solid rgba(116,78,59,.1); border-radius:2.666667cqw; object-fit:cover; background:#e8dfd8; }
.parity-contact-template .parity-sales-avatar.is-fallback { padding:3.2cqw; object-fit:contain; box-sizing:border-box; }
.parity-contact-template .parity-sales-identity strong { color:#2d211c; font-size:4.533333cqw; font-weight:650; }
.parity-contact-template .parity-sales-identity span span { gap:1.866667cqw; }
.parity-contact-template .parity-sales-identity span b { padding:.8cqw 1.6cqw; font-size:2.533333cqw; }
.parity-contact-template .parity-sales-identity small { margin-top:1.066667cqw; color:#715e54; font-size:3.333333cqw; }
.parity-contact-template .parity-sales-card > p { margin:4cqw 0 0; padding-top:3.2cqw; color:#76675f; font-size:3.2cqw; line-height:1.65; }
.parity-contact-template .parity-sales-card .parity-workflow-primary { min-height:11.733333cqw; margin-top:4cqw; font-size:3.733333cqw; }
.parity-contact-template .parity-copy-phone { min-height:11.733333cqw; margin:0; color:#765242; font-size:3.2cqw; }
.parity-contact-template .parity-address-section { margin-top:5.6cqw; }
.parity-contact-template .parity-address-section header { margin:0 .533333cqw 2.133333cqw; padding:0; }
.parity-contact-template .parity-address-section header b { font-size:3.866667cqw; font-weight:650; }
.parity-contact-template .parity-address-list { padding:0 3.733333cqw; }
.parity-contact-template .parity-address-list article { grid-template-columns:9.6cqw minmax(0,1fr); gap:2.933333cqw; padding:3.733333cqw 0; }
.parity-contact-template .parity-address-list article > i { width:9.6cqw; height:9.6cqw; border-radius:2.666667cqw; }
.parity-contact-template .parity-address-list article b { font-size:3.6cqw; }
.parity-contact-template .parity-address-list article small { font-size:2.533333cqw; }
.parity-contact-template .parity-address-list article p { margin-top:1.333333cqw; font-size:3.2cqw; line-height:1.6; overflow-wrap:anywhere; }
.parity-contact-template .parity-address-list article footer { gap:3.733333cqw; margin-top:2.4cqw; }
.parity-contact-template .parity-address-list article footer button { min-height:11.733333cqw; font-size:3.066667cqw; }
.parity-contact-template .parity-contact-state { margin:0; padding:5.6cqw 0; color:#8c7b72; font-size:3.333333cqw; line-height:1.6; text-align:center; }
.parity-contact-template .parity-contact-wecom { display:grid; gap:1cqw; margin-top:3.733333cqw; text-align:center; }
.parity-contact-template .parity-contact-wecom b { font-size:3.333333cqw; }
.parity-contact-template .parity-contact-wecom small { font-size:2.666667cqw; }
.parity-contact-template .parity-contact-wecom > span { margin:1.4cqw auto 0; width:17.066667cqw; min-height:17.066667cqw; display:grid; place-content:center; color:#1677d2; background:#eaf3fb; font-size:2.4cqw; line-height:1.5; }
.parity-phone-shell .parity-contact-template.radius-small .parity-workflow-panel { border-radius:.8cqw; }
.parity-phone-shell .parity-contact-template.radius-medium .parity-workflow-panel { border-radius:1.866667cqw; }
.parity-phone-shell .parity-contact-template.is-soft .parity-workflow-panel { background:#f8f6f3; }
.parity-phone-shell .parity-contact-template.is-plain .parity-workflow-panel { padding-left:4.533333cqw; padding-right:4.533333cqw; background:#fff; border:0; box-shadow:none; }

/* Product detail is a non-tab page; widthFix details must not turn into thumbnails. */
.parity-phone-shell[data-preview-page="product-detail"] .parity-phone-scroll { background:#f8f5f2; }
.parity-product-detail-template { padding:3.733333cqw 3.733333cqw 23.466667cqw; background:#f8f5f2; }
.parity-product-detail-template .parity-product-detail-summary { gap:1.066667cqw; padding:4.8cqw 3.733333cqw 4cqw; border-bottom:1px solid #eadfd8; background:#fffdfa; }
.parity-product-detail-template .parity-product-detail-summary > small { font-family:inherit; font-size:3.2cqw; font-weight:700; letter-spacing:normal; }
.parity-product-detail-template .parity-product-detail-summary > strong { margin-top:1.066667cqw; font-family:inherit; font-size:5.6cqw; line-height:1.25; font-weight:700; overflow-wrap:anywhere; }
.parity-product-detail-template .parity-product-detail-metrics { margin-top:3.733333cqw; gap:2.666667cqw; padding:2.933333cqw 0; border-top:0; }
.parity-product-detail-template :is(.parity-product-detail-metrics span,.parity-product-detail-composition span) { font-size:3.2cqw; }
.parity-product-detail-template .parity-product-detail-metrics b { font-size:3.466667cqw; font-weight:400; }
.parity-product-detail-template .parity-product-detail-composition { grid-template-columns:10.133333cqw minmax(0,1fr); gap:2.666667cqw; padding-top:3.2cqw; }
.parity-product-detail-template .parity-product-detail-composition p { color:#3f3029; font-size:3.466667cqw; line-height:1.65; }
.parity-product-detail-template .parity-product-detail-gallery { gap:0; margin-top:3.2cqw; padding:0; }
.parity-product-detail-template .parity-product-detail-image { display:block; width:100%; height:auto; min-height:0; border-radius:0; object-fit:contain; }
.parity-phone-shell[data-preview-page="product-detail"] .parity-product-detail-actions { position:absolute; z-index:5; left:3.733333cqw; right:3.733333cqw; bottom:calc(var(--phone-safe-bottom) + 2.933333cqw); grid-template-columns:1fr 1fr; gap:2.4cqw; padding:2.4cqw 0 0; border:0; background:transparent; }
.parity-phone-shell[data-preview-page="product-detail"] .parity-product-detail-actions button { min-height:11.733333cqw; border:0; border-radius:1.066667cqw; font-size:3.733333cqw; background:#f2e8e0; }
.parity-phone-shell[data-preview-page="product-detail"] .parity-product-detail-actions button:last-child { background:#6a3f2d; }
.parity-detail-visitor-gate { padding:8cqw 4.8cqw; color:#3f3029; font-size:3.466667cqw; text-align:center; }
.parity-detail-visitor-gate i { display:block; height:3cqw; margin-bottom:3cqw; background:#d8ccc5; filter:blur(3px); opacity:.5; }
.parity-detail-visitor-gate b { display:block; margin-top:8cqw; font-size:4cqw; }
.parity-detail-visitor-gate p { font-size:3.466667cqw; line-height:1.55; }
.parity-detail-visitor-gate button { min-height:11.733333cqw; padding:0 3.2cqw; border:0; border-radius:1.866667cqw; color:#fff; background:#704331; font-size:3.333333cqw; }

/* Catalog keeps the four-slot contract even before the owner names the systems. */
.parity-catalog-template .parity-category-main-grid { margin:0; padding:0 3.2cqw; gap:1.866667cqw; border-top:0; }
.parity-catalog-template .parity-category-main-grid button { padding-bottom:1.066667cqw; }
.parity-catalog-template .parity-category-main-grid button > span { border-radius:2.4cqw; }
.parity-catalog-template .parity-category-main-grid b { margin-top:1.066667cqw; font-size:2.666667cqw; line-height:4cqw; }
.parity-catalog-template .parity-category-browser { grid-template-columns:20cqw minmax(0,1fr); }
.parity-catalog-tree .parity-catalog-products.catalog-view-list { padding:0 2.666667cqw 4cqw; }
.parity-catalog-tree .parity-catalog-products.catalog-view-list article { gap:2.666667cqw; padding:3.733333cqw 0; border:0; border-bottom:1px solid #d9ddd5; border-radius:0; background:transparent; }
.parity-catalog-tree .catalog-view-list .parity-product-swatch { width:20cqw; height:21.866667cqw; border-radius:2.4cqw; }
.parity-catalog-tree .catalog-view-list :is(b,strong) { font-size:3.2cqw; line-height:4.533333cqw; }
.parity-catalog-tree .catalog-view-list small { font-size:2.8cqw; line-height:4.533333cqw; }
.parity-catalog-tree .catalog-view-grid article > div { padding:1.066667cqw 0 0; text-align:center; }
.parity-catalog-tree .catalog-view-grid :is(b,strong) { margin:0; font-size:2.4cqw; line-height:3.733333cqw; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
