﻿/* SEO ANSWER PAGE STYLES
   Loaded after /styles.css by pages under /seo/.
   Keep SEO/answer-page-specific layout and lightbox rules here. */

/* ANSWER PAGES */

.answer-page-body {
  background:
    radial-gradient(circle at top, rgba(79, 140, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #070a11 0%, #050509 72%);
}

.answer-page {
  padding: 44px 0 72px;
}

.answer-container {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 16px;
}

.answer-hero {
  padding: 14px 0 10px;
}

.answer-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.answer-breadcrumb a:hover {
  color: var(--text);
}

.answer-kicker {
  margin: 0 0 12px;
  color: #93c5fd;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.answer-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: 38px;
  line-height: 1.12;
}

.answer-short {
  margin: 28px 0 0;
  padding: 20px 22px;
  border: 1px solid rgba(79, 140, 255, 0.28);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(79, 140, 255, 0.18), transparent 36%),
    rgba(12, 19, 34, 0.78);
  box-shadow: var(--shadow-soft);
}

.answer-short h2,
.answer-section h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.24;
}

.answer-short p,
.answer-section p,
.answer-section li,
.answer-table td,
.answer-table th {
  font-size: 15px;
  line-height: 1.7;
}

.answer-short p,
.answer-section p {
  color: #d7deec;
}

.answer-short p:last-child,
.answer-section p:last-child,
.answer-callout p:last-child,
.answer-example p:last-child,
.answer-faq article p:last-child,
.answer-cta p:last-child {
  margin-bottom: 0;
}

.answer-section {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.answer-table {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
}

.answer-table table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.answer-table th,
.answer-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.answer-table th {
  color: #93c5fd;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.025);
}

.answer-table tr:last-child td {
  border-bottom: 0;
}

.answer-callout,
.answer-example,
.answer-proof-card,
.answer-comparison,
.answer-cta {
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
}

.answer-callout {
  border-left: 4px solid #fb923c;
}

.answer-example {
  border-color: rgba(79, 140, 255, 0.18);
}

.answer-proof {
  display: grid;
  gap: 16px;
}

.answer-proof-grid,
.answer-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.answer-proof-card {
  padding: 14px;
}

.answer-figure {
  margin: 0;
}

.answer-proof-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.answer-figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.answer-page-fix-formatting .answer-comparison-compact {
  padding: 16px;
  background: transparent;
}

.answer-page-fix-formatting .answer-comparison-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.answer-page-fix-formatting .answer-comparison-link {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.22);
  border-radius: 12px;
  background: transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.answer-page-fix-formatting .answer-comparison-link:hover {
  transform: translateY(-1px);
  border-color: rgba(251, 146, 60, 0.42);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.answer-page-fix-formatting .answer-comparison-link:focus-visible {
  outline: 2px solid rgba(251, 146, 60, 0.9);
  outline-offset: 4px;
}

.answer-page-fix-formatting .answer-comparison-link img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.answer-page-fix-formatting .fix-proof-image-card {
  background: transparent;
}

.answer-page-fix-formatting #output-proof .answer-proof-card {
  background: transparent;
}

.answer-page-fix-formatting .answer-output-image-link {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.22);
  border-radius: 12px;
  background: transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.answer-page-fix-formatting .answer-output-image-link:hover {
  transform: translateY(-1px);
  border-color: rgba(251, 146, 60, 0.42);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.answer-page-fix-formatting .answer-output-image-link:focus-visible {
  outline: 2px solid rgba(251, 146, 60, 0.9);
  outline-offset: 4px;
}

.answer-page-fix-formatting .answer-output-image-link img,
.answer-page-fix-formatting #output-proof .answer-proof-image {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.answer-page-fix-formatting .fix-proof-lightbox {
  position: fixed;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.answer-page-fix-formatting .fix-proof-lightbox.is-open {
  display: flex;
}

.answer-page-fix-formatting .fix-proof-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(79, 140, 255, 0.14), transparent 28%),
    rgba(5, 5, 9, 0.94);
}

