:root {
  --forest-950: #102a24;
  --forest-900: #173c33;
  --forest-800: #205143;
  --forest-700: #2b6956;
  --forest-100: #dcebe3;
  --forest-50: #eff7f2;
  --cream: #f7f4ec;
  --paper: #fffdf8;
  --amber: #d7893b;
  --amber-soft: #f7e6cf;
  --red: #a43f36;
  --red-soft: #f8e4e1;
  --ink: #1d2925;
  --muted: #66746f;
  --line: #dfe5df;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(20, 52, 44, .10);
  --shadow-sm: 0 8px 24px rgba(20, 52, 44, .08);
  --radius: 18px;
  --radius-sm: 11px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img, video { max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; padding: 10px 16px; background: var(--white); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(32,81,67,.12); background: rgba(247,244,236,.93); backdrop-filter: blur(16px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; box-shadow: 0 7px 16px rgba(32,81,67,.18); }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px 13px 13px 4px; color: white; background: var(--forest-800); font-weight: 800; box-shadow: 0 7px 16px rgba(32,81,67,.18); }
.brand strong, .brand small { display: block; line-height: 1.3; }
.brand strong { letter-spacing: .08em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; letter-spacing: .1em; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; }
.site-nav a:hover, .link-button:hover { color: var(--forest-700); }
.nav-login { padding: 9px 16px; color: var(--white) !important; border-radius: 999px; background: var(--forest-800); }
.inline-form { display: inline; margin: 0; }
.link-button { appearance: none; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; font-weight: 600; }

.site-footer { padding: 44px 0; color: #dbe7e1; background: var(--forest-950); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.footer-grid strong { color: white; font-size: 20px; }
.footer-grid span { color: white; font-weight: 700; }
.footer-grid p { margin: 6px 0 0; font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; background: white; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 17px; border: 1px solid transparent; border-radius: 10px; color: white; background: var(--forest-800); font-weight: 700; cursor: pointer; transition: .2s ease; }
.button:hover { background: var(--forest-700); transform: translateY(-1px); }
.button-secondary { color: var(--forest-900); border-color: var(--forest-100); background: var(--forest-50); }
.button-secondary:hover { background: var(--forest-100); }
.button-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.button-ghost:hover { background: white; }
.button-danger { background: var(--red); }
.button-danger:hover { background: #88332d; }
.button-small { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.text-link { color: var(--forest-700); font-weight: 700; }
.text-link:hover { text-decoration: underline; }

.toast-stack { position: fixed; z-index: 100; right: 18px; top: 88px; width: min(390px, calc(100% - 36px)); display: grid; gap: 10px; }
.toast { padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow-sm); font-size: 14px; }
.toast-success { border-color: #b8d7c5; background: #edf8f1; }
.toast-error { border-color: #e8bab5; background: var(--red-soft); }
.toast-warning { border-color: #ebcfaa; background: #fff6e9; }

.manage-body { background: #f2f4f0; }
.manage-topbar { position: sticky; top: 0; z-index: 60; height: 68px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.brand.compact .brand-mark { width: 36px; height: 36px; border-radius: 10px 10px 10px 3px; }
.brand.compact .brand-logo { width: 40px; height: 40px; }
.topbar-user { display: flex; align-items: center; gap: 16px; text-align: right; }
.topbar-user strong, .topbar-user small { display: block; line-height: 1.3; }
.topbar-user small { color: var(--muted); font-size: 12px; }
.sidebar-toggle { display: none; border: 0; background: transparent; font-weight: 700; }
.manage-shell { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar { position: sticky; top: 68px; height: calc(100vh - 68px); padding: 22px 16px; overflow-y: auto; border-right: 1px solid var(--line); background: var(--forest-950); color: #d7e3dd; }
.sidebar nav { display: grid; gap: 4px; }
.sidebar a { padding: 9px 13px; border-radius: 9px; font-size: 14px; }
.sidebar a:hover, .sidebar a.active { color: white; background: rgba(255,255,255,.10); }
.nav-section { margin: 18px 13px 5px; color: #7fa497; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.nav-section:first-child { margin-top: 0; }
.manage-content { min-width: 0; padding: 30px clamp(20px, 4vw, 52px) 60px; }
.sidebar-backdrop { display: none; }
.page-head { margin-bottom: 24px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.page-head h1 { margin: 2px 0 0; font-size: clamp(27px, 3vw, 38px); line-height: 1.2; letter-spacing: -.03em; }
.eyebrow { margin: 0; color: var(--forest-700); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.page-note { max-width: 660px; margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.breadcrumbs { margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.breadcrumbs a:hover { color: var(--forest-700); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; box-shadow: 0 4px 14px rgba(23,60,51,.03); overflow: hidden; }
.stat-card::after { content: ""; position: absolute; width: 72px; height: 72px; right: -24px; bottom: -32px; border-radius: 50%; background: var(--forest-100); }
.stat-card span { color: var(--muted); font-size: 13px; }
.stat-card strong { display: block; margin-top: 5px; font-size: 30px; line-height: 1.1; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: 20px; }
.panel { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; box-shadow: 0 4px 14px rgba(23,60,51,.025); }
.panel + .panel { margin-top: 20px; }
.panel-head { margin-bottom: 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-head h2, .panel h2 { margin: 0; font-size: 18px; }
.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quick-link { padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.quick-link strong, .quick-link small { display: block; }
.quick-link small { margin-top: 4px; color: var(--muted); }
.quick-link:hover { border-color: var(--forest-700); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { padding: 12px 14px; color: var(--muted); background: #f8faf7; text-align: left; font-size: 12px; letter-spacing: .04em; white-space: nowrap; }
.data-table td { padding: 14px; border-top: 1px solid #edf0ec; vertical-align: middle; }
.data-table tbody tr:hover { background: #fbfcfa; }
.data-table strong { font-weight: 750; }
.cell-sub { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.empty-cell, .empty-state { padding: 34px; color: var(--muted); text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; color: var(--forest-800); background: var(--forest-50); font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-warn { color: #9b5c1d; background: #fff2df; }
.badge-danger { color: var(--red); background: var(--red-soft); }
.badge-muted { color: #6c7470; background: #edf0ed; }
.verify-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.verify-list li { padding: 9px 12px; border-radius: 9px; background: #f6f8f5; font-size: 13px; }
.verify-list li.ok { color: var(--forest-800); background: var(--forest-50); }
.verify-list li.missing { color: #9b5c1d; background: #fff3e3; }

.filter-bar { margin-bottom: 16px; display: flex; gap: 10px; }
.filter-bar .form-control { max-width: 360px; }
.form-card { max-width: 860px; padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.form-card form > p { margin: 0 0 17px; }
.form-card label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.form-card .helptext { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.form-control { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #cfd8d2; border-radius: 9px; color: var(--ink); background: white; outline: none; transition: border .2s, box-shadow .2s; }
.form-control:focus { border-color: var(--forest-700); box-shadow: 0 0 0 3px rgba(43,105,86,.12); }
textarea.form-control { min-height: 100px; resize: vertical; }
.checkbox-input { width: 18px; height: 18px; margin-right: 6px; accent-color: var(--forest-700); vertical-align: middle; }
.errorlist { margin: 5px 0; padding: 9px 12px; border-radius: 8px; color: var(--red); background: var(--red-soft); list-style: none; font-size: 13px; }
.form-actions { margin-top: 26px; display: flex; gap: 10px; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); gap: 20px; }
.definition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.definition { padding: 13px 0; border-bottom: 1px solid #edf0ed; }
.definition span, .definition strong { display: block; }
.definition span { color: var(--muted); font-size: 12px; }
.definition strong { margin-top: 4px; font-size: 15px; }
.section-stack { display: grid; gap: 20px; }
.record-list { display: grid; gap: 10px; }
.record-item { padding: 14px; display: flex; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfa; }
.record-item strong, .record-item small { display: block; }
.record-item small { color: var(--muted); }
.qr-card { padding: 22px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; }
.qr-card img { width: 210px; aspect-ratio: 1; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.code-text { margin: 12px 0; overflow-wrap: anywhere; color: var(--muted); font-size: 12px; }
.warning-box, .info-box { padding: 14px 16px; border-radius: 10px; font-size: 13px; }
.warning-box { color: #7f4718; border: 1px solid #efd5b2; background: #fff5e7; }
.info-box { color: var(--forest-800); border: 1px solid #cbe1d3; background: var(--forest-50); }

@media (max-width: 1050px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid, .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .site-nav > a:not(.nav-login), .site-nav .inline-form { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .manage-topbar { padding: 0 14px; }
  .sidebar-toggle { display: block; }
  .manage-topbar .brand { position: absolute; left: 50%; transform: translateX(-50%); }
  .manage-topbar .brand small { display: none; }
  .topbar-user > span { display: none; }
  .manage-shell { display: block; }
  .sidebar { position: fixed; z-index: 90; left: 0; top: 68px; width: 270px; transform: translateX(-100%); transition: transform .25s ease; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-backdrop.show { display: block; position: fixed; z-index: 80; inset: 68px 0 0; background: rgba(9,26,22,.45); }
  .manage-content { padding: 24px 18px 50px; }
  .page-head { align-items: start; flex-direction: column; }
  .definition-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1160px); }
  .site-nav { gap: 10px; }
  .nav-login { padding: 8px 11px; font-size: 12px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 9px; }
  .stat-grid, .quick-grid, .definition-grid { grid-template-columns: 1fr; }
  .panel { padding: 17px; }
  .topbar-user .button { padding: 5px 9px; }
}

.danger-zone { border-color: #ecc6c1; }
.danger-zone h2 { color: var(--red); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.adoption-hero, .adoption-detail-hero { padding: 62px 0; color: white; background: linear-gradient(125deg, var(--forest-950), var(--forest-800)); }
.adoption-hero h1, .adoption-detail-hero h1 { margin: 5px 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(48px, 6vw, 76px); font-weight: 500; }
.adoption-hero p, .adoption-detail-hero p { color: #c6dbd1; }
.adoption-list-section { min-height: 55vh; padding: 60px 0; }
.adoption-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.adoption-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.adoption-card h2 { margin: 18px 0 3px; font-family: Georgia, "Songti SC", serif; font-size: 28px; }
.adoption-card p { color: var(--muted); }
.adoption-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 30px 0; }
.adoption-card dt { color: var(--muted); font-size: 11px; }
.adoption-card dd { margin: 2px 0; font-weight: 700; }
.adoption-card > strong { color: var(--forest-700); font-size: 13px; }
.back-light { display: inline-block; margin-bottom: 20px; color: #cbe0d6; }
.adoption-detail-hero .badge { margin-left: 10px; }
.adoption-detail-layout { padding: 60px 0 80px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; }
@media (max-width: 960px) { .adoption-grid { grid-template-columns: repeat(2, 1fr); } .adoption-detail-layout { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .adoption-grid { grid-template-columns: 1fr; } }

.home-hero { position: relative; padding: 82px 0 88px; color: white; background: radial-gradient(circle at 10% 10%, rgba(116,169,132,.24), transparent 30%), linear-gradient(135deg, var(--forest-950), #1f5142 72%, #2c694f); overflow: hidden; }
.home-hero::after { content: ""; position: absolute; right: -9vw; bottom: -20vw; width: 52vw; height: 52vw; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.02); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .72fr); gap: clamp(40px, 8vw, 110px); align-items: center; }
.eyebrow.light { color: #a6cfb9; }
.hero-copy h1 { margin: 13px 0 22px; font-family: Georgia, "Songti SC", serif; font-size: clamp(48px, 6.3vw, 84px); font-weight: 500; line-height: 1.06; letter-spacing: -.05em; }
.hero-copy h1 em { color: #e6b46f; font-style: normal; }
.hero-brand-chip { width: fit-content; margin-bottom: 18px; padding: 6px 12px 6px 7px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #eef5f1; background: rgba(255,255,255,.07); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.hero-brand-chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: white; }
.hero-lead { max-width: 630px; color: #d3e3dc; font-size: clamp(16px, 1.8vw, 20px); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-points span { padding: 7px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #e7f0ec; font-size: 12px; }
.trace-search-card { padding: 27px; color: var(--ink); border-radius: 22px; background: var(--paper); box-shadow: 0 28px 80px rgba(5,24,18,.30); }
.search-card-head { position: relative; padding-bottom: 19px; border-bottom: 1px dashed #d6ddd6; }
.search-card-head p { margin: 0; color: var(--forest-700); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.search-card-head h2 { margin: 8px 0 4px; font-size: 24px; }
.search-card-head small { color: var(--muted); }
.scan-corner { position: absolute; top: 0; right: 0; width: 34px; height: 34px; border-top: 3px solid var(--amber); border-right: 3px solid var(--amber); border-radius: 0 8px 0 0; }
.trace-form { display: grid; gap: 10px; margin-top: 19px; }
.trace-form label { font-size: 13px; font-weight: 700; }
.trace-form .form-control { min-height: 52px; font-family: Consolas, monospace; }
.trace-form .button { margin-top: 3px; min-height: 50px; }
.search-tip { margin: 14px 0 0; color: var(--muted); font-size: 11px; }
.proof-section, .demo-section { padding: 82px 0; }
.section-title { max-width: 720px; margin-bottom: 34px; }
.section-title h2 { margin: 7px 0 10px; font-family: Georgia, "Songti SC", serif; font-size: clamp(32px, 4vw, 50px); font-weight: 500; line-height: 1.18; }
.section-title > p:last-child { color: var(--muted); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proof-grid article { min-height: 235px; padding: 24px; border: 1px solid #d9dfd9; border-radius: 6px 22px 6px 6px; background: rgba(255,255,255,.55); }
.proof-grid article span { color: var(--amber); font-family: Georgia, serif; font-size: 18px; }
.proof-grid article h3 { margin: 46px 0 8px; font-size: 21px; }
.proof-grid article p { margin: 0; color: var(--muted); font-size: 14px; }
.demo-section { background: #e9efe9; }
.compact-title { margin-bottom: 24px; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.demo-card { padding: 22px; border-radius: var(--radius-sm); background: white; box-shadow: var(--shadow-sm); }
.demo-card h3 { margin: 18px 0 3px; }
.demo-card p, .demo-card code { color: var(--muted); font-size: 13px; }
.demo-card code { display: block; margin: 18px 0; }
.demo-card > strong { color: var(--forest-700); font-size: 13px; }

.status-page { min-height: calc(100vh - 220px); padding: 90px 20px; display: grid; place-items: center; }
.status-card { width: min(620px, 100%); padding: 44px; text-align: center; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.status-symbol { width: 72px; height: 72px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; color: var(--forest-800); background: var(--forest-100); font-size: 34px; font-weight: 800; }
.status-danger .status-symbol { color: var(--red); background: var(--red-soft); }
.status-card h1 { margin: 6px 0; font-size: 38px; }
.status-card > p { color: var(--muted); }

.trace-hero { padding: 60px 0; color: white; background: linear-gradient(125deg, var(--forest-950), var(--forest-800)); }
.trace-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.verified-pill { display: inline-flex; padding: 6px 11px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #d8e9e1; font-size: 12px; }
.trace-kicker { margin: 23px 0 5px; color: #acd0bd; font-size: 14px; }
.trace-hero h1 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(44px, 6vw, 72px); font-weight: 500; }
.trace-subtitle { color: #d1e0da; }
.trace-meta-row { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 28px; }
.trace-meta-row span { color: #abc7bb; font-size: 11px; }
.trace-meta-row strong { display: block; color: white; font-size: 15px; }
.verify-seal { width: 174px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; outline: 1px dashed rgba(255,255,255,.2); outline-offset: -8px; }
.verify-seal span, .verify-seal strong, .verify-seal small { display: block; }
.verify-seal span { color: #efbd78; font-family: Georgia, serif; font-size: 30px; }
.verify-seal strong { font-size: 13px; }
.verify-seal small { color: #acc8bc; font-size: 10px; }
.trace-layout { padding-top: 66px; padding-bottom: 80px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 70px); }
.trace-main { min-width: 0; }
.story-section { margin-bottom: 78px; }
.story-head { margin-bottom: 25px; display: flex; align-items: center; gap: 15px; }
.story-head > span { color: var(--amber); font-family: Georgia, serif; font-size: 21px; }
.story-head .eyebrow, .story-head h2 { margin: 0; }
.story-head h2 { font-family: Georgia, "Songti SC", serif; font-size: 34px; font-weight: 500; }
.origin-card { padding: clamp(22px, 4vw, 34px); border-radius: 4px 26px 4px 4px; background: white; box-shadow: var(--shadow-sm); }
.origin-title { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.origin-title h3 { margin: 0; font-size: 24px; }
.origin-title p { margin: 3px 0; color: var(--muted); }
.origin-title > span { padding: 5px 9px; border-radius: 999px; color: var(--forest-800); background: var(--forest-50); font-size: 11px; }
.origin-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 27px 0; background: var(--line); }
.origin-metrics div { padding: 19px; background: white; }
.origin-metrics small, .origin-metrics strong { display: block; }
.origin-metrics small { color: var(--muted); }
.origin-metrics strong { margin-top: 5px; font-family: Georgia, serif; font-size: 30px; }
.origin-metrics em { margin-left: 4px; color: var(--muted); font-family: inherit; font-size: 11px; font-style: normal; }
.evidence-line { color: var(--muted); font-size: 12px; }
.pollution-note { margin-top: 20px; padding: 16px; border-left: 3px solid var(--amber); background: #fbf4e9; }
.pollution-note p { margin: 5px 0 0; color: #6e5a44; font-size: 13px; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 108px; top: 10px; bottom: 10px; width: 1px; background: #ced8d0; }
.timeline article { position: relative; display: grid; grid-template-columns: 86px 14px 1fr; gap: 15px; min-height: 90px; }
.timeline time { color: var(--muted); font-family: Georgia, serif; font-size: 12px; }
.timeline-dot { position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 5px; border: 3px solid var(--cream); border-radius: 50%; background: var(--forest-700); box-shadow: 0 0 0 1px var(--forest-700); }
.timeline article span { color: var(--amber); font-size: 11px; font-weight: 800; }
.timeline article h3 { margin: 1px 0; font-size: 16px; }
.timeline article p { margin: 0; color: var(--muted); font-size: 13px; }
.feed-card-grid { display: grid; gap: 11px; }
.feed-card-grid article { padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.feed-card-grid article > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.feed-card-grid article span, .feed-card-grid article small { color: var(--muted); font-size: 12px; }
.feed-card-grid article p { margin: 6px 0 2px; }
.health-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.health-panel { padding: 22px; border-radius: var(--radius-sm); background: white; }
.health-panel h3 { margin: 0 0 14px; }
.health-row { padding: 12px 0; border-top: 1px solid #edf0ed; }
.health-row span, .health-row strong, .health-row small { display: block; }
.health-row span, .health-row small { color: var(--muted); font-size: 11px; }
.declaration-ok { margin: 10px 0; padding: 15px; border-radius: 10px; color: var(--forest-800); background: var(--forest-50); }
.declaration-ok strong, .declaration-ok span, .declaration-ok small { display: block; }
.declaration-ok span, .declaration-ok small { margin-top: 3px; font-size: 11px; }
.medicine { color: var(--red); }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.video-grid article { overflow: hidden; border-radius: var(--radius-sm); background: white; }
.video-grid video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #0d1814; }
.video-grid h3, .video-grid p { margin: 12px 15px; }
.video-grid p { color: var(--muted); font-size: 12px; }
.video-empty { padding: 38px; text-align: center; border: 1px dashed #c7d2ca; border-radius: var(--radius-sm); background: rgba(255,255,255,.48); }
.video-empty p { color: var(--muted); }
.sticky-card { position: sticky; top: 104px; }
.aside-card { padding: 22px; border-radius: var(--radius-sm); background: white; box-shadow: var(--shadow-sm); }
.aside-card dl { margin: 18px 0; }
.aside-card dl > div { padding: 10px 0; border-bottom: 1px solid #edf0ed; }
.aside-card dt { color: var(--muted); font-size: 11px; }
.aside-card dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.store-block { margin-top: 18px; padding: 15px; border-radius: 10px; background: var(--forest-50); }
.store-block span, .store-block strong, .store-block small { display: block; }
.store-block span, .store-block small { color: var(--muted); font-size: 11px; }
.store-block p { margin: 4px 0; font-size: 12px; }
.snapshot-note { margin: 19px 0 0; color: var(--muted); font-family: Consolas, monospace; font-size: 10px; }
.data-statement { padding: 34px 0; color: #d7e4de; background: var(--forest-950); }
.data-statement .container { display: grid; grid-template-columns: 130px 1fr; gap: 4px 24px; }
.data-statement strong { grid-row: 1 / span 2; color: white; font-size: 19px; }
.data-statement p, .data-statement span { margin: 0; font-size: 12px; }
.data-statement span { color: #9ab6aa; }

.login-page { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 1fr 1fr; }
.login-intro { padding: clamp(50px, 8vw, 110px); color: white; background: linear-gradient(145deg, var(--forest-950), var(--forest-800)); }
.login-intro h1 { max-width: 600px; margin: 12px 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(46px, 6vw, 78px); font-weight: 500; line-height: 1.1; }
.login-intro .register-intro-title { font-size: clamp(38px, 4vw, 60px); letter-spacing: -.04em; }
.register-intro-title span { display: block; white-space: nowrap; }
.login-intro > p { max-width: 520px; color: #cbded5; }
.login-intro ul { margin-top: 35px; padding-left: 20px; color: #e3eee9; }
.auth-brand-lockup { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.auth-brand-lockup img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; background: white; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.login-card { align-self: center; width: min(470px, calc(100% - 50px)); margin: 50px auto; padding: 38px; border-radius: 22px; background: white; box-shadow: var(--shadow); }
.register-card { margin-block: 32px; }
.login-card h2 { margin: 5px 0; font-size: 32px; }
.login-card > p { color: var(--muted); }
.login-card form > p { margin: 17px 0; }
.login-card label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.login-submit { width: 100%; margin: 8px 0 18px; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.account-section { min-height: calc(100vh - 76px); padding: 64px 20px; display: grid; place-items: start center; }
.account-card { width: min(560px, 100%); padding: 38px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.account-card h1 { margin: 5px 0 8px; font-size: 34px; }
.account-card > p { color: var(--muted); }
.account-card form > p { margin: 17px 0; }
.account-card label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; }

@media (max-width: 960px) {
  .hero-grid, .trace-layout { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .trace-aside { order: -1; }
  .sticky-card { position: static; }
  .aside-card dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
}
@media (max-width: 760px) {
  .home-hero { padding: 55px 0; }
  .hero-grid { gap: 36px; }
  .hero-copy h1 { font-size: 48px; }
  .trace-hero-grid { grid-template-columns: 1fr; }
  .verify-seal { width: 130px; }
  .origin-metrics, .health-grid { grid-template-columns: 1fr; }
  .origin-metrics { gap: 0; }
  .demo-grid { grid-template-columns: 1fr; }
  .login-page { grid-template-columns: 1fr; }
  .login-intro { display: none; }
}
@media (max-width: 520px) {
  .proof-grid, .video-grid { grid-template-columns: 1fr; }
  .proof-grid article { min-height: 185px; }
  .proof-grid article h3 { margin-top: 28px; }
  .trace-meta-row { display: grid; grid-template-columns: repeat(2, 1fr); }
  .origin-title { flex-direction: column; }
  .timeline::before { left: 88px; }
  .timeline article { grid-template-columns: 66px 14px 1fr; }
  .data-statement .container { grid-template-columns: 1fr; }
  .data-statement strong { grid-row: auto; }
  .aside-card dl { grid-template-columns: 1fr; }
  .status-card { padding: 30px 20px; }
  .trace-hero h1 { font-size: 38px; }
}
