/* generated by _src/build.mjs from _src/parts/roadmap.css */
/* ================================================================== roadmap (rm-) */
.rm-lane-k, .rm-k { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.rm-lane-k i, .rm-k i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.rm-lane-k i.y, .rm-k i.y { background: #F0C45C; } .rm-lane-k i.b, .rm-k i.b { background: #8AB4F8; } .rm-lane-k i.g, .rm-k i.g { background: #5FD38D; } .rm-lane-k i.v, .rm-k i.v { background: #FF8A62; }
.rm-vote { display: grid; justify-items: center; align-content: center; gap: 1px; width: 40px; height: 46px; flex: none; border-radius: 11px; background: rgba(246, 245, 242, .1); box-shadow: inset 0 0 0 1px rgba(246, 245, 242, .12); }
.rm-vote em { font-style: normal; font-size: 9px; color: rgba(246, 245, 242, .6); }
.rm-vote b { font-size: 14px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.rm-vote.dark { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.rm-vote svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* the hero: your idea travels the board */
.rm-board { position: relative; width: min(560px, 96%); padding: 18px 16px 16px; }
.rm-board-head { display: flex; justify-content: space-between; align-items: center; margin: 0 4px 14px; }
.rm-board-head .mono { color: rgba(246, 245, 242, .6); }
.rm-board-head .chip svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rm-lanes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.rm-lane { display: grid; align-content: start; gap: 6px; min-height: 250px; padding: 10px 7px; border-radius: 14px; background: rgba(246, 245, 242, .05); }
.rm-lane .rm-lane-k { font-size: 9.5px; color: rgba(246, 245, 242, .66); margin: 0 2px 4px; white-space: nowrap; }
.rm-gh { height: 52px; border-radius: 10px; background: rgba(246, 245, 242, .07); }
.rm-gh.s { height: 36px; opacity: .6; }
.rm-idea {
  /* it moves lane to lane on transform: one lane is its own width plus the 6px gap */
  position: absolute; top: 96px; left: 16px; transform: translateX(calc(var(--c) * (100% + 6px)));
  width: calc((100% - 32px - 18px) / 4); display: grid; gap: 8px; padding: 9px 8px; border-radius: 12px;
  background: var(--paper); color: #0B0B0B; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .8), 0 0 0 4px rgba(246, 245, 242, .1);
  transition: transform 1s var(--spring), background-color .5s ease;
}
.rm-idea .rm-vote { width: 100%; height: auto; grid-auto-flow: column; justify-content: start; gap: 6px; padding: 4px 8px; background: rgba(11, 11, 11, .07); box-shadow: none; }
.rm-idea .rm-vote em { color: rgba(11, 11, 11, .55); }
.rm-idea > span:last-child { display: grid; gap: 2px; min-width: 0; }
.rm-idea b { font-size: 13px; font-weight: 600; line-height: 1.2; }
.rm-idea small { font-size: 10.5px; color: rgba(11, 11, 11, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm-idea.is-ship { box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .8), 0 0 0 4px rgba(255, 138, 98, .45); }

/* the road */
.rm-link { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--faint); }

/* the board: now, next, later */
.rm-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.rm-col { position: relative; display: grid; align-content: start; gap: 12px; min-height: 340px; padding: 22px 20px 20px; }
.rm-col-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.rm-k { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--ink); }
.rm-col-d { font-size: 14.5px; line-height: 1.5; color: var(--muted); min-height: 3em; }
.rm-empty { display: grid; justify-items: center; align-content: center; gap: 10px; min-height: 140px; margin-top: auto; padding: 18px; border-radius: 16px; text-align: center; font-size: 14px; color: var(--faint); box-shadow: inset 0 0 0 1.5px var(--line); background: repeating-linear-gradient(135deg, transparent 0 10px, var(--hair) 10px 11px); }
.rm-empty svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rm-empty-go { color: var(--muted); transition: box-shadow .3s ease, color .3s ease, transform .5s var(--spring); }
.rm-empty-go b { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); }
.rm-empty-go:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.rm-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; margin-top: auto; padding: 14px; border-radius: 16px; background: var(--tile); color: var(--ink); transition: transform .5s var(--spring), box-shadow .3s ease; }
.rm-item:hover { transform: translateY(-3px); box-shadow: var(--float); }
.rm-item > span:last-child { display: grid; gap: 6px; justify-items: start; }
.rm-item b { font-size: 16px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.rm-item small { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.rm-item .chip { height: 22px; font-size: 11px; background: var(--card); }
.rm-col-ship { color: var(--paper); }
.rm-col-ship .rm-col-top { border-bottom-color: rgba(246, 245, 242, .1); }
.rm-col-ship .rm-k { color: var(--paper); }
.rm-col-ship .rm-col-d { color: rgba(246, 245, 242, .62); }
.rm-ship-n { position: relative; display: grid; gap: 2px; margin-top: auto; padding: 18px 54px 18px 18px; border-radius: 16px; background: rgba(246, 245, 242, .06); box-shadow: inset 0 0 0 1px rgba(246, 245, 242, .1); color: var(--paper); transition: background-color .3s ease; }
.rm-ship-n:hover { background: rgba(246, 245, 242, .1); }
.rm-ship-n b { font-size: 64px; font-weight: 600; line-height: 1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.rm-ship-n small { font-size: 13.5px; color: rgba(246, 245, 242, .62); }
.rm-ship-n svg { position: absolute; right: 18px; bottom: 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--spring-fast); }
.rm-ship-n:hover svg { transform: translateX(4px); }
.rm-note { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-top: var(--gap); padding: 18px 20px; border-radius: 20px; background: var(--card); box-shadow: var(--float); }
.rm-note .t-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--tile); }
.rm-note .t-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rm-note p { font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.rm-note p b { color: var(--ink); font-weight: 600; }
.rm-note .btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; width: 16px; height: 16px; }

/* recently shipped */
.rm-ships { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 26px; }
.rm-ship { display: grid; align-content: start; gap: 10px; padding: 22px 22px 20px; border-radius: 20px; background: rgba(246, 245, 242, .05); box-shadow: inset 0 0 0 1px rgba(246, 245, 242, .08); color: var(--paper); transition: background-color .3s ease, transform .5s var(--spring); }
.rm-ship:hover, .js .rm-ship.reveal.is-in:hover { background: rgba(246, 245, 242, .09); transform: translateY(-3px); }
.rm-ship-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 12.5px; color: rgba(246, 245, 242, .55); font-variant-numeric: tabular-nums; }
.rm-chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.rm-chip.ok { background: rgba(95, 211, 141, .14); color: #7BE0A4; }
.rm-chip svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rm-ship b { font-size: 19px; font-weight: 600; line-height: 1.22; letter-spacing: -.02em; text-wrap: balance; }
.rm-ship small { font-size: 14px; line-height: 1.45; color: rgba(246, 245, 242, .62); }
.rm-ship-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13.5px; font-weight: 600; }
.rm-ship-go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--spring-fast); }
.rm-ship:hover .rm-ship-go svg { transform: translateX(4px); }