.answer-page-fix-formatting .fix-proof-lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 96vw);
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}

.answer-page-fix-formatting .fix-proof-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: transparent;
  border-radius: 12px;
}

.answer-page-fix-formatting .fix-proof-lightbox-back {
  margin-top: 16px;
  border: 1px solid rgba(251, 146, 60, 0.36);
  border-radius: 999px;
  background: rgba(5, 5, 9, 0.92);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  min-width: 112px;
  padding: 10px 18px;
}

.answer-page-fix-formatting .fix-proof-lightbox-back:hover,
.answer-page-fix-formatting .fix-proof-lightbox-back:focus-visible {
  border-color: rgba(251, 146, 60, 0.7);
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.16);
}

.answer-page-chatgpt-pdf #output-proof .answer-proof-card {
  background: transparent;
}

.answer-page-chatgpt-pdf .pdf-output-image-link {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.22);
  border-radius: 12px;
  background: transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.answer-page-chatgpt-pdf .pdf-output-image-link:hover {
  transform: translateY(-1px);
  border-color: rgba(251, 146, 60, 0.42);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.answer-page-chatgpt-pdf .pdf-output-image-link:focus-visible {
  outline: 2px solid rgba(251, 146, 60, 0.9);
  outline-offset: 4px;
}

.answer-page-chatgpt-pdf .pdf-output-image-link img,
.answer-page-chatgpt-pdf #output-proof .answer-proof-image {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.answer-page-chatgpt-pdf .pdf-output-lightbox {
  position: fixed;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.answer-page-chatgpt-pdf .pdf-output-lightbox.is-open {
  display: flex;
}

.answer-page-chatgpt-pdf .pdf-output-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(79, 140, 255, 0.14), transparent 28%),
    rgba(5, 5, 9, 0.94);
}

.answer-page-chatgpt-pdf .pdf-output-lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 96vw);
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}

.answer-page-chatgpt-pdf .pdf-output-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: transparent;
  border-radius: 12px;
}

.answer-page-chatgpt-pdf .pdf-output-lightbox-back {
  margin-top: 16px;
  border: 1px solid rgba(251, 146, 60, 0.36);
  border-radius: 999px;
  background: rgba(5, 5, 9, 0.92);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  min-width: 112px;
  padding: 10px 18px;
}

.answer-page-chatgpt-pdf .pdf-output-lightbox-back:hover,
.answer-page-chatgpt-pdf .pdf-output-lightbox-back:focus-visible {
  border-color: rgba(251, 146, 60, 0.7);
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.16);
}

.answer-page-chatgpt-docx #output-proof .answer-proof-card,
.answer-page-chatgpt-docx #comparison-proof .answer-figure {
  background: transparent;
}

.answer-page-chatgpt-docx #comparison-proof .answer-comparison-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.answer-page-chatgpt-docx .docx-proof-image-link {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.22);
  border-radius: 12px;
  background: transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.answer-page-chatgpt-docx .docx-proof-image-link:hover {
  transform: translateY(-1px);
  border-color: rgba(251, 146, 60, 0.42);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.answer-page-chatgpt-docx .docx-proof-image-link:focus-visible {
  outline: 2px solid rgba(251, 146, 60, 0.9);
  outline-offset: 4px;
}

.answer-page-chatgpt-docx .docx-proof-image-link img,
.answer-page-chatgpt-docx #output-proof .answer-proof-image,
.answer-page-chatgpt-docx #comparison-proof .answer-proof-image {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.answer-page-chatgpt-docx .docx-proof-lightbox {
  position: fixed;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.answer-page-chatgpt-docx .docx-proof-lightbox.is-open {
  display: flex;
}

.answer-page-chatgpt-docx .docx-proof-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(79, 140, 255, 0.14), transparent 28%),
    rgba(5, 5, 9, 0.94);
}

.answer-page-chatgpt-docx .docx-proof-lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 96vw);
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}

.answer-page-chatgpt-docx .docx-proof-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: transparent;
  border-radius: 12px;
}

