/* Chord workbench: navy, cobalt, ice and white; tonal borders derive from navy. */
.theme-selected{--bg:#edf3fa;--paper:#fff;--ink:#172c44;--muted:#42556c;--accent:#2458aa;--soft:#edf3fa;--line:#172c442b;--nav:#172c44;--navtext:#fff;--radius:16px}
.theme-selected .main-wrap{max-width:1240px}.theme-selected .tool-stage{max-width:930px}
.theme-selected.is-home .page-intro{border:0;background:#fff;padding:25px 28px;border-radius:4px 22px 22px 4px;border-left:5px solid var(--accent)}
.theme-selected .page-intro .lead{max-width:780px}.theme-selected .site-footer{background:#172c44;color:#fff;border-top:5px solid #2458aa}
.theme-selected .editorial a{color:#1c4891;font-weight:650;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}.theme-selected .editorial a:hover{text-decoration-thickness:3px;color:#172c44}
.theme-selected .related-tools{background:#fff;border-radius:12px;padding:16px 20px;max-width:800px;box-shadow:0 5px 18px #172c4408}.theme-selected .related-tools h2{font-size:17px}.theme-selected .related-tools ul{gap:0 24px}.theme-selected .related-tools li{border-bottom:1px solid var(--line);min-width:0}.theme-selected .related-tools a{text-decoration:none;font-weight:650;font-size:14px;min-height:48px}.theme-selected .related-tools a:hover{text-decoration:underline}.theme-selected .related-tools a::after{content:'\2192';font-size:19px}
.theme-selected .tool-stage .tool-layout,.theme-selected .precision-workspace,.theme-selected .ear-workspace,.theme-selected .tool-stage .tool-score-workspace{grid-template-columns:minmax(0,1fr)!important;gap:24px}
.theme-selected .precision-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-selected .precision-result,.theme-selected .chord-feature{width:100%;min-height:170px;background:#edf3fa;border:1px solid var(--line);border-top:4px solid #2458aa;border-radius:14px;padding:24px}
.theme-selected .precision-reading{font-size:clamp(28px,3.4vw,44px);line-height:1.3}.theme-selected .precision-result dl{grid-template-columns:repeat(2,minmax(0,1fr))}
.theme-selected .tool-stage .legacy-tool,.theme-selected .precision-tool{--accent:#2458aa;--tint:#edf3fa;box-shadow:0 10px 35px #172c440a}
.theme-selected .tool-stage [data-action=calculate],.theme-selected .tool-stage button[type=submit]{background:#2458aa!important;color:#fff!important;border-color:#2458aa!important}
.theme-selected .tool-stage .cccm-preview{position:static!important;max-height:none!important}.theme-selected .cccm-tool button{background:#2458aa;color:#fff;border-color:#2458aa}.theme-selected .cccm-tool button[data-action=example],.theme-selected .cccm-tool button[data-action=reset]{background:#edf3fa;color:#172c44;border-color:var(--line)}
.theme-selected .chord-feature [data-chord-symbol]{font-size:clamp(36px,4vw,48px);margin:12px 0}.theme-selected .chord-note-chip.is-bass{background:#2458aa;border-color:#2458aa;color:#fff}
.theme-selected .layout-negative .precision-result{border-radius:4px 24px 24px 4px;border-left:4px solid #2458aa;border-top:1px solid var(--line)}
.theme-selected .layout-substitution .precision-reading{font-size:48px}.theme-selected .layout-arpeggio .precision-reading{font:650 clamp(22px,3vw,32px)/1.6 ui-monospace,monospace}
.theme-selected .workbench-help{font-size:13px;line-height:1.75;color:var(--muted)}.theme-selected .workbench-settings{border:1px solid var(--line);padding:12px 16px;border-radius:10px;margin:18px 0}.theme-selected .workbench-settings summary{font-weight:650;cursor:pointer;min-height:44px}.theme-selected .workbench-settings .precision-fields{padding-top:16px}
.theme-selected .editorial>.content-section{margin:40px 0;padding-top:6px}.theme-selected .section-example{padding:24px;border:1px solid var(--line);background:white;border-radius:14px}.theme-selected .section-example h2{margin-top:0}.theme-selected .section-limits{border-left:3px solid #2458aa;padding-left:22px}
.has-js .sidebar-search-wrap[hidden]{display:block!important;visibility:hidden;min-height:109px}.has-js .sidebar-search-wrap{min-height:109px}
.theme-selected .sidebar-group summary{font-weight:650}.theme-selected .sidebar-group[open] summary{color:white}.theme-selected .music-result-block{margin:24px 0 0;border-top:1px solid var(--line);padding-top:18px}
@media(max-width:640px){.theme-selected .precision-fields,.theme-selected .precision-result dl{grid-template-columns:minmax(0,1fr)}.theme-selected.is-home .page-intro{padding:22px 18px}.theme-selected .related-tools ul{grid-template-columns:1fr}.theme-selected .precision-result{padding:18px}.theme-selected .section-example{padding:18px}.theme-selected .chord-note-chip{min-width:58px;padding:8px 10px}}
