/* Lot 548 — touch-friendly workspaces. No blanket overflow clipping, no
   changes to canvas dimensions or native file input overlays. */
.wts-mobile-tools-toggle{display:none!important}
@media(max-width:900px){
 .studio-page-shell .studio-page-rail .wts-mobile-tools-toggle,#workflowStudioRoot .wts-mobile-tools-toggle{
  display:grid!important;grid-template-columns:36px minmax(0,1fr) 12px;align-items:center;gap:12px;width:calc(100% - 16px);min-height:60px;margin:8px;padding:10px 12px;border:1px solid #c8d7e7;border-radius:12px;background:#fff;color:#203950;text-align:left;cursor:pointer;box-sizing:border-box;
 }
 .wts-mobile-tools-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#edf3fa;color:var(--studio-accent,#155bb5);font-size:20px;line-height:1}
 .wts-mobile-tools-copy{min-width:0;display:grid;gap:3px;overflow-wrap:anywhere}
 .wts-mobile-tools-copy strong{font-size:14px;line-height:1.35;color:#203950}
 .wts-mobile-tools-current{font-size:12px;line-height:1.35;color:#52677e}
 .wts-mobile-tools-chevron{height:8px;width:8px;border-right:2px solid #52677e;border-bottom:2px solid #52677e;transform:rotate(45deg);justify-self:center}
 .wts-mobile-tools-toggle[aria-expanded=true] .wts-mobile-tools-chevron{transform:rotate(225deg)}
 .wts-mobile-tools-toggle:focus-visible{outline:2px solid #155bb5;outline-offset:2px}
 .studio-page-shell .studio-page-rail nav.wts-mobile-tools-collapsed,#workflowStudioRoot #workflowStudioLibrary.wts-mobile-tools-collapsed{display:none!important}
 /* Preserve the plan hint; compact the heading above the disclosure. */
 .studio-page-shell .studio-page-rail :is(.image-studio-tools-head,.pdf-studio-tools-head,.media-studio-panel-head,.office-studio-panel-head,.knowledge-studio-tools-head,.language-studio-tools-head){padding:9px 12px!important}
 .studio-page-shell .studio-page-rail nav button{min-height:48px!important}
 /* Native controls remain focusable and use a readable input font on phones. */
 :is(.studio-page-shell,#workflowStudioRoot,.tool-page) :is(.field,.field-grid,.media-studio-field,.pdf-studio-field,.data-studio-field,.language-qa-toolbar,.data-studio-native-tool-picker) :is(select,textarea,input:not([type]),input[type=text],input[type=number],input[type=search],input[type=email],input[type=url]){font-size:16px!important;min-height:44px!important;max-width:100%;box-sizing:border-box}
 :is(.studio-page-shell,#workflowStudioRoot,.tool-page) :is(.action-row,.studio459-examples,.media-studio-trim-now,.language-qa-pages) :is(button,a.button,.mini-button){min-height:44px!important;max-width:100%;white-space:normal;overflow-wrap:anywhere}
 :is(.studio-page-shell,#workflowStudioRoot,.tool-page) :is(.table-wrap,.data-table-wrap,.knowledge-table-wrap,.pivot-table-wrap,.a11y-table-wrap,.pdf-convert-table-wrap,.url-table-wrap){max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;touch-action:pan-x pan-y}
 #mediaStudioRoot [data-media-control=trim] .media-studio-range-row input[type=range]{min-height:44px;touch-action:pan-y}
 #mediaStudioRoot [data-media-control=trim] .media-studio-range-row input[type=number]{font-size:16px!important;min-height:44px!important}
 #mediaStudioRoot .media-studio-timeline{touch-action:pan-x pan-y}
 .route-tool:not(.studio-embed-page) .direct-tool-page .tool-quick-nav-actions :is(button,a,summary){min-height:44px;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}
 /* Do not overlay document controls with a fixed feedback tab. */
 #wtsReportBug.wts-mobile-feedback{position:static;inset:auto;transform:none;display:flex;flex-direction:row;justify-content:center;gap:8px;min-height:44px;width:fit-content;max-width:100%;margin:12px 0 0;padding:10px 14px;border:1px solid #c5d5eb;border-radius:10px;box-shadow:none;font-size:13px;box-sizing:border-box}
 #wtsReportBug.wts-mobile-feedback span{writing-mode:horizontal-tb;transform:none}
}
@media(max-width:480px){
 .studio-page-shell .studio-page-rail nav button :is(b,strong){font-size:13px!important}
 .studio-page-shell .studio-page-rail nav button small{font-size:12px!important}
 :is(.studio-page-shell,#workflowStudioRoot,.tool-page) .action-row{gap:8px!important}
}
