.po-table-guide__hint {
  display: none;
}

.po-table-guide__scroll {
  display: contents;
}

@media (max-width: 640px) {
  .po-table-guide {
    margin-block: 1.5rem;
  }

  .po-table-guide .wp-block-table {
    margin: 0;
    overflow: visible;
  }

  .po-table-guide table {
    min-width: 0;
    table-layout: fixed;
    width: 100%;
  }

  .po-table-guide :is(th, td) {
    overflow-wrap: anywhere;
  }

  .po-table-guide th:first-child {
    width: 30%;
  }

  .po-table-guide:has(table tr > :nth-child(3)) {
    contain: inline-size;

    .po-table-guide__hint {
      color: var(--color-muted, #475569);
      display: block;
      font-size: .875rem;
      margin: 0 0 .45rem;
    }

    .po-table-guide__scroll {
      border: 1px solid #cbd5e1;
      border-radius: .65rem;
      display: block;
      overflow-x: auto;
    }

    .po-table-guide__scroll:focus-visible {
      outline: 2px solid currentColor;
      outline-offset: 3px;
    }

    table {
      min-width: 43rem;
    }
  }

  .po-table-guide--budget th:first-child {
    width: 23%;
  }

  .po-table-guide--budget th:nth-child(2) {
    width: 34%;
  }
}
