.cp-gate{color:#e1e8f3;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#13171e}.code-playground{--cp-bg:#13171e;--cp-text:#e1e8f3;--cp-strong:#edf4ff;--cp-border:#2b3442;--cp-chrome:#191f28;--cp-explorer:#161c24;--cp-editor:#1e1e1e;--cp-dock:#151a22;--cp-input:#11161d;--cp-hover:#202a38;--cp-active:#24364a;--cp-active-border:#374c67;--cp-muted:#a3b1c4;--cp-accent:#89bbf7;--cp-grip:#526279;--cp-success:#a0d8bd;--cp-warning:#c3a368;--cp-error:#ffb3ae;--cp-run-bg:#88e1c0;--cp-run-hover:#a5f0d4;--cp-run-text:#102d24;--cp-folder:#d4b57a;--cp-shadow:#080c13a6;--cp-mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;--cq-bg:var(--cp-bg);--cq-head:var(--cp-chrome);--cq-inset:var(--cp-bg);--cq-surface:#1a212c;--cq-border:var(--cp-border);--cq-text:var(--cp-text);--cq-muted:var(--cp-muted);--cq-blue:var(--cp-accent);--cq-green:#6ebf9f;--cq-red:var(--cp-error);background:var(--cp-bg);height:100dvh;min-height:480px;color:var(--cp-text);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;grid-template-rows:47px minmax(0,1fr) auto;display:grid}.code-playground[data-theme=light]{--cp-bg:#edf2f7;--cp-text:#263649;--cp-strong:#152941;--cp-border:#d1dbe6;--cp-chrome:#f5f7fb;--cp-explorer:#f0f4f8;--cp-editor:#fff;--cp-dock:#f9fbfd;--cp-input:#fff;--cp-hover:#e6edf5;--cp-active:#dbe9f9;--cp-active-border:#abc4e1;--cp-muted:#526579;--cp-accent:#245e9f;--cp-grip:#8395a9;--cp-success:#226345;--cp-warning:#8a561e;--cp-error:#a32a27;--cp-run-bg:#21674e;--cp-run-hover:#174e3b;--cp-run-text:#fff;--cp-folder:#8a5b1a;--cp-shadow:#172b462e;--cq-surface:var(--cp-editor);--cq-green:var(--cp-run-bg);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.cp-workbench,.coding-hub,.ch-practice-workspace{--cp-bg:#17191b;--cp-text:#e2e6e4;--cp-strong:#f3f5f4;--cp-border:#333836;--cp-chrome:#232624;--cp-explorer:#202321;--cp-dock:#202321;--cp-input:#272b29;--cp-hover:#2c322f;--cp-active:#293a33;--cp-active-border:#3d5349;--cp-muted:#aab4ae;--cp-accent:#94d8ba;--cp-grip:#5f6b65;--cp-success:#8cdbad;--cp-run-bg:#90d8b8;--cp-run-hover:#abe6cc;--cp-run-text:#142d23;--cp-output:#2a302c;--cq-surface:var(--cp-explorer);--cq-green:var(--cp-run-bg);--cp-pane-radius:10px}.cp-workbench{grid-template-rows:48px minmax(0,1fr) auto}.cp-workbench[data-theme=light],.coding-hub[data-theme=light],.ch-practice-workspace.cq-light{--cp-bg:#eff1ee;--cp-text:#252d28;--cp-strong:#1a251e;--cp-border:#dce1db;--cp-chrome:#f8faf7;--cp-explorer:#fff;--cp-dock:#fff;--cp-input:#f7f9f6;--cp-hover:#eef2ee;--cp-active:#e5efe9;--cp-active-border:#cddfd4;--cp-muted:#5a6860;--cp-accent:#246b54;--cp-grip:#a2aea6;--cp-success:#217452;--cp-run-bg:#286f55;--cp-run-hover:#1d5b44;--cp-run-text:#fff;--cp-output:#f2f5f1;--cp-shadow:#19281d26}.code-playground [hidden]{display:none}.cp-gate{place-content:center;justify-items:center;gap:16px;min-height:75vh;padding:24px;display:grid}.cp-gate h1{font-size:20px;font-weight:650}.cp-gate a,.cp-link-button{color:var(--cp-accent,#a8d7ff);text-underline-offset:4px;text-decoration:underline}.cp-account-trigger{border:1px solid var(--cp-border);min-height:32px;color:var(--cp-text);white-space:nowrap;border-radius:6px;align-items:center;gap:6px;padding-inline:6px;font-size:12px;display:inline-flex}.cp-account-trigger:hover,.cp-account-trigger[aria-expanded=true]{background:var(--cp-active)}.cp-account-trigger svg{color:var(--cp-muted);flex:none}.cp-account-name{text-overflow:ellipsis;max-width:92px;overflow:hidden}.cp-account-avatar{background:var(--cp-active);width:23px;height:23px;color:var(--cp-accent);border-radius:50%;flex:none;place-items:center;font-size:11px;font-weight:650;display:grid}.cp-account-menu{z-index:24;border:1px solid var(--cp-border);background:var(--cp-chrome);width:min(226px,100vw - 20px);box-shadow:0 8px 24px var(--cp-shadow);border-radius:8px;padding:5px}.cp-account-identity{border-bottom:1px solid var(--cp-border);align-items:center;gap:9px;margin-bottom:4px;padding:8px 7px 10px;display:flex}.cp-account-identity>div{min-width:0}.cp-account-identity strong,.cp-account-identity>div span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.cp-account-identity strong{color:var(--cp-strong);font-size:13px;font-weight:650}.cp-account-identity>div span{color:var(--cp-muted);font-size:12px}.cp-account-identity .cp-account-avatar{width:30px;height:30px}.cp-account-action{width:100%;min-height:35px;color:var(--cp-text);text-align:start;border-radius:5px;align-items:center;gap:8px;padding-inline:8px;font-size:13px;display:flex}.cp-account-action:hover{background:var(--cp-hover)}.cp-account-logout{color:var(--cp-error)}.cp-toolbar,.cp-title,.cp-controls,.cp-icon-button,.cp-quiz-link,.cp-run{align-items:center;display:flex}.cp-toolbar{background:var(--cp-chrome);border-bottom:1px solid var(--cp-border);justify-content:space-between;gap:12px;padding-inline:9px 12px}.cp-title,.cp-controls{gap:8px;min-width:0}.cp-title h1{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:665;overflow:hidden}.cp-brand-icon{border:1px solid var(--cp-active-border);background:var(--cp-active);width:29px;height:29px;color:var(--cp-accent);border-radius:8px;flex:none;place-items:center;display:grid}.cp-workbench .cp-toolbar{background:var(--cp-bg);border-bottom:0;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding-inline:12px;display:grid}.cp-workbench .cp-controls{justify-content:flex-end}.cp-execution{border:1px solid var(--cp-border);background:var(--cp-chrome);border-radius:8px;align-items:center;gap:3px;padding:2px;display:flex}.cp-icon-button,.cp-quiz-link,.cp-run{border-radius:5px;flex:none;justify-content:center;min-height:31px}.cp-icon-button{min-width:32px;color:var(--cp-muted)}.cp-execution .cp-icon-button{min-height:28px}.cp-icon-button[aria-expanded=true]{background:var(--cp-active);color:var(--cp-accent)}.cp-icon-button:hover,.cp-quiz-link:hover{background:var(--cp-hover);color:var(--cp-strong)}.cp-theme-toggle{border:1px solid var(--cp-border)}.code-playground .cq-collab-trigger{border-radius:5px;align-items:center;gap:6px;height:31px;padding-inline:8px;font-size:13px;display:inline-flex}.code-playground .cq-collab-popover{box-shadow:0 16px 44px var(--cp-shadow)}.code-playground .cq-collab-popover button{justify-content:center;align-items:center;gap:5px;display:inline-flex}.code-playground .cq-collab-primary{color:var(--cp-run-text)}.cp-room-notice{border-bottom:1px solid var(--cp-border);background:var(--cp-chrome);color:var(--cp-muted);flex-wrap:wrap;align-items:center;gap:8px;padding:6px 11px;font-size:12px;display:flex}.cp-room-notice :is(button,a){color:var(--cp-accent);text-underline-offset:3px;text-decoration:underline}.cp-quiz-link{color:var(--cp-muted);white-space:nowrap;gap:5px;padding-inline:8px;font-size:13px}.cp-run{background:var(--cp-run-bg);min-width:72px;min-height:28px;color:var(--cp-run-text);gap:6px;padding-inline:11px;font-size:13px;font-weight:650}.cp-run:disabled{opacity:.52}.cp-run:hover:not(:disabled){background:var(--cp-run-hover)}.cp-running{place-items:center;animation:.9s linear infinite cp-spin;display:grid}@keyframes cp-spin{to{transform:rotate(360deg)}}.code-playground :is(button,a,textarea,[role=separator],[role=tabpanel]):focus-visible{outline:2px solid var(--cp-accent);outline-offset:-2px}.cp-workspace{--cp-workspace-gutter:8px;--cp-explorer-size:min(var(--cp-explorer-width),50%);min-width:0;min-height:0;padding:3px var(--cp-workspace-gutter)4px;grid-template-columns:minmax(0,1fr);display:grid;position:relative}.cp-workspace[data-files-open=true]{grid-template-columns:var(--cp-explorer-size)8px minmax(0,1fr)}.cp-explorer{background:var(--cp-explorer);min-width:0;overflow:auto}.cp-explorer,.cp-editor-area,.cp-dock{border:1px solid var(--cp-border);border-radius:var(--cp-pane-radius)}.cp-editor-area,.cp-dock{overflow:hidden}.cp-explorer-content{min-height:100%}.cp-file-context-menu{z-index:20;border:1px solid var(--cp-border);background:var(--cp-chrome);min-width:154px;max-width:min(240px,100vw - 16px);box-shadow:0 8px 26px var(--cp-shadow);color:var(--cp-text);border-radius:6px;padding:4px}.cp-file-context-directory{color:var(--cp-muted);text-overflow:ellipsis;white-space:nowrap;padding:4px 7px 6px;font-size:11px;overflow:hidden}.cp-file-context-action{cursor:pointer;border-radius:4px;align-items:center;gap:8px;min-height:32px;padding-inline:7px;font-size:13px;display:flex}.cp-file-context-action:is([data-highlighted],[data-state=open]){background:var(--cp-active);color:var(--cp-strong);outline:none}.cp-file-context-action[data-disabled]{color:var(--cp-muted);opacity:.55;cursor:default}.cp-file-context-action kbd{color:var(--cp-muted);font:11px var(--cp-mono);margin-inline-start:auto}.cp-file-context-action svg,.cp-language-icon{flex:none}.cp-language-icon{width:16px;height:16px;color:var(--cp-accent)}.cp-file-menu-next{margin-inline-start:auto}.cp-file-context-divider{background:var(--cp-border);height:1px;margin-block:4px}.cp-file-context-danger{color:var(--cp-error)}.cp-explorer-bar{z-index:1;border-bottom:1px solid var(--cp-border);background:var(--cp-chrome);align-items:center;gap:2px;min-height:37px;padding-inline:11px 5px;display:flex;position:sticky;inset-block-start:0}.cp-explorer-bar h2{color:var(--cp-strong);white-space:nowrap;margin-inline-end:auto;font-size:13px;font-weight:640}.cp-tree-action{width:26px;height:29px;color:var(--cp-muted);border-radius:4px;flex:none;place-items:center;display:grid}.cp-tree-action:hover:not(:disabled){background:var(--cp-active);color:var(--cp-strong)}.cp-tree-action:disabled{opacity:.45}.cp-entry-editor{min-height:28px;color:var(--cp-accent);align-items:center;gap:4px;padding-inline:5px;display:flex}.cp-entry-editor>svg{flex:none}.cp-entry-editor input{border:1px solid var(--cp-accent);background:var(--cp-input);min-width:0;min-height:24px;color:var(--cp-text);font:12px var(--cp-mono);border-radius:3px;flex:1;padding-inline:4px}.cp-entry-editor input[aria-invalid=true]{border-color:var(--cp-error)}.cp-entry-editor .cp-tree-action{flex:none;width:19px;height:24px}.cp-file-operation-error{color:var(--cp-error);overflow-wrap:anywhere;padding:6px 9px;font-size:12px}.cp-file-tree .cp-file-tree{padding-inline-start:9px}.cp-explorer li{padding-inline:4px}.cp-explorer-content>.cp-file-tree{padding-top:4px}.cp-explorer-file{width:100%;min-height:28px;color:var(--cp-text);text-align:start;border:1px solid #0000;border-radius:5px;align-items:center;gap:9px;padding-inline:7px;display:flex}.cp-explorer-file:hover{background:var(--cp-hover)}.cp-explorer-file[aria-current]{background:var(--cp-active);border-color:var(--cp-active-border);color:var(--cp-strong)}.cp-explorer-file[data-selected=true]:not([aria-current]){background:var(--cp-hover)}.cp-explorer-file[data-cut=true]{opacity:.48}.cp-explorer-file[data-drop-target=true]{outline:1px solid var(--cp-accent);outline-offset:-1px}.cp-explorer-content[data-drop-root=true]{box-shadow:inset 0 0 0 1px var(--cp-accent)}.cp-explorer-file code,.cp-file-tab code{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cp-explorer-file.cp-folder{gap:5px}.cp-file-presence{align-items:center;gap:3px;margin-inline-start:auto;display:inline-flex}.cp-file-presence>span{border-radius:50%;width:7px;height:7px}.cp-file-presence small{color:var(--cp-muted);font-size:10px}.cp-explorer-file.cp-folder svg{color:var(--cp-folder)}.cp-file-dialog-overlay{z-index:25;background:#080b12a6;position:fixed;inset:0}.cp-file-dialog{z-index:26;border:1px solid var(--cp-border);background:var(--cp-chrome);width:min(390px,100vw - 32px);color:var(--cp-text);box-shadow:0 12px 35px var(--cp-shadow);border-radius:8px;padding:17px;position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.cp-file-dialog h2{color:var(--cp-strong);font-weight:650}.cp-file-dialog p{overflow-wrap:anywhere;margin-block:8px 15px;font-size:13px}.cp-file-dialog>div{justify-content:flex-end;gap:8px;display:flex}.cp-file-dialog button{border:1px solid var(--cp-border);border-radius:4px;padding:5px 12px;font-size:13px}.cp-file-dialog .cp-confirm-delete{border-color:var(--cp-error);color:var(--cp-error)}.cp-empty-editor{color:var(--cp-muted);background:var(--cp-editor);place-content:center;gap:8px;font-size:13px;display:grid}:is(.cp-explorer-file,.cp-file-tab) code{font:13px var(--cp-mono)}:is(.cp-explorer-file,.cp-file-tab) svg{flex:none}.cp-main,.cp-file{flex-direction:column;min-width:0;min-height:0;display:flex}.cp-editor-area{background:var(--cp-editor);flex:1;grid-template-rows:37px auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) auto;min-width:0;min-height:0;display:grid}.cp-file,.cp-empty-editor{grid-area:3/1/4/-1}.cp-editor-heading{border-bottom:1px solid var(--cp-border);background:var(--cp-chrome);grid-area:1/1/2/-1;align-items:center;padding-inline:12px;display:flex}.cp-editor-heading h2{color:var(--cp-strong);align-items:center;gap:7px;font-size:13px;font-weight:640;display:flex}.cp-editor-heading svg{color:var(--cp-accent)}.cp-open-tabs{border-bottom:1px solid var(--cp-border);background:var(--cp-editor);scrollbar-width:thin;grid-area:2/1/3/-1;align-items:stretch;gap:3px;min-width:0;min-height:36px;padding:3px 5px;display:flex;overflow:auto hidden}.cp-file-tab{max-width:252px;color:var(--cp-muted);border:1px solid #0000;border-radius:5px;flex:none;align-items:center;display:flex;position:relative}.cp-file-tab:hover{background:var(--cp-hover);color:var(--cp-text)}.cp-file-tab[data-selected=true]{border-color:var(--cp-active-border);background:var(--cp-active);color:var(--cp-strong)}.cp-file-tab[data-drop-side]:after{background:var(--cp-accent);content:"";pointer-events:none;width:2px;position:absolute;inset-block:0}.cp-file-tab[data-drop-side=before]:after{inset-inline-start:0}.cp-file-tab[data-drop-side=after]:after{inset-inline-end:0}.cp-file-tab-select{-webkit-user-select:none;user-select:none;align-self:stretch;align-items:center;gap:7px;min-width:0;padding-inline:10px 5px;display:flex}.cp-file-tab-select small{max-width:78px;color:var(--cp-muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.cp-file-tab-close{width:23px;height:24px;color:var(--cp-muted);opacity:.55;border-radius:4px;flex:none;place-items:center;margin-inline-end:4px;display:grid}.cp-file-tab:is(:hover,:focus-within,[data-selected=true]) .cp-file-tab-close{opacity:1}.cp-file-tab-close:hover{background:var(--cp-active);color:var(--cp-strong)}.cp-editor-meta{min-width:0;color:var(--cp-muted);white-space:nowrap;grid-area:1/2;align-items:center;gap:10px;margin-inline:8px 11px;font-size:11px;display:flex;position:relative}.cp-editor-runtime{border:1px solid var(--cp-border);background:var(--cp-editor);max-width:190px;color:var(--cp-text);text-overflow:ellipsis;border-radius:5px;padding:2px 7px;display:block;overflow:hidden}.cp-file .cq-editor-container{flex-direction:column;flex:1;min-height:0;display:flex}.cp-file .cq-editor-container>section{flex:1;min-height:0;margin:0}.cp-file .cq-editor-status{display:none}.cp-loading{min-height:0;color:var(--cp-muted);flex:1;padding:20px}.cp-file .cq-editor-loading{color:var(--cp-muted)}.cp-dock{background:var(--cp-dock);flex-direction:column;flex:none;min-width:0;min-height:0;display:flex}.cp-resize-handle{touch-action:none;-webkit-user-select:none;user-select:none;border-radius:4px;flex:none;position:relative}.cp-resize-handle[aria-orientation=vertical]{cursor:ew-resize}.cp-resize-handle[aria-orientation=horizontal]{cursor:ns-resize;height:8px}.cp-resize-handle:after{background:var(--cp-grip);content:"";pointer-events:none;border-radius:4px;width:24px;height:2px;margin:auto;position:absolute;inset:0}.cp-resize-handle[aria-orientation=vertical]:after{width:2px;height:24px}.cp-resize-handle:is(:hover,:focus-visible,[data-dragging=true]){background:var(--cp-active)}.cp-resize-handle:is(:hover,:focus-visible,[data-dragging=true]):after{background:var(--cp-accent)}.cp-dock-bar,.cp-dock-tabs,.cp-dock-tabs button,.cp-run-summary,.cp-status{align-items:center;display:flex}.cp-dock-bar{border-bottom:1px solid var(--cp-border);background:var(--cp-chrome);flex:none;justify-content:space-between;gap:8px;min-height:36px;padding-inline:5px 12px}.cp-dock-tabs{gap:3px;min-width:0}.cp-dock-tabs button{min-height:27px;color:var(--cp-muted);white-space:nowrap;border:1px solid #0000;border-radius:5px;gap:7px;padding-inline:10px;font-size:13px}.cp-dock-tabs button:hover{background:var(--cp-hover);color:var(--cp-text)}.cp-dock-tabs button[aria-selected=true]{border-color:var(--cp-active-border);background:var(--cp-active);color:var(--cp-strong);font-weight:620}.cp-dock-tabs button[aria-selected=true] svg{color:var(--cp-accent)}.cp-dock-detail{color:var(--cp-muted);font:11px var(--cp-mono);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cp-dock-input,.cp-dock-output{flex:1;min-height:0;padding:10px 15px 12px}.cp-dock-input{flex-direction:column;gap:5px;display:flex;overflow:auto}.cp-dock-input label{color:var(--cp-muted);font-size:12px}.cp-dock-input textarea{border:1px solid var(--cp-border);background:var(--cp-input);min-width:0;min-height:39px;font:13px/1.6 var(--cp-mono);resize:none;border-radius:6px;flex:1;padding:8px 10px;display:block}.cp-dock-input textarea[aria-invalid=true]{border-color:var(--cp-error)}.cp-dock-input textarea::placeholder,.cp-muted{color:var(--cp-muted)}.cp-dock-output{overflow-wrap:anywhere;font-size:13px;overflow:auto}.cp-run-summary{flex-wrap:wrap;gap:10px;margin-bottom:9px}.cp-run-summary code{color:var(--cp-muted);font:12px var(--cp-mono)}.cp-run-state{color:var(--cp-accent);align-items:center;gap:5px;font-size:16px;font-weight:630;display:inline-flex}.cp-run-state[data-status=finished]{color:var(--cp-success)}.cp-run-state[data-status$=error],.cp-run-state[data-status=time_limit],.cp-run-state[data-status=language_unavailable],.cp-error{color:var(--cp-error)}.cp-link-button{margin-inline:5px}.cp-log+.cp-log{margin-top:12px}.cp-log h3{color:var(--cp-muted);font-size:11px;font-weight:560}.cp-log pre{background:var(--cp-output);color:var(--cp-text);font:13px/1.6 var(--cp-mono);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:6px;margin-top:4px;padding:8px 10px}.cp-log[data-channel=stderr] pre{color:var(--cp-error)}.cp-status{background:var(--cp-bg);min-height:23px;color:var(--cp-muted);white-space:nowrap;gap:12px;padding:2px 12px;font-size:11px}.cp-connection{align-items:center;gap:6px;display:flex}.cp-connection:before{background:var(--cp-warning);content:"";border-radius:50%;width:6px;height:6px}.cp-connection[data-state=ready]:before{background:var(--cp-success)}.cp-draft-status{margin-inline-start:auto}@media (max-width:760px){.cp-workspace{--cp-workspace-gutter:5px;--cp-explorer-size:min(var(--cp-explorer-width),80%)}.cp-workspace[data-files-open=true]{grid-template-columns:minmax(0,1fr)}.cp-explorer{z-index:10;inset:3px auto 4px var(--cp-workspace-gutter);width:var(--cp-explorer-size);box-shadow:0 10px 22px var(--cp-shadow);padding-bottom:8px;position:absolute}.cp-workspace>.cp-resize-handle{z-index:11;inset:3px auto 4px calc(var(--cp-workspace-gutter) + var(--cp-explorer-size));width:12px;position:absolute}.cp-explorer-file{min-height:39px}.cp-resize-handle[aria-orientation=horizontal]{height:12px}.cp-editor-assistance{display:none}}@media (max-width:650px){.cp-workbench .cp-toolbar{grid-template-columns:minmax(0,1fr) auto auto;gap:6px;padding-inline:6px}.cp-workbench .cp-quiz-link span,.cp-workbench .cp-account-name{display:none}}@media (max-width:480px){.cp-toolbar,.cp-status{gap:8px}.cp-toolbar{padding-inline:6px}.cp-title{gap:5px}.cp-controls{gap:4px}.cp-quiz-link{padding-inline:5px}.code-playground .cq-collab-trigger{padding-inline:6px}.cp-icon-button{min-width:30px}.cp-run{min-width:56px;padding-inline:7px}.cp-brand-icon,.cp-account-name,.cp-account-trigger>svg,.cp-quiz-link span,.code-playground .cq-collab-trigger-label,.code-playground .cq-collab-count,.cp-dock-detail{display:none}.cp-status:has([role=alert]) .cp-draft-status{display:none}.cp-editor-runtime{max-width:142px}}@media (prefers-reduced-motion:reduce){.cp-running{animation:none}}.cp-account-settings{border-top:1px solid var(--cp-border);padding-block:6px}.cp-account-settings>strong{color:var(--cp-muted);padding:2px 10px;font-size:10px;font-weight:550;display:block}.cp-vim-switch{background:var(--cp-grip);border-radius:12px;width:27px;height:16px;margin-inline-start:auto;position:relative}.cp-vim-switch:after{content:"";background:#fff;border-radius:50%;width:10px;height:10px;position:absolute;top:3px;left:3px}[aria-checked=true]>.cp-vim-switch{background:var(--cp-success)}[aria-checked=true]>.cp-vim-switch:after{left:14px}.cp-file[data-vim=true] .cq-editor-status{display:flex}
.code-playground.coding-hub{height:auto;min-height:100dvh;font-size:14px;display:block}.ch-header{z-index:12;border-bottom:1px solid var(--cp-border);background:var(--cp-explorer);position:sticky;top:0}.ch-header-inner,.ch-main{width:min(1180px,100% - 48px);margin-inline:auto}.ch-header-inner,.ch-brand,.ch-header nav,.ch-header-actions{align-items:center;display:flex}.ch-header-inner{gap:25px;min-height:59px}.ch-brand{color:var(--cp-strong);white-space:nowrap;flex:none;gap:8px;font-weight:690}.ch-brand>span{border:1px solid var(--cp-active-border);background:var(--cp-active);width:33px;height:33px;color:var(--cp-accent);border-radius:8px;place-items:center;display:grid}.ch-header nav{min-width:0;color:var(--cp-muted);white-space:nowrap;gap:5px;font-size:13px}.ch-header nav a{border-radius:5px;padding:7px 9px}.ch-header nav a:hover{background:var(--cp-hover);color:var(--cp-strong)}.ch-header-actions{gap:7px;margin-inline-start:auto}.ch-theme{border:1px solid var(--cp-border);width:33px;height:32px;color:var(--cp-muted);border-radius:6px;flex:none;place-items:center;display:grid}.ch-theme:hover{background:var(--cp-hover);color:var(--cp-strong)}.ch-main{padding-block:27px 50px}.ch-intro,.ch-panel{border:1px solid var(--cp-border);background:var(--cp-explorer);border-radius:12px}.ch-intro{justify-content:space-between;align-items:center;gap:24px;min-height:182px;margin-bottom:17px;padding:25px 27px;display:flex}.ch-intro h1,.ch-create h1{color:var(--cp-strong);font-size:clamp(27px,3vw,36px);font-weight:700;line-height:1.2}.ch-intro p{color:var(--cp-muted);margin-top:10px}.ch-intro-actions{flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:21px;display:flex}.ch-intro-actions>.ch-text-link{margin-inline-start:3px}.ch-button{border:1px solid var(--cp-border);background:var(--cp-chrome);min-height:36px;color:var(--cp-strong);white-space:nowrap;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:5px 11px;font-size:13px;font-weight:630;display:inline-flex}.ch-button:hover:not(:disabled){background:var(--cp-hover)}.ch-button.ch-primary{background:var(--cp-run-bg);color:var(--cp-run-text);border-color:#0000}.ch-button.ch-primary:hover:not(:disabled){background:var(--cp-run-hover)}.ch-button:disabled{opacity:.5}.ch-text-link{color:var(--cp-accent);white-space:nowrap;align-items:center;gap:5px;font-size:12px;font-weight:590;display:inline-flex}.ch-text-link:hover{text-underline-offset:3px;text-decoration:underline}.ch-continue{border:1px solid var(--cp-active-border);background:var(--cp-active);width:min(307px,42%);color:var(--cp-strong);border-radius:9px;align-content:center;align-self:stretch;gap:8px;padding:12px 15px;display:grid}.ch-continue:hover{border-color:var(--cp-grip)}.ch-continue>strong{color:var(--cp-strong);overflow-wrap:anywhere;font-size:17px}.ch-continue-overline,.ch-continue-meta{color:var(--cp-accent);align-items:center;gap:6px;font-size:12px;display:flex}.ch-continue-meta{justify-content:space-between}.ch-board{grid-template-columns:minmax(0,1fr) minmax(250px,304px);align-items:start;gap:16px;display:grid}.ch-board[data-catalog=false]{grid-template-columns:minmax(0,1fr)}.ch-panel{min-width:0}.ch-catalog{scroll-margin-top:75px}.ch-side{gap:14px;display:grid}.ch-panel-heading{min-height:54px;color:var(--cp-strong);justify-content:space-between;align-items:center;gap:8px;padding:10px 14px;display:flex}.ch-panel-heading h2{align-items:center;gap:7px;font-size:15px;font-weight:650;display:flex}.ch-catalog .ch-panel-heading h2{font-size:18px}.ch-panel-heading h2 svg{color:var(--cp-accent)}.ch-panel-heading .ch-button{min-height:31px}.ch-state{color:var(--cp-muted);padding:13px 15px 19px;font-size:13px}.ch-state .ch-text-link{margin-inline-start:6px}.ch-filters{flex-wrap:wrap;align-items:center;gap:7px;padding:0 14px 11px;display:flex}.ch-search,.ch-filters select,.ch-field input{border:1px solid var(--cp-border);background:var(--cp-input);min-height:34px;color:var(--cp-text);border-radius:6px;font-size:13px}.ch-search{flex:175px;align-items:center;gap:6px;padding-inline:8px;display:flex}.ch-search svg{color:var(--cp-muted);flex:none}.ch-search input{outline:none;width:100%;min-width:0}.ch-search input::placeholder,.ch-field input::placeholder{color:var(--cp-muted)}.ch-search:focus-within,.coding-hub :is(select,.ch-field input):focus-visible{outline:2px solid var(--cp-accent);outline-offset:-1px}.ch-filters select{max-width:min(135px,100%);padding-inline:8px}.ch-problems{border-collapse:collapse;text-align:start;width:100%;font-size:13px}.ch-problems thead{background:var(--cp-chrome);color:var(--cp-muted);font-size:12px}.ch-problems :is(th,td){border-top:1px solid var(--cp-border);text-align:start;padding:9px 10px}.ch-problems :is(th,td):first-child{padding-inline-start:14px}.ch-problems :is(th,td):last-child{padding-inline-end:11px}.ch-problems th:not(:first-child){white-space:nowrap}.ch-problems tbody tr:hover{background:var(--cp-hover)}.ch-problem-title{color:var(--cp-strong);overflow-wrap:anywhere;font-weight:600}.ch-problem-title:hover{color:var(--cp-accent);text-underline-offset:3px;text-decoration:underline}.ch-draft{color:var(--cp-warning);white-space:nowrap;margin-inline-start:5px;font-size:11px}.ch-tags{flex-wrap:wrap;align-items:center;gap:3px 4px;display:flex}.ch-tags span{border:1px solid var(--cp-border);background:var(--cp-chrome);max-width:105px;color:var(--cp-muted);text-overflow:ellipsis;white-space:nowrap;border-radius:4px;padding:2px 6px;font-size:11px;overflow:hidden}.ch-difficulty,.ch-verdict{color:var(--cp-muted);white-space:nowrap;font-size:12px;font-weight:620}.ch-difficulty[data-level=easy],.ch-verdict[data-status=accepted]{color:var(--cp-success)}.ch-difficulty[data-level=medium]{color:var(--cp-warning)}.ch-difficulty[data-level=hard],.ch-verdict:is([data-status$=error],[data-status=wrong_answer],[data-status$=limit]){color:var(--cp-error)}.ch-problem-actions{justify-content:flex-end;gap:3px;display:flex}.ch-problem-actions :is(button,a){width:27px;height:28px;color:var(--cp-muted);border-radius:4px;place-items:center;display:grid}.ch-problem-actions :is(button,a):hover{background:var(--cp-active);color:var(--cp-accent)}.ch-catalog-footer,.ch-catalog-footer nav{align-items:center;gap:8px;display:flex}.ch-catalog-footer{border-top:1px solid var(--cp-border);color:var(--cp-muted);justify-content:space-between;padding:10px 14px;font-size:12px}.ch-catalog-footer button{border:1px solid var(--cp-border);border-radius:4px;padding:4px 7px}.ch-catalog-footer button:disabled{opacity:.5}.ch-recent-list{padding:0 9px 7px}.ch-recent-list li+li{border-top:1px solid var(--cp-border)}.ch-recent-row{min-height:52px;color:var(--cp-muted);border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:7px 6px;display:flex}.ch-recent-row:hover{background:var(--cp-hover)}.ch-row-icon{border:1px solid var(--cp-border);background:var(--cp-chrome);border-radius:6px;flex:none;place-items:center;width:30px;height:30px;display:grid}.ch-recent-name{flex:1;gap:2px;min-width:0;display:grid}.ch-recent-name strong{color:var(--cp-strong);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.ch-recent-name :is(small,time){color:var(--cp-muted);font-size:11px}.ch-recent-row>svg{flex:none}.ch-feedback{z-index:14;border:1px solid var(--cp-active-border);background:var(--cp-explorer);max-width:calc(100% - 26px);box-shadow:0 5px 20px var(--cp-shadow);color:var(--cp-accent);overflow-wrap:anywhere;border-radius:7px;align-items:center;gap:10px;padding:10px 13px;font-size:13px;display:flex;position:fixed;bottom:13px;right:13px}.ch-create{max-width:850px}.ch-back,.ch-practice-back{color:var(--cp-accent);align-items:center;gap:6px;font-size:13px;display:inline-flex}.ch-create h1{margin-block:15px 20px;font-size:29px}.ch-create-layout{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);align-items:start;gap:13px;display:grid}.ch-create-form{gap:16px;padding:18px;display:grid}.ch-field{color:var(--cp-strong);gap:6px;font-weight:620;display:grid}.ch-field input{padding-inline:9px;font-weight:400}.ch-languages legend{color:var(--cp-strong);margin-bottom:6px;font-weight:620}.ch-language-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.ch-language{border:1px solid var(--cp-border);cursor:pointer;border-radius:6px;align-items:center;gap:8px;min-height:51px;padding:6px 8px;display:flex}.ch-language:has(input:checked){border-color:var(--cp-active-border);background:var(--cp-active)}.ch-language:has(input:focus-visible){outline:2px solid var(--cp-accent);outline-offset:-1px}.ch-language span{min-width:0;color:var(--cp-strong);overflow-wrap:anywhere}.ch-language strong{font-size:13px;display:block}.ch-language small{color:var(--cp-muted);font:11px var(--cp-mono)}.ch-create-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.ch-create-note,.ch-create-error{color:var(--cp-muted);align-items:center;gap:5px;font-size:12px;display:flex}.ch-create-note svg{flex:none}.ch-create-error{color:var(--cp-error)}.ch-starter h2{border-bottom:1px solid var(--cp-border);color:var(--cp-strong);font:13px var(--cp-mono);align-items:center;gap:8px;padding:10px;display:flex}.ch-starter pre{color:var(--cp-text);font:12px/1.7 var(--cp-mono);margin:0;padding:12px 10px;overflow:auto}.ch-gate{color:#e2e6e4;background:#17191b;place-items:center;min-height:100dvh;padding:16px;display:grid}.ch-gate-card{background:#202321;border:1px solid #333836;border-radius:10px;justify-items:center;gap:11px;padding:26px;display:grid}.ch-gate-card h1{font-size:20px;font-weight:650}.ch-gate-card a{color:#94d8ba;text-underline-offset:3px;text-decoration:underline}.ch-gate>p{align-items:center;gap:6px;display:flex}.code-quiz.ch-practice-workspace{--cq-bg:var(--cp-bg);--cq-surface:var(--cp-explorer);--cq-head:var(--cp-chrome);--cq-inset:var(--cp-input);--cq-border:var(--cp-border);--cq-text:var(--cp-text);--cq-muted:var(--cp-muted);--cq-hover:var(--cp-hover);--cq-green:var(--cp-success);--cq-blue:var(--cp-accent)}.ch-practice-workspace .cq-brand{color:var(--cp-accent)}.ch-practice-back{color:var(--cq-muted);flex-shrink:0}.ch-practice-back:hover{color:var(--cq-text)}.ch-practice-account{--cp-border:var(--cq-border);--cp-chrome:var(--cq-head);--cp-hover:var(--cq-hover);--cp-text:var(--cq-text);--cp-strong:var(--cq-text);--cp-muted:var(--cq-muted);--cp-active:var(--cq-inset);--cp-accent:var(--cq-blue);--cp-error:var(--cq-red);--cp-shadow:#0005;flex:none}.ch-practice-account .cp-account-action{justify-content:flex-start}.ch-practice-account .cp-account-logout{color:var(--cq-red)}@media (max-width:920px){.ch-board{grid-template-columns:minmax(0,1fr)}.ch-side{grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr))}}@media (max-width:640px){.ch-header-inner,.ch-main{width:calc(100% - 24px)}.ch-header-inner{gap:7px;min-height:49px}.ch-header nav{gap:2px;font-size:12px}.ch-header nav a{padding-inline:5px}.ch-header-actions{gap:4px}.ch-main{padding-top:15px}.ch-intro{gap:14px;padding:17px 14px;display:grid}.ch-intro-actions{margin-top:12px}.ch-continue{width:100%}.ch-catalog{scroll-margin-top:58px}.ch-filters{padding-inline:9px}.ch-problems .ch-topic-column{display:none}.ch-create-layout{grid-template-columns:minmax(0,1fr)}.ch-practice-account .cp-account-name{display:none}.cq-topbar-start:has(.ch-practice-back)>:is(.cq-brand,.cq-topbar-divider){display:none}}@media (max-width:385px){.ch-brand{font-size:12px}.ch-brand>span{width:26px;height:27px}.ch-theme{width:28px}.ch-practice-back>span{display:none}}
:is(.code-playground.coding-hub,.code-playground.cp-workbench,.code-quiz.ch-practice-workspace){--cp-bg:#191a1b;--cp-text:#dddeda;--cp-strong:#f4f4f1;--cp-border:#373839;--cp-chrome:#252627;--cp-explorer:#222324;--cp-dock:#222324;--cp-input:#2b2c2e;--cp-hover:#303132;--cp-active:#413626;--cp-active-border:#6b5030;--cp-muted:#a4a6a7;--cp-accent:#eab064;--cp-grip:#8b8175;--cp-success:#69d398;--cp-run-bg:#2b4936;--cp-run-hover:#385b45;--cp-run-text:#a1edba;--cp-output:#2a2b2d;--cp-shadow:#05050650;--us-amber:#f8a730;--us-brand-text:#f2f2ee;--us-soft-shadow:0 2px 7px #00000012;--cq-hover:var(--cp-hover);font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif}:is(.code-playground.coding-hub,.code-playground.cp-workbench)[data-theme=light],.code-quiz.ch-practice-workspace.cq-light{--cp-bg:#f7f7f6;--cp-text:#393a3b;--cp-strong:#202123;--cp-border:#e5e5e2;--cp-chrome:#fafaf9;--cp-explorer:#fff;--cp-dock:#fff;--cp-input:#f6f6f5;--cp-hover:#efefed;--cp-active:#fff1dc;--cp-active-border:#e8c398;--cp-muted:#64676a;--cp-accent:#995514;--cp-grip:#ae9980;--cp-success:#187a53;--cp-run-bg:#e2f4e9;--cp-run-hover:#d3eddd;--cp-run-text:#16703e;--cp-output:#f5f5f4;--cp-shadow:#2624211c;--us-brand-text:#232426;--us-soft-shadow:0 2px 7px #26242105}.us-brand,.ch-brand>.us-brand{width:auto;height:auto;color:var(--us-brand-text,var(--cp-strong));background:0 0;border:0;align-items:center;gap:9px;line-height:1;display:inline-flex}.us-brand img{width:31px;max-width:none;height:31px;display:block}.us-brand b{letter-spacing:-1.6px;font:760 26px/.95 Inter,-apple-system,BlinkMacSystemFont,Arial,sans-serif}.coding-hub .ch-header{background:var(--cp-explorer);border-color:var(--cp-border)}.coding-hub .ch-header-inner,.coding-hub .ch-main{width:min(1184px,100% - 72px)}.coding-hub .ch-header-inner{gap:40px;min-height:61px}.coding-hub .ch-header nav{gap:16px}.coding-hub .ch-header nav a{border-radius:0;padding-inline:3px;font-size:14px}.coding-hub .ch-header nav a:hover{color:var(--cp-strong);background:0 0}.coding-hub .ch-header nav a[aria-current=page]:after{background:var(--us-amber);height:3px;inset-inline:1px}.us-cloud-link{color:var(--cp-text);border-radius:7px;align-items:center;gap:7px;padding:6px 11px;font-size:13px;font-weight:630;display:inline-flex}.us-cloud-link:hover,.coding-hub .ch-theme:hover{background:var(--cp-hover)}.coding-hub .ch-theme,.coding-hub .cp-account-trigger{background:0 0;border-color:#0000}.coding-hub .cp-account-trigger:hover{background:var(--cp-hover)}.coding-hub .ch-main{padding-block:30px 64px}.us-page-heading,.us-section-heading,.us-small-actions,.us-today,.us-subtle-action,.us-subtle-link{align-items:center;display:flex}.us-page-heading,.us-section-heading{justify-content:space-between;gap:14px}.us-page-heading{margin:0 0 20px}.us-page-heading h1{color:var(--cp-strong);letter-spacing:-.045em;font-size:clamp(25px,2.35vw,34px);font-weight:730;line-height:1.22}.us-page-heading p{color:var(--cp-muted);margin:6px 0 0;font-size:14px}.us-today{color:var(--cp-muted);gap:7px;font-size:13px}.us-features{grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);gap:18px;margin:0 0 32px;display:grid}.us-features:has(>:only-child){grid-template-columns:1fr}.us-daily,.us-cloud-feature{isolation:isolate;border-radius:17px;min-height:226px;position:relative;overflow:hidden}.us-daily{color:#332418;background:#facea6 url(/images/coding/daily-keys.webp) right 48%/cover no-repeat;align-items:center;display:flex}.us-daily-copy{width:57%;padding:24px 0 24px 30px;position:relative}.us-daily-label,.us-hero-cta,.us-cloud-cta,.us-cloud-feature-top,.us-daily-meta{align-items:center;display:inline-flex}.us-daily-label{color:#5e3819;letter-spacing:.05em;gap:6px;font-size:12px;font-weight:730}.us-daily-copy h2{color:#2e211a;letter-spacing:-.055em;overflow-wrap:anywhere;margin:10px 0 5px;font-size:clamp(25px,3vw,38px);font-weight:750;line-height:1.2}.us-daily-meta{color:#63452e;flex-wrap:wrap;gap:9px;font-size:12px}.us-daily-meta strong{background:#fff7eaa6;border-radius:5px;padding:1px 6px;font-weight:640}.us-hero-cta,.us-cloud-cta{border-radius:8px;gap:12px;width:max-content;font-size:13px;font-weight:650}.us-hero-cta{color:#fff;background:#28231f;margin-top:18px;padding:8px 14px;display:flex}.us-hero-cta:hover{background:#47372b}.us-hero-cta svg,.us-cloud-cta svg,.us-subtle-link svg,.us-card-arrow{transition:transform .16s}.us-hero-cta:hover svg,.us-cloud-feature:hover .us-cloud-cta svg,.us-subtle-link:hover svg,.us-question-card:hover .us-card-arrow{transform:translate(3px)}.us-cloud-feature{color:#f7f5ed;background:radial-gradient(at 92% 112%,#575145 0%,#0000 62%),#282a29;border:1px solid #333533;flex-direction:column;justify-content:center;align-items:flex-start;padding:25px 27px;transition:box-shadow .18s;display:flex}.us-cloud-feature:hover{box-shadow:0 5px 19px #28272029}.us-cloud-feature-top{color:#f3b96e;gap:9px;margin-bottom:15px}.us-window-dots{gap:5px;display:flex;position:absolute;top:17px;right:18px}.us-window-dots i{background:#767870;border-radius:50%;width:5px;height:5px}.us-cloud-feature h2{letter-spacing:-.045em;font-size:26px;font-weight:690;line-height:1.2}.us-cloud-feature p{color:#c5c6bf;margin-top:7px;font-size:13px}.us-cloud-cta{color:#faf9f4;margin-top:19px;padding-block:3px}.us-code-sample{z-index:-1;text-align:left;color:#cacbc4;white-space:pre;opacity:.72;background:#232522;border:1px solid #71746a66;border-radius:8px;gap:1px;padding:11px 15px;font:10px/1.45 SFMono-Regular,Consolas,monospace;display:grid;position:absolute;bottom:9px;right:-6px;transform:rotate(-8deg);box-shadow:0 6px 14px #10131045}.us-code-sample i{color:#dfac74;font-style:normal}.us-code-sample b{color:#a7c5aa;font-weight:500}.us-home-layout,.us-ranking-layout{grid-template-columns:minmax(0,1fr) minmax(252px,294px);align-items:start;gap:25px;display:grid}.us-primary-column,.us-home-layout>*,.us-ranking-layout>*{min-width:0}.us-side{align-content:start;gap:15px;min-width:0;display:grid}.us-section-heading{min-height:32px;margin:0 0 13px}.us-section-heading h2{color:var(--cp-strong);letter-spacing:-.045em;font-size:22px;font-weight:700}.us-small-actions{gap:10px}.us-subtle-action,.us-subtle-link{min-height:29px;color:var(--cp-muted);gap:5px;font-size:12px;font-weight:560}.us-subtle-action{border:1px solid var(--cp-border);background:var(--cp-explorer);border-radius:7px;padding:3px 8px}.us-subtle-action:hover{background:var(--cp-hover)}.us-subtle-link:hover{color:var(--cp-strong)}.us-filter-head{margin-bottom:15px}.us-pills{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.us-pills button{color:var(--cp-muted);border:1px solid #0000;border-radius:22px;padding:5px 12px;font-size:12px}.us-pills button:hover{background:var(--cp-hover);color:var(--cp-strong)}.us-pills button[aria-pressed=true]{background:var(--cp-strong);color:var(--cp-explorer);font-weight:630}.us-filters{flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:15px;display:flex}.us-filters label,.us-question-picker>label{border:1px solid var(--cp-border);background:var(--cp-explorer);min-height:34px;color:var(--cp-muted);border-radius:7px;align-items:center;gap:6px;padding-inline:9px;font-size:12px;display:inline-flex}.us-filters label:focus-within,.us-question-picker>label:focus-within{outline:2px solid var(--cp-accent);outline-offset:1px}.us-filters :is(select,input),.us-question-picker input{color:var(--cp-text);background:0 0;min-width:0;outline:none!important}.us-filters select{appearance:none;cursor:pointer;height:32px}.us-search{flex:180px}.us-search input{width:100%}.us-question-grid,.us-ranking-list,.us-podium{margin:0;padding:0;list-style:none}.us-question-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.us-question-card,.coding-hub .ch-panel{border:1px solid var(--cp-border);background:var(--cp-explorer);box-shadow:var(--us-soft-shadow);border-radius:14px}.us-question-card{flex-direction:column;min-width:0;min-height:185px;padding:16px 18px 13px;transition:border-color .16s,box-shadow .16s,transform .16s;display:flex;position:relative}.us-question-card:hover,.us-question-card:focus-within{border-color:var(--cp-grip);box-shadow:0 4px 17px var(--cp-shadow);transform:translateY(-2px)}.us-card-head,.us-card-actions,.us-card-foot{align-items:center;display:flex}.us-card-head{justify-content:space-between;gap:8px;margin-bottom:10px}.us-topic-icon{--topic:#6396da;background:color-mix(in srgb,var(--topic)17%,var(--cp-explorer));width:35px;height:35px;color:color-mix(in srgb,var(--topic)78%,var(--cp-strong));border-radius:10px;place-items:center;display:grid}.us-topic-icon[data-tone=rose]{--topic:#d47b95}.us-topic-icon[data-tone=amber]{--topic:#ce9a42}.us-topic-icon[data-tone=violet]{--topic:#9a7bd1}.us-topic-icon[data-tone=cyan]{--topic:#53a6bd}.us-topic-icon[data-tone=teal]{--topic:#5aa08a}.us-card-actions{z-index:2;gap:3px;position:relative}.us-card-actions button,.us-drawer-back{color:var(--cp-muted);border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.us-card-actions button{width:28px;height:28px}.us-card-actions button:hover{background:var(--cp-hover)}.us-card-actions button[aria-pressed=true]{color:var(--cp-accent)}.us-question-card h3{color:var(--cp-strong);letter-spacing:-.025em;margin:0 0 5px;font-family:inherit;font-size:18px;font-weight:680;line-height:1.35}.us-question-card h3 a:after{content:"";border-radius:13px;position:absolute;inset:0}.us-card-summary{-webkit-line-clamp:2;color:var(--cp-muted);-webkit-box-orient:vertical;margin:0 0 12px;font-size:13px;line-height:1.6;display:-webkit-box;overflow:hidden}.us-card-foot{color:var(--cp-muted);gap:9px;min-height:20px;margin-top:auto;font-size:11px}.us-card-foot>svg,.us-card-foot>small{margin-left:auto}.us-card-foot>.lucide-check{color:var(--cp-success)}.us-level{--level:#33865e;color:var(--level);background:color-mix(in srgb,var(--level)11%,var(--cp-explorer));border-radius:5px;align-items:center;gap:4px;padding:2px 6px;font-size:11px;font-style:normal;font-weight:650;display:inline-flex}.us-level[data-level=medium]{--level:#a16810}.us-level[data-level=hard]{--level:#b8445a}[data-theme=dark] .us-level[data-level=easy]{--level:#7bd59b}[data-theme=dark] .us-level[data-level=medium]{--level:#edbd70}[data-theme=dark] .us-level[data-level=hard]{--level:#ef94a6}.us-empty{color:var(--cp-muted);border:1px dashed var(--cp-border);border-radius:12px;justify-items:center;gap:8px;padding:35px;display:grid}.us-catalog .ch-catalog-footer{border:0;margin-top:15px;padding-inline:0}.us-catalog .ch-catalog-footer button{background:var(--cp-explorer)}.us-side .ch-panel-heading{min-height:48px;padding:15px 16px 8px}.us-side .ch-panel-heading h2{font-size:15px}.us-side .ch-panel-heading h2 svg{color:var(--cp-accent)}.us-side .ch-text-link{color:var(--cp-muted);font-size:11px}.us-side .ch-text-link:hover{color:var(--cp-strong)}.us-progress-figure{align-items:center;gap:20px;padding:12px 17px 16px;display:flex}.us-progress-ring{border-radius:50%;flex:none;width:77px;height:77px;padding:5px;transform:rotate(-.01deg)}.us-progress-ring>span{background:var(--cp-explorer);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.us-progress-ring b{color:var(--cp-strong);font-variant-numeric:tabular-nums;font-size:25px;font-weight:700;line-height:1.1}.us-progress-ring small{color:var(--cp-muted);font-size:10px}.us-progress-by-level{flex:1;gap:6px;font-size:12px;display:grid}.us-progress-by-level>div{align-items:center;gap:7px;display:flex}.us-progress-by-level i{background:#55ae83;border-radius:50%;width:6px;height:6px}.us-progress-by-level i[data-level=medium]{background:#e6ac4a}.us-progress-by-level i[data-level=hard]{background:#d87587}.us-progress-by-level b{color:var(--cp-strong);margin-left:auto;font-size:12px}.us-progress-by-level small{color:var(--cp-muted);font-weight:400}.us-progress-links{border-top:1px solid var(--cp-border);margin:0 15px 10px;padding-top:5px}.us-progress-links a{color:var(--cp-muted);border-radius:5px;align-items:center;gap:7px;padding:5px 2px;font-size:12px;display:flex}.us-progress-links a:hover{color:var(--cp-accent)}.us-progress-links b{text-overflow:ellipsis;white-space:nowrap;max-width:50%;margin-left:auto;font-weight:500;overflow:hidden}.us-ranking-list{padding:5px 12px 10px}.us-ranking-list li a{border-radius:8px;align-items:center;gap:9px;min-height:44px;padding:4px 5px;font-size:13px;display:flex}.us-ranking-list li a:hover{background:var(--cp-hover)}.us-list-rank{width:22px;color:var(--cp-muted);font-variant-numeric:tabular-nums;font-size:12px}.us-list-rank[data-rank="1"]{color:var(--cp-accent)}.us-ranking-list strong{text-overflow:ellipsis;min-width:0;font-size:13px;font-weight:620;overflow:hidden}.us-ranking-list strong small{color:var(--cp-muted);margin-left:5px;font-weight:450}.us-row-solves{color:var(--cp-muted);font-size:11px;font-weight:450}.us-own-standing,.us-score-guide{padding:18px}.us-own-standing>span,.us-score-guide h2{align-items:center;gap:7px;font-size:15px;font-weight:640;display:flex}.us-own-standing>strong{margin-top:10px;font-size:31px;font-weight:690;display:block}.us-own-standing p,.us-score-guide p{color:var(--cp-muted);margin:4px 0 8px;font-size:13px;line-height:1.65}.us-score-guide>div{gap:12px;margin:15px 0;display:flex}.us-score-guide>div span{justify-items:center;gap:5px;font-size:12px;display:grid}.us-rank-page .us-section-heading{margin:0}
.us-navigator,.us-nav-trigger,.us-nav-step,.us-picker-heading,.us-picker-heading a,.us-project-switch,.us-breadcrumb,.us-breadcrumb span{align-items:center;display:inline-flex}.us-navigator{gap:2px;min-width:0}.us-nav-trigger,.us-nav-step{color:var(--cq-text);border-radius:6px;justify-content:center;height:30px}.us-nav-trigger{gap:7px;padding-inline:7px}.us-nav-step{width:26px}.us-nav-step:hover,.us-nav-trigger:hover{background:var(--cq-hover)}.us-question-picker{border:1px solid var(--cq-border);background:var(--cq-surface);width:min(300px,100vw - 18px);color:var(--cq-text);z-index:50;border-radius:12px;padding:12px;box-shadow:0 10px 30px #0002}.us-picker-heading{justify-content:space-between;width:100%;margin:2px 0 10px;font-size:14px}.us-picker-heading a{color:var(--cq-muted);gap:2px;font-size:11px}.us-question-picker>label{width:100%}.us-question-picker>ul{max-height:min(355px,48dvh);margin-top:6px;list-style:none;overflow:auto}.us-question-picker li>a{border-radius:5px;align-items:center;gap:7px;padding:7px 6px;font-size:13px;display:flex}.us-question-picker li>a:hover,.us-question-picker li>a[aria-current=page]{background:var(--cq-hover)}.us-question-picker li>a>small{color:var(--cq-muted);margin-left:auto;font-size:11px}.code-quiz.ch-practice-workspace .cq-topbar{z-index:20;background:var(--cp-bg);gap:10px;height:49px;padding-inline:12px;position:sticky;top:0}.ch-practice-workspace .cq-topbar-start,.ch-practice-workspace .cq-topbar-end{gap:6px}.ch-practice-workspace .cq-topbar-divider{margin-inline:3px}.ch-practice-workspace .cq-brand img{width:29px;height:29px}.ch-practice-workspace .cq-panel{border-color:var(--cp-border);border-radius:11px}.ch-practice-workspace .cq-description{max-width:860px;padding:23px clamp(18px,2.2vw,34px)}.ch-practice-workspace .cq-description h1{letter-spacing:-.035em;font-size:clamp(23px,2vw,30px);font-weight:690}.ch-practice-workspace .cq-problem-meta{margin-top:12px}.ch-practice-workspace .cq-tag,.ch-practice-workspace .cq-difficulty{border-radius:12px;padding:2px 8px}.ch-practice-workspace .cq-markdown{letter-spacing:.005em;font-size:14px;line-height:1.9}.ch-practice-workspace .cq-example-block{background:var(--cp-input);border-inline-start:3px solid var(--cp-active-border);border-radius:0 8px 8px 0;padding:9px 13px}.ch-practice-workspace .cq-problem-footer{background:var(--cq-surface);border-top:1px solid var(--cq-border);color:var(--cq-muted);justify-content:space-between;padding:5px 13px;font-size:12px;display:flex}.ch-practice-workspace .cq-problem-footer :is(button,a){border-radius:5px;align-items:center;gap:5px;min-height:27px;padding:2px 5px;display:inline-flex}.ch-practice-workspace .cq-problem-footer :is(button,a):hover{background:var(--cq-hover)}.ch-practice-workspace .cq-problem-footer button[aria-pressed=true]{color:var(--cp-accent)}.ch-practice-workspace .cq-execute-actions{gap:3px}.ch-practice-workspace .cq-execute-actions button{border-radius:6px}.ch-practice-workspace .cq-execute-actions .cq-run{background:var(--cp-hover);color:var(--cp-strong)}.ch-practice-workspace .cq-execute-actions .cq-submit{background:var(--cp-run-bg);color:var(--cp-run-text)}.ch-practice-workspace .cq-execute-actions .cq-submit:hover{background:var(--cp-run-hover)}.ch-practice-workspace .cq-tabs button[aria-selected=true],.ch-practice-workspace .cq-tabs button.active{color:var(--cp-strong)}.ch-practice-workspace .cq-panel-heading,.ch-practice-workspace .cq-tabs{background:var(--cp-chrome)}.ch-practice-workspace .cq-editor-toolbar{background:var(--cq-surface)}.cp-workbench .cp-brand-icon{background:0 0;border:0}.cp-workbench .cp-brand-icon img{width:29px;height:29px}.cp-workbench .cp-toolbar{z-index:15;background:var(--cp-bg);gap:10px;padding-inline:12px;position:relative}.us-project-switch{color:var(--cp-strong);border-radius:6px;gap:7px;min-width:0;padding:5px 7px;font-size:14px;font-weight:640}.us-project-switch span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.us-project-switch svg{color:var(--cp-muted);flex:none}.us-project-switch:hover,.us-drawer-back:hover{background:var(--cp-hover)}.cp-workbench .cp-execution{background:var(--cp-hover);border:0;padding:2px}.cp-workbench .cp-run{background:var(--cp-run-bg);color:var(--cp-run-text);border:0}.cp-workbench .cp-run:hover:not(:disabled){background:var(--cp-run-hover)}.cp-workbench .cp-explorer-bar,.cp-workbench .cp-editor-heading,.cp-workbench .cp-dock-tabs{background:var(--cp-chrome)}.cp-workbench .cp-explorer{background:var(--cp-explorer)}.cp-workbench .cp-explorer-file{border-radius:5px}.cp-workbench .cp-editor-area{grid-template-rows:35px auto auto minmax(0,1fr)}.cp-workbench .cp-file,.cp-workbench .cp-empty-editor{grid-row:4/5}.cp-workbench .cp-open-tabs{background:var(--cp-chrome);border-color:var(--cp-border);gap:0;padding:0}.cp-workbench .cp-file-tab{border:0;border-right:1px solid var(--cp-border);border-top:2px solid #0000;border-radius:0;padding:0 3px}.cp-workbench .cp-file-tab[data-selected=true]{border-top-color:var(--us-amber);background:var(--cp-editor)}.us-breadcrumb{scrollbar-width:none;background:var(--cp-editor);min-width:0;min-height:26px;color:var(--cp-muted);white-space:nowrap;grid-area:3/1/4/-1;gap:4px;padding:2px 12px;font-size:11px;overflow:auto}.us-breadcrumb span{gap:4px}.cp-workbench .cp-file-context-action[data-highlighted]{background:var(--cp-hover);color:var(--cp-strong)}.cp-workbench .cp-file-context-menu{box-shadow:0 9px 28px var(--cp-shadow);border-radius:10px;padding:5px}.cp-workbench .cp-theme-toggle,.cp-workbench .cp-account-trigger{border-color:#0000}.cp-workbench .cp-account-trigger:hover,.ch-practice-workspace .cp-account-trigger:hover{background:var(--cp-hover)}.us-drawer-overlay{z-index:60;background:#16171750;position:fixed;inset:0}.us-project-drawer{z-index:61;overscroll-behavior:contain;background:var(--cp-explorer);width:min(510px,100%);max-height:100dvh;box-shadow:-8px 0 30px var(--cp-shadow);color:var(--cp-text);padding:18px 22px;animation:.15s ease-out us-drawer-in;position:fixed;inset:0 0 0 auto;overflow-y:auto}@keyframes us-drawer-in{0%{opacity:.85;transform:translate(18px)}to{opacity:1;transform:translate(0)}}.us-project-drawer>header,.us-project-drawer>header>div,.us-drawer-intro,.us-drawer-new{align-items:center;gap:9px;display:flex}.us-project-drawer>header,.us-drawer-intro{justify-content:space-between}.us-project-drawer>header{border-bottom:1px solid var(--cp-border);padding-bottom:14px}.us-project-drawer>header h2{color:var(--cp-strong);font-size:19px;font-weight:680}.us-project-drawer>header button{border-radius:6px;place-items:center;width:29px;height:29px;display:grid}.us-project-drawer>header button:hover{background:var(--cp-hover)}.us-drawer-intro{margin:15px 0}.us-drawer-intro p{color:var(--cp-muted);font-size:13px}.us-drawer-new,.us-project-drawer .ch-button.ch-primary{background:var(--cp-strong);color:var(--cp-explorer);border-radius:7px;padding:7px 11px;font-size:12px;font-weight:620}.us-drawer-new:hover{opacity:.86}.us-drawer-back{gap:6px;margin:12px 0;padding:5px 7px;font-size:12px}.us-project-drawer .cp-library{width:100%;padding:0}.us-project-drawer .cp-library-room{background:var(--cp-chrome);border-radius:10px;flex-wrap:wrap;gap:10px;padding:12px;display:flex}.us-project-drawer .cp-library-room-title{width:100%}.us-project-drawer .cp-library-metadata{flex:1;grid-template-columns:1fr 1fr;gap:7px 12px}.us-project-drawer .cp-library-room .cp-library-open{align-self:flex-end;font-size:12px}.us-project-drawer .ch-create-layout{flex-direction:column;gap:12px;display:flex}.us-project-drawer .ch-create-form{background:0 0;border:0;padding:0}.us-project-drawer .ch-language-options{grid-template-columns:1fr 1fr;display:grid}.us-project-drawer .ch-create-footer{flex-direction:column;align-items:flex-start}.us-project-drawer .ch-create-note{line-height:1.6}@media (hover:hover) and (pointer:fine){.cp-workbench .cp-explorer-bar .cp-tree-action,.cp-workbench .cp-file-tab:not([data-selected=true]) .cp-file-tab-close{opacity:0;transition:opacity .12s}.cp-workbench .cp-explorer:hover .cp-tree-action,.cp-workbench .cp-explorer:focus-within .cp-tree-action,.cp-workbench .cp-file-tab:hover .cp-file-tab-close,.cp-workbench .cp-file-tab:focus-within .cp-file-tab-close{opacity:1}.us-card-actions button:not([aria-pressed=true]){opacity:.49}.us-question-card:hover .us-card-actions button,.us-question-card:focus-within .us-card-actions button{opacity:1}}@media (max-width:920px){.us-home-layout,.us-ranking-layout{grid-template-columns:minmax(0,1fr) minmax(210px,25%);gap:16px}.us-progress-figure{gap:10px;padding-inline:12px}.us-progress-ring{width:62px;height:62px}.us-code-sample{opacity:.45;font-size:8px}.ch-practice-workspace .cq-timer{display:none}}@media (max-width:720px){.coding-hub .ch-header-inner,.coding-hub .ch-main{width:calc(100% - 32px)}.coding-hub .ch-header-inner{flex-wrap:nowrap;gap:18px;min-height:53px}.coding-hub .ch-header nav{min-height:initial;flex-basis:auto;order:0;gap:9px;overflow:visible}.coding-hub .ch-header nav a{font-size:12px}.coding-hub .ch-header-actions{gap:3px;margin-inline-start:auto}.us-home-layout,.us-ranking-layout{grid-template-columns:minmax(0,1fr)}.us-side{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}.us-features{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:10px;margin-bottom:23px}.us-daily,.us-cloud-feature{border-radius:13px;min-height:180px}.us-daily-copy{width:66%;padding:16px}.us-cloud-feature{padding:16px}.us-cloud-feature p{max-width:15em}.us-code-sample{display:none}.us-page-heading{margin-bottom:14px}.coding-hub .ch-main{padding-block:22px 40px}.us-today{font-size:11px}.ch-practice-workspace .cq-topbar{gap:3px!important;padding-inline:5px!important}.ch-practice-workspace .cq-topbar-end{gap:2px}}@media (max-width:545px){.coding-hub .ch-header-inner,.coding-hub .ch-main{width:calc(100% - 24px)}.coding-hub .ch-header-inner{gap:12px}.coding-hub .ch-header nav{gap:7px}.coding-hub .ch-header nav a{padding:4px 1px}.coding-hub .ch-header nav a[aria-current=page]:after{inset-inline:0}.us-brand,.ch-brand>.us-brand{gap:5px}.us-brand img{width:26px;height:26px}.us-brand b{letter-spacing:-1.3px;font-size:22px}.us-cloud-link{padding:5px}.us-cloud-link span,.coding-hub .cp-account-name,.coding-hub .cp-account-trigger>svg{display:none}.coding-hub .ch-theme{width:27px}.coding-hub .cp-account-trigger{padding-inline:1px}.us-features{grid-template-columns:minmax(0,1fr)}.us-daily{min-height:172px}.us-daily-copy{padding:18px 20px}.us-cloud-feature{grid-template-columns:auto 1fr auto;align-content:center;align-items:center;gap:2px 11px;min-height:68px;padding:12px 14px;display:grid}.us-cloud-feature-top{grid-row:1/3;margin:0}.us-cloud-feature h2{font-size:17px}.us-cloud-feature p{grid-column:2;max-width:none;margin:0;font-size:11px}.us-window-dots{display:none}.us-cloud-cta{grid-area:1/3/3/4;gap:3px;margin:0;font-size:11px}.us-question-grid{gap:9px}.us-question-card{min-height:169px;padding:12px}.us-question-card h3{font-size:16px}.us-card-summary{margin-bottom:8px;font-size:12px}.us-card-foot{flex-wrap:wrap;gap:5px;font-size:10px}.us-topic-icon{border-radius:8px;width:29px;height:29px}.us-topic-icon svg{width:18px;height:18px}.us-small-actions{gap:4px}.us-section-heading{margin-bottom:9px}.us-section-heading h2{font-size:20px}.us-nav-step,.us-nav-trigger span,.ch-practice-workspace .cq-topbar-divider,.ch-practice-workspace .cq-timer{display:none!important}.ch-practice-workspace .cq-topbar-start{gap:2px}.ch-practice-workspace .cq-topbar-end,.ch-practice-workspace .cq-topbar-start{flex:0 auto}.cp-workbench .cp-toolbar{grid-template-columns:minmax(0,1fr) auto auto;gap:3px;padding-inline:4px}.cp-workbench .cp-title,.cp-workbench .cp-controls{gap:2px}.cp-workbench .cp-brand-icon{width:24px;height:24px;display:flex}.cp-workbench .cp-brand-icon img{width:23px;height:23px}.us-project-switch{justify-content:center;min-width:26px;min-height:28px;padding:4px}.us-project-switch span,.us-project-switch svg:last-child,.cp-workbench .cp-quiz-link{display:none}.cp-workbench .cp-icon-button{min-width:26px}.cp-workbench .cp-execution{gap:0}.cp-workbench .cp-execution .cp-run{min-width:43px}.us-project-drawer{padding:14px 12px}}@media (max-width:355px){.us-card-foot>.us-card-arrow{display:none}.coding-hub .ch-header-inner{gap:6px}.us-question-grid{grid-template-columns:minmax(0,1fr)}.us-question-card{min-height:150px}.coding-hub .ch-header nav{gap:5px}}@media (prefers-reduced-motion:reduce){.us-project-drawer,[class^=us-]{scroll-behavior:auto!important;transition:none!important;animation:none!important}.us-question-card:hover{transform:none}}
