/* The lineup: region box, what changed, packages, tools, category tables, download page.
   Colours and sizes are variables a theme can set; these defaults are the site's own look
   (black and white, one blue for what the reader acts on). */
.tcldb {
  --tcldb-ink: #0a0a0a;
  --tcldb-text: #262626;
  --tcldb-muted: #525252;
  --tcldb-faint: #6b6b6b;
  --tcldb-field: #8c8c8c;
  --tcldb-line: #ececec;
  --tcldb-line-soft: #f2f2f2;
  --tcldb-line-strong: #d4d4d4;
  --tcldb-soft: #fafafa;
  --tcldb-soft-2: #f5f5f5;
  --tcldb-surface: #ffffff;
  --tcldb-accent: #1d4ed8;
  --tcldb-accent-soft: #eff6ff;
  --tcldb-accent-line: #bfdbfe;
  --tcldb-primary: #0a0a0a;
  --tcldb-primary-hover: #262626;
  --tcldb-on-primary: #ffffff;
  --tcldb-brand: #0a0a0a;
  --tcldb-dark: #0a0a0a;
  --tcldb-dark-raised: #262626;
  --tcldb-dark-muted: #a3a3a3;
  --tcldb-ok: #15803d;
  --tcldb-ok-soft: #dcfce7;
  --tcldb-removed: #b42318;
  --tcldb-warn: #92400e;
  --tcldb-warn-soft: #fef3c7;
  --tcldb-warn-line: #fcd34d;
  --tcldb-mark: #fef08a;
  --tcldb-focus: #2563eb;
  --tcldb-radius: 10px;
  --tcldb-radius-card: 14px;
  --tcldb-shadow-sm: 0 1px 2px rgb(0 0 0 / 5%);
  --tcldb-shadow: 0 1px 2px rgb(0 0 0 / 4%), 0 10px 30px -12px rgb(0 0 0 / 9%);
  --tcldb-shadow-lg: 0 40px 80px -32px rgb(0 0 0 / 18%), 0 12px 32px -12px rgb(0 0 0 / 8%);
  --tcldb-shadow-pop: 0 24px 48px -16px rgb(0 0 0 / 22%), 0 2px 6px rgb(0 0 0 / 5%);
  --tcldb-shine:
    inset 0 1px 0 rgb(255 255 255 / 18%), 0 1px 2px rgb(0 0 0 / 20%), 0 4px 12px rgb(0 0 0 / 12%);
  --tcldb-sticky-top: var(--wp-admin--admin-bar--height, 0px);
  color: var(--tcldb-ink);
  font-variant-numeric: tabular-nums;
}
.tcldb *,
.tcldb *::before,
.tcldb *::after {
  box-sizing: border-box;
}
.tcldb svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.tcldb .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.tcldb [hidden] {
  display: none !important;
}
.tcldb-facts {
  margin: 0;
  color: var(--tcldb-muted, #525252);
  font-size: 0.9375rem;
}

/* Buttons and fields */
.tcldb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius);
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-sm);
  color: var(--tcldb-ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  list-style: none;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    scale 0.15s;
}
.tcldb-button::-webkit-details-marker {
  display: none;
}
.tcldb-button:hover {
  border-color: var(--tcldb-line-strong);
  background: var(--tcldb-soft);
}
.tcldb-button:active {
  scale: 0.98;
}
/* The main button: black (white in dark mode) with a soft shine. */
.tcldb-button.is-primary {
  border-color: var(--tcldb-primary);
  background: var(--tcldb-primary);
  box-shadow: var(--tcldb-shine);
  color: var(--tcldb-on-primary);
}
.tcldb-button.is-primary:hover {
  border-color: var(--tcldb-primary-hover);
  background: var(--tcldb-primary-hover);
}
.tcldb-button.is-large {
  min-height: 3rem;
  padding: 0 1.4rem;
  font-size: 1rem;
}
.tcldb-button:focus-visible,
.tcldb summary:focus-visible,
.tcldb a:focus-visible {
  outline: 2px solid var(--tcldb-focus);
  outline-offset: 2px;
}
.tcldb-button[aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
}
.tcldb-field {
  position: relative;
  display: flex;
  align-items: center;
}
.tcldb-field input,
.tcldb-field select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0 0.85rem;
  border: 1px solid var(--tcldb-line-strong);
  border-radius: var(--tcldb-radius);
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-sm);
  color: var(--tcldb-ink);
  font: inherit;
  font-size: 0.9375rem;
}
/* A text field the reader types in keeps a border dark enough to find (3:1). */
.tcldb-field input[type="search"],
.tcldb-field input[type="text"] {
  border-color: var(--tcldb-field);
  font-size: 1rem;
}
.tcldb-field input::placeholder {
  color: var(--tcldb-faint);
}
.tcldb-field input:focus,
.tcldb-field select:focus {
  outline: none;
  border-color: var(--tcldb-focus);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--tcldb-focus) 18%, transparent);
}
.tcldb-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0;
  font-size: 0.9375rem;
  cursor: pointer;
}
.tcldb-check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--tcldb-primary);
}
.tcldb-link,
.tcldb-link-button {
  color: var(--tcldb-accent);
  font-weight: 500;
}
.tcldb-link-button {
  border: 0;
  background: none;
  padding: 0 0.25rem;
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
}

/* Region box: a card that opens into the region list */
.tcldb-region {
  position: relative;
  margin: 1.25rem 0 1rem;
}
.tcldb-region > summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius-card);
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-sm);
  list-style: none;
  cursor: pointer;
  transition: border-color 0.15s;
}
.tcldb-region > summary::-webkit-details-marker {
  display: none;
}
.tcldb-region > summary:hover {
  border-color: var(--tcldb-line-strong);
}
.tcldb-region strong {
  min-width: 0;
  overflow: hidden;
  font-size: 1.0625rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tcldb-region-label {
  color: var(--tcldb-faint);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tcldb-region-change {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  color: var(--tcldb-accent);
  font-size: 0.9375rem;
  font-weight: 500;
}
.tcldb-region[open] .tcldb-region-change svg {
  transform: rotate(180deg);
}
.tcldb-region-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  max-height: min(70vh, 34rem);
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius-card);
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-pop);
}
.tcldb-region-head {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-bottom: 1px solid var(--tcldb-line);
}
.tcldb-region-head .tcldb-field {
  flex: 1;
}
.tcldb-region-close {
  display: none;
  width: 2.75rem;
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius);
  background: var(--tcldb-soft);
  color: var(--tcldb-ink);
  font-size: 1.4rem;
  cursor: pointer;
}
.tcldb-region-results {
  overflow-y: auto;
  padding: 0.5rem 0.75rem 0.75rem;
  overscroll-behavior: contain;
}
/* Services first: tabs over the region lists (shown once the script runs), and on a region page
   the same place's other services. */
.tcldb-service-tabs {
  display: none;
  flex-wrap: wrap;
  gap: 0.375rem;
  padding: 0.75rem 0.75rem 0;
}
.tcldb-region.is-ready .tcldb-service-tabs,
.tcldb-hub.is-ready .tcldb-service-tabs {
  display: flex;
}
.tcldb-hub .tcldb-service-tabs {
  padding: 0 0 0.25rem;
}
.tcldb-service-tabs button,
.tcldb-service-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 2.375rem;
  padding: 0 0.9rem;
  border: 1px solid var(--tcldb-line);
  border-radius: 999px;
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-sm);
  color: var(--tcldb-text);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}
.tcldb-service-tabs button span {
  margin-left: 0.3rem;
  color: var(--tcldb-faint);
  font-weight: 400;
}
.tcldb-service-tabs button[aria-selected="true"],
.tcldb-service-switch a[aria-current="page"] {
  border-color: var(--tcldb-primary);
  background: var(--tcldb-primary);
  color: var(--tcldb-on-primary);
  cursor: default;
}
.tcldb-service-tabs button[aria-selected="true"] span {
  color: color-mix(in srgb, var(--tcldb-on-primary) 70%, var(--tcldb-primary));
}
.tcldb-service-tabs button:hover:not([aria-selected="true"]),
.tcldb-service-switch a[href]:hover:not([aria-current="page"]) {
  border-color: var(--tcldb-line-strong);
  color: var(--tcldb-ink);
}
.tcldb-region.is-ready:not(.is-searching)
  .tcldb-service-tabs
  ~ .tcldb-region-results
  .tcldb-region-group,
