/* Capability center: quiet, read-first, three-level capability governance. */
:root {
  --acc-ink: #172033;
  --acc-muted: #667085;
  --acc-line: #e1e6ec;
  --acc-soft: #f5f7fa;
  --acc-blue: #1769e8;
  --acc-green: #157a50;
  --acc-amber: #a45b08;
}

.acc-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 56px;
  color: var(--acc-ink);
}

.acc-page button,
.acc-page input {
  font: inherit;
}

.acc-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
}

.acc-page-head-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.acc-page-head-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.acc-page-head-actions .btn svg {
  width: 16px;
  height: 16px;
}

.acc-page-head h1,
.acc-detail-title h1 {
  margin: 0 0 7px;
  color: var(--acc-ink);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 760;
  letter-spacing: -.03em;
}

.acc-page-head p,
.acc-detail-title p {
  max-width: 72ch;
  margin: 0;
  color: var(--acc-muted);
  font-size: 14px;
  line-height: 1.6;
}

.acc-import {
  display: grid;
  justify-items: end;
  gap: 7px;
  min-width: 270px;
}

.acc-import .btn {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.acc-import .btn svg {
  width: 17px;
  height: 17px;
}

.acc-import small {
  max-width: 310px;
  color: #7d8796;
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
}

.acc-import [data-acc-import-state="service-required"],
.acc-import [data-acc-import-state="permission-required"] {
  border-color: #cbd5e1;
  background: #fff;
  color: #344054;
  box-shadow: none;
}

.acc-import-help {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 12px;
  margin: -7px 0 18px;
  padding: 13px 14px;
  border: 1px solid #d7e2f0;
  border-radius: 14px;
  background: #f7faff;
}

.acc-import-help > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #e8f1ff;
  color: var(--acc-blue);
}

.acc-import-help > span svg,
.acc-import-help-close svg { width: 17px; height: 17px; }
.acc-import-help strong { display: block; font-size: 13px; }
.acc-import-help p { margin: 3px 0 0; color: var(--acc-muted); font-size: 12px; line-height: 1.5; }
.acc-import-help-close { display: grid; width: 30px; height: 30px; padding: 0; place-items: center; border: 0; border-radius: 9px; background: transparent; color: #7a8697; cursor: pointer; }
.acc-import-help-close:hover { background: #e9eff7; color: var(--acc-ink); }

.acc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid var(--acc-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 39, 60, .05);
}

.acc-toolbar label {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 9px;
  min-width: 220px;
  padding: 0 9px;
  color: #8a94a3;
}

.acc-toolbar label svg {
  width: 17px;
  height: 17px;
}

.acc-toolbar input {
  width: 100%;
  min-height: 36px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--acc-ink);
  font-size: 13px;
}

.acc-toolbar > div {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 10px;
  background: #f0f3f7;
}

.acc-toolbar > div button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #596579;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.acc-toolbar > div button span {
  min-width: 17px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(86, 99, 117, .09);
  color: #7a8595;
  font-size: 10px;
  line-height: 1.5;
}

.acc-toolbar > div button.is-active {
  background: #fff;
  color: var(--acc-blue);
  box-shadow: 0 2px 8px rgba(32, 48, 74, .08);
}

.acc-toolbar > div button.is-active span {
  background: rgba(23, 105, 232, .09);
  color: var(--acc-blue);
}

.acc-foundation-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--acc-line);
  border-radius: 14px;
}

.acc-foundation-group-trigger {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto 18px;
  width: 100%;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 0;
  background: #fff;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: background-color .16s ease, color .16s ease;
}

.acc-foundation-group-trigger + .acc-foundation-group-trigger {
  border-left: 1px solid var(--acc-line);
}

.acc-foundation-group-trigger:hover,
.acc-foundation-group-trigger.is-active {
  background: #f7f9fc;
}

.acc-foundation-group-trigger.is-active {
  color: var(--acc-blue);
}

.acc-foundation-group-trigger > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: #f0f3f7;
  color: #596a82;
}

.acc-foundation-group-trigger.is-active > span {
  background: #eaf2ff;
  color: var(--acc-blue);
}

.acc-foundation-group-trigger svg {
  width: 17px;
  height: 17px;
}

.acc-foundation-group-trigger h3,
.acc-foundation-group-trigger p {
  margin: 0;
}

.acc-foundation-group-trigger h3 {
  color: #243046;
  font-size: 14px;
}

.acc-foundation-group-trigger p {
  margin-top: 3px;
  color: #7a8595;
  font-size: 11px;
  line-height: 1.45;
}

.acc-foundation-group-trigger > strong {
  color: #667085;
  font-size: 11px;
  white-space: nowrap;
}

.acc-foundation-group-trigger > svg {
  color: #98a2b3;
}

.acc-foundation-panel {
  margin-top: 12px;
}

.acc-section {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--acc-line);
  border-radius: 16px;
  background: #fff;
}

.acc-section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.acc-section-title h2,
.acc-detail-grid h2,
.acc-answer h2 {
  margin: 0 0 4px;
  color: var(--acc-ink);
  font-size: 17px;
  letter-spacing: -.015em;
}

.acc-section-title p {
  margin: 0;
  color: #7a8595;
  font-size: 12px;
}

.acc-section-title .acc-filter-result {
  color: #8993a2;
}

.acc-section-title > strong {
  color: #7a8595;
  font-size: 12px;
  font-weight: 700;
}

.acc-base-list,
.acc-project-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid #e4e8ed;
  border-radius: 14px;
  background: #e4e8ed;
}

.acc-package-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 12px;
}

.acc-package-card {
  display: grid;
  align-content: space-between;
  min-height: 154px;
  padding: 15px;
  border: 1px solid var(--acc-line);
  border-radius: 14px;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.acc-package-card:hover {
  border-color: #cbd8e9;
  box-shadow: 0 12px 26px rgba(28, 39, 60, .07);
  transform: translateY(-1px);
}

.acc-package-card.is-selected {
  border-color: #9ebef0;
  box-shadow: 0 0 0 3px rgba(23, 105, 232, .08);
}

.acc-package-card > header,
.acc-package-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.acc-package-card > footer {
  padding-top: 13px;
  border-top: 1px solid var(--acc-line);
}

.acc-package-card > footer > span {
  color: #667085;
  font-size: 11px;
  font-weight: 680;
}

.acc-package-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: #eef4ff;
  color: var(--acc-blue);
}

.acc-package-symbol svg {
  width: 21px;
  height: 21px;
}

.acc-package-copy h3,
.acc-base-list h3,
.acc-task-list h3 {
  margin: 0;
  color: #202a3b;
  font-size: 15px;
}

.acc-package-copy p,
.acc-base-list p,
.acc-task-list p {
  max-width: 75ch;
  margin: 5px 0 9px;
  color: var(--acc-muted);
  font-size: 12px;
  line-height: 1.55;
}

.acc-package-copy p {
  margin-bottom: 0;
}

.acc-package-card .acc-package-copy {
  padding: 14px 0 13px;
}

.acc-package-card .acc-package-copy h3 {
  font-size: 16px;
  line-height: 1.35;
}

.acc-package-card .acc-package-copy p {
  margin-top: 7px;
  font-size: 12px;
}

.acc-package-preview-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.acc-package-section-head {
  align-items: center;
}

.acc-package-filters {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 10px;
  background: #f0f3f7;
}

.acc-package-filters button {
  display: inline-flex;
  min-height: 30px;
  gap: 5px;
  align-items: center;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #667085;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.acc-package-filters button span {
  color: #98a2b3;
  font-size: 10px;
}

.acc-package-filters button.is-active {
  background: #fff;
  color: var(--acc-blue);
  box-shadow: 0 2px 8px rgba(32, 48, 74, .08);
}

