:is(#dash-activity-period-menu, #sales-flow-activity-period-menu).dashboard-period-menu.dashboard-period-tree {
  position: fixed;
  inset: auto;
  margin: 0;
  width: min(280px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: min(540px, var(--period-max-height, 540px));
  padding: 8px;
  overflow: hidden;
  border: 1px solid #dce5df;
  border-radius: 14px;
  background: #fff;
  color: #243b30;
  box-shadow: 0 12px 32px rgba(24,48,37,.14);
  font-family: "ActivityManrope", "Manrope", sans-serif;
}
:is(#dash-activity-period-menu, #sales-flow-activity-period-menu).dashboard-period-menu.dashboard-period-tree:popover-open {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
:is(#dash-activity-period-menu, #sales-flow-activity-period-menu).dashboard-period-menu.dashboard-period-tree button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: none;
  gap: 9px;
  width: 100%;
  min-height: 38px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: 400 13px/1.4 "ActivityManrope", "Manrope", sans-serif;
  text-align: left;
  cursor: pointer;
}
:is(#dash-activity-period-menu, #sales-flow-activity-period-menu).dashboard-period-menu.dashboard-period-tree button:hover { background: #f1f6f3; }
:is(#dash-activity-period-menu, #sales-flow-activity-period-menu).dashboard-period-menu.dashboard-period-tree button:focus-visible { outline: 2px solid #278b70; outline-offset: -2px; }
.dashboard-period-menu .dashboard-period-years { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.dashboard-period-menu .dashboard-period-months { margin-left: 16px; padding-left: 6px; border-left: 1px solid #e5ebe7; }
.dashboard-period-menu .dashboard-period-months[hidden] { display: none; }
:is(#dash-activity-period-menu, #sales-flow-activity-period-menu).dashboard-period-menu.dashboard-period-tree .dashboard-year-toggle { font-weight: 650; }
.dashboard-period-menu .dashboard-year-toggle svg { flex: none; width: 14px; height: 14px; margin: 0 9px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.dashboard-period-menu .dashboard-year-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.dashboard-period-menu .dashboard-period-check { display: grid; place-items: center; flex: 0 0 17px; width: 17px; height: 17px; border: 1.5px solid #bdcbc2; border-radius: 5px; background: #fff; }
.dashboard-period-menu .dashboard-period-check svg { visibility: hidden; width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dashboard-period-menu [aria-pressed="true"] > .dashboard-period-check { border-color: #278b70; background: #278b70; }
.dashboard-period-menu [aria-pressed="true"] > .dashboard-period-check svg { visibility: visible; }
.dashboard-period-menu .dashboard-period-label { flex: 1; }
.dashboard-period-menu .dashboard-current-month { flex: none; margin-left: auto; padding: 2px 6px; border-radius: 5px; background: #edf5f0; color: #176349; font-size: 11px; font-weight: 650; }
