body.is-resizing-cols {
  cursor: col-resize;
  user-select: none;
}

@media (max-width: 860px) {
  .top-row {
    min-height: 64px;
    padding: 8px 10px;
    gap: 8px;
  }

  .brand-logo {
    height: 42px;
  }

  .module-line {
    margin-left: 6px;
  }

  .net {
    font-size: 9px;
    padding: 6px 9px;
  }

  .module-btn {
    min-width: 46px;
    min-height: 38px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 11px;
    gap: 0;
  }

  .module-btn span {
    display: none;
  }

  .module-btn .ico {
    width: 14px;
    height: 14px;
  }

  .sub-line {
    padding: 0 8px;
  }

  .sub-btn {
    font-size: 11px;
    padding: 8px 1px;
  }

  .workspace {
    padding: 10px;
  }

  .dash-dt {
    font-size: 18px;
  }

  .dash-company {
    font-size: 14px;
  }

  .dash-head-note {
    font-size: 8px;
  }

  .dashboard-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .dash-shift-card,
  .dash-chart-card,
  .dash-task-card {
    grid-column: span 4;
  }

  .dash-people-card,
  .dash-reason-card {
    grid-column: span 2;
  }

  .plan-btn {
    min-width: 94px;
    font-size: 9px;
    padding: 4px 7px;
    min-height: 28px;
  }

  .plan-btn.yellow {
    margin-left: 0;
  }

  .plan-table {
    font-size: 9px;
  }

  .status-pill {
    font-size: 9px;
  }

  .plan-page-meta {
    font-size: 10px;
    margin: 0 4px;
  }

  .cell-value {
    font-size: 9px;
  }

  h1 {
    font-size: 30px;
  }

  .muted {
    font-size: 14px;
  }

  .page-shell.org-settings-mode {
    padding: 10px;
  }

  .org-layout {
    grid-template-columns: 1fr;
  }

  .org-settings-actions .plan-btn.is-offset {
    margin-left: 0;
  }

  .org-side-card h2 {
    font-size: 15px;
  }

  .org-settings-table th:nth-child(3),
  .org-settings-table td:nth-child(3) {
    display: none;
  }

  .org-settings-table th:nth-child(1),
  .org-settings-table td:nth-child(1) {
    width: 34%;
  }

  .org-settings-table th:nth-child(2),
  .org-settings-table td:nth-child(2) {
    width: 66%;
  }

  .org-meta-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .qr-layout {
    grid-template-columns: 1fr;
  }

  .qr-settings-head h1 {
    font-size: 28px;
  }

  .qr-settings-head .muted {
    font-size: 12px;
  }

  .qr-preview-box {
    min-height: 280px;
  }

  .access-tabs {
    grid-template-columns: 1fr;
  }

  .access-pane-head-tools {
    margin-left: 0;
    width: 100%;
  }

  .access-workers-table,
  .access-leads-table {
    min-width: 1080px;
  }

  .access-rights-table {
    min-width: 680px;
  }

  .access-modules-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .org-layout {
    grid-template-columns: 1fr;
  }

  .qr-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-head {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .dash-dt {
    font-size: 16px;
  }

  .dash-company {
    font-size: 13px;
  }

  .dash-head-note {
    order: 5;
    margin-left: 0;
    width: 100%;
    font-size: 8px;
  }

  .dash-online {
    margin-left: 0;
    font-size: 10px;
    padding: 3px 7px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dash-shift-card,
  .dash-chart-card,
  .dash-people-card,
  .dash-task-card,
  .dash-reason-card {
    grid-column: span 1;
  }

  .dash-shift-row {
    grid-template-columns: minmax(112px, 1fr) minmax(100px, 2fr);
  }

  .dash-shift-label,
  .dash-shift-value,
  .dash-task-table,
  .dash-task-table th {
    font-size: 12px;
  }

  .dash-emp-wrap,
  .dash-reason-wrap {
    height: 150px;
  }

  .dash-emp-bar {
    width: 42px;
  }

  .dash-reason-label {
    font-size: 7px;
  }
}

@media (max-width: 1100px) {
  .page-shell.chat-notify-mode {
    overflow: hidden;
  }

  .notify-layout {
    grid-template-columns: 1fr;
  }

  .notify-left {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notify-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notify-shift-meta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .notify-shift-online {
    justify-self: start;
  }

  .notify-main {
    overflow: hidden;
  }

  .notify-stream {
    height: 100%;
    max-height: none;
    overflow-y: auto;
    padding-right: 0;
  }

  .notify-rows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .page-shell.chat-notify-mode {
    padding: 8px;
    overflow: auto;
  }

  .notify-left {
    grid-template-columns: 1fr;
  }

  .notify-head h1 {
    font-size: 24px;
  }

  .notify-shift-dt strong {
    font-size: 16px;
  }

  .notify-shift-dt span {
    font-size: 16px;
  }

  .notify-kpis {
    grid-template-columns: 1fr;
  }

  .notify-search-wrap {
    grid-template-columns: 1fr;
  }

  .notify-card {
    width: 100%;
  }

  .notify-card h3 {
    font-size: 18px;
  }

  .notify-card.is-placeholder {
    min-height: 170px;
  }

  .notify-rows {
    grid-template-columns: 1fr;
  }

  .notify-row.is-wide {
    grid-column: span 1;
  }
}
