/* Shared citation-tool type and controls. Paperpile Write and cite and
   account controls, measured November 5, 2026. Homepage chrome has its own scope. */
body.citation-tool-page {
  --tool-type-hero: 40px;
  --tool-type-section: 28px;
  --tool-type-subheading: 20px;
  --tool-type-body: 18px;
  --tool-type-small: 16px;
  --tool-type-final: 40px;
  --tool-tracking-body: -.013px;
}
body.novo-home.citation-tool-page:not(.workspace-mode) > main {
  font-family: Inter, sans-serif;
  font-size: var(--tool-type-body);
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: var(--tool-tracking-body);
}
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(h1, h2, h3, h4, dt) {
  font-family: "Circular Std", sans-serif !important;
  font-weight: 900 !important;
  font-style: normal !important;
  text-transform: none;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main h1 {
  font-size: var(--tool-type-hero) !important;
  line-height: 1.1 !important;
  letter-spacing: -1px !important;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main h2 {
  font-size: var(--tool-type-section) !important;
  line-height: 1.15 !important;
  letter-spacing: -.6px !important;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(h3, dt) {
  font-size: var(--tool-type-subheading) !important;
  line-height: 1.15 !important;
  letter-spacing: -.3px !important;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(.citation-entry-card h2,
  .bulk-entry-card h2, .novo-upload-copy h2, .converter-input-heading h2,
  .audit-input-heading h2, .cite-browser h2) {
  font-size: var(--tool-type-subheading) !important;
  letter-spacing: -.3px !important;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(.cite-lead, .bulk-lead,
  .novo-hero-lede, .extractor-hero-copy > p, .quality-heading > p,
  .cite-source-intro, .cite-source-styles, .cite-source-exports, .cite-source-list dd,
  .cite-example p, .bulk-feature-copy p, .novo-faq p, .faq-list p, .faq-stack p,
  .workflow-card-grid p, .workflow-grid p, .pdf-landing-section p) {
  font-family: Inter, sans-serif !important;
  font-size: var(--tool-type-body) !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: var(--tool-tracking-body) !important;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main .converter-input-heading > p {
  font: 400 var(--tool-type-small)/1.5 Inter, sans-serif;
  letter-spacing: -.01px;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(.cite-steps p,
  .bulk-steps p, .cite-bulk-note, .bulk-single-note, .cite-browser p,
  .cite-browser-links, .guide-row > span, .guide-list a > span,
  .bulk-related-links a > span:first-of-type) {
  font-family: Inter, sans-serif;
  font-size: var(--tool-type-small);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.01px;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(.section-pill,
  .cite-kicker, .bulk-kicker, .novo-overline, .pdf-landing-kicker) {
  font-family: "Circular Std", sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.3px;
  text-transform: none;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(label, summary) {
  font-family: Inter, sans-serif;
  font-weight: 500;
  letter-spacing: -.01px;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main label {
  font-size: 14px;
  line-height: 1.3;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(input, textarea, select) {
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.01px;
}
/* Preserve the typography of machine-readable source and export text. */
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(#converter-input,
  #converter-output, #bibtex-output, #ris-output, #json-output, #csv-output,
  #report-output, .cite-export-grid textarea) {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace !important;
  font-size: 14px !important;
  line-height: 1.7;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(.input-hint,
  .accuracy-note, .bulk-entry-hint, .text-drop-hint, .converter-drop-hint,
  .audit-input-heading p, .audit-status, .status-line, .bulk-status,
  .engine-status-mirror, .upload-status-copy p, .converter-status-copy p,
  .style-search-status, .style-search-empty, .bulk-settings-note) {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.01px;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(button, .novo-button) {
  font-family: Inter, sans-serif !important;
  font-size: 14px;
  font-weight: 600 !important;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: -.01px;
  text-transform: none;
  border-radius: 8px;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(.primary-cta,
  .bulk-generate-button, .novo-upload-button, .converter-run-button,
  .convert-button, .audit-primary-button, .text-file-button,
  .text-extract-button, .pdf-landing-upload-again) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  height: auto;
  padding: 7px 18px;
  border: 1px solid #176de7;
  border-radius: 8px;
  color: #fff;
  background: #176de7;
  box-shadow: none;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.25;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(.primary-cta,
  .bulk-generate-button, .novo-upload-button, .converter-run-button,
  .convert-button, .audit-primary-button, .text-file-button,
  .text-extract-button, .pdf-landing-upload-again):hover {
  color: #fff;
  background: #0759d1;
  border-color: #0759d1;
  transform: none;
  box-shadow: none;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(.secondary-cta,
  .bulk-clear-button, .bulk-file-button, .secondary-action, .download-action,
  .audit-secondary-button, .audit-text-button, .text-button) {
  min-height: 36px;
  height: auto;
  padding: 8px 16px;
  border: 1px solid #b9ccd9;
  border-radius: 8px;
  color: #3f3f46;
  background: #fff;
  box-shadow: none;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.25;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(.citation-entry-card .primary-cta,
  .bulk-entry-card .bulk-generate-button, .bulk-entry-card .bulk-file-button,
  .novo-upload-button) {
  color: #0759d1;
  border-color: #fff;
  background: #fff;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(.citation-entry-card .primary-cta,
  .bulk-entry-card .bulk-generate-button, .bulk-entry-card .bulk-file-button,
  .novo-upload-button):hover { color: #0759d1; background: #eaf4ff; }
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(.style-option strong,
  .style-search-result span, .bulk-options label, .guide-row strong, .guide-list strong) {
  font-family: Inter, sans-serif;
  font-weight: 500;
  letter-spacing: -.01px;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(.novo-faq summary,
  .faq-list summary, .faq-stack summary) {
  font-size: var(--tool-type-body);
  font-weight: 600;
  line-height: 1.25;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main :is(.quality-panel h3,
  .output-card-header h3, .faq-stack h3) {
  font-family: Inter, sans-serif !important;
  font-size: var(--tool-type-small) !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: -.01px !important;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main .novo-final-card h2 {
  font-size: var(--tool-type-final) !important;
  line-height: 1.1 !important;
  letter-spacing: -1px !important;
}
body.novo-home.citation-tool-page:not(.workspace-mode) main .novo-final-card > p:not(.novo-overline) {
  font-size: var(--tool-type-body);
  font-weight: 400;
  line-height: 1.5;
}
body.citation-tool-page.workspace-mode :is(button, input, textarea, select) {
  font-family: Inter, sans-serif;
}
/* These two older upload forms set dimensions and type with important rules. */
body.citation-tool-page.pdf-landing-refresh:not(.workspace-mode) main #extractor-title {
  font-size: var(--tool-type-hero) !important;
  line-height: 1.1 !important;
  letter-spacing: -1px !important;
}
body.citation-tool-page.text-citation-page:not(.workspace-mode) main :is(#browse-upload-button, #extract-button),
body.citation-tool-page.pdf-landing-refresh:not(.workspace-mode) main #browse-button {
  min-height: 36px !important;
  height: auto !important;
  padding: 7px 18px !important;
  border-radius: 8px !important;
  font: 600 16px/20px Inter, sans-serif !important;
  letter-spacing: -.01px !important;
}
body.citation-tool-page.text-citation-page:not(.workspace-mode) main :is(#browse-upload-button, #extract-button) {
  min-width: 0 !important;
  max-width: 100%;
  border-width: 1px !important;
}
body.citation-tool-page.text-citation-page:not(.workspace-mode) main :is(#browse-upload-button, #extract-button)::before {
  width: 16px !important;
  height: 18px !important;
  border-width: 1px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
body.novo-home.citation-tool-page.pdf-landing-refresh:not(.workspace-mode) > main .novo-hero .novo-upload-copy h2 {
  font-size: var(--tool-type-subheading) !important;
  line-height: 1.15 !important;
}
@media (max-width: 1280px) {
  body.citation-tool-page {
    --tool-type-hero: 32px;
    --tool-type-body: 16px;
    --tool-type-final: 32px;
    --tool-tracking-body: -.01px;
  }
}
@media (max-width: 799px) {
  body.citation-tool-page {
    --tool-type-section: 24px;
    --tool-type-subheading: 18px;
    --tool-type-small: 14px;
  }
}
