[hidden] { display: none !important; }

.top nav a[aria-current] { color: var(--ink); font-weight: 600; }

.tl-crumb { margin-bottom: .5rem; font-size: 1rem; }
.tl-crumb a { color: var(--graphite); }
.tl-head { padding-bottom: clamp(1.25rem, 3vw, 2rem); }
.tl-start { margin-top: .6rem; color: var(--graphite); font-size: 1rem; }

.tl-cards { display: grid; gap: 2.25rem; padding-bottom: clamp(3rem, 7vw, 4.5rem); }
.tl-card { position: relative; }
.tl-card h2 { font-size: clamp(1.375rem, 2.4vw, 1.625rem); line-height: 1.15; }
.tl-card h2 a { color: var(--ink); text-decoration: none; }
.tl-card h2 a::after { content: ""; position: absolute; inset: 0; }
.tl-card:hover h2 a { color: var(--cobalt); text-decoration: underline; text-decoration-thickness: 2px; }
.tl-card:hover .scene { border-top-color: var(--cobalt); }
.tl-card p { margin-top: .5rem; color: var(--graphite); }
@media (min-width: 760px) { .tl-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; } }

.tl-wrap { padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.tl-calc {
  --pad: clamp(1rem, 3vw, 2rem);
  display: flex; flex-direction: column; gap: 1.5rem;
  padding: var(--pad); border-top: 4px solid var(--ink); background: var(--paper-2);
}
.tl-calc + .tl-calc { margin-top: clamp(2rem, 5vw, 3rem); }
.tl-mode { display: flex; flex-direction: column; gap: 1.5rem; }
.tl-result { display: contents; }
@media (min-width: 900px) {
  .tl-mode { display: grid; grid-template-columns: minmax(20rem, 25rem) minmax(0, 1fr); gap: 1.75rem 3rem; }
  .tl-span { grid-column: 1 / -1; }
  .tl-result { display: grid; gap: 1.5rem; align-content: start; }
}

.tl-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.tl-h2 { font-size: clamp(1.375rem, 2.4vw, 1.625rem); line-height: 1.15; }
.tl-example { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; color: var(--graphite); font-size: .9375rem; }
.button.tl-small { padding: .4rem .85rem; font-size: .9375rem; }

.tl-tabs { display: inline-flex; border: 2px solid var(--ink); border-radius: .35rem; overflow: hidden; }
.tl-tabs button {
  padding: .55rem 1.1rem; border: 0; background: transparent; color: var(--ink);
  font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer;
}
.tl-tabs button + button { border-left: 2px solid var(--ink); }
.tl-tabs [aria-selected="true"] { background: var(--ink); color: var(--on-ink); }
@media (max-width: 599px) { .tl-tabs { display: flex; width: 100%; } .tl-tabs button { flex: 1; padding-inline: .5rem; } }

.tl-fields { display: grid; gap: 1.25rem; align-content: start; }
.tl-lab { display: block; font-weight: 600; font-size: 1rem; }
.tl-box {
  display: flex; align-items: center; margin-top: .35rem;
  border: 2px solid var(--muted); border-radius: .35rem; background: var(--paper);
}
.tl-box:focus-within { border-color: var(--cobalt); outline: 3px solid var(--cobalt); outline-offset: 1px; }
.tl-box input {
  flex: 1; width: 100%; min-width: 0; padding: .65rem .75rem; border: 0; background: transparent;
  color: var(--ink); font: inherit; font-size: 1.0625rem; font-variant-numeric: tabular-nums;
}
.tl-box input:focus-visible { outline: none; }
.tl-box input::placeholder { color: var(--muted); }
.tl-unit { flex: none; padding-left: .75rem; color: var(--graphite); font-size: 1rem; }
.tl-note { margin-top: .35rem; color: var(--graphite); font-size: .9375rem; line-height: 1.45; }

.tl-adv { border-top: 1px solid var(--ruling-strong); }
.tl-adv summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: .9rem; font-weight: 700; font-size: 1.0625rem; cursor: pointer; list-style: none;
}
.tl-adv summary::-webkit-details-marker { display: none; }
.tl-adv summary::after {
  content: "+"; display: grid; place-items: center; width: 1.75rem; height: 1.75rem;
  border: 2px solid var(--ink); border-radius: .35rem; font-size: 1.125rem; line-height: 1;
}
.tl-adv[open] summary::after { content: "\2212"; }
.tl-adv summary:hover { color: var(--cobalt); }
.tl-adv > .tl-fields { padding-top: 1.25rem; }

