/* portal-schedule.css — the Portal "Schedule" surface (PV.Schedule).
   Builds on portal.css (reuses .pv-cmdbar, .pv-tkpage--immersive, .pv-tklink).
   Full-bleed: command bar on top, DS Calendar filling the body, Upcoming rail
   that flips to the visit detail. Tokens only. */

/* ---- page shell --------------------------------------------------------- */
.pv-schpage { background: var(--surface); }

/* command bar additions */
.pv-schpersona { display: flex; align-items: center; gap: 9px; padding: 0 14px; flex: none; }
.pv-schpersona__lbl { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--fg3); white-space: nowrap; }
.pv-schcount { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--fg3); padding: 0 16px; white-space: nowrap; }
.pv-schcount b { color: var(--fg); font-weight: 700; font-variant-numeric: tabular-nums; }
.pv-schcount__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
@media (max-width: 1180px) { .pv-schcount { display: none; } }
@media (max-width: 940px) { .pv-schpersona__lbl { display: none; } }

/* ---- command-bar controls (triage / filter / colour lens) -------------- */
/* triage: warn-tinted action drawing attention to slots awaiting confirmation */
.pv-cmdbar .pv-cmd--warn { color: var(--warning); }
.pv-cmdbar .pv-cmd--warn:hover { background: var(--warning-soft); color: var(--warning); }
/* active-filter indicator dot */
.pv-cmd__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warning); flex: none; margin-left: 1px; }
/* search clear button */
.pv-tksearch__clear { display: grid; place-items: center; width: 18px; height: 18px; flex: none; border: 0;
  border-radius: 50%; background: transparent; color: var(--fg3); cursor: pointer; transition: background .12s, color .12s; }
.pv-tksearch__clear:hover { background: var(--surface-3); color: var(--fg); }

/* ---- body: calendar + rail share one plane. Collapsed rail sits IN FLOW
   (calendar's right edge meets the bar's left edge); expanded rail lifts out
   of flow and OVERLAYS the calendar. ------------------------------------- */
.pv-sch { position: relative; display: flex; flex: 1 1 auto; min-height: 0; overflow: hidden; background: var(--bg); --sch-rail-w: 364px; }
.pv-sch.is-railsm { --sch-rail-w: 40px; }
.pv-sch__cal { position: relative; flex: 1 1 auto; min-width: 0; min-height: 0; display: flex; padding: 14px; }
.pv-sch__cal .rs-calendar { height: 100%; flex: 1 1 auto; min-width: 0; }
/* let the calendar head wrap on narrow content widths so the Year/Month/Week
   switcher stays reachable instead of clipping past the overflow edge */
.pv-sch__cal .rs-calendar__head { flex-wrap: wrap; row-gap: 8px; }
.pv-sch__cal .rs-calendar__title { min-width: 0; }
/* EXPANDED: lifted out of flow, docked to the right edge, ON TOP of the calendar */
.pv-sch__rail { position: absolute; top: 0; right: 0; bottom: 0; width: 364px; z-index: 40;
  box-shadow: var(--shadow-lg); transition: width .2s var(--ease, cubic-bezier(.4,0,.2,1)); }
/* COLLAPSED: in-flow 40px bar, same plane as the calendar — no overlay, no shadow */
.pv-sch__rail.is-collapsed { position: relative; flex: none; width: 40px; box-shadow: none; }
@media (max-width: 1120px) { .pv-sch { --sch-rail-w: 320px; } .pv-sch.is-railsm { --sch-rail-w: 40px; } .pv-sch__rail { width: 320px; } .pv-sch__rail.is-collapsed { width: 40px; } }

/* the colour-lens control in the calendar head tools slot */
.pv-schlens { display: inline-flex; align-items: center; gap: 7px; }
.pv-schlens__lbl { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fg3); }

/* scroll hint pill */
.pv-sch__scrollhint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-size: 11px; color: var(--fg3); pointer-events: none; opacity: .92; }
.pv-sch__scrollhint .rs-ic { color: var(--fg3); }

/* year calendar: a day carrying scheduled visits gets a clear background highlight
   (the bare 3px dot read as too faint), tinted like the weekend/today affordances */
