/* Travami – das neue, eine Stylesheet. Hier entstehen die neu aufgesetzten Ansichten;
   die alten Stylesheets entfallen, sobald ihre Ansicht ersetzt ist.
   Alle Klassen beginnen mit "tv-". Farben und Schriften kommen aus travami.css (:root). */

/* Betrag */
.tv-money {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}
.tv-money:focus-within {
  border-color: var(--ocean);
}
.tv-money input {
  width: 76px;
  border: 0;
  outline: 0;
  padding: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  text-align: right;
  color: var(--ink);
}
.tv-money input::placeholder {
  color: var(--muted);
  font-weight: 400;
}
.tv-money span {
  color: var(--muted);
  font-size: 13px;
}

/* Kostenzeile: Bezeichnung, Betrag, bezahlt */
.tv-costrow {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}
.tv-what {
  min-width: 0;
}
.tv-what small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.tv-paid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.tv-paid[aria-pressed='false'] .tv-tick {
  display: none;
}
.tv-paid[aria-pressed='true'] {
  background: var(--light);
  border-color: var(--lagoon);
  color: var(--ocean);
  font-weight: 600;
}

/* Kostenblock im Stationsdetail */
.tv-costs {
  margin: 22px 0 4px;
  padding: 16px;
  border-radius: 14px;
  background: var(--sand);
}
.tv-costs h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 6px;
  font-size: 16px;
}
.tv-costs h3 span {
  font: 600 15px var(--sans);
}
.tv-quickadd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.tv-hint {
  color: var(--muted);
  font-size: 13px;
}
.tv-chip {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.tv-chip[aria-pressed='true'] {
  background: var(--ocean);
  border-color: var(--ocean);
  color: var(--white);
}
.tv-link {
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--ocean);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.tv-error {
  margin: 6px 0 0;
  color: var(--danger);
  font-size: 13px;
}
.tv-error:empty {
  display: none;
}

@media (max-width: 600px) {
  .tv-paid {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  .tv-paid-text {
    display: none;
  }
  .tv-paid[aria-pressed='false'] .tv-tick {
    display: inline;
    opacity: 0.35;
  }
  .tv-money input {
    width: 60px;
  }
}

/* Stationsliste (M3): Foto mit Nummer, Name, Zeitraum und Nächte, Betrag. Dazwischen Etappenzeilen. */
.tv-routehead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.tv-routehead h3 {
  margin: 0;
}
.tv-stops {
  display: grid;
  gap: 2px;
  margin: 8px 0;
}
.tv-station,
.tv-leg,
.tv-endpoint {
  width: 100%;
  margin: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.tv-station {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 80px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
}
.tv-station:hover {
  border-color: var(--lagoon);
}
.tv-station[aria-pressed='true'] {
  background: var(--light);
  border-color: var(--lagoon);
}
.tv-thumb {
  position: relative;
  width: 76px;
  height: 60px;
}
.tv-thumb img,
.tv-thumb-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  background: var(--light);
  color: var(--ocean);
  font: 700 22px var(--serif, inherit);
}
.tv-number {
  position: absolute;
  top: -7px;
  left: -7px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--ocean);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
}
.tv-stationtext {
  min-width: 0;
}
.tv-stationtext strong {
  display: block;
  font-weight: 600;
}
.tv-stationtext small {
  color: var(--muted);
  font-size: 14px;
}
.tv-lock {
  display: block;
  color: var(--ocean);
  font-size: 12px;
  font-weight: 600;
}
.tv-amount {
  margin-left: auto;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.tv-amount.is-paid {
  color: var(--ocean);
}
.tv-amount.is-empty {
  color: var(--muted);
  font-weight: 500;
}
.tv-choose {
  margin-left: auto;
  color: var(--coral);
  font-size: 13px;
  font-weight: 600;
}
.tv-leg,
.tv-endpoint {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: none;
}
.tv-leg {
  padding: 4px 10px 4px 100px;
  color: var(--muted);
  font-size: 13px;
}
.tv-endpoint {
  padding: 4px 10px;
  color: var(--ink);
  font-size: 14px;
}
.tv-leg:hover,
.tv-leg[aria-expanded='true'],
.tv-endpoint:hover {
  background: var(--sand);
  color: var(--ink);
}
.tv-leg svg,
.tv-endpoint svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tv-endpoint svg {
  width: 18px;
  height: 18px;
  stroke: var(--ocean);
}
.tv-endpoint small {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}
.tv-legbody {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px 100px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--sand);
  font-size: 14px;
}
.tv-legbody .tv-error,
.tv-legbody .inline-leg-editor {
  flex-basis: 100%;
}
.tv-legbody .inline-leg-editor:empty {
  display: none;
}

/* Vorschläge V1: Lücken-Zeilen und Vorschlagskarten in der Stationsliste. */
.tv-gap {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  margin: 6px 0;
  padding: 8px 12px;
  border: 1px dashed var(--lagoon);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.tv-gap:hover {
  background: var(--sand);
}
.tv-gap[aria-expanded='true'] {
  margin-bottom: 0;
  border-style: solid;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: var(--light);
}
.tv-gap svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ocean);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tv-gap strong {
  display: block;
  font-weight: 600;
  line-height: 1.35;
}
.tv-gap small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.tv-count {
  color: var(--ocean);
  font-weight: 600;
  white-space: nowrap;
}
.tv-gap .tv-count::after {
  content: ' ▾';
  font-size: 11px;
}
.tv-gap[aria-expanded='true'] .tv-count::after {
  content: ' ▴';
}
.tv-gap.is-none {
  border-color: var(--line);
}
.tv-gap.is-none .tv-count {
  color: var(--muted);
  font-weight: 500;
}
.tv-gap.is-none .tv-count::after {
  content: '';
}
.tv-sugs {
  display: grid;
  gap: 12px;
  margin: 0 0 6px;
  padding: 12px;
  border: 1px solid var(--lagoon);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: var(--light);
}
.tv-hint {
  margin: 0;
  padding: 0 4px;
  color: var(--muted);
  font-size: 13px;
}
.tv-sugcard {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  scroll-margin-top: 16px;
}
.tv-sugpic {
  position: relative;
  margin: 0;
}
.tv-sugpic img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.tv-sugpic.is-empty {
  display: grid;
  place-items: center;
  height: 72px;
  background: var(--sand);
}
.tv-sugletter {
  color: var(--ocean);
  font: 700 26px var(--serif);
}
.tv-sugtag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 1px 8px;
  border-radius: 20px;
  background: var(--white);
  color: var(--ocean);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tv-sugpic figcaption {
  position: absolute;
  right: 8px;
  bottom: 6px;
  max-width: calc(100% - 16px);
  color: var(--white);
  font-size: 10px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}
.tv-sugbody {
  display: grid;
  gap: 10px;
  padding: 14px 16px 16px;
}
.tv-sugbody h3 {
  margin: 0;
  font: 700 17px var(--serif);
  text-wrap: balance;
}
.tv-sugtext {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.tv-why {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--sand);
  font-size: 14px;
}
.tv-why strong {
  color: var(--ocean);
  font-weight: 600;
}
.tv-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 6px;
  min-height: 24px;
  color: var(--muted);
  font-size: 13px;
}
.tv-trust.is-checked {
  color: var(--ocean);
  font-weight: 600;
}
.tv-textlink {
  min-height: 44px;
  padding: 12px 6px;
  border: 0;
  background: none;
  color: var(--ocean);
  font: 600 14px var(--sans);
  text-align: left;
  cursor: pointer;
}
.tv-trust .tv-textlink {
  min-height: 32px;
  padding: 0 2px;
  font-size: 13px;
}
.tv-sources {
  margin: 0;
  padding: 8px 12px 8px 28px;
  border-radius: 10px;
  background: var(--sand);
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.tv-sugactions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tv-sugactions .button {
  min-height: 44px;
}
.tv-sugactions .button[aria-pressed='true'] {
  border-color: var(--lagoon);
  background: var(--light);
  color: var(--ocean);
}
.button.tv-quiet {
  border-color: transparent;
  color: var(--muted);
}
.tv-hiddenline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 6px 0 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--muted);
  font-size: 14px;
}
.tv-change {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: var(--sand);
}
.tv-change h4 {
  margin: 0;
  font: 700 15px var(--serif);
}
.tv-change dl {
  display: grid;
  grid-template-columns: minmax(84px, auto) 1fr;
  gap: 8px 14px;
  margin: 0;
  font-size: 14px;
}
.tv-change dt {
  color: var(--muted);
}
.tv-change dd {
  margin: 0;
}
.tv-change dd.is-keep {
  color: var(--ocean);
  font-weight: 600;
}
.tv-changebuttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}
.tv-changebuttons .tv-coral {
  flex: 1 1 160px;
  width: auto;
}
.tv-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 10px;
  margin: 8px 0 4px;
  padding: 4px 6px 4px 14px;
  border-radius: 12px;
  background: var(--light);
  color: var(--ocean);
  font-size: 14px;
  font-weight: 600;
}
@media (max-width: 600px) {
  .tv-sugs {
    padding: 10px;
  }
  .tv-sugpic img {
    height: 150px;
  }
}
.tv-add {
  display: block;
  margin-top: 4px;
}
.tv-routenote {
  margin: 4px 0 0;
}

