/* Course controls use the Kansa palette; the Java viewer keeps its native colours. */
/* Keep route descriptions readable on the blue cards in both course themes. */
body .md-typeset .kfl-routes[aria-label="Bulk Extractor lab options"]>div>small,
body .md-typeset .kfl-routes[aria-label="Bulk Extractor lab options"]>a>span,
body .md-typeset [data-bulkrec-full] .cdk-practice__summary>p:not(.cdk-practice__title){color:var(--kfl-ink)}
.cdk-browser-lab__app--bulkrec [hidden]{display:none!important}
.cdk-browser-lab__app--bulkrec>.susa-lab-experience{display:none!important}
body .md-typeset .cdk-browser-lab__app--bulkrec>p{color:var(--md-default-fg-color);font-size:.76rem;line-height:1.6;margin:.8rem 1rem}
body .md-typeset .cdk-browser-lab__app--bulkrec>p.br-scope{font-size:.64rem;color:var(--md-default-fg-color--light);margin-top:-.2rem}
.br-coach{margin:.75rem;padding:.75rem;background:var(--kfl-surface);border:1px solid var(--kfl-border);border-radius:7px;color:var(--kfl-ink)}
.br-coach>div>span{display:block;font-size:.6rem;font-weight:750;text-transform:uppercase;letter-spacing:.04em;margin-bottom:.2rem}
.br-coach>div>strong{display:block;font-size:.85rem}
body .md-typeset .br-coach>div>span,body .md-typeset .br-coach>div>strong{color:var(--kfl-blue)}
body .md-typeset .br-coach>div>p{color:var(--kfl-ink);margin:.3rem 0;font-size:.73rem}
body .md-typeset .br-coach>ol{display:flex;gap:.4rem;margin:.7rem 0;list-style:none;padding:0;flex-wrap:wrap}
body .md-typeset .br-coach>ol>li{display:flex;gap:.3rem;align-items:center;flex:1;min-width:100px;margin:0;color:var(--kfl-ink);font-size:.63rem}
.br-coach>ol b{display:grid;place-items:center;width:23px;height:23px;border:1px solid var(--kfl-blue);border-radius:50%;color:var(--kfl-blue);background:var(--md-default-bg-color)}
.br-coach>ol [aria-current] b,.br-coach>ol [data-complete=true] b{color:var(--kfl-action-ink);background:var(--kfl-action)}
body .md-typeset .br-coach>details{margin:.4rem 0 0;border:0;box-shadow:none;border-top:1px solid var(--kfl-border);background:transparent;border-radius:0}
body .md-typeset .br-coach>details>summary{padding:.45rem 1.3rem .35rem 0;background:transparent;color:var(--kfl-blue);font-size:.67rem;cursor:pointer}
.br-coach>details>summary:before{display:none!important}
body .md-typeset .br-coach>details>summary:after{content:'';position:absolute;right:.2rem;top:45%;width:7px;height:7px;border-right:2px solid var(--kfl-blue);border-bottom:2px solid var(--kfl-blue);transform:rotate(45deg);background:none;mask:none}
body .md-typeset .br-coach>details[open]>summary:after{transform:rotate(225deg)}
body .md-typeset .br-coach>details>p{padding:0;margin:.2rem 0;color:var(--kfl-ink);font-size:.7rem}
body .md-typeset .br-feedback{margin:.4rem 0 0;padding:.3rem 0;font-size:.7rem;line-height:1.5;color:var(--kfl-ink)}
.br-feedback[data-state=error],.br-error{color:#ae2637!important}
[data-md-color-scheme=slate] .br-feedback[data-state=error],[data-md-color-scheme=slate] .br-error{color:#ffb7c0!important}
.br-case-strip{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.4rem;margin:.5rem .8rem;padding:.5rem .2rem;color:var(--kfl-ink);font-size:.64rem}
.br-stage{padding:.5rem .75rem .8rem;min-width:0}
body .md-typeset .br-native{position:relative;color-scheme:light;border:1px solid #88929b;border-radius:3px;overflow:hidden;background:#eee;color:#111;font:12px/1.45 "Segoe UI",Tahoma,Arial,sans-serif;box-shadow:0 5px 15px #203c6017}
body .md-typeset .br-native :is(p,button,input,textarea,label,fieldset,legend,dd,dt,summary,span){font-size:inherit;line-height:inherit;color:#111}
.br-native button{border:1px solid #9a9fa4;background:linear-gradient(#fff,#e5e5e5);padding:4px 9px;min-height:30px;color:#111;font:inherit;cursor:pointer;border-radius:3px}
.br-native button:hover:not(:disabled){border-color:#2574b7;background:#e4f0fa}
.br-native button:focus-visible,.br-native input:focus-visible,.br-native textarea:focus-visible{outline:2px solid #176db2;outline-offset:1px}
body .md-typeset .br-native button:disabled{color:#777;cursor:default;opacity:.65}
.br-native input:not([type=checkbox]):not([type=radio]),.br-native textarea{border:1px solid #a6adb4;background:#fff;color:#111;font:inherit;min-width:0;width:100%;padding:3px 5px;border-radius:0}
.br-native input:is([type=checkbox],[type=radio]){width:13px;height:13px;margin:0 4px 0 0;accent-color:#2674b4;vertical-align:middle}
.br-titlebar{display:flex;align-items:center;gap:6px;height:28px;padding:4px 8px;background:#f5f5f5;color:#111}
.br-titlebar>img,.br-dialog>header>img{width:16px;height:16px;object-fit:contain;margin:0!important;border:0!important}
.br-window-buttons{margin-left:auto;font-size:16px!important;letter-spacing:12px}
.br-menu{display:flex;align-items:center;gap:14px;padding:1px 8px;border-block:1px solid #b7bcc1}
.br-menu button{border:0;background:transparent;padding:2px 0;min-height:26px}
.br-menu span{color:#444!important}
.br-toolbar{display:flex;align-items:center;gap:3px;flex-wrap:wrap;padding:5px;border-bottom:1px solid #a7afb6}
.br-toolbar>button{display:grid;place-items:center;border:1px solid transparent;background:none;width:31px;height:31px;padding:4px}
.br-toolbar>button[data-br-run]{border-color:#317db8;background:#e4f1ff}
.br-toolbar svg{width:20px;height:20px;fill:none;stroke:#35699b;stroke-width:1.8}
.br-toolbar [aria-pressed=true] svg{fill:#f7c540;stroke:#806000}
.br-toolbar label{display:flex;gap:4px;align-items:center;white-space:nowrap;margin-left:6px}
.br-toolbar label:first-of-type{flex:1;max-width:260px}
.br-workspace{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(200px,1.3fr) minmax(280px,2fr);min-height:390px;background:#eee}
.br-workspace>*{min-width:0;padding:5px;border-right:1px solid #a7afb6}
.br-workspace>*:last-child{border:0}
.br-pane-label{padding:2px 0;color:#111}
.br-pane-label i{font-weight:400;margin-left:6px;color:#555}
.br-tree,.br-feature-list,.br-reference,.br-context>pre{background:#fff;border:1px solid #a4acb4;box-shadow:inset 1px 1px 1px #0001}
.br-tree{min-height:350px;padding:3px;overflow:auto}
.br-tree>*{display:block;text-align:left;font:inherit;white-space:nowrap}
.br-tree>button{background:transparent;border:0;border-radius:0;min-height:25px;width:100%;padding:3px 4px 3px 14px}
.br-tree>span{padding:3px}
.br-tree>button[aria-pressed=true]{background:#cce4fa}
.br-filter>label{display:flex;align-items:center;margin-bottom:3px}
.br-filter>label input{margin-left:auto!important}
.br-feature-list{min-height:190px;max-height:240px;overflow:auto}
.br-feature-list>button{display:flex;gap:9px;align-items:start;background:#fff;border:0;border-bottom:1px solid #eee;border-radius:0;min-height:35px;width:100%;text-align:left;padding:6px 4px}
.br-feature-list>button>span:nth-child(2){overflow-wrap:anywhere;min-width:0}
.br-feature-list>button[aria-pressed=true]{background:#cce4fa}
.br-feature-list>p{padding:6px;margin:0!important}
.br-reference{height:90px}
body .md-typeset .br-native dl{margin:0;overflow-wrap:anywhere}
.br-native dl>div{display:grid;grid-template-columns:80px minmax(0,1fr);gap:5px;margin:3px 0}
body .md-typeset .br-native dd{margin:0;font-weight:400;color:#222}
body .md-typeset .br-native dt{font-weight:400}
body .md-typeset .br-context>pre{height:265px;margin:3px 0;overflow:auto;padding:6px;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.5 Consolas,monospace;color:#111}
.br-context mark{color:#111;background:#fff19a}
.br-display{display:flex;justify-content:center;gap:20px;padding:4px}
.br-native>footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px;border-top:1px solid #a7afb6;padding:4px 7px}
.br-backdrop{position:absolute;inset:0;z-index:10;background:#15233145;display:grid;place-items:center;padding:10px}
.br-dialog{width:min(100%,660px);max-height:100%;overflow:auto;border:1px solid #7a8fa2;border-radius:3px;box-shadow:0 5px 20px #0003;background:#eee;color:#111}
.br-dialog>header{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:6px;background:linear-gradient(#cedfec,#aac4da);padding:3px 7px;min-height:28px}
.br-dialog>header>button{margin-left:auto;padding:0 7px;min-height:22px}
.br-dialog>div{padding:10px}
.br-dialog>footer{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:10px;border-top:1px solid #b2bbc3}
.br-scan-grid{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:10px}
.br-native fieldset{padding:8px;border:1px solid #bcc3c9;margin:0 0 8px;min-width:0;border-radius:3px}
.br-native legend{padding:0 3px;margin:0}
.br-radio{display:flex;gap:6px;flex-wrap:wrap;font-size:11px!important}
.br-radio label{display:flex;align-items:center}
.br-path{display:grid;grid-template-columns:130px minmax(0,1fr) 30px;align-items:center;gap:5px;margin-top:6px}
.br-path>button{padding:0}
.br-scan-grid fieldset>label:not(.br-path){display:block;margin:4px 0}
.br-scanners{max-height:325px;overflow:auto}
.br-scanners>button{margin-top:7px;width:100%;padding:3px}
body .md-typeset .br-native .br-advanced{border:1px solid #bcc3c9;box-shadow:none;background:#eee;border-radius:3px;margin:6px 0}
body .md-typeset .br-native .br-advanced>summary{background:#eee;padding:7px 25px 7px 8px}
.br-advanced>summary:before{display:none!important}
.br-dialog-note{font-size:11px!important;color:#444!important;margin:8px 0!important}
body .md-typeset .br-dialog p{margin:6px 0;color:#111}
.br-dialog label>progress{width:100%;margin:8px 0}
.br-dialog label>textarea{display:block;margin:4px 0}
body .md-typeset .br-dialog pre{padding:7px;background:#fff;color:#111;font:12px/1.5 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}
.br-review,.br-handover{margin:.7rem .75rem;padding:.8rem;border:1px solid var(--kfl-border);border-radius:7px;background:var(--md-default-bg-color);color:var(--md-default-fg-color);font-size:.73rem}
body .md-typeset .br-review h4,body .md-typeset .br-handover h4{margin:0 0 .4rem!important;color:var(--kfl-blue)!important;font-size:.9rem!important}
.br-review p,.br-handover p{font-size:.7rem;margin:.5rem 0;line-height:1.6}
.br-review button,.br-handover button,.br-footer button{font:inherit;font-size:.65rem;border:1px solid var(--kfl-blue);color:var(--kfl-action-ink);background:var(--kfl-action);border-radius:5px;padding:.4rem .6rem;min-height:35px;cursor:pointer}
.br-review button:hover,.br-handover button:hover,.br-footer button:hover:not(:disabled){background:var(--kfl-action-hover)}
.br-example-head{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:space-between;padding:.6rem;background:var(--kfl-surface);color:var(--kfl-ink);overflow-wrap:anywhere}
.br-example-head>span{font-size:.62rem}
.br-review dl{border-top:1px solid var(--kfl-border);padding-top:.5rem;font-size:.7rem}
.br-review dl>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:.4rem;margin:.2rem 0}
.br-review dd{margin:0;overflow-wrap:anywhere}
.br-handover>label{display:block;margin:.5rem 0 .25rem;font-size:.7rem;font-weight:600}
.br-handover textarea{width:100%;border:1px solid var(--kfl-border);border-radius:5px;padding:.5rem;color:var(--md-default-fg-color);background:var(--md-default-bg-color);font:inherit;resize:vertical}
.br-handover>div{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}
.br-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.7rem;padding:.7rem .8rem;border-top:1px solid var(--kfl-border);background:var(--kfl-surface);color:var(--kfl-ink);font-size:.67rem}
.br-footer>div{display:flex;flex-wrap:wrap;gap:.4rem}
.br-footer button:disabled{opacity:.5;cursor:default}
.br-footer [data-br-reset]{background:var(--md-default-bg-color);color:var(--kfl-blue)}
body .md-typeset .cdk-browser-lab__app--bulkrec>.br-footer{background:var(--kfl-surface);color:var(--kfl-ink);border-color:var(--kfl-border)}
body .md-typeset .cdk-browser-lab__app--bulkrec>.br-footer>strong{color:var(--kfl-ink)}
body .md-typeset .cdk-browser-lab__app--bulkrec>.br-footer button{border-color:var(--kfl-blue);background:var(--kfl-action);color:var(--kfl-action-ink)}
body .md-typeset .cdk-browser-lab__app--bulkrec>.br-footer [data-br-reset]{background:var(--md-default-bg-color);color:var(--kfl-blue)}
body .md-typeset .cdk-browser-lab__app--bulkrec .br-coach>details,body .md-typeset .cdk-browser-lab__app--bulkrec .br-coach>details>summary{background:var(--kfl-surface)!important}
body .md-typeset .cdk-browser-lab__app--bulkrec .br-coach>details>summary{margin:0;min-height:34px}
.br-dialog [data-br-dialog-feedback]{color:#a92332!important;font-size:12px}
@media(max-width:900px){.br-workspace{grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr)}.br-context{grid-column:1/-1;border-top:1px solid #a7afb6}.br-tree{min-height:260px}.br-reference{height:45px}.br-context>pre{height:150px!important}.br-feature-list{min-height:140px}.br-native dl>div{grid-template-columns:80px minmax(0,1fr)}}
@media(max-width:600px){.br-stage{padding:.3rem}.br-workspace{grid-template-columns:95px minmax(0,1fr)}.br-menu{gap:10px}.br-scan-grid{grid-template-columns:minmax(0,1fr) 88px;gap:6px}.br-path{grid-template-columns:minmax(0,1fr) 30px}.br-path>input{grid-row:2}.br-path>button{grid-row:2}.br-path{font-size:11px!important}.br-path>input{grid-column:1}.br-scanners{max-height:370px}.br-dialog>div{padding:7px}.br-native{font-size:11px!important}.br-toolbar label:first-of-type{max-width:150px}.br-radio{font-size:10px!important}.br-tree{padding:1px}.br-tree>*{font-size:10px!important}.br-feature-list button{font-size:10px!important}.br-review,.br-handover{margin:.5rem;padding:.6rem}.br-coach{margin:.5rem}.br-coach>ol>li{min-width:110px!important}.br-review dl>div{grid-template-columns:65px minmax(0,1fr)}}
