/* =========================================================
 * style.css —— 绿证交易小程序 H5 原型视觉规范
 * 设计基准：375~480px 移动视口，主蓝 #2E6BE6
 * ========================================================= */
:root {
  --blue: #2E6BE6;
  --blue-d: #2459C4;
  --blue-l: #EAF1FE;
  --bg: #F5F7FB;
  --card: #FFFFFF;
  --line: #E7EBF2;
  --t1: #1F2937;
  --t2: #5B6472;
  --t3: #8A94A6;
  --t4: #B6BDC9;
  --green: #22C55E;
  --green-d: #16A34A;
  --green-l: #E7F6EC;
  --red: #EF4444;
  --red-l: #FDECEC;
  --purple: #8B5CF6;
  --purple-l: #F3EEFD;
  --yellow: #D97706;
  --yellow-l: #FDF6E3;
  --orange: #F59E0B;
  --orange-l: #FEF3E2;
  --safe: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }
body {
  background: #E9EDF3;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--t1);
  -webkit-font-smoothing: antialiased;
}
.ic { width: 20px; height: 20px; flex: none; }

/* ---------- 应用外壳 ---------- */
.app {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100vw, 480px);
  height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 24px rgba(31, 45, 61, .12);
  overflow: hidden;
}
.pages { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
.page { display: none; min-height: 100%; padding-bottom: 8px; }
.page.active { display: block; }

/* ---------- 状态栏 / 导航栏 ---------- */
.statusbar {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--blue); color: #fff;
  padding: 10px 18px 6px; font-size: 14px; font-weight: 600;
}
.sb-ic { display: flex; align-items: center; gap: 5px; }
.sb-ic .ic { width: 17px; height: 16px; }
.navbar { position: relative; display: flex; align-items: center; background: var(--blue); color: #fff; height: 44px; padding: 0 12px; }
.nav-back { border: 0; background: none; color: #fff; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.nav-back .ic { width: 20px; height: 20px; }
.nav-title {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 17px; font-weight: 600; max-width: 58%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-capsule {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 10px; color: #fff;
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 15px;
  background: rgba(255, 255, 255, .12);
}
.cap-dots .ic, .cap-target .ic { width: 16px; height: 16px; }
.cap-sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .5); }

/* ---------- 屏1 首页 ---------- */
.home-hero {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 26px 16px;
  background: linear-gradient(180deg, #E9F1FE 0%, #F5F7FB 100%);
}
.hero-avatar {
  width: 72px; height: 72px; border-radius: 50%; color: #fff;
  background: radial-gradient(circle at 35% 30%, #B7E08A, #5FA463 60%, #3E7A4C);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(62, 122, 76, .35);
}
.hero-avatar .ic { width: 38px; height: 38px; }
.hero-title { font-size: 16px; font-weight: 500; color: var(--t1); }

.home-cards { padding: 0 12px; }
.func-card {
  background: var(--card); border-radius: 10px; padding: 16px; margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(31, 45, 61, .05); cursor: pointer;
}
.fc-head { display: flex; align-items: center; gap: 12px; }
.fc-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.fc-icon .ic { width: 22px; height: 22px; }
.bg-blue { background: var(--blue-l); color: var(--blue); }
.bg-green { background: var(--green-l); color: var(--green-d); }
.bg-purple { background: var(--purple-l); color: var(--purple); }
.bg-orange { background: var(--orange-l); color: var(--orange); }
.fc-titles { flex: 1; }
.fc-titles h3 { font-size: 16px; font-weight: 700; color: var(--t1); }
.fc-titles p { font-size: 12px; color: var(--t3); margin-top: 5px; }
.fc-arrow { width: 16px; height: 16px; color: var(--t4); }
.fc-subs { display: flex; margin-top: 16px; }
.fc-sub { flex: 1; display: flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; font-size: 13px; color: #4B5563; }
.fc-sub .ic { width: 16px; height: 16px; }
.c-green { color: var(--green); }
.c-blue { color: var(--blue); }
.c-red { color: var(--red); }
.c-gray { color: #A8B0BD; }

.notice { margin: 4px 12px 16px; background: var(--blue-l); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.notice-head { display: flex; align-items: center; gap: 6px; }
.notice-head .ic { width: 16px; height: 16px; }
.notice-title { flex: 1; font-size: 14px; font-weight: 600; color: var(--blue); }
.notice-head time { font-size: 12px; color: var(--t3); }
.notice-body { font-size: 13px; color: #3566D6; line-height: 1.7; margin-top: 8px; }
.notice.collapsed .notice-body { display: none; }

/* ---------- 步骤条 ---------- */
.steps { display: flex; align-items: center; gap: 8px; background: var(--card); padding: 12px 16px; }
.step { border: 0; background: none; padding: 0; font-size: 13px; color: var(--t4); }
.step.on { color: var(--blue); font-weight: 600; }
.step-sep { color: var(--t4); font-size: 13px; }

/* ---------- 视图切换 ---------- */
.collect-view, .declare-view, .obj-view { display: none; }
.collect-view.on, .declare-view.on, .obj-view.on { display: block; }

/* ---------- 通用区块 ---------- */
.sec-head { padding: 16px 16px 10px; }
.sec-head.mt { margin-top: 8px; }
.sec-head h2 { font-size: 17px; font-weight: 700; color: var(--t1); }
.sec-head p { font-size: 12px; color: var(--t3); margin-top: 6px; }
.info-card { background: var(--card); border-radius: 10px; margin: 0 12px 12px; padding: 16px; }
.card-title { font-size: 15px; font-weight: 600; color: var(--blue); margin-bottom: 4px; }
.card-title.dark { color: var(--t1); }

.kv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.kv-grid .lb { font-size: 12px; color: var(--t3); margin-bottom: 5px; }
.kv-grid .vl { font-size: 13px; color: var(--t1); background: var(--bg); border-radius: 4px; padding: 9px 10px; line-height: 1.5; }
.kv-grid.plain .vl { background: none; padding: 0; font-size: 14px; }

/* ---------- 表单 ---------- */
.form-row { margin-top: 6px; }
.form-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 14px 0 8px; }
.form-label label { font-size: 14px; font-weight: 500; color: var(--t1); }
.form-label label i { font-style: normal; color: var(--red); margin-left: 2px; }
.hint { font-size: 12px; color: var(--t4); text-align: right; }
.input {
  width: 100%; height: 40px; border: 1px solid #DDE3EC; border-radius: 4px;
  padding: 0 12px; font-size: 14px; color: var(--t1); background: #fff;
}
.input:focus { outline: none; border-color: var(--blue); }
button.input { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; }
button.input > span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.textarea { height: 110px; padding: 10px 12px; resize: none; line-height: 1.7; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.col-label { display: block; font-size: 12px; color: var(--t3); margin-bottom: 6px; }

/* ---------- 按钮 / 底部操作条 ---------- */
.page-footer {
  position: sticky; bottom: 0; z-index: 5;
  display: flex; gap: 12px; padding: 10px 16px calc(10px + var(--safe));
  background: var(--bg);
}
.btn {
  flex: 1; height: 44px; border: 0; border-radius: 6px; font-size: 15px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn:active { opacity: .85; }
.btn.ghost { background: #EDEFF3; color: #4B5563; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.mini { flex: none; height: 32px; padding: 0 16px; font-size: 13px; border-radius: 4px; }
.btn.mini .ic { width: 15px; height: 15px; }

/* ---------- 屏2 资料清单 ---------- */
.mat-card { background: var(--card); border-radius: 10px; margin: 0 12px 10px; overflow: hidden; }
.mat-card.editing { background: var(--blue-l); }
.mat-head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; border: 0; background: none; text-align: left; }
.mat-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-l); color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.mat-icon .ic { width: 17px; height: 17px; }
.mat-card.editing .mat-icon { background: #fff; }
.mat-head h3 { flex: 1; font-size: 15px; font-weight: 600; color: var(--t1); }
.mat-state { display: flex; color: var(--green); }
.mat-state .ic { width: 22px; height: 22px; }
.mat-state.pending { color: var(--blue); }
.mat-state.pending .ic { width: 17px; height: 17px; }
.mat-body { padding: 0 16px 16px; }
.mat-field { margin-bottom: 10px; }
.mat-field .lb, .mat-form .lb { font-size: 12px; color: var(--t3); margin-bottom: 4px; }
.mat-field .vl { font-size: 14px; color: var(--t1); }
.mat-preview { position: relative; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 14px 12px; margin-top: 4px; }
.pv-title { color: #E5484D; font-size: 13px; font-weight: 700; text-align: center; margin-bottom: 8px; }
.pv-line { font-size: 10px; color: #6B7280; text-align: center; line-height: 1.8; }
.pv-badge {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  width: 34px; height: 34px; border-radius: 6px; color: #fff;
  background: rgba(120, 130, 145, .85);
  display: flex; align-items: center; justify-content: center;
}
.pv-badge .ic { width: 17px; height: 17px; }
.mat-file { text-align: center; font-size: 12px; color: var(--t4); margin-top: 10px; }
.mat-form .row { margin-bottom: 10px; }

.pledge-card { background: var(--card); border-radius: 10px; margin: 0 12px; padding: 16px; }
.pledge-doc { border: 1px solid var(--line); border-radius: 6px; padding: 14px; }
.pledge-doc h4 { text-align: center; font-size: 14px; margin-bottom: 8px; }
.pledge-doc p { font-size: 12px; color: var(--t2); line-height: 1.8; }
.pledge-agree { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--t2); }
.pledge-agree input { display: none; }
.cbx { width: 16px; height: 16px; border: 1.5px solid #C9D0DA; border-radius: 3px; flex: none; position: relative; }
.pledge-agree input:checked + .cbx { background: var(--blue); border-color: var(--blue); }
.pledge-agree input:checked + .cbx::after {
  content: ''; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.success-box { padding: 60px 40px; text-align: center; }
.s-icon { width: 56px; height: 56px; }
.success-box h2 { font-size: 17px; margin-top: 16px; }
.success-box p { font-size: 13px; color: var(--t3); line-height: 1.7; margin: 10px 0 24px; }
.success-box .btn { max-width: 220px; margin: 0 auto; }

/* ---------- 屏3 申报 ---------- */
.proj-card {
  display: flex; align-items: center; gap: 10px; width: calc(100% - 24px);
  margin: 0 12px 10px; padding: 14px 16px; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; color: var(--t1); line-height: 1.5;
}
.proj-card.selected { border-color: var(--blue); background: var(--blue-l); color: var(--blue); }
.radio { width: 18px; height: 18px; border: 1.5px solid #C9D0DA; border-radius: 50%; background: #fff; flex: none; position: relative; }
.selected > .radio { border-color: var(--blue); }
.selected > .radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--blue); }

.upload-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.red-note { font-size: 12px; color: var(--red); line-height: 1.5; }
.upload-thumb { position: relative; height: 96px; border-radius: 6px; margin-top: 8px; background: linear-gradient(120deg, #F7B267 0%, #E97B5A 45%, #5A4A63 100%); }
.pdf-badge { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 5px; background: #E5484D; color: #fff; display: flex; align-items: center; justify-content: center; }
.pdf-badge .ic { width: 15px; height: 15px; }
.upload-name { text-align: center; font-size: 13px; margin-top: 10px; }
.upload-size { text-align: center; font-size: 12px; color: var(--t4); margin-top: 4px; }
.upload-ops { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }

/* ---------- 屏4 交易管理 ---------- */
.company-card { background: var(--card); border-radius: 10px; margin: 12px; padding: 16px; }
.cc-top { display: flex; align-items: center; gap: 10px; }
.cc-logo { color: var(--t1); flex: none; }
.cc-logo .ic { width: 52px; height: 52px; }
.cc-top h3 { flex: 1; font-size: 16px; font-weight: 700; line-height: 1.35; }
.badge-green { flex: none; background: var(--green-l); color: var(--green-d); font-size: 11px; padding: 3px 8px; border-radius: 4px; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px; }
.stat { position: relative; border-radius: 8px; padding: 12px 14px; }
.stat .lb { font-size: 12px; color: #4B5563; }
.stat .vl { font-size: 24px; font-weight: 700; margin-top: 6px; }
.stat .up { position: absolute; right: 12px; bottom: 12px; width: 16px; height: 16px; }
.stat.blue { background: var(--blue-l); }   .stat.blue .vl, .stat.blue .up { color: var(--blue); }
.stat.purple { background: var(--purple-l); } .stat.purple .vl, .stat.purple .up { color: var(--purple); }
.stat.green { background: var(--green-l); }  .stat.green .vl, .stat.green .up { color: var(--green-d); }
.stat.yellow { background: var(--yellow-l); } .stat.yellow .vl, .stat.yellow .up { color: var(--yellow); }

.table-card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; margin: 0 12px; overflow: hidden; }
.t-head, .t-row { display: grid; grid-template-columns: 1.6fr 1fr .8fr; gap: 8px; padding: 10px 12px; align-items: start; }
.t-head { background: var(--bg); font-size: 12px; font-weight: 600; color: var(--t2); }
.t-row { border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; }
.t-row .c2, .t-row .c3 { color: var(--t2); }
.t-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 10px 12px; font-size: 12px; color: var(--t2); }
.pager { display: flex; gap: 6px; }
.pg-btn { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--t4); font-size: 14px; }
.pg-btn.cur { background: var(--blue); border-color: var(--blue); color: #fff; }
.pg-btn:disabled { opacity: .45; cursor: not-allowed; }

.detail-bar { background: var(--card); margin-top: 10px; padding: 8px 0 calc(8px + var(--safe)); text-align: center; }
.detail-link { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--blue); font-size: 14px; }
.detail-link .ic { width: 15px; height: 15px; }

/* ---------- 屏5 异议 ---------- */
.obj-tabs { display: flex; background: var(--card); }
.obj-tab { position: relative; flex: 1; height: 44px; border: 0; background: none; font-size: 15px; color: var(--t2); }
.obj-tab.active { color: var(--blue); font-weight: 600; }
.obj-tab.active::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 28px; height: 3px; border-radius: 2px; background: var(--blue); }
.obj-desc { padding: 12px 16px; font-size: 12px; color: var(--t3); line-height: 1.7; }
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.type-card { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 12px 8px; font-size: 13px; color: var(--t2); }
.type-card.selected { border-color: var(--blue); background: var(--blue-l); color: var(--blue); }

.rec-card { background: var(--card); border-radius: 10px; margin: 0 12px 10px; padding: 14px 16px; }
.rec-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rec-title { font-size: 14px; font-weight: 600; }
.rec-status { flex: none; font-size: 11px; padding: 3px 8px; border-radius: 4px; background: var(--yellow-l); color: var(--yellow); }
.rec-status.done { background: var(--green-l); color: var(--green-d); }
.rec-meta { font-size: 12px; color: var(--t4); margin-top: 6px; }
.rec-reply { font-size: 12px; color: var(--t2); line-height: 1.7; background: var(--bg); border-radius: 6px; padding: 10px; margin-top: 10px; }

/* ---------- 屏6 上架分配 ---------- */
.crumb { display: flex; align-items: center; gap: 6px; background: var(--card); padding: 12px 16px; font-size: 12px; color: var(--t2); }
.crumb-link { border: 0; background: none; font-size: 12px; color: var(--t2); }
.crumb-sep { color: var(--t4); }
.crumb-cur { color: var(--blue); }
.mode-toggle { display: flex; gap: 10px; padding: 14px 16px 0; }
.mode-btn { flex: 1; height: 40px; border: 0; border-radius: 6px; background: #EDEFF3; color: #4B5563; font-size: 14px; }
.mode-btn.active { background: var(--blue); color: #fff; font-weight: 600; }
.total-row { display: flex; align-items: center; gap: 10px; padding: 14px 16px 0; font-size: 14px; }
.total-row .input { flex: 1; }
.alloc-warn { display: flex; align-items: center; gap: 6px; padding: 10px 16px; font-size: 12px; color: var(--red); }
.alloc-warn .ic { width: 15px; height: 15px; }
.alloc-warn.ok { color: var(--green-d); }
.alloc-table { background: var(--card); border: 1px solid var(--line); border-radius: 6px; margin: 0 12px; overflow: hidden; }
.a-head, .a-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 10px; padding: 12px; align-items: center; }
.a-head { background: var(--bg); font-size: 12px; color: var(--t2); text-align: center; }
.a-row { border-top: 1px solid var(--line); }
.a-name { border: 1px solid var(--line); border-radius: 4px; padding: 12px 10px; font-size: 13px; line-height: 1.5; }
.a-input { height: 38px; }
.add-platform { display: flex; align-items: center; gap: 6px; width: 100%; border: 0; border-top: 1px solid var(--line); background: none; color: var(--blue); font-size: 13px; padding: 12px 16px; }
.add-platform .ic { width: 14px; height: 14px; }

/* ---------- TabBar ---------- */
.tabbar { display: flex; background: var(--card); border-top: 1px solid var(--line); padding: 6px 0 calc(6px + var(--safe)); }
.tabbar.hidden { display: none; }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: none; color: #9AA3B2; font-size: 10px; }
.tab .ic { width: 22px; height: 22px; }
.tab.active { color: var(--blue); }

/* ---------- 弹层 ---------- */
.mask { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .45); display: flex; align-items: flex-end; justify-content: center; }
.mask[hidden] { display: none; }
.sheet { width: min(100vw, 480px); max-height: 70%; overflow: auto; background: #fff; border-radius: 12px 12px 0 0; padding: 16px 16px calc(16px + var(--safe)); }
.sheet[hidden] { display: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.sheet-nav { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--t2); font-size: 16px; }
.month-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mk-cell { height: 38px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 13px; color: var(--t1); }
.mk-cell.selected { border-color: var(--blue); background: var(--blue-l); color: var(--blue); font-weight: 600; }
.sheet-cancel { width: 100%; height: 42px; margin-top: 14px; border: 0; border-radius: 6px; background: #EDEFF3; color: #4B5563; font-size: 14px; }
.sheet-title { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.sl-item { display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 8px; padding: 12px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; color: var(--t1); line-height: 1.5; }
.sl-item.selected { border-color: var(--blue); background: var(--blue-l); color: var(--blue); }
.sheet.preview { align-self: center; width: calc(min(100vw, 480px) - 48px); border-radius: 12px; }
.preview-doc { border: 1px solid var(--line); border-radius: 6px; padding: 18px; }
.preview-doc h4 { color: #E5484D; text-align: center; font-size: 15px; margin-bottom: 12px; }
.preview-doc p { font-size: 12px; color: var(--t2); line-height: 2; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 99; max-width: 70%; background: rgba(0, 0, 0, .78); color: #fff; font-size: 13px; padding: 10px 16px; border-radius: 6px; text-align: center; }
.toast[hidden] { display: none; }

/* ========== 屏 5 绿证台账详情样式 ==========
.detail-header { display: flex; justify-content: space-between; align-items: center; margin: 12px; }

/* ---------- 提交状态标签 ---------- */
.tag { font-size: 11px; padding: 2px 8px; border-radius: 4px; flex: none; }
.tag.pending { background: #EDEFF3; color: #8A94A6; }
.tag.done { background: var(--green-l); color: var(--green-d); }
.mat-chev { width: 14px; height: 14px; color: var(--t4); transition: transform .2s ease; }
.mat-head.open .mat-chev { transform: rotate(180deg); }

/* ---------- 上传区 / 进度条 / 文件 chip ---------- */
.upload-zone {
  display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%;
  border: 1px dashed #C9D4E4; border-radius: 8px; background: #FAFBFD;
  padding: 20px 12px; font-size: 13px; color: var(--t3);
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.upload-zone .ic { width: 26px; height: 26px; color: var(--blue); }
.upload-zone small { font-size: 11px; color: var(--t4); }
.upload-zone:hover { border-color: var(--blue); background: var(--blue-l); color: var(--blue); }
.uz-hint { text-align: center; font-size: 12px; color: var(--t4); margin-top: 8px; }
.link-btn { border: 0; background: none; color: var(--blue); font-size: 12px; padding: 0; text-decoration: underline; }
.link-btn:hover { color: var(--blue-d); }
.progress { height: 6px; border-radius: 3px; background: #EDEFF3; margin: 12px 0; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 3px; transition: width .12s linear; }
.file-chip { display: flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 6px; padding: 10px 12px; font-size: 13px; }
.file-chip .ic { width: 18px; height: 18px; color: var(--blue); }
.file-chip .fc-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip .fc-size { color: var(--t4); font-size: 12px; }
.card-ops { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }

/* ---------- 提交记录横幅 ---------- */
.record-banner { margin: 12px; border-radius: 10px; background: var(--yellow-l); padding: 12px 14px; }
.rb-head { display: flex; align-items: center; gap: 8px; }
.rb-title { font-size: 14px; font-weight: 600; color: var(--yellow); }
.rb-meta { font-size: 12px; color: var(--t2); margin-top: 6px; }
.rb-meta b { font-weight: 500; }
.rb-reset { display: block; border: 0; background: none; color: var(--blue); font-size: 12px; padding: 0; margin-top: 8px; text-decoration: underline; }
.rb-reset:hover { color: var(--blue-d); }

/* ---------- 提交信息行 / 审核时间轴 ---------- */
.si-rows .si-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.si-rows .si-row:last-child { border-bottom: 0; }
.si-rows .lb { color: var(--t3); flex: none; }
.si-rows .vl { color: var(--t1); text-align: right; }
.tl-title { margin-top: 14px; }
.timeline { margin-top: 10px; }
.tl-item { position: relative; display: flex; gap: 10px; padding-bottom: 18px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: 5px; top: 16px; bottom: 0; width: 1px; background: var(--line); }
.tl-item:last-child::before { display: none; }
.tl-dot { position: relative; z-index: 1; width: 11px; height: 11px; border-radius: 50%; background: var(--t4); margin-top: 4px; flex: none; }
.tl-item.done .tl-dot { background: var(--green); }
.tl-item.current .tl-dot { background: var(--blue); box-shadow: 0 0 0 3px var(--blue-l); }
.tl-body .tl-t { font-size: 13px; font-weight: 600; color: var(--t1); }
.tl-item.wait .tl-body .tl-t { font-weight: 400; color: var(--t4); }
.tl-body .tl-d { font-size: 12px; color: var(--t3); margin-top: 2px; }

/* ---------- 提交确认弹层 ---------- */
.cf-list .cf-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.cf-list .cf-row:last-child { border-bottom: 0; }
.cf-ops { display: flex; gap: 12px; margin-top: 14px; }

/* ---------- 占位灰字 ---------- */
.ph { color: var(--t4); }

/* ---------- 悬停微动效（桌面预览增强交互感） ---------- */
button, .func-card, .notice, .input { transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .15s ease; }
.func-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(31, 45, 61, .10); }
.func-card:active { transform: translateY(0); }
.fc-sub:hover { color: var(--blue); }
.fc-sub .ic { transition: transform .18s ease; }
.fc-sub:hover .ic { transform: scale(1.18); }
.notice:hover { box-shadow: 0 4px 12px rgba(46, 107, 230, .12); }
.btn.primary:hover { background: var(--blue-d); box-shadow: 0 4px 12px rgba(46, 107, 230, .35); }
.btn.ghost:hover { background: #E2E5EA; }
.btn:active { transform: scale(.97); }
.btn.mini:hover { background: #E2E5EA; }
.mat-head:hover { background: rgba(46, 107, 230, .05); }
.mat-card.editing .mat-head:hover { background: rgba(46, 107, 230, .08); }
.step:hover { color: var(--blue); }
.tab:hover { color: var(--blue); }
.obj-tab:hover { color: var(--blue); }
.type-card:hover { border-color: var(--blue); color: var(--blue); }
.proj-card:hover { border-color: var(--blue); }
.sl-item:hover { border-color: var(--blue); }
.mk-cell:hover { border-color: var(--blue); color: var(--blue); }
.pg-btn:hover:not(:disabled):not(.cur) { border-color: var(--blue); color: var(--blue); }
.nav-back:hover { background: rgba(255, 255, 255, .15); border-radius: 50%; }
.nav-capsule:hover { background: rgba(255, 255, 255, .25); }
.detail-link:hover { text-decoration: underline; }
.add-platform:hover { background: var(--blue-l); }
.mode-btn:not(.active):hover { background: #E2E5EA; }
.crumb-link:hover { color: var(--blue); }
.input:hover { border-color: #C6D2E4; }
.sheet-cancel:hover { background: #E2E5EA; }
.sheet-nav:hover { border-color: var(--blue); color: var(--blue); }
.stat:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(31, 45, 61, .08); }
.stat { transition: transform .18s ease, box-shadow .18s ease; }

/* ========== 屏 5 绿证台账详情样式 ========== */
.detail-header { display: flex; justify-content: space-between; align-items: center; margin: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); background: var(--card); }
.dh-title { font-size: 17px; font-weight: 700; color: var(--t1); flex: 1; }
.btn-mini { height: 32px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--blue); background: #fff; color: var(--blue); font-size: 13px; }
.stat-single { text-align: center; padding: 30px 12px 20px; background: var(--purple-l); border-radius: 10px; margin: 0 12px 12px; }
.vl-purple { font-size: 36px; font-weight: 700; color: var(--purple); line-height: 1.2; }
.summary-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px 16px; margin-top: 0; }
.dt-head { display: grid; grid-template-columns: 1.5fr .9fr .7fr .8fr; gap: 10px; padding: 10px 12px; background: var(--bg); font-size: 12px; font-weight: 600; color: var(--t2); align-items: center; }
.dt-row { position: relative; padding: 14px 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--t1); line-height: 1.6; }

/* ---------- 屏 4 我的交易 Tab ---------- */
.trade-tabs { display: flex; gap: 10px; padding: 0 16px 12px; }
.trade-tab { flex: 1; height: 38px; border: 1px solid var(--line); border-radius: 19px; background: var(--card); color: var(--t2); font-size: 14px; }
.trade-tab.active { border-color: var(--blue); background: var(--blue-l); color: var(--blue); font-weight: 600; }
.trade-tab:hover { border-color: var(--blue); color: var(--blue); }
