/* Icon-only dashboard actions. Labels remain in the DOM and appear in one unclipped tooltip. */
body.dashboard-page :is(.dashboard-minimal-action,.dashboard-minimal-native) {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 40px!important;
  min-width: 40px!important;
  height: 40px!important;
  min-height: 40px!important;
  max-width: 40px!important;
  margin: 0;
  padding: 0!important;
  border: 0!important;
  border-radius: 10px;
  background: transparent!important;
  box-shadow: none!important;
  color: #d6dce8;
  text-decoration: none;
  text-align: center;
  font-size: 0;
  line-height: 1;
  transform: none!important;
  filter: none!important;
  transition: background-color .18s,color .18s;
}
body.dashboard-page :is(.dashboard-minimal-action,.dashboard-minimal-native):is(:hover,:focus-visible,[aria-expanded="true"]) {
  border: 0!important;
  background: #ffffff0d!important;
  box-shadow: none!important;
  color: #fff;
  transform: none!important;
  filter: none!important;
}
body.dashboard-page :is(.dashboard-minimal-action,.dashboard-minimal-native):focus-visible {
  outline: 2px solid #a989f3;
  outline-offset: 2px;
}
body.dashboard-page .dashboard-minimal-action > :not(.dashboard-minimal-icon) { display: none!important; }
body.dashboard-page .dashboard-minimal-icon { display: grid; place-items: center; width: 22px; height: 22px; flex: none; color: inherit; }
body.dashboard-page .dashboard-minimal-icon svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; }
body.dashboard-page :is(.dashboard-minimal-action,.dashboard-minimal-native).danger,
body.dashboard-page :is(.dashboard-minimal-action,.dashboard-minimal-native)[data-center-delete-read] { color: #f19aaa; }
body.dashboard-page .dashboard-minimal-action:disabled { opacity: .4; cursor: not-allowed; }
body.dashboard-page :is(.dashboard-minimal-action,.dashboard-minimal-native)[hidden] { display: none!important; }

/* Native header/sidebar icons keep their original marks, without text or filled surfaces. */
body.dashboard-page .dashboard-minimal-native > :is(b,.user-name,.user-chevron) { display: none!important; }
body.dashboard-page .dashboard-minimal-native.hero-credit-trigger > i { display: none!important; }
body.dashboard-page .dashboard-minimal-native.user-menu .avatar { position: relative; margin: 0; background: transparent; box-shadow: none; color: #fff; font-size: 0!important; }
body.dashboard-page .dashboard-minimal-native.user-menu .avatar::before { content: ''; position: absolute; top: 4px; left: 10px; width: 7px; height: 7px; border: 1.7px solid currentColor; border-radius: 50%; }
body.dashboard-page .dashboard-minimal-native.user-menu .avatar::after { content: ''; position: absolute; left: 6px; bottom: 4px; width: 15px; height: 8px; border: 1.7px solid currentColor; border-radius: 10px 10px 4px 4px; }
body.dashboard-page .dashboard-minimal-native.dashboard-create-shortcut > span,
body.dashboard-page .dashboard-minimal-native.dashboard-circle-shortcut > span,
body.dashboard-page .dashboard-minimal-native.hero-credit-trigger > span { display: grid; place-items: center; width: 24px; height: 24px; font-size: 22px; color: #fff; }
body.dashboard-page .dashboard-minimal-native.sidebar-action > span { width: 24px; height: 24px; color: #d6dce8; }
body.dashboard-page .dashboard-minimal-native > span > svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.dashboard-page .sidebar-actions { display: flex; justify-content: center; gap: 8px; }
body.dashboard-page .dashboard-minimal-native.notification-toggle { overflow: visible; }
body.dashboard-page .dashboard-minimal-native.notification-toggle .notification-dot { display: none; }
body.dashboard-page .dashboard-minimal-native.notification-toggle.has-unread .notification-dot { display: grid; }
body.dashboard-page .top-primary-actions,
body.dashboard-page .top-account-actions { align-items: center; }
body.dashboard-page .top-account-actions .hero-credit { flex: none; }

.dashboard-action-tooltip {
  position: fixed;
  z-index: 20000;
  width: max-content;
  max-width: min(280px,calc(100vw - 20px));
  padding: 7px 11px;
  border: 1px solid #3a4354;
  border-radius: 8px;
  background: #1a202b;
  box-shadow: 0 9px 25px #0009;
  color: #f0f2f7;
  font: 700 11px/1.6 Vazirmatn,Tahoma,sans-serif;
  direction: rtl;
  text-align: center;
  white-space: normal;
  pointer-events: none;
}
.dashboard-action-tooltip[hidden] { display: none; }

@media (max-width: 760px) {
  .dashboard-action-tooltip { display: none!important; }
  body.dashboard-page :is(.dashboard-minimal-action,.dashboard-minimal-native) {
    width: 38px!important;
    min-width: 38px!important;
    height: 38px!important;
    min-height: 38px!important;
    max-width: 38px!important;
  }
  body.dashboard-page .notification-bulk-actions,
  body.dashboard-page .notification-center-actions { justify-content: flex-start; }
  body.dashboard-page .notification-bulk-actions .dashboard-minimal-action { flex: 0 0 38px; }
}
