.vt {
  --a: #066565;
  --b: #904216;
  color: #18292b;
  font: 1rem/1.5 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.vt [hidden] { display: none !important; }
.vt h2 { font: 600 clamp(1.45rem, 4vw, 2.3rem)/1.12 Georgia, serif; }
.vt :is(h2,h3,p) { margin: 0; }
.vt label { font-weight: 650; }
.vt button, .vt select {
  min-height: 44px;
  padding: .5rem .85rem;
  background: white;
  color: #14353a;
  font: inherit;
  border: 1px solid #74878a;
  border-radius: .45rem;
  cursor: pointer;
}
.vt button:hover:not(:disabled) { background: #e2efed; }
.vt button:disabled { opacity: .45; cursor: default; }
.vt :focus-visible { outline: 3px solid #1c6fc1; outline-offset: 3px; }
.vt .vt-picker { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.vt select { flex: 1 1 20rem; min-width: 0; max-width: 100%; }
.vt-board { margin: 1rem 0; background: #fff; border: 1px solid #b7c7c4; border-radius: .9rem; }
.vt-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.vt-person {
  --side: var(--a);
  text-align: left;
  color: var(--side);
  padding: clamp(.75rem,2.5vw,1.55rem);
  background: #e6f4ef;
  border-top: .35rem solid;
  border-radius: .8rem 0 0 0;
  display: flex;
  flex-direction: column;
}
.vt-b { --side: var(--b); background: #fff0dd; text-align: right; border-radius: 0 .8rem 0 0; }
.vt .vt-kicker { font-size: .76rem; font-weight: 740; letter-spacing: .085em; text-transform: uppercase; }
.vt h3 { font: 650 clamp(1.05rem, 2.6vw, 1.65rem)/1.17 system-ui,sans-serif; margin-top: .2rem; }
.vt .vt-actual { padding-top: .75rem; margin-top: auto; color: #283737; }
.vt .vt-sim { margin-top: .5rem; border-top: 1px solid currentColor; padding-top: .5rem; font-weight: 650; }
.vt-sim span { display: block; font: 700 clamp(1.55rem,5vw,3rem)/1.1 Georgia,serif; font-variant-numeric: tabular-nums; }
.vt-play { padding: clamp(.9rem,2vw,1.4rem); text-align: center; }
#vote-status { margin: .2rem 0 .4rem; font: 600 clamp(1.13rem, 3vw, 1.6rem)/1.25 Georgia,serif; }
.vt-scale { display: grid; grid-template-columns: 1fr auto 1fr; font-size: .83rem; margin: 0 auto 1rem; color: #495759; }
.vt-scale span:first-of-type { text-align: left; color: var(--a); }
.vt-scale span:last-child { text-align: right; color: var(--b); }
.vt-track { --position: 0%; position: relative; grid-column: 1/-1; margin: 2.8rem 1.1rem .5rem; height: .45rem; background: #dde3e1; color: var(--a); }
.vt-track[data-side=b] { color: var(--b); }
.vt-track[data-side=tie] { color: #293638; }
.vt-track i { position: absolute; left: min(50%,var(--position)); right: min(50%,calc(100% - var(--position))); top: 0; bottom: 0; background: currentColor; }
.vt-track b { position: absolute; left: 50%; top: -.25rem; height: 1rem; border-left: 2px solid #293638; }
.vt-track svg { width: 2.25rem; position: absolute; left: var(--position); bottom: 100%; transform: translateX(-50%); }
.vt-adjust { display: flex; align-items: center; gap: .8rem; max-width: 34rem; margin: .4rem auto; }
.vt-adjust input { flex: 1; min-width: 0; height: 44px; cursor: pointer; accent-color: #163b42; }
.vt-adjust button { min-width: 44px; font-size: 1.3rem; padding: .2rem; }
#vote-moved { font-weight: 700; }
.vt-actions, .vt .vt-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .55rem; margin-top: .9rem; }
#vote-flip { background: #193b42; color: white; font-weight: 700; }
#vote-flip:hover { background: #29555d; }
.vt .vt-links { justify-content: start; gap: .7rem 1.3rem; }
.vt details { margin-top: 1rem; border-top: 1px solid #acbcb7; padding-top: 1rem; }
.vt summary { font-weight: 700; cursor: pointer; }
.vt details p { max-width: 75ch; margin-top: .75rem; }
@media print {
  .vt .vt-picker, .vt-adjust, .vt-actions, .vt label, #vote-share { display: none; }
  .vt-board { break-inside: avoid; }
}
