/* Showcase catalogs: one stylesheet for every concept brand. Direction "shelf & label": the product sits on a
   consistent stage, text is set like a printed label (thin rules, small codes), the brand color appears only on actions
   and the current state. Everything brand-specific arrives as tokens from /catalogs/showcase/<slug>/theme.css. */
@import url("/static/fonts/rubik.css");

:root {
  --sc-bg: #f4f4f2; --sc-surface: #ffffff; --sc-stage: #ecebe7; --sc-ink: #1b1b1b; --sc-ink-rgb: 27 27 27; --sc-muted: #5f5f5f;
  --sc-line: #dcdad5; --sc-accent: #1b1b1b; --sc-accent-rgb: 27 27 27; --sc-accent-ink: #ffffff; --sc-radius: 12px; --sc-radius-s: 6px;
  --sc-gap: 20px; --sc-pad: 22px; --sc-section: 56px; --sc-card-pad: 14px; --sc-aspect: 1 / 1; --sc-h-weight: 600; --sc-h-track: 0em;
  --sc-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  --sc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.sc { margin: 0; font-family: var(--sc-font-text, "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif); background: var(--sc-bg); color: var(--sc-ink); line-height: 1.55; font-size: 16px; }
.sc img { max-width: 100%; height: auto; display: block; }
.sc a:not(.sc-btn) { color: inherit; }
.sc h1, .sc h2, .sc h3 { font-weight: var(--sc-h-weight); letter-spacing: var(--sc-h-track); line-height: 1.15; margin: 0; font-family: var(--sc-font-display, inherit); overflow-wrap: anywhere; }
.sc h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.3rem); }
.sc h2 { font-size: 1.15rem; }
.sc p { margin: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sc :focus-visible { outline: 3px solid var(--sc-accent); outline-offset: 2px; border-radius: 4px; }
.sc-skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--sc-ink); color: var(--sc-bg); padding: 10px 14px; border-radius: 8px; z-index: 50; text-decoration: none; }
.sc-skip:focus { top: 12px; }

/* OMAI strip above every brand header (not /present): OMAI colours on purpose, so it never reads as part of the concept brand */
.sc-omai { background: #0f1b3d; color: #ffffff; font-family: "Rubik", system-ui, sans-serif; font-size: 0.86rem; line-height: 1.3; }
.sc-omai-in { display: flex; align-items: center; justify-content: space-between; gap: 0 14px; flex-wrap: wrap; min-height: 44px; }
.sc-omai-label { min-width: 0; color: #d6dcec; }
.sc-omai-links { display: flex; gap: 4px 16px; flex-wrap: wrap; }
.sc-omai a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.sc-omai a.sc-omai-want { color: #1fd1c6; font-weight: 700; }
.sc-omai a:focus-visible { outline: 2px solid #1fd1c6; outline-offset: 2px; border-radius: 4px; }
.sc-omai-short { display: none; }
@media (max-width: 520px) { .sc-omai-long { display: none; } .sc-omai-short { display: inline; } .sc-omai-in { gap: 0 12px; } .sc-omai-links { gap: 0 12px; } }
.sc-wrap { max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .sc-wrap { padding-inline: 28px; } }
.sc-mono { font-family: var(--sc-mono); font-size: 0.92em; letter-spacing: 0.02em; }
.sc-kicker { font-size: 0.82rem; color: var(--sc-muted); letter-spacing: 0.04em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sc-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.sc-lede { color: var(--sc-muted); font-size: 1.08rem; max-width: 56ch; }
.sc-note { color: var(--sc-muted); font-size: 0.85rem; display: block; margin-top: 4px; }
.sc-none { color: var(--sc-muted); }

/* ---- header / footer */
.sc-top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--sc-bg) 92%, transparent); border-bottom: 1px solid var(--sc-line); backdrop-filter: saturate(1.2) blur(8px); }
.sc-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; padding-block: 6px; }
.sc-brandbox { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sc-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: var(--sc-h-weight); letter-spacing: var(--sc-h-track); font-size: 1.2rem; font-family: var(--sc-font-display, inherit); }
.sc-temp { font-size: 0.72rem; border: 1px dashed var(--sc-muted); color: var(--sc-muted); border-radius: 999px; padding: 1px 8px; white-space: nowrap; font-weight: 400; letter-spacing: 0; }
.sc-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sc-navbtn, .sc-lang { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; text-decoration: none; font-size: 0.92rem; border: 1px solid transparent; }
.sc-navbtn:hover, .sc-lang:hover { border-color: var(--sc-line); background: var(--sc-surface); }
.sc-navbtn svg { width: 18px; height: 18px; }
.sc-lang { border-color: var(--sc-line); }
.sc-count { background: var(--sc-accent); color: var(--sc-accent-ink); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 0.78rem; padding: 0 6px; font-variant-numeric: tabular-nums; }
.sc-count[hidden] { display: none; }
@media (max-width: 560px) { .sc-navbtn span:not(.sc-count) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .sc-navbtn { padding: 0 10px; } }

.sc-foot { border-top: 1px solid var(--sc-line); margin-top: var(--sc-section); padding-block: 28px 40px; color: var(--sc-muted); font-size: 0.92rem; }
.sc-foot-in { display: grid; gap: 8px; }
.sc-attr b { color: var(--sc-ink); font-weight: 500; }
.sc-sample { font-size: 0.85rem; }
.sc-foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; }
.sc-foot-links a { min-height: 44px; display: inline-flex; align-items: center; }
.sc-contact-real { color: var(--sc-accent) !important; font-weight: 500; }

/* ---- buttons and fields */
.sc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: var(--sc-radius-s); border: 1.5px solid var(--sc-ink); background: var(--sc-ink); color: var(--sc-bg); font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; transition: transform 160ms var(--sc-ease), background 160ms; -webkit-appearance: none; appearance: none; }
.sc-btn:active { transform: translateY(1px); }
.sc-btn svg { width: 18px; height: 18px; flex: none; }
.sc-btn-accent { background: var(--sc-accent); border-color: var(--sc-accent); color: var(--sc-accent-ink); }
.sc-btn-quiet { background: transparent; color: var(--sc-ink); border-color: var(--sc-line); }
.sc-btn-quiet:hover { border-color: var(--sc-ink); }
.sc-btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.sc-btn[hidden] { display: none; }
.sc-round { width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--sc-line); background: var(--sc-surface); color: var(--sc-ink); font-size: 1.6rem; line-height: 1; cursor: pointer; -webkit-appearance: none; appearance: none; }
.sc-field { display: grid; gap: 6px; font-size: 0.9rem; }
.sc-field small { color: var(--sc-muted); }
.sc input[type="text"], .sc input[type="search"], .sc input[type="number"], .sc select { font: inherit; font-size: 16px; min-height: 46px; padding: 8px 12px; border: 1.5px solid var(--sc-line); border-radius: var(--sc-radius-s); background: var(--sc-surface); color: var(--sc-ink); width: 100%; -webkit-appearance: none; appearance: none; }
.sc select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23777' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: left 12px center; background-size: 12px 8px; background-repeat: no-repeat; padding-inline-start: 34px; }
.sc[dir="ltr"] select, [dir="ltr"] .sc select { background-position: right 12px center; padding-inline-start: 12px; padding-inline-end: 34px; }
.sc input:focus, .sc select:focus { border-color: var(--sc-ink); outline: none; }
/* keyboard focus: the same visible ring on fields, checkboxes and radios as on links */
.sc input:focus-visible, .sc select:focus-visible, .sc textarea:focus-visible { outline: 3px solid var(--sc-accent); outline-offset: 2px; }
.sc-btn-accent:focus-visible, .sc-count:focus-visible { outline-color: var(--sc-ink); outline-offset: 3px; }
.sc input[aria-invalid="true"] { border-color: #b42318; }
.sc-status { font-size: 0.9rem; color: var(--sc-muted); min-height: 1.2em; }
.sc-status.is-error { color: #b42318; }
.sc-status.is-ok { color: var(--sc-ink); }

/* ---- hero */
.sc-hero { padding-block: calc(var(--sc-section) * 0.7) calc(var(--sc-section) * 0.6); }
.sc-hero-grid { display: grid; gap: var(--sc-gap); align-items: center; }
.sc-hero-text { display: grid; gap: 16px; }
.sc-hero-img { margin: 0; position: relative; border-radius: var(--sc-radius); overflow: hidden; background: var(--sc-stage); }
.sc-hero-img img { width: 100%; }
@media (min-width: 900px) { .sc-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; } }
.sc-hero-cat { padding-block: calc(var(--sc-section) * 0.5) calc(var(--sc-section) * 0.3); }
.sc-hero-cat .sc-wrap { display: grid; gap: 12px; }

/* ---- list */
.sc-list { display: grid; gap: var(--sc-gap); grid-template-columns: minmax(0, 1fr); }
.sc-cats { min-width: 0; }
.sc-side { display: grid; gap: 16px; align-content: start; min-width: 0; }
@media (min-width: 960px) {
  .sc-list { grid-template-columns: 230px minmax(0, 1fr); align-items: start; }
  .sc-list-tech { grid-template-columns: 290px minmax(0, 1fr); }
  .sc-side .sc-fgroups { grid-template-columns: minmax(0, 1fr); }
  .sc-side .sc-filters { padding: 16px; }
}
.sc-list-main { display: grid; gap: 16px; min-width: 0; }
.sc-cats-label { font-size: 0.8rem; color: var(--sc-muted); letter-spacing: 0.04em; margin-bottom: 8px; }
.sc-cats ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
@media (min-width: 960px) { .sc-cats ol { flex-direction: column; overflow: visible; gap: 2px; } }
.sc-cats a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: var(--sc-radius-s); text-decoration: none; white-space: nowrap; border: 1px solid var(--sc-line); background: var(--sc-surface); }
@media (min-width: 960px) { .sc-cats a { border-color: transparent; background: transparent; border-bottom: 1px solid var(--sc-line); border-radius: 0; padding-inline: 4px; } }
.sc-cats a[aria-current="page"] { border-color: var(--sc-ink); background: var(--sc-ink); color: var(--sc-bg); }
@media (min-width: 960px) { .sc-cats a[aria-current="page"] { background: transparent; color: var(--sc-ink); border-color: transparent; border-bottom: 2px solid var(--sc-accent); font-weight: 500; } }
.sc-step { width: 24px; height: 24px; border-radius: 999px; border: 1px solid currentColor; display: inline-grid; place-items: center; font-size: 0.78rem; flex: none; opacity: 0.8; }
.sc-cat-name { flex: 1; }
.sc-cat-n { font-size: 0.8rem; color: inherit; opacity: 0.6; font-variant-numeric: tabular-nums; }

.sc-results-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sc-count-line { font-size: 0.9rem; color: var(--sc-muted); }
.sc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-chips a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--sc-line); border-radius: 999px; font-size: 0.85rem; text-decoration: none; background: var(--sc-surface); }
.sc-chips a::after { content: "×"; margin-inline-start: 8px; opacity: 0.6; }

.sc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sc-gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .sc-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } }
.sc-card { position: relative; background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: var(--sc-radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color 160ms, transform 200ms var(--sc-ease); }
.sc-card:hover { border-color: rgb(var(--sc-ink-rgb) / 0.4); }
.sc-card-link { text-decoration: none; display: flex; flex-direction: column; flex: 1; }
.sc-card-img { margin: 0; position: relative; aspect-ratio: var(--sc-aspect); background: var(--sc-stage); display: grid; place-items: center; overflow: hidden; }
.sc-card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 400ms var(--sc-ease); }
.sc-card:hover .sc-card-img img { transform: scale(1.025); }
.sc-card-body { padding: var(--sc-card-pad); display: grid; gap: 4px; align-content: start; }
.sc-card h3 { font-size: 1.02rem; }
.sc-sku { font-family: var(--sc-mono); font-size: 0.78rem; color: var(--sc-muted); letter-spacing: 0.04em; }
.sc-short { color: var(--sc-muted); font-size: 0.9rem; }
.sc-card-fields { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; font-size: 0.82rem; }
.sc-card-fields li { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--sc-line); padding-block: 5px; }
.sc-card-fields span { color: var(--sc-muted); }
.sc-card-fields b { font-weight: 500; font-variant-numeric: tabular-nums; }
.sc-swatches { list-style: none; margin: 0; padding: 0 var(--sc-card-pad) var(--sc-card-pad); display: flex; gap: 6px; }
.sc-sw { width: 18px; height: 18px; border-radius: 999px; display: inline-block; border: 1px solid rgb(var(--sc-ink-rgb) / 0.25); background: var(--sc-stage); flex: none; }
.sc-ph { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; font-size: 0.7rem; background: rgb(var(--sc-ink-rgb) / 0.72); color: var(--sc-bg); padding: 2px 8px; border-radius: 999px; pointer-events: none; }

.sc-empty { background: var(--sc-surface); border: 1px dashed var(--sc-line); border-radius: var(--sc-radius); padding: 28px; display: grid; gap: 12px; justify-items: start; }
.sc-empty-line { color: var(--sc-muted); }
.sc-empty-line[hidden] { display: none; }

/* ---- filters (technical) */
.sc-filters { background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: var(--sc-radius); padding: var(--sc-pad); display: grid; gap: 16px; }
.sc-search label { display: block; font-weight: 500; margin-bottom: 6px; }
.sc-search-row { display: flex; gap: 8px; }
.sc-search-row input { flex: 1; min-width: 0; }
.sc-fmore > summary, .sc-present-more > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; font-weight: 500; list-style: none; }
.sc-fmore > summary::-webkit-details-marker, .sc-present-more > summary::-webkit-details-marker { display: none; }
.sc-fmore > summary::after, .sc-present-more > summary::after { content: ""; width: 9px; height: 9px; border-inline-end: 2px solid currentColor; border-block-end: 2px solid currentColor; transform: rotate(45deg); margin-inline-start: auto; transition: transform 160ms; }
.sc-fmore[open] > summary::after, .sc-present-more[open] > summary::after { transform: rotate(-135deg); }
.sc-fmore[open] > summary { margin-bottom: 12px; }
.sc-fgroups { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.sc-fgroup { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; align-content: start; min-width: 0; }
.sc-fgroup legend, .sc-fgroup > label { font-size: 0.88rem; font-weight: 500; padding: 0; margin-bottom: 2px; }
.sc-fgroup small { color: var(--sc-muted); font-weight: 400; }
.sc-check { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 0.92rem; cursor: pointer; }
.sc-check input { width: 20px; height: 20px; accent-color: var(--sc-accent); margin: 0; }
.sc-factions { display: flex; gap: 14px; align-items: center; }
.sc-reset { min-height: 44px; display: inline-flex; align-items: center; }
.js .sc-apply { display: none; }
.sc-list-tech .sc-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
@media (max-width: 520px) { .sc-list-tech .sc-grid { grid-template-columns: 1fr; } .sc-list-tech .sc-card-link { flex-direction: row; } .sc-list-tech .sc-card-img { width: 38%; flex: none; aspect-ratio: 1; } }

/* ---- product page */
.sc-backrow { padding-block: 18px 6px; }
.sc-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--sc-muted); }
.sc-back svg { width: 18px; height: 18px; }
[dir="rtl"] .sc-back svg { transform: none; }
[dir="ltr"] .sc-back svg { transform: scaleX(-1); }
.sc-product-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .sc-product-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; } .sc-gallery { position: sticky; top: 80px; } }
.sc-gallery { display: grid; gap: 12px; min-width: 0; }
.sc-photos[hidden], .sc-spin[hidden] { display: none; }
.sc-photos { display: grid; gap: 12px; }
.sc-stage-img { margin: 0; position: relative; background: var(--sc-stage); border-radius: var(--sc-radius); overflow: hidden; aspect-ratio: var(--sc-aspect); display: grid; place-items: center; }
.sc-stage-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sc-thumbs { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; }
.sc-thumbs a { display: block; width: 76px; border-radius: var(--sc-radius-s); overflow: hidden; border: 2px solid transparent; background: var(--sc-stage); aspect-ratio: var(--sc-aspect); }
.sc-thumbs a[aria-current="true"] { border-color: var(--sc-ink); }
.sc-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sc-viewtabs { display: inline-flex; border: 1px solid var(--sc-line); border-radius: 999px; padding: 3px; gap: 3px; justify-self: start; background: var(--sc-surface); }
.sc-viewtabs a { min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; text-decoration: none; font-size: 0.92rem; }
.sc-viewtabs a[aria-current="true"] { background: var(--sc-ink); color: var(--sc-bg); }
.sc-viewtabs a svg { inline-size: 18px; block-size: 18px; margin-inline-end: 6px; }
/* a product with a turntable says so on its card */
.sc-card-360 { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; background: var(--sc-accent); color: var(--sc-accent-ink); padding: 3px 9px; border-radius: 999px; pointer-events: none; }
.sc-spin { display: grid; gap: 10px; }
.sc-spin-stage { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.sc-spin-stage.is-drag { cursor: grabbing; }
.sc-spin-ctl { display: flex; align-items: center; justify-content: center; gap: 14px; }
.sc-spin-hint { font-size: 0.85rem; color: var(--sc-muted); text-align: center; }
.sc-info { display: grid; gap: 18px; align-content: start; min-width: 0; }
.sc-info h1 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); }
.sc-desc { font-size: 1.02rem; max-width: 60ch; }
.sc-chosen b { font-weight: 500; }
.sc-actions { display: grid; gap: 12px; }
.sc-actions:empty { display: none; }
.sc-details { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--sc-line); }
.sc-details > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--sc-line); }
.sc-details dt { color: var(--sc-muted); font-size: 0.88rem; }
.sc-details dd { margin: 0; }
.sc-variants ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sc-variants a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--sc-line); border-radius: 999px; text-decoration: none; font-size: 0.9rem; background: var(--sc-surface); }
.sc-variants a[aria-current="true"] { border-color: var(--sc-ink); box-shadow: inset 0 0 0 1px var(--sc-ink); }
.sc-variants bdi { color: var(--sc-muted); font-size: 0.78rem; }
.sc-spec table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 0.95rem; }
.sc-spec th, .sc-spec td { text-align: start; padding: 10px 0; border-bottom: 1px solid var(--sc-line); vertical-align: top; }
.sc-spec th { font-weight: 400; color: var(--sc-muted); width: 42%; padding-inline-end: 12px; }
.sc-spec td { font-variant-numeric: tabular-nums; }
.sc-share { display: grid; gap: 10px; padding: var(--sc-pad); background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: var(--sc-radius); }
.sc-share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.sc-share-btns:has(> [hidden]:only-child), .sc-share-btns:empty { display: none; }
.sc-linkfield { display: grid; gap: 6px; font-size: 0.85rem; color: var(--sc-muted); }
.sc-linkfield input { font-family: var(--sc-mono); font-size: 14px !important; color: var(--sc-ink); }
@supports (-webkit-touch-callout: none) { .sc-linkfield input { font-size: 16px !important; } }

/* ---- quote */
.sc-quote-add { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); align-items: end; padding: var(--sc-pad); background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: var(--sc-radius); }
.sc-quote-add .sc-field:first-child:not(.sc-qty) { grid-column: 1 / -1; }
.sc-quote-add button { grid-column: 1 / -1; }
.sc-quote-add .sc-status { grid-column: 1 / -1; }
.sc-quote { display: grid; gap: 18px; }
.sc-quote-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .sc-quote-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }
.sc-quote-lines ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sc-qline { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px; background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: var(--sc-radius); align-items: center; }
.sc-qline img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--sc-radius-s); background: var(--sc-stage); }
.sc-qline-main { display: grid; gap: 2px; min-width: 0; }
.sc-qline-main a { font-weight: 500; text-decoration: none; }
.sc-qline-meta { font-size: 0.85rem; color: var(--sc-muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sc-qline-ctl { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sc-qline-ctl .sc-linkbtn { margin-inline-start: auto; }
.sc-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--sc-line); border-radius: var(--sc-radius-s); }
.sc-stepper button { width: 44px; height: 44px; border: 0; background: transparent; font: inherit; font-size: 1.2rem; cursor: pointer; color: var(--sc-ink); }
.sc-stepper input { width: 76px !important; border: 0 !important; text-align: center; min-height: 44px !important; border-radius: 0 !important; }
.sc-linkbtn { background: none; border: 0; color: var(--sc-muted); text-decoration: underline; font: inherit; font-size: 0.88rem; min-height: 44px; cursor: pointer; padding: 0 4px; }
.sc-qline .sc-status { grid-column: 1 / -1; }
.sc-quote-sum { font-weight: 500; margin-bottom: 10px; }
.sc-project { display: grid; gap: 14px; padding: var(--sc-pad); background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: var(--sc-radius); }
.sc-project fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.sc-project legend { font-weight: 500; margin-bottom: 6px; }
.sc-sales { padding: var(--sc-pad); border: 2px solid var(--sc-ink); border-radius: var(--sc-radius); background: var(--sc-surface); display: grid; gap: 14px; }
.sc-sales[hidden] { display: none; }
.sc-flag { font-size: 0.85rem; background: rgb(var(--sc-accent-rgb) / 0.1); padding: 6px 10px; border-radius: var(--sc-radius-s); justify-self: start; }
.sc-sales td bdi, .sc-qline-meta bdi { white-space: nowrap; }
.sc-sales table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.sc-sales th, .sc-sales td { text-align: start; padding: 8px 6px; border-bottom: 1px solid var(--sc-line); }
.sc-sales th { color: var(--sc-muted); font-weight: 400; font-size: 0.82rem; }
.sc-sales-scroll { overflow-x: auto; }
.sc-sales dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; font-size: 0.92rem; }
.sc-sales dt { color: var(--sc-muted); }
.sc-sales dd { margin: 0; }

/* ---- shortlist / selection */
.sc-selection { display: grid; gap: 18px; }
.sc-sl-toggle[aria-pressed="true"] { background: var(--sc-accent); border-color: var(--sc-accent); color: var(--sc-accent-ink); }
.sc-sl-toggle[aria-pressed="true"] svg { fill: currentColor; }
.sc-grid-sel .sc-card { position: relative; }

/* ---- presentation (tablet, agent) */
.sc-page-present .sc-foot { margin-top: 0; padding-block: 16px 24px; font-size: 0.85rem; }
.sc-present { display: grid; gap: 16px; padding: 12px 16px 20px; max-width: 1400px; margin-inline: auto; }
@media (min-width: 800px) { .sc-present { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); grid-template-rows: 1fr auto; min-height: calc(100dvh - 72px); gap: 22px; padding: 16px 24px; } .sc-present-strip { grid-column: 1 / -1; } }
.sc-present-stage { min-width: 0; display: grid; align-content: center; }
.sc-present-stage .sc-stage-img { aspect-ratio: 4 / 3; max-height: calc(100dvh - 240px); }
@media (orientation: portrait) and (min-width: 700px) { .sc-present { grid-template-columns: 1fr; grid-template-rows: auto; } .sc-present-stage .sc-stage-img { max-height: 54dvh; } }
.sc-present-info { display: grid; gap: 14px; align-content: start; }
.sc-present-info h1 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); }
.sc-present-more summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 500; }
.sc-present-more { display: grid; gap: 10px; }
.sc-present-more p { margin-bottom: 10px; }
.sc-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.sc-facts > div { border-top: 1px solid var(--sc-line); padding-block: 8px; }
.sc-facts dt { font-size: 0.8rem; color: var(--sc-muted); }
.sc-facts dd { margin: 0; font-variant-numeric: tabular-nums; }
.sc-present-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: sticky; bottom: 0; z-index: 5; padding-block: 10px; background: var(--sc-bg); }
.sc-present-nav .sc-btn { min-height: 56px; font-size: 1.05rem; }
.sc-present-exit a { min-height: 44px; display: inline-flex; align-items: center; color: var(--sc-muted); }
.sc-present-strip { list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 10px; overflow-x: auto; }
.sc-present-strip a { display: block; width: 84px; border-radius: var(--sc-radius-s); overflow: hidden; border: 2px solid transparent; background: var(--sc-stage); }
.sc-present-strip a[aria-current="true"] { border-color: var(--sc-accent); }
.sc-present-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---- showcase index: the block "showcase index (design pass 2026-12-02)" further down */

/* ---- what this catalog shows (hero.features): a ruled list under the hero text, icon in a tinted tile + a few words.
   Colours come from the catalog's own tokens, so it sits in all five grounds; the console band overrides for the teal. */
