:root {
  color-scheme: light;
  --bg: #eceef0;
  --surface: #f8f9fa;
  --ink: #1a1c20;
  --muted: #5c616a;
  --line: #d2d6db;
  --line-strong: #aeb4bc;
  --plate: #2c2f34;
  --plate-ink: #e8eaed;
  --danger: #b3261e;
  --radius-s: 6px;
  --radius-m: 10px;
  --font: "Schibsted Grotesk", system-ui, sans-serif;
  --display: "Gloock", "Iowan Old Style", Georgia, serif;
  /* The four colors of the first printed layers, shared by the home page. */
  --l1: #1f5fbf;
  --l2: #f2c23b;
  --l3: #2a9d78;
  --l4: #d24b3c;
  --panel-w: 420px;
  --topbar-h: 56px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--font);
}
h1, h2, p { margin: 0; }
button { font: inherit; color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Top bar */

.topbar {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
/* Three offset bars: a stack of printed layers. */
.wordmark-stack { display: grid; gap: 2px; }
.wordmark-stack i { display: block; height: 4px; border-radius: 1px; background: var(--ink); }
.wordmark-stack i:nth-child(1) { width: 12px; margin-left: 4px; }
.wordmark-stack i:nth-child(2) { width: 18px; margin-left: 1px; }
.wordmark-stack i:nth-child(3) { width: 20px; }
.back {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}
.back:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--surface);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { border-color: var(--ink); }
.button.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.button.primary:hover { background: #33373e; }
.button[hidden] { display: none; }
.button:disabled { opacity: 0.45; cursor: not-allowed; }
.link {
  border: 0;
  padding: 0;
  background: none;
  font-size: 14px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link:hover { color: var(--ink); }

/* Home */

.is-home .topbar { position: sticky; top: 0; z-index: 20; }
.topbar-end { display: flex; align-items: center; gap: 16px; }
.topcta { min-height: 36px; padding: 0 14px; font-size: 14px; }
.topnav { display: flex; gap: 4px; }
.topnav a {
  padding: 8px 12px;
  border-radius: var(--radius-s);
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}
.topnav a:hover { color: var(--ink); background: rgba(26, 28, 32, 0.06); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.home section[id] { scroll-margin-top: 16px; }
.home h2 {
  max-width: 22ch;
  font: 400 clamp(30px, 3.6vw, 46px) / 1.1 var(--display);
  letter-spacing: -0.005em;
}
.home h3 { margin: 0; }

/* Hero: the piece hung on a wall. The layers behind it step into place once. */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  padding-left: max(20px, calc((100vw - 1200px) / 2 + 20px));
}
.hero-copy { padding: 80px 56px 80px 0; }
.hero-copy h1 {
  max-width: 15ch;
  font: 400 clamp(38px, 4.6vw, 68px) / 1.04 var(--display);
  letter-spacing: -0.01em;
}
.hero-copy p { margin-top: 24px; max-width: 46ch; font-size: 18px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-room {
  position: relative;
  line-height: 0;
  overflow: hidden;
  border-radius: var(--radius-m) 0 0 var(--radius-m);
}
.hero-room .room { width: 100%; }
/* The builder's wall scene, drawn over the photo once it is ready. It lets
   clicks through to the link under it, and the page scroll past. */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 250ms ease;
}
.is-live .hero-canvas { opacity: 1; }
.is-live .wall-piece img { opacity: 0; animation: none; }

.hero-themes { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 20px 0 0; }
.hero-themes[hidden] { display: none; }
.theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--surface);
  font: 600 14px var(--font);
  cursor: pointer;
}
.theme-chip:hover { border-color: var(--ink); }
/* Over the photo, bottom left: it zooms the live piece. */
.close-up {
  position: absolute;
  left: 14px;
  bottom: 14px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--surface);
  font: 600 14px / 1.2 var(--font);
  cursor: pointer;
}
.close-up:hover { border-color: var(--ink); }
.close-up[hidden] { display: none; }
.theme-chip[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
/* The shuffle chip: a die, since the draw is random. */
.theme-shuffle::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  background: radial-gradient(circle, currentColor 1.4px, transparent 1.8px) 2.5px 2.5px / 4.5px 4.5px;
}
/* A tiny stack of the theme's layers, bottom to top, like the logo. */
.theme-stack { display: grid; gap: 1.5px; justify-items: center; width: 20px; }
.theme-stack i { display: block; height: 3px; border-radius: 1px; background: var(--c); }
.theme-stack i:nth-child(1) { width: 20px; }
.theme-stack i:nth-child(2) { width: 18px; }
.theme-stack i:nth-child(3) { width: 16px; }
.theme-stack i:nth-child(4) { width: 14px; }
.theme-stack i:nth-child(5) { width: 12px; }
/* The piece hangs over the middle of the sofa, true to the room photo's
   scale (2.166 mm per pixel on the wall; see CREDITS.md). */
