/* ShawWow on CutPile Core (1.152.0).
   A reference, set like a specification sheet: paper and ink, one blueprint blue for what can be clicked, IBM Plex in three
   cuts (condensed for names, sans for reading, mono for the numbers a person orders by). The floor photographs carry the color;
   the page around them stays quiet. Light and dark from the system setting. */

:root {
  --paper: #f4f2ed;
  --card: #ffffff;
  --ink: #181a1c;
  --dim: #5d6368;
  --faint: #6a7075;
  --rule: #dcd7cc;
  --rule-2: #e9e5dc;
  --blue: #1f4e8c;
  --blue-soft: #e6edf7;
  --on-blue: #ffffff;
  --shadow: 0 1px 2px rgba(24, 26, 28, .06), 0 8px 24px rgba(24, 26, 28, .06);
  --cond: 'IBM Plex Sans Condensed', 'Arial Narrow', Arial, sans-serif;
  --sans: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  color-scheme: light dark;
}
/* light and dark (1.155.0, Jon: a switch in the header): the system decides until a person chooses; a choice is kept in this
   browser and set before the page draws */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #131518;
    --card: #1b1e22;
    --ink: #eceae5;
    --dim: #a3a9ae;
    --faint: #7c8388;
    --rule: #2e3338;
    --rule-2: #24282c;
    --blue: #8fb3ea;
    --blue-soft: #1d2a3d;
    --on-blue: #0f1622;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}
:root[data-theme="dark"] {
  --paper: #131518;
  --card: #1b1e22;
  --ink: #eceae5;
  --dim: #a3a9ae;
  --faint: #7c8388;
  --rule: #2e3338;
  --rule-2: #24282c;
  --blue: #8fb3ea;
  --blue-soft: #1d2a3d;
  --on-blue: #0f1622;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15.5px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-underline-offset: 3px; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.code { font: 500 .82em/1 var(--mono); color: var(--dim); letter-spacing: .01em; }

/* ------------------------------------------------------------------ the top */
.top { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.top-in { max-width: 1240px; margin: 0 auto; padding: 12px 20px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px 24px; }
.mark { font: 400 24px/1 var(--cond); letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.mark b { font-weight: 700; }
.find { display: flex; max-width: 460px; width: 100%; justify-self: center; border: 1px solid var(--rule); border-radius: 8px; background: var(--card); }
.find:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.find input { flex: 1; min-width: 0; height: 40px; border: 0; background: none; padding: 0 12px; font: 400 15px var(--sans); color: var(--ink); outline: none; }
.find button { width: 42px; border: 0; background: none; color: var(--dim); cursor: pointer; }
.find svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.top-end { display: flex; align-items: center; gap: 18px; justify-self: end; min-width: 0; }
.theme-btn { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); color: var(--ink); cursor: pointer; }
.theme-btn:hover { border-color: var(--blue); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; } :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; } }
.brands { display: flex; gap: 16px; min-width: 0; }
.brands a { color: var(--dim); text-decoration: none; font: 500 14.5px/1 var(--cond); white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.brands a:hover { color: var(--ink); }
.brands a[aria-current] { color: var(--ink); border-bottom-color: var(--blue); }

main { max-width: 1240px; margin: 0 auto; padding: 0 20px 56px; }

/* ------------------------------------------------------------------ the catalog */
.intro { padding: 36px 0 18px; max-width: 760px; }
.intro .kicker { margin: 0 0 4px; font: 500 12.5px/1 var(--mono); color: var(--faint); letter-spacing: .04em; text-transform: uppercase; }
.intro h1 { margin: 0 0 10px; font: 700 clamp(30px, 4.4vw, 46px)/1.04 var(--cond); letter-spacing: -.015em; text-wrap: balance; }
.intro p { margin: 0; color: var(--dim); font-size: 16.5px; max-width: 64ch; }
.intro .gone { margin-top: 14px; padding: 10px 14px; border-radius: 8px; background: var(--blue-soft); color: var(--ink); font-size: 14.5px; }

.hits { margin: 8px 0 22px; }
.hits h2, .floor h2 { margin: 0 0 12px; font: 600 13px/1.2 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.hit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.hit-list a { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); text-decoration: none; color: var(--ink); }
.hit-list a:hover { border-color: var(--blue); }
.hit-list b { display: block; font: 600 16px/1.2 var(--cond); }
.hit-list small { display: block; color: var(--dim); font-size: 12.5px; }
.hit-list .code, .of .code { white-space: nowrap; }

.filters { display: grid; gap: 12px; padding: 14px 0 18px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 22px; }
.f-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.pill { display: inline-block; padding: 7px 13px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font: 500 14px/1.1 var(--sans); }
.pill:hover { border-color: var(--blue); }
.pill[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.f-more label { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--dim); }
.f-more select { height: 36px; padding: 0 30px 0 10px; border: 1px solid var(--rule); border-radius: 8px; background: var(--card); color: var(--ink); font: 400 14px var(--sans); appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 15px) 16px, calc(100% - 10px) 16px; background-size: 5px 5px; background-repeat: no-repeat; }
.f-more .check { gap: 6px; color: var(--ink); cursor: pointer; }
.f-more .check input { width: 17px; height: 17px; accent-color: var(--blue); margin: 0; }
.f-more button { height: 36px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--blue); color: var(--on-blue); font-weight: 600; }
.count { margin: 0 0 0 auto; font: 500 13px/1 var(--mono); color: var(--dim); }
.none { padding: 30px 0; color: var(--dim); }
.pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: 34px; font: 500 13px/1 var(--mono); color: var(--faint); }
.pages .next { background: var(--blue); border-color: var(--blue); color: var(--on-blue); font-family: var(--sans); }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 26px 20px; }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-pic { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--rule-2); }
.card-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.card:hover .card-pic img { transform: scale(1.025); }
.card-body { padding: 10px 2px 0; }
.eyebrow { margin: 0; font: 500 12px/1.3 var(--mono); color: var(--faint); letter-spacing: .01em; }
.eyebrow span { color: var(--faint); margin-left: 6px; }
.eyebrow a { color: var(--dim); text-decoration: none; }
.card h3 { margin: 3px 0 2px; font: 600 19px/1.2 var(--cond); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--blue); }
.card-type { margin: 0; font-size: 13.5px; color: var(--dim); }
.card-colors { display: flex; justify-content: space-between; gap: 8px; margin: 8px 0 6px; font-size: 13px; }
.card-color { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-colors .n { color: var(--faint); white-space: nowrap; font-family: var(--mono); font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips a { display: block; line-height: 0; border-radius: 6px; }
.chips a:hover .sw, .chips a:focus-visible .sw { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--blue); }
.chips .more { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 6px; border: 1px solid var(--rule); font: 500 11px/1 var(--mono); color: var(--dim); text-decoration: none; }
.sw { display: block; position: relative; overflow: hidden; width: 25px; height: 25px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.sw img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sw.big { width: 48px; height: 48px; flex: none; border-radius: 8px; }

/* ------------------------------------------------------------------ a floor */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 14px; font-size: 13.5px; color: var(--faint); }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); }

