/* TATVANVESHI V11.93 — focused UI finalisation; do not touch stored records or astrology data. */
/* One Share icon only: global controller places it into active page header. */
#btPanchangHub .tv-panchang-share1181,
#btPanchangHub .bt-ph-scroll1143 > .tv-share-actions1181,
#btCalendarOverlay .tv-share-actions1181,
#btPanchangHub .tv-unified-share-trigger1183:not(#tvGlobalShare1184){display:none!important}
#btPanchangHub .bt-ph-scroll1143{padding:8px 12px 14px!important}
#btPanchangHub .bt-ph-detail1121{margin:0!important;padding:2px 0 0!important;min-height:0!important}
#btPanchangHub .bt-ph-detail-head1121{position:relative!important;top:auto!important;margin:0 0 9px!important;padding:0 0 8px!important;gap:9px!important}
#btPanchangHub .bt-ph-intro1130{margin:0 0 9px!important;padding:9px 11px!important}
#btPanchangHub .bt-birth-form1130{row-gap:11px!important}
#btPanchangHub .bt-ph-detail1121 :is(label,p){line-height:1.55}
#btPanchangHub .bt-ph-detail1121 label{font-size:15px!important}
#btPanchangHub .bt-v1162-special-form label,
#btPanchangHub .bt-v1162-special-row,
#btPanchangHub .bt-v1162-special-head{font-size:14px!important}
#btPanchangHub .bt-v1162-special-note{font-size:13px!important}
#btPanchangHub .bt-ph-group1177 .bt-ph-grid button b{font-size:clamp(13px,3.15vw,16px)!important}
#btPanchangHub .bt-ph-group1177 .bt-ph-grid button small{font-size:clamp(12px,2.9vw,13px)!important}
#btPanchangHub .bt-ph-group1177 h3{font-size:16px!important}
/* Avoid making extremely small Hebrew/Indic UI helper text on narrow phones. */
#btPanchangHub .bt-ph-extras1143 button b{font-size:13px!important}
#btPanchangHub .bt-ph-note1143 p{font-size:13px!important}

/* Song reader: content cannot lie beneath sticky toolbar. Title precedes toolbar. */
.app-shell .reader-wrap:has(.tv-reader-song1193){max-width:810px;margin:0 auto}
.app-shell .tv-reader-song1193{padding:clamp(13px,2.5vw,23px)!important;overflow:visible}
.app-shell .tv-reader-song1193 h1{font-size:clamp(22px,4.5vw,30px)!important;line-height:1.42!important;margin:0 0 11px!important;overflow-wrap:anywhere}
.app-shell .tv-reader-song1193 .reader-toolbar{
  position:sticky!important;top:var(--tv-reader-header-offset1193,73px)!important;
  z-index:25!important;box-sizing:border-box;display:flex!important;
  align-items:center!important;gap:5px!important;flex-wrap:nowrap!important;
  width:100%;min-height:48px;margin:0 0 13px!important;
  padding:6px!important;border-radius:13px!important;
  background:rgba(255,249,237,.98)!important;overflow-x:auto!important;
  overflow-y:hidden!important;scrollbar-width:thin;
}
.app-shell .tv-reader-song1193 .reader-toolbar .grow{flex:1 1 auto!important;min-width:0}
.app-shell .tv-reader-song1193 .reader-toolbar .tool-btn{flex:0 0 auto!important;font-size:14px!important;min-height:38px!important;padding:6px 9px!important;line-height:1.35!important}
.app-shell .tv-reader-song1193 .reader-text{line-height:1.78!important;overflow:visible!important;overflow-wrap:anywhere!important;min-width:0}
.app-shell .tv-reader-song1193 .reader-text :is(p,div){margin-bottom:.75em}
/* Deity story / pooja text gets a readable default without changing any user-selected font. */
.app-shell .reader-card:not(.tv-reader-song1193) .reader-text{line-height:1.78!important}
/* Reader buttons remain scrollable in their own row, never cover actual text. */
@media(max-width:600px){
 .app-shell .tv-reader-song1193{padding:12px!important}
 .app-shell .tv-reader-song1193 .reader-toolbar{gap:4px!important;padding:5px!important;margin-bottom:10px!important}
 .app-shell .tv-reader-song1193 .reader-toolbar .tool-btn{font-size:13px!important;min-height:40px!important;padding:6px 7px!important}
 #btPanchangHub .bt-ph-sheet{max-height:calc(96dvh - env(safe-area-inset-bottom))!important}
}
/* User-facing report screen: PDF print CSS still owns typography and pagination. */
@media screen{
 #btBirthReport1133 .bt-r-dialog{scroll-padding-top:63px}
 #btBirthReport1133 .bt-r-paper{font-size:15px!important;line-height:1.72!important}
 #btBirthReport1133 .bt-r-paper .bt-r-field b{font-size:15px!important}
 #btBirthReport1133 .bt-r-paper .bt-r-field small{font-size:13px!important}
 #btBirthReport1133 .bt-r-paper .bt-r-muted{font-size:13px!important}
 #btBirthReport1133 .bt-r-actions{flex-wrap:wrap;row-gap:7px}
}
/* Respect user text scaling preferences. */
@media(prefers-reduced-motion:reduce){.tv-reader-song1193 *{scroll-behavior:auto!important}}
