/* Treści pomocy oraz edytowalne zestawienie dostaw. */
#page-static .static-page {
  max-width: 1050px;
}

#page-static .static-content {
  padding: clamp(1rem, 4vw, 2.5rem);
}

.help-navigation,
.help-contact-actions,
.help-preview-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.help-navigation {
  padding-block-end: 1.2rem;
  border-bottom: 1px solid var(--store-line);
  margin-block-end: 1.4rem;
}

.help-navigation-link,
.help-contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  max-width: 100%;
  padding: .48rem .8rem;
  border: 1px solid var(--store-line);
  border-radius: .55rem;
  background: white;
  color: var(--store-ink);
  font: inherit;
  font-size: .89rem;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.help-navigation-link[aria-current="page"],
.help-navigation-link:hover,
.help-contact-link:hover {
  background: #f9eee1;
  border-color: #bea994;
  color: #70401d;
}

.help-document > .help-title {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  line-height: 1.13;
  letter-spacing: -.045em;
  margin-block: .4rem 1.1rem;
}

#page-static .help-document h2 {
  margin-block: 1.55rem .45rem;
  font-size: clamp(1.07rem, 2.5vw, 1.28rem);
  letter-spacing: -.012em;
}

#page-static .help-document p {
  margin-block: 0 .8rem;
  color: var(--store-muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.help-rate-table-wrap {
  margin-block: 1.2rem 1.55rem;
  border: 1px solid var(--store-line);
  border-radius: .65rem;
  overflow: hidden;
}

.help-rate-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: left;
  font-size: clamp(.8rem, 2vw, .94rem);
  line-height: 1.35;
}

.help-rate-table th,
.help-rate-table td {
  padding: clamp(.46rem, 2vw, .88rem);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.help-rate-table th {
  background: #eef0e8;
  font-weight: 750;
}

.help-rate-table :is(th, td):first-child { width: 38%; }
.help-rate-table :is(th, td):nth-child(2) { width: 24%; }
.help-rate-table tbody tr + tr { border-top: 1px solid var(--store-line); }

.help-contact-box {
  display: block;
  margin-block-start: 1.5rem;
  padding: 1rem;
  border-radius: .65rem;
  background: #f8f6f2;
  border: 1px solid var(--store-line);
}

#page-static .help-contact-box h2 { margin-block: 0 .65rem; }

.help-preview-ribbon {
  color: var(--store-ink);
  justify-content: space-between;
  align-items: center;
  padding: .65rem .8rem;
  background: #fbf1df;
  border-radius: .55rem;
  margin-block-end: 1.15rem;
}

#at-pages #page-content-inp {
  min-height: 16rem;
}

.help-editor-note,
.help-editor-status {
  color: var(--adm-muted, #43514b);
  line-height: 1.5;
  margin-block: .75rem;
  font-size: .9rem;
}

.help-rates-editor {
  padding: .8rem;
  border: 1px solid var(--store-line);
  border-radius: .55rem;
}

.help-rates-editor legend { padding-inline: .25rem; font-weight: 750; }
.help-rates-editor .help-editor-note { margin-block-start: .1rem; }

.help-rate-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.15fr auto;
  align-items: end;
  gap: .7rem;
  margin-block: .8rem;
}

.help-rate-row label {
  min-width: 0;
  color: var(--adm-muted, #43514b);
  font-size: .82rem;
}

.help-rate-row input {
  display: block;
  width: 100%;
  margin-block-start: .3rem;
}

@media (max-width: 680px) {
  .help-rate-row { grid-template-columns: minmax(0, 1fr); }
  .help-rate-row > button { justify-self: start; }
}
