:root {
  --green: #0a7a3a;
  --green-2: #12a456;
  --green-soft: #e9f8ef;
  --blue: #08233f;
  --blue-2: #123a5b;
  --gold: #f6b84b;
  --bg: #f4f7f4;
  --white: #ffffff;
  --line: #dce8df;
  --text: #102033;
  --muted: #667085;
  --danger: #b42318;
  --orange: #b7791f;
  --shadow: 0 18px 45px rgba(8, 35, 63, 0.09);
  --soft-shadow: 0 8px 24px rgba(8, 35, 63, 0.07);
  --radius: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(18, 164, 86, 0.14), transparent 32%),
    radial-gradient(circle at bottom right, rgba(8, 35, 63, 0.12), transparent 34%),
    var(--bg);
  font-size: 15px;
}

a {
  text-decoration: none;
  color: var(--green);
}

img {
  max-width: 100%;
  height: auto;
}

/* HEADER */
.topbar {
  position: sticky;
  top: 0;
  z-index: 99;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(14px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(8, 35, 63, 0.07);
  border-bottom: 1px solid rgba(220, 232, 223, 0.9);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  min-width: 0;
}

.brand img {
  width: 132px;
  height: auto;
  display: block;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  font-size: 16px;
  color: var(--blue);
  white-space: nowrap;
}

.brand small {
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 12px;
  padding: 9px 12px;
  font-weight: 900;
  font-size: 20px;
  cursor: pointer;
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.topbar nav a {
  padding: 9px 11px;
  border-radius: 999px;
  font-weight: 900;
  color: var(--blue);
  font-size: 14px;
}

.topbar nav a:hover {
  background: var(--green-soft);
  color: var(--green);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto;
}

.footer {
  margin-top: 38px;
  padding: 24px 5vw;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0a5636);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ALERTS */
.alert {
  padding: 13px 15px;
  border-radius: 15px;
  margin: 12px 0;
  font-weight: 850;
  line-height: 1.45;
}

.alert-success {
  background: #eaf8ee;
  color: var(--green);
}

.alert-error {
  background: #fff1f0;
  color: var(--danger);
}

.alert-info {
  background: #eaf2ff;
  color: var(--blue);
}

/* PUBLIC RESPONSIVE PAGES */
.p243-page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.p243-hero {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

.p243-card,
.card,
.form-shell,
.login-card {
  width: 100%;
  min-width: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(18px, 2.6vw, 30px);
}

.p243-intro {
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 255, 249, 0.96) 58%, rgba(223, 246, 232, 0.94)),
    radial-gradient(circle at 90% 20%, rgba(246, 184, 75, 0.2), transparent 24%);
}

.p243-intro::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  right: -80px;
  bottom: -85px;
  background: rgba(10, 122, 58, 0.08);
}

.p243-side {
  background: linear-gradient(135deg, var(--blue), #0a5636);
  color: #fff;
}

.p243-side h2 {
  color: #fff;
  margin-top: 0;
}

.p243-side ul {
  margin: 0;
  padding-left: 19px;
}

.p243-side li {
  margin: 12px 0;
  line-height: 1.45;
  color: #edf7f1;
}

.p243-pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 13px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 0.045em;
}

.p243-pill.light,
.eyebrow.light {
  background: var(--green-soft);
  color: var(--green);
}

.p243-title,
.h1 {
  font-size: clamp(34px, 5.4vw, 66px);
  line-height: 0.96;
  margin: 18px 0 12px;
  letter-spacing: -0.055em;
  color: var(--blue);
  font-weight: 950;
  position: relative;
  z-index: 2;
}

.p243-title span,
.h1 span {
  color: var(--green);
}

.p243-lead,
.lead {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.58;
  color: #344054;
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.p243-facts,
.meta-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.p243-facts div,
.meta {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.p243-facts small,
.meta small {
  display: block;
  color: var(--green);
  font-weight: 950;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.045em;
  margin-bottom: 4px;
}

.p243-facts strong,
.meta strong {
  display: block;
  color: var(--blue);
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.2;
  word-break: break-word;
}

.p243-tags,
.program {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  position: relative;
  z-index: 2;
}

.p243-tags span,
.program div {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 900;
}

.p243-form-card {
  width: 100%;
  min-width: 0;
}

.p243-form-head {
  margin-bottom: 18px;
}

.p243-mini {
  color: var(--green);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
}

.p243-form-head h2,
.card h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  margin: 8px 0 6px;
  color: var(--blue);
}

.p243-form-head p,
.card p {
  color: var(--muted);
  line-height: 1.45;
}

.p243-form {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.p243-field {
  min-width: 0;
}

.p243-field.full {
  grid-column: 1 / -1;
}

.p243-field label,
label {
  display: block;
  font-weight: 950;
  color: var(--blue);
  font-size: 14px;
  margin-bottom: 6px;
}

.p243-field input,
.p243-field select,
.p243-field textarea,
input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #cfdcd1;
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: 0.16s;
}

.p243-field input:focus,
.p243-field select:focus,
.p243-field textarea:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-2);
  box-shadow: 0 0 0 4px rgba(18, 164, 86, 0.13);
}

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

.anti-spam-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.p243-consent {
  background: #f8fbf9;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.p243-consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  color: #344054;
  line-height: 1.45;
  font-weight: 800;
}

.p243-consent input {
  width: auto;
  margin-top: 4px;
  flex: 0 0 auto;
}

.p243-actions,
.actions,
.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.p243-btn,
.btn-main,
.btn-primary,
.btn-dark,
.btn-light,
.btn-danger,
.btn-warning,
.btn,
.p243-btn-secondary {
  border: 0;
  border-radius: 14px;
  padding: 13px 17px;
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  cursor: pointer;
  transition: 0.16s;
  white-space: nowrap;
  font-size: 15px;
  text-decoration: none;
}

.p243-btn,
.btn-main,
.btn-primary {
  background: var(--green);
  color: #fff;
}

.p243-btn:hover,
.btn-main:hover,
.btn-primary:hover {
  background: #086b33;
  transform: translateY(-1px);
}

.p243-btn-secondary,
.btn-light {
  background: var(--green-soft);
  color: var(--green);
}

.btn-dark {
  background: var(--blue);
  color: #fff;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-warning {
  background: var(--orange);
  color: #fff;
}

/* HOME CHOICES */
.choice-grid {
  display: grid;
  gap: 13px;
  margin-top: 16px;
}

.choice-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #fbfffc;
  color: var(--text);
  transition: 0.16s;
}

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

.choice-card strong {
  display: block;
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 8px;
}

.choice-card span {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}

.choice-card em {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 950;
  color: var(--green);
}

.choice-card.accent {
  background: linear-gradient(135deg, var(--blue), #0a5636);
  color: #fff;
  border: 0;
}

.choice-card.accent strong,
.choice-card.accent em {
  color: #fff;
}

.choice-card.accent span {
  color: #e7f0ee;
}

/* DASHBOARD */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 18px;
}

.stat {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--soft-shadow);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
}

.stat small {
  color: var(--muted);
  font-weight: 950;
  text-transform: uppercase;
  font-size: 11px;
}

.stat strong {
  display: block;
  font-size: 34px;
  color: var(--blue);
  line-height: 1;
  margin-top: 6px;
}

.layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 18px;
}

.sidebar {
  background: #fff;
  border-radius: 20px;
  padding: 12px;
  box-shadow: var(--soft-shadow);
  height: max-content;
  position: sticky;
  top: 88px;
  border: 1px solid var(--line);
}

.sidebar a {
  display: block;
  padding: 12px;
  border-radius: 13px;
  font-weight: 900;
  color: var(--blue);
  font-size: 14px;
}

.sidebar a:hover,
.sidebar a.active {
  background: var(--green-soft);
  color: var(--green);
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 880px;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid #edf2ef;
  text-align: left;
  vertical-align: top;
  line-height: 1.42;
}

th {
  background: #f2f7f3;
  color: var(--blue);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: sticky;
  top: 0;
  z-index: 1;
}

tr:hover td {
  background: #fbfdfb;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 950;
  background: var(--green-soft);
  color: var(--green);
  margin: 1px 0;
}

.badge.gray {
  background: #eef1f4;
  color: #475467;
}

.badge.orange {
  background: #fff4e5;
  color: #b7791f;
}

.filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.filters input,
.filters select {
  max-width: 240px;
}

.login-wrap {
  min-height: 65vh;
  display: grid;
  place-items: center;
}

.login-card {
  width: min(460px, 100%);
}

/* TABLET */
@media (max-width: 1100px) {
  .p243-hero,
  .hero {
    grid-template-columns: 1fr;
  }

  .p243-facts,
  .meta-grid,
  .hero .meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
  }

  .sidebar a {
    white-space: nowrap;
  }
}

