/* The generated workspace reference informs spacing and hierarchy. Diagrams remain code-native. */
.learning-body{background:#fff;color:var(--ink);overflow-x:hidden}.learning-body button,.learning-body textarea,.learning-body input,.learning-body select{font:inherit}.learn-topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:32px;padding:0 34px;background:#fff;position:sticky;top:0;z-index:30}.learn-brand{font-size:21px;font-weight:800;letter-spacing:-.9px;white-space:nowrap;color:var(--ink)}.learn-brand span{color:var(--accent);font-weight:600}.learn-back{margin-left:auto;font-size:13px;color:#435767}.learn-top-progress{display:flex;align-items:center;gap:16px;font-size:12px;color:#526675}.learn-top-progress progress{width:130px;height:8px;border:0;border-radius:20px;overflow:hidden;background:#e5edf2;accent-color:var(--accent)}.learn-top-progress progress::-webkit-progress-bar{background:#e5edf2}.learn-top-progress progress::-webkit-progress-value{background:var(--accent);border-radius:20px}.learn-layout{display:grid;grid-template-columns:270px minmax(0,1fr);max-width:1800px;margin:auto}.learn-curriculum{background:linear-gradient(100deg,#f5f9fc,#fbfdff);border-right:1px solid var(--line);padding:30px 12px 40px;position:sticky;top:76px;height:calc(100dvh - 76px);overflow-y:auto;scrollbar-width:thin}.learn-curriculum>summary{display:none}.learn-rail-heading{padding:0 12px 24px}.learn-rail-heading h2{font-size:16px;margin:0 0 6px;letter-spacing:-.4px}.learn-rail-heading p{font-size:12px;color:#6d8090;margin:0}.learn-curriculum ol{list-style:none;margin:0;padding:0}.learn-curriculum nav a{display:flex;align-items:center;gap:10px;padding:11px 10px;font-size:12px;line-height:1.5;color:#435767;border-radius:9px;margin-bottom:3px}.learn-unit-num{width:28px;height:28px;flex:none;display:grid;place-items:center;border-radius:50%;background:#e8eff4;font-size:11px;font-weight:700}.learn-unit-check{margin-left:auto;font-size:13px;color:#718492}.learn-curriculum a[aria-current]{background:#fff0eb;color:#b53d23;font-weight:700}.learn-curriculum a[aria-current] .learn-unit-num{background:var(--accent);color:white}.learn-curriculum a:hover{background:#e9f2f9}.learn-curriculum a.lab .learn-unit-num,.learn-curriculum a.exam .learn-unit-num{border-radius:6px;background:#e0edf8}.learn-rail-note{padding:24px 12px 0;margin:0;font-size:11px;color:#718492;line-height:1.7}.learn-main{padding:42px 42px 24px;min-width:0;max-width:1230px;width:100%;margin:auto}.learn-lesson-heading>p:first-child{font-size:11px;color:#7b8994;margin:0 0 12px;letter-spacing:.1px}.learn-lesson-heading>p:first-child span{color:#7b8994}.learn-lesson-heading h1{font-size:clamp(28px,3.2vw,44px);line-height:1.16;letter-spacing:-1.8px;margin:0 0 14px;font-weight:800;max-width:900px}.learn-lead{font-size:15px;line-height:1.7;color:#607282;max-width:790px;margin:0 0 24px}.learn-tabs{display:flex;border-bottom:1px solid var(--line);gap:24px;margin-bottom:28px;overflow-x:auto}.learn-tabs button{border:0;background:transparent;color:#526675;font-size:13px;padding:13px 2px;white-space:nowrap;border-bottom:2px solid transparent;cursor:pointer}.learn-tabs button[aria-selected=true]{color:#ce472c;border-color:var(--accent);font-weight:700}.learn-main h2{font-size:23px;line-height:1.35;letter-spacing:-.7px}.learn-main h3{font-size:16px;line-height:1.5;letter-spacing:-.2px}.learn-main p,.learn-main li{font-size:14px;line-height:1.85}.learn-muted{color:#607282}.learn-small,.learn-main .learn-small{font-size:12px;line-height:1.7;color:#607282}.learn-panel-title{margin-top:0}.learn-button{border:1px solid var(--accent);background:var(--accent);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:15px;border-radius:8px;padding:12px 18px;font-size:13px;font-weight:700;cursor:pointer;text-decoration:none;line-height:1.4;transition:background .18s}.learn-button:hover{background:#d84b2e;color:#fff}.learn-button.secondary{background:#fff;border-color:#d4dfe7;color:#253d4c}.learn-button.secondary:hover{background:#eef5fa}.learn-button:disabled{opacity:.5;cursor:not-allowed}.learning-body :focus-visible,.learn-overview :focus-visible{outline:3px solid #2685bf;outline-offset:4px}.learn-visual{padding:24px;background:#f3f9fd;border:1px solid #dcecf6;border-radius:12px;margin-bottom:34px}.learn-visual-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.learn-visual-heading h2{font-size:19px;margin:0 0 20px}.learn-visual-heading>span{font-size:10px;color:#6b8293;white-space:nowrap;margin-bottom:20px}.learn-demo-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:20px;font-size:12px}.learn-demo-controls label{display:flex;align-items:center;gap:8px}.learn-demo-controls button{border:1px solid #c4d9e7;background:white;border-radius:6px;padding:8px 14px;cursor:pointer;font-size:12px}.learn-demo-controls button:disabled{opacity:.45;cursor:not-allowed}.learn-demo-controls select{border:1px solid #c4d9e7;background:white;border-radius:6px;padding:8px;min-height:35px}.learn-step-count{margin-left:auto;color:#6a7f8e;font-size:11px}.learn-graph-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(145px,1fr);gap:24px;align-items:start}.learn-visual svg{width:100%;height:auto;display:block;font-family:inherit}.learn-graph-layout h3{margin:0 0 8px;font-size:12px}.learn-table{border-collapse:collapse;width:100%;font-size:12px;background:#fff;border:1px solid #dbe7ef}.learn-table th,.learn-table td{padding:9px 12px;text-align:left;border-bottom:1px solid #e0eaf1}.learn-table th{background:#eaf3f9;font-weight:700}.learn-model{background:#e4f3eb}.learn-demo-result{background:#e8f2f9;border-radius:7px;padding:12px 15px;margin:20px 0 0!important;color:#365a70;font-size:12px!important;line-height:1.7!important}.learn-slider{display:grid;grid-template-columns:170px minmax(80px,1fr) 45px;gap:20px;align-items:center;font-size:12px;margin-bottom:15px}.learn-slider input{width:100%;accent-color:#ec593a}.learn-slider output{text-align:right;font-variant-numeric:tabular-nums}.learn-check{display:flex;gap:10px;align-items:center;font-size:13px;margin:16px 0}.learn-check input,.learn-demo-controls input{accent-color:var(--accent);width:16px;height:16px}.learn-bars{display:grid;gap:16px;margin:28px 0 20px}.learn-bars>div{display:grid;grid-template-columns:120px 1fr 60px;align-items:center;gap:14px;font-size:12px}.learn-bars>div>div{height:16px;background:#dcecf6;border-radius:3px}.learn-bars i{display:block;height:100%;background:#58a5d5;border-radius:3px;transition:width .18s}.learn-bars>div:first-child i{background:var(--accent)}.learn-bars strong{font-size:12px;text-align:right;font-variant-numeric:tabular-nums}.learn-genomes{display:grid;grid-template-columns:1fr 1fr;gap:12px 28px;margin-top:20px}.learn-genomes>div{display:flex;gap:16px;align-items:center;justify-content:space-between}.learn-genomes code{display:flex;gap:4px}.learn-genomes code span{width:23px;height:27px;display:grid;place-items:center;background:#dbe7f0;color:#526b7b;border-radius:3px}.learn-genomes .one{background:#faac95;color:#782810}.learn-genomes strong{font-size:11px;white-space:nowrap}.learn-rule-trace{list-style:none;padding:0}.learn-rule-trace li{border:1px solid #d5e5f0;border-radius:7px;padding:15px;display:flex;gap:16px;justify-content:space-between;margin-bottom:12px}.learn-rule-trace .active{background:#e1f1e7;border-color:#c4e1ce}.learn-rule-trace strong{font-size:12px;white-space:nowrap}.learn-reading{max-width:790px}.learn-reading section{margin-bottom:35px}.learn-reading h2{display:flex;align-items:start;gap:14px;font-size:22px;margin:0 0 12px}.learn-reading h2 span{font-size:11px;padding-top:6px;font-weight:600;color:#b4472e}.learn-reading p{margin:0;color:#526775}.learn-hint{background:#edf6fc;padding:20px 24px;border-left:3px solid #90c8ee;border-radius:0 8px 8px 0;margin:30px 0}.learn-hint strong,.learn-hint summary{font-size:13px;color:#345c77;font-weight:700}.learn-hint p{color:#527184;margin:7px 0 0;font-size:13px}.learn-hint summary{cursor:pointer}.learn-source{color:#6c7e8b;font-size:12px!important;margin:26px 0}.learn-source a,.learn-overview a:not(.learn-button),.learn-main a:not(.learn-button):not(.learn-brand){text-decoration:none}.learn-source a,.learn-reference a,.learn-exam-results a{color:#3579a6;text-decoration:underline!important}.learn-math{max-width:850px}.learn-math>h2{margin-top:0}.learn-math>section{margin:28px 0}.learn-math h3{margin:0 0 12px}.learn-formula{font-family:Cambria,Georgia,serif;font-size:clamp(18px,2vw,25px);padding:25px 24px;border:1px solid #dce7ef;background:#f7fafc;border-radius:8px;overflow-x:auto;white-space:normal;line-height:1.65}.learn-math p{color:#526775}.learn-worked{padding:22px 26px;background:#fff4ed;border-left:3px solid #ec977e;margin:28px 0;border-radius:0 8px 8px 0}.learn-worked h3{margin:0 0 10px}.learn-worked p{margin:0;color:#755644}.learn-code-workspace{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(230px,1fr);gap:18px;margin:24px 0;align-items:start}.learn-code-column{min-width:0}.learn-code-title{display:flex;justify-content:space-between;padding:13px 18px;background:#16262f;color:#dcebf3;border-radius:9px 9px 0 0;font-size:11px}.learn-code-title span:last-child{color:#92a9b8}.learn-editor{width:100%;height:435px;display:block;background:#1b2d37;color:#e4f1f8;border:1px solid #293f4d;border-top:0;border-radius:0 0 9px 9px;padding:18px 20px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;font-size:12px!important;line-height:1.9;tab-size:4;white-space:pre;overflow-wrap:normal;overflow:auto;box-sizing:border-box}.learn-editor:read-only{opacity:.8}.learn-code-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.learn-code-actions .learn-button{font-size:11px;padding:10px 12px}.learn-output-column{border:1px solid #dce7ef;border-radius:9px;overflow:hidden;min-width:0}.learn-output-column h3{margin:0;padding:12px 17px;background:#f4f8fb;font-size:12px;border-bottom:1px solid var(--line)}.learn-run-status{padding:14px 17px;margin:0!important;font-size:11px!important;color:#587386;border-bottom:1px solid #edf2f6}.learn-output{white-space:pre-wrap;word-break:break-word;max-height:350px;min-height:150px;overflow:auto;background:#fff;color:#304754;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;line-height:1.9;padding:16px;margin:0}.learn-code-checks{list-style:none;margin:0;padding:0 15px 10px}.learn-code-checks:empty{display:none}.learn-code-checks li{padding:12px 0;border-top:1px solid #edf2f6;line-height:1.6;font-size:11px}.learn-code-checks li strong{display:block}.learn-code-checks li span{display:block;margin-top:5px}.learn-code-checks .passed{color:#237046}.learn-code-checks .failed{color:#ad4128}.learn-reference{margin:25px 0;border-top:1px solid var(--line);padding:20px 0}.learn-reference summary{font-size:13px;font-weight:600;cursor:pointer;color:#586e7d}.learn-reference pre{overflow:auto;padding:22px;background:#1b2d37;color:#e4f1f8;border-radius:8px;font-size:12px;line-height:1.8;max-height:600px}.learn-reference p{color:#607282;font-size:12px}.learn-objective{background:#f0f7fc;border:1px solid #dceaf4;padding:18px 22px;border-radius:9px;margin:0 0 25px;color:#345c77}.learn-objective strong{font-size:12px}.learn-objective p{margin:6px 0 0}.learn-task-list{padding-left:24px;max-width:830px}.learn-task-list li{padding-left:8px;margin:0 0 20px;color:#526775}.learn-lab-brief>h2{margin-top:35px}.learn-lab-brief>p,.learn-lab-brief>ul{color:#526775}.learn-question{border:1px solid #e0e9ef;border-radius:9px;padding:22px;margin:24px 0;min-width:0}.learn-question legend{font-size:14px;font-weight:700;line-height:1.6;max-width:100%;padding:0 6px}.learn-question legend span{color:var(--accent)}.learn-question>label{display:flex;gap:12px;align-items:flex-start;font-size:13px;color:#435d6d;line-height:1.65;padding:10px 8px;border-radius:6px;cursor:pointer}.learn-question>label:hover{background:#f3f8fb}.learn-question input{margin-top:4px;flex:none;accent-color:var(--accent)}.learn-answer-feedback{background:#fff0e9;color:#8c442e;font-size:12px;line-height:1.75;padding:14px;margin-top:14px;border-radius:6px}.learn-answer-feedback.correct{background:#e7f5ec;color:#28734b}.learn-quiz-status{font-size:12px!important;color:#9f422b}.learn-exam-intro{padding:20px 24px;background:#f1f7fb;border-radius:10px;margin-bottom:35px}.learn-exam-intro h2{margin:0 0 10px;font-size:19px}.learn-exam-intro p{color:#526b7b}.learn-exam-code-heading{border-top:1px solid var(--line);padding-top:35px}.learn-exam-task{margin:28px 0 45px}.learn-exam-task h3{display:flex;justify-content:space-between}.learn-exam-task h3 span{font-size:12px;color:#678092}.learn-exam-task .learn-editor{height:285px}.learn-exam-results:not(:empty){padding:22px;background:#edf6fc;border-radius:9px;margin:28px 0}.learn-exam-results h3{margin-top:0}.learn-notes{border-top:1px solid var(--line);margin-top:40px;padding-top:28px}.learn-notes>label{font-size:16px;font-weight:700}.learn-notes>p{font-size:12px;color:#607282;margin:7px 0 15px}.learn-notes textarea{width:100%;border:1px solid #d6e2eb;border-radius:8px;padding:14px;font-size:13px;line-height:1.8;resize:vertical;color:#345267;box-sizing:border-box;background:#fcfdff}.learn-notes>div{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:10px}.learn-storage-status{font-size:11px;color:#6b8293}.learn-notes .learn-button{font-size:11px;padding:9px 12px}.learn-lesson-footer{border-top:1px solid var(--line);margin-top:35px;padding:25px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px}.learn-lesson-footer>div{display:flex;gap:10px;flex-wrap:wrap;justify-content:end}.learn-lesson-footer>a{color:#566f7f}.learn-local-note{font-size:10px!important;color:#7b8b97;line-height:1.7!important;max-width:700px}.learn-overview{padding-top:40px;padding-bottom:90px}.learn-overview-hero{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:30px;margin:42px 0 55px}.learn-overview-hero h1{font-size:clamp(35px,4.5vw,60px);line-height:1.1;letter-spacing:-2.5px;margin:18px 0 22px}.learn-overview-hero>div>p:not(.learn-small){font-size:18px;line-height:1.8;color:#607282;max-width:540px}.learn-overview-hero img{width:100%;height:auto}.learn-overview-meta{display:flex;gap:10px}.learn-overview-meta span{background:#edf6fc;border-radius:30px;padding:7px 12px;font-size:11px;color:#446a83}.learn-outline-link{display:inline-block;margin-left:20px;font-size:13px;color:#587385}.learn-overview-hero .learn-small{margin-top:20px}.learn-overview-facts{display:grid;grid-template-columns:repeat(4,1fr);padding:30px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:30px}.learn-overview-facts>div{display:flex;align-items:center;gap:18px}.learn-overview-facts strong{font-size:34px;letter-spacing:-1px}.learn-overview-facts span{font-size:12px;color:#607282;line-height:1.6;max-width:120px}.learn-overview-outcomes{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;padding:70px 0}.learn-overview-outcomes h2,.learn-overview-body h2{font-size:30px;line-height:1.3;letter-spacing:-1.2px}.learn-overview-outcomes>div>p{color:#607282;font-size:15px;line-height:1.8}.learn-overview-outcomes ol{margin:10px 0;padding-left:24px}.learn-overview-outcomes li{padding-left:10px;margin-bottom:18px;color:#526775;font-size:14px;line-height:1.85}.learn-overview-body{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);gap:70px;border-top:1px solid var(--line);padding-top:40px}.learn-overview-body>aside{padding-top:35px}.learn-overview-body>aside>section{background:#f5f9fc;padding:25px;border-radius:9px;margin-bottom:25px}.learn-overview-body>aside h2{font-size:19px;letter-spacing:-.5px;margin:0 0 15px}.learn-overview-body>aside p,.learn-overview-body>aside li{font-size:13px;line-height:1.9;color:#607282}.learn-overview-body>aside a{font-size:13px;color:#347ca9}.learn-syllabus{padding:0;list-style:none;margin-top:28px}.learn-syllabus>li{border-bottom:1px solid var(--line)}.learn-syllabus summary{display:flex;gap:18px;align-items:center;padding:22px 0;cursor:pointer;list-style:none}.learn-syllabus summary::-webkit-details-marker{display:none}.learn-syllabus summary>span{font-size:10px;color:#728695;min-width:70px;font-weight:700}.learn-syllabus summary h3{font-size:15px;line-height:1.6;margin:0}.learn-syllabus details>div{padding:0 0 23px 88px}.learn-syllabus details p{font-size:13px;line-height:1.9;color:#607282}.learn-syllabus details a{font-size:12px;color:#c54b30}.learn-syllabus .lab,.learn-syllabus .exam{background:#f4f9fd;padding:0 16px}.learn-syllabus .exam{background:#fff5ed}.learn-syllabus .lab summary>span,.learn-syllabus .exam summary>span{color:#466b85}
@media(min-width:801px){.learn-curriculum:not([open])>nav,.learn-curriculum:not([open])>.learn-rail-heading,.learn-curriculum:not([open])>.learn-rail-note{display:block}}
@media(min-width:1500px){.learn-main{padding:48px 64px}.learn-layout{grid-template-columns:290px minmax(0,1fr)}}
@media(max-width:1100px){.learn-topbar{padding:0 24px;gap:22px}.learn-layout{grid-template-columns:240px minmax(0,1fr)}.learn-main{padding:32px 28px}.learn-top-progress{gap:10px}.learn-top-progress progress{width:90px}.learn-code-workspace{grid-template-columns:1fr}.learn-output{min-height:80px;max-height:250px}.learn-genomes{grid-template-columns:1fr}.learn-overview-body{gap:35px}.learn-overview-outcomes{gap:35px}}
@media(max-width:800px){.learn-topbar{height:66px;padding:0 20px;gap:12px;flex-wrap:nowrap}.learn-brand{font-size:17px;letter-spacing:-.7px}.learn-back{font-size:12px}.learn-top-progress{display:none}.learn-layout{display:block}.learn-curriculum{position:static;height:auto;border-right:0;padding:0;border-bottom:1px solid var(--line);background:#f5f9fc}.learn-curriculum>summary{display:flex;justify-content:space-between;padding:18px 24px;font-size:12px;font-weight:600;cursor:pointer;list-style:none}.learn-curriculum>summary span{color:#6a8191}.learn-curriculum[open] .learn-rail-heading{display:none}.learn-curriculum nav{padding:0 14px 16px;max-height:440px;overflow-y:auto}.learn-rail-note{display:none}.learn-main{padding:28px 24px}.learn-lesson-heading h1{font-size:32px;letter-spacing:-1.2px}.learn-lesson-heading>p:first-child span{display:none}.learn-lead{font-size:13px;margin-bottom:18px}.learn-tabs{gap:20px;margin-bottom:24px}.learn-tabs button{font-size:12px}.learn-visual{padding:18px}.learn-visual-heading h2{font-size:17px}.learn-visual-heading>span{display:none}.learn-graph-layout{grid-template-columns:1fr;gap:16px}.learn-table th,.learn-table td{padding:9px}.learn-slider{grid-template-columns:120px 1fr 34px;gap:12px;font-size:11px}.learn-bars>div{grid-template-columns:95px 1fr 48px;font-size:11px;gap:10px}.learn-reading h2{font-size:20px}.learn-main p,.learn-main li{font-size:13px}.learn-formula{font-size:19px;padding:20px}.learn-code-workspace{grid-template-columns:1fr;gap:18px}.learn-editor{height:390px;padding:15px;font-size:11px!important}.learn-notes>div{flex-wrap:wrap;gap:12px}.learn-lesson-footer{align-items:start;flex-direction:column;gap:20px}.learn-lesson-footer>div{width:100%;justify-content:space-between}.learn-question{padding:17px 12px}.learn-question legend{font-size:13px}.learn-rule-trace li{display:block}.learn-rule-trace strong{display:block;margin-top:7px}.learn-overview{padding-top:30px}.learn-overview-hero{grid-template-columns:1fr;margin:30px 0;gap:15px}.learn-overview-hero h1{font-size:43px;letter-spacing:-2px}.learn-overview-hero>div>p:not(.learn-small){font-size:16px}.learn-overview-hero img{max-width:450px;margin:auto}.learn-overview-facts{grid-template-columns:1fr 1fr;gap:25px}.learn-overview-facts strong{font-size:29px}.learn-overview-facts>div{gap:13px}.learn-overview-facts span{font-size:11px}.learn-overview-outcomes{grid-template-columns:1fr;gap:10px;padding:40px 0}.learn-overview-body{grid-template-columns:1fr;gap:15px}.learn-overview-body h2,.learn-overview-outcomes h2{font-size:28px}.learn-syllabus summary{gap:12px}.learn-syllabus summary>span{min-width:55px}.learn-syllabus summary h3{font-size:13px}.learn-syllabus details>div{padding-left:67px}.learn-outline-link{margin-left:15px;font-size:12px}.learn-syllabus .lab,.learn-syllabus .exam{padding:0 10px}}
@media(prefers-reduced-motion:reduce){.learn-button,.learn-bars i{transition:none}}

.learn-table-scroll{overflow-x:auto}.learn-curriculum summary:focus-visible{outline-offset:-4px}

.learning-overview-body{background:#fff}.learn-overview{padding-top:145px}@media(max-width:800px){.learn-overview{padding-top:125px}}

.learn-exam-submit{display:flex;flex-wrap:wrap;gap:12px}

.learn-unify-pair{display:flex;gap:20px;align-items:center;justify-content:center;margin:28px 0}.learn-unify-pair>div{padding:20px;background:#fff;border:1px solid #dae8f1;border-radius:8px;min-width:0;flex:1}.learn-unify-pair>div>span{display:block;font-size:11px;color:#648096;margin-bottom:8px}.learn-unify-pair code{font-size:15px;color:#355e79}.learn-unify-pair>span{color:#849fae;font-size:23px}@media(max-width:800px){.learn-unify-pair{gap:8px}.learn-unify-pair>div{padding:12px 9px}.learn-unify-pair code{font-size:11px}}
.learn-visual svg{max-height:280px}
.learn-curriculum a.lab[aria-current] .learn-unit-num,.learn-curriculum a.exam[aria-current] .learn-unit-num{background:var(--accent);color:#fff}

/* Course disclosures use the shared downward chevron, never a plus sign. */
.learn-syllabus-intro{margin-bottom:32px;max-width:660px}.learn-syllabus-phase{margin-bottom:38px}.learn-syllabus-phase>header{display:flex;gap:18px;align-items:flex-start;padding:0 0 18px;border-bottom:2px solid #263e4a}.learn-syllabus-phase>header>span{font-size:28px;font-weight:500;line-height:1.4;color:#a3b7c5;letter-spacing:-1px}.learn-syllabus-phase>header h3{font-size:18px;line-height:1.5;margin:0;color:#243e4c}.learn-syllabus-phase>header p{font-size:11px;color:#607787;margin:6px 0 0;letter-spacing:.1px}.learn-syllabus{margin-top:0}.learn-syllabus summary{padding:21px 0;gap:16px}.learn-syllabus summary h4{font-size:14px;line-height:1.55;margin:0;flex:1;font-weight:600;min-width:0}.learn-syllabus .learn-syllabus-label{min-width:68px;color:#587180;font-size:10px}.learn-expand-icon{width:19px;height:19px;flex:none;color:#597a90;transition:transform .2s ease;margin-left:auto}.learn-syllabus details[open] .learn-expand-icon{transform:rotate(180deg)}.learn-syllabus details>div{padding:0 30px 24px 84px}.learn-syllabus details a{display:inline-flex;gap:8px;align-items:center;font-weight:600;margin-top:12px}.learn-syllabus details a svg{width:16px;height:16px}.learn-syllabus .lab,.learn-syllabus .exam{margin:10px 0;border:1px solid #dce8ef;border-radius:10px;padding:0 16px}.learn-syllabus .exam{border-color:#f0ddcb;background:#fff8ef}.learn-syllabus .lab summary,.learn-syllabus .exam summary{padding:17px 0}.learn-overview-body>aside h2{font-size:19px;line-height:1.5}.learn-overview-body>aside ol{padding-left:20px;display:grid;gap:12px}.learn-overview-hero{gap:40px}.learn-overview-hero img{max-width:475px;justify-self:end;border-radius:24px}.learn-rail-heading h2{font-size:16px;line-height:1.5;letter-spacing:-.3px}
.learn-case-illustration{margin:0 0 24px}.learn-case-illustration img{width:100%;height:auto;display:block;border-radius:14px}.learn-case-illustration figcaption{text-align:center;font-size:11px;color:#6b8190;margin-top:10px}.learn-reading-map{display:flex;flex-wrap:wrap;gap:8px 20px;padding:15px 0 20px;border-bottom:1px solid #dce7ee;margin-bottom:36px;font-size:12px;font-weight:600;color:#477694}.learn-reading section{scroll-margin-top:105px}.learn-case-section{margin:44px 0 32px}.learn-reading .learn-case-section h2{display:block;font-size:23px}.learn-reading .learn-case-section h2>span{display:block;font-family:Jakarta,sans-serif;font-size:10px;font-weight:700;letter-spacing:1.2px;color:#bc4b31;text-transform:uppercase;margin-bottom:12px}.learn-case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:26px 0}.learn-case-grid article{padding-top:18px;border-top:2px solid #b9d6e9}.learn-case-number{font-size:22px;color:#93b1c4}.learn-case-method{font-size:10px!important;color:#56768c!important;margin:9px 0!important;font-weight:600}.learn-case-grid h3{font-size:16px;line-height:1.55;margin:10px 0}.learn-case-grid article>p{font-size:12px!important;line-height:1.9}.learn-case-question{color:#264d64!important;margin-top:17px!important}.learn-reading-references{border-top:1px solid #dce7ee;margin:36px 0 0;padding-top:28px}.learn-reading-references h2{font-size:18px;margin:0 0 18px}.learn-reading-references ul{padding-left:18px}.learn-reading-references li{font-size:12px;line-height:1.8;margin-bottom:14px}.learn-reading-references p{font-size:12px!important;color:#667c8b}.learn-reading-references a{color:#35698d;text-decoration:underline}.learn-case-section,#learning-experiment{scroll-margin-top:105px}.learn-reading .learn-visual h2{margin:0;font-size:19px;gap:0}
.learn-reference>summary,.learn-hint>summary{list-style:none;display:flex;align-items:center;gap:14px}.learn-reference>summary::-webkit-details-marker,.learn-hint>summary::-webkit-details-marker,.learn-curriculum>summary::-webkit-details-marker{display:none}.learn-reference[open]>summary .learn-expand-icon,.learn-hint[open]>summary .learn-expand-icon,.learn-curriculum[open]>summary .learn-expand-icon{transform:rotate(180deg)}
@media(max-width:1100px){.learn-case-grid{grid-template-columns:1fr}.learn-case-grid article{position:relative;padding-left:45px}.learn-case-number{position:absolute;left:0;top:20px}.learn-case-grid h3{font-size:17px}.learn-case-grid article>p{font-size:13px!important}}
@media(max-width:800px){.learn-syllabus-phase>header{gap:13px}.learn-syllabus-phase>header h3{font-size:16px}.learn-syllabus summary{gap:12px}.learn-syllabus summary h4{font-size:13px}.learn-syllabus .learn-syllabus-label{min-width:58px}.learn-syllabus details>div{padding:0 8px 20px 70px}.learn-overview-hero{gap:24px}.learn-overview-hero img{max-width:390px;justify-self:center}.learn-overview-meta{flex-wrap:wrap}.learn-syllabus-phase{margin-bottom:30px}.learn-case-illustration{margin-bottom:16px}.learn-case-illustration figcaption{font-size:9px}.learn-reading-map{gap:12px 18px;font-size:11px;margin-bottom:25px}.learn-case-grid{gap:16px}.learn-curriculum>summary{gap:14px}.learn-curriculum>summary>span{margin-left:auto}.learn-curriculum>summary .learn-expand-icon{margin-left:0}.learn-top-progress{max-width:130px}.learn-top-progress label{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.learn-expand-icon{transition:none}}

.learn-peas-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:20px 0 28px}.learn-peas-grid strong{display:block;font-size:11px;margin-bottom:8px;color:#355e79}.learn-peas-grid span{font-size:11px;line-height:1.8;color:#647d8e;display:block}@media(max-width:800px){.learn-peas-grid{grid-template-columns:1fr 1fr;gap:16px}.learn-demo-controls select{max-width:200px}}
/* Modul pengantar: ilustrasi, diagram, dan uraian kasus dalam alur editorial. */
.intro-lesson{max-width:1050px;--intro-blue:#315f7c;--intro-muted:#5f7788}.intro-lesson p{line-height:1.9;color:var(--intro-muted)}.intro-opening{padding:6px 0 28px;max-width:780px}.intro-eyebrow{font-size:10px!important;letter-spacing:1.2px;text-transform:uppercase;color:#b65036!important;font-weight:700}.intro-opening h2{font-size:clamp(28px,3vw,42px);line-height:1.2;letter-spacing:-1.5px;margin:15px 0 20px}.intro-opening>p:last-of-type{font-size:15px}.intro-opening-meta{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:11px;color:#688295;margin-top:22px}.intro-opening-meta span:before{content:'●';color:#99bfd5;margin-right:7px;font-size:7px}.intro-toc{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #dce7ee;border-bottom:1px solid #dce7ee;padding:15px 0;gap:8px 20px;margin-bottom:42px}.intro-toc a{padding:10px 0;color:#426f8b;font-size:12px;font-weight:600;display:flex;gap:12px}.intro-toc a>span{color:#b77d65;font-size:10px}.intro-chapter{margin:0 0 64px;scroll-margin-top:100px}.intro-chapter-heading{margin-bottom:30px;border-bottom:1px solid #e3ebf1;padding-bottom:23px}.intro-chapter-heading>span{font-size:10px;color:#ad4d35;letter-spacing:1.5px;text-transform:uppercase;font-weight:700}.intro-chapter-heading h2{font-size:28px;line-height:1.35;letter-spacing:-.8px;margin:13px 0 12px}.intro-chapter-heading p{margin:0;max-width:760px}.intro-prose{max-width:790px;margin-bottom:28px;scroll-margin-top:100px}.intro-prose h3{font-size:19px;line-height:1.5;margin:0 0 12px}.intro-prose p{margin:0 0 14px}.intro-domain-map{margin:32px 0;padding:25px 28px;background:#f3f8fb;border-radius:12px}.intro-domain-map h3{margin:0;font-size:19px}.intro-domain-map figcaption>p{font-size:12px;margin:9px 0 22px}.intro-domain-map>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px}.intro-domain-map a{display:flex;flex-direction:column;gap:7px;padding:20px 0;border-top:1px solid #d6e5ef;color:#2f5770}.intro-domain-map a>span{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#7d98a9}.intro-domain-map a>strong{font-size:14px}.intro-domain-map a>small{font-size:11px;color:#638092;line-height:1.7}.intro-domain-map a:hover strong{color:#b24c32}.intro-case-index{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:34px}.intro-case-index a{padding:8px 12px;border:1px solid #dce7ee;border-radius:30px;font-size:11px;color:#486f86}.intro-case-index a:hover{background:#edf6fc}.intro-showcase{padding:0 0 35px;margin:0 0 42px;border-bottom:1px solid #e0eaf1;scroll-margin-top:100px}.intro-showcase>header{margin-bottom:24px}.intro-showcase>header>p{font-size:10px;color:#ad5037;font-weight:700;letter-spacing:.7px;margin:0 0 12px}.intro-showcase h3{font-size:24px;line-height:1.4;letter-spacing:-.7px;max-width:750px;margin:0 0 9px}.intro-showcase>header>span{font-size:10px;color:#7d91a0}.intro-image{margin:24px 0}.intro-image img{width:100%;height:auto;display:block;border-radius:12px;max-height:none;object-fit:contain;object-position:center}.intro-image figcaption{font-size:10px;line-height:1.7;color:#728a9a;padding:12px 6px;text-align:center}.intro-showcase>p{max-width:850px}.intro-task{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0}.intro-task>div{border-top:2px solid #b7d4e6;padding-top:12px}.intro-task dt{font-size:10px;color:#42738d;font-weight:700;text-transform:uppercase;letter-spacing:.8px}.intro-task dd{margin:9px 0 0;color:#5e7687;font-size:12px;line-height:1.8}.intro-flow{margin:27px 0;padding:24px;background:#f4f8fb;border-radius:10px}.intro-flow ol{padding:0;margin:0;list-style:none;display:flex;gap:12px;align-items:stretch}.intro-flow li{flex:1;min-width:0;position:relative;padding:0 14px 0 0}.intro-flow li:not(:last-child):after{content:'→';position:absolute;right:-7px;top:26px;color:#87aabd;font-size:18px}.intro-flow li>span{display:block;font-size:10px;color:#9a7b68;margin:0 0 10px}.intro-flow li strong{display:block;color:#42697f;font-size:12px;line-height:1.6}.intro-flow figcaption{font-size:10px;color:#7893a4;margin:19px 0 0;line-height:1.7}.intro-walkthrough{list-style:none;counter-reset:walkthrough;padding:0;margin:28px 0;max-width:870px}.intro-walkthrough li{counter-increment:walkthrough;position:relative;padding:0 0 22px 41px}.intro-walkthrough li:before{content:counter(walkthrough);position:absolute;left:0;top:0;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#eaf3f9;color:#49748d;font-size:11px;font-weight:600}.intro-walkthrough h4{font-size:15px;line-height:1.6;margin:0 0 8px}.intro-walkthrough p{margin:0;font-size:13px}.intro-case-notes{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:20px 0;border-top:1px dashed #d7e5ee}.intro-case-notes p{font-size:12px;margin:0}.intro-case-notes strong{display:block;margin-bottom:9px;color:#3c627a;font-size:12px}.intro-showcase>footer>p{font-size:11px;margin:10px 0}.intro-showcase>footer a,.intro-source a{color:#43738f;text-decoration:underline!important;text-underline-offset:3px}.intro-source{font-size:11px!important}.intro-experiment{margin:32px 0 40px;padding:28px;border:1px solid #d7e6f0;background:#f6fafc;border-radius:12px;scroll-margin-top:100px}.intro-experiment figcaption>span{font-size:10px;letter-spacing:.6px;color:#b45b40;font-weight:700}.intro-experiment h3{font-size:21px;line-height:1.4;margin:12px 0}.intro-experiment figcaption>p{font-size:12px}.intro-control-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin:28px 0}.intro-control-grid label{font-size:12px;color:#4b6b81;display:block}.intro-control-grid output{float:right;color:#b55336;font-weight:700}.intro-control-grid input{display:block;width:100%;accent-color:#d77e63;margin-top:17px}.intro-growth-results{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:26px 0}.intro-growth-results>div{padding:18px 0;border-top:1px solid #dae6ef}.intro-growth-results span{display:block;font-size:10px;color:#6e8798}.intro-growth-results strong{display:block;font-size:clamp(17px,2vw,27px);color:#355f79;letter-spacing:-.6px;margin:9px 0;overflow-wrap:anywhere}.intro-growth-results code{font-family:Cambria,Georgia,serif;font-size:14px;color:#8e6d5e}.intro-growth-chart{list-style:none;margin:20px 0;padding:0}.intro-growth-chart li{display:grid;grid-template-columns:33px minmax(0,1fr) 125px;gap:12px;align-items:center;margin:11px 0;font-size:10px;color:#617c8d}.intro-growth-chart li>div{height:8px;border-radius:4px;background:#e0ebf2}.intro-growth-chart i{height:100%;background:#76abc8;border-radius:4px;display:block}.intro-growth-chart li:last-child i{background:#d9987c}.intro-growth-chart strong{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}.intro-figure-note{font-size:10px!important;line-height:1.8!important;color:#758d9b!important;margin:18px 0 0}.intro-experiment>.learn-button{font-size:11px;margin:14px 0 4px}.intro-experiment>p:not(.intro-figure-note){font-size:12px}.intro-choice{display:flex;gap:10px;margin:24px 0 0;flex-wrap:wrap}.intro-choice button{padding:11px 16px;background:#fff;color:#5c7a8d;border:1px solid #cddfe9;border-radius:7px;font-family:inherit;font-size:11px;cursor:pointer}.intro-choice button[aria-pressed=true]{background:#345f7b;border-color:#345f7b;color:#fff}.intro-experiment blockquote{font-size:20px;color:#325f7c;margin:22px 0;line-height:1.7}.intro-ambiguity-scene svg{width:100%;max-height:265px;display:block}.intro-ambiguity-copy{border-top:1px solid #dce7ee;padding-top:10px}.intro-ambiguity-copy p{font-size:12px}.intro-ambiguity-copy code{display:block;background:#e4f0f7;padding:13px 16px;border-radius:6px;color:#477089;font-size:12px;white-space:normal;overflow-wrap:anywhere}.intro-turing-diagram{display:grid;grid-template-columns:1fr 1.1fr 1fr;gap:22px;margin:28px 0}.intro-turing-diagram>div{text-align:center;display:flex;flex-direction:column;gap:10px;align-items:center;padding:18px 10px}.intro-turing-diagram span{width:48px;height:48px;display:grid;place-items:center;background:#deedf6;border-radius:50%;font-size:21px;color:#497890}.intro-turing-diagram strong{font-size:11px;color:#597a8f}.intro-turing-diagram small{font-size:9px;color:#6e899a}.intro-turing-diagram .intro-judge{border-left:1px dashed #bed4e2;border-right:1px dashed #bed4e2}.intro-judge span{background:#f9e5d9;color:#b57254}.intro-sample-label{font-size:11px!important;color:#436c84!important;font-weight:600}.intro-sample-answers{display:grid;grid-template-columns:1fr 1fr;gap:20px}.intro-sample-answers p{padding:16px 19px;background:#fff;border:1px solid #e0e9ef;border-radius:8px;margin:10px 0;font-size:12px}.intro-sample-answers strong{display:block;font-size:10px;margin-bottom:9px;color:#698797}.intro-experiment [data-verification-result]{background:#e4f2e9;padding:16px;border-radius:8px;color:#376c51}.intro-takeaway{padding:22px 25px;background:#fff4eb;border-left:3px solid #e0a282;margin:30px 0;border-radius:0 9px 9px 0}.intro-takeaway strong{font-size:13px;color:#976848}.intro-takeaway p{font-size:12px;margin:8px 0 0;color:#826855}.intro-paradigms{margin:30px 0}.intro-paradigms h3{font-size:19px}.intro-paradigms>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.intro-paradigms section{border-top:2px solid #b5d1e4;padding-top:16px}.intro-paradigms span{font-size:13px;font-weight:700;color:#486b82}.intro-paradigms code{display:block;font-size:10px;color:#9f7158;margin:16px 0;line-height:1.8;overflow-wrap:anywhere}.intro-paradigms p{font-size:12px}.intro-timeline{margin:32px 0}.intro-timeline h3{font-size:19px}.intro-timeline ol{padding:0;list-style:none;margin:27px 0}.intro-timeline li{display:grid;grid-template-columns:105px 1fr;gap:25px;position:relative;padding:0 0 24px 0}.intro-timeline li>div{border-left:1px solid #c4dbe9;padding:0 0 10px 24px;position:relative}.intro-timeline li>div:before{content:'';width:8px;height:8px;border-radius:50%;background:#83afc8;position:absolute;top:5px;left:-4px}.intro-timeline time{color:#af745b;font-size:13px;font-weight:600}.intro-timeline h4{font-size:15px;margin:0 0 9px}.intro-timeline p{font-size:12px;margin:0;max-width:660px}.intro-reflection{padding:22px 0;border-top:1px solid #dce7ee}.intro-reflection h3{font-size:18px}.intro-reflection li{font-size:12px;line-height:1.9;color:#5e788a;padding-left:8px;margin:12px 0}.intro-local-image img{max-height:none}.intro-lesson .learn-reading-references p{font-size:12px!important}.intro-lesson .learn-visual{margin-top:32px}.intro-lesson a:focus-visible,.intro-lesson button:focus-visible{outline:3px solid #83b4d1;outline-offset:4px}.intro-lesson .learn-reference>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;list-style:none}.intro-lesson .learn-reference>summary::-webkit-details-marker{display:none}
@media(max-width:1100px){.intro-toc{grid-template-columns:repeat(2,minmax(0,1fr))}.intro-task{gap:17px}.intro-flow{padding:20px}.intro-flow li strong{font-size:11px}.intro-case-notes{gap:20px}.intro-paradigms>div{grid-template-columns:1fr}.intro-paradigms section{padding-top:12px}.intro-paradigms code{margin:10px 0}.intro-paradigms p{margin:0}.intro-growth-chart li{grid-template-columns:30px minmax(0,1fr) 118px}}
@media(max-width:800px){.intro-opening h2{font-size:30px}.intro-opening>p:last-of-type{font-size:13px}.intro-opening-meta{font-size:10px;gap:10px 18px}.intro-toc{gap:5px 18px;margin-bottom:32px}.intro-toc a{font-size:10px;gap:8px}.intro-chapter{margin-bottom:45px}.intro-chapter-heading h2{font-size:23px}.intro-chapter-heading>p{font-size:12px}.intro-prose h3{font-size:18px}.intro-domain-map{padding:21px 19px}.intro-domain-map>div{grid-template-columns:1fr}.intro-domain-map a{padding:16px 0}.intro-showcase h3{font-size:21px}.intro-showcase>header>p{font-size:9px}.intro-task{grid-template-columns:1fr;gap:16px}.intro-task dd{font-size:12px;margin-top:6px}.intro-flow{padding:19px 18px}.intro-flow ol{display:block}.intro-flow li{padding:0 0 21px 28px;margin:0;min-height:24px}.intro-flow li>span{position:absolute;left:0;top:3px;margin:0;font-size:9px}.intro-flow li:not(:last-child):after{content:'↓';left:34px;right:auto;top:21px;font-size:15px}.intro-flow li:last-child{padding-bottom:0}.intro-flow li strong{font-size:12px}.intro-flow figcaption{font-size:9px}.intro-walkthrough li{padding-left:36px}.intro-walkthrough h4{font-size:14px}.intro-walkthrough p{font-size:12px!important}.intro-case-notes{grid-template-columns:1fr;gap:20px}.intro-showcase>footer p{font-size:10px!important}.intro-case-index{gap:7px}.intro-case-index a{font-size:10px;padding:7px 10px}.intro-experiment{padding:21px 18px;margin-left:0;margin-right:0}.intro-experiment h3{font-size:19px}.intro-experiment blockquote{font-size:18px}.intro-control-grid{grid-template-columns:1fr;gap:25px}.intro-growth-results{grid-template-columns:1fr;gap:8px}.intro-growth-results strong{font-size:22px}.intro-growth-chart li{grid-template-columns:27px minmax(0,1fr) 107px;font-size:9px;gap:7px}.intro-choice{gap:8px}.intro-choice button{font-size:10px;padding:10px 11px}.intro-ambiguity-scene svg{max-height:220px}.intro-ambiguity-copy code{font-size:11px}.intro-turing-diagram{gap:4px}.intro-turing-diagram>div{padding:14px 3px}.intro-turing-diagram strong{font-size:9px;line-height:1.6}.intro-turing-diagram small{font-size:8px}.intro-sample-answers{grid-template-columns:1fr;gap:3px}.intro-timeline li{grid-template-columns:80px 1fr;gap:10px}.intro-timeline time{font-size:11px}.intro-timeline li>div{padding-left:17px}.intro-timeline h4{font-size:14px}.intro-timeline p{font-size:12px!important}.intro-takeaway{padding:19px 20px}.intro-image figcaption{font-size:9px}.intro-reflection li{font-size:12px!important}}

.intro-visual-index{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 30px}.intro-visual-index a{display:block;min-width:0;color:#416e89}.intro-visual-index img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:9px;display:block;background:#f1f6fa}.intro-visual-index span{display:block;padding:12px 2px 4px;font-size:11px;font-weight:600}.intro-visual-index a:hover img{outline:2px solid #accfe3;outline-offset:3px}@media(max-width:800px){.intro-visual-index{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.intro-visual-index span{font-size:10px;padding-top:9px}}
/* Huruf biasa dan konektor dengan titik awal/akhir yang mengikuti simpul. */
.intro-lesson .intro-eyebrow,.intro-lesson .intro-chapter-heading>span,.intro-lesson .intro-domain-map a>span,.intro-lesson .intro-task dt,.intro-lesson .learn-case-method{text-transform:none;letter-spacing:normal}.intro-eyebrow{font-size:12px!important}.intro-chapter-heading>span{font-size:11px}.intro-task dt{font-size:11px}.intro-flow{padding:24px;background:#f5f9fc}.intro-flow>figcaption{margin:0 0 24px}.intro-flow>figcaption h4{font-size:15px;color:#335d77;line-height:1.6;margin:0 0 8px}.intro-flow>figcaption p{font-size:12px;margin:0;max-width:800px;line-height:1.8}.intro-flow-plot{position:relative}.intro-flow-plot.has-feedback{padding-bottom:55px}.intro-flow-plot.has-cross-edges{padding-top:64px}.intro-flow .intro-flow-track{display:grid;grid-template-columns:repeat(var(--flow-stages),minmax(0,1fr));gap:76px;list-style:none;margin:0;padding:0;align-items:start}.intro-flow .intro-flow-track>li{position:relative;padding:0!important;min-width:0;min-height:0;margin:0;display:block}.intro-flow .intro-flow-track>li:after{content:none!important}.intro-flow-node{height:154px;box-sizing:border-box;border:1px solid #cbdeea;border-radius:9px;padding:14px 11px;background:#fff;position:relative;z-index:1;display:flex;flex-direction:column;gap:9px}.intro-flow-node>span{font-size:9px;color:#a5765e;line-height:1}.intro-flow-node>strong{font-size:12px!important;line-height:1.6;color:#345e78}.intro-flow-node>small{font-size:10px;line-height:1.7;color:#6a8496}.intro-flow-transfer{position:absolute;left:100%;width:76px;top:35px;display:flex;flex-direction:column;align-items:center;gap:11px;box-sizing:border-box;padding:0 5px;z-index:1}.intro-flow-transfer>span{font-size:9px;line-height:1.6;text-align:center;color:#54829d;min-height:30px;display:flex;align-items:end;justify-content:center}.intro-flow-transfer svg{fill:none;stroke:#54829d;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block;flex:none}.intro-flow-transfer .intro-transfer-horizontal{width:68px;height:18px}.intro-flow-transfer .intro-transfer-vertical{display:none}.intro-flow-feedback{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.intro-flow-key{padding-top:14px;border-top:1px solid #deebf3;margin-top:12px}.intro-flow-key>p{font-size:10px!important;color:#698495;margin:8px 0;line-height:1.8!important}.intro-flow-key strong{color:#876550;font-weight:600}.intro-solid-key,.intro-dashed-key{display:inline-block;width:22px;border-top:2px solid #54829d;margin-right:7px;vertical-align:middle}.intro-dashed-key{border-top:2px dashed #b5785e}.intro-recent-case{margin:30px 0 45px;padding:0 0 35px;border-bottom:1px solid #dce7ee;scroll-margin-top:100px}.intro-recent-case>header time{font-size:12px;color:#a4684c}.intro-recent-case h3{font-size:23px;line-height:1.45;margin:12px 0 20px;letter-spacing:-.5px}.intro-recent-case>p{max-width:850px}.intro-recent-example{border-left:3px solid #c4dcea;padding:2px 0 2px 21px;margin:25px 0}.intro-recent-example h4{font-size:15px;margin:0 0 13px}.intro-recent-example p{font-size:13px;margin:12px 0}.intro-recent-example strong{color:#4f7389}.intro-toc{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1250px){.intro-flow .intro-flow-track{gap:56px}.intro-flow-transfer{width:56px;padding:0 3px}.intro-flow-transfer .intro-transfer-horizontal{width:50px}.intro-flow-node{padding:12px 9px;height:174px}.intro-flow-node>strong{font-size:11px!important}.intro-flow-node>small{font-size:9px}.intro-flow-transfer{top:45px}.intro-flow-transfer>span{font-size:8px;min-height:31px}}
@media(max-width:1000px){.intro-flow .intro-flow-track{grid-template-columns:minmax(0,1fr);gap:81px}.intro-flow .intro-flow-track>li{margin:0}.intro-flow-node{height:auto;min-height:115px;padding:15px 17px}.intro-flow-node>strong{font-size:13px!important}.intro-flow-node>small{font-size:11px}.intro-flow-transfer{left:0;top:100%;width:100%;height:81px;padding:6px 0;gap:4px}.intro-flow-transfer>span{min-height:0;font-size:10px;line-height:1.7}.intro-flow-transfer .intro-transfer-horizontal{display:none}.intro-flow-transfer .intro-transfer-vertical{display:block;width:18px;height:36px}.intro-flow-plot.has-feedback{padding:0 34px 0 0}.intro-flow-plot.has-cross-edges{padding:0 34px}.intro-flow-key{margin-top:20px}.intro-toc{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.intro-flow{padding:21px 18px}.intro-flow>figcaption h4{font-size:15px}.intro-flow>figcaption p{font-size:12px!important}.intro-flow>figcaption{margin-bottom:24px}.intro-recent-case h3{font-size:20px}.intro-recent-example{padding-left:16px}.intro-recent-example p{font-size:12px!important}.intro-flow .intro-flow-track>li:after{content:none!important}.intro-flow .intro-flow-track>li:last-child{padding-bottom:0!important}.intro-flow-key>p{font-size:10px!important}}
.intro-turing-diagram{grid-template-columns:minmax(0,1fr) 80px minmax(0,1.2fr) 80px minmax(0,1fr);gap:14px;align-items:center}.intro-turing-diagram .intro-judge{border:0}.intro-turing-diagram>.intro-turing-exchange{padding:0;gap:8px;align-items:stretch}.intro-turing-exchange>small{text-align:center;font-size:9px;color:#56809b}.intro-turing-exchange>small:nth-of-type(2){color:#a3735a}.intro-turing-exchange svg{width:100%;height:18px;fill:none;stroke:#56809b;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.intro-turing-exchange .answer{stroke:#a3735a}@media(max-width:800px){.intro-turing-diagram{grid-template-columns:minmax(0,1fr) 44px minmax(0,1.2fr) 44px minmax(0,1fr);gap:4px}.intro-turing-exchange>small{font-size:7px!important}.intro-turing-diagram>div{padding:12px 0}.intro-turing-diagram strong{font-size:9px}.intro-turing-diagram span{width:36px;height:36px;font-size:18px}.intro-turing-exchange svg{height:16px}.intro-turing-diagram .intro-judge small{font-size:8px}}
/* Search lessons: scientific notation, explicit directed edges, and editable teaching models. */
.search-lesson,.search-practice{max-width:100%;color:#294553}.search-opening{padding:8px 0 26px}.search-opening>p:first-child,.search-workshop>header>p:first-child,.search-puzzle figcaption>p:first-child,.search-river figcaption>p:first-child,.search-practice>header>p:first-child{color:#b85037;font-size:12px;font-weight:600;letter-spacing:0;text-transform:none;margin:0 0 13px}.learn-main .search-opening h2{font-size:clamp(28px,3vw,38px);font-weight:650;letter-spacing:-1px;margin:0 0 15px}.search-opening>p{max-width:720px;color:#607887}.search-facts{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:24px;font-size:11px;color:#567487}.search-facts span{padding-left:11px;border-left:2px solid #9dbed1}.search-section-nav{display:flex;flex-wrap:wrap;gap:14px 28px;padding:17px 0 25px;border-bottom:1px solid #dbe6ec;font-size:12px;color:#416c85}.search-workshop{background:linear-gradient(130deg,#f1f8fc,#fafcfd);padding:28px;border:1px solid #dce9f0;border-radius:14px;margin:34px 0 54px;scroll-margin-top:105px}.search-workshop h2{margin:0 0 13px}.search-workshop header>p:last-child{color:#607887;max-width:760px}.search-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px;margin:26px 0 18px}.search-toolbar label{display:grid;gap:8px;font-size:11px;color:#486b81}.search-toolbar select{font:inherit;border:1px solid #b8cddc;border-radius:7px;background:white;color:#294553;padding:10px 12px;max-width:100%}.search-toolbar [hidden]{display:none}.search-toolbar select:disabled{opacity:.55}.search-controls{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:14px 0}.search-controls .learn-button{font-size:11px;padding:9px 12px}.search-controls>span{font-size:11px;margin-left:auto;color:#607887}.search-rule{font-size:12px!important;min-height:23px;color:#456d85}.search-graph-scroll{overflow-x:auto;max-width:100%;padding:16px 0 0;overscroll-behavior-x:contain}.search-graph-scroll svg{display:block;width:100%;min-width:550px;height:auto;max-height:none;font-family:inherit}.search-graph-scroll path{stroke:#62869c;stroke-width:1.8;fill:none}.search-graph-scroll defs path{fill:#62869c;stroke:none}.search-graph-scroll .search-edge.solution path{stroke:#31866a;stroke-width:3}.search-graph-scroll .search-edge rect{fill:#f5fafc;stroke:#e1ebf1;stroke-width:.8}.search-graph-scroll .search-edge text{font-size:12px;fill:#395c73;font-weight:600}.search-node circle{fill:#fff;stroke:#9cb7c8;stroke-width:1.6}.search-node.waiting circle{fill:#cfebfb;stroke:#5094bb}.search-node.current circle{fill:#f8c6b5;stroke:#d56d4e}.search-node.closed circle{fill:#cce8dc;stroke:#65a38c}.search-node text{font-size:16px;fill:#294553;font-weight:600}.search-node .search-place{font-size:11px;font-weight:400}.search-node .search-h{font-size:11px;fill:#7f6485;font-weight:500}.search-legend{display:flex;flex-wrap:wrap;gap:8px 17px;font-size:10px;color:#527487;margin:14px 0 22px}.search-event{padding:16px;border-left:3px solid #84aec8;background:#e6f1f8;font-size:12px!important;min-height:54px}.search-lists{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;margin:24px 0}.search-lists h3{font-size:13px;margin:0 0 12px}.search-lists>div{min-width:0}.search-lists p{font-size:12px;color:#547286}.search-lists .learn-table th,.search-lists .learn-table td{padding:8px 10px;font-size:11px}.search-demo-note{font-size:11px!important;color:#607887}.search-prose{padding:12px 0 18px;max-width:850px;scroll-margin-top:105px}.search-prose .search-section-number{color:#93afc1;font-size:22px;margin:18px 0 8px;font-weight:500}.search-prose h2{font-size:24px;margin:0 0 16px;line-height:1.45}.search-prose>p:not(.search-section-number){line-height:1.95;color:#526f80}.search-tree,.search-puzzle,.search-river{margin:28px 0 48px;padding:27px;background:#f6f9fb;border-top:2px solid #b4d1e3;border-radius:0 0 10px 10px}.search-tree h3,.search-puzzle h3,.search-river h3{margin:0 0 12px;font-size:20px}.search-tree svg{width:100%;max-width:750px;display:block;height:auto}.search-tree-box rect,.search-tree-box circle{fill:#e1edf5;stroke:#b7cfde;stroke-width:1}.search-tree-box text{text-anchor:middle;fill:#2e5269;font-size:13px;font-family:inherit}.search-tree-cost text{font-size:11px;fill:#5c7b91;font-family:inherit}.search-comparison{margin:40px 0 58px}.learn-table caption{font-size:12px;text-align:left;color:#547286;padding:0 0 12px}.search-comparison .learn-table{min-width:700px}.search-comparison .learn-table td,.search-comparison .learn-table th{font-size:11px}.search-math-summary{margin:44px 0;scroll-margin-top:105px}.search-equation{border-top:1px solid #dce7ed;padding:18px 0 12px}.search-equation h3{font-size:15px;margin:0 0 15px}.learn-formula:has(math){font-family:"STIX Two Math","Cambria Math",serif;font-size:20px;line-height:1.8;letter-spacing:0;text-transform:none}.learn-formula math{font-family:"STIX Two Math","Cambria Math",serif;font-size:1em;min-width:max-content;margin:0;padding:4px 0;color:#244c65}.learn-formula math annotation{display:none}.search-equation p{font-size:12px;color:#637d8d}.search-puzzle-boards{display:flex;gap:34px;flex-wrap:wrap;align-items:flex-start;margin:24px 0}.search-board-wrap>p{font-size:11px;color:#5d7b90;margin:0 0 10px}.search-board{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;width:170px;background:#dce7ef;padding:6px;border-radius:8px}.search-board>span{display:grid;place-items:center;aspect-ratio:1;background:white;border-radius:4px;color:#2e5871;font-size:22px}.search-board .blank{background:#bfd5e4;color:#5b7d91}.search-puzzle [role=status]{font-size:12px;background:#e6f0f6;padding:12px;color:#45677d}.search-river [data-river-scene]{display:grid;grid-template-columns:1fr 1fr 1fr;margin:26px 0;border:1px solid #dae6ee;border-radius:8px;overflow:hidden;min-height:155px}.search-river-bank{padding:13px;background:#edf3e8}.search-river-bank h4{font-size:11px;margin:0 0 13px;color:#476447}.search-river-bank>div{display:flex;gap:5px;flex-wrap:wrap}.search-river-bank span{background:#e0ebf5;border:1px solid #b4cfe1;border-radius:5px;font-size:10px;padding:5px 7px;line-height:1.5}.search-river-bank .parcel{background:#f8e6ce;border-color:#d4bc9b}.search-river-water{background:linear-gradient(#d0ebfb,#a9cfe7);display:grid;place-items:center;text-align:center;padding:10px;color:#345d78;font-size:11px}.search-river [role=status]{font-size:12px;color:#456a80}.search-practice header>p{color:#607887}.search-exercise{padding:27px 0 35px;border-top:1px solid #dce8ef;margin-top:28px}.search-exercise-number{font-size:11px!important;color:#b45239}.search-exercise>h3{font-size:21px;margin:8px 0 15px}.search-exercise>p{color:#5b778a;overflow-wrap:anywhere}.search-exercise .learn-question{border:0;padding:0;background:none;margin-top:22px}.search-exercise .learn-question legend{font-size:14px;line-height:1.85}.search-exercise .learn-question label{font-size:12px;overflow-wrap:anywhere}.search-exercise .learn-reference{margin:22px 0 0}.search-exercise .learn-reference li{font-size:12px;line-height:1.9;margin:12px 0}.search-walking{padding:16px;margin:24px 0;background:#f4f8fb}.search-walking svg{width:100%;max-width:650px}.search-walking figcaption{font-size:11px;color:#5b788b}.search-puzzle-sequence{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-end}.search-puzzle-sequence>p{font-size:11px}.search-lesson #search-concepts,.search-lesson #search-puzzle-demo{scroll-margin-top:105px}
@media(max-width:800px){.search-opening{padding-top:0}.search-opening h2{font-size:27px!important}.search-workshop{padding:18px 14px;margin:26px 0 40px}.search-workshop h2{font-size:22px}.search-toolbar{gap:14px;align-items:start}.search-toolbar label{flex:1 1 135px}.search-controls>span{width:100%;margin:4px 0}.search-lists{grid-template-columns:1fr;gap:22px}.search-prose h2{font-size:22px}.search-tree,.search-puzzle,.search-river{padding:20px 14px}.search-puzzle-boards{gap:18px}.search-board{width:145px}.search-equation h3{font-size:14px}.learn-formula:has(math){font-size:18px}.search-river [data-river-scene]{grid-template-columns:1fr 82px 1fr}.search-river-bank{padding:10px}.search-river-bank span{font-size:9px;padding:4px 5px}.search-exercise>h3{font-size:20px}.search-puzzle-sequence{display:block}.search-puzzle-sequence>p{margin-bottom:24px}}
.search-legend .waiting{color:#387ca5}.search-legend .current{color:#ba6047}.search-legend .closed{color:#337c61}.search-graph-scroll defs marker[id$="-solution"] path{fill:#31866a}

/* Expandable lesson outlines use the same anchors as the rendered lesson. */
.learn-module-nav>summary,.learn-nav-group>summary{display:flex;align-items:center;list-style:none;cursor:pointer;gap:5px}.learn-module-nav>summary::-webkit-details-marker,.learn-nav-group>summary::-webkit-details-marker{display:none}.learn-module-nav>summary>a{flex:1;min-width:0;margin-bottom:0;padding-right:6px}.learn-module-nav>summary>.learn-expand-icon{width:15px;height:15px;margin:0 6px 0 0;flex:none;color:#708798}.learn-module-nav[open]>summary>.learn-expand-icon,.learn-nav-group[open]>summary>.learn-expand-icon{transform:rotate(180deg)}.learn-module-nav{margin-bottom:4px}.learn-module-nav[open]{padding-bottom:7px}.learn-nav-group{margin:4px 8px 2px 34px;border-left:1px solid #dce7ee}.learn-nav-group>summary{padding:8px 8px 8px 13px;font-size:11px;font-weight:650;color:#587080}.learn-nav-group>summary>span{margin-left:auto;color:#91a2ad;font-size:10px;font-weight:400}.learn-nav-group>summary>.learn-expand-icon{width:12px;height:12px;margin-left:5px}.learn-curriculum .learn-subnav a{font-size:11px;line-height:1.55;padding:8px 12px;margin:1px 0 1px 5px;border-radius:0 6px 6px 0;border-left:2px solid transparent;display:block;font-weight:400}.learn-curriculum .learn-subnav a[aria-current=location]{background:#edf3f8;border-left-color:#387ea5;color:#205a7e;font-weight:650}.learn-curriculum .learn-subnav a:hover{background:#e9f2f9}.learn-main [id]{scroll-margin-top:100px}.learn-main [tabindex="-1"]:focus:not(:focus-visible){outline:none}
.search-advanced-intro{padding-top:50px;border-top:1px solid #dfe8ee;margin-top:55px}.search-advanced-intro>p:first-child,.search-advanced-case header>span{font-size:12px;color:#4380a0;font-weight:650}.search-advanced-case{margin:45px 0 70px;max-width:900px}.search-advanced-case header h2{font-size:29px;letter-spacing:-.8px;margin:10px 0 16px}.search-advanced-case header p{color:#546b7d}.case-inputs{display:flex;align-items:end;flex-wrap:wrap;gap:24px;margin:25px 0 18px}.case-inputs label{font-size:12px;color:#475f71;display:grid;gap:8px}.case-inputs select{border:1px solid #cbdce7;border-radius:8px;padding:10px 12px;background:#fff;min-height:42px;max-width:100%;font-size:13px}.case-inputs .case-checkbox{display:flex;align-items:center;padding-bottom:10px;gap:9px;cursor:pointer}.case-checkbox input{accent-color:#df6645;width:17px;height:17px}.case-network{display:block;width:100%;max-width:680px;margin:5px auto 18px}.case-edge path{fill:none;stroke:#bccfdb;stroke-width:2}.case-edge rect{fill:#fff}.case-edge text{font-size:12px;fill:#587284}.case-edge.active path{stroke:#e47753;stroke-width:4}.case-edge.blocked path{stroke:#e5aba3;stroke-dasharray:6 6}.case-edge.blocked text{fill:#b85548}.case-location circle{fill:#ecf4f8;stroke:#a9c6d7;stroke-width:1.5}.case-location text{font-size:17px;font-weight:700;fill:#304e63}.case-location .case-place{font-size:12px;font-weight:400}.case-location.current circle{fill:#fff0e9;stroke:#e7825e;stroke-width:3}.case-location.current text:not(.case-place){fill:#c85b37}.case-result{padding:15px 18px;background:#eff6fa;border-left:3px solid #689ab6;font-size:13px;line-height:1.7;color:#305a74}.case-telemetry{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 22px}.case-telemetry>div{padding:13px 0;border-bottom:1px solid #e3ebf0}.case-telemetry span{display:block;font-size:11px;color:#718594;margin-bottom:5px}.case-telemetry strong{font-size:17px;font-weight:650;color:#2b485e}.case-reasoning{padding-left:22px}.case-reasoning li{padding:0 0 13px 5px;color:#526b7c}.case-selected{background:#fff0e9}.case-grid{display:grid;grid-template-columns:repeat(4,64px);gap:7px;justify-content:center;margin:30px auto}.case-cell{height:64px;position:relative;background:#edf5fa;border:1px solid #d0e1eb;border-radius:9px;display:grid;place-items:center;font-size:18px;font-weight:650;color:#5a7f98}.case-cell.wall{background:repeating-linear-gradient(45deg,#dbe3e8,#dbe3e8 4px,#e6ecf0 4px,#e6ecf0 9px);color:#80919d;border-color:#d7e0e6}.case-cell.gate{border:2px dashed #8eafc4}.case-cell.robot{border:2px solid #e58360;background:#fff1e8}.case-cell i{width:14px;height:14px;border-radius:50%;background:#e47c53;position:absolute;right:6px;bottom:6px;box-shadow:0 0 0 3px #fff}.search-projects{border-top:1px solid #dce7ed;padding-top:35px;margin-top:50px}.search-projects article{padding:20px 0;border-bottom:1px solid #e8edf1}.search-projects article>p{color:#536b7d}
@media(max-width:800px){.learn-main [id]{scroll-margin-top:84px}.learn-nav-group{margin-left:35px}.learn-curriculum .learn-subnav a{font-size:12px;padding:10px 12px}.search-advanced-case header h2{font-size:24px}.case-inputs{gap:16px}.case-inputs label{width:100%}.case-inputs .case-checkbox{width:auto}.case-network{width:100%;margin-bottom:8px}.case-telemetry{gap:8px}.case-telemetry span{font-size:10px}.case-telemetry strong{font-size:13px}.case-grid{grid-template-columns:repeat(4,minmax(0,60px));max-width:100%}.case-cell{height:60px}.search-advanced-case{margin-bottom:50px}.case-result{padding:13px;font-size:12px}}
html:has(body.learning-body){scroll-padding-top:0}
.learn-module-nav>summary>.learn-nav-toggle{display:grid;place-items:center;width:30px;min-height:44px;flex:none}.learn-nav-toggle .learn-expand-icon{width:15px;height:15px;margin:0;pointer-events:none}.learn-module-nav[open]>summary .learn-nav-toggle .learn-expand-icon{transform:rotate(180deg)}
.learn-nav-toggle{border:0;background:transparent;color:#708798;padding:0;cursor:pointer;border-radius:6px}.learn-nav-toggle:hover{background:#e7f0f6}
@media(min-width:801px){.learn-curriculum{scrollbar-gutter:stable;padding-right:20px}}
@media(max-width:800px){.learn-curriculum nav{scrollbar-gutter:stable;padding-right:22px}}
.case-network{height:auto}.learn-main section[tabindex="-1"]:focus,.learn-main div[tabindex="-1"]:focus{outline:none}
@media(max-width:800px){.learn-curriculum{position:sticky;top:66px;z-index:25}.learn-main [id]{scroll-margin-top:138px}.case-network .case-edge text,.case-network .case-location .case-place{font-size:16px}.case-network .case-location text:not(.case-place){font-size:21px}}
.journey-lesson{margin:30px 0 65px;border-top:1px solid #dce8ee}.search-journey-section{padding:45px 0 12px;max-width:1000px}.search-journey-section>h2{font-size:30px;letter-spacing:-.8px;line-height:1.3;margin:10px 0 22px}.search-journey-section>p{color:#526b7d;line-height:1.85}.search-journey-section .search-journey-section-number{font-size:12px;color:#3e7e9f;font-weight:650;margin:0}.journey-derivation{padding:18px 0;border-bottom:1px solid #e2ebf0}.journey-derivation h3{font-size:17px;margin:0 0 14px}.journey-derivation>p{color:#587181;font-size:14px;line-height:1.8}.journey-derivation .learn-formula{padding:18px 16px;background:#f1f6fa;border-radius:9px}.journey-map-scroll{overflow-x:auto;border:1px solid #e0ebf1;background:linear-gradient(180deg,#f7fbfd,#fff);border-radius:12px}.journey-map{display:block;width:100%;height:auto;min-width:920px;padding:12px 0}.journey-edge line{stroke:#b5ccda;stroke-width:2}.journey-edge path{stroke:#31866a;stroke-width:4;fill:none}.journey-edge rect{fill:#fff;stroke:#e5edf2;stroke-width:1}.journey-edge text{text-anchor:middle;fill:#536f82;font-size:16px;font-weight:600}.journey-edge.blocked line{stroke:#db8f85;stroke-dasharray:7 5}.journey-edge.blocked text{fill:#bd5149}.journey-city circle{fill:#fff;stroke:#9cb6c8;stroke-width:2}.journey-city text{text-anchor:middle}.journey-code{font-size:10px;font-weight:700;fill:#46677e}.journey-place{font-size:15px;font-weight:600;fill:#355b73;paint-order:stroke;stroke:#fff;stroke-width:6px;stroke-linejoin:round}.journey-city.endpoint circle{stroke-width:3}.journey-city.waiting circle{fill:#d7eafa;stroke:#5795bf}.journey-city.visited circle{fill:#dceee5;stroke:#6caa8e}.journey-city.current circle{fill:#fbe5da;stroke:#dd7854;stroke-width:3}.journey-map-note{color:#688294;font-size:12px;line-height:1.8}.journey-inputs{gap:18px}.journey-inputs select{min-width:110px}.journey-frontier{display:grid;grid-template-columns:1fr 1fr;gap:24px}.journey-frontier h3{font-size:16px}.journey-open{max-height:300px;overflow:auto}.journey-closed{color:#4b6b80;line-height:2;overflow-wrap:anywhere}.journey-active-route{color:#2b6a58;font-size:14px;line-height:1.85}.journey-trace-scroll{max-height:440px;overflow:auto}.journey-trace{min-width:900px;font-size:12px}.journey-trace th:first-child{width:55px}.journey-trace td:nth-child(2){width:120px;white-space:nowrap}.journey-trace td:nth-child(3){width:420px}.journey-trace td:nth-child(4){width:260px}.journey-trace thead{position:sticky;top:0;z-index:1;background:#eff5f8}.journey-trace .journey-final{background:#eaf6ef}.journey-details{margin:22px 0}.journey-relaxations{padding-left:20px;color:#4e6c81;line-height:1.9}.journey-tree svg{display:block;width:100%;min-width:720px;height:auto}.journey-tree{margin:25px 0}.journey-tree-nodes rect{fill:#edf5fa;stroke:#acc8d9}.journey-tree-nodes text{text-anchor:middle;fill:#365d76;font-size:16px}.journey-tree figcaption{font-size:13px;color:#658093;line-height:1.8;margin-top:12px}
@media(max-width:800px){.search-journey-section{padding-top:32px}.search-journey-section>h2{font-size:24px}.journey-frontier{grid-template-columns:1fr}.journey-derivation .learn-formula{padding:14px 10px}.journey-derivation math{font-size:24px}.journey-inputs .case-checkbox{font-size:12px}.journey-trace-scroll{max-height:360px}.search-journey-section>p{font-size:14px}.journey-map-scroll{border-radius:8px}}
.search-journey-section>p:not(.search-journey-section-number){margin:0 0 18px}.journey-live-formula{overflow-x:auto;margin:10px 0;max-width:100%}.journey-live-formula math{font-size:22px;text-align:left}.journey-relaxations>li{margin-bottom:16px}

/* Learning workspace: native controls, a measured sticky toolbar, and quiet reading surfaces. */
.learning-body{--ink:#172f43;--learn-toolbar-top:76px;--learn-anchor-offset:205px}
.learn-curriculum{background:#f1f6fa;padding-top:30px}
.learn-rail-heading h2{font-size:19px;line-height:1.4;letter-spacing:-.55px;color:#172f43}
.learn-rail-heading{padding-bottom:19px}.learn-rail-heading p{display:none}
.learn-syllabus-search{position:relative;display:flex;align-items:center;gap:7px;margin:0 8px 22px;padding:10px 9px;background:white;border:1px solid #ccdbe6;border-radius:8px;min-height:44px}
.learn-syllabus-search svg{width:17px;height:17px;flex:none;color:#687f91}.learn-syllabus-search input{border:0;outline:none;min-width:0;width:100%;padding:0;background:transparent;font-size:12px;color:#263e50}.learn-syllabus-search:focus-within{outline:2px solid #397eaa;outline-offset:2px}.learn-syllabus-search input:focus-visible{outline:none}.learn-syllabus-search input::-webkit-search-cancel-button{display:none}.learn-syllabus-search button{display:grid;place-items:center;flex:none;border:0;background:none;cursor:pointer;width:26px;height:26px;padding:4px}
.learn-search-status{font-size:12px;line-height:1.7;color:#516e83;margin:0 12px 18px}.learning-body [hidden]{display:none!important}
.learn-curriculum nav>ol>li{margin-bottom:6px}.learn-curriculum .learn-module-nav>summary>a{font-size:13px;line-height:1.55;padding-top:11px;padding-bottom:11px}
.learn-curriculum .learn-module-nav>summary>a[aria-current=page]{background:#fce7de;color:#9e3d28;border-radius:8px}.learn-curriculum .learn-subnav a[aria-current=location]{background:#e1edf5;color:#205a7e}
.learn-lesson-heading{position:relative}.learn-lesson-heading>p:not(.learn-lead){font-size:12px;line-height:1.6;color:#72879a;margin:0 190px 13px 0;letter-spacing:0}.learn-lesson-heading h1{font-size:clamp(30px,3.1vw,42px);color:#152b3e;letter-spacing:-1.25px;line-height:1.2}.learn-lesson-heading .learn-lead{font-size:16px;line-height:1.7;color:#506b7f;max-width:850px;margin-bottom:26px}
.learn-focus-button{position:absolute;right:0;top:0;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 13px;min-height:42px;border:1px solid #b8cbd9;border-radius:8px;background:white;color:#3b5c73;font-size:12px!important;cursor:pointer}.learn-focus-button svg{width:17px;height:17px}.learn-focus-button[aria-pressed=true]{background:#e7f1f7;color:#205a7e;border-color:#6094b4}
.learn-learning-toolbar{position:sticky;top:var(--learn-toolbar-top);z-index:20;background:#fff;padding-top:10px;padding-bottom:14px;margin:0 0 24px}
.learn-tabs{gap:5px;margin:0 0 13px;overflow-x:auto;border-color:#d9e4ec}.learn-tabs button{display:flex;align-items:center;justify-content:center;gap:9px;padding:12px 20px;border:1px solid #dbe5ed;border-bottom:2px solid transparent;border-radius:7px 7px 0 0;font-size:13px;font-weight:500;min-height:46px;flex:none}.learn-tabs button svg{width:18px;height:18px}.learn-tabs button[aria-selected=true]{background:#fff5ef;border-color:#f2b5a4;border-bottom-color:var(--accent);color:#b9452c}.learn-tabs button:hover{background:#f2f7fa}
.learn-chapter-bar{display:flex;align-items:center;gap:16px;padding:8px 10px 8px 14px;min-height:58px;border:1px solid #dce6ee;border-radius:8px;background:#f3f7fa}.learn-chapter-bar>span{font-size:11px;white-space:nowrap;color:#526e82;padding-right:16px;border-right:1px solid #d7e3ec}.learn-chapter-bar select{min-width:0;flex:1;width:0;border:0;background:transparent;color:#253e52;font-size:12px;line-height:1.5;padding:8px 22px 8px 0;cursor:pointer;text-overflow:ellipsis}.learn-chapter-bar>div{display:flex;gap:7px;flex:none}.learn-chapter-bar button{display:grid;place-items:center;width:39px;height:39px;min-height:39px;background:var(--accent);border:1px solid var(--accent);border-radius:7px;color:white;cursor:pointer}.learn-chapter-bar button:first-child{background:#fff;border-color:#cddde7;color:#42677f}.learn-chapter-bar button:disabled{opacity:.45;cursor:default}.learn-chapter-bar button svg{width:19px;height:19px}.learn-arrow-back{transform:rotate(180deg)}
.learn-main [id]{scroll-margin-top:var(--learn-anchor-offset)}
.learning-focus .learn-layout{grid-template-columns:minmax(0,1fr);max-width:1220px}.learning-focus .learn-curriculum{display:none}.learning-focus .learn-main{max-width:1140px}
.learn-game-visual{background:#f8fbfd;border:1px solid #d6e4ed;border-radius:10px;padding:26px}.learn-game-visual>p{font-size:14px;color:#526f83;line-height:1.8}.learn-game-inputs{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:22px 0}.learn-game-inputs label{font-size:12px;color:#48677e}.learn-game-inputs input{width:100%;min-height:42px;margin-top:7px;border:1px solid #c2d7e5;border-radius:6px;padding:8px;background:white;color:#243f52;font-size:14px}.learn-game-visual svg{display:block;width:100%;height:auto;max-width:740px;margin:20px auto}.learn-game-visual .game-node rect{fill:#eaf2f8;stroke:#afc8d9;stroke-width:1.5}.learn-game-visual .game-node text{font-size:14px;font-family:inherit;fill:#2c526c}.learn-game-visual .game-node.evaluated rect{fill:#ffe3d7;stroke:#d88465}.learn-game-visual .game-node.pruned rect{fill:#f3f5f7;stroke-dasharray:4 4}.learn-game-visual .game-node.pruned text{fill:#7c929f}.learn-game-visual .game-pruned{stroke-dasharray:5 5}
@media(max-width:1100px){.learn-tabs button{padding:12px 15px}.learn-lesson-heading>p:not(.learn-lead){margin-right:160px}}
@media(max-width:800px){
 .learn-main{padding:25px 20px}.learn-curriculum{padding-top:0;background:#f1f6fa}.learn-syllabus-search{margin:2px 20px 14px}.learn-curriculum[open] nav{max-height:55dvh}.learn-focus-button{position:static;float:right;margin:0 0 15px 12px;padding:9px 11px;font-size:11px!important}.learn-lesson-heading>p:not(.learn-lead){margin:0 0 12px;min-height:42px;display:flex;align-items:center;font-size:11px}.learn-lesson-heading>p:not(.learn-lead) span{display:none}.learn-lesson-heading h1{clear:both;font-size:30px;line-height:1.2;letter-spacing:-1px}.learn-lesson-heading .learn-lead{font-size:14px;margin-bottom:16px}.learn-learning-toolbar{padding-top:8px;padding-bottom:10px;margin-bottom:22px}.learn-tabs{gap:4px;margin-bottom:9px}.learn-tabs button{gap:6px;padding:10px 11px;font-size:11px;min-height:43px;flex:1}.learn-tabs button svg{width:15px;height:15px}.learn-chapter-bar{gap:7px;padding:6px 7px;min-height:50px}.learn-chapter-bar>span{font-size:9px;max-width:47px;line-height:1.5;white-space:normal;padding-right:6px}.learn-chapter-bar select{font-size:11px;padding-right:12px}.learn-chapter-bar>div{gap:4px}.learn-chapter-bar button{width:33px;height:35px;min-height:35px}.learn-main [id]{scroll-margin-top:var(--learn-anchor-offset)}.learn-game-visual{padding:18px}.learn-game-inputs{grid-template-columns:repeat(2,1fr);gap:12px}.learn-game-visual .learn-demo-controls{gap:9px}.learn-game-visual .learn-demo-controls button{min-height:42px}.learn-game-visual svg{min-width:340px}.learn-game-visual [data-game-tree]{overflow:auto}.learn-game-visual .game-node text{font-size:16px}
}
@media(prefers-reduced-motion:no-preference){.learn-tabs button,.learn-focus-button,.learn-chapter-bar button{transition:background-color .15s,border-color .15s}}

/* Keep the real directed graph and its frontier together in the first experiment. */
.search-workshop{background:#fff;border:1px solid #d6e4ed;border-radius:10px;padding:24px;margin:0 0 38px}.search-workshop>header>p:first-child{display:none}.search-workshop>header h2{font-size:23px;margin:0 0 10px}.search-workshop>header>p:last-child{font-size:13px;line-height:1.8;margin-bottom:18px}.search-interaction-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:14px 24px}.search-interaction-controls .search-toolbar{margin:0;gap:15px}.search-interaction-controls .search-controls{margin:0;flex:1;min-width:300px}.search-workshop .search-rule{margin:14px 0;color:#536f82}.search-workshop .search-graph-scroll svg{max-width:680px;margin:auto;display:block;height:auto}.search-result-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:start;gap:24px}.search-graph-column{min-width:0}.search-result-grid .search-lists{display:flex;flex-direction:column;gap:15px;margin:0;background:#f5f9fc;padding:16px;border:1px solid #e0eaf0;border-radius:8px}.search-result-grid .search-event{grid-column:1/-1;grid-row:2;margin:0}.search-workshop .learn-reference{margin:20px 0 15px}.search-workshop .search-demo-note{margin-bottom:0}.search-result-grid .search-legend{font-size:10px;margin-bottom:0}.search-workshop .search-controls button[data-search=next]{background:var(--accent);color:#fff;border-color:var(--accent)}
@media(max-width:1100px){.search-result-grid{grid-template-columns:minmax(0,1fr)}.search-result-grid .search-lists{display:grid;grid-template-columns:1fr 1fr}.search-result-grid .search-event{grid-row:auto}.search-workshop>header h2{font-size:21px}}
@media(max-width:800px){.search-workshop{padding:18px 14px;margin-top:0}.search-result-grid .search-lists{grid-template-columns:1fr;gap:17px}.search-interaction-controls .search-controls{min-width:0;flex-basis:100%;gap:7px}.search-workshop .search-controls button{font-size:11px;padding:10px 11px}.search-interaction-controls .search-controls span{flex-basis:100%}.search-workshop>header h2{font-size:21px}.search-workshop .search-graph-scroll svg{min-width:540px}.search-result-grid{gap:17px}}

/* Older lesson-specific IDs must not override the measured sticky offset. */
.learning-body .learn-main [id]{scroll-margin-top:var(--learn-anchor-offset)!important}

@media(min-width:801px){.learn-curriculum .learn-subnav a{font-size:12px}.learn-nav-group>summary{font-size:12px}}
/* Heuristic workshop: shared learning palette, precise vector graph, and honest code runtimes. */
.hc-experience,.hlab,.heuristic-pseudocode{color:#29495f;min-width:0}.hc-experience h2,.hlab h2,.heuristic-pseudocode h2{font-size:25px;line-height:1.35;letter-spacing:-.6px;margin:0 0 12px}.hc-experience p,.hlab p,.heuristic-pseudocode p{font-size:14px;line-height:1.85;color:#567184}.hc-experience h3,.hlab h3,.heuristic-pseudocode h3{font-size:18px;line-height:1.5;margin:0 0 15px}.hc-experience button,.hlab button{font-family:inherit;font-size:12px;line-height:1.4;min-height:40px;padding:9px 13px;border:1px solid #c8dbe8;border-radius:7px;background:white;color:#365c75;cursor:pointer}.hc-experience button:hover,.hlab button:hover{background:#eef5fa}.hc-experience button:disabled,.hlab button:disabled{opacity:.45;cursor:default}.hc-experience input,.hc-experience select,.hlab select{font-family:inherit;font-size:13px;color:#294c65;border:1px solid #c9dce8;border-radius:7px;padding:10px;min-height:41px;background:white;min-width:0;max-width:100%}.hc-experience label,.hlab-settings label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#506e83}.hc-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.hc-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:18px;align-items:start}.hc-board-column{min-width:0}.hc-tools{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.hc-tools button[aria-pressed=true]{background:#fff0e8;border-color:#eaa488;color:#ac4d33}.hc-tools .hc-zoom-label{flex-direction:row;align-items:center;margin-left:auto;font-size:11px;gap:5px}.hc-zoom-label select{min-height:37px;font-size:11px;padding:8px}.hc-instruction{font-size:12px!important;margin:13px 0}.hc-board-scroll{max-height:560px;overflow:auto;border:1px solid #cbdce8;border-radius:10px;background:#fafcfe;overscroll-behavior:contain}.hc-board{display:block;width:100%;height:auto;min-width:550px;touch-action:pan-x pan-y;user-select:none}.hc-node{cursor:grab;touch-action:none}.hc-node circle{fill:#fff;stroke:#9ab7cc;stroke-width:2}.hc-node text{font-size:16px;font-family:inherit;fill:#284b64;pointer-events:none}.hc-node .hc-node-label{font-size:12px;fill:#526d80}.hc-node .hc-node-h{font-size:12px;fill:#7c637f;paint-order:stroke;stroke:#fafcfe;stroke-width:4px;stroke-linejoin:round}.hc-node .hc-node-role{font-size:10px;fill:#83949f}.hc-node.selected circle,.hc-node.linking circle{stroke:#d77554;stroke-width:3}.hc-node.waiting circle{fill:#d5eefe;stroke:#6ba2c4}.hc-node.current circle{fill:#ffd7c7;stroke:#d57756}.hc-node.closed circle,.hc-node.solution circle{fill:#d8eee3;stroke:#65a78c}.hc-node:focus-visible circle{stroke:#205d89;stroke-width:4}.hc-edge{cursor:pointer}.hc-edge>path{fill:none;stroke:#748e9e;stroke-width:2}.hc-edge rect{fill:#fff;stroke:#d8e4ed}.hc-edge text{fill:#48667c;font-family:inherit;font-size:12px;pointer-events:none}.hc-edge.solution>path{stroke:#31866a;stroke-width:3}.hc-edge:focus-visible>path{stroke:#ce6746;stroke-width:4}.hc-legend{display:flex;flex-wrap:wrap;gap:8px 15px;font-size:10px;color:#738995;margin:14px 0}.hc-legend .waiting{color:#397ca7}.hc-legend .current{color:#b36344}.hc-legend .closed,.hc-legend .solution{color:#35856a}.hc-state-note{font-size:11px!important}.hc-inspector{border:1px solid #d8e4ed;border-radius:9px;background:#f4f8fb;padding:17px}.hc-inspector section+section{margin-top:24px;padding-top:20px;border-top:1px solid #d6e4ed}.hc-inspector h3{font-size:15px;margin-bottom:14px}.hc-inspector form{display:grid;gap:12px}.hc-inspector input,.hc-inspector select{width:100%;font-size:12px;min-height:38px;padding:8px}.hc-inspector input[readonly]{background:#eaf1f6}.hc-coordinate-inputs{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hc-form-actions{display:flex;flex-wrap:wrap;gap:7px}.hc-inspector button{font-size:11px;padding:8px 10px}.hc-inspector .hc-checkbox{display:flex;flex-direction:row;align-items:start;font-size:11px;gap:8px;line-height:1.6}.hc-checkbox input{width:16px;min-height:16px;margin-top:1px;accent-color:var(--accent)}.hc-small{font-size:11px!important;line-height:1.8!important}.hc-file-tools{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:21px 0 12px}.hc-file-tools>span{font-size:11px;color:#7890a1;margin:0 0 11px auto}.hc-file-tools>label:not(.hc-import-button){max-width:260px}.hc-file-tools .hc-import-button{position:relative;display:inline-flex;justify-content:center;border:1px solid #c8dbe8;border-radius:7px;background:white;min-height:40px;padding:9px 13px;cursor:pointer;font-size:12px}.hc-import-button input{position:absolute;opacity:0;width:100%;height:100%;inset:0;cursor:pointer}.hc-import-button:focus-within{outline:2px solid #397eaa;outline-offset:2px}.hc-feedback{min-height:22px;font-size:12px!important;color:#3c7764!important}.hc-feedback.error{color:#a24934!important}.hc-trace,.hc-analysis,.hc-code-section{margin-top:42px;padding-top:27px;border-top:1px solid #dce7ef}.hc-solve-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0}.hc-solve-actions .hc-primary,.hlab [data-hlab-action=run]{background:var(--accent);border-color:var(--accent);color:#fff}.hc-solve-actions>p{flex-basis:100%;font-size:12px}.hc-playback-controls{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:14px;background:#f1f7fb;border:1px solid #dbe7ef;border-radius:8px}.hc-playback-controls>label{flex-direction:row;flex:1;align-items:center;min-width:180px;gap:8px}.hc-playback-controls input{padding:0;min-height:20px;width:100%;border:none;accent-color:var(--accent)}.hc-playback-controls output{font-size:12px;color:#416985}.hc-current-event{background:#eaf3f9;border-left:3px solid #6499bd;padding:15px}.hc-frontiers{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:26px 0}.hc-frontiers h3{font-size:15px}.hc-frontiers .learn-table th,.hc-frontiers .learn-table td{font-size:12px;padding:9px 12px}.hc-frontiers p{font-size:12px}.hc-active-math,.hc-audit,.hc-complete-trace>details{padding:16px;border:1px solid #dce7ef;border-radius:8px;background:#fff;margin:14px 0}.hc-experience summary{display:flex;align-items:center;justify-content:space-between;list-style:none;font-size:13px;font-weight:650;line-height:1.6;gap:12px;cursor:pointer}.hc-experience summary::-webkit-details-marker{display:none}.hc-experience summary svg{width:17px;height:17px;flex:none}.hc-experience details[open]>summary svg{transform:rotate(180deg)}.hc-experience details[open]>summary{margin-bottom:16px}.hc-relaxations{border-left:2px solid #d1e4ef;padding-left:20px;margin:20px 0}.hc-relaxations section{margin:20px 0}.hc-relaxations h4{font-size:14px;font-weight:650;margin:0 0 10px}.hc-experience .learn-formula{margin:14px 0;padding:15px;background:#f3f8fc;border:1px solid #dce8f0;overflow:auto;max-width:100%}.hc-experience .learn-formula math{font-size:19px;display:block;min-width:max-content}.hc-audit .learn-table{min-width:420px}.hc-audit li{font-size:13px;line-height:1.9}.hc-summary{margin:28px 0;background:#eff8f3;border:1px solid #d4e8de;padding:23px;border-radius:9px}.hc-summary .hc-solution-path{font-size:20px;color:#2a735b;font-weight:650;overflow-wrap:anywhere}.hc-complete-trace h3{font-size:20px;margin-top:30px}.hc-code-section>label{max-width:240px;margin:20px 0}.hc-code-comparison{display:grid;grid-template-columns:1fr 1fr;gap:18px}.hc-source-code{min-width:0;border:1px solid #d7e4ed;padding:18px;border-radius:8px;background:#f5f9fc}.hc-source-code pre,.hlab pre,.heuristic-pseudocode code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.8;text-transform:none;letter-spacing:0}.hc-source-code pre{max-height:560px;overflow:auto;background:#fff;padding:16px;border:1px solid #dbe7ef;border-radius:7px;white-space:pre;tab-size:4}.hc-code-section .learn-button{font-size:12px}.heuristic-pseudocode{margin:24px 0 45px}.heuristic-pseudocode>section{border-top:1px solid #d9e6ee;padding-top:28px;margin-top:30px}.heuristic-pseudocode-lines{background:#f3f8fc;border:1px solid #dbe7ef;border-radius:9px;padding:18px 15px 18px 43px;overflow:auto}.heuristic-pseudocode-lines li{white-space:pre;font-size:12px;line-height:2.05;padding-left:10px}.heuristic-pseudocode-lines li::marker{color:#8aa3b5}.heuristic-pseudocode dl>div{margin:19px 0}.heuristic-pseudocode dt{font-size:14px;font-weight:650}.heuristic-pseudocode dd{margin:5px 0 0;font-size:14px;line-height:1.85;color:#597488}.hlab-settings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0}.hlab-method{font-size:12px!important;background:#eff5fa;border-left:3px solid #80a7c1;padding:14px}.hlab-workspace{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:20px;margin-top:24px}.hlab-workspace>div,.hlab-output{min-width:0}.hlab-editor{width:100%;min-height:530px;resize:vertical;padding:20px;border:1px solid #c9dce9;border-radius:0 0 7px 7px;background:#f8fbfe;color:#244961;font:12px/1.85 ui-monospace,SFMono-Regular,Consolas,monospace!important;tab-size:4;white-space:pre;overflow:auto}.hlab-actions{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.hlab-output{border:1px solid #dce7ef;border-radius:9px;padding:20px;background:#f5f9fc}.hlab-output pre{max-height:650px;min-height:180px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:#345c76}.hlab-output h3{font-size:16px}.hlab-output h4{font-size:14px}.hlab-output p{font-size:12px}.hlab .learn-reference pre{max-height:550px;overflow:auto;background:#f6f9fc;padding:20px}.hlab select:disabled{background:#f0f4f7;color:#8fa2b0}
@media(max-width:1150px){.hc-editor-layout{grid-template-columns:minmax(0,1fr)}.hc-inspector{display:grid;grid-template-columns:1fr 1fr;gap:22px}.hc-inspector section+section{margin:0;padding:0;border-top:none}.hlab-workspace{grid-template-columns:minmax(0,1fr)}.hlab-output pre{min-height:120px}.hc-board{min-width:650px}}
@media(max-width:800px){.hc-experience h2,.hlab h2,.heuristic-pseudocode h2{font-size:22px}.hc-experience p,.hlab p,.heuristic-pseudocode p{font-size:13px}.hc-settings{gap:10px;grid-template-columns:1fr 1fr}.hc-settings>label:first-child{grid-column:1/-1}.hc-inspector{grid-template-columns:minmax(0,1fr);padding:17px}.hc-inspector section+section{padding-top:20px;border-top:1px solid #d6e4ed}.hc-code-comparison,.hc-frontiers{grid-template-columns:minmax(0,1fr)}.hc-board-scroll{max-height:450px}.hc-file-tools>span{margin:0;flex-basis:100%}.hlab-settings{grid-template-columns:1fr 1fr;gap:12px}.hlab-editor{min-height:420px;padding:15px;font-size:11px!important}.hc-experience button,.hlab button{font-size:11px;padding:10px 11px;min-height:42px}.hc-playback-controls>label{flex-basis:100%}.hc-summary{padding:17px}.hc-relaxations{padding-left:13px}.hc-experience .learn-formula math{font-size:18px}.hc-tools{gap:6px}.hc-tools .hc-zoom-label{margin-left:0}.learning-body:has([data-tab=canvas]) .learn-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible;gap:4px}.learning-body:has([data-tab=canvas]) .learn-tabs button{padding:9px 5px;font-size:11px;white-space:normal;min-width:0;line-height:1.5}.learning-body:has([data-tab=canvas]) .learn-tabs button svg{display:none}.heuristic-pseudocode-lines{padding-left:33px}.hc-audit .learn-table{min-width:340px}}
@media(max-width:380px){.learning-body:has([data-tab=canvas]) .learn-tabs button{font-size:10px}}
.hc-settings{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr) auto;align-items:end}.hc-run-trigger .hc-primary{background:var(--accent);color:#fff;border-color:var(--accent);min-height:41px}.hc-result-badge{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#eef8f3;border:1px solid #d2e8dd;border-radius:8px;padding:13px 16px;margin:14px 0 20px}.hc-result-badge strong{font-size:13px;font-weight:650;color:#317258}.hc-result-badge a{font-size:12px;color:#3f728f}.hc-result-badge button{margin-left:auto}
@media(max-width:800px){.hc-settings{grid-template-columns:1fr 1fr}.hc-settings>label:first-child,.hc-run-trigger{grid-column:1/-1}.hc-run-trigger button{width:100%}.hc-result-badge strong{font-size:12px;flex-basis:100%}.hc-result-badge button{margin-left:0}}
.hc-text-import{margin:20px 0;border:1px solid #d6e4ed;border-radius:8px;padding:15px;background:#f7fafc}.hc-text-import textarea{font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;width:100%;padding:13px;background:white;border:1px solid #ccdfe9;border-radius:6px;resize:vertical;margin:5px 0 14px}.learn-artifact-dialog{width:min(860px,calc(100vw - 32px));max-height:90dvh;padding:26px;border:1px solid #cbdce8;border-radius:12px;color:#29495f;background:white;box-shadow:0 24px 80px #102a4130}.learn-artifact-dialog::backdrop{background:#19334b66}.learn-artifact-dialog h2{font-size:22px;line-height:1.4;margin:0 0 12px}.learn-artifact-dialog p{font-size:13px;line-height:1.8;color:#59778c}.learn-artifact-dialog label{font-size:12px;font-weight:650}.learn-artifact-dialog textarea{display:block;width:100%;height:42dvh;min-height:180px;margin:12px 0 18px;border:1px solid #c9dce8;border-radius:7px;background:#f7fbfe;padding:17px;font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;resize:vertical;tab-size:4}.learn-artifact-dialog>div{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.learn-artifact-dialog button{font-family:inherit;font-size:12px;line-height:1.5;min-height:41px;border:1px solid #c9dce8;border-radius:7px;padding:9px 14px;background:white;color:#365d78;cursor:pointer}.learn-artifact-dialog .learn-button{font-size:12px}.learn-artifact-dialog button:last-child{margin-left:auto}
@media(max-width:800px){.learn-artifact-dialog{padding:20px}.learn-artifact-dialog h2{font-size:19px}.learn-artifact-dialog textarea{font-size:11px;padding:13px}}

/* Drawing comes before solving; the empty state is part of the graph editor. */
.hc-drawing-guide{display:flex;flex-wrap:wrap;gap:12px 24px;list-style:none;padding:0;margin:20px 0 25px;color:#42667f;font-size:12px}.hc-drawing-guide li{display:flex;align-items:center;gap:8px}.hc-drawing-guide span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e8f2f8;color:#426c88;font-weight:650}.hc-depth-setting{display:flex;flex-direction:column;gap:7px;max-width:400px;margin:0 0 24px;font-size:12px;color:#506e83}.hc-depth-setting input{max-width:130px}.hc-depth-setting span{font-size:11px;line-height:1.7}.hc-empty-board text{font-family:inherit;fill:#426f8a;font-size:21px}.hc-empty-board text+text{fill:#7491a5;font-size:15px}.hc-tools .hc-line-label{flex-direction:row;align-items:center;font-size:11px;gap:6px}.hc-line-label select{font-size:11px;min-height:37px;padding:8px}.hc-inspector [hidden],.hc-depth-setting[hidden]{display:none!important}.hc-inspector [data-hc-empty-node]{font-size:12px}.hc-depth-setting input{font-family:inherit;font-size:13px;color:#294c65;border:1px solid #c9dce8;border-radius:7px;padding:10px;min-height:41px;background:white}.hc-depth-setting input:disabled{background:#edf3f7;color:#8399a8}.hc-board-scroll:has(.hc-empty-board){min-height:280px}

.hc-board[data-tool=add],.hc-board[data-tool=link]{cursor:crosshair}.hc-board[data-tool=link] .hc-node{cursor:pointer}.hc-board[data-tool=move] .hc-node{cursor:grab}.hc-board[data-tool=move] .hc-node:active{cursor:grabbing}

/* Heuristic teaching cases: precision graphics and local scroll containers. */
.heuristic-orientation{margin:0 0 32px;padding:26px;background:linear-gradient(115deg,#edf6fa,#f2faf6);border:1px solid #dce9ee;border-radius:18px}.heuristic-orientation>p,.heuristic-case header>p:first-child{font-size:12px;color:#467487;margin:0 0 10px}.heuristic-orientation h2,.heuristic-case h2{font-size:clamp(23px,2vw,30px);line-height:1.3;letter-spacing:-.6px;margin:0 0 18px}.heuristic-orientation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.heuristic-orientation-grid span{font-size:12px;color:#6b8999}.heuristic-orientation-grid h3{font-size:15px;margin:8px 0}.heuristic-orientation-grid p{font-size:13px;line-height:1.7;margin:0;color:#547083}.heuristic-case{margin:28px 0 48px;padding:26px;border:1px solid #d6e4ec;border-radius:16px;background:#fbfdfe;min-width:0}.heuristic-case header p{line-height:1.85;color:#526e80}.heuristic-case label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}.heuristic-case select{font:inherit;min-height:43px;border:1px solid #c9dce7;border-radius:8px;padding:9px 12px;background:white;color:#284e63;max-width:100%}.heuristic-case .search-controls{margin:20px 0;flex-wrap:wrap}.heuristic-case .learn-table{font-size:12px}.heuristic-case [data-hx-report]{padding:16px;background:#eef5f8;border-radius:10px;font-size:13px;line-height:1.85;margin:18px 0}.heuristic-case-inputs{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:22px 0}.heuristic-case-inputs .case-checkbox{flex-direction:row;align-items:center;min-height:43px}.heuristic-case-inputs input[type=checkbox]{width:17px;height:17px;accent-color:#317c96}.heuristic-terrain-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;align-items:center}.heuristic-terrain-map{display:block;width:100%;height:auto;max-width:520px;margin:auto;font-family:inherit}.heuristic-terrain-map text{font-size:15px;fill:#254838}.heuristic-terrain-map .hx-axis{font-size:9px;fill:#688394}.heuristic-terrain-map .hx-endpoint{font-size:12px;font-weight:700;fill:#1e526c}.heuristic-telemetry{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.heuristic-telemetry dt{font-size:11px;color:#6b8596}.heuristic-telemetry dd{margin:5px 0 0;font-size:23px;font-weight:600;color:#285d73}.heuristic-case [data-hx-terrain-report]>p{font-size:13px;line-height:1.8}.heuristic-sums{display:grid;gap:12px}.heuristic-sums .learn-formula{max-width:100%;overflow:auto;font-size:19px}.heuristic-terrain-code{margin-top:35px;border-top:1px solid #d9e6ed;padding-top:30px}.heuristic-case .journey-map-scroll,.heuristic-case .learn-table-scroll{max-width:100%;min-width:0}.heuristic-case .journey-map{min-width:1000px}.heuristic-case [data-hx-frontier]{margin:20px 0}.heuristic-case [data-hx-changes],.heuristic-case [data-hx-terrain-math]{margin:20px 0}.heuristic-case .search-board-wrap{min-width:0}
@media(max-width:800px){.heuristic-orientation,.heuristic-case{padding:20px}.heuristic-orientation-grid{gap:14px}.heuristic-terrain-layout{grid-template-columns:1fr}.heuristic-case-inputs{align-items:stretch}.heuristic-case-inputs>label{flex:1 1 200px}.heuristic-case .learn-formula{font-size:17px}.heuristic-terrain-layout [data-hx-terrain-report]{padding:15px;background:#f0f6f8;border-radius:10px}.heuristic-telemetry{gap:12px}.heuristic-case .search-puzzle-boards{gap:18px}}
@media(max-width:520px){.heuristic-orientation,.heuristic-case{padding:17px;border-radius:12px}.heuristic-orientation-grid{grid-template-columns:1fr;gap:17px}.heuristic-orientation-grid>div{padding-left:31px;position:relative}.heuristic-orientation-grid span{position:absolute;left:0;top:9px}.heuristic-case .search-controls .learn-button{font-size:11px;padding:10px 12px}.heuristic-case .search-board{width:135px}.heuristic-case h2{font-size:23px}.heuristic-case .search-puzzle-boards{justify-content:space-between;gap:10px;flex-wrap:wrap}.heuristic-case [data-hx-report]{padding:12px}.heuristic-sums .learn-formula{font-size:16px}}

.hc-area-settings{display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:12px 0 16px;border-top:1px solid #e2ecf2}.hc-area-settings label{display:grid;gap:6px;font-size:11px;color:#527085}.hc-area-settings input{width:112px;border:1px solid #c9dbe5;padding:9px;border-radius:7px;background:white;color:#294d64}.hc-area-settings button{min-height:39px;background:white;border:1px solid #cfdee8;border-radius:7px;padding:9px 12px;color:#31586d;font-size:11px;cursor:pointer}.hc-area-settings output{font-size:11px;margin-left:auto;color:#688495}.hc-experience .hc-board{min-width:0;max-width:none;flex:none}.hc-experience .hc-board-scroll{height:420px;max-height:none;min-height:0}.hc-board[data-tool=pan]{cursor:grab;touch-action:none}.hc-board[data-tool=pan]:active{cursor:grabbing}.hc-expanded-body{overflow:hidden}.hc-workspace.hc-expanded{position:fixed;inset:12px;z-index:110;background:#fff;overflow:auto;margin:0;padding:24px;border:1px solid #c9dce8;border-radius:15px;box-shadow:0 0 0 20px #24455a66}.hc-workspace.hc-expanded .hc-editor-layout{grid-template-columns:minmax(0,1fr) 240px}.hc-workspace.hc-expanded .hc-board-scroll{height:max(400px,calc(100dvh - 330px))}.hc-expanded .hc-tools{position:sticky;top:0;z-index:3;background:#fff;padding:10px 0}.hc-expanded [data-hc-action=expand]{background:#294d64;color:white;border-color:#294d64}
@media(max-width:800px){.hc-workspace.hc-expanded{inset:0;border-radius:0;padding:16px}.hc-workspace.hc-expanded .hc-editor-layout{grid-template-columns:minmax(0,1fr)}.hc-workspace.hc-expanded .hc-board-scroll{height:60dvh;min-height:350px}.hc-area-settings output{width:100%;margin:0}.hc-area-settings input{width:102px}}

.search-graph-scroll .search-source-graph{min-width:580px;max-width:740px;height:auto;margin:auto}.search-source-graph .search-h{fill:#bf4432;font-size:17px;font-weight:600}.search-source-graph .search-edge path{stroke:#344e5d}.search-source-graph .search-node circle{stroke:#344e5d;stroke-width:2}.heuristic-case .search-board{gap:0;padding:0;border:2px solid #263c48;border-radius:0;background:#263c48;width:180px}.heuristic-case .search-board>span{border:1px solid #263c48;border-radius:0;font-size:29px;font-weight:500;color:#1b323e}.heuristic-case .search-board>.blank{background:#1b323e;color:transparent}.heuristic-case .journey-map.journey-source-map{min-width:580px;width:100%;max-width:820px;height:auto;margin:auto;display:block}.journey-heuristic{fill:#bc4433;font-size:15px;text-anchor:middle;font-weight:600}.hx-heightmap-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);gap:26px;align-items:center}.hx-heightmap-layout figure{margin:0;min-width:0}.hx-heightmap-layout canvas{display:block;width:100%;height:auto;max-width:640px;aspect-ratio:1;border-radius:4px;background:#10161b;image-rendering:auto}.hx-heightmap-layout figcaption{font-size:11px;line-height:1.8;color:#526d7e;margin-top:12px}.hx-map-playback{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:22px 0}.hx-map-playback button{border:1px solid #cadce7;background:white;color:#30566c;border-radius:7px;font:inherit;font-size:11px;padding:10px;cursor:pointer}.hx-map-playback button:disabled{opacity:.45;cursor:default}.hx-map-playback label{flex:1 1 180px;font-size:11px}.hx-map-playback input{width:100%;accent-color:#bd6952}.hx-map-playback output{font-size:11px;color:#607f91}.hx-heightmap-layout .heuristic-telemetry dd{font-size:21px}.hx-heightmap-layout aside>p{font-size:12px}.heuristic-case [data-map-comparison]{margin-top:25px}
@media(max-width:1000px){.hx-heightmap-layout{grid-template-columns:1fr}.hx-heightmap-layout canvas{margin:auto}.hx-heightmap-layout aside{padding:18px;background:#f1f6f8;border-radius:10px}.hx-heightmap-layout .heuristic-telemetry{grid-template-columns:repeat(4,minmax(0,1fr))}.hx-heightmap-layout .heuristic-telemetry dd{font-size:17px}}
@media(max-width:520px){.heuristic-case .search-board{width:145px}.heuristic-case .search-board>span{font-size:25px}.hx-heightmap-layout .heuristic-telemetry{grid-template-columns:1fr 1fr}.hx-heightmap-layout{gap:18px}.hx-heightmap-layout .heuristic-telemetry dd{font-size:20px}.hx-map-playback label{flex-basis:100%}}
.hc-expanded>header p,.hc-expanded>.hc-drawing-guide{display:none}.hc-expanded>header h2{margin:0 0 12px}.hc-workspace.hc-expanded .hc-board-scroll{height:max(350px,calc(100dvh - 450px))}
.search-board{gap:0;padding:0;border:2px solid #263c48;border-radius:0;background:#263c48}.search-board>span{border:1px solid #263c48;border-radius:0;color:#1b323e}.search-board .blank{background:#1b323e;color:transparent}

/* A* map: original schematic roads, numerical trace, and paced playback. */
.astar-route{margin:0 0 40px;padding:26px;background:#fff;border:1px solid #d4e1e8;border-radius:16px;color:#29495e;min-width:0}
.ar-heading{display:flex;align-items:start;gap:20px;margin-bottom:23px}.ar-heading>div{flex:1;min-width:0}.ar-heading p:first-child{font-size:12px;color:#a9583d;margin:0 0 10px}.ar-heading h2{font-size:27px;line-height:1.35;letter-spacing:-.7px;margin:0 0 12px}.ar-heading p:last-child{font-size:13px;line-height:1.85;margin:0;color:#627d8b}.ar-badge{font-size:10px;padding:8px 11px;background:#f1f6ee;border:1px solid #dfe8d8;border-radius:20px;white-space:nowrap;color:#607852}
.ar-settings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.astar-route label{font-size:11px;display:flex;flex-direction:column;gap:7px;color:#5c7789}.astar-route select{min-width:0;width:100%;font:inherit;font-size:12px;min-height:42px;border:1px solid #c9dce7;border-radius:7px;padding:8px;background:white;color:#31556b}.astar-route button{font:inherit;font-size:11px;min-height:38px;padding:8px 11px;border:1px solid #cddde5;border-radius:7px;background:white;color:#335c73;cursor:pointer}.astar-route button:hover{background:#edf4f7}.astar-route button:disabled{opacity:.45;cursor:default}.astar-route button:focus-visible,.astar-route select:focus-visible,.astar-route input:focus-visible{outline:3px solid #4b93bd;outline-offset:3px}
.ar-map-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px}.ar-map-tools>span{font-size:11px;margin-right:4px;color:#678090}.ar-map-tools button[aria-pressed=true]{color:#a95437;background:#fff1e9;border-color:#e1a58e}.ar-map-tools label{margin-left:auto;flex-direction:row;align-items:center;gap:6px}.ar-map-tools input{accent-color:#31769e}
.ar-stage{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(260px,1fr);gap:22px;align-items:start}.ar-map-column{min-width:0}.ar-map{border:1px solid #dce5d8;border-radius:12px;overflow:auto;max-width:100%;overscroll-behavior:contain}.ar-map-svg{display:block;width:100%;min-width:640px;height:auto;font-family:inherit}.ar-map-svg[data-tool=road] .ar-road{cursor:pointer}.ar-node{cursor:pointer;outline:none}.ar-node-circle{fill:white;stroke:#869db0;stroke-width:2}.ar-node-id{font-size:13px;font-weight:700;fill:#34566c;pointer-events:none}.ar-place{font-size:10px;fill:#65746c;paint-order:stroke;stroke:#f4f6ef;stroke-width:4;stroke-linejoin:round;pointer-events:none}.ar-node-h{font-size:10px;fill:#3d6a87;paint-order:stroke;stroke:#f4f6ef;stroke-width:4;pointer-events:none}.ar-node.endpoint .ar-node-circle{fill:#284f6d;stroke:white;stroke-width:3}.ar-node.endpoint .ar-node-id{fill:white}.ar-node.open .ar-node-circle{fill:#d4eafb;stroke:#3f91c0}.ar-node.current .ar-node-circle{fill:#fcbd90;stroke:#cf7650;stroke-width:3}.ar-node.closed .ar-node-circle{fill:#d1e6d5;stroke:#588e71}.ar-node.solution .ar-node-circle{fill:#377ba9;stroke:#fff;stroke-width:3}.ar-node.solution .ar-node-id{fill:white}.ar-node.inspected .ar-node-circle,.ar-node:focus-visible .ar-node-circle{stroke:#b34e32;stroke-width:4}.ar-node-pulse{fill:#ef9b7333;stroke:#d47b5555;stroke-width:2;pointer-events:none}
.ar-road-base{fill:none;stroke:#d6ded3;stroke-width:18;stroke-linecap:round}.ar-road-line{fill:none;stroke:#fff;stroke-width:12;stroke-linecap:round}.ar-road-hit{fill:none;stroke:transparent;stroke-width:26;pointer-events:stroke}.ar-road rect{fill:#fff;stroke:#d4dfd2;stroke-width:.8}.ar-road text{font-size:10px;fill:#59705d;pointer-events:none}.ar-road.discovered .ar-road-line{stroke:#abcde5;stroke-width:6}.ar-road.examining .ar-road-line{stroke:#ed9d70;stroke-width:7}.ar-road.solution .ar-road-line{stroke:#347bae;stroke-width:8}.ar-road.blocked .ar-road-line{stroke:#bd6f68;stroke-width:5;stroke-dasharray:7 7}.ar-road.blocked text{fill:#a44e47;font-weight:bold;font-size:14px}.ar-road:focus-visible .ar-road-base{stroke:#e2a183;stroke-width:22}.ar-edge-pulse{fill:#e68053;stroke:white;stroke-width:2;pointer-events:none}.ar-heuristic-line{fill:none;stroke:#628bae;stroke-width:1.8;stroke-dasharray:6 6;pointer-events:none}.ar-hint-label{font-size:11px;fill:#2b6087;paint-order:stroke;stroke:#f4f6ef;stroke-width:5;pointer-events:none}
.ar-legend{display:flex;gap:8px 15px;flex-wrap:wrap;font-size:10px;color:#6d8290;margin:14px 0 8px}.ar-legend span:before{content:'';display:inline-block;vertical-align:middle;width:8px;height:8px;border-radius:50%;margin-right:5px;background:#86b9d9}.ar-legend .ar-current-dot:before{background:#df936b}.ar-legend .ar-closed-dot:before{background:#85b294}.ar-legend .ar-path-dot:before{background:#357eaf}.ar-legend .ar-blocked-dot:before{background:#bd6f68}.ar-map-note{font-size:10px!important;line-height:1.8;color:#789080!important;margin:8px 0!important}
.ar-explanation{border-left:3px solid #df9277;padding:2px 0 0 17px;min-width:0}.ar-phase{font-size:10px!important;color:#aa6048!important;margin:0 0 10px!important}.ar-explanation h3{font-size:19px;line-height:1.4;margin:0 0 12px}.ar-explanation>p{font-size:12px;line-height:1.85;color:#5e7a8d;margin:0 0 14px}.ar-formula{background:#f2f7fa;padding:12px 8px;border-radius:8px;overflow:auto;font-size:16px;max-width:100%;margin:16px 0}.ar-stats{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.ar-stats dt{font-size:10px;color:#718a99}.ar-stats dd{margin:3px 0;font-size:19px;font-weight:600;color:#345f79}.ar-inspector{border-top:1px solid #dfebef;padding-top:14px}.ar-inspector h4{font-size:12px;margin:0 0 7px}.ar-inspector p{font-size:10px;line-height:1.85;margin:5px 0;color:#69818f}
.ar-playback{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:23px;padding-top:18px;border-top:1px solid #e1eaf0}.ar-playback button{display:flex;align-items:center;justify-content:center;gap:7px}.ar-playback svg{width:15px;height:15px;flex:none}.ar-playback .ar-play{background:#305d78;border-color:#305d78;color:white;min-width:146px}.ar-playback .ar-play:hover{background:#244c66}.ar-left{transform:rotate(90deg)}.ar-right{transform:rotate(-90deg)}.ar-playback label{margin-left:auto;flex-direction:row;align-items:center;gap:7px}.ar-playback select{width:88px;min-height:38px}
.ar-timeline{display:flex;gap:14px;align-items:center;margin:18px 0}.ar-timeline label{flex:1}.ar-timeline input{width:100%;accent-color:#b9674d;cursor:pointer}.ar-timeline output{font-size:11px;white-space:nowrap;color:#668193}.ar-phases{display:flex;flex-wrap:wrap;gap:7px;padding:0;margin:20px 0 27px;list-style:none}.ar-phases li{display:flex;align-items:center;gap:7px;font-size:10px;padding:7px 10px;border-radius:6px;background:#f2f6f8;color:#7c909d}.ar-phases span{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:white;font-size:9px}.ar-phases li.active{background:#fce8dc;color:#a25439}.ar-phases li.active span{background:#cb7657;color:white}
.ar-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:25px;border-top:1px solid #e2ebef;padding-top:23px}.ar-details section{min-width:0}.astar-route h3{font-size:17px}.ar-details h3,.ar-comparison h3{margin:0 0 10px}.ar-details p,.ar-comparison p,.ar-reference p{font-size:11px;line-height:1.9;color:#6c8595}.ar-frontier{max-height:242px;overflow:auto;border:1px solid #e1eaf0;border-radius:8px}.astar-route table{font-size:11px;border-collapse:collapse;width:100%;white-space:nowrap}.astar-route th,.astar-route td{padding:11px 12px;text-align:left;border-bottom:1px solid #e2ebef}.astar-route thead th{background:#edf4f8;color:#527286;font-weight:500}.ar-frontier thead{position:sticky;top:0}.ar-frontier tbody tr:first-child{background:#fdf0e8}.astar-route tbody th{font-weight:500;color:#375b72}.ar-closed-list{font-size:10px!important}.ar-pseudocode ol{padding:0;list-style:none;counter-reset:ar-code}.ar-pseudocode li{counter-increment:ar-code;font-size:11px;line-height:1.7;padding:6px 7px;color:#6b8292;border-radius:5px}.ar-pseudocode li:before{content:counter(ar-code);display:inline-block;width:23px;color:#99aab5}.ar-pseudocode li.active{background:#fbeade;color:#9b5138}.ar-pseudocode li.active:before{color:#ae6143}
.ar-result:empty{display:none}.ar-result{margin-top:23px;background:#eef6fa;border:1px solid #d3e5ef;border-radius:11px;padding:19px}.ar-result-heading{display:flex;align-items:center;gap:22px;justify-content:space-between;margin-bottom:16px}.ar-result-heading p{font-size:11px;line-height:1.8;color:#688595;margin:4px 0}.ar-result-heading h3{margin:4px 0}.ar-trip-totals{display:flex;flex-direction:column;gap:7px;white-space:nowrap}.ar-trip-totals strong{font-size:24px;color:#2c6b94}.ar-trip-totals span{font-size:11px;color:#688595}.ar-result-note{font-size:11px;line-height:1.8;color:#648397}.ar-no-route{font-size:13px;line-height:1.8;color:#96504b}.ar-comparison{margin:26px 0}.ar-reference{border-top:1px solid #dce8ed;padding:16px 0}.ar-reference summary{font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}.ar-reference summary::-webkit-details-marker{display:none}.ar-reference[open] summary svg{transform:rotate(180deg)}.ar-reference [data-ar-bound]{padding-top:14px;overflow:auto}.ar-sources{font-size:10px;line-height:1.9;color:#79909e;margin:10px 0 0}.ar-sources a{color:#37789b;text-decoration:underline;text-underline-offset:3px}
@media(prefers-reduced-motion:no-preference){.ar-node-pulse{animation:ar-pulse 1.3s ease-out infinite}.ar-edge-pulse{animation:ar-edge-pulse .9s ease-in-out infinite}.ar-road-line{transition:stroke .2s ease,stroke-width .2s ease}.ar-node-circle{transition:fill .2s ease,stroke .2s ease}@keyframes ar-pulse{0%{r:21;opacity:.8}100%{r:31;opacity:0}}@keyframes ar-edge-pulse{50%{opacity:.35}}}
.astar-route:not([data-playing=true]) .ar-node-pulse,.astar-route:not([data-playing=true]) .ar-edge-pulse{animation-play-state:paused}
@media(max-width:1200px){.ar-stage{grid-template-columns:1fr}.ar-map-svg{min-width:700px}.ar-explanation{display:grid;grid-template-columns:1.6fr 1fr;column-gap:22px}.ar-explanation .ar-phase,.ar-explanation h3,.ar-explanation>[data-ar-narrative],.ar-explanation .ar-formula{grid-column:1}.ar-explanation .ar-stats{grid-column:2;grid-row:1/4;margin-top:0}.ar-explanation .ar-inspector{grid-column:2;grid-row:4/6}.ar-heading h2{font-size:24px}}
@media(max-width:800px){.astar-route{padding:18px 15px}.ar-heading{display:block}.ar-badge{display:inline-block;margin-top:14px}.ar-settings{grid-template-columns:1fr 1fr}.ar-map-tools label{margin-left:0}.ar-details{grid-template-columns:1fr}.ar-playback label{margin-left:0}.ar-explanation{display:block}.ar-map-svg{min-width:680px}.ar-playback button{font-size:10px;padding:9px}.ar-result-heading{flex-wrap:wrap}.ar-trip-totals{white-space:normal}.ar-heading h2{font-size:23px}.ar-phases{margin-bottom:20px}.ar-phase{margin-top:0!important}}
@media(max-width:420px){.ar-settings{gap:10px}.ar-settings select{font-size:11px}.ar-map-tools>span{flex-basis:100%}.ar-playback button[data-ar-action=end]{flex:1}.ar-playback .ar-play{min-width:133px}}
.ar-node-id{font-size:16px}.ar-place{font-size:14px}.ar-node-h{font-size:13px}.ar-road text{font-size:13px}.ar-node.open .ar-node-id,.ar-node.current .ar-node-id,.ar-node.closed .ar-node-id{fill:#234a62}
.ar-probe{fill:#dc784a;stroke:white;stroke-width:2;pointer-events:none}
.ar-playback{margin-top:15px}.ar-timeline{margin:14px 0 20px}.ar-mobile-hint{display:none}.ar-map:focus-visible{outline:3px solid #4b93bd;outline-offset:3px}
@media(max-width:800px){.ar-mobile-hint{display:block;font-size:10px!important;margin:8px 0!important;color:#638292!important}.ar-playback{gap:7px}}

/* Game-playing lesson: decision trees and playable, explicitly modelled games. */
.gg-lesson,.gg-case,.gg-workshop,.gg-code-lab,.gg-practice,.gg-pseudocode{min-width:0;color:#2a4d65}.gg-workshop,.gg-case{background:#fff;border:1px solid #d8e5ed;border-radius:14px;padding:25px;margin:0 0 38px}.gg-workshop header>p:first-child,.gg-case header>p:first-child,.gg-code-lab header>p:first-child,.gg-eyebrow{font-size:11px;color:#ae674d;margin:0 0 10px;text-transform:none;letter-spacing:normal}.gg-workshop h2,.gg-case h2,.gg-code-lab h2,.gg-practice h2{font-size:26px;line-height:1.4;letter-spacing:-.6px;margin:0 0 13px}.gg-workshop h3,.gg-case h3,.gg-code-lab h3,.gg-practice h3{font-size:18px;line-height:1.5;margin:18px 0 12px}.gg-workshop p,.gg-case p,.gg-code-lab p,.gg-practice>header>p{font-size:13px;line-height:1.9;color:#617e91}.gg-small{font-size:11px!important;color:#728a9a!important;line-height:1.85!important}.gg-workshop ul,.gg-case ol{font-size:13px;line-height:1.9;color:#5e7c90}.gg-workshop li+li,.gg-case li+li{margin-top:8px}
.gg-controls{display:flex;align-items:end;flex-wrap:wrap;gap:13px;margin:21px 0}.gg-controls>label{flex:1 1 150px}.gg-controls label,.gg-buttons label,.gg-score-inputs label,.gg-dam-layout>aside>label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#607d90}.gg-controls input,.gg-controls select,.gg-buttons select,.gg-score-inputs input,.gg-dam-layout select{font-family:inherit;font-size:12px;color:#325a72;border:1px solid #ccdee9;border-radius:7px;padding:9px 10px;background:white;min-width:0;max-width:100%;min-height:40px}.gg-score-inputs input{width:100%}.gg-controls button,.gg-buttons button,.gg-workshop button,.gg-case button{border:1px solid #cddfea;background:#fff;color:#325d78;font-family:inherit;font-size:11px;border-radius:7px;padding:10px 13px;min-height:40px;cursor:pointer}.gg-controls button:hover,.gg-buttons button:hover{background:#eff6fb}.gg-controls button:disabled,.gg-buttons button:disabled{opacity:.45;cursor:default}.gg-buttons .gg-primary,.gg-controls .gg-primary{background:#305c78;color:white;border-color:#305c78}.gg-buttons .gg-primary:hover,.gg-controls .gg-primary:hover{background:#244d69}.gg-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:17px 0}.gg-buttons button{display:flex;align-items:center;justify-content:center;gap:7px}.gg-buttons svg{width:15px;height:15px;flex:none}.gg-buttons label{flex-direction:row;align-items:center;margin-left:auto;gap:7px}.gg-buttons select{min-height:37px}.gg-lesson button:focus-visible,.gg-lesson input:focus-visible,.gg-lesson select:focus-visible,.gg-tree-scroll:focus-visible,.gg-code-lab textarea:focus-visible{outline:3px solid #4b96c0;outline-offset:3px}.gg-score-inputs input:invalid{border-color:#c27560}
.gg-timeline{display:flex;align-items:center;gap:15px;margin:18px 0}.gg-timeline label{flex:1;display:flex;flex-direction:column;gap:7px;font-size:11px;color:#70899b}.gg-timeline input{width:100%;accent-color:#c27a5d}.gg-timeline output{font-size:11px;white-space:nowrap;color:#6c8595}.gg-tree-scroll{max-width:100%;overflow:auto;overscroll-behavior:contain;padding:8px 0;border:1px solid #e1ebf0;background:#f9fcfe;border-radius:9px}.gg-tree-svg{display:block;width:100%;min-width:760px;height:auto;font-family:inherit}.gg-tree-edge{stroke:#91a9b8;stroke-width:1.5;fill:none}.gg-tree-edge.active{stroke:#3e84ad;stroke-width:3}.gg-tree-edge.back{stroke:#ce7654;stroke-width:3}.gg-tree-edge.pruned{stroke:#bdc9d0;stroke-dasharray:5 5}.gg-tree-edge.solution{stroke:#3c859e;stroke-width:3}.gg-tree-node .gg-shape,.gg-tree-node>rect{fill:#edf5fa;stroke:#799bae;stroke-width:1.6}.gg-tree-node.current .gg-shape,.gg-tree-node.current>rect{fill:#ffdac1;stroke:#cc7956;stroke-width:2.6}.gg-tree-node.visited:not(.current) .gg-shape,.gg-tree-node.visited:not(.current)>rect{fill:#dcebf2;stroke:#7295a9}.gg-tree-node.pruned .gg-shape,.gg-tree-node.pruned>rect{fill:#f0f2f4;stroke:#b7c5ce;stroke-dasharray:4 4}.gg-tree-node.estimate>rect{stroke-dasharray:4 3}.gg-tree-node.solution .gg-shape,.gg-tree-node.solution>rect{fill:#d9eee7;stroke:#5c9c89;stroke-width:2.4}.gg-tree-id{font-size:17px;fill:#52758b;font-weight:600}.gg-tree-value{font-size:16px;fill:#254e69}.gg-tree-node.pruned .gg-tree-value{fill:#8f9ea8}.gg-tree-h1{font-size:12px;fill:#63879d}.gg-role-caption{font-size:13px;fill:#7e9aaa}.gg-cut-mark{stroke:#b06c67;stroke-width:2}.gg-legend{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:10px;color:#7890a0;margin:15px 0 20px}.gg-current-dot:before{content:'●';color:#d98b62;margin-right:5px}.gg-trace-panel{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr);gap:23px;background:#f2f7fa;border-radius:10px;padding:18px;margin:18px 0}.gg-trace-panel h3{margin:0 0 10px;font-size:17px}.gg-trace-panel p{margin:5px 0;font-size:12px}.gg-stats{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:8px 0 16px}.gg-stats dt{font-size:10px;color:#7590a3}.gg-stats dd{font-size:21px;font-weight:600;color:#355e7a;margin:5px 0 0}.gg-table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}.gg-table caption{text-align:left;color:#7790a1;font-size:11px;line-height:1.8;padding:10px 0}.gg-table th,.gg-table td{padding:11px 13px;border-bottom:1px solid #dfeaf0;text-align:left}.gg-table th{font-weight:500;color:#426981}.gg-table thead{background:#edf4f9}.gg-table tbody tr.gg-best-row{background:#fdf0e7}.gg-workshop [data-gg-comparison]{margin:26px 0}.gg-score-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(95px,1fr));gap:12px;margin:20px 0}.gg-workshop .learn-reference{margin:18px 0}
.gg-positions{margin:22px 0 40px}.gg-positions>div{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;max-width:700px}.gg-positions>div>div p{font-size:12px;color:#6b899c}.gg-tictactoe{display:grid;grid-template-columns:repeat(3,1fr);width:155px;background:#fff;gap:1px;border:1px solid #c8d9e4}.gg-tictactoe span{aspect-ratio:1;display:grid;place-items:center;background:#f4f8fb;border:1px solid #d7e4ed;font-size:25px}.gg-tictactoe span.max{color:#bc7052}.gg-tictactoe span.min{color:#397ba5}.gg-digit-board{display:flex;justify-content:center;gap:16px;margin:24px auto}.gg-digit-board>div{padding:16px 24px;border:1px solid #ccdee9;background:#f4f9fd;border-radius:10px;text-align:center;min-width:78px}.gg-digit-board span{display:block;font-size:12px;color:#7591a4}.gg-digit-board strong{font-size:43px;color:#3b708e}.gg-digit-board>div.terminal{background:#fdeee4;border-color:#e5b49a}.gg-digit-board>div.terminal strong{color:#b6674c}.gg-digit-example{font-size:30px!important;letter-spacing:2px;text-align:center;margin:28px 0}.gg-game-state{font-size:14px!important;font-weight:600;color:#355b74!important}.gg-matches-board{display:flex;justify-content:center;gap:18px;margin:25px 0}.gg-matches-board>div{flex:1;border:1px solid #dbe6ee;background:#f8fbfd;border-radius:10px;text-align:center;padding:16px 10px;max-width:230px}.gg-matches-board h4{font-size:12px;color:#5f7e92;margin:0 0 18px}.gg-sticks{display:flex;align-items:center;justify-content:center;height:95px;gap:3px}.gg-sticks svg{height:88px;width:14px;flex:none}.gg-sticks span{font-size:12px;color:#8b9ea9}.gg-matches-board strong{display:block;font-size:13px;color:#56798f;margin-top:14px}.gg-history{font-size:11px!important;color:#6a8699!important;line-height:1.8!important;padding-left:20px;margin:22px 0}
.gg-dam-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr);gap:25px;align-items:start;margin-top:26px}.gg-dam-layout>div,.gg-dam-layout aside{min-width:0}.gg-dam-files{display:grid;grid-template-columns:repeat(8,1fr);text-align:center;font-size:10px;color:#8197a6;max-width:500px;margin:0 0 8px}.gg-dam-board{display:grid;grid-template-columns:repeat(8,1fr);aspect-ratio:1;max-width:500px;width:100%;overflow:hidden;border:5px solid #547184;border-radius:8px;background:#577486;gap:0}.gg-dam-board button{border:0!important;border-radius:0!important;min-width:0;min-height:0;aspect-ratio:1;padding:0;display:grid;place-items:center;position:relative}.gg-dam-board button.light{background:#edf2ee;cursor:default}.gg-dam-board button.dark{background:#5d7b8e}.gg-dam-board button.selected{background:#b7bd9b;box-shadow:inset 0 0 0 3px #eaa578}.gg-dam-board button:focus-visible{outline:3px solid #efc075;outline-offset:-4px;z-index:1}.gg-piece{width:73%;height:73%;border-radius:50%;display:grid;place-items:center;font-size:16px;font-weight:700;box-shadow:0 3px 0 #0003,0 2px 4px #0002;border:2px solid #ffffff80}.gg-piece.max{background:#e59770;color:#663520}.gg-piece.min{background:#a5c9e4;color:#294d68}.gg-piece.king{outline:2px solid #f4e3bc;outline-offset:-6px}.gg-destination-dot{width:22%;height:22%;border-radius:50%;background:#f2d6a2}.gg-dam-layout aside p{font-size:12px}.gg-dam-layout .gg-buttons{gap:8px}.gg-dam-layout .gg-buttons button{flex:1 1 110px;font-size:10px;padding:9px}.gg-dam-layout [data-dam-choices] .learn-table-scroll{max-height:245px;overflow:auto}.gg-dam-layout select{width:100%}.gg-dam-layout [data-dam-feedback]{min-height:50px}.gg-dam-layout .gg-stats{gap:15px}.gg-dam-layout .gg-stats dd{font-size:18px}
.gg-pseudocode>section{margin:30px 0 40px}.gg-pseudocode pre{background:#243e51;color:#dcebf4;border-radius:9px;padding:20px;font-size:12px;line-height:1.8;overflow:auto}.gg-pseudocode>section p{font-size:13px;line-height:1.8;color:#637e92}.gg-practice>header{margin-bottom:28px}.gg-exercise{border-bottom:1px solid #dce7ee;margin:0 0 28px;padding-bottom:26px}.gg-exercise .learn-question{border:0;padding:12px 0}.gg-exercise .learn-question legend{margin-bottom:17px}.gg-exercise .learn-reference{margin:16px 0 0}.gg-exercise .learn-reference li{font-size:13px;line-height:1.85;color:#617b8e}.gg-code-lab{margin-bottom:40px}.gg-code-columns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:20px;align-items:start}.gg-code-columns>div,.gg-code-columns>aside{min-width:0}.gg-code-caption{display:flex;justify-content:space-between;background:#203a4e;color:#b8d0df;border-radius:8px 8px 0 0;padding:12px 15px;font-size:10px;gap:10px}.gg-code-columns textarea{display:block;width:100%;max-width:100%;min-height:440px;resize:vertical;border:0;background:#213d52;color:#e2edf4;font:12px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace;border-radius:0 0 8px 8px;padding:16px;tab-size:4}.gg-code-columns aside{padding:18px;border:1px solid #d6e6ef;border-radius:9px;background:#f4f9fc}.gg-code-columns aside h3{font-size:16px;margin:0 0 14px}.gg-code-columns aside p{font-size:11px}.gg-code-columns aside pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.9;background:#fff;border:1px solid #e1eaf1;padding:12px;border-radius:6px;min-height:130px}.gg-code-columns [data-gcode-local] pre{min-height:0}.gg-code-lab .learn-reference pre{font-size:12px;line-height:1.8;overflow:auto}#game-dam-code{padding-top:30px;border-top:1px solid #dce8ef;margin-top:40px}#game-dam-code>p{font-size:13px;color:#67879c;line-height:1.8}
@media(prefers-reduced-motion:no-preference){.gg-workshop[data-playing=true] .gg-tree-node.current .gg-shape,.gg-workshop[data-playing=true] .gg-tree-node.current>rect{animation:gg-node-pulse 1s ease-in-out infinite}.gg-tree-node .gg-shape,.gg-tree-node>rect{transition:fill .18s,stroke .18s}@keyframes gg-node-pulse{50%{stroke-width:4;fill:#ffbd90}}}
@media(max-width:1100px){.gg-dam-layout,.gg-code-columns{grid-template-columns:1fr}.gg-dam-board,.gg-dam-files{margin-left:auto;margin-right:auto}.gg-dam-layout aside{padding:18px;background:#f4f8fb;border-radius:9px}.gg-dam-layout .gg-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.gg-trace-panel{grid-template-columns:1fr}.gg-trace-panel .gg-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.gg-controls>label{flex-basis:190px}}
@media(max-width:800px){.gg-workshop,.gg-case{padding:18px 15px;border-radius:11px}.gg-workshop h2,.gg-case h2,.gg-code-lab h2,.gg-practice h2{font-size:23px}.gg-controls{gap:11px}.gg-controls>label{flex-basis:140px}.gg-buttons label{margin-left:0}.gg-buttons button{font-size:10px;padding:9px 10px}.gg-tree-svg{min-width:780px}.gg-trace-panel{padding:15px;gap:15px}.gg-trace-panel .gg-stats{gap:10px}.gg-trace-panel .gg-stats dd{font-size:18px}.gg-digit-board{gap:11px}.gg-digit-board>div{padding:12px 18px;min-width:69px}.gg-matches-board{gap:9px}.gg-matches-board>div{padding:14px 5px}.gg-matches-board h4{font-size:11px}.gg-sticks{gap:0}.gg-sticks svg{width:13px}.gg-positions>div{gap:14px;justify-content:start}.gg-tictactoe{width:130px}.gg-dam-layout .gg-stats{grid-template-columns:1fr 1fr}.gg-dam-layout{gap:14px}.gg-piece{font-size:14px}.gg-pseudocode pre{padding:14px;font-size:11px}.gg-exercise .gg-table,.gg-table{font-size:11px}.gg-code-columns textarea{min-height:390px;font-size:11px;padding:14px}.gg-score-inputs{grid-template-columns:repeat(3,minmax(0,1fr))}}
.gg-tree-h2{fill:#b75e55}
.gg-timeline input{appearance:none;background:transparent;border:0;padding:0;height:18px;min-height:18px;color-scheme:light}.gg-timeline input::-webkit-slider-runnable-track{height:4px;background:#d9e6ed;border-radius:5px}.gg-timeline input::-webkit-slider-thumb{appearance:none;width:14px;height:14px;margin-top:-5px;border:0;border-radius:50%;background:#bd7356}.gg-timeline input::-moz-range-track{height:4px;background:#d9e6ed;border-radius:5px}.gg-timeline input::-moz-range-thumb{width:14px;height:14px;border:0;border-radius:50%;background:#bd7356}.gg-tree-id,.gg-tree-value{paint-order:stroke;stroke:#f9fcfe;stroke-width:4;stroke-linejoin:round}
.gg-dam-shell{display:grid;grid-template-columns:18px minmax(0,1fr);gap:4px 6px;width:100%;max-width:524px;margin:auto}.gg-dam-shell .gg-dam-files{grid-column:2;grid-row:1;max-width:none;margin:0;width:100%}.gg-dam-shell .gg-dam-board{grid-column:2;grid-row:2;max-width:none}.gg-dam-ranks{grid-column:1;grid-row:2;display:grid;grid-template-rows:repeat(8,1fr);font-size:10px;color:#7c95a5;text-align:center;padding:5px 0}.gg-dam-ranks span{display:grid;place-items:center}

/* Reading depth: worked reasoning stays visible; self-check answers are optional. */
.gg-reading-orientation{margin:0 0 40px;padding:0 0 32px;border-bottom:1px solid #dbe7ef}.gg-reading-orientation>p:first-child{font-size:12px;color:#ae674d;margin:0 0 13px}.gg-reading-orientation h2{font-size:30px;line-height:1.35;max-width:730px;margin:0 0 20px;letter-spacing:-.75px}.gg-reading-orientation>p{color:#536e81;line-height:1.9;max-width:900px}.gg-reading-orientation nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:26px 0}.gg-reading-orientation nav a{display:block;padding:17px 0;border-top:2px solid #97b8cc;color:#2b526d}.gg-reading-orientation nav a:hover{border-color:#cd7c57;color:#9a5438}.gg-reading-orientation nav span{display:block;font-size:11px;color:#738b9b;margin-bottom:8px}.gg-reading-orientation nav strong{display:block;font-size:16px;line-height:1.6;margin-bottom:7px}.gg-reading-orientation nav small{display:block;font-size:12px;color:#657f90;line-height:1.85}.gg-lesson .search-prose{max-width:980px;margin-bottom:55px}.gg-lesson .search-prose>p:not(.search-section-number){max-width:900px;line-height:1.95;margin:0 0 19px}.gg-lesson .search-prose>h2{max-width:850px;margin-bottom:23px}.gg-lesson .search-prose h3{color:#284f6a;font-size:18px;line-height:1.6;margin:0 0 12px;letter-spacing:-.2px}
.gg-reading-example{margin:29px 0;padding:23px 26px;background:#f4f8fb;border-left:3px solid #85adc5;border-radius:0 9px 9px 0}.gg-reading-example .gg-reading-label{font-size:11px;color:#8b644d;margin:0 0 9px}.gg-reading-example p,.gg-reading-example li{color:#496a80;font-size:14px;line-height:1.95}.gg-reading-example>p{margin:0 0 14px}.gg-reading-example ol{padding-left:22px;margin:18px 0}.gg-reading-example li{padding-left:6px;margin-bottom:12px}.gg-reading-example .gg-reading-takeaway{border-top:1px solid #d8e5ed;padding-top:16px;margin:17px 0 0;color:#345972}.gg-reading-note{margin:25px 0;padding:9px 0 9px 20px;border-left:3px solid #e2b491}.gg-reading-note p{margin:0;color:#5b7486;font-size:13px;line-height:1.9}.gg-reading-note h3{font-size:16px!important}
.gg-reading-table{margin:29px 0;max-width:100%;min-width:0}.gg-reading-table .learn-table-scroll{border:1px solid #dce7ef;border-radius:9px;overflow:auto;max-width:100%}.gg-reading-table table{width:100%;border-collapse:collapse;min-width:600px;font-size:13px;line-height:1.8;text-align:left}.gg-reading-table caption{text-align:left;padding:17px 18px;background:#f0f6fa;color:#305b77;font-size:15px;font-weight:650;line-height:1.6}.gg-reading-table th,.gg-reading-table td{padding:13px 17px;border-bottom:1px solid #e2ebf1;vertical-align:top;white-space:normal;overflow-wrap:anywhere}.gg-reading-table thead th{font-size:12px;font-weight:600;background:#f6f9fc;color:#56758b}.gg-reading-table tbody th{color:#355b74;font-weight:600;width:21%}.gg-reading-table tbody td{color:#597789}.gg-reading-table tbody tr:last-child>*{border-bottom:0}.gg-reading-table figcaption{color:#668193;font-size:12px;line-height:1.9;margin:12px 2px 0}
.gg-reading-check{margin:30px 0 25px;padding:21px 0;border-top:1px solid #dce7ef;border-bottom:1px solid #dce7ef}.gg-reading-check>p{font-size:11px;color:#a7694d;margin:0 0 9px}.gg-reading-check h3{font-size:17px!important;max-width:830px}.gg-reading-check .learn-reference{background:transparent;border:0;border-radius:0;margin:14px 0 0;padding:0}.gg-reading-check .learn-reference summary{padding:0;display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:13px;color:#3c6a87;min-height:40px;cursor:pointer}.gg-reading-check .learn-reference>p{font-size:14px;line-height:1.95;padding:15px 0 0;margin:0;color:#5c7789}.gg-reading-check details[open] summary{color:#9a593f}
.gg-reading-flow{margin:28px 0}.gg-reading-flow ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;list-style:none;padding:0;counter-reset:gg-flow}.gg-reading-flow li{position:relative;padding:15px 0 0;border-top:2px solid #91b2c8;counter-increment:gg-flow}.gg-reading-flow li:before{content:counter(gg-flow,decimal-leading-zero);display:block;font-size:11px;color:#b77857;margin-bottom:8px}.gg-reading-flow li+li:after{content:'→';position:absolute;top:-12px;left:-17px;color:#7495aa;background:#fff;padding:1px 3px;font-size:16px}.gg-reading-flow strong{font-size:14px;line-height:1.8}.gg-reading-flow li p{font-size:12px;line-height:1.9;margin:9px 0 0;color:#638095}.gg-reading-equation{margin:26px 0;padding:20px;background:#f2f7fa;border-radius:9px;max-width:100%;overflow:auto}.gg-reading-equation math{font-size:23px;text-align:left;margin:0}.gg-reading-code{margin:28px 0}.gg-reading-code pre{font-size:12px;line-height:1.85;padding:22px;border-radius:9px;background:#243e51;color:#dcebf4;overflow:auto}.gg-reading-code>p{font-size:13px;color:#5c788c;line-height:1.85}.gg-lesson .gg-reading-sources{font-size:11px!important;color:#7990a0;margin-top:24px!important;line-height:1.9!important}.gg-reading-sources a{color:#457391;text-decoration:underline;text-decoration-color:#bdd0dd;text-underline-offset:3px}.gg-reading-references{padding:30px 0;border-top:1px solid #dce7ef}.gg-reading-references ol{padding-left:22px}.gg-reading-references li{padding:13px 0 13px 8px;color:#6b8597}.gg-reading-references a{font-size:14px;line-height:1.8;color:#355f7d}.gg-reading-references li p{font-size:13px;margin:9px 0 0;line-height:1.9;max-width:820px;color:#647e91}
@media(max-width:800px){.gg-reading-orientation h2{font-size:26px}.gg-reading-orientation nav{grid-template-columns:1fr;gap:2px}.gg-reading-orientation nav a{padding:14px 0}.gg-reading-orientation nav strong{font-size:15px}.gg-reading-example{padding:20px 16px}.gg-reading-table table{font-size:12px}.gg-reading-table caption{font-size:14px}.gg-reading-table th,.gg-reading-table td{padding:12px}.gg-reading-flow ol{grid-template-columns:1fr;gap:18px}.gg-reading-flow li{padding:10px 0 0 35px;border:0;border-left:2px solid #adc5d5}.gg-reading-flow li:before{position:absolute;left:10px;top:12px}.gg-reading-flow li+li:after{content:'↓';left:-8px;top:-18px}.gg-reading-equation{padding:15px}.gg-reading-equation math{font-size:20px}.gg-reading-check{padding:19px 0}.gg-reading-references a{overflow-wrap:anywhere}.gg-lesson .search-prose{margin-bottom:42px}}
