/* ============ 杭州万维镜像科技有限公司 · 软件开发信息发布平台 ============ */
[hidden] { display: none !important; }
svg.i { width: 17px; height: 17px; flex: 0 0 auto; vertical-align: -3px; }

:root {
  --brand: #1d5aa8;
  --brand-dark: #16406f;
  --brand-deep: #0f2f54;
  --brand-soft: #eaf1fa;
  --brand-line: #c8d9ee;
  --accent: #c07f2a;
  --accent-soft: #faf3e6;
  --bg: #f4f6fa;
  --card: #ffffff;
  --line: #e3e8f0;
  --text: #1e2733;
  --muted: #66718a;
  --ok: #1a7f4b;
  --warn: #a86a00;
  --err: #b3352b;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 40, 70, .05), 0 8px 24px rgba(16, 40, 70, .06);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.65; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 页头 ---------- */
.site-head { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 26px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.logo-mark { width: 42px; height: 42px; flex-basis: 42px; }
.brand-txt { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
.brand-name { font-size: 16.5px; font-weight: 700; color: var(--brand-deep); letter-spacing: .5px; white-space: nowrap; }
.brand-sub { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted); letter-spacing: 2px; }
.brand-sub::before { content: ''; flex: 0 0 13px; width: 13px; height: 1px; background: currentColor; opacity: .5; }

.nav { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; min-width: 0; }
.nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 8px; color: #33415c; font-size: 14.5px; white-space: nowrap; }
.nav a:hover { background: var(--brand-soft); color: var(--brand-dark); text-decoration: none; }
.nav a.on { color: var(--brand); background: var(--brand-soft); font-weight: 600; }

.head-account { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.head-account .who { font-size: 13.5px; color: var(--muted); max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 9px; padding: 8px 16px; font-size: 14px; font-family: var(--font); cursor: pointer; transition: .15s; white-space: nowrap; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); text-decoration: none; }
.btn--ghost { background: #fff; border-color: var(--brand-line); color: var(--brand-dark); }
.btn--ghost:hover { background: var(--brand-soft); text-decoration: none; }
.btn--sm { padding: 5px 11px; font-size: 13px; border-radius: 7px; }
.btn--block { width: 100%; }
.btn--danger { background: #fff; border-color: #e5b7b2; color: var(--err); }
.btn--danger:hover { background: #fdf1f0; text-decoration: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.nav-toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; cursor: pointer; }
.site-head .nav-toggle { display: none; }
.only-mobile { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-dark) 55%, #1d5aa8 100%); color: #fff; }
.hero-bg { position: absolute; inset: 0; opacity: .16; pointer-events: none; }
.hero-in { position: relative; padding: 58px 20px 54px; max-width: 1200px; margin: 0 auto; }
.hero h1 { font-size: 32px; line-height: 1.35; letter-spacing: 1px; margin-bottom: 16px; }
.hero p { font-size: 15.5px; color: #d9e6f6; max-width: 760px; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.hero-cta .btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.hero-stats { display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats b { display: block; font-size: 22px; letter-spacing: .5px; }
.hero-stats span { font-size: 12.5px; color: #b9cfe8; letter-spacing: 1px; }

/* ---------- 区块 ---------- */
.section { padding: 40px 0 8px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.sec-head h2 { font-size: 21px; color: var(--brand-deep); letter-spacing: .5px; display: flex; align-items: center; gap: 9px; }
.sec-head .more { font-size: 13.5px; }
.sec-desc { color: var(--muted); font-size: 13.5px; margin-top: -10px; margin-bottom: 18px; }

/* ---------- 类目 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: .15s; color: var(--text); }
.cat-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow); text-decoration: none; transform: translateY(-2px); }
.cat-ico { width: 44px; height: 44px; border-radius: 11px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; }
.cat-ico svg { width: 24px; height: 24px; }
.cat-card b { font-size: 15.5px; color: var(--brand-deep); }
.cat-card span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ---------- 信息卡片 ---------- */
.lgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .15s; color: var(--text); }
.lcard:hover { border-color: var(--brand-line); box-shadow: var(--shadow); text-decoration: none; transform: translateY(-2px); }
.lcard__cover { position: relative; aspect-ratio: 2/1; background: #eef2f7; overflow: hidden; }
.lcard__cover img { width: 100%; height: 100%; object-fit: cover; }
.lcard__badge { position: absolute; left: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; background: rgba(15, 47, 84, .82); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.lcard__badge svg { width: 13px; height: 13px; }
.lcard__body { padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lcard__title { font-size: 15.5px; font-weight: 600; color: var(--brand-deep); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 47px; }
.lcard__sum { font-size: 13px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lcard__foot { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; margin-top: auto; }
.lcard__foot .r { display: inline-flex; align-items: center; gap: 5px; }
.lcard__foot svg { width: 13px; height: 13px; }
.lcard__meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.lcard__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #b6c0d4; }

.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); border: 1px solid var(--brand-line); }
.tag--ok { background: #edf7f1; color: var(--ok); border-color: #bfe3cf; }
.tag--warn { background: var(--accent-soft); color: var(--warn); border-color: #ecd9b8; }
.tag--err { background: #fdf0ef; color: var(--err); border-color: #ecc6c2; }
.tag--verified { background: #eef4fd; color: var(--brand-dark); border-color: var(--brand-line); }
.tag svg { width: 12px; height: 12px; }

/* ---------- 平台特点 / 流程 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.feat .cat-ico { margin-bottom: 12px; }
.feat b { display: block; font-size: 15px; color: var(--brand-deep); margin-bottom: 6px; }
.feat p { font-size: 13px; color: var(--muted); line-height: 1.7; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; position: relative; }
.step b { display: block; font-size: 15px; color: var(--brand-deep); margin: 10px 0 6px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.step__no { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }

/* ---------- 工具栏 / 列表页 ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0 22px; }
.page-head h1 { font-size: 23px; color: var(--brand-deep); letter-spacing: .5px; }
.page-head p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 18px 0 20px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 13.5px; color: #33415c; cursor: pointer; }
.chip:hover { border-color: var(--brand-line); text-decoration: none; }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip svg { width: 14px; height: 14px; }

.searchbar { display: flex; gap: 8px; flex: 1 1 320px; min-width: 0; }
.searchbar input { flex: 1 1 auto; min-width: 0; }
.searchbar select { flex: 0 0 auto; width: auto; }

input[type=text], input[type=password], input[type=search], input[type=tel], select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; font-size: 14px;
  font-family: var(--font); background: #fff; color: var(--text); transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29, 90, 168, .12); }
textarea { resize: vertical; line-height: 1.7; }
label.fld { display: block; }
label.fld > span { display: block; font-size: 13.5px; color: #33415c; margin-bottom: 6px; font-weight: 500; }
label.fld .req { color: var(--err); margin-left: 2px; }
.fld-hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.fld-err { font-size: 12.5px; color: var(--err); margin-top: 5px; min-height: 18px; }

.empty { background: #fff; border: 1px dashed var(--brand-line); border-radius: var(--radius); padding: 46px 20px; text-align: center; color: var(--muted); }
.empty svg { width: 40px; height: 40px; margin: 0 auto 12px; opacity: .5; }

.pager { display: flex; justify-content: center; gap: 8px; margin: 26px 0 10px; }
.pager a, .pager span { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; color: #33415c; padding: 0 10px; }
.pager a:hover { border-color: var(--brand-line); text-decoration: none; }
.pager .cur { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 详情页 ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.detail-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.detail-cover { aspect-ratio: 2/1; background: #eef2f7; }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: 24px 28px 28px; }
.detail-body h1 { font-size: 21px; line-height: 1.5; color: var(--brand-deep); margin-bottom: 12px; }
.detail-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.detail-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 18px; }
.detail-meta .r { display: inline-flex; align-items: center; gap: 5px; }
.detail-meta svg { width: 14px; height: 14px; }
.detail-content p { font-size: 14.5px; line-height: 1.9; color: #2a3444; margin-bottom: 14px; text-align: justify; }

.status-bar { border-radius: 9px; padding: 11px 16px; font-size: 13.5px; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.status-bar svg { width: 15px; height: 15px; }
.status-bar--pending { background: var(--accent-soft); color: var(--warn); border: 1px solid #ecd9b8; }
.status-bar--rejected { background: #fdf0ef; color: var(--err); border: 1px solid #ecc6c2; }

.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.side-card h3 { font-size: 15.5px; color: var(--brand-deep); margin-bottom: 14px; display: flex; align-items: center; gap: 7px; }
.side-card h3 svg { width: 16px; height: 16px; }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.contact-row:last-child { border-bottom: 0; }
.contact-row .k { color: var(--muted); flex: 0 0 auto; }
.contact-row .v { text-align: right; min-width: 0; word-break: break-all; }
.contact-phone { font-size: 19px; font-weight: 700; color: var(--brand-dark); letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.contact-lock { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.contact-lock svg { width: 14px; height: 14px; }

/* ---------- 表单页（登录/注册/发布） ---------- */
.form-page { max-width: 520px; margin: 36px auto; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-card.wide { max-width: 760px; margin: 36px auto; }
.form-card h1 { font-size: 20px; color: var(--brand-deep); margin-bottom: 6px; }
.form-card .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.agree { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #33415c; line-height: 1.6; }
.agree input { width: 16px; height: 16px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--brand); }
.form-alt { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.form-note { font-size: 12.5px; color: var(--muted); background: var(--bg); border-radius: 8px; padding: 10px 14px; line-height: 1.7; }

.msg { border-radius: 9px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; display: none; }
.msg--err { background: #fdf0ef; color: var(--err); border: 1px solid #ecc6c2; display: block; }
.msg--ok { background: #edf7f1; color: var(--ok); border: 1px solid #bfe3cf; display: block; }

/* ---------- 充值 ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.plan--hot { border-color: var(--brand); box-shadow: var(--shadow); }
.plan__flag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; padding: 2px 12px; border-radius: 999px; letter-spacing: 1px; }
.plan h3 { font-size: 16px; color: var(--brand-deep); }
.plan__price { display: flex; align-items: baseline; gap: 4px; }
.plan__price b { font-size: 30px; color: var(--brand-dark); font-variant-numeric: tabular-nums; }
.plan__price span { font-size: 13px; color: var(--muted); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: #33415c; }
.plan li { display: flex; gap: 7px; align-items: flex-start; }
.plan li svg { width: 14px; height: 14px; margin-top: 4px; color: var(--ok); flex: 0 0 auto; }
.plan .btn { margin-top: auto; }

.quota-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.quota-bar .q { display: flex; flex-direction: column; gap: 2px; }
.quota-bar .q b { font-size: 19px; color: var(--brand-dark); font-variant-numeric: tabular-nums; }
.quota-bar .q span { font-size: 12.5px; color: var(--muted); }

/* ---------- 协议/须知 正文页 ---------- */
.doc-page { max-width: 860px; margin: 32px auto 48px; }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 44px; }
.doc-card h1 { font-size: 23px; color: var(--brand-deep); margin-bottom: 4px; }
.doc-card .doc-sub { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.doc-card h2 { font-size: 16.5px; color: var(--brand-deep); margin: 26px 0 10px; padding-left: 11px; border-left: 3px solid var(--brand); }
.doc-card p { font-size: 14px; color: #2a3444; margin-bottom: 10px; line-height: 1.9; text-align: justify; }
.doc-card ul, .doc-card ol { margin: 0 0 12px 20px; font-size: 14px; color: #2a3444; line-height: 1.9; }
.doc-card li { margin-bottom: 4px; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.about-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; }
.about-main h2 { font-size: 18px; color: var(--brand-deep); margin: 22px 0 10px; }
.about-main h2:first-child { margin-top: 0; }
.about-main p { font-size: 14px; color: #2a3444; line-height: 1.95; margin-bottom: 10px; text-align: justify; }

/* ---------- 个人中心 ---------- */
.user-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: start; }
.side-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.side-nav a { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 8px; color: #33415c; font-size: 14px; }
.side-nav a svg { width: 16px; height: 16px; }
.side-nav a:hover { background: var(--bg); text-decoration: none; }
.side-nav a.on { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.user-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.user-panel h2 { font-size: 18px; color: var(--brand-deep); margin-bottom: 16px; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 12px; margin-bottom: 22px; }
.stat { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.stat b { display: block; font-size: 22px; color: var(--brand-dark); font-variant-numeric: tabular-nums; }
.stat span { font-size: 12.5px; color: var(--muted); }

.kv { display: flex; flex-direction: column; gap: 0; }
.kv .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.kv .row:last-child { border-bottom: 0; }
.kv .k { color: var(--muted); flex: 0 0 auto; }
.kv .v { text-align: right; min-width: 0; }

/* ---------- 后台 ---------- */
.adm { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 22px; align-items: start; padding: 24px 0 48px; }
.adm > * { min-width: 0; }
.adm-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; min-width: 0; }
.adm-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; flex-wrap: wrap; }
.adm-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 9px 14px; font-size: 14px; font-family: var(--font); color: #33415c; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.adm-tabs button svg { width: 15px; height: 15px; }
.adm-tabs button:hover { color: var(--brand-dark); }
.adm-tabs button.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.adm-tabs .cnt { background: var(--accent-soft); color: var(--warn); border-radius: 999px; font-size: 11.5px; padding: 0 7px; line-height: 18px; }

.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 880px; }
table.data th { text-align: left; background: var(--bg); color: #33415c; font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data th:first-child { min-width: 168px; }
table.data .title-cell b { display: block; color: var(--brand-deep); font-weight: 600; line-height: 1.5; }
table.data .title-cell span { color: var(--muted); font-size: 12.5px; }
.row-actions { display: flex; gap: 6px; flex-wrap: nowrap; }
.drawer-row td { background: #f8fafd; padding: 16px 18px; }
.drawer-box { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 13.5px; }
.drawer-box .full { grid-column: 1 / -1; }
.drawer-box h4 { font-size: 13.5px; color: var(--brand-deep); margin-bottom: 6px; }
.drawer-box p { color: #2a3444; line-height: 1.75; }
.reject-box { margin-top: 10px; display: flex; gap: 8px; }
.reject-box input { flex: 1; }

.docs { display: flex; flex-direction: column; gap: 12px; }
.doc { width: 100%; max-width: 300px; aspect-ratio: 1.58; border: 1px solid var(--brand-line); border-radius: 10px; overflow: hidden; background: #f4f7fa; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.doc img { width: 100%; height: 100%; object-fit: contain; background: #fff; display: block; }
.docs--sm { flex-direction: row; flex-wrap: nowrap; gap: 8px; }
.docs--sm .doc { width: 78px; height: 50px; aspect-ratio: auto; border-radius: 8px; }
.doc__ph { font-size: 12px; color: var(--muted); text-align: center; padding: 8px; }
.doc--empty { border-style: dashed; }

.lightbox { position: fixed; inset: 0; background: rgba(10, 25, 45, .82); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 30px; }
.lightbox img { max-width: 92vw; max-height: 88vh; background: #fff; border-radius: 10px; }

/* ---------- 页脚 ---------- */
.site-foot { background: var(--brand-deep); color: #c6d6ea; margin-top: 46px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 38px 0 26px; }
.foot-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.foot-brand .logo-mark { width: 38px; height: 38px; flex-basis: 38px; }
.foot-brand b { color: #fff; font-size: 15.5px; letter-spacing: .5px; }
.site-foot p { font-size: 13px; line-height: 1.9; }
.site-foot h4 { color: #fff; font-size: 14px; margin-bottom: 12px; letter-spacing: 1px; }
.foot-list { list-style: none; }
.foot-list li { margin-bottom: 8px; }
.foot-list a, .foot-list span { color: #c6d6ea; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.foot-list a:hover { color: #fff; }
.foot-list svg { width: 14px; height: 14px; opacity: .8; }
.foot-bar { border-top: 1px solid rgba(255, 255, 255, .13); padding: 16px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #9db4cf; }
.foot-bar a { color: #c6d6ea; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%); background: var(--brand-deep); color: #fff; border-radius: 10px; padding: 11px 22px; font-size: 14px; z-index: 300; box-shadow: 0 10px 30px rgba(10, 30, 60, .3); opacity: 0; transition: .25s; pointer-events: none; max-width: 86vw; }
.toast.show { opacity: 1; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .lgrid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid, .feat-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .site-head .nav { display: none; }
  .site-head .nav.open { display: flex; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-head .nav.open a { padding: 12px 14px; }
  .site-head .nav-toggle { display: inline-flex; }
  .site-head .head-account { display: none; }
  .only-mobile { display: block; }
  .detail-grid, .about-grid, .user-grid { grid-template-columns: minmax(0, 1fr); }
  .adm { grid-template-columns: minmax(0, 1fr); }
  .adm .side-nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .adm .side-nav a { flex: 1 1 auto; }
  .foot-in { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 680px) {
  .hero-in { padding: 40px 20px 42px; }
  .hero h1 { font-size: 24px; }
  .hero-stats { gap: 22px; }
  .lgrid, .cat-grid, .feat-grid, .steps, .plan-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .searchbar { flex: 1 1 100%; flex-wrap: wrap; }
  .searchbar input { flex: 1 1 100%; }
  .searchbar select { flex: 1 1 45%; }
  .doc-card { padding: 24px 20px; }
  .brand-name { font-size: 15px; }
  .logo-mark { width: 36px; height: 36px; flex-basis: 36px; }
  .brand-sub { font-size: 10px; letter-spacing: 1px; gap: 5px; }
  .brand-sub::before { flex-basis: 10px; width: 10px; }
  .detail-body { padding: 18px 16px 20px; }
  .drawer-box { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
}