/* MOBILE */
@media (max-width: 820px) {
  body {
    font-size: 14px;
  }

  .topbar {
    padding: 12px 14px;
    align-items: center;
    flex-wrap: wrap;
  }

  .brand img {
    width: 108px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .topbar nav {
    display: none;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .topbar nav.open {
    display: grid;
  }

  .topbar nav a {
    background: #f6faf7;
    text-align: center;
    white-space: normal;
  }

  .container {
    width: min(100% - 22px, 1180px);
    margin: 18px auto;
  }

  .p243-card,
  .card,
  .form-shell,
  .login-card {
    border-radius: 18px;
    padding: 17px;
  }

  .p243-title,
  .h1 {
    font-size: 40px;
    letter-spacing: -0.045em;
  }

  .p243-form,
  .form-grid,
  .smart-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .p243-field.full,
  .form-grid .full {
    grid-column: auto;
  }

  .p243-actions,
  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .p243-actions a,
  .p243-actions button,
  .form-actions a,
  .form-actions button {
    width: 100%;
  }

  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .filters input,
  .filters select,
  .filters .btn,
  .filters a {
    max-width: none;
    width: 100%;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  table {
    min-width: 820px;
  }

  th,
  td {
    padding: 10px;
    font-size: 13px;
  }
}

/* SMALL MOBILE */
@media (max-width: 520px) {
  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 11px;
  }

  .brand img {
    width: 100px;
  }

  .topbar nav {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 18px, 1180px);
  }

  .p243-title,
  .h1 {
    font-size: 34px;
  }

  .p243-lead,
  .lead {
    font-size: 15px;
  }

  .p243-facts,
  .meta-grid,
  .hero .meta-grid {
    grid-template-columns: 1fr;
  }

  .p243-tags span,
  .program div {
    font-size: 12px;
    padding: 8px 10px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .p243-btn,
  .p243-btn-secondary,
  .btn,
  .btn-primary,
  .btn-light,
  .btn-dark {
    white-space: normal;
    text-align: center;
    width: 100%;
  }
}

/* PRINT */
@media print {
  body {
    background: #fff;
  }

  .topbar,
  .sidebar,
  .footer,
  .actions,
  .filters,
  .nav-toggle {
    display: none !important;
  }

  .layout {
    display: block;
  }

  .container {
    width: 100%;
    margin: 0;
  }

  .card,
  .p243-card,
  .table-wrap {
    box-shadow: none;
    border: 0;
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* =====================================================
   ADMIN DASHBOARD RESPONSIVE PRO
===================================================== */

.admin-top-panel {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #08233f, #0a5636);
  color: #fff;
  border-radius: 22px;
  box-shadow: 0 14px 35px rgba(8, 35, 63, 0.12);
}

.admin-top-panel h1 {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
}

.admin-kicker {
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #dff5e7;
}

.admin-menu-btn {
  display: none;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  color: #0a7a3a;
  padding: 12px 15px;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
}

.admin-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-content {
  min-width: 0;
  width: 100%;
}

.admin-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 6px;
  width: 100%;
}

.admin-sidebar a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 13px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
  color: #08233f;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
  background: #e9f8ef;
  color: #0a7a3a;
}

/* Stats plus compactes */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  min-width: 0;
  padding: 16px;
}

.stat small {
  display: block;
  font-size: 11px;
  line-height: 1.2;
}

.stat strong {
  font-size: clamp(26px, 4vw, 34px);
}

/* Cartes admin plus propres */
.admin-content .card {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.admin-content .card h1,
.admin-content .card h2,
.admin-content .card h3 {
  line-height: 1.1;
}

/* Actions compactes */
.admin-content .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-content .btn,
.admin-content .btn-primary,
.admin-content .btn-light,
.admin-content .btn-dark,
.admin-content .btn-danger,
.admin-content .btn-warning {
  min-height: 40px;
  padding: 10px 13px;
  font-size: 14px;
}

/* Tables plus utilisables */
.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  min-width: 780px;
}

.table-wrap::after {
  content: "Glissez vers la droite pour voir plus";
  display: none;
  padding: 8px 12px 12px;
  font-size: 12px;
  color: #667085;
  background: #fff;
}

/* Formulaires admin compacts */
.admin-content .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-content .filters input,
.admin-content .filters select {
  min-width: 180px;
  flex: 1;
}

.admin-content input,
.admin-content select,
.admin-content textarea {
  font-size: 14px;
}

/* Dashboard liens publics */
.admin-share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-share-card {
  border: 1px solid #dce8df;
  border-radius: 18px;
  padding: 16px;
  background: #fbfffc;
  min-width: 0;
}

.admin-share-card.dark {
  background: #f8fbff;
}

.admin-share-card input,
.admin-share-card textarea {
  width: 100%;
}

/* TABLETTE */
@media (max-width: 1050px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .admin-sidebar {
    position: static;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(8, 35, 63, 0.07);
    border: 1px solid #dce8df;
  }

  .admin-sidebar.open {
    display: grid;
  }

  .admin-sidebar a {
    justify-content: center;
    text-align: center;
    background: #f6faf7;
    font-size: 13px;
    min-height: 42px;
    padding: 10px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-share-grid {
    grid-template-columns: 1fr;
  }
}

/* MOBILE */
@media (max-width: 720px) {
  .admin-top-panel {
    padding: 15px;
    border-radius: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-menu-btn {
    width: 100%;
  }

  .admin-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-sidebar a {
    font-size: 12.5px;
    line-height: 1.2;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .stat {
    padding: 13px;
    border-radius: 16px;
  }

  .stat strong {
    font-size: 28px;
  }

  .admin-content .card {
    padding: 15px;
    border-radius: 17px;
  }

  .admin-content .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-content .actions a,
  .admin-content .actions button,
  .admin-content .actions select {
    width: 100%;
  }

  .admin-content .filters {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-content .filters input,
  .admin-content .filters select,
  .admin-content .filters a,
  .admin-content .filters button {
    width: 100%;
    max-width: none;
  }

  .table-wrap table {
    min-width: 720px;
  }

  .table-wrap::after {
    display: block;
  }
}

/* PETIT TÉLÉPHONE */
@media (max-width: 430px) {
  .admin-sidebar {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .admin-top-panel h1 {
    font-size: 24px;
  }

  .admin-content .btn,
  .admin-content .btn-primary,
  .admin-content .btn-light,
  .admin-content .btn-dark,
  .admin-content .btn-danger {
    white-space: normal;
    text-align: center;
  }
}

  /* =====================================================
   PLUS243 HOME PAGE PRO RESPONSIVE
===================================================== */

.home-pro {
  width: 100%;
  display: grid;
  gap: 22px;
}

.home-hero {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}

.home-main-card,
.home-side-card,
.home-feature-card {
  width: 100%;
  min-width: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #dce8df;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(8, 35, 63, 0.09);
}

.home-main-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(246,255,249,.96) 58%, rgba(223,246,232,.94)),
    radial-gradient(circle at 90% 20%, rgba(246,184,75,.22), transparent 25%);
}

.home-main-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(10, 122, 58, 0.08);
}

.home-side-card {
  padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(135deg, #08233f, #0a5636);
  color: #ffffff;
}

.home-badge-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.home-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  background: #0a7a3a;
  color: #ffffff;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 0.05em;
}

.home-date {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  background: #ffffff;
  color: #08233f;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid #dce8df;
}

.home-main-card h1 {
  position: relative;
  z-index: 2;
  margin: 0 0 16px;
  color: #08233f;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 950;
}

.home-main-card h1 span {
  display: block;
  color: #0a7a3a;
}

.home-lead {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0;
  color: #344054;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.62;
}

.home-info-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.home-info-grid div {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #dce8df;
  border-radius: 16px;
  padding: 14px;
}

.home-info-grid small {
  display: block;
  margin-bottom: 5px;
  color: #0a7a3a;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  font-weight: 950;
}

.home-info-grid strong {
  display: block;
  color: #08233f;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.25;
  word-break: break-word;
}

.home-tags {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.home-tags span {
  background: #ffffff;
  border: 1px solid #dce8df;
  color: #08233f;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 900;
}

.home-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.home-btn-primary,
.home-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  border-radius: 14px;
  font-weight: 950;
  text-decoration: none;
  transition: 0.16s;
}

.home-btn-primary {
  background: #0a7a3a;
  color: #ffffff;
}

.home-btn-primary:hover {
  background: #086b33;
  transform: translateY(-1px);
}

.home-btn-secondary {
  background: #e9f8ef;
  color: #0a7a3a;
}

.home-side-card .home-mini-title {
  display: inline-flex;
  margin-bottom: 12px;
  color: #dff5e7;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 950;
}

.home-side-card h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.home-side-card p {
  margin: 0;
  color: #e7f0ee;
  line-height: 1.55;
}

.home-choice-grid {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}

.home-choice-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  color: #102033;
  border: 1px solid rgba(255,255,255,.45);
  transition: 0.16s;
}

.home-choice-card:hover {
  transform: translateY(-2px);
}

.home-choice-card.accent {
  background: #0a7a3a;
  color: #ffffff;
}

.home-choice-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e9f8ef;
  font-size: 22px;
}

.home-choice-card.accent .home-choice-icon {
  background: rgba(255,255,255,.18);
}

.home-choice-card strong {
  display: block;
  color: inherit;
  font-size: 17px;
  margin-bottom: 5px;
}

.home-choice-card span {
  display: block;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

.home-choice-card.accent span {
  color: #e7f0ee;
}

.home-choice-card em {
  display: block;
  margin-top: 9px;
  font-style: normal;
  font-weight: 950;
  color: #0a7a3a;
  font-size: 13px;
}

.home-choice-card.accent em {
  color: #ffffff;
}

.home-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-feature-card {
  padding: 18px;
}

.home-feature-card span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: #e9f8ef;
  color: #0a7a3a;
  font-weight: 950;
  margin-bottom: 12px;
}

.home-feature-card strong {
  display: block;
  color: #08233f;
  font-size: 18px;
  margin-bottom: 6px;
}

.home-feature-card p {
  margin: 0;
  color: #667085;
  line-height: 1.5;
}

/* TABLETTE */
@media (max-width: 1100px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-bottom-grid {
    grid-template-columns: 1fr;
  }
}

/* MOBILE */
@media (max-width: 720px) {
  .home-main-card,
  .home-side-card,
  .home-feature-card {
    border-radius: 18px;
  }

  .home-main-card {
    padding: 20px;
  }

  .home-side-card {
    padding: 20px;
  }

  .home-main-card h1 {
    font-size: 40px;
    letter-spacing: -0.05em;
  }

  .home-info-grid {
    grid-template-columns: 1fr;
  }

  .home-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-actions a {
    width: 100%;
    text-align: center;
  }

  .home-choice-card {
    grid-template-columns: 1fr;
  }

  .home-choice-icon {
    width: 42px;
    height: 42px;
  }
}

/* PETIT TÉLÉPHONE */
@media (max-width: 430px) {
  .home-main-card h1 {
    font-size: 34px;
  }

  .home-lead {
    font-size: 15px;
  }

  .home-tags span {
    font-size: 12px;
    padding: 8px 10px;
  }

  .home-btn-primary,
  .home-btn-secondary {
    white-space: normal;
    text-align: center;
  }
}
/* =====================================================
   PLUS243 ADMIN DASHBOARD PRO RESPONSIVE
===================================================== */

.admin-dashboard {
  display: grid;
  gap: 18px;
  width: 100%;
  min-width: 0;
}

.admin-welcome-card,
.admin-card {
  width: 100%;
  min-width: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #dce8df;
  border-radius: 22px;
  box-shadow: 0 14px 35px rgba(8, 35, 63, 0.08);
  padding: clamp(16px, 2.5vw, 24px);
}

.admin-welcome-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(245,255,248,.96)),
    radial-gradient(circle at top right, rgba(10,122,58,.14), transparent 30%);
}

.admin-welcome-card h2,
.admin-card h2 {
  margin: 6px 0 8px;
  color: #08233f;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.08;
}

.admin-welcome-card p,
.admin-card p {
  color: #667085;
  line-height: 1.5;
  margin: 8px 0;
}

.admin-mini-title {
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0a7a3a;
}

.admin-welcome-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.admin-stat-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #dce8df;
  border-left: 5px solid #0a7a3a;
  border-radius: 18px;
  padding: 15px;
  box-shadow: 0 8px 24px rgba(8, 35, 63, 0.06);
}

.admin-stat-card small {
  display: block;
  color: #667085;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.admin-stat-card strong {
  display: block;
  color: #08233f;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1;
  margin: 8px 0 5px;
}

.admin-stat-card span {
  display: block;
  color: #667085;
  font-size: 13px;
  line-height: 1.25;
}

