body.local-dashboard-page {
  --shark-navy: #0b2239;
  --shark-blue: #2677dc;
  --shark-cyan: #4fc3f7;
  --shark-pale: #eef9ff;
  --shark-line: #cfeaff;
  background: #f5fbff !important;
  color: var(--shark-navy);
}

body.local-dashboard-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: url("/shark-logo.svg") center 108% / min(900px, 76vw) auto no-repeat;
  opacity: 0.022;
}

body.local-dashboard-page #root,
body.local-dashboard-page #root > div {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

body.local-dashboard-page .ant-layout,
body.local-dashboard-page .ant-layout-content {
  background: rgba(245, 251, 255, 0.88) !important;
  color: var(--shark-navy);
}

body.local-dashboard-page .ant-layout-header,
body.local-dashboard-page .ant-layout-sider,
body.local-dashboard-page .ant-layout-sider-children {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: var(--shark-line) !important;
}

body.local-dashboard-page .ant-layout-header {
  position: sticky !important;
  top: 0;
  z-index: 1100 !important;
  pointer-events: auto !important;
}

body.local-dashboard-page .header-menu,
body.local-dashboard-page .header-menu .ant-menu-item,
body.local-dashboard-page .header-menu .ant-menu-submenu {
  position: relative;
  z-index: 1101;
  pointer-events: auto !important;
}

body.local-dashboard-page .header-menu .ant-menu-item-disabled,
body.local-dashboard-page .header-menu .ant-menu-submenu-disabled {
  pointer-events: none !important;
}

body.local-dashboard-page .header-menu {
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  margin-left: auto !important;
}

body.local-dashboard-page .header-menu > .ant-menu-item {
  visibility: hidden !important;
}

body.local-dashboard-page .header-menu > .ant-menu-overflow-item-rest {
  display: block !important;
  height: 66px !important;
  min-width: 44px !important;
  opacity: 1 !important;
  order: 99 !important;
  position: relative !important;
  pointer-events: auto !important;
}

body.local-dashboard-page .header-menu > .ant-menu-overflow-item-rest .ant-menu-submenu-title {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 66px !important;
  padding: 0 12px !important;
  color: var(--shark-blue) !important;
}

body.local-dashboard-page .header-menu-popup .ant-menu-item,
body.local-dashboard-page .ant-menu-submenu-popup .local-header-overflow-item {
  display: flex;
  align-items: center;
  min-width: 172px;
}

/* Header actions should not keep a pressed state after the pointer leaves. */
body.local-dashboard-page .header-menu .ant-menu-item-selected:not(:hover),
body.local-dashboard-page .header-menu .ant-menu-item-active:not(:hover) {
  background: transparent !important;
  color: #31516c !important;
}

body.local-dashboard-page .header-menu .ant-menu-item-selected:not(:hover)::after,
body.local-dashboard-page .header-menu .ant-menu-item-active:not(:hover)::after {
  border-bottom-color: transparent !important;
  border-inline-end-color: transparent !important;
}

body.local-dashboard-page .ant-menu,
body.local-dashboard-page .ant-menu-sub,
body.local-dashboard-page .ant-menu-item,
body.local-dashboard-page .ant-menu-submenu-title {
  background: transparent !important;
  color: #31516c !important;
}

body.local-dashboard-page .ant-menu-item:hover,
body.local-dashboard-page .ant-menu-submenu-title:hover,
body.local-dashboard-page .ant-menu-item-selected {
  background: #e5f5ff !important;
  color: var(--shark-blue) !important;
}

body.local-dashboard-page .ant-menu-item-selected::after {
  border-right-color: var(--shark-cyan) !important;
}

body.local-dashboard-page .ant-card,
body.local-dashboard-page .ant-pro-card,
body.local-dashboard-page .ant-statistic,
body.local-dashboard-page .ant-table-wrapper {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: var(--shark-line) !important;
  box-shadow: 0 10px 28px rgba(38, 119, 220, 0.08) !important;
}

body.local-dashboard-page .ant-card-head,
body.local-dashboard-page .ant-table-thead > tr > th {
  background: #f7fcff !important;
  border-color: var(--shark-line) !important;
  color: var(--shark-navy) !important;
}

body.local-dashboard-page .ant-tabs-tab,
body.local-dashboard-page .ant-breadcrumb,
body.local-dashboard-page .ant-typography,
body.local-dashboard-page label {
  color: #31516c !important;
}

