/* Hub list builder — add / rearrange / delete, one look in every hub.
 * JS: js/hub-list.js (createHubList, createHubTabStrip, openHubMenu,
 * openHubInsertPicker). Tokens only.
 *
 * Rules: only the outer block is a card. Rows inside it are flat with a hover
 * tint. Grip and ··· sit in fixed gutters and fade in on hover / focus, always
 * visible on touch. Delete is a press-and-hold menu item, never a big button.
 */

/* ── List ─────────────────────────────────────────────────────────────── */

.hub-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hub-list__row {
  position: relative;
  display: grid;
  grid-template-columns: var(--space-6) minmax(0, 1fr) var(--space-8);
  align-items: start;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-1);
  border-radius: var(--radius-sm);
  transition: background-color 120ms ease, opacity 120ms ease;
}

.hub-list__row:hover,
.hub-list__row:focus-within {
  background: color-mix(in srgb, var(--wave) 5%, transparent);
}

.hub-list__body {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
}

.hub-list__label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--space-6);
  font-family: var(--font-ui);
  font-size: var(--text-2xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--muted);
}

/* Block type chip: line-art icon on a cotton tile + type name. */
.block-type-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.block-type-label__icon {
  box-sizing: content-box;
  width: var(--space-5);
  height: var(--space-5);
  padding: var(--space-1);
  object-fit: contain;
  background: var(--cotton);
  border-radius: var(--radius-xs);
}

.hub-list__grip,
.hub-list__more,
.hub-list__insert,
.hub-tabstrip__add {
  display: inline-grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 120ms ease, background-color 120ms ease, color 120ms ease;
}

.hub-list__grip,
.hub-list__more {
  width: var(--space-6);
  height: var(--space-8);
  border-radius: var(--radius-xs);
}

.hub-list__more {
  width: var(--space-8);
}

.hub-list__grip {
  cursor: grab;
}

.hub-list__grip:active {
  cursor: grabbing;
}

.hub-list__grip svg,
.hub-list__more svg {
  width: 1rem;
  height: 1rem;
}

.hub-list__grip:hover:not(:disabled),
.hub-list__more:hover,
.hub-list__more.is-open {
  color: var(--marine);
  background: color-mix(in srgb, var(--wave) 10%, transparent);
}

.hub-list__grip:disabled {
  cursor: default;
}

.hub-list__row > .hub-list__grip,
.hub-list__row > .hub-list__more {
  opacity: 0;
}

.hub-list__row:hover > .hub-list__grip:not(:disabled),
.hub-list__row:hover > .hub-list__more,
.hub-list__row:focus-within > .hub-list__grip:not(:disabled),
.hub-list__row:focus-within > .hub-list__more,
.hub-list__row > .hub-list__more.is-open,
.hub-list__grip:focus-visible {
  opacity: 1;
}

.hub-list__grip:focus-visible,
.hub-list__more:focus-visible,
.hub-list__insert:focus-visible,
.hub-list__add:focus-visible,
.hub-tabstrip__add:focus-visible,
.hub-action-menu__item:focus-visible {
  outline: 2px solid var(--wave);
  outline-offset: 1px;
}

.hub-list__row--dragging {
  opacity: 0.4;
}

.hub-list__row--flash {
  animation: hub-list-flash 900ms ease;
}

@keyframes hub-list-flash {
  from {
    background: color-mix(in srgb, var(--wave) 16%, transparent);
  }
  to {
    background: transparent;
  }
}

/* Gaps hold the drop line and the between-rows insert. */
.hub-list__gap {
  position: relative;
  height: var(--space-2);
}

.hub-list__gap::before {
  content: '';
  position: absolute;
  left: var(--space-8);
  right: var(--space-8);
  top: 50%;
  height: 1px;
  background: color-mix(in srgb, var(--wave) 30%, transparent);
  opacity: 0;
  transition: opacity 120ms ease;
}

.hub-list__insert {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: var(--space-6);
  height: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--paper);
  color: var(--wave);
  box-shadow: var(--elev-1);
  transform: translate(-50%, -50%);
  opacity: 0;
}

