:root {
  --navy: #172033;
  --muted: #677287;
  --muted-2: #8d98aa;
  --line: #dfe6f1;
  --line-strong: #cbd5e5;
  --surface: #ffffff;
  --canvas: #f3f6fb;
  --soft-blue: #eef4ff;
  --primary: #2357e6;
  --primary-dark: #173c96;
  --cyan: #1d96d2;
  --green: #14845f;
  --green-soft: #eaf7f2;
  --amber: #b36a00;
  --amber-soft: #fff7e8;
  --red: #c9444b;
  --red-soft: #fff0f1;
  --violet: #5c4bc4;
  --shadow: 0 10px 30px rgba(24, 39, 75, 0.08);
  --sidebar: 232px;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body { margin: 0; background: var(--canvas); color: var(--navy); font-size: 14px; line-height: 1.55; }

button, input, select, textarea { font: inherit; }

button { letter-spacing: 0; }

a { color: inherit; }

.boot { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 16px; color: var(--muted); }

.boot-mark, .brand-mark { display: flex; align-items: end; justify-content: center; gap: 3px; background: var(--primary); }

.boot-mark { width: 48px; height: 48px; padding: 12px; border-radius: 8px; box-shadow: 0 10px 24px rgba(35, 87, 230, 0.25); }

.boot-mark i, .brand-mark i { display: block; width: 4px; background: white; border-radius: 2px 2px 0 0; }
.boot-mark i:nth-child(1), .brand-mark i:nth-child(1) { height: 8px; }
.boot-mark i:nth-child(2), .brand-mark i:nth-child(2) { height: 15px; }
.boot-mark i:nth-child(3), .brand-mark i:nth-child(3) { height: 21px; }

.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 42%) 1fr; background: var(--surface); }

.login-panel { display: flex; flex-direction: column; justify-content: center; width: min(100%, 520px); padding: 64px 72px; }

.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 54px; }

.brand-mark { width: 38px; height: 38px; padding: 9px; border-radius: 7px; }
.brand-mark i { width: 3px; }

.login-brand strong, .sidebar-brand strong { display: block; font-size: 17px; }
.login-brand > div > span, .sidebar-brand > div > span { display: block; color: var(--muted); font-size: 11px; }

.login-panel h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.25; }
.login-panel > p { margin: 0 0 30px; color: var(--muted); }

.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 13px; }
.field small { color: var(--muted); }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 10px 12px;
  outline: none;
  color: var(--navy);
  background: var(--surface);
  transition: border-color 160ms, box-shadow 160ms;
}

textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(35, 87, 230, 0.1); }
input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); }

