/* Proofs and upload illustrations: content fits; controls keep their real size. */
.dropzone .file-glyph,
body[data-home-page][data-home-page] .dropzone .file-glyph {
  width: 76px; height: 78px; transform: none; animation: none;
}
.dropzone .file-glyph-sheet { left: 19px; top: 10px; width: 42px; height: 55px; border-width: 1px; border-radius: 6px; box-shadow: 0 4px 10px #30241412; }
.dropzone .file-glyph-sheet::after { width: 12px; height: 12px; top: -1px; right: -1px; border-width: 1px; }
.dropzone .file-glyph-sheet > span { width: 21px; height: 2px; box-shadow: 0 7px 0 var(--ink-soft), 0 14px 0 var(--green); }
.dropzone .file-glyph-source { transform: translate(-5px, -1px) rotate(-5deg); }
.dropzone .file-glyph-markdown { transform: translate(5px, 3px) rotate(5deg); }
.dropzone:is(:hover,:focus-within,.is-active,.has-selection) .file-glyph-source,
.dropzone.has-selection:is(:hover,:focus-within) .file-glyph-source { transform: translate(-10px, -2px) rotate(-8deg); }
.dropzone:is(:hover,:focus-within,.is-active,.has-selection) .file-glyph-markdown,
.dropzone.has-selection:is(:hover,:focus-within) .file-glyph-markdown { transform: translate(8px, 3px) rotate(7deg); }
.dropzone .file-glyph-arrow { right: 0; bottom: 6px; font-size: 1.1rem; }
.dropzone.has-selection .file-glyph-arrow { right: 0; bottom: 4px; width: 24px; height: 24px; border-width: 2px; box-shadow: none; }
.dropzone.has-selection .file-glyph-arrow::before { font-size: .8rem; }
body[data-home-page][data-home-page] .dropzone { grid-template-columns: 76px minmax(0,1fr); overflow: visible; }
body[data-home-page][data-home-page] .dropzone.has-selection .drop-subtitle { max-width: 100%; padding: 0; border: 0; border-radius: 0; background: none; font-weight: 500; }
body[data-home-page][data-home-page] .dropzone.has-selection { height: auto; max-height: none; box-shadow: none; }
.dropzone .drop-flow { flex-wrap: wrap; max-width: 100%; }
body[data-home-page][data-home-page] .proof-stage { border: 1px solid #dcd8cd; background: #f8f6ee; }
body[data-home-page][data-home-page] .proof-panel { height: 100%; max-height: 100%; overflow: hidden; animation: none; }
body[data-home-page][data-home-page] .proof-panel-original { display: block; padding: 12px; }
body[data-home-page][data-home-page] .proof-panel-original figure { display: flex; flex-direction: column; justify-content: center; gap: 10px; width: 100%; height: 100%; min-height: 0; padding: 0; transform: none; }
body[data-home-page][data-home-page] .proof-panel-original img { flex: 1; min-height: 0; width: 100%; object-fit: contain; box-shadow: none; }
body[data-home-page][data-home-page] .proof-panel-original figcaption { flex: 0; margin: 0; font-size: .58rem; }
body[data-home-page][data-home-page] .proof-panel-markdown { padding: 0; background: #faf8f1; }
body[data-home-page][data-home-page] .proof-panel-markdown .code-frame { display: flex; flex-direction: column; height: 100%; margin: 0; border: 0; border-radius: 0; background: #faf8f1; }
body[data-home-page][data-home-page] .proof-panel-markdown .code-toolbar { flex: 0 0 auto; padding: 5px 10px; background: #f0ede4; border-bottom: 1px solid #e3ded2; }
body[data-home-page][data-home-page] .proof-panel-markdown .code-scroll { flex: 1; min-height: 0; position: relative; overflow: visible; overscroll-behavior: auto; padding: 20px; background: #faf8f1; }
body[data-home-page][data-home-page] .proof-panel-markdown pre.copyable-code { position: static; width: 100%; max-width: 100%; max-height: none; margin: 0; padding: 0; overflow: visible; transform: none; background: transparent; color: #403c33; white-space: pre-wrap; overflow-wrap: anywhere; }
body[data-home-page][data-home-page] .proof-panel-markdown code { display: block; font: 450 14px/1.7 var(--mono); color: #403c33; white-space: pre-wrap; overflow-wrap: anywhere; }
body[data-home-page][data-home-page] .proof-panel-bundle { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 14px; background: #f7f5ed; color: var(--ink); }
body[data-home-page][data-home-page] .bundle-receipt { gap: 4px; padding-bottom: 10px; border-color: #ddd7c9; }
body[data-home-page][data-home-page] .bundle-receipt :is(span,small) { color: #746a5d; font-size: .65rem; }
body[data-home-page][data-home-page] .bundle-receipt strong { color: var(--green); font-size: .8rem; }
body[data-home-page][data-home-page] .proof-panel-bundle ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
body[data-home-page][data-home-page] .proof-panel-bundle li { padding: 7px; border-color: #e3ddcf; border-radius: 4px; color: #5e594e; font-size: .62rem; }
body[data-home-page][data-home-page] .proof-panel-bundle a { width: 100%; min-height: 36px; padding: 6px 10px; border: 1px solid #cdd6c7; background: #e9eee3; color: var(--green); font-size: .7rem; }
.proof-expand { display: block; width: fit-content; min-height: 36px; margin: 8px 0 0 auto; padding: 4px 0 4px 12px; border: 0; background: transparent; color: #686051; font: 500 .7rem var(--sans); cursor: pointer; }
.proof-expand:hover { color: var(--signal-strong); }
body[data-home-page][data-home-page] .proof-card:first-child .proof-expand { grid-column: 2; }
.proof-example-dialog { width: min(1000px,calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 18px; border: 1px solid #d8d0c1; border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 90px #30271930; }
.proof-example-dialog::backdrop { background: #28251f60; backdrop-filter: blur(4px); }
.proof-example-close { display: block; min-height: 44px; margin-left: auto; padding: 8px 14px; border: 1px solid #dfd9cd; border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer; }
.proof-example-dialog .proof-expanded-content { height: auto; max-height: none; padding: 16px 0 0; background: none; color: var(--ink); overflow: visible; animation: none; }
.proof-example-dialog .code-scroll { max-height: 70dvh; }
.proof-example-dialog .proof-expanded-content figure { width: 100%; margin: 0; transform: none; }
.proof-example-dialog img { max-height: 70dvh; object-fit: contain; box-shadow: none; }
.proof-example-dialog .proof-panel-bundle { background: #f0eee5; padding: 20px; border-radius: 8px; }
.proof-example-dialog .bundle-receipt :is(span,small), .proof-example-dialog .proof-panel-bundle li { color: #5f584c; }
.proof-example-dialog .bundle-receipt strong { color: var(--green); }
.proof-example-dialog .proof-panel-bundle li { border-color: #d9d3c5; }
body[data-home-page][data-home-page] .capability-group-summary { position: relative; transition: border-color 180ms ease; }
body[data-home-page][data-home-page] .capability-group-summary::after { position: absolute; content: ''; top: -1px; left: 0; width: 24px; height: 1px; background: var(--green); transition: width 240ms ease; }
body[data-home-page][data-home-page] .capability-group-summary:hover::after { width: 100%; }
body[data-home-page][data-home-page] .access-method-summary { border-color: #ded8c9; border-radius: 8px; box-shadow: none; transition: background-color 180ms ease, border-color 180ms ease; }
body[data-home-page][data-home-page] .access-method-summary:hover { background: #f0eee3; border-color: #9fac97; transform: none; }
body[data-home-page][data-home-page] .home-plan-card-pro .home-plan-copy > a { background: var(--green); color: var(--surface); border-color: var(--green); }
@media(max-width:760px) {
  body[data-home-page][data-home-page] .dropzone { grid-template-columns: 64px minmax(0,1fr); column-gap: 12px; }
  body[data-home-page][data-home-page] .dropzone .file-glyph { width: 64px; transform: scale(.85); transform-origin: left center; }
  body[data-home-page][data-home-page] .proof-card:first-child .proof-expand { grid-column: 1; }
  .proof-example-dialog { padding: 12px; }
}
@media(prefers-reduced-motion:reduce) {
  .dropzone .file-glyph-sheet, .dropzone .file-glyph-arrow { transition: none; }
  body[data-home-page][data-home-page] .capability-group-summary::after { transition: none; }
}
body[data-home-page][data-home-page] .proof-panel[hidden] { display: none !important; }
body[data-home-page][data-home-page] .proof-panel-markdown .copy-button { color: #5b6255; border: 0; background: transparent; }
body[data-home-page][data-home-page] .proof-panel-markdown .copy-button:hover { color: var(--green); background: #e4e9dd; }
/* Extend the same compact conversion desk to the format-specific tools. */
body[data-converter-page] .upload-panel { width: min(760px,100%); padding: 20px; border: 0; border-radius: 14px; box-shadow: 0 14px 40px -24px #42311e38; }
body[data-converter-page] .dropzone { display: grid; grid-template-columns: 76px minmax(0,1fr); grid-template-rows: auto auto; justify-items: start; align-items: center; align-content: center; column-gap: 22px; row-gap: 6px; min-height: 148px; padding: 22px 28px; border: 1px dashed #b7c4ad; border-radius: 9px; background: #f4f5ef; text-align: left; box-shadow: none; transform: none; }
body[data-converter-page] .dropzone:hover, body[data-converter-page] .dropzone.is-active { background: #eef1e6; border-color: var(--green); transform: none; box-shadow: none; }
body[data-converter-page] .dropzone .file-glyph { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
body[data-converter-page] .dropzone .drop-title { grid-column: 2; font-size: 1.45rem; line-height: 1.25; }
body[data-converter-page] .dropzone :is(.drop-subtitle,.drop-flow) { grid-column: 2; max-width: 100%; font-size: .875rem; line-height: 1.5; }
body[data-converter-page] .dropzone.has-selection { background: #eef1e6; border-style: solid; }
body[data-converter-page] .dropzone.has-selection .drop-subtitle { padding: 0; border: 0; background: none; font-weight: 500; }
body[data-converter-page] .upload-controls .primary-action { min-height: 46px; border-radius: 7px; font-size: 1rem; box-shadow: none; }
body[data-converter-page][data-converter-page] .hero-client-strip { background: none; box-shadow: none; border: 0; gap: 0; }
body[data-converter-page][data-converter-page] .hero-client-strip a { border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 6px 12px; transform: none; }
body[data-converter-page][data-converter-page] .hero-client-strip a + a { border-left: 1px solid #ded8c9; }
body[data-converter-page][data-converter-page] .hero-client-strip a:hover { color: var(--signal-strong); }
body[data-converter-page] .url-fetch-row :is(input,button) { min-height: 46px; border-radius: 7px; font-size: 1rem; box-shadow: none; }
body[data-pricing-page] .pricing-page .monthly-plan-grid .plan-price { min-height: 96px; align-content: start; align-items: baseline; }
body.oauth-consent-page { background: var(--paper); }
.oauth-consent-card { border-color: #ded8c9; border-radius: 12px; box-shadow: 0 18px 50px -30px #42311e38; }
.oauth-consent-card h1 { font-size: clamp(2.2rem,4vw,3.3rem); line-height: 1.06; letter-spacing: -.025em; }
.oauth-consent-card :is(.oauth-account-chip,.oauth-permissions li) { border-color: #ded8c9; border-radius: 8px; box-shadow: none; }
.code-frame .syntax-url { color: #954821; }
.code-frame .syntax-variable { color: #6f4e77; }
body[data-home-page] .code-frame .syntax-comment { color: #39604a; }
body[data-home-page] .code-frame .syntax-string { color: #39604a; }
body[data-home-page] .code-frame .syntax-keyword { color: #954821; }
@media(max-width:760px) {
  body[data-converter-page] .upload-panel { padding: 16px; }
  body[data-converter-page] .dropzone { grid-template-columns: 64px minmax(0,1fr); column-gap: 12px; padding: 20px 14px; }
  body[data-converter-page] .dropzone .file-glyph { width: 64px; transform: scale(.85); transform-origin: left center; }
  body[data-converter-page] .dropzone .drop-title { font-size: 1.25rem; }
  body[data-converter-page][data-converter-page] .hero-client-strip a { padding-inline: 8px; }
}
.app-page [data-account-section] { scroll-margin-top: 140px; }
.app-page .account-overview .ghost-action { box-shadow: none; }
.app-page .developer-setup .connection-workspace { background: transparent; border: 0; padding: 0; box-shadow: none; }
.app-page .developer-setup .connection-tabs { padding: 0; border: 0; background: none; box-shadow: none; }
.review-workbench-dialog .review-pane-tabs button[aria-pressed="true"] { color: var(--ink); background: #e9e6db; }
@media(max-width:720px) {
  :is(body[data-docs-page] .docs-page,.app-page .developer-setup) .connection-tabs,
  :is(body[data-docs-page] .docs-page,.app-page .developer-setup) .connection-tabs:has([data-connection-tab][aria-selected="true"]) { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  :is(body[data-docs-page] .docs-page,.app-page .developer-setup) .connection-tabs [role="tab"][aria-selected] { min-height: 118px; padding: 12px 10px; gap: 7px; }
  :is(body[data-docs-page] .docs-page,.app-page .developer-setup) .connection-tabs [role="tab"] strong { font-size: .76rem; line-height: 1.35; }
  :is(body[data-docs-page] .docs-page,.app-page .developer-setup) .connection-tabs [role="tab"] .connection-method-detail { display: none; }
  body[data-pricing-page] .pricing-page .monthly-plan-grid .plan-price { min-height: 0; }
}
body.source-page .faq-section { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 0 56px; align-items: start; }
body.source-page .faq-section > .section-heading { grid-column: 1; grid-row: 1 / span 3; display: block; margin: 0; }
body.source-page .faq-section > details { grid-column: 2; margin: 0; padding: 0; border: 0; border-bottom: 1px solid #ded8c9; background: transparent; }
body.source-page .faq-section summary { position: relative; min-height: 64px; padding: 20px 32px 20px 0; list-style: none; font-size: 1rem; font-weight: 550; line-height: 1.5; cursor: pointer; }
body.source-page .faq-section summary::-webkit-details-marker { display: none; }
body.source-page .faq-section summary::after { position: absolute; right: 6px; top: 22px; content: '+'; color: var(--green); font: 400 20px/1 var(--sans); transition: transform 180ms ease; }
body.source-page .faq-section details[open] summary::after { transform: rotate(45deg); }
body.source-page .faq-section details p { margin: 0; padding: 0 24px 22px 0; color: #6c6257; font-size: .94rem; line-height: 1.75; }
@media(max-width:760px) {
  body.source-page .faq-section { grid-template-columns: 1fr; gap: 20px 0; }
  body.source-page .faq-section > .section-heading { grid-column: 1; grid-row: auto; }
  body.source-page .faq-section > details { grid-column: 1; }
}
@media(prefers-reduced-motion:reduce) { body.source-page .faq-section summary::after { transition: none; } }

/* Readable evidence: normal-size text determines the space it needs. */
body[data-home-page][data-home-page] .proof-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
body[data-home-page][data-home-page] .proof-card,
body[data-home-page][data-home-page] .proof-card:first-child { display: flex; flex-direction: column; grid-column: auto; padding: 26px; gap: 0; background: #f9f7ef; }
body[data-home-page][data-home-page] .proof-card:first-child .proof-card-header { gap: 12px; }
body[data-home-page][data-home-page] .proof-card h3,
body[data-home-page][data-home-page] .proof-card:first-child h3 { font-size: clamp(1.7rem,2.6vw,2.3rem); line-height: 1.15; text-wrap: balance; }
body[data-home-page][data-home-page] .proof-card .proof-summary,
body[data-home-page][data-home-page] .proof-card:first-child .proof-summary { min-height: 3.2em; max-width: none; margin: 16px 0 24px; font-size: .94rem; }
body[data-home-page][data-home-page] .proof-card .proof-tabs,
body[data-home-page][data-home-page] .proof-card:first-child .proof-tabs { align-self: stretch; margin: 0 0 16px; }
body[data-home-page][data-home-page] .proof-tabs button { font-size: .82rem; }
body[data-home-page][data-home-page] .proof-card .proof-stage,
body[data-home-page][data-home-page] .proof-card:first-child .proof-stage { height: auto; min-height: 430px; overflow: clip; display: grid; flex: 1; }
body[data-home-page][data-home-page] .proof-panel { height: auto; max-height: none; overflow: visible; min-height: 430px; }
body[data-home-page][data-home-page] .proof-panel-original figure { min-height: 404px; height: 100%; }
body[data-home-page][data-home-page] .proof-panel-original img { flex: none; height: auto; max-height: 380px; width: 100%; }
body[data-home-page][data-home-page] .proof-panel-original figcaption { font-size: .68rem; line-height: 1.5; }
body[data-home-page][data-home-page] .proof-panel-bundle { padding: 24px; }
body[data-home-page][data-home-page] .bundle-receipt :is(span,small) { font-size: .8rem; }
body[data-home-page][data-home-page] .bundle-receipt strong { font-size: 1.2rem; }
body[data-home-page][data-home-page] .proof-panel-bundle li { font-size: .75rem; overflow-wrap: anywhere; padding: 12px 8px; }
body[data-home-page][data-home-page] .proof-panel-bundle a { font-size: .82rem; min-height: 44px; }
body[data-home-page][data-home-page] .proof-expand { min-height: 44px; font-size: .8rem; }
.code-scroll { overscroll-behavior-block: auto; }
.proof-readable { color: #403c33; font: 400 14px/1.65 var(--sans); overflow-wrap: anywhere; }
.proof-readable h4 { margin: 0 0 18px; font: 600 1.25rem/1.35 var(--sans); color: var(--ink); }
.proof-readable p { margin: 12px 0; font: inherit; color: inherit; }
.proof-readable img { display: block; width: 100%; height: auto; max-height: 240px; object-fit: contain; margin: 20px auto; }
.proof-readable table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 16px 0; font: inherit; }
.proof-readable :is(th,td) { padding: 9px 6px; text-align: left; vertical-align: top; border-bottom: 1px solid #dcded2; font: inherit; overflow-wrap: anywhere; }
.proof-readable th { color: var(--green); font-weight: 600; background: #eef0e5; }
.proof-markdown-source { margin-top: 20px; border-top: 1px solid #deded1; }
.proof-markdown-source summary { padding: 14px 0; cursor: pointer; color: #5b6650; font: 500 .8rem/1.5 var(--sans); }
.proof-markdown-source[open] > pre { margin-top: 10px !important; }
body[data-home-page][data-home-page] #access-methods .access-methods-heading { max-width: 1000px; }
body[data-home-page][data-home-page] #access-methods .access-methods-heading h2 { max-width: none; font-size: clamp(2rem,3.4vw,3rem); line-height: 1.1; }
body[data-home-page][data-home-page] .proof-panel:not([hidden]) { animation: proof-readable-enter 220ms cubic-bezier(.16,1,.3,1); }
@keyframes proof-readable-enter { from { opacity: .65; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media(prefers-reduced-motion:reduce) { body[data-home-page][data-home-page] .proof-panel:not([hidden]) { animation: none; } }
@media(max-width:760px) {
  body[data-home-page][data-home-page] .proof-grid { grid-template-columns: 1fr; }
  body[data-home-page][data-home-page] .proof-card,
  body[data-home-page][data-home-page] .proof-card:first-child { padding: 18px; }
  body[data-home-page][data-home-page] .proof-panel-markdown .code-scroll { padding: 16px; }
  body[data-home-page][data-home-page] .proof-card .proof-summary,
  body[data-home-page][data-home-page] .proof-card:first-child .proof-summary { min-height: 0; }
}