.acc-package-filters button.is-active span {
  color: var(--acc-blue);
}

.acc-package-preview {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--acc-line);
}

.acc-package-preview > header,
.acc-package-preview > footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.acc-package-preview > header > div > span {
  color: var(--acc-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.acc-package-preview h3,
.acc-package-preview p {
  margin: 0;
}

.acc-package-preview h3 {
  margin-top: 4px;
  color: #243046;
  font-size: 17px;
}

.acc-package-preview > header p {
  margin-top: 4px;
  color: #7a8595;
  font-size: 12px;
}

.acc-package-preview > header > button {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--acc-line);
  border-radius: 9px;
  background: #fff;
  color: #667085;
  cursor: pointer;
}

.acc-package-preview > header > button svg {
  width: 15px;
  height: 15px;
}

.acc-package-preview-tasks {
  margin-top: 14px;
  border-top: 1px solid var(--acc-line);
}

.acc-package-preview-tasks article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 13px 2px;
  border-bottom: 1px solid var(--acc-line);
}

.acc-package-preview-tasks article strong {
  color: #243046;
  font-size: 13px;
}

.acc-package-preview-tasks article p {
  margin-top: 3px;
  color: #7a8595;
  font-size: 11px;
  line-height: 1.45;
}

.acc-package-preview-tasks article > span {
  color: #667085;
  font-size: 10px;
  white-space: nowrap;
}

.acc-package-preview > footer {
  align-items: center;
  padding-top: 13px;
}

.acc-package-preview > footer > span {
  color: #7a8595;
  font-size: 11px;
}

.acc-package-preview > footer .btn {
  flex: 0 0 auto;
}

.acc-search-group + .acc-search-group {
  margin-top: 18px;
}

.acc-search-group > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 8px;
}

.acc-search-group > header h3,
.acc-search-group > header span {
  margin: 0;
  color: #667085;
  font-size: 11px;
}

.acc-search-group > div {
  overflow: hidden;
  border: 1px solid var(--acc-line);
  border-radius: 13px;
}

.acc-search-result {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 18px;
  width: 100%;
  gap: 14px;
  align-items: center;
  padding: 13px 15px;
  border: 0;
  background: #fff;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.acc-search-result + .acc-search-result {
  border-top: 1px solid var(--acc-line);
}

.acc-search-result:hover {
  background: #f8fafc;
}

.acc-search-result-type {
  color: #667085;
  font-size: 10px;
}

.acc-search-result strong {
  color: #243046;
  font-size: 13px;
}

.acc-search-result p {
  margin: 3px 0 0;
  color: #7a8595;
  font-size: 11px;
  line-height: 1.45;
}

.acc-search-result > svg {
  width: 16px;
  height: 16px;
  color: #98a2b3;
}

.acc-status {
  padding: 3px 7px;
  border-radius: 999px;
  background: #e8f5ef;
  color: var(--acc-green);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.acc-status.is-candidate {
  background: #fff2df;
  color: var(--acc-amber);
}

.acc-status.is-extendable {
  background: #eef4ff;
  color: var(--acc-blue);
}

.acc-resource-note {
  margin: 10px 2px 0;
  color: #7a8595;
  font-size: 11px;
  line-height: 1.55;
}

.acc-stage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.acc-stage-chips span {
  padding: 4px 7px;
  border: 1px solid #e3e7ed;
  border-radius: 7px;
  background: #fafbfc;
  color: #627086;
  font-size: 10px;
  white-space: nowrap;
}

.acc-package-open {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 34px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--acc-blue);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.acc-package-card .acc-package-open {
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid var(--acc-line);
  border-radius: 9px;
  background: #f8fafc;
}

.acc-package-card .acc-package-open:hover {
  border-color: #cbd8e9;
  background: #f1f5fa;
}

.acc-package-open svg {
  width: 15px;
  height: 15px;
}

.acc-base-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--acc-line);
  border-radius: 14px;
  background: var(--acc-line);
}

.acc-base-group {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e4e8ed;
  border-radius: 14px;
  background: #fff;
}

.acc-base-group > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #edf0f3;
  background: #f8fafc;
}

.acc-base-group > header h3,
.acc-base-group > header p {
  margin: 0;
}

.acc-base-group > header h3 {
  color: #243046;
  font-size: 13px;
}

.acc-base-group > header p,
.acc-base-group > header > span {
  margin-top: 3px;
  color: #7a8595;
  font-size: 10px;
  line-height: 1.45;
}

.acc-base-group > header > span {
  flex: 0 0 auto;
}

.acc-base-group .acc-base-list {
  border: 0;
  border-radius: 0;
}

.acc-base-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto 16px;
  width: 100%;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 0;
  background: #fff;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: background-color .16s ease;
}

.acc-base-row:hover {
  background: #f7f9fc;
}

.acc-base-row > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: #f0f3f7;
  color: #596a82;
}

.acc-base-row > span svg,
.acc-base-row > svg {
  width: 17px;
  height: 17px;
}

.acc-base-row > svg {
  color: #9aa4b2;
}

.acc-base-list p {
  margin: 3px 0 0;
}

.acc-base-row em {
  color: #758195;
  font-size: 10px;
  font-style: normal;
}

.acc-text-action,
.acc-back {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--acc-blue);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.acc-foot-summary,
.acc-detail-band,
.acc-project-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--acc-line);
  border-radius: 14px;
  background: var(--acc-line);
}

.acc-foot-summary > div,
.acc-detail-band > div,
.acc-project-summary > div {
  display: grid;
  gap: 4px;
  padding: 17px 18px;
  background: #fff;
}

.acc-foot-summary span,
.acc-detail-band span,
.acc-project-summary span {
  color: #7b8798;
  font-size: 11px;
}

.acc-foot-summary strong,
.acc-detail-band strong,
.acc-project-summary strong {
  color: #243046;
  font-size: 16px;
}

.acc-foot-summary small,
.acc-detail-band small {
  color: #8a94a2;
  font-size: 10px;
}

.acc-resource-section {
  padding-bottom: 14px;
}

.acc-resource-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--acc-line);
}

.acc-resource-list button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 16px;
  width: 100%;
  gap: 11px;
  align-items: center;
  padding: 15px 12px;
  border: 0;
  background: #fff;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.acc-resource-list button:hover {
  background: #f8fafc;
}

.acc-resource-list button + button {
  border-left: 1px solid var(--acc-line);
  padding-left: 20px;
}

.acc-resource-list button > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: #f0f3f7;
  color: #596a82;
}

.acc-resource-list svg {
  width: 16px;
  height: 16px;
}

.acc-resource-list h3,
.acc-resource-list p {
  margin: 0;
}

.acc-resource-list h3 {
  color: #243046;
  font-size: 13px;
}

.acc-resource-list p {
  margin-top: 2px;
  color: #7b8797;
  font-size: 11px;
}

.acc-resource-list strong {
  color: #344054;
  font-size: 13px;
}

.acc-resource-list button > svg {
  color: #9aa4b2;
}

.acc-empty {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 42px 24px;
  background: #fff;
  color: #7b8797;
  text-align: center;
}

.acc-empty strong {
  color: #344054;
  font-size: 15px;
}

.acc-empty .btn {
  margin-top: 8px;
}

.acc-detail-head {
  margin-bottom: 20px;
}

.acc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 22px;
}

.acc-back svg {
  width: 16px;
  height: 16px;
}

.acc-detail-title {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.acc-detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.acc-detail-title-row > .btn {
  flex: 0 0 auto;
  margin-top: 3px;
}

.acc-detail-title > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 11px;
  color: #738094;
  font-size: 11px;
}

.acc-answer {
  padding: 20px 22px;
  border-radius: 14px;
  background: #eef4ff;
}