.admin-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-quick-card {
  min-width: 0;
  display: block;
  background: #ffffff;
  border: 1px solid #dce8df;
  border-radius: 18px;
  padding: 16px;
  color: #102033;
  box-shadow: 0 8px 24px rgba(8, 35, 63, 0.06);
  transition: 0.16s;
}

.admin-quick-card:hover {
  transform: translateY(-2px);
  border-color: #0a7a3a;
}

.admin-quick-card strong {
  display: block;
  color: #08233f;
  font-size: 17px;
  margin-bottom: 6px;
}

.admin-quick-card span {
  display: block;
  color: #667085;
  font-size: 13px;
  line-height: 1.4;
}

.admin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-share-card {
  min-width: 0;
  border: 1px solid #dce8df;
  border-radius: 18px;
  padding: 16px;
  background: #fbfffc;
}

.admin-share-card.dark {
  background: #f8fbff;
}

.admin-share-card h3 {
  color: #08233f;
  margin: 12px 0 8px;
  font-size: 20px;
}

.admin-copy-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 12px;
}

.admin-copy-box input {
  min-width: 0;
}

.admin-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.admin-two-columns {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 14px;
}

.admin-mini-table {
  display: grid;
  gap: 8px;
}

.admin-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f8fbf9;
  border: 1px solid #edf2ef;
  border-radius: 14px;
  padding: 11px 13px;
}

.admin-mini-row span {
  min-width: 0;
  color: #102033;
  font-weight: 800;
}

.admin-mini-row strong {
  color: #0a7a3a;
  font-size: 18px;
}

.admin-list,
.admin-responsive-list {
  display: grid;
  gap: 8px;
}

.admin-list-item,
.admin-speaker-item {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f8fbf9;
  border: 1px solid #edf2ef;
  border-radius: 14px;
  padding: 12px;
}

.admin-list-item strong,
.admin-speaker-item strong {
  display: block;
  color: #08233f;
  font-size: 15px;
}

.admin-list-item span,
.admin-speaker-item span {
  display: block;
  color: #667085;
  font-size: 13px;
  line-height: 1.35;
}

.admin-list-item small {
  color: #667085;
  white-space: nowrap;
  font-size: 12px;
}

.admin-empty {
  background: #f8fbf9;
  border: 1px dashed #cfdcd1;
  border-radius: 14px;
  padding: 14px;
  color: #667085;
  font-weight: 800;
}

/* TABLETTE */
@media (max-width: 1100px) {
  .admin-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-two-columns {
    grid-template-columns: 1fr;
  }
}

/* MOBILE */
@media (max-width: 760px) {
  .admin-welcome-card {
    display: grid;
    gap: 14px;
  }

  .admin-welcome-actions {
    justify-content: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .admin-stat-card {
    padding: 13px;
    border-radius: 16px;
  }

  .admin-stat-card strong {
    font-size: 28px;
  }

  .admin-quick-grid {
    grid-template-columns: 1fr;
  }

  .admin-share-grid {
    grid-template-columns: 1fr;
  }

  .admin-copy-box {
    grid-template-columns: 1fr;
  }

  .admin-card-head {
    display: grid;
  }

  .admin-card-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-card-actions a,
  .admin-card-actions button,
  .admin-copy-box button {
    width: 100%;
  }

  .admin-list-item,
  .admin-speaker-item {
    align-items: flex-start;
    display: grid;
  }

  .admin-list-item small {
    white-space: normal;
  }
}

/* PETIT TÉLÉPHONE */
@media (max-width: 430px) {
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-welcome-card,
  .admin-card {
    padding: 15px;
    border-radius: 18px;
  }

  .admin-welcome-card h2,
  .admin-card h2 {
    font-size: 22px;
  }
}
/* =====================================================
   RESET ADMIN PLUS243 - VERSION STABLE
   Ce bloc doit rester tout en bas du fichier CSS.
===================================================== */

.p243admin-page,
.p243admin-page * {
  box-sizing: border-box;
}

.p243admin-page {
  width: 100%;
  max-width: 100%;
  display: grid;
  gap: 16px;
}

.p243admin-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, #08233f, #0a5636);
  color: #fff;
  box-shadow: 0 14px 35px rgba(8, 35, 63, 0.12);
}

.p243admin-head span {
  display: inline-flex;
  color: #dff5e7;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.p243admin-head h1 {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
}

.p243admin-menu-btn {
  display: none;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #0a7a3a;
  padding: 12px 15px;
  font-weight: 950;
  cursor: pointer;
}

.p243admin-layout {
  width: 100%;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.p243admin-sidebar {
  position: sticky;
  top: 92px;
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 12px;
  background: #fff;
  border: 1px solid #dce8df;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(8, 35, 63, 0.07);
}

.p243admin-sidebar a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 11px 12px;
  border-radius: 13px;
  color: #08233f;
  font-size: 14px;
  font-weight: 900;
}

.p243admin-sidebar a.active,
.p243admin-sidebar a:hover {
  background: #e9f8ef;
  color: #0a7a3a;
}

.p243admin-content {
  width: 100%;
  min-width: 0;
}

.p243admin-dashboard {
  width: 100%;
  display: grid;
  gap: 18px;
}

.p243admin-welcome,
.p243admin-card {
  width: 100%;
  min-width: 0;
  padding: clamp(16px, 2.5vw, 24px);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #dce8df;
  border-radius: 22px;
  box-shadow: 0 14px 35px rgba(8, 35, 63, 0.08);
}

.p243admin-welcome {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.p243admin-welcome h2,
.p243admin-card h2 {
  margin: 6px 0 8px;
  color: #08233f;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.08;
}

.p243admin-welcome p,
.p243admin-card p {
  color: #667085;
  line-height: 1.5;
  margin: 8px 0;
}

.p243admin-kicker {
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0a7a3a;
}

.p243admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.p243admin-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.p243admin-stat {
  min-width: 0;
  padding: 15px;
  background: #fff;
  border: 1px solid #dce8df;
  border-left: 5px solid #0a7a3a;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(8, 35, 63, 0.06);
}

.p243admin-stat small {
  display: block;
  color: #667085;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.p243admin-stat strong {
  display: block;
  color: #08233f;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1;
  margin: 8px 0 5px;
}

.p243admin-stat span {
  display: block;
  color: #667085;
  font-size: 13px;
}

.p243admin-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.p243admin-shortcuts a {
  display: block;
  min-width: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #dce8df;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(8, 35, 63, 0.06);
  color: #102033;
}

.p243admin-shortcuts a:hover {
  border-color: #0a7a3a;
}

.p243admin-shortcuts strong {
  display: block;
  color: #08233f;
  font-size: 17px;
  margin-bottom: 6px;
}

.p243admin-shortcuts span {
  display: block;
  color: #667085;
  font-size: 13px;
  line-height: 1.4;
}

.p243admin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.p243admin-share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.p243admin-share-card {
  min-width: 0;
  padding: 16px;
  background: #fbfffc;
  border: 1px solid #dce8df;
  border-radius: 18px;
}

.p243admin-share-dark {
  background: #f8fbff;
}

.p243admin-share-card h3 {
  color: #08233f;
  margin: 12px 0 8px;
  font-size: 20px;
}

.p243admin-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 12px;
}

.p243admin-copy input {
  min-width: 0;
  width: 100%;
}

.p243admin-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
}

.p243admin-mini-list,
.p243admin-list,
.p243admin-speaker-list {
  display: grid;
  gap: 8px;
}

.p243admin-mini-list > div,
.p243admin-list > div,
.p243admin-speaker-list > div {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: #f8fbf9;
  border: 1px solid #edf2ef;
  border-radius: 14px;
}

.p243admin-mini-list span,
.p243admin-list span,
.p243admin-speaker-list span {
  display: block;
  color: #667085;
  font-size: 13px;
  line-height: 1.35;
}

.p243admin-list strong,
.p243admin-speaker-list strong {
  display: block;
  color: #08233f;
  font-size: 15px;
}

.p243admin-mini-list strong {
  color: #0a7a3a;
  font-size: 18px;
}

.p243admin-list small {
  color: #667085;
  white-space: nowrap;
  font-size: 12px;
}

.p243admin-empty {
  margin: 0;
  padding: 14px;
  background: #f8fbf9;
  border: 1px dashed #cfdcd1;
  border-radius: 14px;
  color: #667085;
  font-weight: 800;
}

/* TABLETTE */
@media (max-width: 1100px) {
  .p243admin-layout {
    grid-template-columns: 1fr;
  }

  .p243admin-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .p243admin-sidebar {
    display: none;
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .p243admin-sidebar.open {
    display: grid;
  }

  .p243admin-sidebar a {
    justify-content: center;
    text-align: center;
    background: #f6faf7;
  }

  .p243admin-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .p243admin-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p243admin-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* MOBILE */
@media (max-width: 760px) {
  .p243admin-head {
    display: grid;
    gap: 12px;
    padding: 15px;
    border-radius: 18px;
  }

  .p243admin-menu-btn {
    width: 100%;
  }

  .p243admin-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p243admin-sidebar a {
    font-size: 12.5px;
    min-height: 40px;
  }

  .p243admin-welcome {
    display: grid;
  }

  .p243admin-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .p243admin-actions a,
  .p243admin-actions button {
    width: 100%;
  }

  .p243admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .p243admin-stat {
    padding: 13px;
  }

  .p243admin-shortcuts,
  .p243admin-share-grid {
    grid-template-columns: 1fr;
  }

  .p243admin-copy {
    grid-template-columns: 1fr;
  }

  .p243admin-card-head {
    display: grid;
  }

  .p243admin-list > div,
  .p243admin-speaker-list > div {
    align-items: flex-start;
    display: grid;
  }

  .p243admin-list small {
    white-space: normal;
  }
}

/* PETIT TÉLÉPHONE */
@media (max-width: 430px) {
  .p243admin-sidebar {
    grid-template-columns: 1fr;
  }

  .p243admin-stats {
    grid-template-columns: 1fr;
  }

  .p243admin-head h1 {
    font-size: 24px;
  }

  .p243admin-welcome,
  .p243admin-card {
    padding: 15px;
    border-radius: 18px;
  }
}
/* =====================================================
   PLUS243 HOME PREMIUM — HIGH LEVEL RESPONSIVE
   À placer tout en bas du fichier style.css
===================================================== */

.home-premium,
.home-premium * {
  box-sizing: border-box;
}

.home-premium {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 145px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(16px, 2.5vw, 26px);
  background:
    linear-gradient(135deg, rgba(8,35,63,.96), rgba(7,81,52,.94)),
    radial-gradient(circle at top left, rgba(18,164,86,.25), transparent 35%);
  box-shadow: 0 24px 70px rgba(8, 35, 63, 0.18);
}

.home-premium-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.home-orb {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(3px);
  opacity: .75;
  animation: homeFloat 9s ease-in-out infinite;
}

.home-orb-one {
  width: 260px;
  height: 260px;
  top: -90px;
  right: 10%;
  background: rgba(18, 164, 86, .22);
}

.home-orb-two {
  width: 180px;
  height: 180px;
  left: -55px;
  bottom: 8%;
  background: rgba(246, 184, 75, .18);
  animation-delay: 1.4s;
}

.home-orb-three {
  width: 110px;
  height: 110px;
  right: 34%;
  bottom: 6%;
  background: rgba(255, 255, 255, .12);
  animation-delay: 2.2s;
}

@keyframes homeFloat {
  0%, 100% {
    transform: translate3d(0,0,0) scale(1);
  }

  50% {
    transform: translate3d(14px,-18px,0) scale(1.06);
  }
}

.home-premium-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.home-premium-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 3vw, 38px);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(246,255,249,.94)),
    radial-gradient(circle at 85% 18%, rgba(10,122,58,.16), transparent 26%);
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
  animation: homeFadeUp .65s ease both;
}

