:root {
  --theme-ink: #182433;
  --theme-muted: #667382;
  --theme-line: #e6e7e9;
  --theme-line-strong: #d3d5d8;
  --theme-paper: #ffffff;
  --theme-canvas: #f6f8fb;
  --theme-primary: #206bc4;
  --theme-primary-hover: #1a569d;
  --theme-on-primary: #ffffff;
  --theme-primary-soft: #e9f2fc;
  --theme-accent: #74c0fc;
  --theme-success: #2fb344;
  --theme-success-soft: #eaf7ec;
  --theme-danger: #d63939;
  --theme-danger-soft: #fce8e8;
  --theme-warning: #f59f00;
  --theme-warning-soft: #fff4d6;
  --theme-info: #4299e1;
  --theme-info-soft: #eaf4ff;
  --theme-shadow-raised: 8px 8px 0 rgb(32 107 196 / 12%);
  --theme-ease-out: cubic-bezier(.23, 1, .32, 1);
  --theme-font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --theme-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

/* Knowledge ownership workbenches: service project owns facts; assessment owns usage. */
.theme-tabler .service-project-workbench {
  grid-template-columns: minmax(270px, 310px) minmax(0, 1fr);
}

.theme-tabler .service-project-directory-table {
  table-layout: fixed;
}

.theme-tabler .service-project-header {
  min-height: 104px;
}

.theme-tabler .service-project-header-facts {
  min-width: min(430px, 52%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--theme-line);
}

.theme-tabler .service-project-header-facts > div {
  min-width: 0;
  padding: 9px 11px;
  border-right: 1px solid var(--theme-line);
}

.theme-tabler .service-project-header-facts > div:last-child {
  border-right: 0;
}

.theme-tabler .service-project-header-facts dt,
.theme-tabler .service-project-header-facts dd {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .service-project-header-facts dt {
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .service-project-header-facts dd {
  margin: 4px 0 0;
  color: var(--theme-ink);
  font-family: var(--theme-mono);
  font-size: 10px;
  font-weight: 600;
}

.theme-tabler .service-project-tabs {
  overflow-x: auto;
  scrollbar-width: none;
}

.theme-tabler .service-project-tabs::-webkit-scrollbar {
  display: none;
}

.theme-tabler .service-project-tabs a {
  flex: 0 0 auto;
}

.theme-tabler .project-knowledge-contract,
.theme-tabler .assessment-usage-contract {
  min-height: 74px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  border: 1px solid var(--theme-line-strong);
  background: color-mix(in srgb, var(--theme-primary-soft) 24%, var(--theme-paper));
}

.theme-tabler .project-knowledge-contract > div,
.theme-tabler .assessment-usage-contract > div {
  min-width: 0;
}

.theme-tabler .project-knowledge-contract > div > span,
.theme-tabler .assessment-usage-contract > div > span {
  color: var(--theme-primary);
  font-family: var(--theme-mono);
  font-size: 8px;
  font-weight: 600;
}

.theme-tabler .project-knowledge-contract h2,
.theme-tabler .assessment-usage-contract h2 {
  margin: 4px 0 0;
  color: var(--theme-ink);
  font-size: 14px;
  font-weight: 600;
}

.theme-tabler .project-knowledge-contract p,
.theme-tabler .assessment-usage-contract p {
  max-width: 68ch;
  margin: 5px 0 0;
  color: var(--theme-muted);
  font-size: 10px;
  line-height: 1.55;
  text-wrap: pretty;
}

.theme-tabler .project-knowledge-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 12px 0 0;
  padding: 0;
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
  list-style: none;
}

.theme-tabler .project-knowledge-flow li {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 11px;
  border-right: 1px solid var(--theme-line);
}

.theme-tabler .project-knowledge-flow li:last-child {
  border-right: 0;
}

.theme-tabler .project-knowledge-flow li > b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--theme-line-strong);
  border-radius: 50%;
  color: var(--theme-muted);
  font-family: var(--theme-mono);
  font-size: 9px;
}

.theme-tabler .project-knowledge-flow li.complete > b {
  border-color: color-mix(in srgb, var(--theme-success) 42%, var(--theme-line));
  color: var(--theme-success);
}

.theme-tabler .project-knowledge-flow li.pending > b {
  border-color: color-mix(in srgb, var(--theme-warning) 44%, var(--theme-line));
  color: var(--theme-warning);
}

.theme-tabler .project-knowledge-flow span,
.theme-tabler .project-knowledge-flow strong,
.theme-tabler .project-knowledge-flow small {
  min-width: 0;
  display: block;
}

.theme-tabler .project-knowledge-flow strong {
  color: var(--theme-ink);
  font-size: 10px;
  font-weight: 600;
}

.theme-tabler .project-knowledge-flow small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--theme-muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .service-project-overview-grid,
.theme-tabler .project-baseline-grid,
.theme-tabler .assessment-taxonomy-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 20px;
  margin-top: 22px;
}

