/* Existing shortcuts are placed in the sticky header. */
.header .quick-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 12px 10px;
}
.header .quick-actions .float-tg,
.header .quick-actions .float-max,
.header .quick-actions .safe-mode-btn {
  position: static;
  flex: 0 0 auto;
  width: auto;
  height: 44px;
  min-height: 44px;
  padding: 0 14px;
  gap: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  animation: none;
  transform: none;
  box-shadow: none;
  font-size: 13px;
  text-decoration: none;
}
.header .quick-actions a::after { content: attr(data-label); }
.header .quick-actions svg { width: 22px; height: 22px; }
.header .quick-actions .safe-mode-btn { width: 44px; padding: 0; }
.header .quick-actions .safe-mode-btn span { display: none; }
@media (min-width: 769px) {
  .header .header-inner { gap: 16px; }
  .header .logo { flex-shrink: 0; }
  .header .quick-actions { padding: 0; gap: 6px; flex-shrink: 0; }
  .header .quick-actions a { width: 44px; padding: 0; border-radius: 50%; }
  .header .quick-actions a::after { content: none; }
  .header .nav { gap: 16px; margin-left: auto; }
  .header .nav a { white-space: nowrap; }
  .header .nav .btn-primary { padding-left: 18px; padding-right: 18px; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .header .header-inner { height: auto; min-height: 72px; flex-wrap: wrap; gap: 8px 16px; padding: 12px 0; }
  .header .quick-actions { margin-left: auto; }
  .header .nav { width: 100%; justify-content: space-between; gap: 8px; }
}
@media (max-width: 768px) {
  .header > .container { padding: 0 12px; }
  .header .header-inner { height: 64px; gap: 4px; }
  .header .logo { min-width: 0; gap: 6px; margin-right: auto; }
  .header .logo-icon { width: 32px; height: 32px; }
  .header .logo-text h3 { font-size: 15px; line-height: 1.1; }
  .header .logo-text span {
    display: block;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0;
    margin-top: 2px;
  }
  .header .quick-actions { padding: 0; gap: 4px; flex-shrink: 0; }
  .header .quick-actions a { width: 44px; padding: 0; border-radius: 50%; }
  .header .quick-actions a::after { content: none; }
  .header .burger { width: 44px; height: 44px; padding: 10px; justify-content: center; flex-shrink: 0; }
  .mobile-nav .safe-mode-btn {
    position: static;
    flex-shrink: 0;
    width: auto;
    height: 44px;
    padding: 0 18px;
    justify-content: center;
  }
  .mobile-nav .safe-mode-btn:not(.active) .sm-label-off,
  .mobile-nav .safe-mode-btn.active .sm-label-on { display: inline; }
}
