/* The travel app's page (/travel/, docs/TRAVEL.md). It uses the site's colour tokens (site.css), so both themes work. */
/* Its header has no main navigation (the app is another service than the plugins and the games: lib/layout.mjs
   TRAVEL_HOME), so on a phone it is one row high, not the site's two. */
@media (max-width: 880px) { html { --header-h: 52px; } }
.tv-wrap { padding-top: 24px; padding-bottom: 48px; }
.tv { max-width: 46rem; margin: 0 auto; }
/* an open trip, its guide included, takes three quarters of the screen (asked by the owner on 10 November 2026); on a
   narrower screen, the whole width */
.tv-wrap.tv-wide .tv { max-width: none; }
@media (min-width: 64rem) { .tv-wrap.tv-wide { max-width: none; width: calc(75vw + 2 * var(--gutter, 0px)); } }
.tv h1 { font-size: 1.7rem; margin: 0 0 4px; }
.tv h2 { font-size: 1.15rem; margin: 0 0 10px; }
.tv-muted { color: var(--muted); }
.tv-small { font-size: 0.88rem; }
.tv-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tv-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tv-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin: 12px 0; }
.tv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 10px;
  border: 1.5px solid var(--border-strong); background: var(--bg); color: var(--text); font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; text-decoration: none; }
.tv-btn:hover { border-color: var(--accent); color: var(--accent); }
.tv-btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.tv-btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.tv-btn-danger { border-color: #c0392b; color: #c0392b; }
.tv-btn-small { min-height: 32px; padding: 4px 10px; font-size: 0.85rem; }
/* a warning's dismiss: a small × in a box, its touch area larger than the box */
.tv-x { position: relative; flex: none; min-height: 0; width: 22px; height: 22px; padding: 0; border-width: 1px; border-radius: 5px; font-size: 15px; font-weight: 500; line-height: 1; }
.tv-x::before { content: ''; position: absolute; inset: -10px; }
.tv-btn:disabled { opacity: 0.6; cursor: progress; }
.tv-trips { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); margin: 12px 0; }
.tv-trip { display: block; padding: 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; }
.tv-trip:hover { border-color: var(--accent); }
.tv-trip b { display: block; font-size: 1.08rem; margin-bottom: 4px; }
/* a trip one may edit has its Edit button on the card, at its top corner (the editor of the whole trip) */
.tv-trip-box { position: relative; display: grid; }
.tv-trip-box .tv-trip-edit { position: absolute; top: 10px; right: 10px; }
.tv-trip-box:has(.tv-trip-edit) .tv-trip b { padding-right: 5.5rem; }
.tv-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--border-strong); color: var(--muted); margin-right: 4px; }
.tv-badge-on { border-color: var(--ok); color: var(--ok); }
.tv-form { display: grid; gap: 10px; margin-top: 10px; }
.tv-form label { display: grid; gap: 4px; font-weight: 600; font-size: 0.92rem; }
.tv-form input, .tv-form select, .tv-form textarea { box-sizing: border-box; width: 100%; min-width: 0; font: inherit; font-size: 16px; padding: 9px 10px; border-radius: 9px; border: 1.5px solid var(--border-strong); background: var(--bg); color: var(--text); }
.tv-msg { min-height: 1.2em; font-size: 0.9rem; color: var(--muted); }
.tv-msg.err { color: #c0392b; }
.tv-people { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.tv-person { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: start; }
.tv-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--accent-soft); display: grid; place-items: center; font-weight: 700; color: var(--accent); font-size: 1.3rem; }
.tv-list { list-style: none; padding: 0; margin: 8px 0; }
.tv-list li { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }
.tv-done span { text-decoration: line-through; color: var(--muted); }
.tv-link { word-break: break-all; font-family: var(--mono); font-size: 0.85rem; background: var(--code-bg); padding: 8px; border-radius: 8px; }
.tv-qr { width: 220px; max-width: 70vw; height: auto; display: block; margin: 10px 0; }
.tv-note { background: var(--warn-bg); border: 1px solid var(--warn-border); color: var(--warn-text); border-radius: var(--radius-sm); padding: 10px 12px; margin: 10px 0; }
.tv-file { display: inline-flex; gap: 6px; align-items: center; margin: 4px 8px 4px 0; }
.tv-hidden-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tv-form .tv-row > label, .tv-form .tv-row > input, .tv-form .tv-row > select { flex: 1 1 9rem; width: auto; }
.tv-form .tv-row > button { flex: none; }
.tv-form input[type=checkbox], .tv-form input[type=radio] { width: auto; flex: none; margin: 0; }
.tv, .tv-card { min-width: 0; overflow-wrap: anywhere; }
.tv-form label.tv-row { display: flex; align-items: center; gap: 8px; }
.tv-form label.tv-row { flex-wrap: nowrap; align-items: flex-start; font-weight: 400; }
.tv-form label.tv-row > span { flex: 1 1 0; min-width: 0; }
.tv-form label.tv-row > input { margin-top: 4px; }
/* An agency's white label on its trips, and the plans page. */
/* the agency's label in the page's header, on every screen of its trips (travel.js agencyLabel) */
.tv-agency { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 46vw; margin-inline: auto; padding: 3px 12px 3px 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); font-size: 0.875rem; line-height: 1.2; box-shadow: var(--shadow); }
.tv-agency img { width: 28px; height: 28px; flex: none; object-fit: contain; border-radius: 8px; }
.tv-agency b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 30rem) { .site-header .brand:has(+ .tv-agency) span { display: none; } }
.tv-brand { display: flex; gap: 12px; align-items: center; padding: 12px 14px; margin: 0 0 12px; border-radius: var(--radius); border: 1px solid var(--border); border-left: 4px solid var(--accent); background: var(--surface); }
.tv-brand-logo { max-width: 120px; max-height: 56px; width: auto; height: auto; object-fit: contain; flex: none; }
.tv-plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.tv-plan { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.tv-plan-on { border-color: var(--accent); }
.tv-price { font-size: 1.4rem; font-weight: 700; margin: 0; }
.tv-feats { margin: 0 0 8px; padding-left: 1.1rem; font-size: 0.92rem; flex: 1; }
.tv-form input[type=color] { width: 4rem; min-height: 40px; padding: 2px; }
pre.tv-link { white-space: pre-wrap; margin: 8px 0; }
/* Inside an agency's site (/travel/embed/): no room for the site's own margins. */
html[data-embed] .tv-wrap { padding-top: 8px; padding-bottom: 16px; }
/* The plans page's monthly / yearly toggle. */
.tv-toggle { display: inline-flex; gap: 4px; padding: 4px; margin: 4px 0 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.tv-toggle .tv-btn { border-color: transparent; }
.tv-toggle .tv-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
/* The weather tab: one row per day, the trip's days marked. */
.tv-days { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr)); }
.tv-days li { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); }
.tv-days li.tv-day-on { border-color: var(--accent); }
.tv-day-icon { font-size: 1.4rem; line-height: 1.2; }

