:root {
  color-scheme: dark;
  --text: #e7eef7;
  --text-dim: #afc0d5;
  --text-muted: #9fb0c5;
  --border: rgba(125, 166, 230, 0.34);
  --border-bright: rgba(103, 232, 249, 0.72);
  --focus: #facc15;
}

/* A single starting point followed by the editing workspace. */
.app-layout {
  height: auto;
  min-height: 100vh;
  grid-template-rows: auto auto auto minmax(480px, 65vh) 180px;
  grid-template-columns: 230px minmax(0, 1fr) 350px;
  grid-template-areas: 'header header header' 'start start start' 'controls controls controls' 'left center right' 'footer footer right';
}
.creation-hub { grid-area: start; padding: 24px; border-bottom: 1px solid var(--border); background: #101c30; }
.creation-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.creation-heading h2 { font-size: 22px; color: var(--text-bright); margin-top: 4px; }
.creation-heading p, .creation-panel p, .editor-heading p { color: var(--text-dim); }
.step-eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.creation-methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.creation-method { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; padding: 16px; text-align: left; cursor: pointer; border: 1px solid var(--border); border-radius: 10px; background: #15263e; color: var(--text); font: inherit; }
.creation-method > span { grid-row: 1 / 3; color: var(--accent); font-weight: 700; }
.creation-method strong { font-size: 16px; }
.creation-method small { grid-column: 2; color: var(--text-dim); font-size: 12px; }
.creation-method:hover, .creation-method[aria-expanded="true"] { border-color: var(--accent); background: #193650; }
.creation-panel { padding: 20px; margin-top: 14px; border: 1px solid var(--border); border-radius: 10px; background: #0d1728; }
.creation-panel h3 { margin-bottom: 8px; font-size: 16px; }
.creation-panel .onomatopoeia-section { max-width: 660px; margin: 0; padding: 0; border: 0; }
.creation-panel .preset-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.creation-panel .field-help { margin: 8px 0 12px; }
.creation-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.creation-panel .btn, .beginner-guide .btn { min-height: 44px; }
#importStatus { margin-top: 10px; overflow-wrap: anywhere; }
.editor-heading { padding: 14px 16px; }
.beginner-guide { border: 1px solid var(--accent); border-radius: 10px; background: #132d40; padding: 16px; margin: 0 12px 16px; }
.guide-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; color: var(--accent); font-size: 12px; }
.beginner-guide h2 { font-size: 19px; margin: 12px 0 8px; }
.beginner-guide p { line-height: 1.8; }
.guide-target { outline: 3px solid #facc15 !important; outline-offset: 3px; }
.creation-hub [hidden], #beginnerGuide[hidden] { display: none !important; }
.workspace-toolbar { grid-area: controls; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 12px 20px; border-bottom: 1px solid var(--border); background: #0c1728; }
.toolbar-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.toolbar-output { margin-left: auto; }
.more-output { font-size: 12px; }
.more-output summary { cursor: pointer; padding: 8px; }
.more-output .toolbar-group { margin-top: 8px; }
.app-header h1 { margin-right: auto; }
.sidebar-left, .sidebar-right, .center-panel { min-height: 0; }
.center-panel { overflow-y: auto; }
.beginner-guide, .editor-heading { flex-shrink: 0; }

body {
  font-size: 14px;
  line-height: 1.5;
}

.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;
}

.ui-icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  filter: brightness(0) saturate(100%) invert(93%) sepia(11%) saturate(423%) hue-rotate(173deg) brightness(103%);
  pointer-events: none;
}

.heading-with-icon,
.app-header h1,
.sidebar-title-row,
.sidebar-title,
.btn {
  display: flex;
  align-items: center;
}

.heading-with-icon,
.sidebar-title {
  gap: 0.45rem;
}

.app-header h1 {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.45rem;
}

.app-header h1 .ui-icon {
  grid-row: 1 / 3;
  width: 1.3rem;
  height: 1.3rem;
}

.app-header h1 small {
  grid-column: 2;
  color: var(--text-dim);
  font-size: 12px;
}

:where(button, a, input, select, summary, canvas, [tabindex]):focus-visible {
  outline: 3px solid var(--focus) !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(250, 204, 21, 0.2) !important;
}

.btn {
  min-height: 36px;
  gap: 0.4rem;
  justify-content: center;
  font-size: 14px;
}

.btn-major,
.btn-play,
.btn-stop,
.btn-loop {
  min-height: 44px;
}

.btn-icon {
  width: 40px;
  min-width: 40px;
  padding: 0;
}

.btn-tiny {
  min-width: 30px;
  min-height: 30px;
  padding: 4px;
  font-size: 12px;
}

.app-header {
  gap: 8px;
  padding: 8px 12px;
}

.app-header h1,
.layer-name,
.param-row,
.param-row label,
.cb-label,
.automation-header label,
.automation-header select,
.onomatopoeia-section label,
.onomatopoeia-section input[type="text"],
.analysis-result,
.preset-btn,
.section-header,
.detail-empty,
.zoom-controls label {
  font-size: 14px;
}

.sidebar-title,
.view-mode-hint,
.field-help,
.privacy-link,
.footer-tab,
.log-line {
  color: var(--text-dim);
}

.field-help,
.view-mode-hint {
  font-size: 13px;
  line-height: 1.5;
}

.field-help {
  margin: -2px 0 8px;
}

.btn-add-layer {
  width: 100%;
  margin-bottom: 6px;
}

.zoom-level {
  margin-left: auto;
  color: var(--text-dim);
  font-size: 13px;
}

.onomatopoeia-section input[type="text"]::placeholder,
.faq-search-input::placeholder,
#faqSearchInput::placeholder {
  color: #a8c3d9;
  opacity: 0.82;
}

.onomatopoeia-section input[type="text"],
.automation-header select,
.param-row select,
.faq-search-input,
#faqSearchInput,
#faqCatFilter {
  min-height: 40px;
}

.preset-btn {
  min-height: 40px;
  padding: 7px 8px;
}

.layer-item {
  min-height: 44px;
  padding: 6px;
}

.layer-color-dot {
  width: 12px;
  height: 12px;
}

.section-header {
  width: 100%;
  min-height: 44px;
  border: 0;
  text-align: left;
  font-family: inherit;
}

.param-row {
  min-height: 36px;
  margin-bottom: 7px;
}

.param-row label {
  min-width: 104px;
  color: var(--text-dim);
}

.param-row input[type="range"] {
  min-height: 28px;
}

.param-row input[type="range"]::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
}

.param-val {
  width: 58px;
  min-width: 58px;
  font-size: 13px;
}

.sidebar-title-row {
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.sidebar-title-row .sidebar-title {
  margin: 0;
  border: 0;
  padding-inline: 4px 0;
}

.view-mode-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.view-mode-switch button {
  min-height: 36px;
  padding: 5px 10px;
  border: 0;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font: inherit;
  cursor: pointer;
}

.view-mode-switch button[aria-pressed="true"] {
  background: rgba(0, 212, 255, 0.2);
  color: #effcff;
}

.view-mode-hint {
  margin: 6px 4px 9px;
}

.mode-basic .advanced-only {
  display: none;
}

.canvas-alternative {
  margin: 6px 10px 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: rgba(10, 18, 34, 0.88);
}

.timeline-section {
  overflow: auto;
}

.canvas-alternative summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
}

.canvas-alternative summary::before {
  content: "+";
  width: 1.3rem;
  color: var(--accent);
}

.canvas-alternative[open] summary::before {
  content: "−";
}

.accessible-editor {
  max-height: 240px;
  overflow: auto;
  padding: 4px 10px 10px;
}

.accessible-editor-empty {
  padding: 12px 2px;
  color: var(--text-dim);
}

.accessible-editor-row {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) repeat(2, minmax(100px, 0.72fr)) auto;
  gap: 8px;
  align-items: end;
  padding: 9px 0;
  border-top: 1px solid rgba(125, 166, 230, 0.18);
}

