/* Wave 8 chart tools (set T11): printable kundali, divisional charts, Ashtakavarga and the dasha timeline. */
.t11-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin: 0.2rem 0 1rem; }
.t11-actions .btn { cursor: pointer; }
.t11-sub { margin: 0 0 0.6rem; font-size: 0.82rem; color: var(--ink-dim, #666); }
.t11-foot { margin: 0.6rem 0 0; font-size: 0.72rem; color: var(--ink-dim, #666); }
.t11-sheet { margin: 0.4rem 0 1rem; }
.t11-head h3 { margin: 0 0 0.2rem; }
.t11-planets, .t11-dasha, .t11-bav, .t11-sav { font-size: 0.86rem; }
.t11-bav th, .t11-bav td, .t11-sav th, .t11-sav td { padding: 0.35rem 0.4rem; text-align: center; }
.t11-bav th:first-child, .t11-sav th:first-child { text-align: left; }
.t11-bav tfoot th, .t11-bav tfoot td { font-weight: 600; border-top: 2px solid var(--parchment-edge, #d9cfb8); }
.t11-hi { font-weight: 700; color: var(--gold-bright, #8a6a12); }
.t11-ok { color: var(--gold-bright, #8a6a12); font-weight: 600; }
.t11-bar { display: flex; width: 100%; height: 2.6rem; border: 1px solid var(--parchment-edge, #d9cfb8); border-radius: 4px; overflow: hidden; margin: 0.5rem 0 0.2rem; position: relative; }
.t11-barwrap { position: relative; }
.t11-seg { display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 600; color: #1d1d1d; border-right: 1px solid rgba(0, 0, 0, 0.25); overflow: hidden; white-space: nowrap; }
.t11-seg:last-child { border-right: 0; }
.t11-now { position: absolute; top: 0.3rem; height: 3.2rem; width: 0; border-left: 2px solid #b3261e; }
.t11-scale { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--ink-dim, #666); margin-bottom: 0.8rem; }
.t11-maha { margin: 1rem 0 0; }
.t11-maha h4 { margin: 0 0 0.3rem; }
.t11-maha .fest-table { font-size: 0.84rem; }
.t11-maha .fest-table th, .t11-maha .fest-table td { padding: 0.3rem 0.6rem; }
.t11-maha tr.nvc-cur td, .t11-maha tr.nvc-cur th { font-weight: 700; }
.t11-Ketu { background: #d9c7a8; } .t11-Venus { background: #f0d7e2; } .t11-Sun { background: #f6c978; } .t11-Moon { background: #e6ecf2; }
.t11-Mars { background: #e9a99a; } .t11-Rahu { background: #c8c3d6; } .t11-Jupiter { background: #f3e08e; } .t11-Saturn { background: #aeb8c4; } .t11-Mercury { background: #b9dcb6; }
.t11-pick { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.8rem; }
.t11-pick button { cursor: pointer; border: 1px solid var(--parchment-edge, #d9cfb8); background: transparent; color: inherit; border-radius: 4px; padding: 0.3rem 0.6rem; font: inherit; font-size: 0.85rem; }
.t11-pick button[aria-pressed="true"] { background: var(--gold-bright, #c9962b); color: #1a1a1a; border-color: var(--gold-bright, #c9962b); }
.t11-rule { font-size: 0.9rem; }
.t11-sav-chart { max-width: 340px; margin: 0.6rem auto; }
@media (max-width: 640px) { .t11-bav { font-size: 0.74rem; } .t11-bav th, .t11-bav td { padding: 0.25rem 0.2rem; } }

@media print {
  @page { size: A4 portrait; margin: 12mm; }
  body.t11-printing { background: #fff !important; color: #000 !important; }
  body.t11-printing .t11-hide { display: none !important; }
  body.t11-printing .t11-actions { display: none !important; }
  body.t11-printing .result-card, body.t11-printing .nvc-result { border: 0 !important; box-shadow: none !important; background: #fff !important; padding: 0 !important; margin: 0 !important; }
  body.t11-printing .t11-sheet { margin: 0; color: #000; }
  body.t11-printing .t11-sheet * { color: #000 !important; text-shadow: none; }
  body.t11-printing .t11-sheet h3 { font-size: 15pt; margin: 0 0 1mm; }
  body.t11-printing .t11-sheet h4 { font-size: 11pt; margin: 3mm 0 1mm; }
  body.t11-printing .t11-sheet p { font-size: 8.5pt; margin: 0 0 1.5mm; line-height: 1.3; }
  body.t11-printing .t11-sheet .t11-foot { font-size: 7pt; }
  body.t11-printing .t11-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 6mm; margin: 1mm 0; }
  body.t11-printing .nvc-chart { max-width: 58mm; color: #000 !important; }
  body.t11-printing .nvc-chart text, body.t11-printing .nvc-chart .nvc-pl, body.t11-printing .nvc-chart .nvc-num { fill: #000 !important; }
  body.t11-printing .nvc-charts figcaption { font-size: 8pt; color: #000; }
  body.t11-printing .fest-scroll { overflow: visible; }
  body.t11-printing .fest-table { font-size: 7.5pt; line-height: 1.1; }
  body.t11-printing .fest-table th, body.t11-printing .fest-table td { padding: 0.4mm 1.2mm; border-bottom: 0.3mm solid #777; white-space: normal; color: #000 !important; }
  body.t11-printing .fest-table thead th { background: #e8e8e8 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.t11-printing .t11-seg { -webkit-print-color-adjust: exact; print-color-adjust: exact; border-right: 0.3mm solid #555; }
  body.t11-printing .t11-bar { border: 0.3mm solid #555; height: 9mm; }
  body.t11-printing .t11-now { border-left: 0.6mm solid #000; }
  body.t11-printing .t11-maha { break-inside: avoid; page-break-inside: avoid; }
  body.t11-printing .t11-maha .fest-table { font-size: 7.5pt; }
  body.t11-printing .t11-maha .fest-table th, body.t11-printing .t11-maha .fest-table td { padding: 0.5mm 1.2mm; }
  body.t11-printing .t11-hi { font-weight: 700; text-decoration: underline; }
}
.t11-mgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0.8rem; }
@media print { body.t11-printing .t11-mgrid { grid-template-columns: 1fr 1fr 1fr; gap: 3mm; } body.t11-printing .t11-maha { margin: 0; } }
