html.cwBassFoundations{color-scheme:dark}html.cwBassFoundations *{box-sizing:border-box}html.cwBassFoundations [hidden]{display:none!important}html.cwBassFoundations main.lesson{width:100%!important;min-width:0;max-width:none!important}html.cwBassFoundations .bfContent{max-width:none!important;width:100%;padding:8px 20px 24px!important}html.cwBassFoundations button,html.cwBassFoundations select,html.cwBassFoundations textarea{font:inherit}html.cwBassFoundations button{cursor:pointer}html.cwBassFoundations :focus-visible{outline:2px solid #cab8ff;outline-offset:2px}html.cwBassFoundations main>.lesson-nav{display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;height:auto!important;min-height:46px!important;padding:6px 20px!important;position:sticky;top:0;z-index:100;background:#0c131e}html.cwBassFoundations .lesson-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}html.cwBassFoundations .lesson-actions .nav-link{font-size:12px!important;min-height:32px!important;padding:5px 9px!important;line-height:20px!important}html.cwBassFoundations .bfLessonLabel{display:flex;gap:6px;align-items:center;font-size:11px}html.cwBassFoundations select{background:#19263a;color:#e4edfb;border:1px solid #8196b8;border-radius:5px;padding:5px 7px;font-size:11px;min-height:32px}html.cwBassFoundations .bfHeading h1{font-size:25px!important;line-height:1.2!important;max-width:none!important;margin:2px 0 5px!important}html.cwBassFoundations .bfHeading p{font-size:12px!important;line-height:1.4!important;max-width:none!important;margin:4px 0 8px!important}html.cwBassFoundations .bfWorkspace{background:#0e1622;border:1px solid #506784;border-radius:10px;padding:8px}html.cwBassFoundations .bfWorkspace button,html.cwBassFoundations #bfDialog button{background:#101925;border:1px solid #647895;border-radius:5px;color:#e0eafa;min-height:32px;padding:5px 9px;font-size:11px}html.cwBassFoundations .bfControls{position:sticky;top:var(--bf-nav-height,46px);z-index:90;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 10px;background:#182538;border:1px solid #6d85a8;border-radius:6px;padding:6px;margin-bottom:6px;box-shadow:0 3px 5px #0006}html.cwBassFoundations .bfControls>strong{font-size:12px}html.cwBassFoundations .bfControls label{display:flex;align-items:center;gap:5px;font-size:11px}html.cwBassFoundations #bfKey{min-width:100px;border-color:#c2acef}html.cwBassFoundations .bfTransport{display:flex;align-items:center;gap:5px;margin:0!important;padding:2px!important}html.cwBassFoundations .bfTransport input{width:85px;margin:0;accent-color:#b7a2f5}html.cwBassFoundations .bfTransport output{white-space:nowrap;font-size:10px}html.cwBassFoundations .bfTransport button{height:32px;min-width:32px;padding:4px 8px}html.cwBassFoundations #bfComparisons{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:5px;margin-bottom:6px;border:1px solid #4b607e;border-radius:6px}html.cwBassFoundations button[aria-pressed=true]{background:#3c3155!important;border-color:#cfbaf7!important;color:#fff!important}html.cwBassFoundations .bfPhrase{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 6px}html.cwBassFoundations #bfPages{display:flex;gap:6px;flex-shrink:0}html.cwBassFoundations #bfCarry{font-size:10px;line-height:1.4;color:#bdd0e9}html.cwBassFoundations .bfTimeline{display:grid;grid-template-columns:55px repeat(4,minmax(0,1fr));gap:5px}html.cwBassFoundations .bfTrackLabel{display:flex;align-items:center;font-size:11px;font-weight:600;color:#b9cce5}html.cwBassFoundations .bfBar{background:#192539;text-align:center;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:6px;border:1px solid #536786;border-radius:5px;min-height:68px;font-size:11px}html.cwBassFoundations .bfBar b{font-size:12px}html.cwBassFoundations .bfBar small{font-size:9px;line-height:1.3}html.cwBassFoundations .bfCell{position:relative;border:1px solid #445b78;border-radius:5px;padding:4px;min-width:0;background:#101b2a}html.cwBassFoundations .bfBeats{display:grid;grid-template-columns:repeat(4,1fr);height:16px;text-align:center;color:#adc2de;font-size:9px}html.cwBassFoundations .bfBeats.eighth{grid-template-columns:repeat(8,1fr)}html.cwBassFoundations .bfLane{position:relative;height:37px;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(25% - 1px),#2f435d calc(25% - 1px),#2f435d 25%)}html.cwBassFoundations .bfLane.eighth{background-size:50% 100%}html.cwBassFoundations .bfNote{position:absolute;top:4px;height:29px;min-height:29px!important;display:flex;align-items:center;justify-content:center;font-size:10px!important;padding:0 1px!important;line-height:1!important;white-space:nowrap;overflow:hidden;border-radius:4px!important;border:1px solid;cursor:pointer}html.cwBassFoundations .bfNote.melody{background:#47385f!important;border-color:#bd9bdf!important;color:#f6eaff!important}html.cwBassFoundations .bfNote.harmony{background:#294469!important;border-color:#88a9d6!important;color:#e7f1ff!important}html.cwBassFoundations .bfNote.bass{background:#554a25!important;border-color:#dac066!important;color:#fff0a9!important}html.cwBassFoundations .bfNote.outside{border-color:#f6b757!important;box-shadow:inset 0 -4px #bf8537}html.cwBassFoundations .bfNote.leading{border-color:#83d9ce!important;box-shadow:inset 0 -4px #488d87}html.cwBassFoundations .bfNote.active{outline:2px solid white;outline-offset:-2px}html.cwBassFoundations .bfBar.active{background:#44395e}html.cwBassFoundations .bfRest{font-size:10px;color:#9eb0c8;position:absolute;left:3px;top:11px}html.cwBassFoundations .bfCursor{position:absolute;top:18px;bottom:3px;width:2px;background:#fff;z-index:7;pointer-events:none}html.cwBassFoundations .bfMuted{opacity:.45}html.cwBassFoundations .bfLegend{display:flex;flex-wrap:wrap;gap:5px 12px;font-size:10px;margin:7px 0;color:#b5c8e2}html.cwBassFoundations .bfLegend .melody{color:#c8a8ed}html.cwBassFoundations .bfLegend .harmony{color:#a1bce3}html.cwBassFoundations .bfLegend .bass{color:#e9cf75}html.cwBassFoundations .bfLegend .outside{color:#f4b656}html.cwBassFoundations .bfLegend .leading{color:#84d6cc}html.cwBassFoundations .bfKeyboardViewport{overflow-x:auto;border:1px solid #6a80a0;border-radius:6px}html.cwBassFoundations #bfKeyboard{height:134px;min-width:950px;display:flex;position:relative;background:#eef3fb}html.cwBassFoundations #bfKeyboard>div{position:relative;flex:1;border-right:1px solid #9aadc7}html.cwBassFoundations #bfKeyboard>div.black{position:absolute;top:0;height:60%;background:#0b1017;z-index:2;border-radius:0 0 4px 4px}html.cwBassFoundations #bfKeyboard [data-part=melody]{background:#b99ada!important}html.cwBassFoundations #bfKeyboard [data-part=harmony]{background:#799dce!important}html.cwBassFoundations #bfKeyboard [data-part=bass]{background:#dbc36e!important}html.cwBassFoundations #bfKeyboard span{position:absolute;bottom:6px;text-align:center;left:0;right:0;font-size:9px;color:#162235}html.cwBassFoundations #bfKeyboard .black span{color:#fff}html.cwBassFoundations #bfStatus{font-size:11px!important;line-height:1.4!important;max-width:none!important;min-height:16px;margin:6px 0!important;color:#bfd1e9}html.cwBassFoundations .bfListenGuide{font-size:12px;margin:8px 0;color:#c2d3e8}html.cwBassFoundations summary{cursor:pointer}html.cwBassFoundations .bfListenGuide p{font-size:12px!important;line-height:1.5!important;max-width:none!important}html.cwBassFoundations .bfReflection{font-size:11px;border-top:1px solid #405673;padding-top:10px;display:grid;gap:7px}html.cwBassFoundations .bfReflection textarea{width:100%;background:#18263b;color:#e7eefb;border:1px solid #6a80a2;padding:7px;resize:vertical}html.cwBassFoundations .bfReflection button{justify-self:start}html.cwBassFoundations .bfReflection small{color:#b7c6dc}html.cwBassFoundations #bfDialog{width:min(1000px,95vw);max-height:88vh;overflow:auto;background:#101a29;color:#e2ebf8;border:1px solid #7991b2;border-radius:9px;padding:18px}html.cwBassFoundations #bfDialog>header{position:sticky;top:-18px;background:#101a29;padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #5b718e;z-index:2}html.cwBassFoundations #bfDialog h2{font-size:23px!important;margin:0}html.cwBassFoundations #bfDialog h3{font-size:16px!important;margin:19px 0 6px}html.cwBassFoundations #bfDialog p{font-size:13px!important;line-height:1.6!important;max-width:none!important}html.cwBassFoundations #bfDialog table{border-collapse:collapse;width:100%;font-size:12px}html.cwBassFoundations #bfDialog td,html.cwBassFoundations #bfDialog th{border:1px solid #546e91;padding:9px;text-align:left}html.cwBassFoundations #bfDialog a{color:#c9b9ff}html.cwBassFoundations #bfDialog::backdrop{background:#000a}@media(max-width:1200px){html.cwBassFoundations .bfContent{padding:8px 12px 20px!important}html.cwBassFoundations .bfControls{justify-content:center}html.cwBassFoundations .bfPhrase{flex-wrap:wrap}html.cwBassFoundations .bfNote{font-size:9px!important}html.cwBassFoundations .bfTimeline{grid-template-columns:43px repeat(4,minmax(0,1fr))}}@media(max-width:750px){html.cwBassFoundations .bfTransport{flex-wrap:wrap;justify-content:center}html.cwBassFoundations .bfTimeline{grid-template-columns:36px repeat(4,minmax(0,1fr));gap:3px}html.cwBassFoundations .bfNote{font-size:8px!important}html.cwBassFoundations .bfBar{padding:3px}html.cwBassFoundations .bfBar small{font-size:8px}html.cwBassFoundations #bfDialog table{font-size:11px}}
/* Preserve track identities against the Academy-wide button theme. */
html.cwBassFoundations #bfTimeline .bfCell .bfLane button.bfNote.melody{background:#47385f!important;border-color:#bd9bdf!important;color:#f6eaff!important}
html.cwBassFoundations #bfTimeline .bfCell .bfLane button.bfNote.harmony{background:#294469!important;border-color:#88a9d6!important;color:#e7f1ff!important}
html.cwBassFoundations #bfTimeline .bfCell .bfLane button.bfNote.bass{background:#554a25!important;border-color:#dac066!important;color:#fff0a9!important}
html.cwBassFoundations #bfTimeline .bfCell .bfLane button.bfNote.outside{border-color:#f6b757!important}
html.cwBassFoundations #bfTimeline .bfCell .bfLane button.bfNote.leading{border-color:#83d9ce!important}
html.cwBassFoundations .bfWorkspace #bfComparisons button,html.cwBassFoundations .bfWorkspace #bfPages button{font-size:11px!important;min-height:32px!important;padding:5px 9px!important}

/* Listening parts belong beside Key and Mode, before transport. */
html.cwBassFoundations .bfControls{justify-content:flex-start;gap:8px 18px}
html.cwBassFoundations .bfControls>strong{margin-right:12px}
html.cwBassFoundations .bfControls .bfListenSelection{font-size:12px!important;font-weight:700;color:#eee5ff;gap:8px;padding:3px 7px;border:1px solid #b4a0dc;border-radius:6px;background:#27334a}
html.cwBassFoundations #bfPart{min-width:165px;font-size:12px;border-color:#c2acef}
html.cwBassFoundations .bfTransport{margin-left:auto!important}

html.cwBassFoundations .bfVoicing{font-size:11px;line-height:1.5;color:#d2e1f2;padding:3px 6px;margin:3px 0 5px;border-left:3px solid #91a9d0;background:#152132;overflow-wrap:anywhere}

/* B078CP: compact, optional arrangement guidance. */
.cwBassRoleGuide{margin:8px 0;padding:8px 10px;border:1px solid #53647f;border-radius:6px;font-size:13px;line-height:1.5}.cwBassRoleGuide summary{cursor:pointer}.cwBassRoleGuide p{margin:8px 0}.cwBassRoleGuide[hidden]{display:none}