.tcldb-hub.is-ready:not(.is-searching)
  .tcldb-service-tabs
  ~ .tcldb-region-results
  .tcldb-region-group {
  display: none;
}
/* A place's services as tabs: each a link to its own page, the one shown marked. */
.tcldb-tabs-list {
  display: flex;
  gap: 0.5rem;
  margin: 1.25rem 0 0.5rem;
  padding: 0;
  overflow-x: auto;
}
.tcldb-tabs-list a {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border: 1px solid var(--tcldb-line);
  border-radius: 999px;
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-sm);
  color: var(--tcldb-text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.tcldb-tabs-list a span {
  margin-left: 0.4rem;
  color: var(--tcldb-faint);
  font-weight: 400;
}
.tcldb-tabs-list a[aria-current="page"] {
  border-color: var(--tcldb-primary);
  background: var(--tcldb-primary);
  color: var(--tcldb-on-primary);
}
.tcldb-tabs-list a[aria-current="page"] span {
  color: color-mix(in srgb, var(--tcldb-on-primary) 70%, var(--tcldb-primary));
}
.tcldb-tabs-list a:hover:not([aria-current="page"]) {
  border-color: var(--tcldb-line-strong);
  color: var(--tcldb-ink);
}
.tcldb-service-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0 0 1rem;
}
.tcldb-region-group {
  margin: 0.75rem 0 0.25rem;
  padding: 0 0.5rem;
  color: var(--tcldb-faint);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tcldb-region-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 3 11rem;
  column-gap: 0.5rem;
}
.tcldb-region-list li {
  break-inside: avoid;
}
.tcldb-region-list a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  color: var(--tcldb-text);
  font-size: 0.9375rem;
  text-decoration: none;
}
.tcldb-region-list a:hover,
.tcldb-region-list a.is-active {
  background: var(--tcldb-soft-2);
  color: var(--tcldb-ink);
}
.tcldb-region-list a[aria-current="page"] {
  color: var(--tcldb-ink);
  font-weight: 600;
}
.tcldb-region-list mark {
  border-radius: 2px;
  background: var(--tcldb-mark);
  color: inherit;
}
.tcldb-region-empty {
  margin: 1rem 0.5rem;
  color: var(--tcldb-muted);
}

/* What changed: a soft blue panel; each kind of change on its own small card */
.tcldb-changes {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--tcldb-accent-line);
  border-radius: 12px;
  background: var(--tcldb-accent-soft);
  font-size: 0.9375rem;
}
.tcldb-changes summary {
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.tcldb-changes summary::-webkit-details-marker {
  display: none;
}
.tcldb-dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: var(--tcldb-ok);
  box-shadow: 0 0 0 3px var(--tcldb-ok-soft);
  vertical-align: 0.12em;
}
.tcldb-changes-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.6rem;
  margin: 0.75rem 0 0.2rem;
}
.tcldb-changes-group {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--tcldb-line);
  border-radius: 12px;
  background: var(--tcldb-surface);
}
.tcldb-changes-group h3 {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tcldb-changes-group.is-added h3 {
  color: var(--tcldb-ok);
}
.tcldb-changes-group.is-removed h3 {
  color: var(--tcldb-removed);
}
.tcldb-changes-group.is-changed h3 {
  color: var(--tcldb-warn);
}
.tcldb-changes-group .tcldb-count {
  font-weight: 500;
}
.tcldb-changes-group ul {
  margin: 0;
  padding-left: 1.1rem;
}
.tcldb-changes-group li {
  margin: 0.15rem 0;
}
.tcldb-changes-before {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
  font-weight: 500;
}

/* "channels on <provider>" after a category's name */
.tcldb-heading-context {
  color: var(--tcldb-faint);
  font-weight: 400;
  font-size: 0.8em;
}

/* New and changed channels in a recent update */
.tcldb-mark {
  display: inline-block;
  margin-inline-start: 0.4rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.02em;
  vertical-align: 0.12em;
  white-space: nowrap;
  text-transform: uppercase;
}
.tcldb-mark.is-new {
  background: var(--tcldb-ok-soft);
  color: var(--tcldb-ok);
}
.tcldb-mark.is-changed {
  background: var(--tcldb-warn-soft);
  color: var(--tcldb-warn);
}
.tcldb-mark-detail {
  display: block;
  color: var(--tcldb-warn);
  font-size: 0.8125rem;
  font-weight: 400;
}

/* Folds: lineup history and the packages box are cards that open in place */
.tcldb-history,
.tcldb-packages {
  margin: 0.75rem 0 1rem;
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius-card);
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-sm);
  font-size: 0.9375rem;
}
.tcldb-history > summary,
.tcldb-packages > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 0.7rem 1rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.tcldb-history > summary::-webkit-details-marker,
.tcldb-packages > summary::-webkit-details-marker {
  display: none;
}
.tcldb-history > summary::after,
.tcldb-packages > summary::after {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.3rem;
  border-right: 1.75px solid var(--tcldb-faint);
  border-bottom: 1.75px solid var(--tcldb-faint);
  transform: translateY(-0.12rem) rotate(45deg);
}
.tcldb-history[open] > summary::after,
.tcldb-packages[open] > summary::after {
  transform: translateY(0.12rem) rotate(-135deg);
}
.tcldb-history > :not(summary) {
  margin: 0 1rem;
}
.tcldb-history > :last-child {
  margin-bottom: 0.85rem;
}
.tcldb-history p {
  margin-top: 0;
  color: var(--tcldb-muted);
}
.tcldb-history ol {
  padding: 0;
  list-style: none;
}
.tcldb-history li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--tcldb-line-soft);
}
.tcldb-history-state {
  padding: 0 0.55rem;
  border-radius: 999px;
  background: var(--tcldb-soft-2);
  color: var(--tcldb-muted);
  font-size: 0.75rem;
  font-weight: 600;
}
.tcldb-history-state.is-viewing {
  background: var(--tcldb-warn-soft);
  color: var(--tcldb-warn);
}

/* An earlier lineup, opened from the history */
.tcldb-version-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--tcldb-warn-line);
  border-radius: var(--tcldb-radius-card);
  background: var(--tcldb-warn-soft);
  color: var(--tcldb-ink);
}
.tcldb-version-note p {
  flex: 1 1 22rem;
  margin: 0;
}
.tcldb-version-note .tcldb-button {
  text-decoration: none;
}

/* Packages */
.tcldb-packages > :not(summary) {
  margin-left: 1rem;
  margin-right: 1rem;
}
.tcldb-packages > :last-child {
  margin-bottom: 1rem;
}
.tcldb-subhead {
  margin: 0.75rem 0 0.5rem;
  color: var(--tcldb-faint);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* The lineup's window: the tools along its top, the categories down its side, the tables beside
   them. A frame with a soft shadow on wide screens; plain on phones. */
.tcldb-window {
  margin: 1.75rem 0 0;
  border: 1px solid var(--tcldb-line);
  border-radius: 18px;
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-lg);
}
.tcldb-window > .tcldb-status {
  margin: 0;
  padding: 0.5rem 1.25rem 0;
}
.tcldb-window > .tcldb-status:empty {
  min-height: 0;
  padding: 0;
}
.tcldb-window > .tcldb-body {
  padding: 0 1.25rem 1.5rem;
}

/* Tools: sticky while reading the tables. Wide screens: one row. Phones: search, Options and
   PDF; the rest opens under Options. */
.tcldb-tools {
  position: sticky;
  top: var(--tcldb-sticky-top);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0.6rem 0;
  background: var(--tcldb-surface);
}
.tcldb-window > .tcldb-tools {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--tcldb-line);
  border-radius: 17px 17px 0 0;
  background: color-mix(in srgb, var(--tcldb-soft) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
}
.tcldb-tools.is-stuck {
  border-radius: 0;
  box-shadow: 0 12px 20px -16px rgb(0 0 0 / 35%);
}
.tcldb-tools-main {
  display: contents;
}
.tcldb-search {
  order: 1;
  flex: 1 1 15rem;
}
.tcldb-search svg {
  position: absolute;
  left: 0.8rem;
  color: var(--tcldb-faint);
}
.tcldb-search input {
  padding-left: 2.4rem;
}
.tcldb-tools-options {
  order: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tcldb-tools-main > .tcldb-button.is-primary {
  order: 3;
}
.tcldb-options-toggle,
.tcldb-label-short {
  display: none;
}
.tcldb-options-toggle {
  order: 2;
}
.tcldb-package {
  width: 12rem;
}
.tcldb-sort {
  width: 13.75rem;
}
.tcldb:not(.is-ready) .needs-js {
  display: none;
}
.tcldb-status {
  margin: 0.25rem 0 0;
  min-height: 1.25rem;
  color: var(--tcldb-muted);
  font-size: 0.875rem;
}
.tcldb-menu {
  position: relative;
}
.tcldb-menu-panel {
  position: absolute;
  z-index: 30;
  right: 0;
  top: calc(100% + 6px);
  min-width: 13rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius-card);
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-pop);
}
.tcldb-menu-title {
  margin: 0 0 0.25rem;
  color: var(--tcldb-faint);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* The package choice: a menu with each plan's marker (a native select cannot show colours) */
.tcldb-pick {
  position: relative;
}
.tcldb-pick-button {
  width: 100%;
  justify-content: space-between;
  font-weight: 500;
}
.tcldb-pick.is-chosen .tcldb-pick-button {
  border-color: var(--tcldb-accent-line);
  background: var(--tcldb-accent-soft);
}
.tcldb-pick-current {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.tcldb-pick-current .tcldb-pick-name {
  overflow: hidden;
  text-overflow: ellipsis;
}
.tcldb-pick-current .tcldb-marker {
  margin: 0;
}
.tcldb-pick-panel {
  position: absolute;
  z-index: 30;
  left: 0;
  top: calc(100% + 6px);
  width: max(100%, 21rem);
  max-width: calc(100vw - 2rem);
  max-height: min(26rem, 60vh);
  overflow-y: auto;
  padding: 0.4rem;
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius-card);
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-pop);
}
.tcldb-pick-panel .tcldb-menu-title {
  margin: 0.6rem 0.5rem 0.2rem;
}
.tcldb-pick-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.5rem 0.55rem;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--tcldb-ink);
  font: inherit;
  font-size: 0.9375rem;
  text-align: left;
  cursor: pointer;
}
.tcldb-pick-option:hover,
.tcldb-pick-option:focus-visible {
  outline: none;
  background: var(--tcldb-soft-2);
}
.tcldb-pick-option[aria-checked="true"] {
  background: var(--tcldb-soft-2);
  font-weight: 500;
}
.tcldb-pick-option .tcldb-pick-name {
  flex: 1 1 auto;
  min-width: 0;
}
.tcldb-pick-option small {
  display: block;
  color: var(--tcldb-faint);
  font-size: 0.8125rem;
  font-weight: 400;
}
.tcldb-pick-count {
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--tcldb-soft-2);
  color: var(--tcldb-muted);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.6;
}
.tcldb-sign {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: flex-start;
  min-width: 3.4rem;
}
.tcldb-sign .tcldb-marker {
  margin: 0;
}
.tcldb-dots {
  gap: 2px;
}
.tcldb-dots i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--marker);
}
.tcldb-dots i.is-ring {
  background: transparent;
  border: 2px solid var(--marker);
}
.tcldb-plus {
  color: var(--tcldb-muted);
  font-weight: 700;
  padding-left: 0.2rem;
}
.tcldb-pick-current .tcldb-sign {
  min-width: 0;
}

