/* Ideas Board (/ideas). Builds on home.css + audience.css. No backdrop-filter; only opacity/transform animate. */
.ib-narrow { width: min(880px, 100% - 40px); }
.ib-hero { padding: 44px 0 26px; }
.ib-hero h1 { font-size: clamp(36px, 5vw, 54px); margin: 0; }
.ib-hero .au-lead { margin: 14px 0 24px; }
.ib-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ib-tabs, .ib-for { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ib-tabs button, .ib-for button { font: inherit; font-weight: 600; font-size: 14px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.ib-tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ib-for { margin-top: 14px; }
.ib-for span { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.ib-for button { font-size: 13px; padding: 6px 12px; }
.ib-for button[aria-pressed="true"] { background: var(--soft); border-color: var(--ink); color: var(--ink); }
.ib-add { padding: 11px 20px; }
.ib-body { padding: 8px 0 60px; }
.ib-list { display: grid; gap: 12px; }
.ib-idea { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; align-items: start; }
.ib-vote { font: inherit; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 8px 0 6px; text-align: center; color: var(--ink); cursor: pointer; width: 100%; }
.ib-vote:hover { border-color: var(--ink); }
.ib-vote svg { display: block; margin: 0 auto 2px; }
.ib-vote b { display: block; font-size: 20px; line-height: 1.1; }
.ib-vote span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ib-vote[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ib-vote[aria-pressed="true"] span { color: #CFE0DC; }
.ib-vote:disabled { opacity: .6; cursor: wait; }
.ib-idea h2 { margin: 2px 0 6px; font-family: var(--body); font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.ib-idea p { margin: 0 0 10px; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.ib-meta { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12.5px; }
.ib-pill { padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.ib-pill.for { background: #F0F2EF; color: var(--ink-2); }
.ib-pill.considering { background: #FFF1E6; color: #9A3F1A; }
.ib-pill.planned { background: var(--soft); color: var(--ink); }
.ib-pill.done { background: var(--ink); color: #fff; }
.ib-reply { margin-top: 10px; padding: 10px 12px; border-left: 3px solid var(--accent); background: #FBF7F2; border-radius: 0 10px 10px 0; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.ib-reply b { color: var(--ink); }
.ib-empty { text-align: center; color: var(--muted); padding: 30px 10px; background: #fff; border: 1px dashed var(--line); border-radius: 16px; }
.ib-note { color: var(--muted); font-size: 13px; margin-top: 18px; }
.ib-status { padding: 10px 14px; border-radius: 12px; background: #FDECEA; color: #8E1520; font-size: 14px; }
.ib-status.ok { background: #E8F0EC; color: var(--ink); }
.ib-status[hidden] { display: none; }
@media (max-width: 600px) {
  .ib-idea { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .ib-add { width: 100%; }
}

/* Suggest an Idea form */
.ib-modal { position: fixed; inset: 0; z-index: 70; background: rgba(15, 15, 15, .55); display: grid; place-items: center; padding: 16px; animation: ib-fade .18s ease-out; }
.ib-modal[hidden] { display: none; }
.ib-card { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 20px; padding: 26px 22px 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); animation: ib-rise .2s ease-out; }
.ib-card h2 { margin: 0 34px 6px 0; font-size: 26px; }
.ib-lede { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.ib-x { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.ib-role { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ib-role legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; padding: 0; }
.ib-role label { display: inline-flex; gap: 6px; align-items: center; font-size: 15px; cursor: pointer; }
.ib-label { display: block; font-weight: 700; font-size: 14px; margin: 12px 0 6px; }
.ib-label span { font-weight: 400; color: var(--muted); }
.ib-card textarea, .ib-card input[type=email] { box-sizing: border-box; width: 100%; font: inherit; font-size: 16px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; color: var(--ink); }
.ib-card textarea { resize: vertical; min-height: 96px; }
.ib-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ib-msg { margin: 12px 0 0; padding: 8px 12px; border-radius: 10px; font-size: 14px; background: #FDECEA; color: #8E1520; }
.ib-msg.ok { background: #E8F0EC; color: var(--ink); }
.ib-msg[hidden] { display: none; }
.ib-btns { display: flex; justify-content: flex-end; margin-top: 16px; }
.ib-btns .btn { padding: 11px 22px; }
@keyframes ib-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ib-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ib-modal, .ib-card { animation: none; } }
