/* Shared tool pages use the same neutral surfaces as the reader. */
:root,body{background:#f5f4f1}
.tool-site{min-height:100vh;background:#f5f4f1;color:#1c1b19;--tool-ink:#1c1b19;--tool-muted:#5f5c56;--tool-line:#d9d7d2;--tool-blue:#a33a2e}
.tool-shell{width:min(1040px,calc(100% - 48px));margin:0 auto}
.tool-header{height:68px;border-bottom:1px solid var(--tool-line);display:flex;align-items:center;justify-content:space-between;gap:16px}
.tool-header .brand{color:var(--tool-ink);font-size:18px}.tool-header .brand b{color:var(--tool-muted)}
.tool-header-right{display:flex;align-items:center;gap:20px;font-size:14px;font-weight:650}.tool-header-right>a{display:inline-flex;align-items:center;min-height:44px}
.tool-header-right>a:hover,.tool-footer a:hover{color:var(--tool-blue);text-decoration:underline;text-underline-offset:3px}
.tool-main{max-width:820px;padding-top:32px}
.tool-intro{color:var(--tool-muted);font-size:14px}.tool-intro>a{text-decoration:underline;text-underline-offset:3px}
.tool-intro h1{font:750 clamp(30px,4vw,44px)/1.15 Manrope,system-ui,sans-serif;color:var(--tool-ink);letter-spacing:-.04em;margin:14px 0 12px}
.tool-intro p{color:var(--tool-muted);font-size:16px;line-height:1.6;margin:0 0 24px;max-width:65ch}
.tool-workspace{background:#fff;color:var(--tool-ink);border:1px solid var(--tool-line);border-radius:12px;overflow:hidden}
.tool-empty{text-align:center;padding:36px 24px}
.paper-glyph{width:50px;height:62px;margin:0 auto 20px;background:#f5f4f1;border:1px solid #c9c6bf;border-radius:4px;display:flex;align-items:end;justify-content:center;padding-bottom:9px;font-weight:800;letter-spacing:.04em;font-size:12px;color:var(--tool-muted)}
.tool-button{display:inline-flex;align-items:center;justify-content:center;background:#292826;color:#fff;border:1px solid #292826;border-radius:7px;padding:12px 22px;font:750 15px/1.4 Manrope,system-ui,sans-serif;cursor:pointer;min-height:48px;text-align:center}
.tool-button:hover{background:#484642}.tool-button:disabled{opacity:.55;cursor:wait}
.tool-empty p{font-size:14px;color:var(--tool-muted);margin:14px 0 0}
.file-input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.file-input:focus-visible{position:fixed;top:8px;left:8px;z-index:10;width:auto;height:auto;clip-path:none;background:#fff;color:var(--tool-ink);padding:8px}
.tool-form{padding:24px;min-width:0}.tool-list-heading{display:flex;justify-content:space-between;align-items:center;font-size:14px;gap:12px}
.tool-text-button{border:0;background:transparent;color:var(--tool-muted);font:650 14px/1.4 Manrope,system-ui,sans-serif;cursor:pointer;padding:8px;min-height:44px}
.tool-text-button:hover{color:var(--tool-ink);text-decoration:underline;text-underline-offset:3px}
.tool-files{list-style:none;margin:14px 0 24px;padding:0;border-top:1px solid var(--tool-line)}
.tool-files li{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--tool-line);min-height:57px;font-size:14px}
.file-number{color:var(--tool-muted);font-size:12px}.file-name{flex:1;min-width:0;overflow-wrap:anywhere}.file-controls{display:flex;gap:2px}
.file-controls button,.file-remove{border:0;background:transparent;color:var(--tool-ink);font-size:18px;min-width:40px;min-height:44px;cursor:pointer;border-radius:5px}
.file-controls button:hover,.file-remove:hover{background:#eeede9}.file-controls button:disabled{opacity:.35;cursor:default}
.tool-field{margin:0 0 22px}.tool-field label{display:block;font-size:14px;font-weight:750;margin-bottom:8px}
.tool-field input,.tool-field select{display:block;min-width:0;width:100%;border:1px solid #a7a39a;border-radius:6px;background:#fff;padding:11px;color:var(--tool-ink);font:inherit;font-size:16px}
.tool-field small{display:block;margin-top:8px;color:var(--tool-muted);font-size:14px;line-height:1.5}.tool-submit{width:100%}
.tool-error{color:#9a2525;font-size:14px;line-height:1.5}.tool-success{color:#175d43;font-size:14px;line-height:1.5}
.tool-success a{color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.tool-privacy{border-top:1px solid var(--tool-line);background:#f0efeb;padding:18px 24px;font-size:14px;line-height:1.6}
.tool-privacy p{color:var(--tool-muted);margin:8px 0 0}
.tool-related{padding:28px 0 36px}.tool-related h2{font:750 20px/1.3 Manrope,system-ui,sans-serif;letter-spacing:-.025em}
.tool-related>div{display:flex;flex-wrap:wrap;gap:8px}
.tool-related a{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;border:1px solid var(--tool-line);background:#fff;border-radius:7px;padding:10px 12px;font-size:14px;color:var(--tool-ink)}
.tool-related a:hover{background:#eeede9;border-color:#b9b5ac}.tool-related a span{color:var(--tool-muted)}
.tool-footer{border-top:1px solid var(--tool-line);display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;padding-bottom:20px;color:var(--tool-muted);font-size:14px}.tool-footer a{display:inline-flex;align-items:center;min-height:44px}
.tool-site :focus-visible{outline:3px solid var(--tool-blue);outline-offset:3px}
@media(max-width:600px){.tool-shell{width:calc(100% - 32px)}.tool-header{height:60px}.tool-header .brand{font-size:17px}.tool-main{padding-top:20px}.tool-intro h1{font-size:30px}.tool-form{padding:20px}.tool-privacy{padding:16px 20px}.tool-empty{padding:28px 20px}.tool-related{padding:24px 0}.tool-footer{flex-wrap:wrap;font-size:13px}.file-controls button,.file-remove{min-width:36px}}

/* Keep the upload caption with its centred control. */
.tool-empty > p:not([role]) { text-align: center; text-wrap: pretty; }
@media (max-width: 600px) {
  .tool-intro h1 { text-wrap: balance; }
  .tool-intro p { text-wrap: pretty; }
}

@media (min-width: 601px) {
  .tool-site p:not([role]), .tool-field small { text-wrap: pretty; }
}

.hub-site { font: 16px/1.5 Manrope,system-ui,sans-serif; }
.hub-shell { width: min(1160px,calc(100% - 64px)); margin-inline: auto; }
.hub-site h1,.hub-site h2,.hub-site h3,.hub-site p { overflow-wrap: anywhere; }
.hub-site .brand-mark { width: 30px; height: 30px; }
.hub-site .brand { font-size: 18px; }
.hub-site .tool-header { height: 64px; }
.hub-site .tool-header-right { gap: 24px; }
.hub-site .tool-header-right a { gap: 6px; }
.hub-site .tool-header-right [aria-current="page"] { color: var(--tool-blue); }
.hub-intro { padding-block: 16px 12px; }
.hub-eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 750; color: var(--tool-blue); }
.hub-intro h1 { margin: 0; font-size: clamp(32px,3.2vw,42px); line-height: 1.12; letter-spacing: -.045em; font-weight: 750; }
.hub-intro h1 span { white-space: nowrap; }
.hub-intro > .hub-eyebrow { margin-bottom: 4px; }
.hub-intro > p:last-child { margin: 8px 0 0; color: var(--tool-muted); font-size: 16px; line-height: 1.5; }
.hub-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hub-search-row { display: flex; align-items: center; gap: 16px; }
.hub-search { display: flex; flex: 1; align-items: center; gap: 12px; max-width: 620px; min-width: 0; min-height: 44px; padding-inline: 14px 4px; border: 1px solid #8b877e; border-radius: 8px; background: #fff; color: var(--tool-muted); }
.hub-search > svg { flex: none; }
.hub-search input { min-width: 0; flex: 1; min-height: 42px; padding: 8px 0; border: 0; background: transparent; color: var(--tool-ink); font: inherit; font-size: 16px; }
.hub-search input::-webkit-search-cancel-button { appearance: none; }
.hub-search:focus-within { outline: 2px solid var(--tool-blue); outline-offset: 2px; }
.hub-search input:focus-visible { outline: none; }
.hub-search button { border: 0; background: transparent; color: var(--tool-muted); width: 44px; height: 44px; font: inherit; font-size: 24px; cursor: pointer; }
.hub-search-row > p { margin: 0; color: var(--tool-muted); font-size: 13px; white-space: nowrap; }
.hub-categories { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.hub-categories button { border: 1px solid var(--tool-line); border-radius: 6px; min-height: 40px; padding: 7px 12px; background: #fff; color: var(--tool-muted); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.hub-categories button[aria-pressed="true"] { border-color: #292826; background: #292826; color: #fff; }
.hub-categories button:hover { border-color: #85817a; }
.hub-tools { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; scroll-margin-top: 16px; }
.hub-card { display: grid; grid-template-columns: 32px minmax(0,1fr); grid-template-rows: auto 1fr; align-items: start; gap: 10px; min-width: 0; padding: 16px; border: 1px solid var(--tool-line); border-radius: 9px; background: #fff; color: var(--tool-ink); }
.hub-card-icon { display: grid; place-items: center; width: 32px; height: 36px; border-radius: 6px; background: #eeede9; color: #6d514a; }
.hub-card .tool-glyph { width: 30px; height: 30px; }
.hub-card h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; align-self: center; margin: 0; font-size: 16px; font-weight: 750; letter-spacing: -.02em; line-height: 1.3; }
.hub-card h3 > span { font-size: 16px; font-weight: 500; color: var(--tool-muted); }
.hub-card p { grid-column: 1 / -1; margin: 0; color: var(--tool-muted); font-size: 14px; line-height: 1.5; text-align: start; text-align-last: auto; text-wrap: wrap; word-spacing: normal; }
.hub-card:hover { border-color: #8b877e; box-shadow: 0 3px 12px #1c1b190a; }
.hub-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.hub-empty { padding: 32px 0; }
.hub-empty h3 { margin: 0; font-size: 20px; }
.hub-empty p { color: var(--tool-muted); }
.hub-empty button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--tool-line); border-radius: 6px; background: #fff; color: var(--tool-ink); font: inherit; cursor: pointer; }
.hub-assurances { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; padding-block: 32px; margin-top: 24px; border-block: 1px solid var(--tool-line); }
.hub-site h2 { margin: 0 0 10px; font-size: 21px; font-weight: 750; line-height: 1.25; letter-spacing: -.025em; }
.hub-assurances p { margin: 0; color: var(--tool-muted); font-size: 14px; line-height: 1.6; }
.hub-support { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; padding-block: 30px; }
.hub-research { min-width: 0; }
.hub-research p:last-child { margin: 0; max-width: 56ch; color: var(--tool-muted); font-size: 15px; line-height: 1.6; }
.hub-research > div:last-child { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; margin-top: 16px; }
.hub-research a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 10px; padding-block: 8px; border-bottom: 1px solid var(--tool-line); font-size: 14px; font-weight: 650; }
.hub-research a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hub-questions { min-width: 0; }
.hub-questions details { border-bottom: 1px solid var(--tool-line); }
.hub-questions summary { min-height: 48px; padding: 12px 0; font-size: 15px; font-weight: 650; cursor: pointer; }
.hub-questions details p { margin: 0 0 16px; color: var(--tool-muted); font-size: 15px; line-height: 1.6; }
.hub-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 24px; border-top: 1px solid var(--tool-line); }
.hub-footer .brand { color: var(--tool-ink); }
.hub-footer p { margin: 6px 0 0; color: var(--tool-muted); font-size: 13px; }
.hub-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.hub-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tool-muted); font-size: 13px; }
.hub-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:1179px) { .hub-tools { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media(min-width:1000px) and (max-width:1179px) and (max-height:820px), (min-width:1180px) and (max-height:740px) {
  .hub-site .tool-header { height: 60px; }
  .hub-intro { padding-block: 12px 10px; }
  .hub-intro > .hub-eyebrow { margin-bottom: 2px; font-size: 12px; line-height: 1.4; }
  .hub-intro h1 { font-size: 32px; line-height: 1.08; }
  .hub-intro > p:last-child { margin-top: 6px; font-size: 15px; line-height: 1.4; }
  .hub-categories { margin-block: 8px; }
  .hub-tools { gap: 8px; }
  .hub-card { grid-template-columns: 28px minmax(0,1fr); gap: 6px 8px; padding: 10px; }
  .hub-card-icon { width: 28px; height: 30px; }
  .hub-card .tool-glyph { width: 26px; height: 26px; }
}
@media(max-width:999px) {
  .hub-tools { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hub-support { gap: 28px; }
  .hub-research > div:last-child { grid-template-columns: minmax(0,1fr); }
}
@media(max-width:759px) {
  .hub-tools { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hub-support { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .hub-questions { padding-top: 24px; border-top: 1px solid var(--tool-line); }
  .hub-research > div:last-child { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  .hub-shell { width: calc(100% - 32px); }
  .hub-site .tool-header { height: 60px; }
  .hub-site .tool-header-right { gap: 12px; font-size: 12px; }
  .hub-site .tool-header-right a:last-child { display: none; }
  .hub-intro { padding-block: 22px 20px; }
  .hub-intro h1 { font-size: 32px; max-width: 14ch; }
  .hub-intro > p:last-child { font-size: 15px; }
  .hub-wide-break { display: none; }
  .hub-search-row { gap: 10px; }
  .hub-search { gap: 8px; padding-left: 10px; }
  .hub-search-row > p { font-size: 12px; }
  .hub-categories { gap: 6px; margin-block: 12px; }
  .hub-categories button { font-size: 13px; padding-inline: 10px; }
  .hub-tools { gap: 10px; }
  .hub-card { grid-template-columns: 36px minmax(0,1fr); padding: 14px 12px; gap: 10px; }
  .hub-card h3 { font-size: 15px; }
  .hub-card p { font-size: 13px; line-height: 1.45; text-wrap: pretty; }
  .hub-card-icon { width: 36px; height: 40px; }
  .hub-card .tool-glyph { width: 34px; height: 34px; }
  .hub-assurances { grid-template-columns: minmax(0,1fr); gap: 18px; padding-block: 24px; }
  .hub-support { padding-block: 24px; }
  .hub-footer { flex-direction: column; align-items: start; gap: 10px; }
  .hub-footer nav { gap: 0 16px; }
}
@media(max-width:280px) {
  .hub-site .tool-header { flex-wrap: wrap; height: auto; padding-block: 10px; gap: 0 12px; }
  .hub-search-row { display: block; }
  .hub-search-row > p { margin-top: 8px; }
  .hub-tools { grid-template-columns: minmax(0,1fr); }
  .hub-intro h1 { font-size: 28px; }
}

/* Keep descriptions comfortable to read on narrow screens. */
@media (max-width: 480px) {
  .hub-tools { grid-template-columns: minmax(0, 1fr); }
  .hub-card { grid-template-columns: 36px minmax(0, 1fr); }
}

@media (min-width: 601px) {
  .hub-site p:not([role]) { text-wrap: pretty; }
}

.tool-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 12px; color: var(--tool-muted); font-size: 13px; line-height: 1.4; }
.tool-breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: underline; text-underline-offset: 3px; }
.tool-details { padding-top: 28px; }
.tool-details .page-range { white-space: nowrap; }
.tool-details h2 { margin: 0 0 12px; color: var(--tool-ink); font: 750 21px/1.3 Manrope,system-ui,sans-serif; letter-spacing: -.025em; }
.tool-instructions { padding-block: 8px 28px; }
.tool-instructions ol { margin: 0; padding: 0; list-style: none; counter-reset: steps; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.tool-instructions li { counter-increment: steps; color: var(--tool-muted); font-size: 15px; line-height: 1.55; }
.tool-instructions li::before { content: counter(steps); display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px; border: 1px solid var(--tool-line); border-radius: 50%; color: var(--tool-ink); font-size: 13px; font-weight: 750; }
.tool-limitations { padding-block: 22px; border-block: 1px solid var(--tool-line); }
.tool-limitations ul { margin: 0; padding-left: 19px; color: var(--tool-muted); font-size: 14px; line-height: 1.6; }
.tool-limitations li + li { margin-top: 6px; }
.tool-questions { padding-top: 24px; }
.tool-questions details { border-bottom: 1px solid var(--tool-line); }
.tool-questions summary { min-height: 48px; padding: 12px 0; cursor: pointer; font-size: 15px; font-weight: 650; line-height: 1.5; }
.tool-questions p { margin: 0 0 16px; max-width: 70ch; color: var(--tool-muted); font-size: 15px; line-height: 1.6; }
.tool-company { margin: 0 0 16px; color: var(--tool-muted); font-size: 13px; line-height: 1.5; }
.tool-company a { text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:600px) {
  .tool-details { padding-top: 22px; }
  .tool-instructions ol { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .tool-instructions li { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 10px; align-items: start; }
  .tool-instructions li::before { margin: 0; }
}

@media (min-width: 601px) {
  .tool-instructions li, .tool-limitations li, .tool-questions p { text-wrap: pretty; }
}

/* Paper, annotations and the reader itself set the character of the interface.
   Body scope keeps these refinements stable when Vite extracts shared CSS before page CSS. */
body .home-site .hero-layout { gap: 40px; padding-block: 32px; }
body .home-site .section { padding-block: 48px; }
body .home-site .section-heading { margin-bottom: 24px; }
body .home-site .section-label { margin-bottom: 8px; }
body .home-site .workspace-rail { gap: 4px; padding: 12px 8px; }
body .home-site .workspace-rail button { gap: 8px; padding-inline: 12px; text-align: start; }
body .home-site .workspace-detail-inner { padding: 32px; }
body .home-site .detail-hint { margin-top: 16px; }

/* Neutral chrome lets the real document and its annotations carry the colour. */
body .home-site .ai-section,
body .home-site .ai-section .fine,
body .home-site .ai-section .providers { color: var(--ink); }
body .home-site .ai-section .fine { color: var(--muted); }
body .home-site .status-dot { background: var(--muted); }
body .home-site .included-ai-head > span { padding: 0; background: transparent; color: var(--muted); }
body .home-site .detail-hint { color: var(--muted); }

/* Use the existing line-icon language for navigation and questions. */
body .home-site .workspace-rail button > svg,
body .home-site .included-ai-head strong > svg { width: 18px; height: 18px; stroke-width: 1.5; }
body .hub-site .hub-card-icon { color: var(--tool-muted); background: #f5f4f1; }

/* Size and space establish hierarchy; weight is reserved for useful emphasis. */
body .home-site .brand,
body .tool-site .brand { font-weight: 600; letter-spacing: -.025em; }
body .home-site .hero-copy h1 { font-weight: 500; letter-spacing: -.04em; line-height: 1.12; }
body .home-site main h2 { font-weight: 500; letter-spacing: -.03em; line-height: 1.2; }
body .home-site .workspace-detail h3,
body .home-site .included-ai h3 { font-weight: 500; letter-spacing: -.02em; }
body .home-site .section-label,
body .home-site .workspace-rail button,
body .home-site .primary-link,
body .home-site .header-link,
body .home-site .faq-item summary,
body .home-site .nts-card h3,
body .home-site .dc-copy h3,
body .home-site .download-list strong { font-weight: 600; }
body .home-site .secondary-link,
body .home-site .providers span,
body .home-site .included-ai-head strong,
body .home-site .detail-hint,
body .home-site .faq-group h3,
body .home-site .faq-link,
body .home-site .site-footer-nav a,
body .home-site .workspace-mobile-choice select { font-weight: 500; }
body .home-site .section-label,
body .home-site .detail-hint,
body .home-site .workspace-rail button,
body .hub-site .hub-card h3 { letter-spacing: 0; }
body .home-site .download-list b { font-weight: 500; }
body .home-site .passage-prompts button { font-style: normal; }
body .tool-site .tool-intro h1,
body .hub-site .hub-intro h1 { font-weight: 500; letter-spacing: -.03em; }
body .tool-site .tool-details h2,
body .tool-site .tool-related h2,
body .hub-site h2 { font-weight: 500; letter-spacing: -.015em; }
body .tool-site .tool-header-right,
body .tool-site .tool-field label,
body .tool-site .tool-button,
body .hub-site .hub-card h3 { font-weight: 600; }
body .tool-site .tool-text-button,
body .tool-site .tool-questions summary,
body .tool-site .tool-instructions li::before,
body .hub-site .hub-eyebrow,
body .hub-site .hub-categories button,
body .hub-site .hub-research a,
body .hub-site .hub-questions summary { font-weight: 500; }
body .home-site .availability,
body .home-site .download-list,
body .hub-site .hub-search-row > p,
body .tool-site .file-number { font-variant-numeric: tabular-nums; }

/* Appearance choices share one quiet frame and retain full-size touch targets. */
body .home-site .product-preview-bar { gap: 8px; }
body .home-site .product-preview-modes {
  gap: 4px; padding: 4px; border: 1px solid var(--line);
  border-radius: 10px; background: #eeede9;
}
body .home-site .product-preview-modes button {
  min-height: 44px; border: 0; border-radius: 6px; background: transparent;
  color: var(--muted); font-weight: 500; letter-spacing: 0; box-shadow: none;
}
body .home-site .product-preview-modes button[aria-checked="true"],
body .home-site .product-preview-modes button[aria-checked="true"]:hover {
  background: #fff; color: var(--ink); box-shadow: 0 1px 2px #1c1b190a;
}
body .home-site .product-preview-modes button:hover { background: #e8e6e1; color: var(--ink); }
body .home-site .product-preview-enlarge {
  width: 44px; border-color: var(--line); border-radius: 8px;
  background: transparent; color: var(--muted);
}
body .home-site .product-window { box-shadow: 0 8px 24px #1c1b190a; }
body .home-site .workspace-board,
body .home-site .included-ai,
body .home-site .cloud { border-radius: 12px; }
body .home-site .workspace-rail { border-start-start-radius: 12px; border-end-start-radius: 12px; }
body .home-site .capture-demo.equation-demo { box-shadow: none; }
body .home-site .equation-demo-formats button { font-weight: 500; }
body .home-site .equation-demo .equation-demo-formats button[aria-selected="true"] {
  background: #fff; color: var(--ink); box-shadow: 0 1px 2px #1c1b190a;
}
body .hub-site .hub-search { padding-inline: 16px 4px; }
body .hub-site .hub-categories { gap: 8px; }
body .hub-site .hub-card { gap: 8px; }
body .hub-site .hub-card:hover { border-color: #8b877e; background: #fdfcf9; box-shadow: none; }
body .home-site .reader-header-inner:has(.site-language-selector) { height: auto; min-height: 64px; }
body .tool-site .tool-header:has(.site-language-selector) { height: auto; min-height: 64px; }

/* Feedback is local and brief. The feature illustrations play once per hover. */
body .home-site .primary-link,
body .home-site .secondary-link,
body .home-site .header-link,
body .home-site .product-preview-modes button,
body .hub-site .hub-card,
body .hub-site .hub-categories button {
  transition: color 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body .home-site .nts-card:hover .nts-a,
  body .home-site .nts-card:focus-visible .nts-a { animation-iteration-count: 1; }
}
@media (prefers-reduced-motion: reduce) {
  body .home-site *, body .tool-site * { animation: none !important; transition: none !important; }
}
@media (max-width: 880px) {
  body .home-site .reader-header .header-actions { display: none; }
  body .home-site .mobile-navigation nav { right: auto; inset-inline-end: 0; }
  body .home-site .workspace-detail-inner { padding: 24px; }
}
@media (max-width: 720px) {
  body .home-site .section { padding-block: 24px; }
  body .home-site .hero-layout { gap: 20px; padding-block: 24px; }
  body .home-site .hero-copy h1 { letter-spacing: -.025em; }
  body .home-site .section-heading { margin-bottom: 16px; }
  body .home-site .hero-description { margin-block: 12px 16px; }
  body .home-site .workspace-detail-inner { padding: 16px; }
  body .home-site .workspace-mobile-choice { border-radius: 12px 12px 0 0; }
  body .home-site .detail-hint { margin-top: 12px; }
}
/* Preserve the established directory density on short laptop screens. */
@media (min-width: 1000px) and (max-width: 1179px) and (max-height: 820px),
       (min-width: 1180px) and (max-height: 740px) {
  body .hub-site .hub-card { gap: 6px 8px; }
}

/* Oxford PDF document workbench. Design method: unslop by Damir Sokolovsky,
   CC BY 4.0; see design/UNSLOP-ATTRIBUTION.md in the review packet. */
@font-face { font-family: Manrope; src: url('/fonts/manrope-latin.woff2') format('woff2'); font-style: normal; font-weight: 200 800; font-display: swap; }
body { margin:0; background: #f5f4f1; color: #1c1b19; font-family: Manrope, system-ui, sans-serif; }
body .tool-site { --tool-ink:#1c1b19; --tool-muted:#5f5c56; --tool-line:#d9d8d3; --tool-blue:#a33a2e; --tool-paper:#f5f4f1; font:400 16px/1.625 Manrope,system-ui,sans-serif; color:var(--tool-ink); background:var(--tool-paper); }
body .tool-site *, body .tool-site *::before, body .tool-site *::after { box-sizing:border-box; }
body .tool-site p { word-spacing:normal; text-align:start; text-wrap:pretty; }
body .tool-site a { color:inherit; }
body .tool-site :is(a,button,summary,input,select,textarea):focus-visible { outline:3px solid #a33a2e; outline-offset:4px; }
.tool-interface-icon { width:18px; height:18px; flex:none; vertical-align:middle; }
.tool-operation-icon { display:inline-flex; align-items:center; justify-content:center; flex:none; color:var(--tool-muted); }
.tool-operation-icon .tool-glyph { display:block; width:32px; height:32px; }
body .tool-site .tool-shell { width:min(1200px,calc(100% - 64px)); margin-inline:auto; }
body .tool-site .tool-main { width:min(1200px,calc(100% - 64px)); max-width:1200px; padding-block:40px 64px; margin-inline:auto; }
body .tool-site .tool-page-header { display:block; height:auto; min-height:64px; padding:0; border-bottom:1px solid var(--tool-line); background:var(--tool-paper); }
.tool-page-header-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:64px; }
body .tool-site .tool-page-brand { display:inline-flex; align-items:center; gap:8px; color:var(--tool-ink); font:600 18px/24px Manrope,system-ui,sans-serif; letter-spacing:0; white-space:nowrap; text-decoration:none; }
.tool-page-brand .brand-mark, .tool-page-brand img { width:28px; height:28px; display:block; }
body .tool-site .tool-page-brand b { color:var(--tool-muted); font-weight:400; }
body .tool-site .tool-page-nav { display:flex; align-items:center; gap:24px; font-size:14px; font-weight:500; }
body .tool-site .tool-page-nav > a:first-child { display:inline-flex; }
.tool-page-nav a { display:inline-flex; align-items:center; gap:8px; min-height:44px; text-decoration:none; }
.tool-page-nav a:hover { text-decoration:underline; text-underline-offset:4px; }
body .tool-site .tool-intro { margin:0 0 32px; color:var(--tool-muted); }
body .tool-site .tool-breadcrumb { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0 0 24px; color:var(--tool-muted); font-size:13px; line-height:20px; }
.tool-breadcrumb a { min-height:24px; }
body .tool-site .tool-intro-heading { display:flex; align-items:flex-start; gap:16px; }
.tool-intro-icon { display:flex; align-items:center; justify-content:center; width:48px; height:48px; border:1px solid var(--tool-line); border-radius:12px; background:#fff; flex:none; }
.tool-intro-icon .tool-glyph { width:28px; height:28px; }
body .tool-site .tool-intro h1 { margin:0; font:500 clamp(30px,3.2vw,40px)/1.2 Manrope,system-ui,sans-serif; letter-spacing:-.02em; color:var(--tool-ink); text-wrap:balance; }
body .tool-site .tool-intro-copy > p { margin:12px 0 0; max-width:68ch; font-size:18px; line-height:28px; color:var(--tool-muted); }
.tool-intro-facts { display:flex; align-items:center; flex-wrap:wrap; gap:8px 20px; margin-top:16px; font-size:13px; line-height:20px; color:var(--tool-muted); }
.tool-intro-facts > span { display:inline-flex; align-items:center; gap:8px; }
body .tool-site .tool-workspace { border:1px solid var(--tool-line); border-radius:16px; background:#fff; overflow:hidden; color:var(--tool-ink); }
body .tool-site .tool-empty { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,1fr); grid-template-rows:auto auto auto; align-items:center; column-gap:48px; row-gap:16px; padding:40px; min-height:304px; text-align:start; }
.tool-empty-overview { grid-column:1; grid-row:1; align-self:end; }
body .tool-site .tool-empty-overview h2 { margin:0; font:500 24px/32px Manrope,system-ui,sans-serif; letter-spacing:-.015em; }
body .tool-site .tool-empty-overview p { margin:8px 0 0; color:var(--tool-muted); font-size:16px; line-height:26px; max-width:44ch; }
.tool-empty-art { grid-column:2; grid-row:1 / span 3; display:grid; align-content:center; justify-items:center; gap:12px; padding:16px; min-width:0; border-radius:12px; background:#f5f4f1; }
.tool-empty-art svg { display:block; width:100%; max-width:420px; height:auto; }
body .tool-site .tool-empty-art p { margin:0; color:var(--tool-muted); text-align:center; font-size:14px; line-height:22px; max-width:44ch; }
body .tool-site .tool-empty > .tool-button { grid-column:1; grid-row:2; justify-self:start; align-self:center; }
body .tool-site .tool-empty > p:not([role]) { grid-column:1; grid-row:3; align-self:start; margin:0; text-align:start; font-size:13px; line-height:20px; color:var(--tool-muted); }
.tool-empty-meta { grid-column:1; grid-row:3; align-self:start; }
body .tool-site .tool-empty-meta p { margin:0; color:var(--tool-muted); font-size:13px; line-height:20px; }
body .tool-site .tool-empty-meta p + p { margin-top:4px; }
body .tool-site .tool-button { display:inline-flex; justify-content:center; align-items:center; gap:8px; min-height:48px; padding:12px 24px; font:500 16px/24px Manrope,system-ui,sans-serif; background:#292826; color:#fff; border:1px solid #292826; border-radius:8px; text-align:center; box-shadow:none; cursor:pointer; transition:background-color 160ms ease-out,border-color 160ms ease-out; }
body .tool-site .tool-button:hover { background:#45423d; border-color:#45423d; }
body .tool-site .tool-button:disabled { opacity:.5; cursor:wait; }
body .tool-site .tool-form { padding:32px; min-width:0; }
body .tool-site .tool-field label { font-size:15px; line-height:24px; font-weight:500; letter-spacing:0; }
body .tool-site .tool-field > span { font-size:15px; line-height:24px; font-weight:500; }
body .tool-site .tool-field :is(input,select) { min-height:48px; border-radius:8px; padding:12px; font:400 16px/24px Manrope,system-ui,sans-serif; }
body .tool-site .tool-field small { margin-top:8px; font-size:14px; line-height:22px; color:var(--tool-muted); text-wrap:pretty; }
body .tool-site .tool-text-button { font-weight:500; letter-spacing:0; min-height:44px; }
body .tool-site .tool-privacy { padding:24px 32px; border-top:1px solid var(--tool-line); background:#f0efeb; font-size:14px; line-height:22px; }
body .tool-site .tool-privacy strong { display:block; color:var(--tool-ink); font-weight:500; }
body .tool-site .tool-privacy p { max-width:100ch; margin:8px 0 0; font-size:14px; line-height:22px; color:var(--tool-muted); }
.batch-empty-illustration { margin:24px auto 8px; max-width:280px; }
body .tool-site .batch-heading h2 { font:500 20px/28px Manrope,system-ui,sans-serif; letter-spacing:0; }
body .tool-site .batch-heading select { min-height:44px; font-size:16px; border-radius:8px; }
body .tool-site .batch-step-heading, body .tool-site .batch-file-status { font-size:14px; line-height:22px; font-weight:400; }
body .tool-site .batch-file-title strong { font-size:16px; line-height:24px; font-weight:500; }
body .tool-site .batch-range-help, body .tool-site .ocr-review, body .tool-site .ocr-result p { font-size:16px; line-height:26px; }
body .tool-site .tool-details { padding-top:48px; }
body .tool-site .tool-details :is(h2,h3) { letter-spacing:0; color:var(--tool-ink); }
body .tool-site .tool-details h2 { margin:0; font:500 26px/36px Manrope,system-ui,sans-serif; text-wrap:balance; }
.tool-section-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:24px; }
.tool-section-heading > :first-child { display:flex; align-items:center; gap:12px; }
body .tool-site .tool-instructions { padding:0 0 48px; border-bottom:1px solid var(--tool-line); }
body .tool-site .tool-process-list { position:relative; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; list-style:none; counter-reset:none; padding:24px 32px 32px; margin:24px 0 0; background:#efeee9; border:1px solid #e4e2dc; border-radius:16px; }
body .tool-site .tool-process-list::before { content:''; position:absolute; height:1px; background:#c7c3bb; top:104px; left:17%; right:17%; }
body .tool-site .tool-process-step { position:relative; display:block; min-width:0; color:var(--tool-muted); font-size:16px; line-height:26px; counter-increment:none; }
body .tool-site .tool-process-step::before { display:none; content:none; }
.tool-stage-art { position:relative; z-index:1; min-height:160px; display:flex; align-items:center; justify-content:center; }
.tool-stage-visual { width:100%; }
.tool-stage-visual svg { display:block; width:100%; max-width:300px; height:auto; margin-inline:auto; }
.tool-stage-copy { padding-top:16px; }
.tool-stage-number { display:block; color:var(--tool-muted); font:400 12px/16px Manrope,system-ui,sans-serif; font-variant-numeric:tabular-nums; margin-bottom:8px; }
body .tool-site .tool-details .tool-stage-title { margin:0; font:500 20px/28px Manrope,system-ui,sans-serif; letter-spacing:0; }
body .tool-site .tool-stage-description { margin:8px 0 0; color:var(--tool-muted); font-size:16px; line-height:26px; text-wrap:pretty; }
body .tool-site .tool-limitations { display:grid; grid-template-columns:minmax(180px,1fr) minmax(0,2fr); gap:48px; padding:40px 0; margin:0; border-top:0; border-bottom:1px solid var(--tool-line); }
.tool-limitations-title { display:flex; align-items:flex-start; gap:12px; }
.tool-limitations-title > svg { margin-top:8px; color:var(--tool-muted); }
body .tool-site .tool-limitations-list { list-style:none; padding:0; margin:0; display:grid; gap:20px; }
body .tool-site .tool-limit-item { padding-left:20px; border-left:2px solid #d9d5cd; margin:0; font-size:16px; line-height:26px; color:var(--tool-muted); text-wrap:pretty; }
body .tool-site .tool-questions { display:grid; grid-template-columns:minmax(180px,1fr) minmax(0,2fr); gap:48px; padding:40px 0; border-bottom:1px solid var(--tool-line); }
.tool-questions > .tool-section-heading { align-self:start; margin-bottom:0; }
.tool-question-list { min-width:0; }
body .tool-site .tool-question { margin:0; border:0; border-bottom:1px solid var(--tool-line); }
body .tool-site .tool-question:first-child { border-top:1px solid var(--tool-line); }
body .tool-site .tool-question-summary { display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:68px; padding:20px 0; cursor:pointer; list-style:none; color:var(--tool-ink); font:500 17px/26px Manrope,system-ui,sans-serif; }
.tool-question-summary::-webkit-details-marker { display:none; }
.tool-question-summary::marker { content:''; }
.tool-question-summary .tool-interface-icon { color:var(--tool-muted); transition:transform 160ms ease-out; }
.tool-question[open] .tool-question-summary .tool-interface-icon { transform:rotate(180deg); }
body .tool-site .tool-question-answer { max-width:72ch; margin:0; padding:0 40px 24px 0; font:400 16px/26px Manrope,system-ui,sans-serif; color:var(--tool-muted); }
body .tool-site .tool-related { padding:40px 0 0; }
.tool-related-head { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:24px; }
.tool-related-head > a { display:inline-flex; align-items:center; gap:8px; min-height:44px; font-size:14px; font-weight:500; text-decoration:none; }
body .tool-site .tool-related-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
body .tool-site .tool-related-card { display:grid; grid-template-columns:40px minmax(0,1fr) 20px; align-items:start; justify-content:normal; gap:16px; min-height:120px; padding:24px; border:1px solid var(--tool-line); border-radius:12px; background:#fff; text-decoration:none; transition:border-color 160ms ease-out,background-color 160ms ease-out; }
body .tool-site .tool-related-card:hover { background:#fdfcf9; border-color:#9e988d; }
.tool-related-icon { display:flex; align-items:center; justify-content:center; width:40px; height:40px; background:#f0efeb; border-radius:8px; color:var(--tool-muted); }
.tool-related-copy { display:grid; gap:8px; }
.tool-related-name { font:500 17px/24px Manrope,system-ui,sans-serif; color:var(--tool-ink); }
.tool-related-description { font:400 14px/22px Manrope,system-ui,sans-serif; color:var(--tool-muted); text-wrap:pretty; }
.tool-related-arrow { margin-top:4px; color:var(--tool-muted); }
body .tool-site .tool-page-footer { display:block; padding:0; margin:0; border-top:1px solid var(--tool-line); background:#ecebe7; color:var(--tool-muted); font-size:14px; line-height:22px; }
.tool-page-footer-inner { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto; gap:32px; align-items:center; padding-block:32px; }
.tool-page-footer-brand > a { font:500 18px/26px Manrope,system-ui,sans-serif; color:var(--tool-ink); text-decoration:none; }
.tool-page-footer-brand p { margin:8px 0 0; font-size:13px; line-height:20px; }
.tool-page-footer-brand p a { text-decoration:underline; text-underline-offset:3px; }
.tool-page-footer-nav { display:flex; align-items:center; flex-wrap:wrap; gap:8px 24px; }
.tool-page-footer-nav a { display:inline-flex; align-items:center; min-height:44px; text-decoration:none; text-underline-offset:4px; }
.tool-page-footer-nav a:hover { text-decoration:underline; }
.tool-page-footer-note { color:var(--tool-muted); font-size:13px; line-height:20px; }
.tool-loading { grid-column:1; margin:0; font-size:14px; color:var(--tool-muted); }
.tool-noscript { padding:24px; font-size:16px; line-height:26px; }
.page-range { white-space:nowrap; }
/* Match the rest of the product website to the document workbench. */
body .home-site { font-size:16px; line-height:1.625; }
body .home-site .hero-copy h1 { font-weight:500; letter-spacing:-.025em; }
body .home-site main h2 { font-weight:500; line-height:1.2; }
body .home-site .section-intro > p:not(.section-label):not(.fine),
body .home-site .workspace-detail-inner p, body .home-site .privacy p { font-size:16px; line-height:26px; }
body .home-site .detail-hint { font-size:14px; line-height:22px; font-weight:400; }
body .home-site .feature-limit { font-size:14px; line-height:22px; }
body .home-site .feature-limit p { max-width:90ch; }
body .home-site .nts-card h3 { font-size:17px; line-height:24px; font-weight:500; letter-spacing:0; }
body .home-site .nts-card p { font-size:15px; line-height:24px; }
body .home-site .faq summary { font-size:17px; line-height:26px; font-weight:500; padding-block:20px; }
body .home-site .faq details p { font-size:16px; line-height:26px; }
body .hub-site .hub-card h3 { font-size:16px; line-height:24px; font-weight:500; letter-spacing:0; }
body .hub-site .hub-card p { font-size:15px; line-height:24px; }
body .hub-site .hub-assurances p, body .hub-site .hub-research p, body .hub-site .hub-questions p { font-size:16px; line-height:26px; }
body .hub-site .hub-questions summary { font-size:17px; line-height:26px; padding-block:20px; font-weight:500; }
body .static-site .static-page-main { padding-block:40px 64px; font-size:16px; line-height:26px; }
body .static-site .static-page-main h1 { margin:0 0 20px; font:500 clamp(30px,3.2vw,40px)/1.2 Manrope,system-ui,sans-serif; letter-spacing:-.02em; text-wrap:balance; }
body .static-site .static-page-main h2 { font:500 24px/32px Manrope,system-ui,sans-serif; letter-spacing:0; }
body .static-site .static-page-main dt { font-weight:500; }
@media (max-width:900px) {
  body .tool-site .tool-shell, body .tool-site .tool-main { width:calc(100% - 48px); }
  body .tool-site .tool-empty { column-gap:24px; padding:32px; grid-template-columns:minmax(0,1fr) minmax(240px,1fr); }
  body .tool-site .tool-process-list { gap:24px; padding:24px; }
  body .tool-site .tool-limitations, body .tool-site .tool-questions { gap:32px; grid-template-columns:minmax(160px,1fr) minmax(0,2fr); }
  .tool-page-footer-inner { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; }
  .tool-page-footer-note { grid-column:1 / -1; }
}
@media (max-width:680px) {
  body .tool-site .tool-shell, body .tool-site .tool-main { width:calc(100% - 32px); }
  body .tool-site .tool-main { padding-block:24px 40px; }
  .tool-page-header-inner { gap:12px; min-height:64px; }
  body .tool-site .tool-page-nav { gap:16px; }
  .tool-page-nav a { min-height:44px; }
  .tool-page-nav a:last-child:not(:first-child) { display:none; }
  body .tool-site .tool-intro { margin-bottom:24px; }
  body .tool-site .tool-breadcrumb { margin-bottom:16px; }
  body .tool-site .tool-intro-heading { gap:12px; }
  .tool-intro-icon { width:40px; height:40px; border-radius:8px; }
  body .tool-site .tool-intro h1 { font-size:30px; line-height:38px; }
  body .tool-site .tool-intro-copy > p { font-size:16px; line-height:26px; margin-top:8px; }
  .tool-intro-facts { gap:8px 16px; margin-top:12px; }
  body .tool-site .tool-empty { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto auto; gap:16px; padding:24px; }
  .tool-empty-overview { grid-column:1; grid-row:1; }
  .tool-empty-art { grid-column:1; grid-row:2; padding:12px; }
  .tool-empty-art svg { max-width:340px; }
  body .tool-site .tool-empty > .tool-button { grid-column:1; grid-row:3; justify-self:stretch; width:100%; }
  body .tool-site .tool-empty > p:not([role]) { grid-column:1; grid-row:4; text-align:start; }
  .tool-empty-meta { grid-column:1; grid-row:4; }
  body .tool-site .tool-empty-overview h2 { font-size:22px; line-height:30px; }
  body .tool-site .tool-form { padding:20px; }
  body .tool-site .tool-privacy { padding:20px; }
  body .tool-site .tool-details { padding-top:32px; }
  body .tool-site .tool-details h2 { font-size:24px; line-height:32px; }
  body .tool-site .tool-instructions { padding-bottom:32px; }
  body .tool-site .tool-process-list { grid-template-columns:minmax(0,1fr); gap:32px; padding:20px; margin-top:24px; }
  body .tool-site .tool-process-list::before { display:none; }
  .tool-stage-art { min-height:128px; }
  .tool-stage-visual svg { max-width:280px; }
  .tool-stage-copy { padding-top:8px; }
  body .tool-site .tool-details .tool-stage-title { font-size:20px; line-height:28px; }
  body .tool-site .tool-stage-description { font-size:16px; line-height:26px; }
  body .tool-site .tool-limitations, body .tool-site .tool-questions { grid-template-columns:minmax(0,1fr); gap:20px; padding-block:32px; }
  .tool-limitations-title { gap:12px; }
  body .tool-site .tool-limit-item { padding-left:16px; font-size:16px; line-height:26px; }
  body .tool-site .tool-question-summary { min-height:64px; padding-block:16px; gap:16px; }
  body .tool-site .tool-question-answer { padding-right:0; padding-bottom:20px; }
  .tool-related-head { align-items:flex-start; flex-direction:column; gap:8px; margin-bottom:16px; }
  body .tool-site .tool-related { padding-top:32px; }
  body .tool-site .tool-related-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  body .tool-site .tool-related-card { grid-template-columns:36px minmax(0,1fr) 18px; gap:12px; min-height:112px; padding:20px; }
  .tool-related-icon { width:36px; height:36px; }
  .tool-page-footer-inner { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; padding-block:28px; }
  .tool-page-footer-nav { gap:8px 24px; }
  .tool-page-footer-note { grid-column:auto; }
  body .home-site .workspace-detail-inner p { font-size:16px; line-height:26px; }
  body .home-site .nts-card h3 { font-size:16px; line-height:24px; }
  body .home-site .nts-card p { font-size:14px; line-height:22px; }
}
@media (prefers-reduced-motion:reduce) { body .tool-site *, body .home-site * { transition:none !important; animation:none !important; } }