/* suggest a feature */
.rm-suggest { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--gap); align-items: stretch; }
.rm-form { display: grid; align-content: start; gap: 18px; padding: 28px 28px 26px; }
.rm-field { display: grid; gap: 8px; }
.rm-field > span { font-size: 14px; font-weight: 600; color: var(--ink); }
.rm-field em { font-style: normal; color: var(--live-text); }
.rm-field input, .rm-field textarea {
  width: 100%; padding: 13px 15px; border: 0; border-radius: 14px; font: 400 16px/1.45 var(--font); color: var(--ink);
  background: var(--tile); box-shadow: inset 0 0 0 1px var(--line); outline: none; transition: box-shadow .25s ease, background-color .25s ease;
}
.rm-field input { height: 50px; padding-top: 0; padding-bottom: 0; }
.rm-field textarea { resize: vertical; min-height: 120px; }
.rm-field input::placeholder, .rm-field textarea::placeholder { color: var(--faint); }
.rm-field input:focus, .rm-field textarea:focus { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px var(--hair); }
.rm-err { font-size: 14px; color: var(--live-text); }
.rm-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 4px; }
.rm-form-foot .btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rm-form-foot small { flex: 1 1 220px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.rm-preview { display: grid; align-content: start; gap: 20px; padding: 28px 26px; }
.rm-preview > .mono { color: var(--on-dark-muted); }
.rm-pv-lane { display: grid; gap: 10px; padding: 14px 12px; border-radius: 18px; background: rgba(246, 245, 242, .05); box-shadow: inset 0 0 0 1px rgba(246, 245, 242, .08); }
.rm-pv-lane .rm-lane-k { color: rgba(246, 245, 242, .66); }
.rm-pv-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border-radius: 14px; background: var(--paper); color: #0B0B0B; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .8); animation: rm-in .6s var(--spring) both; }
@keyframes rm-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.rm-pv-card .rm-vote { background: rgba(11, 11, 11, .06); box-shadow: none; }
.rm-pv-card .rm-vote em { color: rgba(11, 11, 11, .5); }
.rm-pv-card > span:last-child { display: grid; gap: 4px; min-width: 0; }
.rm-pv-card b { font-size: 17px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.rm-pv-card small { font-size: 13.5px; line-height: 1.45; color: rgba(11, 11, 11, .6); overflow-wrap: anywhere; }
.rm-pv-steps { display: grid; gap: 4px; margin-top: auto; }
.rm-pv-steps li { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 4px; font-size: 14px; color: rgba(246, 245, 242, .55); }
.rm-pv-steps li:not(:last-child)::after { content: ""; position: absolute; left: 9.5px; top: 28px; height: 18px; width: 1px; background: rgba(246, 245, 242, .16); }
.rm-pv-steps i { width: 20px; height: 20px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.5px rgba(246, 245, 242, .3); }
.rm-pv-steps li.on { color: var(--paper); }
.rm-pv-steps li.on i { background: #F0C45C; box-shadow: 0 0 0 4px rgba(240, 196, 92, .18); }

/* ------------------------------------------------------------------ narrower screens */
@media (max-width: 1180px) {
  .rm-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-col { min-height: 300px; }
}
@media (max-width: 1023px) {
  .rm-ships { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-suggest { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .rm-board { padding: 14px 10px 12px; }
  .rm-lanes { gap: 4px; }
  .rm-lane { min-height: 210px; padding: 8px 5px; }
  .rm-lane .rm-lane-k { font-size: 8.5px; letter-spacing: .02em; gap: 4px; white-space: normal; line-height: 1.2; }
  .rm-idea { top: 90px; left: 10px; transform: translateX(calc(var(--c) * (100% + 4px))); width: calc((100% - 20px - 12px) / 4); padding: 7px 6px; }
  .rm-idea b { font-size: 11.5px; }
  .rm-idea small { font-size: 9.5px; }
  .rm-idea .rm-vote { padding: 3px 6px; }
  .rm-cols { grid-template-columns: minmax(0, 1fr); }
  .rm-col { min-height: 0; padding: 20px 18px 18px; }
  .rm-col-d { min-height: 0; }
  .rm-empty { min-height: 110px; }
  .rm-note { grid-template-columns: auto minmax(0, 1fr); padding: 16px 16px; }
  .rm-note .btn { grid-column: 1 / -1; justify-content: center; }
  .rm-ships { grid-template-columns: minmax(0, 1fr); }
  .rm-ship { padding: 20px 18px 18px; }
  .rm-form { padding: 22px 18px 20px; }
  .rm-form-foot .btn { width: 100%; justify-content: center; }
  .rm-preview { padding: 22px 18px; }
  .rm-ship-n b { font-size: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .rm-idea { transition: none; }
  .rm-pv-card { animation: none; }
}
