/* Direction: MeetMint — calm white product UI, one mint accent, soft rounded cards */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #ffffff;
  --surface: #ffffff;
  --surface-2: #f2f8f5;
  --border: #e2ebe6;
  --border-strong: #b3bab8;
  --ink: #0d1b16;
  --muted: #5c6b64;
  --accent: #15a877;
  --accent-hover: #128f65;
  --accent-ink: #031811;
  --accent-text: #0c7a56;
  --accent-strong: #0a6b4c;
  --accent-soft: #e6f6ef;
  --accent-border: #96d8c2;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #e3f0e8;
  --success-strong: #137638;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #f6eae1;
  --warning-strong: #a64c08;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #f7e4e4;
  --danger-strong: #b91c1c;
  --chart-1: #15a877;
  --chart-2: #24a1c5;
  --chart-3: #6e6ac4;
  --chart-4: #d174ae;
  --chart-5: #b45529;
  --chart-6: #a2950e;

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.025em;
  --radius-card: 18px;
  --radius-btn: 12px;
  --radius-input: 12px;
  --shadow-card: 0 1px 2px rgba(13, 27, 22, 0.05), 0 18px 40px -26px rgba(13, 27, 22, 0.22);
  --card-pad: 1.5rem;
  --x-on-photo: #ffffff;
  --x-dot: rgba(13, 27, 22, 0.08);
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #03110c;
  --surface: #1c2924;
  --surface-2: #101d18;
  --border: #26322e;
  --border-strong: #4f5855;
  --ink: #ffffff;
  --muted: #9aa09e;
  --accent: #15a877;
  --accent-hover: #38b58b;
  --accent-ink: #031811;
  --accent-text: #15a877;
  --accent-strong: #15a877;
  --accent-soft: #073224;
  --accent-border: #0b553c;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #072917;
  --success-strong: #499c68;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #2a200b;
  --warning-strong: #c57a40;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #2b1310;
  --danger-strong: #d16969;
  --chart-1: #15a877;
  --chart-2: #11bce9;
  --chart-3: #7673ce;
  --chart-4: #de80ba;
  --chart-5: #c16136;
  --chart-6: #b7ab33;
}

/* MeetMint's own screens: the booking calendar, its slot column, the account
   menu and the meeting side panel. */

.mm-dots {
  background-image: radial-gradient(var(--x-dot) 1px, transparent 1px);
  background-size: 22px 22px;
}

.mm-slot {
  @apply w-full rounded-xl border border-border bg-surface px-3 py-2.5 text-sm font-medium text-ink transition;
}
.mm-slot:hover {
  @apply border-accent bg-accent-soft text-accent-strong;
}
.mm-slot:focus-visible {
  @apply outline-none ring-2 ring-accent;
}

.mm-day {
  @apply flex h-11 w-full items-center justify-center rounded-xl text-sm font-semibold transition;
}
.mm-day:disabled {
  cursor: not-allowed;
  opacity: 0.4;
  text-decoration: line-through;
}
.mm-today {
  box-shadow: inset 0 0 0 2px var(--accent);
}

/* the round account button */
summary.mm-avatar {
  list-style: none;
  cursor: pointer;
}
summary.mm-avatar::-webkit-details-marker,
summary.mm-avatar::marker {
  display: none;
}

/* the meeting side panel: a dialog pinned to the right edge */
dialog.mm-sheet {
  margin: 0 0 0 auto;
  height: 100dvh;
  max-height: 100dvh;
  width: min(30rem, 100%);
  max-width: 100%;
  border-radius: var(--radius-card) 0 0 var(--radius-card);
  overflow-y: auto;
}

@keyframes mm-rise {
  from {
    transform: translateY(8px);
  }
  to {
    transform: translateY(0);
  }
}
.mm-rise {
  animation: mm-rise 0.3s ease-out both;
}
html.reduced-motion .mm-rise {
  animation: none;
}
