/* R3.27 / collection folios.
   The print surrounds the artwork. Original image crops, portrait scenes,
   offer data and interaction controllers keep their existing owners. */

body[data-sfw-refinement="r318"]:is(.atelier-catalogue,.character-showcase,.sfw-homes-page,.studio-world-preview) {
  --collection-paper:url('/assets/ui/public-boutique-r2-pilot/02_paper_texture_ivory.review.webp');
  --journal-canvas:#f5f5f4;
  --journal-muted:#606060;
  background-color:var(--journal-canvas,#f7f1f5);
  color:var(--journal-ink,#202020);
}

/* One illustrated catalogue desk: the rail, heading and cards share a paper canvas. */
body[data-sfw-refinement="r318"].atelier-catalogue {
  --journal-canvas:#fffbf8;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-catalogue-shell {
  background-color:var(--journal-canvas,#f7f1f5);
}
body.atelier-catalogue.r318-editorial-discovery .commerce-catalogue-heading {
  position:relative;
  padding:12px 0 24px;
  margin-bottom:22px;
  border:0;
  border-bottom:1px solid #d8c9cf;
  border-radius:0;
  background:transparent;
  color:#29252b;
  background-blend-mode:normal;
  box-shadow:none;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-catalogue-heading>.site-container {
  width:100%;max-width:none;margin:0;
  grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);
  align-items:center;
  gap:26px 36px;
  min-height:0;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-catalogue-content {padding-top:28px;}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom {align-items:start;gap:24px;}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom>.r6-showroom {min-width:0;}
body.atelier-catalogue.r318-editorial-discovery .r318-catalogue-copy {
  padding:0;
  border-left:0;
}
body.atelier-catalogue.r318-editorial-discovery .r318-catalogue-copy .r318-editorial-index {
  color:#a83c65;
  font-variant-numeric:tabular-nums;
  letter-spacing:.03em;
}
body.atelier-catalogue.r318-editorial-discovery .r318-catalogue-copy h1 {
  margin-bottom:12px;
  color:#29252b;
  font-size:clamp(46px,4.7vw,61px);
  letter-spacing:-.04em;
  line-height:1.03;
  text-wrap:balance;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-catalogue-shell .commerce-catalogue-heading :is(.eyebrow,.atelier-catalogue-intro,.r318-catalogue-colophon) {
  color:#51414b;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-catalogue-shell .commerce-catalogue-heading .r318-catalogue-colophon {
  margin-top:17px;padding-top:11px;border-color:#d8c2cd;
  font-size:10px;line-height:1.6;letter-spacing:.04em;
}
html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery main#customer-main .commerce-catalogue-heading .r319-shop-start {
  padding:22px!important;
  border:1px solid #d8c9cf!important;
  border-radius:16px!important;background:#fffdf9!important;box-shadow:0 3px 0 #e8d1db!important;
}
html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery main#customer-main .commerce-catalogue-heading .r319-shop-start__label {
  color:#29252b!important;font:500 19px/1.3 var(--font-display,Georgia,serif);letter-spacing:-.02em;text-transform:none;
}
html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery main#customer-main .commerce-catalogue-heading .r319-shop-start__links a {
  min-height:58px;padding:10px 0!important;border-color:#dfcdd6!important;
}
@media(max-width:850px) {
  body.atelier-catalogue.r318-editorial-discovery .commerce-catalogue-heading>.site-container {grid-template-columns:minmax(0,1fr);gap:22px;}
  html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery main#customer-main .commerce-catalogue-heading .r319-shop-start {
    padding:20px!important;border:1px solid #d8c9cf!important;
  }
}
body.atelier-catalogue.r318-editorial-discovery .r319-shop-start {
  position:relative;
  min-width:0;
  isolation:isolate;z-index:0;margin:14px 16px 14px 10px;
  padding:22px;
  border:1px solid #d8c9cf;
  border-radius:16px;
  background:#fffdf9;
  box-shadow:0 3px 0 #e8d1db;
}
body.atelier-catalogue.r318-editorial-discovery .studio-start-paper {
  min-width:0;padding:16px;border:1px solid #eed4df;border-radius:18px;
  background:#fae5ee url('/assets/ui/shop-pink-halftone-20261031.png') center/243px 251px repeat;
}
body.atelier-catalogue.r318-editorial-discovery .studio-start-paper>.r319-shop-start {margin:0;}
body.atelier-catalogue.r318-editorial-discovery .r319-shop-start::before,
body.atelier-catalogue.r318-editorial-discovery .r319-shop-start::after {content:none;}
body.atelier-catalogue.r318-editorial-discovery .r319-shop-start__links a {
  border-bottom-color:#e4d4de;
  text-underline-offset:5px;
}
body.atelier-catalogue.r318-editorial-discovery .r319-shop-start__links a>span:last-child {
  border-radius:0;
  background:transparent;
  border-color:transparent;
}
body.atelier-catalogue.r318-editorial-discovery .atelier-catalogue-toolbar {
  min-height:54px;
  padding:0 2px 17px;
  margin-bottom:22px;
  border:0;
  border-bottom:1px solid #d9cbd0;
  border-radius:0;
  box-shadow:none;
  background:transparent;
}
body.atelier-catalogue.r318-editorial-discovery .atelier-catalogue-toolbar__heading {
  gap:10px;
  align-items:center;
}
body.atelier-catalogue.r318-editorial-discovery .atelier-catalogue-toolbar__count {
  display:inline-grid;
  place-items:center;
  min-width:30px;
  min-height:28px;
  padding:3px 10px;
  border:1px solid #ddc8d3;
  border-radius:999px;
  background:#fff;
  color:#51414b;
  font:500 12px/1.4 var(--font-body,system-ui);
  font-variant-numeric:tabular-nums;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs {
  border-color:#515151;
  border-radius:14px;
  background:#28242a;
  background-blend-mode:normal;
  box-shadow:3px 3px 0 #efd2df;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs h2 {
  margin-bottom:12px;
  padding-bottom:14px;
  border-bottom:1px solid #606060;
  color:#f0dce6;
  line-height:1.6;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs a {
  gap:11px;
  min-height:46px;
  padding-block:11px;
  border-radius:10px;
  line-height:1.5;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs a .commerce-line-icon {
  flex:0 0 24px;
  width:24px;
  height:24px;
  padding:1px;
  border:0;
  border-radius:0;
  color:#ecc6da;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs a[aria-current="page"] {
  border-color:#f2d9e4;
  background:var(--journal-blush,#f2b7d0);
  color:var(--journal-ink,#202020);
  box-shadow:inset 3px 0 #bc809e;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs a[aria-current="page"] .commerce-line-icon {
  border-color:#c69bb1;
  background:transparent;
  color:#843858;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs .commerce-category-menu {
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:46px;
  padding:11px 12px;
  border:1px solid #746671;
  border-radius:10px;
  background:transparent;
  color:#f8e8f0;
  font-size:13px;
  line-height:1.5;
  text-align:left;
  box-shadow:none;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs .commerce-category-menu:is(:hover,:focus-visible) {
  border-color:#e2b6cd;
  background:#f8dfeb;
  color:#252525;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs .commerce-category-menu:focus-visible {
  outline:2px solid #f2b7d0;
  outline-offset:3px;
}

/* A quiet folio edge, an equal artwork stage, and a distinct price line. */
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card {
  --card-ink:#242424;
  --card-muted:#595959;
  padding:52px 22px 20px;
  gap:16px 12px;
  border-color:#dbcdd3;
  border-radius:18px;
  background:#fffcf9 var(--collection-paper) center/640px repeat;
  box-shadow:0 2px 2px #3b3b3b0a,0 12px 28px #3b3b3b0b;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-product-family="premium"] {
  border-color:#cfb7c3;
  background:#fffcf9 var(--collection-paper) center/640px repeat;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .atelier-card-caption {
  inset:16px 22px auto;
  align-items:center;
  padding-bottom:0;
  border-bottom:0;
  color:#776771;
  font-size:10px;
  letter-spacing:.07em;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .atelier-card-caption>span:first-child {
  color:#5f5f5f;
  font-size:19px;
  font-style:italic;
  letter-spacing:-.03em;
  font-variant-numeric:tabular-nums;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-art {
  border-radius:12px;
  box-shadow:0 0 0 1px #dec6d2,0 7px 16px #3d3d3d12;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card>.showroom-product-card {
  gap:20px;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-product-copy {
  gap:12px;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-product-copy .commerce-card-scope {
  padding-top:2px;
  border-top:0;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-product-copy h3 {
  color:#272727;
  line-height:1.17;
  letter-spacing:-.022em;
  text-wrap:pretty;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-product-copy .commerce-card-fit {
  line-height:1.75;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card .payment-selection-summary {
  gap:5px;
  padding:5px 0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card .payment-amount {
  font-size:clamp(33px,2.6vw,40px);
  letter-spacing:-.045em;
  font-variant-numeric:lining-nums;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .commerce-card-overview {
  padding-top:19px;
  border-top-color:#e5d8df;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .commerce-card-schedule {
  padding:10px 12px;
  border:0;
  border-left:2px solid #c29aaf;
  border-radius:0 8px 8px 0;
  background:#f7eef2;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom :is(.commerce-card-detail,.oct-product-card-footer .payment-button) {
  border-radius:10px;
  text-decoration:none;
  line-height:1.45;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .commerce-overview-details[open] {
  padding-bottom:8px;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .commerce-overview-details[open]>summary {
  color:#555555;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .commerce-overview-details {
  border-top-color:#e5d8df;
}
@media (min-width:1101px) {
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card:is([data-product-family="basic"],[data-product-family="premium"]) .commerce-card-scope {
    min-block-size:4.95em;
  }
}

/* A detail spread keeps the original composition and improves its binding. */
body[data-sfw-refinement="r318"] dialog.r3-product-dialog {
  border:1px solid #888888;
  border-radius:16px;
  background:#fffaf9 url('/assets/ui/public-boutique-r2-pilot/02_paper_texture_ivory.review.webp') center/640px repeat;
  box-shadow:0 3px 0 #cfa3b9,0 28px 90px #11111140;
}
body[data-sfw-refinement="r318"] .r3-product-dialog #a3-product-detail .a3-product-detail__header {
  border-bottom:1px solid #b38ca1;
  box-shadow:0 3px 0 #ecd3df;
}
body[data-sfw-refinement="r318"] .r3-product-dialog #a3-product-detail .a3-product-detail__primary {
  border:1px solid #d6b7c9;
  border-left:3px solid #787878;
  border-radius:12px;
  background:#fcf1f6;
  box-shadow:0 2px 3px #4e4e4e08;
}
body[data-sfw-refinement="r318"] .r3-product-dialog #a3-product-detail :is(.commerce-scope-group,.a3-product-detail__lower>.commerce-disclosure) {
  border-color:#d2b9c8;
  border-radius:12px;
  box-shadow:0 2px 3px #4e4e4e06;
}
body[data-sfw-refinement="r318"] .r3-product-dialog #a3-product-detail .commerce-scope-group>h3 {
  padding-bottom:13px;
  border-bottom:1px solid #e8d7e1;
  line-height:1.45;
}
body[data-sfw-refinement="r318"] .r3-product-dialog #a3-product-detail .commerce-disclosure>summary {
  padding-block:17px;
  line-height:1.6;
}
body[data-sfw-refinement="r318"] .r3-product-dialog #a3-product-detail .r3-product-footer {
  border-top:1px solid #c8a6bb;
  background:#f8eef4;
  box-shadow:inset 0 2px 0 #fffdfd;
}

/* The portrait library: full artwork on separate, lightly bound plates. */
body[data-sfw-refinement="r318"].character-showcase .showcase-intro.gallery-atlas {
  border:1px solid #363636;
  border-bottom:0;
  border-radius:16px 16px 0 0;
  box-shadow:inset 0 4px 0 #e9b9d0,0 14px 26px #2121210c;
}
body[data-sfw-refinement="r318"].character-showcase .showcase-intro.gallery-atlas>h1 {
  line-height:1.1;
  letter-spacing:-.03em;
}
body[data-sfw-refinement="r318"].character-showcase .gallery-atlas__colophon {
  border-top:1px dashed #686868;
}
body[data-sfw-refinement="r318"].character-showcase .portrait-access-note {
  padding-block:16px;
  border-color:#d4b9ca;
  border-radius:0 0 16px 16px;
  background:#fffaf9 var(--collection-paper) center/640px repeat;
  box-shadow:0 2px 0 #dcc0d0,0 10px 24px #30303007;
}
body[data-sfw-refinement="r318"].character-showcase .portrait-edition-toolbar {
  padding:14px 16px;
  gap:14px;
  flex-wrap:wrap;
  border:1px solid #d5cfd2;
  border-radius:12px;
  background:#fffaf9 var(--collection-paper) center/640px repeat;
  box-shadow:0 2px 0 #e7e4e5;
}
body[data-sfw-refinement="r318"].character-showcase .portrait-edition-filters button {
  min-height:44px;
  padding:10px 15px;
  border-color:#c9c3c6;
  border-radius:9px;
  background:#fff;
  color:#484848;
  box-shadow:0 2px 0 #e6e2e4;
  font-weight:600;
}
body[data-sfw-refinement="r318"].character-showcase .portrait-edition-filters button[aria-pressed="true"] {
  border-color:#202020;
  background:#202020;
  color:#fff;
  box-shadow:0 3px 0 #efc1d6;
}
body[data-sfw-refinement="r318"]:is(.character-showcase,.sfw-homes-page) .gallery-section-heading {
  position:relative;
  padding-bottom:19px;
  border-bottom:1px solid #c8a9bc;
}
body[data-sfw-refinement="r318"]:is(.character-showcase,.sfw-homes-page) .gallery-section-heading::after {
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:46px;
  height:3px;
  border-radius:2px;
  background:#7f7f7f;
  pointer-events:none;
}
body[data-sfw-refinement="r318"].character-showcase #studio-portrait-grid {
  gap:30px 25px;
}
body[data-sfw-refinement="r318"].character-showcase .exhibition-card>a {
  border-color:#d0cbce;
  border-radius:14px;
  background:#fffaf9 var(--collection-paper) center/640px repeat;
  box-shadow:0 2px 3px #3636360a,0 12px 24px #3636360c;
}
body[data-sfw-refinement="r318"].character-showcase .exhibition-card[data-edition="collector"]>a {
  border-color:#ba819c;
  background:#fff5fa;
  box-shadow:0 3px 0 #efc1d6,0 12px 24px #2020200c;
}
body[data-sfw-refinement="r318"].character-showcase .exhibition-card>a .r3-portrait-frame {
  width:calc(100% - 16px);
  margin:8px 8px 0;
  border-radius:9px;
  outline:0;
  box-shadow:0 0 0 1px #e3ccda;
}
body[data-sfw-refinement="r318"].character-showcase .exhibition-card-copy {
  gap:13px;
  padding:22px 20px 18px;
  color:#363636;
  border-top:1px solid #e3dde0;
}
body[data-sfw-refinement="r318"].character-showcase .exhibition-card-copy>span {
  border-top-color:#dec5d4;
  line-height:1.7;
}
body[data-sfw-refinement="r318"].character-showcase .portrait-editorial-mark {
  margin-top:12px;
  border-radius:3px;
  padding:4px 8px;
  font-size:10px;
  line-height:1.6;
  letter-spacing:.015em;
}
body[data-sfw-refinement="r318"].character-showcase .exhibition-card[data-edition="collector"] .portrait-editorial-mark {
  border-color:#efc1d6;
  background:#f9dbe8;
  color:#282828;
}
body[data-sfw-refinement="r318"].character-showcase .exhibition-card[data-edition="regular"] .portrait-editorial-mark {
  border-color:#c9c3c6;
  background:#fff;
  color:#484848;
}

body[data-sfw-refinement="r318"].character-showcase .exhibition-card[data-edition="collector"] .exhibition-card-copy {
  background:#fbedf3;
  border-top-color:#d7b5c7;
  color:#292929;
}
body[data-sfw-refinement="r318"].character-showcase .exhibition-card[data-edition="collector"] .exhibition-card-copy strong {
  color:#292929;
}
body[data-sfw-refinement="r318"].character-showcase .exhibition-card[data-edition="collector"] .exhibition-card-copy>span {
  border-top-color:#d7b5c7;
  color:#565656;
}
body[data-sfw-refinement="r318"].character-showcase #portrait-edition-count {
  color:#575757;
  font-variant-numeric:tabular-nums;
}
body[data-sfw-refinement="r318"].character-showcase .portrait-edition-filters button[data-portrait-edition="collector"]::before {
  content:"✧";
  margin-right:7px;
  font-size:15px;
  line-height:1;
}

/* A neutral-ink house cover opens into white architectural plates. */
body[data-sfw-refinement="r318"].sfw-homes-page .homes-intro.gallery-atlas {
  position:relative;
  border:1px solid #202020;
  border-radius:16px;
  background:#202020;
  color:#fff;
  box-shadow:0 4px 0 #efc1d6,0 14px 28px #20202012;
}
body[data-sfw-refinement="r318"].sfw-homes-page .homes-intro.gallery-atlas h1 {
  color:#fff;
}
body[data-sfw-refinement="r318"].sfw-homes-page .homes-intro.gallery-atlas h1>em,
body[data-sfw-refinement="r318"].sfw-homes-page .homes-intro.gallery-atlas .homes-accent {
  color:#f5cddd;
}
body[data-sfw-refinement="r318"].sfw-homes-page .homes-intro.gallery-atlas .homes-intro__lead {
  color:#d8d8d8;
}
body[data-sfw-refinement="r318"].sfw-homes-page .homes-intro__index {
  border-color:#fff;
  border-radius:12px;
  background:#fff;
  box-shadow:0 3px 0 #efc1d6;
}
body[data-sfw-refinement="r318"].sfw-homes-page .homes-index-number {
  font-variant-numeric:lining-nums;
  letter-spacing:-.06em;
  color:#242424;
}
body[data-sfw-refinement="r318"].sfw-homes-page :is(.house-studio-card,.house-furniture) {
  border-color:#d0cbce;
  border-radius:14px;
  box-shadow:0 2px 3px #3535350a,0 14px 27px #3535350d;
}
body[data-sfw-refinement="r318"].sfw-homes-page .house-studio-card__copy {
  border-top:1px solid #d8becb;
  background:#fffaf9 var(--collection-paper) center/640px repeat;
  color:#292929;
}
body[data-sfw-refinement="r318"].sfw-homes-page .house-studio-card__copy>small {
  color:#626262;
  letter-spacing:.09em;
  line-height:1.6;
}
body[data-sfw-refinement="r318"].sfw-homes-page .house-studio-card__copy>strong {color:#292929;}
body[data-sfw-refinement="r318"].sfw-homes-page .house-studio-card__description {color:#60565c;}
body[data-sfw-refinement="r318"].sfw-homes-page .house-studio-card__action {
  border-top-color:#d4b8c7;
  min-height:48px;
  align-items:center;
  color:#545454;
}
body[data-sfw-refinement="r318"].sfw-homes-page .homes-field-notes {
  border:1px solid #d0cbce;
  border-top:3px solid #898989;
  border-radius:12px;
  background:#fffaf9 var(--collection-paper) center/640px repeat;
  box-shadow:0 2px 0 #e5cbdc;
}
body[data-sfw-refinement="r318"].sfw-homes-page .homes-field-notes dl>div {
  border-top-style:dashed;
  border-top-color:#c9a5ba;
}
body[data-sfw-refinement="r318"].sfw-homes-page .homes-field-notes dt {
  color:#343434;
  line-height:1.6;
}
body[data-sfw-refinement="r318"].sfw-homes-page .homes-field-notes dd {
  color:#606060;
  line-height:1.8;
}
body[data-sfw-refinement="r318"].sfw-homes-page .house-studio-detail {
  border-color:#c5a7bb;
  border-top:3px solid #353535;
  border-radius:14px;
  background:#fffaf9 var(--collection-paper) center/640px repeat;
  box-shadow:0 2px 3px #3b3b3b0a,0 14px 28px #3b3b3b0a;
}
body[data-sfw-refinement="r318"].sfw-homes-page .house-gallery-controls {
  border-top-color:#d7bdce;
  background:#fff8fc;
}
body[data-sfw-refinement="r318"].sfw-homes-page .house-view-card {
  border-color:#c5a4b9;
  border-radius:12px;
  background:#fffaf9 var(--collection-paper) center/640px repeat;
  box-shadow:0 2px 0 #e9d4e1;
}
body[data-sfw-refinement="r318"].sfw-homes-page .house-view-card[aria-pressed="true"] {
  border-color:#5a5a5a;
  box-shadow:0 3px 0 #bb87a4;
}
body[data-sfw-refinement="r318"]:is(.character-showcase,.sfw-homes-page) :is(.portrait-dialog-controls,#house-image-dialog>header) {
  border-bottom:1px solid #b28a9f;
  background:#fff8fc;
  box-shadow:0 2px 0 #ebd2df;
}

/* The world folio uses its existing full artwork, with a caption like a print. */
body[data-sfw-refinement="r318"].studio-world-preview .studio-preview-edition {
  padding-block:6px 18px;
  border-bottom-color:#b996ac;
}
body[data-sfw-refinement="r318"].studio-world-preview .studio-world-frame {
  border:1px solid #b48ca4;
  border-radius:5px;
  box-shadow:0 0 0 5px #fffdfb,0 0 0 6px #d8bdcb,0 16px 30px #20202010;
}
body[data-sfw-refinement="r318"].studio-world-preview .studio-world-art figcaption {
  margin-top:21px;
  padding-top:17px;
  border-top:1px solid #cba9bf;
  line-height:1.75;
}
body[data-sfw-refinement="r318"].studio-world-preview .studio-world-explore>a {
  padding-inline:10px;
  border-bottom-color:#d7bfce;
  border-radius:7px 7px 0 0;
}
body[data-sfw-refinement="r318"].studio-world-preview .studio-folio-note {
  border-color:#484848;
  border-top:3px solid #d6a2bd;
  border-radius:6px;
  box-shadow:0 2px 0 #d9b8cb,0 12px 26px #20202010;
  background:#232323;
}

/* State messages read like a note inside the folio. Native hidden states and
   controller-owned loading remain intact. */
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom :is(.commerce-catalogue-state,.r5-product-error),
body[data-sfw-refinement="r318"].character-showcase #studio-portrait-grid>p {
  grid-column:1/-1;
  min-width:0;
  padding:24px;
  border:1px solid #cdb0c1;
  border-left:3px solid #828282;
  border-radius:5px;
  background:#fffaf9 var(--collection-paper) center/640px repeat;
  color:#4b4b4b;
  font:400 15px/1.85 var(--font-body,system-ui);
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .commerce-catalogue-state[role="alert"],
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .r5-product-error {
  border-left-color:#686868;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom :is(.commerce-catalogue-state,.r5-product-error) :is(a,button) {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  margin-top:10px;
  padding:9px 15px;
  border:1px solid #b4879e;
  border-radius:6px;
  background:#f6e3ed;
  color:#444444;
  font:600 13px/1.5 var(--font-body,system-ui);
  text-underline-offset:4px;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-catalogue-loading {
  color:#5c5c5c;
  line-height:1.8;
}
body[data-sfw-refinement="r318"].character-showcase .portrait-load-status:not([hidden]) {
  margin-top:14px;
  padding:12px 16px;
  border:1px solid #cfadbf;
  border-radius:5px;
  background:#fff5fa;
  color:#525252;
  font:500 13px/1.7 var(--font-body,system-ui);
}
body[data-sfw-refinement="r318"] .r3-product-dialog #a3-product-detail .a3-product-detail__close {
  min-width:44px;
  min-height:44px;
  border-radius:50%;
}
body[data-sfw-refinement="r318"].character-showcase .showcase-footer {
  margin-top:48px;
  padding-top:28px;
  border-top:1px solid #cdb0c1;
}
body[data-sfw-refinement="r318"].character-showcase .showcase-footer>p:first-child {
  color:#616161;
  font:600 29px/1.4 "SFW Dancing Script",cursive;
}
body[data-sfw-refinement="r318"].sfw-homes-page .house-thumb-copy {
  border-top:1px solid #e0c9d5;
  color:#444444;
}
body[data-sfw-refinement="r318"].sfw-homes-page .house-thumb-copy>small {
  color:#6a6a6a;
  line-height:1.7;
}

/* Keep physical input states clear; the current motion owner controls lifts. */
body[data-sfw-refinement="r318"]:is(.atelier-catalogue,.character-showcase,.sfw-homes-page,.studio-world-preview) :is(a,button,summary,select):focus-visible {
  outline:2px solid #585858;
  outline-offset:4px;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs :is(a,button):focus-visible {
  outline-color:#f6d6e5;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-catalogue-heading .r318-catalogue-copy a:focus-visible,
body[data-sfw-refinement="r318"].character-showcase .showcase-intro :is(a,button):focus-visible,
body[data-sfw-refinement="r318"].studio-world-preview .studio-folio-note :is(a,button):focus-visible {
  outline-color:#f4c9dd;
}
body[data-sfw-refinement="r318"]:is(.character-showcase,.sfw-homes-page) :is(.portrait-edition-filters button,.house-gallery-controls button,.house-view-card):active:not(:disabled) {
  box-shadow:0 1px 0 #c6a4b9;
}
body[data-sfw-refinement="r318"]:is(.atelier-catalogue,.character-showcase,.sfw-homes-page,.studio-world-preview) :is(button,select):disabled {
  cursor:not-allowed;
}
@media (hover:hover) and (pointer:fine) {
  body.atelier-catalogue.r318-editorial-discovery .r319-shop-start__links a:hover {
    color:#5b5b5b;
    border-bottom-color:#828282;
  }
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card:hover {
    border-color:#ba94a8;
    box-shadow:0 3px 5px #4a4a4a0c,0 16px 28px #4a4a4a12;
  }
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-product-card:hover .showroom-art {
    box-shadow:0 0 0 1px #b68da3,0 10px 19px #3d3d3d1a;
  }
  body[data-sfw-refinement="r318"].character-showcase .portrait-edition-filters button:hover:not([aria-pressed="true"]) {
    border-color:#898989;
    background:#f8eaf2;
  }
  body[data-sfw-refinement="r318"].character-showcase .exhibition-card>a:hover {
    border-color:#828282;
    box-shadow:0 3px 5px #4a4a4a10,0 18px 30px #4a4a4a14;
  }
  body[data-sfw-refinement="r318"].sfw-homes-page .house-view-card:hover {
    border-color:#848484;
    background:#fff8fc;
  }
  body[data-sfw-refinement="r318"].studio-world-preview .studio-world-explore>a:hover {
    background:#f1e0eb;
    color:#565656;
  }
}
@media (max-width:850px) {
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs {
    padding:0;
  }
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs .catalogue-nav-toggle {
    min-height:50px;
    border-radius:13px;
    background:#2c2c2c;
    color:#fff8fc;
  }
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs .catalogue-nav-panel {
    padding:12px 12px 16px;
  }
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs h2 {
    margin-top:0;
  }
  body[data-sfw-refinement="r318"].character-showcase .portrait-edition-toolbar {
    padding:12px;
  }
}
@media (max-width:650px) {
  body.atelier-catalogue.r318-editorial-discovery .commerce-catalogue-heading {
    padding:0 0 22px;
    margin-bottom:20px;
  }
  body.atelier-catalogue.r318-editorial-discovery .commerce-catalogue-heading>.site-container {
    gap:24px;
  }
  body.atelier-catalogue.r318-editorial-discovery .r318-catalogue-copy h1 {
    font-size:clamp(40px,10.5vw,54px);
  }
  body.atelier-catalogue.r318-editorial-discovery .r319-shop-start {
    border-radius:12px;
    box-shadow:0 2px 0 #c6a5b7,0 8px 18px #0a0a0a18;
  }
  body.atelier-catalogue.r318-editorial-discovery .atelier-catalogue-toolbar {
    min-height:46px;
    padding:0 1px 13px;
    margin-bottom:18px;
  }
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card {
    padding:47px 16px 17px;
    border-radius:16px;
    gap:16px 10px;
    box-shadow:0 2px 3px #34343408,0 8px 16px #34343409;
  }
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .atelier-card-caption {
    inset:14px 16px auto;
  }
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card>.showroom-product-card {
    gap:15px;
  }
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-product-copy {
    gap:10px;
  }
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card .payment-amount {
    font-size:35px;
  }
  body[data-sfw-refinement="r318"].character-showcase .showcase-intro.gallery-atlas {
    padding:26px 22px 0;
    box-shadow:none;
  }
  body[data-sfw-refinement="r318"].character-showcase .portrait-access-note {
    padding:15px 22px;
    box-shadow:0 2px 0 #dcc0d0;
  }
  body[data-sfw-refinement="r318"].character-showcase #studio-portrait-grid {
    gap:23px 16px;
  }
  body[data-sfw-refinement="r318"].character-showcase .portrait-edition-filters {
    display:flex;flex-wrap:wrap;gap:8px;width:100%;
  }
  body[data-sfw-refinement="r318"].character-showcase .portrait-edition-filters button {
    flex:1 1 auto;white-space:normal;
  }
  body[data-sfw-refinement="r318"].character-showcase .exhibition-card-copy {
    padding:18px 16px 16px;
  }
  body[data-sfw-refinement="r318"].sfw-homes-page .homes-intro.gallery-atlas {
    box-shadow:0 2px 0 #d7bbcb,0 8px 18px #2e2e2e09;
  }
  body[data-sfw-refinement="r318"].studio-world-preview .studio-world-explore>a {
    padding-inline:6px;
  }
}
@media (max-width:380px) {
  body[data-sfw-refinement="r318"].character-showcase .showcase-intro.gallery-atlas {
    padding-inline:17px;
  }
  body[data-sfw-refinement="r318"].character-showcase .portrait-access-note {
    padding-inline:17px;
  }
  body[data-sfw-refinement="r318"].character-showcase .portrait-edition-filters {
    gap:6px;
  }
  body[data-sfw-refinement="r318"].character-showcase .portrait-edition-filters button {
    padding-inline:11px;
  }
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card .payment-amount {
    font-size:33px;
  }
}
@media (prefers-reduced-motion:reduce) {
  body[data-sfw-refinement="r318"]:is(.atelier-catalogue,.character-showcase,.sfw-homes-page,.studio-world-preview) :is(a,button,summary,select,.showroom-sale-card,.showroom-art) {
    transition:none!important;
  }
}
@media (forced-colors:active) {
  body[data-sfw-refinement="r318"]:is(.atelier-catalogue,.character-showcase,.sfw-homes-page,.studio-world-preview) {
    --collection-paper:none;
  }
  body[data-sfw-refinement="r318"] dialog.r3-product-dialog {
    background-image:none;
  }
  body[data-sfw-refinement="r318"]:is(.atelier-catalogue,.character-showcase,.sfw-homes-page,.studio-world-preview) :is(.r319-shop-start,.atelier-catalogue-toolbar,#showroom-tabs,.showroom-sale-card,.showroom-art,.showcase-intro,.portrait-access-note,.portrait-edition-toolbar,.exhibition-card>a,.house-studio-card,.house-furniture,.homes-field-notes,.house-view-card,.studio-world-frame,.studio-folio-note),
  body[data-sfw-refinement="r318"] dialog.r3-product-dialog {
    border-color:CanvasText;
    box-shadow:none;
  }
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs a[aria-current="page"],
  body[data-sfw-refinement="r318"].character-showcase .portrait-edition-filters button[aria-pressed="true"] {
    outline:2px solid Highlight;
    outline-offset:-3px;
  }
  body[data-sfw-refinement="r318"] .gallery-section-heading::after,
  body.atelier-catalogue.r318-editorial-discovery .r319-shop-start::before {
    background:CanvasText;
  }
}

/* Deeper blush gives the same account-notebook accent to the store, without
   competing with the original artwork or turning the product cards dark. */
body.atelier-catalogue.r318-editorial-discovery .atelier-catalogue-toolbar__count {
  background:#f6c9dd;border-color:#ce94ae;color:#454545;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs {
  box-shadow:0 3px 0 #d699b5,0 12px 24px #24242414;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs .r317-tip-card a {
  background:#f2b7d0;color:#202020;border-color:#ce8cab;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-product-family="premium"] {
  border-color:#d8c9cf;box-shadow:0 2px 2px #3b3b3b08,0 8px 20px #3b3b3b08;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-product-family="premium"] .payment-amount {
  display:inline-flex;padding:0;border:0;border-radius:0;background:transparent;color:#252226;
  box-shadow:none;font-size:clamp(39px,3.2vw,46px);
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .commerce-card-schedule {
  background:#f9dce9;border-left-color:#8a8a8a;color:#464646;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .commerce-card-detail {
  background:#f2b7d0;color:#202020;border-color:#8b8b8b;box-shadow:0 2px 0 #db9fba;
}
body[data-sfw-refinement="r318"] .r3-product-dialog #a3-product-detail .a3-product-detail__header {
  background:#f7cfe0;border-bottom-color:#c58ca5;color:#292929;
}
body[data-sfw-refinement="r318"] .r3-product-dialog #a3-product-detail #a3-detail-eyebrow {
  color:#464646;
}
body[data-sfw-refinement="r318"] .r3-product-dialog #a3-product-detail #a3-detail-status {
  color:#525252;
}
body[data-sfw-refinement="r318"].character-showcase .portrait-edition-filters button[aria-pressed="true"] {
  background:#f2b7d0;color:#202020;border-color:#808080;
}
body[data-sfw-refinement="r318"].sfw-homes-page .house-view-card[aria-pressed="true"] {
  background:#f9dce9;border-color:#7a7a7a;box-shadow:0 3px 0 #ce8baa;
}
@media(max-width:850px){
  body.atelier-catalogue.r318-editorial-discovery .commerce-catalogue-content {padding-top:18px;}
  body.atelier-catalogue.r318-editorial-discovery .commerce-catalogue-heading {padding-top:8px;}
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs {
    float:none;position:static;display:block;width:100%;overflow:visible;
  }
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs .catalogue-nav-panel {
    max-height:min(65dvh,560px);overflow-y:auto;overscroll-behavior:contain;
    scrollbar-color:#cd93ae #2c2c2c;scrollbar-gutter:stable;padding-bottom:max(16px,env(safe-area-inset-bottom));
  }
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs .catalogue-nav-toggle {
    gap:14px;text-align:left;min-height:52px;
  }
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs .catalogue-nav-toggle::after {flex:none;color:#f2b7d0;}
}
@media(max-width:380px){
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-product-family="premium"] .payment-amount {font-size:36px;}
}
@media(forced-colors:active){
  body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-product-family="premium"] .payment-amount {
    border:1px solid Highlight;background:Canvas;color:CanvasText;box-shadow:none;
  }
}

/* Core folios keep the artwork beside its facts, avoiding a tall half-empty card. */
html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-boutique-comparison] {
  display:grid!important;
  grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);
  grid-template-rows:auto 1fr auto;align-content:start;gap:14px 18px;
  border:1px solid #d8c9cf;box-shadow:0 2px 2px #3b3b3b06,0 8px 20px #3b3b3b08;
}
html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-boutique-comparison]>.showroom-product-card {display:contents;}
html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-boutique-comparison] .showroom-art {
  grid-column:1;grid-row:1/span 2;align-self:start;width:100%;height:auto;aspect-ratio:3/4;max-height:none;flex-basis:auto;
}
html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-boutique-comparison] .showroom-product-copy {grid-column:2;grid-row:1;gap:10px;}
html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-boutique-comparison] .commerce-card-benefits {display:block;grid-column:2;grid-row:2;margin:0;align-self:start;}
html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-boutique-comparison] .commerce-card-overview {margin:0;padding:0;border:0;}
html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-boutique-comparison] .payment-selection-summary {min-height:0;margin:0;padding:0;}
html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-boutique-comparison] .oct-product-card-footer {grid-column:1/-1;grid-row:3;}
html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-boutique-comparison] .boutique-plan-comparison>li {min-height:0;padding:8px 0;gap:8px;}
html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-boutique-comparison] .boutique-plan-comparison>li>div>span {font-size:11px;line-height:1.4;}
html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-boutique-comparison] .boutique-plan-comparison strong {font-size:13px;line-height:1.5;}
@media(max-width:650px) {
  body.atelier-catalogue.r318-editorial-discovery .studio-start-paper {padding:12px;border-radius:16px;}
  html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-boutique-comparison] {grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:12px;}
}

/* The core link spans grid children; keep its keyboard focus visible on its artwork. */
html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-boutique-comparison]>.showroom-product-card:focus-visible .showroom-art {outline:2px solid #252226;outline-offset:4px;}
@media(forced-colors:active) {
  body.atelier-catalogue.r318-editorial-discovery .studio-start-paper {background:Canvas;border-color:CanvasText;}
}

html[data-sfw-comic="v23"][data-sfw-boutique="v49"] body.atelier-catalogue.r318-editorial-discovery .commerce-showroom .showroom-sale-card[data-boutique-comparison]>.r5-product-error {grid-column:1/-1;}
