/* Acter's own dropdowns and date pickers (pick.js, 2026-11-23). Black and white with depth: a flat button with a thin
   chevron; the open list is a white card with a soft shadow, a check on the chosen row and a grey hover; the calendar
   marks today with a ring and the chosen day in black. Uses the page's colours when it has them (HQ's --ink, --line...),
   Acter's defaults otherwise. */
.adp-native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; border: 0 !important; opacity: 0 !important;
  pointer-events: none !important; white-space: nowrap !important; }

/* the closed control */
.adp-sel { -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 34px; max-width: 100%;
  padding: 0 10px 0 12px; border: 1px solid var(--line-strong, #CFCFCA); border-radius: 9px; background: var(--surface, #fff) none !important;
  color: var(--text, #0B0B0C); font: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; text-align: left; cursor: pointer;
  box-shadow: var(--shadow-1, 0 1px 2px rgba(11, 11, 12, .05), 0 1px 3px rgba(11, 11, 12, .07));
  transition: border-color .15s, box-shadow .15s, background-color .15s; }
.adp-sel .adp-sel-t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adp-sel svg { flex: none; color: var(--muted, #6B6B72); transition: transform .15s; }
.adp-sel:hover { border-color: var(--ink, #0B0B0C); background-color: var(--subtle, #F7F7F5) !important; }
.adp-sel:focus-visible, .adp-sel.open { outline: none; border-color: var(--ink, #0B0B0C); box-shadow: 0 0 0 3px rgba(11, 11, 12, .12); }
.adp-sel.open > svg:last-child { transform: rotate(180deg); }
.adp-sel:disabled { opacity: .5; cursor: default; box-shadow: none; background-color: var(--subtle, #F7F7F5) !important; border-color: var(--line-strong, #CFCFCA); }
.adp-sel.empty .adp-sel-t { color: var(--faint, #9C9CA3); font-weight: 500; }
.hq-field .adp-sel, .hq-form .adp-sel { width: 100%; min-height: 36px; font-weight: 500; font-size: 14px; }
.adp-date svg:first-child { color: var(--text-2, #34343A); }

/* the open card */
.adp-pop { position: fixed; z-index: 1000; margin: 0; box-sizing: border-box; background: var(--surface, #fff); color: var(--text, #0B0B0C);
  border: 1px solid var(--line, #E4E4E0); border-radius: 12px; font-size: 13.5px; font-weight: 500; line-height: 1.35;
  box-shadow: 0 1px 2px rgba(11, 11, 12, .06), 0 18px 40px -10px rgba(11, 11, 12, .28);
  opacity: 0; transform: translateY(-4px) scale(.985); transform-origin: top left; transition: opacity .12s ease-out, transform .12s ease-out; }
.adp-pop.up { transform: translateY(4px) scale(.985); transform-origin: bottom left; }
.adp-pop.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .adp-pop, .adp-sel svg { transition: none; } }

/* a list */
.adp-list { display: flex; flex-direction: column; min-width: 180px; max-width: min(420px, 94vw); padding: 5px; overflow: hidden; }
.adp-opts { overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 1px; }
.adp-opt { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 6px 10px 6px 6px; border-radius: 7px; cursor: pointer; user-select: none; }
.adp-opt .adp-mark { width: 16px; flex: none; display: inline-flex; justify-content: center; color: var(--ink, #0B0B0C); }
.adp-opt .adp-opt-t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adp-opt.act { background: var(--hover, #EFEFEC); }
.adp-opt.on { font-weight: 650; }
.adp-opt.off { opacity: .4; cursor: default; }
.adp-opt[hidden], .adp-group[hidden] { display: none; }
.adp-group { padding: 8px 10px 3px 30px; font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #6B6B72); }
.adp-filter-w { display: flex; align-items: center; gap: 7px; margin: 0 0 5px; padding: 0 9px; height: 34px; border-radius: 8px;
  background: var(--subtle, #F7F7F5); border: 1px solid var(--line, #E4E4E0); color: var(--muted, #6B6B72); flex: none; }
.adp-filter-w:focus-within { border-color: var(--ink, #0B0B0C); background: var(--surface, #fff); }
.adp-filter { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: inherit; font-size: 13.5px; color: var(--text, #0B0B0C); padding: 0; height: 100%; }
.adp-none { padding: 10px; color: var(--muted, #6B6B72); font-size: 13px; }

/* the calendar */
.adp-cal { display: grid; grid-template-columns: auto; padding: 14px 14px 10px; width: max-content; max-width: 96vw; overflow: auto; }
.adp-cal.with-time { grid-template-columns: auto auto; column-gap: 14px; }
.adp-cal-l { width: 252px; }
.adp-cal-h { display: flex; align-items: center; gap: 4px; margin: 0 0 8px; }
.adp-cal-title { font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; padding-left: 4px; }
.adp-grow { flex: 1 1 auto; }
.adp-nav { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px;
  background: none; color: var(--text-2, #34343A); cursor: pointer; padding: 0; }
.adp-nav:hover { background: var(--hover, #EFEFEC); border-color: var(--line, #E4E4E0); }
.adp-nav:focus-visible { outline: 2px solid var(--ink, #0B0B0C); outline-offset: 1px; }
.adp-dow, .adp-days { display: grid; grid-template-columns: repeat(7, 36px); }
.adp-dow span { height: 26px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 650; color: var(--faint, #9C9CA3);
  letter-spacing: .03em; text-transform: uppercase; }
.adp-day { width: 34px; height: 34px; margin: 1px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 9px;
  background: none; color: var(--text, #0B0B0C); font: inherit; font-size: 13.5px; font-weight: 550; cursor: pointer; position: relative; padding: 0; }
.adp-day:hover { background: var(--hover, #EFEFEC); }
.adp-day.other { color: var(--faint, #9C9CA3); font-weight: 450; }
.adp-day.today { box-shadow: inset 0 0 0 1.5px var(--line-strong, #CFCFCA); }
.adp-day.today::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.adp-day.on { background: var(--ink, #0B0B0C); color: var(--on-ink, #fff); box-shadow: 0 2px 6px -1px rgba(11, 11, 12, .35); }
.adp-day:focus-visible { outline: 2px solid var(--ink, #0B0B0C); outline-offset: 1px; }
.adp-day.on:focus-visible { outline-color: var(--line-strong, #CFCFCA); }
.adp-day:disabled { color: var(--line-strong, #CFCFCA); cursor: default; background: none; text-decoration: line-through; }
.adp-cal-r { display: flex; flex-direction: column; width: 128px; border-left: 1px solid var(--line, #E4E4E0); padding-left: 14px; }
.adp-time-l { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 9px; margin: 0 0 8px; border: 1px solid var(--line-strong, #CFCFCA); border-radius: 8px;
  color: var(--muted, #6B6B72); background: var(--surface, #fff); }
.adp-time-l:focus-within { border-color: var(--ink, #0B0B0C); box-shadow: 0 0 0 3px rgba(11, 11, 12, .1); }
.adp-time-in { flex: 1; min-width: 0; border: 0; outline: none; padding: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--text, #0B0B0C); }
.adp-time-in.bad { color: var(--red, #C42B1C); }
.adp-times { flex: 1 1 auto; height: 218px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 1px; padding-right: 2px; }
.adp-time { flex: none; height: 30px; border: 0; border-radius: 7px; background: none; font: inherit; font-size: 13px; font-weight: 550; color: var(--text-2, #34343A);
  text-align: left; padding: 0 10px; cursor: pointer; }
.adp-time:hover { background: var(--hover, #EFEFEC); }
.adp-time.on { background: var(--ink, #0B0B0C); color: var(--on-ink, #fff); }
.adp-cal-f { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line, #E4E4E0); }
.adp-link { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 650; color: var(--ink, #0B0B0C); padding: 5px 8px; border-radius: 7px; cursor: pointer; }
.adp-link:hover { background: var(--hover, #EFEFEC); }
.adp-link.quiet { color: var(--muted, #6B6B72); font-weight: 550; }
.adp-done { border: 1px solid var(--ink, #0B0B0C); background: var(--ink, #0B0B0C); color: var(--on-ink, #fff); font: inherit; font-size: 13px; font-weight: 650;
  padding: 6px 14px; border-radius: 8px; cursor: pointer; }
.adp-done:hover { opacity: .88; }
@media (max-width: 520px) {
  .adp-cal.with-time { grid-template-columns: auto; }
  .adp-cal-r { width: auto; border-left: 0; padding-left: 0; border-top: 1px solid var(--line, #E4E4E0); padding-top: 10px; margin-top: 10px; }
  .adp-times { height: 140px; }
}