.home-premium-side {
  min-width: 0;
  padding: clamp(18px, 2.5vw, 28px);
  border-radius: 26px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(16px);
  color: #fff;
  box-shadow: 0 18px 45px rgba(0,0,0,.10);
  animation: homeFadeUp .75s ease both;
  animation-delay: .08s;
}

@keyframes homeFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-top-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.home-top-line span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  background: #0a7a3a;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.home-top-line strong {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  background: #ffffff;
  color: #08233f;
  font-size: 13px;
  font-weight: 950;
  border: 1px solid #dce8df;
}

.home-premium-main h1 {
  max-width: 880px;
  margin: 0 0 16px;
  color: #08233f;
  font-size: clamp(38px, 6vw, 78px);
  line-height: .92;
  letter-spacing: -.07em;
  font-weight: 950;
}

.home-premium-main h1 span {
  display: block;
  color: #0a7a3a;
}

.home-premium-main p {
  max-width: 820px;
  margin: 0;
  color: #344054;
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.6;
}

.home-premium-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.home-premium-meta div {
  min-width: 0;
  padding: 13px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dce8df;
}

.home-premium-meta small {
  display: block;
  margin-bottom: 5px;
  color: #0a7a3a;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.home-premium-meta strong {
  display: block;
  color: #08233f;
  font-size: 15px;
  line-height: 1.25;
  word-break: break-word;
}

.home-premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.home-action-primary,
.home-action-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 15px;
  font-weight: 950;
  text-decoration: none;
  transition: .18s ease;
}

.home-action-primary {
  background: #0a7a3a;
  color: #fff;
  box-shadow: 0 14px 28px rgba(10, 122, 58, .22);
}

.home-action-primary:hover {
  background: #086b33;
  transform: translateY(-2px);
}

.home-action-secondary {
  background: #e9f8ef;
  color: #0a7a3a;
}

.home-action-secondary:hover {
  transform: translateY(-2px);
}

.home-theme-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.home-theme-line span {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dce8df;
  color: #08233f;
  font-size: 12.5px;
  font-weight: 900;
}

.side-head span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #dff5e7;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.side-head h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.side-head p {
  margin: 0;
  color: #e7f0ee;
  line-height: 1.55;
  font-size: 14.5px;
}

.access-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.access-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  color: #102033;
  transition: .18s ease;
}

.access-card:hover {
  transform: translateY(-2px);
}

.access-card.featured {
  background: #0a7a3a;
  color: #fff;
}

.access-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e9f8ef;
  color: #0a7a3a;
  font-weight: 950;
}

.access-card.featured .access-icon {
  background: rgba(255,255,255,.18);
  color: #fff;
}

.access-card strong {
  display: block;
  color: inherit;
  font-size: 16px;
  margin-bottom: 4px;
}

.access-card span {
  display: block;
  color: #667085;
  font-size: 13px;
  line-height: 1.35;
}

.access-card.featured span {
  color: #e7f0ee;
}

.access-card em {
  font-style: normal;
  font-weight: 950;
  color: inherit;
}

.home-impact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 18px;
}

.home-impact div {
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
}

.home-impact strong {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  margin-bottom: 5px;
}

.home-impact span {
  display: block;
  color: #dff5e7;
  font-size: 12px;
  line-height: 1.2;
}

/* Réduction du scroll sur grands écrans */
@media (min-width: 1101px) {
  .home-premium {
    min-height: calc(100svh - 130px);
  }

  .home-premium-main,
  .home-premium-side {
    max-height: calc(100svh - 190px);
  }
}

/* Tablette */
@media (max-width: 1100px) {
  .home-premium {
    min-height: auto;
  }

  .home-premium-grid {
    grid-template-columns: 1fr;
  }

  .home-premium-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 720px) {
  .home-premium {
    padding: 13px;
    border-radius: 20px;
  }

  .home-premium-main,
  .home-premium-side {
    border-radius: 18px;
    padding: 18px;
  }

  .home-premium-main h1 {
    font-size: 40px;
    letter-spacing: -.055em;
  }

  .home-premium-meta {
    grid-template-columns: 1fr;
  }

  .home-premium-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-action-primary,
  .home-action-secondary {
    width: 100%;
    text-align: center;
  }

  .access-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .access-card em {
    display: none;
  }

  .home-impact {
    grid-template-columns: 1fr;
  }
}

/* Petit téléphone */
@media (max-width: 430px) {
  .home-premium {
    padding: 10px;
  }

  .home-premium-main h1 {
    font-size: 34px;
  }

  .home-premium-main p,
  .side-head p {
    font-size: 14px;
  }

  .home-theme-line span {
    font-size: 12px;
    padding: 7px 10px;
  }

  .home-top-line span,
  .home-top-line strong {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
/* =====================================================
   PLUS243 HOME PROGRAMME PREMIUM
===================================================== */

.p243-home-elite,
.p243-home-elite * {
  box-sizing: border-box;
}

.p243-home-elite {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: calc(100svh - 145px);
  display: grid;
  gap: 18px;
  padding: clamp(14px, 2vw, 24px);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(8,35,63,.97), rgba(7,81,52,.96)),
    radial-gradient(circle at top right, rgba(18,164,86,.24), transparent 34%);
  box-shadow: 0 24px 70px rgba(8, 35, 63, .18);
}

.p243-home-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.p243-eco-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(3px);
  opacity: .7;
  animation: p243Float 9s ease-in-out infinite;
}

.orb-a {
  width: 260px;
  height: 260px;
  top: -90px;
  right: 8%;
  background: rgba(18,164,86,.23);
}

.orb-b {
  width: 190px;
  height: 190px;
  left: -70px;
  bottom: 15%;
  background: rgba(246,184,75,.16);
  animation-delay: 1.2s;
}

.orb-c {
  width: 120px;
  height: 120px;
  right: 40%;
  bottom: 3%;
  background: rgba(255,255,255,.12);
  animation-delay: 2.3s;
}

.p243-eco-line {
  position: absolute;
  display: block;
  width: 420px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  transform: rotate(-24deg);
  animation: p243Light 7s linear infinite;
}

.line-a {
  top: 18%;
  left: -16%;
}

.line-b {
  bottom: 18%;
  right: -18%;
  animation-delay: 2.5s;
}

@keyframes p243Float {
  0%, 100% {
    transform: translate3d(0,0,0) scale(1);
  }

  50% {
    transform: translate3d(16px,-18px,0) scale(1.06);
  }
}

@keyframes p243Light {
  from {
    transform: translateX(-60px) rotate(-24deg);
  }

  to {
    transform: translateX(190px) rotate(-24deg);
  }
}

.p243-home-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  gap: 18px;
}

.p243-home-left,
.p243-home-right,
.p243-program-strip,
.p243-home-footer-line {
  min-width: 0;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

.p243-home-left {
  padding: clamp(20px, 3vw, 38px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(246,255,249,.96)),
    radial-gradient(circle at 88% 20%, rgba(10,122,58,.16), transparent 26%);
  animation: p243FadeUp .75s ease both;
}

.p243-home-right {
  padding: clamp(18px, 2.5vw, 28px);
  color: #fff;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  animation: p243FadeUp .85s ease both;
  animation-delay: .08s;
}

@keyframes p243FadeUp {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.p243-home-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.p243-home-labels span,
.p243-home-labels strong {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 950;
}

.p243-home-labels span {
  background: #0a7a3a;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.p243-home-labels strong {
  background: #fff;
  color: #08233f;
  border: 1px solid #dce8df;
}

.p243-home-left h1 {
  max-width: 850px;
  margin: 0 0 14px;
  color: #08233f;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: .92;
  letter-spacing: -.07em;
  font-weight: 950;
}

.p243-home-left h1 span {
  display: block;
  color: #0a7a3a;
}

.p243-home-left p {
  max-width: 800px;
  margin: 0;
  color: #344054;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.58;
}

.p243-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.p243-primary-action,
.p243-secondary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  padding: 13px 18px;
  font-weight: 950;
  text-decoration: none;
  transition: .18s;
  position: relative;
  overflow: hidden;
}

.p243-primary-action {
  background: #0a7a3a;
  color: #fff;
  box-shadow: 0 14px 28px rgba(10,122,58,.22);
}

.p243-secondary-action {
  background: #e9f8ef;
  color: #0a7a3a;
}

.p243-primary-action:hover,
.p243-secondary-action:hover {
  transform: translateY(-2px);
}

.p243-primary-action::after,
.p243-secondary-action::after,
.p243-theme-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  transform: skewX(-18deg);
  transition: .55s;
}

.p243-primary-action:hover::after,
.p243-secondary-action:hover::after,
.p243-theme-card:hover::after {
  left: 130%;
}

.p243-panel-label {
  display: inline-flex;
  color: #dff5e7;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.p243-featured-theme {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.p243-featured-date {
  padding: 14px 10px;
  border-radius: 18px;
  background: #fff;
  color: #08233f;
  text-align: center;
}

.p243-featured-date strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: #0a7a3a;
}

.p243-featured-date span {
  display: block;
  margin-top: 5px;
  font-weight: 950;
  font-size: 13px;
}

.p243-featured-theme h2 {
  color: #fff;
  margin: 0 0 8px;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.08;
}

.p243-featured-theme ul {
  margin: 0;
  padding-left: 18px;
}

.p243-featured-theme li {
  color: #e7f0ee;
  margin: 5px 0;
  line-height: 1.35;
}

.p243-click-note {
  margin: 16px 0 0;
  color: #dff5e7;
  font-size: 13.5px;
  line-height: 1.45;
}

