:root {
  --blue: #1A3C8F;
  --blue-600: #2451B8;
  --blue-50: #EEF3FC;
  --blue-100: #DCE6F8;
  --text: #1F2937;
  --text-2: #5B6675;
  --text-3: #8A94A6;
  --line: #E6EAF2;
  --bg: #FFFFFF;
  --bg-soft: #F7F9FC;
  --green: #17795E;
  --green-50: #E8F5F0;
  --amber: #B7791F;
  --amber-50: #FDF6E7;
  --red: #B42318;
  --red-50: #FDECEA;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 14px rgba(16, 24, 40, .04);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg-soft);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }

/* ------------------------------- 登录页 ------------------------------- */
.login-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #FFFFFF 0%, #F2F6FC 100%); padding: 24px; }
.login-wrap { width: 100%; max-width: 420px; }
.login-brand { text-align: center; margin-bottom: 24px; }
.brand-mark { font-size: 34px; font-weight: 700; letter-spacing: 4px; color: var(--blue); }
.brand-mark.small { font-size: 20px; letter-spacing: 2px; }
.brand-sub { color: var(--blue); font-size: 13px; letter-spacing: 1px; margin-top: 2px; }
.brand-desc { color: var(--text-3); font-size: 13px; margin: 12px 0 0; }
.login-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.tab-row { display: flex; gap: 8px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tab-btn { flex: 1; background: none; border: none; padding: 10px 4px; font-size: 14px; color: var(--text-3); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px;
  font-family: inherit; color: var(--text); background: #fff; outline: none; transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue-600); }
input[type="file"] { padding: 9px 12px; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; }
.code-row .btn { white-space: nowrap; }
.field-error { color: var(--red); font-size: 12px; margin-top: 6px; min-height: 0; }
.form-error { color: var(--red); font-size: 13px; margin-top: 10px; min-height: 18px; text-align: center; }
.form-hint { color: var(--green); font-size: 13px; margin-top: 6px; text-align: center; }
.login-note { color: var(--text-3); font-size: 12px; margin: 16px 0 0; text-align: center; line-height: 1.7; }
.panel-title { margin: 0 0 6px; font-size: 16px; }
.panel-desc { color: var(--text-2); font-size: 13px; margin: 0 0 16px; }

/* ------------------------------- 按钮 ------------------------------- */
.btn { border: 1px solid transparent; border-radius: 8px; padding: 9px 16px; font-size: 14px; cursor: pointer; font-family: inherit; transition: all .15s; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--blue-600); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue-100); }
.btn-outline:hover:not(:disabled) { border-color: var(--blue); background: var(--blue-50); }
.btn-text { background: none; color: var(--text-2); border: none; }
.btn-text:hover { color: var(--blue); }
.btn-danger { background: #fff; color: var(--red); border-color: #F3C7C2; }
.btn-danger:hover { background: var(--red-50); }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 13px; }

/* ------------------------------- 布局 ------------------------------- */
.topbar { height: 60px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; position: sticky; top: 0; z-index: 40; }
.topbar-left { display: flex; align-items: center; gap: 10px; }
.topbar-title .t1 { font-size: 15px; font-weight: 700; color: var(--blue); line-height: 1.2; }
.topbar-title .t2 { font-size: 11px; color: var(--text-3); }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.user-name { font-size: 13px; color: var(--text-2); }
.role-badge { font-size: 11px; padding: 2px 8px; border-radius: 20px; background: var(--blue-50); color: var(--blue); }
.role-badge.admin { background: #FDF1E3; color: var(--amber); }
.nav-toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.shell { display: flex; min-height: calc(100vh - 60px); }
.sidebar { width: 208px; flex: 0 0 208px; background: #fff; border-right: 1px solid var(--line); padding: 16px 12px; }
.nav-item { display: block; width: 100%; text-align: left; background: none; border: none; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--text-2); cursor: pointer; margin-bottom: 2px; font-family: inherit; }
.nav-item:hover { background: var(--bg-soft); }
.nav-item.active { background: var(--blue-50); color: var(--blue); font-weight: 600; }
.nav-group { font-size: 11px; color: var(--text-3); padding: 12px 12px 6px; letter-spacing: .5px; }
.view { flex: 1; padding: 24px; min-width: 0; }
.page { max-width: 1180px; margin: 0 auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.page-title { font-size: 20px; font-weight: 700; margin: 0; }
.page-desc { color: var(--text-3); font-size: 13px; margin: 4px 0 0; }

/* ------------------------------- 卡片 ------------------------------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.card-title { font-size: 15px; font-weight: 700; margin: 0 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.stat-label { color: var(--text-3); font-size: 12px; }
.stat-value { font-size: 26px; font-weight: 700; color: var(--blue); line-height: 1.3; }
.stat-sub { font-size: 12px; color: var(--text-3); }

.empty { text-align: center; color: var(--text-3); padding: 48px 16px; font-size: 14px; }
.muted { color: var(--text-3); }
.small-text { font-size: 12px; color: var(--text-2); }

/* ------------------------------- 表格 ------------------------------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th, table.data td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data th { color: var(--text-3); font-weight: 500; font-size: 12px; background: var(--bg-soft); }
table.data tbody tr:hover { background: #FAFBFE; }
table.data td.wrap-cell { white-space: normal; min-width: 220px; }
.row-link { color: var(--blue); cursor: pointer; }

/* ------------------------------- 上传页 ------------------------------- */
.upload-drop { border: 2px dashed var(--blue-100); border-radius: var(--radius); padding: 28px; text-align: center; background: var(--bg-soft); cursor: pointer; }
.upload-drop:hover { border-color: var(--blue-600); }
.file-chip { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 8px; padding: 12px 14px; margin-top: 12px; }
.progress { height: 8px; background: #EDF0F6; border-radius: 20px; overflow: hidden; margin-top: 12px; }
.progress-bar { height: 100%; background: var(--blue); width: 0; transition: width .25s; }
.steps { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.step { flex: 1; min-width: 120px; border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #fff; }
.step.done { border-color: #B7E0D2; background: var(--green-50); }
.step.active { border-color: var(--blue-100); background: var(--blue-50); }
.step.error { border-color: #F3C7C2; background: var(--red-50); }
.step-title { font-size: 13px; font-weight: 600; }
.step-desc { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* ------------------------------- 复盘报告 ------------------------------- */
.report-grid { display: grid; grid-template-columns: minmax(320px, 44%) 1fr; gap: 16px; align-items: start; }
.report-col { max-height: calc(100vh - 108px); overflow-y: auto; padding-right: 4px; }
.player-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.player-box audio { width: 100%; margin-top: 8px; }
.transcript { margin-top: 16px; }
.seg { display: flex; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; align-items: flex-start; }
.seg:hover { background: var(--bg-soft); }
.seg.active { background: var(--blue-50); }
.seg-time { font-size: 12px; color: var(--blue); font-variant-numeric: tabular-nums; cursor: pointer; min-width: 46px; padding-top: 1px; }
.seg-body { flex: 1; }
.seg-speaker { font-size: 11px; color: var(--text-3); margin-bottom: 1px; }
.seg-text { font-size: 13px; }
.seg.interviewer .seg-speaker { color: var(--blue); }
.seg.candidate .seg-speaker { color: var(--amber); }

.score-hero { display: flex; align-items: center; gap: 18px; }
.score-num { font-size: 40px; font-weight: 700; color: var(--blue); line-height: 1; }
.score-meta { font-size: 13px; color: var(--text-2); }
.dim-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.dim-name { width: 92px; font-size: 13px; color: var(--text-2); flex: none; }
.dim-bar { flex: 1; height: 8px; background: #EDF0F6; border-radius: 20px; overflow: hidden; }
.dim-fill { height: 100%; background: var(--blue); border-radius: 20px; }
.dim-score { width: 54px; text-align: right; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.dim-reason { font-size: 12px; color: var(--text-2); margin: 0 0 14px 102px; }
.dim-missed { color: var(--amber); font-size: 12px; }
blockquote.quote { margin: 6px 0; padding: 8px 12px; border-left: 3px solid var(--blue-100); background: var(--bg-soft); border-radius: 0 8px 8px 0; font-size: 13px; }
blockquote.quote.cand { border-left-color: #E9C46A; }
.sec-title { font-size: 14px; font-weight: 700; margin: 18px 0 8px; display: flex; align-items: center; gap: 8px; }
.sec-title .idx { width: 20px; height: 20px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
ul.clean { margin: 0; padding-left: 18px; }
ul.clean li { margin-bottom: 6px; }
.correction { border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 12px; background: #fff; }
.correction.hl { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 60, 143, .08); }
.correction-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.time-chip { background: var(--blue-50); color: var(--blue); font-size: 12px; padding: 2px 10px; border-radius: 20px; cursor: pointer; font-variant-numeric: tabular-nums; }
.tag { font-size: 11px; padding: 2px 8px; border-radius: 4px; background: var(--bg-soft); color: var(--text-2); }
.tag.good { background: var(--green-50); color: var(--green); }
.tag.warn { background: var(--amber-50); color: var(--amber); }
.tag.bad { background: var(--red-50); color: var(--red); }
.script-box { background: var(--green-50); border: 1px solid #CBE6DC; border-radius: 8px; padding: 12px; margin-top: 8px; font-size: 13px; }
.review-item { border-top: 1px dashed var(--line); padding: 10px 0; }
.review-meta { font-size: 12px; color: var(--text-3); }

/* ------------------------------- 弹窗 / 提示 ------------------------------- */
.modal-mask { position: fixed; inset: 0; background: rgba(16, 24, 40, .45); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal { background: #fff; border-radius: 14px; padding: 24px; width: 100%; max-width: 460px; box-shadow: 0 20px 50px rgba(16, 24, 40, .18); max-height: 90vh; overflow-y: auto; }
.modal h3 { margin: 0 0 12px; font-size: 16px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.toast-root { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: #1F2937; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 13px; box-shadow: var(--shadow); animation: fade .2s ease; }
.toast.ok { background: var(--green); }
.toast.err { background: var(--red); }
@keyframes fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; margin-right: 6px; }
.spinner.dark { border-color: var(--blue-100); border-top-color: var(--blue); }
@keyframes spin { to { transform: rotate(360deg); } }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filter-bar select, .filter-bar input { width: auto; min-width: 130px; }

.chart-legend { display: flex; gap: 14px; font-size: 12px; color: var(--text-2); margin-top: 6px; }
.chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; }

/* ------------------------------- 移动端 ------------------------------- */
@media (max-width: 900px) {
  .report-grid { grid-template-columns: 1fr; }
  .report-col { max-height: none; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .topbar { padding: 0 12px; }
  .topbar-title { display: none; }
  .nav-toggle { display: block; }
  .shell { flex-direction: column; }
  .sidebar { width: 100%; flex: none; border-right: none; border-bottom: 1px solid var(--line); display: none; padding: 8px; }
  .sidebar.open { display: block; }
  .view { padding: 14px; }
  .grid-4, .grid-3, .grid-2, .form-row { grid-template-columns: 1fr; }
  .page-title { font-size: 18px; }
}

/* ------------------------------- 打印 / 导出 PDF ------------------------------- */
@media print {
  body { background: #fff; }
  .topbar, .sidebar, .nav-toggle, .no-print, .report-actions, #toast-root { display: none !important; }
  .view { padding: 0; }
  .report-grid { display: block; }
  .report-col { max-height: none; overflow: visible; }
  .card { box-shadow: none; border-color: #DDD; page-break-inside: avoid; }
  .seg:hover { background: none; }
}

/* 面镜 1.1 · 清爽专业 / 以报告阅读为中心 */
:root {
  --blue: #254b84; --blue-600: #1c3d70; --blue-50: #eff4fb; --blue-100: #dce7f5;
  --text: #24334a; --text-2: #5f6f83; --text-3: #6f7e90;
  --line: #e5eaf0; --bg-soft: #f4f6f9; --radius: 16px;
  --shadow: 0 3px 16px rgba(28, 49, 79, .025);
}
body { font-size: 14px; line-height: 1.75; }
button, input, select, textarea { font: inherit; }
button, summary, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #8cb0e0; outline-offset: 3px; }
.btn { font-size: 13px; font-weight: 550; border-radius: 9px; padding: 9px 15px; }
.btn-primary { box-shadow: 0 3px 6px rgba(37, 75, 132, .09); }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-text { box-shadow: none; }
input, select, textarea { border-radius: 9px; }
input::placeholder, textarea::placeholder { color: #8b97a6; }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 3px var(--blue-50); }
.topbar { height: 72px; padding: 0 28px; }
.topbar-title .t1 { display: none; }
.topbar-title .t2 { font-size: 12px; border-left: 1px solid var(--line); padding-left: 16px; margin-left: 8px; }
.brand-mark.small { font-size: 23px; letter-spacing: 3px; }
.shell { min-height: calc(100vh - 72px); }
.sidebar { width: 216px; flex-basis: 216px; padding: 24px 16px; }
.nav-group { color: #8b97a6; margin-bottom: 10px; font-size: 11px; letter-spacing: 2px; }
.nav-item { font-size: 13px; margin-bottom: 6px; padding: 11px 14px; }
.nav-item.active { box-shadow: inset 3px 0 0 var(--blue); }
.view { padding: 32px; }
.page { max-width: 1280px; }
.page-head { margin-bottom: 24px; align-items: center; }
.page-title { font-size: 25px; letter-spacing: -.5px; }
.page-desc { color: var(--text-2); margin-top: 7px; line-height: 1.8; }
.card { padding: 24px; }
.card-title { font-size: 15px; }
.stat { padding: 22px; }
.stat-value { font-size: 32px; margin: 5px 0; letter-spacing: -1px; }
.stat-label { font-size: 12px; color: var(--text-2); }
.stat-sub { font-size: 11px; }
.tag { border-radius: 6px; font-weight: 500; display: inline-block; }
.login-screen { background: radial-gradient(ellipse at 50% 0%, #e9f0fa, transparent 65%), #f5f7fa; }
.login-wrap { max-width: 440px; }
.login-brand { margin-bottom: 32px; }
.login-brand .brand-mark { font-size: 42px; letter-spacing: 8px; }
.login-card { padding: 30px; border-radius: 20px; box-shadow: 0 12px 48px rgba(27, 52, 87, .05); }
.brand-desc { color: var(--text-2); }
.upload-drop { padding: 48px 24px; background: #f8fafd; border-width: 1px; }
.upload-drop:hover { background: var(--blue-50); }
table.data th { background: #f8fafd; }
table.data th, table.data td { padding: 14px 12px; }
.empty { color: var(--text-2); }
.button-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.eyebrow { display: block; font-size: 10px; font-weight: 650; color: #6d819d; letter-spacing: 1.5px; margin-bottom: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.title-divider { color: #bdc8d6; font-weight: 350; margin: 0 10px; }
.report-header .page-title { font-size: 26px; }
.report-header .tag { vertical-align: 1px; margin-left: 6px; }
.report-directory { position: sticky; top: 72px; z-index: 30; display: flex; gap: 4px; background: rgba(244,246,249,.97); padding: 10px 0 14px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.report-directory button { border: 0; background: transparent; padding: 8px 13px; border-radius: 8px; white-space: nowrap; color: var(--text-2); font-size: 12px; cursor: pointer; }
.report-directory button.active { color: var(--blue); background: #e6edf7; font-weight: 600; }
.report-directory button:hover { background: #eaf0f8; }
.report-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.report-main { min-width: 0; }
.report-main > .card + .card { margin-top: 20px; }
.report-main > #meta-editor.hidden + .card { margin-top: 0; }
.report-main > section { scroll-margin-top: 150px; }
.report-main h2 { font-size: 17px; font-weight: 650; margin: 0; letter-spacing: -.3px; line-height: 1.5; }
.report-overview { border-top: 3px solid #5278ad; background: linear-gradient(145deg, #fff 65%, #f7faff); }
.overview-heading { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.score-display { display: flex; gap: 7px; align-items: baseline; white-space: nowrap; }
.score-display strong { font-size: 48px; line-height: 1.15; color: var(--blue); letter-spacing: -2px; font-weight: 650; }
.score-display > span { font-size: 12px; color: var(--text-3); }
.summary-lead { font-size: 19px; line-height: 1.75; font-weight: 550; margin: 20px 0 8px; }
.report-meta-line { font-size: 11px; color: var(--text-3); }
.insight-heading { margin: 24px 0 12px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.priority-list { display: grid; gap: 9px; }
.priority-item { display: flex; gap: 12px; padding: 11px 13px; align-items: flex-start; border-radius: 9px; background: #f5f7fa; }
.priority-number { font-size: 11px; color: #8b6a46; background: #f2eade; border-radius: 5px; min-width: 25px; text-align: center; margin-top: 2px; line-height: 25px; }
.priority-item p { margin: 0; font-size: 13px; }
.report-details { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.report-details > summary { cursor: pointer; font-size: 12px; font-weight: 550; color: var(--blue); }
.details-body { padding: 12px 0 3px; color: var(--text-2); font-size: 13px; }
.details-body > p { margin: 0 0 12px; }
.diagnosis-item { padding: 12px 0; border-top: 1px solid var(--line); }
.diagnosis-item > div { display: flex; gap: 10px; justify-content: space-between; }
.diagnosis-item p { margin: 6px 0 0; font-size: 12px; }
.section-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.section-heading p { margin: 5px 0 0; font-size: 12px; color: var(--text-3); }
.section-number { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; flex: none; border: 1px solid var(--line); border-radius: 8px; color: #71829a; font-size: 11px; margin-top: 1px; }
.action-card { border-color: #dce8e4; }
.action-item { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.action-item:first-child { padding-top: 0; }
.action-item > span { width: 23px; height: 23px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #eaf3ef; color: #387c68; font-size: 11px; margin-top: 1px; }
.action-item p { margin: 0; font-size: 13px; }
.followup-box { padding: 15px; background: #f6f9f8; border-radius: 10px; margin-top: 18px; }
.followup-box p { font-size: 13px; margin: 4px 0 0; }
.correction { padding: 18px; border-radius: 12px; margin-bottom: 16px; scroll-margin-top: 150px; }
.correction:last-child { margin-bottom: 0; }
.correction-head { margin-bottom: 16px; }
.correction-label { font-size: 11px; color: var(--text-3); font-weight: 600; }
.time-chip { border: 1px solid #dce7f4; padding: 4px 10px; font-size: 11px; cursor: pointer; font-family: inherit; }
.time-chip:hover { background: #dfeaf8; }
.quote-label { font-size: 10px; color: var(--text-3); margin-top: 10px; }
blockquote.quote { padding: 10px 12px; border-left-width: 2px; margin: 5px 0 10px; background: #f7f9fc; font-size: 13px; }
blockquote.quote.cand { border-left-color: #c6b79c; }
.correction-analysis { font-size: 12px; margin: 16px 0; }
.correction-analysis strong { font-weight: 550; color: var(--text-2); font-size: 11px; }
.correction-analysis p { margin: 5px 0 0; }
.script-box { background: #f0f6f3; border-color: #deebe4; border-radius: 10px; padding: 14px; }
.script-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #397460; }
.script-heading strong { font-size: 11px; font-weight: 600; }
.script-box p { margin: 7px 0 0; line-height: 1.9; }
.training-focus { font-size: 11px; color: var(--text-3); margin-top: 12px; }
.dimension-detail { border-bottom: 1px solid var(--line); }
.dimension-detail > summary { list-style: none; display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 16px 0; }
.dimension-detail > summary::-webkit-details-marker { display: none; }
.dimension-name { width: 110px; font-size: 13px; flex: none; }
.dimension-name small { display: block; color: var(--amber); font-size: 10px; }
.dimension-detail .dim-bar { height: 6px; }
.dim-fill { display: block; }
.dim-score { color: var(--blue); font-weight: 600; }
.dim-score small { color: var(--text-3); font-size: 11px; font-weight: 400; }
.detail-chevron { color: var(--text-3); transition: transform .15s; }
.dimension-detail[open] .detail-chevron { transform: rotate(180deg); }
.candidate-facts { margin: 0; }
.candidate-facts > div { display: grid; grid-template-columns: 135px minmax(0,1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.candidate-facts > div:last-child { border-bottom: 0; }
.candidate-facts dt { color: var(--text-3); font-size: 12px; }
.candidate-facts dd { margin: 0; overflow-wrap: anywhere; }
.report-footnote { font-size: 11px; color: var(--text-3); line-height: 1.8; margin: 18px 0; }
.report-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; padding: 12px 0 30px; }
.danger-text { color: var(--red); }
.evidence-pane { position: sticky; top: 146px; min-width: 0; }
.player-box { padding: 20px 16px 8px; border-radius: 16px; }
.evidence-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.evidence-header h2 { margin: 0; font-size: 15px; font-weight: 650; }
.audio-caption { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; color: var(--text-3); margin-top: 14px; }
.player-box audio { height: 40px; margin: 10px 0 0; display: block; }
.playback-tools { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 9px; font-size: 10px; color: var(--text-3); }
.playback-tools select { width: 70px; font-size: 11px; padding: 3px 5px; border-radius: 6px; }
.audio-notice { padding: 12px; background: var(--bg-soft); border-radius: 8px; margin-top: 12px; font-size: 12px; color: var(--text-2); }
.transcript-search { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.transcript-search input { font-size: 12px; padding: 9px 11px; background: #f8fafc; }
.transcript-search > span { display: block; font-size: 10px; color: var(--text-3); margin: 8px 2px 0; }
.transcript { max-height: max(200px, calc(100dvh - 455px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d9e1ec transparent; margin-top: 10px; }
.seg { gap: 8px; padding: 11px 7px; border-bottom: 1px solid #f0f3f7; border-radius: 6px; }
.seg-time { border: 0; background: transparent; padding: 0; min-width: 38px; text-align: left; color: #6c87a9; font-size: 10px; line-height: 1.8; font-family: inherit; }
.seg-speaker { font-size: 10px; margin-bottom: 3px; }
.seg-text { font-size: 12px; line-height: 1.85; overflow-wrap: anywhere; }
.seg.active { box-shadow: inset 2px 0 0 #678bbd; }
mark { color: inherit; background: #ffebad; border-radius: 2px; }
.report-mobile-tabs { display: none; }
.review-item p { margin: 7px 0; }
#review-input { margin-bottom: 10px; }
.service-status-row { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; }
.service-status-row p { margin: 4px 0 0; }

@media (min-width: 1600px) { .report-layout { grid-template-columns: minmax(0,1fr) 380px; gap: 28px; } }
@media (max-width: 1200px) {
  .sidebar { width: 184px; flex-basis: 184px; padding: 24px 12px; }
  .view { padding: 24px; }
  .report-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 16px; }
  .report-main > .card { padding: 20px; }
  .summary-lead { font-size: 17px; }
  .score-display strong { font-size: 42px; }
}
@media (max-width: 1050px) {
  .report-layout { grid-template-columns: 1fr; }
  .report-mobile-tabs { position: sticky; top: 72px; z-index: 32; display: flex; gap: 6px; background: #f4f6f9; padding: 10px 0; }
  .report-mobile-tabs button { flex: 1; padding: 10px; border: 1px solid var(--line); background: #fff; border-radius: 9px; color: var(--text-2); font-size: 12px; cursor: pointer; }
  .report-mobile-tabs button[aria-selected="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
  .report-directory { top: 137px; padding-top: 6px; }
  .report-page[data-report-tab="report"] .evidence-pane { display: none; }
  .report-page[data-report-tab="evidence"] .report-main,
  .report-page[data-report-tab="evidence"] .report-directory { display: none; }
  .evidence-pane { position: static; }
  .evidence-header h2 { font-size: 17px; }
  .transcript { max-height: calc(100dvh - 405px); min-height: 230px; }
  .seg-text { font-size: 14px; }
  .seg-time { font-size: 12px; min-width: 46px; }
  .report-main > section, .correction { scroll-margin-top: 212px; }
}
@media (max-width: 720px) {
  .topbar { height: 64px; padding: 0 16px; }
  .topbar-right { gap: 6px; }
  .shell { min-height: calc(100vh - 64px); }
  .sidebar { width: 100%; flex-basis: auto; padding: 12px; }
  .view { padding: 20px 14px; }
  .page-title, .report-header .page-title { font-size: 23px; }
  .page-head { align-items: flex-start; gap: 14px; margin-bottom: 18px; }
  .page-desc { font-size: 12px; }
  .report-header .button-row { width: 100%; }
  .report-header .button-row .btn { flex: 1; }
  .report-mobile-tabs { top: 64px; }
  .report-directory { top: 129px; gap: 2px; }
  .report-directory button { padding: 7px 10px; font-size: 11px; }
  .report-main > .card, .card { padding: 20px 17px; border-radius: 13px; }
  .overview-heading { gap: 10px; }
  .report-main h2 { font-size: 16px; }
  .overview-heading h2 { font-size: 15px; }
  .score-display { gap: 4px; }
  .score-display strong { font-size: 38px; }
  .score-display > span { font-size: 10px; }
  .summary-lead { font-size: 17px; margin-top: 18px; }
  .section-heading { gap: 10px; }
  .section-heading p { font-size: 11px; }
  .correction { padding: 13px; }
  .candidate-facts > div { grid-template-columns: 1fr; gap: 5px; }
  .dimension-name { width: 95px; font-size: 12px; }
  .dimension-detail > summary { gap: 8px; }
  .dim-score { width: 48px; font-size: 12px; }
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stat { padding: 17px 14px; }
  .stat-value { font-size: 27px; }
  .login-card { padding: 25px 20px; }
  .transcript { max-height: calc(100dvh - 390px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print {
  @page { margin: 16mm; }
  body { background: #fff; font-size: 11px; }
  .report-layout { display: block; }
  .evidence-pane, .report-directory, .report-mobile-tabs, .report-tools, .report-header .button-row { display: none !important; }
  .report-page .report-main { display: block !important; }
  .report-main > section { break-inside: auto; border-radius: 0; padding: 16px 0; box-shadow: none; border: 0; border-bottom: 1px solid #ddd; }
  .correction, .priority-item, .dimension-detail, .action-item, .candidate-facts > div { break-inside: avoid; }
  .report-main h2 { break-after: avoid; }
  .report-overview { background: #fff; }
  details > summary { list-style: none; }
  .detail-chevron { display: none; }
  .report-main { color: #111; }
  .score-display strong { font-size: 38px; }
  .summary-lead { font-size: 17px; }
}

@media (max-width: 420px) { .topbar { padding: 0 10px; } .topbar-right { gap: 1px; } .topbar-right .btn { padding: 7px 6px; font-size: 11px; } .topbar-right .user-name { max-width: 75px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* 多人面试角色核对 */
.speaker-roles { border:1px solid var(--border, #e3e8ef); border-radius:12px; padding:12px; margin:12px 0; background:var(--surface, #fff); }
.speaker-roles summary { cursor:pointer; font-weight:600; }
.speaker-role-row { border-top:1px solid #e3e8ef; margin:10px 0; padding-top:10px; }
.speaker-role-row select, .seg-speaker select { max-width:140px; padding:4px 6px; border:1px solid #d9e0eb; border-radius:6px; background:#fff; color:#26364b; }
.speaker-role-row label { display:flex; gap:10px; align-items:center; margin-bottom:6px; }
.seg-speaker label { display:inline-flex; gap:4px; align-items:center; margin-left:8px; }
.seg.unknown { border-left:3px solid #94a3b8; }

/* 联萌传媒专属品牌；由精确公司域名和服务端公司上下文启用。 */
.brand-lianmeng .btn-primary { background:linear-gradient(110deg,#e74032,#b12967); border-color:transparent; }
.brand-lianmeng .login-screen { background:radial-gradient(ellipse at 20% 30%,#fff0ed,transparent 58%),radial-gradient(ellipse at 85% 80%,#f7edf5,transparent 55%),#faf8f8; }
.brand-lianmeng .login-wrap { max-width:940px; display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:72px; }
.brand-lianmeng .login-brand { margin:0; }
.brand-lianmeng .login-brand .brand-mark { font-size:0; line-height:0; letter-spacing:0; }
.lianmeng-login-logo { display:block; width:210px; height:195px; object-fit:contain; margin:0 auto -12px; }
.lianmeng-login-mascot { display:block; object-fit:contain; margin:20px auto 0; mix-blend-mode:multiply; }
.brand-lianmeng .login-brand .brand-sub { color:#73344f; letter-spacing:1px; font-weight:600; }
.brand-lianmeng .login-card { border-color:#eee2e7; box-shadow:0 18px 60px #792c4910; }
.brand-lianmeng .topbar .brand-mark { display:flex; align-items:center; gap:6px; letter-spacing:1px; color:#382e39; font-size:18px; white-space:nowrap; }
.brand-lianmeng .topbar .brand-mark img { object-fit:contain; flex-shrink:0; }
.lianmeng-product-name { display:block; margin-top:4px; font-size:10px; letter-spacing:1px; font-weight:400; color:#8b7882; }
.brand-lianmeng .topbar-title { display:none; }
.lianmeng-welcome { display:flex; justify-content:space-between; align-items:center; gap:24px; min-height:170px; padding:12px 32px; margin-bottom:22px; border:1px solid #efdee4; border-radius:20px; background:linear-gradient(110deg,#fff6f2,#faf0f7); overflow:hidden; }
.lianmeng-kicker { font-size:11px; font-weight:600; letter-spacing:2px; color:#a0516c; }
.lianmeng-welcome h2 { margin:12px 0 8px; font-size:23px; line-height:1.5; font-weight:600; color:#4c3444; }
.lianmeng-welcome p { margin:0; color:#887180; font-size:13px; line-height:1.8; }
.lianmeng-welcome img { flex-shrink:0; object-fit:contain; align-self:flex-end; mix-blend-mode:multiply; }
@media(max-width:700px) {
 .brand-lianmeng .login-wrap { display:block; max-width:440px; }
 .brand-lianmeng .login-brand { margin-bottom:24px; position:relative; }
 .lianmeng-login-logo { width:150px; height:140px; margin-bottom:-6px; }
 .lianmeng-login-mascot { display:none; }
 .brand-lianmeng .brand-desc { font-size:12px; }
 .brand-lianmeng .topbar .brand-mark { font-size:15px; gap:2px; }
 .brand-lianmeng .topbar .brand-mark img { width:42px; height:48px; }
 .lianmeng-product-name { font-size:9px; letter-spacing:0; }
 .lianmeng-welcome { padding:16px 18px; gap:8px; min-height:140px; }
 .lianmeng-welcome h2 { font-size:18px; margin-top:8px; }
 .lianmeng-welcome img { width:78px; height:120px; }
 .lianmeng-welcome p { font-size:12px; }
 .lianmeng-kicker { font-size:9px; letter-spacing:1px; }
}

.admin-overview { margin-top:28px; }
.admin-section-head h2 { font-size:21px; margin:6px 0; }
.admin-calendar-layout { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:20px; margin-top:16px; align-items:start; }
.calendar-toolbar,.calendar-summary,.coaching-toolbar { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.calendar-toolbar input,.calendar-summary select,.coaching-toolbar select { border:1px solid var(--line); border-radius:8px; padding:8px; background:#fff; color:var(--text); font:inherit; }
.calendar-toolbar input { max-width:180px; }
.calendar-summary { margin:18px 0 12px; font-size:13px; color:var(--text-2); }
.calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:5px; }
.calendar-weekday { text-align:center; font-size:11px; padding:7px 0; color:var(--text-3); }
.calendar-day { min-height:76px; border:1px solid #edf0f4; border-radius:9px; background:#fafbfd; padding:8px 3px; color:#788394; display:flex; flex-direction:column; gap:5px; align-items:center; cursor:pointer; font:inherit; }
.calendar-day>span { font-size:12px; }
.calendar-day strong { font-size:13px; font-weight:600; }
.calendar-day small { font-size:10px; }
.calendar-day.has-recordings { background:#eef4fc; color:#2d5289; }
.calendar-day.selected { outline:2px solid #2d5289; outline-offset:-2px; background:#e6eefb; }
.calendar-day.today>span { text-decoration:underline; text-underline-offset:4px; font-weight:700; }
.calendar-day:focus-visible { outline:3px solid #ba366a; }
.calendar-detail h3 { margin:8px 0; }
.calendar-person { border-top:1px solid var(--line); padding:14px 0; }
.calendar-person>span { margin-left:8px; }
.calendar-record { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-top:10px; font-size:12px; }
.calendar-record .tag { font-size:10px; }
.calendar-record .btn { white-space:nowrap; }
.employee-coaching-list { margin-top:20px; }
.coaching-toolbar h3 { margin:0 0 8px; }
.employee-coaching { padding:20px 0; border-top:1px solid var(--line); }
.employee-coaching:first-of-type { margin-top:14px; }
.coaching-head { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; }
.coaching-head h3 { margin:0; font-size:16px; }
.coaching-problems { margin:14px 0; padding-left:22px; }
.coaching-problems li { padding:4px 0; font-size:13px; line-height:1.8; }
.coaching-problems p { margin:0; }
.coaching-problems .btn { padding:2px 0; font-size:11px; }
.coaching-advice { background:#f5f8fc; border-radius:9px; padding:12px; font-size:12px; line-height:1.8; color:var(--text-2); }
@media(max-width:900px) { .admin-calendar-layout { grid-template-columns:1fr; } }
@media(max-width:480px) { .calendar-day { min-height:66px; gap:4px; } .calendar-grid { gap:3px; } .calendar-day strong { font-size:12px; } .calendar-day small { font-size:9px; } .interview-calendar { padding:16px 12px; } }

/* 积木专属Logo，保留原有工作台配色和数据布局。 */
.brand-jimu .login-brand .brand-mark { font-size:0; line-height:0; letter-spacing:0; }
.jimu-login-logo { display:block; width:140px; height:140px; object-fit:contain; margin:0 auto 12px; border-radius:16px; }
.brand-jimu .topbar .brand-mark { display:flex; align-items:center; gap:9px; color:#3c3c3a; font-size:18px; letter-spacing:1px; white-space:nowrap; }
.brand-jimu .topbar .brand-mark img { object-fit:contain; flex-shrink:0; }
.jimu-product-name { display:block; margin-top:5px; color:#88909c; font-size:10px; font-weight:400; letter-spacing:1px; }
.brand-jimu .topbar-title { display:none; }
@media(max-width:700px) {
 .brand-jimu .topbar .brand-mark { font-size:15px; gap:3px; }
 .brand-jimu .topbar .brand-mark img { width:43px; height:48px; }
 .jimu-product-name { font-size:9px; letter-spacing:0; }
}
.access-filters { display:flex; gap:12px; align-items:end; flex-wrap:wrap; margin:18px 0; }
.access-filters label { display:flex; flex-direction:column; gap:7px; font-size:12px; color:var(--text-2); }
.access-filters input,.access-filters select { font:inherit; padding:9px 12px; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--text); min-height:38px; }
.access-pagination { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-top:16px; }
@media(max-width:600px) { .access-filters label:first-child { width:100%; } .access-filters input { width:100%; } }
/* 管理员团队概览与员工成长档案 */
.manager-filters { display:flex; flex-wrap:wrap; gap:12px; align-items:end; margin-bottom:12px; }
.manager-filters label { display:flex; flex-direction:column; gap:7px; font-size:12px; color:var(--text-2); flex:1; min-width:140px; }
.manager-filters input,.manager-filters select { font:inherit; min-height:40px; padding:8px 10px; border:1px solid var(--line); background:#fff; border-radius:8px; color:var(--text); width:100%; }
.manager-stats { margin-top:18px; }
.manager-comparison { margin:12px 0 22px; color:var(--text-3); line-height:1.8; }
.manager-attention,.manager-pending,.manager-roster,.manager-recent,.growth-trend,.growth-history { margin-top:22px; }
.manager-attention h2,.manager-roster h2,.growth-page h2 { margin:0 0 12px; font-size:18px; }
.manager-attention-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.manager-attention-grid article { background:#f7f9fc; border:1px solid var(--line); border-radius:12px; padding:16px; }
.manager-attention-grid h3 { margin:0 0 10px; font-size:15px; }
.manager-attention-grid ul { padding-left:18px; margin:0 0 10px; font-size:12px; color:var(--text-2); line-height:1.9; }
.manager-task-list>div { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 0; border-top:1px solid var(--line); }
.manager-task-list strong { font-size:13px; }
.manager-roster .data td:nth-child(4) { max-width:250px; white-space:normal; }
.manager-home .lianmeng-welcome { min-height:120px; }
.manager-directory { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.manager-directory h2 { margin:0 0 12px; font-size:18px; }
.growth-trend>p { color:var(--text-2); line-height:1.8; }
.growth-trend>svg { display:block; margin:24px 0 10px; max-height:140px; }
.growth-trend-labels { display:flex; justify-content:space-between; color:var(--text-3); font-size:11px; margin-bottom:20px; }
.growth-focus { margin-top:22px; align-items:start; }
.growth-issue { border-top:1px solid var(--line); padding:16px 0; }
.growth-issue h3 { font-size:14px; margin:0 0 9px; }
.growth-issue p { line-height:1.9; font-size:13px; color:var(--text-2); margin:8px 0; }
@media(max-width:1000px) { .manager-attention-grid,.manager-directory { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:620px) { .manager-attention-grid,.manager-directory { grid-template-columns:1fr; } .manager-filters label { min-width:calc(50% - 12px); } .manager-task-list>div { align-items:flex-start; flex-direction:column; gap:6px; } .manager-filters>.btn { width:100%; } .manager-home .lianmeng-welcome h2 { font-size:17px; } }
/* 团队共性问题 */
.manager-team-issues { margin-top:22px; }
.manager-team-issues h2 { margin:0 0 10px; font-size:18px; }
.manager-team-issues>.small-text { line-height:1.8; margin:14px 0 18px; }
.team-issue-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; align-items:start; }
.team-issue { padding:18px; border:1px solid var(--line); border-radius:12px; background:#fbfcfe; min-width:0; }
.team-issue-head { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; }
.team-issue-head h3 { margin:0; font-size:15px; }
.team-issue-count { font-size:13px; color:var(--text-2); margin:20px 0 8px; }
.team-issue-count strong { font-size:23px; color:var(--blue); margin-right:3px; }
.team-issue-meter { height:5px; border-radius:6px; background:#e9edf4; overflow:hidden; margin:12px 0; }
.team-issue-meter span { display:block; height:100%; background:var(--blue); border-radius:6px; }
.team-issue-people { display:flex; flex-wrap:wrap; align-items:center; gap:4px; margin:10px 0; }
.team-issue-people .btn { white-space:normal; text-align:left; }
.team-issue-practice { padding:12px; background:#f0f3f9; border-radius:8px; font-size:12px; line-height:1.9; color:var(--text-2); }
.team-issue-practice strong { display:block; color:var(--text); margin-bottom:4px; }
.team-issue-evidence summary,.team-issue-more>summary { cursor:pointer; font-size:12px; color:var(--blue); line-height:1.8; padding:8px 0; }
.team-issue-source { border-top:1px solid var(--line); padding:12px 0 8px; }
.team-issue-source p { font-size:12px; line-height:1.9; overflow-wrap:anywhere; color:var(--text-2); }
.team-issue-evidence>.small-text { line-height:1.8; }
.team-issue-more { margin-top:14px; }
.team-issue-more .team-issue-grid { margin-top:10px; }
.team-issue-empty { padding:18px; border:1px dashed var(--line); border-radius:10px; color:var(--text-2); font-size:13px; line-height:1.8; }
@media(max-width:1100px) { .team-issue-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .team-issue-grid { grid-template-columns:1fr; } }
