/* 货达恒砺（上海）科技有限公司 官网样式表
   设计基调：深墨蓝（产业/可信）+ 琥珀橙（能源/流通）+ 大量留白与走廊式斜向纹理。
   仅使用系统字体与本地资源，不加载任何外部字体、图片或脚本。 */

:root {
  --navy-900: #061a2f;
  --navy-800: #0b2545;
  --navy-700: #123a63;
  --navy-500: #1b5c93;
  --sky-400: #2f8fd0;
  --sky-100: #e8f2fb;
  --amber: #f28a1e;
  --amber-deep: #d9711a;
  --amber-soft: #fff3e2;
  --ink: #101820;
  --ink-60: #4a5766;
  --ink-40: #78848f;
  --line: #dbe3ec;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 18px 48px rgba(11, 37, 69, 0.14);
  --max: 1180px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

/* 模块级规则会带 display，需保证 hidden 属性始终生效。 */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--navy-500); text-decoration: none; }
a:hover { color: var(--amber-deep); }

h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; color: var(--navy-800); letter-spacing: .01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}

.header-inner { display: flex; align-items: center; gap: 18px; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy-800); }
.brand:hover { color: var(--navy-800); }
.brand-mark { width: 40px; height: 40px; flex: 0 0 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; }
.brand-sub { font-size: 11px; color: var(--ink-40); letter-spacing: .22em; text-transform: uppercase; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block;
  padding: 8px 7px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  /* 8 项导航 + 公司全名 + 两个按钮要在 1180 的容器里排在一行：
     不换行是硬要求，实测 8px 10px 的内边距要挤出 ~1202px（溢出 22px），
     收窄到 8px 7px 后单行宽度回到容器以内；1199 及以下改走抽屉导航（见 max-width:1199 段）。 */
  white-space: nowrap;
}
.main-nav a:hover { background: var(--sky-100); color: var(--navy-700); }
.main-nav a[aria-current="page"] { color: var(--amber-deep); font-weight: 700; }
.main-nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 2px;
  background: var(--amber);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

/* 移动端导航面板里的“注册/登录”入口：桌面端隐藏，窄屏时随导航展开 */
.nav-session { display: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy-800); border-radius: 2px; }
.nav-toggle span + span { margin-top: 5px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: #fff; box-shadow: 0 8px 20px rgba(242, 138, 30, .32); }
.btn-primary:hover { background: var(--amber-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn-ghost:hover { background: var(--navy-800); color: #fff; }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { color: var(--navy-700); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 460px at 82% -10%, rgba(47, 143, 208, .35), transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 46%, var(--navy-700) 100%);
  color: #fff;
  padding: 84px 0 96px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 74px);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(242, 138, 30, .16);
  border: 1px solid rgba(242, 138, 30, .42);
  color: #ffd9a8; font-size: 13px; font-weight: 600; letter-spacing: .06em;
}
.hero h1 { color: #fff; font-size: 44px; line-height: 1.24; margin: 20px 0 14px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-lead { color: rgba(255, 255, 255, .82); font-size: 17px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-panel {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: 26px 28px;
  backdrop-filter: blur(3px);
}
.hero-panel h2 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.hero-panel ul li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px dashed rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
}
.hero-panel ul li:first-child { border-top: 0; }
.hero-panel .dot {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(242, 138, 30, .2);
  color: var(--amber);
  font-weight: 700;
  font-size: 13px;
}

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .2em;
  color: var(--amber-deep); text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; }
.section-head p { color: var(--ink-60); margin-top: 12px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #c8d7e8; }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--sky-100), #fff);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--navy-700);
  margin-bottom: 14px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--ink-60); font-size: 15px; margin: 0; }

/* 能力/指标带 */
.band {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.band .item h3 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.band .item p { color: rgba(255, 255, 255, .76); font-size: 14px; margin: 0; }
.band .item::before {
  content: ""; display: block; width: 26px; height: 3px; border-radius: 2px;
  background: var(--amber); margin-bottom: 12px;
}

/* 方案列表 */
.solutions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.solution {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 28px 28px 26px 30px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
}
.solution:hover { box-shadow: var(--shadow); }
.solution .no {
  font-size: 30px; font-weight: 800; color: var(--sky-100);
  -webkit-text-stroke: 1px var(--sky-400);
  line-height: 1;
}
.solution .tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--navy-500);
  background: var(--sky-100); border-radius: 999px; padding: 3px 12px; margin-bottom: 8px;
}
.solution h3 { font-size: 20px; margin-bottom: 8px; }
.solution p { color: var(--ink-60); margin: 0; font-size: 15px; }

