/* u108-holiday-sig-ui — Settings → Firm settings → Holiday email signatures (.hs-* only).
   Tokens from styles.css (Cobalt Paper): one accent, burnt orange for attention only. */

.hs-body { font-size: 13px; color: var(--text); }
.hs-lead { margin: 10px 0 14px; max-width: 76ch; }
.hs-tight { margin-top: 2px; }

.hs-status { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: var(--r); background: var(--sunken); color: var(--text-2); line-height: 1.45; }
.hs-status .ti { font-size: 18px; margin-top: 1px; }
.hs-status b { display: block; font-weight: 600; color: var(--text); }
.hs-status span { display: block; }
.hs-status.is-active { background: var(--green-soft); color: var(--green); }
.hs-status.is-active b { color: var(--green); }
.hs-status.is-scheduled { background: var(--accent-soft); color: var(--accent-ink); }
.hs-status.is-scheduled b { color: var(--accent-ink); }

.hs-step { display: flex; gap: 12px; padding: 14px 0 4px; border-top: 1px solid var(--border); margin-top: 12px; }
.hs-n { flex: 0 0 24px; width: 24px; height: 24px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.hs-step-b { flex: 1 1 auto; min-width: 0; }
.hs-step-b h4 { font-size: 14px; font-weight: 600; margin: 2px 0 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.hs-count { font-size: 12px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.hs-addr { font-size: 12.5px; font-weight: 500; color: var(--muted); overflow-wrap: anywhere; }

.hs-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 14px; }
.hs-dates label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--text-2); font-weight: 500; }
.hs-dates input { margin: 0; }
.hs-dates small { font-weight: 400; color: var(--muted); font-size: 12px; line-height: 1.4; }
.hs-switch { display: flex; align-items: center; gap: 8px; margin: 12px 0 2px; font-size: 13px; cursor: pointer; }
.hs-switch input { width: 17px; height: 17px; accent-color: var(--accent); }
.hs-switch input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hs-day { font-weight: 600; color: var(--text); font-size: 12.5px; min-height: 18px; font-variant-numeric: tabular-nums; }
.hs-day.is-unset { color: var(--amber); font-weight: 500; }
.hs-actions { margin-top: 12px; flex-wrap: wrap; }
.hs-good { color: var(--green); }
.hs-bad { color: var(--red); }
.hs-warnmsg { color: var(--amber); }
.hs-hint { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; }
.hs-msg.is-attn { background: var(--amber-soft, var(--sunken)); color: var(--text); font-size: 12.5px; line-height: 1.45; }
.hs-msg.is-attn .ti { color: var(--amber); margin-top: 2px; }
.hs-msg.hidden { display: none; }
.hs-was { font-style: normal; color: var(--muted); }

.hs-people { border: 1px solid var(--border); border-radius: var(--r); }
.hs-person { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 10px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--border); }
.hs-person:first-child { border-top: 0; }
.hs-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hs-who b { font-weight: 600; overflow-wrap: anywhere; }
.hs-warn { font-size: 11.5px; color: var(--amber); }
.hs-chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.hs-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); color: var(--text); font: inherit; font-size: 12.5px; cursor: pointer; max-width: 100%; transition: border-color var(--t) var(--ease), background var(--t) var(--ease); }
.hs-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-chip em { font-style: normal; color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.hs-chip:hover:not(:disabled) { border-color: var(--border-2); background: var(--bg); }
.hs-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hs-chip.is-set { border-color: var(--green); }
.hs-chip.is-set .ti, .hs-chip.is-set em { color: var(--green); }
.hs-chip.is-idle { border-color: var(--border-2); }
.hs-chip.is-idle .ti, .hs-chip.is-idle em { color: var(--muted); }
.hs-chip.is-draft { border-color: var(--amber); }
.hs-chip.is-draft .ti, .hs-chip.is-draft em { color: var(--amber); }
.hs-chip.is-current { background: var(--accent-soft); border-color: var(--accent-line); }
.hs-chip:disabled { cursor: default; opacity: .75; }

.hs-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px; }
.hs-col { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.hs-label { font-size: 12.5px; font-weight: 500; color: var(--text-2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hs-src, .hs-keep { font-weight: 400; font-size: 11.5px; color: var(--muted); background: var(--sunken); border-radius: var(--r-pill); padding: 1px 8px; }
.hs-text { min-height: 120px; margin-top: 0; }
.hs-prev { border: 1px dashed var(--border-2); border-radius: var(--r); background: #fff; min-height: 60px; overflow: hidden; }
.hs-frame { display: block; width: 100%; height: 160px; border: 0; background: #fff; }
.hs-empty { padding: 14px; color: var(--muted); font-size: 12.5px; }
.hs-copy { align-self: flex-start; margin-left: 0; max-width: 100%; white-space: normal; text-align: left; height: auto; padding-top: 6px; padding-bottom: 6px; }
.hs-imgrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hs-upload { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; margin-left: 0; }
.hs-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hs-upload:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.hs-width { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); margin-left: auto; }
.hs-width input { width: 84px; margin: 0; }

.hs-msg { display: flex; gap: 8px; align-items: flex-start; padding: 10px 14px; border-radius: var(--r); background: var(--sunken); }
.hs-msg.is-bad { background: var(--red-soft); color: var(--red); }
.hs-log { margin-top: 14px; font-size: 12.5px; color: var(--text-2); }
.hs-log summary { cursor: pointer; color: var(--accent-ink); }
.hs-log ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.6; }
.hs-log li span { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 6px; }

/* the note under a person's own signature (My settings → Gmail) */
.hs-mynote { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 10px 14px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent-ink); font-size: 12.5px; line-height: 1.45; }
.hs-mynote .ti { font-size: 16px; margin-top: 1px; }
.hs-mynote b { font-weight: 600; }
.hs-mynote-b { flex: 1 1 auto; min-width: 0; }
.hs-mine-label { margin: 10px 0 6px; color: var(--accent-ink); }
.hs-mynote.hidden { display: none; }

@media (max-width: 760px) {
  .hs-dates, .hs-two, .hs-person { grid-template-columns: minmax(0, 1fr); }
  .hs-step { gap: 8px; }
  .hs-width { margin-left: 0; }
  .hs-chip { min-height: 40px; flex-wrap: wrap; padding: 6px 10px; }
  .hs-chip span { white-space: normal; overflow-wrap: anywhere; text-align: left; }
  .hs-dates input, .hs-width input, .hs-text { min-height: 40px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hs-chip { transition: none; } }

/* u108.1-compose-sig: the signature shown under the message box of the New email window */
.hs-compose { margin: 8px 0 4px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.hs-compose.hidden { display: none; }
.hs-compose-h { display: flex; gap: 8px; align-items: flex-start; padding: 8px 12px; font-size: 12.5px; line-height: 1.45; color: var(--text-2); background: var(--sunken); }
.hs-compose-h .ti { font-size: 16px; margin-top: 1px; }
.hs-compose-h b { font-weight: 600; color: var(--text); }
.hs-compose-h.is-holiday { background: var(--green-soft); color: var(--green); }
.hs-compose-h.is-holiday b { color: var(--green); }
.hs-compose-h.is-bad { background: var(--amber-soft, var(--sunken)); color: var(--text); }
.hs-compose-b { background: #fff; border-top: 1px solid var(--border); }
.hs-compose-frame { display: block; width: 100%; height: 120px; border: 0; background: #fff; }
