/* ============================================================
   RACINE ParisTech — App styles
   Builds on the design-system tokens
   ============================================================ */

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 68px;
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { display: block; }
.nav-logo-text { font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); color: var(--teal-700); letter-spacing: 0.01em; white-space: nowrap; }
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-1);
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-body);
  text-decoration: none;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--teal-50);
  color: var(--teal-700);
}
.nav-links a.active {
  background: var(--teal-500);
  color: #fff;
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: all var(--dur-fast);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  margin-top: 68px;
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-600) 60%, var(--teal-400) 100%);
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: var(--space-10) var(--gutter);
  max-width: 100%;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../design-system/assets/illustrations/burst-quote.png') right bottom / 380px no-repeat;
  opacity: 0.08;
}
.hero-content {
  flex: 1;
  max-width: 580px;
  position: relative;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, var(--text-4xl));
  font-weight: 600;
  color: #fff;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin: var(--space-3) 0 var(--space-5);
}
.hero-sub {
  font-size: var(--text-md);
  color: var(--teal-100);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-7);
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.hero-visual {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.hero-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: block;
  object-fit: cover;
  max-height: 380px;
}
.hero-card-float {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-4) var(--space-5);
  display: flex;
  gap: var(--space-5);
}
.hero-stat { text-align: center; }
.hero-n { display: block; font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600; color: var(--teal-600); }
.hero-l { display: block; font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--text-muted); }

/* ── PAGE HERO (sub-pages) ─────────────────────────────────── */
.page-hero {
  margin-top: 68px;
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-600) 100%);
  padding: var(--space-9) var(--gutter);
}
.page-hero h1 { color: #fff; margin-bottom: var(--space-3); }
.page-hero-sub {
  color: var(--teal-100);
  font-size: var(--text-md);
  line-height: var(--lh-relaxed);
  max-width: 600px;
  margin: 0;
}
.page-hero-actions {
  margin-top: var(--space-5);
}

/* ── SECTIONS ─────────────────────────────────────────────── */
.section {
  padding: var(--space-10) var(--gutter);
}
.section-alt {
  background: var(--bg-page-alt);
}
.container {
  max-width: var(--container);
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}
.section-header h2 {
  margin-top: var(--space-2);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: center;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast), box-shadow var(--dur-fast);
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-500); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--teal-600); }
.btn-secondary { background: var(--surface); color: var(--teal-700); border-color: var(--teal-400); }
.btn-secondary:hover { background: var(--teal-50); }
.btn-ghost { background: transparent; color: var(--teal-700); }
.btn-ghost:hover { background: var(--teal-50); }
.btn-white { background: #fff; color: var(--teal-700); box-shadow: var(--shadow-md); }
.btn-white:hover { background: var(--teal-50); }
.btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.15); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #c0412f; }
.btn-sm { padding: 8px 16px; font-size: var(--text-sm); }
.btn-xs { padding: 5px 12px; font-size: var(--text-xs); }

/* ── THEMES GRID ─────────────────────────────────────────── */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.theme-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
  border: 1.5px solid var(--line);
}
.theme-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.theme-leaf { border-top: 4px solid var(--leaf); }
.theme-sand { border-top: 4px solid var(--sand); }
.theme-sky { border-top: 4px solid var(--sky); }
.theme-icon { font-size: 2.5rem; margin-bottom: var(--space-3); }
.theme-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.theme-card p { font-size: var(--text-sm); color: var(--text-body); margin-bottom: var(--space-4); line-height: var(--lh-relaxed); }
.theme-link { font-size: var(--text-sm); font-weight: 700; color: var(--teal-600); }