/* 流程 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px;
  position: relative;
}
.step b {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-size: 14px;
  margin-bottom: 12px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink-60); margin: 0; }

/* 关于 / 图文分栏 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: 30px; margin-bottom: 16px; }
.split p { color: var(--ink-60); }
.visual {
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--navy-800), var(--navy-500) 68%, var(--sky-400));
  min-height: 320px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .09) 0 1px, transparent 1px 58px),
    radial-gradient(340px 200px at 78% 24%, rgba(242, 138, 30, .5), transparent 62%);
}
.visual .caption {
  position: absolute; left: 26px; right: 26px; bottom: 24px;
  color: #fff;
}
.visual .caption strong { display: block; font-size: 20px; margin-bottom: 6px; }
.visual .caption span { font-size: 14px; color: rgba(255, 255, 255, .8); }

.checklist li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--ink-60);
  border-bottom: 1px dashed var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 10px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--amber-soft); color: var(--amber-deep);
  font-size: 12px; font-weight: 800; display: grid; place-items: center;
}

/* 资讯 */
.news-list { display: grid; gap: 18px; }
.news-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px;
  display: grid; grid-template-columns: 140px 1fr; gap: 26px;
}
.news-item:hover { box-shadow: var(--shadow); }
.news-date { color: var(--ink-40); font-size: 14px; }
.news-date b { display: block; color: var(--navy-800); font-size: 26px; line-height: 1.1; }
.news-item h3 { font-size: 19px; margin-bottom: 8px; }
.news-item p { color: var(--ink-60); margin: 0; font-size: 15px; }
.news-item .label {
  display: inline-block; margin-bottom: 8px; font-size: 12px; font-weight: 700;
  color: var(--amber-deep); background: var(--amber-soft); border-radius: 999px; padding: 2px 12px;
}

