/* THRS V14.41 — Full Calendar / Approved Reference Finish
   Scoped to Work Schedules > Full Calendar. Cosmetic only.
   Keeps all 42 date cells, actual event counts, 3 visible previews, navigation and modal. */

html[data-theme="light"] .work-schedules-pro .thrs-calendar-enhanced {
  --cal41-ink:#102d4b;
  --cal41-muted:#5c7490;
  --cal41-line:#dbe6f1;
  --cal41-paper:#ffffff;
  --cal41-soft:#f7f9fd;
  --cal41-subtle:#eff4fa;
  --cal41-navy:#0d2f4a;
  --cal41-gold:#d69b3e;
  --cal41-gold-soft:#fff5e5;
  --cal41-cell-shadow:0 3px 8px rgba(15,43,74,.037);
}
html[data-theme="dark"] .work-schedules-pro .thrs-calendar-enhanced {
  --cal41-ink:#f2f7ff;
  --cal41-muted:#c0d3e6;
  --cal41-line:#3d5d78;
  --cal41-paper:#15344e;
  --cal41-soft:#193b56;
  --cal41-subtle:#254762;
  --cal41-navy:#0b2941;
  --cal41-gold:#f0c47d;
  --cal41-gold-soft:#354451;
  --cal41-cell-shadow:0 3px 9px rgba(0,9,24,.13);
}

