/* Modul A – Erfassung (Zeiterfassung, Woche, Spesen). Präfix tr-. Nur Tokens aus theme.css. Mobile first. */

/* ------------------------------------------------------------------ Allgemein */
.tr-page { gap: 14px; }
.tr-num { font-variant-numeric: tabular-nums; }
.tr-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 2px;
  border: 0; background: none; font: inherit; font-size: var(--fs-sm); font-weight: 600; color: var(--brand); cursor: pointer;
}
.tr-link:hover:not(:disabled) { text-decoration: underline; }
.tr-link:disabled { opacity: .5; cursor: not-allowed; }
.tr-link-danger { color: var(--danger); }
.tr-btn-danger-text { color: var(--danger); }
@media (max-width: 899px), (pointer: coarse) {
  .tr-link { min-height: var(--tap); }
  /* Touch-Ziele ≥ 44 px auf Touch-Geräten (gilt auch für Modals dieser Seiten) */
  .tr-page .input, .tr-page .picker, .tr-bill, .tr-page .btn { min-height: var(--tap); }
  .tr-page .btn-icon { width: var(--tap); min-width: var(--tap); }
  .tr-page .segmented-item { min-height: var(--tap); padding-left: 14px; padding-right: 14px; }
  .tr-page .chip, .tr-page .daterange-label { min-height: var(--tap); }
}
.tr-modal-alert { margin-bottom: 14px; }
.tr-modal-lead { margin: 0; }
.tr-footnote { margin: 6px 4px 0; }
.tr-person { display: inline-flex; min-width: 0; }
.tr-person select { min-width: 170px; max-width: 100%; }
.tr-elsewhere { align-items: center; flex-wrap: wrap; }
.tr-elsewhere > span { flex: 1 1 200px; min-width: 0; }
.tr-elsewhere .btn { margin-left: auto; }

