/* Newsletter detail pages — a long-form reading surface, distinct from the catalog. */
body.newsletter-detail-page { background: #fdfaf5; }
body.newsletter-detail-page #libraryMain,
body.newsletter-detail-page .foot { display: none; }
body.newsletter-detail-page > drsti-header { display: none; }
.nd-page { --nd-ink: #1a1712; --nd-muted: #77736e; --nd-line: #e7e1d9; max-width: 1220px; margin: 0 auto; padding: 118px 34px 72px; color: var(--nd-ink); }
.nd-topbar { position: fixed; z-index: 30; top: 18px; left: 50%; width: min(1210px, calc(100% - 40px)); transform: translateX(-50%); display: grid; grid-template-columns: 76px minmax(0,1fr) 76px; align-items: center; gap: 14px; }
.nd-round { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--nd-line); border-radius: 50%; background: rgba(255,255,255,.92); color: var(--nd-ink); box-shadow: 0 4px 14px rgba(26,23,18,.1); font: inherit; cursor: pointer; }
.nd-round svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.nd-nav { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 20px; border: 1px solid rgba(231,225,217,.9); border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: 0 12px 28px rgba(26,23,18,.1); backdrop-filter: blur(14px); }
.nd-progress-seal { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border: 0; border-radius: 50%; background: #1a1712; color: #fff; cursor: pointer; }
.nd-progress-seal svg { width: 20px; height: 20px; fill: currentColor; }
.nd-nav-link { display: inline-flex; align-items: center; gap: .45rem; padding: .72rem 1.45rem; border-radius: 999px; color: var(--nd-ink); font-size: .98rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nd-nav-link.is-active { background: #171510; color: #fff; }
.nd-nav-link:hover { color: inherit; text-decoration: none; }
.nd-nav-link svg { width: 19px; height: 19px; fill: currentColor; }
.nd-mobile-actions { display: none; }
.nd-layout { display: grid; grid-template-columns: minmax(0, 790px) 132px; justify-content: center; gap: clamp(28px, 7vw, 98px); }
.nd-article { min-width: 0; }
.nd-hero { margin: 0 0 48px; }
.nd-kicker { margin: 0 0 12px; color: var(--nd-muted); font-size: .78rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.nd-title { margin: 0 0 16px; font-size: clamp(2.25rem, 5vw, 4.75rem); font-weight: 750; letter-spacing: -.055em; line-height: .98; }
.nd-dek { max-width: 62ch; margin: 0 0 24px; color: var(--nd-muted); font-size: 1rem; line-height: 1.6; }
.nd-cover { width: 100%; aspect-ratio: 16 / 7; overflow: hidden; border-radius: 0 0 44px 44px; background: #e8e1d7; box-shadow: 0 10px 30px rgba(26,23,18,.1); }
.nd-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.nd-personal { margin: 0 0 54px; padding: 22px 24px; border: 1px solid var(--nd-line); border-radius: 22px; background: rgba(255,255,255,.68); }
.nd-personal summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; font-size: .94rem; font-weight: 750; cursor: pointer; }
.nd-personal summary::-webkit-details-marker { display: none; }
.nd-personal summary::after { content: '⌄'; color: var(--nd-muted); font-size: 1.15rem; transition: transform .25s ease; }
.nd-personal[open] summary::after { transform: rotate(180deg); }
.nd-personal p { max-width: 68ch; margin: 18px 0 0; color: #4b453d; line-height: 1.7; }
.nd-section { position: relative; scroll-margin-top: 112px; padding: 0 0 62px; }
.nd-section-label { margin: 0 0 16px; font-size: clamp(1.65rem, 3vw, 2.45rem); letter-spacing: -.035em; }
.nd-copy { color: #3c3731; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.3rem, 2.55vw, 1.82rem); line-height: 1.64; }
.nd-copy p { margin: 0 0 1.45em; }
.nd-copy p:last-child { margin-bottom: 0; }
.nd-premium { position: relative; overflow: hidden; min-height: 260px; padding: 38px; border: 1px solid var(--nd-line); border-radius: 30px; background: linear-gradient(140deg, #efebe5, #ddd6c9); }
.nd-premium > :not(.nd-gate) { opacity: .33; filter: blur(3px); user-select: none; }
.nd-premium.is-unlocked > :not(.nd-gate) { opacity: 1; filter: none; user-select: auto; }
.nd-gate { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; padding: 24px; text-align: center; background: rgba(253,250,245,.36); backdrop-filter: blur(2px); }
.nd-premium.is-unlocked .nd-gate { display: none; }
.nd-gate-lock { width: 42px; height: 42px; margin: 0 0 12px; color: var(--nd-ink); }
.nd-gate h3 { margin: 0 0 8px; font-size: 1.25rem; }
.nd-gate p { max-width: 34ch; margin: 0 0 17px; color: var(--nd-muted); font-size: .88rem; line-height: 1.45; }
.nd-gate a { display: inline-flex; align-items: center; gap: .45rem; padding: .66rem 1.1rem; border-radius: 999px; background: #191712; color: #fff; font-weight: 750; text-decoration: none; }
.nd-practice-card { border-left: 4px solid #1a1712; padding-left: 22px; }
.nd-practice-card h3, .nd-journal-card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.nd-practice-card p, .nd-journal-card p { margin: 0; color: #433d36; line-height: 1.7; }
.nd-audio { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid rgba(26,23,18,.48); border-radius: 16px; background: rgba(255,255,255,.85); }
.nd-audio button { width: 42px; height: 42px; flex: 0 0 auto; border: 0; border-radius: 50%; background: #1a1712; color: #fff; cursor: pointer; }
.nd-audio button svg { width: 18px; height: 18px; fill: currentColor; }
.nd-audio-time { flex: 0 0 auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .76rem; }
.nd-audio-track { flex: 1; height: 5px; overflow: hidden; border-radius: 99px; background: #e1ddd7; }
.nd-audio-fill { width: 0; height: 100%; border-radius: inherit; background: #1a1712; }
.nd-quote { margin: 0 0 20px; padding: 24px 0; border-top: 1px solid var(--nd-line); border-bottom: 1px solid var(--nd-line); font-family: Georgia, serif; font-size: clamp(1.45rem, 3vw, 2rem); font-style: italic; line-height: 1.45; }
.nd-quote cite { display: block; margin-top: 12px; color: var(--nd-muted); font-family: var(--font, Poppins, sans-serif); font-size: .78rem; font-style: normal; font-weight: 700; }
.nd-question-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.nd-soft-button { padding: .64rem .92rem; border: 1px solid var(--nd-line); border-radius: 999px; background: #fff; color: var(--nd-ink); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.nd-soft-button:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(26,23,18,.1); }
.nd-chapters { position: sticky; top: 154px; align-self: start; padding: 16px 10px; border: 2px solid #2d2a25; border-bottom-color: transparent; border-radius: 35px 35px 28px 28px; background: rgba(255,255,255,.7); }
.nd-chapter-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 4px 8px 10px; color: var(--nd-ink); font-size: .76rem; font-weight: 650; text-decoration: none; }
.nd-chapter-link:hover { color: var(--nd-ink); text-decoration: none; }
.nd-dot { width: 13px; height: 13px; border-radius: 50%; background: #9b9995; transition: background .2s ease, transform .2s ease; }
.nd-chapter-link.is-active .nd-dot { background: #1a1712; transform: scale(1.13); }
.nd-scroll-top { width: 34px; height: 34px; display: grid; place-items: center; margin: 10px auto 0; border: 0; border-radius: 50%; background: #9b9995; color: #fff; cursor: pointer; }
.nd-related { margin: 18px 0 0; padding-top: 60px; border-top: 1px solid var(--nd-line); }
.nd-related h2 { margin: 0 0 24px; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.04em; }
.nd-related-list { display: grid; gap: 10px; }
.nd-related-item { display: grid; grid-template-columns: 86px 112px minmax(0,1fr) 34px; align-items: center; gap: 14px; min-height: 60px; color: var(--nd-ink); text-decoration: none; }
.nd-related-item:hover { color: var(--nd-ink); text-decoration: none; }
.nd-related-item img { width: 86px; height: 50px; border-radius: 8px; object-fit: cover; }
.nd-related-date { padding: .28rem .55rem; border-radius: 999px; background: #ecebe9; color: var(--nd-muted); font-size: .7rem; font-weight: 700; text-align: center; }
.nd-related-title { overflow: hidden; font-size: .92rem; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.nd-related-seal { width: 27px; height: 27px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--nd-ink); cursor: pointer; }
.nd-related-seal svg { width: 100%; height: 100%; fill: currentColor; }
.nd-modal { width: min(480px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 24px; background: #fdfaf5; box-shadow: 0 20px 60px rgba(0,0,0,.28); }
.nd-modal::backdrop { background: rgba(26,23,18,.38); backdrop-filter: blur(3px); }
.nd-modal-inner { padding: 28px; }
.nd-modal h2 { margin: 0 0 8px; font-size: 1.5rem; }
.nd-modal p { margin: 0 0 18px; color: var(--nd-muted); line-height: 1.5; }
.nd-modal textarea { width: 100%; min-height: 130px; box-sizing: border-box; resize: vertical; padding: 12px; border: 1px solid var(--nd-line); border-radius: 12px; background: #fff; font: inherit; }
.nd-modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.nd-modal button { padding: .62rem .9rem; border: 0; border-radius: 999px; background: #1a1712; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.nd-modal button[data-close] { background: #ecebe9; color: var(--nd-ink); }

@media (max-width: 760px) {
  .nd-page { padding: 88px 20px 48px; }
  .nd-topbar { top: 0; left: 0; width: 100%; height: 72px; transform: none; grid-template-columns: 42px minmax(0,1fr) auto; gap: 8px; box-sizing: border-box; padding: 0 16px; border-bottom: 1px solid var(--nd-line); background: rgba(253,250,245,.95); box-shadow: 0 3px 14px rgba(26,23,18,.05); }
  .nd-nav { display: contents; }
  .nd-nav-link { display: none; }
  .nd-round { width: 38px; height: 38px; box-shadow: none; background: transparent; border: 0; }
  .nd-round svg { width: 22px; height: 22px; }
  .nd-progress-seal { justify-self: center; width: 34px; height: 34px; }
  .nd-mobile-date { min-width: 0; overflow: hidden; font-size: 1.05rem; font-weight: 750; letter-spacing: -.02em; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
  .nd-mobile-actions { display: flex; align-items: center; gap: 6px; }
  .nd-mobile-actions .nd-round { border: 1px solid var(--nd-line); background: #fff; box-shadow: 0 3px 10px rgba(26,23,18,.08); }
  .nd-layout { display: block; }
  .nd-cover { margin-left: -20px; width: calc(100% + 40px); border-radius: 0 0 32px 32px; }
  .nd-hero { margin-bottom: 34px; }
  .nd-title { font-size: 2.55rem; }
  .nd-personal { margin-bottom: 38px; padding: 18px; }
  .nd-section { padding-bottom: 42px; scroll-margin-top: 88px; }
  .nd-copy { font-size: 1.28rem; line-height: 1.6; }
  .nd-premium { min-height: 240px; padding: 24px; border-radius: 24px; }
  .nd-chapters { position: fixed; z-index: 25; top: 72px; right: 0; bottom: 0; width: min(280px, 82vw); box-sizing: border-box; padding: 28px 22px; border: 0; border-left: 1px solid var(--nd-line); border-radius: 0; background: #fdfaf5; box-shadow: -12px 0 34px rgba(26,23,18,.12); transform: translateX(104%); transition: transform .36s cubic-bezier(.2,.8,.2,1); }
  .nd-chapters.is-open { transform: translateX(0); }
  .nd-chapter-link { padding: 13px 2px; font-size: 1.05rem; }
  .nd-dot { width: 14px; height: 14px; }
  .nd-scroll-top { margin-top: 18px; }
  .nd-related { padding-top: 38px; }
  .nd-related-item { grid-template-columns: 70px minmax(0,1fr) 28px; gap: 10px; }
  .nd-related-item img { width: 70px; height: 42px; }
  .nd-related-date { display: none; }
  .nd-related-title { font-size: .78rem; }
  .nd-related-seal { width: 25px; height: 25px; }
}
