.manage-own-account{color:var(--color-success)}#submit-remote-account{width:min(150px,100%)}.submit-language-picker{width:100%}.submit-language-picker>.form-select{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.submit-language-menu{max-height:min(60vh,32rem);overflow-y:auto;width:100%}.submit-language-groups{align-items:start;display:grid;gap:1.5rem 1.25rem;grid-template-columns:repeat(auto-fit,minmax(min(10rem,100%),1fr))}.submit-language-group-wide{grid-column:1/-1}.submit-language-group-title{--submit-language-group-rgb:var(--bs-primary-rgb);background:rgba(var(--submit-language-group-rgb),.28);border-left:.25rem solid rgb(var(--submit-language-group-rgb));border-radius:var(--bs-border-radius-sm);color:var(--bs-emphasis-color);font-size:.875rem;font-weight:700;line-height:1.2;margin-bottom:.375rem;padding:.375rem .5rem}.submit-language-options{display:grid;gap:.125rem .5rem;grid-template-columns:repeat(auto-fit,minmax(min(9rem,100%),1fr))}.submit-language-option{border-radius:var(--bs-border-radius-sm);font-size:.75rem;font-weight:400;line-height:1.25;min-width:0;overflow-wrap:anywhere;padding:.25rem .625rem;white-space:normal}.submit-language-option:not(.active){color:var(--bs-secondary-color)}#solution-file-row{margin-top:.75rem}.submit-code-file-dropzone{align-items:center;background:var(--bs-tertiary-bg);border:1px dashed var(--bs-border-color);border-radius:var(--bs-border-radius);color:var(--bs-body-color);cursor:pointer;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;min-height:3.25rem;padding:.625rem 1rem;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease;width:100%}.submit-code-file-dropzone>.fa{color:var(--bs-primary);font-size:1.125rem}.submit-code-file-dropzone.is-dragging,.submit-code-file-dropzone:focus-visible,.submit-code-file-dropzone:hover{background:rgba(var(--bs-primary-rgb),.12);border-color:var(--bs-primary)}.submit-code-file-dropzone:focus-visible{box-shadow:0 0 0 .25rem rgba(var(--bs-primary-rgb),.25);outline:0}.submit-code-file-dropzone.is-dragging{border-style:solid}.submit-code-file-drop-hint{color:var(--bs-secondary-color)}.CodeMirror.submit-code-editor{border:1px solid var(--bs-border-color);border-radius:var(--bs-border-radius);font-family:var(--bs-font-monospace);font-size:.875rem;height:min(67vh,32rem)}.CodeMirror.submit-code-editor.is-invalid{border-color:var(--bs-form-invalid-border-color)}.CodeMirror.submit-code-editor.CodeMirror-focused{border-color:#86b7fe;box-shadow:0 0 0 .25rem rgba(var(--bs-primary-rgb),.25)}.CodeMirror.submit-code-editor.CodeMirror-fullscreen{border-radius:0;height:auto;z-index:1060}.CodeMirror.submit-code-editor .CodeMirror-gutters{border-right-color:var(--bs-border-color)}.CodeMirror.submit-code-editor .CodeMirror-lines{padding-right:2.75rem}.submit-code-fullscreen-toggle{align-items:center;background:var(--bs-body-bg);display:inline-flex;height:2rem;justify-content:center;padding:0;position:absolute;right:.5rem;top:.5rem;width:2rem;z-index:10}.submit-code-validation{color:var(--bs-form-invalid-color);font-size:.875rem;margin-top:.25rem;min-height:1.25rem}table.vap{font-size:12px;table-layout:fixed;text-align:center}table.vap th:first-child{width:50px}table.vap th:nth-child(2),table.vap th:nth-child(3){width:150px}table.vap td{padding:0 5px;vertical-align:middle}table.vap td:nth-child(3){color:var(--color-danger)}.CodeMirror{color:#000;direction:ltr;font-family:monospace;height:300px}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{background-color:#f7f7f7;border-right:1px solid #ddd;white-space:nowrap}.CodeMirror-linenumber{color:#999;min-width:20px;padding:0 3px 0 5px;text-align:right;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{background:#7e7;border:0!important;width:auto}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}.cm-fat-cursor{caret-color:transparent}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:-50px}.CodeMirror-ruler{border-left:1px solid #ccc;bottom:0;position:absolute;top:0}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:blue}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{background:#fff;overflow:hidden;position:relative}.CodeMirror-scroll{height:100%;margin-bottom:-50px;margin-right:-50px;outline:none;overflow:scroll!important;padding-bottom:50px;position:relative;z-index:0}.CodeMirror-sizer{border-right:50px solid transparent;position:relative}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{display:none;outline:none;position:absolute;z-index:6}.CodeMirror-vscrollbar{overflow-x:hidden;overflow-y:scroll;right:0;top:0}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-x:scroll;overflow-y:hidden}.CodeMirror-scrollbar-filler{bottom:0;right:0}.CodeMirror-gutter-filler{bottom:0;left:0}.CodeMirror-gutters{left:0;min-height:100%;position:absolute;top:0;z-index:3}.CodeMirror-gutter{display:inline-block;height:100%;margin-bottom:-50px;vertical-align:top;white-space:normal}.CodeMirror-gutter-wrapper{background:none!important;border:none!important;position:absolute;z-index:4}.CodeMirror-gutter-background{bottom:0;position:absolute;top:0;z-index:4}.CodeMirror-gutter-elt{cursor:default;position:absolute;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;color:inherit;line-height:inherit;overflow:visible;position:relative;z-index:2;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{bottom:0;left:0;position:absolute;right:0;top:0;z-index:0}.CodeMirror-linewidget{padding:.1px;position:relative;z-index:2}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{height:0;overflow:hidden;position:absolute;visibility:hidden;width:100%}.CodeMirror-cursor{pointer-events:none;position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{position:relative;visibility:hidden;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.cm-s-darcula{font-family:Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif}.cm-s-darcula.CodeMirror{background:#2b2b2b;color:#a9b7c6}.cm-s-darcula span.cm-meta{color:#bbb529}.cm-s-darcula span.cm-number{color:#6897bb}.cm-s-darcula span.cm-keyword{color:#cc7832;font-weight:700;line-height:1em}.cm-s-darcula span.cm-def{color:#a9b7c6;font-style:italic}.cm-s-darcula span.cm-variable,.cm-s-darcula span.cm-variable-2{color:#a9b7c6}.cm-s-darcula span.cm-variable-3{color:#9876aa}.cm-s-darcula span.cm-type{color:#abc;font-weight:700}.cm-s-darcula span.cm-property{color:#ffc66d}.cm-s-darcula span.cm-operator{color:#a9b7c6}.cm-s-darcula span.cm-string,.cm-s-darcula span.cm-string-2{color:#6a8759}.cm-s-darcula span.cm-comment{color:#61a151;font-style:italic}.cm-s-darcula span.cm-atom,.cm-s-darcula span.cm-link{color:#cc7832}.cm-s-darcula span.cm-error{color:#bc3f3c}.cm-s-darcula span.cm-tag{color:#629755;font-style:italic;font-weight:700;text-decoration:underline}.cm-s-darcula span.cm-attribute{color:#6897bb}.cm-s-darcula span.cm-qualifier{color:#6a8759}.cm-s-darcula span.cm-bracket{color:#a9b7c6}.cm-s-darcula span.cm-builtin,.cm-s-darcula span.cm-special{color:#ff9e59}.cm-s-darcula span.cm-matchhighlight{background-color:rgba(50,89,48,.7);color:#fff;font-weight:400}.cm-s-darcula span.cm-searching{background-color:rgba(61,115,59,.7);color:#fff;font-weight:400}.cm-s-darcula .CodeMirror-cursor{border-left:1px solid #a9b7c6}.cm-s-darcula .CodeMirror-activeline-background{background:#323232}.cm-s-darcula .CodeMirror-gutters{background:#313335;border-right:1px solid #313335}.cm-s-darcula .CodeMirror-guttermarker{color:#ffee80}.cm-s-darcula .CodeMirror-guttermarker-subtle{color:#d0d0d0}.cm-s-darcula .CodeMirrir-linenumber{color:#606366}.cm-s-darcula .CodeMirror-matchingbracket{background-color:#3b514d;color:#ffef28!important;font-weight:700}.cm-s-darcula div.CodeMirror-selected{background:#214283}.CodeMirror-hints.darcula{background-color:#3b3e3f!important;color:#9c9e9e;font-family:Menlo,Monaco,Consolas,Courier New,monospace}.CodeMirror-hints.darcula .CodeMirror-hint-active{background-color:#494d4e!important;color:#9c9e9e!important}.cm-s-idea span.cm-meta{color:olive}.cm-s-idea span.cm-number{color:blue}.cm-s-idea span.cm-keyword{color:navy;font-weight:700;line-height:1em}.cm-s-idea span.cm-atom{color:navy;font-weight:700}.cm-s-idea span.cm-def,.cm-s-idea span.cm-operator,.cm-s-idea span.cm-property,.cm-s-idea span.cm-type,.cm-s-idea span.cm-variable,.cm-s-idea span.cm-variable-2,.cm-s-idea span.cm-variable-3{color:#000}.cm-s-idea span.cm-comment{color:gray}.cm-s-idea span.cm-string,.cm-s-idea span.cm-string-2{color:green}.cm-s-idea span.cm-qualifier{color:#555}.cm-s-idea span.cm-error{color:red}.cm-s-idea span.cm-attribute{color:blue}.cm-s-idea span.cm-tag{color:navy}.cm-s-idea span.cm-link{color:blue}.cm-s-idea .CodeMirror-activeline-background{background:#fffae3}.cm-s-idea span.cm-builtin{color:#30a}.cm-s-idea span.cm-bracket{color:#cc7}.cm-s-idea{font-family:Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif}.cm-s-idea .CodeMirror-matchingbracket{color:#000!important;outline:1px solid grey}.CodeMirror-hints.idea{background-color:#ebf3fd!important;color:#616569;font-family:Menlo,Monaco,Consolas,Courier New,monospace}.CodeMirror-hints.idea .CodeMirror-hint-active{background-color:#a2b8c9!important;color:#5c6065!important}.CodeMirror-fullscreen{bottom:0;height:auto;left:0;position:fixed;right:0;top:0;z-index:9}#prob-left-panel{--left-panel-width:320px}#prob-title{padding-left:55px;white-space:nowrap}#prob-title h2{display:inline}#prob-title .origin{padding-left:20px}#prob-operation>.row{margin-left:0;margin-right:0}#prob-operation>.row>div{padding:3px}#prob-operation a,#prob-operation button{padding-left:4px;padding-right:4px;width:100%}.problem-side-panel-column{--bs-offcanvas-width:clamp(240px,72vw,340px)}.problem-side-panel-body{display:flex;flex-direction:column;gap:16px;padding:16px}.problem-side-panel-section{margin:0;width:100%}#prob-right-panel{padding-top:30px}@media(min-width:768px){#prob-left-panel{max-height:100vh;overflow-y:auto;padding-top:30px;position:sticky;top:0}.problem-side-panel-body{padding:0;width:100%}}.problem-side-panel-alert{margin-left:3px;margin-right:3px}#prob-properties dl,#prob-statistics dl{flex-direction:row;font-size:12px;margin:0;overflow:hidden;padding:5px 0;width:100%}#prob-properties dd,#prob-properties dt,#prob-statistics dd,#prob-statistics dt{margin-bottom:0;padding:5px 5px 5px 15px}#prob-properties .problem-spoiler-toggle-row{padding:6px 8px 8px}#prob-properties .toggle-problem-spoiler{background-color:rgba(var(--bs-secondary-rgb),.08);border-style:dashed;font-weight:600;min-height:30px;width:100%}#prob-properties .toggle-problem-spoiler:focus-visible,#prob-properties .toggle-problem-spoiler:hover{background-color:rgba(var(--bs-secondary-rgb),.14)}html[data-bs-theme=dark] #prob-my-sols td{background-color:transparent}#prob-my-sols{font-size:12px}#prob-my-sols table{margin-bottom:0;table-layout:fixed;width:100%}#prob-my-sols th.result{width:60%}#prob-my-sols td{background-color:#fff;cursor:pointer;padding:5px;text-align:center}#prob-my-sols td.accepted{color:#5cb85c;font-weight:700}#prob-my-sols td.failed{color:#d9534f}#prob-my-sols td.pending{color:gray}.used-in-contests-table{font-size:14px;margin-bottom:0;table-layout:fixed}.used-in-contests-table col.title{min-width:260px}.used-in-contests-table th.contestants{width:90px}.used-in-contests-table th.date{width:180px}.used-in-contests-table th.length{width:100px}.used-in-contests-table th.owner{width:180px}.used-in-contests-table td,.used-in-contests-table th{line-height:20px;padding:5px 10px;vertical-align:middle}.used-in-contests-table .title{text-align:left}.used-in-contests-table td.title img{height:18px}.used-in-contests-table td.title div{height:20px;overflow:hidden;white-space:nowrap}.used-in-contests-table td.title:hover div{overflow:visible}.used-in-contests-table .contestants,.used-in-contests-table .date,.used-in-contests-table .length{text-align:center;white-space:nowrap}.used-in-contests-table td.date .localizedTime{display:inline-grid}.used-in-contests-table .owner{text-align:left}.used-in-contests-table td.owner img{margin-right:5px;max-height:18px;max-width:18px}.used-in-contests-table td.owner div{height:20px;overflow:hidden;white-space:nowrap}@media(max-width:767.98px){#prob-title{padding-left:0;white-space:nowrap}#prob-title .origin{display:inline;margin-top:0;padding-left:12px}#problem_discuss{padding-left:0}}#prob-descs{margin-bottom:0;padding-left:0;padding-right:0;width:100%}#prob-descs .problem-description-item{align-items:flex-start;cursor:pointer;display:flex;flex-wrap:nowrap;gap:6px;padding:6px}#prob-descs .problem-description-item.active{background-color:rgba(0,137,255,.25);color:var(--bs-body-color)}#prob-descs .problem-description-item.active .problem-description-item-actions{pointer-events:auto;visibility:visible}#prob-descs .problem-description-item-avatar{flex:0 0 auto;height:40px;margin-top:2px;object-fit:cover;width:40px}#prob-descs .problem-description-item-prefix{align-items:center;display:inline-flex;flex:0 0 auto;gap:6px;min-height:40px}#prob-descs .problem-description-item-actions{align-items:center;display:flex;flex:0 0 auto;gap:8px;margin-left:auto;pointer-events:none;visibility:hidden}#prob-descs .problem-description-item-main{display:grid;flex:1 1 130px;grid-template-rows:auto auto;min-width:0;row-gap:3px}#prob-descs .problem-description-item-meta{align-items:center;display:flex;gap:8px;justify-content:space-between;min-height:22px;min-width:0}#prob-descs .statement-author-row{align-items:center;display:flex;flex-wrap:nowrap;gap:4px;overflow:hidden}#prob-descs .statement-author-row>:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.problem-description-list-header{align-items:center;background-color:hsla(0,0%,100%,.5);border:0;border-bottom:1px solid #eceeef;color:#373a3c;cursor:pointer;display:flex;font-size:12px;font-weight:700;justify-content:space-between;min-height:43px;padding:12px 8px 12px 16px;text-align:left;width:100%}.problem-description-list-header:focus-visible,.problem-description-list-header:hover{background-color:hsla(0,0%,100%,.5)}.problem-description-filter-panel{background-color:var(--bs-body-bg);border:1px solid var(--bs-border-color);border-bottom:0;padding:8px}.problem-description-filter-field .problem-description-filter-menu.show{margin-top:4px;position:static;transform:none!important}.problem-description-filter-menu{max-height:min(48vh,360px);min-width:120px;overflow-x:hidden;overflow-y:auto;width:100%}.problem-description-filter-field[data-filter-kind=lang] .problem-description-filter-menu{min-width:min(220px,100vw - 32px)}.problem-description-filter-option-row{font-size:12px;white-space:nowrap}.problem-description-filter-option-row.is-empty span{color:#adb5bd}.statement-update-time{color:gray;font-size:small;white-space:nowrap}.statement-badge{align-items:center;border-radius:999px;display:inline-flex;flex:0 0 auto;font-size:11px;font-weight:600;line-height:1.4;padding:1px 6px;white-space:nowrap}.statement-badge-official{background-color:rgba(76,110,245,.1);border:1px solid rgba(76,110,245,.25);color:#3353cc}.statement-badge-lang{background-color:rgba(108,117,125,.1);border:1px solid rgba(108,117,125,.2);color:#5d6670}.statement-badge-key{background-color:rgba(25,135,84,.1);border:1px solid rgba(25,135,84,.24);color:#18794e}.statement-badge-private{background-color:rgba(220,53,69,.12);border:1px solid rgba(220,53,69,.36);color:#b02a37}html[data-bs-theme=dark] .problem-description-list-header,html[data-bs-theme=dark] .problem-description-list-header:focus-visible,html[data-bs-theme=dark] .problem-description-list-header:hover{background-color:#444;border-bottom-color:#555;color:#aeaeae}html[data-bs-theme=dark] .problem-description-filter-option-row.is-empty span{color:#747b82}html[data-bs-theme=dark] .statement-update-time{color:#9aa0a6}html[data-bs-theme=dark] .statement-badge-official{background-color:rgba(88,166,255,.14);border-color:rgba(88,166,255,.38);color:#8bc2ff}html[data-bs-theme=dark] .statement-badge-lang{background-color:rgba(173,181,189,.14);border-color:rgba(173,181,189,.28);color:#d0d6dc}html[data-bs-theme=dark] .statement-badge-key{background-color:rgba(63,185,80,.16);border-color:rgba(63,185,80,.36);color:#9be9a8}html[data-bs-theme=dark] .statement-badge-private{background-color:rgba(248,81,73,.18);border-color:rgba(248,81,73,.46);color:#ffb4ad}#problem_discuss{margin-top:40px;padding-left:30px}