/* idea board: same look as the Help Center (help-page.css), only the layout of the page is new */
.idw { flex: 1; min-height: 0; overflow: auto; padding: 28px 20px 60px; }
.idc { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.intro h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -0.3px; }
.intro p { margin: 0; color: var(--mut2); max-width: 70ch; }
.bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.bar .tabs { padding: 0; flex: 1; }
.bar .in { width: 220px; }
.ideas { display: flex; flex-direction: column; gap: 10px; }

.idea { display: grid; grid-template-columns: 58px 1fr; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 12px; }
.idea.mine { border-color: #2a3d6e; }
.vote { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; align-self: start; width: 52px; padding: 8px 0; border: 1px solid var(--line2); border-radius: 10px; background: var(--field); color: var(--mut2); cursor: pointer; }
.vote:hover { border-color: var(--acc); color: #fff; }
.vote b { font-size: 17px; color: var(--fg); }
.vote svg { width: 14px; height: 14px; }
.vote[aria-pressed="true"] { background: #1c2740; border-color: var(--acc); color: #9db6ff; }
.vote[aria-pressed="true"] b { color: #fff; }
.vote:disabled { opacity: 0.55; cursor: default; }
.idea.off { grid-template-columns: 1fr; padding-left: 16px; }
.idea.off .vote { display: none; }
a.btn { text-decoration: none; display: inline-block; }
.cats.c4 { grid-template-columns: 1fr 1fr; }
.ib { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ib h3 { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.ib .tx { margin: 0; color: var(--mut2); white-space: pre-wrap; overflow-wrap: anywhere; }
.ib .tx.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more { align-self: flex-start; border: 0; background: none; color: var(--acc2); padding: 0; cursor: pointer; font-size: 12.5px; font-weight: 600; }
.im { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--mut); font-size: 12.5px; }
.im .who { display: inline-flex; align-items: center; gap: 6px; }
.im .who img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; background: #2a2d34; }
.chip.open { background: #172a1f; color: #7fd7a0; }
.chip.planned { background: #1c2740; color: #9db6ff; }
.chip.done { background: #1d2a21; color: #7fd7a0; }
.chip.review { background: #3a2f12; color: var(--warn); }
.chip.declined, .chip.duplicate, .chip.exists { background: #2a2d34; color: var(--mut2); }
.note { border-radius: 9px; padding: 9px 12px; background: var(--panel2); border: 1px solid var(--line); color: var(--mut2); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.note.wait { background: #2a2310; border-color: #5b4a1a; color: #e8d6a0; }
.note.bad { background: #1d1f25; }
.note.good { background: #172a1f; border-color: #25402f; color: #bfe9cc; }
.note b { color: var(--fg); }
.spin { display: inline-flex; gap: 3px; }
.spin i { width: 6px; height: 6px; border-radius: 50%; background: var(--warn); animation: bl 1.2s infinite ease-in-out; }
.spin i:nth-child(2) { animation-delay: 0.2s; } .spin i:nth-child(3) { animation-delay: 0.4s; }
@keyframes bl { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
.own { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; padding-top: 2px; }
.own .ai { color: var(--mut); font-size: 12px; flex: 1 1 100%; }
.empty.big { padding: 48px 16px; }
@media (max-width: 560px) {
  .idw { padding: 18px 14px 50px; }
  .idea { grid-template-columns: 48px 1fr; gap: 10px; padding: 12px; }
  .vote { width: 46px; }
  .bar .in { width: 100%; }
  .hd .sep { display: none; }
  .hd h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .spin i { animation: none; opacity: 0.7; } }
