/* Document typography. Scoped to .doc so it can be embedded in HTML exports. */
.doc {
  --doc-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --head-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --head-color: #0f5f59;
  --doc-accent: #0f766e;
  font-family: var(--doc-font);
  font-size: 11pt;
  line-height: 1.5;
  color: #1c1c1c;
  white-space: pre-wrap;
  tab-size: 4;
  overflow-wrap: break-word;
}
.doc[data-theme="classic"] { --doc-font: "Times New Roman", Times, serif; --head-font: "Times New Roman", Times, serif; --head-color: #111111; --doc-accent: #1f3a5f; font-size: 12pt; }
.doc[data-theme="elegant"] { --doc-font: Baskerville, "Palatino Linotype", Palatino, Georgia, serif; --head-font: Didot, "Bodoni 72", Baskerville, Georgia, serif; --head-color: #7a1f2b; --doc-accent: #7a1f2b; font-size: 12pt; }
.doc[data-theme="editorial"] { --doc-font: Georgia, "Times New Roman", serif; --head-font: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif; --head-color: #1b2a49; --doc-accent: #b4532a; }
.doc[data-theme="draft"] { --doc-font: Menlo, "Courier New", monospace; --head-font: Menlo, "Courier New", monospace; --head-color: #222222; --doc-accent: #444444; font-size: 10.5pt; }

.doc p { margin: 0 0 8pt; }
.doc h1, .doc h2, .doc h3, .doc h4, .doc h5, .doc h6 { font-family: var(--head-font); color: var(--head-color); line-height: 1.2; margin: 18pt 0 6pt; font-weight: 600; }
.doc h1 { font-size: 20pt; letter-spacing: -0.01em; }
.doc h2 { font-size: 15pt; }
.doc h3 { font-size: 12.5pt; }
.doc h4, .doc h5, .doc h6 { font-size: 11pt; }
.doc > :first-child { margin-top: 0; }
.doc .doc-title { font-family: var(--head-font); font-size: 30pt; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; color: #141414; margin: 0 0 4pt; }
.doc .doc-subtitle { font-family: var(--head-font); font-size: 14pt; color: #6b6b6b; margin: 0 0 18pt; }
.doc .no-spacing { margin: 0; line-height: 1.15; }
.doc .quote { margin: 10pt 0 10pt 18pt; padding-left: 12pt; border-left: 2pt solid var(--doc-accent); font-style: italic; color: #444444; }
.doc blockquote { margin: 10pt 0 10pt 18pt; padding-left: 12pt; border-left: 2pt solid var(--doc-accent); color: #444444; }
.doc pre { font-family: Menlo, Consolas, "Courier New", monospace; font-size: 9.5pt; line-height: 1.45; background: #f4f4f2; border-radius: 4pt; padding: 8pt 10pt; margin: 0 0 8pt; white-space: pre-wrap; }
.doc a { color: var(--doc-accent); text-decoration: underline; text-underline-offset: 2px; }
.doc ul, .doc ol { margin: 0 0 8pt; padding-left: 26pt; }
.doc li { margin: 0 0 3pt; }
.doc li > ul, .doc li > ol, .doc ul > ul, .doc ol > ol, .doc ul > ol, .doc ol > ul { margin-bottom: 0; }
.doc table { border-collapse: collapse; width: 100%; margin: 6pt 0 10pt; table-layout: fixed; }
.doc td, .doc th { border: 1px solid #bfbfbf; padding: 4pt 6pt; vertical-align: top; text-align: left; min-width: 24px; }
.doc th { background: #eef3f2; font-weight: 600; }
.doc img { max-width: 100%; height: auto; vertical-align: bottom; }
.doc hr { border: 0; border-top: 1px solid #b5b5b5; margin: 12pt 0; }
.doc .page-break { break-after: page; height: 0; margin: 14pt 0; border-top: 1px dashed #9a9a9a; position: relative; user-select: none; }
.doc .page-break::after { content: "Page break"; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); background: #fff; padding: 0 8px; font: 500 10px/16px system-ui, sans-serif; color: #8a8a8a; white-space: nowrap; }
@media print {
  .doc .page-break { border: 0; margin: 0; }
  .doc .page-break::after { content: none; }
  .doc h1, .doc h2, .doc h3 { break-after: avoid; }
  .doc tr, .doc img { break-inside: avoid; }
}

/* notes and contents */
.doc sup.fn-ref, .doc sup.en-ref { color: var(--doc-accent); font-weight: 600; cursor: pointer; padding: 0 1px; user-select: none; }
.doc ol.footnotes, .doc ol.endnotes { margin: 18pt 0 0; padding: 6pt 0 0 20pt; border-top: 1px solid #b5b5b5; font-size: 9pt; line-height: 1.4; color: #333333; }
.doc ol.footnotes + ol.endnotes { margin-top: 10pt; }
.doc ol.endnotes { list-style: lower-roman; }
.doc .toc { margin: 0 0 12pt; padding: 8pt 0; border-top: 1px solid #d5d5d5; border-bottom: 1px solid #d5d5d5; }
.doc .toc p { margin: 0 0 3pt; display: flex; align-items: baseline; gap: 6px; cursor: pointer; }
.doc .toc .toc-title { font-family: var(--head-font); font-weight: 600; font-size: 12pt; color: var(--head-color); margin-bottom: 6pt; cursor: default; }
.doc .toc .toc-t { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
.doc .toc .toc-t::after { content: ""; }
.doc .toc p[data-i]::before { content: ""; order: 1; flex: 1 1 12px; border-bottom: 1px dotted #9a9a9a; transform: translateY(-3px); }
.doc .toc .toc-pg { order: 2; font-variant-numeric: tabular-nums; color: #5f5f5f; }
.doc .toc .toc-2 { padding-left: 16pt; }
.doc .toc .toc-3 { padding-left: 32pt; font-size: 0.94em; }
.doc .toc .toc-empty { color: #8a8a8a; cursor: default; }

/* review */
.doc .cm { background: #fff3bf; border-bottom: 2px solid #eda100; }
.doc .cm[data-resolved] { background: none; border-bottom: 1px dotted #b5b5b5; }
.doc ins.tc { color: #1a7f4b; text-decoration: underline; text-decoration-color: #1a7f4b; background: none; }
.doc span.fc { border-bottom: 2px dotted #b36b00; background: rgba(179,107,0,.08); }
.doc del.tc { color: #c62f35; text-decoration: line-through; }
.doc ins.tc > .chart, .doc ins.tc > .smartart, .doc ins.tc > .shape, .doc ins.tc > .eq, .doc ins.tc > .textbox, .doc ins.tc > .wordart { outline: 2px solid #1a7f4b; outline-offset: 2px; }
.doc del.tc > .chart, .doc del.tc > .smartart, .doc del.tc > .shape, .doc del.tc > .eq, .doc del.tc > .textbox, .doc del.tc > .wordart { outline: 2px dashed #c62f35; outline-offset: 2px; opacity: .55; }

/* shapes, text boxes, charts */
.doc .shape { display: inline-block; vertical-align: bottom; background-color: #2a78d6; max-width: 100%; user-select: none; }
.doc .shape-round { border-radius: 14px; }
.doc .shape-ellipse { border-radius: 50%; }
.doc .shape-tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.doc .shape-arrow { clip-path: polygon(0 30%, 60% 30%, 60% 0, 100% 50%, 60% 100%, 60% 70%, 0 70%); }
.doc .shape-star { clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.doc .shape-line { border-radius: 2px; vertical-align: middle; }
.doc .textbox { border: 1px solid #9a9a9a; border-radius: 3px; padding: 6pt 8pt; margin: 6pt 0 10pt; max-width: 100%; box-sizing: border-box; }
.doc .textbox > :last-child { margin-bottom: 0; }
.doc .chart { margin: 8pt 0 12pt; max-width: 100%; break-inside: avoid; }
.doc .chart svg { display: block; width: 100%; height: auto; }

/* table options */
.doc table.tb-none td, .doc table.tb-none th { border-color: transparent; }
.doc table.tb-outer { border: 1px solid #bfbfbf; }
.doc table.tb-outer td, .doc table.tb-outer th { border-color: transparent; }
.doc table.tb-horizontal td, .doc table.tb-horizontal th { border-left-color: transparent; border-right-color: transparent; }
.doc table.tb-striped td, .doc table.tb-striped th { border-color: transparent; }
.doc table.tb-striped tr:nth-child(even) > td { background-color: #f3f5f4; }
.doc table.tb-striped th { border-bottom: 1.5px solid #8a8a8a; }
@media print {
  .doc .cm { background: none; border: 0; }
  .doc .toc p { cursor: auto; }
}

/* ---- References, equations, WordArt, SmartArt, sections, mail merge ---- */
.doc p.caption { font-size: 9pt; font-style: italic; color: #44546a; margin: 4pt 0 8pt; }
.doc .cap-num { font-style: italic; font-weight: 600; }
.doc .xref { color: #1f5fbf; text-decoration: underline dotted; text-underline-offset: 2px; }
.doc .idx { display: none; }
.doc .index { margin: 10pt 0; }
.doc .index-title { font-weight: 700; font-size: 1.15em; margin: 0 0 6pt; }
.doc .index-letter { font-weight: 700; margin: 8pt 0 2pt; }
.doc .index-empty { color: #8a8a8a; font-style: italic; }
.doc .index-row { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.doc .index-row > span:first-child { flex: none; }
.doc .index-row::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted #8a8a8a; transform: translateY(-3px); }
.doc .index-row .index-pg { order: 2; flex: none; }
.doc .index-row.index-sub { padding-left: 1.5em; }
.doc .biblio { margin: 10pt 0; }
.doc .biblio p { margin: 0 0 6pt; padding-left: 0.5in; text-indent: -0.5in; }
.doc .cite { color: inherit; }
.doc .eq { font-family: "Cambria Math", "STIX Two Math", "Latin Modern Math", serif; font-size: 1.1em; padding: 0 2px; }
.doc .eq math { font-size: inherit; }
.doc .wordart { font: 800 28pt/1.1 system-ui, sans-serif; display: inline-block; letter-spacing: .5px; padding: 2px 4px; }
.doc .wordart.wa-solid { color: var(--wa, #2b579a); }
.doc .wordart.wa-outline { color: transparent; -webkit-text-stroke: 1.5px var(--wa, #2b579a); }
.doc .wordart.wa-shadow { color: var(--wa, #2b579a); text-shadow: 3px 3px 0 rgba(0,0,0,.25); }
.doc .wordart.wa-gradient { background: linear-gradient(90deg, var(--wa, #2b579a), #c2185b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.doc .wordart.wa-emboss { color: #d7dbe2; text-shadow: -1px -1px 0 #fff, 1px 1px 0 #8a93a3; }
.doc figure.smartart { margin: 10pt auto; text-align: center; }
.doc figure.smartart svg, .doc figure.smartart img { max-width: 100%; height: auto; }
.doc .tf { background: rgba(43,87,154,.08); border-radius: 3px; padding: 0 2px; }
.doc .mfield { background: #fff4c2; color: #6b5200; border-radius: 3px; padding: 0 3px; font-size: .92em; white-space: nowrap; }
.doc .mfield.mf-live { background: #dff3e1; color: #1d5c27; }
.doc .page-break.sect-break { border-top: 2px dashed #6f8fc4; }
.doc .page-break.sect-break::after { content: "Section break"; color: #4a6fb0; }
.doc table.rep-head thead, .doc table.rep-head tr:first-child { break-inside: avoid; }
@media print {
  .doc .page-break.sect-break { border: 0; }
  .doc .page-break.sect-break::after { display: none; }
  .doc .mfield, .doc .mfield.mf-live { background: none; color: inherit; padding: 0; }
  .doc .tf { background: none; }
  .doc thead { display: table-header-group; }
}

/* in-text page gap inserted by the layout engine so a paragraph can continue on the next page */
.pg-gap,.pgs-gap{display:block;height:0;margin:0;padding:0;border:0;line-height:0;font-size:0;pointer-events:none;user-select:none}
@media print{.pg-gap,.pgs-gap{display:none !important}}

/* printing with tracked changes shown as final or as original (set by review.js while printing or saving a PDF) */
.doc.pv-final del.tc, .doc.pv-original ins.tc { display: none; }
.doc.pv-final ins.tc, .doc.pv-original del.tc { color: inherit; text-decoration: none; }
.doc.pv-final span.fc { border: 0; background: none; }
.doc.pv-final ins.tc > :is(.chart,.smartart,.shape,.eq,.textbox,.wordart), .doc.pv-original del.tc > :is(.chart,.smartart,.shape,.eq,.textbox,.wordart) { outline: 0; opacity: 1; }
.doc.pv-final blockquote[data-compare-note], .doc.pv-original blockquote[data-compare-note] { display: none; }
.doc.pv-final :is(p,li,h1,h2,h3,h4,h5,h6):has(> del.tc:only-child), .doc.pv-original :is(p,li,h1,h2,h3,h4,h5,h6):has(> ins.tc:only-child) { display: none; }