/* Packages by name in each channel's row, with the plan's colour */
.tcldb-pkg {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.1rem 0.75rem 0.1rem 0;
  color: var(--tcldb-text);
  font-size: 0.875rem;
  font-weight: 400;
  white-space: nowrap;
}
.tcldb-pkg small {
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--tcldb-soft-2);
  color: var(--tcldb-muted);
  font-size: 0.75rem;
}
.tcldb-dot-mark {
  flex: none;
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--marker);
}
.tcldb-dot-mark.is-ring {
  background: transparent;
  border: 2px solid var(--marker);
}
.tcldb-desc {
  margin-top: 0.2rem;
  color: var(--tcldb-faint);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
}
.tcldb-desc .tcldb-more {
  font-size: 0.8125rem;
}
.tcldb:not(.is-list) [data-col="category"] {
  display: none;
}
.tcldb-table .k-category {
  color: var(--tcldb-muted);
  font-size: 0.875rem;
}

/* The View menu */
.tcldb-view .tcldb-menu-panel {
  width: 17rem;
  max-height: min(32rem, 70vh);
  overflow-y: auto;
}
.tcldb-view fieldset {
  margin: 0 0 0.6rem;
  padding: 0;
  border: 0;
}
.tcldb-view legend {
  padding: 0;
}
.tcldb-check input[type="radio"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--tcldb-primary);
}
.tcldb-view .tcldb-link-button {
  padding: 0.3rem 0 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

/* HD and 4K beside channel names, when the lineup mixes formats */
.tcldb-badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0 0.45rem;
  border: 1px solid var(--tcldb-line);
  border-radius: 999px;
  color: var(--tcldb-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-decoration: none;
  vertical-align: 0.12em;
}

/* Package sections: the plan's marker and price beside its name */
.tcldb-heading-dot {
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--marker);
}
.tcldb-heading-price {
  color: var(--tcldb-muted);
  font-size: 0.9375rem;
  font-weight: 400;
}

/* What add-ons need first */
.tcldb-needs {
  margin: 0 0 0.5rem;
  padding-left: 1.2rem;
  font-size: 0.9375rem;
}
.tcldb-needs li {
  margin: 0.2rem 0;
}

@media (max-width: 860px) {
  .tcldb-tools {
    display: block;
  }
  .tcldb-tools-main {
    display: flex;
    gap: 0.4rem;
  }
  .tcldb-search {
    flex: 1 1 auto;
    min-width: 0;
  }
  .tcldb-options-toggle {
    display: inline-flex;
    padding: 0 0.75rem;
  }
  .tcldb-options-toggle[aria-expanded="true"] {
    border-color: var(--tcldb-primary);
    background: var(--tcldb-soft-2);
  }
  .tcldb-tools-options {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    margin-top: 0.5rem;
  }
  .tcldb-tools-options.is-open {
    display: grid;
  }
  .tcldb-package,
  .tcldb-sort {
    width: auto;
  }
  .tcldb-tools-options .tcldb-menu > summary {
    width: 100%;
  }
  .tcldb-tools-main > .tcldb-button.is-primary {
    padding: 0 0.85rem;
  }
  .tcldb-tools .tcldb-label-long {
    display: none;
  }
  .tcldb-tools .tcldb-label-short {
    display: inline;
  }
}

/* The categories beside the tables (wide screens): a soft column down the window's side. Phones
   use "Go to category" under Options. */
.tcldb-toc {
  display: none;
}
@media (min-width: 1024px) {
  .tcldb-body.has-toc {
    display: grid;
    grid-template-columns: 13.5rem minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
  }
  .tcldb-window > .tcldb-body.has-toc {
    gap: 0;
    padding: 0;
    border-radius: 0 0 17px 17px;
    background: linear-gradient(
      90deg,
      var(--tcldb-soft) 13.5rem,
      var(--tcldb-line) 13.5rem,
      var(--tcldb-line) calc(13.5rem + 1px),
      transparent calc(13.5rem + 1px)
    );
  }
  .tcldb-window > .tcldb-body.has-toc > .tcldb-toc {
    margin: 0;
    padding: 1.1rem 0.75rem 1.25rem;
  }
  .tcldb-window > .tcldb-body.has-toc > .tcldb-sections {
    min-width: 0;
    padding: 0 1.5rem 1.5rem;
  }
  .tcldb-toc {
    display: block;
    position: sticky;
    top: calc(var(--tcldb-sticky-top) + var(--tcldb-tools-h, 4.25rem) + 0.5rem);
    max-height: calc(100vh - var(--tcldb-sticky-top) - var(--tcldb-tools-h, 4.25rem) - 1rem);
    margin-top: 1.75rem;
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .tcldb-jump-select {
    display: none;
  }
}
.tcldb-toc-title {
  margin: 0 0.6rem 0.5rem;
  color: var(--tcldb-faint);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tcldb-toc ol {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tcldb-toc a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--tcldb-text);
  font-size: 0.9375rem;
  line-height: 1.35;
  text-decoration: none;
}
.tcldb-toc-name {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  min-width: 0;
}
.tcldb-toc-dot {
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--marker);
}
.tcldb-toc-dot.is-ring,
.tcldb-heading-dot.is-ring {
  background: transparent;
  border: 2px solid var(--marker);
}
.tcldb-toc-count {
  flex: none;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--tcldb-line);
  color: var(--tcldb-muted);
  font-size: 0.75rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
.tcldb-toc a:hover {
  background: var(--tcldb-surface);
  color: var(--tcldb-ink);
}
.tcldb-toc a.is-current {
  border-color: var(--tcldb-line);
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-sm);
  color: var(--tcldb-ink);
  font-weight: 500;
}
.tcldb-toc a.is-current .tcldb-toc-count {
  background: var(--tcldb-accent-soft);
  color: var(--tcldb-accent);
}
.tcldb-toc li[hidden] {
  display: none;
}

