:root{font-family:-apple-system,BlinkMacSystemFont,'Inter','Segoe UI',sans-serif;color:#202024;background:#fff;color-scheme:light;--accent:#983437;--ink:#262528;--gold:#ffd60a;--muted:#62656d;--line:#e2e4e9;--wash:#f3f4f6;scrollbar-gutter:stable;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a{touch-action:manipulation}a{color:inherit}button{border:0;background:var(--wash);border-radius:9px;padding:9px 13px;font-size:14px;font-weight:620;cursor:pointer}button:disabled{cursor:default;opacity:.58}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a64343;outline-offset:3px}
.paper{max-width:842px;margin:auto;padding:0 clamp(20px,5vw,44px) 80px}
.compose,.actions{display:flex;align-items:center;gap:10px}.primary{background:#202024;color:#fff;min-height:43px}.primary:hover{background:#36363c}.quiet{color:var(--accent);background:transparent}.filters{display:flex;gap:5px;overflow:auto;padding:14px 1px 10px;margin:14px 0 0;border-bottom:1px solid var(--line)}.filters button{white-space:nowrap;background:transparent;color:var(--muted);border-radius:20px}.filters [aria-pressed=true]{color:#fff;background:#26262a}
#notice{font-size:14px;color:var(--muted);margin:14px 0}#notice:empty{display:none}
.row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:start;gap:12px;padding:19px 0;border-bottom:1px solid var(--line)}.mark{border:1.8px solid #a0a3ab;border-radius:5px;width:19px;height:19px;margin-top:3px;display:grid;place-content:center;font-size:14px}.row[data-status=done] .mark{color:#fff;background:var(--ink);border-color:var(--ink)}.row[data-status=working] .mark{background:var(--gold);border-color:#78601c;color:var(--ink)}.row h3{font-size:18px;line-height:1.3;margin:0;font-weight:650;overflow-wrap:anywhere}.desc{white-space:pre-wrap;color:#525661;font-size:15px;line-height:1.5;margin:6px 0;overflow-wrap:anywhere}.tag{display:inline-block;background:var(--wash);color:#5c6069;font-size:11px;font-weight:700;border-radius:5px;padding:3px 7px;margin-top:7px}.row[data-status=working] .tag{background:#fff0b3;color:#624906}.row[data-status=done] .tag{background:#edebe9;color:var(--ink)}
.votes{display:flex;gap:3px}.vote{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-variant-numeric:tabular-nums;font-weight:650;font-size:13px;min-width:43px;min-height:40px;padding:8px;background:transparent}.vote:hover{background:var(--wash)}.tools{grid-column:2/-1;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.tools:empty{display:none}.tools button{font-size:12px;min-height:33px}.tools .start{background:#fff1b9;color:#624906}.danger{color:#a72d27}.empty{padding:30px 0;color:var(--muted)}#more,#retry{margin:20px 0}
dialog{width:min(470px,calc(100% - 32px));max-height:90dvh;border:1px solid var(--line);border-radius:18px;padding:24px;color:inherit;box-shadow:0 18px 70px #1d29422b}dialog::backdrop{background:#1b233355}dialog h2{font-size:25px;letter-spacing:-.04em;margin:0 0 20px}dialog label{display:block;font-weight:600;margin:14px 0}dialog input,dialog textarea{display:block;background:#fff;width:100%;padding:10px 12px;border-radius:8px;border:1px solid #c8cbd2;margin-top:6px}dialog textarea{resize:vertical}dialog small{font-weight:400;color:var(--muted)}.actions{justify-content:flex-end;margin-top:20px}.error{color:#a72d27;font-size:14px}.error:empty{display:none}#auth{padding:0;overflow:hidden}#auth iframe{width:100%;height:min(70dvh,600px);border:0;display:block}.auth-close{position:absolute;right:10px;top:10px;z-index:1;background:white;border:1px solid var(--line);border-radius:50%}#delete-name{overflow-wrap:anywhere}
@media(max-width:540px){.row{grid-template-columns:19px minmax(0,1fr);gap:5px 9px}.votes,.tools{grid-column:2}.votes{margin-top:3px}.row h3{font-size:17px}.filters{margin-right:-12px}.filters button{padding:8px 10px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .15s ease,color .15s ease}}

.filters {flex-wrap:wrap;align-items:center;overflow:visible}
.filters .history {margin-left:auto;background:#f0eeeb;color:#47423f}
.filters .history[aria-pressed=true] {background:var(--ink);color:white}
.row .tag.problem-tag,.row[data-status] .tag.problem-tag {background:#ffe5e5;color:#7a3032;margin-right:5px}
.long-desc {margin-top:6px}
.long-desc summary {cursor:pointer;list-style:none;font-size:14px;color:var(--accent);width:fit-content;max-width:100%}
.long-desc summary::-webkit-details-marker {display:none}
.long-desc .excerpt {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line;overflow-wrap:anywhere;color:#525661;font-weight:400;font-size:15px;line-height:1.5;margin-bottom:4px}
.long-desc .collapse,.long-desc[open] .expand,.long-desc[open] .excerpt {display:none}
.long-desc[open] .collapse {display:inline}
.published-toast {
  position:fixed;inset:0;z-index:20;display:grid;align-content:center;justify-items:center;
  pointer-events:none;visibility:hidden;text-align:center;
}
.published-toast::before {
  content:"";display:block;width:clamp(145px,23vw,225px);aspect-ratio:196 / 102;
  background:url('/assets/bam.svg') center / contain no-repeat;transform:rotate(-6deg);
}
.published-toast span {
  max-width:calc(100vw - 34px);margin-top:-4px;padding:6px 15px 8px;
  font:800 clamp(17px,2vw,22px)/1.15 system-ui,sans-serif;color:#282222;
  background:#fffcf1;border:2px solid #282222;border-radius:4px;box-shadow:3px 3px #282222;
  transform:rotate(-2deg);
}
.published-toast.visible {visibility:visible}
@media(prefers-reduced-motion:no-preference) {
  .published-toast.visible::before {animation:published-bam .37s cubic-bezier(.2,.8,.2,1) both}
  .published-toast.visible span {animation:published-caption .2s ease-out .09s both}
  @keyframes published-bam {
    0% {opacity:0;transform:scale(.4) rotate(-14deg)}
    64% {opacity:1;transform:scale(1.08) rotate(-7deg)}
    100% {transform:scale(1) rotate(-6deg)}
  }
  @keyframes published-caption {
    from {opacity:0;transform:translateY(6px) rotate(-2deg)}
    to {opacity:1;transform:rotate(-2deg)}
  }
}

.row[data-status=working] .mark {display:grid;place-items:center}
.row[data-status=working] .mark::before {content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.vote {gap:6px;min-width:51px;min-height:44px;padding:5px 8px}
.votes .vote, .vote-total {--vote-face:#2861ed;--vote-shadow:#162d68}
.votes .down {--vote-face:#e9152d;--vote-shadow:#711226}
.vote-icon {
  display:inline-block;flex:none;width:23px;height:23px;
  color:var(--vote-face);filter:drop-shadow(0 1.5px var(--vote-shadow));
}
.vote-icon::before {
  content:"";display:block;width:100%;height:100%;background:currentColor;
  -webkit-mask:url('/roadmap/thumb.svg') center/contain no-repeat;
  mask:url('/roadmap/thumb.svg') center/contain no-repeat;
}
.down .vote-icon::before {transform:scaleY(-1)}
.votes .vote-total {display:inline-flex;align-items:center;gap:5px;min-width:0;min-height:0;padding:3px;background:transparent;font-size:14px;font-weight:650}
.votes .vote[aria-pressed=true] {background:#e6edff;color:#162d68}
.votes .down[aria-pressed=true] {background:#ffeaec;color:#711226}
.filters .history {display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:54px;min-height:44px;font-variant-numeric:tabular-nums}
img[src="/assets/completed.svg"] {filter:drop-shadow(0 1.5px #162d68)}
.history[aria-pressed=true] img {filter:brightness(0) invert(1) drop-shadow(0 1.5px #373741)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.vote:hover .vote-icon{rotate:-8deg}.vote:active .vote-icon{scale:.92}}
