/* ============================================================================
   Kalender-/Zeitraster (Kern) — Baustein Core\Design::calendarPart('<teil>').
   Monats-/Wochen-/Tages-/Jahresraster, Mini-Monat mit Kalenderwochen, Monatsleiste,
   Termin-Chips und -Blöcke, Heute-Markierung, Feiertag, Jetzt-Linie, Datums-/Bereichs-
   auswahl, Agenda-Karte, Trefferliste, Kategorie-Ring und das Kalender-Widget.
   Die DATENFARBE eines Termins/einer Kategorie kommt zur Laufzeit als --cc-color
   (style-Eigenschaft, Datenwert) — alles andere ist Kern-Optik. Ein Modul, das einen
   Kalender zeigt, liefert nur Daten und Anordnung, nie diese Optik.
   (Aus dem Kalender-Modul in den Kern gehoben, Selektoren 1:1 in Reihenfolge und Gewicht.)
   ============================================================================ */

/* ── Kalender-Flächen ──
   Die FENSTER-LEISTE des Kalenders ist seit 13.09.2026 die ganz normale Leiste (Design::
   calendarPart('rail') gibt nur noch .wn-sidebar aus). Ihre Teile — Monatsleiste, Mini-Monat,
   Kategorie-Ringe, Agenda-Karten — tragen deshalb hier die GLOBALEN Rollen (--ink/--grey-500/
   --muted/--border) statt hell-auf-dunkel. Es gibt kein Kalender-Design: ein Modul liefert
   Daten und Anordnung, nie eigene Optik (Florian: „alle sidebars haben EIN design, systemweit").
   Auch die Werkzeugleiste (.cc-cal-bar) trägt keine eigene Fläche mehr. Dunkel bleibt allein,
   was im ganzen System dunkel ist: die KOPFZEILEN der Raster — genau wie jeder Tabellenkopf. ── */
/* Als Fenster-Leiste (Teil 'rail', trägt zusätzlich die Leisten-Klasse der Fensternavigation) mit doppelter
   Klasse, damit die helle Standard-Leiste nicht gewinnt — egal in welcher Reihenfolge die Dateien laden. */
.cc-cal-bar { background: var(--surface); }
.cc-cal-canvas { background: var(--surface-2); }
.cc-cal-rail-title { display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--grey-500); text-transform: uppercase; letter-spacing: var(--tracking); margin-bottom: var(--sp-3); }

/* ── Trefferliste unter einem Suchfeld ── */
.cc-cal-drop { background: var(--surface); border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-md); }
.cc-cal-drop .cc-empty, .cc-cal-drop .cc-empty.cc-empty-sm { padding: var(--sp-5) var(--sp-4); text-align: center; }
.cc-cal-hit { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); cursor: pointer; font-size: var(--fs-sm); }
.cc-cal-hit:hover { background: var(--grey-100); }
.cc-cal-hit-info { flex: 1; min-width: 0; }
.cc-cal-hit-title { font-weight: var(--fw-med); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-cal-hit-date { font-size: var(--fs-xs); color: var(--muted); }

/* ── Mini-Monat (dunkel, mit Kalenderwochen) ── */
.cc-cal-mini { display: grid; grid-template-columns: repeat(7, 1fr); }
.cc-cal-mini-weeks { grid-template-columns: 22px repeat(7, 1fr); }
.cc-cal-mini-corner { font-size: var(--fs-2xs); color: transparent; }
.cc-cal-mini-wk { font-size: var(--fs-2xs); font-weight: var(--fw-heavy); color: var(--grey-500); display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--border); padding-right: var(--sp-1); }
.cc-cal-mini-dn { font-size: var(--fs-2xs); color: var(--grey-500); text-align: center; padding: var(--sp-1) 0; font-weight: var(--fw-bold); }
.cc-cal-mini-day { text-align: center; font-size: var(--fs-xs); color: var(--ink); cursor: pointer; border-radius: 50%; width: var(--sz-28); height: var(--sz-28); display: flex; align-items: center; justify-content: center; margin: 0 auto; position: relative; }
.cc-cal-mini-day:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.cc-cal-mini-day.is-other { color: var(--muted); }
.cc-cal-mini-day.is-selected { box-shadow: var(--focus); }
/* Belegter Tag: Fläche in der häufigsten Datenfarbe, Deckkraft nach Anzahl (--cc-alpha, Laufzeitwert). */
.cc-cal-mini-day.has-events { background: color-mix(in srgb, var(--cc-color, var(--o)) calc(var(--cc-alpha, 0.5) * 100%), transparent); color: var(--surface); font-weight: var(--fw-bold); }
.cc-cal-mini-day.is-today { background: var(--grey-600); color: var(--surface); box-shadow: var(--focus); }

