/* AgendAI · shared design tokens for the C-iterations.
   Mirrors the inline tokens in index.html so the calendar pages
   inherit the same visual signature. */
:root {
  --cream: #F5F1E8;
  --cream-mid: #EDE6D3;
  --cream-deep: #DCD2B8;
  --paper: #FBF8F1;

  --ink: #0F1B2D;
  --ink-soft: #2B3A52;
  --ink-mute: #6B7591;
  --ink-faint: #A4ABBE;
  --rule: #D9D0B8;

  --teal: oklch(0.55 0.09 195);
  --teal-deep: oklch(0.42 0.08 195);
  --teal-soft: oklch(0.92 0.03 195);

  --gold: oklch(0.78 0.12 80);
  --gold-deep: oklch(0.62 0.13 70);

  --tag-bg: #E8E0C8;
  --tag-ink: #3F3922;

  --serif: "DM Serif Display", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 4px;
  --r-md: 8px;
  --r-pill: 999px;

  --lift: 0 1px 0 rgba(15,27,45,.04), 0 8px 24px -16px rgba(15,27,45,.18);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

.teal-diamond { display:inline-block; width:11px; height:11px; background:var(--teal); transform:rotate(45deg); vertical-align:middle; }
.gold-dot     { display:inline-block; width:6px; height:6px; background:var(--gold); transform:rotate(45deg); vertical-align:middle; }

.rule { border:0; border-top:1px solid var(--rule); }

/* monospace caps */
.mono-cap {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* tag chip used across cards */
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--tag-ink);
  background: var(--tag-bg);
  padding: 2px 6px;
  border-radius: 2px;
  white-space: nowrap;
}

/* view switcher used at the top of all four pages */
.view-switch {
  display: inline-flex;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
}
.view-switch a {
  padding: 7px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  border-right: 1px solid var(--rule);
  background: transparent;
  transition: background .12s;
}
.view-switch a:last-child { border-right: 0; }
.view-switch a:hover { background: var(--cream-mid); }
.view-switch a.active {
  background: var(--ink);
  color: var(--cream);
}

/* nav arrows for week / month stepping */
.nav-btn {
  width: 32px; height: 32px;
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: 4px;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1;
}
.nav-btn:hover { background: var(--cream-mid); }

.today-btn {
  height: 32px; padding: 0 14px;
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
}
.today-btn:hover { background: var(--cream-mid); }

/* common page header */
.masthead {
  display: flex; align-items: center; gap: 14px;
}
.masthead .wordmark {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
}
.masthead .meta {
  border-left: 1px solid var(--rule);
  padding-left: 14px;
  margin-left: 4px;
}
.masthead .meta .title {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
}
.masthead .meta .sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 2px;
}

/* small dot per category color (used in month view to label many events at small size) */
.cat-dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}
.cat-meetup     { background: oklch(0.55 0.09 195); }   /* teal */
.cat-workshop   { background: oklch(0.62 0.13 70); }    /* gold-deep */
.cat-conference { background: oklch(0.50 0.13 25); }    /* terracotta */
.cat-networking { background: oklch(0.55 0.10 285); }   /* lavender */
.cat-hackathon  { background: oklch(0.55 0.13 145); }   /* moss */

/* a thin vertical separator used between cells */
.vrule { background: var(--rule); width: 1px; align-self: stretch; }
