@charset "UTF-8";
/*
 * 工程公司培训管理平台 · 全站样式（单文件）
 * 2026-10-03 由 Claude 按原加载顺序合并 styles / dashboard / policy / features / layout / theme 六个文件，
 * 只删除“同一选择器、同一媒体条件、同一属性”下被后文覆盖的失效声明，层叠顺序与原页面一致。
 * 后续修改：优先改第 1 节 :root 令牌（颜色、圆角、阴影）；新增规则写在对应分节末尾，避免另建覆盖文件。
 * 分节：
 *   1. 基础：外壳、侧栏、按钮、表格、表单（原 styles.css）
 *   2. 培训总览看板（原 dashboard.css）
 *   3. 制度与指引（原 policy.css）
 *   4. 填报入口、趋势、下钻、报告（原 features.css）
 *   5. 跨页面对齐与控件精修（原 layout.css）
 *   6. 视觉主题：深蓝侧栏、字号阶梯、卡片/表格/制度页（原 theme.css）
 */

/* ========== 1. 基础：外壳、侧栏、按钮、表格、表单（原 styles.css） ========== */

:root {
  --brand-yellow: #F9BF02;
  --brand-blue-mid: #1677FF;
  --brand-sky: #597EF7;
  --brand-cyan: #08979C;
  --shadow: 0 14px 45px #1A2C5C14;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button, input, select, textarea {
  font: inherit;
}
button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: .55;
}
button {
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
:focus-visible {
  outline: 3px solid #4180B5;
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}
.brand strong {
  display: block;
  font-size: 17px;
  font-weight: 650;
  margin-top: 4px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 44px;
  font-size: 25px;
  font-weight: 600;
}
.nav-item {
  background: transparent;
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 13px;
  white-space: nowrap;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
  min-width: 23px;
  padding: 2px 5px;
  text-align: center;
}
.nav-item.future small {
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.phase-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #4DA2C3;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
}
.sidebar-bottom p {
  line-height: 1.9;
  margin: 9px 0 0;
}
.workspace {
  flex: 1;
  min-width: 0;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.breadcrumb {
  display: flex;
  gap: 14px;
  align-items: center;
}
.breadcrumb span {
  color: #c1c8cc;
}
.topbar-actions {
  display: flex;
  align-items: center;
}
.demo-badge {
  border-top: 2px solid var(--brand-yellow);
  white-space: nowrap;
}
.role-picker {
  display: flex;
  align-items: center;
  gap: 8px;
}
.role-picker select {
  border: 0;
  background: #fff;
  padding: 8px 0;
}
.avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
}
main {
  max-width: 1600px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.eyebrow {
  margin: 0 0 9px;
}
h1 {
  margin: 0 0 11px;
}
h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
h3 {
  font-size: 14px;
  margin: 0;
}
.page-heading p:not(.eyebrow) {
  margin: 0;
  line-height: 1.7;
}
.heading-actions {
  display: flex;
  gap: 9px;
}
.button {
  display: inline-flex;
  gap: 7px;
  font-size: 12px;
  white-space: nowrap;
}
.button svg {
  width: 15px;
  height: 15px;
}
.button.primary {
  color: white;
  border: 1px solid var(--brand-blue);
}
.button.danger {
  background: #b85450;
  color: white;
}
.filterbar {
  display: flex;
  flex-wrap: wrap;
}
.period-filter {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #dee5e7;
  border-radius: 7px;
  background: white;
}
.period-filter label {
  font-size: 11px;
}
input[type=month] {
  border: 0;
  font-size: 12px;
  color: var(--ink);
  background: white;
  max-width: 135px;
}
.org-filter select {
  border: 1px solid #dee5e7;
  border-radius: 7px;
  background: white;
  font-size: 12px;
  color: #55676f;
  max-width: 270px;
}
.demo-note {
  margin-left: auto;
  font-size: 10px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  margin-bottom: 23px;
}
.metric-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 23px;
  position: relative;
  text-align: left;
  color: var(--ink);
}
.metric-card:hover {
  border-color: #ADC1E1;
}
.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #829095;
  font-size: 11px;
  gap: 8px;
}
.metric-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #F1F5FB;
  display: grid;
  place-items: center;
  color: #375FA3;
}
.metric-icon svg {
  width: 16px;
  height: 16px;
}
.metric-value {
  font-family: system-ui,sans-serif;
  font-size: 36px;
  font-weight: 650;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin: 13px 0 11px;
}
.metric-value small {
  font-family: "PingFang SC",sans-serif;
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 400;
  color: #8e999e;
  margin-left: 7px;
}
.metric-caption {
  font-size: 10px;
  color: #99a2a7;
  line-height: 1.6;
}
.metric-card.featured {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
  color: white;
}
.featured .metric-top, .featured .metric-caption, .featured .metric-value small {
  color: #DAE5F8;
}
.featured .metric-icon {
  background: #ffffff16;
  color: #DAE5F8;
}
.featured:hover {
  background: var(--brand-blue);
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0,1.65fr) minmax(280px,1fr);
  gap: 22px;
  margin-bottom: 23px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-heading {
  padding: 22px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.panel-heading p {
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0 0;
  line-height: 1.7;
}
.text-button {
  background: transparent;
  font-size: 11px;
  padding: 6px 0;
}
.text-button:hover {
  text-decoration: underline;
}
.execution-layout {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 29px 26px 27px;
}
.donut {
  width: 152px;
  height: 152px;
  flex-shrink: 0;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(var(--brand-blue) 0 var(--portion),#EAF0F7 var(--portion) 100%);
  display: grid;
  place-items: center;
}
.donut:before {
  content: "";
  position: absolute;
  inset: 13px;
  background: white;
  border-radius: 50%;
}
.donut-label {
  z-index: 1;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
.donut-label strong {
  display: block;
  font-family: system-ui,sans-serif;
  font-size: 30px;
  color: var(--ink);
  letter-spacing: -1px;
  margin-bottom: 4px;
}
.progress-legend {
  flex: 1;
  min-width: 0;
}
.legend-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 13px 0;
  font-size: 11px;
  color: #74858b;
}
.legend-row b {
  margin-left: auto;
  font-family: system-ui;
  font-size: 13px;
  color: var(--ink);
}
.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--brand-blue);
}
.legend-dot.planned {
  background: #B9C9E5;
}
.legend-dot.running {
  background: var(--brand-sky);
}
.legend-dot.cancelled {
  background: #dce2e5;
}
.micro-note {
  font-size: 10px;
  color: #95a0a5;
  line-height: 1.7;
  margin-top: 16px;
}
.todo-list {
  padding: 14px 24px 18px;
}
.todo-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #eff2f3;
  background: transparent;
  text-align: left;
}
.todo-row:last-child {
  border-bottom: 0;
}
.todo-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #FFF8DB;
  color: #806000;
  flex-shrink: 0;
}
.todo-icon.brand {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
}
.todo-icon.blue {
  background: #EDF6FA;
  color: #35799A;
}
.todo-icon svg {
  width: 17px;
  height: 17px;
}
.todo-row strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
}
.todo-row small {
  font-size: 10px;
  color: #929ba1;
  display: block;
  margin-top: 5px;
  line-height: 1.7;
}
.todo-count {
  margin-left: auto;
  font: 600 20px system-ui;
  color: var(--ink);
}
.units-panel {
  margin-bottom: 23px;
}
.bar-chart {
  padding: 22px 24px 25px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px 32px;
}
.bar-item {
  display: grid;
  grid-template-columns: 102px minmax(0,1fr) 35px;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: #7d8a90;
}
.bar-item span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bar-track {
  height: 7px;
  border-radius: 3px;
  background: #EDF2FA;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--brand-blue-mid);
  border-radius: 3px;
}
.bar-number {
  text-align: right;
  font-family: system-ui;
  color: #51656d;
}
.unit-key {
  font-size: 10px;
  color: #89959c;
}
.table-toolbar {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.table-toolbar h2 small {
  font-size: 11px;
  font-weight: 400;
  color: #8b989e;
  margin-left: 8px;
}
.toolbar-controls {
  display: flex;
  gap: 9px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e1e7e9;
  padding: 8px 10px;
  background: white;
}
.search-box svg {
  width: 14px;
  height: 14px;
  color: #95a0a7;
}
.search-box input {
  border: 0;
  outline: 0;
  width: 180px;
  color: #596d76;
  font-size: 11px;
  min-width: 0;
}
.toolbar-controls select {
  border: 1px solid #e1e7e9;
  border-radius: 7px;
  padding: 8px;
  font-size: 11px;
  background: white;
  color: #67777d;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 11px;
}
thead {
  background: #f9fafb;
  text-align: left;
  color: #89979f;
  font-size: 10px;
}
th {
  font-weight: 450;
}
td {
  border-bottom: 1px solid #edf0f2;
  vertical-align: middle;
}
th:first-child, td:first-child {
  padding-left: 24px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.course-cell {
  white-space: normal;
  min-width: 205px;
  max-width: 300px;
}
.course-name {
  display: block;
  font-size: 12px;
  line-height: 1.7;
}
.course-subtitle {
  display: block;
  color: #95a0a7;
  font-size: 10px;
  margin-top: 5px;
  line-height: 1.7;
}
.tag {
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.tag:before {
  content: "";
  border-radius: 50%;
  background: currentColor;
}
.tag.amber:before {
  background: var(--brand-yellow);
}
.cell-secondary {
  display: block;
  font-size: 10px;
  color: #9aa5ab;
  margin-top: 6px;
}
.row-actions {
  display: flex;
  gap: 13px;
  align-items: center;
}
.empty-state {
  text-align: center;
  padding: 58px 20px;
  color: #8c999f;
  font-size: 12px;
  line-height: 1.9;
}
.empty-state strong {
  display: block;
  font-size: 15px;
  margin-bottom: 7px;
}
.table-footnote {
  padding: 12px 24px;
  background: #fbfcfc;
  font-size: 10px;
  color: #9aa4aa;
  border-top: 1px solid var(--line);
  line-height: 1.8;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  line-height: 1.8;
}
.reviews-intro {
  background: #EDF2FA;
  border: 1px solid #D8E3F4;
  padding: 15px 20px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 11px;
  color: #375FA3;
  margin-bottom: 20px;
  line-height: 1.8;
}
.view-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.view-tab {
  border: 1px solid var(--line);
  font-size: 11px;
}
.editor-dialog {
  width: min(700px,calc(100vw - 32px));
  max-height: 90vh;
  border: 0;
  padding: 0;
  color: var(--ink);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: white;
  z-index: 2;
}
.icon-button {
  background: #f4f6f6;
  display: grid;
  place-items: center;
  color: #80919a;
}
.icon-button:hover {
  background: #E8EEF8;
}
.icon-button svg {
  width: 17px;
  height: 17px;
}
.form-body {
  padding: 23px 28px;
}
.form-hint {
  padding: 12px 14px;
  border-radius: 7px;
  background: #EDF2FA;
  font-size: 11px;
  color: #375FA3;
  line-height: 1.9;
  margin-bottom: 22px;
}
.form-section-title {
  margin: 22px 0 13px;
  font-weight: 600;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.form-field {
  display: flex;
  flex-direction: column;
  font-size: 11px;
}
.form-field.wide {
  grid-column: 1/-1;
}
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid #dfe6e8;
  border-radius: 7px;
  padding: 10px 11px;
  color: var(--ink);
  background: white;
  min-width: 0;
  width: 100%;
  font-size: 12px;
}
.form-field textarea {
  resize: vertical;
  min-height: 75px;
}
.form-field small {
  font-size: 10px;
  color: #94a0a6;
  line-height: 1.7;
}
.required {
  color: #b66d55;
}
.form-error {
  color: #ab6159;
  background: #fff2ef;
  font-size: 12px;
  padding: 12px 14px;
  border-radius: 6px;
  line-height: 1.8;
  margin: 0 0 15px;
}
.form-error[hidden] {
  display: none;
}
.form-actions {
  padding: 17px 28px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid var(--line);
  position: sticky;
  bottom: 0;
}
.form-details {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.form-details summary {
  font-size: 12px;
  color: var(--brand-blue);
  cursor: pointer;
  margin-bottom: 17px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}
.detail-label {
  font-size: 10px;
  color: #93a0a7;
  margin-bottom: 7px;
}
.detail-value {
  font-size: 12px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.details-block {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 30px);
  color: white;
  padding: 13px 21px;
  z-index: 30;
  line-height: 1.7;
}
.future-message {
  padding: 32px 28px;
  line-height: 2;
  color: #7d8d95;
  font-size: 13px;
}
.future-message strong {
  display: block;
  font-size: 17px;
  margin-bottom: 10px;
}
.storage-warning {
  padding: 13px 20px;
  border: 1px solid #F2DF9B;
  background: #FFF8DB;
  color: #806000;
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.8;
}
.noscript {
  position: fixed;
  bottom: 0;
  background: #FFF8DB;
  width: 100%;
  padding: 20px;
  text-align: center;
}
.small-summary {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #84959d;
  font-size: 11px;
  margin: 15px 0 20px;
}
.small-summary b {
  color: var(--ink);
  margin-left: 5px;
}
@media(min-width:1550px) {
  main {
    padding-top: 43px;
  }
  .metric-card {
    padding: 25px 27px;
  }
  .overview-grid {
    grid-template-columns: minmax(0,1.5fr) minmax(350px,1fr);
  }
  .execution-layout {
    gap: 40px;
  }
  .donut {
    width: 165px;
    height: 165px;
  }
}
@media(max-width:1150px) {
  .sidebar {
    width: 205px;
  }
  .brand {
    margin-left: 8px;
    gap: 10px;
  }
  .brand strong {
    font-size: 15px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-actions {
    flex-direction: column;
  }
  .metrics {
    gap: 11px;
  }
  .metric-card {
    padding: 18px 16px;
  }
  .overview-grid {
    grid-template-columns: minmax(0,1.3fr) minmax(245px,1fr);
    gap: 15px;
  }
  .execution-layout {
    gap: 17px;
    padding: 25px 20px;
  }
  .donut {
    width: 125px;
    height: 125px;
  }
  .panel-heading {
    padding: 20px 20px 0;
  }
  .bar-chart {
    grid-template-columns: 1fr;
  }
  .bar-item {
    grid-template-columns: 150px 1fr 35px;
  }
}
@media(max-width:850px) {
  .sidebar {
    width: 75px;
    padding: 24px 10px;
  }
  .brand {
    margin: 0 0 35px;
    justify-content: center;
  }
  .brand-title, .nav-caption, .sidebar-bottom, .nav-count, .nav-item small {
    display: none;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  .nav-item {
    gap: 0;
  }
  .nav-item svg {
    width: 22px;
    height: 22px;
  }
  .future-caption {
    margin-top: 20px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .execution-layout {
    gap: 35px;
  }
  .donut {
    width: 150px;
    height: 150px;
  }
  .todo-list {
    display: flex;
    gap: 15px;
  }
  .todo-row {
    border-bottom: 0;
  }
  .todo-icon {
    display: none;
  }
  .todo-row strong {
    font-size: 11px;
  }
  .todo-count {
    font-size: 17px;
    margin-right: 8px;
  }
  .topbar-actions {
    gap: 10px;
  }
  .avatar {
    display: none;
  }
  .metric-value {
    font-size: 30px;
  }
  .demo-note {
    width: 100%;
    margin-left: 0;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .workspace-footer {
    align-items: flex-start;
  }
}
@media(max-width:580px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    position: static;
    width: auto;
    height: auto;
    display: block;
    border-right: 0;
  }
  .brand {
    justify-content: flex-start;
  }
  .brand {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .brand-title {
    display: block;
  }
  .sidebar nav {
    display: flex;
  }
  .nav-item {
    font-size: 11px;
    justify-content: center;
    gap: 6px;
    padding: 10px 7px;
  }
  .nav-item svg {
    width: 15px;
    height: 15px;
  }
  #future-navigation {
    display: none;
  }
  .topbar {
    min-height: 59px;
    gap: 10px;
  }
  .breadcrumb {
    display: none;
  }
  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }
  .page-heading {
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .heading-actions {
    margin-top: 18px;
  }
  .metrics {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
  }
  .metric-card {
    padding: 16px;
  }
  .metric-value {
    font-size: 30px;
  }
  .metric-icon {
    width: 25px;
    height: 25px;
  }
  .metric-caption {
    font-size: 9px;
  }
  .org-filter select {
    max-width: 180px;
    font-size: 11px;
  }
  .execution-layout {
    gap: 23px;
    padding: 24px 18px;
  }
  .donut {
    width: 120px;
    height: 120px;
  }
  .donut-label strong {
    font-size: 26px;
  }
  .legend-row {
    font-size: 10px;
  }
  .panel-heading h2 {
    font-size: 14px;
  }
  .todo-list {
    display: block;
    padding-top: 8px;
  }
  .todo-row {
    border-bottom: 1px solid var(--line);
  }
  .todo-icon {
    display: grid;
  }
  .todo-count {
    font-size: 20px;
  }
  .bar-chart {
    padding: 23px 18px;
    gap: 17px;
  }
  .bar-item {
    grid-template-columns: 105px 1fr 32px;
  }
  .table-toolbar {
    padding: 18px;
  }
  .toolbar-controls {
    width: 100%;
  }
  .search-box {
    flex: 1;
    min-width: 120px;
  }
  .search-box input {
    width: 100%;
  }
  .workspace-footer {
    display: block;
  }
  .workspace-footer .text-button {
    margin-top: 7px;
  }
  .form-body {
    padding: 20px;
  }
  .dialog-heading {
    padding: 20px;
  }
  .form-grid, .details-grid {
    grid-template-columns: 1fr;
  }
  .form-actions {
    padding: 15px 20px;
  }
  .reviews-intro {
    display: block;
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto!important;
    transition: none!important;
  }
}

/* ========== 2. 培训总览看板（原 dashboard.css） ========== */

.heading-actions button[hidden], .workspace-footer button[hidden] {
  display: none;
}
.training-dashboard, .training-board {
  --dash-muted: #64748a;
  color: #263448;
}
.dashboard-period-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.dash-period-tabs {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid #dee5e7;
  border-radius: 7px;
  background: #EDF2FA;
  min-height: var(--control-height);
}
.dash-period-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: transparent;
  color: #64748a;
  font-size: 12px;
  white-space: nowrap;
}
.dashboard-period-controls .period-filter {
  font-size: 11px;
  color: #64748a;
  gap: 10px;
  margin: 0;
}
.dashboard-period-controls input, .dashboard-period-controls select {
  color: #263448;
  border: 0;
  background: white;
  font-size: 12px;
  min-height: 22px;
}
.dashboard-period-controls input[type=number] {
  width: 70px;
}
.dashboard-period-controls select {
  max-width: 160px;
}
@media(max-width:580px) {
  .dashboard-period-controls {
    width: 100%;
    gap: 10px;
  }
  .dash-period-tabs {
    width: 100%;
  }
  .dash-period-tabs button {
    flex: 1;
    padding: 7px 10px;
  }
}
.dash-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 0 20px;
  font-size: 13px;
}
.dash-context>span {
  flex: 1;
  min-width: 200px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.dash-context small {
  display: block;
  margin-top: 7px;
  color: var(--dash-muted);
  font-size: 11px;
}
.dash-context label {
  display: flex;
  align-items: center;
  font-size: 11px;
  color: var(--dash-muted);
}
.dash-context select {
  padding: 9px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  max-width: 300px;
  color: #263448;
  font-size: 12px;
}
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin-bottom: 20px;
}
.dash-kpi {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  min-width: 0;
}
.dash-kpi.primary {
  color: white;
  position: relative;
  overflow: hidden;
}
.dash-kpi.primary:after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border: 22px solid #ffffff08;
  border-radius: 50%;
  right: -52px;
  bottom: -62px;
  pointer-events: none;
}
.dash-kpi-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dash-kpi-label>span {
  display: grid;
  place-items: center;
  font-size: 11px;
}
.dash-kpi.primary .dash-kpi-label {
  color: #d8e5fb;
}
.dash-kpi.primary .dash-kpi-label>span {
  background: #ffffff14;
  color: #c1dafb;
}
.dash-kpi-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.dash-kpi-value small {
  font-weight: 400;
  margin-left: 0;
  letter-spacing: 0;
  color: #64748a;
}
.dash-kpi p {
  margin: 0;
}
.dash-kpi.primary p, .dash-kpi.primary small {
  color: #c0d3f3;
}
.dash-execution {
  display: grid;
  grid-template-columns: minmax(260px,.95fr) minmax(0,1.6fr);
  gap: 24px;
  padding: 24px var(--panel-gutter);
  margin-bottom: 20px;
}
.dash-execution-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-right: 1px solid var(--line);
  padding-right: 30px;
}
.dash-execution p {
  color: #64748a;
  font-size: 11px;
  line-height: 1.8;
  margin: 8px 0 0;
}
.dash-execution-summary>strong {
  text-align: right;
  white-space: nowrap;
}
.dash-execution-summary>strong small {
  font-size: 12px;
  margin-left: 3px;
}
.dash-execution-summary>strong span {
  display: block;
  font-size: 10px;
  color: #64748a;
  font-weight: 400;
  margin-top: 4px;
}
.dash-status-bar {
  display: flex;
  overflow: hidden;
  margin: 4px 0 14px;
}
.dash-status-bar span {
  min-width: 0;
}
.dash-status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 11px;
  color: #52657d;
}
.dash-status-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.dash-status-legend b {
  color: #263448;
}
.dash-status-legend i {
  width: 7px;
  height: 7px;
}
.dash-status-bar .done, .dash-status-legend .done {
  background: #193C7F;
}
.dash-status-bar .unknown, .dash-status-legend .unknown {
  background: #F9BF02;
}
.dash-status-bar .postponed, .dash-status-legend .postponed {
  background: #4DA2C3;
}
.dash-status-bar .cancelled, .dash-status-legend .cancelled {
  background: #c8d1df;
}
.dash-chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.dash-chart-grid>.panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.dash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--panel-gutter) 20px;
  gap: 16px;
  min-height: 94px;
}
.dash-panel-head>div:first-child {
  min-width: 0;
}
.dash-panel-head h2 {
  font-size: 15px;
}
.dash-panel-head p {
  font-size: 11px;
  margin: 7px 0 0;
  line-height: 1.7;
}
.dash-toggle {
  display: flex;
  border: 1px solid #e2e8f1;
  background: #f5f7fb;
  border-radius: 6px;
  padding: 3px;
  flex-shrink: 0;
  gap: 2px;
}
.dash-toggle button {
  background: transparent;
  border-radius: 4px;
  color: #64748a;
  white-space: nowrap;
}
.dash-toggle button.selected {
  font-weight: 600;
}
.dash-coverage {
  padding: 0 var(--panel-gutter) 16px;
  flex: 1;
}
.dash-coverage-labels {
  display: grid;
  grid-template-columns: 72px minmax(35px,1fr) 77px 44px;
  gap: 12px;
  align-items: center;
  min-height: 24px;
  font-size: 9px;
  color: #64748a;
}
.dash-coverage-labels span:nth-child(n+3) {
  text-align: right;
}
.dash-coverage-row {
  min-height: var(--chart-row-height);
  display: grid;
  grid-template-columns: 72px minmax(35px,1fr) 77px 44px;
  align-items: center;
  gap: 12px;
  text-align: left;
  width: 100%;
  background: transparent;
  padding: 8px 0;
  border-radius: 4px;
  color: #263448;
  font-size: 11px;
}
.dash-bar-name {
  white-space: nowrap;
}
.dash-bar-track {
  height: 10px;
  border-radius: 3px;
  background: #EDF2FA;
  overflow: hidden;
}
.dash-bar-track>span {
  display: block;
  height: 100%;
  background: #375FA3;
  border-radius: 3px;
}
.dash-coverage-row:first-of-type .dash-bar-track>span {
  background: #193C7F;
}
.dash-coverage-row strong {
  font-size: 13px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.dash-coverage-row small {
  font-size: 9px;
  font-weight: 400;
  margin-left: 3px;
  color: #64748a;
}
.dash-bar-secondary {
  font-size: 10px;
  color: #64748a;
  text-align: right;
  white-space: nowrap;
}
.dash-chart-note {
  color: #64748a;
  line-height: 1.8;
  padding: 14px var(--panel-gutter);
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.dash-quality-chart {
  padding: 0 var(--panel-gutter) 16px;
  flex: 1;
}
.dash-quality-labels, .dash-quality-row {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) minmax(0,1.08fr);
  gap: 14px;
  align-items: center;
}
.dash-quality-labels {
  font-size: 9px;
  color: #64748a;
  margin: 0;
  min-height: 24px;
}
.dash-quality-labels span:not(:first-child) {
  text-align: right;
}
.dash-quality-row {
  min-height: var(--chart-row-height);
  font-size: 11px;
}
.dash-quality-cell {
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
.dash-quality-cell b {
  font-size: 11px;
  min-width: 40px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 550;
}
.dash-quality-cell.sky b {
  min-width: 48px;
}
.dash-quality-track {
  height: 7px;
  background: #EDF2FA;
  flex: 1;
  border-radius: 2px;
  overflow: hidden;
}
.dash-quality-track span {
  display: block;
  height: 100%;
  background: #193C7F;
  border-radius: 2px;
}
.dash-quality-cell.sky .dash-quality-track span {
  background: #4DA2C3;
}
.dash-subtle {
  font-size: 11px;
  color: #64748a;
  white-space: nowrap;
}
.dash-detail {
  margin-bottom: 20px;
}
.dash-table {
  font-variant-numeric: tabular-nums;
}
.dash-table th:not(:first-child), .dash-table td {
  text-align: right;
}
.dash-table thead th {
  font-size: 11px;
  color: #52657d;
  font-weight: 500;
}
.dash-table tbody th {
  border-bottom: 1px solid #edf0f2;
  max-width: 330px;
  white-space: normal;
  line-height: 1.8;
  min-width: 150px;
}
.dash-table tbody th small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #64748a;
}
.dash-table th, .dash-table td {
  vertical-align: middle;
}
.dash-table th:first-child, .dash-table td:first-child {
  padding-left: var(--panel-gutter);
}
.dash-table th:last-child, .dash-table td:last-child {
  padding-right: var(--panel-gutter);
}
.dash-check-count {
  font-size: 10px;
}
.dash-table-total {
  background: #EDF2FA;
  font-weight: 600;
}
.dash-table-total th {
  font-weight: 650!important;
}
.dash-table-total td, .dash-table-total th {
  border-top: 1px solid #dbe5f3;
}
.dash-audit {
  padding: 15px 20px;
  border: 1px solid #dfe7f3;
  background: #edf2fa;
  border-radius: 9px;
  font-size: 11px;
  color: #52657d;
  line-height: 1.9;
}
.dash-audit details {
  margin: 8px 0 0 16px;
}
.dash-audit summary {
  cursor: pointer;
  color: #193C7F;
}
.dash-method {
  padding: 3px 0;
}
.dash-method p {
  margin: 10px 0;
}
.dash-context select:focus {
  outline: 2px solid #4180B5;
  outline-offset: 2px;
}
@media(max-width:1250px) {
  .dash-chart-grid {
    grid-template-columns: 1fr;
  }
  .dash-coverage-row, .dash-coverage-labels {
    grid-template-columns: 90px minmax(35px,1fr) 90px 70px;
  }
  .dash-quality-labels, .dash-quality-row {
    grid-template-columns: 90px 1fr 1fr;
  }
  .dash-execution {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dash-execution-summary {
    border-right: 0;
    padding-right: 0;
  }
}
@media(max-width:850px) {
  .dash-kpis {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .dash-context select {
    max-width: 200px;
  }
}
@media(max-width:580px) {
  .dash-context {
    display: block;
  }
  .dash-context label {
    margin-top: 14px;
    justify-content: space-between;
  }
  .dash-context select {
    max-width: 230px;
    width: 70%;
  }
  .dash-panel-head {
    padding: 18px;
    flex-wrap: wrap;
  }
  .dash-coverage, .dash-quality-chart {
    padding-left: 18px;
    padding-right: 18px;
  }
  .dash-coverage-row, .dash-coverage-labels {
    grid-template-columns: 64px minmax(20px,1fr) 70px;
    gap: 8px;
  }
  .dash-coverage-labels span:nth-child(4) {
    display: none;
  }
  .dash-bar-secondary {
    display: none;
  }
  .dash-quality-labels, .dash-quality-row {
    grid-template-columns: 64px minmax(0,1fr) minmax(0,1fr);
    gap: 8px;
  }
  .dash-quality-cell {
    gap: 4px;
  }
  .dash-quality-cell b {
    font-size: 10px;
  }
  .dash-quality-cell.sky b {
    min-width: 43px;
  }
  .dash-chart-note {
    padding: 12px 18px;
  }
  .dash-execution {
    padding: 18px;
  }
  .dash-status-legend {
    gap: 10px 15px;
  }
  .dash-table th, .dash-table td {
    padding: 13px 16px;
  }
  .dash-audit {
    padding: 14px;
  }
  .dash-audit details {
    margin-left: 0;
  }
}

/* ========== 3. 制度与指引（原 policy.css） ========== */

.policy-page {
  display: grid;
  gap: var(--section-gap);
  color: #263448;
}
.policy-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 3px solid #193C7F;
}
.policy-kicker {
  font-size: 11px;
  font-weight: 600;
  margin: 0 0 10px;
}
.policy-intro h2 {
  line-height: 1.5;
}
.policy-intro p:last-child {
  line-height: 1.9;
  margin: 10px 0 0;
}
.policy-intro-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.policy-deadlines {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: var(--section-gap);
}
.policy-deadline {
  display: grid;
  align-content: start;
}
.policy-deadline h2 {
  line-height: 1.8;
}
.policy-deadline>div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 48px;
  line-height: 1.2;
}
.policy-deadline strong {
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.policy-deadline span {
  font-size: 11px;
  color: #64748a;
}
.policy-deadline p {
  font-size: 11px;
  line-height: 1.8;
  margin: 0;
  color: #64748a;
}
.policy-section-head {
  padding: 24px var(--panel-gutter) 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.policy-section-head>div {
  min-width: 0;
}
.policy-section-head h2 {
  font-size: 16px;
  line-height: 1.6;
}
.policy-section-head p {
  font-size: 11px;
  color: #64748a;
  line-height: 1.8;
  margin: 6px 0 0;
}
.policy-source-caption {
  font-size: 10px;
  color: #64748a;
  line-height: 1.8;
  text-align: right;
  flex-shrink: 0;
}
.policy-flow ol {
  list-style: none;
  margin: 0;
  padding: 0 var(--panel-gutter) 24px;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 24px;
}
.policy-flow li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  position: relative;
}
.policy-step-number {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
  font-variant-numeric: tabular-nums;
}
.policy-flow h3 {
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
  font-weight: 600;
}
.policy-flow li p {
  font-size: 10px;
  line-height: 1.9;
  color: #64748a;
  margin: 5px 0 0;
}
.policy-rule-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  padding: 0 var(--panel-gutter) 24px;
  gap: 24px 32px;
}
.policy-rule-grid article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid #e5eaf2;
}
.policy-rule-grid h3 {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}
.policy-rule-grid p {
  font-size: 12px;
  line-height: 2;
  margin: 9px 0 14px;
  color: #52657d;
}
.policy-rule-grid small {
  font-size: 10px;
  line-height: 1.8;
  color: #64748a;
  margin-top: auto;
}
.policy-section-note {
  padding: 14px var(--panel-gutter);
  border-top: 1px solid #e5eaf2;
  background: #f8faff;
  font-size: 11px;
  color: #64748a;
  line-height: 1.9;
}
.policy-notice-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  padding: 0 var(--panel-gutter) 24px;
  gap: 24px;
}
.policy-notice-grid article {
  border: 1px solid #e5eaf2;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.policy-notice-grid time {
  font-size: 10px;
  color: #64748a;
  line-height: 1.8;
}
.policy-notice-grid h3 {
  font-size: 14px;
  line-height: 1.8;
  margin: 8px 0 0;
}
.policy-notice-grid p {
  font-size: 12px;
  color: #52657d;
  line-height: 1.9;
  margin: 10px 0 16px;
}
.policy-notice-grid details {
  margin-top: auto;
  font-size: 11px;
  line-height: 1.9;
}
.policy-notice-grid summary {
  cursor: pointer;
  color: #193C7F;
}
.policy-notice-grid details small {
  display: block;
  color: #64748a;
  margin-top: 12px;
  font-size: 10px;
}
.policy-original {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 2;
  background: #f5f7fb;
  padding: 16px;
  margin-top: 12px;
  max-height: 350px;
  overflow: auto;
  color: #52657d;
}
.policy-library-filters {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 var(--panel-gutter) 20px;
}
.policy-search {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 220px;
  flex: 1;
  max-width: 400px;
  height: var(--control-height);
  border: 1px solid #dfe5ef;
  border-radius: 7px;
  padding: 8px 12px;
}
.policy-search svg {
  width: 16px;
  height: 16px;
  color: #64748a;
}
.policy-search input {
  border: 0;
  outline: 0;
  min-width: 0;
  width: 100%;
  font-size: 12px;
  color: #263448;
  background: transparent;
}
.policy-search:focus-within {
  outline: 2px solid #4180B5;
  outline-offset: 2px;
}
.policy-library-filters select {
  height: var(--control-height);
  padding: 8px 30px 8px 12px;
  background: white;
  border: 1px solid #dfe5ef;
  border-radius: 7px;
  font-size: 12px;
  color: #52657d;
  max-width: 240px;
}
.policy-result-count {
  margin-left: auto;
  font-size: 11px;
  color: #64748a;
  white-space: nowrap;
}
.policy-library-list {
  padding: 0 var(--panel-gutter) 8px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  column-gap: 28px;
}
.policy-resource {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e5eaf2;
  padding: 18px 0;
  min-width: 0;
}
.policy-resource:hover h3 {
  color: #193C7F;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.policy-resource-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #193C7F;
  flex-shrink: 0;
}
.policy-resource-icon svg {
  width: 18px;
  height: 18px;
}
.policy-resource-content {
  flex: 1;
  min-width: 0;
}
.policy-resource-category {
  display: block;
  font-size: 10px;
  line-height: 1.8;
  color: #64748a;
}
.policy-resource h3 {
  font-size: 12px;
  line-height: 1.9;
  font-weight: 550;
  margin: 4px 0;
  overflow-wrap: anywhere;
}
.policy-resource-content small {
  font-size: 10px;
  color: #64748a;
  line-height: 1.8;
}
.policy-resource-open {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: #193C7F;
  white-space: nowrap;
}
.policy-resource-open svg {
  width: 13px;
  height: 13px;
}
.policy-provenance {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: #64748a;
  line-height: 1.9;
  padding: 0 2px;
}
.policy-provenance a {
  color: #193C7F;
  white-space: nowrap;
}
@media(max-width:1250px) {
  .policy-intro {
    align-items: flex-start;
  }
  .policy-intro-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .policy-flow ol {
    grid-template-columns: repeat(2,minmax(0,1fr));
    row-gap: 24px;
  }
  .policy-library-list {
    grid-template-columns: 1fr;
  }
  .policy-rule-grid {
    column-gap: 24px;
  }
}
@media(max-width:700px) {
  .policy-intro {
    display: block;
  }
  .policy-intro-actions {
    flex-direction: row;
    margin-top: 20px;
  }
  .policy-deadlines {
    gap: 12px;
  }
  .policy-deadline {
    padding: 20px 12px;
  }
  .policy-deadline strong {
    font-size: 34px;
  }
  .policy-rule-grid, .policy-notice-grid {
    grid-template-columns: 1fr;
  }
  .policy-section-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .policy-source-caption {
    text-align: left;
  }
}
@media(max-width:580px) {
  .policy-deadlines {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .policy-deadline {
    grid-template-columns: 1fr auto;
    text-align: left;
    align-items: center;
  }
  .policy-deadline>div {
    grid-column: 2;
    grid-row: 1/3;
    min-width: 90px;
    min-height: 0;
  }
  .policy-deadline p {
    grid-column: 1;
    grid-row: 2;
  }
  .policy-deadline h2 {
    grid-column: 1;
    grid-row: 1;
  }
  .policy-flow ol {
    gap: 22px 16px;
  }
  .policy-flow li {
    gap: 9px;
  }
  .policy-step-number {
    width: 26px;
    height: 26px;
  }
  .policy-section-head {
    padding-top: 20px;
  }
  .policy-search {
    min-width: 0;
    max-width: none;
    flex-basis: 100%;
  }
  .policy-library-filters select {
    max-width: 230px;
  }
  .policy-resource {
    gap: 10px;
  }
  .policy-resource-open svg {
    width: 16px;
    height: 16px;
  }
  .policy-provenance {
    display: block;
  }
  .policy-provenance a {
    display: inline-block;
    margin-top: 8px;
  }
  .sidebar nav {
    gap: 3px;
  }
  .sidebar .nav-item {
    flex: 1;
    min-width: 0;
    font-size: 10px;
    padding: 10px 5px;
    gap: 4px;
  }
  .sidebar .nav-item svg {
    width: 14px;
    height: 14px;
  }
}

/* ========== 4. 填报入口、趋势、下钻、报告（原 features.css） ========== */

.entry-page {
  display: grid;
  gap: 24px;
}
.feature-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.feature-head h2, .entry-page h2 {
  font-size: 18px;
  line-height: 1.5;
}
.feature-head p, .entry-page p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin-top: 8px;
}
.entry-intro {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.entry-device {
  white-space: nowrap;
  padding: 10px 16px;
  font-size: 13px;
}
.entry-actions {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
}
.entry-actions article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.entry-actions p {
  margin: 0;
  min-height: 48px;
}
.entry-actions small {
  color: var(--muted);
  font-size: 12px;
}
.entry-step {
  font-weight: 700;
}
.monthly-counts {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.monthly-counts span {
  padding: 14px 16px;
  border-radius: 10px;
}
.monthly-counts b {
  display: block;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.entry-sharing-body {
  display: grid;
  grid-template-columns: minmax(0,1fr) 210px;
  gap: 32px;
  align-items: start;
}
.entry-sharing form {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin: 20px 0;
}
.entry-sharing .form-field {
  width: 100%;
}
.entry-sharing input {
  width: 100%;
  min-width: 0;
}
.entry-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.entry-local-note {
  border-left: 3px solid #f9bf02;
  padding: 12px 16px;
}
.entry-qr {
  background: #fff;
  border: 1px solid #e2e8f2;
  border-radius: 12px;
  padding: 16px;
  align-self: center;
}
.entry-qr svg {
  display: block;
  width: 100%;
  height: auto;
  stroke: none;
  fill: initial;
  stroke-width: 0;
}
.entry-qr-placeholder {
  text-align: center;
  line-height: 2;
  font-size: 13px;
  color: #64748a;
  padding: 32px 0;
}
.entry-qr-placeholder small {
  font-size: 11px;
}
.dash-kpi[data-dashboard-action] {
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  appearance: none;
}
.dash-kpi[data-dashboard-action]:focus-visible, .trend-column:focus-visible {
  outline: 3px solid #4da2c3;
  outline-offset: 3px;
}
.trend-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
}
.trend-columns {
  display: grid;
  grid-template-columns: repeat(12,minmax(56px,1fr));
  min-width: 760px;
  align-items: start;
}
.trend-column {
  background: transparent;
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font: inherit;
  cursor: pointer;
}
.trend-values {
  display: flex;
  width: 100%;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.trend-values.stacked {
  flex-direction: column;
  gap: 0;
}
.trend-values b {
  flex: 1;
  min-width: 0;
  text-align: center;
}
.trend-pair {
  height: 130px;
  width: 100%;
  max-width: 72px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 0 4px;
  overflow: hidden;
}
.trend-pair i {
  display: block;
  flex: 1;
  min-width: 0;
  min-height: 0;
}
.trend-month {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 40px;
}
.trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 12px;
  margin-bottom: 4px;
}
.trend-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trend-legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
.trend-view {
  padding-top: 8px;
}
.trend-view-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 24px;
  margin-bottom: 12px;
}
.trend-view-head h3 {
  font-size: 15px;
}
.trend-view-head h3 small {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 400;
}
.trend-view-head p {
  font-size: 13px;
}
.trend-tabs, .board-tabs {
  display: flex;
  gap: 4px;
  margin: 4px 0 16px;
  border-bottom: 1px solid #E9EEF5;
}
.trend-tabs button, .board-tabs button {
  padding: 10px 18px;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.trend-tabs button:hover, .board-tabs button:hover {
  color: var(--ink);
}
.trend-tabs button.selected, .board-tabs button.selected {
  color: var(--brand-blue);
  font-weight: 600;
  border-bottom-color: #F9BF02;
}
.trend-tabs button:focus-visible, .board-tabs button:focus-visible {
  outline: 3px solid #4da2c3;
  outline-offset: -3px;
}
.board-tabs {
  margin: 0 0 20px;
}
.board-tabs button {
  font-size: 15px;
  padding: 12px 22px;
}
.training-board>* + * {
  margin-top: 20px;
}
.board-matrix {
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}
.board-matrix th, .board-matrix td {
  padding: 8px 6px;
  text-align: center;
  white-space: nowrap;
  border-bottom: 1px solid #EEF2F7;
}
.board-matrix thead th {
  font-size: 14px;
  font-weight: 500;
  color: #52657d;
}
.board-matrix thead th.selected {
  color: var(--brand-blue);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--brand-blue-mid);
}
.board-matrix th:first-child {
  text-align: left;
  padding-left: var(--panel-gutter);
  min-width: 120px;
}
.board-matrix td:last-child, .board-matrix th:last-child {
  padding-right: var(--panel-gutter);
}
.board-matrix td {
  color: #263448;
  min-width: 36px;
}
.board-matrix td.missing {
  color: #A9B4C2;
  background: repeating-linear-gradient(135deg,#F7F9FC 0 6px,#EEF2F7 6px 7px);
}
.board-matrix .board-total {
  font-weight: 700;
  background: #F4F7FB;
}
.board-matrix tr.selected th[scope="row"] {
  box-shadow: inset 3px 0 0 var(--brand-blue-mid);
  color: var(--brand-blue);
  font-weight: 700;
}
.board-group-row th {
  padding-top: 14px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  background: transparent;
}
.board-matrix.wide thead th button {
  font-size: inherit;
}
.board-cell {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 6px;
}
.board-cell:focus-visible, .board-matrix .text-button:focus-visible {
  outline: 3px solid #4da2c3;
  outline-offset: 1px;
}
.board-panel .dash-table tr.selected th {
  color: var(--brand-blue);
  box-shadow: inset 3px 0 0 var(--brand-blue-mid);
}
.insp-checks {
  display: grid;
  gap: 18px;
  padding: 0 var(--panel-gutter) var(--panel-gutter);
}
.insp-check>div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.insp-check>div:first-child span {
  font-weight: 700;
  color: var(--brand-blue);
}
.insp-bar {
  display: flex;
  height: 10px;
  margin: 8px 0 6px;
  border-radius: 5px;
  overflow: hidden;
  background: #EEF2F8;
}
.insp-bar .ok {
  background: #193C7F;
}
.insp-bar .fail {
  background: #F9BF02;
}
.insp-check small {
  font-size: 11px;
  color: var(--muted);
}
.insp-issues {
  padding: 0 var(--panel-gutter) var(--panel-gutter);
}
.insp-ok {
  color: #1E7A4C;
  font-weight: 700;
}
.insp-fail {
  color: #B4540A;
  font-weight: 700;
}
.insp-na {
  color: #A9B4C2;
}
.insp-detail td {
  text-align: center!important;
}
.dash-trust {
  display: grid;
  gap: 20px;
}
.trend-column.selected {
  color: #193c7f;
}
.trend-column.missing {
  cursor: default;
}
.wide-dialog {
  width: min(1200px,calc(100vw - 32px));
  max-width: 1200px;
}
.record-list-controls {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.record-list-controls input {
  min-width: 200px;
}
.record-list-controls select {
  max-width: 100%;
}
.record-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
.record-pagination div {
  display: flex;
  gap: 10px;
}
.record-table td, .record-table th {
  vertical-align: top;
}
.record-table small {
  display: block;
  font-size: 11px;
  line-height: 1.7;
  color: #738196;
  margin-top: 4px;
}
.record-list {
  padding: 24px;
}
.report-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 24px;
  border-bottom: 1px solid #e5ebf3;
}
.report-copy-field {
  display: block;
  margin: 22px 24px;
  color: #64748a;
  font-size: 12px;
}
.report-copy-field textarea {
  width: 100%;
  margin-top: 8px;
  min-height: 100px;
  line-height: 1.8;
  padding: 12px;
}
.report-document {
  padding: 0 24px 28px;
  color: #263448;
}
.report-document header {
  border-bottom: 2px solid #193c7f;
  padding: 10px 0 20px;
}
.report-document header p {
  font-size: 12px;
  line-height: 1.8;
  color: #64748a;
}
.report-document h2 {
  margin: 10px 0;
  color: #193c7f;
}
.report-document h3 {
  margin: 26px 0 14px;
  font-size: 16px;
}
.report-summary {
  line-height: 1.9;
  background: #f4f7fc;
  padding: 18px;
  border-radius: 10px;
  font-size: 13px;
}
.report-document table {
  font-size: 12px;
}
.report-document small {
  display: block;
  line-height: 1.7;
  color: #64748a;
}
.report-document footer {
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.8;
  color: #64748a;
}
@media(max-width:900px) {
  .entry-sharing-body {
    grid-template-columns: minmax(0,1fr) 180px;
  }
  .monthly-counts {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .entry-actions {
    gap: 18px;
  }
}
@media(max-width:600px) {
  .entry-page {
    gap: 18px;
  }
  .entry-actions, .entry-sharing-body {
    grid-template-columns: 1fr;
  }
  .entry-intro {
    align-items: flex-start;
    gap: 16px;
  }
  .entry-device {
    padding: 8px;
    font-size: 11px;
  }
  .entry-qr {
    width: 210px;
    justify-self: center;
  }
  .feature-head {
    flex-direction: column;
    gap: 14px;
  }
  .record-list, .report-document {
    padding: 18px;
  }
  .report-tools {
    padding: 18px;
  }
  .report-copy-field {
    margin: 18px;
  }
  .wide-dialog {
    width: calc(100vw - 16px);
  }
  .record-list-controls input {
    width: 100%;
    min-width: 0;
  }
  .record-pagination {
    align-items: flex-start;
    flex-direction: column;
  }
  .monthly-counts span {
    padding: 12px;
  }
}
.entry-intro, .entry-actions article, .entry-sharing, .entry-next, .trend-panel {
  padding: var(--panel-gutter);
}
.monthly-progress>.feature-head {
  padding: var(--panel-gutter);
  margin-bottom: 0;
}
.monthly-counts {
  margin-left: var(--panel-gutter);
  margin-right: var(--panel-gutter);
}
.trend-pair {
  position: relative;
}
.trend-pair>small {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  text-align: center;
  font-size: 10px;
}
.record-list-controls select {
  min-height: 40px;
  border: 1px solid #dfe6ee;
  border-radius: 9px;
}
.record-pagination {
  flex-wrap: wrap;
}
.record-table td {
  white-space: normal;
  min-width: 90px;
}
.record-table td:first-child {
  min-width: 240px;
  max-width: 320px;
}
.record-table td:last-child {
  min-width: 170px;
}
.report-document td {
  white-space: normal;
}
.wide-dialog .dialog-heading h2 {
  overflow-wrap: anywhere;
  font-size: 20px;
}
@media(max-width:580px) {
  #navigation {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 6px;
  }
  #navigation .nav-item {
    margin: 0;
    padding: 10px 6px;
    white-space: nowrap;
    font-size: 11px;
  }
  .entry-intro {
    flex-direction: column;
  }
  .entry-actions p {
    min-height: 0;
  }
  .entry-sharing-body {
    gap: 20px;
  }
  .record-list-controls .search-box {
    width: 100%;
  }
}
.trend-panel {
  margin-bottom: var(--section-gap);
}

/* ========== 5. 跨页面对齐与控件精修（原 layout.css） ========== */

:root {
  --panel-gutter: 24px;
  --section-gap: 20px;
  --control-height: 40px;
  --chart-row-height: 44px;
}
[hidden] {
  display: none!important;
}
.page-heading {
  align-items: center;
}
.page-heading>div:first-child {
  min-width: 0;
}
.heading-actions {
  align-items: center;
  flex-shrink: 0;
}
.heading-actions .button {
  min-height: var(--control-height);
}
.button {
  align-items: center;
  justify-content: center;
}
.button svg, .nav-item svg {
  display: block;
}
.filterbar {
  align-items: center;
  gap: 12px;
}
.period-filter {
  min-height: var(--control-height);
  padding: 8px 12px;
}
.org-filter {
  display: flex;
  align-items: center;
  min-width: 0;
}
.org-filter select {
  height: var(--control-height);
  padding: 8px 32px 8px 12px;
}
.demo-note {
  line-height: 1.8;
}
.panel-heading, .table-toolbar {
  padding-left: var(--panel-gutter);
  padding-right: var(--panel-gutter);
}
.table-toolbar {
  align-items: center;
}
.toolbar-controls {
  align-items: center;
  flex-wrap: wrap;
}
.table-footnote {
  padding-left: var(--panel-gutter);
  padding-right: var(--panel-gutter);
}
table th:first-child, table td:first-child {
  padding-left: var(--panel-gutter);
}
table th:last-child, table td:last-child {
  padding-right: var(--panel-gutter);
}
.workspace-footer {
  align-items: center;
}
.editor-dialog .dialog-heading {
  align-items: center;
}
@media(max-width:580px) {
  :root {
    --panel-gutter: 18px;
  }
  .page-heading {
    display: block;
  }
  .heading-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
  }
  .workspace-footer {
    align-items: flex-start;
  }
  .filterbar {
    gap: 10px;
  }
}
:root {
  --control-border: #DCE4EF;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%2364748A' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body select:not([multiple]) {
  -webkit-appearance: none;
  appearance: none;
  background-image: var(--select-arrow);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  padding-inline-start: 14px;
  padding-inline-end: 44px;
  cursor: pointer;
  line-height: 1.5;
  border-radius: 9px;
}
body select:not([multiple]):disabled {
  cursor: not-allowed;
  opacity: .6;
}
.role-picker select,
.org-filter select,
.dash-context select,
.policy-library-filters select,
.toolbar-controls select {
  min-height: var(--control-height);
  border: 1px solid var(--control-border);
  background-color: #FFF;
}
.role-picker select {
  max-width: 220px;
  color: var(--ink);
  font-size: 12px;
}
.dash-context select {
  height: var(--control-height);
}
.dashboard-period-controls .period-filter select {
  min-height: 24px;
  max-width: 190px;
  padding-block: 0;
}
.dashboard-period-controls .period-filter {
  padding-right: 0;
  overflow: hidden;
}
.dashboard-period-controls .period-filter:has(input) {
  padding-right: 12px;
}
.period-filter,
.search-box,
.policy-search,
.form-field input,
.form-field select,
.form-field textarea {
  border-color: var(--control-border);
  border-radius: 9px;
}
.period-filter {
  padding-block: 9px;
}
.search-box, .policy-search {
  min-height: var(--control-height);
  background: #FFF;
}
.form-field input:not([type=checkbox]), .form-field select {
  min-height: 42px;
}
.form-field input:not([type=checkbox]), .form-field textarea {
  padding: 11px 14px;
}
.form-field textarea {
  line-height: 1.8;
}
.form-field {
  gap: 9px;
}
.form-grid {
  gap: 18px 20px;
}
.period-filter:focus-within, .search-box:focus-within, .policy-search:focus-within {
  border-color: #8BA6CF;
  outline: 2px solid #E7EFFB;
  outline-offset: 2px;
}
body select:not([multiple]):focus-visible {
  outline: 2px solid #4180B5;
  outline-offset: 3px;
}
.panel, .dash-kpi, .metric-card {
  border-color: var(--line);
}
.dash-kpi {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.dash-kpi.primary:after {
  display: none;
}
.dash-kpi-label {
  min-height: 30px;
  line-height: 1.6;
  gap: 10px;
}
.dash-kpi-label>span {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}
.dash-kpi-value {
  line-height: 1.25;
  min-height: 48px;
  margin: 18px 0 14px;
}
.dash-kpi-value small {
  font-size: 12px;
}
.dash-kpi p {
  min-height: 40px;
  font-size: 11px;
  line-height: 1.8;
  margin-top: auto;
}
.dash-kpis {
  gap: 18px;
}
.dash-panel-head h2, .policy-section-head h2 {
  letter-spacing: .1px;
  line-height: 1.6;
}
.dash-panel-head p, .policy-section-head p {
  line-height: 1.8;
}
.dash-execution h2 {
  font-size: 15px;
  line-height: 1.6;
}
.dash-context {
  gap: 16px;
  margin-bottom: 22px;
}
.dash-context label {
  gap: 12px;
}
.dash-chart-note, .table-footnote, .policy-section-note {
  background-color: #FAFBFD;
  border-top-color: #E9EEF5;
  line-height: 1.9;
}
.dash-chart-note {
  font-size: 11px;
  min-height: 68px;
}
.dash-table thead th, table thead th {
  background: #FAFBFD;
  color: #596B83;
}
.dash-table tbody th, .dash-table td {
  border-bottom-color: #EDF1F6;
}
.dash-check-count, .tag {
  border-radius: 6px;
  padding: 4px 8px;
}
.dash-bar-track,
.dash-bar-track>span,
.dash-quality-track,
.dash-quality-track span,
.dash-status-bar,
.dash-audit, .reviews-intro, .form-hint {
  border-radius: 12px;
}
.button {
  min-height: var(--control-height);
  transition: background-color 140ms ease,border-color 140ms ease,box-shadow 140ms ease;
}
.button.secondary {
  border-color: var(--control-border);
}
.dash-toggle, .dash-period-tabs {
  border-color: #E1E8F2;
  gap: 3px;
}
.dash-toggle button, .dash-period-tabs button {
  line-height: 1.5;
}
.dash-toggle button {
  min-height: 30px;
  padding: 6px 11px;
  font-size: 11px;
}
.dash-period-tabs button {
  min-height: 30px;
  padding: 6px 13px;
}
.view-tab {
  border-radius: 9px;
  padding: 10px 15px;
}
.policy-deadline {
  gap: 14px;
}
.policy-deadline strong {
  line-height: 1.2;
}
.policy-step-number {
  border-radius: 10px;
}
.policy-notice-grid article {
  border-radius: 12px;
  padding: 22px;
}
.policy-resource-icon {
  border-radius: 10px;
}
.policy-resource {
  padding-block: 20px;
  border-top-color: #E9EEF5;
}
.policy-original {
  border: 1px solid #E9EEF5;
  border-radius: 9px;
}
.policy-intro {
  border-top-width: 2px;
  border-top-color: var(--brand-blue);
}
.brand-mark {
  border-radius: 12px;
}
.nav-item {
  border-radius: 10px;
}
.topbar-actions {
  gap: 14px;
}
.dialog-heading {
  padding-bottom: 22px;
}
.icon-button {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.form-actions {
  padding-block: 18px;
  background: #FAFBFD;
}
@media(max-width:1250px) {
  .dash-kpi {
    padding: 22px;
  }
  .dash-kpi-value {
    font-size: 32px;
  }
}
@media(max-width:1100px) {
  .dash-kpis {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .topbar-actions {
    gap: 10px;
  }
}
@media(max-width:700px) {
  .role-picker {
    min-width: 0;
  }
  .role-picker select {
    min-width: 0;
    max-width: 185px;
  }
  .policy-notice-grid article {
    padding: 20px;
  }
}
@media(max-width:580px) {
  .dash-kpis {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .dash-kpi {
    padding: 18px 16px;
  }
  .dash-kpi-label {
    gap: 6px;
  }
  .dash-kpi-label>span {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }
  .dash-kpi-value {
    min-height: 38px;
    margin: 14px 0 10px;
    gap: 5px;
  }
  .dash-kpi-value small {
    font-size: 10px;
  }
  .dash-kpi p {
    min-height: 40px;
    font-size: 10px;
  }
  .dash-period-tabs button {
    padding-inline: 10px;
  }
  .dash-chart-note {
    padding-inline: var(--panel-gutter);
    font-size: 10px;
  }
  .policy-deadline {
    padding: 20px 18px;
    gap: 8px 16px;
  }
  .policy-notice-grid article {
    padding: 18px;
  }
  .nav-item {
    min-height: 38px;
  }
  .role-picker {
    flex: 1;
    justify-content: flex-end;
    gap: 6px;
    font-size: 10px;
  }
  .role-picker select {
    width: 100%;
    max-width: 185px;
    font-size: 11px;
    padding-inline-start: 10px;
  }
  .topbar-actions {
    flex-wrap: wrap;
  }
  .form-grid {
    gap: 16px;
  }
}
@media(forced-colors:active) {
  body select:not([multiple]) {
    -webkit-appearance: auto;
    appearance: auto;
    background-image: none;
  }
}
@media(max-width:360px) {
  .dash-kpis {
    grid-template-columns: 1fr;
  }
  .dash-kpi-value {
    font-size: 32px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .button {
    transition: none;
  }
}

/* ========== 6. 视觉主题：深蓝侧栏、字号阶梯、卡片/表格/制度页（原 theme.css） ========== */

:root {
  --ink: #192D42;
  --ink-2: #354B61;
  --muted: #546A7C;
  --subtle: #607487;
  --bg: #F4F6F8;
  --line: #DCE3E9;
  --line-soft: #EBEFF2;
  --surface: #FFFFFF;
  --surface-2: #F5F7F9;
  --brand-blue: #0958D9;
  --brand-blue-dark: #003EB3;
  --brand-blue-deep: #13224A;
  --brand-blue-light: #E6F4FF;
  --brand-tint: #F3F8FF;
  /* 各状态在色带、图例和详情中共用色值。文字使用同色系深色。 */
  --a-done: #08979C;
  --a-done-ink: #006D75;
  --a-pending: #597EF7;
  --a-pending-ink: #2F54C2;
  --a-delay: #FA8C16;
  --a-delay-ink: #AD4E00;
  --a-cancel: #758493;
  --a-cancel-ink: #4B5967;
  --radius: 13px;
  --radius-sm: 8px;
  --surface-shadow: 0 2px 5px #142E4506;
  --lift-shadow: 0 2px 4px #1A2C5C0D,0 12px 32px #1A2C5C14;
  --font-sans: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  --num-font: -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif;
  --type-title: clamp(28px,2.35vw,34px);
  --type-section: clamp(17px,1.3vw,19px);
  --type-body: 14px;
  --type-note: 13px;
  font-family: var(--font-sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
body {
  background: var(--bg);
  font-size: 14px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
::selection {
  background: #C9D8F0;
}
main:focus, main:focus-visible {
  outline: none;
}
.metric-caption,
.donut-label,
.micro-note,
.todo-row small,
.bar-item,
.unit-key,
.table-toolbar h2 small,
.course-subtitle,
.tag,
.cell-secondary,
.table-footnote,
.workspace-footer,
.form-field small,
.detail-label,
.metric-top,
.demo-note,
.dash-kpi p,
.dash-execution-summary>strong span,
.dash-coverage-labels,
.dash-bar-secondary,
.dash-chart-note,
.dash-quality-labels,
.dash-table tbody th small,
.dash-check-count,
.dash-toggle button,
.dash-context small,
.dash-context label,
.dash-table thead th,
.period-filter label,
.policy-source-caption,
.policy-flow li p,
.policy-rule-grid small,
.policy-notice-grid time,
.policy-notice-grid details small,
.policy-resource-category,
.policy-resource-content small,
.policy-provenance,
.policy-kicker,
.policy-result-count,
.policy-resource-open,
.record-table small,
.entry-qr-placeholder small,
thead {
  font-size: 12px;
}
.panel-heading p,
.legend-row,
.text-button,
.search-box input,
.toolbar-controls select,
table,
.reviews-intro,
.view-tab,
.form-hint,
.form-field,
.small-summary,
.todo-row strong,
.role-picker select,
.org-filter select,
.dash-execution p,
.dash-status-legend,
.dash-panel-head p,
.dash-coverage-row,
.dash-quality-row,
.dash-quality-cell b,
.dash-subtle,
.dash-audit,
.entry-device,
.policy-deadline span,
.policy-deadline p,
.policy-section-head p,
.policy-section-note,
.policy-notice-grid details,
.policy-flow h3,
.policy-resource h3,
.course-name,
.dashboard-period-controls .period-filter,
.dashboard-period-controls input,
.dashboard-period-controls select,
input[type=month],
.form-field input,
.form-field select,
.form-field textarea,
.button {
  font-size: 13px;
}
.dash-table {
  font-size: 13px;
}
.dash-coverage-row small, .trend-pair>small {
  font-size: 11px;
}
.dash-kpi-value small, .metric-value small {
  font-size: 13px;
}
.feature-head p, .entry-page p {
  font-size: 14px;
}
.policy-rule-grid p, .policy-notice-grid p {
  font-size: 13px;
}
.policy-step-number, .dash-kpi-label>span {
  font-size: 12px;
}
.metric-caption,
.micro-note,
.todo-row small,
.course-subtitle,
.cell-secondary,
.table-footnote,
.form-field small,
.detail-label,
.empty-state,
.table-toolbar h2 small,
.unit-key,
.bar-item,
.policy-resource-category,
.policy-resource-content small,
.policy-source-caption {
  color: var(--muted);
}
.dash-chart-note, .table-footnote, .policy-section-note {
  color: var(--muted);
  background: var(--surface-2);
}
.metric-value,
.dash-kpi-value,
.donut-label strong,
.dash-execution-summary>strong,
.policy-deadline strong,
.monthly-counts b,
.trend-values b,
.todo-count {
  font-family: var(--num-font);
  font-variant-numeric: tabular-nums;
}
.sidebar {
  background: linear-gradient(164deg,#142D4A 0%,#132941 50%,#11253B 100%);
  border-right: 0;
  color: #C6D3EA;
  padding: 26px 14px 22px;
}
.brand {
  color: #AFBFD0;
  margin: 0 10px 26px;
}
.brand strong {
  color: #FFF;
  letter-spacing: .035em;
}
.brand-mark {
  position: relative;
  background: #E7EEF6;
  color: #17395A;
  border-radius: 9px;
  box-shadow: none;
}
.nav-caption {
  color: #B0C1D3;
  font-size: 12px;
  letter-spacing: .08em;
  padding: 0 14px;
  margin: 23px 0 7px;
}
.nav-item {
  color: #DFE8F1;
  font-size: 14px;
  padding: 9px 14px;
  margin-bottom: 2px;
  min-height: 40px;
  border-radius: 7px;
  position: relative;
  transition: background-color 140ms ease,color 140ms ease;
}
.nav-item svg {
  color: #A8BCD0;
  width: 18px;
  height: 18px;
  transition: color 140ms ease;
}
.nav-item:hover {
  background: #FFFFFF0F;
  color: #FFF;
}
.nav-item:hover svg {
  color: #FFF;
}
.nav-item.active {
  background: #2F4D6A;
  color: #FFF;
  font-weight: 600;
  box-shadow: none;
}
.nav-item.active svg {
  color: #E3EEFC;
}
.nav-item.active:before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 0 3px 3px 0;
  background: #C9DEF2;
}
.nav-count {
  background: #FFFFFF1F;
  color: #FFF;
  border-radius: 20px;
  font-variant-numeric: tabular-nums;
}
.nav-item.future {
  color: #9AACCF;
}
.nav-item.future small {
  color: #7489B3;
  font-size: 11px;
  border: 1px solid #FFFFFF1F;
  border-radius: 20px;
  padding: 1px 7px;
}
.future-caption {
  margin-top: 28px;
}
.sidebar-bottom {
  border-top-color: #FFFFFF1A;
  color: #FFF;
  padding: 20px 14px 0;
}
.sidebar-bottom b {
  font-weight: 600;
}
.sidebar-bottom p {
  color: #8FA3CC;
  font-size: 12px;
}
.sidebar-bottom .phase-dot {
  background: var(--brand-yellow);
}
.sidebar :focus-visible {
  outline-color: var(--brand-yellow);
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  padding: 0 40px;
  background: #FFFFFFE6;
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  gap: 10px;
  font-size: 13px;
  color: var(--subtle);
}
.breadcrumb b {
  color: var(--ink);
  font-weight: 600;
}
.demo-badge {
  font-size: 12px;
  border-radius: 20px;
  border: 1px solid #F0D98A;
  padding: 3px 10px;
  background: #FFF8DB;
  color: #7A5B00;
}
.role-picker {
  font-size: 12px;
  color: var(--muted);
}
.avatar {
  width: 34px;
  height: 34px;
  background: var(--brand-blue);
  color: #FFF;
  border: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.5px;
}
main {
  padding: 32px 40px 28px;
}
.page-heading {
  margin-bottom: 24px;
}
.eyebrow {
  color: var(--brand-blue-mid);
  font-size: 11px;
  letter-spacing: 2.2px;
  font-weight: 600;
  margin-bottom: 8px;
}
.source-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 10px;
}
.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 9px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  background: #EEF1F5;
  color: #4A5870;
}
.source-chip:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.source-detail {
  font-size: 12px;
  color: var(--muted);
}
.source-line.real .source-chip {
  background: #E3ECFA;
  color: var(--brand-blue);
}
.source-line.demo .source-chip {
  background: #FFF1C2;
  color: #6E5300;
}
.source-line.demo .source-chip:before {
  background: #E0A800;
}
h1 {
  font-size: var(--type-title);
  font-weight: 650;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.35;
}
.page-heading p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
}
.filterbar {
  position: sticky;
  top: 64px;
  z-index: 15;
  margin-bottom: 12px;
  padding: 10px 0;
  background: var(--bg);
}
@media(max-width:700px) {
  .filterbar {
    position: static;
    padding: 0;
    margin-bottom: 22px;
  }
}
.demo-note {
  color: var(--muted);
}
.period-filter, .org-filter select, .search-box, .toolbar-controls select {
  background-color: var(--surface);
}
.period-filter label {
  color: var(--muted);
}
.button {
  border-radius: var(--radius-sm);
  font-weight: 500;
  padding: 9px 16px;
}
.button.primary {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  box-shadow: 0 1px 2px #193C7F26,inset 0 1px 0 #FFFFFF1A;
}
.button.primary:hover {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
}
.button.secondary {
  background: var(--surface);
  color: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px #1A2C5C0A;
}
.button.secondary:hover {
  border-color: #B7C7E2;
  background: var(--brand-tint);
  color: var(--brand-blue);
}
.button:active:not(:disabled) {
  transform: translateY(1px);
}
.text-button {
  color: var(--brand-blue);
  font-weight: 500;
}
.panel, .dash-kpi, .metric-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--surface-shadow);
}
.dash-kpi {
  transition: border-color 160ms ease,box-shadow 160ms ease,transform 160ms ease;
}
.dash-kpi[data-dashboard-action]:hover {
  border-color: #B7C7E2;
  box-shadow: var(--lift-shadow);
  transform: translateY(-1px);
}
.dash-kpi.primary {
  background: radial-gradient(120% 140% at 100% 0%,#2B4F96 0%,#1A2C5C 55%,#13224A 100%);
  border-color: transparent;
  box-shadow: 0 8px 24px #1A2C5C33;
}
.dash-kpi.primary[data-dashboard-action]:hover {
  border-color: transparent;
  box-shadow: 0 12px 32px #1A2C5C47;
}
.dash-kpi-label {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}
.dash-kpi-label>span {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
}
.dash-kpi-value {
  color: var(--ink);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -1px;
}
.dash-kpi.primary .dash-kpi-value {
  color: #FFF;
}
.dash-kpi p {
  color: var(--muted);
}
.dash-kpi.primary p, .dash-kpi.primary .dash-kpi-value small {
  color: #BFD0EE;
}
.dash-panel-head h2,
.policy-section-head h2,
.panel-heading h2,
.table-toolbar h2,
.feature-head h2 {
  font-size: var(--type-section);
  line-height: 1.5;
  font-weight: 650;
  color: var(--ink);
}
.dash-panel-head p {
  color: var(--muted);
}
.dash-context b {
  color: var(--brand-blue);
}
.dash-context>span {
  color: var(--ink);
}
.dash-toggle, .dash-period-tabs {
  background: #EAEFF6;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 3px;
}
.dash-toggle button, .dash-period-tabs button {
  color: var(--muted);
  border-radius: 7px;
  font-weight: 500;
}
.dash-toggle button:hover, .dash-period-tabs button:not(.selected):hover {
  color: var(--ink);
}
.dash-toggle button.selected {
  background: #FFF;
  color: var(--brand-blue);
  box-shadow: 0 1px 3px #1A2C5C1F;
}
.dash-period-tabs button.selected {
  background: #FFF;
  color: var(--brand-blue);
  box-shadow: 0 1px 3px #1A2C5C1F;
  font-weight: 600;
}
.dash-execution-summary>strong {
  color: var(--brand-blue);
  font-size: 32px;
  font-weight: 600;
}
.dash-status-bar {
  height: 10px;
  border-radius: 6px;
  gap: 2px;
  background: transparent;
}
.dash-status-bar span {
  border-radius: 3px;
}
.dash-status-legend i {
  border-radius: 50%;
}
.trend-columns {
  gap: 8px;
}
.trend-column {
  color: var(--muted);
}
.trend-values b {
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
}
.trend-values b.plan {
  color: var(--muted);
  font-weight: 400;
}
.trend-view-head h3 small, .trend-legend {
  color: var(--muted);
}
.trend-view-head p b {
  color: var(--ink);
  font-family: var(--num-font);
}
.trend-legend i.plan, .trend-pair i.plan {
  background: #DCE6F4;
  box-shadow: inset 0 0 0 1px #A9C0DF;
}
.trend-legend i.done {
  background: #5F8BC2;
}
.trend-month small {
  font-size: 11px;
  line-height: 18px;
  padding: 0 8px;
  border-radius: 9px;
  color: #7A5A00;
  background: #FFF3C4;
}
.trend-pair {
  background: linear-gradient(180deg,#F5F7FB 0%,#EEF2F8 100%);
  border-radius: 8px;
}
.trend-pair i {
  border-radius: 6px 6px 2px 2px;
  transition: background 160ms ease;
}
.trend-pair i.done {
  background: linear-gradient(180deg,#7FA5CF 0%,#5F8BC2 100%);
}
.trend-column:hover:not(.missing) .trend-pair i.done {
  background: linear-gradient(180deg,#6F98C8 0%,#4F7DB7 100%);
}
.trend-column.selected .trend-pair i.plan {
  background: #C3D4EB;
  box-shadow: inset 0 0 0 1px #7FA5CF;
}
.trend-column.selected .trend-pair i.done {
  background: linear-gradient(180deg,#2D57A3 0%,#193C7F 100%);
  box-shadow: 0 6px 14px #193C7F33;
}
.trend-column.selected .trend-values b.done, .trend-column.selected .trend-month {
  color: var(--brand-blue);
}
.trend-pair>small {
  font-size: 13px;
}
.trend-pair.missing {
  background: repeating-linear-gradient(135deg,#F3F6FA 0 6px,#EAEEF4 6px 7px);
}
.dash-bar-track, .dash-quality-track {
  background: #EEF2F8;
}
.dash-coverage-row:hover {
  background: var(--brand-tint);
}
.dash-coverage-row strong {
  font-family: var(--num-font);
  font-weight: 600;
}
.dash-coverage-labels, .dash-quality-labels {
  color: var(--subtle);
}
.dash-audit, .reviews-intro, .form-hint {
  background: var(--brand-tint);
  border: 1px solid #DCE6F5;
  color: var(--ink-2);
}
.dash-audit summary {
  font-weight: 500;
}
table thead th, .dash-table thead th {
  background: var(--surface-2);
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
th {
  padding: 12px 14px;
}
td {
  padding: 15px 14px;
  border-bottom-color: var(--line-soft);
  color: var(--ink-2);
}
tbody tr {
  transition: background-color 120ms ease;
}
tbody tr:hover {
  background: var(--brand-tint);
}
.dash-table tbody th {
  text-align: left;
  color: var(--ink);
  font-weight: 500;
}
.dash-table th, .dash-table td {
  padding: 14px 20px;
}
.dash-table-emphasis {
  color: var(--brand-blue);
  font-weight: 600;
}
.dash-table-total th, .dash-table-total td {
  background: var(--brand-blue-light);
  color: var(--brand-blue-dark);
}
.course-name {
  color: var(--ink);
  font-weight: 600;
}
.row-actions .text-button {
  font-size: 13px;
}
.tag {
  border-radius: 20px;
  padding: 3px 10px 3px 9px;
  font-weight: 500;
  background: #F0F3F7;
  color: #56657A;
  gap: 6px;
}
.tag:before {
  width: 6px;
  height: 6px;
}
.tag.complete {
  background: #E8F0FB;
  color: var(--brand-blue);
}
.tag.blue {
  background: #E6F3F8;
  color: #22698A;
}
.tag.amber {
  background: #FFF5D6;
  color: #7A5B00;
}
.tag.red {
  background: #FCEAE8;
  color: #A9443B;
}
.dash-check-count {
  border-radius: 20px;
  padding: 2px 9px;
  background: #FFF5D6;
  color: #7A5B00;
}
.table-toolbar {
  padding-block: 18px;
}
.search-box {
  border-radius: var(--radius-sm);
}
.view-tab {
  background: var(--surface);
  color: var(--muted);
  border-color: var(--line);
  font-weight: 500;
}
.view-tab:hover {
  color: var(--ink);
}
.view-tab.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #FFF;
}
.empty-state strong {
  color: var(--ink);
}
.policy-intro {
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 32px 36px;
  color: #FFF;
  background: radial-gradient(60% 120% at 100% 0%,#2E58A5 0%,transparent 60%),
    linear-gradient(120deg,#1A2C5C 0%,#193C7F 100%);
  box-shadow: 0 10px 30px #1A2C5C33;
}
.policy-intro:after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 36px solid #FFFFFF0A;
  pointer-events: none;
}
.policy-intro>* {
  position: relative;
  z-index: 1;
}
.policy-kicker {
  color: var(--brand-yellow);
  letter-spacing: 1px;
}
.policy-intro .policy-kicker {
  color: var(--brand-yellow);
}
.policy-intro h2 {
  color: #FFF;
  font-size: 24px;
  font-weight: 600;
}
.policy-intro p:last-child {
  color: #C9D7F0;
  font-size: 14px;
}
.policy-intro .button.primary {
  background: #FFF;
  color: var(--brand-blue);
  border-color: #FFF;
  box-shadow: 0 4px 12px #0000001F;
}
.policy-intro .button.primary:hover {
  background: #F0F5FD;
}
.policy-intro .button.secondary {
  background: #FFFFFF14;
  color: #FFF;
  border-color: #FFFFFF40;
  box-shadow: none;
}
.policy-intro .button.secondary:hover {
  background: #FFFFFF24;
  border-color: #FFFFFF66;
}
.policy-intro :focus-visible {
  outline-color: var(--brand-yellow);
}
.policy-deadline {
  text-align: left;
  padding: 24px 26px;
  position: relative;
}
.policy-deadline>div {
  justify-content: flex-start;
}
.policy-deadline h2 {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}
.policy-deadline strong {
  font-size: 44px;
  font-weight: 600;
  color: var(--brand-blue);
}
.policy-deadline:before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand-blue);
}
.policy-deadline:last-child:before {
  background: var(--brand-yellow);
}
.policy-step-number {
  background: var(--brand-blue);
  color: #FFF;
  border: 0;
  font-weight: 600;
}
.policy-flow h3 {
  color: var(--ink);
}
.policy-rule-grid article {
  border-top-color: var(--line);
}
.policy-rule-grid h3 {
  color: var(--ink);
}
.policy-rule-grid p, .policy-notice-grid p {
  color: var(--ink-2);
}
.policy-notice-grid article {
  background: var(--surface-2);
  border-color: var(--line-soft);
}
.policy-resource {
  border-radius: 10px;
  transition: background-color 140ms ease;
}
.policy-resource-icon {
  background: var(--brand-blue-light);
  border: 0;
}
.policy-resource:hover .policy-resource-icon {
  background: var(--brand-blue);
  color: #FFF;
}
.entry-intro {
  background: linear-gradient(120deg,#FFFFFF 40%,var(--brand-tint) 100%);
}
.entry-device {
  background: var(--surface);
  border: 1px solid #D5E1F3;
  color: var(--brand-blue);
  border-radius: 20px;
  font-weight: 500;
}
.entry-step {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  letter-spacing: 0;
  font-size: 13px;
  font-family: var(--num-font);
}
.entry-actions article {
  gap: 12px;
}
.entry-actions article>.button {
  margin-top: 6px;
}
.entry-actions article>.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  font-size: 13px;
}
.entry-actions article>.text-button:after {
  content: "→";
  transition: transform 140ms ease;
}
.entry-actions article>.text-button:hover {
  text-decoration: none;
}
.entry-actions article>.text-button:hover:after {
  transform: translateX(3px);
}
.monthly-counts span {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
}
.monthly-counts b {
  font-size: 28px;
  font-weight: 600;
  color: var(--brand-blue);
}
.entry-local-note {
  border-left-color: var(--brand-yellow);
  background: #FFFBEB;
  border-radius: 0 10px 10px 0;
}
.entry-qr {
  border-color: var(--line);
  box-shadow: var(--surface-shadow);
}
.editor-dialog {
  border-radius: 16px;
  box-shadow: 0 24px 80px #13224A4D;
}
.editor-dialog::backdrop {
  background: #13224A66;
  backdrop-filter: blur(4px);
}
.dialog-heading h2 {
  font-size: 20px;
  font-weight: 600;
}
.form-section-title {
  font-size: 14px;
  color: var(--ink);
}
.form-field {
  color: var(--ink-2);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--brand-cyan);
  outline: 3px solid #4180B526;
  outline-offset: 0;
}
.toast {
  background: var(--brand-blue-deep);
  border-radius: 12px;
  font-size: 13px;
  box-shadow: 0 12px 32px #13224A40;
}
.workspace-footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 32px;
}
.future-message strong {
  color: var(--ink);
}
.storage-warning {
  border-radius: 12px;
}
@media(prefers-reduced-motion:reduce) {
  .dash-kpi, .nav-item, .trend-pair i, tbody tr, .policy-resource {
    transition: none;
  }
  .dash-kpi[data-dashboard-action]:hover {
    transform: none;
  }
}
@media(max-width:1150px) {
  .topbar {
    padding: 0 25px;
  }
  main {
    padding: 28px 25px 24px;
  }
  .sidebar {
    padding: 24px 10px;
  }
  .nav-item.active:before {
    left: 0;
  }
}
@media(max-width:850px) {
  .nav-item {
    font-size: 0;
    justify-content: center;
    padding: 12px;
  }
  .nav-item.active:before {
    display: none;
  }
}
@media(max-width:700px) {
  .policy-intro {
    padding: 26px 24px;
  }
}
@media(max-width:580px) {
  .sidebar {
    padding: 14px 14px 12px;
    border-bottom: 0;
  }
  .brand {
    margin: 0 0 14px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }
  .brand strong {
    font-size: 16px;
  }
  .sidebar .nav-item, #navigation .nav-item {
    font-size: 12px;
    color: #C3CFE6;
    background: #FFFFFF0A;
    min-height: 38px;
    justify-content: center;
  }
  .sidebar .nav-item.active, #navigation .nav-item.active {
    background: #FFF;
    color: var(--brand-blue);
  }
  .sidebar .nav-item.active svg {
    color: var(--brand-blue);
  }
  .topbar {
    position: static;
    height: auto;
    padding: 12px 18px;
    background: #FFF;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  main {
    padding: 22px 16px 18px;
  }
  h1 {
    font-size: 25px;
  }
  .page-heading p:not(.eyebrow) {
    font-size: 13px;
  }
  .dash-kpi-value {
    font-size: 28px;
  }
  .dash-kpi-label {
    font-size: 13px;
  }
  .policy-intro {
    padding: 22px 20px;
  }
  .policy-intro h2 {
    font-size: 20px;
  }
  .policy-deadline:before {
    top: 18px;
    bottom: 18px;
  }
  .policy-deadline strong {
    font-size: 34px;
  }
  .policy-resource-open {
    font-size: 0;
  }
  .workspace-footer {
    margin-top: 24px;
  }
}

/* November form: use the same layout for plan entry and result feedback. */
.month-entry-form .entry-fieldset {
  min-inline-size: 0;
  margin: 0 0 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

@media (min-width: 901px) {
  #navigation .nav-child {
    padding-inline-start: 32px;
    min-height: 40px;
  }
}
.knowledge-table {
  min-width: 720px;
}
.knowledge-table th:first-child {
  min-width: 230px;
}
.knowledge-table td:nth-child(2) {
  white-space: nowrap;
}
.month-entry-form .entry-fieldset legend {
  padding-inline: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.month-entry-form .form-field {
  font-size: 13px;
}
.month-entry-form .form-field :is(input, select, textarea) {
  font-size: 16px;
  min-height: 44px;
}
@media (max-width: 600px) {
  .month-entry-form .form-body {
    padding: 16px 12px;
  }
  .month-entry-form .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .month-entry-form .form-actions {
    position: sticky;
    bottom: 0;
    background: white;
  }
}

/* 单位选择：桌面列级联面板 */
.org-filter { display: inline-flex; align-items: center; }

/* 单位选择：列级联面板 */
.org-picker { position: relative; display: inline-flex; }
.org-picker-button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line, #D7DCE5);
  border-radius: 8px; padding: 7px 12px; font: inherit; font-size: 13px;
  color: var(--ink); cursor: pointer; max-width: 26em;
}
.org-picker-button:hover { border-color: var(--brand-blue); }
.org-picker-button span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.org-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #6B7280; flex: none; }
.org-panel {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 40;
  background: var(--surface); border: 1px solid var(--line, #D7DCE5);
  border-radius: 12px; padding: 10px; min-width: 520px;
  box-shadow: 0 12px 28px #1B2A4A1F;
}
.org-search { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line, #D7DCE5); border-radius: 8px; padding: 5px 8px; margin-bottom: 8px; }
.org-search svg { width: 14px; height: 14px; flex: none; color: #6B7280; }
.org-search input { border: 0; outline: 0; font: inherit; font-size: 13px; width: 100%; background: transparent; }
.org-columns { display: flex; gap: 6px; }
.org-column { flex: 1 1 0; min-width: 150px; max-height: 280px; overflow: auto; display: flex; flex-direction: column; gap: 2px; }
.org-column + .org-column { border-left: 1px solid #EAE8E1; padding-left: 6px; }
.org-item { text-align: left; border: 0; background: transparent; border-radius: 6px; padding: 6px 8px; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; white-space: nowrap; }
.org-item:hover { background: var(--brand-tint); }
.org-item.selected { background: var(--brand-blue-light); color: var(--brand-blue-dark); font-weight: 600; }
.org-results { display: flex; flex-direction: column; gap: 2px; max-height: 280px; overflow: auto; }
.org-results button { text-align: left; border: 0; background: transparent; border-radius: 6px; padding: 7px 8px; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; }
.org-results button:hover { background: var(--brand-tint); }
.org-picker-button[aria-expanded="true"], .org-search:focus-within { border-color: var(--brand-blue-mid); }
.org-empty { margin: 8px; font-size: 13px; color: var(--muted); }

.org-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #EAE8E1; font-size: 12px; color: #5F5E5A; }
.org-panel-current { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.org-panel-actions { display: flex; gap: 6px; flex: none; }
.org-panel-actions button { border: 1px solid #D7DCE5; background: #FFFFFF; border-radius: 6px; padding: 4px 10px; font: inherit; font-size: 12px; color: #2C2C2A; cursor: pointer; }
.org-panel-actions button:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

.org-panel-actions button.org-confirm { border-color: var(--brand-blue); color: var(--brand-blue); font-weight: 500; }
.org-panel-actions button.org-confirm:hover { background: var(--brand-blue); color: #FFFFFF; }

/* Training overview: results, comparison and specialty share the existing shell. */
#heading-actions { flex-flow: row wrap; width: auto; align-items: center; justify-content: flex-end; margin: 0; }
#heading-actions .button { width: auto; }
.page-heading { align-items: center; }
.page-heading h1 { margin-block: 0; font-size: var(--type-title); }
@media(max-width:580px) {
  .page-heading { flex-wrap: wrap; gap: 10px; }
  #heading-actions { justify-content: flex-start; }
}
.snapshot-stamp { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: var(--type-note); }
.snapshot-stamp svg { width: 16px; height: 16px; }
.dash-scope {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 14px;
  font-size: 14px;
}
.dash-context .dash-scope-note,
.dash-context .dash-snapshot {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.overview-board,
.comparison-board,
.specialty-board {
  min-width: 0;
}
.overview-range { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 14px; }
.overview-range .dash-context { margin: 0; }
.overview-range > span { color: var(--muted); font-size: 13px; }
.overview-metrics {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  margin: 0 0 26px;
}
.metric-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 20px clamp(16px,1.6vw,25px);
  text-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}
.metric-choice:hover { border-color: #799bc4; }
.metric-choice[aria-pressed="true"] {
  background: #193B60;
  border-color: #193B60;
  color: white;
}
.metric-choice[aria-pressed="true"] :is(.metric-number,.metric-label svg) { color: #fff; }
.metric-choice[aria-pressed="true"] .metric-caption-line { color: #D3E1EF; }
.metric-label { display: flex; align-items: center; gap: 8px; font-size: var(--type-body); font-weight: 600; }
.metric-label svg { width: 17px; height: 17px; color: #426899; }
.metric-number { color: #173655; font: 600 clamp(30px,2.75vw,42px)/1.12 var(--num-font); letter-spacing: -.045em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.metric-number small { font: 500 var(--type-note) var(--font-sans); letter-spacing: 0; margin-inline-start: 5px; }
.metric-caption-line { font-size: 13px; line-height: 1.55; color: #4c607b; }
.analysis-heading, .analysis-divider { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.analysis-heading { margin: 0 0 12px; }
.analysis-heading h2 { font-size: clamp(19px,1.5vw,22px); letter-spacing: -.025em; }
.trend-shortcut { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.trend-shortcut svg { width: 16px; height: 16px; }
.metric-analysis { scroll-margin-top: 130px; }
.overview-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.18fr); gap: 16px; margin-bottom: 18px; }
.analysis-panel { min-width: 0; padding: 20px clamp(16px,1.6vw,26px); }
.analysis-panel .dash-panel-head { padding: 0; margin: 0 0 18px; min-height: 0; align-items: flex-start; }
.analysis-panel .dash-panel-head h2 { font-size: var(--type-section); line-height: 1.5; }
.analysis-panel .dash-panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.analysis-panel .dash-panel-head > button { flex-shrink: 0; }
.status-strip { display: flex; height: 10px; overflow: hidden; border-radius: 5px; background: var(--surface-2); }
.status-strip i { display: block; }
.segment-completed { background: #376daa; }
.segment-pending { background: #c8d7e9; }
.segment-postponed { background: #ba8841; }
.segment-cancelled { background: #717e8c; }
.segment-failed { background: #b66543; }
.status-counts, .analysis-bars, .overview-courses { list-style: none; padding: 0; margin: 0; }
.status-counts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 12px; }
.status-counts button { text-align: start; background: transparent; padding: 2px 3px; color: var(--ink); }
.status-counts button:disabled { opacity: 1; color: var(--muted); cursor: default; }
.status-counts button:not(:disabled):hover b, .course-source:hover { text-decoration: underline; text-underline-offset: 3px; }
.status-counts span, .outcome-legend span { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--ink-2); }
.status-counts i, .outcome-legend i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.status-counts b { display: block; margin-top: 3px; font: 600 23px/1.35 var(--num-font); }
.status-counts small { font-size: 13px; font-weight: 450; }
.analysis-divider { margin: 19px 0 13px; border-top: 1px solid var(--line); padding-top: 16px; }
.analysis-divider h3 { font-size: 15px; }
.analysis-divider span { color: var(--muted); font-size: 13px; }
.analysis-bars { display: grid; gap: 13px; }
.analysis-bars li { display: grid; grid-template-columns: minmax(7em,34%) minmax(30px,1fr) 4.1em; align-items: center; gap: 10px; font-size: 14px; }
.analysis-bars b { text-align: end; color: var(--ink); font-variant-numeric: tabular-nums; }
.bar-label { min-width: 0; max-width: 11em; }
.bar-label .text-button { padding: 0; text-align: start; font: inherit; }
.bar-track { display: block; height: 8px; background: #e9eff6; border-radius: 2px; overflow: hidden; }
.bar-track i { display: block; height: 100%; background: #4d79af; border-radius: 2px; }
.analysis-foot { color: var(--muted); margin: 17px 0 0; padding-top: 13px; border-top: 1px solid var(--line); font-size: 13px; }
.overview-courses li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.overview-courses li:first-child { border: 0; padding-top: 0; }
.overview-courses li > div { min-width: 0; }
.course-source { display: block; text-align: start; padding: 0; color: #234675; background: transparent; font-size: 15px; font-weight: 550; line-height: 1.55; white-space: normal; overflow-wrap: anywhere; }
.overview-courses small, .analysis-table tbody small { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--muted); white-space: normal; }
.overview-courses time, .overview-courses li > small { flex-shrink: 0; white-space: nowrap; color: var(--muted); font-size: 13px; }
.overview-empty { margin: 0; padding: 12px 0; color: var(--muted); font-size: 14px; }
.analysis-table { width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
.analysis-table th, .analysis-table td { padding: 10px 6px; text-align: end; vertical-align: top; }
.analysis-table thead th { color: var(--ink-2); font-size: 13px; font-weight: 550; }
.analysis-table th:first-child { width: 100%; min-width: 8em; text-align: start; padding-left: 0; }
.analysis-table thead th:first-child { padding-left: 6px; }
.analysis-table tbody th { border-bottom: 1px solid var(--line-soft); }
.analysis-table tbody tr:last-child th { border: 0; }
.outcome-total { display: flex; align-items: baseline; gap: 9px; margin-bottom: 14px; }
.outcome-total strong { font: 650 38px/1.1 var(--num-font); color: #955034; }
.outcome-total span, .outcome-legend { font-size: 14px; }
.outcome-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.record-table tbody th[scope="row"] { min-width: 13em; max-width: 26em; white-space: normal; text-align: start; }
.record-table td:last-child { min-width: 6em; }
.overview-audit {
  padding: 8px 2px;
  color: var(--muted);
  font-size: 13px;
}
.overview-audit summary {
  color: var(--ink-2);
  cursor: pointer;
  font-size: 14px;
}
.overview-audit summary span { margin-inline-start: 8px; color: var(--muted); font-size: 13px; }
.overview-audit .dash-method { padding-inline: 16px; }

.comparison-board .board-tabs, .specialty-board .board-tabs {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  margin: 0 0 14px;
  padding: 4px;
  border: 1px solid #dde6f2;
  border-radius: 12px;
  background: #eaf0f8;
}
.comparison-board .board-tabs button, .specialty-board .board-tabs button {
  padding: 8px 15px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
}
.comparison-board .board-tabs button.selected, .specialty-board .board-tabs button.selected {
  background: #fff;
  box-shadow: 0 1px 3px #152b531c;
}
.comparison-panel {
  padding: var(--panel-gutter);
  background: #fff;
}
.comparison-panel .dash-panel-head { padding: 0 0 18px; }
.comparison-table {
  min-width: 520px;
  font-variant-numeric: tabular-nums;
}
.comparison-children { min-width: 710px; }
.comparison-table td, .comparison-table th { padding: 12px 14px; text-align: left; }
.comparison-table thead th { background: #edf3fa; color: #29476d; }
.comparison-table tbody th { color: #263d58; }
.comparison-table td b { font-size: 16px; color: #193c7f; white-space: nowrap; }
.comparison-root tbody td:nth-child(3) b { color: #146960; }
.comparison-table td small { display: block; color: #51647e; white-space: nowrap; }
.comparison-share, .comparison-mini-bar {
  display: flex;
  border-radius: 999px;
  overflow: hidden;
  background: #e8eef6;
}
.comparison-share { height: 12px; min-width: 100px; }
.comparison-mini-bar { height: 5px; width: 90px; margin-top: 5px; }
.comparison-share i, .comparison-mini-bar i { display: block; height: 100%; background: #376db4; }
.comparison-share .share-region { background: #138078; }
.comparison-trend .trend-values { justify-content: center; }
.comparison-trend .feature-head .dash-toggle { flex-wrap: wrap; }
.specialty-matrix .board-matrix th, .specialty-matrix .board-matrix td { padding-block: 10px; }
.specialty-matrix .board-matrix td { border-inline-end: 2px solid white; }
.specialty-matrix .dash-chart-note { margin: 0; }

/* Shared reading sizes for page content and controls. */
body,
table,
table thead th,
.dash-table,
.dash-table thead th,
.text-button,
.button,
.form-field,
.form-field input,
.form-field select,
.form-field textarea,
.org-filter select,
.org-picker-button,
.dashboard-period-controls input,
.dashboard-period-controls select {
  font-size: 14px;
}
.panel-heading p,
.feature-head p,
.dash-panel-head p,
.policy-section-head p,
.period-filter label,
.board-matrix .text-button,
.overview-note .text-button {
  font-size: 13px;
}
.specialty-matrix .board-matrix .text-button { font-size: inherit; }
.specialty-matrix .board-matrix th[scope="row"] .text-button { font-weight: 550; }
.workspace-footer { overflow-wrap: anywhere; }

/* 单位面板跟随触发按钮。实际宽度、左右避让和向上展开由视口尺寸决定。 */
#page-filters {
  position: sticky;
  gap: 9px;
  padding: 4px 0 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.dashboard-period-controls { gap: 9px; }
.dashboard-period-controls .dash-period-tabs { background: #E8EFF7; }
.dashboard-period-controls .dash-period-tabs button { font-size: var(--type-note); }
.dashboard-period-controls .dash-period-tabs button.selected { color: var(--brand-blue); }
.org-picker-button { min-height: var(--control-height); }
#org-picker { max-width: 100%; }
.org-picker-button { max-width: min(100%,26em); }
.org-panel { min-width: 0; width: min(280px,94vw); overflow: auto; overscroll-behavior: contain; }
.org-columns { overflow-x: auto; overscroll-behavior-inline: contain; }
.org-columns .org-column { min-width: min(130px,40vw); }
.org-panel-current { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.org-item:focus-visible,.org-results button:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: -2px; }
@media(max-width:1050px) {
  .overview-grid { grid-template-columns: 1fr; }
  .metric-choice { padding: 16px 12px; }
}
@media(min-width:581px) and (max-width:850px) {
  #navigation .nav-item { flex-direction: column; gap: 4px; padding: 8px 0; font-size: 12px; line-height: 1.4; }
}
@media(max-width:780px) {
  .overview-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
}
@media(max-width:700px) {
  #page-filters { position: relative; top: auto; }
}
@media(max-width:580px) {
  #navigation { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; }
  #navigation .nav-item { font-size: 13px; padding-inline: 3px; }
  #navigation .nav-item svg { display: none; }
  #navigation .nav-caption { display: none; }
  .workspace .topbar { min-height: 0; padding-block: 8px; justify-content: flex-end; }
  .snapshot-stamp { font-size: 13px; }
  .metric-choice { padding: 14px 12px; gap: 7px; }
  .metric-label { font-size: 14px; gap: 5px; }
  .metric-label svg { width: 15px; height: 15px; }
  .metric-number { font-size: clamp(25px,7.2vw,34px); }
  .metric-caption-line { font-size: 12px; }
  .overview-metrics { margin-bottom: 20px; }
  .analysis-heading h2 { font-size: 19px; }
  .analysis-panel { padding: 16px 14px; }
  .analysis-panel .dash-panel-head { gap: 8px; }
  .analysis-table th, .analysis-table td { padding: 8px 4px; }
  .analysis-table th:first-child { min-width: 7em; }
  .analysis-bars li { grid-template-columns: minmax(6.5em,34%) minmax(20px,1fr) 3.5em; gap: 6px; }
}
@media(max-width:359px) {
  #navigation { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

/* 明细数据表 */
.board-matrix { font-size: 13.5px; }
.board-matrix th, .board-matrix td { padding: 9px 8px; }
.board-matrix td { border-bottom: 1px solid #F1F4F9; border-right: 1px solid #F5F7FA; }
.board-matrix thead th:first-child { position: sticky; left: 0; background: #FFFFFF; z-index: 3; }
.board-matrix tbody th[scope="row"] { position: sticky; left: 0; background: #FFFFFF; z-index: 2; text-align: left; font-weight: 400; }
.board-matrix tbody tr:hover th[scope="row"] { background: #F5F8FD; }
.board-matrix tbody tr.selected th[scope="row"] { background: #EEF4FD; box-shadow: inset 3px 0 0 var(--brand-blue-mid); color: var(--brand-blue); font-weight: 500; }

/* 分组行：整行色带，一眼能看出「工程类 / 设计类」的分界 */
.board-matrix .board-group-row th {
  position: static; background: #E8F0FB; color: #16456F;
  font-size: 12.5px; font-weight: 600; text-align: left;
  padding: 7px 14px !important; border-left: 4px solid #193C7F !important;
  letter-spacing: .04em;
}

.dash-table { font-size: var(--type-body); }
.dash-table th, .dash-table td { padding: 11px 12px; }
.dash-table tbody tr:nth-child(even) td { background: #F9FBFC; }
.dash-table tbody tr:hover td { background: #F3F7FD; }
.dash-table thead th { background: var(--surface-2); font-size: var(--type-note); font-weight: 600; color: var(--ink-2); }

/* 卡片轻微投影，避免整页发平 */
.panel { box-shadow: var(--surface-shadow); }

/* Account entry and the current reader */
.login-page {
  min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
  padding: 24px;
  background: radial-gradient(ellipse at 70% 15%,#E5ECF1 0%,transparent 55%),var(--bg);
}
.login-card {
  width: min(100%, 425px); padding: clamp(26px,5vw,40px);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 10px 42px -16px #18334C29;
}
.login-company { margin: 0 0 24px; color: #375C80; font-size: var(--type-note); font-weight: 650; letter-spacing: .08em; }
.login-card h1 { color: var(--ink); font-size: var(--type-title); line-height: 1.3; margin: 0; }
.login-intro { margin: 10px 0 27px; color: var(--muted); line-height: 1.65; font-size: 14px; }
#login-form { display: grid; gap: 8px; }
#login-form label { font-size: 14px; font-weight: 600; }
#login-form input {
  width: 100%; min-height: 44px; padding: 9px 12px; margin: 0 0 10px;
  font: inherit; font-size: 16px; background: white; color: var(--ink); border: 1px solid #bdcada; border-radius: 7px;
}
#login-form input:focus { outline: 2px solid #4271a9; outline-offset: 1px; }
#login-submit { margin-top: 4px; min-height: 44px; }
.login-error { margin: 0; font-size: 14px; color: #a0372c; }
.account-tools { display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }
.account-label { padding-inline-start: 14px; border-inline-start: 1px solid var(--line); font-size: var(--type-note); font-weight: 600; color: var(--ink); }
.sign-out { font: inherit; font-size: 13px; color: var(--brand-blue); background: transparent; border: 0; padding: 6px 2px; cursor: pointer; }
.sign-out:hover { text-decoration: underline; }
@media(max-width:580px){
  .account-tools { gap: 5px 12px; }
  .account-label { padding-inline-start: 10px; }
  .account-tools .snapshot-stamp { font-size: 12px; }
}

/* 人才培养 */
@media(min-width:581px){.sidebar nav{min-height:0;overflow-y:auto;scrollbar-width:thin}}
.talent-board{display:grid;gap:18px}
.talent-context{margin:0;color:var(--muted);font-size:14px}
.talent-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.talent-stat,.talent-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--surface-shadow)}
.talent-stat{padding:18px 20px}
.talent-stat h2{margin:0;color:var(--ink-2);font-size:var(--type-body);font-weight:600}
.talent-stat strong{display:block;margin:9px 0 6px;font:600 clamp(28px,2.65vw,38px)/1.15 var(--num-font);letter-spacing:-.035em;font-variant-numeric:tabular-nums;color:#193B60}
.talent-stat small,.talent-panel .talent-note{color:var(--muted);font-size:13px;line-height:1.6}
.talent-panel{padding:clamp(15px,2vw,24px);min-width:0}
.talent-panel h2{font-size:var(--type-section);line-height:1.5;margin:0 0 16px}
.talent-panel h3{font-size:15px;margin:0}
.talent-split{display:grid;grid-template-columns:minmax(250px,.9fr) minmax(0,1.35fr);gap:16px}
.talent-history{list-style:none;margin:8px 0;padding:0}
.talent-history li{display:grid;grid-template-columns:88px minmax(45px,1fr) 44px;gap:9px;align-items:center;min-height:33px;font-size:13px}
.talent-history b{text-align:right;font-variant-numeric:tabular-nums}
.talent-track{display:block;height:7px;border-radius:8px;background:#edf1f5}
.talent-track i{display:block;height:100%;border-radius:inherit;background:#507baa}
.talent-history li:last-child i{background:#157a79}
.talent-tier{padding:10px 0;display:grid;grid-template-columns:76px 1fr;gap:12px;border-top:1px solid var(--line)}
.talent-tier strong,.talent-tier small{display:block}.talent-tier small{margin-top:4px;color:var(--muted)}
.talent-names{display:flex;flex-wrap:wrap;gap:5px;align-content:start}
.talent-names span{padding:4px 8px;background:#F0F4F7;border-radius:5px;font-size:var(--type-note);color:var(--ink-2)}
.talent-controls{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:12px 0}
.talent-filters{display:flex;gap:5px;flex-wrap:wrap}
.talent-filters button{padding:6px 10px;border:1px solid #d6e0e9;border-radius:6px;background:white;color:#39516c;font:inherit;font-size:13px;cursor:pointer}
.talent-filters button[aria-pressed=true]{background:#1f4674;border-color:#1f4674;color:white}
.talent-search{font:inherit;font-size:14px;padding:8px 10px;border:1px solid #bdcada;border-radius:6px;min-width:0;max-width:100%}
.talent-scroll{max-height:500px;overflow:auto}
.talent-scroll table{border-collapse:separate;border-spacing:0;width:100%;text-align:left;font-size:14px}
.talent-scroll th,.talent-scroll td{padding:9px 12px;border-bottom:1px solid #e4eaf0;white-space:nowrap}
.talent-scroll thead th{position:sticky;top:0;background:#f0f4f8;z-index:1;font-size:13px}
.talent-scroll:not(.person-scroll) td:last-child{font-size:12px;color:var(--muted)}
.talent-count{margin:6px 0 10px;color:var(--muted);font-size:13px}
.talent-review{display:flex;flex-wrap:wrap;gap:12px 28px;padding:5px 0;color:#294667}
.talent-review b{font-size:22px;margin-right:5px}
.talent-panel details{margin:10px 0 0}.talent-panel summary{cursor:pointer;color:#21466e;font-size:14px}
@media(max-width:950px){.talent-split{grid-template-columns:1fr}}
@media(max-width:650px){.talent-summary{gap:8px}.talent-stat{padding:13px 10px}.talent-stat h2{font-size:13px}.talent-stat small{font-size:12px}.talent-panel{padding:16px}.talent-tier{grid-template-columns:68px 1fr}}
@media(max-width:460px){
  .talent-summary { grid-template-columns: 1fr; gap: 6px; }
  .talent-stat { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: baseline; padding: 11px 15px; }
  .talent-stat strong { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
}
.talent-evidence{padding-left:18px;font-size:13px;color:var(--muted);line-height:1.7}
.talent-scroll:not(.person-scroll) td:last-child,.talent-scroll:not(.person-scroll) td:nth-last-child(2){white-space:normal;min-width:100px;max-width:250px}


/* 专业类别：当前范围的完成构成，以及可横向查阅的月份、单位矩阵。 */
.specialty-board {
  --sp-ink: #21384e;
  --sp-muted: #50647a;
  --sp-rule: #dee6ee;
  --sp-gutter: clamp(16px, 2vw, 28px);
  font-variant-numeric: tabular-nums;
}
.specialty-board .dash-context { margin: 0 0 13px; }
.specialty-board > .sp-card + .sp-card { margin-top: 18px; }
.sp-card {
  min-width: 0;
  margin: 0;
  background: var(--surface, #fff);
  color: var(--sp-ink);
  border: 1px solid var(--sp-rule);
  border-radius: var(--radius, 13px);
  box-shadow: 0 2px 6px rgba(36, 56, 81, .035);
}
.sp-card h2 { margin: 0; font-size: 18px; line-height: 1.45; font-weight: 650; letter-spacing: -.018em; color: var(--sp-ink); }
.sp-overview {
  display: grid;
  grid-template-columns: minmax(8em, .8fr) auto minmax(12em, 2.2fr);
  align-items: center;
  gap: clamp(16px, 2.5vw, 42px);
  padding: 22px var(--sp-gutter);
}
.sp-total { display: flex; align-items: baseline; gap: 7px; margin-top: 12px; color: #204772; }
.sp-total strong { font: 600 clamp(36px, 3.4vw, 53px)/1.06 var(--num-font); letter-spacing: -.045em; }
.sp-total > span { font-size: 14px; }
.sp-lead p, .sp-share figcaption { margin: 5px 0 0; color: var(--sp-muted); font-size: 12px; line-height: 1.6; }
.sp-share { display: grid; justify-items: center; margin: 0; }
.sp-mosaic { width: clamp(70px, 7.5vw, 99px); aspect-ratio: 1; display: grid; grid-template: repeat(10, 1fr) / repeat(10, 1fr); gap: 2px; }
.sp-mosaic i, .sp-swatch { display: inline-block; border-radius: 1px; background: var(--swatch); }
.sp-swatch { width: 9px; height: 9px; flex: none; }
.sp-share figcaption { font-size: 11px; white-space: nowrap; }
.sp-legend { min-width: 0; border-inline-start: 1px solid var(--sp-rule); list-style: none; margin: 0; padding: 0 0 0 var(--sp-gutter); }
.sp-legend-wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.sp-legend li { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto 4em; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid #edf1f5; }
.sp-legend li:last-child, .sp-legend-wide li:nth-last-child(2):nth-child(odd) { border: 0; }
.sp-legend button, .sp-legend .sp-label { display: flex; align-items: center; gap: 8px; color: var(--sp-ink); font: inherit; font-size: 14px; line-height: 1.55; text-align: start; }
.sp-legend button, .sp-matrix button { padding: 0; border: 0; background: transparent; }
.sp-legend button:hover, .sp-matrix th button:hover { color: #1b598f; text-decoration: underline; text-underline-offset: 3px; }
.sp-legend b { font: 620 16px/1.4 var(--num-font); color: var(--sp-ink); white-space: nowrap; }
.sp-legend b small { margin-inline-start: 4px; color: var(--sp-muted); font-size: 12px; font-weight: 400; }
.sp-percent { text-align: right; color: var(--sp-muted); font: 400 13px/1.5 var(--num-font); white-space: nowrap; }
.sp-empty-mix { padding: 20px var(--sp-gutter); }
.sp-empty-mix p, .sp-empty { margin: 10px 0 0; font-size: 14px; color: var(--sp-muted); }
.sp-empty { padding: 8px var(--sp-gutter) 22px; }
.sp-matrix-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px var(--sp-gutter) 10px; }
.sp-matrix-head p { margin: 4px 0 0; color: var(--sp-muted); font-size: 13px; line-height: 1.55; }
.sp-switch { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border-radius: 8px; background: #eef3f7; }
.sp-switch button { border: 0; border-radius: 5px; background: transparent; color: #4b6276; font-family: inherit; font-weight: 500; font-size: 13px; line-height: 1.4; padding: 7px 13px; }
.sp-switch button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px #25395526; font-weight: 600; color: #234a79; }
.sp-switch button:hover { color: #174e83; }
.sp-scale { display: flex; align-items: center; gap: 7px 14px; flex-wrap: wrap; padding: 2px var(--sp-gutter) 14px; color: var(--sp-muted); font-size: 12px; line-height: 1.5; }
.sp-scale > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.sp-scale i { width: 10px; height: 10px; border-radius: 2px; background: var(--tile); }
.sp-level-1 { --tile: #edf3f9; --tile-ink: #385979; }
.sp-level-2 { --tile: #cddff0; --tile-ink: #254b70; }
.sp-level-3 { --tile: #79a4c9; --tile-ink: #0a2b47; }
.sp-level-4 { --tile: #2d5c89; --tile-ink: #fff; }
.sp-table-scroll, .sp-chart-scroll { position: relative; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.sp-matrix { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.sp-matrix :is(th, td) { height: 35px; padding: 3px 4px; text-align: center; white-space: nowrap; border: 0; border-bottom: 1px solid #edf1f5; color: var(--sp-ink); font-weight: 450; }
.sp-matrix td { min-width: 37px; background: #fff; }
.sp-matrix thead th { color: #496077; font-size: 13px; font-weight: 550; background: #f4f7fa; border-block: 1px solid var(--sp-rule); }
.sp-matrix thead th:first-child, .sp-matrix th[scope="row"] { position: sticky; left: 0; z-index: 1; padding-inline: var(--sp-gutter) 14px; text-align: start; border-inline-end: 1px solid var(--sp-rule); }
.sp-matrix thead th:first-child { z-index: 3; }
@media screen and (min-width: 741px) {
  .sp-table-scroll { max-height: min(68vh, 680px); overflow-y: auto; }
  .sp-matrix thead th { position: sticky; top: 0; z-index: 2; }
}

.sp-matrix :is(th,td).sp-sum { background: #f5f8fb; color: #2c4c68; font-weight: 650; border-inline-start: 1px solid var(--sp-rule); padding-inline: 10px; }
.sp-matrix th[scope="row"] { padding-inline-start: calc(var(--sp-gutter) + 15px); background: #fff; font-size: 13px; }
.sp-matrix th button { font: inherit; color: inherit; }
.sp-matrix tbody tr:hover :is(td,th[scope="row"]) { background: #f4f8fb; }
.sp-matrix th.sp-current { color: #164f82; box-shadow: inset 0 -2px 0 #437daf; }
.sp-matrix .sp-group th { height: 29px; padding: 0; text-align: start; background: #f0f4f8; border: 0; }
.sp-matrix .sp-group button { position: sticky; left: 0; display: inline-flex; align-items: center; gap: 8px; padding: 5px var(--sp-gutter); font-size: 13px; font-weight: 650; color: #2e4862; }
.sp-matrix .sp-group button::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--sp-group-color); }
.sp-matrix th button[aria-pressed="true"] { color: #1b5382; font-weight: 650; }
.sp-matrix .sp-value { display: inline-grid; place-items: center; background: var(--tile); color: var(--tile-ink); min-width: 26px; height: 24px; padding: 0 5px; border-radius: 5px; font: 600 13px/1 var(--num-font); }
.sp-matrix button.sp-value:hover { box-shadow: 0 0 0 2px #315b80; }
.sp-zero { color: #74879a; }
.sp-none { color: #7b8999; }
.sp-source { margin: 0; padding: 11px var(--sp-gutter); color: #566b80; border-top: 1px solid var(--sp-rule); font-size: 12px; line-height: 1.65; }
.sp-line-key { display: flex; gap: 14px; font-size: 12px; color: var(--sp-muted); }
.sp-line-key span { display: inline-flex; align-items: center; gap: 5px; }
.sp-line-key span::before { content: ''; width: 15px; border-top: 2px dashed #8396a8; }
.sp-line-key span + span::before { border-color: #225c8e; border-top-style: solid; }
.sp-chart-scroll { margin: 0 var(--sp-gutter) 16px; }
.sp-chart { min-width: 465px; }
.sp-traces { display: block; width: 100%; height: 80px; overflow: visible; }
.sp-traces :is(path,circle) { vector-effect: non-scaling-stroke; }
.sp-baseline { fill: none; stroke: #d7e1ea; stroke-width: 1; }
.sp-plan-trace { fill: #fff; stroke: #889bab; stroke-width: 1.5; }
.sp-plan-trace path { fill: none; stroke-dasharray: 4 3; }
.sp-done-trace { fill: #255b89; stroke: #255b89; }
.sp-done-trace path { fill: none; stroke-width: 2; }
.sp-month-points { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 0; }
.sp-month-points button { min-width: 0; display: grid; align-content: start; grid-template-columns: auto auto; justify-content: center; gap: 2px 5px; padding: 4px 0; border: 0; border-radius: 5px; background: transparent; font: inherit; font-size: 13px; line-height: 1.5; color: var(--sp-ink); }
.sp-month-points button > span:first-child, .sp-absent { grid-column: span 2; }
.sp-month-points button:hover, .sp-month-points .sp-selected { background: #eff4f9; }
.sp-plan-num { color: var(--sp-muted); }
.sp-ongoing { grid-column: span 2; color: var(--sp-muted); font-size: 11px; font-weight: 400; }
.sp-month-points b { color: #215e92; }
.sp-card :is(button, [tabindex]):focus-visible { outline: 2px solid #236a9b; outline-offset: -2px; }
@media (max-width: 1150px) {
  .sp-legend-wide li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid #edf1f5; }
  .sp-legend-wide { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 12px; }
  .sp-legend-wide li { grid-template-columns: minmax(0,1fr) auto; gap: 1px 6px; }
  .sp-legend-wide .sp-percent { grid-column: 2; font-size: 11px; }
}
@media (max-width: 740px) {
  .sp-overview { grid-template-columns: 1fr auto; column-gap: 22px; row-gap: 15px; padding-block: 17px; }
  .sp-share { justify-self: end; }
  .sp-mosaic { width: 76px; }
  .sp-legend { grid-column: 1 / -1; border-inline-start: 0; border-top: 1px solid var(--sp-rule); padding: 6px 0 0; }
  .sp-legend-wide { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sp-legend li { padding: 4px 0; }
  .sp-matrix-head { align-items: flex-start; }
  .sp-matrix :is(th,td) { height: 36px; }
  .sp-matrix thead th:first-child, .sp-matrix th[scope="row"] { max-width: 128px; min-width: 96px; white-space: normal; padding-inline: 12px 7px; }
  .sp-matrix th[scope="row"] button { text-align: start; }
  .sp-card h2 { font-size: 17px; }
  .sp-switch button { padding: 6px 10px; }
  .sp-scale { gap: 4px 10px; padding-bottom: 11px; }
}
@media print {
  .sp-mosaic i, .sp-swatch, .sp-value, .sp-scale i { print-color-adjust: exact; }
  .sp-table-scroll { overflow: visible; }
}


/* 总部与区域：直接读数值、两方差额和有效样本。 */
.pair-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.pair-metric { min-width:0; border:1px solid var(--line); border-radius:10px; background:var(--surface); overflow:hidden; }
.pair-heading { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:6px 14px; padding:13px 16px; border-bottom:1px solid var(--line-soft); background:#f5f8fb; }
.pair-heading h3 { margin:0; font-size:16px; font-weight:650; color:var(--ink); }
.pair-diff { color:#344f68; font-size:13px; font-weight:600; }
.pair-values { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding:15px 0; }
.pair-value { display:grid; align-content:start; gap:3px; padding-inline:clamp(10px,1.3vw,20px); color:#244d7b; }
.pair-value+.pair-value { border-left:1px solid var(--line); color:#216c67; }
.pair-who { display:flex; align-items:center; gap:6px; color:var(--ink-2); font-size:13px; }
.pair-who i { width:8px; height:8px; background:#345e8c; border-radius:2px; }
.pair-value+.pair-value i { background:#327c75; }
.pair-value strong { font:600 clamp(22px,2.1vw,34px)/1.35 var(--num-font); font-variant-numeric:tabular-nums; letter-spacing:-.035em; }
.pair-value strong small { font:500 13px var(--font-sans); letter-spacing:0; }
.pair-note { color:var(--muted); font-size:13px; }
.pair-links { margin-top:14px; display:flex; flex-wrap:wrap; gap:8px 22px; }
.pair-links >div { display:flex; align-items:center; gap:12px; padding:4px 0; }
.pair-links >div>button+button { font-size:13px; color:var(--muted); border-inline-start:1px solid var(--line); padding-inline-start:12px; }
@media(max-width:950px){.pair-grid {grid-template-columns:1fr;}}
@media(max-width:580px){.pair-heading{padding:10px 12px}.pair-values{padding:11px 0}.pair-grid{gap:9px}.pair-value strong{font-size:24px}.pair-links{gap:4px 14px}}

.inspection-board .dash-kpis, .knowledge-board .dash-kpis { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.inspection-board .dash-kpi, .knowledge-board .dash-kpi { display:grid; align-content:start; gap:6px; border-radius:var(--radius); padding:18px 20px; min-height:0; }
.inspection-board .dash-kpi-value,.knowledge-board .dash-kpi-value { margin:0; font-size:clamp(29px,2.5vw,39px); line-height:1.25; }
.inspection-board .dash-kpi p,.knowledge-board .dash-kpi p { margin:0; font-size:13px; }
.inspection-board .dash-context small,.knowledge-board .dash-context small { display:block; margin:4px 0 0; font-size:13px; }
.person-scroll { position:relative; max-width:100%; max-height:clamp(360px,68vh,720px); overflow:auto; overscroll-behavior-inline:contain; }
.person-scroll:focus-visible { outline:2px solid var(--brand-blue); outline-offset:2px; }
.person-scroll::-webkit-scrollbar { width:10px; height:10px; }
.person-scroll::-webkit-scrollbar-track { background:var(--surface); }
.person-scroll::-webkit-scrollbar-thumb { background:var(--muted); border:2px solid var(--surface); border-radius:5px; }
.person-scroll th,.person-scroll td { vertical-align:top; }
.person-scroll td { white-space:normal; overflow-wrap:anywhere; line-height:1.6; }
.person-scroll .person-sub { display:block; color:var(--muted); font-size:12px; line-height:1.55; font-weight:450; padding-top:3px; white-space:normal; }
.person-scroll tbody th[scope="row"] { background:var(--surface); position:sticky; left:0; z-index:1; }
.person-scroll th:first-child { min-width:88px; max-width:114px; white-space:normal; box-shadow:1px 0 var(--line); }
.person-scroll thead th { z-index:2; }
.person-scroll thead th:first-child { left:0; z-index:3; }
.person-scroll .person-unit { min-width:150px; max-width:210px; }
.person-scroll .person-role { min-width:116px; max-width:170px; }
.person-scroll .person-mentor,.person-scroll .person-assessment { min-width:80px; max-width:110px; }
.person-scroll .person-date { min-width:119px; max-width:150px; font-variant-numeric:tabular-nums; }
.person-scroll .person-note { min-width:190px; max-width:240px; }
.person-scroll .review-cell { min-width:260px; max-width:360px; }
.review-stamp { color:#3c607c; font-size:12px; font-weight:600; }
.review-sentence { margin:2px 0 3px; line-height:1.6; overflow-wrap:anywhere; }
.person-timeline summary { color:#295e88; font-size:12px; width:fit-content; }
.person-scroll details { margin:4px 0 0; }
.person-timeline ol { list-style:none; padding:0; margin:8px 0 0; }
.person-timeline li { display:grid; grid-template-columns:3em 1fr; gap:8px; padding:6px 0; border-top:1px solid var(--line-soft); font-size:13px; }
.person-timeline li time,.person-empty { color:var(--muted); font-size:13px; }
.person-timeline li b { color:var(--ink-2); font-weight:600; }
@media(max-width:650px){
  .inspection-board .dash-kpis,.knowledge-board .dash-kpis { grid-template-columns:1fr; gap:7px; }
  .inspection-board .dash-kpi,.knowledge-board .dash-kpi { grid-template-columns:minmax(0,1fr) auto; padding:12px 15px; gap:2px 10px; align-items:center; }
  .inspection-board .dash-kpi-value,.knowledge-board .dash-kpi-value { grid-column:2;grid-row:1 / span 2;font-size:28px; }
  .person-scroll th,.person-scroll td { padding:8px 10px; }
  .person-scroll th:first-child { min-width:76px; max-width:90px; }
  .person-scroll .review-cell { min-width:225px; }
}
@media(max-width:580px){ #navigation {grid-template-columns:repeat(3,minmax(0,1fr));} }
/* 单选菜单使用同一视口坐标，浮层不受滚动容器或筛选栏裁剪。 */
.filter-menu-button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 10px;
  max-width: min(100%, 24em); min-height: var(--control-height, 40px); min-width: 0;
  border: 1px solid var(--control-border, #d8e1eb); border-radius: var(--radius-sm, 8px);
  padding: 7px 12px; background: white; color: var(--ink); font: inherit; font-size: 14px;
  text-align: start; cursor: pointer;
}
.filter-menu-button::after {
  flex: none; content: ''; width: 6px; height: 6px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  margin: -4px 2px 0; transform: rotate(45deg); color: #587087;
}
.filter-menu-button[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(225deg); }
.filter-menu-button:hover, .filter-menu-button[aria-expanded="true"] { border-color: var(--brand-blue-mid); }
.filter-menu-button:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; }
.dashboard-period-controls .period-filter .filter-menu-button {
  min-height: 28px; border: 0; border-radius: 4px; padding: 2px 12px 2px 0;
}
.dashboard-period-controls .period-filter:has(.filter-menu-button):focus-within {
  outline: 2px solid var(--brand-blue); outline-offset: 2px;
}
.dashboard-period-controls .period-filter .filter-menu-button:focus-visible { outline: none; }
.filter-menu-popup {
  box-sizing: border-box; position: fixed; inset: auto; z-index: 1000;
  width: max-content; max-width: calc(100vw - 16px); padding: 5px;
  border: 1px solid #cedae5; border-radius: 10px; background: white; color: var(--ink);
  box-shadow: 0 8px 26px #1e3e5d26,0 2px 6px #1e3e5d0c;
  overflow: auto; overscroll-behavior: contain; scrollbar-width: thin;
  font-size: 14px; line-height: 1.45;
}
.filter-menu-group { padding: 11px 10px 3px; color: var(--muted); font-size: 12px; font-weight: 650; }
.filter-menu-option {
  display: flex; align-items: center; justify-content: space-between; gap: 15px;
  min-height: 34px; padding: 6px 10px; border-radius: 6px; overflow-wrap: anywhere; cursor: pointer;
}
.filter-menu-option::after { content: ''; flex: none; width: 12px; font-weight: 650; color: var(--brand-blue); }
.filter-menu-option[aria-selected="true"] { color: var(--brand-blue-dark); font-weight: 650; }
.filter-menu-option[aria-selected="true"]::after { content: '✓'; }
.filter-menu-option.active, .filter-menu-option:hover { background: var(--brand-blue-light); }
@media (pointer: coarse) { .filter-menu-option { min-height: 42px; } }
@media (forced-colors: active) { .filter-menu-option.active { outline: 1px solid Highlight; } }

#page-filters:has(.org-picker-button[aria-expanded="true"]) { z-index:45; }

.pair-panel .dash-panel-head { min-height:0; margin:0; padding:0 0 14px; }
/* Monthly comparison. Labels and point centres share the same twelve-column track. */
.comparison-trend .time-scroll { position: relative; overflow-x: auto; padding: 10px 0 0; }
.time-grid { display: grid; grid-template-columns: 61px minmax(0, 1fr); min-width: 738px; font-variant-numeric: tabular-nums; }
.time-axis, .time-plot { position: relative; height: 133px; margin: 6px 0 12px; }
.time-axis, .time-label { position: sticky; left: 0; z-index: 1; background: var(--surface); }
.time-axis span { position: absolute; right: 12px; transform: translateY(-50%); font: 450 12px/1.3 var(--num-font); color: var(--muted); }
.time-plot { margin-inline-end: 0; }
.time-plot svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.time-plot path { fill: none; vector-effect: non-scaling-stroke; stroke: #32699d; stroke-width: 2.25px; stroke-linecap: round; stroke-linejoin: round; }
.time-rule { position: absolute; inset-inline: 0; border-block-start: 1px dashed #d8e1ea; }
.time-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: white; border: 2px solid #32699d; transform: translate(-50%,-50%); }
.time-dot.in-range { background: #204c79; border-color: #204c79; box-shadow: 0 0 0 3px #dce9f3; }
.time-label, .time-points .trend-column { display: grid; grid-template-rows: 17px 21px auto; grid-auto-rows: auto; gap: 3px; align-content: start; align-items: center; }
.time-label { justify-content: end; padding: 6px 12px 8px 0; border-inline-end: 1px solid var(--line); text-align: right; }
.time-label :is(b,small,span) { font: 400 12px/1.4 var(--font-sans); color: var(--muted); }
.time-points { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); }
.time-points .trend-column { justify-items: center; padding: 6px 1px; line-height: 1.35; font-size: 13px; border-radius: 6px; }
.time-points .trend-column b { color: var(--ink); font: 600 14px/1.45 var(--num-font); white-space: nowrap; }
.time-points .trend-column small, .time-points .trend-column em { font-size: 12px; font-weight: 400; color: var(--muted); font-style: normal; }
.time-points .trend-column small:empty { display: none; }
.time-points .trend-column:hover, .time-points:not(.all-year) .trend-column.selected { background: #eaf1f7; color: #224d76; }
.time-scroll:focus-visible, .time-points .trend-column:focus-visible { outline: 2px solid #316b9a; outline-offset: -2px; }
@media(max-width:650px){.time-axis,.time-plot{height:117px}.time-grid{min-width:725px}}

/* 同一指标在首页、分析、单位对比、月度折线和汇报中沿用同一色相。 */
[data-training-metric="completed"] { --metric-ink:var(--a-done-ink); --metric-fill:var(--a-done); --metric-tint:#e9f8f7; }
[data-training-metric="attendees"] { --metric-ink:#0958D9; --metric-fill:#1677ff; --metric-tint:#edf4ff; }
[data-training-metric="averageScore"] { --metric-ink:#531DAB; --metric-fill:#722ed1; --metric-tint:#f5efff; }
[data-training-metric="passRate"] { --metric-ink:#237804; --metric-fill:#3e8f19; --metric-tint:#f1f8e9; }
[data-training-metric="failed"] { --metric-ink:#ad361d; }
.metric-choice,
.metric-choice[aria-pressed="true"] { color:var(--ink); background:#fff; }
.metric-choice:is(:hover,:focus-visible) { border-color:var(--metric-ink); }
.metric-choice[aria-pressed="true"] {
  color:var(--ink); border-color:var(--metric-ink); background:var(--metric-tint);
  box-shadow:inset 0 3px var(--metric-ink);
}
.metric-choice :is(.metric-number,.metric-label svg),
.metric-choice[aria-pressed="true"] :is(.metric-number,.metric-label svg) { color:var(--metric-ink); }
.metric-choice[aria-pressed="true"] .metric-caption-line { color:var(--ink-2); }
.metric-choice .metric-number[data-no-value],
.metric-choice[aria-pressed="true"] .metric-number[data-no-value] { color:var(--muted); }
.metric-choice:focus-visible { outline:2px solid var(--metric-ink); outline-offset:3px; }

.segment-completed { background:var(--a-done); }
.segment-pending { background:var(--a-pending); }
.segment-postponed { background:var(--a-delay); }
.segment-cancelled { background:var(--a-cancel); }
.segment-passed { background:#3e8f19; }
.segment-failed { background:#d35232; }
.status-strip i + i { box-shadow:inset 2px 0 #fff; }
.status-counts [data-value="completed"] b, .training-status[data-training-state="completed"] { color:var(--a-done-ink); }
.status-counts [data-value="pending"] b, .training-status[data-training-state="pending"] { color:var(--a-pending-ink); }
.status-counts [data-value="postponed"] b, .training-status[data-training-state="postponed"] { color:var(--a-delay-ink); }
.status-counts [data-value="cancelled"] b, .training-status[data-training-state="cancelled"] { color:var(--a-cancel-ink); }
.metric-analysis .bar-track { background:var(--metric-tint); }
.metric-analysis .bar-track i { background:var(--metric-fill); }
.metric-analysis .analysis-bars b { color:var(--metric-ink); }
.metric-analysis .analysis-table :is(td:nth-child(2),td:last-child) { color:var(--metric-ink); }
.metric-analysis .analysis-table[data-ranking="failed"] td:nth-child(2),
.outcome-total strong,.outcome-legend span:has(.segment-failed) b { color:#ad361d; }
.outcome-legend span:has(.segment-passed) b { color:#237804; }
.overview-audit:has([data-value="issues"]) summary span, .record-issue { color:var(--a-delay-ink); }
.overview-audit:has([data-value="issues"]) summary span { font-weight:550; }

.pair-heading { background:var(--metric-tint); }
.pair-heading .pair-diff { color:var(--metric-ink); }
.pair-value strong, .comparison-children td[data-training-metric] b { color:var(--metric-ink); }
.pair-value strong[data-no-value], .comparison-children td[data-training-metric] b[data-no-value] { color:var(--muted); }
.pair-value .pair-who i { background:transparent; border:1.5px solid var(--metric-ink); }
.pair-value + .pair-value .pair-who i { background:var(--metric-ink); border-radius:50%; }
.comparison-trend .time-plot path { stroke:var(--metric-fill); }
.comparison-trend .time-dot { border-color:var(--metric-ink); }
.comparison-trend .time-dot.in-range { background:var(--metric-ink); box-shadow:0 0 0 3px var(--metric-tint); }
.comparison-trend .time-points .trend-column b,
.comparison-trend .dash-toggle button.selected { color:var(--metric-ink); }
.comparison-trend .time-points .trend-column[data-no-value] b { color:var(--muted); }
.comparison-trend .time-points .trend-column:hover,
.comparison-trend .time-points:not(.all-year) .trend-column.selected { background:var(--metric-tint); color:var(--metric-ink); }
.comparison-trend .dash-toggle button.selected { box-shadow:inset 0 -2px var(--metric-ink); }
.trend-scroll[data-training-metric] .trend-pair i.done { background:var(--metric-fill); }
.trend-scroll[data-training-metric] .trend-column:is(.selected,:hover) .trend-pair i.done { background:var(--metric-ink); box-shadow:none; }
.trend-scroll[data-training-metric] .trend-values b.done,
.trend-scroll[data-training-metric] .trend-column.selected .trend-month { color:var(--metric-ink); }

.record-table td[data-training-metric] { color:var(--metric-ink); font-variant-numeric:tabular-nums; }
.record-table td.record-missing { color:var(--muted); }
.training-status { white-space:nowrap; font-weight:550; }
.report-document header { border-bottom-color:var(--a-done); }
.report-document .report-summary { background:#f1f7f8; }
.report-figures { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:12px 0; }
.report-figures > div { padding:12px; border:1px solid var(--line); border-radius:8px; }
.report-figures dt { color:var(--ink-2); font-size:13px; }
.report-figures dd { margin:3px 0 0; color:var(--metric-ink); font:650 clamp(22px,2.6vw,32px)/1.25 var(--num-font); font-variant-numeric:tabular-nums; }
.report-figures dd small { display:inline; margin-inline-start:3px; color:inherit; font-size:13px; font-weight:500; }
.report-total { background:#f5f9fb; font-weight:650; }
.report-total [data-training-metric] { color:var(--metric-ink); }
.report-document [data-no-value] { color:var(--muted); }
@media (max-width:600px) { .report-figures { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (forced-colors:active) { .metric-choice[aria-pressed="true"] { outline:2px solid Highlight; outline-offset:-3px; } }

/* 专业类别：色点标识板块，完成场次使用独立的顺序色阶。 */
.specialty-board .sp-total { color: var(--a-done-ink); }
.specialty-board[data-specialty-focus] :is(.sp-lead, .sp-detail .sp-matrix-head) h2 {
  border-inline-start: 4px solid var(--sp-selected-color);
  padding-inline-start: 9px;
}
.sp-level-1 { --tile: #E6FFFB; --tile-ink: #0B5157; }
.sp-level-2 { --tile: #87E8DE; --tile-ink: #074B50; }
.sp-level-3 { --tile: #36BDBB; --tile-ink: #062E36; }
.sp-level-4 { --tile: #006D75; --tile-ink: #fff; }
.sp-matrix th.sp-current { color: #0958D9; box-shadow: inset 0 -2px 0 #1677FF; }
.sp-matrix th button[aria-pressed=true], .sp-legend button:hover, .sp-matrix th button:hover { color: #0958D9; }
.sp-matrix tbody tr:hover :is(td, th[scope=row]) { background-color: #F0F8F8; }
.sp-matrix .sp-group th { background-color: #F2F6F8; }
.sp-matrix .sp-matrix-total :is(th, td) {
  border-top: 2px solid #89cfc8;
  background: #e9f7f5;
  color: #114f52;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.sp-matrix .sp-matrix-total .sp-sum { background: #d4efea; }
@media screen and (min-width: 741px) {
  .sp-table-scroll { scroll-padding-block: 38px; }
  .sp-matrix-total :is(th, td) { position: sticky; bottom: 0; z-index: 2; }
  .sp-matrix .sp-matrix-total th { z-index: 3; }
}
.sp-matrix button.sp-value:hover { box-shadow: 0 0 0 2px #0958D9; }
.sp-switch { background: #EDF2F7; }
.sp-switch button[aria-pressed=true], .sp-switch button:hover { color: #0958D9; }
.sp-plan-trace { stroke: var(--a-pending); }
.sp-done-trace { stroke: var(--a-done); fill: var(--a-done); }
.sp-line-key span::before { border-color: var(--a-pending); }
.sp-line-key span + span::before { border-color: var(--a-done); }
.sp-month-points button:hover, .sp-month-points .sp-selected { background: #EDF4FF; }
.sp-month-points .sp-plan-num { color: var(--a-pending-ink); }
.sp-month-points b { color: var(--a-done-ink); }
.sp-card :is(button, [tabindex]):focus-visible { outline-color: #0958D9; }

/* 巡检和知识补给站的数字沿用完成、参与和问题的语义。 */
.inspection-board .dash-kpi:nth-child(1) .dash-kpi-value,
.knowledge-board .dash-kpi:nth-child(2) .dash-kpi-value { color: #0958D9; }
.inspection-board .dash-kpi:nth-child(2) .dash-kpi-value { color: var(--a-delay-ink); }
.inspection-board .dash-kpi:nth-child(3) .dash-kpi-value,
.knowledge-board .dash-kpi:nth-child(1) .dash-kpi-value { color: var(--a-done-ink); }
.knowledge-board .dash-kpi:nth-child(3) .dash-kpi-value { color: #531DAB; }
:is(.inspection-board, .knowledge-board) .dash-kpi-value small { color: var(--muted); }
.inspection-board .insp-bar .ok { background: var(--a-done); }
.inspection-board .insp-bar .fail, .inspection-board .insp-issues .dash-bar-track > span { background: var(--a-delay); }
.inspection-board .insp-check > div:first-child span, .inspection-board .insp-ok { color: var(--a-done-ink); }
.inspection-board .insp-fail { color: var(--a-delay-ink); }
.inspection-board .insp-na { color: var(--a-cancel-ink); }
.inspection-board .insp-issues .dash-coverage-row strong { color: var(--a-delay-ink); }
:is(.inspection-board, .knowledge-board) .dash-table .text-button { color: #0958D9; }

/* 人才培养：原始人数和在池人数、结项及需跟进的指标分别强调。 */
.talent-summary .talent-stat:nth-child(1) strong { color: #0958D9; }
.talent-summary .talent-stat:nth-child(2) strong { color: var(--a-done-ink); }
.talent-summary .talent-stat:nth-child(3) strong { color: #531DAB; }
.talent-board[data-talent-view=talent-trial] .talent-stat:nth-child(3) strong { color: var(--a-delay-ink); }
.talent-track { background-color: #EEF3F6; }
.talent-track i { background-color: var(--a-pending); }
.talent-history li:last-child i { background-color: var(--a-done); }
.talent-history li:last-child b, .talent-board .review-stamp { color: var(--a-done-ink); }
.talent-board .talent-filters button[aria-pressed=true] { background: #0958D9; border-color: #0958D9; color: #fff; }
.talent-board .talent-filters button[aria-pressed=false]:hover { color: #0958D9; background: #EDF4FF; }
.talent-board .talent-panel details > summary { color: #0958D9; }
.talent-board :is(.talent-search, button, summary, [tabindex]):focus-visible { outline: 2px solid #0958D9; outline-offset: 2px; }
.talent-board .talent-scroll thead th { background: #EFF5F8; color: #324B5D; }

/* 制度及指引 */
.policy-page .policy-intro {
  border: 1px solid #C7E4E4;
  background: linear-gradient(110deg,#F3FBF9,#EFF6FC);
  color: var(--ink);
  box-shadow: var(--surface-shadow);
}
.policy-intro:after { display: none; }
.policy-intro .policy-kicker { color: var(--a-done-ink); }
.policy-intro h2 { color: var(--ink); }
.policy-intro p:last-child { color: var(--ink-2); }
.policy-intro .button.primary, #login-submit { color: #fff; background: #0958D9; border-color: #0958D9; box-shadow: none; }
.policy-intro .button.primary:hover, #login-submit:hover { color: #fff; background: #1143A2; border-color: #1143A2; }
.policy-intro .button.secondary { background: #fff; border-color: #A5C1DA; color: #144389; }
.policy-intro .button.secondary:hover { color: #144389; background: #EFF6FF; border-color: #638BBB; }
.policy-intro :focus-visible { outline-color: #0958D9; }
.policy-deadline { --deadline-ink: #0958D9; --deadline-mark: #1677FF; }
.policy-deadline:nth-child(2) { --deadline-ink: #531DAB; --deadline-mark: #722ED1; }
.policy-deadline:last-child { --deadline-ink: var(--a-done-ink); --deadline-mark: var(--a-done); }
.policy-deadline strong { color: var(--deadline-ink); }
.policy-deadline:before, .policy-deadline:last-child:before { background: var(--deadline-mark); }
.policy-step-number { background: #E6F6F5; color: var(--a-done-ink); }
.policy-page .policy-resource-icon { background: #E8F1FF; color: #0958D9; }
.policy-page .policy-resource:hover .policy-resource-icon { background: #0958D9; color: #fff; }
.policy-page .policy-notice-grid time { color: var(--a-done-ink); }

/* 登录 */
.login-page { background: radial-gradient(ellipse at 68% 13%,#DDF4F1 0%,transparent 48%),#F2F6FA; }
.login-company { color: var(--a-done-ink); }
#login-form input:focus { outline-color: #0958D9; border-color: #0958D9; }
#login-submit:focus-visible { outline: 2px solid #0958D9; outline-offset: 3px; }
#login-submit:disabled { color: #fff; background: var(--a-cancel-ink); border-color: var(--a-cancel-ink); }

/* ========== 7. 趋势图点位数值标注、右上角汇总标签与使用说明页（Gemini 2026-12-03） ========== */
.comparison-trend .feature-head { align-items: center; }
.comparison-trend .trend-metric-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
}
.comparison-trend .trend-metric-tabs button {
  height: auto;
  min-width: 86px;
  padding: 5px 11px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1.25;
  text-align: left;
  border-radius: 7px;
}
.comparison-trend .trend-tab-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.comparison-trend .trend-tab-value {
  font-family: var(--num-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.comparison-trend .trend-tab-value small {
  margin-left: 2px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.comparison-trend .trend-tab-value[data-no-value] { color: var(--subtle); }
.comparison-trend .trend-metric-tabs button.selected .trend-tab-name { color: var(--ink-2); font-weight: 600; }
.comparison-trend .trend-metric-tabs button.selected .trend-tab-value { color: var(--metric-ink); }
.comparison-trend .trend-metric-tabs button.selected .trend-tab-value small { color: var(--metric-ink); opacity: .8; }

.comparison-trend .time-grid { min-width: 780px; }
.comparison-trend .time-axis,
.comparison-trend .time-plot { margin-top: 26px; }
.comparison-trend .time-dot { z-index: 1; }
.comparison-trend .time-dot.in-range { z-index: 2; }
.time-point-val {
  position: absolute;
  transform: translate(-50%, calc(-100% - 8px));
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
  font: 650 12px/1.3 var(--num-font);
  color: var(--ink);
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}
.time-point-val.in-range {
  background: var(--metric-tint);
  color: var(--metric-ink);
  font-weight: 700;
  z-index: 3;
}
.comparison-trend .time-label,
.comparison-trend .time-points .trend-column {
  grid-template-rows: auto;
  gap: 3px;
}
@media (max-width: 640px) {
  .comparison-trend .trend-metric-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

/* 使用说明页 */
.guide-page { display: grid; gap: 18px; }
.guide-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
  border: 1px solid #C7E4E4;
  background: linear-gradient(110deg, #F3FBF9, #EFF6FC);
}
.guide-hero-copy { max-width: 68ch; }
.guide-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .06em;
  color: var(--a-done-ink);
}
.guide-hero h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 1.9vw, 24px);
  color: var(--ink);
}
.guide-hero p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.guide-meta span {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
}
.guide-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.guide-section { padding: 24px 26px; }
.guide-section-head { margin-bottom: 16px; }
.guide-section-head h2 { margin: 0; font-size: var(--type-section); color: var(--ink); }
.guide-section-head p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.guide-glossary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.guide-term {
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
}
.guide-term-full { grid-column: 1 / -1; }
.guide-term h3 {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--brand-blue);
}
.guide-term[data-training-metric] h3 { color: var(--metric-ink); }
.guide-term p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.guide-term p + p { margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.guide-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.guide-module {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
}
.guide-module h3 { margin: 0 0 6px; font-size: 14.5px; font-weight: 650; color: var(--ink); }
.guide-module p { margin: 0; font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.guide-module .text-button { align-self: flex-start; padding: 0; font-size: 13px; }
.guide-feedback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  background: var(--brand-tint);
  border: 1px solid #C8DCF5;
}
.guide-feedback h2 { margin: 0 0 6px; font-size: var(--type-section); color: var(--ink); }
.guide-feedback p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--ink-2); max-width: 66ch; }
.guide-feedback ul { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--muted); line-height: 1.7; }
@media (max-width: 1000px) { .guide-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .guide-glossary, .guide-modules { grid-template-columns: 1fr; }
  .guide-hero, .guide-section, .guide-feedback { padding: 18px; }
}
