/* =============================================================================
   DASHBOARD (/me) STYLES
   ============================================================================= */

/* Page-specific refinements for dashboard */
.dash-header {
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Keep long Google email addresses inside the security dialog on narrow screens. */
#google-method-form .device-info { min-width: 0; overflow-wrap: anywhere; }
#google-method-form .device-info > div { min-width: 0; }

@media (max-width: 960px) { .me-menu-btn { display: inline-flex; } }

/* A second mobile header row gives search a full-width, readable input. */
@media (max-width: 720px) {
  .me-appbar-inner { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; height: auto; padding: 8px 12px 12px; gap: 8px; }
  .me-menu-btn { width: 48px; height: 48px; }
  .me-appbar-title { display: block; font-size: 17px; overflow: hidden; text-overflow: ellipsis; }
  .me-appbar-actions { grid-column: 3; grid-row: 1; }
  .me-search { grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; min-width: 0; }
  .me-search input { height: 48px; font-size: 16px; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-item { min-width: 0; padding: 12px 8px; gap: 8px; }
  .quick-item .setting-icon { width: 30px; height: 30px; }
}
@media (max-width: 359px) { .quick-grid { grid-template-columns: 1fr; } }