.hub-list__insert svg {
  width: 0.875rem;
  height: 0.875rem;
}

.hub-list__gap:hover::before,
.hub-list__gap:focus-within::before,
.hub-list__gap:hover .hub-list__insert,
.hub-list__insert:focus-visible {
  opacity: 1;
}

.hub-list__gap--drop::before {
  height: 3px;
  margin-top: -1px;
  border-radius: var(--radius-full);
  background: var(--wave);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wave) 18%, transparent);
  opacity: 1;
}

.hub-list__add {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  margin-top: var(--space-1);
  padding: var(--space-2) var(--space-3) var(--space-2) var(--space-8);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 1px dashed color-mix(in srgb, var(--navy) 18%, transparent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 120ms ease, border-color 120ms ease, background-color 120ms ease;
}

.hub-list__add svg {
  width: 0.9375rem;
  height: 0.9375rem;
  flex: none;
}

.hub-list__add:hover:not(:disabled) {
  color: var(--wave);
  border-color: color-mix(in srgb, var(--wave) 45%, transparent);
  background: color-mix(in srgb, var(--wave) 5%, transparent);
}

.hub-list__add:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Compact: one-line rows (checklist items, chart points, tips). */
.hub-list--compact > .hub-list__row {
  align-items: center;
  padding-block: var(--space-1);
}

.hub-list--compact > .hub-list__gap {
  height: var(--space-1);
}

.hub-list--compact .hub-list__body {
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  align-items: center;
}

/* Items: multi-field rows get a hairline between them. */
.hub-list--items > .hub-list__row + .hub-list__gap + .hub-list__row::before {
  content: '';
  position: absolute;
  left: var(--space-8);
  right: var(--space-8);
  top: calc(-1 * var(--space-1) - 0.5px);
  height: 1px;
  background: var(--line);
}

/* One field skin for every block editor and list row. */
:is(.block-editor, .hub-list__body)
  :is(input[type='text'], input[type='url'], input[type='number'], input:not([type]), textarea, select):not(
    .hub-tabstrip__name,
    .block-editor__visibility,
    .block-editor__columns-width
  ) {
  min-height: 2.25rem;
  padding: var(--space-2) var(--space-3);
  font: inherit;
  font-family: var(--font-ui);
  font-size: var(--text-base);
  color: var(--ink);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--navy) 14%, transparent);
  border-radius: var(--radius-xs);
  box-shadow: none;
}

.hub-list__body :is(input[type='text'], input[type='url'], input[type='number'], input:not([type]), textarea):not(
    .hub-tabstrip__name,
    .block-editor__columns-width
  ) {
  width: 100%;
}

:is(.block-editor, .hub-list__body) textarea {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  resize: vertical;
}

:is(.block-editor, .hub-list__body) :is(input, textarea, select):not(.hub-tabstrip__name):focus {
  outline: none;
  border-color: var(--wave);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wave) 16%, transparent);
}

:is(.block-editor, .hub-list__body) :is(input, textarea)::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

/* Nested block editors: the row is the object, so the editor sheds its card. */
.hub-list--blocks .hub-list__body > .block-editor {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hub-list--blocks .hub-list__body > .block-editor > .block-editor__visibility {
  justify-self: start;
}

.hub-list__empty {
  display: grid;
  justify-items: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-4);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--muted);
  text-align: center;
  border: 1px dashed color-mix(in srgb, var(--navy) 18%, transparent);
  border-radius: var(--radius-sm);
}

.hub-list__empty strong {
  display: block;
  color: var(--ink);
  font-weight: var(--weight-semibold);
}

.hub-list__quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.hub-list__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--space-8);
  padding: 0 var(--space-3);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--marine);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--navy) 14%, transparent);
  border-radius: var(--radius-full);
  cursor: pointer;
}

.hub-list__chip:hover {
  background: color-mix(in srgb, var(--wave) 6%, #fff);
}

.hub-list__chip img {
  width: var(--space-5);
  height: var(--space-5);
  object-fit: contain;
}

/* ── Menu ─────────────────────────────────────────────────────────────── */

.hub-action-menu {
  position: fixed;
  z-index: 80;
  min-width: 13.5rem;
  max-width: calc(100vw - var(--space-6));
  padding: var(--space-1);
  font-family: var(--font-ui);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--elev-4);
}

