/* ============================================================
   HIGO 内容平台 · 视觉系统
   深色底 + 香槟金 + 玉色点缀；双贝塞尔卡片；硬边细线；
   动效统一 cubic-bezier(.16,.84,.24,1)，只动 transform / opacity
   ============================================================ */

:root {
  --bg: #060607;
  --surface: #0b0c0e;
  --surface-2: #101113;
  --surface-3: #16171a;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #efedea;
  --muted: #99958d;
  --muted-2: #6d6a64;
  --gold: #d8bf90;
  --gold-dim: #a8916a;
  --jade: #86d6b8;
  --danger: #e0736a;
  --warn: #e0b25f;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --ease: cubic-bezier(0.16, 0.84, 0.24, 1);
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Cascadia Code", "SF Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

/* 背景光晕：固定层，不参与滚动重绘 */
body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 120vh;
  background:
    radial-gradient(52% 44% at 18% 6%, rgba(134, 214, 184, 0.10), transparent 62%),
    radial-gradient(46% 40% at 82% 2%, rgba(216, 191, 144, 0.11), transparent 64%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

/* 纸纹噪点 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: rgba(216, 191, 144, 0.26); }

/* ---------- 导航 ---------- */
.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 11, 12, 0.72);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 22px 60px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 0.14em; font-size: 12px; text-transform: uppercase; color: var(--text); }
.brand .mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #f2e2c2, #b99a63 62%, #6f5a33);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 6px 18px -6px rgba(216, 191, 144, 0.7);
  flex: 0 0 auto;
}
.brand small { display: block; font-size: 9px; letter-spacing: 0.22em; color: var(--muted-2); font-weight: 500; }

.navlinks { display: flex; gap: 2px; margin-left: 10px; flex: 1; flex-wrap: nowrap; overflow: hidden; }
.navlinks a {
  padding: 8px 13px; border-radius: 999px; font-size: 13px; color: var(--muted);
  transition: color .5s var(--ease), background .5s var(--ease), transform .5s var(--ease);
  white-space: nowrap;
}
.navlinks a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.navlinks a.on { color: #14100a; background: var(--gold); font-weight: 600; }

.userchip { display: flex; align-items: center; gap: 10px; padding-left: 10px; margin-left: auto; }
.userchip .who { text-align: right; line-height: 1.25; }
.userchip .who b { display: block; font-size: 12.5px; font-weight: 600; }
.userchip .who span { font-size: 10.5px; color: var(--muted-2); letter-spacing: .06em; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(160deg, #23262a, #121316);
  border: 1px solid var(--line-strong); font-size: 12px; color: var(--gold);
}
.iconbtn {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); color: var(--muted); cursor: pointer;
  transition: all .5s var(--ease);
}
.iconbtn:hover { color: var(--text); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); }
.searchbtn { font-size: 15px; line-height: 1; }

/* 移动端菜单按钮：两笔变 X */
.menu-btn { display: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 9px; width: 14px; height: 1px; background: var(--text); transition: transform .6s var(--ease), opacity .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 13px; }
.menu-btn span:nth-child(2) { top: 18px; }
.menu-btn.on span:nth-child(1) { transform: translateY(2.5px) rotate(45deg); }
.menu-btn.on span:nth-child(2) { transform: translateY(-2.5px) rotate(-45deg); }

/* 全屏菜单：玻璃叠加 + 逐条揭示 */
.menu-overlay {
  position: fixed; inset: 0; z-index: 39;
  background: rgba(6, 6, 7, 0.88);
  backdrop-filter: blur(28px) saturate(120%);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 96px 32px 48px;
  opacity: 0; pointer-events: none;
  transition: opacity .55s var(--ease);
  visibility: hidden;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; visibility: visible; }
