/* Show Case: the dealer's page (/tools/show-case/). The shell's own screens, and the shared pieces every view uses.
   Silverpress only (site.css tokens: --stock, --ink, --line ...), both stocks. Every press target is at least 48 px;
   nothing moves under prefers-reduced-motion. Views that are not the shell's keep their own rules in their own sheets,
   under their own prefixes (.sca- add, .scf- floor), and use these pieces as they are.

   THE SHARED PIECES (how to use each)
   .sc-page      A view's frame. <div class="sc-page"> holding a .sc-bar and the view. Centred, with the site's gutter.
                 .sc-page--wide for a view that wants the full 1320 px (the case and its list side by side).
   .sc-bar       A view's top bar: app.js bar(ctx, title, ...actions) makes it: Back, a small title, actions on the right.
                 Sticky under the top of the screen. Put .btn.btn--small or .sc-link buttons in its actions.
   .sc-h         A view's heading (Corben). .sc-lede the plain line under it. .sc-label a small caps label.
   .sc-step      One question of a guided start: .sc-step__n ("Step 2 of 7" and its line: set data-at and data-of on it),
                 .sc-step__h (the question, takes the focus), .sc-step__p (one plain line), then the answer, then
                 .sc-step__foot (Back and Next; pinned to the foot of the screen on a phone).
   .sc-tiles     A grid of big choices. .sc-tile is a <button> with an <svg> (48 x 48 viewBox, stroked), a <b> label and
                 a <span> line; aria-pressed="true" marks the chosen one (an ink edge and a teal check tab, never the
                 color alone). .sc-tiles--1 one column, .sc-tiles--3 three on a computer.
   .sc-chips     A short row of one-word choices: <button class="sc-chip" aria-pressed>. Wraps.
   .sc-seg       A segmented choice: <div class="sc-seg" role="group" aria-label="..."> of <button aria-pressed>. Equal
                 widths, one row; .sc-seg--wrap lets it wrap on a phone.
   .sc-field     A labelled input: <div class="sc-field"><label for>...</label><input><p class="sc-hint"></p></div>.
                 Big type, 52 px tall. .sc-field--row puts the label beside a short input.
   .sc-money     A price input with a big-number feel: <div class="sc-money"><span aria-hidden>$</span><input
                 inputmode="decimal"></div> inside a .sc-field. Corben, large; the $ never moves.
   .sc-num       A stepper: <div class="sc-num"><button>-</button><output>10</output><button>+</button></div>.
   .sc-sheet     ctx.sheet() makes it: a panel from the bottom on a phone, a centred dialog on a computer. Put your
                 content in it as it is; .sc-acts at its end for its buttons.
   .sc-toast     ctx.toast() makes it, in #sc-toasts at the foot of the screen.
   .sc-empty     A calm empty state: a heading (.sc-h or h2), a line, .sc-acts. .sc-empty--page fills a view.
   .sc-list      A list of rows: <ul class="sc-list"><li class="sc-row">: .sc-row__pic (a 5:7 thumb, square corners),
                 .sc-row__main (.sc-row__t title, .sc-row__s second line), .sc-row__end (a price or a button).
                 A row that is a button: <button class="sc-row sc-row--btn">. 56 px tall at least.
   .sc-acts      A row of buttons with the site's spacing. .sc-acts--end right-aligned, .sc-acts--full full width on a phone.
   .sc-link      A text button that looks like the site's text links (uppercase, underlined), 48 px tall.
   .sc-note      A status line under an action ("Savingâ€¦", "Saved."). role="status" on it.
   .sc-danger    A button that removes something: ink on a red-free warning edge (the site has no red: it is said in words).
   .sc-pill      A small state tag: "Published", "Not published", "Sold". .sc-pill--on teal dot.
*/

/* ---------- who sees what (app.js sets data-who: wait, out, free (the account couldn't be read), max, slab (the app
   on Free or Collectors: slab cases only)) ---------- */
.sc-app, .sc-wait, .sc-cta__trouble { display: none; }
.sc[data-who="max"] .sc-app, .sc[data-who="slab"] .sc-app { display: block; }
.sc[data-who="max"] .sc-intro, .sc[data-who="slab"] .sc-intro { display: none; }
[data-acct="in"] .sc[data-who="wait"] .sc-intro { display: none; }
[data-acct="in"] .sc[data-who="wait"] .sc-wait { display: block; }
.sc:not([data-who="free"]) .sc-if-free, .sc[data-who="free"] .sc-if-out { display: none !important; }
.sc[data-trouble] .sc-cta__trouble { display: block; }
.sc[data-trouble] p.sc-if-free { display: none !important; }
.sc-wait { padding: 18vh var(--gut); text-align: center; color: var(--ink-3); }
.sc-offline:has(+ .sc-app[data-view="floor"]) { display: none; }      /* show mode says it in its own words */
.sc-offline { margin: 0; padding: 12px var(--gut); background: var(--stock-3); border-bottom: 1px solid var(--line-2); color: var(--ink); font-weight: 600; line-height: 1.4; text-align: center; }