.acc-answer p {
  max-width: 78ch;
  margin: 7px 0 10px;
  color: #47566e;
  font-size: 13px;
  line-height: 1.65;
}

.acc-answer strong {
  color: #245da7;
  font-size: 12px;
}

.acc-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr);
  gap: 14px;
  margin-top: 14px;
}

.acc-domain-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr);
}

.acc-detail-grid > section {
  padding: 20px;
  border: 1px solid var(--acc-line);
  border-radius: 14px;
  background: #fff;
}

.acc-task-list {
  display: grid;
  gap: 1px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 10px;
  background: #e8ebef;
}

.acc-task-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px;
  background: #fbfcfd;
}

.acc-coverage-list {
  display: grid;
  gap: 1px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 10px;
  background: #e8ebef;
}

.acc-coverage-list article {
  padding: 13px;
  background: #fbfcfd;
}

.acc-coverage-list strong,
.acc-coverage-list p {
  margin: 0;
}

.acc-coverage-list strong {
  color: #344054;
  font-size: 12px;
}

.acc-coverage-list p {
  margin-top: 4px;
  color: #6e7a8d;
  font-size: 11px;
  line-height: 1.55;
}

.acc-subhead {
  margin-top: 22px !important;
}

.acc-plain-list,
.acc-contract-list,
.acc-governance ul {
  display: grid;
  gap: 1px;
  margin: 10px 0 0;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #e8ebef;
  list-style: none;
}

.acc-plain-list li,
.acc-contract-list li,
.acc-governance li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 12px;
  background: #fbfcfd;
  color: #6e7a8d;
  font-size: 11px;
}

.acc-plain-list strong,
.acc-contract-list strong,
.acc-governance li strong {
  color: #344054;
  font-size: 12px;
}

.acc-governance {
  margin-top: 14px;
  border: 1px solid var(--acc-line);
  border-radius: 14px;
  background: #fff;
}

.acc-runtime-note {
  display: grid;
  gap: 4px;
  margin: 10px 0 0;
  padding: 11px 12px;
  border-radius: 10px;
  background: #f6f8fb;
}

.acc-runtime-note strong {
  color: #344054;
  font-size: 12px;
}

.acc-runtime-note span {
  color: #758195;
  font-size: 10px;
  line-height: 1.5;
}

.acc-mode-section {
  margin-top: 14px;
  border: 1px solid var(--acc-line);
  border-radius: 14px;
  background: #fff;
}

.acc-mode-section > summary {
  padding: 15px 18px;
  color: #344054;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.acc-mode-section[open] > summary {
  border-bottom: 1px solid var(--acc-line);
}

.acc-mode-section > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 0 0 13px 13px;
  background: var(--acc-line);
}

.acc-mode-section article {
  padding: 14px;
  background: #fbfcfd;
}

.acc-mode-section article strong,
.acc-mode-section article p {
  margin: 0;
}

.acc-mode-section article strong {
  color: #243046;
  font-size: 12px;
}

.acc-mode-section article p {
  margin-top: 4px;
  color: #6e7a8d;
  font-size: 11px;
  line-height: 1.55;
}

.acc-review {
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid #cfdcf0;
  border-radius: 14px;
  background: #f7faff;
}

.acc-review[hidden] {
  display: none;
}

.acc-review > header,
.acc-review > footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.acc-review > header span,
.acc-review-note > span {
  color: var(--acc-blue);
  font-size: 10px;
  font-weight: 800;
}

.acc-review > header h2,
.acc-review > header p {
  margin: 0;
}

.acc-review > header h2 {
  margin-top: 3px;
  font-size: 18px;
}

.acc-review > header p,
.acc-review > footer > span {
  margin-top: 4px;
  color: #6b778a;
  font-size: 11px;
  line-height: 1.55;
}

.acc-review > header > strong {
  max-width: 260px;
  color: #344054;
  font-size: 11px;
  text-align: right;
}

.acc-review-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.acc-review-checks label {
  display: flex;
  gap: 9px;
  padding: 12px;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.acc-review-checks input {
  margin-top: 3px;
  accent-color: var(--acc-blue);
}

.acc-review-checks label span {
  display: grid;
  gap: 3px;
}

.acc-review-checks strong {
  color: #344054;
  font-size: 12px;
}

.acc-review-checks small {
  color: #748094;
  font-size: 10px;
  line-height: 1.5;
}

.acc-review-note {
  display: grid;
  gap: 7px;
}

.acc-review-note textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #d7e0eb;
  border-radius: 10px;
  background: #fff;
  color: #344054;
  font: inherit;
  font-size: 12px;
  line-height: 1.55;
}

.acc-review > footer {
  align-items: center;
  margin-top: 12px;
}

.acc-base-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--acc-line);
  border-radius: 14px;
  background: var(--acc-line);
}

.acc-base-detail-grid > section {
  min-height: 130px;
  padding: 20px;
  background: #fff;
}

.acc-base-detail-grid > section > span {
  color: var(--acc-blue);
  font-size: 10px;
  font-weight: 800;
}

.acc-base-detail-grid h2 {
  max-width: 54ch;
  margin: 10px 0 0;
  color: #243046;
  font-size: 14px;
  line-height: 1.65;
}

.acc-base-detail-grid .acc-stage-chips {
  margin-top: 12px;
}

.acc-tool-detail-head .acc-detail-title-row {
  align-items: center;
}

.acc-tool-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  overflow: hidden;
  border: 1px solid var(--acc-line);
  border-radius: 14px;
  background: #fff;
}

.acc-tool-overview > div {
  display: grid;
  align-content: center;
  min-height: 154px;
  padding: 24px;
}

.acc-tool-overview h2,
.acc-tool-overview p,
.acc-tool-result h2,
.acc-tool-result p {
  margin: 0;
}

.acc-tool-overview h2,
.acc-tool-result h2 {
  color: #243046;
  font-size: 13px;
}

.acc-tool-overview p,
.acc-tool-result p {
  margin-top: 7px;
  color: #5f6c80;
  font-size: 12px;
  line-height: 1.65;
}

.acc-tool-overview dl {
  margin: 0;
  border-left: 1px solid var(--acc-line);
  background: #fafbfc;
}

.acc-tool-overview dl > div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--acc-line);
}

.acc-tool-overview dl > div:last-child {
  border-bottom: 0;
}

.acc-tool-overview dt {
  color: #7a8595;
  font-size: 10px;
  font-weight: 700;
}

.acc-tool-overview dd {
  margin: 0;
  color: #344054;
  font-size: 11px;
  line-height: 1.5;
}

.acc-tool-runbook {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid var(--acc-line);
  border-radius: 14px;
  background: #fff;
}

.acc-tool-runbook ol {
  display: grid;
  gap: 1px;
  margin: 12px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--acc-line);
  border-radius: 11px;
  background: var(--acc-line);
  counter-reset: acc-tool-step;
  list-style: none;
}

.acc-tool-runbook li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 9px 13px;
  background: #fff;
  counter-increment: acc-tool-step;
}

.acc-tool-runbook li::before {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--acc-blue);
  content: counter(acc-tool-step);
  font-size: 10px;
  font-weight: 800;
}

.acc-tool-runbook li span {
  color: #344054;
  font-size: 11px;
  line-height: 1.5;
}

.acc-tool-result {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--acc-line);
  border-radius: 14px;
  background: var(--acc-line);
}

.acc-tool-result > div {
  min-height: 116px;
  padding: 20px;
  background: #fff;
}

.acc-boundary {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid #dce8e2;
  border-radius: 12px;
  background: #f1f8f4;
}

.acc-boundary svg {
  width: 19px;
  color: var(--acc-green);
}

.acc-boundary strong,
.acc-boundary p {
  margin: 0;
}

.acc-boundary strong {
  color: #246045;
  font-size: 12px;
}