/* ── Monatsleiste (Jahr · KW, ‹ JUL AUG SEP OKT NOV ›) ── */
.cc-cal-strip-meta { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); font-size: var(--fs-2xs); font-weight: var(--fw-heavy); color: var(--grey-500); letter-spacing: var(--tracking); text-transform: uppercase; padding: var(--sp-1) 0 var(--sp-2); }
.cc-cal-strip-kw { color: var(--muted); }
.cc-cal-strip-row { position: relative; padding: 0 var(--sp-10); }
.cc-cal-strip { display: flex; align-items: center; justify-content: center; gap: var(--sp-1); overflow: hidden; padding: var(--sp-1) 0; }
.cc-cal-strip-item { background: transparent; border: none; padding: var(--sp-1) var(--sp-2); font-size: var(--fs-2xs); font-weight: var(--fw-heavy); letter-spacing: var(--tracking); color: var(--grey-500); cursor: pointer; border-radius: var(--radius); font-family: inherit; line-height: inherit; transition: color var(--dur-fast), font-size var(--dur-fast); }
.cc-cal-strip-item:hover { color: var(--ink); }
.cc-cal-strip-item.is-active { color: var(--o); font-size: var(--fs-base); font-weight: var(--fw-heavy); }
.cc-cal-strip-chev { position: absolute; top: 50%; transform: translateY(-50%); background: var(--chrome); border: none; color: var(--grey-500); cursor: pointer; padding: var(--sp-1) var(--sp-2); font-size: var(--fs-lg); line-height: 1; z-index: var(--z-raised); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.cc-cal-strip-chev:hover { color: var(--ink); }
.cc-cal-strip-chev.is-left { left: 0; }
.cc-cal-strip-chev.is-right { right: 0; }

/* ── Kategorie-Ring (Filter-Kreis im Kern-Carousel; Beschriftung hebt/blendet über --cc-carousel-ratio) ── */
.cc-cal-ring { width: var(--sz-32); height: var(--sz-32); border-radius: 50%; background: transparent; border: 3px solid var(--cc-color, var(--muted)); display: flex; align-items: center; justify-content: center; position: relative; cursor: pointer; }
.cc-cal-ring:hover { filter: brightness(1.15); }
.cc-cal-ring-dot { width: var(--sz-6); height: var(--sz-6); border-radius: 50%; background: var(--cc-color); }
.cc-cal-ring-label { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%) translateY(calc((1 - var(--cc-carousel-ratio, 1)) * -14px)); margin-bottom: var(--sp-1); font-size: var(--fs-2xs); font-weight: var(--fw-bold); color: var(--ink); white-space: nowrap; pointer-events: none; line-height: 1; opacity: calc(1 - var(--cc-carousel-ratio, 1) * 3); }   /* nur die Beschriftung des mittleren Kreises — die Nachbarn liegen 44px daneben */
.cc-cal-ring.is-inactive { border-color: color-mix(in srgb, var(--surface) 18%, transparent); opacity: var(--op-dim) !important; }