.menu-links { display: flex; flex-direction: column; gap: 2px; }
.menu-links a {
  font-size: clamp(26px, 7vw, 40px); letter-spacing: -0.02em; color: var(--muted);
  padding: 10px 0; opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .4s var(--ease);
}
.menu-overlay.open .menu-links a { opacity: 1; transform: none; }
.menu-overlay.open .menu-links a:nth-child(1) { transition-delay: .06s; }
.menu-overlay.open .menu-links a:nth-child(2) { transition-delay: .11s; }
.menu-overlay.open .menu-links a:nth-child(3) { transition-delay: .16s; }
.menu-overlay.open .menu-links a:nth-child(4) { transition-delay: .21s; }
.menu-overlay.open .menu-links a:nth-child(5) { transition-delay: .26s; }
.menu-overlay.open .menu-links a:nth-child(6) { transition-delay: .31s; }
.menu-overlay.open .menu-links a:nth-child(7) { transition-delay: .36s; }
.menu-links a.on { color: var(--gold); }
.menu-foot { margin-top: 36px; color: var(--muted-2); font-size: 12px; letter-spacing: .06em; }
.menulogout { background: none; border: 0; color: var(--gold); cursor: pointer; font-size: 12px; padding: 0 4px; }

/* ---------- 布局 ---------- */
.wrap { position: relative; z-index: 1; width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 128px 0 96px; }
.wrap.narrow { width: min(760px, calc(100% - 32px)); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(216, 191, 144, 0.24); background: rgba(216, 191, 144, 0.06);
}
.eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

h1.display {
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 22px 0 0;
  max-width: 24em;
  text-wrap: pretty;
}
h1.display em { font-style: normal; color: var(--gold); }
.lede { color: var(--muted); font-size: 16px; max-width: 58ch; margin: 18px 0 0; text-wrap: pretty; }

.section { margin-top: 72px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head .btn { flex: 0 0 auto; }
.section-head h2 { font-size: 22px; letter-spacing: -0.02em; margin: 0; font-weight: 600; }
.section-head .sub { color: var(--muted-2); font-size: 12.5px; margin-top: 6px; }

/* ---------- 双贝塞尔卡片 ---------- */
.shell {
  padding: 6px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -60px rgba(0, 0, 0, 1);
}
.core {
  border-radius: calc(var(--radius-xl) - 6px);
  background: var(--surface);
  padding: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  height: 100%;
}
.core.tight { padding: 18px; }

.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }

.stat { display: flex; flex-direction: column; gap: 6px; }
.stat .n { font-size: 40px; line-height: 1; letter-spacing: -0.04em; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat .n small { font-size: 14px; color: var(--muted-2); letter-spacing: 0; margin-left: 6px; font-weight: 400; }
.stat .k { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }

/* ---------- 卡片列表 ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: block; transition: transform .7s var(--ease); }
.card:hover { transform: translateY(-3px); }
.card .core { display: flex; flex-direction: column; gap: 12px; min-height: 210px; }
.card h3 { margin: 0; font-size: 17px; line-height: 1.4; letter-spacing: -0.015em; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.card .meta { margin-top: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11px; color: var(--muted-2); }
.ingline {
  margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11.5px; line-height: 1.6; color: var(--muted-2);
}
.thumb {
  position: relative; height: 112px; border-radius: 12px; margin: -6px -6px 0;
  background: radial-gradient(120% 120% at 20% 0%, rgba(216, 191, 144, 0.16), rgba(134, 214, 184, 0.08) 55%, transparent 75%),
              linear-gradient(160deg, #17181b, #0c0d0f);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: 12px 14px; overflow: hidden;
}
.thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
  transform: translateX(-40%);
  transition: transform 1.2s var(--ease);
}
.card:hover .thumb::after { transform: translateX(40%); }
.thumb .k { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); }
.thumb .n { align-self: flex-end; font-size: 38px; line-height: 1; letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.07); font-variant-numeric: tabular-nums; }

/* ---------- 标签 / 徽章 ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11px; color: var(--muted); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.tag.gold { color: var(--gold); border-color: rgba(216, 191, 144, 0.28); background: rgba(216, 191, 144, 0.07); }
.tag.jade { color: var(--jade); border-color: rgba(134, 214, 184, 0.26); background: rgba(134, 214, 184, 0.06); }
.tag.warn { color: var(--warn); border-color: rgba(224, 178, 95, 0.28); background: rgba(224, 178, 95, 0.07); }
.tag.danger { color: var(--danger); border-color: rgba(224, 115, 106, 0.3); background: rgba(224, 115, 106, 0.07); }

/* 分类筛选条 */
.catbar { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.chip {
  padding: 7px 14px; border-radius: 999px; font-size: 12.5px; color: var(--muted);
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.015);
  transition: color .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-1px); }
