:root {
  --bg: #f4f7f4;
  --panel: #ffffff;
  --panel-2: #eef3ee;
  --line: rgba(18, 108, 74, 0.14);
  --line-strong: rgba(18, 108, 74, 0.3);
  --green: #0e8f5c;
  --green-soft: rgba(14, 143, 92, 0.09);
  --cyan: #0c7f96;
  --grad: linear-gradient(135deg, #0e8f5c, #0c7f96);
  --ink: #1e2c25;
  --muted: #5d6f64;
  --faint: #8ba095;
  --radius: 14px;
  --maxw: 1100px;
  --mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  background: var(--bg);
  background-image:
    radial-gradient(900px 520px at 10% -10%, rgba(14, 143, 92, .06), transparent 60%),
    radial-gradient(820px 500px at 100% 0%, rgba(12, 127, 150, .05), transparent 55%);
}

.wrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* 顶部农机品牌条 */
.agri-top { position: relative; z-index: 51; background: var(--green-soft); border-bottom: 1px solid var(--line); }
.agri-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.agri-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 700; font-size: 13px; }
.agri-brand svg { width: 20px; height: 20px; }
.agri-brand-name { color: var(--muted); font-weight: 600; }
.agri-icons { display: inline-flex; align-items: center; gap: 14px; color: var(--green); opacity: .85; }
.agri-icons svg { width: 18px; height: 18px; }

/* 农机图标装饰条 */
.agri-strip { display: flex; align-items: center; justify-content: space-around; gap: 16px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: var(--green); margin: 4px 0 26px; }
.agri-strip svg { width: 26px; height: 26px; opacity: .85; }
.agri-strip.with-text { flex-direction: column; gap: 8px; padding: 16px 16px 14px; }
.agri-strip .agri-strip-text { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: .5px; }
.agri-strip.with-text svg { width: 22px; height: 22px; opacity: .7; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: .4px; }
.logo-svg { width: 30px; height: 30px; flex: none; }
.logo-tld { color: var(--cyan); font-weight: 600; font-size: 14px; }
.nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px 8px; }
.nav a { position: relative; display: inline-flex; align-items: center; padding: 8px 4px; font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; border: none; background: transparent; white-space: nowrap; transition: color .15s; }
.nav a + a::before { content: "/"; margin: 0 6px; color: rgba(30, 44, 37, .18); font-weight: 400; }
.nav a::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: center; transition: transform .18s ease; }
.nav a:hover, .nav a.active { color: var(--green); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 28px rgba(20, 40, 30, .12); }
  .nav.open { display: flex; }
  .nav a { display: block; text-align: center; padding: 11px 4px; }
  .nav a + a::before { content: none; }
  .nav a:not(:last-child) { border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a:hover, .nav a.active { background: var(--green-soft); }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 50px 0 36px; }
