/* Thinkora V23.23: prevent toolbar/paper/dock collisions on phones. Desktop unchanged. */
.t23-doc-tools-toggle,.t23-mobile-account-actions{display:none}
@media(max-width:900px){
 .t23-mobile-account-actions{display:flex;flex-wrap:wrap;gap:10px;padding:14px 12px calc(110px + env(safe-area-inset-bottom,0px));justify-content:stretch}
 .t23-mobile-account-actions button{flex:1 1 145px;min-height:46px;border:1px solid #bdd3c7;border-radius:14px;background:#fff;color:#205347;font-weight:750;padding:10px}
 .t23-mobile-account-actions button:last-child{background:#faeeea;border-color:#e3c3bb;color:#8a443f}
 .t23-settings-logout{margin-top:12px!important}
}
@media(max-width:800px){
 /* The document tools must never float above the paper or consume half the viewport. */
 .premium-shell .doc-layout .document-main{min-width:0!important;width:100%!important;overflow:visible!important}
 .premium-shell .doc-layout .editor-bar{position:static!important;top:auto!important;bottom:auto!important;inset:auto!important;transform:none!important;z-index:auto!important;overflow:visible!important;margin:9px 0 10px!important;padding:10px!important;box-shadow:0 2px 12px #163b2b17!important}
 .premium-shell .doc-layout .t23-doc-tools-toggle{display:flex!important;width:100%!important;min-height:46px!important;align-items:center;justify-content:space-between;gap:10px;border:1px solid #bed8cf;border-radius:12px;background:#eff8f3;color:#1c5b4b;padding:10px 13px;font-size:14px;font-weight:800;text-align:left;white-space:normal}
 .premium-shell .doc-layout .t23-doc-tools-chevron{font-size:19px;flex:none}
 .premium-shell .doc-layout .editor-bar .t23-doc-toolbar-content{display:none!important}
 .premium-shell .doc-layout .editor-bar.t23-tools-open .t23-doc-toolbar-content{display:block!important;padding-top:12px!important}
 .premium-shell .doc-layout .t23-doc-toolbar-content .frow{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:stretch!important}
 .premium-shell .doc-layout .t23-doc-toolbar-content .frow>span[style*='flex:1']{display:none!important}
 .premium-shell .doc-layout .t23-doc-toolbar-content .frow>.field{flex:1 1 100%!important;width:100%!important;margin:0 0 4px!important}
 .premium-shell .doc-layout .t23-doc-toolbar-content .frow>.btn{flex:1 1 85px!important;min-width:0!important;min-height:44px!important;padding:9px 6px!important;font-size:12px!important;white-space:normal!important}
 /* Let the document page scroll naturally, rather than scroll inside a second viewport. */
 .premium-shell .doc-layout .doc-canvas-wrap{position:relative!important;top:auto!important;max-height:none!important;height:auto!important;overflow:visible!important;overscroll-behavior:auto!important;-webkit-overflow-scrolling:auto!important;scrollbar-width:auto!important;transform:none!important;contain:none!important}
 .premium-shell .doc-layout .doc-canvas-wrap #paper{position:relative!important;top:auto!important}
 .premium-shell .doc-layout .listpane,.premium-shell .doc-layout .property{position:static!important;top:auto!important;max-height:none!important;height:auto!important;overflow:visible!important}
 .premium-shell .doc-layout{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))!important;overflow:visible!important}
 body.doc-page .premium-shell .scrollregion{padding-bottom:calc(128px + env(safe-area-inset-bottom,0px))!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain!important}
 .premium-shell .doc-layout #paper{scroll-margin-top:12px!important}
}
@media print{.t23-doc-tools-toggle,.t23-mobile-account-actions,.t23-settings-logout{display:none!important}}
