/*
  THE INTERVIEW-TIMES EDITOR, ONE DEFINITION.

  These rules were inside hire/hire.css while the markup that uses them lived
  inside hire/index.html. /start/ now collects availability as its second step —
  an employer who onboards there and never visits /hire/ had no interview times,
  so every candidate passed and nothing ever booked — and a second page needed
  the same editor. Copying ~120 lines of markup and 30 of CSS into it would have
  produced two definitions that drift, which is the mistake this codebase pays
  for elsewhere. The editor is web/availability.js and its styles are here; both
  pages load both.
*/
.av-gate { border-color: var(--accent-ink); }
.av-h { margin: 4px 0 6px; font-size: 24px; line-height: 30px; font-weight: 700; color: var(--text); }
.av-lead { color: var(--text-muted); margin-bottom: 4px; }

.av-form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.av-field { display: flex; flex-direction: column; gap: 6px; }
.av-lab { font-size: 13px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--text-faint); }
.av-form select {
  appearance: none; background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 15px;
}
.av-form select:focus-visible { outline: 2px solid #FFF; outline-offset: 2px; }
#av-tz { max-width: 260px; }
.av-preset { margin: 2px 0; }
.av-preset .btn { width: auto; margin: 0; padding: 8px 14px; font-size: 14px; }

.av-rows { display: flex; flex-direction: column; gap: 8px; }
.av-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.av-day { display: flex; align-items: center; gap: 8px; min-width: 128px; font-size: 15px; color: var(--text); cursor: pointer; }
.av-day input { width: 17px; height: 17px; accent-color: var(--accent); }
.av-range { display: inline-flex; align-items: center; gap: 8px; }
.av-to { color: var(--text-faint); font-size: 14px; }
.av-time { min-width: 96px; }
.av-row:has([data-day]:not(:checked)) .av-range { opacity: .4; }

#av-save { width: auto; align-self: flex-start; margin-top: 4px; }
.av-msg { margin: 0; font-size: 14px; color: var(--text-muted); min-height: 18px; }
.av-msg.err { color: var(--bad); }

.av-card .av-cardhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.av-summary { margin: 2px 0 0; font-size: 15px; color: var(--text); }
.av-card .btn.secondary { width: auto; margin: 0; padding: 8px 14px; font-size: 14px; flex: none; }

/* The skip on /start/ step 2. Deliberately plain text: it is a real option, so
   it must be findable, but it is not what we are recommending, so it must not
   read as a second primary button. */
.av-skipbtn {
  align-self: flex-start; margin: 0; padding: 6px 0; border: 0; background: none;
  color: var(--text-muted); font-size: 14px; font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.av-skipbtn:hover { color: var(--text); }
.av-skipbtn:focus-visible { outline: 2px solid #FFF; outline-offset: 2px; border-radius: 4px; }
