/* Sleeve Studio, look B "clean and light" (owner's pick 2026-10-08, SLV-34): fog page, pine accent, three panes on a
   computer (textures, the sleeve on a dotted desk, settings), one quiet column on a phone. */
@font-face { font-family: "TeX Gyre Adventor"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/tex-gyre-adventor-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "TeX Gyre Adventor"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/tex-gyre-adventor-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Red Hat Text"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/red-hat-text-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Red Hat Text"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("assets/fonts/red-hat-text-latin-600-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --fog: #f1f4f2;
  --fog-2: #e5ebe7;
  --paper: #ffffff;
  --ink: #16211c;
  --moss: #55625c;
  --line: #dae2dd;
  --pine: #0d6a49;
  --pine-deep: #1c5a43;
  --mint: #dff2e9;
  --mint-2: #bde5d1;
  --warn: #a3341c;
  --warn-soft: #fbe9e4;
  --soft: 0 1px 2px rgba(22, 33, 28, 0.05), 0 14px 34px -16px rgba(22, 33, 28, 0.2);
  --face: "TeX Gyre Adventor", "URW Gothic", "Century Gothic", "Avant Garde", system-ui, sans-serif;
  --ui: "Red Hat Text", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--fog); }
body { margin: 0; color: var(--ink); font: 400 15px/1.5 var(--ui); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: 0.45; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }

