
/* ---------------- shared ---------------- */
.jdh-bl-main { padding-bottom:96px; }
.jdh-bl-pill { display:inline-flex; align-items:center; height:26px; padding:0 12px; border-radius:100px;
  background:var(--jd-lav); color:var(--jd-teal-deep); font-size:13px; font-weight:600; letter-spacing:.01em; white-space:nowrap; }
.jdh-bl-pill--draft { background:var(--jd-plag-bg); color:#9A4A06; }
.jdh-bl-meta { display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px; color:var(--jd-muted); font-size:14px; line-height:20px; }
.jdh-bl-author { color:inherit; text-decoration:underline; text-decoration-color:var(--jd-line); text-underline-offset:3px; }
.jdh-bl-author:hover { color:var(--jd-teal-deep); text-decoration-color:currentColor; }
.jdh-bl-meta > * + *::before { content:'·'; margin-right:10px; color:#B4B8C4; }

/* ---------------- listing: tabs ---------------- */
.jdh-bl-tabs { display:flex; justify-content:center; gap:8px; margin:0 auto 40px; padding:4px 0 8px;
  overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.jdh-bl-tabs::-webkit-scrollbar { display:none; }
.jdh-bl-tab { flex:none; display:inline-flex; align-items:center; height:42px; padding:0 20px; border-radius:100px;
  border:1px solid var(--jd-line); background:rgba(255,255,255,.7); color:var(--jd-ink); font-size:15px; font-weight:500;
  transition:background .2s ease, border-color .2s ease, color .2s ease; }
.jdh-bl-tab:hover { border-color:var(--jd-teal); color:var(--jd-teal-deep); }
.jdh-bl-tab[aria-current="page"] { background:var(--jd-teal); border-color:var(--jd-teal); color:#fff; }
.jdh-bl-section-title { font-family:var(--jd-serif); font-weight:300; font-size:32px; line-height:40px; letter-spacing:-.4px; margin:0 0 20px; }
.jdh-bl-empty { padding:48px 24px; text-align:center; color:var(--jd-muted); border:1px dashed var(--jd-line); border-radius:24px; background:rgba(255,255,255,.5); }

/* ---------------- listing: cards ---------------- */
.jdh-bl-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:24px; }
.jdh-bl-card { position:relative; display:flex; flex-direction:column; gap:14px; min-width:0; padding:26px 26px 22px;
  border-radius:28px; background:rgba(255,255,255,.72); border:1px solid #fff; box-shadow:0 1px 0 rgba(24,27,41,.04), 0 18px 40px -30px rgba(24,27,41,.35);
  transition:transform .25s var(--jd-ease), box-shadow .25s var(--jd-ease); }
.jdh-bl-card:hover { transform:translateY(-3px); box-shadow:0 1px 0 rgba(24,27,41,.04), 0 26px 50px -30px rgba(2,79,95,.45); }
.jdh-bl-card-top { display:flex; gap:8px; flex-wrap:wrap; }
.jdh-bl-card-img { display:block; width:calc(100% + 52px); max-width:none; height:auto; aspect-ratio:16/9; object-fit:cover;
  margin:-26px -26px 0; border-radius:28px 28px 0 0; background:var(--jd-lav); }
.jdh-bl-card-title { font-family:var(--jd-serif); font-weight:400; font-size:23px; line-height:30px; letter-spacing:-.2px; color:var(--jd-ink); margin:0; overflow-wrap:anywhere; }
.jdh-bl-card-title a::after { content:''; position:absolute; inset:0; border-radius:inherit; } /* whole card clickable */
.jdh-bl-card-title a:focus-visible { outline:none; }
.jdh-bl-card:has(a:focus-visible) { outline:2px solid var(--jd-teal); outline-offset:3px; }
.jdh-bl-card-desc { color:var(--jd-body); font-size:15px; line-height:24px; margin:0;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.jdh-bl-card .jdh-bl-meta { margin-top:auto; padding-top:6px; font-size:13px; }
.jdh-bl-card--feature { grid-column:span 2; padding:34px 34px 26px; background:linear-gradient(135deg, rgba(255,255,255,.9), rgba(232,242,244,.85)); }
.jdh-bl-card--feature .jdh-bl-card-title { font-size:34px; line-height:42px; letter-spacing:-.6px; }
.jdh-bl-card--feature .jdh-bl-card-desc { font-size:17px; line-height:28px; }

/* ---------------- listing: pager ---------------- */
.jdh-bl-pager { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:48px; color:var(--jd-muted); font-size:15px; }
.jdh-bl-pager a { display:inline-flex; align-items:center; gap:6px; height:42px; padding:0 18px; border-radius:100px;
  border:1px solid var(--jd-line); background:#fff; color:var(--jd-ink); font-weight:500; }
.jdh-bl-pager a:hover { border-color:var(--jd-teal); color:var(--jd-teal-deep); }
.jdh-bl-pager [aria-disabled="true"] { opacity:.4; pointer-events:none; }

/* ---------------- article shell ---------------- */
.jdh-bl-shell { width:100%; max-width:1072px; margin:0 auto; padding:0 24px; }
.jdh-bl-crumbs { margin:28px 0 22px; font-size:14px; color:var(--jd-muted); }
.jdh-bl-crumbs ol { display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; list-style:none; }
.jdh-bl-crumbs li { display:inline-flex; gap:6px; min-width:0; }
.jdh-bl-crumbs li + li::before { content:'/'; color:#B4B8C4; }
.jdh-bl-crumbs a:hover { color:var(--jd-teal-deep); text-decoration:underline; }
.jdh-bl-crumbs [aria-current] { color:var(--jd-ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:46ch; }
.jdh-bl-head { max-width:800px; margin-bottom:40px; }
.jdh-bl-head .jdh-bl-pill { margin-bottom:18px; }
.jdh-bl-title { font-family:var(--jd-serif); font-weight:300; font-size:50px; line-height:58px; letter-spacing:-1px; color:var(--jd-ink);
  margin:0 0 18px; text-wrap:balance; overflow-wrap:anywhere; }
.jdh-bl-cover { display:block; width:100%; max-width:960px; height:auto; aspect-ratio:16/9; object-fit:cover;
  margin:-12px 0 44px; border-radius:24px; background:var(--jd-lav); box-shadow:0 18px 40px -30px rgba(24,27,41,.35); }
.jdh-bl-dek { font-size:19px; line-height:30px; color:var(--jd-body); margin:0 0 22px; }
.jdh-bl-notice { margin:0 0 28px; padding:12px 16px; border-radius:14px; background:var(--jd-lav); color:var(--jd-ink-2); font-size:15px; line-height:23px; }
.jdh-bl-layout { display:grid; grid-template-columns:minmax(0,720px) 240px; gap:72px; align-items:start; }
.jdh-bl-col { min-width:0; }
.jdh-bl-aside { align-self:stretch; } /* full row height, so the TOC inside can stick */

/* TOC: sticky aside on desktop, <details> above the body on mobile */
.jdh-bl-toc { position:sticky; top:116px; max-height:calc(100vh - 140px); overflow:auto; padding-left:18px; border-left:1px solid var(--jd-line); }
.jdh-bl-toc-title { font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--jd-muted); margin:0 0 12px; }
.jdh-bl-toc ol, .jdh-bl-toc-m ol { margin:0; padding:0; list-style:none; display:grid; gap:9px; }
.jdh-bl-toc a, .jdh-bl-toc-m a { display:block; font-size:14px; line-height:20px; color:var(--jd-body); }
.jdh-bl-toc a:hover, .jdh-bl-toc-m a:hover { color:var(--jd-teal-deep); }
.jdh-bl-toc .is-sub, .jdh-bl-toc-m .is-sub { padding-left:14px; font-size:13px; color:var(--jd-muted); }
.jdh-bl-toc-m { display:none; margin:0 0 32px; border:1px solid var(--jd-line); border-radius:16px; background:rgba(255,255,255,.75); }
.jdh-bl-toc-m summary { cursor:pointer; padding:14px 18px; font-weight:600; font-size:15px; list-style:none; display:flex; justify-content:space-between; }
.jdh-bl-toc-m summary::-webkit-details-marker { display:none; }
.jdh-bl-toc-m summary::after { content:'+'; color:var(--jd-teal); font-size:18px; line-height:20px; }
.jdh-bl-toc-m[open] summary::after { content:'–'; }
.jdh-bl-toc-m ol { padding:0 18px 16px; }

/* ---------------- prose ---------------- */
.jdh-bl-prose { font-size:18px; line-height:1.7; color:var(--jd-ink-2); overflow-wrap:break-word; }
.jdh-bl-prose > :first-child { margin-top:0; }
.jdh-bl-prose p { margin:0 0 1.15em; }
.jdh-bl-prose h2 { font-family:var(--jd-serif); font-weight:400; font-size:34px; line-height:1.22; letter-spacing:-.5px;
  color:var(--jd-ink); margin:1.9em 0 .55em; scroll-margin-top:112px; text-wrap:balance; }
.jdh-bl-prose h3 { font-size:21px; line-height:1.35; font-weight:650; color:var(--jd-ink); margin:1.6em 0 .45em; scroll-margin-top:112px; }
.jdh-bl-prose h4 { font-size:18px; font-weight:650; color:var(--jd-ink); margin:1.4em 0 .4em; scroll-margin-top:112px; }
.jdh-bl-prose a { color:var(--jd-teal-deep); text-decoration:underline; text-decoration-color:rgba(46,116,131,.35); text-underline-offset:3px; }
.jdh-bl-prose a:hover { text-decoration-color:currentColor; }
.jdh-bl-prose strong { font-weight:650; color:var(--jd-ink); }
.jdh-bl-prose :is(ul, ol) { margin:0 0 1.2em; padding-left:1.4em; }
.jdh-bl-prose ul { list-style:disc; }
.jdh-bl-prose ol { list-style:decimal; }
.jdh-bl-prose li { margin:.4em 0; padding-left:.2em; }
.jdh-bl-prose li::marker { color:var(--jd-teal); }
.jdh-bl-prose li > :is(ul, ol) { margin:.4em 0 0; }
.jdh-bl-prose li > p { margin:0 0 .5em; }
.jdh-bl-prose blockquote { margin:1.6em 0; padding:4px 0 4px 22px; border-left:3px solid var(--jd-teal); color:var(--jd-ink); font-family:var(--jd-serif); font-size:21px; line-height:1.55; }
.jdh-bl-prose blockquote p:last-child { margin-bottom:0; }
.jdh-bl-prose hr { border:0; border-top:1px solid var(--jd-line); margin:2.4em 0; }
.jdh-bl-prose img { max-width:100%; height:auto; border-radius:18px; margin:1.4em 0; }
.jdh-bl-prose :not(pre) > code { padding:.12em .4em; border-radius:6px; background:var(--jd-lav); color:var(--jd-teal-ink); font-size:.86em;
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap:anywhere; }
.jdh-bl-prose pre { margin:1.5em 0; padding:18px 20px; border-radius:16px; background:#F5F6FA; border:1px solid var(--jd-line);
  overflow-x:auto; font-size:14.5px; line-height:1.6; font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.jdh-bl-table { margin:1.6em 0; overflow-x:auto; border:1px solid var(--jd-line); border-radius:16px; background:#fff; }
.jdh-bl-table table { width:100%; border-collapse:collapse; font-size:16px; line-height:1.5; }
.jdh-bl-table th { background:#F4F6FC; text-align:left; font-weight:650; color:var(--jd-ink); }
.jdh-bl-table :is(th, td) { padding:12px 16px; border-bottom:1px solid var(--jd-line); vertical-align:top; min-width:120px; }
.jdh-bl-table tr:last-child td { border-bottom:0; }

/* ---------------- MDX: ToolCta ---------------- */
.jdh-bl-prose .jdh-bl-toolcta { display:flex; align-items:center; gap:18px; margin:2em 0; padding:20px 22px; border-radius:22px;
  background:linear-gradient(120deg, #fff, var(--jd-lav)); border:1px solid #fff; box-shadow:0 18px 40px -32px rgba(2,79,95,.55);
  color:var(--jd-ink); text-decoration:none; transition:transform .2s var(--jd-ease); }
.jdh-bl-prose .jdh-bl-toolcta:hover { transform:translateY(-2px); }
.jdh-bl-toolcta-ico { flex:none; width:46px; height:46px; border-radius:14px; background:var(--jd-teal); color:#fff; display:grid; place-items:center; }
.jdh-bl-toolcta-txt { flex:1; min-width:0; display:grid; gap:2px; }
.jdh-bl-toolcta-name { font-weight:650; font-size:17px; line-height:24px; }
.jdh-bl-toolcta-desc { font-size:15px; line-height:22px; color:var(--jd-body); }
.jdh-bl-toolcta-go { flex:none; color:var(--jd-teal); }

/* ---------------- MDX: Callout ---------------- */
.jdh-bl-callout { margin:1.8em 0; padding:16px 20px; border-radius:16px; border:1px solid; font-size:17px; line-height:1.6; }
.jdh-bl-prose .jdh-bl-callout-label { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; margin-bottom:4px; }
.jdh-bl-prose .jdh-bl-callout > div > :last-child { margin-bottom:0; }
.jdh-bl-callout--tip { background:#E8F6F4; border-color:#BFE6E1; }
.jdh-bl-callout--tip .jdh-bl-callout-label { color:#0B7A73; }
.jdh-bl-callout--note { background:#E8F2F4; border-color:#CFE4E8; }
.jdh-bl-callout--note .jdh-bl-callout-label { color:#024F5F; }
.jdh-bl-callout--warning { background:#FFF4E6; border-color:#F7D9B0; }
.jdh-bl-callout--warning .jdh-bl-callout-label { color:#A2560B; }

/* ---------------- MDX: Example (template block + copy island) ---------------- */
.jdh-bl-ex { margin:1.8em 0; border:1px solid var(--jd-line); border-radius:18px; background:#fff; overflow:hidden; }
.jdh-bl-ex-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 12px 10px 18px;
  background:#F7F8FB; border-bottom:1px solid var(--jd-line); }
.jdh-bl-ex-title { font-size:14px; font-weight:650; color:var(--jd-ink); min-width:0; overflow-wrap:anywhere; }
.jdh-bl-ex-copy { flex:none; display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 12px; border-radius:100px;
  border:1px solid var(--jd-line); background:#fff; color:var(--jd-teal-deep); font:500 13px/1 var(--jd-sans); cursor:pointer; }
.jdh-bl-ex-copy:hover { border-color:var(--jd-teal); }
.jdh-bl-ex-copy:focus-visible { outline:2px solid var(--jd-teal); outline-offset:2px; }
.jdh-bl-ex-body { padding:18px 20px 6px; border-left:3px solid var(--jd-teal); margin:14px 0 14px 14px;
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:14.5px; line-height:1.65; color:var(--jd-ink-2); }
.jdh-bl-ex-body p { margin:0 0 .9em; }
.jdh-bl-ex-body :is(ul, ol) { margin:0 0 .9em; }

/* ---------------- after the body ---------------- */
.jdh-bl-block { margin-top:64px; }
.jdh-bl-block-title { font-family:var(--jd-serif); font-weight:400; font-size:30px; line-height:38px; letter-spacing:-.4px; color:var(--jd-ink); margin:0 0 20px; }
.jdh-bl-faq { border-top:1px solid var(--jd-line); }
.jdh-bl-faq details { border-bottom:1px solid var(--jd-line); }
.jdh-bl-faq summary { display:flex; justify-content:space-between; gap:16px; padding:18px 0; cursor:pointer; list-style:none;
  font-size:18px; line-height:26px; font-weight:600; color:var(--jd-ink); }
.jdh-bl-faq summary::-webkit-details-marker { display:none; }
.jdh-bl-faq summary svg { flex:none; margin-top:3px; color:var(--jd-teal); transition:transform .25s var(--jd-ease); }
.jdh-bl-faq details[open] summary svg { transform:rotate(45deg); }
.jdh-bl-faq p { margin:0 0 20px; font-size:17px; line-height:1.65; color:var(--jd-body); }

.jdh-bl-band { margin-top:64px; padding:40px; border-radius:32px; color:#fff;
  background:radial-gradient(120% 140% at 100% 0%, #14A39A 0%, rgba(20,163,154,0) 55%), linear-gradient(135deg, var(--jd-teal-deep), var(--jd-teal-ink)); }
.jdh-bl-band-kicker { font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; opacity:.8; margin:0 0 10px; }
.jdh-bl-band-title { font-family:var(--jd-serif); font-weight:300; font-size:38px; line-height:46px; letter-spacing:-.6px; margin:0 0 12px; }
.jdh-bl-band-desc { font-size:17px; line-height:27px; opacity:.88; margin:0 0 26px; max-width:560px; }
.jdh-bl-band .jdh-btn { background:#fff; color:var(--jd-teal-deep) !important; }
.jdh-bl-band .jdh-btn:hover { background:#EAF6F4; }
.jdh-bl-band .jdh-btn-ico { border-color:var(--jd-teal-deep); }

.jdh-bl-tools { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px; }
.jdh-bl-tool { display:flex; gap:14px; align-items:flex-start; padding:16px 18px; border-radius:18px; background:rgba(255,255,255,.75);
  border:1px solid var(--jd-line); transition:border-color .2s ease; min-width:0; }
.jdh-bl-tool:hover { border-color:var(--jd-teal); }
.jdh-bl-tool svg { flex:none; margin-top:3px; color:var(--jd-teal); }
.jdh-bl-tool b { display:block; font-weight:650; font-size:16px; line-height:22px; color:var(--jd-ink); }
.jdh-bl-tool span { display:block; font-size:14px; line-height:20px; color:var(--jd-body); margin-top:2px; }

/* ---------------- responsive ---------------- */
@media (max-width:1000px) {
  .jdh-bl-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .jdh-bl-layout { grid-template-columns:minmax(0,1fr); gap:0; }
  .jdh-bl-aside { display:none; }
  .jdh-bl-toc-m { display:block; }
  /* touch targets ≥ 40px without moving anything: padding + equal negative margin, or an invisible ::after */
  .jdh-bl-crumbs a { display:inline-block; padding:10px 0; margin:-10px 0; }
  .jdh-bl-head .jdh-bl-pill { position:relative; }
  .jdh-bl-head .jdh-bl-pill::after { content:''; position:absolute; inset:-7px 0; }
  .jdh-bl-toc-m ol { gap:0; }
  .jdh-bl-toc-m a { padding:10px 0; }
  .jdh-bl-ex-copy { height:40px; }
}
@media (max-width:640px) {
  .jdh-bl-grid { grid-template-columns:minmax(0,1fr); gap:16px; }
  .jdh-bl-card--feature { grid-column:auto; padding:26px 22px 22px; }
  .jdh-bl-card--feature .jdh-bl-card-title { font-size:27px; line-height:34px; }
  .jdh-bl-card { padding:22px 20px 18px; border-radius:22px; }
  .jdh-bl-tabs { justify-content:flex-start; margin-bottom:28px; }
  .jdh-bl-shell { padding:0 16px; }
  .jdh-bl-crumbs { margin:18px 0 16px; }
  .jdh-bl-crumbs [aria-current] { max-width:22ch; }
  .jdh-bl-title { font-size:34px; line-height:41px; letter-spacing:-.5px; }
  .jdh-bl-dek { font-size:17px; line-height:27px; }
  .jdh-bl-prose { font-size:17px; }
  .jdh-bl-prose h2 { font-size:27px; }
  .jdh-bl-prose h3 { font-size:19px; }
  .jdh-bl-prose blockquote { font-size:19px; padding-left:16px; }
  .jdh-bl-prose .jdh-bl-toolcta { gap:14px; padding:16px; }
  .jdh-bl-toolcta-go { display:none; }
  .jdh-bl-ex-body { margin-left:10px; padding:14px 14px 4px; font-size:14px; }
  .jdh-bl-band { padding:28px 22px; border-radius:24px; }
  .jdh-bl-band-title { font-size:29px; line-height:36px; }
  .jdh-bl-band .jdh-btn { white-space:normal; height:auto; min-height:56px; }
  .jdh-bl-tools { grid-template-columns:minmax(0,1fr); }
  .jdh-bl-section-title, .jdh-bl-block-title { font-size:26px; line-height:33px; }
}


/* ---------- status card: one centred white card ---------- */
.jdh-sy-center { min-height:56vh; display:flex; align-items:center; justify-content:center; padding:40px 16px 96px; }
.jdh-sy-card { width:100%; max-width:540px; background:#fff; border:1px solid var(--jd-line); border-radius:28px;
  padding:44px 40px 40px; text-align:center; box-shadow:0 34px 70px -46px rgba(24,27,41,.4);
  animation:jdh-sy-in .5s var(--jd-ease) both; }
@keyframes jdh-sy-in { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
.jdh-sy-ico { width:68px; height:68px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
  margin-bottom:22px; background:var(--jd-lav); color:var(--jd-teal-deep); }
.jdh-sy-ico[data-tone="ok"] { background:#DDF4EE; color:#0E7F64; }
.jdh-sy-ico[data-tone="warn"] { background:var(--jd-plag-bg); color:#B4600E; }
.jdh-sy-ico[data-tone="bad"] { background:var(--jd-ai-red-bg); color:var(--jd-ai-red); }
.jdh-sy-spin { animation:jdh-sy-spin 1s linear infinite; }
@keyframes jdh-sy-spin { to { transform:rotate(360deg); } }
.jdh-sy-code { font-family:var(--jd-serif); font-weight:300; font-size:104px; line-height:1; letter-spacing:-3px;
  color:var(--jd-teal-deep); margin-bottom:10px; }
.jdh-sy-title { font-family:var(--jd-serif); font-weight:400; font-size:36px; line-height:1.18; letter-spacing:-.6px;
  color:var(--jd-ink); text-wrap:balance; margin-bottom:12px; }
.jdh-sy-body { font-size:16px; line-height:26px; color:var(--jd-body); text-wrap:pretty; }
.jdh-sy-body + .jdh-sy-body { margin-top:10px; }
.jdh-sy-mail { display:inline-flex; align-items:center; gap:8px; margin-top:20px; padding:10px 16px; border-radius:12px;
  background:#F5F7FB; border:1px solid var(--jd-line); font-weight:500; color:var(--jd-ink); max-width:100%;
  overflow-wrap:anywhere; }
.jdh-sy-alert { margin-top:18px; padding:12px 16px; border-radius:14px; background:var(--jd-ai-red-bg);
  color:#9F1D22; font-size:15px; line-height:22px; font-weight:500; }
.jdh-sy-actions { display:flex; flex-wrap:wrap; gap:10px 12px; justify-content:center; margin-top:30px; }
.jdh-sy-actions .jdh-btn { height:50px; padding:10px 18px 10px 11px; }
.jdh-sy-outline { display:inline-flex; align-items:center; justify-content:center; gap:8px; height:50px; padding:0 22px;
  border-radius:100px; border:1px solid var(--jd-line); background:#fff; color:var(--jd-ink); font:500 15px/1 var(--jd-sans);
  cursor:pointer; white-space:nowrap; transition:border-color .2s ease, color .2s ease, background .2s ease; }
.jdh-sy-outline:hover { border-color:#C9D0DC; color:var(--jd-teal-deep); }
.jdh-sy-outline:disabled { opacity:.55; cursor:not-allowed; }
.jdh-sy-danger { background:var(--jd-ai-red) !important; }
.jdh-sy-danger:hover { background:#C53A3F !important; box-shadow:none; }
.jdh-sy-btn-plain { gap:8px; padding:10px 22px; }
.jdh-sy-btn-plain[disabled] { opacity:.6; cursor:not-allowed; }
.jdh-sy-note { margin-top:18px; font-size:13.5px; line-height:20px; color:var(--jd-muted); }
.jdh-sy-note a { color:var(--jd-teal-deep); font-weight:500; text-decoration:underline; text-underline-offset:3px; }
.jdh-sy-actions :focus-visible, .jdh-sy-links a:focus-visible { outline:2px solid var(--jd-teal); outline-offset:3px; }

/* key/value rows (payment details) */
.jdh-sy-rows { margin-top:26px; text-align:left; border:1px solid var(--jd-line); border-radius:18px; overflow:hidden; }
.jdh-sy-rows-h { display:flex; align-items:center; gap:8px; padding:12px 16px; background:#F5F7FB;
  border-bottom:1px solid var(--jd-line); font-size:14px; font-weight:600; color:var(--jd-ink-2); }
.jdh-sy-row { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 16px; font-size:14.5px; }
.jdh-sy-row + .jdh-sy-row { border-top:1px solid var(--jd-line); }
.jdh-sy-row dt { color:var(--jd-muted); flex:none; }
.jdh-sy-row dd { margin:0; min-width:0; font-weight:600; color:var(--jd-ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.jdh-sy-mono { font-family:ui-monospace, SFMono-Regular, Menlo, monospace; font-size:12.5px; font-weight:500 !important; }

/* 404 quick links */
.jdh-sy-links { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:26px; padding-top:24px;
  border-top:1px solid var(--jd-line); }
.jdh-sy-links-h { width:100%; font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  color:var(--jd-muted); margin-bottom:4px; }
.jdh-sy-links a { display:inline-flex; align-items:center; min-height:40px; padding:8px 14px; border-radius:100px; background:#F2F5FD;
  font-size:14.5px; font-weight:500; color:var(--jd-ink-2); transition:background .2s ease, color .2s ease; }
.jdh-sy-links a:hover { background:var(--jd-lav); color:var(--jd-teal-deep); }
.jdh-sy-ref { margin-top:14px; font-size:12.5px; color:var(--jd-muted); font-family:ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap:anywhere; }
@media (max-width:640px) {
  .jdh-sy-card { padding:32px 20px 28px; border-radius:22px; }
  .jdh-sy-code { font-size:80px; }
  .jdh-sy-title { font-size:28px; }
  .jdh-sy-actions { flex-direction:column; align-items:stretch; }
  .jdh-sy-actions > * { width:100%; justify-content:center; }
}

/* ---------- glossary + about bodies ---------- */
.jdh-sy-page { padding-bottom:96px; }
.jdh-sy-sheet { background:#fff; border:1px solid var(--jd-line); border-radius:28px; padding:40px 44px; }
.jdh-sy-narrow { max-width:860px; }
.jdh-sy-empty { text-align:center; padding:56px 24px; }
.jdh-sy-empty .jdh-sy-title { font-size:30px; }
.jdh-sy-back { display:inline-flex; align-items:center; gap:6px; margin-bottom:20px; font-size:15px; font-weight:500;
  color:var(--jd-teal-deep); }
.jdh-sy-back:hover { text-decoration:underline; text-underline-offset:3px; }
.jdh-sy-meta { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 18px; margin-top:14px; font-size:14.5px; color:var(--jd-muted); }
.jdh-sy-meta span { display:inline-flex; align-items:center; gap:6px; }
.jdh-sy-chip { display:inline-flex; align-items:center; padding:4px 12px; border-radius:100px; background:var(--jd-lav);
  color:var(--jd-teal-deep); font-size:13px; font-weight:600; }
.jdh-sy-chip[data-tone="warn"] { background:var(--jd-plag-bg); color:#9A520C; }
.jdh-sy-tags { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:26px; }
.jdh-sy-lede { font-size:18px; line-height:30px; color:var(--jd-ink-2); padding:18px 22px; border-radius:18px;
  background:#F5F7FB; margin-bottom:28px; }
.jdh-sy-figure { position:relative; aspect-ratio:16/9; border-radius:20px; overflow:hidden; margin-bottom:28px; }
.jdh-sy-art { display:grid; grid-template-columns:minmax(0,1fr) 240px; gap:40px; align-items:start; }
.jdh-sy-toc { position:sticky; top:120px; }
.jdh-sy-art .prose { color:var(--jd-ink-2); }
.jdh-sy-art .prose :is(h2,h3) { font-family:var(--jd-serif); font-weight:400; color:var(--jd-ink); }
.jdh-sy-art .prose a { color:var(--jd-teal-deep); }
.jdh-sy-foot { margin-top:40px; padding-top:24px; border-top:1px solid var(--jd-line); }
/* framework CMS list/cards inside a jd sheet: keep their layout, adopt the site palette */
.jdh-sy-cms { --primary:#2E7483; }
.jdh-sy-cms :is(h2,h3) { font-family:var(--jd-serif); font-weight:400; color:var(--jd-ink); }

@media (max-width:1279px) { .jdh-sy-art { grid-template-columns:minmax(0,1fr); } .jdh-sy-toc { display:none; } }
@media (max-width:640px) {
  .jdh-sy-sheet { padding:24px 18px; border-radius:22px; }
  .jdh-sy-lede { font-size:16px; line-height:26px; padding:14px 16px; }
}