/* ── NEXT WORKSHOPS ───────────────────────────────────────── */
.next-workshops { display: flex; flex-direction: column; gap: var(--space-3); }
.next-ws-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  border: 1.5px solid var(--line);
  display: flex;
  gap: var(--space-4);
  align-items: center;
  cursor: pointer;
  transition: box-shadow var(--dur-fast);
}
.next-ws-item:hover { box-shadow: var(--shadow-sm); }
.next-ws-date {
  min-width: 52px;
  text-align: center;
  background: var(--teal-50);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
}
.next-ws-day { display: block; font-size: var(--text-xl); font-weight: 700; color: var(--teal-600); line-height: 1; }
.next-ws-month { display: block; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--text-muted); }
.next-ws-info h4 { font-size: var(--text-sm); margin: 0 0 4px; }
.next-ws-info p { font-size: var(--text-xs); color: var(--text-muted); margin: 0; }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.testimonial {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1.5px solid var(--line);
  position: relative;
}
.testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--teal-100);
  position: absolute;
  top: 0; left: var(--space-4);
  line-height: 1;
}
.testimonial-quote {
  font-style: italic;
  color: var(--text-body);
  line-height: var(--lh-relaxed);
  padding-top: var(--space-5);
  margin-bottom: var(--space-4);
}
.testimonial-author { font-size: var(--text-sm); font-weight: 700; color: var(--teal-600); }

/* ── SCHOOLS GRID ─────────────────────────────────────────── */
.schools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.school-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
  text-align: center;
}
.school-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.school-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  margin: 0 auto var(--space-4);
  color: #fff;
}
.school-logo-img { width: 64px; height: 64px; border-radius: 50%; object-fit: contain; background: #f5f5f5; margin: 0 auto var(--space-4); display: block; border: 1px solid var(--border); }
.school-card h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: var(--space-2); }
.school-card .school-role { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: var(--space-3); }
.school-card a { font-size: var(--text-xs); color: var(--teal-600); word-break: break-all; }

/* ── INTRO BLOCK (reseau) ─────────────────────────────────── */
.intro-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-9);
  align-items: start;
  margin-bottom: var(--space-8);
}
.intro-illus {
  width: 100%;
  border-radius: var(--radius-lg);
}
.body-lg { font-size: var(--text-md); line-height: var(--lh-relaxed); }

/* ── PHOTO GRID ───────────────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ── LINKEDIN NEWS ─────────────────────────────────────────── */
.linkedin-layout {
  max-width: 980px;
}
.linkedin-panel {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.linkedin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6);
  border-bottom: 1.5px solid var(--line-soft);
}
.linkedin-panel-header h2 {
  margin: var(--space-1) 0 0;
}
.linkedin-frame-wrap {
  background: #fff;
  display: flex;
  flex-direction: column;
}
.linkedin-frame {
  display: block;
  width: 100%;
  min-height: 760px;
  border: 0;
  background: #fff;
}
.linkedin-embed-empty {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
  text-align: center;
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.linkedin-note {
  margin: 0;
  padding: var(--space-4) var(--space-6);
  color: var(--text-muted);
  font-size: var(--text-sm);
  border-top: 1.5px solid var(--line-soft);
}

/* ── CATALOGUE TOOLBAR ────────────────────────────────────── */
.catalogue-toolbar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-7);
}
.filters { display: flex; gap: var(--space-2); flex-wrap: wrap; flex: 1; }
.filter-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast);
  color: var(--text-body);
}
.filter-btn:hover { border-color: var(--teal-300); color: var(--teal-700); }
.filter-btn.active { background: var(--teal-500); color: #fff; border-color: var(--teal-500); }
.search-wrap { flex-shrink: 0; }
.search-input {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  width: 240px;
  outline: none;
  transition: border-color var(--dur-fast);
}
.search-input:focus { border-color: var(--teal-400); box-shadow: var(--focus-ring); }

/* ── WORKSHOPS GRID ───────────────────────────────────────── */
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.ws-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
  display: flex;
  flex-direction: column;
}
.ws-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ws-card.hidden { display: none; }
.ws-card-top {
  padding: var(--space-5);
  flex: 1;
}
.ws-card-tags {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}
.tag-competences { background: var(--leaf-soft); color: var(--leaf-ink); }
.tag-enjeux { background: var(--sand-soft); color: var(--sand-ink); }
.tag-impliquer { background: var(--sky-soft); color: var(--sky-ink); }
.tag-presentiel { background: var(--coral-soft); color: var(--coral-ink); }
.tag-distanciel { background: var(--mauve-soft); color: var(--mauve-ink); }
.tag-new { background: var(--apricot-soft); color: var(--apricot-ink); }
.tag-en { background: var(--sky-soft); color: var(--sky-ink); }