/* ------------------------------------------------------------------ Timer-Karte */
.tr-timer-card { padding: 12px 14px 14px; transition: border-color .15s, box-shadow .15s; }
.tr-timer-card.is-running { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.tr-timer-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.tr-running-hint {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 12px; border-radius: 999px;
  border: 0; background: var(--accent-soft); color: var(--accent-strong); font: inherit; font-size: var(--fs-sm); font-weight: 650; cursor: pointer;
}
@media (pointer: coarse), (max-width: 899px) { .tr-running-hint { min-height: var(--tap); } }

.tr-timer {
  display: grid; gap: 10px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "desc" "meta" "run";
}
.tr-timer-desc { grid-area: desc; position: relative; }
.tr-desc-input { min-height: 50px; font-size: 17px; font-weight: 500; }
.tr-timer-meta {
  grid-area: meta; display: grid; gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "proj proj" "serv bill";
}
.tr-timer-project { grid-area: proj; min-width: 0; }
.tr-timer-service { grid-area: serv; min-width: 0; display: block; }
.tr-service-select.is-empty { color: var(--text-muted); }
.tr-bill {
  grid-area: bill; width: var(--tap); min-width: var(--tap); height: auto; min-height: 42px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-faint);
}
.tr-bill:hover { background: var(--surface-2); }
.tr-bill.is-on { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.tr-timer-run { grid-area: run; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tr-timer-clock { font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.tr-timer-clock.is-idle { color: var(--text-faint); }
.tr-timer.is-running .tr-timer-clock { color: var(--accent); }
.tr-go-btn { min-width: 136px; min-height: 52px; border-radius: var(--radius); font-size: var(--fs-lg); }
.tr-go-btn .icon { width: 20px; height: 20px; }
.tr-timer-extra { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin-top: -2px; }
.tr-timer-since { display: inline-flex; align-items: center; gap: 8px; flex: 1 1 100%; min-height: 28px; font-size: var(--fs-sm); color: var(--text-muted); }
.tr-timer-warn { grid-column: 1 / -1; }

@media (min-width: 900px) {
  .tr-timer-card { padding: 14px 18px 18px; }
  .tr-timer {
    column-gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "desc run" "meta meta";
  }
  .tr-timer-meta { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; grid-template-areas: "proj serv bill"; }
  .tr-timer-run { gap: 18px; }
  .tr-timer-clock { font-size: 36px; min-width: 140px; text-align: right; }
  .tr-timer-since { flex: 0 0 auto; margin-right: 6px; }
}

/* Vorschläge unter der Beschreibung */
.tr-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 50; padding: 4px;
  max-height: 340px; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.tr-suggest-head { padding: 6px 8px 4px; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); }
.tr-suggest-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; min-height: var(--tap); padding: 7px 8px;
  border: 0; border-radius: var(--radius-sm); background: none; font: inherit; color: var(--text); text-align: left; cursor: pointer;
}
.tr-suggest-item:hover, .tr-suggest-item.is-active { background: var(--surface-2); }
.tr-suggest-desc { font-weight: 550; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-suggest-meta { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--text-muted); max-width: 100%; }

/* ------------------------------------------------------------------ Manuell & Zeitfelder */
/* Handy: Beschreibung → Projekt → Zeit → Leistungsbereich | Nachweis → Verrechenbar + Erfassen (eine Zeile) */
.tr-manual {
  display: grid; gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "desc desc" "proj proj" "time time" "serv evid" "foot foot";
}
.tr-manual-desc { grid-area: desc; }
.tr-manual-proj { grid-area: proj; min-width: 0; }
.tr-manual > .tr-time-fields { grid-area: time; min-width: 0; }
.tr-manual-serv { grid-area: serv; min-width: 0; }
.tr-manual-evid { grid-area: evid; min-width: 0; max-width: 150px; }
.tr-manual-foot { grid-area: foot; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 2px; }
.tr-manual-foot .toggle { flex: 0 1 auto; min-width: 0; }
.tr-manual-submit { min-width: 150px; }
@media (max-width: 599px) {
  .tr-manual-foot .tr-manual-submit { flex: 1 1 130px; min-width: 0; max-width: 220px; }
}
@media (min-width: 720px) {
  /* Desktop: Beschreibung | Projekt nebeneinander; Lesereihenfolge bleibt gleich */
  .tr-manual { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-areas: "desc proj" "time time" "serv evid" "foot foot"; }
  .tr-manual-evid { max-width: none; }
}

.tr-time-fields { display: flex; flex-direction: column; gap: 12px; }
.tr-time-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.tr-f-date { flex: 1 1 150px; }
.tr-f-mode { flex: 0 0 auto; }
.tr-f-mode .segmented { min-height: 42px; }
.tr-f-mode .segmented-item { padding: 6px 14px; }
.tr-time-pair { flex: 1 1 100%; display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.tr-f-time { flex: 1 1 0; min-width: 0; }
.tr-f-dur { flex: 1 1 auto; max-width: 260px; }
.tr-time-sum {
  flex: 0 0 auto; min-width: 72px; height: 42px; margin-top: 24px;
  display: flex; flex-direction: column; justify-content: center; line-height: 1.2;
}
.tr-time-sum-val { font-weight: 700; font-variant-numeric: tabular-nums; }
.tr-time-sum-note { font-size: var(--fs-xs); color: var(--warning); font-weight: 600; }
@media (min-width: 900px) {
  .tr-manual .tr-f-date { flex: 0 1 190px; }
  .tr-manual .tr-time-pair { flex: 1 1 340px; }
  .tr-manual .tr-f-time { max-width: 170px; }
}
.tr-month-hint { display: flex; align-items: center; gap: 6px; margin: 0; }
@media (max-width: 380px) {
  /* Datum und «Erfassen als» bleiben auch auf 360 px in einer Zeile (spart eine Zeile, Von/Bis ohne Scrollen sichtbar) */
  .tr-f-date { flex: 1 1 110px; min-width: 0; }
  .tr-f-date .input { min-width: 0; }
  .tr-page .tr-f-mode .segmented-item { padding-left: 9px; padding-right: 9px; }
  .tr-time-sum { min-width: 56px; }
}

/* ------------------------------------------------------------------ Kennzahlen */
.tr-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tr-stat .stat-value { font-size: var(--fs-xl); }
@media (max-width: 380px) { .tr-stat .stat-value { font-size: var(--fs-lg); } }

/* ------------------------------------------------------------------ Tage & Einträge */
.tr-days { display: flex; flex-direction: column; gap: 18px; }
.tr-day-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0 4px 6px; }
.tr-day-title { font-size: var(--fs); font-weight: 650; }
.tr-day-total { font-size: var(--fs); font-weight: 650; color: var(--text-muted); white-space: nowrap; }
.tr-day-list > :first-child { border-top-left-radius: var(--radius-lg); border-top-right-radius: var(--radius-lg); }
.tr-day-list > :last-child { border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); }