.accessible-editor-row:first-child {
  border-top: 0;
}

.accessible-editor-row label {
  display: grid;
  gap: 4px;
  color: var(--text-dim);
  font-size: 13px;
}

.accessible-editor-row input {
  width: 100%;
  min-height: 40px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-bright);
  font: inherit;
}

.accessible-editor-row button,
.accessible-editor-add {
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.accessible-editor-add {
  margin: 6px 0;
}

canvas[role="application"] {
  min-height: 44px;
}

.footer-tab {
  min-height: 40px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-family: inherit;
}

.footer-tab[aria-selected="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.footer-links {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 2;
  display: flex;
  gap: 12px;
}

.footer-links .privacy-link {
  position: static;
  font-size: 12px;
}

.help-modal,
.faq-modal {
  color: var(--text);
}

.help-close,
.faq-close,
.help-tab,
.tut-nav .btn {
  min-height: 44px;
  min-width: 44px;
}

body.dialog-open {
  overflow: hidden;
}

.faq-overlay[hidden] {
  display: none !important;
}

.faq-q {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

@media (max-width: 1100px) {
  .app-layout {
    grid-template-columns: 230px minmax(0, 1fr) 330px;
  }

  .app-header h1 {
    width: 100%;
  }
}

@media (max-width: 800px) {
  .app-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto minmax(240px, auto);
    grid-template-areas: 'header' 'left' 'center' 'right' 'footer';
    width: 100%;
    min-width: 0;
  }

  .app-header,
  .sidebar-left,
  .center-panel,
  .sidebar-right,
  .app-footer {
    width: 100%;
    min-width: 0;
  }

  .app-header {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: sticky;
    top: 0;
  }

  .app-header h1 {
    grid-column: 1 / -1;
  }

  .header-sep {
    display: none;
  }

  .app-header .btn {
    width: 100%;
    min-height: 44px;
  }

  .sidebar-left,
  .sidebar-right {
    max-height: none;
    overflow: visible;
    border: 0;
    border-bottom: 1px solid var(--border);
  }

  .center-panel {
    overflow: visible;
  }

  .preset-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .app-footer {
    min-height: 240px;
  }

  .footer-links {
    position: static;
    order: 3;
    flex-wrap: wrap;
    padding: 8px 10px;
  }

  .accessible-editor-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .app-header {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .automation-header {
    display: grid;
    grid-template-columns: auto 1fr;
    padding: 8px 10px;
  }

  .accessible-editor-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .help-modal,
  .faq-modal {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }

  .faq-search-bar {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (pointer: coarse) {
  .btn,
  .btn-tiny,
  .preset-btn,
  .view-mode-switch button,
  .footer-tab {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  body {
    background-image: none;
  }

  .tutorial-highlight {
    animation: none !important;
  }
}

/* ── ワークスペース状態・用途別導線 ── */
.usage-license,
.recovery-banner,
.workspace-section {
  margin: 0 0 10px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(10, 22, 42, 0.9);
}

.usage-license {
  display: grid;
  gap: 3px;
  border-color: rgba(68, 255, 136, 0.5);
  background: rgba(20, 90, 60, 0.18);
  font-size: 12px;
}

.usage-license strong { color: #8fffb1; }
.usage-license a { color: #93e8ff; }

.recovery-banner {
  display: grid;
  gap: 6px;
  border-color: #facc15;
  color: #fff2a8;
}

.recovery-banner[hidden] { display: none; }
.compact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.compact-field { display: grid; gap: 4px; margin-bottom: 7px; color: var(--text-dim); font-size: 12px; }
.compact-field select,
.fixed-seed-control input[type="number"] { width: 100%; min-height: 36px; }

.workspace-section summary {
  padding: 3px;
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.workspace-section > :not(summary) { margin-top: 7px; }
.workspace-section h3 { margin-top: 10px; color: var(--text-dim); font-size: 12px; }
.template-grid { display: grid; gap: 5px; }
.template-btn { display: grid; gap: 2px; width: 100%; padding: 7px; text-align: left; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-panel); color: var(--text); cursor: pointer; }
.template-btn:hover { border-color: var(--accent); }
.template-btn small { color: var(--text-dim); }
.autosave-status { color: #9bffd0; font-size: 12px; }
.autosave-status.status-error { color: #ff9aae; }
.fixed-seed-control { display: grid; grid-template-columns: auto 1fr; gap: 6px; align-items: center; font-size: 12px; }
.fixed-seed-control input[type="number"] { min-width: 0; padding: 5px; background: rgba(0,0,0,.3); color: var(--text); border: 1px solid var(--border); border-radius: 5px; }
.ab-grid { display: grid; grid-template-columns: minmax(90px, 1fr) 1fr; gap: 5px; align-items: center; font-size: 11px; color: var(--text-dim); }
.workspace-wide { width: 100%; }
.history-list,
.sound-history-list,
.favorite-list { display: grid; gap: 3px; }
.history-list button,
.sound-history-list button,
.favorite-list button { min-height: 30px; padding: 4px 6px; border: 1px solid var(--border); border-radius: 5px; background: rgba(255,255,255,.04); color: var(--text); text-align: left; cursor: pointer; }
.history-list button:disabled { color: var(--accent); cursor: default; }
.favorite-list > div { display: grid; grid-template-columns: 1fr 32px; gap: 4px; }
.favorite-list p { color: var(--text-dim); font-size: 12px; }

/* ── 高度な書き出し ── */
.export-panel { display: none; grid-template-columns: repeat(3, minmax(240px, 1fr)); gap: 12px; padding: 12px; }
.export-panel.active { display: grid; }
.export-panel section { padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: rgba(255,255,255,.025); }
.export-panel h2 { margin-bottom: 8px; color: var(--accent); font-size: 14px; }
.export-settings,
.export-actions { align-content: start; }
.export-settings label { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; align-items: center; margin: 5px 0; }
.export-settings select,
.export-actions select { min-height: 34px; background: #111a31; color: var(--text); border: 1px solid var(--border); border-radius: 5px; }
.export-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.export-actions h2 { grid-column: 1 / -1; }
.export-actions label { display: grid; gap: 3px; color: var(--text-dim); font-size: 11px; }
.compatibility-panel { font-size: 12px; }
.compatibility-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin: 7px 0; padding: 0; list-style: none; }
.compat-ok { color: #8fffb1; }
.compat-warning { color: #ffd585; }
.compatibility-table { display: grid; gap: 3px; margin: 8px 0; }
.compatibility-table [role="row"] { display: grid; grid-template-columns: 100px 1fr; gap: 6px; padding: 4px; background: rgba(255,255,255,.035); }
#audioDiagnosticResult { margin-top: 6px; color: var(--text-dim); }

@media (max-width: 1100px) {
  .export-panel { grid-template-columns: 1fr 1fr; }
  .compatibility-panel { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .export-panel { grid-template-columns: 1fr; }
  .compatibility-panel { grid-column: auto; }
}

.pwa-install-hint {
  flex: 1 1 220px;
  color: #a9eaf5;
  font-size: 12px;
}

.pwa-install-hint[hidden],
#btnInstallApp[hidden] { display: none; }

.pro-seo-faq {
  width: min(920px, calc(100% - 32px));
  margin: 28px auto 56px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(10, 22, 42, 0.95);
  color: var(--text);
}

.pro-seo-faq h2 { color: var(--accent); font-size: 20px; }
.seo-faq-lead { margin: 7px 0 14px; color: var(--text-dim); }
.pro-seo-faq .seo-faq-item { margin-top: 7px; border: 1px solid var(--border); border-radius: 7px; background: rgba(255,255,255,.025); overflow: clip; }
.pro-seo-faq .seo-faq-question { padding: 11px 13px; color: var(--text-bright); cursor: pointer; font-weight: 700; }
.pro-seo-faq .seo-faq-answer { padding: 0 13px 12px; color: var(--text-dim); line-height: 1.7; }
/* Keep the starting area first and fully usable on narrow screens. */
@media (max-width: 1000px) {
  .creation-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creation-heading { align-items: start; flex-direction: column; gap: 6px; }
}
@media (max-width: 800px) {
  .app-layout { grid-template-rows: auto auto auto auto auto auto minmax(240px, auto); grid-template-areas: 'header' 'start' 'controls' 'left' 'center' 'right' 'footer'; }
  .app-header { position: static; }
  .creation-hub { padding: 16px; min-width: 0; }
  .creation-heading h2 { font-size: 19px; }
  .creation-method { padding: 12px; grid-template-columns: 1fr; }
  .creation-method > span { grid-row: auto; }
  .creation-method small { grid-column: 1; }
  .creation-panel { padding: 14px; }
  .toolbar-output { margin-left: 0; }
  .workspace-toolbar { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Full control guide shares the beginner tour and remains reachable after a jump. */
.guide-topic-label { display: block; margin-top: 12px; color: var(--text-dim); font-size: 13px; }
#guideTopic { width: 100%; min-width: 0; min-height: 44px; margin-top: 4px; padding: 8px; background: #0d1728; color: var(--text); border: 1px solid var(--border); border-radius: 6px; font: inherit; }
#guideNotice { color: #facc15; font-size: 13px; margin-top: 8px; }
#guideNotice:empty { display: none; }
.guide-return { position: fixed; right: 20px; bottom: 20px; z-index: 110; min-height: 44px; box-shadow: 0 4px 20px #0008; }
#btnGuideReturn[hidden] { display: none !important; }
.automation-guide-link { margin: 10px; min-height: 44px; }
@media (max-width: 800px) {
  .guide-return { right: 12px; bottom: 12px; }
  .app-header { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app-header .btn { padding: 6px; font-size: 12px; }
}
.preset-filters { display:grid; grid-template-columns:2fr repeat(3,1fr); gap:12px; align-items:end; }
.preset-filters input, .preset-filters select { width:100%; min-height:44px; padding:8px; background:#111e32; color:var(--text); border:1px solid var(--border); border-radius:6px; font:inherit; }
.preset-results { display:flex; gap:12px; align-items:center; justify-content:space-between; margin:12px 0; color:var(--text-dim); }
#presetGrid { grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); max-height:440px; overflow-y:auto; padding:5px; }
#presetGrid .preset-btn { display:flex; flex-direction:column; align-items:flex-start; gap:6px; text-align:left; padding:14px; min-height:116px; white-space:normal; }
#presetGrid .preset-btn span { color:var(--accent); font-size:12px; }
#presetGrid .preset-btn small { color:var(--text-dim); font-size:12px; line-height:1.6; }
.preset-empty { grid-column:1/-1; padding:20px; }
@media(max-width:800px) { .preset-filters { grid-template-columns:1fr 1fr; } .preset-filters label:first-child { grid-column:1/-1; } #presetGrid { grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); max-height:460px; } .preset-results { flex-wrap:wrap; } }
/* Two independently scrollable editors with an accessible drag boundary. */
.editor-split { display: flex; flex-direction: column; flex: 1 0 360px; min-height: 360px; min-width: 0; overflow: hidden; }
.editor-split .timeline-section { min-height: 0; overflow: auto; }
.editor-split .automation-section { flex: 1 1 0; min-height: 0; overflow: auto; }
.editor-divider { flex: 0 0 28px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; border-block: 1px solid #537496; background: #192b43; color: #c7e9ff; font-size: 11px; cursor: row-resize; touch-action: none; user-select: none; }
.editor-divider:hover, .editor-divider:focus-visible { background: #214d65; color: #fff; outline: 2px solid var(--accent); outline-offset: -2px; }
.resizing-editor, .resizing-editor * { cursor: row-resize !important; user-select: none !important; }
.editor-split .timeline-section, .editor-split .automation-section { scrollbar-gutter: stable; scrollbar-color: #7598bd #101c2e; scrollbar-width: auto; }
.editor-split ::-webkit-scrollbar { width: 16px; height: 16px; }
.editor-split ::-webkit-scrollbar-track { background: #101c2e; }
.editor-split ::-webkit-scrollbar-thumb { background: #7598bd; border: 3px solid #101c2e; border-radius: 8px; min-height: 40px; }
.editor-split ::-webkit-scrollbar-thumb:hover { background: #a2d7f5; }
@media (max-width: 800px) { .editor-split { flex: none; height: 560px; } .editor-divider { flex-basis: 36px; } }
.sound-variations { margin-top: 16px; padding: 12px; }
.sound-variations p { line-height: 1.7; }
.variation-mix { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.variation-mix label { display: grid; gap: 6px; min-width: 0; max-width: 100%; }
.variation-mix select { max-width: 100%; min-width: 0; min-height: 44px; background: #111e32; color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: 8px; }
.variation-adjustments { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; }
.variation-adjustments label { display: block; margin-bottom: 6px; }
.variation-stepper { display: flex; align-items: center; gap: 6px; }
.variation-stepper input { width: 86px; min-height: 44px; padding: 8px; background: #111e32; color: var(--text); border: 1px solid var(--border); border-radius: 6px; font: inherit; text-align: center; }
.variation-stepper .btn { min-width: 44px; min-height: 44px; }
