/*
 * SY 闪铸 UI 大屏文字层
 * 仅在 CSS 视口宽度 >= 1920px 时启用。
 * 画布文字作品与文字工具控件使用各自的组件字号，不受全局大屏文字层覆盖。
 */

@media (min-width: 1920px) {
  :root {
    --sy-type-page-size: 30px;
    --sy-type-page-line: 38px;
    --sy-type-kpi-size: 28px;
    --sy-type-kpi-line: 36px;
    --sy-type-panel-size: 24px;
    --sy-type-panel-line: 32px;
    --sy-type-section-size: 20px;
    --sy-type-section-line: 28px;
    --sy-type-navigation-size: 16px;
    --sy-type-navigation-line: 24px;
    --sy-type-body-size: 14px;
    --sy-type-body-line: 22px;
    --sy-type-compact-size: 12px;
    --sy-type-compact-line: 20px;
    --sy-type-helper-size: 10px;
    --sy-type-helper-line: 16px;
    --sy-weight-regular: 400;
    --sy-weight-medium: 500;
    --sy-weight-parameter-title: 550;
    --sy-weight-data: 600;
    --sy-weight-title: 700;
    --sy-project-page-size: 28px;
    --sy-project-page-line: 36px;
    --sy-project-section-size: 20px;
    --sy-project-section-line: 28px;
    --sy-project-label-size: 14px;
    --sy-project-label-line: 22px;
    --sy-project-field-size: 12px;
    --sy-project-field-line: 20px;
  }

  @layer sy-typography-defaults {
    /* 默认正文、输入框与按钮。显式列出文字元素，避免使用全局通配符。 */
    :where(body :where(
    div,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    span,
    strong,
    b,
    em,
    small,
    label,
    button,
    a,
    input:not([type="range"]),
    textarea,
    select,
    option,
    output,
    th,
    td,
    li
    ):not(.canvas-text-overlay):not(.canvas-text-overlay *):not(.canvas-text-presentation):not(.canvas-text-presentation *):not(.canvas-text-inspector):not(.canvas-text-inspector *)) {
      font-size: var(--sy-type-body-size);
      font-weight: var(--sy-weight-regular);
      line-height: var(--sy-type-body-line);
    }

    :where(body :where(input, textarea):not(.canvas-text-inspector *))::placeholder {
      font-size: var(--sy-type-body-size);
      font-weight: var(--sy-weight-regular);
    }

    /* 辅助说明、普通状态、小型元数据。 */
    :where(body :where(
    small,
    [class*="helper"],
    [class*="help"],
    [class*="hint"],
    [class*="meta"],
    [class*="subtitle"],
    [class*="description"],
    [class*="footnote"],
    [class*="note"],
    [class*="eyebrow"],
    [class*="live-status"],
    [class*="form-message"],
    [class*="save-status"],
    [class*="page-label"],
    .badge,
    [class*="chip"]
    ):not(.canvas-text-overlay):not(.canvas-text-overlay *):not(.canvas-text-presentation):not(.canvas-text-presentation *):not(.canvas-text-inspector):not(.canvas-text-inspector *):not(.tag-chip):not(.quality-chip):not(.ratio-chip):not(.count-chip):not(.admin-retention-chip):not(.admin-skill-kind-chip):not(.admin-skill-mode-chip):not(.view[data-view="adminConfig"] .admin-console-heading .eyebrow):not(.view[data-view="adminConfig"] .admin-user-subtitle)) {
      font-size: var(--sy-type-helper-size);
      font-weight: var(--sy-weight-regular);
      line-height: var(--sy-type-helper-line);
    }

    /* 区块标题。 */
    :where(body :where(
    h3,
    h4,
    h5,
    h6,
    [class*="section-title"],
    [class*="card-title"],
    [class*="side-title"],
    .asset-info-title,
    .records-filter-title,
    .records-main-title,
    .creative-chat-title,
    .creative-skill-menu-title,
    .video-batch-step-title
    ):not(.canvas-text-overlay):not(.canvas-text-overlay *):not(.canvas-text-presentation):not(.canvas-text-presentation *):not(.canvas-text-inspector):not(.canvas-text-inspector *)) {
      font-size: var(--sy-type-section-size);
      font-weight: var(--sy-weight-medium);
      line-height: var(--sy-type-section-line);
    }

    /* 面板标题与弹窗标题。 */
    :where(body :where(
    h2,
    .admin-module-title,
    .admin-panel-title,
    .prompt-library-detail-title,
    .record-detail-title,
    [class*="panel-title"],
    [class*="modal-title"],
    [class*="dialog-title"],
    [class*="create-title"],
    .account-modal-nav > h2,
    .account-modal-header > h3
    ):not(.canvas-text-overlay):not(.canvas-text-overlay *):not(.canvas-text-presentation):not(.canvas-text-presentation *):not(.canvas-text-inspector):not(.canvas-text-inspector *)) {
      font-size: var(--sy-type-panel-size);
      font-weight: var(--sy-weight-medium);
      line-height: var(--sy-type-panel-line);
    }

    /* 导航、参数标题、后台菜单、表单标题、记录状态与 PSD 强调文字。 */
    :where(body :where(
    .brand > span,
    .manual-subnav-button,
    .mode-segment-button,
    .admin-menu-button,
    .account-modal-tab,
    .account-section-nav button,
    #accountLogout,
    #accountModalLogout,
    .admin-field-label,
    .video-batch-control-label,
    .layout-replace-search-label,
    .asset-layer-tag-label,
    .tag-manager-custom-form-title,
    [class*="field-title"],
    [class*="parameter-title"],
    [class*="form-title"],
    [class*="record-status"],
    .status-pill,
    .admin-status-badge,
    .account-status-badge,
    .layout-page-status,
    .video-batch-task-status,
    .layout-stage-title,
    .layout-poster-title,
    [class*="psd"][class*="title"],
    [class*="layer"][class*="title"]
    ):not(.canvas-text-overlay):not(.canvas-text-overlay *):not(.canvas-text-presentation):not(.canvas-text-presentation *):not(.canvas-text-inspector):not(.canvas-text-inspector *)) {
      font-size: var(--sy-type-navigation-size);
      font-weight: var(--sy-weight-medium);
      line-height: var(--sy-type-navigation-line);
    }
  }

  /* 项目级大屏品牌标题：用户指定顶部品牌文字使用页面标题字号。 */
  body .topbar .brand > span {
    font-size: var(--sy-type-page-size) !important;
    font-weight: var(--sy-weight-data) !important;
    line-height: var(--sy-type-page-line) !important;
  }

  /* 项目级大屏品牌标题：用户指定顶部品牌文字使用页面标题字号。 */
  body .topbar .brand > span {
    font-size: var(--sy-type-page-size) !important;
    font-weight: var(--sy-weight-data) !important;
    line-height: var(--sy-type-page-line) !important;
  }

  /* 项目级大屏强调：左侧一级导航。 */
  body .app-shell .sidebar .nav-button > span:not(.badge) {
    font-size: var(--sy-type-section-size) !important;
    font-weight: var(--sy-weight-data) !important;
    line-height: var(--sy-type-section-line) !important;
  }

  /* 项目级大屏强调：顶部画布模式切换。 */
  body .view[data-view="workbench"] .canvas-board .canvas-mode-switch .canvas-mode-button {
    font-size: var(--sy-type-navigation-size) !important;
    font-weight: var(--sy-weight-data) !important;
    line-height: var(--sy-type-navigation-line) !important;
  }

  /* 项目级大屏强调：右侧参数标题。 */
  body .view[data-view="workbench"] .workbench-side .setting-label,
  body .view[data-view="workbench"] .workbench-side .setting-label > label {
    font-size: var(--sy-type-navigation-size) !important;
    font-weight: var(--sy-weight-parameter-title) !important;
    line-height: var(--sy-type-navigation-line) !important;
  }

  /* 项目级大屏可读性：分辨率、比例与数量选项。 */
  body .workbench-side .generator-control :where(
    .quality-chip,
    .ratio-chip,
    .count-chip
  ) {
    font-size: var(--sy-type-body-size) !important;
    font-weight: var(--sy-weight-regular) !important;
    line-height: var(--sy-type-body-line) !important;
  }

  /* 项目级大屏紧凑文字：快捷提示词标签。 */
  body .workbench-side .generator-control .tag-chip {
    font-size: var(--sy-type-compact-size) !important;
    font-weight: var(--sy-weight-regular) !important;
    line-height: var(--sy-type-compact-line) !important;
  }

  /* 项目级大屏紧凑文字：多行提示词编辑内容。 */
  body .workbench-side .canvas-prompt-input {
    font-size: var(--sy-type-compact-size) !important;
    font-weight: var(--sy-weight-regular) !important;
    line-height: var(--sy-type-compact-line) !important;
  }

  /* 画布图片专用操作栏保持紧凑，不改变图标和按钮几何尺寸。 */
  body .view[data-view="workbench"] .canvas-image-hover-actions .canvas-reference-button {
    font-size: var(--sy-type-compact-size) !important;
    font-weight: var(--sy-weight-regular) !important;
  }

  /* 生成模式大屏参考图每排四张，超过四张顺序换行；缩略图完整适配不裁切。 */
  body .workbench-side[data-active-canvas-mode="generate"] .generate-image-dropzone {
    grid-template-columns: repeat(4, 96px);
    align-items: start;
    align-content: start;
    justify-content: start;
  }

  body .workbench-side[data-active-canvas-mode="generate"] .generate-image-dropzone :where(.generate-reference-card, .generate-image-slot) {
    width: 96px !important;
    height: 96px !important;
    aspect-ratio: auto;
  }

  body .workbench-side[data-active-canvas-mode="generate"] .generate-reference-preview {
    object-fit: contain;
    background: #f8fafc;
  }

  @layer sy-typography-defaults {
    /* KPI 与重要数据。 */
    :where(body :where(
    [class*="kpi"],
    [class*="metric-value"],
    [class*="stat-value"],
    [class*="quota-primary"] > strong,
    #accountQuotaLimit,
    #accountPaidCalls,
    #accountFreeCalls
    ):not(.canvas-text-overlay):not(.canvas-text-overlay *):not(.canvas-text-presentation):not(.canvas-text-presentation *):not(.canvas-text-inspector):not(.canvas-text-inspector *)) {
      font-size: var(--sy-type-kpi-size);
      font-weight: var(--sy-weight-data);
      line-height: var(--sy-type-kpi-line);
    }

    /* 页面标题。 */
    :where(body :where(
    h1,
    .view-title,
    .admin-console-title,
    .prompt-library-title,
    .quick-manual-title,
    .layout-brief-title,
    .account-page-title
    ):not(.canvas-text-overlay):not(.canvas-text-overlay *):not(.canvas-text-presentation):not(.canvas-text-presentation *):not(.canvas-text-inspector):not(.canvas-text-inspector *)) {
      font-size: var(--sy-type-page-size);
      font-weight: var(--sy-weight-title);
      line-height: var(--sy-type-page-line);
    }
  }

  /* 普通页面大屏规则显式排除无限画布，避免已验收画布样式回退。 */
  body .view:not([data-view="workbench"]) :where(
    .view-title,
    .admin-console-title,
    .prompt-library-title,
    .quick-manual-title,
    .layout-brief-title
  ) {
    font-size: var(--sy-project-page-size) !important;
    font-weight: var(--sy-weight-data) !important;
    line-height: var(--sy-project-page-line) !important;
  }

  /* 顶部入口位于业务视图之外，单独使用普通字段标题字重。 */
  body .topbar-actions .topbar-admin-entry {
    font-size: var(--sy-project-label-size) !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: var(--sy-project-label-line) !important;
  }

  /* 普通业务页的表单标题与字段值使用统一语义，不改变按钮文字。 */
  body .view:not([data-view="workbench"]) :where(
    .record-field > label,
    .video-batch-control-label,
    .layout-replace-search-label,
    .asset-layer-tag-label,
    [class*="field-title"],
    [class*="form-title"]
  ) {
    font-size: var(--sy-project-label-size) !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: var(--sy-project-label-line) !important;
  }

  body .view:not([data-view="workbench"]) :where(
    input:not([type="range"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    textarea,
    select,
    option
  ) {
    font-size: var(--sy-project-field-size) !important;
    font-weight: var(--sy-weight-regular) !important;
    line-height: var(--sy-project-field-line) !important;
  }

  body .view:not([data-view="workbench"]) :where(input, textarea)::placeholder {
    font-size: var(--sy-project-field-size) !important;
    font-weight: var(--sy-weight-regular) !important;
  }

  /* 素材库：字段组、基本信息与字段内容。 */
  body .view[data-view="assets"] :where(
    .asset-manager-head > span,
    .asset-detail-field > span
  ) {
    font-size: var(--sy-project-label-size) !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: var(--sy-project-label-line) !important;
  }

  body .view[data-view="assets"] .asset-info-title {
    font-size: var(--sy-project-section-size) !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: var(--sy-project-section-line) !important;
  }

  body .view[data-view="assets"] :where(
    .asset-detail-input,
    .asset-detail-field input,
    .asset-detail-field select,
    .asset-detail-field textarea,
    .asset-info-grid > span
  ) {
    font-size: var(--sy-project-field-size) !important;
    font-weight: var(--sy-weight-regular) !important;
    line-height: var(--sy-project-field-line) !important;
  }

  /* 提示词库沿用相同的标题、字段标题和字段内容逻辑。 */
  body .view[data-view="promptLibrary"] :where(
    .prompt-library-detail-title,
    .prompt-library-side-title,
    .records-main-title
  ) {
    font-size: var(--sy-project-section-size) !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: var(--sy-project-section-line) !important;
  }

  body .view[data-view="promptLibrary"] :where(
    .prompt-meta-label,
    .prompt-library-prompt-head,
    .record-field > label
  ) {
    font-size: var(--sy-project-label-size) !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: var(--sy-project-label-line) !important;
  }

  body .view[data-view="promptLibrary"] :where(
    .prompt-meta-value,
    .prompt-library-prompt-text,
    .record-input,
    .record-select
  ) {
    font-size: var(--sy-project-field-size) !important;
    font-weight: var(--sy-weight-regular) !important;
    line-height: var(--sy-project-field-line) !important;
  }

  /* 配置后台沿用相同的区块、字段标题和字段内容逻辑。 */
  body .view[data-view="adminConfig"] :where(
    .admin-panel-title,
    .admin-module-title,
    .admin-card-title,
    .admin-orchestration-section-title
  ) {
    font-size: var(--sy-project-section-size) !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: var(--sy-project-section-line) !important;
  }

  body .view[data-view="adminConfig"] :where(
    .admin-field-label,
    .admin-field > span:first-child
  ) {
    font-size: var(--sy-project-label-size) !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: var(--sy-project-label-line) !important;
  }

  body .view[data-view="adminConfig"] :where(
    .admin-input,
    .admin-select,
    .admin-textarea,
    .admin-field input,
    .admin-field select,
    .admin-field textarea
  ) {
    font-size: var(--sy-project-field-size) !important;
    font-weight: var(--sy-weight-regular) !important;
    line-height: var(--sy-project-field-line) !important;
  }

  /* 配置后台页面级大屏例外：只覆盖用户明确指定的文字。 */
  body .view[data-view="adminConfig"] .admin-console-heading .eyebrow {
    font-size: 12px !important;
    font-weight: var(--sy-weight-regular) !important;
    line-height: 20px !important;
  }

  body .view[data-view="adminConfig"] .admin-menu-button {
    font-size: 18px !important;
    font-weight: var(--sy-weight-data) !important;
    line-height: 24px !important;
  }

  body .view[data-view="adminConfig"] .admin-menu-button > span {
    font-size: 18px !important;
    font-weight: var(--sy-weight-data) !important;
    line-height: 24px !important;
  }

  body .view[data-view="adminConfig"] .admin-panel-title {
    font-weight: var(--sy-weight-parameter-title) !important;
  }

  body .view[data-view="adminConfig"] .admin-create-button {
    font-size: 14px !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: 22px !important;
  }

  body .view[data-view="adminConfig"] .admin-user-table-row.is-head > * {
    font-size: 13px !important;
    font-weight: var(--sy-weight-data) !important;
    line-height: 20px !important;
  }

  body .view[data-view="adminConfig"] .admin-user-subtitle {
    font-size: 12px !important;
    font-weight: var(--sy-weight-regular) !important;
    line-height: 20px !important;
  }

  body .view[data-view="adminConfig"] .admin-status-badge {
    font-size: 14px !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: 22px !important;
  }

  body .view[data-view="adminConfig"] .admin-quota-input {
    font-size: 14px !important;
    font-weight: var(--sy-weight-regular) !important;
    line-height: 22px !important;
  }

  /* 配置后台 API 配置页。 */
  body .view[data-view="adminConfig"] [data-admin-module="api"] .admin-module-title {
    font-weight: var(--sy-weight-data) !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="api"] .admin-live-channel-table .admin-backend-table-row.is-head > span {
    font-weight: var(--sy-weight-data) !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="api"] .admin-model-quick-header h4 {
    font-size: 16px !important;
    font-weight: var(--sy-weight-data) !important;
    line-height: 24px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="api"] .admin-live-model-card > .admin-card-header > .admin-inline-actions > .admin-inline-button:not(.is-danger):not(:disabled) {
    color: var(--primary) !important;
    border-color: rgba(0, 175, 233, 0.2) !important;
    background: rgba(0, 175, 233, 0.08) !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="api"] .admin-live-model-card > .admin-card-header > .admin-inline-actions > .admin-inline-button:not(.is-danger):not(:disabled):hover,
  body .view[data-view="adminConfig"] [data-admin-module="api"] .admin-live-model-card > .admin-card-header > .admin-inline-actions > .admin-inline-button:not(.is-danger):not(:disabled):focus-visible {
    border-color: rgba(0, 175, 233, 0.42) !important;
    background: rgba(0, 175, 233, 0.14) !important;
    outline: 0;
  }

  /* 配置后台 API 调用实况页。 */
  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-module-title {
    font-weight: var(--sy-weight-data) !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-orchestration-heading h4 {
    font-size: 14px !important;
    font-weight: var(--sy-weight-data) !important;
    line-height: 22px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-orchestration-section-title {
    font-size: 14px !important;
    font-weight: var(--sy-weight-data) !important;
    line-height: 22px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-orchestration-heading p,
  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-orchestration-permission {
    display: none !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-orchestration-stat {
    min-height: 96px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-orchestration-stat > span {
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: 22px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-orchestration-settings-grid {
    grid-template-columns: repeat(11, minmax(0, 1fr)) !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-orchestration-field input {
    height: 44px !important;
    font-size: 16px !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: 24px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-orchestration-channel-list {
    max-height: 360px;
    overflow-y: auto;
    scrollbar-color: var(--primary) rgba(0, 175, 233, 0.08);
    scrollbar-width: thin;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-orchestration-channel-list::-webkit-scrollbar {
    width: 10px;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-orchestration-channel-list::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(0, 175, 233, 0.08);
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-orchestration-channel-list::-webkit-scrollbar-thumb {
    border: 2px solid #fff;
    border-radius: 999px;
    background: linear-gradient(180deg, #00afe9 0%, #5cc8f4 100%);
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-orchestration-channel-name strong {
    font-size: 14px !important;
    line-height: 22px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-orchestration-channel-name span {
    font-size: 10px !important;
    font-weight: var(--sy-weight-regular) !important;
    line-height: 16px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-business-metrics-heading h4 {
    font-size: 14px !important;
    font-weight: var(--sy-weight-data) !important;
    line-height: 22px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-business-metrics-heading p {
    display: none !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-business-metrics-section-heading h5 {
    font-size: 14px !important;
    font-weight: var(--sy-weight-data) !important;
    line-height: 22px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-business-metrics-filters {
    grid-template-columns: none !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-business-metrics-filters :where(label, select, input, button) {
    font-size: 14px !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: 22px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-business-metrics-filters > label > select {
    width: 66.666667% !important;
    justify-self: start;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-business-metrics-filters select[name="window"] {
    width: 100% !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-business-metrics-filters select {
    appearance: none;
    -webkit-appearance: none;
    padding-left: 28px;
    padding-right: 28px;
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 14px 14px;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-business-metrics-filters select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23344054' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-business-metric-card {
    min-height: 104px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-business-metric-card strong {
    font-size: 28px !important;
    font-weight: var(--sy-weight-data) !important;
    line-height: 36px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-business-metrics-detail-grid {
    display: grid !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="quota"] .admin-business-metrics-retention label {
    font-weight: var(--sy-weight-data) !important;
  }

  /* 配置后台 Skill 模板管理页。 */
  body .view[data-view="adminConfig"] [data-admin-module="skills"] .admin-module-title {
    font-weight: var(--sy-weight-data) !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="skills"] .admin-skill-table .admin-backend-table-row.is-head > * {
    font-size: 13px !important;
    font-weight: var(--sy-weight-data) !important;
    line-height: 20px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="skills"] :is(
    .admin-skill-kind-chip,
    .admin-skill-mode-chip
  ) {
    font-size: var(--sy-type-body-size) !important;
    font-weight: var(--sy-weight-regular) !important;
    line-height: var(--sy-type-body-line) !important;
  }

  /* 配置后台生成记录管理页。 */
  body .view[data-view="adminConfig"] [data-admin-module="records"] .admin-module-title {
    font-weight: var(--sy-weight-data) !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="records"] .admin-record-filter :where(
    .admin-field > span:first-child,
    .admin-select,
    .admin-input
  ) {
    font-size: 13px !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: 20px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="records"] .admin-retention-chip {
    font-size: 16px !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: 24px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="records"] .admin-record-table .admin-backend-table-row {
    grid-template-columns: minmax(0, .9fr) minmax(0, .75fr) minmax(0, .5fr) minmax(0, 1.45fr) minmax(0, .5fr) minmax(0, .42fr) minmax(0, .65fr) minmax(0, 1fr) minmax(0, .55fr) minmax(0, .9fr) !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="records"] .admin-record-table .admin-backend-table-row.is-head > * {
    font-size: 13px !important;
    font-weight: var(--sy-weight-data) !important;
    line-height: 20px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="records"] .admin-record-table .admin-backend-table-row:not(.is-head) > * {
    min-width: 0;
    font-size: 14px !important;
    font-weight: var(--sy-weight-regular) !important;
    line-height: 22px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="records"] .admin-record-table .admin-backend-table-row:not(.is-head) .admin-status-text {
    font-size: 14px !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: 22px !important;
  }

  /* 配置后台 Excel 导出页。 */
  body .view[data-view="adminConfig"] [data-admin-module="excel"] .admin-module-title {
    font-weight: var(--sy-weight-data) !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="excel"] > .admin-module-content > .admin-module-page {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  body .view[data-view="adminConfig"] [data-admin-module="excel"] > .admin-module-content > .admin-module-page > .admin-module-topline {
    grid-column: 1;
  }

  body .view[data-view="adminConfig"] [data-admin-module="excel"] > .admin-module-content > .admin-module-page > .admin-export-toolbar {
    grid-column: 2;
  }

  body .view[data-view="adminConfig"] [data-admin-module="excel"] > .admin-module-content > .admin-module-page > :is(.admin-wide-card, .admin-export-download-row) {
    grid-column: 1 / -1;
  }

  body .view[data-view="adminConfig"] [data-admin-module="excel"] .admin-export-field {
    font-size: 14px !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: 22px !important;
  }

  body .view[data-view="adminConfig"] [data-admin-module="excel"] .admin-export-download-row > .admin-primary-button {
    font-size: 16px !important;
    font-weight: var(--sy-weight-medium) !important;
    line-height: 24px !important;
  }
}