.p243-program-strip {
  position: relative;
  z-index: 2;
  padding: 16px;
  background: rgba(255,255,255,.96);
}

.p243-program-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.p243-program-head span {
  color: #0a7a3a;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.p243-program-head h2 {
  margin: 4px 0 0;
  color: #08233f;
  font-size: clamp(22px, 2.8vw, 32px);
}

.p243-program-head small {
  color: #667085;
  font-weight: 800;
}

.p243-theme-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 350px);
  gap: 12px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.p243-theme-carousel::-webkit-scrollbar {
  height: 8px;
}

.p243-theme-carousel::-webkit-scrollbar-thumb {
  background: #0a7a3a;
  border-radius: 999px;
}

.p243-theme-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 46px 64px minmax(0, 1fr) 24px;
  gap: 10px;
  align-items: center;
  border: 1px solid #dce8df;
  border-radius: 20px;
  background: #fff;
  padding: 13px;
  cursor: pointer;
  text-align: left;
  scroll-snap-align: start;
  transition: .18s;
}

.p243-theme-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(8,35,63,.10);
}

.p243-theme-card.is-active {
  border-color: #0a7a3a;
  box-shadow: 0 0 0 4px rgba(10,122,58,.12), 0 14px 28px rgba(8,35,63,.10);
  animation: p243Blink 1.8s ease-in-out infinite;
}

@keyframes p243Blink {
  0%, 100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.08);
  }
}

.p243-theme-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #e9f8ef;
  font-size: 22px;
}

.p243-theme-date {
  border-radius: 14px;
  background: #08233f;
  color: #fff;
  padding: 9px 8px;
  text-align: center;
}

.p243-theme-date strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.p243-theme-date em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.p243-theme-content {
  min-width: 0;
}

.p243-theme-content strong {
  display: block;
  color: #0a5636;
  font-size: 15px;
  line-height: 1.18;
  margin-bottom: 5px;
}

.p243-theme-content small {
  display: block;
  color: #667085;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p243-theme-arrow {
  color: #0a7a3a;
  font-weight: 950;
  font-size: 20px;
}

.p243-home-footer-line {
  position: relative;
  z-index: 2;
  padding: 14px 18px;
  background: linear-gradient(135deg, #0a7a3a, #08233f);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  align-items: center;
}

.p243-home-footer-line strong {
  font-size: clamp(16px, 2vw, 22px);
  font-style: italic;
}

.p243-home-footer-line span {
  color: #dff5e7;
  font-size: 13px;
}

/* MODAL */

.p243-theme-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.p243-theme-modal.open {
  display: block;
}

.p243-theme-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,35,63,.64);
  backdrop-filter: blur(6px);
}

.p243-theme-modal-box {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, calc(100% - 28px));
  transform: translate(-50%, -50%);
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  animation: p243ModalPop .25s ease both;
}

@keyframes p243ModalPop {
  from {
    opacity: 0;
    transform: translate(-50%, -46%) scale(.96);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.p243-theme-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #e9f8ef;
  color: #0a7a3a;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.p243-modal-label {
  display: inline-flex;
  color: #0a7a3a;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 950;
  margin-bottom: 10px;
}

.p243-theme-modal-box h2 {
  color: #08233f;
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.08;
}

.p243-modal-date {
  color: #0a7a3a;
  font-weight: 950;
  margin: 0 0 12px;
}

.p243-modal-points {
  color: #667085;
  line-height: 1.5;
  margin-bottom: 18px;
}

.p243-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* TABLETTE */
@media (max-width: 1100px) {
  .p243-home-elite {
    min-height: auto;
  }

  .p243-home-top {
    grid-template-columns: 1fr;
  }
}

/* MOBILE */
@media (max-width: 720px) {
  .p243-home-elite {
    padding: 12px;
    border-radius: 22px;
  }

  .p243-home-left,
  .p243-home-right,
  .p243-program-strip,
  .p243-home-footer-line {
    border-radius: 18px;
  }

  .p243-home-left h1 {
    font-size: 38px;
    letter-spacing: -.055em;
  }

  .p243-home-actions,
  .p243-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .p243-home-actions a,
  .p243-modal-actions a {
    width: 100%;
  }

  .p243-featured-theme {
    grid-template-columns: 1fr;
  }

  .p243-featured-date {
    width: 120px;
  }

  .p243-program-head {
    display: grid;
  }

  .p243-theme-carousel {
    grid-auto-columns: minmax(255px, 86vw);
  }

  .p243-theme-card {
    grid-template-columns: 42px 58px minmax(0, 1fr);
  }

  .p243-theme-arrow {
    display: none;
  }

  .p243-home-footer-line {
    display: grid;
  }
}

/* PETIT TÉLÉPHONE */
@media (max-width: 430px) {
  .p243-home-left h1 {
    font-size: 32px;
  }

  .p243-home-left p {
    font-size: 14px;
  }

  .p243-home-labels span,
  .p243-home-labels strong {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .p243-theme-card {
    grid-template-columns: 1fr;
  }

  .p243-theme-icon,
  .p243-featured-date {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p243-home-elite *,
  .p243-eco-orb,
  .p243-eco-line {
    animation: none !important;
    transition: none !important;
  }
}
/* =====================================================
   PLUS243 PARTICIPANT / INTERVENANT THEME PREMIUM
===================================================== */

.p243-form-premium-page,
.p243-form-premium-page * {
  box-sizing: border-box;
}

.p243-form-premium-page {
  display: grid;
  gap: 18px;
  width: 100%;
}

.p243-theme-alert {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 110px;
  gap: 16px;
  align-items: center;
  padding: clamp(18px, 2.5vw, 26px);
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 20%, rgba(18,164,86,.22), transparent 30%),
    linear-gradient(135deg, #08233f, #0a5636);
  color: #fff;
  box-shadow: 0 24px 60px rgba(8, 35, 63, .18);
}

.p243-theme-alert::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transform: translateX(-100%);
  animation: p243ThemeLight 4.8s linear infinite;
}

@keyframes p243ThemeLight {
  to {
    transform: translateX(100%);
  }
}

.p243-theme-alert.today,
.p243-theme-alert.selected {
  animation: p243ThemePulse 1.9s ease-in-out infinite;
}

@keyframes p243ThemePulse {
  0%, 100% {
    box-shadow: 0 24px 60px rgba(8, 35, 63, .18), 0 0 0 0 rgba(18,164,86,.45);
  }

  50% {
    box-shadow: 0 24px 60px rgba(8, 35, 63, .18), 0 0 0 9px rgba(18,164,86,0);
  }
}

.p243-theme-date-badge,
.p243-theme-time {
  position: relative;
  z-index: 2;
  background: #fff;
  color: #08233f;
  border-radius: 20px;
  padding: 15px 12px;
  text-align: center;
}

.p243-theme-date-badge strong {
  display: block;
  color: #0a7a3a;
  font-size: 40px;
  line-height: 1;
}

.p243-theme-date-badge span,
.p243-theme-time span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 950;
}

.p243-theme-time small {
  display: block;
  color: #0a7a3a;
  font-weight: 950;
  text-transform: uppercase;
  font-size: 11px;
}

.p243-theme-time strong {
  display: block;
  margin-top: 4px;
  font-size: 26px;
  color: #08233f;
}

.p243-theme-alert-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.p243-theme-alert-content > span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  color: #dff5e7;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.p243-theme-alert-content h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(24px, 3.5vw, 42px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.p243-theme-alert-content p {
  margin: 0;
  color: #e7f0ee;
  line-height: 1.45;
}

.p243-theme-points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.p243-theme-points em {
  display: inline-flex;
  font-style: normal;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.p243-form-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: start;
}

.p243-form-intro,
.p243-form-box {
  min-width: 0;
  padding: clamp(18px, 2.5vw, 26px);
  background: rgba(255,255,255,.98);
  border: 1px solid #dce8df;
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(8,35,63,.09);
}

.p243-form-intro {
  position: sticky;
  top: 92px;
}