/* the AI's readings and the days (stage 3) */
.tv-chip { display: inline-flex; gap: 4px; margin: 0 8px 4px 0; }
.tv-chip .tv-file { margin: 0; }
.tv-today { border-color: var(--accent); box-shadow: inset 4px 0 0 var(--accent); }
.tv-note.tv-between { padding: 8px 12px; flex-wrap: nowrap; align-items: flex-start; }
.tv-note.tv-between > span { flex: 1 1 auto; min-width: 0; }
.tv-planl li { flex-wrap: wrap; }
.tv-planl li > label { flex: 1 1 12rem; min-width: 0; flex-wrap: nowrap; align-items: flex-start; }
.tv-planl li > label > input { margin-top: 4px; }
.tv-planl li > label > span { flex: 1 1 0; min-width: 0; }
.tv-planl li > .tv-maps { flex: none; }
.tv-card > .tv-msg:empty, #m-days:empty, #m-receipts:empty, #m-docs:empty, #m-sheet:empty, #m-pane:empty, .tv-ficha .tv-msg:empty, .tv-pane-b .tv-msg:empty { min-height: 0; margin: 0; }
.tv-gsi > [data-gsi] { display: flex; justify-content: center; min-height: 44px; }
/* Google draws its button in an iframe whose page is light. When our page is dark, the browser paints that iframe
   opaque white (its colour scheme differs from ours); a light scheme on the box keeps it transparent (as accounts.css). */
