/* ============================================================
   NPA ADMIN – Panneau d'administration
   Charte CERDOTOLA : Ébène / Terracotta / Or
   ============================================================ */

:root {
  --ebony:       #0B0400;
  --brown-deep:  #1E0900;
  --brown-mid:   #3D1400;
  --terracotta:  #7A2E0A;
  --rust:        #A84215;
  --gold:        #C48C10;
  --gold-light:  #E8B84B;
  --gold-pale:   #F5D98A;
  --cream:       #F2DFC0;
  --cream-light: #FBF4E8;

  --sidebar-w:   260px;
  --topbar-h:    60px;
  --radius:      8px;
  --shadow:      0 2px 12px rgba(11,4,0,.18);
  --shadow-lg:   0 4px 24px rgba(11,4,0,.28);

  /* Semantics */
  --bg:          #F7F2EA;
  --surface:     #FFFFFF;
  --border:      #E2D5C0;
  --text:        #1E0900;
  --muted:       #6B5744;
  --success:     #2A7A4B;
  --danger:      #C0392B;
  --warning:     #C48C10;
  --info:        #2471A3;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; }
body.admin-body {
  font-family: 'Josefin Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  min-height: 100vh;
}

a { color: var(--rust); text-decoration: none; }
a:hover { color: var(--gold); }

img { max-width: 100%; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--brown-deep); }
::-webkit-scrollbar-thumb { background: var(--terracotta); border-radius: 3px; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.admin-sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--ebony);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  z-index: 1000;
  transition: transform .3s ease;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Brand */
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  border-bottom: 1px solid rgba(196,140,16,.2);
}
.sidebar-brand img {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: contain;
  background: var(--brown-mid);
  padding: 2px;
}
.sb-abbr {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}
.sb-name {
  display: block;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .7;
  margin-top: 2px;
}

/* Nav */
.sidebar-nav {
  flex: 1;
  padding: 16px 0;
}
.nav-section-label {
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .6;
  padding: 14px 20px 6px;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--cream);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-left: 3px solid transparent;
  transition: all .2s;
}
.sidebar-nav a svg { opacity: .75; flex-shrink: 0; }
.sidebar-nav a:hover {
  background: rgba(196,140,16,.1);
  color: var(--gold-light);
  border-left-color: var(--gold);
}
.sidebar-nav a.active {
  background: rgba(168,66,21,.2);
  color: var(--gold-light);
  border-left-color: var(--rust);
}
.sidebar-nav a.active svg { opacity: 1; }

/* User */
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-top: 1px solid rgba(196,140,16,.2);
  background: rgba(0,0,0,.2);
}
.su-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--rust);
  color: var(--cream-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
  flex-shrink: 0;
}
.su-info { flex: 1; overflow: hidden; }
.su-info strong {
  display: block;
  font-size: .82rem;
  color: var(--cream);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.su-info span {
  font-size: .7rem; color: var(--gold); opacity: .8;
  text-transform: capitalize;
}
.su-logout {
  color: var(--cream); opacity: .5;
  transition: opacity .2s;
  flex-shrink: 0;
}
.su-logout:hover { opacity: 1; color: var(--gold-light); }

/* ============================================================
   MAIN AREA
   ============================================================ */
.admin-main {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
}

/* Topbar */
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--topbar-h);
  background: var(--surface);
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px 0 20px;
  box-shadow: 0 2px 8px rgba(11,4,0,.1);
}
.sidebar-toggle {
  background: none; border: none;
  cursor: pointer; color: var(--terracotta);
  display: none;
  padding: 4px;
  border-radius: 4px;
}
.sidebar-toggle:hover { background: var(--cream); }
.topbar-title {
  flex: 1;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--brown-deep);
  font-weight: 700;
}
.topbar-actions { display: flex; gap: 8px; }
.btn-topbar {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: var(--terracotta);
  color: var(--cream-light) !important;
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  transition: background .2s;
}
.btn-topbar:hover { background: var(--rust); }

/* Content */
.admin-content { padding: 28px; flex: 1; }

/* ============================================================
   CARDS / PANELS
   ============================================================ */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-header {
  padding: 18px 22px 14px;
  border-bottom: 2px solid var(--cream);
  display: flex; align-items: center; gap: 12px;
}
.card-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--brown-deep);
  flex: 1;
}
.card-body { padding: 22px; }

/* ============================================================
   DASHBOARD STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.stat-card.accent-rust  { border-left-color: var(--rust); }
.stat-card.accent-terra { border-left-color: var(--terracotta); }
.stat-card.accent-gold  { border-left-color: var(--gold); }
.stat-card.accent-brown { border-left-color: var(--brown-mid); }
.stat-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); flex-shrink: 0;
}
.stat-card.accent-rust  .stat-icon { background: #FDE8E2; color: var(--rust); }
.stat-card.accent-terra .stat-icon { background: #F5E6D8; color: var(--terracotta); }
.stat-card.accent-gold  .stat-icon { background: #FDF6DC; color: var(--gold); }
.stat-card.accent-brown .stat-icon { background: #EDE4D8; color: var(--brown-mid); }
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--brown-deep);
}
.stat-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-top: 3px;
}

/* Quick actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 4px;
}
.qa-btn {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  padding: 18px 12px;
  background: var(--cream-light);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--terracotta);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: all .2s; cursor: pointer; text-decoration: none;
}
.qa-btn svg { width: 24px; height: 24px; }
.qa-btn:hover {
  background: var(--terracotta);
  color: var(--cream-light) !important;
  border-color: var(--terracotta);
  transform: translateY(-2px);
}

/* ============================================================
   TABLES
   ============================================================ */