.answer-page-chatgpt-docx .docx-proof-lightbox-back {
  margin-top: 16px;
  border: 1px solid rgba(251, 146, 60, 0.36);
  border-radius: 999px;
  background: rgba(5, 5, 9, 0.92);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  min-width: 112px;
  padding: 10px 18px;
}

.answer-page-chatgpt-docx .docx-proof-lightbox-back:hover,
.answer-page-chatgpt-docx .docx-proof-lightbox-back:focus-visible {
  border-color: rgba(251, 146, 60, 0.7);
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.16);
}

.answer-page-chatgpt-word #output-proof .answer-proof-card,
.answer-page-chatgpt-word #comparison-proof .answer-figure {
  background: transparent;
}

.answer-page-chatgpt-word #comparison-proof .answer-comparison-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.answer-page-chatgpt-word .word-proof-image-link {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.22);
  border-radius: 12px;
  background: transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.answer-page-chatgpt-word .word-proof-image-link:hover {
  transform: translateY(-1px);
  border-color: rgba(251, 146, 60, 0.42);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.answer-page-chatgpt-word .word-proof-image-link:focus-visible {
  outline: 2px solid rgba(251, 146, 60, 0.9);
  outline-offset: 4px;
}

.answer-page-chatgpt-word .word-proof-image-link img,
.answer-page-chatgpt-word #output-proof .answer-proof-image,
.answer-page-chatgpt-word #comparison-proof .answer-proof-image {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.answer-page-chatgpt-word .word-proof-lightbox {
  position: fixed;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.answer-page-chatgpt-word .word-proof-lightbox.is-open {
  display: flex;
}

.answer-page-chatgpt-word .word-proof-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(79, 140, 255, 0.14), transparent 28%),
    rgba(5, 5, 9, 0.94);
}

.answer-page-chatgpt-word .word-proof-lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 96vw);
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}

.answer-page-chatgpt-word .word-proof-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: transparent;
  border-radius: 12px;
}

.answer-page-chatgpt-word .word-proof-lightbox-back {
  margin-top: 16px;
  border: 1px solid rgba(251, 146, 60, 0.36);
  border-radius: 999px;
  background: rgba(5, 5, 9, 0.92);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  min-width: 112px;
  padding: 10px 18px;
}

.answer-page-chatgpt-word .word-proof-lightbox-back:hover,
.answer-page-chatgpt-word .word-proof-lightbox-back:focus-visible {
  border-color: rgba(251, 146, 60, 0.7);
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.16);
}

.answer-page-chatgpt-tables-word #output-proof .answer-proof-card,
.answer-page-chatgpt-tables-word #comparison-proof .answer-figure {
  background: transparent;
}

.answer-page-chatgpt-tables-word #comparison-proof .answer-comparison-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.answer-page-chatgpt-tables-word .tables-proof-image-link {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.22);
  border-radius: 12px;
  background: transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.answer-page-chatgpt-tables-word .tables-proof-image-link:hover {
  transform: translateY(-1px);
  border-color: rgba(251, 146, 60, 0.42);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.answer-page-chatgpt-tables-word .tables-proof-image-link:focus-visible {
  outline: 2px solid rgba(251, 146, 60, 0.9);
  outline-offset: 4px;
}

.answer-page-chatgpt-tables-word .tables-proof-image-link img,
.answer-page-chatgpt-tables-word #output-proof .answer-proof-image,
.answer-page-chatgpt-tables-word #comparison-proof .answer-proof-image {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.answer-page-chatgpt-tables-word .tables-proof-lightbox {
  position: fixed;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.answer-page-chatgpt-tables-word .tables-proof-lightbox.is-open {
  display: flex;
}

.answer-page-chatgpt-tables-word .tables-proof-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(79, 140, 255, 0.14), transparent 28%),
    rgba(5, 5, 9, 0.94);
}

.answer-page-chatgpt-tables-word .tables-proof-lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 96vw);
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}

.answer-page-chatgpt-tables-word .tables-proof-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: transparent;
  border-radius: 12px;
}

