/* 2026-11-08 칸반 0072: 원본 인라인 <style> 을 옮기고 import.mjs 의 cssEdits 만 바꿨다. 직접 고치지 말고 import.mjs 를 고친다. */
/* Layout: 단일 칼럼 리포트(최대 880px). 차트는 넓게, 본문은 65자 폭. 빨간 판정 도장 하나만 강조. */
:root{
  --bg:#f1f2f0; --surface:#fbfbfa; --ink:#16181b; --muted:#5b6067; --faint:#8a9097; --rule:#d6d9d6; --worst:#6250d6; --cash:rgba(110,116,124,.12);
  --pred:#d95926; --pred-soft:rgba(235,104,52,.16);
  --real:#2a78d6; --real-soft:rgba(42,120,214,.14);
  --stamp:#b3261e; --good:#1f7a4d; --bad:#b3261e;
  --display:"Nanum Myeongjo","Noto Serif KR",AppleMyungjo,Batang,serif;
  --body:"IBM Plex Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#131518; --surface:#1b1e21; --ink:#eceeef; --muted:#a3a9af; --faint:#7d848b; --rule:#2e3338; --worst:#9085e9; --cash:rgba(170,176,184,.10);
  --pred:#e3733f; --pred-soft:rgba(227,115,63,.2); --real:#4f95ea; --real-soft:rgba(79,149,234,.18);
  --stamp:#ef5b52; --good:#4cb47c; --bad:#ef6a62; color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#131518; --surface:#1b1e21; --ink:#eceeef; --muted:#a3a9af; --faint:#7d848b; --rule:#2e3338; --worst:#9085e9; --cash:rgba(170,176,184,.10);
  --pred:#e3733f; --pred-soft:rgba(227,115,63,.2); --real:#4f95ea; --real-soft:rgba(79,149,234,.18);
  --stamp:#ef5b52; --good:#4cb47c; --bad:#ef6a62; color-scheme:dark}
*{box-sizing:border-box}
body{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.7;
  padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-block:calc(72px + env(safe-area-inset-top,0px)) 0;word-break:keep-all;overflow-wrap:break-word}
button{font-family:inherit}
.wrap{max-width:880px;margin:0 auto;display:flex;flex-direction:column;gap:64px}
h1,h2,h3{font-family:var(--display);text-wrap:balance;margin:0;line-height:1.3}
h1{font-size:clamp(30px,5.4vw,48px);font-weight:800;letter-spacing:-.01em}
h2{font-size:clamp(23px,3.4vw,30px);font-weight:800}
h3{font-size:19px;font-weight:700}
p{margin:0;max-width:65ch}
.eyebrow{font-family:var(--mono);font-size:14px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
section{display:flex;flex-direction:column;gap:18px}
.lede{font-size:18px;color:var(--muted)}
.mono{font-family:var(--mono);font-variant-numeric:tabular-nums}
a{color:var(--real)}
/* hero */
.hero{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:start}
.stamp{font-family:var(--display);font-weight:800;color:var(--stamp);border:3px solid var(--stamp);border-radius:6px;
  padding:10px 18px;transform:rotate(-6deg);text-align:center;line-height:1.2;margin-top:12px;font-size:26px;white-space:nowrap}
.stamp small{display:block;font-family:var(--mono);font-size:14px;letter-spacing:.14em;font-weight:500}
@media (max-width:620px){.hero{grid-template-columns:1fr}.stamp{justify-self:start}}
.scores{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--rule);border:1px solid var(--rule);border-radius:8px;overflow:hidden}
.score{background:var(--surface);padding:16px;display:flex;flex-direction:column;gap:4px;min-width:0}
.score .k{font-size:14px;color:var(--muted)}
.score .v{font-family:var(--mono);font-size:26px;font-weight:500;font-variant-numeric:tabular-nums}
.score .n{font-size:14px;color:var(--muted);line-height:1.5}
@media (max-width:720px){.scores{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tag{display:inline-block;font-size:14px;font-weight:600;padding:1px 8px;border-radius:99px;border:1px solid currentColor;white-space:nowrap}
.t-true{color:var(--good)}.t-part{color:var(--pred)}.t-false{color:var(--bad)}
/* claims */
.claims{display:flex;flex-direction:column;border-top:1px solid var(--rule)}
.claim{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:20px;padding:16px 0;border-bottom:1px solid var(--rule)}
.claim .q{font-weight:600}
.claim .q .tag{margin-top:6px}
.claim .a{color:var(--muted);font-size:15px}
@media (max-width:620px){.claim{grid-template-columns:1fr;gap:8px}}
/* charts */
.fig{background:var(--surface);border:1px solid var(--rule);border-radius:8px;padding:18px 18px 14px;display:flex;flex-direction:column;gap:10px;min-width:0}
.fig-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 20px;align-items:baseline}
.legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:14px;color:var(--muted)}
.legend i{display:inline-block;width:12px;height:12px;border-radius:2px;vertical-align:-1px;margin-right:6px}
.scroll{overflow-x:auto;position:relative}
.scroll svg{display:block;width:100%;height:auto}
.wide svg{min-width:720px}
.xwide svg{min-width:1100px}
.cap{font-size:14px;color:var(--muted)}
.scroll svg{font-family:var(--mono);fill:var(--muted);font-size:11px}
.tip{position:absolute;pointer-events:none;background:var(--ink);color:var(--bg);font-size:14px;line-height:1.5;padding:6px 9px;border-radius:5px;white-space:nowrap;transform:translate(-50%,-110%);font-family:var(--mono)}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media (max-width:720px){.grid2{grid-template-columns:1fr}}
/* tables */
.tbl{overflow-x:auto}
table{border-collapse:collapse;width:100%;font-size:14px;font-variant-numeric:tabular-nums}
th,td{text-align:right;padding:6px 10px;border-bottom:1px solid var(--rule);white-space:nowrap}
th{font-weight:600;color:var(--muted);font-size:14px}
th:first-child,td:first-child{text-align:left}
td.hit{color:var(--good);font-weight:600}td.miss{color:var(--bad)}
.tabs{display:flex;gap:6px;flex-wrap:wrap}
.tabs button{font:inherit;font-size:14px;padding:6px 14px;border-radius:99px;border:1px solid var(--rule);background:transparent;color:var(--muted);cursor:pointer}
.tabs button[aria-selected="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.tabs button:focus-visible{outline:2px solid var(--real);outline-offset:2px}
.note{border:1px solid var(--pred);background:var(--pred-soft);border-radius:8px;padding:12px 16px;color:var(--muted);font-size:15px}
.sources{font-size:14px;color:var(--muted);display:flex;flex-direction:column;gap:6px;padding-left:18px;margin:0}
.wrap footer{font-size:14px;color:var(--faint);border-top:1px solid var(--rule);padding-top:16px}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chips button{font:inherit;font-size:14px;padding:4px 12px;border-radius:99px;border:1px solid var(--rule);background:transparent;color:var(--muted);cursor:pointer}
.chips button[aria-pressed="true"]{border-color:var(--pred);color:var(--ink);background:var(--pred-soft)}
.chips button:focus-visible{outline:2px solid var(--real);outline-offset:2px}
.bar{display:inline-block;width:70px;height:8px;background:var(--rule);border-radius:2px;margin-right:8px;vertical-align:0;overflow:hidden}
.bar i{display:block;height:100%;border-radius:2px}
tr.base td{font-weight:600}

/* ── 사이트 공통: 서재 복귀·하단 (sf-ai-mixtape 와 같은 형태) ── */
.site-back{position:fixed;top:calc(16px + env(safe-area-inset-top,0px));left:max(16px,env(safe-area-inset-left,0px));z-index:50;
  display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:7px 15px 7px 10px;border-radius:30px;
  background:var(--ink);color:var(--bg);font-family:var(--body);font-size:14px;font-weight:600;text-decoration:none;line-height:1}
.site-back svg{flex-shrink:0;display:block}
.site-back:hover,.site-back:focus-visible{background:var(--real);color:#fff}
@media (max-width:600px){
  .site-back{top:calc(13px + env(safe-area-inset-top,0px));padding:9px 10px}
  .site-back span{display:none}
}
.site-foot{max-width:880px;margin:72px auto 0;border-top:1px solid var(--rule);padding:28px 0 calc(32px + env(safe-area-inset-bottom,0px));font-size:14px;color:var(--muted);text-align:center}
.site-foot .site-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 22px;margin:0 0 12px}
.site-foot .site-nav a{color:var(--ink);text-decoration:none;font-weight:600;padding:6px 0}
.site-foot .site-nav a:hover,.site-foot .site-nav a:focus-visible{color:var(--real);text-decoration:underline}
.site-foot p{margin:4px auto;max-width:none;line-height:1.6}
.site-foot strong{color:var(--ink)}
