
.test-page {
  background: var(--snow-100);
}
.test-page [hidden] {
  display: none !important;
}
.test-page main {
  min-height: calc(100 * var(--vh) - 64px);
}

.top.tt-top {
  justify-content: center;
  padding-block: 4px;
  padding-top: max(4px, env(safe-area-inset-top));
}
.top.tt-top .wordmark {
  font-size: 1.15rem;
}

.tt-intro {
  max-width: 640px;
  margin: 0 auto;
  padding: calc(9 * var(--vh)) var(--gutter) calc(5 * var(--vh));
}
.tt-mark {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
}
.tt-intro h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 1.6rem + 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variation-settings:
    'opsz' 72,
    'SOFT' 30;
}
.tt-lead {
  margin-top: 18px;
  font-size: var(--fs-cap-p);
  color: var(--ink-700);
}
.tt-privacy,
.tt-nojs {
  max-width: 30rem;
  margin-top: 14px;
  font-size: 0.9375rem;
  color: var(--ink-500);
}
.tt-start,
.tt-go {
  margin-top: 32px;
}

.tt-start,
.tt-go,
.tt-next {
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--sky-500);
  color: var(--snow-50);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur-lg) var(--ease-std);
}
.tt-start:hover,
.tt-go:hover,
.tt-next:hover {
  background: var(--sky-600);
}
.tt-prev,
.tt-restart,
.tt-share {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--snow-400);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-700);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.tt-prev:hover:not(:disabled),
.tt-restart:hover,
.tt-share:hover {
  border-color: var(--ink-400);
}
.tt-prev:disabled {
  opacity: 0.4;
  cursor: default;
}
.tt-next:not(:focus-visible) {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.tt-run {
  display: flex;
  flex-direction: column;
  max-width: 640px;
  min-height: calc(100 * var(--vh) - 52px);
  margin: 0 auto;
  padding: 8px var(--gutter) max(24px, env(safe-area-inset-bottom));
}
.tt-bar {
  display: flex;
  align-items: center;
  min-height: 40px;
}
.tt-count {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-500);
  font-variant-numeric: tabular-nums;
}
.tt-track {
  height: 2px;
  overflow: hidden;
  border-radius: 1px;
  background: var(--snow-300);
}
.tt-track i {
  display: block;
  height: 100%;
  background: var(--sky-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.tt-question {
  position: relative;
  padding-top: calc(3 * var(--vh));
}
.tt-probe {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  visibility: hidden;
  pointer-events: none;
}
.tt-probe .tt-text {
  height: auto;
}
.tt-field {
  margin: 0;
  padding: 0;
  border: 0;
  transition:
    opacity 0.22s var(--ease-std),
    transform 0.22s var(--ease-out);
}
.tt-field.tt-enter {
  opacity: 0;
  transform: translateY(8px);
}
.tt-text {
  display: block;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variation-settings:
    'opsz' 72,
    'SOFT' 30;
  text-wrap: pretty;
  outline: none;
}
.tt-field .tt-text {
  height: var(--q-h, auto);
}
@media (min-width: 768px) {
  .tt-field .tt-text {
    text-align: center;
  }
}
.tt-answers {
  min-height: var(--a-h, 0);
  padding-top: 28px;
}

.tt-likert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 440px;
  margin-inline: auto;
}
.tt-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 52px;
  cursor: pointer;
}
.tt-dot input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.tt-dot::after {
  content: '';
  width: min(var(--dot), 44px);
  height: min(var(--dot), 44px);
  border: 1.5px solid var(--snow-400);
  border-radius: 50%;
  background: var(--snow-50);
  transition:
    background 0.18s var(--ease-std),
    border-color 0.18s var(--ease-std);
}
.tt-dot:hover::after {
  border-color: var(--sky-300);
}
.tt-dot:has(input:checked)::after {
  border-color: var(--sky-500);
  background: var(--sky-500);
}
.tt-dot:has(input:focus-visible)::after {
  outline: 2px solid var(--sky-500);
  outline-offset: 3px;
}
.tt-ends {
  display: flex;
  justify-content: space-between;
  max-width: 440px;
  margin: 10px auto 0;
  font-size: 0.875rem;
  color: var(--ink-500);
}