.ws-card-code { font-size: var(--text-xs); font-weight: 800; letter-spacing: var(--ls-wider); color: var(--text-muted); margin-bottom: var(--space-2); }
.ws-card h3 { font-size: var(--text-base); font-weight: 700; line-height: var(--lh-snug); margin-bottom: var(--space-3); }
.ws-card-intro { font-size: var(--text-sm); color: var(--text-body); line-height: var(--lh-relaxed); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.ws-card-bottom {
  padding: var(--space-4) var(--space-5);
  border-top: 1.5px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.ws-card-date { font-size: var(--text-xs); color: var(--text-muted); font-weight: 600; }
.ws-card-register { padding: 6px 14px; font-size: var(--text-xs); font-weight: 700; border-radius: var(--radius-pill); background: var(--teal-500); color: #fff; border: none; cursor: pointer; transition: background var(--dur-fast); }
.ws-card-register:hover { background: var(--teal-600); }
.ws-card-register.registered { background: var(--success); }
.ws-card-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 700;
  white-space: nowrap;
}

/* ── WORKSHOP MODAL ───────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(22, 48, 46, 0.55);
  z-index: 200;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: block; }
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 201;
  background: var(--surface);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 720px;
  max-height: 85vh;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base);
  opacity: 0;
}
.modal.active {
  display: block;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.modal-sm { max-width: 500px; }
.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--paper-2);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast);
  z-index: 1;
  color: var(--text-body);
}
.modal-close:hover { background: var(--line); }
.modal-scroll { overflow-y: auto; max-height: 85vh; padding: var(--space-7); border-radius: var(--radius-xl); }

.ws-modal-theme {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}
.ws-modal-code {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: var(--ls-wider);
  color: var(--text-muted);
}
.ws-modal h2 { font-size: var(--text-xl); margin-bottom: var(--space-5); }
.ws-modal-meta {
  background: var(--teal-50);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.ws-meta-item label { display: block; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--text-muted); margin-bottom: 4px; }
.ws-meta-item span { font-size: var(--text-sm); font-weight: 600; color: var(--text-strong); }
.ws-modal-section { margin-bottom: var(--space-5); }
.ws-modal-section h4 { font-size: var(--text-base); margin-bottom: var(--space-3); color: var(--teal-700); }
.ws-modal-section ul { padding-left: var(--space-5); }
.ws-modal-section li { margin-bottom: var(--space-2); font-size: var(--text-sm); line-height: var(--lh-relaxed); }
.ws-modal-quote {
  background: var(--paper-2);
  border-left: 4px solid var(--teal-300);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-4) var(--space-5);
  font-style: italic;
  color: var(--text-body);
  margin-bottom: var(--space-6);
}
.ws-modal-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
  flex-wrap: wrap;
}
.page-edit-modal .form-textarea {
  min-height: 120px;
}
.image-edit-control {
  display: grid;
  gap: var(--space-3);
}
.image-edit-preview {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-2);
}
.image-edit-empty {
  padding: var(--space-4);
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: var(--text-sm);
  text-align: center;
}
.image-remove-option {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-body);
}
.ws-admin-panel {
  background: var(--paper-2);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}
.ws-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.ws-admin-grid strong {
  display: block;
  color: var(--teal-700);
  margin-bottom: 4px;
}
.ws-admin-grid p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ── INSCRIPTIONS ─────────────────────────────────────────── */
.insc-gate {
  text-align: center;
  padding: var(--space-9) 0;
  max-width: 480px;
  margin: 0 auto;
}
.insc-gate h2 { margin-bottom: var(--space-4); }
.insc-gate p { margin-bottom: var(--space-6); }

.insc-layout { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-8); }

.insc-list h3 { margin-bottom: 0; }
.insc-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}
.insc-workshop-filter {
  width: min(360px, 100%);
}
.insc-empty {
  text-align: center;
  padding: var(--space-9) var(--space-5);
  border: 2px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}
.insc-empty p { margin-bottom: var(--space-5); }

