body[data-detail-selected] [data-demo-pill], body[data-detail-selected] #hero .v7-cta[data-demo-pill] {
    display:inline-flex!important; align-items:center; justify-content:space-between!important;
    gap:16px; min-width:0; min-height:54px; max-width:100%;
    padding:5px 6px 5px 19px!important; border:1px solid #ffffff75!important; border-radius:999px!important;
    background:#080808c7!important; box-shadow:none!important; color:#fff!important;
    transition:background .55s cubic-bezier(.16,.8,.2,1),border-color .55s cubic-bezier(.16,.8,.2,1);
  }
  body[data-detail-selected] [data-demo-pill]:is(.payment-primary,.consult-submit,.purchase-submit), body[data-detail-selected] #hero .v7-cta[data-demo-pill] {background:var(--atlas-red, #84251c)!important; border-color:var(--atlas-red, #84251c)!important}
  body[data-detail-selected] [data-demo-pill]:hover {background:#232323!important; border-color:#fff!important}
  body[data-detail-selected] [data-demo-pill]:is(.payment-primary,.consult-submit,.purchase-submit):hover {background:var(--atlas-red-hover, #9b3429)!important}
  body[data-detail-selected] [data-demo-pill] > svg {display:none!important}
  body[data-detail-selected] #hero .v7-cta[data-demo-pill].ds-split-action {
    display:flex!important; width:100%; justify-content:space-between!important;
    align-items:center!important; gap:12px!important; white-space:normal;
  }
  body[data-detail-selected] #hero .v7-actions > [data-demo-pill] {min-width:0; white-space:normal;}
  body[data-detail-selected] #hero .v7-actions > [data-demo-pill] > span:first-child {min-width:0; padding:0; text-align:left;}
  body[data-detail-selected] #hero .v7-actions > [data-demo-pill] > .demo-pill-icon {flex:0 0 42px;}
  @media (min-width:761px) and (max-width:1150px) {
    body[data-detail-selected] #hero .v7-actions {flex:1 1 100%; width:100%!important; margin:0;}
  }
  body[data-detail-selected] #hero .v7-cta[data-demo-pill] > .demo-pill-icon {padding:0; color:var(--atlas-red, #84251c)!important}
  body[data-detail-selected] [data-demo-pill] .demo-pill-icon {display:grid; flex:0 0 42px; width:42px; height:42px; place-items:center; border-radius:50%; background:#fff; color:var(--atlas-red, #84251c); overflow:hidden}
  body[data-detail-selected] [data-demo-pill] .demo-pill-icon svg {display:block!important; width:18px!important; height:18px!important; fill:none!important; stroke:currentColor!important; stroke-width:1.5; transform:none!important}
  body[data-detail-selected] [data-demo-pill] .demo-pill-icon path {fill:none!important; stroke:currentColor!important; translate:0; rotate:0deg; transform-origin:center; transition:translate .55s cubic-bezier(.16,.8,.2,1),rotate .55s cubic-bezier(.16,.8,.2,1)}
  body[data-detail-selected] [data-demo-pill]:is(:hover,:focus-visible) .demo-pill-icon path {translate:3px 3px; rotate:-7deg}
  body[data-detail-selected] [data-demo-pill]:focus-visible {outline:2px solid var(--atlas-sand, #c9ad7c)!important; outline-offset:3px}
  body[data-card-layout="motion-preview"] #related {
    --preview-card-surface:#151515;
    --preview-card-edge:#383838;
  }
  html[data-deco-theme="light"] body[data-card-layout="motion-preview"] #related {
    --preview-card-surface:#fff;
    --preview-card-edge:#d2d0cd;
  }
  body[data-detail-selected][data-card-layout="motion-preview"][data-card-choice][data-card-directions][data-card-overlay] #related .cc-card {
    --project-radius:12px; border-radius:var(--project-radius)!important; overflow:hidden;
  }
  body[data-detail-selected][data-card-layout="motion-preview"] #related .cc-card .cc-media {
    border-radius:calc(var(--project-radius, 12px) - 1px) calc(var(--project-radius, 12px) - 1px) 0 0;
  }
  html body[data-detail-selected] #related .cc-card .cc-tools {gap:6px; inset:12px 12px auto auto}
  html body[data-detail-selected][data-card-choice][data-card-directions][data-card-overlay] #related .cc-card .cc-tools button {
    display:grid; place-items:center; inline-size:44px; block-size:44px; padding:0;
    border:1px solid #ffffff65!important; border-radius:50%!important;
    background:#111e!important; color:#fff!important;
  }
  html body[data-detail-selected][data-card-choice][data-card-directions][data-card-overlay] #related .cc-card .cc-tools button:hover {
    background:#343434!important; border-color:#fff!important;
  }
  html body[data-detail-selected][data-card-choice][data-card-directions][data-card-overlay] #related .cc-card .cc-tools button[aria-pressed="true"] {
    background:#f5f2ed!important; color:var(--atlas-red, #84251c)!important; border-color:#f5f2ed!important;
  }
  html body[data-detail-selected] #related .cc-card .cc-tools button svg {
    display:block; width:20px; height:20px; margin:0; pointer-events:none;
  }
  body[data-detail-selected] #materials .material-doc {border-radius:12px; overflow:hidden}
  body[data-detail-selected] #materials .material-doc .material-arrow {
    box-sizing:content-box; flex:none; width:18px; height:18px; padding:10px;
    border-radius:50%; background:#f5f2ed; color:var(--atlas-red, #84251c);
  }
  body[data-detail-selected] #materials .material-doc:hover .material-arrow {background:#fff}
  body[data-detail-selected] #construction .build-photo {border-radius:12px; overflow:hidden}
  body[data-detail-selected] #construction .build-months button {border-radius:999px}
  body[data-detail-selected] #construction .build-photo .photo-open {
    display:grid; place-items:center; border-radius:50%; background:#f5f2ed; color:var(--atlas-red, #84251c);
  }
  body[data-detail-selected] #construction .build-photo .photo-open svg {stroke:currentColor}
  body[data-detail-selected] #project-consultation[data-curtain-study="triptych"] .consult-body {border-radius:12px}
  body[data-detail-selected] #project-consultation[data-curtain-study="triptych"] .consult-channels label span {
    border-radius:999px; border-color:#ffffff52;
  }
  body[data-detail-selected] #project-consultation[data-curtain-study="triptych"] .consult-channels label input:checked + span {
    background:#f5f2ed; color:#151515; border-color:#f5f2ed; box-shadow:none;
  }
  body[data-detail-selected][data-card-layout="motion-preview"][data-card-choice][data-card-directions][data-card-overlay] #related .co-caption h3 a {
    font-size:clamp(26px, 2.5vw, 40px)!important; line-height:1.06; text-wrap:balance; overflow-wrap:anywhere;
  }
  body[data-detail-selected] #related .cc-photo-district {
    display:block; margin-top:5px; color:#e1dbd4; font-size:clamp(12px, .92vw, 14px);
    font-weight:400; letter-spacing:.01em; line-height:1.3; text-transform:none;
  }
  body[data-detail-selected] #related .cc-copy .cc-location > :only-child {text-align:left}
  body[data-detail-selected] #related :is(.kick,.metro-sign) {color:inherit!important}
  html body[data-detail-selected] #related .filters {
    width:fit-content; max-width:100%; gap:2px; flex-wrap:wrap; padding:4px;
    background:#181818; border:1px solid #515151; border-radius:24px;
  }
  html body[data-detail-selected] #related .filters [role="tab"] {
    min-height:42px; padding:8px 12px; border:1px solid transparent!important; border-radius:999px!important;
    background:transparent!important; color:#dadada!important; box-shadow:none!important;
  }
  html body[data-detail-selected] #related .filters [role="tab"]:hover {
    background:#303030!important; color:#fff!important;
  }
  html body[data-detail-selected] #related .filters [role="tab"][aria-selected="true"] {
    background:var(--atlas-red, #84251c)!important; color:#fff!important;
  }
  html body[data-detail-selected] #related .filters [role="tab"][aria-selected="true"]:hover {
    background:var(--atlas-red-hover, #9b3429)!important;
  }
  html body[data-detail-selected] #related .filters [role="tab"]:focus-visible {
    outline:2px solid currentColor!important; outline-offset:-4px;
  }
  html body[data-detail-selected] #related :is([data-rail-prev],[data-rail-next]) {
    display:grid!important; place-items:center; padding:0!important;
    inline-size:50px; block-size:50px; border-radius:50%; color:inherit;
  }
  html body[data-detail-selected] #related :is([data-rail-prev],[data-rail-next]) svg {
    width:24px; height:24px; margin:0;
  }
  body[data-detail-selected] #related .rail-controls {width:100%; justify-content:center}
  html body[data-detail-selected][data-card-layout="motion-preview"][data-card-choice][data-card-directions][data-card-overlay] #related a[data-demo-pill] {
    display:flex!important; align-items:center!important; width:100%; min-height:54px!important;
    padding:5px 6px 5px 16px!important; gap:8px!important; line-height:1.25; white-space:normal; text-align:left;
    border:1px solid #a19e98!important; background:#171717!important; color:#f5f2ed!important;
  }
  html body[data-detail-selected][data-card-layout="motion-preview"][data-card-choice][data-card-directions][data-card-overlay] #related a[data-demo-pill]:is(:hover,:focus-visible) {
    border-color:#fff!important; background:#2c2c2c!important;
  }
  body[data-detail-selected] #related a[data-demo-pill] > span {padding:0!important}
  body[data-detail-selected] #related a[data-demo-pill] .demo-pill-icon svg {
    display:block!important; width:25px!important; height:25px!important;
    padding:0!important; margin:0!important; background:none!important; color:inherit!important; stroke-width:1.8;
  }
  body[data-detail-selected] #related a[data-demo-pill] .demo-pill-icon {display:grid; place-items:center}
  body[data-detail-selected] #related a[data-demo-pill]:is(:hover,:focus-visible) .demo-pill-icon path {translate:0; rotate:-14deg}
  body[data-detail-selected] #related a[data-demo-pill]:hover > span {text-decoration:none}
  body[data-detail-selected] #purchase-options .payment-options {gap:8px}
  body[data-detail-selected] #purchase-options[data-payment-layout="grid"] .payment-copy {align-self:stretch; display:grid; grid-template-rows:auto auto 1fr; padding:0}
  body[data-detail-selected] #purchase-options[data-payment-layout="grid"] :is(h2, .payment-copy > p) {margin-inline:clamp(16px, 2.5vw, 36px)}
  body[data-detail-selected] #purchase-options[data-payment-layout="grid"] h2 {margin-top:clamp(20px, 3svh, 32px)}
  body[data-detail-selected] #purchase-options[data-payment-layout="grid"] .payment-options {grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:1fr; gap:1px; padding:1px 0 0 1px; background:var(--payment-line)}
  body[data-detail-selected] #purchase-options[data-payment-layout="grid"] .payment-options button[data-demo-pill]:not([hidden]) {
    display:grid!important; grid-template-columns:minmax(0, 1fr); grid-template-rows:auto 1fr; justify-items:start; align-items:end; gap:clamp(10px, 2svh, 24px);
    padding:clamp(12px, 1.45vw, 20px)!important; min-height:clamp(110px, 13svh, 158px); border-radius:0!important; border:0!important; background:var(--payment-surface)!important; color:var(--payment-ink)!important;
  }
  body[data-detail-selected] #purchase-options[data-payment-layout="grid"] .payment-options button[data-demo-pill]:hover {background:color-mix(in srgb, var(--payment-surface), var(--payment-ink) 8%)!important}
  body[data-detail-selected] #purchase-options[data-payment-layout="grid"] .payment-options button.payment-primary[data-demo-pill] {background:var(--atlas-red, #84251c)!important; color:#fff!important}
  body[data-detail-selected] #purchase-options[data-payment-layout="grid"] .payment-options button.payment-primary[data-demo-pill]:hover {background:var(--atlas-red-hover, #9b3429)!important}
  body[data-detail-selected] #purchase-options[data-payment-layout="grid"] .demo-pill-icon {grid-row:1; justify-self:end; width:36px; height:36px}
  body[data-detail-selected] #purchase-options[data-payment-layout="grid"] .payment-option-copy {grid-row:2; gap:5px; font-size:clamp(16px, 2.05vw, 28px); line-height:1.12}
  @media(max-width:860px) {
    body[data-detail-selected] #purchase-options[data-payment-layout="grid"] .payment-panel {grid-template-columns:minmax(0, 1fr)}
    body[data-detail-selected] #purchase-options[data-payment-layout="grid"] .payment-options {padding-left:0}
  }
  body[data-detail-selected] #purchase-options .payment-primary small {color:#fff}
  body[data-detail-selected] #purchase-options [data-payment-option="offers"]:not([hidden]) {
    margin:16px; justify-content:space-between; padding:10px 14px; text-align:start;
    background:var(--payment-surface); color:var(--payment-ink); border:1px solid var(--payment-line);
  }
  @media (prefers-reduced-motion:reduce) {
    body[data-detail-selected] [data-demo-pill], body[data-detail-selected] [data-demo-pill] .demo-pill-icon path {transition:none}
    body[data-detail-selected] [data-demo-pill]:is(:hover,:focus-visible) .demo-pill-icon path {translate:0; rotate:0deg}
    body[data-detail-selected] #related a[data-demo-pill]:is(:hover,:focus-visible) .demo-pill-icon path {rotate:0deg}
  }

