:root {
  color-scheme: light;
  --ink: #221d19;
  --muted: #6d625b;
  --paper: #fffaf5;
  --card: #ffffff;
  --line: #eadfd5;
  --accent: #d63b18;
  --accent-dark: #a9280d;
  --warn: #fff0e7;
  --safe: #276749;
  --shadow: 0 16px 45px rgba(75, 42, 23, .09);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.65; }
a { color: var(--accent-dark); text-decoration-thickness: .08em; text-underline-offset: .16em; }
img { max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,250,245,.94); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; }
.nav-links { display: flex; gap: 20px; font-size: .94rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.hero { padding: 72px 0 52px; background: radial-gradient(circle at 85% 15%, #ffe0ce 0, transparent 32%), linear-gradient(180deg, #fffaf5, #fff); }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); margin: 12px 0 18px; max-width: 850px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 18px; }
.lede { max-width: 750px; font-size: 1.12rem; color: var(--muted); }
.search-box { display: flex; gap: 10px; margin-top: 28px; max-width: 760px; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.search-box input { flex: 1; min-width: 0; border: 0; padding: 13px 16px; font: inherit; outline: none; background: transparent; }
.button { border: 0; border-radius: 12px; padding: 13px 20px; background: var(--accent); color: #fff; font-weight: 750; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.button:hover { background: var(--accent-dark); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; max-width: 760px; }
.stat { padding: 16px; border-left: 3px solid var(--accent); background: #fff; }
.stat strong { display: block; font-size: 1.45rem; }
.stat span { color: var(--muted); font-size: .88rem; }
.section { padding: 52px 0; }
.section.alt { background: #fff; border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 8px 28px rgba(75,42,23,.05); }
.card h3 { margin: 8px 0 10px; }
.card h3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
.card h3 a { color: var(--ink); text-decoration: none; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: .86rem; }
.badge { display: inline-flex; padding: 3px 9px; border-radius: 999px; color: var(--accent-dark); background: var(--warn); font-size: .78rem; font-weight: 750; }
.empty { padding: 40px; border: 1px dashed #d8c9bc; border-radius: 18px; text-align: center; color: var(--muted); }
.breadcrumbs { padding: 22px 0 0; color: var(--muted); font-size: .88rem; }
.breadcrumbs a { color: inherit; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; padding: 30px 0 64px; }
.article { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 48px); }
.article h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
.alert { margin: 24px 0; padding: 18px 20px; border-left: 4px solid var(--accent); background: var(--warn); }
.fact-section { padding-top: 25px; margin-top: 25px; border-top: 1px solid var(--line); }
.fact-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.fact-list li { padding: 11px 13px; border-radius: 10px; background: #faf6f2; }
.products { display: grid; gap: 14px; }
.product { padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.product strong { display: block; }
.sidebar { position: sticky; top: 92px; display: grid; gap: 16px; }
.source-card { background: #2b211a; color: #fff; border-radius: 18px; padding: 22px; }
.source-card a { color: #ffd5c0; }
.recall-image { border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.year-list { display: flex; flex-wrap: wrap; gap: 10px; }
.year-list a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; }
.pagination { display: flex; justify-content: space-between; margin-top: 28px; }
.site-footer { padding: 36px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; }
.admin-shell { padding: 40px 0 70px; }
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; background: #fff; }
th, td { text-align: left; padding: 11px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll { overflow: auto; }
.table-scroll td { overflow-wrap: anywhere; }
.mt16 { margin-top: 16px; }
.form-card { max-width: 430px; margin: 70px auto; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field input { padding: 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.notice { color: var(--muted); font-size: .9rem; }

@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .admin-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav-links { display: none; }
  .hero { padding-top: 48px; }
  .search-box { flex-direction: column; }
  .stats, .grid { grid-template-columns: 1fr; }
  .footer-grid, .section-head { align-items: flex-start; flex-direction: column; }
  .article { border-radius: 14px; }
}
