@font-face{font-family:Golos;src:url(../fonts/golos-cyrillic.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap;unicode-range:U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Golos;src:url(../fonts/golos-latin.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap;unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color:var(--text);background:var(--bg);font-synthesis:none;--bg:#f8f8f6;--text:#25242b;--muted:#5d5c68;--subtle:#666571;--primary:#594296;--primary-strong:#594296;--primary-hover:#49337d;--primary-soft:#efedf6;--border:#dedde3;--panel:#fff;--panel-solid:#fff;--row-hover:#f0eff3;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:Golos,Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#18181d;--text:#efedf3;--muted:#b3b0be;--subtle:#a5a2b0;--primary:#c2b3ee;--primary-strong:#6b50ae;--primary-hover:#594092;--primary-soft:#30293f;--border:#3a3843;--panel:#222229;--panel-solid:#222229;--row-hover:#282730}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-size:14px;line-height:1.55}body:has(dialog[open]){overflow:hidden}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;outline:none}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0}button:disabled{cursor:not-allowed;opacity:.5}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid var(--primary);outline-offset:4px}h1,h2,h3,p{margin:0}svg{vertical-align:middle;flex-shrink:0}::selection{color:#352451;background:#d8c7f6}h1,h2,h3{letter-spacing:-.024em;font-weight:620}h2{font-size:23px;line-height:1.35}h3{font-size:16px;line-height:1.4}button{background:0 0}.glass{border:1px solid var(--border);background:var(--panel)}.muted{color:var(--muted)}.eyebrow,.small-label{letter-spacing:0;color:var(--muted);gap:7px;font-size:13px;font-weight:600}.button,.eyebrow,.icon-button,.small-label,.text-button{align-items:center;display:inline-flex}.button{white-space:nowrap;border:1px solid #0000;border-radius:7px;justify-content:center;gap:10px;min-height:43px;padding:11px 18px;font-size:14px;font-weight:500;line-height:1.5}.button-primary{background:var(--primary-strong);color:#fff}.button-primary:hover{background:var(--primary-hover)}.button-quiet{background:var(--panel);border-color:var(--border);color:var(--text)}.button-quiet:hover{background:var(--row-hover)}.button-success{color:#28745b;background:#dcefe7;border-color:#b4dfce}.text-button{color:var(--muted);gap:7px;padding:7px 0;font-size:14px}.text-button:hover{color:var(--primary)}.icon-button{width:44px;height:44px;color:var(--muted);border-radius:9px;flex-shrink:0;justify-content:center;transition:background .15s,color .15s}.icon-button:hover{color:var(--primary);background:var(--primary-soft)}.skip-link{z-index:200;background:var(--panel-solid);border-radius:8px;padding:12px;position:fixed;top:-100px;left:20px}.skip-link:focus{top:12px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.app-shell{--page-gutter:calc(clamp(16px, 3vw, 40px));flex-direction:column;min-height:100vh;display:flex}.main-content,.site-footer,.site-header-inner{width:min(1280px,100% - 2 * var(--page-gutter));margin-inline:auto}.site-header{border-bottom:1px solid var(--border);background:var(--panel-solid)}.site-header-inner{grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:calc(clamp(12px,2vw,32px));min-height:70px;padding-block:10px;display:grid}.site-brand{letter-spacing:-.04em;align-items:center;gap:9px;min-height:44px;font-size:22px;font-weight:650;display:inline-flex}.brand-symbol{background:var(--primary-soft);width:34px;height:34px;color:var(--primary);border-radius:7px;place-items:center;display:inline-grid}.site-nav{-moz-column-gap:calc(clamp(12px,1.55vw,24px));flex-wrap:wrap;column-gap:calc(clamp(12px,1.55vw,24px));display:flex}.site-nav a{min-height:44px;color:var(--muted);white-space:nowrap;align-items:center;font-size:14px;font-weight:500;display:inline-flex}.site-nav a:hover,.site-nav a[aria-current]{color:var(--text);-webkit-text-decoration:underline var(--primary) 2px;-webkit-text-decoration:underline var(--primary) 2px;text-decoration:underline var(--primary) 2px;text-underline-offset:6px}.site-search{border:1px solid color-mix(in srgb,var(--muted) 72%,var(--panel-solid));background:var(--bg);border-radius:8px;justify-self:end;align-items:center;width:min(100%,320px);min-width:0;display:flex}.site-search:focus-within{outline:2px solid var(--primary);outline-offset:2px}.site-search input{min-width:0;height:44px;color:var(--text);background:0 0;border:0;outline:none;flex:1;padding-inline:12px 4px}.site-search input:focus-visible{outline:none}.site-search input::placeholder{color:var(--muted)}.site-search-submit{width:44px;height:44px;color:var(--muted);border-radius:7px;flex-shrink:0;place-items:center;display:grid}.site-search-submit:hover{background:var(--row-hover);color:var(--primary)}.main-content{outline:none;flex:1}.site-footer{border-top:1px solid var(--border);color:var(--muted);margin-top:42px;padding-block:20px;font-size:13px}.notice{border:1px solid #d6b66a;border-radius:8px;margin-top:20px;padding:12px 15px;font-size:14px}.progress-track{background:var(--border);border-radius:10px;width:100%;height:4px;display:block;overflow:hidden}.progress-track>span{background:var(--primary);border-radius:10px;height:100%;display:block}.tone-lilac{--tone:#9b81d1;--tone-bg:#eee8f8}.tone-yellow{--tone:#b69b45;--tone-bg:#f8f1d7}.tone-blue{--tone:#7b9fcf;--tone-bg:#e8effa}.tone-pink{--tone:#bc84a4;--tone-bg:#f7e9f1}.tone-cyan{--tone:#69a5b0;--tone-bg:#e4f1f3}.tone-green{--tone:#73a992;--tone-bg:#e4f2eb}.tone-orange{--tone:#cb9a6c;--tone-bg:#faf0e2}.category-icon,.stat-icon{color:var(--tone);background:var(--tone-bg)}:root[data-theme=dark] .tone-lilac{--tone:#b9a1e6;--tone-bg:#393047}:root[data-theme=dark] .tone-yellow{--tone:#ccba76;--tone-bg:#3c3728}:root[data-theme=dark] .tone-blue{--tone:#91b3de;--tone-bg:#293344}:root[data-theme=dark] .tone-pink{--tone:#cd9ebd;--tone-bg:#402f40}:root[data-theme=dark] .tone-cyan{--tone:#84bbc5;--tone-bg:#283d42}:root[data-theme=dark] .tone-green{--tone:#90c3aa;--tone-bg:#293c35}:root[data-theme=dark] .tone-orange{--tone:#d4ad84;--tone-bg:#40372e}.library-intro{padding:calc(clamp(32px,6vw,72px)) 0 calc(clamp(30px,4vw,47px))}.library-intro h1{letter-spacing:-.045em;text-wrap:balance;width:fit-content;font-size:calc(clamp(30px,4.2vw,54px));line-height:1.12}.library-intro p{max-width:58ch;color:var(--muted);margin-top:15px;font-size:16px;line-height:1.65}.direction-section .section-heading{min-height:32px;margin-bottom:10px}.direction-grid{background:var(--border);border:1px solid var(--border);border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;display:grid}.direction-card{text-align:left;background:var(--panel);border-radius:0;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;padding:16px calc(clamp(12px,2vw,20px));display:flex}.direction-card:first-child{border-radius:7px 0 0 7px}.direction-card:last-child{border-radius:0 7px 7px 0}.direction-card:focus-visible{z-index:1;outline-offset:1px;position:relative}.direction-card:hover{background:var(--row-hover)}.direction-card.selected{background:var(--primary-soft);box-shadow:inset 0 -3px var(--primary)}.direction-card.selected .direction-card-title{color:var(--primary)}.direction-card-title{align-items:center;gap:9px;font-size:17px;line-height:1.35;display:flex}.direction-card-title strong{font-weight:620}.direction-topics{color:var(--muted);flex:1;font-size:13px;line-height:1.5}.direction-count{color:var(--subtle);font-size:12px}.direction-detail{margin-top:22px}.direction-description{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px 28px;margin-bottom:23px;padding:16px 0 22px;display:flex}.direction-description p{max-width:67ch;color:var(--muted);margin-top:6px;font-size:15px}.direction-description .button{min-width:106px}.topic-heading{margin-bottom:8px}.topic-heading h3{font-size:18px}.filter-note,.guest-note{color:var(--muted);margin:12px 0;font-size:13px;line-height:1.6}.guest-note{border-top:1px solid var(--border);padding:13px 0}.guest-note a{color:var(--primary);text-underline-offset:3px;text-decoration:underline}@media (width<=719px){.direction-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.direction-card:first-child{border-radius:7px 0 0}.direction-card:nth-child(2){border-radius:0 7px 0 0}.direction-card:nth-child(3){border-radius:0 0 0 7px}.direction-card:nth-child(4){border-radius:0 0 7px}.direction-card-title{gap:7px;font-size:15px}.direction-card-title svg{width:16px;height:16px}.direction-description{flex-wrap:wrap;align-items:flex-start}}@media (width<=479px){.direction-topics{display:none}.direction-card{padding-block:13px}.direction-description{padding-top:8px}}.section-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.section-heading h2{letter-spacing:-.65px;align-items:center;gap:10px;font-size:21px;display:flex}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;display:grid}.category-card{border-top:1px solid var(--border);padding:15px 16px;display:block}.category-card:hover{background:var(--row-hover);color:var(--primary)}.category-card-top{justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px;display:flex}.category-icon{border:1px solid color-mix(in srgb,var(--tone) 6%,transparent);border-radius:11px;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.category-count{color:var(--subtle);margin-top:7px;font-size:12px;display:block}.category-card h3{font-size:16px}.category-card p{color:var(--muted);max-width:38ch;font-size:13px;line-height:1.55}.questions-section{margin-top:36px}.heading-count{color:var(--muted);font-variant-numeric:tabular-nums;letter-spacing:0;justify-content:center;align-items:center;min-width:25px;padding:0 2px;font-size:12px;font-weight:400;display:inline-flex}.question-toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;gap:15px;padding-bottom:17px}.grade-tabs,.grade-tabs button,.question-meta,.question-row,.question-toolbar,.select-filters{align-items:center;display:flex}.grade-tabs{background:color-mix(in srgb,var(--border) 45%,transparent);border:1px solid var(--border);border-radius:9px;gap:3px;padding:3px}.grade-tabs button{color:var(--muted);white-space:nowrap;border-radius:6px;gap:6px;padding:7px 11px;font-size:12px}.grade-tabs button.selected{background:var(--panel-solid);color:var(--primary);box-shadow:inset 0 0 0 1px var(--border)}.select-filters{gap:8px}.select-filters select,.small-search{border:1px solid var(--border);background-color:var(--panel);color:var(--muted);border-radius:7px;max-width:180px;min-height:32px;padding:8px 28px 8px 10px;font-size:12px}.select-filters select{appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none'%3E%3Cpath d='m2 2 3 3 3-3' stroke='%23928b9e' stroke-width='1.2'/%3E%3C/svg%3E");background-position:right 9px center;background-repeat:no-repeat}.question-list{border-top:0}.question-row{border-bottom:1px solid var(--border);gap:14px;min-height:66px;padding:12px 4px}.question-row:hover{background:var(--row-hover)}.question-main{flex:1;min-width:0;padding:2px 0}.question-main h3{letter-spacing:-.01em;font-size:15px;font-weight:550;line-height:1.45}.question-main:hover h3{color:var(--primary)}.question-meta{color:var(--subtle);gap:8px;margin-top:5px}.question-tag{font-size:12px;line-height:1.7}.grade-badge{text-transform:capitalize;white-space:nowrap;letter-spacing:.1px;border-radius:5px;align-items:center;padding:3px 8px;font-size:12px;font-weight:400;line-height:1.6;display:inline-flex}.difficulty-badge.easy,.grade-badge.junior{color:#3c765d;background:#e7f2eb}.grade-badge.middle{color:#3f6088;background:#e9eff8}.grade-badge.senior{color:#70508e;background:#f0eaf7}.difficulty-badge.medium,.grade-badge.lead{color:#7d5d30;background:#f8f0e1}.difficulty-badge.hard{color:#9d5174;background:#f7e9ef}:root[data-theme=dark] .difficulty-badge.easy,:root[data-theme=dark] .grade-badge.junior{color:#98c3aa;background:#293b32}:root[data-theme=dark] .grade-badge.middle{color:#9bb9de;background:#2a3545}:root[data-theme=dark] .grade-badge.senior{color:#bea3df;background:#3a2e48}:root[data-theme=dark] .difficulty-badge.medium,:root[data-theme=dark] .grade-badge.lead{color:#d4b880;background:#3f3728}:root[data-theme=dark] .difficulty-badge.hard{color:#d6a2b9;background:#422c39}.save-button{width:28px;color:var(--subtle)}.is-saved{color:var(--primary)}.is-saved svg{fill:var(--primary-soft)}.learned-check,.learned-label{color:#75a98d}.load-more{min-height:35px;margin:22px auto 0;padding:8px 15px;font-size:13px;display:flex}.load-more>span{padding:0 2px}.list-end,.load-more>span{color:var(--subtle);font-size:12px}.list-end{justify-content:center;align-items:center;gap:8px;padding:22px;display:flex}.heading-actions{flex-shrink:0;align-items:center;gap:17px}.section-heading .filtered-title{letter-spacing:-1px;flex-wrap:wrap;align-items:center;gap:10px;font-size:29px;line-height:1.45;display:flex}@media (width<=479px){.section-heading:has(.filtered-title){flex-wrap:wrap}.section-heading .filtered-title{font-size:25px}}.standard-page{padding-top:43px}.page-intro{margin-bottom:33px}.page-intro h1{letter-spacing:-.035em;text-wrap:balance;width:fit-content;margin:0 0 12px;font-size:calc(clamp(29px,4vw,41px));line-height:1.17}.page-intro p{color:var(--muted);max-width:690px;font-size:16px;line-height:1.85}.empty-state{text-align:center;border-radius:14px;flex-direction:column;align-items:center;padding:48px 24px;display:flex}.empty-icon{background:var(--primary-soft);width:60px;height:60px;color:var(--primary);border-radius:18px;place-items:center;margin-bottom:18px;display:grid}.empty-state h3{margin-bottom:9px;font-size:20px}.empty-state p{max-width:390px;margin-bottom:20px;line-height:1.8}.back-link,.empty-state p{color:var(--muted);font-size:14px}.back-link{align-items:center;gap:9px;padding:5px 0;display:inline-flex}.back-link:hover{color:var(--primary)}.reader-page{max-width:820px;margin:0 auto;padding-top:32px}.reader-meta{align-items:center;gap:13px;margin:29px 0 13px;display:flex}.reader-topic{color:var(--muted);font-size:14px}.reader-page>h1{letter-spacing:-1.2px;font-size:36px;font-weight:620;line-height:1.3}.reader-tags{color:var(--subtle);flex-wrap:wrap;gap:12px;margin-top:16px;display:flex}.short-answer{border-inline-start:3px solid var(--primary);border-radius:0 7px 7px 0;margin-top:30px;padding:24px 27px}.short-answer h2{letter-spacing:normal;font-size:16px}.short-answer p{margin-top:12px;font-size:15px;line-height:1.85}.detailed-answer{margin-top:32px}.detailed-answer h2{margin-bottom:20px;font-size:21px}.detailed-answer p,.solution-body p{color:color-mix(in srgb,var(--text) 86%,var(--muted));white-space:pre-line;margin-bottom:17px;font-size:14px;line-height:1.95}.code-block{color:#dbd0e9;tab-size:2;background:#22212e;border:1px solid #d7bdff0d;border-radius:12px;margin:24px 0;padding:23px 25px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px;line-height:1.9;overflow:auto}.code-block code{font:inherit}.pitfall{background:color-mix(in srgb,var(--tone-bg,#f7efd8) 30%,var(--panel));border:1px solid var(--border);border-radius:12px;align-items:flex-start;gap:14px;margin:27px 0;padding:20px 23px;display:flex}.pitfall>svg{color:#b39c6a;margin-top:2px}.pitfall h3{margin-bottom:7px;font-size:15px}.pitfall p{color:var(--muted);font-size:14px;line-height:1.9}.sources{border-top:1px solid var(--border);margin-top:30px;padding:22px 0 10px}.sources h3{margin-bottom:15px;font-size:14px;font-weight:500}.sources a{color:var(--primary);align-items:center;gap:9px;margin-bottom:11px;line-height:1.6;display:flex}.sources a>svg:last-child{color:var(--subtle);margin-left:3px}.reader-actions{border-top:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:stretch;gap:12px;margin-top:14px;padding-top:24px;display:grid}.reader-actions>.button,.study-actions>.button{white-space:normal;min-width:0}.reader-actions>.icon-button{align-self:center}.learned-label{align-items:center;gap:6px;font-size:13px;display:inline-flex}.related-section{margin-top:48px}.related-section h2{font-size:19px}.progress-summary{border-radius:14px;align-items:center;gap:28px;margin-bottom:37px;padding:29px 34px;display:flex}.progress-ring{background:conic-gradient(var(--primary) var(--progress),var(--primary-soft) 0);border-radius:50%;flex-shrink:0;place-items:center;width:110px;height:110px;display:grid;position:relative}.progress-ring:before{content:"";background:var(--panel-solid);border-radius:50%;position:absolute;inset:7px}.progress-ring strong{z-index:1;font-size:28px;font-weight:500}.progress-ring small{color:var(--muted);margin-left:2px;font-size:15px}.progress-summary h2{margin-bottom:8px;font-size:22px}.progress-summary p{color:var(--muted);font-size:14px}.summary-badges{color:var(--muted);gap:19px;margin-top:15px;font-size:13px;display:flex}.summary-badges>span{align-items:center;gap:7px;display:flex}.progress-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.progress-category{border-radius:12px;align-items:center;gap:15px;padding:20px;transition:transform .15s;display:flex}.progress-category:hover{transform:translateY(-2px)}.progress-category>div{flex:1}.progress-category h3{letter-spacing:-.2px;font-size:14px}.progress-category p{color:var(--muted);margin:5px 0 10px;font-size:12px}.progress-category>svg{color:var(--subtle)}.backup-card{border-radius:14px;flex-wrap:wrap;align-items:center;gap:20px;margin-top:33px;padding:25px;display:flex}.backup-card>div:first-child{flex:1;min-width:240px}.backup-card h3{align-items:center;gap:10px;margin-bottom:8px;font-size:15px;display:flex}.backup-card h3>svg{color:var(--primary)}.backup-card p{color:var(--muted);max-width:540px;font-size:14px;line-height:1.9}.backup-actions,.interview-tabs{gap:9px;display:flex}.backup-actions>.button{font-size:13px}.import-message{flex-basis:100%;color:#3c765d!important}.import-message.error{color:#c47b8f!important}.interview-tabs{flex-wrap:wrap;margin:34px 0 29px}.interview-tabs>button{border:1px solid var(--border);color:var(--muted);border-radius:9px;align-items:center;gap:8px;padding:11px 15px;display:flex}.interview-tabs>button.selected{background:var(--primary-soft);color:var(--primary);border-color:color-mix(in srgb,var(--primary) 20%,transparent)}.content-note{color:var(--muted);max-width:730px;margin:0 0 15px;font-size:14px;line-height:1.9}.algorithm-toolbar{margin-bottom:24px}.page-intro .algorithm-progress{font-variant-numeric:tabular-nums;margin-top:10px;font-size:14px}.small-search{width:155px;padding-right:10px}.algorithm-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.algorithm-card{border-radius:8px;flex-direction:column;padding:21px;transition:border-color .15s;display:flex}.algorithm-card:hover{border-color:var(--primary)}.algorithm-card-top{align-items:center;gap:10px;margin-bottom:12px;display:flex}.difficulty-badge{border-radius:5px;padding:3px 8px;font-size:12px;display:inline-flex}.algorithm-card h2{letter-spacing:-.3px;font-size:15px;line-height:1.55}.algorithm-card>p{color:var(--muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:10px 0 15px;font-size:13px;line-height:1.85;display:-webkit-box;overflow:hidden}.algorithm-tags{flex-wrap:wrap;gap:6px;display:flex}.algorithm-tags>span{background:var(--primary-soft);color:var(--primary);border-radius:4px;padding:3px 6px;font-size:12px;line-height:1.6}.algorithm-card-bottom{color:var(--subtle);border-top:1px solid var(--border);justify-content:space-between;align-items:center;margin-top:auto;padding-top:15px;font-size:12px;display:flex}.algorithm-card .algorithm-tags{margin-bottom:20px}.algorithm-card-bottom>span>span{margin:0 5px}.algorithm-workspace{padding-top:31px}.workspace-heading{justify-content:space-between;align-items:center;gap:15px;margin-top:24px;display:flex}.workspace-heading h1{letter-spacing:-.8px;margin-top:11px;font-size:31px;line-height:1.35}.algorithm-workspace>.algorithm-tags{margin:17px 0 28px}.coding-grid{grid-template-columns:.9fr 1.1fr;align-items:start;gap:20px;display:grid}.task-description{border-radius:12px;padding:25px}.task-description h2{margin-bottom:15px;font-size:18px}.task-description>p{color:var(--muted);white-space:pre-line;font-size:14px;line-height:1.9}.task-description h3{margin:24px 0 10px;font-size:14px}.task-example{background:var(--bg);border:1px solid var(--border);border-radius:8px;margin-top:20px;padding:14px}.task-example h3{margin:0 0 9px;font-size:14px}.task-example code{overflow-wrap:anywhere;font-size:13px;line-height:1.9}.task-example code>span,.task-example p{color:var(--muted)}.task-example p{margin-top:10px;font-size:13px;line-height:1.8}.task-description ul{color:var(--muted);margin-bottom:0;padding-left:16px;font-size:14px;line-height:1.95}.code-editor{color:#d9d1e7;background:#242330;border:1px solid #ffffff10;border-radius:12px;overflow:hidden}.editor-top{color:#aaa2b9;border-bottom:1px solid #ffffff0b;justify-content:space-between;padding:10px 16px;font-size:13px}.editor-top,.editor-top>span{align-items:center;display:flex}.editor-top>span{gap:9px}.editor-top .icon-button{color:#aaa2b9}.js-badge{color:#2c2632;background:#c4ae70;border-radius:4px;padding:1px 4px;font-size:12px;font-weight:600}.code-editor textarea{resize:vertical;color:#d9d1e7;tab-size:2;white-space:pre;background:0 0;border:0;border-radius:0;width:100%;min-height:330px;padding:23px 20px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px;line-height:1.9;display:block;overflow:auto}.code-editor textarea:focus-visible{outline-offset:-3px;outline-width:2px}.editor-bottom{border-top:1px solid #ffffff0b;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.editor-bottom>span{color:#9d95ab;max-width:160px;font-size:12px}.editor-bottom .button{min-height:34px;padding:7px 10px;font-size:12px}.test-panel{border-radius:12px;margin-top:18px;padding:19px 21px}.test-heading{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.test-heading h3{font-size:14px}.test-panel>.muted{font-size:13px;line-height:1.8}.test-case,.test-heading>span{font-size:13px}.test-case{border-top:1px solid var(--border);align-items:flex-start;gap:15px;padding:10px 0;display:flex}.test-case>span{white-space:nowrap;align-items:center;gap:6px;display:flex}.test-case details{min-width:0;margin-left:auto}.test-case summary{cursor:pointer;color:var(--muted);text-align:right;font-size:12px}.test-case code{overflow-wrap:anywhere;white-space:normal;margin-top:10px;font-size:12px;line-height:1.9;display:block}.test-passed{color:#75a98b}.runner-error,.test-failed{color:#c77c8d}.runner-error{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.solution-section{border-radius:12px;margin-top:26px;overflow:hidden}.solution-toggle{text-align:left;justify-content:space-between;align-items:center;width:100%;padding:22px 25px;display:flex}.solution-toggle>span{align-items:center;gap:12px;display:flex}.solution-toggle svg{color:var(--primary)}.solution-toggle strong{font-size:15px;font-weight:500}.solution-toggle small{color:var(--muted);margin-left:7px;font-size:13px}.solution-body{padding:0 25px 10px}.complexity,.solution-body p{font-size:14px}.complexity{color:var(--muted);gap:25px;margin:23px 0;display:flex}.complexity strong{color:var(--primary);font-weight:500}.study-dialog{background:var(--panel-solid);width:calc(min(620px,100vw - 32px));max-height:85vh;color:var(--text);border:1px solid var(--border);border-radius:20px;padding:27px 32px 35px;overflow:auto;box-shadow:0 25px 120px #1e12372a}.study-top{justify-content:space-between;margin-bottom:26px}.study-answer a,.study-count,.study-top{align-items:center;display:flex}.study-count{color:var(--muted);gap:12px;margin-bottom:15px;font-size:13px}.study-dialog h2{letter-spacing:-.7px;margin-bottom:14px;font-size:25px;line-height:1.45}.study-dialog .muted{margin-bottom:27px;font-size:14px}.study-answer{background:var(--primary-soft);border-radius:12px;margin:25px 0;padding:22px}.study-answer .small-label{color:var(--primary);font-size:12px}.study-answer p{margin-top:10px;font-size:15px;line-height:1.85}.study-answer a{color:var(--primary);gap:6px;margin-top:15px;font-size:13px}.study-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:25px;display:grid}.study-finished{text-align:center;flex-direction:column;align-items:center;padding:20px 0 8px;display:flex}.study-finished p{color:var(--muted);max-width:350px;margin-bottom:23px;font-size:15px;line-height:1.8}.error-page{text-align:center;background:var(--bg);flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:25px;display:flex}.error-page>.brand-symbol{margin-bottom:30px}.error-page h1{margin:15px 0;font-size:35px;line-height:1.3}.error-page p{max-width:430px;color:var(--muted);margin-bottom:25px;font-size:15px;line-height:1.8}@media (width>=1600px){.question-main h3{font-size:14px}.grade-badge,.question-meta{font-size:13px}.question-row{padding:19px 7px}.question-tag{font-size:12px}.section-heading h2{font-size:24px}.grade-tabs button,.select-filters select,.text-button{font-size:14px}}@media (width<=1199px){.section-heading h2{font-size:19px}.select-filters select{max-width:151px}.grade-tabs button{padding:7px 9px}.question-row{gap:11px}.question-main h3{font-size:14px}.coding-grid{grid-template-columns:1fr}.task-description{display:block}.task-description>p{font-size:15px}.code-editor textarea{min-height:350px}.algorithm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=959px){.site-header-inner{grid-template-columns:auto minmax(0,1fr) auto;gap:0 12px;padding-block:10px 0}.site-nav{grid-area:2/1/3/-1;margin-top:5px}.site-search{grid-area:1/2}.site-theme{grid-area:1/3}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.section-heading h2{font-size:18px}.question-toolbar{gap:12px}.grade-tabs{gap:1px}.grade-tabs button{font-size:12px}.select-filters{margin-left:auto}.question-main h3{font-size:14px}.grade-badge,.question-meta{font-size:12px}.question-meta>.question-tag{display:none}.question-row{gap:9px}.grade-badge{padding:3px 6px}.save-button{width:24px}.page-intro h1{font-size:33px}.reader-page>h1{font-size:30px}.reader-page{padding-top:25px}.short-answer{padding:22px}.short-answer p{font-size:14px}.detailed-answer p{font-size:15px}.progress-summary{gap:22px;padding:25px}.progress-summary h2{font-size:18px}.progress-summary p{font-size:14px}.summary-badges{gap:13px;font-size:12px}.progress-ring{width:89px;height:89px}.progress-ring strong{font-size:24px}.progress-grid{grid-template-columns:1fr}.interview-tabs{gap:6px}.interview-tabs>button{padding:9px;font-size:12px}.algorithm-card{padding:18px}.algorithm-card h2{font-size:14px}.backup-card{padding:22px}.algorithm-toolbar .select-filters{margin-left:0}.workspace-heading h1{font-size:27px}}@media (width<=719px){.section-heading h2{font-size:21px}.text-button{font-size:13px}.category-grid{gap:13px}.questions-section{margin-top:29px}.question-main h3{font-size:14px}.question-row{gap:12px;padding:17px 1px}.grade-badge,.grade-tabs button,.select-filters select{font-size:12px}.grade-tabs button{padding:7px 10px}.select-filters{margin-left:0}.question-toolbar{gap:13px}.page-intro h1{font-size:34px}.page-intro p,.short-answer p{font-size:14px}.standard-page{padding-top:31px}.reader-page{padding-top:26px}.reader-page>h1{letter-spacing:-1px;font-size:29px}.reader-meta{gap:10px}.detailed-answer p{font-size:15px;line-height:1.95}.reader-actions{gap:8px}.reader-actions>.button{min-height:39px;padding:10px 12px;font-size:13px}.progress-category h3,.sources a{font-size:13px}.pitfall{gap:11px;padding:19px}.pitfall p{font-size:14px}.progress-grid{grid-template-columns:1fr 1fr}.progress-category{gap:10px;padding:16px}.progress-category .category-icon{border-radius:9px;width:32px;height:33px}.progress-category p,.solution-toggle small{font-size:12px}.progress-category>svg{display:none}.interview-tabs>button{padding:10px 12px;font-size:13px}.workspace-heading h1{font-size:28px}.editor-bottom>span{max-width:250px;font-size:12px}.editor-bottom .button{font-size:13px}.code-editor textarea,.task-description li,.task-example code{font-size:14px}.solution-body p,.task-description>p{font-size:15px}.app-shell{overflow-x:clip}}@media (width<=479px){.site-header-inner{-moz-column-gap:8px;column-gap:8px}.site-brand .brand-symbol{display:none}.site-nav{-moz-column-gap:10px;column-gap:10px}.site-nav a{font-size:13px}.site-search input{font-size:16px}.section-heading h2{font-size:20px}.section-heading{gap:12px;margin-bottom:17px}.text-button{gap:5px;font-size:12px}.text-button>svg{width:14px}.category-grid{grid-template-columns:1fr;gap:11px}.category-icon{border-radius:10px;width:35px;height:36px}.category-icon>svg{width:21px}.questions-section .section-heading h2{flex-wrap:wrap;gap:6px;font-size:18px;line-height:1.5}.heading-count{padding:2px 6px;font-size:12px}.grade-tabs{flex-wrap:wrap;justify-content:flex-start;gap:1px;width:100%;padding:3px}.grade-tabs button{gap:5px;padding:7px 8px;font-size:12px}.select-filters{justify-content:space-between;width:100%}.select-filters select{flex:1;max-width:calc(50% - 5px);padding-top:9px;padding-bottom:9px;font-size:12px}.question-toolbar{gap:10px;padding-bottom:13px}.question-row{gap:9px;min-height:91px;padding:15px 0}.question-main h3{font-size:14px;line-height:1.6}.question-meta{margin-top:5px;font-size:12px}.question-row .grade-badge{padding:2px 5px;font-size:12px}.question-row>.learned-check{width:12px}.save-button{width:22px}.save-button>svg{width:16px}.standard-page{padding-top:29px}.page-intro h1{letter-spacing:-1.35px;font-size:31px}.page-intro p{font-size:14px}.reader-page>h1{font-size:27px}.reader-meta{flex-wrap:wrap;row-gap:8px;margin-top:24px}.reader-tags{gap:10px;font-size:12px}.short-answer{margin-top:24px;padding:20px}.short-answer p{font-size:15px;line-height:1.9}.detailed-answer h2{font-size:19px}.detailed-answer p{font-size:14px;line-height:2}.code-block{padding:19px 17px;font-size:13px}.pitfall{padding:18px 16px}.pitfall h3,.sources h3{font-size:14px}.sources a{font-size:13px}.sources a>svg{width:14px}.reader-actions>.button{gap:6px;padding:9px 10px;font-size:12px}.reader-actions .icon-button{width:30px}.progress-summary{gap:17px;padding:22px 19px}.progress-ring{width:75px;height:75px}.progress-ring strong{font-size:22px}.progress-ring small{font-size:13px}.progress-summary h2{letter-spacing:-.5px;font-size:16px;line-height:1.5}.progress-summary p{font-size:13px;line-height:1.8}.summary-badges{flex-direction:column;gap:7px;font-size:12px}.algorithm-grid,.progress-grid{grid-template-columns:1fr}.backup-card h3,.progress-category h3{font-size:14px}.progress-category p{font-size:12px}.progress-category{gap:14px;padding:18px}.progress-category .category-icon{width:39px;height:41px}.progress-category>svg{display:block}.backup-card{padding:21px 19px}.backup-card p{font-size:13px}.backup-actions{gap:8px}.backup-actions>.button{padding:10px 11px;font-size:12px}.interview-tabs{flex-direction:column;gap:7px;margin:25px 0}.interview-tabs>button{justify-content:flex-start;padding:13px 15px;font-size:14px}.standard-page>.section-heading:has(.button){flex-wrap:wrap}.standard-page>.section-heading>.button{min-height:34px;padding:8px 11px;font-size:13px}.content-note{font-size:13px}.algorithm-grid{gap:13px}.algorithm-card{padding:21px}.algorithm-card h2{font-size:16px}.algorithm-card>p{-webkit-line-clamp:3;font-size:14px}.algorithm-card-top{margin-bottom:15px}.algorithm-card .algorithm-tags{margin-bottom:17px}.algorithm-card-bottom{font-size:12px}.algorithm-toolbar .grade-tabs button{padding:8px 10px;font-size:12px}.small-search{flex:1;width:auto;max-width:50%;font-size:13px}.workspace-heading h1{font-size:27px}.workspace-heading{align-items:flex-start;gap:12px}.workspace-heading>.learned-label{white-space:nowrap;margin-top:5px;font-size:12px}.algorithm-workspace>.algorithm-tags{margin-bottom:23px}.task-description{padding:21px}.task-description li,.task-description>p{font-size:14px}.editor-top{padding:8px 13px}.code-editor textarea{min-height:300px;padding:19px 15px;font-size:14px}.editor-bottom{gap:9px;padding:13px}.editor-bottom>span{max-width:145px;font-size:12px}.editor-bottom .button{gap:6px;padding:8px 10px;font-size:12px}.test-panel{padding:18px}.solution-toggle{padding:20px}.solution-toggle>span{flex-wrap:wrap;gap:9px}.solution-toggle small{flex-basis:100%;margin-top:-4px;margin-left:29px;font-size:12px}.solution-body p,.solution-toggle strong{font-size:14px}.solution-body{padding:0 20px 5px}.complexity{flex-wrap:wrap;gap:12px;font-size:13px}.study-dialog{border-radius:16px;padding:23px 22px 27px}.study-dialog h2{font-size:23px}.study-answer p,.study-dialog .muted{font-size:14px}.study-answer{padding:19px}.study-actions{gap:8px}.study-actions .button{padding:10px 12px;font-size:13px}.study-count{font-size:12px}.empty-state{padding:37px 20px}.empty-state h3{font-size:18px}.empty-state p{font-size:14px}.error-page h1{font-size:29px}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:after,:before{transition:none!important;animation:none!important}}.save-button{width:44px;height:44px}.copy-feedback{color:var(--primary)}.section-heading{flex-wrap:wrap}.section-heading h2{flex-wrap:wrap;font-size:23px;line-height:1.4}.heading-actions{flex-wrap:wrap;gap:16px;display:flex}.question-main h3{font-size:16px;line-height:1.5}.question-row{gap:15px;padding:20px 4px}.question-meta{flex-wrap:wrap;font-size:12px}.grade-tabs{max-width:100%;overflow-x:auto}.grade-tabs button{flex-shrink:0;min-height:42px;font-size:14px}.interview-filters select,.select-filters select{font:inherit;min-height:44px;color:var(--text);background:var(--panel-solid);border:1px solid var(--border);border-radius:9px;max-width:250px;padding:10px 12px;font-size:14px}.interview-filters{gap:18px;margin-top:24px;display:flex}.interview-filters label{color:var(--muted);flex:1;gap:8px;min-width:0;max-width:300px;font-size:13px;display:grid}.interview-filters select{width:100%;max-width:none}.detailed-answer p,.page-intro p,.pitfall p,.short-answer p,.study-answer p{font-size:16px;line-height:1.85}.sources a{overflow-wrap:anywhere;min-height:44px;font-size:14px}.reader-actions{flex-wrap:wrap}.reader-actions>.button{min-height:44px;font-size:14px}.reader-tags{font-size:13px}.copy-feedback{margin-top:12px;font-size:14px}.back-link,.interview-tabs>button,.text-button{min-height:44px;font-size:14px}.interview-intro h1{letter-spacing:-.03em;text-wrap:balance;margin:0 0 12px;font-size:calc(clamp(28px,4vw,40px));line-height:1.15}.interview-intro p{max-width:62ch}.interview-tabs{border-bottom:1px solid var(--border);flex-direction:row;gap:0 20px;margin:24px 0}.interview-tabs>button{background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;margin-bottom:-1px;padding:10px 0;font-weight:550}.interview-tabs>button:hover{color:var(--text)}.interview-tabs>button.selected{border-color:var(--primary);background:0 0}.standard-page>.section-heading>.interview-start{min-width:100px;min-height:44px;padding:8px 18px;font-size:14px}.interview-help{color:var(--muted);border-bottom:1px solid var(--border);max-width:62ch;margin:0 0 18px}.interview-help summary{cursor:pointer;min-height:44px;color:var(--text);padding:11px 0;font-weight:550}.interview-help ol{margin:0 0 16px;padding-inline-start:22px;line-height:1.6}.interview-help li+li{margin-top:8px}.study-dialog{max-height:calc(min(85vh,100dvh - 32px));box-shadow:none;border-radius:10px;padding:calc(clamp(18px,4vw,32px))}.study-dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#0e121980}.study-top{border-bottom:1px solid var(--border);color:var(--muted);margin-bottom:18px;padding-bottom:8px;font-size:14px;font-weight:550}.study-dialog h2{font-size:calc(clamp(21px,4vw,26px));line-height:1.3}.study-prompt{color:var(--muted);margin-bottom:18px}.study-answer{border-inline-start:2px solid var(--border);background:0 0;border-radius:0;margin:20px 0;padding:0 0 0 16px}.study-answer h3{font-size:14px;line-height:1.4}.study-answer p{margin-top:6px;line-height:1.6}.study-answer a{text-underline-offset:3px;width:fit-content;min-height:44px;margin-top:2px;text-decoration:underline}.study-actions .button{min-height:44px;font-size:14px}.study-finished{text-align:left;align-items:flex-start;padding:0}.study-finished p{margin-bottom:18px}@media (width<=719px){.questions-section .section-heading h2,.section-heading h2{font-size:21px}.grade-tabs{justify-content:flex-start;gap:3px;width:100%}.grade-tabs button{padding:8px 10px;font-size:13px}.select-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;width:100%;display:grid}.select-filters select{width:100%;min-width:0;max-width:none;font-size:14px}.question-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:20px 0;display:grid;position:relative}.question-main{grid-area:1/1}.question-row>.grade-badge{grid-area:2/1;justify-self:start;font-size:12px}.question-row>.save-button{grid-area:1/2/span 2;align-self:center;width:44px}.question-row>.learned-check{width:16px;position:absolute;bottom:22px;left:65px}.question-main h3{font-size:16px}.question-meta{margin-top:6px;font-size:12px}.question-toolbar{gap:12px}.reader-page>h1{font-size:28px}.short-answer{padding:20px}.content-note,.empty-state p{font-size:14px}}@media (width<=359px){.interview-filters{flex-direction:column}}.saved-filters{margin-bottom:24px}.page-intro h1 span{color:var(--primary);font-weight:450}
