:root{--bg:#faf8f4;--card:#fff;--ink:#1d1d1f;--muted:#6b6b70;--line:#e6e1d8;--accent:#b4232a;--accent-soft:#fbeeee;--blue:#1f4e8c;--blue-soft:#eaf1fb;--amber:#9a6200;--amber-soft:#fdf3e1;--green-soft:#eef7ef}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:56px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Sarabun,"Noto Sans Thai",system-ui,sans-serif;font-size:18px;line-height:1.8;-webkit-text-size-adjust:100%}
.wrap{max-width:860px;margin:0 auto;padding:0 18px}
a{color:var(--blue)}
.muted{color:var(--muted);font-size:.92em}
.masthead{background:#fff;border-bottom:1px solid var(--line)}
.masthead .wrap:first-child{padding-top:26px;padding-bottom:16px}
.kicker{color:var(--accent);font-weight:700;font-size:.82rem;letter-spacing:.04em}
h1{font-family:"Noto Serif Thai",Sarabun,serif;font-size:clamp(1.7rem,5vw,2.4rem);line-height:1.3;margin:.2em 0 .3em}
.tagline{color:var(--muted);margin:0 0 14px}
.edition-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.edition-bar label{font-weight:600}
select{font:inherit;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;min-height:44px}
.tocbar{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid var(--line)}
.toc{display:flex;gap:4px;overflow-x:auto;padding-top:6px;padding-bottom:6px;}
.toc a{white-space:nowrap;text-decoration:none;color:var(--ink);padding:8px 12px;border-radius:999px;font-size:.95rem}
.toc a:hover{background:var(--bg)}
section{padding:28px 0 8px}
h2{font-family:"Noto Serif Thai",Sarabun,serif;font-size:1.45rem;margin:0 0 14px;padding-bottom:8px;border-bottom:3px solid var(--ink)}
h3{font-size:1.15rem;line-height:1.5;margin:0 0 8px}
h4{font-size:1.02rem;margin:22px 0 8px}
.highlights{list-style:none;margin:0;padding:0;background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.highlights li{display:flex;gap:14px;padding:12px 16px;border-top:1px solid var(--line)}
.highlights li:first-child{border-top:0}
.highlights .num{flex:0 0 28px;height:28px;border-radius:50%;background:var(--ink);color:#fff;font-weight:700;display:grid;place-items:center;font-size:.9rem;margin-top:2px}
.highlights a{color:var(--ink);text-decoration:none;font-weight:600}
.highlights a:hover{text-decoration:underline}
.tag{display:inline-block;font-size:.78rem;font-weight:600;padding:1px 9px;border-radius:999px;background:var(--bg);border:1px solid var(--line);color:var(--muted);white-space:nowrap}
.highlights .tag{margin-left:6px}
.watch{margin-top:16px;background:var(--blue-soft);border-left:4px solid var(--blue);border-radius:10px;padding:12px 16px}
.watch p{margin:4px 0 0}
.impact{background:var(--accent-soft);border-radius:10px;padding:10px 14px;margin:10px 0}
.impact strong{display:block;color:var(--accent);font-size:.9rem}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px}
.card h3{margin-bottom:10px}
.badge{display:inline-block;font-weight:700;font-size:.85rem;padding:3px 10px;border-radius:999px}
.badge.us{background:var(--blue-soft);color:var(--blue)}
.badge.il{background:var(--amber-soft);color:var(--amber)}
dl{margin:10px 0 0}
dt{font-size:.82rem;color:var(--muted);font-weight:600;margin-top:8px}
dd{margin:0}
details{background:var(--card);border:1px solid var(--line);border-radius:14px;margin:14px 0;overflow:hidden}
summary{cursor:pointer;padding:14px 16px;font-weight:700;list-style:none;display:flex;justify-content:space-between}
summary::-webkit-details-marker{display:none}
summary::after{content:"＋";color:var(--muted)}
details[open] summary::after{content:"－"}
details[open] summary{border-bottom:1px solid var(--line)}
.details-body{padding:0 16px 16px}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
table{border-collapse:collapse;width:100%;font-size:.93rem;min-width:420px}
th,td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:.82rem;color:var(--muted);font-weight:600;background:var(--bg)}
td.num{text-align:right;white-space:nowrap}
ul.list,ol.list{padding-left:1.3em;margin:6px 0}
ul.list li,ol.list li{margin:4px 0}
.note{color:var(--muted);font-size:.93rem}
.footer{color:var(--muted);font-size:.85rem;padding-top:24px;padding-bottom:40px;border-top:1px solid var(--line);margin-top:30px}
.highlights li.more{justify-content:center;background:var(--bg)}
.highlights li.more a{color:var(--blue)}
.filterbar{position:sticky;top:52px;z-index:4;background:var(--bg);padding:8px 18px 6px;margin:0 -18px 6px}
.filters{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.filters::-webkit-scrollbar{display:none}
.filters button{font:inherit;font-size:1rem;font-weight:600;border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 16px;min-height:44px;white-space:nowrap;cursor:pointer;color:var(--ink)}
.filters button[aria-selected=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
.filters .count{opacity:.6;margin-left:6px;font-weight:400;font-size:.85em}
.cat-group{margin:18px 0 30px}
.cat-title{font-family:"Noto Serif Thai",Sarabun,serif;font-size:1.3rem;margin:0 0 4px;padding:4px 0 4px 12px;border-left:5px solid var(--accent)}
.cat-title .count{font-family:Sarabun,sans-serif;font-size:.8rem;font-weight:500;color:var(--muted)}
.story{background:var(--card);border:1px solid var(--line);border-radius:16px;margin:16px 0;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.story .thumb{margin:0;position:relative;background:#eee}
.story .thumb img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.story .thumb figcaption{position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,.6);color:#fff;font-size:.72rem;line-height:1.3;padding:2px 8px;border-radius:6px}
.story-body{padding:16px 18px}
.story h3{font-size:1.22rem;line-height:1.5;margin:6px 0 10px}
.story p{margin:0 0 12px;color:#2b2b2e}
.sources{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-top:10px;font-size:.88rem}
.src-label{color:var(--muted);font-size:.82rem}
.sources a{text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:3px 12px;background:var(--bg);line-height:1.6}
.sources a span{display:block;color:var(--muted);font-size:.78rem}
.sources a:hover{border-color:var(--blue)}
@media (min-width:720px){.story.has-img{display:grid;grid-template-columns:280px 1fr;align-items:start}.story.has-img .thumb{margin:16px 0 16px 16px;border-radius:10px;overflow:hidden}.story.has-img .thumb img{aspect-ratio:4/3}}
@media (max-width:520px){body{font-size:17px}.story-body{padding:14px 15px}.story h3{font-size:1.15rem}}
.details-body .sources a,#th-body .sources a{border-radius:10px;padding:5px 12px;line-height:1.4}