.answer-page-chatgpt-tables-word .tables-proof-lightbox-back {
  margin-top: 16px;
  border: 1px solid rgba(251, 146, 60, 0.36);
  border-radius: 999px;
  background: rgba(5, 5, 9, 0.92);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  min-width: 112px;
  padding: 10px 18px;
}

.answer-page-chatgpt-tables-word .tables-proof-lightbox-back:hover,
.answer-page-chatgpt-tables-word .tables-proof-lightbox-back:focus-visible {
  border-color: rgba(251, 146, 60, 0.7);
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.16);
}

.answer-page-gemini-word #output-proof .answer-proof-card {
  background: transparent;
}

.answer-page-gemini-word .gemini-proof-image-link {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.22);
  border-radius: 12px;
  background: transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.answer-page-gemini-word .gemini-proof-image-link:hover {
  transform: translateY(-1px);
  border-color: rgba(251, 146, 60, 0.42);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.answer-page-gemini-word .gemini-proof-image-link:focus-visible {
  outline: 2px solid rgba(251, 146, 60, 0.9);
  outline-offset: 4px;
}

.answer-page-gemini-word .gemini-proof-image-link img,
.answer-page-gemini-word #output-proof .answer-proof-image {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.answer-page-gemini-word .gemini-proof-lightbox {
  position: fixed;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.answer-page-gemini-word .gemini-proof-lightbox.is-open {
  display: flex;
}

.answer-page-gemini-word .gemini-proof-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(79, 140, 255, 0.14), transparent 28%),
    rgba(5, 5, 9, 0.94);
}

.answer-page-gemini-word .gemini-proof-lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 96vw);
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}

.answer-page-gemini-word .gemini-proof-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: transparent;
  border-radius: 12px;
}

.answer-page-gemini-word .gemini-proof-lightbox-back {
  margin-top: 16px;
  border: 1px solid rgba(251, 146, 60, 0.36);
  border-radius: 999px;
  background: rgba(5, 5, 9, 0.92);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  min-width: 112px;
  padding: 10px 18px;
}

.answer-page-gemini-word .gemini-proof-lightbox-back:hover,
.answer-page-gemini-word .gemini-proof-lightbox-back:focus-visible {
  border-color: rgba(251, 146, 60, 0.7);
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.16);
}

.answer-page-gemini-pdf #output-proof .answer-proof-card {
  background: transparent;
}

.answer-page-gemini-pdf .gemini-pdf-proof-image-link {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.22);
  border-radius: 12px;
  background: transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.answer-page-gemini-pdf .gemini-pdf-proof-image-link:hover {
  transform: translateY(-1px);
  border-color: rgba(251, 146, 60, 0.42);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.answer-page-gemini-pdf .gemini-pdf-proof-image-link:focus-visible {
  outline: 2px solid rgba(251, 146, 60, 0.9);
  outline-offset: 4px;
}

.answer-page-gemini-pdf .gemini-pdf-proof-image-link img,
.answer-page-gemini-pdf #output-proof .answer-proof-image {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.answer-page-gemini-pdf .gemini-pdf-proof-lightbox {
  position: fixed;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.answer-page-gemini-pdf .gemini-pdf-proof-lightbox.is-open {
  display: flex;
}

.answer-page-gemini-pdf .gemini-pdf-proof-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(79, 140, 255, 0.14), transparent 28%),
    rgba(5, 5, 9, 0.94);
}

.answer-page-gemini-pdf .gemini-pdf-proof-lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 96vw);
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}

.answer-page-gemini-pdf .gemini-pdf-proof-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: transparent;
  border-radius: 12px;
}

.answer-page-gemini-pdf .gemini-pdf-proof-lightbox-back {
  margin-top: 16px;
  border: 1px solid rgba(251, 146, 60, 0.36);
  border-radius: 999px;
  background: rgba(5, 5, 9, 0.92);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  min-width: 112px;
  padding: 10px 18px;
}

