/* Linux desktop install and refresh controls share the platform control layer. */
.desktop-tools {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin: 0 0 20px;
  border-bottom: 1px solid var(--border); padding: 0 0 12px;
}
.desktop-tools__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.desktop-tools .ui-choice { font-size: 12px; color: var(--dim); margin: 0; }
.desktop-tools .ui-choice input { width: auto; min-height: 0; }
.desktop-tools__status { margin: 0; font-size: 12px; color: var(--dim); }
.desktop-tools__status[data-state="offline"], .desktop-tools__status[data-state="error"] { color: var(--warn); }
.desktop-help { color: var(--text); background: var(--card); max-width: 480px; }
.desktop-help h2 { margin: 0; font-size: 20px; }
.desktop-help p, .desktop-help li { line-height: 1.6; font-size: 14px; color: var(--dim); }
.desktop-help ol { padding-left: 22px; }
.desktop-help .ui-sheet-head, .desktop-help .ui-sheet-foot { padding: 16px 20px; }
.desktop-help__body { padding: 0 20px; }
.login__install { width: 100%; margin-top: 14px; }
.desktop-header-install { flex: 0 0 auto; }
[data-pulse-installed="true"] [data-desktop-install] { display: none !important; }
@media (max-width: 767px) { .desktop-header-install { display: none; } }
@media (max-width: 520px) {
  .desktop-tools__actions { width: 100%; }
  .desktop-tools .ui-btn { min-height: 44px; }
  .desktop-tools .ui-choice { flex-basis: 100%; }
}
