/* Dashboard-only dark theme overrides.
   The shared platform-monochrome.css file enforces the dark monochrome palette
   and loads first; this file restores readable controls and primary actions on
   top of it. Public invitation pages stay on the light scheduling palette. */

body.sched-page--dashboard {
  color-scheme: dark;
}

body.sched-page--dashboard .sched-dash-hero {
  background:
    radial-gradient(ellipse 65% 90% at 105% 0%, rgba(255,255,255, 0.08), transparent 62%),
    #131313;
  border: 1px solid rgba(255,255,255, 0.08);
}

body.sched-page--dashboard .sched-dash-title em {
  color: #d6d6d6;
}

body.sched-page--dashboard .sched-btn--dark,
body.sched-page--dashboard .sched-dash-hero .sched-btn--accent {
  background: #f2f3f5 !important;
  color: #08090b !important;
}

body.sched-page--dashboard .sched-btn--dark:hover,
body.sched-page--dashboard .sched-dash-hero .sched-btn--accent:hover {
  background: #ffffff !important;
}

body.sched-page--dashboard .sched-btn--outline {
  border-color: rgba(255,255,255, 0.2) !important;
  color: #f2f3f5 !important;
}

body.sched-page--dashboard .sched-btn--outline:hover {
  background: rgba(255,255,255, 0.08);
}

body.sched-page--dashboard .sched-dash-hero .sched-btn--ghost {
  border-color: rgba(255,255,255, 0.2) !important;
  background: rgba(255,255,255, 0.04) !important;
  color: #f2f3f5 !important;
}

body.sched-page--dashboard .sched-dash-hero .sched-btn--ghost:hover {
  background: rgba(255,255,255, 0.1) !important;
}

body.sched-page--dashboard .sched-account-chip {
  background: #131313 !important;
  border-color: rgba(255,255,255, 0.12) !important;
  color: #c6c6c6 !important;
}

body.sched-page--dashboard .sched-account-chip__avatar {
  background: #f2f3f5 !important;
  color: #08090b !important;
}

body.sched-page--dashboard .sched-panel,
body.sched-page--dashboard .sched-stat {
  background: #131313 !important;
  border-color: rgba(255,255,255, 0.1) !important;
}

body.sched-page--dashboard .sched-event-item:hover {
  background: rgba(255,255,255, 0.04);
}

body.sched-page--dashboard .sched-mini-badge {
  background: rgba(255,255,255, 0.07);
  color: #c6c6c6;
}

body.sched-page--dashboard .sched-mini-badge--on {
  background: rgba(255,255,255, 0.12);
  color: #f2f3f5;
}

body.sched-page--dashboard .sched-mini-badge--off {
  background: rgba(255,255,255, 0.04);
  color: #949494;
}

body.sched-page--dashboard .sched-booking-datebox {
  background: #1a1c20;
  color: #f2f3f5;
}

body.sched-page--dashboard .sched-booking-datebox span {
  color: #949494;
}

body.sched-page--dashboard .sched-booking-status {
  background: rgba(255,255,255, 0.08);
  color: #f2f3f5;
}

body.sched-page--dashboard .sched-smtp-note {
  border-color: rgba(255,255,255, 0.16);
  background: rgba(255,255,255, 0.05);
  color: #c6c6c6;
}

body.sched-page--dashboard .sched-demo-preview {
  background: #131313;
  border: 1px solid rgba(255,255,255, 0.08);
}

body.sched-page--dashboard .sched-form .sched-field input,
body.sched-page--dashboard .sched-form .sched-field select,
body.sched-page--dashboard .sched-form .sched-field textarea {
  background-color: #131313 !important;
  color: #f2f3f5 !important;
  border-color: rgba(255,255,255, 0.16) !important;
  color-scheme: dark;
}

body.sched-page--dashboard .sched-form .sched-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23f2f3f5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 11px center !important;
}

body.sched-page--dashboard .sched-form .sched-field input::placeholder,
body.sched-page--dashboard .sched-form .sched-field textarea::placeholder {
  color: #707070;
}

body.sched-page--dashboard .sched-form .sched-field > span {
  color: #c6c6c6;
}

body.sched-page--dashboard .sched-form .sched-field option {
  background: #131313;
  color: #f2f3f5;
}

body.sched-page--dashboard .sched-day-toggle {
  background: #131313;
  border-color: rgba(255,255,255, 0.16);
  color: #c6c6c6;
}

body.sched-page--dashboard .sched-day-toggle:has(input:checked) {
  background: #f2f3f5;
  border-color: #f2f3f5;
  color: #08090b;
}

body.sched-page--dashboard .sched-switch span {
  background: #2a2c30;
}