/* 表格化的信息块 */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.info-table th, .info-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.info-table th { width: 180px; background: var(--bg-alt); color: var(--navy-800); font-weight: 600; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

/* 行动区 */
.cta-band {
  background: linear-gradient(115deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius);
  color: #fff;
  padding: 40px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: 26px; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 8px 0 0; }

/* 内页横幅 */
.page-hero {
  background:
    radial-gradient(900px 300px at 88% 0%, rgba(47, 143, 208, .3), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff; padding: 58px 0 62px;
}
.page-hero h1 { color: #fff; font-size: 36px; margin: 0 0 10px; }
.page-hero p { color: rgba(255, 255, 255, .8); max-width: 44em; margin: 0; }
.crumbs { font-size: 13px; color: rgba(255, 255, 255, .62); margin-bottom: 16px; }
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: #fff; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); padding: 60px 0 26px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: .04em; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: var(--amber); }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand .brand-mark { width: 38px; height: 38px; flex: 0 0 38px; }
.footer-brand strong { color: #fff; font-size: 16px; display: block; margin-bottom: 6px; }
.footer-brand p { font-size: 14px; margin: 0; }
.footer-links li { padding: 5px 0; font-size: 14px; }
.footer-info li { padding: 5px 0; font-size: 14px; line-height: 1.7; }
.footer-info span { color: rgba(255, 255, 255, .5); }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px; color: rgba(255, 255, 255, .55); text-align: center;
}
.footer-bottom a { color: rgba(255, 255, 255, .75); }
.footer-legal { margin-top: 8px; }

/* ---------- 认证页 ---------- */
.auth-wrap { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 620px; }
.auth-aside {
  background:
    radial-gradient(700px 320px at 12% 8%, rgba(242, 138, 30, .28), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff; padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.auth-aside h2 { color: #fff; font-size: 28px; }
.auth-aside p { color: rgba(255, 255, 255, .8); }
.auth-aside ul li { padding: 9px 0 9px 26px; position: relative; color: rgba(255, 255, 255, .85); font-size: 15px; }
.auth-aside ul li::before {
  content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 10px;
  border-radius: 3px; background: var(--amber);
}
.auth-main { padding: 46px 48px 56px; display: flex; flex-direction: column; justify-content: center; background: #fff; }
.auth-card { width: 100%; max-width: 480px; margin: 0 auto; }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card .sub { color: var(--ink-60); font-size: 15px; margin-bottom: 24px; }

.tabs { display: flex; gap: 8px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 26px; }
.tabs button {
  flex: 1; padding: 9px 0; border: 0; background: transparent; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--ink-60); cursor: pointer; font-family: inherit;
}
.tabs button[aria-selected="true"] { background: var(--navy-800); color: #fff; box-shadow: var(--shadow); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy-800); margin-bottom: 6px; }
.field label .req { color: var(--amber-deep); }
.field input {
  width: 100%; padding: 11px 14px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus { outline: none; border-color: var(--sky-400); box-shadow: 0 0 0 3px rgba(47, 143, 208, .16); }
.field input[aria-invalid="true"] { border-color: #d9534f; box-shadow: 0 0 0 3px rgba(217, 83, 79, .12); }
.field .hint { font-size: 12.5px; color: var(--ink-40); margin-top: 5px; }
.field .err { font-size: 13px; color: #c0392b; margin-top: 5px; min-height: 1em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* 滑窗验证：轨道 + 随机缺口 + 可拖拽滑块；缺口位置与判定都在 slider.js 里 */
.sv-track {
  position: relative; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #f8fafc, #eef2f6); overflow: hidden;
  touch-action: none; -webkit-user-select: none; user-select: none;
}
.sv-fill { position: absolute; top: 0; bottom: 0; left: 0; width: 0; background: rgba(47, 143, 208, .14); }
.sv-notch {
  position: absolute; top: 3px; left: 0; width: 50px; height: 42px;
  border: 2px dashed #9db4c8; border-radius: 10px; background: rgba(11, 37, 69, .06);
}
.sv-knob {
  position: absolute; top: 3px; left: 0; width: 44px; height: 42px; padding: 0;
  border: 1px solid var(--navy-700); border-radius: 9px; background: var(--navy-700); color: #fff;
  display: grid; place-items: center; cursor: grab; line-height: 1;
  /* 触屏必须自己声明：内核按命中元素的 touch-action 决定要不要把手势交给页面，
     只写在轨道上时部分浏览器仍会取消指针序列（pointercancel），滑块表现为拖不动。 */
  touch-action: none; -webkit-user-drag: none;
}
.sv-knob::before { content: "»"; font-size: 17px; letter-spacing: -2px; }
.sv-knob:hover { border-color: var(--sky-400); }
.sv-knob:focus-visible { outline: 3px solid rgba(47, 143, 208, .45); outline-offset: 2px; }
.sv-knob:active { cursor: grabbing; }
.sv.is-ok .sv-knob { background: #1d7a4d; border-color: #1d7a4d; cursor: default; }
.sv.is-ok .sv-knob::before { content: "✓"; }
.sv.is-ok .sv-notch { border-style: solid; border-color: #1d7a4d; background: rgba(29, 122, 77, .10); }
.sv.is-ok .sv-fill { background: rgba(29, 122, 77, .14); }
.sv.is-fail .sv-knob { background: #c0392b; border-color: #c0392b; }
.sv.is-fail .sv-track { animation: sv-shake .32s ease; }
.sv[aria-invalid="true"] .sv-track { border-color: #d9534f; }
@keyframes sv-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.sv-tip { font-size: 12.5px; color: var(--ink-40); margin: 6px 0 0; }
.sv.is-ok .sv-tip { color: #1d7a4d; font-weight: 600; }
.sv.is-fail .sv-tip { color: #c0392b; }
.sv-reset { align-self: flex-start; margin-top: 4px; }

.pw-rules { margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.pw-rules li { font-size: 12.5px; color: var(--ink-40); padding-left: 18px; position: relative; }
.pw-rules li::before { content: "○"; position: absolute; left: 0; color: var(--ink-40); font-size: 10px; top: 2px; }
.pw-rules li.ok { color: #1d7a4d; }
.pw-rules li.ok::before { content: "✓"; color: #1d7a4d; }
.pw-meter { height: 5px; border-radius: 4px; background: var(--line); margin-top: 10px; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; background: var(--sky-400); transition: width .2s ease, background .2s ease; }
.pw-meter.strong i { background: #1d7a4d; }
.pw-meter.weak i { background: #d9534f; }
.pw-meter.mid i { background: var(--amber); }

.alert {
  border-radius: var(--radius-sm); padding: 11px 15px; font-size: 14px; margin-bottom: 16px;
  border: 1px solid transparent; display: none;
}
.alert.show { display: block; }
.alert-error { background: #fdf0ef; border-color: #f3c3bf; color: #b03630; }
.alert-ok { background: #eef8f1; border-color: #bfe3cc; color: #1d6b45; }
.alert-info { background: var(--sky-100); border-color: #c3ddf2; color: var(--navy-700); }

.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 22px; }
.form-actions .btn { flex: 1; }
.switch-tip { font-size: 13.5px; color: var(--ink-60); margin-top: 14px; }
.switch-tip button { border: 0; background: none; color: var(--navy-500); font-weight: 600; cursor: pointer; font-family: inherit; font-size: 13.5px; padding: 0; }
.switch-tip button:hover { color: var(--amber-deep); text-decoration: underline; }

.notice {
  margin-top: 22px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg-alt); border: 1px solid var(--line); font-size: 13px; color: var(--ink-60);
}

/* 协议文本页：《用户协议》《隐私政策》共用 */
.doc-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.doc-chip {
  display: inline-block; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-60); font-size: 13.5px; text-decoration: none; font-weight: 600;
}
.doc-chip:hover { border-color: var(--navy-500); color: var(--navy-500); }
.doc-chip.is-on { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.doc-list { list-style: none; counter-reset: doc; margin: 0; padding: 0; }
.doc-list li {
  counter-increment: doc; position: relative; padding: 16px 18px 16px 58px;
  border-bottom: 1px dashed var(--line); font-size: 15px; line-height: 1.85; color: var(--ink-60);
}
.doc-list li:first-child { border-top: 1px dashed var(--line); }
.doc-list li::before {
  content: counter(doc, decimal-leading-zero); position: absolute; left: 18px; top: 19px;
  font-size: 13px; font-weight: 700; color: var(--amber-deep); font-variant-numeric: tabular-nums;
}
.doc-list li:last-child { border-bottom: 0; }

.pw-tools { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.link-btn {
  border: 0; background: none; padding: 0; cursor: pointer; font-family: inherit;
  font-size: 12.5px; color: var(--navy-500); font-weight: 600; white-space: nowrap;
}
.link-btn:hover { color: var(--amber-deep); text-decoration: underline; }
.pw-meter-text { font-size: 12.5px; color: var(--ink-40); flex: 1; }
.pw-tools .pw-meter { flex: 1; margin-top: 0; }
.checkbox-row label { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; font-size: 14px; color: var(--ink-60); }
.checkbox-row input { width: 17px; height: 17px; margin-top: 4px; accent-color: var(--amber); flex: 0 0 17px; }
.checkbox-row a { text-decoration: underline; }

/* 个人中心 */
.account-grid { display: grid; grid-template-columns: 280px 1fr; gap: 26px; align-items: start; }
.profile-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.avatar {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--sky-400));
  color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 700;
}
.profile-card h3 { font-size: 18px; margin-bottom: 4px; word-break: break-all; }
.profile-card .role { font-size: 13px; color: var(--ink-40); margin-bottom: 16px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel h2 { font-size: 20px; margin-bottom: 16px; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 0; }
.kv dt { padding: 12px 0; color: var(--ink-40); font-size: 14px; border-bottom: 1px dashed var(--line); }
.kv dd { margin: 0; padding: 12px 0; font-size: 14px; color: var(--ink); border-bottom: 1px dashed var(--line); word-break: break-all; }
.kv dt:last-of-type, .kv dd:last-of-type { border-bottom: 0; }

.empty-state { text-align: center; padding: 56px 24px; color: var(--ink-60); }
.empty-state h2 { font-size: 20px; margin-bottom: 8px; }

/* ===== 分类信息与耗材商城 ===== */

/* 头部购物车计数 */
.cart-chip { display: inline-flex; align-items: center; gap: 7px; }
.cart-chip .count {
  min-width: 20px; padding: 0 5px; height: 20px; border-radius: 999px;
  background: var(--amber); color: #2b1500; font-size: 12px; font-weight: 700;
  display: inline-grid; place-items: center; font-variant-numeric: tabular-nums;
}
.cart-chip .count.is-zero { background: rgba(255, 255, 255, .22); color: currentColor; }

/* 分类与检索条 */
.cat-tabs { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 18px; }
.cat-tab {
  border: 1px solid var(--line); background: #fff; color: var(--ink-60);
  border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 6px;
}
.cat-tab small { font-weight: 600; color: var(--ink-40); font-variant-numeric: tabular-nums; }
.cat-tab:hover { border-color: var(--navy-500); color: var(--navy-500); }
.cat-tab.is-on { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.cat-tab.is-on small { color: rgba(255, 255, 255, .72); }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.filter-row input[type="search"] {
  flex: 1 1 220px; min-width: 0; padding: 10px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font: inherit; font-size: 14px; color: var(--ink); background: #fff;
}
.filter-row input[type="search"]:focus-visible { outline: 3px solid rgba(47, 143, 208, .35); outline-offset: 1px; }
.filter-row select {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 14px; color: var(--ink-60); background: #fff;
}
.result-note { font-size: 13.5px; color: var(--ink-40); margin: -8px 0 16px; }

/* 信息条目 */
.info-list { display: grid; gap: 14px; }
.info-item {
  display: grid; grid-template-columns: 104px 1fr; gap: 20px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
}
.info-item:hover { border-color: var(--sky-400); box-shadow: var(--shadow); }
.info-date { color: var(--ink-40); font-size: 13px; line-height: 1.5; }
.info-date b { display: block; font-size: 24px; color: var(--navy-700); font-variant-numeric: tabular-nums; }
.info-item h3 { font-size: 17.5px; margin-bottom: 8px; }
.info-item h3 a { color: var(--ink); }
.info-item h3 a:hover { color: var(--navy-500); }
.info-item p { font-size: 14.5px; color: var(--ink-60); margin-bottom: 10px; }
.tag-row { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.tag {
  font-size: 12.5px; color: var(--navy-500); background: var(--sky-100);
  border-radius: 999px; padding: 3px 10px;
}
.tag.cat { color: #fff; background: var(--navy-500); }
.tag.local { color: #7a4a00; background: var(--amber-soft); border: 1px dashed #e3a86a; }
.info-meta { font-size: 13px; color: var(--ink-40); margin-left: auto; }

/* 分类信息：按分类分组的只读列表，每条写明发布人／公司／联系电话／日期 */
.info-group { margin-bottom: 26px; }
.info-group:last-child { margin-bottom: 0; }
.info-group-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 14px; }
.info-group-head h2 { margin: 0; font-size: 22px; }
.info-group-head h2 a { color: var(--navy-700); }
.info-group-head h2 a:hover { color: var(--sky-400); }
.info-group-head p { margin: 0; font-size: 13.5px; color: var(--ink-40); }
.info-rows { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.info-row { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.info-row:hover { border-color: var(--sky-400); box-shadow: var(--shadow); }
.info-row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.info-row-head h3 { margin: 0; font-size: 17.5px; }
.info-row-head h3 a { color: var(--ink); }
.info-row-head h3 a:hover { color: var(--navy-500); }
.info-row-date { font-size: 13px; color: var(--ink-40); font-variant-numeric: tabular-nums; }
.info-row-by { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 10px; font-size: 14px; color: var(--ink-60); }
.info-row-by b { color: var(--navy-700); }
.info-row-by a { color: var(--navy-500); }
.info-row-phone { color: var(--amber-deep); }
.info-row-area { color: var(--ink-40); }
.info-row-sum { margin: 0 0 10px; font-size: 14.5px; color: var(--ink-60); }
.info-row-action { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.info-publine { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 14.5px; color: rgba(255, 255, 255, .92); }
.info-publine b { color: #fff; }
.info-pub-note { border-top: 1px dashed var(--line); padding-top: 16px; margin-top: 6px; }
.info-pub-note h2 { font-size: 18px; margin-bottom: 8px; }
.info-pub-note p { font-size: 14.5px; color: var(--ink-60); line-height: 1.85; margin-bottom: 12px; }

/* 商品网格 */
.goods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.goods-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.goods-card:hover { border-color: var(--sky-400); box-shadow: var(--shadow); }
.goods-thumb {
  aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px;
  background: linear-gradient(160deg, #f2f7fc, #e6eff8);
}
.goods-thumb img, .goods-thumb svg { width: 58%; max-width: 100%; height: auto; }
/* 商品照片：站内本地文件 assets/img/goods/<id>.jpg，覆盖在分类线描图之上；
   加载失败时 media.js 会移除 <img>，线描图自动露出来，卡片不会留白。 */
.goods-thumb, .cart-line .mini-thumb { position: relative; overflow: hidden; }
.goods-thumb .thumb-icon, .cart-line .mini-thumb .thumb-icon {
  display: grid; place-items: center; width: 100%; height: 100%;
}
.goods-thumb .thumb-photo, .cart-line .mini-thumb .thumb-photo {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; background: #fff; opacity: 0; transition: opacity .18s ease;
}
.goods-thumb.has-photo .thumb-photo { opacity: 1; }
.cart-line .mini-thumb.has-photo .thumb-photo { opacity: 1; }
.goods-thumb.has-photo .thumb-icon, .cart-line .mini-thumb.has-photo .thumb-icon { visibility: hidden; }
.goods-hero .goods-thumb .thumb-photo { object-fit: contain; padding: 8px; }
.photo-note { font-size: 12.5px; color: var(--ink-40); margin-top: 8px; }
.goods-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.goods-body h3 { font-size: 16px; line-height: 1.5; }
.goods-body h3 a { color: var(--ink); }
.goods-body h3 a:hover { color: var(--navy-500); }
.goods-model { font-size: 12.5px; color: var(--ink-40); }
.goods-note { font-size: 13px; color: var(--ink-60); }
/* 商品卡上的第三方卖家行：店铺名可点进店，字号与型号行同级但用主色区分。 */
.goods-shop { font-size: 12.5px; color: var(--ink-40); }
.goods-shop a { color: var(--navy-500); font-weight: 600; }
.goods-shop a:hover { text-decoration: underline; }
.price-line { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.price { font-size: 21px; font-weight: 700; color: var(--amber-deep); font-variant-numeric: tabular-nums; }
.price small { font-size: 12.5px; font-weight: 600; color: var(--ink-40); }
.goods-actions { display: flex; gap: 9px; }
.goods-actions .btn { flex: 1; }

/* 商品详情 */
.goods-detail { display: grid; grid-template-columns: 400px 1fr; gap: 30px; align-items: start; }
.goods-hero { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 96px; }
.goods-hero .goods-thumb { border-radius: var(--radius-sm); }
.price-box { background: var(--amber-soft); border: 1px solid #f0d6ac; border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 18px; }
.price-box .price { font-size: 28px; }
.price-box .tier-note { font-size: 13px; color: #7a4a00; margin-top: 6px; }
.qty-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 16px 0; }
.qty-row .label { font-size: 14px; color: var(--ink-60); }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.stepper button { width: 34px; border: 0; background: var(--bg-alt); font-size: 18px; cursor: pointer; color: var(--navy-700); font-family: inherit; }
.stepper button:hover { background: var(--sky-100); }
.stepper input { width: 76px; border: 0; text-align: center; font: inherit; font-size: 15px; color: var(--ink); }
.stepper input:focus-visible { outline: 2px solid var(--sky-400); outline-offset: -2px; }
.stock-note { font-size: 13px; color: var(--ink-40); }
.stock-note.is-low { color: #c0392b; }
.sub-total { font-size: 14px; color: var(--ink-60); }
.sub-total b { color: var(--amber-deep); font-size: 19px; }
.tier-list { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 4px; }
.tier-list th, .tier-list td { padding: 9px 10px; border-bottom: 1px dashed var(--line); text-align: left; }
.tier-list th { color: var(--ink-40); font-weight: 600; font-size: 13px; }
.tier-list tr.is-on td { color: var(--amber-deep); font-weight: 700; }
.scene-list { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 0; }

/* 购物车与下单 */
.cart-table { width: 100%; border-collapse: collapse; background: #fff; }
.cart-table th { text-align: left; font-size: 13px; color: var(--ink-40); font-weight: 600; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 14px 10px; border-bottom: 1px dashed var(--line); font-size: 14.5px; vertical-align: middle; }
.cart-line { display: flex; gap: 12px; align-items: center; }
.cart-line .mini-thumb { width: 58px; height: 52px; border-radius: var(--radius-sm); background: linear-gradient(160deg, #f2f7fc, #e6eff8); display: grid; place-items: center; flex: 0 0 58px; }
.cart-line .mini-thumb img, .cart-line .mini-thumb svg { width: 70%; max-width: 100%; height: auto; }
.cart-line b { font-weight: 600; }
.cart-line small { display: block; color: var(--ink-40); font-size: 12.5px; }
.cart-num { font-variant-numeric: tabular-nums; }
.cart-remove { border: 0; background: none; color: var(--ink-40); cursor: pointer; font: inherit; font-size: 13px; text-decoration: underline; padding: 0; }
.cart-remove:hover { color: #c0392b; }
.cart-bar {
  position: sticky; bottom: 0; margin-top: 20px; display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap; justify-content: space-between; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg);
}
.cart-bar .sum { font-size: 14px; color: var(--ink-60); }
.cart-bar .sum b { font-size: 24px; color: var(--amber-deep); margin-left: 6px; }
.cart-bar .actions { display: flex; gap: 10px; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px; }
.order-head { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px dashed var(--line); margin-bottom: 12px; }
.order-head .no { font-size: 15px; font-weight: 700; color: var(--navy-700); font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.order-head .when { font-size: 13px; color: var(--ink-40); }
.order-card table { width: 100%; border-collapse: collapse; font-size: 14px; }
.order-card table td { padding: 7px 0; color: var(--ink-60); }
.order-card table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.order-total { display: flex; justify-content: flex-end; gap: 8px; align-items: baseline; margin-top: 10px; font-size: 14px; }
.order-total b { font-size: 20px; color: var(--amber-deep); }
.order-done { border: 1px solid #bfe0cd; background: #f2fbf6; border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.order-done .no { font-size: 22px; font-weight: 700; color: #1d7a4d; font-variant-numeric: tabular-nums; }

/* 发布与提示 */
.post-notice { border-left: 3px solid var(--amber); background: var(--amber-soft); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 13.5px; color: #6b4208; margin-bottom: 22px; line-height: 1.8; }
textarea.field-input { min-height: 120px; resize: vertical; line-height: 1.8; }
.gate { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 34px 26px; text-align: center; }
.gate p { color: var(--ink-60); font-size: 14.5px; margin-bottom: 16px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { font-size: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .account-grid { grid-template-columns: 1fr; }
  .goods-grid { grid-template-columns: repeat(2, 1fr); }
  .goods-detail { grid-template-columns: 1fr; }
  .goods-hero { position: static; }
}

/* 头部折叠：8 项导航 + 公司全名 + 两个按钮实测要 1164px 才排得下，
   1199 以下会横向溢出，于是收起页头按钮组，改走汉堡按钮 + 抽屉导航（购物车与登录入口都在抽屉里）。
   断点随「发布信息」这一项从 1120 上调到 1199；这段规则原先写在 ≤760 段里，抽出来两档共用。 */
@media (max-width: 1199px) {
  .header-inner { height: 64px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 64px;
    background: #fff; border-bottom: 1px solid var(--line);
    display: none; padding: 10px 20px 16px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 12px 10px; font-size: 15px; }
  .main-nav a[aria-current="page"]::after { display: none; }
  .header-actions { display: none; }
  .nav-session { display: block; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
  .nav-session a { color: var(--navy-700); font-weight: 600; }
  .nav-session a.chip-on { color: var(--amber-deep); }
  .nav-cart { display: block; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
  .nav-cart a { color: var(--navy-700); font-weight: 600; display: flex; align-items: center; gap: 8px; }
}

@media (max-width: 760px) {
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 30px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 25px; }
  .grid-2, .grid-3, .grid-4, .solutions, .band, .steps { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { padding: 36px 24px; }
  .auth-main { padding: 32px 20px 48px; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 28px 22px; }
  .info-table th { width: 110px; }
  .page-hero h1 { font-size: 27px; }
  .brand-name { font-size: 15px; white-space: normal; }
  .info-item { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
  .info-date { display: flex; align-items: baseline; gap: 8px; }
  .info-date b { font-size: 20px; }
  .info-meta { margin-left: 0; }
  .info-row { padding: 16px; }
  .info-row-head { gap: 6px; }
  .info-publine { flex-direction: column; gap: 4px; }
  .goods-grid { grid-template-columns: 1fr; }
  .goods-detail { gap: 20px; }
  .filter-row input[type="search"] { flex: 1 1 100%; }
  .cat-tab { padding: 7px 13px; font-size: 13.5px; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; }
  .cart-table tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .cart-table td { border: 0; padding: 6px 0; }
  .cart-bar { position: static; padding: 14px 16px; gap: 12px; }
  .cart-bar .actions { width: 100%; }
  .cart-bar .actions .btn { flex: 1; }
  .order-head { flex-direction: column; gap: 4px; }
}

/* 桌面宽度下购物车走页头按钮，抽屉里的购物车项隐藏；1199 及以下改抽屉，见上面折叠段。 */
@media (min-width: 1200px) {
  .nav-cart { display: none; }
}

.field select, .field textarea {
  width: 100%; padding: 11px 14px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-400); box-shadow: 0 0 0 3px rgba(47, 143, 208, .16); }
.field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #d9534f; box-shadow: 0 0 0 3px rgba(217, 83, 79, .12); }

/* ---------- 店铺街与商家入驻（2026-11-25 新增） ---------- */

.section.tight { padding: 44px 0; }
.block-title { font-size: 22px; color: var(--navy-800); margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--sky-100); }
.step-time { display: inline-block; font-size: 12px; font-weight: 600; color: var(--amber-deep); background: var(--amber-soft); border-radius: 999px; padding: 2px 9px; margin-bottom: 6px; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }

/* 入驻模块的二级导航 */
.sub-nav {
  display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-bottom: 30px; background: #fff;
}
.sub-nav a {
  padding: 8px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink-60);
}
.sub-nav a:hover { color: var(--navy-800); background: var(--bg-alt); }
.sub-nav a[aria-current="page"] { background: var(--navy-800); color: #fff; }

/* 申请进度条 */
.apply-steps {
  list-style: none; margin: 0; padding: 18px 20px; display: grid; gap: 12px;
  grid-template-columns: repeat(6, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.apply-steps li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-40); min-width: 0; }
.apply-steps b {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: var(--ink-40); background: var(--bg-alt); border: 1px solid var(--line);
}
.apply-steps span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apply-steps li.is-now { color: var(--navy-800); font-weight: 600; }
.apply-steps li.is-now b { background: var(--amber); border-color: var(--amber); color: #fff; }
.apply-steps li.is-done { color: var(--navy-700); }
.apply-steps li.is-done b { background: #eef8f1; border-color: #bfe3cc; color: #1d6b45; }
.apply-steps li.is-done b { font-size: 0; }
.apply-steps li.is-done b::before { content: "✓"; font-size: 14px; }
.apply-steps li.is-wait { border-left: 2px solid var(--amber); padding-left: 8px; }

/* 协议勾选块 */
.agree { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-alt); padding: 18px 20px; margin-bottom: 8px; }
.agree h3 { font-size: 15.5px; color: var(--navy-800); margin: 0 0 10px; }
.agree ol { margin: 0; padding-left: 20px; }
.agree ol li { font-size: 14px; color: var(--ink-60); line-height: 1.85; margin-bottom: 8px; }
.agree-links { font-size: 13px; color: var(--ink-40); margin: 4px 0 14px; }
.agree-check {
  display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--navy-800);
  border-top: 1px dashed var(--line); padding-top: 14px; cursor: pointer;
}
.agree-check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--amber-deep); flex: 0 0 17px; }
h2.field-set {
  font-size: 16px; color: var(--navy-800); margin: 28px 0 14px; padding-left: 11px;
  border-left: 3px solid var(--amber); line-height: 1.4;
}

/* 本机申请记录 */
.mine-count { font-size: 13px; color: var(--ink-40); margin: 0 0 10px; }
.mine-item { border-bottom: 1px dashed var(--line); padding: 12px 0; }
.mine-item:last-child { border-bottom: 0; }
.mine-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mine-head strong { font-size: 15px; color: var(--ink); }
.mine-meta { font-size: 12.5px; color: var(--ink-40); margin: 6px 0 8px; line-height: 1.7; }
.mine-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mine-preview { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-60); cursor: pointer; }
.mine-preview input { accent-color: var(--sky-400); }

/* 店铺卡 */
.shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.shop-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.shop-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #c8d7e8; }
.shop-card.is-local { border-style: dashed; background: #fffdf8; }
.shop-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.shop-head h3 { font-size: 18px; margin: 0; line-height: 1.4; }
.shop-head h3 a { color: var(--ink); }
.shop-head h3 a:hover { color: var(--navy-500); }
.shop-seller { font-size: 13.5px; color: var(--ink-60); margin: 0 0 10px; }
.shop-stars { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.shop-stars .stars { color: var(--amber); font-size: 16px; letter-spacing: 2px; }
.shop-stars small { font-size: 12.5px; color: var(--ink-40); }
.shop-intro { font-size: 14px; color: var(--ink-60); line-height: 1.85; margin: 0 0 12px; }
.shop-scores { list-style: none; margin: 0 0 12px; padding: 12px 14px; background: var(--bg-alt); border-radius: var(--radius-sm); display: grid; gap: 7px; }
.shop-scores li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.score-name { color: var(--ink-60); flex: 1 1 auto; }
.score-value { font-variant-numeric: tabular-nums; color: var(--navy-800); font-size: 14px; }
.score-tag { font-style: normal; font-size: 11.5px; font-weight: 700; border-radius: 4px; padding: 1px 7px; }
.score-tag.is-high { background: #eef8f1; color: #1d6b45; }
.score-tag.is-low { background: #fdf3e6; color: #96591a; }
.shop-scores .shop-score-empty { color: var(--ink-40); font-size: 13px; }

/* 商品详情页的第三方卖家：购买区的「由谁发货」一行 + 侧栏卖家卡。 */
.seller-line { font-size: 13.5px; color: var(--ink-60); margin-top: 14px; }
.seller-line a { color: var(--navy-500); font-weight: 600; }
.seller-line a:hover { text-decoration: underline; }
.cart-seller { display: block; font-size: 12.5px; color: var(--ink-40); margin-top: 3px; }
.cart-seller a { color: var(--navy-500); }
.seller-note { font-size: 13px; color: var(--ink-40); margin: 4px 0 12px; }
.seller-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 8px; }
.seller-name { font-size: 16.5px; font-weight: 700; color: var(--navy-800); }
.seller-name:hover { color: var(--navy-500); text-decoration: underline; }
.seller-goods-caption { font-size: 12.5px; color: var(--ink-40); margin-bottom: 6px; }
.shop-meta, .shop-contact { font-size: 13px; color: var(--ink-40); margin: 0 0 6px; }
.shop-contact { color: var(--navy-700); font-weight: 600; }
.shop-goods { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.shop-goods-cap { font-size: 12.5px; color: var(--ink-40); }
.shop-goods a { font-size: 13.5px; color: var(--navy-700); }
.shop-goods a:hover { color: var(--amber-deep); text-decoration: underline; }
.shop-goods .shop-goods-empty { font-size: 13px; color: var(--ink-40); line-height: 1.7; }
.shop-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 16px; }
.shop-stat { font-size: 12.5px; color: var(--ink-40); }

/* 店铺详情头部 */
.shop-banner {
  display: grid; grid-template-columns: 1fr 330px; gap: 30px; background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--amber); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-bottom: 26px;
}
.shop-banner-main h2 { font-size: 26px; margin: 10px 0 8px; }
.shop-banner-side { border-left: 1px dashed var(--line); padding-left: 24px; }
.shop-banner-side .kv { grid-template-columns: 96px 1fr; }
.shop-banner-side .kv dt, .shop-banner-side .kv dd { padding: 9px 0; font-size: 13.5px; }

/* 站内小列表（店铺条目、个人中心摘要） */
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.mini-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-list a { font-size: 15px; color: var(--navy-700); }
.mini-list a:hover { color: var(--amber-deep); text-decoration: underline; }
.mini-list small { font-size: 12.5px; color: var(--ink-40); white-space: nowrap; }

/* 入驻指南 FAQ */
.faq { display: grid; gap: 16px; }
.faq-item {
  display: grid; grid-template-columns: 78px 1fr; gap: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px;
}
.faq-no {
  font-size: 30px; font-weight: 800; color: var(--sky-400); font-variant-numeric: tabular-nums;
  line-height: 1; letter-spacing: -1px;
}
.faq-item h2 { font-size: 18px; margin: 0 0 10px; }
.faq-item p { font-size: 15px; color: var(--ink-60); line-height: 1.9; margin: 0 0 10px; }

/* 招商标准正文 */
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 34px; }
.doc-title {
  font-size: 20px; color: var(--navy-800); margin: 30px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--sky-100);
}
.doc h2.doc-title:first-child { margin-top: 0; }
.doc h3 { font-size: 16px; color: var(--navy-700); margin: 20px 0 8px; }
.doc p { font-size: 15px; color: var(--ink-60); line-height: 1.9; margin: 0 0 10px; }
.doc .checklist { margin-top: 6px; }

@media (max-width: 1024px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-banner { grid-template-columns: 1fr; }
  .shop-banner-side { border-left: 0; border-top: 1px dashed var(--line); padding-left: 0; padding-top: 18px; }
  .apply-steps { grid-template-columns: repeat(3, 1fr); }
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .apply-steps { grid-template-columns: repeat(2, 1fr); }
  .apply-steps span { white-space: normal; }
  .faq-item { grid-template-columns: 1fr; gap: 8px; }
  .doc { padding: 22px 20px; }
  .sub-nav { border-radius: var(--radius); }
  .sub-nav a { padding: 7px 13px; font-size: 13.5px; }
  .shop-head { flex-direction: column; }
  .field-row { grid-template-columns: 1fr; }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 发布信息（2026-11-27 新增，结构参照 huachenwuliu.com 的发布页） ---------- */

/* 左表单右说明的两栏：右栏在桌面宽度吸顶，窄屏整体单列 */
.publish-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start; }
.publish-panel { padding: 26px 28px; }
.publish-side { display: grid; gap: 18px; position: sticky; top: 92px; }
.side-title { font-size: 16.5px; color: var(--navy-800); margin: 0 0 8px; }
.side-note { font-size: 13px; color: var(--ink-40); margin: 0 0 12px; line-height: 1.7; }
.side-list { margin: 0; padding-left: 18px; list-style: disc; }
.side-list li { font-size: 13.5px; color: var(--ink-60); line-height: 1.85; }

/* 封面配图选择器：只有站内图库的六张本地照片 + 一个「按分类自动配图」项 */
.cover-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 6px 0 4px; }
.cover-opt { position: relative; display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.cover-opt input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cover-thumb {
  display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: linear-gradient(160deg, #f2f7fc, #e6eff8);
}
.cover-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-auto { font-size: 12.5px; font-weight: 600; color: var(--navy-500); }
.cover-opt small { font-size: 12px; color: var(--ink-40); line-height: 1.4; }
.cover-opt:hover .cover-thumb { border-color: var(--sky-400); }
.cover-opt.is-on .cover-thumb { border-color: var(--amber-deep); box-shadow: 0 0 0 2px var(--amber-soft); }
.cover-opt.is-on small { color: var(--amber-deep); font-weight: 600; }
.cover-opt input:focus-visible + .cover-thumb { outline: 3px solid rgba(47, 143, 208, .35); outline-offset: 2px; }

/* 字数统计超限时标红，与 .err 同色系 */
.field .hint .over { color: #c0392b; font-weight: 700; }

/* 右侧的本机提交记录 */
.mine-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mine-list li { border: 1px dashed var(--line); border-radius: var(--radius-sm); background: var(--bg-alt); padding: 10px 12px; }
.mine-list small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-40); }
.mine-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.mine-head a { font-size: 14px; font-weight: 600; color: var(--navy-700); }
.mine-head a:hover { color: var(--amber-deep); text-decoration: underline; }
.mine-head small { display: inline; margin-top: 0; }
.mine-actions { margin-top: 6px; }
.mine-empty { background: none; border: 0; padding: 0; font-size: 13px; color: var(--ink-40); line-height: 1.7; }

/* 列表页里的本机条目：虚线边框 + 待审核标记，和站内固化条目区分开 */
.info-row.is-local { border-style: dashed; border-color: #e3a86a; background: #fffdf7; }
.info-row-pending { font-size: 12.5px; color: #7a4a00; background: var(--amber-soft); border: 1px dashed #e3a86a; border-radius: 999px; padding: 2px 9px; }
.info-row-budget { font-size: 13.5px; font-weight: 700; color: var(--amber-deep); font-variant-numeric: tabular-nums; }
.tag.pending { color: #7a4a00; background: var(--amber-soft); border: 1px dashed #e3a86a; }

/* 详情页封面：图片节点由 info-detail.js 用站内图库 id 生成，宽度跟随正文栏 */
.info-cover { margin: 0 0 20px; }
.info-cover img {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt);
}
.info-cover figcaption { margin-top: 8px; font-size: 12.5px; color: var(--ink-40); }

@media (max-width: 1024px) {
  .publish-grid { grid-template-columns: 1fr; }
  .publish-side { position: static; }
}

@media (max-width: 760px) {
  .publish-panel { padding: 20px 18px; }
  .cover-picker { grid-template-columns: repeat(2, 1fr); }
}