.sc-feats { list-style: none; margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid var(--sc-line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 14px 28px; max-width: 760px; }
.sc-feats li { display: flex; align-items: center; gap: 12px; min-width: 0; font-weight: 600; font-size: 0.97rem; line-height: 1.3; color: var(--sc-ink); }
.sc-feat-ic { flex: none; inline-size: 42px; block-size: 42px; display: grid; place-items: center; border-radius: min(var(--sc-radius), 10px); background: color-mix(in srgb, var(--sc-accent) 13%, transparent); color: var(--sc-accent); }
.sc-feat-ic svg { inline-size: 22px; block-size: 22px; }
.sc-feat-t { min-width: 0; text-wrap: pretty; }
.sc-hero-text .sc-feats { grid-column: 1 / -1; }
/* four items: two by two (never three and an orphan); the wide atelier hero takes them in one row */
.sc-feats:has(> li:nth-child(4)) { grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), calc(50% - 14px))); }
@media (min-width: 900px) { .sc-l-atelier .sc-hero .sc-feats { max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .sc-hero .sc-feats { gap: 10px 20px; padding-top: 14px; }
  .sc-hero .sc-feats li { font-size: 0.92rem; }
  .sc-hero .sc-feat-ic { inline-size: 36px; block-size: 36px; }
  .sc-hero .sc-feat-ic svg { inline-size: 20px; block-size: 20px; }
}
.sc-l-console .sc-hero .sc-feats { border-top-color: rgb(255 255 255 / 0.18); max-width: 620px; }
.sc-l-console .sc-hero .sc-feats li { color: #ffffff; }
.sc-l-console .sc-hero .sc-feat-ic { background: rgb(255 255 255 / 0.12); color: #ffffff; }
.sc-l-console .sc-hero .sc-feats + .sc-hero-feats { margin-top: 4px; }

@media (prefers-reduced-motion: reduce) { .sc *, .sc *::before, .sc *::after { transition: none !important; animation: none !important; } }

/* finish picker inside the quote form (one picker; each option swaps the image) */
.sc-finishes { border: 0; margin: 0; padding: 0; grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.sc-finishes legend { font-size: 0.9rem; margin-bottom: 6px; padding: 0; }
.sc-finish { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--sc-line); border-radius: 999px; background: var(--sc-surface); font-size: 0.9rem; cursor: pointer; }
.sc-finish input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sc-finish:has(input:checked) { border-color: var(--sc-ink); box-shadow: inset 0 0 0 1px var(--sc-ink); }
.sc-finish:has(input:focus-visible) { outline: 3px solid var(--sc-accent); outline-offset: 2px; }
.sc-finish bdi { color: var(--sc-muted); font-size: 0.78rem; }
.sc-finishes .sc-note { flex-basis: 100%; margin: 0; }
.sc-finishes .sc-note[hidden] { display: none; }
.sc-quote-note .sc-linkbtn { color: var(--sc-ink); font-weight: 500; }
.sc-backrow { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.sc-qty input { max-width: 180px; }

/* ==================================================================== editorial layout
   theme.layout = "editorial" (body.sc-l-editorial). Image-led lookbook for brands whose photos share one set: the page
   ground continues the photo backdrop, cards lose their frames, the hero is a staircase of step tiles (hero.tiles) and
   the product gallery fits the first screen with its thumbnails. Everything else stays the shared template. */
:root { --sc-aspect-r: 1; }
.sc-l-editorial .sc-kicker::before { content: none; }
.sc-l-editorial .sc-kicker { font-size: 0.92rem; letter-spacing: 0; gap: 8px; }
.sc-l-editorial .sc-kicker .sc-step { width: 26px; height: 26px; font-size: 0.8rem; opacity: 1; border-color: var(--sc-accent); color: var(--sc-accent); }
.sc-l-editorial .sc-foot { margin-top: calc(var(--sc-section) * 0.8); }

/* ---- hero: headline + staircase of step tiles (step 1 lowest, the routine climbs) */
.sc-l-editorial .sc-hero-tiled { padding-block: 24px 40px; }
.sc-l-editorial .sc-hero-tiled .sc-hero-grid { gap: 28px; }
.sc-l-editorial .sc-hero-tiled .sc-hero-text { gap: 12px; }
.sc-l-editorial .sc-hero-tiled h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.4rem); line-height: 1.02; font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; }
.sc-l-editorial .sc-hero-tiled .sc-lede { font-size: 1.02rem; max-width: 40ch; }
.sc-l-editorial .sc-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; align-items: start; }
.sc-l-editorial .sc-tiles li:nth-child(1) { padding-top: 28px; }
.sc-l-editorial .sc-tiles li:nth-child(2) { padding-top: 14px; }
.sc-l-editorial .sc-tiles a { display: grid; gap: 10px; text-decoration: none; border-radius: var(--sc-radius-s); }
.sc-l-editorial .sc-tile-img { margin: 0; position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--sc-radius-s); background: var(--sc-stage); }
.sc-l-editorial .sc-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--sc-ease); }
@media (hover: hover) { .sc-l-editorial .sc-tiles a:hover .sc-tile-img img { transform: scale(1.03); } }
.sc-l-editorial .sc-tile-cap { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.98rem; min-height: 28px; }
.sc-l-editorial .sc-tile-cap .sc-step { opacity: 1; border-color: var(--sc-accent); color: var(--sc-accent); }
.sc-l-editorial .sc-tiles a:focus-visible .sc-tile-name, .sc-l-editorial .sc-tiles a:hover .sc-tile-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (min-width: 900px) {
  .sc-l-editorial .sc-hero-tiled .sc-hero-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
  .sc-l-editorial .sc-hero-tiled { padding-block: 40px 64px; }
  .sc-l-editorial .sc-tiles { gap: 18px; }
  .sc-l-editorial .sc-tiles li:nth-child(1) { padding-top: 72px; }
  .sc-l-editorial .sc-tiles li:nth-child(2) { padding-top: 36px; }
}

/* ---- step switcher: on phones the four entries share one row instead of scrolling sideways */
@media (max-width: 959px) {
  .sc-l-editorial .sc-cats ol { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; overflow: visible; padding-bottom: 0; }
  .sc-l-editorial .sc-cats a { justify-content: center; gap: 6px; padding: 0 6px; }
  .sc-l-editorial .sc-cats .sc-step { display: none; }
  .sc-l-editorial .sc-cats .sc-cat-name { flex: none; }
}
.sc-l-editorial .sc-cats a[aria-current="page"] { background: var(--sc-accent); border-color: var(--sc-accent); color: var(--sc-accent-ink); }
@media (min-width: 960px) { .sc-l-editorial .sc-cats a[aria-current="page"] { background: transparent; color: var(--sc-ink); border-color: transparent; border-bottom-color: var(--sc-accent); } }

/* ---- grid: frameless cards, the image carries the card; on the home page one group per step (one row each on desktop) */
.sc-l-editorial .sc-grid { gap: 28px 14px; }
@media (min-width: 720px) { .sc-l-editorial .sc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; } }
.sc-groups { display: grid; gap: 44px; }
.sc-group { display: grid; gap: 16px; min-width: 0; }
.sc-group-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; border-top: 1px solid var(--sc-line); padding-top: 14px; }
.sc-group-head h2 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 500; }
.sc-group-head .sc-step { opacity: 1; border-color: var(--sc-accent); color: var(--sc-accent); }
.sc-group-head p { color: var(--sc-muted); font-size: 0.92rem; }
.sc-more { margin-top: var(--sc-section); }
/* phones: on the home page the step tiles and groups already lead to each step, so the switcher is not repeated */
@media (max-width: 959px) {
  .sc-l-editorial.sc-page-home .sc-cats { display: none; }
  .sc-l-editorial.sc-page-home .sc-side:not(:has(.sc-filters)) { display: none; }
  .sc-l-editorial .sc-cats-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.sc-l-editorial .sc-cat-n { opacity: 1; color: var(--sc-muted); }
.sc-l-editorial .sc-cats a[aria-current="page"] .sc-cat-n { color: inherit; }
.sc-l-editorial .sc-lede { text-wrap: pretty; }
.sc-l-editorial .sc-card { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.sc-l-editorial .sc-card-img { border-radius: var(--sc-radius-s); }
.sc-l-editorial .sc-card-img img { object-fit: cover; }
.sc-l-editorial .sc-card-link { border-radius: var(--sc-radius-s); }
.sc-l-editorial .sc-card-body { padding: 12px 2px 0; gap: 3px; }
.sc-l-editorial .sc-card h3 { font-size: 1.02rem; font-weight: 500; }
@media (hover: hover) { .sc-l-editorial .sc-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }
@media (hover: none) { .sc-l-editorial .sc-card:hover .sc-card-img img, .sc-l-editorial .sc-tiles a:hover .sc-tile-img img { transform: none; } }
.sc-l-editorial .sc-short { font-size: 0.88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-l-editorial .sc-card-fields { display: flex; flex-wrap: wrap; margin-top: 6px; font-size: 0.82rem; color: var(--sc-muted); }
.sc-l-editorial .sc-card-fields li { border: 0; padding: 0; display: inline; }
.sc-l-editorial .sc-card-fields li + li { border-inline-start: 1px solid var(--sc-line); margin-inline-start: 8px; padding-inline-start: 8px; }
.sc-l-editorial .sc-card-fields span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc-l-editorial .sc-card-fields b { font-weight: 400; }

/* ---- product: the gallery fits the first screen, thumbnails always in view */
.sc-l-editorial .sc-photos .sc-stage-img { width: min(100%, calc((100vh - 250px) * var(--sc-aspect-r))); width: min(100%, calc((100svh - 250px) * var(--sc-aspect-r))); justify-self: center; }
.sc-l-editorial .sc-stage-img img { object-fit: cover; }
.sc-l-editorial .sc-thumbs { gap: 10px; justify-content: center; padding: 2px; }
.sc-l-editorial .sc-thumbs a { width: 72px; border: 0; outline: 1.5px solid transparent; outline-offset: 2px; opacity: 0.72; transition: opacity 160ms, outline-color 160ms; }
.sc-l-editorial .sc-thumbs a:hover { opacity: 1; }
.sc-l-editorial .sc-thumbs a[aria-current="true"] { opacity: 1; outline-color: var(--sc-ink); }
.sc-l-editorial .sc-thumbs a:focus-visible { outline: 3px solid var(--sc-accent); opacity: 1; }
.sc-l-editorial .sc-info h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); line-height: 1.05; font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; }
.sc-l-editorial .sc-info { gap: 16px; }
.sc-l-editorial .sc-desc { font-size: 1.05rem; }
.sc-l-editorial .sc-share { background: transparent; border: 0; border-block: 1px solid var(--sc-line); border-radius: 0; padding: 18px 0; }
@media (min-width: 900px) {
  .sc-l-editorial .sc-product-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; }
  .sc-l-editorial .sc-photos:has(> .sc-thumbs) { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: start; }
  .sc-l-editorial .sc-photos:not(:has(> .sc-thumbs)) .sc-stage-img { grid-column: auto; }
  .sc-l-editorial .sc-photos .sc-stage-img { grid-column: 2; grid-row: 1; justify-self: start; width: min(100%, calc((100vh - 190px) * var(--sc-aspect-r))); width: min(100%, calc((100svh - 190px) * var(--sc-aspect-r))); }
  .sc-l-editorial .sc-photos .sc-thumbs { grid-column: 1; grid-row: 1; flex-direction: column; justify-content: start; overflow: visible; }
  .sc-l-editorial .sc-info { padding-top: 12px; }
}

/* ==================================================================== atelier layout (D1)
   theme.layout = "atelier": a dark vitrine. The page ground continues the photos' backdrop, the display face is a
   serif (theme.fonts.display), the hero is a row of lit collection cases (hero.tiles) and the home list is grouped by
   collection. Collections are not a sequence, so no step numbers anywhere. */
.sc-l-atelier .sc-kicker::before { content: none; }
.sc-l-atelier .sc-kicker { color: var(--sc-accent); letter-spacing: 0.02em; font-size: 0.9rem; }
.sc-l-atelier .sc-brand { font-size: 1.5rem; font-weight: 500; }
.sc-l-atelier .sc-cats .sc-step { display: none; }
.sc-l-atelier .sc-cat-n { opacity: 1; color: var(--sc-muted); }
/* The OMAI strip (44px) sits above the header: on a 1440x900 screen the stage is capped by the viewport so the thumbnails stay in the first screen */
@media (min-width: 900px) { .sc-l-atelier .sc-photos .sc-stage-img { width: min(100%, calc((100vh - 349px) * var(--sc-aspect-r))); width: min(100%, calc((100svh - 349px) * var(--sc-aspect-r))); justify-self: start; } }
/* the product page's turntable (spin.first opens on it) is capped the same way, with room for its buttons, so the thumbnails under it stay in the first screen */
@media (min-width: 900px) { .sc-l-atelier .sc-product .sc-spin-stage { width: min(100%, calc((100vh - 400px) * var(--sc-aspect-r))); width: min(100%, calc((100svh - 400px) * var(--sc-aspect-r))); justify-self: start; } .sc-l-atelier .sc-product .sc-spin { justify-items: start; } }
.sc-l-atelier .sc-cats a[aria-current="page"] .sc-cat-n { color: inherit; }

/* hero: the headline, then four lit cases */
.sc-l-atelier .sc-hero-tiled { padding-block: 28px 44px; }
.sc-l-atelier .sc-hero-tiled .sc-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
.sc-l-atelier .sc-hero-tiled .sc-hero-text { gap: 14px; }
.sc-l-atelier .sc-hero-tiled h1 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5rem); line-height: 1.04; font-weight: 500; max-width: 15ch; text-wrap: balance; }
.sc-l-atelier .sc-hero-tiled .sc-lede { max-width: 46ch; text-wrap: pretty; }
@media (min-width: 900px) {
  .sc-l-atelier .sc-hero-tiled { padding-block: 48px 64px; }
  .sc-l-atelier .sc-hero-tiled .sc-hero-text { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 56px; align-items: end; }
  .sc-l-atelier .sc-hero-tiled .sc-kicker { grid-column: 1 / -1; }
}
.sc-l-atelier .sc-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .sc-l-atelier .sc-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.sc-l-atelier .sc-tiles a { display: block; position: relative; text-decoration: none; border-radius: var(--sc-radius-s); overflow: hidden; }
.sc-l-atelier .sc-tile-img { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sc-stage); }
.sc-l-atelier .sc-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--sc-ease); }
.sc-l-atelier .sc-tile-cap { position: absolute; inset-inline: 0; inset-block-end: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 48px 16px 14px; background: linear-gradient(to top, color-mix(in srgb, var(--sc-bg) 94%, transparent), transparent); }
.sc-l-atelier .sc-tile-name { font-family: var(--sc-font-display, inherit); font-size: 1.4rem; line-height: 1.1; }
.sc-l-atelier .sc-tile-n { color: var(--sc-muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
@media (hover: hover) {
  .sc-l-atelier .sc-tiles a:hover .sc-tile-img img { transform: scale(1.03); }
  .sc-l-atelier .sc-tiles a:hover .sc-tile-name { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
}
.sc-l-atelier .sc-tiles a:focus-visible .sc-tile-name { text-decoration: underline; text-underline-offset: 6px; }

/* home: the cases and collection groups lead, so no side navigation there */
.sc-l-atelier.sc-page-home .sc-side { display: none; }
.sc-l-atelier.sc-page-home .sc-list { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 959px) {
  .sc-l-atelier .sc-cats ol { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; overflow: visible; padding-bottom: 0; }
  .sc-l-atelier .sc-cats a { justify-content: center; gap: 6px; padding: 0 6px; }
  /* six chips (the women's bags since 2026-12-02) do not fit one row under 640px ("Organizers" clips at 600): three a row there */
  @media (max-width: 639px) { .sc-l-atelier .sc-cats ol { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .sc-l-atelier .sc-cats .sc-cat-name { flex: none; }
  .sc-l-atelier .sc-cats-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.sc-l-atelier .sc-cats a[aria-current="page"] { background: var(--sc-accent); border-color: var(--sc-accent); color: var(--sc-accent-ink); }
@media (min-width: 960px) { .sc-l-atelier .sc-cats a[aria-current="page"] { background: transparent; color: var(--sc-ink); border-color: transparent; border-bottom: 2px solid var(--sc-accent); } }

/* collection groups and frameless cards */
.sc-l-atelier .sc-groups { gap: 56px; }
.sc-l-atelier .sc-group-head { padding-top: 20px; }
.sc-l-atelier .sc-group-head h2 { font-size: clamp(1.7rem, 1.25rem + 1.4vw, 2.4rem); font-weight: 500; }
.sc-l-atelier .sc-grid { gap: 32px 14px; }
@media (min-width: 720px) { .sc-l-atelier .sc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; } }
.sc-l-atelier .sc-card { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.sc-l-atelier .sc-card-link, .sc-l-atelier .sc-card-img { border-radius: var(--sc-radius-s); }
.sc-l-atelier .sc-card-img img { object-fit: cover; }
.sc-l-atelier .sc-card-body { padding: 14px 2px 0; gap: 4px; }
.sc-l-atelier .sc-card h3 { font-size: 1.3rem; font-weight: 500; line-height: 1.15; }
.sc-l-atelier .sc-short { font-size: 0.9rem; }
.sc-l-atelier .sc-card-fields { display: flex; flex-wrap: wrap; margin-top: 4px; font-size: 0.82rem; color: var(--sc-muted); }
.sc-l-atelier .sc-card-fields li { border: 0; padding: 0; display: inline; }
.sc-l-atelier .sc-card-fields li + li { border-inline-start: 1px solid var(--sc-line); margin-inline-start: 8px; padding-inline-start: 8px; }
.sc-l-atelier .sc-card-fields span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc-l-atelier .sc-card-fields b { font-weight: 400; }
.sc-l-atelier .sc-swatches { padding: 10px 2px 0; }
@media (hover: hover) { .sc-l-atelier .sc-card:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; } }
@media (hover: none) { .sc-l-atelier .sc-card:hover .sc-card-img img { transform: none; } }

/* product page */
.sc-l-atelier .sc-info h1 { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.5rem); font-weight: 500; line-height: 1.05; text-wrap: balance; }
.sc-l-atelier .sc-info { gap: 16px; }
.sc-l-atelier .sc-share { background: transparent; border: 0; border-block: 1px solid var(--sc-line); border-radius: 0; padding: 18px 0; }
.sc-l-atelier .sc-thumbs a { border: 0; outline: 1.5px solid transparent; outline-offset: 2px; }
.sc-l-atelier .sc-thumbs a[aria-current="true"] { outline-color: var(--sc-accent); }
.sc-l-atelier .sc-present-info h1 { font-weight: 500; }
/* hero turntable (hero.spin, 2026-12-02): the lead bag turns beside the headline, the collection cases follow below.
   On phones the text column is dissolved into the grid so the turntable comes right after the headline. */
.sc-l-atelier .sc-hero-spin { display: grid; gap: 10px; min-width: 0; }
.sc-l-atelier .sc-hero-spin .sc-spin-stage { aspect-ratio: 1; border-radius: var(--sc-radius-s); }
.sc-l-atelier .sc-hero-spin .sc-spin-stage img { object-fit: cover; }
/* the two buttons as one pair, then the hint; the caption row starts on the same edge, so the rows under the stage share one alignment */
.sc-l-atelier .sc-spin-ctl { justify-content: start; gap: 8px; }
.sc-l-atelier .sc-spin-hint { order: 3; margin-inline-start: 8px; text-align: start; }
.sc-l-atelier .sc-hero-spin-cap { margin: 0; display: flex; align-items: center; justify-content: start; gap: 12px; font-size: 0.95rem; }
/* while the turntable is on the stage the current-photo mark on the thumbnails rests (a thumbnail brings the photos back) */
.sc-l-atelier .sc-photos[hidden] ~ .sc-thumbs a[aria-current="true"] { outline-color: transparent; }
.sc-l-atelier .sc-hero-spin-k { font-family: var(--sc-font-display, inherit); font-size: 1.05rem; line-height: 1; color: var(--sc-accent); border: 1px solid var(--sc-accent); border-radius: 999px; padding: 5px 11px 4px; }
.sc-l-atelier .sc-hero-spin-cap a { color: var(--sc-ink); display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.sc-l-atelier .sc-hero-spin-cap a svg { inline-size: 18px; block-size: 18px; transform: scaleX(-1); } /* the back glyph turned to point forward */
[dir="ltr"] .sc-l-atelier .sc-hero-spin-cap a svg { transform: none; }
@media (max-width: 899px) {
  .sc-l-atelier .sc-hero-spun .sc-hero-text { display: contents; }
  .sc-l-atelier .sc-hero-spun .sc-hero-grid { gap: 14px; }
  .sc-l-atelier .sc-hero-spun .sc-kicker { margin-bottom: -8px; }
  .sc-l-atelier .sc-hero-spun .sc-hero-spin { order: 1; } /* after the kicker, headline and lede (the sentence that explains it) */
  .sc-l-atelier .sc-hero-spun .sc-feats { order: 2; }
  .sc-l-atelier .sc-hero-spun .sc-tiles { order: 3; margin-top: 12px; }
}
@media (min-width: 900px) {
  .sc-l-atelier .sc-hero-spun .sc-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: 48px; align-items: center; }
  .sc-l-atelier .sc-hero-spun .sc-hero-text { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sc-l-atelier .sc-hero-spun .sc-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-l-atelier .sc-hero-spun .sc-tiles { grid-column: 1 / -1; }
}
/* a collection of two fills the row with two wider cases instead of leaving a third column empty */
@media (min-width: 720px) {
  .sc-l-atelier .sc-grid:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-l-atelier .sc-grid:has(> li:nth-child(2):last-child) .sc-card-img { aspect-ratio: 4 / 3; }
}

/* ==================================================================== datasheet layout (C1)
   theme.layout = "datasheet": an engineering catalog. One sans for everything (theme.fonts), the ground continues the
   photos' steel backdrop, the hero carries one tile per product family, the home list is grouped by family, and on
   wide screens every product is a row whose key figures line up in columns like a datasheet. Families are not a
   sequence: no step numbers. */
.sc-l-datasheet .sc-kicker::before { content: none; }
.sc-l-datasheet .sc-kicker { color: var(--sc-muted); letter-spacing: 0; font-size: 0.88rem; }
.sc-l-datasheet .sc-cats .sc-step { display: none; }
.sc-l-datasheet .sc-cat-n { opacity: 1; color: var(--sc-muted); }
.sc-l-datasheet .sc-cats a[aria-current="page"] .sc-cat-n { color: inherit; }
.sc-l-datasheet .sc-card-img img, .sc-l-datasheet .sc-tile-img img, .sc-l-datasheet .sc-stage-img img { outline: 1px solid oklch(0 0 0 / 0.1); outline-offset: -1px; }

/* hero: headline and the family tiles */
.sc-l-datasheet.sc-page-home .sc-hero { padding-block: 28px 36px; }
.sc-l-datasheet.sc-page-home .sc-hero .sc-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.sc-l-datasheet.sc-page-home .sc-hero .sc-hero-text { gap: 12px; }
.sc-l-datasheet.sc-page-home .sc-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.9rem); line-height: 1.06; font-weight: 600; letter-spacing: -0.01em; max-width: 18ch; text-wrap: balance; }
.sc-l-datasheet.sc-page-home .sc-hero .sc-lede { max-width: 58ch; text-wrap: pretty; }
.sc-l-datasheet .sc-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sc-l-datasheet .sc-tiles a { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 14px; padding: 8px; padding-inline-end: 16px; background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: var(--sc-radius); text-decoration: none; transition: border-color 150ms var(--sc-ease); }
.sc-l-datasheet .sc-tile-img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--sc-radius-s); background: var(--sc-stage); }
.sc-l-datasheet .sc-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.sc-l-datasheet .sc-tile-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-weight: 600; font-size: 1.02rem; }
.sc-l-datasheet .sc-tile-n { color: var(--sc-muted); font-weight: 400; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .sc-l-datasheet.sc-page-home .sc-hero { padding-block: 44px 52px; }
  .sc-l-datasheet.sc-page-home .sc-hero .sc-hero-grid { gap: 32px; }
  .sc-l-datasheet .sc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (hover: hover) { .sc-l-datasheet .sc-tiles a:hover { border-color: var(--sc-ink); } }

/* step switcher on phones: one row, names may wrap; the home page relies on the tiles */
@media (max-width: 959px) {
  .sc-l-datasheet .sc-cats ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; overflow: visible; padding-bottom: 0; }
  .sc-l-datasheet .sc-cats a { justify-content: center; gap: 4px 6px; padding: 6px; white-space: normal; text-align: center; line-height: 1.2; font-size: 0.88rem; flex-wrap: wrap; }
  .sc-l-datasheet .sc-cats .sc-cat-name { flex: none; }
  .sc-l-datasheet .sc-cats-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sc-l-datasheet.sc-page-home:has(.sc-tiles) .sc-cats { display: none; } /* a filtered home has no tiles: keep the family switcher */
}
.sc-l-datasheet .sc-cats a[aria-current="page"] { background: var(--sc-ink); border-color: var(--sc-ink); color: var(--sc-bg); }
@media (min-width: 960px) { .sc-l-datasheet .sc-cats a[aria-current="page"] { background: transparent; color: var(--sc-ink); border-color: transparent; border-bottom: 2px solid var(--sc-accent); } }