/* ---------- shared sizes ---------- */
.sc { --sc-gut: var(--gut); --sc-r: 12px; --sc-edge: var(--line-2); --sc-table: var(--stock-3); --sc-table-hi: #232C31; }
:root[data-theme="light"] .sc { --sc-table: #D6DBDA; --sc-table-hi: #F7F8F8; }
.sc .btn { min-height: 48px; }
.sc .btn--small { min-height: 48px; }
.sc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 22px; }
.sc-acts--end { justify-content: flex-end; }
@media (max-width: 760px) { .sc-acts--full > .btn { flex: 1 1 auto; } }
.sc-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; min-width: 48px; padding: 0 2px; border: 0; background: none; color: var(--ink); font: 800 .74rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; cursor: pointer; }
.sc-link:hover { text-decoration-thickness: 2.5px; }
.sc-note { margin: 10px 0 0; min-height: 1.4em; font-weight: 600; color: var(--ink-2); }
.sc-hint { margin: 8px 0 0; color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
.sc-label { font: 800 .72rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.sc-danger { background: var(--stock); color: var(--ink); border-style: dashed; box-shadow: 4px 4px 0 var(--btn-shade-2); }
.sc-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1.5px solid var(--line-2); border-radius: 99px; font: 800 .64rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.sc-pill--on { color: var(--ink); border-color: var(--ink); }
.sc-pill--on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

/* ---------- a view ---------- */
.sc-app { min-height: 70vh; }
.sc-view { display: block; }
.sc-page { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--sc-gut) 64px; }
.sc-page--wide { max-width: 1320px; }
.sc-bar {
  position: sticky; top: 0; z-index: 12; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px;
  margin: 0 calc(-1 * var(--sc-gut)) 0; padding: 6px var(--sc-gut); background: var(--stock); border-bottom: 1px solid var(--line);
}
.sc-bar__back { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; min-width: 48px; padding: 0 12px 0 4px; border: 0; background: none; color: var(--ink); font: 800 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.sc-bar__arrow { width: 10px; height: 10px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 6px; }
.sc-bar__back:hover .sc-bar__arrow { transform: translateX(-2px) rotate(45deg); }
.sc-bar__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 .72rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.sc-bar__acts { display: flex; align-items: center; gap: 10px; }
.sc-bar--home { grid-template-columns: minmax(0, 1fr) auto; }
.sc-bar--home .sc-bar__back { display: none; }
.sc-h { font: 700 clamp(1.9rem, calc(1.2rem + 2vw), 2.7rem)/1.1 var(--display); letter-spacing: -.01em; margin: 26px 0 0; text-wrap: balance; outline: none; }
.sc-h:focus { outline: none; }
.sc-lede { margin: 10px 0 0; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.5; max-width: 38em; }
.sc-h2 { font: 700 1.4rem/1.2 var(--display); margin: 36px 0 0; outline: none; }
.sc-h3 { font: 700 1.15rem/1.25 var(--display); margin: 0; }

/* ---------- one question of a guided start ---------- */
.sc-step { max-width: 46rem; padding-bottom: 8px; }
.sc-step__n { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; font: 800 .72rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.sc-step__line { display: inline-flex; gap: 4px; }
.sc-step__line i { display: block; width: 18px; height: 3px; border-radius: 2px; background: var(--line-2); }
.sc-step__line i.is-done { background: var(--ink-3); }
.sc-step__line i.is-now { background: var(--teal); }
.sc-step__h { font: 700 clamp(1.9rem, calc(1.2rem + 2vw), 2.6rem)/1.12 var(--display); letter-spacing: -.01em; margin: 8px 0 0; text-wrap: balance; outline: none; }
.sc-step__h:focus { outline: none; }
.sc-step__p { margin: 10px 0 0; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.5; max-width: 34em; }
.sc-step__body { margin-top: 24px; }
.sc-step__foot {
  position: sticky; bottom: 0; z-index: 11; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 30px calc(-1 * var(--sc-gut)) 0; padding: 12px var(--sc-gut); padding-bottom: max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-2); background: var(--stock-2);
}
.sc-step__foot .btn { min-height: 52px; }
.sc-step__wait { flex: 1 1 0; min-width: 0; margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.3; text-align: right; }
.sc-step__next { min-width: 8.5rem; }
/* a narrow screen: the reason Next waits gets its own line above the two buttons, which keep their row */
@media (max-width: 760px) {
  .sc-step__foot { flex-wrap: wrap; row-gap: 8px; }
  .sc-step__wait { order: -1; flex: 1 0 100%; text-align: left; font-size: .9rem; }
  .sc-step__wait:empty { display: none; }
  .sc-step__foot > .sc-note { order: -1; flex: 1 0 100%; margin: 0; font-size: .9rem; }
  .sc-step__foot > .sc-note:empty { display: none; }
  .sc-step__foot > span:empty { display: none; }
}
.sc-step__next[disabled] { opacity: .45; }
.is-in { animation: sc-in .22s var(--ease-out) both; }
@keyframes sc-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- big choices ---------- */
.sc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sc-tiles--1 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .sc-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sc-tiles { grid-template-columns: minmax(0, 1fr); } }
.sc-tile {
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 3px 14px; align-items: center; width: 100%; height: 100%; min-height: 76px;
  padding: 14px 40px 14px 16px; border: 1.5px solid var(--line-2); border-radius: var(--sc-r); background: var(--stock); color: var(--ink); text-align: left; text-decoration: none; font: inherit; cursor: pointer;
}
.sc-tile--plain { grid-template-columns: minmax(0, 1fr); }
.sc-tile svg { grid-row: span 2; width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: miter; }
.sc-tile b { font: 700 1.0625rem/1.2 var(--display); align-self: end; }
.sc-tile > span { align-self: start; color: var(--ink-2); font-size: 1rem; line-height: 1.35; }
.sc-tile > b:only-of-type:last-child { grid-row: span 2; align-self: center; }
.sc-tile:hover { border-color: var(--ink); }
.sc-tile[aria-pressed="true"] { border: 2px solid var(--ink); padding: 13.5px 39.5px 13.5px 15.5px; }
.sc-tile[aria-pressed="true"]::after, .sc-swatch[aria-pressed="true"]::after {
  content: ""; position: absolute; top: -2px; right: -2px; width: 30px; height: 28px; border-radius: 0 11px 0 9px;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23080B0D' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.sc-tile--dash { border-style: dashed; }

.sc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--stock); color: var(--ink); font: 600 1rem/1.2 var(--sans); cursor: pointer; }
.sc-chip:hover { border-color: var(--ink); }
.sc-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--stock); }
.sc-chip[aria-pressed="true"]::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.3L13.5 4' fill='none' stroke='%2316A7B8' stroke-width='2.6'/%3E%3C/svg%3E") center / contain no-repeat; }

