/* Blue learning shell; classic black/grey Command Prompt. */
.wpm{padding:20px;font:14px/1.55 'Segoe UI',Arial,sans-serif;color:#203c60}.wpm *,.wpm *::before,.wpm *::after{box-sizing:border-box}.wpm [hidden]{display:none!important}.wpm button,.wpm textarea,.wpm input{font:inherit}.wpm button{cursor:pointer}.wpm button:disabled{opacity:.45;cursor:default}.wpm :is(button,a,textarea,input,summary,[tabindex]):focus-visible{outline:3px solid #3688d4;outline-offset:3px}
body .md-typeset .wpm h4{margin:0!important;color:#203c60!important;font-size:18px!important;font-weight:700!important;line-height:1.35}body .md-typeset .wpm p{margin:0}.wpm-kicker{display:block;color:#246cb6;font-size:11px;font-weight:800;letter-spacing:.07em}.wpm-brief{padding:20px;background:linear-gradient(115deg,#edf5ff,#e3effc);border:1px solid #bed8f3;border-radius:9px 9px 0 0}body .md-typeset .wpm .wpm-brief h4{margin:5px 0 8px!important;font-size:21px!important;color:#173e69!important}.wpm-badge{display:inline-block;margin-top:10px;padding:4px 9px;border:1px solid #b6cee9;border-radius:20px;background:#fff9;color:#33567c;font-size:11px}
body .md-typeset .wpm .wpm-plan{margin:0!important;border:1px solid #bed8f3;border-top:0;border-radius:0 0 9px 9px;color:#203c60;background:#f8fbff;box-shadow:none}body .md-typeset .wpm .wpm-plan>summary{margin:0;padding:11px 20px!important;background:#edf5ff;color:#24598f;font-size:13px}body .md-typeset .wpm :is(.wpm-plan,.wpm-size-note)>summary::before{display:none}.wpm-plan>div{padding:0 20px 16px}.wpm-plan dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;margin:12px 0}.wpm dt{color:#526d8a;font-size:11px;font-weight:700}.wpm dd{margin:3px 0 0;font-size:13px;overflow-wrap:anywhere}.wpm-plan dd{font-weight:600}.wpm .wpm-boundary{font-size:11px;color:#536c89;line-height:1.6;margin-top:10px}
body .md-typeset .wpm .wpm-milestones{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px;padding:0!important;margin:16px 0!important;list-style:none}body .md-typeset .wpm .wpm-milestones li{display:flex;align-items:center;gap:8px;margin:0!important;padding:9px;border:1px solid #bed8f3;border-radius:6px;color:#526d8a;background:#f7faff;font-size:12px}.wpm-milestones b{display:grid;place-items:center;width:25px;height:25px;flex-shrink:0;border:1px solid #a9c3e2;border-radius:50%;background:#fff}body .md-typeset .wpm .wpm-milestones [aria-current]{border-color:#246cb6;color:#203c60;background:#edf5ff;font-weight:700}.wpm-milestones [aria-current] b{background:#246cb6;border-color:#246cb6;color:#fff}body .md-typeset .wpm .wpm-milestones li.is-done{color:#246cb6;background:#edf5ff}
.wpm-guide{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,1fr);gap:12px 20px;padding:20px;margin-bottom:14px;border:1px solid #aac9eb;border-radius:8px;background:#edf5ff}body .md-typeset .wpm .wpm-guide h4{margin:4px 0 6px!important;font-size:16px!important}.wpm-guide p{font-size:13px}.wpm-command-cue{align-self:center;min-width:0}.wpm-command-cue>div{display:flex;align-items:stretch;gap:8px}body .md-typeset .wpm .wpm-command-cue code{display:block;flex:1;min-width:0;padding:10px;border:1px solid #bed8f3;border-radius:4px;background:#fff;color:#203c60;font:13px/1.5 Consolas,monospace;overflow-wrap:anywhere;white-space:pre-wrap}.wpm-command-cue small{display:block;margin-top:5px;font-size:11px;color:#536c89}.wpm-command-cue button{align-self:center;padding:8px;border:1px solid #a4c5e6;border-radius:4px;background:#fff;color:#246cb6}.wpm-command-cue svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}.wpm-guide>[data-wpm-hint]{justify-self:start;padding:6px 10px;border:1px solid #a4c5e6;border-radius:4px;background:#fff;color:#246cb6;font-size:12px;font-weight:700}.wpm-guide>[data-wpm-hint-text]{grid-column:1/-1;padding:11px;border-left:3px solid #246cb6;border-radius:3px;background:#fff}.wpm-guide .wpm-feedback{grid-column:1/-1;min-height:20px;color:#31567f;font-size:12px}.wpm-guide .wpm-feedback.is-error{color:#934206}
.wpm-terminal{overflow:hidden;border:1px solid #82878e;border-radius:3px;box-shadow:0 8px 25px #0e244b20;background:#0c0c0c;color:#ccc}.wpm-titlebar{display:flex;gap:7px;align-items:center;min-height:31px;padding:5px 8px;background:#f4f4f4;color:#111;font:13px/1.4 'Segoe UI',sans-serif}.wpm-titlebar img{width:16px;height:16px;object-fit:contain}.wpm-titlebar>span:last-child{margin-left:auto;white-space:nowrap}.wpm-console{padding:13px;height:390px;overflow:auto;font:14px/1.5 Consolas,'Courier New',monospace;background:#0c0c0c;color:#ccc;scrollbar-color:#777 #171717}body .md-typeset .wpm .wpm-output pre{margin:0 0 12px;padding:0;border:0;background:transparent;color:#ccc;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.wpm-output .wpm-command-line{margin-bottom:4px!important;color:#eee!important}.wpm-output .wpm-log-error{color:#f3ba9f!important}.wpm-console form{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start}.wpm-console form label{color:#ccc;font:inherit;white-space:nowrap}.wpm-console textarea{width:100%;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:#0c0c0c;color:#ccc;caret-color:#fff;resize:none;font:inherit;line-height:1.5;overflow:auto;color-scheme:dark}.wpm .wpm-console:focus-visible,.wpm .wpm-console textarea:focus,.wpm .wpm-console textarea:focus-visible{outline:none;box-shadow:none}.wpm-console textarea:disabled{opacity:1}.wpm-terminal>footer{display:flex;justify-content:space-between;gap:14px;padding:6px 10px;border-top:1px solid #353535;background:#171717;color:#b2b2b2;font-size:11px}
.wpm-console-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0;color:var(--md-default-fg-color)}.wpm-console-actions button,.wpm-footer button{padding:8px 12px;border:1px solid #95b8df;border-radius:5px;color:#246cb6;background:#fff;font-size:12px;font-weight:700}.wpm-console-actions>[data-wpm-run]{border-color:#246cb6;background:#246cb6;color:#fff}.wpm-console-actions label{display:flex;gap:6px;align-items:flex-start;max-width:100%;font-size:12px}.wpm-console-actions input{margin-top:3px;appearance:auto;accent-color:#246cb6;flex-shrink:0}.wpm-console-actions>[data-wpm-progress]{width:100%;font-size:12px;color:var(--md-default-fg-color)}
.wpm-recovery,.wpm-finding{padding:20px;margin-top:16px;border:1px solid #bed8f3;border-radius:8px;background:#f8fbff}body .md-typeset .wpm :is(.wpm-recovery,.wpm-finding) h4{margin:4px 0 8px!important}.wpm-recovery{border-left:4px solid #b47b26}.wpm-recovery>div,.wpm-finding>div{display:grid;gap:8px;margin:14px 0 10px}.wpm-recovery button,.wpm-finding button{padding:12px;border:1px solid #afc8e4;border-radius:5px;background:#fff;color:#203c60;text-align:left;font-size:13px;line-height:1.5}.wpm :is(.wpm-recovery,.wpm-finding) button:hover{border-color:#246cb6;background:#edf5ff}.wpm :is(.wpm-recovery,.wpm-finding) button[aria-pressed=true]{border:2px solid #246cb6;padding:11px;background:#edf5ff}.wpm-recovery>p:last-child,.wpm-finding>p:last-child{font-size:13px;font-weight:600}
.wpm-record{padding:18px 20px;margin-top:16px;border:1px solid #bed8f3;border-radius:8px;background:#f7faff}.wpm-record dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:12px 0}.wpm-record dd{font-size:12px}body .md-typeset .wpm .wpm-size-note{margin:12px 0 0!important;background:#fff;border:1px solid #bed8f3;box-shadow:none;color:#203c60}body .md-typeset .wpm .wpm-size-note>summary{margin:0;padding:10px 28px 10px 12px!important;background:#edf5ff;color:#24598f;font-size:12px}.wpm-size-note p{padding:12px;font-size:12px}.wpm-complete{margin-top:16px;padding:20px;border:1px solid #8db6e1;border-radius:8px;color:#203c60;background:#edf5ff}.wpm-complete strong{font-size:18px}.wpm-complete p{margin:8px 0 12px!important}.wpm-complete a{display:inline-block;color:#246cb6;font-weight:700;font-size:13px;margin-right:16px}.wpm-footer{display:flex;gap:14px;align-items:center;margin-top:16px;color:var(--md-default-fg-color);font-size:12px}.wpm-footer>div{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto;justify-content:flex-end}.wpm-footer>[data-wpm-status]{min-width:0}.wpm-footer [data-wpm-download]:not(:disabled){color:#fff;background:#246cb6;border-color:#246cb6}
@media(max-width:800px){.wpm-guide{grid-template-columns:1fr}.wpm-footer{flex-direction:column;align-items:stretch}.wpm-footer>div{margin-left:0;justify-content:flex-start}}
@media(max-width:520px){.wpm{padding:14px}.wpm-brief,.wpm-recovery,.wpm-finding,.wpm-record,.wpm-complete{padding:16px}.wpm-plan>div{padding:0 16px 14px}.wpm-plan dl,.wpm-record dl{grid-template-columns:1fr}body .md-typeset .wpm .wpm-plan>summary{padding:11px 16px!important}body .md-typeset .wpm .wpm-milestones{grid-template-columns:repeat(2,minmax(0,1fr))!important}.wpm-guide{padding:16px}.wpm-titlebar>span:last-child{display:none}.wpm-console{padding:10px;height:330px;font-size:13px}.wpm-console form{grid-template-columns:1fr}.wpm-console textarea{min-height:63px}.wpm-terminal>footer{flex-wrap:wrap;gap:5px}}
/* Keep learner text readable inside Material's dark-theme details styles. */
body .md-typeset .wpm .wpm-plan{background:#f8fbff!important;color:#203c60!important;border-color:#bed8f3!important}
body .md-typeset .wpm .wpm-plan>summary,body .md-typeset .wpm .wpm-size-note>summary{background:#edf5ff!important;color:#24598f!important}
body .md-typeset .wpm .wpm-size-note{background:#fff!important;color:#203c60!important}
body .md-typeset .wpm .wpm-output pre,.wpm-console label,.wpm-console textarea{font-weight:400!important}
.wpm-guide>[data-wpm-hint]{align-self:start;grid-column:1}
.wpm-record [data-wpm-result-times]{white-space:pre-line}
/* Match Kansa's learner surfaces in dark mode; retain the native console colours. */
[data-md-color-scheme=slate] .kfl-interactive .wpm{color:var(--kfl-ink)}
[data-md-color-scheme=slate] .kfl-interactive .wpm :is(.wpm-brief,.wpm-guide,.wpm-recovery,.wpm-finding,.wpm-record,.wpm-complete){border-color:var(--kfl-border);background:var(--kfl-surface);color:var(--kfl-ink)}
body[data-md-color-scheme=slate] .md-typeset .kfl-interactive .wpm :is(h4,.wpm-brief h4){color:var(--kfl-ink)!important}
body[data-md-color-scheme=slate] .md-typeset .kfl-interactive .wpm :is(.wpm-plan,.wpm-size-note){border-color:var(--kfl-border)!important;background:var(--md-default-bg-color)!important;color:var(--kfl-ink)!important}
body[data-md-color-scheme=slate] .md-typeset .kfl-interactive .wpm :is(.wpm-plan,.wpm-size-note)>summary{background:var(--kfl-surface)!important;color:var(--kfl-ink)!important}
[data-md-color-scheme=slate] .kfl-interactive .wpm :is(.wpm-kicker,.wpm-complete a){color:var(--kfl-blue)}
[data-md-color-scheme=slate] .kfl-interactive .wpm :is(dt,.wpm-boundary,.wpm-command-cue small,.wpm-feedback){color:var(--kfl-ink)}
[data-md-color-scheme=slate] .kfl-interactive .wpm .wpm-feedback.is-error{color:#ffcf9d}
[data-md-color-scheme=slate] .kfl-interactive .wpm :is(.wpm-badge,.wpm-command-cue code,[data-wpm-hint-text]){border-color:var(--kfl-border);background:var(--md-default-bg-color);color:var(--kfl-ink)}
[data-md-color-scheme=slate] .kfl-interactive .wpm :is(.wpm-command-cue button,.wpm-guide>[data-wpm-hint],.wpm-console-actions button,.wpm-footer button,.wpm-recovery button,.wpm-finding button){border-color:var(--kfl-border);background:var(--md-default-bg-color);color:var(--kfl-blue)}
[data-md-color-scheme=slate] .kfl-interactive .wpm :is(.wpm-recovery,.wpm-finding) button:is(:hover,[aria-pressed=true]){border-color:var(--kfl-blue);background:var(--kfl-surface);color:var(--kfl-ink)}
[data-md-color-scheme=slate] .kfl-interactive .wpm :is([data-wpm-run],[data-wpm-download]:not(:disabled)){border-color:var(--kfl-action);background:var(--kfl-action);color:var(--kfl-action-ink)}
body[data-md-color-scheme=slate] .md-typeset .kfl-interactive .wpm .wpm-milestones li{border-color:var(--kfl-border);background:var(--md-default-bg-color);color:var(--kfl-ink)}
body[data-md-color-scheme=slate] .md-typeset .kfl-interactive .wpm .wpm-milestones li:is([aria-current],.is-done){border-color:var(--kfl-blue);background:var(--kfl-surface);color:var(--kfl-blue)}
[data-md-color-scheme=slate] .kfl-interactive .wpm .wpm-milestones b{border-color:var(--kfl-border);background:var(--md-default-bg-color);color:var(--kfl-ink)}
[data-md-color-scheme=slate] .kfl-interactive .wpm .wpm-milestones [aria-current] b{border-color:var(--kfl-blue);background:var(--kfl-action);color:var(--kfl-action-ink)}