/* Nächte-Zähler nur bei der gewählten Station */
.tv-nights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}
.tv-stepper {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.tv-stepper button {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--ocean);
  font: inherit;
  font-size: 20px;
  cursor: pointer;
}
.tv-stepper button:hover:not(:disabled) {
  background: var(--light);
}
.tv-stepper button:disabled {
  color: var(--line);
  cursor: default;
}
.tv-stepper output {
  min-width: 96px;
  font-weight: 600;
  text-align: center;
}

/* Reihenfolge im Dialog "Station bearbeiten" */
.tv-order {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

@media (max-width: 600px) {
  .tv-station {
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
  }
  .tv-thumb {
    width: 64px;
    height: 52px;
  }
  .tv-leg {
    padding-left: 16px;
  }
  .tv-legbody {
    margin-left: 0;
  }
}

/* Reiter Budget (M3): links Stand und Aufteilung, rechts alle Kosten entlang der Route */
.tv-budget {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.tv-budgetside {
  display: grid;
  gap: 20px;
}
.tv-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}
.tv-panel h2 {
  margin: 0 0 8px;
  font: 700 19px/1.3 var(--serif);
}
.tv-eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tv-bignumber {
  margin: 8px 0 2px;
  font: 700 40px/1.1 var(--serif);
  letter-spacing: -0.02em;
}
.tv-meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.tv-bar {
  display: flex;
  height: 10px;
  margin: 14px 0 10px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--light);
}
.tv-bar i {
  display: block;
  height: 100%;
  background: var(--lagoon);
}
.tv-bar i.is-paid {
  background: var(--ocean);
}
.tv-bar.is-thin {
  grid-column: 1 / -1;
  height: 6px;
  margin: 0;
}
.tv-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  color: var(--muted);
  font-size: 13px;
}
.tv-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 3px;
  background: var(--lagoon);
}
.tv-dot.is-paid {
  background: var(--ocean);
}
.tv-dot.is-free {
  background: var(--light);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tv-dot.is-over {
  background: var(--coral);
}
.tv-over {
  color: var(--danger);
  font-weight: 600;
}
.tv-target {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.tv-target .tv-what {
  flex: 1 1 160px;
  font-weight: 600;
}
.tv-target .tv-what small {
  font-weight: 400;
}
.tv-currency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tv-currency select {
  min-height: 44px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font: inherit;
}
.tv-todo {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.tv-todo h3 {
  margin: 0;
  font-size: 15px;
}
.tv-todo button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.tv-todo button > span:last-child {
  color: var(--coral);
  font-weight: 600;
  white-space: nowrap;
}
.tv-todo button:hover,
.tv-todo button:focus-visible {
  border-color: var(--coral);
}
.tv-done {
  margin: 16px 0 0;
}
.tv-catrow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 8px 0;
  font-size: 14px;
}
.tv-paneltitle {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
}
.tv-group {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.tv-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  font-size: 15px;
}
.tv-groupnumber {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ocean);
  color: var(--white);
  font-size: 13px;
}
.tv-leggroup {
  padding: 4px 0 4px 36px;
  border-top: 0;
}
.tv-leggroup .tv-what {
  color: var(--muted);
  font-size: 14px;
}
.tv-routecosts > .tv-hint {
  margin: 12px 0 0;
}
.tv-more {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.tv-more summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--ocean);
  font-weight: 600;
  cursor: pointer;
}
@media (max-width: 900px) {
  .tv-budget {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .tv-panel {
    padding: 16px;
  }
  .tv-bignumber {
    font-size: 34px;
  }
  .tv-leggroup {
    padding-left: 0;
  }
}

/* Reise anlegen (R1): eine Seite mit Angaben links und Ausgangsroute rechts */
.tv-create {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px clamp(18px, 4vw, 30px) 60px;
}
.tv-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 10px;
  color: var(--muted);
  text-decoration: none;
}
.tv-eyebrow.is-accent {
  color: var(--ocean);
  letter-spacing: 0.12em;
}
.tv-createhead {
  margin-bottom: 28px;
}
.tv-createhead h1 {
  margin: 10px 0 8px;
  font: 700 clamp(28px, 4vw, 38px) / 1.2 var(--serif);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.tv-createhead h1:focus {
  outline: 0;
}
.tv-creategrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: start;
}
.tv-createform {
  display: grid;
}
.tv-block {
  display: grid;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.tv-block:first-child {
  padding-top: 0;
  border-top: 0;
}
.tv-block:last-child {
  padding-bottom: 0;
}
.tv-create .tv-panel h2 {
  margin: 0;
  font-size: 18px;
}
.tv-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
}
.tv-input,
.tv-create .place-query {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.4 var(--sans);
}
.tv-input:focus,
.tv-create .place-query:focus {
  outline: 0;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px var(--light);
}
textarea.tv-input {
  min-height: 96px;
  resize: vertical;
}
.tv-create .place-attribution {
  display: none;
}
.tv-create .place-state {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}
.tv-finder {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 0;
}
.tv-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tv-recognized {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.tv-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 14px;
  background: var(--light);
  color: var(--ocean);
  font-size: 13px;
  font-weight: 600;
}
.tv-pill.is-none {
  background: var(--sand);
  color: var(--muted);
  font-weight: 500;
}
.tv-span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tv-span strong {
  font: 700 18px var(--serif);
}
.tv-moreinfo {
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.tv-moreinfo summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ocean);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.tv-moreinfo summary::-webkit-details-marker {
  display: none;
}
.tv-moreinfo summary::before {
  content: '+';
  width: 20px;
  font-size: 20px;
  line-height: 1;
  text-align: center;
}
.tv-moreinfo[open] summary::before {
  content: '−';
}
.tv-moreinfo summary .tv-meta {
  font-weight: 400;
}
.tv-moregrid {
  display: grid;
  gap: 14px;
  padding: 6px 0 4px;
}
.tv-segmented {
  display: inline-grid;
  grid-auto-flow: column;
  justify-self: start;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.tv-segmented button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--muted);
  font: 600 14px var(--sans);
}
.tv-segmented button[aria-pressed='true'] {
  background: var(--light);
  color: var(--ocean);
}
.tv-createsummary {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 14px;
}
.tv-create .tv-createsummary h2 {
  margin-top: 6px;
  font-size: 22px;
  text-wrap: balance;
}
.tv-createsummary .tv-stops {
  gap: 8px;
}
.tv-createsummary .tv-station,
.tv-createsummary .tv-station:hover {
  border-color: var(--line);
  cursor: default;
}
.tv-createsummary .tv-endpoint:hover {
  background: none;
}
.tv-collect {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 14px;
  background: var(--sand);
}
.tv-collect h3 {
  margin: 0;
  font: 700 16px var(--serif);
}
.tv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tv-chips:empty {
  display: none;
}
.tv-coral {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--coral);
  border-radius: 12px;
  background: var(--coral);
  color: var(--ink);
  font: 600 16px var(--sans);
  cursor: pointer;
}
.tv-coral:hover {
  filter: brightness(0.96);
}

