/* Comboboxes (TimePicker, TimeZonePicker): the demo's field (app.css .field, kit.css .with-action, .field.dd) and list box
   (kit.css .lb-list, .lb-opt, .lb-search) in the floating popover. The demo has no time or zone picker of its own: rows keep the
   list box's 33.5px line (7px padding around 13/1.5) but at a fixed height with no gap, so the virtual list can place them. */
.cbx-list { display: block; }
.cbx-list .lb-opt { height: 33.5px; padding-block: 0; cursor: pointer; white-space: nowrap; }
.cbx-list .lb-opt.is-active { background: var(--sunken); }

/* Time: sized for « 23:45 » in tabular digits plus the 26px clock action, never stretched by a form or dialog. */
.time-pick { position: relative; display: block; flex: none; width: calc(5ch + 52px); font-variant-numeric: tabular-nums; }
.time-pick .field { width: 100%; }
.time-field { display: inline-grid; gap: 6px; justify-items: start; vertical-align: top; }
.time-field > .ferr { max-width: 32ch; }
.popover.time-pop { min-width: 0; }
/* In a row (« de [02:00] à [05:00] »), words and switches stay on the fields' line when a field shows its error below. */
.spec-row:has(> .time-field) { align-items: flex-start; }
.spec-row:has(> .time-field) > :not(.time-field) { display: inline-flex; align-items: center; min-height: 32.5px; }

/* Time zone: the trigger keeps one line and ellipsizes; each row is city, IANA id (ellipsized) and the offset on the right. */
.tz-pick .tz-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.popover.tz-pop { width: min(440px, calc(100vw - 16px)); }
.tz-opt { gap: 6px; }
.lb-opt.tz-opt .tz-id { margin-left: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lb-opt.tz-opt .tz-off { margin-left: auto; flex: none; }
.tz-opt .tz-city { flex: none; }
.tz-opt > .icon { margin-left: 0; }

/* An option shown but not pickable (ListOption.Disabled): lighter ink, its reason in the tooltip. */
.lb-opt[aria-disabled="true"] { color: var(--ink-3); cursor: not-allowed; }
.lb-opt[aria-disabled="true"]:hover { background: none; }