/* family groups: a heading, then one panel of products */
.sc-l-datasheet .sc-groups { gap: 36px; }
.sc-l-datasheet .sc-group { gap: 12px; }
.sc-l-datasheet .sc-group-head { border-top: 0; padding-top: 0; }
.sc-l-datasheet .sc-group-head h2 { font-size: 1.35rem; font-weight: 600; }

/* cards: white data panels; from 1100px one product per row with the key figures in aligned columns */
.sc-l-datasheet .sc-card { border-radius: var(--sc-radius); }
.sc-l-datasheet .sc-card-fields b { font-weight: 600; }
@media (min-width: 1100px) {
  .sc-l-datasheet .sc-grid { grid-template-columns: minmax(0, 1fr); gap: 0; background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: var(--sc-radius); overflow: hidden; }
  .sc-l-datasheet .sc-card { border: 0; border-radius: 0; background: transparent; transition: background-color 120ms var(--sc-ease); }
  .sc-l-datasheet .sc-card + .sc-card { border-top: 1px solid var(--sc-line); }
  .sc-l-datasheet .sc-card-link { display: grid; grid-template-columns: 128px minmax(0, 1.25fr) minmax(0, 2fr); grid-template-rows: auto auto 1fr; column-gap: 22px; align-items: center; padding: 12px 18px 12px 12px; }
  .sc-l-datasheet .sc-card-img { grid-row: 1 / span 3; grid-column: 1; aspect-ratio: 4 / 3; border-radius: var(--sc-radius-s); }
  .sc-l-datasheet .sc-card-body { display: contents; }
  .sc-l-datasheet .sc-sku { grid-column: 2; grid-row: 1; align-self: end; }
  .sc-l-datasheet .sc-card h3 { grid-column: 2; grid-row: 2; font-size: 1.08rem; }
  .sc-l-datasheet .sc-short { grid-column: 2; grid-row: 3; align-self: start; }
  .sc-l-datasheet .sc-card-fields { grid-column: 3; grid-row: 1 / span 3; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
  .sc-l-datasheet .sc-card-fields li { flex-direction: column; justify-content: center; gap: 2px; border-top: 0; padding: 0; }
  .sc-l-datasheet .sc-card-fields span { font-size: 0.78rem; }
  .sc-l-datasheet .sc-card-fields b { font-size: 1.02rem; }
  .sc-l-datasheet .sc-card:hover .sc-card-img img { transform: none; }
}
@media (min-width: 1100px) and (hover: hover) { .sc-l-datasheet .sc-card:hover { background: color-mix(in srgb, var(--sc-stage) 35%, var(--sc-surface)); } }
@media (hover: hover) { .sc-l-datasheet .sc-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }

/* product page */
.sc-l-datasheet .sc-info h1 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); font-weight: 600; line-height: 1.1; }
.sc-l-datasheet .sc-spec table { font-variant-numeric: tabular-nums; }
.sc-l-datasheet .sc-spec th { width: 46%; }
.sc-l-datasheet .sc-spec tr:nth-child(even) { background: color-mix(in srgb, var(--sc-stage) 30%, transparent); }
.sc-l-datasheet .sc-spec th, .sc-l-datasheet .sc-spec td { padding-inline: 10px; }
.sc-l-datasheet .sc-share { border-radius: var(--sc-radius); }
.sc-l-datasheet .sc-more { margin-top: calc(var(--sc-section) * 0.8); }

/* ==================================================================== showroom layout (B1)
   theme.layout = "showroom": contract furniture on one continuous floor. The ground is the photos' warm sweep, so the
   frameless products stand in the same room; the hero scene runs the full width of the page; the families are a row
   of tabs above a flat grid; actions are black and the only colour on the page comes from the finishes (swatch strip).
   Families are not a sequence: no step numbers. */
.sc-l-showroom .sc-kicker::before { content: none; }
.sc-l-showroom .sc-kicker { letter-spacing: 0; font-size: 0.9rem; }
.sc-l-showroom .sc-brand { font-size: 1.35rem; }
.sc-l-showroom .sc-navbtn[data-sc-quote-link] { background: var(--sc-ink); color: var(--sc-bg); border-color: var(--sc-ink); }
.sc-l-showroom .sc-navbtn[data-sc-quote-link] .sc-count { background: var(--sc-bg); color: var(--sc-ink); }
@media (max-width: 560px) { .sc-l-showroom .sc-navbtn[data-sc-quote-link] span:not(.sc-count) { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }

/* hero: the scene across the page, the headline set under it in two columns */
.sc-l-showroom .sc-hero { padding-block: 16px 28px; }
.sc-l-showroom .sc-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.sc-l-showroom .sc-hero-img { order: -1; border-radius: var(--sc-radius); aspect-ratio: 4 / 3; }
.sc-l-showroom .sc-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.sc-l-showroom .sc-hero-text { gap: 12px; }
.sc-l-showroom .sc-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.sc-l-showroom .sc-hero .sc-lede { text-wrap: pretty; }
@media (min-width: 900px) {
  .sc-l-showroom .sc-hero { padding-block: 24px 44px; }
  .sc-l-showroom .sc-hero-img { aspect-ratio: 16 / 9; }
  .sc-l-showroom .sc-hero-img img { object-position: 50% 50%; }
  .sc-l-showroom .sc-hero-text { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 56px; align-items: end; }
  .sc-l-showroom .sc-hero-text .sc-kicker { grid-column: 1 / -1; }
}
.sc-l-showroom .sc-hero-cat { padding-block: 28px 18px; }

/* families: a row of tabs above the grid (no side column) */
.sc-l-showroom .sc-list { grid-template-columns: minmax(0, 1fr); }
.sc-l-showroom .sc-cats .sc-step { display: none; }
.sc-l-showroom .sc-cats-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc-l-showroom .sc-cats ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; padding-bottom: 0; }
.sc-l-showroom .sc-cats a { justify-content: center; gap: 6px; padding: 0 8px; border-radius: var(--sc-radius); background: transparent; border-color: var(--sc-line); }
.sc-l-showroom .sc-cats .sc-cat-name { flex: none; }
.sc-l-showroom .sc-cat-n { opacity: 1; color: var(--sc-muted); }
.sc-l-showroom .sc-cats a[aria-current="page"] { background: var(--sc-ink); border-color: var(--sc-ink); color: var(--sc-bg); }
.sc-l-showroom .sc-cats a[aria-current="page"] .sc-cat-n { color: inherit; }
@media (min-width: 720px) {
  .sc-l-showroom .sc-cats ol { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0 28px; border-bottom: 1px solid var(--sc-line); }
  .sc-l-showroom .sc-cats a { border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 0 2px; margin-bottom: -1px; min-height: 48px; }
  .sc-l-showroom .sc-cats a[aria-current="page"] { background: transparent; color: var(--sc-ink); border-bottom-color: var(--sc-ink); font-weight: 600; }
}

/* the floor: frameless products on the sweep, the finish strip under every name */
.sc-l-showroom .sc-grid { gap: 30px 14px; }
@media (min-width: 720px) { .sc-l-showroom .sc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; } }
@media (min-width: 1100px) { .sc-l-showroom .sc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sc-l-showroom .sc-card { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.sc-l-showroom .sc-card-link, .sc-l-showroom .sc-card-img { border-radius: var(--sc-radius); }
.sc-l-showroom .sc-card-img img { object-fit: cover; }
.sc-l-showroom .sc-card-body { padding: 12px 2px 0; gap: 2px; }
.sc-l-showroom .sc-sku { font-size: 0.74rem; }
.sc-l-showroom .sc-card h3 { font-size: 1.05rem; }
.sc-l-showroom .sc-short { font-size: 0.88rem; }
.sc-l-showroom .sc-card-fields { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 6px; font-size: 0.82rem; }
.sc-l-showroom .sc-card-fields li { border: 0; padding: 0; justify-content: flex-start; gap: 5px; }
.sc-l-showroom .sc-card-fields b { font-weight: 500; }
.sc-l-showroom .sc-swatches { padding: 10px 2px 0; gap: 6px; }
.sc-l-showroom .sc-sw { width: 22px; height: 22px; border: 0; box-shadow: inset 0 0 0 1px rgb(var(--sc-ink-rgb) / 0.18); }
@media (hover: hover) { .sc-l-showroom .sc-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }
@media (hover: none) { .sc-l-showroom .sc-card:hover .sc-card-img img { transform: none; } }

/* product page: the finish picker as material chips, one black action */
.sc-l-showroom .sc-info h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); line-height: 1.05; letter-spacing: -0.015em; }
.sc-l-showroom .sc-quote-add { background: var(--sc-surface); border-color: var(--sc-line); }
.sc-l-showroom .sc-finish { border-radius: var(--sc-radius); min-height: 52px; padding: 0 14px 0 10px; }
.sc-l-showroom .sc-finish .sc-sw { width: 28px; height: 28px; }
.sc-l-showroom .sc-finish:has(input:checked) { border-color: var(--sc-ink); box-shadow: inset 0 0 0 1.5px var(--sc-ink); }
.sc-l-showroom .sc-quote-add .sc-btn-accent { min-height: 52px; }
.sc-l-showroom .sc-btn:not([disabled]):active { transform: scale(0.96); }
.sc-l-showroom .sc-share { background: transparent; border: 0; border-block: 1px solid var(--sc-line); border-radius: 0; padding: 18px 0; }
.sc-l-showroom .sc-thumbs a { border: 0; outline: 1.5px solid transparent; outline-offset: 2px; border-radius: var(--sc-radius); }
.sc-l-showroom .sc-thumbs a[aria-current="true"] { outline-color: var(--sc-ink); }
.sc-l-showroom .sc-thumbs, .sc-l-atelier .sc-thumbs { padding: 3px; } /* room for the selected outline inside the scrolling strip */
.sc-l-showroom .sc-desc, .sc-l-datasheet .sc-desc, .sc-l-atelier .sc-desc { text-wrap: pretty; }
@media (min-width: 900px) { .sc-l-datasheet .sc-tiles a { grid-template-columns: 132px minmax(0, 1fr); } } /* compact family rows keep the search on the first screen */
/* keyboard focus on thumbnails stays visible where the selected state uses the outline */
.sc-l-showroom .sc-thumbs a:focus-visible, .sc-l-atelier .sc-thumbs a:focus-visible { outline: 3px solid var(--sc-accent); outline-offset: 2px; }

/* ==================================================================== back link on every page
   Home and category pages open with a back link above the hero (render.ts backBar). It takes the hero's top padding,
   so each layout's first screen (tiles, search field, result count) stays where it was tuned. */
.sc-backrow[hidden] { display: none; }
.sc-backbar .sc-backrow { padding-block: 8px 0; }
body.sc .sc-backbar + .sc-hero { padding-top: 4px; }
/* small phones: the row takes 20px less (the link keeps its 44px tap height and overlaps the gaps around it) */
@media (max-width: 420px) { .sc-backbar .sc-backrow { padding-top: 4px; } .sc-backbar .sc-back { margin-block: -6px; } body.sc .sc-backbar + .sc-hero { padding-top: 0; } }
.sc-present-info .sc-backrow, .sc-index .sc-backrow { padding-block: 0; }
@media (hover: hover) and (pointer: fine) { .sc-back:hover span { text-decoration: underline; text-underline-offset: 3px; } }

/* ==================================================================== console (E1, opt-in: theme.layout "console")
   A catalog app on a tablet, after the catalog-03 ad: a category panel with line icons where the selected category is
   filled with the accent, a banner image over the product column and four columns of products on wide screens.
   Phones: the categories become a 3-column grid of icon tiles (every category visible, no side scroller). */
.sc-l-console .sc-hero { padding-block: 10px 18px; }
.sc-l-console .sc-hero-text { gap: 10px; }
.sc-l-console .sc-hero h1 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.1rem); }
.sc-l-console .sc-lede { font-size: 1rem; }
.sc-l-console .sc-hero-cat { padding-block: 10px 18px; }
.sc-cat-ico { display: inline-grid; place-items: center; flex: none; color: var(--sc-muted); }
.sc-cat-ico svg { width: 20px; height: 20px; }
.sc-l-console .sc-cats ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; overflow: visible; padding-bottom: 0; }
.sc-l-console .sc-cats a { flex-direction: column; justify-content: center; gap: 4px; min-height: 76px; padding: 8px 6px; white-space: normal; text-align: center; font-size: 0.88rem; line-height: 1.25; border-radius: var(--sc-radius-s); }
.sc-l-console .sc-cats .sc-cat-name { flex: none; }
.sc-l-console .sc-cats .sc-cat-n { display: none; }
.sc-l-console .sc-cats-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc-l-console .sc-cats a[aria-current="page"] { background: var(--sc-accent); border-color: var(--sc-accent); color: var(--sc-accent-ink); font-weight: 500; }
.sc-l-console .sc-cats a[aria-current="page"] .sc-cat-ico { color: inherit; }
@media (hover: hover) and (pointer: fine) { .sc-l-console .sc-cats a:not([aria-current]):hover { background: var(--sc-stage); } }
@media (min-width: 960px) {
  .sc-l-console .sc-list-tech { grid-template-columns: 250px minmax(0, 1fr); }
  .sc-l-console .sc-side { position: sticky; top: 76px; }
  .sc-l-console .sc-cats { background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: var(--sc-radius); padding: 10px; }
  .sc-l-console .sc-cats-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; padding: 4px 8px 6px; margin: 0; }
  .sc-l-console .sc-cats ol { display: flex; flex-direction: column; gap: 2px; }
  .sc-l-console .sc-cats a { flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 46px; padding: 0 12px; text-align: start; font-size: 0.95rem; border: 0; background: transparent; }
  .sc-l-console .sc-cats .sc-cat-name { flex: 1; }
  .sc-l-console .sc-cats .sc-cat-n { display: inline; }
  .sc-l-console .sc-cats a[aria-current="page"] { background: var(--sc-accent); color: var(--sc-accent-ink); border: 0; }
}
.sc-banner { margin: 0; position: relative; border-radius: var(--sc-radius); overflow: hidden; background: var(--sc-stage); aspect-ratio: 16 / 5; }
/* phones: the banner comes first under the title, then the category tiles, search and the products */
@media (max-width: 959px) { .sc-l-console .sc-list-main { display: contents; } .sc-l-console .sc-banner { order: -1; } }
.sc-banner img { width: 100%; height: 100%; object-fit: cover; }
.sc-l-console .sc-list-tech .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .sc-l-console .sc-list-tech .sc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
/* three columns at every wide width: nine products make a 3 × 3 block, larger cards */
@media (max-width: 520px) {
  .sc-l-console .sc-list-tech .sc-card-link { flex-direction: column; }
  .sc-l-console .sc-list-tech .sc-card-img { width: auto; aspect-ratio: var(--sc-aspect); }
  .sc-l-console .sc-card-body { padding: 10px; }
  .sc-l-console .sc-card h3 { font-size: 0.95rem; }
  .sc-l-console .sc-short { display: none; }
  .sc-l-console .sc-card-fields li { flex-direction: column; gap: 0; }
}

