/* Did I Put That There App Styles */
/* Clean, vibrant, white-based UI */

:root {
  --primary: #4f46e5;
  --primary-light: #6366f1;
  --primary-dark: #3730a3;
  --primary-bg: #eef2ff;

  --accent-coral: #f43f5e;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-sky: #0ea5e9;
  --accent-violet: #8b5cf6;

  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.08), 0 10px 10px -5px rgba(0,0,0,.03);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --nav-height: 64px;
  --nav-bottom: 68px;

  --font-display: 'Nunito', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font-body);
  background: var(--bg-soft);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

#app { min-height: 100vh; }

/* ---- SPLASH ---- */
.splash-screen {
  position: fixed; inset: 0;
  background: white;
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity .4s ease;
}
.splash-screen.hidden { opacity: 0; pointer-events: none; }
.splash-logo { text-align: center; }
.splash-icon { font-size: 64px; margin-bottom: 16px; animation: bounce 1s ease infinite alternate; }
.splash-logo h1 { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--primary); }
.splash-logo p { color: var(--text-muted); margin-top: 8px; }
@keyframes bounce { to { transform: translateY(-8px); } }

/* ---- LAYOUT ---- */
.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.top-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: white;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 16px;
  z-index: 100;
  gap: 12px;
}
.top-nav .nav-logo {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex; align-items: center; gap: 6px;
}
.top-nav .nav-spacer { flex: 1; }
.top-nav .tenant-badge {
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 13px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  max-width: 140px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.top-nav .nav-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 14px;
  cursor: pointer;
  border: 2px solid var(--primary-bg);
}

/* Search bar in top nav */
.top-nav .nav-search {
  flex: 1; max-width: 400px;
  position: relative;
}
.top-nav .nav-search input {
  width: 100%;
  padding: 8px 16px 8px 40px;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--bg-soft);
  color: var(--text);
  outline: none;
  transition: all .2s;
}
.top-nav .nav-search input:focus {
  border-color: var(--primary-light);
  background: white;
  box-shadow: 0 0 0 3px var(--primary-bg);
}
.top-nav .nav-search .search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 16px;
  pointer-events: none;
}

/* Bottom nav for mobile */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--nav-bottom);
  background: white;
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
  padding-bottom: env(safe-area-inset-bottom, 0);
  z-index: 100;
}
.bottom-nav .nav-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 11px; font-weight: 600;
  text-decoration: none;
  transition: color .15s;
  border: none; background: none;
}
.bottom-nav .nav-item .icon { font-size: 22px; line-height: 1; }
.bottom-nav .nav-item.active { color: var(--primary); }
.bottom-nav .nav-item.active .icon { transform: scale(1.1); }

/* Page content area */
.page-content {
  padding-top: calc(var(--nav-height) + 16px);
  padding-bottom: calc(var(--nav-bottom) + 16px);
  padding-left: 16px; padding-right: 16px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* ---- CARDS ---- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.card-body { padding: 16px; }
.card-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; gap: 10px;
}
.card-header h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; }

/* ---- BOX CARDS ---- */
.box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.box-card {
  background: white;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.box-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.box-card .box-card-color { height: 6px; }
.box-card .box-card-body { padding: 12px; }
.box-card .box-card-icon { font-size: 32px; margin-bottom: 8px; }
.box-card .box-card-label {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 4px;
}
.box-card .box-card-location { font-size: 12px; color: var(--text-muted); }
.box-card .box-card-count {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 8px;
  background: var(--bg-soft);
  padding: 3px 8px; border-radius: 20px;
  font-size: 11px; font-weight: 600; color: var(--text-muted);
}

/* ---- ITEM CARDS ---- */
.item-list { display: flex; flex-direction: column; gap: 8px; }
.item-card {
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 12px;
  display: flex; gap: 12px; align-items: flex-start;
  cursor: pointer; transition: all .15s;
}
.item-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.item-card .item-thumb {
  width: 60px; height: 60px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-soft);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  border: 1px solid var(--border-light);
}
.item-card .item-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 8px;
}
.item-card .item-info { flex: 1; min-width: 0; }
.item-card .item-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.item-card .item-desc { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.item-card .item-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; align-items: center; }

