.popover {
  position: fixed;
  z-index: var(--z-popover);
  min-width: var(--popover-min-width);
  max-width: calc(100vw - 2 * var(--popover-margin));
  max-height: calc(100dvh - var(--taskbar-height) - 2 * var(--popover-margin));
  padding: var(--popover-padding);
  overflow-y: auto;
  color: var(--popover-text);
  font-family: var(--menu-font);
  font-size: 14px;
  background-color: var(--popover-bg);
  border: 1px solid var(--popover-border);
  border-radius: var(--popover-radius);
  box-shadow: var(--popover-shadow);
}

.popover[hidden] {
  display: none;
}

.popover:focus {
  outline: none;
}







.popover__actions {
  display: grid;
}

.popover__action {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: var(--popover-row-padding);
  text-align: left;
}

.popover__action:not(:disabled):hover,
.popover__action:focus-visible,
.calendar__step:hover,
.calendar__step:focus-visible {
  color: var(--popover-hover-text);
  background-color: var(--popover-hover-bg);
  outline: none;
}

.popover__action:disabled {
  color: var(--popover-text-muted);
  cursor: default;
}

.popover__action:disabled img {
  opacity: 0.5;
}

.popover__device {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
}

.popover__device img {
  width: var(--notify-icon);
  height: var(--notify-icon);
  filter: brightness(0) invert(1);
}

.popover__device strong {
  display: block;
}

.popover__device span {
  color: var(--popover-text-muted);
}

.popover__action img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.popover__separator {
  height: 1px;
  margin: var(--popover-gap) 0;
  background-color: var(--popover-separator);
  border: 0;
}

.popover__volume {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: var(--popover-row-padding);
}

.popover__slider {
  flex: 1;
  min-width: 0;
  accent-color: var(--slider-accent);
  cursor: pointer;
}

.popover__volume-value {
  min-width: 4ch;
  color: var(--popover-text-muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