/* At a glance: a card with the counts as one strip of tiles */
.tcldb-summary,
.tcldb-hub {
  margin: 1.25rem 0;
  padding: 1.25rem;
  border: 1px solid var(--tcldb-line);
  border-radius: 16px;
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow);
}
.tcldb-stats,
.tcldb-glance-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius-card);
  background: var(--tcldb-surface);
}
/* Lines between the tiles, whatever the number of rows (the outer ones fall under the frame). */
.tcldb-stats > div,
.tcldb-glance-facts > div {
  box-shadow:
    1px 0 0 var(--tcldb-line-soft),
    0 1px 0 var(--tcldb-line-soft);
}
.tcldb-stats > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.1rem;
  padding: 0.75rem 1rem;
  background: var(--tcldb-surface);
}
.tcldb-stats dt {
  color: var(--tcldb-faint);
  font-size: 0.875rem;
}
.tcldb-stats dd {
  margin: 0;
  color: var(--tcldb-ink);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.tcldb-summary-title {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.tcldb-summary-text {
  margin: 0.9rem 0 0;
  color: var(--tcldb-text);
  line-height: 1.6;
}
.tcldb-summary .tcldb-changes {
  margin: 0.9rem 0 0;
}

/* The region hub of an article with many regions */
.tcldb-hub h2 {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tcldb-hub .tcldb-summary-text {
  margin: 0.4rem 0 1rem;
}
.tcldb-hub-search {
  margin: 1rem 0 0.5rem;
}
.tcldb-hub-search input {
  min-height: 3.25rem;
  padding-left: 2.6rem;
  font-size: 1.0625rem;
}
.tcldb-hub-search svg {
  position: absolute;
  left: 0.9rem;
  color: var(--tcldb-faint);
}
.tcldb-hub .tcldb-region-results {
  padding: 0;
}
.tcldb-hub .tcldb-region-list ul {
  columns: 4 10rem;
}
.tcldb-hub h3.tcldb-region-group {
  margin: 1rem 0 0.25rem;
  padding: 0 0.5rem;
}
.tcldb-hub h3.tcldb-region-group span {
  margin-left: 0.25rem;
  color: var(--tcldb-faint);
  font-weight: 500;
}

/* Category tables */
.tcldb-section {
  margin: 1.75rem 0 0;
  scroll-margin-top: calc(var(--tcldb-sticky-top) + var(--tcldb-tools-h, 4.25rem) + 1rem);
}
.tcldb-section h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.6rem;
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.tcldb-count {
  padding: 0.05rem 0.55rem;
  border-radius: 999px;
  background: var(--tcldb-soft-2);
  color: var(--tcldb-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
}
.tcldb-section-note {
  margin: 0 0 0.6rem;
  color: var(--tcldb-faint);
  font-size: 0.9375rem;
}
.tcldb-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--tcldb-line);
  border-radius: 12px;
  background: var(--tcldb-surface);
}
.tcldb-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.45;
}
.tcldb-table th,
.tcldb-table td {
  padding: 0.65rem 0.9rem;
  border: 0;
  border-bottom: 1px solid var(--tcldb-line-soft);
  text-align: left;
  vertical-align: top;
}
.tcldb-table thead th {
  border-bottom-color: var(--tcldb-line);
  background: var(--tcldb-surface);
  color: var(--tcldb-faint);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}
.tcldb-table tbody tr:last-child > * {
  border-bottom: 0;
}
.tcldb-table tbody tr:hover > * {
  background: var(--tcldb-soft);
}
.tcldb-table .k-channel {
  min-width: 11rem;
  max-width: 26rem;
  font-weight: 500;
}
/* A channel with its own page: its name links there, in ink with a faint underline. */
.tcldb-table a.tcldb-name {
  color: var(--tcldb-ink);
  text-decoration: underline;
  text-decoration-color: var(--tcldb-line-strong);
  text-underline-offset: 3px;
}
.tcldb-table a.tcldb-name:hover {
  text-decoration-color: currentColor;
}
.tcldb-table .k-number,
.tcldb-table .k-serial {
  width: 1%;
  white-space: nowrap;
  color: var(--tcldb-ink);
}
.tcldb-table .k-serial {
  color: var(--tcldb-faint);
  font-size: 0.875rem;
}
/* A channel number as a small key: easy to find and to read from across the room. */
.tcldb-num {
  display: inline-block;
  min-width: 2.5rem;
  padding: 0.05rem 0.5rem;
  border: 1px solid var(--tcldb-line);
  border-radius: 8px;
  background: linear-gradient(var(--tcldb-surface), var(--tcldb-soft));
  box-shadow: 0 1px 1px rgb(0 0 0 / 4%);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.tcldb-table .k-serial .tcldb-num {
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  font-weight: 400;
}
.tcldb-table .k-price {
  white-space: nowrap;
}
.tcldb-table .k-description {
  min-width: 14rem;
  color: var(--tcldb-muted);
  font-size: 0.875rem;
}
.tcldb-table .k-plans {
  min-width: 9rem;
}
.tcldb-none {
  color: var(--tcldb-faint);
}
.tcldb-clamp {
  display: block;
}
.tcldb-table td.tcldb-clamp {
  display: table-cell;
}
.tcldb-clamp-inner {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.tcldb-clamp.is-open .tcldb-clamp-inner {
  -webkit-line-clamp: unset;
}
.tcldb-more {
  padding: 0;
  border: 0;
  background: none;
  color: var(--tcldb-accent);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
}
.tcldb-marker {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0.1rem 0.6rem 0.1rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}
.tcldb-marker i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--marker);
}
.tcldb-marker.is-ring i {
  background: transparent;
  border: 2px solid var(--marker);
}
.tcldb-named {
  font-size: 0.875rem;
}
.tcldb-info .k-channel {
  min-width: 0;
}
.tcldb-info td.k-marker {
  width: 1%;
  white-space: nowrap;
}
.tcldb-info .k-description {
  min-width: 14rem;
  color: var(--tcldb-muted);
  font-size: 0.875rem;
}
.tcldb-info .k-name {
  font-weight: 500;
}
.tcldb-preview-note {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--tcldb-warn-line);
  border-radius: var(--tcldb-radius);
  background: var(--tcldb-warn-soft);
}
.tcldb-empty,
.tcldb-notice {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius-card);
  background: var(--tcldb-soft);
  color: var(--tcldb-muted);
}
.tcldb mark {
  border-radius: 2px;
  background: var(--tcldb-mark);
  color: inherit;
}

/* Phones: each channel is a card; the columns become labels */
@media (max-width: 640px) {
  .tcldb-window {
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .tcldb-window > .tcldb-tools {
    padding: 0.5rem 0;
    border-radius: 0;
    background: var(--tcldb-surface);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .tcldb-window > .tcldb-status {
    padding: 0.4rem 0 0;
  }
  .tcldb-window > .tcldb-body {
    padding: 0;
  }
  .tcldb-tools {
    gap: 0.4rem;
  }
  .tcldb-search {
    flex-basis: 100%;
  }
  .tcldb-package {
    flex: 1 1 0;
    min-width: 0;
  }
  .tcldb-tools > .tcldb-button.is-primary {
    flex: 0 0 auto;
  }
  .tcldb-tools .tcldb-label-long {
    display: none;
  }
  .tcldb-menu > summary.tcldb-button {
    padding: 0 0.7rem;
  }
  .tcldb-region[open] > .tcldb-region-panel {
    position: fixed;
    inset: 0;
    top: var(--tcldb-sticky-top);
    max-height: none;
    border-radius: 0;
    z-index: 100000;
  }
  .tcldb-region-close {
    display: block;
  }
  .tcldb-region-list ul {
    columns: 1;
  }
  .tcldb-region-list a {
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid var(--tcldb-line-soft);
    border-radius: 0;
  }
  .tcldb-section .tcldb-table-wrap {
    overflow: visible;
    border: 0;
    border-top: 1px solid var(--tcldb-line);
    border-radius: 0;
    background: none;
  }
  .tcldb-section .tcldb-table thead {
    display: none;
  }
  .tcldb-section .tcldb-table tr {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3rem 0.9rem;
    padding: 0.75rem 0.15rem;
    border-bottom: 1px solid var(--tcldb-line);
  }
  .tcldb-section .tcldb-table tbody tr:hover > * {
    background: none;
  }
  .tcldb-section .tcldb-table th,
  .tcldb-section .tcldb-table td {
    padding: 0;
    border: 0;
  }
  .tcldb-section .tcldb-table .k-channel {
    order: -1;
    flex: 1 1 9rem;
    min-width: 0;
    font-size: 1.0625rem;
  }
  .tcldb-section .tcldb-table .k-price {
    order: 1;
  }
  .tcldb-section .tcldb-table .k-number::before,
  .tcldb-section .tcldb-table .k-serial::before,
  .tcldb-section .tcldb-table .k-price::before {
    content: attr(data-label) " ";
    color: var(--tcldb-faint);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
  }
  .tcldb-section .tcldb-table .k-number,
  .tcldb-section .tcldb-table .k-serial {
    width: auto;
  }
  .tcldb-section .tcldb-table .k-description,
  .tcldb-section .tcldb-table .k-plans {
    order: 2;
    flex: 1 1 100%;
    min-width: 0;
  }
  .tcldb-section .tcldb-table td:has(> .tcldb-none:only-child) {
    display: none;
  }
  .tcldb .tcldb-table tr[hidden] {
    display: none;
  }
  .tcldb-region strong {
    white-space: normal;
  }
  .tcldb-packages .tcldb-table-wrap {
    overflow: visible;
    border: 0;
    border-top: 1px solid var(--tcldb-line);
    border-radius: 0;
  }
  .tcldb-info thead {
    display: none;
  }
  .tcldb-info tr {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.9rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--tcldb-line);
  }
  .tcldb-info tbody tr:hover > * {
    background: none;
  }
  .tcldb-info td {
    padding: 0;
    border: 0;
  }
  .tcldb-info td.k-marker {
    order: -2;
    flex: none;
    width: auto;
  }
  .tcldb-info .k-marker:empty {
    display: none;
  }
  .tcldb-info .k-name {
    order: -1;
    flex: 1 1 60%;
    font-weight: 600;
  }
  .tcldb-info .k-value::before,
  .tcldb-info .k-count::before {
    content: attr(data-label) " ";
    color: var(--tcldb-faint);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
  }
  .tcldb-info .k-description {
    order: 2;
    flex: 1 1 100%;
    color: var(--tcldb-muted);
    font-size: 0.875rem;
  }
  .tcldb-info td:has(> .tcldb-none:only-child) {
    display: none;
  }
}

/* Download page: the card (what is in the PDF, the two buttons, the facts) */
.tcldb-download-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(15rem, 1fr);
  gap: 2rem;
  margin: 1.25rem 0;
  padding: 1.75rem;
  border: 1px solid var(--tcldb-line);
  border-radius: 18px;
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-lg);
}
.tcldb-download-file {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tcldb-download-file svg {
  flex: none;
  width: 3rem;
  height: 3.6rem;
  stroke: var(--tcldb-ink);
  stroke-width: 1.6;
}
.tcldb-download-file svg text {
  fill: #c62828;
  stroke: none;
  font:
    700 10px system-ui,
    sans-serif;
}
.tcldb-download-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.tcldb-download-sub {
  margin: 0.25rem 0 0;
  color: var(--tcldb-muted);
}
.tcldb-download-points {
  display: grid;
  gap: 0.5rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}
.tcldb-download-points li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.tcldb-download-points svg {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  color: var(--tcldb-ok);
  stroke-width: 2.4;
}
.tcldb-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.tcldb-download-status {
  margin: 0.75rem 0 0;
  min-height: 1.25rem;
  color: var(--tcldb-muted);
}
.tcldb-download-status.is-error {
  color: var(--tcldb-removed);
}
.tcldb-download-facts {
  align-self: start;
  margin: 0;
  padding: 0.25rem 1.1rem;
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius-card);
  background: var(--tcldb-soft);
}
.tcldb-download-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--tcldb-line);
}
.tcldb-download-facts > div:last-child {
  border-bottom: 0;
}
.tcldb-download-facts dt {
  color: var(--tcldb-muted);
}
.tcldb-download-facts dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}
.tcldb-download-back {
  margin: 1.5rem 0;
}
@media (max-width: 760px) {
  .tcldb-download-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.15rem;
  }
  .tcldb-download-actions .tcldb-button {
    flex: 1 1 100%;
  }
}

