/* Resources: topic cards + long-form guide (Mental health) */
.category-card.is-live { padding: 0; transition: border-color .15s ease, box-shadow .15s ease; }
.category-card.is-live > a { display: block; padding: 1.25rem 1.4rem; color: inherit; text-decoration: none; }
.category-card.is-live:hover { border-color: #c9cfdc; box-shadow: 0 10px 28px rgba(9, 13, 21, .08); }
.category-card-cta { display: inline-block; margin-top: .7rem; font-weight: 700; font-size: .9rem; color: var(--electric); }

/* Hero */
.mh-hero { background: var(--midnight); color: var(--white); padding: 2.5rem 0 2.75rem; }
.mh-hero h1 { color: var(--white); max-width: 22ch; margin-bottom: .6rem; }
.mh-crumb { margin: 0 0 1.25rem; font-weight: 600; font-size: .95rem; }
.mh-crumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.mh-hero.mh-calm .mh-crumb a { color: #aab8ff; }
.mh-crumb a:hover, .mh-hero.mh-calm .mh-crumb a:hover { color: var(--white); text-decoration: underline; }
.mh-kicker { margin: 0 0 .6rem; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.mh-dek { font-size: 1.25rem; color: rgba(255,255,255,.85); max-width: 40ch; margin: 0 0 1.25rem; }
.mh-byline { margin: 0; font-size: .95rem; color: rgba(255,255,255,.75); }
.mh-byline strong { color: var(--white); }
.mh-dot { margin: 0 .35rem; opacity: .5; }

/* Fast lane: urgent numbers + jump links */
.mh-fastlane { background: #f4f6fb; border-bottom: 1px solid var(--line); padding: 1.75rem 0 2rem; }
.mh-urgent { background: var(--white); border: 2px solid var(--midnight); border-radius: var(--radius-lg); padding: 1.25rem 1.4rem 1.4rem; margin-bottom: 1.75rem; }
.mh-urgent-title { margin: 0 0 .25rem; font-weight: 800; font-size: 1.05rem; }
.mh-urgent-title a { color: inherit; }
.mh-urgent-text { margin: 0 0 1rem; color: var(--ink-soft); }
.mh-urgent-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.mh-call { display: flex; flex-direction: column; gap: .1rem; padding: .85rem 1rem; background: var(--midnight); color: var(--white); border-radius: 14px; text-decoration: none; }
.mh-call:hover { background: var(--midnight-2); color: var(--white); transform: translateY(-1px); }
.mh-call b { font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; opacity: .75; }
.mh-call span { font-family: var(--font-display, inherit); font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.mh-call em { font-style: normal; font-size: .85rem; opacity: .75; }

.mh-jump-title { margin: 0 0 .6rem; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.mh-jump { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; }
.mh-jump a { display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: .9rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.mh-jump a:hover { border-color: var(--electric); box-shadow: 0 8px 20px rgba(9, 13, 21, .08); }
.mh-jump b { font-size: 1rem; line-height: 1.25; }
.mh-jump span { font-size: .85rem; color: var(--ink-soft); }

/* "You are reading" bar */
.mh-here { position: sticky; top: var(--header-h); z-index: 60; background: var(--midnight); color: var(--white); border-bottom: 3px solid var(--electric); transform: translateY(-120%); opacity: 0; transition: transform .2s ease, opacity .2s ease; height: 0; overflow: visible; }
.mh-here.is-on { transform: none; opacity: 1; height: auto; }
.mh-here-inner { display: flex; align-items: baseline; gap: .6rem; padding-top: .65rem; padding-bottom: .65rem; font-size: .95rem; }
.mh-here-inner > span { opacity: .6; }
.mh-here-help { margin-left: auto; padding: .3rem .85rem; border-radius: 999px; background: var(--white); color: var(--midnight); font-weight: 800; font-size: .85rem; text-decoration: none; }
.mh-here-help:hover { background: #e9ecf4; color: var(--midnight); }

/* Layout */
.mh-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 3rem; align-items: start; padding-top: 2.5rem; padding-bottom: 3rem; }
.mh-rail { position: sticky; top: calc(var(--header-h) + 64px); max-height: calc(100vh - var(--header-h) - 84px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.mh-toc summary { display: none; }
.mh-toc ul { list-style: none; margin: 0; padding: 0; }
.mh-toc > nav > ul > li { margin-bottom: .15rem; }
.mh-toc a { display: block; padding: .38rem .7rem; color: var(--ink-soft); text-decoration: none; border-left: 4px solid transparent; font-size: .92rem; line-height: 1.35; }
.mh-toc > nav > ul > li > a { font-weight: 700; color: var(--ink); }
.mh-toc ul ul { margin: 0 0 .4rem; }
.mh-toc ul ul a { padding-left: 1.4rem; font-size: .85rem; }
.mh-toc a:hover { background: rgba(9, 13, 21, .05); color: var(--ink); }
.mh-toc a.is-active { border-left-color: var(--electric); background: rgba(67, 97, 255, .08); color: var(--ink); font-weight: 700; }
.mh-toc a.is-urgent { margin-bottom: .6rem; background: var(--midnight); color: var(--white); border-radius: 10px; border-left-color: transparent; text-align: center; font-weight: 800; }
.mh-toc a.is-urgent:hover { background: var(--midnight-2); color: var(--white); }
.mh-toc a.is-urgent.is-active { box-shadow: 0 0 0 3px var(--electric); }

/* Article typography */
.mh-article { min-width: 0; max-width: 46rem; font-size: 1.08rem; line-height: 1.7; }
.mh-article p { margin: 0 0 1.1rem; }
.mh-lede { font-size: 1.3rem; line-height: 1.5; color: var(--ink); font-weight: 500; }
.mh-section { margin-top: 3.25rem; scroll-margin-top: calc(var(--header-h) + 70px); }
.mh-section h2 { margin: 0 0 1rem; font-size: 1.75rem; line-height: 1.2; }
.mh-section h3 { margin: 1.75rem 0 .6rem; font-size: 1.3rem; }
.mh-section h4 { margin: 1.25rem 0 .4rem; font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.mh-num { display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; margin-right: .6rem; border-radius: 50%; background: var(--midnight); color: var(--white); font-size: 1rem; vertical-align: .12em; }
.mh-sub, .mh-tech, #help, .mh-section { scroll-margin-top: calc(var(--header-h) + 70px); }
.mh-list { margin: 0 0 1.25rem; padding-left: 1.3rem; list-style: disc; }
.mh-list li { margin-bottom: .35rem; }
.mh-skip { padding: .8rem 1rem; background: #f4f6fb; border-radius: 12px; font-size: 1rem; }
.cite { font-size: .7em; font-weight: 700; margin-left: .1em; }
.cite a { text-decoration: none; padding: 0 .12em; }
.cite span { margin: 0 .05em; }
.mh-box { margin: 1.25rem 0; padding: 1.1rem 1.3rem; background: #f4f6fb; border-radius: var(--radius-lg); }
.mh-box-title { margin: 0 0 .5rem !important; font-weight: 800; }
.mh-box .mh-list { margin-bottom: 0; }
.mh-callout { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 5px solid var(--electric); background: rgba(67, 97, 255, .07); border-radius: 0 14px 14px 0; }
.mh-pull { margin: 1.75rem 0; font-size: 1.45rem; line-height: 1.35; font-weight: 700; color: var(--ink); }
.mh-note { padding: .8rem 1rem; background: #fff7e6; border-radius: 12px; font-size: 1rem; }
.mh-try { margin-bottom: .6rem !important; }
.mh-steps { margin: 0 0 1.25rem; padding-left: 1.6rem; list-style: decimal; }
.mh-steps li { margin-bottom: .3rem; padding-left: .2rem; }
.mh-swap { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1rem 0 1.25rem; }
.mh-swap p { margin: 0; padding: .9rem 1rem; border-radius: 14px; background: #f4f6fb; font-style: italic; }
.mh-swap p:last-child { background: rgba(67, 97, 255, .09); }
.mh-swap span { display: block; margin-bottom: .2rem; font-style: normal; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.mh-article q { font-style: italic; }

/* Stats */
.mh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .75rem; margin: 1.5rem 0 .75rem; }
.mh-stats > div { padding: 1.1rem 1.2rem; background: var(--midnight); color: var(--white); border-radius: var(--radius-lg); }
.mh-stats dt { font-family: var(--font-display, inherit); font-size: 2.3rem; font-weight: 800; line-height: 1; margin-bottom: .4rem; }
.mh-stats dd { margin: 0; font-size: .95rem; line-height: 1.4; opacity: .85; }
.mh-source-note { font-size: .9rem; color: var(--ink-soft); }

/* Technique cards */
.mh-tech { margin: 1.75rem 0; padding: 1.5rem 1.6rem .5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.mh-tech > header { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.mh-tech h3 { margin: 0 0 .25rem; font-size: 1.3rem; }
.mh-tech-n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--midnight); color: var(--white); font-weight: 800; font-size: 1.15rem; }
.mh-badge { display: inline-block; margin: 0 !important; padding: .15rem .65rem; border-radius: 999px; background: rgba(67, 97, 255, .1); color: var(--electric); font-size: .8rem; font-weight: 700; }

/* Burnout checklist */
.mh-section--priority { padding: 1.75rem 1.75rem 1.25rem; border: 2px solid var(--midnight); border-radius: var(--radius-lg); }
.mh-check { list-style: none; counter-reset: c; margin: 0 0 1.5rem; padding: 0; }
.mh-check li { counter-increment: c; position: relative; margin-bottom: .75rem; padding: .85rem 1rem .85rem 3.4rem; background: #f4f6fb; border-radius: 14px; }
.mh-check li::before { content: counter(c); position: absolute; left: 1rem; top: .85rem; width: 1.7rem; height: 1.7rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--midnight); color: var(--white); font-weight: 800; font-size: .9rem; }
.mh-check b, .mh-check span { display: block; }
.mh-check span { color: var(--ink-soft); font-size: 1rem; }

/* Services */
.mh-section--help { padding: 1.75rem; background: #f4f6fb; border-radius: var(--radius-lg); }
.mh-urgent-title { font-weight: 800; }
.mh-services { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mh-service { display: flex; flex-direction: column; padding: 1.25rem 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.mh-service--primary { grid-column: 1 / -1; background: var(--midnight); color: var(--white); border-color: var(--midnight); }
.mh-service h3 { margin: 0 0 .4rem; font-size: 1.25rem; }
.mh-service p { font-size: 1rem; line-height: 1.55; }
.mh-service-tag { margin: 0 0 .4rem !important; font-size: .75rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--electric); }
.mh-service--primary .mh-service-tag { color: #9db0ff; }
.mh-service-call { display: inline-block; align-self: flex-start; margin: auto 0 .6rem; padding: .55rem 1.1rem; border-radius: 999px; background: var(--midnight); color: var(--white); font-weight: 800; font-size: 1.25rem; text-decoration: none; }
.mh-service-call:hover { background: var(--midnight-2); color: var(--white); }
.mh-service--primary .mh-service-call { background: var(--white); color: var(--midnight); }
.mh-service--primary .mh-service-call:hover { background: #e9ecf4; color: var(--midnight); }
.mh-service-link { align-self: flex-start; margin: auto 0 .6rem; font-weight: 700; }
.mh-service-src { margin: 0 !important; font-size: .82rem !important; color: var(--ink-soft); }
.mh-service-src a { color: inherit; }
.mh-service--primary .mh-service-src, .mh-service--primary .mh-service-src a { color: rgba(255,255,255,.7); }

/* Timeline */
.mh-timeline { list-style: none; margin: 1rem 0 1.5rem; padding: 0 0 0 1.4rem; border-left: 3px solid var(--line); }
.mh-timeline li { position: relative; margin-bottom: 1.1rem; padding-left: 1rem; }
.mh-timeline li::before { content: ''; position: absolute; left: -2.1rem; top: .45rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--electric); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--electric); }
.mh-timeline time { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--electric); }
.mh-timeline b { display: block; font-size: 1.15rem; }
.mh-timeline span { color: var(--ink-soft); }

/* Sources + author */
.mh-source-list { margin: 0; padding-left: 1.5rem; list-style: decimal; font-size: .95rem; line-height: 1.5; }
.mh-source-list li { margin-bottom: .75rem; scroll-margin-top: calc(var(--header-h) + 70px); }
.mh-source-list li:target { background: rgba(67, 97, 255, .1); border-radius: 6px; }
.mh-source-list span { display: block; color: var(--ink-soft); }
.mh-extra a { color: var(--ink-soft); }
.mh-author { margin-top: 3rem; padding-top: 1.5rem; border-top: 3px solid var(--midnight); }
.mh-disclaimer { font-size: .92rem; color: var(--ink-soft); }

/* Floating help button */
.mh-fab { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; padding: .8rem 1.3rem; border-radius: 999px; background: var(--midnight); color: var(--white); font-weight: 800; text-decoration: none; box-shadow: 0 10px 28px rgba(9, 13, 21, .35); border: 2px solid var(--white); transition: opacity .2s ease, transform .2s ease; }
.mh-fab:hover { color: var(--white); background: var(--midnight-2); }
.mh-fab.is-hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }

@media (max-width: 1000px) {
  .mh-jump { grid-template-columns: repeat(2, 1fr); }
  .mh-jump li:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .mh-layout { grid-template-columns: 1fr; gap: 1rem; padding-top: 1.5rem; }
  .mh-rail { position: static; max-height: none; overflow: visible; }
  .mh-toc { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
  .mh-toc summary { display: block; cursor: pointer; padding: .8rem 1rem; font-weight: 800; }
  .mh-toc nav { padding: 0 .5rem .8rem; max-height: 60vh; overflow-y: auto; }
  .mh-urgent-actions { grid-template-columns: 1fr; }
  .mh-here-help { display: none; }
}
@media (max-width: 700px) {
  .mh-services { grid-template-columns: 1fr; }
  .mh-swap { grid-template-columns: 1fr; }
  .mh-article { font-size: 1.04rem; }
  .mh-tech { padding: 1.2rem 1.1rem .3rem; }
  .mh-section--priority, .mh-section--help { padding: 1.25rem 1rem; }
  .mh-jump { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .mh-here, .mh-fab { transition: none; } }
@media (max-width: 700px) { .mh-fab { right: .75rem; bottom: .75rem; padding: .6rem 1rem; font-size: .9rem; } }

/* ======================================================================
   EPK guide (brand colours: voltage orange > pulse pink > electric blue)
   ====================================================================== */
.ep-grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.ep-hero { position: relative; overflow: hidden; padding-bottom: 3.25rem; }
.ep-hero .container { position: relative; z-index: 1; }
.ep-hero h1 { max-width: 16ch; }
.ep-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.ep-btn-ghost { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.35); }
.ep-btn-ghost:hover { background: var(--white); color: var(--midnight); }
.ep-fast .mh-jump a { border-top: 4px solid transparent; border-image: var(--gradient) 1; border-image-slice: 1; }
.ep-fast .mh-jump a { border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ep-hero + .ep-fast .mh-jump-title { color: var(--pulse); }

/* Tables */
.ep-table-wrap { overflow-x: auto; margin: 1rem 0 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.ep-table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.5; }
.ep-table thead th { text-align: left; padding: .75rem 1rem; background: var(--midnight); color: var(--white); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.ep-table tbody th, .ep-table td { padding: .7rem 1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.ep-table tbody th { width: 34%; font-weight: 800; background: #f8f9fc; }
.ep-table tbody tr:nth-child(even) td { background: #fbfbfd; }
.ep-fine { font-size: .9rem; color: var(--ink-soft); }

/* Outcomes */
.ep-outcomes { list-style: none; counter-reset: o; margin: 1rem 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.ep-outcomes li { counter-increment: o; position: relative; padding: 1rem 1.1rem 1rem 3.5rem; background: #f4f6fb; border-radius: 14px; }
.ep-outcomes li:last-child { grid-column: 1 / -1; }
.ep-outcomes li::before { content: counter(o); position: absolute; left: 1rem; top: 1rem; width: 1.8rem; height: 1.8rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--gradient); color: var(--white); font-weight: 800; font-size: .9rem; }
.ep-outcomes b, .ep-outcomes span { display: block; }
.ep-outcomes span { color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }

/* Steps */
.ep-step { position: relative; margin: 2rem 0; padding: 1.5rem 1.6rem .6rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); scroll-margin-top: calc(var(--header-h) + 70px); }
.ep-step::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 5px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--gradient); }
.ep-step > header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.ep-step h3 { margin: 0 0 .25rem; font-size: 1.35rem; }
.ep-step-n { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 2.8rem; height: 2.8rem; padding: 0 .5rem; border-radius: 14px; background: var(--gradient); color: var(--white); font-family: var(--font-display, inherit); font-weight: 800; font-size: 1.25rem; box-shadow: 0 8px 18px rgba(240,45,131,.28); }
.ep-step h4 { margin: 1.25rem 0 .4rem; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.ep-goal { padding: .9rem 1.1rem; border-radius: 14px; background: linear-gradient(90deg, rgba(255,86,61,.1), rgba(240,45,131,.1), rgba(67,97,255,.1)); }
.ep-two { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1rem 0; }
.ep-card { padding: 1rem 1.1rem .3rem; border-radius: 14px; background: #f4f6fb; border-left: 5px solid var(--pulse); }
.ep-card:last-child { border-left-color: var(--electric); }
.ep-card h4 { margin: 0 0 .2rem; color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 1.1rem; }
.ep-len { margin: 0 0 .5rem !important; font-weight: 800; color: var(--pulse); font-size: .95rem; }
.ep-card:last-child .ep-len { color: var(--electric); }
.ep-pills { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.1rem; padding: 0; }
.ep-pills li { padding: .35rem .9rem; border-radius: 999px; background: var(--midnight); color: var(--white); font-weight: 700; font-size: .92rem; }
.ep-jumpbox { padding: .75rem 1rem; border-radius: 12px; background: #f4f6fb; font-weight: 700; }
.ep-jumpbox span { font-weight: 500; color: var(--ink-soft); margin-left: .5rem; }

/* Photo placeholders */
.ep-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin: 1rem 0 1.25rem; }
.ep-photos figure { margin: 0; }
.ep-ph { position: relative; width: 100%; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--midnight), #1b2440); }
.ep-ph::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 25%, rgba(240,45,131,.75), transparent 55%), radial-gradient(circle at 20% 85%, rgba(67,97,255,.7), transparent 55%), radial-gradient(circle at 85% 90%, rgba(255,86,61,.55), transparent 45%); }
.ep-ph::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); background: rgba(9,13,21,.82); border-radius: 50% 50% 0 0; }
.ep-ph--portrait { aspect-ratio: 4 / 5; } .ep-ph--portrait::after { width: 46%; height: 58%; }
.ep-ph--land { aspect-ratio: 16 / 10; } .ep-ph--land::after { width: 26%; height: 70%; box-shadow: -64px 8px 0 -4px rgba(9,13,21,.7), 64px 8px 0 -4px rgba(9,13,21,.7); }
.ep-ph--live { aspect-ratio: 4 / 5; } .ep-ph--live::after { width: 40%; height: 52%; }
.ep-photos figcaption { padding-top: .6rem; font-size: .95rem; line-height: 1.45; }
.ep-photos figcaption b, .ep-photos figcaption span { display: block; }
.ep-photos figcaption span { color: var(--ink-soft); }

/* Stage plot */
.ep-plot { margin: 1.25rem 0 1.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fbfbfd; }
.ep-plot svg { display: block; width: 100%; height: auto; }
.ep-plot figcaption { margin-top: .6rem; font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }
.pl-stage { fill: #fff; stroke: #151a28; stroke-width: 2; }
.pl-aud { fill: #151a28; }
.pl-aud + text, .pl-cap { fill: #566074; font: 700 12px var(--font-body, sans-serif); letter-spacing: .12em; }
.pl-aud + text { fill: #fff; }
.pl-box { fill: #eef1ff; stroke: #4361FF; stroke-width: 2; }
.pl-dot { fill: #fff; stroke: #F02D83; stroke-width: 2; }
.pl-person { fill: #F02D83; }
.pl-pt { fill: #fff; font: 800 13px var(--font-body, sans-serif); }
.pl-t { fill: #151a28; font: 600 12.5px var(--font-body, sans-serif); }
.pl-wedge { fill: #FF563D; stroke: #151a28; stroke-width: 1.5; }
.pl-di { fill: #151a28; }
.pl-pw { font-size: 18px; }

/* Options */
.ep-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin: 1rem 0 1.25rem; }
.ep-opt { padding: 1.1rem 1.2rem .4rem; border-radius: 16px; background: var(--midnight); color: var(--white); }
.ep-opt h4 { margin: 0 0 .5rem; color: var(--white); text-transform: none; letter-spacing: 0; font-size: 1.1rem; }
.ep-opt p { font-size: .98rem; line-height: 1.55; }
.ep-opt a { color: #9db0ff; }
.ep-opt code { padding: .1rem .35rem; border-radius: 6px; background: rgba(255,255,255,.12); font-size: .9em; word-break: break-all; }
.ep-opt-tag { margin: 0 0 .4rem !important; font-size: .75rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* Mock EPK */
.ep-mock { margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 18px 40px rgba(9,13,21,.12); background: var(--white); }
.ep-mock-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; background: #eceef4; }
.ep-mock-bar i { width: .65rem; height: .65rem; border-radius: 50%; background: #c4c9d6; }
.ep-mock-bar span { margin-left: .6rem; padding: .15rem .8rem; border-radius: 999px; background: var(--white); font-size: .8rem; color: var(--ink-soft); }
.ep-mock-hero { position: relative; padding: 2.2rem 1.6rem; background: var(--midnight); color: var(--white); overflow: hidden; }
.ep-mock-hero::before { content: ''; position: absolute; inset: -30% -10% auto auto; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(240,45,131,.5), transparent 70%); }
.ep-mock-hero::after { content: ''; position: absolute; inset: auto auto -50% -10%; width: 55%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(67,97,255,.5), transparent 70%); }
.ep-mock-hero > * { position: relative; z-index: 1; margin: 0 0 .4rem; }
.ep-mock-name { font-family: var(--font-display, inherit); font-weight: 800; font-size: 2rem; letter-spacing: .02em; line-height: 1.1; }
.ep-mock-tag { font-size: 1.1rem; opacity: .9; }
.ep-mock-loc { font-size: .95rem; opacity: .7; }
.ep-mock-btn { display: inline-block; margin-top: .6rem !important; padding: .55rem 1.2rem; border-radius: 999px; background: var(--gradient); font-weight: 800; }
.ep-mock-feat { font-size: .85rem; opacity: .7; }
.ep-mock-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.ep-mock-grid > div { padding: 1.1rem 1.4rem; border-top: 1px solid var(--line); }
.ep-mock-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.ep-mock-wide { grid-column: 1 / -1; background: #f4f6fb; border-right: 0 !important; }
.ep-mock-grid b { display: block; margin-bottom: .2rem; font-size: .8rem; letter-spacing: .1em; color: var(--pulse); }
.ep-mock-grid span { font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }
.ep-mock figcaption { padding: .7rem 1.4rem; background: #f4f6fb; font-size: .85rem; color: var(--ink-soft); border-top: 1px solid var(--line); }

/* Checklist */
.ep-check-section { padding: 1.75rem; border-radius: var(--radius-lg); background: #f4f6fb; border: 2px solid var(--midnight); }
.ep-progress { margin: 1.25rem 0; padding: 1rem 1.2rem; border-radius: 14px; background: var(--midnight); color: var(--white); }
.ep-progress-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6rem; }
.ep-progress-top span { font-family: var(--font-display, inherit); font-size: 1.4rem; font-weight: 800; }
.ep-bar { height: 12px; border-radius: 999px; background: rgba(255,255,255,.15); overflow: hidden; }
.ep-bar i { display: block; width: 0; height: 100%; border-radius: 999px; background: var(--gradient); transition: width .25s ease; }
.ep-done { margin: .7rem 0 0 !important; font-weight: 700; }
.ep-checklist { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .5rem; }
.ep-checklist li { border-radius: 12px; background: var(--white); border: 1px solid var(--line); transition: border-color .15s ease, background .15s ease; }
.ep-checklist label { display: flex; align-items: center; gap: .85rem; padding: .75rem 1rem; cursor: pointer; line-height: 1.4; }
.ep-checklist input { flex: none; width: 1.35rem; height: 1.35rem; accent-color: var(--pulse); cursor: pointer; }
.ep-checklist li.is-checked { background: rgba(240,45,131,.06); border-color: rgba(240,45,131,.35); }
.ep-checklist li.is-checked span { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: rgba(86,96,116,.5); }
.ep-check-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* Templates */
.ep-tpl-group { margin-top: 2rem; scroll-margin-top: calc(var(--header-h) + 70px); }
.ep-tpl { margin: 1rem 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.ep-tpl-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; background: var(--midnight); color: var(--white); }
.ep-tpl-head b { font-size: .95rem; }
.ep-copy { flex: none; min-width: 5.2rem; padding: .4rem 1rem; border: 0; border-radius: 999px; background: var(--gradient); color: var(--white); font: 800 .85rem var(--font-body, inherit); cursor: pointer; }
.ep-copy:hover { filter: brightness(1.08); }
.ep-copy.is-done { background: var(--white); color: var(--midnight); }
.ep-tpl pre { margin: 0; padding: 1.1rem 1.25rem; max-height: 28rem; overflow: auto; white-space: pre-wrap; word-break: break-word; font: 500 .93rem/1.6 var(--font-body, sans-serif); color: var(--ink); background: #fbfbfd; }

/* Resources + CTA */
.ep-res { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.ep-res a { display: flex; flex-direction: column; gap: .3rem; height: 100%; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; background: var(--white); transition: border-color .15s ease, box-shadow .15s ease; }
.ep-res a:hover { border-color: var(--pulse); box-shadow: 0 10px 24px rgba(9,13,21,.08); }
.ep-res b { font-size: 1.15rem; }
.ep-res span { color: var(--ink-soft); font-size: .98rem; line-height: 1.5; }
.ep-res em { margin-top: auto; padding-top: .3rem; font-style: normal; font-weight: 700; font-size: .9rem; color: var(--electric); }
.ep-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; padding: 1.75rem; border-radius: var(--radius-lg); background: var(--midnight); color: var(--white); position: relative; overflow: hidden; }
.ep-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 90% 0%, rgba(240,45,131,.45), transparent 50%), radial-gradient(circle at 0% 100%, rgba(67,97,255,.4), transparent 50%); pointer-events: none; }
.ep-cta > * { position: relative; }
.ep-cta h3 { margin: 0 0 .5rem; color: var(--white); font-size: 1.4rem; }
.ep-cta p { margin: 0; color: rgba(255,255,255,.85); font-size: 1rem; line-height: 1.55; }
.ep-cta-kicker { margin-bottom: .4rem !important; font-size: .75rem !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #ff9db8 !important; }
.ep-cta .btn { flex: none; }

@media (max-width: 900px) {
  .ep-options { grid-template-columns: 1fr; }
  .ep-photos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .ep-outcomes, .ep-two, .ep-res { grid-template-columns: 1fr; }
  .ep-photos { grid-template-columns: 1fr 1fr; }
  .ep-photos figure:first-child { grid-column: 1 / -1; }
  .ep-step { padding: 1.2rem 1rem .4rem; }
  .ep-check-section { padding: 1.25rem 1rem; }
  .ep-cta { flex-direction: column; align-items: flex-start; }
  .ep-mock-grid { grid-template-columns: 1fr; }
  .ep-mock-grid > div:nth-child(odd) { border-right: 0; }
  .ep-mock-name { font-size: 1.5rem; }
  .ep-table tbody th { width: auto; }
}
@media print {
  body * { visibility: hidden; }
  #checklist, #checklist * { visibility: visible; }
  #checklist { position: absolute; left: 0; top: 0; width: 100%; border: 0; background: #fff; }
  .ep-check-actions { display: none; }
}

/* ======================================================================
   Mental health guide: a few calm colours (soft blues, one sage green)
   Scoped with .mh-calm so the EPK guide is unaffected.
   ====================================================================== */
.mh-calm { --calm: #4361FF; --calm-deep: #12204f; --calm-deep-2: #1a2c6b; --calm-tint: #eef2ff; --calm-line: #d6defc; --calm-soft: #9fb0ff; --sage: #3a9a8f; --sage-tint: #edf7f5; }
.mh-hero.mh-calm { border-bottom: 4px solid var(--calm-soft); }
.mh-hero.mh-calm .mh-kicker { color: #aab8ff; }
.mh-fastlane.mh-calm { background: var(--calm-tint); border-bottom-color: var(--calm-line); }
.mh-fastlane.mh-calm .mh-urgent { border-color: var(--calm-deep); }
.mh-fastlane.mh-calm .mh-call { background: var(--calm-deep); }
.mh-fastlane.mh-calm .mh-call:hover { background: var(--calm-deep-2); }
.mh-fastlane.mh-calm .mh-jump a { border-top: 3px solid var(--calm-soft); }
.mh-fastlane.mh-calm .mh-jump a:hover { border-color: var(--calm); border-top-color: var(--calm); }
.mh-fastlane.mh-calm .mh-jump-title { color: var(--calm); }
.mh-here.mh-calm { background: var(--calm-deep); border-bottom-color: var(--calm-soft); }
.mh-fab.mh-calm { background: var(--calm-deep); }
.mh-fab.mh-calm:hover { background: var(--calm-deep-2); }

.mh-layout.mh-calm .mh-toc a.is-urgent { background: var(--calm-deep); }
.mh-layout.mh-calm .mh-toc a.is-active { background: rgba(67, 97, 255, .09); }
.mh-layout.mh-calm .mh-num, .mh-layout.mh-calm .mh-tech-n { background: var(--calm); }
.mh-layout.mh-calm .mh-tech { border-top: 4px solid var(--calm-soft); }
.mh-layout.mh-calm .mh-box { background: var(--calm-tint); }
.mh-layout.mh-calm .mh-callout { background: var(--calm-tint); border-left-color: var(--calm); }
.mh-layout.mh-calm .mh-pull { padding-left: 1rem; border-left: 4px solid var(--calm-soft); }
.mh-layout.mh-calm .mh-skip { background: var(--calm-tint); }
.mh-layout.mh-calm .mh-try { padding: .6rem .9rem; border-radius: 10px; background: var(--sage-tint); border-left: 4px solid var(--sage); }
.mh-layout.mh-calm .mh-swap p { background: #f5f3f0; }
.mh-layout.mh-calm .mh-swap p:last-child { background: var(--sage-tint); }
.mh-layout.mh-calm .mh-stats > div { background: var(--calm-deep); }
.mh-layout.mh-calm .mh-stats dt { color: #c4d0ff; }

.mh-layout.mh-calm .mh-section--priority { border-color: var(--calm); background: #fafbff; }
.mh-layout.mh-calm .mh-check li { background: var(--calm-tint); }
.mh-layout.mh-calm .mh-check li::before { background: var(--calm); }
.mh-layout.mh-calm .mh-section--help { background: var(--calm-tint); }
.mh-layout.mh-calm .mh-service { border-color: var(--calm-line); }
.mh-layout.mh-calm .mh-service--primary { background: var(--calm-deep); border-color: var(--calm-deep); }
.mh-layout.mh-calm .mh-service-call { background: var(--calm-deep); }
.mh-layout.mh-calm .mh-service--primary .mh-service-call { background: var(--white); color: var(--calm-deep); }
.mh-layout.mh-calm .mh-service-tag { color: var(--sage); }
.mh-layout.mh-calm .mh-service--primary .mh-service-tag { color: #9fe0d6; }
.mh-layout.mh-calm .mh-timeline { border-left-color: var(--calm-line); }
.mh-layout.mh-calm .mh-author { border-top-color: var(--calm-soft); }
.mh-layout.mh-calm .mh-toc a.is-urgent.is-active { background: var(--calm-deep); color: var(--white); box-shadow: 0 0 0 3px var(--calm-soft); }

/* Labelled sponsor slot on guides (hidden unless a guide has a sponsor) */
.gd-sponsor { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 0; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #f8f9fc; }
.gd-sponsor p { margin: 0; flex: 1 1 260px; font-size: .98rem; }
.gd-sponsor-tag { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .6rem; background: var(--white); }
.mh-article h3 { margin: 1.5rem 0 .5rem; font-size: 1.15rem; }
