/* event-types.css — Recruiting › Settings › Scheduling › Event types, and the
   additions to screen 48 (UTI-50). Additive to recruiting.css and
   recruiting-color.css: every rule is et-*, built on their --hs-* and --pp-*
   tokens, and loads after them. */

/* Cards follow the Overview (rec-ov__panel, Recurse title): white, no tinted
   head. Purple is spent on the primary action and the current rail item. */
.et-card { margin-bottom: 1.25rem; }
.et-tablewrap { overflow-x: auto; margin: 0 -0.6rem; }
.et-cardfoot { margin: 0.9rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--hs-line); font-size: 0.8rem; color: var(--hs-ink-soft); }

/* -- List (screen 1) ------------------------------------------------------- */
.et-name { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.et-name__sub { font-size: 0.76rem; color: var(--hs-ink-soft); }

.et-kind { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--hs-ink); white-space: nowrap; }
.et-kind svg { width: 1rem; height: 1rem; flex: none; color: var(--hs-ink-faint); }

.et-hosts { display: flex; align-items: center; gap: 0.55rem; min-width: 0; }
.et-hosts__stack { display: flex; flex: none; }
.et-hosts__stack .rec-who__avatar { width: 1.6rem; height: 1.6rem; border: 2px solid #fff; background: #efedf2; color: var(--hs-ink-soft); font-size: 0.6rem; }
.et-hosts__stack .rec-who__avatar + .rec-who__avatar { margin-left: -0.45rem; }
.et-hosts__names { min-width: 0; font-size: 0.82rem; line-height: 1.35; color: var(--hs-ink); overflow-wrap: anywhere; }
.et-hosts__names--count { white-space: nowrap; }

.et-num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--hs-ink); }
.et-num--zero { font-weight: 400; color: var(--hs-ink-faint); }


/* -- Editor (screen 3) ----------------------------------------------------- */
.et-ed__sep { color: var(--hs-line-strong); }
.et-fs { min-width: 0; margin: 0; padding: 0; border: 0; }
.et-fs > legend { padding: 0; }
.rec-form__field.et-fs > legend { margin-bottom: 0.35rem; }
.et-k { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.5rem; font-family: var(--ub-font-mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hs-ink-faint); }
.et-k .rec-pill { font-family: var(--ub-font); letter-spacing: 0; text-transform: none; font-size: 0.68rem; }
.et-k--gap { margin-top: 1.25rem; }
.et-k__n { font-family: var(--ub-font); letter-spacing: 0; color: var(--hs-ink-soft); }
.et-w-100 { width: 100%; }
.et-ed__title { margin: 0; font-family: var(--ub-font-display); font-size: 1.375rem; font-weight: 700; line-height: 1.2; color: var(--hs-ink); }
.et-ed__main { display: flex; flex-direction: column; min-width: 0; }
.et-ed__side { display: flex; flex-direction: column; min-width: 0; }
.et-grid { grid-template-columns: minmax(0, 1fr) 18rem; align-items: start; }