#purchase-options .installment-terms[hidden] {
  display: none !important;
}
#purchase-options .installment-terms {
  padding: clamp(18px, 3.4vw, 40px);
  border: 1px solid var(--payment-line);
  border-top: 0;
  background: var(--payment-surface);
  font: 400 var(--type-copy, 18px)/1.5 var(--bordeaux-text);
}
#purchase-options .installment-terms h3 { margin: 0; font: 400 var(--type-subtitle, 25px)/1.2 var(--bordeaux-heading); }
#purchase-options .installment-terms p { margin: 8px 0 0; color: var(--payment-muted); }
#purchase-options .installment-terms .installment-date { color: var(--payment-accent); }
.installment-programs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin: 18px 0; background: var(--payment-line); border: 1px solid var(--payment-line); }
.installment-programs > div { padding: clamp(12px, 2vw, 22px); background: var(--payment-surface); }
@media (max-width:600px) { .installment-programs { grid-template-columns: 1fr; } }
#purchase-options .installment-enquiry {
  min-height: 48px;
  margin-top: 20px;
  padding: 10px 20px;
  border: 1px solid transparent;
  background: var(--atlas-red, #84251c);
  color: #fff;
  text-align: start;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
#purchase-options .installment-enquiry:hover { background: var(--atlas-red-hover, #9b3429); }
@media (max-width:600px) { #purchase-options .installment-enquiry { width: 100%; } }