.sc-seg { display: flex; padding: 3px; gap: 3px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--stock); width: fit-content; max-width: 100%; }
.sc-seg--wrap { flex-wrap: wrap; }
.sc-seg > button { flex: 1 1 0; min-height: 48px; min-width: 48px; padding: 0 16px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font: 700 .95rem/1.2 var(--sans); cursor: pointer; white-space: nowrap; }
.sc-seg > button:hover { color: var(--ink); }
.sc-seg > button[aria-pressed="true"] { background: var(--ink); color: var(--stock); }
@media (max-width: 760px) { .sc-seg > button { min-height: 48px; } }

/* ---------- fields ---------- */
.sc-field { display: block; }
.sc-field + .sc-field { margin-top: 18px; }
.sc-field > label, .sc-legend { display: block; margin: 0 0 6px; font: 700 1rem/1.3 var(--sans); color: var(--ink); }
.sc input[type="text"], .sc input[type="url"], .sc input[type="number"], .sc input[type="search"], .sc input[type="tel"], .sc input[type="email"], .sc input:not([type]), .sc select, .sc textarea {
  min-height: 52px; padding: 12px 14px; font: 500 1.0625rem/1.35 var(--sans); border: 1.5px solid var(--line-2); border-radius: 9px; background-color: var(--stock);
}
.sc input:focus, .sc select:focus, .sc textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
/* a select keeps site.css's chevron (its picture changes with the theme): one, at the right, never repeated */
.sc select { padding-right: 2.4em; background-repeat: no-repeat; background-position: right .9em center; background-size: 12px 8px; }
.sc input[aria-invalid="true"] { border-style: dashed; border-color: var(--ink); }
.sc-field--row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sc-field--row > label { margin: 0; }
.sc-field--short input { max-width: 9rem; }
.sc-money { position: relative; display: flex; align-items: center; max-width: 16rem; }
.sc-money > span { position: absolute; left: 14px; font: 700 1.7rem/1 var(--display); color: var(--ink-3); pointer-events: none; }
.sc .sc-money input { min-height: 64px; padding-left: 40px; font: 700 1.9rem/1.1 var(--display); letter-spacing: -.01em; }
.sc-check { display: flex; align-items: center; gap: 12px; min-height: 48px; font: 600 1.0625rem/1.3 var(--sans); cursor: pointer; }
.sc-check input { width: 22px; height: 22px; accent-color: var(--teal); flex: none; }

.sc-num { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--stock); }
.sc-num > button { width: 48px; height: 48px; border: 0; background: none; color: var(--ink); font: 600 1.5rem/1 var(--sans); cursor: pointer; border-radius: 10px; }
.sc-num > button:hover { background: var(--stock-3); }
.sc-num > button[disabled] { opacity: .35; cursor: default; }
.sc-num > output { min-width: 3.2ch; text-align: center; font: 700 1.3rem/1 var(--display); }

/* ---------- the sheet ---------- */
.sc-locked, .sc-locked body { overflow: hidden; }
.sc-sheet { width: min(560px, calc(100vw - 32px)); max-height: min(86vh, 900px); margin: auto; padding: 0; border: 1.5px solid var(--line-2); border-radius: 16px; background: var(--stock); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); overflow: auto; overscroll-behavior: contain; }
.sc-sheet--wide { width: min(860px, calc(100vw - 32px)); }
.sc-sheet::backdrop { background: rgba(8, 11, 13, .62); }
.sc-sheet[open] { animation: sc-pop .2s var(--ease-out) both; }
@keyframes sc-pop { from { opacity: 0; transform: translateY(10px) scale(.99); } }
.sc-sheet__grip { display: none; }
.sc-sheet__top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 10px 22px; background: var(--stock); }
.sc-sheet__h { font: 700 1.4rem/1.2 var(--display); margin: 0; outline: none; text-wrap: balance; }
.sc-sheet__h:focus { outline: none; }
.sc-sheet__x { flex: none; display: grid; place-items: center; width: 48px; height: 48px; margin-left: auto; border: 0; border-radius: 50%; background: none; color: var(--ink); font: 400 1.9rem/1 var(--sans); cursor: pointer; }
.sc-sheet__x:hover { background: var(--stock-3); }
.sc-sheet__body { padding: 4px 22px 22px; }
.sc-sheet--ask .sc-sheet__body { padding-top: 0; }
.sc-ask__p { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.5; }
@media (max-width: 760px) {
  .sc-sheet { width: 100%; max-width: 100%; max-height: 88vh; max-height: 88dvh; margin: auto 0 0; border-radius: 18px 18px 0 0; border-width: 1.5px 0 0; }
  .sc-sheet[open] { animation-name: sc-rise; }
  @keyframes sc-rise { from { transform: translateY(40px); opacity: .4; } }
  .sc-sheet__grip { display: block; width: 44px; height: 5px; margin: 10px auto 0; border-radius: 3px; background: var(--line-2); }
  .sc-sheet__top { padding: 8px 8px 8px 18px; }
  .sc-sheet__body { padding: 4px 18px max(22px, env(safe-area-inset-bottom)); }
  .sc-ask .sc-acts { flex-direction: column-reverse; align-items: stretch; }
}

