/* Public v4 Scheduler — fast answer entry, dense scan, mobile-first controls. */
.scheduler-answer-v4 .v4-answer-editor{display:grid;gap:8px}
.scheduler-answer-v4 .v4-answer-controls{position:sticky;top:8px;z-index:18;margin:0 0 8px;padding:10px 12px;border:1px solid rgba(205,179,241,.24);border-radius:12px;background:rgba(13,11,20,.94);box-shadow:0 12px 28px rgba(0,0,0,.22);backdrop-filter:blur(16px)}
.scheduler-answer-v4 .v4-answer-progress{display:flex;align-items:center;justify-content:space-between;gap:10px}
.scheduler-answer-v4 .v4-answer-progress>div{display:grid;gap:1px}
.scheduler-answer-v4 .v4-answer-progress strong{font-size:.9rem}
.scheduler-answer-v4 .v4-answer-progress small{font-size:.68rem;color:var(--creator-muted,#b6acbf)}
.scheduler-answer-v4 .v4-answer-quick{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.scheduler-answer-v4 .v4-answer-next,.scheduler-answer-v4 .v4-answer-filter{min-height:38px;padding:0 10px;border:1px solid rgba(212,198,229,.16);border-radius:9px;background:rgba(255,255,255,.035);color:var(--creator-text,#f1f3ef);font:inherit;font-size:.72rem;font-weight:750;cursor:pointer}
.scheduler-answer-v4 .v4-answer-next:disabled{opacity:.38;cursor:default}
.scheduler-answer-v4 .v4-answer-filter[aria-pressed="true"]{border-color:rgba(169,139,216,.5);background:rgba(128,99,173,.17)}
.scheduler-answer-v4 .vnext-answer-bulk{gap:5px}
.scheduler-answer-v4 .vnext-answer-bulk__button{min-height:38px}
.scheduler-answer-v4 .v4-answer-card{padding:10px 12px!important;border-radius:11px!important;transition:border-color .12s ease,background-color .12s ease,opacity .12s ease}
.scheduler-answer-v4 .v4-answer-card.is-unanswered{border-color:rgba(209,168,111,.32)!important;background:rgba(209,168,111,.035)}
.scheduler-answer-v4 .v4-answer-card.is-answered{border-color:rgba(212,198,229,.12)!important}
.scheduler-answer-v4 .v4-answer-card.is-optimistic{border-color:rgba(169,139,216,.42)!important}
.scheduler-answer-v4 .v4-answer-card[hidden]{display:none!important}
.scheduler-answer-v4 .v4-answer-card .v2-slot-row{grid-template-columns:62px minmax(128px,1fr) minmax(220px,.9fr);gap:8px 10px}
.scheduler-answer-v4 .v4-answer-card .v2-answer-grid{gap:4px}
.scheduler-answer-v4 .v4-answer-card .v2-answer{min-height:48px;padding:5px 3px;border-radius:9px;touch-action:manipulation}
.scheduler-answer-v4 .v4-answer-card .v2-answer strong{font-size:1.15rem;line-height:1}
.scheduler-answer-v4 .v4-answer-card .vnext-answer-button-label{font-size:.56rem}
.scheduler-answer-v4 .v4-answer-card .v2-answer.is-selected{transform:none}
.scheduler-answer-v4 .v4-answer-card__status{font-variant-numeric:tabular-nums}
.scheduler-answer-v4 .v4-schedule-matrix{position:relative;overflow:auto;max-height:min(72vh,760px);overscroll-behavior:contain;border:1px solid rgba(212,198,229,.12);border-radius:12px}
.scheduler-answer-v4 .v4-schedule-matrix .v2-schedule-table__desktop-head{position:sticky;top:0;z-index:8;background:#15111d;box-shadow:0 1px 0 rgba(212,198,229,.14)}
.scheduler-answer-v4 .v4-schedule-matrix .v2-schedule-table__date{position:sticky;left:0;z-index:4;background:inherit}
.scheduler-answer-v4 .v4-schedule-matrix .v2-schedule-table__row>.v2-schedule-table__row-content{min-height:52px}
.scheduler-answer-v4 .v4-schedule-matrix .v2-schedule-table__summary{font-variant-numeric:tabular-nums;white-space:nowrap}
.scheduler-answer-v4 .vnext-answer-save-state{font-variant-numeric:tabular-nums}
.scheduler-answer-v4 .vnext-answer-save-state.is-saving{color:#e0b777}
.scheduler-answer-v4 .vnext-answer-save-state.is-saved{color:#b8d5bf}
.scheduler-answer-v4 .vnext-answer-save-state.is-error{color:#e8a39d}
.scheduler-answer-v4 .v4-answer-next:focus-visible,.scheduler-answer-v4 .v4-answer-filter:focus-visible,.scheduler-answer-v4 .v4-answer-card .v2-answer:focus-visible{outline:3px solid var(--creator-focus,#cdb3f1);outline-offset:2px}

@media (max-width:760px){
  .scheduler-answer-v4 .v4-answer-controls{top:6px;padding:9px;margin-inline:-2px}
  .scheduler-answer-v4 .v2-schedule-toolbar{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:10px;padding-block:12px}
  .scheduler-answer-v4 .v2-schedule-toolbar>div{min-width:0}
  .scheduler-answer-v4 .v2-schedule-toolbar>div small{display:block;max-width:34ch;line-height:1.55;overflow-wrap:anywhere}
  .scheduler-answer-v4 .v2-schedule-toolbar>.v2-command{width:100%;justify-self:stretch;min-height:48px}
  .scheduler-answer-v4 .v4-answer-card{padding:9px!important}
  .scheduler-answer-v4 .v4-answer-card .v2-slot-row{grid-template-columns:52px minmax(0,1fr);gap:6px 8px}
  .scheduler-answer-v4 .v4-answer-card .v2-live-date{grid-column:1;grid-row:1}
  .scheduler-answer-v4 .v4-answer-card .v2-slot-row>div:not(.v2-answer-grid){grid-column:2;grid-row:1}
  .scheduler-answer-v4 .v4-answer-card .v2-answer-grid{grid-column:1/-1;grid-row:2}
  .scheduler-answer-v4 .v4-answer-card .v2-answer{min-height:54px}
  .scheduler-answer-v4 .v4-schedule-matrix{max-height:none;overflow:visible;border:0}
  .scheduler-answer-v4 .v4-schedule-matrix .v2-schedule-table__desktop-head{position:static}
  .scheduler-answer-v4 .v4-schedule-matrix .v2-schedule-table__date{position:static}
}

@media (max-width:420px){
  .scheduler-answer-v4 .v4-answer-progress{align-items:flex-start}
  .scheduler-answer-v4 .v4-answer-quick{grid-template-columns:1fr}
  .scheduler-answer-v4 .v4-answer-next,.scheduler-answer-v4 .v4-answer-filter{min-height:36px}
  .scheduler-answer-v4 .vnext-answer-bulk__button{min-height:40px;font-size:.68rem}
}

@media (prefers-reduced-motion:reduce){
  .scheduler-answer-v4 .v4-answer-card{transition:none}
  .scheduler-answer-v4 .v4-answer-card .v2-answer{transition:none!important}
}
