/* Thinkora V2.1 — interaction/scroll polish only: preserves approved color and layout. */
:root{--thinkora-touch-ease:cubic-bezier(.2,.75,.2,1)}
html{overscroll-behavior-y:auto;scroll-behavior:auto!important}
body{overscroll-behavior-y:auto!important;-webkit-tap-highlight-color:transparent}
.premium-shell .scrollregion{overscroll-behavior-y:auto!important;scroll-behavior:auto!important}
/* One vertical scrolling owner for ordinary page content, particularly on Android.
   Grid/table panes and the document preview can still scroll in their own axes. */
@media(max-width:800px){
 .premium-shell .v19-module-body,
 .premium-shell .suite-scroll,
 .premium-shell .form-local-scroll,
 .premium-shell .v19-type-buat-kom .form-local-scroll{
  overflow-y:visible!important;max-height:none!important;height:auto!important;overscroll-behavior-y:auto!important;
 }
 .premium-shell .ctx-card-list,
 .premium-shell .ctx-audit-list,
 .premium-shell .issue-list,
 .premium-shell .roster-matrix-wrap,
 .premium-shell .doc-layout .doc-canvas-wrap,
 .premium-shell .doc-layout .listpane,
 .premium-shell .doc-layout .property{
  overscroll-behavior-y:auto!important;scroll-behavior:auto!important;-webkit-overflow-scrolling:touch;
 }
 .premium-shell .ctx-card-list{max-height:min(68dvh,690px);overflow-y:auto;touch-action:pan-y}
 .premium-shell .ctx-audit-list{max-height:52dvh;overflow-y:auto;touch-action:pan-y}
 .premium-shell .v19-doc-block,.premium-shell .ctx-card,.premium-shell .suite-panel,.premium-shell .t20-hub-tile{touch-action:auto}
 .premium-shell .scrollregion{touch-action:auto;overflow-x:clip!important}
 .premium-shell button,.premium-shell [role="button"]{touch-action:manipulation}
 .premium-shell .t-bottomnav,.premium-shell .premium-bottom{padding-bottom:calc(10px + env(safe-area-inset-bottom))!important}
 .premium-shell .t-bottomnav button,.premium-shell .premium-bottom button{min-width:0!important;max-width:100%!important;overflow:visible!important;white-space:normal!important;line-height:1.16!important;overflow-wrap:anywhere;hyphens:auto;}
 .t-bottomnav .t-bottom-item{font-size:clamp(8.5px,2.3vw,10px)!important;min-width:0!important;padding-inline:1px!important}
 .t-bottomnav .t-bottom-ico{display:grid;place-items:center;flex:none;overflow:visible;line-height:1.1}
 .premium-shell .ui-icon-bubble,.premium-shell .v19-tool-ico,.premium-shell .v19-module-tab .ui-icon-bubble{flex-shrink:0;overflow:visible;}
 .premium-shell .v19-toolstrip,.premium-shell .v19-module-tabs,.premium-shell .suite-steps,.premium-shell .settings-tabs{overscroll-behavior-x:contain;scroll-behavior:auto!important;touch-action:auto}
 .premium-shell .v19-module-body{contain:none!important}
 .premium-shell .doc-table-wrapper,.premium-shell .suite-table,.premium-shell .matrix-wrapper{touch-action:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
}
/* Dialog must cover bottom nav; only the ink surface captures drawing gestures. */
.premium-shell .modal-shade,.modal-shade{z-index:910!important;overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y;padding:12px!important}
.premium-shell .modal,.modal{max-height:calc(100dvh - 24px)!important;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
body.thinkora-modal-open .premium-bottom,body.thinkora-modal-open .t-bottomnav{pointer-events:none!important;z-index:30!important}
.modal .topline .btn{min-width:40px;min-height:40px}
.signature-modal-canvas{display:block;background:#fff;border:1px solid #d8e3e4;border-radius:16px!important;width:100%;height:180px;touch-action:none!important;user-select:none;-webkit-user-select:none;box-shadow:inset 0 2px 8px rgba(15,45,56,.025)}
.signature-modal-canvas:focus-visible{outline:2px solid #058e87;outline-offset:2px}
/* Quiet tactile feedback. Avoid expensive 3D transforms during scrolling. */
@media(hover:hover){.premium-shell button:not(:disabled):hover{transition-duration:.16s!important}}
@media(hover:none){.premium-shell .t20-hub-tile:hover,.premium-shell .v19-tool:hover{transform:none!important}}
.premium-shell button,.premium-shell input,.premium-shell select,.premium-shell textarea{scroll-margin-block:24px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media print{.premium-shell .v19-module-body,.premium-shell .suite-scroll,.premium-shell .form-local-scroll{max-height:none!important;overflow:visible!important}.signature-modal-canvas{display:none!important}}
/* Block action ribbons must overlay, never reflow document content mid-tap.
   Before this, pointerdown focused the block, the ribbon appeared in flow,
   and pointerup landed on a different element (e.g. a signature label). */
.premium-shell .v19-doc-block{position:relative}
.premium-shell .v19-doc-block .v19-block-actions{
 position:absolute!important;inset-block-start:3px!important;inset-inline-end:3px!important;
 width:max-content!important;max-width:calc(100% - 6px)!important;
 z-index:8!important;margin:0!important;padding:3px!important;
 overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin;
}
.premium-shell .v19-doc-block .v19-block-actions button{flex:none}
