/* panel-snooze.css — the Snooze picker's chrome (lib/snooze-picker.js): the keyboard-first popover with its
   1-keystroke preset rows + the live-parsing free-form field. Structural + role hues via tokens ONLY (no new
   colours/fonts). Reuses .pk-scrim / .pk-input / .pk-badge from panel-keyboard.css (all ship on the Panel). ADR-0019. */

.pk-snooze {
  position: fixed;
  inset: 0;
  z-index: 9600; /* the picker sits with the confirm dialog, above the palette/sheet (9500) + depth-2 (9000) */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 14vh 16px 16px;
  box-sizing: border-box;
}
.pk-snooze[hidden] { display: none; }

.pk-snooze-box {
  position: relative;
  width: min(440px, 100%);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  box-shadow: 0 24px 70px -12px color-mix(in srgb, var(--ink) 45%, transparent);
  overflow: hidden;
}
.pk-snooze-box:focus { outline: none; }

.pk-snooze-title {
  padding: 14px 16px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

/* ── the preset rows (1-keystroke) ─────────────────────────────────────────────────────────────────────────── */
.pk-snooze-presets { padding: 0 8px 6px; }
.pk-snooze-preset {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
}
.pk-snooze-preset.on { background: var(--ui-selection-bg); box-shadow: inset 0 0 0 1px var(--ui-selection); }
.pk-snooze-preset:hover:not(.disabled) { background: var(--ui-selection-bg); }
.pk-snooze-preset.disabled { cursor: default; color: var(--faint); }
.pk-snooze-preset-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-snooze-preset-sub { flex: 0 0 auto; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.pk-snooze-preset.disabled .pk-snooze-preset-sub { font-style: italic; }
/* the hotkey badge reuses .pk-badge; give it a fixed, tabular width so the titles line up */
.pk-snooze-preset .pk-badge { min-width: 15px; text-align: center; }

/* ── the free-form field + the live-parse line ─────────────────────────────────────────────────────────────── */
.pk-snooze-input { border-top: 1px solid var(--hairline); border-bottom: 0; }
.pk-snooze-parse {
  min-height: 18px;
  padding: 2px 16px 10px;
  font-size: 12.5px;
  line-height: 1.4;
}
.pk-snooze-parse:empty { display: none; }
.pk-snooze-parse.resolved { color: var(--ink); font-weight: 600; }
.pk-snooze-parse.hint { color: var(--muted); }

.pk-snooze-keys {
  padding: 8px 16px 12px;
  border-top: 1px solid var(--hairline);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
