/* ".status.status": the repeated class keeps these rules at the weight they had before the split answer cell was removed (Nov 2), so nothing else moves */
/* Modern presentation for the .39 schedule shell: header, When/Show, Calendar, Table, utility bar
 * and bottom navigation. Approved references: DS-01 Calendar People and DS-02 Table People.
 * Presentation only. Every .39 element ID, class and handler is kept; this sheet loads last and is
 * scoped under #app so it wins over .39's earlier layered rules. Tokens follow the Modern Control
 * specification (shared tokens v4) and the .53 Modern build. */
:root{
  --mc-blue:#3877c8;--mc-blue-strong:#245fae;--mc-pill-blue:#5b8bd0;
  --mc-ink:#0c1831;--mc-text:#1d283c;--mc-muted:#68758a;--mc-faint:#9aa3b1;
  --mc-line:#cbd7e7;--mc-grid:#dfe5ee;--mc-surface:#fff;--mc-panel:#e7eef7;--mc-panel-line:#d6e0ec;
  --mc-row-alt:#f1f3f6;--mc-row-event:#e3eaf3;
  --mc-green:#27a96b;--mc-green-strong:#1f9a5c;--mc-red:#e0393e;--mc-yellow:#fff200;--mc-none:#d9dde3;
  --mc-radius-sm:8px;--mc-radius-md:12px;--mc-radius-lg:18px;--mc-tap:44px;
  --mc-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --mc-header-height:78px;
  /* .39 layout offsets (popovers, sticky rows, update banner) all derive from this variable. */
  --ya-phone-header-height:var(--mc-header-height)!important;
}

/* ---------- Header (CAL/TBL-01..06) ---------- */
html body #app .topbar.mc-header{
  position:relative!important;display:grid!important;grid-template-columns:56px minmax(0,1fr) 52px!important;align-items:center!important;gap:4px!important;
  flex:0 0 auto!important;min-height:var(--mc-header-height)!important;height:auto!important;overflow:visible!important;
  padding:max(6px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) 6px max(6px,env(safe-area-inset-left))!important;
  background:var(--mc-surface)!important;color:var(--mc-ink)!important;border-bottom:1px solid #e3e8ef!important;box-shadow:none!important;
}
html body #app .topbar.mc-header .header-logo-wrap{position:relative!important;width:52px!important;height:52px!important;margin:0!important}
html body #app .topbar.mc-header .header-logo{width:52px!important;height:52px!important;object-fit:contain!important;filter:none!important}
html body #app .topbar.mc-header #testBuildBadge{position:absolute!important;left:34px!important;top:-2px!important;font-size:8px!important;line-height:10px!important}
html body #app .topbar.mc-header .brand{min-width:0!important;display:grid!important;justify-items:center!important;gap:3px!important;text-align:center!important;padding:0!important;margin:0!important}
html body #app .topbar.mc-header .group-title{
  min-width:0!important;max-width:100%!important;display:grid!important;justify-items:center!important;line-height:1.12!important;
  font:inherit!important;color:var(--mc-ink)!important;white-space:normal!important;overflow:visible!important;
}
html body #app .topbar.mc-header .group-title>*{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
html body #app .topbar.mc-header .mc-group-primary{font:800 17px/1.12 var(--mc-font);letter-spacing:-.01em;color:var(--mc-ink)}
html body #app .topbar.mc-header .mc-group-secondary{font:450 15px/1.12 var(--mc-font);color:var(--mc-text)}
html body #app .topbar.mc-header .header-alt-inline{display:none!important}
html body #app .topbar.mc-header .mc-header-tools{width:100%;min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px}
html body #app .topbar.mc-header .mc-header-tagline{
  min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  margin:0!important;color:var(--mc-faint)!important;font:400 10.5px/1.2 var(--mc-font)!important;
}
html body #app .topbar.mc-header .mc-pill{
  position:relative;min-width:52px;min-height:22px;height:auto;margin:0;padding:2px 12px;border:0;border-radius:999px;
  background:var(--mc-pill-blue);color:#fff;font:600 11.5px/1.2 var(--mc-font);cursor:pointer;box-shadow:none;
}
html body #app .topbar.mc-header .mc-pill::after{content:"";position:absolute;inset:-11px -4px} /* 44px hit height, compact pill */
html body #app .topbar.mc-header .mc-pill:disabled{cursor:default;opacity:1}
html body #app .topbar.mc-header .mc-group-slot{display:flex;justify-content:flex-end;min-width:52px}
html body #app .topbar.mc-header .header-group-selector{
  position:relative!important;min-width:52px!important;max-width:120px!important;min-height:22px!important;height:auto!important;margin:0!important;padding:2px 12px!important;
  border:0!important;border-radius:999px!important;background:var(--mc-pill-blue)!important;color:#fff!important;
  font:600 11.5px/1.2 var(--mc-font)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;box-shadow:none!important;
}
html body #app .topbar.mc-header #moreBtn{
  position:relative!important;display:grid!important;justify-items:center!important;align-content:center!important;gap:2px!important;
  width:52px!important;min-width:44px!important;height:auto!important;min-height:44px!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;color:var(--mc-ink)!important;
}
html body #app .topbar.mc-header #userChip{
  display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:50%!important;
  background:#f6c89e!important;color:transparent!important;font-size:0!important;line-height:0!important;overflow:hidden!important;position:relative!important;
}
html body #app .topbar.mc-header #userChip::before{content:attr(data-initials);color:#1a2438;font:700 12.5px/1 var(--mc-font)}
html body #app .topbar.mc-header #userChip:empty::before,html body #app .topbar.mc-header #userChip:not([data-initials])::before{content:""}
html body #app .topbar.mc-header #moreBtn img{width:24px!important;height:24px!important;margin:0!important;filter:brightness(0) saturate(100%) invert(12%) sepia(30%) saturate(2170%) hue-rotate(198deg) brightness(92%)!important}
html body #app .topbar.mc-header .mc-people-toggle{background:var(--mc-pill-blue)!important;color:#fff!important;opacity:1!important;filter:none!important}

/* ---------- When / Show (CAL/TBL-07..10) ---------- */
html body #app #classicFilters{margin:0!important;padding:6px 6px 7px!important;background:var(--mc-panel)!important;border:0!important;border-bottom:1px solid var(--mc-panel-line)!important;box-shadow:none!important}
html body #app #classicFilters .mc-filter-shell{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body #app #classicFilters .mc-filter-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;padding:0}
html body #app #classicFilters .mc-filter{min-width:0!important;display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
html body #app #classicFilters #filterTimeControl,html body #app #classicFilters #filterShowControl{
  all:unset;box-sizing:border-box;width:100%;min-width:0;display:grid;gap:3px;cursor:pointer;font-family:var(--mc-font);text-align:left;
}
html body #app #classicFilters .mc-filter-heading{min-width:0;display:grid;grid-template-columns:22px minmax(0,1fr) 16px;align-items:center;gap:6px;padding:1px 4px 0 6px;font:500 13.5px/1.2 var(--mc-font);color:#18243a}
html body #app #classicFilters .mc-filter-heading img:first-child{width:22px;height:22px;filter:brightness(0) saturate(100%) invert(46%) sepia(55%) saturate(620%) hue-rotate(182deg) brightness(93%) contrast(90%)}
html body #app #classicFilters .mc-filter-heading img:last-child{width:16px;height:16px;filter:brightness(0) saturate(100%) invert(12%) sepia(30%) saturate(2170%) hue-rotate(198deg) brightness(92%)}
html body #app #classicFilters .mc-filter-value{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:7px 12px 1px;border-radius:13px 13px 0 0;background:#fff;font:700 13px/1.25 var(--mc-font);color:var(--mc-ink)}
html body #app #classicFilters #filterDaysControl,html body #app #classicFilters .mc-filter .filter-summary{
  all:unset;box-sizing:border-box;display:block!important;width:100%;min-width:0;min-height:0!important;height:auto!important;margin:0!important;
  padding:2px 12px 8px!important;border:0!important;border-radius:0 0 13px 13px!important;background:#fff!important;box-shadow:none!important;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:400 11.5px/1.3 var(--mc-font)!important;color:#2b3547!important;text-align:left!important;cursor:pointer;
}
html body #app #classicFilters .filter-summary .filter-label{display:none!important}
html body #app #classicFilters .mc-filter .filter-summary>span{outline:0!important;border:0!important;background:transparent!important;padding:0!important;display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;max-height:1.3em!important;font:inherit!important;color:inherit!important}
html body #app #classicFilters #filterTimeControl:focus-visible .mc-filter-value,html body #app #classicFilters #filterShowControl:focus-visible .mc-filter-value,
html body #app #classicFilters #filterDaysControl:focus-visible{outline:2px solid var(--mc-blue);outline-offset:1px}