.acc-boundary p {
  margin-top: 3px;
  color: #587061;
  font-size: 11px;
  line-height: 1.55;
}

.acc-purpose-empty {
  border: 1px solid var(--acc-line);
  border-radius: 14px;
}

.acc-purpose-empty > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: #eef4ff;
  color: var(--acc-blue);
}

.acc-purpose-empty > span svg {
  width: 22px;
}

.acc-purpose-empty p {
  max-width: 62ch;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.acc-resource-directory {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--acc-line);
  border-radius: 14px;
  background: var(--acc-line);
}

.acc-resource-directory article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  background: #fff;
}

.acc-resource-directory h2,
.acc-resource-directory p {
  margin: 0;
}

.acc-resource-directory h2 {
  font-size: 14px;
}

.acc-resource-directory p,
.acc-resource-directory article > span {
  margin-top: 3px;
  color: #748094;
  font-size: 11px;
}

.acc-coverage-list article > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.acc-coverage-status {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fff4e5;
  color: #9b5f13;
  font-size: 9px;
  font-weight: 750;
}

.acc-coverage-status.is-active {
  background: #eaf7f0;
  color: #177553;
}

.acc-coverage-overview {
  align-content: start;
}

.acc-coverage-themes {
  display: grid;
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--acc-line);
}

.acc-coverage-themes span {
  padding: 12px 0;
  border-bottom: 1px solid var(--acc-line);
  color: #344054;
  font-size: 13px;
  font-weight: 680;
}

.acc-coverage-note {
  margin: 14px 0 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.65;
}

.acc-capability-structure {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--acc-line);
  border-radius: 16px;
  background: #fff;
}

.acc-capability-structure-list {
  border-top: 1px solid var(--acc-line);
}

.acc-capability-structure-list button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto 18px;
  width: 100%;
  gap: 14px;
  align-items: center;
  padding: 16px 4px;
  border: 0;
  border-bottom: 1px solid var(--acc-line);
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: background-color .16s ease, color .16s ease;
}

.acc-capability-structure-list button:hover {
  background: #f8fafc;
}

.acc-capability-structure-list button > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: #eef4ff;
  color: var(--acc-blue);
}

.acc-capability-structure-list button svg {
  width: 18px;
  height: 18px;
}

.acc-capability-structure-list h3,
.acc-capability-structure-list p {
  margin: 0;
}

.acc-capability-structure-list h3 {
  color: #243046;
  font-size: 15px;
}

.acc-capability-structure-name {
  display: flex;
  align-items: center;
  gap: 9px;
}

.acc-capability-structure-name strong {
  color: var(--acc-blue);
  font-size: 11px;
}

.acc-capability-structure-list p {
  margin-top: 4px;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.acc-capability-structure-list em {
  color: #58708f;
  font-size: 12px;
  font-style: normal;
}

.acc-capability-structure-list button > svg {
  color: #98a2b3;
}

.acc-knowledge-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--acc-line);
  border-radius: 16px;
  background: #fff;
}

.acc-knowledge-entry h2,
.acc-knowledge-entry p {
  margin: 0;
}

.acc-knowledge-entry h2 {
  color: #172033;
  font-size: 19px;
  letter-spacing: -.015em;
}

.acc-knowledge-entry p {
  max-width: 72ch;
  margin-top: 7px;
  color: #667085;
  font-size: 13px;
  line-height: 1.65;
}

.acc-knowledge-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 13px;
}

.acc-knowledge-themes span {
  color: #344054;
  font-size: 12px;
  font-weight: 680;
}

.acc-knowledge-entry-action {
  display: grid;
  flex: 0 0 auto;
  gap: 10px;
  justify-items: end;
}

.acc-runtime-note,
.acc-installed-count {
  color: var(--acc-green);
  font-size: 11px;
  font-weight: 720;
}

.acc-maturity-explainer {
  margin: 14px 0 0;
  padding: 11px 13px;
  border: 1px solid #dce8e2;
  border-radius: 10px;
  background: #f4faf6;
  color: #587061;
  font-size: 12px;
  line-height: 1.55;
}

.acc-maturity-explainer strong {
  color: #246045;
}

.acc-document-page {
  max-width: 980px;
}

.acc-document-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.acc-document-title > span:first-child {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: #eef4ff;
  color: var(--acc-blue);
}

.acc-document-title > span:first-child svg {
  width: 21px;
  height: 21px;
}

.acc-document-title h1,
.acc-document-title p {
  margin: 0;
}

.acc-document-title h1 {
  color: #172033;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -.03em;
}

.acc-document-title p {
  max-width: 70ch;
  margin-top: 7px;
  color: #667085;
  font-size: 14px;
  line-height: 1.65;
}

.acc-document-title > .acc-candidate-badge,
.acc-document-title > .acc-installed-count {
  margin-left: auto;
}

.acc-document-body {
  padding: 24px 28px;
  border: 1px solid var(--acc-line);
  border-radius: 16px;
  background: #fff;
}

.acc-document-body > header {
  padding-bottom: 17px;
  border-bottom: 1px solid var(--acc-line);
}

.acc-document-body h2,
.acc-document-body header p {
  margin: 0;
}

.acc-document-body h2 {
  font-size: 19px;
}

.acc-document-body header p {
  margin-top: 5px;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
}

.acc-document-list article {
  padding: 18px 0;
  border-bottom: 1px solid var(--acc-line);
}

.acc-document-list article:last-child {
  border-bottom: 0;
}

.acc-document-list h3,
.acc-document-list p {
  margin: 0;
}

.acc-document-entry-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #edf0f3;
}

.acc-document-entry-detail section,
.acc-document-entry-detail dl,
.acc-document-entry-detail div,
.acc-document-entry-detail p,
.acc-document-entry-detail ul,
.acc-document-entry-detail ol {
  margin: 0;
}

.acc-document-entry-detail section > strong {
  display: block;
  margin-bottom: 6px;
  color: #344054;
  font-size: 12px;
}

.acc-document-entry-detail ul,
.acc-document-entry-detail ol {
  display: grid;
  gap: 5px;
  padding-left: 19px;
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
}

.acc-document-entry-detail p {
  color: #667085;
  font-size: 12px;
  line-height: 1.6;
}

.acc-document-entry-detail dl {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--acc-line);
  border-radius: 10px;
  background: var(--acc-line);
}

.acc-document-entry-detail dl > div {
  padding: 11px 12px;
  background: #fafbfc;
}

.acc-document-entry-detail dt {
  color: #7b8797;
  font-size: 10px;
}

.acc-document-entry-detail dd {
  margin: 4px 0 0;
  color: #344054;
  font-size: 12px;
  line-height: 1.55;
}

.acc-document-list h3 {
  color: #243046;
  font-size: 15px;
  line-height: 1.45;
}

.acc-document-list p {
  max-width: 75ch;
  margin-top: 6px;
  color: #667085;
  font-size: 13px;
  line-height: 1.7;
}

.acc-knowledge-atlas-section {
  margin-top: 14px;
  padding: 24px;
  border: 1px solid var(--acc-line);
  border-radius: 14px;
  background: #fff;
}

.acc-candidate-badge {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid #ead8bb;
  border-radius: 999px;
  background: #fff8ec;
  color: #8b601c;
  font-size: 10px;
  font-weight: 750;
}

.acc-knowledge-loading {
  padding: 18px;
  border-radius: 10px;
  background: #f6f8fb;
  color: #778399;
  font-size: 11px;
}

.acc-knowledge-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--acc-line);
  border-radius: 10px;
}

.acc-knowledge-summary span {
  display: flex;
  gap: 5px;
  align-items: baseline;
  justify-content: center;
  padding: 11px;
  border-right: 1px solid var(--acc-line);
  color: #667085;
  font-size: 12px;
}