.button {
  min-height: 38px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 8px 14px;
  color: white;
  background: var(--primary);
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms, border-color 150ms, transform 150ms;
}
.button:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: 0.55; cursor: not-allowed; }
.button.secondary { color: var(--primary); background: var(--surface); border-color: #b9c9ef; }
.button.secondary:hover { background: var(--soft-blue); }
.button.quiet { color: var(--navy); background: var(--surface); border-color: var(--line-strong); }
.button.quiet:hover { background: #f7f9fc; }
.button.danger { color: var(--red); background: var(--surface); border-color: #eab8bc; }
.button.full { width: 100%; }
.button.small { min-height: 32px; padding: 5px 10px; font-size: 12px; }
.button.icon { width: 36px; min-height: 36px; padding: 0; display: grid; place-items: center; font-size: 18px; }

.demo-logins { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.demo-logins strong { display: block; margin-bottom: 8px; font-size: 12px; }
.demo-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.demo-chip { border: 1px solid var(--line); border-radius: 6px; padding: 6px 9px; background: #f8fafc; color: var(--muted); cursor: pointer; font-size: 12px; }

.login-visual { position: relative; overflow: hidden; padding: 72px; display: flex; flex-direction: column; justify-content: space-between; color: white; background: var(--primary-dark); }
.login-visual::before { content: ""; position: absolute; inset: 0; opacity: 0.11; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 42px 42px; }
.login-visual > * { position: relative; z-index: 1; }
.login-visual h2 { max-width: 670px; margin: 0; font-size: 42px; line-height: 1.25; }
.login-visual > p { max-width: 650px; color: #dce7ff; font-size: 16px; }
.edition-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.edition-preview article { padding: 22px; border: 1px solid rgba(255,255,255,.23); background: rgba(13, 38, 103, .58); backdrop-filter: blur(8px); }
.edition-preview b { display: block; font-size: 20px; }
.edition-preview span { color: #dce7ff; font-size: 13px; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: var(--sidebar); padding: 18px 14px; color: #dfe8fb; background: #132348; border-right: 1px solid #213867; }
.sidebar-brand { display: flex; align-items: center; gap: 11px; padding: 2px 8px 22px; color: white; }
.sidebar-brand span { color: #9fb0d3; }
.nav-label { margin: 18px 10px 7px; color: #778bad; font-size: 10px; font-weight: 800; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 42px; margin: 2px 0; padding: 9px 11px; border: 0; border-radius: 6px; color: #bdc9df; background: transparent; cursor: pointer; text-align: left; }
.nav-item:hover { color: white; background: #1b315e; }
.nav-item.active { color: white; background: var(--primary); }
.nav-symbol { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 5px; font-size: 11px; font-weight: 800; }
.sidebar-footer { position: absolute; right: 14px; bottom: 18px; left: 14px; padding: 12px; border-top: 1px solid #2a3c63; }
.sidebar-footer b { color: white; }
.sidebar-footer span { color: #93a4c5; font-size: 11px; }

.main-area { min-height: 100vh; margin-left: var(--sidebar); }
.topbar { position: sticky; top: 0; z-index: 20; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 28px; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.topbar-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.topbar-title h1 { margin: 0; font-size: 18px; white-space: nowrap; }
.topbar-title span { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.edition-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: #f6f8fc; }
.edition-switch button { min-width: 92px; border: 0; border-radius: 5px; padding: 7px 12px; color: var(--muted); background: transparent; cursor: pointer; font-weight: 700; font-size: 12px; }
.edition-switch button.active { color: white; background: var(--primary); box-shadow: 0 3px 10px rgba(35, 87, 230, .18); }
.edition-switch button:disabled { opacity: .45; cursor: not-allowed; }
.user-button { display: flex; align-items: center; gap: 9px; padding-left: 12px; border-left: 1px solid var(--line); }
.avatar { width: 32px; height: 32px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font-weight: 800; }
.user-meta b, .user-meta span { display: block; }
.user-meta b { font-size: 12px; }
.user-meta span { color: var(--muted); font-size: 10px; }

.content { width: min(100%, 1480px); margin: 0 auto; padding: 28px; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 22px; }
.page-head h2 { margin: 0 0 4px; font-size: 23px; }
.page-head p { margin: 0; color: var(--muted); }
.page-actions { display: flex; gap: 9px; flex-wrap: wrap; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { min-height: 122px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: 7px; box-shadow: 0 3px 12px rgba(24,39,75,.04); }
.stat:nth-child(2) { border-top-color: var(--cyan); }
.stat:nth-child(3) { border-top-color: var(--green); }
.stat:nth-child(4) { border-top-color: #d67a2f; }
.stat span { color: var(--muted); font-size: 12px; }
.stat strong { display: block; margin: 8px 0 3px; font-size: 29px; line-height: 1; }
.stat small { color: var(--muted-2); }

.panel { margin-bottom: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 3px 12px rgba(24,39,75,.04); }
.narrow-panel { max-width: 560px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.panel-head h3 { margin: 0; font-size: 15px; }
.panel-head p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.panel-body { padding: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr); gap: 18px; align-items: start; }
.equal-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.mode-card { position: relative; min-height: 88px; padding: 16px 16px 14px 55px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); cursor: pointer; text-align: left; }
.mode-card:hover { border-color: #9db3e8; }
.mode-card.active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(35,87,230,.1); }
.mode-icon { position: absolute; top: 16px; left: 15px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; color: white; background: var(--primary); font-weight: 800; }
.mode-card:nth-child(2) .mode-icon { background: var(--cyan); }
.mode-card:nth-child(3) .mode-icon { background: var(--violet); }
.mode-card b, .mode-card span { display: block; }
.mode-card span { margin-top: 3px; color: var(--muted); font-size: 11px; }

.edition-notice { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 13px 15px; border-left: 4px solid var(--primary); background: var(--soft-blue); }
.edition-notice.global { border-left-color: var(--green); background: var(--green-soft); }
.edition-notice b { min-width: 64px; }
.edition-notice span { color: var(--muted); }
.edition-notice code { color: var(--primary-dark); font-family: inherit; font-weight: 700; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .wide { grid-column: 1 / -1; }
.required { margin-left: 4px; color: var(--red); font-size: 9px; }
.advanced-fields { margin: 2px 0 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.advanced-fields summary { padding: 13px 2px; color: var(--navy); cursor: pointer; font-size: 12px; font-weight: 800; }
.advanced-fields summary span { margin-left: 7px; color: var(--muted); font-size: 10px; font-weight: 400; }
.advanced-fields[open] summary { margin-bottom: 12px; }
.advanced-fields textarea { min-height: 72px; }
.inline-field { display: flex; gap: 8px; }
.inline-field > :first-child { flex: 1; }

.tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); }
.tab { position: relative; border: 0; padding: 11px 2px; color: var(--muted); background: transparent; cursor: pointer; font-weight: 700; }
.tab.active { color: var(--primary); }
.tab.active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--primary); }

.toolbar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 10px; }
.toolbar-row .left, .toolbar-row .right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.count { color: var(--muted); font-size: 12px; }

.question-list { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.question-row { display: grid; grid-template-columns: 32px 90px 1fr; gap: 10px; align-items: center; min-height: 47px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.question-row:last-child { border-bottom: 0; }
.question-row:hover { background: #f8faff; }
.intent { width: max-content; max-width: 88px; padding: 3px 7px; border-radius: 4px; color: var(--primary-dark); background: var(--soft-blue); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.model-option { position: relative; display: flex; align-items: center; gap: 9px; min-height: 47px; padding: 9px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.model-option.selected { border-color: var(--primary); background: var(--soft-blue); }
.model-option input { position: absolute; opacity: 0; pointer-events: none; }
.model-logo { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 6px; color: white; background: var(--primary-dark); font-size: 11px; font-weight: 800; }
.model-option b, .model-option small { display: block; min-width: 0; }
.model-option > span:not(.model-logo) { min-width: 0; }
.model-option b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.model-option small { color: var(--muted); font-size: 9px; }

.start-bar { position: sticky; bottom: 14px; z-index: 12; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 18px; padding: 13px 16px; border: 1px solid #bed0f7; border-radius: 7px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.start-summary b { display: block; }
.start-summary span { color: var(--muted); font-size: 11px; }
.start-button { min-width: 188px; }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.data-table th { color: var(--muted); background: #f8fafd; font-size: 11px; font-weight: 800; white-space: nowrap; }
.data-table tbody tr:hover { background: #fafcff; }
.data-table td.actions { white-space: nowrap; }
.table-wrap { overflow-x: auto; }
.model-row-actions { display: flex; align-items: center; gap: 6px; }

.status { display: inline-flex; align-items: center; gap: 6px; min-width: 68px; color: var(--muted); font-size: 11px; font-weight: 700; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); }
.status.running::before, .status.queued::before, .status.analyzing::before, .status.report_generating::before { background: var(--primary); box-shadow: 0 0 0 3px rgba(35,87,230,.12); }
.status.completed::before { background: var(--green); }
.status.failed::before, .status.partially_failed::before { background: var(--red); }
.status.cancelled::before { background: var(--muted-2); }
.status.live::before { background: var(--green); }
.status.demo::before { background: var(--amber); }

.progress { width: 150px; height: 7px; overflow: hidden; border-radius: 4px; background: #e9eef6; }
.progress > span { display: block; height: 100%; background: var(--primary); transition: width .35s; }
.question-row .progress { width: 100%; min-width: 0; }
.progress-line { display: flex; align-items: center; gap: 9px; }
.progress-line small { width: 34px; color: var(--muted); }

.badge { display: inline-block; padding: 3px 7px; border-radius: 4px; color: var(--primary-dark); background: var(--soft-blue); font-size: 10px; font-weight: 700; }
.badge.global { color: var(--green); background: var(--green-soft); }
.badge.warn { color: var(--amber); background: var(--amber-soft); }
.badge.danger { color: var(--red); background: var(--red-soft); }

.empty { padding: 50px 20px; text-align: center; color: var(--muted); }
.empty-symbol { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 13px; border: 1px dashed var(--line-strong); border-radius: 50%; color: var(--primary); font-size: 18px; }
.empty h3 { margin: 0 0 4px; color: var(--navy); }
.empty p { margin: 0 0 15px; }

.report-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.report-filters { margin-bottom: 16px; padding: 14px; border: 1px solid var(--line); background: var(--surface); }
.report-filters form { display: grid; grid-template-columns: minmax(260px, 1.4fr) repeat(4, minmax(130px, .65fr)) auto; gap: 9px; align-items: center; }
.report-filters select, .report-filters input, .pagination select { min-width: 0; }
.report-filters select { padding-right: 28px; }
.report-filters > p { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.report-search { display: flex; gap: 7px; min-width: 0; }
.report-search input { flex: 1; }
.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-top: 18px; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 12px; }
.pagination > label { justify-self: end; display: flex; align-items: center; gap: 7px; }
.pagination-pages { display: flex; align-items: center; gap: 5px; }
.page-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 5px; color: var(--navy); background: white; cursor: pointer; font: inherit; font-weight: 700; }
.page-button:hover:not(:disabled), .page-button.active { color: white; border-color: var(--primary); background: var(--primary); }
.page-button:disabled { opacity: .42; cursor: not-allowed; }
.page-gap { width: 24px; text-align: center; }
.report-card { padding: 18px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); cursor: pointer; transition: transform 150ms, box-shadow 150ms; }
.report-card { width: 100%; color: var(--navy); font: inherit; text-align: left; }
.report-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.report-card-top { display: flex; justify-content: space-between; gap: 12px; }
.report-card h3 { margin: 8px 0 2px; font-size: 17px; }
.report-card p { margin: 0; color: var(--muted); font-size: 12px; }
.grade { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 7px; color: white; background: var(--primary); font-size: 22px; font-weight: 900; }
.mini-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); }
.mini-metrics span, .mini-metrics b { display: block; }
.mini-metrics span { color: var(--muted); font-size: 9px; }
.mini-metrics b { margin-top: 2px; font-size: 14px; }

.report-view { margin: -28px; background: #e9eef6; min-height: calc(100vh - 68px); padding: 24px; }
.report-toolbar { position: sticky; top: 82px; z-index: 10; max-width: 1120px; margin: 0 auto 16px; display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.report-toolbar .left, .report-toolbar .right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.report-document { max-width: 1120px; margin: 0 auto; background: white; box-shadow: 0 12px 42px rgba(31,46,78,.12); }
.report-cover { min-height: 600px; display: flex; flex-direction: column; justify-content: space-between; padding: 64px; color: white; background: #173c96; }
.report-cover .eyebrow { width: max-content; padding: 5px 9px; border: 1px solid rgba(255,255,255,.5); font-size: 11px; }
.report-cover h1 { max-width: 720px; margin: 32px 0 8px; font-size: 44px; line-height: 1.22; }
.cover-subtitle { max-width: 650px; margin: 0 0 24px; color: #dce7ff; font-size: 17px; }
.report-cover h2 { margin: 0; font-size: 24px; font-weight: 500; color: #dce7ff; }
.cover-meta { display: grid; grid-template-columns: repeat(4, auto); gap: 28px; width: min(100%, 900px); }
.cover-meta span, .cover-meta b { display: block; }
.cover-meta span { color: #afc1ea; font-size: 10px; }
.cover-meta b { margin-top: 3px; }
.report-cover-footer { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: end; }
.report-cover-footer .cover-meta { grid-template-columns: repeat(3, minmax(120px, auto)); gap: 16px 24px; width: 100%; }
.cover-fixed-note { margin: 18px 0 0; color: #cbd8f4; font-size: 12px; }
.cover-contact-card { padding: 18px; border: 1px solid rgba(255,255,255,.26); background: rgba(9,31,87,.42); }
.cover-contact-card h3 { margin: 0 0 12px; font-size: 15px; }
.cover-contact-card p { margin: 0 0 9px; }
.cover-contact-card span, .cover-contact-card b { display: block; }
.cover-contact-card span { color: #afc1ea; font-size: 10px; }
.cover-contact-card b { color: white; font-size: 12px; overflow-wrap: anywhere; }
.cover-qr { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; }
.cover-qr img { width: 82px; height: 82px; padding: 6px; object-fit: cover; background: white; }
.cover-qr figcaption { margin: 0; color: #dce7ff; font-size: 11px; }
.report-section { padding: 50px 56px; border-bottom: 1px solid var(--line); }
.report-section:last-child { border-bottom: 0; }
.section-kicker { color: var(--primary); font-size: 11px; font-weight: 800; }
.report-section h2 { margin: 5px 0 10px; font-size: 27px; }
.service-plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.service-phase { padding: 18px; border: 1px solid var(--line); border-top: 4px solid var(--primary); }
.service-phase:nth-child(2) { border-top-color: var(--green); }
.service-phase:nth-child(3) { border-top-color: #c97828; }
.service-phase header { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--primary); font-size: 11px; }
.service-phase header span { font-weight: 900; }
.service-phase header b { color: var(--muted); }
.service-phase h3 { min-height: 44px; margin: 10px 0 15px; font-size: 17px; line-height: 1.35; }
.service-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-columns > div { min-width: 0; }
.service-columns b { font-size: 11px; }
.service-columns ul { margin: 7px 0 0; padding-left: 17px; color: var(--muted); font-size: 11px; }
.service-columns li { margin-bottom: 5px; }
.service-phase > p { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.lead { max-width: 900px; color: var(--muted); font-size: 15px; }
.diagnosis-hero { margin-top: 22px; padding: 22px 24px; border: 1px solid var(--line); border-left: 4px solid var(--primary); background: white; }
.diagnosis-hero > span { display: inline-block; padding: 4px 9px; color: white; background: var(--primary); font-size: 11px; font-weight: 800; }
.diagnosis-hero h3 { max-width: 840px; margin: 12px 0 8px; font-size: 25px; line-height: 1.35; }
.diagnosis-hero p { max-width: 920px; margin: 0; color: var(--muted); font-size: 15px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.problem-card { min-height: 230px; padding: 17px; border: 1px solid #e6eaf2; border-top: 3px solid var(--line-strong); background: white; }
.problem-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; }
.problem-card-top b { padding: 3px 7px; color: var(--muted); background: #eef1f6; font-weight: 800; }
.problem-card-top b.severity-high { color: var(--red); background: var(--red-soft); }
.problem-card-top b.severity-medium { color: var(--amber); background: var(--amber-soft); }
.problem-card-top b.severity-low { color: var(--green); background: var(--green-soft); }
.problem-card-top b.severity-improve { color: var(--primary); background: var(--soft-blue); }
.problem-card h3 { margin: 14px 0 9px; font-size: 16px; line-height: 1.45; }
.problem-card p { margin: 0; color: var(--muted); }
.problem-card .problem-evidence { margin-bottom: 9px; color: var(--primary); font-weight: 800; }
.evidence-kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; border: 1px solid var(--line); }
.evidence-kpis > div { min-width: 0; min-height: 86px; padding: 14px; border-right: 1px solid var(--line); overflow-wrap: anywhere; }
.evidence-kpis > div:last-child { border-right: 0; }
.evidence-kpis span, .evidence-kpis b { display: block; }
.evidence-kpis span { color: var(--muted); font-size: 10px; }
.evidence-kpis b { margin-top: 5px; color: var(--navy); font-size: 22px; }
.evidence-kpis b.warn { color: var(--red); }
.score-bars { margin-top: 18px; padding: 18px; border: 1px solid var(--line); background: #fafcff; }
.score-bars-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.score-bars-head b { font-size: 14px; }
.score-bars-head span { color: var(--muted); font-size: 11px; }
.score-bars-head span b { color: var(--red); font-size: 13px; }
.score-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 64px; gap: 12px; align-items: center; margin: 9px 0; }
.score-row > span { color: #4a5670; font-size: 12px; }
.score-row .progress { width: 100%; height: 10px; }
.score-row .progress-line small { width: auto; text-align: right; font-weight: 700; color: var(--navy); }
.score-row.score-rank { grid-template-columns: 200px 1fr; }
.score-row.score-rank b { font-size: 15px; color: var(--primary); }
.evidence-chip { margin: 8px 0 0; padding: 6px 9px; color: var(--primary-dark); background: var(--soft-blue); border-left: 3px solid var(--primary); font-size: 11px; font-weight: 700; border-radius: 0 4px 4px 0; overflow-wrap: anywhere; }
.opportunity-note { margin-top: 18px; padding: 16px 18px; border: 1px solid #b9dfcf; border-left: 4px solid var(--green); background: var(--green-soft); }
.opportunity-note b { display: block; margin-bottom: 6px; color: var(--green); font-size: 14px; }
.opportunity-note p { margin: 0; color: var(--muted); font-size: 13px; }
.review-summary { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--primary); background: white; }
.review-summary span { color: var(--primary); font-size: 11px; font-weight: 800; }
.review-summary p { margin: 6px 0 0; font-size: 15px; line-height: 1.7; }
.review-groups { display: grid; gap: 12px; margin-top: 16px; }
.review-group { padding: 15px 17px; border: 1px solid var(--line); background: white; }
.review-group.positive { border-left: 4px solid var(--green); }
.review-group.neutral { border-left: 4px solid var(--amber); }
.review-group.negative { border-left: 4px solid var(--red); }
.review-group-head { display: flex; align-items: center; gap: 7px; font-weight: 800; }
.review-group.positive .review-group-head { color: var(--green); }
.review-group.neutral .review-group-head { color: var(--amber); }
.review-group.negative .review-group-head { color: var(--red); }
.review-item { margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--line); }
.review-item p { margin: 0; font-size: 13px; line-height: 1.7; }
.review-platforms { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.review-platforms span { padding: 1px 7px; border-radius: 3px; color: var(--muted); background: #f0f3f9; font-size: 10px; }
.review-quotes { margin-top: 16px; }
.review-quotes summary { color: var(--primary); cursor: pointer; font-size: 12px; font-weight: 700; }
.review-quote { margin-top: 10px; padding: 11px 13px; border-left: 3px solid var(--line-strong); background: #fafcff; }
.review-quote b { font-size: 11px; color: var(--primary); }
.review-quote p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.report-contact-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; padding: 22px 26px; border: 1px solid var(--line); border-top: 3px solid var(--primary); background: #fafcff; }
.footer-contact-info { flex: 1; min-width: 0; }
.footer-contact-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.footer-contact-head b { font-size: 16px; color: var(--navy); }
.footer-contact-head span { color: var(--primary); font-size: 11px; font-weight: 800; }
.footer-contact-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 6px 22px; }
.footer-contact-rows p { margin: 0; color: var(--muted); font-size: 12px; }
.footer-contact-rows p span { display: inline-block; width: 46px; color: var(--primary); font-weight: 800; }
.footer-contact-rows p b { color: var(--navy); font-weight: 700; overflow-wrap: anywhere; }
.footer-qr { margin: 0; text-align: center; }
.footer-qr img { width: 84px; height: 84px; border: 1px solid var(--line); border-radius: 6px; object-fit: contain; }
.footer-qr figcaption { margin-top: 6px; color: var(--muted); font-size: 11px; }
.business-risk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.business-risk { min-height: 170px; padding: 18px; border: 1px solid #eadbbd; border-left: 3px solid #c57a09; background: #fffdf8; }
.business-risk > span { color: #c57a09; font-size: 19px; font-weight: 900; }
.business-risk h3 { margin: 12px 0 7px; font-size: 16px; }
.business-risk p { margin: 0; color: #6d5a32; }
.focus-banner { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: center; margin-top: 18px; padding: 18px; border: 1px solid #d5e0f5; color: var(--navy); background: #f4f8ff; }
.focus-banner b { font-size: 16px; }
.focus-banner p { margin: 0; color: var(--muted); }
.score-layout { display: grid; grid-template-columns: 210px 1fr; gap: 38px; align-items: center; margin-top: 28px; }
.score-ring { width: 190px; height: 190px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--primary) var(--score), #e8edf6 0); }
.score-ring::before { content: ""; grid-area: 1/1; width: 142px; height: 142px; border-radius: 50%; background: white; }
.score-value { position: relative; grid-area: 1/1; text-align: center; }
.score-value b { display: block; font-size: 43px; }
.score-value span { color: var(--muted); }
.report-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.report-kpi { min-height: 106px; padding: 15px; border: 1px solid var(--line); }
.report-kpi span { color: var(--muted); font-size: 11px; }
.report-kpi b { display: block; margin-top: 8px; font-size: 24px; }
.insight-list { display: grid; gap: 9px; margin-top: 20px; }
.insight { padding: 13px 15px; border-left: 3px solid var(--cyan); background: #f2f9fd; }
.uplift-band { margin-top: 25px; padding: 22px 24px; border: 1px solid #c9d6f0; color: var(--navy); background: var(--soft-blue); }
.uplift-band h3 { margin: 0 0 8px; font-size: 20px; }
.uplift-band p { margin: 0 0 18px; color: var(--muted); }
.uplift-scale { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.uplift-track { position: relative; height: 12px; background: #d9e2f3; }
.uplift-track span { display: block; height: 100%; background: var(--green); }
.uplift-band small { display: block; margin-top: 13px; color: var(--muted-2); }
.sales-callout { margin-top: 22px; padding: 18px; border: 1px solid #a9bee9; background: var(--soft-blue); }
.sales-callout b { color: var(--primary-dark); }
.sales-callout p { margin: 7px 0 0; font-size: 15px; }
.recommendations { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.recommendation { display: grid; grid-template-columns: 68px 1fr 220px; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.recommendation .priority { width: max-content; height: max-content; padding: 4px 8px; color: white; background: var(--primary); font-weight: 800; }
.recommendation h3 { margin: 0 0 5px; font-size: 16px; }
.recommendation p { margin: 0; color: var(--muted); }
.recommendation aside { padding-left: 15px; border-left: 2px solid var(--green); color: var(--green); font-weight: 700; }
.recommendation .service-approach { margin-top: 9px; color: var(--primary); font-weight: 700; }
.next-step-band { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; margin-top: 18px; padding: 18px 20px; border: 1px solid #b9c8ec; background: #fbfcff; }
.next-step-band span { color: var(--primary); font-size: 11px; font-weight: 800; }
.next-step-band b { font-size: 16px; line-height: 1.6; }
.next-step-band.final { border-color: #b9dfcf; background: #fbfefc; }
.next-step-band.final span { color: var(--green); }
.answer-toggle { padding: 3px 9px; border: 1px solid #c9d6f0; border-radius: 4px; color: var(--primary); background: white; font-size: 12px; font-weight: 700; cursor: pointer; }
.answer-toggle:hover { background: var(--soft-blue); }
.answer-toggle.open { color: white; background: var(--primary); border-color: var(--primary); }
.answer-expand td { padding: 0; border: 0; }
.answer-expand-inner { padding: 14px 18px; background: #fafcff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.answer-text { padding: 12px 14px; color: var(--muted); background: #f7f9fc; overflow-wrap: anywhere; }
.answer-text.md { white-space: normal; font-size: 12px; line-height: 1.7; }
.answer-text.md p { margin: 0 0 8px; }
.answer-text.md p:last-child { margin-bottom: 0; }
.answer-text.md h1, .answer-text.md h2, .answer-text.md h3, .answer-text.md h4 { margin: 12px 0 6px; color: var(--navy); line-height: 1.4; }
.answer-text.md h1 { font-size: 16px; }
.answer-text.md h2 { font-size: 15px; }
.answer-text.md h3 { font-size: 14px; }
.answer-text.md h4 { font-size: 13px; }
.answer-text.md ul, .answer-text.md ol { margin: 6px 0; padding-left: 20px; }
.answer-text.md li { margin: 3px 0; }
.answer-text.md pre { overflow-x: auto; padding: 10px 12px; color: #e8edf7; background: #232f4e; border-radius: 5px; font-size: 11px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.answer-text.md code { padding: 1px 4px; border-radius: 3px; background: #eef1f8; font-family: Consolas, "Courier New", monospace; font-size: 11px; }
.answer-text.md pre code { padding: 0; background: none; color: inherit; }
.answer-text.md blockquote { margin: 8px 0; padding: 6px 12px; border-left: 3px solid var(--primary); background: var(--soft-blue); }
.answer-text.md blockquote p { margin: 0; }
.answer-text.md a { color: var(--primary); }
.answer-text.md hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }
.answer-text.md .md-table { overflow-x: auto; }
.answer-text.md table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 11px; }
.answer-text.md th, .answer-text.md td { padding: 6px 8px; border: 1px solid var(--line); text-align: left; }
.answer-text.md th { background: #f4f7fc; }

.admin-layout { display: grid; grid-template-columns: 360px minmax(0,1fr); gap: 18px; align-items: start; }
.system-model-panel { border-top: 3px solid var(--green); }
.system-model-status, .form-actions, .system-purpose-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.system-purpose-row { margin-bottom: 17px; padding: 11px 13px; background: var(--green-soft); }
.system-purpose-row > span { color: var(--green); font-size: 11px; font-weight: 800; }
.system-purpose-row > b { padding: 4px 8px; border: 1px solid #b9dfcf; color: var(--green); background: white; font-size: 11px; }
.system-purpose-row > small { margin-left: auto; color: var(--muted); }
.system-model-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 14px; align-items: end; }
.system-model-grid .field:nth-child(4) { grid-column: span 2; }
.system-enable { min-height: 40px; display: flex; align-items: center; gap: 9px; margin-bottom: 15px; padding: 7px 10px; border: 1px solid var(--line); cursor: pointer; }
.system-enable b, .system-enable small { display: block; }
.system-enable small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.form-actions { padding-top: 4px; }
.form-actions > span { margin-left: 4px; }
.section-divider { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 28px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.section-divider h2 { margin: 0 0 3px; font-size: 19px; }
.section-divider p { margin: 0; color: var(--muted); font-size: 12px; }
.section-divider.compact { margin-top: 6px; }
.check-group { display: flex; flex-wrap: wrap; gap: 8px; }
.check-pill { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 5px; }
.settings-layout { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 18px; align-items: start; }
.settings-preview { position: sticky; top: 86px; }
.settings-preview-doc { padding: 14px; overflow: hidden; background: #e9eef6; }
.settings-preview-doc .report-cover { min-height: 540px; padding: 38px; }
.settings-preview-doc .report-cover h1 { font-size: 30px; }
.settings-preview-doc .report-cover-footer { grid-template-columns: 1fr; gap: 18px; }
.settings-preview-doc .report-cover-footer .cover-meta { grid-template-columns: 1fr 1fr; gap: 12px; }
.settings-preview-doc .cover-contact-card { max-width: none; }
.qr-uploader { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; margin: 2px 0 18px; }
.qr-preview { width: 120px; height: 120px; display: grid; place-items: center; border: 1px dashed var(--line-strong); background: #f7f9fc; color: var(--muted); font-size: 12px; }
.qr-preview img { width: 100%; height: 100%; object-fit: cover; }
.clear-qr { width: max-content; margin-top: 8px; cursor: pointer; }

.toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; max-width: 360px; padding: 11px 15px; border-radius: 6px; color: white; background: var(--navy); box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: var(--red); }

.mobile-menu { display: none; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.loading-line { height: 3px; overflow: hidden; background: #dbe4f5; }
.loading-line::after { content: ""; display: block; width: 35%; height: 100%; background: var(--primary); animation: load 1s infinite ease-in-out; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(310%); } }

@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .split, .admin-layout { grid-template-columns: 1fr; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-preview { position: static; }
  .system-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-list { grid-template-columns: 1fr 1fr; }
  .service-plan { grid-template-columns: 1fr; }
  .report-filters form { grid-template-columns: minmax(240px, 1fr) repeat(2, minmax(140px, .6fr)); }
  .model-grid { grid-template-columns: 1fr 1fr; }
  .login-page { grid-template-columns: 1fr; }
  .login-panel { width: 100%; margin: auto; }
  .login-visual { display: none; }
}

@media (max-width: 760px) {
  :root { --sidebar: 0px; }
  .sidebar { transform: translateX(-100%); width: 232px; transition: transform .2s; }
  .sidebar.open { transform: translateX(0); }
  .main-area { margin-left: 0; }
  .mobile-menu { display: grid; }
  .topbar { height: auto; min-height: 62px; padding: 10px 14px; }
  .topbar-title span, .user-meta { display: none; }
  .topbar-actions { gap: 6px; }
  .user-button { gap: 5px; padding-left: 6px; }
  #logout { padding: 7px 8px; white-space: nowrap; }
  .edition-switch button { min-width: 69px; padding: 6px 7px; }
  .content { padding: 18px 13px; }
  .page-head { align-items: start; flex-direction: column; }
  .stat-grid, .mode-grid, .equal-split, .report-list, .form-grid { grid-template-columns: 1fr; }
  .report-filters form { grid-template-columns: 1fr; }
  .system-model-grid { grid-template-columns: 1fr; }
  .system-model-grid .field:nth-child(4) { grid-column: auto; }
  .system-purpose-row > small { width: 100%; margin-left: 0; }
  .cover-meta { grid-template-columns: 1fr 1fr; width: 100%; }
  .service-columns { grid-template-columns: 1fr; }
  .pagination { grid-template-columns: 1fr; justify-items: center; }
  .pagination > label { justify-self: center; }
  .form-grid .wide { grid-column: auto; }
  .model-grid { grid-template-columns: 1fr; }
  .question-row { grid-template-columns: 28px 70px 1fr; padding: 8px; }
  .start-bar { align-items: stretch; flex-direction: column; }
  .start-button { width: 100%; }
  .report-view { margin: -18px -13px; padding: 0; }
  .report-toolbar { top: 62px; margin: 0; border-radius: 0; }
  .report-cover { min-height: 500px; padding: 38px 24px; }
  .report-cover h1 { font-size: 31px; }
  .cover-meta { width: auto; grid-template-columns: 1fr; gap: 9px; }
  .report-cover-footer { grid-template-columns: 1fr; }
  .report-cover-footer .cover-meta { grid-template-columns: 1fr; }
  .cover-contact-card { padding: 14px; }
  .qr-uploader { grid-template-columns: 1fr; }
  .report-section { padding: 34px 22px; }
  .score-layout { grid-template-columns: 1fr; }
  .score-ring { margin: auto; }
  .report-kpis { grid-template-columns: 1fr 1fr; }
  .problem-grid, .business-risk-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: auto; }
  .evidence-kpis { grid-template-columns: 1fr 1fr; }
  .evidence-kpis > div:nth-child(2) { border-right: 0; }
  .evidence-kpis > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .focus-banner, .next-step-band { grid-template-columns: 1fr; gap: 6px; }
  .recommendation { grid-template-columns: 54px 1fr; }
  .recommendation aside { grid-column: 2; }
  .score-bars-head { flex-direction: column; gap: 4px; }
  .score-row { grid-template-columns: 1fr; gap: 3px; }
  .score-row .progress-line small { text-align: left; }
  .score-row.score-rank { grid-template-columns: 1fr; }
  .answer-expand { display: none; }
.answer-expand:not([hidden]) { display: table-row; }
  .answer-text { font-size: 11px; }
  .login-panel { padding: 34px 24px; }
}

@media print {
  @page { size: A4 landscape; margin: 0; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  html, body { background: white; }
  .sidebar, .topbar, .report-toolbar, .toast { display: none !important; }
  .main-area { margin: 0; }
  .content, .report-view { margin: 0; padding: 0; width: 100%; max-width: none; }
  .report-document { max-width: none; box-shadow: none; width: 100%; }
  .report-cover { min-height: auto; height: 209mm; overflow: hidden; page-break-after: always; }
  .report-section { page-break-inside: avoid; }
  .report-section.questions { page-break-inside: auto; }
  @media print {
  .answer-expand { display: none !important; }
  .answer-toggle { display: none; }
  .questions th:last-child, .questions td:last-child { display: none; }
  tr { page-break-inside: avoid; }
  .print-view { width: 100%; }
  .print-view .report-section, .report-contact-footer { page-break-inside: avoid; }
  .review-quotes summary { display: none; }
  .review-quotes > div { display: block !important; }
}
}

/* ── 组合词工具（检测台） ── */
.combo-tool { display: grid; gap: 14px; padding: 14px 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.combo-tool.hidden { display: none; }
.combo-block { display: grid; gap: 8px; }
.combo-head { display: flex; align-items: baseline; gap: 8px; }
.combo-head b { font-size: 13px; }
.combo-head small { color: var(--muted); font-size: 11px; }
.industry-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.industry-chips .chip { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 999px; padding: 6px 14px; font-size: 12px; cursor: pointer; color: var(--text); transition: border-color 160ms, color 160ms; }
.industry-chips .chip:hover { border-color: var(--primary); color: var(--primary); }
.slot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.combo-slot { display: grid; gap: 4px; }
.combo-slot > span { font-size: 12px; color: var(--muted); display: flex; align-items: baseline; gap: 6px; }
.combo-slot > span small { font-size: 10px; opacity: .8; }
.combo-slot input { padding: 7px 9px; font-size: 12px; }
.combo-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.combo-actions { display: flex; align-items: center; gap: 10px; }

/* ── 问题生成词库（管理页） ── */
.question-bank-panel { margin-top: 18px; }
.bank-section { display: grid; gap: 8px; margin-bottom: 16px; }
.bank-section > b { font-size: 13px; }
.bank-section > small { color: var(--muted); font-size: 11px; }
.bank-table { display: grid; gap: 6px; }
.bank-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; align-items: center; }
.bank-row .bank-id { font-weight: 700; font-size: 12px; color: var(--muted); white-space: nowrap; }
.bank-row input, .bank-row textarea { padding: 6px 8px; font-size: 12px; }
.bank-row textarea { min-height: 34px; }
.bank-row code { font-size: 11px; color: var(--primary); white-space: nowrap; }

/* ── 问题列表查看更多 ── */
.question-more { display: flex; justify-content: center; padding: 24px 0 4px; }

/* ── 品牌英文名提示 ── */
.brand-en-note { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 10px; color: var(--muted); font-size: 12px; }
.brand-en-note b { color: var(--primary); }
.brand-en-note small { font-size: 11px; opacity: .85; }

/* ── 问题翻译展示 ── */
.question-zh { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }

/* ── 平台模板快捷填充 ── */
.model-presets { display: grid; gap: 10px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.model-presets .combo-head { display: flex; align-items: baseline; gap: 10px; }
.model-presets .combo-head b { font-size: 13px; }
.model-presets .combo-head small { color: var(--muted); font-size: 11px; }

/* ── 报告竞品对比 ── */
.competitor-compare { margin-top: 18px; display: grid; gap: 10px; }
.compare-row { display: grid; grid-template-columns: 220px 1fr 56px; gap: 12px; align-items: center; font-size: 13px; }
.compare-row > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.compare-row .progress-line { display: grid; grid-template-columns: 1fr 40px; gap: 8px; align-items: center; }
.competitor-table { table-layout: fixed; }
.competitor-table th:nth-child(1) { width: 34%; }
.competitor-table th:nth-child(2) { width: 14%; }
.competitor-table th:nth-child(3) { width: 52%; }
.competitor-rate { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; align-items: center; }
.competitor-rate .progress { width: 100%; }
.competitor-rate small { width: auto; text-align: right; font-weight: 700; color: var(--navy); }
.brand-row td { background: var(--soft-blue); border-color: #d5e0f5; }
.brand-row .progress span { background: var(--primary-dark); }
.brand-tag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 3px; color: var(--primary); background: white; border: 1px solid #c9d6f0; font-size: 10px; font-weight: 700; vertical-align: 1px; }
