/* ============================================================
   DRAGONS GIRLS - Feuille de style principale
   Couleurs : Violet #7C3AED · Or #F59E0B · Blanc · Noir
   ============================================================ */

:root {
  --primary:       #7C3AED;
  --primary-dark:  #5B21B6;
  --primary-light: #EDE9FE;
  --gold:          #F59E0B;
  --gold-light:    #FEF3C7;
  --danger:        #EF4444;
  --success:       #10B981;
  --warning:       #F59E0B;
  --info:          #3B82F6;
  --dark:          #1E1B4B;
  --gray-50:       #F9FAFB;
  --gray-100:      #F3F4F6;
  --gray-200:      #E5E7EB;
  --gray-400:      #9CA3AF;
  --gray-600:      #4B5563;
  --gray-800:      #1F2937;
  --white:         #FFFFFF;
  --shadow-sm:     0 1px 2px rgba(0,0,0,.08);
  --shadow:        0 4px 12px rgba(0,0,0,.10);
  --shadow-lg:     0 10px 30px rgba(0,0,0,.15);
  --radius:        12px;
  --radius-sm:     8px;
  --transition:    .2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }

/* ---- NAVIGATION ---- */
.navbar {
  background: var(--dark);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--white) !important;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.3px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.brand-sub {
  display: block;
  font-size: .7rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}

.navbar-nav a {
  color: rgba(255,255,255,.8);
  padding: .5rem .9rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  transition: all var(--transition);
}

.navbar-nav a:hover, .navbar-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.nav-btn {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: .5rem 1.1rem !important;
  border-radius: 8px !important;
}

.nav-btn:hover { background: var(--primary-dark) !important; }

.nav-user {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  cursor: pointer;
  padding: .4rem .8rem;
  border-radius: 8px;
  transition: background var(--transition);
}

.nav-user:hover { background: rgba(255,255,255,.1); }

.nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .75rem;
  font-weight: 700;
}

.nav-unread {
  background: var(--danger);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: .65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: .4rem;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  color: white;
  padding: 6rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; max-width: 700px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  padding: .35rem .9rem;
  border-radius: 99px;
  font-size: .8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-gold { color: var(--gold); }

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover { background: var(--primary-dark); color: white; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(124,58,237,.4); }

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover { background: #D97706; color: var(--dark); }

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.4);
  color: white;
}
.btn-outline:hover { background: rgba(255,255,255,.1); color: white; }

.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline-primary:hover { background: var(--primary); color: white; }

.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #DC2626; }

.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: #059669; }

.btn-sm { padding: .4rem .9rem; font-size: .8rem; }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---- LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.section { padding: 4rem 0; }
.section-sm { padding: 2rem 0; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: .5rem; }
.section-header p { color: var(--gray-600); font-size: 1.05rem; }
.section-line {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px; margin: .75rem auto 0;
}

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.card-body { padding: 1.5rem; }
.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

/* ---- ÉQUIPE CARDS ---- */
.equipe-card {
  position: relative;
  overflow: hidden;
}

.equipe-card-top {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}

.equipe-card-top::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 40px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.equipe-info { padding: 1rem 1.5rem 1.5rem; }
.equipe-name { font-size: 1.2rem; font-weight: 800; margin-bottom: .25rem; }
.equipe-cat {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: .75rem;
}
.equipe-ages { color: var(--gray-600); font-size: .9rem; }

/* ---- COACH CARDS ---- */
.coach-card { text-align: center; padding: 2rem 1.5rem; }

.coach-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

.coach-avatar-initials {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 1rem;
}

.coach-name { font-size: 1.1rem; font-weight: 700; }
.coach-role { color: var(--primary); font-size: .85rem; font-weight: 600; }
.coach-bio { color: var(--gray-600); font-size: .875rem; margin-top: .5rem; }

/* ---- ACTUALITÉS ---- */
.actu-card { display: flex; flex-direction: column; }
.actu-img { height: 180px; object-fit: cover; width: 100%; background: var(--primary-light); }
.actu-img-placeholder {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-light), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.actu-body { padding: 1.25rem; flex: 1; }
.actu-date { font-size: .8rem; color: var(--gray-400); margin-bottom: .5rem; }
.actu-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.actu-excerpt { font-size: .875rem; color: var(--gray-600); }
.actu-pin { color: var(--gold); font-size: .8rem; font-weight: 600; }

/* ---- PRÉSENCES ---- */
.presence-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.presence-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.presence-info h4 { font-weight: 700; margin-bottom: .2rem; }
.presence-info span { font-size: .875rem; color: var(--gray-600); }

.presence-btns { display: flex; gap: .5rem; flex-wrap: wrap; }

.presence-btn {
  padding: .5rem 1rem;
  border-radius: 8px;
  border: 2px solid transparent;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: .3rem;
}

.presence-btn.present { border-color: var(--success); color: var(--success); }
.presence-btn.present.active, .presence-btn.present:hover { background: var(--success); color: white; }

.presence-btn.absent { border-color: var(--danger); color: var(--danger); }
.presence-btn.absent.active, .presence-btn.absent:hover { background: var(--danger); color: white; }

.presence-btn.excuse { border-color: var(--warning); color: var(--warning); }
.presence-btn.excuse.active, .presence-btn.excuse:hover { background: var(--warning); color: white; }

/* ---- STATS PRÉSENCE ---- */
.stats-presence {
  display: flex;
  gap: 1rem;
  margin-top: .75rem;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .7rem;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 600;
}