.tl-buys { display: grid; gap: .5rem; }
.tl-rows { display: grid; gap: .5rem; }
.tl-legend-h { margin-bottom: .25rem; padding: 0; font-weight: 700; font-size: 1rem; }
.tl-row { display: grid; grid-template-columns: 1.35rem minmax(0, 1.15fr) minmax(0, 1fr) auto; gap: .5rem; align-items: center; }
.tl-row .tl-box { margin-top: 0; }
.tl-th { color: var(--graphite); font-size: .9375rem; font-weight: 600; }
.tl-n { color: var(--graphite); font-weight: 700; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.tl-remove {
  padding: .5rem .2rem; border: 0; background: transparent; color: var(--graphite);
  font: inherit; font-size: .9375rem; text-decoration: underline; text-underline-offset: .18em; cursor: pointer;
}
.tl-remove:hover { color: var(--ink); text-decoration-thickness: 2px; }
.tl-add { justify-self: start; margin-top: .25rem; }

.tl-label { color: var(--graphite); font-size: 1rem; }
.tl-big {
  margin-top: .2rem; font-stretch: 125%; font-weight: 800; font-size: clamp(2.5rem, 5.4vw, 4rem);
  line-height: 1; letter-spacing: -.015em; font-variant-numeric: tabular-nums;
}
.tl-mid-big {
  margin-top: .2rem; font-stretch: 125%; font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.05; font-variant-numeric: tabular-nums;
}
.tl-lines { display: grid; gap: .5rem; }
.tl-peek + .tl-lines { margin-top: -.85rem; }
.tl-also { color: var(--graphite); font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.tl-say { max-width: 34rem; margin-top: .65rem; font-size: 1.1875rem; line-height: 1.45; }
.tl-lines .tl-say { margin-top: 0; }
.tl-say b { font-weight: 700; font-variant-numeric: tabular-nums; }
.tl-second { padding-top: 1.1rem; border-top: 1px solid var(--ruling-strong); }
.tl-sums {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.5rem;
  padding-top: 1.1rem; border-top: 1px solid var(--ruling-strong);
}
.tl-sums dt { color: var(--graphite); font-size: .9375rem; }
.tl-sums dd { font-weight: 700; font-size: 1.25rem; line-height: 1.25; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (min-width: 1100px) { .tl-sums { grid-template-columns: repeat(4, max-content); column-gap: 2.75rem; } }

.tl-words { max-width: 34rem; margin-top: .5rem; padding-left: 1rem; border-left: 3px solid var(--ink); font-weight: 600; font-size: 1.125rem; }
.tl-words span { display: block; margin-top: .35rem; color: var(--graphite); font-weight: 400; font-size: 1rem; }

@media (max-width: 899px) {
  .tl-peek {
    position: sticky; bottom: 0; z-index: 4;
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .1rem 1rem;
    margin-inline: calc(-1 * var(--pad)); padding: .7rem var(--pad) .8rem;
    background: var(--paper-2); box-shadow: 0 -3px 0 var(--ink);
  }
  .tl-peek .tl-big { margin-top: 0; font-size: 1.875rem; }
  .tl-peek .tl-words { flex-basis: 100%; }
  .tl-peek + .tl-lines { margin-top: -.5rem; }
  .tl-say { font-size: 1.0625rem; }
}

.tl-h { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }

.tl-chart { margin: 0; }
.tl-plot { display: block; width: 100%; height: auto; background: var(--paper); font-family: var(--font); }
.tl-narrow { display: none; }
@media (max-width: 599px) {
  .tl-wide { display: none; }
  .tl-narrow { display: block; margin-inline: calc(-1 * var(--pad)); }
}
.tl-legend { margin-top: .75rem; }
.tl-key-avg {
  display: inline-block; width: 1.4rem; height: 0; margin-right: .4rem; vertical-align: .3em;
  border-top: 2px dashed var(--graphite);
}
.tl-cap { margin-top: .5rem; color: var(--graphite); font-size: .9375rem; }
.tl-blank {
  display: grid; place-items: center; min-height: 14rem; padding: 1rem;
  background: var(--paper); color: var(--graphite); font-size: 1rem; text-align: center;
  background-image: repeating-linear-gradient(transparent 0 47px, var(--ruling) 47px 48px);
}

.tl-rung { stroke: var(--ruling-strong); stroke-width: 1; stroke-dasharray: 4 5; }
.tl-ax { fill: var(--graphite); font-variant-numeric: tabular-nums; }
.tl-end { text-anchor: end; }
.tl-mid { text-anchor: middle; }
.tl-strong { font-weight: 700; fill: var(--ink); }
.tl-mine { font-weight: 700; fill: var(--cobalt); }
.tl-px { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.tl-px-plan { stroke-width: 1.5; opacity: .55; }
.tl-avg { fill: none; stroke: var(--graphite); stroke-width: 1.75; stroke-dasharray: 6 4; }
.tl-dot { fill: var(--cobalt); stroke: var(--paper); stroke-width: 2; }
.tl-dot-n { fill: var(--paper); font-weight: 700; text-anchor: middle; font-variant-numeric: tabular-nums; }
.tl-now { fill: var(--ink); }
.tl-ring { fill: var(--paper); stroke: var(--amber); stroke-width: 3; }
.tl-brace { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; }
.tl-tag { font-weight: 800; font-stretch: 125%; fill: var(--ink); font-variant-numeric: tabular-nums; }
.tl-cash { fill: var(--cobalt-tint); stroke: var(--cobalt); stroke-width: 1.5; }
.tl-cash.is-mine { fill: var(--cobalt); }
.tl-zero { stroke: var(--ink); stroke-width: 2; }
.tl-fall { fill: url(#tl-hatch); stroke: var(--graphite); stroke-width: 1.25; }
.tl-rise { fill: var(--amber); }
.tl-hatch-line { stroke: var(--graphite); stroke-width: 1.5; }
.tl-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.tl-span { display: grid; gap: .75rem; }
.tl-frame { overflow-x: auto; border: 1px solid var(--ruling-strong); background: var(--paper); }
.tl-steps { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-steps th, .tl-steps td { padding: .55rem .9rem; text-align: right; }
.tl-steps thead th {
  min-width: 5.5rem; border-bottom: 2px solid var(--ink); color: var(--graphite);
  font-size: .875rem; font-weight: 600; vertical-align: bottom; white-space: normal;
}
.tl-steps tbody th, .tl-steps tbody td { border-top: 1px solid var(--ruling); }
.tl-steps th:first-child { position: sticky; left: 0; min-width: 0; background: var(--paper); text-align: left; }
.tl-steps tbody th { font-weight: 600; }
.tl-steps tbody th::before {
  content: ""; display: inline-block; width: .55rem; height: .55rem; margin-right: .5rem;
  border-radius: 50%; background: var(--cobalt); vertical-align: .08em;
}
.tl-steps .tl-last td { font-weight: 700; }
.tl-more-cols { display: none; justify-self: start; }
@media (max-width: 599px) {
  .tl-frame { margin-inline: calc(-1 * var(--pad)); border-inline: 0; }
  .tl-steps { font-size: .9375rem; }
  .tl-steps th, .tl-steps td { padding: .55rem .6rem; }
  .tl-steps thead th { min-width: 0; }
  .tl-steps:not(.is-all) :is(th, td):is(:nth-child(4), :nth-child(5), :nth-child(6), :nth-child(8), :nth-child(9)) { display: none; }
  .tl-steps.is-all thead th { min-width: 5.5rem; }
  .tl-steps.is-all thead th:first-child { min-width: 0; }
  .tl-span:has(.tl-steps:not(.is-all)) .tl-more-cols { display: inline-block; }
}

.tl-keys { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font-size: .9375rem; }
.tl-sw { display: inline-block; width: 1.6rem; height: .85rem; margin-right: .45rem; vertical-align: -.05em; }
.tl-sw-fall {
  border: 1.25px solid var(--graphite);
  background: repeating-linear-gradient(-45deg, var(--graphite) 0 1.5px, transparent 1.5px 4.5px);
}
.tl-sw-rise { background: var(--amber); }
.tl-drops { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tl-drops th {
  padding: .4rem .75rem .4rem .5rem; border-bottom: 2px solid var(--ink);
  color: var(--graphite); font-size: .875rem; font-weight: 600; text-align: left; white-space: nowrap;
}
.tl-drops td { padding: .45rem .75rem .45rem .5rem; border-top: 1px solid var(--ruling); font-weight: 700; }
.tl-drops td:nth-child(1) { width: 4.5rem; }
.tl-drops td:nth-child(2) { width: 6.5rem; }
.tl-drops td:nth-child(3) { padding-right: 0; }
.tl-dd { display: block; width: 100%; height: .9rem; }
.tl-drops .is-mine td { background: var(--paper); box-shadow: inset 0 2px 0 var(--ink), inset 0 -2px 0 var(--ink); }
.tl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 599px) {
  .tl-drops thead th:nth-child(3) { display: none; }
  .tl-drops tr { display: grid; grid-template-columns: 4.5rem 1fr; }
  .tl-drops thead tr { border-bottom: 2px solid var(--ink); }
  .tl-drops thead th { border-bottom: 0; }
  .tl-drops td:nth-child(1), .tl-drops td:nth-child(2) { width: auto; }
  .tl-drops td:nth-child(3) { grid-column: 1 / -1; padding: 0 .5rem .6rem; border-top: 0; }
  .tl-drops tbody tr { border-top: 1px solid var(--ruling); }
  .tl-drops tbody td:nth-child(-n+2) { border-top: 0; }
  .tl-drops .is-mine { background: var(--paper); box-shadow: inset 0 2px 0 var(--ink), inset 0 -2px 0 var(--ink); }
  .tl-drops .is-mine td { background: none; box-shadow: none; }
  .tl-dd { height: 1rem; }
}
.tl-bridge { max-width: 34rem; color: var(--graphite); }
@media (min-width: 900px) {
  .tl-calc-drops .tl-mode { grid-template-rows: auto 1fr; }
  .tl-calc-drops .tl-result { grid-column: 2; grid-row: 1 / span 2; }
  .tl-calc-drops .tl-bridge { grid-column: 1; grid-row: 2; align-self: start; }
}

.tl-cta-wrap { margin-top: clamp(2.5rem, 6vw, 3.5rem); }
.tl-cta h2 { font-size: clamp(1.375rem, 2.4vw, 1.625rem); line-height: 1.15; }
.tl-cta p { margin-top: .6rem; }
