/* Voices: evidence-first typography, native disclosure, no external assets. */
.rec-intro{max-width:760px;margin-bottom:28px}.rec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.rec-card{background:var(--surface);color:var(--text);border:1px solid var(--border-strong);border-radius:16px;padding:22px;min-width:0;overflow-wrap:anywhere;position:relative;transition:border-color .2s ease,transform .2s ease}.rec-card::before{content:"";display:block;width:35px;height:2px;background:var(--accent);margin-bottom:18px}.rec-person{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.rec-avatar{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:50%;border:1px solid var(--border-strong);color:var(--accent);font:600 .9rem var(--font-mono)}.rec-person h3{font-size:1.05rem;line-height:1.4}.rec-person p,.rec-meta,.rec-label{color:var(--text-dim);font-size:.86rem;line-height:1.5}.rec-quote,.rec-excerpt{margin:0 0 12px;white-space:pre-wrap;line-height:1.65}.rec-quote::before,.rec-excerpt::before{content:'“';font-size:1.5em;color:var(--accent);line-height:.8;padding-right:4px}.rec-details summary{cursor:pointer;color:var(--accent);font-weight:600;min-height:44px;display:flex;align-items:center;gap:8px}.rec-details summary::before{content:'+'}.rec-details[open] summary::before{content:'−'}.rec-details[open] .rec-quote{animation:rec-expand .22s ease both}@keyframes rec-expand{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:none}}.rec-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid var(--border-strong)}.rec-controls{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.rec-controls label{display:grid;gap:5px;flex:1 1 180px}.rec-controls input,.rec-controls select{background:var(--surface);color:var(--text);border:1px solid var(--border-strong);border-radius:8px;padding:10px;font:inherit;min-height:44px;min-width:0;width:100%}.rec-empty{border:1px dashed var(--border-strong);padding:24px;border-radius:12px;grid-column:1/-1;color:var(--text-dim)}.rec-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.rec-count{font-family:var(--font-mono);color:var(--text-dim);margin:12px 0}.rec-count strong{color:var(--accent)}.rec-card[hidden],.rec-empty[hidden],.rec-controls[hidden]{display:none!important}.recommendations-page main{min-height:80vh}.recommendations-page .section{padding:66px 0}.rec-card.motion-enter { animation: qp-reveal var(--qp-comp, 240ms) var(--qp-ease, cubic-bezier(0.22, 1, 0.36, 1)) both; } .rec-card:nth-child(3n+2).motion-enter { animation-delay: 45ms; } .rec-card:nth-child(3n).motion-enter { animation-delay: 90ms; } .recc-card details[open] > *:not(summary) { animation: spatial-copy 260ms var(--spatial-ease, cubic-bezier(0.16, 1, 0.3, 1)) both; }@media(max-width:740px){.rec-grid{grid-template-columns:minmax(0,1fr)}.rec-card{padding:18px}.recommendations-page .section{padding:40px 0}}html[data-motion=reduce] .rec-card,html[data-motion=reduce] .rec-quote{animation:none!important;transform:none!important}@media(prefers-reduced-motion:reduce){html:not([data-motion]) .rec-card,html:not([data-motion]) .rec-quote{animation:none!important;transform:none!important}}
/* Footer links remain distinguishable and high-contrast during theme changes. */
.recommendations-page .platform-footer a{text-decoration:underline;text-underline-offset:3px}html:not([data-theme=light]) .recommendations-page .platform-footer{background:var(--bg);color:var(--text-dim)}html:not([data-theme=light]) .recommendations-page .platform-footer a{color:var(--accent)}html[data-theme=light] .recommendations-page .platform-footer{background:var(--bg);color:var(--text-dim)}html[data-theme=light] .recommendations-page .platform-footer a{color:var(--accent)}
/* Keep card descendants readable during WebKit theme repaint. */
html:not([data-theme=light]) .rec-card{background:var(--surface);color:var(--text)}html[data-theme=light] .rec-card{background:var(--surface);color:var(--text)}html:not([data-theme=light]) .rec-card :is(h3,.rec-quote,.rec-excerpt){color:var(--text)}html[data-theme=light] .rec-card :is(h3,.rec-quote,.rec-excerpt){color:var(--text)}html:not([data-theme=light]) .rec-card :is(.rec-person p,.rec-meta,.rec-meta span,.rec-meta time,.rec-label){color:var(--text-dim)}html[data-theme=light] .rec-card :is(.rec-person p,.rec-meta,.rec-meta span,.rec-meta time,.rec-label){color:var(--text-dim)}html:not([data-theme=light]) .rec-card :is(.rec-avatar,.rec-details summary){color:var(--accent)}html[data-theme=light] .rec-card :is(.rec-avatar,.rec-details summary){color:var(--accent)}
html:not([data-theme=light]) #recommendations,
html[data-theme=light] #recommendations { position: relative; z-index: 1; background-color: var(--bg-alt); color: var(--text); }
html[data-theme=light] #recommendations :is(h1, h2, p, label, span, #rec-results) { color: var(--text); }
html[data-theme=light] #recommendations nav[aria-label="Breadcrumb"] a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
body.recommendations-page::before { content: none; }