.acc-knowledge-summary span:last-child { border-right: 0; }

.acc-knowledge-summary strong {
  color: #245da7;
  font-size: 18px;
}

.acc-knowledge-view-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 18px;
  padding: 4px;
  border: 1px solid #dfe5ee;
  border-radius: 10px;
  background: #f5f7fa;
}

.acc-knowledge-view-switch button {
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #667085;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.acc-knowledge-view-switch button:hover { color: #1f5fa9; }

.acc-knowledge-view-switch button[aria-selected="true"] {
  background: #fff;
  color: #174d91;
  box-shadow: 0 1px 3px rgba(22, 47, 83, .12);
}

.acc-knowledge-view-switch button:focus-visible {
  outline: 2px solid #2f75d6;
  outline-offset: 2px;
}

.acc-knowledge-scope-note {
  max-width: 78ch;
  margin: 14px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.65;
}

.acc-knowledge-atlas {
  display: grid;
  grid-template-columns: minmax(210px, .72fr) minmax(0, 1.6fr);
  min-height: 390px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--acc-line);
  border-radius: 11px;
  background: #fff;
}

.acc-knowledge-atlas > nav {
  display: grid;
  align-content: start;
  background: #f7f9fc;
  border-right: 1px solid var(--acc-line);
}

.acc-knowledge-atlas > nav button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #e8ecf2;
  background: transparent;
  color: #4f5e74;
  text-align: left;
  cursor: pointer;
}

.acc-knowledge-atlas > nav button:hover,
.acc-knowledge-atlas > nav button[aria-pressed="true"] {
  background: #fff;
  color: #174d91;
}

.acc-knowledge-atlas > nav button[aria-pressed="true"] {
  font-weight: 750;
}

.acc-knowledge-atlas > nav em {
  font-size: 11px;
  font-style: normal;
}

.acc-knowledge-atlas > nav span {
  font-size: 13px;
  font-weight: 700;
}

