/* First-run tips (ui/tips.js, D-88). Quiet on purpose: one line, no box shadow,
   no colour fill, existing variables only (their values belong to the design system). */

.tip-wrap { padding: 8px var(--gutter) 0; }

.tip {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 4px 4px 4px 12px;
  border: 1px solid var(--separator); border-radius: var(--r-group);
  background: transparent; color: var(--label-2);
  font-family: var(--font); font-size: var(--t-subhead); line-height: 1.35;
}
.tip-wrap .tip { margin-bottom: 12px; }
.tip .tip-ico { color: var(--info-text); }
.tip-text { flex: 1; min-width: 0; margin: 0; }
.tip-x {
  flex: none; display: inline-grid; place-items: center;
  width: 44px; height: 44px; margin: -4px 0; padding: 0;
  border: 0; border-radius: var(--r-group); background: none; color: var(--label-3);
  cursor: pointer;
}
.tip-x:hover, .tip-x:focus-visible { color: var(--label); background: var(--fill-3); }
.tip-x:focus-visible { outline: 2px solid var(--info); outline-offset: 1px; }

/* inside a card: a contextual hint, the first time something happens */
.tip-inline { min-height: 40px; margin-top: 8px; font-size: var(--t-footnote); }
.tip-inline .tip-x { width: 40px; height: 40px; }

/* phones: keep it to the essentials */
@media (max-width: 767.98px) {
  .tip { font-size: var(--t-footnote); }
}
@media print { .tip-wrap, .tip { display: none; } }

/* a hint under a timer row spans the whole row, below its button */
.emp-trow > .tip-inline { grid-column: 1 / -1; margin-top: 0; }
