/* Visual hierarchy refinements loaded after page-level styles.
   Purple is reserved for brand/primary workflow emphasis; neutral tones handle labels and utility actions. */

:root {
  --section-label: #7a6d66;
  --utility-action: #6f3b2f;
  --utility-action-dark: #2f211d;
  --attention-red: #9b2f24;
}

.eyebrow {
  color: var(--section-label);
  letter-spacing: 0.12em;
}

.page-header .eyebrow {
  color: var(--utility-action);
}

.page-header .compact-actions > a.button:not(.secondary) {
  background: rgba(255, 255, 255, 0.52);
  border-color: var(--border);
  box-shadow: none;
  color: var(--utility-action-dark);
}

.page-header .compact-actions > a.button:not(.secondary):hover,
.page-header .compact-actions > a.button:not(.secondary):focus {
  background: var(--surface-strong);
  border-color: rgba(111, 59, 47, 0.28);
  color: var(--text);
  filter: none;
}

.page-header .record-action-button.button.secondary,
.next-actions-shell .next-actions-toggle.button.secondary {
  background: rgba(255, 255, 255, 0.46);
  border-color: var(--border);
  color: var(--utility-action);
}

.page-header .record-action-button.button.secondary:hover,
.page-header .record-action-button.button.secondary:focus,
.next-actions-shell .next-actions-toggle.button.secondary:hover,
.next-actions-shell .next-actions-toggle.button.secondary:focus {
  background: var(--surface-strong);
  border-color: rgba(111, 59, 47, 0.28);
  color: var(--utility-action-dark);
}

.record-action-panel a,
.inline-more-panel a,
.quick-organizer-popover summary {
  color: var(--utility-action);
}

.record-action-panel a:hover,
.record-action-panel a:focus,
.inline-more-panel a:hover,
.inline-more-panel a:focus,
.quick-organizer-popover summary:hover,
.quick-organizer-popover summary:focus {
  background: rgba(143, 73, 52, 0.08);
  color: var(--utility-action-dark);
}

.readiness-link {
  color: var(--utility-action);
}

.readiness-link:hover,
.readiness-link:focus {
  color: var(--utility-action-dark);
}

.event-meta-chip:not(.warning) strong,
.booking-count-chip strong,
.readiness-item:not(.warning) strong,
.status-chip strong {
  color: var(--utility-action-dark);
}

.event-meta-chip.warning strong,
.readiness-item.warning strong,
.readiness-alert .warning-text {
  color: var(--attention-red);
}

.next-actions-count {
  background: rgba(155, 47, 36, 0.11);
  color: var(--attention-red);
}

.dashboard-section-grid {
  align-items: stretch !important;
}

.dashboard-section-grid .dashboard-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dashboard-section-grid .dashboard-list {
  flex: 1 1 auto;
}

.booking-add-disclosure > summary {
  background: var(--utility-action-dark);
  box-shadow: 0 8px 18px rgba(47, 33, 29, 0.14);
}

.booking-add-disclosure > summary:hover,
.booking-add-disclosure > summary:focus {
  filter: none;
  background: #3d2b25;
}

.booking-readiness .status-pill {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0.35rem 0.35rem 0;
  padding: 0.15rem 0.55rem;
  white-space: nowrap;
}

.booking-readiness .status-pill.missing {
  background: rgba(199, 149, 59, 0.06);
  border-color: rgba(199, 149, 59, 0.34);
  color: #8a5c11;
  font-weight: 650;
}

.booking-readiness .status-pill.ready {
  background: rgba(125, 157, 117, 0.06);
  border-color: rgba(125, 157, 117, 0.3);
  color: #496b42;
  font-weight: 650;
}

.landing-strip {
  display: none !important;
}

@media (max-width: 560px) {
  .landing-page {
    gap: 1.35rem !important;
    margin-top: 0 !important;
    max-width: 100%;
    overflow-x: hidden;
  }

  .landing-hero {
    border-radius: 18px !important;
    gap: 1rem !important;
    padding: 0.85rem !important;
  }

  .hero-copy {
    padding: 1.35rem 0 0 !important;
  }

  .hero-kicker,
  .section-kicker,
  .card-label {
    font-size: 0.64rem !important;
    letter-spacing: 0.08em !important;
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 12.5vw, 3.2rem) !important;
    letter-spacing: -0.06em !important;
    line-height: 0.96 !important;
    max-width: 10.5ch !important;
  }

  .hero-lede {
    font-size: 0.96rem !important;
    line-height: 1.45 !important;
  }

  .hero-actions {
    gap: 0.45rem !important;
    margin-top: 1.15rem !important;
  }

  .hero-art {
    min-height: 18rem !important;
    overflow: visible;
  }

  .sunburst {
    right: -0.85rem !important;
    top: 49% !important;
    width: 78% !important;
  }

  .main-program-card {
    gap: 0.6rem !important;
    left: 0 !important;
    padding: 0.95rem !important;
    top: 2.4rem !important;
    width: min(19rem, 86%) !important;
  }

  .main-program-card h2 {
    font-size: clamp(1.35rem, 8vw, 2rem) !important;
    letter-spacing: -0.04em !important;
  }

  .main-program-card div {
    align-items: flex-start !important;
    gap: 0.4rem !important;
    padding-top: 0.48rem !important;
  }

  .main-program-card dt,
  .main-program-card dd,
  .mini-pill,
  .floating-card {
    font-size: 0.72rem !important;
  }

  .floating-card {
    gap: 0.5rem !important;
    padding: 0.6rem 0.72rem !important;
    width: min(16rem, 76%) !important;
  }

  .mini-icon {
    flex-basis: 1.85rem !important;
    height: 1.85rem !important;
  }

  .speaker-card {
    right: 0 !important;
    top: 0.8rem !important;
  }

  .task-card {
    bottom: 1.15rem !important;
    right: 0.5rem !important;
  }

  .landing-section > div:first-child h2,
  .showcase-copy h2,
  .landing-cta h2 {
    font-size: clamp(1.85rem, 10vw, 2.65rem) !important;
    letter-spacing: -0.045em !important;
    line-height: 0.98 !important;
    max-width: 11.5ch !important;
  }

  .feature-grid,
  .workflow-stack {
    gap: 0.65rem !important;
  }

  .feature-card {
    border-radius: 18px !important;
    padding: 1rem !important;
  }

  .feature-card h3 {
    font-size: clamp(1.25rem, 7vw, 1.8rem) !important;
    line-height: 1.02 !important;
  }

  .showcase-section,
  .landing-cta {
    border-radius: 18px !important;
    padding: 1.05rem !important;
  }

  .workflow-step {
    border-radius: 14px !important;
    gap: 0.22rem 0.55rem !important;
    padding: 0.72rem !important;
  }

  .workflow-step span {
    height: 1.85rem !important;
    width: 1.85rem !important;
  }
}
