.fx-tone { display: grid; }
.fx-tone .fx-body { display: grid; gap: 16px; min-width: 0; color: var(--fx-ink); font-size: 16px; line-height: 1.4; }
.fx-tone .fx-note { margin: 0; }
.fx-tone .fx-note ol { margin: 0; padding-left: 24px; }
.fx-tone .fx-note li + li { margin-top: 6px; }
.fx-tone .fx-goal { margin: 0; }
.fx-tone .fx-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-tone .fx-controls legend { padding: 0; margin-bottom: 10px; font-size: 16px; font-weight: 800; }
.fx-tone .fx-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-tone .fx-btn { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 44px; min-width: 44px; max-width: 100%; padding: 8px 12px; background: var(--fx-paper); color: var(--fx-ink); font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.fx-tone .fx-btn:has(input:checked) { background: var(--fx-sun-pale); color: var(--fx-ink); border-color: var(--fx-ink); }
.fx-tone .fx-btn:has(#fx-tone-report:checked) { background: var(--fx-mint); }
.fx-tone .fx-btn:focus-within { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-tone .fx-scene { box-sizing: border-box; height: 400px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-rows: minmax(0, 1fr); gap: 12px; padding: 12px; }
.fx-tone .fx-office, .fx-tone .fx-paper { box-sizing: border-box; min-width: 0; border: 2px solid var(--fx-ink); border-radius: 8px; padding: 12px; background: var(--fx-paper); }
.fx-tone .fx-office { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.fx-tone .fx-sign { text-align: center; line-height: 1.3; }
.fx-tone .fx-office-art { display: block; width: 100%; max-width: 260px; height: 165px; }
.fx-tone .fx-office-art .fx-shirt { fill: var(--fx-mint-pale); stroke: var(--fx-ink); stroke-width: 3; }
.fx-tone .fx-office-art .fx-face { fill: var(--fx-sun-pale); stroke: var(--fx-ink); stroke-width: 3; stroke-linejoin: round; }
.fx-tone .fx-office-art .fx-hair, .fx-tone .fx-office-art .fx-eye { fill: var(--fx-ink); }
.fx-tone .fx-office-art .fx-line { fill: none; stroke: var(--fx-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fx-tone .fx-office-art .fx-monitor { fill: var(--fx-sky-pale); stroke: var(--fx-ink); stroke-width: 3; }
.fx-tone .fx-office-art .fx-desk { fill: var(--fx-sun); stroke: var(--fx-ink); stroke-width: 3; }
.fx-tone .fx-office-art .fx-paper-line { fill: var(--fx-paper); stroke: var(--fx-ink); stroke-width: 2; }
.fx-tone .fx-paper { display: grid; grid-template-rows: auto 44px minmax(0, 1fr); gap: 10px; align-content: start; }
.fx-tone .fx-marks { display: grid; align-items: center; border-bottom: 1px solid var(--fx-muted); }
.fx-tone .fx-marks > .fx-state { grid-area: 1 / 1; }
.fx-tone .fx-scrawl { font-size: 32px; font-style: italic; transform: rotate(-8deg); transform-origin: left center; }
.fx-tone .fx-exclaim { font-size: 28px; font-weight: 800; }
.fx-tone .fx-neat { font-size: 16px; }
.fx-tone .fx-stack { display: grid; min-width: 0; }
.fx-tone .fx-stack > .fx-state { grid-area: 1 / 1; margin: 0; min-width: 0; }
.fx-tone .fx-message { align-content: start; }
.fx-tone .fx-message > p { align-self: start; overflow-wrap: anywhere; }
.fx-tone .fx-message .fx-s1 { font-style: italic; }
.fx-tone .fx-message .fx-s5 { font-style: italic; }
.fx-tone .fx-state { visibility: hidden; }
.fx-tone:has(#fx-tone-text:checked) .fx-s1, .fx-tone:has(#fx-tone-chatty:checked) .fx-s2, .fx-tone:has(#fx-tone-friendly:checked) .fx-s3, .fx-tone:has(#fx-tone-report:checked) .fx-s4, .fx-tone:has(#fx-tone-stiff:checked) .fx-s5 { visibility: visible; }
.fx-tone .fx-dial { box-sizing: border-box; height: 300px; display: grid; grid-template-rows: 24px 24px 164px 48px; justify-items: center; align-content: center; gap: 4px; padding: 10px; }
.fx-tone .fx-dial-ends { display: flex; justify-content: space-between; width: 100%; max-width: 320px; font-size: 14px; }
.fx-tone .fx-dial-art { display: block; width: 200px; max-width: 100%; height: 164px; }
.fx-tone .fx-dial-face { fill: var(--fx-paper); stroke: var(--fx-ink); stroke-width: 3; }
.fx-tone .fx-glow { fill: none; stroke: var(--fx-mint); stroke-width: 10; }
.fx-tone .fx-ticks circle { fill: var(--fx-sun); stroke: var(--fx-ink); stroke-width: 2; }
.fx-tone .fx-dial-numbers { fill: var(--fx-ink); font-size: 16px; font-weight: 800; }
.fx-tone .fx-needle { transform-origin: 110px 90px; transform: rotate(-80deg); transition: transform 0.35s; }
.fx-tone .fx-needle path { fill: var(--fx-ink); stroke: var(--fx-ink); stroke-width: 2; }
.fx-tone .fx-hub { fill: var(--fx-ink); }
.fx-tone:has(#fx-tone-chatty:checked) .fx-needle { transform: rotate(-40deg); }
.fx-tone:has(#fx-tone-friendly:checked) .fx-needle { transform: rotate(0deg); }
.fx-tone:has(#fx-tone-report:checked) .fx-needle { transform: rotate(40deg); }
.fx-tone:has(#fx-tone-stiff:checked) .fx-needle { transform: rotate(80deg); }
.fx-tone:has(#fx-tone-report:checked) .fx-needle path { fill: var(--fx-mint); }
.fx-tone .fx-clicks { width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; }
.fx-tone .fx-clicks > span { display: grid; place-items: center; box-sizing: border-box; min-width: 0; padding: 3px; border: 1px solid var(--fx-muted); border-radius: 5px; background: var(--fx-paper); font-size: 12px; line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
.fx-tone:has(#fx-tone-text:checked) .fx-c1, .fx-tone:has(#fx-tone-chatty:checked) .fx-c2, .fx-tone:has(#fx-tone-friendly:checked) .fx-c3, .fx-tone:has(#fx-tone-stiff:checked) .fx-c5 { background: var(--fx-sun-pale); border-color: var(--fx-ink); font-weight: 800; }
.fx-tone:has(#fx-tone-report:checked) .fx-c4 { background: var(--fx-mint); border-color: var(--fx-ink); font-weight: 800; }
@container (max-width: 480px) { .fx-tone .fx-scene { height: 620px; grid-template-columns: minmax(0, 1fr); grid-template-rows: 200px minmax(0, 1fr); } .fx-tone .fx-office { padding: 8px; gap: 4px; } .fx-tone .fx-office-art { height: 130px; } }
@media (prefers-reduced-motion: reduce) { .fx-tone .fx-needle { transition: none; } }