/* Calendar workspace: one date hierarchy, a source rail, and a bounded work surface.
   Event placement, scroll containment, and native date inputs remain module-owned. */
/* Native iOS controls carry an intrinsic width and appearance. The sheet lives
   outside .cal-root, so it needs its own sizing reset rather than the grid's. */
body.workspace-design .cal-pop {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.workspace-design .cal-pop :is(.cal-pop-body,.cal-card,.cal-when-grid,.cal-field) {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.workspace-design .cal-pop .cal-when-grid {
  grid-template-columns: minmax(0, 1fr);
}
body.workspace-design .cal-pop .cal-input,
body.workspace-design .cal-pop .cal-title-input {
  /* Explicitly contain padding and native segments even after module styles load. */
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-inline-size: 0 !important;
  max-inline-size: 100% !important;
  -webkit-appearance: none;
  appearance: none;
}
body.workspace-design .cal-pop input::-webkit-date-and-time-value {
  min-width: 0;
  text-align: left;
}
/* External Calendar cards do not inherit the private aliases on .cal-root. */
body.workspace-design #modalBackdrop :is(.cal-pop,.cal-detail,.cal-rsco,.cal-kbd-card,.cal-gsetup) {
  --cal-line: var(--ws-line);
  --cal-line-soft: color-mix(in srgb, var(--ws-line) 65%, transparent);
  --cal-line-strong: var(--ws-line);
  --cal-ease: var(--ease);
  --cal-fast: var(--dur-1);
  --cal-mid: var(--dur-2);
  --cal-slow: var(--dur-3);
}
body.workspace-design[data-module="calendar"] #content.cal-root {
  max-width: none;
  padding: 22px 24px 24px;
  --cal-rail: 210px;
  --text: var(--ws-ink);
  --text-2: var(--ws-ink);
  --text-3: var(--ws-muted);
  --hairline: var(--ws-line);
  --cal-line: var(--ws-line);
  --cal-line-soft: color-mix(in srgb, var(--ws-line) 65%, transparent);
  --cal-line-strong: var(--ws-line);
  --surface: var(--ws-surface);
  --glass: var(--ws-surface);
  --glass-strong: var(--ws-surface);
  --card: var(--ws-surface);
  --surface-2: var(--ws-surface-soft);
  --row-hover: var(--ws-surface-soft);
  --accent: var(--ws-accent);
  --blur: none;
  --shadow-sm: none;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
}
body.workspace-design[data-module="calendar"] .cal-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 20px;
  padding: 0 0 16px;
  flex: 0 0 auto;
}
body.workspace-design[data-module="calendar"] .cal-header .cal-hl {
  gap: 8px;
  min-width: 0;
  flex-wrap: nowrap;
}
body.workspace-design[data-module="calendar"] .cal-header .cal-range {
  order: -1;
  margin-right: 12px;
  padding: 0;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.2;
  white-space: nowrap;
}
body.workspace-design[data-module="calendar"] .cal-header .cal-hc {
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  min-width: 0;
}
body.workspace-design[data-module="calendar"] .cal-header .cal-hr {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  gap: 8px;
  flex-wrap: nowrap;
  overflow: visible;
  padding: 0;
}
body.workspace-design[data-module="calendar"] .cal-header .cal-search {
  order: 0;
  width: 260px;
  flex: 0 1 300px;
  height: 38px;
  margin-right: auto;
  border: 1px solid var(--ws-line);
  border-radius: 8px;
  background: var(--ws-surface);
}
body.workspace-design[data-module="calendar"] .cal-header .cal-search-input {
  font-family: inherit;
  font-size: 13px;
}
body.workspace-design[data-module="calendar"] .cal-header :is(.cal-btn,.cal-icon,.cal-rpicker-btn) {
  min-height: 38px;
  color: var(--ws-ink);
  background: var(--ws-surface);
  border: 1px solid var(--ws-line);
  border-radius: 8px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 600;
}
body.workspace-design[data-module="calendar"] .cal-header .cal-icon { width: 34px; padding: 0; }
body.workspace-design[data-module="calendar"] .cal-header .cal-nav {
  background: var(--ws-surface);
  border: 1px solid var(--ws-line);
  border-radius: 8px;
  padding: 0;
  gap: 0;
}
body.workspace-design[data-module="calendar"] .cal-header .cal-nav .cal-icon { border: 0; background: transparent; }
body.workspace-design[data-module="calendar"] .cal-header .cal-new {
  order: 3;
  background: var(--ws-ink);
  color: var(--ws-surface);
  border-color: var(--ws-ink);
  padding: 0 15px;
  flex-shrink: 0;
}
body.workspace-design[data-module="calendar"] .cal-header .cal-new:hover { opacity: .88; }
body.workspace-design[data-module="calendar"] .cal-header .cal-new span { display: inline; }
body.workspace-design[data-module="calendar"] .cal-header .cal-seg {
  padding: 3px;
  border: 1px solid var(--ws-line);
  border-radius: 9px;
  background: var(--ws-surface-soft);
  box-shadow: none;
}
body.workspace-design[data-module="calendar"] .cal-header .cal-seg-btn {
  min-height: 32px;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 6px;
  color: var(--ws-muted);
}
body.workspace-design[data-module="calendar"] .cal-header .cal-seg-btn.on {
  background: var(--ws-surface);
  color: var(--ws-ink);
  box-shadow: 0 1px 3px #0000000d;
  font-weight: 700;
}
body.workspace-design .cal-tools { order: 2; position: relative; }
body.workspace-design .cal-tools > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; }
body.workspace-design .cal-tools > summary::-webkit-details-marker { display: none; }
body.workspace-design .cal-tools:not([open]) .cal-tools-menu { display: none; }
body.workspace-design .cal-tools[open] > summary { background: var(--ws-surface-soft); }
body.workspace-design .cal-tools-menu { display: flex; position: absolute; right: 0; top: calc(100% + 8px); width: 208px; padding: 8px; gap: 6px; flex-direction: column; align-items: stretch; border: 1px solid var(--ws-line); border-radius: 10px; background: var(--ws-surface); box-shadow: 0 12px 32px #17252826; z-index: 80; }
body.workspace-design .cal-tools-menu > * { width: 100%; justify-content: flex-start; margin: 0; }
body.workspace-design .cal-tools-menu .cal-zoom-btns { justify-content: space-around; }
body.workspace-design .cal-tools-menu .cal-zoom-btns::before { content: 'Time scale'; padding-left: 8px; margin-right: auto; font-size: 12px; }
body.workspace-design .cal-tools-menu .cal-kbd-help-btn { width: 100%; }
body.workspace-design .cal-tools-menu .cal-kbd-help-btn::after { content: ' Keyboard shortcuts'; padding-left: 8px; }
body.workspace-design .cal-tools-menu .cal-export span { display: inline; }
body.workspace-design .cal-sources-button,
body.workspace-design .cal-sources-head { display: none; }
body.workspace-design[data-module="calendar"] .cal-layout { gap: 20px; position: relative; }
body.workspace-design[data-module="calendar"] .cal-sidebar {
  padding: 0 14px 8px 0;
  gap: 4px;
  border: 0;
  border-right: 1px solid var(--ws-line);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  scrollbar-width: thin;
}
body.workspace-design[data-module="calendar"] .cal-mini { padding: 0 0 14px; margin: 0 0 12px; border-color: var(--ws-line); }
body.workspace-design[data-module="calendar"] .cal-mini-bar { gap: 2px; padding: 0 0 8px; }
body.workspace-design[data-module="calendar"] .cal-mini-title { font-size: 12px; font-weight: 650; }
body.workspace-design[data-module="calendar"] .cal-mini-day { min-height: 26px; height: 26px; font-size: 11px; }
body.workspace-design[data-module="calendar"] .cal-mini-daynum { min-width: 26px; height: 26px; border-radius: 6px; }
body.workspace-design[data-module="calendar"] .cal-side-h { padding: 12px 6px 8px; font-size: 10px; letter-spacing: .1em; }
body.workspace-design[data-module="calendar"] .cal-cal-row { gap: 8px; padding: 7px 6px; min-height: 36px; font-size: 12px; border-radius: 6px; }
body.workspace-design[data-module="calendar"] .cal-cal-row.on { background: var(--ws-surface); }
body.workspace-design[data-module="calendar"] .cal-cal-swatch { width: 16px; height: 16px; border-radius: 5px; }
body.workspace-design[data-module="calendar"] .cal-cal-row:focus-within { outline: 2px solid var(--ws-accent); outline-offset: -2px; }
body.workspace-design[data-module="calendar"] .cal-cal-count { font-size: 10px; background: var(--ws-surface-soft); }
body.workspace-design[data-module="calendar"] .cal-source-quick .cal-mobile-owner { display: flex; border-radius: 7px; padding: 2px; gap: 2px; background: var(--ws-surface-soft); border: 1px solid var(--ws-line); }
body.workspace-design[data-module="calendar"] .cal-source-quick .cal-mo-chip { min-height: 30px; flex: 1; padding: 4px; border-radius: 5px; font-size: 11px; }
body.workspace-design[data-module="calendar"] .cal-source-quick .cal-mo-chip.on { background: var(--ws-surface); color: var(--ws-ink); }
body.workspace-design[data-module="calendar"] .cal-legend { border-color: var(--ws-line); margin-top: 12px; padding-top: 12px; }
body.workspace-design[data-module="calendar"] .cal-legend-row { min-height: 32px; font-size: 11px; }
body.workspace-design[data-module="calendar"] :is(.cal-mgrid,.cal-week,.cal-agenda) {
  background: var(--ws-surface);
  border: 1px solid var(--ws-line);
  border-radius: 10px;
  box-shadow: none;
  backdrop-filter: none;
}
body.workspace-design[data-module="calendar"] .cal-mhead { background: var(--ws-canvas); }
body.workspace-design[data-module="calendar"] .cal-mhcell { padding: 4px 10px 10px; font-size: 10px; letter-spacing: .08em; color: var(--ws-muted); }
body.workspace-design[data-module="calendar"] .cal-cell { padding: 7px; border-color: var(--cal-line-soft); background: var(--ws-surface); }
body.workspace-design[data-module="calendar"] .cal-cell:is(.out,.is-weekend) { background: var(--ws-surface-soft); }
body.workspace-design[data-module="calendar"] .cal-cell.today { outline: 0; background: color-mix(in srgb, var(--ws-accent) 3%, var(--ws-surface)); }
body.workspace-design[data-module="calendar"] .cal-cellnum { justify-content: flex-start; font-size: 11px; }
body.workspace-design[data-module="calendar"] .cal-cellnum > span:last-child { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; border-radius: 6px; }
body.workspace-design[data-module="calendar"] .cal-chip-ev { border-radius: 4px; padding: 3px 5px; font-size: 11px; }
body.workspace-design[data-module="calendar"] .cal-chip-task { border: 0; border-left: 2px solid var(--ws-line); border-radius: 0; padding: 2px 4px; color: var(--ws-muted); }
body.workspace-design[data-module="calendar"] .cal-upnext { flex-wrap: nowrap; min-height: 48px; padding: 7px 12px; margin: 0 0 10px; border: 1px solid var(--ws-line); border-radius: 8px; background: var(--ws-surface); box-shadow: none; overflow-x: auto; }
body.workspace-design[data-module="calendar"] :is(.cal-tg-head,.cal-tg-allday,.cal-ag-dayhdr) { background: var(--ws-surface); background-image: none; backdrop-filter: none; border-color: var(--ws-line); }
body.workspace-design[data-module="calendar"] .cal-wh-wd { font-size: 10px; letter-spacing: .07em; }
body.workspace-design[data-module="calendar"] .cal-wh-num { border-radius: 7px; }
body.workspace-design[data-module="calendar"] .cal-block { box-shadow: none; border-radius: 5px; }
body.workspace-design[data-module="calendar"] .cal-block-t { font-size: 11px; font-weight: 650; }
body.workspace-design[data-module="calendar"] .cal-agenda { padding: 8px 14px; }
body.workspace-design[data-module="calendar"] .cal-ag-dayhdr { border-bottom: 1px solid var(--ws-line); }
body.workspace-design[data-module="calendar"] :is(button,input,summary):focus-visible { outline: 2px solid var(--ws-accent); outline-offset: 2px; }
@media (max-width: 1100px) {
  body.workspace-design[data-module="calendar"] #content.cal-root { --cal-rail: 185px; padding: 18px; }
  body.workspace-design[data-module="calendar"] .cal-layout { gap: 14px; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-range { margin-right: 4px; font-size: 20px; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-seg-btn { padding-inline: 10px; }

}
@media (max-width: 900px) {
  body.workspace-design[data-module="calendar"] .cal-header { grid-template-columns: 1fr; gap: 10px; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-hc { justify-content: flex-start; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-range { flex: 1; margin-right: auto; }
}
@media (max-width: 760px) {
  body.workspace-design #modalBackdrop .cal-pop-x { min-width: 44px; min-height: 44px; }
  body.workspace-design[data-module="calendar"] #content.cal-root { padding: 12px 12px calc(80px + env(safe-area-inset-bottom, 0px)); }
  body.workspace-design[data-module="calendar"] .cal-header { display: grid; gap: 7px; padding: 0 0 12px; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-hl { order: 0; gap: 4px; min-height: 44px; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-range { flex: 1; font-size: clamp(16px, 4.2vw, 22px); letter-spacing: -.04em; margin: 0 4px 0 0; overflow: hidden; text-overflow: ellipsis; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-hc { order: 1; flex-wrap: nowrap; gap: 6px; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-seg { flex: 1 1 auto; min-height: 44px; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-seg-btn { min-height: 38px; font-size: 12px; padding: 6px; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-rpicker-wrap { flex: 0 0 auto; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-rpicker-btn { width: 48px; min-height: 44px; padding: 0; justify-content: center; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-rp-label { display: none; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-hr { order: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-search { order: 3; grid-column: 1 / -1; width: 100%; height: 40px; min-height: 40px; flex: none; margin: 0; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-new { order: 0; min-height: 44px; min-width: 0; font-size: 12px; padding: 0 12px; justify-content: flex-start; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-sources-button { display: inline-flex; order: 1; min-height: 44px; padding: 0 10px; min-width: 0; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-tools { order: 2; min-height: 44px; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-tools > summary { min-height: 44px; padding: 0 10px; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-nav-arrows .cal-icon { width: 38px; min-height: 44px; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-today { min-height: 44px; padding: 0 10px; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-tools-menu :is(.cal-btn,.cal-icon,.cal-chip) { display: inline-flex; min-height: 44px; }
  body.workspace-design[data-module="calendar"] .cal-layout { grid-template-columns: minmax(0,1fr); gap: 0; }
  body.workspace-design[data-module="calendar"] .cal-sidebar { display: none; }
  body.workspace-design[data-module="calendar"] .cal-sources-open .cal-sidebar { display: flex; position: absolute; inset: 0; width: 100%; padding: 12px; border: 1px solid var(--ws-line); border-radius: 10px; background: var(--ws-surface); z-index: 30; overscroll-behavior: contain; }
  body.workspace-design[data-module="calendar"] .cal-sources-open .cal-body { visibility: hidden; }
  body.workspace-design[data-module="calendar"] .cal-sources-head { order: -2; display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding-bottom: 8px; }
  body.workspace-design[data-module="calendar"] .cal-sources-close { width: 44px; height: 44px; }
  body.workspace-design[data-module="calendar"] .cal-sidebar .cal-mini { display: none; }
  body.workspace-design[data-module="calendar"] .cal-source-quick .cal-mo-chip,
  body.workspace-design[data-module="calendar"] .cal-cal-row,
  body.workspace-design[data-module="calendar"] .cal-legend-row { min-height: 44px; }
  body.workspace-design[data-module="calendar"] .cal-mhcell { padding: 2px 3px 8px; font-size: 9px; }
  body.workspace-design[data-module="calendar"] .cal-cell { padding: 4px 2px; min-height: 64px; }
  body.workspace-design[data-module="calendar"] .cal-cellnum { font-size: 10px; }
  body.workspace-design[data-module="calendar"] .cal-cellnum > span:last-child { min-width: 22px; height: 22px; }
  body.workspace-design[data-module="calendar"] .cal-chip-task { padding: 1px 2px; }
  body.workspace-design[data-module="calendar"] .cal-upnext { padding: 6px 8px; min-height: 42px; }
}
/* Keep a usable calendar window on short phones; the outer page can scroll. */
@media (max-width: 760px) and (max-height: 740px) {
  body.workspace-design[data-module="calendar"] .cal-header { gap: 4px; padding-bottom: 6px; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-search { height: 36px; min-height: 36px; }
  body.workspace-design[data-module="calendar"] #content.cal-root { min-height: 510px; }
}

@media (max-width: 760px) {
  body.workspace-design[data-module="calendar"] .cal-header .cal-new { margin: 0; width: 100%; }
  body.workspace-design[data-module="calendar"] .cal-header .cal-search-input { font-size: 16px; }
}
/* Sticky day header and all-day lane share one explicit measured height. */
body.workspace-design[data-module="calendar"] .cal-wh-day {
  height: 64px;
  min-height: 64px;
  padding: 6px 2px;
  gap: 2px;
}
body.workspace-design[data-module="calendar"] .cal-wh-wd { line-height: 12px; }
body.workspace-design[data-module="calendar"] .cal-wh-num { height: 30px; min-height: 30px; }
body.workspace-design[data-module="calendar"] .cal-tg-allday { top: 65px; }
@media (max-width: 760px) {
  body.workspace-design[data-module="calendar"] .cal-wh-day { height: 56px; min-height: 56px; padding: 5px 1px; }
  body.workspace-design[data-module="calendar"] .cal-wh-num { height: 28px; min-height: 28px; }
  body.workspace-design[data-module="calendar"] .cal-tg-allday { top: 57px; }
  body.workspace-design[data-module="calendar"] .cal-upnext { height: 48px; min-height: 48px; padding: 4px 8px; }
  body.workspace-design[data-module="calendar"] .cal-upn-today { flex: 0 0 auto; flex-wrap: nowrap; white-space: nowrap; margin: 0; gap: 6px; }
  body.workspace-design[data-module="calendar"] .cal-upn-today-v { font-size: 12px; }
  body.workspace-design[data-module="calendar"] .cal-upn-today-busy { font-size: 11px; }
  body.workspace-design[data-module="calendar"] .cal-upn-tasks { flex: 0 0 auto; }
  body.workspace-design[data-module="calendar"] .cal-upn-task { max-width: 150px; }
  body.workspace-design[data-module="calendar"] .cal-upn-task-t { display: block; }
  body.workspace-design[data-module="calendar"] .cal-upn-spacer { display: none; }
  body.workspace-design[data-module="calendar"] .cal-upn-clear { flex: 0 0 auto; }
}
@media (max-width: 760px) and (max-height: 740px) {
  body.workspace-design[data-module="calendar"] #content.cal-root { min-height: 650px; }
}

/* Quiet event surfaces; timeline dimensions and drag coordinates remain module-owned. */
body.workspace-design[data-module="calendar"] .cal-block:not(.cal-block-ooo) {
  background: color-mix(in srgb, var(--evc) 6%, var(--ws-surface));
  border-top-color: color-mix(in srgb, var(--evc) 16%, var(--ws-line));
  border-right-color: color-mix(in srgb, var(--evc) 16%, var(--ws-line));
  border-bottom-color: color-mix(in srgb, var(--evc) 16%, var(--ws-line));
}
body.workspace-design[data-module="calendar"] .cal-block:not(.cal-block-ooo):hover { background: color-mix(in srgb, var(--evc) 11%, var(--ws-surface)); }
body.workspace-design[data-module="calendar"] .cal-wh-num { font-size: 16px; font-weight: 650; }
body.workspace-design[data-module="calendar"] .cal-inactive-sources { margin-top: 8px; border-top: 1px solid var(--ws-line); padding-top: 6px; }
body.workspace-design[data-module="calendar"] .cal-inactive-sources > summary { cursor: pointer; padding: 10px 6px; font-size: 11px; color: var(--ws-muted); }
body.workspace-design[data-module="calendar"] .cal-inactive-sources > summary span { display: block; padding-top: 4px; font-size: 10px; }
body.workspace-design[data-module="calendar"] .cal-inactive-sources > p { margin: 0 6px 6px; font-size: 11px; color: var(--ws-muted); }
@media (max-width: 760px) {
  body.workspace-design[data-module="calendar"] .cal-wh-num { font-size: 14px; }
  body.workspace-design[data-module="calendar"] .cal-inactive-sources > summary { min-height: 44px; }
}

/* Contain native date controls within the viewport-sized range picker. */
body.workspace-design[data-module="calendar"] .cal-rp-drop {
  box-sizing: border-box; width: min(320px, calc(100vw - 24px)); min-width: 0;
  max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); overflow: auto;
  padding: 12px; border: 1px solid var(--ws-line); border-radius: 12px;
  background: var(--ws-surface); box-shadow: 0 12px 32px #17252826;
}
body.workspace-design[data-module="calendar"] .cal-rp-presets { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; padding: 0 0 8px; }
body.workspace-design[data-module="calendar"] .cal-rp-pill { min-height: 38px; padding: 6px 8px; font-size: 12px; border-radius: 7px; }
body.workspace-design[data-module="calendar"] .cal-rp-custom-inputs { min-width: 0; padding: 8px 0 0; }
body.workspace-design[data-module="calendar"] .cal-rp-input-row { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 8px; min-width: 0; }
body.workspace-design[data-module="calendar"] .cal-rp-lbl { width: auto; font-size: 11px; text-transform: none; letter-spacing: 0; }
body.workspace-design[data-module="calendar"] .cal-rp-date { box-sizing: border-box; display: block; width: 100%; min-width: 0; max-width: 100%; min-inline-size: 0; max-inline-size: 100%; appearance: none; -webkit-appearance: none; font-size: 14px; min-height: 40px; padding: 8px; border-radius: 7px; }
body.workspace-design[data-module="calendar"] .cal-rp-date::-webkit-date-and-time-value { min-width: 0; text-align: left; }
body.workspace-design[data-module="calendar"] .cal-rp-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }
body.workspace-design[data-module="calendar"] .cal-rp-actions > button { min-height: 40px; padding: 8px 16px; border-radius: 7px; }
body.workspace-design[data-module="calendar"] .cal-rp-error { margin: 0; color: var(--red, #b91c1c); font-size: 12px; }
@media (max-width: 760px) {
  body.workspace-design[data-module="calendar"] :is(.cal-rp-pill,.cal-rp-date,.cal-rp-actions > button) { min-height: 44px; }
  body.workspace-design[data-module="calendar"] .cal-rp-date { font-size: 16px; }
}