.pv-sch__cal .rs-calyear__day.is-busy { background: var(--accent-soft); color: var(--accent-press); font-weight: 600; }
.pv-sch__cal .rs-calyear__day.is-busy::after { width: 4px; height: 4px; margin-left: -2px; bottom: 1.5px; }
/* today keeps its solid accent fill even when busy */
.pv-sch__cal .rs-calyear__day.is-today.is-busy { background: var(--accent); color: #fff; }

/* ---- rail header (40px bar, full-height square buttons) ----------------- */
.pv-schrail__head { flex: none; height: 40px; display: flex; align-items: stretch; border-bottom: 1px solid var(--border); }
.pv-sch__rail { border-left: 1px solid var(--border); background: var(--surface);
  display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.pv-schrail__collapse { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 0; border-radius: 0;
  background: transparent; color: var(--accent); cursor: pointer; transition: background .12s, color .12s; }
.pv-schrail__collapse:hover { background: var(--surface-2); }
.pv-schrail__headmid { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 9px; padding: 0 4px 0 8px; }
.pv-schrail__headmid h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--fg); }
.pv-schrail__count { font-size: 11px; font-weight: 700; color: var(--fg2); font-variant-numeric: tabular-nums;
  background: var(--surface-3); border-radius: 999px; padding: 1px 9px; }
/* filter toggle — full-height square, no border/radius, flush right */
.pv-schrail__filterbtn { position: relative; flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 0; background: transparent; color: var(--fg2); cursor: pointer;
  transition: background .12s, color .12s; }
.pv-schrail__filterbtn:hover { background: var(--surface-2); color: var(--fg); }
.pv-schrail__filterbtn.is-open { background: var(--accent-soft); color: var(--accent); }
.pv-schrail__filterdot { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--warning); border: 2px solid var(--surface); }

/* ---- collapsed 40px stub ------------------------------------------------ */
.pv-schrail__stub { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: background .12s; }
.pv-schrail__stub:hover { background: var(--surface-2); }
.pv-schrail__stub:hover .pv-schrail__stubbtn { background: var(--surface-3); }
.pv-schrail__stubbtn { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 0; border-radius: 0;
  background: transparent; color: var(--accent); cursor: pointer; border-bottom: 1px solid var(--border); transition: background .12s; }
.pv-schrail__stubbtn:hover { background: var(--surface-2); }
.pv-schrail__stubmid { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 0; }
.pv-schrail__stubcount { font-size: 11px; font-weight: 700; color: var(--fg2); font-variant-numeric: tabular-nums;
  background: var(--surface-3); border-radius: 999px; padding: 1px 7px; }
.pv-schrail__stubdot { position: static; border: 0; }
.pv-schrail__stublabel { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11.5px; font-weight: 600;
  letter-spacing: .04em; color: var(--fg2); white-space: nowrap; }
.pv-schrail__stubic { width: 40px; height: 40px; display: grid; place-items: center; color: var(--fg3); flex: none; }
/* collapsed-stub filter — sits just below the expand toggle */
.pv-schrail__stubfilter { position: relative; width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border: 0; border-radius: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--fg2);
  cursor: pointer; transition: background .12s, color .12s; }
.pv-schrail__stubfilter:hover { background: var(--surface-2); color: var(--fg); }
.pv-schrail__stubfilter.is-active { color: var(--accent); }
.pv-schrail__stubfilter .pv-schrail__filterdot { top: 7px; right: 7px; }
/* ===== off-canvas overlay panel (detail / propose) — absolute INSIDE the calendar
   body (.pv-sch), scrimless. Bounded to the schedule viewport: it docks to the
   right edge of the calendar plane and never covers the app top bar or the
   Schedule command bar. Sits above the upcoming rail (z-40). ===== */
.pv-schoc { position: absolute; top: 0; right: var(--sch-rail-w); bottom: 0; width: 440px; max-width: calc(100% - var(--sch-rail-w)); z-index: 60;
  background: var(--surface); border-left: 1px solid var(--border); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; min-height: 0; }
/* 40px header bar with full-height square icon buttons (no border, no radius, hover bg) */
.pv-schoc__head { height: 40px; flex: none; display: flex; align-items: stretch; border-bottom: 1px solid var(--border); }
.pv-schoc__hbtn { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 0; border-radius: 0;
  background: transparent; color: var(--fg2); cursor: pointer; transition: background .12s, color .12s; }