.wall-piece {
  position: absolute;
  left: 44.8%;
  top: 15.0%;
  width: 10.1%;
  aspect-ratio: 1;
  display: block;
}
/* A plain, flat hang: no outline or cast shadow, just a quiet fade in. */
.wall-piece img {
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: wall-piece-in 500ms ease 250ms backwards;
}
@keyframes wall-piece-in { to { opacity: 1; } }

/* Bands */

.band { padding: 96px 0; background: var(--surface); }
.band-models, .band-faq { background: var(--bg); }
.band-plate { background: var(--plate); color: var(--plate-ink); }
.band-head { margin-bottom: 48px; }
.band-head p { margin-top: 12px; max-width: 52ch; font-size: 18px; color: var(--muted); }
.band-plate .band-head p { color: rgba(232, 234, 237, 0.72); }

/* The four stages are a real sequence; each wears the color of a layer. */
.how {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.how-step { padding-top: 20px; border-top: 12px solid var(--layer); }
.how-n { display: block; font: 400 64px / 1 var(--display); }
.how-step h3 { margin-top: 16px; font-size: 20px; font-weight: 650; letter-spacing: -0.01em; }
.how-step p { margin-top: 8px; max-width: 30ch; color: var(--muted); }

/* What the order is like: the sizes, the making, the tracking. */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin: 64px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}
.facts li { display: grid; gap: 6px; align-content: start; }
.facts strong { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
.facts span { max-width: 36ch; color: var(--muted); }

/* Models */

.models {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.model-card { display: grid; gap: 16px; text-decoration: none; }
.model-thumb {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--plate);
}
.model-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.model-thumb-cut { background: none; }
.model-thumb-cut img { object-fit: contain; padding: 2%; }
.model-card:hover .model-thumb img { transform: scale(1.03); }
.model-body { display: grid; gap: 12px; align-content: center; }
.model-meta { display: grid; gap: 4px; }
.model-meta strong { font: 400 30px / 1.1 var(--display); }
.model-meta span, .model-desc { font-size: 15px; color: var(--muted); }
.model-desc { max-width: 52ch; font-size: 17px; }
.model-go { margin-top: 8px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.model-card:hover .model-go { text-decoration-thickness: 2px; }
.models-solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.models-solo .model-card { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: center; }
.home-more, .home-empty { margin-top: 32px; font-size: 15px; color: var(--muted); }
.home-empty { font-size: 18px; }

/* Colors */

.tiers { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px; }
.tier-group h3 { font: 400 26px / 1.2 var(--display); }
.tier-group p { margin-top: 4px; font-size: 15px; color: rgba(232, 234, 237, 0.72); }
.hues {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 20px 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.hues li { display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 13px; }
.hue {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.hue-metallic {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0) 42%, rgba(0, 0, 0, 0.28)), var(--c);
}
.hue-fluorescent {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 16px 2px color-mix(in srgb, var(--c) 70%, transparent);
}
/* An out-of-stock color stays visible, just dimmed, with a small label
   (swatches on the home page, the builder's picker, theme chips). */
.hues li.is-out-of-stock { opacity: 0.4; }
.hues li.is-out-of-stock small,
.theme-chip small,
.theme small { display: block; font-size: 11px; color: var(--muted); }
.theme-chip[aria-disabled="true"],
.theme[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }

/* Questions */

.faq { max-width: 820px; }
.faq-list { margin-top: 32px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  position: relative;
  padding: 20px 40px 20px 0;
  font-size: 19px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 200ms ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { max-width: 60ch; padding: 0 40px 24px 0; font-size: 17px; color: var(--muted); }

.closing { padding: 72px 0; background: var(--surface); }
.closing .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.closing h2 { max-width: none; }

.site-footer { padding: 48px 0; background: var(--plate); color: var(--plate-ink); }
.site-footer .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; }
.site-footer .wordmark-stack i { background: #fff; }
.site-footer p { max-width: 44ch; font-size: 15px; color: rgba(232, 234, 237, 0.72); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer nav a { font-size: 15px; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer small { grid-column: 1 / -1; font-size: 13px; color: rgba(232, 234, 237, 0.55); }
.site-footer :focus-visible, .band-plate :focus-visible { outline-color: #fff; }

.notfound { max-width: 560px; margin: 0 auto; padding: 96px 20px; display: grid; gap: 16px; justify-items: start; }
.notfound h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; }
.notfound p { color: var(--muted); }

/* Builder */

body.is-builder { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.builder {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--panel-w);
}

.stage {
  position: relative;
  min-height: 0;
  background: var(--plate);
  color: var(--plate-ink);
  overflow: hidden;
}
#viewport { position: relative; display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
#viewport:active { cursor: grabbing; }

.stage-status {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: grid;
  gap: 10px;
  justify-items: center;
  font-size: 14px;
  color: #b9bdc4;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.stage-status.is-done { opacity: 0; }
.stage-status.is-error { color: #ffb4ab; pointer-events: auto; }
.progress { width: 180px; height: 3px; border-radius: 2px; background: #454950; overflow: hidden; }
.progress-bar { display: block; height: 100%; width: 0; background: var(--plate-ink); transition: width 150ms linear; }

.stage-status, .stage-tools, .look, .wall-bar, .eyes { z-index: 2; }

/* Show or hide each layer, top layer first. */
.eyes {
  position: absolute;
  top: 64px;
  right: 16px;
  display: grid;
  gap: 4px;
  padding: 6px;
  border: 1px solid #4a4e56;
  border-radius: var(--radius-s);
  background: rgba(38, 41, 46, 0.86);
  backdrop-filter: blur(6px);
}
.eye {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px 0 6px;
  border: 0;
  border-radius: 4px;
  background: none;
  color: #e8eaed;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.eye:hover { background: #454a52; }
/* An eye; struck through when the layer is hidden. */
.eye::before {
  content: "";
  width: 16px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 50% / 60%;
  background: radial-gradient(circle, currentColor 2.2px, transparent 2.8px);
}
.eye[aria-pressed="false"] { color: #8b9098; }
.eye[aria-pressed="false"]::before { background: linear-gradient(to top right, transparent 44%, currentColor 45% 55%, transparent 56%); }
.eye[aria-pressed="false"] .dot-color { opacity: 0.35; }
.eye .dot-color { width: 12px; height: 12px; }
.stage-tools {
  position: absolute;
  left: 16px;
  top: 16px;
  right: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.seg {
  display: inline-flex;
  border: 1px solid #4a4e56;
  border-radius: var(--radius-s);
  background: rgba(38, 41, 46, 0.86);
  backdrop-filter: blur(6px);
}
.seg button {
  min-height: 36px;
  padding: 0 12px;
  color: #c5c9cf;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 0;
  background: none;
}
.seg button + button { border-left: 1px solid #4a4e56; }
.seg button[aria-checked="true"] { color: #fff; background: #454a52; }
.seg button:first-child { border-radius: 5px 0 0 5px; }
.seg button:last-child { border-radius: 0 5px 5px 0; }
.stage-tools .seg button { transition: background-color 150ms ease, color 150ms ease; }
.stage :focus-visible { outline-color: #fff; }

.stage-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #4a4e56;
  border-radius: var(--radius-s);
  background: rgba(38, 41, 46, 0.86);
  backdrop-filter: blur(6px);
  color: #e8eaed;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.stage-button:hover, .stage-button[aria-expanded="true"], .stage-button[aria-pressed="true"] { background: #454a52; color: #fff; }
/* Appearance: always visible, top right; the view tools keep clear of it. */
.look { position: absolute; top: 16px; right: 16px; display: flex; gap: 8px; }
.stage[data-scene="table"] .stage-tools { right: 246px; }
.stage[data-scene="wall"] .stage-tools { right: 146px; }
.dots, .toggle {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid #4a4e56;
  border-radius: var(--radius-s);
  background: rgba(38, 41, 46, 0.86);
  backdrop-filter: blur(6px);
}
.dots { gap: 6px; padding: 0 8px; }
.dot {
  position: relative;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  cursor: pointer;
}
.dot[aria-checked="true"] { box-shadow: 0 0 0 2px #26292e, 0 0 0 4px #fff; }
/* Custom color: a color wheel until a custom color is picked. */
.dot-pick { background: conic-gradient(#e0524a, #e8c23b, #4fb06d, #3f8fd9, #9a5ccf, #e0524a); }
.dot-pick[aria-checked="true"] { background: var(--c); }
.dot-pick input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dot-pick:focus-within { outline: 2px solid #fff; outline-offset: 2px; }
.toggle {
  gap: 8px;
  padding: 0 12px;
  color: #c5c9cf;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
/* A small check shows the on state, not only the color. */
.toggle::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.5px solid #8b9098;
  border-radius: 3px;
}
.toggle[aria-pressed="true"] { color: #fff; background: #454a52; }
.toggle[aria-pressed="true"]::before {
  border-color: #fff;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.2l2.6 2.6L11 4.4' fill='none' stroke='%2326292e' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.toggle:hover { color: #fff; }

.wall-bar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 12px;
  border: 1px solid #4a4e56;
  border-radius: var(--radius-m);
  background: rgba(38, 41, 46, 0.86);
  backdrop-filter: blur(6px);
  font-size: 13px;
  color: #d5d8dc;
}
.wall-bar p { flex: 1 1 220px; }
.stage[data-scene="wall"] #viewport { cursor: default; }
.stage[data-scene="wall"] #viewport.is-over-piece { cursor: grab; }
.stage[data-scene="wall"] #viewport.is-dragging { cursor: grabbing; }

/* Panel */

.panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--surface);
  border-left: 1px solid var(--line);
}
.panel-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 28px 24px 8px; }
.panel-head h1 { font-size: 34px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.panel-head p { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 42ch; }

.group { margin-top: 30px; }
.group-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.group h2 { font-size: 16px; font-weight: 700; }
.hint { font-size: 13px; color: var(--muted); }
.note { margin-top: 12px; font-size: 13px; color: var(--muted); max-width: 44ch; }

/* Size: each option draws a square in proportion to the piece. */
/* Size: one compact segmented row. */
.sizes { display: flex; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: #fff; overflow: hidden; }
.size {
  flex: 1;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.size + .size { border-left: 1px solid var(--line); }
.size:hover { background: #f0f2f4; }
.size[aria-checked="true"] { background: var(--ink); color: #fff; }

/* Themes */
.randomize { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.randomize .button { min-height: 38px; padding: 0 14px; gap: 8px; }
.randomize .button:disabled::before { opacity: 0.5; }
/* A die: the draw is random. */
.randomize .button::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  background: radial-gradient(circle, currentColor 1.6px, transparent 2px) 3px 3px / 5px 5px;
}
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.theme {
  display: grid;
  gap: 8px;
  padding: 8px 8px 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: #fff;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.theme:hover { border-color: var(--line-strong); }
.theme[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.theme-custom { font-style: normal; color: var(--muted); }
/* A tiny side view of the layer stack, top layer first. */
.strata { display: grid; gap: 1px; }
.strata i { display: block; height: 6px; border-radius: 1px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.strata i:nth-child(1) { margin: 0 14%; }
.strata i:nth-child(2) { margin: 0 9%; }
.strata i:nth-child(3) { margin: 0 5%; }
.strata i:nth-child(4) { margin: 0 2%; }

/* Layer stack */
.stack-hint { margin: -4px 0 12px; }
.stack { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.stack > li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 12px;
  min-height: 56px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--line);
}
.stack > li:hover { background: #f0f2f4; }
.stack > li.is-flash { animation: flash 900ms ease-out; }
@keyframes flash { from { background: #e2e6ea; } to { background: transparent; } }
.heights-reset { margin-top: 10px; }

.slab {
  position: relative;
  height: 22px;
  border-radius: 3px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14), 0 5px 0 -1px color-mix(in srgb, var(--c) 72%, #000);
  translate: 0 -2px;
  transition: background-color 200ms ease, box-shadow 200ms ease, height 150ms ease;
}
.layer-name { display: grid; line-height: 1.25; }
.layer-name strong { font-size: 15px; font-weight: 600; }
.layer-name span { font-size: 13px; color: var(--muted); }

/* One option per filament on each layer. */
.layer-pick { display: flex; gap: 2px; }
.pick {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.pick:hover { background: #e6e9ec; }
.pick[aria-checked="true"] { box-shadow: 0 0 0 2px var(--ink); }
.pick .dot-color { width: 20px; height: 20px; }

/* Color dots and swatches: metallic shines, fluorescent glows. */
.dot-color {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
  flex: none;
}
.dot-big { width: 26px; height: 26px; }
[data-finish="metallic"] {
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 45%, #fff) 0%, var(--c) 42%, color-mix(in srgb, var(--c) 70%, #000) 75%, var(--c) 100%);
}
.dot-color[data-finish="fluorescent"] { box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 40%, transparent), 0 0 8px var(--c); }

.tier {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.tier-premium { background: #efe6d6; color: #6a4e27; }
.tier-exclusive { background: var(--ink); color: #f0d68f; }
.tier-out { background: #f5dede; color: var(--danger); }

/* "Cores": one color per line, all the same size, then "+". */
.colors-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.color-item {
  display: flex;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: #fff;
}
.color-item:hover { border-color: var(--line-strong); }
.color-item:has([aria-expanded="true"]) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.color-chip {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.color-chip > span:not(.tier) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.color-chip .tier { margin-left: auto; }
.color-chip.is-unused > span:not(.tier) { color: var(--muted); font-weight: 500; }
.color-chip .dot-color { width: 22px; height: 22px; }
.color-remove {
  width: 44px;
  border: 0;
  border-left: 1px solid var(--line);
  background: none;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.color-remove:hover { color: var(--ink); background: #f0f2f4; }
.color-add {
  width: 100%;
  height: 48px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-s);
  background: none;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.color-add:hover, .color-add[aria-expanded="true"] { border-style: solid; border-color: var(--ink); color: var(--ink); }

/* Lock: keeps the color when drawing. An open or closed padlock. */
.color-lock {
  position: relative;
  width: 44px;
  border: 0;
  border-left: 1px solid var(--line);
  background: none;
  color: var(--line-strong);
  cursor: pointer;
}
.color-lock::before, .color-lock::after { content: ""; position: absolute; left: 50%; translate: -50% 0; }
.color-lock::before { top: 14px; width: 8px; height: 7px; border: 2px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; translate: -20% 0; }
.color-lock::after { top: 20px; width: 13px; height: 10px; border-radius: 2px; background: currentColor; }
.color-lock[aria-pressed="true"] { color: var(--ink); }
.color-lock[aria-pressed="true"]::before { translate: -50% 0; }
.color-lock:hover { color: var(--muted); background: #f0f2f4; }
.color-lock[aria-pressed="true"]:hover { color: var(--ink); }
.color-item:has(.color-lock[aria-pressed="true"]) { border-color: var(--ink); }

/* The filament picker, grouped by price tier. */
.picker {
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  background: #fff;
}
.picker-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 15px; }
.picker-group + .picker-group { margin-top: 12px; }
.picker-tier { margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.picker-name { display: block; min-height: 1.5em; margin-top: 10px; font-size: 13px; color: var(--muted); }
.swatch {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}
.swatch:hover { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16), 0 0 0 2px var(--line-strong); }
.swatch[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16), 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.swatch[aria-checked="true"]::after {
  content: "";
  position: absolute;
  inset: 34% 30% 42% 30%;
  border-left: 2px solid var(--tick);
  border-bottom: 2px solid var(--tick);
  rotate: -45deg;
}
.swatch[data-finish="metallic"], .summary-chips [data-finish="metallic"] {
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 45%, #fff) 0%, var(--c) 42%, color-mix(in srgb, var(--c) 70%, #000) 75%, var(--c) 100%);
}
.swatch[data-finish="fluorescent"]:not([aria-checked="true"]) { box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 35%, transparent), 0 0 10px var(--c); }
.swatch[aria-disabled="true"] { opacity: 0.28; cursor: not-allowed; }
.swatch[aria-disabled="true"]:hover { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16); }
/* Footer */
.panel-foot {
  display: grid;
  gap: 12px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.summary { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.price { margin-left: auto; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.price.is-loading { opacity: 0.45; transition: opacity 150ms ease 150ms; }
.summary-chips { display: inline-flex; }
.summary-chips .dot-color {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 2px var(--surface), inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}
.summary-chips .dot-color + .dot-color { margin-left: -4px; }
.panel-foot .button { width: 100%; min-height: 48px; font-size: 16px; }

/* Review dialog */
.review {
  width: min(480px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: var(--radius-m);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(10, 12, 16, 0.3);
}
.review::backdrop { background: rgba(20, 22, 26, 0.5); }
.review form { padding: 24px; }
.review header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.review h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.icon-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; font-size: 24px; line-height: 1; cursor: pointer; }
.icon-close:hover { background: #e6e8eb; }
.review dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0 0 20px; font-size: 15px; }
.review dt { color: var(--muted); }
.review dd { margin: 0; font-weight: 600; }
.review h3 { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.filaments { margin: 0 0 20px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.filaments li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.review-total { display: flex; justify-content: space-between; align-items: baseline; margin: -8px 0 16px; font-size: 15px; }
.review-total strong { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.review footer { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.review .note { margin-top: 12px; }
.review-error { color: var(--danger); font-size: 15px; margin-bottom: 16px; }

/* Checkout, order page, test payment page */
.nowrap { white-space: nowrap; }
.checkout, .order-page, .fakepay { max-width: 1080px; margin: 0 auto; padding: 40px 20px 80px; }
.checkout h1, .order-page h1, .fakepay h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; margin-top: 24px; }
.checkout-form fieldset { margin: 0 0 28px; padding: 0; border: 0; }
.checkout-form legend { margin-bottom: 12px; font-size: 18px; font-weight: 700; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: #fff;
  font: inherit;
  color: var(--ink);
}
.field input:focus, .field select:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); }
.field-error { font-size: 13px; color: var(--danger); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.field-row-cep { grid-template-columns: 180px 1fr; align-items: center; }
.cep-status { margin: 6px 0 0; }
.checkout .hint, .order-page .hint, .fakepay .hint { font-size: 13px; color: var(--muted); }
.alert { margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-s); background: #fff4e0; color: #6b4a00; font-size: 15px; }
.pay-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pay-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: #fff;
  cursor: pointer;
}
.pay-option:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pay-option input { margin-top: 3px; accent-color: var(--ink); }
.pay-option span { display: grid; gap: 2px; }
.pay-option small { color: var(--muted); font-size: 13px; }
.ship-options { display: grid; gap: 8px; }
.ship-options.is-invalid .ship-option { border-color: var(--danger); }
.ship-option { align-items: center; }
.ship-option input { margin-top: 0; }
.ship-price { margin-left: auto; white-space: nowrap; }
.checkout-submit { width: 100%; min-height: 52px; font-size: 17px; }

.order-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--surface);
}
.checkout .order-card { position: sticky; top: 20px; }
.order-card h2 { font-size: 18px; font-weight: 700; }
.piece { display: flex; gap: 14px; align-items: center; }
.piece-thumb { width: 72px; height: 72px; border-radius: var(--radius-s); background: var(--plate); object-fit: cover; }
.piece h2 { font-size: 20px; font-weight: 800; }
.piece p { color: var(--muted); font-size: 14px; }
.piece-colors { display: grid; gap: 8px; margin: 16px 0; padding: 0; list-style: none; }
.piece-colors li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.piece-colors .dot-color { width: 18px; height: 18px; margin-top: 2px; }
.piece-colors span { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: center; }
.piece-colors small { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.amounts { display: grid; grid-template-columns: 1fr auto; gap: 8px 0; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.amounts dt { color: var(--muted); }
.amounts dd { margin: 0; text-align: right; font-weight: 600; }
.amounts .total { padding-top: 8px; border-top: 1px solid var(--line); color: var(--ink); font-size: 20px; font-weight: 800; }

.order-number { color: var(--muted); font-size: 15px; font-weight: 600; }
.timeline { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; padding: 0; list-style: none; counter-reset: step; }
.timeline li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.timeline li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--line);
  color: var(--ink);
  font-size: 12px;
}
.timeline li.is-done { color: var(--ink); }
.timeline li.is-done::before { content: "✓"; background: var(--ink); color: #fff; }
.timeline li.is-current { border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.timeline li.is-current::before { background: var(--ink); color: #fff; }
.order-stopped { margin: 20px 0; font-size: 17px; color: var(--muted); }
.tracking { margin-bottom: 20px; font-size: 16px; }
.pay-again { display: grid; gap: 8px; justify-items: start; margin-bottom: 24px; }
.order-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.order-grid address { margin-top: 10px; font-style: normal; line-height: 1.6; }

.fakepay { max-width: 520px; display: grid; gap: 14px; }
.fakepay-tag { justify-self: start; padding: 4px 10px; border-radius: 999px; background: #fff4e0; color: #6b4a00; font-size: 13px; font-weight: 600; }
.fakepay-amount { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.fakepay-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Admin */
.admin, .admin-login { max-width: 1080px; margin: 0 auto; padding: 32px 20px 80px; }
.admin-login { max-width: 420px; }
.admin h1, .admin-login h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.admin-bar { display: flex; align-items: center; gap: 16px; font-size: 15px; }
.admin-bar a { font-weight: 600; text-decoration: none; }
.admin-bar form { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 20px; }
.filters a {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
}
.filters a[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.table-wrap { overflow-x: auto; }
table.orders { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); }
.orders th, .orders td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.orders th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--surface); }
.orders .num { text-align: right; }
.orders a { font-weight: 700; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--line); color: var(--ink); vertical-align: middle; letter-spacing: 0; }
.badge-awaiting_payment { background: #fff4e0; color: #6b4a00; }
.badge-paid { background: #e3f1ff; color: #144a80; }
.badge-in_production { background: #efe6ff; color: #4b2a85; }
.badge-shipped { background: #e1f5ec; color: #17603f; }
.badge-delivered { background: var(--ink); color: #fff; }
.badge-cancelled, .badge-expired { background: #eceef0; color: var(--muted); }
.empty { color: var(--muted); }
.admin-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 16px 0 24px; }
.admin-actions .action { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.admin-actions label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.admin-actions input, .note-form textarea {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  font: inherit;
}
.admin .order-card h2 + * { margin-top: 10px; }
.admin .order-card h2:not(:first-child) { margin-top: 20px; }
.admin-section { margin-top: 16px; }
.events { margin: 12px 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14px; }
.events time { color: var(--muted); font-variant-numeric: normal; margin-right: 6px; }
.events small { color: var(--muted); margin-left: 6px; }
.events p { margin-top: 2px; }
.note-form { display: grid; gap: 8px; justify-items: start; margin-top: 12px; }
.note-form label { font-size: 13px; font-weight: 600; }
.note-form textarea { width: 100%; }

@media (max-width: 860px) {
  .checkout, .order-page, .fakepay { padding: 24px 16px 64px; }
  .checkout-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .checkout .order-card { position: static; order: -1; }
  .order-grid, .field-row, .pay-options { grid-template-columns: 1fr; }
  .field-row-cep { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-left: 0; }
  .hero-copy { padding: 48px 20px 40px; }
  .hero-room .room { border-radius: 0; }
  .band, .closing { padding: 72px 0; }
  .how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
  .hero-themes { padding: 16px 20px 0; }
  .topnav { display: none; }
  .tiers { grid-template-columns: 1fr; }
  .models-solo .model-card { grid-template-columns: 1fr; gap: 20px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .how { grid-template-columns: 1fr; }
  .closing .wrap { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Phone and small tablet: preview on top, panel below. */
@media (max-width: 860px) {
  body.is-builder { height: auto; overflow: visible; display: block; }
  .builder { display: block; }
  .stage { height: 52vh; min-height: 300px; position: sticky; top: 0; z-index: 1; }
  /* On a phone the table's appearance controls move to the bottom corner. */
  .stage[data-scene="table"] .stage-tools { right: 12px; }
  .stage[data-scene="table"] .look { top: auto; bottom: 12px; left: 12px; right: auto; }
  .stage-tools { top: 12px; left: 12px; }
  .look { top: 12px; right: 12px; }
  /* Layer switches: bottom right, dot and eye only. */
  .eyes { top: auto; bottom: 12px; right: 12px; padding: 4px; }
  .eye { padding: 0 6px; }
  .eye span:not(.dot-color) { display: none; }
  .stage[data-scene="wall"] .eyes { bottom: auto; top: 64px; }
  .panel { border-left: 0; }
  .panel-scroll { overflow: visible; padding: 24px 16px 8px; }
  .panel-foot { position: sticky; bottom: 0; z-index: 2; padding: 12px 16px 16px; }
  .topbar { padding: 0 16px; }
  .panel-head h1 { font-size: 28px; }
  .palette { grid-template-columns: repeat(8, minmax(28px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
}

/* Customer sign-in and account (spec 004). */
.checkout-form fieldset { min-width: 0; }
.field select { min-width: 0; max-width: 100%; text-overflow: ellipsis; }
.field input[readonly] { background: var(--line); color: var(--muted); cursor: default; }
.field .hint { margin: 6px 0 0; }
.signin { max-width: 440px; margin: 0 auto; padding: 40px 20px 80px; }
.signin h1, .account h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.signin-lead { color: var(--muted); font-size: 16px; margin: 12px 0 20px; }
.signin .hint { margin-top: 16px; }
.code-input { font-size: 24px; letter-spacing: 0.3em; font-variant-numeric: tabular-nums; }
.signin-resend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.signin-resend .link:disabled { opacity: 0.5; cursor: default; }
.account { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }
.account h2 { font-size: 20px; font-weight: 700; margin: 28px 0 12px; }
.account-head .filters { margin-top: 16px; align-items: center; }
.account-head .filters form { margin-left: auto; }
.account-orders { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.account-orders a { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; color: inherit; text-decoration: none; }
.account-orders a:hover { border-color: var(--ink); }
.account-orders a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.account-order-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.topbar .account-link { margin-left: auto; font-weight: 600; color: inherit; text-decoration: none; }
.topbar .account-link:hover { text-decoration: underline; }
.home > .notice { max-width: 1080px; margin: 16px auto 0; }
.button.danger { border-color: var(--danger); color: var(--danger); background: #fff; }
.button.danger:hover { background: var(--danger); color: #fff; }
.signin-or { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--muted); font-size: 14px; }
.signin-or::before, .signin-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.google-button { width: 100%; min-height: 48px; justify-content: center; }
.account-addresses { display: grid; gap: 10px; margin: 0 0 8px; padding: 0; list-style: none; }
.account-addresses li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; }
.account-addresses p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.address-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.address-actions form { display: contents; }
.check { display: flex; gap: 8px; align-items: center; margin: 4px 0 16px; font-size: 15px; }
.check input { accent-color: var(--ink); width: 18px; height: 18px; }
@media (max-width: 720px) {
  .signin, .account { padding: 24px 16px 64px; }
}
