/* DANIAN KB rich-text widgets — public server-rendered styles (A2-7).
 * Loaded by the KB article page. Self-contained: pricing cards + FAQ
 * accordions + table/image polish for PT custom blocks. CTA color =
 * brand token #ff5e29 (Follow + same tab). */
.dnk-pricing { display: flex; flex-wrap: wrap; gap: 16px; margin: 18px 0; }
.dnk-pricing-plan {
  flex: 1 1 220px; max-width: 320px; position: relative;
  border: 1px solid #e3ded6; border-radius: 12px; padding: 20px 18px;
  background: #fff; text-align: left; box-sizing: border-box;
}
.dnk-pricing-plan-hl { border-color: #ff5e29; box-shadow: 0 2px 14px rgba(255, 94, 41, 0.14); }
.dnk-pricing-badge {
  position: absolute; top: -10px; right: 14px;
  background: #ff5e29; color: #fff; font-size: 10px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px;
}
.dnk-pricing-name { font-size: 15px; font-weight: 600; color: #2b2825; margin-bottom: 8px; }
.dnk-pricing-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 12px; }
.dnk-pricing-currency { font-size: 14px; color: #6b655c; }
.dnk-pricing-amount { font-size: 30px; font-weight: 700; color: #2b2825; letter-spacing: -0.02em; }
.dnk-pricing-period { font-size: 12px; color: #8a8478; margin-left: 3px; }
.dnk-pricing-features { list-style: none; padding: 0; margin: 0 0 14px; }
.dnk-pricing-features li {
  font-size: 13px; color: #4c463d; padding: 4px 0 4px 18px; position: relative;
}
.dnk-pricing-features li::before {
  content: ""; position: absolute; left: 2px; top: 10px;
  width: 7px; height: 7px; border-radius: 50%; background: #ff5e29; opacity: 0.85;
}
.dnk-pricing-cta {
  display: block; text-align: center; text-decoration: none;
  background: #ff5e29; color: #fff; font-size: 13px; font-weight: 600;
  padding: 9px 14px; border-radius: 8px;
}
.dnk-pricing-cta:hover { filter: brightness(1.05); }
.dnk-pricing-cta-static { background: #6b655c; cursor: default; }
.dnk-faq { margin: 18px 0; }
.dnk-faq-item {
  border: 1px solid #e3ded6; border-radius: 10px;
  padding: 12px 16px; margin-bottom: 8px; background: #fff;
}
.dnk-faq-q {
  font-size: 14px; font-weight: 600; color: #2b2825; cursor: pointer;
  list-style: none; position: relative; padding-right: 22px;
  min-height: 24px;
}
.dnk-faq-q::-webkit-details-marker { display: none; }
.dnk-faq-q::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 16px; color: #ff5e29; font-weight: 600;
}
.dnk-faq-item[open] .dnk-faq-q::after { content: "\2212"; }
.dnk-faq-a { font-size: 13.5px; color: #4c463d; line-height: 1.55; padding-top: 8px; }
@media (max-width: 640px) {
  .dnk-pricing { flex-direction: column; }
  .dnk-pricing-plan { max-width: none; }
}


/* ===== A2-8: callout block (public) ===== */
.dnk-callout {
  display: flex; gap: 10px; align-items: flex-start;
  border-radius: 8px; padding: 14px 16px; margin: 16px 0;
  font-size: 14px; line-height: 1.55;
}
.dnk-callout-green { background: #f0faf0; border-left: 4px solid #4e9a51; color: #2f4a30; }
.dnk-callout-yellow { background: #fdf9e7; border-left: 4px solid #c9a227; color: #574a1e; }
.dnk-callout-neutral { background: #f6f4f0; border-left: 4px solid #b9b2a8; color: #4c463d; }
.dnk-callout-icon { font-weight: 700; font-size: 13px; line-height: 1.5; }
.dnk-callout-green .dnk-callout-icon { color: #4e9a51; }
.dnk-callout-yellow .dnk-callout-icon { color: #c9a227; }
@media (max-width: 640px) { .dnk-callout { padding: 12px 12px; } }


/* ===== A2-9: collapsible details section (public) ===== */
.dnk-details {
  border: 1px solid #E3EDEF;
  border-left: 4px solid #0F4C5C;
  border-radius: 8px;
  margin: 16px 0;
  background: #FDFEFF;
}
.dnk-details-summary {
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 15px;
  color: #0E1413;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}
.dnk-details-summary::-webkit-details-marker { display: none; }
.dnk-details-summary::before {
  content: "\25B8";
  color: #0F4C5C;
  font-size: 13px;
  transition: transform 0.15s ease;
  display: inline-block;
}
.dnk-details[open] > .dnk-details-summary::before { transform: rotate(90deg); }
.dnk-details-body { padding: 0 16px 12px 16px; }
.dnk-details-p { margin: 0 0 10px 0; line-height: 1.6; font-size: 14px; color: #2A3230; }
.dnk-details-p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .dnk-details-summary { padding: 10px 12px; } .dnk-details-body { padding: 0 12px 10px 12px; } }


/* A2-9 deep: rich content inside sections (lists, code, links, images) */
.dnk-details-list { margin: 0 0 10px 0; padding-left: 20px; font-size: 14px; color: #2A3230; line-height: 1.6; }
.dnk-details-list li { margin-bottom: 4px; }
.dnk-details-list:last-child { margin-bottom: 0; }
.dnk-details-body code { background: #F1F5F6; border-radius: 4px; padding: 1px 5px; font-size: 13px; font-family: 'Geist Mono', ui-monospace, monospace; }
.dnk-details-body a { color: #0F4C5C; text-decoration: underline; }
.dnk-details-body .dnk-img { max-width: 100%; height: auto; border-radius: 6px; margin: 6px 0; }


/* A2-9 deep-2: details inside table cells (compact) */
.dnk-details-cell { margin: 4px 0; font-size: 13px; }
.dnk-details-cell .dnk-details-summary { padding: 8px 12px; font-size: 13px; }
.dnk-details-cell .dnk-details-body { padding: 0 12px 8px 12px; }
.dnk-details-cell .dnk-details-p { font-size: 13px; }


/* A2-10: code blocks — server-side lowlight highlight, zero client JS */
.dnk-code { margin: 14px 0; border-radius: 8px; background: #0F1A1C; overflow: hidden; }
.dnk-code-lang { display: inline-block; padding: 4px 12px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #7FB3BD; background: rgba(15,26,28,0.9); border-bottom: 1px solid rgba(127,179,189,0.18); font-family: 'Geist Mono', ui-monospace, monospace; }
.dnk-code-pre { margin: 0; padding: 14px 16px; overflow-x: auto; }
.dnk-code-body { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 13px; line-height: 1.65; color: #D9E6E8; white-space: pre; display: block; }
.dnk-code .hljs-keyword, .dnk-code .hljs-selector-tag, .dnk-code .hljs-built_in { color: #C792EA; }
.dnk-code .hljs-string, .dnk-code .hljs-attr { color: #A5E075; }
.dnk-code .hljs-title, .dnk-code .hljs-name { color: #7FB3BD; }
.dnk-code .hljs-number, .dnk-code .hljs-literal { color: #F2B391; }
.dnk-code .hljs-comment, .dnk-code .hljs-quote { color: #6B8A8F; font-style: italic; }
.dnk-code .hljs-variable, .dnk-code .hljs-template-variable { color: #E8D9B0; }


/* A2-10: code blocks inside table cells (compact) */
.dnk-code-cell { margin: 4px 0; }
.dnk-code-cell .dnk-code-body { font-size: 12px; }


/* A2-12: video embeds — youtube-nocookie iframe + native video files */
.dnk-video { margin: 16px 0; }
.dnk-video-title { font-size: 13px; color: #5B6B6E; margin-bottom: 6px; font-weight: 600; }
.dnk-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #0F1A1C; }
.dnk-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dnk-video-file { width: 100%; border-radius: 10px; background: #0F1A1C; }


/* A2-12: video inside table cells (compact) */
.dnk-video-cell { margin: 4px 0; }