.pv-schoc__hbtn:hover { background: var(--surface-2); color: var(--fg); }
.pv-schoc__collapse { color: var(--accent); }
.pv-schoc__htitle { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 12px; }
.pv-schoc__htype { width: 22px; height: 22px; border-radius: var(--r-xs); display: grid; place-items: center; flex: none; }
.pv-schoc__htype[data-type="pm"] { background: var(--maintenance-soft); color: var(--maintenance); }
.pv-schoc__htype[data-type="incident"] { background: var(--danger-soft); color: var(--danger); }
.pv-schoc__htype[data-type="install"] { background: var(--accent-soft); color: var(--accent-press); }
.pv-schoc__htype[data-type="remote"] { background: var(--info-soft); color: var(--info); }
.pv-schoc__htitle b { font-size: 13px; font-weight: 600; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pv-schoc__htitle .mono { font-size: 11px; color: var(--fg3); flex: none; font-variant-numeric: tabular-nums; }
.pv-schoc__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 16px; }
.pv-schoc__foot { flex: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding: 12px 14px; border-top: 1px solid var(--border); background: var(--surface); }
/* panel body content */
.pv-schpanel { display: flex; flex-direction: column; gap: 16px; }
.pv-schpanel__sub { display: inline-flex; align-items: center; gap: 8px; }
.pv-schpanel__sub .mono { font-size: 11.5px; color: var(--fg3); font-variant-numeric: tabular-nums; }

/* collapsed off-canvas — 40px rail docked to the left of the upcoming rail */
.pv-schcollapsed { position: absolute; top: 0; right: var(--sch-rail-w); bottom: 0; width: 40px; z-index: 60;
  background: var(--surface); border-left: 1px solid var(--border); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; }
.pv-schcollapsed__btn { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent;
  color: var(--fg2); cursor: pointer; flex: none; }
.pv-schcollapsed__btn:hover { background: var(--surface-2); color: var(--fg); }
.pv-schcollapsed__expand { border-bottom: 1px solid var(--border); color: var(--accent); }
.pv-schcollapsed__close { border-top: 1px solid var(--border); margin-top: auto; }
.pv-schcollapsed__mid { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 11px; padding: 14px 0; }
.pv-schcollapsed__type { width: 26px; height: 26px; border-radius: var(--r-md); display: grid; place-items: center; flex: none; }
.pv-schcollapsed__type[data-type="pm"] { background: var(--maintenance-soft); color: var(--maintenance); }
.pv-schcollapsed__type[data-type="incident"] { background: var(--danger-soft); color: var(--danger); }
.pv-schcollapsed__type[data-type="install"] { background: var(--accent-soft); color: var(--accent-press); }
.pv-schcollapsed__type[data-type="remote"] { background: var(--info-soft); color: var(--info); }
.pv-schcollapsed__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pv-schcollapsed__id { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10.5px;
  font-family: var(--rs-font-mono, monospace); color: var(--fg3); letter-spacing: .06em; }
/* (detail / propose render as the fixed .pv-schoc overlay panel above) */
.pv-schrail__rows { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.pv-schrail__empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 48px 24px; color: var(--fg3); text-align: center; }
.pv-schrail__empty p { margin: 0; font-size: 12.5px; }

/* ---- filter chips ------------------------------------------------------- */
.pv-schfilter { flex: none; padding: 11px 14px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 9px; background: var(--surface-2); }
.pv-schfilter__row { display: grid; grid-template-columns: 42px 1fr; align-items: start; gap: 8px; }
.pv-schfilter__lbl { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--fg3); padding-top: 5px; }
.pv-schfilter__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.pv-schf { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--fg2);
  border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-pill); padding: 3px 9px; cursor: pointer;
  transition: background .12s, border-color .12s, color .12s; }
.pv-schf:hover { background: var(--surface-2); border-color: var(--border-strong); }
.pv-schf .rs-ic { color: var(--fg3); }
.pv-schf.is-on { background: var(--accent-soft); border-color: var(--accent-border); color: var(--accent-press); }
.pv-schf.is-on .rs-ic { color: var(--accent); }
.pv-schf__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pv-schfilter__clear { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--fg3);
  background: none; border: 0; cursor: pointer; padding: 0; margin-left: 50px; }
