/* Owner-selected sizing concept 3. Keep the original app and audio behavior. */
aside { width: 316px; }
aside > div:first-child > div:first-child { padding: 24px 20px; min-height: 100px; }
aside h1 { font-size: 24px; line-height: 1.25; letter-spacing: 0; }
aside h1 + span { font-size: 12px; }
aside nav { padding: 16px; }
aside nav button { min-height: 100px; padding: 18px 16px; gap: 16px; }
aside nav button > svg { width: 34px; height: 34px; flex-shrink: 0; }
aside nav button > div > span:first-child { font-size: 26px; line-height: 1.35; }
aside nav button > div > span:last-child { font-size: 20px; line-height: 1.4; margin-top: 4px; }
.dark aside nav button > div > span:last-child { color: #a8b3c8; }
.lsv-home-link { margin: 12px 20px 0; min-height: 48px; display: flex; align-items: center; font-size: 22px; line-height: 1.4; font-weight: 600; }
.dark .lsv-home-link { color: #becbe0; }
aside > div:last-child > button { min-height: 48px; font-size: 16px; }
aside > div:last-child > button svg { width: 20px; height: 20px; }
main { padding: 16px 20px; min-width: 0; }
main > div { max-width: 1320px; }
main [class~="text-xs"] { font-size: 19px; line-height: 1.5; }
main [class~="text-sm"] { font-size: 22px; line-height: 1.5; }
main [class~="text-lg"] { font-size: 26px; line-height: 1.4; }
main [class~="text-2xl"] { font-size: 36px; line-height: 1.3; }
main [class~="text-3xl"] { font-size: 48px; line-height: 1.15; }
main [class~="text-[9px]"] { font-size: 15px; }
main [class~="text-[10px]"], main [class~="text-[11px]"] { font-size: 18px; line-height: 1.4; }
main kbd { font-size: 17px; line-height: 1.4; }
.dark main [class~="text-gray-400"] { color: #b7c1d2; }
.dark main [class~="text-gray-500"] { color: #9daac0; }
.lsv-practice { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.lsv-practice-primary { grid-column: auto; display: flex; flex-direction: column; gap: 16px; }
.lsv-practice-primary > * { margin-block: 0 !important; }
.lsv-practice-primary > div:has(canvas) { padding: 18px 20px; border-radius: 22px; }
.lsv-practice-primary > div:has(canvas) > div:first-child { gap: 12px; flex-wrap: wrap; }
.lsv-practice-primary > div:has(canvas) > div:first-child > span { font-size: 23px; letter-spacing: 0; }
.lsv-practice-primary > div:has(canvas) button { min-height: 52px; padding: 10px 16px; font-size: 21px; line-height: 1.4; white-space: nowrap; }
.lsv-practice-primary > div:has(canvas) > div:has(> canvas) { height: 46px; margin-top: 14px; }
.lsv-practice-primary > div:has(canvas) svg { width: 27px; height: 27px; }
.lsv-practice-primary > div:has(.lsv-eq-panel) > span { font-size: 26px; line-height: 1.35; letter-spacing: 0; }
.lsv-eq-panel { display: flex; flex-direction: column; padding: 20px; border-radius: 22px; }
.lsv-eq-panel > div:nth-child(2) { order: 0; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 10px; }
.lsv-eq-panel > div:nth-child(2) > div:first-child { flex-wrap: wrap; }
.lsv-eq-panel > div:nth-child(2) span { font-size: 22px; line-height: 1.35; letter-spacing: 0; }
.proeq-eq-chart { order: 1; height: auto; aspect-ratio: 1000 / 240; margin: 0 0 8px; --chart-text: #64748b; }
.dark .proeq-eq-chart { --chart-text: #c1cbdf; --chart-grid: #344057; --chart-zero-line: #53647d; }
.proeq-eq-chart > svg { display: block; }
.proeq-eq-chart > svg > g { opacity: 1; }
.proeq-eq-chart text { font-weight: 600; }
.proeq-eq-chart > svg > g:first-child text { text-anchor: start; }
.proeq-eq-chart > svg > g:nth-child(10) text { text-anchor: end; }
.proeq-frequency-buttons { display: grid; order: 2; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; position: relative; }
.proeq-frequency-buttons button { min-height: 48px; border: 1px solid #556176; border-radius: 10px; padding: 6px 8px; color: #edf2fa; background: #10141d; font: 700 25px/1.35 ui-monospace, monospace; cursor: pointer; }
.proeq-frequency-buttons button[aria-pressed="true"] { background: #692aa0; border-color: #b25cff; color: #fff; box-shadow: inset 0 0 18px #a855f722; }
.light .proeq-frequency-buttons button { color: #334155; background: #f8fafc; border-color: #cbd5e1; }
.light .proeq-frequency-buttons button[aria-pressed="true"] { color: #6d28d9; background: #ede9fe; border-color: #8b5cf6; }
.lsv-practice-primary > div:has(input[type="range"]) { display: flex; flex-direction: column; gap: 12px; padding: 18px 22px 14px; border-radius: 22px; }
.lsv-practice-primary > div:has(input[type="range"]) > div { gap: 14px; }
.lsv-practice-primary > div:has(input[type="range"]) > * { margin-block: 0 !important; }
.lsv-practice-primary > div:has(input[type="range"]) > div:nth-child(2) { display: flex; flex-direction: column; gap: 8px; }
.lsv-practice-primary > div:has(input[type="range"]) > div:nth-child(2) > * { margin-block: 0 !important; }
.lsv-practice-primary > div:has(input[type="range"]) input { display: block; }
.lsv-practice-primary > div:has(input[type="range"]) > div:first-child > div:first-child { gap: 12px; min-width: 0; }
.lsv-practice-primary > div:has(input[type="range"]) > div:first-child > div:last-child { width: 58%; max-width: none; flex-shrink: 0; }
.lsv-practice-primary > div:has(input[type="range"]) > div:first-child > div:last-child button { white-space: nowrap; }
.lsv-practice-primary button[aria-label*="(Space)"] { width: 82px; height: 82px; }
.lsv-practice-primary button[aria-label*="(Space)"] svg { width: 42px; height: 42px; }
.lsv-practice-primary button[aria-pressed]:not(.proeq-frequency-buttons button):not(#proeq-loop-badge) { font-size: 24px; line-height: 1.35; min-height: 66px; padding: 12px 18px; }
#proeq-loop-badge { font-size: 20px !important; line-height: 1.4 !important; padding: 10px 14px !important; }
.lsv-practice-primary input[type="range"] { min-height: 24px; background: transparent; }
.lsv-practice-primary input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: #cbd5e1; }
.dark .lsv-practice-primary input[type="range"]::-webkit-slider-runnable-track { background: #070c18; }
.lsv-practice-primary input[type="range"]::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -6px; }
.lsv-practice-primary > div:has(input[type="range"]) [class~="text-xs"] { font-size: 20px; }
.lsv-practice > div:last-child { max-width: none; }
main table { min-width: 950px; }

@media (min-width: 768px) and (max-width: 1199px) {
  aside { width: 270px; }
  aside nav button > div > span:first-child { font-size: 22px; }
  aside nav button > div > span:last-child { font-size: 17px; }
  aside nav button { padding: 16px 12px; gap: 12px; }
  aside h1 { font-size: 20px; }
  .lsv-home-link { font-size: 19px; }
  .proeq-frequency-buttons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proeq-frequency-buttons button { font-size: 22px; }
  .lsv-practice-primary > div:has(input[type="range"]) > div:first-child { flex-direction: column; align-items: stretch; }
  .lsv-practice-primary > div:has(input[type="range"]) > div:first-child > div:last-child { width: 100%; }
}
@media (max-width: 767px) {
  aside { width: 100%; }
  aside > div:first-child > div:first-child { min-height: 78px; padding: 16px; padding-right: 58px; }
  aside h1 { font-size: 22px; }
  aside nav { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px 12px 12px; gap: 6px; }
  aside nav button { min-height: 84px; padding: 10px; gap: 10px; }
  aside nav button > svg { width: 25px; height: 25px; }
  aside nav button > div > span:first-child { font-size: 18px; }
  aside nav button > div > span:last-child { font-size: 14px; }
  .lsv-home-link { margin: 0 16px 6px; font-size: 19px; min-height: 44px; }
  aside > div:last-child > button { min-height: 40px; }
  main { padding: 20px 14px; }
  main [class~="text-3xl"] { font-size: 36px; }
  main [class~="text-sm"] { font-size: 19px; }
  main [class~="text-xs"] { font-size: 17px; }
  main [class~="text-lg"] { font-size: 23px; }
  .lsv-practice-primary > div:has(canvas), .lsv-eq-panel, .lsv-practice-primary > div:has(input[type="range"]) { padding: 16px; }
  .lsv-practice-primary > div:has(canvas) > div:first-child > span { font-size: 20px; }
  .lsv-practice-primary > div:has(canvas) button { font-size: 18px; padding: 10px; white-space: normal; }
  .lsv-practice-primary > div:has(.lsv-eq-panel) > span { font-size: 21px; }
  .lsv-eq-panel > div:nth-child(2) span { font-size: 17px; }
  .proeq-eq-chart { height: 145px; aspect-ratio: auto; }
  .proeq-frequency-buttons { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 8px 0 0; gap: 8px; }
  .proeq-frequency-buttons button { min-height: 48px; font-size: 20px; padding: 6px; }
  .lsv-practice-primary button[aria-pressed]:not(.proeq-frequency-buttons button):not(#proeq-loop-badge) { font-size: 20px; min-height: 60px; padding: 12px; }
  .lsv-practice-primary button[aria-label*="(Space)"] { width: 72px; height: 72px; }
  .lsv-practice-primary > div:has(input[type="range"]) > div:first-child > div:last-child { width: 100%; }
  .lsv-practice-primary > div:has(input[type="range"]) > div:first-child > div:last-child button { white-space: normal; }
  #proeq-loop-badge { font-size: 18px !important; }
}
