/* Feedback wall. Builds on the dashboard tiles in dashboards.css. */
.fb-band { padding-bottom: 96px; }
.fb-board { position: relative; margin-top: -64px; padding: 20px 22px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); border-top: 5px solid var(--amber); box-shadow: 0 18px 40px -24px rgba(14, 21, 37, 0.45); }
.fb-board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.fb-board-head h2 { margin: 0; font-size: 1.25rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.fb-filters { display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--surface-2); }
.fb-filters button { min-width: 52px; height: 34px; padding: 0 14px; border: 0; border-radius: 99px; background: transparent; color: var(--text-2); font: inherit; font-size: 0.86rem; font-weight: 650; cursor: pointer; }
.fb-filters button:hover { color: var(--text); }
.fb-filters button[aria-pressed='true'] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(14, 21, 37, 0.18); }

.fb-grid { grid-auto-rows: minmax(170px, auto); }
.fb-tile .db-t-head { gap: 10px; }
.fb-pill { margin-left: auto; padding: 2px 9px; border-radius: 99px; background: var(--c); color: #fff; font-size: 0.68rem; letter-spacing: 0.05em; }
.fb-quote { margin: 0; font-size: 1.12rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; white-space: pre-line; overflow-wrap: anywhere; }
.fb-quote::before { content: '\201C'; display: block; height: 0.5em; margin-bottom: 4px; font-size: 2.6rem; line-height: 1; font-weight: 800; color: color-mix(in srgb, var(--tc) 70%, var(--text)); }
.fb-quote-big { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance; }
.fb-quote-small { font-size: 1rem; font-weight: 550; }
.fb-who { display: flex; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; margin: 0; font-size: 0.86rem; color: var(--text-2); }
.fb-who b { color: var(--text); }

/* The form tile */
.fb-form-tile { gap: 12px; }
.fb-form .field { margin-bottom: 12px; gap: 5px; }
.fb-form textarea { min-height: 104px; }
.fb-opt { font-weight: 500; color: var(--muted); }
.fb-types { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; border: 0; }
.fb-types legend { padding: 0; margin-bottom: 6px; }
.fb-types label { cursor: pointer; }
.fb-types input { position: absolute; opacity: 0; pointer-events: none; }
.fb-types span { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 99px; border: 1.5px solid var(--border-strong); background: var(--surface); font-size: 0.88rem; font-weight: 650; }
.fb-types span::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.fb-types input:checked + span { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--surface)); color: color-mix(in srgb, var(--c) 65%, var(--text)); }
.fb-types input:focus-visible + span { box-shadow: 0 0 0 3px var(--ring); }
.fb-hint { display: flex; justify-content: space-between; gap: 10px; font-size: 0.8rem; color: var(--muted); }
.fb-check { display: flex; gap: 9px; align-items: flex-start; font-size: 0.88rem; color: var(--text-2); cursor: pointer; }
.fb-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb-error { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--red) 10%, var(--surface)); color: color-mix(in srgb, var(--red) 75%, var(--text)); font-size: 0.88rem; font-weight: 600; }
.fb-send { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin-top: 14px; }
.fb-send small { color: var(--muted); font-size: 0.8rem; }
.fb-send small a { color: inherit; }
.fb-thanks { flex: 1; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; outline: none; }
.fb-thanks p { margin: 0; max-width: 30ch; }
.fb-thanks-tick { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 1.6rem; font-weight: 800; }

.fb-empty { display: grid; place-content: center; text-align: center; gap: 6px; border-style: dashed !important; border-top-width: 2px !important; background: transparent !important; }
.fb-empty p { margin: 0; }
.fb-loading { display: grid; place-items: center; margin: 0; color: var(--muted); }
.fb-note { margin: 16px 0 0; color: var(--muted); font-size: 0.86rem; text-align: center; }

@media (max-width: 560px) {
  .fb-board { padding: 16px 12px 18px; margin-left: -4px; margin-right: -4px; }
  .fb-filters { width: 100%; justify-content: space-between; }
  .fb-filters button { flex: 1; min-width: 0; padding: 0 8px; }
}

/* Owner inbox */
.fb-inbox { padding: 28px 0 48px; }
.fb-inbox h1 { margin: 0 0 6px; }
.fb-key { display: flex; gap: 8px; flex-wrap: wrap; max-width: 520px; margin: 18px 0; }
.fb-key input { flex: 1; min-width: 200px; }
.fb-inbox-tabs { margin: 18px 0; width: max-content; max-width: 100%; }
.fb-inbox .fb-tile { gap: 10px; }
.fb-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.fb-private { font-size: 0.8rem; font-weight: 650; color: var(--muted); }
