.voice-main { max-width: 1240px; padding-top: 14px; }
.voice-tool { overflow: hidden; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--shadow); }
.voice-tool-head { min-height: 58px; padding: 10px 16px 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--rule); }
.voice-tool-head > div { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.voice-tool-head .eyebrow { margin: 0; white-space: nowrap; font-size: .6rem; }
.voice-tool-head h1 { margin: 0; font: 700 1.2rem/1.05 var(--serif); letter-spacing: -.025em; }
.voice-tool-head p { margin: 0; color: var(--muted); font-size: .78rem; }
.voice-workspace { display: grid; grid-template-columns: minmax(285px, .55fr) minmax(0, 1.45fr); min-height: 610px; }
.voice-controls { padding: 20px; background: #fbf8ef; border-right: 1px solid var(--rule); }
.voice-controls h2 { margin: 0 0 7px; font: 700 1.52rem/1.1 var(--serif); }
.voice-controls > p { margin: 0 0 16px; color: var(--muted); font-size: .82rem; }
.voice-field { display: grid; gap: 5px; margin-top: 12px; }
.voice-field > span, .voice-edit-grid label span { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.voice-field input, .voice-field select, .voice-edit-grid input { width: 100%; min-height: 42px; padding: 8px 10px; color: var(--ink); background: white; border: 1px solid var(--rule); border-radius: 6px; }
.voice-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 15px 0 0; }
.voice-quick button { min-height: 42px; padding: 7px; border: 1px solid var(--rule); border-radius: 6px; color: var(--ink); background: white; font-size: .75rem; font-weight: 750; cursor: pointer; }
.voice-quick button[aria-pressed="true"] { color: white; background: var(--ink); border-color: var(--ink); }
.voice-edit { margin-top: 15px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.voice-edit summary { padding: 11px 2px; cursor: pointer; font-size: .8rem; font-weight: 800; }
.voice-edit-grid { padding: 2px 0 13px; display: grid; gap: 8px; }
.voice-edit-grid label { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 8px; }
.voice-edit-grid input { min-height: 36px; font-size: .78rem; }
.voice-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; }
.voice-actions button { min-height: 42px; padding: 8px; border: 1px solid var(--rule); border-radius: 6px; background: white; color: var(--ink); font-weight: 800; cursor: pointer; }
.voice-actions .primary-button { grid-column: 1 / -1; background: var(--ink); color: white; border-color: var(--ink); }
.voice-status { min-height: 34px; margin: 10px 0 0; color: var(--muted); font-size: .72rem; }
.voice-preview { min-width: 0; padding: 24px; display: grid; place-items: center; background: #183b34; }
.voice-sheet { width: min(760px, 100%); min-height: 540px; padding: clamp(22px, 4vw, 42px); display: grid; align-content: center; gap: 10px; color: var(--ink); background: #fffdf7; border-radius: 12px; box-shadow: 0 20px 48px rgba(0,0,0,.2); }
.voice-sheet[data-theme="bright"] { color: #24344b; background: #fffaf0; }
.voice-sheet[data-theme="grayscale"] { color: #161616; background: white; }
.voice-sheet-head { margin-bottom: 8px; text-align: center; }
.voice-sheet-head h2 { margin: 0; font: 700 clamp(1.7rem, 4vw, 3rem)/1 var(--serif); letter-spacing: -.035em; }
.voice-sheet-head p { margin: 7px 0 0; color: var(--muted); font-weight: 700; }
.voice-level { position: relative; width: 100%; min-height: 76px; padding: 10px 94px 10px 88px; display: grid; align-content: center; gap: 2px; text-align: left; border: 2px solid transparent; border-radius: 9px; color: inherit; cursor: pointer; transition: transform .16s ease, border-color .16s ease; }
.voice-level:hover { transform: translateX(2px); }
.voice-level.is-current { border-color: currentColor; box-shadow: 0 0 0 3px rgba(255,255,255,.68) inset; }
.voice-number { position: absolute; left: 14px; top: 50%; width: 56px; height: 56px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 50%; color: white; background: var(--ink); font-size: 1.55rem; font-weight: 850; }
.voice-label { font: 700 clamp(1.18rem, 2.3vw, 1.65rem)/1.08 var(--serif); }
.voice-example { color: #4b625b; font-size: .78rem; font-weight: 650; }
.current-cue { position: absolute; right: 12px; top: 12px; font-size: .58rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.level-0 { background: #e8eee9; }.level-1 { background: #dceee7; }.level-2 { background: #cde9dd; }.level-3 { background: #f4e2bb; }.level-4 { background: #f0c7bb; }
.voice-sheet[data-theme="bright"] .level-0 { background:#e9edf5 }.voice-sheet[data-theme="bright"] .level-1 { background:#d8f0f1 }.voice-sheet[data-theme="bright"] .level-2 { background:#d8eed2 }.voice-sheet[data-theme="bright"] .level-3 { background:#fff0ad }.voice-sheet[data-theme="bright"] .level-4 { background:#ffd0b8 }
.voice-sheet[data-theme="grayscale"] .level-0 { background:#f1f1f1 }.voice-sheet[data-theme="grayscale"] .level-1 { background:#e8e8e8 }.voice-sheet[data-theme="grayscale"] .level-2 { background:#dedede }.voice-sheet[data-theme="grayscale"] .level-3 { background:#d3d3d3 }.voice-sheet[data-theme="grayscale"] .level-4 { background:#c8c8c8 }
.voice-sheet:fullscreen { width: 100vw; height: 100vh; max-width: none; border-radius: 0; padding: clamp(28px, 5vw, 80px); }
.voice-content { max-width: 980px; margin: 0 auto; }
.voice-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.voice-steps article { padding: 22px; background: var(--card); border: 1px solid var(--rule); border-radius: 8px; }
.voice-steps strong { display: block; margin-bottom: 8px; font: 700 1.12rem var(--serif); }
.voice-steps p { margin: 0; color: var(--muted); font-size: .86rem; }
.related-tool { margin: 60px 0 0; padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 22px; color: white; background: var(--ink); border-radius: 10px; }
.related-tool h2 { margin: 0 0 5px; font: 700 1.8rem var(--serif); }.related-tool p { margin: 0; color: #c5d6cf; }.related-tool a { flex: 0 0 auto; padding: 11px 16px; color: var(--ink); background: #f7e8b8; border-radius: 6px; text-decoration: none; font-weight: 800; }
@media (max-width: 900px) { .voice-workspace { grid-template-columns: 1fr; }.voice-controls { border-right: 0; border-bottom: 1px solid var(--rule); }.voice-preview { padding: 18px; }.voice-steps { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .voice-tool-head { align-items: flex-start; flex-direction: column; gap: 4px; }.voice-tool-head > div { align-items: flex-start; flex-direction: column; gap: 3px; }.voice-tool-head p { display: none; }.voice-controls { padding: 17px 15px; }.voice-preview { padding: 10px; }.voice-sheet { padding: 16px 10px; }.voice-level { min-height: 70px; padding-left: 70px; padding-right: 68px; }.voice-number { left: 9px; width: 48px; height: 48px; }.voice-example { font-size: .67rem; }.related-tool { align-items: flex-start; flex-direction: column; } }
@media print {
  @page { size: letter portrait; margin: .35in; }
  body { background: white; }
  body > :not(main), .voice-tool-head, .voice-controls, tool-feedback, .voice-content { display: none !important; }
  main.voice-main { max-width: none; padding: 0; }
  .voice-tool { border: 0; box-shadow: none; }
  .voice-workspace { display: block; min-height: 0; }
  .voice-preview { padding: 0; background: white; }
  .voice-sheet { width: 100%; min-height: 9.9in; padding: .3in; box-shadow: none; border-radius: 0; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