.table-wrap { overflow-x: auto; }
table.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}
.admin-table thead tr {
  background: var(--ebony);
  color: var(--gold-light);
}
.admin-table thead th {
  padding: 12px 16px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-size: .72rem;
  white-space: nowrap;
}
.admin-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.admin-table tbody tr:hover { background: #FBF4E8; }
.admin-table td {
  padding: 11px 16px;
  vertical-align: middle;
  color: var(--text);
}
.admin-table td .img-thumb {
  width: 50px; height: 38px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge-pub    { background: #D5F0E0; color: #1B6B3A; }
.badge-draft  { background: #F5E6D8; color: var(--terracotta); }
.badge-admin  { background: var(--ebony); color: var(--gold-light); }
.badge-editor { background: #E8D8F0; color: #5B2D7A; }
.badge-author { background: #DCF0F5; color: #1A607A; }
.badge-info   { background: #D6EAF8; color: var(--info); }

/* Table actions */
.tbl-actions { display: flex; gap: 6px; align-items: center; }
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 6px;
  border: none; cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-edit   { background: #FDF6DC; color: var(--gold); }
.btn-edit:hover   { background: var(--gold); color: #fff; }
.btn-delete { background: #FCE8E6; color: var(--danger); }
.btn-delete:hover { background: var(--danger); color: #fff; }
.btn-view   { background: #EBF5FB; color: var(--info); }
.btn-view:hover   { background: var(--info); color: #fff; }

/* ============================================================
   TOOLBAR (search + filter bar)
   ============================================================ */
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.toolbar .search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 12px;
  flex: 1; min-width: 200px;
}
.toolbar .search-box svg { color: var(--muted); flex-shrink: 0; }
.toolbar .search-box input {
  border: none; outline: none;
  background: transparent;
  padding: 9px 0;
  font-size: .85rem;
  font-family: 'Josefin Sans', sans-serif;
  color: var(--text);
  width: 100%;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-grid {
  display: grid;
  gap: 18px;
}
.form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.form-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.span-2 { grid-column: span 2; }
.form-group.span-3 { grid-column: 1/-1; }

label.form-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
label.form-label span.req { color: var(--rust); margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="date"],
select,
textarea {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .88rem;
  color: var(--text);
  background: var(--cream-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 13px;
  width: 100%;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(168,66,21,.12);
  background: var(--surface);
}
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; cursor: pointer; }

.form-hint {
  font-size: .73rem; color: var(--muted);
  line-height: 1.4;
}

/* Toggle / checkbox */
.toggle-wrap {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
}
.toggle-wrap input[type="checkbox"] {
  width: 40px; height: 22px;
  appearance: none;
  background: var(--border);
  border-radius: 11px;
  position: relative; cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.toggle-wrap input[type="checkbox"]:checked {
  background: var(--rust);
}
.toggle-wrap input[type="checkbox"]::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  top: 3px; left: 3px;
  transition: transform .2s;
}
.toggle-wrap input[type="checkbox"]:checked::before {
  transform: translateX(18px);
}
.toggle-label { font-size: .85rem; font-weight: 600; }

/* File upload */
.file-drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  background: var(--cream-light);
}
.file-drop-zone:hover, .file-drop-zone.drag-over {
  border-color: var(--rust);
  background: #FDE8E2;
}
.file-drop-zone p { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.file-drop-zone strong { color: var(--rust); }
.file-drop-zone input[type="file"] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.preview-img {
  max-height: 120px;
  border-radius: 6px;
  border: 2px solid var(--border);
  margin-top: 10px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px;
  border-radius: var(--radius);
  border: none; cursor: pointer;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all .2s;
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--rust); color: var(--cream-light); }
.btn-primary:hover { background: var(--terracotta); color: var(--cream-light) !important; }
.btn-secondary { background: var(--border); color: var(--text); }
.btn-secondary:hover { background: var(--cream); }
.btn-gold { background: var(--gold); color: var(--ebony); }
.btn-gold:hover { background: var(--gold-light); color: var(--ebony) !important; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #9B2226; color: #fff !important; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--muted);
}
.btn-outline:hover { border-color: var(--rust); color: var(--rust) !important; }
.btn-sm { padding: 6px 14px; font-size: .75rem; }
.btn-lg { padding: 12px 28px; font-size: .9rem; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(11,4,0,.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface);
  border-radius: calc(var(--radius)*1.5);
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn .25s ease;
}
@keyframes modalIn {
  from { transform: translateY(-20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.modal-header {
  padding: 20px 24px 16px;
  border-bottom: 2px solid var(--cream);
  display: flex; align-items: center; gap: 12px;
}
.modal-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  flex: 1;
  color: var(--brown-deep);
}
.modal-close {
  background: none; border: none; cursor: pointer;
  color: var(--muted); padding: 4px;
  border-radius: 4px; line-height: 0;
  transition: color .2s;
}
.modal-close:hover { color: var(--danger); }
.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 10px;
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: .85rem;
  margin-bottom: 18px;
  border-left: 4px solid;
}
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: #ECF9F2; border-color: var(--success); color: #155A35; }
.alert-error   { background: #FDECEA; border-color: var(--danger); color: #7B1C1C; }
.alert-warning { background: #FDF6DC; border-color: var(--warning); color: #7A5500; }
.alert-info    { background: #EBF5FB; border-color: var(--info); color: #1A4E6E; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap; margin-top: 20px;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px;
  border-radius: var(--radius);
  font-size: .82rem; font-weight: 700;
  border: 1.5px solid var(--border);
  color: var(--muted);
  transition: all .2s;
  padding: 0 8px;
}
.pagination a:hover {
  border-color: var(--rust); color: var(--rust);
  background: #FDE8E2;
}
.pagination span.current {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--cream-light);
}

/* ============================================================
   MEDIA GRID
   ============================================================ */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}
.media-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--cream-light);
  cursor: pointer;
  transition: all .2s;
  position: relative;
}
.media-item:hover {
  border-color: var(--rust);
  transform: scale(1.02);
  box-shadow: var(--shadow);
}
.media-item img {
  width: 100%; height: 110px;
  object-fit: cover; display: block;
}
.media-item .media-icon {
  width: 100%; height: 110px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  color: var(--terracotta); font-size: 2rem;
}
.media-caption {
  padding: 7px 8px;
  font-size: .7rem; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.media-item .media-overlay {
  position: absolute; inset: 0;
  background: rgba(11,4,0,.65);
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  opacity: 0; transition: opacity .2s;
}
.media-item:hover .media-overlay { opacity: 1; }

/* ============================================================
   SETTINGS TABS
   ============================================================ */
.tab-bar {
  display: flex; gap: 2px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px; overflow-x: auto;
}
.tab-btn {
  padding: 10px 18px;
  border: none; background: none; cursor: pointer;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all .2s; white-space: nowrap;
}
.tab-btn.active {
  color: var(--rust);
  border-bottom-color: var(--rust);
}
.tab-btn:hover:not(.active) { color: var(--terracotta); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================================
   RICH TEXT EDITOR WRAPPER
   ============================================================ */
.editor-toolbar {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 6px 8px;
  display: flex; gap: 4px; flex-wrap: wrap;
}
.editor-toolbar button {
  width: 28px; height: 28px;
  border: none; background: none;
  cursor: pointer; border-radius: 4px;
  font-weight: 700; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  transition: background .15s;
}
.editor-toolbar button:hover { background: var(--border); }
.editor-toolbar button.active { background: var(--terracotta); color: #fff; }
.editor-toolbar .sep { width: 1px; background: var(--border); margin: 2px 4px; }
.editor-body {
  border: 1.5px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  min-height: 200px;
  padding: 14px;
  outline: none;
  font-family: 'Lora', serif;
  font-size: .9rem;
  line-height: 1.7;
  background: var(--cream-light);
}
.editor-body:focus { border-color: var(--rust); }

/* ============================================================
   TEAM CARD IN ADMIN
   ============================================================ */
.team-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.team-admin-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: all .2s;
}
.team-admin-card:hover { border-color: var(--rust); box-shadow: var(--shadow); }
.team-admin-card img {
  width: 72px; height: 72px;
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold);
  margin: 0 auto 10px;
  display: block;
}
.team-admin-card .tac-name {
  font-weight: 700; font-size: .88rem; color: var(--brown-deep);
}
.team-admin-card .tac-role {
  font-size: .72rem; color: var(--muted);
  letter-spacing: .05em; margin-top: 2px;
}
.team-admin-card .tac-actions {
  display: flex; justify-content: center; gap: 8px; margin-top: 12px;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center; padding: 48px 24px;
  color: var(--muted);
}
.empty-state svg {
  width: 48px; height: 48px; opacity: .3;
  margin-bottom: 14px;
}
.empty-state h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--brown-mid); margin-bottom: 8px;
}
.empty-state p { font-size: .85rem; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--rust); font-weight: 600; }
.breadcrumb span { opacity: .5; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .sidebar-toggle { display: flex; }
  .form-grid.cols-2, .form-grid.cols-3 { grid-template-columns: 1fr; }
  .form-group.span-2, .form-group.span-3 { grid-column: span 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .admin-content { padding: 16px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .modal { max-width: 100%; max-height: 100vh; border-radius: 0; }
  .admin-topbar { padding: 0 14px; }
  .toolbar { flex-direction: column; align-items: stretch; }
}
