/* /Components/Pages/Ideas.razor.rz.scp.css */
/* Scoped to the Ideas page; tokens and every shared control come from app.css. */

.filters[b-upibpac4qv] { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
.filters button[b-upibpac4qv] { width: 46px; padding: 0; font-size: 18px; }

/* One card holding the whole queue: rows collapse to a badge and a line of text, and the one
   that is open grows in place rather than sending its detail to a second panel below. */
.queue[b-upibpac4qv] { border: var(--border) solid var(--black); border-radius: 10px; background: var(--paper); overflow: hidden; }
.queue > .empty[b-upibpac4qv] { margin: 0; padding: 16px; }
.queue > button[b-upibpac4qv] { border: 0; border-radius: 0; box-shadow: none; border-top: 1px solid var(--rule); }

.idea + .idea[b-upibpac4qv], .idea + button[b-upibpac4qv] { border-top: 1px solid var(--rule); }
.idea.open[b-upibpac4qv] { background: #fff; }

.idea-head[b-upibpac4qv] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    padding: 8px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
}

.idea-head:active:enabled[b-upibpac4qv] { transform: none; box-shadow: none; background: var(--paper-sunk); }

/* Two lines is enough to recognise an idea; the rest is one tap away. */
.idea-title[b-upibpac4qv] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.badge[b-upibpac4qv] {
    flex: none;
    align-self: flex-start;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
    background: var(--paper-sunk);
    color: var(--ink-soft);
}

.badge.queued[b-upibpac4qv] { background: #E4ECFF; color: #263D70; }
.badge.review[b-upibpac4qv], .badge.approved[b-upibpac4qv] { background: #DFF4E8; color: var(--green); }
.badge.blocked[b-upibpac4qv] { background: #FFE4DC; color: var(--red); }

.idea-body[b-upibpac4qv] { padding: 0 12px 12px; font-size: 13px; overflow-wrap: anywhere; }
.idea-body textarea[b-upibpac4qv] { margin-top: 10px; }

/* The words as they were captured, kept quiet: the draft below is what gets approved. */
.idea-original[b-upibpac4qv] {
    margin: 0 0 10px;
    padding-left: 10px;
    border-left: 3px solid var(--rule);
    white-space: pre-wrap;
    font-size: 12px;
    color: var(--ink-soft);
}

.tr[b-upibpac4qv] { padding: 6px 0; border-bottom: 1px dashed var(--rule); }
.tr span[b-upibpac4qv] { font-size: 10px; font-weight: 800; letter-spacing: 1.4px; color: var(--ink-faint); }
.tr p[b-upibpac4qv] { margin: 2px 0 0; font-size: 15px; font-weight: 500; }

/* A match that blocks approval is the reason the button is dead, so it stays in the open;
   the rest sit behind a disclosure. */
.match[b-upibpac4qv] { margin: 8px 0; padding: 8px 10px; border: 1.5px solid var(--rule); border-radius: 10px; }
.match.blocking[b-upibpac4qv] { border: var(--border) solid var(--red); background: #FFF0EA; }
.match p[b-upibpac4qv] { margin: 0; font-size: 13px; }
.match small[b-upibpac4qv] { font-size: 11px; color: var(--ink-faint); }