/* ── Agenda-Karte (anstehender Termin: Datumsfeld in Datenfarbe · Titel/Ort · Zeit-Plakette) ── */
.cc-cal-agenda { display: flex; align-items: stretch; background: color-mix(in srgb, var(--ink) 4%, transparent); border-radius: var(--radius); overflow: hidden; cursor: pointer; margin-bottom: var(--sp-2); transition: background var(--dur-fast); }
.cc-cal-agenda:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.cc-cal-agenda-date { flex-shrink: 0; width: var(--sz-48); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--sp-3) 0; color: var(--surface); background: var(--cc-color, var(--o)); }
.cc-cal-agenda-num { font-size: var(--fs-lg); font-weight: var(--fw-heavy); line-height: 1; }
.cc-cal-agenda-mon { font-size: var(--fs-2xs); font-weight: var(--fw-bold); margin-top: var(--sp-1); letter-spacing: var(--tracking); opacity: var(--op-strong); }
.cc-cal-agenda-info { flex: 1; min-width: 0; padding: var(--sp-3) var(--sp-4); display: flex; flex-direction: column; justify-content: center; }
.cc-cal-agenda-title { font-size: var(--fs-base); font-weight: var(--fw-bold); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.25; }
.cc-cal-agenda-sub { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--sp-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-cal-agenda-time { flex-shrink: 0; align-self: center; margin-right: var(--sp-3); white-space: nowrap; }
.cc-cal-agenda-time.is-allday { text-transform: uppercase; }

/* ============================================================
   MONATSRASTER
   ============================================================ */
.cc-cal-month { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cc-cal-mhead { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--grey-900); color: var(--grey-200); font-size: var(--fs-sm); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--tracking); }
.cc-cal-mdn { padding: var(--sp-3); text-align: center; color: color-mix(in srgb, var(--grey-200) 70%, transparent); }
.cc-cal-mgrid { display: grid; grid-template-columns: repeat(7, 1fr); flex: 1; grid-auto-rows: 1fr; }
.cc-cal-cell { border-right: 1px solid color-mix(in srgb, var(--ink) 6%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--ink) 6%, transparent); padding: var(--sp-1) var(--sp-2); min-height: var(--sz-80); overflow: hidden; position: relative; background: var(--surface-2); transition: background var(--dur-fast); }
.cc-cal-cell:nth-child(7n) { border-right: none; }
.cc-cal-cell:hover { background: var(--grey-100); }
.cc-cal-cell.is-other { background: var(--grey-50); color: color-mix(in srgb, var(--ink) 35%, transparent); }
.cc-cal-cell.is-other .cc-cal-cell-date { color: color-mix(in srgb, var(--ink) 35%, transparent); }
.cc-cal-cell.is-today { background: color-mix(in srgb, var(--o) 15%, var(--surface)); }
.cc-cal-cell.is-today:hover { background: color-mix(in srgb, var(--o) 25%, var(--surface)); }
.cc-cal-cell.is-today .cc-cal-cell-date, .cc-cal-cell.is-today .cc-cal-today-mark { color: var(--ink); font-weight: var(--fw-heavy); }
.cc-cal-cell.is-holiday { background: color-mix(in srgb, var(--o) 15%, var(--surface)); }
.cc-cal-cell-date { font-size: var(--fs-sm); color: var(--grey-500); margin-bottom: var(--sp-1); }
.cc-cal-today-mark { display: inline-flex; align-items: center; justify-content: center; width: var(--sz-24); height: var(--sz-24); border-radius: 50%; background: var(--o); color: var(--surface); font-size: var(--fs-sm); font-weight: var(--fw-heavy); }
/* Ablageziel beim Ziehen (Zelle unter dem Termin). */
.cc-cal-drop-target { background: color-mix(in srgb, var(--o) 15%, var(--surface)) !important; }