/* ---------- Calendar (CAL-11..16) ---------- */
html body #app #calendarView{background:var(--mc-panel)!important;padding:6px 6px 0!important}
html body #app #calendarView .calendar-toolbar{
  display:grid!important;grid-template-columns:minmax(0,1fr) 34px minmax(0,auto) 34px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;
  min-height:56px!important;margin:0!important;padding:4px 8px!important;border:1px solid var(--mc-grid)!important;border-bottom:0!important;border-radius:14px 14px 0 0!important;background:#f6f8fb!important;
}
html body #app #calendarView #calPrev{grid-column:2!important}
html body #app #calendarView #calPrev,html body #app #calendarView #calNext{
  position:relative!important;width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;display:grid!important;place-items:center!important;
  border:1px solid #e3e8f0!important;border-radius:8px!important;background:#edf1f7!important;box-shadow:none!important;
}
html body #app #calendarView #calPrev::after,html body #app #calendarView #calNext::after{content:"";position:absolute;inset:-5px}
html body #app #calendarView #calPrev img,html body #app #calendarView #calNext img{width:18px!important;height:18px!important;filter:brightness(0) saturate(100%) invert(12%) sepia(30%) saturate(2170%) hue-rotate(198deg) brightness(92%)!important}
html body #app #calendarView .calendar-title{display:grid!important;justify-items:center!important;gap:1px!important;min-width:0!important;text-align:center!important}
html body #app #calendarView .cal-month{font:800 21px/1.15 var(--mc-font)!important;color:#14254a!important;white-space:nowrap!important}
html body #app #calendarView .cal-band{font:500 11.5px/1.2 var(--mc-font)!important;color:#4c6a98!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body #app #calendarView #calToday{
  justify-self:end!important;min-height:34px!important;height:34px!important;padding:0 12px!important;border:1px solid #e3e8f0!important;border-radius:8px!important;
  background:#edf1f7!important;color:#24324d!important;font:600 13px/1 var(--mc-font)!important;box-shadow:none!important;
}
html body #app #calendarView .cal-grid{gap:0!important;background:#fff!important;border:1px solid var(--mc-grid)!important;border-top:0!important;border-radius:0 0 14px 14px!important;overflow:hidden!important}
html body #app #calendarView .cal-dow{padding:6px 0!important;background:#f6f8fb!important;border-bottom:1px solid var(--mc-grid)!important;color:#4b5568!important;font:500 13px/1.2 var(--mc-font)!important;text-align:center!important}
html body #app #calendarView .cal-day{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:2px!important;
  padding:6px 5px 4px!important;margin:0!important;border:0!important;border-right:1px solid var(--mc-grid)!important;border-bottom:1px solid var(--mc-grid)!important;border-radius:0!important;
  background:#fff!important;color:var(--mc-ink)!important;text-align:left!important;box-shadow:none!important;overflow:hidden!important;
}
html body #app #calendarView .cal-day:nth-child(7n+7){border-right:0!important}
html body #app #calendarView .cal-day.out{background:#f6f8fb!important}
html body #app #calendarView .cal-day.out .cal-num{color:#aab3c0!important}
html body #app #calendarView .cal-num{font:500 14px/1.1 var(--mc-font)!important;color:#18243a!important;margin:0!important;padding:0!important;background:transparent!important}
html body #app #calendarView .calendar-open-label{font:600 12.5px/1.15 var(--mc-font)!important;color:var(--mc-green-strong)!important;margin:0!important;padding:0!important;background:transparent!important}
html body #app #calendarView .member-initials{display:flex!important;flex-wrap:wrap!important;gap:2px!important;margin-top:3px!important}
html body #app #calendarView .member-dot{width:19px!important;height:19px!important;min-width:19px!important;border-radius:50%!important;font:800 8px/19px var(--mc-font)!important;letter-spacing:-.02em!important;text-align:center!important;padding:0!important;color:#fff!important}
html body #app #calendarView .cal-day>.cal-num,html body #app #calendarView .cal-day>.calendar-open-label,html body #app #calendarView .cal-day>.member-initials{position:static!important;inset:auto!important;transform:none!important;text-align:left!important}

/* ---------- Table (TBL-11..15) ---------- */
html body #app .table-wrap{background:#fff!important}
html body #app .table-head{background:#f6f8fb!important;border-bottom:1px solid var(--mc-grid)!important}
html body #app .table-left-head .date,html body #app .table-left-head .event{display:flex!important;align-items:flex-end!important;padding:0 6px 6px!important;font:600 13px/1.2 var(--mc-font)!important;color:#18243a!important;background:transparent!important}
html body #app .table-left-head .date{font-weight:700!important}
html body #app .table-mid-head-inner>div{display:flex!important;align-items:flex-end!important;justify-content:center!important;padding:0 0 4px!important}
html body #app .table-mid-head-inner .header-count{
  all:unset;box-sizing:border-box;display:grid!important;justify-items:center!important;align-content:end!important;gap:2px!important;width:40px!important;min-height:44px!important;cursor:pointer;
}
html body #app .table-mid-head-inner .header-count .member-dot{width:26px!important;height:26px!important;min-width:26px!important;border-radius:50%!important;font:700 10px/26px var(--mc-font)!important;text-align:center!important;padding:0!important}
html body #app .table-mid-head-inner .header-count .mc-member-name{max-width:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 11.5px/1.15 var(--mc-font);color:#1d283c}
html body #app .table-mid-head-inner .header-count.off{opacity:.45!important}
/* Rows: open dates on soft grey, booked dates on white (DS-02). */
html body #app .table-left-row,html body #app .table-mid-row{background:var(--mc-row-alt)!important;border-bottom:1px solid #e3e7ed!important}
html body #app .table-left-row.booked,html body #app .table-mid-row.booked{background:#fff!important}
html body #app .table-left-row.table-date-header,html body #app .table-mid-row.table-date-header{background:var(--mc-row-event)!important}
html body #app .table-left-row .date{font:400 13.5px/1.2 var(--mc-font)!important;color:#4b5568!important;padding-left:6px!important;white-space:nowrap!important;background:transparent!important}
html body #app .table-left-row.table-event-time .date{justify-content:flex-end!important;text-align:right!important;padding-right:8px!important;font-size:12px!important;color:#4b5568!important}
html body #app .table-left-row.table-date-header .date{color:#4b5568!important;font-weight:500!important}
html body #app .table-left-row .event{background:transparent!important;border-left:1px solid #e3e7ed!important}
html body #app .table-left-row .event-pill{all:unset;box-sizing:border-box;display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 6px;font:400 13.5px/1.2 var(--mc-font);color:#1d283c;cursor:pointer}
/* Availability cells (TBL-14): readonly = circles, your editable column = rounded squares, unknown = yellow square. */
html body #app .table-mid-row .status.status:not(.member-dot){
  width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;padding:0!important;margin:auto!important;
  border:0!important;border-radius:50%!important;background-position:center!important;background-repeat:no-repeat!important;background-size:15px 15px!important;
  font:800 14px/24px var(--mc-font)!important;text-align:center!important;color:transparent!important;opacity:1;
}
html body #app .table-mid-row .status.status:not(.member-dot):not(.ya-save-pending){box-shadow:none!important}
html body #app .table-mid-row .status.editable.status{border-radius:5px!important;width:26px!important;height:26px!important}
html body #app .table-mid-row .status.y.status{background-color:var(--mc-green)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")!important}
html body #app .table-mid-row .status.n.status{background-color:var(--mc-red)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E")!important;background-size:12px 12px!important}
html body #app .table-mid-row .status.q.status{border-radius:4px!important;width:22px!important;height:22px!important;background:var(--mc-yellow)!important;color:#111!important;font:800 13px/22px var(--mc-font)!important}
html body #app .table-mid-row .status.editable.q.status{width:24px!important;height:24px!important;line-height:24px!important}
html body #app .table-mid-row span[aria-label]:not(.status){display:grid!important;place-items:center!important;width:22px!important;height:22px!important;margin:auto!important;border-radius:50%!important;background:var(--mc-none)!important;color:#2b3547!important;font:800 13px/1 var(--mc-font)!important}
html body #app .table-head,html body #app .table-left-head,html body #app .table-mid-head-inner{height:52px!important}
html body #app .table-left-row.table-event-time .date{font-size:11px!important;letter-spacing:-.01em!important;padding-right:5px!important;overflow:hidden!important;text-overflow:clip!important}