/* Customize: a full-screen view with the options on the left and the real PDF beside them */
.tcldb-studio {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--tcldb-soft);
  color: var(--tcldb-ink);
}
.tcldb-studio[open] {
  display: flex;
  flex-direction: column;
}
.tcldb-studio::backdrop {
  background: rgb(0 0 0 / 50%);
}
.tcldb-studio-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--tcldb-line);
  background: var(--tcldb-surface);
}
.tcldb-studio-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.tcldb-studio-sub {
  margin: 0.1rem 0 0;
  color: var(--tcldb-muted);
  font-size: 0.875rem;
}
.tcldb-studio-close {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius);
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-sm);
  color: var(--tcldb-ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.tcldb-studio-body {
  display: grid;
  grid-template-columns: 19rem minmax(0, 1fr);
  flex: 1;
  min-height: 0;
}
.tcldb-studio-options {
  overflow-y: auto;
  padding: 1rem 1.25rem 2rem;
  border-right: 1px solid var(--tcldb-line);
  background: var(--tcldb-surface);
}
.tcldb-studio-options fieldset {
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
}
.tcldb-studio-options legend {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  padding: 0;
  color: var(--tcldb-faint);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tcldb-legend-actions {
  display: flex;
  gap: 0.25rem;
  text-transform: none;
  letter-spacing: 0;
}
.tcldb-studio-group {
  padding: 1rem 0;
  border-bottom: 1px solid var(--tcldb-line);
}
.tcldb-studio-group:first-child {
  padding-top: 0;
}
.tcldb-studio-group h3 {
  margin: 0 0 0.6rem;
  color: var(--tcldb-ink);
  font-size: 0.9375rem;
  font-weight: 600;
}
.tcldb-studio-fixed {
  margin: 0 0 0.4rem;
  color: var(--tcldb-muted);
  font-size: 0.8125rem;
}
.tcldb-studio-select {
  display: grid;
  gap: 0.25rem;
  margin: 0 0 0.75rem;
}
.tcldb-studio-label,
.tcldb-studio-subhead {
  color: var(--tcldb-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}
.tcldb-studio-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.25rem 0 0.25rem;
}
.tcldb-studio-categories {
  display: grid;
  max-height: 15rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.tcldb-studio-categories .tcldb-check span {
  margin-left: auto;
  color: var(--tcldb-faint);
  font-size: 0.8125rem;
}
.tcldb-switch {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.4rem 0;
  cursor: pointer;
}
.tcldb-switch input {
  position: absolute;
  opacity: 0;
  width: 2.25rem;
  height: 1.3rem;
  margin: 0;
  cursor: pointer;
}
.tcldb-switch-track {
  position: relative;
  flex: none;
  width: 2.25rem;
  height: 1.3rem;
  border-radius: 999px;
  background: var(--tcldb-line-strong);
  transition: background 0.15s;
}
.tcldb-switch-track::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s;
}
.tcldb-switch input:checked + .tcldb-switch-track {
  background: var(--tcldb-primary);
}
.tcldb-switch input:checked + .tcldb-switch-track::after {
  background: var(--tcldb-on-primary);
  transform: translateX(0.95rem);
}
.tcldb-switch input:focus-visible + .tcldb-switch-track {
  outline: 2px solid var(--tcldb-focus);
  outline-offset: 2px;
}
.tcldb-switch-text {
  display: flex;
  flex-direction: column;
  font-size: 0.9375rem;
  line-height: 1.3;
}
.tcldb-switch-text small {
  margin-top: 0.15rem;
  color: var(--tcldb-muted);
  font-size: 0.8125rem;
}
.tcldb-studio-preview {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 1.5rem 1rem 3rem;
  overscroll-behavior: contain;
}
.tcldb-studio-frame {
  display: flex;
  justify-content: center;
}
.tcldb-studio-busy {
  position: sticky;
  top: 0.5rem;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: max-content;
  margin: 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgb(10 10 10 / 88%);
  color: #ffffff;
  font-size: 0.875rem;
  transform: translateX(-50%);
}
.tcldb-spinner {
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: tcldb-spin 0.8s linear infinite;
}
@keyframes tcldb-spin {
  to {
    transform: rotate(360deg);
  }
}
.tcldb-studio-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0.75rem 1.25rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--tcldb-line);
  background: var(--tcldb-surface);
}
.tcldb-studio-count {
  margin: 0 auto 0 0;
  color: var(--tcldb-muted);
}
.tcldb-studio-options-toggle {
  display: none;
}
/* The HTML preview (phones, and browsers that cannot show PDFs inline): A4-like pages */
.tcldb-paper {
  width: 794px;
  margin: 0 auto;
  padding: 40px 42px;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  font-size: 0.75rem;
}
.tcldb-paper h3 {
  margin: 1.2rem 0 0.4rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--tcldb-brand);
  color: var(--tcldb-brand);
  font-size: 0.875rem;
}
.tcldb-paper-brand {
  margin: 0;
  color: var(--tcldb-brand);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tcldb-paper-title {
  margin: 0.25rem 0 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--tcldb-brand);
}
.tcldb-paper-title strong {
  display: block;
  color: var(--tcldb-ink);
  font-size: 1.25rem;
}
.tcldb-paper-scroll {
  overflow-x: auto;
}
/* The QR code back to the lineup's page, at the first page's top right as in the PDF. */
.tcldb-paper-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--tcldb-brand);
}
.tcldb-paper-head .tcldb-paper-title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.tcldb-paper-head > div {
  flex: 1;
}
.tcldb-paper-qr {
  flex: none;
  width: 86px;
  margin: 0;
  color: #6b7280;
  font-size: 0.5625rem;
  text-align: center;
}
.tcldb .tcldb-paper-qr svg {
  display: block;
  width: 86px;
  height: 86px;
  stroke: none;
}
.tcldb-paper table {
  width: 100%;
  border-collapse: collapse;
}
.tcldb-paper th {
  padding: 0.3rem 0.4rem;
  background: #262626;
  color: #ffffff;
  font-weight: 600;
  text-align: left;
}
.tcldb-paper td {
  padding: 0.3rem 0.4rem;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: top;
}
.tcldb-paper tr:nth-child(even) td {
  background: #f7f7f7;
}
.tcldb-paper .tcldb-marker {
  font-size: 0.6875rem;
}
@media (max-width: 860px) {
  .tcldb-studio-body {
    display: flex;
    flex-direction: column;
  }
  .tcldb-studio-options {
    display: none;
    max-height: 55dvh;
    border-right: 0;
    border-bottom: 1px solid var(--tcldb-line);
  }
  .tcldb-studio-options.is-open {
    display: block;
  }
  .tcldb-studio-preview {
    flex: 1;
    padding: 0.75rem;
  }
  .tcldb-studio-options-toggle {
    display: inline-flex;
  }
  .tcldb-studio-count {
    display: none;
  }
}
/* Ad places: whatever the ad plugin puts here, with room around it. For editors, an outline of
   an empty place and the action that fills it. */
