:root{font-family:"Segoe UI Variable Text","Microsoft YaHei UI","PingFang SC",system-ui,sans-serif;font-size:14px;line-height:1.6;color:#252b36;background:#f6f7f9;--ink:#252b36;--muted:#78808f;--accent:#b75030;--accent-dark:#983d23;--accent-soft:#fcf1eb;--line:#e9ebef;--curve:cubic-bezier(.22,1,.36,1)}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid #c27c60}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}button,a{-webkit-tap-highlight-color:transparent}button{transition:background .2s var(--curve),color .2s var(--curve),transform .2s var(--curve)}button:active:not(:disabled){transform:scale(.98)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}.icon{display:block;width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link{position:absolute;top:-80px;left:24px;background:white;padding:12px;z-index:4}.skip-link:focus{top:16px}
.app-header-wrap{padding:16px 28px 0}.app-header{height:68px;max-width:1440px;margin:auto;background:#ffffffed;box-shadow:0 1px 0 #ffffff,0 4px 18px #29344504,inset 0 0 0 1px #e9ebef80;border-radius:16px;padding:0 25px;display:flex;align-items:center;gap:48px}.brand{display:flex;align-items:center;gap:11px;font-size:18px;letter-spacing:.02em;font-weight:700;flex:none}.brand>span:last-child{display:flex;align-items:center;gap:16px}.brand small{border-left:1px solid var(--line);padding-left:16px;font-size:11px;font-weight:400;letter-spacing:.12em;color:var(--muted)}.brand-mark{position:relative;width:32px;height:32px;display:block;background:var(--accent);border-radius:10px;box-shadow:inset 0 1px 0 #ffffff30}.brand-mark i{position:absolute;display:block;background:#fff7f2;width:7px;height:7px;left:7px;top:7px;border-radius:1px}.brand-mark i:nth-child(2){left:18px;height:18px}.brand-mark i:nth-child(3){top:18px}.main-nav{display:flex;gap:8px;align-self:stretch;align-items:center}.main-nav a{height:38px;display:grid;place-items:center;padding:0 16px;color:#777e8b;font-weight:500;font-size:13px;border-radius:8px}.main-nav a:hover{background:#f7f8fa;color:var(--ink)}.main-nav [aria-current]{background:#f5f5f6;color:var(--ink);font-weight:650}.header-note{margin-left:auto;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;white-space:nowrap}.header-note>span{width:5px;height:5px;background:#929bac;border-radius:50%}
main{max-width:1336px;margin:auto;padding:42px 32px 56px}.page-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:36px;margin-bottom:36px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:.13em;color:#89909d}.page-intro h1{font-size:32px;line-height:1.4;letter-spacing:-.045em;font-weight:650;margin:12px 0}.page-intro h1>span{color:var(--accent);margin-left:3px}.intro-description{font-size:13px;color:#7b828e}.intro-path{display:flex;align-items:center;gap:14px;padding-bottom:6px;white-space:nowrap;color:#8b919c;font-size:11px}.intro-path span{display:flex;flex-direction:column;gap:8px}.intro-path b{font:500 11px/1.4 Consolas,monospace;color:#505967}.intro-path i{width:25px;height:1px;background:#d7dbe2}.catalog-layout{display:grid;grid-template-columns:204px minmax(0,1fr);gap:34px;align-items:start}.catalog-rail{padding:10px 0;position:sticky;top:24px}.rail-label{display:flex;gap:12px;align-items:center;font-size:12px;font-weight:600;padding:0 14px;margin-bottom:20px}.rail-label span{font:10px/1.5 Consolas,monospace;color:#a1a7b1;letter-spacing:.08em}.subject-nav{display:grid;gap:6px}.subject-nav button{display:grid;grid-template-columns:21px 1fr auto;align-items:center;gap:12px;text-align:left;background:none;border:0;color:#6c7583;min-height:50px;padding:0 14px;border-radius:10px;font-size:13px}.subject-nav button:hover{background:#eceff3}.subject-nav button[aria-pressed=true]{color:var(--accent);background:#f8ebe3;font-weight:650;box-shadow:inset 0 0 0 1px #e8bda51f}.subject-nav .count{font:11px/1.5 Consolas,monospace;font-weight:400;color:#8e96a3}.subject-nav button[aria-pressed=true] .count{color:#b4755b}.rail-note{margin:36px 14px 24px;padding-top:26px;border-top:1px solid #e3e6eb}.rail-note>.icon{color:#9ca4b0;width:23px;height:23px;margin-bottom:14px}.rail-note h2{font-size:13px;font-weight:600;margin-bottom:9px}.rail-note p{font-size:12px;color:#8b919d;line-height:1.95}.rail-link{display:block;margin:0 14px;font-size:11px;color:#9a9faa;padding-top:20px}.rail-link>span{display:flex;align-items:center;gap:8px;margin-top:9px;color:#67707d;font-size:12px}.rail-link .icon{width:15px;height:15px}.catalog-main{min-width:0}.catalog-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 21px}.catalog-title h2{font-size:20px;font-weight:650;letter-spacing:-.02em}.catalog-title p{font-size:11px;color:#939aa6;margin-top:6px}.mode-label{font-size:11px;color:#8a786a;background:#f1eee9;border-radius:5px;padding:5px 9px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.mode-label .icon{width:14px;height:14px}.catalog-shell{background:#edeff3;border-radius:19px;padding:5px;box-shadow:0 12px 35px -22px #37435940}.catalog-surface{background:#fff;border-radius:14px;overflow:hidden;box-shadow:inset 0 0 0 1px #e3e7ed80}.practice-filters{padding:24px 25px 19px;display:grid;grid-template-columns:.85fr .9fr 1fr 1.5fr;gap:14px}.practice-filters label{font-size:11px;color:#7c8491;min-width:0;font-weight:500}.practice-filters .subject-select{display:none}.practice-filters select,.practice-filters input{display:block;width:100%;height:38px;border:0;box-shadow:inset 0 0 0 1px #e6e9ee;border-radius:7px;background:#fff;color:#4c5564;padding:0 10px;font-size:12px;margin-top:7px;min-width:0}.practice-filters select{cursor:pointer}.search-field>span{position:relative;display:block}.search-field .icon{position:absolute;left:10px;top:10px;width:17px;height:17px;color:#9da4b0}.search-field input{padding-left:34px;background:#f9fafb}.search-field input::placeholder{color:#a4abb7}.list-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:0 25px 17px;color:#979eaa;font-size:11px}.text-button{background:none;border:0;padding:6px 0;color:#858d9b;font-size:11px;min-height:32px}.text-button:hover{color:var(--accent)}.list-columns,.practice-row{display:grid;grid-template-columns:minmax(0,1fr) 96px 118px 38px;gap:16px;align-items:center}.list-columns{padding:11px 25px;background:#f9fafb;border-block:1px solid #f0f1f4;color:#9aa1ac;font-size:10px}.practice-row{padding:21px 25px;position:relative;border-bottom:1px solid #f0f1f4;min-width:0;animation:row-in .32s var(--curve) both}.practice-row:last-child{border-bottom:0}.practice-row:hover{background:#fcfcfd}.task-heading{display:flex;gap:13px;min-width:0;align-items:flex-start}.task-symbol{width:33px;height:38px;display:grid;place-items:center;background:#f5f6f8;border-radius:7px;color:#a2a9b5;flex:none}.task-symbol .icon{width:17px;height:17px}.task-title-block{min-width:0}.task-title-block h3{font-size:13px;font-weight:600;line-height:1.7;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;margin-bottom:5px}.task-title-block p{font-size:10px;color:#9ba2ae;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-title-button{font:inherit;color:inherit;background:none;border:0;padding:0;max-width:100%;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.task-title-button:hover{color:var(--accent)}.task-level{font-size:11px;color:#656e7d;line-height:1.8}.task-level small{display:block;color:#a0a7b2;font-size:10px}.reference-status-tag{font-size:10px;color:#a1a7b2;display:flex;align-items:center;gap:6px;white-space:nowrap}.reference-status-tag:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.reference-available{color:#7d887b}.reference-partial{color:#a88860}.row-open{background:#f4f5f7;border:0;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;color:#8b93a0}.row-open .icon{width:16px;height:16px}.row-open:hover{background:var(--accent);color:white}.list-footer{border-top:1px solid #f0f1f4;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 25px}.list-footnote{font-size:10px;color:#a1a7b2}.pagination{display:flex;align-items:center;gap:12px}.pagination>span{font:11px/1.6 Consolas,monospace;color:#858e9d;white-space:nowrap}.icon-button{display:inline-grid;place-items:center;width:34px;height:34px;flex:none;padding:0;border:0;border-radius:7px;background:transparent;color:#929ba8}.icon-button:hover{background:#eef0f3;color:var(--ink)}.pagination .icon-button{box-shadow:inset 0 0 0 1px #e8ebef;width:29px;height:29px}.pagination .icon{width:15px;height:15px}.empty-list{padding:65px 24px;text-align:center;color:#9aa3b0;font-size:12px}.empty-list>.icon{width:30px;height:30px;margin:0 auto 16px}.empty-list h3{font-size:15px;color:#566171;margin-bottom:6px}.empty-list button{margin-top:16px}.skeleton-row{padding:25px;display:grid;gap:10px;border-bottom:1px solid #f1f2f5}.skeleton-row span,.reference-loading span{height:10px;display:block;width:65%;background:#f0f2f5;border-radius:3px;animation:breathe 1.5s var(--curve) infinite alternate}.skeleton-row span:last-child{width:35%;height:7px}.resume-card{display:flex;align-items:center;gap:16px;padding:16px 20px;margin-bottom:24px;background:#fff6f0;box-shadow:inset 0 0 0 1px #eed9c97a;border-radius:12px}.resume-symbol{width:37px;height:37px;border-radius:50%;background:#f4e4d8;color:#bc7953;display:grid;place-items:center;flex:none}.resume-card>div{min-width:0;flex:1}.resume-card .eyebrow{font-size:9px;color:#bb9276}.resume-card h2{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:3px 0}.resume-card p{font-size:10px;color:#a49285}.resume-card .button{background:#fff9f5;color:#976447;box-shadow:inset 0 0 0 1px #e8d3c4;font-size:11px;min-height:34px}.button{border:0;border-radius:7px;background:white;box-shadow:inset 0 0 0 1px #e4e8ee;padding:8px 12px;min-height:36px;color:#727c8b;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;white-space:nowrap}.button:hover{background:#f8f9fb}.button .icon{width:16px;height:16px}.primary-button{border:0;background:var(--accent);color:#fff7f3;border-radius:9px;padding:7px 7px 7px 15px;display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:40px;font-size:12px;font-weight:500;box-shadow:inset 0 1px 0 #ffffff18,0 3px 5px #9f482c0a}.primary-button:hover{background:var(--accent-dark)}.button-arrow{width:26px;height:26px;border-radius:6px;background:#ffffff16;display:grid;place-items:center;transition:transform .25s var(--curve)}.button-arrow .icon{width:15px;height:15px}.primary-button:hover .button-arrow{transform:translateX(2px)}.error-banner{display:flex;align-items:center;gap:14px;background:#fff2ec;color:#a55137;border-radius:10px;padding:15px 18px;margin-bottom:22px;font-size:12px}.error-banner p{flex:1}.error-banner .button{color:#a55137}.site-footer{max-width:1272px;margin:auto;padding:0 0 30px;display:flex;justify-content:space-between;color:#a1a8b3;font-size:10px}.site-footer i{font-style:normal;margin:0 10px;color:#c6cbd3}
body[data-mode=workspace] main{max-width:1600px;padding:25px 28px 12px}body[data-mode=workspace] #catalogIntro,body[data-mode=workspace]>.site-footer{display:none}.workspace-toolbar{display:flex;gap:20px;align-items:center;margin-bottom:20px;min-width:0}.back-button{background:none;box-shadow:none;font-size:11px;padding-left:0}.workspace-heading{min-width:0;flex:1;border-left:1px solid #dfe3e9;padding-left:20px}.workspace-heading p{font-size:10px;color:#929aa8;margin-bottom:3px}.workspace-heading h1{font-size:18px;font-weight:650;letter-spacing:-.01em;line-height:1.5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.studio-shell{padding:5px;border-radius:17px;background:#e9ecf1;box-shadow:0 10px 35px -25px #33445a80}.studio-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:white;border-radius:12px;overflow:hidden;height:calc(100dvh - 222px);min-height:480px;box-shadow:inset 0 0 0 1px #dfe5ed70}.reader-panel{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid #e8ebf1}.reader-tabs{display:flex;gap:24px;padding:0 26px;align-items:center;flex:none;height:52px;border-bottom:1px solid #ebedf2}.reader-tabs button{height:52px;background:none;border:0;padding:0 1px;position:relative;font-size:12px;color:#9098a6;display:flex;align-items:center;gap:7px;white-space:nowrap}.reader-tabs .icon{width:16px;height:16px}.reader-tabs button[aria-selected=true]{color:var(--accent);font-weight:600}.reader-tabs button[aria-selected=true]:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--accent);border-radius:2px}.reader-tabs .mobile-work-tab{display:none}.reader-scroll{padding:24px 28px 35px;overflow:auto;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#d9dee7 transparent;scrollbar-gutter:stable}.reader-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;font-size:12px;font-weight:600;color:#576272}.reader-section-title>span:last-child:not(:first-child){font-size:10px;color:#9da5b1;font-weight:400}.source-content{white-space:pre-wrap;tab-size:4;overflow-wrap:anywhere;min-width:0;line-height:1.95;font-size:14px;color:#424d5e}.source-content img{display:block;max-width:100%;height:auto;margin:18px 0;border-radius:5px;cursor:zoom-in}.source-content table{display:block;max-width:100%;overflow:auto}.source-content pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:Consolas,monospace}.source-content p{margin:8px 0}.source-details{margin-top:32px;border-top:1px solid #edf0f4;padding-top:16px;color:#9aa3b0;font-size:11px;line-height:1.9;overflow-wrap:anywhere}.source-details summary{cursor:pointer;color:#8b95a5;padding:5px 0}.source-details p{margin-top:10px}.related-tasks{display:flex;gap:6px;flex-wrap:wrap;margin-top:20px;font-size:10px}.related-tasks span{flex-basis:100%;color:#8d98a8;margin-bottom:4px}.related-tasks a{padding:5px 9px;background:#f5f7fa;color:#7e8a9b;border-radius:5px}.related-tasks a:hover{background:var(--accent-soft);color:var(--accent)}.work-panel{min-width:0;min-height:0;display:flex;flex-direction:column;position:relative;background:#fcfdff}.editor-heading{height:52px;display:flex;align-items:center;gap:12px;padding:0 20px;border-bottom:1px solid #e9edf3;flex:none}.editor-heading h2{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#5d6979;flex:1}.editor-heading h2 .icon{width:17px;height:17px}.editor-heading>span{font-size:10px;color:#93a0b0;background:#eef1f6;padding:3px 7px;border-radius:4px}.editor-filebar{display:flex;align-items:center;justify-content:space-between;height:39px;padding:0 22px;gap:12px;background:#f8fafd;color:#a3adbb;font-size:10px;flex:none;border-bottom:1px solid #f1f3f7}.editor-filebar>span:first-child{font-family:Consolas,monospace;color:#7e8b9d}.editor-canvas{min-height:0;flex:1;display:grid;grid-template-columns:48px minmax(0,1fr);overflow:hidden;padding:20px 0 10px;background:#fcfdff}.editor-canvas pre,.editor-canvas textarea{font:13px/25px Consolas,"Microsoft YaHei UI",monospace;letter-spacing:0;margin:0;border:0;tab-size:4}.editor-canvas pre{padding:0 12px 0 0;text-align:right;color:#c1c9d5;background:#fcfdff;overflow:hidden;user-select:none;white-space:pre;line-height:25px}.editor-canvas textarea{display:block;width:100%;height:100%;min-height:100%;resize:none;background:transparent;color:#405470;padding:0 22px 0 8px;border-radius:0;outline:0;white-space:pre;scrollbar-width:thin;scrollbar-color:#d5deeb transparent;overflow:auto}.editor-canvas:focus-within{box-shadow:inset 2px 0 #cf8e7280}.editor-canvas textarea::placeholder{color:#b1bac8;font-size:12px}.editor-status{padding:8px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #edf1f6;font-size:10px;color:#a0aabb;flex:none;min-height:34px}.editor-status>span:first-child{flex:1}.editor-status>span:last-child{white-space:nowrap;font-family:Consolas,"Microsoft YaHei UI",monospace}.editor-footer{padding:17px 21px 19px;background:#fff;border-top:1px solid #edf0f5;flex:none}.editor-footer>p{display:flex;align-items:flex-start;gap:7px;color:#9ba5b4;font-size:10px;margin-bottom:16px}.editor-footer>p .icon{width:13px;height:13px;margin-top:2px}.editor-footer>div{display:flex;justify-content:space-between;align-items:center;gap:14px}.editor-footer .text-button{font-size:11px}.reference-status{font-size:11px;color:#9ba5b3;margin-bottom:16px}.reference-notice{font-size:11px;line-height:1.9;background:#f7f8fa;color:#929cad;border-radius:7px;padding:13px 15px;margin-bottom:22px}.reference-content{font-size:13px}.reference-extra{margin-top:28px;padding-top:24px;border-top:1px solid #eceff4}.reference-extra h3{font-size:13px;font-weight:600;color:#677486;margin-bottom:10px}.reference-extra>p{font-size:10px;color:#9ea7b5;margin-bottom:16px}[data-subject=Python] #referenceAnswer{font:13px/1.95 Consolas,"Microsoft YaHei UI",monospace;color:#475a73}.reference-loading{display:grid;gap:15px;padding:20px 0}.reference-loading span{height:9px;width:90%}.reference-loading span:nth-child(2){width:65%}.reference-loading span:nth-child(4){width:76%}.clear-confirm{position:absolute;left:16px;right:16px;bottom:14px;background:white;border-radius:10px;box-shadow:0 5px 30px #34425c1f,inset 0 0 0 1px #e3e8ef;padding:20px;z-index:2;font-size:12px;color:#6c7687}.clear-confirm>div{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}.clear-confirm .primary-button{padding:8px 16px}.workspace-footnote{display:flex;align-items:flex-start;justify-content:center;gap:6px;color:#a3aab5;font-size:10px;margin-top:13px}.workspace-footnote .icon{width:12px;height:12px;margin-top:2px}.focus-mode .app-header-wrap{display:none}.focus-mode[data-mode=workspace] main{padding-top:16px}.focus-mode .studio-grid{height:calc(100dvh - 125px)}
#imageViewer{width:min(1000px,94vw);max-height:90dvh;padding:0;border:0;border-radius:15px;box-shadow:0 30px 90px #18273b33;color:#647083;background:#fff;overflow:hidden}#imageViewer::backdrop{background:#26344880;backdrop-filter:blur(4px)}.image-viewer-head{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid #edf0f5;font-size:12px}.image-viewer-content{max-height:calc(90dvh - 110px);overflow:auto;padding:22px;background:#f9fafc}.image-viewer-content img{display:block;max-width:none;width:auto;height:auto;margin:auto}.image-viewer-content img.fit-image{max-width:100%;cursor:zoom-in}.image-viewer-content img.full-image{cursor:zoom-out}#imageViewer>p{font-size:10px;padding:12px 18px;color:#9ba4b3}#imageViewer[open]{animation:dialog-in .2s var(--curve)}
/* Reading sizes and contrast are kept above the decorative metadata scale. */
.main-nav a{font-size:14px}.header-note{font-size:12px}.intro-description{font-size:14px}.rail-label,.subject-nav button{font-size:13px}.subject-nav .count{font-size:12px}.rail-note p{color:#737e8e}.catalog-title p{font-size:12px;color:#7a8595}.practice-filters label{font-size:12px;color:#687587}.practice-filters select,.practice-filters input{font-size:13px}.list-toolbar{font-size:12px;color:#758295}.list-columns{font-size:11px;color:#7f8998}.task-title-block h3{font-size:14px}.task-title-block p{font-size:11px;color:#7f8b9c}.task-level{font-size:12px}.task-level small{font-size:11px;color:#7f8b9c}.reference-status-tag{font-size:11px;color:#7a8595}.reference-available{color:#647b66}.reference-partial{color:#94704b}.list-footnote{font-size:11px}.text-button{font-size:12px;color:#758092}.workspace-heading p{font-size:11px;color:#7b8799}.reader-tabs button,.editor-heading h2{font-size:13px}.reader-section-title{font-size:13px}.source-content{font-size:15px;color:#37465b}.source-details{color:#7b8799;font-size:12px}.source-details summary{color:#758297}.editor-canvas pre,.editor-canvas textarea{font-size:14px;line-height:26px}.editor-canvas pre{height:100%;min-height:0;color:#9eacc0}.editor-canvas textarea::placeholder{font-size:13px}.editor-status{font-size:11px;color:#7b8aa0}.editor-filebar{font-size:11px;color:#8492a7}.editor-footer>p{font-size:11px;color:#7e8da2}.primary-button{font-size:13px}.reference-status{font-size:12px;color:#758397}.reference-notice{font-size:12px;color:#738095}.reference-extra h3{font-size:14px}.reference-extra>p{font-size:11px;color:#8290a4}[data-subject=Python] #referenceAnswer{font-size:14px}.workspace-footnote{font-size:11px;color:#8290a3}
@keyframes row-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes breathe{from{opacity:.45}to{opacity:1}}@keyframes dialog-in{from{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}
@media(min-width:1600px){.studio-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}.reader-scroll{padding:30px 38px}}
@media(max-width:1100px){.brand small,.header-note{display:none}.app-header{gap:32px}.intro-path{display:none}.catalog-layout{grid-template-columns:175px minmax(0,1fr);gap:22px}main{padding-inline:25px}.list-columns,.practice-row{grid-template-columns:minmax(0,1fr) 70px 85px 28px;gap:12px}.practice-row,.list-columns{padding-inline:20px}.reference-status-tag{font-size:9px}.practice-filters{padding-inline:20px;gap:10px}.subject-nav button{gap:9px;padding-inline:10px}.site-footer{padding-inline:25px}.reader-scroll{padding:20px}.workspace-toolbar{gap:14px}.workspace-heading{padding-left:14px}}
@media(max-width:767px){.app-header-wrap{padding:10px 12px 0}.app-header{height:59px;padding:0 14px;gap:14px;border-radius:12px}.brand{font-size:15px;gap:8px}.brand-mark{transform:scale(.9)}.main-nav{gap:1px;margin-left:auto}.main-nav a{font-size:11px;padding:0 9px;height:34px}.main-nav a:first-child{display:none}main{padding:29px 16px 32px}.page-intro{margin-bottom:26px}.page-intro h1{font-size:25px;letter-spacing:-.055em;margin-top:10px}.eyebrow{font-size:9px}.intro-description{font-size:11px;max-width:32em;line-height:1.9}.catalog-layout{display:block}.catalog-rail{position:static;padding:0;margin-bottom:25px}.rail-label,.rail-note,.rail-link{display:none}.subject-nav{display:flex;gap:6px;border-bottom:1px solid #e5e8ee;padding-bottom:16px}.subject-nav button{flex:1;grid-template-columns:1fr;gap:6px;text-align:center;min-height:65px;font-size:11px;justify-items:center;border-radius:9px;padding:11px 6px}.subject-nav button .count{display:none}.subject-nav button>.icon{width:20px;height:20px}.catalog-title{margin-bottom:16px}.catalog-title h2{font-size:18px}.catalog-title p{font-size:9px;max-width:215px}.catalog-title .mode-label{font-size:9px;padding:4px 6px}.catalog-title .mode-label .icon{display:none}.catalog-shell{padding:4px;border-radius:14px}.catalog-surface{border-radius:10px}.practice-filters{grid-template-columns:1fr 1fr;gap:12px;padding:18px 16px 16px}.practice-filters label{font-size:10px}.practice-filters select,.practice-filters input{height:38px;font-size:11px}.list-toolbar{padding:0 16px 12px;font-size:10px}.text-button{font-size:10px}.list-columns{display:none}.practice-row{grid-template-columns:minmax(0,1fr) 30px;gap:9px;padding:18px 16px}.task-heading{gap:10px}.task-symbol{width:29px;height:34px}.task-title-block h3{font-size:12px;max-width:100%;white-space:normal;line-height:1.7}.task-title-button{max-width:100%;white-space:nowrap}.task-title-block p{font-size:9px}.task-level{display:none}.reference-status-tag{grid-column:1;grid-row:2;padding-left:39px;font-size:9px}.row-open{grid-column:2;grid-row:1/3;width:29px;height:29px}.list-footer{padding:14px 16px}.list-footnote{font-size:9px;max-width:140px}.pagination{gap:8px}.pagination>span{font-size:10px}.resume-card{padding:13px;gap:10px;margin-bottom:20px}.resume-card h2{font-size:11px}.resume-card .button{font-size:10px;gap:3px;padding:6px 8px}.resume-card .button .icon{width:13px}.resume-symbol{display:none}.site-footer{padding:0 20px 25px;font-size:9px}.site-footer>span:last-child{display:none}.error-banner{gap:9px;padding:12px;font-size:11px}.error-banner .button{font-size:10px;padding:7px 8px}
body[data-mode=workspace] main{padding:18px 12px 16px}.workspace-toolbar{flex-wrap:wrap;gap:10px;margin-bottom:15px}.workspace-heading{order:3;flex-basis:100%;border:0;padding:0}.workspace-heading h1{font-size:18px}.workspace-heading p{font-size:10px}.workspace-toolbar>.mode-label{margin-left:auto;font-size:9px}.workspace-toolbar>.icon-button{width:28px;height:28px}.back-button{font-size:10px;min-height:28px}.studio-shell{padding:4px;border-radius:13px}.studio-grid{display:flex;flex-direction:column;min-height:0;height:calc(100dvh - 242px);border-radius:9px;min-height:400px}.reader-panel{border-right:0;min-height:0;display:contents}.reader-tabs{gap:0;justify-content:space-around;flex:none;padding:0 12px;height:48px;background:#fff}.reader-tabs button{font-size:11px;height:48px;gap:6px}.reader-tabs button .icon{width:15px;height:15px}.reader-tabs .mobile-work-tab{display:flex}.reader-scroll{padding:18px;min-height:0;flex:1}.reader-section-title{font-size:11px;margin-bottom:18px}.source-content{font-size:13px}.work-panel{display:none;min-height:0;flex:1}.work-panel .editor-heading{height:35px;padding:0 12px}.work-panel .editor-heading h2{font-size:10px}.work-panel .editor-heading>span{display:none}.work-panel .editor-heading .icon{width:14px;height:14px}#practiceWorkspace[data-view=work] .reader-scroll{display:none}#practiceWorkspace[data-view=work] .work-panel{display:flex}.editor-canvas{padding-top:16px;grid-template-columns:36px minmax(0,1fr)}.editor-canvas pre,.editor-canvas textarea{font-size:12px;line-height:24px}.editor-canvas textarea{padding-left:4px;padding-right:14px}.editor-filebar{height:30px;padding-inline:16px;font-size:9px}.editor-status{padding:7px 14px;font-size:9px;gap:8px}.editor-footer{padding:12px 15px}.editor-footer>p{margin-bottom:12px;font-size:9px}.primary-button{min-height:36px;font-size:11px;gap:12px;padding-left:12px}.button-arrow{width:23px;height:23px}.workspace-footnote{font-size:9px;justify-content:flex-start;line-height:1.8}.focus-mode .studio-grid{height:calc(100dvh - 165px)}.clear-confirm{padding:16px;left:10px;right:10px;font-size:11px}.reference-notice{font-size:10px;padding:12px}.reference-extra h3{font-size:12px}[data-subject=Python] #referenceAnswer{font-size:12px}}
@media(max-width:360px){.app-header{padding:0 10px;gap:8px}.brand{font-size:14px;gap:5px}.main-nav a{padding:0 7px;font-size:10px}.page-intro h1{font-size:22px}.catalog-title .mode-label{display:none}.practice-row{padding-inline:12px}.list-footer{padding-inline:12px}.task-symbol{display:none}.reference-status-tag{padding-left:0}.task-title-block p{font-size:9px}.list-footnote{max-width:100px}.reader-tabs{padding:0 6px}.reader-tabs button{gap:4px;font-size:10px}}
@media(max-width:1100px) and (min-width:768px){.reference-status-tag{font-size:10px}}
@media(max-width:767px){.intro-description{font-size:12px}.subject-nav button{font-size:12px}.catalog-title p{font-size:10px}.practice-filters label{font-size:11px}.practice-filters select,.practice-filters input{font-size:12px}.list-toolbar{font-size:11px}.task-title-block h3{font-size:13px}.task-title-block p{font-size:11px}.reference-status-tag{font-size:10px}.reader-tabs button{font-size:12px}.source-content{font-size:14px}.editor-canvas pre,.editor-canvas textarea{font-size:13px;line-height:25px}.reference-notice{font-size:11px}[data-subject=Python] #referenceAnswer{font-size:13px}.editor-footer>p{font-size:10px}.workspace-footnote{font-size:10px}.workspace-heading p{font-size:11px}.back-button{font-size:12px}.primary-button{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
