/* CodeLens / Ink & Indigo. Strong reading contrast, white surfaces, purposeful color. */
:root{--ink:#172033;--muted:#526078;--line:#dce2eb;--accent:#5146e5;--side:#eef1f7;color:var(--ink);background:#f5f7fb}
body{background:#f5f7fb;color:var(--ink)}
h1,h2,h3,strong{color:var(--ink)}
button,input,select,textarea{accent-color:var(--accent)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8178f2;outline-offset:3px}
.sidebar{background:#edf0f6;border-color:#d9dfe9}.brand,.logo{color:#172033}.logo>span{color:#5146e5}.beta{color:#526078;border-color:#c6cede;background:#fff}
.nav{color:#45516a;font-weight:500}.nav:hover{background:#e0e5ef;color:#26324b}.nav.active{background:#dedbff;color:#3730a3;font-weight:650}.nav-label,.nav-shortcut,.zone-number{color:#65728a}.nav-divider,.account{border-color:#d5dce7}.nav-divider{background:#d5dce7}.side-quote,.side-quote svg{color:#65728a}.avatar{background:#dedbff;color:#4338ca}.account small{color:#65728a}
.topbar{color:#58657a}.topbar strong{color:#334155}.top-actions #model-toggle{background:#fff;color:#334155;border-color:#cdd5e3;font-size:11px;box-shadow:0 2px 5px #17203305}.model-chip i{background:#07865f}.top-actions #help-button{color:#526078;border-color:#cdd5e3}
.model-menu{border-color:#dce2eb;box-shadow:0 16px 48px #17203322}.model-menu-heading{color:#172033;font-weight:650}.model-menu-heading small{color:#64748b}.top-actions .model-option{color:#334155}.top-actions .model-option:hover,.top-actions .model-option.selected{background:#eeecff;color:#4338ca}.model-monogram{background:#e5e1ff;color:#5146e5}.model-check{color:#5146e5}
.hero h1{color:#172033;font-weight:650;letter-spacing:-1.5px}.hero h1>span{color:#5146e5}.hero-eyebrow{color:#526078}.hero-eyebrow span{background:#5146e5}.hero>p{color:#526078;font-size:13px}.search-shell{background:#fff;border-color:#cdd5e3;box-shadow:0 6px 24px #17203308}.search-shell input{color:#172033;font-size:13px}.search-shell input::placeholder{color:#65728a}.search-shell>svg{color:#526078}.search-shell:focus-within{border-color:#5146e5;box-shadow:0 0 0 3px #5146e51a}.suggestions>span{color:#65728a}.suggestions button{color:#4c429e;background:#eae7fa;border-color:#ded8f4}.search-shell kbd{color:#65728a;border-color:#dce2eb}
.zone-card{border-color:#d9e0eb;background:#fff;box-shadow:0 3px 12px #17203305}.zone-card.selected{border:1px solid #8178ef;background:#fff;box-shadow:0 0 0 2px #5146e50d}.zone-card:hover{border-color:#8178ef;box-shadow:0 8px 24px #1720330d}.zone-card h2{color:#172033;font-size:16px;font-weight:650}.zone-card p{color:#526078;font-size:12px}.zone-card h2 svg{color:#5146e5}.zone-count,.zone-topics{color:#526078}.zone-topics{border-color:#e1e6ef}
.zone-card[data-zone="icpc"] .zone-icon{background:#e8e5ff;color:#5146e5}.zone-card[data-zone="ml"] .zone-icon{background:#def4ec;color:#087958}.zone-card[data-zone="dl"] .zone-icon{background:#ffeadc;color:#b45309}
.path-heading h2{font-size:13px;font-weight:600;color:#334155}.path-card{background:#fff;border-color:#d9e0eb;border-radius:10px;box-shadow:0 2px 6px #17203303}.path-card:hover,.path-card.active{background:#f0eeff;border-color:#8178ef}.path-card strong{color:#26324b;font-size:12px;font-weight:650}.path-card p{color:#526078;font-size:11px}.path-card span,.path-progress small{color:#65728a;font-size:10px}
meter,meter::-webkit-meter-bar{background:#e4e8f0}meter::-webkit-meter-optimum-value{background:#6255e7}meter::-moz-meter-bar{background:#6255e7}
.section-heading h2{color:#172033;font-size:19px}.section-heading p,.progress-label{color:#526078}.tiny-label,.mini-label{color:#5146e5}.tag-list button{color:#526078;font-size:11px}.tag-list button.active{background:#5146e5;color:#fff}.tag-list button:hover:not(.active){background:#e8ecf4;color:#26324b}.difficulty-list{border-color:#d9e0eb}.difficulty-list button{color:#526078}.difficulty-list button.active{background:#e8e5ff;color:#4338ca;font-weight:650}
.table-head{color:#526078;border-color:#d9e0eb}.problem-row{border-color:#e0e5ee}.problem-row:hover{background:#eeeffb}.problem-main h3{color:#172033;font-size:14px;font-weight:600}.problem-main p{color:#526078}.problem-index{color:#65728a}.problem-index.done,.problem-state.done{color:#087958}.problem-state,.row-arrow{color:#526078}.difficulty.easy{color:#08734e;background:#dff3e8}.difficulty.medium{color:#92520a;background:#fff0cd}.difficulty.hard{color:#b12451;background:#ffe2eb}.difficulty{font-weight:600}
.library-footer,.pagination{color:#526078}.library-pagination button,.pagination button{border-color:#cdd5e3;color:#334155;background:#fff}.library-pagination button:hover:not(:disabled),.pagination button:hover:not(:disabled){background:#e8e5ff;border-color:#8178ef;color:#4338ca}.library-pagination button:disabled,.pagination button:disabled{color:#748095;opacity:.55}.bottom-message{background:#ecebfa;color:#4b438c;border-radius:10px}.bottom-message svg{color:#5146e5}footer{color:#65728a;border-color:#dce2eb}
.primary,.dataset-card .primary{background:#5146e5;color:#fff;font-weight:600;box-shadow:0 3px 9px #5146e526}.primary:hover,.dataset-card .primary:hover{background:#4338ca}.primary kbd{color:#fff;background:#ffffff24}.text-button{color:#5146e5}.caption{color:#64748b}.notice{color:#92400e;background:#fff5db;border-color:#f1cc7a}
.panel{border-color:#d9e0eb;box-shadow:0 3px 16px #17203305}.panel-header{background:#f8f9fc;border-color:#e0e5ee}.panel-header h2{color:#26324b;font-weight:650;font-size:12px}.panel-header>span,.file-title{color:#526078}.panel-header select{border-color:#cdd5e3;color:#334155;font-size:10px}
.problem-body h1{color:#172033}.problem-body p{color:#334155;font-size:13px}.problem-body h3{color:#26324b}.problem-body .tags span{background:#eeecff;color:#5146e5}.problem-body .constraints{color:#4338ca;background:#eeecff;border-color:#8178ef}.problem-body pre{background:#f0f3f9;color:#27364d;border-color:#dce2eb}
.code-stack pre{color:#26324b}.code-stack textarea{color:transparent;-webkit-text-fill-color:transparent;caret-color:#4338ca}.code-stack textarea::selection{background:#a5b4fc55}.tok-keyword{color:#6d28d9}.tok-string{color:#087958}.tok-number{color:#b45309}.tok-comment{color:#64748b}.run-area p{color:#526078}
.coach-launch{background:linear-gradient(#eeecff,#fff)}.coach-avatar{background:#5146e5;color:#fff;border-color:#5146e5}.coach-launch strong{color:#312e81;font-size:13px}.coach-launch p{color:#526078;font-size:10px}.coach-actions button{background:#eeecff;border-color:#d4cef7;color:#4338ca;font-size:11px;font-weight:550}.coach-actions button:hover{background:#e0dbff}.coach-question{border-color:#cdd5e3}.coach-question input{color:#26324b;font-size:11px}.coach-question input::placeholder{color:#65728a}.coach-question button{background:#5146e5;color:#fff}.lesson{background:#f2f1ff;border-color:#d9d3fb}.lesson>#lesson-label{color:#5146e5}.lesson>#lesson-content{color:#334155;font-size:12px}.lesson small{color:#64748b}.result-panel .result-content,.hint-section{border-color:#e0e5ee}
.verdict-title{color:#172033}.verdict-desc{color:#526078}.hint-heading h3{color:#334155;font-weight:600}.hint-heading>span{color:#64748b}.hint-tabs button{color:#526078;border-color:#d9e0eb}.hint-tabs button.active{background:#5146e5;color:#fff;border-color:#5146e5}.hint-text{color:#334155;background:#f5f6fb;border-color:#dce2eb;font-size:12px}.empty-state h3{color:#334155}.empty-state p{color:#65728a}.counter pre{color:#26324b}.counter h3{color:#4338ca}
.stat-card,.insight-card,.history-board,.dataset-card,.dataset-detail{border-color:#d9e0eb;box-shadow:0 3px 12px #17203304}.stat-card>span,.stat-card p{color:#526078;font-size:11px}.stat-card strong{color:#172033;font-weight:650}.stat-card strong small{color:#526078}.scope-badge{background:#e9edf5;color:#526078;border-color:#d9e0eb}.insight-heading h2,.history-heading h2{color:#26324b;font-weight:650}.insight-heading>span,.chart-legend{color:#526078}.heat-0{background:#e9edf5;color:#526078}.heat-1{background:#d1d0ff;color:#3730a3}.heat-2{background:#a59af4;color:#312e81}.heat-3{background:#5146e5;color:#fff}.topic-row>span,.topic-row small{color:#526078}.segmented{background:#edf0f6}.segmented button{color:#526078}.segmented button.active{background:#5146e5;color:#fff}.history-search,.history-filters select{border-color:#cdd5e3}.history-search input,.history-filters select{color:#334155}.history-search input::placeholder{color:#65728a}.history-item-main strong{color:#26324b;font-size:12px}.history-item-main small,.history-case-count,.history-open{color:#526078}.history-result-icon,.outcome-pill{color:#6d28d9;background:#eee5ff}.history-result-icon.passed,.outcome-pill.passed{color:#08734e;background:#dff3e8}.outcome-pill.running{color:#4338ca;background:#e8e5ff}.outcome-pill.error{color:#b45309;background:#fff0cd}

.dataset-monogram{background:#e8e5ff;color:#5146e5}.dataset-status{background:#dff3e8;color:#08734e}.dataset-card h2{color:#172033;font-weight:650}.dataset-card>p:not(.caption),.dataset-numbers>span,.dataset-meta{color:#526078}.dataset-numbers strong{color:#26324b;font-weight:650}.dataset-card .secondary{background:#f3f5fa;color:#334155;border-color:#cdd5e3}.dataset-detail table{color:#334155}.dataset-detail th{background:#edf0f6;color:#334155;font-weight:600}.dataset-detail th,.dataset-detail td{border-color:#e0e5ee}.class-counts span{background:#eeecff;color:#4338ca}.class-counts b{color:#312e81}.dataset-usage h3{color:#26324b}.dataset-usage p,.image-samples figcaption{color:#526078}.dataset-usage a{color:#5146e5}
.login-view{background:#f5f7fb}.login-card h1 span{color:#5146e5}.login-card>p,.login-card label,.login-foot{color:#526078}.login-card input{border-color:#cdd5e3;color:#172033}.login-card input::placeholder{color:#65728a}.login-orbit{background:radial-gradient(ellipse at 50% 45%,#c7c3fa,#e3e4fc 60%,#edf0fa)}
@media(max-width:680px){.hero h1{font-size:30px}.hero>p{font-size:12px}.zone-card h2{font-size:14px}.zone-card p{font-size:11px}.path-card p{font-size:11px}.tag-list button{font-size:10px}.problem-main h3{font-size:12px}.history-item-main strong{font-size:11px}.top-actions #model-toggle{font-size:9px}}

/* Search results stay beside the query instead of below the discovery sections. */
.search-shell #submit-search{background:#5146e5;color:#fff;border-radius:8px;padding:8px 16px;font-size:12px;font-weight:600;flex-shrink:0}.search-shell #submit-search:hover{background:#4338ca}.search-shell #clear-search{flex-shrink:0;padding:4px 8px;color:#526078;background:#edf0f6}.search-shell input::-webkit-search-cancel-button{display:none}
#search-status{font-size:12px;color:#4338ca;margin:12px 0 0;overflow-wrap:anywhere}.searching>.zones,.searching>.path-section{display:none}.searching .hero{margin-top:16px;margin-bottom:24px}.searching .hero-eyebrow{display:none}.searching .hero h1{font-size:28px}.searching .hero>p:not(#search-status){margin:6px 0 18px}.searching .library{scroll-margin-top:24px}.searching .suggestions{margin-top:10px}
@media(max-width:680px){.search-shell{gap:7px;padding:10px}.search-shell #submit-search{padding:7px 11px;font-size:11px}.searching .hero h1{font-size:25px}.searching .library{scroll-margin-top:78px}.searching .hero{margin-top:12px}.search-shell kbd{display:none}}
/* Personalized practice studio. */
.custom-home-entry{display:flex;align-items:center;justify-content:center;gap:12px;margin:-18px 0 28px;font-size:12px;color:#526078}.searching>.custom-home-entry{display:none}.custom-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:32px;align-items:start}.custom-form,.custom-preview{background:white;border:1px solid #d9e0eb;border-radius:14px;padding:25px;min-width:0}.custom-form>label{display:block;font-weight:650;margin-bottom:12px;color:#26324b}.custom-form textarea{width:100%;resize:vertical;min-height:150px;max-height:450px;border:1px solid #cdd5e3;border-radius:9px;padding:13px;color:#26324b;background:#f8f9fd;font-size:13px;line-height:1.8}.custom-form textarea::placeholder{color:#65728a}.custom-examples{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 20px}.custom-examples button{background:#eeecff;color:#4338ca;border-radius:6px;padding:6px 9px;font-size:11px}.custom-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.custom-controls label{font-size:12px;color:#526078}.custom-controls select{width:100%;display:block;margin-top:7px;border:1px solid #cdd5e3;border-radius:7px;padding:9px;color:#26324b;background:#fff}.custom-form .primary{width:100%;margin-bottom:14px}.custom-form .caption{font-size:11px;line-height:1.9}.custom-status{margin-top:14px;color:#4338ca;background:#f0eeff;border-radius:8px;padding:12px;font-size:12px;white-space:pre-wrap}.custom-empty{padding:30px 0;line-height:2.2}.custom-empty>svg{width:40px;height:40px;color:#5146e5;margin-bottom:18px}.custom-empty h2{font-size:20px;margin-bottom:15px}.custom-empty p{color:#526078;font-size:13px}.custom-empty small{display:block;color:#64748b;margin-top:24px;font-size:11px}.custom-success{font-size:11px;color:#087958;background:#dff3e8;padding:5px 9px;border-radius:6px}.custom-preview h2{margin:18px 0 10px;font-size:22px}.custom-preview h3{font-size:12px;margin:15px 0 6px}.custom-preview p{font-size:12px;line-height:1.9;color:#334155}.custom-preview .tags{display:flex;gap:8px;font-size:11px;color:#5146e5}.custom-preview .custom-request{margin:16px 0;color:#64748b}.custom-statement,.problem-body>p{white-space:pre-line}.custom-samples{display:grid;grid-template-columns:1fr 1fr;gap:12px}.custom-samples pre{background:#f0f3f9;padding:12px;border-radius:7px;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.custom-basis{background:#eeecff;color:#4338ca!important;border-radius:7px;padding:10px;font-size:11px!important;line-height:1.8;margin:12px 0}.custom-preview .primary{margin-top:18px;width:100%}.custom-saved-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.custom-saved-heading h2{font-size:18px}.custom-saved-heading>span{font-size:11px;color:#64748b}.custom-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.custom-saved{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;border:1px solid #d9e0eb;border-radius:10px;background:#fff;padding:16px}.custom-saved:hover{border-color:#8178ef}.custom-saved p{color:#64748b;font-size:11px;margin-top:5px}.custom-saved>span{color:#5146e5;white-space:nowrap;font-size:11px}
@media(max-width:1000px){.custom-layout{grid-template-columns:1fr}.custom-empty{padding:6px 0}.custom-list{grid-template-columns:1fr}}
@media(max-width:680px){.sidebar #nav-custom{display:flex;width:32px;padding:7px;margin:0;font-size:0;flex-shrink:0}.sidebar{gap:3px}.sidebar .brand{font-size:16px}.custom-form,.custom-preview{padding:18px}.custom-home-entry{flex-direction:column;gap:2px;margin:0 0 20px;font-size:11px}.custom-controls{grid-template-columns:1fr}.custom-samples{grid-template-columns:1fr}.custom-saved{padding:13px}.custom-saved strong{font-size:12px}}