.tv-gsi > [data-gsi] { color-scheme: light; }
/* the new-trip form, closed until asked for */
.tv-new { margin: 16px 0; }
.tv-new > summary { list-style: none; display: inline-flex; cursor: pointer; }
.tv-new > summary::-webkit-details-marker { display: none; }
.tv-new[open] > summary { margin-bottom: 12px; }
/* a trip's own guide page (docs/TRAVEL.md, "A trip's guide") */
.tv-guide-host { margin-top: 0; }
.tv-guide-bar { justify-content: flex-end; margin: 0 0 6px; }
/* in the page's flow the full-screen button is in the trip's header; the bar shows full screen, to leave it */
.tv-guide-host:not(.tv-full) .tv-guide-bar { display: none; }
.tv-guide { display: block; width: 100%; height: calc(100vh - 140px); height: calc(100dvh - 140px); min-height: 480px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
/* in the page's flow the frame stays under the site's header while the page scrolls along its box (travel.js guideLayout) */
.tv-guide-flow > .tv-guide { position: sticky; top: 0; min-height: 0; }
.tv-guide-host.tv-full .tv-guide-flow { flex: 1; display: flex; min-height: 0; }
.tv-guide-host.tv-full { position: fixed; inset: 0; z-index: 1000; max-width: none; margin: 0; padding: 6px 6px 0; background: var(--bg); display: flex; flex-direction: column; }
.tv-guide-host.tv-full .tv-guide { flex: 1; height: auto; min-height: 0; border-radius: var(--radius-sm) var(--radius-sm) 0 0; position: static; }
html.tv-noscroll, html.tv-noscroll body { overflow: hidden; }
.tv-notes { white-space: pre-line; }
/* Dates and times side by side: on iPhones a date field is as wide as its text unless told otherwise, and it overlapped
   the next one; and an empty one keeps its height. */
.tv-form .tv-row > label { min-width: 0; }
.tv-form input[type=date], .tv-form input[type=time] { min-width: 0; max-width: 100%; min-height: 42px; -webkit-appearance: none; appearance: none; text-align: left; }
.tv-form input[type=date]::-webkit-date-and-time-value, .tv-form input[type=time]::-webkit-date-and-time-value { text-align: left; }
/* how far a trip is and how much of it is confirmed (the trips list and the trip's header) */
.tv-countdown { display: inline-block; font-size: 0.8rem; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }
.tv-prog { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.tv-progress { flex: 1 1 auto; max-width: 12rem; height: 8px; border-radius: 99px; background: var(--border); overflow: hidden; }
.tv-progress > span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.tv-progress-done > span { background: var(--ok); }
/* a value changed in place (the trip's dates, a reservation's date and time) */
.tv-btn-link { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
.tv-btn-link:hover { color: var(--accent); }
.tv-inline { margin: 6px 0; padding: 10px; border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); }
/* a day's plan, a row per thing */
.tv-plan-edit { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 10px 10px; margin: 0; min-width: 0; }
.tv-plan-edit legend { font-weight: 600; padding: 0 4px; }
.tv-plan-row { display: grid; grid-template-columns: 7.5rem minmax(0, 2fr) minmax(0, 1fr) auto; gap: 6px; align-items: center; margin-bottom: 6px; }
@media (max-width: 40rem) { .tv-plan-row { grid-template-columns: 7rem minmax(0, 1fr) auto; } .tv-plan-row [name=pl] { grid-column: 1 / 3; } }
/* an agency's sample e-mail */
.tv-mail-frame { width: 100%; height: 34rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #f5f7fb; }
/* an agency's own Gmail */
.tv-sender { margin: 8px 0; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); }

/* ------------------------------------------------------------------------------------------------ a trip's page
   Asked by the owner on 21 November 2026: a header of one row, the sections in a menu at the bottom with an icon each
   (as Claude's app has it), the reservations as a board of one line each, and what was read from every file one tap away. */
html { --tv-dot: #e08a00; }
.tv-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* the build's heading stays for whoever reads the page with a screen reader; the header's own row shows the name */
.tv-wrap.tv-open { padding-top: 10px; }
.tv-wrap.tv-open > .tv:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
html.tv-has-dock .tv-wrap.tv-open { padding-bottom: 112px; }
html.tv-has-dock .site-footer { padding-bottom: 84px; }
.tv-head { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.tv-ico { flex: none; display: inline-grid; grid-auto-flow: column; place-items: center; gap: 8px; min-width: 38px; height: 38px; padding: 0; border-radius: 10px; border: 1.5px solid var(--border-strong); background: var(--bg); color: var(--text); font: inherit; text-decoration: none; cursor: pointer; }
.tv-ico:hover { border-color: var(--accent); color: var(--accent); }
.tv-ico svg { width: 20px; height: 20px; }
.tv-ico-search > span { display: none; }
.tv-headt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.tv-headt > b { font-size: 1.14rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-headt > span { font-size: 0.8rem; line-height: 1.25; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-head-role { display: none; flex: none; margin: 0; }
.tv-prog4 { height: 4px; border-radius: 99px; background: var(--border); overflow: hidden; margin: 0 0 12px; }
.tv-prog4 > span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.tv-prog4.tv-progress-done > span { background: var(--ok); }
.tv-searchbar { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px; border: 2px solid var(--accent); border-radius: 12px; background: var(--bg); color: var(--accent); }
.tv-searchbar svg { flex: none; width: 18px; height: 18px; }
.tv-searchbar input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font: inherit; font-size: 16px; }

/* the menu: a floating bar at the bottom, an icon and a word per section, the open one in a darker pill */
/* The menu is where the app ends: a bar of the page's own colour from edge to edge, down to the bottom of the screen (the
   phone's home indicator included), so that nothing of the page shows behind it or under it. */
#tv-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; justify-content: center; padding: 6px 8px max(8px, env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--border); transition: transform 0.2s ease, opacity 0.2s ease; }
#tv-dock.tv-away { transform: translateY(120%); opacity: 0; }
.tv-dock { pointer-events: auto; display: flex; gap: 2px; max-width: 100%; padding: 5px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface);
  box-shadow: none; }
.tv-dock-item { position: relative; flex: 1 1 auto; display: grid; justify-items: center; gap: 1px; min-width: 58px; padding: 6px 10px 5px; border: 0; border-radius: 99px; background: none; color: var(--muted);
  font: inherit; font-size: 0.69rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tv-dock-item svg { width: 22px; height: 22px; }
.tv-dock-item:hover { color: var(--text); }
.tv-dock-item[aria-current="page"] { background: var(--border); color: var(--text); }
.tv-dock-extra, .tv-dock-lang { display: none; }
.tv-count { position: absolute; top: 2px; left: 50%; margin-left: 4px; display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px;
  background: var(--warn-bg); color: var(--warn-text); border: 1px solid var(--warn-border); font-size: 0.66rem; font-weight: 700; font-style: normal; line-height: 1; }
@media (min-width: 48rem) {
  .tv-dock-extra, .tv-dock-lang { display: grid; }
  .tv-dock-more { display: none; }
  .tv-dock-item { min-width: 70px; padding: 6px 12px 5px; }
  .tv-head-role { display: inline-block; }
}
/* inside an agency's site the frame is as tall as the page, so the menu stays in the page's flow, under the header */
.tv-dock-flow { border-radius: 16px; overflow-x: auto; box-shadow: none; margin: 0 0 12px; }
.tv-dock-flow .tv-dock-extra { display: grid; }
.tv-dock-flow .tv-dock-item { flex: none; border-radius: 12px; }

/* a list's filters */
.tv-chips { display: flex; gap: 5px; overflow-x: auto; margin: 0 0 10px; padding-bottom: 1px; scrollbar-width: none; }
.tv-chips::-webkit-scrollbar { display: none; }
.tv-chipb { flex: none; display: inline-flex; align-items: center; gap: 4px; max-width: 16rem; min-height: 30px; padding: 4px 10px; border-radius: 99px; border: 1.5px solid var(--border-strong); background: var(--bg); color: var(--text);
  font: inherit; font-size: 0.8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.tv-chipb[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tv-chipb > i { font-style: normal; font-weight: 700; opacity: 0.65; margin-left: 2px; }
.tv-chipb .tv-clip { color: inherit; }
.tv-clip { color: var(--accent); flex: none; vertical-align: -2px; }

/* the board: one line per reservation */
.tv-board { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); margin: 0 0 12px; }
.tv-board > :first-child { border-top: 0; border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.tv-board > :last-child { border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius); }
.tv-line, .tv-dline { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; min-height: 54px; padding: 8px 12px; border: 0; border-top: 1px solid var(--border);
  background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tv-line:hover, .tv-dline:hover { background: var(--surface); }
.tv-line.open, .tv-dline.open { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.tv-when { display: block; font-variant-numeric: tabular-nums; line-height: 1.25; }
.tv-when > b { display: block; font-size: 0.9rem; white-space: nowrap; }
.tv-when.same > b { color: var(--muted); font-weight: 600; }
.tv-when > span { display: block; min-height: 1em; font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.tv-what { display: block; min-width: 0; line-height: 1.25; }
.tv-what > b { display: block; font-size: 0.94rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-what > span { display: block; font-size: 0.78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-state { display: flex; align-items: center; gap: 6px; }
.tv-ok { width: 22px; color: var(--ok); font-weight: 800; font-size: 1rem; text-align: center; }
.tv-falta { font-size: 0.7rem; font-weight: 700; padding: 1px 7px; border-radius: 99px; color: var(--warn-text); border: 1px solid var(--warn-border); background: var(--warn-bg); white-space: nowrap; }
.tv-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tv-dot); }
.tv-go { color: var(--muted); font-size: 1.2rem; line-height: 1; }
.tv-tools { margin: 0 0 4px; }

/* an open reservation: each value, and the clip of the receipt it came from */
.tv-ficha { position: relative; padding: 12px 12px 14px; border-top: 1px solid var(--border); box-shadow: inset 3px 0 0 var(--accent); }
.tv-ficha > .tv-card, .tv-pane-b > .tv-card { margin: 0; padding: 0; border: 0; background: none; }
.tv-fstate { margin: 0 0 10px; }
.tv-ftitle { margin: 0 0 2px; font-size: 1.12rem; line-height: 1.3; }
.tv-sub { margin: 0 0 12px; color: var(--muted); font-size: 0.88rem; }
.tv-dl { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 9px 10px; margin: 0 0 12px; font-size: 0.93rem; line-height: 1.4; }
.tv-dl dt { color: var(--muted); font-size: 0.8rem; padding-top: 2px; }
.tv-dl dd { position: relative; margin: 0; min-width: 0; }
.tv-mono { font-family: var(--mono); font-size: 0.92rem; letter-spacing: 0.02em; }
.tv-chg { display: block; margin-top: 3px; color: var(--muted); font-size: 0.8rem; }
.tv-fresh { padding: 0 3px; border-radius: 4px; background: var(--warn-bg); box-shadow: 0 0 0 1px var(--warn-border); color: var(--warn-text); font-weight: 700; }
.tv-mini { display: inline-flex; align-items: center; min-height: 24px; margin-left: 6px; padding: 1px 8px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text);
  font: inherit; font-size: 0.75rem; font-weight: 600; vertical-align: 1px; cursor: pointer; }
.tv-mini:hover { border-color: var(--accent); color: var(--accent); }
.tv-clipb { position: relative; display: inline-grid; place-items: center; width: 24px; height: 24px; margin: -4px 0 -4px 2px; padding: 0; border: 0; border-radius: 6px; background: none; cursor: pointer; vertical-align: -3px; }
.tv-clipb::before { content: ''; position: absolute; inset: -6px; }
.tv-clipb:hover, .tv-clipb[aria-expanded="true"] { background: var(--accent-soft); }
.tv-pop { position: absolute; z-index: 5; left: 0; bottom: calc(100% + 10px); width: min(252px, 78vw); padding: 11px 12px 12px; border-radius: 12px; background: var(--text); color: var(--bg);
  font-size: 0.84rem; line-height: 1.4; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); }
.tv-pop::after { content: ''; position: absolute; left: 22px; bottom: -6px; width: 12px; height: 12px; border-radius: 2px; background: var(--text); transform: rotate(45deg); }
.tv-pop > b { display: block; margin-bottom: 3px; font-size: 0.86rem; }
.tv-pop > p { margin: 0 0 9px; opacity: 0.85; }
.tv-pop .tv-row { gap: 6px; }
.tv-pop button { padding: 5px 9px; border-radius: 8px; border: 1px solid currentColor; background: none; color: inherit; font: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.tv-pop button:first-child { background: var(--bg); color: var(--text); border-color: var(--bg); }
.tv-miss { margin: 0 0 10px; color: var(--muted); align-items: flex-start; flex-wrap: nowrap; }
.tv-miss > span { flex: 1 1 auto; min-width: 0; }
.tv-srcrow { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; }
.tv-srcline { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text);
  font: inherit; font-size: 0.86rem; text-align: left; cursor: pointer; }
.tv-srcline:hover { border-color: var(--accent); }
.tv-srcline > b { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-srcline > small { color: var(--muted); white-space: nowrap; }
.tv-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 14px 0 6px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; color: var(--muted); }
.tv-h > span { white-space: nowrap; }
.tv-hgo { min-width: 0; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 700; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.tv-hits { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); margin: 0 0 12px; }
.tv-hit { display: grid; gap: 1px; width: 100%; padding: 9px 12px; border: 0; border-top: 1px solid var(--border); background: none; color: var(--text); font: inherit; font-size: 0.9rem; line-height: 1.3; text-align: left; cursor: pointer; }
.tv-hit:first-child { border-top: 0; border-radius: var(--radius) var(--radius) 0 0; }
.tv-hit:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.tv-hit:only-child { border-radius: var(--radius); }
.tv-hit:hover { background: var(--surface); }
.tv-hit > small { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.tv-hit > b { font-weight: 600; }
.tv-hit > span { font-size: 0.8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv mark, #tv-sheet mark { padding: 0 1px; border-radius: 3px; background: var(--warn-bg); color: var(--warn-text); box-shadow: 0 0 0 1px var(--warn-border); }

/* the readings: every file, and what was read from it */
.tv-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.tv-top > p { margin: 0; font-size: 0.82rem; line-height: 1.3; color: var(--muted); }
.tv-top > .tv-btn { flex: none; min-height: 36px; padding: 6px 12px; font-size: 0.88rem; }
.tv-read { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 0; border-top: 1px solid var(--border); overflow: hidden; }
.tv-read::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ok); }
.tv-read.warn::before { background: var(--tv-dot); }
.tv-read.idle::before { background: var(--border-strong); }
.tv-readb { flex: 1; min-width: 0; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; align-items: center; padding: 11px 0 11px 15px; border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.tv-thumb { display: grid; align-content: end; justify-items: center; width: 34px; height: 44px; padding-bottom: 3px; border-radius: 5px; border: 1px solid #c3ccda; color: #7a8599; font-size: 0.5rem; font-weight: 800; letter-spacing: 0.04em;
  background-color: #fff; background-image: linear-gradient(#cfd6e2, #cfd6e2), linear-gradient(#e3e8f0, #e3e8f0), linear-gradient(#e3e8f0, #e3e8f0), linear-gradient(#e3e8f0, #e3e8f0);
  background-size: 16px 3px, 24px 2px, 24px 2px, 18px 2px; background-position: 5px 6px, 5px 13px, 5px 18px, 5px 23px; background-repeat: no-repeat; }
.tv-thumb.img { background-image: linear-gradient(135deg, #cfe3f7, #e7f0fb); background-size: 24px 22px; background-position: 4px 5px; }
.tv-rbody { display: block; min-width: 0; line-height: 1.3; }
.tv-rbody > b { display: block; font-size: 0.92rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-rbody > .to { display: block; font-size: 0.84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-rbody > .to em { font-style: normal; color: var(--muted); }
.tv-rbody > .st { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; margin-top: 3px; font-size: 0.76rem; color: var(--muted); }
.tv-pill { font-size: 0.7rem; font-weight: 700; padding: 1px 7px; border-radius: 99px; border: 1px solid var(--border-strong); color: var(--muted); white-space: nowrap; }
.tv-pill.warn { color: var(--warn-text); border-color: var(--warn-border); background: var(--warn-bg); }
.tv-pill.ok { color: var(--ok); border-color: var(--ok); }
.tv-docs { margin-top: 16px; }
.tv-docs > p { margin: 4px 0 10px; }

/* what was read from a file: in a sheet, or next to the reservation on a wide screen */
html.tv-sheet-open, html.tv-sheet-open body { overflow: hidden; }
.tv-scrim { position: fixed; inset: 0; z-index: 950; background: rgba(15, 23, 41, 0.5); }
.tv-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 951; display: flex; flex-direction: column; max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); border-radius: 18px 18px 0 0; background: var(--bg); color: var(--text);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25); font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.tv-sheet:not(.tv-sheet-short) { top: 56px; }
.tv-grab { flex: none; width: 40px; height: 4px; margin: 10px auto 2px; border-radius: 99px; background: var(--border-strong); }
.tv-sheet-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px 16px; }
.tv-sheet-short .tv-sheet-body { padding-bottom: max(18px, env(safe-area-inset-bottom)); }
.tv-sh { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; }
.tv-sh > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tv-sh b { font-size: 0.96rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tv-sh span { font-size: 0.8rem; color: var(--muted); }
.tv-doc { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: start; margin: 0 0 4px; }
.tv-page { position: relative; height: 104px; padding: 0; border: 1px solid #c3ccda; border-radius: 6px; overflow: hidden; cursor: pointer; box-shadow: 0 2px 6px rgba(15, 23, 41, 0.08);
  background-color: #fff; background-image: linear-gradient(#b9c3d3, #b9c3d3), linear-gradient(#dfe5ee, #dfe5ee), linear-gradient(#dfe5ee, #dfe5ee), linear-gradient(#dfe5ee, #dfe5ee), linear-gradient(#dfe5ee, #dfe5ee), linear-gradient(#dfe5ee, #dfe5ee), linear-gradient(#eef2f7, #eef2f7);
  background-size: 46px 5px, 62px 3px, 62px 3px, 48px 3px, 62px 3px, 36px 3px, 62px 16px; background-position: 10px 12px, 10px 26px, 10px 34px, 10px 42px, 10px 54px, 10px 62px, 10px 70px; background-repeat: no-repeat; }
.tv-page > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tv-page > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 0; background: #e7f0fb; color: #0b5cad; font: inherit; font-size: 0.7rem; font-weight: 700; text-align: center; }
.tv-sum { margin: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); font-size: 0.86rem; line-height: 1.4; }
.tv-sum > small { display: block; margin-bottom: 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.tv-fields { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: 0 0 12px; }
.tv-f { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 10px; border-top: 1px solid var(--border); font-size: 0.9rem; line-height: 1.3; }
.tv-f:first-child { border-top: 0; }
.tv-f > span:first-child { font-size: 0.78rem; color: var(--muted); }
.tv-f > .v { min-width: 0; }
.tv-f > .v > s { display: block; font-size: 0.78rem; color: var(--muted); }
.tv-f.chg { background: var(--warn-bg); }
.tv-conf { display: grid; gap: 8px; margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--warn-bg); border: 1px solid var(--warn-border); color: var(--warn-text); font-size: 0.86rem; line-height: 1.4; }
.tv-conf .tv-row { gap: 6px; }
.tv-conf .tv-btn { min-height: 30px; padding: 3px 10px; font-size: 0.8rem; }
.tv-acts { flex: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--bg); }
.tv-acts > .tv-btn { flex: 1 1 auto; min-height: 38px; padding: 6px 8px; font-size: 0.84rem; white-space: nowrap; }
.tv-acts > .tv-btn-danger { flex: 0 0 auto; }
.tv-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 8px; }
.tv-more-item { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.tv-more-item[aria-current="page"] { border-color: var(--accent); color: var(--accent); }
/* the language, in the menu: while a trip is open the header's own switcher is not shown */
html.tv-has-dock .site-header .lang-switch { display: none; }
.tv-langs { display: grid; gap: 6px; margin-top: 14px; }
.tv-more + .tv-langs { padding-top: 12px; border-top: 1px solid var(--border); }
.tv-lang { flex: 1 1 8rem; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 600; text-decoration: none; }
.tv-lang:hover { color: var(--text); border-color: var(--border-strong); }   /* never the look of the one that is on */
.tv-lang > b { min-width: 1.6em; font-size: 0.75rem; letter-spacing: 0.04em; color: var(--muted); }
.tv-lang[aria-current="true"] { border-color: var(--accent); color: var(--accent); }
.tv-lang[aria-current="true"] > b { color: inherit; }
@media (min-width: 48rem) {
  .tv-sheet, .tv-sheet:not(.tv-sheet-short) { left: 50%; right: auto; top: 8vh; bottom: auto; width: min(34rem, calc(100vw - 32px)); max-height: 84vh; transform: translateX(-50%); border-radius: 18px; }
  .tv-grab { visibility: hidden; margin: 6px auto 0; }
}
/* inside an agency's site: next to what was tapped, in the page */
html[data-embed] .tv-scrim { position: absolute; }
html[data-embed] .tv-sheet, html[data-embed] .tv-sheet:not(.tv-sheet-short) { position: absolute; left: 8px; right: 8px; bottom: auto; width: auto; max-height: none; transform: none; border-radius: 18px; }
html[data-embed] .tv-sheet-body { overflow: visible; }

/* the days: one line each, a day's reservations before its plan, and the rail with every day */
.tv-daylist { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); margin: 0 0 12px; }
.tv-daylist > :first-child { border-top: 0; border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.tv-daylist > :last-child { border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius); }
.tv-daylist-rail { margin-right: 34px; }
.tv-dline.tv-now .tv-when > b { color: var(--accent); }
.tv-dbody { padding: 10px 12px 12px; border-top: 1px solid var(--border); box-shadow: inset 3px 0 0 var(--accent); }
.tv-pin { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; width: 100%; margin: 0 0 6px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text);
  font: inherit; font-size: 0.86rem; line-height: 1.25; text-align: left; cursor: pointer; }
.tv-pin:hover { border-color: var(--accent); }
.tv-pin b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-pin small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-flag { display: flex; align-items: center; gap: 6px; width: 100%; margin: 0 0 6px; padding: 5px 9px; border: 0; border-radius: 8px; background: var(--warn-bg); box-shadow: 0 0 0 1px var(--warn-border); color: var(--warn-text);
  font: inherit; font-size: 0.78rem; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; }
.tv-flag .tv-clip { color: inherit; }
.tv-planl li > .tv-flag { flex: 1 1 100%; margin: 2px 0 0 26px; width: auto; }
.tv-loose { margin: 0 0 6px; }
.tv-dbody > .tv-planl { margin-top: 4px; font-size: 0.9rem; line-height: 1.4; }
.tv-dbody > .tv-planl li:last-child { border-bottom: 0; }
.tv-rail { position: fixed; right: 4px; top: 110px; z-index: 20; display: grid; align-content: start; padding: 5px 3px; border-radius: 99px; border: 1px solid var(--border); background: var(--bg); box-shadow: 0 4px 14px rgba(15, 23, 41, 0.12); overflow-y: auto; scrollbar-width: none; }
.tv-rail::-webkit-scrollbar { display: none; }
.tv-rail > button { position: relative; display: grid; place-items: center; width: 26px; height: 27px; padding: 0; border: 0; border-radius: 99px; background: none; color: var(--muted); font: inherit; font-size: 0.72rem; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; }
.tv-rail > em { padding: 2px 0 1px; font-style: normal; font-size: 0.56rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; text-align: center; color: var(--muted); }
.tv-rail > .off { opacity: 0.5; }
.tv-rail > .cur { background: var(--border); color: var(--text); opacity: 1; }
.tv-rail > .on { background: var(--accent); color: var(--on-accent); opacity: 1; }
.tv-rail > .al::after { content: ''; position: absolute; right: 0; top: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--tv-dot); box-shadow: 0 0 0 1.5px var(--bg); }

/* searching the trip */
.tv-hint { margin: 2px 0 10px; font-size: 0.8rem; color: var(--muted); }
.tv-answer { margin: 0 0 14px; padding: 14px; border: 1.5px solid var(--accent); border-radius: var(--radius); background: var(--accent-soft); }
.tv-answer > h3 { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 2px; font-size: 1.05rem; }
.tv-answer > h3 > button { min-width: 0; font-weight: 700; text-align: left; text-decoration: none; }
.tv-answer > h3 > .tv-badge { flex: none; margin: 0; }
.tv-answer > p { margin: 0 0 10px; font-size: 0.9rem; color: var(--muted); }
.tv-num { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); }
.tv-num > span { flex: 1; min-width: 0; display: grid; font-size: 0.74rem; color: var(--muted); }
.tv-num > span > b { font-family: var(--mono); font-size: 1.12rem; letter-spacing: 0.03em; color: var(--text); }
.tv-answer .tv-srcline { width: 100%; background: var(--bg); }
.tv-try { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 0 0; font-size: 0.8rem; color: var(--muted); }
.tv-try > button { padding: 3px 9px; border-radius: 99px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }

/* a computer: the board, the reservation and where it came from, side by side */
.tv-cols { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 16px; align-items: start; }
/* two columns first: the board, and next to it the reservation with its reading under it */
.tv-cols > .tv-col { grid-row: 1 / span 2; min-width: 0; }
.tv-cols > .tv-pane-src { grid-column: 2; }
.tv-pane { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.tv-pane-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 14px; border-bottom: 1px solid var(--border); border-radius: var(--radius) var(--radius) 0 0; background: var(--surface);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.tv-pane-b { position: relative; padding: 14px; }
.tv-pane-b .tv-acts { padding: 0; border: 0; background: none; }
.tv-pane-b .tv-page { height: 104px; }
@media (min-width: 84rem) {
  .tv-cols { grid-template-columns: minmax(300px, 344px) minmax(0, 1fr) minmax(280px, 324px); }
  .tv-cols > .tv-col { grid-row: auto; }
  .tv-cols > .tv-pane-src { grid-column: auto; }
}
@media (min-width: 64rem) {
  .tv-head { gap: 14px; margin-bottom: 10px; }
  .tv-headt { display: flex; align-items: baseline; gap: 14px; }
  .tv-headt > b { flex: none; max-width: 50%; font-size: 1.45rem; }
  .tv-headt > span { font-size: 0.92rem; }
  .tv-ico-search { width: 240px; justify-content: start; padding: 0 12px; color: var(--muted); font-size: 0.92rem; }
  .tv-ico-search > span { display: inline; }
  .tv-ico-search svg { width: 18px; height: 18px; }
  .tv-rail { right: max(6px, calc(12.5vw - 46px)); }
  .tv-daylist-rail { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) { #tv-dock { transition: none; } }

/* The editor of a whole trip (travel.js edPanel): every day with its things, each with where to move it, change and
   remove, and at the bottom, above the menu, what is left to save. */
.tv-ed-day { margin: 0 0 8px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.tv-ed-day.tv-ed-on { border-color: var(--accent); }
.tv-ed-head { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 12px; cursor: pointer; list-style: none; }
.tv-ed-head::-webkit-details-marker { display: none; }
.tv-ed-when { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-ed-meta { display: flex; gap: 8px; align-items: center; flex: none; }
.tv-ed-day[open] .tv-go { transform: rotate(180deg); }
.tv-ed-body { padding: 0 12px 12px; }
.tv-ed-all { margin: 0 0 8px; }
.tv-ed-swap { margin: 0 0 6px; }
.tv-ed-swap .tv-ed-pick { max-width: 100%; }
.tv-ed-res { margin: 0 0 6px; }
.tv-ed-list { margin: 0 0 8px; }
.tv-ed-item { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--border); }
.tv-ed-resv .tv-ed-text { font-weight: 500; }
.tv-ed-text { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.tv-ed-acts { display: flex; gap: 4px; align-items: center; flex: none; }
.tv-ed-pick { max-width: 9.5rem; min-height: 36px; padding: 4px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); font: inherit; font-size: 0.9rem; }
.tv-ed-row { margin: 6px 0; }
.tv-ed-row input { min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); font: inherit; }
.tv-ed-new { align-items: flex-end; margin: 12px 0 8px; }
.tv-ed-bar { position: sticky; bottom: 84px; z-index: 5; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); box-shadow: 0 2px 12px rgba(15, 23, 41, 0.14); }
@media (max-width: 40rem) { .tv-ed-item { flex-wrap: wrap; } .tv-ed-acts { margin-left: auto; } }
/* the notice of what was saved: a ring that empties over its five seconds, with the seconds left in it */
.tv-ed-done { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.tv-ed-left { position: relative; display: inline-grid; place-items: center; width: 26px; height: 26px; }
.tv-ed-left i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--left) * 20%), var(--border) 0); -webkit-mask: radial-gradient(circle, transparent 9px, #000 10px); mask: radial-gradient(circle, transparent 9px, #000 10px); }
.tv-ed-left b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; font-size: 0.8rem; line-height: 1; font-variant-numeric: tabular-nums; }
/* the digits in the middle of the ring: their own height, not the line's (a line keeps room below for descenders) */
.tv-ed-left b span { display: block; line-height: 1; padding-top: 0.38em; }
@supports (text-box: trim-both cap alphabetic) { .tv-ed-left b span { padding-top: 0; text-box: trim-both cap alphabetic; } }