.tt-options {
  display: grid;
  gap: 12px;
}
.tt-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 14px 20px;
  border: 1px solid var(--snow-400);
  border-radius: 16px;
  background: var(--snow-50);
  color: var(--ink-900);
  cursor: pointer;
  transition:
    border-color 0.18s var(--ease-std),
    background 0.18s var(--ease-std);
}
.tt-card input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.tt-card:hover {
  border-color: var(--sky-300);
}
.tt-card:has(input:checked) {
  border-color: var(--sky-500);
  background: var(--sky-50);
}
.tt-card:has(input:focus-visible) {
  outline: 2px solid var(--sky-500);
  outline-offset: 2px;
}
.tt-opt-text {
  font-size: 1.0625rem;
}
.tt-shape {
  container: tt-shape / size;
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tt-shape .tt-shape-svg {
  height: min(100cqh - 16px, 176px);
  width: auto;
  aspect-ratio: 6 / 5;
  transition: opacity 600ms var(--ease-std);
}
.tt-shape-out .tt-shape-svg {
  opacity: 0.25;
}
.tt-light {
  position: fixed;
  inset: 0;
  z-index: 101;
  width: 100%;
  height: 100%;
  touch-action: none;
}
@container tt-shape (max-height: 80px) {
  .tt-shape .tt-shape-svg {
    display: none;
  }
}
.tt-shape-svg {
  display: block;
  overflow: visible;
}
.sh-ring {
  fill: none;
  stroke: var(--snow-400);
  stroke-width: 0.7;
}
.sh-spoke {
  stroke: var(--snow-300);
  stroke-width: 0.6;
  stroke-linecap: round;
}
.sh-line {
  fill: color-mix(in srgb, var(--ink-900) 6%, transparent);
  stroke: var(--ink-900);
  stroke-width: 1.3;
  stroke-linejoin: round;
}
.sh-dot {
  fill: var(--ink-900);
}
.sh-mark {
  fill: var(--sky-500);
}
.tt-shape-night .sh-ring {
  stroke: var(--indigo-300);
}
.tt-shape-night .sh-spoke {
  stroke: var(--indigo-500);
}
.tt-shape-night .sh-line {
  fill: color-mix(in srgb, var(--snow-50) 10%, transparent);
  stroke: var(--snow-50);
}
.tt-shape-night .sh-dot {
  fill: var(--snow-50);
}
.tt-shape-night .sh-mark {
  fill: var(--sky-300);
}
.tt-break-shape .tt-shape-svg {
  width: 180px;
  height: auto;
  margin-bottom: 20px;
}
.tt-hero-shape .tt-shape-svg {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .tt-shape .tt-shape-svg {
    height: min(100cqh - 16px, 320px);
  }
  .tt-break-shape .tt-shape-svg {
    width: 240px;
  }
  .tt-hero-shape .tt-shape-svg {
    width: 200px;
  }
  .tt-shape-svg .sh-ring,
  .tt-shape-svg .sh-spoke,
  .tt-shape-svg .sh-line {
    vector-effect: non-scaling-stroke;
  }
  .tt-shape-svg .sh-ring {
    stroke-width: 1.2;
  }
  .tt-shape-svg .sh-spoke {
    stroke-width: 1;
  }
  .tt-shape-svg .sh-line {
    stroke-width: 2.2;
  }
  .tt-shape-svg .sh-dot {
    r: 1px;
  }
  .tt-shape-svg .sh-mark {
    r: 1.7px;
  }
}
.tt-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 8px;
}

.tt-break {
  max-width: 640px;
  margin: 0 auto;
  padding: calc(12 * var(--vh)) var(--gutter) calc(8 * var(--vh));
}
.tt-break h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  outline: none;
}
.tt-traces {
  margin-top: 18px;
  font-size: var(--fs-cap-p);
  color: var(--ink-700);
}
.tt-left {
  margin-top: 8px;
  color: var(--ink-500);
}
@media (min-width: 768px) {
  .tt-break {
    text-align: center;
  }
  .tt-break-shape .tt-shape-svg {
    margin-inline: auto;
  }
}