/* ---------- the toast ---------- */
.sc-toasts { position: fixed; left: 0; right: 0; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: grid; justify-items: center; pointer-events: none; padding: 0 12px; }
.sc-toast { pointer-events: auto; display: flex; align-items: center; gap: 6px 10px; max-width: min(560px, 100%); min-height: 56px; padding: 6px 6px 6px 18px; border-radius: 14px; background: var(--ink); color: var(--stock); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.sc-toast.is-in { animation: sc-in .22s var(--ease-out) both; }
.sc-toast.is-out { opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.sc-toast__t { margin: 0; font-weight: 600; line-height: 1.35; padding: 8px 0; }
.sc-toast__do { flex: none; min-height: 48px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--stock); font: 800 .76rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.sc-toast__x { flex: none; width: 48px; height: 48px; border: 0; border-radius: 10px; background: none; color: var(--stock); font: 400 1.5rem/1 var(--sans); cursor: pointer; opacity: .8; }
.sc-toast__do:hover, .sc-toast__x:hover { background: rgba(127, 127, 127, .22); }
.sc-toast :focus-visible { outline-color: var(--teal); }

/* ---------- empty states, lists ---------- */
.sc-empty { margin-top: 26px; padding: 30px 26px; border: 1.5px dashed var(--line-2); border-radius: 16px; }
.sc-empty--page { margin-top: 40px; padding: clamp(28px, 6vw, 60px); }
.sc-empty .sc-h { margin-top: 0; }
.sc-list { display: block; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sc-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; width: 100%; min-height: 56px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); text-align: left; font: inherit; }
.sc-row--btn { cursor: pointer; }
.sc-row--btn:hover { background: var(--stock-2); }
.sc-row__pic { width: 40px; aspect-ratio: 5 / 7; background: var(--stock-3); object-fit: cover; box-shadow: 0 0 0 1px var(--line-2); border-radius: 0; }
.sc-row__main { min-width: 0; }
.sc-row__t { display: block; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.sc-row__s { display: block; color: var(--ink-3); font-size: .9rem; line-height: 1.35; }
.sc-row__end { font: 700 1.1rem/1.2 var(--display); text-align: right; white-space: nowrap; }

/* =====================================================================================================================
   The page before the app: what Show Case is, the sample case, how it works.
   ===================================================================================================================== */
.sc-intro .crumbs { padding-top: 10px; }
.sc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 30px clamp(28px, 4vw, 60px); align-items: start; padding: 18px 0 10px; }
.sc-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-top: 12px; }
.sc-hero .lede { font-size: clamp(1.15rem, 1.7vw, 1.4rem); margin-top: 22px; color: var(--ink); }
.sc-hero__body { margin-top: 16px; color: var(--ink-2); max-width: 34em; }
.sc-cta { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.sc-cta__line { color: var(--ink-2); font-weight: 600; }
.sc-cta .sc-acts { margin-top: 16px; }
@media (max-width: 980px) { .sc-hero { grid-template-columns: minmax(0, 1fr); } }

/* the sample case */
.sc-demo { margin: 0; position: relative; }
.sc-demo__stage { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: radial-gradient(ellipse 70% 62% at 50% 45%, var(--sc-table-hi) 0%, var(--sc-table) 72%); box-shadow: 0 0 0 1px var(--line-2); touch-action: none; }
.sc-demo__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; }
.sc-demo__stage canvas:focus-visible { box-shadow: inset 0 0 0 3px var(--focus); }
/* a still of a case, until the 3D arrives (or in its place when it can't) */
.sc-demo__still { position: absolute; left: 9%; right: 9%; top: 16%; bottom: 16%; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, 1fr); gap: 4% 2.4%; padding: 3.6% 3.2%; border: 8px solid #2A3035; border-radius: 10px; background: #111517; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .08); transform: perspective(900px) rotateX(24deg); }
.sc-demo__still span { background: linear-gradient(160deg, #3A4247, #1D2428); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.sc-demo[data-live] .sc-demo__still { display: none; }
.sc-demo__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-top: 14px; }
.sc-demo__how { color: var(--ink-2); font-weight: 600; }
.sc-demo__kinds { display: flex; gap: 6px; margin-left: auto; }
.sc-demo__kinds .btn[aria-pressed="true"] { background: var(--ink); color: var(--stock); box-shadow: 4px 4px 0 var(--btn-shade-2); }
.sc-demo__kinds .btn[aria-pressed="false"] { box-shadow: none; }
.sc-demo__fine { flex-basis: 100%; color: var(--ink-3); font-size: .9rem; }
.sc-demo__sort { display: flex; align-items: center; gap: 10px; flex-basis: 100%; margin-top: 6px; }
.sc-demo__sort label { font: 800 .68rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.sc-demo__sort select { width: auto; min-height: 48px; }
.sc-demo__sort[hidden] { display: none; }
.sc-demo__list { margin-top: 10px; }
.sc-demo__list summary { display: inline-flex; align-items: center; min-height: 48px; cursor: pointer; font: 800 .74rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
.sc-demo__list .sc-list { margin-top: 6px; max-height: 420px; overflow: auto; }
.sc-demo__tag { display: block; color: var(--ink-3); font: 800 .6rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.sc-demo__pop { position: absolute; z-index: 3; left: 12px; bottom: 12px; max-width: calc(100% - 24px); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border-radius: 12px; background: var(--stock); box-shadow: 0 10px 30px rgba(0, 0, 0, .4), 0 0 0 1px var(--line-2); }
.sc-demo__pop b { display: block; font: 700 1rem/1.2 var(--display); }
.sc-demo__pop span { display: block; color: var(--ink-3); font-size: .85rem; }

.sc-how, .sc-at, .sc-faq { margin-top: clamp(56px, 8vw, 96px); max-width: 980px; }
.sc-how h2, .sc-at h2, .sc-faq h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 10px 0 22px; }
.sc-steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.sc-steps li { counter-increment: s; position: relative; padding: 70px 0 0; color: var(--ink-2); }
.sc-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 52px; height: 52px; border: 3px solid var(--ink); border-radius: 14px; font: 700 1.6rem/1 var(--display); color: var(--ink); }
.sc-steps b { display: block; color: var(--ink); font: 700 1.2rem/1.25 var(--display); margin-bottom: 6px; }
.sc-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.sc-feats li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.sc-feats b { color: var(--ink); }
@media (max-width: 760px) { .sc-steps, .sc-feats { grid-template-columns: minmax(0, 1fr); } .sc-steps li { padding: 0 0 0 68px; min-height: 56px; } }

/* =====================================================================================================================
   My cases (home.js)
   ===================================================================================================================== */
.sc-home__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; }
.sc-home__sum { margin: 10px 0 0; color: var(--ink-2); }
.sc-home__acts { display: flex; flex-wrap: wrap; gap: 12px; }
.sc-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; margin: 26px 0 0; padding: 0; list-style: none; }
.sc-case { position: relative; display: flex; flex-direction: column; border: 1.5px solid var(--line-2); border-radius: 16px; background: var(--stock); overflow: hidden; }
.sc-case:hover { border-color: var(--ink-3); }
.sc-case__pic { position: relative; display: block; aspect-ratio: 16 / 9; background: radial-gradient(ellipse 70% 62% at 50% 45%, var(--sc-table-hi) 0%, var(--sc-table) 72%); }
.sc-case__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-case__pic .sc-plan { position: absolute; inset: 8% 10%; width: 80%; height: 84%; }
.sc-cases > li { display: flex; }
.sc-cases > li > .sc-case { flex: 1; width: 100%; }
.sc-case__pub { position: absolute; left: 12px; top: 12px; background: var(--stock); }
.sc-case__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 6px; flex: 1; }
.sc-case__name { font: 700 1.3rem/1.2 var(--display); margin: 0; overflow-wrap: anywhere; }
.sc-case__open { display: flex; align-items: center; min-height: 48px; color: inherit; text-decoration: none; }
.sc-case__open::after { content: ""; position: absolute; inset: 0 0 auto; aspect-ratio: 16 / 9; }      /* the picture opens the case too */
.sc-case__open:focus-visible { outline: none; }
.sc-case:has(.sc-case__open:focus-visible) { box-shadow: 0 0 0 3px var(--focus); }
.sc-case__size { color: var(--ink-3); font-size: .9rem; }
.sc-case__saves, .sc-share__saves { margin: 4px 0 0; color: var(--ink); font-weight: 700; font-size: .92rem; }
.sc-case__saves::before, .sc-share__saves::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--teal); vertical-align: .12em; }
.sc-case__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0; }
.sc-case__nums div { padding: 8px 0 0; border-top: 1px solid var(--line); }
.sc-case__nums dt { font: 800 .6rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.sc-case__nums dd { margin: 2px 0 0; font: 700 1.3rem/1.1 var(--display); }
.sc-case__acts { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 4px 16px 10px; border-top: 1px solid var(--line); margin-top: 10px; }
.sc-case--new { align-items: center; justify-content: center; min-height: 240px; border-style: dashed; padding: 20px; text-align: center; background: none; color: var(--ink); font: inherit; cursor: pointer; }
.sc-case--new:hover { border-color: var(--ink); }
.sc-case--new b { display: block; font: 700 1.3rem/1.2 var(--display); margin-top: 12px; }
.sc-case--new span { display: block; color: var(--ink-2); margin-top: 4px; }
.sc-case--new svg { width: 48px; height: 48px; margin: 0 auto; fill: none; stroke: currentColor; stroke-width: 2; }
.sc-home__full { margin-top: 18px; color: var(--ink-2); }
/* slab cases: the one quiet line about the next plan (off Max), a case buyers can't open because of the plan, and the
   kind of case on the first question (Max) */
.sc-home__up { margin: 22px 0 0; font-size: .95rem; color: var(--ink-2); }
.sc-home__up .link { display: inline-flex; align-items: center; min-height: 48px; margin-left: 4px; }
.sc-case__over { margin: 6px 0 0; padding: 8px 10px; border-left: 3px solid var(--ink-3); background: var(--stock-3); color: var(--ink); font-size: .9rem; line-height: 1.4; }
.sc-kind { margin-top: 22px; }
.sc-tile[disabled] { opacity: .6; cursor: default; }
.sc-home__today { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 18px; padding: 14px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.sc-home__today p { margin: 0; color: var(--ink-2); }
.sc-home__today b { color: var(--ink); font: 700 1.2rem/1 var(--display); margin-right: 6px; }

/* a case drawn from above: the shell's own small picture of a layout (setup and the tiles) */
.sc-plan { display: block; width: 100%; height: auto; }
.sc-plan .frame { fill: #2A3035; }
.sc-plan .felt { fill: var(--sc-felt, #121619); }
.sc-plan .slot { fill: #D9DEDF; stroke: rgba(8, 11, 13, .55); stroke-width: .6; }
.sc-plan .slot.is-card { fill: #F2F4F3; }
.sc-plan .slot.is-over { fill: none; stroke: #F2F4F3; stroke-dasharray: 3 2; stroke-width: 1.2; }
.sc-plan .row-no { fill: #AEB6BC; font: 800 11px var(--sans); }
.sc-plan .over { fill: none; stroke: #F2F4F3; stroke-width: 2; stroke-dasharray: 6 4; }

/* =====================================================================================================================
   The guided setup (setup.js): one question beside the case taking shape
   ===================================================================================================================== */
.sc-setup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0 clamp(24px, 4vw, 56px); align-items: start; }
.sc-setup__q { min-width: 0; }
.sc-setup__see { position: sticky; top: 72px; margin-top: 26px; }
.sc-setup__stage { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: radial-gradient(ellipse 70% 62% at 50% 45%, var(--sc-table-hi) 0%, var(--sc-table) 72%); box-shadow: 0 0 0 1px var(--line-2); touch-action: none; }
.sc-setup__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sc-setup__stage .sc-plan { position: absolute; inset: 6%; width: 88%; height: 88%; }
.sc-setup__stage[data-3d] .sc-plan { display: none; }
.sc-setup__count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 14px 0 0; }
.sc-setup__count b { font: 700 2rem/1 var(--display); }
.sc-setup__count span { color: var(--ink-2); }
.sc-fit { margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid var(--ink); background: var(--stock-3); font-weight: 600; line-height: 1.45; }
.sc-fit--ok { border-left-color: var(--teal); }
.sc-fit p + p { margin-top: 6px; }
@media (max-width: 1099px) {
  .sc-setup { grid-template-columns: minmax(0, 1fr); }
  .sc-setup__see { order: -1; position: sticky; top: 61px; z-index: 5; margin: 0 calc(-1 * var(--sc-gut)); padding: 10px var(--sc-gut) 8px; background: var(--stock); border-bottom: 1px solid var(--line); }
  .sc-setup__stage { aspect-ratio: auto; height: min(26vh, 240px); height: min(26dvh, 240px); border-radius: 12px; }
  .sc-setup__count { margin-top: 8px; }
  .sc-setup__count b { font-size: 1.5rem; }
  .sc-setup__count span { font-size: .92rem; }
}

/* the measuring drawing */
.sc-measure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; margin-top: 24px; align-items: end; }
.sc-measure__art { grid-column: 1 / -1; padding: 14px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--stock-2); }
.sc-measure__art svg { display: block; width: 100%; height: auto; max-height: 260px; }
.sc-measure__art .case { fill: none; stroke: var(--ink-3); stroke-width: 6; }
.sc-measure__art .tray { fill: var(--stock-3); stroke: var(--ink-3); stroke-width: 1.5; }
.sc-measure__art .dim { stroke: var(--teal); stroke-width: 2.5; fill: none; }
.sc-measure__art .dim-t { fill: var(--ink); font: 700 15px var(--sans); }
.sc-measure__art .note-t { fill: var(--ink-2); font: 600 12px var(--sans); }
.sc-unit { margin-top: 18px; }
@media (max-width: 560px) { .sc-measure { grid-template-columns: minmax(0, 1fr); } }

/* the rows */
.sc-rows { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sc-rowed { padding: 14px 16px 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--stock); }
.sc-rowed.is-over { border-style: dashed; border-color: var(--ink); }
.sc-rowed__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.sc-rowed__n { font: 700 1.1rem/1.2 var(--display); margin: 0; }
.sc-rowed__fit { color: var(--ink-2); font-weight: 600; }
.sc-rowed__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 12px 16px; align-items: end; margin-top: 10px; }
.sc-rowed__grid select { width: 100%; }
.sc-rowed__opts { display: flex; flex-wrap: wrap; gap: 2px 22px; margin-top: 8px; }
.sc-rowed__acts { display: flex; flex-wrap: wrap; gap: 2px 18px; margin-top: 4px; }
.sc-rowed__say { margin: 10px 0 0; font-weight: 700; }
@media (max-width: 560px) { .sc-rowed__grid { grid-template-columns: minmax(0, 1fr); } }

/* steps that hand over to another view */
.sc-handed { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--stock-2); }
.sc-handed b { font: 700 1.6rem/1 var(--display); margin-right: 8px; }

/* =====================================================================================================================
   Make it yours (brand.js)
   ===================================================================================================================== */
.sc-brand { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 56px); align-items: start; }
.sc-brand__form { min-width: 0; }
.sc-brand__see { position: sticky; top: 72px; margin-top: 26px; }
.sc-brand__sec { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.sc-brand__sec > h2 { font: 700 1.25rem/1.25 var(--display); margin: 0 0 6px; }
.sc-brand__sec > p { color: var(--ink-2); margin: 0 0 14px; }
.sc-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sc-swatch { position: relative; display: grid; justify-items: center; gap: 6px; width: 84px; min-height: 48px; padding: 6px 4px 8px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--stock); color: var(--ink-2); font: 700 .78rem/1.2 var(--sans); text-align: center; cursor: pointer; }
.sc-swatch i { display: block; width: 40px; height: 28px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(127, 127, 127, .5); }
.sc-swatch:hover { border-color: var(--ink); }
.sc-swatch[aria-pressed="true"] { border: 2px solid var(--ink); color: var(--ink); padding: 5.5px 3.5px 7.5px; }
.sc-swatch--own input[type="color"] { width: 40px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: none; cursor: pointer; }
/* the fonts: Card Studio's font dropdown (studio/font-pick.js brings its own styles) */
.sc-fonts { max-width: 420px; }
.sc-logo { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.sc-logo__pic { display: grid; place-items: center; width: 120px; height: 72px; padding: 6px; border: 1.5px dashed var(--line-2); border-radius: 12px; background: var(--stock-2); color: var(--ink-3); font-size: .85rem; }
.sc-logo__pic img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sc-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sc-logo__pic--card { width: 168px; height: 100px; }
/* how buyers reach you: the nine ways, two to a row on a wide form */
.sc-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.sc-ways .sc-field + .sc-field { margin-top: 0; }
.sc-way .sc-hint { font-size: .92rem; margin-top: 6px; }
.sc-way__got:empty { margin: 0; }
.sc-way__got { margin: 6px 0 0; font-size: .95rem; line-height: 1.4; color: var(--ink-2); overflow-wrap: anywhere; }
.sc-way__got b { color: var(--ink); }
.sc-way__to { color: var(--ink-3); }
.sc-way__no { color: var(--ink); font-weight: 600; }
@media (max-width: 1240px) and (min-width: 1100px), (max-width: 620px) { .sc-ways { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1099px) {
  .sc-brand { grid-template-columns: minmax(0, 1fr); }
  .sc-brand__see { order: -1; position: static; margin-top: 22px; }
  .sc-brand__form > .sc-brand__sec:first-child { margin-top: 22px; }
}

/* the buyer's page header, as the buyer will see it (brand-apply.js sets the variables on .sc-look) */
.sc-look { --sc-accent: #16A7B8; --sc-on-accent: #080B0D; --sc-bg: #080B0D; --sc-bg-ink: #F2F4F3; --sc-bg-ink-2: #C7CDD1;
  --sc-font-head: var(--display); --sc-font-head-w: 700; --sc-font-body: var(--sans); --sc-font-body-w: 600;
  position: relative; border-radius: 18px; overflow: hidden; background: var(--sc-bg); background-image: var(--sc-bg-img, none); background-size: cover; background-position: center; color: var(--sc-bg-ink); box-shadow: 0 0 0 1px var(--line-2); }
.sc-look__head { display: flex; align-items: center; gap: 14px; padding: 18px 18px 12px; }
.sc-look__logo { flex: none; display: grid; place-items: center; width: 64px; height: 48px; }
.sc-look__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sc-look__logo:empty { display: none; }
.sc-look__who { min-width: 0; }
.sc-look__name { font-family: var(--sc-font-head); font-weight: var(--sc-font-head-w); font-size: 1.6rem; line-height: 1.1; margin: 0; overflow-wrap: anywhere; }
.sc-look__tag { margin: 4px 0 0; font-family: var(--sc-font-body); font-weight: var(--sc-font-body-w); color: var(--sc-bg-ink-2); font-size: .95rem; }
.sc-look__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 0 18px 14px; font: 700 .8rem/1.2 var(--sans); color: var(--sc-bg-ink-2); }
.sc-look__btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 99px; background: var(--sc-accent); color: var(--sc-on-accent); font: 800 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.sc-look__case { position: relative; aspect-ratio: 16 / 10; margin: 0 12px; border-radius: 12px; overflow: hidden; }
.sc-look__case canvas, .sc-look__case .sc-plan { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-look__card { display: flex; align-items: center; gap: 12px; margin: 12px; padding: 10px; border-radius: 12px; background: rgba(8, 11, 13, .55); color: #F2F4F3; backdrop-filter: blur(4px); }
.sc-look__card img { width: 44px; aspect-ratio: 5 / 7; object-fit: cover; border-radius: 0; }
.sc-look__card b { display: block; font-family: var(--sc-font-body); font-weight: var(--sc-font-body-w); }
.sc-look__card span { font-family: var(--sc-font-head); font-weight: var(--sc-font-head-w); font-size: 1.35rem; color: var(--sc-accent-text, #F2F4F3); }
.sc-look__reach { margin: 0 12px 6px; padding: 12px 14px; border-radius: 12px; background: rgba(127, 127, 127, .14); }
.sc-look__reach-h { margin: 0 0 8px; font-family: var(--sc-font-head); font-weight: var(--sc-font-head-w); font-size: 1.1rem; overflow-wrap: anywhere; }
.sc-look__reach-in { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.sc-look__ways { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; min-width: 0; font: 600 .85rem/1.35 var(--sans); }
.sc-look__ways b { display: inline-block; min-width: 6.4em; margin-right: 8px; color: var(--sc-bg-ink-2); font-weight: 700; }
.sc-look__ways span { color: var(--sc-accent-text, var(--sc-bg-ink)); overflow-wrap: anywhere; }
.sc-look__bcard { flex: none; width: 92px; }
.sc-look__bcard img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.sc-look__foot { margin: 0; padding: 8px 18px 16px; font: 600 .78rem/1.3 var(--sans); color: var(--sc-bg-ink-2); }

/* =====================================================================================================================
   Share and print (share.js)
   ===================================================================================================================== */
.sc-share { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 0 clamp(24px, 4vw, 56px); align-items: start; }
.sc-share__sec { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.sc-share__sec:first-child { border-top: 0; }
.sc-share__qr { margin-top: 30px; }
.sc-share__qr .sc-qr { margin-top: 0; }
.sc-share__sec > h2 { font: 700 1.3rem/1.25 var(--display); margin: 0 0 6px; }
.sc-share__sec > p { color: var(--ink-2); margin: 0; }
.sc-addr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--stock-2); }
.sc-addr a { display: inline-flex; align-items: center; min-height: 48px; font: 700 1.05rem/1.3 var(--sans); overflow-wrap: anywhere; min-width: 0; }
.sc-qr { margin-top: 26px; padding: 22px; border-radius: 18px; background: #FFFFFF; color: #080B0D; display: grid; justify-items: center; gap: 10px; box-shadow: 0 0 0 1px var(--line-2); }
.sc-qr svg { width: min(100%, 300px); height: auto; }
.sc-qr p { margin: 0; font: 800 .7rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #2A3237; text-align: center; }
.sc-signs { display: grid; gap: 10px; margin-top: 16px; }
.sc-pub { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 14px; }
@media (max-width: 1099px) { .sc-share { grid-template-columns: minmax(0, 1fr); } .sc-share__qr { order: -1; } }

/* the sign itself: on the screen as a small preview, on paper as the only thing printed */
.sc-print { display: none; }
@media print {
  @page { margin: 0; }
  html.sc-printing body > *:not(.sc-print) { display: none !important; }
  html.sc-printing, html.sc-printing body { background: #fff !important; color: #000 !important; }
  html.sc-printing .sc-print { display: block !important; }
  html.sc-printing .field { display: none !important; }
}
.sc-print, .sc-print * { box-sizing: border-box; color: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.sc-sheetp { position: relative; width: 8.5in; height: 11in; overflow: hidden; background: #fff; break-after: page; page-break-after: always; font-family: "Montserrat", "Montserrat Fallback", Arial, sans-serif; }
.sc-sheetp:last-child { break-after: auto; page-break-after: auto; }
.sc-sign { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #fff; }
.sc-sign__logo { display: block; max-width: 60%; object-fit: contain; }
.sc-sign__name { margin: 0; font-family: var(--sc-font-head, "Corben", "Corben Fallback", Georgia, serif); font-weight: var(--sc-font-head-w, 700); line-height: 1.05; overflow-wrap: anywhere; }
.sc-sign__say { margin: 0; font-weight: 800; letter-spacing: .02em; line-height: 1.1; }
.sc-sign__qr { display: block; }
.sc-sign__addr { margin: 0; font-weight: 700; letter-spacing: .01em; overflow-wrap: anywhere; }
.sc-sign__by { margin: 0; font-weight: 600; color: #333 !important; }
/* a full letter page */
.sc-sign--letter { inset: .6in; border: 3px solid #000; border-radius: .25in; padding: .5in .45in; gap: .22in; }
.sc-sign--letter .sc-sign__logo { max-height: 1.3in; }
.sc-sign--letter .sc-sign__name { font-size: 40pt; }
.sc-sign--letter .sc-sign__say { font-size: 30pt; }
.sc-sign--letter .sc-sign__qr { width: 4.6in; height: 4.6in; }
.sc-sign--letter .sc-sign__addr { font-size: 15pt; }
.sc-sign--letter .sc-sign__by { font-size: 10pt; }
/* a tent: the top half printed upside down, so the page folded across the middle stands on the table */
.sc-sign--tent { left: .5in; right: .5in; height: 5in; padding: .3in .4in; gap: .1in; }
.sc-sign--tent.is-top { top: .25in; transform: rotate(180deg); }
.sc-sign--tent.is-bottom { bottom: .25in; }
.sc-sign--tent .sc-sign__logo { max-height: .65in; }
.sc-sign--tent .sc-sign__name { font-size: 22pt; }
.sc-sign--tent .sc-sign__say { font-size: 17pt; }
.sc-sign--tent .sc-sign__qr { width: 2.9in; height: 2.9in; }
.sc-sign--tent .sc-sign__addr { font-size: 10.5pt; }
.sc-sign--tent .sc-sign__by { font-size: 8pt; }
.sc-fold { position: absolute; left: .3in; right: .3in; top: 5.5in; border-top: 1px dashed #777; }
.sc-fold span { position: absolute; right: 0; top: -.17in; font-size: 7.5pt; font-weight: 600; color: #555 !important; }
/* stickers for the case itself: six to a page, with cut marks */
.sc-stickers { position: absolute; inset: .5in .5in; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
.sc-sign--sticker { position: relative; inset: auto; border: 1px dashed #999; padding: .14in; gap: .05in; }
.sc-sign--sticker .sc-sign__name { font-size: 12pt; }
.sc-sign--sticker .sc-sign__say { font-size: 10pt; }
.sc-sign--sticker .sc-sign__qr { width: 1.75in; height: 1.75in; }
.sc-sign--sticker .sc-sign__addr { font-size: 7.5pt; }
.sc-sign--sticker .sc-sign__logo { display: none; }
.sc-sign--sticker .sc-sign__by { display: none; }

/* the small previews of the three signs on the Share screen */
.sc-signs__pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sc-signs__pick .sc-tile { grid-template-columns: minmax(0, 1fr); justify-items: start; padding-right: 16px; }
.sc-signs__pick .sc-tile svg { grid-row: auto; width: 36px; height: 46px; }
@media (max-width: 560px) { .sc-signs__pick { grid-template-columns: minmax(0, 1fr); } .sc-signs__pick .sc-tile { grid-template-columns: 40px minmax(0, 1fr); } .sc-signs__pick .sc-tile svg { grid-row: span 2; } }

@media (prefers-reduced-motion: reduce) {
  .is-in, .sc-sheet[open], .sc-toast.is-in { animation: none; }
}
@media (max-width: 760px) { .sc { --sc-gut: 16px; } }