/* Termin-Chip (Monat / Ganztägig-Zeile) — Fläche in der Datenfarbe. */
.cc-cal-ev { position: relative; padding: var(--sp-1) var(--sp-3); margin-bottom: var(--sp-2); background: var(--cc-color, var(--o)); color: var(--surface); border-radius: var(--radius); font-weight: var(--fw-med); font-size: var(--fs-xs); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-cal-ev:hover { background: color-mix(in srgb, var(--cc-color, var(--o)) 88%, var(--ink)); }
.cc-cal-ev-text { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; }
.cc-cal-more { font-size: var(--fs-2xs); color: var(--muted); padding: var(--sp-0) var(--sp-2); cursor: pointer; }
.cc-cal-more:hover { color: var(--o); }
.cc-cal-ev.is-holiday { background: var(--warn-fg); color: var(--surface); cursor: default; pointer-events: none; }

/* ============================================================
   WOCHEN-/TAGESRASTER (Stundenzeilen, Ganztägig-Zeile, Termin-Blöcke, Jetzt-Linie)
   ============================================================ */
.cc-cal-week { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cc-cal-whead { display: flex; background: var(--grey-900); flex-shrink: 0; }
.cc-cal-gutter { width: var(--sz-56); flex-shrink: 0; text-align: right; padding-right: var(--sp-3); }
.cc-cal-wday { flex: 1; text-align: center; padding: var(--sp-2) 0; }
.cc-cal-wday-name { font-size: var(--fs-xs); color: color-mix(in srgb, var(--grey-200) 70%, transparent); text-transform: uppercase; font-weight: var(--fw-bold); letter-spacing: var(--tracking); }
.cc-cal-wday-num { font-size: var(--fs-lg); font-weight: var(--fw-heavy); color: color-mix(in srgb, var(--grey-200) 85%, transparent); margin-top: var(--sp-1); }
.cc-cal-wday.is-today { background: var(--grey-900); box-shadow: var(--focus); }
.cc-cal-wday.is-today .cc-cal-wday-name { color: var(--surface); }
.cc-cal-wday.is-today .cc-cal-wday-num { background: var(--o); color: var(--surface); font-weight: var(--fw-heavy); display: inline-block; padding: 0 var(--sp-2); border-radius: var(--radius); }
.cc-cal-wday.is-holiday { background: color-mix(in srgb, var(--o) 15%, var(--surface)); }
.cc-cal-wday-hol { font-size: var(--fs-2xs); color: var(--warn-fg); font-weight: var(--fw-bold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cc-cal-allday { display: flex; border-bottom: 1px solid var(--border); min-height: var(--sz-28); flex-shrink: 0; }
.cc-cal-allday.is-day { background: var(--grey-50); }
.cc-cal-allday-label { font-size: var(--fs-2xs); color: var(--muted); text-transform: uppercase; display: flex; align-items: center; justify-content: flex-end; padding-right: var(--sp-3); }
.cc-cal-allday-cell { flex: 1; border-left: 1px solid var(--border); padding: var(--sp-1) var(--sp-1); }
.cc-cal-allday-evs { flex: 1; padding: var(--sp-1) var(--sp-3); display: flex; gap: var(--sp-1); flex-wrap: wrap; }
.cc-cal-wbody { flex: 1; overflow-y: auto; position: relative; }
.cc-cal-wscroll { position: relative; min-height: fit-content; }
.cc-cal-hrow { display: flex; height: var(--sz-48); border-bottom: 1px solid var(--border); }
.cc-cal-time { font-size: var(--fs-xs); color: var(--muted); display: flex; align-items: flex-start; justify-content: flex-end; padding-right: var(--sp-3); }
.cc-cal-hcell { flex: 1; border-left: 1px solid var(--border); position: relative; }
.cc-cal-hcell:hover { background: var(--grey-50); }
.cc-cal-overlay { position: absolute; top: 0; left: 56px; right: 0; bottom: 0; pointer-events: none; }
.cc-cal-overlay.is-day { right: 8px; }
.cc-cal-block { position: absolute; border-radius: var(--radius); padding: var(--sp-1) var(--sp-2); font-size: var(--fs-xs); cursor: pointer; pointer-events: auto; overflow: hidden; background: var(--cc-color, var(--o)); color: var(--surface); z-index: var(--z-base); }
.cc-cal-block:hover { z-index: var(--z-raised); box-shadow: var(--shadow-md); }
.cc-cal-block-time { font-size: var(--fs-2xs); font-weight: var(--fw-bold); }
.cc-cal-block-title { font-weight: var(--fw-med); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-cal-now { position: absolute; left: 0; right: 0; height: var(--sz-6); background: var(--danger); z-index: var(--z-raised); pointer-events: none; }
.cc-cal-now::before { content: ''; position: absolute; left: -4px; top: -3px; width: var(--sz-8); height: var(--sz-8); border-radius: 50%; background: var(--danger); }
.cc-cal-now.is-full { left: 0; width: 100%; }

/* ============================================================
   JAHRESRASTER (12 Monatskarten mit Punkt je belegtem Tag)
   ============================================================ */
.cc-cal-year { padding: var(--sp-7); overflow-y: auto; height: 100%; background: var(--surface-2); }
.cc-cal-year-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-8); }
.cc-cal-ymonth { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--sp-5); cursor: pointer; }
.cc-cal-ymonth:hover { border-color: var(--o); box-shadow: var(--shadow-md); }
.cc-cal-ymonth-title { font-size: var(--fs-base); font-weight: var(--fw-bold); color: var(--ink); margin-bottom: var(--sp-3); text-align: center; }
.cc-cal-ymonth-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cc-cal-ydn { font-size: var(--fs-2xs); color: var(--muted); text-align: center; padding: var(--sp-1) 0; }
.cc-cal-yday { text-align: center; font-size: var(--fs-2xs); color: var(--grey-600); padding: var(--sp-1) 0; position: relative; cursor: pointer; }
.cc-cal-yday.is-today { font-weight: var(--fw-heavy); color: var(--o); }
.cc-cal-yday.is-other { color: var(--grey-300); }
.cc-cal-yday.has-events::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: var(--sz-6); height: var(--sz-6); border-radius: 50%; background: var(--cc-color, var(--o)); }

/* ============================================================
   DATUMSFELD + DATUMS-/BEREICHSAUSWAHL (Popover mit Monatsraster und Uhrzeiten)
   ============================================================ */
.cc-cal-trigger { display: flex; align-items: center; gap: var(--sp-3); width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--sp-3) var(--sp-4); cursor: pointer; font-size: var(--fs-base); color: var(--ink); text-align: left; transition: border-color var(--dur-fast); }
.cc-cal-trigger:hover { border-color: var(--ink); }
.cc-cal-trigger .cc-cal-trigger-text { flex: 1; }
.cc-cal-trigger-chev { font-size: var(--fs-xs); opacity: var(--op-muted); }
.cc-cal-pop { position: relative; margin-top: var(--sp-2); background: var(--surface); border: 1px solid var(--grey-300); border-radius: var(--radius); padding: var(--sp-5); box-shadow: var(--shadow-md); z-index: var(--z-popover); width: 100%; box-sizing: border-box; }
.cc-cal-pick-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-3); }
.cc-cal-pick-title { font-size: var(--fs-base); font-weight: var(--fw-heavy); color: var(--ink); }
.cc-cal-pick { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--sp-0); margin-bottom: var(--sp-4); }
.cc-cal-pick-dn { font-size: var(--fs-2xs); color: var(--muted); text-align: center; padding: var(--sp-1) 0; font-weight: var(--fw-heavy); text-transform: uppercase; }
.cc-cal-pick-day { text-align: center; padding: var(--sp-2) 0; font-size: var(--fs-sm); color: var(--ink); cursor: pointer; border-radius: var(--radius); user-select: none; }
.cc-cal-pick-day:hover { background: var(--grey-100); }
.cc-cal-pick-day.is-other { color: var(--grey-300); }
.cc-cal-pick-day.is-today { font-weight: var(--fw-heavy); color: var(--o); }
.cc-cal-pick-day.is-selected, .cc-cal-pick-day.is-start, .cc-cal-pick-day.is-end { background: var(--o); color: var(--surface); font-weight: var(--fw-heavy); }
.cc-cal-pick-day.in-range { background: color-mix(in srgb, var(--o) 15%, var(--surface)); color: var(--ink); }
.cc-cal-pick-times { display: flex; align-items: center; gap: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--border); }
.cc-cal-pick-times .txt-label { font-size: var(--fs-xs); font-weight: var(--fw-normal); color: var(--grey-500); }
.cc-cal-pick-times input { width: var(--sz-100); }
.cc-cal-pick-spacer { flex: 1; }
.cc-cal-pick-foot > :first-child { margin-right: auto; }
.cc-cal-pick-foot { display: flex; justify-content: flex-end; gap: var(--sp-2); margin-top: var(--sp-4); }

