/* Dialog behaviour/layout; typography and colours consume the website roles. */
body.info-dialog-open { overflow: hidden; }
.managed-it-section { margin-top: 0; }
.managed-it-entry { display: flex; flex-wrap: wrap; align-items: start; gap: var(--action-gap); }
.managed-it-entry .actions { margin: 0; }
.info-disclosure { min-width: 0; }
.info-disclosure > summary { list-style: none; cursor: pointer; }
.info-disclosure > summary::-webkit-details-marker { display: none; }
.info-disclosure[open] { flex-basis: 100%; }
.info-disclosure[open] > .info-dialog__content { margin-top: 24px; }
.info-dialog {
  width: min(960px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: var(--surface-solid);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.info-dialog::backdrop { background: rgb(0 0 0 / 0.6); }
.info-dialog__header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(22px, 4vw, 40px) 24px;
  background: var(--surface-solid);
  border-bottom: 1px solid var(--line);
}
.info-dialog__header .context { margin-bottom: 10px; }
.info-dialog__header h2 { font-size: var(--type-article-h2); line-height: var(--leading-article-heading); }
.info-dialog__close { flex: 0 0 auto; padding-inline: 14px; }
.info-dialog__close[hidden] { display: none; }
.info-dialog__body { display: grid; gap: 32px; padding: 28px clamp(22px, 4vw, 40px) 36px; }
.info-dialog__body section, .info-dialog__footer { display: grid; gap: 14px; min-width: 0; }
.info-dialog__body h3 { font-size: var(--type-card-title); line-height: var(--leading-article-heading); }
.info-dialog__body h4 { font-size: var(--type-body-lg); line-height: 1.4; }
.info-dialog__body p, .responsibility-table { font-size: var(--type-body-lg); line-height: 1.55; color: var(--muted); }
.info-dialog__body p a { color: var(--accent-solid); text-decoration: underline; text-underline-offset: 3px; }
.info-dialog__footer { border-top: 1px solid var(--line); padding-top: 28px; }
.info-dialog__footer .actions { justify-content: start; margin: 4px 0; }
.responsibility-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.responsibility-table th, .responsibility-table td { padding: 16px 14px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.responsibility-table th { color: var(--ink); font-weight: 620; }
.responsibility-table thead th { font-size: 14px; background: var(--surface); }
.responsibility-table th:first-child { width: 12rem; padding-left: 0; }
.responsibility-table__label { display: none; }
.managed-it-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.managed-it-examples article { display: grid; align-content: start; gap: 10px; padding: 22px; background: var(--surface); border-radius: var(--radius-lg); }
.info-dialog__body .managed-it-example-note { font-size: 14px; }
@media (max-width: 720px) {
  .info-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .info-dialog__header { padding: 22px 20px 18px; gap: 12px; }
  .info-dialog__header h2 { font-size: var(--type-card-title); }
  .info-dialog__header .context { font-size: 14px; }
  .info-dialog__close { width: 44px; min-width: 44px; flex-basis: 44px; padding: 0; }
  .info-dialog__close span:not(.icon) { display: none; }
  .info-dialog__body { padding: 24px 20px; }
  .responsibility-table, .responsibility-table tbody, .responsibility-table tr { display: block; }
  .responsibility-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .responsibility-table tr { border-bottom: 1px solid var(--line); padding: 18px 0; }
  .responsibility-table th, .responsibility-table td { display: block; border: 0; padding: 8px 0; }
  .responsibility-table th:first-child { width: auto; padding-top: 0; }
  .responsibility-table__label { display: block; color: var(--ink-soft); font-size: 14px; font-weight: 620; margin-bottom: 4px; }
  .managed-it-examples { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
