/* Design 3 is deliberately scoped to the explicit local research preview. */
.brand-edit-preview-note { padding: .4rem 1rem; text-align: center; color: #9f221b; background: #fbe7e0; font-size: .68rem; font-weight: 750; letter-spacing: .08em; }
.brand-edit-page .brand-profile-stage { min-height: 31rem; background: var(--paper); }
.brand-edit-page .brand-seo-hero-art { left: 44%; width: 56%; }
.brand-edit-page .brand-profile-stage-inner { width: min(100% - 6rem, 82rem); padding: 1.5rem 0 3rem; }
.brand-edit-page .brand-seo-breadcrumbs { margin: 0 0 2.5rem; border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.brand-edit-page .brand-profile-stage.has-product-showcase .brand-seo-hero-grid { display: block; }
.brand-edit-page .brand-seo-hero { width: 40%; min-height: 21rem; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; backdrop-filter: none; }
.brand-edit-page .brand-seo-lockup { margin: 0; }
.brand-edit-page .brand-seo-lockup h1 { flex-basis: 100%; font-size: clamp(3.5rem, 7.2vw, 7rem); line-height: .95; letter-spacing: -.06em; }
.brand-edit-page .brand-seo-lockup .brand-seo-logo { display: none; }
.brand-edit-subtitle { margin: .6rem 0 .8rem; font: 500 clamp(1.5rem, 2.4vw, 2.2rem)/1.12 var(--serif); letter-spacing: -.04em; }
.brand-edit-page .brand-seo-hero > .eyebrow { display: none; }
.brand-edit-page .brand-seo-lede { order: 0; margin: 0 0 .8rem; padding: 0; border: 0; font-size: .95rem; line-height: 1.6; }
.brand-edit-page .brand-seo-identity-facts { order: 1; margin: .2rem 0 1.3rem; font-size: .75rem; }
.brand-edit-page .brand-seo-identity-facts > div:not(:first-child) { display: none; }
.brand-edit-page .brand-seo-actions { order: 2; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 1rem; }
.brand-edit-page .brand-seo-actions a.primary-button + a.primary-button { padding: .5rem 0; background: transparent; color: var(--profile-blue); border: 0; box-shadow: none; text-decoration: underline; }
.brand-edit-page .brand-jump-products { display: none; }
.brand-edit-page .brand-profile-content { width: min(100% - 6rem, 82rem); padding-top: 0; }
.brand-edit-identity { display: grid; grid-template-columns: repeat(auto-fit,minmax(10rem,1fr)); margin: 0; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.brand-edit-identity > div { min-width: 0; padding: 0 1.5rem; border-left: 1px solid var(--line); }
.brand-edit-identity > div:first-child { padding-left: 0; border: 0; }
.brand-edit-identity dt { color: var(--ink-soft); font-size: .75rem; }
.brand-edit-identity dd { margin: .35rem 0 0; font-size: .9rem; font-weight: 700; }
.brand-edit-page .brand-product-showcase { display: block; position: relative; margin: 0; padding: 2rem 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.brand-edit-page .brand-product-showcase > header { display: block; padding-right: 15rem; margin-bottom: 1.1rem; }
.brand-edit-page .brand-product-showcase > header h2 { font-size: clamp(2.1rem,4.4vw,3.9rem); }
.brand-edit-page .brand-product-showcase > .studio-actions { position: absolute; top: 3.5rem; right: 0; flex-direction: row; }
.brand-edit-page .studio-browse { background: transparent; padding: .5rem; color: var(--profile-blue); border: 0; box-shadow: none; text-decoration: underline; }
.brand-edit-page .studio-expand { font-size: .7rem; }
.brand-edit-page .studio-catalogue { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0,1.1fr); gap: 1.2rem; align-items: start; }
.brand-edit-page .studio-catalogue > .studio-feature { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; min-height: 0; overflow: hidden; border-radius: .35rem; border: 1px solid var(--line); background: #fbfaf7; }
.brand-edit-page .studio-feature-media { order: -1; height: 33rem; max-height: none; width: 100%; padding: .6rem; border-radius: 0; background: #eae7e1; }
.brand-edit-page .studio-feature-media > img { border-radius: 0; width: 100%; height: 100%; object-fit: contain; }
.brand-edit-page .studio-feature-copy { width: 100%; padding: 1rem; }
.brand-edit-page .studio-feature h3 { font-size: 1.6rem; }
.brand-edit-page .studio-price { margin: .45rem 0; }
.brand-edit-page .studio-description { margin: .4rem 0; }
.brand-edit-page .studio-product-link { margin-top: .3rem; color: var(--profile-blue); }
.brand-edit-page .studio-catalogue > .studio-filmstrip { display: none; }
.brand-edit-page .studio-navigation { grid-row: 2; grid-column: 1; }
.brand-edit-products { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.brand-edit-products li { min-width: 0; border: 1px solid var(--line); border-radius: .35rem; overflow: hidden; background: #fbfaf7; }
.brand-edit-products img { display: block; width: 100%; height: 14.5rem; object-fit: contain; padding: .45rem; background: #eae7e1; }
.brand-edit-products li > div { padding: .8rem; }
.brand-edit-products h3 { margin: 0; font: 600 1.1rem/1.2 var(--serif); }
.brand-edit-products p { margin: .4rem 0; font-size: .83rem; }
.brand-edit-products a { color: var(--profile-blue); font-size: .78rem; font-weight: 750; text-underline-offset: .2em; }
.brand-edit-products li > div > a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.brand-edit-page .studio-dialog .brand-edit-products { display: none; }
.brand-edit-page .studio-dialog .studio-filmstrip { display: grid; }
.brand-edit-page .studio-dialog .studio-feature-media { height: 50vh; }
.brand-edit-page .studio-dialog .studio-catalogue { grid-template-columns: minmax(0,1fr) 12rem; }
.brand-edit-guide { padding: 2rem 0; border-block: 1px solid var(--line); }
.brand-edit-guide h2 { margin: .3rem 0 1.4rem; font: 550 clamp(1.8rem,3.3vw,3rem)/1.05 var(--serif); letter-spacing: -.04em; }
.brand-edit-guide .eyebrow { color: var(--red-dark); font-size: .7rem; }
.brand-edit-guide-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.5rem; }
.brand-edit-guide-card { min-width: 0; padding-left: 1.4rem; border-left: 1px solid var(--line); }
.brand-edit-guide-card:first-child { padding-left: 0; border: 0; }
.brand-edit-guide-card > img { object-fit: contain; margin-bottom: .65rem; }
.brand-edit-guide-card h3 { margin: 0 0 .65rem; font: 650 1.1rem/1.2 var(--serif); }
.brand-edit-guide-card p { margin: 0 0 .75rem; font-size: .82rem; line-height: 1.65; color: var(--ink-soft); }
.brand-edit-guide details { font-size: .75rem; line-height: 1.6; overflow-wrap: anywhere; }
.brand-edit-guide summary { min-height: 2.75rem; padding: .6rem 0; cursor: pointer; color: var(--profile-blue); font-weight: 750; }
.brand-edit-guide details a { color: var(--profile-blue); }
.brand-edit-guide details ul { padding-left: 1.2rem; }
.brand-edit-guide details li { margin-block: .6rem; }
.brand-edit-guide details small { display: block; color: var(--ink-soft); }
.brand-edit-research-note { font-size: .73rem; color: var(--ink-soft); line-height: 1.6; }
.brand-edit-scope > p { max-width: 70ch; }
.brand-edit-page .brand-lens { padding: 2rem 0 1.5rem; margin: 0; border-bottom: 1px solid var(--line); }
.brand-edit-lens-note { margin: 1.3rem 0 0; max-width: 95ch; font-size: .75rem; color: var(--ink-soft); line-height: 1.6; }
.brand-edit-page .brand-lens-heading h2 { font-size: 1.8rem; }
.brand-edit-page .brand-lens-card > header { flex-direction: column; text-align: center; min-height: 4.5rem; }
.brand-edit-page .brand-lens-card > strong, .brand-edit-page .brand-lens-unassessed { display: block; text-align: center; font-size: .75rem; }
.brand-edit-page .brand-story-layout { display: flex; flex-direction: column; gap: 0; margin-top: 0; }
.brand-edit-page .brand-community { border: 0; padding-block: 1.5rem; }
.brand-edit-page .brand-community.is-empty .brand-community-heading { align-items: center; }
.brand-edit-page .brand-community.is-empty .brand-community-heading-actions { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; }
.brand-edit-page .brand-community.is-empty .brand-community-layout { display: block; }
.brand-edit-page .brand-community.is-empty .community-empty { display: grid; grid-template-columns: 3rem auto; gap: .3rem 1rem; text-align: left; padding: .8rem 0; }
.brand-edit-page .brand-community.is-empty .community-empty img { grid-row: 1 / span 2; }
.brand-edit-page .brand-community.is-empty .community-empty h3 { margin: 0; font-size: 1.2rem; }
.brand-edit-page .brand-community.is-empty .community-empty p { grid-column: 2; margin: 0; max-width: none; }
.brand-edit-page .brand-story-card { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.brand-edit-page .brand-evidence-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; }
.brand-edit-page .brand-seo-related { padding-top: 1.5rem; }
.brand-edit-page :is(a, button, summary):focus-visible { outline: 3px solid var(--profile-blue); outline-offset: 4px; }
@media(max-width: 64rem) {
  .brand-edit-page .brand-profile-stage-inner, .brand-edit-page .brand-profile-content { width: calc(100% - 3rem); }
  .brand-edit-page .brand-seo-hero-art { left: 48%; width: 52%; }
  .brand-edit-page .brand-seo-hero { width: 43%; }
  .brand-edit-guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
  .brand-edit-guide-card:nth-child(3) { padding-left: 0; border: 0; }
  .brand-edit-page .studio-feature-media { height: 28rem; }
  .brand-edit-products img { height: 11rem; }
}
@media(max-width: 47.999rem) {
  .brand-edit-page .brand-profile-stage { display: flex; flex-direction: column; min-height: 0; }
  .brand-edit-page .brand-profile-stage-inner { width: calc(100% - 2rem); padding-block: 1.2rem 1.7rem; }
  .brand-edit-page .brand-seo-hero-art { position: relative; order: 1; left: auto; width: 100%; height: 15rem; }
  .brand-edit-page .brand-seo-breadcrumbs { margin-bottom: 1.6rem; }
  .brand-edit-page .brand-seo-hero { width: 100%; min-height: 0; }
  .brand-edit-page .brand-seo-lockup h1 { font-size: clamp(3.4rem,15vw,5rem); }
  .brand-edit-page .brand-seo-lede { font-size: .88rem; }
  .brand-edit-page .brand-profile-content { width: calc(100% - 2rem); }
  .brand-edit-identity { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem 0; padding-block: 1.3rem; }
  .brand-edit-identity > div { padding: 0 .8rem; }
  .brand-edit-identity > div:nth-child(3) { padding-left: 0; border: 0; }
  .brand-edit-identity dd { font-size: .8rem; }
  .brand-edit-page .brand-product-showcase > header { padding-right: 0; }
  .brand-edit-page .brand-product-showcase > .studio-actions { position: static; margin-block: .5rem 1rem; justify-content: space-between; }
  .brand-edit-page .studio-catalogue { grid-template-columns: 1fr; gap: 1rem; }
  .brand-edit-page .studio-feature-media { height: 24rem; }
  .brand-edit-products { grid-column: 1; grid-row: 3; gap: .75rem; }
  .brand-edit-products img { height: 12rem; }
  .brand-edit-products li > div { padding: .65rem; }
  .brand-edit-products h3 { font-size: 1rem; }
  .brand-edit-page .studio-navigation { grid-row: 2; }
  .brand-edit-page .brand-evidence-grid { grid-template-columns: 1fr; }
  .brand-edit-guide-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .brand-edit-guide-card { border: 0; padding: 0 0 1rem; border-bottom: 1px solid var(--line); }
  .brand-edit-guide-card:last-child { padding-bottom: 0; border: 0; }
  .brand-edit-page .studio-dialog .studio-catalogue { grid-template-columns: 1fr; }
  .brand-edit-page .studio-dialog .studio-filmstrip { display: flex; grid-column: 1; grid-row: 3; }
  .brand-edit-page .brand-lens-card > header { min-height: 3.5rem; }
}

/* A real one-item sample stays a single featured card; no filler tiles. */
.brand-edit-products:empty { display: none; }
.brand-edit-page .brand-product-showcase > .studio-catalogue:has(> .brand-edit-products:empty) { grid-template-columns: minmax(0,1fr); max-width: 45rem; margin-inline: auto; }
.brand-edit-identity > div:only-child { grid-column: 1 / -1; }

/* Keep the dated sample label visible; administrative detail stays disclosed. */
.brand-edit-catalogue-label { font-size: .75rem; color: var(--ink-soft); margin: .45rem 0 0; }
.brand-edit-page .brand-review-card > .brand-edit-lens-note,
.brand-edit-page .brand-review-card > .brand-lens-review { margin-block: 1rem; }
.brand-edit-page .brand-review-card > p { font-size: .82rem; line-height: 1.6; }
.brand-edit-page .brand-evidence-card > .brand-seo-caveat { margin-top: 1rem; }
