/* CLOUD_OFFICE_HEADER_QUICK_ACTIONS_V10
 * The six original Today shortcuts now live in a persistent Header popover.
 * All styling scoped to Cloud Office and to the accessible Quick Actions menu. */
.pa-shell.is-executive-rail .pa-topbar .pa-office-quick-launch {
  flex: 0 0 auto;
  color: var(--cx-text-2);
  min-width: max(var(--pa-tap), 2.5rem);
  min-height: max(var(--pa-tap), 2.5rem);
}
.pa-shell.is-executive-rail .pa-topbar .pa-office-quick-launch[aria-expanded="true"] {
  background: var(--cx-selected);
  color: var(--cx-text);
}
.pa-shell.is-executive-rail .pa-topbar .pa-office-quick-launch:focus-visible {
  outline: 2px solid var(--cx-focus);
  outline-offset: 2px;
}
/* The shared menu is mounted below BODY, not inside the shell. */
body:has(.pa-shell.is-executive-rail) .pa-menu[aria-label="Quick Actions"] {
  min-width: min(19rem, calc(100vw - 1rem));
  max-width: min(21rem, calc(100vw - 1rem));
  max-height: calc(100dvh - 1rem);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  padding: .375rem;
  border-radius: .75rem;
  scrollbar-width: thin;
}
body:has(.pa-shell.is-executive-rail) .pa-menu[aria-label="Quick Actions"] .pa-menu-item {
  min-height: max(var(--pa-tap), 2.75rem);
  padding-inline: .625rem;
  gap: .75rem;
  font-weight: 485;
  line-height: 1.3;
}
body:has(.pa-shell.is-executive-rail) .pa-menu[aria-label="Quick Actions"] .pa-menu-item > .pa-ico {
  flex: none;
  color: var(--cx-text-2);
}
body:has(.pa-shell.is-executive-rail) .pa-menu[aria-label="Quick Actions"] .pa-kbd {
  flex: none;
  font-size: max(11px, .76rem);
  font-weight: 525;
}
html[data-theme="dark"] body:has(.pa-shell.is-executive-rail) .pa-menu[aria-label="Quick Actions"] {
  --co-quick-bg: #070707;
  --co-quick-ink: #f5f5f5;
  --co-quick-line: #343434;
  background: var(--co-quick-bg);
  color: var(--co-quick-ink);
  border-color: var(--co-quick-line);
  --cx-hover: #1c1c1c;
  --cx-text: #f5f5f5;
  --cx-text-2: #d0d0d0;
  --cx-text-3: #b4b4b4;
}
html[data-theme="day"] body:has(.pa-shell.is-executive-rail) .pa-menu[aria-label="Quick Actions"] {
  --co-quick-bg: #ffffff;
  --co-quick-ink: #171717;
  --co-quick-line: #a3a3a3;
  background: var(--co-quick-bg);
  color: var(--co-quick-ink);
  border-color: var(--co-quick-line);
  --cx-hover: #eeeeee;
  --cx-text: #171717;
  --cx-text-2: #383838;
  --cx-text-3: #505050;
}
@media (prefers-reduced-motion: reduce) {
  body:has(.pa-shell.is-executive-rail) .pa-menu[aria-label="Quick Actions"] {
    animation: none;
  }
}
@media (forced-colors: active) {
  body:has(.pa-shell.is-executive-rail) .pa-menu[aria-label="Quick Actions"] {
    background: Canvas;
    color: CanvasText;
    border-color: CanvasText;
  }
}