/* ---------- Utility bar: Search Events, Undo, Redo (CAL-17..19 / TBL-16..18) ---------- */
/* :not(.hidden) (Gary, Oct 28, BETA-7.24): Members hides this bar; the forced grid kept it on screen over the bottom of the Members list */
/* Gary, Nov 21: one row, left to right: the magnifying glass, ✨ Find, ✨ YN?, ✨ Research, then Undo and Redo at the right.
   Tapping the magnifying glass opens the search box across the whole row; closing it brings the buttons back. */
html body #app #utilityBar:not(.hidden){
  display:flex!important;align-items:center!important;gap:6px!important;
  min-height:48px!important;height:auto!important;padding:4px 10px!important;background:#fff!important;border-top:1px solid #e3e8ef!important;box-shadow:none!important;
}
html body #app #utilityBar .search-wrap{flex:none!important;width:40px!important}
html body #app #utilityBar #searchBtn{
  all:unset;box-sizing:border-box!important;width:40px!important;min-height:44px!important;height:auto!important;display:grid!important;place-items:center!important;padding:0!important;border:0!important;background:transparent!important;cursor:pointer;
}
html body #app #utilityBar #findBtn,html body #app #utilityBar #noteBtn,html body #app #utilityBar #researchBtn{flex:none!important}
html body #app #utilityBar #undoBtn{margin-left:auto!important}
html body #app #utilityBar #searchInline:not(.hidden){flex:1 1 auto!important}
html body #app #utilityBar.search-open :is(#findBtn,#noteBtn,#researchBtn,#undoBtn,#redoBtn),html body #app #utilityBar:has(#searchInline:not(.hidden)) :is(#findBtn,#noteBtn,#researchBtn,#undoBtn,#redoBtn){display:none!important}
html body #app #utilityBar #searchBtn>span:last-child{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
html body #app #utilityBar #searchBtn .search-ico svg,html body #app #utilityBar #searchInline .search-ico svg{width:24px!important;height:24px!important;stroke:var(--mc-ink)!important;stroke-width:2.2!important;fill:none!important}
html body #app #utilityBar #searchInline:not(.hidden){display:grid!important;grid-template-columns:28px minmax(0,1fr) 32px!important;align-items:center!important;gap:6px!important;min-width:0!important}
html body #app #utilityBar #searchInput{min-height:32px!important;height:32px!important;padding:0 12px!important;border:1px solid #c9d1dc!important;border-radius:999px!important;font:400 16px/1.2 var(--mc-font)!important;background:#fff!important}
html body #app #utilityBar #undoBtn,html body #app #utilityBar #redoBtn{
  all:unset;box-sizing:border-box;position:relative;display:grid;place-items:center;width:44px;height:44px;cursor:pointer;
}
html body #app #utilityBar #undoBtn>span:not(.history-ico),html body #app #utilityBar #redoBtn>span:not(.history-ico){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html body #app #utilityBar .history-ico{display:block;width:30px;height:30px;background:center/30px 30px no-repeat}
html body #app #utilityBar .history-ico svg{display:none!important}
html body #app #utilityBar #undoBtn .history-ico{background-image:url(/icons/heroicons/arrow-uturn-left.svg)}
html body #app #utilityBar #redoBtn .history-ico{background-image:url(/icons/heroicons/arrow-uturn-right.svg)}
html body #app #utilityBar #undoBtn.disabled,html body #app #utilityBar #redoBtn.disabled,html body #app #utilityBar #undoBtn:disabled,html body #app #utilityBar #redoBtn:disabled{opacity:.3!important;cursor:default!important}

/* ---------- Bottom navigation (CAL-20..24 / TBL-19..23) ---------- */
html body #app .bottomnav.mc-bottom-nav{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch!important;gap:0!important;
  min-height:64px!important;height:auto!important;padding:0 0 env(safe-area-inset-bottom)!important;background:#fff!important;border-top:1px solid #e3e8ef!important;box-shadow:none!important;
}
html body #app .bottomnav.mc-bottom-nav .navbtn{
  display:grid!important;justify-items:center!important;align-content:center!important;gap:3px!important;min-height:64px!important;height:auto!important;margin:0!important;padding:6px 2px!important;
  border:0!important;border-radius:0!important;background:transparent!important;color:#1e3557!important;box-shadow:none!important;
}
html body #app .bottomnav.mc-bottom-nav .navbtn.active{background:#edf1f7!important;color:#1e3557!important}
html body #app .bottomnav.mc-bottom-nav .navbtn .ico{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;margin:0!important;border-radius:0!important;background:transparent!important;font-size:0!important;box-shadow:none!important}
html body #app .bottomnav.mc-bottom-nav .mc-nav-icon{width:30px!important;height:30px!important;display:block!important;fill:none!important;stroke:currentColor!important;color:#1e3557}
html body #app .bottomnav.mc-bottom-nav .nav-label{font:500 12.5px/1.1 var(--mc-font)!important;color:#1e3557!important;white-space:nowrap!important}
html body #app #calendarView .cal-day{height:auto!important;min-height:78px!important;padding:5px 3px 4px 4px!important}
html body #app #calendarView .member-initials{gap:1px!important;margin-top:2px!important}
html body #app #calendarView .cal-day .member-dot{width:16px!important;height:16px!important;min-width:16px!important;font:800 7px/16px var(--mc-font)!important;letter-spacing:-.03em!important}
html body #app #calendarView .cal-day{padding:5px 2px 4px 3px!important}
html body #app #calendarView .cal-day .member-dot{width:15px!important;height:15px!important;min-width:15px!important;font:800 6.5px/15px var(--mc-font)!important}
html body #app #calendarView:not(.hidden){display:flex!important;flex-direction:column!important}
html body #app #calendarView .cal-grid{flex:1 1 auto!important;align-content:stretch!important}
html body #app #calendarView .cal-grid[data-weeks="4"]{grid-template-rows:auto repeat(4,minmax(78px,1fr))!important}
html body #app #calendarView .cal-grid[data-weeks="5"]{grid-template-rows:auto repeat(5,minmax(78px,1fr))!important}
html body #app #calendarView .cal-grid[data-weeks="6"]{grid-template-rows:auto repeat(6,minmax(72px,1fr))!important}
html body #app #calendarView .cal-day .member-dot{width:14px!important;height:14px!important;min-width:14px!important;font:800 6.5px/14px var(--mc-font)!important}
html body #app #calendarView .cal-month{font:700 19px/1.15 var(--mc-font)!important}
html body #app #calendarView .member-initials{gap:0!important}
html body #app #calendarView .cal-day .member-dot{width:15px!important;height:15px!important;min-width:15px!important;font:800 6.5px/15px var(--mc-font)!important;box-shadow:0 0 0 1px #fff!important}

/* ---------- Narrow phones (320–360 px) ---------- */
@media (max-width:360px){
  html body #app .topbar.mc-header .mc-group-primary{font-size:15px}
  html body #app .topbar.mc-header .mc-group-secondary{font-size:13px}
  html body #app #calendarView .calendar-toolbar{gap:6px!important;padding:4px 6px!important;grid-template-columns:minmax(0,.4fr) 32px minmax(0,auto) 32px minmax(0,1fr)!important}
  html body #app #calendarView #calPrev,html body #app #calendarView #calNext{width:32px!important;height:32px!important;min-width:32px!important}
  html body #app #calendarView .cal-month{font-size:16px!important}
  html body #app #calendarView #calToday{padding:0 8px!important;font-size:12px!important}
  html body #app .bottomnav.mc-bottom-nav .nav-label{font-size:11px!important}
  html body #app .bottomnav.mc-bottom-nav .mc-nav-icon{width:26px!important;height:26px!important}
}

/* ---------- Text selection (Gary, 17 Oct) ----------
 * No text selection or iOS long-press copy callout anywhere except where people type: text
 * fields, text areas, selects and editable text keep normal select / copy / paste. This keeps
 * drags (Event column resize, reorder handles) and taps from selecting text. */
html body,html body *{-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important}
html body input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=range]),
html body textarea,html body select,html body [contenteditable]:not([contenteditable=false]),html body [contenteditable]:not([contenteditable=false]) *{
  -webkit-user-select:text!important;user-select:text!important;-webkit-touch-callout:default!important;
}

