:root {
  --ink: #172033;
  --muted: #70809a;
  --line: #dce4ef;
  --panel: #ffffff;
  --canvas: #f2f6fb;
  --nav: #f7f9fc;
  --blue: #1764ff;
  --blue-dark: #0f55df;
  --blue-soft: #eaf2ff;
  --green: #08ad58;
  --green-soft: #eafaf1;
  --amber: #d58a00;
  --amber-soft: #fff9e8;
  --red: #e4384f;
  --red-soft: #fff0f2;
  --purple: #9b35f5;
  --radius: 12px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

/* 可读性基线：业务界面的辅助文字不低于 12px，正文保持 14–16px。 */
* { box-sizing: border-box; }
html { background: var(--canvas); }
body { margin: 0; min-width: 320px; background: var(--canvas); font-size: 16px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.ui-icon { display: inline-block; flex: 0 0 auto; vertical-align: -3px; }
.hidden { display: none !important; }

/* 登录页 */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(580px, 1.25fr) minmax(500px, .75fr);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 36% 49%, rgba(84, 165, 255, .26), transparent 19%),
    radial-gradient(circle at 58% 24%, rgba(155, 130, 255, .22), transparent 27%),
    linear-gradient(126deg, #dcecff 0%, #e5eaff 45%, #d8ecff 100%);
}
.login-page::before,
.login-page::after { content: ""; position: absolute; left: -8%; right: -8%; height: 260px; border-radius: 50%; background: rgba(255,255,255,.5); filter: blur(4px); transform: rotate(-7deg); }
.login-page::before { bottom: -125px; }
.login-page::after { bottom: -205px; background: rgba(255,255,255,.72); transform: rotate(5deg); }
.login-product { position: absolute; z-index: 4; top: 8.5%; left: 4%; display: flex; align-items: center; gap: 12px; color: #07366a; font-size: 28px; letter-spacing: -.04em; }
.login-logo, .brand-mark { display: grid; place-items: center; color: white; background: linear-gradient(145deg,#1977ff,#00a8df); box-shadow: 0 10px 24px rgba(24,100,255,.24); }
.login-logo { width: 44px; height: 44px; border-radius: 13px; }
.login-brand { display: grid; place-items: center; position: relative; z-index: 2; }
.brand-content { width: min(670px, 80%); }
.ai-orbit { width: 520px; height: 360px; margin: 60px auto 0; position: relative; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255,255,255,.96) 0 17%, rgba(50,134,255,.24) 18% 30%, rgba(255,255,255,.6) 31% 40%, transparent 41%); box-shadow: 0 70px 100px rgba(42,106,206,.18); transform: perspective(900px) rotateX(58deg); }
.ai-orbit::before, .ai-orbit::after { content: ""; position: absolute; inset: 62px 76px; border: 13px solid rgba(63,137,255,.34); border-radius: 50%; box-shadow: 0 0 0 20px rgba(255,255,255,.34), 0 0 36px rgba(40,113,255,.45); }
.ai-orbit::after { inset: 112px 166px; background: linear-gradient(145deg,#2ec9f0,#2469ff 60%,#744dff); border: 8px solid rgba(255,255,255,.58); border-radius: 30px; transform: rotateX(-58deg); box-shadow: 0 20px 35px rgba(33,91,213,.35); }
.ai-orbit > span { position: absolute; z-index: 2; left: 221px; top: 148px; color: #fff; font-size: 52px; font-weight: 800; transform: rotateX(-58deg); }
.orbit-card { position: absolute; z-index: 4; min-width: 146px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; color: #64748b; background: rgba(255,255,255,.8); box-shadow: 0 12px 30px rgba(41,86,174,.14); font-style: normal; line-height: 1.55; transform: rotateX(-58deg); }
.orbit-card b { color: #326dff; }
.orbit-card.one { left: -30px; top: 40px; }
.orbit-card.two { right: -30px; top: 20px; }
.orbit-card.three { left: 150px; bottom: -55px; }
.login-panel { display: grid; place-items: center; position: relative; z-index: 3; padding: 48px; }
.login-card { width: min(480px, 100%); padding: 42px 34px 34px; border: 3px solid rgba(255,255,255,.92); border-radius: 46px; background: rgba(245,249,255,.76); box-shadow: 0 20px 55px rgba(36,83,155,.16); backdrop-filter: blur(18px); }
.login-card h2 { margin: 0 0 8px; text-align: center; font-size: 30px; letter-spacing: -.03em; }
.login-card > p { margin: 0 0 32px; text-align: center; color: #5e718d; }
.login-card .field { margin-top: 14px; }
.login-card .input { min-height: 50px; border-color: #c7d2e3; background: rgba(255,255,255,.9); }
.login-card .btn { width: 100%; min-height: 48px; margin-top: 18px; }
.login-card .field-hint { text-align: center; margin-top: 16px; }

/* 全局骨架 */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 289px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 20px 16px; color: #1e293b; background: var(--nav); border-right: 1px solid #dce4ef; display: flex; flex-direction: column; z-index: 25; }
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 7px 8px 28px; font-weight: 790; color: #07366a; font-size: 20px; white-space: nowrap; }
.sidebar-brand .brand-mark { width: 34px; height: 34px; border-radius: 9px; }
.nav-group { margin: 4px 0 12px; }
.nav-group.secondary { margin-top: 4px; }
.nav-section-title { height: 36px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: #40516b; font-size: 15px; font-weight: 700; background: #f5f8fc; }
.nav-section-title span { margin-right: 7px; }
.nav-link { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px; margin: 7px 0; border-radius: 12px; color: #1f2937; font-size: 17px; font-weight: 560; transition: .16s ease; }
.nav-link:hover { background: #edf3fb; }
.nav-link.active { color: #111827; background: linear-gradient(90deg,#dfeaff,#eef4ff); }
.nav-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; color: #8ca2c1; background: #e8eef6; }
.nav-link.active .nav-icon { color: #fff; background: var(--blue); box-shadow: 0 8px 18px rgba(23,100,255,.20); }
.sidebar-footer { margin-top: auto; padding: 16px 8px 0; border-top: 1px solid var(--line); }
.partner-attribution { margin: 0 0 12px; color: #8796ab; font-size: 12px; line-height: 1.55; }
.login-card > .partner-attribution { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(112,128,154,.22); text-align: left; color: #71819a; font-size: 12px; line-height: 1.6; }
.sidebar-user { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sidebar-user > div { min-width: 0; font-size: 15px; }
.sidebar-user strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user small { display: block; color: var(--muted); margin-top: 3px; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; background: #dfe7f3; color: #334155; font-size: 15px; font-weight: 750; }
.footer-icon, .logout-btn { display: grid; place-items: center; width: 30px; height: 30px; margin-left: auto; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #7f92ae; }
.logout-btn { margin-left: 0; }
.footer-icon:hover { color: var(--blue); background: var(--blue-soft); }
.main { min-width: 0; }
.topbar { height: 64px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.breadcrumbs { display: flex; gap: 14px; align-items: center; font-size: 16px; color: #53647d; }
.breadcrumbs span { color: #93a1b4; }
.breadcrumbs strong { color: #111827; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.engine-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; color: #1f63e9; background: #f1f6ff; font-size: 14px; font-weight: 700; }
.engine-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(23,100,255,.08); }
.top-divider { width: 1px; height: 24px; background: var(--line); }
.bell { color: #435673; }
.system-notice { min-height: 36px; display: flex; align-items: center; padding: 6px 10px; background: #fffaa9; border-bottom: 1px solid #f1e982; color: #222; font-size: 12px; line-height: 1.35; }
.content { padding: 24px 24px 56px; max-width: 1720px; margin: 0 auto; }
.page-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
.page-head h1 { margin: 0 0 7px; font-size: 26px; letter-spacing: -.025em; }
.page-head p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 16px; }
.date-chip { min-height: 38px; display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--line); border-radius: 9px; color: #60718c; background: #fff; font-size: 15px; }

/* 常用组件 */
.btn { min-height: 38px; border: 1px solid #d4deea; border-radius: 8px; padding: 8px 14px; background: #fff; color: #34445e; font-weight: 650; transition: .15s ease; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.btn:hover { border-color: #aebed2; background: #f8fafc; }
.btn.primary { color: #fff; border-color: var(--blue); background: var(--blue); }
.btn.primary:hover { background: var(--blue-dark); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--red); border-color: #fecdd3; background: var(--red-soft); }
.btn.small { min-height: 32px; padding: 5px 10px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 22px; }
.card-title { font-size: 17px; font-weight: 750; margin: 0; }
.card-section-head { min-height: 58px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.card-section-head small { color: var(--muted); font-weight: 500; }
.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 22px; }
.metric-card { padding: 20px; position: relative; overflow: hidden; }
.metric-card::after { content: ""; position: absolute; right: -28px; top: -32px; width: 86px; height: 86px; border-radius: 50%; background: #eef5ff; }
.metric-label { color: var(--muted); font-size: 14px; }
.metric-value { margin-top: 8px; font-size: 28px; font-weight: 780; letter-spacing: -.04em; }
.metric-note { margin-top: 5px; color: var(--muted); font-size: 13px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(300px,.7fr); gap: 18px; }
.quick-actions { display: grid; gap: 10px; }
.quick-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 10px; background: #f8faff; border: 1px solid #e8eef7; }
.quick-card:hover { border-color: #bdd1f4; background: #f3f7ff; }
.quick-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; color: var(--blue); background: var(--blue-soft); }
.quick-card strong { display: block; font-size: 16px; }
.quick-card span { color: var(--muted); font-size: 14px; }
.quick-card .quick-icon { color: var(--blue); }
.table-wrap { overflow: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { padding: 12px 14px; text-align: left; color: #52647e; font-size: 14px; font-weight: 700; background: #f7f9fc; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px; border-bottom: 1px solid #e8edf4; font-size: 15px; vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fbfdff; }
.link { color: var(--blue); font-weight: 700; }
.subtle { color: var(--muted); font-size: 14px; }
.nowrap { white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 5px 9px; font-size: 13px; font-weight: 720; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.green { color: #009844; background: #e8f9ef; }
.badge.amber { color: #b87700; background: #fff7da; }
.badge.red { color: #d51d43; background: #fff0f3; }
.badge.blue { color: #175dd8; background: #ecf3ff; }
.badge.gray { color: #60708a; background: #eef2f6; }
.notice { border: 1px solid #9dc6ff; background: #eef6ff; color: #135be0; border-radius: 11px; padding: 13px 16px; line-height: 1.6; font-size: 15px; margin-bottom: 18px; }
.notice.warn { color: #ba6300; border-color: #f5c957; background: #fff9e9; }
.notice.compact { padding: 10px 12px; margin-bottom: 18px; font-size: 14px; }
.empty { padding: 54px 20px; text-align: center; color: var(--muted); }
.empty-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 13px; border-radius: 50%; background: #eef3f8; font-size: 22px; }
.loading { min-height: 260px; display: grid; place-items: center; text-align: center; color: var(--muted); }
.spinner { width: 28px; height: 28px; margin: 0 auto 10px; border: 3px solid #dce6f5; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 表单与新建项目 */
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field.horizontal { grid-template-columns: 100px minmax(0,1fr); align-items: center; margin: 10px 0; }
.field label, .field-label { font-size: 15px; color: #263750; font-weight: 680; }
.field em { color: var(--red); font-style: normal; }
.field-hint { color: var(--muted); font-size: 13px; }
.input, .select, .textarea { width: 100%; min-height: 40px; border: 1px solid #ccd7e5; border-radius: 8px; padding: 9px 12px; color: var(--ink); background: #fff; outline: none; transition: .15s ease; }
.input:focus, .select:focus, .textarea:focus { border-color: #65a0ff; box-shadow: 0 0 0 3px rgba(23,100,255,.08); }
.textarea { min-height: 90px; resize: vertical; }
.project-stepper { min-height: 74px; display: flex; align-items: center; margin-bottom: 24px; padding: 0 24px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.project-stepper > i { height: 1px; flex: 1; margin: 0 24px; background: var(--line); }
.project-step { display: flex; align-items: center; gap: 13px; color: #71819a; font-size: 16px; font-weight: 650; }
.project-step b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e7edf5; color: #73839a; }
.project-step.active { color: #19243a; }
.project-step.active b { color: #fff; background: var(--blue); }
.project-step.done b { color: #fff; background: var(--green); }
.form-section { margin-bottom: 24px; overflow: hidden; }
.form-section-head { min-height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.form-section-head > span { width: 28px; height: 28px; display: grid; place-items: center; color: var(--blue); border-radius: 7px; background: var(--blue-soft); }
.form-section-head > span.purple { color: var(--purple); background: #f4e9ff; }
.form-section-head strong { font-size: 17px; }
.form-section-head small { margin-left: 4px; color: var(--muted); }
.form-section-body { padding: 20px 24px 24px; }
.upload-zone { min-height: 64px; position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 12px 16px; border: 1px dashed #c5d3e5; border-radius: 8px; background: #f8fbff; color: #516683; cursor: pointer; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.upload-zone:hover { border-color: #78a7ef; background: #f3f8ff; }
.upload-zone:focus-within { border-color: #65a0ff; box-shadow: 0 0 0 3px rgba(23,100,255,.08); }
.upload-zone input { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-zone > span { color: #6f89ab; }
.upload-zone b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.upload-zone small { color: #687c98; }
.upload-zone.has-file { border-style: solid; border-color: #73ce9a; background: #f3fcf7; box-shadow: 0 0 0 3px rgba(0,169,79,.06); }
.upload-zone.has-file > span, .upload-zone.has-file b { color: #07833f; }
.upload-zone.has-file small { color: #397858; }
.package-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 12px; }
.package-option { min-height: 60px; display: flex; align-items: center; gap: 10px; padding: 13px; border: 2px solid #dce4ef; border-radius: 11px; background: #fff; cursor: pointer; }
.package-option.selected { border-color: var(--blue); background: #f5f8ff; }
.package-option input { accent-color: var(--blue); }
.package-option span { font-weight: 700; font-size: 15px; }
.package-option small { display: block; margin-top: 5px; color: var(--muted); font-weight: 500; }
#package-name-wrap { margin-top: 16px; }
.supplier-row { display: grid; grid-template-columns: 34px minmax(180px,.7fr) minmax(260px,1.2fr) auto; gap: 12px; align-items: end; padding: 16px; margin-bottom: 12px; border: 1px solid #e0e7f0; border-radius: 10px; background: #fbfcfe; }
.supplier-index { align-self: center; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 14px; font-weight: 800; }
.supplier-file { display: block; min-height: 40px; position: relative; }
.supplier-file input { position: absolute; opacity: 0; inset: 0; width: 100%; cursor: pointer; }
.supplier-file span { min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px dashed #bfcde0; border-radius: 8px; color: #617794; background: #fff; font-weight: 550; }
.add-supplier { margin-top: 4px; }
.form-actions, .sticky-form-actions { display: flex; justify-content: flex-end; gap: 10px; }
.sticky-form-actions { position: sticky; bottom: 0; z-index: 5; padding: 16px 0 0; background: linear-gradient(transparent,#f2f6fb 28%); }

/* 项目侧栏与项目页 */
.project-side-title { min-height: 66px; display: flex; align-items: center; gap: 12px; padding: 6px 4px 12px; }
.project-side-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.project-pulse { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #b8d1ff; border-radius: 11px; color: var(--blue); background: #eaf2ff; }
.back-workbench { display: block; margin: -4px 0 8px 52px; color: #6f819c; font-size: 13px; }
.project-content { padding-top: 24px; }
.project-page-head { min-height: 70px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.project-page-head h1 { margin: 0 0 8px; font-size: 25px; letter-spacing: -.03em; }
.project-page-head p { margin: 0; color: var(--muted); font-size: 16px; }
.method-tag { margin-left: 16px; padding: 4px 9px; border-radius: 6px; color: var(--blue); background: var(--blue-soft); font-size: 13px; font-weight: 700; }
.completion-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 1px solid #98edbc; border-radius: 999px; color: #00a94f; background: #effdf5; font-size: 14px; font-weight: 720; }
.module-panel { min-height: 340px; }
.progress-card, .overview-progress { padding: 18px; }
.progress-head { display: flex; align-items: center; justify-content: space-between; }
.progress-head strong { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.progress-head strong .ui-icon { color: var(--blue); }
.progress-head > span { color: var(--blue); font-size: 17px; font-weight: 800; }
.progress-value { display: inline-flex; align-items: baseline; gap: 7px; }
.progress-value small { padding: 3px 6px; border-radius: 5px; color: #61789c; background: #edf3fb; font-size: 12px; font-weight: 700; }
.progress-track { height: 8px; margin: 13px 0 10px; overflow: hidden; border-radius: 999px; background: #e9eef5; }
.progress-bar { height: 100%; border-radius: inherit; background: linear-gradient(90deg,#1e6cff,#05a9e8); transition: width .4s ease; }
.progress-bar.estimated { background: repeating-linear-gradient(115deg,#1764ff 0,#1764ff 13px,#36a7ef 13px,#36a7ef 26px); background-size: 52px 100%; animation: progress-flow 1.2s linear infinite; }
@keyframes progress-flow { to { background-position: 52px 0; } }
.progress-bar.complete { background: linear-gradient(90deg,#04ce67,#00ab51); }
.progress-stage { display: flex; align-items: center; justify-content: space-between; color: #51627d; font-size: 13px; }
.progress-detail-card { margin-top: 16px; overflow: hidden; border: 1px solid #d9e5f5; border-radius: 10px; background: #f8fbff; }
.progress-detail-main { min-height: 72px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.progress-detail-main > div { min-width: 0; flex: 1; }
.progress-detail-main strong { display: block; margin-bottom: 5px; color: #253954; font-size: 15px; }
.progress-detail-main p { max-width: 680px; margin: 0 0 4px; overflow: hidden; color: #637691; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.progress-detail-main small { color: #8a9aaf; font-size: 12px; }
.progress-detail-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: var(--blue); background: #e5efff; }
.progress-live { display: inline-flex; align-items: center; gap: 7px; color: #16804a; font-size: 12px; font-weight: 700; white-space: nowrap; }
#progress-detail > .progress-live { margin-top: 15px; }
.progress-live i { width: 7px; height: 7px; border-radius: 50%; background: #14ae61; box-shadow: 0 0 0 0 rgba(20,174,97,.35); animation: live-pulse 1.5s infinite; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 7px rgba(20,174,97,0); } 100% { box-shadow: 0 0 0 0 rgba(20,174,97,0); } }
.progress-timing { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid #e2eaf5; border-bottom: 1px solid #e2eaf5; background: #fff; }
.progress-timing > div { padding: 11px 14px; border-right: 1px solid #e2eaf5; }
.progress-timing > div:last-child { border-right: 0; }
.progress-timing span, .progress-timing b { display: block; }
.progress-timing span { margin-bottom: 4px; color: #8999ae; font-size: 12px; }
.progress-timing b { color: #30445f; font-size: 14px; }
.progress-timing .remaining b { color: var(--blue); }
.progress-timing .timeout b { color: #c16c00; }
.progress-timeout-note { margin: 0; padding: 9px 14px; color: #6d7f98; font-size: 12px; line-height: 1.5; }
.green-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.overview-module-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin: 24px 0; }
.overview-module-card { overflow: hidden; border: 1px solid #55e793; border-radius: 11px; background: #fff; }
.module-card-head { min-height: 72px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #65e89b; background: #f3fcf7; }
.module-card-head > .badge { margin-left: auto; }
.module-card-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--green); background: #ddf7e8; }
.module-card-head h3 { margin: 0 0 4px; font-size: 16px; }
.module-card-head p { margin: 0; color: #7b8ca4; font-size: 13px; }
.module-card-body { padding: 17px; }
.analysis-state { display: flex; justify-content: space-between; color: var(--green); font-size: 13px; }
.thin-progress { height: 7px; margin: 10px 0 12px; border-radius: 999px; overflow: hidden; background: #e6edf4; }
.thin-progress i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.module-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.module-stats > div { min-height: 56px; display: grid; place-items: center; align-content: center; border-radius: 8px; background: #f7f9fc; }
.module-stats b { font-size: 18px; }
.module-stats span { margin-top: 4px; color: #71819a; font-size: 12px; }
.module-stats .good { color: #008b3e; background: #ecfaf2; }
.module-stats .bad { color: #c9142d; background: #fff1f2; }
.module-stats .score { color: #1f51cc; background: #eef4ff; }
.module-stats .warm { color: #b3420a; background: #fff7ee; }
.module-detail-link { min-height: 32px; margin-top: 14px; display: flex; align-items: center; justify-content: center; color: var(--blue); border-radius: 7px; background: #dceaff; font-size: 13px; font-weight: 720; }
.completion-panel { display: flex; gap: 16px; padding: 20px; border: 1px solid #5ee79b; border-radius: 12px; background: #effbf5; color: #018b43; }
.completion-icon { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: #d8f5e5; font-size: 22px; }
.completion-panel h3 { margin: 0 0 5px; font-size: 16px; }
.completion-panel p { margin: 0; font-size: 13px; }
.completion-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.completion-links a { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid #8ce9b2; border-radius: 7px; background: #fff; font-size: 12px; font-weight: 650; }

/* 审查矩阵 */
.meta-strip { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 16px; margin-bottom: 24px; padding: 20px 24px; }
.meta-strip > div { min-width: 0; }
.meta-strip span { display: block; margin-bottom: 9px; color: #91a1b8; font-size: 12px; font-weight: 650; }
.meta-strip strong { display: block; overflow: hidden; color: #243047; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.meta-strip strong.blue { color: var(--blue); }
.meta-strip strong.orange { color: #e16b00; }
.supplier-overview { margin-bottom: 24px; padding: 20px 24px; }
.supplier-overview > h3 { display: flex; align-items: center; gap: 7px; margin: 0 0 14px; font-size: 16px; }
.supplier-overview > h3 .ui-icon { color: var(--blue); }
.supplier-card-row { display: flex; gap: 12px; overflow-x: auto; padding: 0 36px; }
.supplier-review-card { width: 240px; flex: 0 0 240px; padding: 12px; border: 1px solid #f0cb50; border-radius: 11px; background: #fffdfa; }
.supplier-review-card.passed { border-color: #79dfa6; background: #f5fcf8; }
.supplier-review-card.failed { border-color: #f49aa8; background: #fff8f9; }
.supplier-card-top { display: flex; align-items: center; gap: 9px; }
.supplier-card-top > div { min-width: 0; }
.supplier-card-top strong { display: block; margin-bottom: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.supplier-monogram { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; color: #d18a00; background: #fff5cc; font-size: 13px; font-weight: 800; }
.supplier-counts { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; margin: 10px 0; color: #6d7e96; font-size: 12px; }
.supplier-counts i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; }
.pass-dot { background: var(--green); }.manual-dot { background: var(--amber); }.fail-dot { background: var(--red); }
.supplier-counts b { float: right; margin-left: 6px; color: #34445d; }
.supplier-rate { height: 6px; position: relative; margin-right: 28px; border-radius: 999px; background: #edf1f6; }
.supplier-rate i { display: block; height: 100%; border-radius: inherit; background: var(--amber); }
.supplier-rate span { position: absolute; left: calc(100% + 7px); top: -4px; color: #8494aa; font-size: 12px; }
.review-filters, .score-filters { display: flex; align-items: center; gap: 12px; min-height: 54px; margin-bottom: 24px; padding: 8px 24px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: #5d6e87; font-size: 14px; }
.review-filters button, .score-filters button { padding: 7px 13px; border: 0; border-radius: 7px; color: #596a83; background: transparent; font-size: 13px; font-weight: 650; }
.review-filters button.active, .score-filters button.active { color: #fff; background: var(--blue); }
.review-table-card { overflow: hidden; }
.table-tools { min-height: 52px; display: flex; justify-content: flex-end; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--line); }
.table-tools button { width: 28px; height: 28px; border: 0; border-radius: 6px; color: #fff; background: var(--blue); }
.review-table { min-width: 1120px; table-layout: fixed; }
.review-table th, .review-table td { border-right: 1px solid var(--line); }
.review-table th:last-child, .review-table td:last-child { border-right: 0; }
.review-table th:first-child { width: 56px; }
.review-table th:nth-child(2) { width: 150px; }
.review-table th:nth-child(3) { width: 360px; }
.review-table .company-column { width: 410px; color: #e18a00; text-align: center; }
.company-column strong, .company-column small { display: block; }
.company-column small { margin-top: 8px; font-size: 12px; }
.index-cell { color: #60708a; text-align: center; vertical-align: middle !important; }
.criterion-name { vertical-align: middle !important; }
.criterion-name strong { line-height: 1.55; }
.criterion-name small { display: block; margin-top: 5px; color: var(--muted); }
.criterion-tag, .score-type { display: inline-flex; padding: 6px 10px; border-radius: 7px; color: var(--blue); background: var(--blue-soft); font-size: 13px; font-weight: 720; }
.condition-cell p { margin: 0 0 8px; line-height: 1.65; color: #34445d; }
.decision-cell { text-align: center; }
.decision-status { margin-bottom: 8px; }
.decision-detail { color: #65758c; font-size: 13px; line-height: 1.65; }
.decision-detail summary { display: -webkit-box; max-height: 55px; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; cursor: pointer; list-style: none; }
.decision-detail summary::after { content: " 展开⌄"; color: var(--blue); font-weight: 650; }
.decision-detail[open] summary { display: none; }
.decision-detail p { margin: 0; text-align: left; }
.evidence-actions { display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap; margin-top: 8px; }
.evidence-chip, .review-link { padding: 3px 6px; border: 0; color: var(--blue); background: transparent; font-size: 12px; font-weight: 650; }
.evidence-chip:hover, .review-link:hover { text-decoration: underline; }

/* 自动评分 */
.scoring-notice { color: #165eda; background: #eef6ff; }
.score-stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 24px; }
.score-stat-card { min-height: 104px; display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.score-stat-card > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; font-size: 19px; }
.score-stat-card b { display: block; color: #172033; font-size: 25px; line-height: 1; }
.score-stat-card strong { display: block; margin-top: 7px; color: #7a8aa2; font-size: 13px; }
.score-stat-card small { display: block; margin-top: 12px; color: #8a9ab0; font-size: 12px; }
.score-stat-card.price > span { color: #e69a00; background: #fff4d4; }
.score-stat-card.tech > span { color: var(--blue); background: var(--blue-soft); }
.score-stat-card.business > span { color: var(--purple); background: #f6eaff; }
.score-stat-card.best > span { color: var(--green); background: var(--green-soft); }
.score-stat-card.best b { color: var(--green); }
.scoring-ranking { margin-bottom: 24px; padding: 18px 24px 24px; }
.scoring-ranking > h3 { margin: 0 0 18px; font-size: 16px; }
.score-rank-row { display: flex; gap: 14px; overflow-x: auto; padding: 0 30px; }
.score-rank-card { width: 320px; flex: 0 0 320px; position: relative; padding: 20px 16px 14px; border: 1px solid #cdd9e8; border-radius: 10px; }
.rank-crown { position: absolute; left: -1px; top: -1px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 9px 0 8px 0; color: #fff; background: #ff9c00; font-size: 13px; font-weight: 800; }
.score-rank-card > strong { display: block; margin-bottom: 5px; font-size: 15px; }
.score-rank-card > small { display: block; color: #8797ad; font-size: 12px; }
.score-rank-card > b { display: block; margin-top: 6px; color: #3477f6; font-size: 32px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.score-rank-card > em { color: #8b9bb0; font-size: 12px; font-style: normal; }
.rank-progress { height: 8px; margin: 12px 0 8px; overflow: hidden; border-radius: 999px; background: #e8edf4; }
.rank-progress i { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.rank-breakdown { display: flex; gap: 9px; font-size: 12px; }
.rank-breakdown span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 3px; border-radius: 50%; background: currentColor; }
.rank-breakdown .price { color: #e59b00; }.rank-breakdown .tech { color: #3e7cff; }.rank-breakdown .business { color: #a14cec; }
.scoring-table th:nth-child(2) { width: 100px; }
.scoring-table th:nth-child(3) { width: 320px; }
.scoring-table th:nth-child(4) { width: 72px; }
.score-type.price { color: #bf7800; background: #fff5d9; }.score-type.technology { color: var(--blue); background: var(--blue-soft); }.score-type.business { color: var(--purple); background: #f6eaff; }
.score-result { text-align: center; }
.score-result > strong { color: var(--blue); font-size: 17px; }
.score-result > p { margin: 7px 0 0; color: #687990; line-height: 1.6; font-size: 13px; }

/* 围标与名单 */
.collusion-intro { margin-bottom: 16px; padding: 14px 18px; border-radius: 10px; color: #5c6d84; background: #fff; border: 1px solid var(--line); line-height: 1.75; font-size: 14px; }
.collusion-intro b { color: #c77e00; }.collusion-intro strong { color: var(--blue); }
.collusion-dashboard { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(320px,.7fr); gap: 18px; margin-bottom: 22px; }
.risk-dimension-card { overflow: hidden; }
.risk-dimensions > div { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 13px 18px; border-bottom: 1px solid #edf1f5; color: #52647c; font-size: 14px; }
.risk-dimensions > div:last-child { border-bottom: 0; }
.risk-dimensions i { width: 7px; height: 20px; border-radius: 999px; }.risk-dimensions i.safe { background: var(--green); }.risk-dimensions i.warn { background: var(--amber); }
.bar-list { display: grid; gap: 12px; margin-top: 18px; color: #5b6c84; font-size: 13px; }
.bar-row { display: grid; grid-template-columns: 100px 1fr 42px; gap: 9px; align-items: center; }
.bar-track { height: 8px; overflow: hidden; border-radius: 999px; background: #eaf0f6; }
.bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg,#3478f5,#1bc47d); }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 12px; }
.section-heading h3 { margin: 0; font-size: 17px; }.section-heading span { color: var(--muted); font-size: 13px; }
.warning-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.warning-card { padding: 14px; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 9px; background: #fff; }
.warning-card.high { border-left-color: var(--red); }
.warning-card h4 { margin: 9px 0 6px; font-size: 15px; }.warning-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }.pair { margin-top: 9px; color: #52647d; font-size: 12px; }
.blacklist-alert { margin-bottom: 24px; padding: 18px 24px; border: 1px solid #f5c857; border-radius: 11px; color: #bf6200; background: #fff9e7; font-size: 15px; font-weight: 720; }
.blacklist-alert.no-hit { color: #008f45; border-color: #77e3a5; background: #effcf5; }
.blacklist-filters { min-height: 54px; display: flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.blacklist-search { flex: 1; min-height: 34px; padding: 0 10px; border: 1px solid #d6e0ec; border-radius: 7px; font-size: 13px; }
.blacklist-filters button { padding: 7px 12px; border: 0; border-radius: 7px; color: #5e6e85; background: transparent; font-size: 13px; font-weight: 650; }
.blacklist-filters button.active { color: #fff; background: var(--blue); }
.blacklist-results { overflow: hidden; }

/* 抽屉、证据及其他页面 */
.drawer-backdrop { position: fixed; inset: 0; z-index: 49; background: rgba(30,45,67,.34); opacity: 0; animation: fade .16s forwards; }
.drawer { position: fixed; z-index: 50; top: 0; right: 0; bottom: 0; width: min(650px,92vw); display: flex; flex-direction: column; background: #fff; box-shadow: -20px 0 50px rgba(25,43,70,.18); transform: translateX(100%); animation: slide .2s forwards; }
@keyframes fade { to { opacity: 1; } } @keyframes slide { to { transform: translateX(0); } }
.drawer-head { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 18px; }.drawer-close { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #eef2f6; }
.drawer-body { padding: 20px; overflow: auto; }.evidence-meta { margin-bottom: 12px; color: var(--muted); font-size: 13px; }.evidence-text { padding: 15px; border: 1px solid var(--line); border-radius: 9px; white-space: pre-wrap; color: #34445d; background: #f8fafc; font: 14px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace; }
.page-block { padding: 11px 0; border-bottom: 1px solid var(--line); white-space: pre-wrap; line-height: 1.75; font-size: 14px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 26px; padding: 10px 16px; border-radius: 8px; color: #fff; background: #172033; box-shadow: 0 12px 30px rgba(16,24,40,.22); opacity: 0; pointer-events: none; transform: translate(-50%,20px); transition: .2s ease; font-size: 14px; }.toast.show { opacity: 1; transform: translate(-50%,0); }.toast.error { background: #b42318; }
.review-compare { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }.stat-row { display: flex; gap: 12px; color: var(--muted); font-size: 13px; }.stat-row b { color: var(--ink); }

@media (max-width: 1180px) {
  .app-shell { grid-template-columns: 245px minmax(0,1fr); }
  .meta-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .metric-grid, .score-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .warning-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .login-page { grid-template-columns: 1fr 500px; }.ai-orbit { transform: scale(.8) perspective(900px) rotateX(58deg); }
}
@media (max-width: 860px) {
  .app-shell { grid-template-columns: 74px minmax(0,1fr); }
  .sidebar { padding-inline: 9px; }.sidebar-brand span:last-child,.nav-link span:last-child,.nav-section-title,.sidebar-user>div,.footer-icon,.back-workbench,.project-side-title strong { display: none; }.sidebar-brand,.nav-link,.project-side-title { justify-content: center; }.sidebar-brand { padding-inline: 0; }.project-side-title { min-height: 60px; }.sidebar-footer { padding-inline: 0; }.sidebar-user { justify-content: center; }
  .content { padding-inline: 16px; }.topbar { padding-inline: 16px; }.overview-module-grid,.dashboard-grid,.collusion-dashboard { grid-template-columns: 1fr; }.form-grid { grid-template-columns: 1fr; }.field.full { grid-column: auto; }.warning-grid { grid-template-columns: 1fr; }
  .login-page { display: grid; grid-template-columns: 1fr; }.login-brand,.login-product { display: none; }.login-panel { min-height: 100vh; }
}
@media (max-width: 580px) {
  .app-shell { grid-template-columns: 1fr; }.sidebar { position: fixed; z-index: 40; left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 66px; flex-direction: row; padding: 7px; border-right: 0; border-top: 1px solid var(--line); }.sidebar-brand,.sidebar-footer,.nav-section-title,.project-side-title,.back-workbench { display: none; }.nav-group,.nav-group.secondary { display: contents; }.nav-link { min-height: 50px; flex: 1; margin: 0; padding: 4px; }.nav-icon { width: 40px; height: 40px; }.main { padding-bottom: 68px; }.system-notice { display: none; }.engine-pill { padding-inline: 9px; }.engine-pill { font-size: 0; }.engine-pill i { margin: 0; }.page-head,.project-page-head { flex-direction: column; }.project-stepper { padding: 0 12px; }.project-step span { display: none; }.form-section-body { padding-inline: 14px; }.field.horizontal { grid-template-columns: 1fr; }.upload-zone { grid-template-columns: auto minmax(0,1fr); }.upload-zone small { grid-column: 2; }.package-options,.overview-module-grid,.metric-grid,.score-stat-grid,.meta-strip { grid-template-columns: 1fr; }.supplier-row { grid-template-columns: 30px 1fr; }.supplier-row .field { grid-column: 2; }.supplier-row .btn { grid-column: 2; justify-self: start; }.module-stats { grid-template-columns: repeat(2,1fr); }.progress-stage { align-items: flex-start; gap: 8px; }.progress-stage span:last-child { text-align: right; }.progress-detail-main { align-items: flex-start; flex-wrap: wrap; }.progress-detail-main .progress-live { margin-left: 50px; }.progress-timing { grid-template-columns: 1fr; }.progress-timing > div { border-right: 0; border-bottom: 1px solid #e2eaf5; }.progress-timing > div:last-child { border-bottom: 0; }.top-actions .top-divider,.top-actions .bell { display: none; }
}
.page-image-wrap { position: relative; display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.page-image-wrap img { display: block; width: 100%; height: auto; }
.page-highlight { position: absolute; border: 2px solid #e5484d; background: rgba(229, 72, 77, 0.14); border-radius: 3px; pointer-events: none; }
.list-search { max-width: 280px; min-height: 34px; font-size: 14px; }
.project-table td { vertical-align: middle; }
.project-table .truncate { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-table .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 13px; font-weight: 650; }
.pill.blue { color: var(--blue); background: var(--blue-soft); }
.list-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px 2px; color: var(--muted); font-size: 14px; }
.pager button { margin-left: 8px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #4a5b74; font-size: 13px; }
.pager button:disabled { opacity: .45; cursor: default; }
.pair-compare { margin-top: 12px; border: 1px solid var(--line); border-radius: 9px; padding: 10px 14px; }
.pair-compare summary { cursor: pointer; font-size: 15px; color: #40516b; }
.pair-compare td { vertical-align: top; font-size: 14px; }

/* 个人中心 */
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.user-link { color: inherit; text-decoration: none; display: inline-flex; }
.user-link:hover strong { text-decoration: underline; }
.profile-avatar-row { display: flex; align-items: center; gap: 16px; }
.profile-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.profile-avatar-empty { display: grid; place-items: center; background: #dfe7f3; color: #334155; font-size: 24px; font-weight: 750; }
.muted { color: var(--muted); font-size: 14px; }
.card-divider { border: none; border-top: 1px solid var(--line); margin: 18px 0 12px; }
.strength-meter { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.strength-meter i { width: 34px; height: 4px; border-radius: 2px; background: #e2e8f0; }
.strength-meter span { margin-left: 6px; font-size: 13px; color: var(--muted); }
.strength-meter[data-level="1"] i:nth-child(-n+1) { background: #ef4444; }
.strength-meter[data-level="2"] i:nth-child(-n+2) { background: #f59e0b; }
.strength-meter[data-level="3"] i:nth-child(-n+3) { background: #22c55e; }
.strength-meter[data-level="4"] i:nth-child(-n+4) { background: #15803d; }

/* 采购黑名单核查 */
.check-bar { display: flex; gap: 10px; align-items: center; }
.check-bar .input { flex: 1; }
.check-bar select.input { flex: 0 0 200px; }
.check-result { margin-top: 14px; border-radius: 10px; padding: 12px 14px; border: 1px solid var(--line); }
.check-result.hit { border-color: #fecdd3; background: var(--red-soft); }
.check-result.clear { background: #f3f7fb; }
.check-verdict { font-weight: 750; font-size: 16px; }
.check-conclusion { color: #40516b; font-size: 14px; margin-top: 4px; }
.check-sub { margin-top: 10px; font-size: 14px; color: var(--muted); }
.check-list { margin: 8px 0 0; padding-left: 18px; font-size: 15px; }
.check-list li { margin-bottom: 6px; }
.source-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 9px; font-size: 13px; border: 1px solid var(--line); }
.tag-hit { border-color: #fecdd3; color: var(--red); }
.tag-code { border-color: #bfdbfe; color: #1d4ed8; }
.tag-suspect { border-color: #fde68a; color: #b45309; }
.field-list { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; font-size: 14px; }
.field-list dt { color: var(--muted); }
.field-list dd { margin: 0; word-break: break-all; }
.schema-block { font-size: 14px; color: #40516b; margin-top: 8px; line-height: 1.7; }
.detail-row > td { background: #f8fafc; }

/* 资格/符合性审查标准化布局：固定矩阵高度，避免长条款把整页撑高。 */
.supplier-overview > h3 { gap: 8px; margin-bottom: 16px; color: #1f2b3f; font-size: 17px; }
.supplier-card-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 14px; overflow: visible; padding: 0; }
.supplier-review-card { width: auto; min-width: 0; min-height: 142px; padding: 17px 18px 16px; border-color: #e7b840; border-radius: 12px; background: linear-gradient(145deg,#fff 0%,#fffdf7 100%); box-shadow: 0 4px 14px rgba(38,58,87,.035); }
.supplier-review-card.passed { border-color: #6fd69d; background: linear-gradient(145deg,#fff 0%,#f5fcf8 100%); }
.supplier-review-card.failed { border-color: #f08a9a; background: linear-gradient(145deg,#fff 0%,#fff7f8 100%); }
.supplier-card-top { gap: 11px; }
.supplier-card-top strong { margin-bottom: 6px; color: #172033; font-size: 15px; font-weight: 760; line-height: 1.35; }
.supplier-monogram { width: 36px; height: 36px; border-radius: 9px; color: #bd7900; background: #fff1bd; font-size: 14px; }
.supplier-counts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 14px 0 13px; color: #7889a1; font-size: 12px; }
.supplier-counts span { min-width: 0; display: grid; grid-template-columns: 7px 1fr; align-items: center; column-gap: 5px; }
.supplier-counts i { width: 6px; height: 6px; margin: 0; }
.supplier-counts small { font-size: 12px; white-space: nowrap; }
.supplier-counts b { grid-column: 2; float: none; margin: 0; color: #293850; font-size: 15px; line-height: 1.15; }
.supplier-counts b em { color: #8a99ad; font-size: 12px; font-style: normal; font-weight: 500; }
.supplier-rate { margin-right: 32px; }
.supplier-rate span { top: -5px; color: #72839a; font-size: 12px; font-weight: 650; }
.review-table-card { margin-bottom: 24px; }
.review-table-head { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.review-table-head h3 { margin: 0 0 4px; color: #1f2b3f; font-size: 16px; }
.review-table-head p { margin: 0; color: #8595aa; font-size: 12px; }
.review-table-head > span { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; color: #1763df; background: #edf4ff; font-size: 12px; font-weight: 700; }
.review-matrix-scroll { max-height: 720px; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.review-table { width: 100%; min-width: 1172px; table-layout: fixed; }
.review-table th { position: sticky; top: 0; z-index: 4; }
.review-col-index { width: 52px; }.review-col-criterion { width: 170px; }.review-col-condition { width: 260px; }.review-col-company { width: 230px; }
.review-table th:first-child { width: auto; }.review-table th:nth-child(2) { width: auto; }.review-table th:nth-child(3) { width: auto; }
.review-table .company-column { width: auto; color: #c87800; text-align: center; white-space: normal; }
.company-column strong { color: #b66d00; font-size: 13px; line-height: 1.45; }
.company-column small { margin-top: 5px; color: #7f8fa5; font-size: 12px; line-height: 1.45; }
.pass-text { color: #07954b; }.manual-text { color: #b77700; }.fail-text { color: #d52749; }
.review-table .sticky-index { position: sticky; left: 0; z-index: 3; background: #fff; }
.review-table .sticky-criterion { position: sticky; left: 52px; z-index: 3; background: #fff; box-shadow: 1px 0 0 var(--line); }
.review-table thead .sticky-index, .review-table thead .sticky-criterion { z-index: 7; background: #f7f9fc; }
.decision-status { min-height: 27px; display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 7px; }
.decision-status > small { color: #98a5b7; font-size: 12px; white-space: nowrap; }
.matrix-copy { color: #5f7088; font-size: 13px; line-height: 1.65; text-align: left; }
.matrix-copy summary { display: -webkit-box; max-height: 38px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; cursor: pointer; list-style: none; }
.matrix-copy summary::after { content: "  展开⌄"; color: var(--blue); font-weight: 700; }
.matrix-copy[open] summary { display: none; }
.matrix-copy p { margin: 0; color: #40516a; white-space: pre-wrap; }
.evidence-actions { justify-content: flex-start; }.decision-cell .evidence-actions { justify-content: center; }
.review-conclusion { margin-bottom: 24px; overflow: hidden; }
.review-conclusion .card-section-head > div small, .bid-file-list .card-section-head > div small { display: block; margin-top: 4px; }
.decision-support-tag { padding: 5px 9px; border-radius: 999px; color: #6b4dbc; background: #f2edff; font-size: 12px; font-weight: 700; }
.review-conclusion-list { display: grid; }
.review-conclusion-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: center; padding: 16px 20px; border-bottom: 1px solid #e9eef5; border-left: 3px solid #e6b640; }
.review-conclusion-item:last-child { border-bottom: 0; }.review-conclusion-item.failed { border-left-color: var(--red); }.review-conclusion-item.passed { border-left-color: var(--green); }
.review-conclusion-main { min-width: 0; display: flex; align-items: center; gap: 12px; }
.review-conclusion-main strong { color: #243047; font-size: 15px; }
.review-conclusion-main p { margin: 5px 0 0; color: #6d7e95; font-size: 13px; line-height: 1.55; }
.review-conclusion-stats { display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: #75869d; font-size: 12px; white-space: nowrap; }
.review-conclusion-stats b { color: #2b3a51; font-size: 14px; }
.bid-file-list { margin-bottom: 24px; overflow: hidden; }
.bid-file-list td { vertical-align: middle; }
.file-name-cell { min-width: 0; display: flex; align-items: center; gap: 8px; color: #4f6078; }
.file-name-cell .ui-icon { flex: 0 0 auto; color: var(--blue); }
.file-name-cell span { max-width: 390px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-supplier strong { display: block; color: #26354b; font-size: 14px; }.file-supplier small { display: block; margin-top: 5px; color: #8a99ad; font-size: 12px; }

/* 自动评分：方法依据、采购文件标准与两种法定评审路径分开展示。 */
.scoring-method-panel { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 15px; margin-bottom: 18px; padding: 18px 20px; border-color: #92bee9; background: linear-gradient(135deg,#f8fbff,#fff); }
.scoring-method-panel.untrusted { border-color: #efc35e; background: #fffaf0; }
.scoring-method-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: var(--blue); background: #e8f2ff; }
.scoring-method-title { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.scoring-method-title > span { color: #7d8da3; font-size: 13px; }.scoring-method-title strong { color: #1d5fd3; font-size: 19px; }.scoring-method-title em { padding: 4px 8px; border-radius: 999px; color: #087b49; background: #e8f8ef; font-size: 12px; font-style: normal; font-weight: 700; }
.scoring-method-panel p { margin: 8px 0 0; color: #52637b; font-size: 13px; line-height: 1.7; }
.method-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }.method-actions .evidence-actions { margin: 0; }.method-actions a { color: var(--blue); font-size: 12px; font-weight: 700; }
.score-stat-grid { grid-template-columns: repeat(auto-fit,minmax(205px,1fr)); gap: 14px; }
.score-stat-card.service > span { color: #008f7a; background: #e6faf6; }
.scoring-ranking > h3 small { margin-left: 8px; color: #8797ad; font-size: 12px; font-weight: 500; }
.score-rank-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 14px; overflow: visible; padding: 0; }
.score-rank-card { width: auto; min-width: 0; }
.rank-breakdown .service { color: #008f7a; }
.scoring-scroll { max-height: 760px; }
.scoring-table { min-width: 1300px; }
.scoring-table th:nth-child(1) { width: 52px; }.scoring-table th:nth-child(2) { width: 92px; }.scoring-table th:nth-child(3) { width: 360px; }.scoring-table th:nth-child(4) { width: 72px; }.scoring-table .company-column { width: 240px; }
.score-type.service { color: #008f7a; background: #e6faf6; }
.score-criterion strong { display: block; color: #26354a; font-size: 14px; }.score-criterion > small { display: block; margin-top: 4px; color: #8797ad; font-size: 12px; }
.score-rule { margin-top: 9px; color: #5e7088; font-size: 12px; line-height: 1.65; }.score-rule summary { color: var(--blue); cursor: pointer; font-weight: 700; }.score-rule p { margin: 7px 0 0; white-space: pre-wrap; }
.score-result > strong.pending-score { color: #ae7500; font-size: 13px; }
.lowest-stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 24px; }
.lowest-stat-grid > div { min-height: 92px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.lowest-stat-grid span { display: block; color: #8797ad; font-size: 12px; }.lowest-stat-grid strong { display: block; margin-top: 10px; color: #26354b; font-size: 19px; }.lowest-stat-grid strong small { color: #8393a9; font-size: 13px; }
.lowest-price-card { margin-bottom: 24px; overflow: hidden; }.lowest-price-table td { vertical-align: middle; }.lowest-rank span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--blue); font-weight: 800; }.evaluated-price strong { display: block; color: #087d4b; font-size: 15px; }.evaluated-price .badge { margin-top: 6px; }

@media (max-width: 860px) {
  .supplier-card-row { grid-template-columns: 1fr; }
  .review-conclusion-item { grid-template-columns: 1fr; }
  .review-conclusion-stats { justify-content: flex-start; flex-wrap: wrap; }
  .lowest-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 580px) {
  .review-table-head { align-items: flex-start; flex-direction: column; }
  .supplier-counts { grid-template-columns: repeat(3,minmax(68px,1fr)); }
  .scoring-method-panel { grid-template-columns: 1fr; }
  .lowest-stat-grid { grid-template-columns: 1fr; }
}
