/* Additions for calculators and market pages; base styles live in calculator-guides.css. */
.calc { padding-bottom: 2rem; }
.calc > h2 { font-size: clamp(1.45rem, 3vw, 1.85rem); letter-spacing: -.03em; }
.calc-widget { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.calc-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; border: 1px solid #a7dfb42e; border-radius: 1.2rem; background: #14251f; padding: 1.2rem; }
.calc-form label { display: grid; gap: .3rem; font-size: .85rem; color: #b7cfc1; }
.calc-form input { min-height: 44px; width: 100%; padding: .5rem .65rem; border-radius: .55rem; border: 1px solid #a7dfb446; background: #091713; color: #eff8f3; font: inherit; font-size: 1rem; }
.calc-form input:focus-visible { outline: 3px solid #9ce8bb; outline-offset: 2px; }
.calc-out { margin: 0; border: 1px solid #a7dfb42e; border-radius: 1.2rem; background: #0d1e1a; padding: 1.2rem; align-self: start; }
.calc-out div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid #ffffff14; }
.calc-out div:last-child { border-bottom: 0; }
.calc-out dt { color: #b7cfc1; }
.calc-out dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc-out .hl dd, .calc-out .hl dt { color: #9ce8bb; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; padding-bottom: 1.5rem; }
.stat { border: 1px solid #a7dfb42e; border-radius: 1rem; background: #14251f; padding: 1rem; }
.stat b { display: block; font-size: 1.55rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { color: #a9c6b7; font-size: .85rem; }
.table-wrap { overflow-x: auto; border: 1px solid #a7dfb42e; border-radius: 1rem; margin-bottom: 2rem; }
table.markets { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
table.markets th, table.markets td { padding: .6rem .75rem; text-align: right; border-bottom: 1px solid #ffffff14; white-space: nowrap; }
table.markets th:nth-child(-n+2), table.markets td:nth-child(-n+2) { text-align: left; }
table.markets td:nth-child(2) { white-space: normal; min-width: 12rem; }
table.markets thead th { color: #9ce8bb; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.sources { font-size: .85rem; color: #a9c6b7; }
.sources li + li { margin-top: .4rem; }
.breadcrumb { font-size: .85rem; color: #a9c6b7; padding-top: 1.2rem; }
.breadcrumb a { color: #b5dfc2; }
@media (max-width: 700px) {
  .calc-widget, .calc-form { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