@media (max-width: 860px) {
  .tv-creategrid {
    grid-template-columns: 1fr;
  }
  .tv-createsummary {
    position: static;
  }
}
@media (max-width: 600px) {
  .tv-create {
    padding-top: 20px;
  }
  .tv-createhead {
    margin-bottom: 18px;
  }
  .tv-row2 {
    grid-template-columns: 1fr;
  }
  .tv-create .tv-panel {
    padding: 16px;
  }
}

/* Reiter Buchungen (B1): links Stand und Als Nächstes, rechts alles entlang der Route */
.tv-bookgrid {
  display: grid;
  grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.tv-bookcount {
  margin: 8px 0 2px;
  font: 700 34px/1.15 var(--serif);
  letter-spacing: -0.02em;
}
.tv-bookcount small {
  color: var(--muted);
  font: 500 16px var(--sans);
  letter-spacing: 0;
}
.tv-todo button small {
  display: block;
}
.tv-bookhintstitle {
  margin: 22px 0 0;
  font-size: 15px;
}
.tv-hintlist {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}
.tv-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.tv-status.is-booked {
  background: var(--light);
  color: var(--ocean);
}
.tv-status.is-planned {
  border: 1px solid var(--line);
  background: var(--sand);
  color: var(--ink);
}
.tv-status.is-open {
  border: 1px solid var(--coral);
  background: var(--white);
  color: var(--coral);
}
.tv-status.is-cancelled {
  background: var(--sand);
  color: var(--muted);
  text-decoration: line-through;
}
.tv-booklist {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.tv-grouphead {
  margin: 14px 0 2px;
  color: var(--muted);
  font: 600 13px var(--sans);
  letter-spacing: 0.04em;
}
.tv-grouphead:first-child {
  margin-top: 0;
}
.tv-bookrow {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.tv-bookrow:hover {
  border-color: var(--lagoon);
}
.tv-bookrow[aria-expanded='true'] {
  border-color: var(--lagoon);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: var(--light);
}
.tv-bookrow .tv-thumb {
  width: 56px;
  height: 46px;
}
.tv-bookrow .tv-thumb img,
.tv-bookrow .tv-thumb-fallback {
  border-radius: 9px;
  font-size: 18px;
}
.tv-bookicon {
  display: grid;
  place-items: center;
  width: 56px;
}
.tv-bookicon svg,
.tv-searchlink svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: var(--ocean);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tv-booktext {
  min-width: 0;
}
.tv-booktext strong {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}
.tv-booktext small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.tv-bookside {
  display: grid;
  justify-items: end;
  gap: 4px;
}
.tv-bookside .tv-amount {
  margin: 0;
}
.tv-bookrow.is-slim {
  min-height: 48px;
  border-style: dashed;
  background: none;
}
.tv-bookrow.is-slim[aria-expanded='true'] {
  border-style: solid;
  background: var(--light);
}
.tv-bookrow.is-slim strong {
  font: 500 14px var(--sans);
}
.tv-bookbody {
  display: grid;
  gap: 14px;
  margin-top: -8px;
  padding: 16px;
  border: 1px solid var(--lagoon);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: var(--white);
}
.tv-facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 16px;
  margin: 0;
  font-size: 14px;
}
.tv-facts dt {
  color: var(--muted);
}
.tv-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.tv-bookform {
  display: grid;
  gap: 14px;
}
.tv-bookform h3 {
  margin: 0;
  font-size: 16px;
}
.tv-row3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.tv-input[aria-invalid='true'] {
  border-color: var(--danger);
}
select.tv-input {
  appearance: auto;
}
.tv-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.tv-quiet {
  border-color: transparent;
  color: var(--muted);
}
.tv-link.is-danger {
  color: var(--danger);
}
.tv-link.tv-inline {
  justify-self: start;
  min-height: 44px;
  padding: 0;
  text-align: left;
}
.tv-facts .tv-link.tv-inline {
  min-height: 0;
}
.tv-costnote {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--sand);
  font-size: 14px;
}
.tv-costnote > span:first-child {
  color: var(--muted);
}
.tv-searchlink {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.tv-searchlink:hover {
  border-color: var(--ocean);
}
.tv-searchlink strong {
  display: block;
  font-weight: 600;
}
.tv-tag {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tv-go {
  margin-left: auto;
  color: var(--ocean);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 860px) {
  .tv-bookgrid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .tv-bookrow {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
  }
  .tv-bookrow .tv-thumb,
  .tv-bookicon {
    width: 48px;
  }
  .tv-row3 {
    grid-template-columns: 1fr;
  }
  .tv-bookcount {
    font-size: 28px;
  }
}

/* Reiter Ideen (Vorschläge V1): Gemerkt und Ideenpool links, Varianten rechts */
.tv-ideasgrid {
  display: grid;
  grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: 'saved var' 'all var';
  gap: 28px;
  align-items: start;
}
.tv-a-saved {
  grid-area: saved;
}
.tv-a-var {
  grid-area: var;
}
.tv-a-all {
  grid-area: all;
}
.tv-ideasintro {
  margin: 0 0 12px;
}
.tv-idealist {
  display: grid;
  gap: 8px;
}
.tv-a-all .tv-chips + .tv-idealist {
  margin-top: 12px;
}
.tv-bookrow.tv-idearow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  cursor: default;
}
.tv-idearow > .tv-ideamain {
  flex: 1 1 150px;
}
.tv-idearow > .tv-bookside {
  flex: 0 0 auto;
  margin-left: auto;
}
.tv-ideamain {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}
button.tv-ideamain {
  cursor: pointer;
}
.tv-ideamain .tv-thumb {
  width: 56px;
  height: 46px;
}
.tv-ideamain .tv-thumb img,
.tv-ideamain .tv-thumb-fallback {
  border-radius: 9px;
  font-size: 18px;
}
.tv-idearow .tv-bookside {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 4px 8px;
}
.tv-idearow .tv-textlink {
  min-height: 40px;
}
.tv-emptynote {
  margin: 0;
  padding: 16px;
  border-radius: 14px;
  background: var(--sand);
  color: var(--muted);
  font-size: 14px;
}
.tv-varhead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.tv-varideas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.tv-varideas .tv-chip {
  min-height: 40px;
}
.tv-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 14px 0 18px;
}
.tv-cmpcol {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}
.tv-cmpcol h3 {
  margin: 0 0 4px;
  font-size: 15px;
}
.tv-cmprow {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 2px 10px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-size: 14px;
}
.tv-cmpnumber {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ocean);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
}
.tv-cmprow strong {
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.tv-cmprow small {
  grid-column: 2;
  color: var(--muted);
  font-size: 13px;
}
.tv-cmprow .tv-status {
  grid-column: 2;
  justify-self: start;
  margin-top: 2px;
}
.tv-cmprow.is-new,
.tv-cmprow.is-changed {
  border-color: var(--lagoon);
  background: var(--light);
}
.tv-cmprow.is-gone {
  opacity: 0.55;
}
.tv-cmprow.is-gone strong {
  text-decoration: line-through;
}
.tv-varbuttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 16px 0 12px;
}
.tv-varbuttons .tv-coral {
  flex: 0 1 280px;
  width: auto;
}
@media (max-width: 860px) {
  .tv-ideasgrid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: 'saved' 'var' 'all';
  }
}
@media (max-width: 600px) {
  .tv-ideamain {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }
  .tv-ideamain .tv-thumb {
    width: 48px;
  }
  .tv-compare {
    gap: 8px;
  }
  .tv-cmprow {
    grid-template-columns: minmax(0, 1fr);
    padding: 8px;
  }
  .tv-cmpnumber {
    display: none;
  }
  .tv-cmprow small,
  .tv-cmprow .tv-status {
    grid-column: 1;
  }
  .tv-varbuttons .tv-coral {
    flex: 1 1 100%;
  }
}

