/* ============================================================
 * TutorOn — Design System
 * Light blue #38bdf8/#0ea5e9 · White · mobile-first
 * System font stack (fast, zero external deps)
 * ============================================================ */

:root {
  --blue: #38bdf8;
  --blue-dark: #0ea5e9;
  --blue-deep: #0284c7;
  --blue-ink: #0c4a6e;
  --blue-tint: #f0f9ff;
  --blue-tint-2: #e0f2fe;
  --bg: #f0f9ff;
  --card: #ffffff;
  --ink: #0c4a6e;
  --muted: #5b7a94;
  --border: #dbeafe;
  --ok: #16a34a;
  --warn: #d97706;
  --info: #0284c7;
  --danger: #e11d48;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(2, 132, 199, 0.08);
  --shadow-lg: 0 12px 32px rgba(2, 132, 199, 0.16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6rem; color: var(--blue-ink); }
p { margin: 0 0 0.9rem; }
a { color: var(--blue-deep); }
img { max-width: 100%; height: auto; }

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.5);
  outline-offset: 2px;
  border-radius: 6px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Animation utilities ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
.anim-fade-up { animation: fadeUp 0.7s ease both; }
.anim-fade-up-1 { animation: fadeUp 0.7s ease 0.1s both; }
.anim-fade-up-2 { animation: fadeUp 0.7s ease 0.2s both; }
.anim-fade-up-3 { animation: fadeUp 0.7s ease 0.3s both; }
.anim-float { animation: float 6s ease-in-out infinite; }
.anim-pulse-soft { animation: pulse-soft 2.4s ease-in-out infinite; }
.shimmer {
  background: linear-gradient(110deg, var(--blue-tint-2) 40%, #ffffff 50%, var(--blue-tint-2) 60%);
  background-size: 200% 100%;
  animation: shimmer 2.2s linear infinite;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.container.narrow { max-width: 560px; }
.section { padding-top: 2.25rem; padding-bottom: 2.25rem; }
.section-title { font-size: 1.5rem; animation: fadeUp 0.6s ease both; }
.band { background: var(--blue-tint-2); }
.split-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.split-head .section-title { margin: 0; }

.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .section-title { font-size: 1.75rem; }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-pad { padding: 1.25rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; min-width: 44px;
  padding: 0.65rem 1.25rem;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  border: 2px solid transparent; border-radius: 12px;
  cursor: pointer; text-decoration: none; text-align: center; white-space: nowrap;
  transition: background 0.2s ease, box-shadow 0.25s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-deep));
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(14, 165, 233, 0.45);
}
.btn-accent {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-deep));
  color: #fff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
.btn-accent:hover {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-ink));
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
}
.btn-ghost { background: #fff; color: var(--blue-deep); border-color: var(--blue-dark); }
.btn-ghost:hover { background: var(--blue-tint); border-color: var(--blue-deep); transform: translateY(-1px); }
.btn-ghost-light { color: #fff; border-color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-1px); }
.btn-danger { background: var(--danger); color: #fff; box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3); }
.btn-danger:hover { background: #be123c; transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 0.4rem 0.85rem; font-size: 0.875rem; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 1rem; }
.label { display: block; font-weight: 600; margin-bottom: 0.375rem; }
.input, .select, .textarea {
  display: block; width: 100%; min-height: 44px;
  padding: 0.65rem 0.8rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--border); border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.textarea { min-height: 110px; resize: vertical; }
.select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230284c7' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.8rem center;
  padding-right: 2.2rem;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--blue-dark);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}
.input-error { border-color: var(--danger); }
.input-error:focus { box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15); }
.error-text { color: var(--danger); font-size: 0.875rem; margin: 0.375rem 0 0; }
.form-hint { color: var(--muted); font-size: 0.875rem; margin: 0.375rem 0 0; }
.checkbox-row { display: flex; align-items: center; gap: 0.6rem; min-height: 44px; }
.checkbox-row input[type="checkbox"] { width: 1.25rem; height: 1.25rem; accent-color: var(--blue-dark); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(2, 132, 199, 0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px;
}
.logo { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--blue-ink); }
.logo-mark { font-size: 1.6rem; }
.logo-text { font-size: 1.15rem; font-weight: 600; }
.logo-text strong {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mobile-menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  font-size: 1.4rem; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; cursor: pointer; color: var(--blue-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mobile-menu-btn:hover { border-color: var(--blue-dark); box-shadow: var(--shadow); }
.nav-links {
  display: none; list-style: none; margin: 0; padding: 0;
}
#mainNav.open .nav-links {
  display: flex; flex-direction: column; gap: 0.25rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem 1rem; box-shadow: var(--shadow-lg);
}
#mainNav.open { position: static; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.3rem;
  min-height: 44px; padding: 0.5rem 0.6rem;
  color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 0.6rem; right: 0.6rem; bottom: 0.3rem;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover { background: var(--blue-tint); color: var(--blue-deep); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--blue-deep); font-weight: 700; }
.nav-link.active::after { transform: scaleX(1); }
.nav-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.35rem; height: 1.35rem; padding: 0 0.35rem;
  background: var(--danger); color: #fff; font-size: 0.75rem; font-weight: 700;
  border-radius: 999px;
}
.nav-bell { font-size: 1.15rem; }
.nav-cta { display: flex; align-items: center; }
.user-menu { display: flex; align-items: center; gap: 0.6rem; min-height: 44px; }
.user-name { font-weight: 600; color: var(--blue-ink); }
@media (min-width: 900px) {
  .mobile-menu-btn { display: none; }
  .nav-links { display: flex; align-items: center; gap: 0.15rem; flex-wrap: wrap; }
}

