.tq-billing [hidden] {
  display: none !important;
}
.tq-billing,
.tq-packages {
  --tq-ink: #172724;
  --tq-gold: #b78629;
  --tq-line: #deded3;
  color: var(--tq-ink);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
.tq-billing {
  margin: 0;
  background: #f7f7f1;
  min-height: 100vh;
}
.tq-billing *,
.tq-packages * {
  box-sizing: border-box;
}
.tq-wrap {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}
.tq-header {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--tq-line);
}
.tq-header a {
  color: inherit;
  text-decoration: none;
  font-weight: 650;
}
.tq-brand {
  font-size: 25px;
  letter-spacing: -1px;
}
.tq-hero {
  padding: 52px 0 30px;
  max-width: 760px;
}
.tq-eyebrow {
  color: #755819;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.tq-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 12px 0 16px;
}
.tq-muted {
  color: #58665f;
  font-size: 14px;
  line-height: 1.6;
}
.tq-account {
  background: #183b32;
  color: #fff;
  padding: 28px;
  border-radius: 20px;
  margin: 8px 0 30px;
}
.tq-account h2 {
  margin: 0 0 8px;
  font-size: 24px;
}
.tq-account .tq-muted {
  color: #d0dfd5;
}
.tq-usage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.tq-meter strong,
.tq-meter span {
  display: block;
}
.tq-meter strong {
  font-size: 22px;
  margin: 6px 0;
}
.tq-meter span {
  font-size: 13px;
  color: #d0dfd5;
}
.tq-meter progress {
  width: 100%;
  height: 7px;
  accent-color: #e6c57d;
}
.tq-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 25px 0;
}
.tq-controls label {
  font-weight: 650;
}
.tq-billing select,
.tq-billing input,
.tq-packages select {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #b9c3bb;
  background: white;
  border-radius: 10px;
  font: inherit;
  color: #172724;
}
.tq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.tq-plan {
  background: white;
  border: 1px solid var(--tq-line);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.tq-recommended {
  border: 2px solid #9b7631;
}
.tq-selected {
  box-shadow: 0 0 0 3px #c6b27766;
}
.tq-plan-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.tq-plan h3 {
  font-size: 22px;
  margin: 0;
}
.tq-badge {
  font-size: 11px;
  font-weight: 750;
  color: #624713;
  background: #f5e9c9;
  padding: 6px 9px;
  border-radius: 30px;
}
.tq-price {
  font-size: 32px;
  letter-spacing: -1px;
  font-weight: 750;
  margin: 24px 0 0;
}
.tq-price:empty {
  display: none;
}
.tq-capacity {
  font-size: 13px;
  line-height: 1.8;
  background: #f4f5ef;
  border-radius: 10px;
  padding: 12px;
}
.tq-features {
  padding: 0;
  margin: 12px 0 26px;
  list-style: none;
  flex: 1;
}
.tq-features li {
  padding: 7px 0 7px 20px;
  position: relative;
  font-size: 14px;
  line-height: 1.45;
}
.tq-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #396449;
}
.tq-features .tq-inherited {
  font-weight: 650;
  padding-left: 0;
}
.tq-features .tq-inherited::before {
  content: '';
}
.tq-button {
  background: #1d4b3b;
  color: white;
  border: 0;
  border-radius: 10px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  min-height: 46px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.tq-recommended .tq-button {
  background: #a47c2c;
}
.tq-button:hover {
  filter: brightness(1.12);
}
.tq-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.tq-button:focus-visible,
.tq-billing a:focus-visible {
  outline: 3px solid #b78629;
  outline-offset: 4px;
}
.tq-checkout {
  background: white;
  padding: 28px;
  border: 1px solid var(--tq-line);
  border-radius: 18px;
  margin: 28px 0;
}
.tq-checkout h2 {
  margin: 0 0 8px;
}
.tq-addons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 22px 0;
}
.tq-addons label {
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.tq-checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}
.tq-secondary {
  background: #e9eee6;
  color: #183b32;
}
.tq-result {
  padding: 14px 0;
  font-size: 14px;
  line-height: 1.6;
}
.tq-result:empty {
  display: none;
}
.tq-error {
  color: #9d271c;
}
.tq-notice {
  background: #f6edcf;
  color: #624713;
  padding: 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.tq-history {
  overflow-x: auto;
  margin: 30px 0 50px;
}
.tq-history table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.tq-history th,
.tq-history td {
  text-align: left;
  padding: 13px 12px;
  border-bottom: 1px solid var(--tq-line);
  white-space: nowrap;
}
.tq-history caption {
  text-align: left;
  font-size: 22px;
  font-weight: 700;
  padding-bottom: 15px;
}
.tq-footnote {
  font-size: 13px;
  color: #58665f;
  line-height: 1.7;
  padding-bottom: 35px;
}
@media (max-width: 800px) {
  .tq-grid {
    grid-template-columns: 1fr;
  }
  .tq-usage,
  .tq-addons {
    grid-template-columns: repeat(2, 1fr);
  }
  .tq-controls {
    align-items: flex-start;
    flex-direction: column;
  }
  .tq-hero {
    padding-top: 32px;
  }
}
@media (max-width: 420px) {
  .tq-wrap {
    width: calc(100% - 24px);
  }
  .tq-account,
  .tq-checkout,
  .tq-plan {
    padding: 20px;
  }
  .tq-addons {
    grid-template-columns: 1fr;
  }
}