.pv-schfilter__clear:hover { color: var(--accent); }

/* ---- upcoming row ------------------------------------------------------- */
.pv-schrow { display: grid; grid-template-columns: 3px 1fr; gap: 0; width: 100%; text-align: left; border: 0;
  border-bottom: 1px solid var(--border); background: transparent; cursor: pointer; padding: 0; transition: background .12s; }
.pv-schrow:hover { background: var(--surface-2); }
.pv-schrow.is-active { background: var(--accent-soft); }
.pv-schrow__rail { width: 3px; align-self: stretch; }
.pv-schrow__main { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 11px 14px 11px 13px; }
.pv-schrow__top { display: flex; align-items: center; gap: 7px; min-width: 0; }
.pv-schrow__title { font-size: 13px; font-weight: 600; color: var(--fg); line-height: 1.3; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-schrow__sub { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--fg3); flex-wrap: wrap; }
.pv-schrow__sub .mono { color: var(--fg2); font-variant-numeric: tabular-nums; }
.pv-schrow__dot { color: var(--fg3); }
.pv-schrow__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 1px; }
.pv-schrow__when { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--fg2); }
.pv-schrow__when .rs-ic { color: var(--fg3); }

/* ---- type tag ----------------------------------------------------------- */
.pv-sch__typetag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; flex: none;
  padding: 2px 7px 2px 6px; border-radius: var(--r-xs); letter-spacing: .01em; }
.pv-sch__typetag span { letter-spacing: .02em; }
.pv-sch__typetag[data-type="pm"] { background: var(--maintenance-soft); color: var(--maintenance); }
.pv-sch__typetag[data-type="incident"] { background: var(--danger-soft); color: var(--danger); }
.pv-sch__typetag[data-type="install"] { background: var(--accent-soft); color: var(--accent-press); }
.pv-sch__typetag[data-type="remote"] { background: var(--info-soft); color: var(--info); }

/* ---- visit detail ------------------------------------------------------- */
.pv-schdetail { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.pv-schdetail__head { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.pv-schdetail__back { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--fg2);
  background: none; border: 0; cursor: pointer; padding: 4px 6px 4px 2px; border-radius: var(--r-xs); }
.pv-schdetail__back:hover { color: var(--accent); background: var(--surface-2); }
.pv-schdetail__id { margin-left: auto; font-size: 11.5px; color: var(--fg3); font-variant-numeric: tabular-nums; }

.pv-schdetail__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.pv-schdetail__titlewrap { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.pv-schdetail__titlewrap h3 { margin: 0; font-size: 16px; font-weight: 600; color: var(--fg); line-height: 1.3; text-wrap: pretty; }
.pv-schdetail__statusline { display: flex; align-items: flex-start; gap: 9px; }
.pv-schdetail__statusblurb { font-size: 11.5px; color: var(--fg3); line-height: 1.45; }

.pv-schdetail__when { display: flex; flex-direction: column; gap: 6px; padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2); }
.pv-schdetail__whenrow { display: flex; align-items: center; gap: 10px; }
.pv-schdetail__whenrow .rs-ic { color: var(--accent); flex: none; }
.pv-schdetail__whenrow div { display: flex; flex-direction: column; line-height: 1.3; }
.pv-schdetail__whenrow b { font-size: 13.5px; font-weight: 600; color: var(--fg); }
.pv-schdetail__whenrow span { font-size: 12px; color: var(--fg3); font-variant-numeric: tabular-nums; }
.pv-schdetail__moved { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--info); }

.pv-schdetail__map { display: flex; flex-direction: column; gap: 7px; }
.pv-schdetail__mapbox { height: 150px; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; position: relative; }
.pv-schdetail__mapbox .rs-map { height: 100%; width: 100%; }
.pv-schdetail__site { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--fg2); }
.pv-schdetail__site .rs-ic { color: var(--fg3); flex: none; }
.pv-schdetail__site b { color: var(--fg); font-weight: 600; }
/* the location title doubles as a toggle for the map */
.pv-schdetail__sitebtn { width: 100%; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface);
  padding: 8px 11px; cursor: pointer; text-align: left; transition: background .12s, border-color .12s; }
