
.ds-panel > .ad-sheet-content {
  display: contents;   
}
.ds-panel__entity-text > h2 {
  margin: 0;
  font-size: var(--ds-size-16);
  line-height: var(--ds-leading-body);
  font-weight: var(--ds-weight-medium);
  letter-spacing: var(--ds-tracking-normal);
  color: var(--ds-text-strong);
  overflow-wrap: anywhere;
}
.ds-panel h2[tabindex="-1"]:focus {
  outline: none;
}
.ds-panel__entity + .ds-panel__text {
  margin-top: var(--ds-space-3);
}
.ds-panel__entity-text > small > strong {
  font-weight: var(--ds-weight-medium);
  color: var(--ds-text);
  overflow-wrap: anywhere;
}
.ds-panel__tile > img {
  width: var(--ds-icon-nav);
  height: var(--ds-icon-nav);
}
.ds-panel__row > img {
  flex: none;
  width: var(--ds-icon-sm);
  height: var(--ds-icon-sm);
}
.ds-panel__label > .icon {
  width: var(--ds-icon-sm);
  height: var(--ds-icon-sm);
}
.ds-panel button.ds-panel__row {
  width: 100%;
  text-align: left;
}

.ds-panel button.ds-panel__row:focus-visible,
.wo-node-ownership .wo-owner-link:focus-visible {
  outline: none;
  background: var(--ds-hover);
}
.wf-source-details summary:focus-visible {
  outline: none;
  color: var(--ds-text-strong);
}
.ds-panel__row > .icon:last-child {
  width: var(--ds-icon-xs);
  height: var(--ds-icon-xs);
}

.wf-panel-note {
  display: flex;
  align-items: flex-start;
  gap: var(--ds-space-2);
  flex: 1 1 200px;
  min-width: 0;
  margin: 0;
  font-size: var(--ds-size-13);
  line-height: var(--ds-leading-body);
  color: var(--ds-text-faint);
}
.wf-panel-note > .icon {
  flex: none;
  width: var(--ds-icon-sm);
  height: var(--ds-icon-sm);
  margin-top: 2px;
}


.wf-sheet-actions {
  display: flex;
  align-items: center;
  flex: none;
  gap: var(--ds-space-1);
}
dialog.ds-panel.wf-sheet.is-expanded {
  width: min(960px, calc(100vw - 2 * var(--ds-shell-gap)));
}
.wf-sheet-content:focus-visible {
  outline: none;
}
.wf-help-copy {
  margin: var(--ds-space-3) 0 0;
  font-size: var(--ds-size-13);
  line-height: var(--ds-leading-body);
  color: var(--ds-text-muted);
  overflow-wrap: anywhere;
}
.ds-panel__label + .wf-help-copy {
  margin-top: 0;
}
.wf-help-copy + :is(.wf-handoffs, .wf-empty-detail) {
  margin-top: var(--ds-space-3);
}

.wf-properties {
  display: grid;
  gap: var(--ds-space-2-5);
  margin: 0;
}
.wf-properties > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-4);
  font-size: var(--ds-size-14);
  line-height: var(--ds-leading-body);
}
.wf-properties dt {
  flex: none;
  color: var(--ds-text-muted);
}
.wf-properties dd {
  display: flex;
  align-items: center;
  gap: var(--ds-space-2);
  min-width: 0;
  margin: 0;
  text-align: right;
  color: var(--ds-text);
  overflow-wrap: anywhere;
}
.wf-properties .icon,
.wf-properties .wf-provider-logo {
  flex: none;
  width: var(--ds-icon-sm);
  height: var(--ds-icon-sm);
  color: var(--ds-text-faint);
}
.wf-requirements {
  display: grid;
  gap: var(--ds-space-2-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.wf-requirements li {
  display: flex;
  gap: var(--ds-space-2-5);
  font-size: var(--ds-size-14);
  line-height: var(--ds-leading-body);
  color: var(--ds-text);
}
.wf-requirements .icon {
  flex: none;
  width: var(--ds-icon-sm);
  height: var(--ds-icon-sm);
  margin-top: 3px;
  color: var(--ds-text-faint);
}
.wf-readable-copy {
  white-space: pre-wrap;
}
.wf-gate-condition .wf-source-discrepancy {
  margin-top: var(--ds-space-3);
}
.wf-permissions {
  margin: 0;
  padding: 0;
  list-style: none;
}
.wf-permissions > .ds-count {
  min-width: 0;
  overflow-wrap: anywhere;
}
.wf-empty-detail {
  margin: 0;
  font-size: var(--ds-size-14);
  line-height: var(--ds-leading-body);
  color: var(--ds-text-muted);
}

.wf-source-details {
  color: var(--ds-text-muted);
}
.wf-source-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-3);
  min-height: var(--ds-control-sm);
  list-style: none;
  font-size: var(--ds-size-14);
  line-height: var(--ds-leading-body);
  color: var(--ds-text);
  cursor: pointer;
}
.wf-source-details summary::-webkit-details-marker {
  display: none;
}
.wf-source-details summary > .icon {
  flex: none;
  width: var(--ds-icon-xs);
  height: var(--ds-icon-xs);
  color: var(--ds-text-faint);
  transition: transform var(--ds-duration-hover) ease;
}
.wf-source-details[open] summary > .icon {
  transform: rotate(90deg);
}
.wf-source-details > p,
.wf-source-details > small {
  display: block;
  margin: var(--ds-space-2) 0 0;
  font-size: var(--ds-size-13);
  line-height: var(--ds-leading-body);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.wf-contract-original {
  margin: var(--ds-space-3) 0 0;
  padding: var(--ds-space-3);
  border-radius: var(--ds-radius-md);
  background: var(--ds-control-fill);
  box-shadow: var(--ds-shadow-card);
  color: var(--ds-text);
  font-family: var(--ds-font);
  font-size: var(--ds-size-13);
  line-height: var(--ds-leading-body);
  font-variant-numeric: var(--ds-numeric);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 740px) {
  .wf-sheet-actions > .wf-expand-sheet {
    display: none;
  }
}