/* ---------- Footer ---------- */
.site-footer { background: #fff; color: var(--muted); margin-top: 2rem; border-top: 1px solid var(--border); }
.footer-inner { padding: 2rem 1rem; text-align: center; }
.footer-links {
  list-style: none; margin: 0 0 1rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; justify-content: center;
}
.footer-links a {
  color: var(--blue-deep); text-decoration: none; display: inline-block; min-height: 44px;
  padding: 0.6rem 0.25rem;
}
.footer-links a:hover { color: var(--blue-dark); text-decoration: underline; }
.footer-copy { margin: 0; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--blue-tint) 0%, var(--blue-tint-2) 55%, #bae6fd 100%);
  color: var(--blue-ink); padding: 3rem 0;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.65; pointer-events: none;
  animation: float 12s ease-in-out infinite;
}
.hero::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #7dd3fc, transparent 70%);
  top: -120px; right: -80px;
}
.hero::after {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #bae6fd, transparent 70%);
  bottom: -100px; left: -60px;
  animation-delay: -6s;
}
.hero h1 { color: var(--blue-ink); font-size: 1.9rem; margin-bottom: 0.75rem; animation: fadeUp 0.7s ease both; }
.hero-sub { color: #3d6b8c; font-size: 1.1rem; max-width: 640px; animation: fadeUp 0.7s ease 0.1s both; }
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.25rem; animation: fadeUp 0.7s ease 0.2s both; }
.searchbar {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 0.6rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem;
  margin-top: 1.5rem; box-shadow: var(--shadow-lg);
  animation: fadeUp 0.7s ease 0.3s both;
}
.searchbar .btn { min-height: 48px; }
@media (min-width: 768px) {
  .hero { padding: 4rem 0; }
  .hero h1 { font-size: 2.6rem; }
  .searchbar { flex-direction: row; align-items: stretch; }
  .searchbar .select { flex: 0 0 220px; }
  .searchbar .input { flex: 1; }
}

/* ---------- Subject grid ---------- */
.subject-grid {
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .subject-grid { grid-template-columns: repeat(4, 1fr); } }
.subject-tile {
  display: flex; flex-direction: column; gap: 0.2rem;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem; text-decoration: none; box-shadow: var(--shadow);
  min-height: 44px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
  animation: fadeUp 0.6s ease both;
}
.subject-tile:nth-child(2) { animation-delay: 0.06s; }
.subject-tile:nth-child(3) { animation-delay: 0.12s; }
.subject-tile:nth-child(4) { animation-delay: 0.18s; }
.subject-tile:nth-child(5) { animation-delay: 0.24s; }
.subject-tile:nth-child(6) { animation-delay: 0.3s; }
.subject-tile:nth-child(7) { animation-delay: 0.36s; }
.subject-tile:nth-child(8) { animation-delay: 0.42s; }
.subject-tile:hover { border-color: var(--blue-dark); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.subject-tile-name { font-weight: 700; color: var(--blue-ink); }

/* ---------- Steps / stats / cards ---------- */
.steps .step { text-align: left; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff; font-weight: 800; font-size: 1.2rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}
.stats-band {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  background: linear-gradient(135deg, var(--blue-tint-2), #bae6fd);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 1rem;
  color: var(--blue-ink); text-align: center; box-shadow: var(--shadow-lg);
  animation: fadeUp 0.7s ease both;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 1.9rem; font-weight: 800; color: var(--blue-deep); }
.stat-label { color: #3d6b8c; font-size: 0.9rem; }

.tutor-card, .job-card {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1.25rem; text-decoration: none; color: inherit;
  animation: fadeUp 0.6s ease both;
}
.tutor-card:nth-child(2), .job-card:nth-child(2) { animation-delay: 0.08s; }
.tutor-card:nth-child(3), .job-card:nth-child(3) { animation-delay: 0.16s; }
.tutor-card:nth-child(4), .job-card:nth-child(4) { animation-delay: 0.24s; }
.tutor-card:nth-child(5), .job-card:nth-child(5) { animation-delay: 0.32s; }
.tutor-card:nth-child(6), .job-card:nth-child(6) { animation-delay: 0.4s; }
.tutor-card:hover, .job-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-dark); }
.tutor-card-top { display: flex; gap: 0.85rem; align-items: center; }
.tutor-card-id strong { color: var(--blue-ink); font-size: 1.05rem; }
.tutor-card-id p { margin: 0.15rem 0 0; }
.tutor-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.job-title { color: var(--blue-ink); font-size: 1.05rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.cta-band {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-deep));
  color: #fff; text-align: center;
  padding: 3rem 0; margin-top: 1rem;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; border-radius: 50%;
  width: 360px; height: 360px; top: -140px; left: -100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 70%);
  animation: float 10s ease-in-out infinite; pointer-events: none;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #e0f2fe; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Badges / chips / stars / avatar / price ---------- */
