/* SwiftWorksheets V1.6.4.9-RC3.2.3 — stable phone resize grip.
   Active grip/outline are FIXED VIEWPORT siblings of the transformed page.
   Reduces iOS Safari ghost handle tiles when resizing under page zoom. */
#sw323ResizeOutline,#sw323ResizeGrip{display:none}
@media(max-width:700px){
  body.sw63-ready #sw322TouchHint{display:none!important}
  /* No child resize handles inside the paper transform on phones. */
  body.sw63-ready.sw322-resize .paper-element.selected>.resize-handle,
  body.sw63-ready .paper-element.selected>.resize-handle,
  body.sw63-ready .paper-element.selected>.rotate-handle,
  body.sw63-ready .paper-element.selected>.drag-handle{display:none!important}
  body.sw63-ready.sw323-active-resize .paper-element.selected{outline:none!important;box-shadow:none!important}
  body.sw63-ready #sw323ResizeOutline:not([hidden]){
    position:fixed;z-index:75;display:block;pointer-events:none;
    border:1.5px solid #2563eb;box-shadow:none;border-radius:2px;
    box-sizing:border-box;transform:none!important;contain:layout style;
  }
  body.sw63-ready #sw323ResizeGrip:not([hidden]){
    position:fixed;z-index:77;display:flex;align-items:center;justify-content:center;
    width:36px;height:36px;border:3px solid #fff;border-radius:10px;
    background:#2563eb;color:#fff;box-shadow:0 2px 5px #13263f55;
    font-size:19px;font-weight:800;line-height:1;touch-action:none;
    -webkit-user-select:none;user-select:none;-webkit-touch-callout:none;
    transform:none!important;cursor:nwse-resize;will-change:auto;
  }
  /* One-row touch toolbar with all frequently-used actions immediately visible. */
  body.sw63-ready .sw632-mobile-actions.has-selection{gap:1px;padding-inline:3px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
  body.sw63-ready .sw632-mobile-actions.has-selection::-webkit-scrollbar{display:none}
  body.sw63-ready .sw632-mobile-actions.has-selection button{flex:1 0 0;min-width:41px;max-width:none;touch-action:manipulation}
  body.sw63-ready .sw632-mobile-actions #sw632NavDelete{display:none!important}
  body.sw63-ready .sw632-mobile-actions button>span{font-size:9px;line-height:11px}
  body.sw63-ready .sw632-mobile-actions.has-selection .sw323-mode-active{
    background:#e6f1ff;border:1px solid #82b6ff;color:#155bb7
  }
  .sw323-more-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 13px}
  .sw323-more-tabs button{min-height:42px;border:1px solid #d5e2f2;border-radius:9px;background:#f7faff;color:#375372;font-size:12px;font-weight:750}
  .sw323-more-tabs button.is-current{border-color:#357bed;background:#e6f1ff;color:#154faf}
  .sw632-sheet-grid button[hidden]{display:none!important}
}
@media(max-width:350px){
  body.sw63-ready .sw632-mobile-actions.has-selection button{flex:0 0 43px}
}
@media print{#sw323ResizeOutline,#sw323ResizeGrip{display:none!important}}
