/* Approved layout refinements. Section width and user typography remain independent. */
/* 1–5: contact columns have one shared bottom edge, without stretching portraits. */
body.ibmcp-theme .ibmcp-reference-contact {isolation:isolate;display:flow-root}
body.ibmcp-theme .ibmcp-reference-contact :is(input,textarea,select){font-family:var(--ibmcp-sans,Montserrat,sans-serif);line-height:1.5}
body.ibmcp-theme .ibmcp-reference-form label>span:not(.screen-reader-text){display:block;margin-bottom:8px}
body.ibmcp-theme .ibmcp-reference-contact .ibmcp-reference-heading{margin-bottom:5mm}
body.ibmcp-theme .ibmcp-reference-contact .ibmcp-reference-description{margin-top:5mm!important}
body.ibmcp-theme .ibmcp-reference-contact-main{display:flex;flex-direction:column;padding:0;min-width:0}
body.ibmcp-theme .ibmcp-reference-contact-main>.ibmcp-reference-form{flex:1;margin-top:5mm}
body.ibmcp-theme .ibmcp-reference-contact-columns{align-items:stretch}
body.ibmcp-theme .ibmcp-reference-contact-columns>.ibmcp-reference-form{padding-top:0}
body.ibmcp-theme .ibmcp-reference-contact :is(.ibmcp-reference-contact-photo){position:relative;min-height:520px}
body.ibmcp-theme .ibmcp-reference-contact-photo>.ibmcp-stylist-media{position:absolute;inset:0;height:100%;width:100%;min-height:0;margin:0}
body.ibmcp-theme .ibmcp-reference-contact-photo .ibmcp-media{min-height:0;height:100%;aspect-ratio:auto}
body.ibmcp-theme .ibmcp-reference-contact .ibmcp-reference-form>button[type=submit]{margin-top:auto}
body.ibmcp-theme .ibmcp-reference-contact-portrait-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);max-width:1280px;margin-inline:auto}
/* 6: action belongs to the benefits column, not on top of the four captions. */
body.ibmcp-theme .ibmcp-reference-capsule-action{position:static;transform:none;margin:5mm 0 0;padding:0;justify-content:flex-start;grid-column:1/-1}
body.ibmcp-theme .ibmcp-reference-benefits{min-width:0}
body.ibmcp-theme .ibmcp-reference-role-copy{min-width:0;grid-template-columns:20px minmax(0,1fr)}
body.ibmcp-theme .ibmcp-reference-role-title{margin-bottom:5mm}
body.ibmcp-theme .ibmcp-reference-role-text{margin-top:0;overflow-wrap:anywhere}
/* 7–9, 12: allow the last action to settle against the image's bottom edge. */
body.ibmcp-theme :is(.ibmcp-geography-copy,.ibmcp-deliverables-copy,.ibmcp-request-copy,.ibmcp-manifesto-copy){justify-content:flex-start}
body.ibmcp-theme :is(.ibmcp-geography-copy,.ibmcp-deliverables-copy,.ibmcp-request-copy)>.ibmcp-stylist-link{margin-top:auto;align-self:flex-start}
body.ibmcp-theme .ibmcp-manifesto-footer{margin-top:auto;min-height:0;padding-top:5mm}
body.ibmcp-theme .ibmcp-deliverables-media{transform:none}
body.ibmcp-theme :is(.ibmcp-geography-options,.ibmcp-request-list,.ibmcp-deliverables-list,.ibmcp-manifesto-values){margin-bottom:5mm}
/* 10–11: heading/action centered; FAQ starts closed in the renderer. */
body.ibmcp-theme [data-stylist-layout=process] .ibmcp-stylist-heading{text-align:center}
body.ibmcp-theme [data-stylist-layout=process]>.ibmcp-stylist-block>.ibmcp-stylist-link{display:flex;width:fit-content;margin:5mm auto}
body.ibmcp-theme .ibmcp-stylist-faq-intro{position:static}
/* 13–14: distinct block boundary and a full-row case action. */
body.ibmcp-theme .ibmcp-character-detail>.ibmcp-stylist-link{margin-top:auto;align-self:flex-start}
body.ibmcp-theme [data-stylist-layout=character-editorial]{padding-bottom:5mm}
body.ibmcp-theme [data-case-layout=working-image] .ibmcp-stylist-case-summary{grid-column:1/-1;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;margin:5mm 0 0}
body.ibmcp-theme [data-case-layout=working-image] .ibmcp-stylist-case-summary>.ibmcp-action-link{align-self:center;margin:5mm auto}
/* 15–16: aligned media and bounded article cards, including long titles. */
body.ibmcp-theme .ibmcp-video-grid>.ibmcp-media-item:nth-child(n){margin-top:0;align-self:start}
body.ibmcp-theme :is(.ibmcp-blog-grid,.ibmcp-query-grid){box-sizing:border-box;min-width:0;max-width:100%;margin-inline:0}
body.ibmcp-theme :is(.ibmcp-blog-card,.ibmcp-blog-card-main,.ibmcp-blog-card-copy,.ibmcp-blog-title-link){min-width:0;max-width:100%;box-sizing:border-box}
body.ibmcp-theme .ibmcp-blog-card :is(h3,p){max-width:100%;overflow-wrap:anywhere;white-space:normal;margin-left:0;margin-right:0}
/* 17: mosaic lower copy is removed in the renderer; title position stays editable. */
/* 18–20: compact menu strips, collage note and profile role. */
body.ibmcp-theme [data-stylist-layout^="menu-"]{padding-block:16px;min-height:0}
body.ibmcp-theme [data-stylist-layout^="menu-"] .ibmcp-ed-inner{padding-block:16px}
body.ibmcp-theme .ibmcp-about-collage-left{grid-template-columns:60% 40%}
body.ibmcp-theme .ibmcp-about-collage-left .ibmcp-reference-script{padding:10px;margin-top:24px;overflow-wrap:anywhere}
body.ibmcp-theme .ibmcp-about-role{letter-spacing:.08em;line-height:1.3}
/* Shared CTA defaults. Explicit text / outline / filled modes remain editable. */
body.ibmcp-theme .ibmcp-section.ibmcp-link-style--plain :is(.ibmcp-reference-contact button[type=submit],.ibmcp-stylist-contact-form button[type=submit],.ibmcp-geography-copy>.ibmcp-stylist-link,.ibmcp-request-copy>.ibmcp-stylist-link,.ibmcp-manifesto-footer>.ibmcp-stylist-link){background:var(--ibmcp-request-bg,#000)!important;color:var(--ibmcp-request-ink,#fff)!important;-webkit-text-fill-color:var(--ibmcp-request-ink,#fff)!important;border:0!important}
body.ibmcp-theme .ibmcp-section.ibmcp-link-style--plain :is(.ibmcp-reference-contact button[type=submit],.ibmcp-stylist-contact-form button[type=submit],.ibmcp-geography-copy>.ibmcp-stylist-link,.ibmcp-request-copy>.ibmcp-stylist-link,.ibmcp-manifesto-footer>.ibmcp-stylist-link) *{color:inherit!important;-webkit-text-fill-color:inherit!important}
/* Layout follows section width, including narrow boxed pages. */
.ibmcp-section--stylist_blocks{container:ibmcp-refined-section / inline-size}
@container ibmcp-reference (max-width:680px){
 body.ibmcp-theme .ibmcp-reference-contact-portrait-grid{display:flex;flex-direction:column}
 body.ibmcp-theme .ibmcp-reference-contact-columns{grid-template-columns:minmax(0,1fr)}
 body.ibmcp-theme .ibmcp-reference-contact .ibmcp-reference-contact-photo{min-height:0;aspect-ratio:4/5;max-height:520px;width:100%}
 body.ibmcp-theme .ibmcp-reference-contact .ibmcp-reference-form>button[type=submit]{margin-top:5mm}
 body.ibmcp-theme .ibmcp-reference-contact-main>.ibmcp-reference-form{flex:none}
}
@container ibmcp-refined-section (max-width:760px){
 body.ibmcp-theme :is(.ibmcp-geography-layout,.ibmcp-manifesto-layout,.ibmcp-deliverables-layout,.ibmcp-request-layout,.ibmcp-stylist-contact){grid-template-columns:minmax(0,1fr)}
 body.ibmcp-theme :is(.ibmcp-geography-copy,.ibmcp-deliverables-copy,.ibmcp-request-copy)>.ibmcp-stylist-link,body.ibmcp-theme .ibmcp-manifesto-footer{margin-top:5mm}
 body.ibmcp-theme :is(.ibmcp-geography-media,.ibmcp-manifesto-media,.ibmcp-request-media,.ibmcp-deliverables-media){min-height:0;aspect-ratio:4/5}
 body.ibmcp-theme .ibmcp-stylist-faq{grid-template-columns:minmax(0,1fr)}
}

/* Screenshot review: stable default CTA colors and image-aligned compositions. */
body.ibmcp-theme .ibmcp-section.ibmcp-section.ibmcp-link-style--plain :is(.ibmcp-reference-contact button[type=submit],.ibmcp-stylist-contact-form button[type=submit],.ibmcp-about-harmony .ibmcp-reference-button){background:var(--ibmcp-button-bg,#000000)!important;color:var(--ibmcp-button-text,#ffffff)!important;-webkit-text-fill-color:var(--ibmcp-button-text,#ffffff)!important;border:0!important}
body.ibmcp-theme .ibmcp-section.ibmcp-section.ibmcp-link-style--plain :is(.ibmcp-reference-contact button[type=submit],.ibmcp-stylist-contact-form button[type=submit],.ibmcp-about-harmony .ibmcp-reference-button) *{color:inherit!important;-webkit-text-fill-color:inherit!important}
body.ibmcp-theme .ibmcp-section[data-stylist-layout=process] .ibmcp-stylist-heading{display:block!important;width:100%;text-align:center!important}
body.ibmcp-theme .ibmcp-section[data-stylist-layout=process] .ibmcp-stylist-heading>*{width:100%;max-width:none;text-align:center!important;margin-inline:auto!important}
body.ibmcp-theme .ibmcp-section[data-stylist-layout=process] .ibmcp-stylist-block>.ibmcp-stylist-link{display:flex!important;width:fit-content;max-width:100%;margin:5mm auto!important;align-self:center}
body.ibmcp-theme .ibmcp-about-profile .ibmcp-about-copy{padding-bottom:0}
body.ibmcp-theme .ibmcp-about-profile .ibmcp-about-copy>.ibmcp-reference-button{margin-top:auto!important;margin-bottom:0!important}
body.ibmcp-theme .ibmcp-about-collage-left{position:relative;display:block;isolation:isolate}
body.ibmcp-theme .ibmcp-about-collage-left>div{width:100%;height:100%}
body.ibmcp-theme .ibmcp-about-collage-left .ibmcp-reference-script{position:absolute;inset:auto 6% 7%;margin:0;max-width:88%;padding:0;z-index:1;transform:none;text-shadow:0 1px 5px #0009;overflow-wrap:anywhere}
body.ibmcp-theme .ibmcp-ed-mosaic-caption .ibmcp-ed_title{width:100%;max-width:100%;text-align:center!important;margin-inline:auto}
body.ibmcp-theme .ibmcp-journal-title-link{color:inherit;text-decoration:none;display:block}
/* Actual global header presets; never insert additional menus in page content. */
body.ibmcp-theme .ibmcp-header-booking{display:inline-flex;align-items:center;justify-content:center;gap:16px;flex-shrink:0;white-space:nowrap;padding:12px 18px;font:500 12px/1.4 var(--ibmcp-sans,Montserrat,sans-serif);letter-spacing:.1em;background:#000;color:#fff;-webkit-text-fill-color:#fff;text-decoration:none;border:0}
body.ibmcp-theme .ibmcp-header-booking:hover,body.ibmcp-theme .ibmcp-header-booking:focus-visible{background:#000;color:#fff;-webkit-text-fill-color:#fff;outline:1px solid currentColor;outline-offset:2px}
body.ibmcp-theme [data-header-preset=left-black] .ibmcp-header-booking{border:1px solid #fff}
body.ibmcp-theme .ibmcp-header-booking[hidden],body.ibmcp-theme .ibmcp-header-booking--mobile{display:none!important}
@media(min-width:981px){
 body.ibmcp-theme .ibmcp-site-header .ibmcp-primary-nav:has(>.ibmcp-header-booking:not([hidden])){display:flex;align-items:center;gap:20px;min-width:0}
 body.ibmcp-theme .ibmcp-site-header .ibmcp-primary-nav:has(>.ibmcp-header-booking:not([hidden]))>.ibmcp-menu--desktop{flex-wrap:wrap;min-width:0}
}
@media(max-width:980px){
 body.ibmcp-theme .ibmcp-header-booking--desktop{display:none!important}
 body.ibmcp-theme .ibmcp-header-booking--mobile:not([hidden]){display:inline-flex!important;margin-left:auto;order:2;padding:10px 12px;font-size:10px;gap:8px}
 body.ibmcp-theme .ibmcp-site-header .ibmcp-menu-toggle{order:3}
}
@container ibmcp-reference (max-width:680px){
 body.ibmcp-theme .ibmcp-about-profile .ibmcp-about-copy>.ibmcp-reference-button{margin-top:5mm!important}
 body.ibmcp-theme .ibmcp-about-collage-left .ibmcp-reference-script{font-size:clamp(24px,7cqw,42px)}
}
/* Additional marked actions: common bottom edge and centered profile link. */
body.ibmcp-theme .ibmcp-visible-change-copy{padding-bottom:0}
body.ibmcp-theme .ibmcp-visible-change-copy>.ibmcp-action-link{margin-top:auto!important;margin-bottom:0}
body.ibmcp-theme .ibmcp-editorial-copy>.ibmcp-text-link{margin-top:auto;align-self:flex-start}
body.ibmcp-theme .ibmcp-character-detail{display:flex;flex-direction:column}
body.ibmcp-theme .ibmcp-character-detail>.ibmcp-stylist-link{margin-top:auto!important}
html[data-ibmcp-boxed][data-ibmcp-layout-media~="max980"] body.ibmcp-theme .ibmcp-header-booking--desktop{display:none!important}
html[data-ibmcp-boxed][data-ibmcp-layout-media~="max980"] body.ibmcp-theme .ibmcp-header-booking--mobile:not([hidden]){display:inline-flex!important;margin-left:auto;order:2;padding:10px 12px;font-size:10px;gap:8px}
@media(max-width:680px){body.ibmcp-theme .ibmcp-visible-change-copy>.ibmcp-action-link{margin-top:5mm!important}}
html[data-ibmcp-boxed][data-ibmcp-layout-media~="max680"] body.ibmcp-theme .ibmcp-visible-change-copy>.ibmcp-action-link{margin-top:5mm!important}

/* Individually mapped screenshot corrections, 16:03–16:07. */
body.ibmcp-theme .ibmcp-case-top-action{display:flex;justify-content:center;width:100%;margin-top:5mm}
body.ibmcp-theme .ibmcp-case-top-action>.ibmcp-action-link{margin:0!important}
body.ibmcp-theme :is([data-case-layout=working-image],[data-case-layout=style-stories]) .ibmcp-stylist-case-summary:not(:has(.ibmcp-richtext:not(:empty))){display:none}
body.ibmcp-theme [data-case-layout=visible-change] .ibmcp-visible-change-head{margin-inline:0;justify-items:start;align-items:start;text-align:left!important}
body.ibmcp-theme [data-case-layout=visible-change] .ibmcp-visible-change-head .ibmcp-stylist-case-title{margin-inline:0!important;text-align:left!important;align-self:start}
body.ibmcp-theme [data-case-layout=wardrobe-roles]{--ibmcp-editorial-text-gap:7.5px}
body.ibmcp-theme [data-case-layout=wardrobe-roles] .ibmcp-wardrobe-role-caption{margin-bottom:7.5px}
body.ibmcp-theme [data-case-layout=wardrobe-roles] .ibmcp-wardrobe-roles-copy>.ibmcp-stylist-case-card-title{margin-top:7.5px;margin-bottom:7.5px}
body.ibmcp-theme [data-case-layout=wardrobe-roles] .ibmcp-wardrobe-quote{margin-top:0!important}
body.ibmcp-theme [data-case-layout=wardrobe-architecture] .ibmcp-wardrobe-architecture-summary{transform:translateY(-24px)}
body.ibmcp-theme .ibmcp-section[data-case-layout=character-frame] .ibmcp-character-case-details>.ibmcp-action-link{padding-left:0!important;margin-left:0!important;justify-content:flex-start!important}
body.ibmcp-theme .ibmcp-profile-action{display:flex;justify-content:center;width:100%}
body.ibmcp-theme .ibmcp-profile-action>.ibmcp-profile-link{margin-left:0!important;margin-right:0!important}
body.ibmcp-theme .ibmcp-section.ibmcp-section[data-section-type=editorial][data-link-style] .ibmcp-editorial-copy>.ibmcp-text-link{background:transparent!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #fff!important;border-radius:0!important}
body.ibmcp-theme .ibmcp-section.ibmcp-section[data-section-type=editorial][data-link-style] .ibmcp-editorial-copy>.ibmcp-text-link *{color:inherit!important;-webkit-text-fill-color:inherit!important}
body.ibmcp-theme .ibmcp-section.ibmcp-section[data-stylist-layout=about-profile] .ibmcp-about-copy>.ibmcp-reference-button{background:#000!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:0!important}
body.ibmcp-theme .ibmcp-section.ibmcp-section[data-stylist-layout=about-profile] .ibmcp-about-copy>.ibmcp-reference-button *{color:inherit!important;-webkit-text-fill-color:inherit!important}
@media(max-width:680px){body.ibmcp-theme [data-case-layout=wardrobe-architecture] .ibmcp-wardrobe-architecture-summary{transform:none}}
html[data-ibmcp-boxed][data-ibmcp-layout-media~="max680"] body.ibmcp-theme [data-case-layout=wardrobe-architecture] .ibmcp-wardrobe-architecture-summary{transform:none}

/* 1.46.39: screenshots 16:31–16:34; only the identified variants. */
body.ibmcp-theme .ibmcp-section.ibmcp-section[data-stylist-layout=about-collage] .ibmcp-about-copy>.ibmcp-reference-button,
body.ibmcp-theme .ibmcp-section.ibmcp-section[data-case-layout=style-stories] .ibmcp-case-top-action>.ibmcp-action-link{background:#000!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:0!important}
body.ibmcp-theme .ibmcp-section.ibmcp-section[data-stylist-layout=about-collage] .ibmcp-about-copy>.ibmcp-reference-button *,
body.ibmcp-theme .ibmcp-section.ibmcp-section[data-case-layout=style-stories] .ibmcp-case-top-action>.ibmcp-action-link *{color:inherit!important;-webkit-text-fill-color:inherit!important}
body.ibmcp-theme .ibmcp-section.ibmcp-section[data-case-layout=visible-change] .ibmcp-visible-change-copy>.ibmcp-action-link{align-self:flex-start!important;justify-content:flex-start!important;margin-left:0!important;margin-right:0!important;padding:14px 28px!important;box-sizing:border-box;width:max-content;max-width:100%;white-space:normal}
body.ibmcp-theme [data-case-layout=wardrobe-roles] .ibmcp-wardrobe-roles-aside{justify-content:flex-end;margin-top:0}
body.ibmcp-theme [data-case-layout=wardrobe-roles] .ibmcp-role-label{display:flex;align-items:center;gap:18px;margin:0;font-family:var(--ibmcp-display);font-size:11px;letter-spacing:.12em;line-height:1.3;text-transform:uppercase;color:var(--ibmcp-section-link,currentColor)}
body.ibmcp-theme [data-case-layout=wardrobe-roles] .ibmcp-role-rule{display:inline-block;flex:0 0 min(calc(5 * var(--ibmcp-layout-vw,1vw)),42px);font-size:0;height:1px;background:currentColor;opacity:.5}
body.ibmcp-theme [data-case-layout=wardrobe-roles] .ibmcp-wardrobe-role-caption :is(.ibmcp-stylist-case-label,.ibmcp-wardrobe-role-name){margin:0;font-family:var(--ibmcp-display);font-size:11px;letter-spacing:.12em;line-height:1.3}
body.ibmcp-theme [data-case-layout=wardrobe-roles] .ibmcp-wardrobe-role-name{gap:18px}

body.ibmcp-theme .ibmcp-section.ibmcp-section[data-case-layout=wardrobe-roles] .ibmcp-wardrobe-roles-copy>.ibmcp-stylist-case-card-title{margin-top:0!important;margin-bottom:0!important}

/* 1.46.40: common bottom alignment for the full-media hero family (1/2/3 media). */
body.ibmcp-theme .ibmcp-section:is([data-hero-layout=single],[data-hero-layout=triptych])>.ibmcp-hero-copy{align-self:end;padding-bottom:max(40px,env(safe-area-inset-bottom))}
body.ibmcp-theme .ibmcp-section:is([data-hero-layout=single],[data-hero-layout=triptych])>.ibmcp-hero-copy>:last-child{margin-bottom:0}
body.ibmcp-theme .ibmcp-section[data-case-layout=visible-change] .ibmcp-visible-change-copy>.ibmcp-action-link>span{min-width:0;overflow-wrap:anywhere;line-height:1.5}
body.ibmcp-theme .ibmcp-section[data-case-layout=visible-change] .ibmcp-visible-change-copy>.ibmcp-action-link>svg{flex-shrink:0}
