/* R64: Mosaeli Experience Enhancement - Zero-Scroll Dashboard, Streamlined Onboarding, Unified Tiers */
:root {
  --ee-navy: #101b42;
  --ee-blue: #1261ef;
  --ee-light-blue: #edf3ff;
  --ee-border: #dfe5ef;
  --ee-text: #28251d;
  --ee-muted: #53607b;
  --ee-surface: #ffffff;
}

/* Hide legacy Plus preview badges in navigation and headers */
.plus-badge,
.nav-tier-label.plus {
  display: none !important;
}

/* Zero-Scroll Dashboard Optimization: Retire legacy duplicate summary tiles & bottom notes */
div.md-summary-grid,
.md-overview > .md-summary-grid,
.md-summary-grid,
.md-overview .ux-status-guide,
.md-overview .md-overview-bottom {
  display: none !important;
}

/* Eliminate artificial 100dvh viewport stretch causing unnecessary scrolling */
.shell:has(.md-overview) {
  min-height: 0 !important;
  height: auto !important;
}
.app:has(.md-overview) {
  min-height: 0 !important;
}

/* Clean, balanced desktop layout for My Dashboard */
@media (min-width: 900px) {
  .shell:has(.md-overview) .main {
    padding: 16px 28px !important;
  }
  .md-overview .page-head.md-overview-head {
    margin-bottom: 8px !important;
  }
  .md-overview-panels {
    margin-top: 14px !important;
  }
  .sidebar {
    max-height: calc(100vh - 145px) !important;
    overflow-y: auto !important;
  }
}

/* Primary Suggested Next Action Card */
.ee-focus-card {
  background: var(--ee-surface);
  border: 1px solid #c9d9f8;
  border-left: 5px solid var(--ee-blue);
  border-radius: 14px;
  padding: 18px 24px;
  margin: 6px 0 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  box-shadow: 0 4px 14px rgba(18, 97, 239, 0.05);
}
.ee-focus-card .eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ee-blue);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ee-focus-card h2 {
  font-size: 20px;
  font-family: var(--font-display, "Manrope", sans-serif);
  color: var(--ee-navy);
  margin: 0 0 6px;
  line-height: 1.25;
}
.ee-focus-card p {
  color: var(--ee-muted);
  font-size: 14.5px;
  margin: 0 0 8px;
  line-height: 1.45;
}
.ee-focus-card .ee-why {
  font-size: 12px;
  color: #65718a;
}
.ee-focus-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 170px;
}
.ee-focus-actions .btn-primary {
  width: 100%;
  justify-content: center;
  min-height: 42px;
  font-weight: 700;
  font-size: 14.5px;
}
.ee-focus-actions .link-btn {
  font-size: 13px;
  color: #174ea6;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 2px 4px;
}

/* Quick Capture Action Strip */
.ee-quick-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}
.ee-quick-strip .ee-quick-label {
  font-size: 13.5px;
  color: var(--ee-muted);
  font-weight: 500;
}
.ee-quick-strip .btn-ghost {
  border: 1px solid var(--ee-border);
  background: #ffffff;
  color: var(--ee-navy);
  border-radius: 9px;
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 14px;
  min-height: 38px;
}
.ee-quick-strip .btn-ghost:hover {
  background: #f8fafd;
  border-color: #cdd7e7;
}

/* Streamlined Onboarding Questionnaire Modal */
.ee-onboarding-dialog {
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: #ffffff;
  max-width: 520px;
  width: 92vw;
  box-shadow: 0 24px 64px rgba(16, 27, 66, 0.18);
}
.ee-onboarding-dialog::backdrop {
  background: rgba(16, 27, 66, 0.45);
  backdrop-filter: blur(4px);
}
.ee-onboard-wrap {
  padding: 32px 28px;
}
.ee-onboard-step {
  font-size: 12.5px;
  color: var(--ee-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.ee-onboard-wrap h2 {
  font-size: 26px;
  color: var(--ee-navy);
  margin: 0 0 10px;
  font-family: var(--font-display, "Manrope", sans-serif);
}
.ee-onboard-wrap p.sub {
  color: var(--ee-muted);
  font-size: 15px;
  margin: 0 0 20px;
  line-height: 1.5;
}
.ee-choice-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin: 12px 0;
  border: 1.5px solid var(--ee-border);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  width: 100%;
}
.ee-choice-card:hover {
  border-color: #b9cffa;
  background: #fbfdff;
}
.ee-choice-card.selected {
  border-color: var(--ee-blue);
  background: var(--ee-light-blue);
}
.ee-choice-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #a9b8cf;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.ee-choice-card.selected .ee-choice-radio {
  border: 6px solid var(--ee-blue);
}
.ee-choice-card b {
  display: block;
  font-size: 15px;
  color: var(--ee-navy);
}
.ee-choice-card p {
  margin: 3px 0 0;
  font-size: 13.5px;
  color: var(--ee-muted);
}
.ee-onboard-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ee-onboard-actions .btn-primary {
  width: 100%;
  min-height: 48px;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
}
.ee-skip-link {
  background: none;
  border: 0;
  color: #174ea6;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ee-focus-card {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 14px;
  }
  .ee-focus-actions {
    align-items: stretch;
    width: 100%;
  }
  .ee-focus-actions .btn-primary {
    width: 100%;
  }
  .ee-quick-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .ee-quick-strip .ee-quick-label {
    grid-column: 1 / -1;
  }
}
