/* TATVANVESHI UI4 — compact devotional reader, home-only bottom navigation,
   compact content-submission and moderation forms (2026-11-09).
   Layout only: does not change pooja data, calendar, rules, or auth. */
body.tv-inner-screen-v1195 .app-shell > .bottom-nav,
body.tv-overlay-open-v1195 .app-shell > .bottom-nav{display:none!important}
body.tv-inner-screen-v1195 .app-shell{padding-bottom:0!important}
body.tv-inner-screen-v1195 .app-shell .main-content{padding-bottom:12px!important}
body.tv-reading-page-v1195 .app-shell #app > .folder-back{display:none!important}
body.tv-reading-page-v1195 .app-shell .main-content{
  padding:5px 8px 10px!important;margin-top:0!important;
}
body.tv-reading-page-v1195 .app-shell #app .reader-wrap{
  margin:0 auto!important;padding:0!important;max-width:820px;
}
body.tv-reading-page-v1195 .app-shell #app .reader-card{
  margin:0!important;padding:10px 12px 12px!important;
  border-radius:17px!important;
}
body.tv-reading-page-v1195 .app-shell #app .reader-card h1{
  margin:0 0 7px!important;font-size:clamp(21px,5.5vw,29px)!important;
  line-height:1.42!important;
}
body.tv-reading-page-v1195 .app-shell #app .reader-card .cms-reader-sequence{
  margin:0 0 4px!important;padding:0!important;
}
body.tv-reading-page-v1195 .app-shell #app .reader-text{
  margin-top:3px!important;line-height:1.65!important;
}
body.tv-reading-page-v1195 .app-shell #app .reader-text > :first-child{margin-top:0!important}
body.tv-reading-page-v1195 .app-shell #app .reader-card .tv-share-actions1181{display:none!important}
/* Toolbar follows both the header and the sticky breadcrumb. */
.app-shell #tvReaderToolbar1194{
  top:calc(var(--tv-reader-main-height1194,70px) + var(--tv-reader-path-h-v1195,0px))!important;
  min-height:38px!important;max-height:40px!important;
  padding:3px 7px!important;gap:7px!important;
  box-shadow:0 2px 5px rgba(88,54,17,.06)!important;
}
#tvReaderToolbar1194 .tv-reader-sizes1194,
#tvReaderToolbar1194 .tv-reader-end1194{gap:4px!important}
#tvReaderToolbar1194 button{
  min-width:36px!important;width:36px!important;height:33px!important;
  border-radius:9px!important;padding:3px 4px!important;
  font-size:14px!important;line-height:1!important;
}
#tvReaderToolbar1194 [data-tv-reader1194="favorite"]{font-size:22px!important}
#tvReaderToolbar1194 [data-tv-reader1194="fullscreen"] svg{width:17px!important;height:17px!important}
body.tv-reading-page-v1195 .app-shell .tv-pathbar1189{min-height:25px!important;padding:2px 8px!important}
body.tv-reading-page-v1195 .app-shell #app .reader-card{scroll-margin-top:calc(var(--tv-reader-main-height1194,70px) + var(--tv-reader-path-h-v1195,0px) + 43px)!important}
@media(max-width:370px){
 .app-shell #tvReaderToolbar1194{gap:5px!important}
 #tvReaderToolbar1194 button{min-width:34px!important;width:34px!important;height:33px!important}
}
@media(min-width:800px){
 body.tv-reading-page-v1195 .app-shell .main-content{padding-top:9px!important}
 body.tv-reading-page-v1195 .app-shell #app .reader-card{padding:15px 18px!important}
}
/* Keep modal entirely usable on Android, scroll only the form, not the page behind it. */
.submissions-overlay:not([hidden]){
  display:flex!important;align-items:center;justify-content:center;
  padding:8px!important;overflow:hidden!important;
}
.submissions-overlay .submission-dialog{
  position:relative;width:min(100%,650px);max-width:650px;
  max-height:calc(100dvh - 16px);margin:0!important;
  overflow-y:auto!important;overscroll-behavior:contain;
  background:#fffaf1;border-radius:18px;padding:14px 14px 16px!important;
}
.submissions-overlay .submission-heading{
  position:sticky;top:-14px;z-index:3;flex-wrap:nowrap;
  background:#fffaf1;border-bottom:1px solid #ead7b8;
  padding:9px 0 8px;gap:8px;margin-bottom:8px;
}
.submissions-overlay .submission-heading h2{
  font-size:clamp(18px,4.5vw,23px)!important;line-height:1.35!important;
  margin:0!important;min-width:0;
}
.submissions-overlay .submission-heading button{flex-shrink:0;padding:7px 10px!important;font-size:13px!important}
.submissions-overlay .submission-form{gap:9px!important;margin:9px 0!important}
.submissions-overlay .submission-form label{gap:4px!important;font-size:14px!important}
.submissions-overlay .submission-form input:not([type=checkbox]),
.submissions-overlay .submission-form select{padding:9px 10px!important;min-height:39px!important;font-size:15px!important}
.submissions-overlay .submission-form textarea{
  padding:10px!important;min-height:66px!important;max-height:32dvh!important;
  height:auto!important;font-size:15px!important;line-height:1.55!important;
}
.submissions-overlay .submission-form textarea[name="content"]{
  min-height:96px!important;max-height:36dvh!important;
}
.submissions-overlay .submission-status{padding:5px 0!important;min-height:0!important}
.submissions-overlay .submission-form p{margin:2px 0;font-size:13px;line-height:1.45}
.tv-submission-choice-v1195{display:grid;gap:9px;margin:10px 0 14px}
.tv-submission-choice-v1195 button{
  width:100%;text-align:left;border:1px solid #ebd0a0;background:#fffefd;
  border-radius:13px;padding:12px 13px;color:#643711;
}
.tv-submission-choice-v1195 strong{font-size:16px;display:block}
.tv-submission-choice-v1195 small{display:block;margin-top:3px;font-size:12px;color:#74604b}
.tv-submission-choice-v1195 button:focus-visible{outline:2px solid #a95c18;outline-offset:2px}
.tv-current-context-v1195{padding:8px 10px;background:#fff2d7;border-radius:10px;color:#6b350f;margin:8px 0!important;font-size:14px}
.tv-current-context-v1195 small{display:block;color:#947b60;font-size:12px}
.tv-review-note-v1195{background:#fff3dd;padding:7px 9px;border-radius:8px;color:#754a22}
.tv-back-choices-v1195{font-size:13px!important;padding:6px 9px!important}
@media(max-width:430px){
 .submissions-overlay .submission-dialog{padding:10px 12px 12px!important}
 .submissions-overlay .submission-heading{top:-10px}
}
