/* Phone layout: every workspace destination stays visible without a drawer. */
@media(max-width:600px){
  html{scrollbar-gutter:auto}
  html.hw-frame-visible{overflow:hidden!important}
  body.hw-theme{--hw-nav-strip-height:112px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
  .hw-theme .hw-fixed-navigation{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,48px);align-content:center;gap:4px!important;padding:6px 8px!important;overflow:visible!important}
  .hw-theme .hw-fixed-navigation>a{width:100%;min-width:0;min-height:48px!important;height:48px;flex-direction:row!important;justify-content:flex-start;gap:5px!important;padding:5px 6px!important;margin:0!important;white-space:normal!important;border-radius:10px!important}
  .hw-theme .hw-fixed-navigation>a>span{min-width:0;max-width:none;font-size:10.5px!important;line-height:1.25;overflow-wrap:normal}
  .hw-theme .hw-nav-object{width:22px;height:22px;flex:0 0 22px}
  .hw-theme .hw-fixed-navigation .hw-nav-art{display:none!important}
  .hw-theme header:is(.hdr,.header,.ml-top,.top){gap:8px;padding:0 12px!important}
  .hw-theme header :is(.hdr-left,.ml-top-left,.form-top-left,.hdr-actions,.top-actions){min-width:0;gap:8px}
  .hw-theme .hw-account{flex-shrink:0}.hw-theme .hw-account-popover{max-width:calc(100vw - 24px);right:12px}
  .hw-theme .hw-workspace-content{width:100%;min-width:0}
  .hw-theme .hw-workspace-content :is(.page,.ml-page,main.shell),.hw-theme .hw-workspace-content>main:not(.admin-main):not(.ml-main),.hw-theme.hw-form .hw-workspace-content main.page{padding:16px 12px 28px!important;min-width:0}
  .hw-theme .hw-workspace-content :is(.ml-page-banner,.page-heading,.heading,.form-page-banner){padding:14px!important;min-height:0!important;display:block!important}
  .hw-theme .hw-workspace-content :is(.ml-page-banner,.page-heading,.heading,.form-page-banner):after{display:none!important}
  .hw-theme .hw-workspace-content :is(.ml-page-banner,.page-heading,.heading,.form-page-banner) h1{font-size:22px!important;overflow-wrap:anywhere}
  .hw-theme .hw-workspace-content :is(.tool-grid,.insight-grid,.analytics-grid,.detail-grid){grid-template-columns:minmax(0,1fr)!important}
  .hw-theme .hw-workspace-content :is(.tool-grid,.insight-grid,.analytics-grid)>*{min-width:0;max-width:100%}
  .hw-theme .hw-workspace-content :is(.summary-grid,.metric-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .hw-theme .hw-workspace-content :is(.block,.tool-panel,.output){padding:14px!important;min-width:0;max-width:100%}
  .hw-theme .hw-workspace-content :is(.actions,.filters,.card-footer,.page-actions,.output-head){flex-wrap:wrap;gap:8px}
  .hw-theme .hw-workspace-content .actions>button{flex:1 1 130px;white-space:normal;min-height:44px}
  .hw-theme .hw-workspace-content .search-box{min-width:0;max-width:none;flex:1 1 100%}
  .hw-theme .hw-workspace-content .filters select{flex:1 1 120px;min-width:120px!important}
  .hw-theme .hw-workspace-content .search-box input{padding-left:32px}
  .hw-theme .hw-workspace-content :is(input,select,textarea){max-width:100%;min-width:0;box-sizing:border-box}
  .hw-theme.hw-form #sendForm div[style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr)!important}
  .hw-theme.hw-form #sendForm input[type=file]{width:100%;font-size:12px}
  .hw-theme .hw-workspace-content :is(.tbl-wrap,.table-wrap){max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
  .hw-theme.hw-recipients .rec-table,.hw-theme.hw-recipients .rec-table tbody,.hw-theme.hw-recipients .rec-table tr,.hw-theme.hw-recipients .rec-table td{display:block;width:100%;min-width:0}
  .hw-theme.hw-recipients .rec-table thead{display:none}
  .hw-theme.hw-recipients .rec-table tr{padding:10px 0;border-bottom:1px solid #eee5d7}
  .hw-theme.hw-recipients .rec-table td{padding:5px 0!important}
  .hw-theme.hw-recipients .rec-table :is(input,select){width:100%;min-height:44px;font-size:16px}
  .hw-theme .toast{min-width:0;max-width:calc(100vw - 24px);white-space:normal;overflow-wrap:anywhere}
  .hw-theme .modal-bg{padding:12px}.hw-theme .modal-bg .modal{padding:22px 16px;max-height:calc(calc(100dvh / var(--ml-z,1)) - 24px)}
  .hw-theme.hw-auth .card{width:100%;max-width:410px;padding:22px 18px;box-sizing:border-box}
  .hw-theme.hw-auth .right{min-width:0;padding:18px 12px}
  .hw-theme.hw-auth .card input{max-width:100%;box-sizing:border-box}
  .hw-marketing .hw-hero{padding:22px 16px}.hw-marketing .hw-hero h1{font-size:32px}.hw-marketing .hw-hero p{font-size:15px}
  .hw-marketing :is(.hw-cards,.hw-benefits,.hw-workspace){min-width:0;max-width:100%}
}
