/* The complete structure lesson is isolated from the existing two-chart UI. */
.kst{--kst-ink:#17344a;--kst-teal:#176d6b;--kst-soft:#edf7f5;--kst-border:#d8e5e7;color:var(--kst-ink);background:#fff;border:1px solid var(--kst-border);border-radius:20px;padding:clamp(16px,4vw,32px);line-height:1.65}.kst *{min-width:0}.kst h1{font-size:clamp(24px,4.2vw,34px);line-height:1.22;letter-spacing:-.025em;margin:3px 0 12px}.kst h2{font-size:20px;line-height:1.35;margin:0 0 12px}.kst p{margin:10px 0}.kst-progress{display:flex;justify-content:space-between;gap:12px;font-size:12px;font-weight:650;color:#507077}.kst progress{width:100%;height:5px;display:block;border:0;border-radius:8px;margin:12px 0 25px;accent-color:var(--kst-teal)}.kst progress::-webkit-progress-bar{background:#edf2f3;border-radius:8px}.kst progress::-webkit-progress-value{background:var(--kst-teal);border-radius:8px}.kst-heading{display:flex;align-items:flex-start;gap:14px}.kst .kst-k{width:52px;height:52px;flex:0 0 52px}.kst .kst-eyebrow{font-size:12px;font-weight:750;color:var(--kst-teal);margin:0 0 5px}.kst-heading>div>p:last-child{color:#506776}.kst-chart{margin:22px 0 16px;padding:12px;background:#f8fbfc;border:1px solid var(--kst-border);border-radius:14px}.kst-chart figcaption{font-size:17px;font-weight:750;margin:0 8px 8px}.kst-chart svg{display:block;width:100%;height:auto;overflow:visible}.kst-grid{stroke:#e0e8eb;stroke-width:1}.kst-path{stroke:#315e77;stroke-width:2.6;fill:none;stroke-linejoin:round}.kst-ended{fill:#315e77;stroke:white;stroke-width:1.5}.kst-forming{fill:white;stroke:#315e77;stroke-width:2.5}.kst-axis{fill:#647985;font-size:12px}.kst-point-label{fill:#29465b;font-size:14px;font-weight:700}.kst-boundary{stroke:#ad791e;stroke-width:2;stroke-dasharray:7 5}.kst-anchor-label{fill:#80560d;font-size:12px;font-weight:700}.kst-band{fill:#d8ece7;opacity:.8}.kst .kst-legend,.kst .kst-cutoff{font-size:12px;color:#5a7180;margin:5px 6px}.kst details{border-top:1px solid var(--kst-border);padding:12px 0}.kst summary{cursor:pointer;min-height:44px;display:list-item;align-content:center;font-weight:650;color:#315c6e}.kst details p,.kst details li{font-size:14px}.kst-data ul{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 16px}.kst-data li{display:flex;gap:8px;justify-content:space-between;align-items:baseline;border-bottom:1px solid #e2eaed;padding:4px}.kst-data li span:last-child{font-size:11px;color:#617783}.kst .kst-line-note,.kst .kst-note{background:var(--kst-soft);border-left:3px solid #6aa7a0;border-radius:5px;padding:12px 15px;font-size:14px}.kst-field{border:0;padding:0;margin:24px 0}.kst-field legend{font-size:16px;font-weight:750;line-height:1.45;margin:0 0 10px}.kst .kst-field-note{font-size:12px;color:#607682;margin:0 0 8px}.kst-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.kst-options button{border:1px solid #bfcfd5;color:#315268;border-radius:10px;background:white;padding:10px 12px;line-height:1.4;min-height:48px;white-space:normal;overflow-wrap:break-word}.kst-options button[aria-pressed="true"]{border:2px solid var(--kst-teal);padding:9px 11px;background:#e8f5f0;color:#125652;box-shadow:0 0 0 1px #d5ebe4}.kst-options button:disabled{opacity:1;cursor:default}.kst-points{grid-template-columns:repeat(auto-fit,minmax(60px,1fr))}.kst-points button{display:flex;flex-direction:column;align-items:center;gap:2px;padding:7px 8px}.kst-points button[aria-pressed="true"]{padding:6px 7px}.kst-points button b{font-size:15px}.kst-points button span{font-size:12px}.kst-actions{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.kst-actions button,.kst-exit button{min-height:48px;padding:11px 18px;line-height:1.4;border-radius:10px}.kst .kst-primary{background:var(--kst-teal);color:white;border:1px solid var(--kst-teal);font-weight:700}.kst button:disabled{cursor:default;opacity:.55}.kst button:focus-visible,.kst summary:focus-visible,.kst a:focus-visible{outline:3px solid #c28e16;outline-offset:3px}.kst [tabindex="-1"]:focus{outline:0;scroll-margin-top:20px}.kst-feedback,.kst-hint{background:#f0f7f5;border:1px solid #c6ded5;border-radius:14px;padding:20px;margin:24px 0}.kst-hint{background:#fff9ec;border-color:#e5d7b9}.kst-parts{list-style:none;padding:0;margin:12px 0}.kst-parts li{display:flex;gap:12px;justify-content:space-between;border-bottom:1px solid #d9e7e3;padding:7px 0;font-size:13px}.kst-parts span{color:#526f73;text-align:right}.kst-targeted{padding-left:22px;font-size:14px}.kst-answer-list{margin:8px 0;font-size:13px}.kst-answer-list div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;border-bottom:1px solid #d8e5e7;padding:7px 0}.kst-answer-list dt{font-weight:600}.kst-answer-list dd{margin:0;text-align:right}.kst-reference{margin:30px 0 0}.kst-reference ol{padding-left:23px}.kst-reference li{margin:10px 0}.kst-exit{margin:24px 0 0;padding-top:18px;border-top:1px solid var(--kst-border)}.kst .kst-exit p,.kst .kst-storage,.kst .kst-simulation{font-size:12px;color:#607782}.kst .kst-warning,.kst .kst-error{background:#fff4df;color:#765317;border-radius:8px;padding:12px}.kst-duration{font-weight:650;color:#176d6b}.kst-reading-card{background:#eaf6f1;border:1px solid #c6dfd5;border-radius:14px;padding:18px 22px;margin:24px 0}.kst-reading-card p{font-weight:600}.kst-results{display:grid;grid-template-columns:1fr 1fr;gap:18px}.kst-results>section{padding:18px;border:1px solid var(--kst-border);border-radius:12px}.kst-course-link{display:inline-flex;align-items:center;min-height:44px;color:#176d6b;font-weight:700}.kst-entry{border:1px solid #cbdedc;border-radius:14px;padding:16px 20px;margin:20px 0;background:#f0f8f5;color:#244c58}.kst-entry h2{font-size:18px;margin:0 0 6px}.kst-entry p{font-size:14px;line-height:1.5;margin:6px 0 12px}.kst-entry button{font-weight:650;padding:10px 15px;color:#176d6b;min-height:44px}.kst-entry button:focus-visible{outline:3px solid #c28e16;outline-offset:3px}
@media(max-width:600px){.kst-heading{gap:10px}.kst .kst-k{width:40px;height:40px;flex-basis:40px}.kst-chart{padding:8px;margin-left:-6px;margin-right:-6px}.kst-data ul{grid-template-columns:repeat(2,minmax(0,1fr))}.kst-results{grid-template-columns:1fr}.kst-progress{font-size:11px}.kst-actions button{flex:1 1 200px}.kst-feedback,.kst-hint{padding:15px}.kst .kst-legend{font-size:11px}.kst-points{grid-template-columns:repeat(5,minmax(0,1fr))}.kst-exit button{width:100%}}
@media(max-width:400px){.kst-options:not(.kst-points){grid-template-columns:1fr}.kst-points{grid-template-columns:repeat(4,minmax(0,1fr))}.kst-heading{display:block}.kst .kst-k{float:right;margin:0 0 8px 10px}.kst-progress{flex-direction:column;gap:2px}.kst-parts li{flex-direction:column;gap:2px}.kst-parts span{text-align:left}.kst-answer-list div{grid-template-columns:1fr;gap:2px}.kst-answer-list dd{text-align:left}}
@media(prefers-reduced-motion:reduce){.kst *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@media(max-width:600px){.kst-point-label{font-size:23px}.kst-axis,.kst-anchor-label{font-size:20px}}
@media(max-width:400px){.kst-point-label{font-size:28px}.kst-axis,.kst-anchor-label{font-size:24px}}

/* Use the established Keenpath blue and keep guidance light. */
.kst{--kst-teal:#3155d9;--kst-soft:#f0f3ff;--kst-border:#dbe2f2}.kst .kst-primary{background:#3155d9;border-color:#3155d9}.kst .kst-eyebrow,.kst-duration,.kst-course-link{color:#3155d9}.kst-feedback{background:#f3f7ff;border-color:#d5def5}.kst-feedback-lead{font-size:16px}.kst-reference{margin-top:18px}

.kst-navigation{display:flex;gap:6px;flex-wrap:wrap;margin:-7px 0 18px;padding-bottom:14px;border-bottom:1px solid var(--kst-border)}.kst-navigation button,.kst-guide-link{min-height:44px;padding:8px 12px;font-size:13px;color:#3155d9;border:1px solid #d7dff2;border-radius:9px;background:#fff}.kst-navigation button:disabled{opacity:.4}.kst-navigation .kst-primary{color:#fff}.kst-guide-link{font-weight:650}.kst[hidden]{display:none!important}.kst-guide-host{min-width:0}

/* C → A → B: diagram-first entry, one answer group at a time. */
.kst-plot{position:relative}.kst-plot svg{display:block;width:100%;height:auto}.kst-point-targets{position:absolute;inset:0;pointer-events:none}.kst .kst-point-target{position:absolute;transform:translate(-50%,-50%);width:36px;height:36px;min-height:0;padding:0;border:0;border-radius:50%;background:transparent;pointer-events:auto;color:transparent;cursor:pointer}.kst-point-target span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.kst .kst-point-target:focus-visible{outline:3px solid #c28e16;outline-offset:0;background:#ffd96322}.kst-selection-ring{fill:#3155d922;stroke:#3155d9;stroke-width:2}.kst-hint-ring{fill:none;stroke:#bc8500;stroke-width:2;stroke-dasharray:4 3}.kst-selection-price{fill:#2446bf;font-size:17px;font-weight:750}.kst-chosen-label{fill:#3155d9;font-weight:800}.kst .kst-chart-invite{font-size:13px;color:#3155d9;margin:7px 6px}.kst-active-choice{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#edf1ff;padding:12px 16px;border-radius:12px;font-size:15px}.kst-active-choice strong{font-size:13px;text-align:right}.kst .kst-answer-group{border:1px solid #dbe2f2;border-radius:12px;padding:0 16px;margin:10px 0;background:#fff}.kst .kst-answer-group>summary{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:60px;color:#253959;font-size:14px;list-style:none}.kst .kst-answer-group>summary::after{content:'+';color:#3155d9;font-size:20px}.kst .kst-answer-group[open]>summary::after{content:'−'}.kst .kst-answer-group[open]{border-color:#8b9ee5;background:#fafbff}.kst-group-answer{font-size:12px;color:#3155d9;font-weight:600;text-align:right}.kst-answer-group .kst-field{margin:8px 0 16px}.kst-answer-group .kst-field legend{font-size:14px}.kst-next-field{display:block;margin:14px 0 2px auto;border:1px solid #d7dff2;border-radius:9px;padding:9px 13px;color:#3155d9;background:white;min-height:44px}.kst-results button{min-height:44px;margin-top:10px;padding:10px 14px;border-radius:9px}.kst-inline-guide .krg{padding:0;margin:0;box-shadow:none}.kst-inline-guide .krg-top{padding-top:0}.kst .kst-course-promise{font-size:14px;color:#61718a;line-height:1.6}.kst-focus-point{font-size:18px;font-weight:700;color:#3155d9}.kst-language-choice{padding:36px 20px}.kst-language-choice .kst-actions{flex-direction:column}.kst-language-choice h1{font-size:25px}.kst [tabindex="-1"]{scroll-margin-top:96px}
@media(max-width:600px){.kst .kst-answer-group>summary{flex-wrap:wrap;padding:10px 0;gap:5px 12px}.kst-group-answer{margin-left:auto}.kst-active-choice{font-size:13px}.kst-selection-price{font-size:25px}.kst .kst-chart-invite{font-size:12px}.kst-inline-guide .krg-heading{margin-top:16px}}

/* Keep the course hook visible without adding a second progress counter. */
.kst-welcome-heading{margin:0 0 22px}.kst-welcome-heading p{color:#61718a;font-size:14px}
