:root { color-scheme: light; --ink: #162033; --muted: #64748b; --line: #e2e8f0; --accent: #2563eb; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f8fafc; font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(920px, calc(100% - 32px)); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { color: var(--ink); font-size: 1.15rem; font-weight: 750; }
nav { display: flex; gap: 18px; }
main { padding-block: 34px; }
h1 { margin: 0 0 8px; font-size: clamp(1.7rem, 4vw, 2.2rem); }
.toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.toolbar p, main > p { color: var(--muted); margin: 0; }
select { min-width: 180px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.articles { display: grid; gap: 16px; }
article { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 4px 14px rgb(15 23 42 / 4%); }
article h2 { margin: 7px 0 8px; font-size: 1.2rem; line-height: 1.35; }
article p { color: #475569; margin: 0 0 10px; }
.meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .86rem; }
.source { color: #0f766e; font-weight: 700; }
.original { font-size: .92rem; font-weight: 650; }
.pagination { justify-content: center; align-items: center; margin-top: 26px; }
.pagination a, .pagination span { padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.empty { padding: 34px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed #cbd5e1; border-radius: 12px; }
.table-wrap { overflow-x: auto; margin-top: 20px; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
th, td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: #f1f5f9; font-size: .9rem; }
.error { max-width: 320px; color: #b91c1c; overflow-wrap: anywhere; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .8rem; }
.badge.ok { color: #166534; background: #dcfce7; }
.badge.off { color: #475569; background: #e2e8f0; }
footer { padding-block: 24px 36px; color: var(--muted); font-size: .88rem; }
@media (max-width: 640px) { .header-inner, .toolbar { align-items: flex-start; flex-direction: column; } nav { gap: 12px; font-size: .92rem; } select { width: 100%; } }