.p243-form-kicker,
.p243-form-head span {
  display: inline-flex;
  color: #0a7a3a;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}

.p243-form-intro h2,
.p243-form-head h2 {
  margin: 0 0 10px;
  color: #08233f;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.p243-form-intro h2 span {
  display: block;
  color: #0a7a3a;
}

.p243-form-intro p,
.p243-form-head p {
  color: #667085;
  line-height: 1.55;
}

.p243-form-mini-grid {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.p243-form-mini-grid div {
  padding: 13px;
  border-radius: 16px;
  background: #f8fbf9;
  border: 1px solid #edf2ef;
}

.p243-form-mini-grid small {
  display: block;
  color: #0a7a3a;
  font-weight: 950;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.p243-form-mini-grid strong {
  color: #08233f;
}

.p243-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.p243-form-grid .full {
  grid-column: 1 / -1;
}

.p243-form-grid label {
  display: block;
  margin-bottom: 6px;
  color: #08233f;
  font-size: 14px;
  font-weight: 950;
}

.p243-form-grid input,
.p243-form-grid select,
.p243-form-grid textarea {
  width: 100%;
  border: 1px solid #cfdcd1;
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 15px;
  outline: none;
}

.p243-form-grid input:focus,
.p243-form-grid select:focus,
.p243-form-grid textarea:focus {
  border-color: #12a456;
  box-shadow: 0 0 0 4px rgba(18,164,86,.13);
}

.p243-form-grid textarea {
  min-height: 110px;
  resize: vertical;
}

.p243-consent-box {
  background: #f8fbf9;
  border: 1px solid #edf2ef;
  border-radius: 16px;
  padding: 14px;
}

.p243-consent-box label {
  display: flex;
  gap: 10px;
  margin: 0;
  color: #344054;
  line-height: 1.45;
}

.p243-consent-box input {
  width: auto;
  margin-top: 4px;
}

.p243-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1050px) {
  .p243-theme-alert {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .p243-theme-time {
    grid-column: 1 / -1;
  }

  .p243-form-layout {
    grid-template-columns: 1fr;
  }

  .p243-form-intro {
    position: static;
  }
}

@media (max-width: 720px) {
  .p243-theme-alert {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .p243-theme-date-badge,
  .p243-theme-time {
    width: 140px;
  }

  .p243-form-intro,
  .p243-form-box {
    border-radius: 18px;
    padding: 17px;
  }

  .p243-form-grid {
    grid-template-columns: 1fr;
  }

  .p243-form-grid .full {
    grid-column: auto;
  }

  .p243-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .p243-form-actions a,
  .p243-form-actions button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .p243-theme-date-badge,
  .p243-theme-time {
    width: 100%;
  }

  .p243-theme-alert-content h1 {
    font-size: 25px;
  }

  .p243-theme-points em {
    width: 100%;
  }
}

/* =====================================================
   CORRECTION FINALE — CLIGNOTEMENT THEME DU JOUR
   À PLACER TOUT EN BAS DU FICHIER style.css
===================================================== */

/* Carte active : compatible avec toutes tes versions */
.px-theme-card.active,
.x243-card.active,
.p243-theme-card.is-active {
  position: relative !important;
  isolation: isolate !important;
  overflow: visible !important;
  border: 2px solid #0a7a3a !important;
  background: linear-gradient(135deg, #ffffff, #effff5) !important;
  box-shadow:
    0 0 0 5px rgba(10, 122, 58, 0.18),
    0 0 32px rgba(10, 122, 58, 0.45),
    0 18px 42px rgba(8, 35, 63, 0.18) !important;
  animation: plus243ThemeStrongBlink 1.15s ease-in-out infinite !important;
}

/* Badge visible sur le thème du jour */
.px-theme-card.active::before,
.x243-card.active::before,
.p243-theme-card.is-active::before {
  content: "THÈME DU JOUR";
  position: absolute !important;
  top: -11px !important;
  right: 12px !important;
  z-index: 20 !important;
  padding: 6px 11px !important;
  border-radius: 999px !important;
  background: #0a7a3a !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  letter-spacing: 0.05em !important;
  box-shadow: 0 8px 22px rgba(10, 122, 58, 0.35) !important;
  animation: plus243BadgeFlash 0.85s ease-in-out infinite !important;
}

/* Halo extérieur animé */
.px-theme-card.active::after,
.x243-card.active::after,
.p243-theme-card.is-active::after {
  content: "" !important;
  position: absolute !important;
  inset: -7px !important;
  left: -7px !important;
  top: -7px !important;
  width: auto !important;
  height: auto !important;
  z-index: -1 !important;
  border-radius: 26px !important;
  background: transparent !important;
  border: 2px solid rgba(10, 122, 58, 0.45) !important;
  transform: none !important;
  transition: none !important;
  animation: plus243ThemeHalo 1.55s ease-out infinite !important;
  pointer-events: none !important;
}

/* Contenu au-dessus */
.px-theme-card.active > *,
.x243-card.active > *,
.p243-theme-card.is-active > * {
  position: relative !important;
  z-index: 5 !important;
}

/* Icône du thème actif */
.px-theme-card.active .px-icon,
.x243-card.active .x243-icon,
.p243-theme-card.is-active .p243-theme-icon {
  background: #0a7a3a !important;
  color: #ffffff !important;
  animation: plus243IconPulse 1s ease-in-out infinite !important;
}

/* Date du thème actif */
.px-theme-card.active .px-theme-date,
.x243-card.active .x243-card-date,
.p243-theme-card.is-active .p243-theme-date {
  background: #0a7a3a !important;
  color: #ffffff !important;
}

/* Titre du thème actif */
.px-theme-card.active .px-theme-content strong,
.x243-card.active .x243-card-content strong,
.p243-theme-card.is-active .p243-theme-content strong {
  color: #064f2a !important;
  font-weight: 950 !important;
}

/* Grand bloc thème sur participants.php et intervenants.php */
.p243-theme-alert.today,
.p243-theme-alert.selected {
  animation:
    plus243HeaderBlink 1.2s ease-in-out infinite,
    plus243HeaderFloat 4s ease-in-out infinite !important;
  box-shadow:
    0 24px 60px rgba(8, 35, 63, 0.24),
    0 0 0 6px rgba(10, 122, 58, 0.16),
    0 0 38px rgba(10, 122, 58, 0.45) !important;
}

/* Badge dans participants/intervenants */
.p243-theme-alert.today .p243-theme-alert-content > span,
.p243-theme-alert.selected .p243-theme-alert-content > span {
  background: #ffffff !important;
  color: #0a7a3a !important;
  border-color: #ffffff !important;
  animation: plus243BadgeFlash 0.9s ease-in-out infinite !important;
}

/* Animations */
@keyframes plus243ThemeStrongBlink {
  0% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }

  50% {
    transform: translateY(-5px) scale(1.025);
    filter: brightness(1.13);
  }

  100% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
}

@keyframes plus243ThemeHalo {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes plus243BadgeFlash {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(1.08);
  }
}

@keyframes plus243IconPulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.16);
  }
}

@keyframes plus243HeaderBlink {
  0%, 100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.15);
  }
}

@keyframes plus243HeaderFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* Mobile : badge bien placé */
@media (max-width: 720px) {
  .px-theme-card.active::before,
  .x243-card.active::before,
  .p243-theme-card.is-active::before {
    top: -10px !important;
    right: 10px !important;
    font-size: 9px !important;
  }

  .px-theme-card.active,
  .x243-card.active,
  .p243-theme-card.is-active {
    animation: plus243ThemeStrongBlinkMobile 1.25s ease-in-out infinite !important;
  }
}

@keyframes plus243ThemeStrongBlinkMobile {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.025);
    filter: brightness(1.12);
  }
}

/* Même si le téléphone réduit les animations, on garde une animation légère */
@media (prefers-reduced-motion: reduce) {
  .px-theme-card.active,
  .x243-card.active,
  .p243-theme-card.is-active {
    animation: plus243ThemeSoftBlink 1.6s ease-in-out infinite !important;
  }

  .p243-theme-alert.today,
  .p243-theme-alert.selected {
    animation: plus243ThemeSoftBlink 1.6s ease-in-out infinite !important;
  }
}

@keyframes plus243ThemeSoftBlink {
  0%, 100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.12);
  }
}
/* =====================================================
   BOUTON CONNEXION COMPTE EXISTANT — PLUS243
===================================================== */

.p243-account-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  padding: 13px 18px;
  font-weight: 950;
  text-decoration: none;
  color: #08233f !important;
  background: #ffffff;
  border: 1px solid #dce8df;
  box-shadow: 0 10px 24px rgba(8, 35, 63, 0.08);
  transition: 0.18s ease;
  position: relative;
  overflow: hidden;
}

.p243-account-action:hover {
  color: #0a7a3a !important;
  border-color: #0a7a3a;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(10, 122, 58, 0.16);
}

.p243-account-action::before {
  content: "🔐";
  margin-right: 8px;
}

.p243-account-action::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(10, 122, 58, 0.12), transparent);
  transform: skewX(-18deg);
  transition: 0.55s;
}

.p243-account-action:hover::after {
  left: 130%;
}

@media (max-width: 720px) {
  .p243-account-action {
    width: 100%;
    text-align: center;
  }
}
/* =====================================================
   PLUS243 HOME AUDIO + THEME PREMIUM FINAL
   À placer tout en bas du fichier style.css
===================================================== */

.pxhome,
.pxhome * {
  box-sizing: border-box;
}

.pxhome {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 140px);
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(12px, 2vw, 22px);
  background:
    radial-gradient(circle at 78% 10%, rgba(35, 196, 105, .22), transparent 30%),
    radial-gradient(circle at 0% 80%, rgba(246, 184, 75, .14), transparent 28%),
    linear-gradient(135deg, #061d36 0%, #073b2a 48%, #08233f 100%);
  box-shadow: 0 28px 80px rgba(8, 35, 63, .22);
}

.pxhome-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.pxhome-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(3px);
  opacity: .78;
  animation: pxFloat 9s ease-in-out infinite;
}

.pxhome-orb.one {
  width: 280px;
  height: 280px;
  top: -100px;
  right: 8%;
  background: rgba(18, 164, 86, .24);
}

.pxhome-orb.two {
  width: 190px;
  height: 190px;
  bottom: 8%;
  left: -72px;
  background: rgba(246, 184, 75, .18);
  animation-delay: 1.5s;
}

.pxhome-orb.three {
  width: 120px;
  height: 120px;
  bottom: 5%;
  right: 38%;
  background: rgba(255,255,255,.12);
  animation-delay: 2.2s;
}

.pxhome-line {
  position: absolute;
  width: 460px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: rotate(-24deg);
  animation: pxLight 7s linear infinite;
}

.pxhome-line.a {
  top: 18%;
  left: -18%;
}

.pxhome-line.b {
  bottom: 20%;
  right: -18%;
  animation-delay: 2.6s;
}

@keyframes pxFloat {
  0%, 100% {
    transform: translate3d(0,0,0) scale(1);
  }

  50% {
    transform: translate3d(18px,-20px,0) scale(1.06);
  }
}

@keyframes pxLight {
  from {
    transform: translateX(-70px) rotate(-24deg);
  }

  to {
    transform: translateX(210px) rotate(-24deg);
  }
}

.pxhome-shell {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
}

.pxhome-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 16px;
  align-items: stretch;
}

.pxhome-main,
.pxhome-live,
.pxhome-program,
.pxhome-footer {
  min-width: 0;
  border-radius: 26px;
  box-shadow: 0 18px 45px rgba(0,0,0,.14);
}

.pxhome-main {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3.2vw, 40px);
  background:
    radial-gradient(circle at 88% 18%, rgba(10,122,58,.16), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.99), rgba(244,255,248,.96));
  animation: pxEnter .72s ease both;
}

.pxhome-main::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -95px;
  bottom: -95px;
  border-radius: 999px;
  background: rgba(10,122,58,.08);
}

.pxhome-live {
  padding: clamp(18px, 2.5vw, 28px);
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(18px);
  animation: pxEnter .85s ease both;
  animation-delay: .08s;
}

@keyframes pxEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pxhome-badges {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.pxhome-badges span,
.pxhome-badges strong {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 950;
}

.pxhome-badges span {
  color: #fff;
  background: #0a7a3a;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.pxhome-badges strong {
  color: #08233f;
  background: #fff;
  border: 1px solid #dce8df;
}

.pxhome-main h1 {
  position: relative;
  z-index: 2;
  margin: 0 0 14px;
  color: #08233f;
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: .92;
  letter-spacing: -.07em;
  font-weight: 950;
}

.pxhome-main h1 span {
  display: block;
  color: #0a7a3a;
}

.pxhome-main p {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0;
  color: #344054;
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.58;
}

.pxhome-cta {
  position: relative;
  z-index: 3;
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pxbtn,
.pxbtn-light {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  padding: 13px 18px;
  font-weight: 950;
  text-decoration: none;
  transition: .18s ease;
  position: relative;
  overflow: hidden;
}

.pxbtn {
  color: #fff;
  background: #0a7a3a;
  box-shadow: 0 14px 28px rgba(10,122,58,.23);
}

.pxbtn-light {
  color: #0a7a3a;
  background: #e9f8ef;
}

.pxbtn:hover,
.pxbtn-light:hover {
  transform: translateY(-2px);
}

.px-audio-invite {
  position: relative;
  z-index: 3;
  margin-top: 22px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 15px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #f2fff7);
  border: 1px solid #dce8df;
  box-shadow:
    0 16px 35px rgba(8, 35, 63, 0.10),
    0 0 0 4px rgba(10, 122, 58, 0.05);
  overflow: hidden;
}

.px-audio-invite::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(10, 122, 58, 0.10), transparent);
  transform: translateX(-100%);
  animation: pxAudioLight 4s linear infinite;
}