.insc-item {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.insc-item-date {
  min-width: 56px;
  text-align: center;
  background: var(--teal-50);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
}
.insc-item-day { display: block; font-size: var(--text-xl); font-weight: 700; color: var(--teal-600); line-height: 1; }
.insc-item-month { display: block; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; color: var(--text-muted); }
.insc-item-info { flex: 1; }
.insc-item-info h4 { font-size: var(--text-base); margin-bottom: var(--space-1); }
.insc-item-info p { font-size: var(--text-sm); color: var(--text-muted); margin: 0; }
.insc-status {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.insc-status-confirmed { background: var(--success-soft); color: var(--success); }
.insc-status-pending { background: var(--warning-soft); color: var(--warning); }
.insc-item-actions { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.insc-item-pending { border-left: 3px solid var(--warning); }

/* Badge pending count */
.insc-badge-pending {
  background: var(--warning-soft);
  color: var(--warning);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}

/* View toggle */
.insc-view-toggle { display: flex; gap: 2px; }

/* Table view */
.insc-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1.5px solid var(--line); margin-top: var(--space-3); }
.insc-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.insc-table th { background: var(--paper-2); padding: var(--space-3) var(--space-4); text-align: left; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); border-bottom: 1.5px solid var(--line); white-space: nowrap; }
.insc-table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); vertical-align: middle; }
.insc-table tr:last-child td { border-bottom: none; }
.insc-table tr:hover td { background: var(--paper-2); }
.insc-row-pending td { background: var(--warning-soft); }
.insc-row-pending:hover td { background: #f5e8c8; }
.insc-table a { color: var(--teal-600); text-decoration: none; }
.insc-table a:hover { text-decoration: underline; }

/* ── Émargement ──────────────────────────────────────────────── */
.emarg-col-header { white-space: nowrap; }
.emarg-toggle-btn {
  margin-left: var(--space-2);
  background: var(--paper-3, #e8eded);
  color: var(--text-muted);
  border: none;
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  font-size: var(--text-xs);
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.emarg-toggle-btn:hover, .emarg-toggle-btn.emarg-active {
  background: var(--teal-600);
  color: #fff;
}
.emarg-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  white-space: nowrap;
}
.emarg-badge:hover { opacity: .8; transform: scale(.97); }
.emarg-present { background: var(--success-soft); color: var(--success); }
.emarg-absent  { background: #fde8e8; color: var(--danger, #d93025); }
.emarg-empty   { color: var(--text-muted); font-size: var(--text-sm); }

.insc-sidebar {
  position: sticky;
  top: calc(68px + var(--space-5));
}
.insc-sidebar-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.insc-sidebar-card h3 { margin-bottom: var(--space-5); }
.insc-select-ws {
  margin-bottom: var(--space-5);
}
.insc-select-ws label { display: block; font-size: var(--text-sm); font-weight: 700; margin-bottom: var(--space-2); color: var(--text-strong); }
.insc-ws-option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line);
  cursor: pointer;
  margin-bottom: var(--space-2);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.insc-ws-option:hover { border-color: var(--teal-300); background: var(--teal-50); }
.insc-ws-option input[type=radio] { margin-top: 3px; accent-color: var(--teal-500); }
.insc-ws-option-info h5 { font-size: var(--text-sm); font-weight: 700; margin-bottom: 2px; }
.insc-ws-option-info p { font-size: var(--text-xs); color: var(--text-muted); margin: 0; }

/* ── FORMS ────────────────────────────────────────────────── */
.form-group { margin-bottom: var(--space-5); }
.form-group label { display: block; font-size: var(--text-sm); font-weight: 700; margin-bottom: var(--space-2); color: var(--text-strong); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: var(--text-base);
  background: var(--surface);
  color: var(--text-body);
  transition: border-color var(--dur-fast);
  outline: none;
  box-sizing: border-box;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal-400);
  box-shadow: var(--focus-ring);
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23647c79' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.form-error { font-size: var(--text-xs); color: var(--danger); margin-top: var(--space-1); }
.form-divider { text-align: center; color: var(--text-muted); font-size: var(--text-sm); margin: var(--space-5) 0; position: relative; }
.form-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line); }
.form-divider span { background: var(--surface); padding: 0 var(--space-3); position: relative; }

/* Registration quick form */
.reg-modal h3 { margin-bottom: var(--space-2); }
.reg-modal .ws-info-banner {
  background: var(--teal-50);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
}
.reg-modal .ws-info-banner strong { color: var(--teal-700); }

