
:root {
  --ink: #14201d;
  --muted: #65706c;
  --accent: #c7f36b;
  --accent-deep: #2f6b58;
  --line: #d8ddd8;
  --line-strong: #bec7c1;
  --paper: #f2f4f1;
  --paper-soft: #f8faf7;
  --white: #ffffff;
  --code: #111a17;
  --danger: #8e3636;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
a { color: inherit; text-decoration: none; }
::selection { color: var(--ink); background: var(--accent); }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-shell { min-height: 100vh; overflow-x: clip; background: var(--paper); }
.section-wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
  width: min(1180px, calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  border-bottom: 1px solid rgba(20, 32, 29, 0.13);
  background: rgba(242, 244, 241, 0.96);
  box-shadow: 0 8px 24px rgba(20, 32, 29, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
#top, #converter, #how-it-works, #privacy, #features, #to-markdown-features, #from-markdown-features, #why-markdown, #tools, #use-cases { scroll-margin-top: 92px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 19px;
  font-weight: 720;
  letter-spacing: -0.04em;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 7px;
  color: var(--accent);
  background: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 17px;
  font-weight: 850;
}
.brand-mark::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: var(--accent);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #53605b;
  font-size: 14px;
  font-weight: 560;
}
.header-nav a, .header-action {
  transition: color 0.18s, border-color 0.18s, background 0.18s, transform 0.18s;
}
.header-controls { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.header-auth-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.2s;
}
.header-auth-link:hover {
  background: var(--paper-soft);
}
.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 2px rgba(20, 32, 29, 0.04);
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.language-switcher summary {
  min-width: 72px;
  min-height: 34px;
  padding: 7px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  text-align: center;
  transition: color 0.18s, background 0.18s;
}
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary:hover { color: var(--accent-deep); background: #edf2ee; }
.language-switcher summary:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.language-switcher[open] {
  border-color: rgba(39, 111, 88, 0.48);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(39, 111, 88, 0.1);
}
.language-globe, .language-caret {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.language-globe { color: var(--accent-deep); }
.language-caret {
  width: 12px;
  height: 12px;
  color: #68746f;
  transition: transform 0.18s;
}
.language-switcher[open] .language-caret { transform: rotate(180deg); }
.language-menu-panel {
  position: absolute;
  z-index: 220;
  top: calc(100% + 10px);
  right: 0;
  width: 286px;
  max-height: min(68vh, 440px);
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(20, 32, 29, 0.14);
}
.language-menu:not([open]) .language-menu-panel { display: none; }
.language-menu-panel a { padding: 9px 10px; line-height: 1.25; }
[dir="rtl"] .language-menu-panel { right: auto; left: 0; }
.language-switcher a {
  padding: 6px 8px;
  border-radius: 7px;
  color: #65706c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.language-switcher a.is-active { color: var(--ink); background: #edf2ee; }
.zh-site { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Avenir Next", system-ui, sans-serif; }
.header-nav a:hover { color: var(--accent-deep); }
.header-action {
  justify-self: end;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: white;
  background: var(--ink);
  font-size: 13px;
  font-weight: 720;
}
.header-action:hover {
  transform: translateY(-1px);
  color: var(--ink);
  background: var(--accent);
}

.hero {
  width: min(940px, calc(100% - 40px));
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 30px;
  padding: clamp(36px, 4.5vh, 50px) 0 60px;
}
.hero-message {
  width: 100%;
  max-width: 820px;
  min-width: 0;
  margin-inline: auto;
  text-align: center;
}
.hero h1, .interior-hero h1, .legal-content h1 {
  margin: 0;
  font-size: clamp(54px, 5vw, 72px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 680;
  text-wrap: balance;
}
.hero h1 span { color: var(--accent-deep); }
.home-hero { gap: 26px; }
.home-hero .hero-message { max-width: 940px; }
.home-hero .hero-copy { max-width: 920px; }
.tool-hero .hero-message { max-width: 940px; }

.trial-offer-note { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.trial-offer-note strong { color: var(--ink); font-weight: 650; }
.trial-offer-note p { margin: 4px 0 0; font-size: inherit; line-height: inherit; }
.trial-offer-note a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

.direction-heading {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
}
.direction-loop-controls {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.direction-arc-button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 146px;
  height: 156px;
  padding: 0;
  border: 0;
  border-radius: 46%;
  color: var(--accent-deep);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.direction-arc-button span {
  display: grid;
  place-items: center;
  filter: drop-shadow(0 7px 12px rgba(47, 107, 88, 0.13));
}
.direction-arc-button.is-left {
  left: 36px;
  top: -16px;
  animation: direction-arc-down 4.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.direction-arc-button.is-left span { transform: rotate(-90deg); }
.direction-arc-button.is-right {
  right: 36px;
  top: -16px;
  animation: direction-arc-up 4.2s 0.16s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.direction-arc-button.is-right span { transform: scaleX(-1) rotate(-90deg); }
.direction-arc-button:hover {
  color: var(--accent-deep);
  background: transparent;
  animation-play-state: paused;
}
.direction-arc-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.direction-click-hint {
  position: absolute;
  top: 43px;
  right: 89px;
  z-index: 3;
  display: grid;
  place-items: center;
  color: #fff;
  pointer-events: none;
  animation: direction-click-nudge 1.35s ease-in-out infinite;
}
.direction-click-hint svg {
  filter: drop-shadow(0 2px 2px rgba(20, 32, 29, 0.72)) drop-shadow(0 5px 9px rgba(20, 32, 29, 0.28));
}
.direction-headline span { display: block; }
.home-hero .direction-headline span:first-child { color: var(--ink); }
.home-hero .direction-headline span:last-child { color: var(--accent-deep); }
.direction-headline span:first-child { animation: direction-line-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
.direction-headline span:last-child { animation: direction-line-in 0.5s 0.06s cubic-bezier(0.22, 1, 0.36, 1) both; }
.direction-copy { animation: direction-line-in 0.45s 0.1s ease both; }
.direction-workspace { width: 100%; display: grid; animation: direction-workspace-in 0.55s ease both; }

@keyframes direction-line-in {
  from { transform: translateY(12px); }
  to { transform: translateY(0); }
}
@keyframes direction-workspace-in {
  from { transform: translateY(10px); }
  to { transform: translateY(0); }
}
@keyframes direction-arc-down {
  0%, 100% { transform: translate(12px, -9px) rotate(-3deg) scale(0.96); opacity: 0.78; }
  48%, 58% { transform: translate(-10px, 12px) rotate(3deg) scale(1.03); opacity: 1; }
}
@keyframes direction-arc-up {
  0%, 100% { transform: translate(-12px, 9px) rotate(3deg) scale(0.96); opacity: 0.78; }
  48%, 58% { transform: translate(10px, -12px) rotate(-3deg) scale(1.03); opacity: 1; }
}
@keyframes direction-click-nudge {
  0%, 100% { transform: translate(0, 0) rotate(-10deg) scale(0.94); opacity: 0.78; }
  50% { transform: translate(-3px, 3px) rotate(-10deg) scale(1.08); opacity: 1; }
}


/* Below-fold sections are skipped until they approach the viewport.
   The pdf-to-markdown capability grid was the main style/layout cost. */
.service-section,
.capability-section,
.why-section,
.tools-section,
.faq-section,
.export-use-cases,
.related-export-section,
.export-final-cta,
.example-section,
.mapping-section,
.format-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}


@media (min-width: 981px) {
  .hero h1 span { white-space: nowrap; }
  .tool-hero h1 { white-space: nowrap; }
}
.tool-hero.tool-alternative-hero h1 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}
.tool-alternative-hero h1, .tool-alternative-hero h1 span {
  white-space: normal;
  overflow-wrap: anywhere;
}
.hero-copy {
  max-width: 700px;
  margin: 17px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 19px;
  justify-content: center;
  margin-top: 16px;
  color: #52605b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent-deep);
}

.converter-card {
  position: relative;
  width: min(860px, 100%);
  min-height: 420px;
  justify-self: center;
  transform: translateY(-12px);
  padding: 26px;
  border: 1px solid #ccd4cf;
  border-radius: 17px;
  background: var(--white);
  text-align: left;
  box-shadow: 0 10px 24px rgba(20, 32, 29, 0.06);
}
.converter-card[aria-busy="true"] { border-color: #9aa9a0; }
.markdown-export-picker { min-height: 420px; }
.markdown-output-formats > span { opacity: 0.48; }
.markdown-output-formats > a {
  color: var(--ink);
  border-color: var(--accent-deep);
  background: #edf6e4;
  box-shadow: inset 0 -2px 0 var(--accent-deep);
}
.markdown-export-stage {
  min-height: 264px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 38px;
  border: 1px dashed #aeb9b3;
  border-radius: 11px;
  background: var(--paper-soft);
}
.markdown-export-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 58px;
  border-radius: 7px 7px 12px 7px;
  color: var(--accent);
  background: var(--ink);
  font: 820 24px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.markdown-export-copy { min-width: 0; }
.markdown-export-copy strong { display: block; font-size: 20px; letter-spacing: -0.025em; }
.markdown-export-copy p { max-width: 430px; margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.markdown-export-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: white;
  background: var(--ink);
  font-size: 12px;
  font-weight: 720;
  white-space: nowrap;
  transition: color 0.18s, background 0.18s, transform 0.18s;
}
.markdown-export-action:hover { color: var(--ink); background: var(--accent); transform: translateY(-1px); }
.markdown-export-note {
  margin: 13px 0 0;
  color: var(--muted);
  font: 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center;
}
.converter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 4px 14px;
}
.converter-heading-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.credits-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid #d0d8d3;
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
a.credits-chip:hover { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.credits-chip.is-unlimited { border-color: #cfe3c4; background: #f3f8ea; }
.credits-chip.is-empty { border-color: #e3c4c4; background: #f8ecec; color: var(--danger); }
.credits-chip.is-loading { color: var(--muted); }
.step-label {
  display: block;
  margin-bottom: 0;
  color: var(--accent-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.1em;
}
.converter-heading h2 { margin: 6px 0 0; font-size: 21px; letter-spacing: -0.035em; }
.converter-reset-button {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid #d0d8d3;
  border-radius: 6px;
  color: #42514b;
  background: white;
  cursor: pointer;
  font-size: 11px;
  font-weight: 720;
}
.converter-reset-button:hover { color: var(--ink); border-color: var(--accent); background: var(--accent); }
.privacy-note {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}
.drop-zone {
  position: relative;
  min-height: 264px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed #aeb9b3;
  border-radius: 11px;
  background: var(--paper-soft);
  cursor: pointer;
  outline: none;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.drop-zone:hover, .drop-zone:focus-within, .drop-zone.is-dragging {
  border-color: var(--accent-deep);
  background: #f8fbf4;
  box-shadow: inset 0 0 0 1px var(--accent-deep);
}
.drop-zone input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.upload-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 50px;
  margin-bottom: 17px;
  border-radius: 6px 6px 10px 6px;
  color: var(--accent);
  background: var(--ink);
  font-size: 22px;
}
.drop-zone strong { font-size: 15px; }
.drop-format-heading {
  display: grid;
  gap: 5px;
  max-width: 920px;
  padding-inline: 18px;
  text-align: center;
}
.drop-format-heading span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 560;
  line-height: 1.45;
}
.drop-zone small span { color: var(--accent-deep); font-weight: 720; }
.drop-zone small { margin-top: 8px; color: var(--muted); font-size: 12px; }
.url-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 20px;
  margin-top: 12px;
  padding: 15px 17px;
  border: 1px solid #dce2de;
  border-radius: 11px;
  background: #f5f7f4;
  text-align: left;
}
.url-panel-copy { min-width: 0; }
.url-panel label { display: block; font-size: 13px; font-weight: 720; }
.url-panel-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.url-entry {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.url-entry input {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #bdc8c1;
  border-radius: 7px;
  outline: none;
  color: var(--ink);
  background: white;
  font-size: 13px;
}
.url-entry input:focus { border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(199, 243, 107, 0.45); }
.url-entry button {
  padding: 12px 16px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  color: white;
  background: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 720;
  white-space: nowrap;
}
.url-entry button:hover { color: var(--ink); border-color: var(--accent); background: var(--accent); }
.text-tool-hero { min-height: auto; padding-bottom: 84px; }
.text-converter-card { min-height: 0; }
.text-input-panel {
  padding: 18px;
  border: 1px solid #dce2de;
  border-radius: 11px;
  background: var(--paper-soft);
}
.text-input-heading,
.text-input-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.text-input-heading { padding: 0 2px 12px; }
.text-input-heading label { font-size: 14px; font-weight: 740; }
.text-input-heading span,
.text-input-meta {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}
.text-input-panel textarea {
  width: 100%;
  min-height: 300px;
  resize: vertical;
  padding: 20px;
  border: 1px solid #bdc8c1;
  border-radius: 8px;
  outline: none;
  color: var(--ink);
  background: white;
  font: 13px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.text-input-panel textarea:focus {
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(199, 243, 107, 0.42);
}
.text-input-panel textarea::placeholder { color: #8a958f; }
.text-input-meta { align-items: flex-start; padding: 11px 2px 0; line-height: 1.5; }
.text-input-meta span:last-child { flex: 0 0 auto; }
.text-convert-button { width: 100%; margin-top: 12px; }
.format-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0 4px 18px;
}
.format-row > span, .format-row > a {
  padding: 6px 10px;
  border: 1px solid #dce2de;
  border-radius: 6px;
  color: #5c6863;
  background: #f8f9f7;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 720;
  text-transform: uppercase;
}
.format-row > a { transition: color 0.18s, border-color 0.18s, background 0.18s, transform 0.18s; }
.format-row > a:hover {
  transform: translateY(-1px);
  color: var(--ink);
  border-color: var(--accent-deep);
  background: var(--accent);
}
.format-row > a.is-active {
  color: var(--ink);
  border-color: var(--accent-deep);
  background: #edf6e4;
  box-shadow: inset 0 -2px 0 var(--accent-deep);
}
.file-stage {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 28px;
  border: 1px solid #dce2de;
  border-radius: 11px;
  background: var(--paper-soft);
}
.file-summary { display: flex; align-items: center; gap: 15px; }
.file-badge {
  display: grid;
  place-items: center;
  width: 50px;
  height: 58px;
  border-radius: 6px 6px 10px 6px;
  color: var(--accent);
  background: var(--ink);
  font-family: ui-monospace, monospace;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.04em;
}
.file-meta { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 5px; }
.file-meta strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.file-meta span { color: var(--muted); font-size: 12px; }
.icon-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #68736e;
  background: white;
  cursor: pointer;
  font-size: 20px;
}
.icon-button:hover { color: white; border-color: var(--ink); background: var(--ink); }
.primary-button {
  align-self: stretch;
  height: 48px;
  margin-top: 22px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 720;
  transition: background 0.18s, transform 0.18s;
}
.primary-button:hover {
  transform: translateY(-1px);
  color: var(--ink);
  background: var(--accent);
}
.primary-button span { margin-left: 7px; }
.working-panel { margin-top: 27px; }
.progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #e1e6e2;
}
.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-deep);
  transition: width 0.3s ease;
}
.progress-track.is-indeterminate span {
  width: 38% !important;
  animation: progress-scan 1.2s ease-in-out infinite alternate;
}
@keyframes progress-scan {
  from { transform: translateX(-20%); }
  to { transform: translateX(185%); }
}
.working-copy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  color: #68736f;
  font-size: 12px;
}
.working-copy button {
  border: 0;
  color: #42514b;
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.error-message {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 13px 0 0;
  padding: 11px 13px;
  border: 1px solid #e4bebe;
  border-radius: 8px;
  color: var(--danger);
  background: #fff5f4;
  font-size: 12px;
}
.error-message span {
  display: grid;
  place-items: center;
  flex: 0 0 18px;
  height: 18px;
  border-radius: 50%;
  color: white;
  background: #bf5555;
  font-weight: 800;
}
.error-message p { margin: 1px 0 0; line-height: 1.4; }
.result-stage {
  overflow: hidden;
  border: 1px solid #d9e0dc;
  border-radius: 11px;
  background: var(--paper-soft);
}
.result-toolbar, .result-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  background: #fff;
}
.result-toolbar { flex-wrap: nowrap; border-bottom: 1px solid #dfe4e1; }
.result-toolbar > div { min-width: 0; display: flex; align-items: center; gap: 9px; }
.result-toolbar .result-file { flex: 1 1 auto; overflow: hidden; }
.result-toolbar .result-actions { flex: 0 0 auto; flex-wrap: nowrap; }
.result-toolbar strong {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.success-dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--accent);
  font-size: 11px;
  font-weight: 800;
}
.result-actions button, .result-actions a {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 7px 10px;
  border: 1px solid #d9e0dc;
  border-radius: 6px;
  color: #42514b;
  background: white;
  cursor: pointer;
  font-size: 11px;
  font-weight: 720;
}
.result-actions button:hover, .result-actions a:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--accent);
}
.result-actions .archive-download { color: white; border-color: var(--ink); background: var(--ink); }
.markdown-preview {
  min-height: 155px;
  max-height: 290px;
  margin: 0;
  overflow: auto;
  padding: 20px;
  color: #d8e3dd;
  background: var(--code);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.result-footer { justify-content: flex-start; border-top: 1px solid #dfe4e1; }
.result-footer > span { max-width: 720px; color: var(--muted); font-size: 10px; line-height: 1.55; }

.batch-stage {
  overflow: hidden;
  border: 1px solid #d9e0dc;
  border-radius: 11px;
  background: var(--paper-soft);
}
.batch-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 17px;
  border-bottom: 1px solid #dfe4e1;
  background: #fff;
}
.batch-summary > div:first-child { min-width: 0; display: grid; gap: 4px; }
.batch-summary strong { font-size: 13px; }
.batch-summary > div:first-child span { color: var(--muted); font-size: 10px; line-height: 1.45; }
.batch-counts { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.batch-counts span {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #596660;
  background: #f8faf7;
  font: 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.batch-counts b { color: var(--ink); }
.batch-progress-block { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 11px 17px; border-bottom: 1px solid #e4e9e6; }
.batch-progress-block > span { color: var(--muted); font: 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.batch-queue { margin: 0; padding: 0; list-style: none; }
.batch-item { padding: 15px 17px; border-bottom: 1px solid #e1e6e3; background: #fff; }
.batch-item:last-child { border-bottom: 0; }
.batch-item.status-failed { background: #fffafa; }
.batch-item.status-cancelled { background: #fafbfa; }
.batch-item-main { display: flex; align-items: center; gap: 12px; }
.batch-item .file-badge { width: 40px; height: 46px; flex: 0 0 auto; font-size: 9px; }
.batch-item .file-meta strong { font-size: 12px; }
.batch-item .file-meta span { font-size: 10px; }
.status-pill {
  flex: 0 0 auto;
  padding: 5px 7px;
  border: 1px solid #cfd8d2;
  border-radius: 99px;
  color: #4c5b55;
  background: #f5f7f4;
  font: 760 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
}
.status-completed .status-pill { color: #225947; border-color: #b8d5c9; background: #edf7f0; }
.status-needs-review .status-pill { color: #6d4c13; border-color: #dfc98f; background: #fff9e8; }
.status-failed .status-pill { color: var(--danger); border-color: #e4bebe; background: #fff2f1; }
.status-cancelled .status-pill { color: #68736e; border-color: #d7ddda; background: #f2f4f2; }
.batch-item-progress { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 11px; padding-left: 52px; }
.batch-item-progress > span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.batch-item-error { margin: 10px 0 0 52px; color: var(--danger); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.batch-review-list { margin: 10px 0 0 68px; padding: 0; color: #745721; font-size: 11px; line-height: 1.5; }
.batch-item-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; margin-top: 10px; padding-left: 52px; }
.batch-item-actions button {
  padding: 6px 9px;
  border: 1px solid #d4dcd7;
  border-radius: 6px;
  color: #42514b;
  background: #fff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 720;
}
.batch-item-actions button:hover { color: var(--ink); border-color: var(--accent-deep); background: var(--accent); }
.batch-item-actions .archive-download { color: #fff; border-color: var(--ink); background: var(--ink); }
.batch-preview { margin: 11px 0 0 52px; overflow: hidden; border: 1px solid #dce3df; border-radius: 8px; }
.batch-preview summary { padding: 9px 11px; color: #42514b; background: #f6f8f5; cursor: pointer; font-size: 10px; font-weight: 720; }
.batch-preview .markdown-preview { min-height: 110px; max-height: 240px; padding: 15px; }
.batch-preview > p { margin: 0; padding: 10px 12px; color: var(--muted); background: #fff; font-size: 10px; line-height: 1.5; }
.batch-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 14px 17px; border-top: 1px solid #dfe4e1; background: #fff; }
.batch-controls .primary-button { width: auto; min-width: 190px; height: 40px; margin: 0; padding-inline: 15px; font-size: 11px; }
.batch-controls .secondary-button { min-height: 40px; }
.batch-controls .secondary-button.is-danger { color: var(--danger); border-color: #d9abab; background: #fff6f5; }
.batch-outcome { display: grid; gap: 5px; padding: 13px 17px; border-top: 1px solid #dfe4e1; color: #315b4c; background: #f0f8f2; }
.batch-outcome.has-warnings { color: #765819; background: #fff9e9; }
.batch-outcome strong { font-size: 11px; }
.batch-outcome span { color: inherit; font-size: 10px; line-height: 1.5; }

.section-intro { max-width: 690px; }
.section-intro h2, .faq-layout h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 680;
  text-wrap: balance;
}
.section-intro p, .faq-layout > div > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.section-intro-row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.section-intro-row > div { max-width: 680px; }
.section-intro-row > a {
  flex: 0 0 auto;
  padding-bottom: 6px;
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 760;
}
.section-intro-row > a span { margin-left: 7px; }
.example-section, .why-section, .tools-section, .format-section, .mapping-section, .faq-section {
  padding-block: 104px;
  border-top: 1px solid var(--line);
}
.section-kicker, .why-scene-copy > span {
  display: block;
  color: var(--accent-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.1em;
}
.section-kicker { margin-bottom: 18px; }
.why-section .section-kicker { font-size: 12px; }
.why-scenes {
  margin-top: 72px;
  display: grid;
  gap: 104px;
}
.why-scene {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(230px, 0.58fr) minmax(0, 1.42fr);
  align-items: center;
  gap: clamp(48px, 7vw, 88px);
}
.why-scene-reverse { grid-template-columns: minmax(0, 1.42fr) minmax(230px, 0.58fr); }
.why-scene-reverse .why-scene-copy { grid-column: 2; grid-row: 1; }
.why-scene-reverse figure { grid-column: 1; grid-row: 1; }
.why-scene-copy {
  max-width: 340px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.why-scene.is-visible .why-scene-copy { opacity: 1; transform: translateY(0); }
.why-scene-copy h3 {
  margin: 17px 0 0;
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.why-scene-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.why-scene figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #f5f2e9;
  box-shadow: 0 22px 50px rgba(20, 32, 29, 0.08);
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.75s ease 0.08s, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) 0.08s;
}
.why-scene.is-visible figure { opacity: 1; transform: translateY(0) scale(1); }
.why-scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.025);
}
.why-scene.is-visible img { animation: why-scene-drift 10s ease-in-out infinite alternate; }
.why-scene-flow {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 9px;
  background: rgba(20, 32, 29, 0.84);
  box-shadow: 0 8px 24px rgba(20, 32, 29, 0.2);
  backdrop-filter: blur(10px);
}
.why-scene-flow span {
  padding: 6px 9px;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.56);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 720;
  white-space: nowrap;
}
.why-scene-flow span + span::before {
  content: "→";
  margin-right: 12px;
  color: rgba(255, 255, 255, 0.42);
}
.why-scene.is-visible .why-scene-flow span {
  animation: why-flow-step 6s ease-in-out infinite;
  animation-delay: calc(var(--flow-index) * 2s);
}
@keyframes why-scene-drift {
  from { transform: scale(1.025) translate3d(-0.4%, -0.25%, 0); }
  to { transform: scale(1.055) translate3d(0.6%, 0.35%, 0); }
}
@keyframes why-flow-step {
  0%, 22% { color: var(--ink); background: var(--accent); }
  34%, 100% { color: rgba(255, 255, 255, 0.56); background: transparent; }
}
.conversion-example {
  margin-top: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}
.source-example, .markdown-example {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}
.source-example { background: #e5e9e5; }
.markdown-example { color: #d8e3dd; border-color: var(--code); background: var(--code); }
.example-bar {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line-strong);
  color: #59645f;
  background: #f9faf8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}
.example-bar b { color: var(--accent-deep); letter-spacing: 0.08em; }
.markdown-example .example-bar { color: #9fada5; border-color: #2b3732; background: #17211e; }
.markdown-example .example-bar b { color: var(--accent); }
.paper-preview {
  width: calc(100% - 76px);
  min-height: 245px;
  margin: 38px;
  padding: 33px;
  color: #37443f;
  background: white;
  box-shadow: 0 12px 25px rgba(20, 32, 29, 0.08);
}
.paper-preview strong, .paper-preview b { display: block; }
.paper-preview strong { margin-bottom: 25px; font-size: 22px; letter-spacing: -0.04em; }
.paper-preview b { margin: 28px 0 14px; font-size: 13px; }
.text-line, .bullet-line {
  display: block;
  width: 72%;
  height: 7px;
  margin-top: 10px;
  border-radius: 99px;
  background: #d8ded9;
}
.text-line.long { width: 94%; }
.bullet-line { position: relative; width: 63%; margin-left: 14px; }
.bullet-line::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 1px;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--accent-deep);
}
.bullet-line.short { width: 48%; }
.markdown-example pre {
  min-height: 321px;
  margin: 0;
  padding: 38px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
}
.conversion-direction {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--accent-deep);
}
.conversion-direction span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  font-size: 19px;
}
.conversion-direction small {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.tool-output-example {
  max-width: 1120px;
  margin-inline: auto;
  align-items: stretch;
}
.service-conversion-example {
  opacity: 0;
  transform: translateY(16px);
}
.service-steps.is-visible ~ .service-conversion-example {
  animation: service-example-enter 0.65s ease 0.22s forwards;
}
.tool-output-example .source-example,
.tool-output-example .markdown-example {
  display: flex;
  flex-direction: column;
}
.tool-output-example .paper-preview,
.tool-output-example .tool-source-preview,
.tool-output-example .markdown-example pre {
  flex: 1;
}
.tool-output-example .conversion-direction {
  justify-content: center;
}
.document-example-paper {
  font-family: Arial, Helvetica, sans-serif;
}
.document-example-paper strong {
  color: #1f2d28;
}
.document-example-paper b {
  color: #34423d;
}
.document-example-paper p,
.document-example-paper li,
.html-article-preview p,
.html-article-preview li {
  color: #59645f;
  font-size: 12px;
  line-height: 1.65;
}
.document-example-paper p,
.html-article-preview p {
  margin: 0;
}
.document-example-paper ul,
.html-article-preview ul {
  margin: 0;
  padding-left: 18px;
}
.word-example-paper mark {
  padding: 0 2px;
  color: inherit;
  background: rgba(182, 244, 93, 0.38);
}
.text-example-paper > small {
  color: var(--accent-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.text-example-paper > strong { margin-top: 9px; }
.source-inline-emphasis {
  padding: 0 2px;
  font-weight: 750;
  background: rgba(182, 244, 93, 0.38);
}
.text-example-paper blockquote {
  margin: 20px 0;
  padding: 10px 13px;
  border-left: 3px solid var(--accent-deep);
  color: #52605a;
  background: #f2f5f1;
  font-size: 11px;
  line-height: 1.55;
}
.source-task-list {
  display: grid;
  gap: 7px;
  padding-left: 0 !important;
  list-style: none;
}
.source-task-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.source-task-list li > span {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: grid;
  place-items: center;
  border: 1px solid #afbab3;
  border-radius: 3px;
  color: #244b38;
  background: #fff;
  font-size: 9px;
  font-weight: 900;
}
.source-task-list li:first-child > span { border-color: var(--accent); background: var(--accent); }
.source-preview-table {
  overflow: hidden;
  margin-top: 9px;
  border: 1px solid #d8ded9;
  border-radius: 4px;
}
.source-preview-table > div {
  display: grid;
  grid-template-columns: repeat(var(--preview-columns, 2), minmax(0, 1fr));
}
.source-preview-table > div + div {
  border-top: 1px solid #e3e7e4;
}
.source-preview-table span {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 8px 10px;
  color: #59645f;
  font-size: 10px;
  line-height: 1.35;
}
.source-preview-table span + span {
  border-left: 1px solid #e3e7e4;
}
.source-preview-table span:last-child {
  justify-content: flex-end;
  text-align: right;
}
.source-preview-table [role="columnheader"] {
  color: #34423d;
  background: #f2f4f1;
  font-weight: 700;
}
.source-preview-figure {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid #e0e5e1;
  border-radius: 4px;
  background: #f8faf7;
}
.source-preview-figure > div {
  display: grid;
  gap: 5px;
}
.source-preview-figure i {
  display: block;
  height: 5px;
  border-radius: 99px;
  background: var(--accent-deep);
  opacity: 0.72;
}
.source-preview-figure small {
  display: block;
  margin-top: 8px;
  color: #6f7b75;
  font-size: 9px;
}
.source-preview-link {
  margin-top: 14px;
  color: var(--accent-deep);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tool-source-preview {
  width: calc(100% - 52px);
  min-height: 420px;
  margin: 26px;
  overflow: hidden;
  border: 1px solid rgba(20, 32, 29, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 25px rgba(20, 32, 29, 0.08);
}
.spreadsheet-preview {
  display: flex;
  flex-direction: column;
  background: #f7faf7;
}
.sheet-formula {
  min-height: 37px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border-bottom: 1px solid #d7ded8;
  color: #526059;
  background: #edf3ee;
  font-size: 10px;
}
.sheet-formula span { color: #25774f; font-style: italic; font-weight: 800; }
.sheet-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 30px minmax(92px, 1.2fr) minmax(68px, 0.8fr) minmax(88px, 1fr);
  align-content: start;
  overflow: hidden;
}
.sheet-grid span {
  min-width: 0;
  padding: 11px 8px;
  border-right: 1px solid #dde3de;
  border-bottom: 1px solid #dde3de;
  color: #53615a;
  font-size: 10px;
  text-align: right;
}
.sheet-grid span:nth-child(4n + 2) { text-align: left; }
.sheet-grid .is-heading { color: #263c32; background: #edf3ee; font-weight: 750; }
.sheet-notes {
  display: grid;
  gap: 3px;
  padding: 9px 12px;
  border-top: 1px solid #d7ded8;
  color: #647169;
  background: #fafcf9;
  font-size: 9px;
}
.sheet-notes b { color: #34423d; }
.sheet-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-top: 1px solid #d7ded8;
  color: #6a766f;
  background: #f0f4f0;
  font-size: 9px;
}
.sheet-tabs b, .sheet-tabs span { padding: 5px 9px; border-radius: 4px; }
.sheet-tabs b { color: #1f513a; background: #d9ebde; }
.slides-preview {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 24px;
  background: #dedbd5;
}
.slide-card {
  position: relative;
  min-height: 165px;
  padding: 27px 31px;
  color: #25342e;
  background: #fffdf8;
  box-shadow: 0 9px 22px rgba(20, 32, 29, 0.1);
}
.slide-card > span {
  position: absolute;
  top: 12px;
  right: 14px;
  color: #819087;
  font-size: 9px;
}
.slide-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--accent-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.slide-card strong { display: block; margin-bottom: 17px; font-size: 20px; letter-spacing: -0.03em; }
.slide-card ul,
.slide-card ol { margin: 0; padding-left: 17px; color: #59645f; font-size: 11px; line-height: 1.8; }
.slide-card .source-preview-figure { margin-top: 12px; padding: 9px; }
.image-ocr-preview {
  padding: 22px;
  background: #d8d2c3;
}
.image-board {
  position: relative;
  min-height: 330px;
  padding: 34px;
  color: #f4f0df;
  background: #263d35;
  box-shadow: inset 0 0 0 7px #ad8e62, 0 10px 22px rgba(20, 32, 29, 0.14);
}
.image-board strong { display: block; font-size: 23px; letter-spacing: 0.04em; }
.image-board b { position: absolute; right: 28px; bottom: 23px; font-size: 11px; }
.board-note {
  position: absolute;
  width: 118px;
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: #37443f;
  background: #f5dc6d;
  box-shadow: 0 5px 10px rgba(20, 32, 29, 0.15);
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
}
.note-one { top: 105px; left: 40px; transform: rotate(-3deg); }
.note-two { top: 126px; right: 41px; transform: rotate(2deg); background: #bfe8ef; }
.note-three { left: 50%; bottom: 44px; transform: translateX(-50%) rotate(-1deg); background: #d7bde8; }
.board-owners {
  position: absolute;
  left: 30px;
  bottom: 21px;
  display: grid;
  gap: 3px;
  font-size: 8px;
  letter-spacing: 0.03em;
}
.image-ocr-preview > small { display: block; margin-top: 12px; color: #58635e; font-size: 9px; }
.html-source-preview { display: flex; flex-direction: column; background: #f6f7f5; }
.browser-dots { display: flex; gap: 5px; padding: 11px 13px; border-bottom: 1px solid #dce1dd; }
.browser-dots i { width: 7px; height: 7px; border-radius: 50%; background: #aeb9b2; }
.html-code-line { padding: 8px 14px; color: #6a756f; background: #edf1ee; font-size: 9px; }
.html-article-preview { flex: 1; padding: 29px 34px; }
.html-article-preview strong { display: block; margin-bottom: 24px; color: #24342d; font-size: 24px; letter-spacing: -0.04em; }
.html-article-preview b { display: block; margin: 25px 0 11px; color: #34423d; font-size: 13px; }
.epub-example-paper { font-family: Georgia, "Times New Roman", serif; }
.epub-example-paper > small { color: #8b7660; font-size: 8px; letter-spacing: 0.15em; }
.epub-example-paper strong { margin-top: 11px; }
.epub-example-paper blockquote {
  margin: 22px 0;
  padding-left: 15px;
  border-left: 2px solid #a68c6c;
  color: #5f544a;
  font-size: 13px;
  font-style: italic;
  line-height: 1.6;
}
.epub-example-paper sup { color: #806d56; font-weight: 750; }
.epub-footnote { margin-left: 4px; color: #7a6d60; font-size: 9px; }
@keyframes service-example-enter {
  to { opacity: 1; transform: translateY(0); }
}
.tools-page-groups {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 56px;
  margin-top: 72px;
  padding-bottom: 110px;
}
.tools-page-groups::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 64px;
  left: 50%;
  width: 1px;
  background: var(--line-strong);
  transform: translateX(-0.5px);
}
.tools-page-group { min-width: 0; }
.tool-alternatives-directory {
  padding-block: 30px 64px;
  border-top: 1px solid var(--line-strong);
  scroll-margin-top: 100px;
}
.tool-alternatives-directory h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.tool-alternatives-directory p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.tool-alternative-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.tool-alternative-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  transition: background 0.18s, border-color 0.18s;
}
.tool-alternative-links a:hover { background: var(--white); border-color: var(--accent-deep); }
.tool-alternative-links a > span { min-width: 0; overflow-wrap: anywhere; }
.tool-alternative-links a > b { flex: 0 0 auto; color: var(--accent-deep); font-weight: 400; }
[dir="rtl"] .tool-alternative-links a > b { transform: scaleX(-1); }
@media (max-width: 800px) {
  .tool-alternative-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-alternative-links a { padding: 12px; font-size: 13px; }
}
.tools-group-heading {
  min-height: 154px;
  padding: 25px 27px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.48);
}
.tools-page-group:nth-child(2) .tools-group-heading { background: rgba(231, 239, 232, 0.6); }
.tools-group-heading > span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-deep);
  font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.11em;
}
.tools-group-heading h2 {
  max-width: 430px;
  margin: 0 0 10px;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.tools-group-heading p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.converter-list { margin-top: 50px; border-top: 1px solid var(--line-strong); }
.tools-page-group .converter-list { margin-top: 22px; }
.tools-page-group .converter-list > a { gap: 14px; padding-block: 18px; }
.converter-list > a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 20px 2px;
  border-bottom: 1px solid var(--line);
  transition: padding 0.18s, background 0.18s;
}
.converter-list > a:hover { padding-inline: 14px; background: rgba(255, 255, 255, 0.52); }
.tool-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 52px;
  border-radius: 6px 6px 9px 6px;
  color: var(--accent);
  background: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
}
.tool-icon svg {
  width: 27px;
  height: 27px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tool-icon i {
  position: absolute;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--accent);
  font: 900 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  font-style: normal;
}
.tool-icon.is-to-markdown i { right: -5px; bottom: -4px; }
.tool-icon.is-from-markdown i { left: -5px; top: -4px; }
.tool-icon-powerpoint svg { stroke-width: 1.55; }
.converter-list > a:hover .tool-icon svg { transform: scale(1.08); }
.tool-icon svg { transition: transform 0.18s ease; }
.converter-list h2, .converter-list h3 {
  margin: 0 0 5px;
  font-size: 17px;
  letter-spacing: -0.025em;
}
.converter-list p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.converter-list small {
  max-width: 180px;
  color: #596761;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  text-align: right;
}
.converter-list > a > b { color: var(--accent-deep); font-size: 18px; }
.home-direction-content.is-active {
  animation: home-direction-content-in 0.46s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.home-export-use-case-grid article { display: flex; flex-direction: column; }
.home-export-flow {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.home-export-flow span {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font: 760 9px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.03em;
}
.home-export-flow i {
  margin-right: 7px;
  color: #8b9691;
  font-style: normal;
}
.markdown-export-list .tool-icon { min-width: 48px; }
.home-final-cta { margin-top: 0; }
@keyframes home-direction-content-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.format-guide {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}
.format-guide article { min-width: 0; padding: 28px 30px 4px 0; }
.format-guide article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.format-guide span {
  display: block;
  min-height: 34px;
  color: var(--accent-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.09em;
}
.format-guide p { margin: 13px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.capability-section {
  width: min(1400px, calc(100% - 40px));
  padding-block: 82px 88px;
  border-bottom: 1px solid var(--line);
}
.service-section + .capability-section { border-top: 0; }
.capability-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 72px;
}
.capability-intro-main { min-width: 0; }
.capability-intro-main h2 {
  max-width: 900px;
  margin: 22px 0 0;
  font-size: clamp(50px, 5.45vw, 78px);
  line-height: 0.93;
  letter-spacing: -0.064em;
  font-weight: 690;
}
.capability-intro-main h2 > span { display: block; }
.capability-intro-main > p {
  max-width: 930px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.capability-manifesto {
  padding-top: 18px;
  color: #72807a;
}
.capability-manifesto p {
  margin: 0;
  white-space: pre-line;
  font-size: 14px;
  line-height: 1.75;
}
.capability-manifesto i {
  display: block;
  width: 24px;
  margin: 28px 0 13px;
  border-top: 1px solid var(--accent-deep);
}
.capability-manifesto span {
  display: block;
  font: 650 10px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.18em;
}
.capability-handoff {
  margin-top: 46px;
  display: grid;
  grid-template-areas:
    "input transform result"
    "review review review";
  grid-template-columns: minmax(280px, 0.82fr) minmax(540px, 1.4fr) minmax(280px, 0.82fr);
  gap: 26px 30px;
}
.capability-side-panel {
  min-width: 0;
  min-height: 442px;
  padding: 31px 31px 28px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 9px 26px rgba(20, 32, 29, 0.035);
}
.capability-input-panel { grid-area: input; }
.capability-transform-panel {
  grid-area: transform;
  min-width: 0;
  padding-top: 18px;
}
.capability-result-panel { grid-area: result; }
.capability-group-heading { display: flex; align-items: baseline; gap: 18px; }
.capability-group-heading > span {
  color: var(--accent-deep);
  font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.09em;
}
.capability-group-heading h3 { margin: 0; font-size: 23px; line-height: 1.1; letter-spacing: -0.035em; }
.capability-items { margin: 28px 0 0; padding: 0; list-style: none; }
.capability-items li {
  min-width: 0;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 17px;
  align-items: start;
  position: relative;
  padding-block: 20px;
}
.capability-items.is-timeline li + li::before {
  content: "";
  position: absolute;
  top: -21px;
  left: 15px;
  height: 41px;
  border-left: 1px solid #c9d2cd;
}
.capability-item-icon {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-deep);
  background: white;
}
.capability-item-icon.status-conditional { color: #b0841e; }
.capability-item-icon.status-review { color: #d59a18; }
.capability-item-copy { min-width: 0; }
.capability-item-copy h4 { margin: 2px 0 0; font-size: 15px; line-height: 1.4; letter-spacing: -0.018em; }
.capability-item-copy p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.62; }
.capability-transform-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #42524c;
  font-size: 12px;
  font-weight: 720;
}
.capability-transform-heading .capability-step-number {
  margin-right: 4px;
  color: var(--accent-deep);
  font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.09em;
}
.capability-flow {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 126px 26px minmax(188px, 1fr) 26px 126px;
  align-items: center;
  gap: 8px;
}
.capability-flow-node { min-width: 0; text-align: center; }
.capability-flow-node > span {
  width: 126px;
  height: 180px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--accent-deep);
  background: #fff;
  box-shadow: 0 11px 23px rgba(20, 32, 29, 0.07);
}
.capability-flow-node.is-word > span { color: #185abd; }
.capability-flow-node.is-markdown > span { color: var(--ink); }
.capability-flow-node b { display: block; margin-top: 15px; font-size: 13px; line-height: 1.3; }
.capability-flow-node small { display: block; margin-top: 3px; color: #74807b; font-size: 10px; line-height: 1.35; }
.capability-flow-arrow { color: #98a39d; }
[dir="rtl"] .capability-flow-arrow { transform: scaleX(-1); }
.capability-mapping {
  min-width: 0;
  min-height: 302px;
  padding: 27px 19px 19px;
  display: grid;
  align-content: center;
  gap: 10px;
  border: 1px dashed #bfcac4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}
.capability-mapping > span {
  min-width: 0;
  min-height: 42px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #e0e5e1;
  border-radius: 7px;
  color: #35423d;
  background: #fff;
  box-shadow: 0 4px 12px rgba(20, 32, 29, 0.035);
  font-size: 11px;
  font-weight: 690;
}
.capability-mapping svg { flex: 0 0 auto; color: var(--accent-deep); }
.capability-transform-notes {
  margin-top: 17px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.capability-transform-notes > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 8px;
  color: #5e6b66;
}
.capability-transform-notes svg { margin-top: 2px; color: #809089; }
.capability-transform-notes b,
.capability-transform-notes small { display: block; }
.capability-transform-notes b { color: var(--ink); font-size: 10px; }
.capability-transform-notes small { margin-top: 3px; font-size: 8px; line-height: 1.45; }
.capability-review-panel {
  grid-area: review;
  min-width: 0;
  padding: 18px 22px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
}
.capability-review-heading { display: flex; align-items: center; gap: 22px; }
.capability-review-heading .capability-group-heading h3 { font-size: 20px; }
.capability-review-heading > p { margin: 0; display: flex; align-items: center; gap: 8px; color: #6f7d76; font-size: 10px; line-height: 1.5; }
.capability-review-heading > p svg { flex: 0 0 auto; color: #3c8065; }
.capability-review-panel .capability-items {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.capability-review-panel .capability-items li {
  min-height: 76px;
  padding: 13px 18px;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  border: 1px solid #c7d9ce;
  border-radius: 6px;
  background: #f5f9f6;
}
.capability-review-panel .capability-item-icon { width: 34px; height: 34px; color: #3c8065; background: transparent; }
.capability-review-panel .capability-item-copy h4 { font-size: 13px; }
.capability-review-panel .capability-item-copy p { margin-top: 4px; font-size: 10px; }
.capability-footer {
  margin-top: 15px;
  display: grid;
  grid-template-columns: auto minmax(90px, 1fr) auto;
  align-items: center;
  gap: 24px;
  color: #78837e;
}
.capability-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.capability-legend > span { display: inline-flex; align-items: center; gap: 7px; font-size: 9px; }
.capability-legend > span:nth-child(1) svg { color: #3c8065; }
.capability-legend > span:nth-child(2) svg { color: #8a6d1d; }
.capability-legend > span:nth-child(3) svg { color: #47745f; }
.capability-legend b { font-weight: 650; }
.capability-footer-rule { border-top: 1px solid var(--line); }
.capability-footer > b { font: 700 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.18em; white-space: nowrap; }
.capability-footer > p { grid-column: 1 / -1; margin: -4px 0 0; font-size: 10px; }

.mapping-intro {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.mapping-intro p { max-width: 620px; margin-inline: auto; }
.conversion-map-shell {
  max-width: 940px;
  margin: 52px auto 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 16px 38px rgba(20, 32, 29, 0.04);
}
.conversion-map {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.conversion-map th,
.conversion-map td {
  padding: 19px 26px;
  text-align: left;
  vertical-align: middle;
}
.conversion-map th {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 700;
}
.conversion-map th:first-child { width: 46%; }
.conversion-map tbody tr { border-top: 1px solid var(--line); }
.conversion-map td {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.conversion-map code {
  color: var(--accent-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 650;
  white-space: normal;
}
.mapping-note {
  max-width: 840px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}
.mapping-note b { color: var(--ink); }

.service-section {
  padding-block: 92px;
  border-block: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper-soft);
}
.service-inner {
  display: block;
}
.service-steps {
  position: relative;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}
.service-steps::before {
  content: "";
  position: absolute;
  top: 23px;
  left: calc(16.666% + 24px);
  right: calc(16.666% + 24px);
  height: 1px;
  background: var(--line-strong);
}
.service-steps::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 23px;
  left: calc(16.666% + 24px);
  right: calc(16.666% + 24px);
  height: 2px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: left center;
}
.service-steps.is-visible::after {
  animation: service-line-progress 2s cubic-bezier(0.25, 0.7, 0.2, 1) 0.15s forwards;
}
.service-steps li {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-inline: 32px;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
}
.service-steps.is-visible li {
  animation: service-step-enter 0.56s ease forwards;
  animation-delay: calc(0.12s + var(--step-index) * 0.68s);
}
.service-steps li > span {
  width: 48px;
  height: 48px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent-deep);
  border-radius: 50%;
  color: var(--accent-deep);
  background: var(--paper-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
}
.service-steps.is-visible li > span {
  animation: service-node-activate 0.65s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
  animation-delay: calc(0.18s + var(--step-index) * 0.68s);
}
.service-steps b { display: block; color: var(--ink); font-size: 16px; }
.service-steps p {
  max-width: 260px;
  margin: 9px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.retention-note {
  max-width: 780px;
  margin: 52px auto 0;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
}
.service-steps.is-visible + .retention-note {
  animation: service-note-enter 0.55s ease 1.8s forwards;
}
.retention-note b { color: var(--ink); }
@keyframes service-line-progress {
  to { transform: scaleX(1); }
}
@keyframes service-step-enter {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes service-node-activate {
  55% { color: var(--ink); border-color: var(--accent-deep); background: var(--accent); box-shadow: 0 0 0 7px rgba(199, 243, 107, 0.2); transform: scale(1.08); }
  100% { color: var(--ink); border-color: var(--accent-deep); background: var(--accent); box-shadow: 0 0 0 0 rgba(199, 243, 107, 0); transform: scale(1); }
}
@keyframes service-note-enter {
  to { opacity: 1; transform: translateY(0); }
}
.faq-layout { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 100px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span {
  color: var(--accent-deep);
  font-size: 19px;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin: -6px 45px 22px 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.faq-list p a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.faq-list p a:hover { color: var(--ink); }

.site-footer { color: #d9e0dc; background: #0e1714; }
.footer-main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding: 70px 0;
}
.footer-brand .brand-mark { color: var(--ink); background: var(--accent); }
.footer-main > div > p {
  max-width: 290px;
  color: #8e9c95;
  font-size: 13px;
  line-height: 1.65;
}
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.footer-links > div { display: flex; flex-direction: column; gap: 11px; }
.footer-links b { margin-bottom: 7px; color: white; font-size: 12px; }
.footer-links a { color: #8e9c95; font-size: 12px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid #2e3b36;
  color: #77857e;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.interior-page, .legal-page { background: var(--paper); }
.interior-hero {
  padding: 100px 0 72px;
  border-bottom: 1px solid var(--line);
}
.interior-hero h1, .legal-content h1 { max-width: 900px; }
.interior-hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.tools-page-list {
  margin-top: 0;
  padding-bottom: 115px;
  border-top: 0;
}
.legal-content { max-width: 820px; padding: 100px 0 120px; }
.legal-content h1 { font-size: clamp(46px, 6vw, 72px); }
.legal-updated {
  margin: 22px 0 65px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}
.legal-content section { padding: 30px 0; border-top: 1px solid var(--line); }
.legal-content section h2 { margin: 0 0 12px; font-size: 21px; letter-spacing: -0.025em; }
.legal-content section p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.partner-intro {
  max-width: 720px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.partner-list { margin: 8px 0 0; padding: 0; list-style: none; }
.partner-list li { padding: 22px 0; border-top: 1px solid var(--line); }
.partner-entry {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
}
.partner-name { color: var(--ink); font-size: 18px; font-weight: 650; letter-spacing: -0.02em; }
.partner-name:hover { color: var(--accent-deep); }
.partner-badge { display: inline-block; line-height: 0; }
.partner-badge img {
  display: block;
  width: auto;
  height: auto;
  max-height: 48px;
  max-width: min(240px, 100%);
  /* SVGs that only declare a viewBox have no intrinsic size and would collapse to 0. */
  min-height: 24px;
  min-width: 24px;
}
.partner-list p, .partner-empty {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.partner-empty { margin-top: 0; }

@media (max-width: 980px) {
  .hero { gap: 28px; padding: 38px 0 60px; }
  .hero-message { max-width: 760px; }
  .converter-card { width: 100%; }
  .direction-arc-button { width: 118px; height: 142px; }
  .direction-arc-button svg { width: 96px; height: 96px; }
  .direction-arc-button.is-left { left: 20px; }
  .direction-arc-button.is-right { right: 20px; }
  .conversion-example { grid-template-columns: 1fr; }
  .tools-page-groups { grid-template-columns: 1fr; gap: 64px; }
  .tools-page-groups::before { display: none; }
  .tools-group-heading { min-height: 0; }
  .conversion-direction { flex-direction: row; justify-content: center; }
  .conversion-direction span { transform: rotate(90deg); }
  .service-steps li { padding-inline: 20px; }
  .why-scenes { gap: 82px; }
  .why-scene, .why-scene-reverse {
    grid-template-columns: minmax(210px, 0.62fr) minmax(0, 1.38fr);
    gap: 42px;
  }
  .why-scene-reverse { grid-template-columns: minmax(0, 1.38fr) minmax(210px, 0.62fr); }
}

@media (max-width: 800px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-nav { display: none; }
  .hero { gap: 24px; padding: 32px 0 56px; }
  .hero h1 { font-size: clamp(46px, 14vw, 68px); }
  .hero-copy { font-size: 16px; }
  .direction-heading { padding-bottom: 72px; }
  .direction-loop-controls { inset: auto 0 24px; height: 48px; }
  .direction-arc-button { width: 62px; height: 48px; top: 0; border-radius: 18px; }
  .direction-arc-button svg { width: 42px; height: 42px; }
  .direction-arc-button.is-left { left: calc(50% - 70px); top: 0; }
  .direction-arc-button.is-right { right: calc(50% - 70px); top: 0; }
  .direction-click-hint {
    top: auto;
    right: calc(50% - 55px);
    bottom: 35px;
    left: auto;
    animation-name: direction-click-nudge-mobile;
  }
  .converter-heading { align-items: start; }
  .privacy-note { display: none; }
  .converter-card { min-height: 320px; transform: translateY(-8px); padding: 16px; border-radius: 14px; }
  .markdown-export-stage { min-height: 240px; grid-template-columns: 1fr; justify-items: center; gap: 15px; padding: 28px 20px; text-align: center; }
  .markdown-export-copy p { margin-inline: auto; }
  .drop-zone { min-height: 188px; padding: 22px 15px; text-align: center; }
  .url-panel { grid-template-columns: 1fr; gap: 12px; padding: 15px; }
  .url-entry { grid-template-columns: 1fr; }
  .url-entry button { width: 100%; }
  .text-input-panel { padding: 14px; }
  .text-input-panel textarea { min-height: 240px; padding: 16px; }
  .text-input-meta { flex-direction: column; gap: 5px; }
  .file-stage { padding: 20px 17px; }
  .batch-summary { align-items: flex-start; flex-direction: column; }
  .batch-counts { justify-content: flex-start; }
  .batch-item-main { align-items: flex-start; }
  .batch-item .file-badge { width: 35px; height: 41px; }
  .batch-item-progress, .batch-item-error, .batch-preview { margin-left: 0; padding-left: 0; }
  .batch-review-list { margin-left: 17px; }
  .batch-item-actions { justify-content: flex-start; padding-left: 0; }
  .batch-item-actions button { flex: 1 1 auto; }
  .batch-controls { align-items: stretch; flex-direction: column; }
  .batch-controls .primary-button, .batch-controls .secondary-button { width: 100%; }
  .result-toolbar { align-items: flex-start; flex-direction: column; }
  .result-actions { width: 100%; }
  .result-actions button, .result-actions a { flex: 1; text-align: center; }
  .example-section, .why-section, .tools-section, .format-section, .mapping-section, .faq-section { padding-block: 76px; }
  .section-intro-row, .faq-layout { display: grid; grid-template-columns: 1fr; gap: 26px; }
  .section-intro-row > a { justify-self: start; }
  .format-guide { grid-template-columns: 1fr; }
  .format-guide article, .format-guide article + article {
    padding: 25px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .format-guide span { min-height: auto; }
  .service-section { padding-block: 76px; }
  .service-steps {
    max-width: 560px;
    margin: 0 auto;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .service-steps::before {
    top: 24px;
    bottom: 24px;
    left: 23px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .service-steps::after {
    top: 24px;
    bottom: 24px;
    left: 23px;
    right: auto;
    width: 2px;
    height: auto;
    transform: scaleY(0);
    transform-origin: center top;
  }
  .service-steps.is-visible::after { animation-name: service-line-progress-mobile; }
  .service-steps li {
    min-height: 96px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 20px;
    padding: 0 0 26px;
    text-align: left;
  }
  .service-steps li > span { margin: 0; }
  .service-steps p { max-width: none; margin-inline: 0; }
  .retention-note { margin-top: 24px; text-align: left; }
  .why-scenes { margin-top: 54px; gap: 70px; }
  .why-scene, .why-scene-reverse { grid-template-columns: 1fr; gap: 28px; }
  .why-scene .why-scene-copy, .why-scene-reverse .why-scene-copy,
  .why-scene figure, .why-scene-reverse figure { grid-column: 1; }
  .why-scene .why-scene-copy, .why-scene-reverse .why-scene-copy { grid-row: 1; max-width: 520px; }
  .why-scene figure, .why-scene-reverse figure { grid-row: 2; }
  .footer-main { grid-template-columns: 1fr; gap: 48px; }
  .footer-links { gap: 18px; }
  .interior-hero, .legal-content { padding-top: 70px; }
}

@keyframes direction-click-nudge-mobile {
  0%, 100% { transform: translate(0, 0) rotate(-10deg) scale(0.94); opacity: 0.78; }
  50% { transform: translate(-2px, 2px) rotate(-10deg) scale(1.08); opacity: 1; }
}

@media (max-width: 620px) {
  .site-header, .section-wrap, .footer-main, .footer-bottom { width: min(100% - 28px, 1120px); }
  .site-header { height: auto; min-height: 76px; padding-block: 8px; grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
  .header-controls { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "language auth" "credits credits"; gap: 6px; justify-items: end; }
  .header-controls .language-switcher { grid-area: language; }
  .header-controls .language-switcher summary { min-width: 56px; }
  .header-controls .credits-chip { grid-area: credits; max-width: 100%; white-space: normal; text-align: end; }
  .header-controls .header-auth-link { grid-area: auth; padding: 6px 4px; font-size: 12px; text-align: end; }
  .hero { width: min(100% - 24px, 940px); }
  .header-action { padding: 9px 11px; }

  .hero-facts { gap: 8px 14px; }
  .file-summary { gap: 10px; }
  .file-badge { width: 43px; height: 50px; }
  .format-row { gap: 5px; }
  .format-row > span { padding: 5px 7px; }
  .paper-preview { width: calc(100% - 36px); margin: 18px; padding: 24px; }
  .tool-source-preview { width: calc(100% - 36px); min-height: 360px; margin: 18px; }
  .sheet-grid { grid-template-columns: 26px minmax(75px, 1.2fr) minmax(55px, 0.8fr) minmax(70px, 1fr); }
  .sheet-grid span { padding: 9px 5px; font-size: 9px; }
  .slides-preview { padding: 14px; }
  .slide-card { min-height: 148px; padding: 24px 22px; }
  .image-ocr-preview { padding: 14px; }
  .image-board { min-height: 360px; padding: 27px 24px; }
  .image-board strong { font-size: 19px; }
  .board-note { width: 102px; }
  .note-one { top: 92px; left: 18px; }
  .note-two { top: 139px; right: 18px; }
  .note-three { bottom: 52px; }
  .html-article-preview { padding: 24px; }
  .markdown-example pre { min-height: 290px; padding: 25px 20px; font-size: 11px; }
  .why-scenes { margin-top: 44px; gap: 58px; }
  .why-scene { gap: 22px; }
  .why-scene figure { border-radius: 14px; }
  .why-scene-flow { left: 10px; bottom: 10px; }
  .why-scene-flow span { padding: 5px 6px; font-size: 8px; }
  .why-scene-flow span + span::before { margin-right: 8px; }
  .conversion-map-shell { margin-top: 38px; border-radius: 14px; }
  .conversion-map thead { display: none; }
  .conversion-map,
  .conversion-map tbody,
  .conversion-map tr,
  .conversion-map td { display: block; width: 100%; }
  .conversion-map tbody tr { padding: 18px 20px; }
  .conversion-map td { padding: 0; }
  .conversion-map td:first-child { color: var(--ink); font-size: 13px; font-weight: 650; }
  .conversion-map td:last-child { margin-top: 7px; }
  .conversion-map td:last-child::before { content: "→"; margin-right: 8px; color: var(--accent-deep); }
  .mapping-note { text-align: left; }
  .converter-list > a { grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; }
  .converter-list small { display: none; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-links > div:last-child {
    grid-column: 1 / -1;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid #2e3b36;
  }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .why-scene-copy, .why-scene figure { opacity: 1; transform: none; }
  .service-steps li, .retention-note { opacity: 1; transform: none; }
  .service-conversion-example { opacity: 1; transform: none; }
  .service-steps::after { transform: none; }
}

@keyframes service-line-progress-mobile {
  to { transform: scaleY(1); }
}

/* Shared Markdown export landing pages */
.markdown-export-page .markdown-export-intro h1 span { color: var(--accent-deep); }
.markdown-export-flow { min-height: 420px; }
.markdown-export-flow .converter-heading { padding-inline: 4px; }
.markdown-export-flow .drop-zone { min-height: 286px; }
.markdown-export-flow .url-panel { margin-bottom: 0; }
.markdown-export-target {
  flex: 0 0 auto;
  min-width: 142px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-soft);
  text-align: right;
}
.markdown-export-target span,
.markdown-export-target b { display: block; }
.markdown-export-target span { color: var(--muted); font: 800 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.12em; }
.markdown-export-target b { margin-top: 6px; color: var(--ink); font-size: 11px; }
.markdown-source-modes {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.markdown-source-modes button {
  min-width: 0;
  min-height: 76px;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #45534d;
  background: #f8faf7;
  cursor: pointer;
  text-align: left;
  transition: color 0.18s, border-color 0.18s, background 0.18s, transform 0.18s;
}
.markdown-source-modes button:hover { border-color: var(--accent-deep); transform: translateY(-1px); }
.markdown-source-modes button > span {
  grid-row: 1 / 3;
  align-self: center;
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--accent-deep);
  background: #edf2ed;
  font: 800 8px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.06em;
}
.markdown-source-modes button b { min-width: 0; align-self: end; font-size: 12px; }
.markdown-source-modes button small { min-width: 0; overflow: hidden; color: var(--muted); font-size: 9px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.markdown-source-modes button.is-active {
  color: var(--ink);
  border-color: var(--accent-deep);
  background: #edf6e4;
  box-shadow: inset 0 -2px 0 var(--accent-deep);
}
.markdown-source-modes button.is-active > span { color: var(--accent); background: var(--ink); }
.markdown-source-modes button.is-active small { color: var(--muted); }
.markdown-paste-source {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper-soft);
}
.markdown-paste-heading { min-height: 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 0 2px 10px; }
.markdown-paste-heading label { font-size: 13px; font-weight: 740; }
.markdown-paste-heading span { color: var(--muted); font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.markdown-paste-source textarea {
  width: 100%;
  min-height: 250px;
  resize: vertical;
  padding: 20px;
  border: 1px solid #cbd3ce;
  border-radius: 8px;
  outline: none;
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(20, 32, 29, 0.03);
  font: 12px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  tab-size: 2;
}
.markdown-paste-source textarea:focus { border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(199, 243, 107, 0.42); }
.markdown-paste-source textarea::placeholder { color: #8b9691; }
.markdown-paste-source textarea:disabled { opacity: 0.76; }
.markdown-paste-source .primary-button { width: 100%; margin-top: 12px; }
.markdown-paste-source .primary-button:disabled { cursor: not-allowed; opacity: 0.42; transform: none; }
.markdown-paste-progress { padding: 4px 2px 2px; }
.markdown-file-source em {
  position: relative;
  z-index: 3;
  margin-top: 18px;
  color: #89948f;
  font: normal 8px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.markdown-url-source {
  min-height: 286px;
  padding: 28px;
  display: grid;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper-soft);
}
.markdown-url-source .url-panel { margin: 0; background: white; }
.markdown-url-source > p { max-width: 650px; margin: 13px auto 0; color: var(--muted); font-size: 10px; line-height: 1.5; text-align: center; }
.markdown-export-source-stage { min-height: 286px; }
.markdown-export-result { background: var(--paper-soft); }
.markdown-document-style-toolbar {
  min-height: 78px;
  padding: 13px 18px;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto auto auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.markdown-document-style-intro { min-width: 0; }
.markdown-document-style-intro span,
.markdown-document-style-intro strong,
.markdown-document-style-intro small { display: block; }
.markdown-document-style-intro span {
  color: var(--accent-deep);
  font: 800 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
}
.markdown-document-style-intro strong { margin-top: 7px; font-size: 11px; }
.markdown-document-style-intro small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.markdown-document-font-options,
.markdown-document-theme-options { display: flex; align-items: center; gap: 6px; }
.markdown-document-font-options button,
.markdown-document-theme-options button,
.markdown-document-style-reset {
  min-height: 34px;
  border: 1px solid var(--line);
  color: #53605b;
  background: #fafbfa;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s, transform 0.18s;
}
.markdown-document-font-options button:hover,
.markdown-document-theme-options button:hover,
.markdown-document-style-reset:hover:not(:disabled) { border-color: var(--accent-deep); transform: translateY(-1px); }
.markdown-document-font-options button {
  min-width: 66px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 700;
}
.markdown-document-font-options button > span { color: var(--ink); font-size: 12px; font-weight: 700; }
.markdown-document-font-options button.is-active {
  border-color: var(--accent-deep);
  color: var(--ink);
  background: #edf6e4;
  box-shadow: inset 0 -2px 0 var(--accent-deep);
}
.markdown-document-theme-options button {
  width: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.markdown-document-theme-options button > span {
  width: 18px;
  height: 18px;
  display: block;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.14);
}
.markdown-document-theme-options button.is-active {
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink);
}
.markdown-document-style-reset {
  padding: 0 11px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 730;
}
.markdown-document-style-reset:disabled { cursor: default; opacity: 0.42; }
.markdown-export-workspace {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 274px;
}
.markdown-result-editor {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #f3f4f6;
}
.markdown-workspace-heading {
  min-height: 66px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.markdown-workspace-heading > div { min-width: 0; }
.markdown-workspace-heading span,
.markdown-download-heading > span {
  display: block;
  color: var(--accent-deep);
  font: 800 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
}
.markdown-workspace-heading strong {
  max-width: 460px;
  margin-top: 7px;
  display: block;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.markdown-workspace-heading button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--ink);
  background: white;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.markdown-workspace-heading button:hover { border-color: var(--accent-deep); background: #f4f8f0; transform: translateY(-1px); }
.markdown-editor-scroll {
  max-height: 680px;
  flex: 1;
  overflow: auto;
  padding: 24px;
}
.markdown-document-editor {
  width: 794px;
  min-height: 1123px;
  margin-inline: auto;
  padding: 64px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  outline: none;
  color: var(--document-text, #1f2937);
  background: white;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
  font-family: var(--document-font, "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: break-word;
}
.markdown-document-editor.is-landscape { width: 1123px; min-height: 794px; }
.markdown-document-editor:focus { border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(199, 243, 107, 0.3), 0 12px 32px rgba(20, 32, 29, 0.07); }
.markdown-document-editor:empty::before { color: #96a09b; content: attr(data-placeholder); }
.markdown-document-editor h1,
.markdown-document-editor h2,
.markdown-document-editor h3,
.markdown-document-editor h4,
.markdown-document-editor h5,
.markdown-document-editor h6 { margin: 1.45em 0 0.55em; color: var(--document-heading, #111827); line-height: 1.2; }
.markdown-document-editor h1 { margin-top: 0; font-size: 32px; }
.markdown-document-editor h2 { font-size: 24px; }
.markdown-document-editor h3 { font-size: 19px; }
.markdown-document-editor h4 { font-size: 17px; }
.markdown-document-editor h5 { font-size: 15px; }
.markdown-document-editor h6 { font-size: 14px; }
.markdown-document-editor p { margin: 0 0 12px; }
.markdown-document-editor a { color: var(--document-accent, #0563c1); text-decoration: underline; text-underline-offset: 2px; pointer-events: none; }
.markdown-document-editor ul,
.markdown-document-editor ol { margin: 0 0 12px; padding-left: 1.7em; }
.markdown-document-editor li + li { margin-top: 0.28em; }
.markdown-document-editor blockquote { margin: 1.2em 0; padding: 11px 15px; border-left: 4px solid var(--document-accent, #9ca3af); color: #4b5563; background: var(--document-tint, #f9fafb); }
.markdown-document-editor code { padding: 0.15em 0.38em; border-radius: 4px; color: var(--document-text, #1f2937); background: var(--document-tint, #f3f4f6); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
.markdown-document-editor pre { max-width: 100%; overflow-x: auto; margin: 1.2em 0; padding: 16px 18px; border-radius: 7px; color: #f9fafb; background: #1f2937; line-height: 1.65; }
.markdown-document-editor pre code { padding: 0; color: inherit; background: transparent; }
.markdown-document-editor table { width: 100%; margin: 1.3em 0; border-collapse: collapse; font-size: 0.88em; }
.markdown-document-editor th,
.markdown-document-editor td { padding: 8px; border: 1px solid var(--document-border, #d1d5db); text-align: left; vertical-align: top; }
.markdown-document-editor th { color: var(--document-heading, #111827); background: var(--document-tint, #f3f4f6); }
.markdown-document-editor hr { margin: 1.8em 0; border: 0; border-top: 1px solid var(--document-border, #d1d5db); }
.markdown-document-editor .markdown-embedded-image { display: block; max-width: 100%; height: auto; margin: 1.2em auto; border: 1px solid #d1d5db; border-radius: 6px; }
.markdown-document-editor .markdown-image-placeholder { display: block; margin: 1.2em 0; padding: 12px 14px; border: 1px dashed #9ca3af; border-radius: 7px; color: #4b5563; background: #f9fafb; font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.markdown-document-editor .markdown-math { font-family: "STIX Two Math", "Cambria Math", "Times New Roman", serif; }
.markdown-document-editor .markdown-math-inline { display: inline-block; max-width: 100%; vertical-align: -0.14em; }
.markdown-document-editor .markdown-math-display { display: block; max-width: 100%; overflow-x: auto; margin: 1.25em 0; padding: 0.35em 0; text-align: center; }
.markdown-document-editor .markdown-math-display math { margin-inline: auto; }
.markdown-download-panel { min-width: 0; padding: 24px 20px; background: white; }
.markdown-download-heading h3 { margin: 10px 0 6px; font-size: 20px; letter-spacing: -0.035em; }
.markdown-download-heading p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.markdown-download-options { margin-top: 22px; display: grid; gap: 8px; }
.markdown-export-card.is-all-formats .markdown-export-workspace { grid-template-columns: 1fr; }
.markdown-export-card.is-all-formats .markdown-result-editor { border-right: 0; }
.markdown-export-card.is-all-formats .markdown-download-panel { border-top: 1px solid var(--line); }
.markdown-export-card.is-all-formats .markdown-download-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.markdown-download-options button {
  width: 100%;
  min-height: 58px;
  padding: 9px 11px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fafbfa;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.markdown-download-options button:hover { border-color: var(--accent-deep); background: #f4f8f0; transform: translateY(-1px); }
.markdown-download-options button:disabled { cursor: wait; opacity: 0.56; transform: none; }
.markdown-download-options button > span:first-child {
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--accent);
  background: var(--ink);
  font: 800 8px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.markdown-download-options button > span:nth-child(2) { min-width: 0; }
.markdown-download-options b,
.markdown-download-options small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.markdown-download-options b { font-size: 11px; }
.markdown-download-options small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.markdown-download-options i { color: var(--accent-deep); font-size: 15px; font-style: normal; }
.markdown-download-options button.is-primary { border-color: var(--accent-deep); background: #edf6e4; box-shadow: inset 0 -2px 0 var(--accent-deep); }
.markdown-export-result .markdown-compatibility { border-top: 1px solid var(--line); }
.markdown-export-service .service-inner { display: grid; gap: 72px; }
.markdown-export-example-wrap { min-width: 0; }
.service-steps.is-visible ~ .markdown-export-example-wrap .service-conversion-example {
  animation: service-example-enter 0.65s ease 0.22s forwards;
}
.markdown-to-document-example {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(20, 32, 29, 0.06);
}
.markdown-to-document-example .markdown-example { color: #dce6e0; background: var(--code); }
.markdown-to-document-example .source-example { background: #e9ede8; }
.markdown-to-document-example .conversion-direction { padding: 20px 2px; background: var(--paper-soft); }
.export-output-example { min-width: 0; }
.export-output-example .tool-source-preview,
.export-output-example .paper-preview { min-height: 321px; }
.export-document-preview {
  position: relative;
  width: calc(100% - 62px);
  min-height: 321px;
  margin: 31px;
  padding: 27px 29px 36px;
}
.export-document-preview > small {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-deep);
  font: 800 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
}
.export-document-preview strong { margin-bottom: 18px; font-size: 20px; }
.export-document-preview b { margin: 16px 0 9px; font-size: 12px; }
.export-document-preview p,
.export-document-preview li { color: #59645f; font-size: 10px; line-height: 1.55; }
.export-document-preview p { margin: 0; }
.export-document-preview ul { margin: 8px 0 12px; padding-left: 16px; }
.export-document-preview mark { padding: 0 2px; color: inherit; background: rgba(199, 243, 107, 0.55); }
.export-preview-code {
  display: block;
  margin: 10px 0;
  padding: 7px 9px;
  border-radius: 4px;
  color: #dce6e0;
  background: var(--code);
  font-size: 8px;
}
.export-preview-footnote { margin-top: 8px !important; padding-top: 7px; border-top: 1px solid #e2e6e3; font-size: 8px !important; }
.export-document-preview > em {
  position: absolute;
  right: 24px;
  bottom: 17px;
  color: #8b9691;
  font: 9px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.export-document-preview.is-fixed { border-top: 4px solid var(--accent-deep); }
.export-mini-table {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px;
  overflow: hidden;
  border: 1px solid #d9dfdb;
  border-radius: 4px;
}
.export-mini-table span { padding: 5px 7px; border-top: 1px solid #e2e6e3; color: #5c6863; font-size: 8px; }
.export-mini-table span:nth-child(-n + 2) { border-top: 0; color: var(--ink); background: #eef1ed; font-weight: 750; }
.export-mini-table span:nth-child(even) { border-left: 1px solid #e2e6e3; text-align: right; }
.export-html-preview {
  width: calc(100% - 48px);
  min-height: 321px;
  margin: 24px;
  overflow: hidden;
  border: 1px solid #cfd7d2;
  border-radius: 9px;
  background: white;
  box-shadow: 0 12px 24px rgba(20, 32, 29, 0.07);
}
.export-browser-bar { height: 32px; display: flex; align-items: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid #e0e5e1; background: #f4f6f3; }
.export-browser-bar i { width: 6px; height: 6px; border-radius: 50%; background: #bbc4be; }
.export-browser-bar i:first-child { background: var(--accent); }
.export-browser-bar span { margin-left: 5px; color: #7c8983; font: 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.export-html-preview article { padding: 25px 27px; }
.export-html-preview h3 { margin: 0 0 18px; font-size: 21px; letter-spacing: -0.04em; }
.export-html-preview h4 { margin: 0 0 8px; font-size: 12px; }
.export-html-preview p,
.export-html-preview li { color: #59645f; font-size: 10px; line-height: 1.55; }
.export-html-preview ul { margin: 8px 0 14px; padding-left: 16px; }
.export-html-preview blockquote,
.export-image-preview blockquote,
.export-epub-preview blockquote {
  margin: 10px 0;
  padding: 7px 9px;
  border-left: 3px solid var(--accent-deep);
  color: #53605b;
  background: #f1f5ef;
  font-size: 8px;
  line-height: 1.5;
}
.export-preview-link { color: var(--accent-deep); font-size: 8px; font-weight: 750; }
.export-image-preview {
  width: 56%;
  min-height: 321px;
  margin: 24px auto;
  padding: 12px;
  border-radius: 8px;
  background: #dfe6e1;
  box-shadow: 0 12px 24px rgba(20, 32, 29, 0.09);
}
.export-image-preview article { min-height: 297px; padding: 26px 23px 32px; background: white; }
.export-image-preview article > small { color: var(--accent-deep); font: 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.export-image-preview h3 { margin: 13px 0 20px; padding-bottom: 10px; border-bottom: 1px solid #dce2de; font-size: 19px; }
.export-image-preview h4 { margin: 0 0 8px; font-size: 11px; }
.export-image-preview p,
.export-image-preview li { color: #59645f; font-size: 8px; line-height: 1.55; }
.export-image-preview ul { margin: 8px 0 14px; padding-left: 15px; }
.export-epub-preview {
  width: calc(100% - 70px);
  min-height: 321px;
  margin: 24px 35px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 10px solid #23302c;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 12px 24px rgba(20, 32, 29, 0.12);
}
.epub-reader-bar { height: 34px; display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; padding: 0 10px; border-bottom: 1px solid #e2dfd6; color: #6a6c67; }
.epub-reader-bar b { overflow: hidden; font-size: 9px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.epub-reader-bar small { font: 9px Georgia, serif; text-align: right; }
.export-epub-preview article { flex: 1; padding: 26px 42px; font-family: Georgia, "Songti SC", serif; }
.export-epub-preview article > small { color: #8c7452; font: 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.export-epub-preview h3 { margin: 9px 0 20px; font-size: 20px; }
.export-epub-preview h4 { margin: 0 0 9px; font-size: 11px; }
.export-epub-preview p,
.export-epub-preview li { color: #575a56; font-size: 9px; line-height: 1.7; }
.export-epub-preview ul { padding-left: 17px; }
.epub-reader-progress { height: 4px; background: #ece9e0; }
.epub-reader-progress span { display: block; width: 38%; height: 100%; background: var(--accent-deep); }
.export-slides-preview {
  width: calc(100% - 48px);
  min-height: 321px;
  margin: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  align-content: center;
}
.export-slide-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 16px;
  border-radius: 7px;
  color: #e6eee9;
  background: #1b2924;
  box-shadow: 0 7px 15px rgba(20, 32, 29, 0.12);
}
.export-slide-thumb.is-title { grid-column: 1 / -1; width: 54%; margin-inline: auto; display: grid; place-items: center; text-align: center; }
.export-slide-thumb small { position: absolute; top: 8px; right: 9px; color: var(--accent); font: 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.export-slide-thumb strong { font-size: 15px; }
.export-slide-thumb b { font-size: 10px; }
.export-slide-thumb p { max-width: 90%; color: #aebdb5; font-size: 8px; line-height: 1.45; }
.export-slide-thumb ul { margin: 9px 0 0; padding-left: 13px; color: #aebdb5; font-size: 6px; line-height: 1.55; }
.export-slide-thumb .export-mini-table { margin-top: 9px; border-color: #42534b; }
.export-slide-thumb .export-mini-table span { padding: 4px; border-color: #42534b; color: #d7e2dc; background: transparent; font-size: 6px; }
.export-slide-thumb .export-mini-table span:nth-child(-n + 2) { color: var(--accent); background: #30443b; }
.export-sheet-preview {
  width: calc(100% - 48px);
  min-height: 321px;
  margin: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #cdd5d0;
  border-radius: 7px;
  background: white;
  box-shadow: 0 12px 24px rgba(20, 32, 29, 0.07);
}
.sheet-formula { height: 35px; display: flex; align-items: center; border-bottom: 1px solid #d8ded9; }
.sheet-formula span { padding: 0 12px; color: var(--accent-deep); font: italic 11px Georgia, serif; }
.sheet-formula code { flex: 1; padding: 6px 10px; border-left: 1px solid #d8ded9; color: #54605b; font-size: 9px; }
.export-sheet-grid { display: grid; grid-template-columns: 30px 1.7fr 0.8fr; flex: 1; }
.export-sheet-grid span { padding: 12px 8px; border-right: 1px solid #e0e5e1; border-bottom: 1px solid #e0e5e1; color: #59645f; font-size: 9px; }
.export-sheet-grid .is-heading { color: #3e4c46; background: #edf1ed; font-weight: 750; text-align: center; }
.sheet-tabs { display: flex; gap: 4px; padding: 7px 9px 0; background: #eef1ed; }
.sheet-tabs > * { padding: 6px 11px; color: #65716b; background: white; font-size: 8px; }
.sheet-tabs b { color: var(--ink); border-bottom: 2px solid var(--accent-deep); }
.export-example-mappings {
  max-width: 940px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-block: 1px solid var(--line-strong);
}
.export-example-mappings > div { min-width: 0; padding: 21px 18px; text-align: center; }
.export-example-mappings > div + div { border-left: 1px solid var(--line); }
.export-example-mappings code,
.export-example-mappings b { display: block; overflow-wrap: anywhere; }
.export-example-mappings code { min-height: 30px; color: var(--accent-deep); font-size: 10px; }
.export-example-mappings span { display: block; margin: 8px 0; color: #9aa49f; }
.export-example-mappings b { color: var(--ink); font-size: 11px; line-height: 1.45; }
.export-use-cases,
.related-export-section { padding-block: 100px; }
.export-use-cases { border-bottom: 1px solid var(--line); }
.export-use-case-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line-strong);
}
.export-use-case-grid article { min-width: 0; padding: 30px 32px 34px; }
.export-use-case-grid article + article { border-left: 1px solid var(--line); }
.export-use-case-grid article > span { color: var(--accent-deep); font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.1em; }
.export-use-case-grid h3 { margin: 17px 0 10px; font-size: 20px; letter-spacing: -0.035em; }
.export-use-case-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.export-use-case-grid p a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.export-use-case-grid p a:hover { color: var(--ink); }
.opposite-converter-link {
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-block: 1px solid var(--line-strong);
}
.opposite-converter-link > span { color: var(--muted); font-size: 13px; }
.opposite-converter-link > a { color: var(--accent-deep); font-size: 14px; font-weight: 760; }
.opposite-converter-link > a b { margin-left: 7px; }
.opposite-converter-link + .related-export-section { border-top: 0; }
.related-export-section { border-top: 1px solid var(--line); }
.related-export-links {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line-strong);
}
.related-export-links a { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; align-items: center; padding: 23px 20px; transition: background 0.18s, transform 0.18s; }
.related-export-links a + a { border-left: 1px solid var(--line); }
.related-export-links a:nth-child(3n + 1) { border-left: 0; }
.related-export-links a:nth-child(n + 4) { border-top: 1px solid var(--line); }
.related-export-links a:hover { background: rgba(255, 255, 255, 0.58); transform: translateY(-2px); }
.related-export-links a > span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; color: var(--accent); background: var(--ink); font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.related-export-links a[data-accent]::before { content: attr(data-accent); width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--accent); background: var(--ink); font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.related-export-links b { min-width: 0; font-size: 13px; line-height: 1.3; }
.related-export-links a[data-accent] b { font-size: 15px; line-height: 1.35; }
.chatgpt-hub-row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; padding: 20px 2px; border-bottom: 1px solid var(--line); }
.chatgpt-hub-row > div > a { display: inline-block; margin: 0 0 5px; color: inherit; font-size: 17px; font-weight: 760; letter-spacing: -0.025em; }
.chatgpt-hub-row > div > a::after { content: ""; position: absolute; inset: 0; }
.chatgpt-hub-row > div > p { max-width: 690px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.chatgpt-hub-row:hover { padding-inline: 14px; background: rgba(255, 255, 255, 0.52); }
.related-export-links small { color: var(--muted); font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.text-related-export-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.text-related-export-links a:nth-child(n) { border-left: 1px solid var(--line); border-top: 0; }
.text-related-export-links a:nth-child(odd) { border-left: 0; }
.text-related-export-links a:nth-child(n + 3) { border-top: 1px solid var(--line); }
.export-final-cta {
  margin-bottom: 100px;
  padding: 48px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 18px;
  color: white;
  background: var(--ink);
}
.export-final-cta h2 { max-width: 730px; margin: 10px 0 0; font-size: clamp(32px, 4vw, 50px); line-height: 1; letter-spacing: -0.055em; }
.export-final-cta .section-kicker { color: var(--accent); }
.export-final-cta .primary-button {
  flex: 0 0 auto;
  min-width: 180px;
  margin-top: 0;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--accent);
}
.markdown-export-page .faq-section { padding-block: 100px; }
.footer-links { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }

@media (max-width: 980px) {
  .markdown-export-workspace { grid-template-columns: 1fr; }
  .markdown-result-editor { border-right: 0; }
  .markdown-download-panel { border-top: 1px solid var(--line); }
  .markdown-download-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .markdown-to-document-example { grid-template-columns: 1fr; }
  .markdown-to-document-example .conversion-direction { flex-direction: row; justify-content: center; }
  .markdown-to-document-example .conversion-direction span { transform: rotate(90deg); }
  .export-example-mappings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .export-example-mappings > div:nth-child(4) { border-left: 0; }
  .export-example-mappings > div:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .related-export-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-export-links a:nth-child(n) { border-left: 1px solid var(--line); border-top: 0; }
  .related-export-links a:nth-child(odd) { border-left: 0; }
  .related-export-links a:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .capability-intro { grid-template-columns: minmax(0, 1fr) 200px; gap: 34px; }
  .capability-intro-main h2 { font-size: clamp(46px, 6.3vw, 64px); }
  .capability-handoff {
    grid-template-areas:
      "input transform result"
      "review review review";
    grid-template-columns: minmax(170px, 0.76fr) minmax(320px, 1.48fr) minmax(170px, 0.76fr);
    gap: 18px 12px;
  }
  .capability-side-panel { min-height: 410px; padding: 23px 17px 18px; }
  .capability-group-heading { gap: 10px; }
  .capability-group-heading h3 { font-size: 18px; }
  .capability-items { margin-top: 20px; }
  .capability-items li { grid-template-columns: 23px minmax(0, 1fr); gap: 8px; padding-block: 14px; }
  .capability-items.is-timeline li + li::before { left: 11px; top: -15px; height: 30px; }
  .capability-item-icon { width: 23px; height: 23px; }
  .capability-item-icon svg { width: 15px; height: 15px; }
  .capability-item-copy h4 { font-size: 11px; }
  .capability-item-copy p { margin-top: 5px; font-size: 9px; }
  .capability-transform-panel { width: 100%; justify-self: stretch; }
  .capability-flow { grid-template-columns: 72px 14px minmax(118px, 1fr) 14px 72px; gap: 4px; }
  .capability-flow-node > span { width: 72px; height: 120px; }
  .capability-flow-node > span svg { width: 44px; height: 44px; }
  .capability-flow-node b { margin-top: 9px; font-size: 9px; }
  .capability-flow-node small { font-size: 7px; }
  .capability-flow-arrow { width: 14px; height: 14px; }
  .capability-mapping { min-height: 245px; padding: 15px 10px; gap: 6px; }
  .capability-mapping > span { min-height: 34px; padding: 6px 8px; gap: 7px; font-size: 8px; }
  .capability-mapping > span svg { width: 14px; height: 14px; }
  .capability-transform-notes { gap: 6px; }
  .capability-transform-notes small { display: none; }
  .capability-review-panel { padding: 16px 18px; }
  .capability-review-panel .capability-items li { min-height: 70px; padding: 11px 14px; }
}

@media (max-width: 800px) {
  .markdown-export-card.is-all-formats .markdown-download-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .markdown-document-style-toolbar { grid-template-columns: 1fr auto; }
  .markdown-document-style-intro { grid-column: 1 / -1; }
  .markdown-document-font-options { justify-self: start; }
  .markdown-document-theme-options { justify-self: end; }
  .markdown-source-modes button { padding-inline: 11px; column-gap: 8px; }
  .markdown-source-modes button > span { min-width: 32px; height: 34px; }
  .markdown-source-modes button small { display: none; }
  .markdown-url-source { padding: 18px; }
  .markdown-export-service .service-inner { gap: 52px; }
  .export-use-cases,
  .related-export-section,
  .markdown-export-page .faq-section { padding-block: 76px; }
  .capability-section { padding-block: 76px; }
  .export-use-case-grid { grid-template-columns: 1fr; }
  .export-use-case-grid article + article { border-top: 1px solid var(--line); border-left: 0; }
  .export-final-cta { margin-bottom: 76px; padding: 38px 34px; align-items: flex-start; flex-direction: column; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .capability-section { width: min(100% - 28px, 1400px); }
  .capability-intro { grid-template-columns: 1fr; gap: 14px; }
  .capability-intro-main h2 { font-size: clamp(38px, 12vw, 52px); }
  .capability-manifesto { padding-top: 4px; }
  .capability-manifesto i,
  .capability-manifesto span { display: none; }
  .capability-side-panel { min-height: 0; padding: 26px 21px 20px; }
  .capability-handoff { grid-template-areas: "input" "transform" "result" "review"; grid-template-columns: 1fr; gap: 20px; }
  .capability-transform-panel { width: 100%; padding-top: 6px; }
  .capability-flow { grid-template-columns: 1fr; justify-items: center; gap: 10px; }
  .capability-flow-arrow { transform: rotate(90deg); }
  [dir="rtl"] .capability-flow-arrow { transform: rotate(90deg); }
  .capability-mapping { width: min(100%, 300px); }
  .capability-transform-notes { grid-template-columns: 1fr; }
  .capability-review-panel { padding: 18px 15px; }
  .capability-review-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .capability-review-panel .capability-items { grid-template-columns: 1fr; }
  .capability-review-panel .capability-items li { padding: 13px 14px; }
  .capability-footer { grid-template-columns: 1fr; gap: 11px; }
  .capability-footer-rule,
  .capability-footer > b { display: none; }
  .capability-footer > p { margin-top: 0; }
  .opposite-converter-link { align-items: flex-start; flex-direction: column; gap: 8px; }
  .markdown-document-style-toolbar { grid-template-columns: 1fr; gap: 12px; }
  .markdown-document-style-intro { grid-column: auto; }
  .markdown-document-font-options,
  .markdown-document-theme-options { justify-self: stretch; }
  .markdown-document-font-options button { flex: 1; }
  .markdown-document-theme-options { justify-content: space-between; }
  .markdown-document-style-reset { width: 100%; }
  .markdown-export-target { min-width: 0; padding: 8px 10px; }
  .markdown-source-modes { grid-template-columns: 1fr; }
  .markdown-source-modes button { min-height: 58px; }
  .markdown-source-modes button small { display: block; }
  .markdown-paste-heading { flex-direction: column; gap: 4px; }
  .markdown-paste-source textarea { min-height: 230px; padding: 17px; }
  .markdown-url-source { min-height: 240px; padding: 12px; }
  .markdown-export-flow .drop-zone,
  .markdown-export-source-stage { min-height: 240px; }
  .markdown-workspace-heading { align-items: flex-start; }
  .markdown-editor-scroll { padding: 12px; }
  .markdown-document-editor { min-height: 1123px; padding: 64px; }
  .markdown-document-editor.is-landscape { min-height: 794px; }
  .markdown-download-panel { padding: 22px 16px; }
  .markdown-download-options { grid-template-columns: 1fr; }
  .markdown-export-card.is-all-formats .markdown-download-options { grid-template-columns: 1fr; }
  .markdown-to-document-example { border-radius: 14px; }
  .export-document-preview { width: calc(100% - 36px); margin: 18px; padding: 23px 20px 32px; }
  .export-html-preview,
  .export-image-preview,
  .export-epub-preview,
  .export-slides-preview,
  .export-sheet-preview { width: calc(100% - 36px); margin: 18px; }
  .export-slide-thumb { padding: 12px; }
  .export-example-mappings { grid-template-columns: 1fr; }
  .export-example-mappings > div { padding: 17px 0; text-align: left; }
  .export-example-mappings > div + div,
  .export-example-mappings > div:nth-child(n + 4) { border-top: 1px solid var(--line); border-left: 0; }
  .export-example-mappings code,
  .export-example-mappings b,
  .export-example-mappings span { display: inline; min-height: 0; }
  .export-example-mappings span { margin: 0 8px; }
  .export-use-case-grid article { padding-inline: 0; }
  .related-export-links { grid-template-columns: 1fr; }
  .related-export-links a + a,
  .related-export-links a:nth-child(n + 3) { border-top: 1px solid var(--line); border-left: 0; }
  .export-final-cta { width: min(100% - 28px, 1120px); padding: 32px 24px; border-radius: 14px; }
  .footer-links > div:last-child { grid-column: auto; margin-top: 0; padding-top: 0; border-top: 0; }
}