.tt-hero {
  background: var(--indigo-700);
  color: var(--snow-50);
}
.tt-hero-in {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(9 * var(--vh)) var(--gutter) calc(7 * var(--vh));
}
.tt-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sky-300);
}
.tt-hero h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 1.6rem + 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  outline: none;
}
.tt-hero-lead {
  margin-top: 16px;
  font-size: var(--fs-cap-p);
  color: var(--snow-200);
}
.tt-hero-note {
  max-width: 32rem;
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--snow-400);
}
.tt-result-in,
.tt-call,
.tt-list {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
html.to-list .tt-result-in,
html.to-list .tt-call,
html.to-list .tt-list {
  content-visibility: visible;
}
.tt-result-in {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(4 * var(--vh)) var(--gutter) calc(6 * var(--vh));
}
.tt-axes {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tt-axis {
  padding: 28px 0;
  border-bottom: 1px solid var(--snow-300);
}
.tt-axis h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-500);
}
.tt-scale {
  margin-top: 12px;
}
.tt-scale-ends {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-900);
}
.tt-scale-ends span:last-child {
  text-align: right;
}
.tt-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 10px;
}
.tt-steps i {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--snow-300);
}
.tt-steps i.on {
  background: var(--sky-500);
}
.tt-sentence {
  max-width: 34rem;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--ink-700);
  text-wrap: pretty;
}
.tt-unmeasured {
  margin-top: 20px;
  font-size: 0.9375rem;
  color: var(--ink-500);
}

.tt-style {
  padding: 8px 0 28px;
  border-bottom: 1px solid var(--snow-300);
}
.tt-style-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-500);
}
.tt-style-draft {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sky-600);
}
.tt-style-draft-note {
  margin: 2px 0 16px;
  font-size: 0.875rem;
  color: var(--ink-500);
}
.tt-style-balanced {
  margin-top: 16px;
  color: var(--ink-700);
}
.tt-style-name {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.tt-fit {
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--snow-300);
}
.tt-fit-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-500);
}
.tt-fit-name {
  max-width: 36rem;
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.tt-fit-reason {
  max-width: 36rem;
  margin-top: 8px;
  color: var(--ink-700);
}
.tt-style-words {
  margin-top: 8px;
  font-weight: 600;
  color: var(--ink-500);
}
.tt-style-headline {
  max-width: 36rem;
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}
.tt-style-headline + .tt-style-about {
  margin-top: 10px;
}
.tt-style-about {
  max-width: 36rem;
  margin-top: 16px;
}
.tt-style-about p,
.tt-style-text {
  max-width: 36rem;
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  line-height: 1.65;
  color: var(--ink-700);
}
.tt-style-about p + p {
  margin-top: 0.85em;
}
.tt-style strong {
  font-weight: 600;
  color: var(--ink-900);
}
.tt-style h3 {
  margin: 28px 0 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-500);
}
.tt-style-note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--ink-500);
}

.tt-call {
  border-top: 1px solid var(--snow-300);
}
.tt-call-in {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(8 * var(--vh)) var(--gutter) calc(3 * var(--vh));
}
.tt-call h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 1.35rem + 3.1vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-variation-settings:
    'opsz' 72,
    'SOFT' 30;
}
.tt-call-lead {
  max-width: 34rem;
  margin-top: 16px;
  font-size: var(--fs-cap-p);
  color: var(--ink-700);
}
.tt-tests {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.tt-test {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--snow-300);
  border-radius: var(--radius-md);
  background: var(--snow-100);
  font-size: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: break-word;
}
.tt-test-core {
  grid-column: 1 / -1;
  justify-content: space-between;
  padding: 12px 16px;
  border-color: var(--indigo-700);
  background: var(--indigo-700);
  color: var(--snow-50);
}
.tt-test-count {
  flex: none;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--snow-300);
}
.tt-tests-close {
  max-width: 34rem;
  margin-top: 20px;
  font-size: var(--fs-cap-p);
  color: var(--ink-700);
}
.tt-paths {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
@media (min-width: 720px) {
  .tt-paths {
    grid-template-columns: 1fr 1fr;
  }
}
.tt-path {
  padding: 22px 22px 24px;
  border: 1px solid var(--snow-300);
  border-radius: 20px;
  background: var(--snow-50);
}
.tt-path h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
}
.tt-path p {
  margin-top: 8px;
  color: var(--ink-500);
}