.et-kindrow { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.et-kindrow .rec-ag__seg > label { display: inline-flex; align-items: center; gap: 0.35rem; }
.et-kindrow .rec-ag__seg svg { width: 0.9rem; height: 0.9rem; }

.et-req { color: var(--ub-danger); margin-left: 0.15rem; }
.et-desc { min-height: 6.2rem; line-height: 1.55; resize: vertical; }
.et-count { align-self: flex-end; font-size: 0.72rem; color: var(--hs-ink-faint); font-variant-numeric: tabular-nums; }

.et-hostlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border: 1px solid var(--hs-line); border-radius: 10px; overflow: hidden; }
.et-host { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 0.75rem; padding: 0.6rem 0.75rem; background: #fff; }
.et-host + .et-host { border-top: 1px solid var(--hs-line); }
.et-host .rec-who__av { flex: none; background: #efedf2; color: var(--hs-ink); }
.et-host--off .rec-who__av { background: #ece9f3; color: var(--hs-ink-soft); }
.et-host__id { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.et-host__name { font-size: 0.87rem; font-weight: 600; color: var(--hs-ink); }
.et-host__sub { font-size: 0.74rem; color: var(--hs-ink-soft); }
.et-host__sub--warn { color: #6e5716; font-weight: 600; }
.et-host__cal { display: inline-flex; align-items: center; gap: 0.25rem; color: #256e43; font-weight: 600; white-space: nowrap; }
.et-host__cal svg { vertical-align: -0.1em; }
.et-host__cal svg { width: 0.85rem; height: 0.85rem; }
.et-host__cal.et-host__cal--off { color: #6e5716; }
.et-prio { display: flex; align-items: center; gap: 0.4rem; }
.et-prio .rec-input { width: 7rem; padding: 0.32rem 0.5rem; font-size: 0.8rem; }
.et-prio__k { font-family: var(--ub-font-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hs-ink-faint); }
.et-host .rec-iconbtn { width: 1.9rem; height: 1.9rem; }

.et-add { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.6rem; }
.et-add .rec-input { max-width: 22rem; }
.et-add__btn { display: inline-flex; align-items: center; gap: 0.35rem; }
.et-add__btn svg { width: 0.9rem; height: 0.9rem; }

.et-calwarn { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0.75rem 0 0; padding: 0.65rem 0.8rem; border: 1px solid var(--hs-gold-border); border-radius: 9px; background: var(--hs-gold-tint); font-size: 0.82rem; line-height: 1.5; color: #5c4a14; }
.et-calwarn svg { width: 1rem; height: 1rem; flex: none; margin-top: 0.15rem; color: var(--hs-gold); }
.et-calwarn strong { color: #3f330d; }
.et-calwarn .rec-textbtn { margin-left: auto; flex: none; align-self: center; }

.et-sub { margin: 1.4rem 0 0.6rem; font-size: 0.86rem; font-weight: 700; color: var(--pp-ink); }
.et-sub__hint { display: block; margin-top: 0.15rem; font-size: 0.78rem; font-weight: 400; color: var(--hs-ink-soft); }
.et-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.et-choices > .rec-choice { margin: 0; }
.et-choice__more { display: block; margin-top: 0.35rem; font-size: 0.74rem; color: var(--hs-ink-faint); }

.et-limits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.et-limits .rec-hours__inline { font-size: 0.85rem; color: var(--hs-ink-soft); }
.et-limits .rec-hours__inline .rec-input[type="number"] { width: 4.25rem; }
.et-limits__wide { grid-column: 1 / -1; }

.et-fixed { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.et-fixed li { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.65rem; border: 1px solid var(--hs-line); border-radius: 999px; background: #faf9f7; font-size: 0.82rem; font-weight: 600; color: var(--hs-ink); }
.et-fixed svg { width: 0.8rem; height: 0.8rem; color: var(--hs-ink-faint); }
.et-fixed small { font-size: 0.74rem; font-weight: 400; color: var(--hs-ink-faint); }
.et-fixed small:empty { display: none; }

.et-qs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.et-q { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); column-gap: 0.5rem; padding: 0.85rem 1rem 1rem 0.6rem; border: 1px solid var(--hs-line-strong); border-radius: 10px; background: #fff; }
.et-q__grip { display: grid; place-items: center; width: 1.5rem; height: 2.25rem; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--hs-ink-faint); cursor: grab; }
.et-q__grip:hover { background: var(--hs-hover); color: var(--hs-ink); }
.et-q__grip svg { width: 1rem; height: 1rem; }
.et-q__main { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.et-q__top { display: flex; flex-direction: column; gap: 0.6rem; }
.et-q__ctl { display: flex; align-items: center; gap: 1rem; height: 2.25rem; }
.et-q__ctl .rec-input { width: 10rem; height: 2.25rem; padding-block: 0; }
.et-q__ctl .et-switch { height: 2.25rem; }
.et-q__ctl .rec-iconbtn { width: 2.25rem; height: 2.25rem; }
.et-q__text { display: block; field-sizing: content; min-height: 2.5rem; line-height: 1.45; resize: vertical; }
.et-q .rec-input, .et-q .rec-textarea { font-size: 0.86rem; }
.et-q__rule { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.15rem 0.55rem; border-radius: 999px; background: color-mix(in srgb, var(--ub-danger) 8%, #fff); color: #9a2d25; font-weight: 600; font-size: 0.74rem; white-space: nowrap; }
.et-q__rule svg { width: 0.8rem; height: 0.8rem; }
.et-q__from { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.15rem 0.55rem; border-radius: 999px; background: #f3f2f5; color: var(--hs-ink-soft); font-weight: 600; font-size: 0.74rem; white-space: nowrap; }
.et-switch { display: inline-flex; align-items: center; gap: 0.45rem; height: 2.3rem; font-size: 0.8rem; font-weight: 600; color: var(--hs-ink); cursor: pointer; white-space: nowrap; }
.et-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.et-switch__track { position: relative; width: 2.1rem; height: 1.2rem; flex: none; border-radius: 999px; background: #d8d3e4; transition: background 0.15s; }
.et-switch__track::after { content: ""; position: absolute; top: 2px; left: 2px; width: calc(1.2rem - 4px); height: calc(1.2rem - 4px); border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(24, 18, 43, 0.25); transition: transform 0.15s; }
.et-switch input:checked + .et-switch__track { background: var(--pp-mid); }
.et-switch input:checked + .et-switch__track::after { transform: translateX(0.9rem); }
.et-switch input:focus-visible + .et-switch__track { outline: 2px solid var(--pp-mid); outline-offset: 2px; }

.et-opts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.et-opt { display: grid; grid-template-columns: minmax(0, 1fr) 11rem; align-items: center; gap: 0.6rem; }
.et-opt__dot { width: 0.9rem; height: 0.9rem; border: 1.5px solid var(--hs-line-strong); border-radius: 50%; }
.et-opt .rec-input { height: 2.25rem; padding: 0 0.6rem; }
.et-opt .rec-input[readonly] { background: #faf9f7; color: var(--hs-ink-soft); }
.et-opt > span:last-child { justify-self: start; }

.et-addq { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.et-addq__btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.85rem; border: 1px dashed var(--hs-line-strong); border-radius: 9px; background: #fff; font: inherit; font-size: 0.84rem; font-weight: 600; color: var(--hs-ink); cursor: pointer; }
.et-addq__btn:hover { background: var(--hs-hover); border-color: var(--hs-ink-soft); }
.et-addq__btn svg { width: 0.95rem; height: 0.95rem; }

.et-link { display: flex; flex-direction: column; gap: 0.6rem; }
.et-link__url { font-family: var(--ub-font-mono); font-size: 0.78rem; background: #faf9f7; }
.et-link__acts { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.et-link__state { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--hs-ink-soft); }

.et-split { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.et-split__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.3rem 0.75rem; align-items: center; font-size: 0.84rem; }
.et-split__who { display: flex; align-items: center; gap: 0.5rem; min-width: 0; font-weight: 600; color: var(--hs-ink); }
.et-split__who .rec-who__avatar { background: #efedf2; color: var(--hs-ink-soft); }
.et-split__n { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--hs-ink); }
.et-split__n small { font-weight: 400; color: var(--hs-ink-soft); }
.et-split__bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: #efecf5; overflow: hidden; }
.et-split__bar > span { display: block; height: 100%; border-radius: inherit; background: var(--hs-ink-soft); }
.et-split__bar--b > span { background: #8c7bc4; }
.et-split__bar--c > span { width: 0; }
.et-split__note { margin: 0.9rem 0 0; font-size: 0.78rem; line-height: 1.5; color: var(--hs-ink-soft); }
.et-w-57 { width: 57%; }
.et-w-43 { width: 43%; }

.et-foot { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.25rem; padding: 0.75rem 1rem; border: 1px solid var(--hs-line); border-radius: 14px; background: #fff; font-size: 0.8rem; color: var(--hs-ink-soft); }
.et-foot .rec-panel__spacer { flex: 1; }
.et-foot code { font-family: var(--ub-font-mono); font-size: 0.76rem; color: var(--hs-ink); }

/* -- Screen 48 additions (screen 4) ---------------------------------------- */
.et-bgline { margin: 0; font-size: 0.85rem; color: var(--hs-ink-soft); }
/* -- Settings rail: the new group needs no new rule; .rec-rail__group is reused. */

/* -- 1280 ------------------------------------------------------------------ */
@media (max-width: 1320px) {
  .et-grid { grid-template-columns: minmax(0, 1fr); }
  .et-ed__side { order: -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .et-ed__side > .et-card { margin-bottom: 0; }
  .et-limits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .et-grid { grid-template-columns: minmax(0, 1fr); }
  .et-choices { grid-template-columns: minmax(0, 1fr); }
}

.rec-slideover .rec-form .rec-input:disabled { opacity: 1; cursor: default; background: #f3f2f5; border-color: var(--hs-line); color: var(--hs-ink); }
.rec-slideover .rec-form .picker__input:disabled::placeholder { color: var(--hs-ink-faint); }
/* 48, every mode: room between "Review before sending" and the fields under it
   (Link expires, or the email time and expiry when review is ticked). */
.rec-booked__card > .rec-scale__opt + .rec-form__field,
.rec-booked__card > .rec-scale__opt + .rec-form__row { margin-top: 0.9rem; }

/* The Interviews card head: its three acts share the heading's row. */
.rec-ap-headacts { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 0.4rem 0.75rem; margin-left: auto; }
.rec-ivmanage__item [data-copy-label] { white-space: nowrap; }
.rec-ivmanage__item .rec-apx-more__help { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