/* ── COMPTE ───────────────────────────────────────────────── */
.compte-tabs { display: flex; gap: var(--space-2); margin-bottom: var(--space-7); border-bottom: 2px solid var(--line); }
.compte-tab {
  padding: var(--space-3) var(--space-5);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition: color var(--dur-fast), border-color var(--dur-fast);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-body);
}
.compte-tab.active { color: var(--teal-600); border-bottom-color: var(--teal-500); }
.compte-tab-content { display: none; max-width: 480px; }
.compte-tab-content.active { display: block; }
.compte-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.compte-profile-header {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1.5px solid var(--line);
}
.compte-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--teal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.compte-user-name { font-size: var(--text-xl); font-weight: 700; color: var(--text-strong); margin-bottom: 4px; }
.compte-user-meta { font-size: var(--text-sm); color: var(--text-muted); }
.compte-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.compte-stat {
  background: var(--teal-50);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  text-align: center;
}
.compte-stat-n { display: block; font-size: var(--text-2xl); font-weight: 700; color: var(--teal-600); font-family: var(--font-display); }
.compte-stat-l { display: block; font-size: var(--text-xs); color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: var(--ls-wide); }
.compte-detail-list dt { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--text-muted); margin-top: var(--space-4); }
.compte-detail-list dd { font-size: var(--text-base); color: var(--text-strong); margin: 4px 0 0 0; }
.compte-actions { display: flex; gap: var(--space-3); margin-top: var(--space-6); flex-wrap: wrap; }

.my-tasks-panel {
  margin-top: var(--space-6);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.my-tasks-panel h4 { margin-bottom: var(--space-4); font-size: var(--text-base); }
.my-tasks-list { display: flex; flex-direction: column; gap: var(--space-2); }
.my-task-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  background: var(--paper-2);
  transition: background .12s;
}
.my-task-row:hover { background: var(--paper-3, #f0f4f4); }
.my-task-title { font-size: var(--text-sm); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.my-task-meta { font-size: var(--text-xs); color: var(--text-muted); margin-top: 1px; }

/* Filter selects sizing */
.task-assignee-filter { max-width: 200px; }
.task-workshop-filter { max-width: 260px; }

/* ── TASKS / KANBAN ───────────────────────────────────────── */
.tasks-toolbar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.view-toggle { display: flex; gap: var(--space-2); }
.task-workshop-filter {
  width: min(360px, 100%);
}
.toggle-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast);
  color: var(--text-body);
}
.toggle-btn.active { background: var(--teal-500); color: #fff; border-color: var(--teal-500); }

.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  align-items: start;
}
.kanban-col {
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.kanban-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}
.kanban-col-title {
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}
.kanban-count {
  background: var(--line);
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  font-size: var(--text-xs);
  font-weight: 700;
}
.task-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}
.task-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.task-card-ws { font-size: var(--text-xs); font-weight: 700; color: var(--teal-600); margin-bottom: var(--space-2); }
.task-card h4 { font-size: var(--text-sm); font-weight: 700; margin-bottom: var(--space-3); line-height: var(--lh-snug); }
.task-card-meta { display: flex; align-items: center; justify-content: space-between; }
.task-card-due { font-size: var(--text-xs); color: var(--text-muted); }
.task-card-prio {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.prio-haute { background: var(--danger); }
.prio-moyenne { background: var(--warning); }
.prio-basse { background: var(--success); }
.task-card-assignee {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--teal-200);
  color: var(--teal-800);
  font-size: var(--text-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kanban-empty {
  text-align: center;
  padding: var(--space-5);
  color: var(--text-muted);
  font-size: var(--text-sm);
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
}

/* ── GANTT ────────────────────────────────────────────────── */
.gantt-wrap { overflow-x: auto; }
.gantt-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}
.gantt-header th {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--text-muted);
  padding: var(--space-3) var(--space-3);
  border-bottom: 2px solid var(--line);
  text-align: left;
  background: var(--paper-2);
}
.gantt-header th.month-col { text-align: center; border-left: 1px solid var(--line-soft); }
.gantt-row td {
  padding: var(--space-3);
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--text-sm);
  vertical-align: middle;
}
.gantt-row:hover td { background: var(--teal-50); }
.gantt-task-name { font-weight: 600; max-width: 200px; }
.gantt-ws-code { font-size: var(--text-xs); color: var(--teal-600); font-weight: 700; }
.gantt-status-cell { white-space: nowrap; }
.gantt-bar-cell { position: relative; height: 36px; }
.gantt-bar {
  position: absolute;
  height: 20px;
  border-radius: var(--radius-pill);
  top: 50%;
  transform: translateY(-50%);
  min-width: 8px;
  display: flex;
  align-items: center;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
}
.gantt-status-todo { background: var(--ink-300); }
.gantt-status-progress { background: var(--teal-500); }
.gantt-status-review { background: var(--apricot); }
.gantt-status-done { background: var(--success); }
.gantt-today-line {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--danger);
  opacity: 0.6;
}
.gantt-legend {
  display: flex;
  gap: var(--space-5);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}