/* ==================================================================== compare (opt-in: capabilities.compare) */
.sc-cmp-toggle { display: inline-flex; align-items: center; gap: 6px; }
.sc-card > .sc-cmp-toggle { margin: 0 var(--sc-card-pad) var(--sc-card-pad); min-height: 40px; padding: 0 12px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-s); background: var(--sc-surface); color: var(--sc-ink); font: inherit; font-size: 0.85rem; cursor: pointer; justify-content: center; }
.sc-cmp-toggle svg { width: 16px; height: 16px; flex: none; }
.sc-cmp-toggle[aria-pressed="true"] { background: var(--sc-accent); border-color: var(--sc-accent); color: var(--sc-accent-ink); }
.sc-cmp-toggle[disabled] { opacity: 0.5; cursor: default; }
@media (hover: hover) and (pointer: fine) { .sc-card > .sc-cmp-toggle:not([aria-pressed="true"]):not([disabled]):hover { border-color: var(--sc-ink); } }
.sc-cmp-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; background: var(--sc-surface); border-top: 1px solid var(--sc-line); box-shadow: 0 -6px 20px rgb(var(--sc-ink-rgb) / 0.08); padding-bottom: env(safe-area-inset-bottom); }
.sc-cmp-bar[hidden] { display: none; }
.sc-cmp-bar-in { display: flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; padding-block: 8px; }
.sc-cmp-bar-text { font-weight: 500; flex: 1 1 auto; }
.sc-cmp-bar .sc-status { flex: 1 1 100%; order: 3; min-height: 0; }
.sc-cmp-bar .sc-status:empty { display: none; }
.sc-cmp-bar-actions { display: flex; align-items: center; gap: 8px; }
.sc-cmp-bar .sc-btn[hidden] { display: none; }
body.sc-has-cmp-bar .sc-foot { padding-bottom: 110px; }
.sc-compare { display: grid; gap: 16px; padding-top: 8px; }
.sc-cmp { background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: var(--sc-radius); overflow: hidden; }
.sc-cmp table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sc-cmp th, .sc-cmp td { padding: 10px 12px; text-align: start; vertical-align: top; border-top: 1px solid var(--sc-line); font-weight: 400; overflow-wrap: anywhere; }
.sc-cmp thead th, .sc-cmp thead td { border-top: 0; vertical-align: bottom; }
.sc-cmp tbody th { color: var(--sc-muted); font-size: 0.9rem; }
.sc-cmp td { font-variant-numeric: tabular-nums; }
.sc-cmp tr.is-diff td { font-weight: 500; }
.sc-cmp tr.is-diff { background: rgb(var(--sc-accent-rgb) / 0.06); }
.sc-cmp-diff { display: inline-block; font-size: 0.72rem; color: var(--sc-accent); border: 1px solid currentColor; border-radius: 999px; padding: 0 6px; margin-inline-start: 4px; }
.sc-cmp-prod { display: grid; gap: 6px; text-decoration: none; font-weight: 500; }
.sc-cmp-img { margin: 0; position: relative; aspect-ratio: var(--sc-aspect); background: var(--sc-stage); border-radius: var(--sc-radius-s); overflow: hidden; display: grid; place-items: center; }
.sc-cmp-img img { width: 100%; height: 100%; object-fit: contain; }
.sc-cmp-sku { display: block; font-size: 0.78rem; color: var(--sc-muted); margin-top: 2px; }
.sc-cmp-rm { display: inline-flex; align-items: center; min-height: 36px; font-size: 0.82rem; color: var(--sc-muted) !important; }
.sc-cmp-after { display: grid; gap: 14px; justify-items: start; }
@media (min-width: 720px) { .sc-cmp thead td { width: 22%; } }
/* phones: no side scroller; each row is its label, then the values of the products in columns */
@media (max-width: 719px) {
  .sc-cmp table, .sc-cmp thead, .sc-cmp tbody { display: block; }
  .sc-cmp tr { display: grid; }
  .sc-cmp-n2 tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-cmp-n3 tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sc-cmp-n4 tr { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sc-cmp thead td { display: none; }
  .sc-cmp tbody th { grid-column: 1 / -1; padding-bottom: 0; border-top: 1px solid var(--sc-line); }
  .sc-cmp tbody td { border-top: 0; padding-top: 4px; font-size: 0.9rem; }
  .sc-cmp th, .sc-cmp td { padding-inline: 8px; }
  .sc-cmp thead th { font-size: 0.85rem; }
}

/* console, 2026-11-18 redesign: the brand's teal deepened into a frame (header, hero band, footer) carrying the 600 mm
   ceiling grid of the booklet covers; products as lifted cards on a cool concrete ground; the schematic drawing under
   the gallery. All of it scoped to .sc-l-console (E1). */
.sc-l-console {
  --cs-deep: color-mix(in srgb, var(--sc-accent), #000 30%);
  --cs-on: rgb(255 255 255 / 0.84);
  --cs-grid: linear-gradient(to right, rgb(255 255 255 / 0.06) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(to bottom, rgb(255 255 255 / 0.06) 1px, transparent 1px) 0 0 / 56px 56px;
  --cs-lift: 0 1px 2px rgb(12 27 42 / 0.08), 0 14px 30px -16px rgb(12 27 42 / 0.4);
}
.sc-l-console .sc-top { background: var(--cs-deep); border-bottom: 1px solid rgb(255 255 255 / 0.08); color: #ffffff; backdrop-filter: none; }
.sc-l-console .sc-top a { color: #ffffff; }
.sc-l-console .sc-brand { font-weight: 800; font-size: 1.35rem; }
/* not hover-gated: it must also override the base hover, which latches after a tap on touch screens */
.sc-l-console .sc-top .sc-navbtn:hover { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.25); }
.sc-l-console .sc-top :focus-visible { outline-color: #ffffff; }

/* hero band: home and category pages */
.sc-l-console .sc-hero, .sc-l-console .sc-hero.sc-hero-cat { background: var(--cs-grid), var(--cs-deep); color: #ffffff; padding-block: 36px 44px; margin-block-end: 28px; }
.sc-l-console .sc-hero h1 { color: #ffffff; font-weight: 800; font-size: clamp(2rem, 1.25rem + 2.8vw, 3.5rem); line-height: 1.02; max-width: 16ch; }
.sc-l-console .sc-hero .sc-kicker, .sc-l-console .sc-hero .sc-lede { color: var(--cs-on); }
.sc-l-console .sc-hero .sc-lede { max-width: 58ch; font-size: 1.06rem; }
.sc-l-console .sc-hero .sc-btn-quiet { background: #ffffff; border-color: #ffffff; color: var(--cs-deep); }
@media (hover: hover) and (pointer: fine) { .sc-l-console .sc-hero .sc-btn-quiet:hover { background: color-mix(in srgb, #ffffff 88%, var(--sc-accent)); } }
.sc-l-console .sc-hero-tip { color: var(--cs-on); text-wrap: balance; }
.sc-l-console .sc-hero-tip svg { color: #ffffff; }
.sc-l-console .sc-hero :focus-visible { outline-color: #ffffff; }
.sc-l-console .sc-backrow + .sc-hero, .sc-l-console .sc-hero { margin-block-start: 0; }

/* category panel, filter panel and cards: lifted surfaces, no hairline boxes */
.sc-l-console .sc-cats, .sc-l-console .sc-filters, .sc-l-console .sc-card { border-color: transparent; box-shadow: var(--cs-lift); }
.sc-l-console .sc-card .sc-sku { color: var(--sc-accent); font-weight: 500; }
.sc-l-console .sc-card h3 { font-weight: 700; }
.sc-l-console .sc-banner { box-shadow: var(--cs-lift); }

/* product page: the image over its schematic drawing */
.sc-media-col { display: grid; gap: 16px; min-width: 0; align-content: start; }
@media (min-width: 900px) { .sc-media-col { position: sticky; top: 80px; } .sc-media-col .sc-gallery { position: static; } }
/* phones: the drawing follows the datasheet, so the name stays right under the image */
@media (max-width: 899px) { .sc-media-col { display: contents; } .sc-media-col .sc-draw { order: 1; } }
.sc-media-col .sc-draw { display: grid; gap: 8px; padding: 18px 20px 14px; background: var(--sc-surface); border-radius: var(--sc-radius); box-shadow: var(--cs-lift, none); }
.sc-media-col .sc-draw svg { width: 100%; height: clamp(150px, 22vw, 230px); }
.sc-media-col .sc-draw figcaption { font-size: 0.82rem; color: var(--sc-muted); }

/* phones: the banner above the title; from 900px it spans the whole band behind the title (near its own 16:5 shape,
   so it is not zoomed in) and fades into the deep teal under the text, with the ceiling grid over both */
.sc-l-console .sc-hero .sc-banner { aspect-ratio: 16 / 7; border-radius: var(--sc-radius); box-shadow: 0 18px 40px -20px rgb(0 0 0 / 0.55); }
@media (min-width: 900px) {
  /* body.sc… outranks the base "backbar + hero" padding rule */
  body.sc-l-console .sc-hero:has(.sc-banner) { position: relative; overflow: hidden; isolation: isolate; padding-block: 56px 64px; }
  .sc-l-console .sc-hero-grid { grid-template-columns: minmax(0, 0.56fr); }
  .sc-l-console .sc-hero .sc-banner { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .sc-l-console .sc-hero .sc-banner img { object-position: left center; }
  .sc-l-console .sc-hero .sc-banner::after {
    content: ""; position: absolute; inset: 0;
    background: var(--cs-grid), linear-gradient(to left, var(--cs-deep) 0%, var(--cs-deep) 46%, color-mix(in srgb, var(--cs-deep) 55%, transparent) 56%, transparent 68%), color-mix(in srgb, var(--cs-deep) 16%, transparent);
  }
  [dir="ltr"] .sc-l-console .sc-hero .sc-banner img { object-position: right center; }
  [dir="ltr"] .sc-l-console .sc-hero .sc-banner::after { background: var(--cs-grid), linear-gradient(to right, var(--cs-deep) 0%, var(--cs-deep) 46%, color-mix(in srgb, var(--cs-deep) 55%, transparent) 56%, transparent 68%), color-mix(in srgb, var(--cs-deep) 16%, transparent); }
}
.sc-l-console .sc-backbar:has(+ .sc-hero) { background: var(--cs-deep); box-shadow: 0 0 0 100vmax var(--cs-deep); clip-path: inset(0 -100vmax); }
.sc-l-console .sc-backbar:has(+ .sc-hero) .sc-back { color: #ffffff; }
.sc-l-console .sc-backbar:has(+ .sc-hero) :focus-visible { outline-color: #ffffff; }
/* phones: five category tiles in three columns, the last one takes the empty cell */
@media (max-width: 959px) { .sc-l-console .sc-cats li:last-child:nth-child(3n + 2) { grid-column: span 2; } }
/* compare on cards: a quiet tinted control until chosen */
.sc-l-console .sc-card > .sc-cmp-toggle { min-height: 44px; border-color: transparent; background: color-mix(in srgb, var(--sc-accent) 7%, var(--sc-surface)); color: var(--sc-accent); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .sc-l-console .sc-card > .sc-cmp-toggle:not([aria-pressed="true"]):not([disabled]):hover { border-color: var(--sc-accent); } }
.sc-l-console .sc-card > .sc-cmp-toggle[aria-pressed="true"] { background: var(--sc-accent); color: var(--sc-accent-ink); }
.sc-l-console .sc-foot .sc-contact-real { color: #ffffff !important; }

/* footer: the same deep band as the booklet's back cover */
.sc-l-console .sc-foot { background: var(--cs-grid), var(--cs-deep); color: var(--cs-on); border-top: 0; }
.sc-l-console .sc-foot b, .sc-l-console .sc-foot a { color: #ffffff; }
.sc-l-console .sc-foot :focus-visible { outline-color: #ffffff; }

/* ==================================================================== booklet (opt-in: capabilities.booklet)
   A4 sheets built on the server (render.ts renderBooklet). Inside a sheet every size is in container units (cqi:
   1cqi = 1% of the sheet width), so the same sheet is a 210 mm page in print and scales to any screen width.
   Screen: the sheets on a desk under the download / print buttons. Print: the sheets only, one per page, no margins. */
.sc-book-tools { display: grid; gap: 12px; padding-block: 8px 24px; }
.sc-book-actions { display: flex; flex-wrap: wrap; gap: 10px; }
body.sc-page-booklet { background: color-mix(in srgb, var(--sc-bg), var(--sc-ink) 9%); }
.sc-book { display: grid; gap: clamp(16px, 3vw, 32px); justify-items: center; padding: 0 16px 48px; }
.sc-sheet {
  --bk-pad: 7cqi; --bk-ink: var(--sc-ink); --bk-muted: var(--sc-muted); --bk-line: var(--sc-line);
  --bk-deep: color-mix(in srgb, var(--sc-accent), #000 28%);
  --bk-grid: linear-gradient(to right, rgb(255 255 255 / 0.07) 1px, transparent 1px) 0 0 / 10cqi 10cqi, linear-gradient(to bottom, rgb(255 255 255 / 0.07) 1px, transparent 1px) 0 0 / 10cqi 10cqi;
  container-type: inline-size; position: relative; box-sizing: border-box;
  inline-size: min(100%, 820px); aspect-ratio: 210 / 297; overflow: hidden;
  background: #ffffff; color: var(--bk-ink);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.12), 0 18px 40px -18px rgb(0 0 0 / 0.35);
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
/* the page inside the sheet: every cqi size below resolves against the sheet (on the sheet itself it would not) */
.sc-page { box-sizing: border-box; block-size: 100%; display: flex; flex-direction: column; font-size: 1.55cqi; line-height: 1.5; }
.sc-sheet p, .sc-sheet ul, .sc-sheet ol, .sc-sheet dl, .sc-sheet figure { margin: 0; }
.sc-sheet ul, .sc-sheet ol { list-style: none; padding: 0; }
.sc-sheet img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.sc-sheet a { color: inherit; text-decoration: none; }
.sc-sheet bdi[dir="ltr"] { font-variant-numeric: tabular-nums; }
.sc-book-ico { display: inline-grid; place-items: center; flex: none; inline-size: 1.4em; block-size: 1.4em; }
.sc-book-ico svg { inline-size: 100%; block-size: 100%; }

/* cover and back cover: the deep teal field with a 600 mm ceiling grid */
.sc-sheet-cover, .sc-sheet-back { background: var(--bk-deep); color: #ffffff; }
.sc-sheet-cover > .sc-page, .sc-sheet-back > .sc-page { background: var(--bk-grid); padding: 6cqi var(--bk-pad) 5cqi; gap: 3.2cqi; }
.sc-cover-top { display: flex; align-items: baseline; justify-content: space-between; gap: 3cqi; }
.sc-cover-brand { font-family: var(--sc-font-display, inherit); font-weight: 800; font-size: 4.2cqi; line-height: 1; }
.sc-cover-tag { font-size: 1.6cqi; color: rgb(255 255 255 / 0.85); }
.sc-sheet .sc-cover-banner { position: relative; margin-inline: calc(-1 * var(--bk-pad)); aspect-ratio: 16 / 6; background: var(--sc-stage); }
.sc-cover-title { display: grid; gap: 1.2cqi; }
.sc .sc-cover-title h2 { font-weight: 800; font-size: 9.4cqi; line-height: 0.98; color: inherit; }
.sc-cover-title p { font-size: 2.3cqi; line-height: 1.3; max-inline-size: 60cqi; color: rgb(255 255 255 / 0.92); }
.sc-cover-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6cqi; }
.sc-cover-mosaic-1 { grid-template-columns: minmax(0, 1fr); }
.sc-cover-mosaic.sc-cover-mosaic-1 figure { aspect-ratio: 2 / 1; }
.sc-cover-mosaic-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sc-cover-mosaic li { display: grid; gap: 0.8cqi; }
.sc-cover-mosaic figure { aspect-ratio: 4 / 3; background: var(--sc-stage); border-radius: 0.8cqi; overflow: hidden; }
.sc-cover-mosaic span { font-size: 1.15cqi; color: rgb(255 255 255 / 0.75); }
.sc-cover-cats { display: flex; flex-wrap: wrap; gap: 1.2cqi 4cqi; font-size: 1.8cqi; }
.sc-cover-cats li { display: inline-flex; align-items: center; gap: 1.2cqi; }
.sc-cover-cats b { font-weight: 500; color: rgb(255 255 255 / 0.7); font-variant-numeric: tabular-nums; }
.sc-cover-note { margin-block-start: auto !important; font-size: 1.15cqi; line-height: 1.45; color: rgb(255 255 255 / 0.8); max-inline-size: 72cqi; }
.sc-cover-note b { font-weight: 500; }

/* page head: a teal band on product sheets, plain on the contents sheet */
.sc-sheet-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.6cqi 2.4cqi; padding: 5cqi var(--bk-pad) 3.6cqi; background: var(--sc-accent); color: var(--sc-accent-ink); }
.sc-sheet-head .sc-book-ico { inline-size: 5.4cqi; block-size: 5.4cqi; grid-row: span 2; }
.sc .sc-sheet-head h2 { font-weight: 800; font-size: 4.6cqi; line-height: 1.05; color: inherit; }
.sc-sheet-head p { font-size: 1.6cqi; color: rgb(255 255 255 / 0.9); }
.sc-sheet-head-plain { grid-template-columns: minmax(0, 1fr); background: none; color: var(--bk-ink); padding-block-end: 2cqi; }
.sc-sheet-head-plain p { max-inline-size: 70cqi; color: var(--bk-muted); }

.sc-sheet-body { flex: 1; min-block-size: 0; display: grid; padding: 3.6cqi var(--bk-pad) 0; gap: 3.6cqi; }
.sc-sheet-body-2 { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
.sc-sheet-body > * { min-block-size: 0; }
.sc-sheet-body-2 > :nth-child(2) { border-block-start: 0.25cqi solid var(--bk-line); padding-block-start: 3.6cqi; }

/* a product: two independent columns, the image over its datasheet (start side) and the text over the drawing,
   which grows to fill the column, so a half sheet is always full */
.sc-book-item { box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 4cqi; min-block-size: 0; block-size: 100%; }
.sc-book-a, .sc-book-b { display: flex; flex-direction: column; gap: 2cqi; min-block-size: 0; }
.sc-book-img { position: relative; flex: none; aspect-ratio: 4 / 3; background: var(--sc-stage); border-radius: 0.8cqi; overflow: hidden; }
.sc-book-text { display: grid; gap: 0.9cqi; align-content: start; min-inline-size: 0; }
.sc-book-sku { font-size: 1.3cqi; color: var(--sc-accent); font-weight: 500; letter-spacing: 0.04em; }
.sc .sc-book-text h3 { font-weight: 700; font-size: 2.9cqi; line-height: 1.12; }
.sc-book-short { font-size: 1.7cqi; color: var(--bk-muted); }
.sc-book-desc { font-size: 1.45cqi; line-height: 1.55; margin-block-start: 0.6cqi !important; }
.sc-book-spec { display: grid; align-content: start; font-size: 1.4cqi; border-block-start: 0.35cqi solid var(--bk-ink); }
.sc-book-spec div { display: flex; justify-content: space-between; gap: 2cqi; padding-block: 0.55cqi; border-block-end: 0.15cqi solid var(--bk-line); }
.sc-book-spec dt { color: var(--bk-muted); }
.sc-book-spec dd { margin: 0; font-weight: 500; text-align: end; font-variant-numeric: tabular-nums; }
.sc-sheet .sc-draw { flex: 1 1 0; min-block-size: 12cqi; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 0.8cqi; padding: 2cqi 2.4cqi 1.4cqi; background: color-mix(in srgb, var(--sc-accent) 5%, #ffffff); border-radius: 0.8cqi; }
.sc-sheet .sc-draw svg { inline-size: 100%; block-size: 100%; min-block-size: 0; }
.sc-sheet .sc-draw figcaption { font-size: 1.1cqi; color: var(--bk-muted); }
/* a category of one: name and text across the top, the image across the sheet, then the datasheet beside the drawing */
.sc-book-item-full { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "text text" "img img" "spec draw"; gap: 3cqi 5cqi; }
.sc-book-item-full .sc-book-a, .sc-book-item-full .sc-book-b { display: contents; }
.sc-book-item-full .sc-book-text { grid-area: text; }
.sc-book-item-full .sc-book-img { grid-area: img; aspect-ratio: 16 / 9; }
.sc-book-item-full .sc-book-spec { grid-area: spec; align-self: start; }
.sc-book-item-full .sc-draw { grid-area: draw; }
.sc .sc-book-item-full h3 { font-size: 4.2cqi; }
.sc-book-item-full .sc-book-short { font-size: 2.1cqi; }
.sc-book-item-full .sc-book-desc { font-size: 1.7cqi; max-inline-size: 70cqi; }

/* an odd category closes with its products side by side */
.sc-book-sum { display: grid; gap: 1.6cqi; align-content: start; min-block-size: 0; }
.sc .sc-book-sum h3 { font-weight: 700; font-size: 2.2cqi; }
.sc-book-sum table { border-collapse: collapse; inline-size: 100%; table-layout: fixed; font-size: 1.3cqi; }
.sc-book-sum thead th { font-weight: 500; text-align: start; vertical-align: bottom; padding: 0 0 1cqi 1.6cqi; }
.sc-book-sum thead figure { aspect-ratio: 4 / 3; background: var(--sc-stage); border-radius: 0.6cqi; overflow: hidden; margin-block-end: 0.8cqi; max-inline-size: 16cqi; }
.sc-book-sum tbody th { font-weight: 400; color: var(--bk-muted); text-align: start; inline-size: 22%; }
.sc-book-sum tbody th, .sc-book-sum tbody td { padding: 0.8cqi 1.6cqi 0.8cqi 0; border-block-start: 0.15cqi solid var(--bk-line); }
.sc-book-sum tbody td { font-weight: 500; font-variant-numeric: tabular-nums; }
.sc-book-sum tr.is-diff th, .sc-book-sum tr.is-diff td { background: color-mix(in srgb, var(--sc-accent) 8%, #ffffff); }
.sc-book-sum tr.is-diff td { color: var(--sc-accent); font-weight: 700; }
.sc-book-sum .sc-cmp-diff { display: inline-block; margin-inline-start: 0.8cqi; padding: 0 0.8cqi; border-radius: 0.4cqi; background: var(--sc-accent); color: var(--sc-accent-ink); font-size: 1cqi; font-weight: 500; line-height: 1.6; vertical-align: middle; }
.sc-book-sum-note { font-size: 1.2cqi; color: var(--bk-muted); }

/* contents: categories with their first page, an index of every product, and one field as bars */
.sc-sheet-toc .sc-sheet-body { display: flex; flex-direction: column; gap: 4cqi; padding-block-start: 1cqi; }
.sc-toc-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4cqi; }
.sc-toc-cats li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2cqi; padding-block: 2.2cqi; border-block-start: 0.35cqi solid var(--bk-ink); }
.sc-toc-cats .sc-book-ico { inline-size: 4cqi; block-size: 4cqi; color: var(--sc-accent); }
.sc-toc-name { display: grid; gap: 0.3cqi; }
.sc-toc-name b { font-size: 2cqi; font-weight: 700; }
.sc-toc-name small { font-size: 1.25cqi; color: var(--bk-muted); line-height: 1.4; }
.sc-toc-cats .sc-toc-pg { font-size: 3.4cqi; font-weight: 800; color: var(--sc-accent); font-variant-numeric: tabular-nums; }
.sc-toc-index { border-collapse: collapse; inline-size: 100%; font-size: 1.35cqi; }
.sc-toc-index thead th { font-weight: 500; color: var(--bk-muted); text-align: start; padding: 0 0 1cqi 1.6cqi; border-block-end: 0.35cqi solid var(--bk-ink); }
.sc-toc-index tbody th { font-weight: 500; text-align: start; }
.sc-toc-index tbody th, .sc-toc-index tbody td { padding: 1.15cqi 0 1.15cqi 1.6cqi; border-block-end: 0.15cqi solid var(--bk-line); font-variant-numeric: tabular-nums; }
.sc-toc-index .sc-toc-pg { text-align: end; padding-inline-end: 0; font-weight: 700; color: var(--sc-accent); }
.sc-toc-bars { display: grid; gap: 1.4cqi; padding: 2.6cqi 3cqi; background: color-mix(in srgb, var(--sc-accent) 7%, #ffffff); border-radius: 0.8cqi; }
.sc-toc-bars figcaption { font-size: 1.35cqi; color: var(--bk-muted); }
.sc-toc-bars figcaption b { color: var(--bk-ink); font-weight: 700; }
.sc-toc-bars ul { display: grid; gap: 1.1cqi; }
.sc-toc-bars li { display: grid; grid-template-columns: 30cqi minmax(0, 1fr) 7cqi; align-items: center; gap: 2cqi; font-size: 1.3cqi; }
.sc-bar-track { display: block; inline-size: 100%; block-size: 1.9cqi; background: color-mix(in srgb, var(--sc-accent) 12%, #ffffff); border-radius: 0.3cqi; overflow: hidden; }
.sc-bar { fill: var(--sc-accent); }
.sc-toc-bars li b { font-weight: 500; text-align: end; font-variant-numeric: tabular-nums; }

/* running footer */
.sc-sheet-foot { display: flex; align-items: baseline; gap: 3cqi; padding: 2.4cqi var(--bk-pad) 3.6cqi; font-size: 1.15cqi; color: var(--bk-muted); margin-block-start: auto; }
.sc-sheet-foot b { color: var(--bk-ink); font-weight: 700; }
.sc-sheet-foot bdi { margin-inline-start: auto; }
.sc-sheet-n { font-size: 1.6cqi; font-weight: 800; color: var(--sc-accent); min-inline-size: 3cqi; text-align: end; font-variant-numeric: tabular-nums; }

/* back cover */
.sc-sheet-back > .sc-page { justify-content: flex-end; gap: 2.4cqi; }
.sc-sheet .sc-back-img { flex: none; aspect-ratio: 1200 / 630; margin: -6cqi calc(-1 * var(--bk-pad)) auto; background: var(--sc-stage); }
.sc-back-brand { font-family: var(--sc-font-display, inherit); font-weight: 800; font-size: 14cqi; line-height: 0.95; }
.sc-back-tag { font-size: 2.3cqi; color: rgb(255 255 255 / 0.9); }
.sc-sheet-back .sc-cover-cats { margin-block: 2cqi; }
.sc-back-cta { display: grid; gap: 0.8cqi; padding-block: 3cqi; border-block: 0.15cqi solid rgb(255 255 255 / 0.35); font-size: 1.8cqi; }
.sc-back-cta a { font-weight: 700; font-size: 2.6cqi; text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 0.12em; }
.sc-sheet-back .sc-cover-note { margin-block-start: 0 !important; }

/* schematic front view (product.drawing): face, dimension lines, hidden connection */
.sc-draw { margin: 0; color: var(--sc-ink); }
.sc-draw svg { display: block; fill: none; stroke: currentColor; stroke-width: 0.45; stroke-linecap: round; overflow: visible; }
.sc-draw .sc-face { stroke-width: 0.9; }
.sc-draw .sc-dim, .sc-draw .sc-ext { stroke: var(--sc-accent); stroke-width: 0.3; }
.sc-draw .sc-hidden { stroke: var(--sc-muted); stroke-dasharray: 2.2 1.6; }
.sc-draw .sc-fill { fill: color-mix(in srgb, var(--sc-accent) 9%, transparent); }
.sc-draw text { fill: var(--sc-accent); stroke: none; font-size: 8px; font-weight: 500; font-variant-numeric: tabular-nums; }

/* A4 page box only for the booklet (a named page), so printing any other showcase page keeps the browser defaults */
@page booklet { size: A4; margin: 0; }
@media print {
  body.sc-page-booklet { page: booklet; background: #ffffff; margin: 0; }
  body.sc-page-booklet .sc-omai, body.sc-page-booklet .sc-top, body.sc-page-booklet .sc-foot, body.sc-page-booklet .sc-backbar, body.sc-page-booklet .sc-book-tools, body.sc-page-booklet .sc-skip, .sc-cmp-bar { display: none !important; }
  .sc-book { display: block; padding: 0; }
  /* full printable width at the A4 ratio: 210 × 297 mm with the named page's zero margins, and still one sheet a page where a
     browser ignores named pages or keeps its own margins (everything inside is cqi, so it shrinks with the sheet) */
  .sc-sheet { inline-size: 100%; max-inline-size: 210mm; aspect-ratio: 210 / 297; box-shadow: none; break-after: page; page-break-after: always; break-inside: avoid; }
  .sc-sheet:last-child { break-after: auto; page-break-after: auto; }
}

/* home: compare and booklet in plain sight (catalogs with those capabilities) */
.sc-hero-feats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.sc-hero-tip { display: inline-flex; align-items: center; gap: 8px; color: var(--sc-muted); font-size: 0.92rem; }
.sc-hero-tip svg { width: 18px; height: 18px; flex: none; color: var(--sc-accent); }

/* ---- shop profile (F1 SALONA): prices, add to cart, kits, cart page. Every selector here exists only in a catalog with a cart. */
.sc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 6px; }
.sc-price-v { font-weight: 700; font-size: 1.08rem; color: var(--sc-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-was { color: var(--sc-muted); font-size: 0.84rem; }
.sc-saving { color: var(--sc-accent); font-weight: 600; font-size: 0.94rem; }
.sc-buy { display: grid; gap: 10px; padding: var(--sc-pad); background: var(--sc-surface); border-radius: var(--sc-radius); box-shadow: 0 1px 2px rgb(var(--sc-ink-rgb) / 0.06), 0 12px 30px -20px rgb(var(--sc-ink-rgb) / 0.4); border: 1px solid transparent; }
.sc-price-big { margin: 0; }
.sc-price-big .sc-price-v { font-family: var(--sc-font-display, inherit); font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); line-height: 1; }
.sc-price-big small { color: var(--sc-muted); font-size: 0.86rem; }
.sc-cart-add { display: grid; gap: 12px; }
.sc-buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.sc-buy-row .sc-qty input { width: 96px; }
.sc-buy-row .sc-btn { flex: 1 1 200px; }
.sc-kit { display: grid; gap: 12px; }
.sc-kit h2 { font-size: 1.2rem; }
.sc-kit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sc-kit li a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--sc-line); text-decoration: none; }
.sc-kit-img { margin: 0; width: 56px; height: 56px; border-radius: var(--sc-radius-s); background: var(--sc-stage); overflow: hidden; }
.sc-kit-img img { width: 100%; height: 100%; object-fit: contain; }
.sc-kit-qty { color: var(--sc-accent); font-weight: 700; }
.sc-kit-price { color: var(--sc-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-kit-sum { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; color: var(--sc-muted); padding-top: 4px; }
.sc-kit-sum b { color: var(--sc-accent); }
.sc-cart-sum { gap: 12px; }
.sc-cart-count { color: var(--sc-muted); min-height: 1.5em; }
.sc-cart-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; font-size: 1.15rem; padding-block: 12px; border-block: 1px solid var(--sc-line); }
.sc-cart-total bdi { font-family: var(--sc-font-display, inherit); font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.sc-cline-total { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-cline-unit { white-space: nowrap; }
.sc-sales tfoot th { color: var(--sc-ink); font-weight: 700; font-size: 0.95rem; }
.sc-sales tfoot td { font-weight: 700; }

/* ---- room layout (F1): the treatment room drawn from above in the hero, starter kits under it, price-led cards */
.sc-l-room .sc-hero { padding-block: 28px 36px; }
.sc-l-room .sc-hero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.05; max-width: 15ch; }
@media (min-width: 1000px) { .sc-l-room .sc-hero-grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 44px; align-items: start; } .sc-l-room .sc-hero-text { padding-top: 18px; } }
.sc-l-room .sc-hero-text .sc-feats { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.sc-room { margin: 0; display: grid; gap: 14px; padding: 18px; background: var(--sc-surface); border-radius: calc(var(--sc-radius) + 4px); box-shadow: 0 1px 2px rgb(var(--sc-ink-rgb) / 0.06), 0 18px 40px -26px rgb(var(--sc-ink-rgb) / 0.45); border: 1px solid transparent; min-width: 0; }
.sc-room-cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.sc-room-cap b { font-family: var(--sc-font-display, inherit); font-size: 1.05rem; }
.sc-room-cap span { color: var(--sc-muted); font-size: 0.86rem; }
.sc-rp { display: block; width: 100%; height: auto; }
.sc-rp-floor { fill: var(--sc-bg); }
.sc-rp-wall { fill: none; stroke: var(--sc-ink); stroke-width: 12; stroke-linejoin: miter; }
.sc-rp-door { fill: none; stroke: var(--sc-muted); stroke-width: 2.5; stroke-dasharray: 8 7; }
.sc-rp-window { fill: none; stroke: var(--sc-ink); stroke-width: 3; }
.sc-rp-body { fill: var(--sc-surface); stroke: var(--sc-ink); stroke-width: 3; transition: fill 150ms ease-out, stroke 150ms ease-out; }
.sc-rp-soft { fill: var(--sc-stage); stroke: var(--sc-ink); stroke-width: 2; }
.sc-rp-line { fill: none; stroke: var(--sc-ink); stroke-width: 3; stroke-linecap: round; }
.sc-rp-dot { fill: var(--sc-ink); }
.sc-rp-pin { fill: var(--sc-accent); stroke: var(--sc-surface); stroke-width: 4; }
.sc-rp-n { fill: var(--sc-accent-ink); font-size: 26px; font-weight: 700; font-family: var(--sc-font-display, inherit); pointer-events: none; }
.sc-rp-item.is-hot .sc-rp-body { fill: color-mix(in srgb, var(--sc-accent) 16%, var(--sc-surface)); stroke: var(--sc-accent); }
@media (hover: hover) and (pointer: fine) { .sc-rp-item:hover .sc-rp-body { fill: color-mix(in srgb, var(--sc-accent) 16%, var(--sc-surface)); stroke: var(--sc-accent); } }
.sc-room-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 2px 18px; }
.sc-room-list a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 8px; border-radius: var(--sc-radius-s); text-decoration: none; transition: background-color 150ms ease-out; }
.sc-room-list li.is-hot a { background: color-mix(in srgb, var(--sc-accent) 9%, var(--sc-surface)); }
.sc-rp-num { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--sc-accent); color: var(--sc-accent-ink); font-size: 0.8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.sc-rp-name { min-width: 0; font-size: 0.93rem; line-height: 1.25; }
.sc-rp-price { margin-inline-start: auto; color: var(--sc-muted); font-size: 0.88rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-kits { padding-block: 8px 28px; }
.sc-kits .sc-wrap { display: grid; gap: 16px; }
.sc-kits h2 { font-size: 1.45rem; }
.sc-kits-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sc-gap); grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.sc-kitcard { display: grid; background: var(--sc-surface); border-radius: var(--sc-radius); overflow: hidden; border: 1px solid transparent; box-shadow: 0 1px 2px rgb(var(--sc-ink-rgb) / 0.06), 0 12px 30px -20px rgb(var(--sc-ink-rgb) / 0.4); }
.sc-kitcard.is-room { position: relative; }
.sc-kitcard.is-room::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--sc-accent); z-index: 1; } /* clipped by the card's own radius (overflow: hidden) */
.sc-kitcard-link { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); text-decoration: none; }
.sc-kitcard-link .sc-card-img img { width: 100%; height: 100%; object-fit: contain; }
.sc-kitcard-body { padding: 18px 18px 8px; display: grid; gap: 6px; align-content: start; }
.sc-kitcard-body h3 { font-size: 1.2rem; }
.sc-kitcard-n { font-size: 0.86rem; color: var(--sc-muted); }
.sc-kitcard-act { padding: 4px 18px 18px; display: grid; gap: 8px; }
.sc-kitcard-act .sc-btn { justify-self: start; }
@media (max-width: 519px) { .sc-kitcard-link { grid-template-columns: 1fr; } .sc-kitcard-act .sc-btn { justify-self: stretch; } }
.sc-l-room .sc-card { border-color: transparent; box-shadow: 0 1px 2px rgb(var(--sc-ink-rgb) / 0.06), 0 10px 26px -20px rgb(var(--sc-ink-rgb) / 0.4); }
.sc-l-room .sc-card-body { flex: 1; grid-template-rows: auto auto auto 1fr; }
.sc-l-room .sc-card .sc-price { align-self: end; }
.sc-l-room .sc-card h3 { font-size: 1rem; }
.sc-l-room .sc-sku { font-size: 0.74rem; }
.sc-l-room .sc-gallery { min-width: 0; }
.sc-l-room .sc-thumbs { flex-wrap: wrap; overflow: visible; padding: 3px; }
.sc-l-room .sc-thumbs a { width: 64px; border: 0; outline: 1.5px solid transparent; outline-offset: 2px; }
.sc-l-room .sc-thumbs a[aria-current="true"] { outline-color: var(--sc-ink); }
.sc-l-room .sc-thumbs a:focus-visible { outline: 3px solid var(--sc-accent); outline-offset: 2px; }
.sc-l-room .sc-finish bdi { display: none; } /* the SKU of the chosen colour is in the kicker above */
@media (max-width: 519px) { .sc-kitcard .sc-card-img { aspect-ratio: 4 / 3; } }
@media (max-width: 959px) { .sc-l-room .sc-cats ol { flex-wrap: wrap; overflow: visible; } }
.sc-rp-hit { fill: transparent; }
.sc-rp-tag { display: inline-block; margin-inline-start: 8px; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, var(--sc-accent) 12%, var(--sc-surface)); color: var(--sc-accent); font-size: 0.74rem; font-weight: 600; vertical-align: 1px; }
.sc-room-kit { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 0.88rem; color: var(--sc-muted); padding-top: 10px; border-top: 1px solid var(--sc-line); }
.sc-room-kit .sc-rp-tag { margin-inline: 0 8px; }
.sc-room-kit a { color: var(--sc-accent); font-weight: 600; }
.sc-l-room .sc-cats .sc-step { display: none; } /* the room numbers are products; categories carry no number here */
@media (max-width: 999px) {
  /* phones and tablets: the room comes right after the title, the feature list after the room */
  .sc-l-room .sc-hero-text { display: contents; }
  .sc-l-room .sc-hero-text > .sc-feats { order: 3; margin-top: 0; }
  .sc-l-room .sc-room { order: 2; }
}
@media (max-width: 599px) {
  .sc-l-room .sc-thumbs a { width: 52px; }
  .sc-l-room .sc-card .sc-sku { display: none; }
}

/* ---- advisor (capabilities.advisor, shown only when the server has a model): floating button and a chat dialog */
.sc-adv-open { position: fixed; inset-block-end: max(16px, env(safe-area-inset-bottom)); inset-inline-start: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--sc-accent); color: var(--sc-accent-ink); font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 2px 4px rgb(var(--sc-ink-rgb) / 0.12), 0 14px 30px -12px rgb(var(--sc-ink-rgb) / 0.5); transition: scale 150ms ease-out; }
.sc-adv-open[hidden] { display: none; }
.sc-adv-open svg { width: 22px; height: 22px; flex: none; }
.sc-adv-open:active { scale: 0.96; }
.sc-adv-open:focus-visible { outline: 3px solid var(--sc-ink); outline-offset: 3px; }
.sc-adv { width: min(460px, calc(100vw - 24px)); height: min(680px, calc(100dvh - 24px)); max-width: none; max-height: none; margin: auto; margin-inline-start: 12px; margin-block-end: 12px; padding: 0; border: 1px solid transparent; border-radius: calc(var(--sc-radius) + 4px); background: var(--sc-surface); color: var(--sc-ink); box-shadow: 0 24px 60px -20px rgb(var(--sc-ink-rgb) / 0.6); overflow: hidden; }
.sc-adv[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto auto; }
.sc-adv::backdrop { background: rgb(var(--sc-ink-rgb) / 0.35); }
.sc-adv-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--sc-line); }
.sc-adv-head h2 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin-inline-end: auto; }
.sc-adv-head h2 svg { width: 20px; height: 20px; color: var(--sc-accent); }
.sc-adv-x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--sc-ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.sc-adv-log { overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--sc-bg); }
.sc-adv-start { display: grid; gap: 12px; color: var(--sc-muted); }
.sc-adv-start[hidden] { display: none; }
.sc-adv-ex { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sc-adv-chip { width: 100%; min-height: 44px; padding: 8px 14px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-s); background: var(--sc-surface); color: var(--sc-ink); font: inherit; text-align: start; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .sc-adv-chip:hover { border-color: var(--sc-accent); } }
.sc-adv-msg { max-width: 92%; display: grid; gap: 10px; }
.sc-adv-msg p { margin: 0; padding: 10px 14px; border-radius: var(--sc-radius); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.sc-adv-user { align-self: flex-start; }
.sc-adv-user p { background: var(--sc-accent); color: var(--sc-accent-ink); }
.sc-adv-assistant { align-self: flex-end; }
.sc-adv-assistant p { background: var(--sc-surface); box-shadow: 0 1px 2px rgb(var(--sc-ink-rgb) / 0.08); }
.sc-adv-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sc-adv-cards li { display: flex; align-items: center; gap: 8px; padding: 8px; background: var(--sc-surface); border-radius: var(--sc-radius-s); box-shadow: 0 1px 2px rgb(var(--sc-ink-rgb) / 0.08); }
.sc-adv-card { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; text-decoration: none; }
.sc-adv-card img { width: 56px; height: 56px; flex: none; object-fit: contain; border-radius: var(--sc-radius-s); background: var(--sc-stage); }
.sc-adv-card-t { display: grid; gap: 2px; min-width: 0; font-size: 0.92rem; line-height: 1.25; }
.sc-adv-card-t bdi { color: var(--sc-muted); font-variant-numeric: tabular-nums; }
.sc-adv-add { flex: none; min-height: 44px; padding: 0 12px; border: 1px solid var(--sc-accent); border-radius: var(--sc-radius-s); background: transparent; color: var(--sc-accent); font: inherit; font-size: 0.86rem; font-weight: 600; cursor: pointer; }
.sc-adv-add[disabled] { border-color: var(--sc-line); color: var(--sc-muted); cursor: default; }
.sc-adv-cmp { justify-self: start; }
.sc-adv-status { margin: 0; padding: 0 16px; min-height: 0; }
.sc-adv-status:not(:empty) { padding-block: 8px; }
.sc-adv-form { display: flex; gap: 8px; padding: 12px 16px 8px; border-top: 1px solid var(--sc-line); }
.sc-adv-form input { flex: 1; min-width: 0; min-height: 46px; padding: 0 12px; border: 1.5px solid var(--sc-line); border-radius: var(--sc-radius-s); background: var(--sc-surface); color: var(--sc-ink); font: inherit; font-size: 1rem; }
.sc-adv-note { margin: 0; padding: 0 16px 12px; font-size: 0.74rem; line-height: 1.4; }
@media (max-width: 519px) { .sc-adv { width: 100vw; height: 100dvh; margin: 0; border-radius: 0; } }

/* ---- advisor on the page (home hero): a real field, two sample questions, the privacy line */
.sc-adv-ask { display: grid; gap: 10px; padding: 16px 18px; border-radius: var(--sc-radius); background: color-mix(in srgb, var(--sc-accent) 8%, var(--sc-surface)); border: 1px solid transparent; min-width: 0; }
.sc-adv-ask[hidden] { display: none; }
.sc-adv-ask h2 { display: flex; align-items: center; gap: 8px; font-size: 1.12rem; }
.sc-adv-ask h2 svg { width: 22px; height: 22px; flex: none; color: var(--sc-accent); }
.sc-adv-ask-text { color: var(--sc-muted); font-size: 0.94rem; }
.sc-adv-askform { display: flex; gap: 8px; }
.sc-adv-askform input { flex: 1; min-width: 0; min-height: 48px; border-color: color-mix(in srgb, var(--sc-accent) 38%, var(--sc-line)); }
.sc-adv-askform .sc-btn { min-height: 48px; flex: none; }
.sc-adv-ask-try { display: grid; gap: 6px; }
.sc-adv-ask-try > p { font-size: 0.84rem; color: var(--sc-muted); }
.sc-adv-ask .sc-adv-ex { gap: 6px; }
.sc-adv-ask .sc-adv-chip { min-height: 44px; padding: 6px 12px; font-size: 0.9rem; line-height: 1.35; }
.sc-adv-ask .sc-adv-chip[disabled] { opacity: 0.6; cursor: default; }
.sc-adv-ask-note { margin: 0; font-size: 0.74rem; line-height: 1.4; }

/* ---- room layout: disclosures (the room's item list, the category list). Closed on phones; on wide screens the content
   shows without waiting for the script (::details-content), and showcase.js also opens them there. */
.sc-room-more > summary, .sc-cats-d > summary { display: flex; align-items: center; gap: 8px; min-height: 48px; cursor: pointer; list-style: none; }
.sc-room-more > summary::-webkit-details-marker, .sc-cats-d > summary::-webkit-details-marker { display: none; }
.sc-room-more > summary::after, .sc-cats-d > summary::after { content: ""; width: 9px; height: 9px; flex: none; margin-inline-start: auto; border-inline-end: 2px solid currentColor; border-block-end: 2px solid currentColor; transform: rotate(45deg); transition: transform 160ms ease-out; }
.sc-room-more[open] > summary::after, .sc-cats-d[open] > summary::after { transform: rotate(-135deg); }
.sc-room-more > summary { font-weight: 500; font-size: 0.94rem; padding-inline: 8px; border-radius: var(--sc-radius-s); }
.sc-room-more[open] > summary { margin-bottom: 6px; }
.sc-room-more > .sc-room-kit { margin-top: 10px; }
.sc-cats-d > summary { padding-inline: 14px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-s); background: var(--sc-surface); }
.sc-cats-d[open] > summary { margin-bottom: 8px; }
.sc-cats-sum-l { color: var(--sc-muted); font-size: 0.86rem; }
.sc-cats-d > summary b { font-weight: 600; }
.sc-cats-d > summary .sc-cat-n { color: var(--sc-muted); font-size: 0.86rem; }
@media (max-width: 959px) { .sc-l-room .sc-cats-label { display: none; } } /* the summary row carries the label there */
@supports selector(::details-content) {
  @media (min-width: 600px) { .sc-room-more > summary { display: none; } .sc-room-more::details-content { content-visibility: visible; display: block; } }
  @media (min-width: 960px) { .sc-cats-d > summary { display: none; } .sc-cats-d::details-content { content-visibility: visible; display: block; } }
}

/* ---- room on phones: the piece that was tapped, in a card under the plan (built by the script) */
.sc-room-pick { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 72px; padding: 8px; padding-inline-end: 14px; border-radius: var(--sc-radius-s); background: var(--sc-bg); text-decoration: none; }
.sc-room-pick img { width: 56px; height: 56px; object-fit: contain; border-radius: var(--sc-radius-s); background: var(--sc-stage); }
.sc-room-pick-t { display: grid; gap: 2px; min-width: 0; }
.sc-room-pick-n { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sc-room-pick-n b { font-size: 0.95rem; line-height: 1.25; font-weight: 600; overflow-wrap: anywhere; }
.sc-room-pick-t bdi { color: var(--sc-muted); font-size: 0.88rem; padding-inline-start: 34px; font-variant-numeric: tabular-nums; }
.sc-room-pick-go { color: var(--sc-accent); font-weight: 600; font-size: 0.88rem; white-space: nowrap; }
.sc-rp-item.is-picked .sc-rp-body { fill: color-mix(in srgb, var(--sc-accent) 16%, var(--sc-surface)); stroke: var(--sc-accent); }
.sc-rp-item.is-picked .sc-rp-pin { stroke: var(--sc-ink); }

/* ---- room layout on phones (2026-11-20): the first products within about two screens instead of four */
@media (max-width: 999px) { .sc-l-room .sc-adv-ask { order: 1; } } /* title, then the AI field, then the room (2), then the features (3) */
@media (max-width: 599px) {
  .sc-l-room .sc-hero { padding-block: 10px 20px; }
  .sc-l-room .sc-hero-grid { gap: 14px; }
  .sc-l-room .sc-hero .sc-lede { font-size: 1rem; }
  .sc-adv-ask { padding: 14px; gap: 8px; }
  .sc-adv-ask-more { display: none; }
  .sc-room { padding: 12px; gap: 10px; }
  .sc-room-cap span { display: none; } /* the card under the plan shows what a tap does */
  .sc-rp-pin { r: 34px; }
  .sc-rp-n { font-size: 30px; }
  .sc-l-room .sc-hero-text > .sc-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; padding-top: 14px; }
  .sc-l-room .sc-hero-text > .sc-feats li { font-size: 0.84rem; gap: 8px; align-items: start; }
  .sc-l-room .sc-hero-text > .sc-feats .sc-feat-ic { width: 30px; height: 30px; }
  .sc-l-room .sc-hero-text > .sc-feats .sc-feat-ic svg { width: 18px; height: 18px; }
  .sc-kits { padding-block: 0 20px; }
  .sc-kits .sc-wrap { gap: 10px; }
  .sc-kits h2 { font-size: 1.25rem; }
  .sc-kits-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sc-kitcard { align-content: start; grid-template-rows: 1fr auto; }
  .sc-kitcard-link { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .sc-kitcard-link .sc-card-img img { object-fit: cover; }
  .sc-kitcard-body { padding: 10px 10px 4px; gap: 3px; }
  .sc-kitcard-body h3 { font-size: 0.98rem; }
  .sc-kitcard-body .sc-short, .sc-kitcard-body .sc-saving { display: none; } /* "separately ₪X" beside the price says it in less room */
  .sc-kitcard-n { font-size: 0.78rem; }
  .sc-kitcard-act { padding: 4px 10px 10px; }
  .sc-kitcard-act .sc-btn { padding-inline: 6px; font-size: 0.86rem; gap: 6px; }
  .sc-l-room .sc-list { gap: 12px; }
  .sc-l-room .sc-side { gap: 8px; }
  .sc-l-room .sc-grid { gap: 10px; }
  .sc-l-room .sc-card-body { padding: 10px; }
  .sc-l-room .sc-card .sc-short { display: none; }
  .sc-adv-open { min-height: 46px; padding: 0 16px 0 12px; font-size: 0.9rem; }
}
@media (max-width: 959px) {
  /* search: one row, the label only for assistive technology (the placeholder says the same) */
  .sc-l-room .sc-filters { padding: 0; gap: 4px; border: 0; background: transparent; }
  .sc-l-room .sc-search label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .sc-l-room .sc-fmore > summary { padding-inline: 14px; }
}
@media (min-width: 960px) { .sc-l-room .sc-search-row input::placeholder { color: transparent; } } /* the visible label is enough there */

/* ---- motion (room layout). Everything rests fully visible: hidden states live in the keyframes' `from` only. */
@keyframes sc-rp-draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
@keyframes sc-rp-fade { from { opacity: 0; } }
@keyframes sc-rp-pop { from { opacity: 0; transform: scale(0.94); } }
@keyframes sc-bump { 40% { scale: 1.3; } }
@keyframes sc-msg-in { from { opacity: 0; translate: 0 6px; } }
@media (prefers-reduced-motion: no-preference) {
  /* the room draws itself once on load: walls, then door and window, then each piece in its number order */
  .sc-rp-wall { animation: sc-rp-draw 700ms cubic-bezier(0.23, 1, 0.32, 1) backwards; }
  .sc-rp-door, .sc-rp-window { animation: sc-rp-fade 300ms ease-out 420ms backwards; }
  .sc-rp-item { transform-box: fill-box; transform-origin: center; animation: sc-rp-pop 320ms cubic-bezier(0.23, 1, 0.32, 1) backwards; }
  .sc-rp-item:nth-of-type(1) { animation-delay: 380ms; }
  .sc-rp-item:nth-of-type(2) { animation-delay: 435ms; }
  .sc-rp-item:nth-of-type(3) { animation-delay: 490ms; }
  .sc-rp-item:nth-of-type(4) { animation-delay: 545ms; }
  .sc-rp-item:nth-of-type(5) { animation-delay: 600ms; }
  .sc-rp-item:nth-of-type(6) { animation-delay: 655ms; }
  .sc-rp-item:nth-of-type(7) { animation-delay: 710ms; }
  .sc-rp-item:nth-of-type(8) { animation-delay: 765ms; }
  .sc-rp-item:nth-of-type(9) { animation-delay: 820ms; }
  .sc-rp-item:nth-of-type(10) { animation-delay: 875ms; }
  /* feedback for an action: the cart count after an add, a pressed button, the newest chat message, the dialog opening */
  .sc-count.is-bump { animation: sc-bump 260ms cubic-bezier(0.23, 1, 0.32, 1); }
  .sc-l-room .sc-btn, .sc-adv-chip, .sc-adv-add, .sc-adv-open { transition: scale 150ms ease-out, background-color 160ms, border-color 160ms; }
  .sc-l-room .sc-btn:not([disabled]):active, .sc-adv-chip:not([disabled]):active, .sc-adv-add:not([disabled]):active { transform: none; scale: 0.97; }
  .sc-adv-msg:last-child { animation: sc-msg-in 200ms ease-out backwards; }
  .sc-adv[open] { transition: opacity 220ms ease-out, translate 260ms cubic-bezier(0.23, 1, 0.32, 1); }
  @starting-style { .sc-adv[open] { opacity: 0; translate: 0 18px; } }
  .sc-adv[open]::backdrop { transition: opacity 220ms ease-out; }
  @starting-style { .sc-adv[open]::backdrop { opacity: 0; } }
}
/* room layout: a disclosure chevron points down and up in both directions (physical borders on purpose; the shared
   .sc-fmore chevron uses logical borders, which turn it sideways in RTL) */
.sc-room-more > summary::after, .sc-cats-d > summary::after, .sc-l-room .sc-fmore > summary::after { border: 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.sc-adv-ask h2 { text-wrap: balance; }
@media (max-width: 999px) { .sc-l-room .sc-hero-text > .sc-hero-feats { order: 4; } }
@media (max-width: 599px) { .sc-kitcard-act .sc-status { min-height: 0; } }
/* the floating AI button steps aside while the on-page AI field is on screen (showcase.js toggles .is-away) */
.sc-adv-open { transition: opacity 200ms ease-out, translate 200ms ease-out, scale 150ms ease-out, visibility 0s; }
.sc-adv-open.is-away { opacity: 0; translate: 0 12px; visibility: hidden; pointer-events: none; transition: opacity 160ms ease-out, translate 160ms ease-out, visibility 0s 160ms; }
@media (max-width: 599px) { .sc-l-room .sc-hero-text > .sc-hero-feats { display: none; } } /* every card carries its own compare button there */
/* phones: the floating AI button is the icon and the word AI (its full name stays for assistive technology), so it covers little */
@media (max-width: 599px) {
  .sc-adv-open { padding: 0 14px 0 12px; gap: 6px; }
  .sc-adv-open > span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .sc-adv-open::after { content: "AI"; font-weight: 700; letter-spacing: 0.02em; }
}

/* ---- room layout, second pass after the rendered critique (2026-11-20) */
/* the kits are a block of the hero grid: full width under the text and the room; on phones before the room, so the
   first screens show products with photos and prices */
.sc-kits { grid-column: 1 / -1; display: grid; gap: 16px; padding-block: 0; min-width: 0; }
@media (max-width: 999px) {
  .sc-l-room .sc-kits { order: 2; }
  .sc-l-room .sc-room { order: 3; }
  .sc-l-room .sc-hero-text > .sc-feats { order: 4; }
  .sc-l-room .sc-hero-text > .sc-hero-feats { order: 5; }
}
.sc-saving-short, .sc-adv-ex-short { display: none; }
.sc-adv-ask-note, .sc-adv-note, .sc-rp-tag { font-size: 0.75rem; } /* 12px: nothing smaller */
.sc-adv-open { background: var(--sc-ink); color: var(--sc-bg); } /* not the accent: it floats over accent buttons */
.sc-adv-open:focus-visible { outline-color: var(--sc-accent); }
@media (max-width: 599px) {
  .sc-kits { gap: 10px; padding-block: 0; }
  /* the saving in its short form, under the price */
  .sc-kitcard-body .sc-saving { display: block; font-size: 0.8rem; }
  .sc-saving-long { display: none; }
  .sc-saving-short { display: inline; }
  /* sample questions: the two short ones in a row */
  .has-short .sc-adv-ex-long { display: none; }
  .has-short .sc-adv-ex-short { display: flex; flex-wrap: wrap; gap: 6px; }
  .sc-adv-ex-short li { flex: 1 1 auto; }
  .sc-adv-ex-short .sc-adv-chip { text-align: center; padding-inline: 10px; font-size: 0.86rem; }
  /* the room: no card around it (one box fewer), bigger numbers to tap, the hint back, a card of constant height */
  .sc-room { padding: 0; background: transparent; box-shadow: none; border: 0; }
  .sc-rp-floor { fill: var(--sc-surface); }
  .sc-room-cap span { display: inline; font-size: 0.8rem; }
  .sc-rp-pin { r: 42px; }
  .sc-rp-hit { r: 60px; }
  .sc-rp-n { font-size: 38px; }
  .sc-room-pick { min-height: 84px; background: var(--sc-surface); box-shadow: 0 1px 2px rgb(var(--sc-ink-rgb) / 0.06), 0 10px 26px -20px rgb(var(--sc-ink-rgb) / 0.4); }
  .sc-room-pick-n b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .sc-room-more > summary { padding-inline: 4px; }
  /* the feature list: the first item spans the row, so five items leave no orphan */
  .sc-l-room .sc-hero-text > .sc-feats li:first-child { grid-column: 1 / -1; }
  /* product cards: compare is an icon on the image instead of a row under every card */
  .sc-l-room .sc-card > .sc-cmp-toggle { position: absolute; inset-block-start: 6px; inset-inline-end: 6px; width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0; border-radius: 50%; background: color-mix(in srgb, var(--sc-surface) 92%, transparent); }
  .sc-l-room .sc-card > .sc-cmp-toggle svg { width: 20px; height: 20px; }
  .sc-l-room .sc-card > .sc-cmp-toggle span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .sc-l-room .sc-card > .sc-cmp-toggle[aria-pressed="true"] { background: var(--sc-accent); }
  /* product page: a shorter stage and tighter colour options bring the add button up */
  .sc-l-room .sc-stage-img { aspect-ratio: 5 / 4; }
  .sc-l-room .sc-finishes { gap: 6px; }
  .sc-l-room .sc-finish { padding: 0 10px; font-size: 0.9rem; }
  /* header targets */
  .sc-l-room .sc-brand { min-height: 44px; }
  .sc-l-room .sc-navbtn { min-width: 44px; justify-content: center; }
}
@media (prefers-reduced-motion: no-preference) {
  /* the plan was below the screen at load: showcase.js holds the drawing back (.is-wait) and releases it on scroll-in */
  .sc-rp.is-wait .sc-rp-wall, .sc-rp.is-wait .sc-rp-door, .sc-rp.is-wait .sc-rp-window, .sc-rp.is-wait .sc-rp-item { animation: none; opacity: 0; }
}
.sc-kit-add-short { display: none; }
@media (max-width: 599px) { .sc-kit-add-long { display: none; } .sc-kit-add-short { display: inline; } } /* two cards side by side: the short label fits on one line */

/* ---- showcase index (design pass 2026-12-02, direction "חלון ראווה" chosen by the owner, with the "what does your
   business need" block at the end). OMAI's own colours (the navy and cyan of the logo and of the strip above every
   catalog), never a concept brand's. A white masthead with the logo and the call, a navy band with one headline, the
   catalogs as a gallery of large images (two a row from 900px, one on phones), each stamped with its business action
   in its catalog's accent colour (the stamp rules come from /catalogs/showcase/index.css), two features and an "open"
   line; then the needs block, the sample note and the closing call on navy. Everything here is scoped to .sc-index. */
.sc-index { --sc-accent: #0f1b3d; --sc-accent-rgb: 15 27 61; --sc-accent-ink: #ffffff; --idx-navy: #0f1b3d; --idx-cyan: #1fd1c6; --idx-pale: #d6dcec; }
.sc-index main { padding-block: 36px 28px; display: grid; gap: 44px; }
/* masthead */
.sc-idx-top { background: #ffffff; border-bottom: 1px solid var(--sc-line); }
.sc-idx-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding-block: 10px; }
.sc-idx-logo { display: block; line-height: 0; border-radius: 6px; }
.sc-idx-logo img { width: auto; height: 52px; }
.sc-idx-want { min-height: 44px; background: var(--idx-cyan); border-color: var(--idx-cyan); color: var(--idx-navy); font-weight: 600; } /* the one call that is on screen the whole way: cyan, not navy on white */
.sc-idx-want:hover { background: #4fe0d6; border-color: #4fe0d6; }
/* the band */
.sc-idx-hero { background: var(--idx-navy); color: #ffffff; padding-block: 40px 44px; }
.sc-idx-hero .sc-wrap { display: grid; gap: 14px; }
.sc-idx-hero .sc-backrow { padding-block: 0 4px; }
.sc-idx-hero .sc-back { color: #ffffff; }
.sc-idx-hero h1 { font-size: clamp(1.75rem, 1.2rem + 2.1vw, 2.7rem); line-height: 1.15; max-width: 24ch; text-wrap: balance; }
.sc-idx-hero h1::after { content: ""; display: block; inline-size: 56px; block-size: 3px; margin-top: 18px; background: var(--idx-cyan); border-radius: 2px; } /* the cyan rule of the logo, carried into the page */
.sc-idx-hero .sc-lede { color: var(--idx-pale); font-size: 1.08rem; line-height: 1.6; max-width: 62ch; text-wrap: pretty; }
/* the gallery */
.sc-index .sc-idx { grid-template-columns: minmax(0, 1fr); gap: 22px; }
@media (min-width: 900px) { .sc-index .sc-idx { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
.sc-idx-card { background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: var(--sc-radius); overflow: hidden; transition: box-shadow 220ms ease-out, translate 220ms ease-out; }
.sc-idx-card a { text-decoration: none; display: grid; height: 100%; grid-template-rows: auto 1fr; }
.sc-idx-card .sc-card-img { aspect-ratio: 16 / 10; }
.sc-idx-card .sc-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 500ms var(--sc-ease); }
.sc-idx-stamp { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.94); color: var(--idx-navy); font-size: 0.84rem; font-weight: 600; line-height: 1.2; box-shadow: 0 2px 8px rgb(0 0 0 / 0.18); }
.sc-idx-card .sc-ph { inset-block-start: auto; inset-block-end: 10px; }
.sc-idx-card .sc-card-body { display: grid; gap: 8px; padding: 20px 22px 22px; align-content: start; }
.sc-idx-card h2 { font-size: 1.55rem; line-height: 1.15; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; letter-spacing: 0.01em; }
.sc-idx-card .sc-meta { margin-top: -4px; font-size: 0.84rem; color: var(--sc-muted); }
.sc-idx-card .sc-short { color: var(--sc-muted); font-size: 0.98rem; line-height: 1.5; text-wrap: pretty; }
.sc-idx-card .sc-feats { margin: 6px 0 0; padding: 12px 0 0; border-top: 1px solid var(--sc-line); display: flex; flex-wrap: wrap; gap: 8px 18px; max-width: none; }
.sc-idx-card .sc-feats li { font-size: 0.9rem; gap: 8px; }
.sc-idx-card .sc-feat-ic { inline-size: 30px; block-size: 30px; border-radius: 8px; background: rgb(var(--sc-accent-rgb) / 0.08); color: var(--idx-navy); }
.sc-idx-card .sc-feat-ic svg { inline-size: 17px; block-size: 17px; }
/* the card's conclusion: a real button (the critique found a text link the weakest element of the card) */
.sc-idx-open { margin-top: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: var(--sc-radius-s); background: var(--idx-navy); color: #ffffff; font-weight: 600; font-size: 0.98rem; justify-self: start; transition: background 160ms; }
.sc-idx-open svg { inline-size: 18px; block-size: 18px; transform: scaleX(-1); transition: translate 200ms ease-out; } /* the shared arrow is drawn pointing back (right in RTL); "open" points forward, so it is mirrored on purpose */
@media (hover: hover) and (pointer: fine) {
  .sc-idx-card:hover { box-shadow: 0 18px 40px -24px rgb(var(--sc-ink-rgb) / 0.5); translate: 0 -2px; }
  .sc-idx-card:hover .sc-card-img img { scale: 1.035; }
  .sc-idx-card:hover .sc-idx-open { background: #1a2b5c; }
  .sc-idx-card:hover .sc-idx-open svg { translate: -4px 0; }
}
@media (min-width: 900px) { .sc-idx-card .sc-card-img { aspect-ratio: 16 / 9; } } /* about 330px tall in the two-column grid: the page stays under 3,500px */
.sc-idx-card:active { translate: 0 0; }
/* what the business needs */
.sc-idx-need { background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: var(--sc-radius); padding: 26px 24px 10px; }
.sc-idx-need h2 { font-size: 1.45rem; margin-bottom: 8px; }
.sc-idx-need ul { list-style: none; margin: 0; padding: 0; }
.sc-idx-need li { display: grid; gap: 8px 24px; padding-block: 14px; border-top: 1px solid var(--sc-line); align-items: center; }
@media (min-width: 720px) { .sc-idx-need li { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.sc-idx-need-t { font-weight: 500; font-size: 1.02rem; }
.sc-idx-need-l { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-idx-need-l a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 16px; border: 1.5px solid var(--idx-navy); border-radius: 999px; color: var(--idx-navy); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.02em; text-decoration: none; transition: background 160ms, color 160ms; }
.sc-idx-need-l a svg { inline-size: 16px; block-size: 16px; transform: scaleX(-1); } /* forward arrow, mirrored on purpose (see .sc-idx-open) */
.sc-idx-need-l a:hover { background: var(--idx-navy); color: #ffffff; }
.sc-index .sc-sample { color: var(--sc-muted); font-size: 0.88rem; }
/* the closing call */
.sc-idx-cta { background: var(--idx-navy); color: #ffffff; padding-block: 44px 52px; }
.sc-idx-cta-in { display: grid; gap: 24px; align-items: center; }
@media (min-width: 800px) { .sc-idx-cta-in { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; } }
.sc-idx-cta img { width: 220px; height: auto; }
.sc-idx-cta div { display: grid; gap: 10px; justify-items: start; }
.sc-idx-cta h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
.sc-idx-cta p { color: var(--idx-pale); max-width: 52ch; line-height: 1.55; }
.sc-idx-cta .sc-btn { margin-top: 8px; background: var(--idx-cyan); border-color: var(--idx-cyan); color: var(--idx-navy); font-weight: 600; min-height: 50px; padding-inline: 22px; }
.sc-idx-cta .sc-btn:hover { background: #4fe0d6; border-color: #4fe0d6; }
.sc-index :focus-visible { outline-color: var(--idx-cyan); }
.sc-idx-hero :focus-visible, .sc-idx-cta :focus-visible { outline-color: #ffffff; }
@media (max-width: 599px) {
  .sc-index main { padding-block: 24px 20px; gap: 32px; }
  .sc-idx-top-in { min-height: 64px; }
  .sc-idx-logo img { height: 42px; }
  .sc-idx-want { padding-inline: 14px; font-size: 0.95rem; }
  .sc-idx-hero { padding-block: 22px 26px; }
  .sc-idx-hero .sc-wrap { gap: 10px; }
  .sc-idx-hero h1::after { margin-top: 12px; }
  .sc-idx-hero .sc-lede { font-size: 0.95rem; line-height: 1.5; }
  .sc-idx-card .sc-card-body { padding: 16px 16px 18px; }
  .sc-idx-open { justify-self: stretch; }
  .sc-idx-card h2 { font-size: 1.35rem; }
  .sc-idx-card .sc-feats { gap: 8px 14px; }
  .sc-idx-card .sc-feats li { font-size: 0.86rem; }
  .sc-idx-need { padding: 20px 16px 6px; }
  .sc-idx-cta { padding-block: 36px 44px; }
  .sc-idx-cta img { width: 180px; }
}

/* ==================================================================== gala layout (G1 FLOREA, opt-in: theme.layout "gala")
   Event rentals. Direction "laid table" (design pass 2026-11-30, first screen rebuilt the same day): the venue photograph
   is a full-bleed poster with the headline and the date card on an ivory plate at its base; four category tiles stand
   on one gold shelf line with place-card captions under it; the collections are three-image mosaics with their colours as swatches; the
   home is grouped by category (every product once). Ivory ground (the ordered photographs are shot on the same ivory),
   Frank Ruhl Libre display (theme.fonts), champagne stage, olive actions, gold only as hairlines (#d9c9a6) and small
   text (#6f5c33, AA on ivory). Every selector is scoped to body.sc-l-gala or to the rental components (.sc-rt-*,
   .sc-rental), which only a rental catalog renders. */
.sc-l-gala .sc-kicker::before { content: none; }
.sc-l-gala .sc-kicker { color: #6f5c33; letter-spacing: 0; text-transform: none; font-size: 0.92rem; }
.sc-l-gala .sc-brand { font-size: 1.55rem; letter-spacing: 0.14em; font-weight: 500; }
.sc-l-gala .sc-top { background: color-mix(in srgb, var(--sc-bg) 94%, transparent); border-bottom-color: #d9c9a6; }
.sc-l-gala .sc-navbtn { border-radius: 2px; }
.sc-l-gala .sc-btn { border-radius: 2px; letter-spacing: 0.02em; }
.sc-l-gala .sc-btn-quiet { border-color: #b49a65; color: var(--sc-ink); }
.sc-l-gala .sc-btn-quiet:hover { border-color: var(--sc-ink); }
.sc-l-gala .sc-count { background: #b49a65; color: #292923; }
.sc-l-gala .sc-foot { border-top-color: #d9c9a6; }
.sc-l-gala .sc-feats { border-top-color: #d9c9a6; }
.sc-l-gala .sc-feat-ic { background: #efe6d2; color: #6f5c33; border-radius: 2px; }

/* ---- hero (third round, 2026-11-30, after measuring live rental catalogs: one photograph is 92–100 % of their first
   screen, FLOREA had 31 %): the venue photograph is a full-bleed poster; the headline, the one sentence and the date card
   sit on an ivory plate at its base (the "Poster" posture); the four tiles follow, then the feature list. The plate is a
   wrapper the template adds for this layout only (.sc-hero-plate). While the photograph is a placeholder drawing the
   poster is shorter. The filtered home has no poster: the text column flows inside the wrap as before. */
.sc-l-gala .sc-hero { padding-block: 0 28px; }
.sc-l-gala .sc-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
.sc-l-gala .sc-hero-grid:has(.sc-hero-poster) { max-width: none; padding-inline: 0; }
.sc-l-gala .sc-hero-text { display: contents; }
.sc-l-gala .sc-hero-poster { grid-row: 1; grid-column: 1; margin: 0; position: relative; height: min(50dvh, 520px); min-height: 300px; overflow: hidden; background: var(--sc-stage); }
.sc-l-gala .sc-hero-poster.is-placeholder { height: min(40dvh, 400px); min-height: 250px; }
.sc-l-gala .sc-hero-poster img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; }
.sc-l-gala .sc-hero-poster .sc-ph { inset-block-start: 10px; inset-block-end: auto; inset-inline-start: 12px; }
.sc-l-gala .sc-hero-plate { grid-row: 2; grid-column: 1; position: relative; margin: -48px 12px 0; padding: 16px 16px 14px; background: var(--sc-bg); border: 1px solid #d9c9a6; }
.sc-l-gala .sc-hero-plate > .sc-kicker { display: none; } /* no eyebrow over the headline; the tagline stays in the page title and the index card */
.sc-l-gala .sc-hero-plate > h1 { font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.6rem); line-height: 1.04; font-weight: 500; text-wrap: balance; margin: 0; }
.sc-l-gala .sc-hero-plate > .sc-lede { font-size: 0.98rem; text-wrap: pretty; margin: 8px 0 0; max-width: none; }
.sc-l-gala .sc-hero-plate > .sc-rt-dates-card { margin: 12px 0 0; outline: none; padding: 10px 12px; gap: 8px; }
.sc-l-gala .sc-hero-plate .sc-rt-dates-h { font-size: 1rem; }
.sc-l-gala .sc-hero-plate .sc-rt-dates-h svg { inline-size: 20px; block-size: 20px; }
.sc-l-gala .sc-hero-plate .sc-rt-dates-hint { display: none; }
.sc-l-gala .sc-hero-grid:has(.sc-hero-poster) > .sc-tiles { grid-row: 3; grid-column: 1; width: 100%; max-width: 1240px; box-sizing: border-box; margin: 22px auto 0; padding-inline: 16px; }
.sc-l-gala .sc-hero-text > .sc-feats { margin-top: 22px; max-width: none; gap: 8px 16px; padding-top: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sc-l-gala .sc-hero-grid:has(.sc-hero-poster) .sc-hero-text > .sc-feats { grid-row: 4; grid-column: 1; width: 100%; max-width: 1240px; box-sizing: border-box; margin: 22px auto 0; padding-inline: 16px; }
.sc-l-gala .sc-hero .sc-feats li { font-size: 0.86rem; font-weight: 500; }
.sc-l-gala .sc-hero .sc-feat-ic { inline-size: 30px; block-size: 30px; }
.sc-l-gala .sc-hero .sc-feat-ic svg { inline-size: 17px; block-size: 17px; }
@media (min-width: 700px) {
  .sc-l-gala .sc-hero-plate .sc-rt-dates-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sc-l-gala .sc-hero-plate .sc-rt-dates-row > :first-child { grid-column: auto; }
}
@media (min-width: 900px) {
  .sc-l-gala .sc-hero { padding-block: 0 36px; }
  /* 82dvh keeps the plate inside a 1366 × 768 laptop screen (plate ≈ 436px + 28px margin) */
  .sc-l-gala .sc-hero-poster { height: min(82dvh, 760px); min-height: 520px; }
  .sc-l-gala .sc-hero-poster.is-placeholder { height: min(60dvh, 560px); min-height: 420px; }
  /* the plate shares the poster row: at its base, on the start side, aligned with the wrap, 600px wide */
  .sc-l-gala .sc-hero-plate { grid-row: 1; z-index: 1; align-self: end; justify-self: start; margin: 0 max(16px, calc((100% - 1208px) / 2)) 28px; width: min(600px, calc(100% - 32px)); padding: 26px 28px 22px; }
  .sc-l-gala .sc-hero-plate > .sc-lede { font-size: 1.08rem; }
  .sc-l-gala .sc-hero-grid:has(.sc-hero-poster) > .sc-tiles { grid-row: 2; margin-top: 26px; }
  .sc-l-gala .sc-hero-text > .sc-feats { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 26px; padding-top: 16px; }
  .sc-l-gala .sc-hero-grid:has(.sc-hero-poster) .sc-hero-text > .sc-feats { grid-row: 3; }
  .sc-l-gala .sc-hero .sc-feats li { font-size: 0.94rem; }
  .sc-l-gala .sc-hero .sc-feat-ic { inline-size: 36px; block-size: 36px; }
  .sc-l-gala .sc-hero .sc-feat-ic svg { inline-size: 19px; block-size: 19px; }
}

/* ---- category tiles: four products on one shelf line, a place card on each (the signature). */
.sc-l-gala .sc-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
@media (min-width: 700px) { .sc-l-gala .sc-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; } }
.sc-l-gala .sc-tiles li { border-bottom: 1px solid #d9c9a6; padding-bottom: 14px; min-width: 0; }
.sc-l-gala .sc-tiles a { display: block; text-decoration: none; border-radius: 2px; color: inherit; }
.sc-l-gala .sc-tile-img { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--sc-stage); }
.sc-l-gala .sc-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.sc-l-gala .sc-tile-cap { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 8px; margin: -30px 10px 0; padding: 8px 12px 7px; background: var(--sc-surface); border: 1px solid #d9c9a6; min-height: 40px; }
/* once dates are chosen the script adds "n of total available" to each place card */
.sc-l-gala .sc-tile-cap .sc-rt-badge { flex-basis: 100%; font-size: 0.8rem; gap: 6px; }
.sc-l-gala .sc-tile-cap .sc-rt-dot { inline-size: 8px; block-size: 8px; box-shadow: none; }
.sc-l-gala .sc-tile-name { font-family: var(--sc-font-display, inherit); font-size: 1.05rem; line-height: 1.2; min-width: 0; }
.sc-l-gala .sc-tile-n { color: #6f5c33; font-size: 0.82rem; font-variant-numeric: tabular-nums; flex: none; }
@media (max-width: 699px) { .sc-l-gala .sc-tile-cap { margin: -16px 6px 0; padding: 6px 8px 5px; } .sc-l-gala .sc-tile-name { font-size: 0.95rem; } } /* a 214px tile: the place card covers 7%, under the photographs' 10% margin */
@media (hover: hover) and (pointer: fine) {
  .sc-l-gala .sc-tiles a:hover .sc-tile-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
}
.sc-l-gala .sc-tiles a:focus-visible { outline: 3px solid var(--sc-accent); outline-offset: 3px; }
.sc-l-gala .sc-tiles a:focus-visible .sc-tile-name { text-decoration: underline; text-underline-offset: 4px; }

/* ---- the home under the hero: the collections */
.sc-rt-home { display: grid; gap: 30px; padding-block: 4px 30px; }
.sc-rt-home h2 { font-size: 1.6rem; font-weight: 500; }
.sc-rt-home-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.sc-rt-colls { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .sc-rt-colls { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; } }
.sc-rt-colls a { display: block; text-decoration: none; color: inherit; border-radius: 2px; }
.sc-rt-colls a:focus-visible { outline: 3px solid var(--sc-accent); outline-offset: 3px; }
/* the mosaic: the lead product two thirds wide, two more stacked beside it; all 4:5, so the figure is 6:5 */
.sc-rt-coll-fig { margin: 0; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; }
.sc-rt-coll-fig.has-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 6 / 5; }
.sc-rt-coll-fig img { width: 100%; height: 100%; object-fit: cover; background: var(--sc-stage); min-height: 0; }
.sc-rt-coll-fig.has-3 .sc-rt-coll-lead { grid-row: 1 / 3; }
.sc-rt-coll-fig:not(.has-3) .sc-rt-coll-side { display: none; }
.sc-rt-coll-cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: baseline; margin: 10px 2px 0; }
.sc-rt-coll-name { font-family: var(--sc-font-display, inherit); font-size: 1.15rem; line-height: 1.2; }
.sc-rt-coll-n { font-size: 0.82rem; color: #6f5c33; font-variant-numeric: tabular-nums; }
.sc-rt-coll-sw { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 4px; }
.sc-rt-sw { display: inline-block; inline-size: 12px; block-size: 12px; border-radius: 999px; border: 1px solid rgb(var(--sc-ink-rgb) / 0.18); background: var(--sc-stage); }
.sc-rt-sw-white { background: #ffffff; }
.sc-rt-sw-ivory { background: #f3ecdc; }
.sc-rt-sw-blush { background: #e8c4c0; }
.sc-rt-sw-gold { background: linear-gradient(135deg, #d9bd7a, #b49a65); }
.sc-rt-sw-green { background: #7f8b63; }
.sc-rt-sw-clear { background: linear-gradient(135deg, #ffffff 0%, #dfe6ea 55%, #ffffff 100%); }
.sc-rt-sw-black { background: #2a2a28; }
.sc-rt-sw-burgundy { background: #6b2433; }
@media (hover: hover) and (pointer: fine) { .sc-rt-colls a:hover .sc-rt-coll-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }

/* ---- category navigation: a quiet list, no step numbers (categories are not a sequence) */
.sc-l-gala .sc-cats .sc-step { display: none; }
.sc-l-gala .sc-cats a { border-radius: 2px; }
.sc-l-gala .sc-cat-n { opacity: 1; color: var(--sc-muted); }
.sc-l-gala .sc-cats a[aria-current="page"] .sc-cat-n { color: inherit; }
@media (min-width: 960px) { .sc-l-gala .sc-cats a { font-family: var(--sc-font-display, inherit); font-size: 1.05rem; } .sc-l-gala .sc-cats a[aria-current="page"] { border-bottom-color: #b49a65; } }
/* phones: the category list is a vertical picker wheel (owner request 2026-11-30): three rows visible, snap to the centre,
   the centred category larger and in the ink, its neighbours fading out above and below (the fade and the half-visible
   neighbours are the scroll cue). The script marks the centred row (li.is-mid) and starts on the current category. */
@media (max-width: 959px) {
  .sc-l-gala .sc-cats ol { display: block; position: relative; max-height: 156px; overflow-y: auto; overflow-x: hidden; scroll-snap-type: y mandatory; overscroll-behavior: contain; padding: 52px 0; scrollbar-width: none; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent); border-top: 1px solid #d9c9a6; border-bottom: 1px solid #d9c9a6; }
  .sc-l-gala .sc-cats ol::-webkit-scrollbar { display: none; }
  .sc-l-gala .sc-cats li { scroll-snap-align: center; scroll-snap-stop: always; }
  .sc-l-gala .sc-cats a { min-height: 52px; justify-content: space-between; padding: 0 10px; border: 0; background: transparent; border-radius: 0; color: var(--sc-muted); font-family: var(--sc-font-display, inherit); font-size: 1.05rem; transition: font-size 160ms var(--sc-ease), color 160ms var(--sc-ease); }
  .sc-l-gala .sc-cats a[aria-current="page"] { background: transparent; color: var(--sc-muted); border: 0; }
  .sc-l-gala .sc-cats li.is-mid a, .sc-l-gala .sc-cats li.is-mid a[aria-current="page"] { color: var(--sc-ink); font-size: 1.4rem; }
  .sc-l-gala .sc-cats li.is-mid a[aria-current="page"] .sc-cat-name { text-decoration: underline; text-decoration-color: #b49a65; text-underline-offset: 6px; text-decoration-thickness: 2px; }
  .sc-l-gala .sc-cats .sc-cat-n { font-size: 0.85rem; }
  .sc-l-gala .sc-cats a:focus-visible { outline-offset: -3px; }
  @media (prefers-reduced-motion: reduce) { .sc-l-gala .sc-cats a { transition: none; } }
}
.sc-l-gala .sc-hero-cat h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); font-weight: 500; }
/* the filter panel is part of the page, not a white card: hairlines on the ivory */
.sc-l-gala .sc-filters { background: transparent; border: 0; border-top: 1px solid #d9c9a6; border-radius: 0; padding: 16px 0 0; }
.sc-l-gala .sc-filters .sc-fgroup legend, .sc-l-gala .sc-filters > p, .sc-l-gala .sc-filters summary { font-family: var(--sc-font-display, inherit); font-size: 1.05rem; }
/* the placeholder label: a quiet stationery tag in the lower start corner, not a dark pill (the drawings are the page's own ivory now) */
.sc-l-gala .sc-ph { background: rgb(250 247 240 / 0.88); color: #6f5c33; border: 1px solid #d9c9a6; font-size: 0.75rem; line-height: 1.5; padding: 1px 7px; border-radius: 2px; inset-block-start: auto; inset-block-end: 8px; inset-inline-start: 8px; letter-spacing: 0.02em; }
.sc-l-gala .sc-tiles .sc-ph { inset-block-end: auto; inset-block-start: 8px; } /* the place card covers the tile's lower edge */
/* the mosaic cells keep their gutters: a hairline on each cell (tried on the cards too and rejected there: wireframe) */
.sc-rt-coll-fig { gap: 6px; }
.sc-rt-coll-fig img { outline: 1px solid #e6dcc9; outline-offset: -1px; }
/* one rule above the first group, not two (the bar's and the group head's, 38px apart) */
.sc-l-gala .sc-list:has(.sc-groups) .sc-rt-bar { border-bottom: 0; }
/* the current thumbnail's outline is not clipped by the strip's scroller */
.sc-l-gala .sc-thumbs { padding: 3px; }
/* one button language: the search button is the accent, not a black fill */
.sc-l-gala .sc-filters .sc-btn { background: var(--sc-accent); border-color: var(--sc-accent); color: var(--sc-accent-ink); }

/* ---- the grouped home: each category under its serif heading on a gold hairline */
.sc-l-gala .sc-groups { gap: 64px; }
.sc-l-gala .sc-group-head { border-top-color: #d9c9a6; padding-top: 16px; }
.sc-l-gala .sc-group-head h2 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem); font-weight: 500; }
.sc-l-gala .sc-group-more { margin-inline-start: auto; color: #6f5c33; font-size: 0.92rem; text-underline-offset: 4px; min-height: 32px; display: inline-flex; align-items: center; }
/* one row per category: four cards from 1100px, three (the fourth hidden) between 720 and 1099px where four would be under 170px wide */
@media (min-width: 1100px) { .sc-l-gala.sc-page-home .sc-group .sc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 720px) and (max-width: 1099px) { .sc-l-gala.sc-page-home .sc-group .sc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sc-l-gala.sc-page-home .sc-group .sc-card:nth-child(4) { display: none; } }
/* the grouped home is the catalog's own structure, not a result set: no "34 results" line above it */
.sc-l-gala .sc-list:has(.sc-groups) .sc-count-line { display: none; }
.sc-l-gala .sc-more { margin-top: var(--sc-section); }

/* ---- cards: the picture carries the card, the name set in the serif, the availability line under it */
.sc-l-gala .sc-grid { gap: 32px 18px; }
.sc-l-gala .sc-card { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.sc-l-gala .sc-card-img { border-radius: 2px; }
.sc-l-gala .sc-card-img img { object-fit: cover; }
.sc-l-gala .sc-card-link { border-radius: 2px; }
.sc-l-gala .sc-card-body { padding: 14px 2px 0; gap: 4px; }
.sc-l-gala .sc-card h3 { font-size: 1.22rem; font-weight: 500; line-height: 1.15; }
.sc-l-gala .sc-sku { font-size: 0.75rem; }
.sc-l-gala .sc-card .sc-sku { display: none; }
.sc-l-gala .sc-short { font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty; }
/* card meta (size, collection): gold text at AA, one line per item */
.sc-l-gala .sc-card-fields { display: flex; flex-wrap: wrap; margin-top: 2px; font-size: 0.8rem; color: #6f5c33; letter-spacing: 0.04em; }
.sc-l-gala .sc-card-fields li { border: 0; padding: 0; display: inline; white-space: nowrap; }
.sc-l-gala .sc-card-fields li + li { border-inline-start: 1px solid var(--sc-line); margin-inline-start: 8px; padding-inline-start: 8px; }
.sc-l-gala .sc-card-fields span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc-l-gala .sc-card-fields b { font-weight: 500; }
.sc-l-gala .sc-card .sc-rt-badge { margin-top: 6px; }
@media (max-width: 599px) { .sc-l-gala .sc-card-fields { flex-direction: column; gap: 2px; } .sc-l-gala .sc-card-fields li + li { border: 0; margin: 0; padding: 0; } }
/* without a date the bar above the list already asks for one: the cards stay quiet until there is something to say */
.sc-card .sc-rt-badge.is-nodate { display: none; }

/* ---- product page */
.sc-l-gala .sc-info h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); font-weight: 500; line-height: 1.05; text-wrap: balance; }
.sc-l-gala .sc-info { gap: 16px; }
.sc-l-gala .sc-stage-img img { object-fit: cover; }
/* the gallery fits the first screen (OMAI strip + header + thumbnails ≈ 300px), like the editorial layout */
.sc-l-gala .sc-photos .sc-stage-img { width: min(100%, calc((100vh - 300px) * var(--sc-aspect-r))); width: min(100%, calc((100svh - 300px) * var(--sc-aspect-r))); justify-self: center; }
.sc-l-gala .sc-thumbs { justify-content: center; }
@media (max-width: 599px) { .sc-l-gala .sc-photos .sc-stage-img { aspect-ratio: 1 / 1; width: 100%; } }
.sc-l-gala .sc-thumbs a { border: 0; outline: 1.5px solid transparent; outline-offset: 2px; border-radius: 2px; }
.sc-l-gala .sc-thumbs a[aria-current="true"] { outline-color: #b49a65; }
.sc-l-gala .sc-share { background: transparent; border: 0; border-block: 1px solid #d9c9a6; border-radius: 0; padding: 18px 0; }
.sc-l-gala .sc-spec th { color: var(--sc-muted); }

/* ---- availability line: a dot and a few words. Colours are fixed (not brand tokens) so the meaning is the same everywhere. */
.sc-rt-badge, .sc-rt-avail-line { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--sc-ink); margin: 0; }
.sc-rt-avail-line { font-size: 1rem; font-weight: 500; }
.sc-rt-dot { inline-size: 10px; block-size: 10px; border-radius: 999px; background: var(--sc-muted); flex: none; box-shadow: 0 0 0 3px rgb(var(--sc-ink-rgb) / 0.06); }
.is-nodate > .sc-rt-dot { background: transparent; border: 1.5px dashed var(--sc-muted); }
.sc-rt-badge.is-nodate, .sc-rt-badge.is-inactive, .sc-rt-avail-line.is-nodate, .sc-rt-avail-line.is-inactive { color: var(--sc-muted); }
.is-available > .sc-rt-dot { background: #4e7d3f; }
.is-partial > .sc-rt-dot { background: #c38a1f; }
.is-none > .sc-rt-dot { background: #b3443f; }
.is-inactive > .sc-rt-dot { background: #a9a49a; }
.sc-rt-badge.is-none, .sc-rt-avail-line.is-none { color: #8a2f2b; }

/* ---- the date card (hero) and its bar/inline forms */
.sc-rental input[type="date"], .sc-rental textarea { font: inherit; font-size: 16px; min-height: 46px; padding: 8px 12px; border: 1.5px solid var(--sc-line); border-radius: var(--sc-radius-s); background: var(--sc-surface); color: var(--sc-ink); width: 100%; -webkit-appearance: none; appearance: none; }
.sc-rental textarea { min-height: 80px; resize: vertical; }
.sc-rental input[type="date"]:focus, .sc-rental textarea:focus { border-color: var(--sc-ink); outline: none; }
/* a date input keeps its intrinsic width unless told otherwise; in Chromium's phone rendering that is wider than half a 360px row */
.sc-rental input[type="date"] { inline-size: 100%; min-inline-size: 0; box-sizing: border-box; }
.sc-rental .sc-field > input, .sc-rental .sc-field > select { min-width: 0; max-width: 100%; }
/* a hidden field is hidden even though .sc-field is a grid */
.sc-rental .sc-field[hidden] { display: none; }
.sc-rt-dates { display: grid; gap: 12px; }
/* the invitation: a double gold hairline (border + offset outline) around an ivory card */
.sc-rt-dates-card { background: var(--sc-surface); border: 1px solid #b49a65; outline: 1px solid #b49a65; outline-offset: 4px; padding: 18px 20px 16px; border-radius: 2px; }
.sc-rt-dates-card .sc-rt-dates-lede { display: none; } /* the hint under the button says the rule; the heading asks the question */
.sc-rt-dates-card .sc-status:empty { display: none; }
/* once dates exist the result sentence takes the hint's line, so the card keeps its height and the tiles stay in the first screen */
.sc-rt-dates-card:has(.sc-status.is-ok) .sc-rt-dates-hint { display: none; }
.sc-rt-dates-h { display: flex; align-items: center; gap: 10px; font-family: var(--sc-font-display, inherit); font-size: 1.45rem; font-weight: 500; margin: 0; color: var(--sc-ink); }
.sc-rt-dates-h svg { inline-size: 26px; block-size: 26px; color: #8a7446; flex: none; }
.sc-rt-dates-h-bar { font-size: 1.05rem; font-family: inherit; }
.sc-rt-dates-lede { color: var(--sc-muted); font-size: 0.92rem; margin-top: -4px; }
/* the event date across the card, start and end as a pair under it (no orphan field) */
.sc-rt-dates-row { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sc-rt-dates-row > :first-child { grid-column: 1 / -1; }
.sc-rt-dates-actions { display: flex; align-items: center; gap: 6px 16px; flex-wrap: wrap; }
.sc-rt-dates-actions .sc-btn { min-width: 160px; }
.sc-rt-dates-hint { margin: 0; text-wrap: pretty; }
.sc-rt-demo-date { color: #6f5c33; }
.sc-rt-dates-bar, .sc-rt-dates-inline { padding: 14px 0 4px; }
/* the bar (category and filtered lists) is one row on wide screens: three dates, the button, then the hint; its own
   heading is redundant with the summary line above it */
.sc-rt-dates-bar .sc-rt-dates-h-bar { display: none; }
@media (min-width: 600px) { .sc-rt-dates-bar .sc-rt-dates-row, .sc-rt-wizard .sc-rt-dates-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sc-rt-dates-bar .sc-rt-dates-row > :first-child, .sc-rt-wizard .sc-rt-dates-row > :first-child { grid-column: auto; } }
@media (min-width: 900px) {
  .sc-rt-dates-bar { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 16px; padding-top: 10px; }
  .sc-rt-dates-bar .sc-rt-dates-row { grid-column: 1; }
  .sc-rt-dates-bar .sc-rt-dates-actions { grid-column: 2; min-height: 46px; }
  .sc-rt-dates-bar .sc-rt-dates-hint, .sc-rt-dates-bar .sc-status, .sc-rt-dates-bar noscript { grid-column: 1 / -1; }
  .sc-rt-dates-bar .sc-status:empty { display: none; }
}
.sc-rt-bar { display: grid; gap: 8px; border-bottom: 1px solid #d9c9a6; padding-bottom: 10px; margin-bottom: 6px; }
.sc-rt-bar-d > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-height: 44px; }
.sc-rt-bar-d > summary::-webkit-details-marker { display: none; }
.sc-rt-bar-sum { font-weight: 500; }
.sc-rt-bar-change { color: #6f5c33; text-decoration: underline; text-underline-offset: 3px; font-size: 0.9rem; }
.sc-rt-only { justify-self: start; }
.sc-rt-only[hidden] { display: none; }

/* ---- product page box: stock, availability for the chosen dates, dates, quantity, add. Framed like the invitation. */
.sc-rt-box { display: grid; gap: 12px; padding: 20px 22px 18px; margin: 4px 5px; background: var(--sc-surface); border: 1px solid #b49a65; outline: 1px solid #b49a65; outline-offset: 4px; border-radius: 2px; }
/* without a date the summary line below already says "choose a date": one sentence, not two */
.sc-rt-box > .sc-rt-avail-line.is-nodate { display: none; }
.sc-rt-box > .sc-rt-avail-line { font-family: var(--sc-font-display, inherit); font-size: 1.35rem; font-weight: 500; line-height: 1.2; gap: 10px; }
.sc-rt-box > .sc-rt-avail-line .sc-rt-dot { inline-size: 12px; block-size: 12px; }
.sc-rt-stock { font-size: 0.88rem; color: var(--sc-muted); display: flex; align-items: baseline; gap: 5px; }
.sc-rt-stock b { color: var(--sc-muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.sc-rt-box-dates > summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; color: #6f5c33; text-decoration: underline; text-underline-offset: 3px; font-size: 0.92rem; }
.sc-rt-box-dates > summary::-webkit-details-marker { display: none; }
.sc-rt-box .sc-status:empty { display: none; }
.sc-rt-add { display: grid; gap: 10px; border-top: 1px solid #d9c9a6; padding-top: 14px; }
.sc-rt-add .sc-buy-row { display: grid; grid-template-columns: minmax(110px, 140px) minmax(0, 1fr); gap: 10px; align-items: end; }
@media (max-width: 420px) { .sc-rt-add .sc-buy-row { grid-template-columns: 1fr; } }
.sc-rt-tag { display: inline-block; font-size: 0.72rem; border: 1px solid #b49a65; color: #6f5c33; border-radius: 999px; padding: 1px 8px; white-space: nowrap; margin-inline-start: 6px; vertical-align: middle; }

/* ---- the visitor's list */
.sc-rt-list .sc-rt-bar { margin-bottom: 14px; }
.sc-rt-list .sc-empty-line { display: grid; gap: 12px; justify-items: start; }
.sc-rt-inq textarea { min-height: 70px; }
.sc-rt-flag { color: #6f5c33; }
.sc-rt-sent[hidden] { display: none; }
.sc-rt-inq[hidden] { display: none; }
.sc-rt-sent { border-color: #b49a65; }
.sc-qline .sc-rt-badge { margin-top: 4px; }

/* ---- management panel */
.sc-rt-manage { display: grid; gap: 18px; padding-block: 14px 20px; }
.sc-rt-demo-banner { background: #e9ece2; color: #2f3626; border: 1px solid #c9d1bb; border-radius: 2px; padding: 10px 14px; font-size: 0.9rem; }
.sc-rt-demo-banner b { font-weight: 600; margin-inline-end: 6px; }
.sc-rt-tabs { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-bottom: 1px solid #d9c9a6; }
.sc-rt-tabs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 4px; }
.sc-rt-tabs a { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 14px; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 500; }
.sc-rt-tabs a[aria-current="page"] { border-bottom-color: var(--sc-accent); color: var(--sc-accent); }
.sc-rt-tabs-out { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--sc-muted); text-decoration: none; }
.sc-rt-tabs-out svg { inline-size: 18px; block-size: 18px; }
.sc-rt-panel { display: grid; gap: 18px; }
.sc-rt-narrow { max-width: 820px; }
/* the view's title and its one control (the date to check, a filter) sit together at the start, not at opposite ends */
.sc-rt-panel-head { display: flex; align-items: flex-end; justify-content: flex-start; gap: 12px 40px; flex-wrap: wrap; }
.sc-rt-panel h1 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 500; }
.sc-rt-inlinefield { min-width: 220px; max-width: 280px; }
.sc-rt-kpis { margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.sc-rt-kpi { background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: 2px; padding: 14px 16px; display: grid; gap: 4px; }
.sc-rt-kpi dt { font-size: 0.82rem; color: var(--sc-muted); }
.sc-rt-kpi dd { margin: 0; font-family: var(--sc-font-display, inherit); font-size: 2.2rem; line-height: 1; font-weight: 500; font-variant-numeric: tabular-nums; }
.sc-rt-cols { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.sc-rt-card { background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: 2px; padding: 18px 20px; display: grid; gap: 10px; align-content: start; }
.sc-rt-card h2 { font-size: 1.1rem; font-weight: 500; }
.sc-rt-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.sc-rt-card li { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 9px 0; border-top: 1px solid var(--sc-line); }
.sc-rt-card li a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.sc-rt-scenario { border-color: #b49a65; }
.sc-rt-scenario-form { max-width: 280px; }
.sc-rt-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 0; }
.sc-rt-problems { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.sc-rt-problems b { font-weight: 500; }
.sc-rt-resetrow { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--sc-line); padding-top: 10px; margin-top: 10px; }
/* reservation page: the status pill right beside the title */
.sc-page-rt-reservation .sc-rt-panel-head { gap: 14px; align-items: center; }
.sc-rt-summary h2.is-short { color: #8a2f2b; }

/* status pills */
.sc-rt-pill, .sc-rt-status-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: 0.8rem; white-space: nowrap; border: 1px solid transparent; background: var(--sc-stage); color: var(--sc-ink); }
.sc-rt-status-pill { font-size: 0.95rem; min-height: 32px; padding: 0 14px; }
.sc-rt-status-pill[hidden], .sc-rt-tag[hidden], .sc-rt-pill[hidden] { display: none; }
.sc-rt-pill.is-inquiry, .sc-rt-status-pill.is-inquiry { background: #e4e9ee; color: #2d4356; }
.sc-rt-pill.is-reserved, .sc-rt-status-pill.is-reserved { background: #e3ebd9; color: #2f4a23; }
.sc-rt-pill.is-delivered, .sc-rt-status-pill.is-delivered { background: #f3e6c6; color: #5b4713; }
.sc-rt-pill.is-returned, .sc-rt-status-pill.is-returned { background: #ecebe6; color: #5f5a4f; }
.sc-rt-pill.is-cancelled, .sc-rt-status-pill.is-cancelled { background: transparent; border-color: var(--sc-line); color: var(--sc-muted); text-decoration: line-through; }
.sc-rt-pill.is-overdue, .sc-rt-status-pill.is-overdue { background: #f4d9d7; color: #7a2522; }
.sc-rt-pill.is-on { background: #e3ebd9; color: #2f4a23; }
.sc-rt-pill.is-off { background: #ecebe6; color: #5f5a4f; }
.sc-rt-overdue { color: #7a2522; }

/* tables (inventory, reservations) */
.sc-rt-filters { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 280px)); }
.sc-rt-tablewrap { background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: 2px; padding: 4px 14px; }
.sc-rt-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.sc-rt-table th, .sc-rt-table td { text-align: start; padding: 10px 6px; border-bottom: 1px solid var(--sc-line); vertical-align: middle; }
.sc-rt-table thead th { color: var(--sc-muted); font-weight: 400; font-size: 0.82rem; }
.sc-rt-table tbody th { font-weight: 500; }
.sc-rt-table tbody th a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 40px; }
.sc-rt-table tbody th img { inline-size: 40px; block-size: 40px; object-fit: cover; border-radius: 2px; background: var(--sc-stage); }
.sc-rt-table .sc-rt-num { text-align: end; font-variant-numeric: tabular-nums; }
.sc-rt-table tr.is-off { color: var(--sc-muted); }
.sc-rt-table tr.sc-rt-row { cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .sc-rt-table tr.sc-rt-row:hover { background: var(--sc-bg); } }
@media (max-width: 760px) {
  .sc-rt-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sc-rt-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--sc-line); }
  .sc-rt-table th, .sc-rt-table td { border: 0; padding: 2px 0; }
  .sc-rt-table tbody th { grid-column: 1 / -1; }
  .sc-rt-table .sc-rt-num { text-align: start; }
  .sc-rt-table td[data-l]::before { content: attr(data-l) ": "; color: var(--sc-muted); font-size: 0.82rem; }
}
.sc-rt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-rt-chip { font: inherit; font-size: 0.86rem; min-height: 36px; padding: 0 12px; border: 1px solid var(--sc-line); border-radius: 999px; background: var(--sc-surface); color: var(--sc-ink); cursor: pointer; }
.sc-rt-chip[aria-pressed="true"] { background: var(--sc-ink); border-color: var(--sc-ink); color: var(--sc-bg); }
@media (pointer: coarse) { .sc-rt-chip { min-height: 40px; } }

/* forms: product, reservation wizard */
.sc-rt-form { display: grid; gap: 16px; padding: var(--sc-pad); background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: 2px; }
.sc-rt-grid2 { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.sc-rt-step { border: 0; margin: 0; padding: 16px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--sc-line); }
.sc-rt-step:first-of-type { border-top: 0; padding-top: 0; }
.sc-rt-step legend { font-weight: 500; display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 8px; float: inline-start; width: 100%; }
.sc-rt-step legend + * { clear: both; }
.sc-rt-step .sc-step { opacity: 1; border-color: #b49a65; color: #6f5c33; }
.sc-rt-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sc-rt-line { display: grid; grid-template-columns: 44px minmax(0, 1fr) 90px auto auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--sc-line); border-radius: 2px; }
.sc-rt-line img { inline-size: 44px; block-size: 44px; object-fit: cover; border-radius: 2px; background: var(--sc-stage); }
.sc-rt-line-name { display: grid; min-width: 0; }
.sc-rt-line-name b { font-weight: 500; }
.sc-rt-line input { min-height: 40px !important; padding: 4px 8px !important; }
.sc-rt-line.is-short { border-color: #b3443f; }
.sc-rt-line.is-short small { color: #8a2f2b; }
@media (max-width: 520px) { .sc-rt-line { grid-template-columns: 44px minmax(0, 1fr) 80px; } .sc-rt-line > span:last-of-type { display: none; } .sc-rt-line .sc-linkbtn { grid-column: 2 / -1; justify-self: start; } }
.sc-rt-addline { display: grid; grid-template-columns: minmax(0, 1fr) 110px auto; gap: 10px; align-items: end; }
@media (max-width: 600px) { .sc-rt-addline { grid-template-columns: 1fr; } }
.sc-rt-check:empty, .sc-rt-summary:empty { display: none; }
.sc-rt-summary { display: grid; gap: 8px; padding: 14px 16px; background: var(--sc-bg); border-radius: 2px; }
.sc-rt-summary h2 { font-size: 1rem; font-weight: 500; }
.sc-rt-summary dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; font-size: 0.92rem; }
.sc-rt-summary dt { color: var(--sc-muted); }
.sc-rt-summary dd { margin: 0; }
.sc-rt-library { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.sc-rt-library legend { font-size: 0.9rem; font-weight: 500; padding: 0; margin-bottom: 4px; }
.sc-rt-library-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.sc-rt-lib { position: relative; display: block; border-radius: 2px; overflow: hidden; border: 2px solid transparent; background: var(--sc-stage); cursor: pointer; aspect-ratio: 4 / 5; }
.sc-rt-lib input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sc-rt-lib img { width: 100%; height: 100%; object-fit: cover; }
.sc-rt-lib:has(input:checked) { border-color: var(--sc-accent); }
.sc-rt-lib:has(input:focus-visible) { outline: 3px solid var(--sc-accent); outline-offset: 2px; }
.sc-rt-reslist li a { text-decoration: none; }

/* calendar */
.sc-rt-calnav { display: flex; gap: 10px 16px; align-items: center; flex-wrap: wrap; }
.sc-rt-calbtns { display: flex; gap: 6px; }
.sc-rt-calbtns .sc-btn { min-height: 40px; padding: 0 12px; }
.sc-rt-cal-title { font-size: 1.4rem; font-weight: 500; font-family: inherit; }
.sc-rt-month { width: 100%; border-collapse: collapse; table-layout: fixed; background: var(--sc-surface); border: 1px solid var(--sc-line); }
.sc-rt-month th { font-weight: 400; color: var(--sc-muted); font-size: 0.82rem; padding: 8px 4px; border-bottom: 1px solid var(--sc-line); }
.sc-rt-month td { vertical-align: top; border: 1px solid var(--sc-line); padding: 4px; height: 96px; }
.sc-rt-month td.is-empty { background: var(--sc-bg); }
.sc-rt-month td.is-today { box-shadow: inset 0 0 0 2px var(--sc-accent); }
.sc-rt-month td.is-demo .sc-rt-dom { background: #f3e6c6; border-radius: 999px; }
.sc-rt-dom { display: inline-grid; place-items: center; inline-size: 26px; block-size: 26px; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.sc-rt-cal-items { display: grid; gap: 3px; margin-top: 2px; }
.sc-rt-cal-item { display: grid; gap: 0; padding: 3px 6px; border-radius: 3px; font-size: 0.74rem; line-height: 1.25; text-decoration: none; min-width: 0; }
.sc-rt-cal-item b, .sc-rt-cal-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.sc-rt-cal-item span { font-weight: 400; }
.sc-rt-month .sc-rt-cal-item span { display: none; }
.sc-rt-month a.sc-rt-dom { color: inherit; text-decoration: none; font-weight: 600; }
.sc-rt-month a.sc-rt-dom:hover { text-decoration: underline; }
.sc-rt-month-list { display: none; }
/* phones: the bars in a day cell are indicators only; the day number opens that week and the month's bookings are listed under the grid */
@media (max-width: 700px) {
  .sc-rt-month td { height: 56px; padding: 2px; }
  .sc-rt-month .sc-rt-cal-item { padding: 0; min-height: 8px; }
  .sc-rt-month .sc-rt-cal-item b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sc-rt-month a.sc-rt-dom { inline-size: 36px; block-size: 36px; }
  .sc-rt-month-list { display: grid; gap: 8px; margin-top: 18px; }
  .sc-rt-month-list h3 { font-size: 1rem; font-weight: 500; }
  .sc-rt-month-list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
  .sc-rt-month-list li { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; justify-content: space-between; padding: 10px 12px; background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: 2px; }
  .sc-rt-month-list li a { color: inherit; text-decoration: none; min-width: 0; line-height: 1.4; }
}
.sc-rt-week { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.sc-rt-week li { background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: 2px; padding: 10px; min-height: 160px; display: grid; gap: 8px; align-content: start; }
.sc-rt-week li.is-today { box-shadow: inset 0 0 0 2px var(--sc-accent); }
.sc-rt-week li.is-demo h3 b { background: #f3e6c6; border-radius: 999px; padding: 0 6px; }
.sc-rt-week h3 { font-size: 0.9rem; font-weight: 400; color: var(--sc-muted); }
.sc-rt-week .sc-rt-cal-item { font-size: 0.82rem; padding: 6px 8px; }
@media (max-width: 900px) { .sc-rt-week { grid-template-columns: 1fr; } .sc-rt-week li { min-height: 0; } }

/* inquiries */
.sc-rt-inqlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sc-rt-inqcard { background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: 2px; padding: 16px 18px; display: grid; gap: 8px; }
.sc-rt-inqhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.sc-rt-inqhead a { text-decoration: none; }
.sc-rt-inqlines { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 0.92rem; }
.sc-rt-inqlines li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sc-rt-inqlines small { font-size: 0.82rem; }
.sc-rt-lowlist .sc-rt-badge { font-size: 0.82rem; }
.sc-rt-demo-card .sc-ph { inset-inline-start: auto; inset-inline-end: 10px; }
.sc-rt-conflict { color: #8a2f2b; font-weight: 600; }

/* phones: less chrome before the products and before each panel view */
@media (max-width: 899px) {
  .sc-rt-dates-card { padding: 16px 16px 14px; }
  .sc-rt-dates-card .sc-rt-dates-lede { display: none; }
  .sc-rt-dates-h { font-size: 1.2rem; }
  .sc-rt-dates-h svg { inline-size: 22px; block-size: 22px; }
  .sc-rt-demo-banner { font-size: 0.82rem; padding: 8px 12px; }
  .sc-rt-tabs a { padding: 0 9px; min-height: 42px; font-size: 0.92rem; }
  .sc-rt-tabs .sc-rt-tabs-out { display: none; } /* beats .sc-rt-tabs a (inline-flex) */
  .sc-rt-manage { gap: 12px; }
}
/* on rental pages the hidden attribute always wins (cards are flex, forms and cards are grids) */
.sc-rental [hidden] { display: none !important; }
/* ---- third round polish (Hallmark audit 2026-11-30): untracked labels (67), field edges at 3:1 (40), a focus ring in the ink over the thumbnail strip (26a) */
.sc-l-gala .sc-cats-label { letter-spacing: 0; }
.sc-l-gala .sc-rt-dates input[type="date"], .sc-l-gala .sc-qty input, .sc-l-gala .sc-search input { border-color: #8f8674; }
.sc-l-gala .sc-thumbs a:focus-visible { outline: 3px solid var(--sc-ink); outline-offset: 2px; }
/* the date fields had no keyboard focus ring: `.sc-rental input[type="date"]:focus { outline: none }` outranks the shared
   `.sc input:focus-visible` rule (pre-existing since the first build; Hallmark 26a) */
.sc-rental input[type="date"]:focus-visible, .sc-rental textarea:focus-visible { outline: 3px solid var(--sc-accent); outline-offset: 2px; }

/* ==================================================================== brochure layout (H1 SHAI, opt-in: theme.layout "brochure")
   A printed gift brochure: linen ground, serif display, a gold rule as the signature line. The home groups the packages
   by budget tier and opens the booklet as a flip-book. The sheets carry few words in large type (a brochure, not a
   datasheet): one package is a spread, the photo page on the right and the text page on the left (brochure.ts). */
.sc-l-brochure { --bro-gold: #c9a24a; }
.sc-l-brochure.sc-page-home .sc-hero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.08; }
.sc-l-brochure .sc-hero-img { border: 1px solid var(--sc-line); box-shadow: 0 18px 40px -22px rgb(var(--sc-ink-rgb) / 0.45); }
.sc-l-brochure .sc-hero-feats { margin-top: 6px; }
/* home: the book first (owner decision 2026-12-01). A one-line masthead, the flip-book, then the lede, the PDF and the
   feature list. Without the script only the cover shows, as a still, and the quiet button opens the booklet page. */
.sc-l-brochure .sc-hero-book { padding-block: 18px 0; display: grid; gap: 0; }
.sc-hero-mast { display: grid; gap: 6px; padding-bottom: 18px; }
.sc-l-brochure.sc-page-home .sc-hero-mast h1 { font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.1rem); line-height: 1.12; max-width: 34ch; text-wrap: balance; }
.sc-hero-book .sc-hero-text { padding-top: 10px; gap: 14px; }
.sc-hero-book .sc-hero-text .sc-lede { max-width: 64ch; }
.sc-hero-book .sc-book:not(.is-flip) { padding-bottom: 8px; }
.sc-hero-book .sc-book:not(.is-flip) .sc-sheet:not(:first-child) { display: none; }
.sc-hero-book .sc-book:not(.is-flip) .sc-sheet { inline-size: min(100%, 440px); }
.sc-hero-book:has(.sc-book.is-flip) .sc-btn-flip { display: none; }
.sc-hero-book .sc-book.is-flip { padding-bottom: 6px; }
/* the book must sit inside the first screen: the status/sound bar moves under the stage, and the page height is taken
   from the room left under the masthead (about 340px of bar, header and masthead at 1440 × 900 → a 560px page) */
.sc-hero-book .sc-flip-bar { order: 1; }
.sc-hero-book .sc-flip-foot { order: 2; }
@media (min-width: 960px) { .sc-hero-book .sc-book.is-flip { --fp-h: min(calc(100dvh - 340px), calc((100vw - 200px) * 0.5 * var(--fp-inv))); } }
@media print { .sc-hero-book .sc-book, .sc-hero-book .sc-flip-bar, .sc-hero-book .sc-btn-flip { display: none !important; } }
.sc-l-brochure .sc-group-head { border-top: 2px solid var(--bro-gold); padding-top: 14px; }
.sc-l-brochure .sc-group-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.sc-l-brochure .sc-groups { gap: 56px; }
@media (max-width: 959px) {
  /* phones: the four budget tiers as a 2 × 2 grid, all visible (no horizontal scroller), as the datasheet layout does */
  .sc-l-brochure .sc-cats ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; overflow: visible; padding-bottom: 0; }
  .sc-l-brochure .sc-cats a { justify-content: center; gap: 4px 6px; padding: 8px 6px; white-space: normal; text-align: center; line-height: 1.2; font-size: 0.9rem; flex-wrap: wrap; }
  .sc-l-brochure .sc-cats .sc-cat-name { flex: none; }
}
/* sheets */
.sc-l-brochure .sc-page { font-size: max(10px, 2.5cqi); line-height: 1.45; }
.sc-l-brochure .sc-sheet { background: var(--sc-surface); }
.sc-l-brochure .sc-sheet-cover, .sc-l-brochure .sc-sheet-back { background: var(--bk-deep); color: #ffffff; }
.sc-l-brochure .sc-sheet-cover > .sc-page, .sc-l-brochure .sc-sheet-back > .sc-page { background: none; padding: 6cqi var(--bk-pad) 5cqi; gap: 3.2cqi; }
.sc-l-brochure .sc-sheet-head-plain { padding: 6cqi var(--bk-pad) 1cqi; }
.sc-l-brochure .sc-sheet-head-plain h2 { font-size: max(22px, 5.6cqi); }
.sc-l-brochure .sc-sheet-foot { font-size: max(8px, 1.9cqi); }
.sc-l-brochure .sc-cover-brand { font-size: max(20px, 5cqi); }
.sc-l-brochure .sc-cover-tag { font-size: max(10px, 2cqi); }
.sc-bro-top { display: flex; align-items: baseline; justify-content: space-between; gap: 3cqi; }
.sc-l-brochure .sc-sheet .sc-bro-cover-img { position: relative; margin-inline: calc(-1 * var(--bk-pad)); aspect-ratio: 16 / 9; background: var(--sc-stage); }
.sc-bro-cover-title { display: grid; gap: 1.4cqi; }
.sc-l-brochure .sc-bro-cover-title h2 { font-weight: 700; font-size: max(22px, 6.8cqi); line-height: 1.05; color: inherit; }
.sc-bro-cover-title p { font-size: max(11px, 2.4cqi); line-height: 1.4; max-inline-size: 72cqi; color: rgb(255 255 255 / 0.9); }
.sc-bro-tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 5cqi; font-size: max(10px, 2.2cqi); border-top: 0.3cqi solid var(--bro-gold); padding-top: 1.6cqi; }
.sc-bro-tiers li { display: flex; justify-content: space-between; gap: 2cqi; padding-block: 1.1cqi; border-bottom: 0.15cqi solid rgb(255 255 255 / 0.28); }
.sc-bro-tiers b { font-weight: 500; color: var(--bro-gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* contents */
.sc-bro-toc .sc-sheet-body { display: grid; align-content: start; gap: 2.6cqi; padding-top: 1cqi; }
.sc-bro-toc-tier h3 { display: flex; justify-content: space-between; gap: 2cqi; font-size: max(14px, 3cqi); border-bottom: 0.35cqi solid var(--bk-ink); padding-bottom: 0.7cqi; }
.sc-bro-toc-tier > p { font-size: max(10px, 2cqi); color: var(--bk-muted); margin-top: 0.5cqi; }
.sc-bro-toc-tier ol li a { display: grid; grid-template-columns: minmax(0, 1fr) auto 5cqi; gap: 2cqi; align-items: baseline; padding-block: 0.8cqi; border-bottom: 0.15cqi solid var(--bk-line); font-size: max(11px, 2.1cqi); }
.sc-bro-toc-price { font-variant-numeric: tabular-nums; color: var(--sc-accent); font-weight: 600; }
.sc-l-brochure .sc-toc-pg { font-size: inherit; font-weight: 700; color: var(--sc-accent); text-align: end; font-variant-numeric: tabular-nums; }
.sc-bro-toc-how a { display: flex; justify-content: space-between; gap: 2cqi; font-size: max(12px, 2.4cqi); font-weight: 600; border-top: 0.3cqi solid var(--bro-gold); padding-top: 1.8cqi; }
/* the photo page */
.sc-bro-photo .sc-page { padding: 0; }
.sc-l-brochure .sc-sheet .sc-bro-img { position: relative; flex: 1 1 0; min-block-size: 0; background: var(--sc-stage); }
.sc-l-brochure .sc-sheet .sc-bro-img img { object-fit: cover; }
.sc-bro-plate { display: grid; gap: 0.8cqi; padding: 3.6cqi var(--bk-pad) 2cqi; border-top: 0.4cqi solid var(--bro-gold); }
.sc-bro-tier { font-size: max(10px, 2.1cqi); color: var(--sc-accent); font-weight: 500; }
.sc-l-brochure .sc-bro-plate h2 { font-weight: 700; font-size: max(24px, 6.4cqi); line-height: 1.02; }
.sc-bro-short { font-size: max(12px, 2.4cqi); color: var(--bk-muted); }
.sc-bro-price { display: flex; align-items: baseline; gap: 1.6cqi; margin-top: 1cqi !important; }
.sc-bro-price bdi { font-family: var(--sc-font-display, inherit); font-size: max(26px, 6cqi); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; color: var(--bk-ink); }
.sc-bro-price span { font-size: max(10px, 2.1cqi); color: var(--bk-muted); }
/* the text page */
.sc-bro-text .sc-page { padding: 5cqi var(--bk-pad) 0; gap: 3cqi; }
.sc-bro-head { display: flex; justify-content: space-between; gap: 2cqi; font-size: max(10px, 2.1cqi); color: var(--sc-accent); border-bottom: 0.3cqi solid var(--bro-gold); padding-bottom: 1.2cqi; }
.sc-bro-sku { color: var(--bk-muted); }
.sc-bro-body { flex: 1 1 0; min-block-size: 0; display: flex; flex-direction: column; gap: 2.6cqi; }
.sc-bro-body > * { flex: none; }
.sc-l-brochure .sc-bro-body h3 { font-weight: 700; font-size: max(22px, 5cqi); line-height: 1.05; }
.sc-bro-desc { font-size: max(12px, 2.7cqi); line-height: 1.5; }
.sc-l-brochure .sc-bro-body h4 { font-size: max(11px, 2.1cqi); font-weight: 600; color: var(--sc-accent); border-bottom: 0.15cqi solid var(--bk-line); padding-bottom: 0.6cqi; font-family: inherit; margin: 0; }
.sc-bro-contents { display: grid; gap: 0.9cqi; font-size: max(12px, 2.6cqi); counter-reset: bro; }
.sc-bro-contents li { display: flex; gap: 1.6cqi; }
.sc-bro-contents li::before { counter-increment: bro; content: counter(bro); color: var(--bro-gold); font-weight: 700; min-inline-size: 2.6cqi; font-variant-numeric: tabular-nums; }
/* the facts: one row per fact, the label at the start and the value right after it (a value pushed to the far end of a
   two-column grid read as if the row ran left to right; owner, 2026-12-01) */
.sc-bro-facts { display: grid; font-size: max(11px, 2.3cqi); border-top: 0.15cqi solid var(--bk-line); }
.sc-bro-facts div { display: grid; grid-template-columns: 30cqi minmax(0, 1fr); gap: 2cqi; align-items: baseline; padding-block: 1.1cqi; border-bottom: 0.15cqi solid var(--bk-line); }
.sc-bro-facts dt { color: var(--bk-muted); }
.sc-bro-facts dd { margin: 0; font-weight: 500; color: var(--bk-ink); }
.sc-bro-price-s bdi { font-size: max(20px, 4.4cqi); }
.sc-bro-price-s { margin-top: auto !important; padding-top: 2cqi; }
.sc-bro-more { padding-block: 1cqi 2.4cqi; }
.sc-l-brochure .sc-sheet .sc-bro-more a { display: inline-flex; align-items: center; padding: 1.6cqi 3cqi; min-block-size: 44px; background: var(--sc-accent); color: var(--sc-accent-ink); border-radius: 0.8cqi; font-size: max(12px, 2.3cqi); font-weight: 600; }
/* how to order, back cover */
.sc-bro-how .sc-sheet-body { display: flex; flex-direction: column; gap: 4cqi; padding-top: 2cqi; }
.sc-bro-steps { display: grid; gap: 3.2cqi; }
.sc-bro-steps li { display: grid; grid-template-columns: 8cqi minmax(0, 1fr); gap: 2.6cqi; align-items: start; }
.sc-bro-step-n { display: grid; place-items: center; inline-size: 8cqi; block-size: 8cqi; border-radius: 50%; background: var(--sc-accent); color: var(--sc-accent-ink); font-family: var(--sc-font-display, inherit); font-size: 4cqi; font-weight: 700; }
.sc-bro-steps p { font-size: max(12px, 2.7cqi); line-height: 1.45; padding-top: 1.4cqi; }
.sc-bro-how-cta { margin-top: auto !important; display: grid; gap: 0.6cqi; font-size: max(10px, 2.2cqi); border-top: 0.3cqi solid var(--bro-gold); padding-top: 2cqi; padding-bottom: 1cqi; }
.sc-l-brochure .sc-back-brand { font-size: 12cqi; }
.sc-l-brochure .sc-back-tag { font-size: max(12px, 2.6cqi); }
.sc-l-brochure .sc-cover-cats { font-size: max(10px, 2.1cqi); }
.sc-l-brochure .sc-cover-note { font-size: max(8px, 1.9cqi); }

/* ==================================================================== flip-book viewer (capabilities.booklet.flip; flipbook.js)
   The sheets stay the server's; the script arranges them in a stage (the cover alone, then spreads 1–2, 3–4 on wide
   screens, one sheet on narrow ones) and turns a leaf over the spine. The book is physical geometry, so the 3D parts use
   left/right on purpose; everything else is logical. Motion is transform and opacity only. Print resets it to the
   stacked sheets. */
.sc-book.is-flip { --fp-inv: 1.4142; --fp-w: min(calc(100vw - 32px), 440px); --fp-h: calc(var(--fp-w) * var(--fp-inv)); --fp-turn: 720ms; display: grid; gap: 14px; justify-items: center; padding: 0 12px 40px; }
@media (min-width: 960px) { .sc-book.is-flip { --fp-h: min(calc(100dvh - 190px), calc((100vw - 200px) * 0.5 * var(--fp-inv))); --fp-w: calc(var(--fp-h) / var(--fp-inv)); } }
.sc-flip-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; inline-size: min(100%, calc(var(--fp-w) * 2 + 128px)); }
.sc-flip-status { margin: 0; color: var(--sc-muted); font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.sc-flip-sound { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding-inline: 12px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-s); background: var(--sc-surface); color: var(--sc-ink); font: inherit; font-size: 0.92rem; cursor: pointer; }
.sc-flip-sound[aria-pressed="false"] { color: var(--sc-muted); }
.sc-flip-wrap { display: grid; grid-template-columns: auto auto auto; grid-template-areas: "prev book next"; align-items: center; justify-content: center; gap: 16px; inline-size: 100%; }
.sc-flip-prev { grid-area: prev; }
.sc-flip-next { grid-area: next; }
.sc-flip-nav { display: grid; place-items: center; inline-size: 48px; block-size: 48px; padding: 0; border-radius: 50%; border: 1px solid var(--sc-line); background: var(--sc-surface); color: var(--sc-ink); cursor: pointer; transition: background-color 150ms ease-out; }
.sc-flip-nav:hover:not(:disabled) { background: var(--sc-stage); }
.sc-flip-nav:disabled { opacity: 0.35; cursor: default; }
.sc-flip-stage { grid-area: book; position: relative; inline-size: var(--fp-w); block-size: var(--fp-h); perspective: 1800px; box-shadow: 0 14px 44px rgb(var(--sc-ink-rgb) / 0.35); background: var(--sc-surface); }
.sc-flip-stage.is-spread { inline-size: calc(var(--fp-w) * 2); perspective: 3600px; }
.sc-flip-stage.is-fade { animation: sc-flip-arrive 240ms ease-out; }
@keyframes sc-flip-arrive { from { opacity: 0.5; } }
.sc-book.is-flip .sc-sheet { position: absolute; top: 0; inline-size: var(--fp-w); max-inline-size: none; block-size: var(--fp-h); aspect-ratio: auto; box-shadow: none; margin: 0; }
.sc-book.is-flip .sc-sheet.is-r { right: 0; }
.sc-book.is-flip .sc-sheet.is-l { left: 0; }
.sc-book.is-flip .sc-sheet.is-off { display: none; }
.sc-book.is-flip .sc-sheet.is-face { position: static; }
.sc-flip-stage.is-spread .sc-sheet { cursor: pointer; }
.sc-flip-spine { display: none; position: absolute; inset-block: 0; left: calc(50% - 20px); inline-size: 40px; background: linear-gradient(90deg, transparent, rgb(0 0 0 / 0.18) 50%, transparent); pointer-events: none; z-index: 2; }
.sc-flip-stage.is-spread .sc-flip-spine { display: block; }
.sc-flip-leaf { position: absolute; top: 0; inline-size: var(--fp-w); block-size: var(--fp-h); transform-style: preserve-3d; will-change: transform; z-index: 3; }
.sc-flip-leaf.is-next { left: 0; transform-origin: right center; animation: sc-flip-next var(--fp-turn) cubic-bezier(0.42, 0.05, 0.28, 1) forwards; }
.sc-flip-leaf.is-prev { right: 0; transform-origin: left center; animation: sc-flip-prev var(--fp-turn) cubic-bezier(0.42, 0.05, 0.28, 1) forwards; }
.sc-flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: var(--sc-surface); }
.sc-flip-face.is-back { transform: rotateY(180deg); }
.sc-flip-face::after { content: ""; position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.sc-flip-face.is-front::after { animation: sc-flip-shade-out var(--fp-turn) ease-in forwards; }
.sc-flip-face.is-back::after { animation: sc-flip-shade-in var(--fp-turn) ease-out forwards; }
@keyframes sc-flip-next { to { transform: rotateY(180deg); } }
@keyframes sc-flip-prev { to { transform: rotateY(-180deg); } }
@keyframes sc-flip-shade-out { to { opacity: 0.45; } }
@keyframes sc-flip-shade-in { from { opacity: 0.45; } to { opacity: 0; } }
.sc-flip-swing { position: absolute; inset: 0; transform-origin: right center; will-change: transform, opacity; z-index: 3; background: var(--sc-surface); }
.sc-flip-swing.is-next { animation: sc-flip-swing-out calc(var(--fp-turn) * 0.8) cubic-bezier(0.42, 0.05, 0.28, 1) forwards; }
.sc-flip-swing.is-prev { animation: sc-flip-swing-in calc(var(--fp-turn) * 0.8) cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
@keyframes sc-flip-swing-out { to { transform: rotateY(95deg); opacity: 0.1; } }
@keyframes sc-flip-swing-in { from { transform: rotateY(95deg); opacity: 0.1; } }
.sc-flip-foot { display: grid; gap: 12px; justify-items: center; inline-size: 100%; }
.sc-flip-scrub { inline-size: min(100%, 38rem); }
.sc-flip-scrub input { inline-size: 100%; accent-color: var(--sc-accent); cursor: pointer; }
.sc-flip-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sc-flip-chip { min-height: 36px; padding-inline: 12px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-s); background: transparent; color: var(--sc-ink); font: inherit; font-size: 0.9rem; cursor: pointer; }
.sc-flip-chip[aria-current="true"] { background: var(--sc-accent); color: var(--sc-accent-ink); border-color: var(--sc-accent); }
.sc-flip-hint { margin: 0; color: var(--sc-muted); font-size: 0.82rem; text-align: center; }
@media (max-width: 599px) {
  .sc-flip-wrap { grid-template-columns: 1fr 1fr; grid-template-areas: "book book" "prev next"; gap: 12px; }
  .sc-flip-prev { justify-self: start; }
  .sc-flip-next { justify-self: end; }
}
@media print {
  .sc-flip-bar, .sc-flip-nav, .sc-flip-foot, .sc-flip-spine { display: none !important; }
  .sc-book.is-flip { display: block; padding: 0; justify-items: stretch; } /* Chromium keeps the grid's centring on the block: the wrap would shrink to 0 */
  .sc-flip-wrap, .sc-flip-stage { display: block; inline-size: 100%; block-size: auto; box-shadow: none; perspective: none; }
  .sc-book.is-flip .sc-sheet, .sc-book.is-flip .sc-sheet.is-off, .sc-book.is-flip .sc-sheet.is-face { position: static; display: block; inline-size: 100%; max-inline-size: 210mm; block-size: auto; aspect-ratio: 210 / 297; break-after: page; page-break-after: always; }
}
/* narrow sheets (a phone page, about 358px): the text page keeps its floors by going denser, not smaller: the contents in
   two columns, tighter gaps. The sheet is the container (inline-size), so this follows the page, not the viewport. */
@container (max-width: 420px) {
  .sc-bro-text .sc-page { padding-top: 4cqi; gap: 2cqi; }
  .sc-bro-body { gap: 1.8cqi; }
  .sc-bro-desc { font-size: 11px; line-height: 1.4; }
  .sc-bro-contents { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5cqi 3cqi; font-size: 11px; }
  .sc-bro-facts { font-size: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3cqi; }
  .sc-bro-facts div { grid-template-columns: auto minmax(0, 1fr); gap: 1.2cqi; padding-block: 0.6cqi; }
  .sc-bro-price-s { padding-top: 1cqi; }
  .sc-bro-price-s bdi { font-size: 18px; }
  .sc-bro-more { padding-block: 0.8cqi 1.6cqi; }
  .sc-l-brochure .sc-sheet .sc-bro-more a { min-block-size: 36px; padding: 1.2cqi 2.6cqi; font-size: 11px; }
  .sc-bro-steps p { font-size: 11px; }
}
.sc-l-brochure .sc-sheet-n { font-size: max(9px, 1.6cqi); }
/* Hallmark render audit 2026-12-01: the filter select's edge was 1.49:1 on the linen; four packages a tier, so four columns from 1100px (no orphan row) */
.sc-l-brochure .sc-filters select, .sc-l-brochure .sc-filters input, .sc-l-brochure .sc-search input { border-color: #8f8674; }
@media (min-width: 1100px) { .sc-l-brochure .sc-group .sc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container (max-width: 420px) {
  /* the contents page on a phone: no tier descriptions, tighter lines; the footer drops the address (the PDF keeps it) */
  .sc-bro-toc .sc-sheet-body { gap: 1.8cqi; }
  .sc-bro-toc-tier h3 { font-size: 12px; padding-bottom: 0.4cqi; }
  .sc-bro-toc-tier > p { display: none; }
  .sc-bro-toc-tier ol li a { font-size: 10px; padding-block: 0.45cqi; }
  .sc-bro-toc-how a { font-size: 11px; padding-top: 1.2cqi; }
  .sc-l-brochure .sc-sheet-head-plain { padding-top: 4.5cqi; }
  .sc-l-brochure .sc-sheet-foot bdi { display: none; }
  .sc-l-brochure .sc-sheet-foot { padding-block: 1.6cqi 2.4cqi; }
}
