:root{font-family:system-ui,sans-serif;color-scheme:light dark;line-height:1.55}body{max-width:900px;margin:0 auto;padding:0 1rem}header{display:flex;align-items:center;gap:1.4rem;flex-wrap:wrap;border-bottom:2px solid #b64b32;padding:1rem 0}nav{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap}a{color:light-dark(#a53623,#f0a18d)}h1{font-size:1.55rem}h2{font-size:1.15rem;margin-top:1.7rem}h3{font-size:1rem}main{min-height:65vh}footer,.meta{font-size:.82rem;color:light-dark(#666,#aaa)}footer{border-top:1px solid #8885;margin-top:3rem;padding:1rem 0}.problems{padding-left:1.8rem}.problems li{margin:1.2rem 0}.inline{display:inline}.filters{display:flex;gap:.8rem;flex-wrap:wrap;align-items:center}input,textarea,select,button{font:inherit}textarea{box-sizing:border-box;width:100%;max-width:100%;font-family:monospace}input:not([type=checkbox]),select{max-width:100%;box-sizing:border-box}button{cursor:pointer}.votes button{font-size:.8rem}.notice{background:#8882;border-left:3px solid #b64b32;padding:.7rem}.error,.errorlist{color:light-dark(#a22920,#ffb3ac)}.comment{border-top:1px solid #8885;padding:.6rem .8rem;margin-top:1rem}.accepted{color:light-dark(#176b35,#7cdb9b)}.needs-work{color:light-dark(#965500,#ffc26e)}.accepted-border{border-left:3px solid #228448}.needs-work-border{border-left:3px solid #d78a18}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#8881;padding:.6rem}.markdown{overflow-wrap:anywhere}.markdown img{max-width:100%;height:auto}.katex-display{overflow-x:auto;overflow-y:hidden}details{margin:1rem 0}summary{cursor:pointer}table{width:100%;text-align:left}td,th{padding:.4rem;border-bottom:1px solid #8884}.helptext{display:block;font-size:.8rem;color:light-dark(#666,#aaa)}label{font-weight:500}
input:disabled{background:#8882;color:#888;border-color:#8885;cursor:not-allowed;opacity:.65}
button,.button-link,.reply-form>summary.button-link{font:inherit;line-height:normal;vertical-align:middle;color:light-dark(#252525,#eee);background:light-dark(#f0f0f0,#333);border:1px solid light-dark(#999,#777);border-radius:3px}
button:hover,.button-link:hover,.reply-form>summary.button-link:hover{background:light-dark(#e2e2e2,#424242)}
button:focus-visible,.button-link:focus-visible{outline:2px solid currentColor;outline-offset:2px}
button:disabled{cursor:not-allowed;opacity:.65}
.button-link{display:inline-flex;align-items:center;justify-content:center;min-height:1.5em;box-sizing:border-box;text-decoration:none;cursor:pointer}
.button-primary{background:#237a3d;color:#fff;border:1px solid #19582c;border-radius:3px}.button-primary:hover{background:#196230}.button-primary:focus-visible{outline:2px solid light-dark(#176b35,#7cdb9b);outline-offset:2px}
.button-danger,.moderation-form:has(option[value="delete"]:checked) button[type="submit"]{background:#aa2e26;color:#fff;border-color:#7d241f}
.button-danger:hover,.moderation-form:has(option[value="delete"]:checked) button[type="submit"]:hover{background:#86241e}
.button-danger:focus-visible,.moderation-form:has(option[value="delete"]:checked) button[type="submit"]:focus-visible{outline:2px solid light-dark(#aa2e26,#ffb3ac);outline-offset:2px}
.action-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.action-row form{margin:0}
:root[data-theme="light"]{color-scheme:light}:root[data-theme="dark"]{color-scheme:dark}
.problems{list-style:none;padding-left:0}.problem-row,.comment-row{display:flex;align-items:flex-start;gap:.65rem}.problem-details,.comment-details{flex:1;min-width:0}.problem-row{scroll-margin-top:1rem}.comment-details>.meta:first-child{margin-top:0}.votes{display:flex;flex-direction:column;align-items:center;flex:0 0 2.4rem;min-width:2.4rem;margin:0;line-height:1.15;color:light-dark(#777,#999);font-variant-numeric:tabular-nums}.votes button{display:block;border:0;background:none;color:inherit;min-width:2.4rem;min-height:1.65rem;padding:0;font-size:1.1rem;line-height:1;cursor:pointer;border-radius:2px}.votes button:hover{background:#8882}.votes button:focus-visible{outline:2px solid currentColor;outline-offset:1px}.votes .selected{font-weight:700}.votes .selected.upvote{color:light-dark(#176b35,#7cdb9b)}.votes .selected.downvote{color:light-dark(#a22920,#ffb3ac)}.vote-score{font-size:1.1rem;font-weight:600;line-height:1.3;padding:.05rem 0}.vote-inactive{font-size:1.1rem;line-height:1.65rem;opacity:.3}.vote-summary{white-space:nowrap}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@media(max-width:480px){.problem-row,.comment-row{gap:.4rem}.comment-row{padding-left:.3rem;padding-right:.3rem}}
.problem-row{align-items:center}.problems>.problem-row{margin:.55rem 0}
.votes{width:2.4rem}
.votes button,.votes .vote-inactive{display:grid;place-items:center;box-sizing:border-box;width:100%;height:1.1rem;min-height:1.1rem;padding:0;line-height:1}
.vote-score{box-sizing:border-box;width:100%;text-align:center;line-height:1;padding:0}.vote-score.score-positive{color:light-dark(#176b35,#7cdb9b)}.vote-score.score-negative{color:light-dark(#a22920,#ffb3ac)}
.vote-arrow{display:block;width:0;height:0;border-left:.5rem solid transparent;border-right:.5rem solid transparent}
.vote-arrow-up{border-bottom:.65rem solid currentColor}
.vote-arrow-down{border-top:.65rem solid currentColor}
.file-manager{border-top:1px solid #8884;margin-top:2rem;padding-top:.5rem}.file-manager input[type="file"]{display:block}.file-status{display:block;margin:.5rem 0}.file-table-wrap{overflow-x:auto}.files-table td{font-size:.85rem;vertical-align:top;overflow-wrap:anywhere}.files-table td:first-child{max-width:24rem}.files-table details{margin:.3rem 0}.files-table input[readonly]{width:100%;min-width:12rem;font-family:monospace;font-size:.8rem}
.leaderboard{width:auto;max-width:100%}.leaderboard th,.leaderboard td{padding:.4rem .9rem}.leaderboard .number{text-align:right;font-variant-numeric:tabular-nums}.leaderboard th:first-child{width:3rem}
.markdown-help{margin:.35rem 0 1rem;padding-left:1.3rem}.markdown-help li{margin:.15rem 0}
.problem-actions{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin:1rem 0}.problem-actions form{margin:0}
.preview-controls{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.preview-status{flex-basis:100%}.preview-status:empty{display:none}
.available-tags{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin:-.5rem 0 1rem;font-size:.85rem}.available-tags button{border:1px solid #8885;border-radius:3px;background:#8881}.available-tags button[aria-pressed="true"]{background:light-dark(#e2eee5,#263e2c);border-color:#228448}.preview-controls{margin:.8rem 0}.preview-output{border:1px dashed #8887;padding:1rem;margin:.8rem 0 1rem}.preview-output>h2:first-of-type{margin-top:.5rem}
.awaiting-review{color:light-dark(#7350a2,#d8bfff);background:light-dark(#f1e8ff,#362747);padding:.1rem .35rem;border-radius:3px}.awaiting-review-border{border-left:3px solid #bda3e6}
.comment[data-reply-depth="1"]{margin-left:1.5rem}.comment[data-reply-depth="2"]{margin-left:3rem}.comment[data-reply-depth="3"]{margin-left:4.5rem}.reply-form{margin:.5rem 0}.reply-form summary{display:inline-block;font-size:.82rem;color:light-dark(#a53623,#f0a18d)}time{white-space:nowrap}@media(max-width:480px){.comment[data-reply-depth="1"]{margin-left:.6rem}.comment[data-reply-depth="2"]{margin-left:1.2rem}.comment[data-reply-depth="3"]{margin-left:1.8rem}}
