/* Ideas board */
.ideas-hero { padding: 2rem 0 .5rem; }
.ideas-wrap { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 1.5rem; align-items: start; padding-bottom: 3rem; }
@media (max-width: 860px) { .ideas-wrap { grid-template-columns: 1fr; } }
.idea-form { position: sticky; top: 76px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
@media (max-width: 860px) { .idea-form { position: static; } }
.idea-form h2 { margin: 0 0 .6rem; font-size: 1.35rem; }
.idea-kind { border: 0; padding: 0; margin: 0 0 .8rem; display: flex; flex-wrap: wrap; gap: .4rem .9rem; }
.idea-kind legend { font-weight: 700; margin-bottom: .3rem; }
.idea-kind label, .idea-ok { display: flex; gap: .45rem; align-items: flex-start; cursor: pointer; }
.idea-kind input, .idea-ok input { width: 20px; height: 20px; margin-top: .1rem; flex: none; accent-color: var(--accent-2); }
.idea-field { display: block; font-weight: 700; margin: 0 0 .8rem; }
.idea-field input, .idea-field select, .idea-field textarea { display: block; width: 100%; box-sizing: border-box; margin-top: .3rem; background: #120b1f; color: var(--white, #fff); border: 1px solid var(--line); border-radius: 6px; padding: .55rem .6rem; font: inherit; font-weight: 400; }
.idea-field textarea { resize: vertical; min-height: 6.5rem; }
.idea-field input:focus, .idea-field select:focus, .idea-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.idea-ok { font-size: .92rem; color: var(--text-dim); margin: .2rem 0 .9rem; }
.idea-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.idea-msg { min-height: 1.4em; margin: .6rem 0 .2rem; font-weight: 700; }
.idea-msg.ok { color: #7ee2a4; }
.idea-msg.err { color: #ff9a9a; }
.idea-bar { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.idea-bar select { background: #120b1f; color: var(--white, #fff); border: 1px solid var(--line); border-radius: 6px; padding: .45rem .5rem; font: inherit; margin-left: .3rem; }
.idea-bar .sb-tools { display: flex; gap: .4rem; }
.idea-bar .sb-tools button { padding: .45rem .75rem; min-height: 40px; border-radius: 6px; border: 2px solid var(--line); background: #140c22; color: var(--text); cursor: pointer; font-weight: 700; }
.idea-bar .sb-tools button.is-on { border-color: var(--accent); background: var(--panel-2); }
.idea-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.idea { display: grid; grid-template-columns: 64px 1fr; gap: .9rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; }
.idea-vote { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 64px; border-radius: 8px; border: 2px solid var(--line); background: #140c22; color: var(--text); font: inherit; font-weight: 800; cursor: pointer; }
.idea-vote:hover { border-color: var(--accent); }
.idea-vote[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-2); color: #fff; cursor: default; }
.idea-vote .arrow { font-size: 1.1rem; line-height: 1; }
.idea-vote .n { font-size: 1.15rem; }
.idea h3 { margin: .1rem 0 .3rem; font-size: 1.12rem; }
.idea p { margin: .2rem 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.idea-meta { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: .85rem; color: var(--text-dim); }
.idea-tag { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: .05rem .55rem; font-size: .8rem; color: var(--text); }
.idea-tag.planned { border-color: #5b9be6; color: #a9cdff; }
.idea-tag.done { border-color: #3fa66b; color: #8fe0b0; }
.idea-reply { margin-top: .5rem; border-left: 3px solid var(--accent-2); padding: .3rem .7rem; background: rgba(122, 63, 191, .12); border-radius: 0 6px 6px 0; font-size: .95rem; }
.idea-reply b { color: var(--accent); }
.idea-empty { background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.2rem; text-align: center; }

.idea-field[hidden] { display: none; }