/* ============================================================
   KALENDER-WIDGET (Dashboard) — links Datum/Uhr + heutige Termine (hell), rechts dunkles
   Monatsraster mit Mehrtages-Balken, Einzeltermin-Feld, Feiertags-Punkt, Heute weiss.
   ============================================================ */
.cc-calw[data-widget-id] { background: var(--grey-800); color: var(--surface); overflow: hidden; }
.cc-calw-head { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-3) var(--sp-5); background: var(--grey-900); border-bottom: 1px solid var(--shadow-line); cursor: move; }
.cc-calw-title { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--grey-200); }
.cc-calw-split { display: grid; grid-template-columns: minmax(var(--sz-160), 38%) 1fr; }
.cc-calw-left { background: var(--surface-2); color: var(--ink); padding: var(--sp-7) var(--sp-6) var(--sp-5); display: flex; flex-direction: column; min-height: 0; }
.cc-calw-kw { font-size: var(--fs-2xs); font-weight: var(--fw-heavy); letter-spacing: var(--tracking); color: var(--o); }
.cc-calw-weekday { font-size: var(--fs-2xs); font-weight: var(--fw-bold); letter-spacing: var(--tracking); text-transform: uppercase; color: var(--muted); margin-bottom: var(--sp-1); }
.cc-calw-clock { font-size: var(--fs-xxl); font-weight: var(--fw-heavy); color: var(--ink); line-height: 1; }
.cc-calw-date { font-size: var(--fs-lg); font-weight: var(--fw-bold); color: var(--ink); margin-bottom: var(--sp-5); padding-bottom: var(--sp-5); border-bottom: 1px solid var(--border); }
.cc-calw-tasks-head { font-size: var(--fs-2xs); font-weight: var(--fw-bold); letter-spacing: var(--tracking); text-transform: uppercase; color: var(--muted); margin-bottom: var(--sp-3); }
.cc-calw-tasks { display: flex; flex-direction: column; gap: var(--sp-2); overflow-y: auto; }
.cc-calw-task { display: flex; align-items: center; gap: var(--sp-3); }
.cc-calw-task-time { display: inline-flex; align-items: center; justify-content: center; min-width: var(--sz-48); flex-shrink: 0; }
.cc-calw-task-title { font-size: var(--fs-xs); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-calw-right { background: var(--grey-900); padding: var(--sp-5); display: flex; flex-direction: column; }
.cc-calw-month { text-align: center; font-size: var(--fs-sm); font-weight: var(--fw-heavy); letter-spacing: var(--tracking); color: var(--surface); margin-bottom: var(--sp-3); }
.cc-calw-grid { display: flex; flex-direction: column; gap: var(--sp-0); }
.cc-calw-row { display: grid; grid-template-columns: var(--sz-24) repeat(7, 1fr); align-items: center; }
.cc-calw-dowrow { padding-bottom: var(--sp-1); }
.cc-calw-kwcell { grid-column: 1; grid-row: 1; font-size: var(--fs-2xs); color: var(--grey-500); font-weight: var(--fw-bold); text-align: center; }
.cc-calw-dowcell { font-size: var(--fs-2xs); color: var(--grey-500); text-transform: uppercase; text-align: center; font-weight: var(--fw-bold); letter-spacing: var(--tracking); }
.cc-calw-cell { grid-row: 1; display: flex; align-items: center; justify-content: center; min-height: var(--sz-28); font-size: var(--fs-xs); color: var(--grey-200); position: relative; border-radius: var(--radius); z-index: var(--z-raised); }
.cc-calw-cell.is-other { color: var(--grey-600); }
.cc-calw-cell.is-sun { color: var(--grey-400); }
.cc-calw-num { line-height: 1; position: relative; }
.cc-calw-cell.is-today .cc-calw-num { background: var(--surface); color: var(--grey-900); width: var(--sz-24); height: var(--sz-24); display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius); font-weight: var(--fw-heavy); }
.cc-calw-cell.is-single .cc-calw-num { background: var(--cc-color, var(--o)); color: var(--surface); width: var(--sz-24); height: var(--sz-24); display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius); font-weight: var(--fw-heavy); }
.cc-calw-cell.is-today.is-single .cc-calw-num { background: var(--surface); color: var(--grey-900); box-shadow: var(--focus); }
.cc-calw-cell.in-event { color: var(--surface); font-weight: var(--fw-bold); }
.cc-calw-holdot { position: absolute; bottom: var(--sp-0); left: 50%; transform: translateX(-50%); width: var(--sz-6); height: var(--sz-6); border-radius: 50%; background: var(--danger); }
.cc-calw-bar { grid-row: 1; height: var(--sz-22); border-radius: var(--radius); align-self: center; background: var(--cc-color, var(--o)); opacity: var(--op-strong); z-index: var(--z-base); }
.cc-calw-foot { background: var(--grey-900); border-top: 1px solid var(--shadow-line); padding: var(--sp-3) var(--sp-5); text-align: center; }
.cc-calw-foot .cc-link { color: var(--o); font-size: var(--fs-xs); font-weight: var(--fw-bold); text-decoration: none; }
.cc-calw-foot .cc-link:hover { color: var(--o-h); }
