/* SVN AI Writer v0.8.14 - unified content CSS
 * Dev phase: plugin controls global article CSS.
 * Production phase: move this file to the theme/child theme and disable plugin enqueue.
 */

.entry-content {
  font-size: 16.5px;
  line-height: 1.78;
}

.entry-content p,
.entry-content .svnaiw-paragraph {
  margin-top: 0;
  margin-bottom: 18px;
  line-height: 1.82;
}

.entry-content .svnaiw-lead {
  font-size: 1.13em;
  line-height: 1.85;
  margin: 0 0 24px;
  color: #243042;
}

.entry-content .svnaiw-small-text {
  font-size: .92em;
  line-height: 1.65;
  color: #64748b;
}

.entry-content h2,
.entry-content .wp-block-heading.svnaiw-heading,
.entry-content .svnaiw-heading {
  margin-top: 44px;
  margin-bottom: 16px;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.entry-content h3,
.entry-content .wp-block-heading.svnaiw-subheading,
.entry-content .svnaiw-subheading {
  margin-top: 32px;
  margin-bottom: 12px;
  line-height: 1.32;
  letter-spacing: -0.01em;
}

.entry-content ul,
.entry-content ol,
.entry-content .svnaiw-list,
.entry-content .svnaiw-list-ordered,
.entry-content .svnaiw-checklist {
  margin-top: 0;
  margin-bottom: 24px;
  padding-left: 1.35em;
}

.entry-content li,
.entry-content .svnaiw-list-item,
.entry-content .svnaiw-checklist-item {
  margin-bottom: 9px;
  line-height: 1.72;
}

.entry-content .wp-block-image,
.entry-content figure.wp-block-image {
  margin-top: 30px;
  margin-bottom: 46px;
}

.entry-content .wp-block-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.entry-content .wp-block-image figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
  text-align: center;
}

.entry-content .wp-block-image + h2,
.entry-content .wp-block-image + h3,
.entry-content .wp-block-image + .wp-block-heading,
.entry-content figure.wp-block-image + h2,
.entry-content figure.wp-block-image + h3,
.entry-content figure.wp-block-image + .wp-block-heading {
  margin-top: 52px;
}

.entry-content blockquote,
.entry-content .svnaiw-quote {
  margin: 30px 0;
  padding: 18px 22px;
  border-left: 4px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 0 10px 10px 0;
}

.entry-content .svnaiw-quote p {
  margin-bottom: 0;
}

.entry-content .svnaiw-quote-source,
.entry-content .svnaiw-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  color: #64748b;
  font-style: normal;
}

.entry-content .svnaiw-callout {
  position: relative;
  margin: 22px 0;
  padding: 12px 38px 12px 12px;
  min-height: 0 !important;
  border: 0;
  border-left: 14px solid #b7def0;
  border-radius: 0;
  background: #d8edf8;
  box-shadow: none;
  color: #0f172a;
}

.entry-content .svnaiw-callout::before {
  content: "";
  display: none;
}

.entry-content .svnaiw-callout::after {
  content: "×";
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  color: currentColor;
  opacity: .72;
}

.entry-content .svnaiw-callout p,
.entry-content .svnaiw-callout .svnaiw-paragraph {
  margin: 0;
  color: #0f172a;
  line-height: 1.58;
  font-size: 15.5px;
}

.entry-content .svnaiw-callout p + p,
.entry-content .svnaiw-callout .svnaiw-paragraph + .svnaiw-paragraph {
  margin-top: 6px;
}

.entry-content .svnaiw-callout p:first-child::before,
.entry-content .svnaiw-callout .svnaiw-paragraph:first-child::before {
  font-weight: 700;
  color: currentColor;
}

.entry-content .svnaiw-callout-note p:first-child::before,
.entry-content .svnaiw-callout-note .svnaiw-paragraph:first-child::before {
  content: "Note: ";
}

.entry-content .svnaiw-callout-info p:first-child::before,
.entry-content .svnaiw-callout-info .svnaiw-paragraph:first-child::before {
  content: "Info: ";
}

.entry-content .svnaiw-callout-tip p:first-child::before,
.entry-content .svnaiw-callout-tip .svnaiw-paragraph:first-child::before {
  content: "Tip: ";
}

.entry-content .svnaiw-callout-warning p:first-child::before,
.entry-content .svnaiw-callout-warning .svnaiw-paragraph:first-child::before {
  content: "Warning: ";
}

.entry-content .svnaiw-callout-info,
.entry-content .svnaiw-callout-note {
  color: #0b6f9f;
  background: #d8edf8;
  border-left-color: #b7def0;
}

.entry-content .svnaiw-callout-tip {
  color: #087a55;
  background: #dff7ec;
  border-left-color: #a8e6c8;
}