.answer-page-gemini-pdf .gemini-pdf-proof-lightbox-back:hover,
.answer-page-gemini-pdf .gemini-pdf-proof-lightbox-back:focus-visible {
  border-color: rgba(251, 146, 60, 0.7);
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.16);
}

.answer-steps {
  margin: 0;
  padding-left: 20px;
  color: #d7deec;
}

.answer-steps li + li {
  margin-top: 10px;
}

.answer-related ul {
  margin: 0;
  padding-left: 20px;
}

.answer-related li + li {
  margin-top: 10px;
}

.answer-related a {
  color: #93c5fd;
}

.answer-related a:hover {
  color: var(--text);
}

.answer-faq article + article {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.answer-faq h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
}

.answer-cta {
  background:
    radial-gradient(circle at top left, rgba(251, 146, 60, 0.15), transparent 38%),
    rgba(255, 255, 255, 0.04);
}

.answer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.answer-cta-actions .btn {
  text-align: center;
  white-space: normal;
}

@media (max-width: 800px) {
  .answer-page {
    padding: 30px 0 56px;
  }

  .answer-hero h1 {
    font-size: 30px;
  }

  .answer-short,
  .answer-callout,
  .answer-example,
  .answer-proof-card,
  .answer-comparison,
  .answer-cta {
    padding: 18px;
  }

  .answer-proof-grid,
  .answer-comparison-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .answer-page-fix-formatting .answer-comparison-thumbnails {
    grid-template-columns: minmax(0, 1fr);
    max-width: 360px;
  }

  .answer-page-fix-formatting .fix-proof-lightbox {
    padding: 14px;
  }

  .answer-page-fix-formatting .fix-proof-lightbox-dialog {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
  }

  .answer-page-fix-formatting .fix-proof-lightbox-image {
    max-height: 72vh;
  }

  .answer-page-chatgpt-pdf .pdf-output-lightbox {
    padding: 14px;
  }

  .answer-page-chatgpt-pdf .pdf-output-lightbox-dialog {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
  }

  .answer-page-chatgpt-pdf .pdf-output-lightbox-image {
    max-height: 72vh;
  }

  .answer-page-chatgpt-docx .docx-proof-lightbox {
    padding: 14px;
  }

  .answer-page-chatgpt-docx .docx-proof-lightbox-dialog {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
  }

  .answer-page-chatgpt-docx .docx-proof-lightbox-image {
    max-height: 72vh;
  }

  .answer-page-chatgpt-docx #comparison-proof .answer-comparison-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 360px;
  }

  .answer-page-chatgpt-word .word-proof-lightbox {
    padding: 14px;
  }

  .answer-page-chatgpt-word .word-proof-lightbox-dialog {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
  }

  .answer-page-chatgpt-word .word-proof-lightbox-image {
    max-height: 72vh;
  }

  .answer-page-chatgpt-word #comparison-proof .answer-comparison-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 360px;
  }

  .answer-page-chatgpt-tables-word .tables-proof-lightbox {
    padding: 14px;
  }

  .answer-page-chatgpt-tables-word .tables-proof-lightbox-dialog {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
  }

  .answer-page-chatgpt-tables-word .tables-proof-lightbox-image {
    max-height: 72vh;
  }

  .answer-page-chatgpt-tables-word #comparison-proof .answer-comparison-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 360px;
  }

  .answer-page-gemini-word .gemini-proof-lightbox {
    padding: 14px;
  }

  .answer-page-gemini-word .gemini-proof-lightbox-dialog {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
  }

  .answer-page-gemini-word .gemini-proof-lightbox-image {
    max-height: 72vh;
  }

  .answer-page-gemini-pdf .gemini-pdf-proof-lightbox {
    padding: 14px;
  }

  .answer-page-gemini-pdf .gemini-pdf-proof-lightbox-dialog {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
  }

  .answer-page-gemini-pdf .gemini-pdf-proof-lightbox-image {
    max-height: 72vh;
  }

  .answer-cta-actions .btn {
    width: 100%;
  }
}