.floor { display: grid; gap: 28px; }
/* the photo stays in view only beside its own facts: the sticky column is bounded by the top block, never over the specs */
.floor-top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px 40px; align-items: start; }
.view { position: sticky; top: 82px; }
.photo { margin: 0; border-radius: 12px; overflow: hidden; background: var(--rule-2); box-shadow: var(--shadow); }
.photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: var(--card); font-size: 14px; }
.photo video { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #000; }
#picWhat { color: var(--dim); font-size: 13px; }
#picName { font-weight: 600; }
.gallery { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding: 2px 2px 6px; }
.gallery button { position: relative; flex: none; width: 92px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--dim); font: 400 12px/1.25 var(--sans); }
.gallery img { display: block; width: 92px; height: 62px; object-fit: cover; border-radius: 6px; background: var(--rule-2); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.gallery span { display: block; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gallery button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.gallery button[aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--blue); }
.gallery .play { position: absolute; left: 34px; top: 19px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0, 0, 0, .55); }
.gallery .play::after { content: ""; position: absolute; left: 9px; top: 6px; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

.facts h1 { margin: 6px 0 4px; font: 700 clamp(30px, 3.6vw, 42px)/1.04 var(--cond); letter-spacing: -.015em; text-wrap: balance; }
.facts .of { margin: 0; font-size: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.facts .of a { color: var(--ink); font-weight: 500; }
.facts .what { margin: 10px 0 0; color: var(--dim); }
.colors { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.colors-h { margin: 0 0 10px; font: 600 13px/1.2 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.colors-h span { text-transform: none; letter-spacing: 0; font: 500 14px/1 var(--sans); color: var(--ink); margin-left: 8px; }
.chip-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 12px 10px; }
.chip-grid a { display: grid; gap: 5px; text-decoration: none; color: var(--dim); font-size: 12px; line-height: 1.25; }
.chip-grid .sw { width: 100%; height: auto; aspect-ratio: 1; border-radius: 8px; }
.chip-grid span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chip-grid a:hover { color: var(--ink); }
.chip-grid a[aria-current] { color: var(--ink); font-weight: 600; }
.chip-grid a[aria-current] .sw { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--blue); }
.sample { margin-top: 22px; display: grid; gap: 6px; }
.sample button { height: 48px; border: 0; border-radius: 10px; background: var(--blue); color: var(--on-blue); font: 600 15.5px var(--sans); }
.sample button:disabled { cursor: not-allowed; }
.sample.off button { background: none; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.sample p { margin: 0; font-size: 13px; color: var(--faint); }

.spec, .trims, .also, .extras, .near { padding-top: 22px; border-top: 1px solid var(--rule); }
.also ul { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 32px; }
.also li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--rule-2); font-size: 14px; }
.spec dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 32px; }
.spec dl div { display: grid; grid-template-columns: 128px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule-2); }
.spec dt { color: var(--dim); font-size: 13.5px; }
.spec dd { margin: 0; font-size: 15px; }
.about { margin: 16px 0 0; max-width: 68ch; color: var(--dim); }
/* trims in 3D (1.154.0): a model a person turns above, each card the same model with its section drawing as a callout */
.trims-lede { margin: -4px 0 14px; color: var(--dim); max-width: 62ch; }
.trims { min-width: 0; }
.trim-view { min-width: 0; max-width: 100%; margin: 0 0 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); overflow: hidden; }
.trim-sides { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 12px 14px; border-bottom: 1px solid var(--rule-2); }
.trim-sides span { margin-right: 4px; font: 600 12.5px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.trim-sides button, .trim-ways button { height: 32px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); color: var(--ink); font: 500 13.5px var(--sans); cursor: pointer; }
.trim-sides button:hover, .trim-ways button:hover { border-color: var(--blue); }
.trim-sides button[aria-pressed="true"], .trim-ways button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.trim-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.trim-section { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 14px; border-left: 1px solid var(--rule-2); }
.trim-section small { color: var(--faint); font-size: 12.5px; line-height: 1.45; }
.trim-section p { margin: 0; font: 600 12.5px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.trim-section div { position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--rule-2); border-radius: 6px; overflow: hidden; background: var(--card); }
.trim-section svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.trim-section .hi { stroke: var(--blue); stroke-width: 2px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.trim-section .ctx { stroke: rgba(24, 26, 28, .22); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.trim-section .lead, .trim-section .dim { fill: none; stroke: var(--ink); stroke-width: 1px; opacity: .7; vector-effect: non-scaling-stroke; }
.trim-section .pin { fill: var(--ink); }
.trim-section .lab { fill: var(--ink); stroke: var(--card); paint-order: stroke; font-family: var(--mono); font-weight: 500; }
.trim-ways { display: inline-flex; gap: 6px; }
.trim-ways button { display: inline-flex; align-items: center; gap: 6px; height: 28px; font-size: 13px; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(24, 26, 28, .25); vertical-align: -1px; margin-right: 5px; }
.trim-ways .sw { margin-right: 0; }
.sw-nickel { background: linear-gradient(135deg, #d6d1c6, #9e978a); }
.sw-silver { background: linear-gradient(135deg, #eef0f2, #b4b8bc); }
.sw-bronze { background: linear-gradient(135deg, #7a6248, #3f3022); }
.trims .way { font-size: 13px; color: var(--dim); }
.trim-stage { width: 100%; aspect-ratio: 16 / 9; max-height: 540px; touch-action: pan-y; cursor: grab; }
.trim-stage:active { cursor: grabbing; }
.trim-stage canvas { display: block; outline: none; }
.trim-stage canvas:focus-visible { outline: 2px solid var(--blue); outline-offset: -3px; }
.trim-view figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 14px 12px; border-top: 1px solid var(--rule-2); }
.trim-view figcaption b { font: 600 17px/1.2 var(--cond); }
.trim-view #trimWhere { color: var(--dim); font-size: 14px; }
.trim-view .hint { margin-left: auto; color: var(--faint); font: 500 12px/1.4 var(--mono); }
.trims ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.trims li button { display: grid; gap: 3px; align-content: start; width: 100%; height: 100%; padding: 10px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; text-align: left; cursor: default; }
.trims.live li button { cursor: pointer; }
.trims.live li button:hover { border-color: var(--blue); }
.trims.live li button[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-soft); }
.tpic { position: relative; display: block; aspect-ratio: 16 / 10; margin-bottom: 6px; border: 1px solid var(--rule-2); border-radius: 6px; overflow: hidden; background: var(--card); }
.tpic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tpic .hi { stroke: var(--blue); stroke-width: 1.5px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.tpic .ctx { stroke: rgba(24, 26, 28, .22); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.tpic .t3d { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.has3d .tpic svg { display: none; }
.trims b { font: 600 15px/1.25 var(--cond); }
.trims small { color: var(--faint); font-size: 12px; }
.fine { margin: 12px 0 0; color: var(--faint); font-size: 13px; }
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px 40px; }
.extras ul { list-style: none; margin: 0; padding: 0; }
.extras li { display: grid; grid-template-columns: 110px 1fr auto; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rule-2); align-items: baseline; }
.extras li > span:first-child { color: var(--dim); font-size: 13.5px; }

/* ------------------------------------------------------------------ the foot */
.foot { border-top: 1px solid var(--rule); max-width: 1240px; margin: 0 auto; padding: 22px 20px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: var(--faint); font-size: 13px; }
.foot p { margin: 0; max-width: 70ch; }
.powered { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); text-decoration: none; }
.powered img { width: 16px; height: 16px; border-radius: 3px; }
.powered span { color: var(--ink); font-weight: 600; }
.powered b { color: #b5622b; }

@media (max-width: 900px) {
  .top-in { grid-template-columns: auto 1fr; }
  .find { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .brands { gap: 12px; overflow-x: auto; scrollbar-width: none; }
  .floor-top { grid-template-columns: minmax(0, 1fr); }   /* minmax: a plain 1fr track grows to the gallery strip and the page runs off the screen */
  .view { position: static; }
  .top { position: static; }
}
@media (max-width: 560px) {
  main { padding: 0 16px 44px; }
  .top-in { padding: 10px 16px; grid-template-columns: 1fr; }
  .top-end { display: contents; }
  .mark { grid-row: 1; grid-column: 1; justify-self: start; align-self: center; }
  .theme-btn { grid-row: 1; grid-column: 1; justify-self: end; }
  .brands { justify-self: start; grid-row: 3; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .card h3 { font-size: 16.5px; }
  .card-type { font-size: 12.5px; }
  .chips .sw, .chips .more { width: 22px; height: 22px; }
  .chips a:nth-child(n+6):not(.more) { display: none; }
  .spec dl div { grid-template-columns: 110px 1fr; }
  .extras li { grid-template-columns: 96px 1fr; }
  .extras li .code { grid-column: 2; }
  .count { width: 100%; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .card-pic img { transition: none; } }

/* ------------------------------------------------------------------ 1.153.0: ways to see a floor */
.intro-2 { padding-top: 0; }
.ribbon { position: relative; display: block; height: 92px; margin: 6px 0 22px; border-radius: 12px; overflow: hidden; text-decoration: none; box-shadow: var(--shadow); }
.ribbon span { position: absolute; left: 16px; bottom: 12px; padding: 7px 12px; border-radius: 8px; background: rgba(255, 255, 255, .9); color: #181a1c; font: 500 13px/1.2 var(--mono); }
.ribbon b { margin-left: 8px; font: 600 14px/1 var(--sans); color: #1f4e8c; }
.ribbon:hover b { text-decoration: underline; }
.tools { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.tools a { display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; height: 100%; padding: 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); text-decoration: none; color: var(--ink); }
.tools a:hover { border-color: var(--blue); }
.tools i { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 10px; background: var(--blue-soft); position: relative; }
.tools i::after { content: ""; position: absolute; inset: 11px; border: 2px solid var(--blue); border-radius: 4px; }
.tools .t-find::after { border-radius: 50%; inset: 12px 14px 14px 12px; box-shadow: 9px 9px 0 -7px var(--blue); }
.tools .t-wall::after { inset: 10px; border: 0; background: linear-gradient(90deg, #efe3cf 0 25%, #c9a97f 25% 50%, #8a6a4b 50% 75%, #3d2e22 75%); border-radius: 3px; }
.tools .t-line::after { inset: 9px 11px; border: 0; background: repeating-linear-gradient(90deg, var(--blue) 0 4px, transparent 4px 8px); border-radius: 0; }
.tools .t-real::after { inset: 18px 8px; height: 8px; border: 0; border-top: 2px solid var(--blue); background: repeating-linear-gradient(90deg, var(--blue) 0 1.5px, transparent 1.5px 5px) top / 100% 6px no-repeat; border-radius: 0; }
.tools b { font: 600 17px/1.2 var(--cond); }
.tools span { font-size: 13.5px; color: var(--dim); line-height: 1.4; }

/* the wall */
.wall-f { margin-bottom: 8px; }
.bands { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 0; background: var(--paper); border-bottom: 1px solid var(--rule); margin-bottom: 8px; }
.bands a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; font: 500 14px/1 var(--cond); }
.bands i { width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.bands span { font: 500 11.5px/1 var(--mono); color: var(--dim); }
.band { padding: 18px 0 8px; scroll-margin-top: 54px; }
.band h2 { margin: 0 0 10px; font: 700 22px/1 var(--cond); }
.band h2 span { font: 500 12px/1 var(--mono); color: var(--dim); margin-left: 8px; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 3px; }
.tile { position: relative; display: block; aspect-ratio: 1; background: var(--c); overflow: hidden; border-radius: 3px; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.tile span { position: absolute; left: 50%; bottom: calc(100% + 6px); z-index: 3; transform: translate(-50%, 4px); opacity: 0; pointer-events: none; width: max-content; max-width: 220px;
  padding: 7px 10px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 12.5px; line-height: 1.3; box-shadow: var(--shadow); transition: opacity .15s, transform .15s; }
.tile span b { display: block; font: 600 14px/1.2 var(--cond); }
.tile span small { opacity: .75; }
.tile:hover, .tile:focus-visible { overflow: visible; z-index: 4; outline: none; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.35); box-shadow: 0 6px 20px rgba(0, 0, 0, .35); border-radius: 4px; }
.tile:hover span, .tile:focus-visible span { opacity: 1; transform: translate(-50%, 0); }
.tone-gray[aria-current] { background: #8b8a86; border-color: #8b8a86; }
.tone-rosy[aria-current] { background: #8a4b38; border-color: #8a4b38; }
.tone-honey[aria-current] { background: #a8743a; border-color: #a8743a; }
.tone-natural[aria-current] { background: #a99476; border-color: #a99476; }

/* find a floor from a photo */
.finder { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.find-drop { display: grid; place-items: center; gap: 4px; min-height: 260px; border: 2px dashed var(--rule); border-radius: 14px; background: var(--card); cursor: pointer; text-align: center; padding: 20px; }
.find-drop:hover { border-color: var(--blue); }
.find-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.find-drop b { font: 600 20px/1.2 var(--cond); color: var(--blue); }
.find-drop span { color: var(--dim); font-size: 14px; }
.find-drop.small { min-height: 0; padding: 10px; margin-bottom: 10px; grid-auto-flow: column; gap: 10px; }
.find-drop.small b { font-size: 15px; }
.find-canvas { position: relative; }
.find-canvas canvas { display: block; width: 100%; height: auto; border-radius: 12px; cursor: crosshair; box-shadow: var(--shadow); }
.find-dot { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .4); pointer-events: none; }
.find-tip { margin: 8px 0 0; color: var(--dim); font-size: 13.5px; }
.find-you { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); margin-bottom: 12px; }
.find-you i { width: 52px; height: 52px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.find-you b { display: block; font: 600 16px/1.2 var(--cond); }
.find-you small { color: var(--dim); }
.find-kinds { margin-bottom: 12px; }
.find-kinds .pill { cursor: pointer; }
.find-kinds .pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.find-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: n; }
.find-list a { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); text-decoration: none; color: var(--ink); }
.find-list a:hover { border-color: var(--blue); }
.find-list i { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; }
.find-list i img { width: 100%; height: 100%; object-fit: cover; display: block; }
.find-list b { display: block; font: 600 16px/1.2 var(--cond); }
.find-list small { display: block; color: var(--dim); font-size: 12.5px; }
.find-list em { font: 500 12px/1.2 var(--mono); font-style: normal; color: var(--blue); text-align: right; max-width: 110px; }
.find-list .wait { color: var(--dim); }

/* real size */
.real { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #ddd; }
.real-floor { position: absolute; inset: 0; background-repeat: repeat; background-position: center; }
.ruler { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; --inch: 96px;
  background: linear-gradient(rgba(255, 255, 255, .88), rgba(255, 255, 255, .88)),
              repeating-linear-gradient(90deg, #181a1c 0 1.5px, transparent 1.5px var(--inch)); background-size: 100% 100%, 100% 14px; background-repeat: no-repeat; background-position: 0 0, 0 0; }
.ruler { background: repeating-linear-gradient(90deg, #181a1c 0 1.5px, transparent 1.5px var(--inch)) 14px 0 / 100% 12px no-repeat, rgba(255, 255, 255, .9); }
.ruler::after { content: attr(data-say); position: absolute; left: 14px; bottom: 4px; font: 500 11px/1 var(--mono); color: #181a1c; }
.cal-open { position: absolute; right: 10px; top: 10px; padding: 7px 11px; border: 0; border-radius: 999px; background: rgba(24, 26, 28, .78); color: #fff; font: 500 12.5px var(--sans); cursor: pointer; }
.cal { border: 0; border-radius: 16px; padding: 22px; max-width: min(960px, calc(100vw - 24px)); background: var(--card); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.cal::backdrop { background: rgba(10, 12, 14, .55); }
.cal h2 { margin: 0 0 6px; font: 700 24px/1.1 var(--cond); }
.cal p { margin: 0 0 14px; color: var(--dim); }
.cal-card { margin: 10px 0 16px; border: 2px solid var(--blue); border-radius: 12px; background: repeating-linear-gradient(45deg, var(--blue-soft) 0 8px, transparent 8px 16px); max-width: 100%; }
.cal-slide input { width: 100%; accent-color: var(--blue); }
.cal-actions { display: flex; gap: 10px; margin-top: 14px !important; }
.cal-actions button { height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--blue); color: var(--on-blue); font: 600 15px var(--sans); cursor: pointer; }
.cal-actions .quiet { background: none; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }

/* the line-up */
.lineup-add { margin-top: 10px; width: 100%; height: 42px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); color: var(--ink); font: 500 14.5px var(--sans); cursor: pointer; }
.lineup-add[aria-pressed="true"] { border-color: var(--blue); color: var(--blue); }
.lineup-add[aria-pressed="true"]::before { content: "\2713  "; }
.lineup-add:disabled { color: var(--faint); cursor: default; }
.tray { position: fixed; right: 18px; bottom: 18px; z-index: 20; }
.tray a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font-size: 14px; }
.tray #trayChips { display: flex; }
.tray #trayChips i { width: 18px; height: 18px; border-radius: 50%; margin-left: -5px; box-shadow: 0 0 0 2px var(--ink); }
.tray #trayChips i:first-child { margin-left: 0; }
.tray #trayN { font: 500 12px/1 var(--mono); opacity: .7; }
.lineup { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 14px; }
.plank { margin: 0; display: grid; gap: 10px; }
.plank-floor { height: min(68vh, 620px); border-radius: 10px; background-repeat: repeat; background-position: center top; box-shadow: var(--shadow); }
.plank figcaption { display: grid; gap: 2px; }
.plank figcaption a { color: var(--ink); text-decoration: none; }
.plank figcaption b { font: 700 20px/1.15 var(--cond); }
.plank figcaption span { font-size: 14px; }
.plank figcaption small { color: var(--dim); font-size: 13px; }
.plank .drop { justify-self: start; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--blue); font: 500 13px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lineup-note { margin-top: 14px; }

/* close in color */
.near ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 14px; }
.near a { display: grid; gap: 3px; text-decoration: none; color: var(--ink); }
.near .sw { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 8px; margin-bottom: 4px; }
.near b { font: 600 15px/1.2 var(--cond); }
.near small { color: var(--dim); font-size: 12.5px; line-height: 1.3; }
.near a:hover b { color: var(--blue); }
.foot-tools { display: flex; flex-wrap: wrap; gap: 6px 18px; width: 100%; }
.foot-tools a { color: var(--dim); text-decoration: none; font-size: 13.5px; }
.foot-tools a:hover { color: var(--blue); }

@media (max-width: 900px) {
  .finder { grid-template-columns: minmax(0, 1fr); }
  .lineup { grid-template-columns: repeat(min(var(--n), 2), minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .wall { grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 2px; }
  .tile span { display: none; }
  .ribbon { height: 70px; }
  .ribbon span { left: 10px; bottom: 8px; font-size: 11.5px; }
  .tray { right: 12px; bottom: 12px; }
  .tray a { padding: 8px 12px; font-size: 13px; }
  .plank-floor { height: 52vh; }
}
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } }

/* stand on it: the floor in perspective, a room 12 feet wide at its front edge */
.stage3d { position: relative; aspect-ratio: 3 / 2; overflow: hidden; perspective: 900px; perspective-origin: 50% 0%; background: linear-gradient(#f1ede6, #e2dbcf); }
.stage-floor { position: absolute; left: -45%; width: 190%; bottom: -4%; height: 190%; transform-origin: 50% 100%; transform: rotateX(52deg);
  background-repeat: repeat; background-position: 50% 0; }
.stage-floor::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.6%; background: linear-gradient(#fbfaf7, #ebe7e0); box-shadow: 0 2px 3px rgba(0, 0, 0, .18); }
.stage-floor.walk { animation: sw-walk 48s linear infinite; }
@keyframes sw-walk { to { background-position: 50% var(--tileh, 600px); } }
.stage3d::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 80% at 78% 18%, rgba(255, 248, 232, .32), rgba(255, 248, 232, 0) 60%), linear-gradient(rgba(0, 0, 0, .22), rgba(0, 0, 0, 0) 32%), radial-gradient(140% 90% at 50% 120%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .16)); }

.stage-walk { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .6s ease; }
.stage3d.walking .stage-walk { opacity: 1; }
.stage3d.walking::after { display: none; }
.stage-say { position: absolute; left: 14px; top: 12px; z-index: 2; margin: 0; font: 500 11.5px/1 var(--mono); color: #5d6368; }
@media (prefers-reduced-motion: reduce) { .stage-floor.walk { animation: none; } }

.find-white { margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--dim); }
.find-white button { height: 34px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); color: var(--ink); font: 500 13.5px var(--sans); cursor: pointer; }
.find-white button[aria-pressed="true"] { border-color: var(--blue); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.find-dot.white { border-color: #1f4e8c; }

/* ------------------------------------------------------------------ 1.153.0 second pass */
.intro-home { padding: 0; }
.hero { position: relative; margin: 0 0 26px; }
.mosaic { position: relative; margin: 0; height: min(64vh, 560px); min-height: 380px; overflow: hidden; }
.mosaic canvas { display: block; width: 100%; height: 100%; cursor: pointer; }
.mosaic-tip { position: absolute; z-index: 3; margin: 0; padding: 7px 10px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 12.5px; line-height: 1.3; pointer-events: none; box-shadow: var(--shadow); white-space: nowrap; }
.mosaic-tip b { display: block; font: 600 14px/1.2 var(--cond); }
.hero-card { position: absolute; z-index: 2; left: max(20px, calc(50vw - 600px)); bottom: 34px; width: min(540px, calc(100% - 40px)); padding: 24px 26px 22px; border-radius: 16px;
  background: color-mix(in srgb, var(--paper) 93%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 60px rgba(0, 0, 0, .22); }
.hero-card h1 { margin: 0 0 10px; font: 700 clamp(30px, 4vw, 46px)/1.02 var(--cond); letter-spacing: -.015em; text-wrap: balance; }
.hero-card p { margin: 0; color: var(--dim); font-size: 15.5px; }
.hero-go { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px !important; }
.go { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 10px; background: var(--blue); color: var(--on-blue); text-decoration: none; font-weight: 600; }
.go.quiet { background: none; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }

.find-list li { position: relative; }
.find-list a { grid-template-columns: 34px 56px 1fr auto; padding-right: 10px; }
.find-list .pair { display: grid; grid-template-rows: 1fr 1fr; width: 34px; height: 56px; border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.find-list .pair span { display: block; }
.find-list .pic { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; }
.find-list em { max-width: none; white-space: nowrap; display: grid; justify-items: end; gap: 3px; }
.dots { letter-spacing: 1px; color: var(--blue); font-size: 11px; }
.dots span { color: var(--rule); }
.lay { display: block; margin: -2px 0 2px auto; padding: 6px 12px; border: 0; border-radius: 999px; background: none; color: var(--blue); font: 500 13px var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lay.on { text-decoration: none; font-weight: 600; }
.find-toggle { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 0; }
.find-toggle:empty { display: none; }
.find-toggle button { height: 34px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); color: var(--ink); font: 500 13.5px var(--sans); cursor: pointer; }
.find-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.find-toggle span { flex-basis: 100%; color: var(--faint); font-size: 12.5px; }

.real-card { position: absolute; right: 14px; bottom: 44px; width: calc(var(--inch, 96px) * 3.37); height: calc(var(--inch, 96px) * 2.125); border: 2px dashed rgba(24, 26, 28, .55); border-radius: 10px; background: rgba(255, 255, 255, .18); }
.real-card span { position: absolute; left: 8px; top: 6px; font: 500 11px/1 var(--mono); color: #181a1c; }
.gallery .v-stage img { transform: perspective(70px) rotateX(28deg) scale(1.15); }
.gallery .v-real { }
.gallery .v-real::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50px; height: 8px; background: repeating-linear-gradient(90deg, #181a1c 0 1px, transparent 1px 8px); opacity: .7; }
.gallery .v-stage, .gallery .v-real { overflow: visible; }
.gallery .v-stage img { transform-origin: 50% 100%; }

.planks { margin: 6px 0 26px; }
.planks h2, .lineup-h { margin: 0 0 12px; font: 600 13px/1.2 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.pk { margin: 0 0 14px; }
.pk-board { position: relative; overflow: hidden; width: calc(var(--l) / var(--maxl) * 100%); aspect-ratio: var(--l) / var(--w); border-radius: 3px; box-shadow: 0 1px 0 rgba(0, 0, 0, .15), 0 6px 14px rgba(0, 0, 0, .1); }
.pk-board.open { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.pk-tex { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(90deg); background-repeat: repeat; background-position: center; }
.pk p { margin: 6px 0 0; font-size: 14px; }
.pk b { font: 600 16px/1.2 var(--cond); }
.differs { overflow-x: auto; margin: 0 0 26px; }
.differs table { border-collapse: collapse; min-width: 100%; font-size: 14px; }
.differs th, .differs td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
.differs thead th { font: 600 15px/1.2 var(--cond); }
.differs tbody th { color: var(--dim); font-weight: 400; white-space: nowrap; }

@media (max-width: 560px) {
  .mosaic { height: 72vh; min-height: 0; }
  .hero-card { left: 12px; right: 12px; width: auto; bottom: 14px; padding: 16px 16px 14px; }
  .hero-card h1 { font-size: 28px; }
  .hero-card .more-words { display: none; }
  .hero-go .go { height: 40px; padding: 0 14px; font-size: 14.5px; }
  .hero-card p { font-size: 14px; }
  .gallery { flex-wrap: wrap; overflow: visible; }
  .gallery button { width: calc(25% - 6px); }
  .gallery img { width: 100%; }
  .wall-f .pill { padding: 6px 11px; font-size: 13.5px; }
  .find-list a { grid-template-columns: 26px 48px 1fr; }
  .find-list .pair { width: 26px; height: 48px; }
  .find-list .pic { width: 48px; height: 48px; }
  .find-list em { grid-column: 3; justify-items: start; }
}

/* ------------------------------------------------------------------ 1.153.0 third pass (the final judges) */
.photo { position: relative; }
.photo figcaption { position: absolute; z-index: 3; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .88); color: #181a1c; font-size: 12.5px; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.photo figcaption:empty, .photo figcaption span:empty { display: none; }
.photo figcaption:not(:has(span:not(:empty))) { display: none; }   /* nothing to say (the walk), no empty pill */
#picWhat { color: #444a4f; }
#picName:not(:empty)::before { content: " · "; color: #888; font-weight: 400; }
.sample.off button { color: var(--dim); box-shadow: inset 0 0 0 1.5px var(--rule); background: none; }
.mosaic-ring { position: absolute; z-index: 2; box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(24, 26, 28, .75); border-radius: 2px; pointer-events: none; }
.mosaic-tip a { display: inline-block; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 600; text-decoration: none; pointer-events: auto; }
@media (pointer: coarse) { .mosaic-tip { pointer-events: auto; } }
body.has-tray { padding-bottom: 76px; }
.find-list li { border: 1px solid var(--rule); border-radius: 10px; background: var(--card); }
.find-list a { border: 0; background: none; }
.find-list li:hover { border-color: var(--blue); }
.find-list li.chosen { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.find-list .lay { margin: -6px 10px 8px auto; }
.find-dir { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13.5px; color: var(--dim); }
.find-dir button { height: 32px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); color: var(--ink); font: 500 13px var(--sans); cursor: pointer; }
.find-dir button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 900px) {
  .trim-body { grid-template-columns: minmax(0, 1fr); }
  .trim-section { display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 4px 12px; border-left: 0; border-top: 1px solid var(--rule-2); }
  .trim-section div { grid-row: 1 / 3; }
  .trim-section p { margin: 0; }
}
@media (max-width: 560px) {
  .trims ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .trim-stage { aspect-ratio: 4 / 3; }
  .trim-sides { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .trim-sides::-webkit-scrollbar { display: none; }
  .trim-sides button { flex: none; }
  .trim-sides span { flex: none; }
  .trim-section { grid-template-columns: minmax(0, 1fr); }
  .trim-section div { grid-row: auto; }
  .trim-view .hint { margin-left: 0; flex-basis: 100%; }
}
