/* Room Studio. Builds on ../css/site.css: same limewash ground, Jost and Newsreader, brass hairlines and capped dowels.
   Everything here is prefixed st- so nothing leaks into the main page. */
/* The floor for type: a small capital label is never under --st-small (12 px), the label on a button never under --st-act
   (13 px), and anything else that is read never under --st-read (14 px). Gold is for small capital labels and accents only.
   Helper text is the muted warm gray (--muted). A warning is a tinted panel with a mark (batch 1, November 12, 2026). */
.studio { min-height: 100svh; display: flex; flex-direction: column; --hair: color-mix(in srgb, var(--ink) 12%, transparent); --st-top: 4rem; --st-small: .75rem; --st-act: .8125rem; --st-read: .875rem; --st-tile: color-mix(in srgb, #fff 62%, var(--paper)); }
.studio .eyebrow { font-size: var(--st-small); }
.studio main { flex: 1; }
.studio [hidden] { display: none !important; }
.st-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.studio h1[tabindex="-1"]:focus { outline: none; }

/* header */
.st-nav { display: flex; align-items: center; gap: var(--nav-gap); font-family: var(--display); font-size: .95rem; }
.st-nav a, .st-nav button { display: inline-flex; align-items: center; min-height: 2.75rem; font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .45em; white-space: nowrap; }
.st-nav a:hover, .st-nav button:hover, .st-nav [aria-current="page"] { text-decoration-color: var(--brass-line); }
.studio .top:not(.has-panel) .wrap { padding-block: .45rem; }
.studio .top:not(.has-panel) .mark { padding-block: .3rem; min-height: 2.75rem; align-content: center; }
/* On a phone, while the ideas scroll down, the header slides out of the way so there is more room to look. */
.studio .top { transition: background-color 1.4s, color 1.4s, border-color 1.4s, transform .3s; }
body[data-scroll="down"] .top:not(:focus-within) { transform: translateY(-101%); }

/* type */
.studio h1 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); line-height: 1.02; letter-spacing: -.024em; }
.studio h1 em { display: block; font-family: var(--text); font-style: italic; font-weight: 300; letter-spacing: -.02em; color: var(--brass); font-size: 1.04em; }
/* Much larger browser text on a phone: the page title shrinks to fit its longest word, so the page never scrolls sideways. */
@media (max-width: 19.9em) { .studio h1, .studio .st-result-head h1 { font-size: min(2.3rem, 11.5vw); overflow-wrap: break-word; } }
.studio h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.studio h2 em { font-family: var(--text); font-style: italic; font-weight: 300; color: var(--brass); }
/* The opening screen (November 12, 2026, Jeff). While the studio opens, its own first screen is already there: the heading
   and the photo step in the place they will be, with one quiet line where the button will come. It borrows the real
   steps' classes, so it measures the same and nothing moves when the studio takes over. */
.st-opening .st-step, .st-opening .st-step:last-child { border-bottom: 0; }
.st-opening .st-step-toggle { cursor: default; }
.st-opening .st-opening-free { visibility: hidden; }
.st-opening[data-arrive="back"] .st-opening-free { display: none; }
.st-opening-plate { cursor: default; }
/* A slow sheen, the same one a room has while it is being worked on. */
.st-opening-plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(242,236,224,.5) 50%, transparent 70%); background-size: 260% 100%; animation: st-sweep 3.4s ease-in-out infinite; pointer-events: none; }
.st-opening-say { display: flex; align-items: center; gap: .9rem; min-height: 2.9rem; margin: 0; padding: 0 1.4rem; font-family: var(--text); font-style: italic; font-size: 1.125rem; color: var(--muted); max-width: none; }
/* The capped dowel, the site's one recurring mark, drawing itself from one cap to the other. */
.st-opening-say .dowel { flex: none; width: 2.6rem; font-size: 0.75rem; }
.st-opening-say .dowel > i { transform-origin: left center; animation: st-draw 1.5s cubic-bezier(.45, 0, .25, 1) infinite alternate; }
@keyframes st-draw { from { transform: scaleX(.12); } to { transform: scaleX(1); } }
/* A room in progress is kept, or the address names a design or Your rooms: no photo step to show, so the panel stands
   alone, about the size of the picture that is coming. */
.st-opening:is([data-arrive="kept"], [data-arrive="room"]) .st-step { border-top: 0; }
.st-opening:is([data-arrive="kept"], [data-arrive="room"]) .st-step-head { display: none; }
.st-opening:is([data-arrive="kept"], [data-arrive="room"]) .st-step-body { padding-left: 0; padding-top: 0; }
.st-opening:is([data-arrive="kept"], [data-arrive="room"]) .st-opening-plate { max-width: none; min-height: clamp(14rem, 46svh, 26rem); border: 1px solid var(--hair); background: color-mix(in srgb, var(--paper-2) 55%, transparent); place-items: center; }
.st-opening[data-arrive="room"] .st-intro { display: none; }
.st-opening[data-arrive="room"] .st-steps { padding-top: clamp(2rem, 5vw, 4rem); }
@media (hover: none) and (pointer: coarse) {
  /* On a phone the photo step is only a button, so the line stands where the button will be, with no box and no sheen. */
  .st-opening:is([data-arrive="new"], [data-arrive="back"]) .st-opening-plate::after { content: none; }
  .st-opening:is([data-arrive="new"], [data-arrive="back"]) .st-opening-say { padding: 0; min-height: 3.3rem; }
}
/* What is new fades in when the studio takes over. The heading that was already there does not blink. */
@keyframes st-arrive { from { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  body:is([data-arrived="kept"], [data-arrived="room"]) .st-view:not([hidden]) > :not(.st-intro),
  body:is([data-arrived="new"], [data-arrived="back"]) .st-view:not([hidden], [data-for="setup"]),
  body:is([data-arrived="new"], [data-arrived="back"]) [data-for="setup"] :is(.st-step-body, .st-step + .st-step, .st-kept, .st-free, .st-rooms-recent) { animation: st-arrive .45s ease both; }
}
@media (prefers-reduced-motion: reduce) { .st-opening-plate::after, .st-opening-say .dowel > i { animation: none; } }
.st-sub { margin: .7rem 0 0; max-width: 42rem; color: var(--pair-ink); }
.st-note { margin: .7rem 0 0; min-height: 0; font-family: var(--display); font-size: .95rem; line-height: 1.45; color: var(--muted); max-width: 40rem; }
.st-note:empty { display: none; }
.st-note[data-tone="bad"] { color: #8B3A22; }
.st-label, .st-set > legend, .st-set > label, .st-gate-form label { display: block; padding: 0; margin: 0 0 .7rem; font-family: var(--display); font-weight: 400; font-size: var(--st-small); letter-spacing: .24em; text-transform: uppercase; color: var(--label); max-width: none; }
/* Optional stays on the line with the words before it, so it never sits on a line of its own. */
.st-nobr { white-space: nowrap; }
.st-optional { letter-spacing: .04em; text-transform: none; color: var(--muted); margin-left: .5rem; font-size: var(--st-read); }
.st-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-family: var(--display); font-size: .95rem; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; text-decoration-color: var(--brass-line); cursor: pointer; background: none; border: 0; padding: 0; }
.st-link:hover { color: var(--brass); }

/* controls */
/* A button keeps its label on one line when there is room and wraps it onto two balanced lines when there is not, so a
   label never runs past its border (Jeff, November 15, 2026: "Change a design idea" spilled out of its pill). */
.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; max-width: 100%; min-height: 2.9rem; padding: .7rem 1.5rem; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font-family: var(--display); font-size: var(--st-act); font-weight: 400; letter-spacing: .16em; line-height: 1.25; text-align: center; text-wrap: balance; text-transform: uppercase; text-decoration: none; white-space: normal; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, opacity .3s; -webkit-tap-highlight-color: transparent; }
.st-btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.st-btn-primary { background: var(--ink); color: var(--paper); }
.st-btn-primary:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); }
.st-btn-quiet { border-color: var(--brass-line); }
.st-btn-quiet:hover:not(:disabled) { background: transparent; color: var(--brass); border-color: var(--brass); }
.st-btn:disabled { opacity: .38; cursor: not-allowed; }
.st-btn[data-busy="true"] { opacity: .6; pointer-events: none; }
/* A button that has been pressed and is waiting (the afternoon batch of November 14, 2026, item 6.2): it keeps its size and
   colour, shows the turning ring before its word, and takes no more presses. It used to fade to 60%, which read as "off". */
.studio .st-btn[data-busy="true"], .studio .st-btn[data-busy="true"]:disabled { opacity: 1; cursor: progress; }
.studio button[aria-busy="true"]::before, .studio .st-btn[data-busy="true"]::before { content: ""; flex: none; display: inline-block; width: .95em; height: .95em; margin-right: .1em; border-radius: 50%; border: 1.5px solid color-mix(in srgb, currentColor 32%, transparent); border-top-color: currentColor; animation: st-turn .8s linear infinite; vertical-align: -.15em; }
.studio button:not(.st-btn)[aria-busy="true"] { pointer-events: none; }
.studio button:not(.st-btn)[aria-busy="true"]::before { margin-right: .5em; }
@media (prefers-reduced-motion: reduce) { .studio button[aria-busy="true"]::before, .studio .st-btn[data-busy="true"]::before { animation-duration: 2.4s; } }
.studio input[type="email"], .studio input[type="text"], .studio input[type="password"], .studio textarea { width: 100%; padding: .8rem 1rem; border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); border-radius: 2px; background: color-mix(in srgb, #fff 42%, var(--paper)); color: var(--ink); font-family: var(--text); font-size: 1.05rem; line-height: 1.5; }
.studio textarea { resize: vertical; min-height: 4.4rem; display: block; }
.studio input:focus-visible:not(:where(.pointer-focus)), .studio textarea:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-color: var(--ink); }
.studio .st-otp input, .studio .st-otp input:focus-visible { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; outline: 0; border-radius: 0; background: transparent; color: transparent; caret-color: transparent; font-size: 1rem; letter-spacing: 0; cursor: text; }
.studio .st-otp input::selection { background: transparent; }
.studio ::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); opacity: 1; font-style: normal; }
/* Only the search boxes keep a placeholder, light and upright, as search boxes do. Examples for a box you write in sit
   outside it (.st-hint), so they are never mistaken for an answer (November 11, 2026). */
.st-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.st-pills button, .st-pills label { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1.1rem; border: 1px solid var(--brass-line); border-radius: 999px; background: transparent; color: var(--ink); font-family: var(--display); font-size: .95rem; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; -webkit-tap-highlight-color: transparent; }
.st-pills button:hover { border-color: var(--ink); }
/* One look for anything chosen, everywhere: a heavier ink outline, a lighter ground and a tick. An option that is not chosen
   shows a small open circle where the tick will be, so it reads as a choice and nothing moves when it is chosen.
   Filled ink is kept for buttons that do something. Keyboard focus is a separate gold ring. */
.st-part-mark { content: ""; flex: none; width: .5rem; height: .5rem; margin-right: .5rem; border-radius: 50%; border: 1px solid currentColor; opacity: .45; }
.st-pills button[aria-pressed="true"], .st-pills button[aria-checked="true"], .st-part[data-chosen="true"] { background: color-mix(in srgb, #fff 38%, var(--paper)); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.st-part[data-chosen="true"] .st-part-mark { width: .62rem; height: .34rem; margin: -.2rem .44rem 0 -.06rem; border: 0; border-radius: 0; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); opacity: 1; }

/* gate */
.st-gate { padding-block: clamp(2.5rem, 7vw, 6rem); }
.st-trouble { padding-block: clamp(2.5rem, 7vw, 6rem); }
.st-trouble .lede { margin: clamp(1rem, 2vw, 1.4rem) 0 clamp(1.6rem, 3vw, 2.2rem); }
.st-gate-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.st-gate-copy .lede { margin-top: clamp(1.2rem, 2.4vw, 1.8rem); }
.st-gate-form { margin: clamp(1.8rem, 3.5vw, 2.6rem) 0 1.4rem; max-width: 33rem; }
.st-field-row { display: flex; gap: .7rem; }
/* The two field labels are read to act, so they sit at the larger floor. */
.st-set > label, .st-gate-form label { font-size: var(--st-act); }
.st-code { position: relative; flex: 1; min-width: 0; }
.st-code input { height: 100%; }
/* The code: six boxes drawn under one real field. The field itself is see-through and covers all six, so a tap anywhere
   lands in it, a paste fills every box, and a phone can offer the code from the email. */
.st-otp { position: relative; width: 100%; max-width: 23rem; }
.st-otp-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
.st-otp-slots span { display: grid; place-items: center; aspect-ratio: 5 / 6; min-height: 3rem; border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); border-radius: 2px; background: color-mix(in srgb, #fff 42%, var(--paper)); font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.st-otp-slots span[data-on] { border-color: var(--ink); outline: 2px solid var(--brass); outline-offset: 2px; }
.st-otp-slots span[data-on]:empty::after { content: ""; width: 1px; height: 1.7rem; background: var(--ink); animation: st-caret 1.1s steps(1) infinite; }
@keyframes st-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .st-otp-slots span[data-on]:empty::after { animation: none; } }
.st-otp[data-busy="true"] .st-otp-slots span { opacity: .55; }
.st-gate-say { margin: 0 0 1.1rem; font-family: var(--text); font-size: 1.12rem; line-height: 1.5; color: var(--ink); max-width: 33rem; }
.st-gate-say b { font-weight: 500; overflow-wrap: anywhere; }
.st-gate-more { display: flex; flex-wrap: wrap; gap: 0 1.6rem; margin: .5rem 0 0; }
.st-gate-more .st-link[disabled] { color: var(--muted); text-decoration: none; cursor: default; }
.st-gate-use { max-width: 33rem; margin-bottom: .6rem; }
.st-gate-photo { max-width: 420px; justify-self: end; width: 100%; }
.st-gate-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 42% 50%; }

/* setup: three steps, one open at a time */
.st-intro { padding-block: clamp(1.75rem, 3.6vw, 2.75rem) clamp(1.25rem, 2.4vw, 1.9rem); }
.st-intro .lede { margin-top: clamp(1rem, 2vw, 1.4rem); text-wrap: pretty; }
/* Once a photo is in, the heading steps back to one quiet line so the steps start at the top of the screen. */
.st-intro[data-compact="true"] { padding-block: clamp(.9rem, 1.8vw, 1.3rem) clamp(.5rem, 1vw, .8rem); }
.st-intro[data-compact="true"] .eyebrow, .st-intro[data-compact="true"] .lede { display: none; }
.studio .st-intro[data-compact="true"] h1 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); letter-spacing: -.01em; line-height: 1.2; }
.studio .st-intro[data-compact="true"] h1 em { display: inline; font-size: 1em; }
/* One quiet line after a reload or a return: the room in progress was kept, with a way to clear it. */
.st-kept { margin: 0 0 .5rem; font-family: var(--display); font-size: .95rem; line-height: 1.45; color: var(--muted); max-width: none; }
.st-kept .st-link { margin-left: .6rem; }
.st-step { padding: 0; border-top: 1px solid var(--hair); }
.st-step:last-child { border-bottom: 1px solid var(--hair); }
.st-step-head { margin: 0; font: inherit; letter-spacing: 0; }
.st-step-toggle { width: 100%; min-height: 4.5rem; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; align-content: center; column-gap: clamp(.8rem, 1.6vw, 1.4rem); padding: .9rem 0; margin: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st-step-title { font-family: var(--display); font-weight: 300; font-size: clamp(1.35rem, 2.1vw, 1.7rem); letter-spacing: -.01em; white-space: nowrap; }
.st-step-sum { display: flex; align-items: center; gap: .8rem; min-width: 0; font-family: var(--display); font-size: .98rem; color: var(--muted); }
/* The line beside a step wraps at every width. It is never cut off with three dots. */
.st-step-sum > span { min-width: 0; line-height: 1.4; }
.st-step-sum img { flex: none; width: auto; height: auto; max-width: 6rem; max-height: 6rem; }
.st-step[data-state="open"] .st-step-sum img { display: none; }
.st-photo-warn { margin: 0 0 1.2rem; }
.st-step-edit { display: none; font-family: var(--display); font-size: .95rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; text-decoration-color: var(--brass-line); }
.st-step-toggle:hover .st-step-title { color: var(--brass); }
.st-step-toggle:focus-visible { outline-offset: -3px; }
.st-step-body:focus, .st-step-body:focus-visible { outline: none; }
/* A step that has not been reached is a quiet line that says what comes next. It is not a control. The button at the foot of the open step is the one way forward. */
.st-step[data-state="todo"] .st-step-toggle { cursor: default; }
.st-step[data-state="todo"] .st-step-title, .st-step[data-state="todo"] .st-step-toggle:hover .st-step-title { color: var(--muted); }
.st-step[data-state="open"] .st-step-toggle { cursor: default; padding-top: 1.4rem; }
/* Step 1 sits closer to the introduction, so Choose a photo is in view sooner on a phone (November 11, 2026). */
.st-intro:not([data-compact="true"]) { padding-bottom: clamp(.6rem, 1.4vw, 1.1rem); }
.st-step[data-step="photo"][data-state="open"] .st-step-toggle { padding-block: .6rem .5rem; min-height: 0; }
.st-step[data-state="open"] .st-step-toggle:hover .st-step-title { color: inherit; }
.st-step[data-state="open"] .st-step-title { font-size: clamp(1.8rem, 2.9vw, 2.5rem); }
.st-step[data-state="open"] .st-step-sum { visibility: hidden; }
.st-step[data-state="done"] .st-step-sum { color: var(--pair-ink); }
.st-step[data-state="done"] .st-step-edit { display: inline; }
/* No step numbers (Jeff, November 13, 2026): two steps, and step 1 folds away once a photo is in, so a lone "2" pointed
   back at a step no longer on screen. The headings are plain, and everything in a step lines up with its heading. */
/* No "Next: The room" before a photo is in (Jeff, November 29, 2026). On a phone, and on a computer too narrow for the
   sample beside the upload, it sat right under Try changing this room and read as the next step for the sample. The room
   step opens by itself once a photo is in, so the preview did nothing. It is hidden at every width until then. */
.st-steps:not([data-room="true"]) > .st-step[data-step="room"] { display: none; }
.st-step-body { padding: .2rem 0 clamp(1.8rem, 3.6vw, 2.8rem); }
.st-step-foot { margin-top: clamp(1.4rem, 2.8vw, 2rem); }
/* Design this room stays in view (Jeff, November 13, 2026). Every answer in The room has a default, so the button can be
   pressed at once, but on a laptop it sat below the fold. The foot of the open room step is pinned to the bottom of the
   screen while the step is on it, the same bar the ideas use when they are open. Focus is never hidden under it: the
   page keeps room for it when it scrolls a field into view. */
.st-step[data-step="room"] .st-step-foot { position: sticky; bottom: 0; z-index: 12; padding: .6rem 0 calc(.6rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
/* The button on the right, as in the ideas bar. */
.st-step[data-step="room"] .st-step-foot .st-room-go { flex-direction: row-reverse; }
.st-step[data-step="room"] .st-step-foot .st-note:empty { display: none; }
.st-step[data-step="room"] .st-step-foot .st-note { margin: .35rem 0 0; }
html:has([data-for="setup"]:not([hidden]) :is(.st-step[data-step="room"][data-state="open"], #tray:not([hidden]))) { scroll-padding-bottom: 6.5rem; }
.st-set { border: 0; padding: 0; margin: 0 0 clamp(1.5rem, 3vw, 2.1rem); min-width: 0; max-width: 56rem; }

.st-photo-body { display: grid; grid-template-columns: minmax(0, 1fr); }
/* The photo step, November 11, 2026 (Jeff): a slim place to drop a photo on a computer, just the button on a phone, the
   tips under it, and the privacy page as one link. The tips no longer sit in a column to the right. */
.st-drop { position: relative; width: 100%; max-width: var(--photo-standard); min-height: clamp(6.5rem, 12svh, 8rem); display: grid; place-items: center; border: 1px dashed var(--brass-line); background: color-mix(in srgb, var(--paper-2) 55%, transparent); transition: background-color .3s, border-color .3s; overflow: hidden; }
.st-drop[data-over="true"] { background: var(--paper-2); border-color: var(--ink); }
.st-drop[data-state="ready"] { min-height: 0; width: fit-content; border-style: solid; border-color: color-mix(in srgb, var(--ink) 14%, transparent); background: var(--paper-2); }
.st-drop[data-state="ready"] .st-drop-empty { display: none; }
.st-drop-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1.2rem; padding: 1.4rem 2rem; text-align: center; }
.st-drop-empty p { margin: 0; font-style: italic; color: var(--muted); }
/* On a phone or a tablet there is nothing to drag, so there is no box: only the button. */
@media (hover: none) and (pointer: coarse) {
  .st-drop[data-state="empty"] { min-height: 0; border: 0; background: none; place-items: start; }
  .st-drop[data-state="empty"] .st-drop-empty { padding: .2rem 0; justify-content: flex-start; }
  .st-drop-say { display: none; }
}
.st-drop img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(46svh, 440px); }
.st-drop:has(.st-visually-hidden:focus-visible:not(:where(.pointer-focus))) { outline: 2px solid var(--brass); outline-offset: 4px; }
.st-photo-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 2rem; padding-top: 1rem; }
.st-private { margin: .9rem 0 0; }
/* Remove photo: a small plate on the corner of the picture. Start over: the quiet way out at the foot of the room step. */
.st-photo-x { position: absolute; top: .6rem; right: .6rem; min-height: 2.2rem; padding: .35rem .8rem; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 0; background: color-mix(in srgb, var(--paper) 92%, transparent); color: var(--ink); font-family: var(--display); font-size: .82rem; letter-spacing: .04em; cursor: pointer; }
.st-photo-x:hover, .st-photo-x:focus-visible { background: var(--paper); border-color: var(--ink); }
.st-photo-x[hidden] { display: none; }
.st-tips-box { margin-top: clamp(1.2rem, 2.4vw, 1.7rem); max-width: var(--photo-standard); }
.st-tips-toggle { display: none; align-items: center; gap: .55rem; min-height: 2.75rem; padding: 0; border: 0; background: none; color: var(--ink); font-family: var(--display); font-size: 1rem; cursor: pointer; }
.st-tips-toggle::after { content: ""; width: .45rem; height: .45rem; border-right: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.st-tips-box[data-open="true"] .st-tips-toggle::after { transform: translateY(2px) rotate(-135deg); }
.st-tips { list-style: none; margin: 0; padding: 0; max-width: var(--photo-standard); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem clamp(1rem, 2.4vw, 2rem); }
.st-tips li { padding-top: .8rem; border-top: 1px solid var(--brass-line); font-size: 1rem; line-height: 1.5; color: var(--pair-ink); }
.st-tips b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.02rem; color: var(--ink); }

.st-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.st-choice { position: relative; display: block; cursor: pointer; }
.st-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.st-choice span { display: block; height: 100%; padding: 1rem 1.15rem 1.1rem; border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); font-size: 1rem; line-height: 1.5; color: var(--pair-ink); transition: border-color .25s, background-color .25s; }
.st-choice b { display: block; margin-bottom: .3rem; font-family: var(--display); font-weight: 400; font-size: 1.08rem; color: var(--ink); }
.st-choice:hover span { border-color: var(--ink); }
.st-choice span { position: relative; padding-right: 3rem; }
.st-choice span::after { content: ""; position: absolute; right: .9rem; top: .95rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 1px solid currentColor; opacity: .45; }
.st-choice input:checked + span { border-color: var(--ink); background: color-mix(in srgb, #fff 38%, var(--paper)); box-shadow: inset 0 0 0 1px var(--ink); }
.st-choice input:checked + span::after { border-color: var(--ink); opacity: 1; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23F2ECE0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6'/%3E%3C/svg%3E") center / 100% no-repeat; }
.st-choice input:focus-visible:not(:where(.pointer-focus)) + span { outline: 2px solid var(--brass); outline-offset: 3px; }

/* moves */
.st-scope-note { margin: 1rem 0 0; padding: .9rem 1.1rem; max-width: 46rem; border-left: 2px solid var(--brass); background: color-mix(in srgb, #fff 30%, var(--paper)); font-family: var(--display); font-size: .98rem; line-height: 1.5; color: var(--pair-ink); }
.st-scope-note .st-link { display: inline; min-height: 0; font-size: inherit; white-space: nowrap; }
/* The foot of the room step: the one button that starts a design. */
.st-room-go { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; }
.st-step-title .st-optional { font-weight: 400; letter-spacing: .04em; }
.st-moves-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 2rem; margin: clamp(.7rem, 1.4vw, 1rem) 0 .2rem; }
.st-parts-wrap { position: sticky; top: var(--st-top); transition: top .3s; z-index: 12; margin: 0 0 clamp(1.2rem, 2.4vw, 1.7rem); background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair); }
/* Every part is in reach with no sideways scrolling: a row that wraps on a wide screen, one menu with a step either way on a narrow one. */
.st-parts { display: flex; flex-wrap: wrap; gap: .45rem; padding: .6rem 0; }
.st-parts-menu { display: none; grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem; gap: .5rem; padding: .5rem 0; }
.st-parts-pick { position: relative; display: block; min-width: 0; }
.st-parts-pick select, .st-swap-pick select { width: 100%; height: 2.75rem; padding: 0 2.6rem 0 1.1rem; border: 1px solid var(--ink); border-radius: 999px; background: color-mix(in srgb, #fff 38%, var(--paper)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8' fill='none' stroke='%2318181B' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.5L7 6.5l5.5-5'/%3E%3C/svg%3E") right 1.1rem center / .8rem .5rem no-repeat; color: var(--ink); font-family: var(--display); font-size: 1rem; -webkit-appearance: none; appearance: none; cursor: pointer; text-overflow: ellipsis; }
.st-parts-step { width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--brass-line); border-radius: 50%; background: color-mix(in srgb, var(--paper) 80%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 14' fill='none' stroke='%2318181B' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.5L6.5 7l-5 5.5'/%3E%3C/svg%3E") center / .5rem .9rem no-repeat; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st-parts-step[data-dir="prev"] { transform: scaleX(-1); }
.st-parts-step:hover:not(:disabled) { border-color: var(--ink); }
.st-parts-step:disabled { opacity: .35; cursor: default; }
@media (max-width: 1100px) { .st-parts { display: none; } .st-parts-menu { display: grid; } }
.st-part { flex: none; display: inline-flex; align-items: center; gap: 0; min-height: 2.75rem; padding: .45rem 1rem; border: 1px solid var(--brass-line); border-radius: 999px; background: color-mix(in srgb, var(--paper) 80%, transparent); color: var(--ink); font-family: var(--display); font-size: .95rem; white-space: nowrap; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; -webkit-tap-highlight-color: transparent; }
.st-part:hover { border-color: var(--ink); }
/* The part on view is marked with a line under it. That is where you are, not what is chosen. */
.st-part { position: relative; }
.st-part[aria-current="true"] { border-color: var(--ink); }
.st-part[aria-current="true"]::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: -.36rem; height: 2px; background: var(--ink); }
.st-slot { padding: 0; margin: 0 0 clamp(1.8rem, 3.4vw, 2.6rem); scroll-margin-top: calc(var(--st-top) + var(--st-parts, 4.6rem) + .8rem); }
.st-slot-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem 1.1rem; margin: 0 0 .9rem; }
.st-slot h3 { font-size: 1.45rem; }
.st-slot-status { margin: 0; font-family: var(--display); font-size: .95rem; color: var(--muted); }
.st-slot-status b { font-weight: 400; color: var(--ink); }
.st-slot-kept { display: block; }
/* A part the photo shows no place for says so in one line. */
.st-slot-miss { flex: 1 1 100%; margin: .35rem 0 0; padding: .55rem .9rem; max-width: 46rem; border-left: 2px solid var(--brass); background: color-mix(in srgb, #fff 30%, var(--paper)); font-family: var(--display); font-size: .95rem; line-height: 1.45; color: var(--pair-ink); }
.st-slot-clear { display: inline; min-height: 0; padding: .8rem .35rem; margin: -.8rem 0; }
.st-move-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.1rem, 2vw, 1.6rem) clamp(.8rem, 1.6vw, 1.4rem); }
.st-move-grid[data-shape="strip"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1101px) { .st-move-grid[data-shape="frame"]:is([data-n="5"], [data-n="9"], [data-n="13"]) { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 900px) and (max-width: 1100px) { .st-move-grid[data-shape="frame"]:is([data-n="4"], [data-n="7"]) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 721px) and (max-width: 899px) { .st-move-grid[data-shape="frame"][data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 721px) and (max-width: 899px) { .st-move-grid[data-shape="frame"]:is([data-n="7"], [data-n="10"]) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.st-kind + .st-kind { margin-top: clamp(1.5rem, 3vw, 2.2rem); }
.st-kind-name { margin: 0 0 .8rem; padding-bottom: .5rem; border-bottom: 1px solid var(--hair); font-family: var(--display); font-weight: 400; font-size: var(--st-small); letter-spacing: .24em; line-height: 1.4; text-transform: uppercase; color: var(--label); }
.st-move { position: relative; min-width: 0; }
.st-move-pick { display: flex; flex-direction: column; width: 100%; text-align: left; padding: 0; margin: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st-move-img { position: relative; display: block; width: 100%; aspect-ratio: var(--ar, 4 / 3); background: var(--paper-2); overflow: hidden; outline: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); outline-offset: -1px; }
.st-move-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.1,1); }
.st-move-img img[data-fit="contain"] { object-fit: contain; }
.st-move-pick:hover .st-move-img img { transform: scale(1.03); }
.st-move-pick[aria-pressed="true"] .st-move-img { outline: 2px solid var(--ink); outline-offset: 3px; }
.st-move-tick { position: absolute; right: .55rem; top: .55rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); opacity: 0; transform: scale(.7); transition: opacity .25s, transform .25s; }
.st-move-tick::before { content: ""; width: .65rem; height: .36rem; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-1px) rotate(-45deg); }
.st-move-pick[aria-pressed="true"] .st-move-tick { opacity: 1; transform: none; }
.st-move-zoom { position: absolute; left: 0; top: 0; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.st-move-zoom::before { content: ""; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: color-mix(in srgb, var(--paper) 88%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318181B' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='5.5'/%3E%3Cpath d='M15 15l4.5 4.5M10.5 8.2v4.6M8.2 10.5h4.6'/%3E%3C/svg%3E") center / 1.15rem no-repeat; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 14%, transparent); transition: background-color .25s; }
.st-move-zoom:hover::before { background-color: var(--paper); }
.st-move-title { margin-top: .7rem; font-family: var(--display); font-weight: 400; font-size: 1.08rem; line-height: 1.25; }
/* The whole description is shown. Credits sit on one line along the foot of each row, so cards of different lengths still read as a row. */
.st-move-what { margin: .25rem 0 0; font-size: .98rem; line-height: 1.45; color: var(--pair-ink); max-width: none; }
.st-move-grid .st-move { display: flex; }
.st-move-grid .st-move-pick { flex: 1; }
.st-move-grid .st-move-credit { margin-top: auto; padding-top: .3rem; }
.st-move-credit { margin: .3rem 0 0; font-family: var(--display); font-size: var(--st-read); color: var(--muted); }
.st-move-tip { margin: .35rem 0 0; font-size: .95rem; line-height: 1.45; font-style: italic; color: var(--muted); max-width: none; }
/* Focus is a gold ring around the whole card, so a chosen card keeps its ink outline and its tick while it has focus. */
.st-move-pick:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: 7px; }
/* By keyboard each idea is one stop, and the L key opens Look closer. The card in focus says so. */
/* The keyboard tip "Press L to look closer" was shown on the card to everyone. The magnifier says it. A screen reader still hears it (batch 1). */
.st-slot-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; margin-top: clamp(1.4rem, 2.8vw, 2rem); padding-top: 1rem; border-top: 1px solid var(--hair); }
.st-slot-foot .cap { margin: 0; }
.st-slot-foot > :only-child { margin-left: auto; }
#moves[data-all="true"] .st-slot-foot { display: none; }

/* tray */
.st-tray { position: sticky; bottom: 0; z-index: 15; margin-top: clamp(1.5rem, 3vw, 2.5rem); background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); padding-bottom: env(safe-area-inset-bottom); }
.st-tray > .wrap { display: flex; align-items: center; justify-content: space-between; gap: .45rem 2rem; padding-block: .6rem; }
.st-swapbar .st-tray-moves { display: flex; align-items: center; gap: .55rem; flex: none; }
.st-tray-chip { position: relative; flex: none; width: 3rem; height: 3rem; padding: 0; border: 0; background: var(--paper-2); cursor: pointer; }
.st-tray-chip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-tray-chip::after { content: "\00d7"; position: absolute; right: -.4rem; top: -.4rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: .95rem; line-height: 1; box-shadow: 0 0 0 2px var(--paper); }
.st-tray-chip:hover::after { background: #8B3A22; }
.st-tray-moves[data-n="0"] { display: none; }
.st-tray-go { margin-left: auto; display: flex; align-items: center; gap: 1.2rem; min-width: 0; flex: 0 1 auto; }
.st-tray-go .st-btn { flex: none; }
.st-tray-say { min-width: 0; max-width: 30rem; text-align: right; font-family: var(--display); font-size: .92rem; line-height: 1.4; }
/* The ideas bar. Each chosen idea is named: its picture, its part and its name, with a remove mark, so nothing depends on
   hovering. On a wide screen the names sit in one row above the line and the button. Below that they open as a list from
   Show chosen, so the bar never takes more than it needs. */
#tray > .wrap { display: block; }
#tray .st-tray-moves { list-style: none; margin: 0; padding: 0; display: none; }
#tray[data-open="true"] .st-tray-moves:not([data-n="0"]) { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .4rem; margin-bottom: .55rem; max-height: 46svh; overflow-y: auto; }
/* Since November 11, 2026 the bar is one compact row at every width: the count and the button, with the chosen ideas
   opening from Show chosen, so it never covers the ideas it sits under. */
@media (min-width: 1280px) {
  #tray[data-open="true"] .st-tray-moves:not([data-n="0"]) { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .55rem; max-height: none; overflow: visible; }
  #tray .st-tray-idea { max-width: 14rem; }
}
.st-tray-idea { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 2.75rem; align-items: center; min-height: 3rem; background: color-mix(in srgb, #fff 38%, var(--paper)); outline: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); outline-offset: -1px; }
.st-tray-idea img { width: 3rem; height: 100%; min-height: 3rem; object-fit: cover; display: block; }
.st-tray-name { min-width: 0; padding: .2rem 0 .2rem .65rem; font-family: var(--display); font-size: .9rem; line-height: 1.2; color: var(--ink); overflow-wrap: anywhere; }
.st-tray-name small { display: block; margin-bottom: .1rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--label); }
.st-tray-x { width: 2.75rem; height: 100%; min-height: 2.75rem; padding: 0; border: 0; background: none; color: var(--ink); font-family: var(--display); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.st-tray-x::before { content: "\00d7"; }
.st-tray-x:hover { color: #8B3A22; }
#tray .st-tray-go { margin-left: 0; justify-content: space-between; }
#tray .st-tray-say { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 1.6rem; max-width: none; text-align: left; }
#tray .st-tray-adds { margin-top: 0; }
.st-tray-show { flex: none; font-size: .92rem; white-space: nowrap; }
.st-tray-note { display: inline; margin: 0; font: inherit; color: var(--pair-ink); max-width: none; }
.st-tray-cost { color: var(--muted); }
/* A switch: a label and its two options side by side, the chosen one marked like every other chosen thing. Never a link. */
.st-switch { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; font-family: var(--display); font-size: .95rem; color: var(--pair-ink); }
.st-switch .st-pills { flex-wrap: nowrap; gap: .35rem; }
.st-switch .st-pills button { padding-inline: .95rem; }
.st-switch .st-pills button:disabled { opacity: .45; cursor: not-allowed; }
.st-tray-adds { display: flex; justify-content: flex-end; margin-top: .35rem; font-size: .92rem; }
.st-tray-note[data-tone="bad"] { color: #8B3A22; }

/* saved rooms */
.st-rooms-recent { padding-top: clamp(2rem, 4vw, 3.2rem); }
.st-rooms-recent h2 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); margin: 0; }
.st-rooms-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem 2rem; margin-bottom: clamp(.9rem, 1.8vw, 1.3rem); }
.st-rooms-all { padding-block: clamp(1.75rem, 3.5vw, 2.75rem) clamp(2rem, 4vw, 3rem); }
.st-room-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.4rem, 2.6vw, 2rem) clamp(1rem, 2vw, 1.6rem); }
/* The room cards on Your rooms. Scoped to the cards (button.st-room): the result page's section also carries st-room
   (pull request #131), and these rules zoomed its picture on hover (Jeff, November 18, 2026). */
button.st-room { display: block; text-align: left; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; min-width: 0; }
.st-room-img { display: block; aspect-ratio: 3 / 2; background: var(--paper-2); overflow: hidden; }
.st-room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.1,1); }
button.st-room:hover img { transform: scale(1.03); }
button.st-room b { display: block; margin-top: .7rem; font-family: var(--display); font-weight: 400; font-size: 1.08rem; }
button.st-room span.cap { display: block; }
/* Your rooms, while a room is being set up: the way back to it. */
.st-inprogress { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; padding: .9rem 0; margin-bottom: clamp(1.2rem, 2.4vw, 1.8rem); border-block: 1px solid var(--hair); }
.st-inprogress[hidden] { display: none; }
.st-inprogress img { flex: none; width: auto; height: auto; max-width: 6rem; max-height: 6rem; }
.st-inprogress p { flex: 1 1 12rem; margin: 0; font-family: var(--display); font-size: 1.05rem; color: var(--pair-ink); max-width: none; }
.st-empty { display: grid; justify-items: start; gap: 1.4rem; padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 8vw, 6rem); }
.st-empty .lede { margin: 0; }

/* working */
.st-working { padding-block: clamp(2rem, 5vw, 4rem); }
.st-working-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.st-working-photo { position: relative; background: var(--paper-2); }
.st-working-photo img { width: 100%; max-height: 70svh; object-fit: contain; }
.st-working-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(242,236,224,.34) 50%, transparent 70%); background-size: 260% 100%; animation: st-sweep 3.4s ease-in-out infinite; pointer-events: none; }
@keyframes st-sweep { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.st-progress { list-style: none; margin: clamp(1.6rem, 3vw, 2.4rem) 0 0; padding: 0; border-top: 1px solid var(--hair); }
.st-progress li { display: grid; grid-template-columns: 1.6rem 1fr; align-items: center; gap: .7rem; padding: .85rem 0; border-bottom: 1px solid var(--hair); font-family: var(--display); font-size: 1.08rem; color: var(--muted); transition: color .4s; }
.st-progress li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; border: 1px solid var(--brass-line); justify-self: center; }
.st-progress li[data-state="done"] { color: var(--pair-ink); }
.st-progress li[data-state="done"]::before { width: .6rem; height: .34rem; border: 0; border-radius: 0; border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: translateY(-2px) rotate(-45deg); }
.st-progress li[data-state="now"] { color: var(--ink); }
.st-progress li[data-state="now"]::before { background: var(--brass); border-color: var(--brass); animation: st-pulse 1.6s ease-in-out infinite; }
@keyframes st-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brass) 45%, transparent); } 50% { box-shadow: 0 0 0 .42rem transparent; } }
.st-timer { margin: 1.2rem 0 .4rem; font-family: var(--display); font-weight: 300; font-size: 1.7rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
/* Part 2: while a design waits in line the timer is hidden, and the line about the wait keeps the timer's space above it. */
.st-timer[hidden] + .cap { margin-top: 1.2rem; }
.st-working-moves { margin-top: clamp(1.4rem, 2.8vw, 2rem); padding-top: 1.1rem; border-top: 1px solid var(--hair); }
.st-working-moves ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.st-working-moves li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); align-items: center; gap: .9rem; font-family: var(--display); font-size: 1rem; }
.st-working-moves img { width: 3.4rem; height: 2.5rem; object-fit: cover; background: var(--paper-2); }

