/* LessonSky RC123: source-bound language and guided concept tour; mobile-first. */
.sk123-speaking{--sk123-panel:#f5f9ff;--sk123-border:#c5d8f0;--sk123-ink:#1c3151;--sk123-muted:#475b78;--sk123-primary:#285b9d;background:var(--sk123-panel)!important;color:var(--sk123-ink)!important;border:1px solid var(--sk123-border)!important;border-radius:21px!important;padding:clamp(16px,2.5vw,25px)!important;margin:16px 0;min-width:0;max-width:100%;box-shadow:0 18px 38px rgba(15,45,93,.07)}
.sk123-speaking *,.sk123-map-tour *{box-sizing:border-box}
.sk123-speaking h3,.sk123-speaking h4{color:var(--sk123-ink)!important;line-height:1.34}
.sk123-speaking h3{font-size:clamp(1.22rem,2.8vw,1.6rem);margin:7px 0!important}
.sk123-speaking p,.sk123-speaking li{color:var(--sk123-muted)!important;line-height:1.55}
.sk123-speaking .sk123-eyebrow{font-size:.72rem;font-weight:850;letter-spacing:.12em;color:var(--sk123-primary)!important}
.sk123-order-lab,.sk123-shadow{border:1px solid var(--sk123-border);background:rgba(255,255,255,.67);border-radius:16px;padding:16px;margin-top:16px;min-width:0}
.sk123-order-answer{display:flex;gap:7px;flex-wrap:wrap;min-height:58px;padding:8px;border:1px dashed #7b9bc1;border-radius:12px;background:rgba(213,232,254,.42);margin:10px 0}
.sk123-order-tiles{display:flex;gap:8px;flex-wrap:wrap;min-width:0}
.sk123-order-tiles button,.sk123-order-answer button{min-width:40px;min-height:44px;border-radius:12px;border:1px solid var(--sk123-border);background:#fff;color:var(--sk123-ink)!important;padding:9px 12px;font:inherit;cursor:pointer;overflow-wrap:anywhere}
.sk123-order-answer button{border-color:#2b6dad;background:#e2f0ff;font-weight:800}
.sk123-order-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.sk123-order-actions button,.sk123-shadow button,.sk123-tour-controls button,.sk123-evidence-toggle{min-height:44px;border:1px solid #83a5ca;background:#e7f1fd;color:#143e67;border-radius:11px;padding:9px 15px;font-weight:750;cursor:pointer;max-width:100%}
.sk123-order-actions button:disabled,.sk123-tour-controls button:disabled{opacity:.52;cursor:not-allowed}
.sk123-order-actions [data-sk123-check]{background:#254f92;color:#fff;border-color:#254f92}
.sk123-order-lab [role=status]{font-weight:700;min-height:1.4em;margin:9px 0 0}
.sk123-order-lab [role=status].is-correct{color:#11663a!important}
.sk123-order-lab [role=status].is-wrong{color:#924024!important}
.sk123-note{font-size:.81rem}
.sk123-shadow ol{padding-inline-start:23px}
.sk123-shadow [data-sk123-model]{font-size:1rem;color:var(--sk123-ink)!important;font-weight:750;background:rgba(218,237,255,.65);padding:12px;border-radius:11px;overflow-wrap:anywhere}
.sk123-shadow [data-sk123-model][hidden],.skm-inspector [data-skm-detail-evidence][hidden]{display:none!important}
.sk123-speaking :focus-visible,.sk123-map-tour :focus-visible,.sk123-evidence-toggle:focus-visible{outline:3px solid #1f8cd8;outline-offset:3px}
.sk123-map-tour{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-radius:16px;background:#eaf4ff;border:1px solid #bfd6f0;padding:12px 16px;margin:15px 0}
.sk123-map-tour>div:first-child{display:flex;flex-direction:column;gap:4px;max-width:520px;color:#173b60}
.sk123-map-tour small{color:#365876}
.sk123-tour-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.sk123-tour-controls [data-sk123-count]{font-variant-numeric:tabular-nums;font-weight:800;color:#153e68;min-width:92px;text-align:center}
.skm-inspector .sk123-evidence-toggle{margin:12px 0 5px}
/* Increase the information hierarchy without hiding original source notes. */
.skm-premium .skm-node.is-active{box-shadow:0 0 0 3px #9bcee5,0 16px 32px rgba(22,60,104,.18)!important}
.skm-premium .skm-node-center small{color:#f6faff!important}
html.lessonsky-dark .sk123-speaking,html[data-theme="dark"] .sk123-speaking,body.lessonsky-dark .sk123-speaking{--sk123-panel:#101f35;--sk123-border:#3c587b;--sk123-ink:#f2f7ff;--sk123-muted:#c8d8ed;--sk123-primary:#9bc8ff;box-shadow:none}
html.lessonsky-dark .sk123-order-lab,html.lessonsky-dark .sk123-shadow,html[data-theme="dark"] .sk123-order-lab,html[data-theme="dark"] .sk123-shadow,body.lessonsky-dark .sk123-order-lab,body.lessonsky-dark .sk123-shadow{background:#182c47}
html.lessonsky-dark .sk123-order-tiles button,html.lessonsky-dark .sk123-order-answer button,html[data-theme="dark"] .sk123-order-tiles button,html[data-theme="dark"] .sk123-order-answer button{background:#203b5b;border-color:#6b8db8;color:#f5f9ff!important}
html.lessonsky-dark .sk123-order-answer,html[data-theme="dark"] .sk123-order-answer{background:#132b46;border-color:#8badcf}
html.lessonsky-dark .sk123-shadow [data-sk123-model],html[data-theme="dark"] .sk123-shadow [data-sk123-model]{background:#274768;color:#f7faff!important}
html.lessonsky-dark .sk123-order-lab [role=status].is-correct,html[data-theme="dark"] .sk123-order-lab [role=status].is-correct{color:#a4f5c2!important}
html.lessonsky-dark .sk123-order-lab [role=status].is-wrong,html[data-theme="dark"] .sk123-order-lab [role=status].is-wrong{color:#ffd0c0!important}
html.lessonsky-dark .skm-premium .skm-map-stage,html[data-theme="dark"] .skm-premium .skm-map-stage{background:#152741;border-color:#3a5778}
html.lessonsky-dark .skm-premium .skm-node-branch,html[data-theme="dark"] .skm-premium .skm-node-branch{background:#233a57;border-color:#5d7797;color:#f2f7ff!important}
html.lessonsky-dark .skm-premium .skm-node-branch strong,html[data-theme="dark"] .skm-premium .skm-node-branch strong{color:#f2f7ff!important}
html.lessonsky-dark .skm-premium .skm-workspace,html[data-theme="dark"] .skm-premium .skm-workspace{background:#101e34;border-color:#365374}
html.lessonsky-dark .skm-premium .skm-inspector,html[data-theme="dark"] .skm-premium .skm-inspector{background:#1d3651;border-color:#516e91;color:#eef5ff}
html.lessonsky-dark .skm-premium .skm-inspector h3,html[data-theme="dark"] .skm-premium .skm-inspector h3{color:#f4faff!important}
html.lessonsky-dark .skm-premium .skm-inspector p,html[data-theme="dark"] .skm-premium .skm-inspector p{color:#dae8f8!important}
html.lessonsky-dark .sk123-map-tour,html[data-theme="dark"] .sk123-map-tour{background:#1e3859;border-color:#5677a2}
html.lessonsky-dark .sk123-map-tour strong,html.lessonsky-dark .sk123-map-tour small,html.lessonsky-dark .sk123-tour-controls [data-sk123-count],html[data-theme="dark"] .sk123-map-tour strong,html[data-theme="dark"] .sk123-map-tour small,html[data-theme="dark"] .sk123-tour-controls [data-sk123-count]{color:#eff6ff}
@media(max-width:600px){.sk123-speaking{padding:14px!important;border-radius:15px!important}.sk123-order-lab,.sk123-shadow{padding:12px}.sk123-map-tour{align-items:stretch}.sk123-tour-controls{justify-content:space-between}.sk123-tour-controls button{flex:1 1 auto}}
@media(prefers-reduced-motion:reduce){.sk123-speaking *,.sk123-map-tour *{transition:none!important;animation:none!important}}
@media print{.sk123-map-tour,.sk123-evidence-toggle{display:none!important}.skm-inspector [data-skm-detail-evidence][hidden]{display:block!important}}

/* Dark-mode detail hierarchy for the map workspace and its evidence panel. */
html.lessonsky-dark .skm-premium .skm-workspace-head h2,html[data-theme="dark"] .skm-premium .skm-workspace-head h2{color:#f3f8ff!important}
html.lessonsky-dark .skm-premium .skm-focus,html.lessonsky-dark .skm-premium .skm-map-toolbar label,html.lessonsky-dark .skm-premium .skm-map-toolbar>span,html[data-theme="dark"] .skm-premium .skm-focus,html[data-theme="dark"] .skm-premium .skm-map-toolbar label,html[data-theme="dark"] .skm-premium .skm-map-toolbar>span{color:#cbdcf4!important}
html.lessonsky-dark .skm-premium .skm-map-toolbar input,html[data-theme="dark"] .skm-premium .skm-map-toolbar input{background:#182f4c!important;color:#f3f8ff!important;border-color:#6f8aac!important}
html.lessonsky-dark .skm-premium .skm-evidence-list,html[data-theme="dark"] .skm-premium .skm-evidence-list{border-color:#587192;color:#eef6ff!important}
html.lessonsky-dark .skm-premium .skm-evidence-list summary,html[data-theme="dark"] .skm-premium .skm-evidence-list summary{color:#c1e2ff!important}
html.lessonsky-dark .skm-premium .skm-evidence-grid article,html[data-theme="dark"] .skm-premium .skm-evidence-grid article{background:#213b57;border-color:#5a7696}
html.lessonsky-dark .skm-premium .skm-evidence-grid h3,html.lessonsky-dark .skm-premium .skm-evidence-grid p,html.lessonsky-dark .skm-premium .skm-evidence-grid small,html[data-theme="dark"] .skm-premium .skm-evidence-grid h3,html[data-theme="dark"] .skm-premium .skm-evidence-grid p,html[data-theme="dark"] .skm-premium .skm-evidence-grid small{color:#ecf4ff!important}
