.python-start-topic__actions{justify-items:end;gap:10px;width:min(100%,360px);display:grid}.python-start-topic__lesson-action>a,.python-start-topic__lesson-action>button{color:#fff;min-height:38px;font:inherit;background:#2f6feb;border:0;border-radius:10px;justify-content:center;align-items:center;padding:9px 13px;font-weight:800;text-decoration:none;display:inline-flex}.python-start-topic__lesson-action>b{color:#687c90;font-size:12px}.python-start-notebook-return{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}@media (width<=900px){.python-start-topic__actions{grid-column:2;justify-items:start;width:100%}}@media (width<=520px){.python-start-topic__lesson-action>a,.python-start-topic__lesson-action>button,.python-start-notebook-return,.python-start-topic__actions{width:100%}}.python-game{gap:22px;min-width:0;display:grid}.python-game__hero{color:#fff;background:linear-gradient(135deg,#0b275e,#283582 58%,#126f78);border-radius:28px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;padding:clamp(22px,4vw,38px);display:grid;box-shadow:0 24px 60px #0f275e33}.python-game__hero h2{margin:4px 0 10px;font-size:clamp(30px,5vw,52px);line-height:1}.python-game__hero p{color:#dcecff;max-width:760px;margin:0;line-height:1.65}.python-game__hero code{color:#bffcf0}.python-game__score{text-align:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0411305c;border:1px solid #ffffff38;border-radius:22px;min-width:150px;padding:18px}.python-game__score span,.python-game__score small{display:block}.python-game__score strong{margin:5px 0;font-size:30px;display:block}.python-game__score b{color:#78350f;background:#fef3c7;border-radius:999px;margin-top:9px;padding:5px 9px;display:inline-block}.python-game__steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.python-game__steps li{background:#fff;border:1px solid #dce7f7;border-radius:18px;gap:10px;min-width:0;padding:14px;display:flex}.python-game__steps li>b{color:#fff;background:#3157c7;border-radius:9px;flex:0 0 28px;place-items:center;width:28px;height:28px;display:grid}.python-game__steps span,.python-game__steps strong,.python-game__steps small{min-width:0;display:block}.python-game__steps small{color:#52627a;margin-top:4px;line-height:1.4}.python-game__theory{grid-template-columns:minmax(210px,.7fr) minmax(0,1fr) minmax(0,1fr);align-items:start;gap:22px;display:grid}.python-game__theory h3{margin:3px 0 0}.python-game__theory p{color:#42526b;margin:0;line-height:1.65}.python-game__workspace{grid-template-columns:minmax(420px,.9fr) minmax(520px,1.25fr);gap:18px;min-width:0;display:grid}.python-game__editor,.python-game__preview{min-width:0}.python-game__editor .cm-editor{min-height:390px}.python-game__actions{flex-wrap:wrap;gap:9px;margin-top:14px;display:flex}.python-game__hint,.python-game__bonus{background:#f8fbff;border:1px solid #d9e5f6;border-radius:14px;margin-top:12px;padding:12px 14px}.python-game__hint summary,.python-game__bonus summary{cursor:pointer;color:#203d7a;font-weight:750}.python-game__hint p,.python-game__bonus ul{color:#4a5c75;margin:10px 0 0;line-height:1.55}.python-game__preview canvas{touch-action:none;border:3px solid #182e64;border-radius:20px;outline:none;width:100%;height:auto;margin-top:14px;display:block;box-shadow:inset 0 0 0 1px #ffffff1f,0 16px 38px #0a1f4d2e}.python-game__preview canvas:focus-visible{box-shadow:0 0 0 4px #87d7ff,0 16px 38px #0a1f4d38}.python-game__touch-controls{grid-template-columns:repeat(3,58px);grid-template-areas:".up.""left down right";justify-content:center;gap:8px;margin-top:14px;display:grid}.python-game__touch-controls button{color:#16366f;touch-action:manipulation;background:#edf5ff;border:1px solid #b7c9e6;border-radius:15px;min-width:58px;min-height:52px;font-size:25px;font-weight:800}.python-game__touch-controls button:first-child{grid-area:up}.python-game__touch-controls button:nth-child(2){grid-area:left}.python-game__touch-controls button:nth-child(3){grid-area:down}.python-game__touch-controls button:nth-child(4){grid-area:right}.python-game__touch-controls button:active{background:#dbeafe;transform:translateY(1px)}.python-game__status,.python-game__message{text-align:center;color:#314763;margin:12px 0 0}.python-game__message{color:#155e75;background:#ecfeff;border-radius:12px;padding:8px 12px}@media (width<=1180px){.python-game__steps{grid-template-columns:repeat(3,minmax(0,1fr))}.python-game__workspace{grid-template-columns:minmax(0,1fr)}.python-game__theory{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.python-game__theory>div{grid-column:1/-1}}@media (width<=720px){.python-game{gap:14px}.python-game__hero{border-radius:22px;grid-template-columns:minmax(0,1fr);padding:22px}.python-game__score{min-width:0}.python-game__steps{scroll-snap-type:x mandatory;padding-bottom:4px;display:flex;overflow-x:auto}.python-game__steps li{scroll-snap-align:start;flex:0 0 min(280px,82vw)}.python-game__theory{grid-template-columns:minmax(0,1fr);gap:12px}.python-game__theory>div{grid-column:auto}.python-game__actions button{flex:145px}.python-game__editor .cm-editor{min-height:330px}}@media (width<=420px){.python-game__hero{padding:18px}.python-game__hero h2{font-size:32px}.python-game__touch-controls{grid-template-columns:repeat(3,54px)}.python-game__touch-controls button{min-width:54px;min-height:50px}}@media (prefers-reduced-motion:reduce){.python-game__touch-controls button{transition:none}}.coding-lab{--coding-border:#e2e7ee;--coding-blue:#345fd1;color:#263448;background:#fcfcfc;min-width:0;padding:24px clamp(16px,2.4vw,40px);font:16px/1.55 Inter,system-ui,sans-serif}.coding-lab *{box-sizing:border-box}.coding-lab h1{letter-spacing:-.8px;margin:0 0 10px;font-size:32px;line-height:1.2}.coding-lab h2{margin:12px 0;font-size:20px}.coding-lab h3{font-size:18px}.coding-lab p{margin:10px 0}.coding-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.coding-lab .coding-eyebrow{letter-spacing:1.6px;color:#617394;margin-bottom:10px;font-size:11px;font-weight:700}.coding-lab a{color:#3455a0;text-decoration:none}.coding-panel{border:1px solid var(--coding-border);background:#fff;border-radius:16px;min-width:0;padding:20px;box-shadow:0 3px 14px #25395b05}.coding-cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin:22px 0;display:grid}.coding-badge{color:#476299;background:#edf2fc;border-radius:8px;padding:5px 10px;font-size:12px;display:inline-block}.coding-workbench{grid-template-columns:minmax(200px,240px) minmax(0,1fr);align-items:start;gap:18px;display:grid}.coding-instructions details{border-top:1px solid var(--coding-border);padding:15px 0}.coding-instructions summary,.coding-results summary{cursor:pointer}.coding-multiline{white-space:pre-wrap;overflow-wrap:anywhere}.coding-editor-section{min-width:0}.coding-editors{grid-template-columns:minmax(280px,1.25fr) minmax(250px,1fr);gap:14px;display:grid}.coding-editors--blocks,.coding-editors--python{grid-template-columns:minmax(0,1fr)}.coding-blocks-pane,.coding-python-pane{padding:12px;overflow:hidden}.coding-blocks-pane h2,.coding-python-pane h2{margin:0 0 12px 8px;font-size:16px}.coding-block-workspace{width:100%;min-width:0;height:470px}.coding-lab .blocklySvg{background-color:#fbfcff;border:none}.coding-lab .blocklyToolbox{font:14px/1.5 system-ui,sans-serif}.coding-code-editor{background:#fbfcff;min-height:320px;font-size:15px}.coding-code-editor .cm-scroller{font-family:Consolas,Courier New,monospace;line-height:1.7;overflow:auto}.coding-code-editor .cm-gutters{color:#8793a8;background:#f3f5fa;border:none}.coding-toolbar,.coding-actions{flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0;display:flex}.coding-toolbar{margin-top:0}.coding-tabs{background:#edf1f7;border-radius:10px;padding:3px;display:flex}.coding-lab button,.coding-link-button{font:inherit;color:#324866;cursor:pointer;background:#fff;border:1px solid #d8e0ee;border-radius:10px;padding:9px 14px}.coding-lab button:hover:not(:disabled){background:#f0f4ff;border-color:#a9bce9}.coding-lab button:focus-visible,.coding-lab a:focus-visible{outline-offset:3px;outline:3px solid #a1b8ef}.coding-lab button:disabled{cursor:default;opacity:.55}.coding-tabs button{background:0 0;border:none;padding:7px 16px}.coding-tabs button[aria-pressed=true]{color:#294a91;background:#fff;box-shadow:0 1px 4px #20366515}.coding-lab .coding-primary{color:#fff;background:var(--coding-blue);border-color:var(--coding-blue)}.coding-lab .coding-primary:hover:not(:disabled){color:#fff;background:#284dae}.coding-runbar{padding:16px 0}.coding-runbar p,.coding-muted{color:#6b7890;font-size:14px}.coding-output pre,.coding-source{box-sizing:border-box;background:#f6f8fc;border-radius:10px;max-width:100%;padding:16px;font:15px/1.6 Consolas,monospace;overflow:auto}.coding-output pre{white-space:pre-wrap;overflow-wrap:anywhere}.coding-source{white-space:pre;overflow-wrap:normal}.coding-notice{color:#466083;background:#eff4fc;border-radius:12px;padding:12px 16px}.coding-error{color:#973a36;background:#fff0ee;border-radius:12px;padding:14px}.coding-history{gap:10px;display:grid}.coding-history a{flex-wrap:wrap;justify-content:space-between;gap:12px;display:flex}.coding-history span{color:#69788f;font-size:14px}.coding-field{flex-direction:column;gap:7px;margin:16px 0;display:flex}.coding-field input,.coding-field select,.coding-field textarea{font:inherit;color:inherit;background:#fff;border:1px solid #ced8e6;border-radius:9px;width:100%;padding:10px 12px}.coding-field textarea{resize:vertical}.coding-form-fields{border:0;min-width:0;margin:0;padding:0}.coding-form-grid{grid-template-columns:2fr 1fr 1fr;gap:20px;display:grid}.coding-students{flex-wrap:wrap;gap:18px;max-height:300px;margin:14px 0 24px;display:flex;overflow:auto}.coding-students label{align-items:center;gap:8px;display:flex}.coding-results{margin-top:30px}.coding-results>.coding-panel{margin:15px 0}.coding-feedback{white-space:pre-wrap}.coding-saved-sources{margin-top:16px}@media (width<=1350px){.coding-workbench{grid-template-columns:minmax(0,1fr)}.coding-instructions{display:block}.coding-block-workspace{height:430px}}@media (width<=700px){.coding-lab{padding:18px 14px}.coding-heading{align-items:start}.coding-heading h1{font-size:28px}.coding-editors{grid-template-columns:minmax(0,1fr)}.coding-mobile-hidden{display:none}.coding-form-grid{grid-template-columns:1fr;gap:0}.coding-block-workspace{height:390px}.coding-toolbar{gap:6px}.coding-lab button{font-size:14px}}.python-progress{gap:1.25rem;display:grid}.python-progress-legend{flex-wrap:wrap;gap:.5rem;display:flex}.python-progress-status{color:#536274;background:#eef2f7;border-radius:999px;align-items:center;width:fit-content;min-height:1.75rem;padding:.2rem .65rem;font-size:.82rem;font-weight:750;display:inline-flex}.python-progress-status.is-no_access{color:#68717d;background:#f1f3f5}.python-progress-status.is-not_started{color:#7d5a00;background:#fff4d8}.python-progress-status.is-in_progress{color:#145c9e;background:#e4f0ff}.python-progress-status.is-completed{color:#17643b;background:#dcf7e8}.python-progress-filters{grid-template-columns:minmax(12rem,1fr) minmax(14rem,2fr) auto;align-items:end;gap:1rem;display:grid}.python-progress-filters label{gap:.35rem;font-weight:700;display:grid}.python-progress-filters input,.python-progress-filters select{min-height:2.75rem;color:inherit;background:#fff;border:1px solid #c6d3e1;border-radius:.65rem;padding:.55rem .75rem}.python-progress-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:1rem;display:grid}.python-progress-student{gap:1rem;display:grid}.python-progress-student.is-selected{border-color:#438bd3;box-shadow:0 0 0 2px #438bd324}.python-progress-student header,.python-progress-detail__header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.python-progress-student h3{margin:0}.python-progress-student dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:0;display:grid}.python-progress-student dl div{gap:.2rem;display:grid}.python-progress-student dt{color:#68798b;font-size:.78rem}.python-progress-student dd{overflow-wrap:anywhere;margin:0;font-weight:700}.python-progress-detail{gap:1.25rem;scroll-margin-top:1rem;display:grid}.python-progress-detail__header h2,.python-progress-results h3{margin:0}.python-progress-modules{gap:.75rem;display:grid}.python-progress-modules details{border:1px solid #d3deea;border-radius:.85rem;overflow:hidden}.python-progress-modules summary{cursor:pointer;background:#f7faff;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 1rem;display:flex}.python-progress-modules summary>span:first-child{gap:.2rem;display:grid}.python-progress-topics{display:grid}.python-progress-topics article{border-top:1px solid #e1e8f0;grid-template-columns:minmax(0,1fr) auto;gap:.4rem 1rem;padding:.8rem 1rem;display:grid}.python-progress-topics article>div{gap:.25rem;display:grid}.python-progress-topics article>div:last-of-type{justify-items:end}.python-progress-topics article p{color:#657386;grid-column:1/-1;margin:0}.python-progress-topics time{color:#6d7b8a;font-size:.78rem}.python-progress-results{gap:.75rem;display:grid}.python-progress-results article{border:1px solid #d8e2ec;border-radius:.8rem;gap:.25rem;padding:.85rem 1rem;display:grid}@media (width<=700px){.python-progress-filters{grid-template-columns:1fr}.python-progress-filters button{width:100%}.python-progress-student dl{grid-template-columns:1fr}.python-progress-student header,.python-progress-detail__header,.python-progress-modules summary{flex-direction:column;align-items:flex-start}.python-progress-topics article{grid-template-columns:1fr}.python-progress-topics article>div:last-of-type{justify-items:start}}.studio-theory-blocks{gap:20px;min-width:0;font-size:17px;line-height:1.65;display:grid}.studio-theory-blocks>*{min-width:0;max-width:100%}.studio-theory-blocks :is(h2,h3,p,li,figcaption,strong,span){overflow-wrap:anywhere}.theory-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.theory-studio-hero{color:#123252;background:linear-gradient(140deg,#eaf4ff,#effbf6);border-radius:22px;padding:clamp(20px,4vw,34px)}.theory-studio-hero small{color:#26629c;letter-spacing:.06em;text-transform:uppercase;font-weight:850}.theory-studio-hero h2{margin:7px 0;font-size:clamp(26px,5vw,40px)}.theory-studio-hero p{margin:0}.theory-rich-text :first-child{margin-top:0}.theory-rich-text :last-child{margin-bottom:0}.theory-rich-text figure,.theory-image{text-align:center;margin:1.2em 0}.theory-rich-text img,.theory-image img{border-radius:14px;max-width:100%;height:auto;margin:0 auto;display:block}.theory-rich-text figcaption,.theory-image figcaption{color:#63758a;margin-top:8px;font-size:14px}.theory-callout,.theory-card,.theory-summary,.theory-visual-note{background:#f6f9ff;border:1px solid #cdd9e8;border-left:6px solid #4776d9;border-radius:15px;padding:17px 20px}.theory-callout>strong,.theory-card>strong,.theory-visual-note>strong{margin-bottom:6px;display:block}.theory-callout :last-child,.theory-card :last-child,.theory-visual-note :last-child{margin-bottom:0}.theory-callout.is-remember{background:#f7f2ff;border-left-color:#7c3aed}.theory-callout.is-interesting{background:#ecfeff;border-left-color:#0e7490}.theory-callout.is-mistake{background:#fff3f2;border-left-color:#c2413b}.theory-summary{background:#effaf5;border-left-color:#20835e}.theory-summary h3{margin-top:0}.theory-visual-note.is-pointer{border-left-width:10px;border-left-color:#3779d0}.theory-visual-note.is-bracket{background:0 0;border-width:0 0 0 5px;border-radius:0}.theory-annotated-code{grid-template-columns:minmax(0,1.5fr) minmax(14rem,.8fr);align-items:start;gap:16px;min-width:0;display:grid}.theory-annotated-code figure{color:#edf4ff;background:#111827;border-radius:14px;min-width:0;margin:0;overflow:hidden}.theory-annotated-code figcaption{color:#bcc9da;background:#1c273b;padding:8px 14px;font:750 12px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace}.theory-annotated-code pre,.theory-prediction pre{white-space:pre;max-width:100%;margin:0;padding:16px;overflow:auto}.theory-annotated-code code,.theory-prediction code{font:14px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace}.theory-annotated-code>ol{gap:10px;margin:0;padding:0;list-style:none;display:grid}.theory-annotated-code>ol li{background:#f7faff;border:1px solid #cfdaea;border-radius:12px;gap:5px;padding:13px;display:grid}.theory-annotated-code>ol strong{color:#24519c;font:750 12px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace}.theory-prediction{background:#fffaf0;border:1px solid #e3c66d;border-radius:16px;padding:18px 20px}.theory-prediction__label{color:#8a5b00;letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:12px;font-weight:850}.theory-prediction h3{margin:6px 0 12px}.theory-prediction pre{color:#eef5ff;background:#172033;border-radius:11px;margin-bottom:12px}.theory-prediction fieldset{border:0;gap:8px;margin:0 0 12px;padding:0;display:grid}.theory-prediction label{align-items:flex-start;gap:9px;display:flex}.theory-prediction button{color:#fff;background:#245ba7;border:0;border-radius:10px;min-height:42px;padding:8px 14px;font-weight:800}.theory-prediction button:disabled{opacity:.5}.theory-prediction__reveal{background:#eef7ff;border-radius:10px;padding:11px 13px}.theory-flowchart{max-width:100%;margin:0}.theory-flowchart>figcaption{margin-bottom:10px;font-weight:850}.theory-flowchart__canvas{height:var(--flowchart-height,430px);background:#fbfdff;border:1px solid #c8d7e8;border-radius:16px;min-height:320px;position:relative;overflow:hidden}.theory-flowchart__canvas svg{width:100%;height:100%;position:absolute;inset:0}.theory-flowchart__canvas line{stroke:#59708f;stroke-width:2px;vector-effect:non-scaling-stroke}.theory-flowchart__canvas path{fill:#59708f}.theory-flowchart__canvas text{fill:#314767;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round;font-size:13px;font-weight:800}.theory-flowchart__nodes{margin:0;padding:0;list-style:none}.theory-flowchart__nodes li{left:var(--node-x);top:var(--node-y);width:min(var(--node-width,180px), calc(100% - 16px));min-height:var(--node-height,64px);box-sizing:border-box;border:var(--node-border-width,2px) solid var(--node-border,#4573ad);color:var(--node-text,#111b31);background:var(--node-fill,#fff);text-align:center;overflow-wrap:anywhere;border-radius:10px;place-content:center;padding:8px 12px;display:grid;position:absolute;overflow:visible;transform:translate(-50%,-50%)}.theory-flowchart__nodes li.is-start_end{border-radius:999px}.theory-flowchart__nodes li>span{color:#59708f;font-size:11px}.theory-flowchart__nodes li>strong{white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%;color:inherit;font-size:var(--node-font-size,16px);line-height:1.25}.studio-presented-block{box-sizing:border-box;max-width:100%;overflow:visible}.studio-presented-block p,.studio-presented-block li,.studio-presented-block dd,.studio-presented-block blockquote{color:var(--studio-block-text-color,inherit);font-size:var(--studio-block-text-size,inherit)}.studio-presented-block h1,.studio-presented-block h2,.studio-presented-block h3,.studio-presented-block>strong,.studio-presented-block article>strong,.studio-presented-block aside>strong{color:var(--studio-block-heading-color,inherit);font-size:var(--studio-block-heading-size,inherit)}.theory-flowchart__mobile-edges{display:none}@media (width<=700px){.studio-theory-blocks{font-size:16px}.theory-annotated-code{grid-template-columns:minmax(0,1fr)}.theory-flowchart__canvas{height:auto;min-height:0;padding:14px;overflow:visible}.theory-flowchart__canvas svg{display:none}.theory-flowchart__nodes{gap:10px;display:grid}.theory-flowchart__nodes li{width:auto;min-height:48px;position:static;transform:none}.theory-flowchart__mobile-edges{gap:7px;padding-left:20px;display:grid}.theory-flowchart__mobile-edges li{overflow-wrap:anywhere}}.public-python-preview-page{background:#f3f7fc;min-width:320px;margin:0}.public-python-preview__topbar{z-index:20;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;border-bottom:1px solid #d8e3f0;justify-content:space-between;align-items:center;gap:20px;padding:14px max(20px,50vw - 620px);display:flex;position:sticky;top:0}.public-python-preview__topbar a{color:#245dcc;font-weight:800;text-decoration:none}.public-python-preview__brand{align-items:center;gap:10px;font-size:18px;display:inline-flex;color:#172f55!important}.public-python-preview__brand img{width:38px;height:38px}.public-python-preview{width:min(1240px,100% - 32px);margin:0 auto;padding:24px 0 56px}.public-python-preview__notice{color:#294a73;background:linear-gradient(135deg,#eaf4ff,#eefaf5);border:1px solid #a9cbed;border-radius:18px;margin-bottom:20px;padding:18px 20px}.public-python-preview__notice strong{color:#153d75;margin-bottom:5px;font-size:18px;display:block}.public-python-preview__notice p{margin:0}@media (width<=700px){.public-python-preview__topbar{padding:10px 14px}.public-python-preview__topbar>a:last-child{font-size:13px}.public-python-preview__brand span{display:none}.public-python-preview{width:min(100% - 20px,1240px);padding-top:12px}.public-python-preview__notice{padding:15px}}.coding-lab{--coding-page:#fafbfc;--coding-surface:#fff;--coding-sidebar:#f7f9f8;--coding-ink:#1f2f46;--coding-muted:#66758a;--coding-border:#e6eaf0;--coding-blue:#3566d6;--coding-blue-soft:#f0f4fd;--coding-success:#2f7a55;--coding-danger:#b34444;background:var(--coding-page);color:var(--coding-ink);min-height:calc(100vh - 60px)}.coding-panel{background:var(--coding-surface);border-color:var(--coding-border);box-shadow:0 5px 24px #252d3a08}.coding-heading{max-width:1680px;margin-inline:auto}.coding-course{max-width:1180px;margin-inline:auto}.coding-course__summary{border:1px solid var(--coding-border);background:#fff;border-radius:18px;justify-content:space-between;align-items:end;gap:28px;margin-bottom:22px;padding:clamp(20px,3vw,34px);display:flex}.coding-course__summary h2{margin:2px 0 6px;font-size:clamp(24px,3vw,34px)}.coding-course__summary p{color:var(--coding-muted)}.coding-course__progress{grid-template-columns:auto 1fr;align-items:baseline;gap:5px 12px;min-width:min(310px,100%);display:grid}.coding-course__progress>strong{color:var(--coding-blue);font-size:28px}.coding-course__progress>span{color:var(--coding-muted);text-align:right}.coding-course__progress>div{background:#edf0f4;border-radius:99px;grid-column:1/-1;height:7px;overflow:hidden}.coding-course__progress>div>span{border-radius:inherit;background:var(--coding-blue);height:100%;display:block}.coding-modules{gap:12px;display:grid}.coding-module{border:1px solid var(--coding-border);background:#fff;border-radius:15px;overflow:clip}.coding-module>summary{cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:17px 20px;list-style:none;display:grid}.coding-module>summary::-webkit-details-marker{display:none}.coding-module>summary>span:nth-child(2){gap:2px;display:grid}.coding-module summary small{color:var(--coding-muted);font-weight:400}.coding-module__number,.coding-task-row__number{background:var(--coding-blue-soft);width:30px;height:30px;color:var(--coding-blue);border-radius:9px;place-items:center;font-weight:750;display:grid}.coding-task-list{border-top:1px solid var(--coding-border)}.coding-lab .coding-task-row{text-align:left;border:0;border-bottom:1px solid #eef1f5;border-radius:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;padding:13px 20px;display:grid}.coding-task-row:last-child{border-bottom:0}.coding-task-row>span:nth-child(2){gap:1px;display:grid}.coding-task-row>span:last-child{color:var(--coding-muted);font-size:13px}.coding-task-row--completed>span:last-child{color:var(--coding-success)}.coding-task-row--in_progress{box-shadow:inset 3px 0 var(--coding-blue);background:#f7f9ff!important}.coding-course-history{border-top:1px solid var(--coding-border);margin-top:22px;padding:16px 0}.coding-course-history>summary{cursor:pointer;font-weight:700}.coding-course-history>summary span{color:var(--coding-muted);margin-left:8px}.coding-course-history .coding-history{margin-top:14px}.coding-ide{border:1px solid var(--coding-border);background:#fbfcfd;border-radius:18px;max-width:1680px;margin:0 auto;overflow:clip;box-shadow:0 12px 40px #252d3a0d}.coding-idebar{background:var(--coding-surface);border-bottom:1px solid var(--coding-border);justify-content:space-between;align-items:center;gap:20px;min-height:72px;padding:14px 18px;display:flex}.coding-idebar>div{align-items:center;gap:12px;min-width:0;display:flex}.coding-idebar strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.coding-idebar__status{flex:none;justify-content:flex-end}.coding-back-link{white-space:nowrap;font-weight:650}.coding-save-state{color:var(--coding-muted);align-items:center;gap:7px;font-size:13px;display:inline-flex}.coding-save-state:before{content:"";background:#87a08f;border-radius:99px;width:7px;height:7px}.coding-save-state--failed{color:var(--coding-danger)}.coding-save-state--failed:before{background:var(--coding-danger)}.coding-save-state--saving:before{background:#c08a3e;animation:1s infinite alternate coding-pulse}@keyframes coding-pulse{to{opacity:.3}}.coding-condition{border-color:#dfe6ef;margin:18px;padding:clamp(20px,3vw,34px);box-shadow:0 10px 30px #25395b0f}.coding-condition__title{border-bottom:1px solid #edf1f5;justify-content:space-between;align-items:start;gap:20px;padding-bottom:18px;display:flex}.coding-condition__title h2{letter-spacing:-.035em;color:#1e304a;margin:2px 0 6px;font-size:clamp(25px,3vw,36px)}.coding-condition__title>div>span{color:var(--coding-muted);font-size:14px}.coding-goal{max-width:920px;font-size:clamp(18px,2vw,22px);line-height:1.6;margin:24px 0!important}.coding-condition__sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;max-width:1180px;margin-top:18px;display:grid}.coding-condition__sections details{background:#fbfcfe;border:1px solid #e2e8f0;border-radius:12px;padding:13px 14px;transition:border-color .16s,box-shadow .16s,background .16s}.coding-condition__sections details:hover{border-color:#cbd8ea;box-shadow:0 4px 14px #25395b0d}.coding-condition__sections summary{cursor:pointer;align-items:center;gap:8px;font-weight:700;list-style:none;display:flex}.coding-condition__sections summary::-webkit-details-marker{display:none}.coding-condition__sections summary:before{content:"›";border:1px solid var(--coding-border);width:18px;height:18px;color:var(--coding-blue);border-radius:5px;place-items:center;font-size:18px;line-height:1;transition:transform .16s;display:inline-grid}.coding-condition__sections details[open] summary:before{transform:rotate(90deg)}.coding-condition__sections details>:not(summary){margin-left:26px}.coding-condition__sections details[open] summary{color:var(--coding-blue)}.coding-task-navigator{border:1px solid var(--coding-border);background:#fff;border-radius:14px;gap:12px;max-width:1680px;margin:0 auto 16px;padding:14px 18px;display:grid}.coding-task-navigator__heading{min-width:0;color:var(--coding-ink);justify-content:space-between;align-items:center;gap:16px;display:flex}.coding-task-navigator__heading>div{gap:3px;min-width:0;display:grid}.coding-task-navigator__heading strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.coding-task-navigator__heading>span{color:var(--coding-muted);flex:none;font-size:13px;font-weight:700}.coding-task-rail{scrollbar-width:thin;gap:7px;min-width:0;max-width:100%;padding:2px 1px 5px;display:flex;overflow-x:auto}.coding-task-rail__item{border:1px solid var(--coding-border);min-width:58px;color:var(--coding-ink);cursor:pointer;font:inherit;background:#f8fafc;border-radius:9px;flex:none;align-items:center;gap:6px;padding:7px 10px;font-size:12px;display:inline-flex}.coding-task-rail__item b{width:22px;height:22px;color:var(--coding-ink);background:#eef2f7;border-radius:6px;place-items:center;display:grid}.coding-task-rail__item span{white-space:nowrap}.coding-task-rail__item:disabled{cursor:default;opacity:1}.coding-task-navigator__controls{justify-content:space-between;gap:12px;min-width:0;display:flex}.coding-task-navigator__controls button,.coding-task-navigator__controls span{color:var(--coding-blue);font:inherit;background:0 0;border:0;padding:4px 0;font-size:13px;font-weight:700}.coding-task-navigator__controls button{cursor:pointer}.coding-task-navigator__controls span{color:var(--coding-muted);font-weight:600}.coding-progress{background:0 0;border:0;flex-wrap:wrap;flex:0 auto;justify-content:flex-end;align-items:center;gap:6px;min-width:320px;display:flex}.coding-progress__fact{text-align:left;background:#f8fafc;border:1px solid #e1e7ef;border-radius:999px;align-items:baseline;gap:7px;min-width:0;padding:7px 10px;display:inline-flex}.coding-progress__fact small{color:var(--coding-muted);white-space:nowrap;font-size:11px}.coding-progress__fact b{white-space:nowrap;color:#243a59;font-size:13px}.coding-progress__fact.is-success b{color:var(--coding-success)}.coding-workspace{min-width:0;padding:clamp(14px,2vw,26px)}.coding-workspace__heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:12px;display:flex}.coding-workspace__heading h2,.coding-workspace__heading p{margin:0}.coding-workspace__heading>p{color:var(--coding-muted);font-size:13px}.coding-workspace-expanded-body{overflow:hidden}.coding-ide--expanded{z-index:100;border:0;border-radius:0;max-width:none;position:fixed;inset:0;overflow:auto}.coding-ide--expanded .coding-condition{display:none}.coding-ide--expanded .coding-workspace{padding:18px clamp(18px,3vw,48px) 30px}.coding-ide--expanded .coding-code-editor .cm-editor{height:clamp(520px,58vh,800px)}.coding-ide--standalone{border-radius:14px;max-width:none}.coding-standalone .spa-shell{grid-template-columns:minmax(0,1fr)}.coding-standalone .spa-sidebar,.coding-standalone .student-topbar,.coding-standalone .student-menu-button{display:none!important}.coding-standalone .spa-main{padding:0!important}.coding-lab--workspace{min-height:100vh;padding:14px}.coding-lab--workspace .coding-heading{margin-bottom:12px}.coding-ide .coding-toolbar{justify-content:space-between;min-height:44px}.coding-ide .coding-editors,.coding-ide .coding-editors--blocks{grid-template-columns:minmax(0,1fr)}.coding-ide .coding-blocks-pane,.coding-ide .coding-python-pane{box-shadow:none;border-radius:15px}.coding-code-editor{background:#fbfcff;border:1px solid #e5e8ef;border-radius:12px;overflow:hidden}.coding-code-editor .cm-content{caret-color:#264f9b;padding:12px 0 80px}.coding-runbar{grid-template-columns:auto minmax(280px,1fr) auto;align-items:center;gap:14px;padding:10px 0 14px;display:grid}.coding-run-semantics{max-width:620px;line-height:1.45}.coding-run-actions{margin:0}.coding-run-actions kbd{background:#ffffff2e;border-radius:5px;margin-left:6px;padding:1px 5px;font:11px/1.4 inherit}.coding-runtime-state{color:var(--coding-muted);white-space:nowrap;align-items:center;gap:8px;margin:0;display:inline-flex}.coding-runtime-state>span{background:#8d99aa;border-radius:99px;width:8px;height:8px}.coding-runtime-state--loading>span,.coding-runtime-state--running>span{background:#c28a37;animation:.8s infinite alternate coding-pulse}.coding-runtime-state--completed>span,.coding-runtime-state--ready>span{background:var(--coding-success)}.coding-runtime-state--error>span,.coding-runtime-state--timeout>span,.coding-runtime-state--output_limit>span{background:var(--coding-danger)}.coding-console{resize:vertical;border-color:#dfe6ef;grid-template-columns:minmax(220px,.34fr) minmax(0,.66fr);min-height:240px;padding:0;display:grid;overflow:hidden;box-shadow:0 8px 24px #25395b0a}.coding-console__input{border-right:1px solid var(--coding-border);background:#f8fafc;padding:18px}.coding-console__input label{gap:2px;margin-bottom:10px;display:grid}.coding-console__input label span{color:var(--coding-muted);font-size:12px}.coding-console textarea{resize:vertical;width:100%;min-height:128px;color:var(--coding-ink);background:#fff;border:1px solid #d8dbe2;border-radius:10px;padding:12px;font:14px/1.6 Consolas,monospace}.coding-console__result{background:#fff;min-width:0}.coding-console__head{border-bottom:1px solid var(--coding-border);justify-content:space-between;align-items:center;gap:10px;padding-right:10px;display:flex}.coding-console__head>button{flex:none;padding:6px 9px;font-size:12px}.coding-console__tabs{gap:4px;min-width:0;padding:9px 12px;display:flex;overflow-x:auto}.coding-console__tabs button{background:0 0;border:0;padding:7px 12px}.coding-console__tabs button[aria-selected=true]{background:var(--coding-blue-soft);color:#304f96;box-shadow:inset 0 -2px var(--coding-blue)}.coding-console__tabs button{color:#56667d;border-radius:8px;font-weight:650}.coding-current-run{color:var(--coding-muted);align-items:center;gap:7px;font-size:13px;display:flex;margin:12px 18px 0!important}.coding-current-run>span{background:#8d99aa;border-radius:99px;width:7px;height:7px}.coding-current-run--completed>span,.coding-current-run--ready>span{background:var(--coding-success)}.coding-current-run--error>span,.coding-current-run--timeout>span,.coding-current-run--output_limit>span{background:var(--coding-danger)}.coding-console__result pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#2d3c51;min-height:124px;max-height:300px;margin:0;padding:14px 18px 18px;font:14px/1.65 Consolas,monospace;overflow:auto}.coding-console__result pre.coding-console__error{color:#842e2e}.coding-error-detail{border-left:3px solid var(--coding-danger);color:#842e2e;overflow-wrap:anywhere;background:#fff3f1;margin:0 16px 16px;padding:12px}.coding-tests{gap:8px;max-height:300px;padding:14px;display:grid;overflow:auto}.coding-tests article{border:1px solid var(--coding-border);border-radius:10px;align-items:center;gap:12px;padding:11px 12px;display:flex}.coding-tests article>span{background:#edf0f4;border-radius:99px;place-items:center;width:24px;height:24px;font-weight:800;display:grid}.coding-tests article>div{display:grid}.coding-tests small{color:var(--coding-muted)}.coding-tests .is-passed{background:#f4faf6;border-color:#cfe4d7}.coding-tests .is-passed>span{color:var(--coding-success);background:#dcefe2}.coding-tests .is-failed{background:#fff8f7;border-color:#efd0cc}.coding-tests .is-failed>span{color:var(--coding-danger);background:#f6deda}.coding-submitbar{justify-content:flex-end;align-items:center;gap:10px;max-width:1680px;margin:14px auto 0;display:flex}.coding-secondary-action{color:var(--coding-muted)!important;background:#f8fafc!important;border-color:#e2e7ee!important}.coding-runtime-reset{border-style:dashed!important}.coding-success{color:#286046;background:#edf5ef;border:1px solid #d3e6d9;border-radius:12px;padding:13px 16px}.coding-run-semantics{flex:300px;max-width:720px}.coding-test-facts{color:#4f5f74;margin-top:8px;font-size:13px}.coding-test-facts p{margin:4px 0}.coding-test-facts code{white-space:pre-wrap;overflow-wrap:anywhere}.coding-hints{gap:10px;display:grid}.coding-hints article{border:1px solid var(--coding-border);background:#fff;border-radius:10px;padding:10px 12px}.coding-hints article p{margin-bottom:0}.coding-attempt-history,.coding-results,.coding-attempt-detail,.coding-authoring-summary,.coding-authoring-form,.coding-lifecycle-actions{max-width:1680px;margin-inline:auto}.coding-attempt-history{border-color:#dfe6ef;margin-top:18px;padding:0;overflow:hidden;box-shadow:0 7px 22px #25395b0a}.coding-attempt-history>summary{cursor:pointer;grid-template-columns:minmax(180px,1fr) auto auto auto;align-items:center;gap:18px;padding:16px 20px;list-style:none;display:grid}.coding-attempt-history>summary::-webkit-details-marker{display:none}.coding-attempt-history>summary>span:first-child{display:grid}.coding-attempt-history>summary small{color:var(--coding-muted);font-weight:400}.coding-attempt-history>summary>span:not(:first-child){color:var(--coding-muted);font-size:13px}.coding-attempt-history__body{border-top:1px solid var(--coding-border);padding:0 20px 20px}.coding-section-heading{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.coding-section-heading h2,.coding-section-heading .coding-eyebrow{margin-top:0}.coding-section-heading>p{max-width:520px;color:var(--coding-muted);text-align:right}.coding-check-timeline{gap:10px;display:grid}.coding-check-timeline details{border:1px solid var(--coding-border);background:var(--coding-surface);border-radius:12px}.coding-check-timeline summary{cursor:pointer;grid-template-columns:auto minmax(100px,1fr) auto auto;align-items:center;gap:12px;padding:14px 16px;display:grid}.coding-check-timeline details>:not(summary){margin-inline:16px}.coding-check-timeline time{color:var(--coding-muted);font-size:13px}.coding-check-dot{background:var(--coding-danger);border-radius:99px;width:11px;height:11px}.coding-check-dot.is-passed{background:var(--coding-success)}.coding-check-meta{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.coding-check-meta>div{background:#f6f8fb;border-radius:8px;min-width:0;padding:9px}.coding-check-meta dt{color:var(--coding-muted);font-size:11px}.coding-check-meta dd{overflow-wrap:anywhere;margin:2px 0 0;font-size:12px}.coding-authoring-summary{justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px;display:flex}.coding-authoring-summary>div:last-child{color:var(--coding-muted);flex-wrap:wrap;align-items:center;gap:12px;display:flex}.coding-authoring-form{gap:18px;display:grid}.coding-authoring-form>.coding-panel{padding:clamp(18px,2.5vw,30px)}.coding-ordered-list{gap:14px;margin:16px 0;display:grid}.coding-ordered-item{border:1px solid var(--coding-border);background:#fbfcff;border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:14px;padding:14px;display:grid}.coding-ordered-item .coding-field{margin:0}.coding-order-number{background:var(--coding-blue-soft);color:#304f96;border-radius:99px;place-items:center;width:28px;height:28px;font-weight:700;display:grid}.coding-order-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.coding-order-actions button{padding:7px 9px;font-size:13px}.coding-public-test>div:nth-child(2){min-width:0}.coding-check-label{align-self:center;align-items:center;gap:8px;display:flex}.coding-expected-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.coding-sticky-actions{z-index:5;border:1px solid var(--coding-border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffefbf0;border-radius:14px;padding:12px 16px;position:sticky;bottom:10px;box-shadow:0 8px 30px #252d3a1f}.coding-lifecycle-actions{padding:14px 0}.coding-result-list{gap:10px;display:grid}.coding-result-row{justify-content:space-between;align-items:center;gap:20px;display:flex}.coding-result-row>div{gap:4px;display:grid}.coding-result-row>div:last-child{text-align:right;color:var(--coding-muted);font-size:14px}.coding-attempt-detail details>summary{cursor:pointer;font-weight:700}.coding-facts{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:18px 0;display:grid}.coding-facts>div{background:#f6f7f9;border-radius:10px;min-width:0;padding:12px}.coding-facts dt{color:var(--coding-muted);font-size:12px}.coding-facts dd{overflow-wrap:anywhere;margin:4px 0 0}.coding-feedback-card{background:#f4faf6;border:1px solid #d3e6d9;border-radius:12px;margin-top:18px;padding:16px}.coding-review-form{border-top:1px solid var(--coding-border);margin-top:22px;padding-top:18px}.coding-review-comment{grid-column:span 2}@media (width<=1180px){.coding-ide .coding-editors{grid-template-columns:minmax(0,1fr)}.coding-condition__title{flex-direction:column}.coding-progress{justify-content:flex-start;width:100%;min-width:0}}@media (width<=1350px) and (width>=701px){.coding-ide .coding-editors{grid-template-columns:minmax(0,1fr)}}@media (width<=700px){.coding-lab{padding:14px 10px 24px}.coding-heading{flex-direction:column;gap:8px}.coding-course__summary{flex-direction:column;align-items:stretch;padding:20px 16px}.coding-course__progress{min-width:0}.coding-module>summary{grid-template-columns:auto minmax(0,1fr);padding-inline:14px}.coding-module>summary>b{grid-column:2}.coding-lab .coding-task-row{grid-template-columns:auto minmax(0,1fr);padding-inline:14px}.coding-task-row>span:last-child{grid-column:2}.coding-ide{border-radius:16px}.coding-idebar{flex-direction:column;align-items:flex-start}.coding-idebar>div{justify-content:space-between;width:100%}.coding-idebar__status{flex-wrap:wrap}.coding-idebar__status .coding-link-button{text-align:center;flex:180px}.coding-condition{margin:10px;padding:22px 16px}.coding-condition__sections{grid-template-columns:minmax(0,1fr)}.coding-task-navigator{margin-inline:10px;padding:12px}.coding-task-navigator__heading{flex-direction:column;align-items:flex-start;gap:4px}.coding-task-navigator__heading strong{white-space:normal}.coding-task-navigator__controls{flex-wrap:wrap}.coding-progress{background:0 0;border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0;display:grid}.coding-progress__fact{border:1px solid var(--coding-border);border-radius:9px}.coding-workspace{padding:10px}.coding-workspace__heading{flex-direction:column;align-items:start;gap:3px}.coding-ide .coding-toolbar{align-items:stretch}.coding-tabs{order:-1;width:100%}.coding-tabs button{flex:1}.coding-runbar{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:5px}.coding-run-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.coding-run-actions button{white-space:normal;min-height:45px;padding-inline:8px}.coding-runtime-state{white-space:normal}.coding-console{resize:none;grid-template-columns:minmax(0,1fr)}.coding-console__input{border-right:0;border-bottom:1px solid var(--coding-border)}.coding-code-editor .cm-editor{height:390px}.coding-console__head{flex-direction:column;align-items:stretch;padding:0 10px 9px}.coding-console__tabs{padding-inline:0}.coding-console__tabs button{white-space:nowrap}.coding-submitbar{flex-wrap:wrap;padding:0 4px}.coding-submitbar button{flex:140px}.coding-section-heading,.coding-authoring-summary,.coding-result-row{flex-direction:column;align-items:stretch}.coding-section-heading>p,.coding-result-row>div:last-child{text-align:left}.coding-ordered-item{grid-template-columns:auto minmax(0,1fr)}.coding-order-actions{grid-column:1/-1;justify-content:flex-start}.coding-check-timeline summary{grid-template-columns:auto minmax(0,1fr)}.coding-check-timeline summary time{grid-column:2}.coding-attempt-history>summary{grid-template-columns:minmax(0,1fr) auto;gap:7px 12px}.coding-attempt-history>summary>span:not(:first-child){grid-column:1}.coding-attempt-history>summary>b{grid-area:1/2}.coding-check-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.coding-review-comment{grid-column:auto}.coding-sticky-actions{bottom:4px}.coding-ide--expanded .coding-workspace{padding:10px}.coding-ide--expanded .coding-code-editor .cm-editor{height:min(58vh,520px)}}.coding-lab--olympiad{width:min(1440px,100%);min-width:0;margin-inline:auto}.coding-olympiad,.coding-olympiad *{min-width:0}.coding-olympiad-filters{grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(150px,1fr));gap:12px;margin:18px 0 22px;display:grid}.coding-olympiad-filters label,.coding-olympiad-form label,.coding-olympiad-stdin,.coding-test-result label{color:var(--coding-muted,#52606d);gap:6px;font-weight:700;display:grid}.coding-olympiad-filters input,.coding-olympiad-filters select,.coding-olympiad-form input,.coding-olympiad-form select,.coding-olympiad-form textarea,.coding-olympiad-stdin textarea{border:1px solid var(--coding-border,#ccd5df);background:var(--coding-surface,#fff);width:100%;color:inherit;font:inherit;border-radius:12px;padding:10px 12px}.coding-olympiad-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.coding-olympiad-card{color:inherit;gap:10px;text-decoration:none;display:grid}.coding-olympiad-card>div,.coding-olympiad-task__header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.coding-badge--solved,.coding-judge-result--accepted,.coding-test-result--accepted{background:#effcf6;border-color:#72c9a5}.coding-badge--attempted,.coding-judge-result--wrong_answer,.coding-test-result--wrong_answer{background:#fff9ec;border-color:#efbd72}.coding-olympiad-statement{gap:20px;margin-block:18px;display:grid}.coding-olympiad-statement p,.coding-olympiad-card h3,.coding-test-result,.coding-olympiad-edit-row{overflow-wrap:anywhere}.coding-olympiad-examples{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.coding-olympiad-examples article{border:1px solid var(--coding-border,#dce3ea);border-radius:14px;padding:14px}.coding-olympiad pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;margin:6px 0 10px;overflow:auto}.coding-olympiad-workspace{grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);align-items:start;gap:16px;display:grid}.coding-olympiad-output{position:sticky;top:12px}.coding-olympiad-output pre,.coding-test-result pre,.coding-submission-source{color:#e8f2ff;background:#101b2d;border-radius:10px;padding:12px}.coding-olympiad-stdin{margin-top:14px}.coding-test-results,.coding-olympiad-history>div,.coding-olympiad-form{gap:14px;display:grid}.coding-judge-result,.coding-olympiad-history{margin-top:18px}.coding-test-result{border:1px solid var(--coding-border,#dce3ea);border-radius:12px;padding:12px}.coding-test-result header{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.coding-judge-result--runtime_error,.coding-judge-result--time_limit,.coding-judge-result--output_limit,.coding-judge-result--infrastructure_error,.coding-test-result--runtime_error,.coding-test-result--time_limit,.coding-test-result--output_limit,.coding-test-result--infrastructure_error{background:#fff5f5;border-color:#e49393}.coding-olympiad-form fieldset{border:0;gap:18px;padding:0;display:grid}.coding-olympiad-form__grid,.coding-olympiad-edit-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.coding-olympiad-edit-row>strong,.coding-olympiad-edit-row>button{grid-column:1/-1}.coding-lab-tools--olympiad{margin-top:12px}.coding-lab-tools--olympiad>a{grid-column:1/-1}@media (width<=900px){.coding-olympiad-filters,.coding-olympiad-grid,.coding-olympiad-workspace{grid-template-columns:repeat(2,minmax(0,1fr))}.coding-olympiad-workspace>*{grid-column:1/-1}.coding-olympiad-output{position:static}}@media (width<=620px){.coding-olympiad-filters,.coding-olympiad-grid,.coding-olympiad-examples,.coding-olympiad-form__grid,.coding-olympiad-edit-row{grid-template-columns:minmax(0,1fr)}.coding-olympiad-task__header{align-items:flex-start}.coding-olympiad .coding-actions>button,.coding-olympiad-author .coding-actions>button{width:100%}}.coding-lab--block-games{background:radial-gradient(circle at 9% 16%,#ffd2703d,#0000 24rem),radial-gradient(circle at 92% 10%,#8064e029,#0000 26rem),#f7f8ff}.block-games-course{max-width:1180px;margin-inline:auto}.block-games-course__hero{background:linear-gradient(135deg,#ece8ff,#e8f7ff 58%,#fff1df);border:1px solid #dadcf3;border-radius:28px;grid-template-columns:minmax(0,1fr) 190px;align-items:center;gap:32px;margin-bottom:24px;padding:clamp(24px,4vw,48px);display:grid;overflow:hidden}.block-games-course__hero h2{color:#1d3762;letter-spacing:-.04em;max-width:720px;margin:4px 0 12px;font-size:clamp(30px,4vw,52px);line-height:1.02}.block-games-course__hero p:last-child{color:#526580;max-width:720px}.block-games-course__mascot{background:#7256cf;border-radius:50%;place-items:center;width:156px;height:156px;display:grid;position:relative;box-shadow:inset 0 -12px #21245b26,0 20px 40px #423b892e}.block-games-course__mascot:before,.block-games-course__mascot:after{content:"";background:#ff8a67;border-radius:50%;width:38px;height:18px;position:absolute;top:62px}.block-games-course__mascot:before{left:-20px;transform:rotate(-18deg)}.block-games-course__mascot:after{right:-20px;transform:rotate(18deg)}.block-games-course__mascot span{color:#ffd968;font-size:54px;position:absolute;top:-13px;right:-6px;transform:rotate(10deg)}.block-games-course__mascot b{color:#fff;letter-spacing:.08em;font-size:28px}.block-games-course__missions{gap:14px;margin:0;padding:0;list-style:none;display:grid}.block-games-course__empty{margin-top:18px}.block-games-course__empty a{color:#fff;background:linear-gradient(135deg,#ff7c6e,#f45f7b);border-radius:13px;justify-content:center;align-items:center;min-height:44px;margin-top:10px;padding:10px 16px;font-weight:800;text-decoration:none;display:inline-flex}.block-games-course__empty a:focus-visible{outline-offset:3px;outline:3px solid #243b77}.block-games-course__missions li{background:#fff;border:1px solid #e0e4f1;border-radius:20px;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:18px;padding:20px;display:grid;box-shadow:0 10px 30px #29375e0d}.block-games-course__missions li>span{color:#fff;background:linear-gradient(135deg,#5b78dd,#7257c9);border-radius:16px;place-items:center;width:48px;height:48px;font-size:20px;font-weight:800;display:grid}.block-games-course__missions li.is-completed>span{background:#36a67b}.block-games-course__missions li.is-locked{background:#f8f9fc}.block-games-course__missions small{color:#7559c3;text-transform:uppercase;letter-spacing:.06em;font-weight:800}.block-games-course__missions h3{color:#203856;margin:3px 0}.block-games-course__missions p{color:#68768c;margin:0}.block-games-entry{background:linear-gradient(105deg,#f0edff,#eef9ff);border:1px solid #d7d9f2;border-radius:17px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;margin:18px 0;padding:16px 18px;display:grid}.block-games-entry>span:first-child{color:#7653bf;background:#ffe17b;border-radius:13px;place-items:center;width:42px;height:42px;font-size:24px;display:grid}.block-games-entry strong,.block-games-entry small{display:block}.block-games-entry small{color:#68768c;margin-top:2px}.block-game{background:linear-gradient(145deg,#f4f1ff,#eef9ff 54%,#fff5e8);border:1px solid #d9dced;border-radius:24px;margin-top:14px;padding:clamp(18px,3vw,34px);overflow:hidden}.block-game__intro{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px;display:flex}.block-game__intro h2{color:#203856;margin:3px 0 0;font-size:clamp(25px,3vw,38px)}.block-game__intro>span{color:#4c397f;background:#fff;border-radius:12px;flex:none;padding:10px 14px;box-shadow:0 6px 18px #2b315e14}.block-game__layout{grid-template-columns:minmax(300px,.82fr) minmax(420px,1.18fr);align-items:start;gap:clamp(18px,3vw,34px);display:grid}.block-game__builder,.block-game__play{min-width:0}.block-game__builder>h3,.block-game__program h3{color:#2c4261;margin:0 0 6px}.block-game__builder>p{color:#67768c;margin:0 0 13px;font-size:14px}.block-game__palette{flex-wrap:wrap;gap:8px;display:flex}.coding-lab .block-game-block{color:#fff;text-align:left;border:0;border-radius:12px;align-items:center;gap:9px;min-width:0;font-weight:750;display:flex;box-shadow:inset 0 -3px #19254b1f}.coding-lab .block-game-block:hover:not(:disabled){color:#fff;filter:brightness(1.04);border:0;transform:translateY(-1px)}.block-game-block b{text-align:center;min-width:22px;font-size:17px}.coding-lab .block-game-block--blue{background:#417ed8}.coding-lab .block-game-block--yellow{color:#644a0b;background:#f5c94f}.coding-lab .block-game-block--purple{background:#805ac8}.coding-lab .block-game-block--mint{color:#154d42;background:#78d9bd}.coding-lab .block-game-block--coral{background:#ef765f}.block-game__program{background:#ffffffc7;border:1px solid #dfe3ef;border-radius:16px;margin-top:20px;padding:15px}.block-game__program>div{justify-content:space-between;align-items:center;gap:12px;display:flex}.block-game__program>div button{padding:5px 9px;font-size:12px}.block-game__program>p{color:#7a8798}.block-game__program ol{gap:7px;margin:10px 0 0;padding:0;list-style:none;display:grid}.block-game__program li{justify-content:space-between;padding:8px 9px 8px 12px}.block-game__program li>span:first-child{align-items:center;gap:8px;min-width:0;display:flex}.block-game__order{flex:none;gap:4px;display:flex}.coding-lab .block-game__order button{width:29px;height:29px;color:inherit;background:#ffffff24;border:1px solid #ffffffa6;padding:0}.block-game__stage{--game-cell:min(84px, 15vw);grid-template-columns:repeat(var(--game-columns), minmax(0, 1fr));grid-template-rows:repeat(var(--game-rows), 1fr);aspect-ratio:var(--game-columns) / var(--game-rows);background:linear-gradient(150deg,#496cca,#6655b4 60%,#2b9d87);border:8px solid #fff;border-radius:22px;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 36px #27356b29}.block-game__stage:before{content:"";z-index:0;background:radial-gradient(circle at 20% 20%,#ffffff3d 0 2px,#0000 3px) 0 0/70px 70px,radial-gradient(circle at 72% 32%,#ffde72b3 0 2px,#0000 3px) 0 0/96px 96px;position:absolute;inset:0}.block-game__cell{z-index:1;border:1px solid #ffffff21}.block-game__star,.block-game__obstacle,.block-game__character{z-index:3;place-self:center}.block-game__star{color:#ffe06d;filter:drop-shadow(0 4px 6px #26234e59);font-size:clamp(24px,4vw,42px);animation:2.8s ease-in-out infinite block-game-star}.block-game__obstacle{color:#fff;background:#ef765f;border-radius:12px;place-items:center;width:54%;height:54%;display:grid;box-shadow:inset 0 -7px #57232d26}.block-game__character{aspect-ratio:1;color:#512f5d;background:#ff9a6e;border:5px solid #ffe7b8;border-radius:45% 45% 40% 40%;place-items:center;width:64%;transition:grid-column .35s,grid-row .35s;display:grid;position:relative;box-shadow:0 8px #1c22522e}.block-game__character i:before,.block-game__character i:after{content:"";background:#ff9a6e;border-radius:50% 50% 20% 20%;width:25%;height:30%;position:absolute;top:-15%}.block-game__character i:before{left:7%;transform:rotate(-28deg)}.block-game__character i:after{right:7%;transform:rotate(28deg)}.block-game__character b{z-index:1;white-space:nowrap;font-size:clamp(10px,1.7vw,18px)}.block-game__actions{flex-wrap:wrap;gap:9px;margin-top:16px;display:flex}.block-game__message,.block-game__hint{background:#ffffffbf;border-radius:12px;padding:11px 13px}.block-game__message.is-success{color:#176446;background:#e7f8ef}.block-game__hint{color:#6d4b0e;background:#fff3ce}@keyframes block-game-star{50%{transform:translateY(-5px)rotate(6deg)}}@media (width<=900px){.block-game__layout{grid-template-columns:1fr}.block-game__play{width:min(100%,680px)}}@media (width<=700px){.block-games-course__hero{grid-template-columns:1fr;padding:24px 20px}.block-games-course__mascot{justify-self:center;width:118px;height:118px}.block-games-course__missions li{grid-template-columns:42px minmax(0,1fr);padding:16px}.block-games-course__missions li>span{border-radius:13px;width:40px;height:40px}.block-games-course__missions button{grid-column:1/-1;width:100%}.block-games-entry{grid-template-columns:40px minmax(0,1fr)}.block-games-entry>b{grid-column:2}.block-game{border-radius:18px;padding:16px}.block-game__intro{flex-direction:column;align-items:stretch}.block-game__intro>span{align-self:flex-start}.block-game__palette{grid-template-columns:1fr;display:grid}.coding-lab .block-game__palette .block-game-block{width:100%}.block-game__program{padding:12px}.block-game__program li{align-items:flex-start}.block-game__stage{border-width:5px;border-radius:16px}.block-game__obstacle{border-radius:8px}.block-game__character{border-width:3px}.block-game__actions{grid-template-columns:1fr;display:grid}.block-game__actions button{width:100%}}@media (prefers-reduced-motion:reduce){.block-game__star{animation:none}.block-game__character,.coding-lab .block-game-block{transition:none;transform:none!important}}.coding-lab-tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 24px;display:grid}.coding-lab-tools a{color:#102653;background:#f8fbff;border:1px solid #cbd9ff;border-radius:18px;grid-template-columns:auto 1fr;align-items:center;gap:2px 12px;min-width:0;padding:16px;text-decoration:none;display:grid}.coding-lab-tools a>span{color:#315be8;grid-row:1/3;font-size:1.75rem}.coding-lab-tools a small{color:#57709d}.coding-project-list,.coding-project-workspace{gap:18px;display:grid}.coding-project-hero{background:linear-gradient(135deg,#eef4ff,#f4efff 60%,#fff6ea);border:1px solid #d3ddff;border-radius:24px;padding:clamp(22px,4vw,40px)}.coding-project-hero h2{color:#102653;margin:4px 0 8px;font-size:clamp(1.7rem,3vw,2.55rem)}.coding-project-hero p{color:#405c8b;max-width:760px;margin:0}.coding-project-create{background:#fff;border:1px solid #dce4f4;border-radius:18px;align-items:end;gap:12px;padding:16px;display:flex}.coding-project-create label,.coding-project-add-file label{color:#21365e;flex:1;gap:6px;font-weight:800;display:grid}.coding-project-create input,.coding-project-add-file input,.coding-project-workspace__heading input{color:#102653;min-width:0;font:inherit;background:#fff;border:1px solid #b9cae8;border-radius:11px;padding:11px 13px}.coding-project-cards{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;display:grid}.coding-project-cards a{color:#102653;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;text-decoration:none;display:grid}.coding-project-cards a>span{color:#315be8;font-size:1.8rem}.coding-project-cards a div{gap:4px;min-width:0;display:grid}.coding-project-cards small{color:#65799d}.coding-project-workspace__heading{justify-content:space-between;align-items:end;gap:18px;display:flex}.coding-project-workspace__heading>div:first-child{gap:5px;min-width:min(100%,420px);display:grid}.coding-project-workspace__heading>div:last-child{flex-wrap:wrap;gap:10px;display:flex}.coding-project-workspace__heading input{font-size:clamp(1.45rem,3vw,2.2rem);font-weight:900}.coding-project-tabs{gap:8px;padding:4px 2px;display:flex;overflow-x:auto}.coding-project-tabs>div{background:#fff;border:1px solid #cbd9ee;border-radius:11px;flex:none;display:flex;overflow:hidden}.coding-project-tabs button{color:#304a77;background:0 0;border:0;padding:10px 13px;font-weight:800}.coding-project-tabs button[aria-selected=true]{color:#fff;background:#244fdb}.coding-project-tabs button[aria-label^=Удалить]{color:#a83131;border-left:1px solid #dbe3f0}.coding-project-add-file{background:#f6f9ff;border-radius:15px;flex-wrap:wrap;align-items:end;gap:10px;padding:12px 14px;display:flex}.coding-project-add-file label{flex:0 280px}.coding-project-add-file button{color:#21408a;background:#fff;border:1px solid #9eb5e5;border-radius:10px;padding:11px 15px;font-weight:800}.coding-project-add-file small{color:#60759a;width:100%}.coding-project-layout{grid-template-columns:minmax(0,1.5fr) minmax(300px,.7fr);align-items:stretch;gap:16px;display:grid}.coding-project-layout .coding-python-pane{min-width:0}.coding-project-layout .coding-code-editor{min-height:460px}.coding-project-output{flex-direction:column;min-width:0;display:flex}.coding-project-output>div{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.coding-project-output pre{color:#e7f0ff;white-space:pre-wrap;overflow-wrap:anywhere;background:#0c1730;border-radius:12px;flex:1;max-width:100%;min-height:260px;padding:14px;overflow:auto}.coding-danger{color:#9b2020;background:#fff1f1;border:1px solid #ef9c9c;border-radius:11px;padding:10px 14px;font-weight:800}@media (width<=720px){.coding-lab-tools{grid-template-columns:1fr}.coding-project-create,.coding-project-workspace__heading{flex-direction:column;align-items:stretch}.coding-project-create .coding-primary{width:100%}.coding-project-layout{grid-template-columns:minmax(0,1fr)}.coding-project-layout .coding-code-editor{min-height:340px}.coding-project-output pre{min-height:160px}}.coding-game{gap:16px;display:grid}.coding-game__hero{background:linear-gradient(135deg,#eef5ff,#f4edff 58%,#fff4d7);border:1px solid #c9d6ff;border-radius:24px;justify-content:space-between;align-items:center;gap:20px;padding:clamp(22px,4vw,38px);display:flex}.coding-game__hero h2{color:#102653;margin:3px 0 8px;font-size:clamp(2rem,4vw,3.3rem)}.coding-game__hero p{color:#425d89;max-width:760px;margin:0}.coding-game__score{text-align:center;background:#fff;border-radius:18px;flex:none;min-width:130px;padding:15px;display:grid;box-shadow:0 12px 30px #20397c1f}.coding-game__score span{color:#60749a;font-weight:700}.coding-game__score strong{color:#244fdb;font-size:1.75rem}.coding-game__score small{color:#52698f;margin-top:4px}.coding-game__stage{background:#081b48;border-radius:22px;justify-items:center;gap:14px;padding:16px;display:grid}.coding-game canvas{aspect-ratio:12/7;border-radius:16px;outline:3px solid #0000;width:min(100%,900px);height:auto;display:block}.coding-game canvas:focus-visible{outline-offset:4px;outline-color:#ffcc4b}.coding-game__controls{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.coding-game__status{color:#155a48;text-align:center;background:#edf8f3;border-radius:14px;margin:0;padding:13px 16px;font-weight:800}.coding-game__boundary{color:#68471a;background:#fff8eb;border-left:4px solid #f0a13b;border-radius:10px;padding:15px 17px}.coding-game__boundary p{margin:5px 0 0}.coding-game-learning-layout{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:start;gap:18px;display:grid}.coding-game-editor,.coding-game-preview{min-width:0}.coding-game-editor{gap:12px;display:grid}.coding-game-editor .coding-section-heading,.coding-game-preview .coding-section-heading{margin:0}.coding-game-editor .coding-section-heading h3,.coding-game-preview .coding-section-heading h3{color:#17305f;margin:2px 0 0;font-size:1.35rem}.coding-game-editor .coding-section-heading>span{color:#64799c;font-size:.88rem}.coding-game-editor>p{color:#536b94;margin:0}.coding-game-editor>p code{color:#593eb2;font-weight:800}.coding-game-editor .coding-code-editor{min-height:510px}.coding-game__editor-actions{flex-wrap:wrap;gap:9px;display:flex}.coding-game-preview{gap:12px;display:grid}.coding-game-preview .coding-game__stage{padding:12px}.coding-game-checks{background:#fff9ec;border:1px solid #ecd49e;border-radius:18px;padding:18px}.coding-game-checks.is-passed{background:#effbf6;border-color:#9bd8c3}.coding-game-checks h3{color:#19325e;margin:0 0 12px}.coding-game-checks>div{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:9px;display:grid}.coding-game-checks article{background:#fff;border-radius:12px;gap:9px;padding:11px 12px;display:flex}.coding-game-checks article>span{flex:none;font-weight:900}.coding-game-checks article.is-passed>span{color:#16805e}.coding-game-checks article.is-failed>span{color:#b04b3f}.coding-game-checks p,.coding-game-checks small{margin:0;display:block}.coding-game-checks small{color:#755921;margin-top:4px}@media (width<=620px){.coding-game__hero{flex-direction:column;align-items:stretch}.coding-game__score{text-align:left;grid-template-columns:1fr auto;align-items:center}.coding-game__controls{width:100%;display:grid}.coding-game__controls button{width:100%}.coding-game-learning-layout{grid-template-columns:minmax(0,1fr)}.coding-game-editor .coding-code-editor{min-height:430px}.coding-game__editor-actions{display:grid}.coding-game__editor-actions button{width:100%}.coding-game-checks>div{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.coding-game canvas{scroll-behavior:auto}}.coding-notebook{gap:18px;display:grid}.coding-notebook__runtime{color:#294a83;background:#f3f7ff;border:1px solid #c8d8f5;border-radius:14px;flex-wrap:wrap;justify-content:space-between;gap:8px 18px;padding:13px 16px;display:flex}.coding-notebook__runtime span{color:#5a7097}.coding-notebook__cells{gap:16px;display:grid}.coding-notebook-cell{background:#fff;border:1px solid #d5dfef;border-radius:17px;min-width:0;overflow:hidden;box-shadow:0 7px 22px #142c5b12}.coding-notebook-cell>header{color:#294a83;background:#eef3ff;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;font-weight:900;display:flex}.coding-notebook-cell>header div{gap:8px;display:flex}.coding-notebook-cell>header button{color:#244fba;background:#fff;border:1px solid #afc2e8;border-radius:9px;padding:7px 11px;font-weight:800}.coding-notebook-cell .coding-code-editor{border:0;border-radius:0;min-height:210px}.coding-notebook-cell--text{border-left:5px solid #f0a13b}.coding-notebook-cell--text textarea{resize:vertical;color:#263a60;border:0;width:100%;padding:18px;font:500 1rem/1.65 inherit;display:block}.coding-notebook-cell__output{background:#fafcff;border-top:1px solid #e1e7f1;padding:12px 15px}.coding-notebook-cell__output strong{color:#57709a;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}.coding-notebook-cell__output pre{color:#1a315a;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;min-height:36px;margin:7px 0 0;font:650 .96rem/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:auto}.coding-notebook-cell__output--error{background:#fff5f5;border-left:4px solid #d64b4b}.coding-notebook-cell__output--completed{background:#f3fcf8;border-left:4px solid #29a27b}.coding-notebook__add{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.coding-notebook__add button{color:#244fba;background:#f7faff;border:1px dashed #7898d7;border-radius:11px;padding:11px 15px;font-weight:850}.coding-notebook__add span{color:#64799c}@media (width<=720px){.coding-notebook .coding-project-workspace__heading>div:last-child{display:grid}.coding-notebook-cell>header{align-items:flex-start}.coding-notebook-cell>header div{flex-wrap:wrap;justify-content:flex-end}.coding-notebook__runtime{display:grid}}@media (width<=420px){.coding-idebar .coding-badge{display:none}.coding-block-workspace{height:360px}.coding-code-editor{font-size:13px}.coding-console__tabs button{padding-inline:8px}.coding-run-actions{grid-template-columns:minmax(0,1fr)}.coding-run-actions kbd{display:none}.coding-check-meta{grid-template-columns:minmax(0,1fr)}.coding-check-timeline summary{padding-inline:12px}.coding-authoring-form>.coding-panel{padding:16px 12px}.coding-order-actions button{flex:80px}}.coding-lab{--coding-page:#f7f9fc;--coding-surface:#fff;--coding-border:#e3e8f0;--coding-blue:#3b67c9}.coding-heading{padding-bottom:4px}.coding-task-navigator{background:#ffffffdb;box-shadow:0 5px 18px #25395b08}.coding-task-navigator__heading .coding-eyebrow{margin-bottom:2px}.coding-ide{background:#fff;box-shadow:0 14px 38px #25395b0f}.coding-idebar{background:#fff}.coding-condition{background:linear-gradient(135deg,#fff 0%,#fbfcff 100%)}.coding-condition__title>div:not(.coding-progress){min-width:0}.coding-condition__title>div>span{background:#f1f4f9;border-radius:999px;padding:4px 8px;font-size:12px;display:inline-flex}.coding-goal{color:#30435f;font-weight:560}.coding-condition__sections details>:not(summary){color:#44546b;margin-top:12px;line-height:1.65}.coding-condition__sections summary{color:#2a3c57;min-height:24px}.coding-course__summary{border-radius:16px;margin-bottom:14px;padding:clamp(18px,2.4vw,26px);box-shadow:0 8px 24px #25395b0a}.coding-course__summary h2{font-size:clamp(23px,2.6vw,30px)}.coding-course__summary p{margin-block:5px}.coding-modules{gap:10px}.coding-module{border-radius:13px}.coding-module>summary{gap:11px;padding:13px 16px}.coding-module__number,.coding-task-row__number{border-radius:8px;width:28px;height:28px}.coding-lab .coding-task-row{gap:11px;padding:11px 16px}.coding-task-rail__item{justify-content:center;min-width:40px;padding:6px}.coding-task-rail__item span{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.coding-task-rail__item b{border-radius:7px;width:26px;height:26px}.coding-task-navigator__controls:has(span:only-child){display:none}.coding-attempt-history>summary{min-height:66px}.coding-console__tabs button{white-space:nowrap}.coding-workspace{background:#fff}.coding-workspace__heading{border-bottom:1px solid #edf1f5;padding-bottom:10px}.coding-workspace__heading h2{color:#20334e}.coding-run-actions button:not(.coding-primary){color:#52627a;background:#f8fafc;border-color:#e2e7ef}.coding-run-actions button:not(.coding-primary):hover:not(:disabled){color:#334f85;background:#eef3fb}.coding-run-semantics{color:#7a8799!important;font-size:12px!important}.coding-console__input strong{color:#2a3c57}.coding-console__input label span{color:#8490a1}.coding-console__tabs button[aria-selected=true]{font-weight:750}.coding-console__result pre,.coding-tests{background:#fbfcfe}.coding-tests article{background:#fff}.coding-submitbar{padding-top:2px}.coding-attempt-history>summary>span:first-child strong{color:#2a3c57}@media (width<=700px){.coding-condition{margin:10px}.coding-condition__title{padding-bottom:14px}.coding-progress{justify-content:flex-start}.coding-progress__fact{width:auto;display:inline-flex}.coding-workspace__heading{padding-inline:2px}}@media (width<=420px){.coding-lab{padding-inline:10px}.coding-course__summary{padding:16px 14px}.coding-course__summary h2{font-size:23px}.coding-module>summary,.coding-lab .coding-task-row,.coding-condition__sections details{padding-inline:12px}.coding-condition__sections details>:not(summary){margin-left:0}.coding-console__input{padding:14px}.coding-attempt-history>summary{padding-inline:14px}}.coding-condition{background:linear-gradient(135deg,#f8fbff 0%,#fff 72%);border-left:3px solid #8eb0e8;margin:12px;padding:clamp(18px,2.4vw,26px)}.coding-condition__title{gap:14px;padding-bottom:12px}.coding-goal{font-size:clamp(17px,1.7vw,20px);line-height:1.5;margin:14px 0!important}.coding-condition__sections{gap:8px 12px;margin-top:12px}.coding-condition__sections details{border-radius:10px;padding:10px 12px}.coding-condition__sections details:first-child{background:#fff;border-left:3px solid #7ea6e5;grid-column:1/-1}.coding-condition__sections details>:not(summary){margin-top:8px;line-height:1.55}.coding-condition__sections summary{min-height:20px}.coding-task-navigator{gap:8px;margin-bottom:10px;padding:11px 14px}.coding-workspace{padding:clamp(12px,1.6vw,18px)}.coding-runbar{gap:8px;padding:8px 0 10px}.coding-code-editor .cm-editor{height:340px}.coding-ide--standalone .coding-code-editor .cm-editor{height:clamp(520px,58vh,800px)}.coding-console{min-height:180px}.coding-console__input{padding:14px}.coding-console textarea{min-height:104px}.coding-console__result pre{min-height:72px;max-height:240px;padding:11px 14px 14px}.coding-console__result pre.coding-console__empty{color:#7a8799;min-height:56px;font:13px/1.5 Inter,system-ui,sans-serif}.coding-console__input label small{color:#77869a;margin-top:5px;font-size:11px}.coding-input-example{color:#3c506c;white-space:pre-wrap;background:#f4f7fc;border-left:2px solid #b6cbed;margin-top:3px;padding:5px 7px;font:12px/1.45 Consolas,monospace;display:block}.coding-input-error{color:#873f38;background:#fff7f5;border:1px solid #f0c7c2;border-radius:9px;margin:0 14px 14px;padding:10px 12px}.coding-input-error p{margin:3px 0 7px}.coding-input-error details{margin-top:5px;font-size:12px}.coding-input-error details p{margin:5px 0 0}.coding-run-actions button:nth-child(2){color:#2d58aa;background:#f1f6ff;border-color:#91afe4;font-weight:700}.coding-run-actions button:nth-child(n+3){color:#607087}.coding-run-semantics{max-width:560px}.coding-attempt-history{margin-top:12px}@media (width<=700px){.coding-condition{margin:8px}.coding-condition__title{padding-bottom:10px}.coding-code-editor .cm-editor{height:320px}}@media (width<=420px){.coding-condition{margin:6px;padding:16px 12px}}.coding-condition{background:linear-gradient(135deg,#f1f6ff 0%,#fff 78%);border-color:#d2deef #d2deef #d2deef #6f9bdf;border-left-style:solid;border-left-width:4px;box-shadow:0 8px 24px #25395b12}.coding-module__number,.coding-task-row__number{color:#2458bd;background:#eaf2ff;border:1px solid #b8cef0;border-radius:9px;width:34px;height:34px;font-size:15px;font-weight:800}.coding-task-rail__item b{color:#2458bd;background:#eaf2ff;border:1px solid #b8cef0;border-radius:8px;width:29px;height:29px;font-size:15px;font-weight:800}.coding-task-rail__item--выполнено b{color:#28784d;background:#e3f4e9;border-color:#b9dec9}.coding-task-rail__item--текущее b{color:#fff;background:#345fd1;border-color:#345fd1}@media (width<=420px){.coding-module__number,.coding-task-row__number{width:32px;height:32px}.coding-task-rail__item b{width:28px;height:28px}}.coding-turtle-workspace{grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);align-items:start;gap:14px;display:grid}.coding-turtle-workspace .coding-editor-section{min-width:0}.coding-turtle-workspace .coding-editors{grid-template-columns:minmax(0,1fr)}.coding-turtle-workspace .coding-python-pane{min-width:0}.coding-turtle-result{background:#fff;border:1px solid #dbe4f0;border-radius:14px;min-width:0;padding:14px;box-shadow:0 3px 14px #25395b05}.coding-turtle-result--expanded,.coding-turtle-result--stacked{grid-column:1/-1;width:100%;max-width:none}.coding-turtle-result__heading{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px;display:flex}.coding-turtle-result__heading h2{color:var(--coding-ink);margin:0;font-size:18px}.coding-turtle-result__heading p{margin-bottom:3px}.coding-turtle-result__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.coding-turtle-result__count{color:var(--coding-muted);font-size:12px}.coding-turtle-result__toggle,.coding-turtle-result__toolbar button{min-height:32px;color:var(--coding-ink);font:inherit;cursor:pointer;background:#fff;border:1px solid #cbd8e8;border-radius:8px;padding:5px 10px;font-size:12px;font-weight:700}.coding-turtle-result__toggle:hover,.coding-turtle-result__toolbar button:hover{border-color:var(--coding-blue,#2f6feb);background:#f4f8fe}.coding-turtle-result__toggle:focus-visible,.coding-turtle-result__toolbar button:focus-visible{outline-offset:2px;outline:3px solid #2f6feb47}.coding-turtle-result__toolbar{flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-bottom:8px;display:flex}.coding-turtle-result__toolbar button[aria-pressed=true]{border-color:var(--coding-blue,#2f6feb);color:#244e9a;background:#eaf2fc}.coding-turtle-result__toolbar button:first-child,.coding-turtle-result__toolbar button:nth-child(2){min-width:34px;padding-inline:8px;font-size:17px;line-height:1}.coding-turtle-result__viewport{width:100%;min-width:0}.coding-turtle-canvas{background:#fff;border:1px solid #e4eaf2;border-radius:10px;width:100%;height:clamp(220px,36vw,520px);min-height:220px;display:block}.coding-input-error{border-color:#e7c2bd}.coding-input-error strong{color:#7c302a}@media (width>=901px){.coding-turtle-workspace{align-items:stretch}.coding-turtle-workspace .coding-editor-section--turtle{display:contents}.coding-turtle-workspace .coding-editor-section--turtle>.coding-toolbar{grid-area:1/1;margin-bottom:0}.coding-turtle-workspace .coding-editor-section--turtle>.coding-editors{grid-area:2/1;min-height:0}.coding-turtle-workspace>.coding-turtle-result:not(.coding-turtle-result--expanded):not(.coding-turtle-result--stacked){grid-area:2/2;height:100%}.coding-turtle-workspace .coding-python-pane{flex-direction:column;height:100%;min-height:0;display:flex}.coding-turtle-workspace .coding-code-editor{flex:auto;min-height:340px;display:flex}.coding-turtle-workspace .coding-code-editor .cm-editor{flex:auto;width:100%;height:auto;min-height:340px}.coding-turtle-workspace .coding-python-pane>.coding-muted{margin-top:auto}}@media (width<=900px){.coding-turtle-workspace{grid-template-columns:1fr}.coding-turtle-result{width:100%;max-width:none}}@media (width<=420px){.coding-turtle-result{padding:10px}.coding-turtle-result__heading{flex-direction:column}.coding-turtle-result__actions{justify-content:space-between;width:100%}.coding-turtle-result__toolbar{justify-content:flex-start}.coding-turtle-canvas{height:240px;min-height:180px}}.coding-lab{--coding-page:#f7f8fa;--coding-surface:#fff;--coding-ink:#263246;--coding-muted:#657080;--coding-blue:#4863a8;--coding-blue-soft:#eef2fa;--coding-mint:#eaf9f1;--coding-mint-strong:#19a873;--coding-success:#317154;--coding-border:#dde5ef;background:var(--coding-page)}.coding-heading{margin-bottom:14px;padding:4px 12px 14px;position:relative}.coding-heading:after{content:"";pointer-events:none;background:linear-gradient(135deg,#19b77a29,#4863a81f);border-radius:999px 999px 8px;width:82px;height:22px;position:absolute;bottom:8px;right:18px;transform:rotate(-7deg)}.coding-heading h1{color:#1f294a;font-size:clamp(28px,3vw,36px)}.coding-heading>div>p:last-child{color:var(--coding-muted)}.coding-course__summary{background:#fff;border-color:#dce4ee;position:relative;overflow:hidden}.coding-course__summary:after{content:"";pointer-events:none;border:18px solid #19b77a17;border-radius:50%;width:128px;height:128px;position:absolute;top:-38px;right:-24px}.coding-course__progress>strong{color:var(--coding-blue)}.coding-course__progress>div{background:#edf1f5}.coding-course__progress>div>span{background:linear-gradient(90deg, var(--coding-blue), var(--coding-mint-strong))}.coding-task-navigator{background:#fff;border-color:#dce4ee;box-shadow:0 7px 24px #2632460d}.coding-task-navigator__heading strong{color:#263246}.coding-task-rail__item b{color:#34445f;background:#edf1f6;border-radius:9px;width:30px;height:30px;font-size:15px}.coding-task-rail__item--выполнено,.coding-task-rail__item--выполнено b{border-color:#bfe4d0}.coding-task-rail__item--выполнено{background:#eaf9f1}.coding-task-rail__item--текущее{color:#fff;background:#4863a8;border-color:#4863a8;box-shadow:0 5px 14px #4863a833}.coding-task-rail__item--текущее b{color:#4863a8;background:#fff}.coding-ide{background:#fbfcfd;border-color:#dce4ee;grid-template-columns:minmax(300px,.67fr) minmax(0,1fr);column-gap:22px;display:grid;box-shadow:0 16px 42px #26324612}.coding-idebar{grid-column:1/-1}.coding-ide>.coding-condition{border:1px solid #bfe4d0;border-left:4px solid var(--coding-mint-strong);background:linear-gradient(145deg,#eaf9f1 0%,#f5fcf8 68%,#fff 100%);grid-column:1;align-self:start;margin:18px 0 22px 18px;box-shadow:0 8px 22px #19875c12}.coding-condition__title>div:before{content:"ЗАДАЧА";color:#28784d;letter-spacing:.08em;background:#d9f3e5;border-radius:999px;align-items:center;min-height:22px;padding:3px 8px;font-size:10px;font-weight:800;display:inline-flex}.coding-condition__title h2{color:#20334e}.coding-condition__sections{max-width:none}.coding-condition__sections details:first-child,.coding-condition__sections .coding-condition__task{border-left:3px solid var(--coding-mint-strong);background:#fff}.coding-condition__sections .coding-condition__example summary:before{background:#d0f0df}.coding-condition__sections .coding-condition__io p{border-left:2px solid #b7c9ec;padding-left:10px}.coding-condition__sections .coding-condition__hints summary:before{color:#7560a8;border-color:#cfc5ee}.coding-condition__sections .coding-condition__hints[open] summary{color:#68539b}.coding-hints article{background:#fff;border-color:#e2daf5}.coding-ide>.coding-workspace{background:#fff;border:1px solid #dce4ee;border-radius:15px;grid-column:2;min-width:0;margin:18px 18px 22px 0;padding:18px}.coding-workspace__heading{border-bottom-color:#e2e8f0}.coding-workspace__heading .coding-eyebrow{color:var(--coding-blue)}.coding-code-editor{background:#fff;border-color:#d6e0ec;box-shadow:0 4px 16px #2632460a}.coding-code-editor .cm-editor{background:#fff}.coding-code-editor .cm-gutters{color:#7a8799;background:#f4f7fb}.coding-code-editor .cm-activeLine{background:#f0f5ff}.coding-run-actions .coding-primary{background:var(--coding-blue);border-color:var(--coding-blue);box-shadow:0 5px 12px #4863a82e}.coding-run-actions button:nth-child(2){color:var(--coding-blue);background:#fff;border-color:#8ba5d4}.coding-run-actions button:nth-child(2):hover:not(:disabled){background:#eef5ff}.coding-console{border-color:#dce4ee;box-shadow:0 5px 18px #2632460a}.coding-console__input{background:#f7fafc}.coding-console__tabs button[aria-selected=true]{color:#28784d;box-shadow:inset 0 -2px var(--coding-mint-strong);background:#eaf9f1}.coding-console__result pre{background:#fbfcfd}.coding-tests{background:#f7faf9}.coding-tests article.is-passed{background:#eaf9f1;border-color:#bfe4d0}.coding-tests article.is-failed{background:#fff6f5;border-color:#efc9c5}.coding-attempt-history{border-color:#dce4ee;box-shadow:0 6px 18px #2632460a}.coding-attempt-history>summary{background:#fff}.coding-turtle-result{background:linear-gradient(145deg,#fff 0%,#f4fcf7 100%);border-color:#cde8da}.coding-turtle-canvas{border-color:#d4e6dc}.coding-ide--expanded,.coding-ide--standalone{display:block}.coding-ide--expanded>.coding-workspace,.coding-ide--standalone>.coding-workspace{border:0;border-radius:0;margin:0}@media (width<=1180px){.coding-ide{display:block}.coding-ide>.coding-condition,.coding-ide>.coding-workspace{margin:14px}}@media (width<=700px){.coding-heading{padding-inline:2px}.coding-heading:after,.coding-course__summary:after{display:none}.coding-ide>.coding-condition{margin:8px}.coding-ide>.coding-workspace{margin:8px;padding:10px}}.coding-ide{background:#fbfcfd;display:block}.coding-ide>.coding-condition{width:auto;box-shadow:none;background:#fdfbf5;border:1px solid #e7e3d9;border-left:4px solid #67c9a3;border-radius:16px;margin:14px 18px 8px}.coding-condition__title{border-bottom-color:#e9e5dc}.coding-condition__title>div:before{color:#16865d;background:#e5f7ef}.coding-condition__title>div>span{display:none}.coding-condition__sections details:first-child,.coding-condition__sections .coding-condition__task{background:#fbfdfb;border-left-color:#67c9a3}.coding-condition__sections .coding-condition__io{background:#f5f8ff}.coding-ide>.coding-workspace{background:0 0;border:0;border-radius:0;margin:0 18px 18px;padding:10px 18px 18px}.coding-workspace__heading{margin-bottom:8px;padding-bottom:6px}@media (width<=700px){.coding-ide>.coding-condition{margin:8px 8px 6px}.coding-ide>.coding-workspace{margin:0 8px 10px;padding:8px 2px 10px}}.coding-ide .coding-condition__title>div:before{letter-spacing:.04em;min-height:28px;padding:4px 10px;font-size:14px}.coding-ide .coding-goal{font-size:clamp(17px,1.4vw,19px);line-height:1.55;margin-block:18px!important}.coding-ide .coding-condition__sections details{font-size:15px}.coding-ide .coding-condition__sections summary{min-height:26px;font-size:15px;line-height:1.4}.coding-ide .coding-condition__sections details>:not(summary){font-size:15px;line-height:1.55}.coding-ide .coding-workspace__heading .coding-eyebrow{color:#20334e;letter-spacing:0;margin:0;font-size:clamp(15px,1.2vw,17px);font-weight:700;line-height:1.3}.coding-ide .coding-python-pane h2,.coding-ide .coding-blocks-pane h2,.coding-ide .coding-console__tabs button,.coding-ide .coding-console__input strong{font-size:15px}.coding-ide .coding-console__input label span,.coding-ide .coding-console__input label small,.coding-ide .coding-muted,.coding-ide .coding-run-semantics{font-size:13px}.coding-ide .coding-run-semantics{line-height:1.5}.coding-ide .coding-run-actions button{font-size:15px}.coding-ide .coding-restore-action{padding:6px 9px;color:#718096!important;background:0 0!important;border-color:#0000!important;font-size:13px!important}.coding-ide .coding-restore-action:hover:not(:disabled){color:var(--coding-blue)!important;background:#f7f9fc!important;border-color:#d9e2ef!important}.coding-lab{--coding-page:#f7f8fa;background:var(--coding-page)}.coding-course__summary,.coding-task-navigator{background:linear-gradient(135deg,#f5f9fc 0%,#f4fbf7 100%);border-color:#dde7ef;box-shadow:0 7px 20px #25395b0a}.coding-course__summary{border-radius:18px}.coding-task-navigator{border-radius:16px;padding:16px 18px}.coding-task-navigator__heading{padding-bottom:2px}.coding-task-rail{gap:8px;padding-block:3px 6px}.coding-task-rail__item{background:#f3f7fb;border-color:#c8d7e8;min-width:48px;padding:7px 9px}.coding-task-rail__item b{border-radius:9px;width:32px;height:32px;font-size:16px}.coding-task-rail__item--выполнено{background:#edf9f2;border-color:#b9dec9}.coding-task-rail__item--выполнено b{color:#28784d;background:#d9f0e3}.coding-task-rail__item--текущее{background:#e8f1ff;border-color:#5f8dde;box-shadow:0 3px 10px #345fd12e}.coding-task-rail__item--текущее b{background:var(--coding-blue);color:#fff}.coding-task-rail__item--в-работе{background:#eff5ff;border-color:#b9cfee}.coding-ide:not(.coding-ide--expanded):not(.coding-ide--standalone)>.coding-workspace{background:#fff;border:1px solid #dce6ef;border-radius:16px;margin:0 18px 18px;padding:14px 18px 18px;box-shadow:0 7px 20px #25395b0a}.coding-ide:not(.coding-ide--expanded):not(.coding-ide--standalone)>.coding-workspace .coding-workspace__heading{border-bottom-color:#e1eaf2;margin-inline:2px;padding-bottom:8px}@media (width<=700px){.coding-task-navigator{padding:13px 12px}.coding-ide:not(.coding-ide--expanded):not(.coding-ide--standalone)>.coding-workspace{margin:0 8px 10px;padding:10px 10px 14px}}.coding-console{resize:vertical;grid-template-columns:minmax(0,1fr);min-height:220px;display:grid}.coding-console__head{grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:12px;padding:10px 12px;display:grid}.coding-console__title{gap:2px;min-width:0;display:grid}.coding-console__title strong{color:#20334e}.coding-console__title span{color:#718198;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.coding-console__head .coding-console__tabs{padding:0}.coding-console__result{min-height:0}.coding-console__guidance{color:#5f7088;background:#f6f9fd;border-block:1px solid #dce5f0;margin:0;padding:10px 18px;font-size:13px}.coding-console__guidance strong{color:#314c71}.coding-console__stream>h3,.coding-console__stderr>h3{color:#263f63;background:#eaf1fa;align-items:center;gap:8px;margin:0;padding:9px 18px;font-size:13px;display:flex}.coding-console__stream>h3 span,.coding-console__stderr>h3 span{color:#527092;text-transform:uppercase;background:#dbe8f7;border-radius:999px;padding:2px 6px;font:700 10px/1.4 ui-monospace,Consolas,monospace}.coding-console__stderr{background:#201f2c;border-top:1px solid #35465f}.coding-console__stderr>h3{color:#8c342d;background:#fbe9e7}.coding-console__stderr>h3 span{color:#983f37;background:#f6d4d0}.coding-console__stderr>pre{color:#ffc4bd;white-space:pre-wrap;overflow-wrap:anywhere;background:#211d28;max-height:220px;margin:0;padding:14px 18px;font:14px/1.65 Consolas,Courier New,monospace;overflow:auto}.coding-current-run--waiting_input>span,.coding-runtime-state--waiting_input>span{background:#d8902f;animation:.8s infinite alternate coding-pulse}.coding-terminal{color:#edf4ff;overflow-wrap:anywhere;white-space:pre-wrap;background:#172235;min-height:132px;max-height:340px;padding:14px 18px;font:14px/1.65 Consolas,Courier New,monospace;overflow:auto}.coding-terminal--empty{color:#aebbd0;font-family:Inter,system-ui,sans-serif;font-size:13px}.coding-terminal__chunk{white-space:pre-wrap}.coding-terminal__chunk--stderr{color:#ffb5ad}.coding-terminal__chunk--input{color:#8fe0b8;font-weight:700}.coding-terminal__chunk--input:before{content:"› ";color:#55bc8a}.coding-console-input{background:#1c2940;border-top:1px solid #31425c;grid-template-columns:minmax(145px,.28fr) minmax(0,1fr);align-items:end;gap:12px;padding:12px 18px 16px;display:grid}.coding-console-input label{color:#f5f8fc;gap:2px;display:grid}.coding-console-input label span{color:#b9c7d9;font-size:12px}.coding-console-input>div{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.coding-console-input input{color:#172235;background:#fff;border:1px solid #5d7698;border-radius:9px;width:100%;min-width:0;padding:10px 12px;font:15px/1.4 Consolas,Courier New,monospace}.coding-console-input button{color:#fff;background:#4ead80;border-color:#69c398;font-weight:750}.coding-notebook-console{background:#172235;border:1px solid #31425c;border-radius:14px;overflow:hidden}.coding-notebook-console>header{color:#20334e;background:#eef4ff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:10px 14px;display:flex}.coding-notebook-console .coding-runtime-state{margin:0}.coding-notebook-console .coding-terminal{min-height:118px;max-height:300px}.coding-console-input input:focus-visible,.coding-console-input button:focus-visible{outline-offset:2px;outline:3px solid #9bc9ff}@media (width<=760px){.coding-console{resize:none}.coding-console__head{grid-template-columns:minmax(0,1fr) auto;align-items:start}.coding-console__title{grid-column:1/-1}.coding-console__title span{white-space:normal;overflow:visible}.coding-console-input{grid-template-columns:minmax(0,1fr)}}@media (width<=440px){.coding-console__head{grid-template-columns:minmax(0,1fr)}.coding-console__tabs{width:100%}.coding-console__tabs button{flex:1 1 0}.coding-console__head>button{justify-self:start}.coding-terminal{min-height:150px;padding-inline:14px}.coding-console-input>div{grid-template-columns:minmax(0,1fr)}.coding-console-input button{min-height:42px}}.python-start-extension{color:#17233f;max-width:1240px;margin:0 auto;padding:0 20px 56px}.python-start-extension__hero{background:linear-gradient(135deg,#f1fcf8,#e8f8f4);border:1px solid #b9e3d9;border-radius:24px;margin:18px 0 24px;padding:28px 30px;box-shadow:0 14px 36px #174b4514}.python-start-extension__hero.is-test{background:linear-gradient(135deg,#f9f8ff,#f0efff);border-color:#d8d6fa}.python-start-extension__hero h1{margin:4px 0 8px;font-size:clamp(1.75rem,3vw,2.55rem);line-height:1.1}.python-start-extension__hero>p:last-child{color:#506078;max-width:760px;margin:0;font-size:1.02rem}.python-start-extension__tags{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.python-start-extension__tags span{background:#fff;border:1px solid #b9e3d9;border-radius:999px;padding:6px 10px;font-size:.82rem;font-weight:700}.python-start-extension-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.python-start-extension-grid.is-tests{grid-template-columns:repeat(3,minmax(0,1fr))}.python-start-extension-card{background:#fff;border:1px solid #d7e1ec;border-radius:20px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:14px;padding:22px;display:grid;box-shadow:0 10px 25px #18274b0f}.python-start-extension-card__number{color:#176859;background:#daf3ec;border-radius:12px;place-items:center;width:38px;height:38px;font-weight:900;display:grid}.python-start-extension-grid.is-tests .python-start-extension-card__number{color:#5348a7;background:#ebe9ff}.python-start-extension-card small{color:#68758d}.python-start-extension-card h2{margin:5px 0 7px;font-size:1.18rem}.python-start-extension-card p{color:#57657b;margin:0 0 10px}.python-start-extension-card b{color:#176859;font-size:.85rem}.python-start-extension-card>a{color:#176859;grid-column:2;justify-self:start;font-weight:800}.python-start-extension-card.is-locked{color:#667085;background:#f5f7fa}.python-start-extension-card.is-locked b{color:#667085}.python-start-extension-card.is-locked>span:last-child{grid-column:2}.python-workshop-layout{grid-template-columns:minmax(260px,340px) minmax(0,1fr);align-items:start;gap:20px;display:grid}.python-workshop-guide{gap:14px;display:grid;position:sticky;top:16px}.python-workshop-guide>section{background:#fff;border:1px solid #d5e5e0;border-radius:18px;padding:19px}.python-workshop-guide h2{margin:0 0 12px;font-size:1.05rem}.python-workshop-guide pre{color:#eaf0ff;white-space:pre-wrap;background:#111b34;border-radius:12px;margin:0;padding:14px;overflow:auto}.python-workshop-guide ol{gap:10px;padding:0;list-style:none;display:grid}.python-workshop-guide li{color:#68758d;grid-template-columns:28px 1fr;gap:9px;display:grid}.python-workshop-guide li>span{background:#edf2f7;border-radius:9px;place-items:center;width:27px;height:27px;font-weight:800;display:grid}.python-workshop-guide li p{margin:3px 0}.python-workshop-guide li.is-current{color:#173a35;font-weight:700}.python-workshop-guide li.is-current>span,.python-workshop-guide li.is-complete>span{color:#176859;background:#d8f3e8}.python-workshop-guide button{color:#176859;background:#f0fbf7;border:1px solid #97cfc2;border-radius:11px;width:100%;min-height:40px;font-weight:800}.python-workshop-hint{color:#594a13;background:#fff8d9;border-radius:12px;gap:4px;padding:12px;display:grid}.python-workshop-code{gap:16px;min-width:0;display:grid}.python-workshop-code__heading,.python-workshop-console>header{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px;display:flex}.python-workshop-code__heading h2,.python-workshop-console h2{margin:2px 0}.python-workshop-code__heading>div:last-child{flex-wrap:wrap;gap:8px;display:flex}.python-workshop-console .coding-terminal{min-height:160px;max-height:360px}.coding-terminal__chunk--input{color:#9ee7d1}.python-workshop-check ul{gap:8px;padding:0;list-style:none;display:grid}.python-workshop-check li{color:#5d687c;align-items:center;gap:8px;display:flex}.python-workshop-check li.is-passed{color:#17715d;font-weight:700}.python-mini-test-start{text-align:center;max-width:720px;margin:auto}.python-mini-test{gap:16px;max-width:880px;margin:auto;display:grid}.python-mini-test__status{color:#fff;background:#191f3b;border-radius:14px;justify-content:space-between;padding:14px 18px;display:flex}.python-mini-test fieldset{background:#fff;border:1px solid #d9dff0;border-radius:18px;min-width:0;margin:0;padding:20px}.python-mini-test fieldset.is-correct{border-color:#93d5bb}.python-mini-test fieldset.is-wrong{border-color:#f0afa9}.python-mini-test legend{align-items:center;gap:10px;padding:0 7px;font-size:1.03rem;font-weight:800;display:flex}.python-mini-test legend>span{color:#5348a7;background:#ebe9ff;border-radius:9px;place-items:center;width:30px;height:30px;display:grid}.python-mini-test fieldset>pre{color:#f1f5ff;background:#111b34;border-radius:12px;padding:14px;overflow:auto}.python-mini-test fieldset>div{gap:8px;margin-top:12px;display:grid}.python-mini-test label{cursor:pointer;border:1px solid #e0e5ef;border-radius:12px;align-items:flex-start;gap:10px;padding:11px 13px;display:flex}.python-mini-test label:focus-within{outline-offset:2px;outline:3px solid #3a62db40}.python-mini-test label.is-answer{background:#effaf6;border-color:#66bca1}.python-mini-test__review{background:#f5f7fb;border-radius:12px;margin-top:14px;padding:13px 15px}.python-mini-test__review p{margin:4px 0 0}.python-mini-test__result{text-align:center;background:#effaf6;border:1px solid #98d5bd;border-radius:18px;padding:22px}.python-start-workshop a,.python-start-placeholders--active a{color:#176859;font-weight:800}.python-start-workshop--test{background:#f7f6ff;border-color:#d8d6fa}.python-start-workshop--test a{color:#5348a7}.python-workshop-prediction>p{margin:0 0 10px}.python-workshop-prediction details,.python-workshop-mistakes details{background:#f4f7fb;border-radius:11px;margin-top:10px;padding:10px 12px}.python-workshop-prediction summary,.python-workshop-mistakes summary{cursor:pointer;color:#176859;font-weight:800}.python-workshop-prediction details p,.python-workshop-mistakes details p{margin:9px 0 0}.python-workshop-mistakes code{white-space:normal}.python-workshop-reference ol{gap:8px;margin:0 0 14px;padding-left:20px;list-style:decimal;display:grid}.python-workshop-reference li{color:#506078;display:list-item}.python-workshop-reference .coding-primary{text-align:center;border-radius:11px;justify-content:center;align-items:center;min-height:42px;text-decoration:none;display:flex}@media (width<=900px){.python-start-extension-grid.is-tests{grid-template-columns:repeat(2,minmax(0,1fr))}.python-workshop-layout{grid-template-columns:1fr}.python-workshop-guide{grid-template-columns:repeat(2,minmax(0,1fr));position:static}.python-workshop-guide>section:first-child{grid-column:1/-1}}@media (width<=640px){.python-start-extension{padding-inline:12px}.python-start-extension__hero{border-radius:18px;padding:22px 18px}.python-start-extension-grid,.python-start-extension-grid.is-tests,.python-workshop-guide{grid-template-columns:1fr}.python-workshop-guide>section:first-child{grid-column:auto}.python-workshop-code__heading,.python-workshop-console>header,.python-mini-test__status{flex-direction:column;align-items:stretch}.python-workshop-code__heading>div:last-child{grid-template-columns:1fr;display:grid}.python-start-extension-card{padding:17px}.python-mini-test fieldset{padding:16px 12px}.python-mini-test legend{align-items:flex-start}.python-mini-test label{min-height:44px}.python-start-placeholders--active article{align-items:flex-start}}.coding-code-editor .cm-scroller,.coding-code-editor .cm-content,.coding-code-editor .cm-gutterElement,.coding-console textarea,.coding-console__result pre,.coding-project-output pre,.coding-notebook-cell__output pre{font-variant-ligatures:none;font-family:ui-monospace,Cascadia Code,Cascadia Mono,SFMono-Regular,Consolas,Liberation Mono,Noto Sans Mono CJK SC,monospace}.coding-code-editor .cm-gutters{color:#718198;background:#f6f8fb;border-right-color:#d9e4ee}.coding-code-editor .cm-selectionBackground,.coding-code-editor.cm-focused .cm-selectionBackground{background:#cfe0ff!important}.coding-code-editor .cm-error-line{background:#fff0ee;box-shadow:inset 4px 0 #b63e3a}.coding-python-editor-shell[data-editor-theme=dark] .coding-python-name,.coding-python-editor-shell[data-editor-theme=dark] .coding-python-punctuation,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-python-name,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-python-punctuation{color:#f4f8ff}.coding-python-editor-shell[data-editor-theme=dark] .coding-code-editor .cm-selectionBackground{background:#365f91!important}.coding-python-editor-shell[data-editor-theme=dark] .coding-code-editor .cm-error-line{background:#5b2830;box-shadow:inset 4px 0 #ff8c83}.coding-python-editor-shell[data-editor-theme=highContrast] .coding-code-editor .cm-error-line{background:#4f0000;box-shadow:inset 5px 0 #fff}@media (forced-colors:active){.coding-code-editor .cm-activeLine,.coding-code-editor .cm-activeLineGutter,.coding-code-editor .cm-error-line{color:canvastext;forced-color-adjust:auto;background:canvas;border-left:3px solid highlight}.coding-code-editor .cm-selectionBackground{background:highlight!important}.coding-python-keyword,.coding-python-builtin,.coding-python-function,.coding-python-number,.coding-python-constant,.coding-python-operator,.coding-python-punctuation,.coding-python-name,.coding-python-string,.coding-python-comment{color:canvastext}}.coding-learning-mode{border:1px solid var(--coding-border);background:#f5f7fa;border-radius:12px;gap:6px;width:fit-content;max-width:calc(100% - 24px);margin:0 12px 14px;padding:4px;display:flex}.coding-learning-mode button{min-height:40px;color:var(--coding-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;padding:8px 14px;font-weight:700}.coding-learning-mode button[aria-pressed=true]{color:var(--coding-blue);background:#fff;box-shadow:0 2px 9px #25395b17}.coding-trace-trainer{background:linear-gradient(145deg,#fff 0%,#f7faff 100%);border-color:#d7e2f1;margin:0 12px 16px;padding:clamp(18px,2.4vw,28px)}.coding-trace-trainer__heading{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.coding-trace-trainer__heading h2{color:#20334e;margin:2px 0 6px;font-size:clamp(24px,3vw,34px)}.coding-trace-trainer__heading p:last-child{color:var(--coding-muted);margin:0}.coding-trace-trainer__heading>button{flex:none}.coding-trace-scenarios{gap:8px;margin:22px 0 14px;padding-bottom:2px;display:flex;overflow-x:auto}.coding-trace-scenarios button{color:#3f5068;min-width:230px;min-height:46px;font:inherit;cursor:pointer;background:#fff;border:1px solid #cfd9e8;border-radius:11px;flex:260px;padding:9px 14px;font-weight:700}.coding-trace-scenarios button[aria-selected=true]{color:#2856a8;background:#edf4ff;border-color:#7398d5;box-shadow:0 0 0 2px #4863a81a}.coding-trace-intro{background:#fff;border:1px solid #dfe6ef;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 16px;display:grid}.coding-trace-intro p{color:#52637a;margin:5px 0 0}.coding-trace-intro>div:last-child{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.coding-trace-intro>div:last-child>span{color:var(--coding-muted);align-self:center;margin-right:3px;font-size:12px}.coding-trace-intro b{color:#42536b;background:#f7f9fc;border:1px solid #d8e1ed;border-radius:9px;place-items:center;min-width:34px;height:34px;padding-inline:7px;display:grid}.coding-trace-intro b.is-current{border-color:var(--coding-blue);background:var(--coding-blue);color:#fff;animation:.72s ease-out coding-trace-number}.coding-trace-layout{grid-template-columns:minmax(360px,.95fr) minmax(420px,1.05fr);gap:14px;margin-top:14px;display:grid}.coding-trace-code,.coding-trace-step{background:#fff;border:1px solid #dfe6ef;border-radius:14px;min-width:0;overflow:hidden}.coding-trace-code>div{color:#263a58;border-bottom:1px solid #e6ebf2;justify-content:space-between;gap:12px;padding:13px 16px;display:flex}.coding-trace-code>div span{color:var(--coding-blue);font-size:12px;font-weight:700}.coding-trace-code pre{color:#26374f;background:#f9fbfe;margin:0;padding:12px 0;font:14px/1.72 Consolas,Courier New,monospace;overflow-x:auto}.coding-trace-code pre>span{border-left:3px solid #0000;grid-template-columns:38px minmax(max-content,1fr);min-width:max-content;padding-right:16px;display:grid}.coding-trace-code pre>span>b{color:#8b98aa;text-align:right;-webkit-user-select:none;user-select:none;padding-right:10px;font-weight:400}.coding-trace-code pre>span.is-active{color:#172b49;background:#fff2dc;border-left-color:#f0a04b;animation:.52s ease-out coding-trace-line}.coding-trace-code pre>span.is-active>b{color:#ad651c;font-weight:750}.coding-trace-step{padding:18px}.coding-trace-step__progress{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:baseline;gap:12px;padding-bottom:13px;display:flex}.coding-trace-step__progress span{color:var(--coding-muted);font-size:12px;font-weight:700}.coding-trace-step__progress strong{color:#1f385d;font-size:19px}.coding-trace-known,.coding-trace-explanation dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0;display:grid}.coding-trace-known>div,.coding-trace-explanation dl>div{background:#f5f8fc;border-radius:10px;min-width:0;padding:10px 12px}.coding-trace-known dt,.coding-trace-explanation dt{color:var(--coding-muted);font-size:11px}.coding-trace-known dd,.coding-trace-explanation dd{overflow-wrap:anywhere;color:#273b58;margin:3px 0 0;font-weight:700}.coding-trace-prediction{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;display:grid}.coding-trace-prediction legend{color:#263a58;grid-column:1/-1;margin-bottom:9px;font-weight:750}.coding-trace-prediction label{cursor:pointer;position:relative}.coding-trace-prediction input{opacity:0;pointer-events:none;position:absolute}.coding-trace-prediction span{color:#3e5068;background:#fff;border:1px solid #ced9e8;border-radius:10px;place-items:center;min-height:46px;padding:9px 12px;font-weight:700;display:grid}.coding-trace-prediction input:checked+span{border-color:var(--coding-blue);color:#2856a8;background:#edf4ff;box-shadow:0 0 0 2px #4863a81a}.coding-trace-prediction input:focus-visible+span,.coding-trace-scenarios button:focus-visible,.coding-learning-mode button:focus-visible,.coding-trace-playback button:focus-visible,.coding-trace-explain:focus-visible{outline-offset:2px;outline:3px solid #4863a83d}.coding-trace-explain{color:#31568f;width:100%;min-height:42px;font:inherit;cursor:pointer;background:#f4f8fe;border:1px solid #a8bddc;border-radius:10px;margin-top:12px;font-weight:750}.coding-trace-explain:disabled{cursor:not-allowed;opacity:.5}.coding-trace-explanation{min-height:138px;margin-top:12px}.coding-trace-explanation>p{border-radius:10px;margin:0;padding:10px 12px;line-height:1.55}.coding-trace-explanation>p.is-correct{color:#2d674b;background:#f0faf4;border:1px solid #c9e3d5}.coding-trace-explanation>p.is-incorrect{color:#76531e;background:#fff8eb;border:1px solid #efd9b8}.coding-trace-explanation dl{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:0}.coding-trace-playback{flex-wrap:wrap;justify-content:flex-end;align-items:end;gap:8px;margin-top:16px;display:flex}.coding-trace-playback label{color:var(--coding-muted);gap:3px;margin-right:auto;font-size:11px;font-weight:700;display:grid}.coding-trace-playback select,.coding-trace-playback button{color:#52647d;min-height:40px;font:inherit;cursor:pointer;background:#fff;border:1px solid #cbd7e5;border-radius:9px;padding:8px 12px;font-weight:700}.coding-trace-playback select{min-width:132px;padding-right:30px}.coding-trace-playback button:disabled{cursor:not-allowed;opacity:.45}.coding-trace-playback select:focus-visible,.coding-trace-playback button:focus-visible,.coding-trace-learning-notes summary:focus-visible{outline-offset:2px;outline:3px solid #4863a83d}.coding-trace-condition-result,.coding-trace-value-change{background:#f8fafc;border:1px solid #dce4ef;border-radius:11px;margin-top:10px}.coding-trace-condition-result{color:#53637a;justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;display:flex}.coding-trace-condition-result strong{color:#53637a}.coding-trace-condition-result.is-true strong{color:#24744f}.coding-trace-condition-result.is-false strong{color:#9a5328}.coding-trace-condition-result.is-active{animation:.6s ease-out coding-trace-condition}.coding-trace-value-change{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;padding:11px 12px;display:grid}.coding-trace-value-change>span{gap:2px;display:grid}.coding-trace-value-change>span:last-child{text-align:right}.coding-trace-value-change small{color:var(--coding-muted)}.coding-trace-value-change>b{color:#8190a5;font-size:22px}.coding-trace-value-change.is-active>span:last-child{color:#2856a8;animation:.62s cubic-bezier(.2,.75,.25,1) coding-trace-value}.coding-trace-motion-note{color:var(--coding-muted);margin:8px 0 0;font-size:12px}.coding-trace-table-wrap{background:#fff;border:1px solid #dfe6ef;border-radius:14px;margin-top:14px;padding:16px}.coding-trace-table-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:10px;display:flex}.coding-trace-table-wrap h3{color:#263a58;margin:0;font-size:clamp(20px,1.5vw,23px)}.coding-trace-table-heading p{color:var(--coding-muted);margin:0;font-size:14px;font-weight:750}.coding-trace-table-scroll{max-width:100%;overflow-x:auto}.coding-trace-table{border-collapse:collapse;color:#374a65;width:100%;font-size:clamp(15px,1vw,17px);line-height:1.45}.coding-trace-table th,.coding-trace-table td{text-align:left;border-bottom:1px solid #e7ecf2;padding:12px 14px}.coding-trace-table thead th{color:#596b84;text-transform:uppercase;letter-spacing:.04em;font-size:14px;font-weight:800}.coding-trace-table tbody tr:last-child>*{border-bottom:0}.coding-trace-table tbody tr.is-current{background:#eef4ff;box-shadow:inset 3px 0 #4863a8}.coding-trace-table tbody tr.coding-trace-table__empty td{color:var(--coding-muted);text-align:center;padding:18px 10px}.coding-trace-table .is-true{color:#24744f;font-weight:750}.coding-trace-table .is-false{color:#9a5328;font-weight:750}.coding-trace-table tbody th,.coding-trace-table td[data-label=a],.coding-trace-table td[data-label=До],.coding-trace-table td[data-label=После]{font-variant-numeric:tabular-nums;font-weight:800}.coding-trace-table td[data-label=a],.coding-trace-table td[data-label=До],.coding-trace-table td[data-label=После] strong{color:#173a72;font-size:1.08em}.coding-trace-table tbody tr.coding-trace-table__result>*{color:#173a72;background:#eaf2ff;border-top:2px solid #7f9fd5}.coding-trace-table tbody tr.coding-trace-table__result th{letter-spacing:.01em;font-size:1.08em}.coding-trace-table tbody tr.coding-trace-table__result td{text-align:right}.coding-trace-table tbody tr.coding-trace-table__result strong{color:#173a72;font-variant-numeric:tabular-nums;font-size:1.2em}.coding-trace-learning-notes{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px;display:grid}.coding-trace-learning-notes article{background:#fff;border:1px solid #dfe6ef;border-radius:14px;min-width:0;padding:16px}.coding-trace-learning-notes article:first-child{background:#fffaf2}.coding-trace-learning-notes h3{color:#263a58;margin:3px 0 7px;font-size:17px}.coding-trace-learning-notes p{color:#52637a;margin:6px 0;line-height:1.55}.coding-trace-learning-notes details{margin-top:10px}.coding-trace-learning-notes summary{color:#31568f;cursor:pointer;width:fit-content;font-weight:750}.coding-trace-playback .coding-primary{color:#fff;background:#4863a8;border-color:#4863a8}@keyframes coding-trace-number{0%{transform:scale(.82);box-shadow:0 0 #4863a859}70%{transform:scale(1.06);box-shadow:0 0 0 7px #4863a800}to{transform:scale(1)}}@keyframes coding-trace-line{0%{background:#fff;transform:translate(-4px)}to{background:#fff2dc;transform:translate(0)}}@keyframes coding-trace-condition{0%{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes coding-trace-value{0%{opacity:.2;transform:translate(-10px)scale(.96)}to{opacity:1;transform:translate(0)scale(1)}}@media (width<=980px){.coding-trace-layout,.coding-trace-intro{grid-template-columns:minmax(0,1fr)}.coding-trace-intro>div:last-child{justify-content:flex-start}}@media (width<=700px){.coding-learning-mode{width:calc(100% - 16px);max-width:none;margin-inline:8px;display:grid}.coding-trace-trainer{margin-inline:8px;padding:16px 12px}.coding-trace-trainer__heading{flex-direction:column;gap:14px}.coding-trace-trainer__heading>button{width:100%}.coding-trace-scenarios button{min-width:min(78vw,280px)}.coding-trace-step{padding:14px 12px}.coding-trace-step__progress{flex-direction:column;align-items:flex-start}.coding-trace-known,.coding-trace-prediction,.coding-trace-explanation dl{grid-template-columns:minmax(0,1fr)}.coding-trace-explanation{min-height:0}.coding-trace-playback{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;display:grid}.coding-trace-playback label{grid-column:1/-1;margin-right:0}.coding-trace-playback select,.coding-trace-playback button{width:100%;min-width:0}.coding-trace-learning-notes{grid-template-columns:minmax(0,1fr)}.coding-trace-table-scroll{overflow:visible}.coding-trace-table thead{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.coding-trace-table,.coding-trace-table tbody,.coding-trace-table tr{width:100%;display:block}.coding-trace-table tbody{gap:8px;display:grid}.coding-trace-table tbody tr{border:1px solid #e0e6ef;border-radius:10px;padding:10px 12px}.coding-trace-table tbody tr.is-current{border-color:#9db6df}.coding-trace-table th,.coding-trace-table td{border:0;grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);gap:8px;padding:5px 0;display:grid}.coding-trace-table th:before,.coding-trace-table td:before{content:attr(data-label);color:#7a8799;font-size:12px;font-weight:700}.coding-trace-table tbody tr.coding-trace-table__empty{border-style:dashed;padding:0}.coding-trace-table tbody tr.coding-trace-table__empty td{text-align:left;padding:14px 10px;display:block}.coding-trace-table tbody tr.coding-trace-table__empty td:before{content:none}.coding-trace-table tbody tr.coding-trace-table__result{background:#eaf2ff;border-color:#7f9fd5;box-shadow:inset 3px 0 #4863a8}.coding-trace-table tbody tr.coding-trace-table__result>*{background:0 0}.coding-trace-table tbody tr.coding-trace-table__result td{text-align:left}}@media (prefers-reduced-motion:reduce){.coding-trace-intro b.is-current,.coding-trace-code pre>span.is-active,.coding-trace-condition-result.is-active,.coding-trace-value-change.is-active>span:last-child{animation:none}.coding-trace-intro b,.coding-trace-code pre>span,.coding-trace-condition-result,.coding-trace-value-change{transition:none}}@media (width>=1181px){.coding-progress{min-width:320px}}.coding-review-cta{background:#eef5fc;border:1px solid #c5d9ee;border-radius:14px;justify-content:space-between;align-items:center;gap:20px;max-width:1680px;margin:14px auto 0;padding:18px 20px;display:flex}.coding-review-cta__eyebrow{color:#52749d;letter-spacing:.08em;font-size:12px;font-weight:750;margin:0 0 5px!important}.coding-review-cta h2{color:#20334e;margin:0;font-size:17px;line-height:1.35}.coding-review-cta p:last-child{color:#60758e;margin:5px 0 0;font-size:14px}.coding-review-cta__button{flex:none;font-weight:650;box-shadow:0 4px 10px #345fd12e;color:#fff!important;background:var(--coding-blue)!important;border-color:var(--coding-blue)!important;font-size:15px!important}.coding-review-cta__button:hover:not(:disabled){color:#fff!important;background:#284dae!important;border-color:#284dae!important}@media (width<=700px){.coding-review-cta{flex-direction:column;align-items:stretch;gap:12px;margin:12px 4px 0;padding:16px}.coding-review-cta__button{width:100%}}.coding-code-editor{font-size:clamp(15px,1.2vw,17px)}.coding-code-editor .cm-scroller,.coding-trace-code pre,.coding-example{font-variant-ligatures:none;font-family:Cascadia Code,Consolas,Courier New,monospace}.coding-code-editor .cm-scroller{font-weight:600;line-height:1.78}.coding-code-editor .cm-line{padding-inline:12px 16px}.coding-code-editor .cm-gutters{box-sizing:border-box;border-right:1px solid #d9e4ee;flex:none;padding-left:4px;font-size:.88em;font-weight:600}.coding-code-editor .cm-lineNumbers .cm-gutterElement{box-sizing:content-box;font-variant-numeric:tabular-nums;text-align:right;min-width:3ch;padding-inline:8px 10px}.coding-code-editor .cm-activeLine,.coding-code-editor .cm-activeLineGutter{background:#e8f0ff}.coding-code-editor .cm-activeLine{box-shadow:inset 3px 0 #5a79c7}.coding-trace-code pre{font-size:clamp(15px,1.2vw,17px);font-weight:600;line-height:1.78}.coding-trace-code pre>span{box-sizing:border-box;grid-template-columns:minmax(3rem,max-content) minmax(max-content,1fr);width:max-content;min-width:100%;min-height:1.78em;padding-right:18px}.coding-trace-code pre>span>b{font-variant-numeric:tabular-nums;min-width:3rem;padding-left:8px;font-weight:600}.coding-example{font-weight:600;font-size:clamp(15px,1.1vw,16px)!important;line-height:1.75!important}.coding-python-keyword{color:#b45309;font-weight:750}.coding-python-builtin{color:#6d28d9;font-weight:750}.coding-python-number{color:#1d4ed8;font-weight:700}.coding-python-constant{color:#9f246d;font-weight:750}.coding-python-operator{color:#315c91;font-weight:750}.coding-python-punctuation{color:#253b59;font-weight:700}.coding-python-function{text-underline-offset:3px;text-decoration-color:#6d28d959}.coding-python-name{color:#172033}.coding-python-string{color:#16734a}.coding-python-comment{color:#5f6f83;font-style:italic;font-weight:550}@media (width<=700px){.coding-code-editor,.coding-trace-code pre{font-size:15px}.coding-code-editor .cm-scroller,.coding-trace-code pre{line-height:1.72}.coding-trace-code pre>span{grid-template-columns:36px minmax(max-content,1fr);padding-right:12px}.coding-trace-code pre>span>b{padding-right:8px}.coding-example{font-size:15px!important}.coding-trace-code pre{overflow-x:auto}.coding-trace-code pre>span{grid-template-columns:minmax(3rem,max-content) minmax(max-content,1fr);width:max-content;min-width:100%}.coding-trace-code pre code{white-space:pre;overflow-wrap:normal}}.coding-routes{gap:clamp(26px,4vw,40px);display:grid}.coding-route{min-width:0}.coding-route+.coding-route{border-top:1px solid #d9e4ee;padding-top:clamp(26px,4vw,40px)}.coding-route .coding-course__summary{margin-bottom:14px}.coding-route--scratch .coding-course__summary{background:linear-gradient(135deg,#f7f4ff 0%,#f2fbff 100%);border-color:#d8d8f2;box-shadow:inset 4px 0 #7657c8,0 5px 18px #102a560a}.coding-route--python .coding-course__summary{box-shadow:inset 4px 0 #2f6feb,0 5px 18px #102a560a}.python-learning-path{gap:16px;display:grid}.python-learning-path__heading{background:linear-gradient(135deg,#f6f9ff 0%,#f2fbf7 100%);border:1px solid #d9e4ee;border-radius:22px;justify-content:space-between;gap:18px;padding:clamp(20px,3vw,30px);display:flex;box-shadow:inset 4px 0 #2f6feb,0 5px 18px #102a560a}.python-learning-path__heading h2,.python-learning-path__levels h3{margin:0}.python-learning-path__heading p:last-child,.python-learning-path__levels p{color:#52657a;margin:8px 0 0}.python-learning-path__heading>span{white-space:nowrap;color:#2456a6;background:#e5efff;border-radius:999px;align-self:flex-start;padding:7px 11px;font-weight:700}.python-learning-path__levels{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.python-learning-path__levels li{background:#fff;border:1px solid #d7e1ec;border-radius:18px;grid-template-columns:36px minmax(0,1fr);gap:12px;min-width:0;padding:18px;display:grid}.python-learning-path__levels li.is-locked{color:#536273;background:#f7f8fa}.python-learning-path__levels li.is-in_progress{border-color:#8fb5f2;box-shadow:0 10px 28px #2f6feb1a}.python-learning-path__levels li.is-completed{background:#f7fdf9;border-color:#a9dac8}.python-learning-path__levels li.python-learning-path__level--start{background:#fffdf5;border-top:4px solid #e5b832;padding-top:15px}.python-learning-path__levels li.python-learning-path__level--base{background:#f5fcfb;border-top:4px solid #47a99f;padding-top:15px}.python-learning-path__levels li.python-learning-path__level--practice{background:#faf7ff;border-top:4px solid #8066c7;padding-top:15px}.python-learning-path__levels li.is-locked{background-color:#f7f8fa;background-image:linear-gradient(#ffffff7a,#ffffff7a)}.python-learning-path__level--start .python-learning-path__number{color:#6b5000;background:#fff0b2}.python-learning-path__level--base .python-learning-path__number{color:#17645e;background:#dff5f1}.python-learning-path__level--practice .python-learning-path__number{color:#594098;background:#ece5ff}.python-learning-path__number{color:#2456a6;background:#e8f0ff;border-radius:12px;place-items:center;width:36px;height:36px;font-weight:800;display:grid}.python-learning-path__levels small{color:#66788c;margin-bottom:5px;font-weight:700;display:block}.python-learning-path__meta{justify-content:space-between;align-items:center;gap:8px;display:flex}.python-learning-path__meta span{color:#42617e;background:#edf3fb;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:700}.python-learning-path__meta .python-learning-path__level-label{color:#344f6e;background:#ffffffc2;border:1px solid #d5e1ed;border-radius:999px;margin:0;padding:4px 8px;font-size:12px}.python-learning-path__levels strong{color:#36506a;margin-top:14px;font-size:13px;display:block}.python-learning-path__levels .is-open strong{color:#187451}.python-learning-path__progress,.python-learning-path__waiting{color:#52657a;margin-top:10px;display:block}.python-learning-path__levels button,.python-learning-path__action{color:#fff;font:inherit;cursor:pointer;background:#2f6feb;border:0;border-radius:11px;justify-content:center;align-items:center;margin-top:14px;padding:9px 14px;font-weight:750;text-decoration:none;display:inline-flex}.python-learning-path__levels button:disabled{cursor:wait;opacity:.65}.python-learning-path__levels .python-learning-path__action--python{color:#173f82;background:#ffd867;border:1px solid #e0b12f;box-shadow:0 5px 14px #a0740824}.python-learning-path__levels .python-learning-path__action--python:hover:not(:disabled){color:#102f68;background:#f4c84d}.python-learning-path__levels .python-learning-path__action--python:focus-visible{outline-offset:3px;outline:3px solid #245fd0}@media (forced-colors:active){.python-learning-path__levels li.python-learning-path__level--start,.python-learning-path__levels li.python-learning-path__level--base,.python-learning-path__levels li.python-learning-path__level--practice,.python-learning-path__meta .python-learning-path__level-label,.python-learning-path__levels .python-learning-path__action--python{color:canvastext;box-shadow:none;background:canvas;border-color:canvastext}.python-learning-path__levels .python-learning-path__action--python:focus-visible{outline-color:highlight}}.python-learning-path__empty{color:#52657a;border:1px dashed #b8c8da;border-radius:14px;margin:0;padding:14px 18px}.coding-level-access{gap:18px;display:grid}.coding-level-access__students{gap:16px;display:grid}.coding-level-access__student{gap:14px;display:grid}.coding-level-access__student>header,.coding-level-access__start,.coding-level-access__levels>div{justify-content:space-between;align-items:center;gap:16px;display:flex}.coding-level-access__student>header h3,.coding-level-access__student>header p{margin:0}.coding-level-access__student>header>span,.coding-level-access__levels span{color:#52657a;font-size:13px;font-weight:700}.coding-level-access__student>header>span.is-open{color:#187451}.coding-level-access__start,.coding-level-access__levels>div{background:#f9fbfe;border:1px solid #d9e4ee;border-radius:14px;padding:14px 16px}.coding-level-access__start div,.coding-level-access__levels>div>div{gap:3px;display:grid}.coding-level-access__start small,.coding-level-access__levels small{color:#66788c}.coding-level-access__levels{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.coding-level-access__levels button{color:#2456a6;font:inherit;cursor:pointer;background:#fff;border:1px solid #91afe2;border-radius:10px;padding:9px 12px;font-weight:750}.coding-level-access__levels button:disabled{cursor:wait;opacity:.65}.coding-class-access{background:#f7fbff;border-color:#a9c5e7;gap:14px;display:grid}.coding-class-access .coding-form-grid>div{background:#fff;border:1px solid #d9e4ee;border-radius:14px;gap:10px;padding:14px;display:grid}.coding-class-access .coding-actions{margin:0}.coding-access-heading{align-items:flex-start}.coding-access-wizard{background:#fff;border-color:#cfd8e5;gap:1.25rem;padding:clamp(1rem,2.5vw,1.75rem);display:grid}.coding-access-wizard__title,.coding-access-step__heading,.coding-access-module__head{align-items:flex-start;gap:.85rem;min-width:0;display:flex}.coding-access-wizard__title{justify-content:space-between;align-items:center}.coding-access-wizard__title>div{min-width:0}.coding-access-wizard__title h3{overflow-wrap:anywhere;margin:.2rem 0 0;font-size:clamp(1.5rem,2vw,1.75rem)}.coding-access-step{background:#fbfcfe;border:1px solid #dce3eb;border-radius:1rem;gap:1rem;min-width:0;padding:1.25rem;display:grid}.coding-access-step__heading>span{color:#fff;background:#3b5ccc;border-radius:50%;flex:none;place-items:center;width:2rem;height:2rem;font-size:1rem;font-weight:800;display:grid}.coding-access-step__heading>div{min-width:0}.coding-access-step__heading h4{color:#1f2c3f;margin:0;font-size:1.5rem;line-height:1.25}.coding-access-step__heading p{color:#58677b;margin:.25rem 0 0;font-size:1rem;line-height:1.5}.coding-access-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.coding-access-choice-grid>label,.coding-access-full,.coding-access-students>label{cursor:pointer;background:#fff;border:1px solid #cfd8e5;border-radius:.8rem;align-items:flex-start;gap:.7rem;min-width:0;padding:.85rem;display:flex}.coding-access-choice-grid>label.is-selected,.coding-access-full.is-selected{background:#f0f4ff;border-color:#6984dc;box-shadow:inset 0 0 0 1px #6984dc}.coding-access-choice-grid input,.coding-access-full input,.coding-access-students input,.coding-access-module input,.coding-access-danger input{accent-color:#3b5ccc;flex:none;width:1.25rem;height:1.25rem;margin:.15rem 0 0}.coding-access-choice-grid span,.coding-access-full>span,.coding-access-students span,.coding-access-module label>span{gap:.15rem;min-width:0;display:grid}.coding-access-choice-grid strong,.coding-access-full strong,.coding-access-students strong,.coding-access-module strong{overflow-wrap:anywhere}.coding-access-choice-grid small,.coding-access-full small,.coding-access-students small,.coding-access-module small{color:#637187;overflow-wrap:anywhere;font-size:1rem;line-height:1.4}.coding-access-students{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;max-height:20rem;padding-right:.2rem;display:grid;overflow:clip auto}.coding-access-note,.coding-access-empty{color:#48586c;background:#f0f3f7;border-radius:.75rem;margin:0;padding:.8rem .9rem;font-size:1rem;line-height:1.5}.coding-access-full{align-items:center}.coding-access-full>span{flex:1}.coding-access-status,.coding-access-pending{white-space:normal;text-align:center;border-radius:999px;align-items:center;width:fit-content;min-height:1.75rem;padding:.25rem .55rem;font-size:.9375rem;font-weight:750;line-height:1.25;display:inline-flex}.coding-access-status.is-open{color:#176340;background:#e6f6ed}.coding-access-status.is-closed{color:#5c6675;background:#edf0f3}.coding-access-status.is-mixed{color:#825a08;background:#fff4d7}.coding-access-pending.is-open{color:#294da5;background:#e9efff}.coding-access-pending.is-close{color:#8e2d27;background:#fdebea}.coding-access-search{gap:.45rem;min-width:0;display:grid}.coding-access-search label{color:#34445a;font-size:1rem;font-weight:700}.coding-access-search input{color:#1f2c3f;background:#fff;border:1px solid #cbd5e1;border-radius:.7rem;width:100%;min-height:2.75rem;padding:.65rem .75rem;font-size:1.125rem}.coding-access-tree{gap:.7rem;min-width:0;display:grid}.coding-access-module{background:#fff;border:1px solid #dce3eb;border-radius:.85rem;min-width:0;overflow:hidden}.coding-access-module__head{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;padding:.8rem;display:grid}.coding-access-module__head>label,.coding-access-module li>label{cursor:pointer;align-items:flex-start;gap:.65rem;min-width:0;display:flex}.coding-access-expand{color:#304b88;background:#fff;border:1px solid #cbd5e1;border-radius:.65rem;place-items:center;width:2.75rem;height:2.75rem;padding:0;font-size:1.35rem;font-weight:700;display:grid}.coding-access-module ul{border-top:1px solid #e2e7ed;gap:0;margin:0;padding:0;list-style:none;display:grid}.coding-access-module li{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.7rem;min-width:0;padding:.7rem 1rem .7rem 4.25rem;display:grid}.coding-access-module li+li{border-top:1px solid #edf0f3}.coding-access-module li label>span{overflow-wrap:anywhere;min-width:0;font-size:1.125rem;line-height:1.45}.coding-access-module input:disabled{opacity:.55}.coding-access-summary dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin:0;display:grid}.coding-access-summary dl>div{background:#fff;border-radius:.75rem;min-width:0;padding:.8rem}.coding-access-summary dt{color:#637187;font-size:1rem}.coding-access-summary dd{color:#1f2c3f;overflow-wrap:anywhere;margin:.25rem 0 0;font-size:1.125rem;font-weight:650;line-height:1.45}.coding-access-apply>.coding-primary{justify-self:start;min-height:2.75rem;font-size:1.0625rem}.coding-access-danger{background:#fff8f7;border:1px solid #e4c7c3;border-radius:.8rem;padding:.9rem}.coding-access-danger summary{color:#8e2d27;cursor:pointer;min-height:2.75rem;font-size:1.0625rem;font-weight:750}.coding-access-danger p{color:#6b4845;font-size:1rem;line-height:1.5}.coding-access-danger label{align-items:flex-start;gap:.65rem;margin:.85rem 0;font-size:1rem;display:flex}.coding-access-danger button{color:#fff;background:#a83730;border:0;border-radius:.7rem;min-height:2.75rem;padding:.65rem 1rem;font-size:1.0625rem;font-weight:700}.coding-extra-levels{border-top:1px solid #dce3eb;gap:1rem;margin-top:1.5rem;padding-top:1.5rem;display:grid}.coding-level-access__student>header small{color:#637187;overflow-wrap:anywhere;margin-top:.2rem;font-size:1rem;display:block}.coding-level-access__student>header>span,.coding-level-access__levels span{font-size:1rem}.coding-level-access__levels button{min-height:2.75rem;font-size:1.0625rem}.coding-route .block-games-entry{margin:0}@media (width<=700px){.coding-routes{gap:22px}.coding-route+.coding-route{padding-top:22px}.coding-course__progress>span{text-align:left}.python-learning-path__heading{display:grid}.python-learning-path__levels,.coding-level-access__levels{grid-template-columns:1fr}.coding-level-access__start,.coding-level-access__levels>div{flex-direction:column;align-items:flex-start}.coding-access-choice-grid,.coding-access-students,.coding-access-summary dl{grid-template-columns:minmax(0,1fr)}.coding-access-wizard__title{flex-direction:column;align-items:flex-start}.coding-access-full{flex-wrap:wrap;align-items:flex-start}.coding-access-module__head{grid-template-columns:auto minmax(0,1fr)}.coding-access-module__head>.coding-access-status,.coding-access-module__head>.coding-access-pending{grid-column:2}.coding-access-module li{grid-template-columns:minmax(0,1fr);padding:.75rem 1rem}.coding-access-module li>.coding-access-status,.coding-access-module li>.coding-access-pending{margin-left:1.9rem}}.coding-lab--python-start{color:#17324d}.python-start-course{gap:22px;display:grid}.coding-breadcrumbs{color:#6b7f94;min-width:0;font-size:14px;font-weight:700;line-height:1.45}.coding-breadcrumbs ol{flex-wrap:wrap;align-items:baseline;gap:5px 9px;min-width:0;margin:0;padding:0;list-style:none;display:flex}.coding-breadcrumbs li{min-width:0;line-height:inherit;overflow-wrap:anywhere;align-items:baseline;gap:9px;display:inline-flex}.coding-breadcrumbs a{color:#6b7f94;text-decoration:none}.coding-breadcrumbs a:hover{color:#2f6feb;text-decoration:underline}.coding-breadcrumbs a:focus-visible{outline-offset:3px;border-radius:4px;outline:3px solid #79a8f4}.coding-breadcrumbs [aria-current=page]{color:#314d70}.coding-breadcrumbs__separator{color:#93a4b8;line-height:inherit;align-self:stretch;align-items:center;display:inline-flex}.python-start-hero{color:#fff;background:radial-gradient(circle at 83% 24%,#69c6ff59,#0000 24%),linear-gradient(135deg,#123a78 0%,#205fc5 58%,#4d8ee8 100%);border-radius:30px;grid-template-columns:minmax(0,1fr) 190px;gap:28px;min-height:250px;padding:clamp(28px,5vw,52px);display:grid;position:relative;overflow:hidden;box-shadow:0 22px 54px #1e56a42e}.python-start-hero .coding-eyebrow,.python-start-hero p{color:#dcecff}.python-start-hero h1{margin:5px 0 0;font-size:clamp(40px,6vw,66px);line-height:1}.python-start-hero h2{margin:12px 0 0;font-size:clamp(21px,3vw,30px)}.python-start-hero p{max-width:680px;margin:14px 0 0;font-size:17px;line-height:1.6}.python-start-hero__facts{flex-wrap:wrap;gap:9px;margin-top:22px;display:flex}.python-start-hero__facts span{background:#ffffff1f;border:1px solid #ffffff47;border-radius:999px;padding:8px 12px;font-weight:800}.python-start-hero__orbit{border:1px solid #ffffff59;border-radius:50%;place-self:center;place-items:center;width:120px;height:120px;display:grid;position:relative}.python-start-hero__orbit:before,.python-start-hero__orbit:after{content:"";border:1px solid #ffffff40;border-radius:50%;width:152px;height:52px;position:absolute;transform:rotate(27deg)}.python-start-hero__orbit:after{transform:rotate(-32deg)}.python-start-hero__orbit b{z-index:1;color:#173f82;text-transform:uppercase;background:#ffd867;border-radius:23px;place-items:center;width:68px;height:68px;font-size:28px;display:grid;box-shadow:0 14px 34px #00194a40}.python-start-hero__orbit i{background:#fff;border-radius:50%;width:10px;height:10px;position:absolute;top:4px;right:6px;box-shadow:-106px 90px #8edbff}.python-start-locked{background:#f5f8fc;border:1px solid #cdd9e8;border-radius:18px;align-items:center;gap:16px;padding:18px 22px;display:flex}.python-start-locked>span{font-size:28px}.python-start-locked h2,.python-start-locked p{margin:0}.python-start-locked p{color:#60758a;margin-top:4px}.python-start-layout{grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:22px;display:grid}.python-start-main,.python-start-sidebar{min-width:0}.python-start-section-heading{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:14px;display:flex}.python-start-section-heading h2{margin:2px 0 0;font-size:28px}.python-start-section-heading>span{color:#61758a;font-weight:750}.python-start-modules{gap:14px;margin:0;padding:0;list-style:none;display:grid}.python-start-module{background:#fff;border:1px solid #d9e4ee;border-radius:20px;scroll-margin-top:96px;overflow:hidden;box-shadow:0 8px 24px #234b780f}.python-start-module.is-in_progress{border-color:#8fb5f2;box-shadow:0 12px 30px #2f6feb1c}.python-start-module.is-completed{border-color:#a9dac8}.python-start-module.is-locked{background:#f6f8fb}.python-start-module summary{cursor:pointer;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px;list-style:none;display:grid}.python-start-module summary::-webkit-details-marker{display:none}.python-start-module__number{color:#2456a6;background:#e8f1ff;border-radius:15px;place-items:center;width:46px;height:46px;font-size:18px;font-weight:900;display:grid}.python-start-module__title{gap:3px;display:grid}.python-start-module__title small,.python-start-module__title span,.python-start-module__status small{color:#687c90}.python-start-module__title strong{font-size:18px}.python-start-module__status{justify-items:end;gap:3px;display:grid}.python-start-module__status b{color:#2467bd}.python-start-module.is-completed .python-start-module__status b{color:#187451}.python-start-module__body{gap:14px;padding:0 18px 18px 78px;display:grid}.python-start-module__progress{color:#365f8c;margin:0;font-weight:750}.python-start-module__locked{color:#536a81;margin:0;font-weight:800}.python-start-topics{background:#e3eaf2;border:1px solid #e3eaf2;border-radius:14px;gap:2px;margin:0;padding:0;list-style:none;display:grid;overflow:hidden}.python-start-topics li{background:#fff;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px 14px;display:grid}.python-start-topics li.is-locked{background:#f5f7fa}.python-start-topic__number{color:#315f9f;background:#edf4ff;border-radius:9px;place-items:center;width:28px;height:28px;font-size:13px;font-weight:800;display:grid}.python-start-topics li>span:nth-child(2){gap:3px;display:grid}.python-start-topics small{color:#6a7c8f}.python-start-topics li>b{color:#687c90;white-space:nowrap;font-size:12px}.python-start-topics button,.python-start-module__action,.python-start-sidebar button{color:#fff;font:inherit;cursor:pointer;background:#2f6feb;border:0;border-radius:10px;padding:9px 13px;font-weight:800}.python-start-workshop{background:#f7fbff;border:1px dashed #a9bfd8;border-radius:14px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;display:grid}.python-start-workshop p{color:#63788d;margin:2px 0 0}.python-start-workshop small{color:#56708b;text-align:right;font-weight:750}.python-start-placeholders{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.python-start-placeholders article{background:linear-gradient(135deg,#fff 0%,#f5f9ff 100%);border:1px solid #d8e4ef;border-radius:18px;grid-template-columns:42px minmax(0,1fr);gap:12px;padding:18px;display:grid}.python-start-placeholders article>span{font-size:27px}.python-start-placeholders h3,.python-start-placeholders p{margin:0}.python-start-placeholders p{color:#64788c;margin-top:6px}.python-start-placeholders article>b{color:#2f6feb;grid-column:2;font-size:12px}.python-start-sidebar{gap:14px;display:grid;position:sticky;top:18px}.python-start-sidebar>section{background:#fff;border:1px solid #d9e4ee;border-radius:18px;padding:19px;box-shadow:0 7px 22px #234b780d}.python-start-sidebar h2,.python-start-sidebar h3,.python-start-sidebar p{margin:0}.python-start-sidebar p:not(.coding-eyebrow){color:#60758a;margin-top:7px}.python-start-sidebar section>strong{color:#245fb0;margin-top:12px;font-size:26px;display:block}.python-start-sidebar button{width:100%;margin-top:14px}.python-start-sidebar__info{grid-template-columns:30px minmax(0,1fr);gap:10px;display:grid;background:#f5f9ff!important}.coding-start-access{border-top:1px solid #dce6ef;gap:12px;margin-top:18px;padding-top:18px;display:grid}.coding-start-access__heading,.coding-start-access summary,.coding-start-access__module-body>ol>li{justify-content:space-between;align-items:center;gap:14px;display:flex}.coding-start-access__heading>div,.coding-start-access summary>span,.coding-start-access__module-body>ol>li>span{gap:3px;display:grid}.coding-start-access small,.coding-start-access__heading>span{color:#687c90;font-size:12px}.coding-start-access__modules{gap:9px;display:grid}.coding-start-access details{background:#fbfdff;border:1px solid #dce6ef;border-radius:14px;overflow:hidden}.coding-start-access summary{cursor:pointer;padding:13px 14px;list-style:none}.coding-start-access summary::-webkit-details-marker{display:none}.coding-start-access b.is-open{color:#19724f}.coding-start-access b.is-locked{color:#697b8e}.coding-start-access__module-body{gap:12px;padding:0 14px 14px;display:grid}.coding-start-access button{color:#24599b;width:fit-content;font:inherit;cursor:pointer;background:#fff;border:1px solid #b9cee3;border-radius:10px;padding:8px 12px;font-size:13px;font-weight:800}.coding-start-access button:disabled{cursor:wait;opacity:.62}.coding-start-access__module-body>ol{background:#e2eaf2;border-radius:12px;gap:1px;margin:0;padding:1px;list-style:none;display:grid}.coding-start-access__module-body>ol>li{background:#fff;padding:10px 11px}.coding-start-access__module-body>ol>li:first-child{border-radius:11px 11px 0 0}.coding-start-access__module-body>ol>li:last-child{border-radius:0 0 11px 11px}.coding-start-access__module-body>ol>li>span{flex:1;min-width:0}.coding-start-access__module-body>ol>li>b{white-space:nowrap;font-size:12px}@media (width<=980px){.python-start-layout{grid-template-columns:1fr}.python-start-sidebar{grid-template-columns:repeat(3,minmax(0,1fr));position:static}}@media (width<=700px){.python-start-hero{border-radius:22px;grid-template-columns:1fr;min-height:0}.python-start-hero__orbit{display:none}.python-start-section-heading{flex-direction:column;align-items:flex-start}.python-start-module summary{grid-template-columns:40px minmax(0,1fr)}.python-start-module__number{width:40px;height:40px}.python-start-module__status{grid-column:2;justify-items:start}.python-start-module__body{padding:0 12px 14px}.python-start-topics li{grid-template-columns:28px minmax(0,1fr)}.python-start-topics li>b,.python-start-topics li>button{grid-column:2;justify-self:start}.python-start-workshop{grid-template-columns:30px minmax(0,1fr)}.python-start-workshop small{text-align:left;grid-column:2}.python-start-placeholders,.python-start-sidebar{grid-template-columns:1fr}.coding-start-access__heading,.coding-start-access summary,.coding-start-access__module-body>ol>li{flex-direction:column;align-items:flex-start}.coding-start-access button{width:100%}}.coding-condition__sections details{border-width:1px;border-color:#e7e3d9}.coding-condition__sections .coding-condition__task{background:#fbfdfb;border-left:3px solid #67c9a3}.coding-condition__sections .coding-condition__theory{background:#fff;border-left:3px solid #afc4db}.coding-condition__sections .coding-condition__example{background:#e3f7ee;border-color:#b8ead2 #b8ead2 #b8ead2 #63cfa6;border-left-style:solid;border-left-width:3px}.coding-condition__sections .coding-condition__io{background:#f5f8ff;border-left:3px solid #74afff}.coding-condition__sections .coding-condition__constraints{background:#fff;border-left:3px solid #b8c6d6}.coding-condition__sections .coding-condition__hints{background:#f4f0ff;border-color:#d9d0f2 #d9d0f2 #d9d0f2 #b69af7;border-left-style:solid;border-left-width:3px}.coding-ide:not(.coding-ide--expanded):not(.coding-ide--standalone)>.coding-workspace,.coding-ide .coding-console{border-color:#9fc2eb}.coding-ide .coding-console__tabs button[aria-selected=true]{color:#2d58aa;box-shadow:inset 0 -2px var(--coding-blue)}.coding-ide .coding-turtle-result{border-color:#bfe8d2 #bfe8d2 #bfe8d2 #79d4ad;border-left-style:solid;border-left-width:3px}.coding-lab{--coding-page:#f2f7fb;--coding-surface:#fff;--coding-ink:#102a56;--coding-muted:#60738d;--coding-border:#d9e4ee;--coding-blue:#2f6feb;--coding-blue-soft:#edf2f7;color:#102a56;background:#f2f7fb}.coding-course__summary,.coding-task-navigator,.coding-ide,.coding-panel,.coding-attempt-history,.coding-review-cta{border-color:#d9e4ee;box-shadow:0 5px 18px #102a560a}.coding-course__summary,.coding-task-navigator{background:#fff}.coding-task-rail__item{color:#102a56;background:#edf2f7;border-color:#d9e4ee;min-width:46px}.coding-task-rail__item b{color:#102a56;background:#edf2f7;width:34px;height:34px;font-size:16px}.coding-task-rail__item[aria-current=page]{color:#fff;background:#2f6feb;border-color:#2f6feb}.coding-task-rail__item[aria-current=page] b{color:#fff;background:#2f6feb}.coding-task-rail__item[class*=выполнено]{background:#e8f6f0;border-color:#c7e9d8}.coding-task-rail__item[class*=выполнено] b{color:#28a36a;background:#e8f6f0}.coding-ide>.coding-condition{background:#fdfbf5;border-color:#e6e1d6 #e6e1d6 #e6e1d6 #55b892}.coding-ide .coding-condition__title>div:before{color:#237a5b;background:#e8f6f0}.coding-condition__sections details{background:#fff;border-color:#d9e4ee}.coding-condition__sections .coding-condition__task{background:#fff;border-left-color:#55b892}.coding-condition__sections .coding-condition__theory{background:#fff;border-left-color:#d9e4ee}.coding-condition__sections .coding-condition__example{background:#e8f6f0;border-color:#c7e9d8 #c7e9d8 #c7e9d8 #28a36a}.coding-condition__sections .coding-condition__io{background:#f7faff;border-left-color:#2f6feb}.coding-condition__sections .coding-condition__constraints{background:#fff;border-left-color:#d9e4ee}.coding-condition__sections .coding-condition__hints{background:#f3f0fb;border-color:#ddd7ee #ddd7ee #ddd7ee #b69af7}.coding-python-editor-shell{background:#f7faff;border-radius:14px;min-width:0;max-width:100%}.coding-python-editor-shell .coding-code-editor .cm-editor{height:var(--coding-editor-height,560px);max-width:100%;font-size:var(--coding-editor-font-size,16px)}.coding-python-editor-region{min-width:0}.coding-python-editor-region[hidden]{display:none}.coding-editor-controls{background:#f7faff;border:1px solid #d9e4ee;border-bottom:0;border-radius:14px 14px 0 0;padding:8px;position:relative}.coding-editor-controls__main,.coding-editor-presets,.coding-editor-choice-control>div,.coding-editor-size-control>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.coding-editor-controls__main{flex-wrap:nowrap}.coding-editor-controls__language{color:#173c73;white-space:nowrap;align-items:center;gap:8px;margin-right:auto;padding:0 8px;display:inline-flex}.coding-editor-controls__language>span{color:#2f6feb;font:800 13px/1 ui-monospace,Cascadia Code,Cascadia Mono,SFMono-Regular,Consolas,Liberation Mono,Noto Sans Mono CJK SC,monospace}.coding-editor-control-button{white-space:normal;justify-content:center;align-items:center;gap:7px;min-width:0;min-height:40px;padding:7px 11px;display:inline-flex}.coding-editor-control-button--restore{margin-left:auto}.coding-editor-control-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;flex:none;width:18px;height:18px}.coding-editor-controls__main>button,.coding-editor-presets button,.coding-editor-choice-control button,.coding-editor-size-control button,.coding-editor-settings__heading button,.coding-editor-reset{min-width:44px;min-height:40px}.coding-python-editor-shell--collapsed .coding-editor-controls{border-bottom:1px solid #d9e4ee;border-radius:14px}.coding-editor-settings{background:#fff;border:1px solid #cbdced;border-radius:16px;gap:16px;margin-top:8px;padding:clamp(14px,2vw,20px);display:grid;box-shadow:0 14px 32px #1f44751a}.coding-editor-settings__heading{justify-content:space-between;align-items:start;gap:16px;display:flex}.coding-editor-settings__heading>div{gap:3px;display:grid}.coding-editor-settings__heading strong{color:#183d73;font-size:18px}.coding-editor-settings__heading small{color:#60738d}.coding-editor-settings__heading button{padding:6px 12px;font-size:24px;line-height:1}.coding-editor-presets button{color:#214d8f;background:#edf5ff;border-color:#c6daf3;flex:150px}.coding-editor-settings__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.coding-editor-settings__section{border-top:1px solid #dbe6f0;gap:10px;min-width:0;padding-top:14px;display:grid}.coding-editor-settings__section h3{color:#60738d;letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:12px;font-weight:800}.coding-editor-settings__grid--editing .coding-editor-toggles{grid-column:1/-1}.coding-editor-settings__grid--size{grid-template-columns:minmax(240px,1fr) minmax(0,1fr)}.coding-editor-size-control,.coding-editor-choice-control,.coding-editor-theme,.coding-editor-toggles{background:#fbfdff;border:1px solid #dbe6f0;border-radius:12px;align-content:start;gap:8px;min-width:0;padding:13px;display:grid}.coding-editor-size-control>span,.coding-editor-choice-control>span,.coding-editor-theme>span{color:#294a77;font-weight:700}.coding-editor-choice-control>div{align-items:stretch}.coding-editor-choice-control button{flex:74px;padding-inline:10px}.coding-editor-choice-control--prominent{background:#f5f9ff;border-color:#b9cee6;grid-column:1/-1}.coding-editor-choice-control--prominent>div{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.coding-editor-choice-control--prominent button{min-width:0}.coding-editor-choice-control button[aria-pressed=true]{color:#174c9b;background:#e8f2ff;border-color:#2f6feb;box-shadow:inset 0 0 0 1px #2f6feb}.coding-editor-size-control output{color:#173c73;text-align:center;min-width:72px;font-weight:750}.coding-editor-theme select{color:#183d73;max-width:100%;min-height:44px;font:inherit;background:#fff;border:1px solid #c9d8e8;border-radius:9px;padding:8px 10px}.coding-editor-toggles{grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.coding-editor-toggle{color:#294a77;cursor:pointer;border-radius:9px;align-items:center;gap:10px;min-height:44px;padding:8px 10px;display:flex}.coding-editor-toggle:hover{background:#edf5ff}.coding-editor-toggle input{accent-color:#2f6feb;width:20px;height:20px}.coding-editor-choice-control button:focus-visible,.coding-editor-theme select:focus-visible,.coding-editor-resize-handle:focus-visible{outline-offset:2px;outline:3px solid #79a8f4}.coding-editor-toggle:has(input:focus-visible){outline-offset:2px;outline:3px solid #79a8f4}.coding-editor-reset{color:#4c607b;background:#f7f9fc;justify-self:start}.coding-code-editor{border-radius:0}.coding-editor-resize-handle{cursor:ns-resize;touch-action:none;background:#f7faff;border:1px solid #d9e4ee;border-top:0;border-radius:0 0 14px 14px;place-items:center;min-height:28px;display:grid}.coding-editor-resize-handle span{background:#91aac6;border-radius:99px;width:54px;height:4px}.coding-code-editor--indent-guides .cm-content{background-image:repeating-linear-gradient(90deg, transparent 0, transparent calc(var(--coding-indent-size,4ch) - 1px), #5d7ba421 calc(var(--coding-indent-size,4ch) - 1px), #5d7ba421 var(--coding-indent-size,4ch));background-position:var(--coding-indent-size,4ch) 0}.coding-editor-focus-body{overflow:hidden}.coding-python-editor-shell--focus{z-index:210;background:#eef5fb;border-radius:0;flex-direction:column;padding:clamp(10px,2vw,24px);display:flex;position:fixed;inset:0;overflow:auto}.coding-python-editor-shell--focus .coding-python-editor-region,.coding-python-editor-shell--focus .coding-code-editor{flex:auto;min-height:0}.coding-python-editor-shell--focus .coding-python-editor-region{flex-direction:column;display:flex}.coding-python-editor-shell--focus .coding-code-editor .cm-editor{height:max(var(--coding-editor-height,560px), calc(100vh - 190px))}.coding-python-editor-shell[data-editor-theme=dark] .coding-editor-controls,.coding-python-editor-shell[data-editor-theme=dark] .coding-editor-settings,.coding-python-editor-shell[data-editor-theme=dark] .coding-editor-choice-control,.coding-python-editor-shell[data-editor-theme=dark] .coding-editor-size-control,.coding-python-editor-shell[data-editor-theme=dark] .coding-editor-theme,.coding-python-editor-shell[data-editor-theme=dark] .coding-editor-toggles,.coding-python-editor-shell[data-editor-theme=dark] .coding-editor-resize-handle{background:#1c2737;border-color:#465870}.coding-python-editor-shell[data-editor-theme=dark] .coding-editor-controls button{color:#e3edfa;background:#263449;border-color:#52657e}.coding-python-editor-shell[data-editor-theme=dark] .coding-editor-controls__language,.coding-python-editor-shell[data-editor-theme=dark] .coding-editor-settings__heading strong,.coding-python-editor-shell[data-editor-theme=dark] .coding-editor-settings__heading small,.coding-python-editor-shell[data-editor-theme=dark] .coding-editor-settings__section h3,.coding-python-editor-shell[data-editor-theme=dark] .coding-editor-size-control>span,.coding-python-editor-shell[data-editor-theme=dark] .coding-editor-choice-control>span,.coding-python-editor-shell[data-editor-theme=dark] .coding-editor-theme>span,.coding-python-editor-shell[data-editor-theme=dark] .coding-editor-toggle{color:#e3edfa}.coding-python-editor-shell[data-editor-theme=dark] .coding-code-editor .cm-editor,.coding-python-editor-shell[data-editor-theme=dark] .coding-code-editor .cm-scroller{color:#e8eef8;background:#172131}.coding-python-editor-shell[data-editor-theme=dark] .coding-code-editor .cm-gutters{color:#aebed2;background:#202d40}.coding-python-editor-shell[data-editor-theme=dark] .coding-code-editor .cm-activeLine,.coding-python-editor-shell[data-editor-theme=dark] .coding-code-editor .cm-activeLineGutter{background:#293a52}.coding-python-editor-shell[data-editor-theme=dark] .coding-code-editor .cm-cursor{border-left-color:#fff}.coding-python-editor-shell[data-editor-theme=highContrast] .coding-editor-controls,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-editor-settings,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-editor-choice-control,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-editor-size-control,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-editor-theme,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-editor-toggles,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-editor-resize-handle{background:#fff;border-color:#000}.coding-python-editor-shell[data-editor-theme=highContrast] .coding-editor-controls button{color:#000;background:#fff;border:2px solid #000}.coding-python-editor-shell[data-editor-theme=highContrast] .coding-editor-controls__language,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-editor-settings__heading strong,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-editor-settings__heading small,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-editor-settings__section h3,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-editor-size-control>span,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-editor-choice-control>span,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-editor-theme>span,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-editor-toggle{color:#000}.coding-python-editor-shell[data-editor-theme=highContrast] .coding-code-editor .cm-editor,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-code-editor .cm-scroller{color:#fff;background:#000}.coding-python-editor-shell[data-editor-theme=highContrast] .coding-code-editor .cm-gutters{color:#fff;background:#000;border-right:1px solid #fff}.coding-python-editor-shell[data-editor-theme=highContrast] .coding-code-editor .cm-activeLine,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-code-editor .cm-activeLineGutter{background:#1b3764}.coding-python-editor-shell[data-editor-theme=highContrast] .coding-code-editor .cm-cursor{border-left:2px solid #fff}.coding-python-editor-shell[data-editor-theme=highContrast] .coding-code-editor .cm-selectionBackground{background:#264f9e!important}.coding-python-editor-shell[data-editor-theme=dark] .coding-python-keyword,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-python-keyword{color:#8cc8ff}.coding-python-editor-shell[data-editor-theme=dark] .coding-python-builtin,.coding-python-editor-shell[data-editor-theme=dark] .coding-python-function,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-python-builtin,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-python-function{color:#7ee2c2}.coding-python-editor-shell[data-editor-theme=dark] .coding-python-string,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-python-string{color:#ffd479}.coding-python-editor-shell[data-editor-theme=dark] .coding-python-number,.coding-python-editor-shell[data-editor-theme=dark] .coding-python-constant,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-python-number,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-python-constant{color:#ffb4ef}.coding-python-editor-shell[data-editor-theme=dark] .coding-python-comment,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-python-comment{color:#b9c8a9}.coding-python-editor-shell[data-editor-theme=dark] .coding-python-operator,.coding-python-editor-shell[data-editor-theme=highContrast] .coding-python-operator{color:#fff}.coding-python-editor-shell[data-editor-background=grid]:not([data-editor-theme=highContrast]) .coding-code-editor .cm-scroller{background-image:linear-gradient(#4a71a017 1px,#0000 1px),linear-gradient(90deg,#4a71a017 1px,#0000 1px);background-size:28px 28px;background-attachment:local}.coding-python-editor-shell[data-editor-background=ruled]:not([data-editor-theme=highContrast]) .coding-code-editor .cm-scroller{background-image:linear-gradient(#0000 calc(100% - 1px),#4a71a01c calc(100% - 1px));background-size:100% calc(var(--coding-editor-font-size,16px) * 1.7);background-attachment:local}.coding-python-editor-shell[data-editor-background=plain] .coding-code-editor .cm-scroller,.coding-code-editor--background-plain .cm-scroller{background-image:none!important}.coding-python-editor-shell[data-editor-background]:not([data-editor-theme=highContrast]) .coding-code-editor .cm-content,.coding-python-editor-shell[data-editor-background]:not([data-editor-theme=highContrast]) .coding-code-editor .cm-line{background-color:#0000}.coding-python-editor-shell[data-editor-theme=dark][data-editor-background=grid] .coding-code-editor .cm-scroller{background-image:linear-gradient(#c8dcf517 1px,#0000 1px),linear-gradient(90deg,#c8dcf517 1px,#0000 1px)}.coding-python-editor-shell[data-editor-theme=dark][data-editor-background=ruled] .coding-code-editor .cm-scroller{background-image:linear-gradient(#0000 calc(100% - 1px),#c8dcf51a calc(100% - 1px))}.coding-python-editor-shell[data-editor-theme=highContrast] .coding-code-editor .cm-scroller{background-image:none}.coding-console textarea,.coding-console__result pre,.coding-project-output pre,.coding-notebook-cell__output pre{font-size:var(--coding-console-font-size,16px)}@media (width<=760px){.coding-editor-controls__main{flex-wrap:wrap}.coding-editor-controls__language{flex:1 0 100%}.coding-editor-settings__grid{grid-template-columns:minmax(0,1fr)}.coding-editor-choice-control--prominent,.coding-editor-toggles{grid-column:auto;grid-template-columns:minmax(0,1fr)}.coding-editor-choice-control--prominent>div{grid-template-columns:repeat(3,minmax(0,1fr))}.coding-editor-controls__main>button{flex:132px;min-height:44px}.coding-editor-control-button--restore{margin-left:0}.coding-python-editor-shell,.coding-editor-settings{max-width:100%;overflow-x:clip}.coding-python-editor-shell--focus{padding:8px}}@media (prefers-reduced-motion:reduce){.coding-python-editor-shell *,.coding-python-editor-shell :before,.coding-python-editor-shell :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}@media (forced-colors:active){.coding-editor-controls,.coding-editor-settings,.coding-editor-settings__section,.coding-editor-size-control,.coding-editor-choice-control,.coding-editor-theme,.coding-editor-toggles,.coding-editor-resize-handle{color:canvastext;forced-color-adjust:auto;background:canvas;border-color:canvastext}.coding-editor-choice-control button[aria-pressed=true]{outline-offset:-3px;outline:2px solid highlight}.coding-editor-control-icon{forced-color-adjust:auto}.coding-python-editor-shell .coding-code-editor .cm-scroller{background-image:none!important}}.coding-ide:not(.coding-ide--expanded):not(.coding-ide--standalone)>.coding-workspace,.coding-code-editor,.coding-code-editor .cm-editor{background:#fff;border-color:#d9e4ee}.coding-run-actions .coding-primary,.coding-review-cta__button{background:#2f6feb!important;border-color:#2f6feb!important}.coding-run-actions .coding-primary:hover:not(:disabled),.coding-review-cta__button:hover:not(:disabled){background:#245fd0!important;border-color:#245fd0!important}.coding-ide .coding-console{border-color:#d9e4ee}.coding-ide .coding-console__tabs button[aria-selected=true]{color:#2f6feb;background:#fff;box-shadow:inset 0 -2px #2f6feb}.coding-review-cta{background:#eaf2fc;border-color:#c7d9ef}.coding-ide .coding-turtle-result{background:#fff;border-color:#d9e4ee #d9e4ee #d9e4ee #79d4ad}.coding-ide .coding-turtle-canvas{background:#fff;border-color:#d9e4ee}.coding-heading h1,.coding-idebar>div>strong,.coding-condition__title h2{font-size:clamp(30px,2.15vw,32px);line-height:1.15}.coding-goal{font-size:clamp(18px,1.3vw,19px);line-height:1.55}.coding-condition__sections details summary,.coding-workspace__heading,.coding-console__head,.coding-review-cta h2{font-size:16px}.coding-condition__sections details p,.coding-condition__sections details li,.coding-review-cta p,.coding-console__input label span{font-size:16px;line-height:1.55}.coding-condition__title .coding-eyebrow{display:none}.coding-eyebrow,.coding-workspace__heading .coding-eyebrow{letter-spacing:.04em;font-size:16px;font-weight:700}.coding-lab button,.coding-link-button,.coding-run-actions button,.coding-review-cta__button{font-size:15px}.coding-lab .coding-muted,.coding-save-state,.coding-task-navigator__heading>span,.coding-task-rail__item>span{font-size:13px}.coding-save-state{color:#718198;font-weight:500}.coding-save-state--saving,.coding-save-state--pending{color:#8796aa}.coding-idebar__status button,.coding-idebar__status .coding-link-button,.coding-run-actions .coding-runtime-reset,.coding-run-actions button:not(.coding-primary),.coding-submitbar button{color:#60738d;box-shadow:none;background:0 0;border-color:#cbd7e5}.coding-idebar__status button:hover:not(:disabled),.coding-idebar__status .coding-link-button:hover,.coding-run-actions button:not(.coding-primary):hover:not(:disabled),.coding-submitbar button:hover:not(:disabled){color:#102a56;background:#f4f8fc;border-color:#9fb7d2}.coding-idebar__status{gap:8px}.coding-idebar__status .coding-save-state{margin-right:2px}.coding-task-navigator{padding-block:16px}.coding-ide>.coding-condition{margin-top:12px;margin-bottom:14px;padding-block:18px}.coding-condition__sections{gap:8px}.coding-condition__sections details summary{min-height:44px;padding-block:10px}.coding-ide .coding-condition__sections details>summary{font-size:16px}.coding-condition__sections details[open]>:not(summary){line-height:1.55}.coding-workspace__heading{padding-block:14px 10px}@media (width<=700px){.coding-heading h1,.coding-idebar>div>strong,.coding-condition__title h2{font-size:28px}.coding-goal,.coding-condition__sections details p,.coding-condition__sections details li,.coding-review-cta p,.coding-console__input label span,.coding-condition__sections details summary,.coding-workspace__heading,.coding-console__head,.coding-review-cta h2,.coding-eyebrow{font-size:15px}}.coding-lab{--coding-learning-body-size:18px;--coding-learning-card-title-size:clamp(20px, 1.45vw, 22px);--coding-learning-section-title-size:clamp(24px, 2vw, 28px);--coding-learning-line-height:1.58}.coding-course__summary p,.python-learning-path__heading p:last-child,.python-learning-path__levels p,.python-start-hero>div>p:not(.coding-eyebrow),.python-start-module__title>span,.python-start-module__progress,.python-start-module__locked,.python-start-topics small,.python-start-workshop p,.python-start-placeholders p,.python-start-sidebar p:not(.coding-eyebrow),.python-start-extension__hero>p:last-child,.python-start-extension-card p,.python-workshop-guide li p,.python-workshop-hint,.python-mini-test label,.python-mini-test__review p,.python-mini-test__result p,.coding-goal,.coding-condition__sections details p,.coding-condition__sections details li,.coding-hints article p,.coding-review-cta p,.coding-result-row,.coding-judge-result>p,.coding-test-result p,.coding-olympiad-statement p,.coding-olympiad-statement li,.coding-olympiad-examples p{font-size:var(--coding-learning-body-size);line-height:var(--coding-learning-line-height)}.coding-module>summary strong,.coding-task-row>span:nth-child(2)>strong,.python-learning-path__levels h3,.python-start-module__title strong,.python-start-topics li>span:nth-child(2)>strong,.python-start-workshop strong,.python-start-placeholders h3,.python-start-extension-card h2,.coding-olympiad-card h3,.coding-olympiad-statement h3{font-size:var(--coding-learning-card-title-size);overflow-wrap:anywhere;line-height:1.3}.coding-section-heading h2,.python-start-section-heading h2,.coding-olympiad-task__header h2,.coding-condition__title h2,.coding-review-cta h2{font-size:var(--coding-learning-section-title-size);overflow-wrap:anywhere;line-height:1.2}.python-start-module__title,.python-start-topics li>span:nth-child(2),.coding-olympiad-statement section{min-width:0}.coding-olympiad-statement :is(p,li,h3),.python-start-module__title :is(strong,span),.python-start-topics :is(strong,small){overflow-wrap:anywhere}.coding-olympiad-statement ol{gap:.6rem;margin:.75rem 0 0;padding-inline-start:3.25rem;list-style:decimal;display:grid;overflow:visible}.coding-olympiad-statement ol ol{margin-top:.6rem;padding-inline-start:3rem}.coding-olympiad-statement li{padding-inline-start:.7rem}.coding-olympiad-statement li::marker{color:var(--coding-blue);font-variant-numeric:tabular-nums;font-weight:800}.coding-olympiad-statement li>span{white-space:pre-line}@media (width<=700px){.coding-lab{--coding-learning-body-size:17px;--coding-learning-card-title-size:20px;--coding-learning-section-title-size:24px}.coding-olympiad-statement ol{padding-inline-start:3rem}.coding-olympiad-statement ol ol{padding-inline-start:2.75rem}}.python-start-topic__lesson-link{color:#fff;white-space:nowrap;background:#2f6feb;border-radius:12px;justify-content:center;align-items:center;min-height:44px;padding:9px 16px;font-size:14px;font-weight:800;text-decoration:none;display:inline-flex}.interactive-lesson{color:#17345f;width:min(1440px,100% - 40px);margin:0 auto;padding:28px 0 64px}.interactive-lesson *{box-sizing:border-box}.interactive-lesson button,.interactive-lesson a{min-height:44px}.interactive-lesson button:focus-visible,.interactive-lesson a:focus-visible{outline-offset:3px;outline:3px solid #f0a72f}.interactive-lesson__back{color:#245fd0;align-items:center;font-weight:800;text-decoration:none;display:inline-flex}.interactive-lesson__header{background:radial-gradient(circle at 90% 15%,#79bfff33,#0000 30%),linear-gradient(135deg,#fff,#f2f8ff);border:1px solid #cfe0f4;border-radius:30px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:32px;margin:14px 0 20px;padding:clamp(22px,4vw,42px);display:grid;box-shadow:0 18px 50px #23538f1a}.interactive-lesson__header h1{color:#102a56;max-width:780px;margin:8px 0 0;font-size:clamp(30px,4vw,48px);line-height:1.08}.interactive-lesson__header p{margin:5px 0;font-size:16px}.interactive-lesson__progress{background:#ffffffe6;border:1px solid #cfe0f4;border-radius:20px;gap:6px;min-width:220px;padding:18px;display:grid}.interactive-lesson__progress strong{font-size:18px}.interactive-lesson__progress span,.interactive-lesson__progress small{color:#526b8b}.lesson-section-nav{overscroll-behavior-inline:contain;scrollbar-width:thin;gap:9px;margin:0 0 20px;padding:3px;display:flex;overflow-x:auto}.lesson-section-nav button{color:#506783;text-align:left;background:#fff;border:1px solid #d7e3f1;border-radius:14px;flex:1 0 132px;grid-template-columns:auto 1fr;align-items:center;gap:8px;padding:8px 12px;font-weight:800;display:grid}.lesson-section-nav button>span{color:#2f6feb;background:#edf4fc;border-radius:9px;place-items:center;min-width:30px;height:30px;display:grid}.lesson-section-nav button small{font:inherit}.lesson-section-nav button.is-active{color:#173f7a;background:#edf5ff;border-color:#2f6feb}.lesson-section-nav button.is-completed>span{color:#176b4c;background:#daf4e8}.lesson-section-nav button.is-locked{opacity:.52}.lesson-theory,.lesson-task,.lesson-summary{background:#fff;border:1px solid #d7e3f1;border-radius:28px;padding:clamp(24px,4vw,46px);box-shadow:0 14px 38px #224d8214}.lesson-theory h2,.lesson-task h2,.lesson-summary h2{color:#102a56;margin:8px 0 16px;font-size:clamp(26px,3vw,38px);line-height:1.15}.lesson-theory>p{max-width:760px;font-size:18px;line-height:1.65}.lesson-theory__lead{color:#173f7a;font-weight:800;font-size:21px!important}.lesson-theory__rule,.lesson-theory-example{border-radius:20px;margin:26px 0;padding:22px}.lesson-theory__rule h3,.lesson-theory-example h3{margin:0 0 12px}.lesson-theory li{margin:8px 0;line-height:1.5}.lesson-theory.is-compact{max-width:none;box-shadow:none;background:#f7fbff;margin-bottom:18px;padding:22px}.lesson-task__header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.lesson-task__header button{color:#235ba9;background:#f5f9ff;border:1px solid #9cbce1;border-radius:12px;padding:8px 16px;font-weight:800}.lesson-task__copy{background:#f7faff;border-radius:20px;padding:20px}.lesson-task__copy h3{color:#102a56;margin:0 0 8px}.lesson-task__copy p{color:#526b8b;line-height:1.55}.program-workspace{grid-template-columns:minmax(280px,.76fr) minmax(0,1.24fr);gap:22px;min-width:0;display:grid}.program-workspace>*{min-width:0}.robot-simulator{isolation:isolate;background:radial-gradient(circle at 12% 18%,#ffffffeb 0 22px,#0000 23px),radial-gradient(circle at 82% 10%,#ffffffb8 0 30px,#0000 31px),linear-gradient(155deg,#e2f3ee,#eef8f5 48%,#d8ecf4);border:1px solid #bcd5ef;border-radius:24px;align-self:start;padding:16px;position:relative;overflow:hidden;box-shadow:inset 0 1px #fff,0 14px 32px #1f538b1f}.robot-simulator:before,.robot-simulator:after{z-index:-1;content:"";pointer-events:none;background:#ffffff7a;border-radius:999px;position:absolute}.robot-simulator:before{width:100px;height:32px;top:52px;right:-28px;box-shadow:-38px 8px 0 -7px #fff6}.robot-simulator:after{background:#71b5971a;width:112px;height:38px;bottom:64px;left:-36px}.robot-simulator.is-success{border-color:#87c9aa;box-shadow:inset 0 1px #fff,0 0 0 4px #41a6751f,0 14px 32px #1f538b1f}.robot-simulator__heading{color:#173f7a;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.robot-simulator__heading div{align-items:center;gap:9px;min-width:0;display:flex}.robot-simulator__heading-icon{fill:#eef7ff;stroke:#397bbd;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:25px;height:25px}.robot-simulator__heading small{color:#526b8b;white-space:nowrap;background:#ffffffc7;border-radius:999px;padding:4px 9px;font-weight:800}.robot-map{grid-template-columns:repeat(var(--robot-columns),minmax(42px,1fr));grid-template-rows:repeat(var(--robot-rows),1fr);aspect-ratio:var(--robot-columns)/var(--robot-rows);background:radial-gradient(circle at 16% 18%,#ffffffbd 0 2px,#0000 3px),radial-gradient(circle at 84% 76%,#498b651f 0 3px,#0000 4px),linear-gradient(145deg,#eef9ef,#dcefe7);border:1px solid #537ea757;border-radius:20px;padding:7px;display:grid;position:relative;overflow:hidden}.robot-map__cell{aspect-ratio:1;background:#ffffff94;border:1px solid #598b764d;border-radius:12px;place-items:center;min-width:0;margin:3px;display:grid;position:relative;box-shadow:inset 0 1px #fffc}.robot-map__cell.is-start{background:#daeeffe8;box-shadow:inset 0 0 0 2px #2f6feb24}.robot-map__cell.is-current{border-color:#2f6feb;box-shadow:inset 0 0 0 2px #2f6feb3b,0 0 0 2px #ffffffc7}.robot-map__cell.is-goal{background:#fff2c8e0}.robot-map__cell.is-goal.is-reached{background:#e0f7e5f0;border-color:#52a66f;animation:.44s ease-out robot-goal-cell}.robot-map__cell.is-item{background:#fffbe5cc}.robot-map__cell.is-obstacle{background:repeating-linear-gradient(135deg,#cad6e2,#cad6e2 7px,#b7c7d7 7px 14px)}.robot-map .robot-map__start{z-index:5;color:#315f9f;letter-spacing:.06em;text-transform:uppercase;background:#ffffffeb;border:1px solid #315f9f33;border-radius:999px;padding:1px 4px;font-size:10px;font-weight:900;line-height:1.15;position:absolute;bottom:2px;left:50%;transform:translate(-50%)}.robot-map__trail{z-index:1;background:#eaf5ff;border:2px solid #7b9fc4;border-radius:50%;width:8px;height:8px;position:absolute;box-shadow:0 0 0 3px #ffffff9e}.robot-map__decoration{z-index:0;opacity:.42;pointer-events:none;position:absolute;bottom:8px;left:8px}.robot-map__decoration.is-grass{border-bottom:2px solid #5e9a78;width:19px;height:12px}.robot-map__decoration.is-grass:before,.robot-map__decoration.is-grass:after{content:"";border:2px solid #5e9a78;border-top:0;border-radius:0 0 8px;width:9px;height:11px;position:absolute;bottom:0}.robot-map__decoration.is-grass:before{left:1px;transform:rotate(-22deg)}.robot-map__decoration.is-grass:after{right:1px;transform:rotate(22deg)}.robot-map__decoration.is-pebble{background:#c8d7dc;border:1px solid #7d96a6;border-radius:50%;width:17px;height:9px}.robot-map__decoration.is-bush{background:#74a98b;border-radius:60% 55% 45% 50%;width:20px;height:12px;box-shadow:8px 2px 0 -2px #8abb9b}.robot-map__decoration.is-flower{background:#f0b429;border-radius:50%;width:7px;height:7px;box-shadow:0 -5px 0 -1px #fff,5px 0 0 -1px #fff,0 5px 0 -1px #fff,-5px 0 0 -1px #fff}.robot-map__decoration.is-flower:after{content:"";background:#5e9a78;width:1px;height:7px;position:absolute;top:7px;left:3px}.robot-map__goal,.robot-map__item{z-index:2;place-items:center;display:grid;position:absolute}.robot-map__goal{color:#d35a38;filter:drop-shadow(0 3px 4px #a2522233);width:43%;bottom:5px;right:6px}.robot-map__goal.is-reached{animation:.55s ease-out robot-goal-glow}.robot-map__goal svg,.robot-map__item svg{stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:100%;display:block;overflow:visible}.goal-marker__body{fill:#fffdf7;stroke:#d35a38}.goal-marker__nose{fill:#ec7654;stroke:#d35a38}.goal-marker__pad{fill:#e1a94b;stroke:#aa741b}.goal-marker__detail{fill:#f6b04d;stroke:#d35a38}.goal-marker__window{fill:#79c6e4;stroke:#2f6f95}.goal-marker__glow{fill:#f1af3040;stroke:none}.goal-marker__flame{fill:#f4a62a;stroke:#d46c1c}.goal-marker__smoke{fill:none;stroke:#a9bac3;stroke-width:1.6px}.robot-map__item{color:#b97705;filter:drop-shadow(0 3px 4px #aa680838);width:34%;font-style:normal;transition:opacity .34s,transform .34s,filter .34s;top:7px;right:7px}.robot-map__item.is-collected{opacity:0;filter:drop-shadow(0 0 8px #f0b428cc);pointer-events:none;transform:translate(-8px,8px)scale(.42)}.robot-map__item.is-pickup{animation:.36s ease-out forwards robot-key-pickup}.item-marker__shine{fill:#ffe06657;stroke:none}.item-marker__ring{fill:#fff4b8;stroke:#b97705;stroke-width:2.5px}.item-marker__key{fill:none;stroke:#b97705;stroke-width:3.2px}.robot-map__item.is-crystal{color:#755bd6}.item-marker__crystal{fill:#8465dc2e}.robot-map__rover{z-index:4;pointer-events:none;place-items:center;padding:10px;transition:transform .36s cubic-bezier(.2,.8,.2,1);display:grid;position:absolute;top:7px;left:7px}.robot-map__rover.is-at-start{padding:5px 10px 25px}.robot-map__rover.is-moving .rover{animation:.36s ease-out robot-step}.robot-map__rover.is-turning .rover{animation:.32s ease-out robot-turn}.rover{filter:drop-shadow(0 6px 6px #1a375645);width:92%;height:92%;overflow:visible}.rover__body{transform-origin:40px 40px;transform:rotate(var(--rover-turn));transition:transform .32s cubic-bezier(.2,.8,.2,1)}.rover__antenna{fill:none;stroke:#326da7;stroke-width:2px}.rover__antenna-tip{fill:#f0b429;stroke:#9a6b09;stroke-width:1.2px}.rover__base{fill:#356f9f;stroke:#173f6a;stroke-width:2px}.rover__wheel{fill:#263d55;stroke:#14283b;stroke-width:1.5px}.rover__wheel-hub{fill:#7fa8c5;stroke:#d9eefb;stroke-width:1px}.rover__chassis{fill:#f9fdff;stroke:#2e73b8;stroke-width:3px}.rover__shell-highlight{fill:none;stroke:#d9effc;stroke-width:2px;stroke-linecap:round}.rover__direction{fill:#559de2;stroke:#2366a5;stroke-width:2px}.rover__screen{fill:#102f4d;stroke:#255f8d;stroke-width:2px}.rover__eye{fill:#76def0}.rover__eye-glint{fill:#fff}.rover__smile{fill:none;stroke:#91e6ed;stroke-width:1.8px}.rover__status-light{fill:#56bd86;stroke:#207150;stroke-width:1.2px}.rover__panel{fill:none;stroke:#7eacd0;stroke-width:2.2px;stroke-linecap:round}@keyframes robot-step{0%{transform:translateY(1px)scale(.98)}55%{transform:translateY(-2px)scale(1.02)}to{transform:none}}@keyframes robot-turn{0%{filter:drop-shadow(0 6px 6px #1a375645)}50%{filter:drop-shadow(0 7px 8px #2f6feb6b)}to{filter:drop-shadow(0 6px 6px #1a375645)}}@keyframes robot-key-pickup{0%{opacity:1;transform:none}45%{opacity:1;filter:drop-shadow(0 0 9px #f0b428e6);transform:translate(-3px,3px)scale(1.12)}to{opacity:0;transform:translate(-8px,8px)scale(.42)}}@keyframes robot-goal-cell{0%{box-shadow:inset 0 0 0 2px #2f6feb3b}60%{box-shadow:inset 0 0 0 3px #42aa6a5c,0 0 0 5px #5ab77b24}to{box-shadow:inset 0 0 0 2px #42aa6a33}}@keyframes robot-goal-glow{0%,to{filter:drop-shadow(0 3px 4px #a2522233)}55%{filter:drop-shadow(0 0 10px #f0b428bf)}}.robot-simulator__status{text-align:center;background:#ffffffc2;border:1px solid #85a8c73d;border-radius:13px;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 10px;margin-top:11px;padding:9px 11px;display:flex}.robot-simulator__status span{color:#526b8b}.robot-simulator__status small.is-success{color:#176b4c;font-weight:800}.robot-simulator__status small.is-learning{color:#9a5410;font-weight:800}.program-workspace__editor{min-width:0}.program-mode-switcher{background:#f4f7fb;border:1px solid #d5e1ef;border-radius:14px;gap:6px;margin-bottom:10px;padding:4px;display:flex}.program-mode-switcher button{color:#526b8b;background:0 0;border:0;border-radius:9px;flex:1;padding:6px 11px;font-weight:800}.program-mode-switcher button.is-active{color:#245fd0;background:#fff;box-shadow:0 3px 10px #224d821f}.program-execution{background:#fff;border:1px solid #d5e2ef;border-radius:15px;gap:8px;min-inline-size:0;margin:0 0 10px;padding:10px;display:grid}.program-execution__heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.program-execution__heading strong{color:#173f7a;font-size:13px}.program-execution__heading span{color:#607995;text-align:right;font-size:11px;line-height:1.35}.program-execution__modes{background:#edf3f9;border-radius:11px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:3px;display:grid}.program-execution__modes label{color:#526b8b;text-align:center;cursor:pointer;border:1px solid #0000;border-radius:8px;place-items:center;min-height:32px;padding:5px 9px;font-size:12px;font-weight:800;display:grid;position:relative}.program-execution__modes label.is-active{color:#245fd0;background:#fff;border-color:#c5d8ec;box-shadow:0 2px 7px #224d821a}.program-execution__modes input{opacity:0;width:1px;height:1px;position:absolute}.program-execution__modes label:focus-within{outline-offset:2px;outline:3px solid #2f6feb4d}.program-step-actions{flex-wrap:wrap;gap:6px;display:flex}.program-step-actions button{color:#214d83;background:#fff;border:1px solid #b9cde4;border-radius:10px;flex:auto;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:6px 10px;font-size:12px;font-weight:800;display:inline-flex}.program-step-actions button.is-primary{color:#fff;background:#2f6feb;border-color:#2f6feb}.program-step-actions button:disabled{cursor:not-allowed;opacity:.5}.program-step-actions button:focus-visible{outline-offset:2px;outline:3px solid #2f6feb4d}.program-step-status{color:#355676;background:#f1f7fd;border-left:3px solid #78aee0;border-radius:8px;margin:0;padding:8px 10px;font-size:12px;line-height:1.4}.program-split{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;display:grid}.program-split__panel{min-width:0}.program-split__panel>h3{color:#607995;letter-spacing:.1em;text-transform:uppercase;margin:0 0 7px;font-size:12px}.program-editor,.python-program{min-width:0}.command-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px;display:block}.command-semantic,.command-semantic--neutral{--command-accent:#55779c;--command-border:#cad8e6;--command-surface:#f7f9fc;--command-surface-quiet:#fbfcfe;--command-icon-surface:#edf3f8;--command-active-surface:#eaf2fb}.command-semantic--movement{--command-accent:#287eb3;--command-border:#c4e3f4;--command-surface:#eef9ff;--command-surface-quiet:#f7fcff;--command-icon-surface:#dbf1fc;--command-active-surface:#dff2fd}.command-semantic--turn{--command-accent:#7457b7;--command-border:#d9cff0;--command-surface:#f7f3ff;--command-surface-quiet:#fbf9ff;--command-icon-surface:#eee7fb;--command-active-surface:#eee7fc}.command-semantic--turn-left{--command-accent:#6657d9;--command-border:#6657d9;--command-surface:#f1eeff;--command-surface-quiet:#f1eeff;--command-icon-surface:#e5e0ff;--command-active-surface:#e7e2ff}.command-semantic--turn-right{--command-accent:#1683b8;--command-border:#1683b8;--command-surface:#e7f7ff;--command-surface-quiet:#e7f7ff;--command-icon-surface:#d5f0fc;--command-active-surface:#d9f2fd}.command-semantic--object{--command-accent:#a66f08;--command-border:#ead9a8;--command-surface:#fff9e8;--command-surface-quiet:#fffcf3;--command-icon-surface:#fff0bf;--command-active-surface:#fff3ce}.command-semantic--condition{--command-accent:#247657;--command-border:#c7e3d4;--command-surface:#f1faf5;--command-surface-quiet:#f7fcf9;--command-icon-surface:#dff3e8;--command-active-surface:#e2f5eb}.command-semantic--loop{--command-accent:#287f82;--command-border:#c4e1df;--command-surface:#eff9f8;--command-surface-quiet:#f8fcfb;--command-icon-surface:#dcf0ee;--command-active-surface:#e1f4f2}.program-panel-heading{margin-bottom:8px}.program-panel-heading strong{color:#173f7a;letter-spacing:.08em;text-transform:uppercase;font-size:12px;display:block}.program-panel-heading p{color:#607995;margin:3px 0 0;font-size:11px;line-height:1.35}.command-palette{background:#f5f9fe;border:1px solid #cbdced;border-radius:15px;margin-bottom:10px;padding:11px}.program-sequence{background:#fff;border:1px solid #d4e0ec;border-radius:15px;padding:11px}.block-python-preview__actions{justify-content:flex-end;margin-top:8px;display:flex}.block-python-preview__toggle{color:#245fd0;background:#fff;border:1px solid #b9cde4;border-radius:10px;align-items:center;gap:6px;min-height:34px;padding:6px 10px;font-size:12px;font-weight:800;display:inline-flex}.block-python-preview__toggle:hover{background:#edf5ff;border-color:#6f9ed4}.block-python-preview__toggle:focus-visible{outline-offset:2px;outline:3px solid #2f6feb4d}.block-python-preview{background:#f5f9fe;border:1px solid #cbdced;border-radius:15px;margin-top:8px;padding:8px}.block-python-preview .python-program{box-shadow:none}.block-python-preview .python-program__lines{max-height:220px;overflow-y:auto}.block-python-preview .python-program__line{min-height:38px}.command-palette__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.command-palette__item{text-align:left;cursor:grab;grid-template-columns:30px minmax(0,1fr) 15px;align-items:center;min-height:42px;font-size:12px;border:1px solid var(--command-border)!important;background:var(--command-surface)!important;color:#173f7a!important;border-radius:11px!important;padding:5px 7px!important;font-weight:800!important;display:grid!important}.command-palette__item:hover{transform:translateY(-1px);border-color:var(--command-accent)!important;background:var(--command-active-surface)!important}.command-palette__item:active{cursor:grabbing}.command-palette__icon{background:var(--command-icon-surface);width:30px;height:30px;color:var(--command-accent);border-radius:9px;place-items:center;display:grid}.command-palette__copy{justify-content:space-between;align-items:center;gap:6px;min-width:0;display:flex}.command-palette__copy>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.command-palette__item.command-semantic--turn-left .command-icon,.command-palette__item.command-semantic--turn-right .command-icon{stroke-width:2.25px;width:26px;height:26px}.command-palette__grip{color:#8aa2bd;text-align:right;font-size:16px}.program-list{margin:0;padding:0;display:grid}.program-list__item{box-sizing:border-box;border:1px solid var(--command-border);border-left:4px solid var(--command-accent);background:var(--command-surface);border-radius:12px;grid-template-columns:26px 15px minmax(0,1fr) auto;align-items:center;gap:6px;min-height:46px;padding:3px 5px;transition:border-color .18s,background-color .18s,box-shadow .18s,opacity .18s;display:grid;box-shadow:0 3px 8px #254f7e0d}.program-split .program-list__item{background:var(--command-surface-quiet)}.program-list__item.command-semantic--movement{--command-accent:#3d8fd1;--command-border:#3d8fd1;--command-surface-quiet:#eaf6ff;--command-icon-surface:#dff0ff;--command-active-surface:#dff0ff}.program-list__item.command-semantic--turn-left{--command-accent:#6657d9;--command-border:#6657d9;--command-surface:#f1eeff;--command-surface-quiet:#f1eeff;--command-icon-surface:#e5e0ff;--command-active-surface:#e7e2ff}.program-list__item.command-semantic--turn-right{--command-accent:#1683b8;--command-border:#1683b8;--command-surface:#e7f7ff;--command-surface-quiet:#e7f7ff;--command-icon-surface:#d5f0fc;--command-active-surface:#d9f2fd}.program-list__item.command-semantic--object{--command-accent:#b6831e;--command-border:#b6831e;--command-surface-quiet:#fff7df;--command-icon-surface:#ffefbd;--command-active-surface:#fff1c9}.program-list__item.is-dragging,.python-program__line.is-dragging{opacity:.42}.program-list__item.is-selected{border-color:var(--command-accent);box-shadow:0 0 0 2px #2f6feb24}.program-list__item.is-active{z-index:1;border-color:var(--command-accent);background:var(--command-active-surface);outline-offset:1px;outline:3px solid #2f6feb33;position:relative;box-shadow:0 6px 14px #254f7e1f}.program-list__item.is-completed{box-shadow:inset 0 0 0 1px #366aa01a,0 3px 8px #254f7e0a}.program-list__item.is-completed .program-block__label,.program-list__item.is-completed .command-icon,.program-list__item.is-completed .program-list__number{opacity:.68}.program-list__item.is-error{border-color:#c95050;border-left-color:var(--command-accent);outline-offset:1px;box-shadow:none;outline:3px solid #c9505024}.program-list__number{color:#3f6289;background:#e8eef5;border-radius:7px;place-items:center;width:24px;height:24px;font-size:12px;font-weight:900;display:grid}.program-list__handle{color:#7994b0;cursor:grab;font-size:17px}.program-block{text-align:left;align-items:center;gap:7px;min-width:0;font-size:13px;color:#17345f!important;background:0 0!important;border:0!important;justify-content:flex-start!important;min-height:34px!important;padding:5px 3px!important;font-weight:800!important;display:flex!important}.program-block__copy{flex:auto;align-items:center;gap:7px;min-width:0;display:flex}.program-block__label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.program-block .command-icon{box-sizing:border-box;background:var(--command-icon-surface);width:26px;height:26px;color:var(--command-accent);border-radius:8px;flex:none;padding:4px}.program-block .command-icon--turn-left,.program-block .command-icon--turn-right{stroke-width:2.25px;width:28px;height:28px;padding:1px}.command-direction-badge{min-height:18px;color:var(--command-accent);letter-spacing:.06em;background:#fff;border:1px solid;border-radius:999px;flex:none;align-items:center;padding:2px 6px;font-size:9px;font-weight:950;line-height:1;display:inline-flex}.program-block__state{min-width:19px;min-height:19px;color:var(--command-accent);white-space:nowrap;border:1px solid;border-radius:999px;flex:none;justify-content:center;align-items:center;margin-left:auto;padding:2px 5px;font-size:9px;font-weight:900;line-height:1;display:inline-flex}.program-block__state.is-current{background:#fff;font-size:10px}.program-block__state.is-completed{color:#247657;padding-inline:4px}.program-block__state.is-error{color:#b73535}.program-list__actions,.python-program__actions{gap:3px;display:flex}.program-list__actions button,.python-program__actions button{color:#245fd0;background:#fff;border:1px solid #c7d6e7;border-radius:8px;width:32px;min-height:30px;padding:0;font-weight:900}.program-list__actions button:hover,.python-program__actions button:hover{background:#edf5ff;border-color:#6f9ed4}.program-list__actions .program-list__delete{color:#b73535;background:#fff4f4;border-color:#efcaca}.program-list__actions .program-list__delete:hover{background:#ffe9e9;border-color:#d97777}.program-list__actions button:focus-visible,.program-block:focus-visible,.command-palette__item:focus-visible{outline-offset:2px;outline:3px solid #2f6feb4d}.program-drop-zone,.python-drop-zone{color:#245fd0;place-items:center;height:5px;transition:height .15s;display:grid;position:relative}.program-drop-zone:before,.python-drop-zone:before{content:"";background:0 0;border-radius:99px;height:2px;position:absolute;left:8px;right:8px}.program-drop-zone span,.python-drop-zone span{z-index:1;color:#fff;background:#2f6feb;border-radius:999px;padding:2px 8px;font-size:10px;font-weight:800;display:none;position:relative}.program-drop-zone.is-visible,.python-drop-zone.is-visible{height:16px}.program-drop-zone.is-visible:before,.python-drop-zone.is-visible:before{background:#9ebce0}.program-drop-zone.is-target,.python-drop-zone.is-target{height:28px}.program-drop-zone.is-target:before,.python-drop-zone.is-target:before{background:#2f6feb;height:3px}.program-drop-zone.is-target span,.python-drop-zone.is-target span{display:block}.program-editor__empty,.program-editor__locked{color:#526b8b;text-align:center;border:1px dashed #b9cce3;border-radius:14px;padding:18px}.program-editor__locked{color:#875015;background:#fff7e8}.python-program{color:#e6f0ff;background:#102a43;border:1px solid #b9cee4;border-radius:17px;overflow:hidden;box-shadow:0 8px 20px #102a4324}.python-program header{background:#173b60;border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:center;gap:12px;padding:11px 14px;display:flex}.python-program header strong{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px}.python-program header span{color:#a9d5ff;background:#24517c;border-radius:7px;padding:3px 7px;font-size:11px;font-weight:800}.python-program__lines{padding:10px 8px;display:grid}.python-program__line{color:#86c5ff;border:1px solid #0000;border-radius:9px;outline:0;grid-template-columns:28px 18px minmax(0,1fr) auto;align-items:center;min-height:46px;padding:4px 6px;transition:background-color .18s,border-color .18s;display:grid}.python-program__line.is-readonly{grid-template-columns:28px minmax(0,1fr)}.python-program__line:focus-visible,.python-program__line.is-selected{background:#173b60;border-color:#4d83b7}.python-program__line.is-active{background:#1d4b73;border-color:#71b6f1;box-shadow:inset 3px 0 #79c2ff}.python-program__line.is-completed{box-shadow:inset 3px 0 #56bd86}.python-program__line.is-error{border-color:#e68279;box-shadow:inset 3px 0 #e68279}.python-program__number{color:#6485a3;text-align:right;font:12px ui-monospace,SFMono-Regular,Consolas,monospace}.python-program__handle{color:#6f91ad;cursor:grab;font-size:17px}.python-program__command{align-items:center;gap:7px;min-width:0;display:flex}.python-program__direction{border:1px solid var(--command-border);background:var(--command-surface);width:25px;height:25px;color:var(--command-accent);border-radius:8px;flex:none;place-items:center;display:grid}.python-program__direction .command-icon{width:16px;height:16px}.python-program code{color:#dff4ff;white-space:nowrap;min-width:0;font:14px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}.syntax-function{color:#85d3ff}.syntax-punctuation{color:#f3d58a}.syntax-comment{color:#829cb4}.python-program>p{color:#7f9eba;padding:0 16px 16px}.python-drop-zone{color:#cbe8ff}.python-drop-zone.is-visible:before{background:#426b91}.python-drop-zone.is-target:before{background:#79c2ff}.python-drop-zone.is-target span{background:#2e75b6}.lesson-action-row{flex-wrap:wrap;gap:9px;margin-top:14px;display:flex}.lesson-action-row button,.lesson-action-row a,.lesson-primary-action{color:#214d83;background:#fff;border:1px solid #b8cce4;border-radius:12px;justify-content:center;align-items:center;gap:7px;padding:9px 17px;font-weight:800;text-decoration:none;display:inline-flex}.lesson-action-row .lesson-primary-action,.lesson-primary-action{color:#fff;background:#2f6feb;border-color:#2f6feb}.lesson-action-row button:disabled{cursor:not-allowed;opacity:.5}.program-action-bar{background:#f8fbff;border:1px solid #d5e2ef;border-radius:16px;padding:10px}.task-feedback{color:#526b8b;background:#eef4fa;border:1px solid #0000;border-radius:13px;min-height:48px;margin:12px 0 0;padding:12px 14px;line-height:1.45}.task-feedback.is-success{color:#176b4c;background:#e7f7ef;border-color:#b9e2ce}.task-feedback.is-learning{color:#8a4d0d;background:#fff4df;border-color:#f0d5a8}.program-block-help{color:#235ba9;background:#f3f8ff;border:1px solid #9cbce1;border-radius:11px;margin-top:12px;padding:8px 14px;font-weight:800}.program-block-help__content{background:#f8fbff;border:1px solid #d7e3f1;border-radius:15px;margin-top:10px;padding:12px}.command-explanation{background:#eef7ff;border-radius:13px;grid-template-columns:1fr auto;gap:10px;margin:12px 0 0;padding:12px 14px;display:grid}.command-explanation code{color:#245fd0;font-weight:800}.hint-drawer{margin-top:22px}.hint-drawer>button{color:#235ba9;background:#fff;border:1px solid #9cbce1;border-radius:12px;width:100%;padding:9px 13px;font-weight:800}.hint-drawer__panel{background:#fff;border:1px solid #cfe0f4;border-radius:16px;margin-top:8px;padding:14px}.hint-drawer__panel h3{margin:0}.hint-drawer__panel>p{font-size:14px}.hint-drawer article{background:#eef7ff;border-radius:11px;grid-template-columns:28px 1fr;gap:9px;margin-top:9px;padding:10px;display:grid}.hint-drawer article>span{color:#245fd0;background:#d7eaff;border-radius:50%;place-items:center;width:28px;height:28px;font-weight:900;display:grid}.hint-drawer article p{margin:3px 0 0}.hint-drawer article.is-full{background:#fff1d8}.hint-drawer__panel>button{color:#214d83;background:#f7fbff;border:1px solid #b9cde5;border-radius:10px;width:100%;margin-top:10px;padding:8px;font-weight:800}.lesson-summary{grid-template-columns:auto minmax(0,1fr);gap:22px;display:grid}.lesson-summary__mark{color:#176b4c;background:#dff6eb;border-radius:25px;place-items:center;width:78px;height:78px;font-size:40px;font-weight:900;display:grid}.lesson-summary ul{gap:8px;padding:0;list-style:none;display:grid}.lesson-summary__uses{flex-wrap:wrap;display:flex!important}.lesson-summary__uses li{color:#214d83;background:#eef5ff;border-radius:999px;padding:7px 11px}.interactive-lesson__save{z-index:5;color:#526b8b;background:#fffffff0;border:1px solid #d4e1ef;border-radius:999px;width:max-content;max-width:100%;margin:18px 0 0 auto;padding:9px 14px;font-size:13px;position:sticky;bottom:12px;box-shadow:0 8px 22px #224d821f}@media (width<=1180px){.program-workspace{grid-template-columns:1fr}.robot-simulator{width:min(560px,100%)}.program-split{grid-template-columns:1fr 1fr}}.variable-tracing-practice{gap:20px;display:grid}.variable-tracing-practice__header{justify-content:space-between;align-items:start;gap:24px;display:flex}.variable-tracing-practice__header h2{color:var(--lesson-ink);margin:6px 0 8px;font-size:clamp(25px,3vw,36px)}.variable-tracing-practice__header p{max-width:760px;color:var(--lesson-muted);margin:0}.variable-tracing-practice__score{text-align:center;background:#f4f8ff;border:1px solid #cfe0f4;border-radius:18px;gap:2px;min-width:150px;padding:14px 18px;display:grid}.variable-tracing-practice__score span,.variable-tracing-practice__score small{color:var(--lesson-muted);font-weight:750}.variable-tracing-practice__score strong{color:#1e5dbc;font-size:25px}.variable-tracing-practice__scenarios{gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.variable-tracing-practice__scenarios button{color:#46617f;background:#fff;border:1px solid #d4e1ef;border-radius:999px;flex:none;padding:10px 14px;font-weight:800}.variable-tracing-practice__scenarios button.is-active{color:#174c9c;background:#eaf3ff;border-color:#2f6feb}.variable-tracing-practice__context{background:#f5f9ff;border-left:4px solid #2f6feb;border-radius:14px;justify-content:space-between;align-items:start;gap:24px;padding:16px 18px;display:flex}.variable-tracing-practice__context div{gap:4px;display:grid}.variable-tracing-practice__context span{color:var(--lesson-muted);letter-spacing:.04em;text-transform:uppercase;font-size:13px;font-weight:800}.variable-tracing-practice__context p{color:var(--lesson-muted);margin:0}.variable-tracing-practice__flow{margin:0}.variable-tracing-practice__memories{gap:9px;display:grid}.variable-tracing-practice__answer{background:#fff;border:1px solid #cfe0f4;border-radius:22px;gap:14px;padding:clamp(18px,3vw,26px);display:grid;box-shadow:0 12px 32px #23538f14}.variable-tracing-practice__answer h3{color:var(--lesson-ink);margin:4px 0 0;font-size:20px}.variable-tracing-practice__answer>div>span{color:#2f6feb;letter-spacing:.06em;text-transform:uppercase;font-size:13px;font-weight:900}.variable-tracing-practice__answer form{grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:10px;display:grid}.variable-tracing-practice__answer form label{grid-column:1/-1;font-weight:800}.variable-tracing-practice__answer input{min-width:0;min-height:46px;color:var(--lesson-ink);font:inherit;border:1px solid #aebfd3;border-radius:12px;padding:10px 13px}.variable-tracing-practice__answer form button{color:#274d79;background:#fff;border:1px solid #b9cbe0;border-radius:12px;padding:10px 15px;font-weight:850}.variable-tracing-practice__explanation{background:#effaf5;border:1px solid #b8dfcc;border-radius:14px;padding:14px 16px}.variable-tracing-practice__explanation.is-assisted{background:#fff8e6;border-color:#efd28a}.variable-tracing-practice__explanation p{margin:5px 0 0}.variable-tracing-practice__feedback{color:#6b4a12;margin:0;font-weight:750}.variable-tracing-practice__controls{flex-wrap:wrap;gap:10px;display:flex}.variable-tracing-practice__controls button{color:#274d79;background:#fff;border:1px solid #b9cbe0;border-radius:12px;padding:10px 15px;font-weight:850}.variable-tracing-practice__history{background:#f8fbff;border:1px solid #d4e1ef;border-radius:15px;padding:13px 16px}.variable-tracing-practice__history summary{cursor:pointer;color:#284e79;font-weight:850}.variable-tracing-practice__history ol{gap:7px;margin:12px 0 0;padding-left:22px;display:grid}.variable-tracing-practice__history li{grid-template-columns:auto minmax(0,1fr) auto;align-items:baseline;gap:10px;display:grid}.variable-tracing-practice__history li span,.variable-tracing-practice__history li em{color:var(--lesson-muted);font-size:13px}.lesson-task__stdin{background:#f5f9ff;border:1px solid #c9d9ea;border-radius:14px;margin-top:16px;padding:13px 15px}.lesson-task__stdin h4{color:#345777;letter-spacing:.05em;text-transform:uppercase;margin:0 0 8px;font-size:13px}.lesson-task__stdin pre{color:var(--lesson-ink);white-space:pre-wrap;margin:0;font:750 14px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-x:auto}.lesson-task__mistake{background:#fff8e8;border-left:4px solid #f59e0b;border-radius:12px;margin-top:16px;padding:13px 15px}.lesson-task__mistake h4{color:#8a4b08;letter-spacing:.04em;text-transform:uppercase;margin:0 0 6px;font-size:13px}.lesson-task__mistake p{color:#6f4a20;margin:0}.execution-trace{background:#f8fbff;border:1px solid #cfe0f4;border-radius:22px;gap:15px;margin-top:22px;padding:clamp(17px,3vw,25px);display:grid}.execution-trace header h3{color:var(--lesson-ink);margin:4px 0 6px;font-size:21px}.execution-trace header>p:last-child{color:var(--lesson-muted);margin:0}.execution-trace ol{gap:10px;margin:0;padding:0;list-style:none;display:grid}.execution-trace li{background:#fff;border:1px solid #dbe6f2;border-radius:15px;grid-template-columns:34px minmax(0,1fr);gap:12px;padding:13px;display:grid}.execution-trace__number{color:#1f5fb9;background:#e7f1ff;border-radius:50%;place-items:center;width:32px;height:32px;font-weight:900;display:grid}.execution-trace li p{color:#45617d;margin:6px 0 0}.execution-trace code{color:#173b63;background:#edf3fa;border-radius:5px;padding:2px 5px}.execution-trace mark{color:#3f5267;background:#eef2f7;border-radius:999px;padding:2px 7px;font-weight:900}.execution-trace mark.is-true{color:#176b3b;background:#e5f7ec}.execution-trace mark.is-false{color:#9b3f2e;background:#fff0ed}@media (width<=760px){.variable-tracing-practice__header,.variable-tracing-practice__context{flex-direction:column}.variable-tracing-practice__score{width:100%}.variable-tracing-practice__answer form{grid-template-columns:1fr}.variable-tracing-practice__answer form label{grid-column:auto}.variable-tracing-practice__answer form button{width:100%}.variable-tracing-practice__controls{grid-template-columns:1fr;display:grid}.variable-tracing-practice__history li{grid-template-columns:1fr;gap:2px}}@media (prefers-reduced-motion:reduce){.variable-tracing-practice *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (width<=820px){.interactive-lesson{width:min(100% - 24px,1440px);padding-top:16px}.interactive-lesson__header{border-radius:22px;grid-template-columns:1fr;gap:18px}.interactive-lesson__progress{min-width:0}.lesson-task__body{grid-template-columns:1fr}.lesson-task__copy{padding:16px}.program-split{grid-template-columns:1fr}.lesson-section-nav button{flex-basis:112px}}@media (width<=560px){.interactive-lesson{width:min(100% - 16px,1440px)}.interactive-lesson__header,.lesson-theory,.lesson-task,.lesson-summary{border-radius:20px;padding:20px}.lesson-task__header{flex-direction:column;align-items:stretch}.lesson-task__header button{width:100%}.program-mode-switcher{overflow-x:auto}.program-mode-switcher button{min-width:88px}.robot-map__cell{border-radius:8px;margin:2px}.command-palette__grid{grid-template-columns:1fr}.program-list__item{grid-template-columns:28px 16px minmax(0,1fr)}.program-block{flex-wrap:wrap;align-items:flex-start!important}.program-block__copy{flex-wrap:wrap;flex:calc(100% - 35px);gap:3px 6px}.program-block__state{margin-left:35px;margin-right:auto}.program-list__actions{grid-column:3;justify-content:flex-end}.python-program__line{grid-template-columns:24px 16px minmax(0,1fr)}.python-program__actions{grid-column:3;justify-content:flex-end}.program-action-bar button{flex:155px}.lesson-summary{grid-template-columns:1fr}.lesson-summary__mark{width:62px;height:62px}.interactive-lesson__save{text-align:center;width:100%;margin-left:0;position:static}}@media (prefers-reduced-motion:reduce){.interactive-lesson *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.robot-map__rover,.rover__body{transition:none!important}}.console-task-stack,.python-console-workspace{gap:14px;min-width:0;display:grid}.python-console-workspace__panels{grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);grid-template-areas:"editor console""actions actions";align-items:start;gap:14px;display:grid}.python-console-workspace__editor{grid-area:editor;min-width:0}.python-console-workspace__panels>.lesson-console{grid-area:console}.python-console-workspace__panels>.python-console-actions{grid-area:actions}.python-prediction{background:#f7fbff;border:1px solid #cbdced;border-radius:17px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:14px;display:grid}.python-prediction legend{color:#173f7a;padding:0 6px;font-weight:900}.python-prediction label{color:#294f7b;cursor:pointer;background:#fff;border:1px solid #d2dfed;border-radius:12px;align-items:center;gap:9px;min-height:48px;padding:9px 12px;font-weight:750;display:flex}.python-prediction label:has(input:checked){background:#eaf4ff;border-color:#5d91cf}.python-prediction input{accent-color:#2f6feb;width:19px;height:19px}.lesson-python-editor,.print-python-lines{color:#e6f0ff;background:#102a43;border:1px solid #b9cee4;border-radius:17px;overflow:hidden;box-shadow:0 8px 20px #102a4324}.lesson-python-editor>header,.print-python-lines>header{background:#173b60;border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:center;padding:11px 14px;display:flex}.lesson-python-editor>header strong,.print-python-lines>header strong{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px}.lesson-python-editor>header span,.print-python-lines>header span{color:#a9d5ff;background:#24517c;border-radius:7px;padding:3px 7px;font-size:11px;font-weight:800}.lesson-python-editor .coding-python-editor-shell{box-shadow:none;border:0;border-radius:0}.lesson-python-editor>small{color:#9fc2df;padding:8px 14px;font-size:12px;display:block}.interactive-lesson .lesson-python-editor .coding-code-editor .cm-editor{height:clamp(320px,38vh,440px)}.lesson-console{background:#f7fbff;border:1px solid #c8d8e8;border-radius:17px;overflow:hidden}.lesson-console>header{background:#edf5fd;border-bottom:1px solid #d9e5f1;justify-content:space-between;align-items:center;gap:10px;padding:11px 13px;display:flex}.lesson-console>header div{align-items:center;gap:8px;display:flex}.lesson-console>header strong{color:#173f7a}.lesson-console>header span{color:#245fd0;background:#dcecff;border-radius:999px;padding:3px 7px;font-size:11px;font-weight:900}.lesson-console>header button{color:#315d8f;background:#fff;border:1px solid #bfd1e4;border-radius:9px;min-height:36px;padding:5px 10px;font-weight:800}.lesson-console__surface{color:#e8f4ff;min-height:190px;max-height:360px;font-size:var(--lesson-console-font-size,16px);background:linear-gradient(145deg,#132f49,#0e263c);padding:16px;overflow:auto}.lesson-console__surface pre{color:#effaff;font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.65}.lesson-console__surface pre.is-error,.lesson-console__error pre,.lesson-console__stream.is-error pre{color:#ffd3ce}.lesson-console__placeholder,.lesson-console__status{color:#aac6de;margin:0;font-style:italic}.lesson-console__stream{gap:7px;display:grid}.lesson-console__stream+.lesson-console__stream,.lesson-console__error{border-top:1px solid #34516b;margin-top:14px;padding-top:12px}.lesson-console__stream h3{color:#bad2e7;align-items:center;gap:7px;margin:0;font-size:12px;display:flex}.lesson-console__stream h3 span{color:#dcefff;text-transform:uppercase;background:#274864;border-radius:999px;padding:2px 6px;font:700 10px/1.3 ui-monospace,Consolas,monospace}.lesson-console__error{gap:7px;display:grid}.lesson-console__error strong{color:#ffb7af;font-size:13px}.lesson-console__input{background:#18324a;border-top:1px solid #3c5871;gap:9px;margin:14px -16px -16px;padding:13px 16px 16px;display:grid}.lesson-console__input label{color:#f1f7ff;flex-wrap:wrap;justify-content:space-between;gap:5px;display:flex}.lesson-console__input label span{color:#b6cada;font-size:12px}.lesson-console__input>div{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.lesson-console__input input{color:#11283d;background:#fff;border:1px solid #6f8faa;border-radius:9px;min-width:0;padding:10px 12px;font:15px/1.4 ui-monospace,Consolas,monospace}.lesson-console__input button{color:#fff;background:#4ead80;border:0;border-radius:9px;min-height:42px;padding:8px 15px;font-weight:800}.beginner-error-help{color:#7c480f;background:#fff6e7;border:1px solid #f0d5a8;border-radius:14px;padding:13px 15px}.beginner-error-help p{margin:5px 0}.beginner-error-help small{font-weight:800}.python-console-actions{background:#f8fbff;border:1px solid #d5e2ef;border-radius:16px;flex-wrap:wrap;gap:9px;padding:10px;display:flex}.python-console-actions button{color:#214d83;background:#fff;border:1px solid #b8cce4;border-radius:12px;justify-content:center;align-items:center;min-height:44px;padding:9px 16px;font-weight:800;display:inline-flex}.python-console-actions button.lesson-primary-action{color:#fff;background:#2f6feb;border-color:#2f6feb}.python-console-actions button:disabled{cursor:not-allowed;opacity:.5}.print-command-palette{background:#f5f9fe;border:1px solid #cbdced;border-radius:15px;margin-bottom:10px;padding:13px}.print-command-palette>strong,.print-program-split h3{color:#607995;letter-spacing:.1em;font-size:12px}.print-command-palette>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:8px;display:grid}.print-command-palette__item{text-align:left;cursor:grab;grid-template-columns:30px minmax(0,1fr) 18px;align-items:center;gap:7px;min-height:50px;color:#173f7a!important;background:#fff!important;border:1px solid #b9cee7!important;border-radius:12px!important;padding:7px 9px!important;font-weight:800!important;display:grid!important}.print-command-palette__item>span{color:#2f6feb;background:#e8f2ff;border-radius:9px;place-items:center;width:29px;height:29px;display:grid}.print-command-palette__item i{color:#839db8;font-size:18px;font-style:normal}.print-program-list{display:grid}.print-program-list>p{color:#526b8b;text-align:center;border:1px dashed #b9cce3;border-radius:14px;margin:0;padding:18px}.print-program-block{background:linear-gradient(90deg,#f6faff,#fff);border:1px solid #cbd9e9;border-left:4px solid #8eb7e2;border-radius:14px;grid-template-columns:30px 18px minmax(0,1fr) auto;align-items:center;gap:7px;min-height:58px;padding:7px;display:grid}.print-program-block.is-selected{background:#eaf4ff;border-color:#6197d2}.print-program-block__number{color:#245fd0;background:#e5f0fc;border-radius:8px;place-items:center;width:28px;height:28px;font-weight:900;display:grid}.print-program-block__handle{color:#7994b0;font-size:19px}.print-program-block>button{color:#17345f;text-align:left;background:0 0;border:0;justify-content:flex-start;font-weight:800}.print-program-block__actions{gap:4px;display:flex}.print-program-block__actions button{color:#245fd0;background:#fff;border:1px solid #c7d6e7;border-radius:9px;width:38px;min-height:38px;padding:0;font-weight:900}.print-program-drop{place-items:center;height:8px;display:grid;position:relative}.print-program-drop:before{content:"";background:0 0;border-radius:99px;height:2px;position:absolute;left:8px;right:8px}.print-program-drop span{z-index:1;color:#fff;background:#2f6feb;border-radius:999px;padding:2px 8px;font-size:10px;font-weight:800;display:none}.print-program-drop.is-visible{height:18px}.print-program-drop.is-visible:before{background:#9ebce0}.print-program-drop.is-target{height:30px}.print-program-drop.is-target:before{background:#2f6feb;height:3px}.print-program-drop.is-target span{display:block}.print-program-split{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.print-program-split>div{min-width:0}.print-program-split h3{margin:0 0 7px}.print-python-lines>div{padding:9px;display:grid}.print-python-line{border:1px solid #0000;border-radius:9px;grid-template-columns:28px 18px minmax(0,1fr) auto;align-items:center;min-height:48px;padding:4px 6px;display:grid}.print-python-lines.is-readonly .print-python-line{grid-template-columns:28px minmax(0,1fr)}.print-python-line:focus-visible,.print-python-line.is-selected{background:#173b60;border-color:#4d83b7;outline:0}.print-python-line>span:first-child{color:#6485a3;text-align:right;font:12px ui-monospace,SFMono-Regular,Consolas,monospace}.print-python-line>i{color:#6f91ad;font-size:17px;font-style:normal}.print-python-line code{color:#dff4ff;white-space:nowrap;font:14px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}.print-python-line code b{color:#85d3ff}.print-python-line code em{color:#f3d58a;font-style:normal}.print-python-line code q{color:#b9efa8}.print-python-line code q:before,.print-python-line code q:after{content:"\""}.print-python-lines .print-program-drop.is-visible:before{background:#426b91}.print-python-lines .print-program-drop.is-target:before{background:#79c2ff}.print-program-link{color:#607995;text-align:right;margin:0;font-size:13px}@media (width<=1180px){.python-console-workspace__panels{grid-template-columns:1fr;grid-template-areas:"editor""actions""console"}.lesson-console__surface{min-height:150px}}@media (width<=820px){.print-program-split,.python-prediction{grid-template-columns:1fr}}@media (width<=560px){.print-command-palette>div{grid-template-columns:1fr}.print-program-block,.print-python-line{grid-template-columns:27px 16px minmax(0,1fr)}.print-program-block__actions,.print-python-line .print-program-block__actions{grid-column:3;justify-content:flex-end}.python-console-actions button{flex:160px}.lesson-console__surface{min-height:150px}.lesson-console__input>div{grid-template-columns:1fr}.lesson-console__input button{width:100%}}.interactive-lesson{--lesson-surface:var(--student-surface,#fff);--lesson-background:var(--student-bg,#f2f7fb);--lesson-border:var(--student-border,#d9e4ee);--lesson-text:var(--student-text,#102a56);--lesson-muted:var(--student-muted,#60738d);--lesson-primary:var(--student-primary,#2f6feb);--lesson-primary-hover:var(--student-primary-hover,#245fd0);--lesson-success:var(--workspace-success,#237a5b);--lesson-warning:#8a4d0d;--lesson-error:#a93434;--lesson-code-background:#102a43;--lesson-code-foreground:#effaff;--lesson-rule-background:#fff7cf;--lesson-rule-border:#d8ad24;--lesson-rule-text:#4b3900;--lesson-code-font:var(--learning-code-font,ui-monospace, "Cascadia Code", "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", "Noto Sans Mono CJK SC", monospace);font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans CJK SC,Microsoft YaHei UI,sans-serif}.interactive-lesson__header h1{font-size:var(--learning-font-lesson-title,clamp(29px, 3vw, 42px));line-height:1.16}.lesson-task h2{font-size:var(--learning-font-task-title,clamp(25px, 2.2vw, 34px));line-height:1.2}.lesson-task__copy h3,.lesson-task__workspace-label{font-size:var(--learning-font-section-title,20px)}.lesson-task__copy p{font-size:var(--learning-font-body,17px);line-height:1.7}.lesson-theory>p,.lesson-theory li{font-size:clamp(18px,1.35vw,20px);line-height:1.72}.lesson-task__body{grid-template-columns:minmax(230px,290px) minmax(0,1fr);align-items:start}.lesson-task__workspace{min-width:0}.lesson-task__workspace-label{color:var(--lesson-muted);font-size:var(--learning-font-caption,13px);letter-spacing:.055em;margin:0 0 10px}.lesson-theory>p{max-width:72ch;margin-top:0;margin-bottom:1em}.lesson-theory__header{border:1px solid #c9def5;border-left:5px solid var(--lesson-primary);background:#edf6ff;border-radius:18px;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px;padding:18px 20px;display:flex}.lesson-theory__header .coding-eyebrow{color:#245fd0;margin:0}.lesson-theory__header h2{margin:7px 0 0}.lesson-theory__print-context{display:none}.lesson-theory__print{background:var(--lesson-surface);color:#235ba9;min-height:42px;font-size:var(--learning-font-button,15px);text-align:center;border:1px solid #9cbce1;border-radius:11px;flex:0 auto;justify-content:center;align-items:center;gap:8px;padding:8px 13px;font-weight:750;line-height:1.35;display:inline-flex}.lesson-theory__print:hover{border-color:var(--lesson-primary);background:#f8fbff}.lesson-theory__print svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.lesson-theory__lead{max-width:66ch!important;font-size:clamp(21px,1.8vw,25px)!important;line-height:1.6!important}.lesson-theory__rule.learning-rule-callout{border:1px solid var(--lesson-rule-border);border-left:5px solid var(--lesson-rule-border);background:var(--lesson-rule-background);color:var(--lesson-rule-text)}.lesson-theory__rule h3{color:var(--lesson-rule-text);font-size:var(--learning-font-section-title,22px)}.lesson-theory__rule ol{gap:9px;margin:0;padding-left:1.45em;display:grid}.lesson-theory__rule li{color:var(--lesson-rule-text);margin:0}.lesson-theory-example{border:1px solid var(--lesson-border);border-left:4px solid var(--lesson-primary);background:#f2f7ff}.lesson-theory-example>h3{color:var(--lesson-text);font-size:var(--learning-font-section-title,22px)}.lesson-theory-example__comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.lesson-theory-example__panel{background:var(--lesson-surface);border:1px solid #cfdeed;border-radius:14px;min-width:0;padding:13px}.lesson-theory-example h4{color:var(--lesson-text);margin:0 0 8px;font-size:16px}.lesson-theory-example pre{box-sizing:border-box;background:var(--lesson-code-background);max-width:100%;color:var(--lesson-code-foreground);font:var(--learning-font-code,16px)/1.7 var(--lesson-code-font);white-space:pre;overflow-wrap:normal;border-radius:11px;margin:0;padding:14px 16px;overflow:auto hidden}.lesson-theory-example code,.lesson-theory-example samp{color:inherit;font:inherit}.lesson-theory-example__explanation{background:var(--lesson-surface);border-radius:13px;margin-top:14px;padding:14px 16px}.lesson-theory-example__explanation p{color:var(--lesson-text);margin:0;font-size:18px;line-height:1.7}.lesson-theory.is-compact{margin-inline:0}.lesson-theory.is-compact>p,.lesson-theory.is-compact li,.lesson-theory.is-compact .lesson-theory-example__explanation p{font-size:17px;line-height:1.68}.lesson-theory-control{min-width:max-content;font-size:var(--learning-font-button,15px);justify-content:center;align-items:center;gap:8px;display:inline-flex}.lesson-theory-control[aria-expanded=true]{border-color:var(--lesson-primary);color:#173f7a;background:#eaf2ff}.learning-action-bar{border:1px solid var(--lesson-border);background:#f8fbff;border-radius:16px;flex-wrap:wrap;align-items:center;gap:9px;padding:10px;display:flex}.learning-action-bar .learning-action{background:var(--lesson-surface);color:#214d83;min-width:112px;min-height:44px;font-size:var(--learning-font-button,15px);border:1px solid #b8cce4;border-radius:11px;justify-content:center;align-items:center;gap:8px;padding:9px 16px;font-weight:750;display:inline-flex}.learning-action-bar .learning-action--primary{border-color:var(--lesson-primary);background:var(--lesson-primary);color:#fff}.learning-action-bar .learning-action--primary:hover:not(:disabled){border-color:var(--lesson-primary-hover);background:var(--lesson-primary-hover)}.learning-action__icon{color:currentColor;text-align:center;width:1.1em}.program-split,.print-program-split{gap:18px}.program-split .python-program code,.print-program-split .print-python-line code{font:13.5px/1.68 var(--lesson-code-font)}.program-split .python-program__line,.print-program-split .print-python-line{min-height:48px;padding-inline:9px}.program-split .python-program__number,.print-program-split .print-python-line>span:first-child{color:#8aa5bf;font-family:var(--lesson-code-font);font-weight:500}.python-program code,.print-python-line code,.lesson-console__surface,.lesson-console__surface pre,.lesson-python-editor>header strong,.print-python-lines>header strong{font-family:var(--lesson-code-font);font-variant-ligatures:none}.python-program code,.print-python-line code{color:var(--lesson-code-foreground)}.syntax-punctuation,.print-python-line code em{color:#ffe19b}.lesson-console{border-color:var(--lesson-border);background:var(--lesson-surface);box-shadow:0 6px 20px #102a560d}.lesson-console>header{background:#f2f7fc}.lesson-console>header strong{font-size:16px}.lesson-console>header span{color:var(--lesson-muted);background:0 0}.lesson-console__surface{background:var(--lesson-code-background);color:var(--lesson-code-foreground)}.interactive-lesson .python-program__lines,.interactive-lesson .print-python-lines>div{box-sizing:border-box;max-width:100%;padding-inline:12px;overflow:auto hidden}.interactive-lesson .python-program__line,.interactive-lesson .print-python-line{box-sizing:border-box;grid-template-columns:minmax(2.75rem,max-content) 18px minmax(max-content,1fr) auto;column-gap:10px;width:max-content;min-width:100%;padding-inline:8px 12px}.interactive-lesson .python-program__line.is-readonly,.interactive-lesson .print-python-lines.is-readonly .print-python-line{grid-template-columns:minmax(2.75rem,max-content) minmax(max-content,1fr)}.interactive-lesson .python-program__number,.interactive-lesson .print-python-line>span:first-child{box-sizing:border-box;font-variant-numeric:tabular-nums;text-align:right;min-width:2.75rem;padding-right:.55rem}.interactive-lesson .python-program code,.interactive-lesson .print-python-line code{overflow-wrap:normal;white-space:pre}.interactive-lesson .block-python-preview .python-program__lines{overflow:auto}@media (width<=820px){.lesson-task__body{grid-template-columns:minmax(0,1fr)}.lesson-task__workspace{width:100%}}@media (width<=560px){.interactive-lesson{overflow-x:clip}.learning-action-bar .learning-action{white-space:normal;flex:132px;min-width:0}.lesson-task__copy p{font-size:16px}.lesson-theory>p,.lesson-theory li{font-size:17px}.lesson-theory__header{flex-direction:column;align-items:stretch;padding:17px}.lesson-theory__print{width:100%}.lesson-theory-example__comparison{grid-template-columns:minmax(0,1fr)}.lesson-theory__rule,.lesson-theory-example{padding:18px}.interactive-lesson .python-program__line:not(.is-readonly),.interactive-lesson .print-python-lines:not(.is-readonly) .print-python-line{grid-template-columns:minmax(2.75rem,max-content) 18px minmax(max-content,1fr)}.interactive-lesson .python-program__actions,.interactive-lesson .print-python-line .print-program-block__actions{grid-column:3;justify-content:flex-end}}@media (forced-colors:active){.learning-rule-callout,.lesson-theory__header,.lesson-theory__print,.lesson-theory-example,.lesson-theory-example__panel,.lesson-theory-example__explanation,.lesson-theory-example pre,.learning-action-bar,.learning-action,.lesson-console,.lesson-console__surface{color:canvastext;box-shadow:none;background:canvas;border:1px solid canvastext}.learning-action-bar .learning-action--primary{color:highlighttext;background:highlight}}.interactive-lesson__aside{gap:10px;min-width:min(100%,240px);display:grid}.module-topic-navigator__trigger{color:#214d83;background:#fff;border:1px solid #9cbce1;border-radius:13px;justify-content:center;align-items:center;gap:9px;width:100%;padding:9px 15px;font-weight:850;display:inline-flex}.module-topic-navigator__trigger:disabled{cursor:wait;opacity:.62}.module-topic-navigator__trigger svg,.module-topic-navigator__close svg,.module-topic-navigator__number svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.module-topic-navigator{z-index:120;justify-items:end;display:grid;position:fixed;inset:0}.module-topic-navigator__backdrop{background:#091e4273;border:0;border-radius:0;width:100%;min-height:100%;position:absolute;inset:0}.module-topic-navigator__panel{z-index:1;background:#fff;border-left:1px solid #cbdced;grid-template-rows:auto auto minmax(0,1fr) auto;width:min(420px,100vw - 24px);height:100dvh;display:grid;position:relative;overflow:hidden;box-shadow:-20px 0 60px #102a5638}.module-topic-navigator__panel>header{justify-content:space-between;align-items:flex-start;gap:18px;padding:24px 22px 15px;display:flex}.module-topic-navigator__panel h2{color:#102a56;margin:5px 0 4px;font-size:22px;line-height:1.25}.module-topic-navigator__panel header p{color:#607995;margin:0}.module-topic-navigator__close{color:#214d83;background:#f7faff;border:1px solid #c4d5e8;border-radius:12px;flex:none;place-items:center;width:44px;min-height:44px;padding:0;display:grid}.module-topic-navigator__progress{background:#e8eef6;border-radius:999px;height:7px;margin:0 22px 16px;overflow:hidden}.module-topic-navigator__progress span{width:var(--module-progress);border-radius:inherit;background:#2f6feb;height:100%;display:block}.module-topic-navigator__topics{align-content:start;gap:7px;margin:0;padding:0 14px 18px;list-style:none;display:grid;overflow-y:auto}.module-topic-navigator__topic{color:#17345f;border:1px solid #0000;border-radius:14px;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:11px;min-height:62px;padding:8px 10px;text-decoration:none;display:grid}a.module-topic-navigator__topic:hover{background:#f1f7ff;border-color:#a9c7eb}.module-topic-navigator__number{color:#2f6feb;background:#edf4fc;border-radius:11px;place-items:center;width:38px;height:38px;font-weight:900;display:grid}.module-topic-navigator__copy{gap:3px;min-width:0;display:grid}.module-topic-navigator__copy strong{line-height:1.3}.module-topic-navigator__copy small{color:#64799c;font-size:13px;font-weight:700}.module-topic-navigator__topics .is-current .module-topic-navigator__topic{background:#eaf4ff;border-color:#75a6df}.module-topic-navigator__topics .is-current .module-topic-navigator__number{color:#fff;background:#2f6feb}.module-topic-navigator__topics .is-completed .module-topic-navigator__number{color:#176b4c;background:#dff6eb}.module-topic-navigator__topics .is-locked .module-topic-navigator__topic,.module-topic-navigator__topics .is-planned .module-topic-navigator__topic{color:#60738d}.module-topic-navigator__topics .is-locked .module-topic-navigator__number{color:#61738a;background:#edf0f4}.module-topic-navigator__panel>footer{padding:14px 22px max(18px, env(safe-area-inset-bottom));background:#f8fbff;border-top:1px solid #dfe7f1}.module-topic-navigator__panel>footer a{color:#245fd0;align-items:center;font-weight:850;text-decoration:none;display:inline-flex}.lesson-theory,.lesson-task,.lesson-summary,.lesson-bottom-navigation{width:100%}.lesson-summary__skills{border-top:1px solid #dfe7f1;margin-top:24px;padding-top:18px}.lesson-summary__skills h3{color:#17345f;margin:14px 0 8px}.lesson-bottom-navigation{background:#fff;border:1px solid #d7e3f1;border-radius:20px;gap:16px;margin:24px 0 0;padding:18px 20px;display:grid;box-shadow:0 10px 28px #224d8212}.lesson-bottom-navigation.is-completed{border-color:#b9d4ef}.lesson-bottom-navigation__status{align-items:center;gap:14px;min-width:0;display:flex}.lesson-bottom-navigation__status .coding-eyebrow{margin:0 0 3px}.lesson-bottom-navigation__status h2{color:#102a56;margin:0;font-size:clamp(21px,2.3vw,28px);line-height:1.25}.lesson-bottom-navigation__status p:last-child{color:#607995;margin:5px 0 0;line-height:1.5}.lesson-bottom-navigation__mark{color:#176b4c;background:#dff6eb;border-radius:14px;flex:none;place-items:center;width:44px;height:44px;font-size:24px;font-weight:900;display:grid}.lesson-bottom-navigation__notice{color:#17345f;background:#fffaf0;border:1px solid #e4d7aa;border-radius:13px;gap:4px;margin:0;padding:12px 14px;line-height:1.5;display:grid}.lesson-bottom-navigation__notice span{color:#60738d}.lesson-bottom-navigation__actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.lesson-bottom-navigation__actions a,.lesson-bottom-navigation__actions button{color:#214d83;min-height:42px;font:inherit;text-align:center;cursor:pointer;background:#fff;border:1px solid #b8cce4;border-radius:12px;justify-content:center;align-items:center;padding:9px 15px;font-weight:800;line-height:1.35;text-decoration:none;display:inline-flex}.lesson-bottom-navigation__actions a:hover,.lesson-bottom-navigation__actions button:hover{background:#f1f7ff;border-color:#78a9df}.lesson-bottom-navigation__actions .lesson-bottom-navigation__next{color:#142b4c;background:#ffd867;border-color:#e0b52f;margin-left:auto;box-shadow:0 5px 14px #ad7e0029}.lesson-bottom-navigation__actions .lesson-bottom-navigation__next:hover{background:#f3c84f;border-color:#c99b12}@media (width<=820px){.interactive-lesson__aside{min-width:0}.interactive-lesson__progress{width:100%}.module-topic-navigator__trigger{width:fit-content;max-width:100%}}@media (width<=560px){.module-topic-navigator{align-items:end}.module-topic-navigator__panel{border-top:1px solid #cbdced;border-left:0;border-radius:22px 22px 0 0;width:100%;height:min(86dvh,720px);box-shadow:0 -18px 55px #102a563d}.module-topic-navigator__panel>header{padding:19px 16px 13px}.module-topic-navigator__panel h2{font-size:20px}.module-topic-navigator__progress{margin-inline:16px}.module-topic-navigator__topics{padding-inline:9px}.module-topic-navigator__panel>footer{padding-inline:16px}.lesson-bottom-navigation{border-radius:18px;padding:16px}.lesson-bottom-navigation__status{align-items:flex-start}.lesson-bottom-navigation__actions{grid-template-columns:minmax(0,1fr);display:grid}.lesson-bottom-navigation__actions>*{width:100%}.lesson-bottom-navigation__actions .lesson-bottom-navigation__next{order:-1;margin-left:0}}@media (prefers-reduced-motion:reduce){.module-topic-navigator__progress span{transition:none}}@media (forced-colors:active){.module-topic-navigator__trigger,.module-topic-navigator__panel,.module-topic-navigator__close,.module-topic-navigator__topic,.module-topic-navigator__number,.lesson-bottom-navigation,.lesson-bottom-navigation__mark,.lesson-bottom-navigation__notice,.lesson-bottom-navigation__actions>*,.lesson-bottom-navigation__actions .lesson-bottom-navigation__next{color:canvastext;box-shadow:none;background:canvas;border:1px solid canvastext}.module-topic-navigator__topics .is-current .module-topic-navigator__topic,.module-topic-navigator__topics .is-current .module-topic-navigator__number,.lesson-bottom-navigation__actions .lesson-bottom-navigation__next{color:highlighttext;background:highlight}.module-topic-navigator__backdrop{opacity:.7;background:canvas}}.python-start-topic__lesson-link.python-start-continue-action,.python-start-module__action.python-start-continue-action,.python-start-sidebar button.python-start-continue-action{color:#173f82;background:#ffd867;border-color:#e7b93e;box-shadow:0 5px 14px #a0740824}.python-start-topic__lesson-link.python-start-continue-action:hover,.python-start-module__action.python-start-continue-action:hover:not(:disabled),.python-start-sidebar button.python-start-continue-action:hover:not(:disabled){color:#102f68;background:#f4c84d}.python-start-topic__lesson-link.python-start-continue-action:focus-visible,.python-start-module__action.python-start-continue-action:focus-visible,.python-start-sidebar button.python-start-continue-action:focus-visible{outline-offset:3px;outline:3px solid #245fd0}.coding-lab .python-start-topic__lesson-link--completed,.coding-lab .python-start-topic__lesson-link--completed:visited{color:#fff;background:#2f6feb;border-color:#245fd0}.coding-lab .python-start-topic__lesson-link--completed:hover{color:#fff;background:#245fd0}.coding-lab .python-start-topic__lesson-link--completed:focus-visible{outline-offset:3px;outline:3px solid #f0b429}.lesson-section-nav{gap:8px;padding:4px 2px 8px}.lesson-section-nav button{text-align:center;white-space:nowrap;flex:none;justify-content:center;gap:7px;min-width:48px;padding:9px 13px;display:inline-flex}.lesson-section-nav button:first-child,.lesson-section-nav button:last-child{min-width:max-content}.lesson-section-nav button>.lesson-section-nav__label{min-width:0;height:auto;color:inherit;background:0 0;border-radius:0;display:inline}.lesson-section-nav button>.lesson-section-nav__status{color:#176b4c;background:#daf4e8;border-radius:50%;place-items:center;width:22px;min-width:22px;height:22px;font-size:12px;display:inline-grid}.lesson-section-nav button.is-active .lesson-section-nav__label{color:#173f7a}.lesson-section-nav button.is-completed>.lesson-section-nav__label{color:inherit;background:0 0}.lesson-section-nav button.is-mission{color:#604700;background:#fffaf0;border-color:#e5bd42}.lesson-section-nav button.is-mission.is-active{color:#4c3900;background:#fff4bd;border-color:#dcae28}.lesson-theory-disclosure{justify-items:start;gap:12px;margin-bottom:14px;display:grid}.lesson-theory-disclosure>div{width:100%}.lesson-theory-control{color:#235ba9;background:#fff;border:1px solid #9cbce1;border-radius:12px;padding:9px 16px;font-weight:800}.lesson-theory-disclosure .lesson-theory.is-compact{width:100%;max-width:none;margin:0;padding:clamp(22px,3vw,34px)}.lesson-task__header{margin-bottom:18px;display:block}.lesson-task__header h2{max-width:920px;margin-bottom:0}.lesson-task__header--mission{justify-content:flex-start;align-items:center;gap:12px 16px;display:flex}.lesson-task__header--mission .coding-eyebrow{color:#604700;letter-spacing:.045em;background:#fff4bd;border:1px solid #e5bd42;border-radius:999px;flex:none;margin:0;padding:7px 10px}.mini-mission-header__badge{white-space:nowrap}.lesson-task__header--mission h2{margin:0}.lesson-task__body{grid-template-columns:minmax(0,1fr);gap:clamp(20px,3vw,30px);display:grid}.lesson-task__copy{border-bottom:1px solid var(--lesson-border);background:0 0;border-radius:0;max-width:82ch;padding:0 0 20px}.lesson-task__copy h3{margin:0 0 8px}.lesson-task__copy p{max-width:72ch;margin:7px 0 0}.lesson-task__copy .lesson-task__goal{color:var(--lesson-text);font-size:clamp(18px,1.6vw,21px);font-weight:750;line-height:1.55}.lesson-task__expected-output{border:1px solid var(--lesson-border);background:var(--lesson-background);border-radius:14px;max-width:68ch;margin-top:18px;padding:16px 18px}.lesson-task__expected-output h4{color:var(--lesson-text);margin:0;font-size:17px;font-weight:800}.lesson-task__expected-output p{margin-top:5px;font-size:15px;line-height:1.55}.lesson-task__expected-output pre{background:var(--lesson-code-background);max-width:100%;color:var(--lesson-code-foreground);font:17px/1.68 var(--lesson-code-font);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:10px;margin:12px 0 0;padding:13px 15px;overflow-x:auto}.lesson-task__workspace{width:100%}.lesson-task__workspace-label{margin-bottom:12px}.python-console-workspace__panels{grid-template-columns:minmax(0,1fr);grid-template-areas:none;gap:18px;display:grid}.program-workspace--robot{grid-template-columns:minmax(0,3fr) minmax(310px,2fr);grid-template-areas:"editor visual""actions actions""check check";align-items:start;gap:18px;min-width:0;display:grid;container-type:inline-size}.python-console-workspace__editor,.python-console-workspace__panels>.lesson-console,.python-console-workspace__panels>.python-console-actions{grid-area:auto}.program-workspace__editor,.program-workspace__visual{min-width:0}.program-workspace--robot>.program-workspace__editor{scrollbar-gutter:stable;border:1px solid var(--lesson-border);background:#f8fbff;border-radius:20px;grid-area:editor;align-self:stretch;max-height:calc(40cqw + 128px);padding:14px;overflow-y:auto}.program-workspace__visual{grid-area:visual;justify-items:stretch;display:grid}.program-workspace__visual .robot-simulator{width:100%;max-width:560px;margin-inline:auto}.program-workspace--robot>.program-action-bar{grid-area:actions}.program-workspace--robot>.learning-check-panel{grid-area:check}.program-mode-switcher{width:fit-content;max-width:100%;margin-bottom:12px}.learning-check-panel{border:1px solid var(--lesson-border);background:#f7faff;border-radius:16px;gap:6px;padding:18px;display:grid}.learning-check-panel h3,.learning-check-panel>p{margin:0}.learning-check-panel h3{color:var(--lesson-text);font-size:var(--learning-font-section-title,20px)}.learning-check-panel>p:not(.task-feedback){color:var(--lesson-muted);font-size:var(--learning-font-secondary,15px);line-height:1.55}.learning-check-panel .task-feedback{margin-top:6px}.python-console-actions,.program-action-bar{margin-top:0}.lesson-task__body>.hint-drawer{border-top:1px solid var(--lesson-border);margin-top:0;padding-top:18px}.lesson-task__body>.hint-drawer>button{text-align:left}@media (width<=820px){.lesson-section-nav button{flex-basis:auto}.program-workspace__visual .robot-simulator{width:100%}}@media (width<=1100px){.program-workspace--robot .program-split{grid-template-columns:minmax(0,1fr)}}@media (width<=900px){.program-workspace--robot{grid-template-columns:minmax(0,1fr);grid-template-areas:"editor""visual""actions""check"}.program-workspace--robot>.program-workspace__editor{scrollbar-gutter:auto;max-height:none;padding:12px;overflow-y:visible}.program-workspace__visual .robot-simulator{max-width:620px}}@media (width<=560px){.lesson-section-nav{margin-inline:-2px}.lesson-section-nav button{min-width:44px;padding-inline:11px}.lesson-theory-disclosure{justify-items:stretch}.lesson-theory-control{width:100%}.lesson-task__copy{padding-bottom:16px}.lesson-task__header--mission{flex-direction:column;align-items:flex-start}.learning-check-panel{padding:15px}.program-execution__heading{flex-direction:column;align-items:flex-start;gap:2px}.program-execution__heading span{text-align:left}.program-step-actions{grid-template-columns:minmax(0,1fr);display:grid}.program-step-actions button.is-primary{order:-1}.block-python-preview__actions{justify-content:stretch}.block-python-preview__toggle{justify-content:center;width:100%}}@media (forced-colors:active){.lesson-section-nav button,.lesson-section-nav__status,.lesson-theory-control,.learning-check-panel,.robot-simulator,.robot-map,.robot-map__cell,.command-semantic,.program-block__state,.program-execution,.program-execution__modes,.program-execution__modes label,.program-step-actions button,.program-step-status,.command-palette,.program-sequence,.block-python-preview,.block-python-preview__toggle,.lesson-task__body>.hint-drawer,.python-start-topic__lesson-link.python-start-continue-action,.python-start-topic__lesson-link--completed,.python-start-module__action.python-start-continue-action,.python-start-sidebar button.python-start-continue-action{color:canvastext;box-shadow:none;background:canvas;border:1px solid canvastext}.robot-map__decoration,.robot-simulator:before,.robot-simulator:after{display:none}.rover__chassis,.rover__screen,.rover__base,.rover__wheel,.goal-marker__body,.goal-marker__nose,.goal-marker__pad,.item-marker__ring{fill:canvas;stroke:canvastext}.rover__eye,.rover__eye-glint,.rover__status-light{fill:canvastext}.command-palette__icon,.python-program__direction,.program-list__number,.program-list__actions button,.program-list__actions .program-list__delete{color:canvastext;background:canvas;border-color:canvastext}.program-list__item.is-active{outline-offset:1px;outline:3px solid highlight}.program-list__item.is-error{outline-offset:1px;outline:3px solid mark}.program-execution__modes label.is-active,.program-step-actions button.is-primary{color:highlighttext;background:highlight}.lesson-task__header--mission .coding-eyebrow{color:canvastext;background:canvas;border-color:canvastext}.lesson-section-nav button.is-active,.python-start-topic__lesson-link.python-start-continue-action,.python-start-topic__lesson-link--completed,.python-start-module__action.python-start-continue-action,.python-start-sidebar button.python-start-continue-action{color:highlighttext;background:highlight}}.interactive-lesson{--learning-block-gap:24px;--learning-block-radius:28px;--learning-block-border-width:1px;--learning-block-padding:clamp(24px, 4vw, 46px);--learning-block-header-gap:18px;--learning-block-header-padding:18px 20px;--learning-block-header-radius:18px;--learning-inset-padding:18px;--learning-inset-radius:16px}.learning-block{width:100%;min-width:0;padding:var(--learning-block-padding);border:var(--learning-block-border-width) solid var(--lesson-border);border-radius:var(--learning-block-radius);background:var(--lesson-surface);box-shadow:0 14px 38px #224d8214}.learning-block--theory{border-color:#c9def5}.learning-block--task{border-color:#d8d5ee}.learning-block--mission{border-color:#ead58c}.learning-block--success{border-color:#b9dfcd}.learning-block--project{border-color:#b9ded8}.learning-block-header{justify-content:space-between;align-items:center;gap:var(--learning-block-header-gap);min-width:0;margin:0 0 var(--learning-block-gap);padding:var(--learning-block-header-padding);border:var(--learning-block-border-width) solid var(--lesson-border);border-radius:var(--learning-block-header-radius);background:#f5f8fc;border-left-width:5px;display:flex}.learning-block-header__leading,.learning-block-header__utility{flex:none}.learning-block-header__identity{flex:auto;min-width:0}.learning-block-header__label{font-size:var(--learning-font-caption,13px);margin:0;line-height:1.35}.learning-block-header .learning-block-header__title{max-width:920px;color:var(--lesson-text);font-size:var(--learning-font-task-title,clamp(25px, 2.2vw, 34px));margin:6px 0 0;line-height:1.2}.learning-block-header__description{color:var(--lesson-muted);margin-top:6px;line-height:1.5}.learning-block-header__description>*{margin:0}.learning-block-header__utility{justify-content:flex-end;align-items:center;min-width:0;display:flex}.learning-block-header__meta{color:#5d5791;min-height:36px;font-size:var(--learning-font-caption,13px);white-space:nowrap;border:1px solid;border-radius:999px;align-items:center;padding:6px 11px;font-weight:800;display:inline-flex}.learning-block-header--theory{border-color:#c9def5;border-left-color:var(--lesson-primary);background:#edf6ff}.learning-block-header--theory .learning-block-header__label{color:#245fd0}.learning-block-header--task{background:#f4f2ff;border-color:#d8d5ee #d8d5ee #d8d5ee #7168ba}.learning-block-header--task .learning-block-header__label{color:#5d5791}.learning-block-header--mission{background:#fff9df;border-color:#ead58c #ead58c #ead58c #d8ad24}.learning-block-header--mission .learning-block-header__identity{align-items:center;gap:12px 16px;display:flex}.learning-block-header--mission .learning-block-header__label{color:#604700;white-space:nowrap;background:#fff4bd;border:1px solid #e5bd42;border-radius:999px;flex:none;padding:7px 10px}.learning-block-header--mission .learning-block-header__title{margin:0}.learning-block-header--success{border-color:#b9dfcd;border-left-color:var(--lesson-success);background:#eaf8f1}.learning-block-header--success .learning-block-header__label{color:#176b4c}.learning-block-header--project{background:#eaf8f5;border-color:#b9ded8 #b9ded8 #b9ded8 #2c8c7d}.learning-block-header--project .learning-block-header__label{color:#176b60}.learning-block-header--navigation{background:#f2f7fc;border-color:#cfdeed #cfdeed #cfdeed #6e8fb8}.lesson-theory.learning-block,.lesson-task.learning-block,.lesson-summary.learning-block,.lesson-bottom-navigation.learning-block{width:100%}.lesson-theory.is-compact.learning-block{border-radius:var(--learning-block-header-radius);padding:clamp(22px,3vw,34px)}.lesson-theory__header,.lesson-task__header,.lesson-bottom-navigation__status{margin-bottom:var(--learning-block-gap)}.lesson-theory__header>div{min-width:0}.lesson-theory__header h2,.lesson-task__header h2,.lesson-bottom-navigation__status h2{margin-bottom:0}.lesson-summary.learning-block{display:block}.lesson-summary__skills{margin-top:0}.lesson-bottom-navigation.learning-block{margin:var(--learning-block-gap) 0 0;padding:var(--learning-block-padding);border-radius:var(--learning-block-radius);gap:16px}.lesson-bottom-navigation__status{align-items:center}.lesson-bottom-navigation__status .learning-block-header__description{margin-top:5px}.lesson-summary__mark,.lesson-bottom-navigation__mark{border:1px solid #93cfb2}.learning-inset,.learning-rule-callout{padding:var(--learning-inset-padding);border-radius:var(--learning-inset-radius)}.learning-rule-callout h3{margin:0 0 12px}.learning-expected-output.lesson-task__expected-output{padding:var(--learning-inset-padding);border-radius:var(--learning-inset-radius)}.learning-feedback.task-feedback{border-radius:var(--learning-inset-radius);color:#365674;background:#eef5fb;border:1px solid #cbdbea;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:10px;min-height:52px;margin:12px 0 0;padding:13px 15px;line-height:1.5;display:grid}.learning-feedback__icon{border:1px solid;border-radius:50%;place-items:center;width:26px;height:26px;font-size:13px;font-weight:900;display:grid}.learning-feedback--success.task-feedback{color:#176b4c;background:#e7f7ef;border-color:#abd8c3}.learning-feedback--error.task-feedback{color:#9a2e2e;background:#fff0ee;border-color:#efb7b1}.learning-feedback--warning.task-feedback{color:#7d470d;background:#fff4df;border-color:#ecd09e}.learning-feedback--info.task-feedback{color:#365674;background:#eef5fb;border-color:#c6dced}@media (width<=560px){.interactive-lesson{--learning-block-padding:20px;--learning-block-radius:20px;--learning-block-header-padding:16px;--learning-block-header-radius:16px;--learning-block-header-gap:13px;--learning-inset-padding:16px;--learning-inset-radius:14px}.learning-block-header{flex-direction:column;align-items:stretch}.learning-block-header__utility{justify-content:stretch;width:100%}.learning-block-header__utility>button{width:100%}.learning-block-header--mission .learning-block-header__identity{flex-direction:column;align-items:flex-start}.learning-block-header__meta{align-self:flex-start}}@media (forced-colors:active){.learning-block,.learning-block-header,.learning-block-header__meta,.learning-rule-callout,.learning-expected-output,.learning-feedback,.learning-feedback__icon{color:canvastext;box-shadow:none;background:canvas;border:1px solid canvastext}.learning-block-header--mission .learning-block-header__label{color:canvastext;background:canvas;border:1px solid canvastext}}.variable-theory-animation{background:linear-gradient(145deg,#f7fbff,#eef5ff);border:1px solid #b9cfee;gap:18px;margin:28px 0;display:grid;overflow:visible}.variable-theory-animation:focus-visible{outline-offset:3px;outline:3px solid #f0a72f}.variable-theory-animation__header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.variable-theory-animation__header h3{color:var(--lesson-text);margin:4px 0 5px;font-size:clamp(23px,2.2vw,31px)}.variable-theory-animation__header p{color:var(--lesson-muted);margin:0}.variable-theory-animation__header>span{color:#315b93;background:#fff;border:1px solid #b9cfee;border-radius:999px;flex:none;padding:7px 11px;font-weight:800}.variable-theory-animation__flow{grid-template-columns:minmax(250px,1.35fr) repeat(3,minmax(150px,1fr));gap:10px;min-width:0;display:grid}.variable-theory-panel{background:#fff;border:1px solid #d0ddec;border-radius:15px;min-width:0;min-height:224px;padding:15px;overflow:visible}.variable-theory-panel h4{color:#5f6f83;letter-spacing:.08em;text-transform:uppercase;margin:0 0 13px;font-size:13px}.variable-theory-code{color:#eaf4ff;background:#102a43;border-color:#102a43;overflow:hidden}.variable-theory-code h4{color:#b9d8f5}.variable-theory-code pre{max-width:100%;font:clamp(15px, 1.25vw, 18px)/1.6 var(--lesson-code-font);gap:5px;margin:0;padding:2px 4px 8px;display:grid;overflow:auto hidden}.variable-theory-code pre>span{box-sizing:border-box;border-radius:9px;grid-template-columns:minmax(2.75rem,max-content) minmax(max-content,1fr);gap:10px;width:max-content;min-width:100%;padding:8px 10px 8px 8px;transition:background-color .18s;display:grid}.variable-theory-code pre>span>b{color:#9ab4cc;font-variant-numeric:tabular-nums;text-align:right;min-width:2.75rem;padding-right:.55rem}.variable-theory-code pre>span code{overflow-wrap:normal;white-space:pre;min-width:max-content}.variable-theory-code pre>span.is-active{background:#264d73;box-shadow:inset 4px 0 #ffd867}.variable-theory-calculation{background:#f6f9ff}.variable-theory-calculation>strong{color:#244d86;font-size:clamp(19px,1.6vw,24px);line-height:1.3;display:block}.variable-theory-calculation>p{color:#405a78;margin:12px 0 0;font-size:clamp(17px,1.3vw,20px);line-height:1.55}.variable-theory-memory{background:#f8f5ff}.variable-theory-memory__empty{color:#6c6680;text-align:center;border:2px dashed #cfc7e8;border-radius:13px;place-content:center;gap:8px;min-height:145px;padding:14px;display:grid}.variable-theory-memory__cell{background:#fff;border:2px solid #9b8fca;border-radius:13px;grid-template-columns:auto 1fr;align-items:center;gap:7px 12px;min-height:145px;padding:17px;display:grid}.variable-theory-memory__name{color:#4e4381;width:auto;min-width:70px;height:42px;font:900 clamp(18px, 2vw, 23px)/1 var(--lesson-code-font);background:#e8e1ff;border-radius:11px;place-items:center;padding-inline:10px;display:grid}.variable-theory-memory__value{color:#33276e;text-align:right;font-size:clamp(38px,4vw,56px);line-height:1}.variable-theory-memory__previous,.variable-theory-memory__current{font-weight:800}.variable-theory-memory__previous{color:#765d5d;text-decoration:line-through}.variable-theory-memory__current{color:#2a6d4d;text-align:right}.variable-theory-memory__cell small{color:#625883;grid-column:1/-1;font-weight:750}.variable-theory-output{color:#fff;background:#12263d}.variable-theory-output h4{color:#b9d8f5}.variable-theory-output pre{color:#fff;min-height:145px;font:800 clamp(24px, 3vw, 42px)/1.3 var(--lesson-code-font);white-space:pre-wrap;background:#0a1b2e;border-radius:12px;place-items:center;margin:0;display:grid;overflow:auto}.variable-theory-animation__controls{flex-wrap:wrap;gap:9px;display:flex}.variable-theory-animation__controls button{color:#234f89;min-height:44px;font:inherit;cursor:pointer;background:#fff;border:1px solid #9fb8d6;border-radius:11px;padding:9px 14px;font-weight:800}.variable-theory-animation__controls button.is-primary{color:#fff;background:#2f6feb;border-color:#2f6feb}.variable-theory-animation__controls button:disabled{cursor:not-allowed;opacity:.48}.variable-theory-animation__why{color:#4d3c08;background:#fff7cf;border-left:4px solid #e0b62f;border-radius:10px;margin:0;padding:14px 16px;line-height:1.6}.variable-theory-animation__keyboard{color:var(--lesson-muted);margin:-6px 0 0;font-size:13px}.variable-theory-animation__print-sequence{display:none}@media (width<=1050px){.variable-theory-animation__flow{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.variable-theory-animation{margin-inline:-2px;padding:14px}.variable-theory-animation__header{flex-direction:column}.variable-theory-animation__flow{grid-template-columns:minmax(0,1fr)}.variable-theory-panel{min-height:0}.variable-theory-animation__controls{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.variable-theory-animation__controls button{width:100%;min-width:0}}@media (prefers-reduced-motion:reduce){.variable-theory-animation *,.variable-theory-animation :before,.variable-theory-animation :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (forced-colors:active){.variable-theory-animation,.variable-theory-panel,.variable-theory-memory__empty,.variable-theory-memory__cell,.variable-theory-animation__controls button,.variable-theory-animation__why{color:canvastext;forced-color-adjust:auto;background:canvas;border-color:canvastext}.variable-theory-code pre>span.is-active{box-shadow:none;outline:3px solid highlight}}.interactive-lesson{--learning-font-body:18px;--learning-font-secondary:18px;--learning-font-section-title:22px;--learning-font-task-title:clamp(24px, 2.2vw, 28px);--learning-prose-line-height:1.58}.interactive-lesson__header p,.lesson-theory>p,.lesson-theory li,.lesson-theory.is-compact>p,.lesson-theory.is-compact li,.lesson-task__copy p,.lesson-task__expected-output p,.hint-drawer__panel>p,.hint-drawer article p,.task-feedback,.command-explanation,.learning-check-panel>p,.lesson-summary p,.lesson-summary li,.lesson-theory-example__explanation p,.variable-tracing-practice__explanation p,.variable-tracing-practice__feedback,.variable-theory-animation__why{font-size:var(--learning-font-body);line-height:var(--learning-prose-line-height)}.lesson-task__copy h3,.learning-check-panel h3,.hint-drawer__panel h3,.lesson-theory__rule h3,.lesson-theory-example>h3,.lesson-summary__skills h3,.variable-theory-panel h4{font-size:var(--learning-font-section-title);overflow-wrap:anywhere;line-height:1.3}.lesson-theory h2,.lesson-task h2,.lesson-summary h2,.lesson-bottom-navigation__status h2{font-size:var(--learning-font-task-title);overflow-wrap:anywhere;line-height:1.2}.interactive-lesson :is(.lesson-theory,.lesson-task,.lesson-summary,.learning-check-panel,.hint-drawer){min-width:0}.interactive-lesson :is(p,li,h2,h3){overflow-wrap:anywhere}@media (width<=560px){.interactive-lesson{--learning-font-body:17px;--learning-font-secondary:17px;--learning-font-section-title:20px;--learning-font-task-title:24px}}@media print{@page{margin:14mm}body.is-printing-lesson-theory{color:#102a56;-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff;margin:0;overflow:visible}body.is-printing-lesson-theory .spa-shell,body.is-printing-lesson-theory .spa-main,body.is-printing-lesson-theory .interactive-lesson{background:#fff;width:100%;min-width:0;min-height:0;margin:0;padding:0;display:block;overflow:visible}body.is-printing-lesson-theory .student-skip-link,body.is-printing-lesson-theory .student-menu-button,body.is-printing-lesson-theory .student-sidebar-overlay,body.is-printing-lesson-theory .spa-sidebar,body.is-printing-lesson-theory .student-topbar,body.is-printing-lesson-theory .coding-breadcrumbs,body.is-printing-lesson-theory .interactive-lesson__header,body.is-printing-lesson-theory .lesson-section-nav,body.is-printing-lesson-theory .lesson-task,body.is-printing-lesson-theory .lesson-summary,body.is-printing-lesson-theory .lesson-bottom-navigation,body.is-printing-lesson-theory .module-topic-navigator,body.is-printing-lesson-theory .interactive-lesson__save,body.is-printing-lesson-theory .lesson-theory-disclosure>.lesson-theory-control,body.is-printing-lesson-theory .lesson-theory__print,body.is-printing-lesson-theory .lesson-primary-action{display:none!important}body.is-printing-lesson-theory .lesson-theory-disclosure,body.is-printing-lesson-theory .lesson-theory-disclosure>div{width:100%;margin:0;display:block}body.is-printing-lesson-theory .lesson-theory:not([data-print-active=true]){display:none!important}body.is-printing-lesson-theory .lesson-theory[data-print-active=true]{width:100%;box-shadow:none;background:#fff;border:0;border-radius:0;margin:0;padding:0;display:block}body.is-printing-lesson-theory .lesson-theory__header{break-inside:avoid;background:#edf6ff;margin:0 0 22px}body.is-printing-lesson-theory .lesson-theory__print-context{color:#173f7a;margin:0 0 5px;font-size:14px;font-weight:750;display:block}body.is-printing-lesson-theory .lesson-theory-example,body.is-printing-lesson-theory .lesson-theory__rule{break-inside:avoid}body.is-printing-lesson-theory .lesson-theory-example__comparison{grid-template-columns:repeat(2,minmax(0,1fr))}body.is-printing-lesson-theory .lesson-theory-example pre{color:#effaff;white-space:pre-wrap;background:#102a43;overflow:visible}body.is-printing-lesson-theory .lesson-theory__rule.learning-rule-callout{color:#2f2500;background:#fff7cf;border-color:#9a7a16}body.is-printing-lesson-theory .variable-theory-animation{break-before:page;background:#f7fbff;border-color:#8098b5;padding:16px;display:block;overflow:visible}body.is-printing-lesson-theory .variable-theory-animation__header>span,body.is-printing-lesson-theory .variable-theory-animation__flow,body.is-printing-lesson-theory .variable-theory-animation__controls,body.is-printing-lesson-theory .variable-theory-animation__why,body.is-printing-lesson-theory .variable-theory-animation__keyboard{display:none!important}body.is-printing-lesson-theory .variable-theory-animation__print-sequence{gap:9px;margin:18px 0 0;padding-left:24px;display:grid}body.is-printing-lesson-theory .variable-theory-animation__print-sequence li{break-inside:avoid;border:1px solid #ccd8e5;border-radius:8px;gap:3px;padding:9px 11px;display:grid}}
