
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-top: 4px;
    }

    #dashboard-view.dispatcher-dashboard-empty {
      align-content: start;
      gap: 16px;
      padding: clamp(24px, 4vw, 44px);
      border: 1px solid rgba(220, 226, 236, 0.9);
      border-radius: 24px;
      color: #2f2945;
      background: linear-gradient(180deg, #fff 0%, #f8f6fc 100%);
      box-shadow: 0 18px 48px rgba(64, 44, 96, 0.1);
    }

    body.soft-ui-theme #dashboard-view.dispatcher-dashboard-empty {
      border-color: rgba(255, 255, 255, 0.34);
      background: rgba(236, 225, 255, 0.54);
      box-shadow: 0 26px 68px rgba(50, 27, 111, 0.26), inset 0 1px 1px rgba(255, 255, 255, 0.58);
    }

    .dispatcher-dashboard-head {
      display: flex;
      min-height: 32px;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .dispatcher-dashboard-head[hidden] {
      display: none;
    }

    .app-view:not(.dispatcher-dashboard-empty) > .dispatcher-dashboard-head {
      margin-bottom: 12px;
    }

    .dispatcher-dashboard-person {
      display: flex;
      min-width: 0;
      align-items: center;
      flex-wrap: wrap;
      gap: 6px;
    }

    .dispatcher-dashboard-greeting {
      max-width: min(48vw, 520px);
      margin: 0;
      overflow: hidden;
      color: var(--text);
      font-size: 16px;
      font-weight: 600;
      line-height: 1.2;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .dispatcher-dashboard-role {
      display: inline-flex;
      min-height: 0;
      align-items: center;
      padding: 0;
      border: 0;
      color: var(--muted);
      background: transparent;
      font-size: 12px;
      font-weight: 600;
      white-space: nowrap;
    }

    .dispatcher-dashboard-date {
      margin-left: auto;
      color: var(--muted);
      font-size: 13px;
      font-weight: 600;
      white-space: nowrap;
    }

    body.dispatcher-session .app-shell .right-nav .staff-user-name,
    body.dispatcher-session .app-shell .right-nav .staff-user-role {
      display: none;
    }

    body.dispatcher-session .app-shell .right-nav .staff-user-panel {
      padding-top: 8px;
    }

    .dispatcher-dashboard-board {
      display: grid;
      gap: 12px;
      min-width: 0;
    }

    .dispatcher-dashboard-board[hidden] {
      display: none;
    }

    .dispatcher-dashboard-top {
      display: grid;
      grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
      gap: 12px;
      align-items: stretch;
      min-width: 0;
    }

    .dispatcher-dashboard-bottom {
      display: grid;
      gap: 12px;
      min-width: 0;
    }

    .dispatcher-dashboard-card {
      min-width: 0;
      border: 1px solid rgba(111, 84, 166, 0.09);
      border-radius: 22px;
      background: linear-gradient(135deg, #fff 0%, #f1ecff 135%);
      box-shadow: 0 8px 24px rgba(64, 44, 96, 0.07), 0 1px 3px rgba(64, 44, 96, 0.04);
    }

    body.soft-ui-theme .dispatcher-dashboard-card {
      border-color: rgba(255, 255, 255, 0.52);
      background:
        radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.96), transparent 46%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(241, 232, 255, 0.96)),
        #f1eaff;
      box-shadow: 0 22px 42px rgba(38, 20, 92, 0.25), 0 7px 16px rgba(82, 52, 151, 0.16), inset 0 1px 1px rgba(255, 255, 255, 0.96), inset 0 -18px 34px rgba(139, 101, 213, 0.12);
    }

    .dispatcher-water-shutdowns {
      display: grid;
      gap: 12px;
      align-content: start;
      padding: 16px;
      cursor: zoom-in;
      transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    }

    .dispatcher-water-shutdowns[hidden] {
      display: none;
    }

    .dispatcher-water-shutdowns.expanded {
      grid-column: 1 / -1;
      border-color: rgba(128, 102, 217, 0.22);
      box-shadow: 0 18px 48px rgba(64, 44, 96, 0.13), 0 4px 12px rgba(64, 44, 96, 0.06);
      cursor: zoom-out;
      transform: translateY(-2px);
    }

    .dispatcher-water-shutdowns-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-width: 0;
    }

    .dispatcher-water-shutdowns-title-wrap {
      display: flex;
      min-width: 0;
      align-items: baseline;
      flex-wrap: wrap;
      gap: 8px;
    }

    .dispatcher-water-shutdowns h2 {
      margin: 0;
      color: var(--text);
      font-size: 16px;
      font-weight: 700;
      line-height: 1.2;
    }

    .dispatcher-water-shutdowns-status {
      min-height: 0;
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
      line-height: 1.2;
      white-space: nowrap;
    }

    .dispatcher-water-shutdowns-actions {
      display: inline-flex;
      flex: 0 0 auto;
      align-items: center;
      gap: 6px;
    }

    .dispatcher-water-shutdowns-refresh,
    .dispatcher-water-shutdowns-expand {
      min-height: 34px;
      padding: 0 12px;
      border-radius: 12px;
      white-space: nowrap;
    }

    .dispatcher-water-shutdowns-expand {
      border-color: rgba(128, 102, 217, 0.16);
      color: #6650b8;
      background: #f1ecff;
    }

    .dispatcher-water-shutdowns.expanded .dispatcher-water-shutdowns-expand {
      border-color: rgba(116, 82, 207, 0.26);
      color: #fff;
      background: #7452cf;
    }

    .dispatcher-water-shutdowns-list {
      display: grid;
      gap: 8px;
      max-height: 430px;
      overflow: hidden;
      padding-right: 2px;
    }

    .dispatcher-water-shutdowns.expanded .dispatcher-water-shutdowns-list {
      max-height: min(72vh, 760px);
      overflow: auto;
    }

    .dispatcher-water-shutdown-row {
      --shutdown-accent: #0ea5e9;
      --shutdown-border: rgba(14, 165, 233, 0.24);
      --shutdown-ink: #075985;
      --shutdown-badge-bg: #f0f9ff;
      --water-accent: #0ea5e9;
      --water-border: rgba(14, 165, 233, 0.24);
      --water-ink: #075985;
      --water-bg: #f0f9ff;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(112px, auto);
      gap: 12px;
      align-items: center;
      min-height: 82px;
      padding: 11px 12px;
      border: 1px solid rgba(148, 163, 184, 0.18);
      border-left: 4px solid var(--water-accent);
      border-radius: 8px;
      background: linear-gradient(90deg, var(--water-bg) 0, #fff 54px);
    }

    .dispatcher-water-shutdown-row.soft {
      --shutdown-accent: #22c55e;
      --shutdown-border: rgba(34, 197, 94, 0.24);
      --shutdown-ink: #166534;
      --shutdown-badge-bg: #f0fdf4;
    }

    .dispatcher-water-shutdown-row.watch {
      --shutdown-accent: #0ea5e9;
      --shutdown-border: rgba(14, 165, 233, 0.24);
      --shutdown-ink: #075985;
      --shutdown-badge-bg: #f0f9ff;
    }

    .dispatcher-water-shutdown-row.warning {
      --shutdown-accent: #f59e0b;
      --shutdown-border: rgba(245, 158, 11, 0.26);
      --shutdown-ink: #92400e;
      --shutdown-badge-bg: #fffbeb;
    }

    .dispatcher-water-shutdown-row.high {
      --shutdown-accent: #f97316;
      --shutdown-border: rgba(249, 115, 22, 0.26);
      --shutdown-ink: #9a3412;
      --shutdown-badge-bg: #fff7ed;
    }

    .dispatcher-water-shutdown-row.critical {
      --shutdown-accent: #dc2626;
      --shutdown-border: rgba(220, 38, 38, 0.28);
      --shutdown-ink: #991b1b;
      --shutdown-badge-bg: #fef2f2;
      background: linear-gradient(90deg, var(--water-bg) 0, #fffafa 54px);
    }

    .dispatcher-water-shutdown-row.water-cold {
      --water-accent: #2563eb;
      --water-border: rgba(37, 99, 235, 0.28);
      --water-ink: #1d4ed8;
      --water-bg: #eff6ff;
    }

    .dispatcher-water-shutdown-row.water-hot {
      --water-accent: #dc2626;
      --water-border: rgba(220, 38, 38, 0.3);
      --water-ink: #991b1b;
      --water-bg: #fef2f2;
    }

    .dispatcher-water-shutdown-row.water-clean,
    .dispatcher-water-shutdown-row.water-supply {
      --water-accent: #0891b2;
      --water-border: rgba(8, 145, 178, 0.26);
      --water-ink: #155e75;
      --water-bg: #ecfeff;
    }

    .dispatcher-water-shutdown-body {
      display: grid;
      gap: 6px;
      min-width: 0;
    }

    .dispatcher-water-shutdown-top {
      display: flex;
      min-width: 0;
      align-items: center;
      flex-wrap: wrap;
      gap: 6px;
    }

    .dispatcher-water-shutdown-office {
      min-width: 0;
      overflow: hidden;
      color: var(--text);
      font-size: 14px;
      font-weight: 700;
      line-height: 1.2;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .dispatcher-water-shutdown-badge,
    .dispatcher-water-shutdown-severity {
      display: inline-flex;
      align-items: center;
      min-height: 22px;
      padding: 0 8px;
      border: 1px solid var(--shutdown-border);
      border-radius: 999px;
      color: var(--shutdown-ink);
      background: var(--shutdown-badge-bg);
      font-size: 11px;
      font-weight: 800;
      line-height: 1;
      white-space: nowrap;
    }

    .dispatcher-water-shutdown-badge {
      border-color: var(--water-border);
      color: var(--water-ink);
      background: var(--water-bg);
    }

    .dispatcher-water-shutdown-severity {
      border-color: var(--shutdown-border);
      color: var(--shutdown-ink);
      background: var(--shutdown-badge-bg);
    }

    .dispatcher-water-shutdown-address,
    .dispatcher-water-shutdown-meta {
      min-width: 0;
      margin: 0;
      overflow: hidden;
      color: var(--muted);
      font-size: 12px;
      font-weight: 600;
      line-height: 1.25;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .dispatcher-water-shutdown-address {
      color: #334155;
    }

    .dispatcher-water-shutdown-progress {
      width: 100%;
      height: 6px;
      overflow: hidden;
      border-radius: 999px;
      background: #e5e7eb;
    }

    .dispatcher-water-shutdown-progress span {
      display: block;
      width: var(--shutdown-progress, 12%);
      height: 100%;
      border-radius: inherit;
      background: var(--shutdown-accent);
    }

    .dispatcher-water-shutdown-time {
      display: grid;
      justify-items: end;
      gap: 4px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
      line-height: 1.2;
      text-align: right;
      white-space: nowrap;
    }

    .dispatcher-water-shutdown-time strong {
      color: var(--text);
      font-size: 13px;
      font-weight: 800;
      font-variant-numeric: tabular-nums;
    }

    .dispatcher-water-shutdown-time time {
      font-variant-numeric: tabular-nums;
    }

    .dispatcher-water-shutdowns-empty {
      margin: 0;
      padding: 18px;
      border: 1px dashed rgba(148, 163, 184, 0.36);
      border-radius: 8px;
      color: var(--muted);
      background: rgba(248, 250, 252, 0.72);
      font-size: 13px;
      font-weight: 700;
      text-align: center;
    }

    .dispatcher-water-shutdowns-empty.error {
      color: var(--danger);
      border-color: rgba(180, 35, 24, 0.28);
      background: rgba(254, 242, 242, 0.72);
    }

    .dispatcher-overdue-calls-card,
    .dispatcher-previous-day-calls-card,
    .dispatcher-office-duty-card {
      display: grid;
      gap: 12px;
      align-content: start;
      padding: 18px;
    }

    .dispatcher-overdue-calls-card[hidden],
    .dispatcher-previous-day-calls-card[hidden],
    .dispatcher-office-duty-card[hidden] {
      display: none;
    }

    .dispatcher-overdue-calls-card h2,
    .dispatcher-previous-day-calls-card h2,
    .dispatcher-office-duty-card h2 {
      margin: 0;
      color: #2f2945;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.2;
    }

    .dispatcher-overdue-calls-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      min-width: 0;
    }

    .dispatcher-overdue-calls-title-wrap {
      display: grid;
      gap: 5px;
      min-width: 0;
    }

    .dispatcher-overdue-calls-status {
      min-height: 0;
      margin: 0;
      color: #777186;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.25;
    }

    .dispatcher-overdue-calls-refresh {
      min-height: 34px;
      padding: 0 12px;
      border-radius: 12px;
      white-space: nowrap;
    }

    .dispatcher-overdue-calls-list {
      display: grid;
      gap: 8px;
      min-width: 0;
    }

    .dispatcher-overdue-call-row {
      --call-accent: #22c55e;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      min-height: 74px;
      min-width: 0;
      padding: 10px 11px;
      border: 1px solid rgba(111, 84, 166, 0.08);
      border-left: 4px solid var(--call-accent);
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.8);
    }

    .dispatcher-overdue-call-row.watch {
      --call-accent: #0ea5e9;
    }

    .dispatcher-overdue-call-row.warning {
      --call-accent: #f59e0b;
    }

    .dispatcher-overdue-call-row.high {
      --call-accent: #f97316;
    }

    .dispatcher-overdue-call-row.critical {
      --call-accent: #dc2626;
      background: rgba(255, 250, 250, 0.92);
    }

    .dispatcher-overdue-call-main {
      display: grid;
      gap: 4px;
      min-width: 0;
    }

    .dispatcher-overdue-call-top {
      display: flex;
      align-items: center;
      gap: 6px;
      min-width: 0;
    }

    .dispatcher-overdue-call-top strong {
      min-width: 0;
      overflow: hidden;
      color: #2f2945;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.2;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .dispatcher-overdue-call-status {
      display: inline-flex;
      min-height: 20px;
      align-items: center;
      flex: 0 0 auto;
      padding: 0 7px;
      border-radius: 999px;
      color: #6650b8;
      background: #f1ecff;
      font-size: 11px;
      font-weight: 800;
      line-height: 1;
    }

    .dispatcher-overdue-call-status.ajillaj_baina {
      color: #166534;
      background: #dcfce7;
    }

    .dispatcher-overdue-call-status.huleen_avsan {
      color: #075985;
      background: #e0f2fe;
    }

    .dispatcher-overdue-call-status.shine {
      color: #991b1b;
      background: #fee2e2;
    }

    .dispatcher-overdue-call-main p,
    .dispatcher-overdue-call-main span {
      min-width: 0;
      margin: 0;
      overflow: hidden;
      color: #777186;
      font-size: 12px;
      font-weight: 600;
      line-height: 1.25;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .dispatcher-overdue-call-main p {
      color: #334155;
    }

    .dispatcher-overdue-call-time {
      display: grid;
      justify-items: end;
      gap: 4px;
      color: #777186;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.2;
      text-align: right;
      white-space: nowrap;
    }

    .dispatcher-overdue-call-time strong {
      color: var(--call-accent);
      font-size: 15px;
      font-weight: 900;
      font-variant-numeric: tabular-nums;
      line-height: 1;
    }

    .dispatcher-overdue-call-time time {
      font-variant-numeric: tabular-nums;
    }

    .dispatcher-overdue-calls-empty {
      margin: 0;
      padding: 18px;
      border: 1px dashed rgba(148, 163, 184, 0.36);
      border-radius: 14px;
      color: #777186;
      background: rgba(248, 250, 252, 0.72);
      font-size: 13px;
      font-weight: 700;
      text-align: center;
    }

    .dispatcher-overdue-calls-empty.error {
      color: var(--danger);
      border-color: rgba(180, 35, 24, 0.28);
      background: rgba(254, 242, 242, 0.72);
    }

    .dispatcher-previous-day-calls-card {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      padding: 12px 16px;
      overflow-x: auto;
    }

    .dispatcher-calls-tabs {
      display: flex;
      align-items: flex-end;
      gap: 4px;
      width: max-content;
      position: relative;
      z-index: 1;
    }

    .dispatcher-calls-tabs button {
      position: relative;
      margin-bottom: -1px;
      padding: 9px 14px;
      border: 1px solid #d0d5dd;
      border-radius: 10px 10px 0 0;
      background: #edf0f3;
      color: #514b5d;
      font: inherit;
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
      cursor: pointer;
    }

    .dispatcher-calls-tabs button[aria-pressed="true"] {
      color: #201a31;
      border-color: #d0d5dd;
      border-bottom-color: #fff;
      background: #fff;
      padding-top: 12px;
    }

    .dispatcher-calls-tabs button:focus-visible {
      outline: 2px solid #2563eb;
      outline-offset: -4px;
    }

    .dispatcher-calls-panel {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: max-content;
      padding: 8px;
      border: 1px solid #d0d5dd;
      border-radius: 0 10px 10px 10px;
      background: #fff;
    }

    .dispatcher-calls-date-form {
      display: flex;
      align-items: center;
      flex: 0 0 auto;
      margin-left: auto;
      gap: 8px;
    }

    .dispatcher-calls-date-form[hidden] {
      display: none;
    }

    .dispatcher-calls-date-form label {
      display: flex;
      align-items: center;
      gap: 5px;
      white-space: nowrap;
      color: #514b5d;
      font-size: 12px;
      font-weight: 700;
    }

    .dispatcher-calls-date {
      justify-self: start;
      padding: 6px 8px;
      border: 1px solid #d0d5dd;
      border-radius: 8px;
      font: inherit;
      font-size: 12px;
    }

    .dispatcher-previous-day-calls-head {
      flex: 0 0 auto;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      min-width: 0;
    }

    .dispatcher-previous-day-calls-title-wrap {
      display: grid;
      gap: 5px;
      min-width: 0;
    }

    .dispatcher-previous-day-calls-status {
      min-height: 0;
      margin: 0;
      color: #777186;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.25;
    }

    .dispatcher-previous-day-calls-grid {
      display: flex;
      flex: 0 0 auto;
      align-items: center;
      gap: 8px;
    }

    .dispatcher-previous-day-calls-stat {
      --previous-day-accent: #2563eb;
      --previous-day-bg: rgba(239, 246, 255, 0.78);
      --previous-day-border: rgba(37, 99, 235, 0.18);
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: max-content;
      padding: 8px 10px;
      border: 1px solid var(--previous-day-border);
      border-left: 4px solid var(--previous-day-accent);
      border-radius: 8px;
      background: var(--previous-day-bg);
    }

    .dispatcher-previous-day-calls-stat.completed {
      --previous-day-accent: #16a34a;
      --previous-day-bg: rgba(240, 253, 244, 0.82);
      --previous-day-border: rgba(22, 163, 74, 0.18);
    }

    .dispatcher-previous-day-calls-stat.remaining {
      --previous-day-accent: #f97316;
      --previous-day-bg: rgba(255, 247, 237, 0.86);
      --previous-day-border: rgba(249, 115, 22, 0.2);
    }

    .dispatcher-previous-day-calls-stat span {
      min-width: 0;
      overflow: hidden;
      color: #514b5d;
      font-size: 12px;
      font-weight: 800;
      line-height: 1.2;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .dispatcher-previous-day-calls-stat strong {
      color: #201a31;
      font-size: 20px;
      font-weight: 900;
      font-variant-numeric: tabular-nums;
      line-height: 1;
    }

    .dispatcher-previous-day-calls-stat em {
      min-width: 0;
      overflow: hidden;
      color: var(--previous-day-accent);
      font-size: 11px;
      font-style: normal;
      font-weight: 800;
      line-height: 1.2;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .dispatcher-previous-day-calls-empty {
      grid-column: 1 / -1;
      margin: 0;
      padding: 18px;
      border: 1px dashed rgba(148, 163, 184, 0.36);
      border-radius: 14px;
      color: #777186;
      background: rgba(248, 250, 252, 0.72);
      font-size: 13px;
      font-weight: 700;
      text-align: center;
    }

    .dispatcher-previous-day-calls-empty.error {
      color: var(--danger);
      border-color: rgba(180, 35, 24, 0.28);
      background: rgba(254, 242, 242, 0.72);
    }

    .dispatcher-office-duty-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      min-width: 0;
    }

    .dispatcher-office-duty-title-wrap {
      display: grid;
      gap: 5px;
      min-width: 0;
    }

    .dispatcher-office-duty-status {
      min-height: 0;
      margin: 0;
      color: #777186;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.25;
    }

    .dispatcher-office-duty-refresh {
      min-height: 34px;
      padding: 0 12px;
      border-radius: 12px;
      white-space: nowrap;
    }

    .dispatcher-office-duty-list {
      display: grid;
      gap: 8px;
      max-height: min(62vh, 620px);
      min-width: 0;
      overflow: auto;
      padding-right: 2px;
    }

    .dispatcher-office-duty-row {
      display: grid;
      gap: 10px;
      min-width: 0;
      padding: 12px;
      border: 1px solid rgba(111, 84, 166, 0.08);
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.78);
    }

    .dispatcher-office-duty-office-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      min-width: 0;
    }

    .dispatcher-office-duty-office-name {
      display: grid;
      gap: 4px;
      min-width: 0;
    }

    .dispatcher-office-duty-office-name strong {
      min-width: 0;
      overflow: hidden;
      color: #201a31;
      font-size: 14px;
      font-weight: 800;
      line-height: 1.2;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .dispatcher-office-duty-office-name span {
      min-width: 0;
      overflow: hidden;
      color: #777186;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.25;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .dispatcher-office-duty-counters {
      display: flex;
      justify-content: flex-end;
      flex-wrap: wrap;
      gap: 6px;
    }

    .dispatcher-office-duty-counter {
      display: inline-flex;
      min-height: 22px;
      align-items: center;
      padding: 0 8px;
      border: 1px solid rgba(148, 163, 184, 0.22);
      border-radius: 999px;
      color: #514b5d;
      background: rgba(248, 250, 252, 0.82);
      font-size: 11px;
      font-weight: 800;
      line-height: 1;
      white-space: nowrap;
    }

    .dispatcher-office-duty-counter.online {
      color: #166534;
      border-color: rgba(22, 163, 74, 0.22);
      background: rgba(220, 252, 231, 0.72);
    }

    .dispatcher-office-duty-counter.offline {
      color: #991b1b;
      border-color: rgba(220, 38, 38, 0.2);
      background: rgba(254, 226, 226, 0.68);
    }

    .dispatcher-office-duty-counter.section {
      color: #1d4ed8;
      border-color: rgba(37, 99, 235, 0.22);
      background: rgba(239, 246, 255, 0.76);
    }

    .dispatcher-office-duty-sections {
      display: grid;
      gap: 8px;
      min-width: 0;
    }

    .dispatcher-office-duty-section {
      display: grid;
      grid-template-columns: minmax(190px, 0.9fr) minmax(0, 1.4fr);
      gap: 10px;
      min-width: 0;
      padding: 10px;
      border: 1px solid rgba(148, 163, 184, 0.16);
      border-radius: 12px;
      background: rgba(248, 250, 252, 0.72);
    }

    .dispatcher-office-duty-section-info {
      display: grid;
      gap: 4px;
      min-width: 0;
    }

    .dispatcher-office-duty-section-info strong {
      color: #2f2945;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.2;
    }

    .dispatcher-office-duty-section-info span {
      color: #64748b;
      font-size: 12px;
      font-weight: 650;
      line-height: 1.35;
    }

    .dispatcher-office-duty-staff-list {
      display: flex;
      min-width: 0;
      align-content: flex-start;
      flex-wrap: wrap;
      gap: 6px;
    }

    .dispatcher-office-duty-staff {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 6px;
      align-items: center;
      max-width: 100%;
      min-height: 30px;
      padding: 5px 7px;
      border: 1px solid rgba(148, 163, 184, 0.18);
      border-radius: 10px;
      color: #334155;
      background: #fff;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.2;
    }

    .dispatcher-office-duty-staff.online {
      border-color: rgba(22, 163, 74, 0.24);
      background: rgba(240, 253, 244, 0.86);
    }

    .dispatcher-office-duty-staff.offline {
      border-color: rgba(220, 38, 38, 0.16);
      background: rgba(255, 247, 247, 0.86);
    }

    .dispatcher-office-duty-staff-status {
      display: inline-flex;
      min-height: 18px;
      align-items: center;
      padding: 0 6px;
      border-radius: 999px;
      color: #991b1b;
      background: #fee2e2;
      font-size: 10px;
      font-weight: 900;
      line-height: 1;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .dispatcher-office-duty-staff.online .dispatcher-office-duty-staff-status {
      color: #166534;
      background: #dcfce7;
    }

    .dispatcher-office-duty-staff strong,
    .dispatcher-office-duty-staff a,
    .dispatcher-office-duty-staff span:not(.dispatcher-office-duty-staff-status) {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .dispatcher-office-duty-staff strong {
      color: #201a31;
      font-size: 12px;
      font-weight: 800;
    }

    .dispatcher-office-duty-staff a,
    .dispatcher-office-duty-staff span:not(.dispatcher-office-duty-staff-status) {
      color: #6650b8;
      font-size: 11px;
      font-weight: 800;
      text-decoration: none;
    }

    .dispatcher-office-duty-section-empty,
    .dispatcher-office-duty-empty {
      margin: 0;
      padding: 14px;
      border: 1px dashed rgba(148, 163, 184, 0.34);
      border-radius: 12px;
      color: #777186;
      background: rgba(248, 250, 252, 0.72);
      font-size: 13px;
      font-weight: 700;
      text-align: center;
    }

    .dispatcher-office-duty-empty.error {
      color: var(--danger);
      border-color: rgba(180, 35, 24, 0.28);
      background: rgba(254, 242, 242, 0.72);
    }

    .dashboard-action {
      min-height: 118px;
      padding: 16px;
      text-align: left;
      cursor: pointer;
    }

    .dashboard-action strong {
      display: block;
      margin-bottom: 7px;
      color: var(--text);
      font-size: 14px;
      font-weight: 600;
    }

    .dashboard-action span {
      color: var(--muted);
      font-size: 12px;
      font-weight: 500;
      line-height: 1.45;
    }

    @media (max-width: 1100px) {
      .dispatcher-dashboard-top {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    @media (max-width: 720px) {
      #dashboard-view.dispatcher-dashboard-empty {
        padding: 18px;
      }

      .dispatcher-dashboard-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
      }

      .dispatcher-dashboard-greeting {
        max-width: 100%;
        font-size: 16px;
      }

      .dispatcher-dashboard-date {
        margin-left: 0;
      }

      .dispatcher-water-shutdowns {
        padding: 12px;
      }

      .dispatcher-water-shutdowns-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
      }

      .dispatcher-water-shutdowns-actions {
        width: 100%;
      }

      .dispatcher-water-shutdowns-refresh,
      .dispatcher-water-shutdowns-expand {
        flex: 1 1 0;
      }

      .dispatcher-water-shutdown-row {
        grid-template-columns: 1fr;
        gap: 9px;
      }

      .dispatcher-water-shutdown-time {
        justify-items: start;
        text-align: left;
      }

      .dispatcher-overdue-calls-card,
      .dispatcher-previous-day-calls-card,
      .dispatcher-office-duty-card {
        padding: 14px;
      }

      .dispatcher-overdue-calls-head {
        align-items: flex-start;
        flex-direction: column;
      }

      .dispatcher-office-duty-head,
      .dispatcher-office-duty-office-top {
        align-items: flex-start;
        flex-direction: column;
      }

      .dispatcher-office-duty-counters,
      .dispatcher-office-duty-refresh {
        width: 100%;
      }

      .dispatcher-office-duty-section {
        grid-template-columns: 1fr;
      }

      .dispatcher-office-duty-staff {
        grid-template-columns: auto minmax(0, 1fr);
      }

      .dispatcher-office-duty-staff a,
      .dispatcher-office-duty-staff span:not(.dispatcher-office-duty-staff-status) {
        grid-column: 2;
      }

      .dispatcher-overdue-call-row {
        grid-template-columns: 1fr;
      }

      .dispatcher-overdue-call-time {
        justify-items: start;
        text-align: left;
      }
    }
