/* Home dashboard and assessment results. */
.home-dashboard .dashboard-header { margin-bottom: 1.75rem; }
.home-eyebrow { margin-bottom: 0.6rem; color: var(--brand-primary); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.home-dashboard h1 { font-size: clamp(1.6rem, 3vw, 2rem); letter-spacing: -0.035em; }
.home-overview { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.25rem; }
.home-overview > * { min-width: 0; }
.home-overview .discovery-card { margin: 0; padding: 1.75rem; display: flex; flex-direction: column; align-items: stretch; border: 1px solid #cbd8cb; border-radius: 14px; background: linear-gradient(120deg, #e8efe5, #f5f7ef); box-shadow: none; cursor: default; }
.home-overview .discovery-card:hover { transform: none; box-shadow: none; border-color: #cbd8cb; }
.home-overview .discovery-card-visual { display: none; }
.home-overview .discovery-card-body { display: flex; flex: 1; flex-direction: column; align-self: stretch; padding: 0; }
.home-overview .discovery-card-eyebrow { color: #44634b; }
.home-overview .discovery-card-stat { background: #fff9; color: #44634b; }
.home-overview .discovery-card-kicker { margin-bottom: 1rem; }
.home-overview h2 { font-size: 1.375rem; letter-spacing: -0.025em; line-height: 1.3; }
.home-overview .discovery-card p { max-width: 34rem; color: #536158; font-size: 0.9375rem; line-height: 1.6; }
.home-overview .discovery-card-actions { justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: auto; padding-top: 1.5rem; }
.home-restart { border: 0; background: transparent; color: #44634b; font: inherit; font-size: 0.8125rem; cursor: pointer; padding: 0.5rem 0; text-decoration: underline; text-underline-offset: 3px; }
.home-workspace { display: flex; flex-direction: column; align-self: stretch; padding: 1.35rem 1.5rem 0.5rem; background: #ffffffb3; border: 1px solid var(--border); border-radius: 14px; }
.home-workspace h2 { font-size: 1rem; margin-bottom: 0.35rem; }
.home-workspace-link { display: grid; flex: 1; grid-template-columns: 1.5rem minmax(0, 1fr) 1rem; gap: 0.75rem; align-items: center; width: 100%; padding: 1rem 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.home-workspace-link + .home-workspace-link { border-top: 1px solid #e2e3da; }
.home-workspace-link strong { display: block; font-size: 0.875rem; font-weight: 600; }
.home-workspace-copy { min-width: 0; }
.home-workspace-title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 0.5rem; }
.home-workspace-status { padding: 0.2rem 0.45rem; border-radius: 999px; background: #eaf0e7; color: #44634b; font-size: 0.625rem; line-height: 1.3; font-weight: 600; white-space: nowrap; }
.home-workspace-status[hidden] { display: none; }
.home-workspace-status.needs-attention { background: #f7ecd1; color: #785c1e; }
.home-workspace-icon { display: flex; color: var(--brand-primary); }
.home-workspace-icon svg { width: 23px; height: 23px; }
.home-link-description { display: block; margin-top: 0.25rem; color: var(--text-muted); font-size: 0.75rem; line-height: 1.45; }
.home-link-arrow { display: flex; color: #66816c; }
.home-arrow { display: inline-block; flex: 0 0 auto; width: 1rem; height: 1rem; vertical-align: -0.2em; }
.home-section-heading > a, .home-reading-links a, .home-match-links > a, .home-more-action { display: inline-flex; align-items: center; gap: 0.375rem; }
.home-workspace-link:hover strong, .home-section-heading > a:hover, .home-reading-links a:hover { color: var(--brand-primary); text-decoration: underline; text-underline-offset: 3px; }
.home-explore { margin-top: 2.5rem; }
.home-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.125rem; }
.home-section-heading h2 { font-size: 1.25rem; letter-spacing: -0.025em; }
.home-section-heading p { margin-top: 0.35rem; color: var(--text-muted); font-size: 0.875rem; }
.home-section-heading > a { flex-shrink: 0; color: var(--brand-primary); font-size: 0.8125rem; font-weight: 600; text-decoration: none; }
.home-explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.home-explore-card { display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.home-explore-card:hover { border-color: #8da58e; box-shadow: 0 6px 20px -12px #31563766; }
.home-explore-icon { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1.125rem; border-radius: 50%; background: #e8eee6; color: #487456; }
.home-explore-pathways .home-explore-icon { background: #f5edde; color: #8c6b30; }
.home-explore-reports .home-explore-icon { background: #edf3f7; color: #2a6f9e; }
.home-explore-icon svg { width: 25px; height: 25px; }
.home-explore-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.home-explore-card p { color: var(--text-muted); font-size: 0.8125rem; line-height: 1.6; margin-bottom: 1.25rem; }
.home-explore-action { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; color: var(--brand-primary); font-size: 0.8125rem; font-weight: 600; }
.home-reading-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; align-items: center; padding-top: 1.25rem; font-size: 0.8125rem; }
.home-reading-links > span { color: var(--text-muted); }
.home-reading-links a { color: var(--brand-primary); text-decoration: none; }
.home-featured .featured-pathway { margin-top: 0; grid-template-columns: minmax(0, 1fr); min-height: 17rem; box-shadow: 0 6px 24px -16px rgba(31,35,56,0.2); }
.home-featured .featured-pathway-content { padding: 1.5rem; }
.home-featured .featured-pathway-title { font-size: 1.5rem; line-height: 1.2; }
.home-featured .featured-pathway-desc { font-size: 0.875rem; }
.home-featured .featured-pathway-actions { max-width: none; }
.home-featured .featured-pathway-primary-actions { flex-flow: row wrap; align-items: center; gap: 0.5rem 1.25rem; }
.home-featured .featured-pathway-primary-actions .btn.assistance { flex: 0 0 auto; width: auto; min-height: 2.95rem; justify-content: flex-start; padding: 0.45rem 1.05rem 0.45rem 0.45rem; }
.home-featured .featured-pathway-primary-actions .pathway-learn-more { min-height: 2.75rem; }
.home-more-matches { display: flex; align-items: center; gap: 0.875rem; margin-top: 0.875rem; padding: 1rem 1.125rem; border: 1px solid #d6c59c; border-radius: 12px; background: #f8f2e4; color: var(--text); text-decoration: none; transition: background 0.15s, border-color 0.15s; }
.home-more-matches:hover { background: #f2e8d2; border-color: #b79d61; }
.home-more-count { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 2.75rem; height: 2.75rem; padding: 0 0.5rem; border-radius: 10px; background: #fffaf0; color: #7d622a; font-size: 1.375rem; font-weight: 700; }
.home-more-copy { flex: 1; min-width: 0; }
.home-more-copy strong { display: block; font-size: 0.875rem; line-height: 1.4; }
.home-more-copy > span { display: block; margin-top: 0.25rem; color: #766442; font-size: 0.75rem; line-height: 1.5; }
.home-more-action { flex: 0 0 auto; color: #715925; font-size: 0.8125rem; font-weight: 600; }
.home-more-action .results-icon { color: inherit; }
.home-more-matches:hover .home-more-action { text-decoration: underline; text-underline-offset: 3px; }
.home-match-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; }
.home-match-links:not(:empty) { margin: 0.5rem 0.25rem 0; }
.home-match-links > a { color: var(--brand-primary); font-size: 0.8125rem; font-weight: 600; text-decoration: none; padding: 0.5rem 0; }
.home-match-links > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-match-links [data-restart-discovery] { display: inline-flex; align-items: center; gap: 0.375rem; margin-left: auto; color: var(--text-muted); }
.home-review-link { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 1rem; color: var(--brand-primary); font-size: 0.875rem; text-underline-offset: 3px; }
.home-dashboard :is(a, button):focus-visible, .results-page :is(a, button):focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 4px; }
.results-page .breadcrumb { margin-bottom: 1rem; }
.results-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.75rem; }
.results-header > div { min-width: 0; }
.results-icon { width: 1.125rem; height: 1.125rem; flex: 0 0 auto; color: var(--brand-primary); }
.results-kicker { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; color: #526985; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.results-kicker-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 2rem; height: 2rem; border: 1px solid rgba(82,105,133,0.18); border-radius: 8px; background: #edf1f6; }
.results-kicker-icon .results-icon { width: 1rem; height: 1rem; color: inherit; }
.results-header h1 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 1.75rem); line-height: 1.25; letter-spacing: -0.025em; }
.results-subtitle { margin: 0.5rem 0 0; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }
.results-header > .btn { flex-shrink: 0; }
.results-header + .featured-pathway { margin-top: 0; }
.results-empty { padding: 1rem 0; }
.results-empty h2 { font-size: 1.125rem; margin: 0 0 0.75rem; }
.results-empty p, .results-empty-note { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }
.results-empty a { display: inline-block; margin-top: 1rem; color: var(--brand-primary); font-size: 0.875rem; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .dash-content { animation: none; }
  .home-explore-card, .home-more-matches { transition: none; }
}
@media (max-width: 800px) {
  .home-overview { grid-template-columns: 1fr; }
  .home-workspace { padding-bottom: 0.25rem; }
  .home-workspace-link { flex: none; }
  .home-explore-card { padding: 1.125rem; }
}
@media (max-width: 600px) {
  .results-header { flex-direction: column; align-items: stretch; gap: 1rem; }
  .results-subtitle { font-size: 0.875rem; }
  .home-featured .featured-pathway { grid-template-columns: 1fr; min-height: 0; }
  .home-featured .featured-pathway-content { padding: 1.25rem; }
  .home-featured .featured-pathway-title { font-size: 1.25rem; }
  .home-overview .discovery-card { padding: 1.25rem; }
  .home-overview .discovery-card-actions { gap: 0.5rem 1rem; }
  .home-overview .discovery-card-actions .btn { width: auto; max-width: 100%; white-space: normal; text-align: center; }
  .home-section-heading { align-items: flex-start; }
  .home-section-heading > a { margin-top: 0.25rem; }
  .home-explore-grid { grid-template-columns: 1fr; }
  .home-explore-card { padding: 1.25rem; }
  .home-explore { margin-top: 2rem; }
  .home-reading-links { gap: 0.75rem 1.25rem; }
  .home-reading-links > span { width: 100%; }
}
@media (max-width: 420px) {
  .home-more-matches { gap: 0.75rem; padding: 0.875rem; }
  .home-more-action > span { display: none; }
}