/* Overall panel — matched to the navy-and-gold executive workspace */
html[data-theme] .work-schedules-pro .ws-panel:has(.thrs-calendar-enhanced) {
  border:1px solid color-mix(in srgb,var(--ws40-gold,#d69b3e) 30%,var(--ws40-line,#dbe6f1)) !important;
  border-radius:19px !important;
  background:var(--ws40-paper,#fff) !important;
  box-shadow:0 5px 15px rgba(10,42,72,.055),0 19px 36px rgba(10,42,72,.075) !important;
  overflow:hidden !important;
}
html[data-theme] .work-schedules-pro .ws-panel:has(.thrs-calendar-enhanced)>.thrs-card-header {
  min-height:62px !important;
  padding:17px 21px !important;
  border-bottom:1px solid var(--ws40-line,#dbe6f1) !important;
  background:linear-gradient(112deg,var(--ws40-paper,#fff),var(--ws40-frost,#f8faff)) !important;
}
html[data-theme] .work-schedules-pro .ws-panel:has(.thrs-calendar-enhanced)>.thrs-card-header h3 {
  display:flex !important;
  align-items:center !important;
  gap:11px !important;
  color:var(--ws40-ink,#102d4b) !important;
  font-size:17px !important;
  line-height:1.35 !important;
  letter-spacing:-.018em !important;
  font-weight:920 !important;
}
html[data-theme] .work-schedules-pro .ws-panel:has(.thrs-calendar-enhanced)>.thrs-card-header h3>span:first-child {
  width:4px !important;
  height:23px !important;
  border-radius:5px !important;
  background:linear-gradient(#f8ca73,#ce9235) !important;
  box-shadow:0 2px 6px rgba(206,146,53,.16) !important;
}
html[data-theme] .work-schedules-pro .ws-panel:has(.thrs-calendar-enhanced)>.thrs-card-header+div {
  background:var(--ws40-paper,#fff) !important;
  padding:16px !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced {
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  color:var(--cal41-ink) !important;
  min-width:0 !important;
}

/* Month toolbar: the same premium navy material as the approved hero */
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-toolbar {
  position:relative !important;
  min-height:105px !important;
  padding:19px 22px !important;
  margin:0 0 13px !important;
  border-radius:15px !important;
  border:1px solid rgba(227,190,135,.52) !important;
  background:
    radial-gradient(ellipse at 90% -76%,rgba(231,185,105,.20),transparent 56%),
    radial-gradient(ellipse at 41% 126%,rgba(25,105,157,.22),transparent 55%),
    linear-gradient(112deg,#08253e 0%,#123d59 66%,#0a2c46 100%) !important;
  box-shadow:0 11px 23px rgba(6,31,55,.15),inset 0 1px 0 rgba(255,255,255,.11) !important;
  overflow:hidden !important;
  isolation:isolate !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-toolbar::before {
  content:"";
  position:absolute;
  width:360px;height:260px;
  top:55px;inset-inline-start:34%;
  pointer-events:none;
  transform:rotate(-7deg);
  opacity:.29;
  background:repeating-radial-gradient(ellipse at center,transparent 0 14px,rgba(238,174,74,.42) 14.5px 15.2px,transparent 16px 23px);
  z-index:0;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-toolbar::after {
  content:"";
  position:absolute;
  left:22px;right:22px;bottom:0;
  height:2px;
  background:linear-gradient(90deg,transparent,#e7b35c 29%,transparent 66%);
  opacity:.55;
  pointer-events:none;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-toolbar>div {
  position:relative;
  z-index:1;
  min-width:0;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-toolbar>div:first-child>div:first-child {
  margin-bottom:7px !important;
  color:#d9e5f0 !important;
  font-weight:700 !important;
  font-size:11px !important;
  line-height:1.35 !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-heading-line {
  display:flex !important;align-items:center !important;
  flex-wrap:wrap !important;
  gap:9px 13px !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-heading-line h3 {
  margin:0 !important;
  color:#ffffff !important;
  font-size:clamp(23px,2vw,29px) !important;
  line-height:1.12 !important;
  font-weight:950 !important;
  letter-spacing:-.039em !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-month-total {
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
  min-height:29px !important;
  padding:6px 11px !important;
  border:1px solid rgba(237,195,132,.51) !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.10) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06) !important;
  color:#e7eef6 !important;
  font-size:10.8px !important;
  font-weight:770 !important;
  white-space:nowrap !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-month-total strong {
  color:#ffda9c !important;
  font-size:12px !important;
  font-weight:950 !important;
  font-variant-numeric:tabular-nums !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-total-dot {
  width:7px !important;height:7px !important;
  background:#e9ad50 !important;
  border-radius:50% !important;
  box-shadow:0 0 0 3px rgba(233,173,80,.16) !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-toolbar>div:last-child {
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-toolbar :is(.thrs-calendar-nav-btn,.thrs-calendar-today-btn) {
  min-width:69px !important;
  min-height:39px !important;
  padding:8px 12px !important;
  border-radius:10px !important;
  font-size:11.7px !important;
  font-weight:870 !important;
  line-height:1.2 !important;
  transition:border-color .16s,background-color .16s,box-shadow .16s !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-toolbar .thrs-calendar-nav-btn {
  background:rgba(255,255,255,.13) !important;
  color:#f7fbff !important;
  border:1px solid rgba(237,243,249,.33) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08) !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-toolbar .thrs-calendar-nav-btn:hover {
  background:rgba(255,255,255,.23) !important;
  border-color:#e6b56b !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-toolbar .thrs-calendar-today-btn {
  background:linear-gradient(135deg,#ffe1ac,#d9a251) !important;
  border:1px solid #f8d39a !important;
  color:#10324e !important;
  box-shadow:0 4px 12px rgba(3,23,42,.19) !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-toolbar .thrs-calendar-today-btn:hover {
  background:linear-gradient(135deg,#ffebc9,#e6b067) !important;
}

/* Legend: separated source types, with real counts. */
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-legend-chip {
  min-height:31px !important;
  padding:6px 9px !important;
  gap:7px !important;
  border-radius:9px !important;
  border:1px solid var(--cal41-line) !important;
  background:linear-gradient(140deg,var(--cal41-paper),var(--cal41-soft)) !important;
  color:var(--cal41-ink) !important;
  box-shadow:0 2px 5px rgba(14,43,73,.038) !important;
  font-size:10.4px !important;
  font-weight:780 !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-legend-chip>span:first-child {
  width:8px !important;height:8px !important;
  flex:0 0 8px !important;
  box-shadow:0 0 0 3px rgba(25,57,83,.045) !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-legend-count {
  display:inline-grid !important;
  place-items:center !important;
  min-width:24px !important;
  min-height:20px !important;
  padding:3px 6px !important;
  margin-inline-start:4px !important;
  border-radius:7px !important;
  background:var(--cal41-subtle) !important;
  color:var(--cal41-muted) !important;
  border:1px solid var(--cal41-line) !important;
  font-size:9.6px !important;
  font-weight:920 !important;
  font-variant-numeric:tabular-nums !important;
}

/* Week grid and day cells: sharper spacing, no excess vertical gaps. */
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-scroll {
  min-width:0 !important;
  overflow-x:auto !important;
  overscroll-behavior-inline:contain !important;
  padding:8px !important;
  border:1px solid var(--cal41-line) !important;
  border-radius:13px !important;
  background:var(--cal41-soft) !important;
  box-shadow:inset 0 1px 3px rgba(11,40,66,.035) !important;
  scrollbar-width:thin !important;
  scrollbar-color:var(--cal41-gold) transparent !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-scroll>div {
  min-width:840px !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-weekday {
  min-height:36px !important;
  padding:9px 5px !important;
  border-radius:8px !important;
  border:1px solid rgba(236,194,130,.10) !important;
  background:linear-gradient(125deg,#103b58,#082a43) !important;
  color:#f8fbff !important;
  font-size:11.3px !important;
  letter-spacing:.045em !important;
  line-height:1.25 !important;
  font-weight:920 !important;
  box-shadow:0 2px 5px rgba(10,37,60,.09) !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-day {
  position:relative !important;
  min-height:160px !important;
  padding:8px !important;
  gap:6px !important;
  border-radius:10px !important;
  border:1px solid var(--cal41-line) !important;
  background:var(--cal41-paper) !important;
  box-shadow:var(--cal41-cell-shadow) !important;
  opacity:1 !important;
  transition:background-color .15s,border-color .15s,box-shadow .15s !important;
  overflow:hidden !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-day:hover {
  background:color-mix(in srgb,var(--cal41-gold) 3%,var(--cal41-paper)) !important;
  border-color:color-mix(in srgb,var(--cal41-gold) 58%,var(--cal41-line)) !important;
  box-shadow:0 6px 15px rgba(11,43,69,.095) !important;
  transform:none !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-day.is-muted {
  background:var(--cal41-subtle) !important;
  color:var(--cal41-muted) !important;
  opacity:.78 !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-day.is-today {
  background:color-mix(in srgb,var(--cal41-gold) 8%,var(--cal41-paper)) !important;
  border:2px solid var(--cal41-gold) !important;
  box-shadow:0 4px 12px rgba(173,115,42,.10) !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-day>div:first-child {
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  justify-content:space-between !important;
  min-width:0 !important;
  min-height:24px !important;
  gap:3px 5px !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-day>div:first-child>span:first-child {
  display:grid !important;
  place-items:center !important;
  min-width:25px !important;
  width:25px !important;
  height:25px !important;
  padding:2px !important;
  border-radius:8px !important;
  background:var(--cal41-subtle) !important;
  color:var(--cal41-ink) !important;
  font-size:11.2px !important;
  line-height:1 !important;
  font-weight:930 !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-day.is-today>div:first-child>span:first-child {
  background:linear-gradient(145deg,#f8d593,#d59a43) !important;
  color:#0c2c48 !important;
  box-shadow:0 2px 6px rgba(181,126,44,.15) !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-day-total {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:3px !important;
  min-height:21px !important;
  padding:3px 6px !important;
  border-radius:8px !important;
  border:1px solid var(--cal41-line) !important;
  background:var(--cal41-subtle) !important;
  color:var(--cal41-muted) !important;
  font-size:9.2px !important;
  font-weight:850 !important;
  white-space:nowrap !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-day-total span {
  color:var(--cal41-muted) !important;
  font-size:8.6px !important;
  font-weight:740 !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-weekend-tag {
  display:inline-flex !important;
  align-items:center !important;
  min-height:19px !important;
  padding:3px 6px !important;
  border:1px solid var(--cal41-line) !important;
  border-radius:999px !important;
  background:var(--cal41-subtle) !important;
  color:var(--cal41-muted) !important;
  font-size:8.5px !important;
  line-height:1.1 !important;
  font-weight:810 !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-day-events {
  display:flex !important;
  flex-direction:column !important;
  min-width:0 !important;
  width:100% !important;
  flex:1 !important;
  gap:4px !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-event-preview {
  display:flex !important;
  align-items:flex-start !important;
  width:100% !important;
  min-height:29px !important;
  max-width:100% !important;
  padding:4px 5px !important;
  gap:6px !important;
  border-radius:7px !important;
  border:1px solid color-mix(in srgb,var(--calendar-event-accent) 29%,var(--cal41-line)) !important;
  background:color-mix(in srgb,var(--calendar-event-accent) 7%,var(--cal41-paper)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06) !important;
  white-space:normal !important;
  overflow:hidden !important;
  text-align:start !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-preview-accent {
  display:block !important;
  flex:0 0 3px !important;
  height:26px !important;
  min-height:20px !important;
  border-radius:4px !important;
  background:var(--calendar-event-accent) !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-preview-content {
  min-width:0 !important;
  flex:1 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:1px !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-preview-title {
  display:block !important;
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  color:var(--cal41-ink) !important;
  font-size:10.3px !important;
  line-height:1.24 !important;
  font-weight:870 !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-preview-time {
  display:block !important;
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  direction:ltr !important;
  unicode-bidi:isolate !important;
  text-align:start !important;
  color:var(--cal41-muted) !important;
  font-size:9.15px !important;
  line-height:1.2 !important;
  font-weight:740 !important;
  font-variant-numeric:tabular-nums !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-more-count {
  display:inline-flex !important;
  align-items:center !important;
  align-self:flex-start !important;
  gap:3px !important;
  width:max-content !important;
  max-width:100% !important;
  min-height:20px !important;
  margin-top:auto !important;
  padding:3px 7px !important;
  border-radius:999px !important;
  border:1px solid color-mix(in srgb,var(--cal41-gold) 40%,var(--cal41-line)) !important;
  background:var(--cal41-gold-soft) !important;
  color:var(--cal41-ink) !important;
  font-size:9.5px !important;
  line-height:1.25 !important;
  font-weight:900 !important;
  white-space:nowrap !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-more-count span {
  color:var(--cal41-muted) !important;
  font-size:9.1px !important;
  font-weight:780 !important;
}

/* Day detail modal — navy heading, tidy dense records and bounded scrolling. */
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-overlay {
  background:rgba(2,17,33,.70) !important;
  backdrop-filter:blur(5px) !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-modal {
  width:min(100%,700px) !important;
  max-width:700px !important;
  max-height:min(85vh,790px) !important;
  overflow-y:auto !important;
  background:var(--cal41-paper) !important;
  color:var(--cal41-ink) !important;
  border:1px solid color-mix(in srgb,var(--cal41-gold) 32%,var(--cal41-line)) !important;
  border-radius:18px !important;
  box-shadow:0 30px 90px rgba(0,9,26,.37) !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-header {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  position:sticky !important;
  top:0 !important;
  z-index:5 !important;
  padding:18px 22px !important;
  background:linear-gradient(115deg,#0b2b45,#153f59) !important;
  border-bottom:1px solid rgba(240,201,141,.55) !important;
  box-shadow:0 4px 12px rgba(0,17,38,.1) !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-header>div>div:first-child {
  color:#d5e5f1 !important;
  font-size:11px !important;
  font-weight:720 !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-header h4 {
  margin-top:5px !important;
  color:#fff !important;
  font-size:23px !important;
  font-weight:940 !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-modal-total {
  display:inline-flex !important;
  margin-top:9px !important;
  padding:6px 10px !important;
  border-radius:999px !important;
  border:1px solid rgba(233,188,124,.45) !important;
  background:rgba(255,255,255,.10) !important;
  color:#ffe0b4 !important;
  font-size:11px !important;
  font-weight:820 !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-header .thrs-calendar-nav-btn {
  min-width:65px !important;
  min-height:36px !important;
  padding:8px 12px !important;
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
  border:1px solid rgba(238,211,170,.55) !important;
  border-radius:10px !important;
  font-size:11px !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-header .thrs-calendar-nav-btn:hover {
  background:rgba(255,255,255,.22) !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-list {
  display:grid !important;
  gap:10px !important;
  padding:16px !important;
  background:var(--cal41-soft) !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-item {
  min-width:0 !important;
  margin:0 !important;
  padding:14px !important;
  border:1px solid var(--cal41-line) !important;
  border-inline-start:3px solid var(--calendar-event-accent) !important;
  border-radius:12px !important;
  background:var(--cal41-paper) !important;
  box-shadow:0 3px 9px rgba(11,43,69,.045) !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-item-head {
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:flex-start !important;
  gap:8px !important;
  margin-bottom:10px !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-item-head>strong {
  min-width:0 !important;
  flex:1 !important;
  color:var(--cal41-ink) !important;
  font-size:13.5px !important;
  line-height:1.4 !important;
  font-weight:890 !important;
  overflow-wrap:anywhere !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-status {
  min-height:27px !important;
  padding:5px 9px !important;
  border-radius:999px !important;
  color:var(--cal41-ink) !important;
  border:1px solid color-mix(in srgb,var(--calendar-event-accent) 36%,var(--cal41-line)) !important;
  background:color-mix(in srgb,var(--calendar-event-accent) 9%,var(--cal41-paper)) !important;
  font-size:10.5px !important;
  font-weight:810 !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced :is(.thrs-calendar-detail-line,.thrs-calendar-detail-description) {
  color:var(--cal41-muted) !important;
  font-size:11.8px !important;
  font-weight:670 !important;
  line-height:1.55 !important;
  overflow-wrap:anywhere !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-line strong {
  color:var(--cal41-ink) !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-meta {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:8px !important;
  margin-top:12px !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-meta-field {
  padding:9px 10px !important;
  background:var(--cal41-soft) !important;
  border:1px solid var(--cal41-line) !important;
  border-radius:9px !important;
  color:var(--cal41-muted) !important;
  font-size:11px !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-meta-field strong {
  color:var(--cal41-ink) !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced :is(button,.thrs-calendar-nav-btn):focus-visible {
  outline:2px solid var(--cal41-gold) !important;
  outline-offset:2px !important;
}

/* Preserve the 7-column calendar as an in-component horizontal scroll on phones. */
@media (max-width:900px) {
  html[data-theme] .work-schedules-pro .ws-panel:has(.thrs-calendar-enhanced)>.thrs-card-header+div {
    padding:12px !important;
  }
  html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-toolbar {
    padding:16px !important;
    min-height:96px !important;
  }
  html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-scroll {
    padding:6px !important;
  }
}
@media (max-width:560px) {
  html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-toolbar {
    padding:15px 13px !important;
    gap:12px !important;
  }
  html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-heading-line h3 {
    font-size:24px !important;
  }
  html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-toolbar>div:last-child {
    display:grid !important;
    width:100% !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:7px !important;
  }
  html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-toolbar>div:last-child>button {
    width:100% !important;
    min-width:0 !important;
  }
  html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-list {
    padding:10px !important;
  }
  html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-meta {
    grid-template-columns:1fr !important;
  }
  html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-header {
    padding:14px !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  html[data-theme] .work-schedules-pro .thrs-calendar-enhanced * {
    transition:none !important;
    animation:none !important;
  }
}
/* Match the reference's compact event bars, overriding older generic event badge padding. */
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-day .thrs-calendar-day-events>.thrs-calendar-event-preview[title] {
  padding:3px 5px !important;
  min-height:30px !important;
  box-shadow:none !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-day .thrs-calendar-day-events>.thrs-calendar-event-preview[title] .thrs-calendar-preview-title {
  font-size:11px !important;
  line-height:1.22 !important;
}
html[data-theme] .work-schedules-pro .thrs-calendar-enhanced .thrs-calendar-detail-item-head>strong {
  font-size:14px !important;
}