.acc-knowledge-atlas > nav em { color: #8793a5; }

.acc-knowledge-area {
  min-width: 0;
  padding: 24px 28px;
}

.acc-knowledge-area-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.acc-knowledge-area-head > div { display: flex; gap: 9px; align-items: baseline; }
.acc-knowledge-area-head h3 { margin: 0; color: #22304a; font-size: 20px; }
.acc-knowledge-area-head em,
.acc-risk-family-list article > span {
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff4e5;
  color: #8e5b13;
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}

.acc-knowledge-area-head .is-partial-active,
.acc-risk-family-list .is-runtime-active { background: #eaf7f0; color: #177553; }
.acc-risk-family-list .is-reference-only { background: #eef4ff; color: #2c64aa; }
.acc-knowledge-area-head .is-gap,
.acc-risk-family-list .is-gap { background: #f1f3f6; color: #758195; }

.acc-knowledge-area-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.acc-knowledge-area-summary section {
  padding: 12px 14px;
  border-radius: 9px;
  background: #f7f9fc;
}

.acc-knowledge-area-summary strong,
.acc-risk-family-list header strong { color: #344054; font-size: 12px; }
.acc-knowledge-area-summary ul { margin: 7px 0 0; padding-left: 16px; }
.acc-knowledge-area-summary li { margin-top: 5px; color: #5f6c80; font-size: 12px; line-height: 1.6; }

.acc-risk-family-list { margin-top: 16px; }
.acc-risk-family-list header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--acc-line);
}
.acc-risk-family-list header span { color: #8490a2; font-size: 11px; }
.acc-risk-family-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #eef1f5;
}
.acc-risk-family-list article > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; min-width: 0; }
.acc-risk-family-list b { color: #718096; font-size: 11px; }
.acc-risk-family-list article strong { color: #344054; font-size: 12px; }

.acc-governance > summary {
  padding: 16px 18px;
  color: #344054;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.acc-governance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 18px 18px;
}

.acc-governance-grid h3 {
  margin: 0 0 7px;
  font-size: 13px;
}

.acc-governance-grid p {
  margin: 0 0 6px;
  color: #6d798c;
  font-size: 11px;
  line-height: 1.6;
}

.acc-project-summary {
  margin-bottom: 18px;
}

.acc-project-package {
  padding: 20px;
  background: #fff;
}

.acc-project-package > header,
.acc-project-package > footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.acc-project-package > header h2 {
  margin: 0 0 5px;
  font-size: 17px;
}

.acc-project-package > header p {
  max-width: 74ch;
  margin: 0;
  color: var(--acc-muted);
  font-size: 12px;
  line-height: 1.55;
}

.acc-project-package > header > span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #f0f3f6;
  color: #667085;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.acc-project-package.is-adopted > header > span {
  background: #e8f5ef;
  color: var(--acc-green);
}

.acc-project-lock {
  display: grid;
  grid-template-columns: 120px 220px minmax(0, 1fr);
  gap: 1px;
  margin: 16px 0;
  overflow: hidden;
  border-radius: 10px;
  background: #e8ebef;
}

.acc-project-lock > div {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  background: #f8fafc;
}

.acc-project-lock span,
.acc-project-package fieldset small,
.acc-project-package footer small {
  color: #7c8797;
  font-size: 10px;
}

.acc-project-lock strong {
  overflow: hidden;
  color: #344054;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.acc-project-package fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px;
  border: 1px solid #e5e9ee;
  border-radius: 11px;
}

.acc-project-package legend {
  padding: 0 6px;
  color: #596579;
  font-size: 11px;
  font-weight: 800;
}

.acc-project-package fieldset label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
}

.acc-project-package fieldset input {
  margin-top: 3px;
  accent-color: var(--acc-blue);
}

.acc-project-package fieldset label span {
  display: grid;
  gap: 2px;
}

.acc-project-package fieldset strong {
  color: #344054;
  font-size: 12px;
}

.acc-project-package > footer {
  align-items: center;
  margin-top: 15px;
}

.acc-project-package > footer > div {
  display: grid;
  gap: 3px;
  color: #596579;
  font-size: 11px;
}

.acc-readonly {
  color: #8a94a3;
  font-size: 11px;
}

.acc-project-package > details {
  margin-top: 13px;
  border-top: 1px solid #edf0f3;
}

.acc-project-package > details > summary {
  padding-top: 12px;
  color: var(--acc-blue);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.acc-history {
  display: grid;
  gap: 1px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 9px;
  background: #e8ebef;
}

.acc-history > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 180px;
  gap: 10px;
  padding: 10px 12px;
  background: #fafbfc;
  color: #748094;
  font-size: 10px;
}

.acc-history strong {
  color: #344054;
  font-size: 11px;
}

#view-history .pt-capability-strip > header {
  flex-wrap: wrap;
  align-content: center;
  gap: 8px;
}

#view-history .pt-capability-all {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--acc-blue);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
}

.acc-page :focus-visible {
  outline: 3px solid rgba(23, 105, 232, .28);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .acc-page { width: min(100% - 24px, 1180px); }
  .acc-package-list { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
  .acc-foundation-groups { grid-template-columns: 1fr; }
  .acc-foundation-group-trigger + .acc-foundation-group-trigger { border-top: 1px solid var(--acc-line); border-left: 0; }
  .acc-detail-grid { grid-template-columns: 1fr; }
  .acc-base-catalog { grid-template-columns: 1fr; }
  .acc-governance-grid { grid-template-columns: 1fr; }
  .acc-tool-overview { grid-template-columns: 1fr; }
  .acc-tool-overview dl { border-top: 1px solid var(--acc-line); border-left: 0; }
  .acc-project-lock { grid-template-columns: 1fr 1fr; }
  .acc-project-lock > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .acc-page { width: calc(100% - 20px); padding-top: 18px; }
  .acc-page-head { display: grid; gap: 15px; }
  .acc-page-head-actions { justify-content: flex-start; }
  .acc-import { min-width: 0; justify-items: start; }
  .acc-import small { text-align: left; }
  .acc-import-help { grid-template-columns: 34px minmax(0, 1fr) 30px; }
  .acc-import-help .btn { grid-column: 2 / -1; justify-self: start; }
  .acc-toolbar { align-items: stretch; flex-direction: column; }
  .acc-toolbar > div { max-width: 100%; align-self: stretch; overflow-x: auto; }
  .acc-package-list { grid-template-columns: 1fr; }
  .acc-package-card { min-height: 154px; }
  .acc-package-section-head { align-items: stretch; flex-direction: column; }
  .acc-package-filters { align-self: flex-start; }
  .acc-package-preview-tasks article { grid-template-columns: 1fr; gap: 5px; }
  .acc-package-preview-tasks article > span { white-space: normal; }
  .acc-package-preview > footer { align-items: stretch; flex-direction: column; }
  .acc-search-result { grid-template-columns: 82px minmax(0, 1fr) 16px; gap: 10px; }
  .acc-resource-list { grid-template-columns: 1fr; }
  .acc-resource-list button + button { border-top: 1px solid var(--acc-line); border-left: 0; padding-left: 12px; }
  .acc-foot-summary, .acc-detail-band, .acc-project-summary { grid-template-columns: 1fr; }
  .acc-task-list article { grid-template-columns: 1fr; }
  .acc-knowledge-entry { align-items: stretch; flex-direction: column; gap: 18px; }
  .acc-knowledge-entry-action { justify-items: start; }
  .acc-capability-structure-list button { grid-template-columns: 36px minmax(0, 1fr) 18px; }
  .acc-capability-structure-list em { display: none; }
  .acc-document-title { flex-wrap: wrap; }
  .acc-document-title > .acc-candidate-badge,
  .acc-document-title > .acc-installed-count { margin-left: 0; }
  .acc-document-body { padding: 20px; }
  .acc-document-entry-detail,
  .acc-document-entry-detail dl { grid-template-columns: 1fr; }
  .acc-tool-result { grid-template-columns: 1fr; }
  .acc-detail-title-row, .acc-review > header, .acc-review > footer { align-items: stretch; flex-direction: column; }
  .acc-review > header > strong { max-width: none; text-align: left; }
  .acc-review-checks, .acc-base-detail-grid, .acc-mode-section > div:last-child { grid-template-columns: 1fr; }
  .acc-project-package > header, .acc-project-package > footer { align-items: stretch; flex-direction: column; }
  .acc-project-lock { grid-template-columns: 1fr; }
  .acc-project-lock > div:last-child { grid-column: auto; }
  .acc-history > div { grid-template-columns: 1fr; }
}

/* 六个任务环节共用：只在主页面保留一条能力启动器。 */
.task-capability-context {
  position: relative;
  z-index: 32;
  margin: 0 0 16px;
  overflow: visible;
}

.task-capability-launcher {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 15px 10px 22px;
  border: 1px solid #dce3ec;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .025);
}

.task-capability-launcher-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 22px;
}

.task-capability-launcher-copy > strong {
  flex: 0 0 auto;
  color: #162033;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: .01em;
}

.task-capability-launcher-copy > span {
  width: 1px;
  height: 26px;
  flex: 0 0 auto;
  background: #e5e9ef;
}

.task-capability-launcher-copy > p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #667085;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-capability-launcher-copy > p b { color: #344054; font-weight: 650; }

.task-capability-toggle {
  appearance: none;
  min-height: 38px;
  padding: 0 17px;
  flex: 0 0 auto;
  border: 1px solid #94b7ff;
  border-radius: 10px;
  background: #fff;
  color: #1769e8;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 730;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.task-capability-toggle:hover,
.task-capability-toggle[aria-expanded="true"] {
  border-color: #1769e8;
  background: #f6f9ff;
  box-shadow: 0 0 0 3px rgba(23, 105, 232, .08);
}

.task-capability-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(460px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid #dfe4eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(16, 24, 40, .14), 0 3px 12px rgba(16, 24, 40, .06);
}

.task-capability-popover[hidden],
.task-capability-base-panel[hidden],
.task-capability-item-status[hidden] { display: none !important; }

.task-capability-mode {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-bottom: 1px solid #edf0f4;
  background: #fafbfc;
}

.task-capability-mode strong {
  flex: 0 0 auto;
  color: #175cd3;
  font-size: 11px;
  font-weight: 730;
}

.task-capability-mode span {
  overflow: hidden;
  color: #667085;
  font-size: 10px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-capability-package-choice {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 18px;
  border-bottom: 1px solid #edf0f4;
}

.task-capability-package-choice label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.task-capability-package-choice label > span,
.task-capability-package-choice > small {
  flex: 0 0 auto;
  color: #98a2b3;
  font-size: 9px;
}

.task-capability-package-choice strong {
  overflow: hidden;
  color: #344054;
  font-size: 12px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-capability-package-choice select {
  max-width: 270px;
  min-height: 32px;
  padding: 0 28px 0 9px;
  border: 1px solid #d7dde6;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font: inherit;
  font-size: 11px;
}

.task-capability-recommend { padding: 16px 18px; }

.task-capability-recommend > h3 {
  margin: 0 0 10px;
  color: #596579;
  font-size: 12px;
  font-weight: 720;
}

.task-capability-item { background: #fff; }

.task-capability-recommended {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid #80a9ff;
  border-radius: 11px;
  box-shadow: 0 0 0 2px rgba(23, 105, 232, .035);
}

.task-capability-item-copy { display: grid; min-width: 0; gap: 5px; }
.task-capability-item-copy > strong { overflow: hidden; color: #243047; font-size: 13px; font-weight: 690; text-overflow: ellipsis; white-space: nowrap; }
.task-capability-item-copy > small {
  justify-self: start;
  padding: 2px 6px;
  border-radius: 5px;
  background: #eaf8ef;
  color: #18794e;
  font-size: 9px;
  font-weight: 720;
}

.task-capability-recommended > button {
  appearance: none;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: #1769e8;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 730;
  box-shadow: 0 3px 8px rgba(23, 105, 232, .19);
}

.task-capability-recommended > button:hover { background: #0f5fd7; }
.task-capability-recommended > button:disabled { cursor: not-allowed; opacity: .45; }

.task-capability-others {
  padding: 0 18px 12px;
  border-top: 1px solid #edf0f4;
}

.task-capability-others > summary {
  padding: 11px 0 7px;
  color: #667085;
  cursor: pointer;
  font-size: 10px;
  font-weight: 650;
  list-style-position: inside;
}

.task-capability-others > div { display: grid; gap: 1px; padding-top: 2px; }

.task-capability-other { min-width: 0; }
.task-capability-other-action {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #344054;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  text-align: left;
}

.task-capability-other-action:hover { background: #f6f8fb; color: #175cd3; }
.task-capability-other-action span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-capability-other-action svg { width: 14px; height: 14px; flex: 0 0 auto; color: #98a2b3; }
.task-capability-other-action:disabled { cursor: not-allowed; opacity: .45; }

.task-capability-item-status {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 10px;
  line-height: 1.5;
}
.task-capability-item-status.is-success { background: #ecfdf3; color: #027a48; }
.task-capability-item-status.is-error { background: #fef3f2; color: #b42318; }
.task-capability-item-status.is-info { background: #eff8ff; color: #175cd3; }
.task-capability-empty { margin: 0; padding: 4px 0 8px; color: #667085; font-size: 12px; line-height: 1.6; }

.task-capability-dispatch-note {
  margin: 0;
  padding: 10px 18px;
  border-top: 1px solid #f0f2f5;
  background: #fbfcfd;
  color: #7a8595;
  font-size: 9px;
  line-height: 1.55;
}

.task-capability-popover-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid #edf0f4;
}

.task-capability-popover-footer button {
  appearance: none;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1769e8;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 680;
}
.task-capability-popover-footer button:last-child { color: #667085; font-weight: 590; }
.task-capability-popover-footer svg { width: 13px; height: 13px; transition: transform .16s ease; }
.task-capability-popover-footer [aria-expanded="true"] svg { transform: rotate(90deg); }

.task-capability-base-panel {
  max-height: 240px;
  overflow: auto;
  padding: 0 18px 15px;
  border-top: 1px solid #f0f2f5;
}
.task-capability-base-panel .task-capability-list { display: grid; gap: 1px; padding-top: 10px; }
.task-capability-base-panel .task-capability-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 5px 2px;
  border-bottom: 1px solid #f0f2f5;
}
.task-capability-base-panel .task-capability-item:last-child { border-bottom: 0; }
.task-capability-base-panel .task-capability-item-copy strong { font-size: 11px; font-weight: 620; }
.task-capability-base-panel .task-capability-item > button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #d7dde6;
  border-radius: 8px;
  background: #fff;
  color: #475467;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
}
.task-capability-base-panel .task-capability-item > button:disabled { cursor: not-allowed; opacity: .45; }

.task-capability-reference[hidden],
[data-task-capability-picker][hidden] { display: none !important; }

.task-capability-reference { padding: 16px 18px 18px; }
.task-capability-reference > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.task-capability-reference > header > button {
  appearance: none;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1769e8;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 680;
}
.task-capability-reference > header > button svg { width: 13px; height: 13px; }
.task-capability-reference > header > span { color: #98a2b3; font-size: 10px; }
.task-capability-reference-title { display: grid; gap: 5px; }
.task-capability-reference-title strong { color: #162033; font-size: 14px; line-height: 1.4; }
.task-capability-reference-title small { color: #667085; font-size: 10px; }
.task-capability-reference-objective {
  margin: 12px 0;
  color: #475467;
  font-size: 11px;
  line-height: 1.65;
}
.task-capability-reference-data {
  padding: 10px 11px;
  border-radius: 9px;
  background: #f6f8fb;
}
.task-capability-reference-data > span { color: #175cd3; font-size: 9px; font-weight: 730; }
.task-capability-reference-data > p { margin: 4px 0 0; color: #475467; font-size: 10px; line-height: 1.55; }
.task-capability-reference > ol { display: grid; gap: 9px; margin: 14px 0; padding: 0; list-style: none; }
.task-capability-reference > ol li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; align-items: start; }
.task-capability-reference > ol li > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #eef4ff;
  color: #175cd3;
  font-size: 9px;
  font-weight: 750;
}
.task-capability-reference > ol li > p { margin: 1px 0 0; color: #344054; font-size: 10px; line-height: 1.55; }
.task-capability-reference > footer {
  padding-top: 11px;
  border-top: 1px solid #edf0f4;
  color: #7b8596;
  font-size: 9px;
  line-height: 1.55;
}

#view-walkthrough > .task-capability-context,
#view-auditinterview > .task-capability-context {
  width: min(100% - 34px, 1280px);
  margin: 14px auto 14px;
}

@media (min-width: 1181px) {
  #view-walkthrough:has(.uaw-shell:not(.is-context-collapsed)) > .task-capability-context {
    width: min(calc(100% - 358px), 956px);
    margin-right: 341px;
    margin-left: 17px;
  }
}

@media (max-width: 760px) {
  .task-capability-launcher { min-height: 60px; gap: 10px; padding: 9px 10px 9px 14px; }
  .task-capability-launcher-copy { gap: 10px; }
  .task-capability-launcher-copy > span { display: none; }
  .task-capability-launcher-copy > strong { font-size: 12px; }
  .task-capability-launcher-copy > p { font-size: 11px; }
  .task-capability-toggle { min-height: 34px; padding: 0 11px; }
  .task-capability-popover { right: 0; width: 100%; }
  .task-capability-mode { align-items: flex-start; flex-direction: column; gap: 3px; }
  .task-capability-mode span { white-space: normal; }
  .task-capability-package-choice { align-items: flex-start; flex-direction: column; gap: 6px; }
  .task-capability-package-choice label { width: 100%; align-items: flex-start; flex-direction: column; gap: 5px; }
  .task-capability-package-choice select { width: 100%; max-width: none; }
  .task-capability-popover-footer { align-items: flex-start; flex-direction: column; }
}

/* 2026-08-27: Harness 顶部条只承载任务上下文，不再复制右侧能力目录。 */
.task-capability-launcher {
  min-height: 54px;
  padding: 8px 12px 8px 18px;
}

.task-capability-launcher-state {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}

.task-capability-launcher-state span,
.task-capability-launcher-state em {
  max-width: 230px;
  overflow: hidden;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f2f6fb;
  color: #526177;
  font-size: 10px;
  font-style: normal;
  font-weight: 680;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-capability-launcher-state em {
  background: #edf4ff;
  color: #245bd7;
}

.task-capability-toggle {
  min-height: 32px;
  padding: 0 11px;
  border-color: #d8e0eb;
  border-radius: 8px;
  color: #475467;
}

.task-capability-popover { width: min(390px, calc(100vw - 36px)); }

.task-capability-context-summary {
  display: grid;
  gap: 4px;
  padding: 15px 18px;
}

.task-capability-context-summary span { color: #98a2b3; font-size: 9px; font-weight: 700; }
.task-capability-context-summary strong { color: #253249; font-size: 13px; }
.task-capability-context-summary small { color: #667085; font-size: 10px; line-height: 1.55; }
.task-capability-popover-footer { justify-content: flex-end; }

/* A professional package can be proven with project-scoped synthetic data.
   The import stays inline: select, verify and commit without opening a second tool. */
.acc-demo-data {
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid var(--acc-line);
  border-bottom: 1px solid var(--acc-line);
}

.acc-demo-data > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
}

.acc-demo-data h2,
.acc-demo-data h3,
.acc-demo-data p { margin: 0; }
.acc-demo-data h2 { color: var(--acc-ink); font-size: 19px; letter-spacing: -.02em; }
.acc-demo-data > header p { max-width: 68ch; margin-top: 5px; color: var(--acc-muted); font-size: 13px; line-height: 1.55; }

.acc-demo-download {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid #d6dde8;
  border-radius: 10px;
  background: #fff;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.acc-demo-download:hover { border-color: #9cb9ea; color: var(--acc-blue); }
.acc-demo-download:focus-visible,
.acc-demo-data button:focus-visible,
.acc-demo-confirm:has(input:focus-visible) { outline: 3px solid rgba(23, 105, 232, .22); outline-offset: 2px; }
.acc-demo-download svg,
.acc-demo-ready button svg { width: 16px; height: 16px; }

.acc-demo-ready,
.acc-demo-result,
.acc-demo-empty {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(240px, 1.3fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 92px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #f5f7fa;
}
.acc-demo-ready > div { display: grid; gap: 4px; }
.acc-demo-ready > .acc-demo-ready-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.acc-demo-ready strong,
.acc-demo-empty strong { color: var(--acc-ink); font-size: 14px; }
.acc-demo-ready span,
.acc-demo-empty span,
.acc-demo-ready > p { color: var(--acc-muted); font-size: 12px; line-height: 1.55; }
.acc-demo-ready .btn,
.acc-demo-actions .btn { min-height: 38px; }

.acc-demo-empty { grid-template-columns: minmax(0, 1fr) auto; }
.acc-demo-empty strong,
.acc-demo-empty span { grid-column: 1; }
.acc-demo-empty button { grid-column: 2; grid-row: 1 / span 2; min-height: 38px; padding: 0 14px; border: 1px solid #d6dde8; border-radius: 10px; background: #fff; color: #344054; cursor: pointer; font-weight: 700; }

.acc-demo-error {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  padding: 11px 13px;
  border-radius: 10px;
  background: #fff1f1;
  color: #a33030;
  font-size: 12px;
  line-height: 1.5;
}
.acc-demo-error svg { width: 17px; height: 17px; flex: 0 0 auto; }

.acc-demo-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  max-width: 440px;
  margin: 0 0 16px;
  padding: 4px;
  border-radius: 11px;
  background: #eef1f5;
}
.acc-demo-steps span { padding: 7px 10px; border-radius: 8px; color: #7a8595; font-size: 11px; font-weight: 700; text-align: center; }
.acc-demo-steps .is-complete { color: #3f5f55; }
.acc-demo-steps .is-active { background: #fff; color: var(--acc-blue); box-shadow: 0 5px 14px rgba(28, 39, 60, .08); }

.acc-demo-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  overflow: hidden;
  border: 1px solid var(--acc-line);
  border-radius: 14px;
  background: #fff;
}
.acc-demo-preview-main { padding: 20px 22px; }
.acc-demo-preview-main > span { color: #7a8595; font-size: 11px; font-weight: 700; }
.acc-demo-preview-main h3 { margin-top: 4px; color: var(--acc-ink); font-size: 17px; letter-spacing: -.02em; }
.acc-demo-preview-main > p { margin-top: 6px; color: var(--acc-muted); font-size: 12px; line-height: 1.55; }
.acc-demo-preview-main dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0 0; }
.acc-demo-preview-main dl div { min-width: 0; }
.acc-demo-preview-main dt { color: #8a94a3; font-size: 10px; }
.acc-demo-preview-main dd { overflow: hidden; margin: 5px 0 0; color: #344054; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }

.acc-demo-files {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--acc-line);
}

.acc-demo-files > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.acc-demo-files > header > div { display: grid; gap: 3px; }
.acc-demo-files > header strong { color: #344054; font-size: 12px; }
.acc-demo-files > header span,
.acc-demo-files > header em { color: #7a8595; font-size: 10px; font-style: normal; line-height: 1.45; }

.acc-demo-files ul {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.acc-demo-files li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 7px 0;
}

.acc-demo-files li + li { border-top: 1px solid #edf0f4; }
.acc-demo-file-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: #eef3f8; color: #5274a9; }
.acc-demo-file-icon.is-xlsx,
.acc-demo-file-icon.is-csv { background: #e7f5ee; color: #157a50; }
.acc-demo-file-icon svg { width: 15px; height: 15px; }
.acc-demo-files li > div { min-width: 0; }
.acc-demo-files li strong,
.acc-demo-files li small { display: block; }
.acc-demo-files li strong { overflow: hidden; color: #344054; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.acc-demo-files li small { overflow: hidden; margin-top: 2px; color: #7a8595; font-size: 9px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.acc-demo-files li > em { display: grid; gap: 2px; color: #667085; font-size: 10px; font-style: normal; text-align: right; }
.acc-demo-files li > em small { margin: 0; color: #8a94a3; font-size: 8px; }
.acc-demo-file-legacy { display: grid; gap: 3px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--acc-line); }
.acc-demo-file-legacy strong { color: #344054; font-size: 11px; }
.acc-demo-file-legacy span { color: #7a8595; font-size: 10px; line-height: 1.5; }

.acc-demo-task-list {
  display: grid;
  align-content: center;
  gap: 0;
  margin: 0;
  padding: 12px 18px;
  border-left: 1px solid var(--acc-line);
  list-style: none;
  background: #f8fafc;
}
.acc-demo-task-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 9px; padding: 8px 0; }
.acc-demo-task-list li + li { border-top: 1px solid #e8edf3; }
.acc-demo-task-list li > span { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 8px; background: #edf3fb; color: #5274a9; }
.acc-demo-task-list li.is-ready > span { background: #e7f5ee; color: #157a50; }
.acc-demo-task-list svg { width: 14px; height: 14px; }
.acc-demo-task-list strong,
.acc-demo-task-list small { display: block; }
.acc-demo-task-list strong { color: #344054; font-size: 11px; }
.acc-demo-task-list small { margin-top: 2px; color: #7a8595; font-size: 10px; }

.acc-demo-confirm {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 11px;
  background: #f7f9fc;
  cursor: pointer;
}
.acc-demo-confirm input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--acc-blue); }
.acc-demo-confirm span { display: grid; gap: 3px; }
.acc-demo-confirm strong { color: #344054; font-size: 12px; }
.acc-demo-confirm small { color: var(--acc-muted); font-size: 11px; line-height: 1.5; }

.acc-demo-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 14px; }
.acc-demo-actions .btn:disabled { cursor: not-allowed; opacity: .48; }

.acc-demo-result {
  grid-template-columns: 42px minmax(230px, .8fr) minmax(320px, 1.1fr);
  padding: 16px 18px;
  background: #f3f8f5;
}
.acc-demo-result > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #dff2e8; color: var(--acc-green); }
.acc-demo-result > span svg { width: 18px; height: 18px; }
.acc-demo-result > div strong { color: #17392d; font-size: 14px; }
.acc-demo-result > div p { margin-top: 4px; color: #526b62; font-size: 11px; line-height: 1.55; }
.acc-demo-result .acc-demo-task-list { border-left-color: #dfeae4; background: transparent; }
.acc-demo-result-actions { margin-top: 12px; }

@media (max-width: 900px) {
  .acc-demo-preview { grid-template-columns: 1fr; }
  .acc-demo-task-list { border-top: 1px solid var(--acc-line); border-left: 0; }
  .acc-demo-result { grid-template-columns: 42px 1fr; }
  .acc-demo-result .acc-demo-task-list { grid-column: 1 / -1; border-top-color: #dfeae4; }
}

#view-walkthrough > .task-capability-context,
#view-auditinterview > .task-capability-context {
  width: min(100% - 34px, 1280px);
  margin: 14px auto;
}

@media (min-width: 1181px) {
  #view-walkthrough:has(.uaw-shell:not(.is-context-collapsed)) > .task-capability-context {
    width: min(100% - 34px, 1280px);
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .acc-demo-data > header { display: grid; gap: 14px; }
  .acc-demo-download { justify-self: start; }
  .acc-demo-ready { grid-template-columns: 1fr; gap: 12px; }
  .acc-demo-ready > .acc-demo-ready-actions { justify-content: flex-start; flex-wrap: wrap; }
  .acc-demo-empty { grid-template-columns: 1fr; }
  .acc-demo-empty button { grid-column: 1; grid-row: auto; justify-self: start; }
  .acc-demo-preview-main dl { grid-template-columns: 1fr; }
  .acc-demo-files li { grid-template-columns: 30px minmax(0, 1fr); }
  .acc-demo-files li > em { grid-column: 2; justify-self: start; text-align: left; }
  .acc-demo-actions { justify-content: stretch; }
  .acc-demo-actions .btn { flex: 1; }
  .task-capability-launcher-state span { display: none; }
  .task-capability-launcher-state { margin-left: 0; }
  .task-capability-launcher-copy > p { max-width: 46vw; }
  .acc-knowledge-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-knowledge-summary span:nth-child(2) { border-right: 0; }
  .acc-knowledge-summary span:nth-child(-n+2) { border-bottom: 1px solid var(--acc-line); }
  .acc-knowledge-atlas { grid-template-columns: 1fr; }
  .acc-knowledge-atlas > nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--acc-line);
  }
  .acc-knowledge-area-summary { grid-template-columns: 1fr; }
  .acc-risk-family-list article > div { grid-template-columns: 1fr; gap: 2px; }
}
