@media(max-width:760px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  body{font-size:16px;-webkit-text-size-adjust:100%}
  :where(button,a,input,select,textarea){touch-action:manipulation}
  :where(.mentor-nav a,.consultant-modern-nav a,.manager-modern-nav a,.admin-modern-nav a,.admin-modern-side nav a){min-height:48px}
  :where(button,.btn,input:not([type="checkbox"]):not([type="radio"]),select){min-height:44px}
  :where(input,select,textarea){max-width:100%;font-size:16px!important}
  img,video,iframe{max-width:100%}
  .shell{width:calc(100% - 24px)!important}
  .topbar-grid{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"logo account" "city city" "catalog search"!important;gap:8px!important;padding:8px 0!important}
  .topbar .logo{grid-area:logo}.topbar .logo img{width:132px!important;height:52px!important}.city-chip{grid-area:city!important;width:100%;justify-content:flex-start}.catalog-trigger{grid-area:catalog!important;min-width:112px}.search-row,.search-form{grid-area:search!important;min-width:0!important}.account-trigger,.account-link{grid-area:account!important;min-width:52px!important}
  .catalog-panel{max-height:calc(100dvh - 128px);overflow:auto}.catalog-panel-inner,.catalog-layout,.catalog-page,.product-page,.home-grid,.site-grid{grid-template-columns:1fr!important}
  .product-grid,.products-grid,.news-grid,.catalog-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .modal,.site-modal,.admin-modal,.section-modal,.consultant-section-modal,.manager-section-modal,.manager-task-modal{padding:0!important;align-items:stretch!important}
  .modal-box,.site-modal-box,.section-modal-box,.consultant-section-box,.manager-section-box,.manager-task-modal-box{width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important}
  .modal-body,.section-modal-frame,.consultant-section-modal-body,.manager-section-body{padding:12px!important;overflow:auto!important}
  .modal-head,.consultant-section-modal-head,.manager-section-head{position:sticky!important;top:0;z-index:10;min-height:64px!important;padding:10px 12px!important}
  .modal-head h1,.modal-head h2,.consultant-section-modal-head h1,.manager-section-head h1{font-size:24px!important;line-height:1.1!important}
  .modal-x,.consultant-section-close,[data-close-modal]{width:44px!important;height:44px!important;min-width:44px!important}
  :where(.table-wrap,.users-table-wrap,.settings-table-wrap,.analytics-table-wrap,.plan-table-wrap,.plan-sheet-table-wrap,.excel-wrap,.manager-schedule-scroll,.consultant-schedule-scroll,.schedule-board){max-width:100%;overflow:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
  :where(.manager-schedule-board,.consultant-schedule-table,.schedule-board table,.plan-sheet-table table,.excel-wrap table){min-width:860px!important}
  :where(.manager-schedule-board,.consultant-schedule-board,.schedule-board table) :where(th:first-child,td:first-child){position:sticky;left:0;z-index:3;background:inherit;box-shadow:4px 0 8px rgba(15,23,42,.08)}
  .manager-schedule-scroll,.consultant-schedule-scroll{scroll-snap-type:x proximity}.manager-schedule-board td,.consultant-schedule-board td{scroll-snap-align:start}
  :where(.manager-form,.admin-form,.task-builder-grid,.form-grid,.two-cols,.three-cols){grid-template-columns:1fr!important}
  .consultant-task-sheet,.manager-task-card,.task-card{min-width:0!important}.consultant-task-head,.consultant-task-body{padding:14px!important}.consultant-task-actions,.consultant-task-report-form{grid-template-columns:1fr!important}.consultant-task-report-form button{width:100%}
  .consultant-tasks-head,.manager-section-toolbar,.users-toolbar,.stats-hero,.points-clean-hero{display:grid!important;grid-template-columns:1fr!important;align-items:start!important;gap:10px!important}
  .consultant-task-date-list,.consultant-task-list{gap:10px!important}.consultant-task-sheet :where(button,a){min-height:44px}
  .manager-chat,.consultant-chat-shell,.mentor-chat{grid-template-columns:1fr!important;height:calc(100dvh - 110px)!important;min-height:0!important}.manager-chat-users,.consultant-chat-peers,.mentor-chat-users{max-height:180px!important;overflow:auto!important}.manager-chat-messages,.consultant-chat-messages,.mentor-chat-messages{min-height:260px!important;overflow:auto!important}
  .mentor-page{display:block!important}.mentor-sidebar{position:relative!important;width:100%!important;height:auto!important}.mentor-nav{display:flex!important;overflow:auto!important;gap:6px!important;padding-bottom:5px}.mentor-nav a{flex:0 0 auto!important}.mentor-main{margin:0!important;padding:12px!important}.mentor-grid,.mentor-home-grid,.mentor-chat-layout{grid-template-columns:1fr!important}.mentor-card{min-width:0!important}
  .admin-wrap{display:block!important}.admin-sidebar{position:relative!important;width:100%!important;height:auto!important}.admin-main{margin-left:0!important;min-width:0!important}.admin-modern-overview,.admin-modern-summary{grid-template-columns:1fr!important}.admin-topbar{grid-template-columns:1fr!important;height:auto!important;padding:10px!important}
}

:where(
  .modal-body,
  .section-modal-frame,
  .consultant-section-modal-body,
  .manager-section-body,
  .mentor-modal-body,
  .manager-task-modal-form,
  .schedule-modal-body
){
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}

:where(
  .modal-body,
  .consultant-section-modal-body,
  .manager-section-body,
  .mentor-modal-body,
  .schedule-modal-body
) > :where(section,.modal-section,.section-panel,.content-panel,.page-panel,.manager-task-board,.manager-card){
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
}

:where(
  .modal-body,
  .consultant-section-modal-body,
  .manager-section-body,
  .mentor-modal-body,
  .schedule-modal-body
) > :where(section,.modal-section,.section-panel,.content-panel,.page-panel,.manager-task-board,.manager-card):first-child{
  margin-top:0!important;
}

:where(
  .modal-body,
  .consultant-section-modal-body,
  .manager-section-body,
  .mentor-modal-body,
  .schedule-modal-body
) > :where(section,.modal-section,.section-panel,.content-panel,.page-panel,.manager-task-board,.manager-card):last-child{
  margin-bottom:0!important;
}

:where(.consultant-section-modal-body,.manager-section-body,.modal-body) :where(
  .manager-task-board,
  .manager-task-point-group,
  .manager-task-date-group,
  .manager-task-date-stack,
  .consultant-task-board,
  .consultant-task-date-group,
  .consultant-task-date-list,
  .task-board,
  .task-point-group,
  .task-date-group
){
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
@media(max-width:420px){.product-grid,.products-grid,.news-grid,.catalog-products-grid{grid-template-columns:1fr!important}.shift-status-summary>span{width:100%;justify-content:space-between}}
