/* report.css: review card footer, Report button, shared report dialog, blurred and hidden
   reviews, and the editors' queue (31 Oct 2026). Colours checked for 4.5:1 or better
   (report_contrast.py in /workspace/wf/report/). Light and dark (html[data-theme=dark]). */
.fw-rv{list-style:none;margin:0 0 14px;padding:14px 16px;border:1px solid #d8c49b;border-radius:12px;background:#fffaf0;color:#2b1a0e}
.fw-rv-h p{margin:0}.fw-rv-who b{font-weight:700}
.fw-rv-t{margin:.4em 0 .2em;font-size:1.1rem}
.fw-rv-b p{margin:.5em 0;overflow-wrap:anywhere}
.fw-small{font-size:.85rem;color:#5b4632}
.fw-rv-tag,.fw-rv-sptag{display:inline-block;margin-left:4px;padding:1px 8px;border-radius:999px;background:#f1e3c2;color:#4a3215;font-size:.78rem;font-weight:700}
/* footer: Helpful (n) · Share · Report (Report right-aligned) */
footer.fw-rv-f{display:flex;flex-wrap:wrap;align-items:center;column-gap:8px;margin:8px 0 0;border-top:1px solid #e6d3a8;padding:4px 0 0;text-align:left;font-size:1rem;color:#4f3b28;background:none}  /* resets the site-wide footer{} rule */
.fw-rv-btn,.fw-rep{display:inline-flex;align-items:center;gap:6px;min-height:44px;min-width:44px;padding:0 8px;border:0;background:none;border-radius:8px;
  color:#4f3b28;font:600 .9rem system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}
.fw-rv-btn svg,.fw-rep svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.fw-dot{color:#6d5640}
.fw-rep{margin-left:auto;color:#5b4632}
.fw-rv-own{margin-left:auto;display:inline-flex;gap:4px}
.fw-rv-btn:hover span,.fw-rep:hover span{text-decoration:underline}
.fw-rv-btn:focus-visible,.fw-rep:focus-visible,.fw-rv-reveal:focus-visible,.fw-btn:focus-visible,.fw-rdlg-x:focus-visible{outline:3px solid #8a5a12;outline-offset:2px}
.fw-rep.is-done{cursor:default;color:#5b4632}
.fw-rep.is-done:hover span{text-decoration:none}
@media (max-width:560px){.fw-rv-f{column-gap:2px}.fw-rv-btn,.fw-rep{padding:0 6px}.fw-rep{margin-left:auto}}
/* spoiler blur and hidden notice */
.fw-rv-spw{position:relative}
.fw-rv-blur{filter:blur(7px);user-select:none;pointer-events:none;min-height:4.5em}
.fw-rv-reveal{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;border:1px dashed #a8873a;border-radius:10px;
  background:#fffaf0d9;color:#2b1a0e;font:600 .95rem system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}
.fw-rv-reveal svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.fw-rv-hidden{margin:.6em 0;padding:10px 12px;border-radius:10px;background:#efe6d6;color:#3d2b1a;font-style:italic}
/* the dialog: modal on desktop, bottom sheet on phones */
html.fw-rdlg-open{overflow:hidden}
dialog.fw-rdlg{width:min(34rem,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;padding:20px 22px;border:1px solid #c9b48f;border-radius:14px;
  background:#fffaf0;color:#2b1a0e;box-shadow:0 20px 60px #0006;font:1rem/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}
dialog.fw-rdlg::backdrop{background:#1a0f0899}
.fw-rdlg h2{margin:0 2.2rem .2rem 0;font-size:1.3rem;border:0;padding:0}
.fw-rdlg-x{position:absolute;top:8px;right:8px;width:44px;height:44px;border:0;background:none;border-radius:50%;color:#4f3b28;font-size:1.1rem;cursor:pointer}
.fw-rdlg .fw-radios{border:0;padding:0;margin:10px 0}
.fw-rdlg .fw-radios legend{font-weight:700;margin-bottom:4px;padding:0}
.fw-rdlg .fw-radios label{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}
.fw-rdlg .fw-radios input{width:20px;height:20px;accent-color:#8a5a12;flex:none;margin:0}
.fw-field label{display:block;font-weight:700;margin:6px 0 4px}
.fw-field textarea{width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid #8c7457;border-radius:8px;font:inherit;background:#fff;color:#2b1a0e}
.fw-rep-cnt{margin:4px 0 0;text-align:right}
.fw-err{margin:8px 0;padding:8px 10px;border-radius:8px;background:#fbe3dc;color:#7a1f0c;font-weight:600}
.fw-btns{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.fw-btn{min-height:44px;padding:0 18px;border:1px solid #8c7457;border-radius:999px;background:#fffaf0;color:#2b1a0e;font:700 .95rem system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}
.fw-btn-gold{background:#6b4a12;border-color:#6b4a12;color:#fff}
.fw-btn-warn{border-color:#8a3b1c;color:#7a2a0f}
.fw-btn:disabled{opacity:.6;cursor:default}
.fw-rep-done{text-align:center;padding:8px 4px}
.fw-rep-done h2{margin-right:0}.fw-rep-done h2:focus{outline:none}
.fw-rep-done .fw-btns{justify-content:center}
.fw-rep-ok{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#e3f0dc;color:#24461f}
.fw-rep-ok svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2}
@media (max-width:560px){
  dialog.fw-rdlg[open]{margin:auto 0 0;width:100vw;max-width:100vw;border-radius:18px 18px 0 0;border-bottom:0;max-height:92vh;padding-bottom:calc(18px + env(safe-area-inset-bottom))}
}
/* editors' queue (/admin/reviews) */
main.fw-admin{max-width:60rem}
.fw-tabs{display:flex;gap:4px;border-bottom:1px solid #c9b48f;margin:0 0 16px}
.fw-tabs a{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px;border-bottom:3px solid transparent;color:inherit;font-weight:700;text-decoration:none}
.fw-tabs a[aria-current=page]{border-bottom-color:#8a5a12}
.fw-q{list-style:none;margin:0;padding:0}
.fw-q-i{margin:0 0 16px;padding:14px 16px;border:1px solid #d8c49b;border-radius:12px;background:#fffaf0}
.fw-q-i h3{margin:.4em 0 .2em;font-size:1.1rem}.fw-q-film{font-weight:400;color:#5b4632}
.fw-q-k{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.fw-q-st{padding:2px 10px;border-radius:999px;font-size:.8rem;font-weight:700}
.fw-q-no{background:#fbe3dc;color:#7a1f0c}.fw-q-pend{background:#f1e3c2;color:#4a3215}
.fw-q-c{font-size:.8rem;color:#5b4632}
.fw-q-body{font-size:.95rem}.fw-q-body p{margin:.4em 0}
.fw-q-why{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:8px 16px;margin:10px 0 0;padding:10px 12px;border-radius:10px;background:#f6ecd6;font-size:.9rem}
.fw-q-why h4{margin:0 0 4px;font-size:.85rem}.fw-q-why ul{margin:0;padding-left:18px}
.fw-q-strike{margin:10px 0 0;font-size:.9rem}
.fw-q-dec label{display:block;margin:10px 0 4px;font-weight:700}
.fw-q-dec textarea{width:100%;box-sizing:border-box;padding:8px;border:1px solid #8c7457;border-radius:8px;font:inherit}
.fw-q-btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
/* dark */
html[data-theme="dark"] .fw-rv,html[data-theme="dark"] dialog.fw-rdlg,html[data-theme="dark"] .fw-q-i{background:#221812;border-color:#5a4632;color:#f3e7cc}
html[data-theme="dark"] .fw-small,html[data-theme="dark"] .fw-rep,html[data-theme="dark"] .fw-rv-btn,html[data-theme="dark"] .fw-dot,html[data-theme="dark"] .fw-rdlg-x,html[data-theme="dark"] .fw-q-film,html[data-theme="dark"] .fw-q-c{color:#d9c7a6}
html[data-theme="dark"] footer.fw-rv-f{border-top-color:#4a3a2a;color:#d9c7a6}
html[data-theme="dark"] .fw-rv-reveal{background:#221812d9;color:#f3e7cc;border-color:#c9a24a}
html[data-theme="dark"] .fw-rv-hidden{background:#33261b;color:#eadbbf}
html[data-theme="dark"] .fw-field textarea,html[data-theme="dark"] .fw-q-dec textarea{background:#17100b;color:#f3e7cc;border-color:#8c7457}
html[data-theme="dark"] .fw-btn{background:#2c2018;color:#f3e7cc;border-color:#8c7457}
html[data-theme="dark"] .fw-btn-gold{background:#e0bd6a;border-color:#e0bd6a;color:#1f1408}
html[data-theme="dark"] .fw-q-why{background:#2c2018}
