html:has(#lattice-extras-marker){--lex-bg:#0a2337;--lex-card:#102e47;--lex-head:#153956;--lex-alt:#0d273d;--lex-border:#25506f;--lex-text:#eaf6ff;--lex-muted:#9ebbd1;--lex-accent:#36bced;--lex-input-bg:#0b2033;--lex-tag-bg:#154060;--lex-tag-border:#2a638b;--lex-today:rgba(54,188,237,0.14);--lex-warn-bg:rgba(245,158,11,0.14);--lex-warn-border:rgba(245,158,11,0.42);--lex-warn-text:#fde68a;--lex-err-bg:rgba(239,68,68,0.15);--lex-err-border:rgba(239,68,68,0.45);--lex-err-text:#fecaca;--lex-diff-ins:rgba(34,197,94,0.18);--lex-diff-del:rgba(239,68,68,0.18);color-scheme:dark}html[data-lattice-theme="light"]:has(#lattice-extras-marker){--lex-bg:#eef7ff;--lex-card:#ffffff;--lex-head:#e4f1fb;--lex-alt:#f5fafe;--lex-border:#c9dfee;--lex-text:#102e47;--lex-muted:#587287;--lex-accent:#0d82b4;--lex-input-bg:#f8fcff;--lex-tag-bg:#e1f1fb;--lex-tag-border:#b3d6ec;--lex-today:rgba(13,130,180,0.11);--lex-warn-bg:#fef9e7;--lex-warn-border:#f3d078;--lex-warn-text:#7c5613;--lex-err-bg:#fef2f2;--lex-err-border:#fecaca;--lex-err-text:#991b1b;--lex-diff-ins:#e6ffec;--lex-diff-del:#ffebe9;color-scheme:light}@media (prefers-color-scheme:light){html[data-lattice-theme="auto"]:has(#lattice-extras-marker){--lex-bg:#eef7ff;--lex-card:#ffffff;--lex-head:#e4f1fb;--lex-alt:#f5fafe;--lex-border:#c9dfee;--lex-text:#102e47;--lex-muted:#587287;--lex-accent:#0d82b4;--lex-input-bg:#f8fcff;--lex-tag-bg:#e1f1fb;--lex-tag-border:#b3d6ec;--lex-today:rgba(13,130,180,0.11);--lex-warn-bg:#fef9e7;--lex-warn-border:#f3d078;--lex-warn-text:#7c5613;--lex-err-bg:#fef2f2;--lex-err-border:#fecaca;--lex-err-text:#991b1b;--lex-diff-ins:#e6ffec;--lex-diff-del:#ffebe9;color-scheme:light}}html:has(#lattice-extras-marker),body:has(#lattice-extras-marker){background:var(--lex-bg)!important;background-image:none!important;color:var(--lex-text)!important}body:has(#lattice-extras-marker){display:flex!important;flex-direction:column!important;min-height:100vh!important;min-height:100dvh!important;margin:0!important}body:has(#lattice-extras-marker) #page-container{display:flex!important;flex-direction:column!important;flex:1 0 auto!important;width:100%!important;max-width:none!important;margin:0!important;background:transparent!important}body:has(#lattice-extras-marker) #page-container>main#content{flex:1 0 auto!important;box-sizing:border-box!important;width:min(1160px,calc(100% - 32px))!important;max-width:1160px!important;margin:0 auto!important;padding:78px 0 44px!important;background:transparent!important}body:has(#lattice-extras-marker) #content>h2,html:has(#lattice-extras-marker) .tabs h2{color:var(--lex-text)!important;font-size:25px!important;font-weight:750!important;margin:0 0 12px!important;border:none!important}body:has(#lattice-extras-marker) #content h3,body:has(#lattice-extras-marker) #content h4{color:var(--lex-text)!important}body:has(#lattice-extras-marker) #content>hr{border:0!important;border-top:1px solid var(--lex-border)!important;margin:12px 0 20px!important}body:has(#lattice-extras-marker) #content-body,body:has(#lattice-extras-marker) #common-content{min-width:0!important;background:transparent!important;color:var(--lex-text)!important}body:has(#lattice-extras-marker) #content a{color:var(--lex-accent)}html:has(#lattice-extras-marker) .admin a,html:has(#lattice-extras-marker) .admin{color:var(--lex-accent)!important}html:has(#lattice-extras-marker) .banned a,html:has(#lattice-extras-marker) .banned{color:var(--lex-muted)!important}body:has(#lattice-extras-marker) #page-container>footer#lattice-discord-footer{flex:0 0 auto!important;margin-top:auto!important}html:has(#lattice-extras-marker) .tabs>ul{display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:0 0 12px!important;margin:0 0 16px!important;border-bottom:1px solid var(--lex-border)!important;list-style:none!important}html:has(#lattice-extras-marker) .tabs li.tab{float:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}html:has(#lattice-extras-marker) .tabs li.tab a,html:has(#lattice-extras-marker) .tabs li.tab span{display:inline-flex!important;align-items:center!important;gap:7px!important;padding:8px 14px!important;border-radius:10px!important;border:1px solid var(--lex-border)!important;background:var(--lex-card)!important;color:var(--lex-text)!important;text-decoration:none!important;font-weight:600!important;font-size:13.5px!important}html:has(#lattice-extras-marker) .tabs li.tab.active a,html:has(#lattice-extras-marker) .tabs li.tab.active span{background:#159bce!important;border-color:#159bce!important;color:#ffffff!important}html:has(#lattice-extras-marker) .form-area,html:has(#lattice-extras-marker) .sidebox,html:has(#lattice-extras-marker) .pane,html:has(#lattice-extras-marker) .content-description.screen,html:has(#lattice-extras-marker) #content-body>.content-description{background:var(--lex-card)!important;border:1px solid var(--lex-border)!important;border-radius:14px!important;box-shadow:0 10px 26px rgba(0,15,35,0.11)!important;color:var(--lex-text)!important;box-sizing:border-box!important}html:has(#lattice-extras-marker) .form-area,html:has(#lattice-extras-marker) .content-description.screen,html:has(#lattice-extras-marker) #content-body>.content-description{padding:20px 22px!important}html:has(#lattice-extras-marker) #problem-clone-panel{position:static!important;top:auto!important;left:auto!important;margin:24px auto!important;max-width:480px!important;width:100%!important}html:has(#lattice-extras-marker) #access-code-form,html:has(#lattice-extras-marker) .centered-form{margin:24px auto!important;max-width:520px!important;width:100%!important}html:has(#lattice-extras-marker) .sidebox h3,html:has(#lattice-extras-marker) .pane h3{background:var(--lex-head)!important;color:var(--lex-text)!important;border-bottom:1px solid var(--lex-border)!important;border-radius:13px 13px 0 0!important;padding:11px 14px!important;margin:0!important;font-size:15px!important}html:has(#lattice-extras-marker) .pane h3{margin:-14px -14px 12px!important}html:has(#lattice-extras-marker) .pane{padding:14px!important}html:has(#lattice-extras-marker) .sidebox-content{padding:14px!important;border:0!important;background:transparent!important}html:has(#lattice-extras-marker) input[type="text"],html:has(#lattice-extras-marker) input[type="number"],html:has(#lattice-extras-marker) input[type="password"],html:has(#lattice-extras-marker) input[type="email"],html:has(#lattice-extras-marker) input[type="url"],html:has(#lattice-extras-marker) select,html:has(#lattice-extras-marker) textarea{box-sizing:border-box!important;padding:8px 11px!important;border-radius:8px!important;border:1px solid var(--lex-border)!important;background:var(--lex-input-bg)!important;color:var(--lex-text)!important}html:has(#lattice-extras-marker) input:focus,html:has(#lattice-extras-marker) select:focus,html:has(#lattice-extras-marker) textarea:focus{border-color:var(--lex-accent)!important;outline:none!important}html:has(#lattice-extras-marker) .select2-container--default .select2-selection--single,html:has(#lattice-extras-marker) .select2-container--default .select2-selection--multiple,html:has(#lattice-extras-marker) .select2-selection--multiple,html:has(#lattice-extras-marker) .select2-selection--single{background:var(--lex-input-bg)!important;border:1px solid var(--lex-border)!important;border-radius:8px!important;color:var(--lex-text)!important}html:has(#lattice-extras-marker) .select2-selection__rendered,html:has(#lattice-extras-marker) .select2-search__field{color:var(--lex-text)!important}html:has(#lattice-extras-marker) .select2-selection__choice{background:var(--lex-tag-bg)!important;border:1px solid var(--lex-tag-border)!important;color:var(--lex-text)!important;border-radius:999px!important}html:has(#lattice-extras-marker) .select2-dropdown{background:var(--lex-card)!important;border:1px solid var(--lex-border)!important;color:var(--lex-text)!important}html:has(#lattice-extras-marker) .select2-results__option{color:var(--lex-text)!important}html:has(#lattice-extras-marker) .select2-results__option--highlighted{background:var(--lex-head)!important;color:var(--lex-accent)!important}html:has(#lattice-extras-marker) .button,html:has(#lattice-extras-marker) button[type="submit"],html:has(#lattice-extras-marker) input[type="submit"],html:has(#lattice-extras-marker) .submit-bar,html:has(#lattice-extras-marker) #rejudge-selected,html:has(#lattice-extras-marker) #rescore-all,html:has(#lattice-extras-marker) #compare{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:8px 16px!important;border-radius:9px!important;border:1px solid #119fff!important;background:linear-gradient(110deg,#00bcea,#0878ee)!important;color:#ffffff!important;font-weight:700!important;font-size:13.5px!important;text-decoration:none!important;cursor:pointer!important}html:has(#lattice-extras-marker) .alert-warning{background:var(--lex-warn-bg)!important;border:1px solid var(--lex-warn-border)!important;color:var(--lex-warn-text)!important;border-radius:10px!important}html:has(#lattice-extras-marker) .alert-danger,html:has(#lattice-extras-marker) #form-errors,html:has(#lattice-extras-marker) .errorlist{background:var(--lex-err-bg)!important;border:1px solid var(--lex-err-border)!important;color:var(--lex-err-text)!important;border-radius:9px!important;padding:8px 12px!important}html:has(#lattice-extras-marker) .h-scrollable-table{width:100%!important;max-width:100%!important;overflow-x:auto!important;border:1px solid var(--lex-border)!important;border-radius:14px!important;background:var(--lex-card)!important;box-shadow:0 10px 26px rgba(0,15,35,0.11)!important;box-sizing:border-box!important}html:has(#lattice-extras-marker) table.table{width:100%!important;margin:0!important;border-collapse:collapse!important;background:var(--lex-card)!important;color:var(--lex-text)!important}html:has(#lattice-extras-marker) table.table th{background:var(--lex-head)!important;color:var(--lex-text)!important;border-color:var(--lex-border)!important;padding:11px 14px!important;font-weight:700!important}html:has(#lattice-extras-marker) table.table td{background:var(--lex-card)!important;color:var(--lex-text)!important;border-color:var(--lex-border)!important;padding:10px 14px!important}html:has(#lattice-extras-marker) table.table.striped tbody tr:nth-child(even) td{background:var(--lex-alt)!important}html:has(#lattice-extras-marker) table.table tbody tr:hover td{background:var(--lex-head)!important}html:has(#lattice-extras-marker) table.django-as-table th{color:var(--lex-text)!important;padding:8px 12px 8px 0!important;vertical-align:top!important}html:has(#lattice-extras-marker) table.django-as-table td{color:var(--lex-text)!important;padding:6px 0!important}html:has(#lattice-extras-marker) #contest-calendar{width:100%!important;min-width:720px!important;border-collapse:collapse!important;background:var(--lex-card)!important;color:var(--lex-text)!important}html:has(#lattice-extras-marker) #contest-calendar th{background:var(--lex-head)!important;color:var(--lex-text)!important;border:1px solid var(--lex-border)!important;padding:10px 8px!important;font-weight:700!important}html:has(#lattice-extras-marker) #contest-calendar td{background:var(--lex-card)!important;color:var(--lex-text)!important;border:1px solid var(--lex-border)!important;padding:8px!important;height:110px!important;vertical-align:top!important}html:has(#lattice-extras-marker) #contest-calendar td.noday{background:var(--lex-alt)!important;opacity:0.72}html:has(#lattice-extras-marker) #contest-calendar td.today{background:var(--lex-today)!important;box-shadow:inset 0 0 0 1px var(--lex-accent)!important}html:has(#lattice-extras-marker) #contest-calendar td:hover{background:var(--lex-head)!important}html:has(#lattice-extras-marker) #contest-calendar td .num{color:var(--lex-muted)!important;border-bottom:1px dashed var(--lex-border)!important;padding-bottom:4px!important;margin-bottom:6px!important}html:has(#lattice-extras-marker) #contest-calendar td ul li a{color:var(--lex-accent)!important;font-weight:600!important}html:has(#lattice-extras-marker) #common-content{display:flex!important;flex-direction:row-reverse!important;align-items:flex-start!important;gap:20px!important}html:has(#lattice-extras-marker) #common-content>#content-right.problems{flex:0 0 290px!important;width:290px!important;max-width:290px!important;float:none!important;margin:0!important}html:has(#lattice-extras-marker) #common-content>#content-left.problems{flex:1 1 auto!important;min-width:0!important;width:100%!important;float:none!important;margin:0!important}html:has(#lattice-extras-marker) #tagproblem-table .row-tag-list,html:has(#lattice-extras-marker) #tagproblem-table .row-tag-list a{color:var(--lex-muted)!important}html:has(#lattice-extras-marker) #tagproblem-table .row-tag-list a:hover{color:var(--lex-accent)!important}html:has(#lattice-extras-marker) .form-submit-group{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-top:12px!important}html:has(#lattice-extras-marker) .accordion{margin-top:14px!important}html:has(#lattice-extras-marker) .accordion .card{margin-bottom:8px!important;border:1px solid var(--lex-border)!important;border-radius:10px!important;overflow:hidden!important;background:var(--lex-card)!important}html:has(#lattice-extras-marker) .accordion .card-toggle{background:var(--lex-head)!important;color:var(--lex-text)!important;font-weight:700!important;font-size:13.5px!important;padding:9px 12px!important;border-radius:0!important}html:has(#lattice-extras-marker) .accordion .card-toggle:hover{background:var(--lex-tag-bg)!important}html:has(#lattice-extras-marker) .accordion .card-body{border:0!important;border-top:1px solid var(--lex-border)!important;background:var(--lex-card)!important;color:var(--lex-text)!important;padding:10px 12px!important}html:has(#lattice-extras-marker) .row-selected{background:var(--lex-tag-bg)!important;border-radius:6px!important;padding:2px 6px!important}html:has(#lattice-extras-marker) #blog-container .sidebox,html:has(#lattice-extras-marker) .comment-display .detail{background:var(--lex-card)!important;border:1px solid var(--lex-border)!important;border-radius:12px!important;color:var(--lex-text)!important}html:has(#lattice-extras-marker) .comment-display .header{background:var(--lex-head)!important;border-bottom:1px solid var(--lex-border)!important;color:var(--lex-muted)!important}html:has(#lattice-extras-marker) .post,html:has(#lattice-extras-marker) .post-title,html:has(#lattice-extras-marker) .comment-display .content{color:var(--lex-text)!important}html:has(#lattice-extras-marker) .comment-count-link{color:var(--lex-muted)!important}html:has(#lattice-extras-marker) .wmd-button-bar{background:var(--lex-head)!important;border:1px solid var(--lex-border)!important;border-bottom:0!important;border-radius:9px 9px 0 0!important;padding:4px 6px!important}html:has(#lattice-extras-marker) .wmd-preview{background:var(--lex-alt)!important;border:1px solid var(--lex-border)!important;border-radius:9px!important;color:var(--lex-text)!important;padding:10px 12px!important;margin-top:8px!important}html:has(#lattice-extras-marker) .d2h-wrapper,html:has(#lattice-extras-marker) .d2h-file-wrapper{background:var(--lex-card)!important;border-color:var(--lex-border)!important;color:var(--lex-text)!important;border-radius:12px!important;overflow:hidden!important}html:has(#lattice-extras-marker) .d2h-file-header{background:var(--lex-head)!important;border-bottom-color:var(--lex-border)!important;color:var(--lex-text)!important}html:has(#lattice-extras-marker) .d2h-code-side-linenumber,html:has(#lattice-extras-marker) .d2h-code-linenumber,html:has(#lattice-extras-marker) .d2h-code-side-line,html:has(#lattice-extras-marker) .d2h-code-line{background:var(--lex-card)!important;color:var(--lex-text)!important;border-color:var(--lex-border)!important}html:has(#lattice-extras-marker) .d2h-info{background:var(--lex-alt)!important;color:var(--lex-muted)!important}html:has(#lattice-extras-marker) .d2h-ins{background:var(--lex-diff-ins)!important}html:has(#lattice-extras-marker) .d2h-del{background:var(--lex-diff-del)!important}@media (max-width:860px){html:has(#lattice-extras-marker) #common-content{flex-direction:column!important;gap:14px!important}html:has(#lattice-extras-marker) #common-content>#content-right.problems{flex:none!important;width:100%!important;max-width:100%!important}}@media (max-width:768px){body:has(#lattice-extras-marker) #page-container>main#content{width:calc(100% - 20px)!important;padding:68px 0 30px!important}body:has(#lattice-extras-marker) #content>h2,html:has(#lattice-extras-marker) .tabs h2{font-size:21px!important}html:has(#lattice-extras-marker) table.django-as-table,html:has(#lattice-extras-marker) table.django-as-table tbody,html:has(#lattice-extras-marker) table.django-as-table tr,html:has(#lattice-extras-marker) table.django-as-table th,html:has(#lattice-extras-marker) table.django-as-table td{display:block!important;width:100%!important}}html:has(#lattice-extras-marker) #common-content>#content-right{flex:0 0 260px!important;width:260px!important;max-width:260px!important;float:none!important;margin:0!important}html:has(#lattice-extras-marker) #common-content>#content-left.split-common-content{flex:1 1 auto!important;min-width:0!important;width:100%!important;float:none!important;margin:0!important}html:has(#lattice-extras-marker) .info-float{background:var(--lex-card)!important;border:1px solid var(--lex-border)!important;border-radius:14px!important;padding:14px 16px!important;box-shadow:0 10px 26px rgba(0,15,35,0.11)!important;color:var(--lex-text)!important}html:has(#lattice-extras-marker) .lattice-all-problems .content-description{width:min(920px,100%)!important;background:var(--lex-card)!important;border:1px solid var(--lex-border)!important;border-radius:14px!important;padding:20px 22px!important;margin:0 0 22px!important;box-shadow:0 10px 26px rgba(0,15,35,0.11)!important;color:var(--lex-text)!important;box-sizing:border-box!important}html:has(#lattice-extras-marker) .lattice-all-problems .problem_container>div:first-child{flex-wrap:wrap!important;gap:10px!important;align-items:center!important;margin-bottom:10px!important}html:has(#lattice-extras-marker) .content-description pre{background:var(--lex-alt)!important;border:1px solid var(--lex-border)!important;border-radius:10px!important;color:var(--lex-text)!important;padding:12px 14px!important;overflow-x:auto!important}html:has(#lattice-extras-marker) .content-description code{background:var(--lex-alt);color:var(--lex-accent);border:1px solid var(--lex-border);border-radius:5px;padding:1px 5px}html:has(#lattice-extras-marker) .content-description pre code{background:transparent!important;color:inherit!important;border:0!important;padding:0!important}html:has(#lattice-extras-marker) .copy-clipboard .btn-clipboard{background:var(--lex-head)!important;color:var(--lex-text)!important;border:1px solid var(--lex-border)!important;border-radius:7px!important;padding:4px 10px!important;font-size:12px!important;font-weight:600!important;cursor:pointer!important}html:has(#lattice-extras-marker) .copy-clipboard .btn-clipboard:hover{background:#0d8bd9!important;border-color:#0d8bd9!important;color:#ffffff!important}html:has(#lattice-extras-marker) .organization-tags{display:inline-flex;flex-wrap:wrap;gap:6px;margin-left:8px}html:has(#lattice-extras-marker) .organization-tag a{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;background:var(--lex-tag-bg);border:1px solid var(--lex-tag-border);color:var(--lex-text)!important;font-size:12px;text-decoration:none}@media (max-width:860px){html:has(#lattice-extras-marker) #common-content>#content-right{flex:none!important;width:100%!important;max-width:100%!important}}