html.ctoj-ui #app #problem-main #submit-code .ctc-legacy{display:none!important}
html.ctoj-ui #app #problem-main .ctc-panel{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--cu-border,#dce6f2);padding-bottom:8px}
.ctc-tabs,.ctc-actions,.ctc-modes{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.ctc-tabs{flex:1 1 200px}.ctc-actions{justify-content:flex-end}
html.ctoj-ui #app #problem-main :is(.ctc-panel,.ctc-height,.ctc-modes) button{font-family:inherit;font-size:12px;line-height:1.4;padding:5px 8px;min-height:28px;border:1px solid var(--cu-border,#d6dfea);border-radius:4px;cursor:pointer;background:var(--cu-surface,#f3f6fa);color:var(--cu-ink,#203b55);white-space:nowrap}
html.ctoj-ui #app #problem-main :is(.ctc-panel,.ctc-height,.ctc-modes) button[aria-pressed="true"]{background:#e7f1ff;border-color:#2985ed;color:#0968cc}
html.ctoj-ui #app #problem-main .ctc-panel .ctc-run{background:#14b86a;color:white;border-color:#14b86a}html.ctoj-ui #app #problem-main .ctc-panel .ctc-all{background:#2985ed;color:white;border-color:#2985ed}html.ctoj-ui #app #problem-main .ctc-panel .ctc-submit{background:#f39a08;color:white;border-color:#f39a08}
html.ctoj-ui #app #problem-main .ctc-panel button:disabled{opacity:.5;cursor:default}.ctc-state{font-size:12px;color:var(--cu-ink,#203b55);display:block;margin-bottom:5px}.ctc-copy{align-self:flex-end;font-size:11px;color:#1671c5;background:transparent;border:0;cursor:pointer}
html.ctoj-ui #app #problem-main .ctc-height{display:flex;justify-content:center;align-items:center;gap:4px;padding:8px 0;flex-wrap:wrap;flex:none;border-bottom:1px solid var(--cu-border,#dce6f2)}html.ctoj-ui #app #problem-main .ctc-height .ctc-grip{cursor:ns-resize;touch-action:none}
.ctc-modes{margin-left:auto}.ctc-panel button:focus-visible,.ctc-height button:focus-visible,.ctc-modes button:focus-visible{outline:3px solid #f3aa28;outline-offset:2px}
html.ctoj-ui.cpw-active #app .content-app>.flex-container>#problem-main:not(.csw-classic):not(.csw-full){grid-template-rows:auto max(var(--cpw-pane-height,680px),var(--ctc-pane-min,810px)) auto!important}
html.ctoj-ui.cpw-active #app #problem-main:not(.csw-classic):not(.csw-full) #submit-code :is(.vue-codemirror-wrap,.CodeMirror){height:var(--ctc-editor-height,480px)!important}
html.ctoj-ui.cpw-active #app #problem-main:not(.csw-classic):not(.csw-full) #submit-code .csw-tests.ctc-ready>.ctc-panel{grid-column:1/-1!important;grid-row:1!important}
html.ctoj-ui.cpw-active #app #problem-main:not(.csw-classic):not(.csw-full) #submit-code .csw-tests.ctc-ready>.csw-trial-input{grid-column:1!important;grid-row:2!important}
html.ctoj-ui.cpw-active #app #problem-main:not(.csw-classic):not(.csw-full) #submit-code .csw-tests.ctc-ready>.csw-trial-output{grid-column:2!important;grid-row:2!important}
html.ctoj-ui.cpw-active #app #problem-main:not(.csw-classic):not(.csw-full) #submit-code .csw-tests.ctc-ready>.csw-report{grid-column:1/-1!important;grid-row:3!important}
html.ctoj-ui #app #problem-main #submit-code .csw-tests.ctc-ready>.csw-report{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:560px){.ctc-actions{width:100%;justify-content:stretch}.ctc-actions button{flex:1}.ctc-modes{margin-left:0}}

html.ctoj-ui #app #problem-main.ctc-active .csw-toolbar>.cl-native-actions{display:none!important}