/* ---- TAGS & BADGES ---- */
.badge {
  display: inline-flex; align-items: center;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px; font-weight: 600;
}
.badge-category { background: var(--primary-bg); color: var(--primary); }
.badge-condition-excellent { background: #d1fae5; color: #065f46; }
.badge-condition-good { background: #dbeafe; color: #1e40af; }
.badge-condition-fair { background: #fef3c7; color: #92400e; }
.badge-condition-poor { background: #fee2e2; color: #991b1b; }
.badge-tag { background: var(--bg-soft); color: var(--text-muted); border: 1px solid var(--border); }

/* ---- ZONE PILLS ---- */
.zone-pills {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 4px 0;
}
.zone-pill {
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; border: 1.5px solid transparent;
  transition: all .15s;
  white-space: nowrap;
  background: white;
  border-color: var(--border);
  color: var(--text-muted);
}
.zone-pill:hover { border-color: var(--primary-light); color: var(--primary); }
.zone-pill.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  cursor: pointer; border: none;
  transition: all .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover:not(:disabled) { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: var(--bg-soft); color: var(--text); border: 1.5px solid var(--border); }
.btn-secondary:hover:not(:disabled) { background: var(--border-light); }
.btn-danger { background: #fee2e2; color: #dc2626; }
.btn-danger:hover:not(:disabled) { background: #dc2626; color: white; }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover:not(:disabled) { background: var(--bg-soft); color: var(--text); }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius); }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 10px; font-size: 18px; }
.btn-full { width: 100%; }

/* FAB */
.fab {
  position: fixed;
  bottom: calc(var(--nav-bottom) + 16px);
  right: 16px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  border: none; cursor: pointer;
  z-index: 90;
  transition: all .2s ease;
}
.fab:hover { background: var(--primary-dark); transform: scale(1.08); }
.fab:active { transform: scale(0.96); }

/* ---- FORMS ---- */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label {
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .5px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: white;
  outline: none;
  transition: all .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-bg);
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-help { font-size: 12px; color: var(--text-light); }
.form-error { font-size: 12px; color: var(--accent-coral); }

/* Color picker */
.color-swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.color-swatch {
  width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; border: 3px solid transparent;
  transition: all .15s; flex-shrink: 0;
}
.color-swatch.selected { border-color: var(--text); transform: scale(1.15); }

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, .5);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex; align-items: flex-end;
  animation: fadeIn .2s ease;
}
.modal-overlay.center { align-items: center; }
@keyframes fadeIn { from { opacity: 0; } }

.modal {
  background: white;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  width: 100%; max-width: 600px; margin: 0 auto;
  max-height: 92vh;
  overflow-y: auto;
  animation: slideUp .25s ease;
  -webkit-overflow-scrolling: touch;
}
.modal-overlay.center .modal {
  border-radius: var(--radius-xl);
  margin: 16px;
  max-height: 85vh;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } }

.modal-handle {
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 4px;
  margin: 12px auto 0;
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  position: sticky; top: 0; background: white;
  border-bottom: 1px solid var(--border-light);
  z-index: 1;
}
.modal-header h2 { font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.modal-body { padding: 20px; }
.modal-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-light);
  display: flex; gap: 10px; justify-content: flex-end;
  position: sticky; bottom: 0; background: white;
}

/* ---- SEARCH RESULTS ---- */
.search-results-page { padding-top: calc(var(--nav-height) + 16px); }
.search-section-title {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--text-muted);
  margin: 16px 16px 8px;
}
.search-empty {
  text-align: center; padding: 60px 20px;
  color: var(--text-muted);
}
.search-empty .search-empty-icon { font-size: 48px; margin-bottom: 12px; }

/* ---- PAGE HEADER ---- */
.page-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.page-header .back-btn {
  width: 38px; height: 38px;
  border-radius: 10px; background: white;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
  flex-shrink: 0;
  transition: all .15s;
}
.page-header .back-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-header h1 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---- DASHBOARD STATS ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.stat-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  padding: 14px;
  text-align: center;
}
.stat-card .stat-num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800;
  color: var(--primary);
}
.stat-card .stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ---- PHOTO GRID ---- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.photo-grid-item {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
  cursor: pointer;
}
.photo-grid-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid-item .photo-delete {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px;
  background: rgba(0,0,0,.6); color: white;
  border-radius: 50%; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transition: opacity .15s;
}
.photo-grid-item:hover .photo-delete { opacity: 1; }
.photo-add {
  aspect-ratio: 1;
  border-radius: 8px;
  border: 2px dashed var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; cursor: pointer; color: var(--text-muted);
  font-size: 12px; transition: all .15s;
}
.photo-add:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-bg); }