.gantt-legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.gantt-legend-dot {
  width: 12px; height: 12px;
  border-radius: 2px;
}

/* ── TASK MODAL ───────────────────────────────────────────── */
.task-modal h3 { margin-bottom: var(--space-5); }
.task-status-btns { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.task-status-btn {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-size: var(--text-xs);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--dur-fast);
  font-family: var(--font-body);
}
.task-status-btn:hover { border-color: var(--teal-300); }
.task-status-btn.active-todo { background: var(--ink-300); color: #fff; border-color: var(--ink-300); }
.task-status-btn.active-progress { background: var(--teal-500); color: #fff; border-color: var(--teal-500); }
.task-status-btn.active-review { background: var(--apricot); color: var(--ink-900); border-color: var(--apricot); }
.task-status-btn.active-done { background: var(--success); color: #fff; border-color: var(--success); }

/* ── TOAST ────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.toast {
  background: var(--ink-900);
  color: #fff;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  box-shadow: var(--shadow-lg);
  animation: toastIn var(--dur-base) var(--ease-out) forwards;
  max-width: 320px;
}
.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--teal-900);
  color: var(--teal-200);
  padding: var(--space-9) var(--gutter) var(--space-5);
  margin-top: var(--space-5);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-9);
  margin-bottom: var(--space-7);
}
.footer-brand p { font-size: var(--text-sm); line-height: var(--lh-relaxed); margin-top: var(--space-4); }
.footer-brand a { color: var(--teal-300); }
.footer-brand img { margin-bottom: var(--space-4); }
.footer-links h4 { color: #fff; font-family: var(--font-body); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: var(--ls-wide); margin-bottom: var(--space-4); }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: var(--space-2); font-size: var(--text-sm); }
.footer-links a { color: var(--teal-300); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-5);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--teal-400);
}

/* ── STATUS BADGES ────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 700;
}
.badge-todo { background: var(--paper-2); color: var(--text-muted); }
.badge-progress { background: var(--teal-100); color: var(--teal-700); }
.badge-review { background: var(--apricot-soft); color: var(--apricot-ink); }
.badge-done { background: var(--success-soft); color: var(--success); }

/* ── HERO INNER (centering) ───────────────────────────────── */
.hero {
  justify-content: center;
}
.hero-inner {
  max-width: var(--container);
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-9);
}
/* Override hero direct-child flex to use hero-inner */
.hero > .hero-content, .hero > .hero-visual { display: none; }
.hero-inner > .hero-content, .hero-inner > .hero-visual { display: flex; flex-direction: column; }
.hero-inner > .hero-content { flex: 1; max-width: 540px; }
.hero-inner > .hero-visual { flex: 1; max-width: 480px; position: relative; }

/* ── PDF BANNER ───────────────────────────────────────────── */
.pdf-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  background: var(--teal-50);
  border: 1.5px solid var(--teal-200);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-7);
  flex-wrap: wrap;
}
.pdf-banner-text {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  flex: 1;
}
.pdf-icon { font-size: 2rem; flex-shrink: 0; }
.pdf-banner-text strong { display: block; font-size: var(--text-base); color: var(--text-strong); margin-bottom: 4px; }
.pdf-banner-text p { font-size: var(--text-sm); color: var(--text-muted); margin: 0; line-height: var(--lh-relaxed); }

