@media print{
@page{margin:15mm}
:root{color-scheme:light}
html,body{background:#fff!important;color:#000!important;font-size:11pt}
body::before{content:"pocketjyotish.in";position:static;display:block;height:auto;background:none;margin-bottom:10mm;font-size:9pt;color:#000}
header,footer,nav,form,button,.btn,.btn-outline,.no-print,.skip,.chat-box,.chat-form,.typing,.toast,.chart-tabs{display:none!important}
/* Only the calculated kundli is printed. */
main>:not(#results):not(#kundli-results):not(.kundli-results){display:none!important}
body *{color:#000!important;box-shadow:none!important;text-shadow:none!important;animation:none!important;transform:none!important}
main.container{width:100%;max-width:none;min-height:0;margin:0;padding:0}
h1,h2,h3{color:#000!important}h2{font-size:21pt}h3{font-size:16pt}
.card,table,.table,.chart-wrap{break-inside:avoid;page-break-inside:avoid}
.card{background:#fff!important;border:1px solid #999;margin-bottom:5mm;padding:5mm}
.table-wrap{overflow:visible;border-color:#999}.table{font-size:9pt}
.table th,.table td{padding:2mm;background:#fff!important;border-color:#999}
.chart-wrap{margin:5mm auto}.chart-wrap svg{max-width:360px;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.chart .chart-paper,.chart .chart-cell{fill:#fff!important}
.chart .chart-lagna{fill:#f3eddf!important}
.chart rect,.chart path{stroke:#66512b!important;stroke-opacity:1!important}
.chart text{fill:#171717!important}
.chart .chart-sign{fill:#66512b!important}
.result-grid{display:block}.result-grid>div{display:inline-block;width:32%;border:0;vertical-align:top}
.dasha-current,.notice{background:#fff!important;border-color:#999}
.dasha-sub{color:#000!important}.grid-2{display:block}
html[data-lang="hi"] .l-en,html[data-lang="en"] .l-hi,.hidden{display:none!important}
}
