
/* V6: mobile workspace is a full-width tool surface, not clipped desktop UI.
   Applies when Wix mobile editor reports a fake 920px viewport. */
:root.hc-mobile-layout .appshell,
:root.hc-mobile-layout .workpage,
:root.hc-mobile-layout .workcontent,
:root.hc-mobile-layout .lw-screen{
 width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
}
:root.hc-mobile-layout .workpage{display:flex!important;flex-direction:column!important;overflow-x:hidden!important}
:root.hc-mobile-layout .toolbar{
 display:flex!important;flex-wrap:wrap!important;align-content:center!important;
 height:auto!important;min-height:40px!important;padding:5px 7px!important;
 gap:4px 6px!important;max-width:100%!important;overflow:hidden!important;
}
:root.hc-mobile-layout .toolbar .crumb{
 width:100%!important;min-width:0!important;margin:0!important;
 font-size:10px!important;line-height:1.2!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
:root.hc-mobile-layout .toolbar .group{
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;
 justify-content:flex-start!important;gap:4px!important;width:100%!important;
 max-width:100%!important;min-width:0!important;
}
:root.hc-mobile-layout .toolbar .project-chip{
 padding:4px 6px!important;font-size:10px!important;max-width:45%!important;
 overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
 min-height:29px!important;
}
:root.hc-mobile-layout .toolbar .hc-theme-toggle{flex-shrink:0!important}
:root.hc-mobile-layout .toolbar .role-switch{
 min-height:29px!important;height:29px!important;flex:0 1 102px!important;
 width:102px!important;max-width:102px!important;min-width:0!important;
 font-size:10px!important;padding:2px!important;
}
:root.hc-mobile-layout .toolbar .avatar{width:29px!important;height:29px!important;flex:none!important}
:root.hc-mobile-layout .workcontent{padding:6px!important;overflow:hidden!important;flex:1!important}
:root.hc-mobile-layout .lw-screen{padding:2px 2px 11px!important;overflow:hidden!important}
:root.hc-mobile-layout .lw-head{min-height:0!important;margin:0 0 8px!important;gap:3px!important;flex-wrap:wrap!important}
:root.hc-mobile-layout .lw-head h1{font-size:17px!important;line-height:1.2!important}
:root.hc-mobile-layout .lw-head p{font-size:10px!important;line-height:1.35!important;margin-top:3px!important}
:root.hc-mobile-layout .lw-quick{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:5px!important;margin:0 0 7px!important;
}
:root.hc-mobile-layout .lw-quick .lw-button{
 width:100%!important;min-width:0!important;min-height:36px!important;
 font-size:10px!important;padding:5px 6px!important;white-space:normal!important;
}
:root.hc-mobile-layout .lw-demo-tools{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:5px!important;margin:0 0 8px!important;min-width:0!important;
}
:root.hc-mobile-layout .lw-demo-tools .lw-button{
 width:100%!important;min-width:0!important;min-height:36px!important;
 font-size:10px!important;padding:5px 5px!important;white-space:normal!important;
}
.lw-demo-tools{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
 gap:9px;margin:0 0 16px;min-width:0;
}
.lw-demo-tools .lw-button{width:100%;min-width:0;min-height:43px;border-color:#b58842}
:root.hc-mobile-layout .lw-metrics{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:4px!important;margin:0 0 8px!important;min-width:0!important;
}
:root.hc-mobile-layout .lw-metric{min-width:0!important;min-height:56px!important;padding:6px!important;gap:3px!important}
:root.hc-mobile-layout .lw-metric span{font-size:9px!important;line-height:1.25!important}
:root.hc-mobile-layout .lw-metric strong{font-size:20px!important}
:root.hc-mobile-layout .lw-columns,
:root.hc-mobile-layout .lw-crm{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 gap:6px!important;min-width:0!important;width:100%!important;
}
:root.hc-mobile-layout .lw-panel{min-width:0!important;padding:9px!important}
:root.hc-mobile-layout .lw-panel h2{font-size:13px!important}
:root.hc-mobile-layout .lw-panel-head{flex-wrap:wrap!important;gap:4px!important}
:root.hc-mobile-layout .lw-panel-head .lw-button{font-size:10px!important;min-height:29px!important;padding:5px!important}
:root.hc-mobile-layout .lw-footnote{font-size:9px!important;line-height:1.4!important;margin:8px 0!important}
:root.hc-mobile-layout .lw-modal,
:root.hc-mobile-layout .modal{max-width:calc(100vw - 16px)!important}
:root.hc-mobile-layout .lw-grid2{grid-template-columns:minmax(0,1fr)!important}
:root.hc-mobile-layout .hc-start-screen{padding-top:5px!important;padding-bottom:9px!important;min-height:0!important}
:root.hc-mobile-layout .hc-start-body{max-width:100%!important;min-width:0!important}
:root.hc-mobile-layout .hc-start-screen h1{font-size:21px!important}
:root.hc-mobile-layout .hc-start-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important}
.hc-start-body{max-width:760px;padding:9px 0}
.hc-start-intro h1{font-size:clamp(23px,2.6vw,32px);margin:0 0 8px}
.hc-start-intro>p{font-size:14px;line-height:1.5;margin:0 0 15px;color:#bbd0dd}
.hc-start-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:9px}
.hc-start-actions .btn{min-height:39px}
:root.hc-in-wix .hc-start-screen{padding-top:4px!important;padding-bottom:12px!important;min-height:0!important}
:root.hc-in-wix .hc-start-body{padding:0!important}
:root.hc-in-wix .hc-start-intro>p{margin-bottom:10px!important}

/* Smart Lab 1.0 visual polish: shared tap targets and readable compact workspace.
   Preserve the existing mobile adapter and original palette. */
:root.hc-mobile-layout .lw-quick .lw-button,
:root.hc-mobile-layout .lw-demo-tools .lw-button{
  min-height:40px!important;padding:7px 8px!important;
  font-size:11.5px!important;line-height:1.3!important;
  border-radius:5px!important;overflow-wrap:anywhere!important;
}
:root.hc-mobile-layout .lw-metric{
  min-height:70px!important;padding:8px!important;
}
:root.hc-mobile-layout .lw-metric span{font-size:10.5px!important;line-height:1.35!important}
:root.hc-mobile-layout .lw-metric strong{font-size:22px!important}
:root.hc-mobile-layout .lw-panel h2{font-size:14px!important;line-height:1.3!important}
:root.hc-mobile-layout .lw-panel-head .lw-button{
  font-size:11px!important;min-height:35px!important;
  padding:7px 9px!important;white-space:normal!important
}
:root.hc-mobile-layout .lw-line strong{font-size:12px!important}
:root.hc-mobile-layout .lw-line small{font-size:11px!important}
:root.hc-mobile-layout .toolbar .project-chip,
:root.hc-mobile-layout .toolbar .role-switch{
  min-height:33px!important;font-size:10.5px!important
}
:root.hc-mobile-layout .lw-card-actions .lw-button{
  min-height:40px!important;font-size:11.5px!important;
  padding:8px 10px!important;white-space:normal!important
}
:root.hc-mobile-layout .lw-modal,
:root.hc-mobile-layout .modal{
  max-width:calc(100vw - 16px)!important;
  max-height:calc(100dvh - 20px)!important;
  overflow-y:auto!important;overscroll-behavior:contain!important
}