.theme-tabler .service-project-fact-list {
  margin: 0;
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .service-project-fact-list > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .service-project-fact-list dt {
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .service-project-fact-list dd {
  margin: 0;
  color: var(--theme-ink);
  font-size: 10px;
  font-weight: 500;
}

.theme-tabler .service-project-assessments > article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 11px 2px;
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .service-project-assessments > article > div > *,
.theme-tabler .service-project-assessments > header > span {
  display: block;
}

.theme-tabler .service-project-assessments article strong {
  color: var(--theme-ink);
  font-size: 10px;
}

.theme-tabler .service-project-assessments article small,
.theme-tabler .service-project-assessments > header > span {
  margin-top: 3px;
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .project-tab-count {
  display: grid;
  justify-items: end;
  min-width: 52px;
}

.theme-tabler .project-tab-count strong {
  color: var(--theme-primary);
  font-family: var(--theme-mono);
  font-size: 16px;
  line-height: 1;
}

.theme-tabler .project-tab-count small {
  margin-top: 4px;
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .project-document-map {
  display: grid;
  grid-template-columns: minmax(145px, .24fr) minmax(0, 1fr);
  gap: 12px;
}

.theme-tabler .project-document-map > nav {
  display: grid;
  align-content: start;
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .project-document-map > nav > * {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .project-document-map > nav > :last-child {
  border-bottom: 0;
}

.theme-tabler .project-document-map > nav strong {
  color: var(--theme-ink);
  font-family: var(--theme-mono);
  font-size: 8px;
}

.theme-tabler .project-document-map > nav a {
  color: var(--theme-muted);
  font-size: 9px;
  text-decoration: none;
}

.theme-tabler .project-document-map > article {
  border: 1px solid var(--theme-line-strong);
  background: var(--theme-paper);
}

.theme-tabler .project-document-map > article > header,
.theme-tabler .project-document-map > article > section {
  padding: 17px 20px;
}

.theme-tabler .project-document-map > article > header {
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .project-document-map > article > header span {
  color: var(--theme-primary);
  font-size: 9px;
  font-weight: 600;
}

.theme-tabler .project-document-map h3,
.theme-tabler .project-document-map h4,
.theme-tabler .project-document-map p {
  margin: 0;
}

.theme-tabler .project-document-map h3 {
  margin-top: 6px;
  color: var(--theme-ink);
  font-size: 16px;
}

.theme-tabler .project-document-map p {
  margin-top: 7px;
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.65;
}

.theme-tabler .project-document-map > article > section {
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .project-document-map > article > section:last-child {
  border-bottom: 0;
}

.theme-tabler .project-document-map section > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.theme-tabler .project-document-map section > div span {
  color: var(--theme-primary);
  font-size: 8px;
  font-weight: 600;
}

.theme-tabler .project-document-map section > div small {
  color: var(--theme-muted);
  font-family: var(--theme-mono);
  font-size: 8px;
}

.theme-tabler .project-document-map h4 {
  margin-top: 7px;
  color: var(--theme-ink);
  font-size: 13px;
}

.theme-tabler .project-document-plain-preview {
  margin-top: 12px;
}

.theme-tabler .project-card-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 4px;
  border: 1px solid var(--theme-line);
}

.theme-tabler .project-card-summary > div {
  padding: 10px 12px;
  border-right: 1px solid var(--theme-line);
}

.theme-tabler .project-card-summary > div:last-child {
  border-right: 0;
}

.theme-tabler .project-card-summary span,
.theme-tabler .project-card-summary strong {
  display: block;
}

.theme-tabler .project-card-summary span {
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .project-card-summary strong {
  margin-top: 3px;
  color: var(--theme-ink);
  font-family: var(--theme-mono);
  font-size: 16px;
}

.theme-tabler .project-card-table,
.theme-tabler .assessment-referenced-cards > div[role="list"] {
  margin-top: 12px;
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .project-card-table > article,
.theme-tabler .assessment-referenced-cards article {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(72px, auto);
  align-items: center;
  gap: 12px;
  padding: 9px 11px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .project-card-table > article:last-of-type,
.theme-tabler .assessment-referenced-cards article:last-of-type {
  border-bottom: 0;
}

.theme-tabler .project-card-table article > div > *,
.theme-tabler .assessment-referenced-cards article > div > * {
  display: block;
}

.theme-tabler .project-card-table article > div > span,
.theme-tabler .project-card-table article > div > small,
.theme-tabler .assessment-referenced-cards article > div > span,
.theme-tabler .assessment-referenced-cards article > div > small {
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .project-card-table article > div > strong,
.theme-tabler .assessment-referenced-cards article > div > strong {
  margin: 3px 0;
  color: var(--theme-ink);
  font-size: 10px;
  font-weight: 600;
}

.theme-tabler .project-baseline-grid > section {
  padding: 14px;
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .project-baseline-grid h3 {
  margin: 0 0 10px;
  color: var(--theme-ink);
  font-size: 11px;
}

.theme-tabler .project-baseline-grid dl {
  margin: 0;
}

.theme-tabler .project-baseline-grid dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .project-baseline-grid dt,
.theme-tabler .project-baseline-grid dd,
.theme-tabler .project-baseline-grid p > * {
  font-size: 9px;
}

.theme-tabler .project-baseline-grid dt,
.theme-tabler .project-baseline-grid small {
  color: var(--theme-muted);
}

.theme-tabler .project-baseline-grid dd {
  margin: 0;
  color: var(--theme-ink);
  font-family: var(--theme-mono);
}

.theme-tabler .project-baseline-grid p > * {
  display: block;
}

.theme-tabler .project-baseline-grid p strong {
  color: var(--theme-warning);
}

.theme-tabler .project-baseline-grid p small {
  margin: 5px 0 12px;
  line-height: 1.55;
}

.theme-tabler .assessment-usage-contract {
  align-items: center;
}

.theme-tabler .assessment-card-reference {
  color: var(--theme-muted);
  font-family: var(--theme-mono);
  font-size: 8px;
}

.theme-tabler .assessment-object-role-list {
  margin-top: 22px;
}

.theme-tabler .assessment-object-role-list > article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 2px;
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assessment-object-role-list article > div > * {
  display: block;
}

.theme-tabler .assessment-object-role-list article > div > span {
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .assessment-object-role-list article > div > strong {
  margin-top: 3px;
  color: var(--theme-ink);
  font-size: 11px;
}

.theme-tabler .assessment-object-role-list article > div > small {
  max-width: 72ch;
  margin-top: 4px;
  color: var(--theme-muted);
  font-size: 9px;
  line-height: 1.5;
}

.theme-tabler .assessment-query-object {
  padding: 18px 0;
  border-top: 1px solid var(--theme-line-strong);
}

.theme-tabler .assessment-query-workspace > header + .assessment-query-object {
  border-top: 0;
}

.theme-tabler .assessment-query-object > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.theme-tabler .assessment-query-object > header span {
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .assessment-query-object h3 {
  margin: 4px 0 0;
  color: var(--theme-ink);
  font-size: 13px;
}

.theme-tabler .assessment-taxonomy-grid > section {
  border-top: 1px solid var(--theme-line-strong);
}

.theme-tabler .assessment-taxonomy-grid h3 {
  margin: 0;
  padding: 10px 2px;
  color: var(--theme-ink);
  font-size: 11px;
}

.theme-tabler .assessment-taxonomy-grid article {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 2px;
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assessment-taxonomy-grid article > span,
.theme-tabler .assessment-taxonomy-grid article small {
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .assessment-taxonomy-grid article > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.theme-tabler .assessment-taxonomy-grid article > div > b,
.theme-tabler .assessment-taxonomy-grid article > b {
  padding: 3px 7px;
  border: 1px solid var(--theme-line);
  border-radius: 999px;
  color: var(--theme-ink);
  background: var(--theme-paper);
  font-size: 8px;
  font-weight: 500;
}

.theme-tabler .assessment-taxonomy-grid article > div:first-child {
  display: block;
}

.theme-tabler .assessment-taxonomy-grid article > div:first-child strong,
.theme-tabler .assessment-taxonomy-grid article > div:first-child small {
  display: block;
}

.theme-tabler .assessment-classification-coverage {
  margin-top: 22px;
  border: 1px solid var(--theme-line);
}

.theme-tabler .assessment-classification-coverage > header,
.theme-tabler .assessment-classification-coverage > article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 9px 11px;
}

.theme-tabler .assessment-classification-coverage > header {
  background: color-mix(in srgb, var(--theme-canvas) 65%, var(--theme-paper));
}

.theme-tabler .assessment-classification-coverage > header small,
.theme-tabler .assessment-classification-coverage > article small {
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .assessment-classification-coverage > article {
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assessment-classification-coverage > article span,
.theme-tabler .assessment-classification-coverage > article strong {
  color: var(--theme-ink);
  font-size: 9px;
}

@media (hover: hover) and (pointer: fine) {
  .theme-tabler .project-document-map > nav a:hover {
    color: var(--theme-primary);
    background: color-mix(in srgb, var(--theme-primary-soft) 40%, var(--theme-paper));
  }
}

@media (max-width: 1100px) {
  .theme-tabler .service-project-workbench {
    grid-template-columns: minmax(240px, 270px) minmax(0, 1fr);
  }

  .theme-tabler .service-project-header-facts {
    width: 100%;
    min-width: 0;
  }

  .theme-tabler .service-project-overview-grid,
  .theme-tabler .project-baseline-grid,
  .theme-tabler .assessment-taxonomy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .theme-tabler .service-project-workbench {
    grid-template-columns: 1fr;
  }

  .theme-tabler .service-project-header {
    height: auto;
  }

  .theme-tabler .service-project-header-facts,
  .theme-tabler .project-knowledge-flow,
  .theme-tabler .project-card-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-tabler .service-project-header-facts > div:nth-child(2),
  .theme-tabler .project-knowledge-flow li:nth-child(2),
  .theme-tabler .project-card-summary > div:nth-child(2) {
    border-right: 0;
  }

  .theme-tabler .service-project-header-facts > div:nth-child(-n + 2),
  .theme-tabler .project-knowledge-flow li:nth-child(-n + 2),
  .theme-tabler .project-card-summary > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--theme-line);
  }

  .theme-tabler .project-knowledge-contract,
  .theme-tabler .assessment-usage-contract,
  .theme-tabler .assessment-query-object > header {
    align-items: stretch;
    flex-direction: column;
  }

  .theme-tabler .project-document-map {
    grid-template-columns: 1fr;
  }

  .theme-tabler .project-document-map > nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-tabler .project-document-map > nav strong {
    grid-column: 1 / -1;
  }

  .theme-tabler .project-card-table > article,
  .theme-tabler .assessment-referenced-cards article {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .theme-tabler .project-card-table > article > :last-child,
  .theme-tabler .assessment-referenced-cards article > :last-child {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .theme-tabler .assessment-classification-coverage > header,
  .theme-tabler .assessment-classification-coverage > article {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .theme-tabler .assessment-classification-coverage > header small,
  .theme-tabler .assessment-classification-coverage > article small {
    grid-column: 1 / -1;
  }
}

/* Knowledge workbench refinement: aligned navigation, document reading, and version disclosure. */
.theme-tabler :is(.service-project-workbench, .assessment-subject-workbench) {
  grid-template-columns: minmax(270px, 300px) minmax(0, 1fr);
}

.theme-tabler :is(.service-project-tabs, .assessment-subject-tabs) {
  height: 42px;
  min-height: 42px;
  padding-inline: 12px;
}

.theme-tabler .service-project-tabs > a {
  padding-inline: 5px;
}

.theme-tabler .project-knowledge-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.theme-tabler .project-document-toolbar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid var(--theme-line);
  border-bottom: 0;
  background: color-mix(in srgb, var(--theme-canvas) 62%, var(--theme-paper));
}

.theme-tabler .project-document-toolbar > div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.theme-tabler .project-document-toolbar strong {
  color: var(--theme-ink);
  font-family: var(--theme-mono);
  font-size: 9px;
}

.theme-tabler .project-document-toolbar span {
  overflow: hidden;
  color: var(--theme-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .project-document-toolbar .text-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.theme-tabler .project-document-toolbar svg {
  width: 14px;
  height: 14px;
}

.theme-tabler .project-document-map {
  grid-template-columns: minmax(150px, .25fr) minmax(0, 1fr);
  gap: 0;
}

.theme-tabler .project-document-map > nav {
  position: sticky;
  top: 0;
  align-self: start;
  border-color: var(--theme-line);
  border-right: 0;
}

.theme-tabler .project-document-map > nav > * {
  min-height: 32px;
  border-bottom: 0;
}

.theme-tabler .project-document-map > nav > strong {
  min-height: 40px;
  border-bottom: 1px solid var(--theme-line);
  font-family: var(--theme-font-family);
  font-size: 10px;
}

.theme-tabler .project-document-map > nav a {
  position: relative;
  padding-block: 5px;
  font-size: 10px;
  line-height: 1.45;
  white-space: normal;
}

.theme-tabler .project-document-map > nav a[data-outline-level="1"] {
  padding-left: 12px;
  color: var(--theme-ink);
  font-weight: 600;
}

.theme-tabler .project-document-map > nav a[data-outline-level="2"] {
  padding-left: 28px;
}

.theme-tabler .project-document-map > nav a[data-outline-level="2"]::before {
  position: absolute;
  left: 16px;
  content: "·";
  color: var(--theme-line-strong);
}

.theme-tabler .project-markdown-document {
  min-width: 0;
  border-color: var(--theme-line);
}

.theme-tabler .project-markdown-document > header,
.theme-tabler .project-markdown-document > section {
  padding: 24px clamp(20px, 5vw, 48px);
}

.theme-tabler .project-markdown-document > header small {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .project-markdown-document h1 {
  margin: 8px 0 0;
  color: var(--theme-ink);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  text-wrap: balance;
}

.theme-tabler .project-markdown-document blockquote {
  margin: 16px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--theme-line);
  border-radius: 4px;
  color: var(--theme-muted);
  background: color-mix(in srgb, var(--theme-canvas) 72%, var(--theme-paper));
  font-size: 12px;
  line-height: 1.7;
}

.theme-tabler .project-markdown-document h2 {
  margin: 0;
  color: var(--theme-ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.theme-tabler .project-markdown-document > section > p {
  max-width: 40em;
  margin-top: 10px;
  color: var(--theme-ink);
  font-size: 14px;
  line-height: 1.75;
  text-wrap: pretty;
}

.theme-tabler .project-markdown-document > section > footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.theme-tabler .project-markdown-document > section > footer > * {
  padding: 3px 7px;
  border-radius: 4px;
  color: var(--theme-muted);
  background: var(--theme-canvas);
  font-family: var(--theme-mono);
  font-size: 8px;
}

.theme-tabler :is(.project-card-table, .assessment-referenced-cards > div[role="list"]) {
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .versioned-knowledge-card {
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .versioned-knowledge-card:last-child {
  border-bottom: 0;
}

.theme-tabler .versioned-knowledge-card > summary {
  min-height: 68px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto minmax(88px, auto);
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  cursor: pointer;
  list-style: none;
}

.theme-tabler .versioned-knowledge-card > summary::-webkit-details-marker {
  display: none;
}

.theme-tabler .versioned-knowledge-card > summary:focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: -2px;
}

.theme-tabler .versioned-card-chevron {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  color: var(--theme-muted);
}

.theme-tabler .versioned-card-chevron svg {
  width: 13px;
  height: 13px;
}

.theme-tabler .versioned-knowledge-card[open] .versioned-card-chevron {
  transform: rotate(90deg);
}

.theme-tabler .versioned-card-identity {
  min-width: 0;
}

.theme-tabler .versioned-card-identity > * {
  display: block;
}

.theme-tabler .versioned-card-identity small,
.theme-tabler .versioned-card-identity span,
.theme-tabler .versioned-card-revision {
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .versioned-card-identity strong {
  margin: 3px 0;
  color: var(--theme-ink);
  font-size: 11px;
  font-weight: 600;
}

.theme-tabler .versioned-card-revision {
  font-family: var(--theme-mono);
  text-align: right;
}

.theme-tabler .versioned-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, .75fr);
  border-top: 1px solid var(--theme-line);
  background: color-mix(in srgb, var(--theme-canvas) 38%, var(--theme-paper));
}

.theme-tabler .versioned-card-body > section {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--theme-line);
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .versioned-card-body > section:nth-child(2n) {
  border-right: 0;
}

.theme-tabler .versioned-card-body h3 {
  margin: 0 0 8px;
  color: var(--theme-muted);
  font-size: 9px;
  font-weight: 600;
}

.theme-tabler .versioned-card-content p,
.theme-tabler .versioned-card-diff p {
  margin: 0;
  color: var(--theme-ink);
  font-size: 11px;
  line-height: 1.7;
}

.theme-tabler .versioned-card-sources ul,
.theme-tabler .versioned-card-history ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.theme-tabler .versioned-card-sources li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--theme-ink);
  font-size: 9px;
}

.theme-tabler .versioned-card-sources svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: var(--theme-primary);
}

.theme-tabler .versioned-card-history li {
  color: var(--theme-muted);
  font-family: var(--theme-mono);
  font-size: 8px;
  line-height: 1.5;
}

.theme-tabler .versioned-card-diff {
  font-family: var(--theme-mono);
}

.theme-tabler .versioned-card-diff p + p {
  margin-top: 6px;
}

.theme-tabler .versioned-card-diff del,
.theme-tabler .versioned-card-diff ins {
  display: block;
  padding: 5px 7px;
  text-decoration: none;
}

.theme-tabler .versioned-card-diff del {
  color: #8a3030;
  background: #fbeaea;
}

.theme-tabler .versioned-card-diff ins {
  color: #226247;
  background: #e8f6ed;
}

.theme-tabler .versioned-card-body > footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  padding: 9px 12px;
}

.theme-tabler .query-editor-actions,
.theme-tabler .special-requirement-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-tabler :is(.query-editor-actions, .special-requirement-actions) .secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.theme-tabler :is(.query-editor-actions, .special-requirement-actions) svg {
  width: 14px;
  height: 14px;
}

.theme-tabler .query-inline-edit-field {
  display: none;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.theme-tabler .assessment-query-workspace.is-editing .query-inline-edit-field {
  display: grid;
}

.theme-tabler .query-inline-edit-field > span {
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .query-inline-edit-field input,
.theme-tabler .assessment-question-list textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--theme-ink);
  background: transparent;
  font: inherit;
  font-size: 11px;
  line-height: 1.5;
}

.theme-tabler .query-inline-edit-field input {
  min-height: 34px;
  padding: 6px 8px;
}

.theme-tabler .assessment-question-list textarea {
  min-height: 38px;
  padding: 0;
  overflow: hidden;
  resize: none;
}

.theme-tabler .assessment-query-workspace.is-editing :is(.query-inline-edit-field input, .assessment-question-list textarea) {
  padding: 7px 9px;
  border-color: var(--theme-line-strong);
  background: var(--theme-paper);
  resize: vertical;
}

.theme-tabler .assessment-query-workspace.is-editing :is(.query-inline-edit-field input, .assessment-question-list textarea):focus-visible {
  border-color: var(--theme-primary);
  outline: 2px solid color-mix(in srgb, var(--theme-primary) 20%, transparent);
  outline-offset: 1px;
}

.theme-tabler .assessment-keyword-body {
  padding: 0 12px;
}

.theme-tabler .assessment-keyword-body > .query-inline-edit-field {
  margin: 10px 0 0;
}

.theme-tabler .assessment-keyword-body > .assessment-question-list {
  padding-inline: 0;
}

.theme-tabler .special-requirement-list {
  margin-top: 0;
}

.theme-tabler .special-requirement-list > article {
  grid-template-columns: minmax(0, 1fr) auto;
}

.theme-tabler .special-requirement-item-form {
  display: contents;
}

.theme-tabler .special-requirement-item-actions {
  display: none;
  align-items: center;
  gap: 6px;
}

.theme-tabler .special-requirement-list > article > .danger-icon-button,
.theme-tabler .special-requirement-list > article > .danger-text-button,
.theme-tabler .special-requirement-form {
  display: none;
}

.theme-tabler .special-requirements-workspace.is-editing .special-requirement-list > article {
  grid-template-columns: minmax(0, 1fr) auto 32px;
}

.theme-tabler .special-requirements-workspace.is-editing .special-requirement-list > article > :is(.danger-icon-button, .danger-text-button) {
  display: inline-flex;
}

.theme-tabler .special-requirements-workspace.is-editing .special-requirement-item-actions {
  display: flex;
}

.theme-tabler .special-requirements-workspace.is-editing .special-requirement-form {
  display: block;
}

.theme-tabler [data-special-edit-field][contenteditable="true"] {
  padding: 7px 9px;
  border: 1px solid var(--theme-line-strong);
  border-radius: 4px;
  background: var(--theme-paper);
}

.theme-tabler [data-special-edit-field][contenteditable="true"]:focus-visible {
  border-color: var(--theme-primary);
  outline: 2px solid color-mix(in srgb, var(--theme-primary) 20%, transparent);
  outline-offset: 1px;
}

.theme-tabler .special-requirement-edit-fields label {
  display: block;
}

.theme-tabler .special-requirement-edit-fields :is(input, textarea) {
  width: 100%;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  color: var(--theme-ink);
}

.theme-tabler .special-requirement-edit-fields input {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .special-requirement-edit-fields textarea {
  margin: 4px 0;
  resize: vertical;
  font: inherit;
  line-height: 1.5;
}

.theme-tabler .special-requirements-workspace.is-editing .special-requirement-edit-fields :is(input, textarea) {
  padding: 7px 9px;
  border-color: var(--theme-line-strong);
  border-radius: 4px;
  background: var(--theme-paper);
}

@media (hover: hover) and (pointer: fine) {
  .theme-tabler .versioned-knowledge-card > summary:hover {
    background: color-mix(in srgb, var(--theme-primary) 6%, var(--theme-paper));
  }
}

@media (max-width: 1100px) {
  .theme-tabler .versioned-knowledge-card > summary {
    grid-template-columns: 18px minmax(0, 1fr) auto;
  }

  .theme-tabler .versioned-card-revision {
    display: none;
  }

  .theme-tabler .versioned-card-body {
    grid-template-columns: 1fr;
  }

  .theme-tabler .versioned-card-body > section,
  .theme-tabler .versioned-card-body > section:nth-child(2n) {
    border-right: 0;
  }

}

@media (max-width: 720px) {
  .theme-tabler :is(.service-project-workbench, .assessment-subject-workbench) {
    grid-template-columns: 1fr;
  }

  .theme-tabler .project-document-toolbar,
  .theme-tabler :is(.assessment-query-workspace, .special-requirements-workspace) > header {
    align-items: stretch;
    flex-direction: column;
  }

  .theme-tabler .project-document-toolbar {
    padding-block: 8px;
  }

  .theme-tabler .project-document-toolbar > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .theme-tabler .project-document-map {
    grid-template-columns: 1fr;
  }

  .theme-tabler .project-document-map > nav {
    position: static;
    border-right: 1px solid var(--theme-line);
    border-bottom: 0;
  }

  .theme-tabler .query-editor-actions,
  .theme-tabler .special-requirement-actions {
    justify-content: space-between;
  }
}

/* Operator workspace tables and read-only project preview */
.theme-tabler .project-label-table-shell,
.theme-tabler .assessment-plan-table-shell {
  min-height: 420px;
  border: 1px solid var(--theme-line);
  border-top: 0;
  background: var(--theme-paper);
}

.theme-tabler .project-label-table {
  width: 100%;
  min-width: 640px;
  table-layout: fixed;
}

.theme-tabler .project-label-table tr > :nth-child(1) {
  width: 24%;
}

.theme-tabler .project-label-table tr > :nth-child(2) {
  width: 16%;
}

.theme-tabler .project-label-table tr > :nth-child(3) {
  width: 44%;
}

.theme-tabler .project-label-table tr > :nth-child(4) {
  width: 16%;
}

.theme-tabler .assessment-plan-table {
  width: 100%;
  min-width: 900px;
  table-layout: fixed;
}

.theme-tabler .assessment-plan-table tr > :nth-child(1) {
  width: 18%;
}

.theme-tabler .assessment-plan-table tr > :nth-child(2) {
  width: 24%;
}

.theme-tabler .assessment-plan-table tr > :nth-child(3) {
  width: 27%;
}

.theme-tabler .assessment-plan-table tr > :nth-child(4) {
  width: 13%;
}

.theme-tabler .assessment-plan-table tr > :nth-child(5) {
  width: 8%;
}

.theme-tabler .assessment-plan-table tr > :nth-child(6) {
  width: 10%;
}

.theme-tabler :is(.project-label-table, .assessment-plan-table) td {
  height: 64px;
}

.theme-tabler :is(.project-label-table, .assessment-plan-table) .numeric-column {
  width: 88px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.theme-tabler :is(.project-label-table, .assessment-plan-table) .numeric-column strong {
  font-family: var(--theme-mono);
  font-weight: 600;
}

.theme-tabler .assessment-metric-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.theme-tabler .assessment-metric-list li {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 8px;
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.5;
}

.theme-tabler .assessment-metric-list li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .assessment-metric-list li strong {
  color: var(--theme-ink);
  font-family: var(--theme-mono);
  font-weight: 600;
  white-space: nowrap;
}

.theme-tabler .record-association {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.theme-tabler .record-association strong,
.theme-tabler .record-association small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .record-association small {
  color: var(--theme-muted);
  font-size: 10px;
  line-height: 1.5;
}

.theme-tabler .assessment-content-scale {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 4px;
  color: var(--theme-muted);
  font-size: 10px;
  line-height: 1.4;
  white-space: normal;
}

.theme-tabler .assessment-content-scale strong {
  color: var(--theme-ink);
  font-family: var(--theme-mono);
  font-weight: 600;
  text-align: right;
}

.theme-tabler .table-action-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.theme-tabler .muted-table-action {
  color: var(--theme-muted);
}

.theme-tabler .project-label-table tr > *:last-child {
  width: 96px;
  min-width: 96px;
}

.theme-tabler .assessment-plan-table tr > *:last-child {
  width: 10%;
  min-width: 72px;
}

.theme-tabler .project-label-table tr > *:last-child,
.theme-tabler .assessment-plan-table tr > *:last-child {
  position: sticky;
  z-index: 3;
  right: 0;
  background: var(--theme-paper);
  box-shadow: -1px 0 0 var(--theme-line);
}

.theme-tabler .assessment-plan-table tr > *:nth-last-child(2) {
  position: sticky;
  z-index: 2;
  right: 72px;
  min-width: 80px;
  background: var(--theme-paper);
}

.theme-tabler :is(.project-label-table, .assessment-plan-table) thead tr > *:last-child,
.theme-tabler .assessment-plan-table thead tr > *:nth-last-child(2) {
  z-index: 5;
  background: color-mix(in srgb, var(--theme-paper) 72%, var(--theme-canvas));
}

.theme-tabler :is(.project-label-table, .assessment-plan-table) tbody tr:hover > *:last-child,
.theme-tabler .assessment-plan-table tbody tr:hover > *:nth-last-child(2) {
  background: color-mix(in srgb, var(--theme-primary) 5%, var(--theme-paper));
}

.theme-tabler .danger-action {
  color: var(--theme-danger);
}

.theme-tabler .compact-action {
  min-height: 30px;
  padding: 0 10px;
  font-size: 11px;
  white-space: nowrap;
}

.theme-tabler .drawer-readonly-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--theme-line);
  border-left: 1px solid var(--theme-line);
}

.theme-tabler .drawer-readonly-details > div {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 14px;
  border-right: 1px solid var(--theme-line);
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .drawer-readonly-details > .wide {
  grid-column: 1 / -1;
}

.theme-tabler .drawer-readonly-details dt {
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.5;
}

.theme-tabler .drawer-readonly-details dd {
  margin: 0;
  color: var(--theme-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.theme-tabler form[data-drawer-readonly="true"] > footer {
  justify-content: flex-end;
}

@media (hover: hover) and (pointer: fine) {
  .theme-tabler .danger-action:hover {
    color: var(--theme-danger);
    background: var(--theme-danger-soft);
  }
}

@media (max-width: 720px) {
  .app-shell.theme-tabler {
    --content-stage-min-height: calc(100dvh - 60px - var(--workbench-row-height));
  }

  .app-shell.theme-tabler:is(.view-mode-focus, .view-mode-page, .view-mode-fullscreen) {
    --content-stage-min-height: calc(100dvh - var(--focus-chrome-size));
  }

  .theme-tabler .drawer-readonly-details {
    grid-template-columns: 1fr;
  }

  .theme-tabler .drawer-readonly-details > .wide {
    grid-column: auto;
  }

  .theme-tabler .assessment-document-context {
    grid-template-columns: 1fr;
  }
}

body.theme-tabler {
  color: var(--theme-ink);
  background-color: var(--theme-canvas);
  background-image:
    linear-gradient(rgb(32 107 196 / 1.6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(32 107 196 / 1.6%) 1px, transparent 1px);
  background-size: 24px 24px;
  font-family: var(--theme-font-family);
  font-size: 14px;
  line-height: 1.5;
}

.app-shell.theme-tabler {
  --workbench-row-height: 42px;
  --secondary-nav-height: 42px;
  --focus-chrome-size: 52px;
  --content-stage-min-height: calc(100dvh - 72px - var(--secondary-nav-height));
  min-height: 100vh;
  grid-template-columns: 232px minmax(0, 1fr);
  color: var(--theme-ink);
  background: var(--theme-canvas);
  font-family: var(--theme-font-family);
  font-variant-numeric: tabular-nums;
}

.theme-tabler ::selection {
  color: var(--theme-primary);
  background: var(--theme-accent);
}

.theme-tabler * {
  scrollbar-color: var(--theme-line-strong) transparent;
  scrollbar-width: thin;
}

.theme-tabler *::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.theme-tabler *::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  background: var(--theme-line-strong);
  background-clip: padding-box;
}

.theme-tabler button,
.theme-tabler a,
.theme-tabler select {
  touch-action: manipulation;
}

.theme-tabler button:focus-visible,
.theme-tabler input:focus-visible,
.theme-tabler select:focus-visible,
.theme-tabler textarea:focus-visible,
.theme-tabler a:focus-visible,
.theme-tabler [tabindex]:focus-visible {
  outline: 3px solid rgb(32 107 196 / 28%);
  outline-offset: 2px;
}

.theme-tabler button,
.theme-tabler .nav-link,
.theme-tabler .row-link {
  transition:
    color 140ms ease,
    background-color 140ms ease,
    border-color 140ms ease,
    transform 120ms var(--theme-ease-out);
}

.theme-tabler button:active,
.theme-tabler .nav-link:active,
.theme-tabler .row-link:active {
  transform: scale(.97);
}

.app-shell.theme-tabler.sidebar-collapsed {
  grid-template-columns: 72px minmax(0, 1fr);
}

.app-shell.theme-tabler.view-mode-focus {
  grid-template-columns: var(--focus-chrome-size) minmax(0, 1fr);
}

.theme-tabler.view-mode-focus .topbar {
  display: none;
}

.theme-tabler.view-mode-focus .secondary-nav {
  top: 0;
  min-height: var(--focus-chrome-size);
  height: var(--focus-chrome-size);
}

.app-shell.theme-tabler:is(.view-mode-page, .view-mode-fullscreen) {
  grid-template-columns: minmax(0, 1fr);
}

.theme-tabler:is(.view-mode-page, .view-mode-fullscreen) :is(.sidebar, .topbar, .mobile-nav) {
  display: none;
}

.theme-tabler:is(.view-mode-page, .view-mode-fullscreen) .secondary-nav {
  top: 0;
}

.theme-tabler:is(.view-mode-focus, .view-mode-page, .view-mode-fullscreen) {
  --content-stage-min-height: calc(100dvh - var(--focus-chrome-size));
}

.theme-tabler.view-mode-page .secondary-nav {
  min-height: var(--focus-chrome-size);
  height: var(--focus-chrome-size);
}

.theme-tabler .sidebar {
  position: sticky;
  z-index: 40;
  top: 0;
  height: 100vh;
  color: var(--theme-muted);
  border-right: 1px solid var(--theme-line);
  background: color-mix(in srgb, var(--theme-paper) 72%, var(--theme-canvas)) !important;
  overflow-y: auto;
  width: 232px !important;
  min-width: 0;
}

.theme-tabler .brand {
  width: auto;
  min-height: 72px;
  height: 72px;
  gap: 11px;
  padding: 0 12px;
  border-bottom: 1px solid var(--theme-line);
  background: transparent;
}

.theme-tabler .system-logo {
  width: 136px;
  height: auto;
  display: block;
  object-fit: contain;
}

.theme-tabler .system-logo-text {
  color: var(--theme-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .sidebar-toggle {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--theme-primary);
  background: transparent;
}

.theme-tabler .sidebar-toggle:hover {
  color: var(--theme-primary);
  background: transparent;
}

.theme-tabler .sidebar-toggle [data-sidebar-icon] {
  display: none;
}

.theme-tabler .sidebar-toggle[data-sidebar-state="expanded"] [data-sidebar-icon="collapse"],
.theme-tabler .sidebar-toggle[data-sidebar-state="collapsed"] [data-sidebar-icon="expand"] {
  display: block;
}

.theme-tabler .sidebar nav {
  flex: 1;
  padding: 0 8px;
  overflow: visible;
}

.theme-tabler .nav-workspace-group {
  margin: 0 0 22px;
}

.theme-tabler .nav-workspace-label {
  height: var(--secondary-nav-height);
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 8px;
  color: var(--theme-muted);
  font-family: var(--theme-font-family);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
}

.theme-tabler .nav-group {
  display: grid;
  gap: 0;
}

.theme-tabler .nav-link {
  width: 100%;
  min-height: var(--workbench-row-height);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 10px;
  color: var(--theme-muted);
  background: transparent;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
}

.theme-tabler .nav-link:hover {
  color: var(--theme-ink);
  background: color-mix(in srgb, var(--theme-muted) 6%, transparent);
}

.theme-tabler .nav-link.active {
  color: var(--theme-ink) !important;
  background: var(--theme-primary-soft) !important;
  box-shadow: none !important;
  font-weight: 600;
}

.theme-tabler .nav-icon {
  width: 18px;
  flex: 0 0 18px;
  display: grid;
  place-items: center;
}

.theme-tabler .nav-text {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.theme-tabler .nav-count {
  min-width: 21px;
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 999px;
  color: var(--theme-primary);
  background: var(--theme-accent);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}

.theme-tabler.sidebar-collapsed .brand {
  width: 72px;
  padding: 0;
}

.theme-tabler.sidebar-collapsed .sidebar,
.theme-tabler.view-mode-focus .sidebar {
  width: 100% !important;
}

.theme-tabler.sidebar-collapsed .brand .sidebar-toggle {
  width: 72px;
  height: 72px;
  border-radius: 0;
}

.theme-tabler.sidebar-collapsed .system-logo,
.theme-tabler.sidebar-collapsed .nav-text,
.theme-tabler.sidebar-collapsed .nav-count {
  display: none;
}

.theme-tabler.sidebar-collapsed .sidebar nav {
  padding: 0;
}

.theme-tabler.sidebar-collapsed .nav-workspace-label {
  display: none;
}

.theme-tabler.sidebar-collapsed .nav-workspace-group {
  margin-bottom: 0;
}

.theme-tabler.sidebar-collapsed .nav-link {
  width: var(--workbench-row-height);
  min-width: var(--workbench-row-height);
  height: var(--workbench-row-height);
  min-height: var(--workbench-row-height);
  justify-content: center;
  margin-inline: auto;
  padding: 0;
}

.theme-tabler.sidebar-collapsed .nav-link .nav-icon {
  display: grid;
}

.theme-tabler.sidebar-collapsed .nav-link.active {
  color: var(--theme-primary) !important;
  background: transparent !important;
}

.theme-tabler.sidebar-collapsed .sidebar-toggle svg {
  transform: none;
}

.theme-tabler.view-mode-focus .brand,
.theme-tabler.view-mode-focus .brand .sidebar-toggle {
  width: var(--focus-chrome-size);
  height: var(--focus-chrome-size);
  min-height: var(--focus-chrome-size);
}

.theme-tabler.view-mode-focus .sidebar nav {
  padding: 12px 4px 0;
}

.theme-tabler.view-mode-focus .nav-link {
  min-height: 44px;
  padding: 0;
}

.theme-tabler .workspace {
  min-width: 0;
  min-height: 100vh;
  display: block;
}

.theme-tabler .topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  border-bottom: 1px solid var(--theme-line);
  background: rgb(255 255 255 / 94%) !important;
  backdrop-filter: blur(18px);
}

.theme-tabler .system-name {
  color: var(--theme-ink);
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}

.theme-tabler .account-control {
  position: relative;
  margin-left: auto;
}

.theme-tabler .avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--theme-on-primary);
  background: var(--theme-primary);
  cursor: pointer;
}

.theme-tabler .avatar-initial {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.theme-tabler .avatar[aria-expanded="true"] {
  box-shadow: 0 0 0 3px rgb(32 107 196 / 20%);
}

.theme-tabler .bubble-menu {
  --bubble-arrow-offset: 24px;
  padding: 8px;
  border: 1px solid var(--theme-line-strong);
  border-radius: 14px;
  color: var(--theme-ink);
  background: var(--theme-paper);
  box-shadow: 0 18px 46px rgb(23 34 29 / 18%);
  opacity: 1;
  transform: translateY(0) scale(1);
  transform-origin: var(--bubble-origin, top left);
  transition:
    opacity 140ms var(--theme-ease-out),
    transform 140ms var(--theme-ease-out);
}

@starting-style {
  .theme-tabler .bubble-menu {
    opacity: 0;
    transform: translateY(-5px) scale(.98);
  }
}

.theme-tabler .bubble-menu::before {
  position: absolute;
  z-index: 1;
  top: -6px;
  left: var(--bubble-arrow-offset);
  width: 11px;
  height: 11px;
  border-top: 1px solid var(--theme-line-strong);
  border-left: 1px solid var(--theme-line-strong);
  background: var(--theme-paper);
  content: "";
  transform: rotate(45deg);
}

.theme-tabler .bubble-menu[data-placement="top"]::before {
  top: auto;
  bottom: -6px;
  border-top: 0;
  border-right: 1px solid var(--theme-line-strong);
  border-bottom: 1px solid var(--theme-line-strong);
  border-left: 0;
}

.theme-tabler .bubble-menu-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.theme-tabler .bubble-menu-right {
  --bubble-arrow-offset: auto;
  --bubble-origin: top right;
}

.theme-tabler .bubble-menu-right::before {
  right: 14px;
  left: auto;
}

.theme-tabler .account-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 12px);
  right: 0;
  width: 208px;
}

.theme-tabler .account-summary {
  display: grid;
  gap: 3px;
  margin: 0 4px 5px;
  padding: 10px 8px 11px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .account-summary strong {
  color: var(--theme-primary);
  font-size: 12px;
}

.theme-tabler .account-summary span {
  color: var(--theme-muted);
  font-size: 11px;
}

.theme-tabler .account-menu [role="menuitem"] {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: var(--theme-warning);
  background: transparent;
  font-weight: 600;
  text-decoration: none;
}

.theme-tabler .account-menu [role="menuitem"]:focus-visible {
  color: var(--theme-warning);
  background: var(--theme-warning-soft);
  outline: 2px solid var(--theme-warning);
  outline-offset: -2px;
}

.theme-tabler .customer-search-select {
  position: relative;
  width: min(240px, 45vw);
  color: var(--theme-ink);
}

.theme-tabler .customer-select-trigger {
  width: 100%;
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid var(--theme-line);
  border-radius: 9px;
  color: var(--theme-ink);
  background: var(--theme-paper);
  font-weight: 600;
  text-align: left;
}

.theme-tabler .customer-select-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .customer-select-trigger svg {
  width: 16px;
  height: 16px;
  color: var(--theme-muted);
  transition: transform 140ms ease;
}

.theme-tabler .customer-search-select.open .customer-select-trigger svg {
  transform: rotate(180deg);
}

.theme-tabler .customer-search-popover {
  --bubble-arrow-offset: 16px;
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
}

.theme-tabler .customer-search-field {
  height: 38px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 0 9px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
}

.theme-tabler .customer-search-field:focus-within {
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgb(32 107 196 / 12%);
}

.theme-tabler .customer-search-field svg {
  width: 15px;
  height: 15px;
  color: var(--theme-muted);
}

.theme-tabler .customer-search-field input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
}

.theme-tabler .customer-select-options {
  display: grid;
  gap: 2px;
}

.theme-tabler .customer-select-option {
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.theme-tabler .customer-select-option[aria-selected="true"] {
  color: var(--theme-primary);
  background: var(--theme-primary-soft);
  font-weight: 600;
}

.theme-tabler .customer-select-option:focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: -2px;
}

.theme-tabler .customer-select-empty {
  margin: 0;
  padding: 18px 10px;
  color: var(--theme-muted);
  font-size: 12px;
  text-align: center;
}

.theme-tabler .customer-context-select {
  position: relative;
  width: min(240px, 45vw);
  display: flex;
  align-items: center;
  color: var(--theme-ink);
}

.theme-tabler .customer-context-select select {
  width: 100%;
  height: 42px;
  padding: 0 38px 0 12px;
  border: 1px solid var(--theme-line);
  border-radius: 9px;
  appearance: none;
  color: var(--theme-ink);
  background: var(--theme-paper);
  font-weight: 600;
}

.theme-tabler .customer-context-select svg {
  position: absolute;
  right: 12px;
  width: 16px;
  height: 16px;
  color: var(--theme-muted);
  pointer-events: none;
}

.theme-tabler .secondary-nav {
  position: sticky;
  z-index: 20;
  top: 72px;
  min-height: var(--secondary-nav-height);
  height: var(--secondary-nav-height);
  display: flex;
  align-items: center;
  padding: 0 16px !important;
  border-bottom: 1px solid var(--theme-line);
  background: var(--theme-paper) !important;
  backdrop-filter: none;
}

.theme-tabler .secondary-parent {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 7px;
  color: var(--theme-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.theme-tabler .secondary-parent h1 {
  margin: 0;
  color: inherit;
  font: inherit;
}

.theme-tabler .secondary-parent i {
  color: var(--theme-line-strong);
  font-style: normal;
}

.theme-tabler .secondary-items {
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: stretch;
  gap: 4px;
  overflow-x: auto;
}

.theme-tabler .secondary-item {
  position: relative;
  min-width: max-content;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 5px;
  border: 0;
  color: var(--theme-muted);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.theme-tabler .secondary-item:hover {
  color: var(--theme-ink);
}

.theme-tabler .secondary-item.active {
  height: 100%;
  color: var(--theme-primary);
  background: transparent;
  font-weight: 500;
}

.theme-tabler .secondary-item.active::after {
  position: absolute;
  right: 4px;
  bottom: -1px;
  left: 4px;
  height: 3px;
  background: var(--theme-primary);
  content: "";
}

.theme-tabler .secondary-item.has-inline-help {
  gap: 4px;
}

.theme-tabler .secondary-inline-help {
  width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.theme-tabler .secondary-inline-help .tabler-icon {
  width: 13px;
  height: 13px;
}

.theme-tabler .secondary-actions {
  min-width: 0;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding-left: 16px;
}

.theme-tabler .secondary-nav[data-customer-directory="true"] .secondary-actions {
  flex: 1 1 auto;
  margin-left: 0;
}

.theme-tabler .icon-only-button,
.theme-tabler .icon-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: var(--theme-muted);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}

.theme-tabler .icon-only-button:hover,
.theme-tabler .icon-button:hover {
  color: var(--theme-primary);
  background: transparent;
}

.theme-tabler .danger-icon-button {
  color: var(--theme-danger);
}

.theme-tabler .danger-icon-button:hover {
  color: color-mix(in srgb, var(--theme-danger) 82%, var(--theme-ink));
}

.theme-tabler .records-table :is(th, td):last-child {
  width: 76px;
  text-align: center;
}

.theme-tabler .records-table .table-action-button {
  width: 28px;
  height: 28px;
  min-height: 28px;
  margin-inline: auto;
}

.theme-tabler .records-table .table-action-button .tabler-icon {
  width: 16px;
  height: 16px;
}

.theme-tabler .tabler-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.theme-tabler .view-mode-trigger {
  flex: 0 0 auto;
}

.theme-tabler .popover-tooltip {
  position: fixed;
  z-index: 100;
  width: max-content;
  max-width: 220px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--theme-paper);
  background: var(--theme-ink);
  box-shadow: 0 6px 18px rgb(12 31 23 / 18%);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-3px);
  transition:
    opacity 120ms ease,
    transform 120ms ease;
}

.theme-tabler .popover-tooltip.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.theme-tabler .popover-tooltip::after {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--theme-ink);
  content: "";
  transform: rotate(45deg);
}

.theme-tabler .popover-tooltip[data-placement="bottom"]::after {
  top: -4px;
  left: var(--arrow-left, calc(50% - 4px));
}

.theme-tabler .popover-tooltip[data-placement="top"]::after {
  bottom: -4px;
  left: var(--arrow-left, calc(50% - 4px));
}

.theme-tabler .popover-tooltip[data-placement="right"]::after {
  top: var(--arrow-top, calc(50% - 4px));
  left: -4px;
}

.theme-tabler .view-mode-trigger [data-mode-icon] {
  display: none;
}

.theme-tabler .view-mode-trigger[data-next-mode="focus"] [data-mode-icon="focus"],
.theme-tabler .view-mode-trigger[data-next-mode="page"] [data-mode-icon="page"],
.theme-tabler .view-mode-trigger[data-next-mode="fullscreen"] [data-mode-icon="fullscreen"],
.theme-tabler .view-mode-trigger[data-next-mode="default"] [data-mode-icon="default"] {
  display: block;
}

.theme-tabler .customer-directory-filters {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.theme-tabler .customer-directory-filters {
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.theme-tabler .customer-directory-filters::-webkit-scrollbar {
  display: none;
}

.theme-tabler .secondary-search {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--theme-line);
  border-radius: 7px;
  color: var(--theme-muted);
  background: var(--theme-paper);
}

.theme-tabler .secondary-search:focus-within {
  border-color: var(--theme-primary-hover);
  box-shadow: 0 0 0 3px rgb(32 107 196 / 12%);
}

.theme-tabler .secondary-search svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.theme-tabler .secondary-search input {
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--theme-ink);
  background: transparent;
  font-size: 12px;
}

.theme-tabler .secondary-search input::placeholder {
  color: var(--theme-muted);
}

.theme-tabler .achievement-filter-search {
  width: clamp(160px, 22vw, 240px);
  padding: 0 9px;
}

.theme-tabler .directory-filter-search {
  min-width: 172px;
  max-width: 230px;
  flex: 1 1 190px;
  padding: 0 10px;
}

.theme-tabler .label-filter-search {
  width: clamp(150px, 20vw, 220px);
  padding: 0 10px;
}

.theme-tabler .directory-filter-select {
  height: 34px;
  padding: 0 28px 0 8px;
  border: 1px solid var(--theme-line);
  border-radius: 7px;
  appearance: none;
  color: var(--theme-muted);
  background: var(--theme-paper);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.theme-tabler .directory-filter-select {
  flex: 0 0 auto;
  max-width: 116px;
}

.theme-tabler .content-stage {
  min-width: 0;
  padding: 0;
}

.theme-tabler .content-stage > main {
  min-width: 0;
  min-height: var(--content-stage-min-height);
}

.theme-tabler .page-stack {
  gap: 0;
  padding: 0;
}

.theme-tabler .panel,
.theme-tabler .table-panel,
.theme-tabler .metric,
.theme-tabler .state-panel {
  border: 1px solid var(--theme-line);
  border-radius: 0;
  background: var(--theme-paper);
  box-shadow: none;
}

.theme-tabler .primary-button,
.theme-tabler .secondary-button,
.theme-tabler .danger-button,
.theme-tabler .text-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--theme-line-strong);
  border-radius: 7px;
  color: var(--theme-primary);
  background: var(--theme-paper);
  box-shadow: none;
  font-weight: 600;
  text-decoration: none;
  border-radius: 7px !important;
}

.theme-tabler .primary-button {
  color: var(--theme-on-primary);
  border-color: var(--theme-primary);
  background: var(--theme-primary);
}

.theme-tabler .danger-button {
  color: var(--theme-on-primary);
  border-color: var(--theme-danger);
  background: var(--theme-danger);
}

.theme-tabler .text-button {
  min-height: 30px;
  padding-inline: 8px;
  border-color: transparent;
  background: transparent;
}

.theme-tabler .primary-button:hover {
  background: var(--theme-primary-hover);
}

.theme-tabler .secondary-button:hover,
.theme-tabler .text-button:hover {
  background: rgb(32 107 196 / 7%);
}

.theme-tabler .table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 0;
  border-radius: 0;
}

.theme-tabler .records-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--theme-ink);
  background: var(--theme-paper);
}

.theme-tabler .records-table th,
.theme-tabler .records-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--theme-line);
  color: var(--theme-ink);
  font-size: 12px;
  text-align: left;
  text-transform: none;
}

.theme-tabler .records-table th {
  height: var(--workbench-row-height);
  padding-block: 0;
  color: var(--theme-muted);
  background: color-mix(in srgb, var(--theme-paper) 72%, var(--theme-canvas));
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  vertical-align: middle;
}

.theme-tabler .table-column-heading {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
}

.theme-tabler .table-column-heading > span {
  min-width: 0;
}

.theme-tabler .table-column-filter {
  position: relative;
  flex: 0 0 auto;
}

.theme-tabler .table-filter-trigger {
  position: relative;
  width: 24px;
  height: 24px;
  min-height: 24px;
  color: var(--theme-muted);
}

.theme-tabler .table-filter-trigger:hover {
  color: var(--theme-ink);
  background: transparent;
}

.theme-tabler .table-filter-trigger svg {
  width: 14px;
  height: 14px;
}

.theme-tabler .table-column-filter.filtered .table-filter-trigger {
  color: var(--theme-primary);
}

.theme-tabler .table-column-filter.filtered .table-filter-trigger::after {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border: 1px solid var(--theme-paper);
  border-radius: 50%;
  background: var(--theme-primary);
  content: "";
}

.theme-tabler .table-filter-popover {
  position: fixed;
  z-index: 100;
  width: min(236px, calc(100vw - 16px));
  text-align: left;
  white-space: normal;
}

.theme-tabler .table-filter-popover[data-table-filter-portal="true"] {
  z-index: 1000;
}

.theme-tabler .table-filter-popover label {
  display: grid;
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 600;
}

.theme-tabler .table-filter-popover :is(input, select) {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--theme-line-strong);
  border-radius: 8px;
  color: var(--theme-ink);
  background: var(--theme-paper);
  font-size: 12px;
  outline: 0;
  transition:
    border-color 140ms var(--theme-ease-out),
    box-shadow 140ms var(--theme-ease-out);
}

.theme-tabler .table-filter-popover :is(input, select):focus {
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgb(32 107 196 / 11%);
}

.theme-tabler .records-table tbody tr:hover td {
  background: rgb(32 107 196 / 4%);
}

.theme-tabler .records-table td strong,
.theme-tabler .records-table td small {
  display: block;
}

.theme-tabler .records-table td small {
  margin-top: 3px;
  color: var(--theme-muted);
}

.theme-tabler .row-link {
  color: var(--theme-primary) !important;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.theme-tabler .status {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 0;
  border-radius: 999px;
  color: var(--theme-muted);
  background: color-mix(in srgb, var(--theme-muted) 8%, var(--theme-paper));
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.theme-tabler .status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.theme-tabler .status::before {
  display: none;
}

.theme-tabler .status.success {
  color: #226247;
  background: #ebf8ef;
}

/* Administration control plane */
.theme-tabler .control-plane-page {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 16px;
  padding: 16px;
  box-sizing: border-box;
}

.theme-tabler .audit-records-page {
  gap: 0;
  padding: 0;
}

.theme-tabler .table-column-control {
  position: relative;
}

.theme-tabler [data-table-column-icon="hidden"] {
  display: none;
}

.theme-tabler .table-column-control.has-hidden-columns [data-table-column-icon="default"] {
  display: none;
}

.theme-tabler .table-column-control.has-hidden-columns [data-table-column-icon="hidden"] {
  display: block;
}

.theme-tabler .table-column-popover {
  position: fixed;
  z-index: 80;
  width: min(220px, calc(100vw - 16px));
  padding: 12px;
  border: 1px solid var(--theme-line-strong);
  border-radius: 9px;
  color: var(--theme-ink);
  background: var(--theme-paper);
  box-shadow: 0 14px 36px rgb(23 34 29 / 16%);
}

.theme-tabler .table-column-popover::before {
  position: absolute;
  left: var(--arrow-left, calc(50% - 5px));
  width: 10px;
  height: 10px;
  box-sizing: border-box;
  background: var(--theme-paper);
  content: "";
  transform: rotate(45deg);
}

.theme-tabler .table-column-popover[data-placement="bottom"]::before {
  top: -6px;
  border-top: 1px solid var(--theme-line-strong);
  border-left: 1px solid var(--theme-line-strong);
}

.theme-tabler .table-column-popover[data-placement="top"]::before {
  bottom: -6px;
  border-right: 1px solid var(--theme-line-strong);
  border-bottom: 1px solid var(--theme-line-strong);
}

.theme-tabler .table-column-popover fieldset {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  border: 0;
}

.theme-tabler .table-column-popover legend {
  margin-bottom: 6px;
  color: var(--theme-muted);
  font-size: 11px;
  font-weight: 600;
}

.theme-tabler .table-column-options {
  display: grid;
}

.theme-tabler .table-column-options label {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 4px;
  border-bottom: 1px solid var(--theme-line);
  color: var(--theme-ink);
  font-size: 12px;
  cursor: pointer;
}

.theme-tabler .table-column-options label:last-child {
  border-bottom: 0;
}

.theme-tabler .table-column-options input {
  width: 15px;
  min-height: 15px;
  height: 15px;
  padding: 0;
}

.theme-tabler .table-column-options input:disabled + span {
  color: var(--theme-muted);
}

.theme-tabler .table-column-popover > .text-button {
  margin-top: 8px;
}

.theme-tabler .selection-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--theme-line);
}

.theme-tabler .selection-fieldset > legend {
  margin-left: 10px;
  padding: 0 5px;
  color: var(--theme-muted);
  font-size: 14px;
  font-weight: 500;
}

.theme-tabler .compact-selection-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px 12px;
}

.theme-tabler .collaborator-selection-list {
  grid-template-columns: 1fr;
}

.theme-tabler .collaborator-selection-list > label:last-child {
  border-bottom: 0;
}

.theme-tabler .compact-selection-list > label {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--theme-line);
  cursor: pointer;
}

.theme-tabler .compact-selection-list > label:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.theme-tabler .compact-selection-list > label:hover {
  background: color-mix(in srgb, var(--theme-primary-soft) 48%, transparent);
}

.theme-tabler .compact-selection-list input {
  width: 16px;
  min-height: 16px;
  height: 16px;
  flex: 0 0 16px;
  padding: 0;
}

.theme-tabler .compact-selection-list span {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.theme-tabler .compact-selection-list strong {
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 600;
}

.theme-tabler .compact-selection-list small {
  overflow-wrap: anywhere;
  color: var(--theme-muted);
  font-family: var(--theme-mono);
  font-size: 10px;
}

.theme-tabler .selection-hint {
  margin: 0;
  padding: 9px 12px;
  border-top: 1px solid var(--theme-line);
  color: var(--theme-muted);
  background: var(--theme-canvas);
  font-size: 11px;
  line-height: 1.5;
}

.theme-tabler .drawer-fields :is(input, select, textarea):disabled {
  color: var(--theme-muted);
  background: var(--theme-canvas);
  cursor: not-allowed;
}

@media (max-width: 720px) {
  .theme-tabler .compact-selection-list {
    grid-template-columns: 1fr;
  }

  .theme-tabler .compact-selection-list > label {
    border-bottom: 1px solid var(--theme-line);
  }

  .theme-tabler .compact-selection-list > label:last-child {
    border-bottom: 0;
  }
}

.theme-tabler .control-plane-page > * {
  min-width: 0;
}

.theme-tabler .governance-scope {
  display: grid;
  grid-template-columns: auto minmax(180px, max-content) minmax(0, 1fr);
  align-items: center;
  gap: 8px 14px;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--theme-primary) 24%, var(--theme-line));
  border-left: 3px solid var(--theme-primary);
  background: color-mix(in srgb, var(--theme-primary-soft) 54%, var(--theme-paper));
}

.theme-tabler .governance-scope > span {
  color: var(--theme-muted);
  font-size: 10px;
  font-weight: 600;
}

.theme-tabler .governance-scope > strong {
  color: var(--theme-primary);
  font-size: 12px;
  font-weight: 600;
}

.theme-tabler .governance-scope > p {
  margin: 0;
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.5;
}

.theme-tabler .governance-scope.tenant {
  border-left-color: #6f42c1;
  background: color-mix(in srgb, #6f42c1 5%, var(--theme-paper));
}

.theme-tabler .governance-scope.tenant > strong {
  color: #5c37a4;
}

.theme-tabler .control-plane-section {
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .control-plane-section > header {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .control-plane-section > header h2 {
  margin: 0;
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 600;
}

.theme-tabler .control-plane-section > header span {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .master-detail.control-plane-workbench {
  min-height: 620px;
  grid-template-columns: 240px minmax(0, 1fr);
  border-color: var(--theme-line-strong);
  border-radius: 6px;
  box-shadow:
    rgb(97 104 117 / 5%) 0 1px 1px,
    rgb(97 104 117 / 5%) 0 2px 2px;
  overflow: clip;
}

.theme-tabler .control-plane-master-list {
  min-width: 0;
  background: color-mix(in srgb, var(--theme-paper) 76%, var(--theme-canvas));
}

.theme-tabler .control-plane-master-list > header {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px 8px 14px;
  border-bottom: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .control-plane-master-list > header > div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.theme-tabler .control-plane-master-list > header strong {
  color: var(--theme-ink);
  font-size: 13px;
  font-weight: 600;
}

.theme-tabler .control-plane-master-list > header small {
  color: var(--theme-muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.theme-tabler .control-plane-master-list > button {
  min-height: 72px;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 10px 12px 14px;
  color: var(--theme-muted);
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .control-plane-master-list > button > span:first-child {
  min-width: 0;
  flex: 1;
}

.theme-tabler .control-plane-master-list > button strong,
.theme-tabler .control-plane-master-list > button small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .control-plane-master-list > button strong {
  margin: 0 0 3px;
  color: var(--theme-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.theme-tabler .control-plane-master-list > button small {
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.5;
}

.theme-tabler .control-plane-master-list > button.active {
  color: var(--theme-primary);
  background: color-mix(in srgb, var(--theme-primary-soft) 72%, var(--theme-paper));
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--theme-primary) 38%, transparent);
}

.theme-tabler .control-plane-master-list > button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid color-mix(in srgb, var(--theme-primary) 48%, transparent);
  outline-offset: -3px;
}

.theme-tabler .control-plane-master-list .status {
  max-width: 72px;
  flex: 0 0 auto;
  margin-top: 1px;
  white-space: nowrap;
}

.theme-tabler .control-plane-detail-stack {
  padding: 0;
  background: var(--theme-paper);
}

.theme-tabler .control-plane-detail-stack > div,
.theme-tabler .control-plane-detail-section {
  min-height: 100%;
}

.theme-tabler .control-plane-detail-section {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.theme-tabler .control-plane-detail-header {
  min-height: 124px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--theme-line);
  box-sizing: border-box;
}

.theme-tabler .control-plane-detail-header > div:first-child {
  min-width: 0;
}

.theme-tabler .control-plane-detail-header > div:first-child > span {
  display: block;
  margin-bottom: 5px;
  overflow-wrap: anywhere;
  color: var(--theme-muted);
  font-family: var(--theme-mono);
  font-size: 10px;
  line-height: 1.5;
}

.theme-tabler .control-plane-detail-header h2 {
  margin: 0;
  color: var(--theme-ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  text-wrap: balance;
}

.theme-tabler .control-plane-detail-header p,
.theme-tabler .control-plane-editor header p,
.theme-tabler .control-plane-related-section > header p {
  margin: 4px 0 0;
  color: var(--theme-muted);
  font-size: 12px;
  line-height: 1.6;
  text-wrap: pretty;
}

.theme-tabler .control-plane-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.theme-tabler .control-plane-header-actions form {
  margin: 0;
}

.theme-tabler .compact-button {
  min-height: 32px;
  padding: 6px 11px;
  font-size: 11px;
}

.theme-tabler .control-plane-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .control-plane-facts > div {
  min-width: 0;
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px 18px;
  border-right: 1px solid var(--theme-line);
  box-sizing: border-box;
}

.theme-tabler .control-plane-facts > div:last-child {
  border-right: 0;
}

.theme-tabler .control-plane-facts dt {
  color: var(--theme-muted);
  font-size: 10px;
  font-weight: 500;
}

.theme-tabler .control-plane-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.theme-tabler .control-plane-editor {
  border-bottom: 1px solid var(--theme-line);
  background: color-mix(in srgb, var(--theme-primary-soft) 28%, var(--theme-paper));
}

.theme-tabler .control-plane-editor[hidden] {
  display: none;
}

.theme-tabler .control-plane-editor > header,
.theme-tabler .control-plane-related-section > header {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .control-plane-editor h3,
.theme-tabler .control-plane-related-section h3 {
  margin: 0;
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 600;
}

.theme-tabler .control-plane-editor-form {
  margin: 0;
  padding: 18px;
}

.theme-tabler .control-plane-editor-form .form-grid {
  padding: 0;
}

.theme-tabler .control-plane-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.theme-tabler .control-plane-related-section {
  min-width: 0;
}

.theme-tabler .control-plane-related-section > header > span {
  color: var(--theme-muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.theme-tabler .control-plane-inline-empty {
  margin: 0;
  padding: 28px 18px;
  color: var(--theme-muted);
  font-size: 12px;
  line-height: 1.6;
}

.theme-tabler .scenario-revision-row {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
}

.theme-tabler .scenario-revision-row strong,
.theme-tabler .scenario-revision-row small {
  display: block;
}

.theme-tabler .scenario-revision-row strong {
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 500;
}

.theme-tabler .scenario-revision-row small {
  margin-top: 2px;
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .control-plane-support-grid {
  display: grid;
  gap: 16px;
}

.theme-tabler .control-plane-configuration {
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .control-plane-configuration > header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .control-plane-configuration > header h2 {
  margin: 0;
  color: var(--theme-ink);
  font-size: 13px;
  font-weight: 600;
}

.theme-tabler .control-plane-configuration > header p {
  margin: 3px 0 0;
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.5;
}

.theme-tabler .control-plane-config-section {
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .control-plane-config-section:last-child {
  border-bottom: 0;
}

.theme-tabler .control-plane-config-section > summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  color: var(--theme-ink);
  cursor: pointer;
  list-style: none;
}

.theme-tabler .control-plane-config-section > summary::-webkit-details-marker {
  display: none;
}

.theme-tabler .control-plane-config-section > summary span,
.theme-tabler .control-plane-config-section > summary strong,
.theme-tabler .control-plane-config-section > summary small {
  min-width: 0;
  display: block;
}

.theme-tabler .control-plane-config-section > summary strong {
  font-size: 12px;
  font-weight: 500;
}

.theme-tabler .control-plane-config-section > summary small {
  margin-top: 2px;
  color: var(--theme-muted);
  font-size: 10px;
  line-height: 1.5;
}

.theme-tabler .control-plane-config-section > summary svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.theme-tabler .control-plane-config-section[open] > summary svg {
  transform: rotate(180deg);
}

.theme-tabler .control-plane-config-section > .management-form {
  border-top: 1px solid var(--theme-line);
  background: color-mix(in srgb, var(--theme-canvas) 62%, var(--theme-paper));
}

@media (prefers-reduced-motion: reduce) {
  .theme-tabler .control-plane-config-section > summary svg {
    transition: none;
  }
}

.theme-tabler .control-plane-empty {
  min-height: 320px;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 48px 20px;
  border: 1px dashed var(--theme-line-strong);
  background: var(--theme-paper);
  text-align: center;
}

.theme-tabler .control-plane-empty > span {
  color: var(--theme-line-strong);
  font-family: var(--theme-mono);
  font-size: 42px;
  line-height: 1;
}

.theme-tabler .control-plane-empty h2 {
  margin: 14px 0 6px;
  color: var(--theme-ink);
  font-size: 15px;
}

.theme-tabler .control-plane-empty p {
  max-width: 520px;
  margin: 0;
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.7;
}

.theme-tabler .provider-connections-table tr > :last-child,
.theme-tabler .model-limits-table tr > :last-child {
  width: auto;
  text-align: left;
}

.theme-tabler .audit-records-table td:nth-child(5) {
  min-width: 260px;
}

.theme-tabler .prompt-library-table td:nth-child(1) {
  min-width: 160px;
}

@media (max-width: 720px) {
  .theme-tabler .control-plane-page {
    gap: 12px;
    padding: 12px;
  }

  .theme-tabler .governance-scope {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .theme-tabler .governance-scope > p {
    grid-column: 1 / -1;
  }

  .theme-tabler .control-plane-empty {
    min-height: 260px;
  }

  .theme-tabler .master-detail.control-plane-workbench {
    min-height: 0;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .theme-tabler .control-plane-master-list {
    max-height: 244px;
    overflow-y: auto;
    border-right: 0;
    border-bottom: 1px solid var(--theme-line-strong);
  }

  .theme-tabler .control-plane-master-list > header {
    position: sticky;
    z-index: 2;
    top: 0;
  }

  .theme-tabler .control-plane-detail-header {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .theme-tabler .control-plane-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .theme-tabler .control-plane-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-tabler .control-plane-facts > div:nth-child(2) {
    border-right: 0;
  }

  .theme-tabler .control-plane-facts > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--theme-line);
  }

  .theme-tabler .control-plane-editor-form,
  .theme-tabler .control-plane-related-section > header {
    padding-right: 14px;
    padding-left: 14px;
  }
}

/* Scenario freeze: security, versioned access, and observable imports */
.theme-tabler .authentication-policy-facts {
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--theme-line);
  border-left: 1px solid var(--theme-line);
}

.theme-tabler .authentication-policy-facts > div {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 14px;
  border-right: 1px solid var(--theme-line);
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .authentication-policy-facts span,
.theme-tabler .authentication-security-card dt {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .authentication-policy-facts strong,
.theme-tabler .authentication-security-card dd {
  margin: 0;
  color: var(--theme-ink);
  font-size: 11px;
  font-weight: 600;
}

.theme-tabler .authentication-security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .authentication-security-card {
  padding: 22px;
}

.theme-tabler .authentication-security-card + .authentication-security-card {
  border-left: 1px solid var(--theme-line);
}

.theme-tabler .authentication-security-card > header,
.theme-tabler .fixed-role-proposal > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.theme-tabler .authentication-security-card h2 {
  margin: 3px 0 0;
  color: var(--theme-ink);
  font-size: 14px;
}

.theme-tabler .authentication-security-card header div > span {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .authentication-security-card dl {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
}

.theme-tabler .authentication-security-card dl > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .fixed-role-revision {
  display: grid;
  grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
  border-top: 1px solid var(--theme-line);
  border-bottom: 1px solid var(--theme-line);
  background: color-mix(in srgb, var(--theme-canvas) 72%, var(--theme-paper));
}

.theme-tabler .fixed-role-revision > div {
  display: grid;
  gap: 2px;
}

.theme-tabler .fixed-role-revision span,
.theme-tabler .fixed-role-revision small,
.theme-tabler .fixed-role-proposal span,
.theme-tabler .fixed-role-proposal p {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .fixed-role-revision strong {
  color: var(--theme-primary);
  font-size: 12px;
}

.theme-tabler .fixed-role-revision p,
.theme-tabler .fixed-role-proposal p {
  margin: 0;
  line-height: 1.6;
}

.theme-tabler .fixed-role-proposal {
  margin: 14px 20px 0;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--theme-warning) 34%, var(--theme-line));
  background: color-mix(in srgb, var(--theme-warning) 4%, var(--theme-paper));
}

.theme-tabler .fixed-role-proposal header div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.theme-tabler .fixed-role-proposal header strong {
  color: var(--theme-ink);
  font-size: 13px;
}

.theme-tabler .fixed-role-proposal > p {
  margin-top: 8px;
}

.theme-tabler .fixed-role-diff {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 10px;
}

.theme-tabler .fixed-role-diff strong {
  color: var(--theme-ink);
  font-family: var(--theme-mono);
}

.theme-tabler .fixed-role-proposal footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.theme-tabler .permission-revision {
  color: var(--theme-primary) !important;
}

.theme-tabler .permission-action-expansion {
  margin-top: 6px;
}

.theme-tabler .permission-action-expansion summary {
  color: var(--theme-primary);
  font-size: 10px;
  cursor: pointer;
}

.theme-tabler .permission-action-expansion code {
  display: block;
  margin-top: 5px;
  color: var(--theme-muted);
  font-size: 9px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.theme-tabler .import-run-board {
  display: grid;
  gap: 12px;
}

.theme-tabler .import-run-card {
  border: 1px solid var(--theme-line);
  border-left: 3px solid var(--theme-line-strong);
  background: var(--theme-paper);
}

.theme-tabler .import-run-card.success { border-left-color: #226247; }
.theme-tabler .import-run-card.pending { border-left-color: var(--theme-warning); }
.theme-tabler .import-run-card.danger { border-left-color: var(--theme-danger); }

.theme-tabler .import-run-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .import-run-card > header div {
  display: grid;
  gap: 2px;
}

.theme-tabler .import-run-card > header span,
.theme-tabler .import-run-card > header small {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .import-run-card > header h2 {
  margin: 0;
  color: var(--theme-ink);
  font-size: 13px;
}

.theme-tabler .import-run-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.theme-tabler .import-run-stages li {
  min-height: 74px;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  align-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-right: 1px solid var(--theme-line);
}

.theme-tabler .import-run-stages li:last-child {
  border-right: 0;
}

.theme-tabler .import-run-stages li > i {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--theme-muted);
}

.theme-tabler .import-run-stages li.success > i { background: #226247; }
.theme-tabler .import-run-stages li.danger > i { background: var(--theme-danger); }

.theme-tabler .import-run-stages li span {
  display: grid;
  gap: 3px;
}

.theme-tabler .import-run-stages strong {
  color: var(--theme-ink);
  font-size: 11px;
}

.theme-tabler .import-run-stages small {
  color: var(--theme-muted);
  font-size: 9px;
  line-height: 1.5;
}

.theme-tabler .import-run-failure {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border-top: 1px solid color-mix(in srgb, var(--theme-danger) 25%, var(--theme-line));
  background: color-mix(in srgb, var(--theme-danger) 4%, var(--theme-paper));
}

.theme-tabler .import-run-failure strong {
  color: var(--theme-danger);
  font-family: var(--theme-mono);
  font-size: 11px;
}

.theme-tabler .import-run-failure p {
  margin: 3px 0;
  color: var(--theme-ink);
  font-size: 10px;
}

.theme-tabler .import-run-failure small {
  color: var(--theme-muted);
  font-size: 9px;
}

@media (max-width: 720px) {
  .theme-tabler .authentication-policy-facts,
  .theme-tabler .authentication-security-grid,
  .theme-tabler .fixed-role-revision,
  .theme-tabler .import-run-stages {
    grid-template-columns: 1fr;
  }

  .theme-tabler .authentication-security-card + .authentication-security-card {
    border-top: 1px solid var(--theme-line);
    border-left: 0;
  }

  .theme-tabler .import-run-stages li {
    border-right: 0;
    border-bottom: 1px solid var(--theme-line);
  }

  .theme-tabler .import-run-stages li:last-child {
    border-bottom: 0;
  }

  .theme-tabler .import-run-failure {
    align-items: flex-start;
    flex-direction: column;
  }
}

.theme-tabler .status.pending {
  color: var(--theme-warning);
  background: var(--theme-warning-soft);
}

.theme-tabler .status.danger {
  color: var(--theme-danger);
  background: var(--theme-danger-soft);
}

.theme-tabler .achievement-overview,
.theme-tabler .customer-directory {
  width: 100%;
  margin: 0;
  padding: 0;
}

.theme-tabler .achievement-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--theme-line);
  border-top: 0;
  background: var(--theme-paper);
}

.theme-tabler .achievement-overview-table {
  --achievement-customer-left: 0px;
  --achievement-service-left: 100px;
  --achievement-target-left: 245px;
  width: max-content;
  min-width: 100%;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
}

.theme-tabler .achievement-overview-table.has-tenant-column {
  --achievement-customer-left: 110px;
  --achievement-service-left: 210px;
  --achievement-target-left: 355px;
}

.theme-tabler .achievement-platform-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.theme-tabler .achievement-platform-toggle {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.theme-tabler .achievement-platform-toggle [data-achievement-platform-icon] {
  display: grid;
  place-items: center;
}

.theme-tabler .achievement-platform-toggle [data-achievement-platform-icon="collapse"],
.theme-tabler .achievement-platform-toggle[aria-expanded="true"] [data-achievement-platform-icon="expand"] {
  display: none;
}

.theme-tabler .achievement-platform-toggle[aria-expanded="true"] [data-achievement-platform-icon="collapse"] {
  display: grid;
}

.theme-tabler .achievement-detail-toggle [data-achievement-detail-icon] {
  display: grid;
  place-items: center;
}

.theme-tabler .achievement-detail-toggle [data-achievement-detail-icon="collapse"],
.theme-tabler .achievement-detail-toggle[aria-expanded="true"] [data-achievement-detail-icon="expand"] {
  display: none;
}

.theme-tabler .achievement-detail-toggle[aria-expanded="true"] [data-achievement-detail-icon="collapse"] {
  display: grid;
}

.theme-tabler .achievement-platform-column {
  width: 120px;
  min-width: 120px;
}

.theme-tabler .achievement-spend-column {
  width: 132px;
  min-width: 132px;
}

.theme-tabler .achievement-report-column {
  min-width: 108px;
}

.theme-tabler .achievement-overview-table th,
.theme-tabler .achievement-overview-table td {
  padding: 9px 12px;
  border-top: 0;
  border-right: 1px solid var(--theme-line-strong);
  border-bottom: 1px solid var(--theme-line-strong);
  border-left: 0;
  color: var(--theme-ink);
  background: var(--theme-paper);
  font-size: 11px;
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
}

.theme-tabler .achievement-overview-table thead th {
  position: sticky;
  z-index: 4;
  top: 0;
  height: var(--workbench-row-height);
  color: var(--theme-muted);
  background: #f5f5f7;
  box-shadow: none;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  padding-top: 0;
  padding-bottom: 0;
  vertical-align: middle;
}

.theme-tabler .achievement-overview-table tr > *:last-child {
  border-right: 0;
}

.theme-tabler .achievement-sticky-tenant {
  position: sticky;
  left: 0;
  z-index: 5;
  width: 110px;
  min-width: 110px;
  max-width: 110px;
  background: var(--theme-paper) !important;
}

.theme-tabler .achievement-overview-table thead .achievement-sticky-tenant {
  z-index: 7;
  background: #f5f5f7 !important;
}

.theme-tabler .achievement-sticky-tenant[rowspan] {
  vertical-align: middle;
}

.theme-tabler .achievement-sticky-customer {
  position: sticky !important;
  left: var(--achievement-customer-left);
  z-index: 5;
  width: 100px;
  min-width: 100px;
  max-width: 100px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
  background: var(--theme-paper) !important;
}

.theme-tabler .achievement-sticky-customer[rowspan] {
  vertical-align: middle;
}

.theme-tabler .achievement-sticky-service {
  position: sticky !important;
  left: var(--achievement-service-left);
  z-index: 5;
  width: 145px;
  min-width: 145px;
  max-width: 145px;
  border-right: 0 !important;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
  background: var(--theme-paper) !important;
}

.theme-tabler .achievement-sticky-service[rowspan] {
  vertical-align: middle;
}

.theme-tabler .achievement-sticky-service small {
  display: block;
  margin-top: 4px;
  color: var(--theme-muted);
  font-size: 9px;
  font-weight: 400;
}

.theme-tabler .achievement-sticky-target {
  position: sticky !important;
  left: var(--achievement-target-left);
  z-index: 5;
  width: 260px;
  min-width: 260px;
  max-width: 260px;
  overflow-wrap: anywhere;
  white-space: normal;
  background: var(--theme-paper) !important;
  box-shadow: inset 1px 0 0 var(--theme-line-strong);
}

.theme-tabler .achievement-overview-table thead :is(.achievement-sticky-tenant, .achievement-sticky-customer, .achievement-sticky-service, .achievement-sticky-target) {
  z-index: 7;
  background: #f5f5f7 !important;
}

.theme-tabler .achievement-overview-table thead .achievement-sticky-target {
  box-shadow: inset 1px 0 0 var(--theme-line-strong);
}

.theme-tabler .achievement-overall-column {
  width: 112px;
  min-width: 112px;
}

.theme-tabler .achievement-status-column {
  width: 136px;
  min-width: 136px;
  max-width: 136px;
  white-space: normal;
}

.theme-tabler .achievement-operator-column {
  width: 108px;
  min-width: 108px;
  max-width: 108px;
  overflow-wrap: anywhere;
  white-space: normal;
}

.theme-tabler .achievement-row:is(:hover, :focus-within) > * {
  background: color-mix(in srgb, var(--theme-primary) 9%, var(--theme-paper));
}

.theme-tabler .achievement-row:is(:hover, :focus-within) > :is(.achievement-sticky-tenant, .achievement-sticky-customer, .achievement-sticky-service, .achievement-sticky-target) {
  background: color-mix(in srgb, var(--theme-primary) 9%, var(--theme-paper)) !important;
}

.theme-tabler .achievement-overview-table .achievement-linked-hover {
  background: color-mix(in srgb, var(--theme-primary) 9%, var(--theme-paper)) !important;
}

.theme-tabler .achievement-target-cell {
  display: grid;
  gap: 8px;
}

.theme-tabler .achievement-target-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.theme-tabler .achievement-target-heading > div {
  min-width: 0;
  flex: 1 1 auto;
}

.theme-tabler .achievement-target-label {
  display: block;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
  font-size: 12px;
}

.theme-tabler .achievement-target-cell small,
.theme-tabler .achievement-target-heading small {
  display: block;
  margin-top: 4px;
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .achievement-target-heading .achievement-report-periods {
  color: var(--theme-ink);
  font-family: var(--theme-mono);
  font-size: 10px;
  font-weight: 600;
}

.theme-tabler .achievement-target-heading .achievement-target-metrics {
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
}

.theme-tabler .achievement-detail-toggle {
  width: 28px;
  min-height: 28px;
  background: color-mix(in srgb, var(--theme-paper) 70%, var(--theme-canvas));
}

.theme-tabler .achievement-spend-progress {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(64px, 1fr) 32px;
  align-items: center;
  gap: 8px;
}

.theme-tabler .achievement-spend-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme-muted) 14%, var(--theme-paper));
}

.theme-tabler .achievement-spend-track i {
  width: var(--achievement-spend-progress);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--theme-primary);
}

.theme-tabler .achievement-spend-progress strong {
  color: var(--theme-primary);
  font-family: var(--theme-mono);
  font-size: 11px;
  font-weight: 600;
  text-align: right;
}

.theme-tabler .achievement-badge,
.theme-tabler .achievement-metric {
  padding: 8px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--theme-paper) 72%, var(--theme-canvas));
}

.theme-tabler .achievement-badge {
  border: 0;
}

.theme-tabler .achievement-metric {
  border: 0;
}

.theme-tabler .achievement-badge span,
.theme-tabler .achievement-metric span {
  display: block;
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .achievement-badge > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.theme-tabler .achievement-badge-emotion {
  width: 15px;
  height: 15px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: currentColor;
}

.theme-tabler .achievement-badge-emotion svg {
  width: 14px;
  height: 14px;
}

.theme-tabler .achievement-badge strong,
.theme-tabler .achievement-metric strong {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}

.theme-tabler .achievement-badge strong {
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
}

.theme-tabler .achievement-metric-stack {
  display: grid;
  gap: 6px;
}

.theme-tabler .achievement-metric strong {
  display: flex;
  align-items: center;
  gap: 4px;
}

.theme-tabler .achievement-badge.success {
  color: #226247;
  background: #eaf7ec;
}

.theme-tabler .achievement-badge.danger {
  color: #8a5a00;
  background: #fff4d6;
}

.theme-tabler .achievement-badge.pending {
  color: #4f5964;
  background: #eef1f4;
}

.theme-tabler .achievement-badge.muted,
.theme-tabler .achievement-badge.neutral {
  color: #4f5964;
  background: #e9edf1;
}

.theme-tabler .achievement-metric i {
  color: var(--theme-danger);
  font-size: 9px;
  font-style: normal;
}

.theme-tabler .achievement-metric i.down {
  color: #21804b;
}

@media (hover: hover) and (pointer: fine) {
  .theme-tabler .achievement-row:is(:hover, :focus-within) .achievement-metric {
    background: color-mix(in srgb, var(--theme-primary) 13%, var(--theme-paper));
  }
}

.theme-tabler .achievement-row.expanded .achievement-badge {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--theme-primary) 18%, transparent);
}

.theme-tabler .achievement-empty-row td,
.theme-tabler .empty-row td {
  height: 160px;
  color: var(--theme-muted);
  text-align: center;
}

.theme-tabler .customer-directory-scroll {
  min-height: calc(100vh - 114px);
  border-right: 1px solid var(--theme-line);
}

.theme-tabler .customer-directory-table {
  min-width: 940px;
}

.theme-tabler .customer-directory-table td {
  height: 66px;
  font-size: 13px;
}

.theme-tabler .customer-directory-table th:first-child,
.theme-tabler .customer-directory-table td:first-child {
  padding-left: 18px;
}

.theme-tabler .label-configuration,
.theme-tabler .customer-profile-page,
.theme-tabler .system-settings-page,
.theme-tabler .member-access-page {
  padding: 0;
}

.theme-tabler :is(.system-settings-page, .authentication-page) {
  min-height: var(--content-stage-min-height);
  background: var(--theme-paper);
}

.theme-tabler .workbench-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.theme-tabler .workbench-heading h1 {
  margin: 0 0 2px;
  color: var(--theme-primary);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  text-wrap: balance;
}

.theme-tabler .workbench-heading p {
  margin: 0;
  color: var(--theme-muted);
  font-size: 12px;
  text-wrap: pretty;
}

.theme-tabler .content-action-row {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 14px;
}

.theme-tabler .label-table {
  min-width: 900px;
  border: 1px solid var(--theme-line);
}

.theme-tabler .access-principles,
.theme-tabler .role-definition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--theme-line);
  border-left: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .access-principles {
  margin-bottom: 16px;
}

.theme-tabler .access-principles article,
.theme-tabler .role-definition-grid article {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px;
  border-right: 1px solid var(--theme-line);
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .access-principles strong,
.theme-tabler .role-definition-grid span {
  color: var(--theme-primary);
  font-size: 12px;
  font-weight: 600;
}

.theme-tabler .access-principles span,
.theme-tabler .role-definition-grid p {
  margin: 0;
  color: var(--theme-muted);
  font-size: 11px;
}

.theme-tabler .member-access-table {
  min-width: 1120px;
  border: 1px solid var(--theme-line);
}

.theme-tabler .member-access-table td {
  height: 72px;
}

.theme-tabler .role-checkboxes {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
}

.theme-tabler .role-checkboxes label {
  position: relative;
  cursor: pointer;
}

.theme-tabler .role-checkboxes input {
  position: absolute;
  opacity: 0;
}

.theme-tabler .role-checkboxes span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--theme-line);
  border-radius: 6px;
  color: var(--theme-muted);
  background: var(--theme-paper);
  font-size: 10px;
  white-space: nowrap;
}

.theme-tabler .role-checkboxes input:checked + span {
  color: var(--theme-primary);
  border-color: var(--theme-primary);
  background: var(--theme-primary-soft);
}

.theme-tabler .role-checkboxes input:focus-visible + span {
  outline: 3px solid rgb(32 107 196 / 28%);
  outline-offset: 2px;
}

.theme-tabler .role-checkboxes input:disabled + span {
  cursor: not-allowed;
  opacity: .64;
}

.theme-tabler .role-definition-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.theme-tabler .role-definition-grid article {
  min-height: 118px;
}

.theme-tabler .role-definition-grid strong {
  font-size: 13px;
  font-weight: 500;
}

.theme-tabler .label-table td {
  height: 68px;
  font-size: 13px;
}

.theme-tabler .customer-profile-form,
.theme-tabler .settings-form {
  max-width: 900px;
  padding: 22px;
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .settings-form,
.theme-tabler .authentication-form {
  width: 100%;
  max-width: none;
  min-height: var(--content-stage-min-height);
  box-sizing: border-box;
}

.theme-tabler .system-settings-page .form-grid {
  max-width: 900px;
}

.theme-tabler .authentication-form {
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.theme-tabler .form-grid label {
  display: grid;
  gap: 7px;
  color: var(--theme-muted);
  font-size: 12px;
  font-weight: 500;
}

.theme-tabler .form-grid label.wide {
  grid-column: 1 / -1;
}

.theme-tabler .domain-checkboxes {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--theme-line);
}

.theme-tabler .domain-checkboxes.wide {
  grid-column: 1 / -1;
}

.theme-tabler .domain-checkboxes legend {
  padding: 0 6px;
  color: var(--theme-primary);
  font-size: 14px;
  font-weight: 600;
}

.theme-tabler .domain-checkboxes > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.theme-tabler .domain-checkboxes label {
  position: relative;
  cursor: pointer;
}

.theme-tabler .domain-checkboxes input {
  position: absolute;
  opacity: 0;
}

.theme-tabler .domain-checkboxes label span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--theme-line-strong);
  border-radius: 7px;
  color: var(--theme-muted);
  background: var(--theme-paper);
  font-size: 14px;
}

.theme-tabler .domain-checkboxes input:checked + span {
  color: var(--theme-primary);
  border-color: var(--theme-primary);
  background: var(--theme-primary-soft);
}

.theme-tabler .domain-checkboxes input:focus-visible + span {
  outline: 3px solid rgb(32 107 196 / 28%);
  outline-offset: 2px;
}

.theme-tabler .domain-checkboxes small {
  display: block;
  margin-top: 8px;
  color: var(--theme-muted);
  font-size: 14px;
  line-height: 1.5;
}

.theme-tabler .form-grid input,
.theme-tabler .form-grid select,
.theme-tabler .form-grid textarea,
.theme-tabler .drawer-fields input,
.theme-tabler .drawer-fields select,
.theme-tabler .drawer-fields textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--theme-line-strong);
  border-radius: 8px;
  color: var(--theme-ink);
  background: var(--theme-paper);
  font-size: 14px;
  line-height: 1.5;
}

.theme-tabler .form-grid :is(input[readonly], textarea[readonly], select:disabled) {
  color: var(--theme-ink);
  background: var(--theme-canvas);
  opacity: 1;
  -webkit-text-fill-color: var(--theme-ink);
}

.theme-tabler .form-grid select:disabled {
  appearance: none;
}

.theme-tabler [data-edit-scope][data-editing="true"] .form-grid :is(input, textarea, select) {
  background: var(--theme-paper);
}

.theme-tabler .drawer-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.theme-tabler .drawer-fields-grid > label,
.theme-tabler .drawer-nested-fields > label {
  display: grid;
  align-content: start;
  gap: 6px;
  color: var(--theme-muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.theme-tabler .drawer-fields label > span {
  font-size: 14px;
  line-height: 1.5;
}

.theme-tabler .drawer-fields-grid .wide {
  grid-column: 1 / -1;
}

.theme-tabler .drawer-nested-fields > .wide {
  grid-column: 1 / -1;
}

.theme-tabler .drawer-checkboxes,
.theme-tabler .drawer-nested-fields {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--theme-line);
}

.theme-tabler :is(.drawer-checkboxes, .drawer-nested-fields) legend {
  padding: 0 6px;
  color: var(--theme-primary);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.theme-tabler .drawer-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.theme-tabler .drawer-checkboxes label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--theme-ink);
  font-size: 14px;
  line-height: 1.5;
}

.theme-tabler .drawer-checkboxes input {
  width: 16px;
  min-height: 16px;
}

.theme-tabler .drawer-nested-fields {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.theme-tabler .drawer-nested-section {
  display: grid;
  gap: 10px;
}

.theme-tabler .drawer-nested-section > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-drawer-editor {
  gap: 0;
  padding: 0;
}

.theme-tabler .assessment-drawer-tabs {
  position: sticky;
  z-index: 4;
  top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(128px, 1fr));
  overflow-x: auto;
  border-bottom: 1px solid var(--theme-line);
  background: color-mix(in srgb, var(--theme-paper) 94%, var(--theme-canvas));
  scrollbar-width: none;
}

.theme-tabler .assessment-drawer-tabs::-webkit-scrollbar {
  display: none;
}

.theme-tabler .assessment-drawer-tabs button {
  position: relative;
  min-height: 46px;
  padding: 0 12px;
  border: 0;
  color: var(--theme-muted);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.theme-tabler .assessment-drawer-tabs button::after {
  position: absolute;
  right: 10px;
  bottom: -1px;
  left: 10px;
  height: 3px;
  background: transparent;
  content: "";
}

.theme-tabler .assessment-drawer-tabs button[aria-selected="true"] {
  color: var(--theme-primary);
  font-weight: 600;
}

.theme-tabler .assessment-drawer-tabs button[aria-selected="true"]::after {
  background: var(--theme-primary);
}

.theme-tabler .assessment-drawer-tabs button:focus-visible {
  z-index: 1;
  outline: 2px solid var(--theme-primary);
  outline-offset: -3px;
}

.theme-tabler .assessment-drawer-tabs button > span {
  min-width: 20px;
  min-height: 20px;
  display: inline-grid;
  place-items: center;
  margin-left: 3px;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--theme-muted);
  background: var(--theme-canvas);
  font-family: var(--theme-mono);
  font-size: 10px;
  line-height: 1;
}

.theme-tabler .assessment-drawer-tabs button[aria-selected="true"] > span {
  color: var(--theme-primary);
  background: var(--theme-primary-soft);
}

.theme-tabler .assessment-drawer-panel {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
}

.theme-tabler .assessment-drawer-panel[hidden] {
  display: none;
}

.theme-tabler .assessment-drawer-section {
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assessment-object-editor,
.theme-tabler .assessment-keyword-editor {
  position: relative;
  min-width: 0;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: var(--theme-paper);
}

.theme-tabler :is(.assessment-object-editor, .assessment-keyword-editor) > summary {
  min-width: 0;
  min-height: 54px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 44px 9px 12px;
  cursor: pointer;
  list-style: none;
}

.theme-tabler :is(.assessment-object-editor, .assessment-keyword-editor) > summary::-webkit-details-marker {
  display: none;
}

.theme-tabler :is(.assessment-object-editor, .assessment-keyword-editor) > summary > span,
.theme-tabler :is(.assessment-object-editor, .assessment-keyword-editor) > summary > small {
  color: var(--theme-muted);
  font-size: 10px;
  white-space: nowrap;
}

.theme-tabler :is(.assessment-object-editor, .assessment-keyword-editor) > summary > span {
  min-width: 70px;
}

.theme-tabler :is(.assessment-object-editor, .assessment-keyword-editor) > summary b {
  font-family: var(--theme-mono);
  font-weight: 500;
}

.theme-tabler :is(.assessment-object-editor, .assessment-keyword-editor) > summary > strong {
  overflow: hidden;
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler :is(.assessment-object-editor, .assessment-keyword-editor)[open] > summary {
  border-bottom: 1px solid var(--theme-line);
  background: color-mix(in srgb, var(--theme-primary-soft) 24%, var(--theme-paper));
}

.theme-tabler .assessment-object-editor-body {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.theme-tabler .assessment-object-basic-fields {
  gap: 12px;
}

.theme-tabler .assessment-competitor-picker {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--theme-line);
  border-radius: 7px;
}

.theme-tabler .assessment-competitor-picker legend {
  padding: 0 5px;
  color: var(--theme-ink);
  font-size: 11px;
  font-weight: 600;
}

.theme-tabler .assessment-competitor-picker legend small,
.theme-tabler .nested-keyword-section header small,
.theme-tabler .assessment-question-section header small {
  margin-left: 4px;
  color: var(--theme-muted);
  font-size: 9px;
  font-weight: 400;
}

.theme-tabler .assessment-competitor-picker .drawer-checkboxes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.theme-tabler .assessment-competitor-picker .drawer-checkboxes label {
  min-width: 0;
}

.theme-tabler .assessment-competitor-picker .drawer-checkboxes span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .assessment-competitor-other {
  max-width: 360px;
}

.theme-tabler .nested-keyword-section {
  padding: 0;
  border: 0;
}

.theme-tabler .nested-keyword-section > header > div,
.theme-tabler .assessment-question-section > header > div {
  min-width: 0;
}

.theme-tabler .nested-keyword-section > header small,
.theme-tabler .assessment-question-section > header small {
  display: block;
  margin: 2px 0 0;
}

.theme-tabler .assessment-keyword-editor-body {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.theme-tabler .assessment-keyword-editor-body > label {
  max-width: 360px;
}

.theme-tabler .assessment-question-section {
  padding: 12px;
  border: 1px solid var(--theme-line);
  border-radius: 7px;
  background: color-mix(in srgb, var(--theme-canvas) 48%, var(--theme-paper));
}

.theme-tabler .assessment-question-fields {
  background: var(--theme-paper);
}

.theme-tabler .assessment-question-tag-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.theme-tabler .assessment-question-tag-grid > label {
  min-width: 0;
}

.theme-tabler .assessment-question-tag-grid label > span {
  display: flex;
  justify-content: space-between;
}

.theme-tabler .assessment-question-tag-grid small {
  color: var(--theme-muted);
  font-size: 9px;
  font-weight: 400;
}

.theme-tabler .assessment-panel-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-panel-heading > div {
  min-width: 0;
}

.theme-tabler .assessment-panel-heading strong {
  color: var(--theme-ink);
  font-size: 14px;
  font-weight: 600;
}

.theme-tabler .assessment-panel-heading p,
.theme-tabler .assessment-panel-note {
  max-width: 56ch;
  margin: 3px 0 0;
  color: var(--theme-muted);
  font-size: 12px;
  line-height: 1.6;
  text-wrap: pretty;
}

.theme-tabler .assessment-panel-heading .text-button {
  flex: 0 0 auto;
  min-height: 32px;
  white-space: nowrap;
}

.theme-tabler .assessment-drawer-panel input[readonly] {
  color: var(--theme-ink);
  background: var(--theme-canvas);
  opacity: 1;
  -webkit-text-fill-color: var(--theme-ink);
}

.theme-tabler .assessment-document-context {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--theme-line);
  border-left: 1px solid var(--theme-line);
}

.theme-tabler .assessment-document-context > span {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-right: 1px solid var(--theme-line);
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-document-context small {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .assessment-document-context strong {
  overflow: hidden;
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .assessment-document-preview {
  padding: 18px;
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .assessment-document-preview > h3 {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--theme-ink);
  color: var(--theme-ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  text-wrap: balance;
}

.theme-tabler .assessment-document-preview > section {
  padding: 16px 0 0;
}

.theme-tabler .assessment-document-preview h4 {
  margin: 0 0 8px;
  color: var(--theme-ink);
  font-size: 14px;
  font-weight: 600;
}

.theme-tabler .assessment-document-preview h5 {
  margin: 0 0 4px;
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 600;
}

.theme-tabler .assessment-document-preview p {
  margin: 0;
  color: var(--theme-muted);
  font-size: 12px;
  line-height: 1.7;
  text-wrap: pretty;
}

.theme-tabler .assessment-document-preview section > article {
  padding: 10px 0;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-document-preview section > article:last-child {
  border-bottom: 0;
}

.theme-tabler .assessment-document-preview dl {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assessment-document-preview dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-document-preview dt,
.theme-tabler .assessment-document-preview dd {
  margin: 0;
  font-size: 12px;
}

.theme-tabler .assessment-document-preview dt {
  color: var(--theme-muted);
}

.theme-tabler .assessment-document-preview dd {
  color: var(--theme-ink);
  font-family: var(--theme-mono);
  font-weight: 600;
}

.theme-tabler .assessment-document-object {
  margin-top: 16px;
  border-top: 1px solid var(--theme-line-strong);
}

.theme-tabler .assessment-document-object > small {
  display: block;
  margin: -4px 0 8px;
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .assessment-document-object > p {
  margin-bottom: 8px;
}

.theme-tabler .assessment-document-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.theme-tabler [data-nested-collection] {
  display: grid;
  gap: 12px;
}

.theme-tabler .nested-keyword-section {
  padding: 10px;
  border: 1px solid var(--theme-line);
}

.theme-tabler .nested-remove-button {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: var(--theme-muted);
  background: transparent;
}

.theme-tabler .nested-remove-button svg {
  width: 16px;
  height: 16px;
}

.theme-tabler .nested-remove-button:hover {
  color: var(--theme-primary);
  background: transparent;
}

.theme-tabler :is(.customer-profile-form, .settings-form, .authentication-form) > footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.theme-tabler .authentication-form > footer {
  margin-top: 0;
  padding: 16px 22px;
  border-top: 1px solid var(--theme-line);
  background: color-mix(in srgb, var(--theme-paper) 72%, var(--theme-canvas));
}

.theme-tabler .master-detail,
.theme-tabler .assessment-workbench {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .master-list {
  padding: 0;
  border-right: 1px solid var(--theme-line);
  border-radius: 0;
  background: color-mix(in srgb, var(--theme-paper) 72%, var(--theme-canvas));
}

.theme-tabler .master-list button {
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 12px;
  border: 0;
  border-bottom: 1px solid var(--theme-line);
  border-radius: 0;
  color: var(--theme-muted);
  background: transparent;
  text-align: left;
}

.theme-tabler .master-list button.active {
  color: var(--theme-primary);
  background: var(--theme-primary-soft);
  box-shadow: none;
}

.theme-tabler .detail-stack {
  min-width: 0;
  padding: 16px;
}

.theme-tabler .assessment-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.theme-tabler .assessment-keywords span {
  padding: 4px 8px;
  border: 1px solid var(--theme-line);
  border-radius: 6px;
  color: var(--theme-primary);
  background: var(--theme-primary-soft);
  font-size: 11px;
}

.theme-tabler .assessment-questions {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--theme-line);
  list-style: none;
}

.theme-tabler .assessment-questions li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-questions span {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .assessment-questions strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.theme-tabler .page-heading.compact {
  align-items: center;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.theme-tabler .page-heading.compact h1 {
  color: var(--theme-primary);
  font-size: 18px;
}

.theme-tabler .page-heading.compact > div > p {
  display: none;
}

.theme-tabler .page-heading.compact span {
  color: var(--theme-muted);
  font-size: 12px;
}

.theme-tabler .inline-select {
  color: var(--theme-muted);
}

.theme-tabler .inline-select select {
  min-height: 36px;
  margin-left: 8px;
  border: 1px solid var(--theme-line);
  border-radius: 7px;
  background: var(--theme-paper);
}

.theme-tabler .drawer-backdrop,
.theme-tabler .confirmation-backdrop {
  background: rgb(11 27 20 / 46%);
  backdrop-filter: blur(4px);
  overscroll-behavior: contain;
}

.theme-tabler .drawer {
  width: min(100%, 640px);
  border-left: 1px solid var(--theme-line-strong);
  border-radius: 0;
  background: var(--theme-paper);
  box-shadow: -8px 0 0 rgb(32 107 196 / 10%);
  animation: yishan-drawer-in 220ms var(--theme-ease-out) both;
  overscroll-behavior: contain;
}

.theme-tabler .drawer-backdrop.is-closing {
  animation: yishan-backdrop-out 220ms ease-out both;
}

.theme-tabler .drawer-backdrop.is-closing .drawer {
  animation: yishan-drawer-out 180ms var(--theme-ease-out) both;
}

.theme-tabler .drawer > form > header {
  border-bottom-color: var(--theme-line);
}

.theme-tabler .drawer > form > footer {
  border-top-color: var(--theme-line);
}

.theme-tabler .toast {
  border: 1px solid var(--theme-line-strong);
  border-radius: 8px;
  color: var(--theme-ink);
  background: var(--theme-paper);
  box-shadow: var(--theme-shadow-raised);
}

.theme-tabler .mobile-nav {
  display: none;
}

.theme-tabler .mobile-only {
  display: none !important;
}

@keyframes yishan-drawer-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes yishan-drawer-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(24px); }
}

@keyframes yishan-backdrop-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@media (hover: hover) and (pointer: fine) {
  .theme-tabler .row-link:hover {
    color: var(--theme-primary-hover);
  }
}

@media (max-width: 980px) {
  .theme-tabler .directory-filter-select:last-of-type {
    display: none;
  }
}

@media (max-width: 720px) {
  body.theme-tabler {
    font-size: 13px;
  }

  .theme-tabler,
  .theme-tabler.sidebar-collapsed,
  .theme-tabler.view-mode-focus {
    display: block;
  }

  .theme-tabler :is(.workspace, .content-stage, main) {
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
  }

  .theme-tabler .sidebar {
    display: none;
  }

  .theme-tabler .mobile-only {
    display: grid !important;
  }

  .theme-tabler .topbar {
    min-height: 60px;
    height: 60px;
    padding: 0 14px;
    gap: 10px;
  }

  .theme-tabler .customer-context-select {
    width: min(188px, 58vw);
  }

  .theme-tabler .customer-context-select select {
    height: 38px;
  }

  .theme-tabler .secondary-nav {
    top: 60px;
    min-height: var(--workbench-row-height);
    height: var(--workbench-row-height);
    padding: 0 14px;
  }

  .theme-tabler .secondary-actions {
    padding-left: 8px;
  }

  .theme-tabler .achievement-filter-search {
    width: auto;
    min-width: 96px;
    flex: 1 1 auto;
    height: 30px;
  }

  .theme-tabler .secondary-nav[data-customer-directory="true"] {
    padding-inline: 10px;
  }

  .theme-tabler .secondary-nav[data-customer-directory="true"] :is(.secondary-parent, .secondary-items) {
    display: none;
  }

  .theme-tabler .secondary-nav[data-customer-directory="true"] .secondary-actions {
    width: 100%;
    padding-left: 0;
  }

  .theme-tabler .directory-filter-search {
    min-width: 132px;
  }

  .theme-tabler .directory-filter-select:nth-of-type(n+2) {
    display: none;
  }

  .theme-tabler .achievement-overview-table {
    --achievement-customer-left: 0px;
    --achievement-service-left: 68px;
    --achievement-target-left: 200px;
  }

  .theme-tabler .achievement-overview-table.has-tenant-column {
    --achievement-customer-left: 96px;
    --achievement-service-left: 164px;
    --achievement-target-left: 296px;
  }

  .theme-tabler .achievement-sticky-tenant {
    width: 96px;
    min-width: 96px;
    max-width: 96px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .theme-tabler .achievement-sticky-customer {
    width: 68px;
    min-width: 68px;
    max-width: 68px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .theme-tabler .achievement-sticky-target {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    white-space: normal;
  }

  .theme-tabler .achievement-sticky-service {
    width: 132px;
    min-width: 132px;
    max-width: 132px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .theme-tabler .achievement-overview-table :is(.achievement-sticky-tenant, .achievement-sticky-customer, .achievement-sticky-service, .achievement-sticky-target) {
    padding-inline: 6px;
  }

  .theme-tabler .page-stack,
  .theme-tabler .label-configuration,
  .theme-tabler .customer-profile-page,
  .theme-tabler .system-settings-page,
  .theme-tabler .member-access-page {
    padding: 0;
  }

  .theme-tabler .access-principles,
  .theme-tabler .role-definition-grid {
    grid-template-columns: 1fr;
  }

  .theme-tabler .form-grid {
    grid-template-columns: 1fr;
  }

  .theme-tabler .form-grid label.wide {
    grid-column: auto;
  }

  .theme-tabler .drawer-fields-grid,
  .theme-tabler .drawer-nested-fields,
  .theme-tabler .drawer-checkboxes {
    grid-template-columns: 1fr;
  }

  .theme-tabler .drawer-fields-grid .wide {
    grid-column: auto;
  }

}

.theme-tabler .management-page,
.theme-tabler .customer-record-detail,
.theme-tabler .authentication-page,
.theme-tabler .fixed-roles-page,
.theme-tabler .role-assignments-page {
  padding: 0;
}

.theme-tabler .management-heading {
  min-height: 50px;
  align-items: center;
}

.theme-tabler .heading-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--theme-muted);
  font-size: 11px;
  white-space: nowrap;
}

.theme-tabler .heading-summary span {
  display: grid;
  gap: 2px;
  text-align: right;
}

.theme-tabler .heading-summary strong {
  color: var(--theme-primary);
  font-family: var(--theme-mono);
  font-size: 17px;
  font-weight: 600;
}

.theme-tabler .management-guidance {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 10px 13px;
  border-left: 3px solid var(--theme-primary);
  color: var(--theme-muted);
  background: color-mix(in srgb, var(--theme-primary-soft) 52%, var(--theme-paper));
  font-size: 11px;
}

.theme-tabler .management-guidance strong {
  flex: 0 0 auto;
  color: var(--theme-primary);
  font-size: 12px;
}

.theme-tabler .management-table-shell {
  min-height: 0;
  border: 0;
  background: var(--theme-paper);
}

.theme-tabler .table-pagination {
  min-height: var(--workbench-row-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 12px;
  border-top: 1px solid var(--theme-line);
  background: color-mix(in srgb, var(--theme-paper) 94%, var(--theme-canvas));
}

.theme-tabler .table-pagination[hidden] {
  display: none;
}

.theme-tabler .table-pagination p {
  margin: 0;
  color: var(--theme-ink);
  font-family: var(--theme-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.theme-tabler .table-pagination-total {
  color: var(--theme-muted);
  font-family: var(--theme-font);
}

.theme-tabler .pagination,
.theme-tabler .pagination-pages {
  display: flex;
  align-items: center;
}

.theme-tabler .pagination {
  gap: 4px;
}

.theme-tabler .pagination-pages {
  gap: 2px;
}

.theme-tabler .page-link {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--theme-muted);
  background: transparent;
  font-family: var(--theme-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.theme-tabler a.page-link {
  text-decoration: none;
}

.theme-tabler .page-link svg {
  width: 14px;
  height: 14px;
}

.theme-tabler .page-link-previous svg {
  transform: rotate(180deg);
}

.theme-tabler .page-link[aria-current="page"] {
  border-color: color-mix(in srgb, var(--theme-primary) 36%, var(--theme-line));
  color: var(--theme-primary);
  background: var(--theme-primary-soft);
  font-weight: 600;
}

.theme-tabler .page-link:focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: 2px;
}

.theme-tabler .page-link:disabled {
  color: color-mix(in srgb, var(--theme-muted) 38%, transparent);
  cursor: default;
}

.theme-tabler .page-gap {
  width: 24px;
  color: var(--theme-muted);
  font-size: 11px;
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  .theme-tabler .page-link:not(:disabled):not([aria-current="page"]):hover {
    color: var(--theme-ink);
    background: var(--theme-canvas);
  }
}

.theme-tabler .table-page-toolbar {
  min-height: var(--workbench-row-height);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 2px 10px;
  border-bottom: 1px solid var(--theme-line);
  background: color-mix(in srgb, var(--theme-paper) 96%, var(--theme-canvas));
}

.theme-tabler .table-page-toolbar > strong {
  margin-right: auto;
  color: var(--theme-ink);
  font-size: 12px;
}

.theme-tabler .table-page-toolbar .icon-only-button {
  width: 36px;
  height: 36px;
}

.theme-tabler .management-table-shell .records-table {
  min-width: 1080px;
}

.theme-tabler .management-table-shell .records-table td {
  height: 68px;
  font-size: 12px;
}

.theme-tabler .record-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-tabler .tenant-logo.compact {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  font-size: 12px;
}

.theme-tabler .record-detail-heading {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.theme-tabler .record-detail-heading h1 {
  margin: 5px 0 2px;
  color: var(--theme-primary);
  font-size: 22px;
  font-weight: 600;
}

.theme-tabler .record-detail-heading p {
  margin: 0;
  color: var(--theme-muted);
  font-size: 12px;
}

.theme-tabler .back-link {
  color: var(--theme-muted);
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
}

.theme-tabler .back-link:hover {
  color: var(--theme-primary);
}

.theme-tabler .record-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
  border-top: 1px solid var(--theme-line);
  border-left: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .record-facts article {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px;
  border-right: 1px solid var(--theme-line);
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .record-facts span,
.theme-tabler .record-facts small {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .record-facts strong {
  color: var(--theme-ink);
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.theme-tabler .record-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(420px, 1.28fr);
  gap: 16px;
}

.theme-tabler .governance-chain,
.theme-tabler .service-record-panel {
  min-height: 310px;
  padding: 18px;
}

.theme-tabler .governance-chain dl {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
}

.theme-tabler .governance-chain dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .governance-chain dl div:last-child {
  border-bottom: 0;
}

.theme-tabler .governance-chain dt {
  color: var(--theme-muted);
  font-size: 11px;
}

.theme-tabler .governance-chain dd {
  margin: 0;
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 600;
}

.theme-tabler .service-record-list {
  display: grid;
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .service-record-list article {
  display: grid;
  grid-template-columns: minmax(190px, 1.3fr) minmax(140px, .8fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .service-record-list strong,
.theme-tabler .service-record-list small,
.theme-tabler .service-record-list span {
  display: block;
}

.theme-tabler .service-record-list small {
  margin-top: 3px;
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .compact-empty-state {
  min-height: 190px;
  display: grid;
  place-content: center;
  gap: 6px;
  color: var(--theme-muted);
  text-align: center;
}

.theme-tabler .compact-empty-state strong {
  color: var(--theme-primary);
}

.theme-tabler .login-method,
.theme-tabler .scope-type,
.theme-tabler .workspace-tag,
.theme-tabler .inline-identity-list span {
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 7px;
  border: 1px solid var(--theme-line-strong);
  border-radius: 6px;
  color: var(--theme-primary);
  background: var(--theme-paper);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.theme-tabler .inline-identity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.theme-tabler .identity-boundary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  border: 1px solid var(--theme-line);
  color: var(--theme-muted);
  background: color-mix(in srgb, var(--theme-paper) 72%, var(--theme-canvas));
  font-size: 12px;
}

.theme-tabler .identity-boundary span,
.theme-tabler .identity-boundary strong {
  padding: 7px 12px;
  border: 1px solid var(--theme-line-strong);
  border-radius: 7px;
  background: var(--theme-paper);
}

.theme-tabler .identity-boundary strong {
  color: var(--theme-on-primary);
  border-color: var(--theme-primary);
  background: var(--theme-primary);
}

.theme-tabler .identity-list {
  border-top: 1px solid var(--theme-line);
  border-left: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .identity-list > article {
  min-height: 128px;
  display: grid;
  grid-template-columns: minmax(210px, .8fr) minmax(190px, .7fr) minmax(380px, 1.5fr) 110px;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-right: 1px solid var(--theme-line);
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .identity-list article > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.theme-tabler .identity-list header strong,
.theme-tabler .identity-list header span {
  display: block;
}

.theme-tabler .identity-list header strong {
  color: var(--theme-primary);
  font-size: 14px;
}

.theme-tabler .identity-list header div > span,
.theme-tabler .identity-list > article > p,
.theme-tabler .identity-list footer > span {
  margin: 3px 0 0;
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .identity-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.theme-tabler .identity-list li {
  position: relative;
  padding-left: 10px;
  color: var(--theme-ink);
  font-size: 11px;
}

.theme-tabler .identity-list li::before {
  position: absolute;
  top: .62em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--theme-primary);
  content: "";
}

.theme-tabler .identity-list footer {
  display: grid;
  justify-items: end;
  gap: 3px;
}

.theme-tabler .authentication-methods {
  display: block;
}

.theme-tabler .authentication-method {
  padding: 22px;
}

.theme-tabler .authentication-method + .authentication-method {
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .authentication-method > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.theme-tabler .authentication-heading,
.theme-tabler .authentication-header-actions {
  min-width: 0;
  display: flex;
  align-items: center;
}

.theme-tabler .authentication-heading {
  gap: 10px;
}

.theme-tabler .authentication-header-actions {
  flex: 0 0 auto;
  gap: 12px;
}

.theme-tabler .authentication-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--theme-muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.theme-tabler .authentication-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-tabler .authentication-toggle-track {
  width: 36px;
  height: 20px;
  display: flex;
  align-items: center;
  padding: 2px;
  border-radius: 999px;
  background: var(--theme-line-strong);
  transition: background-color 140ms var(--theme-ease-out);
}

.theme-tabler .authentication-toggle-track i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--theme-paper);
  box-shadow: 0 1px 3px rgb(23 34 29 / 22%);
  transition: transform 140ms var(--theme-ease-out);
}

.theme-tabler .authentication-toggle input:checked + .authentication-toggle-track {
  background: var(--theme-primary);
}

.theme-tabler .authentication-toggle input:checked + .authentication-toggle-track i {
  transform: translateX(16px);
}

.theme-tabler .authentication-toggle input:focus-visible + .authentication-toggle-track {
  outline: 3px solid rgb(32 107 196 / 24%);
  outline-offset: 2px;
}

.theme-tabler [data-edit-scope]:not([data-editing="true"]) .authentication-toggle {
  cursor: default;
}

.theme-tabler .authentication-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--theme-line-strong);
  border-radius: 7px;
  color: var(--theme-ink);
  background: var(--theme-canvas);
  font-size: 12px;
  font-weight: 600;
}

.theme-tabler .authentication-methods h2,
.theme-tabler .authentication-methods p {
  margin: 0;
}

.theme-tabler .authentication-methods h2 {
  color: var(--theme-ink);
  font-size: 14px;
  font-weight: 600;
}

.theme-tabler .authentication-heading p {
  margin-top: 2px;
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.5;
}

.theme-tabler .authentication-fields {
  gap: 14px 16px;
}

.theme-tabler .authentication-credentials {
  max-width: 680px;
}

.theme-tabler .authentication-external-login {
  max-width: 680px;
  padding: 14px 16px;
  border-left: 3px solid var(--theme-primary);
  background: var(--theme-primary-soft);
}

.theme-tabler .authentication-external-login strong {
  color: var(--theme-ink);
  font-size: 13px;
  font-weight: 600;
}

.theme-tabler .authentication-external-login p {
  margin-top: 5px;
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.6;
}

.theme-tabler .operations-role-picker {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.theme-tabler .operations-role-picker legend {
  margin-bottom: 6px;
  color: var(--theme-muted);
  font-size: 14px;
  font-weight: 500;
}

.theme-tabler .operations-role-combobox {
  position: relative;
}

.theme-tabler .operations-role-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.theme-tabler .operations-role-selection:empty {
  display: none;
}

.theme-tabler .operations-role-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 4px 3px 9px;
  border: 1px solid color-mix(in srgb, var(--theme-primary) 28%, var(--theme-line));
  border-radius: 999px;
  color: var(--theme-primary);
  background: var(--theme-primary-soft);
  font-size: 12px;
  font-weight: 500;
}

.theme-tabler .operations-role-chip button {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--theme-primary);
  background: transparent;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.theme-tabler .operations-role-chip .member-avatar {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  font-size: 9px;
}

.theme-tabler .operations-role-chip button:hover {
  background: rgb(32 107 196 / 12%);
}

.theme-tabler .operations-role-options {
  --bubble-arrow-offset: 18px;
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
}

.theme-tabler .operations-role-options .bubble-menu-list {
  max-height: 232px;
}

.theme-tabler .operations-role-options [data-operations-role-option] {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 9px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.theme-tabler .tenant-administrator-options [data-tenant-administrator-option] {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.theme-tabler .tenant-administrator-options [data-tenant-administrator-option]:hover,
.theme-tabler .tenant-administrator-options [data-tenant-administrator-option].selected {
  background: var(--theme-primary-soft);
}

.theme-tabler .tenant-administrator-options [data-tenant-administrator-option]:focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: -2px;
}

.theme-tabler .tenant-administrator-option-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.theme-tabler .tenant-administrator-options strong {
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 500;
}

.theme-tabler .tenant-administrator-options small {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .tenant-administrator-chip {
  min-height: 32px;
  padding-left: 4px;
  color: var(--theme-ink);
  background: color-mix(in srgb, var(--theme-primary-soft) 58%, var(--theme-paper));
}

.theme-tabler .tenant-administrator-chip .member-avatar {
  width: 22px;
  height: 22px;
  font-size: 10px;
}

.theme-tabler .tenant-administrator-chip strong {
  font-size: 12px;
  font-weight: 500;
}

.theme-tabler .operations-role-options [data-operations-role-option]:hover,
.theme-tabler .operations-role-options [data-operations-role-option].selected {
  background: var(--theme-primary-soft);
}

.theme-tabler .operations-role-options [data-operations-role-option] > input {
  width: 16px;
  min-height: 16px;
  height: 16px;
  flex: 0 0 16px;
  padding: 0;
}

.theme-tabler .operations-role-options [data-operations-role-option] > span:last-child {
  display: grid;
  min-width: 0;
}

.theme-tabler .operations-role-options [data-operations-role-option] > .member-avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  font-size: 10px;
}

.theme-tabler .operations-role-options strong {
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 500;
}

.theme-tabler .operations-role-options small {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .operations-role-empty {
  margin: 0;
  padding: 16px;
  color: var(--theme-muted);
  font-size: 11px;
  text-align: center;
}

.theme-tabler .system-user-field {
  min-width: 0;
}

.theme-tabler .system-user-field > label {
  display: block;
  margin-bottom: 6px;
  color: var(--theme-muted);
  font-size: 14px;
  font-weight: 500;
}

.theme-tabler .system-user-picker {
  position: relative;
  min-width: 0;
}

.theme-tabler .system-user-picker > svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 11px;
  width: 16px;
  height: 16px;
  color: var(--theme-muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.theme-tabler .system-user-picker > input {
  width: 100%;
  padding-left: 36px;
}

.theme-tabler .system-user-options {
  --bubble-arrow-offset: 18px;
  position: absolute;
  z-index: 30;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
}

.theme-tabler .system-user-options .bubble-menu-list {
  max-height: 244px;
}

.theme-tabler .system-user-options :is(
  [data-system-user-option],
  [data-service-customer-option]
) {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border: 0;
  border-radius: 7px;
  color: var(--theme-ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.theme-tabler .system-user-options :is(
  [data-system-user-option],
  [data-service-customer-option]
) > span:last-child {
  min-width: 0;
}

.theme-tabler .system-user-options :is(strong, small) {
  display: block;
}

.theme-tabler .system-user-options strong {
  font-size: 12px;
  font-weight: 500;
}

.theme-tabler .system-user-options small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--theme-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .system-user-options :is(
  [data-system-user-option],
  [data-service-customer-option]
):is(:hover, :focus-visible, .selected) {
  background: var(--theme-primary-soft);
}

.theme-tabler .system-user-options :is(
  [data-system-user-option],
  [data-service-customer-option]
):focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: -2px;
}

.theme-tabler .system-user-empty {
  margin: 0;
  padding: 18px 10px;
  color: var(--theme-muted);
  font-size: 11px;
  text-align: center;
}

.theme-tabler .authentication-fields textarea {
  min-height: 66px;
  resize: vertical;
}

.theme-tabler .authentication-fields textarea[readonly] {
  resize: none;
}

.theme-tabler .authentication-rule {
  padding: 18px;
}

.theme-tabler .authentication-rule > header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .authentication-rule header span {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .authentication-rule > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 14px;
}

.theme-tabler .authentication-rule p {
  margin: 0;
  color: var(--theme-muted);
  font-size: 11px;
}

.theme-tabler .authentication-rule b {
  color: var(--theme-primary);
}

.theme-tabler .project-context {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--theme-muted);
  font-size: 12px;
}

.theme-tabler .project-context-back {
  color: var(--theme-muted);
  text-decoration: none;
}

.theme-tabler .project-context-back:hover {
  color: var(--theme-primary);
}

.theme-tabler .project-context strong {
  max-width: 360px;
  color: var(--theme-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .operations-page {
  padding: 0;
}

.theme-tabler .operations-heading {
  min-height: 50px;
  align-items: center;
}

.theme-tabler .role-projection {
  width: max-content;
  padding: 5px 9px;
  border: 1px solid var(--theme-line-strong);
  border-radius: 6px;
  color: var(--theme-primary);
  background: var(--theme-paper);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.theme-tabler .operations-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
  border-top: 1px solid var(--theme-line);
  border-left: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .operations-metrics article {
  min-height: 100px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 15px;
  border-right: 1px solid var(--theme-line);
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .operations-metrics span,
.theme-tabler .operations-metrics small {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .operations-metrics strong {
  color: var(--theme-primary);
  font-family: var(--theme-mono);
  font-size: 24px;
  line-height: 1.2;
}

.theme-tabler .operations-overview-grid {
  display: grid;
  grid-template-columns: minmax(580px, 1.7fr) minmax(280px, .8fr);
  gap: 16px;
}

.theme-tabler .assigned-projects,
.theme-tabler .operations-attention {
  padding: 18px;
}

.theme-tabler .assigned-project-list {
  display: grid;
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assigned-project-list > article {
  min-height: 76px;
  display: grid;
  grid-template-columns: 120px minmax(190px, 1fr) 82px 72px auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assigned-project-list strong,
.theme-tabler .assigned-project-list span,
.theme-tabler .assigned-project-list small {
  display: block;
}

.theme-tabler .assigned-project-list > article > div:nth-child(2) strong {
  color: var(--theme-primary);
  font-size: 12px;
}

.theme-tabler .assigned-project-list > article > div:nth-child(2) span,
.theme-tabler .assigned-project-list small {
  margin-top: 3px;
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .project-progress-number strong,
.theme-tabler .project-percentage,
.theme-tabler .large-percentage {
  color: var(--theme-primary);
  font-family: var(--theme-mono);
  font-weight: 600;
}

.theme-tabler .attention-list {
  display: grid;
}

.theme-tabler .attention-list article {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 3px;
  padding: 12px 0;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .attention-list article:last-child {
  border-bottom: 0;
}

.theme-tabler .attention-list span,
.theme-tabler .attention-list small {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .attention-list strong {
  color: var(--theme-ink);
  font-size: 12px;
}

.theme-tabler .operations-boundary-note {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 10px 13px;
  border-left: 3px solid var(--theme-primary);
  color: var(--theme-muted);
  background: color-mix(in srgb, var(--theme-primary-soft) 52%, var(--theme-paper));
  font-size: 11px;
}

.theme-tabler .operations-boundary-note strong {
  color: var(--theme-primary);
  font-size: 12px;
}

.theme-tabler .project-directory-shell {
  min-height: 420px;
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .service-project-table {
  width: 100%;
  min-width: 1020px;
  table-layout: fixed;
}

.theme-tabler .service-project-table tr > :nth-child(1) { width: 190px; }
.theme-tabler .service-project-table tr > :nth-child(2) { width: 100px; }
.theme-tabler .service-project-table tr > :nth-child(3) { width: 185px; }
.theme-tabler .service-project-table tr > :nth-child(4) { width: 95px; }
.theme-tabler .service-project-table tr > :nth-child(5) { width: 160px; }
.theme-tabler .service-project-table tr > :nth-child(6) { width: 82px; }
.theme-tabler .service-project-table tr > :nth-child(7) { width: 70px; }
.theme-tabler .service-project-table tr > :nth-child(8) { width: 88px; }
.theme-tabler .service-project-table tr > :nth-child(9) { width: 50px; }

.theme-tabler .service-project-table .table-column-heading > span {
  white-space: nowrap;
}

.theme-tabler .service-project-table td {
  height: 70px;
}

.theme-tabler .project-heading {
  min-height: 82px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.theme-tabler .project-heading > div:first-child > span {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .project-heading h1 {
  margin: 4px 0 3px;
  color: var(--theme-primary);
  font-size: 22px;
  font-weight: 600;
}

.theme-tabler .project-heading p {
  margin: 0;
  color: var(--theme-muted);
  font-size: 11px;
}

.theme-tabler .project-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
  border-top: 1px solid var(--theme-line);
  border-left: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .project-facts article {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px;
  border-right: 1px solid var(--theme-line);
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .project-facts span {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .project-facts strong {
  color: var(--theme-ink);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.theme-tabler .project-overview-grid {
  display: grid;
  grid-template-columns: minmax(480px, 1.4fr) minmax(300px, .8fr);
  gap: 16px;
}

.theme-tabler .project-progress-panel,
.theme-tabler .project-collaboration-panel {
  min-height: 330px;
  padding: 18px;
}

.theme-tabler .large-percentage {
  font-size: 22px;
}

.theme-tabler .project-stage-list {
  display: grid;
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .project-stage-list article {
  min-height: 70px;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .project-stage-list span {
  color: var(--theme-muted);
  font-size: 11px;
}

.theme-tabler .project-stage-list b {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .project-stage-list .complete b {
  color: #226247;
}

.theme-tabler .project-stage-list .pending b {
  color: var(--theme-warning);
}

.theme-tabler .collaboration-actions {
  display: grid;
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .collaboration-actions button {
  min-height: 76px;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 3px;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid var(--theme-line);
  color: var(--theme-ink);
  background: transparent;
  text-align: left;
}

.theme-tabler .collaboration-actions button:hover {
  background: rgb(32 107 196 / 4%);
}

.theme-tabler .collaboration-actions span {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .label-dimension-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.theme-tabler .label-dimension-grid > section {
  min-height: 360px;
  padding: 18px;
}

.theme-tabler .label-dimension-grid > section > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .label-dimension-grid header span {
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .label-dimension-grid h2 {
  margin: 2px 0 0;
  color: var(--theme-primary);
  font-size: 15px;
}

.theme-tabler .label-dimension-grid header > strong {
  color: var(--theme-primary);
  font-family: var(--theme-mono);
  font-size: 18px;
}

.theme-tabler .project-label-list {
  display: grid;
}

.theme-tabler .project-label-list article {
  min-height: 66px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  align-items: center;
  gap: 2px 8px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .project-label-list small {
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .project-label-list button {
  grid-column: 2;
  grid-row: 1 / 3;
}

.theme-tabler .label-usage-note {
  padding: 16px;
}

.theme-tabler .label-usage-note p {
  margin: 5px 0 0;
  color: var(--theme-muted);
  font-size: 11px;
}

.theme-tabler .assessment-plan-workbench {
  min-height: 580px;
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .assessment-plan-list {
  padding: 10px;
  border-right: 1px solid var(--theme-line);
  background: color-mix(in srgb, var(--theme-paper) 74%, var(--theme-canvas));
}

.theme-tabler .assessment-plan-list button {
  width: 100%;
  min-height: 96px;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 5px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--theme-ink);
  background: transparent;
  text-align: left;
}

.theme-tabler .assessment-plan-list button:hover {
  background: rgb(32 107 196 / 5%);
}

.theme-tabler .assessment-plan-list button.active {
  border-color: var(--theme-line-strong);
  background: var(--theme-paper);
}

.theme-tabler .assessment-plan-list button > strong {
  color: var(--theme-primary);
  font-size: 12px;
}

.theme-tabler .assessment-plan-list button > small {
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .assessment-plan-panels {
  min-width: 0;
  padding: 20px;
}

.theme-tabler .assessment-plan-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-plan-heading span,
.theme-tabler .optimization-object header span {
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .assessment-plan-heading h2 {
  margin: 3px 0;
  color: var(--theme-primary);
  font-size: 18px;
}

.theme-tabler .assessment-plan-heading p {
  max-width: 64ch;
  margin: 0;
  color: var(--theme-muted);
  font-size: 11px;
}

.theme-tabler .subject-structure-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .subject-structure-summary > div {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border-left: 1px solid var(--theme-line);
}

.theme-tabler .subject-structure-summary > div:first-child {
  border-left: 0;
}

.theme-tabler .subject-structure-summary dt {
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .subject-structure-summary dd {
  margin: 0;
  color: var(--theme-primary);
  font-family: var(--theme-mono);
  font-size: 17px;
  font-weight: 600;
}

.theme-tabler .assessment-metrics {
  padding: 18px 0;
}

.theme-tabler .assessment-metrics h3,
.theme-tabler .optimization-object h3,
.theme-tabler .optimization-object h4 {
  margin: 0;
  color: var(--theme-primary);
}

.theme-tabler .assessment-metrics h3,
.theme-tabler .optimization-object h3 {
  font-size: 13px;
}

.theme-tabler .assessment-metrics > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.theme-tabler .assessment-metrics article {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--theme-line);
  background: color-mix(in srgb, var(--theme-paper) 78%, var(--theme-canvas));
}

.theme-tabler .assessment-metrics span,
.theme-tabler .assessment-metrics small {
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .assessment-metrics strong {
  color: var(--theme-primary);
  font-family: var(--theme-mono);
  font-size: 16px;
}

.theme-tabler .information-card-entry {
  padding: 16px;
  border: 1px solid var(--theme-line);
  border-left: 3px solid var(--theme-primary);
  background: color-mix(in srgb, var(--theme-paper) 82%, var(--theme-canvas));
}

.theme-tabler .information-card-entry > header,
.theme-tabler .section-heading,
.theme-tabler .optimization-object > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.theme-tabler .information-card-entry > header {
  margin-bottom: 12px;
}

.theme-tabler .information-card-entry header span,
.theme-tabler .section-heading span,
.theme-tabler .document-title > span,
.theme-tabler .document-body section > span,
.theme-tabler .document-body article > span,
.theme-tabler .target-card-heading span {
  color: var(--theme-muted);
  font-family: var(--theme-mono);
  font-size: 8px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.theme-tabler .information-card-entry h3,
.theme-tabler .section-heading h3 {
  margin: 3px 0 0;
  color: var(--theme-primary);
  font-size: 13px;
}

.theme-tabler .information-card-entry header small,
.theme-tabler .section-heading small,
.theme-tabler .optimization-object > header > small {
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .optimization-objects-section,
.theme-tabler .assembled-document-section {
  padding-top: 22px;
}

.theme-tabler .optimization-objects-section > .section-heading,
.theme-tabler .assembled-document-section > .section-heading {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .optimization-object {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .optimization-object header h3 {
  margin-top: 3px;
}

.theme-tabler .target-overview {
  max-width: 75ch;
  margin: 8px 0 16px;
  color: var(--theme-muted);
  font-size: 11px;
}

.theme-tabler .optimization-detail-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) minmax(240px, .8fr);
  gap: 24px;
}

.theme-tabler .optimization-detail-grid h4 {
  margin-bottom: 8px;
  font-size: 11px;
}

.theme-tabler .optimization-detail-grid section:nth-child(2) h4:not(:first-child) {
  margin-top: 18px;
}

.theme-tabler .keyword-question-group {
  display: grid;
  gap: 5px;
  padding: 10px 0;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .keyword-question-group strong {
  color: var(--theme-primary);
  font-size: 11px;
}

.theme-tabler .keyword-question-group span {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .extended-question {
  display: grid;
  gap: 5px;
  padding: 8px 10px;
  border-left: 2px solid var(--theme-line-strong);
  background: color-mix(in srgb, var(--theme-paper) 80%, var(--theme-canvas));
}

.theme-tabler .question-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.theme-tabler .question-labels small {
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--theme-primary);
  background: rgb(32 107 196 / 8%);
  font-size: 8px;
}

.theme-tabler .target-card-heading {
  margin-top: 18px;
}

.theme-tabler .target-card-heading h4 {
  margin-top: 3px;
}

.theme-tabler .information-card-tokens span {
  border-color: color-mix(in srgb, var(--theme-primary) 35%, var(--theme-line));
  color: var(--theme-primary);
}

.theme-tabler .compact-token-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.theme-tabler .compact-token-list span {
  padding: 5px 7px;
  border: 1px solid var(--theme-line);
  border-radius: 6px;
  color: var(--theme-ink);
  background: color-mix(in srgb, var(--theme-paper) 76%, var(--theme-canvas));
  font-size: 10px;
}

.theme-tabler .assembled-document {
  max-width: 820px;
  margin: 18px auto 4px;
  border: 1px solid var(--theme-line-strong);
  background: var(--theme-paper);
}

.theme-tabler .document-title {
  padding: 32px 38px 26px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .document-title h2 {
  margin: 7px 0 10px;
  color: var(--theme-primary);
  font-size: 24px;
  line-height: 1.3;
}

.theme-tabler .document-title > p,
.theme-tabler .document-body p {
  max-width: 68ch;
  margin: 8px 0 0;
  color: var(--theme-ink);
  font-size: 11px;
  line-height: 1.75;
}

.theme-tabler .document-card-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 18px 0 12px;
}

.theme-tabler .document-card-sources small {
  margin-right: 4px;
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .document-card-sources b {
  padding: 3px 6px;
  border: 1px solid color-mix(in srgb, var(--theme-primary) 28%, var(--theme-line));
  border-radius: 4px;
  color: var(--theme-primary);
  background: rgb(32 107 196 / 5%);
  font-size: 8px;
  font-weight: 500;
}

.theme-tabler .document-body {
  padding: 6px 38px 34px;
}

.theme-tabler .document-body > section {
  padding-top: 26px;
}

.theme-tabler .document-body section > h3 {
  margin: 6px 0 0;
  color: var(--theme-primary);
  font-size: 18px;
}

.theme-tabler .document-body article {
  margin: 20px 0 0 18px;
  padding-left: 16px;
  border-left: 1px solid var(--theme-line-strong);
}

.theme-tabler .document-body article h4 {
  margin: 5px 0 0;
  color: var(--theme-primary);
  font-size: 13px;
}

.theme-tabler .project-empty-state {
  min-height: 420px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
  text-align: center;
}

.theme-tabler .project-empty-state strong {
  color: var(--theme-primary);
  font-size: 14px;
}

.theme-tabler .project-empty-state p {
  margin: 0;
  color: var(--theme-muted);
  font-size: 11px;
}

/* Keep the reference contract above the legacy scenario-shell selectors. */
.scenario-shell.interface-v2.theme-tabler .nav-workspace-label {
  min-height: var(--secondary-nav-height);
  height: var(--secondary-nav-height);
  margin: 0;
  padding: 0 8px;
  border-bottom: 0;
  font-size: 11px;
}

.scenario-shell.interface-v2.theme-tabler.sidebar-collapsed .nav-workspace-label {
  display: none !important;
}

.scenario-shell.interface-v2.theme-tabler .nav-link {
  min-height: var(--workbench-row-height) !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border: 0;
  border-radius: 10px;
  color: var(--theme-muted);
  font-size: 13px;
  font-weight: 400;
}

.scenario-shell.interface-v2.theme-tabler .nav-link:hover {
  color: var(--theme-ink);
  background: color-mix(in srgb, var(--theme-muted) 6%, transparent);
}

.scenario-shell.interface-v2.theme-tabler .nav-link.active {
  color: var(--theme-ink);
  background: var(--theme-primary-soft);
  font-weight: 600;
}

.scenario-shell.interface-v2.theme-tabler .secondary-parent,
.scenario-shell.interface-v2.theme-tabler .secondary-tab {
  font-size: 13px;
  line-height: 1.5;
}

.scenario-shell.interface-v2.theme-tabler .secondary-tabs {
  gap: 4px;
}

.scenario-shell.interface-v2.theme-tabler .secondary-tab {
  height: 100%;
  padding: 0 5px;
  font-weight: 500;
}

.scenario-shell.interface-v2.theme-tabler .secondary-tab.active {
  color: var(--theme-primary);
  background: transparent;
  font-weight: 500;
}

.scenario-shell.interface-v2.theme-tabler .secondary-tab.active::after {
  right: 4px;
  bottom: 0;
  left: 4px;
  height: 3px;
  background: var(--theme-primary);
}

.scenario-shell.interface-v2.theme-tabler.sidebar-collapsed .nav-link {
  width: var(--workbench-row-height);
  min-width: var(--workbench-row-height);
  height: var(--workbench-row-height);
  min-height: var(--workbench-row-height) !important;
  justify-content: center;
  margin-inline: auto !important;
  padding: 0 !important;
}

.scenario-shell.interface-v2.theme-tabler.sidebar-collapsed .nav-link.active {
  color: var(--theme-primary) !important;
  background: transparent !important;
}

.scenario-shell.interface-v2.theme-tabler :is(.icon-only-button, .icon-button, .sidebar-toggle):hover {
  color: var(--theme-primary);
  background: transparent;
}

@media (max-width: 720px) {
  .theme-tabler .management-page,
  .theme-tabler .customer-record-detail,
  .theme-tabler .authentication-page,
  .theme-tabler .fixed-roles-page,
  .theme-tabler .role-assignments-page {
    padding: 0;
  }

  .theme-tabler .management-heading,
  .theme-tabler .record-detail-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .theme-tabler .heading-summary span {
    text-align: left;
  }

  .theme-tabler .management-guidance {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .theme-tabler .record-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-tabler .record-detail-grid {
    grid-template-columns: 1fr;
  }

  .theme-tabler .authentication-method > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .theme-tabler .authentication-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .theme-tabler .service-record-list article {
    grid-template-columns: 1fr auto;
  }

  .theme-tabler .service-record-list article > div:nth-child(2) {
    display: none;
  }

  .theme-tabler .identity-boundary {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .theme-tabler .identity-list > article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .theme-tabler .identity-list footer {
    justify-items: start;
  }

  .theme-tabler .authentication-rule > div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .theme-tabler .operations-page {
    padding: 0;
  }

  .theme-tabler .operations-heading,
  .theme-tabler .project-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .theme-tabler .operations-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-tabler .operations-overview-grid,
  .theme-tabler .project-overview-grid,
  .theme-tabler .label-dimension-grid,
  .theme-tabler .optimization-detail-grid {
    grid-template-columns: 1fr;
  }

  .theme-tabler .assigned-project-list > article {
    grid-template-columns: 1fr auto;
    gap: 7px 10px;
    padding: 12px 0;
  }

  .theme-tabler .assigned-project-list .project-state,
  .theme-tabler .assigned-project-list .project-progress-number {
    display: none;
  }

  .theme-tabler .operations-boundary-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .theme-tabler .project-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-tabler .project-stage-list article {
    grid-template-columns: 90px 1fr;
  }

  .theme-tabler .project-stage-list b {
    grid-column: 2;
  }

  .theme-tabler .assessment-plan-workbench {
    grid-template-columns: 1fr;
  }

  .theme-tabler .assessment-plan-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--theme-line);
  }

  .theme-tabler .assessment-plan-list button {
    min-width: 210px;
  }

  .theme-tabler .assessment-plan-panels {
    padding: 14px;
  }

  .theme-tabler .assessment-plan-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .theme-tabler .subject-structure-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-tabler .subject-structure-summary > div:nth-child(3) {
    border-top: 1px solid var(--theme-line);
    border-left: 0;
  }

  .theme-tabler .subject-structure-summary > div:nth-child(4) {
    border-top: 1px solid var(--theme-line);
  }

  .theme-tabler .assessment-metrics > div {
    grid-template-columns: 1fr;
  }

  .theme-tabler .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .theme-tabler .document-title,
  .theme-tabler .document-body {
    padding-right: 20px;
    padding-left: 20px;
  }

  .theme-tabler .document-body article {
    margin-left: 8px;
  }

  .theme-tabler .master-detail,
  .theme-tabler .assessment-workbench {
    grid-template-columns: 1fr;
  }

  .theme-tabler .master-list {
    border-right: 0;
    border-bottom: 1px solid var(--theme-line);
  }

  .theme-tabler .content-stage {
    padding-bottom: 72px;
  }

  .theme-tabler .mobile-nav {
    position: fixed;
    z-index: 50;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 4px;
    padding: 7px;
    border: 1px solid var(--theme-line);
    border-radius: 16px;
    background: rgb(255 255 255 / 94%);
    box-shadow: 0 18px 50px rgb(16 43 31 / 18%);
    backdrop-filter: blur(18px);
  }

  .theme-tabler .mobile-nav a {
    min-width: 0;
    padding: 7px 2px;
    border-radius: 9px;
    color: var(--theme-muted);
    font-size: 9px;
    text-align: center;
    text-decoration: none;
  }

  .theme-tabler .mobile-nav a > span {
    display: grid;
    place-items: center;
    margin-bottom: 3px;
  }

  .theme-tabler .mobile-nav a.active {
    color: var(--theme-primary);
    background: var(--theme-primary-soft);
    font-weight: 600;
  }

  .theme-tabler .drawer {
    width: 100%;
    height: 92dvh;
    max-height: 92dvh;
    border-left: 0;
    border-top: 1px solid var(--theme-line-strong);
    box-shadow: 0 -8px 0 rgb(32 107 196 / 10%);
  }

  .theme-tabler .toast {
    right: 10px;
    bottom: 82px;
    left: 10px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .theme-tabler .account-menu [role="menuitem"]:hover {
    color: var(--theme-warning);
    background: var(--theme-warning-soft);
  }

  .theme-tabler .customer-select-option:hover {
    color: var(--theme-primary);
    background: rgb(32 107 196 / 7%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-tabler,
  .theme-tabler button,
  .theme-tabler a,
  .theme-tabler .bubble-menu,
  .theme-tabler .popover-tooltip,
  .theme-tabler .drawer {
    transition-duration: 1ms;
    animation: none;
  }
}

/* Access control: member 360, profile definitions, and effective-permission review. */
.theme-tabler .access-directory-toolbar,
.theme-tabler .permission-matrix-heading {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--theme-line);
  background: color-mix(in srgb, var(--theme-paper) 84%, var(--theme-canvas));
}

.theme-tabler .access-directory-toolbar > label:not(.access-search-field) {
  margin-left: auto;
}

.theme-tabler .access-directory-toolbar select,
.theme-tabler .access-search-field input {
  min-height: 34px;
  border: 1px solid var(--theme-line-strong);
  border-radius: 6px;
  color: var(--theme-ink);
  background: var(--theme-paper);
  font-size: 13px;
}

.theme-tabler .access-directory-toolbar select {
  padding: 0 30px 0 10px;
}

.theme-tabler .access-search-field {
  min-width: 0;
  width: min(360px, 100%);
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}

.theme-tabler .access-search-field svg {
  width: 16px;
  height: 16px;
  color: var(--theme-muted);
}

.theme-tabler .access-search-field input {
  width: 100%;
  padding: 6px 10px;
}

.theme-tabler .access-control-workbench {
  min-height: calc(100dvh - 114px);
  display: grid;
  grid-template-columns: minmax(360px, .7fr) minmax(520px, 1.3fr);
  background: var(--theme-paper);
}

.theme-tabler .member-directory-pane {
  min-width: 0;
  border-right: 1px solid var(--theme-line-strong);
}

.theme-tabler .member-management-table {
  min-width: 0;
  table-layout: fixed;
}

.theme-tabler .member-management-table th,
.theme-tabler .member-management-table td {
  padding-inline: 12px;
}

.theme-tabler .member-management-table td {
  height: 70px;
}

.theme-tabler .member-management-table tr[data-member-directory-row] {
  cursor: pointer;
}

.theme-tabler .member-management-table th:nth-child(1) { width: 50%; }
.theme-tabler .member-management-table th:nth-child(2) { width: 30%; }
.theme-tabler .member-management-table th:nth-child(3) { width: 20%; }

.theme-tabler .member-access-page .member-directory-pane .member-management-table {
  width: 100%;
  min-width: 0;
}

.theme-tabler .member-access-page .member-management-table th:nth-child(1) { width: 45%; }
.theme-tabler .member-access-page .member-management-table th:nth-child(2) { width: 35%; }
.theme-tabler .member-access-page .member-management-table th:nth-child(3) { width: 20%; }

.theme-tabler .member-management-table tr.is-selected td {
  background: color-mix(in srgb, var(--theme-primary-soft) 72%, var(--theme-paper));
  box-shadow: inset 0 1px var(--theme-primary), inset 0 -1px var(--theme-primary);
}

.theme-tabler .member-management-table tr.is-selected td:first-child {
  box-shadow: inset 1px 1px var(--theme-primary), inset 0 -1px var(--theme-primary);
}

.theme-tabler .member-management-table tr.is-selected td:last-child {
  box-shadow: inset -1px 1px var(--theme-primary), inset 0 -1px var(--theme-primary);
}

.theme-tabler .member-directory-link,
.theme-tabler .permission-principal-link {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--theme-ink);
  text-decoration: none;
}

.theme-tabler :is(.member-directory-link, .permission-principal-link) > span:last-child {
  min-width: 0;
}

.theme-tabler :is(.member-directory-link, .permission-principal-link) strong,
.theme-tabler :is(.member-directory-link, .permission-principal-link) small {
  display: block;
}

.theme-tabler :is(.member-directory-link, .permission-principal-link) strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler :is(.member-directory-link, .permission-principal-link) small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--theme-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .member-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--theme-primary) 24%, var(--theme-line));
  border-radius: 8px;
  color: var(--theme-primary);
  background: var(--theme-primary-soft);
  font-size: 12px;
  font-weight: 600;
}

.theme-tabler .member-contact-list {
  min-width: 0;
}

.theme-tabler .member-contact-list span,
.theme-tabler .member-contact-list small,
.theme-tabler .role-state-list > small {
  display: block;
  overflow: hidden;
  color: var(--theme-muted);
  font-size: 10px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .member-contact-list span {
  color: var(--theme-ink);
}

.theme-tabler .member-avatar-large {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 16px;
}

.theme-tabler .member-management-table td > small,
.theme-tabler .review-date {
  display: block;
  margin-top: 3px;
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .inline-identity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.theme-tabler .role-state-list {
  display: block;
}

.theme-tabler .role-state-list span {
  margin: 0 4px 4px 0;
}

.theme-tabler .inline-identity-list span,
.theme-tabler .workspace-tag {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 2px 7px;
  border: 1px solid var(--theme-line);
  border-radius: 999px;
  color: var(--theme-muted);
  background: var(--theme-paper);
  font-size: 10px;
  white-space: nowrap;
}

.theme-tabler .member-access-inspector {
  min-width: 0;
  background:
    linear-gradient(color-mix(in srgb, var(--theme-primary) 2%, transparent) 1px, transparent 1px),
    var(--theme-paper);
  background-size: 100% 42px;
}

.theme-tabler .member-inspector-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--theme-line);
  background: color-mix(in srgb, var(--theme-paper) 96%, transparent);
}

.theme-tabler .member-inspector-identity,
.theme-tabler .member-name-line,
.theme-tabler .member-inspector-actions {
  display: flex;
  align-items: center;
}

.theme-tabler .member-inspector-identity {
  min-width: 0;
  gap: 12px;
}

.theme-tabler .member-inspector-identity > div {
  min-width: 0;
}

.theme-tabler .member-name-line {
  gap: 8px;
}

.theme-tabler .member-name-line h2 {
  margin: 0;
  color: var(--theme-ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.theme-tabler .member-inspector-identity p,
.theme-tabler .member-inspector-identity small {
  margin: 3px 0 0;
  color: var(--theme-muted);
  font-size: 11px;
}

.theme-tabler .member-inspector-actions {
  flex: 0 0 auto;
  gap: 8px;
}

.theme-tabler .member-inspector-actions svg {
  width: 15px;
  height: 15px;
}

.theme-tabler .member-inspector-tabs {
  height: var(--workbench-row-height);
  min-height: var(--workbench-row-height);
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 0 18px;
  border-bottom: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .member-inspector-tabs a {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 8px;
  color: var(--theme-muted);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.theme-tabler .member-inspector-tabs a.active {
  color: var(--theme-primary);
  background: transparent;
  font-weight: 500;
}

.theme-tabler .member-inspector-tabs a.active::after {
  position: absolute;
  right: 6px;
  bottom: 0;
  left: 6px;
  height: 3px;
  border-radius: 1px 1px 0 0;
  background: var(--theme-primary);
  content: "";
}

.theme-tabler .member-inspector-body {
  padding: 18px 20px 32px;
}

.theme-tabler .effective-assignments-section,
.theme-tabler .assigned-role-list,
.theme-tabler .access-history {
  margin-top: 18px;
}

.theme-tabler :is(.effective-assignments-section, .assigned-role-list, .access-history) > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.theme-tabler :is(.effective-assignments-section, .assigned-role-list, .access-history) h2,
.theme-tabler :is(.effective-assignments-section, .assigned-role-list, .access-history) h3 {
  margin: 0;
  color: var(--theme-ink);
  font-size: 13px;
  font-weight: 600;
}

.theme-tabler :is(.effective-assignments-section, .assigned-role-list, .access-history) header p {
  margin: 3px 0 0;
  color: var(--theme-muted);
  font-size: 11px;
}

.theme-tabler .effective-assignments-section > header > strong {
  color: var(--theme-primary);
  font-family: var(--theme-mono);
  font-size: 22px;
}

.theme-tabler .effective-assignment-list,
.theme-tabler .assigned-role-list {
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .effective-assignment-list article {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(140px, .8fr) minmax(220px, 1.2fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler :is(.assignment-action, .assignment-scope) span,
.theme-tabler :is(.assignment-action, .assignment-scope) strong,
.theme-tabler :is(.assignment-action, .assignment-scope) small {
  display: block;
}

.theme-tabler :is(.assignment-action, .assignment-scope) span {
  color: var(--theme-primary);
  font-size: 10px;
  font-weight: 600;
}

.theme-tabler :is(.assignment-action, .assignment-scope) strong {
  margin-top: 2px;
  color: var(--theme-ink);
  font-size: 12px;
}

.theme-tabler :is(.assignment-action, .assignment-scope) small {
  margin-top: 4px;
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .access-empty-state {
  padding: 42px 16px;
  color: var(--theme-muted);
  text-align: center;
}

.theme-tabler .access-empty-state p {
  margin: 5px 0 0;
}

.theme-tabler .assigned-role-list > article {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(280px, 1.2fr);
  gap: 24px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assigned-role-list article p {
  margin: 6px 0 0;
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.6;
}

.theme-tabler .assigned-role-list ul,
.theme-tabler .role-action-list,
.theme-tabler .access-history ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.theme-tabler .assigned-role-list li,
.theme-tabler .role-action-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--theme-line);
  font-size: 11px;
}

.theme-tabler .assigned-role-list li:last-child,
.theme-tabler .role-action-list li:last-child {
  border-bottom: 0;
}

.theme-tabler code {
  color: var(--theme-muted);
  font-family: var(--theme-mono);
  font-size: 10px;
}

.theme-tabler .access-history li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .history-marker {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--theme-primary);
  box-shadow: 0 0 0 3px var(--theme-primary-soft);
}

.theme-tabler .access-history p {
  margin: 3px 0 0;
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .access-history time {
  color: var(--theme-muted);
  font-family: var(--theme-mono);
  font-size: 10px;
}

.theme-tabler .authorization-model-strip {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 18px auto 18px auto minmax(220px, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--theme-line);
  background: color-mix(in srgb, var(--theme-canvas) 58%, var(--theme-paper));
}

.theme-tabler .authorization-model-strip > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-tabler .authorization-model-strip > div > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--theme-line-strong);
  border-radius: 50%;
  color: var(--theme-muted);
  background: var(--theme-paper);
  font-family: var(--theme-mono);
  font-size: 10px;
}

.theme-tabler .authorization-model-strip .is-current > span {
  color: var(--theme-on-primary);
  border-color: var(--theme-primary);
  background: var(--theme-primary);
}

.theme-tabler .authorization-model-strip p,
.theme-tabler .authorization-model-strip strong,
.theme-tabler .authorization-model-strip small {
  margin: 0;
}

.theme-tabler .authorization-model-strip strong,
.theme-tabler .authorization-model-strip small {
  display: block;
}

.theme-tabler .authorization-model-strip strong {
  color: var(--theme-ink);
  font-size: 11px;
}

.theme-tabler .authorization-model-strip small,
.theme-tabler .authorization-model-note {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .authorization-model-strip > i {
  color: var(--theme-muted);
}

.theme-tabler .authorization-model-strip > i svg {
  width: 13px;
  height: 13px;
}

.theme-tabler .authorization-model-note {
  justify-self: end;
  max-width: 360px;
  line-height: 1.6;
}

.theme-tabler .fixed-role-list {
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .fixed-role-list > article {
  border-bottom: 1px solid var(--theme-line-strong);
  background: var(--theme-paper);
}

.theme-tabler .fixed-role-list > article > header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .fixed-role-title,
.theme-tabler .fixed-role-meta {
  display: flex;
  align-items: center;
}

.theme-tabler .fixed-role-title {
  min-width: 0;
  gap: 11px;
}

.theme-tabler .fixed-role-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--theme-line-strong);
  border-radius: 8px;
  color: var(--theme-primary);
  background: var(--theme-primary-soft);
  font-weight: 600;
}

.theme-tabler .fixed-role-title h2 {
  margin: 0;
  color: var(--theme-ink);
  font-size: 15px;
  font-weight: 600;
}

.theme-tabler .fixed-role-title p {
  margin: 3px 0 0;
  color: var(--theme-muted);
  font-size: 11px;
}

.theme-tabler .fixed-role-meta {
  flex: 0 0 auto;
  gap: 6px;
}

.theme-tabler .fixed-role-meta > strong {
  margin-left: 8px;
  font-family: var(--theme-mono);
  font-size: 17px;
}

.theme-tabler .fixed-role-meta > small {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .fixed-role-body {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(220px, .9fr) minmax(220px, .8fr);
}

.theme-tabler .fixed-role-body > section {
  min-width: 0;
  padding: 14px 18px 18px;
  border-right: 1px solid var(--theme-line);
}

.theme-tabler .fixed-role-body > section:last-child {
  border-right: 0;
}

.theme-tabler .fixed-role-body h2 {
  margin: 0 0 8px;
  color: var(--theme-muted);
  font-size: 10px;
  font-weight: 600;
}

.theme-tabler .role-boundary-list {
  margin: 0;
}

.theme-tabler .role-boundary-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--theme-line);
  font-size: 11px;
}

.theme-tabler .role-boundary-list > div:last-child {
  border-bottom: 0;
}

.theme-tabler .role-boundary-list dt {
  color: var(--theme-muted);
}

.theme-tabler .role-boundary-list dd {
  margin: 0;
  color: var(--theme-ink);
  font-size: 11px;
  font-weight: 500;
  text-align: right;
}

.theme-tabler .role-holder-list {
  min-height: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.theme-tabler .role-holder-list a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px 3px 3px;
  border: 1px solid var(--theme-line);
  border-radius: 999px;
  color: var(--theme-ink);
  text-decoration: none;
}

.theme-tabler .role-holder-list a > span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--theme-primary);
  background: var(--theme-primary-soft);
  font-size: 9px;
}

.theme-tabler .role-holder-list a strong {
  font-size: 10px;
  font-weight: 500;
}

.theme-tabler .role-holder-list p {
  margin: 0;
  color: var(--theme-muted);
  font-size: 11px;
}

.theme-tabler .role-holder-section > .text-button {
  margin-top: 8px;
}

.theme-tabler .permission-review-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--theme-line-strong);
  background: var(--theme-paper);
}

.theme-tabler .permission-review-summary > div {
  min-height: 82px;
  padding: 12px 16px;
  border-right: 1px solid var(--theme-line);
}

.theme-tabler .permission-review-summary > div:last-child {
  border-right: 0;
}

.theme-tabler .permission-review-summary span,
.theme-tabler .permission-review-summary strong,
.theme-tabler .permission-review-summary small {
  display: block;
}

.theme-tabler .permission-review-summary span,
.theme-tabler .permission-review-summary small {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .permission-review-summary strong {
  margin: 3px 0;
  color: var(--theme-ink);
  font-family: var(--theme-mono);
  font-size: 23px;
  font-weight: 600;
}

.theme-tabler .permission-review-summary .needs-attention {
  background: var(--theme-warning-soft);
}

.theme-tabler .permission-review-summary .needs-attention strong {
  color: var(--theme-warning);
}

.theme-tabler .permission-review-alerts {
  min-height: 46px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--theme-line);
  background: color-mix(in srgb, var(--theme-warning-soft) 54%, var(--theme-paper));
}

.theme-tabler .permission-review-alerts > strong {
  color: var(--theme-warning);
  font-size: 11px;
}

.theme-tabler .permission-review-alerts > div {
  min-width: 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.theme-tabler .permission-review-alerts span {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--theme-warning) 24%, var(--theme-line));
  border-radius: 6px;
  color: var(--theme-warning);
  background: var(--theme-paper);
  font-size: 10px;
}

.theme-tabler .permission-review-alerts span.danger {
  color: var(--theme-danger);
  border-color: color-mix(in srgb, var(--theme-danger) 24%, var(--theme-line));
}

.theme-tabler .permission-matrix-heading {
  justify-content: space-between;
  padding-block: 10px;
}

.theme-tabler .permission-matrix-heading h2 {
  margin: 0;
  color: var(--theme-ink);
  font-size: 13px;
  font-weight: 600;
}

.theme-tabler .permission-matrix-heading p {
  margin: 2px 0 0;
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .permission-matrix-heading .access-search-field {
  width: min(300px, 42%);
}

.theme-tabler .permission-matrix-shell {
  min-height: 420px;
}

.theme-tabler .permission-matrix-table {
  min-width: 1160px;
}

.theme-tabler .permission-matrix-table th:first-child {
  width: 170px;
}

.theme-tabler .permission-matrix-table th:last-child {
  width: 126px;
}

.theme-tabler .permission-matrix-table td {
  vertical-align: top;
}

.theme-tabler .role-assignments-table {
  min-width: 1260px;
}

.theme-tabler .role-assignments-table th:first-child {
  width: 170px;
}

.theme-tabler .role-assignments-table th:nth-child(6) {
  width: 250px;
}

.theme-tabler .role-assignments-table th:last-child {
  width: 62px;
}

.theme-tabler .role-assignments-table td {
  vertical-align: top;
}

.theme-tabler .role-assignments-table tr.role-assignment-group-start:not(:first-child) td {
  border-top-color: var(--theme-line-strong);
  border-top-width: 2px;
}

.theme-tabler .role-assignment-coverage {
  max-width: 34ch;
  margin: 0;
  color: var(--theme-ink);
  font-size: 10px;
  line-height: 1.55;
}

.theme-tabler .role-assignment-composer {
  display: grid;
  gap: 16px;
}

.theme-tabler .role-assignment-role-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.theme-tabler .role-assignment-role-picker legend {
  grid-column: 1 / -1;
}

.theme-tabler .role-assignment-impact {
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--theme-primary) 24%, var(--theme-line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--theme-primary-soft) 48%, var(--theme-paper));
}

.theme-tabler .role-assignment-impact span,
.theme-tabler .role-assignment-impact strong,
.theme-tabler .role-assignment-impact p {
  display: block;
}

.theme-tabler .role-assignment-impact span {
  color: var(--theme-primary);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .04em;
}

.theme-tabler .role-assignment-impact strong {
  margin-top: 4px;
  color: var(--theme-ink);
  font-size: 13px;
  font-weight: 600;
}

.theme-tabler .role-assignment-impact p {
  margin: 5px 0 0;
  color: var(--theme-muted);
  font-size: 10px;
  line-height: 1.55;
}

.theme-tabler .permission-matrix-cell {
  min-width: 230px;
}

.theme-tabler .permission-token {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: start;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--theme-line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--theme-canvas) 54%, var(--theme-paper));
}

.theme-tabler .permission-token + .permission-token {
  margin-top: 6px;
}

.theme-tabler .permission-token span,
.theme-tabler .permission-token strong,
.theme-tabler .permission-token small {
  display: block;
}

.theme-tabler .permission-token span {
  color: var(--theme-primary);
  font-size: 9px;
  font-weight: 600;
}

.theme-tabler .permission-token strong {
  margin-top: 2px;
  color: var(--theme-ink);
  font-size: 11px;
}

.theme-tabler .permission-token p {
  margin: 4px 0 0;
  color: var(--theme-ink);
  font-size: 10px;
  line-height: 1.5;
}

.theme-tabler .permission-token small {
  margin-top: 3px;
  color: var(--theme-muted);
  font-size: 9px;
  line-height: 1.5;
}

.theme-tabler .permission-token .icon-only-button {
  width: 28px;
  height: 28px;
  min-height: 28px;
}

.theme-tabler .permission-empty {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .tabular-number {
  font-variant-numeric: tabular-nums;
}

.theme-tabler .drawer > form > header > div {
  min-width: 0;
}

.theme-tabler .drawer > form > header h2 {
  margin: 0;
}

.theme-tabler .drawer > form > header p {
  max-width: 52ch;
  margin: 4px 0 0;
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.55;
}

.theme-tabler .drawer-form-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--theme-line);
  border-radius: 6px;
  color: var(--theme-muted);
  background: color-mix(in srgb, var(--theme-canvas) 60%, var(--theme-paper));
  font-size: 12px;
  line-height: 1.6;
}

.theme-tabler .fixed-role-picker {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.theme-tabler .fixed-role-picker label {
  position: relative;
  cursor: pointer;
}

.theme-tabler .fixed-role-picker input {
  position: absolute;
  opacity: 0;
}

.theme-tabler .fixed-role-picker label > span {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid var(--theme-line);
  border-radius: 7px;
  background: var(--theme-paper);
}

.theme-tabler .fixed-role-picker input:checked + span {
  border-color: var(--theme-primary);
  background: var(--theme-primary-soft);
  box-shadow: inset 0 0 0 1px var(--theme-primary);
}

.theme-tabler .fixed-role-picker input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--theme-primary) 28%, transparent);
  outline-offset: 2px;
}

.theme-tabler .fixed-role-picker strong {
  color: var(--theme-ink);
  font-size: 12px;
}

.theme-tabler .fixed-role-picker small {
  color: var(--theme-muted);
  font-size: 10px;
  line-height: 1.5;
}

.theme-tabler .role-picker-permissions {
  color: var(--theme-primary) !important;
  font-family: var(--theme-mono);
}

/* Assessment subjects reuse the member-access master/detail interaction model. */
.theme-tabler .assessment-subject-workbench {
  --assessment-directory-heading-height: 42px;
  --assessment-directory-row-height: 70px;
  min-height: calc(100dvh - 114px);
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
}

.theme-tabler .assessment-subject-directory-table {
  min-width: 0;
}

.theme-tabler .assessment-subject-directory-table th:nth-child(1) { width: 68%; }
.theme-tabler .assessment-subject-directory-table th:nth-child(2) { width: 32%; }

.theme-tabler .assessment-subject-directory-table th,
.theme-tabler .assessment-subject-directory-table td {
  padding-inline: 10px;
}

.theme-tabler .assessment-subject-directory-table thead {
  height: var(--assessment-directory-heading-height);
}

.theme-tabler .assessment-subject-directory-table tbody tr,
.theme-tabler .assessment-subject-directory-table tbody td {
  height: var(--assessment-directory-row-height);
}

.theme-tabler .assessment-subject-directory-link .member-avatar {
  border-radius: 8px;
}

.theme-tabler .assessment-subject-inspector > .member-inspector-header {
  height: var(--assessment-directory-row-height);
  min-height: var(--assessment-directory-row-height);
  display: grid;
  grid-template-columns: minmax(188px, 1.08fr) minmax(176px, .92fr);
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}

.theme-tabler .assessment-subject-inspector .member-inspector-identity {
  gap: 9px;
  overflow: hidden;
}

.theme-tabler .assessment-subject-inspector .member-avatar-large {
  width: 32px;
  height: 32px;
}

.theme-tabler .assessment-subject-inspector .member-avatar-large svg {
  width: 18px;
  height: 18px;
}

.theme-tabler .assessment-subject-inspector .member-name-line {
  gap: 5px;
}

.theme-tabler .assessment-subject-inspector .member-name-line h2 {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .assessment-subject-inspector .member-inspector-identity p,
.theme-tabler .assessment-subject-inspector .member-inspector-identity small {
  margin-top: 1px;
  overflow: hidden;
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .danger-text-button {
  color: var(--theme-danger);
}

.theme-tabler .assessment-subject-header-metrics {
  min-width: 0;
  align-self: stretch;
  border-left: 1px solid var(--theme-line);
  overflow: hidden;
}

.theme-tabler .assessment-subject-metric-strip {
  height: 100%;
  min-width: 0;
  display: grid;
  grid-auto-flow: row;
  grid-auto-rows: minmax(0, 1fr);
  overflow-y: auto;
  scrollbar-width: thin;
}

.theme-tabler .assessment-subject-metric-strip article {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 1px 8px;
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assessment-subject-metric-strip article:first-child {
  border-top: 0;
}

.theme-tabler .assessment-subject-metric-strip span,
.theme-tabler .assessment-subject-metric-strip small {
  overflow: hidden;
  color: var(--theme-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .assessment-subject-metric-strip strong {
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 600;
}

.theme-tabler .assessment-subject-tabs {
  height: var(--assessment-directory-heading-height);
  gap: 2px;
  padding-inline: 12px;
}

.theme-tabler .assessment-subject-tabs > a {
  padding-inline: 5px;
  white-space: nowrap;
}

.theme-tabler .assessment-subject-tab-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.theme-tabler .assessment-subject-tab-actions .text-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-inline: 8px;
  white-space: nowrap;
}

.theme-tabler .assessment-subject-tab-actions svg {
  width: 14px;
  height: 14px;
}

.theme-tabler .assessment-subject-section > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.theme-tabler .assessment-subject-section > header h2,
.theme-tabler .assessment-object-detail-list h3,
.theme-tabler .assessment-document-outline :is(h3, h4, h5) {
  margin: 0;
  color: var(--theme-ink);
  font-weight: 600;
}

.theme-tabler .assessment-subject-section > header h2 {
  font-size: 13px;
}

.theme-tabler .assessment-subject-section > header p {
  margin: 3px 0 0;
  color: var(--theme-muted);
  font-size: 11px;
}

.theme-tabler .assessment-subject-section > header > strong {
  color: var(--theme-primary);
  font-family: var(--theme-mono);
  font-size: 22px;
}

.theme-tabler .assessment-subject-card-section {
  margin-top: 24px;
}

.theme-tabler .markdown-version-badge {
  flex: 0 0 auto;
  padding: 3px 7px;
  border: 1px solid var(--theme-line);
  border-radius: 999px;
  color: var(--theme-muted);
  background: var(--theme-paper);
  font-family: var(--theme-mono);
  font-size: 9px;
  white-space: nowrap;
}

.theme-tabler .assessment-source-upload {
  position: relative;
  min-height: 72px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px dashed var(--theme-line-strong);
  border-radius: 8px;
  background: color-mix(in srgb, var(--theme-canvas) 64%, var(--theme-paper));
  cursor: pointer;
}

.theme-tabler .assessment-source-upload:focus-within {
  border-color: var(--theme-primary);
  outline: 3px solid color-mix(in srgb, var(--theme-primary) 20%, transparent);
  outline-offset: 2px;
}

.theme-tabler .assessment-source-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.theme-tabler .assessment-source-upload-icon,
.theme-tabler .assessment-source-file-icon {
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--theme-primary) 20%, var(--theme-line));
  border-radius: 7px;
  color: var(--theme-primary);
  background: var(--theme-primary-soft);
}

.theme-tabler .assessment-source-upload-icon {
  width: 36px;
  height: 36px;
}

.theme-tabler .assessment-source-upload-icon svg,
.theme-tabler .assessment-source-file-icon svg {
  width: 16px;
  height: 16px;
}

.theme-tabler .assessment-source-upload > span:nth-child(2) {
  min-width: 0;
}

.theme-tabler .assessment-source-upload strong,
.theme-tabler .assessment-source-upload small {
  display: block;
}

.theme-tabler .assessment-source-upload strong {
  color: var(--theme-ink);
  font-size: 12px;
}

.theme-tabler .assessment-source-upload small {
  margin-top: 3px;
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .assessment-source-list {
  margin-top: 14px;
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assessment-source-list > header,
.theme-tabler .assessment-source-list > article {
  display: grid;
  align-items: center;
}

.theme-tabler .assessment-source-list > header {
  min-height: 36px;
  grid-template-columns: 1fr auto;
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .assessment-source-list > header strong {
  color: var(--theme-ink);
  font-size: 11px;
}

.theme-tabler .assessment-source-list > article {
  min-height: 62px;
  grid-template-columns: 30px minmax(0, 1fr) 58px 72px;
  gap: 10px;
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assessment-source-file-icon {
  width: 30px;
  height: 30px;
}

.theme-tabler .assessment-source-file-extension {
  font-family: var(--theme-mono);
  font-size: 8px;
  font-weight: 600;
}

.theme-tabler .assessment-source-list > article > div,
.theme-tabler .assessment-source-list > article > span:nth-last-child(2) {
  min-width: 0;
}

.theme-tabler .assessment-source-list > article > div > strong,
.theme-tabler .assessment-source-list > article > div > small,
.theme-tabler .assessment-source-list > article > span:nth-last-child(2) > * {
  display: block;
}

.theme-tabler .assessment-source-list > article > div > strong {
  overflow: hidden;
  color: var(--theme-ink);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .assessment-source-list > article small {
  margin-top: 2px;
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .assessment-subject-information-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--theme-line);
  border-left: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .assessment-subject-information-card > section {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid var(--theme-line);
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-subject-information-card h3,
.theme-tabler .assessment-subject-information-card p {
  margin: 0;
}

.theme-tabler .assessment-subject-information-card h3 {
  color: var(--theme-ink);
  font-size: 11px;
  font-weight: 600;
}

.theme-tabler .assessment-subject-information-card p {
  margin-top: 6px;
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.65;
}

.theme-tabler .assessment-subject-metric-list,
.theme-tabler .assessment-object-detail-list {
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assessment-subject-metric-list article {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(170px, 1.25fr) minmax(90px, .6fr) minmax(110px, .75fr) minmax(90px, .6fr);
  gap: 16px;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-metric-connector {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 -1px 4px;
  color: var(--theme-muted);
  font-size: 11px;
  font-weight: 600;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-subject-metric-list span,
.theme-tabler .assessment-subject-metric-list strong {
  display: block;
}

.theme-tabler .assessment-subject-metric-list span {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .assessment-subject-metric-list strong {
  margin-top: 3px;
  color: var(--theme-ink);
  font-size: 12px;
}

.theme-tabler .assessment-object-detail-list > article {
  padding: 16px 4px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-object-detail-list > article > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.theme-tabler .assessment-object-detail-list > article > header span,
.theme-tabler .assessment-object-detail-list > article > header small {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .assessment-object-detail-list h3 {
  margin-top: 3px;
  font-size: 13px;
}

.theme-tabler .assessment-object-detail-list > article > p {
  max-width: 70ch;
  margin: 8px 0 12px;
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.6;
}

.theme-tabler .assessment-object-competitors {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin-bottom: 14px;
}

.theme-tabler .assessment-object-competitors > span {
  padding-top: 3px;
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .assessment-object-competitors > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.theme-tabler .assessment-object-competitors b {
  padding: 3px 7px;
  border: 1px solid var(--theme-line);
  border-radius: 999px;
  color: var(--theme-muted);
  background: var(--theme-paper);
  font-size: 9px;
  font-weight: 500;
}

.theme-tabler .assessment-keyword-list {
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assessment-keyword-list > section {
  display: grid;
  grid-template-columns: minmax(112px, .25fr) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-keyword-list > section > header span,
.theme-tabler .assessment-keyword-list > section > header small {
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .assessment-keyword-list h4 {
  margin: 3px 0;
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 600;
}

.theme-tabler .assessment-question-list {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.theme-tabler .assessment-question-list article {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--theme-line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--theme-canvas) 58%, var(--theme-paper));
}

.theme-tabler .assessment-question-list p {
  margin: 0;
  color: var(--theme-ink);
  font-size: 11px;
  line-height: 1.5;
}

.theme-tabler .assessment-question-list article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.theme-tabler .assessment-question-list article > div > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border: 1px solid color-mix(in srgb, var(--theme-primary) 16%, var(--theme-line));
  border-radius: 999px;
  color: var(--theme-ink);
  background: var(--theme-paper);
  font-size: 9px;
}

.theme-tabler .assessment-question-list article > div small {
  color: var(--theme-primary);
  font-size: 8px;
  font-weight: 600;
}

.theme-tabler .assessment-object-information-card {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--theme-primary) 24%, var(--theme-line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--theme-primary-soft) 34%, var(--theme-paper));
}

.theme-tabler .assessment-object-information-card > header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--theme-primary) 16%, var(--theme-line));
}

.theme-tabler .assessment-object-information-card > header span {
  color: var(--theme-primary);
  font-size: 9px;
  font-weight: 600;
}

.theme-tabler .assessment-object-information-card > header strong {
  color: var(--theme-ink);
  font-size: 11px;
}

.theme-tabler .assessment-object-information-card > header small {
  margin-left: auto;
  color: var(--theme-muted);
  font-family: var(--theme-mono);
  font-size: 8px;
}

.theme-tabler .assessment-object-information-card > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.theme-tabler .assessment-object-information-card > div > section {
  padding: 10px 10px 2px 0;
}

.theme-tabler .assessment-object-information-card h4,
.theme-tabler .assessment-object-information-card p {
  margin: 0;
}

.theme-tabler .assessment-object-information-card h4 {
  color: var(--theme-ink);
  font-size: 10px;
}

.theme-tabler .assessment-object-information-card p {
  margin-top: 4px;
  color: var(--theme-muted);
  font-size: 10px;
  line-height: 1.55;
}

.theme-tabler .assessment-object-detail-list dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.theme-tabler .assessment-object-detail-list dl div {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--theme-line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--theme-canvas) 62%, var(--theme-paper));
}

.theme-tabler .assessment-object-detail-list dt {
  color: var(--theme-muted);
  font-size: 10px;
}

.theme-tabler .assessment-object-detail-list dd {
  margin: 4px 0 0;
  color: var(--theme-ink);
  font-size: 11px;
  line-height: 1.5;
}

.theme-tabler .assessment-document-outline {
  padding: 18px 20px 24px;
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .assessment-document-outline > h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--theme-line-strong);
  font-size: 16px;
}

.theme-tabler .assessment-document-outline section {
  padding-top: 14px;
}

.theme-tabler .assessment-document-outline h4 {
  font-size: 13px;
}

.theme-tabler .assessment-document-outline h5 {
  font-size: 11px;
}

.theme-tabler .assessment-document-outline p {
  max-width: 72ch;
  margin: 5px 0 0;
  color: var(--theme-muted);
  font-size: 12px;
  line-height: 1.65;
}

.theme-tabler .assessment-document-object {
  margin-top: 16px;
  border-top: 1px solid var(--theme-line-strong);
}

.theme-tabler .assessment-document-object > div {
  padding: 12px 0 0 16px;
}

/* Assessment knowledge governance: customer panorama → scoped components → service projection. */
.theme-tabler .assessment-knowledge-snapshot {
  border: 1px solid var(--theme-line-strong);
  background: color-mix(in srgb, var(--theme-primary-soft) 22%, var(--theme-paper));
}

.theme-tabler .assessment-knowledge-snapshot > header,
.theme-tabler .assessment-knowledge-snapshot > dl,
.theme-tabler .assessment-knowledge-pipeline {
  margin: 0;
}

.theme-tabler .assessment-knowledge-snapshot > header {
  min-height: 66px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-knowledge-snapshot > header div {
  min-width: 0;
}

.theme-tabler .assessment-knowledge-snapshot > header div > span {
  color: var(--theme-primary);
  font-family: var(--theme-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .04em;
}

.theme-tabler .assessment-knowledge-snapshot h2,
.theme-tabler .assessment-knowledge-snapshot p {
  margin: 0;
}

.theme-tabler .assessment-knowledge-snapshot h2 {
  margin-top: 3px;
  color: var(--theme-ink);
  font-family: var(--theme-mono);
  font-size: 14px;
  font-weight: 600;
}

.theme-tabler .assessment-knowledge-snapshot p {
  max-width: 68ch;
  margin-top: 4px;
  color: var(--theme-muted);
  font-size: 10px;
  line-height: 1.55;
  text-wrap: pretty;
}

.theme-tabler .assessment-knowledge-snapshot > dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-knowledge-snapshot > dl > div {
  min-width: 0;
  padding: 10px 14px;
  border-right: 1px solid var(--theme-line);
}

.theme-tabler .assessment-knowledge-snapshot > dl > div:last-child {
  border-right: 0;
}

.theme-tabler .assessment-knowledge-snapshot dt {
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .assessment-knowledge-snapshot dd {
  margin: 3px 0 0;
  color: var(--theme-ink);
  font-family: var(--theme-mono);
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.theme-tabler .assessment-knowledge-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  list-style: none;
}

.theme-tabler .assessment-knowledge-pipeline li {
  min-width: 0;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-right: 1px solid var(--theme-line);
}

.theme-tabler .assessment-knowledge-pipeline li:last-child {
  border-right: 0;
}

.theme-tabler .assessment-knowledge-pipeline li > b {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--theme-line-strong);
  border-radius: 50%;
  color: var(--theme-muted);
  background: var(--theme-paper);
  font-family: var(--theme-mono);
  font-size: 9px;
}

.theme-tabler .assessment-knowledge-pipeline li.complete > b {
  border-color: color-mix(in srgb, var(--theme-success) 45%, var(--theme-line));
  color: var(--theme-success);
}

.theme-tabler .assessment-knowledge-pipeline li.pending > b {
  border-color: color-mix(in srgb, var(--theme-warning) 50%, var(--theme-line));
  color: var(--theme-warning);
}

.theme-tabler .assessment-knowledge-pipeline span,
.theme-tabler .assessment-knowledge-pipeline strong,
.theme-tabler .assessment-knowledge-pipeline small {
  min-width: 0;
  display: block;
}

.theme-tabler .assessment-knowledge-pipeline strong {
  color: var(--theme-ink);
  font-size: 10px;
  font-weight: 600;
}

.theme-tabler .assessment-knowledge-pipeline small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--theme-muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .assessment-source-register,
.theme-tabler .assessment-knowledge-scope-grid {
  margin-top: 22px;
}

.theme-tabler .assessment-source-register-list > article {
  min-height: 70px;
}

.theme-tabler .assessment-source-register-list > article > div > small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .assessment-knowledge-scope-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

.theme-tabler .assessment-scope-tree > div[role="list"] {
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assessment-scope-tree article {
  min-height: 48px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 4px 7px calc(4px + var(--subject-depth) * 12px);
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-scope-tree article > span:first-child {
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .assessment-scope-tree article > div {
  min-width: 0;
}

.theme-tabler .assessment-scope-tree article strong,
.theme-tabler .assessment-scope-tree article small {
  display: block;
}

.theme-tabler .assessment-scope-tree article strong {
  overflow: hidden;
  color: var(--theme-ink);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .assessment-scope-tree article small {
  margin-top: 2px;
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .assessment-scope-label {
  padding: 3px 7px;
  border: 1px solid var(--theme-line);
  border-radius: 999px;
  color: var(--theme-muted);
  background: var(--theme-paper);
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.theme-tabler .assessment-scope-label.success {
  border-color: color-mix(in srgb, var(--theme-success) 35%, var(--theme-line));
  color: var(--theme-success);
}

.theme-tabler .assessment-scope-label.pending {
  border-color: color-mix(in srgb, var(--theme-warning) 42%, var(--theme-line));
  color: var(--theme-warning);
}

.theme-tabler .assessment-scope-label.info {
  border-color: color-mix(in srgb, var(--theme-primary) 28%, var(--theme-line));
  color: var(--theme-primary);
}

.theme-tabler .assessment-knowledge-empty {
  margin: 0;
  padding: 16px;
  color: var(--theme-muted);
  font-size: 11px;
}

.theme-tabler .assessment-structured-summary {
  padding: 13px 14px;
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .assessment-structured-summary > * {
  display: block;
}

.theme-tabler .assessment-structured-summary span,
.theme-tabler .assessment-structured-summary small {
  color: var(--theme-muted);
  font-family: var(--theme-mono);
  font-size: 9px;
}

.theme-tabler .assessment-structured-summary strong {
  margin: 4px 0;
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 600;
}

.theme-tabler .assessment-structured-document > article {
  border: 1px solid var(--theme-line);
  border-top: 0;
  background: var(--theme-paper);
}

.theme-tabler .assessment-structured-document > article > section {
  padding: 12px 14px;
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assessment-structured-document > article > section:first-child {
  border-top: 0;
}

.theme-tabler .assessment-structured-document article header {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.theme-tabler .assessment-structured-document article header span {
  flex: 0 0 auto;
  color: var(--theme-primary);
  font-size: 8px;
  font-weight: 600;
}

.theme-tabler .assessment-structured-document article header strong {
  color: var(--theme-ink);
  font-size: 11px;
}

.theme-tabler .assessment-structured-document article p {
  margin: 5px 0;
  color: var(--theme-muted);
  font-size: 10px;
  line-height: 1.6;
}

.theme-tabler .assessment-structured-document article small {
  color: var(--theme-muted);
  font-family: var(--theme-mono);
  font-size: 8px;
}

.theme-tabler .assessment-proposal-gate {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid var(--theme-line-strong);
  background: color-mix(in srgb, var(--theme-warning-soft) 36%, var(--theme-paper));
}

.theme-tabler .assessment-proposal-count {
  min-width: 54px;
  display: grid;
  justify-items: end;
}

.theme-tabler .assessment-proposal-count strong {
  color: var(--theme-primary);
  font-family: var(--theme-mono);
  font-size: 16px;
  line-height: 1;
}

.theme-tabler .assessment-proposal-count small {
  margin-top: 3px;
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .assessment-proposal-gate span,
.theme-tabler .assessment-proposal-gate strong,
.theme-tabler .assessment-proposal-gate small {
  display: block;
}

.theme-tabler .assessment-proposal-gate span {
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .assessment-proposal-gate strong {
  margin-top: 2px;
  color: var(--theme-ink);
  font-size: 12px;
}

.theme-tabler .assessment-proposal-gate small {
  margin-top: 2px;
  color: var(--theme-warning);
  font-size: 9px;
}

.theme-tabler .assessment-query-disclosure {
  margin-top: 10px;
  border-top: 1px solid var(--theme-line);
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-query-disclosure > summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--theme-ink);
  cursor: pointer;
  list-style-position: inside;
}

.theme-tabler .assessment-query-disclosure > summary span {
  font-size: 10px;
  font-weight: 600;
}

.theme-tabler .assessment-query-disclosure > summary small {
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .assessment-query-disclosure .assessment-keyword-list {
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assessment-component-list {
  margin-top: 14px;
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .assessment-component-list > header,
.theme-tabler .assessment-component-list > article {
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
}

.theme-tabler .assessment-component-list > header {
  grid-template-columns: minmax(0, 1fr) auto;
  background: color-mix(in srgb, var(--theme-canvas) 64%, var(--theme-paper));
}

.theme-tabler .assessment-component-list > header div > *,
.theme-tabler .assessment-component-list > article > div > * {
  display: block;
}

.theme-tabler .assessment-component-list > header strong,
.theme-tabler .assessment-component-list > article > div > strong {
  color: var(--theme-ink);
  font-size: 10px;
  font-weight: 600;
}

.theme-tabler .assessment-component-list > header small,
.theme-tabler .assessment-component-list > header > span,
.theme-tabler .assessment-component-list > article > div > span,
.theme-tabler .assessment-component-list > article > div > small {
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .assessment-component-list > header small,
.theme-tabler .assessment-component-list > article > div > small {
  margin-top: 2px;
}

.theme-tabler .assessment-component-list > article {
  min-height: 58px;
  grid-template-columns: minmax(0, 1fr) auto minmax(64px, auto);
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assessment-component-list > article > div:first-child {
  min-width: 0;
}

.theme-tabler .assessment-proposal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.theme-tabler .assessment-component-locked {
  color: var(--theme-muted);
  font-family: var(--theme-mono);
  font-size: 8px;
  white-space: nowrap;
}

.theme-tabler .assessment-proposal-footer,
.theme-tabler .assessment-proposal-result,
.theme-tabler .assessment-document-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--theme-line-strong);
  background: var(--theme-paper);
}

.theme-tabler .assessment-proposal-footer {
  margin-top: 18px;
}

.theme-tabler .assessment-proposal-footer strong,
.theme-tabler .assessment-proposal-footer small,
.theme-tabler .assessment-proposal-result strong,
.theme-tabler .assessment-proposal-result small,
.theme-tabler .assessment-document-footer strong,
.theme-tabler .assessment-document-footer small {
  display: block;
}

.theme-tabler .assessment-proposal-footer strong,
.theme-tabler .assessment-proposal-result strong,
.theme-tabler .assessment-document-footer strong {
  color: var(--theme-ink);
  font-size: 10px;
}

.theme-tabler .assessment-proposal-footer small,
.theme-tabler .assessment-proposal-result small,
.theme-tabler .assessment-document-footer small {
  margin-top: 3px;
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .assessment-proposal-result {
  margin-top: 10px;
  border-color: color-mix(in srgb, var(--theme-success) 34%, var(--theme-line));
  background: color-mix(in srgb, var(--theme-success-soft) 34%, var(--theme-paper));
}

.theme-tabler .assessment-proposal-result > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--theme-paper);
  background: var(--theme-success);
  font-size: 11px;
}

.theme-tabler .assessment-proposal-result > div {
  min-width: 0;
  flex: 1;
}

.theme-tabler .assessment-document-actions {
  display: flex;
  gap: 6px;
}

.theme-tabler .assessment-document-state {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 13px;
  border: 1px solid var(--theme-line-strong);
  background: color-mix(in srgb, var(--theme-success-soft) 30%, var(--theme-paper));
}

.theme-tabler .assessment-document-state.candidate {
  background: color-mix(in srgb, var(--theme-warning-soft) 34%, var(--theme-paper));
}

.theme-tabler .assessment-document-state div > * {
  display: block;
}

.theme-tabler .assessment-document-state div > span {
  color: var(--theme-primary);
  font-family: var(--theme-mono);
  font-size: 8px;
  font-weight: 600;
}

.theme-tabler .assessment-document-state div > strong {
  margin-top: 3px;
  color: var(--theme-ink);
  font-size: 11px;
}

.theme-tabler .assessment-document-state div > small {
  margin-top: 3px;
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .assessment-document-manifest,
.theme-tabler .assessment-document-diff {
  margin-top: 10px;
  padding: 11px 13px;
  border: 1px solid var(--theme-line);
  background: color-mix(in srgb, var(--theme-canvas) 52%, var(--theme-paper));
}

.theme-tabler .assessment-document-manifest header,
.theme-tabler .assessment-document-diff header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.theme-tabler .assessment-document-manifest header strong,
.theme-tabler .assessment-document-diff header strong {
  color: var(--theme-ink);
  font-size: 10px;
}

.theme-tabler .assessment-document-manifest header small,
.theme-tabler .assessment-document-diff header small {
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .assessment-document-manifest > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.theme-tabler .assessment-document-manifest code {
  padding: 3px 6px;
  border: 1px solid var(--theme-line);
  color: var(--theme-ink);
  background: var(--theme-paper);
  font-size: 8px;
}

.theme-tabler .assessment-document-diff p {
  display: grid;
  grid-template-columns: minmax(0, auto) auto minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  margin: 8px 0 0;
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .assessment-document-diff :is(del, ins) {
  padding: 2px 4px;
  text-decoration: none;
}

.theme-tabler .assessment-document-diff del {
  color: var(--theme-danger);
  background: color-mix(in srgb, var(--theme-danger-soft) 45%, transparent);
}

.theme-tabler .assessment-document-diff ins {
  color: var(--theme-success);
  background: color-mix(in srgb, var(--theme-success-soft) 45%, transparent);
}

.theme-tabler .assessment-service-document-layout {
  display: grid;
  grid-template-columns: minmax(142px, .24fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 12px;
}

.theme-tabler .assessment-service-document-layout > nav {
  position: sticky;
  top: 12px;
  display: grid;
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .assessment-service-document-layout > nav strong,
.theme-tabler .assessment-service-document-layout > nav a {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border-bottom: 1px solid var(--theme-line);
  font-size: 9px;
}

.theme-tabler .assessment-service-document-layout > nav strong {
  color: var(--theme-ink);
  font-weight: 600;
}

.theme-tabler .assessment-service-document-layout > nav a {
  color: var(--theme-muted);
  text-decoration: none;
}

.theme-tabler .assessment-service-document-layout > nav a:last-child {
  border-bottom: 0;
}

.theme-tabler .assessment-service-document-layout .assessment-document-outline {
  padding: 0;
}

.theme-tabler .assessment-document-outline > header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--theme-line-strong);
}

.theme-tabler .assessment-document-outline > header > span {
  color: var(--theme-primary);
  font-size: 9px;
  font-weight: 600;
}

.theme-tabler .assessment-document-outline > header h3 {
  margin-top: 5px;
  padding: 0;
  border: 0;
}

.theme-tabler .assessment-document-outline > header p {
  margin-top: 7px;
  font-size: 10px;
}

.theme-tabler .assessment-document-component,
.theme-tabler .assessment-document-exclusions {
  margin: 0 20px;
  padding: 16px 0;
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assessment-document-outline > header + .assessment-document-component {
  border-top: 0;
}

.theme-tabler .assessment-document-component-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
}

.theme-tabler .assessment-document-component-meta span,
.theme-tabler .assessment-document-component-meta b {
  padding: 2px 5px;
  border: 1px solid var(--theme-line);
  color: var(--theme-muted);
  background: var(--theme-canvas);
  font-size: 8px;
  font-weight: 600;
}

.theme-tabler .assessment-document-component-meta code {
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .assessment-document-component-meta b {
  margin-left: auto;
  color: var(--theme-success);
}

.theme-tabler .assessment-document-component.boundary {
  padding-inline: 12px;
  border: 1px solid color-mix(in srgb, var(--theme-warning) 36%, var(--theme-line));
  background: color-mix(in srgb, var(--theme-warning-soft) 28%, var(--theme-paper));
}

.theme-tabler .assessment-document-exclusions h4 {
  margin: 0 0 8px;
}

.theme-tabler .assessment-document-exclusions > div {
  display: grid;
  grid-template-columns: minmax(130px, .4fr) auto minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assessment-document-exclusions strong {
  color: var(--theme-ink);
  font-size: 10px;
}

.theme-tabler .assessment-document-exclusions span {
  color: var(--theme-warning);
  font-size: 8px;
  font-weight: 600;
}

.theme-tabler .assessment-document-exclusions small {
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .assessment-document-footer {
  margin-top: 12px;
}

@media (hover: hover) and (pointer: fine) {
  .theme-tabler .member-management-table tbody tr:not(.is-selected):hover td,
  .theme-tabler .permission-token:hover,
  .theme-tabler .fixed-role-picker label:hover > span {
    background: color-mix(in srgb, var(--theme-primary-soft) 42%, var(--theme-paper));
  }

  .theme-tabler :is(.member-directory-link, .permission-principal-link):hover {
    color: var(--theme-primary);
  }

  .theme-tabler .assessment-service-document-layout > nav a:hover {
    color: var(--theme-primary);
    background: color-mix(in srgb, var(--theme-primary-soft) 38%, var(--theme-paper));
  }
}

@media (max-width: 1100px) {
  .theme-tabler .project-overview-grid {
    grid-template-columns: 1fr;
  }

  .theme-tabler .project-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-tabler .access-control-workbench {
    grid-template-columns: minmax(300px, 320px) minmax(0, 1fr);
  }

  .theme-tabler .assessment-subject-workbench {
    grid-template-columns: minmax(236px, 270px) minmax(0, 1fr);
  }

  .theme-tabler .assessment-knowledge-scope-grid {
    grid-template-columns: 1fr;
  }

  .theme-tabler .member-inspector-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .theme-tabler .effective-assignment-list article {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
  }

  .theme-tabler .effective-assignment-list .assignment-scope {
    grid-column: 1 / -1;
  }

  .theme-tabler .assigned-role-list > article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .theme-tabler .fixed-role-body {
    grid-template-columns: 1fr 1fr;
  }

  .theme-tabler .fixed-role-body > section:nth-child(2) {
    border-right: 0;
  }

  .theme-tabler .fixed-role-body > section:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--theme-line);
  }
}

@media (max-width: 720px) {
  .theme-tabler .assessment-knowledge-snapshot > dl,
  .theme-tabler .assessment-knowledge-pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-tabler .assessment-knowledge-snapshot > dl > div:nth-child(2),
  .theme-tabler .assessment-knowledge-pipeline li:nth-child(2) {
    border-right: 0;
  }

  .theme-tabler .assessment-knowledge-snapshot > dl > div:nth-child(-n + 2),
  .theme-tabler .assessment-knowledge-pipeline li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--theme-line);
  }

  .theme-tabler .assessment-proposal-gate,
  .theme-tabler .assessment-proposal-footer,
  .theme-tabler .assessment-proposal-result,
  .theme-tabler .assessment-document-footer,
  .theme-tabler .assessment-document-state {
    align-items: stretch;
    flex-direction: column;
  }

  .theme-tabler .assessment-component-list > article {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .theme-tabler .assessment-component-list > article > :last-child {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .theme-tabler .assessment-service-document-layout {
    grid-template-columns: 1fr;
  }

  .theme-tabler .assessment-service-document-layout > nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-tabler .assessment-service-document-layout > nav strong {
    grid-column: 1 / -1;
  }

  .theme-tabler .assessment-service-document-layout > nav a {
    border-right: 1px solid var(--theme-line);
  }

  .theme-tabler .assessment-document-exclusions > div {
    grid-template-columns: 1fr auto;
  }

  .theme-tabler .assessment-document-exclusions small {
    grid-column: 1 / -1;
  }

  .theme-tabler .assessment-subject-metric-list article,
  .theme-tabler .assessment-object-detail-list dl {
    grid-template-columns: 1fr;
  }

  .theme-tabler .assessment-document-outline {
    padding: 14px 12px 20px;
  }

  .theme-tabler .assessment-keyword-list > section {
    grid-template-columns: 1fr;
  }

  .theme-tabler .assessment-source-upload {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .theme-tabler .assessment-source-upload .secondary-button {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .theme-tabler .assessment-source-list > article {
    grid-template-columns: 30px minmax(0, 1fr) 64px;
  }

  .theme-tabler .assessment-source-list > article > span:nth-last-child(2) {
    display: none;
  }

  .theme-tabler .assessment-competitor-picker .drawer-checkboxes,
  .theme-tabler .assessment-question-tag-grid {
    grid-template-columns: 1fr;
  }

  .theme-tabler :is(.assessment-object-editor, .assessment-keyword-editor) > summary {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .theme-tabler :is(.assessment-object-editor, .assessment-keyword-editor) > summary > small {
    grid-column: 2;
  }

  .theme-tabler .assessment-subject-tab-actions {
    gap: 0;
  }

  .theme-tabler .assessment-subject-tab-actions .text-button {
    padding-inline: 5px;
  }

  .theme-tabler .access-directory-toolbar {
    align-items: stretch;
    flex-wrap: wrap;
    padding: 8px 10px;
  }

  .theme-tabler .access-search-field {
    width: 100%;
  }

  .theme-tabler .access-directory-toolbar > label:not(.access-search-field) {
    margin-left: 0;
  }

  .theme-tabler .access-directory-toolbar .text-button {
    margin-left: auto;
  }

  .theme-tabler .access-control-workbench {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .theme-tabler .assessment-subject-workbench {
    grid-template-columns: 1fr;
  }

  .theme-tabler .assessment-subject-inspector > .member-inspector-header {
    height: auto;
    min-height: 104px;
    grid-template-columns: 1fr;
  }

  .theme-tabler .member-directory-pane {
    border-right: 0;
    border-bottom: 1px solid var(--theme-line-strong);
  }

  .theme-tabler .member-directory-pane .table-scroll {
    max-height: 262px;
    overflow: auto;
  }

  .theme-tabler .member-directory-pane thead {
    position: sticky;
    z-index: 2;
    top: 0;
  }

  .theme-tabler .member-management-table {
    min-width: 0;
  }

  .theme-tabler .assessment-subject-directory-table {
    min-width: 0;
  }

  .theme-tabler .member-inspector-header {
    padding: 14px 12px;
  }

  .theme-tabler .member-inspector-actions {
    width: 100%;
  }

  .theme-tabler .member-inspector-actions > button {
    flex: 1 1 0;
  }

  .theme-tabler .member-inspector-tabs {
    padding-inline: 8px;
  }

  .theme-tabler .member-inspector-body {
    padding: 14px 12px 28px;
  }

  .theme-tabler .effective-assignment-list article,
  .theme-tabler .assigned-role-list > article {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .theme-tabler .authorization-model-strip {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 10px;
  }

  .theme-tabler .authorization-model-strip > i {
    display: none;
  }

  .theme-tabler .authorization-model-note {
    justify-self: start;
    max-width: none;
    padding-top: 5px;
  }

  .theme-tabler .fixed-role-list > article > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .theme-tabler .fixed-role-body {
    grid-template-columns: 1fr;
  }

  .theme-tabler .fixed-role-body > section,
  .theme-tabler .fixed-role-body > section:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--theme-line);
  }

  .theme-tabler .fixed-role-body > section:last-child {
    grid-column: auto;
    border-top: 0;
    border-bottom: 0;
  }

  .theme-tabler .permission-review-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-tabler .permission-review-summary > div:nth-child(2) {
    border-right: 0;
  }

  .theme-tabler .permission-review-summary > div:nth-child(n+3) {
    border-top: 1px solid var(--theme-line);
  }

  .theme-tabler .permission-matrix-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .theme-tabler .permission-matrix-heading .access-search-field {
    width: 100%;
  }

}

/* Keep the service-project master-detail geometry after shared responsive rules. */
.theme-tabler .service-project-workbench {
  grid-template-columns: minmax(270px, 310px) minmax(0, 1fr);
}

@media (max-width: 1100px) {
  .theme-tabler .service-project-workbench {
    grid-template-columns: minmax(240px, 270px) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .theme-tabler .service-project-workbench {
    grid-template-columns: 1fr;
  }
}

/* Master-detail directory alignment and single-column search. */
.theme-tabler .topbar,
.theme-tabler .secondary-nav {
  padding-inline: 24px !important;
}

.theme-tabler :is(.service-project-directory-table, .assessment-subject-directory-table) {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.theme-tabler :is(.service-project-directory-table, .assessment-subject-directory-table) th,
.theme-tabler :is(.service-project-directory-table, .assessment-subject-directory-table) td {
  width: 100%;
  padding-inline: 24px;
}

.theme-tabler :is(.service-project-directory-table, .assessment-subject-directory-table) td {
  padding: 0;
}

.theme-tabler .directory-column-heading {
  width: 100%;
  justify-content: space-between;
  gap: 8px;
}

.theme-tabler :is(.service-project-directory-link, .assessment-subject-directory-link) {
  width: 100%;
  min-height: 70px;
  padding: 12px 24px;
}

.theme-tabler :is(.service-project-directory-link, .assessment-subject-directory-link) strong {
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 600;
}

.theme-tabler :is(.service-project-directory-link, .assessment-subject-directory-link) small {
  font-size: 10px;
}

@media (max-width: 720px) {
  .theme-tabler .topbar,
  .theme-tabler .secondary-nav {
    padding-inline: 14px !important;
  }

  .theme-tabler :is(.service-project-directory-table, .assessment-subject-directory-table) th,
  .theme-tabler :is(.service-project-directory-table, .assessment-subject-directory-table) td {
    padding-inline: 14px;
  }

  .theme-tabler :is(.service-project-directory-table, .assessment-subject-directory-table) td {
    padding: 0;
  }

  .theme-tabler :is(.service-project-directory-link, .assessment-subject-directory-link) {
    padding-inline: 14px;
  }
}

/* 2026-07-29: project knowledge production and assessment voiceprint assembly. */
.theme-tabler :is(.service-project-directory-table, .assessment-subject-directory-table) tr.is-selected td {
  box-shadow: inset 0 0 0 1px var(--theme-primary);
}

.theme-tabler .member-management-table:is(.service-project-directory-table, .assessment-subject-directory-table) tr.is-selected td:first-child:last-child {
  box-shadow: inset 0 0 0 1px var(--theme-primary);
}

.theme-tabler :is(.service-project-directory-pane, .assessment-subject-directory-pane) .table-scroll {
  overflow-x: hidden;
}

.theme-tabler .service-project-workbench {
  --service-directory-heading-height: 42px;
  --service-directory-row-height: 70px;
}

.theme-tabler .service-project-directory-table thead {
  height: var(--service-directory-heading-height);
}

.theme-tabler .service-project-directory-table tbody tr,
.theme-tabler .service-project-directory-table tbody td {
  height: var(--service-directory-row-height);
}

.theme-tabler .service-project-inspector > .service-project-header {
  height: var(--service-directory-row-height);
  min-height: var(--service-directory-row-height);
  display: grid;
  grid-template-columns: minmax(196px, 1fr) minmax(228px, .92fr);
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}

.theme-tabler .service-project-header .member-inspector-identity {
  min-width: 0;
  gap: 9px;
  overflow: hidden;
}

.theme-tabler .service-project-header .member-avatar-large {
  width: 32px;
  height: 32px;
}

.theme-tabler .service-project-header .member-avatar-large svg {
  width: 18px;
  height: 18px;
}

.theme-tabler .service-project-header .member-name-line {
  gap: 5px;
}

.theme-tabler .service-project-header .member-name-line h2 {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .service-project-header .member-inspector-identity p,
.theme-tabler .service-project-header .member-inspector-identity small {
  margin-top: 1px;
  overflow: hidden;
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .service-project-header-facts {
  min-width: 0;
  height: 52px;
}

.theme-tabler .service-project-header-facts > div {
  display: grid;
  align-content: center;
  padding: 5px 7px;
}

.theme-tabler .service-project-tabs {
  height: var(--service-directory-heading-height);
  min-height: var(--service-directory-heading-height);
  gap: 2px;
  padding-inline: 12px;
}

.theme-tabler .service-project-tabs > a {
  padding-inline: 6px;
}

.theme-tabler .project-knowledge-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.theme-tabler .assessment-baseline-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-tabler .assessment-subject-details {
  border: 1px solid var(--theme-line-strong);
  background: color-mix(in srgb, var(--theme-primary-soft) 20%, var(--theme-paper));
}

.theme-tabler .assessment-subject-details > header {
  margin: 0;
  padding: 14px 15px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-subject-details > header > div > span {
  color: var(--theme-primary);
  font-family: var(--theme-mono);
  font-size: 8px;
  font-weight: 600;
}

.theme-tabler .assessment-subject-details > header h2 {
  margin-top: 4px;
  font-size: 15px;
}

.theme-tabler .assessment-subject-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.theme-tabler .assessment-subject-facts > div {
  min-width: 0;
  padding: 10px 14px;
  border-right: 1px solid var(--theme-line);
}

.theme-tabler .assessment-subject-facts > div:last-child {
  border-right: 0;
}

.theme-tabler .assessment-subject-facts dt {
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .assessment-subject-facts dd {
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--theme-ink);
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-tabler .assessment-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(210px, .92fr);
  gap: 20px;
  margin-top: 22px;
}

.theme-tabler .assessment-detail-grid .assessment-object-role-list {
  margin-top: 0;
}

.theme-tabler .assessment-detail-grid .assessment-subject-metric-list {
  border-top: 0;
}

.theme-tabler .assessment-detail-grid .assessment-subject-metric-list article {
  min-height: 62px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 10px 2px;
  border-top: 1px solid var(--theme-line);
  border-bottom: 0;
}

.theme-tabler .assessment-detail-grid .assessment-subject-metric-list article > div > * {
  display: block;
}

.theme-tabler .assessment-detail-grid .assessment-subject-metric-list article small {
  margin-top: 3px;
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .assessment-detail-grid .assessment-subject-metric-list article > b {
  color: var(--theme-ink);
  font-size: 12px;
}

.theme-tabler .assessment-label-summary {
  margin-top: 22px;
}

.theme-tabler .assessment-label-summary > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--theme-line);
}

.theme-tabler .assessment-label-summary article {
  min-width: 0;
  padding: 10px 12px;
  border-right: 1px solid var(--theme-line);
}

.theme-tabler .assessment-label-summary article:last-child {
  border-right: 0;
}

.theme-tabler .assessment-label-summary article > span {
  display: block;
  margin-bottom: 7px;
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .assessment-label-summary article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.theme-tabler .assessment-label-summary b {
  padding: 3px 7px;
  border: 1px solid var(--theme-line);
  border-radius: 999px;
  color: var(--theme-ink);
  background: var(--theme-paper);
  font-size: 8px;
  font-weight: 500;
}

.theme-tabler .assessment-query-tree {
  border: 1px solid var(--theme-line-strong);
  background: var(--theme-paper);
}

.theme-tabler :is(.assessment-query-object-node, .assessment-keyword-node) {
  min-width: 0;
}

.theme-tabler :is(.assessment-query-object-node, .assessment-keyword-node) > summary {
  min-height: 54px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--theme-line);
  cursor: pointer;
  list-style: none;
}

.theme-tabler :is(.assessment-query-object-node, .assessment-keyword-node) > summary::-webkit-details-marker {
  display: none;
}

.theme-tabler :is(.assessment-query-object-node, .assessment-keyword-node) > summary:focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: -2px;
}

.theme-tabler :is(.assessment-query-object-node, .assessment-keyword-node) > summary > span:nth-child(2) > * {
  display: block;
}

.theme-tabler :is(.assessment-query-object-node, .assessment-keyword-node) > summary small {
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler :is(.assessment-query-object-node, .assessment-keyword-node) > summary strong {
  margin-top: 2px;
  color: var(--theme-ink);
  font-size: 11px;
}

.theme-tabler :is(.assessment-query-object-node, .assessment-keyword-node) > summary > span:last-child {
  color: var(--theme-muted);
  font-size: 9px;
  white-space: nowrap;
}

.theme-tabler .query-node-chevron {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  color: var(--theme-muted);
}

.theme-tabler .query-node-chevron svg {
  width: 13px;
  height: 13px;
}

.theme-tabler details[open] > summary > .query-node-chevron {
  transform: rotate(90deg);
}

.theme-tabler .assessment-query-object-body {
  padding: 12px;
  background: color-mix(in srgb, var(--theme-canvas) 48%, var(--theme-paper));
}

.theme-tabler .assessment-query-object-body > .assessment-object-competitors {
  margin: 0 0 10px;
}

.theme-tabler .assessment-keyword-node {
  display: block;
  margin-top: 8px;
  border: 1px solid var(--theme-line);
  background: var(--theme-paper);
}

.theme-tabler .assessment-keyword-node > summary {
  min-height: 48px;
  border-bottom: 0;
}

.theme-tabler .assessment-keyword-node[open] > summary {
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .assessment-keyword-node .assessment-question-list {
  gap: 0;
  padding: 0 12px;
}

.theme-tabler .assessment-keyword-node .assessment-question-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, auto);
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid var(--theme-line);
  border-radius: 0;
  background: transparent;
}

.theme-tabler .assessment-keyword-node .assessment-question-list article:first-child {
  border-top: 0;
}

.theme-tabler .assessment-keyword-node .assessment-question-list article > div {
  justify-content: flex-end;
  margin-top: 0;
}

.theme-tabler .special-requirements-workspace {
  max-width: 920px;
}

.theme-tabler .voiceprint-composition {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--theme-line-strong);
  background: color-mix(in srgb, var(--theme-primary-soft) 24%, var(--theme-paper));
}

.theme-tabler .voiceprint-composition span,
.theme-tabler .voiceprint-composition strong {
  padding: 6px 9px;
  border: 1px solid var(--theme-line);
  color: var(--theme-ink);
  background: var(--theme-paper);
  font-size: 9px;
  font-weight: 600;
}

.theme-tabler .voiceprint-composition strong {
  border-color: color-mix(in srgb, var(--theme-primary) 42%, var(--theme-line));
  color: var(--theme-primary);
}

.theme-tabler .voiceprint-composition i {
  color: var(--theme-muted);
  font-family: var(--theme-mono);
  font-size: 12px;
  font-style: normal;
}

.theme-tabler .special-requirement-list {
  margin-top: 16px;
  border-top: 1px solid var(--theme-line-strong);
}

.theme-tabler .special-requirement-list > article {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 32px;
  align-items: center;
  gap: 12px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--theme-line);
}

.theme-tabler .special-requirement-list > article > div > * {
  display: block;
}

.theme-tabler .special-requirement-list > article > div > span,
.theme-tabler .special-requirement-list > article > div > small {
  color: var(--theme-muted);
  font-size: 8px;
}

.theme-tabler .special-requirement-list > article > div > strong {
  max-width: 74ch;
  margin: 4px 0;
  color: var(--theme-ink);
  font-size: 11px;
  line-height: 1.5;
}

.theme-tabler .special-requirement-form {
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--theme-line-strong);
  background: color-mix(in srgb, var(--theme-canvas) 55%, var(--theme-paper));
}

.theme-tabler .special-requirement-form > header {
  margin-bottom: 12px;
}

.theme-tabler .special-requirement-form > header h3,
.theme-tabler .special-requirement-form > header p {
  margin: 0;
}

.theme-tabler .special-requirement-form > header h3 {
  color: var(--theme-ink);
  font-size: 12px;
}

.theme-tabler .special-requirement-form > header p {
  margin-top: 3px;
  color: var(--theme-muted);
  font-size: 9px;
}

.theme-tabler .special-requirement-fields {
  display: grid;
  grid-template-columns: minmax(150px, .42fr) minmax(220px, .58fr);
  gap: 12px;
}

.theme-tabler .special-requirement-fields label {
  min-width: 0;
}

.theme-tabler .special-requirement-fields label > span {
  display: block;
  margin-bottom: 5px;
  color: var(--theme-muted);
  font-size: 9px;
  font-weight: 600;
}

.theme-tabler .special-requirement-fields :is(select, input, textarea) {
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid var(--theme-line-strong);
  border-radius: 4px;
  color: var(--theme-ink);
  background: var(--theme-paper);
  font: inherit;
  font-size: 11px;
}

.theme-tabler .special-requirement-fields textarea {
  min-height: 84px;
  resize: vertical;
}

.theme-tabler .special-requirement-fields :is(select, input, textarea):focus-visible {
  border-color: var(--theme-primary);
  outline: 2px solid color-mix(in srgb, var(--theme-primary) 20%, transparent);
  outline-offset: 1px;
}

.theme-tabler .special-requirement-content-field {
  grid-column: 1 / -1;
}

.theme-tabler .special-requirement-form > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.theme-tabler .special-requirement-form > footer small {
  color: var(--theme-muted);
  font-size: 8px;
  line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
  .theme-tabler :is(.assessment-query-object-node, .assessment-keyword-node) > summary:hover {
    background: color-mix(in srgb, var(--theme-primary-soft) 34%, var(--theme-paper));
  }
}

@media (max-width: 1100px) {
  .theme-tabler .service-project-inspector > .service-project-header {
    display: grid;
    grid-template-columns: minmax(148px, .82fr) minmax(184px, 1.18fr);
    align-items: center;
  }

  .theme-tabler .assessment-subject-inspector > .member-inspector-header {
    grid-template-columns: minmax(148px, .84fr) minmax(184px, 1.16fr);
  }

  .theme-tabler .assessment-subject-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-tabler .assessment-subject-facts > div:nth-child(2) {
    border-right: 0;
  }

  .theme-tabler .assessment-subject-facts > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--theme-line);
  }

  .theme-tabler .assessment-detail-grid {
    grid-template-columns: 1fr;
  }

  .theme-tabler .special-requirement-fields {
    grid-template-columns: 1fr;
  }

  .theme-tabler .special-requirement-content-field {
    grid-column: auto;
  }

  .theme-tabler .assessment-keyword-node .assessment-question-list article {
    grid-template-columns: 1fr;
  }

  .theme-tabler .assessment-keyword-node .assessment-question-list article > div {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .theme-tabler .service-project-inspector > .service-project-header {
    height: auto;
    min-height: 104px;
    grid-template-columns: 1fr;
  }

  .theme-tabler .service-project-header-facts {
    width: 100%;
  }

  .theme-tabler .assessment-label-summary > div,
  .theme-tabler .special-requirement-fields {
    grid-template-columns: 1fr;
  }

  .theme-tabler .assessment-label-summary article {
    border-right: 0;
    border-bottom: 1px solid var(--theme-line);
  }

  .theme-tabler .assessment-keyword-node .assessment-question-list article {
    grid-template-columns: 1fr;
  }

  .theme-tabler .assessment-keyword-node .assessment-question-list article > div {
    justify-content: flex-start;
  }

  .theme-tabler .voiceprint-composition {
    align-items: stretch;
    flex-direction: column;
  }

  .theme-tabler .voiceprint-composition i {
    align-self: center;
  }

  .theme-tabler .special-requirement-content-field {
    grid-column: auto;
  }

  .theme-tabler .special-requirement-form > footer {
    align-items: stretch;
    flex-direction: column;
  }
}

/*
 * Table-first workspaces keep their real semantic header in view beneath the
 * secondary navigation. The table scroller owns both axes so sticky cells and
 * horizontally frozen columns continue to share one coordinate system.
 */
.theme-tabler main[data-sticky-table-header="true"] {
  --sticky-table-viewport-offset: calc(72px + var(--secondary-nav-height));
}

.theme-tabler.view-mode-focus main[data-sticky-table-header="true"],
.theme-tabler.view-mode-page main[data-sticky-table-header="true"] {
  --sticky-table-viewport-offset: var(--focus-chrome-size);
}

.theme-tabler.view-mode-fullscreen main[data-sticky-table-header="true"] {
  --sticky-table-viewport-offset: var(--secondary-nav-height);
}

.theme-tabler main[data-sticky-table-header="true"] :is(
  .management-table-shell > .table-scroll,
  .role-assignments-page > .table-scroll,
  .achievement-table-scroll,
  .member-directory-pane > .table-scroll
) {
  max-height: calc(100dvh - var(--sticky-table-viewport-offset));
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.theme-tabler main[data-sticky-table-header="true"] .management-table-shell:has(
  .table-pagination:not([hidden])
) > .table-scroll {
  max-height: calc(
    100dvh - var(--sticky-table-viewport-offset) - var(--workbench-row-height)
  );
}

.theme-tabler main[data-sticky-table-header="true"] :is(
  .management-table-shell > .table-scroll,
  .role-assignments-page > .table-scroll,
  .achievement-table-scroll,
  .member-directory-pane > .table-scroll
) > table > thead > tr > th {
  position: sticky;
  z-index: 6;
  top: 0;
  background: color-mix(in srgb, var(--theme-paper) 72%, var(--theme-canvas));
}

.theme-tabler main[data-sticky-table-header="true"] :is(
  .management-table-shell > .table-scroll,
  .role-assignments-page > .table-scroll,
  .achievement-table-scroll,
  .member-directory-pane > .table-scroll
) > table > thead > tr > th:has([data-table-filter-control].open) {
  z-index: 12;
}

.theme-tabler main[data-sticky-table-header="true"] .achievement-table-scroll >
table > thead > tr > th:is(
  .achievement-group-header,
  .achievement-sticky-customer,
  .achievement-sticky-service,
  .achievement-sticky-target
) {
  z-index: 8;
}

@media (max-width: 720px) {
  .theme-tabler .role-assignment-role-picker {
    grid-template-columns: 1fr;
  }

  .theme-tabler main[data-sticky-table-header="true"] {
    --sticky-table-viewport-offset: calc(60px + var(--workbench-row-height));
  }

  .theme-tabler:is(.view-mode-focus, .view-mode-page) main[data-sticky-table-header="true"] {
    --sticky-table-viewport-offset: var(--focus-chrome-size);
  }

  .theme-tabler.view-mode-fullscreen main[data-sticky-table-header="true"] {
    --sticky-table-viewport-offset: var(--workbench-row-height);
  }

  .theme-tabler main[data-sticky-table-header="true"] .member-directory-pane > .table-scroll {
    max-height: min(
      262px,
      calc(100dvh - var(--sticky-table-viewport-offset))
    );
  }
}
