.oled-tool-wrap { position: relative; background: var(--bg); }
.oled-stage {
  position: relative;
  height: min(74dvh, 620px);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  text-align: center;
  overflow: hidden;
  user-select: none;
  cursor: pointer;
  box-sizing: border-box;
}
.oled-stage.is-expanded {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-height: none;
  min-height: 100dvh;
  z-index: 9999;
}
.oled-stage.is-live .oled-copy,
.oled-stage.is-live .oled-cta { display: none !important; }
.oled-copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  pointer-events: none;
}
.oled-pill {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.oled-stage[data-field-tone="dark"] .oled-pill {
  background: rgba(246, 241, 232, 0.14);
  color: #f6f1e8;
  border: 1px solid rgba(246, 241, 232, 0.28);
}
.oled-stage[data-field-tone="light"] .oled-pill {
  background: rgba(20, 17, 13, 0.08);
  color: #1c1712;
  border: 1px solid rgba(20, 17, 13, 0.2);
}
.oled-title {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.oled-lede {
  margin: 12px auto 0;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.5;
}
.oled-hint {
  margin: 12px auto 0;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.oled-stage[data-field-tone="dark"] .oled-title,
.oled-stage[data-field-tone="dark"] .oled-lede,
.oled-stage[data-field-tone="dark"] .oled-hint { color: #f6f1e8; }
.oled-stage[data-field-tone="light"] .oled-title,
.oled-stage[data-field-tone="light"] .oled-lede,
.oled-stage[data-field-tone="light"] .oled-hint { color: #1c1712; }
.oled-cta {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  padding: 14px 30px;
  min-height: 50px;
  border-radius: 999px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
}
.oled-stage[data-field-tone="dark"] .oled-cta {
  background: #f6f1e8;
  color: #14110d;
  border-color: rgba(20, 17, 13, 0.35);
}
.oled-stage[data-field-tone="light"] .oled-cta {
  background: #14110d;
  color: #f6f1e8;
  border-color: rgba(255, 255, 255, 0.7);
}
.oled-cta:hover { filter: brightness(0.92); }
.oled-grid-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-size: 25% 25%;
}
.oled-stage[data-field-tone="dark"] .oled-grid-layer {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
}
.oled-stage[data-field-tone="light"] .oled-grid-layer {
  background-image:
    linear-gradient(to right, rgba(20, 17, 13, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 17, 13, 0.16) 1px, transparent 1px);
}
.oled-crosshair-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.oled-cross-h, .oled-cross-v, .oled-cross-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.oled-cross-h { width: 72px; height: 1px; }
.oled-cross-v { width: 1px; height: 72px; }
.oled-cross-dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; }
.oled-stage[data-field-tone="dark"] .oled-cross-h,
.oled-stage[data-field-tone="dark"] .oled-cross-v { background: rgba(255, 255, 255, 0.45); }
.oled-stage[data-field-tone="dark"] .oled-cross-dot { color: rgba(255, 255, 255, 0.55); }
.oled-stage[data-field-tone="light"] .oled-cross-h,
.oled-stage[data-field-tone="light"] .oled-cross-v { background: rgba(20, 17, 13, 0.45); }
.oled-stage[data-field-tone="light"] .oled-cross-dot { color: rgba(20, 17, 13, 0.55); }
.oled-hud {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  margin: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(20, 17, 13, 0.84);
  color: #f6f1e8;
  border: 1px solid rgba(246, 241, 232, 0.25);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}
.oled-deck {
  background: var(--surface);
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding: 20px;
  display: grid;
  gap: 20px;
}
@media (min-width: 800px) {
  .oled-deck {
    padding: 24px max(32px, calc((100% - var(--page)) / 2));
    grid-template-columns: 1.35fr 1fr;
    align-items: start;
    gap: 28px;
  }
}
.oled-deck-group { display: grid; gap: 12px; min-width: 0; }
.oled-deck-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.oled-deck-label {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.oled-readout {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
}
.oled-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.oled-presets button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  padding: 6px 4px;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  cursor: pointer;
}
.oled-presets button .p-pct { font-size: 14px; font-weight: 700; line-height: 1.2; }
.oled-presets button .p-hex { font-size: 12px; color: var(--muted); line-height: 1.2; }
.oled-presets button[aria-pressed="true"] {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}
.oled-presets button[aria-pressed="true"] .p-hex { color: var(--accent); }
.oled-slider-row {
  display: grid;
  gap: 6px;
}
.oled-slider-row input[type="range"] {
  width: 100%;
  min-height: 36px;
  accent-color: var(--primary);
  cursor: pointer;
}
.oled-overlay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.oled-toggle, .oled-density button {
  min-height: 44px;
  padding: 8px 14px;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.oled-toggle[aria-pressed="true"],
.oled-density button[aria-pressed="true"] {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--primary);
}
.oled-density { display: inline-flex; gap: 6px; }
.oled-deck-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.faq-accordion {
  display: grid;
  gap: 10px;
  margin: 16px 0 28px;
  max-width: 44rem;
}
.faq-accordion details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
}
.faq-accordion summary {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::after {
  content: "+";
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  flex: 0 0 auto;
}
.faq-accordion details[open] summary::after { content: "−"; }
.faq-accordion details p {
  margin: 12px 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}
@media (max-width: 640px) {
  .oled-stage { min-height: 360px; height: auto; padding: 24px 16px; }
  .oled-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oled-toggle { width: 100%; }
  .oled-density { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
}