.pv-schdetail__sitebtn:hover { background: var(--surface-2); border-color: var(--border-strong); }
.pv-schdetail__sitebtn.is-open { border-color: var(--accent-border); background: var(--accent-soft); color: var(--accent-press); }
.pv-schdetail__sitebtn.is-open .rs-ic { color: var(--accent); }
.pv-schdetail__sitechev { margin-left: auto; color: var(--fg3); transition: transform .15s; }
.pv-schdetail__sitebtn.is-open .pv-schdetail__sitechev { transform: rotate(180deg); }

.pv-schdetail__scope { margin: 0; font-size: 12.5px; color: var(--fg2); line-height: 1.55; text-wrap: pretty; }

.pv-schdetail__links { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.pv-schdetail__linklbl { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fg3); width: 100%; }
.pv-schdetail__tierwrap { display: inline-flex; align-items: center; }
.pv-schdetail__tierwrap .rs-tier { pointer-events: none; }

.pv-schdetail__sec { display: flex; flex-direction: column; gap: 9px; }
.pv-schdetail__seclbl { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fg3); }
.pv-schdetail__origin { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--fg3); }

/* engineer line */
.pv-sch__eng { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.pv-sch__engav { width: 32px; height: 32px; border-radius: var(--r-sm); flex: none; display: grid; place-items: center;
  font-size: 12px; font-weight: 600; color: #fff; }
.pv-sch__engmeta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.pv-sch__engmeta b { font-size: 12.5px; color: var(--fg); }
.pv-sch__engmeta span { font-size: 11px; color: var(--fg3); }
.pv-sch__engorg { font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; flex: none;
  border: 1px solid var(--border); border-radius: var(--r-xs); padding: 2px 6px; color: var(--fg3); }
.pv-sch__engorg[data-kind="riversync"] { color: var(--accent); border-color: var(--accent-border); background: var(--accent-soft); }
.pv-sch__engorg[data-kind="partner"] { color: var(--maintenance); border-color: var(--maintenance-border); background: var(--maintenance-soft); }

/* slot picker */
.pv-sch__slots { display: flex; flex-direction: column; gap: 7px; }
.pv-sch__slot { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; cursor: pointer;
  border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); padding: 10px 12px; transition: border-color .12s, background .12s; }
.pv-sch__slot:hover { background: var(--surface-2); border-color: var(--border-strong); }
.pv-sch__slot.is-on { border-color: var(--accent); background: var(--accent-soft); }
.pv-sch__slotradio { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border-strong); flex: none; position: relative; }
.pv-sch__slot.is-on .pv-sch__slotradio { border-color: var(--accent); }
.pv-sch__slot.is-on .pv-sch__slotradio::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--accent); }
.pv-sch__slotwhen { display: flex; flex-direction: column; line-height: 1.3; }
.pv-sch__slotwhen b { font-size: 12.5px; color: var(--fg); font-weight: 600; }
.pv-sch__slotwhen .mono { font-size: 11.5px; color: var(--fg3); font-variant-numeric: tabular-nums; }

/* reschedule / compose form */
.pv-schdetail__resched { padding: 12px 13px; border: 1px dashed var(--accent-border); border-radius: var(--r-md); background: var(--accent-soft); }
.pv-schdetail__resched .pv-schdetail__seclbl { color: var(--accent-press); }
.pv-schdetail__times { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* activity history */
.pv-schhist { display: flex; flex-direction: column; gap: 0; }
.pv-schhist__item { display: grid; grid-template-columns: 16px 1fr; gap: 9px; position: relative; padding-bottom: 12px; }
.pv-schhist__item:last-child { padding-bottom: 0; }
.pv-schhist__item:not(:last-child)::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 0; width: 1px; background: var(--border); }
.pv-schhist__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent-border); margin-top: 4px; margin-left: 1px; z-index: 1; }
.pv-schhist__body { min-width: 0; }
.pv-schhist__when { font-size: 10.5px; color: var(--fg3); font-variant-numeric: tabular-nums; }
.pv-schhist__body p { margin: 2px 0 0; font-size: 12px; color: var(--fg2); line-height: 1.5; text-wrap: pretty; }

/* action footer */
.pv-schdetail__foot { flex: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--border); background: var(--surface); }
.pv-schdetail__foot .rs-btn { flex: 1 1 auto; }
.pv-schdetail__foot .rs-btn--primary { flex: 2 1 auto; }
