/* Keyline Days — soft monochrome UI (desktop mockup) */

html.theme-mono,
html:has(#app.theme-mono),
#app.theme-mono,
.page-container.theme-mono {
  color-scheme: light;
  --main-bg: linear-gradient(155deg, #e9edf4 0%, #f7f8fc 42%, #f3f0f5 72%, #eef2f8 100%);
  --card-bg: rgba(255, 255, 255, 0.72);
  --app-bg-solid: #f4f6fa;
  --app-bg-mobile: #f4f6fa;
  --mobile-statusbar-bg: #f4f6fa;
  --mobile-safe-bg: #f4f6fa;
  --current-mobile-statusbar-bg: #f4f6fa;
  --modal-bg-solid: rgba(255, 255, 255, 0.96);
  --modal-item-bg-solid: #f6f7f9;
  --text-main: #111111;
  --text-sub: #8a8a8e;
  --primary: #111111;
  --primary-dark: #111111;
  --primary-text: #ffffff;
  --tag-bg: #f0f0f3;
  --theme-line: rgba(15, 23, 42, 0.08);
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-medium: rgba(0, 0, 0, 0.1);
  --primary-shadow: rgba(17, 17, 17, 0.16);
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-soft: 0 16px 42px rgba(15, 23, 42, 0.055);
  --shadow-floating: 0 18px 54px rgba(15, 23, 42, 0.075);
  --theme-glow: rgba(255, 255, 255, 0.5);
  --theme-accent-soft: rgba(255, 255, 255, 0.52);
  --orb-one: rgba(147, 197, 253, 0.42);
  --orb-two: rgba(251, 207, 232, 0.32);
  --flow-opacity: 0.3;
  --sparkle-opacity: 0.1;
  --card-border: rgba(255, 255, 255, 0.72);
  --card-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

html.theme-mono,
html.theme-mono body,
#app.theme-mono.page-container,
.page-container.theme-mono {
  background: var(--main-bg);
  background-color: #f4f6fa;
}

.theme-mono .bg-orb {
  display: block !important;
  opacity: 0.62;
  filter: blur(72px);
}

.theme-mono .orb-one {
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  top: -8%;
  left: -6%;
}

.theme-mono .orb-two {
  width: min(48vw, 380px);
  height: min(48vw, 380px);
  right: -4%;
  bottom: 8%;
}

.theme-mono .desktop-brand b,
.theme-mono .header-title,
.theme-mono .count-title,
.theme-mono .checklist-title,
.theme-mono .festival-name,
.theme-mono .overview-card b,
.theme-mono .calendar-title {
  color: #111111;
}

.theme-mono .desktop-brand span,
.theme-mono .header-subtitle,
.theme-mono .count-date,
.theme-mono .checklist-note,
.theme-mono .festival-date,
.theme-mono .empty-desc,
.theme-mono .overview-card em,
.theme-mono .dashboard-label,
.theme-mono .year-text {
  color: #8a8a8e;
}

.theme-mono .desktop-nav-active,
.theme-mono .desktop-nav-item.desktop-nav-active,
.theme-mono .tab-picker-active,
.theme-mono .tab-picker-item.tab-picker-active,
.theme-mono .category-pill-active,
.theme-mono .schedule-mode-active,
.theme-mono .primary-btn,
.theme-mono .save-btn,
.theme-mono .backup-main-btn,
.theme-mono .restore-btn {
  background: #111111 !important;
  color: #ffffff !important;
  border-color: #111111 !important;
}

.theme-mono .desktop-nav-active span[data-kd-icon],
.theme-mono .desktop-nav-item.desktop-nav-active span[data-kd-icon] {
  background: transparent !important;
  color: #ffffff !important;
}

.theme-mono .desktop-nav-active .kd-line-icon-svg,
.theme-mono .desktop-nav-item.desktop-nav-active .kd-line-icon-svg {
  filter: none !important;
}

.theme-mono .count-card,
.theme-mono .checklist-card,
.theme-mono .festival-card,
.theme-mono .subscription-card,
.theme-mono .overview-card {
  border-radius: 22px !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.055) !important;
  box-shadow: var(--shadow-card) !important;
}

.theme-mono .count-icon-box {
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.045) !important;
  border: 0 !important;
}

.theme-mono .count-number {
  font-size: 42px !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  color: #111111 !important;
}

.theme-mono .past-color,
.theme-mono .count-number.past-color {
  color: #b8bcc4 !important;
}

.theme-mono .count-unit {
  color: #8a8a8e !important;
  font-weight: 700 !important;
}

.theme-mono .tag,
.theme-mono .festival-tag {
  background: rgba(0, 0, 0, 0.045) !important;
  color: #666666 !important;
  border: 0 !important;
}

.theme-mono .category-pill {
  background: rgba(255, 255, 255, 0.66) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: none !important;
}

.theme-mono .category-pill-active {
  background: #111111 !important;
  color: #ffffff !important;
  border-color: #111111 !important;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.12) !important;
}

.theme-mono .settings-btn {
  width: auto !important;
  min-width: 64px !important;
  height: 36px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.76) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  color: #111111 !important;
}

.theme-mono .settings-btn [data-kd-icon] {
  display: none !important;
}

.theme-mono .settings-btn-label {
  display: inline !important;
}

.theme-mono .dashboard-card,
.theme-mono .today-pill,
.theme-mono .compact-today-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.055) !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07) !important;
}

.theme-mono .primary-btn {
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.16) !important;
}

.theme-mono .progress-inner,
.theme-mono .checklist-progress-inner,
.theme-mono .year-progress-inner {
  background: #111111 !important;
}

.theme-mono .event-dot,
.theme-mono .schedule-dot,
.theme-mono .calendar-dot {
  background: #111111 !important;
}

.theme-mono .ov-mini-day.is-today,
.theme-mono .calendar-day.today {
  background: #111111 !important;
  color: #ffffff !important;
  border-color: #111111 !important;
}

.theme-mono #settingsThemeBtn {
  display: none !important;
}

.theme-mono .overview-hero-panel {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.theme-mono .overview-hero-panel::before,
.theme-mono .overview-hero-panel::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
}

.theme-mono .kd-item-enter,
.theme-mono .kd-enter,
.theme-mono .tab-panel-animate,
.theme-mono .kd-will-animate {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.theme-mono .kd-removing {
  animation: none !important;
}

@media (min-width: 900px) {
  .theme-mono .desktop-sidebar-foot {
    display: none !important;
  }

  .theme-mono .desktop-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .theme-mono .desktop-nav::-webkit-scrollbar {
    display: none;
  }

  .theme-mono .desktop-sidebar-note {
    display: block !important;
    flex-shrink: 0;
  }

  .theme-mono #countdownList {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .theme-mono .header-top {
    border-radius: 28px !important;
  }

  .theme-mono .desktop-sidebar {
    border-radius: 30px !important;
  }

  .theme-mono .desktop-nav-item span[data-kd-icon] {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}

@media (max-width: 899px) {
  .theme-mono .desktop-sidebar-note {
    display: none !important;
  }

  .theme-mono .settings-btn-label {
    display: none !important;
  }

  .theme-mono .settings-btn [data-kd-icon] {
    display: inline-flex !important;
  }

  .theme-mono .settings-btn {
    width: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
  }
}
