/* Source: tv-compact-reader-content-v1195.css */
/* 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;
}
body.tv-reading-page-v1195 .app-shell #app .reader-text > :first-child{margin-top:0}
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}
}


/* Source: tv-smart-mobile-fit-v1218.css */
/* TATVANVESHI 12.18 Smart Auto Mobile Fit — one responsive continuous-scroll reader.
   Source text, manual <br>, headings, colors, and intentional center alignments are untouched. */
body.tv-reading-page-v1195 .app-shell #app .reader-wrap{width:100%!important;max-width:860px!important;min-width:0!important}
body.tv-reading-page-v1195 .app-shell #app .reader-card,
.bt-focused-reader .reader-card{
  box-sizing:border-box!important;min-width:0!important;max-width:100%!important;
  background:linear-gradient(180deg,#fffefb,#fffdf9)!important;
  border:1px solid #e8d6b6!important;border-radius:12px!important;
  box-shadow:0 2px 8px rgba(111,65,19,.045)!important;
  color:#302418!important;
}
body.tv-reading-page-v1195 .app-shell #app .reader-card{padding:10px 12px 18px!important}
body.tv-reading-page-v1195 .app-shell #app .reader-text,
.bt-focused-reader .reader-text,
.tv-smartpreview-book .reader-text,
.bt-preview-paper.reader-text,
.cms-preview-card .reader-text{
  box-sizing:border-box!important;min-width:0!important;max-width:100%!important;
  overflow-wrap:break-word!important;word-break:normal!important;
  white-space:normal!important;hyphens:manual!important;
  overflow-x:visible!important;
  text-wrap:wrap!important;color:#302418;
}
body.tv-reading-page-v1195 .reader-text > :first-child,
.tv-smartpreview-book .reader-text > :first-child{margin-top:0}
body.tv-reading-page-v1195 .reader-text img,
.bt-focused-reader .reader-text img,
.tv-smartpreview-book .reader-text img{height:auto!important;max-width:100%!important}
body.tv-reading-page-v1195 .reader-text table,
.bt-focused-reader .reader-text table,
.tv-smartpreview-book .reader-text table{max-width:100%!important;table-layout:fixed!important;width:100%!important}
body.tv-reading-page-v1195 .reader-text td,body.tv-reading-page-v1195 .reader-text th,
.bt-focused-reader .reader-text td,.bt-focused-reader .reader-text th,
.tv-smartpreview-book .reader-text td,.tv-smartpreview-book .reader-text th{
  min-width:0!important;overflow-wrap:break-word!important;word-break:normal!important;
}
body.tv-reading-page-v1195 .reader-text ul,body.tv-reading-page-v1195 .reader-text ol,
.bt-focused-reader .reader-text ul,.bt-focused-reader .reader-text ol,
.tv-smartpreview-book .reader-text ul,.tv-smartpreview-book .reader-text ol{
  padding-inline-start:1.55em!important;margin-inline:0!important;
}
body.tv-reading-page-v1195 .reader-text li,.bt-focused-reader .reader-text li{padding-inline-start:.08em}
/* V12.19: Editor, Preview and Reader preserve all editor alignments.
   Do not convert text-align:justify/center/right to start on mobile. */
@media(max-width:700px){
  body.tv-reading-page-v1195 .app-shell #app .reader-card{padding:10px 10px 15px!important}
  .bt-focused-scroll{padding:44px 7px 65px!important}
  .bt-focused-reader .reader-card{padding:12px 10px 22px!important}
}
/* Live mobile-size preview: no warning sidebar, line-count list, or approval gate. */
.tv-smartpreview-overlay{position:fixed;inset:0;z-index:2147483200;background:#241507a6;
  display:flex;align-items:center;justify-content:center;padding:8px;box-sizing:border-box}
.tv-smartpreview-dialog{box-sizing:border-box;display:flex;flex-direction:column;
  width:min(620px,100%);height:min(850px,calc(100dvh - 16px));max-height:calc(100dvh - 16px);
  overflow:hidden;background:#fffaf0;color:#422b16;border:1px solid #edcca4;border-radius:16px;
  box-shadow:0 25px 70px #160a054f;font-family:inherit}
.tv-smartpreview-head{display:flex;align-items:center;justify-content:space-between;gap:8px;
  background:#fff0d3;border-bottom:1px solid #e4c391;padding:10px 13px}
.tv-smartpreview-head strong{font-size:16px;color:#71370a}
.tv-smartpreview-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;
  padding:8px 12px;border-bottom:1px solid #ebd8ba;background:#fffcf8}
.tv-smartpreview-dialog button,.tv-smartpreview-dialog select{font:inherit;border:1px solid #dabb8b;
  background:#fff;color:#71370a;border-radius:9px;min-height:34px;padding:5px 10px;cursor:pointer}
.tv-smartpreview-dialog button:focus-visible,.tv-smartpreview-dialog select:focus-visible{outline:2px solid #b55e14;outline-offset:2px}
.tv-smartpreview-dialog button[data-sp="done"]{background:#ad510b;color:#fff;border-color:#ad510b;font-weight:700}
.tv-smartpreview-note{font-size:12px;color:#866b52;flex:1}
.tv-smartpreview-stage{background:#f4ecdf;padding:12px;overflow:auto;
  display:flex;align-items:flex-start;justify-content:center;overscroll-behavior:contain;min-height:0;flex:1}
.tv-smartpreview-book{box-sizing:border-box;background:#fffefa;border:1px solid #ddc5a0;
  box-shadow:0 8px 22px #42250a20;border-radius:10px;padding:11px 12px 17px;
  flex:0 0 auto;min-width:0;max-width:none;min-height:320px}
.tv-smartpreview-book .reader-text{font-size:var(--tv-smartpreview-font,19px)!important;
  margin:0!important;color:#271c12!important}
.tv-smartpreview-book .reader-text>*:first-child{margin-top:0!important}
.tv-smartpreview-footer{padding:9px 12px;border-top:1px solid #e6cfae;display:flex;
  flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;background:#fff7e9}
.tv-smartpreview-status{font-size:12px;color:#705339;flex:1 1 170px;line-height:1.5}
@media(max-width:700px){
  .tv-smartpreview-dialog{height:calc(100dvh - 16px)}
  .tv-smartpreview-stage{padding:8px;justify-content:flex-start}
  .tv-smartpreview-head strong{font-size:14px}
  .tv-smartpreview-note{display:none}
  .tv-smartpreview-controls{padding:6px 8px;gap:5px}
  .tv-smartpreview-dialog button,.tv-smartpreview-dialog select{font-size:12px;padding:5px 7px}
}
@media(prefers-reduced-motion:reduce){.tv-smartpreview-dialog *{scroll-behavior:auto!important}}


/* Source: tv-editor-mobile-wysiwyg-v1219.css */
/* TATVANVESHI V12.19 — Mobile-first WYSIWYG editor and all-tools-visible toolbar.
   Editing view switches do NOT mutate HTML, selections or stored Firestore data. */
.bt-editor-v1219.pooja-rich-toolbar{
  display:flex!important;flex-direction:column!important;gap:0!important;
  padding:5px 8px!important;background:#fff9ef!important;
  overflow:visible!important;max-height:none!important;
  border:1px solid #dfc7a3!important;border-radius:12px 12px 0 0!important;
}
.bt-editor-v1219 .bt-v1219-line{
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;
  gap:5px!important;width:100%!important;min-width:0!important;
  padding:5px 1px!important;border-bottom:1px solid #edddc4;
  background:transparent!important;box-sizing:border-box!important;
}
.bt-editor-v1219 .bt-v1219-line:last-of-type{border-bottom:0}
.bt-editor-v1219 .bt-v1219-line-label{
  flex:0 0 78px;color:#945013;font-size:10px;font-weight:800;
  letter-spacing:.07em;text-align:left;white-space:nowrap;
}
.bt-editor-v1219 .bt-v1219-line button,
.bt-editor-v1219 .bt-v1219-line select,
.bt-editor-v1219 .bt-v1219-line .bt-v1150-palette>button,
.bt-editor-v1219 .bt-v1219-line .bt-v1152-size-group>button,
.bt-editor-v1219 .bt-v1219-line .bt-v1152-size-group>select{
  box-sizing:border-box!important;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #e1c49d!important;border-radius:7px!important;
  min-width:32px!important;max-width:185px!important;width:auto!important;
  height:33px!important;min-height:33px!important;max-height:33px!important;
  margin:0!important;padding:5px 8px!important;background:#fff!important;
  color:#71370f!important;font:500 12px/1.2 "Noto Sans Telugu",system-ui,sans-serif!important;
  white-space:nowrap!important;cursor:pointer!important;
}
.bt-editor-v1219 .bt-v1219-line select{display:inline-block!important;padding:3px 6px!important;font:12px/1.2 'Noto Sans Telugu',system-ui,sans-serif!important}
.bt-editor-v1219 .bt-v1219-line [data-format="block"]{width:106px!important}
.bt-editor-v1219 .bt-v1219-line [data-format="family"]{width:147px!important;min-width:100px!important}
.bt-editor-v1219 .bt-v1219-line [data-format="size"]{width:61px!important}
.bt-editor-v1219 .bt-v1219-line [data-format="spacing"],
.bt-editor-v1219 .bt-v1219-line [data-format="paragraph-gap"]{
  width:87px!important;min-width:87px!important;max-width:90px!important;
}
.bt-editor-v1219 .bt-v1219-line .bt-v1152-size-group{display:inline-flex!important;flex:none!important;gap:3px!important;padding:0!important;}
.bt-editor-v1219 .bt-v1219-screen-label{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#805126;white-space:nowrap}
.bt-editor-v1219 .bt-v1219-help{font-size:11px;color:#897055;line-height:1.3}
.bt-editor-v1219 .bt-v1219-layout-line button[aria-pressed="true"]{
  background:#ffe2ab!important;border-color:#c78423!important;color:#7d3a06!important;font-weight:750!important;
}
.bt-editor-v1219 .bt-v1219-line button:disabled,
.bt-editor-v1219 .bt-v1219-line select:disabled{opacity:.52;cursor:not-allowed!important}
.bt-editor-v1219 .bt-v1219-line [data-action="preview"]{background:#fff0cf!important;color:#944a0c!important;font-weight:750!important}
.bt-editor-v1219 .bt-v1219-line .bt-v1150-palette{display:inline-flex!important;position:relative}
.bt-editor-v1219 .bt-v1150-palette-popup{z-index:100060!important}
.bt-editor-v1219 .bt-v1219-line [data-role="image-upload-input"][hidden]{display:none!important}
.bt-editor-v1219 .bt-v1153-clipboard-status{font-size:12px;align-self:flex-start;flex-basis:100%;}
/* The default canvas is the actual outer width of the user's phone. The white
   reader card and editor use identical 12px inner padding and 19px typography. */
.bt-v1219-paper-frame{
  box-sizing:border-box!important;min-width:0!important;width:100%!important;
  padding:11px 6px!important;background:#f2eade!important;
  border:1px solid #e6cfad!important;border-top:0!important;
  overflow-x:auto!important;
}
.bt-v1219-mobile-mode>.bt-v1219-paper-frame .pooja-rich-area,
.bt-v1219-mobile-mode.bt-v1151-maximized>.bt-v1219-paper-frame .pooja-rich-area{
  display:block!important;box-sizing:border-box!important;
  width:min(var(--tv-editor-phone-width,360px),100%)!important;
  max-width:var(--tv-editor-phone-width,360px)!important;
  min-width:0!important;min-height:380px!important;height:min(65vh,650px)!important;
  max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;
  margin:0 auto!important;padding:11px 12px 17px!important;
  background:#fffefa!important;border:1px solid #ddc5a0!important;
  border-radius:10px!important;box-shadow:0 8px 22px #42250a14!important;
  color:#302418!important;font:400 19px/1.58 'Noto Sans Telugu','Nirmala UI','Gautami',system-ui,sans-serif!important;
  word-break:normal!important;overflow-wrap:break-word!important;
  white-space:normal!important;hyphens:manual!important;text-wrap:wrap!important;
  text-align:start;
}
.bt-v1219-desktop-mode>.bt-v1219-paper-frame .pooja-rich-area,
.bt-v1219-desktop-mode.bt-v1151-maximized>.bt-v1219-paper-frame .pooja-rich-area{
  display:block!important;box-sizing:border-box!important;
  width:100%!important;max-width:900px!important;height:min(65vh,650px)!important;
  max-height:none!important;min-height:380px!important;
  overflow-y:auto!important;overflow-x:hidden!important;margin:0 auto!important;
  padding:11px 12px 17px!important;background:#fffefa!important;
  border:1px solid #ddc5a0!important;border-radius:10px!important;
  box-shadow:0 8px 22px #42250a14!important;
  color:#302418!important;font:400 19px/1.58 'Noto Sans Telugu','Nirmala UI','Gautami',system-ui,sans-serif!important;
  overflow-wrap:break-word!important;word-break:normal!important;white-space:normal!important;
}
/* Shared base typography and structural handling. Preserve inline formatting. */
.bt-v1219-paper-frame .pooja-rich-area :is(img,video,canvas),
.tv-smartpreview-book .reader-text :is(img,video,canvas){max-width:100%!important;height:auto!important}
.bt-v1219-paper-frame .pooja-rich-area table,
.tv-smartpreview-book .reader-text table{max-width:100%!important;width:100%!important;table-layout:fixed!important}
.bt-v1219-paper-frame .pooja-rich-area td,
.bt-v1219-paper-frame .pooja-rich-area th,
.tv-smartpreview-book .reader-text td,
.tv-smartpreview-book .reader-text th{overflow-wrap:break-word!important;word-break:normal!important;min-width:0!important}
.bt-v1219-paper-frame .pooja-rich-area ul,
.bt-v1219-paper-frame .pooja-rich-area ol,
.tv-smartpreview-book .reader-text ul,
.tv-smartpreview-book .reader-text ol{padding-inline-start:1.55em!important;margin-inline:0!important}
/* No mobile-specific alignment override: CENTER, RIGHT and JUSTIFY in the
   stored HTML must render the same way in the editor, preview, and reader. */
.tv-smartpreview-book .reader-text{
  font-family:'Noto Sans Telugu','Nirmala UI','Gautami',system-ui,sans-serif!important;
  text-align:start;
}
/* Allow desktop and phone view to share the same normal paragraph spacing. */
.bt-v1219-paper-frame .pooja-rich-area :is(p,div,li),
.tv-smartpreview-book .reader-text :is(p,div,li){margin-top:0;margin-bottom:0}
@media(max-width:700px){
 .bt-editor-v1219 .bt-v1219-line-label{flex:0 0 100%;font-size:10px;margin-bottom:1px}
 .bt-editor-v1219 .bt-v1219-line{gap:4px!important;padding:5px 0!important}
 .bt-editor-v1219 .bt-v1219-line button,.bt-editor-v1219 .bt-v1219-line select,
 .bt-editor-v1219 .bt-v1219-line .bt-v1150-palette>button{font-size:11px!important;padding:4px 6px!important;}
 .bt-editor-v1219 .bt-v1219-help{flex:1 1 100%}
 .bt-v1219-paper-frame{padding:6px 2px!important}
}
@media(prefers-reduced-motion:reduce){.bt-editor-v1219 button{transition:none!important}}


/* Source: tv-editor-ribbon-v1220.css */
/* V12.20 Word-style single ribbon: tabs + a compact command row.
 * Preserve old button actions and editor HTML; only toggle tab visibility. */
.bt-editor-v1220.pooja-rich-toolbar{gap:0!important; padding:0!important;overflow:visible!important;max-height:none!important;border:1px solid #e5cda9!important;}
.bt-editor-v1220 .bt-v1220-tabs{display:flex!important;gap:2px;flex:none;align-items:stretch;min-height:37px;max-width:100%;overflow-x:auto;padding:4px 7px 0!important;background:#f7ebd7;border-bottom:1px solid #d9b991;scrollbar-width:thin}
.bt-editor-v1220 .bt-v1220-tabs button{appearance:none;border:1px solid transparent!important;border-bottom:none!important;border-radius:8px 8px 0 0!important;background:transparent!important;color:#774016!important;font-weight:650!important;white-space:nowrap;padding:7px 14px!important;height:32px!important;min-width:63px!important;flex:none;cursor:pointer}
.bt-editor-v1220 .bt-v1220-tabs button[aria-selected="true"]{background:#fffefa!important;border-color:#e5cda9!important;color:#a44d0b!important;box-shadow:0 2px 0 #fffefa}
.bt-editor-v1220 .bt-v1220-panel[hidden]{display:none!important;}
.bt-editor-v1220 .bt-v1220-panel{display:flex!important;align-items:center!important;align-content:center;flex-wrap:nowrap!important;gap:4px!important;min-height:42px;max-height:50px;width:100%!important;overflow-x:auto!important;overflow-y:visible!important;padding:6px 8px!important;border-bottom:0!important;background:#fffefa!important;scrollbar-width:thin}
.bt-editor-v1220 .bt-v1220-panel .bt-v1219-line-label{display:none!important;}
.bt-editor-v1220 .bt-v1220-panel button,.bt-editor-v1220 .bt-v1220-panel select{flex-shrink:0!important;font-size:12px!important;height:32px!important;min-height:32px!important;max-height:32px!important;padding:4px 8px!important}
.bt-editor-v1220 .bt-v1219-line [data-format="block"]{width:102px!important}
.bt-editor-v1220 .bt-v1219-line [data-format="family"]{width:135px!important}
.bt-editor-v1220 .bt-v1220-file-panel{gap:12px!important}
.bt-editor-v1220 .bt-v1220-pdf-hint{font-size:11px;line-height:1.2;color:#846449;white-space:normal;flex:1 1 270px}
.bt-editor-v1220 .bt-v1220-panel [data-action="save-as-pdf"]{background:#fff1d8!important;font-weight:700!important;color:#9f5108!important;min-width:116px!important}
.bt-editor-v1220 .bt-v1153-clipboard-status{padding:3px 8px!important}
.bt-editor-v1220 .bt-v1150-palette-popup{overflow:visible!important}
.bt-editor-v1220 .bt-v1150-palette{flex-shrink:0}
@media(max-width:700px){
 .bt-editor-v1220 .bt-v1220-tabs{min-height:35px;padding:2px 4px 0!important}
 .bt-editor-v1220 .bt-v1220-tabs button{padding:6px 10px!important;min-width:56px!important}
 .bt-editor-v1220 .bt-v1220-panel{min-height:42px!important;max-height:50px!important;gap:4px!important;padding:4px 6px!important}
 .bt-editor-v1220 .bt-v1220-panel .bt-v1219-help{display:none!important}
 .bt-editor-v1220 .bt-v1220-pdf-hint{font-size:10px;min-width:220px}
}


/* Source: tv-editor-word-ribbon-v1221.css */
/* TATVANVESHI V12.21: grouped, MS Word-inspired Ribbon.
   Existing command elements are moved (not duplicated); all original handlers survive. */
.bt-editor-v1220.pooja-rich-toolbar{padding:0!important;gap:0!important;display:flex!important;flex-direction:column!important;min-width:0!important}
.bt-editor-v1220 .bt-v1220-tabs{min-height:34px!important;height:37px!important;max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important;align-items:end!important;background:#f6e9d7!important;padding:3px 7px 0!important}
.bt-editor-v1220 .bt-v1220-tabs button{min-width:auto!important;flex:none!important;padding:5px 12px!important;height:31px!important;font-size:12px!important}
.bt-editor-v1220 .bt-v1220-panel{display:none!important}
.bt-editor-v1220 .tv-v1221-ribbon-surface{display:block!important;width:100%!important;min-width:0!important;background:#fffdf8;border-bottom:1px solid #dbbb8d}
.bt-editor-v1220 .tv-v1221-ribbon-page{display:flex!important;align-items:stretch;flex-wrap:nowrap;gap:0;overflow-x:auto!important;overflow-y:hidden!important;width:100%;height:114px;scrollbar-width:thin;scrollbar-color:#dab987 transparent;overscroll-behavior-x:contain}
.bt-editor-v1220 .tv-v1221-ribbon-page[hidden]{display:none!important}
.bt-editor-v1220 .tv-v1221-ribbon-group{flex:0 0 auto;min-width:96px;max-width:370px;height:105px;padding:7px 8px 1px;border-right:1px solid #e6d9c4;display:flex;flex-direction:column;justify-content:space-between;gap:3px}
.bt-editor-v1220 .tv-v1221-group-content{min-height:70px;max-height:75px;align-items:center;align-content:center;justify-content:start;display:flex;flex-wrap:wrap;gap:4px;padding:1px;overflow:visible}
.bt-editor-v1220 .tv-v1221-group-caption{height:15px;min-height:15px;font-size:10px!important;font-weight:650!important;line-height:14px!important;color:#8b694d;text-align:center;white-space:nowrap}
.bt-editor-v1220 .tv-v1221-small-row{display:flex;gap:3px;align-items:center;width:100%;flex:none;flex-wrap:nowrap}
.bt-editor-v1220 .tv-v1221-ribbon-group button,.bt-editor-v1220 .tv-v1221-ribbon-group select,
.bt-editor-v1220 .tv-v1221-ribbon-group .bt-v1150-palette>button,
.bt-editor-v1220 .tv-v1221-ribbon-group .bt-v1152-size-group>button,
.bt-editor-v1220 .tv-v1221-ribbon-group .bt-v1152-size-group>select{
   box-sizing:border-box!important;min-width:28px!important;max-width:168px!important;height:29px!important;min-height:29px!important;max-height:29px!important;
   flex:0 0 auto!important;margin:0!important;padding:3px 7px!important;border:1px solid #dfc8ac!important;
   border-radius:5px!important;background:#fff!important;color:#783f15!important;font:500 11px/1.15 'Noto Sans Telugu',system-ui,sans-serif!important;white-space:nowrap!important;cursor:pointer!important
}
.bt-editor-v1220 .tv-v1221-ribbon-group select{display:inline-block!important;max-width:145px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group [data-format="family"]{width:138px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group [data-format="block"]{width:110px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group [data-format="size"]{width:48px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group .bt-v1152-size-group{display:inline-flex!important;gap:2px!important;flex:none!important}
.bt-editor-v1220 .tv-v1221-ribbon-group .bt-v1150-palette{display:inline-flex!important;position:relative;z-index:7}
.bt-editor-v1220 .tv-v1221-ribbon-group .bt-v1150-palette-popup{position:fixed!important;z-index:100300!important;max-width:320px}
.bt-editor-v1220 .tv-v1221-ribbon-group button[aria-pressed="true"]{background:#ffe2ae!important;border-color:#b97320!important}
.bt-editor-v1220 .tv-v1221-ribbon-group button:disabled{opacity:.45;cursor:not-allowed!important}
.bt-editor-v1220 .tv-v1221-ribbon-group .tv-v1221-swatch{border-left:5px solid var(--swatch)!important}
.bt-editor-v1220 .tv-v1221-ribbon-group .tv-v1221-note{font-size:11px;line-height:1.35;max-width:250px;color:#765842}
.bt-editor-v1220 .tv-v1221-ribbon-group .tv-v1221-count{font-size:11px;white-space:nowrap;color:#795230}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="font"]{min-width:320px}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="paragraph"]{min-width:285px}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="styles"]{min-width:148px;max-width:176px}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="clipboard"]{min-width:166px;max-width:195px}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="design-colours"]{min-width:285px}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="page-width"]{min-width:230px}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="tables"]{min-width:242px}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="layout-note"],
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="design-note"],
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="file-info"]{width:250px}
.bt-editor-v1220 .tv-v1221-ribbon-group [data-role="image-upload-input"]{display:none!important}
.bt-editor-v1220 .bt-v1153-clipboard-status{margin:3px 8px!important;font-size:11px!important}
/* Visual Zoom only; internal line width remains at chosen 320/360/390px.
   CSS zoom is applied only to the editing canvas, never to content HTML. */
.bt-v1219-mobile-mode>.bt-v1219-paper-frame .pooja-rich-area{zoom:var(--tv-v1221-visual-zoom,1)}
@media(max-width:700px){
  .bt-editor-v1220 .tv-v1221-ribbon-page{height:114px!important}
  .bt-editor-v1220 .tv-v1221-ribbon-group{height:105px!important}
  .bt-editor-v1220 .tv-v1221-ribbon-group .tv-v1221-note{font-size:10px}
  .bt-editor-v1220 .bt-v1220-tabs button{padding:5px 9px!important}
}


/* Source: tv-book-page-v1223.css */
/* TATVANVESHI V12.23: 9:16 book editing for all rich-text content.
   Does not alter original BTHTML or Firebase content. */
.bt-v1151-workspace.tv-v1223-book-mode>.bt-v1219-paper-frame .pooja-rich-area,
.bt-v1151-workspace.tv-v1223-book-mode.bt-v1151-maximized>.bt-v1219-paper-frame .pooja-rich-area{
  box-sizing:border-box!important;
  width:min(var(--tv-editor-phone-width,360px),100%)!important;
  max-width:var(--tv-editor-phone-width,360px)!important;
  margin-inline:auto!important;
  border:0!important;
  padding:12px!important;
  font:400 19px/1.58 'Noto Sans Telugu','Nirmala UI','Gautami',system-ui,sans-serif!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  text-align:start;
  background:#fffefa!important;
  color:#302418!important;
  zoom:var(--tv-v1221-visual-zoom,1.25);
}
.bt-v1151-workspace.tv-v1223-book-mode>.bt-v1219-paper-frame{
  background:#eae2d5!important;min-height:440px;
}
.bt-editor-v1220 .tv-v1221-ribbon-group [data-word-action="book:on"][aria-pressed="true"]{
  background:#ffe6b5!important;border-color:#c5862e!important;color:#71370f!important;font-weight:750!important;
}
@media(max-width:670px){
 .bt-v1151-workspace.tv-v1223-book-mode>.bt-v1219-paper-frame .pooja-rich-area{zoom:1!important;}
}


/* Source: tv-editor-compact-v1224.css */
/* V12.24: No horizontal ribbon scrolling; all critical tools on Home. */
.bt-editor-v1220 .bt-v1220-tabs{
 display:flex!important;flex-wrap:wrap!important;overflow:visible!important;height:auto!important;
 min-height:34px!important;max-height:none!important;padding:2px 5px 0!important;gap:0!important
}
.bt-editor-v1220 .bt-v1220-tabs button{
 min-width:0!important;padding:5px 9px!important;font-size:11px!important;height:31px!important
}
.bt-editor-v1220 .tv-v1221-ribbon-surface{overflow:visible!important;width:100%!important}
.bt-editor-v1220 .tv-v1221-ribbon-page{
 height:auto!important;min-height:108px!important;overflow-x:visible!important;overflow-y:visible!important;
 display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;gap:0!important;
}
.bt-editor-v1220 .tv-v1221-ribbon-page[hidden]{display:none!important}
.bt-editor-v1220 .tv-v1221-ribbon-group{
 flex:0 1 auto!important;min-width:0!important;max-width:none!important;height:99px!important;
 padding:4px 5px 1px!important;border-right:1px solid #e9dfcd!important
}
.bt-editor-v1220 .tv-v1221-group-content{
 display:flex!important;flex-wrap:wrap!important;align-content:center!important;
 min-height:74px!important;max-height:77px!important;gap:3px!important;overflow:visible!important
}
.bt-editor-v1220 .tv-v1221-ribbon-group button,
.bt-editor-v1220 .tv-v1221-ribbon-group select,
.bt-editor-v1220 .tv-v1221-ribbon-group .bt-v1150-palette>button{
 height:28px!important;min-height:28px!important;max-height:28px!important;
 font-size:11px!important;padding:3px 5px!important;max-width:135px!important
}
.bt-editor-v1220 .tv-v1221-small-row{gap:2px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="font"]{flex:0 0 272px!important;min-width:272px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="paragraph"]{flex:0 0 210px!important;min-width:210px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="spacing-home"]{flex:0 0 104px!important;min-width:104px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="styles"]{flex:0 0 100px!important;min-width:100px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="quick-view"]{flex:0 0 110px!important;min-width:110px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="history"]{flex:0 0 70px!important;min-width:70px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group [data-format="family"]{width:112px!important;max-width:112px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group [data-format="block"]{width:90px!important;max-width:90px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group .bt-v1152-size-group [data-format="size"]{width:43px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="spacing-home"] select{width:92px!important;max-width:92px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="quick-view"] button{width:100%!important;white-space:nowrap!important;font-size:10px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="history"] button{width:60px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="paragraph"] button{padding:3px 4px!important;font-size:10px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="font"] [data-palette] > button{font-size:0!important;width:30px!important;min-width:30px!important;padding:2px!important}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="font"] [data-palette="text"] > button::before{content:'A';font:bold 15px/1 sans-serif;color:#af4412}
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="font"] [data-palette="highlight"] > button::before{content:'▰';font:bold 17px/1 sans-serif;color:#eb9f1d}
/* Palette swatches must take their custom --choice background; previous Word ribbon forced WHITE. */
.bt-editor-v1220 .tv-v1221-ribbon-group .bt-v1150-palette-popup .bt-v1150-colour{
 background:var(--choice)!important;background-color:var(--choice)!important;
 width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;
 max-width:26px!important;max-height:26px!important;border:1px solid #ae9c85!important;
 border-radius:5px!important;padding:0!important;display:block!important
}
.bt-editor-v1220 .bt-v1150-palette-popup{z-index:2147483100!important;overflow:visible!important}
.bt-editor-v1220 .bt-v1150-palette-popup[hidden]{display:none!important}
/* Insertion and reviewing pages may wrap into an extra compact row rather than sideways scrolling. */
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="clipboard"],
.bt-editor-v1220 .tv-v1221-ribbon-group[data-group="tables"]{max-width:260px!important}
@media(max-width:680px){
 .bt-editor-v1220 .tv-v1221-ribbon-page{height:auto!important;min-height:0!important}
 .bt-editor-v1220 .tv-v1221-ribbon-group{height:90px!important}
 .bt-editor-v1220 .tv-v1221-group-content{min-height:65px!important;max-height:68px!important}
 .bt-editor-v1220 .bt-v1220-tabs button{font-size:10px!important;padding:4px 6px!important}
}
/* No duplicated reading tools; page-level favorite and Home continue-reading stay. */
#app .tv-smart-tools-v1222,#app .bt-audio-launch{display:none!important}


/* Source: tv-editor-unified-v1225.css */
/* TATVANVESHI V12.25 — one grouped compact toolbar, no tabs. */
.bt-editor-v1220.tv-v1225-one-ribbon .bt-v1220-tabs{display:none!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-surface{
 display:block!important;overflow:visible!important;background:#fffaf1!important
}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-page{
 display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;align-content:flex-start!important;
 gap:3px!important;overflow:visible!important;min-height:0!important;height:auto!important;
 padding:5px!important;background:#fffaf1!important
}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group{
 flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;
 height:auto!important;min-height:48px!important;max-height:none!important;
 padding:3px 5px!important;margin:0!important;border:1px solid #ead9bf!important;
 border-radius:7px!important;background:#fffdf9!important;gap:2px!important;
 justify-content:center!important;display:flex!important;flex-direction:column!important
}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-group-content{
 width:auto!important;min-height:0!important;max-height:none!important;height:auto!important;
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;align-content:center!important;
 justify-content:flex-start!important;gap:3px!important;padding:0!important
}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-group-caption{
 height:auto!important;min-height:0!important;font-size:9px!important;line-height:12px!important;
 text-align:left!important;padding-left:3px!important;color:#9c6a3e!important
}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-small-row{
 display:flex!important;flex-wrap:nowrap!important;width:auto!important;gap:2px!important
}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group button,
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group select,
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group .bt-v1150-palette>button{
 height:29px!important;min-height:29px!important;max-height:29px!important;
 max-width:112px!important;min-width:23px!important;padding:3px 5px!important;
 font-size:10.5px!important;border-radius:5px!important
}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="font"]{flex-basis:266px!important;width:266px!important;min-width:266px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="paragraph"]{flex-basis:205px!important;width:205px!important;min-width:205px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="spacing-home"]{flex-basis:100px!important;width:100px!important;min-width:100px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="styles"]{flex-basis:93px!important;width:93px!important;min-width:93px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="clipboard"]{flex-basis:150px!important;width:150px!important;min-width:150px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="history"]{flex-basis:63px!important;width:63px!important;min-width:63px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="links"]{flex-basis:120px!important;width:120px!important;min-width:120px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="pictures"]{flex-basis:58px!important;width:58px!important;min-width:58px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="tables"]{flex-basis:144px!important;width:144px!important;min-width:144px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="elements"]{flex-basis:63px!important;width:63px!important;min-width:63px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="page-width"]{flex-basis:170px!important;width:170px!important;min-width:170px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="zoom"]{flex-basis:64px!important;width:64px!important;min-width:64px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="book-page"]{flex-basis:95px!important;width:95px!important;min-width:95px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="quick-view"]{flex-basis:95px!important;width:95px!important;min-width:95px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="proof"]{flex-basis:82px!important;width:82px!important;min-width:82px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="count"]{flex-basis:105px!important;width:105px!important;min-width:105px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="pdf-export"]{flex-basis:80px!important;width:80px!important;min-width:80px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="pdf-upload"]{flex-basis:84px!important;width:84px!important;min-width:84px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group [data-format="family"]{width:116px!important;max-width:116px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group [data-format="block"]{width:81px!important;max-width:81px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group [data-format="spacing"],
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group [data-format="paragraph-gap"]{width:90px!important;max-width:90px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group [data-editor-mode]{padding:2px 5px!important;max-width:80px!important;font-size:10px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group .bt-v1219-screen-label{display:inline-flex;align-items:center;gap:4px;font-size:10px;white-space:nowrap}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group .bt-v1219-screen-label select{max-width:75px!important;width:75px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group .tv-v1221-note{display:none!important}
/* Larger, legible swatch grid with custom native colour picker. */
.bt-editor-v1220.tv-v1225-one-ribbon .bt-v1150-palette-popup{
 position:fixed!important;display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;
 gap:5px!important;max-width:300px!important;max-height:min(78vh,420px)!important;overflow-y:auto!important;
 padding:9px!important;background:#fff!important;z-index:2147483100!important
}
.bt-editor-v1220.tv-v1225-one-ribbon .bt-v1150-palette-popup[hidden]{display:none!important}
.bt-editor-v1220.tv-v1225-one-ribbon .bt-v1150-palette-popup .bt-v1150-colour{
 width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;
 border:1px solid #b3a08a!important;background:var(--choice)!important
}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1225-custom-colour{
 grid-column:1/-1;display:flex;gap:10px;align-items:center;justify-content:space-between;
 padding:4px 2px;font-size:12px;color:#7d430e
}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1225-custom-colour input{
 width:72px;height:30px;cursor:pointer;padding:0 3px;border:1px solid #c3a887;border-radius:5px
}
@media(max-width:620px){
 .bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-page{padding:4px!important;gap:3px!important}
 .bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group{max-width:100%!important}
 .bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="font"]{flex-basis:min(266px,100%)!important;width:min(266px,100%)!important;min-width:0!important}
 .bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="paragraph"]{flex-basis:min(205px,100%)!important;width:min(205px,100%)!important;min-width:0!important}
}

/* Let small inline style actions wrap rather than overlap when fonts grow. */
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-small-row{flex-wrap:wrap!important;max-width:100%!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="font"] [data-cmd="removeFormat"]{max-width:42px!important;padding-inline:4px!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group [data-palette] > button{width:27px!important;min-width:27px!important;max-width:27px!important;padding:2px!important}

/* Palette launchers use plain icons, not duplicate pseudo labels. */
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="font"] [data-palette]>button::before{content:none!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="font"] [data-palette]>button{font-size:13px!important;line-height:20px!important;font-weight:700!important;overflow:hidden!important}
.bt-editor-v1220.tv-v1225-one-ribbon [data-action="palette-text"]{border-bottom:3px solid #ae4a0e!important}
.bt-editor-v1220.tv-v1225-one-ribbon [data-action="palette-highlight"]{background:#ffedaf!important}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="page-width"]{flex-basis:212px!important;width:212px!important;min-width:212px!important}
@media(max-width:620px){
 .bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-group[data-group="page-width"]{flex-basis:210px!important;width:210px!important;min-width:0!important}
}
/* Avoid the legacy content-box 100% + padding overflow (especially 320px). */
.bt-editor-v1220.tv-v1225-one-ribbon,
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-surface,
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-page{
 box-sizing:border-box!important;max-width:100%!important;min-width:0!important
}
.bt-editor-v1220.tv-v1225-one-ribbon .tv-v1221-ribbon-page{
 width:100%!important;overflow-x:clip!important
}


/* Source: tv-editor-two-rows-v1226.css */
/* V12.26: two organised tool bands with larger Maximise at the right.
   Keep all original buttons and group handlers. */
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-surface{container-type:inline-size;container-name:tv-editor-ribbon}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-page{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 flex-wrap:nowrap!important;gap:0!important;padding:4px 6px!important;
 min-height:0!important;height:auto!important;max-height:none!important;
 overflow:visible!important;background:#fffcf7!important
}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1226-tool-row{
 box-sizing:border-box!important;display:flex!important;flex-flow:row nowrap!important;
 justify-content:flex-start!important;align-items:center!important;align-content:center!important;
 min-width:0!important;max-width:100%!important;width:100%!important;
 gap:4px!important;padding:3px 1px!important;overflow:visible!important;
}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1226-top-row{
 border-bottom:1px solid #e5cfae!important;
}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group{
 min-height:0!important;max-height:none!important;height:auto!important;
 min-width:0!important;max-width:none!important;
 flex:0 1 auto!important;box-sizing:border-box!important;
 margin:0!important;padding:2px 4px!important;gap:0!important;
 border:0!important;border-right:1px solid #e8d7ba!important;
 border-radius:0!important;background:transparent!important;
 justify-content:center!important;
}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-group-content{
 min-height:0!important;max-height:none!important;height:auto!important;
 width:100%!important;display:flex!important;align-content:center!important;
 align-items:center!important;justify-content:flex-start!important;
 flex-wrap:wrap!important;gap:2px!important;padding:0!important;
}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-group-caption{
 display:none!important;
}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group button,
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group select,
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group .bt-v1150-palette>button{
 box-sizing:border-box!important;min-height:26px!important;max-height:27px!important;height:27px!important;
 font:500 10px/1.15 'Noto Sans Telugu',system-ui,sans-serif!important;
 padding:2px 4px!important;border-radius:5px!important;
}
/* Reduce wasted group widths from the original oversized Word ribbon. */
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="font"]{flex:0 1 250px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="paragraph"]{flex:0 1 181px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="spacing-home"]{flex:0 1 91px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="styles"]{flex:0 1 82px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="clipboard"]{flex:0 1 121px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="history"]{flex:0 1 60px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="links"]{flex:0 1 98px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="pictures"]{flex:0 1 50px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="tables"]{flex:0 1 140px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="elements"]{flex:0 1 57px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="page-width"]{flex:0 1 174px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="zoom"]{flex:0 1 58px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="book-page"]{flex:0 1 78px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="quick-view"]{flex:0 1 71px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="proof"]{flex:0 1 65px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="count"]{flex:0 1 65px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="pdf-export"]{flex:0 1 68px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="pdf-upload"]{flex:0 1 75px!important;width:auto!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group [data-format="family"]{width:104px!important;max-width:104px!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group [data-format="block"]{width:74px!important;max-width:74px!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group [data-format="spacing"],
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group [data-format="paragraph-gap"]{width:82px!important;max-width:82px!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group[data-group="page-width"] .bt-v1219-screen-label{font-size:10px!important}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1226-max-area{margin-left:auto;flex:0 0 auto;max-width:160px;align-self:stretch;display:flex;align-items:stretch;justify-content:flex-end;padding:1px 0 1px 4px}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1226-big-maximize{
 display:inline-flex!important;align-items:center;justify-content:center;
 height:62px!important;min-height:62px!important;width:142px!important;max-width:142px!important;
 font:750 13px/1.2 'Noto Sans Telugu',system-ui,sans-serif!important;
 color:#fff!important;background:linear-gradient(135deg,#bd580c,#ec870e)!important;
 border:1px solid #bc680d!important;border-radius:10px!important;
 box-shadow:0 2px 7px #ba771e35;cursor:pointer
}
.bt-editor-v1220.tv-v1226-two-rows .tv-v1226-big-maximize:focus-visible{outline:3px solid #a95511!important;outline-offset:2px}
/* On narrower editing panels, keep all controls visible by wrapping within the two logical bands. */
@media(max-width:1250px){
 .bt-editor-v1220.tv-v1226-two-rows .tv-v1226-tool-row{flex-wrap:wrap!important;align-content:center!important}
 .bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group{flex:0 1 auto!important}
 .bt-editor-v1220.tv-v1226-two-rows .tv-v1226-max-area{margin-left:auto!important}
}
@media(max-width:600px){
 .bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-page{padding:3px!important}
 .bt-editor-v1220.tv-v1226-two-rows .tv-v1226-tool-row{gap:2px!important}
 .bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group{padding:2px!important}
 .bt-editor-v1220.tv-v1226-two-rows .tv-v1226-big-maximize{width:118px!important;height:44px!important;min-height:44px!important;font-size:12px!important}
}
/* Reader text defaults must not introduce paragraph gaps that were absent
   from Editor content. Inline styles saved by cleanHtml retain their priority. */
body.tv-reading-page-v1195 .reader-text :is(p,div,li),
.bt-focused-reader .reader-text :is(p,div,li){margin-top:0;margin-bottom:0}

/* The admin edit form can be only ~850px even on a 1440px laptop.
   Use actual editor container width, not just viewport, to prevent side-scrolling. */
@container tv-editor-ribbon (max-width:1230px){
 .bt-editor-v1220.tv-v1226-two-rows .tv-v1226-tool-row{flex-wrap:wrap!important;align-content:center!important}
 .bt-editor-v1220.tv-v1226-two-rows .tv-v1221-ribbon-group{flex:0 1 auto!important}
 .bt-editor-v1220.tv-v1226-two-rows .tv-v1226-max-area{margin-left:auto!important}
}


/* Source: tv-editor-professional-v1227.css */
/* V12.27 : Professional, minimal two-rail toolbar without scattered cards. */
.bt-editor-v1220.tv-v1227-pro-ribbon{
 box-sizing:border-box!important;max-width:100%!important;min-width:0!important;
 background:#fffefa!important;border:1px solid #e5d8c5!important;
 border-radius:10px 10px 0 0!important;box-shadow:0 2px 8px #4b291006!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .bt-v1220-tabs{display:none!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1221-ribbon-surface{
 display:block!important;max-width:100%!important;min-width:0!important;
 overflow:visible!important;background:transparent!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1221-ribbon-page{
 display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
 align-items:stretch!important;justify-content:flex-start!important;
 box-sizing:border-box!important;min-width:0!important;width:100%!important;max-width:100%!important;
 height:auto!important;max-height:none!important;min-height:0!important;
 overflow:visible!important;padding:7px 10px!important;gap:0!important;
 background:transparent!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-rail{
 display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
 justify-content:flex-start!important;gap:0!important;
 padding:3px 0!important;box-sizing:border-box!important;
 width:100%!important;min-width:0!important;max-width:100%!important;
 min-height:39px!important;height:auto!important;overflow:visible!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-format-rail{border-bottom:1px solid #eee6da!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack{
 box-sizing:border-box!important;display:flex!important;flex-direction:row!important;
 align-items:center!important;justify-content:flex-start!important;
 width:auto!important;max-width:none!important;min-width:0!important;min-height:0!important;height:auto!important;
 flex:0 1 auto!important;padding:0 9px!important;margin:0!important;gap:3px!important;
 border:0!important;border-right:1px solid #e9e0d2!important;
 border-radius:0!important;background:transparent!important;
 position:relative!important;flex-wrap:nowrap!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack:first-child{padding-left:1px!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack:last-child{border-right:0!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack button,
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack select,
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack .bt-v1150-palette>button{
 box-sizing:border-box!important;flex:0 0 auto!important;min-width:29px!important;max-width:none!important;
 height:32px!important;min-height:32px!important;max-height:32px!important;
 margin:0!important;padding:4px 7px!important;border-radius:6px!important;
 border:1px solid transparent!important;background:transparent!important;
 color:#553a26!important;font:600 11.5px/1.2 'Noto Sans Telugu',system-ui,sans-serif!important;
 white-space:nowrap!important;box-shadow:none!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack button:hover,
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack select:hover{
 background:#f8f0e5!important;border-color:#ebd3b2!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack button:focus-visible,
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack select:focus-visible{
 outline:2px solid #b8681b!important;outline-offset:1px!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack button[aria-pressed=true],
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack button.active{
 background:#f9e8d2!important;color:#873e0a!important;border-color:#e0b47a!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack select{
 background:#fffdfa!important;border-color:#e2d7c8!important;cursor:pointer!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack [data-format="block"]{width:88px!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack [data-format="family"]{width:120px!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack [data-format="spacing"],
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack [data-format="paragraph-gap"]{width:94px!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack [data-word-zoom]{width:68px!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack .bt-v1152-size-group{display:flex!important;gap:1px!important;align-items:center!important;white-space:nowrap!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack [data-format="size"]{width:64px!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack [data-palette]{position:relative!important;flex:0 0 auto!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack [data-palette]>button{
 width:31px!important;min-width:31px!important;max-width:31px!important;
 font-size:14px!important;font-weight:800!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack [data-action="palette-text"]{border-bottom:3px solid #c86013!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack [data-action="palette-highlight"]{background:#fff1bc!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack .bt-v1219-screen-label{display:flex!important;align-items:center!important;gap:3px!important;white-space:nowrap!important;font-size:0!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack .bt-v1219-screen-label select{width:70px!important;font-size:11.5px!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack [data-editor-mode]{font-size:11px!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack [data-action="preview"]{color:#9b4b0e!important;font-weight:700!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack .tv-v1227-count{
 position:absolute;top:100%;left:0;z-index:3;width:max-content;max-width:280px;
 border-radius:6px;padding:3px 7px;background:#fffefa;box-shadow:0 2px 8px #cabaa077;
 font-size:10px!important;color:#7c4a22!important;pointer-events:none;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack .tv-v1227-count:empty{display:none!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-actions-rail [data-pack="Maximise or restore"]{
 margin-left:auto!important;padding-right:0!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-maximise{
 background:linear-gradient(135deg,#ba570a,#d97711)!important;
 color:#fff!important;font-weight:800!important;letter-spacing:.2px!important;
 border-radius:8px!important;min-height:36px!important;height:36px!important;
 padding:4px 16px!important;border-color:#b65e11!important;box-shadow:0 2px 6px #a55c1b25!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-maximise:hover{
 color:#fff!important;background:#a34d07!important;border-color:#a34d07!important;
}
/* On actual smaller editor panels keep buttons usable and never clip the page. */
@media(max-width:1450px){
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack{padding-inline:5px!important;gap:2px!important}
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack button{padding-inline:5px!important}
}
@media(max-width:1170px){
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-rail{flex-wrap:wrap!important;row-gap:4px!important}
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack{padding-block:2px!important}
}
@media(max-width:620px){
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1221-ribbon-page{padding:5px!important}
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack{max-width:100%!important;gap:2px!important}
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack button,.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack select{min-height:32px!important;font-size:11px!important}
}
/* Preserve V12.25 expanded colour palette in the new toolbar too. */
.bt-editor-v1220.tv-v1227-pro-ribbon .bt-v1150-palette-popup{
 position:fixed!important;display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;
 gap:5px!important;max-width:300px!important;max-height:min(78vh,420px)!important;overflow-y:auto!important;
 padding:9px!important;background:#fff!important;z-index:2147483100!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .bt-v1150-palette-popup[hidden]{display:none!important}
.bt-editor-v1220.tv-v1227-pro-ribbon .bt-v1150-palette-popup .bt-v1150-colour{
 width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;
 border:1px solid #b3a08a!important;background:var(--choice)!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1225-custom-colour{
 grid-column:1/-1;display:flex;gap:10px;align-items:center;justify-content:space-between;
 padding:4px 2px;font-size:12px;color:#7d430e;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1225-custom-colour input{
 width:72px;height:30px;cursor:pointer;padding:0 3px;border:1px solid #c3a887;border-radius:5px;
}
/* Primary fullscreen action: override the generic icon button background. */
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack button.tv-v1227-maximise{
 background:linear-gradient(135deg,#b85509,#d97612)!important;
 border:1px solid #ba6214!important;color:#fff!important;
 font-weight:800!important;font-size:11px!important;letter-spacing:.25px!important;
 border-radius:8px!important;min-width:126px!important;min-height:37px!important;height:37px!important;
 padding:5px 12px!important;box-shadow:0 2px 5px #a55c1b30!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack button.tv-v1227-maximise:hover{
 color:#fff!important;background:#9e4805!important;box-shadow:0 3px 8px #a55c1b38!important;
}
@media(max-width:620px){
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack[data-pack="Font and headings"]{
  flex-wrap:wrap!important;max-width:100%!important;
 }
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack[data-pack="Font and headings"] .bt-v1152-size-group{
  min-width:0!important;max-width:100%!important;
 }
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack[data-pack="Editing page"]{
  flex-wrap:wrap!important;max-width:100%!important;
 }
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack[data-pack="Maximise or restore"]{margin-left:auto!important}
}
/* Laptop widths: squeeze separators slightly, keep full two-line toolbar. */
@media(min-width:1171px) and (max-width:1450px){
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack{padding-left:3px!important;padding-right:3px!important;gap:1px!important}
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack button{padding-left:4px!important;padding-right:4px!important}
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-maximise{min-width:114px!important;padding-inline:8px!important}
}
@media(min-width:1171px) and (max-width:1320px){
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-actions-rail .tv-v1227-pack{padding-left:1px!important;padding-right:1px!important;gap:1px!important}
}
@media(min-width:1171px) and (max-width:1320px){
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack button.tv-v1227-maximise{min-width:108px!important;padding-inline:7px!important;font-size:10px!important}
}


/* Source: tv-editor-panel-responsive-v1228.css */
/* TATVANVESHI v12.28 — normal/minimised editor panel width responsiveness.
   CSS is intentionally limited to the v12.27 editor toolbar. Original
   rich-text command handlers, 9:16 canvas and PDF publishing are unchanged. */
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1221-ribbon-surface{
  container:tv-editor-panel / inline-size;
  width:100%!important;min-width:0!important;
}
/* Do not shrink command packs below their real contents: it was responsible
   for controls appearing on top of each other when the admin form is narrow. */
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-rail{
  flex-wrap:wrap!important;
  align-content:flex-start!important;
  align-items:center!important;
  column-gap:0!important;row-gap:5px!important;
  height:auto!important;min-height:39px!important;
  max-height:none!important;
  overflow:visible!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack{
  flex:0 0 auto!important;
  width:max-content!important;
  min-width:max-content!important;
  max-width:100%!important;
  align-self:center!important;
  white-space:nowrap!important;
}
/* Palette, native selects and hidden image upload input retain their existing
   functionality; only command-pack layout is changed. */
@container tv-editor-panel (max-width:1080px){
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1221-ribbon-page{
   padding:6px 7px!important;
 }
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack{
   padding-inline:5px!important;
 }
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack button,
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack select{
   padding-inline:6px!important;
 }
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-actions-rail [data-pack="Maximise or restore"]{
   margin-left:auto!important;
 }
}
@container tv-editor-panel (max-width:510px){
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1221-ribbon-page{
   padding:5px!important;
 }
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack{
   padding-inline:3px!important;
   border-right:0!important;
 }
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack[data-pack="Font and headings"],
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack[data-pack="Images and tables"],
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack[data-pack="Editing page"]{
   min-width:0!important;width:auto!important;max-width:100%!important;
   flex-flow:row wrap!important;white-space:normal!important;
 }
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack[data-pack="Font and headings"] .bt-v1152-size-group{
   flex-wrap:wrap!important;
 }
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack button.tv-v1227-maximise{
   min-width:112px!important;
 }
}
/* Very narrow phones: the editor is fully usable without horizontal page
   scrolling. Bigger tables/images belong in the content canvas, not ribbon. */
@container tv-editor-panel (max-width:350px){
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack{
   max-width:100%!important;
 }
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack[data-pack="Text formatting"],
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack[data-pack="Alignment"],
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack[data-pack="Lists and indentation"],
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack[data-pack="Clipboard"],
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack[data-pack="Links and painter"]{
   min-width:0!important;width:auto!important;
   flex-flow:row wrap!important;white-space:normal!important;
 }
}


/* Source: tv-editor-reliable-v1229.css */
/* TATVANVESHI V12.29 — Selection-safe editor / 390px mobile-only controls. */
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1229-selected-size{
 display:inline-flex;align-items:center;justify-content:center;
 min-width:75px;white-space:nowrap;
 border:1px solid #dfc39e;background:#fff8eb;color:#854414;
 border-radius:6px;padding:0 6px;height:29px;box-sizing:border-box;
 font:700 11px/1.1 'Noto Sans Telugu',sans-serif;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-rail [data-pack='390px Mobile book'] [data-editor-mode=mobile]{
 color:#85410b!important;background:#faead5!important;border-color:#e5ba7c!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-rail [data-action='uniform-spacing']{
 color:#884411!important;border:1px solid #e3c5a0!important;background:#fff6e5!important;
}
.bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-rail [data-action='shortcuts-help']{
 border:1px solid #e3c5a0!important;
}
/* Reader and Editor start from exactly the same base line height.
   Explicit line-height on a paragraph is preserved by the DOM sanitizer. */
body.tv-reading-page-v1195 .app-shell #app .reader-card .reader-text,
.bt-focused-reader .reader-card .reader-text,
.tv-smartpreview-book .reader-text,
.bt-preview-paper.reader-text,.cms-preview-card .reader-text{
 line-height:1.58!important;
}
/* Native paragraph margin creates visibly inconsistent row gaps after paste.
   Inline margin-bottom from the editor is left intact. Do not strip explicit BRs. */
.bt-v1219-paper-frame .pooja-rich-area :is(p,div,li,h2,h3,h4,blockquote),
body.tv-reading-page-v1195 .app-shell #app .reader-card .reader-text :is(p,div,li,h2,h3,h4,blockquote),
.bt-focused-reader .reader-text :is(p,div,li,h2,h3,h4,blockquote),
.tv-smartpreview-book .reader-text :is(p,div,li,h2,h3,h4,blockquote){
 margin-top:0;
}
/* Long devotional titles stay readable in the mobile editor. */
.bt-v1151-workspace.tv-v1223-book-mode>.bt-v1219-paper-frame .pooja-rich-area{
 --tv-editor-phone-width:390px;
}
@container tv-editor-panel (max-width:600px){
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1227-pack[data-pack='390px Mobile book']{
  flex-flow:row wrap!important;white-space:normal!important;
 }
 .bt-editor-v1220.tv-v1227-pro-ribbon .tv-v1229-selected-size{min-width:65px;}
}

.tv-v1229-preview-width{font-weight:800;color:#854414;border:1px solid #e3c59b;background:#fff8e9;border-radius:8px;padding:6px 10px;font-size:12px;white-space:nowrap;}


/* Source: tv-word-import-v1244.css */
/* V12.44: Word import is shared across all CMS rich editors. */
.pooja-rich-toolbar .tv-word-import-v1244{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:33px;max-width:140px;padding:6px 10px;border:1px solid #d18b35;border-radius:8px;background:#fff1d2;color:#873d0c;font-weight:750;font-size:12px;white-space:nowrap;cursor:pointer}
.pooja-rich-toolbar .tv-word-import-v1244:hover{background:#ffddab}
.pooja-rich-toolbar input[type=file][hidden]{display:none!important}
@media(max-width:600px){.pooja-rich-toolbar .tv-word-import-v1244{font-size:11px;padding:5px 7px}}


/* Source: tv-full-translation-v1236.css */
/* TATVANVESHI V12.36 — full-document approved language workspaces */
.tv-full-translation1236{border:1px solid #e9c99a;background:#fffaf1;border-radius:12px;margin:12px 0;padding:10px;max-width:100%;box-sizing:border-box}
.tv-full-translation1236>summary{font-weight:700;font-size:15px;color:#8e3f0b;cursor:pointer;padding:6px;list-style:revert}
.tv-translation-help1236{font:13px/1.5 system-ui,sans-serif;color:#77512d;margin:8px 2px 12px}
.tv-full-translation1236 .bt-v1151-workspace{max-width:100%;width:100%;box-sizing:border-box}
.tv-full-translation1236 .bt-v1151-paper-frame{max-width:100%;}
.tv-full-translation1236 .pooja-rich-area{white-space:normal;overflow-wrap:break-word;}
.tv-full-translation1236 .pooja-rich-toolbar{max-width:100%;box-sizing:border-box}
.tv-full-translation1236 .bt-v1151-workspace.bt-v1151-maximized{z-index:2147483644}
@media(max-width:700px){.tv-full-translation1236{padding:6px}.tv-full-translation1236>summary{font-size:14px}}


/* Source: tv-hybrid-reader-v1222.css */
/* TATVANVESHI V12.22: Smart text remains the default. Optional verified special PDFs only. */
.tv-hybrid-reader-option-v1222{display:flex;justify-content:center;margin:8px 0 10px;}
.tv-hybrid-reader-option-v1222[hidden]{display:none!important}
.tv-hybrid-open-v1222{font:inherit;font-size:14px;font-weight:700;border-radius:12px;padding:9px 15px;border:1px solid #d9b17d;background:#fff5e4;color:#8d410c;cursor:pointer}
.tv-hybrid-open-v1222:focus-visible{outline:3px solid #b86b27;outline-offset:2px}
.tv-smart-tools-v1222{display:flex;align-items:center;gap:5px;flex-wrap:wrap;border:1px solid #e8d8bf;background:#fffaf2;border-radius:12px;padding:6px;margin:8px 0 12px;font-size:12px}
.tv-smart-tools-v1222 button{background:#fff;border:1px solid #dfc19a;border-radius:8px;color:#874614;padding:6px 9px;font:inherit;cursor:pointer}
.tv-smart-tools-v1222 button:focus-visible{outline:2px solid #b86b27}
.tv-smart-tools-v1222 input[type=search]{min-width:100px;flex:1 1 110px;max-width:220px;padding:7px;border-radius:8px;border:1px solid #dfc19a;font:inherit}
.tv-smart-tools-v1222 progress{width:70px;height:7px;accent-color:#c56c19}
.tv-smart-tools-v1222 .tv-smart-status-v1222{margin-left:auto;color:#865631;white-space:nowrap}
@media(max-width:390px){.tv-smart-tools-v1222{font-size:11px}.tv-smart-tools-v1222 button{padding:5px 7px}}


/* Source: tv-unified-typography-v1230.css */
/* V12.30 canonical typography for one DOM in every view. */
/* The reader article is moved into the overlay; there is no parallel rich-text copy. */
body.tv-reading-page-v1195 .app-shell #app .reader-card.tv-unified-reader-v1230,
.bt-focused-reader .reader-card.tv-unified-reader-v1230{
  box-sizing:border-box!important;min-width:0!important;
  background:#fffefb!important;color:#302418!important;
  border:1px solid #e8d6b6!important;border-radius:12px!important;
  box-shadow:0 2px 8px rgba(111,65,19,.045)!important;
  padding:12px 12px 18px!important;
}
body.tv-reading-page-v1195 .app-shell #app .reader-card.tv-unified-reader-v1230 .reader-text,
.bt-focused-reader .reader-card.tv-unified-reader-v1230 .reader-text,
.tv-smartpreview-book .reader-text,
.bt-v1219-paper-frame .pooja-rich-area{
  font-family:'Noto Sans Telugu','Nirmala UI','Gautami',system-ui,sans-serif;
  line-height:1.58!important;white-space:normal!important;
  overflow-wrap:break-word!important;word-break:normal!important;
  hyphens:manual!important;min-width:0!important;max-width:100%!important;
}
body.tv-reading-page-v1195 .app-shell #app .reader-card.tv-unified-reader-v1230 .reader-text,
.bt-focused-reader .reader-card.tv-unified-reader-v1230 .reader-text{
  font-size:var(--reader-size,1.2rem)!important;overflow-x:visible!important;
}
/* Only defaults: editor-authored inline paragraph line-height, margin and alignment win. */
body.tv-reading-page-v1195 .app-shell #app .reader-card.tv-unified-reader-v1230 .reader-text :is(p,div,li,h2,h3,h4,blockquote),
.bt-focused-reader .reader-card.tv-unified-reader-v1230 .reader-text :is(p,div,li,h2,h3,h4,blockquote),
.tv-smartpreview-book .reader-text :is(p,div,li,h2,h3,h4,blockquote),
.bt-v1219-paper-frame .pooja-rich-area :is(p,div,li,h2,h3,h4,blockquote){
  margin-top:0;margin-bottom:0;line-height:inherit;
}
body.tv-reading-page-v1195 .app-shell #app .reader-card.tv-unified-reader-v1230 > h1,
.bt-focused-reader .reader-card.tv-unified-reader-v1230 > h1{
  font-size:clamp(21px,5.5vw,29px)!important;line-height:1.42!important;
  text-align:center;margin:0 0 7px!important;color:#973a12;
}
body.tv-reading-page-v1195 .app-shell #app .reader-card.tv-unified-reader-v1230 .cms-reader-sequence,
.bt-focused-reader .reader-card.tv-unified-reader-v1230 .cms-reader-sequence{
  margin:0 0 4px!important;padding:0!important;
}
.bt-focused-reader.tv-v1230-focused-overlay{background:#fffaf1!important;overflow:hidden!important}
.bt-focused-reader.tv-v1230-focused-overlay .bt-focused-scroll{
  box-sizing:border-box!important;display:block!important;flex:1!important;
  min-height:0!important;min-width:0!important;overflow-y:auto!important;
  padding:54px 0 32px!important;overscroll-behavior:contain;
}
.bt-focused-reader.tv-v1230-focused-overlay .reader-card.tv-unified-reader-v1230{
  display:block!important;float:none!important;
  width:var(--tv-v1230-card-width,390px)!important;
  max-width:calc(100vw - 4px)!important;
  margin:0 auto!important;
}
.bt-focused-reader.tv-v1230-focused-overlay .bt-focused-controls{
  position:absolute!important;top:8px!important;left:8px!important;z-index:3!important;
}
.bt-focused-reader.tv-v1230-focused-overlay .bt-focused-exit{
  position:absolute!important;top:8px!important;right:8px!important;z-index:3!important;
}
.bt-focused-reader.tv-v1230-focused-overlay .reader-card .tv-hybrid-reader-option-v1222{
  max-width:100%;
}
@media(max-width:600px){
  body.tv-reading-page-v1195 .app-shell #app .reader-card.tv-unified-reader-v1230,
  .bt-focused-reader .reader-card.tv-unified-reader-v1230{
    padding:12px 12px 18px!important;
  }
}

