.ed-grid-shell {
  margin: 1.15rem 0 1.8rem;
  max-width: 100%;
  border: 1px solid #ccd4da;
  background: #fff;
}

.ed-grid-scroller {
  overflow-x: auto;
  scrollbar-color: #678094 #e7edf2;
}

.ed-grid-scroller .ed-table {
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: #192631;
  font-size: .9375rem;
  line-height: 1.48;
}

.ed-grid-scroller .ed-table :is(th, td) {
  padding: .75rem .8rem;
  border-bottom: 1px solid #cbd6de;
  border-right: 1px solid #cbd6de;
  overflow-wrap: break-word;
}

.ed-grid-scroller .ed-table :is(th, td):last-child { border-right: 0; }
.ed-grid-scroller .ed-table thead th { background: #1a2834; color: #fff; }
.ed-grid-scroller .ed-table thead th:not(:last-child) { border-right-color: #4e6272; }
.ed-grid-scroller .ed-table tbody th[scope="row"] { background: #e7eff5; color: #172b3a; }
.ed-grid-scroller .ed-table tbody tr:nth-child(even) { background: #f1f5f8; }
.ed-grid-scroller .ed-table tbody tr:nth-child(even) th[scope="row"] { background: #dae7f0; }
.ed-grid-scroller .ed-table tbody tr[hidden] { display: none; }
.ed-grid-scroller .ed-table tbody tr:last-child :is(th, td) { border-bottom: 0; }
.ed-grid-scroller .ed-table:not(.ed-fill) thead th:first-child { width: 32%; }

.ed-grid-shell .ed-grid-hint {
  margin: 0;
  padding: .5rem .8rem;
  border-bottom: 1px solid #ccd4da;
  background: #f4f7f9;
  color: #304859;
  font-size: .875rem;
}

@media screen and (min-width: 1100px) {
  .ed-guide .ed-grid-extra-wide {
    --table-width: min(66rem, calc(100vw - 7rem));
    width: var(--table-width);
    max-width: none;
    margin-inline: calc((100% - var(--table-width)) / 2);
  }
}

@media screen {
  .ed-grid-wide .ed-table { min-width: calc(6.75rem + (var(--columns) - 1) * 10.25rem); }
  .ed-grid-wide .ed-table:not(.ed-fill) thead th:first-child {
    width: clamp(6.75rem, 22vw, 11rem);
  }
  .ed-grid-wide .ed-table :is(thead th:first-child, tbody th[scope="row"]:first-child) {
    position: sticky;
    inset-inline-start: 0;
    z-index: 1;
  }
}

.ed-grid-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .75rem;
  padding: .8rem;
  border-bottom: 1px solid #ccd4da;
  background: #f1f4f6;
}

.ed-grid-label {
  display: grid;
  gap: .3rem;
  flex: 1 1 10.5rem;
  min-width: 0;
  color: #253544;
  font-size: .875rem;
  font-weight: 700;
}

.ed-grid-toolbar :is(input, select, button) {
  box-sizing: border-box;
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  padding: .45rem .65rem;
  color: #192733;
  border: 1px solid #778793;
  border-radius: 3px;
  background: #fff;
  font: 1rem/1.2 Arial, sans-serif;
}

.ed-grid-toolbar .ed-tool { cursor: pointer; font-size: .91rem; font-weight: 700; }
.ed-grid-toolbar .ed-tool:disabled { opacity: .57; cursor: default; }
.ed-grid-status { align-self: flex-end; padding: .66rem 0; color: #293b4a; font-size: .875rem; }
.ed-grid-shell .ed-grid-empty { margin: 0; padding: .75rem .8rem; }
.ed-grid-shell .ed-grid-empty[hidden] { display: none; }

@media (max-width: 600px) {
  .ed-grid-scroller .ed-table :is(th, td) { padding: .65rem .55rem; }
}

.ed-map-ready > :is(.ed-flow, .ed-branches) { display: none; }

.ed-body .ed-map-instruction {
  margin: .7rem 0 .55rem;
  color: #364e62;
  font-size: .88rem;
}

.ed-map-explorer { container-type: inline-size; }

.ed-map-stage {
  --vertical: 0;
  position: relative;
  display: grid;
  gap: 2.1rem;
  padding: 1.1rem;
  border: 1px solid #2f465a;
  background: radial-gradient(ellipse at 50% 0%, #263f55, #102333 68%);
}

.ed-map-connections {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ed-map-stage .ed-map-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ed-map-node {
  width: 100%;
  height: 100%;
  min-height: 3.7rem;
  padding: .6rem .52rem;
  border: 1px solid #7597b0;
  border-radius: 4px;
  background: #213d53;
  box-shadow: 0 3px 0 #0a1928;
  color: #fff;
  cursor: pointer;
  font: 700 .94rem/1.28 Arial, sans-serif;
  overflow-wrap: anywhere;
}

.ed-map-node:hover { background: #34556d; }
.ed-map-node[aria-pressed="true"] {
  color: #1c2024;
  background: #ffc36b;
  border-color: #ffe1af;
}

.ed-map-node:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.ed-map-detail {
  padding: .7rem .84rem;
  border: 1px solid #cedae2;
  border-top: 0;
  background: #fff;
  color: #142c3d;
}

.ed-body .ed-map-detail p { margin: .2rem 0 0; }

@container (max-width: 530px) {
  .ed-map-stage { --vertical: 1; padding: .9rem 1rem; gap: 1.65rem; }
  .ed-map-stage .ed-map-list {
    grid-auto-flow: row;
    grid-auto-columns: minmax(0, 1fr);
    gap: .85rem;
  }
  .ed-map-stage .ed-map-options { margin-left: 1.35rem; }
  .ed-map-node { min-height: 2.9rem; text-align: left; padding: .6rem .72rem; }
}

@media print {
  .ed-grid-toolbar, .ed-grid-hint, .ed-grid-empty, .ed-map-explorer { display: none; }
  .ed-grid-shell { border: 0; }
  .ed-grid-scroller { overflow: visible; }
  .ed-grid-scroller .ed-table { min-width: 0; }
  .ed-grid-scroller .ed-table thead th { background: #e7eff5; color: #172b3a; }
  .ed-grid-scroller .ed-table tbody tr[hidden] { display: table-row; }
  .ed-map-ready > :is(.ed-flow, .ed-branches) { display: grid; }
}