.tcldb-ad {
  margin: 1.5rem 0;
  text-align: center;
}
.tcldb-ad-outline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 140px;
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1.5px dashed var(--tcldb-line-strong);
  border-radius: var(--tcldb-radius-card);
  background: var(--tcldb-soft);
  color: var(--tcldb-muted);
  font-size: 0.875rem;
  text-align: center;
}
.tcldb-ad-outline code {
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: var(--tcldb-surface);
  color: var(--tcldb-ink);
  font-size: 0.8125rem;
}
/* A number the provider does not give: a dash, as light as "none". */
.tcldb-nonum {
  color: var(--tcldb-faint);
}
.tcldb-studio-more {
  padding: 1rem 0;
}
.tcldb-studio-more > summary {
  color: var(--tcldb-accent);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}
.tcldb-studio-more[open] > summary {
  margin-bottom: 0.6rem;
}
.tcldb-packages-title {
  display: inline;
  margin: 0;
  font: inherit;
}

/* A channel's row reached from the channel finder (#ch-…): blue, with a bar at its start */
.tcldb-table tr[id] {
  scroll-margin-block: calc(var(--tcldb-sticky-top) + var(--tcldb-tools-h, 4rem) + 1rem);
}
.tcldb-table tr.is-target > *,
.tcldb-table tr.is-target:hover > * {
  background: var(--tcldb-accent-soft);
}
.tcldb-table tr.is-target > :first-child {
  box-shadow: inset 3px 0 0 var(--tcldb-accent);
}

/* The channel finder (templates/finder.php) */
.tcldb-finder {
  margin: 0 0 2.5rem;
  font-size: 1rem;
  line-height: 1.55;
}
.tcldb.tcldb-finder li + li {
  margin-top: 0;
}
.tcldb-finder-form label {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 500;
}
.tcldb-finder-field {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tcldb-finder-field input {
  flex: 1 1 14rem;
  min-width: 0;
  height: 3.25rem;
  padding: 0 1rem;
  border: 1px solid var(--tcldb-field);
  border-radius: var(--tcldb-radius);
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-sm);
  color: var(--tcldb-ink);
  font: inherit;
  font-size: 1.0625rem;
}
.tcldb-finder-field input:focus {
  outline: none;
  border-color: var(--tcldb-focus);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--tcldb-focus) 18%, transparent);
}
.tcldb-finder-field .tcldb-button {
  flex: 0 0 auto;
  min-height: 3.25rem;
}

/* The answer: one sentence, then the table */
.tcldb-finder-lead {
  max-width: 60ch;
  margin: 1.75rem 0 1rem;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3rem);
  font-weight: 500;
  line-height: 1.45;
  text-wrap: pretty;
}
.tcldb-finder-table-wrap {
  overflow: hidden;
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius-card);
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-sm);
}
.tcldb-finder-table {
  width: 100%;
  border-collapse: collapse;
  line-height: 1.45;
}
.tcldb-finder-table thead th {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--tcldb-line);
  background: var(--tcldb-surface);
  color: var(--tcldb-faint);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: start;
  white-space: nowrap;
}
.tcldb-finder-table tbody :where(th, td) {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--tcldb-line-soft);
  text-align: start;
  vertical-align: top;
}
.tcldb-finder-table tbody tr:first-child :where(th, td) {
  border-top: 0;
}
.tcldb-finder-table tbody th {
  font-weight: 500;
}
.tcldb-finder-table tbody th a {
  color: var(--tcldb-ink);
  text-decoration: none;
}
.tcldb-finder-number {
  display: inline-block;
  min-width: 2.5rem;
  padding: 0.05rem 0.5rem;
  border: 1px solid var(--tcldb-line);
  border-radius: 8px;
  background: linear-gradient(var(--tcldb-surface), var(--tcldb-soft));
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.tcldb-finder-regions summary {
  cursor: pointer;
  list-style: none;
}
.tcldb-finder-regions summary::-webkit-details-marker {
  display: none;
}
.tcldb-finder-regions summary span {
  display: block;
  color: var(--tcldb-accent);
  font-size: 0.875rem;
  font-weight: 500;
}
.tcldb-finder-regions summary span::after {
  content: " ▾";
}
.tcldb-finder-regions[open] summary span::after {
  content: " ▴";
}
.tcldb-finder-filter {
  width: 100%;
  margin: 0.6rem 0 0.25rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--tcldb-field);
  border-radius: 8px;
  background: var(--tcldb-surface);
  color: var(--tcldb-ink);
  font: inherit;
  font-size: 1rem;
}
.tcldb-finder-regions ul {
  max-height: 16rem;
  overflow-y: auto;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  overscroll-behavior: contain;
}
.tcldb-finder-regions li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
}
.tcldb-finder-regions li span {
  color: var(--tcldb-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tcldb-finder-more {
  margin-top: 0.75rem;
}
@media (hover: hover) {
  .tcldb-finder-table tbody th a:hover {
    text-decoration: underline;
  }
}
/* Phones: each provider is a small card, its labels beside the values */
@media (max-width: 40rem) {
  .tcldb-finder-table-wrap {
    overflow: visible;
    border: 0;
    background: none;
    box-shadow: none;
  }
  .tcldb-finder-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .tcldb-finder-table tbody tr {
    display: block;
    margin-bottom: 0.6rem;
    border: 1px solid var(--tcldb-line);
    border-radius: var(--tcldb-radius-card);
    background: var(--tcldb-surface);
    box-shadow: var(--tcldb-shadow-sm);
  }
  .tcldb-finder-table tbody tr[hidden] {
    display: none;
  }
  .tcldb-finder-table tbody :where(th, td) {
    display: flex;
    gap: 1rem;
    padding: 0.6rem 0.9rem;
  }
  .tcldb-finder-table tbody th {
    border-top: 0;
    font-size: 1.0625rem;
  }
  .tcldb-finder-table tbody td::before {
    content: attr(data-label);
    flex: 0 0 7.5rem;
    color: var(--tcldb-muted);
    font-size: 0.875rem;
    font-weight: 400;
  }
  .tcldb-finder-table tbody td > * {
    flex: 1;
    min-width: 0;
  }
  .tcldb-finder-number {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    text-align: start;
  }
  /* An open region list takes the card's whole width. */
  .tcldb-finder-table tbody td:has(details[open]) {
    flex-direction: column;
    gap: 0.25rem;
  }
  .tcldb-finder-table tbody td:has(details[open])::before {
    flex-basis: auto;
  }
  .tcldb-finder-field .tcldb-button {
    flex: 1 1 100%;
  }
}

/* Other channels, as links */
.tcldb-finder-section {
  margin-top: 3rem;
}
.tcldb-finder-section h2 {
  margin: 0 0 1rem;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.tcldb-finder-channels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tcldb-finder-channels a {
  display: block;
  height: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius-card);
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-sm);
  color: var(--tcldb-ink);
  text-decoration: none;
}
.tcldb-finder-channels strong {
  display: block;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.tcldb-finder-channels span {
  color: var(--tcldb-faint);
  font-size: 0.875rem;
}
@media (hover: hover) {
  .tcldb-finder-channels a:hover {
    border-color: var(--tcldb-line-strong);
    box-shadow: var(--tcldb-shadow);
  }
}

/* How it works: numbered steps */
.tcldb-finder-steps {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 34rem) {
  .tcldb-finder-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.tcldb-finder-steps li {
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius-card);
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-sm);
  counter-increment: step;
}
.tcldb-finder-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  background: var(--tcldb-primary);
  box-shadow: var(--tcldb-shine);
  color: var(--tcldb-on-primary);
  font-weight: 600;
}
.tcldb-finder-steps h3 {
  margin: 0.75rem 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}
.tcldb-finder-steps p {
  margin: 0;
  color: var(--tcldb-muted);
  font-size: 0.9375rem;
}

/* Questions: one opens at a time */
.tcldb-finder-faq {
  border-top: 1px solid var(--tcldb-line);
}
.tcldb-finder-faq details {
  border-bottom: 1px solid var(--tcldb-line);
}
.tcldb-finder-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
}
.tcldb-finder-faq summary::-webkit-details-marker {
  display: none;
}
.tcldb-finder-faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--tcldb-line);
  border-radius: 50%;
  background: var(--tcldb-surface);
  color: var(--tcldb-muted);
  font-size: 1.125rem;
}
.tcldb-finder-faq details[open] summary::after {
  content: "−";
}
.tcldb-finder-faq h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.35;
}
.tcldb-finder-faq p {
  max-width: 70ch;
  margin: 0 0 1.1rem;
  color: var(--tcldb-muted);
}

