/* Trang trả lời từng món: cùng màu, chữ và khối kết quả với trang kiểm tra (web/index.html) */
:root {
  --bg: #FAF6F0;
  --surface: #FFFDFA;
  --fg: #2E2419;
  --muted: #6A5C4E;
  --border: rgba(46, 36, 25, 0.13);
  --accent: #5B3D28;
  --accent-fg: #FFFDFA;
  --ok: #2E6A4E;      --ok-bg: #E7F0E9;
  --ask: #855400;     --ask-bg: #FAEFD8;
  --avoid: #9C3A25;   --avoid-bg: #F7E3DC;
  --font: "Be Vietnam Pro", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Be Vietnam Pro", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --r: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--font); min-height: 100dvh; }
main { max-width: 560px; margin: 0 auto; padding: 20px 20px calc(32px + env(safe-area-inset-bottom)); }
a { color: var(--fg); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }
.top { margin: 4px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.top .brand { display: inline-block; font-weight: 600; font-size: 15px; letter-spacing: 0.02em; text-decoration: none; padding: 4px 0; }
.top ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.top li a { display: inline-block; font-size: 15px; color: var(--muted); padding: 8px 0; min-height: 40px; }
.top li a[aria-current="page"] { color: var(--fg); font-weight: 600; text-decoration: none; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px 18px 8px; margin: 24px 0 0; }
.toc h2 { font-size: 17px; margin: 0 0 4px; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li a { display: block; padding: 9px 0; font-size: 16px; }
.more[id] { scroll-margin-top: 16px; }
.list.plain a { grid-template-columns: 1fr; }
h1 { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 18px; overflow-wrap: anywhere; }
h2 { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.35; margin: 0 0 8px; }
p { margin: 0 0 12px; }
.lead { color: var(--muted); margin: 0 0 22px; }

.verdict { border-radius: 20px; padding: 22px 20px 20px; margin: 0 0 18px; }
.verdict p { margin: 0; }
.verdict .icon { width: 34px; height: 34px; margin-bottom: 10px; }
.verdict .vt { font-size: 24px; line-height: 1.3; margin: 0 0 8px; }
.verdict.lv-ok { background: var(--ok-bg); } .verdict.lv-ok .vt, .verdict.lv-ok .icon { color: var(--ok); }
.verdict.lv-ask { background: var(--ask-bg); } .verdict.lv-ask .vt, .verdict.lv-ask .icon { color: var(--ask); }
.verdict.lv-avoid { background: var(--avoid-bg); } .verdict.lv-avoid .vt, .verdict.lv-avoid .icon { color: var(--avoid); }

.dot { flex: none; display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.dot.lv-ok { background: var(--ok); } .dot.lv-ask { background: var(--ask); } .dot.lv-avoid { background: var(--avoid); }

.found { list-style: none; padding: 0; margin: 0 0 18px; }
.found li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; margin-bottom: 10px; }
.found .what { font-weight: 600; display: flex; gap: 10px; align-items: baseline; }
.found .printed { font-size: 15px; color: var(--muted); margin: 4px 0 8px; overflow-wrap: anywhere; }
.found .printed q { color: var(--fg); quotes: "“" "”"; }
.found .why { margin: 0; }
.src { margin: 10px 0 0; font-size: 15px; }

.scope { margin: 0 0 18px; padding: 0 2px; }
.scope p { color: var(--muted); }
.scope b { color: var(--fg); font-weight: 600; }

.own { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px; margin: 26px 0 18px; }
.own p { color: var(--muted); margin-bottom: 16px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  width: 100%; min-height: 56px; border-radius: 999px; border: 1.5px solid var(--accent);
  font: 600 17px/1.25 var(--font); letter-spacing: 0.01em; text-decoration: none; padding: 10px 20px;
  transition: transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn svg { flex: none; width: 22px; height: 22px; }
main > .btn { margin: 0 0 30px; }

details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 0 16px; margin: 0 0 18px; }
summary { cursor: pointer; padding: 14px 0; font-weight: 500; min-height: 48px; }
details ol { margin: 0 0 12px; padding-left: 22px; font-size: 15px; color: var(--muted); }
details .src { margin: 0 0 16px; }

.more { margin-top: 36px; border-top: 1px solid var(--border); padding-top: 22px; }
.list { list-style: none; padding: 0; margin: 0; }
.list a { display: grid; grid-template-columns: 12px 1fr; column-gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--border); text-decoration: none; }
details .note { font-size: 15px; color: var(--muted); margin: 0 0 12px; }
.list .dot { transform: translateY(1px); }
.list .name { overflow-wrap: anywhere; }
.good { margin-top: 32px; }
.good h3 { font-size: 16px; font-weight: 600; margin: 18px 0 6px; }
.more > .note, article > .note { font-size: 15px; color: var(--muted); margin: 0 0 12px; }
.list .sub { grid-column: 2; font-size: 14px; color: var(--muted); }
.cd { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; margin: 28px 0 18px; }
.cd h2 { font-size: 18px; font-weight: 600; margin: 0 0 12px; }
.cd .note { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.cd .ly { border-left: 3px solid var(--border); padding: 2px 0 2px 12px; margin: 0 0 14px; }
.cd .ly b { display: block; }
.cd .ly .chat { font-size: 15px; color: var(--muted); margin: 2px 0 6px; overflow-wrap: anywhere; }
.cd .ly p { margin: 0; }
.cd .ly .src { margin: 6px 0 0; font-size: 15px; }
.cd .src a { color: var(--fg); text-underline-offset: 3px; }
.cd dl { margin: 0; }
.cd dt { font-weight: 500; margin-top: 10px; }
.cd dd { margin: 2px 0 0; font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.cd > .src { margin: 14px 0 0; font-size: 15px; color: var(--muted); }

footer { margin-top: 44px; font-size: 15px; color: var(--muted); }
footer p { margin: 0 0 8px; }
footer a { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
