:root{color-scheme:dark;--course-bg:#121017;--course-surface:#211d2a;--course-text:#f1edf8;--course-muted:#bcb0ce;--course-accent:#c2a1ff;--course-line:#46394f}body{background:var(--course-bg)!important;color:var(--course-text)!important;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif!important}.panel,article, .chapter-card,.node{background:var(--course-surface)!important;border-color:var(--course-line)!important;border-radius:20px}.muted,small,footer,.foot,figcaption{color:var(--course-muted)!important}a,.tag,.pill,output,.metrics strong,.summary strong{color:var(--course-accent)!important}button,select{background:#30273e!important;color:var(--course-text)!important;border-color:#59466d!important;border-radius:12px!important}button:hover,button.active,button[aria-pressed=true]{background:var(--course-accent)!important;color:#181121!important;border-color:var(--course-accent)!important}button:disabled{opacity:.45;cursor:default}input,textarea{accent-color:var(--course-accent)!important}input:not([type=range]):not([type=checkbox]):not([type=radio]),textarea{background:#18141f!important;color:var(--course-text)!important;border:1px solid var(--course-line)!important;border-radius:8px;padding:8px}header,.chapter-jump,details,td,th{border-color:var(--course-line)!important}summary{color:var(--course-accent)!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #dcc9ff;outline-offset:3px}.chapter-card li{color:var(--course-muted)!important}.chapter-card:hover{border-color:var(--course-accent)!important}.chapter-card small,.chapter-card span{color:var(--course-accent)!important}progress{accent-color:var(--course-accent)!important}.note{border-color:var(--course-accent)!important}
/* Shared layout rules across lessons and inserted interaction panels. */
*{box-sizing:border-box}main,header,section,article,aside,.grid,.panel,.layout{min-width:0}h1,h2,h3,p,td,th,summary{overflow-wrap:anywhere}h1,h2,h3{letter-spacing:normal}p,label,summary,td,th{line-height:1.8}button,select,input,textarea{font-family:inherit}select{max-width:100%;white-space:normal}canvas{max-width:100%;display:block}img{max-width:100%;height:auto}.chain{align-items:center;gap:10px}table{border-collapse:collapse}td,th{vertical-align:top}summary{cursor:pointer}label[hidden],[hidden]{display:none!important}.chapter-jump{display:grid!important}.panel>button{margin:4px 3px 4px 0}fieldset{min-width:0}#feedback,#chapterFeedback,#labFeedback,#sum,#level,#peak,#status,#audioStatus,#gainFeedback,#stemFeedback{color:var(--course-accent)!important}#intellectual-property{color:var(--course-muted)!important}nav button{white-space:normal;text-align:center}nav#nav{align-items:stretch}#micChooser .chain button,#gainChannels .chain button{flex:1 1 140px;text-align:left}@media(max-width:750px){.grid{grid-template-columns:minmax(0,1fr)!important}nav#nav{gap:7px}nav#nav button{padding:10px 12px;font-size:14px}.panel{padding:20px!important}input[type=range]{min-height:28px}header{align-items:center!important}}
/* Keep homepage cards distinct from chapter navigation links. */
#content .chapter-card{background:#211d2a!important;color:#f1edf8!important;border:1px solid #46394f!important}#content .chapter-card:hover{background:#2b2337!important;border-color:#c2a1ff!important}#content .chapter-card h2{color:#f1edf8!important}#content .chapter-card li{color:#bcb0ce!important}
/* Homepage container must not carry the card surface through the gaps. */
body #content{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important}body .chapter-grid{background:transparent!important;gap:20px}body .chapter-card{overflow:hidden;background-clip:padding-box}body .chapter-card:before,body .chapter-card:after{pointer-events:none}input[type=number]{max-width:100%;width:100%}