/* The ZIP or postal codes a region's lineup serves, under the title and in the article's list */
.tcldb-zips {
  margin: 0.4rem 0 0;
  color: var(--tcldb-muted, #525252);
  font-size: 0.9375rem;
}
.tcldb-zips summary {
  cursor: pointer;
  list-style: none;
}
.tcldb-zips summary::-webkit-details-marker {
  display: none;
}
.tcldb-zips summary span {
  color: var(--tcldb-accent, #1d4ed8);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tcldb-zips p {
  margin: 0.35rem 0 0;
}
.tcldb-region-channels {
  color: var(--tcldb-faint);
  font-weight: 400;
}

/* A ZIP code typed in the region search: which regions serve it */
.tcldb-region-zip {
  margin: 0.25rem 0.5rem 0.5rem;
  color: var(--tcldb-ink);
  font-weight: 500;
}

/* A provider by state, and a state's towns */
.tcldb-state-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.tcldb .tcldb-state-list li,
.tcldb .tcldb-zip-found li {
  margin: 0;
}
.tcldb-state-list a {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  height: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--tcldb-line);
  border-radius: 12px;
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-sm);
  color: var(--tcldb-ink);
  text-decoration: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.tcldb-state-list a:hover {
  border-color: var(--tcldb-line-strong);
  box-shadow: var(--tcldb-shadow);
}
.tcldb-state-name {
  font-weight: 500;
}
.tcldb-state-count {
  color: var(--tcldb-faint);
  font-size: 0.8125rem;
}
.tcldb-other-regions {
  margin: 1.25rem 0 0;
}

/* The map over the states list: a tile per state, blue where the provider has a page. */
.tcldb-state-map {
  margin: 1.25rem 0 0;
}
.tcldb-state-map svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  stroke: none;
}
.tcldb-state-map svg + svg {
  margin-top: 1.25rem;
}
.tcldb-state-map rect {
  fill: var(--tcldb-soft-2);
  transition: fill 0.15s;
}
.tcldb-state-map text {
  fill: var(--tcldb-faint);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-anchor: middle;
  pointer-events: none;
}
.tcldb-state-map a {
  text-decoration: none;
}
.tcldb-state-map a rect {
  fill: var(--tcldb-accent);
}
.tcldb-state-map a text {
  fill: var(--tcldb-surface);
}
.tcldb-state-map a:hover rect,
.tcldb-state-map a:focus-visible rect {
  fill: var(--tcldb-ink);
}
.tcldb-state-map a:focus-visible {
  outline: none;
}
.tcldb-state-map a:focus-visible rect {
  stroke: var(--tcldb-focus);
  stroke-width: 3px;
}
.tcldb-state-map figcaption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  color: var(--tcldb-muted);
  font-size: 0.875rem;
}
.tcldb-state-map figcaption i {
  flex: none;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 3px;
  background: var(--tcldb-accent);
}

/* The finder at the top of a provider's article */
.tcldb-finder-states {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 1rem;
  padding: 0;
  list-style: none;
}
.tcldb .tcldb-finder-states li {
  margin: 0;
}
.tcldb-finder-states a {
  display: inline-flex;
  align-items: center;
  min-height: 2.375rem;
  padding: 0 0.9rem;
  border: 1px solid var(--tcldb-line);
  border-radius: 999px;
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-sm);
  color: var(--tcldb-text);
  font-weight: 400;
  text-decoration: none;
}
.tcldb-finder-states a:hover {
  border-color: var(--tcldb-line-strong);
  color: var(--tcldb-ink);
}
/* Channels in some towns: each a chip with how many towns have it; a channel with its own page
   is a link inside its chip. */
.tcldb .tcldb-finder-states.tcldb-some li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.375rem;
  padding: 0 0.5rem 0 0.85rem;
  border: 1px solid var(--tcldb-line);
  border-radius: 999px;
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-sm);
  color: var(--tcldb-text);
}
.tcldb-finder-states.tcldb-some a {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--tcldb-ink);
  text-decoration: underline;
  text-decoration-color: var(--tcldb-line-strong);
  text-underline-offset: 3px;
}
.tcldb-finder-states.tcldb-some .tcldb-state-count {
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--tcldb-soft-2);
  font-size: 0.75rem;
  line-height: 1.6;
}
.tcldb-other-regions > summary {
  font-weight: 500;
  cursor: pointer;
}
.tcldb-other-regions > summary span {
  margin-left: 0.25rem;
  color: var(--tcldb-faint);
  font-weight: 400;
}
.tcldb-zip-found {
  margin: 0 0 0.75rem;
  color: var(--tcldb-text);
}
.tcldb-zip-found ul {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}
.tcldb-zip-found a {
  display: block;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius);
  background: var(--tcldb-soft);
  color: var(--tcldb-ink);
  font-weight: 500;
  text-decoration: none;
}
.tcldb .tcldb-zip-found li + li {
  margin-top: 0.35rem;
}
.tcldb-zip-found a:hover {
  border-color: var(--tcldb-line-strong);
  background: var(--tcldb-surface);
}
.tcldb-zip-found a span {
  margin-left: 0.4rem;
  color: var(--tcldb-faint);
  font-weight: 400;
}
/* A state page: its sentence, heading, search and towns sit on the page itself (no card); the
   towns table is the framed part. */
.tcldb-hub.tcldb-state {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.tcldb-state .tcldb-summary-text {
  max-width: 46rem;
  margin: -0.75rem 0 0.5rem;
  color: var(--tcldb-muted);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.5;
}
.tcldb-state .tcldb-state-list-title {
  margin: 1.5rem 0 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.tcldb-region-more {
  margin: 0.75rem 0 0;
  font-weight: 500;
}
/* In the region box: the way to every town of the state, along the panel's foot. */
.tcldb-region-panel > .tcldb-region-more {
  margin: 0;
  padding: 0.75rem 1.1rem;
  border-top: 1px solid var(--tcldb-line);
  border-radius: 0 0 var(--tcldb-radius-card) var(--tcldb-radius-card);
  background: var(--tcldb-soft);
}
.tcldb-region-more a {
  color: var(--tcldb-ink);
  text-decoration: underline;
  text-decoration-color: var(--tcldb-line-strong);
  text-underline-offset: 3px;
}
.tcldb-towns-wrap {
  overflow-x: auto;
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius-card);
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow);
}
.tcldb-towns {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.45;
}
.tcldb-towns th,
.tcldb-towns td {
  padding: 0.7rem 0.9rem;
  border: 0;
  border-bottom: 1px solid var(--tcldb-line-soft);
  text-align: left;
  vertical-align: top;
}
.tcldb-towns thead th {
  border-bottom-color: var(--tcldb-line);
  background: var(--tcldb-surface);
  color: var(--tcldb-faint);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}
.tcldb-towns tbody tr:last-child > * {
  border-bottom: 0;
}
.tcldb-towns tbody tr:hover > * {
  background: var(--tcldb-soft);
}
.tcldb-towns tbody th {
  font-weight: 500;
}
.tcldb-towns tbody th a {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--tcldb-ink);
  text-decoration: underline;
  text-decoration-color: var(--tcldb-line-strong);
  text-underline-offset: 3px;
}
.tcldb-towns tbody th a:hover {
  text-decoration-color: currentColor;
}
.tcldb-towns td:nth-child(2) {
  color: var(--tcldb-muted);
}
.tcldb-towns-zips {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.tcldb-towns-unit {
  display: none;
}
.tcldb-towns td:last-child {
  width: 1%;
  white-space: nowrap;
}
.tcldb-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.tcldb-towns td:last-child .tcldb-tags {
  flex-wrap: nowrap;
}
.tcldb-tag {
  padding: 0.05rem 0.55rem;
  border-radius: 999px;
  background: var(--tcldb-soft-2);
  color: var(--tcldb-text);
  font-size: 0.8125rem;
  font-weight: 400;
  white-space: nowrap;
}
.tcldb-towns mark {
  border-radius: 2px;
  background: var(--tcldb-mark);
  color: inherit;
}
@media (max-width: 640px) {
  .tcldb-towns-wrap {
    overflow: visible;
    border: 0;
    border-top: 1px solid var(--tcldb-line);
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .tcldb-towns thead {
    display: none;
  }
  .tcldb-towns tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.1rem 0.75rem;
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid var(--tcldb-line);
  }
  .tcldb-towns tbody tr:last-child {
    border-bottom: 0;
  }
  .tcldb-towns tbody tr:hover > * {
    background: none;
  }
  .tcldb-towns th,
  .tcldb-towns td {
    padding: 0;
    border: 0;
  }
  .tcldb-towns tbody th {
    flex: 1 1 100%;
    font-size: 1.0625rem;
  }
  .tcldb-towns td:nth-child(2) {
    flex: 1 1 100%;
    font-size: 0.875rem;
  }
  .tcldb-towns td:nth-child(2):empty {
    display: none;
  }
  .tcldb-towns td[data-label]::before {
    content: attr(data-label) ": ";
    color: var(--tcldb-faint);
    font-size: 0.8125rem;
    font-weight: 500;
  }
  .tcldb-towns-unit {
    display: inline;
    color: var(--tcldb-faint);
    font-size: 0.8125rem;
  }
  .tcldb-towns-zips:empty {
    display: none;
  }
  .tcldb-towns td:last-child {
    width: auto;
    white-space: normal;
  }
  .tcldb-state-list {
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  }
}

/* An article without a lineup of its own: its lineups at a glance, and what every town has */
.tcldb-glance-facts div {
  display: grid;
  gap: 0.1rem;
  padding: 0.75rem 1rem;
  background: var(--tcldb-surface);
}
.tcldb-glance-facts b {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.tcldb-glance-facts span {
  color: var(--tcldb-faint);
  font-size: 0.875rem;
}
.tcldb-common-wrap {
  overflow-x: auto;
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius-card);
  background: var(--tcldb-surface);
}
.tcldb .tcldb-common-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 1rem;
}
.tcldb .tcldb-common-table th,
.tcldb .tcldb-common-table td {
  padding: 0.6rem 0.85rem;
  border: 0;
  border-bottom: 1px solid var(--tcldb-line-soft);
  text-align: left;
  vertical-align: top;
}
.tcldb .tcldb-common-table th {
  border-bottom-color: var(--tcldb-line);
  background: var(--tcldb-surface);
  color: var(--tcldb-faint);
  font-size: 0.8125rem;
  font-weight: 500;
}
.tcldb .tcldb-common-table tbody tr:last-child td {
  border-bottom: 0;
}
.tcldb .tcldb-common-table td:nth-child(2),
.tcldb .tcldb-common-table td:nth-child(3) {
  color: var(--tcldb-muted);
}
.tcldb .tcldb-common-table .is-number {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.tcldb-common-more {
  margin: 0.75rem 0 0;
}
.tcldb-common-more > summary {
  margin-bottom: 0.75rem;
  color: var(--tcldb-accent);
  font-weight: 500;
  cursor: pointer;
}
.tcldb-pdf-states {
  margin: 0.25rem 0 0;
}
.tcldb-pdf-states a {
  color: var(--tcldb-accent);
  font-weight: 500;
}

/* A region page's PDF, after its lineup: a dark card with a white button */
.tcldb-pdf {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.1rem;
  align-items: start;
  margin: 2rem 0;
  padding: 1.25rem 1.4rem;
  border-radius: 18px;
  background: var(--tcldb-dark);
  box-shadow: 0 20px 40px -16px rgb(0 0 0 / 35%);
  color: #ffffff;
}
.tcldb-pdf h2 {
  margin: 0 0 0.3rem;
  color: #ffffff;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.tcldb-pdf p {
  margin: 0 0 0.95rem;
  color: var(--tcldb-dark-muted);
}
.tcldb-pdf .tcldb-button.is-primary {
  border-color: #ffffff;
  background: #ffffff;
  box-shadow: none;
  color: #0a0a0a;
}
.tcldb-pdf .tcldb-button.is-primary:hover {
  border-color: #e5e5e5;
  background: #e5e5e5;
}
.tcldb-pdf .tcldb-button:focus-visible {
  outline-color: #ffffff;
}
.tcldb-pdf .tcldb-button svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tcldb .tcldb-pdf-sheet {
  width: 3rem;
  height: 3.75rem;
  padding: 0.5rem 0.6rem;
  border-radius: 11px;
  background: var(--tcldb-dark-raised);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%);
  fill: none;
  stroke: #737373;
  stroke-width: 1.5;
}
.tcldb-pdf-sheet path {
  stroke: #d4d4d4;
  stroke-linecap: round;
}
@media (max-width: 480px) {
  .tcldb-pdf {
    grid-template-columns: 1fr;
  }
  .tcldb-pdf-sheet {
    display: none;
  }
}
.tcldb-common-terms {
  display: block;
  color: var(--tcldb-faint);
  font-size: 0.8125rem;
}

