.workspace-task-actions button > span { min-width: 0; }
.workspace-task-actions strong { display: block; font-weight: 600; }
.workspace-task-actions small { display: block; margin-top: 3px; color: var(--ink-soft); font-size: .8125rem; line-height: 1.5; }
.workspace-task-actions button[aria-current="page"]::after { flex: 0 0 auto; }
.workspace-help { position: relative; margin: 0; }
.workspace-help > summary {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: 8px;
  border-radius: 7px; color: var(--ink); font-size: .875rem;
  font-weight: 600; line-height: 1.4; list-style: none; cursor: pointer;
}
.workspace-help > summary::-webkit-details-marker { display: none; }
.workspace-help > summary:hover, .workspace-help[open] > summary { background: var(--paper-deep); }
.workspace-help-panel {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 1;
  width: 360px; max-width: calc(100vw - 24px); padding: 20px;
  max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  box-shadow: 0 16px 30px -18px rgba(23,33,28,.55); white-space: normal;
}
.workspace-help-panel h2 { margin: 0 0 18px; font-size: 1.0625rem; line-height: 1.4; letter-spacing: normal; }
.workspace-help-panel h3 { margin: 0 0 6px; font-size: 1rem; line-height: 1.4; letter-spacing: normal; }
.workspace-help-panel p { margin: 0; color: var(--ink-soft); font-size: .9375rem; line-height: 1.55; }
.workspace-help-panel section + section { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.workspace-help-panel button {
  display: block; min-height: 44px; margin-top: 6px; padding: 8px 0;
  border: 0; background: transparent; color: var(--action-edge);
  font: 600 .9375rem/1.5 var(--font); text-align: left; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer;
}
.workspace-help-panel .workspace-help-note { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .875rem; }
.workspace-help-panel .workspace-help-current { margin-top: 8px; font-size: .875rem; font-weight: 600; }
@media (max-width: 600px) {
  #account-nav:has(.workspace-help) { gap: 2px; }
  .workspace-task-switch > summary { gap: 4px; padding-inline: 6px; }
  .workspace-help-panel { position: fixed; top: 66px; right: 12px; }
}
@media (max-width: 380px) {
  .site-header:has(.workspace-help) .logo svg { display: none; }
  .site-header:has(.workspace-help) .logo { font-size: 1rem; }
}