body.sched-page--dashboard .sched-switch span::after {
  background: #f2f3f5;
}

body.sched-page--dashboard .sched-switch input:checked + span {
  background: #f2f3f5;
}

body.sched-page--dashboard .sched-switch input:checked + span::after {
  background: #08090b;
}

body.sched-page--dashboard .sched-dialog {
  background: #131313 !important;
  border-color: rgba(255,255,255, 0.14);
}

body.sched-page--dashboard .sched-dialog__footer {
  background: #0c0e11;
  border-color: rgba(255,255,255, 0.1);
}

body.sched-page--dashboard .sched-form-error {
  border-color: rgba(255,255,255, 0.18);
  background: rgba(255,255,255, 0.05);
  color: #f2f3f5;
}

body.sched-page--dashboard .sched-toast {
  background: #f2f3f5;
  color: #08090b;
}

body.sched-page--dashboard .sched-toast.is-error {
  background: #d6d6d6;
  color: #08090b;
}

body.sched-page--dashboard .sched-empty__mark {
  border-color: rgba(255,255,255, 0.14);
  color: #c6c6c6;
}

body.sched-page--dashboard .sched-stat__value,
body.sched-page--dashboard .sched-panel__title,
body.sched-page--dashboard .sched-empty,
body.sched-page--dashboard .sched-event-name,
body.sched-page--dashboard .sched-booking-name,
body.sched-page--dashboard .sched-guest-card h2,
body.sched-page--dashboard .sched-demo-preview h3 {
  color: #f2f3f5;
}

body.sched-page--dashboard .sched-event-link,
body.sched-page--dashboard .sched-booking-meta,
body.sched-page--dashboard .sched-guest-card p,
body.sched-page--dashboard .sched-demo-preview p,
body.sched-page--dashboard .sched-panel__action,
body.sched-page--dashboard .sched-booking-open {
  color: #949494;
}

body.sched-page--dashboard .sched-panel__action:hover,
body.sched-page--dashboard .sched-booking-open:hover,
body.sched-page--dashboard .sched-text-link:hover {
  color: #f2f3f5;
}

/* Workspace rail integration */
@media (min-width: 981px) {
  body.has-workspace-rail:not(.ws-rail-collapsed) .sched-dash-nav {
    justify-content: flex-end;
  }
  body.has-workspace-rail:not(.ws-rail-collapsed) .sched-dash-nav .sched-brand,
  body.has-workspace-rail:not(.ws-rail-collapsed) .sched-dash-nav .sched-lang {
    display: none;
  }
}

/* Match the main platform surfaces and equalise the dashboard panels. */
body.sched-page--dashboard .sched-dash-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.sched-page--dashboard .sched-dash-hero {
  background:
    radial-gradient(ellipse 65% 90% at 105% 0%, rgba(255,255,255,.06), transparent 62%),
    #131313;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  box-shadow: none;
}
body.sched-page--dashboard .sched-dash-hero::after { color: rgba(255,255,255,.045); }
body.sched-page--dashboard .sched-dash-stats,
body.sched-page--dashboard .sched-panel {
  border-radius: 12px;
  background: #131313;
  border-color: rgba(255,255,255,.09);
}
body.sched-page--dashboard .sched-dash-preview {
  background: #1a1a1a;
  border-color: rgba(255,255,255,.10);
}
body.sched-page--dashboard .sched-panel__head { background: #131313; }
@media (max-width: 980px) {
  body.sched-page--dashboard .sched-dash-grid { grid-template-columns: 1fr; }
}

body.sched-page--dashboard .sched-dash-grid {
  align-items: stretch;
}
body.sched-page--dashboard .sched-dash-grid > .sched-panel {
  height: 100%;
}

/* Page-level logo matches the main sidebar wordmark. */
body.has-workspace-rail .sched-dash-nav .sched-brand {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.05em;
  gap: 4px;
  align-items: flex-start;
}
body.has-workspace-rail .sched-brand-rule { color: #989898; font-weight: 300; }
body.has-workspace-rail .sched-brand-ai {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #989898;
  margin-top: 1px;
}

/* Keep the page logo visible with the main sidebar sizing. */
body.has-workspace-rail .sched-dash-nav .sched-brand {
  display: inline-flex !important;
  line-height: 1;
}

.sched-brand .brand-wordmark { display: inline-flex; align-items: flex-start; gap: 5px; font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif; font-size: 17px; font-weight: 500; letter-spacing: -.05em; line-height: 1; color: #f2f3f5; }
.sched-brand .brand-wordmark__rule { color: #989898; font-weight: 300; }
.sched-brand .brand-wordmark__ai { font-size: 9px; font-weight: 600; letter-spacing: .02em; color: #989898; margin-top: 0; }