@keyframes pxAudioLight {
  to {
    transform: translateX(100%);
  }
}

.px-audio-icon {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #0a7a3a;
  box-shadow: 0 12px 28px rgba(10, 122, 58, 0.25);
}

.px-audio-icon::before {
  content: "▶";
  color: #ffffff;
  font-size: 22px;
  font-weight: 950;
  margin-left: 3px;
}

.px-audio-icon span {
  position: absolute;
  inset: -7px;
  border-radius: 24px;
  border: 2px solid rgba(10, 122, 58, 0.35);
  animation: pxAudioPulse 1.5s ease-out infinite;
}

@keyframes pxAudioPulse {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

.px-audio-text {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.px-audio-text strong {
  display: block;
  color: #08233f;
  font-size: 17px;
  margin-bottom: 5px;
}

.px-audio-text p {
  margin: 0 0 10px;
  color: #667085;
  font-size: 14px;
  line-height: 1.45;
}

.px-audio-text audio {
  width: 100%;
  height: 42px;
  display: block;
}

.pxhome-today-label {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  color: #dff5e7;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}

.pxhome-today-label.today {
  background: #0a7a3a;
  color: #fff;
  animation: pxPulse 1.2s ease-in-out infinite;
}

@keyframes pxPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(18,164,86,.45);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(18,164,86,0);
  }
}

.px-featured {
  display: grid;
  grid-template-columns: 92px minmax(0,1fr);
  gap: 14px;
  align-items: start;
}

.px-date-box {
  padding: 14px 10px;
  border-radius: 18px;
  background: #fff;
  color: #08233f;
  text-align: center;
}

.px-date-box strong {
  display: block;
  color: #0a7a3a;
  font-size: 34px;
  line-height: 1;
}

.px-date-box span {
  display: block;
  margin-top: 5px;
  font-weight: 950;
  font-size: 13px;
}

.px-featured h2 {
  color: #fff;
  margin: 0 0 8px;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.08;
}

.px-featured p {
  margin: 0 0 10px;
  color: #dff5e7;
  line-height: 1.45;
}

.px-featured ul {
  margin: 0;
  padding-left: 18px;
}

.px-featured li {
  color: #eef8f1;
  margin: 4px 0;
  line-height: 1.35;
}

.px-live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
  margin-top: 18px;
}

.px-live-grid div {
  min-width: 0;
  padding: 12px;
  border-radius: 15px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
}

.px-live-grid small {
  display: block;
  color: #dff5e7;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.px-live-grid strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
}

.pxhome-program {
  position: relative;
  z-index: 2;
  padding: 16px;
  background: rgba(255,255,255,.97);
}

.px-program-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 12px;
}

.px-program-head span {
  color: #0a7a3a;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.px-program-head h2 {
  margin: 4px 0 0;
  color: #08233f;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.1;
}

.px-program-head small {
  color: #667085;
  font-weight: 800;
}

.px-theme-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 355px);
  gap: 12px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.px-theme-card {
  position: relative;
  isolation: isolate;
  overflow: visible;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 46px 64px minmax(0,1fr) 22px;
  gap: 10px;
  align-items: center;
  border: 1px solid #dce8df;
  border-radius: 20px;
  background: #fff;
  padding: 13px;
  cursor: pointer;
  text-align: left;
  scroll-snap-align: start;
  transition: .18s ease;
}

.px-theme-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(8,35,63,.10);
}

.px-theme-card.active {
  border: 2px solid #0a7a3a;
  background: linear-gradient(135deg, #ffffff, #effff5);
  box-shadow:
    0 0 0 5px rgba(10, 122, 58, 0.18),
    0 0 32px rgba(10, 122, 58, 0.45),
    0 18px 42px rgba(8, 35, 63, 0.18);
  animation: plus243ThemeStrongBlink 1.15s ease-in-out infinite;
}

.px-theme-card.active::before {
  content: "THÈME DU JOUR";
  position: absolute;
  top: -11px;
  right: 12px;
  z-index: 20;
  padding: 6px 11px;
  border-radius: 999px;
  background: #0a7a3a;
  color: #ffffff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 22px rgba(10, 122, 58, 0.35);
  animation: plus243BadgeFlash 0.85s ease-in-out infinite;
}

.px-theme-card.active::after {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border-radius: 26px;
  border: 2px solid rgba(10, 122, 58, 0.45);
  animation: plus243ThemeHalo 1.55s ease-out infinite;
  pointer-events: none;
}

.px-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #e9f8ef;
  font-size: 22px;
}

.px-theme-card.active .px-icon {
  background: #0a7a3a;
  color: #ffffff;
  animation: plus243IconPulse 1s ease-in-out infinite;
}

.px-theme-date {
  padding: 9px 8px;
  border-radius: 14px;
  background: #08233f;
  color: #fff;
  text-align: center;
}

.px-theme-card.active .px-theme-date {
  background: #0a7a3a;
}

.px-theme-date strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.px-theme-date em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.px-theme-content {
  min-width: 0;
}

.px-theme-content strong {
  display: block;
  color: #0a5636;
  font-size: 15px;
  line-height: 1.18;
  margin-bottom: 5px;
}

.px-theme-content small {
  display: block;
  color: #667085;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.px-arrow {
  color: #0a7a3a;
  font-size: 20px;
  font-weight: 950;
}

.pxhome-footer {
  position: relative;
  z-index: 2;
  padding: 14px 18px;
  background: linear-gradient(135deg, #0a7a3a, #08233f);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  align-items: center;
}

.pxhome-footer strong {
  font-size: clamp(16px, 2vw, 22px);
  font-style: italic;
}

.pxhome-footer span {
  color: #dff5e7;
  font-size: 13px;
}

.pxmodal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.pxmodal.open {
  display: block;
}

.pxmodal-bg {
  position: absolute;
  inset: 0;
  background: rgba(8,35,63,.66);
  backdrop-filter: blur(6px);
}

.pxmodal-box {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(570px, calc(100% - 28px));
  transform: translate(-50%, -50%);
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.pxmodal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #e9f8ef;
  color: #0a7a3a;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.pxmodal-label {
  color: #0a7a3a;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 950;
}

.pxmodal-box h2 {
  color: #08233f;
  margin: 10px 0 8px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.08;
}

.pxmodal-date {
  color: #0a7a3a;
  font-weight: 950;
  margin: 0 0 12px;
}

.pxmodal-text {
  color: #667085;
  line-height: 1.5;
  margin-bottom: 18px;
}

.pxmodal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@keyframes plus243ThemeStrongBlink {
  0% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }

  50% {
    transform: translateY(-5px) scale(1.025);
    filter: brightness(1.13);
  }

  100% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
}

@keyframes plus243ThemeHalo {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes plus243BadgeFlash {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(1.08);
  }
}

@keyframes plus243IconPulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.16);
  }
}

