/* WS4 (R2): quick thank-you panel, who-to-thank rail, merge-tag link picker, and the
   dashboard front doors. Everything is vq- prefixed; linked from /compose and the
   dashboard. Colors come from daisyUI tokens so it follows the composer's theme. */

/* ---------- composer: the panel that replaces the accordions ---------- */
.vq-panel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1rem 1.5rem;
}
.vq-eyebrow {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.7;
}
.vq-donor {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem;
    border-radius: 0.75rem;
    background: color-mix(in oklab, var(--color-base-content) 7%, transparent);
}
.vq-avatar {
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--color-primary);
    color: var(--color-primary-content);
}
.vq-donor-text { min-width: 0; }
.vq-donor h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
}
.vq-gift { margin: 0.2rem 0 0; font-size: 0.9rem; font-weight: 600; }
.vq-note-line { margin: 0.35rem 0 0; font-size: 0.85rem; font-style: italic; opacity: 0.8; }
.vq-muted { opacity: 0.65; font-size: 0.85rem; margin: 0; }
.vq-label { font-size: 0.85rem; font-weight: 700; }
.vq-script {
    width: 100%;
    min-height: 9rem;
    font-size: 0.95rem;
    line-height: 1.5;
}
.vq-hint { margin: -0.25rem 0 0; font-size: 0.78rem; opacity: 0.7; }
.vq-record { height: 3rem; font-size: 1rem; }
.vq-done {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.9rem;
    padding: 0.6rem 0.75rem;
    border-radius: 0.6rem;
    background: color-mix(in oklab, var(--color-success) 16%, transparent);
}
.vq-done .material-symbols-outlined { color: var(--color-success); }
.vq-copy { height: 3rem; font-size: 1rem; }
.vq-row-actions { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.vq-error { color: var(--color-error); font-size: 0.85rem; margin: 0; }

/* ---------- who to thank ---------- */
.vq-rail {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid color-mix(in oklab, var(--color-base-content) 14%, transparent);
}
.vq-rail h3 { margin: 0 0 0.5rem; font-size: 0.9rem; font-weight: 700; }
.vq-rail ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.vq-rail li button {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "name state" "meta state";
    gap: 0 0.5rem;
    text-align: left;
    padding: 0.5rem 0.6rem;
    border-radius: 0.5rem;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.vq-rail li button:hover:not(:disabled),
.vq-rail li button:focus-visible { background: color-mix(in oklab, var(--color-base-content) 9%, transparent); }
.vq-rail li button:disabled { cursor: default; }
.vq-rail li.is-current button { background: color-mix(in oklab, var(--color-primary) 18%, transparent); }
.vq-row-name { grid-area: name; font-weight: 600; font-size: 0.9rem; }
.vq-row-meta { grid-area: meta; font-size: 0.78rem; opacity: 0.7; }
.vq-row-state { grid-area: state; align-self: center; display: flex; }
.vq-row-state .material-symbols-outlined { font-size: 1.2rem; opacity: 0.45; }
.vq-rail li.is-done .vq-row-state .material-symbols-outlined { color: var(--color-success); opacity: 1; }
.vq-footer { margin: 0.75rem 0 0; font-size: 0.8rem; font-weight: 600; opacity: 0.8; }

/* ---------- recorder: F8 talking points column ---------- */
.vq-talking { display: flex; flex-direction: column; gap: 0.35rem; }

/* ---------- link modal ---------- */
.vq-link { display: flex; flex-direction: column; gap: 0.5rem; }
.vq-link select, .vq-link input { width: 100%; }
.vq-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; word-break: break-all; }
.vq-warn {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-warning);
}
.vq-warn .material-symbols-outlined { font-size: 1rem; }
.vq-note { margin: 0; font-size: 0.8rem; opacity: 0.8; }

/* ---------- dashboard: front doors, picker, Signals choice ---------- */
.vq-doors { display: flex; gap: 0.5rem; align-items: center; }
.vq-picker {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8vh 16px 16px;
    background: rgba(8, 12, 18, 0.6);
}
.vq-picker-card {
    width: 100%;
    max-width: 30rem;
    max-height: 80vh;
    overflow: auto;
    border-radius: 1rem;
    background: #1d232a;
    color: #fff;
    padding: 1.25rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.vq-picker-card h2 { margin: 0 0 0.25rem; font-size: 1.2rem; font-weight: 700; }
.vq-picker-card p { margin: 0 0 0.75rem; color: #ffffffb3; font-size: 0.9rem; }
.vq-picker-card input[type="search"] { width: 100%; margin-bottom: 0.75rem; }
.vq-picker-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.vq-picker-card li button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    text-align: left;
    padding: 0.6rem 0.75rem;
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
}
.vq-picker-card li button:hover, .vq-picker-card li button:focus-visible { background: rgba(255, 255, 255, 0.12); }
.vq-picker-card .vq-row-meta { opacity: 0.7; font-size: 0.8rem; }
.vq-picker-actions { display: flex; justify-content: flex-end; margin-top: 1rem; }
.vq-choice { display: flex; gap: 0.5rem; margin: 0.25rem 0 0.75rem; }
.vq-choice button {
    flex: 1;
    text-align: left;
    padding: 0.6rem 0.75rem;
    border-radius: 0.6rem;
    border: 2px solid transparent;
    background: rgba(127, 127, 127, 0.12);
    color: inherit;
    cursor: pointer;
}
.vq-choice button.on { border-color: currentColor; }
.vq-choice b { display: block; font-size: 0.9rem; }
.vq-choice span { font-size: 0.78rem; opacity: 0.75; }
