/* The app's unthemed continuous month calendar, rendered with DOM elements. */
.cp-scroll-demo { min-width: 0; }
.cp-scroll-phone {
  --cp-primary: #007aff;
  --cp-paper: #fff;
  --cp-ink: #000;
  --cp-line: #d9d9dd;
  --cp-selected: #c7c7cc;
  --cp-weekend: #b8ebc5;
  position: relative;
  width: min(316px, 100%);
  margin: 0 auto;
  padding-top: 4px;
  border: 6px solid #27282b;
  border-radius: 34px;
  overflow: hidden;
  color-scheme: light;
  color: var(--cp-ink);
  background: var(--cp-paper);
  box-shadow: 0 12px 32px #0002;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans', 'Segoe UI', sans-serif;
  line-height: 1.35;
}
.cp-scroll-phone .native-phone-status { font-size: 9px; height: 3.6em; padding: .85em 1.5em 0; }
.cp-scroll-phone .native-dynamic-island { top: .6em; }
.cp-scroll-header { display: flex; align-items: center; justify-content: center; min-height: 29px; padding: 0 8px; background: var(--cp-paper); }
.cp-native-month-name { display: flex; flex: 1; align-items: baseline; justify-content: center; gap: 6px; min-width: 0; margin: 0; color: var(--cp-ink); white-space: nowrap; }
.cp-native-year { font-size: 14px; font-weight: 500; transform: translateY(1px); }
.cp-native-month { font-size: 21px; font-weight: 600; }
.cp-month-nav { display: grid; place-items: center; flex: none; width: 32px; height: 29px; color: #000; pointer-events: none; }
.cp-month-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cp-scroll-viewport { position: relative; height: 540px; overflow-y: auto; overscroll-behavior: contain; overflow-anchor: none; scrollbar-width: none; -ms-overflow-style: none; }
.cp-scroll-viewport::-webkit-scrollbar { display: none; width: 0; height: 0; }
.cp-scroll-viewport:focus-visible { outline: 2px solid var(--cp-primary); outline-offset: -2px; }
.cp-weekdays, .cp-month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cp-weekdays { color: #58585d; background: var(--cp-paper); font-size: 10px; line-height: 22px; text-align: center; border-bottom: .5px solid var(--cp-line); }
.cp-weekdays span:nth-child(6) { color: #007aff; }
.cp-weekdays span:nth-child(7) { color: #ff3b30; }
.cp-sticky-weekdays { position: sticky; top: 0; z-index: 5; }
.cp-scroll-month-title { position: relative; margin: 0; min-height: 24px; padding: 3px 8px 3px 13px; border-bottom: .5px solid var(--cp-line); background: #e9f3ff; color: #1f3046; font-size: 12px; font-weight: 600; line-height: 18px; }
.cp-scroll-month-title::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: #007aff; }
.cp-day { position: relative; min-width: 0; height: 64px; padding-top: 19px; border-right: .5px solid var(--cp-line); border-bottom: .5px solid var(--cp-line); background: var(--cp-paper); overflow: hidden; }
.cp-day:nth-child(7n) { border-right: 0; }
.cp-day:nth-child(7n+6), .cp-day:nth-child(7n) { background: var(--cp-weekend); }
.cp-day.cp-selected { background: var(--cp-selected); }
.cp-day.cp-today { box-shadow: inset 0 0 0 1.5px #ff3b30; }
.cp-day.cp-blank { background: #fff; }
.cp-date { position: absolute; top: 1px; left: 3px; color: var(--cp-ink); font-size: 12px; line-height: 17px; }
.cp-cell-weather { position: absolute; z-index: 2; top: -1px; right: 1px; font-size: 17px; line-height: 1; pointer-events: none; }
.cp-cell-weather .native-weather { gap: 0; }
.cp-event { position: relative; z-index: 1; display: block; width: 100%; min-width: 0; height: 12px; padding: 0 2px; margin-top: 1px; border-radius: 0; background: var(--cp-event, #4f88b9); color: #fff; font-size: 8px; line-height: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.cp-complete { opacity: .5; text-decoration: line-through; }
.cp-overflow { position: absolute; z-index: 2; bottom: 0; right: 0; height: 11px; padding: 0 2px; color: #fff; background: #85858baa; font-size: 8px; line-height: 11px; }
.cp-scroll-toolbar { border-top: .5px solid var(--cp-line); background: #fff; }
.cp-scroll-toolbar .native-month-toolbar { --native-toolbar-height: 42px; --native-toolbar-icon-size: 21px; }
.cp-scroll-phone::after { content: ''; display: block; width: 86px; height: 4px; margin: 3px auto 6px; border-radius: 3px; background: #131314; }
@media (prefers-reduced-motion: reduce) { .cp-scroll-phone * { animation: none !important; transition: none !important; } }