@media (max-width: 1100px) {
  .pxhome {
    min-height: auto;
  }

  .pxhome-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .pxhome {
    padding: 12px;
    border-radius: 22px;
  }

  .pxhome-main,
  .pxhome-live,
  .pxhome-program,
  .pxhome-footer {
    border-radius: 18px;
  }

  .pxhome-main h1 {
    font-size: 38px;
    letter-spacing: -.055em;
  }

  .px-audio-invite {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .px-audio-icon {
    margin: 0 auto;
  }

  .pxhome-cta,
  .pxmodal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pxhome-cta a,
  .pxmodal-actions a {
    width: 100%;
  }

  .px-featured {
    grid-template-columns: 1fr;
  }

  .px-date-box {
    width: 120px;
  }

  .px-live-grid {
    grid-template-columns: 1fr;
  }

  .px-program-head {
    display: grid;
  }

  .px-theme-row {
    grid-auto-columns: minmax(255px, 86vw);
  }

  .px-theme-card {
    grid-template-columns: 42px 58px minmax(0,1fr);
  }

  .px-arrow {
    display: none;
  }

  .pxhome-footer {
    display: grid;
  }
}

@media (max-width: 430px) {
  .pxhome-main h1 {
    font-size: 32px;
  }

  .pxhome-main p {
    font-size: 14px;
  }

  .pxhome-badges span,
  .pxhome-badges strong {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .px-theme-card {
    grid-template-columns: 1fr;
  }

  .px-icon,
  .px-date-box {
    width: auto;
  }
}
/* =====================================================
   LOGIN / DASHBOARD / PARTNER / PROFILE / USERS
===================================================== */

.p243-login-page {
  min-height: 65vh;
  display: grid;
  place-items: center;
}

.p243-login-card {
  width: min(520px, 100%);
  background: #fff;
  border: 1px solid #dce8df;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(8, 35, 63, 0.09);
  padding: clamp(20px, 3vw, 34px);
}

.p243-login-card h1 {
  margin: 12px 0 8px;
  color: #08233f;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1;
}

.p243-login-card p {
  color: #667085;
  line-height: 1.5;
}

.p243-login-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.p243-login-links {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.p243-dashboard-page,
.p243-partner-page,
.p243-profile-page {
  display: grid;
  gap: 18px;
}

.p243-dashboard-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: clamp(18px, 3vw, 28px);
  background: linear-gradient(135deg, #08233f, #0a5636);
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(8,35,63,.14);
}

.p243-dashboard-hero h1 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1;
}

.p243-dashboard-hero p {
  color: #dff5e7;
  line-height: 1.5;
  margin: 0;
}

.p243-dashboard-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.p243-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.p243-dashboard-stats.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 14px 0;
}

.p243-dashboard-stats div {
  background: #fff;
  border: 1px solid #dce8df;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(8,35,63,.07);
}

.p243-dashboard-stats small {
  display: block;
  color: #667085;
  font-weight: 950;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 5px;
}

.p243-dashboard-stats strong {
  display: block;
  color: #08233f;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1;
  word-break: break-word;
}

.p243-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.p243-mini-list {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.p243-mini-list div {
  background: #f8fbf9;
  border: 1px solid #edf2ef;
  border-radius: 14px;
  padding: 11px 13px;
  color: #344054;
  font-weight: 800;
}

.p243-theme-admin-list {
  display: grid;
  gap: 18px;
}

.p243-theme-admin-card {
  background: #fff;
  border: 1px solid #dce8df;
  border-radius: 24px;
  box-shadow: 0 14px 35px rgba(8,35,63,.08);
  padding: clamp(18px, 2.5vw, 26px);
}

.p243-theme-admin-head {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.p243-theme-admin-date {
  background: #0a7a3a;
  color: #fff;
  border-radius: 18px;
  padding: 14px 10px;
  text-align: center;
}

.p243-theme-admin-date strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.p243-theme-admin-date span {
  display: block;
  margin-top: 5px;
  font-weight: 950;
}

.p243-theme-admin-card h2 {
  margin: 10px 0 8px;
  color: #08233f;
}

.p243-theme-admin-card h3 {
  color: #08233f;
  margin-top: 18px;
}

.p243-inline-admin-form {
  display: grid;
  gap: 8px;
  min-width: 220px;
}

.p243-inline-admin-form input,
.p243-inline-admin-form select {
  min-width: 180px;
}

@media (max-width: 900px) {
  .p243-dashboard-hero {
    display: grid;
  }

  .p243-dashboard-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .p243-dashboard-actions a {
    width: 100%;
  }

  .p243-dashboard-stats,
  .p243-dashboard-stats.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p243-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .p243-dashboard-stats,
  .p243-dashboard-stats.compact {
    grid-template-columns: 1fr;
  }

  .p243-theme-admin-head {
    grid-template-columns: 1fr;
  }

  .p243-theme-admin-date {
    width: 110px;
  }
}
/* =====================================================
   FIX ADMIN PROFILE + PARTNER DASHBOARD PRO
===================================================== */

.p243admin-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.p243admin-user-chip {
  min-height: 48px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 9px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  min-width: 210px;
}

.p243admin-user-chip span {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #0a7a3a;
}

.p243admin-user-chip strong {
  display: block;
  color: #fff;
  font-size: 13px;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p243admin-user-chip small {
  display: block;
  color: #dff5e7;
  font-size: 11px;
  font-weight: 850;
}

.p243admin-logout-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 11px 14px;
  background: #fff;
  color: #0a7a3a;
  font-weight: 950;
}

.p243-sidebar-profile {
  margin-top: 8px;
  background: #e9f8ef !important;
  color: #0a7a3a !important;
}

.p243-sidebar-logout {
  background: #fff1f0 !important;
  color: #b42318 !important;
}

/* PROFILE */
.p243-profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: start;
}

.p243-profile-summary {
  position: sticky;
  top: 92px;
}

.p243-profile-avatar {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  margin: 18px 0;
  background: linear-gradient(135deg, #0a7a3a, #08233f);
  color: #fff;
  font-size: 38px;
  font-weight: 950;
  box-shadow: 0 16px 35px rgba(8,35,63,.18);
}

.p243-password-zone {
  padding: 14px;
  border-radius: 16px;
  background: #f8fbf9;
  border: 1px solid #edf2ef;
}

.p243-password-zone h3 {
  margin: 0 0 5px;
  color: #08233f;
}

.p243-password-zone p {
  margin: 0;
  color: #667085;
}

/* PARTNER DASHBOARD */
.partner-pro-page,
.partner-pro-page * {
  box-sizing: border-box;
}

.partner-pro-page {
  display: grid;
  gap: 16px;
}

.partner-pro-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: clamp(18px, 2.8vw, 28px);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(18,164,86,.24), transparent 30%),
    linear-gradient(135deg, #08233f, #0a5636);
  box-shadow: 0 22px 55px rgba(8,35,63,.16);
}

.partner-kicker {
  display: inline-flex;
  color: #dff5e7;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.partner-kicker.light {
  color: #0a7a3a;
}

.partner-pro-hero h1 {
  margin: 8px 0 8px;
  color: #fff;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1;
  letter-spacing: -.04em;
}

.partner-pro-hero p {
  margin: 0;
  color: #e7f0ee;
  line-height: 1.5;
}

.partner-pro-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.partner-pro-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}

.partner-pro-stats > div,
.partner-pro-card {
  min-width: 0;
  background: rgba(255,255,255,.98);
  border: 1px solid #dce8df;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(8,35,63,.08);
}

.partner-pro-stats > div {
  padding: 15px;
  border-left: 5px solid #0a7a3a;
}

.partner-pro-stats small,
.partner-theme-mini-stats small,
.partner-account-list small {
  display: block;
  color: #667085;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 5px;
}

.partner-pro-stats strong,
.partner-theme-mini-stats strong {
  display: block;
  color: #08233f;
  font-size: clamp(26px, 3.8vw, 34px);
  line-height: 1;
}

.partner-pro-stats span {
  display: block;
  margin-top: 5px;
  color: #667085;
  font-size: 13px;
}

.partner-pro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}

.partner-pro-card {
  padding: clamp(16px, 2.2vw, 22px);
}

.partner-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.partner-card-head h2 {
  margin: 6px 0 0;
  color: #08233f;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.08;
}

.current-theme-card {
  background:
    radial-gradient(circle at 90% 20%, rgba(10,122,58,.12), transparent 30%),
    #ffffff;
}

.partner-date-badge {
  flex: 0 0 auto;
  min-width: 72px;
  padding: 10px;
  border-radius: 17px;
  text-align: center;
  background: #0a7a3a;
  color: #fff;
}

.partner-date-badge strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.partner-date-badge span {
  font-size: 12px;
  font-weight: 950;
}

.partner-theme-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
  margin: 14px 0;
}

.partner-theme-mini-stats div,
.partner-account-list div {
  padding: 12px;
  border-radius: 15px;
  background: #f8fbf9;
  border: 1px solid #edf2ef;
}

.partner-theme-mini-stats strong {
  font-size: 22px;
}

.partner-mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.partner-mini-points span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e9f8ef;
  color: #0a7a3a;
  font-size: 12px;
  font-weight: 900;
}

.partner-account-list {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.partner-account-list strong {
  display: block;
  color: #08233f;
  font-size: 15px;
  word-break: break-word;
}

.partner-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.partner-theme-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 230px);
  gap: 10px;
  overflow-x: auto;
  padding: 4px 4px 10px;
}

.partner-theme-pill {
  padding: 13px;
  border-radius: 17px;
  background: #f8fbf9;
  border: 1px solid #edf2ef;
}

.partner-theme-pill.active {
  background: #0a7a3a;
  color: #fff;
  border-color: #0a7a3a;
  box-shadow: 0 12px 28px rgba(10,122,58,.22);
}

.partner-theme-pill strong,
.partner-theme-pill span,
.partner-theme-pill small {
  display: block;
}

.partner-theme-pill strong {
  color: inherit;
  margin-bottom: 4px;
}

.partner-theme-pill span {
  font-weight: 900;
  color: inherit;
  line-height: 1.25;
}

.partner-theme-pill small {
  margin-top: 6px;
  color: #667085;
  line-height: 1.35;
}

.partner-theme-pill.active small {
  color: #dff5e7;
}

.partner-compact-list {
  display: grid;
  gap: 8px;
}

.partner-compact-list > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #f8fbf9;
  border: 1px solid #edf2ef;
}

.partner-compact-list strong {
  display: block;
  color: #08233f;
  font-size: 15px;
}

.partner-compact-list span,
.partner-compact-list small {
  display: block;
  color: #667085;
  font-size: 12.5px;
  line-height: 1.35;
}

.partner-compact-list a {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  background: #e9f8ef;
  color: #0a7a3a;
  font-size: 12px;
  font-weight: 950;
}

.partner-empty {
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  background: #f8fbf9;
  color: #667085;
  font-weight: 800;
}

@media (max-width: 1050px) {
  .partner-pro-hero {
    display: grid;
  }

  .partner-pro-actions {
    justify-content: stretch;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .partner-pro-actions a {
    width: 100%;
  }

  .partner-pro-stats {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .partner-pro-grid,
  .p243-profile-grid {
    grid-template-columns: 1fr;
  }

  .p243-profile-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .p243admin-head {
    display: grid;
  }

  .p243admin-top-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .p243admin-user-chip,
  .p243admin-logout-btn,
  .p243admin-menu-btn {
    width: 100%;
  }

  .partner-pro-actions {
    grid-template-columns: 1fr;
  }

  .partner-pro-stats {
    grid-template-columns: 1fr;
  }

  .partner-card-head {
    display: grid;
  }

  .partner-theme-mini-stats {
    grid-template-columns: 1fr;
  }

  .partner-compact-list > div {
    display: grid;
  }

  .partner-compact-list a {
    width: max-content;
  }
}
/* =====================================================
   PLUS243 DASHBOARD VISIBILITÉ SUGGESTIONS
===================================================== */

.p243-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.p243-personal-list,
.p243-admin-cards-list,
.partner-table-list {
  display: grid;
  gap: 12px;
}

.p243-personal-item,
.p243-admin-person-card,
.partner-line-card {
  background: #ffffff;
  border: 1px solid #dce8df;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(8, 35, 63, 0.06);
}

.p243-personal-item {
  display: grid;
  gap: 12px;
}

.p243-personal-item strong,
.p243-admin-person-head strong,
.partner-line-card strong {
  display: block;
  color: #08233f;
  font-size: 17px;
  line-height: 1.25;
}

.p243-personal-item span,
.p243-admin-person-head span,
.partner-line-card span {
  display: block;
  color: #667085;
  font-size: 13px;
  margin-top: 4px;
}

.p243-personal-item small,
.p243-suggestion-box small,
.p243-admin-suggestion small,
.p243-admin-person-grid small,
.partner-line-card small {
  display: block;
  color: #0a7a3a;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}

.p243-suggestion-box,
.p243-admin-suggestion {
  background: #f8fbf9;
  border: 1px solid #edf2ef;
  border-left: 4px solid #0a7a3a;
  border-radius: 16px;
  padding: 13px;
}

.p243-suggestion-box p,
.p243-admin-suggestion p,
.partner-line-card p {
  margin: 0;
  color: #344054;
  line-height: 1.45;
  font-size: 14px;
}

.p243-admin-person-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.p243-admin-person-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.p243-admin-person-grid div {
  min-width: 0;
  background: #f8fbf9;
  border: 1px solid #edf2ef;
  border-radius: 15px;
  padding: 12px;
}

.p243-admin-person-grid p {
  margin: 0;
  color: #344054;
  line-height: 1.35;
  word-break: break-word;
}

.p243-admin-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.p243-inline-update {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.p243-inline-update select {
  min-width: 150px;
}

.partner-line-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1.1fr) minmax(260px, 1.2fr) auto;
  gap: 12px;
  align-items: start;
}

.partner-line-card > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 12px;
  background: #e9f8ef;
  color: #0a7a3a;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

@media (max-width: 1050px) {
  .p243-admin-person-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-line-card {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .p243-section-head,
  .p243-admin-person-head {
    display: grid;
  }

  .p243-admin-person-grid,
  .partner-line-card {
    grid-template-columns: 1fr;
  }

  .p243-inline-update {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .p243-inline-update select,
  .p243-inline-update button,
  .partner-line-card > a {
    width: 100%;
  }
}