/* Maldump teaching chrome shares Kansa's blue tokens; the native apps retain their own surfaces. */
.mal-guide{line-height:1.75}.mal-guide :is(p,li,code),.mal-full :is(p,li,code){overflow-wrap:anywhere}
.mal-guide a,.mal-full a{color:var(--kfl-blue)}
.mal-hero{padding:1.1rem;margin:1rem 0 1.5rem;border:1px solid var(--kfl-border);border-top:4px solid var(--kfl-blue);border-radius:12px;background:linear-gradient(115deg,var(--kfl-surface),var(--md-default-bg-color));color:var(--kfl-ink)}
.mal-hero>span{display:block;color:var(--kfl-blue);font-size:.63rem;font-weight:750;text-transform:uppercase;letter-spacing:.04em}.mal-hero>strong{display:block;margin:.4rem 0;font-size:1.25rem;line-height:1.4}.mal-hero p{font-size:.8rem}
.mal-guide .md-button--primary{background:var(--kfl-action);border-color:var(--kfl-action);color:var(--kfl-action-ink)}
.mal-guide-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.mal-guide-cards article{padding:.8rem 1rem;border:1px solid var(--kfl-border);border-radius:10px;background:var(--kfl-surface);color:var(--kfl-ink)}
body .md-typeset .mal-guide-cards h3{font-size:.9rem;margin:.2rem 0 .5rem}.mal-guide-cards p{font-size:.76rem}
.mal-guide img{display:block;max-width:100%;height:auto;margin:1rem auto .4rem;border:1px solid var(--kfl-border);border-radius:6px}.mal-guide p:has(>em:only-child){font-size:.72rem;color:var(--md-default-fg-color--light)}
.mal-guide details{border:1px solid var(--kfl-border);border-radius:8px;box-shadow:none}.mal-guide summary{background:var(--kfl-surface);color:var(--kfl-ink)}
.mal-guide .highlight :is(pre,code),.mal-full .highlight :is(pre,code){white-space:pre-wrap;overflow-wrap:anywhere}
.mal-full .cdk-practice__path small{display:block;min-height:1.2em;font-size:.6rem;color:var(--kfl-blue)}
.mal-full .cdk-practice__path [aria-current=step] b,.mal-full .cdk-practice__path [data-state=complete] b{background:var(--kfl-action);color:var(--kfl-action-ink)}
body .md-typeset .mal-full :is(.kfl-step,.kfl-help)>:is(p,ul,ol,table){font-size:.8rem;line-height:1.7}
.mal-full :is(h3,h4){scroll-margin-top:5rem}
.mal-lab{min-width:0;color:var(--kfl-ink);font-family:"Segoe UI",Arial,sans-serif}.mal-lab *{box-sizing:border-box}.mal-lab [hidden]{display:none!important}
.mal-lab button,.mal-lab input,.mal-lab textarea,.mal-lab select{font-family:inherit}.mal-lab button{cursor:pointer}.mal-lab button:disabled{opacity:.5;cursor:default}
.mal-lab :is(button,input,textarea,select,summary,[tabindex]):focus-visible{outline:2px solid #287abf;outline-offset:2px}
.mal-brief{padding:1rem;border-bottom:1px solid var(--kfl-border);background:var(--kfl-surface)}.mal-brief p{margin:.2rem 0 .6rem;font-size:.8rem;line-height:1.65}.mal-brief p:last-child{margin-bottom:0}.mal-brief .mal-boundary{font-size:.65rem;line-height:1.6}
body .md-typeset .mal-lab .mal-steps{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.25rem;padding:.8rem .6rem;margin:0;list-style:none;border-bottom:1px solid var(--kfl-border);background:var(--kfl-surface)}
.mal-steps li{position:relative;margin:0!important}.mal-steps li:not(:last-child):after{content:'';position:absolute;left:calc(50% + 18px);right:calc(-50% + 18px);top:17px;height:1px;background:var(--kfl-border)}
.mal-steps button{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:.25rem;min-height:52px;width:100%;padding:0;border:0;background:none;color:var(--kfl-ink);font-size:.58rem}.mal-steps b{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--kfl-border);border-radius:50%;background:var(--md-default-bg-color);font-size:.7rem}
.mal-steps [aria-current=step] b,.mal-steps .is-done b{color:var(--kfl-action-ink);border-color:var(--kfl-action);background:var(--kfl-action)}.mal-steps [aria-current=step]{font-weight:700;color:var(--kfl-blue)}
.mal-count{margin:0;padding:.3rem .85rem;font-size:.65rem;background:var(--kfl-surface);border-bottom:1px solid var(--kfl-border)}
.mal-coach{padding:1rem}.mal-eyebrow{display:block;font-size:.58rem;letter-spacing:.05em;text-transform:uppercase;color:var(--kfl-blue);font-weight:700}
body .md-typeset .mal-lab .mal-coach h3{margin:.25rem 0 .6rem;font-size:.9rem;line-height:1.5;color:var(--kfl-ink)}
.mal-coach>p{font-size:.8rem;line-height:1.65;margin:.45rem 0}.mal-coach .mal-small{font-size:.65rem}
.mal-command{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:.5rem;padding:.55rem .7rem;border:1px solid var(--kfl-border);border-radius:7px;background:var(--kfl-surface)}
body .md-typeset .mal-command code{padding:0;background:none;color:var(--kfl-ink);font-size:.75rem;white-space:pre-wrap;overflow-wrap:anywhere}
.mal-command button{display:grid;place-items:center;width:44px;height:44px;border:0;background:none;color:var(--kfl-blue)}.mal-command svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.mal-command button.is-copied{color:#19704e}
.mal-lab [data-mal-feedback]:empty,.mal-lab [data-mal-copy-status]:empty{display:none}
.mal-lab [data-mal-feedback]{padding:.6rem .7rem;border-left:3px solid var(--kfl-blue);background:var(--kfl-surface);border-radius:4px}
.mal-lab [data-mal-feedback].is-correct{color:#175a3e;background:#e9f6ef;border-color:#248055}.mal-lab [data-mal-feedback].is-error{color:#8b2434;background:#fff0f1;border-color:#b83a4e}
.mal-assessment{padding:0 1rem 1rem}.mal-assessment [role=group]{display:grid;gap:.6rem}.mal-assessment button{padding:.7rem;text-align:left;border:1px solid var(--kfl-border);border-radius:7px;background:var(--md-default-bg-color);color:var(--kfl-ink);font-size:.77rem;line-height:1.6;min-height:44px}
.mal-assessment button[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--kfl-blue)}.mal-assessment label{display:block;margin:.8rem 0 .3rem;font-size:.75rem}.mal-assessment textarea{display:block;width:100%;padding:.6rem;border:1px solid var(--kfl-border);border-radius:6px;background:var(--md-default-bg-color);color:var(--kfl-ink);font-size:16px;line-height:1.6;resize:vertical}
.mal-assessment details{margin-top:.8rem;border:1px solid var(--kfl-border);border-radius:6px;font-size:.75rem}.mal-assessment summary{min-height:44px;background:var(--kfl-surface);color:var(--kfl-ink)}
/* Legacy conhost: white caption bar, flat controls, uncoloured command text, black console. */
.mal-desktop{margin:0 .85rem .85rem;min-width:0;overflow:hidden;border:1px solid #8b9eae;background:#d5dfe8;border-radius:4px}
.mal-window{position:relative;min-width:0;border:1px solid #9a9a9a;background:#fff;color:#111;box-shadow:0 2px 6px #0002}.mal-window.is-maximized{border:0}.mal-window.is-maximized .mal-console{height:660px}
.mal-titlebar{display:flex;align-items:center;gap:7px;height:32px;padding-left:8px;background:#fff;color:#111;font:12px/1 "Segoe UI",Arial,sans-serif;user-select:none}
.mal-titlebar>span:nth-child(2){flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mal-app-icon{display:flex;width:16px;height:16px;flex:none}.mal-app-icon img,.mal-app-icon svg{width:16px;height:16px}
.mal-caption-buttons{display:flex;height:100%;margin-left:auto}.mal-caption-buttons button{display:grid;place-items:center;width:44px;padding:0;border:0;border-radius:0;background:transparent;color:#111}.mal-caption-buttons button:hover{background:#e5e5e5}.mal-caption-buttons button:last-child:hover{background:#c42b1c;color:#fff}.mal-caption-buttons svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1}
.mal-console{height:520px;overflow:auto;padding:7px 9px 20px;background:#0c0c0c;color:#ccc;font:18px/1.35 Consolas,"Courier New",monospace;scrollbar-color:#707070 #252525;font-variant-ligatures:none}
.mal-console:focus-within{box-shadow:inset 0 0 0 1px #777}.mal-console [data-mal-output] p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-all;color:inherit;font:inherit;min-height:1.35em}.mal-console [data-mal-output] .mal-av{color:#ffff00}
.mal-console form{position:relative;margin:0;padding:0;min-height:1.35em}.mal-console form label{position:absolute;top:0;left:0;color:inherit;font:inherit;pointer-events:none;white-space:pre}
.mal-console form textarea{display:block;width:100%;height:1.35em;min-height:1.35em;max-height:none;margin:0;padding:0;border:0;border-radius:0;outline:0;background:transparent;color:#ccc;caret-color:#ccc;font:inherit;line-height:inherit;white-space:pre-wrap;word-break:break-all;overflow:hidden;resize:none;text-indent:var(--mal-prompt-width,18ch)}
.mal-console form textarea:focus-visible{outline:0}.mal-cursor{display:block;margin-top:1rem;width:9px;height:4px;background:#ccc;animation:mal-cursor 1s steps(1,end) infinite}
@keyframes mal-cursor{50%{opacity:0}}
.mal-console-tools{display:flex;align-items:center;gap:.5rem;justify-content:space-between;padding:5px 8px;background:#eee;color:#444;font:11px/1.4 "Segoe UI",Arial,sans-serif;border-top:1px solid #aaa}.mal-console-tools button{border:1px solid #aaa;border-radius:2px;background:#fafafa;color:#222;padding:5px 8px;white-space:nowrap;font-size:11px}
/* Timeline Explorer v2-era light desktop controls, independent of the site theme. */
.mal-tle{font:13px/1.4 "Segoe UI",Arial,sans-serif;background:#f0f0f0}.mal-menubar{display:flex;gap:1px;padding:2px 3px;background:#f0f0f0;border-bottom:1px solid #d0d0d0}.mal-menubar>div{position:relative}.mal-menubar>div>button{height:27px;padding:2px 9px;border:1px solid transparent;background:none;color:#222;font-size:13px}
.mal-menubar>div>button:is(:hover,[aria-expanded=true]){border-color:#90b4d5;background:#dceaf8}.mal-menubar u{text-decoration:none}.mal-menubar button:focus-visible u{text-decoration:underline}
.mal-menu{position:absolute;left:0;top:100%;z-index:20;min-width:205px;padding:3px;background:#f5f5f5;border:1px solid #b0b0b0;box-shadow:3px 3px 8px #0003}.mal-menu button{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;padding:6px 10px;border:0;background:none;color:#222;text-align:left;font:13px "Segoe UI",sans-serif;white-space:nowrap}.mal-menu button:hover{background:#d9e9fb}.mal-menu kbd{padding:0;border:0;box-shadow:none;background:none;color:#555;font:11px "Segoe UI",sans-serif}
.mal-file-tabs{display:flex;align-items:center;min-height:29px;padding-left:3px;background:#e8e8e8;border-bottom:1px solid #b0b0b0}.mal-file-tabs button{padding:4px 8px;height:27px;border:1px solid #bbb;border-bottom:0;border-radius:0;background:#fff;color:#333;font-size:12px}.mal-file-tabs button+button{border-left:0;padding:4px 7px}
.mal-tle-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:420px;background:#fff;color:#777;gap:8px}.mal-tle-empty>span svg{width:38px;height:38px;opacity:.6}.mal-tle-empty strong{font-size:15px}.mal-tle-empty p{margin:0;font-size:12px}
.mal-groupbar{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-height:39px;padding:5px 7px;background:#f0f0f0;border-bottom:1px solid #bbb;color:#777;font:13px/1.4 Consolas,monospace}.mal-groupbar>span{flex:1 1 180px}.mal-groupbar>button{border:1px solid #aaa;background:#fff;color:#333}
.mal-groupbar form{display:flex;gap:5px;margin:0;max-width:100%}.mal-groupbar input{width:165px;min-width:0;padding:4px 6px;border:1px solid #aaa;background:#fff;color:#222;font-size:12px}.mal-groupbar form button{padding:3px 9px;border:1px solid #a9a9a9;border-radius:2px;background:linear-gradient(#fff,#e9e9e9);color:#333;font-size:12px}
.mal-grid-scroll{height:365px;max-width:100%;overflow:auto;background:#fff;scrollbar-color:#aaa #eee}
body .md-typeset .mal-grid{table-layout:fixed;min-width:0;width:1500px;margin:0;border:0;border-collapse:collapse;border-radius:0;background:#fff;color:#222;font:13px/1.45 Consolas,"Courier New",monospace;box-shadow:none}
body .md-typeset .mal-grid :is(th,td){position:relative;height:26px;max-width:none;padding:2px 5px;border:1px solid #d6d6d6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#fff;color:#333;text-align:left;vertical-align:middle;font:inherit}
body .md-typeset .mal-grid th{height:29px;padding:0;background:#f4f4f4;font-weight:400}.mal-grid th>button{width:100%;height:28px;padding:2px 7px;border:0;background:none;color:#333;text-align:left;font:inherit}.mal-grid th>button:hover{background:#e1eaf2}
.mal-grid .mal-column-resize{position:absolute;right:0;top:0;bottom:0;z-index:2;width:5px;cursor:col-resize;touch-action:none}.mal-grid .mal-column-resize:focus-visible{outline-offset:-2px}
body .md-typeset .mal-grid .mal-filter-row td{height:26px;background:#f1f1f1;padding:0 3px}.mal-filter-row input{width:100%;min-width:0;height:24px;padding:2px 3px;border:0;background:transparent;color:#333;font:12px Consolas,monospace}.mal-filter-row input::placeholder{color:#397351}
body .md-typeset .mal-grid tbody tr:hover td{background:#edf5fc}body .md-typeset .mal-grid tbody tr[aria-selected=true] td{background:#cce8ff;color:#111}
.mal-grid tbody td:first-child{color:#777!important;text-align:right!important;background:#f0f0f0!important}.mal-grid input[type=checkbox]{width:14px;height:14px;vertical-align:middle;margin:0;accent-color:#28699d}.mal-grid .mal-group-row td{background:#e8eef4!important;color:#234460!important;font-weight:700!important}
.mal-filter-status{padding:3px 8px;background:#f1f6fb;color:#315e86;font-size:11px;border-top:1px solid #c5d8e8}
.mal-tle-status{display:flex;gap:0;min-height:24px;flex-wrap:wrap;padding:2px 0;background:#eee;color:#34566b;font:11px/1.5 "Segoe UI",sans-serif;border-top:1px solid #bbb}.mal-tle-status>span{padding:1px 6px;border-right:1px solid #ccc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mal-tle-status>span:first-child{flex:1 1 210px}
.mal-taskbar{display:flex;align-items:center;gap:3px;min-height:43px;padding:3px 7px;background:#e9edf2eF;border-top:1px solid #b9c4cf;font:12px "Segoe UI",sans-serif;color:#333}.mal-start{display:grid;place-items:center;width:29px;flex:none}.mal-start svg{width:19px;height:19px;fill:#2475bb}
.mal-taskbar button{display:flex;align-items:center;gap:7px;min-height:34px;min-width:0;padding:4px 8px;border:1px solid transparent;border-radius:3px;background:none;color:#222;font:12px "Segoe UI",sans-serif}.mal-taskbar button[aria-pressed=true]{border-color:#c5cbd2;background:#fff;box-shadow:inset 0 -2px #287abf}.mal-taskbar :is(img,button>svg){width:19px;height:19px;flex:none}.mal-taskbar-case{margin-left:auto;font-size:10px;color:#666}.mal-restore{padding:5rem 1rem;color:#314a62;text-align:center;font-size:14px}
.mal-selected{margin:0 .85rem .85rem;padding:.8rem;border:1px solid var(--kfl-border);border-radius:7px;background:var(--kfl-surface);font-size:.72rem}.mal-selected>strong{display:block;color:var(--kfl-blue);margin-bottom:.5rem}.mal-selected dl{margin:0;display:grid;grid-template-columns:7rem minmax(0,1fr);gap:.3rem .6rem}.mal-selected :is(dt,dd){margin:0;overflow-wrap:anywhere}.mal-selected dt{font-weight:650}.mal-selected dd{font-family:Consolas,monospace;user-select:text}
.mal-downloads,.mal-footer{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;padding:.75rem .85rem;background:var(--kfl-surface);border-top:1px solid var(--kfl-border);font-size:.65rem}.mal-downloads>span{font-weight:650;margin-right:auto}.mal-footer>span{flex:1 1 13rem}.mal-footer>div{display:flex;gap:.4rem;flex-wrap:wrap}.mal-downloads button,.mal-footer button,.mal-reset button{min-height:44px;padding:.4rem .6rem;border:1px solid var(--kfl-border);border-radius:6px;background:var(--md-default-bg-color);color:var(--kfl-blue);font:inherit;font-size:.65rem}
.mal-footer [data-mal-next]:not(:disabled){background:var(--kfl-action);border-color:var(--kfl-action);color:var(--kfl-action-ink)}.mal-reset{padding:1rem;background:var(--kfl-surface);font-size:.75rem}.mal-reset button{margin-right:.5rem}
/* File -> Open belongs to the virtual desktop; it never opens a host file picker. */
.mal-open,.mal-about{box-sizing:border-box;width:min(650px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;margin:auto;padding:0;border:1px solid #8d8d8d;border-radius:3px;background:#f0f0f0;color:#222;font:13px/1.4 "Segoe UI",Arial,sans-serif;box-shadow:0 14px 50px #0006}.mal-open::backdrop,.mal-about::backdrop{background:#07152566}
.mal-open>header{display:flex;align-items:center;justify-content:space-between;height:33px;padding-left:10px;background:#fff}.mal-open>header strong{font-weight:400}.mal-open>header button{height:32px;width:40px;border:0;background:none;color:#222;font-size:20px}.mal-open-location{margin:8px;padding:6px;border:1px solid #bbb;background:#fff;font-size:12px}
.mal-open-body{display:grid;grid-template-columns:120px minmax(0,1fr);height:210px;margin:0 8px;border:1px solid #bbb;background:#fff}.mal-open-body aside{padding:12px;color:#4a5565;background:#f7f7f7;line-height:2}.mal-open-body>div{border-left:1px solid #ddd}.mal-open-head{display:flex;justify-content:space-between;padding:5px 10px;border-bottom:1px solid #ddd;color:#526779}
.mal-open [data-mal-file-choice]{display:flex;align-items:center;justify-content:space-between;width:calc(100% - 10px);margin:5px;padding:5px;border:1px solid transparent;background:#fff;color:#222;text-align:left;font-size:12px}.mal-open [data-mal-file-choice][aria-selected=true]{border-color:#80b5e3;background:#dcecfb}.mal-open [data-mal-file-choice] small{font-size:11px;color:#666}.mal-open-body p{padding:10px;font-size:12px}
.mal-open>form{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:7px;padding:10px}.mal-open>form :is(input,select){width:100%;padding:5px;border:1px solid #999;border-radius:0;background:#fff;color:#222;font-size:13px}.mal-open>form>div,.mal-open>form>p{grid-column:1/-1;margin:0}.mal-open>form>p{color:#932c32}.mal-open>form>div{display:flex;justify-content:flex-end;gap:8px}.mal-open>form button,.mal-about button{min-height:30px;min-width:80px;padding:4px 12px;border:1px solid #aaa;border-radius:2px;background:#f9f9f9;color:#222;font-size:13px}.mal-open>form button[type=submit]{border-color:#2b77b9;box-shadow:inset 0 0 0 1px #99c3e8}
.mal-about{width:min(420px,calc(100vw - 24px));padding:20px;background:#fff}.mal-about strong{font-size:15px}.mal-about p{font-size:13px;line-height:1.6;margin:10px 0 15px}
@media(prefers-reduced-motion:reduce){.mal-cursor{animation:none}}
@media(max-width:700px){.mal-guide-cards{grid-template-columns:1fr}body .md-typeset .mal-lab .mal-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem .1rem}.mal-steps li:after{display:none}.mal-coach{padding:.8rem}.mal-desktop{margin:0 .45rem .7rem}.mal-console{height:440px;font-size:16px}.mal-window.is-maximized .mal-console{height:520px}.mal-titlebar{font-size:11px}.mal-caption-buttons button{width:32px}.mal-console-tools{align-items:flex-start}.mal-console-tools>span{max-width:65%}.mal-selected dl{grid-template-columns:1fr;gap:.15rem}.mal-selected dd{margin-bottom:.4rem}.mal-taskbar button{gap:5px;padding:4px 5px;font-size:11px}.mal-taskbar-case{display:none}.mal-start{width:20px}.mal-groupbar form{width:100%}.mal-groupbar input{flex:1;width:100%}.mal-grid-scroll{height:330px}.mal-menubar>div>button{padding:2px 8px}.mal-menubar>div:nth-last-child(-n+2) .mal-menu{left:auto;right:0}.mal-open-body{grid-template-columns:85px minmax(0,1fr)}.mal-open-body aside{font-size:11px;padding:8px}.mal-open>form{grid-template-columns:75px minmax(0,1fr)}.mal-footer>div{width:100%}.mal-footer button{flex:1}.mal-downloads>span{width:100%}.mal-downloads button{flex:1 1 40%}}
@media(forced-colors:active){.mal-grid tbody tr[aria-selected=true] td{outline:1px solid Highlight}.mal-steps [aria-current=step]{outline:2px solid Highlight}}

/* Coaching controls sit outside the native conhost window. */
.mal-console-tools{margin:0 .85rem .85rem;padding:.5rem .6rem;background:var(--kfl-surface);border:1px solid var(--kfl-border);border-radius:6px;color:var(--kfl-ink);font-size:.6rem}.mal-console-tools button{min-height:36px;background:var(--md-default-bg-color);border-color:var(--kfl-border);color:var(--kfl-blue)}
@media(max-width:700px){.mal-menubar{position:relative}.mal-menubar>div{position:static}.mal-menubar .mal-menu{left:3px!important;right:auto!important}}

.no-js [data-mal-load]{display:none}

/* Native light widgets remain light when the documentation uses slate. */
.mal-tle,.mal-open,.mal-about{color-scheme:light}
body .md-typeset .mal-console form textarea:is(:focus,:focus-visible){outline:none!important;box-shadow:none!important}

/* Set Up & Export: scannable teaching sections with the shared blue palette. */
.mal-export-hero{margin:1rem 0 1.5rem;padding:1.25rem;border:1px solid var(--kfl-border);border-top:4px solid var(--kfl-blue);border-radius:14px;background:linear-gradient(120deg,var(--kfl-surface),var(--md-default-bg-color));color:var(--kfl-ink)}
.mal-guide-kicker{display:block;color:var(--kfl-blue);font-size:.6rem;font-weight:750;letter-spacing:.05em;text-transform:uppercase}
.mal-export-hero>strong{display:block;margin:.45rem 0 .7rem;font-size:1.4rem;line-height:1.35;letter-spacing:-.02em}.mal-export-hero>p{margin:.5rem 0;font-size:.8rem;line-height:1.7}.mal-export-hero p.mal-version-note{margin-top:1rem;font-size:.65rem;color:var(--md-default-fg-color--light)}
.mal-guide-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem;margin:1.1rem 0 .6rem}.mal-guide-flow a{display:flex;align-items:center;gap:.45rem;min-height:44px;padding:.45rem .55rem;border:1px solid var(--kfl-border);border-radius:7px;background:var(--md-default-bg-color);color:var(--kfl-ink);font-size:.7rem;font-weight:650}.mal-guide-flow b{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:var(--kfl-surface);color:var(--kfl-blue);font-size:.6rem}.mal-guide-flow span{margin-left:auto;color:var(--kfl-blue);font-size:1.2rem}
.mal-export-guide .mal-guide-section{margin:1.25rem 0;padding:1.1rem 1.2rem;border:1px solid var(--kfl-border);border-radius:12px;background:var(--md-default-bg-color);box-shadow:0 3px 12px #14376a05}
body .md-typeset .mal-guide-section>h2{margin:0 0 .8rem;padding:0 0 .65rem;border-bottom:1px solid var(--kfl-border);color:var(--kfl-ink);font-size:1.05rem;font-weight:700;line-height:1.45;scroll-margin-top:5rem}
body .md-typeset .mal-guide-section>h3{margin-top:1.6rem;color:var(--kfl-ink);font-size:.92rem;line-height:1.5;scroll-margin-top:5rem}.mal-export-guide .mal-guide-section :is(h4,h5){scroll-margin-top:5rem}
.mal-guide-section>p{font-size:.8rem;line-height:1.8}.mal-guide-section>p:last-child{margin-bottom:0}.mal-guide-section :is(ul,ol){font-size:.78rem;line-height:1.75}
.mal-readiness-cards,.mal-source-output{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:.6rem 0}.mal-readiness-cards article,.mal-source-output article{min-width:0;padding:.8rem .85rem;border:1px solid var(--kfl-border);border-radius:8px;background:var(--kfl-surface);color:var(--kfl-ink)}
.mal-readiness-cards article>p:first-child,.mal-source-output article>p:first-child{margin-top:0}.mal-readiness-cards strong,.mal-source-output strong{font-size:.75rem;color:var(--kfl-ink)}.mal-readiness-cards p,.mal-source-output p{margin:.3rem 0 0;font-size:.75rem;line-height:1.7}.mal-source-output{grid-template-columns:repeat(2,minmax(0,1fr))}
.mal-install-routes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin:1rem 0}.mal-install-routes a{position:relative;display:grid;align-content:start;gap:.25rem;min-width:0;padding:.8rem 1.2rem .8rem .8rem;border:1px solid var(--kfl-border);border-radius:8px;background:var(--kfl-surface);color:var(--kfl-ink)}.mal-install-routes a:first-child{border-top:3px solid var(--kfl-blue)}.mal-install-routes span{color:var(--kfl-blue);font-size:.55rem;font-weight:700;text-transform:uppercase;letter-spacing:.025em}.mal-install-routes strong{font-size:.8rem}.mal-install-routes small{font-size:.68rem;line-height:1.65}.mal-install-routes i,.mal-guide-next i{position:absolute;right:.6rem;top:50%;transform:translateY(-50%);font-style:normal;color:var(--kfl-blue);font-size:1.5rem}
.mal-guide-note{padding:.7rem .85rem;border-left:3px solid var(--kfl-blue);border-radius:0 7px 7px 0;background:var(--kfl-surface);color:var(--kfl-ink);font-size:.74rem!important;line-height:1.7}.mal-guide-note>strong{display:block;margin-bottom:.15rem}
body .md-typeset .mal-review-path{margin:.7rem 0 1rem;padding:0;list-style:none}.mal-review-path li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:.6rem;margin:0;padding:.7rem 0;border-bottom:1px solid var(--kfl-border)}.mal-review-path li:last-child{border-bottom:0}.mal-review-path li>b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--kfl-surface);color:var(--kfl-blue);font-size:.65rem}.mal-review-path strong{display:block;margin-bottom:.2rem;font-size:.78rem;color:var(--kfl-ink)}.mal-review-path span{display:block;font-size:.75rem;line-height:1.7}
.mal-guide-section table{width:100%;border-color:var(--kfl-border)!important;border-radius:8px;overflow:hidden}.mal-guide-section thead th{background:var(--kfl-surface);color:var(--kfl-ink)}.mal-guide-section td{font-size:.74rem;line-height:1.7}
.mal-guide-next{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.mal-guide-next a{position:relative;display:grid;gap:.3rem;padding:.85rem 1.5rem .85rem .85rem;border:1px solid var(--kfl-border);border-radius:8px;background:var(--kfl-surface);color:var(--kfl-ink)}.mal-guide-next span{font-size:.65rem;color:var(--kfl-blue)}.mal-guide-next strong{font-size:.8rem;line-height:1.5}
.mal-export-guide :is(a,summary):focus-visible{outline:3px solid var(--kfl-blue);outline-offset:3px}.mal-export-guide :is(.mal-guide-flow,.mal-install-routes,.mal-guide-next) a:is(:hover,:focus-visible){border-color:var(--kfl-blue);box-shadow:inset 0 0 0 1px var(--kfl-blue)}
/* Hints remain available without interrupting every successful command. */
.mal-look-for{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.5rem;margin:.75rem 0!important;font-size:.75rem!important}.mal-look-for>strong{color:var(--kfl-blue)}
body .md-typeset .mal-task-help{margin:.65rem 0 .85rem;padding:0;border:1px solid var(--kfl-border);border-radius:7px;background:var(--md-default-bg-color);box-shadow:none;overflow:hidden}.mal-task-help>summary{position:relative;min-height:44px;margin:0!important;padding:.6rem 2rem .6rem .7rem;color:var(--kfl-ink);background:var(--kfl-surface);font-size:.72rem;list-style:none}.mal-task-help>summary:before{display:none!important}.mal-task-help>summary:after{content:'';position:absolute;right:.8rem;top:50%;width:7px;height:7px;border-right:2px solid var(--kfl-blue);border-bottom:2px solid var(--kfl-blue);transform:translateY(-70%) rotate(45deg)}.mal-task-help[open]>summary:after{transform:translateY(-30%) rotate(225deg)}.mal-task-help>p{margin:0;padding:.7rem;font-size:.75rem;line-height:1.75;color:var(--kfl-ink)}
@media(max-width:900px){.mal-readiness-cards,.mal-install-routes{grid-template-columns:1fr}.mal-guide-flow{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.mal-export-hero{padding:.85rem}.mal-export-hero>strong{font-size:1.15rem}.mal-export-guide .mal-guide-section{padding:.85rem .75rem}.mal-source-output,.mal-guide-next{grid-template-columns:1fr}.mal-look-for{grid-template-columns:1fr;gap:.15rem}.mal-guide-flow a{font-size:.65rem;padding:.35rem .45rem;gap:.25rem}.mal-guide-section table{min-width:0!important}.mal-guide-section :is(th,td){overflow-wrap:anywhere}}

/* Override the theme disclosure glyph with one clear CSS chevron. */
body .md-typeset .mal-task-help>summary:after{content:"";position:absolute;right:.8rem;top:50%;width:7px;height:7px;background:none;mask:none;-webkit-mask:none;border:0;border-right:2px solid var(--kfl-blue);border-bottom:2px solid var(--kfl-blue);transform:translateY(-70%) rotate(45deg)}
body .md-typeset .mal-task-help[open]>summary:after{transform:translateY(-30%) rotate(225deg)}

/* Keep the floating site control clear of the simulated app and copy controls. */
body:not(.cdk-home-page):has([data-maldump-lab]) .md-top[data-md-component=top]{display:none!important}
body:has(.mal-guide) .md-top svg path{d:path("M6 15l6-6 6 6");fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Full Lab: Kansa's three activities, with a compact beginner finish line. */
body .md-typeset .mal-full-wins{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin:1rem 0 1.3rem;padding:0;list-style:none}
.mal-full-wins li{display:grid;grid-template-columns:28px minmax(0,1fr);align-content:start;gap:.5rem;margin:0!important;padding:.8rem;border:1px solid var(--kfl-border);border-radius:9px;background:var(--kfl-surface);color:var(--kfl-ink)}
.mal-full-wins li>b{display:grid;place-items:center;width:26px;height:26px;border:1px solid var(--kfl-border);border-radius:50%;background:var(--md-default-bg-color);color:var(--kfl-blue);font-size:.65rem}
.mal-full-wins strong{display:block;margin-bottom:.2rem;font-size:.77rem;line-height:1.5}.mal-full-wins small{display:block;font-size:.69rem;line-height:1.65}
body .md-typeset .mal-full-case-note,body .md-typeset .mal-full-prompt{padding:.8rem .9rem;border:1px solid var(--kfl-border);border-left:3px solid var(--kfl-blue);border-radius:8px;background:var(--kfl-surface);color:var(--kfl-ink);font-size:.76rem;line-height:1.75}
.mal-full-case-note>strong,.mal-full-prompt>strong{display:block;margin-bottom:.2rem;color:var(--kfl-blue)}
body .md-typeset .mal-full .mal-full-time{margin:.6rem 0 .9rem;font-size:.68rem;color:var(--kfl-blue);line-height:1.6}
.mal-full .kfl-checkpoint label{min-height:44px;line-height:1.6}
.mal-full .kfl-help table{min-width:0!important;table-layout:fixed;width:100%}.mal-full .kfl-help :is(td,th){overflow-wrap:anywhere;line-height:1.6}
@media(max-width:700px){body .md-typeset .mal-full-wins{grid-template-columns:1fr}.mal-full-wins li{padding:.65rem .75rem}.mal-full .kfl-help :is(td,th){padding:.55rem .5rem}}
