.tone-tool { max-width: 1150px; padding-block: clamp(24px, 5vw, 64px); }
.tone-tool .tone-intro { max-width: 54rem; }
.tone-tool .page-title { font-size: clamp(2rem, 4.5vw, 3.65rem); line-height: 1.12; font-weight: 300; }
.tone-tool .page-intro { margin: 1rem 0 1.4rem; max-width: 48rem; }
.tone-actions { display: flex; gap: 10px 20px; align-items: center; flex-wrap: wrap; }
.tone-choose, #tone-sample { min-height: 44px; padding: .65rem 1rem; font: inherit; cursor: pointer; }
.tone-choose { position: relative; display: inline-flex; align-items: center; color: white; background: #213a42; }
.tone-choose input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.tone-choose:focus-within, #tone-sample:focus-visible { outline: 3px solid #2062ac; outline-offset: 3px; }
#tone-sample, .tone-read a { text-decoration: underline; text-underline-offset: .18em; }
#tone-help, #tone-status, .tone-panel p, .tone-axis, .tone-count { font-size: .91rem; color: #4b5152; }
#tone-help { margin-top: .55rem; }
#tone-status { margin: 1.4rem 0 .45rem; overflow-wrap: anywhere; }
.tone-work { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(265px, 1fr); align-items: start; gap: clamp(16px, 3vw, 36px); }
.tone-work[hidden] { display: none; }
.tone-picture { background: #253338; display: grid; place-items: center; padding: clamp(6px, 1.5vw, 18px); min-height: 190px; }
#tone-image { display: block; max-width: 100%; max-height: 65vh; width: auto; height: auto; }
.tone-panel { min-width: 0; }
.tone-panel fieldset { border: 0; min-width: 0; }
.tone-panel legend, .tone-panel h2 { font-size: 1.12rem; font-weight: 500; }
.tone-band { margin: .65rem 0 1rem; }
.tone-band label { display: block; }
.tone-band label:first-child { display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; font-weight: 500; }
.tone-band input[type=range] { width: 100%; min-height: 30px; accent-color: #245888; }
.tone-count { display: block; margin-bottom: .3rem; }
.tone-band output { font-variant-numeric: tabular-nums; font-weight: 600; }
#tone-hist { display: block; width: 100%; height: 72px; margin-top: .4rem; background: #ebe6da; }
.tone-axis { display: flex; justify-content: space-between; }
.tone-read { max-width: 48rem; }
.tone-read h2 { margin-top: 2rem; font-weight: 350; }
.tone-read p, .tone-read ul { margin-top: .65rem; }
@media (max-width: 720px) {
  .tone-work { grid-template-columns: 1fr; }
  .tone-picture { min-height: 0; }
  .tone-band label:first-child, .tone-band input[type=range] { min-height: 44px; }
}
