.tally-private-label {
  color: var(--yellow);
  font-size: 7px;
  border: 1px solid #ffd40055;
  padding: 8px 10px;
}
.tally-section {
  padding-top: 10px;
}
.tally-section .section-heading h2 {
  font-size: clamp(50px, 6vw, 85px);
}
.tally-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.tally-widget {
  background: #151516;
  border: 1px solid var(--line);
  padding: 27px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tally-widget-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 8px;
  margin-bottom: 23px;
}
.tally-wordmark {
  font: 700 19px var(--body);
  letter-spacing: -0.08em;
  color: var(--ink);
}
.tally-widget h3 {
  font: 700 39px/1 var(--display);
}
.tally-widget-description {
  font-size: 12px;
  line-height: 1.8;
  color: #b6b6ad;
  margin-top: 14px;
  max-width: 390px;
}
.tally-field-list {
  list-style: none;
  margin: 25px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tally-field-list li {
  padding: 6px 9px;
  border: 1px solid #7e7e6e44;
  color: #c1c1b5;
  font: 7px var(--mono);
}
.tally-action-row {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.tally-load {
  min-height: 43px;
  font-size: 10px;
  padding: 11px 15px;
}
.tally-load:disabled {
  cursor: default;
  background: #292922;
  color: #b7b59f;
  border-color: #77765b66;
  opacity: 1;
}
.tally-external {
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tally-status {
  font-size: 10px;
  color: #9d9d92;
  line-height: 1.8;
  margin-top: 16px;
}
.tally-viewport {
  background: #fff;
  color: #111;
  margin-top: 22px;
}
.tally-viewport iframe {
  display: block;
  border: 0;
  min-height: 650px;
  width: 100%;
  color-scheme: light;
}
.tally-widget.is-open {
  grid-column: 1/-1;
}
.tally-widget.is-open .tally-viewport {
  max-width: 900px;
  width: 100%;
}
.tally-safety {
  border-top: 1px solid var(--line);
  padding-top: 19px;
  margin-top: 22px;
  font-size: 8px;
  color: var(--muted);
  line-height: 1.9;
}
.tally-safety strong {
  font-weight: 400;
  color: var(--yellow);
}
@media (max-width: 760px) {
  .tally-section {
    padding-top: 0;
  }
  .tally-grid {
    grid-template-columns: 1fr;
  }
  .tally-widget {
    padding: 23px;
  }
  .tally-widget h3 {
    font-size: 35px;
  }
  .tally-widget-top {
    font-size: 7px;
  }
  .tally-widget-description {
    font-size: 11px;
  }
  .tally-field-list li {
    font-size: 6px;
  }
  .tally-safety {
    font-size: 7px;
  }
  .tally-widget.is-open {
    grid-column: auto;
  }
}
