* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f3f3f3;
  color: #222;
  font: 16px/1.5 Arial, sans-serif;
}
main {
  max-width: 980px;
  margin: auto;
  padding: 24px;
  background: white;
  min-height: 100vh;
}
header {
  font-size: 30px;
  font-weight: bold;
  border-bottom: 3px solid #d4af37;
  padding-bottom: 12px;
}
header span {
  color: #a47c16;
}
button,
a.download {
  display: inline-block;
  background: #191919;
  color: #f5c84b;
  border: 0;
  border-radius: 6px;
  padding: 14px 22px;
  font: inherit;
  cursor: pointer;
}
h2 {
  font-size: 19px;
  margin-top: 24px;
}
.parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  overflow-wrap: anywhere;
}
th {
  background: #191919;
  color: #f5c84b;
}
.table-scroll {
  overflow-x: auto;
}
iframe {
  width: 100%;
  height: 75vh;
  border: 1px solid #ccc;
  margin-top: 20px;
}
#error {
  color: #a21b1b;
}
@media (max-width: 600px) {
  main {
    padding: 16px;
  }
  .parties {
    grid-template-columns: 1fr;
  }
  th,
  td {
    padding: 8px;
  }
  iframe {
    height: 60vh;
  }
}
[hidden] {
  display: none !important;
}
th:not(:first-child),
td:not(:first-child) {
  white-space: nowrap;
  overflow-wrap: normal;
}
td:first-child {
  min-width: 120px;
}
th:first-child {
  width: 100%;
}