.st { max-width: 1424px; margin: 0 auto; padding: 26px 28px 0; }
.st-head { display: flex; align-items: baseline; gap: 20px; padding: 0 6px 22px; }
.st-mark { font: 400 34px/1 var(--face); letter-spacing: -0.01em; }
.st-line { color: var(--moss); font-size: 16px; }
/* Where things stand, before anyone designs anything: not open yet, adults only, US only. */
.st-notice { margin-left: auto; padding: 7px 14px; border-radius: 99px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--pine-deep); font-size: 13.5px; font-weight: 600; }
.st-card { background: var(--paper); border-radius: 20px; box-shadow: var(--soft); }
.st-h { font: 400 27px/1.1 var(--face); letter-spacing: -0.015em; }
.st-hint { font-size: 13px; color: var(--moss); }
/* The four steps, in order: design, adjust, save, join. The number sits in a small pine disc before the heading. */
.st-h[data-step]::before {
  content: attr(data-step); display: inline-grid; place-items: center; width: 1.15em; height: 1.15em; margin-right: 0.4em;
  border-radius: 50%; background: var(--pine); color: #fff; font: 600 0.6em/1 var(--ui); vertical-align: 0.22em;
}
.st-error { margin: 0 6px 18px; padding: 12px 16px; border-radius: 12px; background: var(--warn-soft); color: #7c2412; }

/* ---------- three panes: textures, the sleeve, the settings ---------- */
.st-main {
  display: grid; grid-template-columns: 264px minmax(0, 1fr) 392px; gap: 22px 24px; align-items: start;
  grid-template-areas: "pick view inspect" "pick save inspect" "pick join inspect";
}
.st-build { display: contents; }
.st-stage { grid-area: view; }
.st-picker { grid-area: pick; }
.st-inspect { grid-area: inspect; }
.st-save { grid-area: save; }
.st-join { grid-area: join; }

/* the sleeve, on a dotted desk */
.st-stage { position: relative; isolation: isolate; min-width: 0; padding: 4px 6px 0; }
.st-stage::before {
  content: ""; position: absolute; inset: -10px -10px auto; height: 560px; z-index: -1; border-radius: 28px;
  background-image: radial-gradient(circle, #c5d0c9 1.1px, transparent 1.7px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 72% 66% at 50% 50%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 66% at 50% 50%, #000 35%, transparent 100%);
}
.st-name { display: inline; font: 700 30px/1.1 var(--face); letter-spacing: -0.01em; }
.st-badge {
  display: inline-block; margin-left: 10px; padding: 5px 11px; border-radius: 99px; vertical-align: 5px;
  background: var(--ink); color: #fff; font: 600 12.5px/1 var(--ui);
}
.st-desc { margin-top: 6px; max-width: 36em; color: var(--moss); }
.st-view { position: relative; height: clamp(300px, 42vh, 440px); margin: 6px 0 14px; }
.st-view canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none;
  filter: drop-shadow(0 30px 24px rgba(20, 60, 44, 0.22)) drop-shadow(0 3px 5px rgba(20, 60, 44, 0.12));
}
.st-view canvas:active { cursor: grabbing; }
.st-view.is-flying { border-radius: 20px; overflow: hidden; box-shadow: var(--soft); }
.st-view.is-flying canvas { filter: none; }
.st-view.is-flying .st-viewhint { right: 10px; bottom: 10px; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.9); color: var(--ink); }
.st-viewhint { position: absolute; right: 4px; bottom: 0; font-size: 12.5px; color: var(--moss); pointer-events: none; }
.st-view.is-flat .st-viewhint { display: none; }
.st-flat { position: absolute; inset: 20px 6px 30px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.st-flat svg { width: 100%; height: auto; filter: drop-shadow(0 16px 14px rgba(20, 60, 44, 0.18)); }
.st-flat p { color: var(--moss); font-size: 13.5px; }
.st-flat-body { fill: var(--mint-2); }
.st-flat-hole { fill: var(--pine); }

.st-tools { display: grid; gap: 12px; justify-items: start; }
.st-switches { display: flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 16px; background: var(--paper); box-shadow: var(--soft); }
.st-switch, .st-vreset {
  min-height: 44px; min-width: 84px; padding: 0 14px; border: 0; border-radius: 12px; background: none;
  font: 400 14.5px/1 var(--ui); color: var(--moss);
}
.st-switch[aria-pressed="true"] { background: var(--mint); color: var(--pine); font-weight: 600; }
.st-vreset { position: relative; margin-left: 10px; color: var(--ink); }
.st-vreset::before { content: ""; position: absolute; left: -6px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.st-colorrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.st-colorbox { display: flex; align-items: center; padding: 0 6px; border-radius: 16px; background: var(--paper); box-shadow: var(--soft); }
.st-colors { display: flex; align-items: center; }
.st-dot { width: 40px; height: 46px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.st-dot::before {
  content: ""; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--dot) 0 56%, var(--dot2) 56% 100%); box-shadow: inset 0 0 0 1px rgba(22, 33, 28, 0.14);
}
.st-dot[aria-checked="true"]::before { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.st-colorname { min-width: 66px; padding: 0 10px 0 8px; font-weight: 600; font-size: 14.5px; }
.st-colornote { flex: 1 1 230px; max-width: 31em; color: var(--moss); font-size: 13px; line-height: 1.45; }
.st-posnote { margin: 10px 0 0; max-width: 46em; color: var(--moss); font-size: 13px; line-height: 1.45; }

/* textures: a list, like the assets panel of a design tool */
.st-picker { padding: 18px 12px 12px; }
.st-picker .st-h { padding: 0 8px 10px; }
.st-tiles { display: grid; gap: 2px; }
.st-tile {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) 20px; align-items: center; gap: 12px; min-height: 49px;
  padding: 6px 8px; border: 0; border-radius: 12px; background: none; text-align: left;
}
.st-tex { display: block; width: 58px; height: 38px; object-fit: cover; border-radius: 8px; box-shadow: 0 0 0 1px rgba(22, 33, 28, 0.1); }
.st-tile-name { font-size: 15px; }
.st-tile::after {
  content: ""; justify-self: center; width: 7px; height: 12px; margin-top: -3px; border: solid transparent; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.st-tile:hover { background: var(--fog); }
.st-tile[aria-checked="true"] { background: var(--mint); }
.st-tile[aria-checked="true"] .st-tile-name { font-weight: 600; color: var(--pine); }
.st-tile[aria-checked="true"]::after { border-color: var(--pine); }

/* settings */
.st-inspect { padding: 22px 24px 24px; }
.st-opt { margin-bottom: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.st-sub { margin-bottom: 10px; font: 600 14px/1 var(--ui); color: var(--moss); }
.st-seg, .st-sizes {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; padding: 4px; border-radius: 14px; background: var(--fog-2);
}
.st-flips { margin-top: 8px; }
.st-seg button, .st-size {
  min-height: 44px; padding: 0 4px; border: 0; border-radius: 10px; background: none; font: 400 14.5px/1.15 var(--ui); color: var(--moss);
}
.st-seg button[aria-checked="true"], .st-size[aria-checked="true"] {
  background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(22, 33, 28, 0.1), 0 4px 10px -4px rgba(22, 33, 28, 0.22);
}
.st-size { display: grid; gap: 2px; padding: 6px 4px; }
.st-size-mm { font-size: 12px; font-weight: 400; color: var(--moss); }
.st-h-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.st-inspect > .st-h-row { margin-bottom: 20px; }
.st-h-btns { display: flex; gap: 8px; }
.st-random, .st-reset { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font: 400 14.5px/1 var(--ui); }
.st-random { border-color: var(--mint-2); background: var(--mint); color: var(--pine); font-weight: 600; }
.st-random:hover { background: var(--mint-2); }
.st-reset:hover { border-color: #b7c4bd; }
/* what the thing in hand does: the texture, or the slider you are on */
.st-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.st-note h3 { font: 600 14px/1.3 var(--ui); }
.st-note p { margin-top: 3px; color: var(--moss); font-size: 14px; }
.st-note .st-size-line { margin-top: 10px; font-size: 13px; }

/* ---------- sliders: one wide bar, the step names written on it, filled up to your pick ---------- */
.st-controls { display: grid; gap: 18px; margin-top: 14px; }
.st-ctl-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.st-ctl-head label { font-weight: 600; font-size: 15px; }
.st-level { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.st-track-wrap {
  --i: 0; --n: 5;
  position: relative; height: 48px; overflow: hidden; border-radius: 14px; background: var(--fog-2); user-select: none; -webkit-user-select: none;
}
.st-track-wrap:focus-within { outline: 2px solid var(--pine); outline-offset: 2px; }
.st-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc((var(--i) + 1) / var(--n) * 100%); background: var(--mint-2); transition: width 0.18s ease; }
.st-thumb {
  position: absolute; top: 4px; bottom: 4px; left: calc(var(--i) / var(--n) * 100% + 4px); width: calc(100% / var(--n) - 8px);
  border-radius: 10px; background: var(--pine); box-shadow: 0 6px 14px -6px rgba(13, 106, 73, 0.75); transition: left 0.18s ease, background 0.18s ease;
}
.st-ctl.is-extreme .st-thumb { background: var(--ink); box-shadow: 0 6px 14px -6px rgba(22, 33, 28, 0.7); }
.st-steps { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); align-items: center; pointer-events: none; }
.st-steps span { position: relative; text-align: center; font-size: 13.5px; line-height: 1; color: var(--moss); }
.st-steps span.is-on { color: var(--pine-deep); }
.st-steps span.is-cur { color: #fff; font-weight: 600; }
.st-steps span.is-stock::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; opacity: 0.6;
}
.st-track-wrap input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; touch-action: pan-y; }
.st-why { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--pine); }
.st-why.is-red { color: var(--warn); }

/* save: one calm bar under the sleeve */
.st-save {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; padding: 20px 24px 18px;
  grid-template-areas: "h h" "sum sum" "label label" "input go" "hint hint" "msg msg" "dl dl" "share share";
}
.st-save .st-h { grid-area: h; margin-bottom: 8px; }
.st-summary { grid-area: sum; margin-bottom: 14px; color: var(--ink); font-size: 14px; }
.st-save label { grid-area: label; margin-bottom: 6px; font-size: 13.5px; color: var(--moss); }
.st-save input[type="text"] {
  grid-area: input; width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--fog); font-size: 16px;
}
.st-save input[type="text"]::placeholder { color: #7d8a84; }
.st-save input[type="text"]:focus-visible { outline: 0; border-color: var(--pine); box-shadow: 0 0 0 3px var(--mint); background: var(--paper); }
.st-save input[aria-invalid="true"] { border-color: var(--warn); }
.st-save .st-hint { grid-area: hint; margin-top: 8px; }
.st-btn-main { grid-area: go; min-height: 50px; padding: 0 26px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font: 600 15.5px/1 var(--ui); }
.st-btn-main:hover { background: #24332c; }
/* Ordering is not open, so Join the list is the one strong button; Download is the quieter, outlined one. */
#st-download { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
#st-download:hover { background: var(--fog); }
#st-join-go { background: var(--pine); }
#st-join-go:hover { background: var(--pine-deep); }
.st-msg { grid-area: msg; min-height: 1.3em; margin-top: 6px; font-size: 13px; color: var(--moss); }
.st-msg.is-bad { color: var(--warn); }
.st-msg.is-ok { color: var(--pine); }
/* Download (GCS-146, Iris): a bar while the mandrel builds, then one big Save your zip button to tap. */
.st-dl { grid-area: dl; }
.st-progress { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.st-bar { flex: 1; height: 10px; border-radius: 99px; background: var(--fog-2); overflow: hidden; }
.st-bar span { display: block; height: 100%; width: 4%; border-radius: inherit; transition: width .5s linear;
  background: linear-gradient(90deg, var(--pine) 0 40%, #3a9b74 50%, var(--pine) 60% 100%) 0 0 / 300% 100%; animation: st-sheen 1.6s linear infinite; }
@keyframes st-sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
.st-elapsed { flex: none; min-width: 3.2em; text-align: right; font: 600 13px/1 var(--ui); color: var(--moss); font-variant-numeric: tabular-nums; }
.st-savezip { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; margin-top: 12px; border-radius: 14px;
  background: var(--pine); color: #fff; font: 600 17px/1 var(--ui); text-decoration: none; box-shadow: 0 10px 24px -12px rgba(13, 106, 73, .7); }
.st-savezip::before { content: ""; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 3h2v10.2l3.6-3.6 1.4 1.4-6 6-6-6 1.4-1.4 3.6 3.6z M4 19h16v2H4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 3h2v10.2l3.6-3.6 1.4 1.4-6 6-6-6 1.4-1.4 3.6 3.6z M4 19h16v2H4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.st-savezip:hover { background: var(--pine-deep); }
.st-savezip[hidden] { display: none; }
/* Share-a-design link (GCS-146): the link sits in plain view so it works where copying is blocked. */
.st-share { grid-area: share; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.st-share-row { display: flex; gap: 10px; }
.st-save .st-share input[type="text"] { flex: 1; min-width: 0; height: 46px; font-size: 14px; color: var(--moss); }
.st-share-row button { flex: none; min-height: 46px; padding: 0 18px; border: 1px solid var(--mint-2); border-radius: 12px; background: var(--mint); color: var(--pine); font: 600 14.5px/1 var(--ui); }
.st-share-row button:hover { border-color: var(--pine); }

/* Sections (GCS-146): Whole sleeve | 4 sections, then one tab per section with its design under the number. */
.st-secbox { margin: 0 0 16px; }
.st-sectabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.st-sectab { display: grid; gap: 2px; min-height: 52px; padding: 6px 4px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); font: 600 13px/1.15 var(--ui); color: var(--ink); text-align: center; }
.st-sectab[aria-checked="true"] { border-color: var(--pine); background: var(--mint); color: var(--pine-deep); }
.st-sectab-d { font-weight: 400; font-size: 12px; color: var(--moss); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-secbox .st-hint { margin-top: 8px; }
.st-tile:disabled { opacity: 0.35; cursor: not-allowed; }
.st-foot { padding: 24px 6px 26px; }
.st-guide { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 14px; font-size: 14px; color: var(--moss); }
.st-guide a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--pine-deep); font-weight: 600; text-decoration: none;
}
.st-guide a:hover { border-color: var(--pine); background: var(--mint); }
.st-guide a:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--mint-2); border-color: var(--pine); }
.st-ver { color: var(--moss); font-size: 13px; }

/* ---------- Join the list ---------- */
.st-join { padding: 24px 28px 20px; }
.st-join > .st-hint { margin-top: 8px; font-size: 14px; }
.st-join form { display: grid; gap: 16px; margin-top: 18px; }
.st-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-join-l { margin-bottom: -10px; font-size: 13.5px; color: var(--moss); }
.st-join input[type="email"] {
  width: 100%; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid #87958e; border-radius: 12px; background: var(--fog);
  font: 400 16px/1 var(--ui); color: var(--ink);
}
.st-join input[type="email"]:focus-visible { outline: 0; border-color: var(--pine); box-shadow: 0 0 0 3px var(--mint); background: var(--paper); }
.st-join input[aria-invalid] { border-color: var(--warn); }
.st-tick, .st-pick { display: flex; align-items: center; gap: 10px; min-height: 44px; line-height: 1.25; cursor: pointer; }
.st-tick[hidden] { display: none; }
.st-tick input, .st-pick input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--pine); }
.st-ask { min-width: 0; margin: 0; padding: 0; border: 0; }
.st-ask[hidden] { display: none; }
.st-ask legend { padding: 0; font: 600 14px/1.3 var(--ui); }
.st-price { margin-top: 4px; color: var(--pine); font-size: 14px; font-weight: 600; }
.st-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; margin-top: 4px; }
#st-maker, #st-intent { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.st-pick:has(input:disabled) { color: var(--moss); cursor: default; }
.st-more { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--pine-deep); }
.st-join .st-btn-main { grid-area: auto; justify-self: end; }
.st-join button:disabled { opacity: 0.6; }
.st-join .st-msg { grid-area: auto; margin-top: -8px; font-size: 14px; }
.st-join form.is-done > :not(.st-msg) { display: none; }
.st-join form.is-done .st-msg { margin-top: 0; font-size: 16px; font-weight: 600; }
/* After a removal the folded form goes, so the card no longer says you are on the list. */
.st-join form#st-join[hidden] { display: none; }
.st-removebox { margin-top: 20px; padding-top: 6px; border-top: 1px solid var(--line); }
.st-removebox > summary { min-height: 44px; font-size: 14px; line-height: 44px; color: var(--moss); cursor: pointer; }
.st-join form.st-remove { margin-top: 6px; gap: 10px; }
.st-remove .st-join-l { margin-bottom: 0; }
.st-remove-row { display: flex; gap: 10px; }
.st-remove-row button { flex: none; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font: 400 14.5px/1 var(--ui); }
.st-remove .st-msg { margin-top: 0; }

