/* Quran & Science and Quran Error Detection - same design language as the Quran Quiz page:
 * dark surfaces, one lime accent (#ccf25f), thin borders, rounded cards, pill options,
 * and a single button style used everywhere. Fonts are inherited from the theme. */
.qvf {
	--accent: #ccf25f; --on-accent: #131313;
	--card: #161616; --card2: #1d1d1d; --line: #2b2b2b; --line-accent: rgba(204,242,95,.45); --field: #1d1d1d;
	--text: #fff; --muted: #a9a9a9;
	--ok: var(--accent); --minor: #d6d6d6; --bad: #ff6b6b; --warn: #ffb84d; --sound: #fff;
	--arabic: "Amiri", "Scheherazade New", "Traditional Arabic", serif;
	--urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;
	box-sizing: border-box; max-width: 1080px; margin: 0 auto; padding: 8px 0 0;
	color: var(--text); font-family: inherit; line-height: 1.6; background: transparent;
}
.qvf *, .qvf *::before, .qvf *::after { box-sizing: border-box; }
.qvf[hidden], .qvf [hidden] { display: none !important; }
.qvf h2, .qvf h3, .qvf h4, .qvf p, .qvf ul, .qvf ol { margin: 0; color: inherit; }
.qvf p + p { margin-top: .5em; }
.qvf button { font-family: inherit; cursor: pointer; }
.qvf :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.qvf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qvf-icon { width: 1.25em; height: 1.25em; flex: none; }
.qvf-loading { padding: 40px; text-align: center; color: var(--muted); }

/* Optional hero (shortcode attribute hero="yes") */
.qvf-hero { padding: 8px 0; text-align: center; }
.qvf-pill, .qvf-badge { display: inline-block; padding: 8px 28px; font-size: .9rem; font-weight: 600; color: var(--text); background: transparent; border: 1px solid var(--accent); border-radius: 999px; }
.qvf-title { margin: 22px 0 14px !important; font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; line-height: 1.15; color: var(--text) !important; }
.qvf-accent { display: block; color: var(--accent); }
.qvf-lead { max-width: 640px; margin: 0 auto !important; color: var(--text); opacity: .85; }
.qvf-detail-head .qvf-lead { margin: .5em 0 0 !important; max-width: none; }

/* ONE button style: lime solid = primary, lime outline = secondary, same shape everywhere */
.qvf .qvf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 24px;
	font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; text-transform: none; letter-spacing: 0;
	color: var(--text) !important; background: transparent !important; border: 1px solid var(--accent) !important; border-radius: 8px !important;
	box-shadow: none !important; transition: background .2s, color .2s, transform .1s;
}
.qvf .qvf-btn:hover:not(:disabled), .qvf .qvf-btn.is-playing { color: var(--on-accent) !important; background: var(--accent) !important; }
.qvf .qvf-btn-primary { color: var(--on-accent) !important; background: var(--accent) !important; }
.qvf .qvf-btn-primary:hover:not(:disabled) { filter: brightness(.92); }
.qvf .qvf-btn:disabled { opacity: .4; cursor: not-allowed; }
.qvf .qvf-btn-ghost { min-height: 40px; padding: 6px 18px; font-size: .9rem; }

