body {

  /* monthly common color */
  --calendar-monthly-border: 1px solid var(--md-sys-color-outline-variant);
  --calendar-monthly-border-width: 0 1px 1px 0px;

  /* monthly layout */
  --calendar-monthly-ol-margin: var(--margin-default) 0;
  --calendar-monthly-ol-top-border: 1px solid var(--md-sys-color-outline-variant);
  --calendar-current-month-background-color: var(--md-sys-color-surface-container-lowest);
  --calendar-current-month-color: var(--md-sys-color-on-surface);
  --calendar-monthly-label-align: left;
  --calendar-monthly-label-padding: var(--padding-narrow) 0;
  --calendar-monthly-opacity: 1;
  /* Today is not a fault — the accent marks it and danger stays for what is wrong.
     It was a filled pill in primary; now the cell carries today (its ring and wash) and this is
     just a bolder number. The ink token went too: primary sits a step away from the body ink, so a
     tinted today came out paler than its neighbours (dE00 7.2 dark, 5.7 light) while being bold —
     emphasis pointing two ways. The number inherits the cell's ink and the ring carries the
     accent. Background and padding went with the pill. */
  --calendar-monthly-date-label-margin: var(--margin-narrow);

  --calendar-monthly-background-color: var(--md-sys-color-surface-container-low);
  --calendar-monthly-event-margin: var(--padding-narrow) 0 0 0;
  --calendar-monthly-event-padding: 2px var(--padding-default);
  --calendar-monthly-event-border: 3px solid #ccc;
  --calendar-monthly-event-border-width: 0 0 0 3px;

  /*
   * 날 자체의 상태 — 그 날에 일어난 일이 아니라, 일들을 읽는 틀이다.
   *
   * ── 왜 불투명한 색이 아니라 알파인가 ──────────────────────────────────────
   * 이 면은 이미 칠해진 면 **위에** 얹힌다(이번 달 흰 칸 · 다른 달 회색 칸). 불투명한 색을 고르면
   * 밝은 모드와 어두운 모드 중 한쪽에서 반드시 글씨를 먹는다. 알파는 깔린 면을 따라가므로 두 모드
   * 어디서나 그 바탕 위에 얹힌다 — plant 레인이 대체값을 그렇게 잡았고 같은 이유다.
   *
   * ── 왜 10% 인가 (실측 2026-09-11) ───────────────────────────────────────
   * ```
   *                        이웃 칸과 ΔE00      그 면 위 글자 대비
   *   밝은 · 이번 달 칸        7.6              14.49
   *   밝은 · 다른 달 칸        8.2
   *   어두운 · 이번 달         9.0              10.93
   *   어두운 · 다른 달         9.2
   * ```
   *
   * 오늘의 워시도 10% 인데 이웃과 4.1~6.3 이다. 휴무가 더 크게 벌어지는 것이 맞다 — **오늘은 내가
   * 어디 있나이고 휴무는 이 날을 어떻게 읽나**여서, 틀이 먼저 읽혀야 한다.
   *
   * 둘이 겹치는 날(오늘이면서 휴무)도 갈린다: 휴무 면 위에 오늘 워시를 얹으면 ΔE00 4.3.
   *
   * 색상은 분류 1번을 따른다. 사람들이 방금 배운 「이 분홍이 휴무」를 그대로 들고 가고, error 빨강과도
   * 멀다(ΔE00 24.2). ⚠ 그래서 **분류 1번은 다른 뜻으로 쓰지 않는 것이 좋다** — 한 화면에서 같은 색이
   * 날을 뜻하기도 하고 종류를 뜻하기도 하면 방금 없앤 그 겹침이 돌아온다.
   */
  --calendar-day-state-non-working-background-color: color-mix(in srgb, var(--ui-category-1) 10%, transparent);

  /* weekly common color */
  /* The week view sets an ink on its host, the month view does not — so at secondary the same
     events came out a step paler after a view switch, title included.
     [확인함] 2026-09-11 — weekly rgb(74,86,100) against monthly rgb(24,29,35). */
  --calendar-weekly-text-color: var(--md-sys-color-on-surface);
  --calendar-weekly-border: 1px solid var(--md-sys-color-outline-variant);
  --calendar-weekly-border-width: 0 1px 1px 0px;

  /* weekly layout */
  --calendar-weekly-ol-margin: var(--margin-default) 0;
  --calendar-weekly-ol-top-border: 1px solid var(--md-sys-color-outline-variant);
  --calendar-current-week-background-color: var(--md-sys-color-surface);
  /* The days you are reading, on the same ladder the month view uses for this month. */
  --calendar-weekly-date-background-color: var(--md-sys-color-surface-container-lowest);
/* The weekday row is a column header, not content. At on-surface it carried the same ink as
     the dates under it, so the only thing telling a heading from its column was the grey band.
     [확인함] 2026-09-11 — 요일 13px and 날짜 16px were both rgb(24,29,35). */
  --calendar-current-week-color: var(--md-sys-color-on-surface-variant);
  --calendar-weekly-label-align: center;
  --calendar-weekly-label-padding: var(--padding-narrow) 0;
  --calendar-weekly-opacity: 1;
  /* Today is not a fault — the accent marks it and danger stays for what is wrong.
     It was a filled pill in primary; now the cell carries today (its ring and wash) and this is
     just a bolder number. The ink token went too: primary sits a step away from the body ink, so a
     tinted today came out paler than its neighbours (dE00 7.2 dark, 5.7 light) while being bold —
     emphasis pointing two ways. The number inherits the cell's ink and the ring carries the
     accent. Background and padding went with the pill. */
  --calendar-weekly-date-label-margin: var(--margin-narrow);

  --calendar-weekly-background-color: var(--md-sys-color-surface-container-low);
  --calendar-weekly-event-margin: var(--padding-narrow) 0 0 0;
  --calendar-weekly-event-padding: 2px var(--padding-default);
  --calendar-weekly-event-border: 3px solid #ccc;
  --calendar-weekly-event-border-width: 0 0 0 3px;
}

@media only screen and (max-width: 460px) {
  body {
  }
}