.hero-inner { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 1px;
  color: var(--cyan); border: 1px solid var(--line);
  padding: 5px 13px; border-radius: 999px; background: var(--panel);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero h1 {
  margin: 16px 0 8px; font-size: 34px; line-height: 1.22;
  background: linear-gradient(180deg, #14382a, #0e8f5c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { margin: 0 0 22px; color: var(--muted); max-width: 580px; font-size: 15.5px; }
.search { display: flex; gap: 10px; max-width: 580px; }
.search input {
  flex: 1; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--panel);
  color: var(--ink); font-size: 15px; outline: none;
}
.search input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(14, 143, 92, .15); }
.search button { padding: 0 22px; border: none; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; cursor: pointer; }
.search-results { max-width: 760px; margin-top: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(14,108,74,.10); }
.search-results[hidden] { display: none; }
.search-results-head { font-size: 13px; color: var(--muted); margin: 2px 2px 12px; }
.search-results .site-list { margin: 0; }
.search-results .empty { padding: 10px 0 4px; }
.hero-stats { display: flex; gap: 30px; margin-top: 26px; flex-wrap: wrap; }
.stat b {
  display: block; font-size: 25px; font-family: var(--mono);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: 12.5px; color: var(--muted); }

/* Sections */
.section { padding: 28px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 21px; color: var(--ink); }
.section-head h2::before { content: "// "; color: var(--green); font-family: var(--mono); }
.section-head .desc { color: var(--muted); font-size: 13px; }
.more { margin-left: auto; color: var(--green); font-size: 13px; font-weight: 600; }
.more:hover { color: var(--cyan); }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-card {
  position: relative; display: flex; flex-direction: column; gap: 8px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; transition: .18s;
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 12px 30px rgba(20, 60, 40, .1); }
.cat-icon {
  width: 40px; height: 40px; color: var(--green); background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
}
.cat-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat-card h3 { margin: 4px 0 0; font-size: 16px; color: var(--ink); }
.cat-card .cdesc { color: var(--muted); font-size: 12.5px; min-height: 34px; }
.cat-card .count { color: var(--cyan); font-size: 12px; font-family: var(--mono); font-weight: 600; }

/* Site list */
.site-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .site-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .site-list { grid-template-columns: repeat(3, 1fr); } }
.site-item {
  display: flex; flex-direction: column; gap: 7px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px; transition: .18s;
}
.site-item:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20, 60, 40, .1); }
.site-item .name { font-weight: 700; font-size: 15px; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.site-item .slogo { width: 20px; height: 20px; border-radius: 5px; object-fit: contain; flex: none; background: var(--panel-2); border: 1px solid var(--line); padding: 1px; }
.site-item .slogo.slogotext { display: inline-flex; align-items: center; justify-content: center; padding: 0; font-size: 13px; font-weight: 700; color: #fff; background: var(--grad); border: none; letter-spacing: 0; line-height: 1; }
.site-item .name:hover { color: var(--green); }
.site-item .meta { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { background: var(--panel-2); color: var(--muted); font-size: 11px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); }
.site-item .sdesc { color: var(--muted); font-size: 12.5px; flex: 1; line-height: 1.6; }
.site-item .go { align-self: flex-start; margin-top: 4px; color: var(--green); font-weight: 700; font-size: 13px; }
.site-item .go:hover { color: var(--cyan); }
.verify { color: #b07a1e; font-size: 11px; border: 1px solid rgba(176, 122, 30, .35); padding: 1px 7px; border-radius: 999px; }

/* 常用网址（栏目导航上方，独立可定制模块） */
.fav-section { background: linear-gradient(180deg, var(--green-soft), transparent 70%); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; }
.fav-section .section-head { margin-bottom: 10px; }
.fav-hint { font-size: 12.5px; color: var(--faint); margin: 0 0 14px; }
.fav-list { grid-template-columns: 1fr; }
@media (min-width: 560px) { .fav-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .fav-list { grid-template-columns: repeat(3, 1fr); } }
.fav-list .site-item { background: var(--panel); }
.fav-list .site-item::before { content: "★"; color: var(--green); font-size: 13px; position: absolute; top: 13px; right: 14px; }
.fav-list .site-item { position: relative; }
/* 编辑态 */
.fav-edit-btn { margin-left: auto; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--green); font-size: 13px; cursor: pointer; font-family: inherit; }
.fav-edit-btn:hover { border-color: var(--green); }
.fav-edit-btn.active { background: var(--grad); color: #fff; border-color: transparent; }
.fav-editor { margin-top: 14px; }
.fav-add-row { display: flex; gap: 8px; flex-wrap: wrap; }
.fav-add-row .edit-input { flex: 1; min-width: 140px; padding: 9px 11px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-size: 13px; font-family: inherit; }
.fav-add-row .edit-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.fav-add-row .btn { flex: none; padding: 9px 16px; border-radius: 9px; }
.fav-editor-tip { font-size: 12.5px; margin: 8px 0 0; }
.fav-editor-tip.ok { color: var(--green); }
.fav-editor-tip.err { color: #c8553a; }
.fav-io-row { display: flex; gap: 8px; margin-top: 10px; }
.fav-io-row .mini { padding: 7px 14px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--cyan); font-size: 12.5px; cursor: pointer; font-family: inherit; }
.fav-io-row .mini:hover { border-color: var(--cyan); }
/* 编辑态下卡片显示删除叉，并让出右上角空间 */
.fav-section.editing .fav-list .site-item::before { display: none; }
.fav-section.editing .fav-list .site-item { padding-right: 40px; }
.fav-del { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(200,85,58,.4); background: transparent; color: #c8553a; font-size: 14px; line-height: 1; cursor: pointer; display: none; align-items: center; justify-content: center; }
.fav-section.editing .fav-del { display: inline-flex; }
.fav-del:hover { background: rgba(200,85,58,.12); }

/* News */
.news-list { display: grid; gap: 12px; }
.news-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: .18s; }
.news-item:hover { border-color: var(--line-strong); box-shadow: 0 6px 18px rgba(20, 60, 40, .08); }
.news-item .ntitle { display: inline-block; font-weight: 700; font-size: 15.5px; color: var(--ink); text-decoration: none; transition: .15s; }
.news-item .ntitle:hover { color: var(--green); }
.news-item .nmeta { color: var(--muted); font-size: 12px; margin: 6px 0; }
.news-item .nmeta .tag { color: var(--cyan); border-color: rgba(12, 127, 150, .25); background: rgba(12, 127, 150, .07); }
.news-item .nbody { color: #43544a; font-size: 14px; line-height: 1.8; margin: 8px 0 0; }
.news-item .nbody p { margin: 0 0 10px; }
.news-item .nbody p:last-child { margin-bottom: 0; }
.news-item .more-link { display: inline-block; margin-top: 9px; color: var(--green); font-weight: 700; font-size: 13px; text-decoration: none; }
.news-item .more-link:hover { color: var(--cyan); }

/* 栏目新闻：顶部焦点（左主新闻大卡 + 右 4-5 条副新闻排名列表） */
.news-feature { display: grid; gap: 16px; }
@media (min-width: 820px) { .news-feature { grid-template-columns: 1.35fr 1fr; align-items: stretch; } }
.nf-main {
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 22px 24px; text-decoration: none; transition: .18s;
}
.nf-main::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.nf-main:hover { border-color: var(--green); box-shadow: 0 14px 32px rgba(20, 60, 40, .12); transform: translateY(-2px); }
.nf-main .nf-flag { display: inline-block; align-self: flex-start; margin-bottom: 9px; color: #fff; font-size: 12px; font-weight: 800; padding: 3px 12px; border-radius: 999px; background: var(--grad); }
.nf-main .tag { color: var(--cyan); border-color: rgba(12, 127, 150, .25); background: rgba(12, 127, 150, .07); }
.nf-main .nf-title { margin: 11px 0 10px; font-size: 22px; line-height: 1.4; color: var(--ink); }
.nf-main .nf-sum { margin: 0; flex: 1; color: #43544a; font-size: 14px; line-height: 1.85;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.nf-main .nf-date { margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.nf-subs { list-style: none; margin: 0; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.nf-subs li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.nf-subs li:last-child { border-bottom: none; }
.nf-subs .nf-rank { flex: none; font-family: var(--mono); font-size: 13px; color: var(--green); width: 22px; text-align: center; }
.nf-subs a { flex: 1; min-width: 0; color: var(--ink); text-decoration: none; font-size: 14.5px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nf-subs a:hover { color: var(--green); }
.nf-subs .nf-date { flex: none; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* 下方：单个新闻标题 + 两行简介（双列网格） */
.news-brief { display: grid; gap: 12px; }
@media (min-width: 720px) { .news-brief { grid-template-columns: 1fr 1fr; } }
.nb-item { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 17px; text-decoration: none; transition: .18s; }
.nb-item:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20, 60, 40, .1); }
.nb-item .nb-row { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.nb-item .nb-date { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.nb-item .nb-title { margin: 0 0 6px; font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.nb-item:hover .nb-title { color: var(--green); }
.nb-item .nb-sum { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 首页新闻：左右双面板 */
.home-news { display: grid; gap: 16px; }
@media (min-width: 820px) { .home-news { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.news-lead, .news-rows {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.news-lead .lead-item { padding: 15px 17px; border-bottom: 1px solid var(--line); }
.news-lead .lead-item:last-child { border-bottom: none; }
.news-lead .lrow { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.news-lead .ltag { color: var(--cyan); font-size: 10.5px; border: 1px solid rgba(12, 127, 150, .25); background: rgba(12, 127, 150, .07); padding: 1px 7px; border-radius: 999px; }
.news-lead .ldate { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.news-lead .ltitle { display: block; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.45; }
.news-lead .lead-item.main .ltitle { font-size: 17px; }
.news-lead .ltitle:hover { color: var(--green); }
.news-lead .lsum { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.news-rows { list-style: none; margin: 0; padding: 0; }
.news-rows li { display: flex; align-items: center; gap: 10px; padding: 14px 17px; border-bottom: 1px solid var(--line); }
.news-rows li:last-child { border-bottom: none; }
.news-rows .rtag { flex: none; color: var(--cyan); font-size: 10.5px; border: 1px solid rgba(12, 127, 150, .25); background: rgba(12, 127, 150, .07); padding: 1px 7px; border-radius: 999px; }
.news-rows a { flex: 1; min-width: 0; color: var(--ink); text-decoration: none; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-rows a:hover { color: var(--green); }
.news-rows .rdate { flex: none; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.crumb { color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.crumb a { color: var(--green); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* 文章正文：限宽阅读，加大留白，降低对比 */
.article {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 34px; margin: 14px auto; line-height: 2; color: #33443a; font-size: 16px;
  max-width: 780px;
}
.article p { margin: 0 0 18px; }
.article p:last-child { margin-bottom: 0; }
.article h2, .article h3 { color: var(--ink); font-weight: 700; line-height: 1.45; margin: 26px 0 12px; }
.article h2 { font-size: 21px; padding-top: 8px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.article h3 { font-size: 18px; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 28px; }
.article li { margin-bottom: 8px; }
.article blockquote { border-left: 3px solid var(--green); background: var(--green-soft); color: #43544a; padding: 10px 18px; margin: 0 0 18px; border-radius: 0 10px 10px 0; }
.article a { color: var(--green); text-decoration: underline; word-break: break-all; }
.article a:hover { color: var(--cyan); }
.article img { max-width: 100%; height: auto; border-radius: 10px; display: block; margin: 16px 0; }
.article strong { color: var(--ink); font-weight: 700; }
.article code { font-family: var(--mono); background: var(--panel-2); padding: 2px 7px; border-radius: 6px; font-size: 14px; color: #0c4a34; }
.article pre { background: #f0f4f0; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; overflow-x: auto; margin: 0 0 18px; }
.article pre code { background: none; padding: 0; }

/* 文章正文：结构化条目（周报类） */
.news-items { display: block; max-width: 780px; margin: 0 auto; }
.nitem { padding: 20px 0; border-bottom: 1px dashed var(--line); }
.nitem:first-child { padding-top: 4px; }
.nitem:last-child { border-bottom: none; padding-bottom: 4px; }
.nitem-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.ibadge { flex: none; font-size: 11.5px; color: var(--cyan); border: 1px solid rgba(12, 127, 150, .3); background: rgba(12, 127, 150, .07); padding: 2px 11px; border-radius: 999px; font-weight: 700; }
.inum { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.ititle { margin: 0; font-size: 17px; color: var(--ink); font-weight: 700; line-height: 1.5; flex: 1 1 200px; }
.isum { margin: 0; color: #43544a; font-size: 14.5px; line-height: 1.9; }
.isrc { display: inline-block; margin-top: 10px; font-size: 12.5px; color: var(--muted); text-decoration: none; }
.isrc:hover { color: var(--green); text-decoration: underline; }

/* 文末元信息 */
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; font-family: var(--mono); max-width: 780px; margin-left: auto; margin-right: auto; }
.article-meta .views b { color: var(--muted); font-weight: 700; }
.back { margin-top: 10px; max-width: 780px; margin-left: auto; margin-right: auto; }

/* Generic page */
.page-head { padding: 26px 0 10px; }
.page-head h1 { margin: 0 0 6px; font-size: 27px; color: var(--ink); }
.page-head h1::before { content: "// "; color: var(--green); font-family: var(--mono); }
.page-head p { color: var(--muted); margin: 0; }
.prose { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.prose h3 { margin-top: 18px; color: var(--green); }
.prose a.link { color: var(--green); font-weight: 700; }
.form-row { margin: 12px 0; }
.form-row label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.form-row input, .form-row textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); color: var(--ink); font-size: 14px; font-family: inherit;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(14, 143, 92, .15); }
.form-row select { width: 100%; padding: 10px 36px 10px 12px; font-size: 14px; color: var(--ink); background-color: #fff; border: 1px solid var(--line); border-radius: 10px; appearance: none; -webkit-appearance: none; -moz-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e8f5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; }
.form-row select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(14, 143, 92, .15); }
.form-row select option { color: var(--ink); background: #fff; }
.btn { display: inline-block; background: var(--grad); color: #fff; border: none; border-radius: 10px; padding: 11px 20px; font-size: 14px; font-weight: 800; cursor: pointer; }
.btn:hover { filter: brightness(1.06); }
.form-tip { margin: 10px 0 0; font-size: 13px; line-height: 1.5; padding: 9px 12px; border-radius: 8px; }
.form-tip.err { color: #b3402a; background: rgba(200, 60, 40, .08); border: 1px solid rgba(200, 60, 40, .3); }
.form-tip.ok { color: #0c6b45; background: var(--green-soft); border: 1px solid rgba(14, 143, 92, .3); }

/* Footer */
.footer { position: relative; z-index: 1; background: #fff; border-top: 1px solid var(--line); color: var(--muted); padding: 30px 0 20px; margin-top: 36px; font-size: 13px; }
.footer .agri-strip { margin: 0 0 22px; }
.footer .agri-strip svg { width: 22px; height: 22px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--green); }
.footer .cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 760px) { .footer .cols { grid-template-columns: repeat(4, 1fr); } }
.footer h4 { margin: 0 0 10px; color: var(--ink); font-size: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 5px 0; }
.footer .copy { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; color: var(--faint); font-family: var(--mono); font-size: 12px; }
.empty { color: var(--muted); padding: 20px; text-align: center; }
.empty .submit-tip { margin-top: 14px; text-decoration: none; font-size: 13px; padding: 9px 16px; }
.list-end { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 18px 0 4px; font-size: 13px; }

/* Region filter */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.filter-label { font-size: 13px; color: var(--muted); margin-right: 2px; font-family: var(--mono); }
.filter-btn { border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 999px; padding: 6px 15px; font-size: 13px; cursor: pointer; transition: .15s; }
.filter-btn:hover { border-color: var(--green); color: var(--green); }
.filter-btn.active { background: var(--grad); color: #fff; border-color: transparent; font-weight: 700; }

/* Back to top */
.back-top {
  position: fixed; right: 22px; bottom: 84px; z-index: 90;
  width: 46px; height: 46px; border: none; border-radius: 50%;
  background: var(--grad); color: #fff; cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(14,143,92,.34);
  display: flex; align-items: center; justify-content: center;
  opacity: .85; transition: opacity .2s, box-shadow .2s;
}
.back-top:hover { opacity: 1; box-shadow: 0 9px 24px rgba(14,143,92,.46); }
.back-top svg { width: 24px; height: 24px; }
@media (max-width: 640px) {
  .back-top { right: 14px; bottom: 70px; width: 42px; height: 42px; }
}