.entry-content .svnaiw-callout-warning {
  color: #9a5a00;
  background: #fff2d5;
  border-left-color: #ffd37a;
}
.entry-content .svnaiw-key-takeaways {
  margin: 34px 0;
  padding: 22px 24px;
  border-radius: 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.entry-content .svnaiw-key-takeaways .svnaiw-heading,
.entry-content .svnaiw-key-takeaways h2 {
  margin-top: 0;
}

.entry-content .svnaiw-key-takeaways ul {
  margin-bottom: 0;
}

.entry-content .svnaiw-steps {
  margin: 34px 0;
}

.entry-content .svnaiw-step {
  margin: 0 0 22px;
  padding: 18px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.entry-content .svnaiw-step-title {
  margin: 0 0 8px;
  font-size: 1.08em;
  line-height: 1.35;
}

.entry-content .svnaiw-step-content {
  margin-bottom: 0;
}

.entry-content .svnaiw-faq {
  margin: 44px 0;
}

.entry-content .svnaiw-faq .svnaiw-heading,
.entry-content .svnaiw-faq h2 {
  margin-top: 0;
}

.entry-content .svnaiw-faq-item {
  padding: 18px 0;
  border-bottom: 1px solid #e5e7eb;
}

.entry-content .svnaiw-faq-question {
  margin: 0 0 8px;
  font-size: 1.06em;
  line-height: 1.35;
}

.entry-content .svnaiw-faq-answer {
  margin: 0;
  color: #334155;
}

.entry-content .svnaiw-divider {
  margin: 38px 0;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

.entry-content .svnaiw-conclusion {
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
  .entry-content {
    font-size: 16px;
    line-height: 1.72;
  }

  .entry-content h2,
  .entry-content .wp-block-heading.svnaiw-heading,
  .entry-content .svnaiw-heading {
    margin-top: 36px;
    margin-bottom: 14px;
  }

  .entry-content h3,
  .entry-content .wp-block-heading.svnaiw-subheading,
  .entry-content .svnaiw-subheading {
    margin-top: 28px;
  }

  .entry-content .wp-block-image,
  .entry-content figure.wp-block-image {
    margin-top: 24px;
    margin-bottom: 38px;
  }

  .entry-content .svnaiw-key-takeaways,
  .entry-content .svnaiw-step {
    padding: 16px 17px;
    border-radius: 11px;
  }

  .entry-content .svnaiw-callout {
    margin: 18px 0;
    padding: 12px 36px 12px 12px;
    border-left-width: 12px;
  }
}


.entry-content .svnaiw-source-image {
  margin-top: 28px;
  margin-bottom: 44px;
}


/* v0.3.1 expanded content blocks */
.entry-content .svnaiw-product-info,
.entry-content .svnaiw-summary-box,
.entry-content .svnaiw-definition,
.entry-content .svnaiw-requirements,
.entry-content .svnaiw-use-cases,
.entry-content .svnaiw-mistakes,
.entry-content .svnaiw-troubleshooting,
.entry-content .svnaiw-comparison,
.entry-content .svnaiw-pros-cons,
.entry-content .svnaiw-cta,
.entry-content .svnaiw-external-link {
  margin: 32px 0;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}

.entry-content .svnaiw-product-info,
.entry-content .svnaiw-summary-box {
  background: #f8fafc;
}

.entry-content .svnaiw-info-list {
  margin: 0;
}

.entry-content .svnaiw-info-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #e5e7eb;
}

.entry-content .svnaiw-info-row:first-child {
  border-top: 0;
}

.entry-content .svnaiw-info-row dt {
  font-weight: 700;
}

.entry-content .svnaiw-info-row dd {
  margin: 0;
}

.entry-content .svnaiw-pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.entry-content .svnaiw-pros,
.entry-content .svnaiw-cons {
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px;
}

.entry-content .svnaiw-comparison-item,
.entry-content .svnaiw-use-case,
.entry-content .svnaiw-mistake-item,
.entry-content .svnaiw-troubleshooting-item {
  padding: 14px 0;
  border-top: 1px solid #e5e7eb;
}

.entry-content .svnaiw-comparison-item:first-of-type,
.entry-content .svnaiw-use-case:first-of-type,
.entry-content .svnaiw-mistake-item:first-of-type,
.entry-content .svnaiw-troubleshooting-item:first-of-type {
  border-top: 0;
}

.entry-content .svnaiw-cta {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.entry-content .svnaiw-cta .svnaiw-heading,
.entry-content .svnaiw-cta .svnaiw-paragraph {
  color: #fff;
}

.entry-content .svnaiw-cta-button {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
}

.entry-content .svnaiw-table {
  overflow-x: auto;
}

.entry-content .svnaiw-table table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content .svnaiw-table th,
.entry-content .svnaiw-table td {
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.entry-content .svnaiw-table th {
  background: #f8fafc;
  font-weight: 700;
}

.entry-content .svnaiw-code {
  margin: 24px 0;
  padding: 16px;
  border-radius: 12px;
  overflow-x: auto;
  background: #0f172a;
  color: #e2e8f0;
}

.entry-content .svnaiw-external-link {
  background: #f8fafc;
}

@media (max-width: 760px) {
  .entry-content .svnaiw-pros-cons-grid,
  .entry-content .svnaiw-info-row {
    grid-template-columns: 1fr;
  }
}


/* v0.3.4 flattened editor-friendly block classes */
.entry-content .svnaiw-faq-heading,
.entry-content .svnaiw-steps-heading,
.entry-content .svnaiw-comparison-heading,
.entry-content .svnaiw-use-cases-heading,
.entry-content .svnaiw-mistakes-heading,
.entry-content .svnaiw-troubleshooting-heading {
  margin-top: 44px;
}

.entry-content .svnaiw-faq-question,
.entry-content .svnaiw-step-title,
.entry-content .svnaiw-comparison-title,
.entry-content .svnaiw-use-case-title,
.entry-content .svnaiw-mistake-title,
.entry-content .svnaiw-troubleshooting-problem {
  margin-top: 28px;
  margin-bottom: 10px;
}

.entry-content .svnaiw-faq-answer,
.entry-content .svnaiw-step-content,
.entry-content .svnaiw-comparison-text,
.entry-content .svnaiw-use-case-text,
.entry-content .svnaiw-mistake-fix,
.entry-content .svnaiw-troubleshooting-solution {
  margin-bottom: 18px;
}


/* v0.3.5 FAQ flat-but-visible */
.entry-content .svnaiw-faq-flat {
  margin: 36px 0;
  padding: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f8fafc;
}

.entry-content .svnaiw-faq-flat .svnaiw-faq-heading {
  margin-top: 0;
  margin-bottom: 18px;
}

.entry-content .svnaiw-faq-flat .svnaiw-faq-question {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 1.08em;
  font-weight: 700;
}

.entry-content .svnaiw-faq-flat .svnaiw-faq-answer {
  margin-bottom: 16px;
}


/* v0.5.3 table polish */
.entry-content .wp-block-table.svnaiw-table,
.entry-content figure.wp-block-table.svnaiw-table {
  margin: 26px 0 34px;
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.entry-content .svnaiw-table table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
}

.entry-content .svnaiw-table th,
.entry-content .svnaiw-table td {
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.entry-content .svnaiw-table th {
  background: #f8fafc;
  color: #1f2937;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.entry-content .svnaiw-table td {
  color: #334155;
  background: #fff;
}

.entry-content .svnaiw-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.entry-content .svnaiw-table tbody tr:hover td {
  background: #f8fafc;
}

.entry-content .svnaiw-table th + th,
.entry-content .svnaiw-table td + td {
  border-left: 1px solid #eef2f7;
}

.entry-content .svnaiw-table tr:last-child td {
  border-bottom: 0;
}

.entry-content .svnaiw-table th:first-child {
  border-top-left-radius: 14px;
}

.entry-content .svnaiw-table th:last-child {
  border-top-right-radius: 14px;
}

.entry-content .svnaiw-table figcaption {
  padding: 10px 14px 12px;
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.55;
  text-align: left;
  border-top: 1px solid #e5e7eb;
  background: #f8fafc;
}

@media (max-width: 760px) {
  .entry-content .wp-block-table.svnaiw-table,
  .entry-content figure.wp-block-table.svnaiw-table {
    border-radius: 12px;
  }

  .entry-content .svnaiw-table table {
    min-width: 560px;
    font-size: 14.5px;
  }

  .entry-content .svnaiw-table th,
  .entry-content .svnaiw-table td {
    padding: 12px 14px;
  }
}


/* v0.5.4 brand color table polish */
.entry-content .wp-block-table.svnaiw-table,
.entry-content figure.wp-block-table.svnaiw-table {
  border-color: #fed7aa;
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.06);
}

.entry-content .svnaiw-table th {
  background: #fff7ed;
  color: #9a3412;
  border-bottom: 1px solid #fed7aa;
}

.entry-content .svnaiw-table td {
  color: #334155;
}

.entry-content .svnaiw-table th + th,
.entry-content .svnaiw-table td + td {
  border-left-color: #ffedd5;
}

.entry-content .svnaiw-table tbody tr:nth-child(even) td {
  background: #fffaf5;
}

.entry-content .svnaiw-table tbody tr:hover td {
  background: #fff7ed;
}

.entry-content .svnaiw-table figcaption {
  background: #fff7ed;
  color: #9a3412;
  border-top-color: #fed7aa;
}

/* SVN AI Writer v0.8.4: native Gutenberg info block, no table. */
.entry-content .svnaiw-product-info .svnaiw-info-list {
  margin-top: 8px;
}

.entry-content .wp-block-columns.svnaiw-info-row,
.entry-content .svnaiw-info-row {
  display: grid !important;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: start;
  margin: 0 !important;
  padding: 12px 0;
  border-top: 1px solid #e5e7eb;
}

.entry-content .wp-block-columns.svnaiw-info-row:first-child,
.entry-content .svnaiw-info-row:first-child {
  border-top: 0;
}

.entry-content .svnaiw-info-label,
.entry-content .svnaiw-info-value {
  margin: 0 !important;
  min-width: 0;
}

.entry-content .svnaiw-info-label p,
.entry-content .svnaiw-info-value p {
  margin: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  word-break: break-word;
}

@media (max-width: 720px) {
  .entry-content .wp-block-columns.svnaiw-info-row,
  .entry-content .svnaiw-info-row {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }
}


/* v0.8.14 pro FAQ accordion - native Details block */
.entry-content .svnaiw-faq-heading {
  margin-top: 48px;
  margin-bottom: 18px;
}

.entry-content details.svnaiw-faq-item,
.entry-content .wp-block-details.svnaiw-faq-item {
  margin: 0;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  background: transparent;
}

.entry-content details.svnaiw-faq-item:first-of-type,
.entry-content .wp-block-details.svnaiw-faq-item:first-of-type {
  border-top: 1px solid #e5e7eb;
}

.entry-content details.svnaiw-faq-item summary,
.entry-content .wp-block-details.svnaiw-faq-item summary,
.entry-content .svnaiw-faq-question {
  position: relative;
  display: block;
  padding: 0 30px 0 0;
  margin: 0;
  font-size: 16.5px;
  line-height: 1.55;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
}

.entry-content details.svnaiw-faq-item summary::-webkit-details-marker {
  display: none;
}

.entry-content details.svnaiw-faq-item summary::after,
.entry-content .wp-block-details.svnaiw-faq-item summary::after {
  content: "⌄";
  position: absolute;
  top: 0.05em;
  right: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: #f1f5f9;
  font-size: 16px;
  line-height: 1;
  transition: transform .16s ease, background-color .16s ease, color .16s ease;
}

.entry-content details.svnaiw-faq-item[open] summary::after,
.entry-content .wp-block-details.svnaiw-faq-item[open] summary::after {
  transform: rotate(180deg);
  color: #0f172a;
  background: #e2e8f0;
}

.entry-content details.svnaiw-faq-item .svnaiw-faq-answer,
.entry-content .wp-block-details.svnaiw-faq-item .svnaiw-faq-answer,
.entry-content details.svnaiw-faq-item p {
  margin: 10px 0 0;
  padding-right: 30px;
  color: #334155;
  line-height: 1.75;
}

.entry-content details.svnaiw-faq-item + details.svnaiw-faq-item,
.entry-content .wp-block-details.svnaiw-faq-item + .wp-block-details.svnaiw-faq-item {
  margin-top: 0;
}

/* v0.8.15 clean FAQ UI: no duplicate-heavy browser marker, compact SaaS accordion */
.entry-content details.svnaiw-faq-item,
.entry-content .wp-block-details.svnaiw-faq-item {
  margin: 0 !important;
  padding: 13px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #e6e8eb !important;
  background: transparent !important;
  box-shadow: none !important;
}

.entry-content details.svnaiw-faq-item:first-of-type,
.entry-content .wp-block-details.svnaiw-faq-item:first-of-type {
  border-top: 1px solid #e6e8eb !important;
}

.entry-content details.svnaiw-faq-item summary,
.entry-content .wp-block-details.svnaiw-faq-item summary,
.entry-content .svnaiw-faq-question {
  position: relative !important;
  display: block !important;
  padding: 0 34px 0 0 !important;
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  font-weight: 650 !important;
  color: #172033 !important;
  cursor: pointer !important;
  list-style: none !important;
}

.entry-content details.svnaiw-faq-item summary::marker,
.entry-content .wp-block-details.svnaiw-faq-item summary::marker {
  content: "" !important;
  display: none !important;
}

.entry-content details.svnaiw-faq-item summary::-webkit-details-marker,
.entry-content .wp-block-details.svnaiw-faq-item summary::-webkit-details-marker {
  display: none !important;
}

.entry-content details.svnaiw-faq-item summary::after,
.entry-content .wp-block-details.svnaiw-faq-item summary::after {
  content: "+" !important;
  position: absolute !important;
  top: 0.02em !important;
  right: 0 !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #42526e !important;
  background: #f4f6f8 !important;
  border: 1px solid #e1e6eb !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.entry-content details.svnaiw-faq-item[open] summary::after,
.entry-content .wp-block-details.svnaiw-faq-item[open] summary::after {
  content: "−" !important;
  color: #111827 !important;
  background: #edf2f7 !important;
}

.entry-content details.svnaiw-faq-item .svnaiw-faq-answer,
.entry-content .wp-block-details.svnaiw-faq-item .svnaiw-faq-answer,
.entry-content details.svnaiw-faq-item p {
  margin: 8px 0 0 !important;
  padding-right: 34px !important;
  color: #344054 !important;
  line-height: 1.75 !important;
}

/* v0.8.18 SaaS FAQ UX: stable HTML details, no invalid Gutenberg core/details block. */
.entry-content details.svnaiw-faq-item {
  position: relative;
  margin: 12px 0;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.entry-content details.svnaiw-faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.entry-content details.svnaiw-faq-item[open] {
  border-color: #bfdbfe;
  background: #fbfdff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}
.entry-content details.svnaiw-faq-item summary.svnaiw-faq-question {
  display: block;
  position: relative;
  margin: 0;
  padding: 16px 56px 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  color: #0f172a;
}
.entry-content details.svnaiw-faq-item summary.svnaiw-faq-question::-webkit-details-marker { display: none; }
.entry-content details.svnaiw-faq-item summary.svnaiw-faq-question::marker { content: ""; }
.entry-content details.svnaiw-faq-item summary.svnaiw-faq-question::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.entry-content details.svnaiw-faq-item[open] summary.svnaiw-faq-question::after {
  content: "−";
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.entry-content details.svnaiw-faq-item p.svnaiw-faq-answer {
  margin: 0;
  padding: 0 18px 18px 18px;
  color: #475569;
  font-size: 15.5px;
  line-height: 1.72;
}
.entry-content details.svnaiw-faq-item[open] p.svnaiw-faq-answer { animation: svnaiwFaqReveal .18s ease-out; }
@keyframes svnaiwFaqReveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 768px) {
  .entry-content details.svnaiw-faq-item summary.svnaiw-faq-question { padding: 14px 50px 14px 15px; font-size: 15.5px; }
  .entry-content details.svnaiw-faq-item summary.svnaiw-faq-question::after { right: 14px; width: 24px; height: 24px; }
  .entry-content details.svnaiw-faq-item p.svnaiw-faq-answer { padding: 0 15px 15px 15px; }
}

/* SVN AI Writer image placeholders */
.svnaiw-image-placeholder {
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    padding: 18px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    gap: 14px;
}
.svnaiw-image-placeholder-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}
.svnaiw-image-placeholder-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex: 0 0 auto;
}
.svnaiw-image-placeholder-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.svnaiw-image-placeholder-body strong {
    font-size: 14px;
    line-height: 1.35;
    color: #0f172a;
}
.svnaiw-image-placeholder-body span {
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
}
.svnaiw-image-placeholder-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.svnaiw-image-preview {
    margin: 0;
    width: 100%;
}
.svnaiw-image-preview img,
.svnaiw-image-block img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.svnaiw-image-preview figcaption,
.svnaiw-image-block figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: #64748b;
    text-align: center;
}

/* v0.8.27: keep callout padding strict even when theme adds inner-container padding. */
.entry-content .svnaiw-callout > .wp-block-group__inner-container,
.entry-content .svnaiw-callout .wp-block-group__inner-container {
  padding: 0 !important;
}

.entry-content .svnaiw-callout > .wp-block-group__inner-container > :first-child,
.entry-content .svnaiw-callout .wp-block-group__inner-container > :first-child {
  margin-top: 0 !important;
}

.entry-content .svnaiw-callout > .wp-block-group__inner-container > :last-child,
.entry-content .svnaiw-callout .wp-block-group__inner-container > :last-child {
  margin-bottom: 0 !important;
}

/* v0.8.28: strict callout inner compact. Keep visible callout padding at 12px only. */
.entry-content .svnaiw-callout .svnaiw-callout-content,
.entry-content .svnaiw-callout .wp-block-group__inner-container,
.entry-content .svnaiw-callout .wp-block-group__inner-container > .wp-block-group,
.entry-content .svnaiw-callout .wp-block-group__inner-container > .wp-block-group__inner-container,
.entry-content .svnaiw-callout p,
.entry-content .svnaiw-callout .svnaiw-paragraph {
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.entry-content .svnaiw-callout .svnaiw-callout-content > :first-child,
.entry-content .svnaiw-callout .wp-block-group__inner-container > :first-child {
  margin-top: 0 !important;
}
.entry-content .svnaiw-callout .svnaiw-callout-content > :last-child,
.entry-content .svnaiw-callout .wp-block-group__inner-container > :last-child {
  margin-bottom: 0 !important;
}

/* v0.8.29: native paragraph callout, no Group wrapper, strict 12px visible padding. */
.entry-content p.svnaiw-callout,
.entry-content .wp-block-paragraph.svnaiw-callout {
  position: relative !important;
  display: block !important;
  box-sizing: border-box !important;
  margin: 18px 0 !important;
  padding: 12px 38px 12px 12px !important;
  min-height: 0 !important;
  border: 0 !important;
  border-left: 8px solid #a8e6c8 !important;
  border-radius: 0 !important;
  background: #dff7ec !important;
  box-shadow: none !important;
  color: #0f172a !important;
  line-height: 1.58 !important;
  font-size: 15.5px !important;
}
.entry-content p.svnaiw-callout::after,
.entry-content .wp-block-paragraph.svnaiw-callout::after {
  content: "×" !important;
  position: absolute !important;
  top: 50% !important;
  right: 12px !important;
  transform: translateY(-50%) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  color: currentColor !important;
  opacity: .72 !important;
}
.entry-content p.svnaiw-callout::before,
.entry-content .wp-block-paragraph.svnaiw-callout::before {
  font-weight: 700 !important;
  color: currentColor !important;
}
.entry-content p.svnaiw-callout-note::before,
.entry-content .wp-block-paragraph.svnaiw-callout-note::before { content: "Note: " !important; }
.entry-content p.svnaiw-callout-info::before,
.entry-content .wp-block-paragraph.svnaiw-callout-info::before { content: "Info: " !important; }
.entry-content p.svnaiw-callout-tip::before,
.entry-content .wp-block-paragraph.svnaiw-callout-tip::before { content: "Tip: " !important; }
.entry-content p.svnaiw-callout-warning::before,
.entry-content .wp-block-paragraph.svnaiw-callout-warning::before { content: "Warning: " !important; }
.entry-content p.svnaiw-callout-info,
.entry-content p.svnaiw-callout-note,
.entry-content .wp-block-paragraph.svnaiw-callout-info,
.entry-content .wp-block-paragraph.svnaiw-callout-note {
  background: #d8edf8 !important;
  border-left-color: #b7def0 !important;
  color: #0b6f9f !important;
}
.entry-content p.svnaiw-callout-tip,
.entry-content .wp-block-paragraph.svnaiw-callout-tip {
  background: #dff7ec !important;
  border-left-color: #a8e6c8 !important;
  color: #087a55 !important;
}
.entry-content p.svnaiw-callout-warning,
.entry-content .wp-block-paragraph.svnaiw-callout-warning {
  background: #fff2d5 !important;
  border-left-color: #ffd37a !important;
  color: #9a5a00 !important;
}

/* v0.8.30: AI-aware image placement hint */
.svnaiw-image-placement {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.4;
}
.svnaiw-image-placeholder-has-image .svnaiw-image-placement { display: none; }

/* SVN AI Writer v0.8.32: per-draft table color themes. */
.entry-content .wp-block-table.svnaiw-table.svnaiw-table-color-default,
.entry-content figure.wp-block-table.svnaiw-table.svnaiw-table-color-default,
.editor-styles-wrapper .wp-block-table.svnaiw-table.svnaiw-table-color-default,
.editor-styles-wrapper figure.wp-block-table.svnaiw-table.svnaiw-table-color-default {
  border-color: #e5e7eb;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}
.entry-content .svnaiw-table.svnaiw-table-color-default th,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-default th { background:#f8fafc; color:#111827; border-bottom-color:#e5e7eb; }
.entry-content .svnaiw-table.svnaiw-table-color-default th + th,
.entry-content .svnaiw-table.svnaiw-table-color-default td + td,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-default th + th,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-default td + td { border-left-color:#e5e7eb; }
.entry-content .svnaiw-table.svnaiw-table-color-default tbody tr:nth-child(even) td,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-default tbody tr:nth-child(even) td { background:#fafafa; }
.entry-content .svnaiw-table.svnaiw-table-color-default tbody tr:hover td,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-default tbody tr:hover td { background:#f8fafc; }

.entry-content .wp-block-table.svnaiw-table.svnaiw-table-color-blue,
.entry-content figure.wp-block-table.svnaiw-table.svnaiw-table-color-blue,
.editor-styles-wrapper .wp-block-table.svnaiw-table.svnaiw-table-color-blue,
.editor-styles-wrapper figure.wp-block-table.svnaiw-table.svnaiw-table-color-blue { border-color:#bfdbfe; box-shadow:0 10px 28px rgba(37,99,235,.06); }
.entry-content .svnaiw-table.svnaiw-table-color-blue th,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-blue th { background:#eff6ff; color:#1d4ed8; border-bottom-color:#bfdbfe; }
.entry-content .svnaiw-table.svnaiw-table-color-blue th + th,
.entry-content .svnaiw-table.svnaiw-table-color-blue td + td,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-blue th + th,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-blue td + td { border-left-color:#dbeafe; }
.entry-content .svnaiw-table.svnaiw-table-color-blue tbody tr:nth-child(even) td,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-blue tbody tr:nth-child(even) td { background:#f8fbff; }
.entry-content .svnaiw-table.svnaiw-table-color-blue tbody tr:hover td,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-blue tbody tr:hover td { background:#eff6ff; }

.entry-content .wp-block-table.svnaiw-table.svnaiw-table-color-green,
.entry-content figure.wp-block-table.svnaiw-table.svnaiw-table-color-green,
.editor-styles-wrapper .wp-block-table.svnaiw-table.svnaiw-table-color-green,
.editor-styles-wrapper figure.wp-block-table.svnaiw-table.svnaiw-table-color-green { border-color:#bbf7d0; box-shadow:0 10px 28px rgba(22,163,74,.06); }
.entry-content .svnaiw-table.svnaiw-table-color-green th,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-green th { background:#f0fdf4; color:#15803d; border-bottom-color:#bbf7d0; }
.entry-content .svnaiw-table.svnaiw-table-color-green th + th,
.entry-content .svnaiw-table.svnaiw-table-color-green td + td,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-green th + th,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-green td + td { border-left-color:#dcfce7; }
.entry-content .svnaiw-table.svnaiw-table-color-green tbody tr:nth-child(even) td,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-green tbody tr:nth-child(even) td { background:#f7fef9; }
.entry-content .svnaiw-table.svnaiw-table-color-green tbody tr:hover td,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-green tbody tr:hover td { background:#f0fdf4; }

.entry-content .wp-block-table.svnaiw-table.svnaiw-table-color-purple,
.entry-content figure.wp-block-table.svnaiw-table.svnaiw-table-color-purple,
.editor-styles-wrapper .wp-block-table.svnaiw-table.svnaiw-table-color-purple,
.editor-styles-wrapper figure.wp-block-table.svnaiw-table.svnaiw-table-color-purple { border-color:#ddd6fe; box-shadow:0 10px 28px rgba(124,58,237,.06); }
.entry-content .svnaiw-table.svnaiw-table-color-purple th,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-purple th { background:#f5f3ff; color:#6d28d9; border-bottom-color:#ddd6fe; }
.entry-content .svnaiw-table.svnaiw-table-color-purple th + th,
.entry-content .svnaiw-table.svnaiw-table-color-purple td + td,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-purple th + th,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-purple td + td { border-left-color:#ede9fe; }
.entry-content .svnaiw-table.svnaiw-table-color-purple tbody tr:nth-child(even) td,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-purple tbody tr:nth-child(even) td { background:#fbfaff; }
.entry-content .svnaiw-table.svnaiw-table-color-purple tbody tr:hover td,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-purple tbody tr:hover td { background:#f5f3ff; }

.entry-content .wp-block-table.svnaiw-table.svnaiw-table-color-gray,
.entry-content figure.wp-block-table.svnaiw-table.svnaiw-table-color-gray,
.editor-styles-wrapper .wp-block-table.svnaiw-table.svnaiw-table-color-gray,
.editor-styles-wrapper figure.wp-block-table.svnaiw-table.svnaiw-table-color-gray { border-color:#d1d5db; box-shadow:0 10px 28px rgba(75,85,99,.05); }
.entry-content .svnaiw-table.svnaiw-table-color-gray th,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-gray th { background:#f3f4f6; color:#374151; border-bottom-color:#d1d5db; }
.entry-content .svnaiw-table.svnaiw-table-color-gray th + th,
.entry-content .svnaiw-table.svnaiw-table-color-gray td + td,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-gray th + th,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-gray td + td { border-left-color:#e5e7eb; }
.entry-content .svnaiw-table.svnaiw-table-color-gray tbody tr:nth-child(even) td,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-gray tbody tr:nth-child(even) td { background:#fafafa; }
.entry-content .svnaiw-table.svnaiw-table-color-gray tbody tr:hover td,
.editor-styles-wrapper .svnaiw-table.svnaiw-table-color-gray tbody tr:hover td { background:#f3f4f6; }

/* v0.8.61 content bullet cleanup: use-cases are clean dot bullets, not check/icon cards */
.entry-content .svnaiw-usecase-list,
.editor-styles-wrapper .svnaiw-usecase-list {
  margin: 14px 0 34px;
  padding-left: 1.35em;
  list-style: disc;
}
.entry-content .svnaiw-usecase-list .svnaiw-usecase-item,
.editor-styles-wrapper .svnaiw-usecase-list .svnaiw-usecase-item {
  list-style: disc;
  margin-bottom: 12px;
  padding-left: 0;
  line-height: 1.72;
}
.entry-content .svnaiw-usecase-list .svnaiw-usecase-item::before,
.entry-content .svnaiw-usecase-list .svnaiw-usecase-item::after,
.editor-styles-wrapper .svnaiw-usecase-list .svnaiw-usecase-item::before,
.editor-styles-wrapper .svnaiw-usecase-list .svnaiw-usecase-item::after {
  content: none !important;
  display: none !important;
}
.entry-content .svnaiw-usecase-list .svnaiw-usecase-title,
.editor-styles-wrapper .svnaiw-usecase-list .svnaiw-usecase-title {
  font-weight: 700;
  color: #111827;
}
.entry-content .svnaiw-usecase-list .svnaiw-usecase-description::before,
.editor-styles-wrapper .svnaiw-usecase-list .svnaiw-usecase-description::before {
  content: " — ";
  color: #6b7280;
}
.entry-content .svnaiw-usecase-list .svnaiw-usecase-description,
.editor-styles-wrapper .svnaiw-usecase-list .svnaiw-usecase-description {
  color: #4b5563;
}

/* SVN AI Writer image suggestion candidates */
.svnaiw-image-candidates {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
}
.svnaiw-image-candidates > span {
    font-size: 12px !important;
    line-height: 1.2;
    color: #64748b;
    margin-right: 2px;
}
.svnaiw-image-candidates a,
.svnaiw-image-candidates em {
    display: inline-flex;
    align-items: center;
    max-width: 220px;
    padding: 4px 8px;
    border: 1px solid #dbe3ee;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    line-height: 1.2;
    font-style: normal;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.svnaiw-image-candidates a:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    color: #0f172a;
}

/* === SVNAIW External image picker (editor placeholder helper) === */
.svnaiw-external-image-picker {
  width: 100%;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}
.svnaiw-external-image-message {
  margin-top: 8px;
  font-size: 12px;
  color: #64748b;
}
.svnaiw-external-image-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.svnaiw-external-image-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.svnaiw-external-image-card img {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: cover;
  background: #f8fafc;
}
.svnaiw-external-image-meta {
  padding: 8px;
  display: grid;
  gap: 5px;
}
.svnaiw-external-image-meta strong {
  font-size: 12px;
  line-height: 1.35;
}
.svnaiw-external-image-meta span {
  font-size: 11px;
  color: #64748b;
}
.svnaiw-image-candidates button {
  appearance: none;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  padding: 3px 8px;
  font-size: 11px;
  cursor: pointer;
}
.svnaiw-image-candidates button:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

/* === SVNAIW v0.8.38 Google Images search assist === */
.svnaiw-external-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.svnaiw-google-image-note {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

/* === SVNAIW v0.8.39 Google Images modal assist === */
.svnaiw-google-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.svnaiw-google-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .52);
  backdrop-filter: blur(2px);
}
.svnaiw-google-modal-panel {
  position: relative;
  width: min(680px, 100%);
  background: #fff;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .22);
  padding: 18px;
}
.svnaiw-google-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.svnaiw-google-modal-head strong {
  font-size: 16px;
  font-weight: 700;
}
.svnaiw-google-modal-desc,
.svnaiw-google-modal-safe-note {
  margin: 0 0 14px !important;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.5;
}
.svnaiw-google-modal-safe-note {
  margin-top: 14px !important;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}
.svnaiw-google-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.svnaiw-google-modal-keyword {
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  word-break: break-word;
}

/* === SVNAIW v0.8.40 smart Google Images modal === */
.svnaiw-google-modal-panel-pro {
  padding: 20px;
}
.svnaiw-google-modal-subtitle {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}
.svnaiw-google-keyword-card {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}
.svnaiw-google-keyword-label {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.svnaiw-google-keyword-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.svnaiw-google-keyword-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
}
.svnaiw-google-keyword-text {
  flex: 1;
  color: #0f172a;
  background: transparent;
  font-size: 13px;
  white-space: normal;
  word-break: break-word;
}
.svnaiw-google-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 12px 0;
}
.svnaiw-google-chip-row > span {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}
.svnaiw-google-chip-row button {
  appearance: none;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
}
.svnaiw-google-chip-row button:hover {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}
.svnaiw-google-modal-actions-pro {
  padding-top: 2px;
}

/* === SVNAIW v0.8.42 Google image preview card + import assist === */
.svnaiw-google-preview-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: stretch;
  margin: 14px 0;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}
.svnaiw-google-preview-thumb {
  min-height: 78px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e0f2fe, #f8fafc 55%, #dbeafe);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  border: 1px solid #dbeafe;
}
.svnaiw-google-preview-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.svnaiw-google-preview-body strong {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}
.svnaiw-google-preview-body span {
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
  word-break: break-word;
}
.svnaiw-google-preview-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 6px;
}
.svnaiw-google-import-box {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
}
.svnaiw-google-import-box > strong {
  display: block;
  margin-bottom: 4px;
  color: #111827;
  font-size: 14px;
}
.svnaiw-google-import-box p {
  margin: 0 0 10px !important;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}
@media (max-width: 640px) {
  .svnaiw-google-preview-card {
    grid-template-columns: 1fr;
  }
  .svnaiw-google-preview-thumb {
    min-height: 56px;
  }
}

/* v0.8.44: compact editor image placeholder; heavy search UI lives in modal. */
.svnaiw-image-placeholder {
    padding: 14px 16px;
    border-radius: 12px;
}
.svnaiw-image-placeholder-inner {
    align-items: center;
    gap: 12px;
}
.svnaiw-image-placeholder-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 16px;
}
.svnaiw-image-placement {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 2px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
}
.svnaiw-image-compact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.svnaiw-image-compact-message {
    margin-top: 6px;
    font-size: 12px;
}
.svnaiw-image-candidates,
.svnaiw-external-image-picker > .components-base-control,
.svnaiw-google-image-note {
    display: none !important;
}

/* v0.8.46: constrain inserted AI image blocks to readable content width. */
.entry-content figure.wp-block-image.svnaiw-image-block,
.entry-content .wp-block-image.svnaiw-image-block,
.entry-content figure.svnaiw-image-block,
.editor-styles-wrapper figure.wp-block-image.svnaiw-image-block,
.editor-styles-wrapper .wp-block-image.svnaiw-image-block,
.editor-styles-wrapper figure.svnaiw-image-block {
  max-width: min(720px, 100%) !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.entry-content figure.wp-block-image.svnaiw-image-block.alignwide,
.entry-content figure.wp-block-image.svnaiw-image-block.alignfull,
.entry-content .wp-block-image.svnaiw-image-block.alignwide,
.entry-content .wp-block-image.svnaiw-image-block.alignfull,
.editor-styles-wrapper figure.wp-block-image.svnaiw-image-block.alignwide,
.editor-styles-wrapper figure.wp-block-image.svnaiw-image-block.alignfull,
.editor-styles-wrapper .wp-block-image.svnaiw-image-block.alignwide,
.editor-styles-wrapper .wp-block-image.svnaiw-image-block.alignfull {
  max-width: min(720px, 100%) !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.entry-content figure.wp-block-image.svnaiw-image-block img,
.entry-content .wp-block-image.svnaiw-image-block img,
.entry-content figure.svnaiw-image-block img,
.editor-styles-wrapper figure.wp-block-image.svnaiw-image-block img,
.editor-styles-wrapper .wp-block-image.svnaiw-image-block img,
.editor-styles-wrapper figure.svnaiw-image-block img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 10px;
}

/* === SVN AI Writer v0.8.47: edit image before import === */
.svnaiw-image-import-edit {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #fff;
}
.svnaiw-image-import-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 220px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f8fafc;
}
.svnaiw-image-import-preview img {
  display: block;
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.svnaiw-image-import-edit .components-base-control {
  margin-bottom: 10px;
}
.svnaiw-image-import-edit .components-base-control:last-child {
  margin-bottom: 0;
}

/* SVN AI Writer v0.8.50 - Edge-style crop editor */
.svnaiw-crop-modal {
  position: fixed;
  inset: 0;
  z-index: 1000002;
}
.svnaiw-crop-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .62);
}
.svnaiw-crop-modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 56px));
  max-height: calc(100vh - 64px);
  overflow: auto;
  margin: 32px auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .28);
  padding: 18px;
}
.svnaiw-crop-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.svnaiw-crop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 340px;
  gap: 18px;
}
.svnaiw-crop-stage {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svnaiw-crop-stage img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transform-origin: center center;
}
.svnaiw-crop-stage-16-9 { aspect-ratio: 16 / 9; min-height: auto; }
.svnaiw-crop-stage-4-3 { aspect-ratio: 4 / 3; min-height: auto; }
.svnaiw-crop-stage-1-1 { aspect-ratio: 1 / 1; min-height: auto; }
.svnaiw-crop-stage-16-9 img,
.svnaiw-crop-stage-4-3 img,
.svnaiw-crop-stage-1-1 img { object-fit: cover; }
.svnaiw-crop-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svnaiw-crop-controls label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}
.svnaiw-crop-controls input[type="range"] {
  width: 100%;
}
.svnaiw-crop-inline-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.svnaiw-image-crop-frame {
  display: block;
  overflow: hidden;
  border-radius: 8px;
}
.svnaiw-image-crop-frame img {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: center center;
}
.svnaiw-image-crop-16-9 .svnaiw-image-crop-frame { aspect-ratio: 16 / 9; }
.svnaiw-image-crop-4-3 .svnaiw-image-crop-frame { aspect-ratio: 4 / 3; }
.svnaiw-image-crop-1-1 .svnaiw-image-crop-frame { aspect-ratio: 1 / 1; }
.svnaiw-image-crop-16-9 .svnaiw-image-crop-frame img,
.svnaiw-image-crop-4-3 .svnaiw-image-crop-frame img,
.svnaiw-image-crop-1-1 .svnaiw-image-crop-frame img {
  height: 100%;
  object-fit: cover;
}
@media (max-width: 782px) {
  .svnaiw-crop-layout { grid-template-columns: 1fr; }
  .svnaiw-crop-modal-panel { width: calc(100vw - 24px); margin: 12px auto; }
}

/* SVN AI Writer v0.8.50 - Edge-style crop editor */
.svnaiw-crop-edge {
  background: #1f1f1f;
  color: #f8fafc;
  z-index: 1000003;
}
.svnaiw-crop-edge-panel {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: 48px minmax(0, 1fr) 116px;
  background: #1f1f1f;
  color: #f8fafc;
}
.svnaiw-crop-edge-topbar,
.svnaiw-crop-edge-bottombar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  background: #242424;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.svnaiw-crop-edge-bottombar {
  border-bottom: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  justify-content: center;
  gap: 28px;
}
.svnaiw-crop-edge-left,
.svnaiw-crop-edge-right,
.svnaiw-crop-edge-tabs,
.svnaiw-crop-edge-sliders,
.svnaiw-crop-edge-tools,
.svnaiw-crop-ratio-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}
.svnaiw-crop-edge-left,
.svnaiw-crop-edge-right { min-width: 260px; }
.svnaiw-crop-edge-right { justify-content: flex-end; margin-left: auto; }
.svnaiw-crop-edge-tabs { margin: 0 auto; }
.svnaiw-crop-edge-tabs span {
  padding: 14px 8px 12px;
  color: #cbd5e1;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  font-size: 13px;
}
.svnaiw-crop-edge-tabs span.is-active {
  color: #fff;
  border-bottom-color: #60a5fa;
}
.svnaiw-crop-edge-sep {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.16);
  display: inline-block;
}
.svnaiw-crop-edge-workspace {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  background: #1b1b1b;
}
.svnaiw-crop-edge-stage-wrap {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px;
  overflow: auto;
}
.svnaiw-crop-edge-stage {
  position: relative;
  width: min(86vw, 1120px);
  max-height: calc(100vh - 232px);
  min-height: 0;
  background: #0f0f0f;
  border: 2px solid rgba(255,255,255,.82);
  border-radius: 0;
  box-shadow: 0 0 0 9999px rgba(0,0,0,.32), 0 18px 60px rgba(0,0,0,.45);
  overflow: hidden;
}
.svnaiw-crop-edge-stage.svnaiw-crop-stage-auto {
  aspect-ratio: 16 / 9;
}
.svnaiw-crop-edge-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none !important;
  transform-origin: center center;
}
.svnaiw-crop-handle,
.svnaiw-crop-corner {
  position: absolute;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.16);
  z-index: 2;
  pointer-events: none;
}
.svnaiw-crop-handle-n,
.svnaiw-crop-handle-s {
  left: 50%;
  width: 34px;
  height: 4px;
  transform: translateX(-50%);
}
.svnaiw-crop-handle-n { top: -2px; }
.svnaiw-crop-handle-s { bottom: -2px; }
.svnaiw-crop-handle-e,
.svnaiw-crop-handle-w {
  top: 50%;
  width: 4px;
  height: 34px;
  transform: translateY(-50%);
}
.svnaiw-crop-handle-e { right: -2px; }
.svnaiw-crop-handle-w { left: -2px; }
.svnaiw-crop-corner { width: 18px; height: 18px; background: transparent; }
.svnaiw-crop-corner-tl { left: -2px; top: -2px; border-left: 4px solid #fff; border-top: 4px solid #fff; }
.svnaiw-crop-corner-tr { right: -2px; top: -2px; border-right: 4px solid #fff; border-top: 4px solid #fff; }
.svnaiw-crop-corner-bl { left: -2px; bottom: -2px; border-left: 4px solid #fff; border-bottom: 4px solid #fff; }
.svnaiw-crop-corner-br { right: -2px; bottom: -2px; border-right: 4px solid #fff; border-bottom: 4px solid #fff; }
.svnaiw-crop-edge-sidebar {
  border-left: 1px solid rgba(255,255,255,.08);
  padding: 18px;
  background: #222;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svnaiw-crop-edge-sidebar .components-base-control__label,
.svnaiw-crop-edge-sidebar label,
.svnaiw-crop-edge-note { color: #cbd5e1 !important; }
.svnaiw-crop-edge-sidebar input,
.svnaiw-crop-edge-sidebar textarea,
.svnaiw-crop-edge-sidebar select { background: #111827 !important; color: #f8fafc !important; border-color: rgba(255,255,255,.18) !important; }
.svnaiw-crop-edge-note {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 10px;
  font-size: 12px;
  line-height: 1.5;
  margin: 4px 0 0;
}
.svnaiw-crop-ratio-pills button {
  background: #2d2d2d;
  border: 1px solid rgba(255,255,255,.16);
  color: #e5e7eb;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
}
.svnaiw-crop-ratio-pills button.is-active {
  background: #2563eb;
  border-color: #60a5fa;
  color: #fff;
}
.svnaiw-crop-edge-sliders label {
  color: #cbd5e1;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.svnaiw-crop-edge-sliders input[type="range"] { width: 140px; }
@media (max-width: 960px) {
  .svnaiw-crop-edge-workspace { grid-template-columns: 1fr; }
  .svnaiw-crop-edge-sidebar { display: none; }
  .svnaiw-crop-edge-left, .svnaiw-crop-edge-right { min-width: auto; }
  .svnaiw-crop-edge-tabs span:not(.is-active) { display: none; }
  .svnaiw-crop-edge-bottombar { overflow-x: auto; justify-content: flex-start; }
}

/* v0.8.53: lift crop editor bottom toolbar above the WordPress bottom chrome. */
.svnaiw-crop-edge-panel {
  z-index: 1000008;
}
.svnaiw-crop-edge-topbar {
  position: relative;
  z-index: 3;
}
.svnaiw-crop-edge-bottombar {
  position: relative;
  z-index: 4;
  justify-content: space-between;
  align-self: start;
  min-height: 56px;
  margin: 12px 16px 48px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}
.svnaiw-crop-edge-tools {
  margin-left: auto;
}
.svnaiw-crop-use-button {
  min-width: 136px;
  justify-content: center;
}
@media (max-width: 1200px) {
  .svnaiw-crop-edge-bottombar { gap: 14px; }
  .svnaiw-crop-edge-sliders input[type="range"] { width: 110px; }
}

/* ===== SVNAIW STEP FLOW v0.8.56 ===== */
.entry-content .svnaiw-steps-flow,
.editor-styles-wrapper .svnaiw-steps-flow {
  margin: 34px 0;
}

.entry-content .svnaiw-steps-flow .svnaiw-steps-heading,
.editor-styles-wrapper .svnaiw-steps-flow .svnaiw-steps-heading {
  margin: 0 0 18px;
}

.entry-content .svnaiw-steps-list,
.editor-styles-wrapper .svnaiw-steps-list {
  display: grid;
  gap: 14px;
}

.entry-content .svnaiw-steps-horizontal .svnaiw-steps-list,
.editor-styles-wrapper .svnaiw-steps-horizontal .svnaiw-steps-list {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.entry-content .svnaiw-steps-vertical .svnaiw-steps-list,
.editor-styles-wrapper .svnaiw-steps-vertical .svnaiw-steps-list {
  grid-template-columns: 1fr;
}

.entry-content .svnaiw-step-card,
.editor-styles-wrapper .svnaiw-step-card {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 112px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.entry-content .svnaiw-steps-vertical .svnaiw-step-card,
.editor-styles-wrapper .svnaiw-steps-vertical .svnaiw-step-card {
  min-height: 0;
}

.entry-content .svnaiw-step-number,
.editor-styles-wrapper .svnaiw-step-number {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.entry-content .svnaiw-step-body,
.editor-styles-wrapper .svnaiw-step-body {
  min-width: 0;
}

.entry-content .svnaiw-step-title,
.editor-styles-wrapper .svnaiw-step-title {
  margin: 2px 0 6px !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 700;
}

.entry-content .svnaiw-step-content,
.editor-styles-wrapper .svnaiw-step-content {
  margin: 0 !important;
  color: #475569;
  font-size: 14px;
  line-height: 1.62;
}

.editor-styles-wrapper .svnaiw-step-actions,
.editor-styles-wrapper .svnaiw-steps-add {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 760px) {
  .entry-content .svnaiw-steps-horizontal .svnaiw-steps-list,
  .editor-styles-wrapper .svnaiw-steps-horizontal .svnaiw-steps-list {
    grid-template-columns: 1fr;
  }
}


/* ===== SVNAIW STEP FLOW v0.8.57 SMART LAYOUT ===== */
.entry-content .svnaiw-steps-vertical .svnaiw-steps-list,
.editor-styles-wrapper .svnaiw-steps-vertical .svnaiw-steps-list {
  gap: 0;
  border-left: 1px solid #e5e7eb;
  margin-left: 15px;
}

.entry-content .svnaiw-steps-vertical .svnaiw-step-card,
.editor-styles-wrapper .svnaiw-steps-vertical .svnaiw-step-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0 0 22px 28px;
  min-height: 0;
}

.entry-content .svnaiw-steps-vertical .svnaiw-step-card:last-child,
.editor-styles-wrapper .svnaiw-steps-vertical .svnaiw-step-card:last-child {
  padding-bottom: 0;
}

.entry-content .svnaiw-steps-vertical .svnaiw-step-number,
.editor-styles-wrapper .svnaiw-steps-vertical .svnaiw-step-number {
  margin-left: -44px;
  width: 32px;
  height: 32px;
  box-shadow: 0 0 0 6px #fff;
}

.entry-content .svnaiw-steps-vertical .svnaiw-step-title,
.editor-styles-wrapper .svnaiw-steps-vertical .svnaiw-step-title {
  margin-top: 2px !important;
  margin-bottom: 6px !important;
  font-size: 17px !important;
}

.entry-content .svnaiw-steps-vertical .svnaiw-step-content,
.editor-styles-wrapper .svnaiw-steps-vertical .svnaiw-step-content {
  max-width: 720px;
}

/* ===== SVNAIW v0.8.63 FRONTEND POLISH CLEANUP ===== */
.entry-content .svnaiw-image-placeholder-frontend {
  display: none !important;
}

.entry-content .svnaiw-usecase-list,
.editor-styles-wrapper .svnaiw-usecase-list {
  display: block !important;
  list-style: disc !important;
  padding-left: 1.35em !important;
  margin: 12px 0 30px !important;
}
.entry-content .svnaiw-usecase-list .svnaiw-usecase-item,
.editor-styles-wrapper .svnaiw-usecase-list .svnaiw-usecase-item {
  display: list-item !important;
  list-style: disc !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
  line-height: 1.72 !important;
}
.entry-content .svnaiw-usecase-list .svnaiw-usecase-description::before,
.editor-styles-wrapper .svnaiw-usecase-list .svnaiw-usecase-description::before {
  content: none !important;
}
.entry-content .svnaiw-usecase-list .svnaiw-usecase-separator,
.editor-styles-wrapper .svnaiw-usecase-list .svnaiw-usecase-separator {
  color: #6b7280;
  font-weight: 400;
}

.entry-content .svnaiw-steps-flow,
.editor-styles-wrapper .svnaiw-steps-flow {
  margin: 28px 0 32px !important;
}
.entry-content .svnaiw-steps-vertical .svnaiw-steps-list,
.editor-styles-wrapper .svnaiw-steps-vertical .svnaiw-steps-list {
  gap: 0 !important;
  border-left: 1px solid #e5e7eb !important;
  margin-left: 16px !important;
}
.entry-content .svnaiw-steps-vertical .svnaiw-step-card,
.editor-styles-wrapper .svnaiw-steps-vertical .svnaiw-step-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 0 20px 28px !important;
}
.entry-content .svnaiw-steps-vertical .svnaiw-step-number,
.editor-styles-wrapper .svnaiw-steps-vertical .svnaiw-step-number {
  width: 30px !important;
  height: 30px !important;
  margin-left: -44px !important;
  box-shadow: 0 0 0 6px #fff !important;
}
.entry-content .svnaiw-steps-vertical .svnaiw-step-title,
.editor-styles-wrapper .svnaiw-steps-vertical .svnaiw-step-title {
  margin: 2px 0 4px !important;
}
.entry-content .svnaiw-steps-vertical .svnaiw-step-content,
.editor-styles-wrapper .svnaiw-steps-vertical .svnaiw-step-content {
  max-width: 760px !important;
  line-height: 1.62 !important;
}

/* v0.9.77: tune TOC icon size spacing and item limit */
.entry-content details.svnaiw-toc,
.entry-content .svnaiw-toc-box,
.editor-styles-wrapper details.svnaiw-toc,
.editor-styles-wrapper .svnaiw-toc-box {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
    border: 1px solid rgba(148, 163, 184, .34) !important;
    border-radius: 7px !important;
    background: #f4f8fd !important;
    margin: 12px 0 34px !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-shadow: none !important;
}
.entry-content details.svnaiw-toc > summary.svnaiw-toc-title,
.editor-styles-wrapper details.svnaiw-toc > summary.svnaiw-toc-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    cursor: pointer !important;
    list-style: none !important;
    background: transparent !important;
    border-bottom: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
.entry-content details.svnaiw-toc > summary.svnaiw-toc-title::-webkit-details-marker,
.editor-styles-wrapper details.svnaiw-toc > summary.svnaiw-toc-title::-webkit-details-marker {
    display: none !important;
}
.entry-content details.svnaiw-toc > summary.svnaiw-toc-title::marker,
.editor-styles-wrapper details.svnaiw-toc > summary.svnaiw-toc-title::marker {
    content: "" !important;
    display: none !important;
}
.entry-content details.svnaiw-toc[open] > summary.svnaiw-toc-title,
.editor-styles-wrapper details.svnaiw-toc[open] > summary.svnaiw-toc-title {
    border-bottom: 1px solid rgba(148, 163, 184, .28) !important;
}
.entry-content .svnaiw-toc-chevron,
.editor-styles-wrapper .svnaiw-toc-chevron {
    width: 6px !important;
    height: 6px !important;
    flex: 0 0 6px !important;
    border-right: 1.5px solid #0f172a !important;
    border-bottom: 1.5px solid #0f172a !important;
    transform: rotate(45deg) !important;
    transition: transform .16s ease !important;
    margin-top: -2px !important;
}
.entry-content details.svnaiw-toc[open] .svnaiw-toc-chevron,
.editor-styles-wrapper details.svnaiw-toc[open] .svnaiw-toc-chevron {
    transform: rotate(225deg) !important;
    margin-top: 2px !important;
}
.entry-content details.svnaiw-toc > .svnaiw-toc-list,
.editor-styles-wrapper details.svnaiw-toc > .svnaiw-toc-list {
    margin: 0 !important;
    padding: 13px 14px 16px 29px !important;
    background: transparent !important;
}
.entry-content .svnaiw-toc-item,
.editor-styles-wrapper .svnaiw-toc-item {
    margin: 7px 0 !important;
    line-height: 1.55 !important;
    padding-left: 0 !important;
}
.entry-content .svnaiw-toc-item-child,
.editor-styles-wrapper .svnaiw-toc-item-child {
    margin-left: 10px !important;
    font-size: .94em !important;
}
.entry-content .svnaiw-toc a,
.editor-styles-wrapper .svnaiw-toc a {
    color: #1d4ed8 !important;
    text-decoration: none !important;
}
.entry-content .svnaiw-toc a:hover,
.editor-styles-wrapper .svnaiw-toc a:hover {
    text-decoration: underline !important;
}



/* v0.9.81: mixed editorial generated content layout */
.entry-content .svnaiw-visual-split,
.editor-styles-wrapper .svnaiw-visual-split {
  gap: 28px;
  align-items: center;
  margin: 32px 0;
}
.entry-content .svnaiw-visual-split-content,
.editor-styles-wrapper .svnaiw-visual-split-content {
  min-width: 0;
}
.entry-content .svnaiw-visual-split-content > :first-child,
.editor-styles-wrapper .svnaiw-visual-split-content > :first-child {
  margin-top: 0;
}
.entry-content .svnaiw-visual-split-media,
.editor-styles-wrapper .svnaiw-visual-split-media {
  min-width: 0;
}
.entry-content .svnaiw-visual-split-media .svnaiw-image-placeholder,
.entry-content .svnaiw-visual-split-media .svnaiw-image-placeholder-frontend,
.editor-styles-wrapper .svnaiw-visual-split-media .svnaiw-image-placeholder,
.editor-styles-wrapper .svnaiw-visual-split-media .svnaiw-image-placeholder-frontend {
  margin: 0;
  height: 100%;
}
@media (max-width: 781px) {
  .entry-content .svnaiw-visual-split,
  .editor-styles-wrapper .svnaiw-visual-split {
    gap: 18px;
    margin: 26px 0;
  }
}


/* v0.9.82: Generated posts are content-first articles. Hide theme date/author meta
 * only when SVN AI Writer marks/detects the post as generated.
 */
body.single-post.svnaiw-generated-post .entry-header .entry-meta,
body.single-post.svnaiw-generated-post .entry-header .posted-on,
body.single-post.svnaiw-generated-post .entry-header .byline,
body.single-post.svnaiw-generated-post .entry-meta .posted-on,
body.single-post.svnaiw-generated-post .entry-meta .byline {
  display: none !important;
}


/* v0.9.84: Hide GeneratePress/WordPress post meta for generated articles.
 * Some previews do not receive the injected body class early enough, so also
 * detect generated content by the presence of SVN AI Writer blocks.
 */
body.single-post.svnaiw-generated-post .entry-meta,
body.single-post.svnaiw-generated-post .posted-on,
body.single-post.svnaiw-generated-post .byline,
body.single-post.svnaiw-generated-post .cat-links,
body.single-post.svnaiw-generated-post .tags-links,
body.single-post:has(.svnaiw-toc) .entry-meta,
body.single-post:has(.svnaiw-toc) .posted-on,
body.single-post:has(.svnaiw-toc) .byline,
body.single-post:has(.svnaiw-toc) .cat-links,
body.single-post:has(.svnaiw-toc) .tags-links,
body.single-post:has(.svnaiw-article) .entry-meta,
body.single-post:has(.svnaiw-article) .posted-on,
body.single-post:has(.svnaiw-article) .byline,
body.single-post:has(.svnaiw-article) .cat-links,
body.single-post:has(.svnaiw-article) .tags-links {
  display: none !important;
}

/* v0.9.86: software editorial article layout */
.entry-content .svnaiw-software-hero,
.editor-styles-wrapper .svnaiw-software-hero {
  display: grid;
  grid-template-columns: minmax(220px, 42%) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  margin: 22px 0 22px;
}
.entry-content .svnaiw-software-visual,
.editor-styles-wrapper .svnaiw-software-visual,
.entry-content .svnaiw-software-hero-copy,
.editor-styles-wrapper .svnaiw-software-hero-copy,
.entry-content .svnaiw-sidebar-card,
.editor-styles-wrapper .svnaiw-sidebar-card {
  border: 1px solid #d7e3f3;
  border-radius: 14px;
  background: #fff;
}
.entry-content .svnaiw-software-visual,
.editor-styles-wrapper .svnaiw-software-visual {
  padding: 16px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.entry-content .svnaiw-software-visual-main,
.editor-styles-wrapper .svnaiw-software-visual-main {
  min-height: 210px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 20%, #eaf3ff, #f7f9fc 45%, #eef4fb);
  border: 1px solid #e1e9f5;
}
.entry-content .svnaiw-software-visual-main span,
.editor-styles-wrapper .svnaiw-software-visual-main span {
  font-size: 72px;
  line-height: 1;
  font-weight: 750;
  color: #2563eb;
  opacity: .86;
}
.entry-content .svnaiw-software-thumbs,
.editor-styles-wrapper .svnaiw-software-thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.entry-content .svnaiw-software-thumbs span,
.editor-styles-wrapper .svnaiw-software-thumbs span {
  width: 34px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid #d7e3f3;
  background: #f4f8fd;
}
.entry-content .svnaiw-software-hero-copy,
.editor-styles-wrapper .svnaiw-software-hero-copy {
  padding: 24px 26px;
  background: #fff;
}
.entry-content .svnaiw-software-kicker,
.editor-styles-wrapper .svnaiw-software-kicker {
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
  color: #f25a2a;
}
.entry-content .svnaiw-software-lead,
.editor-styles-wrapper .svnaiw-software-lead {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.75;
  color: #1f2937;
}
.entry-content .svnaiw-software-highlights,
.editor-styles-wrapper .svnaiw-software-highlights {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.entry-content .svnaiw-software-highlights li,
.editor-styles-wrapper .svnaiw-software-highlights li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.55;
}
.entry-content .svnaiw-software-highlights li::before,
.editor-styles-wrapper .svnaiw-software-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-weight: 800;
}
.entry-content .svnaiw-software-actions,
.editor-styles-wrapper .svnaiw-software-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.entry-content .svnaiw-btn-primary,
.editor-styles-wrapper .svnaiw-btn-primary,
.entry-content .svnaiw-btn-secondary,
.editor-styles-wrapper .svnaiw-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}
.entry-content .svnaiw-btn-primary,
.editor-styles-wrapper .svnaiw-btn-primary { background: #f15a24; color: #fff !important; border: 1px solid #f15a24; }
.entry-content .svnaiw-btn-secondary,
.editor-styles-wrapper .svnaiw-btn-secondary { background: #fff; color: #0f4c81 !important; border: 1px solid #bfd4ea; }
.entry-content .svnaiw-software-mini-specs,
.editor-styles-wrapper .svnaiw-software-mini-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
}
.entry-content .svnaiw-software-mini-specs div,
.editor-styles-wrapper .svnaiw-software-mini-specs div {
  padding: 10px;
  border-radius: 10px;
  background: #f8fbff;
  border: 1px solid #e4edf7;
}
.entry-content .svnaiw-software-mini-specs dt,
.editor-styles-wrapper .svnaiw-software-mini-specs dt,
.entry-content .svnaiw-sidebar-specs dt,
.editor-styles-wrapper .svnaiw-sidebar-specs dt {
  margin: 0 0 4px;
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #64748b;
  font-weight: 800;
}
.entry-content .svnaiw-software-mini-specs dd,
.editor-styles-wrapper .svnaiw-software-mini-specs dd,
.entry-content .svnaiw-sidebar-specs dd,
.editor-styles-wrapper .svnaiw-sidebar-specs dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #0f172a;
  font-weight: 700;
}
.entry-content .svnaiw-editorial-layout,
.editor-styles-wrapper .svnaiw-editorial-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 68%) minmax(230px, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 20px;
}
.entry-content .svnaiw-editorial-layout > .wp-block-column,
.editor-styles-wrapper .svnaiw-editorial-layout > .wp-block-column { flex-basis: auto !important; }
.entry-content .svnaiw-editorial-maincol,
.editor-styles-wrapper .svnaiw-editorial-maincol {
  min-width: 0;
}
.entry-content .svnaiw-software-sidebar,
.editor-styles-wrapper .svnaiw-software-sidebar {
  position: sticky;
  top: 32px;
  display: grid;
  gap: 14px;
}
.entry-content .svnaiw-sidebar-card,
.editor-styles-wrapper .svnaiw-sidebar-card {
  padding: 16px;
  background: #fff;
}
.entry-content .svnaiw-sidebar-card h3,
.editor-styles-wrapper .svnaiw-sidebar-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.25;
}
.entry-content .svnaiw-sidebar-specs,
.editor-styles-wrapper .svnaiw-sidebar-specs {
  display: grid;
  gap: 12px;
  margin: 0;
}
.entry-content .svnaiw-sidebar-cta,
.editor-styles-wrapper .svnaiw-sidebar-cta {
  background: #fff7ed;
  border-color: #fed7aa;
}
.entry-content .svnaiw-sidebar-cta p,
.editor-styles-wrapper .svnaiw-sidebar-cta p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
}
.entry-content .svnaiw-sidebar-toc .svnaiw-toc,
.editor-styles-wrapper .svnaiw-sidebar-toc .svnaiw-toc {
  margin: 0;
  border: 0;
  background: transparent;
}
.entry-content .svnaiw-sidebar-toc .svnaiw-toc-title,
.editor-styles-wrapper .svnaiw-sidebar-toc .svnaiw-toc-title { padding: 0 0 10px; }
@media (max-width: 900px) {
  .entry-content .svnaiw-software-hero,
  .editor-styles-wrapper .svnaiw-software-hero,
  .entry-content .svnaiw-editorial-layout,
  .editor-styles-wrapper .svnaiw-editorial-layout {
    grid-template-columns: 1fr;
  }
  .entry-content .svnaiw-software-sidebar,
  .editor-styles-wrapper .svnaiw-software-sidebar { position: static; }
}
@media (max-width: 640px) {
  .entry-content .svnaiw-software-hero-copy,
  .editor-styles-wrapper .svnaiw-software-hero-copy { padding: 18px; }
  .entry-content .svnaiw-software-mini-specs,
  .editor-styles-wrapper .svnaiw-software-mini-specs { grid-template-columns: 1fr; }
}

/* v0.9.87: compact hero density + sticky sidebar TOC refinement */
.entry-content .svnaiw-software-hero,
.editor-styles-wrapper .svnaiw-software-hero {
  grid-template-columns: minmax(210px, 40%) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: 16px 0 18px;
}
.entry-content .svnaiw-software-visual,
.editor-styles-wrapper .svnaiw-software-visual {
  padding: 12px;
  border-radius: 12px;
}
.entry-content .svnaiw-software-visual-main,
.editor-styles-wrapper .svnaiw-software-visual-main {
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
}
.entry-content .svnaiw-software-visual-main span,
.editor-styles-wrapper .svnaiw-software-visual-main span {
  font-size: 54px;
}
.entry-content .svnaiw-software-thumbs,
.editor-styles-wrapper .svnaiw-software-thumbs {
  gap: 6px;
  margin-top: 9px;
}
.entry-content .svnaiw-software-thumbs span,
.editor-styles-wrapper .svnaiw-software-thumbs span {
  width: 28px;
  height: 22px;
  border-radius: 6px;
}
.entry-content .svnaiw-software-hero-copy,
.editor-styles-wrapper .svnaiw-software-hero-copy {
  padding: 20px 22px;
  border-radius: 12px;
}
.entry-content .svnaiw-software-kicker,
.editor-styles-wrapper .svnaiw-software-kicker {
  margin-bottom: 8px;
  font-size: 10px;
}
.entry-content .svnaiw-software-lead,
.editor-styles-wrapper .svnaiw-software-lead {
  margin-bottom: 12px;
  font-size: 15.5px;
  line-height: 1.65;
}
.entry-content .svnaiw-software-highlights,
.editor-styles-wrapper .svnaiw-software-highlights {
  gap: 6px;
  margin-bottom: 14px;
}
.entry-content .svnaiw-software-highlights li,
.editor-styles-wrapper .svnaiw-software-highlights li {
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.45;
}
.entry-content .svnaiw-software-actions,
.editor-styles-wrapper .svnaiw-software-actions {
  margin: 12px 0 0;
}
.entry-content .svnaiw-btn-primary,
.editor-styles-wrapper .svnaiw-btn-primary,
.entry-content .svnaiw-btn-secondary,
.editor-styles-wrapper .svnaiw-btn-secondary {
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 7px;
  font-size: 12.5px;
}
.entry-content .svnaiw-software-mini-specs,
.editor-styles-wrapper .svnaiw-software-mini-specs {
  gap: 8px;
  margin-top: 12px;
}
.entry-content .svnaiw-software-mini-specs div,
.editor-styles-wrapper .svnaiw-software-mini-specs div {
  padding: 8px;
  border-radius: 8px;
}
.entry-content .svnaiw-editorial-layout,
.editor-styles-wrapper .svnaiw-editorial-layout {
  grid-template-columns: minmax(0, 72%) minmax(220px, 1fr);
  gap: 22px;
  margin-top: 16px;
}
.entry-content .svnaiw-software-sidebar,
.editor-styles-wrapper .svnaiw-software-sidebar {
  top: 24px;
  gap: 12px;
}
.entry-content .svnaiw-sidebar-card,
.editor-styles-wrapper .svnaiw-sidebar-card {
  padding: 14px;
  border-radius: 12px;
  border-color: #dce7f5;
}
.entry-content .svnaiw-sidebar-card h3,
.editor-styles-wrapper .svnaiw-sidebar-card h3 {
  margin-bottom: 10px;
  font-size: 15px;
}
.entry-content .svnaiw-sidebar-specs,
.editor-styles-wrapper .svnaiw-sidebar-specs {
  gap: 10px;
}
.entry-content .svnaiw-sidebar-specs dt,
.editor-styles-wrapper .svnaiw-sidebar-specs dt {
  font-size: 9.5px;
}
.entry-content .svnaiw-sidebar-specs dd,
.editor-styles-wrapper .svnaiw-sidebar-specs dd {
  font-size: 12.5px;
  line-height: 1.4;
}
.entry-content .svnaiw-sidebar-cta p,
.editor-styles-wrapper .svnaiw-sidebar-cta p {
  font-size: 12.5px;
  line-height: 1.45;
}
.entry-content .svnaiw-sidebar-toc .svnaiw-toc-title,
.editor-styles-wrapper .svnaiw-sidebar-toc .svnaiw-toc-title {
  padding: 0 0 8px;
  font-size: 13px;
}
.entry-content .svnaiw-sidebar-toc .svnaiw-toc-list,
.editor-styles-wrapper .svnaiw-sidebar-toc .svnaiw-toc-list {
  margin-top: 8px;
}
.entry-content .svnaiw-sidebar-toc .svnaiw-toc-item,
.editor-styles-wrapper .svnaiw-sidebar-toc .svnaiw-toc-item {
  margin: 7px 0;
  line-height: 1.42;
}
@media (max-width: 900px) {
  .entry-content .svnaiw-software-hero,
  .editor-styles-wrapper .svnaiw-software-hero,
  .entry-content .svnaiw-editorial-layout,
  .editor-styles-wrapper .svnaiw-editorial-layout {
    grid-template-columns: 1fr;
  }
  .entry-content .svnaiw-software-sidebar,
  .editor-styles-wrapper .svnaiw-software-sidebar {
    position: static;
  }
}

/* v0.9.88: hide sidebar TOC and equalize hero columns */
.entry-content .svnaiw-sidebar-toc,
.editor-styles-wrapper .svnaiw-sidebar-toc {
  display: none !important;
}
.entry-content .svnaiw-software-hero,
.editor-styles-wrapper .svnaiw-software-hero {
  align-items: stretch;
}
.entry-content .svnaiw-software-visual,
.editor-styles-wrapper .svnaiw-software-visual,
.entry-content .svnaiw-software-hero-copy,
.editor-styles-wrapper .svnaiw-software-hero-copy {
  height: 100%;
  box-sizing: border-box;
}
.entry-content .svnaiw-software-visual,
.editor-styles-wrapper .svnaiw-software-visual {
  display: flex;
  flex-direction: column;
}
.entry-content .svnaiw-software-visual-main,
.editor-styles-wrapper .svnaiw-software-visual-main {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 220px;
}
.entry-content .svnaiw-software-thumbs,
.editor-styles-wrapper .svnaiw-software-thumbs {
  flex: 0 0 auto;
}
.entry-content .svnaiw-editorial-layout,
.editor-styles-wrapper .svnaiw-editorial-layout {
  margin-top: 18px;
}
@media (max-width: 900px) {
  .entry-content .svnaiw-software-visual,
  .editor-styles-wrapper .svnaiw-software-visual,
  .entry-content .svnaiw-software-hero-copy,
  .editor-styles-wrapper .svnaiw-software-hero-copy {
    height: auto;
  }
  .entry-content .svnaiw-software-visual-main,
  .editor-styles-wrapper .svnaiw-software-visual-main {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}


/* v0.9.89: sidebar quick-spec card before quote CTA */
.entry-content .svnaiw-sidebar-quick-spec,
.editor-styles-wrapper .svnaiw-sidebar-quick-spec {
  background: #fff;
}
.entry-content .svnaiw-sidebar-quick-spec + .svnaiw-sidebar-cta,
.editor-styles-wrapper .svnaiw-sidebar-quick-spec + .svnaiw-sidebar-cta {
  margin-top: 0;
}
.entry-content .svnaiw-sidebar-quick-spec .svnaiw-sidebar-specs,
.editor-styles-wrapper .svnaiw-sidebar-quick-spec .svnaiw-sidebar-specs {
  display: grid;
  gap: 9px;
}
.entry-content .svnaiw-sidebar-quick-spec .svnaiw-sidebar-specs div,
.editor-styles-wrapper .svnaiw-sidebar-quick-spec .svnaiw-sidebar-specs div {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(148, 163, 184, .22);
}
.entry-content .svnaiw-sidebar-quick-spec .svnaiw-sidebar-specs div:last-child,
.editor-styles-wrapper .svnaiw-sidebar-quick-spec .svnaiw-sidebar-specs div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
