/* Dedicated document styles. Screen chrome never participates in export. */
#exportRoot[hidden] { display:none; }
body[data-export-open] { background:#e5e6e8; }
body[data-export-open]::before, body[data-export-open] #app { display:none!important; }
.export-toolbar { position:sticky;top:0;z-index:100;padding:14px 24px;background:#111827;color:#f8fafc;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 3px 12px #0002; }
.export-toolbar>div:first-child { display:grid;gap:3px; }
.export-toolbar span { font-size:12px;color:#cbd5e1; }
.export-toolbar-actions { display:flex;gap:8px;flex-shrink:0; }
.export-toolbar button { padding:10px 14px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#111827;font:600 13px system-ui;cursor:pointer; }
.export-toolbar button:focus-visible { outline:3px solid #e9b751;outline-offset:3px; }
.research-report { width:210mm;box-sizing:border-box;margin:20px auto;background:#fff;color:#182334;padding:10mm;box-shadow:0 8px 36px #0002;font-family:Arial,Helvetica,sans-serif;font-size:9.5pt;line-height:1.5;overflow-wrap:anywhere; }
.research-report * { box-sizing:border-box; }
.research-report h1,.research-report h2,.research-report h3,.research-report p,.research-report dl { margin:0; }
.research-report h1,.research-report h2,.research-report h3 { color:#182334;line-height:1.2; }
.research-report h1 { font:600 26pt Georgia,serif;letter-spacing:-.03em; }
.research-report h2 { font:600 19pt Georgia,serif;margin:0 0 5mm; }
.research-report h3 { font-size:12pt;margin:0 0 2.5mm; }
.research-report p { color:#243246;margin:0 0 3mm; }
.research-report a { color:#254c70;text-decoration:none; }
.report-eyebrow { font-size:7pt!important;text-transform:uppercase;letter-spacing:.14em;color:#57616f!important; }
.report-masthead { display:flex;justify-content:space-between;gap:4mm;align-items:center;padding-bottom:3mm;border-bottom:1.5pt solid #263f55; }
.report-edition { color:#617083;font-size:7pt;white-space:nowrap; }
.report-chart-meta { display:grid;gap:1mm;margin-top:3mm;font-size:8.5pt; }
.report-chart-meta strong { font-size:12pt;overflow-wrap:anywhere; }
.report-chart-meta small { font-size:7.2pt;line-height:1.3; }
.report-chart-grid { display:grid;grid-template-columns:117mm minmax(0,1fr);align-items:center;gap:3mm;margin:3mm 0 2mm; }
.report-wheel { width:117mm;height:117mm; }
.report-wheel .wheel { width:100%;height:100%;display:block;filter:none;overflow:visible; }
.report-wheel .wheel-shadow { display:none; }
.report-wheel .wheel-field,.report-wheel .ring.core,.report-wheel .center-medallion,.report-wheel .sign-marker circle,.report-wheel .planet-halo { fill:#fff!important;filter:none; }
.report-wheel .ring { stroke:#627181!important; }
.report-wheel .zodiac-line,.report-wheel .house-line,.report-wheel .degree-tick { stroke:#88929e!important; }
.report-wheel .wheel text { fill:#182334!important;stroke:none!important; }
.report-wheel .planet-halo { stroke:#768495;stroke-width:.2; }
.report-wheel .planet-dot { fill:#344e63; }
.report-wheel .planet-leader { stroke:#637b90;opacity:.7; }
.report-wheel .aspect { stroke-width:.23; }
.report-wheel .aspect.conjunction { stroke:#455a70; }
.report-wheel .aspect.square,.report-wheel .aspect.opposition { stroke:#944a38; }
.report-wheel .aspect.sextile,.report-wheel .aspect.trine { stroke:#356d85; }
.report-wheel .aspect.semisquare,.report-wheel .aspect.sesquiquadrate { stroke:#94603a; }
.report-wheel .angle { stroke:#253d55!important; }
.report-wheel .center-medallion { stroke:#8995a1; }
.report-positions h2,.report-cusps h2,.report-chart-aspects h2 { font:700 9pt Arial,sans-serif;margin-bottom:2mm; }
.report-positions table { width:100%;border-collapse:collapse;font-size:7.5pt;line-height:1.32; }
.report-positions th,.report-positions td { padding:1.35mm .5mm;text-align:left;border-bottom:.4pt solid #d4d9dd;white-space:nowrap; }
.report-positions thead th { font-size:6.8pt;color:#516072; }
.report-positions tbody th { font-weight:600; }
.report-small-facts { margin:3mm 0!important; }
.report-small-facts>div { display:flex;justify-content:space-between;gap:2mm;margin:1.2mm 0;font-size:7.8pt; }
.report-small-facts dt { color:#566577; }
.report-small-facts dd { margin:0;text-align:right;max-width:70%; }
.report-small { font-size:7.2pt!important;line-height:1.4!important;color:#576577!important; }
.report-cusps { border-top:.6pt solid #bac5ce;padding-top:3mm;margin-top:1mm; }
.report-cusp-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:1.5mm 4mm;font-size:8pt; }
.report-cusp-grid>div { display:flex;justify-content:space-between;gap:2mm; }
.report-chart-aspects { margin-top:4mm; }
.report-chart-aspects h2 { display:flex;justify-content:space-between;gap:2mm; }
.report-chart-aspects h2 small { font:400 7.5pt Arial,sans-serif; }
.report-compact-aspects { columns:3;column-gap:5mm;font-size:7.6pt;line-height:1.55;font-variant-numeric:tabular-nums;margin-bottom:2mm; }
.report-compact-aspects>div { break-inside:avoid;white-space:nowrap; }
.report-chart-footer { display:grid;gap:1mm;border-top:.6pt solid #bac5ce;padding-top:2mm;font-size:6.7pt;line-height:1.35;color:#667486; }
.report-contents { margin-top:10mm;padding-top:5mm;border-top:2pt solid #263f55; }
.report-contents nav { display:grid;grid-template-columns:1fr 1fr;gap:1.5mm 6mm;margin:4mm 0; }
.report-callout { padding:3mm;border-left:2pt solid #385b76;background:#edf2f5;margin-top:4mm!important; }
.report-part { margin-top:10mm; }
.report-part>h2 { border-bottom:1pt solid #bac7d1;padding-bottom:3mm; }
.report-part-intro { font-size:9pt;color:#56687b!important;margin-bottom:5mm!important; }
.report-entry { margin:0 0 6mm; }
.report-evidence { font-size:8.2pt;line-height:1.4;color:#405e78!important;font-variant-numeric:tabular-nums;padding:2mm 0;border-bottom:.5pt solid #dbe2e7; }
.report-source { font-size:7.1pt;line-height:1.4!important;color:#677689!important;margin:1.5mm 0 0!important; }
.report-rule { margin:0 0 6mm;padding:0 0 4mm;border-bottom:.6pt solid #d0dae3; }
.report-criteria p { font-size:8.5pt;margin-bottom:2mm; }
.report-definition { margin-bottom:4.5mm; }
.report-definition h3 { font-size:10.5pt;margin-bottom:1.5mm; }
.report-sign-table,.report-audit-table { border-collapse:collapse;width:100%;table-layout:fixed;font-size:8pt;line-height:1.4; }
.report-sign-table th,.report-audit-table th { background:#eef2f5;text-align:left;font-size:7.5pt; }
.report-sign-table th,.report-sign-table td,.report-audit-table th,.report-audit-table td { padding:2mm;vertical-align:top;border-bottom:.6pt solid #ced8e0; }
.report-sign-table th:first-child { width:25%; }
.report-audit-table { font-size:7.2pt; }
.report-audit-table th:first-child { width:31%; }
.report-audit-table th:nth-child(2) { width:14%; }
.report-audit-table small { display:block;font-size:6.6pt;margin-top:1mm;color:#576679; }
.report-audit-table td div+div { margin-top:1.2mm; }
.report-status-matched { font-weight:bold;color:#245347; }
.report-status-not-met { color:#765e43; }
.report-status-not-evaluated { color:#4f617b; }
.report-end { margin-top:8mm;padding-top:4mm;border-top:1.5pt solid #263f55; }
.report-end p { font-size:8pt;margin-top:2mm; }
@media(max-width:820px) {
 .export-toolbar { position:static;align-items:stretch;flex-direction:column;padding:12px;gap:10px; }
 .export-toolbar-actions button { flex:1; }
 .research-report { width:100%;margin:0;padding:16px;font-size:10pt;box-shadow:none; }
 .report-chart-grid { grid-template-columns:1fr;gap:12px; }
 .report-wheel { width:100%;height:auto;aspect-ratio:1; }
 .report-positions table { font-size:9pt; }
 .report-positions th,.report-positions td { padding:7px 3px; }
 .report-cusp-grid { grid-template-columns:1fr 1fr; }
 .report-compact-aspects { columns:2;font-size:7.5pt; }
 .report-contents nav { grid-template-columns:1fr; }
 .report-masthead h1 { font-size:22pt; }
 .report-edition { display:none; }
 .report-sign-table,.report-audit-table { font-size:7.2pt; }
}
@page { size:A4 portrait;margin:10mm; }
@media print {
 html,body { margin:0!important;padding:0!important;background:#fff!important;height:auto!important;overflow:visible!important; }
 body::before,#app,.export-toolbar { display:none!important; }
 #exportRoot { display:block!important;margin:0!important;padding:0!important; }
 .research-report { width:auto!important;max-width:none!important;margin:0!important;padding:0!important;box-shadow:none!important;color:#182334!important;font-size:9.5pt!important;overflow:visible!important; }
 .research-report * { -webkit-print-color-adjust:exact;print-color-adjust:exact; }
 .report-chart-grid { grid-template-columns:117mm minmax(0,1fr)!important;gap:3mm!important; }
 .report-wheel { width:117mm!important;height:117mm!important; }
 .report-positions table { font-size:7.5pt!important; }
 .report-positions th,.report-positions td { padding:1.35mm .5mm!important; }
 .report-cusp-grid { grid-template-columns:repeat(4,1fr)!important; }
 .report-compact-aspects { columns:3!important;font-size:7.6pt!important; }
 .report-contents nav { grid-template-columns:1fr 1fr!important; }
 .report-masthead h1 { font-size:26pt!important; }
 .report-edition { display:block!important; }
 .report-chart-sheet { break-inside:avoid; }
 .report-mode-full .report-chart-sheet { break-after:page; }
 .report-contents { margin-top:0;padding-top:3mm; }
 .report-part { margin-top:7mm; }
 .report-part>h2,.report-entry>h3,.report-definition>h3,.report-rule>h3 { break-after:avoid;page-break-after:avoid; }
 .research-report p { orphans:3;widows:3; }
 .report-entry,.report-rule { break-inside:auto; }
 .report-source { break-before:avoid; }
 .report-evidence { break-after:avoid; }
 .report-definition,.report-sign-table tr,.report-audit-table tr { break-inside:avoid;page-break-inside:avoid; }
 .report-sign-table thead,.report-audit-table thead { display:table-header-group; }
 .report-audit-table { font-size:7.2pt!important; }
 .report-sign-table { font-size:8pt!important; }
 a[href]::after { content:none!important; }
}
/* Isolate the paper palette from the application's dark browser color scheme. */
@page { background:#fff; @bottom-left { content:"Celestial Dynamics · Research export";font:7pt Arial,sans-serif;color:#657487; } @bottom-right { content:counter(page) " / " counter(pages);font:7pt Arial,sans-serif;color:#657487; } }
@media print {
 :root { color-scheme:light!important; }
 html,body { min-height:0!important; }
 .research-report { padding:0 1mm!important; }
 .report-positions { min-width:0; }
}

/* Approximate-time window report additions */
#report-window h3{font-size:10pt;margin:5mm 0 2mm}#report-window p{margin:1.5mm 0;line-height:1.45}.report-mode-chart .report-callout b{font-weight:750}
