#nprogress{pointer-events:none}#nprogress .bar{z-index:1031;background:#29d;width:100%;height:2px;position:fixed;top:0;left:0}#nprogress .peg{opacity:1;width:100px;height:100%;display:block;position:absolute;right:0;transform:rotate(3deg)translateY(-4px);box-shadow:0 0 10px #29d,0 0 5px #29d}#nprogress .spinner{z-index:1031;display:block;position:fixed;top:15px;right:15px}#nprogress .spinner-icon{box-sizing:border-box;border:2px solid #0000;border-color:#29d #0000 #0000 #29d;border-radius:50%;width:18px;height:18px;animation:.4s linear infinite nprogress-spinner}.nprogress-custom-parent{position:relative;overflow:hidden}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0)}to{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}html,body{width:100%;height:100%}input::-ms-clear{display:none}input::-ms-reveal{display:none}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:#0000;font-family:sans-serif;line-height:1.15}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:0;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit;margin-bottom:1em}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{text-align:left;caption-side:bottom;padding-top:.75em;padding-bottom:.3em}input,button,select,optgroup,textarea{color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner{border-style:none;padding:0}[type=reset]::-moz-focus-inner{border-style:none;padding:0}[type=submit]::-moz-focus-inner{border-style:none;padding:0}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{resize:vertical;overflow:auto}fieldset{border:0;min-width:0;margin:0;padding:0}legend{width:100%;max-width:100%;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal;margin-bottom:.5em;padding:0;display:block}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button{height:auto}[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}*{scrollbar-width:thin;scrollbar-color:#64748b3d transparent}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#64748b3d padding-box content-box;border:2px solid #0000;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#64748b66 padding-box content-box}html[data-theme=dark] *{scrollbar-color:#cbd5e14d transparent}html[data-theme=dark] ::-webkit-scrollbar-thumb{background:#cbd5e14d padding-box content-box}html[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:#e2e8f07a padding-box content-box}::-webkit-scrollbar-corner{background:0 0}#nprogress .bar{background:#595959!important}#nprogress .peg{box-shadow:0 0 10px #595959,0 0 5px #595959!important}#nprogress .spinner-icon{border-top-color:#595959!important;border-left-color:#595959!important}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--cuser-page-bg:#fbfcfd;--cuser-header-bg:#fff;--cuser-border-color:#f0f0f0;--cuser-stripe-bg:#fafafa}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--cuser-page-bg:#16171a;--cuser-header-bg:#18181b;--cuser-border-color:#3f3f46;--cuser-stripe-bg:#202023}html,body,#root{min-height:100%}body{background:var(--cuser-page-bg);margin:0}button{font:inherit}button:not(:disabled),a[href],[role=button]:not([aria-disabled=true]),.ant-menu-item,.ant-segmented-item,.ant-select-selector,.ant-checkbox-wrapper,.ant-radio-wrapper,.ant-table-row{cursor:pointer}button:disabled,[aria-disabled=true],.ant-btn-disabled,.ant-menu-item-disabled{cursor:not-allowed}input,textarea,[contenteditable=true],.ace_text-input{cursor:text}.cuser-layout{min-height:100vh}.cuser-layout-detail{height:100vh;overflow:hidden}.cuser-header{background:var(--cuser-header-bg);border-bottom:1px solid var(--cuser-border-color);justify-content:space-between;align-items:center;height:56px;padding:0 24px;line-height:56px;display:flex}.cuser-brand{color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0;font-size:18px;font-weight:600;display:inline-flex}.cuser-brand-logo{object-fit:contain;width:30px;height:30px}.cuser-header-start{align-items:center;gap:24px;display:flex}.cuser-content{flex:1;min-height:0}.cuser-layout-detail .cuser-content{overflow:hidden}.cuser-footer{text-align:center;padding:24px}.problemset-page{width:100%;margin:0;padding:24px 24px 48px 0}.question-detail-layout{grid-template-columns:var(--question-navigation-width) minmax(0, 1fr) 280px;background:var(--cuser-page-bg);grid-template-rows:auto minmax(0,1fr);width:100%;height:calc(100vh - 56px);min-height:0;padding:0 24px 0 0;display:grid;overflow:hidden}.question-detail-page{box-sizing:border-box;width:100%;height:100%;min-height:0;padding:0;overflow-y:auto}.question-detail-page-workbench{flex-direction:column;display:flex;position:relative;overflow:hidden}.question-detail-loading{width:100%;height:100%;min-height:320px;display:flex}.question-detail-skeleton-card{width:100%;height:100%}.question-detail-skeleton-tags{margin-bottom:20px}.question-detail-toolbar{grid-area:1/2;justify-content:space-between;align-items:center;gap:16px;width:min(100%,1400px);margin:0 auto;padding:32px 0 16px;display:flex}.question-detail-workspace{box-sizing:border-box;grid-area:2/2;width:min(100%,1400px);min-height:0;margin:0 auto;padding:16px 0}.question-navigation-sider{border-right:1px solid var(--cuser-border-color);grid-row:1/-1;height:calc(100vh - 56px);top:56px;position:sticky!important;overflow:visible!important}.question-navigation-heading{gap:4px;padding:12px 16px;display:grid}.question-navigation-list{height:calc(100vh - 164px);overflow-y:auto}.question-navigation-loading{color:var(--ant-color-text-secondary);justify-content:center;gap:8px;padding:16px;font-size:13px;display:flex}.question-navigation-question-active{color:#262626;font-weight:700}.question-navigation-question{justify-content:space-between;align-items:center;gap:8px;display:flex}.question-navigation-question-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.question-navigation-resizer{cursor:col-resize;-webkit-user-select:none;user-select:none;touch-action:none;width:10px;height:100%;position:absolute;top:0;right:-5px}.question-navigation-resizer:after{content:"";background:var(--cuser-border-color);border-radius:999px;width:2px;height:40px;transition:background .2s;position:absolute;top:50%;left:4px;transform:translateY(-50%)}.question-navigation-resizer:hover:after{background:#52525b}.question-navigation-edge-trigger{z-index:20;border-radius:0 10px 10px 0;width:32px;height:72px;animation:2s ease-in-out infinite question-navigation-breathe;position:fixed;top:50%;left:0;transform:translateY(-50%)}@keyframes question-navigation-breathe{0%,to{box-shadow:0 0 #52525b29}50%{box-shadow:0 0 0 8px #52525b00}}:root[data-theme=dark] .question-navigation-question-active{color:#f4f4f5}.problemset-page{grid-template-columns:220px minmax(0,1fr) 240px;gap:32px;display:grid}.resource-sidebar{border-right:1px solid var(--cuser-border-color);align-self:start;padding:0 16px;position:sticky;top:24px}.problemset-content{justify-self:center;width:min(100%,1300px)}.problemset-skeleton{gap:24px;display:grid}.problemset-skeleton-promotion{width:100%;height:166px}.problemset-skeleton-modules{min-height:40px}.problemset-skeleton-module{width:104px}.problemset-skeleton-toolbar{border-bottom:1px solid var(--cuser-border-color);justify-content:space-between;align-items:center;gap:16px;padding-bottom:16px;display:flex}.problemset-skeleton-toolbar .ant-skeleton-input{width:220px}.problemset-skeleton-questions .ant-skeleton-paragraph{gap:0;display:grid}.problemset-skeleton-questions .ant-skeleton-paragraph>li{border-radius:0;height:54px;margin:0;width:100%!important}.learning-aside{align-self:start;position:sticky;top:24px}.learning-panel{gap:16px;display:grid}.problemset-aside-edge-trigger{display:none}.learning-month-label{text-align:center;min-width:80px;display:inline-block}.learning-heatmap{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.learning-heatmap-cell,.learning-heatmap-blank{aspect-ratio:1;place-items:center;min-width:0;display:grid}.learning-heatmap-cell{border-radius:2px;font-size:12px}.learning-heatmap-level-0{background:var(--cuser-stripe-bg)}.learning-heatmap-level-1{background:#d9f7be}.learning-heatmap-level-2{background:#95de64}.learning-heatmap-level-3{color:#fff;background:#52c41a}.learning-heatmap-level-4{color:#fff;background:#237804}.learning-heatmap-legend{justify-content:flex-end;margin-top:12px;display:flex}.learning-heatmap-legend .learning-heatmap-cell{width:12px;min-width:12px}:root[data-theme=dark] .learning-heatmap-level-1{background:#135200}:root[data-theme=dark] .learning-heatmap-level-2{background:#389e0d}:root[data-theme=dark] .learning-heatmap-level-3{background:#52c41a}.resource-sidebar h4{margin-top:0}.pinned-resource-login{margin:8px 0 16px}.pinned-resource-content{margin-top:8px;display:block}.resource-package-heading{margin:20px 0 8px;display:block}.resource-menu-label{justify-content:space-between;align-items:center;font-weight:600;display:flex}.resource-menu-pin{opacity:0;pointer-events:none;transition:opacity .2s}.resource-menu-label:hover .resource-menu-pin,.resource-menu-pin-pinned,.resource-menu-pin:focus-visible{opacity:1;pointer-events:auto}@media (hover:none){.resource-menu-pin{opacity:1;pointer-events:auto}}.problemset-heading{margin-bottom:20px}.promotion-strip{margin-bottom:24px;position:relative}.promotion-strip-track{scroll-behavior:smooth;scrollbar-width:none;gap:16px;width:100%;display:flex;overflow-x:auto}.promotion-strip-track::-webkit-scrollbar{display:none}.promotion-strip-image{aspect-ratio:2.1;object-fit:cover;border-radius:14px;width:100%;height:auto;display:block}.promotion-strip-link{aspect-ratio:2.1;cursor:pointer;background:0 0;border:0;flex:1 0 calc(25% - 12px);min-width:220px;max-width:calc(25% - 12px);padding:0;display:block;position:relative;overflow:hidden}.promotion-strip-skeleton{position:absolute;inset:0}.promotion-strip-image{opacity:0;transition:opacity .2s}.promotion-strip-image-loaded{opacity:1}.promotion-strip-arrow{z-index:1;opacity:0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff52;border-color:#ffffff7a;transition:background .2s,opacity .2s;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 2px 10px #0000001f}.promotion-strip:hover .promotion-strip-arrow{opacity:1}.promotion-strip-arrow:hover{background:#ffffff80}.promotion-strip-arrow-left{left:12px}.promotion-strip-arrow-right{right:12px}.problemset-heading h2{margin:0 0 8px}.module-filter{margin-bottom:24px}.problemset-toolbar{justify-content:space-between;align-items:center;gap:16px;margin:0 0 8px;display:flex}.problemset-search{border-width:2px;border-radius:10px;width:320px;max-width:100%}.problemset-difficulty-filter{width:120px}.problemset-table .cuser-question-row-even>td{background:var(--cuser-stripe-bg)}.problemset-table{border-radius:0}.problemset-table .ant-table{background:0 0}.problemset-table .ant-table-container table{border-spacing:0 6px}.problemset-table .ant-table-tbody>tr>td{background:var(--ant-color-bg-container);border-bottom:0}.problemset-table .ant-table-tbody>.cuser-question-row-even>td{background:var(--cuser-stripe-bg)}.problemset-table .ant-table-tbody>tr>td:first-child{border-radius:6px 0 0 6px}.problemset-table .ant-table-tbody>tr>td:last-child{border-radius:0 6px 6px 0}.question-load-more{justify-content:center;gap:8px;padding:20px 0;display:flex}.program-case{margin-top:16px}.question-detail-card{margin:0}.question-content-tags{margin-bottom:16px}.question-content-title{margin:0 0 16px!important}.question-workbench-splitter{border:1px solid var(--ant-color-border-secondary);border-radius:var(--ant-border-radius-lg);flex:1;min-height:0;margin-top:0;overflow:hidden}.program-question-expand-trigger{z-index:4;border-radius:0 10px 10px 0;width:32px;height:72px;padding:0;animation:2s ease-in-out infinite question-navigation-breathe;position:absolute;top:50%;left:0;transform:translateY(-50%)}.question-content-pane,.question-answer-pane{border-radius:var(--ant-border-radius-lg);border:0;height:100%;overflow:hidden}.question-workbench-splitter.ant-splitter-horizontal>.ant-splitter-panel:first-child .question-content-pane{border-radius:var(--ant-border-radius-lg) 0 0 var(--ant-border-radius-lg)}.question-workbench-splitter.ant-splitter-horizontal>.ant-splitter-panel:last-child .question-answer-pane{border-radius:0 var(--ant-border-radius-lg) var(--ant-border-radius-lg) 0}.question-workbench-splitter.ant-splitter-vertical>.ant-splitter-panel:first-child .question-content-pane{border-radius:var(--ant-border-radius-lg) var(--ant-border-radius-lg) 0 0}.question-workbench-splitter.ant-splitter-vertical>.ant-splitter-panel:last-child .question-answer-pane{border-radius:0 0 var(--ant-border-radius-lg) var(--ant-border-radius-lg)}.question-content-pane .ant-card-body,.question-answer-pane .ant-card-body{box-sizing:border-box;height:100%;overflow-y:auto}.question-answer-pane .question-answer-panel{margin-top:0}.program-exam-editor,.submission-code{font-family:Consolas,Courier New,monospace;line-height:1.6}.question-submission-card{width:100%}.question-submission-aside{box-sizing:border-box;grid-area:2/3;align-items:flex-start;height:100%;padding:16px 0 0 8px;display:flex;overflow-y:auto}.question-submission-history{min-height:80px;max-height:min(480px,100vh - 220px);overflow-y:auto}.question-submission-item{cursor:pointer;justify-content:flex-start}.question-submission-loading{justify-content:center;gap:8px;padding:12px 0;display:flex}.question-description,.program-case pre{white-space:pre-wrap}.question-description,.question-options,.question-answer-panel{font-size:16px;line-height:1.8}.program-case-output{gap:8px;display:grid}.program-case-output+.program-case-output{margin-top:16px}.program-case-output pre{margin:0}.question-options{margin:24px 0}.question-option{gap:8px;padding:12px 0;display:flex}.question-answer-bar{justify-content:space-between;align-items:center;gap:16px;margin-top:24px;display:flex}.question-answer-panel{gap:16px;margin-top:32px;display:grid}.question-answer-panel h4{margin:0}.question-answer-result{overscroll-behavior:contain;max-height:min(360px,45vh);margin-top:8px;padding-right:4px;overflow-y:auto}.question-error-log{gap:4px;display:grid}.question-error-log .ant-typography{margin-bottom:0;line-height:1.6}.question-error-log-collapsed{max-height:12.8em;overflow:hidden}.question-program-judging{min-height:96px}.page-empty{place-items:center;min-height:50vh;display:grid}.auth-page{place-items:center;min-height:100vh;padding:24px;display:grid}.forgot-password-page{align-content:center;justify-items:center;min-height:100vh;padding:24px;display:grid}.forgot-password-page>.ant-btn{position:fixed;top:24px;left:24px}.forgot-password-card{width:min(100%,520px)}.forgot-password-form{margin-top:32px}.auth-back{cursor:pointer;background:0 0;border:0;padding:8px;position:fixed;top:24px;left:24px}.auth-card{width:min(100%,420px)}.auth-brand-logo{object-fit:contain;width:42px;height:42px}.captcha-field{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.captcha-image{cursor:pointer;background:0 0;border:0;width:120px;height:40px;padding:0;overflow:hidden}.captcha-image img{width:100%;height:100%;display:block}.auth-switch{text-align:center;margin-top:20px}@media (width<=640px){.cuser-header{padding:0 16px}.problemset-page,.question-detail-layout{grid-template-columns:var(--question-navigation-width) minmax(0, 1fr);width:100%;padding:16px}.question-detail-page{padding-top:16px}.question-detail-page-workbench{display:block;overflow-y:auto}.question-navigation-sider{z-index:10;position:fixed!important}.question-submission-aside{display:none}.question-workbench-splitter{flex:none;height:auto;overflow:visible}.question-content-pane,.question-answer-pane,.question-content-pane .ant-card-body,.question-answer-pane .ant-card-body{height:auto;overflow:visible}.problemset-page{grid-template-columns:1fr;gap:20px;width:100%;padding:16px}.problemset-content{width:100%}.resource-sidebar,.learning-aside{position:static}.problemset-toolbar{flex-direction:column;align-items:stretch}.problemset-search{width:100%}.promotion-strip-link{flex-basis:min(78vw,320px);min-width:min(78vw,320px);max-width:min(78vw,320px)}.promotion-strip-arrow-left{left:8px}.promotion-strip-arrow-right{right:8px}.learning-section-heading,.question-answer-bar{flex-direction:column;align-items:stretch}.captcha-field{grid-template-columns:1fr}}@media (width<=1700px){.problemset-page{grid-template-columns:minmax(0,1fr);padding-left:24px}.resource-sidebar,.learning-aside{display:none}.problemset-aside-edge-trigger{z-index:20;width:32px;height:72px;animation:2s ease-in-out infinite question-navigation-breathe;display:inline-flex;position:fixed;top:50%;transform:translateY(-50%)}.problemset-resource-edge-trigger{border-radius:0 10px 10px 0;left:0}.problemset-learning-edge-trigger{border-radius:10px 0 0 10px;right:0}}.content-protected{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