/* ---- QR CODE DISPLAY ---- */
.qr-display {
  text-align: center; padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.qr-display img { width: 160px; height: 160px; border-radius: 8px; }
.qr-code-text {
  font-family: monospace;
  font-size: 18px; font-weight: 700;
  letter-spacing: 3px;
  color: var(--text);
  margin-top: 8px;
}

/* ---- AUTH SCREENS ---- */
.auth-shell {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 50%, #fef3f2 100%);
  padding: 20px;
}
.auth-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 36px 32px;
  width: 100%; max-width: 420px;
}
.auth-logo {
  text-align: center; margin-bottom: 28px;
}
.auth-logo .logo-icon { font-size: 52px; }
.auth-logo h1 {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 800;
  color: var(--primary); margin-top: 8px;
}
.auth-logo p { color: var(--text-muted); font-size: 15px; margin-top: 4px; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.auth-switch a { color: var(--primary); font-weight: 600; cursor: pointer; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

/* ---- SETTINGS ---- */
.settings-section { margin-bottom: 24px; }
.settings-section-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-muted);
  margin-bottom: 8px;
}
.settings-list { background: white; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-light); }
.settings-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  cursor: pointer; border: none; background: none; width: 100%;
  text-align: left; font-family: var(--font-body);
  border-bottom: 1px solid var(--border-light);
  transition: background .1s;
}
.settings-item:last-child { border-bottom: none; }
.settings-item:hover { background: var(--bg-soft); }
.settings-item .settings-icon { font-size: 20px; width: 36px; text-align: center; }
.settings-item .settings-text { flex: 1; }
.settings-item .settings-label { font-size: 15px; font-weight: 500; color: var(--text); }
.settings-item .settings-sublabel { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.settings-item .settings-arrow { color: var(--text-light); }
.settings-item.danger .settings-label { color: var(--accent-coral); }

/* ---- EMPTY STATES ---- */
.empty-state {
  text-align: center; padding: 48px 24px;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 56px; margin-bottom: 16px; }
.empty-state h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.empty-state p { font-size: 14px; line-height: 1.6; }
.empty-state .empty-actions { margin-top: 20px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---- LOADING ---- */
.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .6s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-center { display: flex; align-items: center; justify-content: center; padding: 40px; }

/* ---- TOASTS ---- */
#toast-container {
  position: fixed; bottom: calc(var(--nav-bottom) + 16px); left: 50%;
  transform: translateX(-50%);
  z-index: 500; display: flex; flex-direction: column;
  gap: 8px; align-items: center; pointer-events: none;
  width: 100%; max-width: 360px; padding: 0 16px;
}
.toast {
  background: #0f172a; color: white;
  padding: 12px 16px; border-radius: 12px;
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toastIn .25s ease;
  max-width: 100%; text-align: center;
}
.toast.success { background: #065f46; }
.toast.error { background: #991b1b; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }

/* ---- UPLOAD ZONE ---- */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--primary);
  background: var(--primary-bg);
  color: var(--primary);
}
.upload-zone .upload-icon { font-size: 40px; margin-bottom: 12px; }
.upload-zone p { font-size: 14px; font-weight: 500; }
.upload-zone small { color: var(--text-muted); font-size: 12px; }

/* ---- MEMBER CHIPS ---- */
.member-list { display: flex; flex-direction: column; gap: 8px; }
.member-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; background: white;
  border-radius: var(--radius-sm); border: 1px solid var(--border-light);
}
.member-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  flex-shrink: 0;
}
.member-info { flex: 1; }
.member-name { font-weight: 600; font-size: 14px; }
.member-email { font-size: 12px; color: var(--text-muted); }
.role-badge {
  font-size: 11px; font-weight: 700; padding: 3px 8px;
  border-radius: 20px; text-transform: uppercase;
}
.role-badge.owner { background: #fef3c7; color: #92400e; }
.role-badge.admin { background: var(--primary-bg); color: var(--primary); }
.role-badge.member { background: #d1fae5; color: #065f46; }
.role-badge.viewer { background: var(--bg-soft); color: var(--text-muted); }

/* ---- UTILITY ---- */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 13px; }
.font-bold { font-family: var(--font-display); font-weight: 700; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* ---- RESPONSIVE ---- */
@media (min-width: 640px) {
  .box-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .bottom-nav { display: none; }
  .fab { bottom: 24px; right: 24px; }
  .page-content { padding-bottom: 24px; padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 639px) {
  .auth-card { padding: 28px 20px; }
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-card .stat-num { font-size: 22px; }
}

/* Print styles */
@media print {
  .top-nav, .bottom-nav, .fab, #toast-container { display: none !important; }
  .page-content { padding: 0; }
}
