/* The time zone, found by typing its city (public/js/zone-picker.js): the list opens under the
   field, over what follows. Used by the pages outside a trip and by the app; every color a
   token from styles.css, so both themes come with it. */
.tr-zone-box { position: relative; }
.tr-zone-list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px);
  max-height: min(60dvh, 360px); overflow: auto; scroll-margin-block: var(--sp-2);
  margin: 0; padding: var(--sp-1) 0; list-style: none;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.tr-zone-list[hidden] { display: none; }
.tr-zone-opt, .tr-zone-none {
  display: flex; flex-direction: column; justify-content: center; gap: 1px;
  min-height: 48px; padding: var(--sp-1) var(--sp-3);
  cursor: pointer;
}
.tr-zone-none { cursor: default; color: var(--ink-2); font-size: 14px; padding-top: var(--sp-2); padding-bottom: var(--sp-2); }
.tr-zone-opt[aria-selected="true"] { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.tr-zone-city { font-weight: 650; color: var(--ink); }
.tr-zone-where { font-size: 13px; color: var(--ink-2); }
/* A line of the list that does something other than choose a place (a map link instead of a
   town; back from it), and words at its foot. It stays in sight under a list long enough to
   scroll: the way out for what no list of towns has is never below the fold. */
.tr-zone-act { min-height: 44px; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: var(--surface); }
/* The list's own padding under a line that stays put would show the rows passing beneath it. */
.tr-zone-list:has(> .tr-zone-act:last-child) { padding-bottom: 0; }
.tr-zone-act[aria-selected="true"] { background: linear-gradient(var(--accent-soft), var(--accent-soft)), var(--surface); }
.tr-zone-link { color: var(--accent); font-weight: 650; font-size: 14px; }
.tr-zone-foot { min-height: 0; padding-top: var(--sp-2); padding-bottom: var(--sp-2); border-top: 1px solid var(--line); font-size: 13px; }
/* The zone a place gave, said under the field, with the way to change it. */
.tr-zoneline { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); margin-top: calc(-1 * var(--sp-1)); }
.tr-zoneline-t { margin: 0; min-width: 0; font-size: 14px; color: var(--ink); }
.tr-zoneline-b { flex: none; min-height: 44px; padding-inline: var(--sp-2); }
