.ls-pdf-export-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid #2271b1;
    border-radius: 4px;
    background: #2271b1;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}
.ls-pdf-export-button:hover, .ls-pdf-export-button:focus-visible { background: #135e96; color: #fff; }
html:has(body.ls-pdf-preview), body.ls-pdf-preview { margin: 0 !important; padding: 0 !important; background: #fff; }
.ls-pdf-preview-toolbar {
    position: sticky;
    top: 0;
    z-index: 999999;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 20px;
    background: #f5f5f5;
    border-bottom: 1px solid #ccc;
}
.ls-pdf-preview-toolbar button { cursor: pointer; padding: 8px 16px; }
.ls-pdf-preview-content { box-sizing: border-box; max-width: 1100px; margin: 0 auto; padding: 30px; }
.ls-pdf-preview-content img { max-width: 100%; height: auto; }
.ls-pdf-preview .ls-pdf-export-button { display: none !important; }
.ls-pdf-canvas-note { padding: 1rem; border: 1px dashed #777; font-style: italic; }
@media print {
    .ls-pdf-export-button, .ls-pdf-preview-toolbar { display: none !important; }
    .ls-pdf-preview-content { max-width: none; margin: 0; padding: 0; }
    @page { margin: 15mm; }
}

.ls-pdf-details-heading { font-weight: 600; margin-bottom: .5rem; }
.ls-pdf-expanded-details { margin-block: 1rem; }

.ls-pdf-preview-toolbar { flex-wrap: wrap; align-items: center; }
.ls-pdf-edit-status { flex: 1 1 200px; font-size: 14px; }
.ls-pdf-preview-toolbar button[aria-pressed="true"] { background: #8b2020; color: white; }
.ls-pdf-removing, .ls-pdf-removing * { cursor: crosshair !important; }
.ls-pdf-remove-target { outline: 3px dashed #b42318 !important; outline-offset: 2px; background-color: #fff0ec !important; }
@media print {
    .ls-pdf-remove-target { outline: none !important; background-color: transparent !important; }
}

/* Long chart strips join on screen and can break between pages when printed. */
.ls-pdf-chart-strips { display: block; break-inside: auto; page-break-inside: auto; }
.ls-pdf-preview-content .ls-pdf-chart-strip { display: block; position: static !important; width: 100% !important; max-width: 100%; height: auto !important; margin: 0 !important; padding: 0; border: 0; break-inside: avoid; page-break-inside: avoid; }
@media print {
 .ls-pdf-chart-strips { display: contents !important; }
 .ls-pdf-preview-content .ls-pdf-chart-strip { float: none !important; break-before: auto !important; break-after: auto !important; page-break-before: auto !important; page-break-after: auto !important; }
}