.badge {
  display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; line-height: 1.5; white-space: nowrap;
}
.badge.ok { background: #dcfce7; color: var(--ok); }
.badge.warn { background: #fef3c7; color: var(--warn); }
.badge.info { background: var(--blue-tint-2); color: var(--info); }
.badge.danger { background: #ffe4e6; color: var(--danger); }

.chip, .tag {
  display: inline-block; padding: 0.25rem 0.7rem; border-radius: 999px;
  background: var(--blue-tint-2); color: var(--blue-deep); font-size: 0.82rem; font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}
.chip:hover, .tag:hover { background: #bae6fd; }
.chip-green, .tag-green { background: #dcfce7; color: var(--ok); }

.stars { color: var(--blue-dark); font-size: 1.05rem; letter-spacing: 0.1em; }

.avatar {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff; font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}
.avatar.avatar-lg { width: 4.5rem; height: 4.5rem; font-size: 2rem; }

.price { font-weight: 800; color: var(--blue-deep); font-size: 1.05rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { padding: 0.75rem 0.9rem; text-align: left; border-bottom: 1px solid var(--border); }
.table th { background: var(--blue-tint); color: var(--blue-ink); font-weight: 700; white-space: nowrap; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--blue-tint); }

/* ---------- Alerts ---------- */
.alert {
  padding: 0.9rem 1.1rem; border-radius: 12px; margin-bottom: 1rem;
  border: 1px solid transparent; font-size: 0.95rem;
  animation: fadeUp 0.4s ease both;
}
.alert.ok { background: #dcfce7; border-color: #86efac; color: #14532d; }
.alert.err { background: #ffe4e6; border-color: #fda4af; color: #881337; }
.alert.info { background: var(--blue-tint-2); border-color: #7dd3fc; color: var(--blue-ink); }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(12, 74, 110, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.modal {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1.5rem; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto;
  animation: modalIn 0.22s ease-out;
}
@keyframes modalIn {
  from { transform: translateY(16px) scale(0.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.modal-actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.25rem; flex-wrap: wrap; }

/* ---------- Toasts ---------- */
#toastRoot {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 200;
  display: flex; flex-direction: column; gap: 0.5rem; align-items: stretch;
  pointer-events: none;
}
@media (min-width: 640px) {
  #toastRoot { left: auto; right: 1.25rem; width: 360px; }
}
.toast {
  background: var(--blue-ink); color: #fff;
  padding: 0.85rem 1.1rem; border-radius: 12px; box-shadow: var(--shadow-lg);
  font-size: 0.95rem; opacity: 0; transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.show { opacity: 1; transform: none; }
.toast.success { background: #14532d; }
.toast.error { background: #881337; }
.toast.info { background: var(--blue-deep); }

/* ---------- Empty state ---------- */
.empty {
  text-align: center; padding: 2.5rem 1.5rem;
  border: 2px dashed var(--border); border-radius: var(--radius);
  background: #f8fdff;
  animation: fadeUp 0.6s ease both;
}
.empty-icon { font-size: 2.5rem; margin-bottom: 0.5rem; animation: float 5s ease-in-out infinite; }
.empty h3 { color: var(--blue-ink); margin-bottom: 0.4rem; }
.empty p { color: var(--muted); max-width: 480px; margin: 0 auto 1rem; }
.empty-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Tabs ---------- */
.tabs {
  display: flex; gap: 0.25rem; overflow-x: auto;
  border-bottom: 2px solid var(--border); margin-bottom: 1.25rem;
}
.tab {
  background: none; border: none; cursor: pointer; font: inherit; font-weight: 600;
  color: var(--muted); padding: 0.75rem 1rem; min-height: 44px; white-space: nowrap;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tab:hover { color: var(--blue-deep); }
.tab.active { color: var(--blue-deep); border-bottom-color: var(--blue); }

/* ---------- Auth ---------- */
.auth-card { margin-top: 2rem; margin-bottom: 2rem; animation: fadeUp 0.6s ease both; }
.auth-switch { text-align: center; margin: 1.25rem 0 0; color: var(--muted); }
