/* Laid out at the exact coordinates html2canvas captures (fixed 0,0); hidden from the
   user with opacity + negative stacking. onclone only restores opacity on the
   sandboxed capture copy. Do NOT change its position or size in onclone, or the
   captured image will be offset and clipped. */
.lumen-doc-export-capture-shell {
  position: fixed;
  left: 0;
  top: 0;
  width: 794px;
  min-width: 794px;
  max-width: 794px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  background: #ffffff;
}

.lumen-doc-export-root {
  width: 794px;
  min-width: 794px;
  max-width: 794px;
  box-sizing: border-box;
  background: #ffffff;
  color: #12141a;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 10.5pt;
  line-height: 1.48;
  padding: 0;
}

.lumen-doc-export-root * {
  box-sizing: border-box;
}

.lumen-doc-export-root .lumen-doc-export-header {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 0 10px;
  margin: 0 0 14px;
  border-bottom: 2px solid #ffb400;
}

.lumen-doc-export-root .lumen-doc-export-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.lumen-doc-export-root .lumen-doc-export-header__brand img {
  display: block;
  height: 26px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.lumen-doc-export-root .lumen-doc-export-header__meta {
  text-align: right;
  font-size: 8.5pt;
  color: #5b6170;
  line-height: 1.35;
}

.lumen-doc-export-root .lumen-doc-export-header__meta strong {
  display: block;
  color: #9a6d00;
  font-size: 8pt;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lumen-doc-export-root .about-card {
  background: #fafbfd;
  border: 1px solid #e2e5ee;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 10px;
  box-shadow: none;
  page-break-inside: avoid;
}

.lumen-doc-export-root .about-card h1 {
  margin: 0 0 6px;
  font-size: 16pt;
  line-height: 1.2;
  color: #12141a;
}

.lumen-doc-export-root .about-card h2 {
  margin: 0 0 8px;
  font-size: 11.5pt;
  color: #12141a;
}

.lumen-doc-export-root .about-card h3 {
  margin: 10px 0 5px;
  font-size: 10.5pt;
  color: #3a4050;
}

.lumen-doc-export-root .about-card p {
  margin: 0;
  color: #2f3440;
}

.lumen-doc-export-root .about-card p + p {
  margin-top: 8px;
}

.lumen-doc-export-root .about-card ul,
.lumen-doc-export-root .about-card ol {
  margin: 6px 0 0;
  padding-left: 1.15rem;
}

.lumen-doc-export-root .about-card li {
  margin-bottom: 4px;
}

.lumen-doc-export-root .about-card blockquote {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-left: 3px solid #ffb400;
  background: #fff9e8;
  font-size: 10pt;
}

.lumen-doc-export-root .about-kicker {
  color: #9a6d00;
  font-size: 8pt;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.lumen-doc-export-root .about-lead {
  font-size: 10.5pt;
  font-weight: 600;
  margin: 0 0 8px;
}

.lumen-doc-export-root .about-cite {
  font-size: 9pt;
  color: #5b6170;
}

.lumen-doc-export-root .about-cite a {
  color: #2a5080;
  text-decoration: none;
}

.lumen-doc-export-root .about-source-profile {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e8ebf2;
}

.lumen-doc-export-root .lumen-doc-export-footer {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid #e2e5ee;
  font-size: 8.5pt;
  color: #6b6f76;
  text-align: center;
}

.lumen-doc-export-btn {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: #2a5080;
  cursor: pointer;
  text-decoration: underline;
}

.lumen-doc-export-btn:hover {
  color: #1a3d66;
}

.lumen-doc-export-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

body.lumen-doc-export-viewer-open {
  overflow: hidden;
}

.lumen-doc-export-viewer {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(18, 20, 28, 0.55);
}

.lumen-doc-export-viewer__panel {
  display: flex;
  flex-direction: column;
  width: min(960px, 100%);
  height: min(92vh, 900px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(18, 20, 28, 0.28);
  overflow: hidden;
}

.lumen-doc-export-viewer__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #e2e5ee;
  background: #fafbfd;
}

.lumen-doc-export-viewer__title {
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2f3440;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lumen-doc-export-viewer__download {
  font-size: 0.88rem;
  font-weight: 600;
  color: #2a5080;
  text-decoration: none;
  white-space: nowrap;
}

.lumen-doc-export-viewer__download:hover {
  text-decoration: underline;
}

.lumen-doc-export-viewer__close {
  border: 1px solid #d4d9e4;
  border-radius: 6px;
  padding: 6px 12px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2f3440;
  background: #fff;
  cursor: pointer;
}

.lumen-doc-export-viewer__close:hover {
  background: #f3f5fa;
}

.lumen-doc-export-viewer__frame {
  flex: 1;
  width: 100%;
  border: 0;
  background: #525659;
}