body.local-dashboard-page .ant-tabs-tab-active,
body.local-dashboard-page .ant-tabs-tab:hover,
body.local-dashboard-page .ant-statistic-content-value,
body.local-dashboard-page a {
  color: var(--shark-blue) !important;
}

body.local-dashboard-page .ant-statistic-content-suffix.local-unit-gray {
  color: #8b98a5 !important;
}

body.local-dashboard-page .ant-statistic-content-suffix.local-unit-accent {
  color: #0f766e !important;
}

body.local-dashboard-page .ant-statistic-content-prefix .anticon.local-statistic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-inline-end: 10px;
  color: var(--local-stat-icon-color) !important;
  font-size: 1em !important;
  line-height: 1;
  vertical-align: -9px;
  transition: transform 180ms ease, filter 180ms ease;
}

body.local-dashboard-page .local-statistic-icon svg {
  display: block;
  width: 32px;
  height: 32px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.local-dashboard-page .ant-statistic:hover .local-statistic-icon {
  transform: translateY(-1px) scale(1.04);
  filter: drop-shadow(0 5px 8px rgba(38, 119, 220, 0.18));
}

body.local-dashboard-page .ant-tabs-ink-bar,
body.local-dashboard-page .ant-btn-primary {
  background: var(--shark-blue) !important;
}

body.local-dashboard-page .ant-btn-primary {
  border-color: var(--shark-blue) !important;
  box-shadow: 0 6px 14px rgba(38, 119, 220, 0.2) !important;
}

body.local-dashboard-page .ant-input,
body.local-dashboard-page .ant-select-selector,
body.local-dashboard-page .ant-picker {
  border-color: var(--shark-line) !important;
}

body.local-dashboard-page .ant-input:focus,
body.local-dashboard-page .ant-input-focused,
body.local-dashboard-page .ant-select-focused .ant-select-selector {
  border-color: var(--shark-cyan) !important;
  box-shadow: 0 0 0 2px rgba(79, 195, 247, 0.18) !important;
}

body.local-dashboard-page .anticon {
  color: var(--shark-blue);
}

body.local-dashboard-page .local-settings-focus {
  background: #dff2ff !important;
  color: #2677dc !important;
  box-shadow: inset 3px 0 0 #4fc3f7;
  transition: background-color 180ms ease, color 180ms ease;
}

.local-profile-dialog[hidden] {
  display: none !important;
}

.local-profile-dialog {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.local-profile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 34, 57, 0.38);
  backdrop-filter: blur(4px);
}

.local-profile-panel {
  position: relative;
  width: min(440px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid #cfeaff;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(11, 34, 57, 0.2);
}

.local-profile-header {
  display: grid;
  grid-template-columns: 58px 1fr 36px;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid #dcefff;
  background: #eef9ff;
}

.local-profile-avatar {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.local-profile-heading h2,
.local-profile-heading p {
  margin: 0;
}

.local-profile-heading h2 {
  color: #0b2239;
  font-size: 20px;
  line-height: 1.35;
}

.local-profile-heading p {
  margin-top: 3px;
  color: #527089;
  font-size: 13px;
}

.local-profile-close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #31516c;
  cursor: pointer;
  font-size: 28px;
  line-height: 34px;
}

.local-profile-close:hover {
  background: #dcefff;
  color: #2677dc;
}

.local-profile-details {
  margin: 0;
  padding: 8px 24px 18px;
}

.local-profile-details > div {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e8f4fb;
}

.local-profile-details > div:last-child {
  border-bottom: 0;
}

.local-profile-details dt,
.local-profile-details dd {
  margin: 0;
  font-size: 14px;
}

.local-profile-details dt {
  color: #6d8293;
}

.local-profile-details dd {
  color: #173955;
  font-weight: 600;
}

@media (max-width: 760px) {
  body.local-dashboard-page::before {
    background-position: center 110%;
    background-size: 100vw auto;
    opacity: 0.02;
  }

  .local-profile-dialog {
    padding: 16px;
  }

  .local-profile-header {
    grid-template-columns: 48px 1fr 34px;
    padding: 18px;
  }

  .local-profile-avatar {
    width: 48px;
    height: 48px;
  }

  .local-profile-details {
    padding-inline: 18px;
  }
}