/* ---------- Gary, Oct 18: availability dots and initials avatars 30% smaller ---------- */
html body #app .table-mid-row .status.status:not(.member-dot){width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;background-size:11px 11px!important;font:800 10px/17px var(--mc-font)!important;position:relative!important}
html body #app .table-mid-row .status.editable.status{width:18px!important;height:18px!important;border-radius:4px!important}
html body #app .table-mid-row .status.n.status{background-size:9px 9px!important}
html body #app .table-mid-row .status.q.status{width:15px!important;height:15px!important;min-width:15px!important;min-height:15px!important;border-radius:3px!important;font:800 10px/15px var(--mc-font)!important}
html body #app .table-mid-row .status.editable.q.status{width:17px!important;height:17px!important;line-height:17px!important}
/* Smaller look, same finger target: an invisible ring keeps editable cells easy to tap. */
html body #app .table-mid-row .status.editable.status::before{content:"";position:absolute;inset:-10px}
html body #app .table-mid-row span[aria-label]:not(.status){width:15px!important;height:15px!important;font:800 10px/1 var(--mc-font)!important}
html body #app .table-mid-head-inner .header-count .member-dot{width:18px!important;height:18px!important;min-width:18px!important;font:700 8px/18px var(--mc-font)!important}

/* Show: the heading ("Show >") opens the default views; the white box opens Saved Views (Gary, Oct 18). */
html body #app #classicFilters #filterShowSaved{all:unset;box-sizing:border-box;width:100%;min-width:0;display:grid;gap:0;margin-top:3px;cursor:pointer;font-family:var(--mc-font);text-align:left;border-radius:13px}
html body #app #classicFilters #filterShowSaved .filter-summary{cursor:pointer}
html body #app #classicFilters #filterShowSaved:focus-visible{outline:2px solid var(--mc-blue);outline-offset:1px}
html body #app #classicFilters #filterShowControl .mc-filter-heading{min-height:23px}

/* Event column resize (Gary, Oct 18): 30px-wide touch target on the column edge (mostly over the Event header, so it
   does not cover the first member's initials), with a visible grip. */
html body #app .table-left-head .event .event-column-resize{right:-6px!important;width:30px!important;border:0!important;background:transparent!important;z-index:30!important}
html body #app .table-left-head .event .event-column-resize::before{content:"";position:absolute;top:0;bottom:0;left:23px;width:2px;background:#aab4c4}
html body #app .table-left-head .event .event-column-resize::after{content:"";position:absolute;top:50%;left:20px;width:8px;height:22px;margin-top:-11px;border-radius:4px;background:#fff;border:1.5px solid #8a99ae;box-sizing:border-box}
html body #app .table-left-head .event .event-column-resize:active::after,html body #app .table-left-head .event .event-column-resize:focus-visible::after{border-color:var(--mc-blue);background:#e3eefb}

