/* style.css */
body {
  background-color: var(--fc-pulse-background, #fff);
  color: var(--fc-pulse-foreground, inherit);
  display: flex;
  overflow: hidden;
  flex-direction: row;
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

full-calendar {
  flex: 1;
  min-width: 0;
}

.activity-sidebar {
  overflow-y: auto;
  color: #e0e0e0;
  display: flex;
  box-sizing: border-box;
  background: #1e1e2e;
  flex-direction: column;
  flex-shrink: 0;
  gap: 1rem;
  width: 130px;
  height: 100vh;
  padding: .75rem .5rem;
}

.activity-aside {
  display: contents;
}

.activity-section-label {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 .35rem;
  font-size: .65rem;
  font-weight: 700;
}

.activity-section {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.activity-tile {
  display: flex;
  border-left: 3px solid var(--tile-color, #888);
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  background: #ffffff0d;
  border-radius: .375rem;
  align-items:  center;
  gap: .35rem;
  padding: .3rem .4rem;
  font-size: .78rem;
  line-height: 1.2;
}

.activity-tile:hover {
  background: #ffffff1a;
}

.activity-tile:active {
  cursor: grabbing;
}

.activity-tile-emoji {
  flex-shrink: 0;
  font-size: 1rem;
}

.activity-tile-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc-settings-button {
  font-size: 1.1rem;
}

.calendar-list-panel {
  position: fixed;
  z-index: 100;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: .5rem;
  min-width: 200px;
  padding: .75rem;
  top: 3.5rem;
  right: .75rem;
  box-shadow: 0 4px 16px #0000001f;
}

.calendar-list-header {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  margin-bottom: .5rem;
}

.calendar-list-close {
  cursor: pointer;
  color: #6b7280;
  background: none;
  border: none;
  padding: .125rem .25rem;
  font-size: 1rem;
  line-height: 1;
}

.calendar-list-close:hover {
  color: #111;
}

.calendar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin: 0;
  padding: 0;
}

.calendar-list-item label {
  display: flex;
  cursor: pointer;
  align-items:  center;
  gap: .5rem;
  font-size: .9rem;
}

.event-modal {
  border: none;
  border-radius: .5rem;
  width: calc(100vw - 2rem);
  max-width: 32rem;
  padding: 0;
  box-shadow: 0 8px 32px #0003;
}

.event-modal::backdrop {
  background: #0006;
}

.event-modal-card {
  padding: 1rem 1.25rem;
}

.event-modal-header {
  display: flex;
  justify-content: space-between;
  align-items:  flex-start;
  gap: .75rem;
  margin-bottom: .75rem;
}

.event-modal-title {
  font-size: 1.1rem;
  line-height: 1.3;
}

.event-modal-close {
  cursor: pointer;
  color: #6b7280;
  background: none;
  border: none;
  flex-shrink: 0;
  padding: .125rem .25rem;
  font-size: 1rem;
  line-height: 1;
}

.event-modal-close:hover {
  color: #111;
}

.event-modal-details {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin: 0;
}

.event-modal-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: .75rem;
}

.event-modal-download {
  cursor: pointer;
  color: #374151;
  background: none;
  border: 1px solid #d1d5db;
  border-radius: .375rem;
  padding: .25rem .75rem;
  font-size: .875rem;
}

.event-modal-download:hover {
  background: #f3f4f6;
}

.event-modal-delete {
  cursor: pointer;
  color: #dc2626;
  background: none;
  border: 1px solid #fca5a5;
  border-radius: .375rem;
  padding: .25rem .75rem;
  font-size: .875rem;
}

.event-modal-delete:hover {
  background: #fef2f2;
}

.event-modal-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: .25rem .75rem;
  font-size: .9rem;
}

.event-modal-row dt {
  color: #6b7280;
  padding-top: .05em;
  font-weight: 600;
}

.event-modal-row dd {
  word-break: break-word;
  margin: 0;
}

.calendar-list-dot {
  display: inline-block;
  background: var(--cal-color, #999);
  border-radius: 50%;
  flex-shrink: 0;
  width: .75rem;
  height: .75rem;
}

/* node_modules/.bun/@fullcalendar+web-component@7.0.1+f76948ceb4513e11/node_modules/@fullcalendar/web-component/themes/pulse/palettes/blue.css */
:root {
  --fc-pulse-primary: #117aff;
  --fc-pulse-primary-over: #3689ff;
  --fc-pulse-primary-down: #4f98ff;
  --fc-pulse-primary-foreground: #fff;
  --fc-pulse-secondary: var(--fc-pulse-background);
  --fc-pulse-secondary-over: var(--fc-pulse-faint);
  --fc-pulse-secondary-down: var(--fc-pulse-muted);
  --fc-pulse-secondary-foreground: var(--fc-pulse-foreground);
  --fc-pulse-secondary-icon: var(--fc-pulse-faint-foreground);
  --fc-pulse-secondary-icon-over: var(--fc-pulse-muted-foreground);
  --fc-pulse-tertiary: var(--fc-pulse-primary);
  --fc-pulse-tertiary-over: #3689ff;
  --fc-pulse-tertiary-down: #4f98ff;
  --fc-pulse-tertiary-foreground: var(--fc-pulse-primary-foreground);
  --fc-pulse-event: #012e66;
  --fc-pulse-event-contrast: #fff;
  --fc-pulse-background-event: #818cf8;
  --fc-pulse-highlight: #38bdf81a;
  --fc-pulse-now: #ef4444;
  --fc-pulse-unselected: var(--fc-pulse-muted);
  --fc-pulse-unselected-foreground: var(--fc-pulse-foreground);
  --fc-pulse-selected: var(--fc-pulse-background);
  --fc-pulse-selected-foreground: var(--fc-pulse-foreground);
  --fc-pulse-background: #fff;
  --fc-pulse-faint: #00000008;
  --fc-pulse-muted: #00000012;
  --fc-pulse-strong: #0000001f;
  --fc-pulse-stronger: #00000029;
  --fc-pulse-strongest: #0003;
  --fc-pulse-foreground: #232d3e;
  --fc-pulse-faint-foreground: #9ca3af;
  --fc-pulse-muted-foreground: #545c6c;
  --fc-pulse-border: #e5e7eb;
  --fc-pulse-strong-border: #d5d5d6;
}

@media not print {
  [data-color-scheme="dark"] {
    --fc-pulse-secondary: var(--fc-pulse-muted);
    --fc-pulse-secondary-over: var(--fc-pulse-strong);
    --fc-pulse-secondary-down: var(--fc-pulse-stronger);
    --fc-pulse-secondary-foreground: var(--fc-pulse-foreground);
    --fc-pulse-secondary-icon: var(--fc-pulse-muted-foreground);
    --fc-pulse-secondary-icon-over: var(--fc-pulse-foreground);
    --fc-pulse-tertiary: #1284ff;
    --fc-pulse-tertiary-over: #3992ff;
    --fc-pulse-tertiary-down: #539fff;
    --fc-pulse-unselected: var(--fc-pulse-muted);
    --fc-pulse-unselected-foreground: var(--fc-pulse-foreground);
    --fc-pulse-selected: var(--fc-pulse-strong);
    --fc-pulse-selected-foreground: var(--fc-pulse-foreground);
    --fc-pulse-background: #030712;
    --fc-pulse-faint: #ffffff08;
    --fc-pulse-muted: #ffffff12;
    --fc-pulse-strong: #ffffff1f;
    --fc-pulse-stronger: #ffffff29;
    --fc-pulse-strongest: #fff3;
    --fc-pulse-foreground: #d6dee8;
    --fc-pulse-faint-foreground: #8897ab;
    --fc-pulse-muted-foreground: #b5c1d0;
    --fc-pulse-border: #1a202c;
    --fc-pulse-strong-border: #374257;
  }
}