.stat-pill.present { background: #D1FAE5; color: #065F46; }
.stat-pill.absent { background: #FEE2E2; color: #991B1B; }
.stat-pill.excuse { background: #FEF3C7; color: #92400E; }

/* ---- MESSAGERIE ---- */
.msg-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  min-height: 600px;
}

.msg-sidebar {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.msg-list { list-style: none; }

.msg-list-item {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background var(--transition);
}

.msg-list-item:hover, .msg-list-item.active { background: var(--primary-light); }
.msg-list-item.unread { font-weight: 700; }

.msg-sender { font-size: .875rem; font-weight: 600; }
.msg-subject { font-size: .8rem; color: var(--gray-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-date { font-size: .7rem; color: var(--gray-400); }

.msg-main {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

.msg-content { padding: 1.5rem; flex: 1; }

/* ---- DASHBOARD ---- */
.dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.sidebar {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  position: sticky;
  top: 84px;
}

.sidebar-user {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.sidebar-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto .75rem;
  border: 2px solid rgba(255,255,255,.3);
}

.sidebar-name { font-weight: 700; }
.sidebar-role { font-size: .8rem; opacity: .8; }

.sidebar-nav { padding: .75rem; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .9rem;
  border-radius: 8px;
  color: var(--gray-600);
  font-size: .9rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}
.sidebar-nav a:hover { background: var(--primary-light); color: var(--primary); }
.sidebar-nav a.active { background: var(--primary-light); color: var(--primary); font-weight: 700; }
.sidebar-nav .nav-icon { font-size: 1.1rem; width: 22px; }

.sidebar-sep { height: 1px; background: var(--gray-100); margin: .5rem 0; }

/* ---- STAT CARDS ---- */
.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-icon.purple { background: var(--primary-light); }
.stat-icon.gold { background: var(--gold-light); }
.stat-icon.green { background: #D1FAE5; }
.stat-icon.red { background: #FEE2E2; }

.stat-value { font-size: 1.8rem; font-weight: 900; color: var(--dark); line-height: 1; }
.stat-label { font-size: .8rem; color: var(--gray-600); margin-top: .15rem; }

/* ---- TABLES ---- */
.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

th {
  background: var(--gray-50);
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
}

td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}

tr:hover td { background: var(--gray-50); }

/* ---- FORMS ---- */
.form-group { margin-bottom: 1.25rem; }

label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: .4rem;
}

input, select, textarea {
  width: 100%;
  padding: .65rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: inherit;
  color: var(--gray-800);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}

textarea { resize: vertical; min-height: 100px; }

.form-hint { font-size: .8rem; color: var(--gray-400); margin-top: .3rem; }
.form-error { font-size: .8rem; color: var(--danger); margin-top: .3rem; }

.form-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---- BADGES ---- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .6rem;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 700;
}

/* ---- ALERTS / FLASH ---- */
.flash {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.flash-icon { font-size: 1.1rem; font-weight: 900; }
.flash-success { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.flash-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }
.flash-warning { background: #FEF3C7; color: #92400E; border: 1px solid #FCD34D; }
.flash-info    { background: #DBEAFE; color: #1E40AF; border: 1px solid #93C5FD; }

/* ---- ÉVÉNEMENTS ---- */
.event-card { display: flex; gap: 1.25rem; align-items: flex-start; }

.event-date-block {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 10px;
  padding: .75rem 1rem;
  text-align: center;
  min-width: 60px;
  flex-shrink: 0;
}

.event-day { font-size: 1.6rem; font-weight: 900; line-height: 1; }
.event-month { font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; }

.event-details h4 { font-weight: 700; margin-bottom: .25rem; }
.event-details p { font-size: .875rem; color: var(--gray-600); }

/* ---- CALENDRIER MINI ---- */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
  font-size: .8rem;
}

.cal-head { font-weight: 700; color: var(--gray-400); padding: .5rem 0; }
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: default;
}

.cal-day.today { background: var(--primary); color: white; font-weight: 700; }
.cal-day.has-event { background: var(--primary-light); color: var(--primary); font-weight: 600; cursor: pointer; }

/* ---- FOOTER ---- */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand { font-size: 1.1rem; font-weight: 800; color: white; margin-bottom: .5rem; }
.footer-col h4 { color: white; font-size: .9rem; font-weight: 700; margin-bottom: .75rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul a { color: rgba(255,255,255,.6); font-size: .875rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
}

/* ---- PAGE HEADER ---- */
.page-header {
  background: linear-gradient(135deg, var(--dark), var(--primary-dark));
  color: white;
  padding: 2.5rem 1.5rem;
  margin-bottom: 2rem;
}

.page-header-inner { max-width: 1200px; margin: 0 auto; }
.page-header h1 { font-size: 1.8rem; font-weight: 800; }
.page-header p { opacity: .8; font-size: .95rem; margin-top: .25rem; }
.breadcrumb { display: flex; gap: .5rem; font-size: .8rem; opacity: .7; margin-bottom: .5rem; }
.breadcrumb a { color: rgba(255,255,255,.8); }

/* ---- EMPTY STATE ---- */
.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--gray-400);
}

.empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.1rem; color: var(--gray-600); margin-bottom: .5rem; }

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.modal {
  background: white;
  border-radius: var(--radius);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title { font-weight: 800; font-size: 1.1rem; }
.modal-close { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--gray-400); }
.modal-body { padding: 1.5rem; }
.modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--gray-200); display: flex; gap: .75rem; justify-content: flex-end; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .navbar-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--dark); flex-direction: column; padding: 1rem; gap: .25rem; }
  .navbar-nav.open { display: flex; }
  .hamburger { display: block; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .msg-layout { grid-template-columns: 1fr; }
  .hero { padding: 4rem 1.5rem; }
  table { font-size: .8rem; }
  td, th { padding: .6rem .75rem; }
}