/* Gary, Oct 18: Y and N letters instead of check / X in the Table. */
html body #app .table-mid-row .status.y.status,html body #app .table-mid-row .status.n.status{background-image:none!important;color:#fff!important;font:800 10.5px/17px var(--mc-font)!important}
html body #app .table-mid-row .status.editable.y.status,html body #app .table-mid-row .status.editable.n.status{line-height:18px!important;font-size:11px!important}
/* Fast Edit feedback: the new answer zooms to 5x the cell size for ~500 ms. */
html body .fast-edit-feedback.fast-edit-zoom{display:grid!important;place-items:center!important;padding:0!important;border-radius:22%!important;background:var(--mc-yellow,#fff200)!important;color:#111!important;font-family:var(--mc-font)!important;font-weight:800!important;box-shadow:0 10px 30px rgba(12,24,49,.35)!important;animation:ya-fast-zoom .5s ease-out forwards}
html body .fast-edit-feedback.fast-edit-zoom.y{background:var(--mc-green,#27a96b)!important;color:#fff!important}
html body .fast-edit-feedback.fast-edit-zoom.n{background:var(--mc-red,#e0393e)!important;color:#fff!important}
@keyframes ya-fast-zoom{0%{transform:translate(-50%,-50%) scale(.2);opacity:.6}25%{transform:translate(-50%,-50%) scale(1);opacity:1}80%{transform:translate(-50%,-50%) scale(1);opacity:1}100%{transform:translate(-50%,-50%) scale(1.05);opacity:0}}
@media (prefers-reduced-motion:reduce){html body .fast-edit-feedback.fast-edit-zoom{animation:ya-fast-fade .5s linear forwards}@keyframes ya-fast-fade{0%,80%{opacity:1}100%{opacity:0}}}

/* Gary, Oct 18: while Search Events is open, hide the closed-state search pill so only one search field shows. */
html body #app #utilityBar.search-open .search-wrap,html body #app #utilityBar:has(#searchInline:not(.hidden)) .search-wrap{display:none!important}

/* Gary, Oct 18: member cells fill their column (no gray strip between members) and show the row colour.
   The signed-in member's column is 10% wider (44px vs 40px), with a ~10% larger avatar and answer. */
html body #app .table-mid-head-inner>div,html body #app .table-mid-row>div{width:auto!important;min-width:0!important;max-width:none!important}
html body #app .table-mid-row>div{background:transparent!important;border-right:0!important}
html body #app .table-mid-row.booked>div{background:transparent!important}
/* Multi-event day: the date row above and the closing row below are one light-gray band across the whole table. */
html body #app .table-mid-row.table-date-header>.blank-slot,html body #app .table-mid-row.table-date-closing>.blank-slot{grid-column:1/-1!important;background:transparent!important;border:0!important}
html body #app .table-left-row.table-date-closing>div,html body #app .table-left-row.table-date-header>div{background:transparent!important}
html body #app .table-mid-head-inner>.ya-mine-col .header-count .member-dot{width:20px!important;height:20px!important;min-width:20px!important;font:700 9px/20px var(--mc-font)!important}
html body #app .table-mid-row>.ya-mine-col .status.status:not(.member-dot){width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important;font-size:11.5px!important;line-height:19px!important}
html body #app .table-mid-row>.ya-mine-col .status.editable.status{width:20px!important;height:20px!important;line-height:20px!important;font-size:12px!important}
html body #app .table-mid-row>.ya-mine-col .status.q.status{width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;line-height:17px!important;font-size:11px!important}
html body #app .table-mid-row>.ya-mine-col .status.editable.q.status{width:19px!important;height:19px!important;line-height:19px!important}

/* Positions View off (default): the People / Positions switch is hidden and the tagline takes its place. */
html body #app .topbar.mc-header .mc-people-toggle[hidden]{display:none!important}
html body #app .topbar.mc-header .mc-header-tools:has(.mc-people-toggle[hidden]){grid-template-columns:minmax(0,1fr) auto}

/* Gary, Oct 18: smaller user avatar with the initials centred (the hidden first-name text no longer
   takes a grid row above the initials). */
html body #app .topbar.mc-header #userChip{width:26px!important;height:26px!important;min-width:26px!important}
html body #app .topbar.mc-header #userChip::before{position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;font:700 10px/1 var(--mc-font)!important;letter-spacing:.01em}
/* Narrower member columns (36px; Gary, Oct 18): first names a touch smaller so they fit. */
html body #app .table-mid-head-inner .header-count .mc-member-name{max-width:34px!important;font-size:11px!important;letter-spacing:-.01em}

/* Gary, Oct 18: Table header shows only each member's dot (no first name), with less space above it. */
html body #app .table-mid-head-inner .header-count .mc-member-name{display:none!important}
html body #app .table-head,html body #app .table-left-head,html body #app .table-mid-head-inner{height:34px!important}
html body #app .table-mid-head-inner>div{align-items:center!important;padding:0!important}
html body #app .table-mid-head-inner .header-count{width:100%!important;min-height:34px!important;align-content:center!important}
/* More members to the right (Gary, Oct 20): small black arrow over the right end of the member header. */
/* Gary, Oct 22: no white fade behind the arrow, so it never hides part of an avatar; just the small black arrow at the edge. */
html body #app .table-wrap>.ya-more-members{position:absolute;z-index:500;width:10px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#0c1831;display:grid;place-items:center;cursor:pointer;box-shadow:none}
html body #app .table-wrap>.ya-more-members svg{display:block;width:10px;height:10px;margin:0}

/* Gary, Oct 20: a member outside an event's band gets a truly empty cell (no grey dot or dash). */
html body #app .table-mid-row span.ya-mg-absent[aria-label]:not(.status){display:block!important;width:0!important;height:0!important;background:transparent!important;border:0!important}

/* Gary, Oct 20: weekdays turned off in When › Days grey out their whole calendar column (heading too). */
html body #app #calendarView .cal-day.ya-weekday-disabled:not(.out){background:#EEF1F5!important}
html body #app #calendarView .cal-day.ya-weekday-disabled:not(.out) .cal-num{color:#8A93A3!important}
html body #app #calendarView .cal-dow.ya-weekday-disabled{color:#A1A8B5!important}
/* Gary, Oct 22: year divider row where the dates cross into a new year */
html body #app .table-left-row.table-year-divider:not(#_),html body #app .table-mid-row.table-year-divider:not(#_){height:26px!important;min-height:26px!important;background:#E9EEF6!important;border-top:1px solid #C9D3E3!important}
html body #app .table-left-row.table-year-divider:not(#_){display:flex!important;align-items:center!important;grid-template-columns:none!important}
html body #app .table-left-row.table-year-divider .ya-year-divider-label:not(#_){flex:1 1 auto!important;width:auto!important;height:100%!important;display:flex!important;align-items:center!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0 10px!important;font:700 13px/1 var(--mc-font,system-ui)!important;letter-spacing:.04em!important;color:#33415C!important}
html body #app .table-mid-row.table-year-divider>.blank-slot{grid-column:1/-1!important;background:transparent!important;border:0!important}
html body #app .table-left-row.table-year-divider:not(#_)::before,html body #app .table-left-row.table-year-divider:not(#_)::after{display:none!important}

/* Type It (Gary, Oct 24, mockup A): a small calendar-check icon with a tiny word, between search and Undo; the panel opens
   above the bar. */
html body #app #utilityBar #noteBtn{all:unset;box-sizing:border-box!important;display:grid!important;justify-items:center!important;align-content:center!important;gap:2px!important;width:50px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border-radius:10px!important;color:var(--mc-ink,#111)!important;cursor:pointer;font:600 10px/1 var(--mc-font,-apple-system,sans-serif)!important;white-space:nowrap!important}
html body #app #utilityBar #noteBtn[hidden]{display:none!important}
html body #app #utilityBar #noteBtn svg{display:block!important;width:24px!important;height:24px!important;fill:none!important;stroke:currentColor!important;stroke-linecap:round;stroke-linejoin:round}
html body #app #utilityBar #noteBtn span{display:block!important;position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;font:700 10px/1 var(--mc-font,-apple-system,sans-serif)!important;letter-spacing:.12em!important}/* Gary, Oct 24: calendar grid icon with Y N ? under it */
html body #app #utilityBar #availNotePanel{position:absolute;left:0;right:0;bottom:100%;z-index:40;max-height:min(62dvh,520px);overflow:auto;padding:10px 12px 10px;background:#fff;border-top:1px solid #e3e8ef;box-shadow:0 -8px 18px rgba(15,23,42,.10);font:400 15px/1.3 var(--mc-font,-apple-system,sans-serif);color:#0c1831}
html body #app #utilityBar #availNotePanel .an-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px;font:700 11px/1.2 var(--mc-font,sans-serif);text-transform:uppercase;letter-spacing:.07em;color:var(--ya-label,#6b7280)}/* like WHEN / SHOW */
html body #app #utilityBar #availNotePanel .an-x{all:unset;display:grid;place-items:center;width:28px;height:28px;cursor:pointer}
html body #app #utilityBar #availNotePanel .an-x img{width:22px;height:22px}
html body #app #utilityBar #availNotePanel textarea{box-sizing:border-box;width:100%;min-height:58px;padding:9px 10px;border:1.5px solid #1F5FD1;border-radius:12px;font:400 16px/1.3 var(--mc-font,sans-serif);resize:vertical;background:#fff;color:#0c1831}
html body #app #utilityBar #availNotePanel .an-notes{margin:8px 0 2px;padding:6px 9px;border-radius:8px;background:#FFF6E5;color:#8a5a00;font-size:12.5px;display:grid;gap:3px}
html body #app #utilityBar #availNotePanel .an-lines{margin-top:4px}
html body #app #utilityBar #availNotePanel .an-line{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #eef1f5}
html body #app #utilityBar #availNotePanel .an-change{flex:none;display:flex;align-items:center;gap:5px}
html body #app #utilityBar #availNotePanel .an-arrow{color:#8a94a6;font-size:14px}
html body #app #utilityBar #availNotePanel .an-badge{flex:none;box-sizing:border-box;display:grid;place-items:center;width:24px;height:24px;border-radius:5px;font:800 13px/1 var(--mc-font,sans-serif)}
html body #app #utilityBar #availNotePanel .an-y{background:#e6f6e9;color:#1b6b2e;border:1.5px solid #6cbf7d}
html body #app #utilityBar #availNotePanel .an-n{background:#fde8e8;color:#a32020;border:1.5px solid #e08b8b}
html body #app #utilityBar #availNotePanel .an-q{background:#fff6e8;color:#7a5a1e;border:1.5px solid #c9a46a}
html body #app #utilityBar #availNotePanel .an-dates{flex:1;min-width:0;font-size:15px}
html body #app #utilityBar #availNotePanel .an-dates small{display:block;margin-top:2px;font-size:12px;color:#8a94a6}
html body #app #utilityBar #availNotePanel .an-wait,html body #app #utilityBar #availNotePanel .an-empty{padding:12px 2px;color:#5b6475;font-size:14px}
html body #app #utilityBar #availNotePanel .an-error{margin-top:6px;color:#b42318;font-size:13px}
html body #app #utilityBar #availNotePanel .an-error:empty{display:none}
html body #app #utilityBar #availNotePanel .an-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
html body #app #utilityBar #availNotePanel .an-actions .btn{min-height:38px;padding:0 16px;border-radius:10px;font-weight:700}
/* Add to Home Screen: "I already have it" (Gary, Oct 24) */
html body .a2hs-sheet .a2hs-have{margin-top:10px!important;font-size:13px!important;color:#5b6475!important}
html body .a2hs-sheet .a2hs-have-btn{all:unset;display:block;margin-top:6px;color:#1F5FD1;font-weight:600;cursor:pointer}
/* Type Your Availability uses the standard section label, input and buttons (Gary, Oct 28, BETA-7.24):
   label like DATA BACKUP / RESTORE; the box like Search set lists (--mc-line, 12px corners; blue only while typing);
   Cancel / Read It as the standard button pair (--mc-blue primary), equal width; the standard black X. */
html body #app #utilityBar #availNotePanel{padding:14px 16px 14px!important}
html body #app #utilityBar #availNotePanel .an-head{margin:0 0 10px!important;font:600 13px/1.2 var(--mc-font,-apple-system,sans-serif)!important;letter-spacing:.04em!important;text-transform:uppercase!important;color:var(--ya-label,#5D6B85)!important}
html body #app #utilityBar #availNotePanel .an-x{width:32px!important;height:32px!important}
html body #app #utilityBar #availNotePanel .an-x img{width:28px!important;height:28px!important}
html body #app #utilityBar #availNotePanel textarea{min-height:64px!important;padding:10px 12px!important;border:1px solid var(--mc-line,#cbd7e7)!important;border-radius:var(--mc-radius-md,12px)!important;font:400 17px/1.35 var(--mc-font,-apple-system,sans-serif)!important;color:var(--mc-ink,#0c1831)!important;background:#fff!important;outline:none!important}
html body #app #utilityBar #availNotePanel textarea:focus{border-color:var(--mc-blue,#3877c8)!important;box-shadow:0 0 0 3px rgba(56,119,200,.15)!important}
html body #app #utilityBar #availNotePanel textarea::placeholder{color:#8a94a6}
html body #app #utilityBar #availNotePanel .an-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:12px!important}
html body #app #utilityBar #availNotePanel .an-actions .btn{min-height:48px!important;padding:0 16px!important;border-radius:var(--mc-radius-md,12px)!important;font:600 17px/1.2 var(--mc-font,-apple-system,sans-serif)!important;border:1px solid var(--mc-line,#cbd7e7)!important;background:#fff!important;color:var(--mc-ink,#0c1831)!important}
html body #app #utilityBar #availNotePanel .an-actions .btn.primary{border-color:var(--mc-blue,#3877c8)!important;background:var(--mc-blue,#3877c8)!important;color:#fff!important}
html body #app #utilityBar #availNotePanel .an-actions .btn:only-child{grid-column:1/-1}
html body #app #utilityBar #availNotePanel .an-actions .btn:disabled{opacity:.5!important}
/* Type availability for someone else (Gary, Oct 28, BETA-7.32): "TYPE AVAILABILITY FOR [Me ▾]" in the heading row, between the
   label and the X, only as wide as the name; the heading uses the standard text box label (13px, #6D6D72, like the labels over the fields in Add Event and Account). */
html body #app #utilityBar #availNotePanel .an-head{font:400 13px/1.3 var(--ios-font,var(--mc-font,-apple-system,sans-serif))!important;letter-spacing:.02em!important;color:#6D6D72!important;gap:8px!important}
html body #app #utilityBar #availNotePanel .an-head>span{flex:none!important;white-space:nowrap!important}
html body #app #utilityBar #availNotePanel .an-head .an-x{margin-left:auto!important;flex:none!important}
html body #app #utilityBar #availNotePanel select.an-for{flex:0 1 auto!important;width:auto!important;min-width:0!important;max-width:170px!important;height:34px!important;padding:0 28px 0 10px!important;border:1px solid var(--mc-line,#cbd7e7)!important;border-radius:10px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235D6B85' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center!important;-webkit-appearance:none!important;appearance:none!important;font:500 16px/1.2 var(--mc-font,-apple-system,sans-serif)!important;letter-spacing:0!important;text-transform:none!important;color:var(--mc-ink,#0c1831)!important;text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}
html body #app #utilityBar #availNotePanel select.an-for:disabled{opacity:.6!important}
/* Type your availability, refreshed (Gary, Oct 29, option A + Option B's NEW tag and result chips) */
html body #app #utilityBar #availNotePanel .an-head{display:flex!important;align-items:center!important;gap:11px!important;margin:0 0 12px!important;font:400 15px/1.3 var(--mc-font,-apple-system,sans-serif)!important;text-transform:none!important;letter-spacing:0!important;color:#0c1831!important}
html body #app #utilityBar #availNotePanel .an-logo{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#19B39B 0%,#2F7BE0 100%);color:#fff;font:800 12.5px/1 var(--mc-font,-apple-system,sans-serif);letter-spacing:.02em;box-shadow:0 3px 8px rgba(47,123,224,.25)}
html body #app #utilityBar #availNotePanel .an-titles{flex:1;min-width:0}
html body #app #utilityBar #availNotePanel .an-title{display:flex;align-items:center;gap:7px;font:700 19px/1.2 var(--mc-font,-apple-system,sans-serif);color:#13294B}
html body #app #utilityBar #availNotePanel .an-new{flex:none;padding:2px 6px;border-radius:6px;background:#E0F7F2;color:#0E7C6B;font:800 10.5px/1.2 var(--mc-font,-apple-system,sans-serif);letter-spacing:.06em}
html body #app #utilityBar #availNotePanel .an-sub{margin-top:2px;font:400 13.5px/1.3 var(--mc-font,-apple-system,sans-serif);color:#6D6D72}
html body #app #utilityBar #availNotePanel .an-head .an-x{align-self:flex-start;margin-left:0!important}
html body #app #utilityBar #availNotePanel .an-for-row{display:flex;align-items:center;gap:10px;margin:0 0 10px;font:600 15px/1 var(--mc-font,-apple-system,sans-serif);color:#5D6B85}
html body #app #utilityBar #availNotePanel .an-for-pill{display:inline-flex;align-items:center;height:36px;padding:0 4px 0 12px;border:1px solid var(--mc-line,#cbd7e7);border-radius:18px;background:#fff}
html body #app #utilityBar #availNotePanel .an-for-row select.an-for{height:34px!important;border:0!important;background-color:transparent!important;padding:0 26px 0 2px!important;font:600 16px/1 var(--mc-font,-apple-system,sans-serif)!important;color:#13294B!important;max-width:200px!important;field-sizing:content}/* 16px: an iPhone zooms smaller fields; as wide as the chosen name where the browser allows */
html body #app #utilityBar #availNotePanel .an-box{position:relative}
html body #app #utilityBar #availNotePanel .an-box textarea{display:block;min-height:76px!important;padding:11px 46px 11px 13px!important;border:1.5px solid #84adff!important;border-radius:16px!important;background:#F5F9FF!important}
html body #app #utilityBar #availNotePanel .an-box textarea:focus{border-color:#3877c8!important;background:#fff!important;box-shadow:0 0 0 3px rgba(56,119,200,.15)!important}
html body #app #utilityBar #availNotePanel .an-box textarea:disabled{opacity:.75}
html body #app #utilityBar #availNotePanel .an-mic{all:unset;position:absolute;right:8px;bottom:8px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#E3EDFF;color:#2F6FDB;cursor:pointer;-webkit-tap-highlight-color:transparent}
html body #app #utilityBar #availNotePanel .an-mic:active{background:#cfe0ff}
html body #app #utilityBar #availNotePanel .an-tip{margin-top:6px;font-size:13px;color:#2F6FDB}
html body #app #utilityBar #availNotePanel .an-tip[hidden],html body #app #utilityBar #availNotePanel .an-tries[hidden]{display:none!important}
html body #app #utilityBar #availNotePanel .an-tries{display:flex;gap:8px;margin-top:10px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
html body #app #utilityBar #availNotePanel .an-tries::-webkit-scrollbar{display:none}
html body #app #utilityBar #availNotePanel .an-try{all:unset;flex:none;padding:7px 12px;border-radius:16px;border:1px solid #C9DBFF;background:#EEF4FF;color:#2F6FDB;font:600 13.5px/1.2 var(--mc-font,-apple-system,sans-serif);white-space:nowrap;cursor:pointer}
html body #app #utilityBar #availNotePanel .an-try:active{background:#d6e6ff}
html body #app #utilityBar #availNotePanel .an-actions{grid-template-columns:2fr 3fr!important}
html body #app #utilityBar #availNotePanel .an-actions .btn{min-height:48px!important;border-radius:14px!important}
html body #app #utilityBar #availNotePanel .an-actions .btn:not(.primary){background:#fff!important;border:1px solid #cbd2dc!important;color:#13294B!important}
html body #app #utilityBar #availNotePanel .an-actions .btn.primary{background:#3877c8!important;border-color:#3877c8!important;color:#fff!important;font-weight:700!important;box-shadow:0 6px 14px rgba(56,119,200,.32)!important}
html body #app #utilityBar #availNotePanel .an-actions .btn.primary:disabled{opacity:1!important;background:#A9C4EA!important;border-color:#A9C4EA!important;box-shadow:none!important}
html body #app #utilityBar #availNotePanel .an-foot{margin:8px 0 0;text-align:center;font-size:12.5px;color:#8a94a6}
/* the keyboard is up: keep Preview in view */
html body #app #utilityBar #availNotePanel.an-tight .an-sub,html body #app #utilityBar #availNotePanel.an-tight .an-foot{display:none}
html body #app #utilityBar #availNotePanel.an-tight .an-head{margin-bottom:8px!important}
/* Gary, Oct 29 (option 3): the Y N ? button is a blue pill, "✨ YN?", to go with the refreshed panel; the search box gives up the room */
html body #app #utilityBar #noteBtn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:auto!important;height:34px!important;min-height:34px!important;padding:0 12px!important;border-radius:17px!important;background:#3877c8!important;color:#fff!important;box-shadow:0 3px 8px rgba(56,119,200,.3)!important;-webkit-tap-highlight-color:transparent}
html body #app #utilityBar #noteBtn span{font:800 14px/1 var(--mc-font,-apple-system,sans-serif)!important;letter-spacing:.01em!important;color:inherit!important}
html body #app #utilityBar #noteBtn span.an-spark{font-size:13px!important}
html body #app #utilityBar #noteBtn:active,html body #app #utilityBar #noteBtn.is-open{background:#2c63a8!important;box-shadow:none!important}
/* Calendar fits on an iPhone, six weeks too (Gary, Nov 1, BETA-7.48.20): the weeks share the room there is (never less than
   52 px each), the day number, Open and the dots sit a little closer, and event names and times are one size larger. */
html body #app #calendarView .cal-grid[data-weeks]:not(#_){grid-template-rows:auto repeat(var(--ya-cal-weeks,5),minmax(52px,1fr))!important}
html body #app #calendarView .cal-grid[data-weeks="4"]:not(#_){--ya-cal-weeks:4}
html body #app #calendarView .cal-grid[data-weeks="5"]:not(#_){--ya-cal-weeks:5}
html body #app #calendarView .cal-grid[data-weeks="6"]:not(#_){--ya-cal-weeks:6}
html body #app #calendarView .cal-day:not(#_){min-height:0!important;padding:4px 2px 3px 3px!important;gap:1px!important}
html body #app #calendarView .cal-num:not(#_){font-size:13.5px!important;line-height:1.05!important}
html body #app #calendarView .calendar-open-label:not(#_){font-size:12px!important;line-height:1.1!important}
html body #app #calendarView .member-initials:not(#_){margin-top:1px!important}
html body #app #calendarView .cal-day .cal-name:not(#_){font-size:10px!important;line-height:12px!important}
html body #app #calendarView .cal-day .calendar-event-time:not(#_){font-size:9.5px!important;line-height:11px!important}
/* What Undo / Redo changed zooms in for a moment and is highlighted (Gary, Nov 1, BETA-7.48.21) */
@keyframes yaUndone{0%{transform:scale(1)}25%{transform:scale(1.35)}70%{transform:scale(1.22)}100%{transform:scale(1)}}
@keyframes yaUndoneDay{0%{transform:scale(1)}25%{transform:scale(1.14)}70%{transform:scale(1.08)}100%{transform:scale(1)}}
html body #app #tableView .ya-undone[data-mg-answer]:not(#_):not(#__){position:relative;z-index:6;animation:yaUndone 1.6s ease-in-out both!important;outline:3px solid #f59e0b!important;outline-offset:1px!important;background-color:#fff7e0!important;border-radius:9px!important}
html body #app #calendarView .cal-day.ya-undone:not(#_):not(#__){position:relative;z-index:6;animation:yaUndoneDay 1.6s ease-in-out both!important;outline:3px solid #f59e0b!important;outline-offset:-3px!important;background-color:#fff7e0!important;border-radius:6px!important}
html body #app #tableView .ya-undone:not([data-mg-answer]):not(#_){background-color:rgba(253,230,138,.55)!important}
@media (prefers-reduced-motion:reduce){html body #app #tableView .ya-undone[data-mg-answer]:not(#_):not(#__),html body #app #calendarView .cal-day.ya-undone:not(#_):not(#__){animation:none!important}}
/* Naming a new Show view (Gary, Nov 1, BETA-7.48.23): View alone on its row, full width */
html body .anchored-choice-menu .show-apply.show-view-save.show-view-only:not(#_):not(#__){grid-template-columns:1fr!important}
/* Manage Views (Gary, Nov 1, BETA-7.48.23): one list; which bands each view is for, under its summary */
html body .saved-view-manager-row .view-bands{grid-column:2;grid-row:3;padding:0 2px 4px;font:600 11px/1.25 var(--ios-font,-apple-system,sans-serif);letter-spacing:.02em;text-transform:uppercase;color:#7a879a}
/* iPhone: a touch on ☰ drags the view instead of scrolling the sheet (Gary, Nov 1) */
html body .saved-views-manager .saved-filter-drag-handle{touch-action:none!important;-webkit-user-select:none;user-select:none;cursor:grab}
html body .saved-views-manager .saved-view-manager-row.dragging{opacity:.75;background:#eef4ff}
/* Calendar (Gary, Nov 2, BETA-7.48.26): "Open" sits to the right of the day number, so the avatars get the room below */
html body #app #calendarView .cal-day.open-date:not(#_):not(#__){display:grid!important;grid-template-columns:auto 1fr!important;grid-template-rows:auto 1fr!important;align-content:start!important;align-items:baseline!important;column-gap:2px!important}
html body #app #calendarView .cal-day.open-date:not(#_):not(#__)>.cal-num{grid-column:1!important;grid-row:1!important}
html body #app #calendarView .cal-day.open-date:not(#_):not(#__)>.calendar-open-label{grid-column:2!important;grid-row:1!important;font-size:10px!important;letter-spacing:-.01em!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}
html body #app #calendarView .cal-day.open-date:not(#_):not(#__)>.member-initials{grid-column:1/-1!important;grid-row:2!important;align-self:start!important;margin-top:3px!important}
html body #app #calendarView .cal-day .member-dot.more:not(#_){background:#e6ebf2!important;color:#3b4a63!important;font-weight:800!important}
/* Gary, Nov 2 (BETA-7.48.26): an open day is shown by a green day number instead of the word "Open" (booked days are blue) */
html body #app #calendarView .cal-day.open-date:not(#_):not(#__)>.calendar-open-label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
html body #app #calendarView .cal-day.open-date:not(#_):not(#__)>.cal-num{color:var(--mc-green-strong,#16794a)!important;font-weight:700!important}
html body #app #calendarView .cal-day.open-date:not(#_):not(#__){grid-template-columns:1fr!important}

/* Gary, Nov 2 (BETA-7.48.27): an open day's number is red when no one is available (green when someone is); the day card's Open matches */
html body #app #calendarView .cal-day.open-date.no-one-available:not(#_):not(#__)>.cal-num{color:var(--mc-red-strong,#c62828)!important}

/* A shown Observer's column (Gary, Nov 3, 2026): shown, marked, never counted (no count toggle). The dot is drawn as an
   outline so it reads as "not one of the band's counted members"; where names show, the name line says Observer. */
.table-split .ya-observer-col .ya-observer-head{display:flex;flex-direction:column;align-items:center;gap:1px;cursor:pointer;background:none;border:0;padding:0;font:inherit}
html body #app .table-split .ya-observer-col .member-dot.member-dot{background:#fff!important;color:#4b5563!important;border:1.5px dashed #9ca3af!important;box-shadow:none!important}
.table-split .ya-observer-col .ya-observer-tag{font-size:9px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:#6b7280}
/* "Filtered" strip under When and Show (Gary, Nov 7): soft amber, says what is left out, Reset puts it back */
html body #app #classicFilters .ya-filtered:not(#_){display:flex;align-items:center;gap:8px;margin:6px 2px 0;padding:6px 6px 6px 10px;border-radius:10px;background:#FFF4DE;box-shadow:inset 0 0 0 1px #F2C879;color:#6B4100;font:500 13.5px/1.25 var(--mc-font,system-ui)}
html body #app #classicFilters .ya-filtered-ico{flex:none;color:#C27A00}
html body #app #classicFilters .ya-filtered-text{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #app #classicFilters .ya-filtered-text b{font-weight:700}
html body #app #classicFilters .ya-filtered-reset:not(#_){all:unset;flex:none;cursor:pointer;padding:4px 8px;border-radius:8px;color:#2F6FEB;font:600 14px/1.2 var(--mc-font,system-ui)}
html body #app #classicFilters .ya-filtered-reset:active{background:#FBE6BD}

/* Gary, Nov 9 (BETA-8.5.16): "On the table screen, fix the user availability column to always be the leftmost availability
   column. don't allow scrolling of the user column." Your column is pinned; the other members scroll under it. */
html body #tableView .table-mid-row>.ya-mine-col:not(#_):not(#__){position:sticky!important;left:0;z-index:2;background:inherit!important;box-shadow:1px 0 0 #d5dbe5}
html body #tableView .table-mid-head-inner>.ya-mine-head:not(#_):not(#__){position:relative;z-index:2;background:#fff!important;box-shadow:1px 0 0 #d5dbe5}
/* Gary, Nov 9 (BETA-8.5.18): pulling the answers right past the edge bounced them out from under your pinned column (and its
   heading); no sideways bounce now */
html body #tableView .table-mid-scroll:not(#_):not(#__){overscroll-behavior-x:none!important}
/* Gary, Nov 9 (BETA-8.5.26 – 8.5.28): the calendar is one white card straight on the page (no gray box behind it), close
   under When / Show; the arrows sit at the edges with the month and the Times pill between them (the band / "2 Groups"
   line is gone: the header names the band), so the days get the room. */
html body .main:has(>#calendarView:not(.hidden)):not(#_){padding-top:2px!important}
html body #calendarView:not(#_):not(#__){background:#fff!important;padding:0!important;margin:0!important;border:1px solid #e3e8f0!important;border-radius:14px!important;overflow:hidden!important;box-shadow:none!important}
html body #calendarView>.calendar-toolbar:not(#_):not(#__):not(#___){display:grid!important;grid-template-columns:32px minmax(0,1fr) 32px auto!important;align-items:center!important;column-gap:6px!important;min-height:0!important;padding:6px 8px 6px!important;border-radius:0!important;background:#fff!important;border-bottom:1px solid #eef0f4}
html body #calendarView>.calendar-toolbar .calendar-title:not(#_):not(#__){display:flex!important;flex-direction:column!important;align-items:center!important;gap:3px!important;min-width:0!important}
html body #calendarView>.calendar-toolbar .cal-band:not(#_):not(#__):not(#___){display:none!important}
html body #calendarView>.calendar-toolbar .ya-cal-times-in:not(#_){display:block;max-width:100%}
html body #calendarView>.calendar-toolbar .ya-cal-times-in .ya-times-tag:not(#_):not(#__){padding:0!important;min-height:0!important;width:auto!important;max-width:100%}
html body #calendarView>.calendar-toolbar .ya-event-nav-arrow:not(#_):not(#__),html body #calendarView>.calendar-toolbar #calToday:not(#_):not(#__){height:32px!important;min-height:32px!important;margin:0!important}
html body #calendarView>.calendar-toolbar .ya-event-nav-arrow:not(#_):not(#__){width:32px!important;min-width:32px!important}
html body #calendarView>.calendar-toolbar .cal-month:not(#_):not(#__){font-size:19px!important;line-height:1.15!important}
html body #calendarView>.cal-grid:not(#_):not(#__){border-radius:0!important}
html body #calendarView>.calendar-toolbar:not(#_):not(#__):not(#___):not(#____){height:auto!important;max-height:none!important;grid-template-columns:32px minmax(0,1fr) 32px auto!important}
html body #calendarView>.calendar-toolbar>#calPrev:not(#_):not(#__):not(#___){grid-column:1!important;grid-row:1!important}
html body #calendarView>.calendar-toolbar>.calendar-title:not(#_):not(#__):not(#___){grid-column:2!important;grid-row:1!important;width:auto!important}
html body #calendarView>.calendar-toolbar>#calNext:not(#_):not(#__):not(#___){grid-column:3!important;grid-row:1!important}
html body #calendarView>.calendar-toolbar>#calToday:not(#_):not(#__):not(#___){grid-column:4!important;grid-row:1!important}
/* Gary, Nov 9 (BETA-8.5.29): "the arrows are spread too far apart. Abbreviate the month and make the current width of the Time
   control the widest allowed. Place the arrows immediately to the left and right of the month/time." ‹ month/Times › sit
   together in the middle; Today stays at the right. */
html body #calendarView>.calendar-toolbar:not(#_):not(#__):not(#___):not(#____):not(#_____){grid-template-columns:minmax(0,1fr) 32px auto 32px minmax(0,1fr)!important;column-gap:6px!important}
html body #calendarView>.calendar-toolbar>#calPrev:not(#_):not(#__):not(#___):not(#____){grid-column:2!important}
html body #calendarView>.calendar-toolbar>.calendar-title:not(#_):not(#__):not(#___):not(#____){grid-column:3!important;max-width:176px}
html body #calendarView>.calendar-toolbar>#calNext:not(#_):not(#__):not(#___):not(#____){grid-column:4!important}
html body #calendarView>.calendar-toolbar>#calToday:not(#_):not(#__):not(#___):not(#____){grid-column:5!important;justify-self:end}
html body #calendarView>.calendar-toolbar .ya-cal-times-in:not(#_):not(#__){max-width:176px}
html body #calendarView>.calendar-toolbar .ya-cal-times-in .ya-times-pill:not(#_):not(#__){max-width:176px;overflow:hidden}
html body #calendarView>.calendar-toolbar .ya-cal-times-in .ya-tp-band:not(#_):not(#__){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
/* Gary, Nov 9: with a Show filter on, the dates it finds are highlighted: pale blue with a blue ring */
html body #app #calendarView .cal-day.ya-filter-match:not(#_):not(#__){background:#EAF1FF!important;box-shadow:inset 0 0 0 2px #2767E8!important;border-radius:8px!important;position:relative;z-index:1}

/* Gary, Nov 10: placeholder rows while the app's first data loads (index.html yaShowSkeleton). Light, no layout of their own
   beyond the main area; they are removed in the frame the real Table / Calendar / Members is drawn. */
html body #app .main>.ya-skeleton{display:block;padding:8px 10px 0;pointer-events:none}
html body #app .main>.ya-skeleton i,html body #app .main>.ya-skeleton b{display:block;background:#e6eaf1;border-radius:6px}
html body #app .main>.ya-skeleton .ya-sk-card{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px;margin:0 0 10px;border-radius:14px;background:#f4f6fa}
html body #app .main>.ya-skeleton .ya-sk-card i{height:34px}
html body #app .main>.ya-skeleton .ya-sk-head,html body #app .main>.ya-skeleton .ya-sk-row{display:grid;grid-template-columns:84px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:44px;border-bottom:1px solid #eef1f5}
html body #app .main>.ya-skeleton .ya-sk-head i{height:14px;width:60px}
html body #app .main>.ya-skeleton span{display:flex;gap:6px}
html body #app .main>.ya-skeleton span b{width:26px;height:26px;border-radius:50%}
html body #app .main>.ya-skeleton .ya-sk-date{height:14px;width:64px}
html body #app .main>.ya-skeleton .ya-sk-event{height:14px}
@media (prefers-reduced-motion:no-preference){html body #app .main>.ya-skeleton i,html body #app .main>.ya-skeleton b{background:linear-gradient(90deg,#e6eaf1 0%,#f3f5f9 45%,#e6eaf1 90%);background-size:220% 100%;animation:yaSkShimmer 1.3s ease-in-out infinite}}
@keyframes yaSkShimmer{0%{background-position:120% 0}100%{background-position:-120% 0}}
/* ✨ Find (Gary, Nov 13, BETA-8.7.18): beside YN? on the search row; YN? drops its sparkle there so both fit */
html body #app #utilityBar :is(#findBtn,#researchBtn){all:unset;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;flex:none!important;height:34px!important;min-height:34px!important;padding:0 11px!important;border-radius:17px!important;background:linear-gradient(135deg,#5B5BF0,#3478F6)!important;color:#fff!important;box-shadow:0 3px 8px rgba(52,120,246,.3)!important;cursor:pointer;-webkit-tap-highlight-color:transparent}
html body #app #utilityBar :is(#findBtn,#researchBtn)[hidden]{display:none!important}
html body #app #utilityBar :is(#findBtn,#researchBtn) span{font:800 14px/1 var(--mc-font,-apple-system,sans-serif)!important;color:inherit!important}
html body #app #utilityBar :is(#findBtn,#researchBtn) .yf-spark{font-size:13px!important}
html body #app #utilityBar :is(#findBtn,#researchBtn):active,html body #app #utilityBar :is(#findBtn,#researchBtn).is-open{background:#3d4fd0!important;box-shadow:none!important}
/* Gary, Nov 14: "Make Find the same blue as YN? and put the ai stars on YN? also. Reduce the size of Search as needed." */
html body #app #utilityBar :is(#findBtn,#researchBtn):not(#_){background:#3877c8!important;box-shadow:0 3px 8px rgba(56,119,200,.3)!important;padding:0 10px!important}
html body #app #utilityBar :is(#findBtn,#researchBtn):not(#_):active,html body #app #utilityBar :is(#findBtn,#researchBtn).is-open:not(#_){background:#2f64ad!important;box-shadow:none!important}
html body #app #utilityBar #noteBtn:not(#_){padding:0 10px!important}
html body #app #utilityBar #undoBtn:not(#_),html body #app #utilityBar #redoBtn:not(#_){width:36px!important;min-width:36px!important}
/* Undo and Redo close together (Gary, Nov 14): about 4px between the arrows */
html body #app #utilityBar #redoBtn:not(#_){margin-left:-11px!important}

/* Brief Nov 16, item 2: on the Table, the group's initials after an event name when more than one group is shown; the
   ellipsis cuts the name, never the marker. */
html body .ya-gm-wrap{display:inline-flex;align-items:baseline;max-width:100%;min-width:0;vertical-align:top}
html body .ya-gm-wrap>.ya-gm-name:not(#_){display:block!important;flex:0 1 auto!important;width:auto!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body .ya-gm-wrap>.ya-gm:not(#_){display:block!important;flex:0 0 auto!important;width:auto!important;position:relative;top:-.42em;margin-left:1px;font-size:max(8.5px,.72em);font-weight:700;line-height:1;letter-spacing:0;opacity:.8}

/* Event status (brief Nov 16, item 3; v21): a tentative event has a dashed outline on the Table and the Calendar */
html body .table-split .event-pill.ya-tentative:not(#_):not(#__){outline:1.5px dashed #c98a1b!important;outline-offset:-2px!important;border-radius:6px!important}
html body #calendarView .calendar-event-entry.ya-tentative:not(#_):not(#__){outline:1px dashed #c98a1b!important;outline-offset:0!important;border-radius:3px!important}
