/* DSM-5-TR series: hub /disorders/ and episode pages. Long-form reading: 1.95 line height, justified with kerning off. */
.dz-shell{padding-block:1rem 4rem;min-width:0;overflow-wrap:anywhere}
.dz-shell *{box-sizing:border-box;min-width:0}
.dz-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.dz-crumbs ol{display:flex;flex-wrap:wrap;gap:.25rem .5rem;list-style:none;margin:0 0 1rem;padding:0;font-size:.875rem;color:var(--fb-muted)}
.dz-crumbs li+li::before{content:"‹";margin-inline-end:.5rem;color:#9aa89f}
.dz-crumbs a{color:var(--fb-brand-dark)}
.dz-preview{background:#fff3db;border:1px solid #e6c27f;border-radius:10px;padding:.6rem .9rem;font-weight:700;margin:0 0 1rem}

/* hub */
.dz-hero{background:linear-gradient(125deg,#e7f3e7,#f9f8f0);border:1px solid #d4e5d5;border-radius:18px;padding:clamp(1.25rem,4vw,2.75rem);margin-bottom:1.25rem}
.dz-eyebrow{margin:0;font-size:.87rem;color:#316b42;font-weight:700}
.dz-hero h1{font-size:clamp(1.55rem,4vw,2.5rem);line-height:1.5;margin:.4rem 0 .8rem;color:var(--fb-ink)}
.dz-lead{font-size:1.05rem;line-height:2;max-width:60rem;margin:0 0 1rem;text-align:justify;font-kerning:none}
.dz-cred{display:inline-block;background:#fff;border:1px solid #c5dccb;border-radius:999px;padding:.35rem .9rem;font-weight:700;color:var(--fb-brand-dark);font-size:.92rem}
.dz-stats{display:flex;flex-wrap:wrap;gap:.75rem;margin:1rem 0 .75rem;padding:0}
.dz-stats div{background:#fff;border:1px solid var(--fb-line);border-radius:12px;padding:.5rem 1rem;min-width:6.5rem;text-align:center}
.dz-stats dt{font-size:.82rem;color:var(--fb-muted)}
.dz-stats dd{margin:0;font-size:1.5rem;font-weight:800;color:var(--fb-brand-dark)}
.dz-progress{height:10px;background:#dbe8de;border-radius:999px;overflow:hidden;max-width:36rem}
.dz-progress span{display:block;height:100%;background:var(--fb-brand);border-radius:inherit;min-width:4px}
.dz-chapter-nav{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.5rem}
.dz-chapter-nav a{display:inline-flex;align-items:center;min-height:40px;padding:.35rem .85rem;border:1px solid var(--fb-line);border-radius:999px;background:#fff;color:var(--fb-text);font-size:.88rem;text-decoration:none}
.dz-chapter-nav a:hover{border-color:var(--fb-brand);color:var(--fb-brand-dark)}
.dz-chapter{margin-bottom:1rem;scroll-margin-top:1rem}
.dz-chapter>details{background:#fff;border:1px solid var(--fb-line);border-radius:16px;padding:.25rem 1rem 1rem}
.dz-chapter summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;cursor:pointer;padding:.75rem 0;list-style:none}
.dz-chapter summary::-webkit-details-marker{display:none}
.dz-chapter summary::after{content:"▾";color:var(--fb-muted);transition:transform .15s}
.dz-chapter details:not([open]) summary::after{transform:rotate(90deg)}
.dz-chapter h2{margin:0;font-size:1.15rem;line-height:1.7;color:var(--fb-ink)}
.dz-chapter-num{color:var(--fb-brand);margin-inline-end:.35rem}
.dz-chapter-count{font-size:.85rem;color:var(--fb-muted);white-space:nowrap;margin-inline-start:auto}
.dz-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:.85rem}
.dz-card{border:1px solid var(--fb-line);border-radius:14px;padding:1rem;background:var(--fb-paper);display:grid;align-content:start;gap:.4rem;position:relative}
.dz-card:hover{border-color:var(--fb-brand)}
.dz-card h3{margin:0;font-size:1rem;line-height:1.85}
.dz-card h3 a{color:var(--fb-ink);text-decoration:none}
.dz-card h3 a::after{content:"";position:absolute;inset:0}
.dz-card h3 a:focus-visible{outline:none}
.dz-card:focus-within{outline:3px solid var(--fb-brand);outline-offset:2px}
.dz-card-meta{display:flex;justify-content:space-between;align-items:center;margin:0;font-size:.82rem}
.dz-ep{font-weight:700;color:var(--fb-brand-dark)}
.dz-state{border-radius:999px;padding:.1rem .6rem;font-weight:700}
.dz-state.is-open{background:var(--fb-brand-soft);color:var(--fb-brand-dark)}
.dz-state.is-soon{background:#efeee8;color:#6b6655}
.dz-card.is-soon{background:#fbfbf8}
.dz-card-cover{margin:0;font-size:.86rem;line-height:1.85;color:var(--fb-muted)}
.dz-note{margin-top:1.5rem;background:#fff;border:1px dashed #c9d6cd;border-radius:12px;padding:.75rem 1rem;font-size:.9rem;line-height:1.9}

/* episode */
.dz-article{max-width:100%}
.dz-head{margin-bottom:1rem}
.dz-episode-badge{display:inline-block;margin:0;background:var(--fb-brand-soft);color:var(--fb-brand-dark);border-radius:999px;padding:.3rem .85rem;font-size:.85rem;font-weight:700}
.dz-head h1,.dz-soon h1{font-size:clamp(1.5rem,3.6vw,2.3rem);line-height:1.6;margin:.6rem 0;color:var(--fb-ink)}
.dz-meta{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem;margin:0 0 .6rem;font-size:.88rem;color:var(--fb-muted)}
.dz-trust{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;margin:0;padding:.6rem .9rem;background:#f3f8f4;border-inline-start:4px solid var(--fb-brand);border-radius:8px;font-size:.92rem;line-height:1.9}
.dz-trust-mark{color:var(--fb-brand);font-weight:800}
.dz-sep{color:#a3b3a8}
.dz-intro,.dz-body{font-size:1.06rem;line-height:2.05;color:var(--fb-text)}
.dz-intro p,.dz-body p,.dz-body li{text-align:justify;font-kerning:none}
.dz-media{margin:1.25rem 0 1.75rem}
.dz-media ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}
.dz-media a,.dz-media-inner{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:.75rem;align-items:center;min-height:84px;height:100%;padding:.85rem 1rem;border-radius:14px;border:1px solid #cfe0d4;background:#fff;color:var(--fb-ink);text-decoration:none;box-shadow:0 1px 2px rgba(15,36,25,.05)}
.dz-media a:hover{border-color:var(--fb-brand);box-shadow:0 4px 14px rgba(31,122,67,.12)}
.dz-media a:focus-visible{outline:3px solid var(--fb-brand);outline-offset:2px}
.dz-media-icon{grid-row:1/3;font-size:1.8rem;line-height:1}
.dz-media-title{font-weight:800;font-size:.98rem}
.dz-media-where{font-size:.84rem;color:var(--fb-muted)}
.dz-media-video a{border-top:4px solid var(--fb-brand)}
.dz-media-slides a{border-top:4px solid var(--fb-lime)}
.dz-media-podcast a{border-top:4px solid var(--fb-warm)}
.dz-media-card.is-soon .dz-media-inner{background:#f6f6f2;color:#7a8179;border-style:dashed;cursor:not-allowed}
.dz-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:2rem;align-items:start}
.dz-toc{position:sticky;top:1rem;grid-column:2;grid-row:1;background:#fff;border:1px solid var(--fb-line);border-radius:14px;padding:.75rem 1rem;font-size:.9rem;max-height:calc(100vh - 2rem);overflow:auto}
.dz-toc summary{font-weight:800;cursor:pointer;padding:.25rem 0}
.dz-toc ol{margin:.5rem 0 0;padding-inline-start:1.2rem;line-height:1.9}
.dz-toc a{color:var(--fb-text);text-decoration:none}
.dz-toc a:hover{color:var(--fb-brand-dark);text-decoration:underline}
.dz-body{grid-column:1;grid-row:1}
.dz-body h2{font-size:1.4rem;line-height:1.7;margin:2.2rem 0 .8rem;color:var(--fb-ink);scroll-margin-top:1rem;padding-bottom:.35rem;border-bottom:2px solid var(--fb-brand-soft)}
.dz-body h3{font-size:1.15rem;margin:1.6rem 0 .6rem;color:var(--fb-brand-dark)}
.dz-body ul,.dz-body ol{padding-inline-start:1.4rem}
.dz-body li{margin-bottom:.35rem}
.dz-table{overflow-x:auto;margin:1.25rem 0;border:1px solid var(--fb-line);border-radius:12px;background:#fff}
.dz-table:focus-visible{outline:3px solid var(--fb-brand)}
.dz-table table{width:100%;border-collapse:collapse;font-size:.95rem;line-height:1.85;min-width:520px}
.dz-table th{background:#eef6f0;color:var(--fb-ink);font-weight:800;text-align:start;padding:.6rem .75rem;border-bottom:1px solid var(--fb-line)}
.dz-table td{padding:.6rem .75rem;border-top:1px solid #edf1ee;vertical-align:top;text-align:start}
.dz-table tbody tr:nth-child(even) td{background:#fafcfa}
.dz-callout{margin:1.5rem 0;padding:1rem 1.1rem;border-radius:14px;border:1px solid #e6c27f;background:#fff8ea}
.dz-callout--warning{border-color:#e3a6a0;background:#fff3f1}
.dz-callout--note{border-color:#c5dccb;background:#f3f8f4}
.dz-callout-title{margin:0 0 .4rem;font-weight:800;color:#8a3a2f}
.dz-callout--note .dz-callout-title{color:var(--fb-brand-dark)}
.dz-callout p:last-child{margin-bottom:0}
.dz-myth{margin:1.5rem 0;padding:1rem;border-radius:14px;background:#f7f8f4;border:1px solid var(--fb-line)}
.dz-myth .dz-callout-title{color:var(--fb-ink)}
.dz-myth-pair{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-top:.6rem}
.dz-myth-item,.dz-fact-item{border-radius:12px;padding:.75rem .9rem;background:#fff;border:1px solid var(--fb-line)}
.dz-myth-item{border-inline-start:4px solid #c2584b}
.dz-fact-item{border-inline-start:4px solid var(--fb-brand)}
.dz-myth-item p,.dz-fact-item p{margin:.2rem 0 0;font-size:.97rem;line-height:1.95}
.dz-myth-label{font-size:.8rem;font-weight:800}
.dz-myth-item .dz-myth-label{color:#a3443a}
.dz-fact-item .dz-myth-label{color:var(--fb-brand-dark)}
.dz-faq{margin-top:2.25rem}
.dz-faq details{border:1px solid var(--fb-line);border-radius:12px;background:#fff;margin-bottom:.6rem}
.dz-faq summary{cursor:pointer;padding:.85rem 1rem;font-weight:700;line-height:1.8;min-height:48px}
.dz-faq details[open] summary{border-bottom:1px solid var(--fb-line)}
.dz-faq details p{margin:0;padding:.85rem 1rem}
.dz-cta{margin-top:2.25rem;padding:1.25rem;border-radius:16px;background:linear-gradient(125deg,#e7f3e7,#f9f8f0);border:1px solid #d4e5d5}
.dz-cta h2{border:0;margin-top:0}
.dz-cta-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:.75rem}
.dz-cta-card{display:grid;gap:.35rem;padding:1rem;border-radius:14px;background:#fff;border:1px solid #cfe0d4;color:var(--fb-text);text-decoration:none;min-height:96px}
.dz-cta-card strong{color:var(--fb-brand-dark);font-size:1.05rem}
.dz-cta-card span{font-size:.92rem;line-height:1.85}
.dz-cta-care{border-color:var(--fb-brand)}
.dz-cta-card:hover{box-shadow:0 4px 14px rgba(31,122,67,.12)}
.dz-seq{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-top:2rem}
.dz-seq-card{display:grid;gap:.25rem;padding:1rem;border-radius:14px;border:1px solid var(--fb-line);background:#fff;color:var(--fb-ink);text-decoration:none}
.dz-seq-card span{font-size:.82rem;color:var(--fb-muted)}
.dz-seq-card strong{line-height:1.85}
.dz-seq-card em{font-style:normal;font-size:.8rem;color:#6b6655}
.dz-next{text-align:left}
.dz-seq-card:hover{border-color:var(--fb-brand)}
.dz-related{margin-top:1.5rem}
.dz-related h2{font-size:1.15rem}
.dz-related ul{line-height:2.1}
.dz-related em{font-style:normal;color:var(--fb-muted);font-size:.85rem}
.dz-disclaimer{margin-top:1.5rem;font-size:.86rem;color:var(--fb-muted);line-height:1.9}
.dz-soon{background:#fff;border:1px solid var(--fb-line);border-radius:16px;padding:clamp(1.25rem,4vw,2.25rem)}
.dz-soon-state{font-weight:700;color:#6b6655}
@media (max-width:900px){
  .dz-layout{grid-template-columns:minmax(0,1fr);gap:1rem}
  .dz-toc{position:static;grid-column:1;grid-row:1;max-height:none}
  .dz-body{grid-row:2}
  .dz-media ul{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:600px){
  .dz-myth-pair,.dz-seq{grid-template-columns:minmax(0,1fr)}
  .dz-next{text-align:start}
  .dz-intro,.dz-body{font-size:1rem}
}
