/* Search, Intel and the pitch hub. Uses the same tokens as style.css so it follows light and dark mode. */
.fmodes { gap: 8px; }
.fbar { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.fbar .in { min-width: 0; font-size: 16px; }
.fctx { font-size: 13px; color: var(--ink2); background: var(--surface); border: 1px solid var(--line2); border-radius: 12px; padding: 7px 12px; }
.fctx[hidden], .fchips[hidden] { display: none; }
.fchips { justify-content: flex-start; flex-wrap: wrap; overflow: visible; }
.linkbtn { background: none; border: 0; color: var(--teal2); font-size: 13px; text-decoration: underline; padding: 0 0 0 6px; }
.fh { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); font-weight: 650; margin: 16px 0 6px; }

.frow { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.frow .av { grid-row: span 2; }
.fmain { min-width: 0; }
.fmain b { display: block; overflow-wrap: anywhere; }
.fmain .meta { color: var(--ink3); font-size: 13px; }
.fmain .tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.fact { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.demos .frow:last-child { border-bottom: 0; }

.answer { background: var(--surface); border: 1px solid var(--line2); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.answer p { margin: 0; line-height: 1.55; white-space: pre-wrap; }
.srcs { display: flex; flex-direction: column; gap: 6px; }
.srcs a, .srcl { color: var(--teal2); font-size: 13.5px; overflow-wrap: anywhere; }
.qlinks { display: flex; flex-wrap: wrap; gap: 8px; }
.qlinks .chip { text-decoration: none; }
.fwarn { background: rgba(242, 187, 92, .1); border: 1px solid rgba(242, 187, 92, .45); color: var(--ink); border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }

.psec { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.psec h3 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 650; margin: 0; }
.psec textarea.in { min-height: 150px; }
.psec details { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.psec summary { cursor: pointer; font-size: 14px; }
.psec details .note { margin: 8px 0 6px; }
#pitchsheet .brief { margin-top: 0; }