/* result */
.st-result { padding-block: clamp(1.75rem, 3.5vw, 2.75rem) clamp(2rem, 4vw, 3rem); }
.st-result-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.1rem, 2.2vw, 1.6rem); }
.studio .st-result-head h1 { font-size: clamp(2rem, 3.4vw, 3rem); }
.st-failed { display: grid; justify-items: start; gap: 1rem; margin: 0 0 1.4rem; }
.st-failed .st-note { margin: 0; font-size: 1.05rem; }
.st-flip { display: none; margin-bottom: .7rem; }
/* Both frames take the photo's own shape (--ar, set by the page). The pair is never wider than two frames at full height, so neither is padded at the sides. */
.st-compare { --h: calc(100svh - 17rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, 1rem); align-items: start; max-width: calc(2 * max(var(--h), 12rem) * var(--ar, 1.5) + clamp(.6rem, 1.2vw, 1rem)); }
.st-compare figure { position: relative; min-width: 0; }
/* The pair sits in the middle of the page when it is narrower than the page (a tall photo), and the save link sits under the image it saves. */
.st-compare, .st-compare-tools { margin-inline: auto; }
.st-compare[data-single="true"] { margin-inline: 0; }
.st-compare-tools { max-width: calc(2 * max(calc(100svh - 17rem), 12rem) * var(--ar, 1.5) + clamp(.6rem, 1.2vw, 1rem)); }
.st-fig-foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0 1rem; }
.st-fig-foot .st-link { align-items: flex-start; padding-top: .5rem; }
/* The two choices under the left image sit 2 px lower than a plain label, so After comes down to meet them. */
.st-compare:has(.st-compare-left) .st-fig-foot { padding-top: 2px; }
/* Every label under the pair is set the same as the two choices under the left image, so Before, After and those choices line up. */
.st-compare button { display: block; width: 100%; aspect-ratio: var(--ar, 3 / 2); max-height: max(var(--h), 12rem); padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; overflow: hidden; }
.st-compare img { display: block; width: 100%; height: 100%; object-fit: contain; }
.st-compare figcaption { padding-top: .6rem; font-family: var(--display); font-size: var(--st-act); letter-spacing: .2em; text-transform: uppercase; color: var(--label); }
.st-compare[data-single="true"] { grid-template-columns: minmax(0, 1fr); max-width: min(var(--photo-standard), max(var(--h), 12rem) * var(--ar, 1.5)); }
.st-compare-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1.5rem; margin-top: .1rem; }
.st-compare-tools .cap { margin: 0; }
.st-versions { margin-top: clamp(1rem, 2vw, 1.5rem); padding-top: clamp(1rem, 2vw, 1.4rem); border-top: 1px solid var(--hair); }
.st-versions .st-label { margin-bottom: .6rem; }
.st-takes { position: relative; display: flex; gap: 1.4rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: thin; }
/* Versions are one row that scrolls sideways, each design with its own versions after it, so a room with many versions
   never pushes the rest of the page down (November 11, 2026, Jeff). */
.st-take-group { flex: none; min-width: 0; }
.st-take-design { margin: 0 0 .5rem; font-family: var(--display); font-size: 1rem; color: var(--ink); }
.st-take-row { position: relative; display: flex; gap: .9rem; margin: 0 -5px; padding: 5px 5px .4rem; overflow: visible; }
.st-take { flex: none; width: 9.5rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.st-take-img { position: relative; }
.st-take-new { position: absolute; left: 0; top: 0; padding: .25rem .55rem; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: var(--st-act); letter-spacing: .14em; text-transform: uppercase; }
.st-take-from { display: block; margin-top: .1rem; font-size: var(--st-read); line-height: 1.35; color: var(--muted); }
.st-asked { margin: .6rem 0 0; max-width: 44rem; font-size: 1.05rem; line-height: 1.5; color: var(--pair-ink); }
.st-take-img { display: block; aspect-ratio: 3 / 2; background: var(--paper-2); overflow: hidden; }
.st-take img { width: 100%; height: 100%; object-fit: cover; }
.st-take span.cap { display: block; margin-top: .45rem; font-size: var(--st-read); line-height: 1.35; }
.st-take[aria-current="true"] .st-take-img { outline: 2px solid var(--ink); outline-offset: 2px; }
.st-take[aria-current="true"] span.cap { color: var(--ink); }
.st-after { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); margin-top: clamp(1.8rem, 3.6vw, 2.8rem); align-items: start; }
.st-after .lede { margin: 0; }
.st-check { margin: 1rem 0 0; font-style: italic; color: var(--muted); }
.st-lead { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.6rem; margin-top: clamp(1.2rem, 2.4vw, 1.7rem); }
.st-pieces h2, .st-shop h2 { scroll-margin-top: calc(var(--st-top) + 3.5rem); }
.st-pieces h2:focus, .st-shop h2:focus { outline: none; }
.st-react { max-width: 40rem; padding-bottom: 1rem; }
.st-react .st-label { margin-bottom: .4rem; }
.st-react-say { margin: 0 0 .9rem; font-size: .98rem; line-height: 1.5; color: var(--pair-ink); }
.st-react textarea { margin-top: 1rem; }
.st-react-foot { display: flex; align-items: center; gap: 1rem; margin-top: .8rem; }
.st-react-foot .st-note { margin: 0; }
.st-after-side { display: grid; gap: 0; }
.studio h2.st-label { font-size: var(--st-small); font-weight: 400; letter-spacing: .24em; line-height: 1.4; }
.st-after-side > .st-label { margin-bottom: .9rem; }
.st-next { padding: 1.2rem 0 1.4rem; border-top: 1px solid var(--brass-line); }
.st-next h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.st-next h3 label { cursor: pointer; }
.st-next p { margin: 0 0 .9rem; font-size: 1.02rem; line-height: 1.55; color: var(--pair-ink); }
.st-next textarea { margin-bottom: .9rem; }
.st-next .st-change-note { margin: -.35rem 0 .9rem; font-size: .95rem; line-height: 1.45; }

.st-pieces, .st-used { padding-top: clamp(1.5rem, 3vw, 2.25rem); }
.st-pieces > .wrap, .st-used > .wrap, .st-remove > .wrap { border-top: 1px solid var(--hair); padding-top: clamp(2rem, 4vw, 3rem); }
.st-count { margin: .9rem 0 0; font-family: var(--display); font-size: .98rem; color: var(--pair-ink); }
.st-piece-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.4rem, 2.6vw, 2.2rem) clamp(1rem, 2vw, 1.6rem); margin-top: clamp(1.2rem, 2.4vw, 1.8rem); }
.st-piece { min-width: 0; }
.st-piece-img { position: relative; display: block; aspect-ratio: 1; background: var(--st-tile); overflow: hidden; outline: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); outline-offset: -1px; }
.st-piece-img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .7s cubic-bezier(.2,.7,.1,1); }
.st-piece a:hover img { transform: scale(1.04); }
.st-piece-brand { margin: .8rem 0 0; font-family: var(--display); font-size: var(--st-small); letter-spacing: .2em; text-transform: uppercase; color: var(--label); }
.st-piece-name { display: block; padding-block: .75rem; margin-block: -.4rem -.65rem; font-family: var(--display); font-size: 1.05rem; line-height: 1.3; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: var(--brass-line); }
.st-piece-name:hover { color: var(--brass); }
.st-piece p { margin: .35rem 0 0; font-size: .98rem; line-height: 1.5; color: var(--pair-ink); max-width: none; }
.st-sure { display: inline-flex; align-items: center; gap: .45rem; margin-top: .5rem; font-family: var(--display); font-size: var(--st-read); color: var(--muted); }
.st-sure::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; border: 1px solid var(--brass-line); flex: none; }
.st-sure[data-sure="visible"] { color: var(--pair-ink); }
.st-sure[data-sure="visible"]::before { background: var(--brass); border-color: var(--brass); }
.st-sure[data-sure="idea"] { color: var(--pair-ink); }
.st-sure[data-sure="idea"]::before { background: var(--ink); border-color: var(--ink); }
.st-sure[data-sure="uncertain"]::before { background: linear-gradient(90deg, var(--brass) 50%, transparent 50%); }
.st-used-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); margin-top: clamp(1.5rem, 3vw, 2.2rem); }
.st-used-item { min-width: 0; }
.st-used-item .st-move-img { aspect-ratio: 4 / 3; }
.st-used-item .st-move-title { margin: .7rem 0 0; }
.st-used-by { margin: .45rem 0 0; font-family: var(--display); font-size: var(--st-small); letter-spacing: .2em; text-transform: uppercase; color: var(--label); }
.st-used-why { margin: .2rem 0 0; font-size: .96rem; line-height: 1.45; color: var(--pair-ink); max-width: none; }
.st-working-moves .cap { margin: .8rem 0 0; }
.st-plan { margin-top: clamp(1.4rem, 2.8vw, 2rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.4rem) clamp(1.5rem, 4vw, 4rem); max-width: 68rem; }
.st-plan h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.st-plan p { margin: 0; font-size: 1.05rem; }
.st-cost { margin: 1.2rem 0 0; font-family: var(--display); font-size: .9rem; color: var(--muted); }
/* Part 3: a visitor's free first room, the email at the first change, and the one question after sign-up. */
/* The strongest promise on the page, set as one: ink, a size up, with a short brass rule before it (batch 1). */
.st-free { display: flex; align-items: center; gap: .75rem; margin: 1rem 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.3; letter-spacing: 0; color: var(--ink); max-width: none; }
.st-free { align-items: flex-start; }
/* Once a photo is in, the heading steps back to one line, and the promise with it. It was made on the first screen. */
.st-intro[data-compact="true"] .st-free { display: none; }
.st-free::before { content: ""; flex: none; width: 1.6rem; height: 1px; margin-top: .65em; background: var(--brass); }
.st-keep { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.6rem; margin: 0 0 clamp(1.1rem, 2.2vw, 1.6rem); padding: .9rem 1.1rem; background: var(--st-tile); border: 1px solid var(--hair); border-radius: .5rem; }
.st-keep p { flex: 1 1 18rem; margin: 0; font-family: var(--display); font-size: .98rem; line-height: 1.45; color: var(--pair-ink); max-width: 44rem; }
.st-link.st-inline { display: inline; min-height: 0; font-size: inherit; }
/* A written-out email address may break anywhere, so it never runs off a phone screen at large text sizes. */
.st-link.st-inline[href^="mailto:"] { overflow-wrap: anywhere; }
.st-bot { position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; max-width: calc(100vw - 1rem); }
.st-bot:empty { display: none; }
.st-closest #closest-h { margin: 0 0 1rem; font-family: var(--display); font-size: 1.35rem; font-weight: 300; }
.st-closest-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.st-closest-list .st-btn { min-height: 3rem; }
.st-askbox .st-closest-skip { margin: .9rem 0 0; }
@media (max-width: 420px) { .st-closest-list { grid-template-columns: minmax(0, 1fr); } }
.st-remove { padding-top: clamp(1.5rem, 3vw, 2.25rem); }
.st-remove > .wrap { padding-top: 1rem; }
.st-remove-confirm { max-width: 40rem; padding: .4rem 0 0; }
.st-remove-confirm p { margin: 0 0 1rem; font-size: 1.05rem; }
.st-remove-go { display: flex; flex-wrap: wrap; gap: .7rem; }

/* enlarged views */
.st-lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: clamp(.8rem, 2vw, 1.6rem); border: 0; background: rgba(18,22,32,.96); color: #EEE7D9; }
.st-lightbox::backdrop, .st-movebox::backdrop { background: rgba(18,22,32,.9); }
.st-lightbox figure { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: .9rem; justify-items: center; }
.st-lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; align-self: center; }
.st-lightbox figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1.6rem; padding: 0; }
.st-lightbox .st-pills button { color: #EEE7D9; border-color: rgba(238,231,217,.4); }
.st-lightbox .st-pills button[aria-pressed="true"] { background: rgba(238,231,217,.16); border-color: #EEE7D9; box-shadow: inset 0 0 0 1px #EEE7D9; color: #EEE7D9; }
.st-lightbox .st-link { color: #EEE7D9; }
.st-lightbox-close::before { content: "\00d7"; display: inline-block; margin-right: .5rem; font-size: 1.35em; line-height: .6; letter-spacing: 0; vertical-align: -.08em; }
.st-lightbox-close { position: absolute; right: clamp(.8rem, 2vw, 1.6rem); top: clamp(.8rem, 2vw, 1.6rem); z-index: 2; min-height: 2.75rem; padding: .55rem 1.1rem; border: 1px solid rgba(238,231,217,.4); border-radius: 999px; background: rgba(18,22,32,.7); color: #EEE7D9; font-family: var(--display); font-size: var(--st-act); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
/* One short question before a room in progress is cleared. */
.st-askbox { width: min(100vw - 2rem, 35rem); max-width: none; margin: auto; padding: clamp(1.4rem, 3vw, 2rem); border: 0; background: var(--paper); color: var(--ink); }
.st-askbox::backdrop { background: rgba(18,22,32,.9); }
/* The heading, the closing line and the two buttons stay in view. When the choices are taller than the screen (five ideas on a phone), only the choices scroll. */
.st-startbox { width: min(100vw - 2rem, 40rem); max-height: calc(100svh - 2rem); overflow: hidden; }
.st-startbox[open] { display: flex; flex-direction: column; }
.st-startbox > * { flex: none; }
.st-startbox > .st-start-body { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
/* A soft shade at the top or bottom edge shows there is more to scroll to. It is covered when that end is reached. */
.st-startbox > .st-start-body { background: linear-gradient(var(--paper) 40%, transparent) top / 100% 1.6rem no-repeat local, linear-gradient(transparent, var(--paper) 60%) bottom / 100% 1.6rem no-repeat local, linear-gradient(rgba(18,22,32,.2), transparent) top / 100% .7rem no-repeat scroll, linear-gradient(transparent, rgba(18,22,32,.2)) bottom / 100% .7rem no-repeat scroll; }
@media (max-width: 520px) { .st-startbox { max-height: calc(100svh - 1rem); padding: 1.1rem 1.2rem; } .studio .st-startbox h2 { margin-bottom: .7rem; } .st-startbox .st-start-body { margin-bottom: .8rem; } .st-startbox .st-start-body dl { gap: .5rem; } .st-askbox.st-startbox .st-start-say { margin-bottom: .9rem; } .st-startbox .st-remove-go { gap: .5rem; } .st-startbox .st-remove-go .st-btn { padding-left: 1.1rem; padding-right: 1.1rem; } }
.studio .st-startbox h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 0 0 1rem; }
.st-start-body { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.2rem; align-items: start; margin-bottom: 1.1rem; }
.st-start-body img { display: block; width: 100%; max-height: 12rem; object-fit: contain; object-position: left top; }
.st-start-body dl { margin: 0; display: grid; gap: .7rem; }
.st-start-body dt { font-family: var(--display); font-size: var(--st-small); letter-spacing: .2em; text-transform: uppercase; color: var(--label); }
.st-start-body dd { margin: .15rem 0 0; font-size: 1.05rem; line-height: 1.45; overflow-wrap: anywhere; }
.st-start-body ul { margin: 0 0 .3rem; padding: 0; list-style: none; }
.st-start-body dd p { margin: 0; max-width: none; font-size: inherit; }
@media (max-width: 520px) { .st-start-body { grid-template-columns: 5.5rem minmax(0, 1fr); gap: .9rem; } }
.st-askbox p { margin: 0 0 1.3rem; font-size: 1.08rem; line-height: 1.5; }
.st-movebox { width: min(100vw - 2rem, 64rem); max-width: none; max-height: calc(100dvh - 2rem); margin: auto; padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow: auto; }
.st-movebox .st-lightbox-close { background: color-mix(in srgb, var(--paper) 90%, transparent); color: var(--ink); border-color: color-mix(in srgb, var(--ink) 30%, transparent); right: .8rem; top: .8rem; }
.st-movebox-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; }
.st-movebox-img { background: var(--paper-2); display: flex; flex-direction: column; min-height: 14rem; }
.st-movebox-pic { position: relative; margin: 0; display: grid; place-items: center; }
.st-movebox-tag { position: absolute; left: .8rem; bottom: .8rem; padding: .3rem .7rem; background: color-mix(in srgb, var(--paper) 90%, transparent); font-family: var(--display); font-size: var(--st-small); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.st-movebox-pic img { display: block; max-width: 100%; max-height: min(62dvh, 34rem); width: auto; height: auto; object-fit: contain; }
.st-movebox-copy { position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(3.6rem, 5vw, 4rem) clamp(1.2rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2.4rem); }
.st-movebox-copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: .2rem 0 .7rem; }
.st-movebox-copy p { margin: 0 0 .8rem; }
/* A vendor move links to the vendor's page, in the closer look and under the move on a result. */
.st-vendor { min-height: 2.75rem; font-size: .88rem; }
.st-movebox-vendor { margin: 0; }
.st-used-item .st-vendor { margin-top: -.2rem; }
.st-movebox-copy .st-move-credit { margin: 0; font-size: var(--st-small); letter-spacing: .2em; text-transform: uppercase; color: var(--label); }
/* A vendor's product photo under the idea's picture. Select it to enlarge it. (The real room an idea came from is no longer shown: November 14, 2026, night.) */
.st-movebox-real { margin: 0; padding: clamp(.8rem, 1.6vw, 1.2rem); display: grid; justify-items: center; gap: .5rem; }
.st-real-frame { position: relative; display: block; padding: 0; border: 0; background: none; cursor: zoom-in; max-width: 100%; line-height: 0; }
.st-real-frame img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(46dvh, 26rem); }
.st-real-frame { overflow: hidden; }
.st-movebox-real figcaption { font-family: var(--display); font-size: .92rem; line-height: 1.4; color: var(--pair-ink); text-align: center; }
.st-movebox[data-real="big"] .st-movebox-grid { grid-template-columns: minmax(0, 1fr); }
.st-movebox[data-real="big"] .st-movebox-pic { display: none; }
.st-movebox[data-real="big"] .st-real-frame { cursor: zoom-out; }
.st-movebox[data-real="big"] .st-real-frame img { max-height: none; width: 100%; }
.st-movebox[data-real="big"] .st-movebox-copy { position: static; }
.st-movebox-where { font-family: var(--display); font-size: .98rem; color: var(--pair-ink); }
.st-movebox-copy .st-btn { margin-top: .6rem; }

.studio footer { margin-top: clamp(2rem, 4vw, 3rem); padding-block: clamp(2rem, 4vw, 3rem) 2rem; }
.studio footer .cap { max-width: 34rem; }
body[data-view="setup"] footer { margin-top: 0; }

/* ---------- responsive ---------- */
/* ---------- swap a piece, and the shopping list ---------- */
.st-piece { display: flex; flex-direction: column; align-items: flex-start; }
.st-piece > .st-piece-img { align-self: stretch; }
.st-piece-act { padding-top: .7rem; }
/* Item 3 (November 14, 2026): the picture opens Swap, with "Swap" over it on hover, and the actions sit right under it. */
button.st-piece-pic { width: 100%; padding: 0; border: 0; cursor: pointer; color: inherit; font: inherit; }
.st-piece-hover { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--ink) 7%, transparent); opacity: 0; transition: opacity .2s; }
.st-piece-hover span { padding: .55rem 1.2rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: var(--st-act); letter-spacing: .16em; text-transform: uppercase; }
@media (hover: hover) { .st-piece-pic:hover .st-piece-hover { opacity: 1; } .st-piece-pic:hover img { transform: scale(1.03); } }
.st-piece-vendor { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; margin: .45rem 0 -.6rem; text-decoration: none; color: var(--label); }
.st-piece-vendor:hover { color: var(--brass); }
.st-piece-vendor .st-out { flex: none; }
.st-piece-title { margin: .35rem 0 0 !important; font-family: var(--display); font-size: 1.05rem !important; line-height: 1.3 !important; color: var(--ink) !important; }
.st-piece-swap { min-height: 2.75rem; padding: .45rem 1.1rem; font-size: var(--st-act); letter-spacing: .12em; }
.st-piece-to { align-self: stretch; margin-top: .9rem; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .1rem .7rem; align-items: center; padding-top: .8rem; border-top: 1px solid var(--brass-line); }
.st-piece-to .st-thumb { grid-row: 1 / 3; width: 3rem; height: 3rem; }
.st-piece-to .st-label { margin: 0; font-size: var(--st-small); letter-spacing: .16em; align-self: end; }
.st-piece-to b { min-width: 0; overflow-wrap: anywhere; font-family: var(--display); font-weight: 400; font-size: .95rem; line-height: 1.25; align-self: start; }
.st-piece-to .st-link { grid-column: 1 / -1; min-height: 2.75rem; font-size: .88rem; }
.st-swapbar .st-tray-say { max-width: 46rem; }

.st-swap-wait { margin: clamp(1.6rem, 4vw, 3rem) 0; font-family: var(--display); font-size: 1.05rem; color: var(--pair-ink); max-width: 40rem; }
.st-swap-none { margin: 1.2rem 0 0; font-family: var(--display); color: var(--pair-ink); }
.st-swap-more { display: flex; justify-content: center; margin-top: clamp(1.4rem, 2.8vw, 2rem); }
.st-swapbox { width: min(100vw - 2rem, 76rem); max-width: none; height: min(100dvh - 2rem, 58rem); max-height: none; margin: auto; padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow: hidden; }
.st-swapbox[open] { display: flex; flex-direction: column; }
.st-swapbox::backdrop { background: rgba(18,22,32,.9); }
.st-swap-head { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem 2rem; align-items: end; padding: clamp(1.1rem, 2.4vw, 1.8rem) clamp(1.1rem, 3vw, 2.4rem) 1rem; border-bottom: 1px solid var(--hair); }
.st-swap-head .st-label { margin: 0 0 .35rem; }
.st-swap-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.st-swap-now { display: flex; align-items: center; gap: .8rem; min-width: 0; font-family: var(--display); font-size: .92rem; line-height: 1.35; color: var(--pair-ink); }
.st-swap-now .st-thumb { width: 3.25rem; height: 3.25rem; }
.st-swap-now i { display: block; font-style: normal; color: var(--muted); }
.st-swap-now b { display: block; font-weight: 400; color: var(--ink); }
.st-swap-close { grid-column: 3; grid-row: 1; justify-self: end; align-self: start; }
/* The room in view while choosing: a small picture of the room as it is now, in the frozen bar of the swap picker and of
   the design ideas box, to the left of Close. It opens larger over the list. */
.st-swap-head { grid-template-columns: minmax(0, 1fr) auto auto; }
.st-peek { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: grid; justify-items: center; gap: .3rem; padding: 0; border: 0; background: none; color: var(--label); font-family: var(--display); font-size: var(--st-small); letter-spacing: .16em; text-transform: uppercase; cursor: zoom-in; }
.st-peek img { display: block; height: 5.6rem; width: auto; max-width: 9.5rem; object-fit: cover; outline: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); outline-offset: -1px; background: var(--paper-2); transition: outline-color .25s; }
.st-peek:hover img, .st-peek:focus-visible:not(:where(.pointer-focus)) img { outline: 2px solid var(--ink); outline-offset: 2px; }
.st-peek:focus-visible { outline: none; }
/* Fixed, as a modal box is by default. It was "relative", which in the top layer means absolute: the box sat at the top of the
   page, so opening it took the page to the top and the person lost their place (found November 12, 2026). */
.st-swapbox { position: fixed; }
.st-peek-big { position: absolute; inset: 0; z-index: 5; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; gap: 1rem; padding: clamp(1rem, 3vw, 2rem); background: rgba(18,22,32,.96); cursor: zoom-out; }
.st-peek-big[hidden] { display: none; }
.st-peek-big img { display: block; max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; }
.st-peek-big .st-btn { color: #EEE7D9; border-color: rgba(238,231,217,.5); }
/* Every enlarged view closes the same way (item 4, November 14, 2026): a close mark in the top-right corner, Escape, and a
   click outside the picture. The enlarged room in Swap a piece and Change a design idea keeps Back to the list as well. */
.st-peek-big { grid-template-rows: minmax(0, 1fr) auto; padding-top: clamp(4rem, 8vw, 4.6rem); }
.st-peek-big .st-lightbox-close { right: clamp(.8rem, 2vw, 1.2rem); top: clamp(.8rem, 2vw, 1.2rem); }
/* Design ideas on a finished room. The box is the swap picker's, with the parts of the room as pills and an Update room bar. */
.st-idea-parts { padding-top: clamp(1.1rem, 2.2vw, 1.6rem); }
.st-idea-parts .st-label { margin: 0 0 .6rem; }
.st-idea-parts .st-pills small { margin-left: .55rem; padding-left: .55rem; border-left: 1px solid var(--brass-line); font-size: var(--st-read); letter-spacing: .02em; color: var(--muted); }
@media (min-width: 1101px) { .st-swap-grid.st-idea-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 901px) and (max-width: 1100px) { .st-swap-grid.st-idea-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.st-idea .st-opt-img { aspect-ratio: 4 / 3; }
.st-idea .st-opt-img img { padding: 0; object-fit: cover; }
.st-idea .st-opt-name { margin-top: .7rem; font-size: 1.08rem; }
.st-idea-credit { margin: .3rem 0 .6rem; font-family: var(--display); font-size: var(--st-read); color: var(--muted); max-width: none; }
.st-idea .st-btn { margin-top: auto; }
.st-idea[data-now="true"] .st-opt-img { outline: 2px solid var(--brass); outline-offset: 2px; }
.st-idea-foot { flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; padding: .9rem clamp(1.1rem, 3vw, 2.4rem); border-top: 1px solid var(--hair); background: color-mix(in srgb, #fff 30%, var(--paper)); }
.st-idea-foot[hidden] { display: none; }
.st-idea-say { margin: 0; flex: 1 1 18rem; font-family: var(--display); font-size: .98rem; line-height: 1.45; color: var(--pair-ink); max-width: none; }
.st-idea-say b { font-weight: 400; color: var(--ink); }
.st-used-item .st-used-change { min-height: 2.2rem; font-size: .88rem; }
.st-used-more { margin: clamp(1.4rem, 3vw, 2rem) 0 0; max-width: none; }
.st-swap-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 clamp(1.1rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2.2rem); }
.st-swap-sec { padding-top: clamp(1.2rem, 2.4vw, 1.7rem); }
.st-swap-sec + .st-swap-sec { margin-top: clamp(1.4rem, 2.8vw, 2rem); border-top: 1px solid var(--hair); }
.st-swap-sec h3 { font-size: 1.35rem; }
.st-swap-sec h3 span { margin-left: .6rem; font-family: var(--display); font-size: var(--st-small); letter-spacing: .2em; text-transform: uppercase; color: var(--label); }
.st-swap-sec > p { margin: .3rem 0 0; font-size: 1rem; color: var(--pair-ink); max-width: 44rem; }
.st-swap-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1.3rem, 2.4vw, 1.9rem) clamp(.9rem, 1.8vw, 1.4rem); margin-top: clamp(1rem, 2vw, 1.4rem); }
.st-opt { min-width: 0; display: flex; flex-direction: column; }
.st-opt-img { position: relative; display: block; aspect-ratio: 1; background: var(--st-tile); outline: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); outline-offset: -1px; }
.st-opt-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.st-opt[data-picked="true"] .st-opt-img { outline: 2px solid var(--ink); outline-offset: 2px; }
.st-opt-tag { position: absolute; left: 0; top: 0; z-index: 1; padding: .3rem .65rem; background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 400; font-size: var(--st-small); letter-spacing: .14em; text-transform: uppercase; }
.st-opt-brand { margin: .7rem 0 0; font-family: var(--display); font-size: var(--st-small); letter-spacing: .2em; text-transform: uppercase; color: var(--label); }
.st-opt-name { margin: .2rem 0 0; font-family: var(--display); font-size: 1rem; line-height: 1.3; max-width: none; }
.st-opt-size { margin: .2rem 0 0; font-size: .92rem; line-height: 1.4; color: var(--pair-ink); max-width: none; }
.st-opt .st-link { margin-top: auto; min-height: 2.75rem; font-size: var(--st-read); align-self: start; }
.st-opt .st-btn { min-height: 2.75rem; padding: .45rem 1rem; font-size: var(--st-act); letter-spacing: .12em; align-self: start; }
.st-swap-know { margin: clamp(1.4rem, 2.8vw, 2rem) 0 0; padding-top: 1rem; border-top: 1px solid var(--hair); font-family: var(--text); font-style: italic; font-size: .98rem; color: var(--muted); max-width: 46rem; }

.st-swapped { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.4rem; margin: 0 0 1rem; padding: .5rem 1rem; border-left: 2px solid var(--brass); background: color-mix(in srgb, var(--paper-2) 60%, transparent); font-family: var(--display); font-size: .95rem; }
.st-swapped p { margin: 0; max-width: none; }
.st-compare-left { display: flex; gap: .4rem; }
.st-compare .st-compare-left button { display: inline-block; width: auto; aspect-ratio: auto; max-height: none; overflow: visible; min-height: 2.75rem; padding: .6rem .1rem .5rem; line-height: inherit; margin-right: 1rem; border: 0; background: none; font-family: var(--display); font-size: var(--st-act); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); cursor: pointer; border-bottom: 1px solid transparent; }
.st-compare-left button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--brass); }

