@font-face{font-family:DOMjudge Roboto;src:url(../media/roboto-latin-wght-normal.113jqrlu1v-_f.woff2)format("woff2");font-weight:100 900;font-display:swap}@font-face{font-family:DOMjudge Roboto;src:url(../media/roboto-latin-wght-italic.0pjgqn4686bbq.woff2)format("woff2");font-style:italic;font-weight:100 900;font-display:swap}.contest-interface-switch{color:#374151;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #adb5bd;border-radius:.25rem;flex-shrink:0;justify-content:center;align-items:center;gap:.35rem;padding:.35rem .6rem;font:600 .8125rem/1.4 system-ui,sans-serif;display:inline-flex}.contest-interface-switch:hover{background:#f1f5f9}.contest-interface-switch:disabled{opacity:.6;cursor:wait}[data-contest-ui=domjudge],.dj-dialog{color:#212529;background:#fff;font-family:DOMjudge Roboto,Roboto,Arial,Microsoft YaHei,sans-serif}[data-contest-ui=domjudge] :is(.font-serif,.font-sans,.prose){font-family:inherit!important}.dj-main{flex:1;width:100%;min-width:0}[data-contest-ui=domjudge] :focus-visible,.dj-dialog :focus-visible,.contest-interface-switch:focus-visible{outline-offset:2px;outline:2px solid #1374db}.dj-bar{z-index:40;color:#f8f9fa;background:#212529;position:sticky;top:0}.dj-bar :focus-visible{outline-color:#7bb7ff}.dj-nav-row,.dj-navigation,.dj-links,.dj-actions,.dj-links>*,.dj-clock{align-items:center;display:flex}.dj-nav-row{min-height:3.5rem;padding:.5rem .625rem}.dj-brand-menu{margin-right:1rem;position:relative}.dj-brand{color:#fff;white-space:nowrap;cursor:pointer;font-size:1.25rem;line-height:1.5}.dj-navigation{flex:1;justify-content:space-between;min-width:0}.dj-links>*{color:#ffffff8c;white-space:nowrap;cursor:pointer;gap:.3em;padding:.5rem;line-height:1.5}.dj-links>:hover{color:#ffffffbf}.dj-links [aria-current=page]{color:#fff}.dj-links [aria-disabled=true]{color:#ffffff40;cursor:default}.dj-bar svg,.dj-success svg,.dj-secondary svg{flex-shrink:0;display:inline-block}.dj-links svg,.dj-actions .dj-action svg{width:1.25em;height:1em}.dj-success svg:not([width]),.dj-secondary svg:not([width]){width:1.05em;height:1.05em}.dj-nav-toggle{display:none}.dj-menu-panel{z-index:2;color:#212529;background:#fff;border:1px solid #0003;border-radius:.375rem;min-width:12rem;padding:.3rem 0;position:absolute;top:calc(100% + .4rem);left:0;box-shadow:0 .3rem .8rem #0002}.dj-menu-panel>*{text-align:left;width:100%;font:inherit;white-space:nowrap;cursor:pointer;border:0;border-radius:0;justify-content:flex-start;gap:.4rem;padding:.4rem .9rem;display:flex}.dj-menu-panel>:hover{background:#e9ecef}.dj-actions{gap:1rem}.dj-actions .dj-action,.dj-request{white-space:nowrap;cursor:pointer;border:1px solid #0000;border-radius:.25rem;justify-content:center;align-items:center;gap:.25rem;padding:.25rem .5rem;font-size:.875rem;font-weight:400;line-height:1.5;display:inline-flex}.dj-notify{color:#000;background:#ffc107}.dj-notify:hover{background:#ffca2c}.dj-logout{color:#000;background:#0dcaf0}.dj-logout:hover{background:#31d2f2}.dj-clock{color:#ffffff8c;font-variant-numeric:tabular-nums;white-space:nowrap;gap:.35em;padding-inline:.15rem}.dj-progress{background:#e9ecef;width:100%;height:.4rem;position:absolute;top:100%;left:0}.dj-progress>div{background:#0d6efd;height:100%}.dj-success,.dj-secondary{color:#fff;white-space:nowrap;cursor:pointer;border:1px solid #0000;border-radius:.25rem;justify-content:center;gap:.4rem;width:fit-content;padding:.35rem .7rem;font-size:.925rem;line-height:1.5;display:inline-flex}.dj-success{background:#0a8927}.dj-success:hover{background:#106428}.dj-success:disabled{color:#f3f5f4;cursor:not-allowed;background:#53695a}.dj-secondary{background:#6c757d}.dj-secondary:hover{background:#50585e}[data-contest-ui=domjudge] .contest-board-inner{width:100%;max-width:none;margin:0 auto;padding:1.5rem .9rem 2.5rem}[data-contest-ui=domjudge] .contest-overview{display:none}[data-contest-ui=domjudge] .contest-panel{box-shadow:none;border:0;padding:0}.dj-welcome h1,.dj-languages h1,.dj-upload-page>h1{overflow-wrap:anywhere;margin:0 0 1.25rem;font-size:clamp(1.5rem,2.4vw,2.25rem);font-weight:500;line-height:1.2}.dj-table-scroll{width:100%;overflow-x:auto}.dj-home{color:#000;width:100%;padding:3.5rem .8rem 4rem .6rem;line-height:1.5}.dj-score-scroll{overflow-x:auto}.dj-team-score{border-collapse:collapse;text-align:center;white-space:nowrap;margin-inline:auto}.dj-team-score tr{border-bottom:1px solid #000;height:42px}.dj-team-score thead{border-bottom:2px solid #000}.dj-team-score thead th{font-variant:small-caps;border-right:1px solid silver;font-weight:700}.dj-team-score tbody :is(td,th){vertical-align:middle;border-right:1px solid silver;font-size:small}.dj-team-score a:hover{text-decoration:underline}.dj-badge{color:#000;text-align:center;vertical-align:baseline;white-space:nowrap;background:#e9ecef;border:1px solid #0004;border-radius:.375rem;min-width:2em;padding:.33em .5em;font-size:1rem;font-weight:700;line-height:1;display:inline-block}.dj-country.fi{vertical-align:middle;background-size:cover;border-radius:.375rem;width:2rem;height:1.5rem;margin:.125rem;box-shadow:0 0 0 1px #0003}.dj-team-score thead a{padding:2px 1px;display:block}.dj-rank-place{text-align:right;padding-inline:.3em}.dj-rank-place a{align-items:center;gap:.35rem;display:inline-flex}.dj-rank-team{text-align:right;min-width:16.3rem;padding:0 .35rem;font-weight:400}.dj-team-trigger{cursor:pointer}.dj-rank-team .dj-team-trigger,.dj-team-name{justify-content:flex-end;align-items:center;gap:.45rem;display:flex}.dj-rank-team .dj-team-trigger{width:100%;text-align:inherit}.dj-rank-team .dj-team-trigger>img{margin-inline-end:auto}.dj-team-name{gap:1.5em}.dj-category{color:#000;background:#ffc107;border-radius:.4rem;padding:.05em .55em;font-size:.9em}.dj-category[data-category="2"]{color:#442465;background:#e4d5fa}.dj-school{color:#6c757d;font-size:.95em;display:block}.dj-team-score .dj-rank-solved,.dj-rank-penalty{min-width:2.5rem}.dj-team-score .dj-rank-solved{border-right:0;font-weight:700}.dj-team-score .dj-rank-problem{border-right:0;min-width:4.2em;padding:2px 1px}.dj-score-cell{min-width:4em;font-size:120%;line-height:1.5;display:block}.dj-score-cell small{font-size:70%;display:block}.dj-score-correct{background:#60e760}.dj-score-first{background:#1daa1d}.dj-score-incorrect{background:#e87272}.dj-score-pending{background:#66f}.dj-home-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;margin-top:2.8rem;display:grid}.dj-home-columns>section{min-width:0}.dj-section-title{text-align:center;background:#c4d8ff;border-block:1px solid #a9a9a9;margin:0 0 .5rem;padding-left:1ex;font-size:1.25rem;font-weight:450;line-height:1.12}.dj-section-title a:hover{text-decoration:underline}.dj-data-table{border-collapse:collapse;width:100%;margin-bottom:1rem;font-size:1rem}.dj-data-table tr{border-bottom:1px solid silver}.dj-data-table :is(th,td){text-align:left;vertical-align:top;padding:.25rem}.dj-data-table th{font-weight:700}.dj-data-table td>a{color:inherit;padding:3px 5px;display:block}.dj-data-table tbody tr:hover{background:#ffc}.dj-submissions{white-space:nowrap}#dj-submissions,.dj-submissions tr[id]{scroll-margin-top:4rem}.dj-submissions td:nth-child(3){font-variant:small-caps}.dj-submissions th:first-child{width:15.75%}.dj-submissions th:nth-child(2){width:21.7%}.dj-submissions th:nth-child(3){width:15%}.dj-submissions th:nth-child(4){width:35.8%}.dj-submissions td:last-child svg{vertical-align:-.125em;display:inline-block}.dj-result{font-variant:small-caps;font-weight:700}.dj-result-correct{color:green}.dj-result-incorrect{color:red}.dj-result-pending{color:gray}.dj-clarifications{table-layout:fixed}.dj-clarifications th:first-child{width:10.3%}.dj-clarifications th:nth-child(2){width:9.9%}.dj-clarifications th:nth-child(3){width:1.6rem}.dj-clarifications+.dj-section-title,.dj-empty+.dj-section-title{margin-top:1.3rem}.dj-data-table .dj-excerpt{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:1.0625rem;font-style:italic;line-height:1.45;display:-webkit-box;overflow:hidden}.dj-excerpt-line{display:block}.dj-excerpt code{color:#d63384;font-size:.875em}.dj-unread{font-weight:700}.dj-empty{color:#767676;margin:0 0 1rem;font-size:1.0625rem;font-style:italic}.dj-home .dj-request{margin:.05rem .25rem .25rem;padding:.25rem .5rem;font-size:.875rem}.dj-no-submissions{color:#664d03;background:#fff3cd;border:1px solid #ffecb5;border-radius:.375rem;padding:1rem}.dj-welcome{text-align:center;margin-bottom:2.5rem}.dj-welcome p{font-size:1.25rem}.dj-languages{max-width:72rem;margin:1rem auto}.dj-languages h1{text-align:center;margin-bottom:2.5rem}.dj-languages>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;display:grid}.dj-languages article{border:1px solid #ced4da;border-radius:.375rem;padding:1.5rem}.dj-languages h2{margin-bottom:.75rem;font-size:1.5rem;font-weight:500}.dj-languages ul{gap:.5rem;display:flex}.dj-languages li{background:#e9ecef;border-radius:.25rem;padding:.1rem .5rem;font-family:monospace}.dj-editor-link{color:#005bbd}.dj-editor-link:hover{text-decoration:underline}.dj-problemset{color:#000}.dj-problemset header{flex-wrap:wrap;justify-content:center;align-items:baseline;gap:.4rem .6rem;margin-bottom:.5rem;display:flex}.dj-problemset h1{text-align:center;overflow-wrap:anywhere;font-size:clamp(1.75rem,1.375rem + 1.5vw,2.5rem);font-weight:500;line-height:1.2}.dj-set-downloads,.dj-card-downloads{flex-wrap:wrap;justify-content:center;gap:.25rem;display:flex}.dj-set-downloads{gap:.6rem}.dj-set-downloads:empty{display:none}.dj-problemset :is(.dj-secondary,.dj-success){border-radius:.375rem;align-items:center;padding:.375rem .75rem;font-size:1rem}.dj-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;max-width:81rem;margin:0 auto;display:grid}.dj-problem-card{text-align:center;background:#fff;border:1px solid #0003;border-radius:.375rem;flex-direction:column;min-width:0;padding:1rem;display:flex}.dj-problem-card h2{margin-bottom:.3rem}.dj-problem-card .dj-badge{font-size:1.17rem}.dj-problem-card h3{color:#565b60;overflow-wrap:anywhere;margin-bottom:.15rem;font-size:1.12rem;font-weight:500;line-height:1.2}.dj-problem-card h3 a:hover{color:#005bbd;text-decoration:underline}.dj-problem-card p{color:#565b60;font-size:.83rem;font-weight:500;line-height:1.45}.dj-problem-stats{gap:10px;margin:1.5rem 0;display:grid}.dj-stats-row{grid-template-columns:repeat(20,minmax(0,10px));justify-content:center;gap:3px;display:grid}.dj-stats-row>span{border-radius:2px;height:10px;box-shadow:inset 0 0 0 1px #1b1f230a}.dj-problem-submit{margin-top:auto}.dj-card-downloads{margin-top:.625rem}.dj-no-problems{background:#e2e3e5;border:1px solid #c4c8cb;border-radius:.375rem;padding:1rem}.dj-dialog{z-index:60;position:relative}.dj-backdrop,.dj-dialog-position{position:fixed;inset:0}.dj-backdrop{background:#00000080}.dj-dialog-position{padding:1.75rem .75rem;overflow-y:auto}.dj-dialog-panel,.dj-upload-page{background:#fff;border:1px solid #ced4da;border-radius:.4rem;width:100%;max-width:42rem;margin-inline:auto}.dj-dialog-panel>header,.dj-upload-page>h1{border-bottom:1px solid #dee2e6;padding:.9rem 1.15rem}.dj-dialog-panel>header{justify-content:space-between;align-items:center;display:flex}.dj-dialog-panel h2,.dj-upload-page>h1{margin:0;font-size:1.25rem;font-weight:500}.dj-dialog-panel>header button{color:#495057;cursor:pointer;padding:.35rem}.dj-board-dialog{max-width:50rem}.dj-board-dialog-body{padding:1rem}.dj-board-dialog footer{text-align:right;border-top:1px solid #dee2e6;padding:.75rem}.dj-dialog-table{border-collapse:collapse;text-align:left;width:100%}.dj-dialog-table :is(th,td){border-bottom:1px solid #dee2e6;padding:.25rem}.dj-dialog-table th{font-weight:700}.dj-dialog-table tbody tr:nth-child(odd){background:#f2f2f2}.dj-dialog-affiliation{vertical-align:middle;align-items:center;gap:.5rem;max-width:100%;display:inline-flex}.dj-submit-form fieldset{min-width:0}.dj-submissions-closed{margin:1rem 1.15rem}.dj-field{padding:1rem 1.15rem 0}.dj-field label{font-weight:500;display:block}.dj-submit-form :is(select,input,textarea){width:100%;min-height:2.4rem;font:inherit;background:#fff;border:1px solid #adb5bd;border-radius:.3rem;margin-top:.35rem;padding:.3rem .6rem;font-weight:400;display:block}.dj-submit-form input[type=file]{padding:0}.dj-submit-form input::file-selector-button{cursor:pointer;background:#e9ecef;border-right:1px solid #adb5bd;margin-right:.65rem;padding:.45rem .7rem}.dj-form-actions{border-top:1px solid #dee2e6;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.6rem;margin-top:1.25rem;padding:.85rem 1.15rem;display:flex}.dj-editor-link{margin-right:auto}.dj-error{color:#842029;background:#f8d7da;margin:.75rem 1.15rem;padding:.5rem .75rem}@media (max-width:72rem){.dj-nav-row{flex-wrap:wrap;justify-content:space-between}.dj-nav-toggle{color:#ffffffa6;cursor:pointer;border:1px solid #ffffff40;border-radius:.3rem;align-items:center;padding:.4rem .7rem;display:flex}.dj-navigation{flex-basis:100%;display:none}.dj-navigation[data-expanded=true]{display:block}.dj-links{flex-direction:column;align-items:stretch}.dj-actions{flex-wrap:wrap;gap:.6rem;padding:.5rem}.dj-links>*{padding-inline:.15rem}}@media (max-width:62rem){.dj-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dj-clarifications th:first-child,.dj-clarifications th:nth-child(2){width:4.7rem}}@media (max-width:48rem){.dj-home{padding-top:1.75rem}.dj-home-columns,.dj-cards,.dj-languages>div{grid-template-columns:minmax(0,1fr)}.dj-home-columns{gap:1.25rem;margin-top:1.75rem}.dj-clarifications th:first-child,.dj-clarifications th:nth-child(2){width:4.3rem}.dj-clarifications th:nth-child(3){width:2rem}.contest-interface-switch{padding-inline:.4rem}}@media print{.dj-bar,.dj-dialog{display:none}[data-contest-ui=domjudge] .contest-board-inner{padding:0}}