/* Startseite (S1): Einstieg „Reise anlegen“, Meine Reisen, Inspiration aus der Inhaltsdatenbank */
.tv-home {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px clamp(18px, 4vw, 30px) 60px;
}
.tv-homehero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.tv-herocopy {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.tv-herocopy h1 {
  margin: 0;
  font: 700 clamp(28px, 4vw, 38px) / 1.2 var(--serif);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.tv-herocopy .tv-meta {
  max-width: 46ch;
  font-size: 15px;
}
.tv-startform {
  display: grid;
  gap: 14px;
  width: 100%;
  margin: 8px 0 0;
}
.tv-startform textarea.tv-input {
  min-height: 84px;
  resize: vertical;
}
.tv-herocopy > .tv-link {
  padding-left: 0;
}
.tv-herophoto {
  position: relative;
  margin: 0;
}
.tv-herophoto img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
}
.tv-herophoto figcaption {
  position: absolute;
  left: 14px;
  bottom: 10px;
  font-size: 12px;
}
.tv-herophoto figcaption a {
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}
.tv-homesection {
  margin-top: clamp(40px, 6vw, 64px);
}
.tv-homesection.is-quiet {
  margin-top: 28px;
}
.tv-sectionhead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}
.tv-sectionhead h2 {
  margin: 6px 0 4px;
  font: 700 24px/1.25 var(--serif);
  letter-spacing: -0.02em;
}
.tv-triplist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tv-triprow {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.tv-triprow:hover {
  border-color: var(--ocean);
}
.tv-tripthumb {
  display: block;
  width: 76px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
}
.tv-tripthumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tv-tripthumb.tv-thumb-fallback {
  background: var(--light);
}
.tv-tripinfo {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.tv-tripinfo strong {
  font-weight: 600;
  line-height: 1.3;
}
.tv-tripinfo small {
  color: var(--muted);
  font-size: 13px;
}
.tv-tripinfo .tv-tripstate {
  color: var(--ocean);
}
.tv-triprow-go {
  grid-column: 1 / -1;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--ocean);
  font-size: 14px;
  font-weight: 600;
}
.tv-draftnote {
  margin: 10px 0 0;
}
.tv-returning {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.tv-inlinelink {
  color: var(--ocean);
  font-weight: 600;
}
.tv-ideagrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.tv-ideacard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}
.tv-ideacard img,
.tv-ideaimg-fallback {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--light);
}
.tv-ideabody {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 12px;
}
.tv-ideabody h3 {
  margin: 0;
  font: 700 17px/1.3 var(--serif);
  text-wrap: balance;
}
.tv-ideaintro {
  margin: 0;
  font-size: 14px;
}
.tv-ideaseason {
  margin: auto 0 0;
  padding-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.tv-ideabody .tv-link {
  align-self: flex-start;
  padding-left: 0;
}
.tv-ideacredit {
  color: var(--muted);
  font-size: 11px;
}
.tv-ideacredit a {
  color: inherit;
}

@media (max-width: 1100px) {
  .tv-ideagrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tv-triplist {
    grid-template-columns: 1fr;
  }
  .tv-triprow {
    grid-template-columns: 76px 1fr auto;
  }
  .tv-triprow-go {
    grid-column: auto;
    padding-top: 0;
    border-top: 0;
  }
}
@media (max-width: 860px) {
  .tv-homehero {
    grid-template-columns: 1fr;
  }
  .tv-herophoto {
    order: -1;
  }
  .tv-herophoto img {
    aspect-ratio: 16 / 9;
    max-height: 240px;
  }
}
@media (max-width: 600px) {
  .tv-home {
    padding-top: 22px;
  }
  .tv-herophoto img {
    max-height: 180px;
  }
  .tv-sectionhead h2 {
    font-size: 21px;
  }
  .tv-ideagrid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tv-ideacard {
    flex-direction: row;
    border-radius: 14px;
  }
  .tv-ideacard img,
  .tv-ideaimg-fallback {
    flex: none;
    width: 104px;
    aspect-ratio: auto;
  }
  .tv-ideabody {
    gap: 4px;
    padding: 12px 14px 8px;
  }
  .tv-ideabody h3 {
    font-size: 16px;
  }
  .tv-ideaintro {
    display: none;
  }
  .tv-triprow {
    grid-template-columns: 64px 1fr;
    gap: 8px 12px;
  }
  .tv-tripthumb {
    width: 64px;
    height: 52px;
  }
  .tv-triprow-go {
    grid-column: 1 / -1;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
}

/* Anmeldung und Konto (K1): Anmelden per Code und Link, Gast-Hinweis, Kontoseite */
.tv-auth {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px clamp(18px, 4vw, 30px) 60px;
}
.tv-authcopy {
  display: grid;
  gap: 14px;
  justify-items: start;
  max-width: 520px;
}
.tv-authcopy h1,
.tv-accounthead h1 {
  margin: 0;
  font: 700 clamp(28px, 4vw, 38px) / 1.2 var(--serif);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.tv-authcopy .tv-meta {
  font-size: 15px;
}
.tv-authform {
  display: grid;
  gap: 14px;
  width: 100%;
}
.tv-authform .tv-hint {
  margin: 0;
}
.tv-authlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}
.tv-authlinks .tv-link {
  padding-left: 0;
}
.tv-codeinput {
  font: 600 24px/1.2 var(--serif);
  letter-spacing: 0.18em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.tv-codeinput:disabled {
  background: var(--sand);
  color: var(--muted);
}
.tv-coral:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: none;
}
.tv-alert {
  display: grid;
  gap: 4px;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--danger);
  border-radius: 12px;
  background: var(--white);
  color: var(--danger);
  font-size: 14px;
}
.tv-alert strong {
  font-weight: 600;
}
.tv-alert .tv-link {
  justify-self: start;
  min-height: 36px;
  padding: 0;
}
.tv-statusbox {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--light);
  color: var(--ocean);
  font-size: 14px;
}
.tv-statusbox:empty {
  display: none;
}
.tv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: 600 14px var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.tv-button:hover {
  border-color: var(--ocean);
}
.tv-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.tv-button.is-primary {
  border-color: var(--ocean);
  background: var(--ocean);
  color: var(--white);
}
.tv-button.is-quiet {
  border-color: transparent;
  color: var(--muted);
}
.tv-button.is-danger {
  color: var(--danger);
}
.tv-button.is-danger:hover {
  border-color: var(--danger);
}
.tv-button.is-dangersolid {
  border-color: var(--danger);
  background: var(--danger);
  color: var(--white);
}
/* Gast-Hinweis in der Reiseansicht */
.tv-guesthint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin: 14px 0 4px;
  padding: 16px 18px;
  border: 1px solid var(--lagoon);
  border-radius: 14px;
  background: var(--light);
}
.tv-guesthint p {
  flex: 1 1 260px;
  min-width: 0;
  margin: 0;
  font-size: 15px;
}
.tv-guesthint p strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
}
.tv-guesthint .tv-buttons .tv-coral {
  width: auto;
  min-height: 46px;
  padding: 0 20px;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.tv-tabonly::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--coral);
  vertical-align: middle;
}
/* Kontoseite */
.tv-accounthead {
  display: grid;
  gap: 4px;
  margin-bottom: 26px;
}
.tv-accountgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: start;
}
.tv-accountgrid .tv-triplist {
  grid-template-columns: 1fr;
}
.tv-accountgrid .tv-triprow {
  grid-template-columns: 76px 1fr auto;
}
.tv-accountgrid .tv-triprow-go {
  grid-column: auto;
  padding-top: 0;
  border-top: 0;
}
.tv-tripitem {
  display: grid;
  gap: 2px;
}
.tv-tripitem .tv-buttons {
  justify-content: flex-end;
}
.tv-accountgrid .tv-paneltitle {
  margin-bottom: 12px;
}
.tv-accountgrid .tv-paneltitle h2 {
  margin: 0;
}
.tv-settings h2 {
  margin: 0;
  font-size: 17px;
}
.tv-readonly {
  font-size: 16px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.tv-inlineform {
  display: flex;
  gap: 8px;
}
.tv-inlineform .tv-input {
  flex: 1;
  min-width: 0;
}
.tv-stack {
  display: grid;
  gap: 8px;
  justify-items: start;
}
.tv-sheet {
  width: min(520px, calc(100vw - 32px));
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
}
.tv-sheet::backdrop {
  background: rgba(31, 46, 51, 0.45);
}
.tv-sheet h2 {
  margin: 0 0 6px;
  font: 700 20px/1.3 var(--serif);
}
.tv-sheet h2.is-danger {
  color: var(--danger);
}
.tv-sheet .tv-buttons {
  margin-top: 20px;
}
.tv-sheet .tv-field {
  margin-top: 18px;
}
@media (max-width: 860px) {
  .tv-accountgrid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .tv-auth {
    padding-top: 22px;
  }
  .tv-auth .tv-herophoto {
    display: none;
  }
  .tv-accountgrid .tv-triprow {
    grid-template-columns: 64px 1fr;
  }
  .tv-accountgrid .tv-triprow-go {
    grid-column: 1 / -1;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
  .tv-guesthint p {
    flex-basis: 100%;
  }
  .tv-guesthint .tv-buttons,
  .tv-guesthint .tv-buttons .tv-coral {
    width: 100%;
  }
}
.tv-accountmessage {
  margin-bottom: 22px;
}
.tv-tripsactions {
  margin-bottom: 14px;
}
.tv-retry {
  margin-top: 14px;
}
.tv-shell {
  min-height: 100vh;
  background: var(--sand);
}
body:has(.tv-shell) {
  margin: 0;
  background: var(--sand);
}
.tv-shell *,
.tv-shell *::before,
.tv-shell *::after {
  box-sizing: border-box;
}
.tv-field .tv-hint,
.tv-field .tv-readonly {
  font-weight: 400;
}
.tv-field .tv-readonly {
  font-weight: 500;
}
