/* =====================================================================
   奶娃共和国政务服务平台 · 设计系统
   主题：奶黄 + 奶蛙绿 + 奶油白 · 圆润友好 · 政务专业
   响应式：PC / 平板 / 手机
   ===================================================================== */

:root {
  /* 主色板 */
  --milk: #FFFDF7;          /* 奶油白（背景） */
  --cream: #FFF6E3;         /* 浅奶黄 */
  --cream-2: #FDEFC8;       /* 奶黄 */
  --honey: #FFC93D;         /* 蜜黄（强调） */
  --honey-deep: #F2A900;    /* 深蜜黄 */
  --frog: #4FB27E;          /* 奶蛙绿 */
  --frog-deep: #2E8B57;     /* 深奶蛙绿 */
  --frog-soft: #E5F4EC;     /* 浅蛙绿 */
  --cocoa: #4A3423;         /* 深咖（正文） */
  --cocoa-soft: #7A6650;    /* 浅咖（次要文字） */
  --line: #EFE6D2;          /* 描边 */
  --line-strong: #E2D4B5;
  --danger: #E25555;
  --warn: #E8973A;
  --ok: #2E8B57;

  --shadow-sm: 0 2px 8px rgba(120, 90, 30, 0.08);
  --shadow: 0 8px 24px rgba(120, 90, 30, 0.12);
  --shadow-lg: 0 16px 48px rgba(120, 90, 30, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --maxw: 1180px;
  --header-h: 74px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--cocoa);
  background:
    radial-gradient(1200px 500px at 80% -10%, #FFF3D2 0%, rgba(255,243,210,0) 60%),
    radial-gradient(1000px 500px at 0% 0%, #E9F6EE 0%, rgba(233,246,238,0) 55%),
    var(--milk);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: var(--frog-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }

/* ---------- 布局 ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,253,247,0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand .emblem { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--cream); box-shadow: var(--shadow-sm); }
.brand .title { display: flex; flex-direction: column; min-width: 0; }
.brand .title b { font-size: 17px; letter-spacing: .5px; line-height: 1.2; }
.brand .title small { color: var(--cocoa-soft); font-size: 11px; letter-spacing: .3px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--cocoa); padding: 9px 13px; border-radius: 10px; font-size: 14.5px; font-weight: 600;
  white-space: nowrap; transition: background .15s, color .15s;
}
.nav a:hover { background: var(--frog-soft); text-decoration: none; color: var(--frog-deep); }
.nav a.active { background: var(--frog); color: #fff; }

.header-tools { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.search-box { position: relative; }
.search-box input {
  width: 200px; height: 40px; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0 14px 0 38px; background: #fff; color: var(--cocoa); outline: none; transition: width .2s, border-color .2s;
}
.search-box input:focus { border-color: var(--frog); width: 240px; }
.search-box .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); opacity: .55; }

.lang-switch { position: relative; }
.lang-switch > button {
  height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: #fff; color: var(--cocoa); font-weight: 600; display: flex; align-items: center; gap: 6px;
}
.lang-switch .menu {
  position: absolute; right: 0; top: 48px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); padding: 6px; min-width: 160px; display: none; z-index: 60;
}
.lang-switch.open .menu { display: block; }
.lang-switch .menu button {
  display: flex; width: 100%; align-items: center; gap: 10px; border: 0; background: transparent;
  padding: 10px 12px; border-radius: 10px; text-align: left; color: var(--cocoa); font-size: 14px;
}
.lang-switch .menu button:hover { background: var(--frog-soft); }
.lang-switch .menu button .tick { margin-left: auto; color: var(--frog-deep); font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 14.5px; transition: transform .08s, box-shadow .15s, background .15s;
  background: var(--frog); color: #fff; box-shadow: 0 6px 16px rgba(46,139,87,.25);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(46,139,87,.3); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: #fff; color: var(--frog-deep); border-color: var(--frog); box-shadow: none; }
.btn.ghost:hover { background: var(--frog-soft); }
.btn.gold { background: linear-gradient(135deg, var(--honey), var(--honey-deep)); color: #5a3d00; box-shadow: 0 6px 16px rgba(242,169,0,.32); }
.btn.gold:hover { box-shadow: 0 10px 22px rgba(242,169,0,.4); }
.btn.light { background: var(--cream); color: var(--cocoa); box-shadow: none; }
.btn.light:hover { background: var(--cream-2); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn.danger { background: var(--danger); box-shadow: 0 6px 16px rgba(226,85,85,.25); }

/* 汉堡菜单 */
.hamburger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; font-size: 20px; align-items: center; justify-content: center; }
.mobile-drawer {
  position: fixed; inset: var(--header-h) 0 0 0; background: rgba(255,253,247,.98); z-index: 49;
  padding: 18px; display: none; flex-direction: column; gap: 6px; overflow-y: auto;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a { padding: 14px 16px; border-radius: 12px; font-weight: 600; color: var(--cocoa); }
.mobile-drawer a:hover { background: var(--frog-soft); text-decoration: none; }
.mobile-drawer .divider { height: 1px; background: var(--line); margin: 8px 0; }

/* ---------- 通用区块 ---------- */
.section { padding: 40px 0; }
.section.tight { padding: 24px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: 24px; margin: 0; letter-spacing: .5px; display: flex; align-items: center; gap: 10px; }
.section-head h2 .bar { width: 6px; height: 26px; border-radius: 4px; background: linear-gradient(var(--frog), var(--honey)); }
.section-head .more { color: var(--cocoa-soft); font-size: 13.5px; font-weight: 600; }
.eyebrow { color: var(--frog-deep); font-weight: 700; letter-spacing: 2px; font-size: 12px; text-transform: uppercase; }

/* ---------- 英雄区 ---------- */
.hero {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 360px at 88% 10%, rgba(255,201,61,.55), rgba(255,201,61,0)),
    radial-gradient(600px 360px at 10% 90%, rgba(79,178,126,.4), rgba(79,178,126,0)),
    linear-gradient(135deg, #FFF8E6, #EAF6EF);
  border: 1px solid var(--line); box-shadow: var(--shadow); padding: 46px 40px; margin-top: 22px;
}
.hero h1 { font-size: 40px; line-height: 1.2; margin: 0 0 12px; letter-spacing: 1px; }
.hero p { font-size: 16.5px; color: var(--cocoa-soft); max-width: 620px; margin: 0 0 22px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .frog { position: absolute; right: 26px; bottom: -10px; width: 200px; opacity: .96; filter: drop-shadow(0 10px 20px rgba(76,110,90,.25)); }
.hero-stats { display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.hero-stats .s b { font-size: 26px; color: var(--frog-deep); }
.hero-stats .s span { display: block; font-size: 13px; color: var(--cocoa-soft); }

/* ---------- 卡片 / 网格 ---------- */
.grid { display: grid; gap: 18px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c5 { grid-template-columns: repeat(5, 1fr); }
.grid.auto { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 20px; transition: transform .12s, box-shadow .15s, border-color .15s;
}
.card.link { cursor: pointer; }
.card.link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--frog); text-decoration: none; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; background: var(--frog-soft); margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--cocoa-soft); font-size: 13.5px; }
.card .meta { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }

.dept-card { display: flex; flex-direction: column; gap: 8px; }
.dept-card .top { display: flex; align-items: center; gap: 12px; }
.dept-card .badge-ico { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; flex: none; }
.dept-card h3 { margin: 0; font-size: 16px; }
.dept-card .minister { font-size: 12.5px; color: var(--cocoa-soft); }
.dept-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }

/* 标签 */
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--cream); color: #8a6a1f; }
.tag.green { background: var(--frog-soft); color: var(--frog-deep); }
.tag.gray { background: #f1ece2; color: var(--cocoa-soft); }
.tag.red { background: #fde4e4; color: var(--danger); }
.tag.blue { background: #e4eefc; color: #2f6fd0; }

/* 状态徽标 */
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.submitted { color: #8a6a1f; background: var(--cream); }
.status.accepted { color: #2f6fd0; background: #e4eefc; }
.status.reviewing { color: #9a5bd0; background: #f0e6fb; }
.status.approved { color: #1f9d8b; background: #e0f5f1; }
.status.completed { color: var(--ok); background: var(--frog-soft); }
.status.rejected { color: var(--danger); background: #fde4e4; }
.status.canceled { color: var(--cocoa-soft); background: #f1ece2; }
.status.valid { color: var(--ok); background: var(--frog-soft); }
.status.revoked { color: var(--danger); background: #fde4e4; }
.status.pending { color: #8a6a1f; background: var(--cream); }
.status.replied { color: var(--ok); background: var(--frog-soft); }
.status.open { color: var(--ok); background: var(--frog-soft); }
.status.closed { color: var(--cocoa-soft); background: #f1ece2; }
.status.draft { color: var(--cocoa-soft); background: #f1ece2; }
.status.published { color: var(--ok); background: var(--frog-soft); }
.status.offline { color: var(--cocoa-soft); background: #f1ece2; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 16px; }
.field > label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 14px; }
.field .req { color: var(--danger); margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 11px; padding: 11px 13px;
  background: #fff; color: var(--cocoa); outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--frog); box-shadow: 0 0 0 3px rgba(79,178,126,.18); }
.field .hint { font-size: 12.5px; color: var(--cocoa-soft); margin-top: 5px; }
.field .err { font-size: 12.5px; color: var(--danger); margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.check input { width: 18px; height: 18px; }

/* ---------- 工具类 ---------- */
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.center { justify-content: center; }
.muted { color: var(--cocoa-soft); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.right { text-align: right; }
.center-txt { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }
.flex-1 { flex: 1; }
.full { width: 100%; }
.nowrap { white-space: nowrap; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; }

/* 面包屑 */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--cocoa-soft); margin: 18px 0 6px; }
.crumbs a { color: var(--cocoa-soft); }
.crumbs .sep { opacity: .5; }

/* 分页 */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 26px; }
.pager button { height: 38px; min-width: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; color: var(--cocoa); font-weight: 600; }
.pager button[disabled] { opacity: .45; cursor: not-allowed; }
.pager button.active { background: var(--frog); color: #fff; border-color: var(--frog); }

/* 筛选条 */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.filters .chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--cocoa); font-weight: 600; font-size: 13.5px; }
.filters .chip.active { background: var(--frog); color: #fff; border-color: var(--frog); }
.filters input, .filters select { height: 40px; border-radius: 999px; border: 1px solid var(--line-strong); padding: 0 14px; background: #fff; }

/* 列表项 */
.list-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .15s, transform .12s; }
.list-item.link:hover { border-color: var(--frog); transform: translateY(-2px); cursor: pointer; text-decoration: none; }
.list-item .thumb { width: 54px; height: 54px; border-radius: 12px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 26px; flex: none; }
.list-item h3 { margin: 0 0 4px; font-size: 16px; }
.list-item .sub { color: var(--cocoa-soft); font-size: 13px; }
.list-item .body { flex: 1; min-width: 0; }

/* 详情布局 */
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
.detail-main { min-width: 0; }
.side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 92px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px; }
.panel h4 { margin: 0 0 12px; font-size: 15px; display: flex; align-items: center; gap: 8px; }

/* 时间轴 */
.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; }
.timeline li { position: relative; padding: 0 0 18px 24px; border-left: 2px solid var(--line); }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--frog); box-shadow: 0 0 0 3px #fff; }
.timeline li .t { font-size: 13.5px; font-weight: 700; }
.timeline li .d { font-size: 12px; color: var(--cocoa-soft); }

/* 进度条 */
.progress { height: 12px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--frog), var(--honey)); border-radius: 999px; }

/* 星级 */
.stars { color: var(--honey-deep); letter-spacing: 2px; }

/* 空态 */
.empty { text-align: center; padding: 60px 20px; color: var(--cocoa-soft); }
.empty .big { font-size: 52px; margin-bottom: 10px; }

/* 提示条 */
.notice-bar { background: linear-gradient(135deg, var(--frog-soft), var(--cream)); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 14px 18px; display: flex; gap: 12px; align-items: center; font-size: 14px; }

/* 模态框 */
.modal-mask { position: fixed; inset: 0; background: rgba(74,52,35,.42); z-index: 100; display: none; align-items: center; justify-content: center; padding: 18px; backdrop-filter: blur(2px); }
.modal-mask.open { display: flex; }
.modal { width: 100%; max-width: 460px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 26px; max-height: 92vh; overflow-y: auto; }
.modal.wide { max-width: 720px; }
.modal h3 { margin: 0 0 6px; font-size: 21px; }
.modal .sub { color: var(--cocoa-soft); margin: 0 0 18px; font-size: 14px; }
.modal .close { position: absolute; }
.modal-head { display: flex; align-items: center; justify-content: space-between; }

/* Toast */
.toast-wrap { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast { background: var(--cocoa); color: #fff; padding: 12px 20px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 600; animation: pop .2s ease; max-width: 92vw; }
.toast.ok { background: var(--frog-deep); }
.toast.err { background: var(--danger); }
.toast.warn { background: var(--honey-deep); color: #4a3200; }
@keyframes pop { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* 表格 */
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.table th { background: var(--cream); color: var(--cocoa-soft); font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.table tbody tr:hover { background: #fffdf6; }
.table tr:last-child td { border-bottom: 0; }

/* 统计块 */
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.stat .n { font-size: 28px; font-weight: 800; color: var(--frog-deep); }
.stat .l { font-size: 13px; color: var(--cocoa-soft); }

/* 侧边标签导航（个人中心/后台） */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 0; margin-bottom: 18px; }
.tabs a, .tabs button { padding: 10px 14px; border-radius: 10px 10px 0 0; border: 0; background: transparent; font-weight: 600; color: var(--cocoa-soft); border-bottom: 3px solid transparent; }
.tabs a.active, .tabs button.active { color: var(--frog-deep); border-bottom-color: var(--frog); }

/* 页脚 */
.site-footer { background: linear-gradient(180deg, #3A2A1C, #2C2014); color: #f3e9d8; margin-top: 50px; }
.site-footer a { color: #e9d9bd; }
.site-footer .wrap { padding: 40px 18px 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { color: #fff; font-size: 14.5px; margin: 0 0 12px; }
.footer-grid a, .footer-grid p { display: block; color: #d9c8ac; font-size: 13.5px; margin: 0 0 8px; }
.footer-grid p { line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding-top: 16px; font-size: 12.5px; color: #c2b193; display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; }

/* 核验结果 */
.verify-result { text-align: center; padding: 28px; border-radius: var(--radius-lg); }
.verify-result.ok { background: var(--frog-soft); border: 1px solid var(--frog); }
.verify-result.bad { background: #fdeaea; border: 1px solid var(--danger); }
.verify-result .big { font-size: 64px; }
.verify-result .code { font-family: monospace; font-size: 13px; color: var(--cocoa-soft); }

/* 代码/数字块 */
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; font-size: 14px; }
.kv dt { color: var(--cocoa-soft); }
.kv dd { margin: 0; font-weight: 600; }

/* 徽标行 */
.emblem-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--cream); border-radius: var(--radius); border: 1px solid var(--line-strong); }
.emblem-bar img { width: 56px; height: 56px; }

/* 守护/亮点 */
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--frog-soft); display: flex; align-items: center; justify-content: center; font-size: 22px; flex: none; }
.feature h4 { margin: 0 0 4px; font-size: 15px; }
.feature p { margin: 0; font-size: 13.5px; color: var(--cocoa-soft); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .grid.c5 { grid-template-columns: repeat(4, 1fr); }
  .grid.c4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .detail-grid { grid-template-columns: 1fr; }
  .side { position: static; }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .grid.c5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .search-box input { width: 140px; }
  .search-box input:focus { width: 160px; }
  .hamburger { display: flex; }
  .hero { padding: 30px 22px; }
  .hero h1 { font-size: 30px; }
  .hero .frog { width: 130px; opacity: .5; right: 6px; }
  .hero-stats { gap: 18px; }
  .grid.c2, .grid.c3, .grid.c4, .grid.c5 { grid-template-columns: 1fr; }
  .grid.auto { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .form-row { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .hide-mobile { display: none !important; }
}
@media (min-width: 761px) { .mobile-drawer { display: none !important; } }

/* ===================== 工作台 / 后台 控制台 ===================== */
.console-wrap { display: flex; gap: 20px; align-items: flex-start; padding: 18px 0 40px; }
.console-side { width: 224px; flex: none; position: sticky; top: 92px; display: flex; flex-direction: column; gap: 4px; }
.console-side a { padding: 11px 14px; border-radius: 12px; font-weight: 600; color: var(--cocoa); display: flex; align-items: center; gap: 10px; }
.console-side a:hover { background: var(--frog-soft); text-decoration: none; }
.console-side a.active { background: var(--frog); color: #fff; }
.console-side .grp { font-size: 11px; color: var(--cocoa-soft); letter-spacing: 1px; padding: 14px 14px 4px; font-weight: 700; }
.console-main { flex: 1; min-width: 0; }
.console-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.console-head h2 { margin: 0; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.console-head h2 .bar { width: 6px; height: 24px; border-radius: 4px; background: linear-gradient(var(--frog), var(--honey)); }
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 18px; }
.mini-table { font-size: 13px; }
.mini-table td, .mini-table th { padding: 10px 12px; }
.badge-soft { background: var(--cream); color: #8a6a1f; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.btn.xs { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.chk-cell { width: 34px; }
.filters.compact .chip, .filters.compact input, .filters.compact select { height: 36px; font-size: 13px; padding: 0 12px; }
@media (max-width: 860px) {
  .console-wrap { flex-direction: column; }
  .console-side { width: 100%; position: static; flex-direction: row; flex-wrap: wrap; }
  .console-side .grp { width: 100%; }
  .console-side a { flex: 1; justify-content: center; }
}
