/* MBA Aspirants — Platform hubs (tools, resources, exams, GDPI) */
.ph-page { --ph-teal: #0d9488; --ph-ink: #0f172a; --ph-muted: #64748b; }
.ph-hero {
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 50%, #0d9488 100%);
  color: #fff;
  padding: 2.5rem 1.25rem 3rem;
}
@media (min-width: 1024px) { .ph-hero { padding: 3.5rem 2rem 4rem; } }
.ph-hero__inner { max-width: 80rem; margin: 0 auto; }
.ph-hero__eyebrow {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: #99f6e4;
}
.ph-hero__title {
  margin-top: 0.5rem; font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.15;
  color: #fff !important;
}
.ph-hero h1,
.ph-hero h2,
.ph-hero h3,
.ph-hero h4,
.ph-hero .ph-hero__title {
  color: #fff !important;
}
.ph-hero p.ph-hero__lead,
.ph-hero .ph-hero__lead {
  color: rgb(204 251 241 / 0.92) !important;
}
.ph-hero .ph-breadcrumb,
.ph-hero .ph-breadcrumb a {
  color: #99f6e4 !important;
}
.ph-hero .ph-breadcrumb a:hover {
  color: #fff !important;
}
.ph-hero .text-slate-950,
.ph-hero .text-slate-900,
.ph-hero .text-slate-800,
.ph-hero .text-\[\#1c1d1f\] {
  color: #fff !important;
}
.ph-hero .text-slate-600,
.ph-hero .text-slate-500 {
  color: rgb(204 251 241 / 0.85) !important;
}
.ph-hero .text-teal-600 {
  color: #99f6e4 !important;
}
.ph-hero__lead { margin-top: 0.75rem; max-width: 42rem; color: rgb(204 251 241 / 0.9); line-height: 1.6; }
.ph-body { max-width: 80rem; margin: 0 auto; padding: 2rem 1.25rem 3rem; }
@media (min-width: 1024px) { .ph-body { padding: 2.5rem 2rem 4rem; } }
.ph-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .ph-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .ph-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ph-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.ph-card {
  border: 1px solid #e2e8f0; border-radius: 1rem; background: #fff;
  padding: 1.25rem; transition: border-color 0.2s, box-shadow 0.2s;
  height: 100%; display: flex; flex-direction: column;
}
.ph-card:hover { border-color: #5eead4; box-shadow: 0 8px 24px rgb(13 148 136 / 0.08); }
.ph-card--link {
  text-decoration: none !important;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color 0.28s ease, box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.ph-card--link:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgb(13 148 136 / 0.12);
  text-decoration: none !important;
}
.ph-card--link:hover *,
.ph-card--link:focus-visible * {
  text-decoration: none !important;
  background-image: none !important;
}
.ph-card--link:hover .ph-card__title { color: var(--ph-teal); }
.ph-card--link:hover .ph-card__cta { letter-spacing: 0.02em; }
.ph-card__icon { font-size: 2rem; line-height: 1; }
.ph-card__title { margin-top: 0.75rem; font-size: 1.05rem; font-weight: 800; color: var(--ph-ink); }
.ph-card__text { margin-top: 0.35rem; font-size: 0.875rem; color: var(--ph-muted); flex: 1; line-height: 1.5; }
.ph-card__cta { margin-top: 1rem; font-size: 0.8125rem; font-weight: 700; color: var(--ph-teal); }
.ph-section { margin-top: 2.5rem; }
.ph-section__title { font-size: 1.35rem; font-weight: 800; color: var(--ph-ink); }
.ph-section__sub { margin-top: 0.35rem; font-size: 0.875rem; color: var(--ph-muted); }
.ph-tool-form {
  border: 1px solid #e2e8f0; border-radius: 1rem; background: #fff;
  padding: 1.5rem; max-width: 32rem;
}
.ph-tool-form--wide {
  max-width: 100%;
}
@media (min-width: 1024px) {
  .ph-tool-form--wide { max-width: 26rem; }
}
.cp-exam-field.hidden { display: none !important; }
.ph-tool-form label { display: block; font-size: 0.8125rem; font-weight: 700; color: #334155; margin-bottom: 0.35rem; }
.ph-tool-form input, .ph-tool-form select {
  width: 100%; border: 1px solid #e2e8f0; border-radius: 0.65rem;
  padding: 0.6rem 0.85rem; font-size: 0.9375rem; margin-bottom: 1rem;
}
.ph-results { margin-top: 1.5rem; }
.ph-result-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.5rem; padding: 0.75rem 0; border-bottom: 1px solid #f1f5f9;
}
.ph-badge {
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 0.2rem 0.55rem; border-radius: 999px;
}
.ph-badge--green { background: #d1fae5; color: #065f46; }
.ph-badge--teal { background: #ccfbf1; color: #0f766e; }
.ph-badge--amber { background: #fef3c7; color: #92400e; }
.ph-badge--slate { background: #f1f5f9; color: #64748b; }
.ph-resource-link {
  display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.55rem 0;
  font-size: 0.875rem; font-weight: 600; color: #0f766e; text-decoration: none !important;
  background-image: linear-gradient(#115e59, #115e59);
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: color 0.22s ease, background-size 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.ph-resource-link:hover { color: #115e59; text-decoration: none !important; background-size: 100% 2px; }
.ph-breadcrumb { font-size: 0.8125rem; color: #99f6e4; margin-bottom: 0.5rem; }
.ph-breadcrumb a { color: #fff; text-decoration: none !important; opacity: 0.92; transition: opacity 0.2s ease; }
.ph-breadcrumb a:hover { opacity: 1; text-decoration: none !important; }
.ph-split { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .ph-split { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.ph-stat-pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  border-radius: 999px; background: rgb(255 255 255 / 0.12);
  padding: 0.35rem 0.85rem; font-size: 0.75rem; font-weight: 600;
}
.ph-community-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 999px; border: 1px solid #e2e8f0; background: #fff;
  padding: 0.6rem 1.1rem; font-size: 0.875rem; font-weight: 700;
  color: #334155; text-decoration: none !important;
}
.ph-community-btn:hover { border-color: #0d9488; color: #0f766e; }

/* Study plan tool — form left, results right */
.ph-study-plan-layout {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .ph-study-plan-layout {
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 1.75rem;
  }
}
.ph-study-plan-layout__form {
  height: fit-content;
  position: sticky;
  top: 5.5rem;
}
.ph-study-plan-layout__results {
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.ph-study-plan-results {
  flex: 1;
  overflow-y: auto;
  max-height: min(72vh, 780px);
  padding-right: 0.25rem;
  scrollbar-width: thin;
}
.ph-study-plan-results::-webkit-scrollbar {
  width: 6px;
}
.ph-study-plan-results::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}
.ph-study-plan-layout--ready .ph-study-plan-layout__hint {
  display: none;
}
.ph-study-plan-layout--ready .ph-study-plan-placeholder {
  display: none;
}
.ph-study-plan-layout--ready .ph-study-plan-results {
  display: block !important;
}
.ph-study-plan-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  border: 2px dashed #e2e8f0;
  border-radius: 1rem;
  background: #f8fafc;
}
.ph-study-plan-results .text-primary { color: #0f172a !important; }
.ph-study-plan-results .text-secondary { color: #475569 !important; }
.ph-study-plan-results .text-accent-cyan { color: #0d9488 !important; }

/* Dark mode */
html[data-theme="dark"] .ph-card,
html[data-theme="dark"] .ph-tool-form { background: #1e293b; border-color: #334155; }
html[data-theme="dark"] .ph-card__title,
html[data-theme="dark"] .ph-section__title { color: #f1f5f9; }
html[data-theme="dark"] .ph-card__text,
html[data-theme="dark"] .ph-section__sub { color: #94a3b8; }
html[data-theme="dark"] body.ud-premium { background: #0f172a; color: #e2e8f0; }
