div.tio.tio-bulletin details.tio-refine {
  grid-column: 1 / -1;
  margin-top: 8px;
}

div.tio.tio-bulletin details.tio-refine summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 14px 18px;
  color: #f6f1e7;
  background: var(--tio-forest);
  border-radius: 2px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

div.tio.tio-bulletin details.tio-refine summary span {
  min-width: 0;
}

div.tio.tio-bulletin details.tio-refine summary::-webkit-details-marker {
  display: none;
}

div.tio.tio-bulletin details.tio-refine summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-left: 16px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}

div.tio.tio-bulletin details.tio-refine[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

div.tio.tio-bulletin details.tio-refine summary:hover {
  background: #143528;
}

div.tio.tio-bulletin details.tio-refine summary:focus-visible {
  outline: 2px solid var(--tio-copper);
  outline-offset: 3px;
}

div.tio.tio-bulletin .tio-refine__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  padding-top: 16px;
}

div.tio.tio-bulletin .tio-slip {
  margin-top: 8px;
  padding: 22px 22px 16px;
  color: var(--tio-ink);
  background: #fff;
  border: 1px solid var(--tio-line);
  border-top: 4px solid var(--tio-forest);
}

div.tio.tio-bulletin .tio-slip__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--tio-line);
}

div.tio.tio-bulletin .tio-slip__kicker {
  margin: 0;
  color: var(--tio-copper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

div.tio.tio-bulletin .tio-slip__title {
  margin: 2px 0 0;
  font-family: var(--tio-serif);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.15;
}

div.tio.tio-bulletin .tio-slip__period {
  margin: 0;
  color: var(--tio-muted);
  font-size: 14px;
}

div.tio.tio-bulletin .tio-slip__parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin: 14px 0 0;
}

div.tio.tio-bulletin .tio-slip__parties div span {
  display: block;
  color: var(--tio-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

div.tio.tio-bulletin .tio-slip__parties strong {
  display: block;
  margin-top: 2px;
  font-weight: 600;
}

div.tio.tio-bulletin .tio-slip__section {
  margin: 18px 0 8px;
  color: var(--tio-forest);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

div.tio.tio-bulletin .tio-slip__table-wrap {
  overflow-x: auto;
  max-width: 100%;
}

div.tio.tio-bulletin table.tio-slip__table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

div.tio.tio-bulletin table.tio-slip__cotisations {
  min-width: 560px;
}

div.tio.tio-bulletin table.tio-slip__table th {
  padding: 6px 8px;
  color: var(--tio-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: right;
  text-transform: uppercase;
  border-bottom: 1px solid var(--tio-line);
}

div.tio.tio-bulletin table.tio-slip__table th:first-child,
div.tio.tio-bulletin table.tio-slip__table td:first-child {
  text-align: left;
}

div.tio.tio-bulletin table.tio-slip__table td {
  padding: 7px 8px;
  border-bottom: 1px solid var(--tio-line);
  vertical-align: top;
}

div.tio.tio-bulletin table.tio-slip__table td:not(:first-child),
div.tio.tio-bulletin table.tio-slip__table td[colspan] {
  text-align: right;
}

div.tio.tio-bulletin table.tio-slip__table tr.is-total td {
  font-weight: 700;
  border-bottom-width: 2px;
}

div.tio.tio-bulletin table.tio-slip__table .is-neg {
  color: var(--tio-copper);
}

div.tio.tio-bulletin .tio-slip__net {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--tio-forest-2);
  box-shadow: inset 3px 0 0 var(--tio-copper);
}

div.tio.tio-bulletin .tio-slip__net span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

div.tio.tio-bulletin .tio-slip__net strong {
  font-family: var(--tio-serif);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.1;
}

div.tio.tio-bulletin .tio-slip__hour {
  margin: 8px 0 0;
  color: var(--tio-muted);
  font-size: 14px;
}

div.tio.tio-bulletin .tio-slip__cost {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--tio-line);
  font-weight: 600;
}

div.tio.tio-bulletin ul.tio-slip__notes {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

div.tio.tio-bulletin ul.tio-slip__notes li {
  margin: 0;
  padding: 6px 0;
  color: var(--tio-muted);
  font-size: 12px;
  line-height: 1.45;
  border-top: 1px solid var(--tio-line);
}

div.tio.tio-bulletin ul.tio-slip__notes a {
  color: var(--tio-copper);
}

@container tio-credit (max-width: 560px) {
  div.tio.tio-bulletin .tio-refine__grid,
  div.tio.tio-bulletin .tio-slip__parties {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  div.tio.tio-bulletin .tio-refine__grid,
  div.tio.tio-bulletin .tio-slip__parties {
    grid-template-columns: 1fr;
  }

  div.tio.tio-bulletin .tio-slip {
    padding: 16px 12px 12px;
  }
}

@page {
  size: A4 portrait;
  margin: 8mm 10mm;
}

@media print {
  body.tio-printing .tio-print-shell div.tio.tio-bulletin,
  div.tio.tio-bulletin {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
    font-size: 12px;
  }

  div.tio.tio-bulletin .tio-slip {
    margin: 0;
    padding: 2mm 0 0;
    border: 0;
    border-top: 2px solid #000;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  div.tio.tio-bulletin .tio-slip__head {
    gap: 4px 16px;
    padding-bottom: 8px;
  }

  div.tio.tio-bulletin .tio-slip__kicker {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  div.tio.tio-bulletin .tio-slip__title {
    font-size: 22px;
  }

  div.tio.tio-bulletin .tio-slip__period {
    font-size: 12px;
  }

  div.tio.tio-bulletin .tio-slip__parties {
    gap: 4px 16px;
    margin-top: 8px;
  }

  div.tio.tio-bulletin .tio-slip__parties div span,
  div.tio.tio-bulletin .tio-slip__parties strong {
    font-size: 12px;
  }

  div.tio.tio-bulletin .tio-slip__section {
    margin: 12px 0 4px;
    font-size: 11px;
  }

  div.tio.tio-bulletin .tio-slip__table-wrap {
    overflow: visible;
  }

  div.tio.tio-bulletin table.tio-slip__cotisations {
    min-width: 0;
  }

  div.tio.tio-bulletin table.tio-slip__table th,
  div.tio.tio-bulletin table.tio-slip__table td {
    padding: 4px 6px;
    font-size: 12px;
    line-height: 1.25;
  }

  div.tio.tio-bulletin table.tio-slip__table td:first-child {
    white-space: nowrap;
  }

  div.tio.tio-bulletin .tio-slip tr,
  div.tio.tio-bulletin .tio-slip table {
    break-inside: auto;
    page-break-inside: auto;
  }

  div.tio.tio-bulletin .tio-slip__net {
    margin-top: 12px;
    padding: 10px 12px;
    background: #fff !important;
    box-shadow: inset 3px 0 0 #000;
  }

  div.tio.tio-bulletin .tio-slip__net span {
    font-size: 12px;
  }

  div.tio.tio-bulletin .tio-slip__net strong {
    font-size: 22px;
  }

  div.tio.tio-bulletin .tio-slip__hour {
    margin-top: 2px;
    font-size: 10px;
  }
}
