/* ==========================================================================
   What? Studio — Brief next project (practice brief generator)
   Loaded after ws-theme.css; uses the ws tokens. Palette tokens --bnp-c0..2
   are set by brief-next.js from the current brief.
   ========================================================================== */

body.ws26 .bnp-page .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

body.ws26 .bnp-kbd {
  display: inline-flex; align-items: center; height: 24px; padding: 0 8px;
  border: 1px solid var(--ws-line); border-radius: 7px;
  background: var(--ws-surface); color: var(--ws-text);
  font: 600 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

body.ws26 .bnp-hero.ws-hero--page { min-height: 0; padding-bottom: clamp(32px, 4vw, 56px); }

body.ws26 .bnp.ws-product-section { padding-top: 8px; padding-bottom: clamp(96px, 11vw, 150px); }

/* ---------- control bar ---------- */
body.ws26 .bnp-bar {
  position: sticky; top: 86px; z-index: 5;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 0 0 20px; padding: 10px;
  border: 1px solid var(--ws-line-soft); border-radius: 999px;
  background: var(--ws-glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
body.ws26 .bnp-seg {
  display: inline-flex; padding: 4px; gap: 2px;
  border-radius: 999px; background: var(--ws-surface-2);
}
body.ws26 .bnp-seg button {
  height: 36px; padding: 0 16px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ws-text-2);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background 200ms var(--ws-ease), color 200ms var(--ws-ease);
}
body.ws26 .bnp-seg button:hover { color: var(--ws-text); }
body.ws26 .bnp-seg button.is-active { background: var(--ws-text); color: var(--ws-bg); }
body.ws26 .bnp-bar-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
body.ws26 .bnp-icon-btn {
  height: 44px; padding: 0 16px; border: 1px solid var(--ws-line); border-radius: 999px;
  background: transparent; color: var(--ws-text-2);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: color 200ms var(--ws-ease), border-color 200ms var(--ws-ease);
}
body.ws26 .bnp-icon-btn:hover { color: var(--ws-text); border-color: var(--ws-text-3); }
body.ws26 .bnp-new { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
body.ws26 .bnp-new svg { transition: transform 500ms var(--ws-ease); }
body.ws26 .bnp-new:hover svg { transform: rotate(-180deg); }

/* ---------- sheet ---------- */
body.ws26 .bnp-sheet {
  --bnp-c0: var(--ws-surface); --bnp-c1: var(--ws-accent); --bnp-c2: var(--ws-accent);
  display: grid; gap: 14px;
}
body.ws26 .bnp-sheet.is-flip .bnp-tile,
body.ws26 .bnp-sheet.is-flip .bnp-head {
  animation: bnp-in 520ms var(--ws-ease) both;
}
body.ws26 .bnp-sheet.is-flip .bnp-tile:nth-child(2) { animation-delay: 30ms; }
body.ws26 .bnp-sheet.is-flip .bnp-tile:nth-child(3) { animation-delay: 60ms; }
body.ws26 .bnp-sheet.is-flip .bnp-tile:nth-child(4) { animation-delay: 90ms; }
body.ws26 .bnp-sheet.is-flip .bnp-tile:nth-child(5) { animation-delay: 120ms; }
body.ws26 .bnp-sheet.is-flip .bnp-tile:nth-child(6) { animation-delay: 150ms; }
body.ws26 .bnp-sheet.is-flip .bnp-tile:nth-child(7) { animation-delay: 180ms; }
body.ws26 .bnp-sheet.is-flip .bnp-tile:nth-child(8) { animation-delay: 210ms; }
body.ws26 .bnp-sheet.is-flip .bnp-tile:nth-child(9) { animation-delay: 240ms; }
body.ws26 .bnp-sheet.is-flip .bnp-tile:nth-child(10) { animation-delay: 270ms; }
body.ws26 .bnp-sheet.is-flip .bnp-tile:nth-child(11) { animation-delay: 300ms; }
body.ws26 .bnp-sheet.is-flip .bnp-tile:nth-child(12) { animation-delay: 330ms; }
body.ws26 .bnp-sheet.is-flip .bnp-tile:nth-child(13) { animation-delay: 360ms; }
body.ws26 .bnp-sheet.is-flip .bnp-tile.is-locked { animation: none; }
@keyframes bnp-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

body.ws26 .bnp-head {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 40px; align-items: end;
  padding: clamp(26px, 3.4vw, 44px);
  border-radius: var(--ws-r-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--bnp-c1) 26%, transparent), transparent 60%),
    radial-gradient(90% 120% at 0% 100%, color-mix(in srgb, var(--bnp-c2) 18%, transparent), transparent 60%),
    var(--ws-surface);
  overflow: hidden;
  transition: background 600ms var(--ws-ease);
}
body.ws26 .bnp-brand { display: flex; align-items: center; gap: 22px; min-width: 0; }
body.ws26 .bnp-brand-mark,
body.ws26 .bnp-logo-mark {
  flex: none; display: grid; place-items: center;
  width: 84px; height: 84px; border-radius: 24px;
  background: var(--bnp-c0);
  box-shadow: inset 0 0 0 1px var(--ws-line-soft);
}
body.ws26 .bnp-brand-mark svg { width: 56px; height: 56px; }
body.ws26 .bnp-logo-mark { width: 72px; height: 72px; border-radius: 20px; }
body.ws26 .bnp-logo-mark svg { width: 46px; height: 46px; }
body.ws26 .bnp-logo-real {
  color: var(--bnp-c1); font-size: 38px; font-weight: 800; letter-spacing: -0.04em;
}
body.ws26 .bnp-brand-text { min-width: 0; }
body.ws26 .bnp-brand-kind {
  margin: 0 0 6px; color: var(--ws-text-3);
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
}
body.ws26 .bnp-brand-kind #bnp-number { color: var(--ws-accent-text); font-variant-numeric: tabular-nums; }
body.ws26 .bnp-brand-name {
  margin: 0; color: var(--ws-text);
  font-size: clamp(40px, 5.4vw, 76px); font-weight: 750; letter-spacing: -0.045em; line-height: 0.95;
  overflow-wrap: anywhere;
}
body.ws26 .bnp-brand-meta { margin: 10px 0 0; color: var(--ws-text-2); font-size: 16px; font-weight: 500; line-height: 1.4; }
body.ws26 .bnp-brand-link {
  display: inline-block; margin-top: 8px; color: var(--ws-accent-text);
  font-size: 14px; font-weight: 600; text-decoration: none;
}
body.ws26 .bnp-brand-link:hover { text-decoration: underline; }
body.ws26 .bnp-brand-link[hidden] { display: none; }
body.ws26 .bnp-logo-mark img { width: 46px; height: 46px; object-fit: contain; }
body.ws26 .bnp-brand-mark img { width: 56px; height: 56px; object-fit: contain; }
body.ws26 .bnp-dl {
  position: absolute; top: 16px; right: 54px;
  height: 32px; padding: 0 12px; border: 1px solid var(--ws-line); border-radius: 999px;
  background: transparent; color: var(--ws-text-2);
  font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; cursor: pointer;
  transition: color 180ms var(--ws-ease), border-color 180ms var(--ws-ease), background 180ms var(--ws-ease);
}
body.ws26 .bnp-dl:hover { color: var(--ws-text); border-color: var(--ws-text-3); background: var(--ws-surface-2); }
body.ws26 .bnp-head-side { display: grid; gap: 14px; padding-right: 44px; }
body.ws26 .bnp-brand-tag {
  margin: 0; color: var(--ws-text);
  font-size: clamp(20px, 2vw, 26px); font-weight: 650; letter-spacing: -0.025em; line-height: 1.2;
}
body.ws26 .bnp-quote { margin: 0; color: var(--ws-text-2); font-size: 15px; font-weight: 500; line-height: 1.45; }
body.ws26 .bnp-quote span {
  display: block; margin-bottom: 4px; color: var(--ws-text-3);
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
}
body.ws26 .bnp-quote q { quotes: none; font-style: italic; }

/* ---------- tiles ---------- */
body.ws26 .bnp-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
body.ws26 .bnp-tile {
  position: relative; display: grid; align-content: start; gap: 10px;
  min-width: 0; padding: 24px 26px 26px;
  border-radius: var(--ws-r-md); background: var(--ws-surface);
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 240ms var(--ws-ease), background 240ms var(--ws-ease);
}
body.ws26 .bnp-tile.is-locked { box-shadow: inset 0 0 0 1.5px var(--ws-accent-text); }
body.ws26 .bnp-tile--goal { grid-column: span 2; }
body.ws26 .bnp-tile--wide { grid-column: span 2; }
body.ws26 .bnp-tile--palette { grid-column: span 2; }
body.ws26 .bnp-tile--logo { grid-column: span 2; }
body.ws26 .bnp-tile--twist { grid-column: 1 / -1; background: var(--ws-accent-soft); }
body.ws26 .bnp-tile--twist .bnp-value { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; }
body.ws26 .bnp-tile--beats { grid-column: 1 / -1; }
body.ws26 .bnp-tile h3 {
  margin: 0; padding-right: 36px; color: var(--ws-text-3);
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
body.ws26 .bnp-h-note { margin-left: 6px; color: var(--ws-text-2); font-weight: 600; letter-spacing: 0; text-transform: none; }
body.ws26 .bnp-tile--twist h3 { color: var(--ws-accent-text); }
body.ws26 .bnp-value {
  margin: 0; color: var(--ws-text);
  font-size: clamp(20px, 1.8vw, 24px); font-weight: 680; letter-spacing: -0.025em; line-height: 1.2;
  text-wrap: balance;
}
body.ws26 .bnp-value--xl { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.035em; line-height: 1.1; }
body.ws26 .bnp-value--num { font-size: clamp(40px, 4vw, 56px); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
body.ws26 .bnp-value--sm { font-size: 18px; letter-spacing: -0.015em; line-height: 1.3; }
body.ws26 .bnp-sub { margin: 0; color: var(--ws-text-2); font-size: 14px; font-weight: 500; line-height: 1.45; }
body.ws26 .bnp-list {
  display: grid; gap: 6px; margin: 0; padding: 0 0 0 18px;
  color: var(--ws-text); font-size: 15px; font-weight: 550; line-height: 1.4;
}
body.ws26 .bnp-list li::marker { color: var(--ws-accent-text); }

/* lock */
body.ws26 .bnp-lock {
  position: absolute; top: 16px; right: 16px;
  display: grid; place-items: center; width: 32px; height: 32px;
  border: 0; border-radius: 10px; background: transparent; color: var(--ws-text-3);
  cursor: pointer; opacity: 0.55;
  transition: opacity 180ms var(--ws-ease), background 180ms var(--ws-ease), color 180ms var(--ws-ease);
}
body.ws26 .bnp-lock--head { top: 20px; right: 20px; }
body.ws26 .bnp-tile:hover .bnp-lock, body.ws26 .bnp-head:hover .bnp-lock, body.ws26 .bnp-lock:focus-visible { opacity: 1; }
body.ws26 .bnp-lock:hover { background: var(--ws-surface-2); color: var(--ws-text); }
body.ws26 .bnp-lock i {
  position: relative; width: 12px; height: 9px; margin-top: 6px;
  border-radius: 2.5px; background: currentColor;
}
body.ws26 .bnp-lock i::before {
  content: ""; position: absolute; left: 2px; bottom: 7px; width: 8px; height: 8px;
  border: 2px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; box-sizing: border-box;
  transform-origin: 100% 100%; transform: translateX(4px) rotate(18deg);
  transition: transform 220ms var(--ws-ease);
}
body.ws26 .bnp-lock.is-locked { opacity: 1; color: var(--ws-accent-text); background: var(--ws-accent-soft); }
body.ws26 .bnp-lock.is-locked i::before { transform: none; }

/* pacing meter: bars pulse at the brief's BPM */
body.ws26 .bnp-pacing { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-right: 30px; }
body.ws26 .bnp-meter { --bnp-bpm: 0.5s; display: flex; align-items: flex-end; gap: 4px; height: 30px; }
body.ws26 .bnp-meter span {
  width: 8px; border-radius: 3px; background: var(--ws-surface-3);
  transition: background 300ms var(--ws-ease);
}
body.ws26 .bnp-meter span:nth-child(1) { height: 30%; }
body.ws26 .bnp-meter span:nth-child(2) { height: 45%; }
body.ws26 .bnp-meter span:nth-child(3) { height: 62%; }
body.ws26 .bnp-meter span:nth-child(4) { height: 80%; }
body.ws26 .bnp-meter span:nth-child(5) { height: 100%; }
body.ws26 .bnp-meter span.is-on {
  background: var(--ws-accent-text);
  animation: bnp-beat var(--bnp-bpm) ease-in-out infinite alternate;
  transform-origin: bottom;
}
body.ws26 .bnp-meter span.is-on:nth-child(2n) { animation-delay: calc(var(--bnp-bpm) / -2); }
@keyframes bnp-beat { from { transform: scaleY(1); } to { transform: scaleY(0.62); } }

/* palette */
body.ws26 .bnp-swatches { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
body.ws26 .bnp-swatch {
  display: grid; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  color: var(--ws-text-2); font: inherit;
}
body.ws26 .bnp-swatch-chip {
  display: block; height: 72px; border-radius: 14px; background: var(--c);
  box-shadow: inset 0 0 0 1px var(--ws-line-soft);
  transition: transform 260ms var(--ws-ease);
}
body.ws26 .bnp-sheet.is-flip .bnp-swatch-chip { animation: bnp-chip 560ms var(--ws-ease) both; animation-delay: calc(var(--i) * 50ms + 120ms); }
body.ws26 .bnp-swatch:hover .bnp-swatch-chip { transform: translateY(-3px); }
body.ws26 .bnp-swatch-hex { font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
body.ws26 .bnp-swatch:hover .bnp-swatch-hex { color: var(--ws-text); }
@keyframes bnp-chip { from { transform: scaleY(0.2); opacity: 0; } to { transform: none; opacity: 1; } }

/* logo */
body.ws26 .bnp-logo { display: flex; align-items: center; gap: 18px; }

/* beats timeline */
body.ws26 .bnp-timeline { display: flex; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
body.ws26 .bnp-beat {
  flex: 0 0 calc(var(--w) - 5px); min-width: 0;
  display: grid; align-content: start; gap: 8px;
  padding: 14px 14px 16px; border-radius: 14px;
  background: var(--ws-tile-inner);
  border-top: 3px solid color-mix(in srgb, var(--bnp-c1) calc(100% - var(--i) * 14%), var(--bnp-c2));
}
body.ws26 .bnp-sheet.is-flip .bnp-beat { animation: bnp-grow 600ms var(--ws-ease) both; animation-delay: calc(var(--i) * 70ms + 200ms); transform-origin: left; }
@keyframes bnp-grow { from { transform: scaleX(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
body.ws26 .bnp-beat-time { color: var(--ws-text-3); font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
body.ws26 .bnp-beat-text { color: var(--ws-text); font-size: 15px; font-weight: 600; line-height: 1.35; }

/* ---------- AI ---------- */
body.ws26 .bnp-ai {
  margin-top: 14px; padding: clamp(26px, 3.4vw, 44px);
  border-radius: var(--ws-r-lg); background: var(--ws-surface);
}
body.ws26 .bnp-ai-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px 40px; align-items: end; }
body.ws26 .bnp-ai-h {
  margin: 0; color: var(--ws-text);
  font-size: clamp(28px, 3vw, 40px); font-weight: 720; letter-spacing: -0.04em; line-height: 1.05;
}
body.ws26 .bnp-ai-sub { margin: 10px 0 0; color: var(--ws-text-2); font-size: 16px; font-weight: 500; line-height: 1.45; }
body.ws26 .bnp-ai-form { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
body.ws26 .bnp-ai-form input {
  flex: 1; min-width: 0; height: 52px; padding: 0 20px;
  border: 1px solid var(--ws-line); border-radius: 999px;
  background: var(--ws-bg); color: var(--ws-text); font: inherit; font-size: 15px;
}
body.ws26 .bnp-ai-form input:focus { outline: none; border-color: var(--ws-text-3); }
body.ws26 .bnp-ai-btn { flex: none; min-height: 52px; white-space: nowrap; }
body.ws26 .bnp-ai-btn.is-busy span { animation: bnp-blink 900ms ease-in-out infinite alternate; }
@keyframes bnp-blink { to { opacity: 0.4; } }
body.ws26 .bnp-ai-out {
  margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--ws-line-soft);
  animation: bnp-in 520ms var(--ws-ease) both;
}
body.ws26 .bnp-ai-out[hidden] { display: none; }
body.ws26 .bnp-ai-note {
  margin: 0 0 16px; padding: 10px 14px; border-radius: 12px;
  background: var(--ws-tile-inner); color: var(--ws-text-2); font-size: 14px; line-height: 1.45;
}
body.ws26 .bnp-ai-title { margin: 0; color: var(--ws-text); font-size: 24px; font-weight: 700; letter-spacing: -0.025em; }
body.ws26 .bnp-ai-concept { max-width: 46em; margin: 10px 0 0; color: var(--ws-text-2); font-size: 17px; font-weight: 500; line-height: 1.5; }
body.ws26 .bnp-ai-shots { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
body.ws26 .bnp-ai-shots li {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: baseline;
  padding: 12px 16px; border-radius: 14px; background: var(--ws-tile-inner);
}
body.ws26 .bnp-ai-shots span { color: var(--ws-accent-text); font: 600 13px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; }
body.ws26 .bnp-ai-shots p { margin: 0; color: var(--ws-text); font-size: 15px; font-weight: 550; line-height: 1.45; }
body.ws26 .bnp-ai-tip { margin: 18px 0 0; color: var(--ws-text-2); font-size: 15px; line-height: 1.5; }
body.ws26 .bnp-ai-tip strong { color: var(--ws-text); }

/* ---------- history, legal, toast ---------- */
body.ws26 .bnp-history-wrap { margin-top: 36px; }
body.ws26 .bnp-history-wrap[hidden] { display: none; }
body.ws26 .bnp-history-h {
  margin: 0 0 12px; color: var(--ws-text-3);
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
body.ws26 .bnp-history { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.ws26 .bnp-hist {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px;
  border: 1px solid var(--ws-line); border-radius: 999px; background: transparent;
  color: var(--ws-text-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
body.ws26 .bnp-hist span { width: 14px; height: 14px; border-radius: 50%; }
body.ws26 .bnp-hist:hover, body.ws26 .bnp-hist.is-current { color: var(--ws-text); border-color: var(--ws-text-3); }
body.ws26 .bnp-legal { max-width: 52em; margin: 32px 0 0; color: var(--ws-text-3); font-size: 13px; line-height: 1.5; }

body.ws26 .bnp-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 50;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ws-text); color: var(--ws-bg); font-size: 14px; font-weight: 600;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: transform 260ms var(--ws-ease), opacity 260ms var(--ws-ease);
}
body.ws26 .bnp-toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  body.ws26 .bnp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ws26 .bnp-head, body.ws26 .bnp-ai-head { grid-template-columns: 1fr; }
  body.ws26 .bnp-head-side { padding-right: 0; }
  body.ws26 .bnp-timeline { flex-direction: column; }
  body.ws26 .bnp-beat { flex: none; grid-template-columns: 96px 1fr; align-items: baseline; }
}
@media (max-width: 640px) {
  body.ws26 .bnp-bar { position: static; border-radius: var(--ws-r-md); }
  body.ws26 .bnp-bar-actions { width: 100%; margin-left: 0; }
  body.ws26 .bnp-new { flex: 1; justify-content: center; }
  body.ws26 .bnp-grid { grid-template-columns: 1fr; }
  body.ws26 .bnp-tile--goal, body.ws26 .bnp-tile--wide, body.ws26 .bnp-tile--palette,
  body.ws26 .bnp-tile--logo { grid-column: auto; }
  body.ws26 .bnp-brand { gap: 16px; }
  body.ws26 .bnp-brand-mark { width: 64px; height: 64px; border-radius: 18px; }
  body.ws26 .bnp-brand-mark svg { width: 42px; height: 42px; }
  body.ws26 .bnp-ai-form { flex-direction: column; }
  body.ws26 .bnp-beat { grid-template-columns: 1fr; }
  body.ws26 .bnp-ai-shots li { grid-template-columns: 1fr; gap: 4px; }
  body.ws26 .bnp-swatch-hex { font-size: 10px; }
  body.ws26 .bnp-swatch-chip { height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ws26 .bnp-sheet.is-flip *, body.ws26 .bnp-meter span.is-on { animation: none !important; }
}
body.ws26 .bnp-tile--palette h3, body.ws26 .bnp-tile--logo h3 { padding-right: 120px; }
body.ws26 .bnp-brand-mark.is-real, body.ws26 .bnp-logo-mark.is-real { background: #ffffff; }

/* round 3 */
body.ws26 .bnp-icon-btn--icon { width: 44px; padding: 0; display: inline-grid; place-items: center; }
body.ws26 .bnp-dl-bar { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
body.ws26 .bnp-tile--palette .bnp-swatches, body.ws26 .bnp-tile--logo .bnp-logo { margin-top: 14px; }
body.ws26 .bnp-legal { margin-left: auto; margin-right: auto; text-align: center; }
body.ws26 .bnp-legal[hidden] { display: none; }
@media (max-width: 640px) {
  body.ws26 .bnp-dl-bar, body.ws26 .bnp-new { flex: 1; justify-content: center; padding: 0 12px; white-space: nowrap; }
  body.ws26 .bnp-dl-bar svg, body.ws26 .bnp-new svg, body.ws26 .bnp-hide-sm { display: none; }
}

/* typography tile */
body.ws26 .bnp-tile--type { grid-column: 1 / -1; }
body.ws26 .bnp-tile--deliver { grid-column: span 2; }
body.ws26 .bnp-type { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
body.ws26 .bnp-type.is-single { grid-template-columns: 1fr; }
body.ws26 .bnp-spec {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px;
  min-width: 0; padding: 16px 20px; border-radius: 16px; background: var(--ws-tile-inner);
}
body.ws26 .bnp-sheet.is-flip .bnp-spec { animation: bnp-in 520ms var(--ws-ease) both; animation-delay: calc(var(--i) * 80ms + 200ms); }
body.ws26 .bnp-spec-aa { color: var(--ws-text); font-size: clamp(48px, 5vw, 68px); line-height: 1; letter-spacing: -0.02em; min-width: 1.4em; text-align: center; }
body.ws26 .bnp-spec-meta { display: grid; gap: 6px; min-width: 0; }
body.ws26 .bnp-spec-role { color: var(--ws-text-3); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
body.ws26 .bnp-spec-name { color: var(--ws-text); font-size: 20px; font-weight: 680; letter-spacing: -0.02em; }
body.ws26 .bnp-spec-alt { color: var(--ws-text-2); font-size: 13px; font-weight: 500; }
body.ws26 .bnp-spec-fox { color: var(--ws-text); font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
body.ws26 .bnp-spec-fox--body { color: var(--ws-text-2); font-size: 15px; line-height: 1.45; }
body.ws26 .bnp-spec-link { justify-self: start; color: var(--ws-accent-text); font-size: 13px; font-weight: 600; text-decoration: none; }
body.ws26 .bnp-spec-link:hover { text-decoration: underline; }
@media (max-width: 980px) { body.ws26 .bnp-type { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  body.ws26 .bnp-tile--deliver { grid-column: auto; }
  body.ws26 .bnp-spec { grid-template-columns: 1fr; gap: 10px; }
}

/* per-block shuffle (left of the lock) */
body.ws26 .bnp-reroll {
  position: absolute; top: 16px; right: 52px;
  display: grid; place-items: center; width: 32px; height: 32px;
  border: 0; border-radius: 10px; background: transparent; color: var(--ws-text-3);
  cursor: pointer; opacity: 0.55;
  transition: opacity 180ms var(--ws-ease), background 180ms var(--ws-ease), color 180ms var(--ws-ease);
}
body.ws26 .bnp-reroll[hidden] { display: none; }
body.ws26 .bnp-reroll--head { top: 20px; right: 56px; }
body.ws26 .bnp-tile:hover .bnp-reroll, body.ws26 .bnp-head:hover .bnp-reroll, body.ws26 .bnp-reroll:focus-visible { opacity: 1; }
body.ws26 .bnp-reroll:hover { background: var(--ws-surface-2); color: var(--ws-text); }
body.ws26 .bnp-reroll:disabled, body.ws26 .bnp-tile:hover .bnp-reroll:disabled, body.ws26 .bnp-head:hover .bnp-reroll:disabled { opacity: 0.2; cursor: default; background: transparent; color: var(--ws-text-3); }
body.ws26 .bnp-reroll.is-spin svg { animation: bnp-spin 520ms var(--ws-ease); }
@keyframes bnp-spin { from { transform: rotate(-360deg); } to { transform: none; } }
body.ws26 .bnp-tile.is-reroll, body.ws26 .bnp-head.is-reroll { animation: bnp-in 460ms var(--ws-ease) both; }
body.ws26 .bnp-tile h3 { padding-right: 76px; }
body.ws26 .bnp-head-side { padding-right: 80px; }
body.ws26 .bnp-dl { right: 90px; }
body.ws26 .bnp-tile--palette h3, body.ws26 .bnp-tile--logo h3 { padding-right: 160px; }
@media (max-width: 980px) { body.ws26 .bnp-head-side { padding-right: 0; } body.ws26 .bnp-head { padding-top: 56px; } }
@media (prefers-reduced-motion: reduce) { body.ws26 .bnp-reroll.is-spin svg, body.ws26 .is-reroll { animation: none !important; } }
body.ws26 .bnp-tile:has(.bnp-reroll[hidden]) .bnp-dl { right: 54px; }

/* custom brand (coming soon) */
body.ws26 .bnp-custom {
  display: grid; gap: 10px; margin: -6px 0 20px; padding: 18px 20px;
  border: 1px dashed var(--ws-line); border-radius: var(--ws-r-md); background: var(--ws-surface);
}
body.ws26 .bnp-custom[hidden] { display: none; }
body.ws26 .bnp-custom-head { display: flex; align-items: center; gap: 10px; }
body.ws26 .bnp-custom-head label { color: var(--ws-text-3); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
body.ws26 .bnp-soon {
  padding: 4px 10px; border-radius: 999px; background: var(--ws-accent-soft); color: var(--ws-accent-text);
  font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.02em;
}
body.ws26 .bnp-custom-row { display: flex; gap: 10px; }
body.ws26 .bnp-custom-row input {
  flex: 1; min-width: 0; height: 48px; padding: 0 18px;
  border: 1px solid var(--ws-line); border-radius: 999px; background: var(--ws-tile-inner, var(--ws-surface-2)); color: var(--ws-text);
  font: inherit; font-size: 15px; opacity: 0.6; cursor: not-allowed;
}
body.ws26 .bnp-custom-row button:disabled { opacity: 0.45; cursor: not-allowed; }
body.ws26 .bnp-custom-note { margin: 0; color: var(--ws-text-2); font-size: 13px; line-height: 1.45; }
@media (max-width: 640px) { body.ws26 .bnp-custom-row { flex-direction: column; } body.ws26 .bnp-custom-row input { flex: none; } body.ws26 .bnp-custom-row button { min-height: 44px; } }