.hub-action-menu__item {
  position: relative;
  display: grid;
  grid-template-columns: var(--space-5) minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-2) var(--space-3) var(--space-2) var(--space-2);
  overflow: hidden;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: var(--radius-xs);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.hub-action-menu__item:hover:not(:disabled),
.hub-action-menu__item:focus-visible {
  background: var(--cotton);
}

.hub-action-menu__item:disabled {
  color: var(--muted);
  opacity: 0.6;
  cursor: default;
}

.hub-action-menu__icon {
  display: inline-grid;
  place-items: center;
  color: var(--muted);
}

.hub-action-menu__icon svg {
  width: 0.9375rem;
  height: 0.9375rem;
}

.hub-action-menu__hint {
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  color: var(--muted);
  letter-spacing: var(--tracking-wide);
}

.hub-action-menu__sep {
  height: 1px;
  margin: var(--space-1) var(--space-2);
  background: var(--line);
}

.hub-action-menu__reason {
  margin: 0;
  padding: 0 var(--space-3) var(--space-2) calc(var(--space-2) + var(--space-5) + var(--space-2));
  max-width: 16rem;
  font-size: var(--text-xs);
  line-height: var(--leading-snug);
  color: var(--muted);
}

.hub-action-menu__item--danger,
.hub-action-menu__item--danger .hub-action-menu__icon,
.hub-action-menu__item--danger .hub-action-menu__hint {
  color: var(--danger);
}

.hub-action-menu__item--danger:hover:not(:disabled),
.hub-action-menu__item--danger:focus-visible {
  background: var(--danger-surface);
}

/* Press-and-hold: a fill sweeps across while held. */
.hub-action-menu__item--hold::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: color-mix(in srgb, var(--danger) 16%, transparent);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.hub-action-menu__item--hold > * {
  position: relative;
  z-index: 1;
}

.hub-action-menu__item--hold.is-holding::before {
  transform: scaleX(1);
  transition: transform var(--hub-hold-ms, 650ms) linear;
}

.hub-action-menu__item--hold.is-nudged .hub-action-menu__hint {
  font-weight: var(--weight-semibold);
}

/* ── Insert picker ────────────────────────────────────────────────────── */

.hub-insert {
  width: 20rem;
  padding: var(--space-2);
}

.hub-insert__search {
  width: 100%;
  margin-bottom: var(--space-1);
  padding: var(--space-2) var(--space-3);
  font: inherit;
  font-size: var(--text-sm);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--navy) 14%, transparent);
  border-radius: var(--radius-xs);
}

.hub-insert__search:focus {
  outline: none;
  border-color: var(--wave);
}

.hub-insert__list {
  max-height: min(22rem, 60vh);
  overflow-y: auto;
}

.hub-insert__group {
  margin: 0;
  padding: var(--space-2) var(--space-2) var(--space-1);
  font-size: var(--text-2xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--muted);
}

.hub-insert__option {
  grid-template-columns: var(--space-8) minmax(0, 1fr);
  gap: var(--space-3);
}

.hub-insert__icon {
  display: inline-grid;
  place-items: center;
  width: var(--space-8);
  height: var(--space-8);
  font-weight: var(--weight-semibold);
  color: var(--navy);
  background: var(--cotton);
  border-radius: var(--radius-xs);
}

.hub-insert__icon img {
  width: var(--space-6);
  height: var(--space-6);
  object-fit: contain;
}

.hub-insert__copy {
  display: grid;
  min-width: 0;
}

.hub-insert__name {
  font-weight: var(--weight-medium);
}

.hub-insert__desc {
  overflow: hidden;
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ── Tab strip editor ─────────────────────────────────────────────────── */

.hub-tabstrip {
  display: grid;
  gap: var(--space-3);
  min-width: 0;
}

.hub-tabstrip__bar {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1);
  overflow-x: auto;
  background: var(--cotton);
  border-radius: var(--radius-sm);
  scrollbar-width: thin;
}