.st-shop > .wrap { border-top: 1px solid var(--hair); padding-top: clamp(2rem, 4vw, 3rem); }
.st-shop { padding-top: clamp(1.5rem, 3vw, 2.25rem); }
.st-shop-tools { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; margin-top: .6rem; }
.st-shop-vendor { margin-top: clamp(1.4rem, 2.8vw, 2rem); }
.st-shop-vendor > header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--brass-line); }
.st-shop-vendor h3 { font-size: 1.35rem; }
.st-shop-vendor > header .st-link { min-height: 2.75rem; font-size: .9rem; white-space: nowrap; }
.st-shop-row { display: grid; grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 4fr) 5.5rem 11.5rem; gap: .2rem clamp(.9rem, 2vw, 1.6rem); align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--hair); }
.st-shop-row .st-thumb { width: 4rem; height: 4rem; }
.st-shop-url, .st-shop-for { display: none; }
.st-shop-tools .st-note { align-self: center; margin: 0; }
.st-shop-row p { margin: 0; max-width: none; font-size: .98rem; line-height: 1.4; color: var(--pair-ink); }
.st-shop-row .st-shop-name { font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
.st-shop-row .st-shop-kind { font-family: var(--display); font-size: var(--st-small); letter-spacing: .2em; text-transform: uppercase; color: var(--label); }
.st-shop-row .st-shop-qty { font-family: var(--display); }
.st-shop-row .st-link { min-height: 2.75rem; font-size: .9rem; white-space: nowrap; justify-self: end; }


/* Product photos. One tile for every piece: white ground, hairline edge. A photograph with its own background fills the whole tile. */
.st-thumb { position: relative; flex: none; display: block; background: var(--st-tile); overflow: hidden; outline: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); outline-offset: -1px; }
.st-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.st-swapbar .st-tray-chip { background: #fff; outline: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); outline-offset: -1px; }
.st-swapbar .st-tray-chip img { object-fit: contain; padding: 6%; }
[data-photo="photo"] > img { padding: 0; object-fit: cover; }
.st-working-moves .st-thumb { width: 3.4rem; height: 3.4rem; }
.st-working-moves .st-thumb img { width: 100%; height: 100%; object-fit: contain; background: none; }
.st-working-moves [data-photo="photo"] img { object-fit: cover; }

@media (max-width: 1100px) {
  .st-move-grid, .st-room-grid, .st-piece-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-move-grid[data-shape="strip"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-used-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .st-gate-grid, .st-working-grid, .st-after { grid-template-columns: minmax(0, 1fr); }
  .st-gate-photo { display: none; }
  .st-working-photo { order: 2; }
  .st-working-photo img { max-height: 46svh; }
  .st-after { row-gap: clamp(1.8rem, 5vw, 2.4rem); }
  .st-used-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .st-step-toggle { grid-template-columns: minmax(0, 1fr) auto; row-gap: .15rem; }
  .st-step-sum { grid-column: 1 / -1; grid-row: 2; }
  .st-step[data-state="open"] .st-step-sum { display: none; }
  .st-step-edit { grid-column: 2; grid-row: 1; }
  .st-step-body { padding-left: 0; }
  .st-parts-wrap { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .st-tips-toggle { display: inline-flex; }
  .st-tips-box { margin-top: .9rem; border-top: 1px solid var(--hair); }
  .st-tips-box[data-open="false"] .st-tips { display: none; }
  .st-tips { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .st-tips li { padding-block: .7rem; }
  .st-tips b { display: inline; }
  .st-choices { grid-template-columns: minmax(0, 1fr); }
  .st-move-grid, .st-room-grid, .st-piece-grid, .st-used-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-move-grid[data-shape="strip"] { grid-template-columns: minmax(0, 1fr); }
  .st-plan { grid-template-columns: minmax(0, 1fr); }
  .st-flip { display: flex; }
  .st-compare, .st-compare[data-single="true"] { --h: 70svh; grid-template-columns: minmax(0, 1fr); max-width: calc(var(--h) * var(--ar, 1.5)); }
  .st-compare-tools { max-width: calc(70svh * var(--ar, 1.5)); }
  .st-compare figure { grid-area: 1 / 1; }
  .st-compare[data-showing="after"] figure[data-side="before"], .st-compare[data-showing="before"] figure[data-side="after"] { visibility: hidden; }
  .st-compare figcaption { display: none; }
  .st-field-row { flex-direction: column; }
  .st-code input { min-height: 3.1rem; }
  .st-tray-chip { width: 2.75rem; height: 2.75rem; }
  /* On a phone the bar is two rows: where things stand, then the chosen moves and the button. */
  .st-tray > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "say say" "moves go"; align-items: center; gap: .3rem .8rem; padding-block: .55rem; }
  .st-tray-go { display: contents; }
  .st-tray-say { grid-area: say; text-align: left; max-width: none; }
  .st-swapbar .st-tray-moves { grid-area: moves; flex: initial; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: .45rem .45rem 0 0; }
  .st-tray #go, .st-tray #swap-go { grid-area: go; }
  /* The ideas bar on a phone: the line, the switch, then Show chosen and the button. The names open as a list above them.
     Once the ideas have been scrolled, only the last row stays, so there is room to look. A message always shows. */
  #tray > .wrap { display: grid; grid-template-areas: "moves moves" "say say" "show go"; }
  #tray .st-tray-moves { grid-area: moves; }
  #tray[data-open="true"] .st-tray-moves:not([data-n="0"]) { grid-template-columns: minmax(0, 1fr); margin-bottom: 0; padding-bottom: .3rem; }
  #tray .st-tray-say { grid-area: say; display: block; }
  #tray .st-tray-adds { flex-wrap: nowrap; justify-content: space-between; margin-top: .2rem; }
  #tray .st-tray-adds .st-switch-label { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
  .st-tray-show { grid-area: show; justify-self: start; }
  .st-tray-cost { display: none; }
  .st-room-go { flex-wrap: nowrap; }
  .st-room-go .st-btn { flex: 1 1 auto; min-width: 0; }
  .st-tray .st-btn { padding-inline: 1.1rem; letter-spacing: .14em; }
  .st-nav { font-size: .9rem; }
  .st-movebox-grid { grid-template-columns: minmax(0, 1fr); }
  .st-movebox-pic img { max-height: 52dvh; }
  .st-movebox-img { display: contents; }
  .st-movebox-pic { order: 1; background: var(--paper-2); }
  .st-movebox-copy { order: 2; position: static; }
  .st-movebox-real { order: 3; background: var(--paper-2); }
  .st-movebox-options { order: 4; padding-top: .8rem; }
  .st-movebox-opts { max-height: none; }
  .st-movebox-copy { padding-top: 1.3rem; }
  .st-slot-foot .st-btn { flex: 1; }
}
@media (max-width: 420px) {
  /* A phone: the bar holds the wordmark, Your rooms and the account (Admin and Sign out are in the account's menu since
     November 14, 2026, so nothing has to squeeze in beside them). The style is the wordmark's link too. */
  .st-nav a { display: none; }
  .st-tray .st-btn { padding-inline: .95rem; letter-spacing: .1em; }
  .st-tray-moves { gap: .5rem; }
  .st-tray-go { gap: .8rem; }
}
@media (max-width: 360px) {
  .st-tray-moves { gap: .45rem; }
}
@media (prefers-reduced-motion: reduce) {
  .st-working-photo::after, .st-progress li[data-state="now"]::before { animation: none; }
  .studio *, .studio *::before, .studio *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Netlify adds its own collaboration bar to Deploy Previews only. Keep it clear of the design bar. */
body[data-view="setup"] div[data-netlify-deploy-id] { bottom: 7.5rem !important; }
/* The suggestions fill one row where there is room for one. */
@media (min-width: 1101px) { .st-swap-sug .st-opt:nth-child(n+6) { display: none; } }
@media (min-width: 901px) and (max-width: 1100px) { .st-swap-sug .st-opt:nth-child(n+5) { display: none; } }
@media (max-width: 1100px) { .st-swap-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .st-swap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .st-swapbox { width: 100vw; height: 100dvh; }
  .st-swap-head { grid-template-columns: minmax(0, 1fr) auto auto; gap: .5rem .8rem; }
  .st-swap-now { grid-column: 1 / -1; }
  /* On a phone the room is a thumbnail beside Close. A tap opens it larger. */
  .st-peek { grid-row: 1; align-self: start; }
  .st-peek span { display: none; }
  .st-peek img { height: 2.9rem; max-width: 4.4rem; }
  .st-idea-foot .st-btn { flex: 1 1 100%; }
  /* The parts of the room are one row that scrolls sideways, so the ideas are on the first screen. */
  .st-idea-parts .st-pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * clamp(1.1rem, 3vw, 2.4rem)); padding: 2px clamp(1.1rem, 3vw, 2.4rem) .5rem; scrollbar-width: thin; }
  .st-idea-parts .st-pills button { flex: none; }
  .st-ideabox .st-swap-head h2 { font-size: 1.45rem; }
  .st-swap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-shop-row { grid-template-columns: 3.5rem minmax(0, 1fr) auto; }
  .st-shop-row .st-thumb { width: 3.5rem; height: 3.5rem; grid-row: 1 / 3; }
  .st-compare-left { display: none; }
  .st-shop-row .st-shop-size { grid-column: 2 / -1; }
  .st-shop-row .st-shop-qty { grid-column: 3; grid-row: 1; text-align: right; }
  .st-shop-row .st-link { grid-column: 2 / -1; justify-self: start; }
}

/* Printing the shopping list prints the list and nothing else, with each address written out. */
@media print {
  body[data-print="list"] { background: #fff; }
  body[data-print="list"] .top, body[data-print="list"] footer, body[data-print="list"] .st-tray, body[data-print="list"] .st-result, body[data-print="list"] .st-pieces, body[data-print="list"] .st-used, body[data-print="list"] .st-remove, body[data-print="list"] .st-shop-tools, body[data-print="list"] .st-shop .st-sub, body[data-print="list"] .st-shop-row .st-shop-view, body[data-print="list"] .st-shop-vendor > header .st-link, body[data-print="list"] dialog:not(#shopbox) { display: none !important; }
  body[data-print="list"] .st-shop, body[data-print="list"] .st-shop > .wrap { padding-top: 0; border: 0; }
  body[data-print="list"] .st-shop-for, body[data-print="list"] .st-shop-url { display: block; }
  body[data-print="list"] .st-shop-print-say { display: inline; }
  body[data-print="list"] .st-shop-url { font-size: .8rem; color: #444; overflow-wrap: anywhere; }
  body[data-print="list"] .st-shop-row { grid-template-columns: 3.5rem minmax(0, 6fr) minmax(0, 3fr) 5.5rem; break-inside: avoid; }
  body[data-print="list"] .st-shop-vendor > header { break-after: avoid; }
}

/* F2: on the narrowest phones the note's label keeps to one line. Its letters sit closer there, at the same size. */
@media (max-width: 380px) { .st-set > label[for="keeps"] { letter-spacing: .06em; } .st-set > label[for="keeps"] .st-optional { margin-left: .35rem; } }

/* A3: which rooms the studio can do, said on the access screen and on the first screen. */
.st-which { margin: .9rem 0 0; font-family: var(--display); font-size: .98rem; line-height: 1.5; color: var(--label); max-width: 40rem; }
.st-intro[data-compact="true"] .st-which { display: none; }
.st-which-other { margin-top: .6rem; font-size: .92rem; }

/* D1: the studio shows no prices, and says where they are. This line prints with the list. */
/* On paper the introduction is left out, because it talks about links. The line about what is not listed still prints. */
.st-shop-print-say { display: none; }
.st-shop-say { margin: .5rem 0 0; font-family: var(--display); font-size: .98rem; color: var(--pair-ink); max-width: 42rem; }

/* D3: pieces the picture did not draw sit apart under The pieces and stay off the shopping list unless the visitor adds one. */
.st-missing { margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(1.4rem, 2.8vw, 2rem); border-top: 1px solid var(--hair); }
.st-missing h3 { font-size: 1.35rem; }
.st-missing > p { margin: .4rem 0 0; max-width: 42rem; font-size: 1rem; color: var(--pair-ink); }
.st-piece-act { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.1rem; }
.st-piece-list { min-height: 2.75rem; font-size: .9rem; text-align: left; }
.st-shop-row .st-shop-finish, .st-shop-row .st-shop-added { font-family: var(--display); font-size: .88rem; color: var(--muted); }
.st-piece-size { font-family: var(--display); }

/* D6: the full list in the swap picker has a search box, menus and a sort. Menus are the browser's own, so nothing scrolls sideways. */
.st-swap-tools { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem 1rem; margin-top: 1rem; }
.st-swap-pick { display: grid; gap: .3rem; min-width: 0; flex: 0 1 10rem; }
/* A field label is read to act, so it is 13 px like "Access code". */
.st-swap-pick .st-label { margin: 0; font-size: var(--st-act); }
.st-swap-search { flex: 1 1 15rem; max-width: 22rem; }
.studio .st-swap-pick input { width: 100%; height: 2.75rem; padding: 0 1.1rem; border: 1px solid var(--ink); border-radius: 999px; background: color-mix(in srgb, #fff 38%, var(--paper)); color: var(--ink); font-family: var(--display); font-size: 1rem; -webkit-appearance: none; appearance: none; }
.studio .st-swap-pick input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); opacity: 1; }
.studio .st-swap-pick select:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: 2px; }
.st-swap-found { margin: .9rem 0 0; font-family: var(--display); font-size: .98rem; color: var(--pair-ink); max-width: none; }
.st-swap-found:empty { display: none; }
.st-swap-found .st-link { min-height: 2.75rem; margin-left: .6rem; font-size: .95rem; }
#swap-list .st-swap-grid { margin-top: 1.1rem; }
.st-opt-sug { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 720px) { .st-swap-pick { flex: 1 1 calc(50% - .5rem); } .st-swap-search { flex-basis: 100%; max-width: none; } }

/* D5: every product photo sits on the same tile. A cut-out blends into the tile, so no white box shows around it. A photograph
   with its own background fills the tile edge to edge. A piece on its way out keeps its photo and is marked in words. */
[data-photo="cut"] > img { mix-blend-mode: multiply; }
.st-piece-out { z-index: 1; }

/* F6: Your rooms. A search box and a row of room types once there are more than eight rooms, 24 rooms at a time, and the
   photo each room was made from in the corner of its card. */
.st-rooms-tools { display: flex; flex-wrap: wrap; align-items: end; gap: .9rem 2rem; margin-bottom: clamp(1rem, 2vw, 1.4rem); }
.st-rooms-tools[hidden] { display: none; }
.st-rooms-tools .st-swap-search { flex: 1 1 16rem; max-width: 24rem; }
.st-rooms-types { min-width: 0; }
.st-rooms-types .st-label { margin: 0 0 .3rem; font-size: var(--st-act); }
.st-rooms-types .st-pills button { min-height: 2.75rem; }
.st-rooms-n { margin-left: .25rem; color: var(--muted); }
#rooms-found { margin: 0 0 1rem; }
#rooms-more-wrap[hidden] { display: none; }
.st-room-img { position: relative; }
.st-rooms-menu { display: none; }
@media (max-width: 720px) { .st-rooms-types { flex: 1 1 100%; } .st-rooms-types .st-pills { display: none; } .st-rooms-menu { display: block; } }
/* A card whose name wraps to two lines is taller. The cards beside it keep to the top of the row, so the pictures stay level. */
.st-room-grid { align-items: start; }

/* ---------- Parts 5, 6 and 7 ---------- */
/* Links in the dark footer (section 2 of the design). */
footer .st-link { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 55%, transparent); }
.st-foot-links { margin-top: .6rem; }
.st-foot-links .st-link + .st-link { margin-left: 1.5rem; }
/* The next step, after the design ideas: a navy panel that offers an introduction to a designer, in the place of the
   one line that sat under the shopping list (Jeff, November 11, 2026). Since November 18, 2026 (Jeff) it is a full-width
   band like the main page's navy sections, with its words on the page's own left edge, and it meets the footer with no
   cream between them, the way the main page's closing does. It is the last thing on a finished room. */
.st-help { margin-top: clamp(2rem, 4vw, 3rem); padding-block: clamp(3rem, 6vw, 5rem); background: var(--navy); color: var(--on-navy); }
body[data-view="result"]:has(#help:not([hidden])) footer { margin-top: 0; }
.st-help .eyebrow { color: #D2AE68; }
.st-help h2 { margin-top: .6rem; color: var(--on-navy); }
.st-help h2 em { color: #D2AE68; }
.st-help-say { margin-top: 1rem; max-width: 40rem; font-family: var(--text); font-size: var(--lede-size); line-height: 1.5; color: #CFC8BA; }
.st-help-go { margin-top: clamp(1.3rem, 2.4vw, 1.8rem); }
.st-help-btn { min-height: 3.25rem; padding: .85rem 2rem; background: #EEE7D9; border-color: #EEE7D9; color: #121620; font-weight: 500; }
.st-help-btn:hover:not(:disabled), .st-help-btn:focus-visible { background: #D2AE68; border-color: #D2AE68; color: #121620; }
/* Under the button, a quieter line for designers (Jeff, November 18, 2026): smaller than the paragraph, in its light
   color, with a link like the main page's quiet links on the dark closing. The button stays the main action. */
.st-help-more { margin-top: clamp(1rem, 1.8vw, 1.3rem); max-width: 40rem; font-family: var(--text); font-size: .98rem; line-height: 1.6; color: #CFC8BA; }
.st-help-more a { color: #D2AE68; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; text-decoration-color: color-mix(in srgb, #D2AE68 55%, transparent); transition: text-decoration-color .2s; }
.st-help-more a:hover, .st-help-more a:focus-visible { text-decoration-color: #D2AE68; }
body[data-print="list"] .st-help { display: none; }
@media (max-width: 480px) { .st-help-btn { width: 100%; padding-inline: 1rem; white-space: normal; text-align: center; } }
/* The privacy page (/studio/privacy/, section 7 of the design): one readable column in the studio's own type. */
.st-plain [hidden] { display: none; }
.st-privacy { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.st-privacy .wrap > * { max-width: 44rem; }
.st-privacy h1 { margin: 0 0 1.2rem; }
.st-privacy h2 { margin: clamp(2.2rem, 4vw, 3rem) 0 .9rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.st-privacy p, .st-privacy li, .st-privacy dd { font-family: var(--text); font-size: 1.08rem; line-height: 1.62; color: var(--pair-ink); }
.st-privacy p { margin: 0 0 1rem; }
/* The eyebrow keeps the site's own eyebrow (Jost capitals in the label colour) on these reading pages too: the running
   text rule above used to turn it into the serif in ink on Privacy, Terms, the AI assistant page, Contact and the connect
   page (Jeff, November 30, 2026). */
.st-privacy p.eyebrow { font-family: var(--display); font-size: var(--st-small); line-height: 1.65; color: var(--label); margin: 0 0 .75rem; }
.st-privacy .lede { font-size: var(--lede-size); color: var(--ink); }
.st-privacy ul { margin: 0 0 1rem; padding-left: 1.15rem; }
.st-privacy li { margin: 0 0 .55rem; }
.st-privacy li b, .st-privacy dt { font-family: var(--display); font-weight: 400; color: var(--ink); }
.st-privacy-list { margin: 0 0 1.2rem; }
.st-privacy-list > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .25rem 1.25rem; padding: .8rem 0; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.st-privacy-list > div:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.st-privacy-list dt { font-size: 1.02rem; }
.st-privacy-list dd { margin: 0; }
.st-privacy-back { margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 520px) { .st-privacy-list > div { grid-template-columns: minmax(0, 1fr); } }
/* On a phone the studio's header drops its links. The privacy page keeps the one that leads back to the studio. */
.st-plain .st-nav a[href="../"] { display: inline-flex; }
/* Sample rooms (section 11 of the design): one quiet row under the photo box, and the lines on a sample's result. */
.st-samples { margin: clamp(1.2rem, 2.4vw, 1.7rem) 0 0; max-width: var(--photo-standard); }
.st-samples-say { margin: 0 0 .7rem; font-family: var(--display); font-size: .98rem; color: var(--pair-ink); }
.st-samples-row { display: grid; grid-template-columns: repeat(3, minmax(0, 11rem)); gap: .8rem; }
.st-sample-pick { display: grid; gap: .4rem; padding: 0; margin: 0; border: 0; background: none; color: var(--ink); font-family: var(--display); font-size: .9rem; text-align: left; cursor: pointer; }
.st-sample-pick img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .25rem; outline: 1px solid transparent; outline-offset: 2px; transition: outline-color .2s; }
.st-sample-pick:hover img, .st-sample-pick:focus-visible img { outline-color: var(--brass-line); }
.st-sample .st-label { margin: 0 0 .25rem; }
.st-sample > div { flex: 1 1 18rem; }
.st-sample .cap { margin: .35rem 0 0; }
/* Someone else's sample has no rating, nothing to keep and nothing to remove. */
.studio[data-sample="true"] #react, .studio[data-sample="true"] #keep-free, .studio[data-sample="true"] #remove-ask, .studio[data-sample="true"] #remove-confirm { display: none; }
/* Delete my account, at the foot of Your rooms. */
.st-account { margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding-top: 1.2rem; border-top: 1px solid var(--hair); }
.st-account .cap { margin: .6rem 0 0; }

/* While the studio looks at the photo: a small turning ring before the line. The room buttons stay usable, and a room
   the visitor picks wins over the reading. The room it then chooses glows once (November 11, 2026). */
.st-note[data-busy="true"] { display: flex; align-items: center; gap: .6rem; }
/* "Looking at your photo." is the only thing moving on The room, so it reads in the ink colour while it is busy (Jeff, November 30, 2026). */
#room-note[data-busy="true"] { color: var(--ink); }
.st-note[data-busy="true"]::before { content: ""; flex: none; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--brass) 30%, transparent); border-top-color: var(--brass); animation: st-turn .8s linear infinite; }
@keyframes st-turn { to { transform: rotate(360deg); } }
#rooms [data-room][data-just="true"] { animation: st-pulse 1.1s ease-out 2; }
/* A question still to answer when Design this room is pressed: a gold line beside it and what to do. */
.st-set[data-need="true"] { position: relative; }
.st-set[data-need="true"]::before { content: ""; position: absolute; left: calc(-1 * clamp(.7rem, 1.4vw, 1.1rem)); top: 0; bottom: 0; width: 3px; background: var(--brass); }
.st-set[data-need="true"] .st-note:not(:empty) { color: var(--ink); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .st-note[data-busy="true"]::before { animation-duration: 2.4s; } #rooms [data-room][data-just="true"] { animation: none; } }

/* ---------- The room step and its design ideas (November 11, 2026, Jeff, with Codex) ----------
   The example for Anything to keep or add sits outside the box. Design ideas are an optional section inside the room step:
   one heading row that opens and closes it, with a chevron and the count. While it is open the bar at the bottom carries the
   one Design this room button, so the step's own button steps aside. Categories are one at a time: a list down the left on a
   wide screen, a labelled menu with a step either way on anything narrower. */
.st-set > label[for="keeps"] { margin-bottom: .35rem; }
.st-hint { margin: 0 0 .7rem; max-width: 40rem; font-family: var(--display); font-size: .92rem; line-height: 1.45; color: var(--muted); }
.studio #keeps::placeholder { color: transparent; }
/* Design ideas is the last question in The room, so it looks like the others (Jeff, November 13, 2026): the same small
   label, Optional as in "Anything to keep or add?", the line under it like their hints, and no rules round it. The
   arrow beside the label says it opens. */
.st-ideas { margin: 0 0 clamp(1.5rem, 3vw, 2.1rem); max-width: none; }
.st-ideas-head { margin: 0; font: inherit; letter-spacing: 0; }
.st-ideas-toggle { width: 100%; min-height: 2.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st-ideas-title { font-family: var(--display); font-weight: 400; font-size: var(--st-small); letter-spacing: .24em; text-transform: uppercase; color: var(--label); }
.st-ideas-opt { margin-left: .5rem; font-size: var(--st-read); letter-spacing: .04em; text-transform: none; color: var(--muted); }
.st-ideas-count { order: 2; font-family: var(--display); font-size: .95rem; color: var(--pair-ink); }
.st-chev { order: 1; align-self: center; flex: none; width: .6rem; height: .6rem; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-3px) rotate(45deg); transition: transform .25s; }
.st-ideas[data-open="true"] .st-chev { transform: translateY(2px) rotate(-135deg); }
.st-ideas-toggle:hover .st-ideas-title { color: var(--ink); }
.st-ideas-toggle:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: 4px; }
.st-ideas-say { margin: 0; padding: .1rem 0 0; max-width: 42rem; font-family: var(--display); font-size: .95rem; line-height: 1.45; color: var(--pair-ink); cursor: pointer; }
.st-ideas-body { padding-bottom: 1.2rem; }
.st-ideas-body > .st-sub { margin-top: 0; }
.st-step-body:has(> .st-ideas[data-open="true"]) > .st-step-foot { display: none; }
.st-ideas-browse { margin-top: clamp(1rem, 2vw, 1.4rem); }
.st-parts-label { margin: 0; padding-top: .5rem; font-family: var(--display); font-size: var(--st-small); letter-spacing: .24em; text-transform: uppercase; color: var(--label); }
.st-slot-next { font-size: 1rem; }
.st-slot-foot { justify-content: space-between; }
.st-slot-foot > .st-slot-next:only-child { margin-left: auto; }
/* A chosen idea that Furniture only will not use says so on its card. */
.st-move-unused { display: block; margin-top: .3rem; font-family: var(--display); font-size: var(--st-read); color: #8B3A22; }
.st-move-unused[hidden] { display: none; }
/* Wide screens: the categories down the left, the ideas beside them. */
@media (min-width: 1101px) {
  .st-ideas-browse { display: grid; grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr); column-gap: clamp(1.5rem, 3vw, 2.75rem); align-items: start; }
  .st-ideas-browse .st-parts-wrap { position: sticky; top: calc(var(--st-top) + 1rem); margin: 0; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; max-height: calc(100svh - var(--st-top) - 7rem); overflow-y: auto; overscroll-behavior: contain; }
  .st-ideas-browse .st-parts-label { padding: 0 0 .6rem; }
  .st-ideas-browse .st-parts { flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 0; border-top: 1px solid var(--hair); }
  .st-ideas-browse .st-part { width: 100%; justify-content: flex-start; min-height: 2.75rem; padding: .55rem .8rem; border: 0; border-left: 2px solid transparent; border-bottom: 1px solid var(--hair); border-radius: 0; background: none; box-shadow: none; white-space: normal; text-align: left; line-height: 1.3; }
  .st-ideas-browse .st-part:hover { background: color-mix(in srgb, #fff 25%, var(--paper)); }
  .st-ideas-browse .st-part[aria-current="true"] { border-left-color: var(--ink); background: color-mix(in srgb, #fff 45%, var(--paper)); }
  .st-ideas-browse .st-part[aria-current="true"]::after { display: none; }
  /* The mark at the start of each category is empty until an idea is chosen there, then a gold tick. */
  .st-ideas-browse .st-part .st-part-mark { order: 2; margin: 0 0 0 auto; opacity: 0; }
  .st-ideas-browse .st-part[data-chosen="true"] { background: none; box-shadow: none; }
  .st-ideas-browse .st-part[aria-current="true"][data-chosen="true"] { background: color-mix(in srgb, #fff 45%, var(--paper)); }
  .st-ideas-browse .st-part[data-chosen="true"] .st-part-mark { opacity: 1; color: var(--brass); margin: -.2rem .1rem 0 auto; }
  .st-ideas-browse .st-slot { scroll-margin-top: calc(var(--st-top) + 1rem); }
}
.st-part[data-kept="true"] { color: var(--muted); }
/* Narrower screens: one labelled menu at the top of the ideas, with a step either way. */
@media (max-width: 1100px) {
  .st-ideas-browse .st-parts-wrap { padding-top: 0; }
  .st-parts-label { padding-top: .45rem; }
}

/* Design ideas closed: the section ends at the form's right edge, like the questions above it. Open, the ideas use the
   full width, and the heading row and its chevron stay where they were (November 11, 2026). */
.st-ideas[data-open="false"] { max-width: 56rem; }
.st-ideas-toggle, .st-ideas-say { max-width: 56rem; }
/* A chosen idea is the whole card: an ink line around picture and words, a warm tint behind the words, and the tick on
   the picture. Every card has the same padding, chosen or not, so nothing moves (November 11, 2026, with Codex). */
.st-move-grid { margin-inline: -.55rem; }
.st-move-pick { padding: .55rem .55rem .75rem; outline: 2px solid transparent; outline-offset: -2px; transition: background-color .25s, outline-color .25s; }
.st-move-pick:hover { background: color-mix(in srgb, #fff 20%, var(--paper)); }
.st-move-pick[aria-pressed="true"] { outline-color: var(--ink); background: color-mix(in srgb, var(--brass) 10%, var(--paper)); }
.st-move-pick[aria-pressed="true"] .st-move-img { outline: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); outline-offset: -1px; }
.st-move-zoom { left: .55rem; top: .55rem; }
.st-move-pick:focus-visible:not(:where(.pointer-focus)), .st-move-pick[aria-pressed="true"]:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: 3px; }

/* Working on your room, on a phone or a narrow window: the photo with its moving light comes straight under the heading,
   then the timer and the steps, so the visitor sees at once that it is working, and on the room they meant. The rest
   follows for anyone who scrolls (November 11, 2026, Jeff). A computer keeps the photo beside the steps. */
@media (max-width: 900px) {
  .st-working-grid { row-gap: 0; }
  .st-working-copy { display: contents; }
  .st-working-copy > .eyebrow { order: 1; }
  #working-h { order: 2; }
  .st-working-photo { order: 3; margin-top: clamp(1rem, 3vw, 1.4rem); }
  .st-working-photo img { max-height: 34svh; }
  #timer { order: 4; margin: .9rem 0 0; font-size: 1.35rem; }
  #progress { order: 5; margin-top: .9rem; }
  #working-cap { order: 6; }
  #working-note { order: 7; }
  #working-moves { order: 8; }
}
.st-next p.st-hint { margin: -.45rem 0 .6rem; font-family: var(--display); font-size: .92rem; line-height: 1.45; color: var(--muted); }
#react-hint { margin: .9rem 0 .5rem; }

/* The result: Ask for a change right under the image, then the summary and the pieces, then the other ways to change
   the room, and the rating folded at the foot (November 11, 2026, Jeff). */
.st-change-bar { max-width: 56rem; margin-top: clamp(1.4rem, 3vw, 2.2rem); padding: clamp(1rem, 2.4vw, 1.4rem) 0 .2rem; border-top: 1px solid var(--hair); }
.st-change-h { margin: 0 0 .25rem; font-family: var(--display); font-weight: 400; font-size: 1.3rem; letter-spacing: 0; }
.st-change-h label { cursor: pointer; }
.st-change-bar .st-hint { margin: 0 0 .7rem; }
.st-change-row { display: flex; align-items: flex-end; gap: .8rem 1rem; }
.st-change-row textarea { flex: 1 1 auto; min-width: 0; margin: 0; }
.st-change-row .st-btn { flex: none; }
.st-change-bar .st-change-note { margin: .6rem 0 0; }
.st-change-bar .st-change-note:empty { display: none; }
@media (max-width: 720px) { .st-change-row { flex-direction: column; align-items: stretch; } }
.st-rate { max-width: 40rem; margin-top: clamp(1.6rem, 3.2vw, 2.4rem); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.st-rate > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.25rem; padding: .7rem 0; list-style: none; cursor: pointer; font-family: var(--display); font-size: var(--st-small); letter-spacing: .24em; text-transform: uppercase; color: var(--label); }
.st-rate > summary::-webkit-details-marker { display: none; }
.st-rate > summary::after { content: ""; flex: none; width: .55rem; height: .55rem; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-3px) rotate(45deg); transition: transform .25s; }
.st-rate[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.st-rate > summary:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: 4px; }
.studio[data-sample="true"] #rate { display: none; }
.studio .st-change-h { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.25; letter-spacing: 0; margin: 0 0 .25rem; }
@media (max-width: 720px) { .st-take { width: 8rem; } }

/* Finishes in the swap picker (November 11, 2026): a menu for each choice under the name, and under the piece already in the
   room a way to keep it and change only its finish. */
.st-opt-fin { display: grid; gap: .45rem; margin: .5rem 0 .6rem; }
.st-opt-fin-pick { display: grid; gap: .2rem; min-width: 0; }
.st-opt-fin-pick .st-label { margin: 0; font-size: var(--st-small); letter-spacing: .16em; }
.st-opt-fin-pick select { width: 100%; min-height: 2.5rem; padding: 0 2.2rem 0 .8rem; border: 1px solid var(--brass-line); border-radius: 0; background: color-mix(in srgb, #fff 38%, var(--paper)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8' fill='none' stroke='%2318181B' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.5L7 6.5l5.5-5'/%3E%3C/svg%3E") right .8rem center / .7rem .45rem no-repeat; color: var(--ink); font-family: var(--display); font-size: .92rem; -webkit-appearance: none; appearance: none; cursor: pointer; text-overflow: ellipsis; }
.st-swap-finish .st-opt-fin { max-width: 26rem; }
.st-swap-finish .st-note:empty { display: none; }
/* A link or button in a narrow card stays inside the card. On a phone "Swap or change finish" was wider than its piece and
   made the whole page scroll sideways (found November 12, 2026). Every .st-btn now wraps like this (see .st-btn). */
.st-piece-act { max-width: 100%; }
/* A heading that takes focus when a box opens or a part is chosen is a place to read from, not a control: no ring round it. */
.st-swapbox h2[tabindex="-1"]:focus, .st-swapbox h3[tabindex="-1"]:focus { outline: none; }
/* The box itself never scrolls, only its list does. With overflow hidden a browser may still scroll the box to bring a
   focused button into view, which pushed its bar off the top (seen in Chrome on November 12, 2026). Clip cannot be scrolled. */
.st-swapbox { overflow: clip; }


/* ==========================================================================================================
   Batch 1 of the usability changes: the entrance and clarity (November 12, 2026, Claude, on Jeff's decisions).
   The report is the Claude project doc claude/site-studio-usability-test-2026-11-12.md. docs/room-studio.md has
   the summary. Page work only: nothing here changes how a design is made.
   ========================================================================================================== */

/* ---------- Warnings: their own look, a tinted panel with a mark. Helper text is gray, so a warning now stands apart. */
p.st-note[data-tone="bad"], .st-warn { position: relative; width: fit-content; max-width: min(100%, 40rem); padding: .6rem .95rem .6rem 2.55rem; border-left: 2px solid var(--st-alert); background: color-mix(in srgb, var(--st-alert) 8%, var(--paper)); font-family: var(--display); font-size: .95rem; line-height: 1.45; color: var(--ink); --st-alert: #8B3A22; }
p.st-note[data-tone="bad"]::before, .st-warn::before { content: "!"; position: absolute; left: .75rem; top: .68rem; display: grid; place-items: center; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--st-alert); color: var(--paper); font-family: var(--display); font-size: .8rem; font-weight: 500; line-height: 1; }
/* A caution that is not a fault (a small photo) is the same panel in brass. */
.st-warn { --st-alert: var(--brass); margin: .9rem 0 0; }
.st-warn .st-link { min-height: 0; font-size: inherit; white-space: nowrap; }
.st-failed p.st-note[data-tone="bad"]::before { top: .78rem; }
.st-tray-note[data-tone="bad"] { font-weight: 500; }
.st-tray-short { display: none; }
/* On a phone the line under the ideas always shows, as its short form. It used to be dropped there. */
@media (max-width: 720px) { .st-tray-long { display: none; } .st-tray-short { display: inline; } }

/* ---------- The entrance: one real room, opening on the finished design, with the upload beside it or under it. */
.st-entrance { margin: 0; padding-top: clamp(.9rem, 2vw, 1.4rem); }
.st-entrance .studio-photo { aspect-ratio: 3 / 2; }
/* The switch is the main page's. In the studio its labels keep to the floor for capital labels. */
.studio .studio-toggle button { font-size: var(--st-small); letter-spacing: .14em; }
@media (max-width: 420px) { .studio .studio-toggle button { padding: .5rem .75rem; letter-spacing: .08em; } }
.st-entrance-cap { padding-top: .8rem; }
.st-entrance-say, .st-entrance-try p { margin: 0; font-family: var(--display); font-size: .95rem; line-height: 1.45; color: var(--muted); max-width: none; }
.st-entrance-try { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; }
.st-entrance-cap .st-note { margin-top: .5rem; }
.st-entrance-credit { margin: .5rem 0 0; font-style: normal; }
.st-entrance-cap { font-style: normal; }

.st-entrance-credit .st-link { min-height: 0; font-size: inherit; }
/* On a phone or a tablet there is nothing to drag, so the line under the button says where a photo comes from. */
.st-drop-touch { display: none; }
@media (hover: none) and (pointer: coarse) {
  .st-drop-say { display: block; }
  .st-drop-drag { display: none; }
  .st-drop-touch { display: inline; }
  .st-drop[data-state="empty"] .st-drop-empty { gap: .5rem .9rem; }
}
/* Which photos work best: three tips under a label. On a phone they fold behind the label, which is then a button. */
.st-tips-label { margin: 0 0 .2rem; }
.st-tips li b { display: inline; }
@media (max-width: 720px) { .st-tips-label { display: none; } }
@media (min-width: 900px) {
  /* A computer: the picture on the left, and the photo step beside it, heading and all. */
  .st-steps[data-room="false"] > .st-step[data-step="photo"], .st-opening:is([data-arrive="new"], [data-arrive="back"]) .st-step[data-step="photo"] { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr; column-gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; padding-bottom: clamp(1.4rem, 3vw, 2.4rem); }
  :is(.st-steps[data-room="false"], .st-opening:is([data-arrive="new"], [data-arrive="back"]) .st-steps) > .st-step[data-step="photo"] > .st-entrance { grid-column: 1; grid-row: 1 / span 2; }
  :is(.st-steps[data-room="false"], .st-opening:is([data-arrive="new"], [data-arrive="back"]) .st-steps) > .st-step[data-step="photo"] > :is(.st-step-head, .st-step-body) { grid-column: 2; }
  :is(.st-steps[data-room="false"], .st-opening:is([data-arrive="new"], [data-arrive="back"]) .st-steps) > .st-step[data-step="photo"] > .st-step-head { padding-top: clamp(.5rem, 1.4vw, 1rem); }
  :is(.st-steps[data-room="false"], .st-opening:is([data-arrive="new"], [data-arrive="back"]) .st-steps) > .st-step[data-step="photo"] > .st-step-body { padding-left: 0; padding-bottom: 0; }
  .st-steps[data-room="false"] .st-tips { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .st-steps[data-room="false"] .st-tips li { padding-block: .65rem; }
  .st-steps[data-room="false"] .st-tips li:first-child { border-top: 0; padding-top: .3rem; }
  .st-steps[data-room="false"] .st-tips-box { margin-top: clamp(1.3rem, 2.4vw, 1.8rem); }
}
/* The opening screen with a kept room or a design to open has no entrance picture. */
.st-opening:is([data-arrive="kept"], [data-arrive="room"]) .st-entrance { display: none; }

/* ---------- The room in view. With a photo in, the photo step is the picture of the room, and it stays on screen. */
.st-roomview-pic { display: block; padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; line-height: 0; }
.st-roomview-pic img { display: block; width: 100%; height: auto; max-height: 52svh; object-fit: contain; }
.st-roomview-pic:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: 3px; }
.st-roomview .st-label { margin: 0; }
.st-roomview-ideas { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .35rem; }
.st-roomview-ideas li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: center; gap: .65rem; font-family: var(--display); font-size: .92rem; line-height: 1.25; color: var(--ink); }
.st-roomview-ideas img { width: 2.6rem; height: 2.6rem; object-fit: cover; display: block; }
.st-roomview-ideas small { display: block; font-size: var(--st-small); letter-spacing: .12em; text-transform: uppercase; color: var(--label); }
/* The step's heading is not a control any more: the picture is always there. */
.st-step[data-step="photo"] .st-step-toggle, .st-step[data-step="photo"] .st-step-toggle:hover .st-step-title { cursor: default; color: inherit; }
@media (min-width: 1000px) {
  /* A computer: the room pinned on the left, the choices scrolling on the right. */
  .st-steps[data-room="true"] { display: grid; grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); column-gap: clamp(2rem, 3.4vw, 2.75rem); align-items: start; }
  .st-steps[data-room="true"] > .st-step[data-step="photo"] { position: sticky; top: calc(var(--st-top) + .5rem); max-height: calc(100svh - var(--st-top) - 5.5rem); overflow-y: auto; overscroll-behavior: contain; border-bottom: 0; scrollbar-width: thin; }
  /* Its heading lines up with The room's beside it: the same space above and below, round a line of the same height. */
  .st-steps[data-room="true"] > .st-step[data-step="photo"] .st-step-toggle { min-height: calc(2.3rem + 1.65 * clamp(1.8rem, 2.9vw, 2.5rem)); padding-block: 1.4rem .9rem; }
  .st-steps[data-room="true"] > .st-step[data-step="photo"] .st-step-title { font-size: clamp(1.35rem, 2.1vw, 1.7rem); }
  .st-steps[data-room="true"] > .st-step[data-step="photo"] .st-step-body { padding: 0 0 1rem; }
  .st-roomview { display: grid; gap: .7rem; }
  .st-steps[data-room="true"] > .st-step[data-step="room"] { min-width: 0; container: roomstep / inline-size; }
  /* The ideas line up with the other questions in The room, open or closed (Jeff, November 13, 2026). */
  .st-steps[data-room="true"] .st-move-grid[data-shape="frame"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-steps[data-room="true"] .st-move-grid[data-shape="strip"] { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1101px) { .st-steps[data-room="true"] .st-ideas-browse { grid-template-columns: 10.5rem minmax(0, 1fr); column-gap: 1.5rem; } }
/* Between 1101 and 1359 px the column beside the categories is narrow, so two ideas across, each large enough to read. */
@media (min-width: 1101px) and (max-width: 1359px) { .st-steps[data-room="true"] .st-move-grid[data-shape="frame"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container roomstep (max-width: 640px) { .st-choices { grid-template-columns: minmax(0, 1fr); } .st-choices-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 999px) {
  /* A phone or a tablet: a small strip pinned under the header, with the photo and the chosen ideas. Pressing the photo
     enlarges it, with Use a different photo and Remove photo beside it there. */
  .st-steps[data-room="true"] > .st-step[data-step="photo"] { position: sticky; top: var(--st-top); z-index: 13; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); border-top: 0; border-bottom: 1px solid var(--hair); background: color-mix(in srgb, var(--paper) 96%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: top .3s; }
  .st-steps[data-room="true"] > .st-step[data-step="photo"] > .st-step-head { display: none; }
  .st-steps[data-room="true"] > .st-step[data-step="photo"] > .st-step-body { padding: 0; }
  .st-roomview { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: .85rem; padding-block: .5rem; }
  .st-roomview-pic img { width: auto; height: 3.4rem; max-width: 6rem; max-height: none; object-fit: cover; }
  .st-roomview-ideas { grid-column: 2; grid-row: 1 / span 2; margin: 0; display: flex; gap: .3rem; }
  .st-roomview-ideas li { display: block; }
  .st-roomview-ideas li span { display: none; }
  .st-roomview-ideas img { width: 2.1rem; height: 2.1rem; }
  .st-roomview .st-warn { grid-column: 1 / -1; margin: .45rem 0 .1rem; }
  .st-steps[data-room="true"] > .st-step[data-step="room"] { border-top: 0; }
  /* The category bar stops under the strip. */
  .st-steps[data-room="true"] .st-parts-wrap { top: calc(var(--st-top) + var(--st-strip, 0px)); }
  .st-steps[data-room="true"] .st-slot { scroll-margin-top: calc(var(--st-top) + var(--st-strip, 0px) + var(--st-parts, 4.6rem) + .8rem); }
}
@media (max-width: 380px) { .st-roomview-ideas li:nth-child(n+4) { display: none; } }
/* The photo, enlarged in place. */
.st-photobox figcaption .st-link { min-height: 2.75rem; }

/* ---------- The room step. A chosen chip and a chosen card wear one look: an ink line and a lighter ground. The chip's
   dot and tick are gone: one signal is enough. */
.st-pills button, .st-pills label { padding-inline: 1.15rem; }
/* The rest of the room: two plain choices at the top of the ideas. */
.st-rest { margin: clamp(.9rem, 2vw, 1.3rem) 0 0; max-width: 46rem; }
.st-choices-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-rest .st-choice span { padding-block: .8rem .85rem; font-family: var(--display); font-size: .95rem; line-height: 1.45; }
.st-rest .st-choice b { margin-bottom: .15rem; font-size: 1.02rem; }
/* On a finished room the idea the room has now comes first, then the groups. */
.st-idea-grid + .st-kind { margin-top: clamp(1.5rem, 3vw, 2.2rem); }
.st-rest[data-open="false"] .st-choice { cursor: default; }
.st-rest[data-open="false"] .st-choice input { cursor: default; }
.st-rest[data-open="false"] .st-choice span { opacity: .55; }
.st-rest[data-open="false"] .st-choice:hover span { border-color: color-mix(in srgb, var(--ink) 20%, transparent); }
.st-rest[data-open="false"] .st-choice input:checked + span { border-color: color-mix(in srgb, var(--ink) 20%, transparent); box-shadow: none; background: none; }
.st-rest[data-open="false"] .st-choice input:checked + span::after { background: none; border-color: currentColor; opacity: .45; }
.st-rest-say { margin: .6rem 0 0; }
.st-rest-say:empty { display: none; }
@media (max-width: 720px) { .st-choices-two { grid-template-columns: minmax(0, 1fr); } }
/* One introduction for the ideas. It sits under the heading, open or closed. */
.st-ideas-say { color: var(--muted); }

/* ---------- The email step: the reason is the heading, and the visitor's own room is beside it. */
.st-gate-photo { margin: 0; }
.st-gate-photo[data-room="true"] { max-width: 460px; }
.st-gate-photo[data-room="true"] img { aspect-ratio: auto; height: auto; max-height: 60svh; object-fit: contain; object-position: 50% 50%; background: var(--paper-2); }
.st-gate-photo figcaption { padding-top: .7rem; font-family: var(--display); font-size: .95rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 900px) {
  /* On a phone the room is a small picture above the heading, with its line beside it. */
  .st-gate-photo[data-room="true"] { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .9rem; order: -1; max-width: none; justify-self: stretch; margin-bottom: -.6rem; }
  .st-gate-photo[data-room="true"] img { width: auto; height: 4.5rem; max-width: 7.5rem; object-fit: cover; }
  .st-gate-photo[data-room="true"] figcaption { padding: 0; }
}
.st-askbox .st-closest-why { margin: -.6rem 0 1.1rem; font-family: var(--display); font-size: .95rem; color: var(--muted); }

/* ---------- The result: what every update keeps, said once, under the picture. */
.st-keeps { margin: clamp(1rem, 2.2vw, 1.5rem) 0 0; max-width: 46rem; font-family: var(--display); font-size: 1.02rem; line-height: 1.45; color: var(--pair-ink); }
.st-keeps + .st-change-bar { margin-top: clamp(.9rem, 2vw, 1.3rem); }
.studio[data-view="result"] .st-result:has(#failed:not([hidden])) .st-keeps { display: none; }
/* Change finish sits beside Swap on a piece that has finishes. One job for each. */
.st-piece-fin { font-size: var(--st-read); }
.st-piece-fin:disabled { opacity: .38; cursor: not-allowed; }

/* ---------- Usability batch 2, "After the design" (November 12, 2026) ----------
   The result as a workspace, the tabs, the versions, the one list of what is waiting, the wait as a preview of the room,
   and the swap picker. Everything here is set in Jost. The serif stays where "One face", below, keeps it. */

/* The workspace: the picture on the left, what this room and this version are on the right. The picture is as large as
   leaves the three ways to change the room in view under it. */
.st-wsr { padding-block: clamp(1rem, 2vw, 1.6rem) 0; }
.st-ws { --picw: clamp(30rem, calc((100svh - 19.5rem) * var(--ar, 1.5)), 56rem); display: grid; grid-template-columns: minmax(0, var(--picw)) minmax(18rem, 1fr); gap: clamp(1.5rem, 3.2vw, 3rem); align-items: start; }
.st-ws[data-portrait="true"] { --picw: clamp(18rem, calc((100svh - 16rem) * var(--ar, .75)), 34rem); }
.st-stage { min-width: 0; }
.st-frame { position: relative; }
.st-pic { position: relative; margin: 0; aspect-ratio: var(--ar, 1.5); overflow: hidden; background: var(--paper-2); --at: 50%; }
.st-pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.st-pic > img:not([src]) { visibility: hidden; }
.st-pic-prev, .st-pic-orig { opacity: 0; transition: opacity .35s; }
.st-pic[data-mode="one"][data-showing="prev"] .st-pic-prev, .st-pic[data-mode="one"][data-showing="orig"] .st-pic-orig { opacity: 1; }
.st-zoom { position: absolute; right: .7rem; top: .7rem; z-index: 2; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--paper) 88%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318181B' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='5.5'/%3E%3Cpath d='M15 15l4.5 4.5M10.5 8.2v4.6M8.2 10.5h4.6'/%3E%3C/svg%3E") center / 1.35rem no-repeat; cursor: zoom-in; }
.st-zoom:hover { background-color: var(--paper); }
.st-pic-tag { position: absolute; top: .7rem; z-index: 1; display: none; padding: .3rem .7rem; background: color-mix(in srgb, var(--paper) 90%, transparent); font-family: var(--display); font-size: var(--st-small); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.st-tag-left { left: .7rem; } .st-tag-right { right: .7rem; }
.st-slide, .st-slide-line { display: none; }
/* The slider: the version before on the left of the line, this version on the right. */
.st-pic[data-mode="slide"] .st-pic-prev { opacity: 1; clip-path: inset(0 calc(100% - var(--at)) 0 0); transition: none; }
.st-pic[data-mode="slide"] .st-pic-tag, .st-pic[data-mode="side"] .st-pic-tag { display: block; }
.st-pic[data-mode="slide"] .st-slide-line { display: block; position: absolute; top: 0; bottom: 0; left: var(--at); width: 2px; margin-left: -1px; background: var(--paper); }
.st-slide-line i { position: absolute; left: 50%; top: 50%; width: 2.75rem; height: 2.75rem; margin: -1.375rem; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318181B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 1.3rem no-repeat; box-shadow: 0 1px 6px rgba(0,0,0,.3); }
.st-pic[data-mode="slide"] .st-slide { display: block; position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.st-pic[data-mode="slide"]:has(.st-slide:focus-visible:not(:where(.pointer-focus))) .st-slide-line i { outline: 2px solid var(--ink); outline-offset: 2px; }
.st-pic[data-mode="slide"] .st-zoom, .st-pic[data-mode="side"] .st-zoom { display: none; }
/* Side by side, on a computer: the photo (or the version before) on the left, this version on the right. */
.st-pic[data-mode="side"] { aspect-ratio: calc(var(--ar, 1.5) * 2); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: none; }
.st-pic[data-mode="side"] > img { position: static; opacity: 1; min-width: 0; }
.st-pic[data-mode="side"] .st-pic-now { order: 2; }
.st-pic[data-mode="side"][data-left="orig"] .st-pic-prev, .st-pic[data-mode="side"][data-left="prev"] .st-pic-orig { display: none; }
.st-pic[data-mode="side"] .st-tag-right { left: calc(50% + .7rem + 3px); right: auto; }
/* While an update is being made: a quiet marker on the picture. The room under it stays usable. */
.st-updating { position: absolute; left: .7rem; top: .7rem; z-index: 2; max-width: calc(100% - 4.9rem); margin: 0; display: flex; align-items: center; gap: .6rem; padding: .5rem .9rem .5rem .7rem; background: color-mix(in srgb, var(--paper) 95%, transparent); font-family: var(--display); font-size: var(--st-read); line-height: 1.4; color: var(--pair-ink); }
.st-updating b { font-weight: 500; color: var(--ink); }
.st-updating .st-link { min-height: 0; margin-left: .3rem; font-size: inherit; }
.st-spin { flex: none; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid var(--brass-line); border-top-color: var(--ink); animation: st-spin 1.1s linear infinite; }
.st-updating[data-ready="true"] .st-spin { display: none; }
@keyframes st-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .st-spin { animation: none; } }
body[data-updating="true"] .st-pic[data-mode="slide"] .st-pic-tag, body[data-updating="true"] .st-pic[data-mode="side"] .st-tag-left { top: 3.6rem; }
/* The switch sits on the picture on a computer, like the main page's. On a phone it is under the unobstructed picture. */
.st-stagebar { position: absolute; left: .8rem; right: .8rem; bottom: .8rem; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; pointer-events: none; }
.st-stagebar .st-pills { display: flex; flex-wrap: nowrap; gap: .35rem; margin: 0; padding: 0; overflow: visible; pointer-events: auto; }
.st-stagebar .st-pills:empty { display: none; }
.st-stagebar .st-pills button { min-height: 2.5rem; padding-inline: 1rem; background: color-mix(in srgb, var(--paper) 90%, transparent); border-color: transparent; color: var(--ink); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); white-space: nowrap; }
.st-stagebar .st-pills button[aria-pressed="true"] { background: var(--paper); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.st-stagebar .st-pills button:disabled { opacity: .55; cursor: default; }
.st-modes button { font-size: var(--st-read); }
.st-ways { margin-top: clamp(1.1rem, 2vw, 1.5rem); padding-top: clamp(1rem, 2vw, 1.3rem); border-top: 1px solid var(--hair); }
.st-ways > .st-label { margin: 0 0 .7rem; }
.st-ways-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .7rem; }
.st-ways-row .st-btn { width: 100%; padding-inline: .6rem; }
.st-ways-row .st-btn[aria-expanded="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.st-describe { margin-top: .9rem; }
.st-describe .st-hint { margin: 0; }
.st-describe-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: .7rem; align-items: start; margin-top: .45rem; }
/* The typed change saves itself (item 10, November 14, 2026). One quiet line under the box confirms it, with Clear. */
.st-change-saved { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .5rem; margin: .5rem 0 0; font-family: var(--display); font-size: var(--st-read); line-height: 1.4; color: var(--muted); }
.st-change-saved[hidden] { display: none; }
.st-change-tick { display: inline-block; width: .55rem; height: .3rem; margin: 0 .1rem .2rem .1rem; border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(-45deg); }
.st-change-saved .st-link { font-size: var(--st-read); }
.st-describe textarea, .st-note-box textarea { display: block; width: 100%; min-height: 4.2rem; padding: .7rem .9rem; border: 1px solid var(--brass-line); border-radius: 0; background: color-mix(in srgb, #fff 38%, var(--paper)); color: var(--ink); font-family: var(--display); font-size: 1rem; line-height: 1.45; resize: vertical; }
.st-describe textarea:focus-visible, .st-note-box textarea:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.st-ways .st-keeps { margin: .9rem 0 0; }
.st-ways > .st-note:empty, .st-describe .st-note:empty { display: none; }
.st-ways > .st-note { margin: .7rem 0 0; }

.st-about { min-width: 0; max-width: 27rem; padding-top: .2rem; font-family: var(--display); }
.st-about .eyebrow { margin-bottom: .5rem; }
.st-about h1 { margin: 0; font-size: clamp(1.7rem, 2.3vw, 2.15rem); line-height: 1.12; text-wrap: balance; overflow-wrap: anywhere; }
.st-rename-form { margin-top: .7rem; }
.st-rename-form .st-note:empty { display: none; }
.st-version { margin-top: 1.2rem; padding-top: 1.05rem; border-top: 1px solid var(--hair); }
.st-version .st-label { margin: 0 0 .3rem; }
.st-version-name { margin: 0; font-size: 1.2rem; line-height: 1.25; color: var(--ink); }
.st-version-say { margin: .35rem 0 0; font-size: var(--st-read); line-height: 1.55; color: var(--muted); }
.st-version-say .st-link { display: inline; min-height: 0; margin: 0 .5rem 0 0; font-size: inherit; white-space: nowrap; }
.st-about .st-asked { margin: 1.1rem 0 0; font-size: 1.02rem; }
.st-about #summary { margin: 1.1rem 0 0; font-size: 1.06rem; line-height: 1.6; }
.st-about .st-check { margin: .9rem 0 0; font-size: var(--st-read); line-height: 1.5; }
.st-about .st-remove-confirm { margin-top: .6rem; padding: .9rem 1rem; background: color-mix(in srgb, #fff 38%, var(--paper)); outline: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.st-about > .st-note:empty { display: none; }
body[data-sample="true"] :is(#fav, #rename, #more-rename, #remove-ask, #react, .st-ver-fav) { display: none !important; }

/* The tabs: Pieces, Design ideas, Shopping list, Versions. They stay under the header while their panel scrolls. */
.st-tabs-wrap { position: sticky; top: var(--st-top, 4rem); z-index: 14; margin-top: clamp(1.4rem, 2.6vw, 2rem); background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.st-tabs { display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); overflow-x: auto; scrollbar-width: none; }
.st-tabs::-webkit-scrollbar { display: none; }
.st-tabs button { flex: none; position: relative; min-height: 3.25rem; padding: 0; border: 0; background: none; color: var(--muted); font-family: var(--display); font-size: 1.05rem; cursor: pointer; white-space: nowrap; }
.st-tabs button small { margin-left: .3rem; font-size: var(--st-read); color: var(--muted); }
.st-tabs button:hover, .st-tabs button[aria-selected="true"] { color: var(--ink); }
.st-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); }
.st-tabs button:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: -4px; }
.st-panel { padding-block: clamp(1.4rem, 2.6vw, 2rem) clamp(2.2rem, 4.5vw, 3.4rem); border: 0; scroll-margin-top: calc(var(--st-top, 4rem) + 3.4rem); }
.st-panel:focus { outline: none; }
.st-panel > .wrap { border-top: 0; padding-top: 0; }
.st-panel > .wrap > .st-sub { margin-top: 0; max-width: 44rem; }
.st-panel > .wrap > .st-sub + .st-sub, .st-panel .st-shop-say { margin-top: .5rem; }
.st-used-slot { margin: .7rem 0 0; font-family: var(--display); font-size: var(--st-small); letter-spacing: .2em; text-transform: uppercase; color: var(--label); }
.st-used-item .st-used-slot + .st-move-title { margin-top: .2rem; }

/* The versions. */
.st-ver-tools { margin-top: 1.1rem; }
.st-ver-tools .st-pills { display: flex; margin: 0; padding: 0; overflow: visible; }
.st-ver-tools .st-pills small { margin-left: .45rem; padding-left: 0; border: 0; }
.st-vers .st-note:empty { display: none; }
.st-ver-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.4rem, 2.6vw, 2rem) clamp(1rem, 2vw, 1.6rem); margin-top: 1.3rem; }
.st-ver { min-width: 0; font-family: var(--display); }
.st-ver-frame { position: relative; }
.st-ver-pic { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); aspect-ratio: var(--ar, 1.5); overflow: hidden; cursor: pointer; }
.st-ver-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-ver-pic:hover, .st-ver-pic:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--ink); outline-offset: 3px; }
.st-ver[aria-current="true"] .st-ver-pic { outline: 2px solid var(--ink); outline-offset: 3px; cursor: default; }
.st-ver-now { position: absolute; left: .5rem; top: .5rem; padding: .25rem .6rem; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: var(--st-small); letter-spacing: .14em; text-transform: uppercase; }
.st-ver-fav { position: absolute; right: .45rem; top: .45rem; width: 2.75rem; justify-content: center; border-radius: 50%; background: color-mix(in srgb, var(--paper) 88%, transparent); }
.st-ver-name { margin: .75rem 0 0; font-size: 1.05rem; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.st-ver-what { margin: .2rem 0 0; font-size: var(--st-read); line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.st-ver-act { margin: .15rem 0 0; font-size: var(--st-read); }
.st-ver-act .st-link { font-size: var(--st-read); }
.st-ver-ask { margin-top: .6rem; padding: .8rem .9rem; background: color-mix(in srgb, #fff 38%, var(--paper)); outline: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.st-ver-ask p { margin: 0 0 .7rem; font-size: var(--st-read); line-height: 1.45; }
.st-ver-ask .st-remove-go { display: flex; flex-wrap: wrap; gap: .5rem; }
.st-ver-ask .st-btn { min-height: 2.75rem; padding-inline: 1rem; }
.st-note-box { max-width: 44rem; margin-top: clamp(1.8rem, 3vw, 2.4rem); padding-top: 1.3rem; border-top: 1px solid var(--hair); }
.st-note-box .st-label { display: block; margin: 0; }
.st-note-box .st-hint { margin: .3rem 0 .5rem; }

/* The list of what is waiting: one bar, one Update. */
.st-nextbar { position: sticky; bottom: 0; z-index: 15; margin-top: clamp(1.5rem, 3vw, 2.5rem); background: color-mix(in srgb, var(--paper) 95%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); padding-bottom: env(safe-area-inset-bottom); font-family: var(--display); }
.st-nextbar > .wrap { display: flex; align-items: center; justify-content: space-between; gap: .6rem 2rem; padding-block: .6rem; }
.st-next-lists { display: flex; align-items: center; gap: .9rem; min-width: 0; flex: 0 1 auto; }
.st-next-lists .st-label { flex: none; max-width: 6.6rem; margin: 0; font-size: var(--st-small); line-height: 1.5; }
.st-next-list { list-style: none; display: flex; gap: .5rem; min-width: 0; margin: 0; padding: 2px; overflow-x: auto; scrollbar-width: none; }
.st-next-list::-webkit-scrollbar { display: none; }
.st-wait { flex: 0 1 13.5rem; min-width: 8.5rem; display: grid; grid-template-columns: minmax(0, 1fr) 2.6rem; background: color-mix(in srgb, #fff 38%, var(--paper)); outline: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); outline-offset: -1px; }
.st-wait-main { display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-items: center; min-width: 0; min-height: 3rem; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; font-family: var(--display); cursor: pointer; }
.st-wait-main:hover .st-wait-name, .st-wait-main:focus-visible .st-wait-name { text-decoration: underline; text-decoration-color: var(--brass-line); text-underline-offset: .2em; }
.st-wait-pic { display: block; width: 3rem; height: 3rem; background: var(--st-tile); overflow: hidden; }
.st-wait-pic img { width: 100%; height: 100%; object-fit: contain; padding: 6%; display: block; }
.st-wait-pic[data-photo="photo"] img { object-fit: cover; padding: 0; }
.st-wait-words, .st-wait-pic.st-wait-words, .st-coming-pic.st-wait-words { background: var(--st-tile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E5320' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 18.5l.8-3.6L15.6 5.1a1.6 1.6 0 0 1 2.3 0l1 1a1.6 1.6 0 0 1 0 2.3L9.1 18.2 5 18.5z'/%3E%3C/svg%3E") center / 1.3rem no-repeat; }
.st-wait-name { display: block; min-width: 0; padding: .2rem .3rem .2rem .65rem; font-size: .9rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-wait-name small { display: block; overflow: hidden; text-overflow: ellipsis; font-size: var(--st-small); letter-spacing: .12em; text-transform: uppercase; color: var(--label); }
.st-wait-x { width: 2.6rem; min-height: 3rem; padding: 0; border: 0; background: none; color: var(--ink); font-family: var(--display); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.st-wait-x::before { content: "\00d7"; }
.st-wait-x:hover { color: #8B3A22; }
.st-next-go { flex: none; display: flex; align-items: center; gap: 1.2rem; margin-left: auto; }
.st-next-say { margin: 0; max-width: 19rem; text-align: right; font-size: .92rem; line-height: 1.4; color: var(--pair-ink); }
.st-next-note[data-tone="bad"] { color: var(--st-alert, #8B3A22); }
.st-next-show { display: none; }
.st-nextbar[data-many="true"] .st-next-cost { display: none; }
.st-nextbar .st-btn:disabled { opacity: .45; cursor: not-allowed; }

/* The wait as a preview of the room: the designer's note and the pieces chosen. */
.st-working .st-timer { margin: .5rem 0 0; font-weight: 400; font-size: var(--st-read); letter-spacing: 0; color: var(--muted); }
.st-working-more { margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(1.4rem, 3vw, 2rem); border-top: 1px solid var(--hair); display: grid; gap: clamp(1.8rem, 3.5vw, 2.6rem); font-family: var(--display); }
.st-wnote .st-label, .st-wpieces .st-label { margin: 0 0 .7rem; }
.st-wnote p:not(.st-label) { margin: 0 0 .7rem; max-width: 46rem; font-size: 1.05rem; line-height: 1.6; color: var(--pair-ink); }
.st-wpieces .st-hint { margin: -.3rem 0 0; }
.st-wpiece .st-piece-img { width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.st-wpiece .st-piece-name { display: inline-block; margin: .2rem 0 0; }
.st-lookbox { width: min(100vw - 2rem, 34rem); font-family: var(--display); }
.st-look-pic { margin: 0 0 1rem; aspect-ratio: 1; max-height: 52svh; width: 100%; background: var(--st-tile); outline: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); outline-offset: -1px; }
.st-look-pic img { width: 100%; height: 100%; object-fit: contain; padding: 6%; display: block; }
.st-lookbox .st-opt-brand { margin: 0; }
.st-lookbox h2 { margin: .25rem 0 0; font-size: 1.5rem; line-height: 1.2; }
.st-look-say { margin: .5rem 0 0; font-size: 1rem; line-height: 1.5; color: var(--pair-ink); }
.st-look-say:empty { display: none; }
.st-lookbox .st-remove-go { margin-top: 1.3rem; }

/* The swap picker: a pinned bar, one grid of clean cards, and one piece opened. */
.st-now-fin { display: inline; min-height: 0; margin: 0; font-size: var(--st-read); }
.st-swap-now .st-now-fin-row { display: block; margin-top: .15rem; }
.st-pickbar { flex: none; display: flex; flex-wrap: wrap; align-items: end; gap: .7rem 1.6rem; padding: .8rem clamp(1.1rem, 3vw, 2.4rem); border-bottom: 1px solid var(--hair); }
.st-scope { display: flex; gap: .35rem; }
.st-scope button { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1.15rem; border: 1px solid var(--brass-line); border-radius: 999px; background: transparent; color: var(--ink); font-family: var(--display); font-size: .95rem; cursor: pointer; white-space: nowrap; }
.st-scope button small { margin-left: .5rem; font-size: var(--st-read); color: var(--muted); }
.st-scope button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.st-scope button[aria-pressed="true"] small { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.st-picktools { flex: 1 1 30rem; margin: 0; gap: .6rem .7rem; }
.st-picktools .st-swap-pick { flex: 1 1 8.4rem; min-width: 8.4rem; }
.st-picktools .st-swap-search { flex: 1.2 1 9rem; }
.st-pick-filter { display: none; }
.st-pick-filter small { margin-left: .4rem; font-size: var(--st-read); letter-spacing: 0; }
.st-pickbox .st-swap-body { padding-top: clamp(1.1rem, 2.2vw, 1.6rem); }
.st-pick-h { margin: 0 0 .2rem; font-family: var(--display); font-weight: 300; font-size: 1.35rem; }
.st-pickbox .st-swap-found { margin: 0 0 .2rem; }
.st-card-grid { margin-top: 0; }
.st-pick-h + .st-card-grid, .st-swap-found + .st-card-grid { margin-top: clamp(1rem, 2vw, 1.4rem); }
.st-card { min-width: 0; }
.st-card-open { display: flex; flex-direction: column; align-items: stretch; width: 100%; min-width: 0; padding: 0; border: 0; background: none; text-align: left; color: var(--ink); font-family: var(--display); cursor: pointer; }
.st-card-open .st-opt-img { transition: outline-color .2s; }
.st-card-open:hover .st-opt-img, .st-card-open:focus-visible:not(:where(.pointer-focus)) .st-opt-img { outline: 2px solid var(--ink); outline-offset: 2px; }
.st-card-open:focus-visible { outline: none; }
.st-card-open .st-opt-brand { display: block; }
.st-card-name { display: block; margin-top: .25rem; font-size: 1.05rem; line-height: 1.25; overflow-wrap: anywhere; }
.st-card-meta { display: block; margin-top: .25rem; font-size: var(--st-read); line-height: 1.4; color: var(--muted); }
.st-why { display: block; margin: .55rem 0 0; padding-left: .7rem; border-left: 2px solid var(--brass); font-family: var(--display); font-size: var(--st-read); line-height: 1.35; color: var(--pair-ink); }
.st-showall { display: flex; margin-top: clamp(1.6rem, 3vw, 2.4rem); padding-top: 1.3rem; border-top: 1px solid var(--hair); }
.st-pickbox .st-swap-know { font-size: var(--st-read); }
.st-back { margin: 0 0 1rem; font-size: var(--st-read); }
.st-back .st-link { font-size: var(--st-read); }
/* ‹ All coffee tables (item 5, November 14, 2026): a clear button at the top left of one piece, in place of a small link. */
.st-back-btn { min-height: 2.75rem; padding-inline: 1rem 1.2rem; font-size: var(--st-act); }
.st-seen-tag { background: color-mix(in srgb, var(--paper) 88%, transparent); color: var(--muted); outline: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); outline-offset: -1px; }
.st-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.4rem, 3vw, 2.8rem); align-items: start; }
.st-detail-pic { margin: 0; max-height: 34rem; }
/* Which finish the product photo shows, just above the finishes (designer QA of November 15, 2026, QA-02). */
.st-detail-shown { margin: .8rem 0 0; font-family: var(--display); font-size: var(--st-read); line-height: 1.45; color: var(--muted); }
.st-finbox .st-detail-shown { margin: 0 0 .6rem; }
.st-detail-text { min-width: 0; font-family: var(--display); }
.st-detail-text .st-opt-brand { margin-top: 0; }
.st-detail-text h3 { margin: .3rem 0 0; font-family: var(--display); font-weight: 300; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.15; }
.st-detail-text h3:focus { outline: none; }
.st-detail-size { margin: .8rem 0 0; font-size: 1rem; color: var(--ink); }
.st-finset { margin-top: 1.2rem; }
.st-finset .st-label { margin: 0 0 .5rem; }
.st-finset .st-label span { margin-left: .5rem; letter-spacing: 0; text-transform: none; font-size: var(--st-read); color: var(--ink); }
.st-swatches { display: grid; grid-template-columns: minmax(0, 1fr); gap: .45rem; }
/* Material subgroups share the longest label. Each grid fits its own current width. */
.st-finish-group .st-swatches { grid-template-columns: repeat(auto-fill, minmax(min(100%, calc(var(--finish-label-width, 100%) + 5rem)), 1fr)); }
.st-swatch { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .3rem .85rem .3rem .3rem; border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 999px; background: color-mix(in srgb, #fff 38%, var(--paper)); color: var(--ink); font-family: var(--display); font-size: var(--st-read); text-align: left; cursor: pointer; }
.st-swatch[data-plain="true"] { padding-left: .95rem; }
.st-swatch img { flex: none; width: 2rem; height: 2rem; border-radius: 50%; object-fit: cover; display: block; }
.st-swatch:hover { border-color: var(--ink); }
.st-swatch[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.st-detail-link { margin: 1.3rem 0 0; font-size: var(--st-read); }
.st-detail-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; padding: .7rem clamp(1.1rem, 3vw, 2.4rem) calc(.7rem + env(safe-area-inset-bottom)); border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); background: var(--paper); font-family: var(--display); }
.st-detail-foot p { margin: 0; min-width: 0; font-size: var(--st-read); line-height: 1.4; color: var(--muted); }
.st-detail-foot b { font-weight: 400; font-size: 1rem; color: var(--ink); }
.st-detail-foot .st-btn { flex: none; }
.st-finbox { width: min(100vw - 2rem, 38rem); max-height: calc(100dvh - 2rem); overflow-y: auto; font-family: var(--display); }
.st-fin-head { display: flex; align-items: center; gap: .9rem; }
.st-fin-head .st-thumb { width: 4rem; height: 4rem; }
.st-fin-head .st-label { margin: 0 0 .2rem; }
.st-fin-head h2 { margin: 0; font-size: 1.45rem; line-height: 1.2; }
.st-fin-head h2:focus, .st-lookbox h2:focus { outline: none; }
.st-finbox > .st-hint { margin: .9rem 0 0; }
.st-finbox > .st-hint:empty, .st-finbox .st-note:empty { display: none; }
.st-finbox .st-remove-go { margin-top: 1.5rem; }

@media (max-width: 900px) { #timer { order: 6; margin: .4rem 0 0; font-size: var(--st-read); } }
@media (max-width: 1180px) { .st-modes [data-mode="side"] { display: none; } .st-wait { flex-basis: 11rem; } .st-next-cost { display: none; } }
@media (max-width: 1100px) { .st-ver-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .st-picktools { flex-wrap: wrap; } }
/* Below a wide desktop the list of what is waiting folds away until it is asked for. Side by side, four names had room
   for two letters each at 1024 (found November 12, 2026). */
@media (max-width: 1180px) {
  .st-nextbar > .wrap { flex-wrap: wrap; gap: .5rem; padding-block: .7rem; }
  .st-next-lists { display: none; flex: 1 1 100%; order: -1; flex-direction: column; align-items: stretch; gap: .5rem; max-height: 46svh; overflow-y: auto; }
  .st-nextbar[data-open="true"] .st-next-lists { display: flex; }
  .st-next-lists .st-label { max-width: none; }
  .st-next-list { flex-direction: column; overflow: visible; }
  .st-wait { flex: none; }
  .st-next-go { flex: 1 1 100%; margin: 0; justify-content: space-between; gap: .8rem; }
  .st-next-say { max-width: none; text-align: left; }
  .st-next-show { display: inline; min-height: 0; margin-left: .3rem; font-size: inherit; }
  .st-next-go .st-btn { flex: none; padding-inline: 1.2rem; }
}
/* The picker's filters, where they no longer fit beside Suggested and All: a row of their own, in even columns. */
@media (min-width: 761px) and (max-width: 1180px) {
  .st-picktools { flex: 1 1 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .st-picktools .st-swap-pick, .st-picktools .st-swap-search { min-width: 0; }
  .st-ways-row .st-btn { padding-inline: .4rem; letter-spacing: .12em; }
}
@media (min-width: 761px) and (max-width: 900px) { .st-picktools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 999px) {
  .st-ws, .st-ws[data-portrait="true"] { --picw: 100%; display: flex; flex-direction: column; align-items: stretch; gap: .8rem; }
  .st-about { display: contents; max-width: none; }
  .st-about .eyebrow { order: -4; margin: 0; } .st-about h1 { order: -3; } .st-rename { order: -2; margin-top: -.6rem; } .st-rename-form { order: -1; margin-top: 0; }
  .st-version { margin-top: .4rem; } .st-about .st-asked, .st-about #summary { margin-top: .2rem; } .st-about-act { margin-top: 0; }
  .st-ws[data-portrait="true"] .st-frame { max-width: 30rem; }
}
@media (max-width: 760px) {
  .st-detail { grid-template-columns: minmax(0, 1fr); }
  .st-detail-pic { max-height: 46svh; aspect-ratio: auto; height: 46svh; }
  .st-pickbar { align-items: center; gap: .6rem; flex-wrap: wrap; }
  .st-pick-filter { display: inline-flex; margin-left: auto; padding-inline: 1.1rem; }
  .st-picktools { display: none; flex: 1 1 100%; flex-wrap: wrap; }
  .st-pickbar[data-tools="open"] .st-picktools { display: flex; }
  .st-ver-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-detail-foot { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .st-wsr { padding-top: .9rem; }
  .st-frame { margin-inline: calc(-1 * var(--gutter)); }
  .st-ws[data-portrait="true"] .st-frame { max-width: none; }
  .st-stagebar { position: static; margin: .7rem var(--gutter) 0; gap: .5rem; pointer-events: auto; }
  .st-stagebar .st-pills button { background: transparent; border-color: var(--brass-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .st-stagebar .st-pills button[aria-pressed="true"] { background: color-mix(in srgb, #fff 38%, var(--paper)); border-color: var(--ink); }
  .st-three { flex: 1 1 100%; min-width: 0; } .st-three button { flex: 1 1 0; min-width: 0; justify-content: center; padding-inline: .2rem; font-size: .9rem; }
  .st-ways-row { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); gap: .55rem; }
  .st-describe-row { grid-template-columns: minmax(0, 1fr); }
  .st-tabs { gap: 1.25rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .st-tabs button { font-size: 1rem; }
  .st-card-name { font-size: 1rem; }
  .st-scope button { padding-inline: .9rem; }
  .st-showall .st-btn { width: 100%; }
  .st-detail-foot .st-btn { margin-left: auto; }
  .st-updating { max-width: calc(100% - 4.6rem); }
}
/* On a phone the four tabs fit across: a little closer, and the count kept only where it tells something, on Versions. */
/* On a phone a version's small picture has no room for the mark and the heart side by side, so the mark goes below. */
@media (max-width: 480px) { .st-ver-now { top: auto; bottom: .5rem; } }
@media (max-width: 480px) { .st-tabs { gap: 1rem; } .st-tabs button { font-size: .9375rem; } .st-tabs button:not([data-tab="versions"]) small { display: none; } }
@media (max-width: 359px) { .st-three button { font-size: .8rem; letter-spacing: -.01em; } .st-tabs { gap: 1rem; } .st-scope button { padding-inline: .7rem; } .st-pick-filter { padding-inline: .8rem; } }
@media print { .st-tabs-wrap, .st-nextbar, .st-vers { display: none !important; } }

/* ---------- One face (Jeff, November 12, 2026, on the preview of batch 1: lines set in the serif "look like they're in
   the wrong font"). The studio is set in Jost. The serif (Newsreader) is kept for two things only: the italic words of a
   heading, and, on a finished room, the paragraphs that carry the design's voice (what the design is, what the person
   asked for, and the invitation to make it real). Until now any line with no face of its own took the main page's
   serif from the body, so the two faces alternated line by line. Section 4 of the usability test said the same.
   Scoped to the studio page (it alone has data-view): the privacy page and the admin pages are as they were. */
body.studio[data-view] { font-family: var(--display); }
body.studio[data-view] :is(input[type="email"], input[type="text"], input[type="password"], textarea) { font-family: var(--display); font-size: 1rem; }
/* Lines that were italic serif are upright Jost in the muted gray. Jost has no italic of its own. */
body.studio[data-view] :is(.st-opening-say, .st-drop-empty p, .st-move-tip, .st-check, .st-swap-know) { font-family: var(--display); font-style: normal; }
body.studio[data-view] .st-opening-say { font-size: 1rem; }
body.studio[data-view] .st-drop-empty p { font-size: .95rem; white-space: nowrap; }
/* With a mouse the box holds the button and "or drag one here" on one line, down to a narrow window. (Touch has no box.) */
@media (hover: hover), (pointer: fine) {
  body.studio[data-view] .st-drop-empty { padding-inline: 1rem; }
  @media (max-width: 480px) { body.studio[data-view] .st-drop[data-state="empty"] .st-drop-empty { column-gap: .7rem; padding-inline: .5rem; } }
}
/* The line under a heading, on the working screens. */
body.studio[data-view] :is(.st-intro, .st-gate, .st-trouble, .st-empty) .lede { font-family: var(--display); font-weight: 400; font-size: clamp(1.05rem, 1.25vw, 1.15rem); line-height: 1.55; color: var(--pair-ink); }
body.studio[data-view] .st-gate-say { font-family: var(--display); font-size: 1.05rem; }
/* Paragraphs inside the steps, the cards and the boxes: one size down from the serif they replace, which ran small. */
body.studio[data-view] .st-sub { font-size: 1.02rem; line-height: 1.55; }
body.studio[data-view] :is(.st-choice span, .st-tips li, .st-move-what, .st-swap-sec > p, .st-used-why) { font-size: .95rem; line-height: 1.5; }
body.studio[data-view] :is(.st-next p, .st-askbox p, .st-remove-confirm p, .st-plan p, .st-start-body dd, .st-movebox-copy p, .st-missing p) { font-size: 1rem; line-height: 1.5; }
body.studio[data-view] .st-opt-size { font-size: var(--st-read); }
/* The design's description, the person's own request and the next step's paragraph (From picture to room) were kept in the serif. Jeff, November 13, 2026
   (finding 11): they still look like the wrong font. They are Jost too. The serif is left only for the italic words of a heading. */
body.studio[data-view] :is(#summary, .st-asked, .st-help-say) { font-family: var(--display); font-weight: 400; }
body.studio[data-view] .st-about #summary { font-size: 1rem; line-height: 1.6; color: var(--pair-ink); }

/* ---------- Usability batch 3 (November 13, 2026): an idea with its real treatments ---------- */
/* A card is an idea. The open idea's treatments sit in a full row under the row its card is in: the grid packs the cards
   that follow back into that row, so the treatments are always right under the card that was pressed. */
.st-fam-grid { grid-auto-flow: row dense; }
.st-fam { display: flex; }
.st-fam-pick { flex: 1; }
.st-fam[data-open="true"] .st-fam-pick { background: color-mix(in srgb, #fff 34%, var(--paper)); outline-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.st-fam-pick[aria-pressed="true"] { outline-color: var(--ink); }
.st-fam-sub { margin-top: .2rem; font-family: var(--display); font-size: .95rem; line-height: 1.4; color: var(--muted); }
.st-fam-pick[aria-pressed="true"] .st-fam-sub, .st-fam-pick[data-now="true"] .st-fam-sub { color: var(--ink); }
.st-fam-more { margin-top: auto; padding-top: .5rem; font-family: var(--display); font-size: var(--st-read); color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: .22em; }
.st-fam-tags { display: flex; flex-wrap: wrap; gap: .3rem .4rem; margin-top: .45rem; }
/* One card per idea, and every press chooses (item 2, November 14, 2026). The whole card shows the choice. A small picture
   for each treatment sits on the card: pressing one chooses it, and with a mouse resting on one shows it in the big picture. */
.st-fam { flex-direction: column; padding: .55rem .55rem .75rem; outline: 2px solid transparent; outline-offset: -2px; transition: background-color .25s, outline-color .25s; }
.st-fam[data-chosen="true"] { outline-color: var(--ink); background: color-mix(in srgb, var(--brass) 10%, var(--paper)); }
.st-fam .st-fam-pick, .st-fam .st-fam-pick:hover, .st-fam .st-fam-pick[aria-pressed="true"] { flex: none; padding: 0; outline: 0; background: none; }
.st-fam .st-fam-pick:focus-visible:not(:where(.pointer-focus)) .st-move-img { outline: 2px solid var(--brass); outline-offset: 3px; }
.st-fam .st-fam-pick[disabled] { cursor: default; opacity: .5; }
.st-fam .st-fam-pick .st-move-img { outline: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); outline-offset: -1px; }
.st-fam .st-fam-pick:hover .st-move-img img { transform: scale(1.03); }
.st-fam[data-peek="true"] .st-fam-sub { color: var(--ink); }
.st-thumbs { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .6rem; }
.st-thumb-pick { position: relative; flex: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: var(--paper-2); outline: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); outline-offset: -1px; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: outline-color .2s; }
.st-thumb-pick img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-thumb-pick:hover { outline-color: var(--ink); }
.st-thumb-pick[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
.st-thumb-pick[data-now="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brass); }
.st-thumb-pick:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: 2px; }
.st-thumb-pick[disabled] { opacity: .4; cursor: default; }
.st-fam-status { margin: .5rem 0 0; font-family: var(--display); font-size: var(--st-read); letter-spacing: .02em; color: var(--muted); }
.st-fam-status[hidden] { display: none; }
.st-fam[data-chosen="true"] .st-fam-status { color: var(--ink); font-weight: 500; }
.st-fam .st-move-zoom { left: .55rem; top: .55rem; }
/* The fireplace wall (item 1, November 14, 2026): the fireplace, what goes above it and what goes beside it. */
.st-wall { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.1rem 2.2rem; margin: 0 0 1.4rem; padding: 1.1rem clamp(.9rem, 2vw, 1.4rem) 1.2rem; border: 1px solid var(--hair); background: color-mix(in srgb, #fff 30%, var(--paper)); }
.st-wall .st-label { margin: 0 0 .55rem; }
.st-wall-now { display: flex; align-items: flex-start; gap: .9rem; flex: 0 1 16rem; min-width: 0; }
.st-wall-now .st-label { margin-bottom: .3rem; }
.st-wall-pic { display: block; overflow: hidden; background: var(--paper-2); outline: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); outline-offset: -1px; }
.st-wall-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-wall-fire { flex: none; width: 6.4rem; height: 4.3rem; }
.st-wall-name { margin: 0; font-family: var(--display); font-size: 1.05rem; line-height: 1.3; color: var(--ink); }
.st-wall-tag { margin: .2rem 0 0; font-family: var(--display); font-size: var(--st-read); color: var(--muted); }
.st-wall-set { min-width: 0; }
.st-wall-tiles { display: flex; flex-wrap: wrap; gap: .7rem; }
.st-wall-tile { display: flex; flex-direction: column; gap: .4rem; width: 5rem; padding: 0; border: 0; background: none; color: var(--muted); font-family: var(--display); font-size: .85rem; line-height: 1.25; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st-wall-tile .st-wall-pic { width: 5rem; height: 6.25rem; transition: outline-color .2s; }
.st-wall-tile:hover .st-wall-pic { outline-color: var(--ink); }
.st-wall-tile[aria-pressed="true"] { color: var(--ink); font-weight: 500; }
.st-wall-tile[aria-pressed="true"] .st-wall-pic { outline: 2px solid var(--ink); outline-offset: 2px; }
.st-wall-tile:focus-visible { outline: none; }
.st-wall-tile:focus-visible:not(:where(.pointer-focus)) .st-wall-pic { outline: 2px solid var(--brass); outline-offset: 2px; }
.st-wall-say { flex: 1 1 18rem; margin: 0; max-width: 34rem; font-family: var(--display); font-size: .95rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 520px) { .st-wall { gap: 1rem; } .st-wall-tiles { gap: .55rem; } .st-wall-tile, .st-wall-tile .st-wall-pic { width: 4.4rem; } .st-wall-tile .st-wall-pic { height: 5.5rem; } }
.st-fam-tags:empty { display: none; }
.st-tag { display: inline-block; padding: .16rem .5rem; border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); font-family: var(--display); font-size: var(--st-small); letter-spacing: .08em; line-height: 1.5; color: var(--pair-ink); background: color-mix(in srgb, #fff 30%, var(--paper)); }
.st-tag-sig { border-color: var(--brass); color: var(--label); letter-spacing: .2em; text-transform: uppercase; }
.st-tag-reach { border-color: var(--ink); color: var(--ink); }
.st-opts { grid-column: 1 / -1; min-width: 0; margin: 0 .55rem .3rem; padding: 1rem clamp(.8rem, 2vw, 1.3rem) 1.1rem; border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); background: color-mix(in srgb, #fff 34%, var(--paper)); }
.st-opts-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .9rem; margin: 0 0 .7rem; max-width: none; font-family: var(--display); font-size: .95rem; color: var(--muted); }
.st-opts-h b { font-weight: 400; font-size: 1.08rem; color: var(--ink); }
.st-opts-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.6rem, 1fr)); gap: .5rem .4rem; margin-inline: -.55rem; }
.st-opts-row[data-shape="strip"] { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.st-pick { display: flex; }
.st-pick .st-move-pick { flex: 1; }
.st-pick .st-move-title { margin-top: .55rem; font-size: 1rem; }
.st-pick .st-move-pick[disabled] { cursor: default; }
.st-pick:not([data-now="true"]) .st-move-pick[disabled] { opacity: .5; }
.st-pick[data-now="true"] .st-move-pick { outline-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.st-pick .st-move-credit { margin-top: auto; padding-top: .3rem; }
.st-move-img .st-opt-tag { position: absolute; left: 0; top: auto; bottom: 0; padding: .2rem .55rem; background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 400; font-size: var(--st-small); letter-spacing: .14em; text-transform: uppercase; }
.st-opts-what { margin: .8rem 0 0; max-width: 46rem; font-family: var(--display); font-size: .95rem; line-height: 1.5; color: var(--pair-ink); }
.st-opts-what .st-move-tip { display: block; margin-top: .25rem; }
.st-slot-say { flex: 1 1 100%; margin: .35rem 0 0; max-width: 46rem; font-family: var(--display); font-size: .95rem; line-height: 1.45; color: var(--muted); }
.st-slot-say[hidden] { display: none; }
.st-swap-sec > .st-slot-say { margin: 0 0 1rem; }
.st-sides { margin: 0 0 1.1rem; }
.st-sides[hidden] { display: none; }
.st-sides > .st-wall { margin-bottom: 0; }
.st-sides .st-label { margin-bottom: .5rem; }
.st-sides .st-hint { margin: .55rem 0 0; }
.st-sides-pills button[disabled] { opacity: .45; cursor: default; }
.st-sides-pills button[disabled]:hover { border-color: var(--brass-line); }
#ideabox .st-fam-grid { margin-inline: 0; }
@media (max-width: 720px) {
  .st-opts { margin-inline: 0; padding-inline: .7rem; }
  .st-opts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-opts-row[data-shape="strip"] { grid-template-columns: minmax(0, 1fr); }
}
.st-working-moves .st-label-next { margin-top: 1.1rem; }
/* On the narrowest phones the bar's button sits a little tighter, so the longer name, Make these changes, never runs under Show chosen. */
@media (max-width: 360px) { #tray #go { padding-inline: .65rem; letter-spacing: .04em; } }
/* In the ideas box the sides row follows a line of text, so it takes a little air above. */
.st-swap-sec .st-sides { margin-top: 1rem; }

/* Phone and tablet entrance (Jeff, November 13, 2026). One column, so the photo step comes first: "Choose a photo" is on
   the first screen, with "Free to use" under it, and the finished room with "Try changing this room" follows as the
   second choice. On a computer the two sit side by side (the grid above), so nothing moves there. */
.st-photo-main .st-free-photo { margin-top: .9rem; font-size: clamp(1rem, 1.25vw, 1.12rem); }
@media (max-width: 899px) {
  :is(.st-steps:not([data-room="true"]), .st-opening:is([data-arrive="new"], [data-arrive="back"]) .st-steps) > .st-step[data-step="photo"] { display: flex; flex-direction: column; }
  :is(.st-steps:not([data-room="true"]), .st-opening:is([data-arrive="new"], [data-arrive="back"]) .st-steps) > .st-step[data-step="photo"] > .st-entrance { order: 3; padding-top: 0; }
  /* The switch sits under the picture, not on it, so it covers none of the room. Its type stays at the 12 px floor, so
     on a phone-sized picture it would otherwise cover the bottom of the room across most of its width. */
  .studio .st-entrance .studio-photo { overflow: visible; margin-bottom: calc(2.25rem + 6px + .7rem); }
  .studio .st-entrance .studio-toggle { top: calc(100% + .7rem); bottom: auto; left: 0; }
  :is(.st-steps:not([data-room="true"]), .st-opening:is([data-arrive="new"], [data-arrive="back"]) .st-steps) > .st-step[data-step="photo"] > .st-step-body { padding-bottom: 1.1rem; }
  /* The sample's own heading: one line a level below the step's title, set off by space, not by a rule or a label, so it
     reads as the second way in within the photo step (Jeff, November 13, 2026). */
  .st-entrance-head { margin: 1.4rem 0 .9rem; font-family: var(--display); font-weight: 400; font-size: clamp(1.1rem, 3.4vw, 1.25rem); line-height: 1.3; letter-spacing: 0; color: var(--ink); }
}
@media (max-width: 720px) {
  /* Quieter on a phone (Jeff, November 13, 2026): the open step's title a level down from the page's headline, and the
     folded tips a small muted link under the free line, with no rules around it. */
  .st-step[data-state="open"] .st-step-title { font-size: 1.5rem; }
  .st-tips-box { margin-top: .35rem; border-top: 0; }
  .st-tips-toggle { min-height: 2.75rem; font-size: .95rem; color: var(--muted); }
  .st-tips-box[data-open="true"] .st-tips-toggle { color: var(--ink); }
  /* Not on a phone (Jeff, November 13, 2026): a phone visitor has usually just read it on the main page, above the
     button that brought them here. On a tablet or a computer it stays under Choose a photo. */
  .st-photo-main .st-free-photo { display: none; }
}
@media (min-width: 900px) { .st-entrance-head { display: none; } }

/* ---------- Saved for your next update (finding 15, November 13, 2026). The foot of every chooser: what is saved, Add more
   changes (closes the box and keeps it) and Update room. */
.st-saved-foot { flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; padding: .85rem clamp(1.1rem, 3vw, 2.4rem) calc(.85rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); background: color-mix(in srgb, #fff 30%, var(--paper)); }
.st-saved-foot[hidden] { display: none; }
.st-saved-say { margin: 0; flex: 1 1 18rem; font-family: var(--display); font-size: var(--st-read); line-height: 1.45; color: var(--pair-ink); max-width: none; }
.st-saved-say b { font-weight: 400; color: var(--ink); }
.st-saved-say .st-saved-lead { display: block; font-size: var(--st-small); letter-spacing: .12em; text-transform: uppercase; color: var(--label); margin-bottom: .1rem; }
.st-saved-wait { display: block; margin-top: .2rem; color: var(--ink); }
/* Each idea saved is a line of its own, with Undo at its end (item 2, November 14, 2026). */
.st-saved-item, .st-saved-also { display: block; }
.st-saved-also { margin-top: .1rem; color: var(--muted); }
.st-saved-say .st-link { min-height: 0; padding: 0; margin-left: .35rem; font-size: inherit; vertical-align: baseline; }
.st-fam[data-peek="true"] .st-opt-tag { display: none; }
.st-saved-go { display: flex; flex-wrap: wrap; gap: .6rem; }
.st-saved-go .st-btn[disabled] { opacity: .45; cursor: not-allowed; }
.st-finbox .st-saved-foot { position: sticky; bottom: calc(-1 * clamp(1.4rem, 3vw, 2rem)); z-index: 1; margin: 1.4rem calc(-1 * clamp(1.4rem, 3vw, 2rem)) calc(-1 * clamp(1.4rem, 3vw, 2rem)); padding-inline: clamp(1.4rem, 3vw, 2rem); background: color-mix(in srgb, #fff 30%, var(--paper)); }
@media (max-width: 640px) { .st-saved-go { flex: 1 1 100%; } .st-saved-go .st-btn { flex: 1 1 0; } }

/* ---------- Coming in this update (findings 4 and 10): in place of the version's label while an update is made. */
.st-coming { margin-top: 1.1rem; padding: .9rem 1rem 1rem; border: 1px solid var(--brass-line); background: color-mix(in srgb, #fff 35%, var(--paper)); }
.st-coming .st-label { margin: 0 0 .55rem; }
.st-coming-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.st-coming-list li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: center; gap: .7rem; font-family: var(--display); font-size: .95rem; line-height: 1.3; color: var(--ink); }
.st-coming-pic { display: block; width: 2.6rem; height: 2.6rem; background: var(--st-tile); overflow: hidden; }
.st-coming-pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.st-coming-pic[data-photo="photo"] img { object-fit: cover; }
/* A row with no picture (the change typed) gets the pencil on the same tile, never a blank square (item 8). Its label sits over the words. */
.st-coming-list .st-coming-words { display: block; min-width: 0; }
.st-coming-pic.st-wait-thing { background: var(--st-tile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E5320' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='5' width='14' height='14' rx='1'/%3E%3Cpath d='M5 15.5l4-4 3.5 3.5 2.5-2.5 4 4'/%3E%3C/svg%3E") center / 1.3rem no-repeat; }
.st-coming-words small { display: block; font-size: var(--st-small); letter-spacing: .12em; text-transform: uppercase; color: var(--label); }
.st-coming-stage { margin: .7rem 0 0; font-family: var(--display); font-size: var(--st-read); line-height: 1.4; color: var(--muted); max-width: none; }

/* ---------- The picture (finding 6, option D, Jeff, November 13, 2026, with Codex's rules) ----------
   It rests on the newest design. A tap shows the whole other picture, the handle slides between the two, the other on the
   left. Nothing is written on the picture: what is shown is named under it. Only the handle takes a touch drag, so a swipe
   up or down anywhere else scrolls the page. The handle's grab area is 48 by 64 px and it rests 26 px in from the edge.
   With a mouse it rests on the edge itself, half of it showing, so it covers less of the room (Jeff, November 13, 2026, with
   Codex): a mouse needs no room for a finger and there is no back swipe, and a drag can start anywhere on the picture. */
.st-cmp { --knob-rest: 26px; position: relative; overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; cursor: pointer; --cmp: 0%; --knob: 26px; }
.st-cmp:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: 3px; }
.st-cmp > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; opacity: 1; transition: none; }
.st-cmp > img:not([src]) { visibility: hidden; }
.st-cmp > .st-cmp-other { clip-path: inset(0 calc(100% - var(--cmp)) 0 0); }
.st-cmp:is([data-cmp="latest"], [data-cmp="off"]) > .st-cmp-other { visibility: hidden; }
.st-cmp-line { position: absolute; top: 0; bottom: 0; left: var(--cmp); width: 2px; margin-left: -1px; background: var(--paper); box-shadow: 0 0 4px rgba(0,0,0,.25); display: none; pointer-events: none; }
.st-cmp[data-cmp="split"] .st-cmp-line { display: block; }
.st-cmp-handle { position: absolute; top: 50%; left: var(--knob); z-index: 1; width: 3rem; height: 4rem; margin: -2rem 0 0 -1.5rem; display: flex; align-items: center; justify-content: center; touch-action: none; cursor: ew-resize; }
.st-cmp-handle i { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318181B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 1.25rem no-repeat; box-shadow: 0 1px 6px rgba(0,0,0,.3); }
/* Showing the whole other picture, the handle waits at the right edge, so a drag can start from there on a phone too. */
.st-cmp[data-cmp="off"] .st-cmp-handle { display: none; }
.st-cmp[data-dragging="true"] { cursor: ew-resize; }
.st-cmp[data-cmp="off"] { cursor: default; }
.st-cmp .st-updating { pointer-events: auto; cursor: default; }
.st-cmp-caps { display: flex; justify-content: space-between; gap: 1rem; min-height: 1.45em; margin-top: .55rem; font-family: var(--display); font-size: .95rem; line-height: 1.45; color: var(--ink); }
.st-cmp-caps[hidden] { display: none; }
.st-cmp-cap-r { text-align: right; }
.st-cmp-under { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem 1.2rem; margin-top: .25rem; }
.st-cmp-under[hidden] { display: none; }
.st-cmp-hint { margin: 0; font-family: var(--display); font-size: var(--st-read); line-height: 1.4; color: var(--muted); max-width: none; }
.st-cmp-hint[hidden] { display: none; }
.st-cmp-with { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.st-cmp-with[hidden] { display: none; }
.st-cmp-with-label { font-family: var(--display); font-size: var(--st-read); color: var(--muted); white-space: nowrap; }
/* Compare with is one joined two-part switch (item 6, November 14, 2026). The chosen half is filled and has no hand on it. */
.st-seg { display: inline-flex; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; }
.st-seg button { min-height: 2.75rem; padding: .45rem 1rem; border: 0; background: transparent; color: var(--ink); font-family: var(--display); font-size: .92rem; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.st-seg button + button { border-left: 1px solid var(--ink); }
.st-seg button:hover { background: color-mix(in srgb, #fff 38%, var(--paper)); }
.st-seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); cursor: default; }
.st-seg button:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: -4px; }
.st-cmpbox .st-seg { border-color: rgba(238,231,217,.7); }
.st-cmpbox .st-seg button { color: #EEE7D9; }
.st-cmpbox .st-seg button + button { border-left-color: rgba(238,231,217,.7); }
.st-cmpbox .st-seg button:hover { background: rgba(238,231,217,.12); }
.st-cmpbox .st-seg button[aria-pressed="true"] { background: #EEE7D9; color: #18181B; }
@media (max-width: 520px) { .st-cmp-with { margin-left: 0; width: 100%; justify-content: space-between; } }
/* On the narrowest phones the label goes above the switch, and the switch takes the full width with its two halves equal,
   so Your photo is never cut off (designer QA of November 15, 2026, QA-04: 344 px of page at 320). */
@media (max-width: 400px) {
  .st-cmp-with { flex-wrap: wrap; gap: .35rem; }
  .st-cmp-with .st-seg-wrap { flex: 1 1 100%; min-width: 0; }
  .st-cmp-with .st-seg { display: flex; width: 100%; }
  .st-cmp-with .st-seg button { flex: 1 1 0; min-width: 0; padding-inline: .5rem; white-space: normal; line-height: 1.2; }
}
/* The enlarged view: the same picture, as large as the screen allows, with the same names and choices under it. */
.st-cmpbox figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; gap: .6rem; }
.st-big-cmp { aspect-ratio: var(--ar, 1.5); width: min(100%, calc((100dvh - 11rem) * var(--ar, 1.5))); }
.st-lightbox .st-big-cmp > img { max-width: none; max-height: none; width: 100%; height: 100%; }
.st-cmpbox figcaption { display: block; width: min(100%, calc((100dvh - 11rem) * var(--ar, 1.5))); }
.st-cmpbox .st-cmp-caps { color: #EEE7D9; }
.st-cmpbox :is(.st-cmp-hint, .st-cmp-with-label) { color: rgba(238,231,217,.72); }
.st-cmpbox .st-big-links { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin: .4rem 0 0; }
.st-cmpbox .st-cmp-line { background: #EEE7D9; }
@media (max-width: 640px) {
  /* On a phone the picture runs to the screen's edges: its names and choices keep the page's margin, and the handle rests
     44 px in, clear of the phone's own back swipe from the edge. */
  .st-frame .st-cmp { --knob-rest: 44px; }
  .st-frame :is(.st-cmp-caps, .st-cmp-under) { padding-inline: var(--gutter); }
}
@media (hover: hover) and (pointer: fine) { .st-cmp, .st-frame .st-cmp { --knob-rest: 0px; } }

/* ---------- Step 1, the entrance (findings 7 and 12, November 13, 2026) ----------
   A computer: a shorter introduction, the upload on the left with the sample right under it and the photo tips in one line,
   and on the right the room in the same picture as a finished room, named Before and After under it. The phone keeps its
   layout. Someone with rooms sees their latest room, with Continue. */
.st-entrance-pic { aspect-ratio: 3 / 2; background: var(--paper-2); }
.st-entrance .st-cmp-caps { margin-top: .5rem; }
.st-entrance-cap { padding-top: 0; }
.st-entrance-cap .st-cmp-hint { margin-top: .15rem; }
.st-entrance-cap .st-entrance-say { margin-top: .45rem; }
.st-sample-line, .st-tips-line { margin: .9rem 0 0; font-family: var(--display); font-size: .98rem; line-height: 1.5; color: var(--pair-ink); max-width: none; }
.st-sample-line .st-link { font-size: inherit; min-height: 0; }
.st-tips-line { font-size: var(--st-read); color: var(--muted); }
.st-sample-line[hidden] { display: none; }
/* The sample is the picture, with its heading and button, so the line under the upload is only for someone whose picture is
   their own room (November 13, 2026). */
.st-steps .st-sample-line:not([hidden]) { display: block; }
.st-entrance-sample { display: grid; gap: .25rem; margin: 0 0 .8rem; font-family: var(--display); font-size: 1rem; line-height: 1.4; color: var(--ink); max-width: none; }
.st-entrance-sample .st-label { margin: 0; }
.st-entrance-sample[hidden] { display: none; }
@media (max-width: 899px) { .st-entrance-sample { display: none; } }
/* On a computer the heading above says what the sample is, so the line beside its button is left out, and the row under it
   comes up the page. */
@media (min-width: 900px) { .st-entrance-try p { display: none; } }
.st-warn-tips { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .2rem; font-size: var(--st-read); line-height: 1.45; }
.st-warn-tips b { font-weight: 500; }
/* Photo tips shows only while the note is folded, on a phone or tablet with the ideas open (designer QA, November 15, 2026). */
.st-warn .st-warn-tipsbtn { display: none; }
div.st-warn > p { margin: 0; }
@media (max-width: 899px) {
  /* The phone keeps its layout: the tips fold as before and the sample is the picture, unless the picture is the person's own room. */
  .st-tips-line { display: none; }
  .st-entrance-pic { margin-inline: 0; }
}

/* ---------- Step 2, The room, on a computer (finding 8, November 13, 2026, Jeff and Codex) ----------
   The choices on the left, about two thirds, and the photo smaller on the right, its top level with "The room", flush with
   the right edge, with a compact Use a different photo and Remove photo under it. It stays in view down to Design this
   room. The cards wrap into rows rather than squeeze. The photo lands about where step 1's picture was. */
@media (min-width: 1000px) {
  .st-steps[data-room="true"] { grid-template-columns: minmax(0, 69fr) minmax(0, 31fr); }
  .st-steps[data-room="true"] > .st-step[data-step="photo"] { grid-column: 2; grid-row: 1; border-top: 0; padding-top: 2.45rem; }
  .st-steps[data-room="true"] > .st-step[data-step="room"] { grid-column: 1; grid-row: 1; }
  .st-steps[data-room="true"] > .st-step[data-step="photo"] > .st-step-head { display: none; }
  .st-steps[data-room="true"] .st-roomview { gap: .5rem; }
  .st-steps[data-room="true"] .st-roomview-pic img { max-height: 40svh; }
  .st-steps[data-room="true"] .st-choices { grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); }
  .st-steps[data-room="true"] .st-choices-two { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
}

/* ---------- A box's list, scrolled (finding 16, November 13, 2026): a line cut in half by the frozen header read as text
   hidden under it. Once the list is scrolled its top edge fades, so nothing shows half cut. At the top nothing fades. */
:is(#idea-body, #swap-body, #swap-detail)[data-scrolled="true"] { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 1.6rem); mask-image: linear-gradient(to bottom, transparent 0, #000 1.6rem); }

/* ---------- Working (finding 9, November 13, 2026) ----------
   One short row: a smaller heading, the three steps on one line and the time. Then the pieces on the left, three across
   and all in view, and on the right the photo small (where it was on The room), the room, the ideas and the note. */
.studio .st-working { padding-block: clamp(1rem, 2vw, 1.6rem) clamp(2rem, 4vw, 3.5rem); }
.st-wtop { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem clamp(1.5rem, 3vw, 2.8rem); padding-bottom: .9rem; border-bottom: 1px solid var(--hair); }
.st-wtop > * { order: 0; }
.st-wtop-head .eyebrow { margin: 0 0 .25rem; }
.studio .st-wtop-head h1 { margin: 0; font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.15; }
.studio .st-wtop-head h1 em { display: inline; font-size: 1em; }
.st-wtop .st-progress { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; margin: 0 0 .2rem; padding: 0; border: 0; }
.st-wtop .st-progress li { padding: 0; border: 0; grid-template-columns: 1rem auto; gap: .45rem; font-size: .98rem; white-space: nowrap; }
.studio .st-wtop .st-timer { margin: 0 0 .2rem auto; font-size: .98rem; font-weight: 400; color: var(--muted); }
.st-wcap .cap { margin: .6rem 0 0; }
.st-wcap .st-note:empty { display: none; }
.st-wgrid { display: grid; grid-template-columns: minmax(0, 69fr) minmax(0, 31fr); gap: clamp(1.6rem, 3.4vw, 3rem); align-items: start; margin-top: clamp(1.2rem, 2.4vw, 1.8rem); padding: 0; border: 0; font-family: var(--display); }
.st-wgrid[hidden] { display: none; }
.st-wleft { min-width: 0; }
.st-wpiece-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 1.1rem; }
.st-wpieces[data-choosing="true"] .st-hint { max-width: 32rem; }
/* The pieces come in one after another while the person watches (reveal() in studio.js). A card waiting its turn keeps its
   place, so nothing moves, and cannot be pressed or read out. */
.st-wpiece[data-reveal="wait"] { opacity: 0; visibility: hidden; transform: translateY(.7rem); }
.st-wpiece[data-reveal="in"] { transition: opacity .7s ease-out, transform .7s cubic-bezier(.2, .7, .3, 1); }
@media (prefers-reduced-motion: reduce) { .st-wpiece[data-reveal] { opacity: 1; visibility: visible; transform: none; transition: none; } }
.st-wpieces .st-hint { margin: -.3rem 0 1rem; }
.st-wright { min-width: 0; display: grid; gap: .9rem; }
.st-wright .st-working-photo { margin: 0; }
.st-wright .st-working-photo img { display: block; width: 100%; max-height: 40svh; object-fit: contain; }
.st-wroom { margin: 0; font-family: var(--display); font-size: .95rem; line-height: 1.45; color: var(--pair-ink); max-width: none; }
.st-wroom b { font-weight: 400; color: var(--ink); }
.st-wroom-note { display: block; margin-top: .3rem; color: var(--muted); }
.st-wideas[hidden], .st-wnote[hidden], .st-wpieces[hidden] { display: none; }
.st-wideas { margin: 0; padding-top: .8rem; border-top: 1px solid var(--hair); }
.st-wideas .st-label { margin: 0 0 .55rem; }
.st-wideas ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.st-wideas li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: center; gap: .7rem; font-size: .95rem; line-height: 1.3; }
.st-wideas li img { width: 2.6rem; height: 2.6rem; object-fit: cover; display: block; background: var(--paper-2); }
.st-wideas > p:not(.st-label) { margin: 0; font-size: .95rem; color: var(--pair-ink); }
.st-wideas .cap { margin-top: .5rem; }
.st-wright .st-wnote { padding-top: .8rem; border-top: 1px solid var(--hair); }
.st-wright .st-wnote p:not(.st-label) { margin: 0; font-size: .98rem; line-height: 1.55; }
.st-wleft .st-working-moves { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 1099px) { .st-wpiece-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .st-wtop { align-items: flex-start; flex-direction: column; gap: .55rem; }
  .studio .st-wtop .st-timer { margin: 0; }
  .st-wgrid { grid-template-columns: minmax(0, 1fr); }
  .st-wright { order: -1; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); align-items: start; column-gap: 1rem; }
  .st-wright .st-working-photo { grid-row: 1 / span 2; }
  .st-wright .st-working-photo img { max-height: none; }
  .st-wright :is(.st-wideas, .st-wnote) { grid-column: 1 / -1; }
}
/* The older phone order for the working screen (November 11) placed these by id. The new top row keeps them in its own order. */
.st-wtop #working-h, .st-wtop #timer, .st-wtop #progress { order: 0; }
.studio .st-wtop #timer { margin: 0 0 .2rem auto; font-size: .98rem; }
.st-wtop #progress { margin: 0 0 .2rem; }
@media (max-width: 899px) { .studio .st-wtop #timer { margin: 0; } .st-wtop #progress { margin: 0; } }
/* Compact cards on the wait, so every piece is in view with little scrolling. */
.st-wpiece-grid .st-piece-img { aspect-ratio: 4 / 3; width: 100%; }
.st-wpiece-grid .st-piece-img img { padding: 6%; }
.st-wpiece-grid .st-piece-brand { margin-top: .55rem; }
.st-wpiece-grid .st-piece-name { font-size: .98rem; padding-block: .55rem; margin-block: -.35rem -.5rem; }
.st-wpiece-grid .st-piece p { margin-top: .2rem; font-size: var(--st-read); line-height: 1.4; }
/* A real rug shown for a rug idea (finding 13): the vendor's photo on the tile, as on the pieces. */
.st-used-item .st-move-img[data-real="true"] { background: var(--st-tile); }
.st-used-item .st-move-img[data-real="true"] img { object-fit: contain; padding: 6%; }
.st-used-real { margin: .2rem 0 0; font-family: var(--display); font-size: var(--st-read); line-height: 1.4; color: var(--muted); max-width: none; }
.st-entrance-cap .st-entrance-try { margin-top: .9rem; }
.st-hint-mouse { display: none; }
@media (hover: hover) and (pointer: fine) { .st-hint-mouse { display: inline; } .st-hint-touch { display: none; } }
/* The enlarged view keeps its names right under the picture, the two centred together on the screen. */
.st-cmpbox figure { grid-template-rows: auto auto; align-content: center; }

/* ---------- The photo card, the bottom bar and the working screen (Jeff, November 14, 2026) ----------
   On The room the photo and its one control are one card: a hairline like the choice cards, a slightly lighter ground,
   square corners, no shadow. The photo fills the card's width, with a magnifier in its corner, and the footer says
   "Your photo" with Change photo on the right. The same card, in the same place, carries onto the working screen with the
   choices in its footer. The finished design stays flat: a card is for the small reference photo only. */
.st-photocard { border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); background: #F2EEE7; }
.st-photocard-pic { position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 0; background: #F2EEE7; cursor: zoom-in; line-height: 0; }
.st-photocard-pic img { display: block; width: 100%; height: auto; max-height: 40svh; object-fit: contain; }
.st-photocard-pic:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: 3px; }
/* The magnifier from the finished design, a little smaller to suit the card. The whole photo is the button. */
.st-photocard-zoom { position: absolute; right: .5rem; top: .5rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; pointer-events: none; background: color-mix(in srgb, var(--paper) 88%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318181B' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='5.5'/%3E%3Cpath d='M15 15l4.5 4.5M10.5 8.2v4.6M8.2 10.5h4.6'/%3E%3C/svg%3E") center / 1.25rem no-repeat; transition: background-color .2s; }
.st-photocard-pic:hover .st-photocard-zoom { background-color: var(--paper); }
.st-photocard-foot { display: flex; align-items: center; justify-content: space-between; gap: .4rem .9rem; min-height: 2.75rem; padding: 0 .875rem; }
.studio .st-photocard-name { margin: 0; padding-block: .55rem; font-family: var(--display); font-size: .8125rem; line-height: 1.4; color: var(--muted); max-width: none; }
.st-photocard .st-photocard-act { flex: none; font-size: .8125rem; white-space: nowrap; }
/* The old caption, the loose links and Start over are gone from The room. */
.st-roomview-ideas li.st-roomview-more { display: none; }

@media (min-width: 1000px) {
  /* The headline's rule runs across both columns, and the card's top is level with "The room". */
  .st-steps[data-room="true"] { border-top: 1px solid var(--hair); }
  .st-steps[data-room="true"] > .st-step[data-step="room"] { border-top: 0; }
  .st-steps[data-room="true"] .st-roomview { gap: .9rem; }
  .st-steps[data-room="true"] .st-roomview-ideas { margin: 0; }
  /* The bottom bar holds only Design this room. It and its line run the full width of the page, with the button at the
     far right, on the edge of Sign in and the photo card. The room step is 69 parts of the two columns, the photo 31, so
     the bar reaches past the step by 31/69 of the step's width and the gap between them. */
  .st-steps[data-room="true"] > .st-step[data-step="room"] .st-step-foot { margin-right: calc(-1 * (100cqi * 31 / 69 + clamp(2rem, 3.4vw, 2.75rem))); }
  .st-step[data-step="room"] .st-step-foot .st-room-go { flex-direction: row; justify-content: flex-end; }
  .st-step[data-step="room"] .st-step-foot .st-note { text-align: right; }
}

@media (max-width: 999px) {
  /* A phone or a tablet: the card opens out into the plain strip pinned under the header. The thumbnail with its
     magnifier, "Your photo", the chosen ideas and Change photo on one line, with no card. */
  .st-roomview { display: flex; align-items: center; gap: .5rem .85rem; flex-wrap: wrap; }
  .st-roomview .st-photocard, .st-roomview .st-photocard-foot { display: contents; }
  .st-roomview .st-photocard-pic { order: 1; flex: none; width: auto; background: none; border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); }
  .st-roomview .st-photocard-pic img { width: 5.25rem; height: 3.5rem; max-height: none; object-fit: cover; }
  .st-roomview .st-photocard-zoom { right: .2rem; top: .2rem; width: 1.4rem; height: 1.4rem; background-size: .9rem; }
  .studio .st-roomview .st-photocard-name { order: 2; flex: 1 1 0; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0; font-size: var(--st-small); letter-spacing: .24em; text-transform: uppercase; color: var(--label); }
  .st-roomview .st-roomview-ideas { order: 3; flex: none; grid-column: auto; grid-row: auto; margin: 0; display: flex; gap: .3rem; }
  .st-roomview .st-roomview-ideas[hidden] { display: none; }
  .st-roomview .st-photocard-act { order: 4; margin-left: auto; }
  .st-roomview .st-warn { order: 5; flex: 1 0 100%; margin: 0 0 .1rem; }
  .st-roomview .st-warn[data-fold="true"] { padding-block: .4rem; }
  .st-roomview .st-warn[data-fold="true"]::before { top: .48rem; }
  .st-roomview .st-warn[data-fold="true"] .st-warn-more { display: none; }
  .st-roomview .st-warn[data-fold="true"] .st-warn-tipsbtn { display: inline; margin-left: .6rem; }
  /* Change photo is right above it in the strip, so the folded note keeps to one line. */
  .st-roomview .st-warn[data-fold="true"] [data-change-photo] { display: none; }
  .st-roomview .st-warn[data-fold="true"]:not([data-open="true"]) .st-warn-tips { display: none; }
  /* Three ideas, then "+2" for the rest. With ideas chosen, "Your photo" steps aside for them: the thumbnail and its
     magnifier still say what it is. */
  .st-roomview:has(.st-roomview-ideas:not([hidden])) .st-photocard-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .st-roomview .st-roomview-ideas img { width: 2.1rem; height: 2.1rem; }
  .st-roomview .st-roomview-ideas li:nth-child(n+4):not(.st-roomview-more) { display: none; }
  .st-roomview .st-roomview-ideas[data-n] li.st-roomview-more { display: none; }
  .st-roomview .st-roomview-ideas:is([data-n="4"], [data-n="5"], [data-n="6"], [data-n="7"], [data-n="8"], [data-n="9"]) li.st-roomview-more { display: grid; }
  .st-roomview-more { place-items: center; width: 2.1rem; height: 2.1rem; border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); font-family: var(--display); font-size: .8125rem; color: var(--ink); }
  .st-roomview-more b { font-weight: 400; }
  .st-roomview-more .st-more-2 { display: none; }
  /* Design this room fills the bar. */
  .st-step[data-step="room"] .st-step-foot .st-room-go .st-btn { flex: 1 1 auto; width: 100%; }
}
@media (max-width: 380px) {
  /* The narrowest phones: two ideas, then the count of the rest. */
  .st-roomview { column-gap: .6rem; }
  .st-roomview .st-photocard-pic img { width: 4.5rem; height: 3rem; }
  .studio .st-roomview .st-photocard-name { letter-spacing: .16em; }
  .st-roomview .st-roomview-ideas img, .st-roomview-more { width: 1.9rem; height: 1.9rem; }
  .st-roomview .st-roomview-ideas li:nth-child(n+3):not(.st-roomview-more) { display: none; }
  .st-roomview .st-roomview-ideas:not([data-n="1"]):not([data-n="2"]) li.st-roomview-more { display: grid; }
  .st-roomview-more .st-more-3 { display: none; }
  .st-roomview-more .st-more-2 { display: inline; }
}

/* The working screen: the card in the same place as on The room. On a computer the top row is the same height as The
   room's headline, the eyebrow (the room's name, now in the card's footer) steps aside, and both columns start the same
   distance under the rule as the card does on The room, so the photo does not move between the two screens. */
.st-wcap { margin: 0 0 1.4rem; }
.st-wcap .cap { margin: 0; }
.st-wright { gap: .9rem; }
.st-wright .st-working-card .st-working-photo { margin: 0; }
.st-wright .st-working-card .st-working-photo img { max-height: 40svh; }
.st-working-photo::after { pointer-events: none; }
.st-wroom-note { margin: 0; font-family: var(--display); font-size: .95rem; line-height: 1.45; color: var(--muted); max-width: none; }
.st-wroom-note[hidden] { display: none; }
@media (min-width: 1000px) {
  .studio .st-working { padding-top: clamp(.9rem, 1.8vw, 1.3rem); }
  .st-wtop { padding-bottom: clamp(.5rem, 1vw, .8rem); }
  .st-wtop-head .eyebrow { display: none; }
  .studio .st-wtop-head h1 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.2; letter-spacing: -.01em; }
  /* The steps and the time no taller than the headline, so the row is the height of The room's. */
  .st-wtop #progress, .studio .st-wtop #timer { margin-bottom: 0; line-height: 1.2; }
  .st-wtop .st-progress li { line-height: 1.2; }
  .st-wgrid { margin-top: 2.45rem; column-gap: clamp(2rem, 3.4vw, 2.75rem); }
}
/* On a small computer the running time would take a second line and push the card down, so the row keeps the three
   steps, which say where the design is, and the time line under the rule says how long it takes. */
@media (min-width: 1000px) and (max-width: 1279px) { .studio .st-wtop #timer { display: none; } }
@media (max-width: 899px) {
  /* A phone: the time line first, as before, then the card, then the pieces. */
  .st-wgrid > .st-wleft { display: contents; }
  .st-wleft > .st-wcap { order: -2; margin: 0; }
  .st-wright { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); }
  .st-wright .st-working-card { grid-row: 1 / span 2; }
  .st-wright .st-working-card .st-working-photo img { max-height: none; }
  .st-wright .st-working-card .st-photocard-foot { padding: 0 .65rem; }
  .st-wright .st-wroom-note { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
}
/* The narrowest phones: the three steps one under the other, each free to wrap, so none runs off the screen (seen at
   320 px on November 14, 2026, the same on main). */
@media (max-width: 480px) { .st-wtop .st-progress { display: grid; gap: .3rem; } .st-wtop .st-progress li { white-space: normal; } }

/* ---------- The afternoon batch of November 14, 2026 ---------- */
/* Beside the fireplace, at the top of Built-ins (item 4): the same tiles as Beside it in Your fireplace wall, with a line
   that says what it does. The ideas under Built-ins that fill the fireplace's wall say how to keep the fireplace too. */
.st-beside-head { flex: 1 1 15rem; min-width: 0; max-width: 30rem; }
.st-beside-head .st-wall-say { max-width: none; }
.st-beside-head .st-beside-note { margin-top: .5rem; color: var(--ink); }
.st-fam-hint { margin: .45rem 0 0; font-family: var(--display); font-size: var(--st-read); line-height: 1.4; color: var(--muted); max-width: none; }
/* Design ideas in view before Design this room (item 3). Beside the button, one quiet line: who chooses the ideas, and the
   way to them. On a computer it sits to the left of the button. On a phone or tablet it is a line above the button, in
   the bar. While a design is starting its link does nothing and looks it. */
.studio .st-go-ideas { margin: 0; max-width: none; font-family: var(--display); font-size: var(--st-read); line-height: 1.4; color: var(--muted); white-space: nowrap; }
.st-go-ideas .st-link { font-size: inherit; color: var(--ink); }
.st-go-ideas[data-busy="true"] .st-link { pointer-events: none; opacity: .55; }
@media (min-width: 1000px) { .st-step[data-step="room"] .st-step-foot .st-go-ideas { order: -1; margin-right: .5rem; } }
@media (max-width: 999px) {
  .st-step[data-step="room"] .st-step-foot .st-room-go { flex-wrap: wrap; row-gap: .35rem; }
  .st-step[data-step="room"] .st-step-foot .st-go-ideas { order: -1; flex: 1 0 100%; text-align: center; white-space: normal; }
}
/* Under the photo card, with no idea chosen (computer only): three idea pictures for the room and Explore design ideas. */
.st-roomview-explore { display: grid; gap: .55rem; }
.st-roomview-explore[hidden] { display: none; }
.st-roomview-explore-pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.st-roomview-explore-pics img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-2); outline: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); outline-offset: -1px; }
.st-roomview-explore .st-link { justify-self: start; font-size: var(--st-read); }
@media (max-width: 999px) { .st-roomview .st-roomview-explore { display: none; } }
/* The working screen from the click (item 6.1): while the photo is sent, the first step carries a thin bar of how much has gone. */
.st-progress .st-send { display: block; width: min(14rem, 100%); height: 2px; margin: .45rem 0 .1rem; background: color-mix(in srgb, var(--ink) 12%, transparent); overflow: hidden; }
.st-progress .st-send i { display: block; width: 0; height: 100%; background: var(--brass); transition: width .2s linear; }
.st-wtop .st-progress li:has(.st-send) { display: inline-flex; flex-direction: column; }
@media (prefers-reduced-motion: reduce) { .st-progress .st-send i { transition: none; } }

/* Design ideas by shape (November 14, 2026). Built-ins: what it is for, as a row of buttons, then the shapes. A chosen made
   thing has a Finish row under its picture: round swatches in 44px targets, stains then paints with a gap, the current one
   ringed and named. They are .st-fin-dot, never .st-swatch: that name is the swap picker's labelled finish chips, and
   sharing it shrank those chips to empty circles with their names spilling over (Jeff, November 14, 2026). On a phone the row scrolls sideways under the card. A shape with no finish says it comes as it is. */
.st-purposes { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.25rem; }
.st-purpose { position: relative; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .5rem 1.1rem; border: 1px solid var(--brass-line); border-radius: 999px; background: transparent; color: var(--ink); font-family: var(--display); font-size: .95rem; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; -webkit-tap-highlight-color: transparent; }
.st-purpose:hover { border-color: var(--ink); }
.st-purpose[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.st-purpose-mark { width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.st-fin { display: flex; flex-direction: column; gap: .1rem; margin-top: .65rem; padding-top: .55rem; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); min-width: 0; }
.st-fin-say { margin: 0; font-family: var(--display); font-size: .9rem; color: var(--muted); }
.st-fin-say b { font-weight: 400; color: var(--ink); }
.st-fin-row { display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin: .1rem -.5rem 0; }
.st-fin-group { display: flex; flex-wrap: wrap; min-width: 0; }
.st-fin-dot { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st-fin-dot span { display: block; width: 28px; height: 28px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(24,24,27,.28); transition: box-shadow .2s; }
@media (hover: hover) { .st-fin-dot:hover span { box-shadow: inset 0 0 0 1px rgba(24,24,27,.5), 0 0 0 2px var(--paper), 0 0 0 3px color-mix(in srgb, var(--ink) 40%, transparent); } }
.st-fin-dot[aria-pressed="true"] span { box-shadow: inset 0 0 0 1px rgba(24,24,27,.28), 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.st-fin-dot:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: 50%; }
.st-fin-say + .st-fin-row + .st-fin-say { margin-top: .35rem; }
.st-fin-word { width: auto; min-width: 44px; padding: 0 .7rem; margin: 4px .4rem 4px 0; height: 36px; border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 999px; font-family: var(--display); font-size: .9rem; color: var(--ink); }
.st-fin-group:has(.st-fin-word) { margin-left: .5rem; }
.st-fin-word[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (hover: hover) { .st-fin-word:hover { border-color: var(--ink); } }
.st-fin-word:focus-visible { border-radius: 999px; outline-offset: 2px; }
.st-fin-more { display: flex; align-items: center; gap: .5rem; margin: .5rem 0 0; font-family: var(--display); font-size: .85rem; color: var(--muted); }
/* Tap a swatch to choose (November 14, 2026, night): on a card not yet chosen each dot is a button, 24 by 40, that chooses the
   card in that option in one step. Up to eight fit a card on one line, and the count sits under them. */
.st-fin-more { flex-direction: column; align-items: flex-start; gap: 0; margin-top: .25rem; }
.st-fin-dots { display: flex; flex-wrap: wrap; margin-left: -3px; }
.st-fin-tap { flex: none; display: flex; align-items: center; justify-content: center; width: 24px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st-fin-tap i { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(24,24,27,.28); transition: box-shadow .2s; }
@media (hover: hover) { .st-fin-tap:hover i { box-shadow: inset 0 0 0 1px rgba(24,24,27,.5), 0 0 0 2px var(--paper), 0 0 0 3px color-mix(in srgb, var(--ink) 40%, transparent); } }
.st-fin-tap:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--ink); outline-offset: -4px; border-radius: 50%; }
.st-fin-tap:disabled { opacity: .45; cursor: default; }
/* The idea in each of its options, in the enlarged view (November 14, 2026, night): small named pictures, the one shown ringed. */
.st-movebox-options { padding: 0 clamp(.8rem, 1.6vw, 1.2rem) clamp(.8rem, 1.6vw, 1.2rem); }
.st-movebox-options .st-label { margin: .2rem 0 .6rem; }
.st-movebox-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: .6rem; max-height: min(34dvh, 20rem); overflow-y: auto; padding: 3px; }
.st-movebox-opt { display: flex; flex-direction: column; gap: .3rem; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font-family: var(--display); font-size: .82rem; line-height: 1.25; color: var(--ink); min-height: 44px; }
.st-movebox-opt img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 14%, transparent); }
.st-movebox-opt[aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.st-movebox-opt:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) { .st-movebox-opt:hover img { box-shadow: 0 0 0 1px var(--ink); } }
.st-fin-match { align-self: flex-start; margin-top: .15rem; font-size: .9rem; }
.st-fin-none { margin: .65rem 0 0; padding-top: .55rem; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); font-family: var(--display); font-size: .9rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 640px) {
  .st-purposes { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1rem; padding-inline: 1rem; }
  .st-purposes::-webkit-scrollbar { display: none; }
  .st-purpose { flex: none; }
  .st-purpose:focus-visible { outline-offset: -4px; }
  .st-purpose[aria-pressed="true"]:focus-visible { outline-color: var(--paper); }
  .st-fin-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .st-fin-group { flex: none; flex-wrap: nowrap; }
  .st-fin-row::-webkit-scrollbar { display: none; }
}

/* The limit, shown before it is hit (Jeff, November 15, 2026). At five ideas (three for specific changes) a category with
   nothing chosen is dimmed and says why in words. Its cards are dimmed too, and still open their larger view. */
.st-ideas-full { margin: 0 0 1rem; padding: .6rem .9rem; max-width: 46rem; border-left: 2px solid var(--brass); background: color-mix(in srgb, #fff 30%, var(--paper)); font-family: var(--display); font-size: .95rem; line-height: 1.45; color: var(--pair-ink); }
.st-slot-full { color: var(--pair-ink); }
.st-part[data-full="true"], .st-ideas-browse .st-part[data-full="true"] { color: var(--muted); }
.st-part[data-full="true"]:not([aria-current="true"]) { background: none; }
.st-part[data-full="true"] > :not(.st-visually-hidden) { opacity: .7; }
.st-fam[data-off="true"] .st-move-img, .st-fam[data-off="true"] .st-move-title, .st-fam[data-off="true"] .st-fam-sub, .st-fam[data-off="true"] .st-fin-more, .st-fam[data-off="true"] .st-thumbs, .st-fam[data-off="true"] .st-fam-tags { opacity: .42; }
.st-fam[data-off="true"] .st-move-pick { cursor: zoom-in; }
#movebox-pick:disabled { opacity: .38; cursor: not-allowed; }

/* ---------- The Design ideas tab, cards like the pieces (Jeff, November 15, 2026). Swap, and Change finish where the idea
   comes in finishes, sit right under the picture so they line up across a row. The picture opens Swap too. Who chose an
   idea is a small mark in the same place on every card. While the room can take more, the last card is Add a design idea. */
.st-used-item, .st-idea-add { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.st-used-item > .st-move-img, .st-idea-add > .st-idea-add-tile { align-self: stretch; }
button.st-idea-pic { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; color: inherit; font: inherit; }
.st-used-item .st-move-img .st-opt-tag { top: .55rem; bottom: auto; left: .55rem; border-radius: 999px; padding: .2rem .7rem; }
.st-used-item .st-piece-act { padding-top: .7rem; }
.st-used-item .st-used-slot { margin-top: 1rem; }
.st-used-item .st-piece-to { margin-top: .8rem; }
.st-used-item .st-piece-to b { font-family: var(--display); }
.st-used-by { display: flex; align-items: center; gap: .5rem; margin: .5rem 0 0; font-family: var(--display); font-size: var(--st-read); letter-spacing: 0; text-transform: none; color: var(--muted); }
.st-used-by i { flex: none; width: .5rem; height: .5rem; border-radius: 50%; border: 1px solid var(--brass); box-sizing: border-box; }
.st-used-by[data-by="you"] { color: var(--ink); }
.st-used-by[data-by="you"] i { background: var(--brass); }
.st-used-item .st-used-why { margin-top: .3rem; color: var(--muted); }
.st-used-note { margin: .35rem 0 0; font-family: var(--display); font-size: var(--st-read); line-height: 1.5; color: var(--muted); max-width: 60rem; }
.st-used-note:empty { display: none; }
.st-used-read { margin: clamp(2rem, 4vw, 3rem) 0 0; padding-top: 1.4rem; border-top: 1px solid var(--hair); font-family: var(--display); font-size: var(--st-read); line-height: 1.6; color: var(--muted); max-width: 52rem; }
.st-used-read .st-label { display: block; margin: 0 0 .4rem; }
.st-idea-add-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; width: 100%; aspect-ratio: 4 / 3; padding: 0 .8rem; border: 1px dashed var(--brass-line); background: color-mix(in srgb, #fff 18%, transparent); color: var(--ink); font-family: var(--display); font-size: var(--st-act); letter-spacing: .16em; text-transform: uppercase; text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.st-idea-add-tile svg { color: var(--brass); }
.st-idea-add-tile:hover { border-color: var(--brass); background: color-mix(in srgb, #fff 32%, transparent); }
.st-idea-add-tile:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: 3px; }
.st-idea-add .st-used-slot { margin-top: 1rem; }
.st-idea-add-say { margin: .2rem 0 0; font-family: var(--display); font-size: var(--st-read); color: var(--muted); max-width: none; }
.st-idea-add-links { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.st-idea-add-links .st-link { min-height: 2.75rem; font-size: .98rem; }
/* The chooser, opened to add: the categories the room has none in, as pictures. */
.st-idea-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: clamp(1.1rem, 2.2vw, 1.6rem) clamp(.9rem, 1.8vw, 1.4rem); margin-top: clamp(.9rem, 2vw, 1.2rem); }
.st-idea-cat { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.st-idea-cat .st-opt-img { align-self: stretch; aspect-ratio: 4 / 3; overflow: hidden; }
.st-idea-cat .st-opt-img img { object-fit: cover; padding: 0; transition: transform .7s cubic-bezier(.2,.7,.1,1); }
.st-idea-cat:hover .st-opt-img img { transform: scale(1.03); }
.st-idea-cat:focus-visible:not(:where(.pointer-focus)) .st-opt-img { outline: 2px solid var(--brass); outline-offset: 3px; }
.st-idea-cat-name { margin-top: .7rem; font-family: var(--display); font-size: 1.05rem; line-height: 1.3; }
.st-idea-cat-n { margin-top: .15rem; font-family: var(--display); font-size: var(--st-read); color: var(--muted); }
@media (max-width: 640px) { .st-idea-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* The cards in a row share their rows (picture, buttons, words), so Swap and the category line up across the row even
   where Change finish wraps under Swap on a narrow card. Without subgrid the cards stack as before. */
@supports (grid-template-rows: subgrid) {
  .st-used-item, .st-idea-add { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; justify-items: start; }
  .st-used-item > .st-move-img, .st-idea-add > .st-idea-add-tile, .st-used-item > .st-used-text, .st-idea-add > .st-used-text { justify-self: stretch; }
}
.st-used-item .st-piece-act:empty, .st-idea-add .st-piece-act:empty { padding: 0; }
.st-used-text { min-width: 0; }
.st-used-text > .st-used-slot:first-child { margin-top: 1rem; }
@media (max-width: 640px) { .st-saved-go [data-update-now] { flex-grow: 1.45; padding-inline: .9rem; } }
/* Room-first candidate detail. One page scroll, with no independently scrolling columns. */
#swapbox[open][data-at="piece"] { width: 100vw; height: 100dvh; max-height: none; margin: 0; overflow: auto; display: block; scroll-padding-bottom: calc(var(--detail-foot, 8rem) + 1rem); }
#swapbox[open][data-at="piece"] > .st-swap-head { display: none; }
.st-detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem max(1.1rem, calc((100vw - 1280px) / 2)); background: var(--paper); border-bottom: 1px solid var(--hair); }
.st-detail-header > div { min-width: 0; }
.st-detail-header h2 { margin: .65rem 0 .3rem; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; overflow-wrap: anywhere; }
.st-detail-header p { margin: 0; font: var(--st-read)/1.45 var(--display); color: var(--muted); }
.st-detail-header > button { flex: none; }
#swapbox[open][data-at="piece"] #swap-detail { overflow: visible; max-height: none; padding: 1.5rem max(1.1rem, calc((100vw - 1280px) / 2)) calc(var(--detail-foot, 8rem) + 2rem); mask-image: none; -webkit-mask-image: none; }
#swapbox[open][data-at="piece"] .st-detail { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2rem; }
.st-detail-room { margin: 0; min-width: 0; }
.st-detail-room[data-sticky="true"] { position: sticky; top: 1rem; }
.st-room-first-picture, .st-candidate-picture { display: block; position: relative; width: 100%; border: 0; padding: 0; background: var(--paper-2); cursor: zoom-in; }
.st-room-first-picture img { display: block; width: 100%; height: auto; }
.st-room-now-tag { position: absolute; left: .75rem; top: .75rem; padding: .35rem .6rem; background: var(--paper); color: var(--ink); font: var(--st-read)/1.3 var(--display); }
.st-detail-room figcaption { margin-top: .65rem; font: var(--st-read)/1.45 var(--display); color: var(--muted); }
.st-candidate-picture { width: min(100%, 360px); height: 360px; margin: 0 auto 1rem; }
.st-candidate-picture img { display: block; width: 100%; height: 100%; object-fit: contain; }
.st-candidate .st-opt-brand a { color: inherit; text-underline-offset: .2em; }
.st-candidate .st-detail-size { margin-top: .5rem; }
.st-finish-material { font: var(--st-read)/1.4 var(--display); margin: .75rem 0 .4rem; }
.st-swatches .st-swatch { min-width: 0; width: 100%; white-space: normal; overflow-wrap: anywhere; justify-content: flex-start; border-radius: .35rem; padding: .6rem .75rem; }
.st-swatches .st-swatch > span:last-child { min-width: 0; }
.st-finish-color { width: 1.1rem; height: 1.1rem; flex: 0 0 1.1rem; border-radius: 50%; box-shadow: inset 0 0 0 1px #0003; }
#swapbox[open][data-at="piece"] #swap-detail-foot { position: fixed; bottom: 0; left: 0; right: 0; z-index: 4; padding-inline: max(1.1rem, calc((100vw - 1280px) / 2)); }
.st-replaces { display: block; }
#swapbox[open][data-at="piece"] .st-peek-big { position: fixed; }
@media (max-width: 700px) {
  #swap-candidate-head { padding: 12px 18px; gap: .4rem; }
  #swap-candidate-head h2 { margin: 0; font-size: 1.25rem; line-height: 1.15; }
  #swap-candidate-head .st-btn, #swap-detail-foot .st-candidate-actions .st-btn { min-height: 44px; padding: .45em .7em; }
  #swapbox[open][data-at="piece"] .st-detail { display: flex; flex-direction: column; gap: 1.4rem; }
  .st-detail-room, .st-detail-text { width: 100%; }
  .st-candidate { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 1rem; align-items: center; }
  .st-candidate-picture { width: 100%; height: 160px; margin: 0; }
  .st-detail-header { gap: .5rem; padding: .75rem 1.1rem; }
  .st-detail-header h2 { font-size: 1.5rem; }
  #swapbox[open][data-at="piece"][data-pin-room="true"] .st-detail-header { position: sticky; top: 0; z-index: 3; }
  #swapbox[open][data-pin-room="true"] .st-detail-room { position: sticky; top: var(--detail-head); z-index: 2; background: var(--paper); padding-bottom: 0; }
  #swapbox[open][data-pin-room="true"] .st-room-first-picture img { height: 150px; object-fit: contain; }
  #swapbox[open][data-pin-room="true"] .st-detail-room figcaption { display: none; }
  #swapbox[open][data-pin-room="true"] { scroll-padding-top: calc(var(--detail-head) + var(--detail-room, 190px) + .5rem); }
}
#swapbox[open][data-at="piece"] #swap-detail-foot { gap: .5rem 1rem; padding-block: .5rem; }
#swap-detail-foot p { line-height: 1.25; }
#swap-detail-foot .st-btn { padding-inline: .8em; letter-spacing: .08em; }
.st-detail-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.st-detail-header > div { display: contents; }
.st-detail-header .st-back-btn { justify-self: start; }
.st-detail-header h2, .st-detail-header p { grid-column: 1 / -1; }
.st-detail-header > #swap-close { grid-column: 2; grid-row: 1; }
#swapbox[open][data-pin-room="true"] .st-detail-room figcaption { display: block; }
/* Candidate choice amendment, November 16: phone summary scrolls, both actions stay fixed. */
#swapbox[open][data-at="piece"][data-compact-footer="true"] #swap-detail { padding-bottom: 1rem; }
#swapbox[open][data-at="piece"][data-compact-footer="true"] #swap-detail-foot { position: static; display: block; padding-bottom: calc(var(--detail-foot) + 2rem); }
.st-detail-header .st-btn { max-width: 100%; padding-inline: .8em; letter-spacing: .08em; white-space: normal; overflow-wrap: anywhere; }
.st-size-mobile-name { display: none; }
.st-room-now-tag { max-width: calc(100% - 76px); left: 12px; top: 12px; padding: 6px 10px; text-align: left; }
.st-room-first-picture .st-zoom, .st-candidate-picture .st-zoom { width: 44px; height: 44px; right: 12px; top: 12px; }
.st-swap-summary { display: flex; align-items: center; gap: 1rem; min-width: 0; flex: 1; }
.st-swap-thumbs { display: flex; align-items: center; gap: .5rem; flex: none; }
.st-swap-thumbs > :is(img,.st-thumb) { width: 64px; height: 64px; object-fit: contain; background: var(--paper-2); }
.st-swap-thumbs > :first-child { opacity: .65; }
.st-swap-thumbs > :last-child { border: 2px solid var(--ink); }
.st-candidate-actions { display: flex; gap: .6rem; flex: 0 1 42%; min-width: 0; }
#swap-detail-foot .st-candidate-actions .st-btn { flex: 1 1 0; min-width: 0; min-height: 44px; margin: 0; white-space: normal; overflow-wrap: anywhere; }
.st-candidate-actions[data-stacked="true"] { flex-direction: column; }
#swap-detail-foot .st-candidate-actions[data-stacked="true"] .st-btn { flex: none; }
#swap-detail-foot .st-replaces { margin-top: .35rem; font-size: .875rem; }
.st-size-block { margin: 1.25rem 0; padding: 0; }
.st-size-table { width: 100%; border-collapse: collapse; font: var(--st-read)/1.4 var(--display); }
.st-size-table th, .st-size-table td { text-align: left; padding: .6rem .35rem; border-bottom: 1px solid var(--hair); vertical-align: top; font-weight: 400; overflow-wrap: anywhere; }
.st-size-table tr > :last-child { color: var(--muted); }
.st-size-table[data-stacked="true"] thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.st-size-table[data-stacked="true"] tr { display: grid; grid-template-columns: 1fr; margin-bottom: .75rem; }
.st-size-table[data-stacked="true"] th, .st-size-table[data-stacked="true"] td { border: 0; padding-block: .2rem; }
.st-size-table[data-stacked="true"] tbody th { font-weight: 600; }
.st-size-table[data-stacked="true"] .st-size-mobile-name { display: inline; }
.st-size-alone span { display: block; margin-top: .3rem; }
.st-single-finish, .st-paired { margin-top: 1.5rem; font-size: var(--st-read); }
.st-single-finish p, .st-paired p { margin: .4rem 0; }
#swap-detail .st-finset .st-label span { display: block; margin-top: .35rem; }
@media (min-width: 701px) {
  #swapbox[open][data-at="piece"] #swap-detail, #swapbox[open][data-at="piece"] #swap-detail-foot, .st-detail-header { padding-inline: 40px; }
}
@media (max-width: 700px) {
  .st-candidate { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); }
  .st-candidate-picture { height: 160px; }
  #swapbox .st-room-first-picture img, #swapbox[open][data-pin-room="true"] .st-room-first-picture img { height: var(--room-strip-height, 160px); object-fit: contain; }
  #swapbox[open][data-large-text="true"] .st-candidate { grid-template-columns: minmax(0, 1fr); }
  #swapbox[open][data-large-text="true"] .st-candidate-picture { height: 260px; }
  #swapbox[open][data-at="piece"] #swap-detail-foot .st-candidate-actions { position: fixed; bottom: 0; left: 0; right: 0; z-index: 4; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--hair); }
  .st-swap-summary { align-items: flex-start; flex-wrap: wrap; }
  .st-swap-thumbs > :is(img,.st-thumb) { width: 52px; height: 52px; }
  #swap-detail-foot .st-swap-summary p { flex: 1 1 10rem; }
}
/* Shared chooser pattern, November 16. Full summaries scroll in the content. */
.st-shared-chooser[open] { width: min(calc(100vw - 2rem), 90rem); height: calc(100dvh - 2rem); max-height: none; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.st-shared-chooser .st-swap-head { display: flex; flex-direction: column; align-items: stretch; padding: 1rem 2rem; gap: .6rem; }
.st-shared-chooser .st-swap-close { position: static; order: -1; align-self: flex-start; width: auto; height: auto; font-size: 1rem; color: var(--ink); }
.st-shared-chooser .st-swap-close::before, .st-shared-chooser .st-swap-close::after { display: none; }
.st-shared-chooser .st-swap-now { display: none; }
.st-chooser-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; padding: 1rem 2rem 2rem; min-height: 0; overflow: auto; flex: 1; align-items: start; }
.st-chooser-options { min-width: 0; }
.st-shared-chooser .st-chooser-layout > .st-peek { display: block; grid-column: auto; grid-row: auto; align-self: start; position: relative; width: 100%; text-align: left; font: inherit; text-transform: none; letter-spacing: normal; }
.st-shared-chooser .st-peek img { width: 100%; height: auto; max-width: none; max-height: 65dvh; object-fit: contain; }
.st-shared-chooser .st-peek > span { display: block; padding: .7rem 0; font-size: 1rem; }
.st-shared-chooser[data-pin-chooser="true"] .st-chooser-layout > .st-peek { position: sticky; top: 0; background: var(--paper); z-index: 2; }
.st-shared-chooser .st-chooser-options .st-swap-body { overflow: visible; padding: 0; max-height: none; }
.st-shared-chooser .st-pickbar { padding: 0 0 1rem; position: static; }
.st-shared-chooser .st-scope { max-width: 100%; flex-wrap: wrap; }
.st-shared-chooser .st-scope button { min-width: 0; white-space: normal; }
.st-shared-chooser .st-swap-grid, .st-shared-chooser .st-fam-grid, .st-shared-chooser .st-idea-cats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.st-shared-chooser .st-card { position: relative; }
.st-shared-chooser .st-opt-name, .st-shared-chooser .st-move-title, .st-shared-chooser .st-fam-sub, .st-shared-chooser .st-card-name { white-space: normal; overflow: visible; text-overflow: clip; -webkit-line-clamp: unset; }
.st-shared-chooser .st-saved-foot { position: static; margin: 0; padding: .65rem 2rem; flex: none; border-top: 1px solid var(--hair); }
.st-saved-go { flex-wrap: wrap; align-items: center; }
.st-saved-go [data-update-time] { font-size: .85rem; }
.st-shared-chooser .st-saved-say { margin: 0; }
/* Nothing waiting yet: the bar holds only the way back, at the bottom left, clear of where Update room appears (November 24, 2026, Jeff). */
.st-shared-chooser .st-idle-foot { justify-content: flex-start; }
.st-shared-chooser .st-saved-wait { display: block; }
.st-shared-waiting, .st-shared-running { margin-top: 1.5rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
.st-shared-running { border-left: 3px solid var(--gold); padding-left: 1rem; background: var(--paper-2); }
.st-shared-running ul, .st-shared-waiting ul { list-style: none; padding: 0; display: grid; gap: .8rem; }
.st-shared-row { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; gap: .75rem; align-items: center; }
.st-shared-thumb { display: block; width: 3.25rem; height: 3.25rem; background-color: var(--paper-2); }
.st-shared-thumb img { width: 100%; height: 100%; object-fit: contain; }
.st-shared-row button { min-height: 44px; }
.st-shared-progress { display: inline-block; width: 1rem; height: 1rem; border: 2px solid var(--gold); border-top-color: transparent; border-radius: 50%; }
#finbox .st-fin-head, #finbox > [data-add-more] { margin: 1rem 2rem 0; flex: none; }
#finbox > .st-remove-go { display: none; }
#finbox > #finish-note { margin-inline: 2rem; }
#finbox .st-fin-head > div { min-width: 0; }
#finbox > [data-add-more] { align-self: flex-start; border: 0; border-radius: 0; padding: .25em 0; text-align: left; text-transform: none; letter-spacing: 0; }
#swapbox[data-at="piece"] > .st-chooser-layout { display: none; }
#ideabox[data-at="idea"] .st-chooser-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.st-idea-detail-photo { position: relative; width: 100%; border: 0; padding: 0; color: var(--ink); background: var(--paper-2); text-align: left; }
.st-idea-detail-photo img { display: block; width: 100%; height: 22rem; object-fit: contain; }
.st-idea-detail-photo > span { display: block; padding: .6rem; }
.st-idea-scroll-summary { display: none; }
.st-shared-chooser .st-fam .st-move-zoom { left: auto; right: .55rem; }
.st-shared-chooser .st-fin-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .5rem; }
.st-shared-chooser .st-fin-group { display: contents; }
.st-shared-chooser .st-fin-dot { width: auto; height: auto; min-height: 44px; border-radius: .3rem; display: flex; align-items: center; gap: .5rem; padding: .5rem; white-space: normal; text-align: left; }
.st-shared-chooser .st-fin-dot > span { flex: none; width: .8rem; height: .8rem; border-radius: 50%; }
#idea-detail-foot { padding: .8rem 2rem; flex: none; }
#idea-detail-foot .st-candidate-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
#idea-detail-foot button { white-space: normal; }
#idea-body [data-seen="true"]::after { content: 'Looked at'; display: block; font-size: .8rem; }
@media (max-width: 1023px), (max-width: 64em) {
  .st-shared-chooser[open] { width: 100vw; height: 100dvh; }
  .st-chooser-layout, #ideabox[data-at="idea"] .st-chooser-layout { grid-template-columns: minmax(0, 1fr); padding: .75rem 1rem 1rem; gap: 1rem; }
  .st-shared-chooser .st-peek img { height: 160px; object-fit: contain; }
  .st-idea-detail-photo img { height: 150px; }
  .st-shared-chooser .st-swap-head { padding: .75rem 1rem; }
  .st-shared-chooser .st-saved-foot, #idea-detail-foot { padding: .6rem 1rem; }
  .st-saved-go { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .4rem; }
  .st-saved-go [data-update-time] { grid-column: 2; grid-row: 1; }
  .st-saved-go [data-add-more] { grid-column: 1; grid-row: 1 / span 2; }
  .st-saved-go [data-update-now] { grid-column: 2; }
  #idea-detail-foot .st-swap-summary { display: none; }
  .st-idea-scroll-summary { display: flex; margin-top: 1rem; }
  #idea-detail-foot .st-candidate-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); flex: 1 1 100%; width: 100%; }
  #idea-detail-foot .st-btn { min-width: 0; overflow-wrap: anywhere; }
  .st-shared-chooser[data-large-text="true"] .st-saved-go, #ideabox[data-large-text="true"] .st-candidate-actions { grid-template-columns: 1fr; }
  .st-shared-chooser[data-large-text="true"] .st-saved-go > * { grid-column: auto; grid-row: auto; }
}
/* Short screens scroll the heading and room away; only the compact actions stay. */
@media (max-width: 1023px), (max-width: 64em) {
  .st-shared-chooser[open]:not([data-at="piece"]) { overflow-y: auto; padding-bottom: var(--chooser-actions, 10rem); }
  .st-shared-chooser:not([data-at="piece"]) .st-chooser-layout { overflow: visible; flex: none; }
  .st-shared-chooser .st-swap-head { flex: none; }
  .st-shared-chooser .st-swap-close { border: 0; padding: .25em 0; text-align: left; border-radius: 0; text-transform: none; letter-spacing: 0; }
  .st-shared-chooser .st-saved-foot, #idea-detail-foot { position: fixed; bottom: 0; left: 0; right: 0; z-index: 4; background: var(--paper); }
  .st-shared-chooser .st-saved-foot .st-btn, #idea-detail-foot .st-btn { letter-spacing: 0; text-transform: none; line-height: 1.2; padding: .45em .6em; min-height: 44px; }
  .st-shared-chooser .st-saved-say { font-size: .85rem; line-height: 1.2; }
  .st-shared-chooser .st-saved-go [data-update-time] { font-size: .75rem; line-height: 1.2; }
  .st-shared-chooser[data-large-text="true"] .st-saved-go, #ideabox[data-large-text="true"] .st-candidate-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .st-shared-chooser[data-large-text="true"] .st-saved-go [data-add-more] { grid-column: 1; grid-row: 1 / span 2; }
  .st-shared-chooser[data-large-text="true"] .st-saved-go [data-update-time] { grid-column: 2; grid-row: 1; }
  .st-shared-chooser[data-large-text="true"] .st-saved-go [data-update-now] { grid-column: 2; grid-row: 2; }
  .st-shared-chooser .st-peek .st-zoom { right: .6rem; left: auto; }
  .st-shared-chooser .st-idea-parts .st-pills { margin-inline: 0; padding-inline: 0; max-width: 100%; }
  .st-shared-chooser .st-saved-foot { gap: .25rem; padding: .3rem .5rem; }
  .st-shared-chooser .st-saved-say { font-size: .75rem; }
  .st-shared-chooser .st-saved-go { gap: .2rem; }
  .st-shared-chooser .st-saved-foot .st-btn { padding: .3em .45em; }
  /* The way back alone has room to line up with the list and keep a comfortable button. */
  .st-shared-chooser .st-idle-foot { padding: .5rem 1rem calc(.5rem + env(safe-area-inset-bottom)); }
  .st-shared-chooser .st-idle-foot .st-btn { padding: .45em 1em; }
  #finbox .st-fin-head, #finbox > [data-add-more] { margin: .75rem 1rem 0; }
  #finbox .st-fin-head .st-thumb { width: 52px; height: 52px; flex: none; }
  #finbox .st-fin-head .st-label { font-size: .75rem; letter-spacing: .08em; }
}

/* ---------- The result page, In this room (November 18, 2026, Jeff; docs/result-page-2026-11-18.md) ----------
   On a computer (64em and up) the picture is a left column that stays in view while the right column scrolls. Its width
   follows the photo: as tall as the screen allows with what sits under it in view (--st-below, measured by fitRoom()), so a
   portrait room is tall and narrow and a landscape room is wide, up to 64% of the page. On a phone and a tablet it is one
   column. Rows have one button, Change. Supporting text is --pair-ink or --muted (11.5:1 and 5.7:1 on the plaster), and
   button outlines are --brass (3.2:1), so both read easily. */
.st-room .st-room-head { margin: 0 0 clamp(.9rem, 2vw, 1.4rem); font-family: var(--display); }
.st-room .st-room-head .eyebrow { margin: 0 0 .45rem; }
.st-room .st-room-head h1 { margin: 0; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.12; text-wrap: balance; overflow-wrap: anywhere; }
.st-room .st-room-head .st-rename-form { margin: 0; }
.st-room .st-ws { display: block; gap: 0; }
.st-room .st-stage { min-width: 0; }
.st-room .st-under { display: block; margin-top: .3rem; }
.st-room .st-under .st-cmp-under { margin: 0; flex: 1 1 18rem; }
.st-room .st-remove-confirm { margin-top: .6rem; padding: .9rem 1rem; background: color-mix(in srgb, #fff 38%, var(--paper)); outline: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.st-room .st-remove-confirm p { margin: 0 0 .8rem; font-family: var(--display); font-size: 1rem; }
.st-room #remove-note:empty, .st-room #next-note:empty, .st-room #ver-note:empty { display: none; }
.st-room #next-note, .st-room #remove-note { margin: .4rem 0 0; }
.st-room .st-side { min-width: 0; margin-top: clamp(1.4rem, 4vw, 2rem); font-family: var(--display); }
.st-room .st-coming { margin: 0 0 1.6rem; }

/* The versions under the picture. */
.st-strip { margin-top: .8rem; }
.st-strip[hidden] { display: none; }
.st-strip-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.2rem; }
.st-strip-head .st-label { margin: 0; }
.st-strip-head .st-link { min-height: 2.2rem; font-size: var(--st-read); }
.st-strip-head .st-link[aria-pressed="true"] { color: var(--ink); text-decoration-color: var(--ink); text-decoration-thickness: 2px; }
.st-strip-row { display: flex; gap: .55rem; overflow-x: auto; margin: 0; padding: 6px 4px 6px; scrollbar-width: thin; scrollbar-color: var(--brass-line) transparent; }
.st-take { position: relative; flex: none; display: grid; justify-items: center; gap: .25rem; width: 4.6rem; padding: 0; border: 0; background: none; color: var(--pair-ink); font-family: var(--display); font-size: var(--st-act); line-height: 1.2; text-align: center; cursor: pointer; }
.st-take-pic { position: relative; display: block; width: 4.6rem; height: 3.1rem; background: var(--st-tile); overflow: hidden; outline: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); }
.st-take-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-take-pic .st-spin { position: absolute; left: 50%; top: 50%; margin: -.5rem 0 0 -.5rem; }
.st-take:hover .st-take-pic { outline-color: var(--brass); }
.st-take[aria-current="true"] { color: var(--ink); font-weight: 500; }
.st-take[aria-current="true"] .st-take-pic { outline: 2px solid var(--ink); outline-offset: 2px; }
.st-take:focus-visible { outline: none; }
.st-take:focus-visible:not(:where(.pointer-focus)) .st-take-pic { outline: 2px solid var(--brass); outline-offset: 3px; }
.st-take-n { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-take-fav { position: absolute; top: 3px; right: 3px; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239A7637'%3E%3Cpath d='M12 20s-7-4.4-7-9.6A4 4 0 0 1 12 8a4 4 0 0 1 7 2.4C19 15.6 12 20 12 20z'/%3E%3C/svg%3E") center / 72% no-repeat; }
.st-take-wait { position: absolute; top: -5px; left: -3px; min-width: 1.35rem; height: 1.35rem; padding: 0 .3rem; border-radius: 999px; background: var(--navy); color: var(--on-navy); font-size: .75rem; font-weight: 500; line-height: 1.35rem; }
.st-strip-say { margin: 0; font-family: var(--display); font-size: 1rem; line-height: 1.4; color: var(--ink); }
.st-strip-say:empty { display: none; }

/* In this room: two groups and Describe a change. */
.st-room .st-inroom, .st-room .st-aboutv { padding: 0; border: 0; }
.st-inroom:focus { outline: none; }
.st-inroom > h2 { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(1.6rem, 2.3vw, 2rem); line-height: 1.15; }
.st-inroom-lead { margin: .3rem 0 0; font-size: 1.02rem; line-height: 1.45; color: var(--pair-ink); }
.st-group { margin-top: clamp(1.5rem, 3vw, 2rem); }
.st-group[hidden] { display: none; }
.st-group-head { display: flex; align-items: flex-end; justify-content: space-between; gap: .4rem 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--brass-line); }
.st-group-head h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.15rem; line-height: 1.3; letter-spacing: 0; }
.st-group-head h3 small { margin-left: .35rem; font-weight: 400; font-size: .95rem; color: var(--muted); }
.st-group-head p { margin: .15rem 0 0; max-width: none; font-size: .95rem; line-height: 1.4; color: var(--pair-ink); }
.st-group-head .st-link { flex: none; min-height: 2.5rem; font-size: .95rem; }
.st-group-head .st-link[hidden] { display: none; }
.st-rows { list-style: none; margin: 0; padding: 0; }
.st-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .85rem 0; border-bottom: 1px solid var(--hair); }
/* A row's words take what the picture and Change leave, and never less than about 9rem: with less (a narrow phone, or
   much larger text) Change goes to its own line, so nothing leaves the screen. */
.st-row-photo { position: relative; flex: none; align-self: flex-start; }
.st-row-pic { flex: none; display: block; width: 4.5rem; height: 4.5rem; padding: 0; border: 0; background-color: var(--st-tile); overflow: hidden; }
button.st-row-pic { cursor: pointer; }
button.st-row-pic:hover { outline: 1px solid var(--brass); outline-offset: 2px; }
.st-row-pic img { display: block; width: 100%; height: 100%; padding: 6%; object-fit: contain; }
.st-row-pic[data-photo="photo"] img, .st-row-pic img[data-fit="cover"] { padding: 0; object-fit: cover; }
.st-row-text { flex: 1 1 9rem; min-width: 0; }
.st-row-text p { margin: 0; max-width: none; font-family: var(--display); }
.st-row-kind { font-size: var(--st-small); line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
p.st-row-name { margin-top: .1rem; font-size: 1.06rem; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
p.st-row-sub { margin-top: .2rem; font-size: .9rem; line-height: 1.45; color: var(--pair-ink); }
.st-row-vendor { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--brass-line); text-underline-offset: .2em; }
.st-row-vendor:hover { color: var(--brass); }
.st-row-vendor .st-out { vertical-align: baseline; }
.st-row-mark, .st-row-by { color: var(--label); }
p.st-row-more { margin-top: .25rem; font-size: .88rem; line-height: 1.45; color: var(--muted); }
p.st-row-next { margin-top: .35rem; font-size: .95rem; line-height: 1.35; font-weight: 500; color: var(--label); }
.st-row-list { margin-top: .1rem; }
.st-row-list .st-link { min-height: 2.4rem; font-size: .9rem; }
.st-row[data-waiting="true"] { margin-inline: -.75rem; padding-inline: .75rem; background: color-mix(in srgb, #fff 34%, var(--paper)); box-shadow: inset 3px 0 0 var(--brass); }
.st-row-act { flex: 0 0 auto; margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; }
/* A change waiting: Edit and Undo go under the words, so the name and what is coming keep the row's width. */
.st-row[data-waiting="true"] .st-row-act { flex-basis: 100%; margin-left: 0; padding-left: calc(4.5rem + 1rem); justify-content: flex-start; }
.st-btn.st-row-btn { min-height: 2.75rem; padding: .5rem 1.15rem; border-color: var(--brass); letter-spacing: .14em; }
.st-btn.st-row-btn:hover:not(:disabled) { color: var(--ink); border-color: var(--ink); background: color-mix(in srgb, #fff 30%, var(--paper)); }
.st-row-missing { margin-top: 1.2rem; }
.st-row-missing[hidden] { display: none; }
.st-row-missing h4 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1rem; }
.st-row-missing > p { margin: .2rem 0 .3rem; font-size: .92rem; line-height: 1.45; color: var(--pair-ink); max-width: 40rem; }
.st-idea-more:empty { display: none; }
.st-add-idea { display: flex; align-items: center; gap: .7rem; width: 100%; min-height: 3.4rem; margin-top: .9rem; padding: .6rem 1rem; border: 1px dashed var(--brass); background: none; color: var(--ink); font-family: var(--display); font-size: 1.02rem; text-align: left; cursor: pointer; }
.st-add-idea:hover { background: color-mix(in srgb, #fff 30%, var(--paper)); border-style: solid; }
.st-add-idea-plus { flex: none; width: 1.1rem; height: 1.1rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2318181B' stroke-width='1.4'%3E%3Cpath d='M10 2v16M2 10h16'/%3E%3C/svg%3E") center / contain no-repeat; }
.st-add-idea-room { margin-left: auto; font-size: .92rem; color: var(--pair-ink); }
.st-idea-full { margin: .9rem 0 0; font-size: .97rem; line-height: 1.45; color: var(--pair-ink); }
.st-room .st-used-note { margin: .75rem 0 0; font-size: .9rem; color: var(--muted); }
.st-room .st-used-read { margin: 1.3rem 0 0; padding-top: 1rem; font-size: .92rem; color: var(--pair-ink); }
.st-room .st-plan { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 1.3rem; }
.st-room .st-plan h3 { margin: 0 0 .3rem; font-family: var(--display); font-weight: 500; font-size: 1rem; }
.st-room .st-plan p { font-size: 1rem; line-height: 1.55; }
.st-say .st-describe { margin-top: .8rem; }
.st-say textarea { border-color: var(--brass); }
.st-say .st-hint { margin: .45rem 0 0; font-size: .92rem; line-height: 1.45; color: var(--muted); }
.st-say .st-change-note:empty { display: none; }

/* About this version, after the lists. */
.st-room .st-aboutv { margin-top: clamp(2.2rem, 4vw, 3rem); padding-top: 1.1rem; border-top: 1px solid var(--brass-line); }
.st-aboutv > h2.st-label { margin: 0 0 .5rem; }
.st-aboutv .st-version-name { margin: 0; font-family: var(--display); font-size: 1.08rem; line-height: 1.35; color: var(--ink); }
.st-aboutv .st-version-say { margin: .3rem 0 0; font-size: .97rem; line-height: 1.5; color: var(--pair-ink); }
.st-aboutv .st-version-say[hidden] { display: none; }
.st-aboutv .st-version-say .st-link { min-height: 2.4rem; font-size: .95rem; white-space: normal; text-align: left; max-width: 100%; }
.st-aboutv .st-version-when { margin: .2rem 0 0; font-size: .92rem; color: var(--muted); }
.st-aboutv .st-asked { margin: .9rem 0 0; font-size: 1.02rem; }
.st-aboutv #summary { margin: .9rem 0 0; font-size: 1.04rem; line-height: 1.6; color: var(--pair-ink); max-width: 42rem; }
.st-aboutv #summary:empty { display: none; }
.st-aboutv .st-check { margin: .8rem 0 0; font-size: .92rem; line-height: 1.5; }
.st-aboutv .st-note-box { margin-top: 1.4rem; padding-top: 1rem; }

@media (min-width: 40em) {
  .st-room .st-frame { width: min(100%, calc(74svh * var(--ar, 1.5))); }
}
@media (min-width: 64em) {
  /* The name of the room heads the right column, so the picture starts at the top of the page. */
  /* The column is at least 26rem wide, so what sits under a tall, narrow picture does not wrap into more lines (which would
     make the picture smaller again); the picture itself keeps its own width inside it. */
  /* The bar's room is kept whether or not the bar is showing (point at a piece, November 22, 2026, decision 14): the picture
     keeps its size, and the row under it does not move, as the person clicks between designs with and without changes
     waiting, or to Original. */
  .st-room .st-ws { display: grid; --pich: max(16rem, calc(100svh - var(--st-head, 4rem) - max(var(--st-bar, 0px), 5.25rem) - var(--st-below, 8rem) - 2.5rem)); --picw: calc(var(--pich) * var(--ar, 1.5)); grid-template-columns: minmax(0, min(max(26rem, var(--picw)), 64%)) minmax(22rem, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(2rem, 3.4vw, 3.5rem); row-gap: 0; align-items: start; }
  .st-room .st-stage { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: calc(var(--st-top, 4rem) + 1rem); transition: top .2s; }
  .st-room .st-room-head { grid-column: 2; grid-row: 1; margin-bottom: clamp(.8rem, 1.6vw, 1.2rem); }
  .st-room .st-side { grid-column: 2; grid-row: 2; }
  .st-room .st-frame { width: min(100%, var(--picw)); }
  .st-room .st-side { margin-top: 0; max-width: 46rem; }
}
@media (prefers-reduced-motion: reduce) { .st-room .st-stage { transition: none; } }
@media (max-width: 640px) {
  .st-room .st-under { padding-inline: 0; }
  .st-row { gap: .45rem .8rem; }
  .st-row-pic { width: 3.75rem; height: 3.75rem; }
  .st-row[data-waiting="true"] .st-row-act, .st-row:has(.st-row-act > :nth-child(2)) .st-row-act { flex-basis: 100%; margin-left: 0; padding-left: calc(3.75rem + .8rem); justify-content: flex-start; }
  .st-btn.st-row-btn { padding-inline: 1rem; }
  .st-group-head { flex-wrap: wrap; }
  .st-add-idea { flex-wrap: wrap; }
}

/* The bar: one list of what is waiting and one Update room, navy at the foot of the page. On a computer it names each
   change. Below 64em it is the count, which opens the review, and Update room. */
.st-nextbar { margin-top: 0; background: var(--navy); color: var(--on-navy); border-top: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.st-nextbar > .wrap { flex-wrap: nowrap; align-items: center; gap: .6rem 1.4rem; padding-block: .7rem; }
.st-next-count { flex: none; display: flex; flex-direction: column; gap: .1rem; margin: 0; max-width: 8rem; }
.st-next-count .st-label { margin: 0; color: #D9B66E; line-height: 1.4; }
.st-next-count .st-label small { display: block; font-size: .9rem; letter-spacing: .02em; text-transform: none; color: var(--on-navy); }
.st-nextbar .st-next-show { display: none; }
/* The changes take one line, so the bar keeps one low height and the picture beside the lists stays large (it is sized to
   leave the bar clear). What does not fit is left out whole, and See all opens the review with every change. */
.st-next-chips { list-style: none; display: flex; flex-wrap: wrap; align-content: flex-start; gap: .4rem .45rem; flex: 1 1 auto; min-width: 0; max-height: calc(2.4rem + 4px); margin: 0; padding: 2px; overflow: hidden; }
.st-chip { flex: 0 1 auto; min-width: 0; }
.st-nextbar .st-next-all { flex: none; min-height: 2.75rem; color: var(--on-navy); font-size: .95rem; text-decoration-color: #D9B66E; white-space: nowrap; }
.st-nextbar .st-next-all[hidden] { display: none; }
.st-next-chips[hidden] { display: none; }
.st-chip { display: flex; align-items: stretch; max-width: 100%; border: 1px solid #B5955A; border-radius: 999px; }
.st-chip-say { min-width: 0; max-width: 24rem; min-height: 2.4rem; padding: .2rem .25rem .2rem .9rem; border: 0; background: none; color: var(--on-navy); font-family: var(--display); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; border-radius: 999px 0 0 999px; }
.st-chip-say:hover { text-decoration: underline; text-underline-offset: .2em; }
.st-chip-x { flex: none; width: 2.4rem; padding: 0; border: 0; background: none; color: #D9B66E; font-family: var(--display); font-size: 1.25rem; line-height: 1; cursor: pointer; border-radius: 0 999px 999px 0; }
.st-chip-x:hover { color: var(--paper); }
.st-chip :focus-visible:not(:where(.pointer-focus)) { outline: 2px solid #D9B66E; outline-offset: -2px; }
.st-nextbar .st-next-go { gap: 1.1rem; }
.st-nextbar .st-next-say { display: flex; flex-direction: column; gap: .1rem; max-width: 15rem; color: var(--on-navy); font-size: .88rem; }
.st-nextbar .st-next-cost { display: block; color: var(--navy-muted); }
.st-nextbar .st-next-note:empty { display: none; }
.st-nextbar .st-next-note, .st-nextbar .st-next-note .st-link { color: var(--on-navy); }
.st-nextbar .st-next-note[data-tone="bad"] { color: #F2B39C; }
.st-nextbar #swap-go { flex: none; background: #D9B66E; border-color: #D9B66E; color: #121620; }
.st-nextbar #swap-go:hover:not(:disabled) { background: var(--paper); border-color: var(--paper); color: var(--navy); }
.st-nextbar #swap-go:disabled { opacity: .5; }
@media (max-width: 63.99em) {
  .st-nextbar > .wrap { justify-content: space-between; }
  .st-nextbar .st-next-chips, .st-nextbar .st-next-keep, .st-nextbar .st-next-cost, .st-nextbar .st-next-all { display: none; }
  .st-next-count { max-width: none; }
  .st-next-count .st-label { display: none; }
  .st-nextbar .st-next-show { display: inline-flex; gap: .4em; min-height: 2.75rem; color: var(--on-navy); font-size: 1rem; text-decoration-color: #D9B66E; }
  .st-nextbar .st-next-say { max-width: 11rem; text-align: right; }
  .st-nextbar .st-next-say:has(.st-next-note:empty) { display: none; }
}

/* The shopping list and the phone's review: boxes over the page. */
.st-shopbox, .st-reviewbox { width: min(100vw - 2rem, 54rem); max-height: min(92svh, 60rem); padding: 0; overflow: auto; overscroll-behavior: contain; font-family: var(--display); }
.st-reviewbox { width: min(100vw - 2rem, 38rem); }
.st-shopbox-head, .st-review-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem 1rem; padding: clamp(1rem, 2.5vw, 1.4rem) clamp(1rem, 3vw, 1.8rem) .8rem; background: var(--paper); border-bottom: 1px solid var(--hair); }
.st-shopbox-head h2, .st-review-head h2 { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(1.45rem, 2.4vw, 1.8rem); }
.st-shopbox-head .st-label, .st-review-head .st-label { margin: 0 0 .25rem; }
.st-shopbox-head .st-label:empty, .st-review-head .st-label:empty { display: none; }
.st-shopbox-head .st-btn, .st-review-head .st-btn { flex: none; min-height: 2.6rem; padding: .5rem 1rem; }
.st-shopbox .st-shop { padding: .4rem clamp(1rem, 3vw, 1.8rem) 1.6rem; }
.st-shopbox .st-shop > .st-sub { margin: .6rem 0 0; font-size: 1rem; color: var(--pair-ink); }
.st-shopbox .st-shop-row { grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 3fr) 4.5rem auto; }
.st-reviewbox > :not(.st-review-head) { margin-inline: clamp(1rem, 3vw, 1.8rem); }
.st-reviewbox #room-running { margin-top: 1rem; }
.st-review-list { list-style: none; margin-top: .4rem; padding: 0; }
.st-review-row .st-wait-words { background-size: 46%; background-position: center; background-repeat: no-repeat; }
.st-shopbox-head .st-label, .st-review-head .st-label { font-size: var(--st-small); line-height: 1.5; }
.st-review-none { padding: 1rem 0; color: var(--pair-ink); }
.st-reviewbox p.st-review-keep { margin-top: 1rem; margin-bottom: 0; font-size: .97rem; line-height: 1.45; color: var(--pair-ink); }
.st-review-go { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .6rem 1rem; padding: 1rem 0 1.2rem; }
.st-review-time { font-size: .9rem; color: var(--muted); }
.st-reviewbox .st-note { margin: 0 clamp(1rem, 3vw, 1.8rem) 1rem; }
.st-reviewbox .st-note:empty { display: none; }
@media (max-width: 640px) {
  .st-shopbox, .st-reviewbox { width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; margin: 0; }
  .st-shopbox-head, .st-review-head { flex-direction: column-reverse; align-items: flex-start; }
  .st-shopbox .st-shop-row { grid-template-columns: 3.5rem minmax(0, 1fr); }
}

@media print {
  body[data-print="list"] > :not(#shopbox) { display: none !important; }
  body[data-print="list"] #shopbox { position: static; display: block; width: auto; max-width: none; height: auto; max-height: none; margin: 0; padding: 0; overflow: visible; background: #fff; }
  body[data-print="list"] #shopbox::backdrop { display: none; background: none; }
  body[data-print="list"] .st-shopbox-head { position: static; padding: 0 0 .6rem; background: #fff; }
  body[data-print="list"] .st-shopbox-head .st-btn, body[data-print="list"] .st-shop-tools { display: none !important; }
  body[data-print="list"] .st-shopbox .st-shop { padding: 0; }
}
.st-shopbox h2[tabindex="-1"]:focus, .st-reviewbox h2[tabindex="-1"]:focus, .st-inroom:focus { outline: none; }
.st-swap-fin { margin: .15rem 0 0; }
.st-swap-fin[hidden] { display: none; }
.st-swap-fin .st-link { min-height: 2.4rem; font-size: .95rem; }
/* While an update is being made, the bar says when Update room comes back, in place of how long an update takes. */
.st-nextbar .st-next-say:has(.st-next-note:not(:empty)) .st-next-cost { display: none; }
.st-reviewbox .st-review-head p.st-label, .st-shopbox .st-shopbox-head p.st-label { font-size: var(--st-small); }
.st-reviewbox p.st-row-kind { margin: 0; font-size: var(--st-small); line-height: 1.4; }
.st-reviewbox p.st-row-name { margin: .1rem 0 0; font-size: 1rem; line-height: 1.35; }
.st-reviewbox .st-shared-running { margin-top: 1rem; padding: .9rem 1rem; border-top: 0; }
.st-reviewbox .st-shared-running h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.02rem; }
.st-reviewbox .st-shared-running p { margin: .2rem 0 .7rem; font-size: .95rem; color: var(--pair-ink); }
.st-reviewbox .st-shared-running li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: center; gap: .7rem; font-size: .95rem; line-height: 1.3; }
.st-reviewbox .st-shared-running .st-coming-words small { display: block; font-size: var(--st-small); letter-spacing: .12em; text-transform: uppercase; color: var(--label); }

/* ---------- The commission line (Jeff, November 20, 2026, docs/affiliate-links.md). One quiet line, readable and never
   behind a link, the last thing under each list whose links can earn a commission: the Pieces group, the shopping list on
   screen and on paper, the opened piece in Swap a piece (in its fixed bottom bar, under the buttons, so it stays in view),
   the pieces on the wait and the piece looked at larger there. Shown only while the website's switch is on. */
.st-earn { margin: 1.1rem 0 0; padding-top: .8rem; max-width: none; font-family: var(--display); font-size: .92rem; line-height: 1.5; color: var(--muted); }
.st-grp-pieces > .st-earn { margin-top: .8rem; padding-top: 0; }
.st-wpieces > .st-earn { margin-top: .9rem; padding-top: 0; }
.st-lookbox > .st-earn { margin-top: .9rem; padding-top: 0; font-size: .88rem; }
.st-detail-foot { flex-wrap: wrap; }
.st-detail-foot .st-earn { flex: 1 0 100%; margin: 0; padding: .45rem 0 0; border-top: 1px solid var(--hair); font-size: .88rem; }
/* On a phone only the buttons of that bar are pinned (the summary scrolls), so the line is pinned under them. */
@media (max-width: 700px) {
  #swapbox[open][data-at="piece"] #swap-detail-foot .st-earn { position: fixed; left: 0; right: 0; bottom: 0; z-index: 4; margin: 0; padding: 0 18px calc(.6rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 0; }
  #swapbox[open][data-at="piece"][data-earns="true"] #swap-detail-foot .st-candidate-actions { bottom: var(--earn-h, 0px); padding-bottom: 8px; }
}

/* The printed shopping list (Jeff, November 20, 2026, mockup 2): a QR code beside each row at 0.9 inch, our short address
   under each name, one line above the list saying what the codes do, and the commission line last. On screen none of it. */
.st-shop-qr, .st-shop-scan { display: none; }
@media print {
  body[data-print="list"] .st-shop-scan { display: block; margin: .5rem 0 0; max-width: none; font-family: var(--display); font-size: .88rem; color: #444; }
  body[data-print="list"] .st-shop-row { grid-template-columns: 3.5rem minmax(0, 6fr) minmax(0, 3fr) 5rem .9in; }
  body[data-print="list"] .st-shop-qr { display: block; width: .9in; height: .9in; justify-self: end; }
  /* A letter page is narrower than the screen rules' breakpoints, which stack a row. On paper every row is one line: the
     picture, the name, the size, the quantity and the code (mockup 2). */
  body[data-print="list"] .st-shop-row > .st-thumb { grid-column: 1; grid-row: 1; width: 3.5rem; height: 3.5rem; }
  body[data-print="list"] .st-shop-row > div { grid-column: 2; grid-row: 1; }
  body[data-print="list"] .st-shop-row > .st-shop-size { grid-column: 3; grid-row: 1; }
  body[data-print="list"] .st-shop-row > .st-shop-qty { grid-column: 4; grid-row: 1; text-align: left; }
  body[data-print="list"] .st-shop-row > .st-shop-qr { grid-column: 5; grid-row: 1; }
  body[data-print="list"] .st-shop-qr:empty { visibility: hidden; }
  body[data-print="list"] .st-shop-qr svg { display: block; width: 100%; height: 100%; }
  body[data-print="list"] .st-earn { color: #444; break-inside: avoid; }
}

/* The page a link of ours shows for a piece it can no longer find (netlify/lib/studio/links.mjs). */
.st-gone { padding-block: clamp(3rem, 9vw, 7rem); }
.st-gone h1 { margin: .4rem 0 .6rem; }
.st-gone .st-sub { font-family: var(--display); font-size: 1.05rem; color: var(--pair-ink); }
.st-gone .st-btn { margin-top: 1.2rem; }

/* Catalog framing is measured on the visible product. Zoom and vendor links retain their original source. */
.studio [data-catalog-frame] { position: relative; overflow: hidden; }
.studio [data-catalog-frame="measured"] { background: var(--frame-ground); }
.studio [data-catalog-frame="measured"] > img {
  position: absolute; inset: auto; left: var(--frame-x); top: var(--frame-y);
  width: var(--frame-w); height: var(--frame-h); max-width: none; max-height: none;
  padding: 0; object-fit: fill; filter: brightness(var(--frame-lift, 1));
}
.studio [data-catalog-frame="whole"] > img {
  width: 100%; height: 100%; object-fit: contain; padding: 0; mix-blend-mode: normal;
}
.st-candidate-caption .st-label { margin: 0; }
.st-candidate-caption h3 { margin: .2rem 0 .6rem; }
.st-card-open > .st-opt-tag { position: static; align-self: flex-start; margin-top: .4rem; }

/* ---------- A vendor's customer offer (Vendor programs, Jeff, November 22, 2026, docs/vendor-programs-build-brief-2026-11-22.md).
   Information for the shopper, never a ranking. The quiet box with the code sits under a vendor's name on the shopping list
   and under a piece opened in Swap a piece. The Pieces list, the wait and the piece looked at larger say it in one line beside
   the vendor. The picker has a small soft-gold tag, unlike the dark "in your room" corner tag and unlike a button. On paper
   the line sits at the right of the vendor's name and the box is left out. */
.st-offer { display: flex; align-items: center; justify-content: space-between; gap: .7rem 1.4rem; margin: .8rem 0 .1rem; padding: .8rem 1rem; background: color-mix(in srgb, #fff 38%, var(--paper)); border: 1px solid var(--hair); border-radius: .45rem; }
.st-offer-words { min-width: 0; }
.st-offer .st-offer-title { margin: 0; max-width: none; font-family: var(--display); font-size: 1.1rem; line-height: 1.35; color: var(--ink); }
.st-offer .st-offer-say { margin: .15rem 0 0; max-width: 38rem; font-family: var(--display); font-size: .9rem; line-height: 1.45; color: var(--muted); }
.st-offer-code { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; flex: none; }
.st-offer-codebox { display: inline-block; padding: .45rem .75rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95rem; letter-spacing: .1em; color: var(--ink); border: 1px dashed var(--brass); border-radius: .2rem; user-select: all; overflow-wrap: anywhere; }
.st-offer-copy { min-height: 2.75rem; font-size: .92rem; white-space: nowrap; }
.st-shop-vendor > header + .st-offer { margin-top: .75rem; }
.st-detail-text > .st-offer { flex-direction: column; align-items: flex-start; margin-top: 1rem; }
.st-row-offer, .st-piece-offer { font-family: var(--display); color: var(--muted); }
p.st-row-offer { margin: .15rem 0 0; font-size: .88rem; line-height: 1.4; }
/* The offer once, above the Pieces list, and a short mark on its vendor's rows in a room with other vendors (QA of
   November 24, 2026, item 9). */
.st-pieces-offer { margin: .2rem 0 .7rem; padding: .5rem .75rem; border-left: 3px solid var(--brass, #a8865a); background: color-mix(in srgb, currentColor 5%, transparent); font-family: var(--display); font-size: .9rem; line-height: 1.4; }
.st-pieces-offer span { display: block; }
p.st-row-offer { color: var(--ink, inherit); }
.st-wpiece .st-piece-offer, .st-lookbox .st-piece-offer { margin: .15rem 0 0; font-size: .85rem; line-height: 1.4; }
.st-lookbox .st-piece-offer { margin: .3rem 0 .2rem; font-size: .9rem; }
.st-offer-tag { display: inline-block; align-self: flex-start; margin-top: .4rem; padding: .12rem .6rem; font-family: var(--display); font-size: .8rem; font-weight: 400; letter-spacing: .04em; line-height: 1.4; color: #3F300F; background: #F3E7C9; border: 1px solid var(--brass-line); border-radius: 999px; pointer-events: none; }
.st-card-open > .st-offer-tag { position: static; }
.st-shop-offer-print { display: none; }
@media (max-width: 640px) {
  .st-offer { flex-direction: column; align-items: flex-start; }
}
@media print {
  body[data-print="list"] .st-offer { display: none; }
  body[data-print="list"] .st-shop-vendor > header { align-items: baseline; }
  body[data-print="list"] .st-shop-offer-print { display: block; margin: 0 0 0 auto; max-width: none; font-family: var(--display); font-size: .95rem; color: #222; text-align: right; }
}

/* ---------- Point at a piece, on one timeline (November 22, 2026) ----------
   docs/point-at-a-piece-build-brief-2026-11-22.md. The picture has no compare any more: it shows the picture chosen on the
   timeline. On Original the photo is fitted inside the design's frame, so nothing under it moves (decision 14). */
.st-pic > .st-pic-now { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.st-pic[data-fit="contain"] > .st-pic-now { object-fit: contain; }
.st-pic .st-zoom, .st-pic .st-updating { z-index: 3; }
/* The places of the pieces: invisible, a hand over a piece and nothing anywhere else. The nearer piece is on top. */
.st-hots { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.st-hot { position: absolute; pointer-events: auto; cursor: pointer; }
/* The tag, fixed to the piece. Its ::before fills the gap between it and the piece, so the way to it belongs to it. */
#piece-tag { position: absolute; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; width: max-content; max-width: min(25rem, calc(100% - 16px)); padding: .65rem .75rem .7rem .9rem; background: var(--paper); color: var(--ink); box-shadow: 0 6px 22px rgba(24,24,27,.28), 0 0 0 1px rgba(24,24,27,.08); cursor: default; }
#piece-tag::before { content: ""; position: absolute; left: 0; right: 0; height: 14px; }
#piece-tag[data-side="above"]::before { top: 100%; }
#piece-tag[data-side="below"]::before { bottom: 100%; }
#piece-tag::after { content: ""; position: absolute; left: var(--stem, 50%); width: 10px; height: 10px; background: var(--paper); transform: translateX(-50%) rotate(45deg); }
#piece-tag[data-side="above"]::after { bottom: -5px; }
#piece-tag[data-side="below"]::after { top: -5px; }
.st-tag-text { flex: 1 1 0; min-width: 0; }
.st-tag-text p { margin: 0; max-width: none; font-family: var(--display); }
.st-tag-kind { font-size: var(--st-small); line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
p.st-tag-name { margin-top: .05rem; font-size: 1rem; font-weight: 400; line-height: 1.25; color: var(--ink); }
p.st-tag-sub { margin-top: .15rem; font-size: .86rem; line-height: 1.4; color: var(--pair-ink); }
.st-tag p.st-row-next, .st-piece-card p.st-row-next { margin-top: .25rem; font-size: .9rem; }
.st-tag-btn { flex: none; }
/* Pointing at a row marks each one of that piece in the picture. */
.st-pin { position: absolute; z-index: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--brass); border: 2px solid white; box-shadow: 0 2px 8px rgba(0,0,0,.35); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .st-pin { animation: st-pin-in .2s ease-out; }
  @keyframes st-pin-in { from { transform: scale(.6); } }
}

/* By touch: a numbered dot on each piece. */
.st-dot { position: absolute; z-index: 2; width: 28px; height: 28px; margin: -14px 0 0 -14px; padding: 0; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font-family: var(--display); font-size: .82rem; font-weight: 500; line-height: 1; cursor: pointer; pointer-events: auto; box-shadow: 0 2px 8px rgba(0,0,0,.4); -webkit-tap-highlight-color: transparent; }
.st-dot::before { content: ""; position: absolute; inset: -8px; }
.st-dot[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.st-row-num { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; margin-right: .4rem; border-radius: 50%; border: 1.5px solid var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0; color: var(--ink); vertical-align: 1px; }
.st-piece-card { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin-top: .75rem; padding: .75rem .9rem; background: var(--st-tile); }
.st-piece-card[hidden] { display: none; }
.st-row-pic { position: relative; }
.st-row-pic > .st-row-num { position: absolute; top: 6px; left: 6px; width: 22px; height: 22px; margin: 0; background: var(--paper); font-family: var(--display); opacity: 0; pointer-events: none; }
#pieces[data-numbered="true"] .st-row-num { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .st-row-pic > .st-row-num { transition: opacity .2s ease; } }
.st-piece-card > .st-row-num { margin: 0; flex: none; }
/* The row of the piece pointed at, or of the dot chosen. */
.st-row[data-on="true"] { margin-inline: -.75rem; padding-inline: .75rem; background: var(--st-tile); box-shadow: inset 3px 0 0 var(--ink); }
/* The timeline: Original fixed at the left with a hairline after it, the designs scrolling sideways beside it. */
.st-tl { display: flex; align-items: flex-start; gap: .5rem; }
.st-tl-orig { flex: none; padding-right: .6rem; border-right: 1px solid var(--hair); }
.st-tl-orig .st-strip-row, .st-tl-orig { padding-top: 6px; padding-bottom: 6px; }
.st-tl .st-strip-row { flex: 1 1 auto; min-width: 0; }
.st-take-orig .st-take-pic img { object-fit: cover; }
.st-strip-head { flex-wrap: wrap; gap: .2rem 1.2rem; min-height: 2.2rem; }
.st-strip-say { flex: 0 1 auto; }
.st-pieces-hint { margin: 0; flex: 1 1 auto; font-family: var(--display); font-size: var(--st-read); line-height: 1.4; color: var(--muted); max-width: none; }
.st-pieces-hint:empty { display: none; }
.st-strip-head #ver-favs { margin-left: auto; }
/* Original, in place of the lists. */
.st-orig h2 { margin: 0; }
.st-orig p { margin: .5rem 0 0; max-width: 40ch; font-size: 1.05rem; }
.st-orig .st-orig-go { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; margin-top: 1.1rem; }
/* The room is never the browser's scroll anchor (point at a piece, November 22, 2026, decision 14): when the lists give way
   to Original, or a design with other lists is chosen, the page stays where it was and the row under the picture does not
   move. The picture's frame keeps its shape, so nothing above the row changes height either. */
.st-ws { overflow-anchor: none; }
/* The timeline is always under the picture now, so it is kept compact: the picture of a tall room stays tall. */
.st-strip { margin-top: .55rem; }
.st-tl .st-strip-row, .st-tl-orig { padding-top: 5px; padding-bottom: 3px; }
.st-strip-head { min-height: 2rem; }

@media (max-width:40em) {
  .st-pickbar :is(select,input,button), .st-parts-pick select, .st-rooms-menu select { min-height:44px; }
  html:has(dialog[open]), body:has(dialog[open]) { overflow:hidden; }
}

@media (max-width:40em) {
  .studio dialog[open] :is(button,a[href],input[type="search"],select) { min-height:44px; }
  .studio dialog[open] a[href] { display:inline-flex; align-items:center; }
}

#room-share {box-sizing:border-box;width:min(33rem,calc(100% - 2rem));max-height:88dvh;overflow:auto;border:1px solid #a89980;border-radius:.6rem;padding:1.6rem;color:#302d29;background:#faf7f0}
#room-share::backdrop {background:#1e1916a8}
.share-pin-question {background:#f0eadf;border-radius:6px;margin:.5rem 0;padding:.8rem .9rem;scroll-margin-top:.75rem}
.share-pin-row {display:grid;grid-template-columns:96px minmax(0,1fr);gap:.9rem;align-items:start}
.share-pin-row p:first-child {margin-top:0}
.share-pin-image {display:block;width:96px;height:144px;object-fit:contain}
#room-share a[aria-disabled="true"] {opacity:.55;cursor:default}
#room-share h2 {margin:.2rem 2rem .8rem 0}
.share-close {position:absolute;top:.7rem;right:.8rem;font-size:1.6rem;border:0;background:none;padding:.2rem .55rem;cursor:pointer}
#room-share figure {margin:0}.share-thumb {display:block;width:auto;max-width:100%;max-height:22dvh;object-fit:contain;border-radius:.25rem}
.share-actions {display:flex;align-items:center;gap:.5rem 1rem;flex-wrap:wrap;margin:.8rem 0}
.share-preview small,.share-preview strong {display:block}.share-address {width:100%;box-sizing:border-box;padding:.5rem}
.shared-room-card {min-width:0}.shared-room-card .st-room {width:100%}.shared-mark {margin:.25rem 0}.st-take-shared {display:block;font-size:0.75rem}
@media(max-width:40rem){#room-share {position:fixed;inset:auto 0 0;width:100%;max-width:100%;max-height:90dvh;margin:0;border-radius:.8rem .8rem 0 0;padding:1.1rem 1.1rem max(1.1rem,env(safe-area-inset-bottom))}}

.compare-tabs,.comparison-pair,.compare-options {display:flex;gap:.6rem;align-items:start}
.compare-tabs button,.compare-options button {min-height:44px;padding:.4rem .7rem;color:var(--ink);background:var(--paper);border:1px solid var(--hair);cursor:pointer}
.compare-tabs [aria-pressed=true],.compare-options [aria-pressed=true] {border-color:var(--ink);font-weight:600}
.comparison-pair figure {flex:1;min-width:0;margin:.5rem 0}
.compare-options {overflow-x:auto;padding:.4rem 0;max-width:100%}
.compare-options button {flex:0 0 6rem}.compare-options img,.comparison-pair img {width:100%;height:4.2rem;object-fit:cover}

.st-chosen { display:flex; align-items:center; gap:1.3rem; border:1px solid var(--line); background:var(--st-tile); padding:clamp(1rem,2vw,1.8rem); margin-bottom:1.5rem; }
.st-chosen img { width:clamp(4.5rem,9vw,8rem); aspect-ratio:1; object-fit:contain; }
.st-chosen h2, #chosen-example h3 { margin:.25em 0; font-size:clamp(1.25rem,2.2vw,1.9rem); }
.st-chosen p, #chosen-example p { margin:.35rem 0; }
.st-chosen-links { margin-left:auto; display:flex; gap:1rem; flex-wrap:wrap; }
body.has-chosen-piece #entrance > :not(#chosen-example), body.has-chosen-piece #sample-line,
body.has-chosen-piece #entrance.no-chosen-room { display:none; }
#chosen-example img { display:block; width:100%; aspect-ratio:3/2; object-fit:cover; }
#chosen-example .st-btn { margin:.7rem 0; }
#chosen-result { align-items:baseline; gap:1rem; flex-wrap:wrap; }
@media(max-width:650px) { .st-chosen { flex-wrap:wrap; gap:.75rem; } .st-chosen > div:first-of-type { flex:1; min-width:0; } .st-chosen-links { width:100%; margin:0; } }

.st-sample-entry { max-width:48rem; padding-block:clamp(1.5rem,5vw,4rem); }
.st-sample-entry h1 { margin:.4em 0 .25em; font-size:clamp(1.9rem,4vw,3.2rem); }
.st-sample-entry h2 { font-size:clamp(1.2rem,2vw,1.55rem); }
.st-sample-entry #chosen-example { margin:1rem 0; }
.st-sample-entry #chosen-example img { margin-top:1rem; }

/* Getting in. The photo, ideas and design controls follow the same reading and keyboard order. */
.st-private { padding-block: clamp(2rem,5vw,5rem); }
#draft-example { margin-bottom: .75rem; }
.st-private h1 em { display: block; }
.st-private p:not(.eyebrow) { max-width: 31rem; margin-block: 1.25rem; }
#gate-waiting { border: 1px solid var(--hair); max-width: 33rem; padding: 1rem; margin-top: 1.4rem; }
#gate-waiting ul { padding: 0; list-style: none; }
#gate-waiting li { display: flex; gap: .8rem; align-items: center; margin-block: .6rem; }
#gate-waiting img { width: 3rem; height: 3rem; object-fit: contain; }
#gate-waiting small { display: block; color: var(--muted); }
#gate-waiting p:last-child { margin-bottom: 0; }
.st-design-time { font: .9rem/1.4 var(--display); color: var(--muted); }
.st-tray .st-design-time { color: inherit; }
.st-skip-design:not(:focus) { position:absolute; clip-path:inset(50%); width:1px; height:1px; overflow:hidden; }
.st-part small { display:block; font-size:.75rem; }
#other-room { margin-block: 1rem; }
@media (max-width: 899px) {
  .st-photo-main .st-free-photo:not([hidden]) { display:block; margin-top:.65rem; font-size:1rem; color:var(--muted); }
  .st-photo-main .st-free-photo::before { display:none; }
  .st-room-go, .st-tray-go { flex-wrap: wrap; }
  .st-room-go .st-design-time, .st-tray-go .st-design-time { flex: 1 0 100%; text-align:right; }
  .st-design-time { font-size:.85rem; }
}
@media (max-width:63.99em) {
  .st-nextbar[data-email="true"] .st-next-go { flex-wrap:wrap; justify-content:flex-end; }
  .st-nextbar[data-email="true"] .st-next-say { display:block; flex:1 0 100%; max-width:none; }
  .st-nextbar[data-email="true"] .st-next-cost { display:block; font-size:.85rem; }
}

.st-gate:has(#gate-waiting:not([hidden])) .st-gate-photo img { aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 720px) {
  .st-gate:has(#gate-waiting:not([hidden])) .st-gate-photo { display:none; }
}
@media (min-width: 901px) {
  #visitor-room-link { display:none; }
}

/* The finished room (November 26). */
.studio :where(button, input, select, textarea) { font-family: var(--display); }
/* The frame and its column take the selected proportions in the same paint, including under reduced motion. */
#ws, #stage, #stage .st-frame, #pic { transition-property: none; }
#pic-preview[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  #strip *, #hots *, #pieces .st-row-num, #pic > img { transition-property: none; }
}
.st-room .st-row-name a { color: inherit; text-decoration: none; }
.st-room .st-row-name a:hover { text-decoration: underline; }
.st-brand-plain, .st-row-act .st-store-button { display: none; }
.st-dot { width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 8px solid transparent;
  background-clip: padding-box; box-shadow: none; }
.st-dot::before { inset: 0; border: 1.5px solid var(--ink); border-radius: 50%; }
.st-placeholders i { display: block; aspect-ratio: 3/4; background: linear-gradient(var(--st-tile) 70%, transparent 70% 75%, var(--hair) 75% 79%, transparent 79% 84%, var(--hair) 84% 87%, transparent 87%); }
#takes { --left-fade: 0px; --right-fade: 0px; mask-image: linear-gradient(to right,transparent,#000 var(--left-fade),#000 calc(100% - var(--right-fade)),transparent); }
#takes[data-left="true"] { --left-fade: 12px; }
#takes[data-right="true"] { --right-fade: 12px; }
section.st-room { padding-bottom: calc(var(--st-bar, 0px) + 1rem); }
#undo-feedback { position: fixed; bottom: calc(var(--st-bar, 0px) + 1rem); left: 50%; transform: translateX(-50%);
  z-index: 32; padding: .6rem 1rem; margin: 0; background: var(--navy); color: var(--on-navy); border-radius: .3rem; pointer-events:none; }
#update-timer { font-variant-numeric: tabular-nums; white-space:nowrap; }
#lightbox[open] { box-sizing: border-box; padding-top: 4rem; }
#lightbox figure { margin: 0; grid-template-rows: minmax(0,1fr) auto; align-content: stretch; }
#lightbox #big { min-height:0; min-width:0; height:100%; width:100%; display:grid; place-items:center; }
#lightbox-img { width:100%; height:100%; min-height:0; object-fit:contain; }
#lightbox figcaption { width:auto; }
#room-share .share-pin-question { scroll-margin-block: .5rem; }
#room-share [role=status]:empty { display:none; }
#room-share .share-actions { margin:.45rem 0; }
@media (min-width:100em) {
  .st-room > .wrap { width:min(88%, 109.2rem); max-width:none; }
  .st-room .st-ws { grid-template-columns:minmax(0,min(60%,var(--picw),var(--natural-width, 1536px))) minmax(0,1fr); }
}
@media (max-width:40em) {
  #room-share { max-height:100dvh; }
  body[data-view=result] .top > .area-row { display:none; }
  #swapbox .st-swap-grid { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:.6rem; }
  #swapbox[data-large-text="true"] .st-swap-grid { grid-template-columns: minmax(0, 1fr); }
  #grp-pieces .st-row-act { display:grid; flex-basis:100%; grid-template-columns:repeat(2,minmax(0,1fr)); margin:0; padding:0; }
  #grp-pieces .st-row-act > * { min-width:0; min-height:44px; padding:.35rem .45rem; text-align:center; justify-content:center; white-space:normal; }
  #grp-pieces .st-store-button { display:inline-flex; align-items:center; text-decoration:none; }
  #grp-pieces .st-brand-plain { display:inline; }
  #grp-pieces .st-brand-plain + .st-row-vendor { display:none; }
  .st-nextbar > .wrap, .st-nextbar .st-next-go { min-width:0; flex-wrap:wrap; }
  .st-nextbar .st-next-go { max-width:100%; margin-left:auto; }
  .st-nextbar .st-next-say { overflow-wrap:anywhere; }
}

.st-menu-new, #site-nav .st-nav-new { display:none; }
#site-nav .st-menu-new { display:inline; }

/* ---- Prices in the studio (R1, item 3.17 of the November 27, 2026 usability fixes, pull request 3a) ----
   Each price sits in its own element, right under the piece's name (st-row-price, st-shop-price, st-detail-price), and
   the total closes the shopping list (st-shop-total), so the visual pass (3b) can restyle them without moving them. */
p.st-row-price { margin-top: .15rem; font-family: var(--display); font-size: .95rem; line-height: 1.35; color: var(--pair-ink); }
.st-shop-row .st-shop-price { font-family: var(--display); font-size: .95rem; color: var(--pair-ink); }
.st-detail-price { margin: .25rem 0 0; font-family: var(--display); font-size: 1rem; color: var(--pair-ink); }
.st-detail-price[hidden], .st-shop-total[hidden], .st-shop-total-rest[hidden] { display: none; }
/* Round 4: a price line breaks only at its dot ("$2,550 each ·" over "2 in this room"), never inside either half. A row
   whose price is still coming keeps the line's shape, unseen (data-held), so nothing moves when the price comes. */
.st-price-each, .st-price-n { white-space: nowrap; }
p.st-row-price { font-variant-numeric: tabular-nums; }   /* every figure as wide, so the kept line breaks as a four-figure price does */
p.st-row-price[data-held] { visibility: hidden; }
.st-shop-total { margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px solid var(--ink); }
.st-shop-total p { margin: 0; max-width: 42rem; }
.st-shop-total-sum { font-family: var(--display); font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.st-shop-total-rest { margin-top: .3rem !important; font-family: var(--display); font-size: .92rem; color: var(--muted); }
@media print { body[data-print="list"] .st-shop-total { break-inside: avoid; border-top-color: #000; } }

/* ---- The visual half of the November 27, 2026 usability fixes (pull request 3b) ---- */

/* 3.5 (C-15): on a phone the timeline fits Original and four designs side by side at 375, so Design 1 is never scrolled
   under Original. The small pictures share the row's width, never larger than on a computer. */
@media (max-width: 40em) {
  .st-tl { container-type: inline-size; }
  .st-tl .st-take { width: min(4.6rem, calc((100cqw - 3.4rem) / 5)); }
  .st-tl .st-take-pic { width: 100%; height: auto; aspect-ratio: 4.6 / 3.1; }
  .st-tl-orig { padding-right: .5rem; }
  .st-tl { gap: .4rem; }
  .st-tl .st-strip-row { gap: .45rem; padding-inline: 3px; }
}

/* 3.6 (C-16): on a phone, once a photo is chosen, only the bottom action bar stays fixed. The header and the photo strip
   scroll away with the page; whatever was pinned under the header is pinned to the top instead. */
@media (max-width: 640px) {
  body[data-view="setup"]:has(.st-steps[data-room="true"]) > .top { position: relative; }
  .st-steps[data-room="true"] { --st-top: 0px; }
  .st-steps[data-room="true"] > .st-step[data-step="photo"] { position: static; }
}

/* 3.7 (C-17): the save heart at the top right of each row, at every size, off the picture (Jeff, 1:46pm). The words keep
   room beside it so they never touch, and Change sits under it on a computer. */
.st-row.st-row-saves { position: relative; }
.st-row > .st-row-heart { top: calc(.85rem - 6px); right: -6px; }
.st-row[data-on="true"] > .st-row-heart, .st-row[data-waiting="true"] > .st-row-heart { right: calc(.75rem - 6px); }
.st-row > .st-row-heart::before { box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 22%, transparent); }
/* Where Change sits beside the words the heart is above Change; where the buttons go under the words (a change waiting, a
   phone) the words keep room for it. */
.st-row-saves[data-waiting="true"] .st-row-text { padding-right: 2.5rem; }
@media (max-width: 640px) { .st-row-saves .st-row-text { padding-right: 2.5rem; } }
.st-row-saves .st-row-act { align-self: flex-start; margin-top: 2.55rem; }
.st-row-saves[data-waiting="true"] .st-row-act { margin-top: 0; }
/* Where the buttons do not fit beside the words they go straight under them, with no space kept above them for the heart,
   and the words keep the heart's room instead. One button (Change) fits beside the words down to a 22rem list, so a
   laptop's side column (1024 to 1365) keeps it there; two seen at once need about 36rem (the store's button is shown only on a
   phone, so it does not count). Before QA round 1
   of #332 a 26rem list put every row's buttons under the words, and a row that wrapped kept a 2.55rem space: 49 to 53px
   of nothing under the words at 1024 to 1280. */
.st-rows { container-type: inline-size; }
@container (max-width: 21.9rem) { .st-row-saves .st-row-text { padding-right: 2.5rem; } .st-row-saves .st-row-act { flex-basis: 100%; margin: 0; padding-left: calc(4.5rem + 1rem); justify-content: flex-start; } }
@container (max-width: 36rem) { .st-row-saves:has(.st-row-act > :not(.st-store-button) ~ :not(.st-store-button)) .st-row-text { padding-right: 2.5rem; } .st-row-saves:has(.st-row-act > :not(.st-store-button) ~ :not(.st-store-button)) .st-row-act { flex-basis: 100%; margin: 0; padding-left: calc(4.5rem + 1rem); justify-content: flex-start; } }
@media (max-width: 640px) { .st-row-saves:has(.st-row-act > :nth-child(2)) .st-row-act { margin-top: 0; } }
@media (max-width: 40em) { #grp-pieces .st-row-saves .st-row-act { margin-top: 0; } }
/* "15% off" on the vendor's line, after a thin rule, in brass and a little smaller (Jeff, 1:46pm). */
.st-row-offer { display: inline-block; margin-left: .55rem; padding-left: .55rem; border-left: 1px solid var(--brass-line); font-size: .88em; line-height: 1.2; color: var(--label); white-space: nowrap; }
@media print { .st-row-heart { display: none; } }

/* 3.16 (C-42): on a phone "View at …" keeps one line for every store in the catalog (Visual Comfort the longest): the
   store's button takes the room it needs, Change the rest, and the letters are spaced a little closer. */
@media (max-width: 40em) {
  #grp-pieces .st-row-act { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  #grp-pieces .st-row-act > .st-store-button { white-space: nowrap; letter-spacing: .1em; padding-inline: .35rem; font-size: .74rem; }
}

/* 3.8 (C-19) and 3.18: the shopping list's offer folded to one line, opened in place; the introduction line after the
   total. */
.st-offer-fold { margin: .2rem 0 .6rem; }
.st-offer-fold > summary { display: block; min-height: 2.9rem; padding: .55rem .9rem; background: color-mix(in srgb, #fff 45%, var(--dlg-paper, #faf7f0)); font-family: var(--display); font-size: .98rem; color: var(--ink); cursor: pointer; list-style: none; }
.st-offer-fold > summary::-webkit-details-marker { display: none; }
.st-offer-fold > summary .st-offer-more { color: var(--muted); }
.st-offer-fold > summary:hover .st-offer-more { color: var(--ink); }
.st-offer-fold > summary:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: 2px; }
.st-offer-fold[open] > summary .st-offer-more { display: none; }
.st-offer-fold > .st-offer { margin-top: 0; border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.st-offer-fold[open] > summary { border-bottom: 0; }
.st-shop-intro { margin: 1rem 0 0; max-width: 42rem; font-family: var(--display); font-size: 1rem; line-height: 1.5; color: var(--ink); }
.st-shop-intro[hidden] { display: none; }
@media print { .st-shop-intro, .st-offer-fold > summary { display: none !important; } .st-offer-fold { border: 0; margin: 0; } .st-offer-fold > .st-offer { display: none; } }

/* 3.10 (C-25, C-26): one dialog design for share, the shopping list and the pickers: the share box's pale, rounded card,
   with a × at the top right (Jeff's option B, 1:46pm). On a phone the full-height sheets keep the × at the top. */
:root { --dlg-paper: #faf7f0; --dlg-line: #a89980; }
#room-share, .st-shopbox, .st-swapbox, .st-finbox { border: 1px solid var(--dlg-line); border-radius: .6rem; background: var(--dlg-paper); color: #302d29; }
#room-share::backdrop, .st-shopbox::backdrop, .st-swapbox::backdrop, .st-finbox::backdrop { background: #1e1916a8; }
.st-shopbox-head, .st-swapbox .st-swap-head { background: var(--paper); border-radius: .6rem .6rem 0 0; }
.st-shopbox-head { padding-right: 3.6rem; }
/* The × itself: the share box's close, in one place for every dialog. */
.share-close, .st-dlg-x { position: absolute; top: .7rem; right: .8rem; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); font: 400 1.6rem/1 var(--display); cursor: pointer; }
.share-close:hover, .st-dlg-x:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.share-close:focus-visible:not(:where(.pointer-focus)), .st-dlg-x:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: 2px; }
.st-shopbox-head .st-dlg-x { position: absolute; }
.st-swapbox .st-swap-head { position: relative; }
.st-swapbox .st-swap-head > .st-dlg-x, .st-shared-chooser .st-swap-head > .st-dlg-x { position: absolute; order: 0; top: .7rem; right: .8rem; width: 44px; height: 44px; padding: 0; border: 0; font-size: 1.6rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.st-shared-chooser .st-swap-head { padding-right: 4rem; }
.st-finbox { position: relative; padding-top: clamp(2.6rem, 5vw, 3rem); }
.st-finbox > .st-dlg-x { position: absolute; }
/* The share box's controls in the studio's own type and controls: its tabs and segments, its checkboxes and its main
   button. */
#room-share { font-family: var(--display); }
#room-share :where(button, input, select, textarea, a):not(.share-close) { font: inherit; }
#room-share h2 { font-family: var(--display); font-weight: 300; }
#room-share .compare-tabs { display: inline-flex; gap: 0; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; margin: .2rem 0 .6rem; }
#room-share .compare-tabs button { min-height: 2.75rem; padding: .45rem 1rem; border: 0; background: transparent; color: var(--ink); font-size: .92rem; font-weight: 400; white-space: nowrap; }
#room-share .compare-tabs button + button { border-left: 1px solid var(--ink); }
#room-share .compare-tabs button:hover { background: color-mix(in srgb, #fff 38%, var(--paper)); }
#room-share .compare-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
#room-share .compare-tabs button:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: -4px; }
#room-share input[type="checkbox"] { appearance: none; -webkit-appearance: none; flex: none; width: 1.25rem; height: 1.25rem; margin: 0; border: 1px solid color-mix(in srgb, var(--ink) 55%, transparent); border-radius: .2rem; background: var(--dlg-paper); cursor: pointer; }
#room-share input[type="checkbox"]:checked { border-color: var(--ink); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23F2ECE0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6'/%3E%3C/svg%3E") center / 100% no-repeat; }
#room-share input[type="checkbox"]:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: 2px; }
#room-share input[type="checkbox"]:disabled { opacity: .5; cursor: default; }
#room-share .share-address { border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); border-radius: .25rem; background: #fff; }
@media (max-width: 40rem) {
  .st-shopbox, .st-swapbox { border-radius: .8rem .8rem 0 0; border-bottom: 0; border-inline: 0; }
  .st-shopbox-head, .st-swapbox .st-swap-head { border-radius: .8rem .8rem 0 0; }
  .st-finbox { border-radius: .8rem .8rem 0 0; }
}

/* 3.12 (C-35): on a phone the design idea categories wrap, so "Styling" is never cut off. */
@media (max-width: 640px) {
  .st-idea-parts .st-pills, .st-shared-chooser .st-idea-parts .st-pills { flex-wrap: wrap; overflow-x: visible; margin-inline: 0; padding-inline: 0; }
  /* With large text a category longer than the row breaks inside its own pill instead of running past the box. */
  .st-idea-parts .st-pills button { flex: 0 1 auto; max-width: 100%; height: auto; white-space: normal; text-align: left; }
}

/* 3.13 (C-37): "No photo handy?" once. Where the sample picture's own heading says it (below 900px), the line under the
   upload is not drawn. */
@media (max-width: 899px) { .rooms-layout .st-sample-line:not([hidden]) { display: none; } }

/* 3.21 (R8): the jump from a sample room to "Now try your own room", seen only with the keyboard's focus. */
.st-skip-try { display: inline-block; margin: .4rem 0 0; padding: .45rem .9rem; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: .95rem; text-decoration: none; }
.st-skip-try[hidden] { display: none; }
.st-skip-try:not(:focus) { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; margin: 0; padding: 0; }
/* The head's own button is the × at the list. Inside a piece (where the head gives way to the piece's own) and inside an
   idea (where the head's button goes back to the list) the dialog's second × closes it. */
.st-swapbox > .st-dlg-x, .st-finbox > .st-dlg-x { position: absolute; }
.st-swapbox > .st-dlg-x-detail { display: none; }
#swapbox[data-at="piece"] > .st-dlg-x-detail, #ideabox[data-at="idea"] > .st-dlg-x-detail { display: grid; }
#ideabox[data-at="idea"] #idea-close { position: static; width: auto; height: auto; min-height: 2.75rem; border-radius: 999px; font-size: inherit; }
#ideabox[data-at="idea"] .st-swap-head { padding-right: 4rem; }
/* R4 (3.19): with the phone's share sheet first, Copy link is the quiet second choice beside it. */

/* Sign-in screen (Jeff, November 28, 2026). The photo stands in an arch with a thin brass casing, on a brass threshold
   line with dot ends, like the Room Studio mark. The two columns sit together in the middle of the page instead of at
   its far edges. Sign in on its own has no Room Studio eyebrow or studio row, and Sign in from another page shows a
   plain page while the studio starts, not the first screen. */
@media (min-width: 901px) {
  .st-gate-grid { grid-template-columns: minmax(0, 34rem) minmax(0, 27.5rem); justify-content: center; column-gap: clamp(3.5rem, 7vw, 7.5rem); }
  .st-gate-photo { justify-self: stretch; max-width: 27.5rem; }
}
.st-gate-photo.arch { position: relative; overflow: visible; box-sizing: border-box; padding: 12px 12px 0; border: 1.5px solid #9A7637; border-bottom: 0; border-radius: 999px 999px 0 0; }
.st-gate-photo.arch img { display: block; aspect-ratio: 460 / 581; object-fit: cover; object-position: 50% 50%; border-radius: 999px 999px 0 0; }
.st-gate-photo.arch::after { content: ""; position: absolute; left: -27px; right: -27px; bottom: -5px; height: 11px; pointer-events: none;
  background: radial-gradient(circle, #9A7637 5px, transparent 5.5px) left center / 11px 11px no-repeat,
              radial-gradient(circle, #9A7637 5px, transparent 5.5px) right center / 11px 11px no-repeat,
              linear-gradient(#9A7637, #9A7637) center / calc(100% - 10px) 3px no-repeat; }
body.studio[data-view="gate"][data-gate="signin"] .top > .area-row,
body.studio[data-view="gate"][data-gate="signin"] .st-gate .eyebrow-studio,
html[data-signin] body.studio[data-view="loading"] .top > .area-row { display: none; }
.st-opening[data-arrive="signin"] > * { visibility: hidden; }

#remove-picker {
  box-sizing: border-box; width: min(33rem, calc(100% - 2rem)); max-height: 88dvh;
  padding: 1.4rem; border: 1px solid var(--dlg-line); border-radius: .6rem;
  background: var(--dlg-paper); color: var(--ink); font-family: var(--display);
}
#remove-picker[open] { display: flex; flex-direction: column; gap: .65rem; }
#remove-picker::backdrop { background: #1e1916a8; }
#remove-picker h2 { margin: 0; font-size: 1.55rem; font-weight: 300; }
#remove-options { overflow-y: auto; overscroll-behavior: contain; }
#remove-options label { display: flex; align-items: center; gap: .8rem; padding: .4rem .2rem; border-bottom: 1px solid var(--hair); cursor: pointer; }
#remove-options input { width: 1.1rem; height: 1.1rem; accent-color: var(--ink); }
#remove-options img, #remove-options .remove-tile { width: 3.6rem; height: 2.8rem; object-fit: cover; background: var(--paper-2); border-radius: .2rem; }
#remove-count-note { margin: 0 0 .45rem; }
#remove-count-note:empty { display: none; }
@media (max-width: 40rem) {
  #remove-picker { position: fixed; inset: auto 0 0; width: 100%; max-width: 100%; max-height: 88dvh; margin: 0; border-radius: .8rem .8rem 0 0; padding: 1.1rem 1.1rem max(1.1rem, env(safe-area-inset-bottom)); }
}

/* ---------- The room's name and the actions under the picture (November 29, 2026, Jeff's option 2,
   docs/result-actions-build-brief-2026-11-29.md) ----------
   A pencil after the name renames the room in place. Under the picture, one bar of four: Share, Favorite, Save and More. */
/* The pencil sits on the title's last line, right after its last word, and never takes a row of its own. The word joiner
   after the name keeps the two together when the title wraps. */
.st-room-name::after { content: "\2060"; }
.st-pencil { position: relative; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: -.6rem -.5rem -.6rem .05rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: inherit; vertical-align: middle; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .2s, background-color .2s, opacity .15s; }
.st-pencil[hidden] { display: none; }
.st-pencil svg, .st-round svg, .st-act svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.st-pencil svg { width: clamp(1.0625rem, .62em, 1.375rem); height: clamp(1.0625rem, .62em, 1.375rem); }
.st-pencil:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
/* With a pointer the pencil shows when the pointer is on the title or the pencil has the keyboard's focus, with a brass line
   under the name, and a click on the name edits it. A touch screen has no hover, so there the pencil always shows. */
@media (hover: hover) {
  .st-pencil { opacity: 0; }
  #result-h:hover .st-pencil, .st-pencil:focus-visible { opacity: 1; }
  #result-h:has(> .st-pencil:not([hidden])) .st-room-name { cursor: text; text-decoration: underline transparent; text-decoration-thickness: 1px; text-underline-offset: .18em; transition: text-decoration-color .15s; }
  #result-h:hover:has(> .st-pencil:not([hidden])) .st-room-name, #result-h:has(> .st-pencil:focus-visible) .st-room-name { text-decoration-color: var(--brass-line); }
  /* The name of an icon button, on hover and on keyboard focus. */
  .st-room-head [data-tip]:hover::after, .st-room-head [data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; left: 50%; top: calc(100% + .35rem); z-index: 30; transform: translateX(-50%); padding: .3rem .55rem; border-radius: 3px; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: .75rem; font-weight: 400; letter-spacing: .02em; line-height: 1.2; white-space: nowrap; pointer-events: none; }
}

/* Renaming in place: the field takes the title's own font and size (copied from it when it opens), with no box and one
   brass line under it that turns ink while typing. ✓ saves and ✕ cancels. */
.st-room-head[data-editing] > h1 { display: none; }
.st-rename-line { display: flex; align-items: center; gap: .15rem; }
body.studio[data-view] .st-rename-form input[type="text"] { flex: 1 1 auto; min-width: 0; width: auto; height: auto; margin: 0 .35rem 0 0; padding: .05rem 0 .2rem; border: 0; border-bottom: 1.5px solid var(--brass); border-radius: 0; background: transparent; box-shadow: none; color: var(--ink); outline: none; }
body.studio[data-view] .st-rename-form input[type="text"]:focus, body.studio[data-view] .st-rename-form input[type="text"]:focus-visible { outline: none; border-bottom-color: var(--ink); }
.st-rename-form input::selection { background: color-mix(in srgb, var(--brass-line) 40%, transparent); color: var(--ink); }
.st-round { position: relative; flex: none; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .2s; }
.st-round svg { width: 1.3rem; height: 1.3rem; }
.st-round:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.st-round-ok, .st-round-ok:hover { background: var(--ink); color: var(--paper); }
.st-round-ok:hover { background: #000; }
.st-round[data-busy="true"] { opacity: .6; cursor: progress; }
.st-room .st-room-head .st-rename-form .st-note { margin: .4rem 0 0; }

/* The bar: four actions in fixed places. Share leads, in the gold-brown of the small capital labels. */
.st-room .st-about-act { position: relative; display: flex; align-items: center; gap: .25rem 1.6rem; margin: .4rem 0 0; }
.st-about-act > [hidden] { display: none !important; }
.st-act { position: relative; display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0; border: 0; background: none; color: var(--ink); font-family: var(--display); font-size: .9375rem; font-weight: 400; letter-spacing: 0; line-height: 1.2; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st-act svg { flex: none; width: 1.25rem; height: 1.25rem; }
.st-act svg circle { fill: currentColor; stroke: none; }
.st-act-share { color: var(--label); font-weight: 500; }
.st-act-share svg { stroke-width: 1.7; }
.st-fav[aria-pressed="true"] svg { fill: #9A7637; stroke: #9A7637; }
.st-act:hover span { text-decoration: underline; text-decoration-color: var(--brass-line); text-decoration-thickness: 1px; text-underline-offset: .25em; }
.st-more { position: relative; }
.st-more > summary { list-style: none; }
.st-more > summary::-webkit-details-marker { display: none; }

/* More: This design, This room, then the removals in the alert colour. A popover on a computer, placed above or below More
   by fitMore() in studio.js, whichever fits. */
.st-more > div { position: absolute; left: auto; right: 0; top: 100%; z-index: 16; width: min(19rem, calc(100vw - 2 * var(--gutter, 1rem))); padding: .35rem 0; overflow-y: auto; overscroll-behavior: contain; background: color-mix(in srgb, #fff 62%, var(--paper)); border-radius: 6px; box-shadow: 0 10px 32px rgba(18,22,32,.2); outline: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.st-more-group[hidden], .st-more > div button[hidden] { display: none; }
.st-more-h { max-width: none; margin: .55rem 1.1rem .2rem; font-family: var(--display); font-size: var(--st-small); font-weight: 400; letter-spacing: .2em; line-height: 1.4; text-transform: uppercase; color: var(--label); }
.st-more > div button { display: block; width: 100%; min-height: 3rem; padding: .55rem 1.1rem; border: 0; background: none; text-align: left; color: var(--ink); font-family: var(--display); font-size: .95rem; line-height: 1.3; cursor: pointer; }
.st-more > div button:hover, .st-more > div button:focus-visible { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.st-more > div button:focus-visible { outline-offset: -2px; }
.st-more > div button small { display: block; margin-top: .15rem; font: .8125rem/1.35 var(--display); color: var(--muted); text-wrap: pretty; }
.st-more-remove { margin-top: .35rem; padding-top: .35rem; border-top: 1px solid var(--hair); }
.st-more > div .st-more-remove button { color: var(--st-alert, #8B3A22); }
.st-more > div .st-more-remove button small { color: color-mix(in srgb, var(--st-alert, #8B3A22) 70%, var(--muted)); }
.st-more-scrim { display: none; }

/* A computer: one line under the design's number, icon beside label. Hidden actions take no space, so on Original More stands
   alone at the left, and its menu opens from its left edge. */
@media (min-width: 64em) {
  .st-room .st-more > div { left: 0; right: auto; }
}
/* A phone and a tablet: four tiles of equal width, icon over label, between hairlines. Each action keeps its own place, so a
   hidden one leaves its place empty, with no divider beside it, and More is always fourth. */
@media (max-width: 63.99em) {
  .st-room .st-about-act { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: .55rem; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
  .st-about-act > #share-design { grid-area: 1 / 1; } .st-about-act > #fav { grid-area: 1 / 2; } .st-about-act > #save-image { grid-area: 1 / 3; } .st-about-act > #more-menu { grid-area: 1 / 4; }
  .st-about-act > :is(#fav, #save-image, #more-menu) { border-left: 1px solid var(--hair); }
  .st-about-act > [hidden] + :is(#fav, #save-image, #more-menu), body[data-sample="true"] .st-about-act > #fav + * { border-left: 0; }
  .st-act { flex-direction: column; justify-content: center; gap: .3rem; width: 100%; min-height: 4.2rem; padding: .35rem .2rem; font-size: var(--st-act); letter-spacing: .02em; text-align: center; }
  .st-act svg { width: 1.375rem; height: 1.375rem; }
  .st-act:hover span { text-decoration: none; }
  .st-act:active { background: color-mix(in srgb, var(--ink) 6%, transparent); }
  .st-act:focus-visible { outline-offset: -3px; }
  .st-more > summary.st-act { display: flex; height: 100%; }
}
/* A phone: More is a sheet from the bottom, over a light scrim, at most 85% of the screen's height, and it scrolls inside
   itself on a short screen or with larger text. The phone's Back button closes it (CFPhoneLayer, js/phone-layer.js). */
@media (max-width: 40em) {
  .st-room .st-more > div { position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: 61; width: auto; max-height: 85vh; max-height: 85svh; padding: .6rem 0 calc(1rem + env(safe-area-inset-bottom)); border-radius: 14px 14px 0 0; box-shadow: 0 -8px 30px rgba(18,22,32,.2); outline: 0; translate: none; }
  .st-room .st-more > div::before { content: ""; display: block; width: 2.5rem; height: 4px; margin: 0 auto .4rem; border-radius: 2px; background: color-mix(in srgb, var(--ink) 22%, transparent); }
  .st-more > div button { font-size: 1rem; padding-inline: 1.4rem; }
  .st-more-h { margin-inline: 1.4rem; }
  .st-more[open] + .st-more-scrim { display: block; position: fixed; inset: 0; z-index: 60; background: rgba(18,22,32,.28); }
}

/* After QA, 9:40am (November 29, 2026). */
/* The pencil's tooltip sits above it, so it never covers the heading under the title. */
@media (hover: hover) { .st-room-head .st-pencil[data-tip]:hover::after, .st-room-head .st-pencil[data-tip]:focus-visible::after { top: auto; bottom: calc(100% + .35rem); } }
/* Renaming keeps the header's height: the field is one line of the title's own height (set when it opens, with the form's
   height from the title's), and ✓ and ✕ keep their 44-pixel targets without adding height. */
body.studio[data-view] .st-rename-form input[type="text"] { box-sizing: border-box; padding: 0; }
.st-rename-line .st-round { margin-block: -.45rem; }
/* Both hints occupy the same grid cell. The longer one reserves the line before the switch changes. */
#strip { container-type: inline-size; }
.st-room .st-strip-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0 .75rem; min-height: 0; }
.st-strip-head #show-pieces { grid-column: 1; grid-row: 1; }
.st-strip-head #show-pieces:disabled { opacity: .45; }
.st-hint-slot { grid-column: 2; grid-row: 1; display: grid; min-width: 0; }
.st-hint-slot[hidden] { display: none; }
.st-hint-slot > * { grid-area: 1 / 1; align-self: center; font: inherit; line-height: 1.35; }
.st-hint-slot { font-family: var(--display); font-size: 1rem; }
.st-hint-slot > span { visibility: hidden; pointer-events: none; }
.st-strip-head #ver-favs { grid-column: 3; grid-row: 1; white-space: nowrap; }
.st-strip-head #version-status { grid-column: 1 / -1; }
@container (max-width: 33rem) {
  .st-strip-head:has(#ver-favs:not([hidden])) .st-hint-slot { grid-row: 2; grid-column: 1 / -1; }
}
@container (max-width: 24rem) {
  .st-strip-head .st-hint-slot { grid-row: 2; grid-column: 1 / -1; }
}
.st-more > div button small[hidden] { display: none; }
/* Show pieces keeps the same track, knob and label for every input. */
.st-strip-head #show-pieces.st-switch { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; margin: 0; padding: 0; border: 0; background: none; color: var(--ink); font-family: var(--display); font-size: .9375rem; font-weight: 400; line-height: 1; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st-switch[hidden] { display: none !important; }
.st-switch-track { position: relative; flex: none; width: 46px; height: 28px; border-radius: 14px; background: #7D776C; transition: background-color .15s; }
.st-switch-track i { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .15s; }
.st-switch[aria-checked="true"] .st-switch-track { background: var(--brass); }
.st-switch[aria-checked="true"] .st-switch-track i { transform: translateX(18px); }
.st-switch:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .st-switch-track, .st-switch-track i { transition: none; } }
/* Favorites only (decision 7): on a phone it steps aside while Pieces is on; wider, only while a card is open. A filter that is
   on stays on, and the link comes back as it was. */
@media (max-width: 640px) { #strip[data-pieces="true"] #ver-favs { visibility: hidden; } }
#strip[data-card="true"] #ver-favs { visibility: hidden; }
/* The tapped piece's card takes the timeline's place (decision 4). Both sit in one cell, so the space is the timeline's own
   height: the timeline is hidden but keeps its size and its scroll, and the card fills the space, centred. A taller card (a
   long name, a waiting change, very large text) makes the space taller rather than cutting anything off. */
.st-tl-slot { display: grid; grid-template-columns: minmax(0, 1fr); }
.st-tl-slot > .st-tl, .st-tl-slot > .st-piece-card { grid-area: 1 / 1; min-width: 0; }
#strip[data-card="true"] #timeline { visibility: hidden; }
/* The card is laid out to fit the timeline's height at 390 pixels with a two-line name: the kind in small sentence case, the
   name, the maker and finish, then Change and ✕. Its outline is drawn inside it, so it adds no height. */
.st-tl-slot > .st-piece-card { align-self: stretch; justify-self: start; width: 100%; max-width: 34rem; box-sizing: border-box; flex-wrap: nowrap; gap: .375rem; margin: 0; padding: .1875rem 0 .1875rem .75rem; border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--hair); }
.st-tl-slot > .st-piece-card[hidden] { display: none; }
.st-tl-slot > .st-piece-card .st-tag-kind { font-size: .75rem; line-height: 1.2; letter-spacing: 0; text-transform: none; color: var(--muted); }
.st-tl-slot > .st-piece-card p.st-tag-name { margin-top: 0; font-size: .875rem; line-height: 1.15; }
.st-tl-slot > .st-piece-card p.st-tag-sub { margin-top: 0; font-size: .75rem; line-height: 1.2; }
.st-tl-slot > .st-piece-card p.st-row-next { margin-top: .1rem; font-size: .75rem; line-height: 1.2; }
.st-tl-slot > .st-piece-card .st-tag-btn { min-height: 2.75rem; padding: .4rem .75rem; font-size: .8125rem; letter-spacing: .02em; text-transform: none; }
@media (max-width: 360px) { .st-tl-slot > .st-piece-card { gap: .25rem; padding-left: .625rem; } .st-tl-slot > .st-piece-card .st-tag-btn { padding-inline: .55rem; } }
.st-card-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st-card-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.st-card-x:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; border-radius: 8px; }
/* The tapped dot: brass with a white number and a white ring, which shows on dark and light parts of a picture alike. */
.st-dot:is([aria-pressed="true"], .st-row-hover) { background-color: var(--brass); background-clip: padding-box; color: #fff; }
.st-dot:is([aria-pressed="true"], .st-row-hover)::before { border: 2px solid #fff; }


#grp-pieces .st-row-act .st-store-button {display:inline-flex;min-height:44px;align-items:center;justify-content:center;}
.st-inline-tool {flex-direction:row;width:auto;min-height:44px;gap:.5rem;}
.st-inline-tool:hover {text-decoration:underline;}
#roomview-explore-go {display:grid;gap:.45rem;min-height:44px;text-align:left;background:transparent;border:0;padding:0;cursor:pointer;color:inherit;font:inherit;}
#roomview-explore-go:hover span:last-child {text-decoration:underline;}
.st-shop-view,.st-slot-next,.st-tray-show {min-height:44px;padding:.45rem .8rem;}
@media(max-width:44em){#grp-pieces .st-group-head:has(#shop-open){display:grid;grid-template-columns:1fr;}#shop-open{width:100%;}.st-shop-view{grid-column:2 / -1;justify-self:start;}}
@media print {body[data-print="list"] .st-shop-view {display:none!important;}}

.st-row-act .st-store-button {display:inline-flex;min-height:44px;align-items:center;justify-content:center;white-space:nowrap;}
@container (max-width:42rem) {
  .st-row-saves:has(.st-store-button) .st-row-text {padding-right:2.5rem;}
  .st-row-saves:has(.st-store-button) .st-row-act {flex-basis:100%;margin-top:0;padding-left:0;justify-content:flex-end;}
}

@media (max-width:40em) {
  .st-row .st-row-act {max-width:100%;min-width:0;}
  .st-row-act .st-row-btn {max-width:100%;white-space:normal;overflow-wrap:anywhere;}
  .st-wall-now {flex-wrap:wrap;}
  .st-wall-now > div,.st-step,.st-parts-wrap {min-width:0;}
  .st-wall-fire {max-width:100%;}
  .st-opts-row {grid-template-columns:repeat(auto-fill,minmax(min(100%,9.6rem),1fr));}
}

.st-row-saves .st-row-name {width:fit-content;}
@container (max-width:42rem) {
  #grp-pieces .st-row-saves:not([data-waiting=true]) .st-row-act:has(.st-store-button):has(.st-row-btn) {
    display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); width:100%; margin-top:0;
  }
  #grp-pieces .st-row-act:has(.st-store-button) > :is(.st-store-button,.st-row-btn) {
    min-width:0; padding-inline:.3rem; letter-spacing:.075em; font-size:.75rem;
  }
}

#tray {container-type:inline-size;}
@container (max-width:21rem) {
  #tray > .wrap {grid-template-columns:minmax(0,1fr);grid-template-areas:"moves" "say" "time" "show" "go";gap:.25rem;}
  #tray .st-design-time {grid-area:time;white-space:normal;}
  #tray :is(#tray-show,#go) {width:100%;min-width:0;white-space:normal;justify-self:stretch;}
}

.st-move-title,.st-fam-sub {min-width:0;overflow-wrap:anywhere;}

/* ---------- Change photo with a mouse, a pen or the keyboard (Jeff, November 30, 2026) ----------
   A dialog on the studio's pattern with the entrance's drop area in it. The drop area keeps the entrance's look and its
   dragged-over state. The photo card shows it will take a photo while one is dragged over it: a brass outline. */
.studio .st-changebox h2 { margin: 0 0 1.1rem; font-size: clamp(1.35rem, 2.4vw, 1.6rem); }
.st-changebox .st-change-drop { max-width: none; min-height: clamp(9rem, 22svh, 12rem); }
.st-changebox .st-drop-empty { flex-direction: column; gap: .7rem; }
.st-changebox .st-drop-empty p { margin: 0; }
.st-changebox .st-note { margin: .8rem 0 0; font-size: .95rem; }
.st-askbox p.st-change-cancel { margin: 1rem 0 0; text-align: right; }
#roomview[data-over="true"] .st-photocard { outline: 2px solid var(--brass); outline-offset: 2px; }
@media (max-width: 999px) { #roomview[data-over="true"] .st-photocard-pic { outline: 2px solid var(--brass); outline-offset: 2px; } }
/* The line after Change photo: under the photo card on a computer, under the pinned strip below 1000 px, in the style of
   "Your room in progress was kept.", not a warning. */
.st-roomview .st-photo-swapped { margin: 0; }
.st-roomview .st-photo-swapped[hidden] { display: none; }
@media (max-width: 999px) { .st-roomview .st-photo-swapped { order: 5; flex: 1 0 100%; margin: 0 0 .1rem; } }
/* The first look with a pointer (Jeff, November 30, 2026): the dots fade in, hold, and fade out by themselves. */
#hots[data-look="in"] .st-dot { animation: st-look-in .45s ease both; }
#hots[data-look="out"] .st-dot,
#ws:has(#hots[data-look="out"]) #pieces[data-numbered="true"] .st-row-num {
  opacity: 0; animation: st-look-out .45s ease both;
}
@keyframes st-look-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes st-look-in { from { opacity: 0; } to { opacity: 1; } }

/* The Room Studio entrance and library share one screen. The left and right
   columns share the picture's bottom grid line, including on a short laptop. */
body[data-view="rooms"] :is(.area-row, .setup-only, #kept, #draft-example, [data-for="setup"] > .st-steps, #tray),
body[data-view="loading"]:has(#opening:is([data-arrive="new"], [data-arrive="back"])) .area-row,
body[data-view="setup"] :is(.rooms-left > .st-photo-main, #draft-card, #entrance, .rooms-library),
.rooms-layout.has-rooms .lede,
.rooms-layout.has-rooms #photo-tips,
.rooms-layout:has(#draft-card:not([hidden])) .st-photo-main,
#entrance.has-featured > :is(.sample-frame,.st-entrance-cap),
#entrance #featured-room[hidden] { display: none; }
.rooms-layout:has(.st-photo-main) .st-intro:not([data-compact="true"]) h1 em { display: block; }
body[data-view="rooms"] .rooms-layout, #opening .rooms-layout {
  width: var(--rooms-width, min(calc(100% - 2 * var(--gutter)), var(--wrap)));
  margin: 0 auto; padding-block: clamp(1rem, 2.3vw, 2rem) 1rem;
}
body[data-view="rooms"] .rooms-left .wrap, #opening .rooms-left .wrap { width: 100%; padding-inline: 0; }
body[data-view="rooms"] .rooms-layout .st-intro, #opening .st-intro { padding: 0 0 1rem; }
body[data-view="rooms"] .rooms-layout .st-intro h1, #opening .st-intro h1 { font-size: clamp(2.05rem, 3.1vw, 3.15rem); line-height: 1.05; }
body[data-view="rooms"] .rooms-layout .st-intro h1 em { display: block; }
body[data-view="rooms"] .rooms-layout .st-intro .lede { margin-top: .75rem; }
.rooms-layout .st-entrance { padding: 0; min-width: 0; }
.rooms-layout .st-drop { max-width: none; }
.rooms-layout .st-drop-empty { flex-direction: column; gap: .6rem; }
.rooms-layout .st-drop-empty .st-label { margin: 0 0 .4rem; }
.rooms-layout #tips-line { padding: 0 1rem; max-width: 30rem; text-align: center; align-self: end; margin: 0 auto .9rem; }
.rooms-layout .st-drop:has(#tips-line) { grid-template-rows: 1fr auto; }
.rooms-layout .st-drop-say { display: block; }
.rooms-draft { display: flex; align-items: center; flex-direction: column; justify-content: center; gap: .6rem; padding: 1rem; border: 1px dashed var(--brass-line); }
.rooms-draft[hidden] { display: none; }
.rooms-draft img { max-width: 60%; max-height: 9rem; object-fit: contain; order: 1; }
.rooms-draft button { order: 2; }
.draft-label small { display: none; }
#featured-picture { display: block; width: 100%; border: 0; background: var(--paper-2); cursor: pointer; padding: 0; }
#featured-image { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.featured-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem 1rem; padding-top: .65rem; }
.featured-caption b, .featured-caption .cap { display: block; }
.featured-caption b { font: 400 1.05rem/1.35 var(--display); }
.featured-caption .st-btn { flex: none; }
.rooms-library { padding-bottom: 2rem; }

.st-rooms-types[data-loading="true"], .st-rooms-types[data-single="true"] { visibility: hidden; }
@media (min-width: 900px) {
  body[data-view="rooms"] .rooms-layout, #opening .rooms-layout {
    display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); grid-template-rows: auto 1fr auto;
    column-gap: clamp(1.75rem, 3vw, 3rem);
  }
  .rooms-left, .rooms-layout .st-entrance { display: grid; grid-row: 1 / 4; grid-template-rows: subgrid; }
  body[data-view="setup"] .rooms-left { display: block; }
  .rooms-left { grid-column: 1; }
  .rooms-layout .st-entrance { grid-column: 2; }
  .rooms-layout .st-photo-main, #featured-room:not([hidden]) { display: contents; }
  .rooms-layout .st-intro, .rooms-heading { grid-row: 1; }
  .rooms-left :is(.st-drop, .rooms-draft) { grid-row: 2; }
  .rooms-layout :is(.sample-frame, #featured-picture, #chosen-example, .st-entrance > .st-cmp) { grid-row: 1 / 3; align-self: end; }
  .rooms-layout :is(.upload-notes, .st-entrance-cap, .featured-caption) { grid-row: 3; }
  .rooms-layout #photo-tips { display: none; }
  #opening .st-entrance-cap { padding-top: .5rem; }
}
@media (min-width: 900px) and (max-height: 720px) {
  body[data-view="rooms"] .rooms-layout, #opening .rooms-layout { --rooms-width: min(calc(100% - 2 * var(--gutter)), calc((100svh - 10rem) * 2.57)); padding-block: .9rem .4rem; }
  .rooms-layout .sample-frame .st-entrance-pic { width: 100%; max-height: calc(100svh - 16rem); }
}
@media (max-width: 899px) {
  .rooms-layout .st-entrance { margin-top: 1.1rem; }
  .featured-caption { align-items: stretch; flex-direction: column; }
  .rooms-draft { display: grid; grid-template-columns: auto 1fr; border: 0; padding: 0; }
  .rooms-draft img { grid-column: 1; grid-row: 1; max-width: 5.5rem; max-height: 5rem; }
  .draft-label { grid-column: 2; }
  .draft-label small { display: block; }
  .rooms-draft button { grid-column: 1 / -1; }
  .rooms-draft .st-link { justify-self: start; }
}
@media (hover: none) and (pointer: coarse) {
  .rooms-layout #tips-line { display: none; }
  .rooms-layout .st-drop-empty, .rooms-layout #photo-choose { width: 100%; }
  .rooms-layout .st-drop[data-state="empty"] .st-drop-empty { padding: 0; align-items: flex-start; }
  .rooms-layout #photo-choose { justify-content: center; }
}
/* Size the filter row before the full library supplies its types. The first
   row of cards and the search field keep their positions as the pills arrive. */
@media (min-width: 721px) {
  #rooms-tools:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr); }
  #rooms-types { min-height: 2.75rem; align-content: start; }
}
@media (min-width: 721px) and (max-width: 999px) {
  .st-rooms-types[data-loading="true"] #rooms-types { min-height: 6rem; }
}
@media (min-width: 1300px) {
  #rooms-tools:not([hidden]) { grid-template-columns: minmax(0, 1fr) minmax(0, 3.1fr); }
}
@media (hover: none) and (pointer: coarse) {
  .rooms-layout:not(.has-rooms) #photo-tips { display: block; }
  .rooms-layout #photo-tips .st-tips-label, .rooms-layout #photo-tips[data-open="false"] .st-tips { display: none; }
  .rooms-layout #photo-tips .st-tips-toggle { display: inline-flex; }
}
@media (max-width: 720px) {
  #rooms-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  #rooms-tools[hidden] { display: none; }
  #rooms-tools :is(input,select,.st-swap-search) { min-width: 0; width: 100%; }
  #rooms-tools .st-label { white-space: nowrap; }
  #rooms-tools .rooms-search-detail { display: none; }
  #rooms-q { padding-inline: .65rem; }
  #rooms-q:placeholder-shown::-webkit-search-cancel-button { display: none; }
  #rooms-type-menu { padding-inline: .65rem 1.55rem; background-position: right .5rem center; }
}
@media (max-width: 380px) {
  #rooms-tools { grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); column-gap: .25rem; }
  #rooms-q { padding-inline: .45rem; }
  #rooms-type-menu { padding-inline: .5rem 1.05rem; background-position: right .35rem center; background-size: .65rem auto; }
}

body[data-view=rooms] .rooms-layout.has-rooms .st-intro .lede { display: none; }

#opening .rooms-layout .st-entrance :is(.st-entrance-sample,.st-entrance-head) { visibility: hidden; }
#opening[data-sample="true"] .rooms-layout .st-entrance .st-entrance-sample,
#opening[data-sample="true"][data-rooms="false"] .rooms-layout .st-entrance .st-entrance-head { visibility: visible; }
#opening:is([data-rooms="true"],[data-sample="false"]) :is(.st-entrance-sample,.st-entrance-head),
#opening[data-rooms="true"] .lede { display: none; }
#opening:is([data-arrive="kept"],[data-arrive="room"]) .rooms-layout { display: block; }
#opening:is([data-arrive="kept"],[data-arrive="room"]) :is(.rooms-left,.st-photo-main) { display: block; }
#opening .opening-notes, #opening .opening-label, #opening .st-drop-say { visibility: hidden; }
#opening .st-intro .lede { margin-top: .75rem; }
#opening:not([data-rooms="true"]) .opening-label,
#opening:is([data-signed="true"],[data-rooms="true"]) .opening-notes .st-free,
#opening[data-rooms="true"] .opening-notes .st-tips-box,
#opening:is([data-rooms="true"],[data-sample="false"]) .opening-notes .st-sample-line,
#opening:is([data-arrive="kept"],[data-arrive="room"]) :is(.opening-notes,.opening-label,.st-drop-say) { display: none; }
@media (min-width: 900px) { #opening .opening-notes .st-tips-box { display: none; } }
@media (max-width: 899px) { #opening .opening-notes .st-sample-line { display: none; } }
@media (hover: none) and (pointer: coarse) {
  #opening:not([data-rooms="true"]) .opening-notes .st-tips-box { display: block; }
  #opening .opening-notes .st-tips-toggle { display: inline-flex; }
  #opening:is([data-arrive="new"],[data-arrive="back"]) .st-opening-say { min-height: 2.85rem; }
}


#drop:has(#photo:focus-visible) #photo-choose { outline: 2px solid var(--brass); outline-offset: 3px; }

#rooms-h[data-unsettled] { visibility: hidden; }

/* When a personal picture is on its way, its caption reserves the final height.
   The sample photo stays in the picture's place until the design is decoded. */
#entrance:has(#featured-room:not([hidden])):not(.has-featured) :is(#featured-picture, .st-entrance-cap, #entrance-sample, #entrance-head) { display: none; }
#entrance:not(.has-featured) .featured-caption { visibility: hidden; }
#entrance:has(#featured-room:not([hidden])) .st-entrance-pic { max-height: none; }
@media (max-width: 899px) {
  #entrance:has(#featured-room:not([hidden])):not(.has-featured) { display: flex; flex-direction: column; }
  #entrance:not(.has-featured) .sample-frame { order: -1; }
}