.tt-beta {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(3 * var(--vh)) var(--gutter) 0;
}
.tt-beta .wl-card {
  padding: 28px 22px;
  scroll-margin-top: 56px;
}
.tt-list {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(3 * var(--vh)) var(--gutter) calc(8 * var(--vh));
}
.tt-list .wl-card {
  padding: 28px 22px;
  scroll-margin-top: 56px;
}
.tt-list .wl-card[data-ask] {
  position: relative;
}
.tt-list .wl-card[data-ask] h3 {
  padding-right: 40px;
}
.wl-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-700);
  cursor: pointer;
}
.wl-close:hover {
  background: var(--snow-200);
}
.wl-close:focus-visible {
  outline: 2px solid var(--sky-500);
  outline-offset: 2px;
}
.wl-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.tt-list .wl h3:focus {
  outline: none;
}
.tt-again {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.tt-share-status {
  flex-basis: 100%;
  text-align: center;
  font-size: 0.875rem;
  color: var(--ink-500);
}
.tt-share-status:empty {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .tt-field,
  .tt-track i,
  .tt-dot::after,
  .tt-card {
    transition: none;
  }
}

.tt-story-open {
  margin-top: 22px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--snow-50);
  color: var(--ink-900);
  font: 600 1rem var(--font-sans);
  cursor: pointer;
}
.tt-style-art {
  display: block;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin: 4px 0 24px;
  border-radius: var(--radius-xl);
}
html.ts-on,
html.ts-on body {
  overflow: hidden;
}
html.ts-on body > header,
html.ts-on body > main,
html.ts-on body > aside,
html.ts-on body > footer {
  content-visibility: hidden;
}
.ts {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: max(14px, env(safe-area-inset-top)) 0 max(14px, env(safe-area-inset-bottom));
  background: var(--indigo-700);
}
.ts.ts-day {
  background: var(--snow-50);
}
@media (prefers-reduced-motion: no-preference) {
  .ts {
    animation: ts-in 280ms var(--ease-out) both;
  }
  .ts.ts-at-once {
    animation: none;
  }
  .ts-reveal .ts-bars,
  .ts-reveal .ts-close,
  .ts-reveal .ts-actions {
    animation: ts-in 460ms 180ms var(--ease-out) both;
  }
}
@keyframes ts-in {
  from {
    opacity: 0;
  }
}
.ts-bars {
  display: flex;
  gap: 6px;
  width: 100%;
  max-width: 520px;
  padding: 0 64px 0 16px;
}
.ts-bars i {
  flex: 1;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--indigo-500);
}
.ts-bars i.on {
  background: var(--snow-50);
}
.ts-day .ts-bars i {
  background: var(--snow-300);
}
.ts-day .ts-bars i.on {
  background: var(--ink-700);
}
.ts-close {
  position: absolute;
  top: max(2px, calc(env(safe-area-inset-top) - 12px));
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--snow-50);
  cursor: pointer;
}
.ts-day .ts-close {
  color: var(--ink-700);
}
.ts-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.ts-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.ts-frame {
  position: relative;
  overflow: hidden;
}
.ts-card,
.ts-ghost {
  display: block;
  width: 100%;
  height: 100%;
}
.ts-ghost {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.ts-hint {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  width: max-content;
  min-height: 44px;
  margin: -6px auto 0;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--sky-500);
  color: var(--snow-50);
  font: 600 1rem var(--font-sans);
  text-align: center;
  cursor: pointer;
}
.ts-day .ts-hint:focus-visible {
  outline: 2px solid var(--sky-600);
  outline-offset: 3px;
}
.ts-hint:not([hidden]) {
  display: inline-flex;
  align-items: center;
}
.ts-hint svg {
  width: 0.95em;
  height: 0.95em;
  margin-left: 0.4em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ts-layer {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
}
.ts-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.ts-orbit-dot {
  fill: var(--sky-500);
  stroke: var(--snow-50);
  stroke-width: 10;
}
.ts-orbit-glow {
  fill: var(--sky-300);
  opacity: 0.22;
}
.ts-orbit-dot,
.ts-orbit-glow {
  transform-box: fill-box;
  transform-origin: center;
}
.ts-orbit.on .ts-orbit-dot {
  animation: ts-dot 420ms var(--ease-out) both;
}
.ts-orbit.on .ts-orbit-glow {
  animation: ts-born 900ms var(--ease-out) both;
}
@keyframes ts-dot {
  from {
    transform: scale(0);
  }
}
@keyframes ts-born {
  from {
    opacity: 0.85;
    transform: scale(0.3);
  }
  40% {
    opacity: 0.6;
    transform: scale(1.15);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ts-hint:not([hidden]) {
    animation: ts-in 420ms var(--ease-out) both;
  }
}
.ts-light {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.ts-prev,
.ts-next {
  position: absolute;
  top: 0;
  bottom: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ts-prev {
  left: 0;
  width: calc(var(--edge, 0px) + var(--card, 100%) / 3);
}
.ts-next {
  right: 0;
  left: calc(var(--edge, 0px) + var(--card, 100%) / 3);
}
.ts-prev:disabled,
.ts-next:disabled {
  cursor: default;
}
.ts-arrow {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .ts-roomy .ts-arrow {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border: 1px solid var(--indigo-300);
    border-radius: var(--radius-pill);
    color: var(--snow-50);
    transition: border-color 0.18s var(--ease-std);
  }
  .ts-day .ts-roomy .ts-arrow {
    border-color: var(--snow-400);
    color: var(--ink-700);
  }
  .ts-roomy .ts-prev .ts-arrow {
    right: calc(var(--card) / 3 + 20px);
  }
  .ts-roomy .ts-next .ts-arrow {
    left: calc(var(--card) * 2 / 3 + 20px);
  }
  .ts-prev:hover .ts-arrow,
  .ts-next:hover .ts-arrow {
    border-color: var(--sky-300);
  }
  .ts-prev:disabled .ts-arrow,
  .ts-next:disabled .ts-arrow {
    visibility: hidden;
  }
}
.ts-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ts button:focus-visible {
  outline: 2px solid var(--sky-300);
  outline-offset: -4px;
}
.ts-day button:focus-visible {
  outline-color: var(--sky-500);
}
.ts-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.ts-save,
.ts-share {
  min-width: 44px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid currentColor;
  border-radius: var(--radius-pill);
  background: transparent;
  font: 600 1rem var(--font-sans);
  cursor: pointer;
}
.ts-share {
  color: var(--sky-300);
}
.ts-save {
  color: var(--snow-300);
}
.ts-day .ts-share {
  color: var(--sky-600);
}
.ts-day .ts-save {
  color: var(--ink-700);
}
.ts-save:hover,
.ts-share:hover {
  background: color-mix(in srgb, currentColor 10%, transparent);
}
.ts-more {
  display: flex;
  justify-content: center;
}
.ts-join {
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--sky-500);
  color: var(--snow-50);
  font: 600 1rem var(--font-sans);
  cursor: pointer;
}
.ts-actions.off,
.ts-more.off,
.ts-status.off,
.ts-down.off {
  display: none;
}
.ts-down {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin: -12px 0;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  color: var(--snow-300);
  font: 500 0.875rem/1.25 var(--font-sans);
  cursor: pointer;
}
.ts-day .ts-down {
  color: var(--ink-500);
}
.ts-down svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ts-last .ts-stage {
  touch-action: none;
}
@media (prefers-reduced-motion: no-preference) {
  .ts-down:not(.off) svg {
    animation: ts-down 1.6s var(--ease-out) 2 both;
  }
}
@keyframes ts-down {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: translateY(3px);
  }
}
.ts-status {
  min-height: 1.25em;
  font-size: 0.875rem;
  color: var(--snow-300);
  text-align: center;
}
.ts-day .ts-status {
  color: var(--ink-500);
}

.tt-gates,
.tt-pairs,
.tt-pair-gate {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter) calc(5 * var(--vh));
}
.tt-pair-gate {
  padding-top: calc(4 * var(--vh));
}
.tt-gate-rows {
  display: grid;
  gap: 14px;
}
@media (min-width: 720px) {
  .tt-gate-rows {
    grid-template-columns: 1fr 1fr;
  }
}
.tt-gate {
  padding: 22px 22px 24px;
  border: 1px solid var(--snow-300);
  border-radius: 20px;
  background: var(--snow-50);
}
.tt-gate-line {
  margin-top: 12px;
  color: var(--ink-500);
}
.tt-gate-main,
.tt-gate-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}
.tt-gate-main {
  border: 0;
  background: var(--sky-500);
  color: var(--snow-50);
  transition: background var(--dur-lg) var(--ease-std);
}
.tt-gate-main:hover {
  background: var(--sky-600);
}
.tt-gate-quiet {
  border: 1px solid var(--snow-400);
  background: transparent;
  color: var(--ink-700);
}
.tt-gate-quiet:hover {
  border-color: var(--ink-400);
}
.tt-gate-legal,
.tt-back-legal {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--ink-500);
}
.tt-gate-legal a,
.tt-back-legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tt-gate-status,
.tt-back-status {
  margin-top: 12px;
  font-size: 0.9375rem;
  color: var(--ink-700);
}
.tt-gate-status:empty,
.tt-back-status:empty {
  display: none;
}
.tt-carry,
.tt-link,
.tt-kept {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.tt-carry-code,
.tt-link-ready,
.tt-kept-line {
  flex-basis: 100%;
  color: var(--ink-700);
}
.tt-carry-code strong {
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-900);
}
.tt-link-url {
  flex-basis: 100%;
  font-size: 0.875rem;
  color: var(--ink-500);
  overflow-wrap: anywhere;
}
.tt-back {
  max-width: 30rem;
  margin-top: 18px;
}
.tt-back-line {
  color: var(--ink-700);
}
.tt-back .tt-gate-quiet {
  margin-top: 12px;
}
.tt-pair-closed {
  padding-top: calc(3 * var(--vh));
  color: var(--ink-700);
}

.tt-both {
  margin-top: calc(4 * var(--vh));
  padding: 28px 22px;
  border: 1px solid var(--snow-300);
  border-radius: 20px;
  background: var(--snow-50);
}
.tt-both + .tt-both {
  margin-top: 16px;
}
.tt-both-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sky-600);
}
.tt-both h2 {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.tt-both-lead {
  margin-top: 10px;
  color: var(--ink-500);
}
.tt-both h3 {
  margin-top: 26px;
  font-size: 1.0625rem;
  font-weight: 600;
}
.tt-both-sentence {
  margin-top: 10px;
  color: var(--ink-700);
}
.tt-both-rows {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.tt-both-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  border-bottom: 1px solid var(--snow-300);
}
.tt-both-word {
  color: var(--ink-500);
}
.tt-both-note,
.tt-both-estimate {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--ink-500);
}
.tt-both-call {
  --em: var(--sky-300);
  margin-top: 26px;
  padding: 22px;
  border-radius: 16px;
  background: var(--indigo-700);
  color: var(--snow-50);
}
.tt-both-call h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.15;
}
.tt-both-call p {
  margin-top: 8px;
  color: var(--snow-300);
}
.tt-both-call .tt-gate-main {
  margin-top: 16px;
}