.chip.on { color: #14100a; background: var(--gold); border-color: transparent; font-weight: 600; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 10px 8px 10px 20px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03); color: var(--text); font-size: 13.5px; cursor: pointer;
  transition: transform .6s var(--ease), background .6s var(--ease), border-color .6s var(--ease);
}
.btn .ico {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); font-size: 12px;
  transition: transform .6s var(--ease), background .6s var(--ease);
}
.btn:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.28); transform: translateY(-1px); }
.btn:hover .ico { transform: translate(2px, -2px) scale(1.05); background: rgba(255, 255, 255, 0.14); }
.btn:active { transform: scale(0.985); }
.btn.primary { background: var(--gold); color: #17120a; border-color: transparent; font-weight: 600; }
.btn.primary .ico { background: rgba(0, 0, 0, 0.14); color: #17120a; }
.btn.primary:hover { background: #e6cf9f; }
.btn.small { padding: 6px 6px 6px 14px; font-size: 12px; }
.btn.small .ico { width: 22px; height: 22px; font-size: 10px; }
.btn.plain { padding: 9px 16px; }
.btn.danger { color: var(--danger); border-color: rgba(224, 115, 106, 0.3); }

/* ---------- 表单 ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field > label { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.field .hint { font-size: 11.5px; color: var(--muted-2); }
input:not([type=checkbox]):not([type=radio]):not([type=file]),
textarea, select {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  background: #0a0b0d; border: 1px solid var(--line); color: var(--text);
  transition: border-color .5s var(--ease), background .5s var(--ease);
  outline: none;
}
input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,
textarea:focus, select:focus { border-color: rgba(216, 191, 144, 0.5); background: #0d0e10; }
input::placeholder, textarea::placeholder { color: #5d5a55; }
textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.checkline { display: flex; gap: 10px; flex-wrap: wrap; }
.checkline label { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); cursor: pointer; }
.checkline input { accent-color: var(--gold); }
.checkline label:has(input:checked), .checkline label.on { color: var(--gold); border-color: rgba(216, 191, 144, 0.45); background: rgba(216, 191, 144, 0.08); }

.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 28px; }

/* ---------- 表格 ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-weight: 500; color: var(--muted-2); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 0 12px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .num { font-variant-numeric: tabular-nums; color: var(--muted); }

/* ---------- 详情页 ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.prose { font-size: 15px; line-height: 1.95; color: #d9d5cd; }
.prose p { margin: 0 0 18px; }
.prose h3 { font-size: 15px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; margin: 30px 0 12px; font-weight: 500; }
.aside .core { padding: 20px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 12.5px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted-2); }
.kv b { font-weight: 500; text-align: right; }

/* ---------- 提示条 ---------- */
.notice { display: block; padding: 14px 16px; border-radius: 14px; font-size: 12.5px; line-height: 1.75; border: 1px solid rgba(224, 178, 95, 0.24); background: rgba(224, 178, 95, 0.06); color: #e8d3ae; }
.notice b { color: #f2dfbc; font-weight: 600; }
.notice.err { border-color: rgba(224, 115, 106, 0.3); background: rgba(224, 115, 106, 0.07); color: #f0c3bf; }
.notice.ok { border-color: rgba(134, 214, 184, 0.26); background: rgba(134, 214, 184, 0.06); color: #c6ecdd; }

/* ---------- 页脚 ---------- */
.foot { margin-top: 90px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-2); font-size: 11.5px; line-height: 1.8; }

/* ---------- 登录页 ---------- */
.auth { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 100dvh; }
.auth .panel { padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.auth .visual { position: relative; border-left: 1px solid var(--line); overflow: hidden; display: flex; align-items: flex-end; padding: 48px; }
.auth .visual .orb { position: absolute; width: 460px; height: 460px; border-radius: 50%; filter: blur(58px); opacity: .55; }
.auth .visual .orb.a { background: rgba(216, 191, 144, 0.5); top: -80px; right: -60px; }
.auth .visual .orb.b { background: rgba(134, 214, 184, 0.32); bottom: -120px; left: -40px; }
.auth .visual .quote { position: relative; z-index: 1; max-width: 30ch; }
.auth .visual .quote p { font-size: 24px; line-height: 1.45; letter-spacing: -0.02em; margin: 0; }
.auth .visual .quote span { display: block; margin-top: 18px; font-size: 11px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.auth-form { width: min(380px, 100%); margin-top: 36px; }
.auth-form .btn { width: 100%; justify-content: space-between; margin-top: 8px; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .card, .btn, .btn .ico, .navlinks a { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .detail, .auth { grid-template-columns: 1fr; }
  .auth .visual { display: none; }
  .g-3, .g-4, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > div { grid-column: span 1; }
  .bento > .stat-strip { grid-column: span 2; }
  .navlinks { display: none; }
  .menu-btn { display: block; }
  .searchbtn { display: none; }
}
@media (max-width: 680px) {
  .wrap { padding-top: 108px; }
  .topbar { top: 10px; width: calc(100% - 20px); padding: 8px 10px 8px 14px; }
  .userchip .who { display: none; }
  .g-3, .g-4, .cards, .g-2 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > div { grid-column: span 1; }
  .bento > .stat-strip { grid-column: span 2; }
  .core { padding: 20px; }
  h1.display { font-size: clamp(30px, 8vw, 40px); max-width: none; }
  .section { margin-top: 54px; }
  .auth .panel { padding: 40px 24px; }
  .table th:nth-child(n+3), .table td:nth-child(n+3) { display: none; }
  /* 但最后一列（操作按钮）必须保留，否则手机上点不开详情 */
  .table th:last-child, .table td:last-child { display: table-cell; }
  .bento .stat .n { font-size: 32px; }
}

/* 搭配方案行编辑器 */
.combo-row {
  display: grid; grid-template-columns: 1.1fr 0.5fr 1.6fr 36px; gap: 8px;
  align-items: center; margin-bottom: 8px;
}
.combo-row select, .combo-row input { padding: 9px 10px; border-radius: 10px; font-size: 13px; }
.combo-del {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1;
  transition: all .4s var(--ease);
}
.combo-del:hover { color: var(--danger); border-color: rgba(224, 115, 106, .4); }
@media (max-width: 680px) {
  .combo-row { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .combo-row input { grid-column: span 2; }
}
/* 诊断：多选项超限提示 */
.checkline label.over { opacity: .35; }

/* 手机端：压缩产品/案例卡片高度 */
@media (max-width: 680px) {
  .card .core { min-height: auto; padding: 18px; }
  .cards { gap: 12px; }
  .combo-row select, .combo-row input { font-size: 12.5px; }
}

/* 文件选择框：对齐深色主题 */
input[type=file] {
  width: 100%; padding: 10px 12px; border-radius: 12px;
  border: 1px dashed var(--line-strong); background: #0a0b0d;
  color: var(--muted); font-size: 12.5px; cursor: pointer;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
input[type=file]:hover { border-color: rgba(216, 191, 144, 0.45); }
input[type=file]::file-selector-button {
  margin-right: 12px; padding: 8px 14px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, 0.08); color: var(--text);
  font-size: 12.5px; font-family: var(--font); cursor: pointer;
  transition: background .4s var(--ease);
}
input[type=file]::file-selector-button:hover { background: rgba(255, 255, 255, 0.16); }
/* 资料表：固定列宽，避免换行 */
.assets-table td:nth-child(2), .assets-table td:nth-child(3), .assets-table td:nth-child(4) { white-space: nowrap; }
.assets-table th:nth-child(2), .assets-table td:nth-child(2) { width: 116px; }
.assets-table th:nth-child(3), .assets-table td:nth-child(3) { width: 104px; }
.assets-table th:nth-child(4), .assets-table td:nth-child(4) { width: 84px; }
.assets-table th:last-child, .assets-table td:last-child { width: 96px; text-align: right; }
/* 手机端：压缩纵向节奏，减少滚动 */
@media (max-width: 680px) {
  .wrap { padding: 88px 0 64px; }
  .section { margin-top: 34px; }
  .eyebrow { font-size: 9.5px; padding: 5px 9px; }
  h1.display { font-size: clamp(25px, 7.2vw, 32px); margin-top: 14px; line-height: 1.12; }
  .lede { font-size: 13.5px; margin-top: 12px; }
  .section-head { margin-bottom: 14px; gap: 10px; }
  .section-head h2 { font-size: 18px; }
  .section-head .sub { font-size: 11.5px; margin-top: 3px; }
  .core { padding: 15px; }
  .card .core { padding: 13px; gap: 8px; }
  .card .thumb { height: 78px; }
  .card h3 { font-size: 15.5px; }
  .card p { font-size: 12.5px; }
  .bento { gap: 10px; }
  .stat .n { font-size: 24px; }
  .stat .k { font-size: 11px; }
  .foot { margin-top: 44px; font-size: 10.5px; }
  .form-actions { margin-top: 18px; }
  .field { margin-bottom: 13px; }
}

/* 回到顶部 */
.to-top {
  position: fixed; right: 16px; bottom: 20px; z-index: 30;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(12, 13, 15, 0.92);
  color: var(--gold); font-size: 15px; cursor: pointer;
  backdrop-filter: blur(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.to-top[hidden] { display: none; }
@media (max-width: 980px) { .bento > .stat-last { grid-column: span 2; } }

/* 合规对照表：按大类折叠 */
.cmp-group { margin-top: 14px; border-radius: 22px; }
.cmp-group > summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 15px 18px; cursor: pointer; list-style: none;
  border: 1px solid var(--line); border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.cmp-group > summary::-webkit-details-marker { display: none; }
.cmp-group > summary::after { content: "＋"; color: var(--gold); font-size: 13px; margin-left: auto; }
.cmp-group[open] > summary::after { content: "－"; }
.cmp-group > summary:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); }
.cmp-group > summary span:first-child { font-size: 15px; font-weight: 600; }
.cmp-count { font-size: 11.5px; color: var(--muted-2); }
@media (max-width: 680px) {
  .cmp-group > summary { padding: 12px 14px; }
  .cmp-group > summary span:first-child { font-size: 14px; }
}
/* 表格在手机上的列宽：把中间列让出来给主内容 */
@media (max-width: 680px) {
  .assets-table th:nth-child(2), .assets-table td:nth-child(2) { display: none; }
  .assets-table th:last-child, .assets-table td:last-child { width: 86px; }
  .meetings-table th:first-child, .meetings-table td:first-child { width: 96px; white-space: nowrap; font-size: 12px; }
  .meetings-table th:last-child, .meetings-table td:last-child { width: 86px; }
  .table .btn.small { padding: 5px 6px 5px 10px; font-size: 11.5px; }
  .table .btn.small .ico { width: 18px; height: 18px; font-size: 9px; }
}