.main {
  max-width: 560px;
}

.tool-disclaimer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.snap-notice {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.4rem;
  min-height: 1.2em;
}

.results {
  margin-top: 2rem;
  display: none;
}

.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.results-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn-copy {
  font-family: var(--ff);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition:
    color 0.15s,
    border-color 0.15s;
}

.btn-copy:hover {
  color: var(--text);
  border-color: var(--text);
}

.btn-copy:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-copy.copied {
  color: var(--text);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead tr {
  border-bottom: 2px solid var(--text);
}

th {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 0 0.5rem 0.6rem;
}

td {
  font-size: 0.9rem;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

td:last-child {
  font-family: var(--ff-mono);
  font-size: 0.825rem;
  color: var(--muted);
}

tr:last-child td {
  border-bottom: none;
}

tr.is-maturity td {
  font-weight: 600;
  color: var(--text);
}

tr.is-maturity td:last-child {
  color: var(--text);
}

tr.is-maturity td:first-child {
  border-left: 2px solid var(--text);
  padding-left: calc(0.5rem - 2px);
}

.summary {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.summary-list li {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.summary-event {
  color: var(--text);
  font-weight: 500;
}

@media print {
  .site-header,
  .site-footer,
  .input-group,
  .snap-notice,
  .results-bar {
    display: none !important;
  }

  .results {
    display: block !important;
    margin-top: 0;
  }

  table {
    font-size: 11pt;
  }
}