/* ---------- the one-sheet ---------- */
.sh { max-width: 860px; margin: 0 auto; padding: 36px 20px 0; }
.sh section { margin-top: 44px; }
.sh .st-mark { margin-top: 10px; line-height: 1.1; }
.sh .st-line { margin-top: 12px; max-width: 36em; }
.sh-notice { font-size: 13.5px; font-weight: 600; color: var(--pine); }
.sh-go { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.sh-go + .st-hint { margin-top: 12px; font-size: 14px; }
.sh-btn {
  display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--pine-deep); font-weight: 600; text-decoration: none;
}
.sh-btn:hover { border-color: var(--pine); background: var(--mint); }
.sh-btn-main { border-color: var(--ink); background: var(--ink); color: #fff; }
.sh-btn-main:hover { border-color: #24332c; background: #24332c; }
.sh-how { margin: 14px 0 0; padding-left: 22px; }
.sh-how li { margin-top: 8px; padding-left: 4px; }
.sh-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; align-items: stretch; margin-top: 16px; }
.sh-tiers + .sh-go { justify-content: flex-end; }
.sh-tier { padding: 22px 24px 24px; }
.sh-tier h3 { font: 400 21px/1.2 var(--face); }
.sh-tier p { margin-top: 10px; font-size: 14.5px; }
.sh-tier ul { margin: 4px 0 0; padding-left: 20px; font-size: 14.5px; }
.sh-tier .sh-price { margin-top: 6px; color: var(--pine); font-weight: 600; }
.sh-faq { margin: 14px 0 0; }
.sh-faq dt { margin-top: 16px; font-weight: 600; }
.sh-faq dd { margin: 2px 0 0; color: var(--moss); }
.sh .st-foot { padding-left: 0; padding-right: 0; }

/* ---------- phone and narrow: one quiet column (three panes need about 1280 px) ---------- */
@media (max-width: 1279px) {
  .st { max-width: 640px; padding: 20px 16px 0; }
  .st-head { display: block; padding: 0 0 20px; }
  .st-mark { font-size: 30px; }
  .st-line { margin-top: 6px; font-size: 15px; }
  .st-notice { display: inline-block; margin-top: 10px; padding: 5px 12px; font-size: 13px; }
  .st-main { display: block; }
  .st-main > * + * { margin-top: 32px; }
  .st-stage { padding: 0; }
  .st-stage::before { display: none; }
  .st-name { font-size: 26px; }
  .st-desc { font-size: 14.5px; }
  .st-view {
    height: clamp(230px, 62vw, 380px); margin: 14px 0 0; border-radius: 20px; box-shadow: var(--soft); overflow: hidden;
    background: radial-gradient(circle, #d3dcd6 1px, transparent 1.6px) 0 0 / 20px 20px, var(--paper);
  }
  .st-view canvas { filter: drop-shadow(0 16px 14px rgba(20, 60, 44, 0.22)) drop-shadow(0 2px 3px rgba(20, 60, 44, 0.12)); }
  .st-viewhint { right: 12px; bottom: 8px; }
  .st-tools { margin-top: 12px; justify-items: stretch; }
  .st-switches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 0; background: none; box-shadow: none; }
  .st-switch { min-width: 0; min-height: 46px; padding: 0 4px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
  .st-switch[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--mint-2); }
  .st-vreset {
    grid-column: 2 / -1; justify-self: end; min-width: 0; min-height: 46px; margin: 0; padding: 0 6px; text-decoration: underline;
    text-decoration-color: #b7c4bd; text-underline-offset: 4px;
  }
  .st-vreset::before { display: none; }
  .st-colorrow { display: block; }
  .st-colorbox { padding: 0 4px; }
  .st-colors { flex: none; }
  .st-dot { width: 44px; }
  .st-colorname { flex: 1; text-align: right; padding-right: 12px; }
  .st-colornote { max-width: none; margin-top: 10px; }

  .st-picker { padding: 0; background: none; box-shadow: none; border-radius: 0; }
  .st-picker .st-h { padding: 0 0 12px; }
  .st-tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .st-tile {
    grid-template-columns: 52px minmax(0, 1fr) 16px; gap: 10px; min-height: 54px; padding: 7px 8px; border-radius: 14px; background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line);
  }
  .st-tile:hover { background: var(--paper); }
  .st-tex { width: 52px; height: 36px; }
  .st-tile[aria-checked="true"] { background: var(--mint); box-shadow: inset 0 0 0 1.5px var(--pine); }
  .st-inspect { padding: 0; background: none; box-shadow: none; border-radius: 0; }
  .st-note { margin-top: 24px; }
  .st-opt { margin-bottom: 30px; padding-bottom: 0; border-bottom: 0; }
  .st-seg button, .st-size { min-height: 46px; }
  .st-controls { gap: 20px; }
  .st-save { grid-template-columns: minmax(0, 1fr); padding: 20px 18px 16px; grid-template-areas: "h" "sum" "label" "input" "hint" "go" "msg" "dl" "share"; }
  .st-btn-main { min-height: 52px; margin-top: 16px; }
  .st-join { padding: 20px 18px 16px; }
  .st-join .st-btn-main { margin-top: 0; }
  .st-foot { padding: 26px 2px 28px; }
}
/* Phone and tablet, portrait: the sleeve stays in sight while you pick a design and move the sliders.
   .st-build holds the stage, picker and settings; the stage box dissolves so the view itself can stick, and it lets go
   at Save, so the forms below get the whole screen (and the keyboard). Short landscape screens keep it in the flow. */
@media (max-width: 1279px) and (min-height: 560px) {
  .st-build { display: block; }
  .st-build > * + * { margin-top: 32px; }
  .st-stage { display: contents; }
  .st-caption { margin-bottom: 14px; }
  /* Edge to edge, square corners and a shadow only underneath, so nothing peeks round it while it is stuck. */
  .st-view {
    position: sticky; top: 0; z-index: 3; margin: 0 -16px; height: clamp(200px, min(62vw, 34vh), 380px);
    border-radius: 0; box-shadow: 0 1px 0 var(--line), 0 10px 18px -12px rgba(22, 33, 28, 0.35);
  }
}
@media (max-width: 599px) {
  #st-maker, #st-intent { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-join .st-btn-main { justify-self: stretch; }
  .sh-go .sh-btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 439px) {
  .st-remove-row { flex-direction: column; }
}
@media (max-width: 359px) {
  .st-tools { grid-template-columns: minmax(0, 1fr); }
  .st-switches { min-width: 0; }
  .st-colorbox { flex-wrap: wrap; }
}
@media (max-width: 339px) {
  .st-picks, #st-maker, #st-intent { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .st-bar span { animation: none; }
}