/* Search bar and fields (quiz-style rounded outline) */
.qvf-searchbar { display: flex; align-items: center; gap: 10px; max-width: 720px; margin: 8px auto 12px; padding: 6px 6px 6px 20px; background: var(--card); border: 1px solid var(--line-accent); border-radius: 999px; transition: border-color .2s; }
.qvf-searchbar:focus-within { border-color: var(--accent); }
.qvf-searchbar-icon { color: var(--accent); display: flex; }
.qvf .qvf-input { width: 100%; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--text); background: transparent; border: 0; outline: 0; box-shadow: none; }
.qvf-searchbar .qvf-input { padding-left: 4px; }
.qvf .qvf-input::placeholder { color: #777; }
.qvf-panel .qvf-input { background: var(--field); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.qvf-panel .qvf-input:focus { border-color: var(--accent); }
.qvf-select option { color: #131313; background: #fff; }
.qvf-textarea { min-height: 130px; font-family: var(--arabic); font-size: 1.5rem; line-height: 2; resize: vertical; }
.qvf-searchbar .qvf-btn { border-radius: 8px; }

/* Chips and category tabs (pills, like the Easy / Qur'an tags and the blog filter) */
.qvf-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.qvf .qvf-chip { padding: 5px 16px; min-height: 34px; font-size: .85rem; color: var(--text); background: transparent; border: 1px solid var(--line-accent); border-radius: 999px; transition: background .2s, color .2s, border-color .2s; }
.qvf .qvf-chip:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.qvf-filters { display: flex; justify-content: center; gap: 8px; margin: 28px 0 24px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.qvf-filters::-webkit-scrollbar { display: none; }
.qvf .qvf-tab { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-height: 40px; padding: 8px 20px; font-size: .9rem; font-weight: 600; color: var(--text); background: transparent; border: 1px solid var(--line-accent); border-radius: 999px; transition: background .2s, color .2s; }
.qvf .qvf-tab:hover { border-color: var(--accent); }
.qvf .qvf-tab.is-active { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }

/* Topic cards */
.qvf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.qvf .qvf-card { all: unset; box-sizing: border-box; display: flex; flex-direction: column; cursor: pointer; text-align: left; overflow: hidden; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 24px; transition: border-color .25s, transform .25s; animation: qvf-rise .45s both; }
.qvf .qvf-card:hover, .qvf .qvf-card:focus-visible { transform: translateY(-3px); border-color: var(--accent); }
.qvf .qvf-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.qvf-card-visual { position: relative; height: 130px; display: grid; place-items: center; background: var(--card2); overflow: hidden; }
.qvf-card-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qvf-card-icon { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; color: var(--on-accent); background: var(--accent); }
.qvf-card-icon .qvf-icon { width: 28px; height: 28px; }
.qvf-card-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.qvf-card-body .qvf-badge { align-self: flex-start; padding: 2px 12px; font-size: .72rem; font-weight: 500; border-color: var(--line-accent); color: var(--accent); }
.qvf-card-title { font-size: 1.15rem; font-weight: 700; line-height: 1.3; color: var(--text); }
.qvf-card-sum { font-size: .9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.qvf-card-meta { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--accent); }

/* Text */
.qvf-ar { font-family: var(--arabic); font-size: 1.7rem; line-height: 2.1; direction: rtl; text-align: right; color: #fff; }
.qvf-ar-lg { font-size: 2.1rem; }
.qvf-ur { font-family: var(--urdu); font-size: 1.1rem; line-height: 2.3; direction: rtl; text-align: right; color: #e2e2e2; }
.qvf-en { color: #d6d6d6; }
.qvf-ar-name { font-family: var(--arabic); font-size: 1.15rem; color: var(--accent); margin-inline-start: auto; }
.qvf-sub { margin: 32px 0 14px !important; font-size: 1.25rem; font-weight: 700; color: var(--text); }
.qvf-hint, .qvf-matched, .qvf-note { font-size: .85rem; color: var(--muted); }
.qvf-hint { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; }
.qvf-hint .qvf-icon { color: var(--accent); margin-top: 3px; }
.qvf-note { margin: 8px 0 12px; }

/* Topic detail */
.qvf-back { margin-bottom: 16px; }
.qvf-detail-head { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; }
.qvf-detail-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 16px; color: var(--on-accent); background: var(--accent); }
.qvf-detail-icon .qvf-icon { width: 34px; height: 34px; }
.qvf-detail-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 10px 0 4px !important; }
.qvf-detail-img { grid-column: 1 / -1; width: 100%; max-height: 360px; object-fit: cover; border-radius: 16px; }
.qvf-relation { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; margin-top: 20px; }
.qvf-rel-col { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; }
.qvf-rel-col h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px !important; font-size: 1rem; font-weight: 700; color: var(--accent); }
.qvf-rel-s { border-color: var(--line-accent); }
.qvf-rel-col p { font-size: .95rem; color: #d6d6d6; }
.qvf-rel-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--accent); }
.qvf-rel-line { flex: 1; width: 1px; min-height: 16px; background: var(--line-accent); }
.qvf-rel-atom { width: 32px; height: 32px; animation: qvf-spin 14s linear infinite; }
.qvf-steps { list-style: none; padding: 0; position: relative; }
.qvf-steps::before { content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 1px; background: var(--line-accent); }
.qvf-step { position: relative; display: flex; gap: 16px; padding: 6px 0 16px; }
.qvf-step-n { z-index: 1; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-weight: 700; color: var(--on-accent); background: var(--accent); }
.qvf-step p { font-size: .93rem; color: var(--muted); }
.qvf-group { margin-bottom: 24px; }
.qvf-group-head, .qvf-verse-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.qvf-ref { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; font-size: .82rem; font-weight: 600; color: var(--text); border: 1px solid var(--accent); border-radius: 999px; }
.qvf-ref .qvf-icon { color: var(--accent); }
.qvf-verse { margin: 12px 0; padding: 18px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.qvf-verse .qvf-ar { margin: 10px 0; }

/* Alerts */
.qvf-alert { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; padding: 14px 18px; font-size: .92rem; background: var(--card); border: 1px solid var(--line-accent); border-radius: 16px; }
.qvf-alert .qvf-icon { color: var(--accent); margin-top: 2px; }
.qvf-alert-caution { border-color: var(--warn); } .qvf-alert-caution .qvf-icon { color: var(--warn); }
.qvf-alert-error { border-color: var(--bad); }
.qvf-alert-ok { border-color: var(--accent); }
.qvf-foot { display: flex; gap: 10px; margin-top: 32px !important; padding-top: 16px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); }
.qvf-results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.qvf-results-head h3 { font-size: 1.3rem; font-weight: 700; }

/* Error detection */
.qvf-panel { max-width: 780px; margin: 0 auto; padding: 26px; display: flex; flex-direction: column; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; }
.qvf-refrow { display: grid; grid-template-columns: 1fr 120px; gap: 12px; }
.qvf-actions { display: flex; }
.qvf-actions .qvf-btn { width: 100%; }
.qvf-recbox { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px 0; }
.qvf .qvf-mic { display: grid; place-items: center; width: 96px; height: 96px; padding: 0; border-radius: 50%; color: var(--on-accent); background: var(--accent); border: 0; transition: transform .2s; }
.qvf .qvf-mic:hover:not(:disabled) { transform: scale(1.04); }
.qvf-mic .qvf-icon { width: 40px; height: 40px; }
.qvf .qvf-mic:disabled { opacity: .5; }
.qvf .qvf-mic.is-recording { color: #fff; background: var(--bad); box-shadow: 0 0 0 0 rgba(255,107,107,.6); animation: qvf-pulse 1.4s infinite; }
.qvf-mic-label { color: var(--muted); font-size: .92rem; }
.qvf-out { max-width: 900px; margin: 24px auto 0; }
.qvf-banner { display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 600; background: var(--card); border: 1px solid var(--line); border-radius: 20px; animation: qvf-rise .35s both; }
.qvf-banner .qvf-icon { width: 1.5em; height: 1.5em; }
.qvf-banner-correct { color: var(--accent); border-color: var(--accent); }
.qvf-banner-minor { color: var(--text); border-color: var(--line-accent); }
.qvf-banner-issues, .qvf-banner-unmatched, .qvf-banner-invalid_reference, .qvf-banner-error { color: var(--bad); border-color: var(--bad); }
.qvf-banner-empty, .qvf-banner-not_ready, .qvf-banner-reference_mismatch { color: var(--warn); border-color: var(--warn); }
.qvf-banner-reference_only { color: var(--text); border-color: var(--accent); }
.qvf-card-flat { margin-top: 18px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; }
.qvf-card-flat .qvf-sub { margin-top: 0 !important; }
.qvf-audio { width: 100%; margin-top: 12px; color-scheme: dark; }
.qvf-compare-head { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-bottom: 10px; }
.qvf-compare { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.qvf-col { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 10px; min-width: 56px; background: var(--card2); border: 1px solid transparent; border-radius: 14px; }
.qvf-w { font-family: var(--arabic); font-size: 1.45rem; line-height: 1.6; padding: 0 6px; border-radius: 6px; }
.qvf-w-ok { color: var(--ok); }
.qvf-w-c { color: #fff; }
.qvf-w-ghost { color: #666; font-family: inherit; }
.qvf-w-wrong, .qvf-w-extra, .qvf-w-missing { color: var(--bad); background: rgba(255,107,107,.14); text-decoration: underline wavy var(--bad); text-underline-offset: 6px; }
.qvf-w-spelling { color: var(--warn); background: rgba(255,184,77,.14); text-decoration: underline wavy var(--warn); text-underline-offset: 6px; }
.qvf-w-sound { color: var(--sound); background: rgba(255,255,255,.1); text-decoration: underline dotted var(--sound); text-underline-offset: 6px; }
.qvf-w-orthography { color: var(--minor); background: rgba(255,255,255,.08); }
.qvf-w-fix { color: var(--accent); background: rgba(204,242,95,.12); }
.qvf-col-wrong, .qvf-col-extra, .qvf-col-missing { border-color: rgba(255,107,107,.5); }
.qvf-col-spelling { border-color: rgba(255,184,77,.5); }
.qvf-col-sound, .qvf-col-orthography { border-color: rgba(255,255,255,.3); }
.qvf-mark { background: rgba(255,255,255,.22); color: inherit; border-radius: 3px; padding: 0 1px; text-decoration: underline; }
.qvf-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 16px 0 0; padding: 0; list-style: none; font-size: .78rem; color: var(--muted); }
.qvf-legend li { display: inline-flex; align-items: center; gap: 6px; }
.qvf-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.qvf-dot-wrong, .qvf-dot-extra, .qvf-dot-missing { background: var(--bad); } .qvf-dot-spelling { background: var(--warn); } .qvf-dot-orthography { background: var(--minor); }
.qvf-issues, .qvf-notes { padding: 0; list-style: none; display: grid; gap: 12px; }
.qvf-issue { position: relative; padding: 14px 18px; background: var(--card); border: 1px solid var(--line); border-inline-start: 4px solid var(--bad); border-radius: 16px; }
.qvf-issue-spelling { border-inline-start-color: var(--warn); } .qvf-issue-orthography, .qvf-issue-sound { border-inline-start-color: var(--minor); }
.qvf-issue-type { display: inline-block; margin-bottom: 4px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.qvf-issue-pos { position: absolute; top: 12px; right: 16px; font-size: .75rem; color: var(--muted); }
.qvf-notes li { padding: 8px 14px; font-size: .88rem; color: var(--muted); border-inline-start: 2px solid var(--line-accent); }
.qvf-pron { margin: 12px 0; padding: 14px 18px; background: var(--card2); border: 1px solid var(--line-accent); border-radius: 16px; }
.qvf-pron strong { color: var(--accent); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.qvf-pron p { font-size: 1.05rem; }
.qvf-scan { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 28px; overflow: hidden; color: var(--accent); background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.qvf-scan-bar { position: absolute; top: 0; bottom: 0; width: 60px; background: linear-gradient(90deg, transparent, rgba(204,242,95,.2), transparent); animation: qvf-scan 1.4s ease-in-out infinite; }

/* Hadith Finder */
.qvf .qvf-mic.qvf-mic-sm { flex: none; width: 44px; height: 44px; }
.qvf .qvf-mic-sm .qvf-icon { width: 22px; height: 22px; }
.qvf-langs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 0; }
.qvf-langs-label { font-size: .85rem; color: var(--muted); }
.qvf .qvf-chip.is-active { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.qvf-mic-help { margin: 10px auto 0 !important; max-width: 640px; font-size: .88rem; color: var(--muted); text-align: center; }
.qvf-had-out { max-width: 860px; }
.qvf-had-topics { justify-content: flex-start; margin: 4px 0 8px; }
.qvf-had-card { margin: 16px 0; padding: 22px 26px; border-radius: 24px; }
.qvf-had-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.qvf .qvf-had-tab { min-height: 32px; padding: 3px 14px; }
.qvf-had-text { margin: 8px 0 10px; }
.qvf-had-body { white-space: pre-line; overflow-wrap: anywhere; }
.qvf-en.qvf-had-body { font-size: 1.05rem; line-height: 1.75; color: #e6e6e6; }
.qvf-had-meta { margin: 4px 0 !important; font-size: .88rem; color: #d0d0d0; }
.qvf-had-meta strong { color: var(--accent); font-weight: 600; }
.qvf-had-note { color: var(--muted); font-size: .82rem; }
.qvf-had-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.qvf .qvf-had-actions a.qvf-btn { text-decoration: none; }
.qvf-had-topic { color: var(--accent) !important; }
@media (max-width: 720px) {
	.qvf-searchbar .qvf-mic-sm { align-self: center; }
	.qvf-had-card { padding: 16px; }
}

/* Quiz certificate */
.qvf-cert-host { padding: 0; text-align: center; }
.qvf-cert-host .qvf-alert { text-align: left; max-width: 640px; margin: 12px auto; }
.qvf-cert-host > .qvf-btn { margin: 12px auto; }
html.qvf-cert-lock { overflow: hidden; }
.qvf.qvf-cert-root { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; max-width: none; margin: 0; padding: 16px; background: rgba(0,0,0,.82); }
.qvf-cert-dialog { position: relative; width: 100%; max-width: 920px; max-height: calc(100vh - 32px); overflow: auto; padding: 32px; background: var(--card); border: 1px solid var(--line-accent); border-radius: 24px; outline: 0; animation: qvf-rise .3s both; }
.qvf .qvf-cert-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: var(--text); background: transparent; border: 1px solid var(--line-accent); border-radius: 50%; }
.qvf .qvf-cert-x:hover { color: var(--on-accent); background: var(--accent); }
.qvf-cert-title { padding-right: 48px; font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 800; color: var(--accent) !important; }
.qvf-cert-lead { margin: 10px 0 18px !important; color: #d6d6d6; }
.qvf-cert-form { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.qvf-cert-label { font-size: .9rem; font-weight: 600; color: var(--text); }
.qvf-cert-form .qvf-input { padding: 14px 16px; background: var(--field); border: 1px solid var(--line); border-radius: 8px; font-size: 1.1rem; }
.qvf-cert-form .qvf-input:focus { border-color: var(--accent); }
.qvf-cert-err { min-height: 1.3em; font-size: .88rem; color: var(--bad); }
.qvf-cert-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.qvf-cert-stage { margin-top: 14px; }
.qvf-cert-canvas { display: block; width: 100%; height: auto; background: #131313; border: 1px solid var(--line-accent); border-radius: 12px; }
.qvf-cert-fine { margin-top: 12px !important; font-size: .8rem; color: var(--muted); }
.qvf-cert-print { display: none; }
@media print {
	body > *:not(.qvf-cert-print) { display: none !important; }
	html.qvf-cert-lock { overflow: visible; }
	.qvf-cert-print { display: block !important; position: static; margin: 0; padding: 0; }
	.qvf-cert-print img { display: block; width: 100%; height: auto; }
	@page { size: A4 landscape; margin: 0; }
}
@media (max-width: 720px) {
	.qvf-cert-dialog { padding: 20px 16px; border-radius: 18px; }
	.qvf-cert-actions .qvf-btn { flex: 1 1 140px; }
}

@keyframes qvf-spin { to { transform: rotate(360deg); } }
@keyframes qvf-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes qvf-pulse { 70% { box-shadow: 0 0 0 24px rgba(255,107,107,0); } 100% { box-shadow: 0 0 0 0 rgba(255,107,107,0); } }
@keyframes qvf-scan { from { left: -60px; } to { left: 100%; } }

@media (max-width: 720px) {
	.qvf-relation { grid-template-columns: 1fr; }
	.qvf-rel-link { flex-direction: row; } .qvf-rel-line { width: auto; height: 1px; min-width: 16px; min-height: 0; }
	.qvf-detail-head { grid-template-columns: 1fr; padding: 18px; }
	.qvf-filters { justify-content: flex-start; }
	.qvf-searchbar { border-radius: 20px; flex-wrap: wrap; padding: 8px; }
	.qvf-searchbar .qvf-input { flex: 1 1 140px; }
	.qvf-searchbar .qvf-btn { width: 100%; }
	.qvf-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
	.qvf .qvf-chip { white-space: nowrap; flex: none; }
	.qvf-ar { font-size: 1.45rem; } .qvf-ar-lg { font-size: 1.7rem; }
	.qvf-panel { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.qvf *, .qvf *::before, .qvf *::after { animation: none !important; transition: none !important; }
}
