code[class*=language-],pre[class*=language-]{color:#ccc;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;tab-size:4;-webkit-hyphens:none;hyphens:none;background:0 0;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;line-height:1.5}pre[class*=language-]{margin:.5em 0;padding:1em;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2d2d2d}:not(pre)>code[class*=language-]{white-space:normal;border-radius:.3em;padding:.1em}.token.comment,.token.block-comment,.token.prolog,.token.doctype,.token.cdata{color:#999}.token.punctuation{color:#ccc}.token.tag,.token.attr-name,.token.namespace,.token.deleted{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.number,.token.function{color:#f08d49}.token.property,.token.class-name,.token.constant,.token.symbol{color:#f8c555}.token.selector,.token.important,.token.atrule,.token.keyword,.token.builtin{color:#cc99cd}.token.string,.token.char,.token.attr-value,.token.regex,.token.variable{color:#7ec699}.token.operator,.token.entity,.token.url{color:#67cdcc}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}
.problem-module__UoYCfa__page{background:var(--bg);grid-template-columns:minmax(360px,.95fr) minmax(420px,1.05fr);gap:10px;min-height:calc(100vh - 57px);padding:10px;display:grid}.problem-module__UoYCfa__panel{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);overflow:hidden}.problem-module__UoYCfa__leftPanel{flex-direction:column;min-height:0;display:flex}.problem-module__UoYCfa__tabs{border-bottom:1px solid var(--border);background:var(--surface);gap:4px;padding:8px 10px;display:flex}.problem-module__UoYCfa__tab{border-radius:var(--radius-md);height:32px;color:var(--text-secondary);cursor:pointer;font-family:var(--font-sans);background:0 0;border:1px solid #0000;padding:0 12px;font-size:.8125rem}.problem-module__UoYCfa__tab:hover{color:var(--text-primary);background:var(--surface-raised)}.problem-module__UoYCfa__tabActive{color:var(--text-primary);background:var(--bg);border-color:var(--border)}.problem-module__UoYCfa__content{padding:24px;overflow:auto}.problem-module__UoYCfa__backLink{color:var(--text-muted);margin-bottom:18px;font-size:.8125rem;text-decoration:none;display:inline-flex}.problem-module__UoYCfa__backLink:hover{color:var(--text-primary)}.problem-module__UoYCfa__titleRow{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:12px;display:flex}.problem-module__UoYCfa__title{color:var(--text-primary);font-size:1.65rem;font-weight:760;line-height:1.2}.problem-module__UoYCfa__problemNumber{color:var(--accent);font-family:var(--font-mono);letter-spacing:0;margin-bottom:6px;font-size:.82rem;font-weight:850}.problem-module__UoYCfa__badges{flex-wrap:wrap;gap:6px;margin-bottom:18px;display:flex}.problem-module__UoYCfa__badge,.problem-module__UoYCfa__difficulty{border-radius:999px;align-items:center;min-height:24px;padding:2px 8px;font-size:.72rem;font-weight:700;display:inline-flex}.problem-module__UoYCfa__badge{color:var(--text-secondary);background:var(--bg);border:1px solid var(--border)}.problem-module__UoYCfa__easy{color:var(--success);background:var(--success-dim)}.problem-module__UoYCfa__medium{color:var(--warning);background:var(--warning-dim)}.problem-module__UoYCfa__hard{color:var(--error);background:var(--error-dim)}.problem-module__UoYCfa__section{margin-bottom:26px}.problem-module__UoYCfa__sectionTitle{color:var(--text-primary);margin-bottom:10px;font-size:1rem;font-weight:730}.problem-module__UoYCfa__paragraph,.problem-module__UoYCfa__list,.problem-module__UoYCfa__exampleExplanation{color:var(--text-secondary);font-size:.925rem;line-height:1.65}.problem-module__UoYCfa__list{padding-left:18px}.problem-module__UoYCfa__list li+li{margin-top:6px}.problem-module__UoYCfa__example,.problem-module__UoYCfa__testcase,.problem-module__UoYCfa__noteBox{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg);padding:14px}.problem-module__UoYCfa__example+.problem-module__UoYCfa__example,.problem-module__UoYCfa__testcase+.problem-module__UoYCfa__testcase{margin-top:10px}.problem-module__UoYCfa__exampleLabel,.problem-module__UoYCfa__testLabel{color:var(--text-primary);margin-bottom:8px;font-size:.8125rem;font-weight:700}.problem-module__UoYCfa__ioBlock{gap:8px;display:grid}.problem-module__UoYCfa__ioRow{grid-template-columns:74px minmax(0,1fr);align-items:start;gap:10px;display:grid}.problem-module__UoYCfa__ioLabel{color:var(--text-muted);font-family:var(--font-mono);text-transform:uppercase;font-size:.72rem;font-weight:700}.problem-module__UoYCfa__codeInline,.problem-module__UoYCfa__pre{font-family:var(--font-mono)}.problem-module__UoYCfa__codeInline{color:var(--text-primary);overflow-wrap:anywhere}.problem-module__UoYCfa__outputBlock{border:1px solid var(--border);border-radius:var(--radius-md);color:#f4f4f5;font-family:var(--font-mono);white-space:pre;background:#111113;margin:0;padding:10px 12px;font-size:.85rem;font-weight:650;line-height:1.6;overflow:auto}.problem-module__UoYCfa__pre{border:1px solid var(--border);border-radius:var(--radius-md);color:#d4d4d8;white-space:pre-wrap;background:#111113;margin:0;padding:14px;font-size:.8125rem;line-height:1.65;overflow:auto}.problem-module__UoYCfa__referenceCode code{color:#d4d4d8}.problem-module__UoYCfa__referenceCode .token.comment{color:#7c7c86}.problem-module__UoYCfa__referenceCode .token.keyword{color:#ff7b72}.problem-module__UoYCfa__referenceCode .token.function{color:#d2a8ff}.problem-module__UoYCfa__referenceCode .token.string{color:#a5d6ff}:is(.problem-module__UoYCfa__referenceCode .token.number,.problem-module__UoYCfa__referenceCode .token.boolean){color:#79c0ff}:is(.problem-module__UoYCfa__referenceCode .token.operator,.problem-module__UoYCfa__referenceCode .token.punctuation){color:#c9d1d9}[data-theme=light] .problem-module__UoYCfa__pre{color:#f4f4f5;background:#18181b}.problem-module__UoYCfa__rightPanel{grid-template-rows:auto minmax(320px,1fr) auto;min-height:0;display:grid}.problem-module__UoYCfa__editorHeader,.problem-module__UoYCfa__testsHeader{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.problem-module__UoYCfa__editorTitle,.problem-module__UoYCfa__testsTitle{color:var(--text-primary);font-size:.875rem;font-weight:730}.problem-module__UoYCfa__language{color:var(--text-muted);font-family:var(--font-mono);font-size:.75rem}.problem-module__UoYCfa__editorArea{background:#111113;min-height:0;display:grid;overflow:auto}.problem-module__UoYCfa__editor{color:#d4d4d8;background:#111113;width:100%;min-height:100%}.problem-module__UoYCfa__editor .token.comment{color:#7c7c86}.problem-module__UoYCfa__editor .token.keyword{color:#ff7b72}.problem-module__UoYCfa__editor .token.function{color:#d2a8ff}.problem-module__UoYCfa__editor .token.string{color:#a5d6ff}:is(.problem-module__UoYCfa__editor .token.number,.problem-module__UoYCfa__editor .token.boolean){color:#79c0ff}:is(.problem-module__UoYCfa__editor .token.operator,.problem-module__UoYCfa__editor .token.punctuation){color:#c9d1d9}.problem-module__UoYCfa__editorTextarea{caret-color:#fafafa;outline:none!important}.problem-module__UoYCfa__reasoningPrompt{color:#d4d4d8;font-family:var(--font-mono);white-space:pre-wrap;margin:0;padding:16px;font-size:.8125rem;line-height:1.65}[data-theme=light] .problem-module__UoYCfa__editorArea,[data-theme=light] .problem-module__UoYCfa__editor,[data-theme=light] .problem-module__UoYCfa__reasoningPrompt{color:#f4f4f5;background:#18181b}.problem-module__UoYCfa__actions{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px;padding:12px 14px;display:flex}.problem-module__UoYCfa__button,.problem-module__UoYCfa__buttonPrimary,.problem-module__UoYCfa__buttonSubmit{border-radius:var(--radius-md);cursor:pointer;height:34px;font-family:var(--font-sans);padding:0 12px;font-size:.8125rem;font-weight:650}.problem-module__UoYCfa__button{border:1px solid var(--border-strong);background:var(--surface);color:var(--text-primary)}.problem-module__UoYCfa__buttonPrimary{background:var(--btn-primary-bg);color:var(--btn-primary-text);border:1px solid #0000}.problem-module__UoYCfa__buttonSubmit{color:var(--success);background:#34d3991f;border:1px solid #34d3996b}.problem-module__UoYCfa__buttonPrimary:disabled,.problem-module__UoYCfa__buttonSubmit:disabled{cursor:not-allowed;opacity:.62}.problem-module__UoYCfa__actionNote{color:var(--text-muted);font-size:.75rem}.problem-module__UoYCfa__testsPanel{border-top:1px solid var(--border)}.problem-module__UoYCfa__testsBody{gap:10px;max-height:320px;padding:14px;display:grid;overflow:auto}.problem-module__UoYCfa__resultBox{border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--bg);gap:8px;padding:14px;display:grid}.problem-module__UoYCfa__resultHeader{justify-content:space-between;align-items:center;gap:10px;display:flex}.problem-module__UoYCfa__statusPill{border-radius:999px;padding:4px 8px;font-size:.68rem;font-weight:850}.problem-module__UoYCfa__statusAccepted{color:var(--success);background:var(--success-dim)}.problem-module__UoYCfa__statusRejected{color:var(--error);background:var(--error-dim)}.problem-module__UoYCfa__resultCard{border-top:1px solid var(--border);color:var(--text-secondary);gap:12px;padding:14px 0 0;display:grid}.problem-module__UoYCfa__resultCardHeader{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.problem-module__UoYCfa__resultCardTitle{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.problem-module__UoYCfa__resultCardTitle span{font-weight:800}.problem-module__UoYCfa__resultCardTitle strong{color:var(--text-primary);font-weight:650}.problem-module__UoYCfa__resultCardTitle em{border:1px dashed var(--border-strong);color:var(--text-muted);text-transform:uppercase;border-radius:999px;padding:2px 5px;font-size:.62rem;font-style:normal;display:inline-flex}.problem-module__UoYCfa__resultStatusText{color:var(--text-muted);font-family:var(--font-mono);letter-spacing:.02em;text-transform:uppercase;flex:none;font-size:.75rem;font-weight:750}.problem-module__UoYCfa__resultDetails{gap:10px;display:grid}.problem-module__UoYCfa__resultDetailBlock{border:1px solid var(--border);border-radius:var(--radius-md);background:color-mix(in srgb,var(--surface)78%,#050505 22%);padding:12px 14px}.problem-module__UoYCfa__resultDetailLabel{color:var(--text-muted);font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;margin-bottom:7px;font-size:.72rem;font-weight:850}.problem-module__UoYCfa__resultDetailValue{max-height:220px;color:var(--text-primary);font-family:var(--font-mono);overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:.9rem;line-height:1.55;overflow:auto}.problem-module__UoYCfa__resultPass .problem-module__UoYCfa__resultCardTitle span{color:var(--success)}.problem-module__UoYCfa__resultFail .problem-module__UoYCfa__resultCardTitle span{color:var(--error)}.problem-module__UoYCfa__testMeta{color:var(--text-muted);font-size:.75rem}.problem-module__UoYCfa__hiddenList{flex-wrap:wrap;gap:6px;display:flex}.problem-module__UoYCfa__hiddenPill{border:1px dashed var(--border-strong);border-radius:var(--radius-md);color:var(--text-muted);padding:4px 8px;font-size:.75rem}.problem-module__UoYCfa__solutionLead{color:var(--text-secondary);margin-bottom:16px;font-size:.925rem;line-height:1.65}.problem-module__UoYCfa__complexityGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 18px;display:grid}.problem-module__UoYCfa__complexityCard{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-2);padding:12px 14px}.problem-module__UoYCfa__complexityLabel{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px;font-size:.7rem;font-weight:800;display:block}.problem-module__UoYCfa__complexityCard strong{color:var(--text-primary);font-family:var(--font-mono);font-size:.95rem}@media (max-width:920px){.problem-module__UoYCfa__page{grid-template-columns:1fr}.problem-module__UoYCfa__rightPanel{min-height:720px}}@media (max-width:640px){.problem-module__UoYCfa__page{padding:0}.problem-module__UoYCfa__panel{border-left:0;border-right:0;border-radius:0}.problem-module__UoYCfa__content{padding:18px 16px}.problem-module__UoYCfa__titleRow{flex-direction:column}.problem-module__UoYCfa__complexityGrid{grid-template-columns:1fr}}