/* ── GLOBAL EDIT FAB ──────────────────────────────────────── */
.page-edit-fab {
  position: fixed;
  top: calc(68px + var(--space-4));
  right: var(--space-5);
  z-index: 99;
  background: var(--teal-700);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background var(--dur-fast), transform var(--dur-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-edit-fab:hover { background: var(--teal-800); transform: translateY(-1px); }

/* ── PUBLICATIONS ─────────────────────────────────────────── */
.publications-list { display: flex; flex-direction: column; gap: var(--space-5); }
.publication-item {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}
.publication-badge {
  background: var(--teal-500);
  color: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: var(--ls-wide);
  flex-shrink: 0;
  min-width: 48px;
  text-align: center;
}
.publication-ref {
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: var(--text-body);
  margin: 0 0 var(--space-3);
}
.publication-ref em { font-style: italic; }
.publication-tags { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* ── ADMIN PANEL ──────────────────────────────────────────── */
.admin-panel {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1.5px solid var(--line);
}
.admin-panel h4 { font-size: var(--text-base); margin-bottom: var(--space-4); color: var(--teal-700); }
.admin-editors-list { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-4); }
.admin-editor-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--paper-2);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line-soft);
}

/* ── PAGE EDIT ACCORDION ─────────────────────────────────── */
.edit-accordion { display: flex; flex-direction: column; gap: var(--space-3); }
.edit-section {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.edit-section-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--paper-2);
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-heading);
  transition: background .12s;
}
.edit-section-header:hover { background: var(--paper-3, #f0f4f4); }
.edit-section-icon { font-size: 1rem; flex-shrink: 0; }
.edit-section-chevron { margin-left: auto; font-size: .8rem; color: var(--text-muted); transition: transform .2s; display: inline-block; }
.edit-section.open .edit-section-chevron { transform: rotate(180deg); }
.edit-section-body {
  display: none;
  padding: var(--space-5) var(--space-4) var(--space-4);
  border-top: 1.5px solid var(--line);
}
.edit-section.open .edit-section-body { display: block; }

/* ── CATALOGUE EDIT TABS ─────────────────────────────────── */
.catalogue-edit-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  border-bottom: 2px solid var(--line);
  padding-bottom: 0;
}
.catalogue-edit-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.catalogue-edit-tab.active {
  color: var(--teal-700);
  border-bottom-color: var(--teal-500);
}
.catalogue-edit-tab:hover { color: var(--teal-600); }

/* ── WORKSHOP ADMIN LIST ─────────────────────────────────── */
.ws-admin-list { display: flex; flex-direction: column; gap: var(--space-2); max-height: 420px; overflow-y: auto; }
.ws-admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--paper-2);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius-md);
}
.ws-admin-row-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ws-admin-code { font-size: var(--text-xs); font-weight: 800; color: var(--teal-600); letter-spacing: var(--ls-wide); text-transform: uppercase; }
.ws-admin-title { font-size: var(--text-sm); font-weight: 600; color: var(--text-heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-admin-row-actions { display: flex; gap: var(--space-2); flex-shrink: 0; }
.btn-danger { background: var(--danger, #d94f3f); color: #fff; border: none; }
.btn-danger:hover { background: #b83b2d; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .schools-grid { grid-template-columns: repeat(2, 1fr); }
  .kanban-board { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1.5px solid var(--line); padding: var(--space-4); box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .hero { flex-direction: column; min-height: auto; padding: var(--space-8) var(--gutter); }
  .hero-inner { flex-direction: column; }
  .hero-inner > .hero-visual { max-width: 100%; }
  .hero-card-float { bottom: auto; top: var(--space-4); right: var(--space-4); left: auto; }
  .themes-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .intro-block { grid-template-columns: 1fr; }
  .workshops-grid { grid-template-columns: 1fr; }
  .insc-layout { grid-template-columns: 1fr; }
  .kanban-board { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .ws-modal-meta { grid-template-columns: 1fr; }
  .compte-stat-row { grid-template-columns: 1fr 1fr; }
  .linkedin-panel-header { align-items: flex-start; flex-direction: column; }
  .linkedin-frame { min-height: 680px; }
}
@media (max-width: 540px) {
  .schools-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .hero-card-float { position: relative; top: auto; right: auto; margin-top: var(--space-4); justify-content: center; }
}
