/* ============================================================
   REHYRD Phase 2 — Features 5+6 styles
   "Can I Become A…?" packs + Record-Friendly Career Explorer.
   Design language: warm paper, sunrise-orange primary, teal accents.
   ============================================================ */
:root {
  --paper: #faf6ef;
  --card: #fffdf9;
  --ink: #1c1917;
  --accent: #c2410c;
  --accent-soft: #ffedd5;
  --teal: #0f766e;
  --teal-soft: #ccfbf1;
  --gold: #b45309;
  --radius: 14px;
}

.p2-wrap { max-width: 720px; margin: 0 auto; }

/* ---------- careers library ---------- */
.p2-search { margin: 14px 0 18px; }
.p2-search input[type="search"] { font-size: 1.05rem; padding: 14px; }

.p2-packs { display: grid; gap: 16px; }
.p2-pack { padding: 20px; border-radius: var(--radius); scroll-margin-top: 90px; }
.p2-pack-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.p2-pack-head h3 { margin: 0; font-size: 1.25rem; }
.p2-icon { font-size: 1.9rem; line-height: 1; }

.p2-facts { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 14px; }
.p2-fact { font-size: .92rem; }

/* Money rule: free/low-cost ALWAYS renders first and looks first */
.p2-freebox {
  background: var(--teal-soft);
  border: 1px solid #99f6e4;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.p2-freebox h4 { margin: 0 0 4px; color: #115e59; font-size: 1rem; }
.p2-freebox .fine { margin: 0 0 8px; }
.p2-freebox ul { margin: 0; padding-left: 20px; }
.p2-freebox li { margin-bottom: 6px; }

/* Cert-card funding snippets (injected by the Library integrator) */
.p2-fundbox {
  background: var(--teal-soft);
  border: 1px solid #99f6e4;
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-top: 12px;
}
.p2-fundbox h4 { margin: 0 0 6px; color: #115e59; font-size: .95rem; }
.p2-fundbox ul { margin: 0; padding-left: 20px; }
.p2-fundbox li { margin-bottom: 6px; font-size: .93rem; }

.p2-section { margin: 14px 0; }
.p2-section h4 { margin: 0 0 8px; font-size: 1rem; }
.p2-steps { margin: 0; padding-left: 22px; }
.p2-steps li { margin-bottom: 6px; }
.p2-barriers { margin: 0; padding-left: 20px; }
.p2-barriers li { margin-bottom: 8px; }
.p2-links { margin: 0; padding-left: 20px; }
.p2-links li { margin-bottom: 6px; }

.p2-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.p2-disclaimer {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 14px 0 0;
}

.p2-explore-cta { margin-top: 18px; text-align: center; }

.p2-empty { padding: 24px; text-align: center; }
.p2-empty h3 { margin-top: 0; }

/* ---------- career explorer ---------- */
.p2-prompt-label { margin: 14px 0 10px; font-size: 1.05rem; }
.p2-prompt-grid { display: grid; gap: 12px; grid-template-columns: 1fr; margin-bottom: 14px; }
@media (min-width: 560px) { .p2-prompt-grid { grid-template-columns: 1fr 1fr; } }

.p2-prompt {
  text-align: left;
  cursor: pointer;
  padding: 18px;
  border-radius: var(--radius);
  transition: transform .12s ease, box-shadow .12s ease;
  font: inherit;
  color: inherit;
  width: 100%;
}
.p2-prompt:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(28, 25, 23, .12); }
.p2-prompt:active { transform: scale(.99); }
.p2-prompt-q { font-size: 1.02rem; font-weight: 600; line-height: 1.45; }

.p2-detail { padding: 22px; border-radius: var(--radius); }
.p2-detail h3 { margin-top: 0; }
.p2-note {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 10px 14px;
  font-size: .94rem;
}
.p2-back { margin-bottom: 12px; }

.p2-paths { margin: 0; padding-left: 20px; }
.p2-paths li { margin-bottom: 8px; }
.p2-linkbtn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.p2-certbtns { display: flex; flex-wrap: wrap; gap: 8px; }