/* The pages made from the data: packages, categories, printable, changes, providers, countries,
   channels. They reuse the boxes and tables above; these are their own parts. */
.tcldb-page-lead .tcldb-summary-text {
  margin: 0;
  font-size: 1.0625rem;
}
.tcldb-page-lead .tcldb-finder-lead {
  margin: 0;
}
.tcldb-muted {
  color: var(--tcldb-muted);
}
.tcldb-some li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--tcldb-line-soft);
}
.tcldb-common-table a {
  color: var(--tcldb-ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--tcldb-line-strong);
  text-underline-offset: 3px;
}
.tcldb .tcldb-common-table .tcldb-price {
  min-width: 7.5rem;
  white-space: normal;
}
.tcldb-on-phone {
  display: none;
}
@media (max-width: 480px) {
  .tcldb .tcldb-common-table th,
  .tcldb .tcldb-common-table td {
    padding: 0.5rem 0.5rem;
  }
  .tcldb .tcldb-packages-table :is(th, td):nth-child(2) {
    display: none;
  }
  .tcldb .tcldb-packages-table .tcldb-on-phone {
    display: block;
  }
  .tcldb .tcldb-common-table td:first-child {
    min-width: 8rem;
  }
}

/* Every provider, by country */
.tcldb-flag {
  display: inline-block;
  width: auto;
  height: 0.95em;
  margin-right: 0.45em;
  border-radius: 3px;
  vertical-align: -0.1em;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 10%);
}
.tcldb-country h2 a {
  color: inherit;
  text-decoration: none;
}
.tcldb-country h2 a:hover span {
  text-decoration: underline;
}
.tcldb-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.6rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.tcldb .tcldb-tiles li {
  margin: 0;
}
.tcldb-tiles a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 3.75rem;
  height: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--tcldb-line);
  border-radius: var(--tcldb-radius-card);
  background: var(--tcldb-surface);
  box-shadow: var(--tcldb-shadow-sm);
  color: var(--tcldb-ink);
  text-decoration: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.tcldb-tiles a:hover {
  border-color: var(--tcldb-line-strong);
  box-shadow: var(--tcldb-shadow);
}
.tcldb-monogram {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--tcldb-line);
  border-radius: 10px;
  background: var(--tcldb-soft-2);
  color: var(--tcldb-ink);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tcldb-tile-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.tcldb-tile-name {
  font-weight: 500;
}
.tcldb-tile-name .tcldb-flag {
  margin: 0 0 0 0.4em;
}
.tcldb-tile-meta {
  color: var(--tcldb-faint);
  font-size: 0.8125rem;
}
.tcldb-type-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}
.tcldb-providers:not(.is-ready) .tcldb-type-filter {
  display: none;
}
.tcldb-type-filter .tcldb-button {
  min-height: 2.75rem;
  border-radius: 999px;
}
.tcldb-type-filter .tcldb-button[aria-pressed="true"] {
  border-color: var(--tcldb-primary);
  background: var(--tcldb-primary);
  color: var(--tcldb-on-primary);
}

/* What changed, month by month */
.tcldb-change {
  padding: 1rem 0;
  border-top: 1px solid var(--tcldb-line);
}
.tcldb-change-month h2 + .tcldb-change,
.tcldb-change:first-child {
  border-top: 0;
}
.tcldb-change-date {
  margin: 0;
  font-weight: 600;
}
.tcldb-change .tcldb-changes-body {
  margin: 0.5rem 0 0;
}
.tcldb-change-where {
  margin: 0.5rem 0 0;
  color: var(--tcldb-muted);
  font-size: 0.9375rem;
}
.tcldb-change-where a {
  color: var(--tcldb-ink);
}

/* A channel on each provider */
.tcldb-channel-provider .tcldb-finder-table-wrap {
  margin-top: 0.75rem;
}
.tcldb-channel-provider h3 {
  margin: 1.5rem 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
}
.tcldb-channel-zip {
  margin: 1rem 0 0;
}

/* "Request an update": a quiet text button after the facts line, opening a small card */
.tcldb-request {
  margin: 0.25rem 0 0;
}
/* "Request an update" and "Email me when it changes" side by side; an open one takes the row. */
/* A folded package's prices on the packages page: a line per pack, each kept whole. */
.tcldb-price .tcldb-term {
  display: block;
  white-space: nowrap;
}
.tcldb-asks {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.25rem;
  align-items: flex-start;
}
.tcldb-asks > details[open] {
  flex-basis: 100%;
  order: 1;
}
.tcldb-alert > summary svg {
  width: 1.05em;
  height: 1.05em;
}
.tcldb-alert-note {
  margin: 0;
  color: var(--tcldb-muted, #525252);
  font-size: 0.875rem;
}
.tcldb-alert-page .tcldb-summary-text {
  max-width: 40rem;
}
.tcldb-alert-page form,
.tcldb-alert-page p:last-child {
  margin: 1.25rem 0 0;
}
.tcldb-request > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  color: var(--tcldb-muted, #525252);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--tcldb-line-strong, #d4d4d4);
  text-underline-offset: 3px;
  cursor: pointer;
  list-style: none;
}
.tcldb-request > summary:hover {
  color: var(--tcldb-ink, #0a0a0a);
}
.tcldb-request > summary::-webkit-details-marker {
  display: none;
}
.tcldb-request form {
  display: grid;
  gap: 0.75rem;
  max-width: 34rem;
  margin: 0.25rem 0 1rem;
  padding: 1.1rem;
  border: 1px solid var(--tcldb-line, #ececec);
  border-radius: var(--tcldb-radius-card, 14px);
  background: var(--tcldb-surface, #ffffff);
  box-shadow: var(--tcldb-shadow, none);
}
.tcldb-request-field {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
}
.tcldb-request-field textarea,
.tcldb-request-field input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--tcldb-field, #8c8c8c);
  border-radius: var(--tcldb-radius, 10px);
  background: var(--tcldb-surface, #ffffff);
  color: var(--tcldb-ink, #0a0a0a);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
}
.tcldb-request .tcldb-button {
  justify-self: start;
  min-height: 2.75rem;
}
.tcldb-request-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}
.tcldb-request-status {
  margin: 0;
}