.hub-tabstrip__tab {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  border-radius: calc(var(--radius-sm) - var(--space-1));
  transition: background-color 120ms ease, box-shadow 120ms ease;
}

.hub-tabstrip__tab:not(.is-active):hover {
  background: color-mix(in srgb, #fff 55%, transparent);
}

.hub-tabstrip__tab.is-active {
  background: #fff;
  box-shadow: var(--elev-2);
}

.hub-tabstrip__name {
  min-width: 0;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: inherit;
  outline: none;
  cursor: pointer;
}

.hub-tabstrip__tab.is-active .hub-tabstrip__name {
  padding-right: var(--space-1);
  color: var(--ink);
  cursor: text;
}

.hub-tabstrip__name::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

.hub-tabstrip__tab:focus-within {
  box-shadow: var(--elev-2), 0 0 0 2px color-mix(in srgb, var(--wave) 45%, transparent);
}

.hub-tabstrip__tab .hub-tabstrip__more {
  width: var(--space-6);
  height: var(--space-6);
  margin-right: var(--space-1);
}

.hub-tabstrip__tab:not(.is-active) .hub-tabstrip__more {
  display: none;
}

.hub-tabstrip__tab.is-dragging {
  opacity: 0.4;
}

.hub-tabstrip__tab.is-drop-before {
  box-shadow: inset 3px 0 0 var(--wave);
}

.hub-tabstrip__tab.is-drop-after {
  box-shadow: inset -3px 0 0 var(--wave);
}

.hub-tabstrip__add {
  flex: none;
  width: var(--space-8);
  height: var(--space-8);
  border-radius: var(--radius-xs);
}

.hub-tabstrip__add svg {
  width: 1rem;
  height: 1rem;
}

.hub-tabstrip__add:hover:not(:disabled) {
  color: var(--marine);
  background: color-mix(in srgb, #fff 60%, transparent);
}

.hub-tabstrip__add:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ── Touch: no hover dependency ───────────────────────────────────────── */

@media (hover: none), (max-width: 720px) {
  .hub-list__row > .hub-list__grip:not(:disabled),
  .hub-list__row > .hub-list__more {
    opacity: 1;
  }

  .hub-list__insert,
  .hub-list__gap::before {
    display: none;
  }

  .hub-list__gap--drop::before {
    display: block;
  }

  .hub-action-menu__item {
    min-height: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-list__row,
  .hub-list__grip,
  .hub-list__more,
  .hub-list__insert,
  .hub-list__add,
  .hub-tabstrip__tab {
    transition: none;
  }

  .hub-list__row--flash {
    animation: none;
  }
}

/* ── Rich text toolbar (block editors) ────────────────────────────────── */
/* One quiet segmented bar, not a row of full-size buttons. */
.block-editor .block-editor__toolbar {
  display: inline-flex;
  flex-wrap: wrap;
  justify-self: start;
  gap: var(--space-px);
  padding: var(--space-px);
  background: var(--cotton);
  border-radius: var(--radius-xs);
}

.block-editor .block-editor__toolbar-btn.btn {
  min-height: 1.875rem;
  padding: 0 var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--marine);
  background: transparent;
  border: 0;
  border-radius: calc(var(--radius-xs) - var(--space-px));
  box-shadow: none;
}

.block-editor .block-editor__toolbar-btn.btn:hover:not(:disabled),
.block-editor .block-editor__toolbar-btn.btn[aria-pressed='true'] {
  background: #fff;
  box-shadow: var(--elev-1);
}

/* ── Block editor field layout (shared by every item list) ────────────── */

.block-editor__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.block-editor__inline-settings {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.block-editor__inline-settings > :is(select, input),
.hub-list__body .block-editor__inline-settings > input {
  flex: 0 1 12rem;
  width: auto;
  min-width: 9rem;
}

/* Table: header cells line up with row cells (grip · cells · ···). */
.block-editor__table {
  display: grid;
  gap: var(--space-1);
  overflow-x: auto;
}

.block-editor__table > * {
  min-width: calc(var(--table-cols, 3) * 7rem + 4.5rem);
}

.block-editor__table-head {
  display: grid;
  grid-template-columns: var(--space-6) minmax(0, 1fr) var(--space-8);
  align-items: center;
  gap: var(--space-1);
  padding: 0 var(--space-1);
}

.block-editor__table .block-editor__table-cells {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(var(--table-cols, 3), minmax(0, 1fr));
  gap: var(--space-1);
}

.block-editor__table .block-editor__table-header-cell {
  position: relative;
  display: block;
  min-width: 0;
}

.block-editor .block-editor__table input.block-editor__table-header {
  width: 100%;
  min-height: 2.25rem;
  padding: var(--space-2) var(--space-8) var(--space-2) var(--space-3);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--ink);
  background: var(--cotton);
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
}

.block-editor .block-editor__table input.block-editor__table-header:focus {
  outline: none;
  border-color: var(--wave);
  background: #fff;
}

.block-editor__table-column-menu {
  position: absolute;
  top: 50%;
  right: var(--space-1);
  width: var(--space-6) !important;
  height: var(--space-6) !important;
  transform: translateY(-50%);
  opacity: 0;
}

.block-editor__table-header-cell:hover .block-editor__table-column-menu,
.block-editor__table-header-cell:focus-within .block-editor__table-column-menu,
.block-editor__table-column-menu.is-open {
  opacity: 1;
}

.block-editor .block-editor__table input.block-editor__table-cell {
  min-width: 0;
  font-size: var(--text-sm);
}

@media (hover: none), (max-width: 720px) {
  .block-editor__table-column-menu {
    opacity: 1;
  }
}

@media (max-width: 560px) {
  .block-editor__pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── Page block in edit mode: header strip (type · visibility · Done) ── */

.lesson-page__block > .lesson-page__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}

.lesson-page__toolbar .block-type-label {
  font-family: var(--font-ui);
  font-size: var(--text-2xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--muted);
}

.lesson-page__toolbar-spacer {
  flex: 1;
}

.lesson-page__toolbar .lesson-page__done.btn {
  min-height: 2rem;
  padding: 0 var(--space-4);
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
  box-shadow: none;
}

.lesson-page__toolbar .btn--ghost {
  min-height: 2rem;
  padding: 0 var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

/* The page-level ··· shares the list trigger; it stays visible on the block. */
.lesson-page__block > .lesson-page__block-menu.hub-list__more {
  position: absolute;
  top: var(--space-4);
  right: var(--space-2);
  z-index: 2;
}

.block-editor__column-pane-label {
  margin: 0;
  font-family: var(--font-ui);
  font-size: var(--text-2xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.block-editor .block-editor__columns-preset {
  justify-self: start;
  width: auto;
  min-width: 10rem;
}

/* ── Narrow lists (phones, side-by-side columns) ──────────────────────── */
/* Grip and ··· move onto the row's label line so fields get the full width. */
.hub-list {
  container-type: inline-size;
  container-name: hub-list;
}

@container hub-list (max-width: 26rem) {
  .hub-list--items > .hub-list__row,
  .hub-list--blocks > .hub-list__row {
    grid-template-columns: minmax(0, 1fr);
    padding: var(--space-2);
  }

  .hub-list--items > .hub-list__row > .hub-list__grip,
  .hub-list--blocks > .hub-list__row > .hub-list__grip {
    position: absolute;
    top: var(--space-1);
    left: var(--space-1);
    opacity: 1;
  }

  .hub-list--items > .hub-list__row > .hub-list__more,
  .hub-list--blocks > .hub-list__row > .hub-list__more {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 1;
  }

  .hub-list--items > .hub-list__row > .hub-list__body > .hub-list__label,
  .hub-list--blocks > .hub-list__row > .hub-list__body > .hub-list__label {
    padding-inline: var(--space-6) var(--space-8);
  }

  .hub-list .block-editor__pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .hub-list__add {
    padding-left: var(--space-3);
  }

  .hub-list--items > .hub-list__row + .hub-list__gap + .hub-list__row::before {
    left: var(--space-2);
    right: var(--space-2);
  }
}
