html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .app{
  background:#eef2f8;
  background-image:none;
}

html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] :is(.main, .content), html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard, html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-overview, html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-scroll-body{
  background: transparent;
  background-image: none;
}

/* The catalog work area and its detail drawer must resolve height from the
   same remaining viewport space. Without an explicit flex chain the fence
   sizes to card content while the drawer sizes to the outer panel. */
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard{
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid var(--glass-line);
  background: var(--glass-surface-soft);
  background-image: none;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px) saturate(116%);
  -webkit-backdrop-filter: blur(16px) saturate(116%);
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-scroll-body{
  display: flex;
  flex: 1 1 0;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}

html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] :is(.sidebar, .topbar){
  background: var(--glass-surface-soft);
  background-image: none;
  border-color: var(--glass-line);
  box-shadow: none;
}

html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .content > .panel:has(.dashboard){
  overflow: hidden;
  border: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Shared startup/loading states live in site-audit.css. */

/* The overview enclosure needs content-driven height when the catalog is
   empty, otherwise an empty grid looks like a broken full-page panel. */
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-domain-fence:has(.dashboard-empty-state){
  flex: 0 0 auto;
  min-height: 260px;
  max-height: 360px;
  display: grid;
  place-items: center;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-empty-state{
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 34px 24px;
  color: #6b829b;
  text-align: center;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-empty-state strong{
  color: #294865;
  font-size: 14px;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-empty-state span{ font-size: 12px; }

html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-card:nth-child(n){
  height: 194px;
  border: 1px solid var(--glass-line);
  border-radius: 12px;
  background: var(--glass-surface);
  background-image: none;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px) saturate(118%);
  -webkit-backdrop-filter: blur(14px) saturate(118%);
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

/* Group the domain cards into one quiet glass enclosure, distinct from the
   page canvas while keeping the individual cards as the primary surfaces. */
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-domain-fence{
  display: block;
  flex: 1 1 auto;
  align-self: stretch;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  height: auto;
  max-height: none;
  padding: 14px;
  overflow: auto;
  scrollbar-gutter: stable;
  border: 1px solid rgba(91, 143, 198, .28);
  border-radius: 16px;
  background: rgba(213, 232, 250, .34);
  background-image: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-sticky-header{
  border-bottom: 0;
}

/* Keep the enclosure fixed while only its card grid scrolls. */
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-overview:not([hidden]){
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-scroll-body:has(.dashboard-overview:not([hidden])){
  overflow: hidden;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-domain-fence .dashboard-domain-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 194px;
  gap: 12px;
  padding: 0;
}

@media (max-width: 1250px) {
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-domain-fence .dashboard-domain-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-domain-fence .dashboard-domain-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-card:nth-child(n):hover{
  background: var(--glass-surface-raised);
  background-image: none;
  box-shadow: 0 12px 26px rgba(37, 82, 132, .14), inset 0 1px 0 rgba(238, 248, 255, .52);
  transform: translateY(-2px);
}

html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-card-body{
  padding: 16px;
  background: transparent;
  background-image: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-card-foot{
  margin: auto 0 0;
  padding: 8px 0 0;
  border: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] :is(
  .dashboard-card::before, .dashboard-card::after,
  .dashboard-card-body::before, .dashboard-card-body::after,
  .dashboard-card-foot::before, .dashboard-card-foot::after
){
  content: none;
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-card:nth-child(n){
    transition: none;
  }
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-card:nth-child(n):hover{
    transform: none;
  }
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-domain-fence{
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] :is(
    .content > .panel:has(.dashboard), .dashboard-card:nth-child(n),
    .dashboard-domain-fence
  ){
    background: #ffffff !important;
    background-image: none;
    border-color: rgba(116,132,153,.22);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-sticky-header{
    background:transparent;
    background-image:none;
  }
}

@media (max-width: 640px) {
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-domain-fence{
    margin-top: 0;
    padding: 10px;
    border-radius: 12px;
  }
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-domain-fence .dashboard-domain-grid{
    grid-template-columns: 1fr;
  }
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer{
    width: 86%;
  }
}

/* Terminal macOS 27 surface normalization. Keep this block last so legacy
   component rules cannot reintroduce blue or white-paper surfaces. */
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"]{
  --glass-surface: rgba(255,255,255,.72);
  --glass-surface-raised: rgba(255,255,255,.88);
  --glass-surface-soft: rgba(255,255,255,.54);
  --glass-line: rgba(116,132,153,.22);
  --glass-shadow: 0 5px 18px rgba(31,49,75,.07), inset 0 1px 0 rgba(255,255,255,.76);
  --panel: rgba(255,255,255,.72);
  --bg: #eef2f8;
  --input-bg: rgba(255,255,255,.64);
  --thead-bg: rgba(246,249,253,.78);
  --border: rgba(116,132,153,.22);
  --row-line: rgba(116,132,153,.15);
}
/* The viewport is the dark backing; glass surfaces live inside the rounded app. */
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] body{ background:#202936 !important; }
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] :is(
  .sidebar, .topbar, .content > .panel:not(:has(.dashboard)), .overview-panel,
  .dashboard-panel, .dashboard-card, .category-card, .data-source-card,
  .data-lineage-card, .data-version-domain-card, .department-card, .evidence-card,
  .feedback-assign-card, .feedback-detail-card, .governance-choice-card,
  .quality-rule-card, .trust-domain-card,
  .data-source-panel, .data-lineage-panel, .coverage-analysis-panel,
  .coverage-fields-panel, .coordinate-result-panel, .evidence-panel,
  .trust-panel, .quality-panel, .risk-list-panel, .mall-brand-store-panel,
  .settings-table, .data-table-wrap, .role-sidebar, .role-editor,
  .anomaly-progress-list, .anomaly-progress-summary article,
  .anomaly-progress-hero, .anomaly-file-batch-card, .duplicate-candidate-panel,
  .duplicate-map-panel, .governance-progress-list,
  .governance-progress-hero, .governance-progress-period,
  .governance-progress-trend, .governance-progress-batches,
  .governance-progress-people, .governance-progress-detail, .delivery-kpis,
  .delivery-records, .delivery-builder, .settings-page > section,
  .governance-page > section, .operation-log-page > section,
  .data-source-page > section, .data-lineage-page > section,
  .feedback-page > section, .quality-page > section, .coverage-page > section,
  .trust-page > section
){
  background:var(--glass-surface) !important;
  background-image:none !important;
  border-color:var(--glass-line) !important;
  box-shadow:var(--glass-shadow) !important;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-domain-fence{
  background:rgba(255,255,255,.46) !important;
  border-color:var(--glass-line) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.68) !important;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-card:nth-child(n){
  background:rgba(255,255,255,.68) !important;
  border-color:var(--glass-line) !important;
}

/* Dashboard detail drawer: one restrained material, kept here as the sole
   source so legacy white gradients cannot reappear through cascade order. */
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer-mask{
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer{
  box-sizing: border-box;
  overflow: hidden;
  width: min(520px, 46%);
  border: 1px solid var(--glass-line);
  border-right: 1px solid var(--glass-line);
  border-radius: 16px 0 0 16px !important;
  background: var(--glass-surface-raised) !important;
  background-image: none !important;
  border-left-color: var(--glass-line);
  box-shadow: -12px 0 28px rgba(31,49,75,.10), inset 1px 0 0 rgba(255,255,255,.72);
  backdrop-filter: blur(22px) saturate(122%);
  -webkit-backdrop-filter: blur(22px) saturate(122%);
}

/* Canonical dashboard frame geometry. Keep this as the only authoritative
   edge definition; the legacy component sheet only supplies base layout. */
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-domain-fence{
  width: auto !important;
  margin: 0 !important;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] :is(
  .dashboard-drawer-mask, .dashboard-drawer
){
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] :is(
  .dashboard-drawer-head, .dashboard-drawer-foot
){
  background: transparent;
  background-image: none;
  border-color: var(--glass-line);
  box-shadow: none;
}

html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer-body{
  background: transparent;
  background-image: none;
  scrollbar-gutter: stable;
}

html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer-head h2{
  font-weight: 700;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer-head p{
  font-weight: 500;
}

html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer-close{
  border: 1px solid rgba(91, 132, 177, .20);
  background: var(--glass-surface-soft);
  color: #48627e;
  box-shadow: none;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer-close:focus:not(:focus-visible){
  outline: none;
  box-shadow: none;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer-close:hover{
  background: var(--glass-surface-raised);
  color: #234e79;
}

/* Field previews use the same top-layer glass material as the drawer. */
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .field-preview-card{
  margin: 0;
  border: 1px solid var(--glass-line);
  border-style: solid;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: var(--glass-surface-raised) !important;
  background-image: none !important;
  background-clip: padding-box;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(122%);
  -webkit-backdrop-filter: blur(22px) saturate(122%);
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .field-preview-head{
  background: transparent;
  border-color: var(--glass-line);
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .field-preview-table{
  background: transparent;
}

html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer .dashboard-detail-group{
  --field-ink: #315f8c;
  padding: 18px 0;
  border-bottom-color: var(--glass-line);
  background: transparent;
  background-image: none;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer .dashboard-detail-group:last-child{
  border-bottom: 0;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer .dashboard-detail-group h3{
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 11px;
  color: #294865;
  font-size: 13px;
  font-weight: 650;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer .dashboard-detail-group h3 span{
  margin: 0;
  padding: 0;
  background: none;
  color: #5d7893;
  font-size: 11px;
  font-weight: 500;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer .dashboard-field-list{
  gap: 8px;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer .dashboard-field-list button{
  min-height: 32px;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid var(--glass-line);
  border-radius: 8px;
  background: var(--glass-surface-soft);
  background-image: none;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
  overflow-wrap: anywhere;
  box-shadow: none;
  transform: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer .dashboard-field-list button:hover, html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer .dashboard-field-list button:focus-visible{
  border-color: var(--glass-line);
  background: var(--glass-surface-raised);
  color: var(--text);
  box-shadow: var(--glass-shadow);
  transform: translateY(-1px);
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer .dashboard-field-list button:focus-visible{
  outline: 2px solid rgba(0,122,255,.36);
  outline-offset: 2px;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer .dashboard-field-list button:active{
  background: var(--glass-surface);
  box-shadow: none;
  transform: none;
}

@media (prefers-reduced-transparency: reduce) {
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer-mask{
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer{
    background: #ffffff !important;
    border-color: rgba(116,132,153,.22) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-drawer .dashboard-field-list button{
    transition: none;
  }
}

/* Breadcrumb materials; shared layout owns its dimensions. */
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .breadcrumb{
  color: #7890aa;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .breadcrumb b{
  color: #55718e;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .breadcrumb b:last-child{
  color: #253f5c;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .breadcrumb-separator{
  color: rgba(89, 137, 183, .48);
}


html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-topline{
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
  margin: 0;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-toolbar-label{
  display: flex;
  flex: 1 1 auto;
  min-width: 180px;
  flex-direction: column;
  gap: 3px;
  color: #253b56;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-toolbar-label span{
  color: #294b70;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-toolbar-label small{
  color: #7086a0;
  font-size: 11px;
  line-height: 1.25;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-topline-actions{
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-order-toggle{
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(55, 132, 211, .28);
  border-radius: 8px;
  background: rgba(220, 237, 253, .72);
  color: #176fc2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-order-toggle:hover, html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-order-toggle[aria-pressed="true"]{
  border-color: rgba(24, 116, 207, .48);
  background: rgba(194, 224, 250, .92);
  color: #075da9;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-topline .dashboard-search{
  flex: 0 1 340px;
  width: 340px;
  max-width: 100%;
  height: 36px;
  min-height: 36px;
  box-sizing: border-box;
  border-color: rgba(71, 143, 211, .25);
  border-radius: 8px;
  background: rgba(222, 238, 253, .68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.52);
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-result{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 18px;
  margin: 10px 2px 12px;
  padding: 0 2px;
  color: #7b8fa7;
  font-size: 11px;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-result span{
  color: #7890aa;
  font-size: 11px;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-result b{
  color: #2679c7;
  font-size: 11px;
  font-weight: 600;
}
@media (max-width: 900px) {
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-topline{
    align-items: stretch;
    flex-wrap: wrap;
    gap: 10px 16px;
  }
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-topline-actions{
    flex: 1 1 100%;
    justify-content: flex-start;
  }
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-topline .dashboard-search{
    flex: 1 1 260px;
  }
}
@media (max-width: 640px) {
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-topline-actions{
    flex-wrap: wrap;
  }
  html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-topline .dashboard-search{
    flex-basis: 100%;
    width: 100%;
  }
}

/* Final cascade owner for macOS 27 blue glass surfaces. Standard keeps its
   separate white material in glass-material.css. */
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"]{
  --glass-surface:rgba(221,237,253,.58);
  --glass-surface-raised:rgba(235,246,255,.76);
  --glass-surface-soft:rgba(213,232,250,.42);
  --glass-line:rgba(92,145,201,.25);
  --glass-shadow:0 5px 18px rgba(48,92,142,.085),inset 0 1px 0 rgba(255,255,255,.58);
  --panel:rgba(221,237,253,.58);
  --bg:#eaf2fb;
  --input-bg:rgba(235,245,255,.62);
  --thead-bg:rgba(213,231,249,.62);
  --border:rgba(92,145,201,.25);
  --row-line:rgba(92,145,201,.17);
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] body{ background:#202936 !important; }
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] :is(
  .sidebar,.topbar,.content > .panel:not(:has(.dashboard)),.overview-panel,.dashboard-panel,
  .dashboard-card,.category-card,.data-source-card,.data-lineage-card,.data-version-domain-card,
  .department-card,.evidence-card,.feedback-assign-card,.feedback-detail-card,
  .governance-choice-card,.quality-rule-card,.trust-domain-card,
  .data-source-panel,.data-lineage-panel,.coverage-analysis-panel,.coverage-fields-panel,
  .coordinate-result-panel,.evidence-panel,.trust-panel,.quality-panel,.risk-list-panel,
  .mall-brand-store-panel,.settings-table,.data-table-wrap,.role-sidebar,.role-editor,
  .anomaly-progress-list,.anomaly-progress-summary article,.anomaly-progress-hero,
  .anomaly-file-batch-card,.duplicate-candidate-panel,.duplicate-map-panel,
  .governance-progress-list,.governance-progress-hero,.governance-progress-period,
  .governance-progress-trend,.governance-progress-batches,.governance-progress-people,
  .governance-progress-detail,.delivery-kpis,.delivery-records,.delivery-builder,
  .settings-page > section,.governance-page > section,.operation-log-page > section,
  .data-source-page > section,.data-lineage-page > section,.feedback-page > section,
  .quality-page > section,.coverage-page > section,.trust-page > section
){
  background:var(--glass-surface) !important;
  background-image:none !important;
  border-color:var(--glass-line) !important;
  box-shadow:var(--glass-shadow) !important;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-domain-fence{
  background:rgba(213,232,250,.42) !important;
  border-color:var(--glass-line) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.68) !important;
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] .dashboard-card:nth-child(n){
  background:rgba(221,237,253,.58) !important;
  border-color:var(--glass-line) !important;
}

/* Final control owner: loaded after workbench styles so every visible
   single-value select keeps its chevron and material contour. */
html[data-theme="f"][data-color-theme="blue"][data-appearance="standard"] select:not([multiple]):not([size]):not([hidden]), html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] select:not([multiple]):not([size]):not([hidden]){
  appearance:none;
  -webkit-appearance:none;
  box-sizing:border-box;
  padding-right:34px;
  background-repeat:no-repeat !important;
  background-position:right 11px center !important;
  background-size:12px 12px !important;
  border-width:1px;
  border-style:solid;
  border-radius:8px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 2px 5px rgba(38,70,105,.06);
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="standard"] select:not([multiple]):not([size]):not([hidden]){
  background-color:rgba(255,255,255,.92) !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%2365758a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  border-color:rgba(143,157,177,.38);
}
html[data-theme="f"][data-color-theme="blue"][data-appearance="macos27"] select:not([multiple]):not([size]):not([hidden]){
  background-color:rgba(235,244,253,.76) !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%235e7b9c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  border-color:rgba(110,145,181,.30);
}
html[data-theme="f"][data-color-theme="blue"]:is([data-appearance="standard"],[data-appearance="macos27"]) select:not([multiple]):not([size]):not([hidden]):hover{
  border-color:rgba(54,122,194,.42);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.82),0 3px 8px rgba(38,70,105,.10);
}

/* Sticky table headings use opaque glass so scrolling rows never show through. */
html[data-theme="f"][data-color-theme="blue"]:is([data-appearance="standard"],[data-appearance="macos27"]) .content > .panel :is(.data-table-wrap,.brand-store-table,.settings-table,.operation-log-list) thead th{
  position:sticky !important;
  top:0 !important;
  z-index:10 !important;
  background-color:#f2f6fc !important;
  background-image:linear-gradient(180deg,#fbfdff 0%,#e8f0fa 100%) !important;
  background-clip:padding-box;
  border-color:#d5dfec !important;
  box-shadow:0 1px 0 rgba(91,119,153,.18),0 5px 12px rgba(47,76,111,.08) !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
  isolation:isolate;
}

/* One pagination language across asset lists, settings, audit logs and workflows. */
html[data-theme="f"][data-color-theme="blue"] .content :is(.data-pagination,.governance-config-pagination){
  display:flex;
  align-items:center;
  gap:16px;
  min-height:48px;
  box-sizing:border-box;
  padding:7px 14px;
  border-top:1px solid rgba(112,145,181,.2) !important;
  background:linear-gradient(180deg,rgba(248,252,255,.96),rgba(231,240,250,.96)) !important;
  color:#61758d;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72);
}
html[data-theme="f"][data-color-theme="blue"] .content .data-pagination-summary{ display:flex; align-items:baseline; gap:5px; min-width:145px; white-space:nowrap; }
html[data-theme="f"][data-color-theme="blue"] .content .data-pagination-summary strong{ color:#324d6d; font-size:var(--field-label-size); font-variant-numeric:tabular-nums; font-weight:650; }
html[data-theme="f"][data-color-theme="blue"] .content .data-pagination-summary span{ color:#70849b; font-size:var(--field-label-size); }
html[data-theme="f"][data-color-theme="blue"] .content .data-pagination-controls{ display:flex; align-items:center; justify-content:flex-end; gap:8px; min-width:0; margin-left:auto; }
html[data-theme="f"][data-color-theme="blue"] .content .data-page-list{ display:flex; align-items:center; gap:4px; }
html[data-theme="f"][data-color-theme="blue"] .content .data-page-btn{ display:inline-grid; min-width:30px; height:30px; place-items:center; padding:0 8px; border:1px solid transparent !important; border-radius:8px; background:transparent !important; color:#526b86; font-size:var(--field-label-size); font-variant-numeric:tabular-nums; }
html[data-theme="f"][data-color-theme="blue"] .content .data-page-btn:hover{ border-color:rgba(53,119,190,.34) !important; background:rgba(213,232,250,.72) !important; color:#176fc2; }
html[data-theme="f"][data-color-theme="blue"] .content .data-page-btn.active{ border-color:#1e73c8 !important; background:#1d6fbe !important; color:#fff; box-shadow:0 3px 9px rgba(24,103,180,.22); }
html[data-theme="f"][data-color-theme="blue"] .content .data-page-ellipsis{ display:inline-grid; width:20px; height:30px; place-items:center; color:#7b90a7; }
html[data-theme="f"][data-color-theme="blue"] .content .data-pagination .page-nav{ display:inline-flex; align-items:center; justify-content:center; gap:4px; min-width:72px; height:30px; padding:0 9px; border:1px solid rgba(103,137,174,.28) !important; border-radius:8px; background:rgba(255,255,255,.78) !important; color:#526b86; font-size:var(--field-label-size); }
html[data-theme="f"][data-color-theme="blue"] .content .data-pagination .page-nav:hover:not(:disabled){ border-color:rgba(43,116,190,.48) !important; background:rgba(219,237,253,.9) !important; color:#176fc2; }
html[data-theme="f"][data-color-theme="blue"] .content .data-pagination .page-nav i{ color:#2679c7; font-size:16px; font-style:normal; line-height:1; }
html[data-theme="f"][data-color-theme="blue"] .content .data-pagination .page-nav:disabled{ opacity:.42; }
html[data-theme="f"][data-color-theme="blue"] .content .data-pagination .page-size-label, html[data-theme="f"][data-color-theme="blue"] .content .data-pagination .page-jump{ display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }
html[data-theme="f"][data-color-theme="blue"] .content .data-pagination .page-size-label select, html[data-theme="f"][data-color-theme="blue"] .content .data-pagination .page-jump input{ height:30px; border:1px solid rgba(103,137,174,.28) !important; border-radius:8px; background:rgba(255,255,255,.78) !important; color:#526b86; font-size:var(--field-label-size); }
html[data-theme="f"][data-color-theme="blue"] .content .data-pagination .page-size-label select{ min-width:52px; padding:0 22px 0 8px; }
html[data-theme="f"][data-color-theme="blue"] .content .data-pagination .page-jump input{ width:42px; padding:0 5px; text-align:center; }
@media (max-width:900px) {
  html[data-theme="f"][data-color-theme="blue"] .content :is(.data-pagination,.governance-config-pagination){ flex-wrap:wrap; gap:8px 12px; }
  html[data-theme="f"][data-color-theme="blue"] .content .data-pagination-controls{ width:100%; }
}
@media (max-width:640px) {
  html[data-theme="f"][data-color-theme="blue"] .content :is(.data-pagination,.governance-config-pagination){ min-height:52px; padding:9px 10px; }
  html[data-theme="f"][data-color-theme="blue"] .content .data-pagination-summary{ min-width:0; margin-right:auto; }
  html[data-theme="f"][data-color-theme="blue"] .content .data-pagination-summary span, html[data-theme="f"][data-color-theme="blue"] .content .data-pagination .page-nav span, html[data-theme="f"][data-color-theme="blue"] .content .data-pagination .data-page-btn, html[data-theme="f"][data-color-theme="blue"] .content .data-pagination .data-page-ellipsis, html[data-theme="f"][data-color-theme="blue"] .content .data-pagination .page-jump{ display:none; }
  html[data-theme="f"][data-color-theme="blue"] .content .data-pagination .data-page-list::before{ content:'第 ' attr(data-mobile-page) ' 页'; color:#526b86; white-space:nowrap; }
  html[data-theme="f"][data-color-theme="blue"] .content .data-pagination .page-nav{ min-width:34px; padding:0 7px; }
}