.tr-entry {
  display: grid; align-items: center; column-gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas: "desc time act" "meta meta act";
  min-height: 62px; padding: 10px 4px 10px 14px; border-bottom: 1px solid var(--border); cursor: pointer;
  transition: background .1s;
}
.tr-entry:last-child { border-bottom: 0; }
.tr-entry:hover { background: var(--surface-2); }
.tr-entry:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--brand); border-radius: var(--radius-sm); }
.tr-entry-desc {
  grid-area: desc; align-self: start; font-weight: 550; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tr-entry-desc.is-empty { color: var(--text-faint); font-weight: 400; font-style: italic; }
.tr-entry-meta {
  grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin-top: 3px;
  font-size: var(--fs-sm); color: var(--text-muted); min-width: 0;
}
/* Punkt + Projekt + Kunde bleiben auf einer Zeile (kein verwaister Farbpunkt); lange Namen werden gekürzt, der Kunde zuerst */
.tr-entry-project { display: inline-flex; flex-wrap: nowrap; align-items: center; column-gap: 6px; min-width: 0; max-width: 100%; }
.tr-entry-project.is-none { color: var(--text-faint); }
.tr-entry-pname { color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 1 auto; min-width: 0; }
.tr-entry-client { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 4 auto; min-width: 0; }
.tr-entry-service, .tr-entry-user { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.tr-entry-time { grid-area: time; align-self: start; text-align: right; }
.tr-entry-dur { font-weight: 700; white-space: nowrap; }
.tr-entry-range { display: none; font-size: var(--fs-xs); color: var(--text-muted); white-space: nowrap; margin-top: 2px; }
.tr-entry-range-m { white-space: nowrap; }
.tr-entry-actions { grid-area: act; display: flex; align-items: center; }
.tr-entry-chev { display: grid; place-items: center; width: 32px; color: var(--text-faint); }
.tr-entry.is-locked .tr-entry-desc { color: var(--text-muted); }
.tr-entry .badge .icon { margin-right: 1px; }
@media (min-width: 900px) {
  .tr-entry { grid-template-areas: "desc time act" "meta time act"; }
  .tr-entry-time { align-self: center; }
  .tr-entry-range { display: block; }
  .tr-entry-range-m { display: none; }
}

.tr-more { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 2px 0 8px; }

/* ------------------------------------------------------------------ Eintrag-Formular (Modal) */
/* Schmale Handys: «Löschen» nur als Symbol (Text bleibt für Screenreader), damit «Abbrechen» und
   «Speichern» nebeneinander passen statt «Speichern» allein in eine zweite Zeile zu schieben. */
@media (max-width: 400px) {
  .tr-entry-modal .modal-foot, .tr-expense-modal .modal-foot { flex-wrap: nowrap; }
  .tr-entry-modal .modal-foot .btn, .tr-expense-modal .modal-foot .btn { flex: 1 1 0; min-width: 0; }
  .tr-entry-modal .modal-foot .btn-left, .tr-expense-modal .modal-foot .btn-left {
    position: relative; flex: none; width: var(--tap); min-width: var(--tap); padding-left: 0; padding-right: 0; justify-content: center;
  }
  .tr-entry-modal .modal-foot .btn-left > span, .tr-expense-modal .modal-foot .btn-left > span {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
}
.tr-entry-form { gap: 14px; }
.tr-desc-area { min-height: 64px; }
@media (min-width: 600px) { .tr-form-row-end { align-items: flex-end; } }
.tr-f-bill { justify-content: flex-end; min-height: 42px; padding-bottom: 2px; }
.tr-start-row .field { flex: 1 1 0; }

/* ------------------------------------------------------------------ Woche */
.tr-weeknav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; padding: 6px; }
.tr-weeknav-label { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; line-height: 1.25; min-width: 0; text-align: center; }
.tr-weeknav-label strong { font-size: var(--fs-lg); }
.tr-weeknav-label .muted { font-size: var(--fs-sm); }
.tr-weeknav-total {
  flex: 1 1 100%; order: 10; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 8px;
  padding: 6px 8px 2px; border-top: 1px solid var(--border);
}
@media (min-width: 900px) {
  .tr-weeknav { padding: 8px 10px; gap: 8px; }
  .tr-weeknav-label { flex: 0 0 auto; min-width: 190px; }
  .tr-weeknav-total { flex: 0 0 auto; order: 0; margin-left: auto; border-top: 0; padding: 0 6px; flex-direction: column; align-items: flex-end; gap: 0; }
  .tr-weeknav-total strong { font-size: var(--fs-lg); }
}

.tr-wdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.tr-wday {
  display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; padding: 8px 2px 7px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  font: inherit; color: var(--text); text-align: center;
}
button.tr-wday { cursor: pointer; }
button.tr-wday:hover { background: var(--surface-2); }
.tr-wday.is-today { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.tr-wday-name { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--text-muted); }
.tr-wday.is-today .tr-wday-name { color: var(--brand); }
.tr-wday-date { font-size: 11px; color: var(--text-faint); }
.tr-wday-bar {
  display: flex; align-items: flex-end; width: 10px; height: 44px; margin: 5px 0 4px;
  background: var(--surface-3); border-radius: 999px; overflow: hidden;
}
.tr-wday-bar > span { display: block; width: 100%; background: var(--brand); border-radius: 999px; }
.tr-wday-total { font-size: 12px; font-weight: 650; white-space: nowrap; }
.tr-wday.is-empty .tr-wday-total { color: var(--text-faint); font-weight: 400; }
@media (min-width: 900px) {
  .tr-wdays { gap: 8px; }
  .tr-wday { padding: 10px 4px; }
  .tr-wday-bar { width: 14px; height: 56px; }
  .tr-wday-total { font-size: var(--fs-sm); }
}

/* Matrix (Desktop) */
.tr-matrix-card { overflow: hidden; }
.tr-matrix th, .tr-matrix td { vertical-align: middle; }
.tr-matrix thead th { text-align: right; }
.tr-matrix thead th.tr-mx-label { text-align: left; }
.tr-mx-label { min-width: 220px; }
.tr-mx-day { width: 76px; white-space: nowrap; }
.tr-mx-day span { display: block; }
.tr-mx-date { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--text-faint); }
.tr-matrix th.is-today { color: var(--brand); background: var(--brand-soft); }
.tr-matrix th.is-today .tr-mx-date { color: var(--text-muted); }
.tr-matrix td.is-today { background: var(--surface-2); }
.tr-mx-cell { padding: 3px 4px !important; }
.tr-mx-total { font-weight: 700; white-space: nowrap; }
.tr-matrix tfoot td { white-space: nowrap; }
.tr-cell {
  display: flex; align-items: center; justify-content: flex-end; width: 100%; min-height: 38px; padding: 6px 8px;
  border: 1px solid transparent; border-radius: var(--radius-sm); background: none;
  font: inherit; font-variant-numeric: tabular-nums; color: var(--text); cursor: pointer;
}
.tr-cell:hover { border-color: var(--brand); background: var(--brand-soft); }
.tr-cell.is-empty { justify-content: center; color: var(--text-faint); }
.tr-cell.is-empty .icon { opacity: 0; transition: opacity .1s; }
.tr-matrix tr:hover .tr-cell.is-empty .icon, .tr-cell.is-empty:focus-visible .icon { opacity: 1; }
.tr-wrow-label { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tr-wrow-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.tr-wrow-project { font-weight: 600; overflow-wrap: anywhere; }
.tr-wrow-client { font-weight: 400; color: var(--text-muted); }
.tr-wrow-service { font-size: var(--fs-sm); color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Tageskarten (Handy) */
.tr-wcards { display: flex; flex-direction: column; gap: 10px; }
.tr-wcard { overflow: hidden; scroll-margin-top: calc(var(--topbar-h) + 12px); }
.tr-wcard-head { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 4px 4px 4px 14px; border-bottom: 1px solid var(--border); }
.tr-wcard.is-empty .tr-wcard-head { border-bottom: 0; }
.tr-wcard-title { flex: 1; min-width: 0; font-size: var(--fs); font-weight: 650; }
.tr-wcard.is-today .tr-wcard-title { color: var(--brand); }
.tr-wcard-total { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tr-wcard-title .badge { margin-left: 6px; vertical-align: 2px; }
.tr-wgroup {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 58px; padding: 8px 10px 8px 14px;
  border: 0; border-bottom: 1px solid var(--border); background: none; font: inherit; color: var(--text); text-align: left; cursor: pointer;
}
.tr-wgroup:last-child { border-bottom: 0; }
.tr-wgroup:hover { background: var(--surface-2); }
.tr-wgroup .tr-wrow-label { flex: 1; }
.tr-wgroup-sum { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.tr-wgroup-sum .mono { font-weight: 700; white-space: nowrap; }
.tr-wgroup-count { font-size: var(--fs-xs); color: var(--text-muted); white-space: nowrap; }
.tr-wcard.is-empty .tr-wcard-title { color: var(--text-muted); font-weight: 500; }

/* Zellen-Sheet */
.tr-sheet-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; margin-bottom: 10px; background: var(--surface-2); border-radius: var(--radius);
}
.tr-sheet-head strong { white-space: nowrap; }
.tr-sheet-list { border: 1px solid var(--border); border-radius: var(--radius); }
.tr-sheet-list > :first-child { border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.tr-sheet-list > :last-child { border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius); }
.tr-sheet-empty { margin: 4px 2px 0; }
.tr-sheet-note { display: flex; align-items: center; gap: 6px; margin: 14px 0 0; }
.tr-quick { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.tr-quick-title { font-size: var(--fs); font-weight: 650; }
.tr-quick-title .muted { font-weight: 400; }
.tr-quick-row { display: flex; gap: 10px; align-items: flex-start; }
.tr-quick-dur { flex: 0 0 92px; }
.tr-quick-desc { flex: 1 1 auto; }
.tr-quick-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ Spesen */
.tr-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tr-filters .daterange { flex: 0 1 auto; min-width: 0; }
.tr-filters .tr-person { flex: 1 1 170px; }
@media (min-width: 600px) { .tr-filters .tr-person { flex: 0 0 auto; } }
.tr-expense {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "icon desc time act" "icon meta meta act"; padding-left: 12px;
}
@media (min-width: 900px) { .tr-expense { grid-template-areas: "icon desc time act" "icon meta time act"; } }
.tr-expense .tr-x-icon { grid-area: icon; }
.tr-x-icon {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
}
.tr-x-km { background: var(--info-soft); color: var(--info); }
.tr-x-pauschal { background: var(--success-soft); color: var(--success); }
.tr-x-beleg { background: var(--warning-soft); color: var(--warning); }
.tr-x-date { white-space: nowrap; }
.tr-km-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.tr-km-result {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 12px; border-radius: var(--radius-sm); background: var(--brand-soft);
}
.tr-km-result .field-label { color: var(--brand-strong); }
.tr-km-result strong { font-size: var(--fs-xl); color: var(--brand-strong); white-space: nowrap; }
@media (min-width: 600px) {
  .tr-km-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); }
  .tr-km-result { grid-column: auto; flex-direction: column; align-items: flex-end; justify-content: center; gap: 0; min-height: 66px; padding: 6px 12px; }
}
.tr-amount-field { max-width: 260px; }
.tr-seg-disabled { pointer-events: none; opacity: .6; }
.tr-page .picker:disabled { background: var(--surface-2); color: var(--text-muted); cursor: default; border-color: var(--border-strong); }
.tr-page .picker:disabled .picker-caret { visibility: hidden; }
