/* =========================
   BASE
   ========================= */

.orp-blur-name{
  filter: blur(5px);
  opacity: .55;
  user-select: none;
}

.orp-masked-admin{
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  opacity: .75;
}

.orp-classement{
  --cne-theme-blue: #0B429C;
  --cne-theme-blue-hover: #3A85B3;
  --cne-btn-primary-bg: #0B429C;
  --cne-btn-primary-border: #0B429C;
  --cne-btn-primary-text: #ffffff;
  --cne-btn-primary-hover-bg: #3A85B3;
  --cne-btn-primary-hover-border: #3A85B3;
  --cne-btn-primary-hover-text: #ffffff;
  --cne-btn-secondary-bg: linear-gradient(180deg, #ffffff, #f8fbff);
  --cne-btn-secondary-border: #0B429C;
  --cne-btn-secondary-text: #0B429C;
  --cne-btn-secondary-hover-bg: linear-gradient(180deg, #f6fbff, #eef6ff);
  --cne-btn-secondary-hover-border: #3A85B3;
  --cne-btn-secondary-hover-text: #3A85B3;
  --cne-btn-danger-bg: #dc2626;
  --cne-btn-danger-border: #b91c1c;
  --cne-btn-danger-text: #ffffff;
  --cne-btn-danger-hover-bg: #b91c1c;
  --cne-btn-danger-hover-border: #991b1b;
  --cne-btn-danger-hover-text: #ffffff;
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 12px;
}

.orp-classement-tabs-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin: 0 0 12px;
}

.orp-classement-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin: 0;
}

.orp-classement-intro{
  margin: 0 0 10px;
  padding: 0;
}

.orp-classement-intro-title{
  margin: 0;
  color: var(--cne-theme-blue);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: .03em;
}

.orp-classement-intro-text{
  max-width: 820px;
  margin: 8px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
}

.orp-classement-intro-context{
  display:inline-flex;
  margin: 10px 0 0;
  padding: 6px 10px;
  border: 1px solid rgba(11,66,156,.16);
  border-radius: 999px;
  background: rgba(11,66,156,.06);
  color: var(--cne-theme-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.orp-classement-intro-details{
  position: relative;
  max-width: none;
  margin: 0 0 0 auto;
  border: 0!important;
  background: transparent!important;
  box-shadow:none!important;
  padding:0!important;
}

.orp-classement-intro-details summary{
  display:inline-flex;
  align-items:center;
  gap:7px;
  cursor: pointer;
  min-height:0;
  padding: 0;
  border:0;
  border-radius:0;
  background:transparent;
  color: var(--cne-theme-blue);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  box-shadow:none;
  opacity:.82;
  transition:color .16s ease,opacity .16s ease;
}

.orp-classement-intro-details summary:before{
  content:"i";
  display:inline-grid;
  place-items:center;
  width:18px;
  height:18px;
  border-radius:999px;
  border:1px solid rgba(11,66,156,.20);
  background:rgba(11,66,156,.05);
  color:var(--cne-theme-blue);
  font-size:11px;
  font-family:Georgia, serif;
  font-style:italic;
  font-weight:700;
}

.orp-classement-intro-details summary:hover{
  color:#153a7b;
  opacity:1;
  text-decoration:underline;
  text-underline-offset:3px;
}

.orp-classement-intro-details ul{
  position:absolute;
  z-index:5;
  right:0;
  left:auto;
  top:calc(100% + 8px);
  width:min(520px, calc(100vw - 40px));
  max-width: 720px;
  margin: 0;
  padding: 10px 14px 10px 28px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.orp-classement-intro-details li + li{
  margin-top: 5px;
}

@media (max-width: 720px){
  .orp-classement-tabs-row{
    align-items:flex-start;
  }

  .orp-classement-intro-details{
    margin-left:0;
  }

  .orp-classement-intro-details ul{
    left:0;
    right:auto;
  }
}

.orp-classement-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(11,66,156,.18);
  background: linear-gradient(180deg, rgba(11,66,156,.06), rgba(11,66,156,.02));
  color: var(--cne-theme-blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -.01em;
  transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.orp-classement-tab:hover{
  background: linear-gradient(180deg, rgba(58,133,179,.12), rgba(58,133,179,.05));
  border-color: rgba(58,133,179,.34);
  color: var(--cne-theme-blue);
  box-shadow: 0 4px 12px rgba(58,133,179,.10);
}

.orp-classement-tab.is-active{
  background: var(--cne-theme-blue);
  border-color: var(--cne-theme-blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(11,66,156,.18);
}

.orp-view-espace-saisie .button,
.orp-view-club-eleveurs .button,
.orp-view-saisie-texte .button{
  transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.orp-view-espace-saisie .button[disabled],
.orp-view-espace-saisie .button[aria-disabled="true"],
.orp-view-club-eleveurs .button[disabled],
.orp-view-club-eleveurs .button[aria-disabled="true"],
.orp-view-saisie-texte .button[disabled],
.orp-view-saisie-texte .button[aria-disabled="true"]{
  opacity: .65;
  pointer-events: none;
  cursor: default;
  box-shadow: none;
}

.orp-view-espace-saisie .button.button-primary,
.orp-view-club-eleveurs .button.button-primary,
.orp-view-saisie-texte .button.button-primary,
.orp-view-espace-saisie .button.orp-btn-primary,
.orp-view-club-eleveurs .button.orp-btn-primary,
.orp-view-saisie-texte .button.orp-btn-primary{
  border-color: var(--cne-btn-primary-border);
  background: var(--cne-btn-primary-bg);
  color: var(--cne-btn-primary-text);
}

.orp-view-espace-saisie .button.button-primary:hover,
.orp-view-espace-saisie .button.button-primary:focus,
.orp-view-club-eleveurs .button.button-primary:hover,
.orp-view-club-eleveurs .button.button-primary:focus,
.orp-view-saisie-texte .button.button-primary:hover,
.orp-view-saisie-texte .button.button-primary:focus,
.orp-view-espace-saisie .button.orp-btn-primary:hover,
.orp-view-espace-saisie .button.orp-btn-primary:focus,
.orp-view-club-eleveurs .button.orp-btn-primary:hover,
.orp-view-club-eleveurs .button.orp-btn-primary:focus,
.orp-view-saisie-texte .button.orp-btn-primary:hover,
.orp-view-saisie-texte .button.orp-btn-primary:focus{
  border-color: var(--cne-btn-primary-hover-border);
  background: var(--cne-btn-primary-hover-bg);
  color: var(--cne-btn-primary-hover-text);
}

.orp-view-espace-saisie .button.button-secondary,
.orp-view-club-eleveurs .button.button-secondary,
.orp-view-saisie-texte .button.button-secondary,
.orp-view-espace-saisie .button.orp-btn-secondary,
.orp-view-club-eleveurs .button.orp-btn-secondary,
.orp-view-saisie-texte .button.orp-btn-secondary{
  border-style: solid;
  border-width: 2px;
  border-color: var(--cne-btn-secondary-border);
  background: var(--cne-btn-secondary-bg);
  color: var(--cne-btn-secondary-text);
  box-shadow: 0 2px 8px rgba(11,66,156,.06);
}

.orp-view-espace-saisie .button.button-secondary:hover,
.orp-view-espace-saisie .button.button-secondary:focus,
.orp-view-club-eleveurs .button.button-secondary:hover,
.orp-view-club-eleveurs .button.button-secondary:focus,
.orp-view-saisie-texte .button.button-secondary:hover,
.orp-view-saisie-texte .button.button-secondary:focus,
.orp-view-espace-saisie .button.orp-btn-secondary:hover,
.orp-view-espace-saisie .button.orp-btn-secondary:focus,
.orp-view-club-eleveurs .button.orp-btn-secondary:hover,
.orp-view-club-eleveurs .button.orp-btn-secondary:focus,
.orp-view-saisie-texte .button.orp-btn-secondary:hover,
.orp-view-saisie-texte .button.orp-btn-secondary:focus{
  border-color: var(--cne-btn-secondary-hover-border);
  background: var(--cne-btn-secondary-hover-bg);
  color: var(--cne-btn-secondary-hover-text);
  box-shadow: 0 6px 14px rgba(58,133,179,.12);
}

.orp-classement .button.orp-btn-danger,
.orp-view-espace-saisie .button.orp-btn-danger,
.orp-view-club-eleveurs .button.orp-btn-danger,
.orp-view-saisie-texte .button.orp-btn-danger,
.orp-view-saisie-texte .button.orp-btn-delete{
  border-color: var(--cne-btn-danger-border);
  background: var(--cne-btn-danger-bg);
  color: var(--cne-btn-danger-text);
}

.orp-classement .button.orp-btn-danger:hover,
.orp-classement .button.orp-btn-danger:focus,
.orp-view-espace-saisie .button.orp-btn-danger:hover,
.orp-view-espace-saisie .button.orp-btn-danger:focus,
.orp-view-club-eleveurs .button.orp-btn-danger:hover,
.orp-view-club-eleveurs .button.orp-btn-danger:focus,
.orp-view-saisie-texte .button.orp-btn-danger:hover,
.orp-view-saisie-texte .button.orp-btn-danger:focus,
.orp-view-saisie-texte .button.orp-btn-delete:hover,
.orp-view-saisie-texte .button.orp-btn-delete:focus{
  border-color: var(--cne-btn-danger-hover-border);
  background: var(--cne-btn-danger-hover-bg);
  color: var(--cne-btn-danger-hover-text);
}

.orp-classement-context-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 10px 0 26px;
}

.orp-view-classement .orp-classement-context-badges.is-general{
  margin-bottom: 28px;
}

.orp-classement-context-badges.is-filtered{
  margin-top: 14px;
  margin-bottom: 20px;
}

.orp-classement-context-badge{
  display:inline-flex;
  align-items:center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(21,71,124,.12);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  color: #35506b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(18,59,122,.05);
}

.orp-classement-context-badge.is-season{
  border-color: rgba(29,78,216,.18);
  background: linear-gradient(180deg, rgba(29,78,216,.08), rgba(29,78,216,.03));
  color: #174ea6;
}

.orp-classement-podium{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.16fr) minmax(0,.92fr);
  align-items:end;
  gap:24px;
  margin:60px 0 68px;
  padding:6px 4px 2px;
}

.orp-classement-podium-card{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
  min-height:112px;
  padding:22px 20px 20px 18px;
  border:1px solid rgba(11,66,156,.14);
  border-radius:18px;
  background:
    radial-gradient(circle at 88% 14%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 12px 28px rgba(15,23,42,.06);
  overflow:hidden;
}

.orp-classement-podium-card:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:rgba(255,255,255,.36);
  opacity:.95;
}

.orp-classement-podium-card.is-rank-1{
  order:2;
  min-height:150px;
  padding:28px 26px 26px 24px;
  border-color:rgba(15,23,42,.12);
  background:
    radial-gradient(circle at 88% 12%, rgba(34,73,155,.07), transparent 30%),
    linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  box-shadow:0 22px 42px rgba(15,23,42,.10),0 8px 22px rgba(15,23,42,.06);
  transform:translateY(-8px);
  z-index:2;
}

.orp-classement-podium-card.is-rank-2{
  order:1;
  border-color:rgba(34,73,155,.16);
  background:
    radial-gradient(circle at 88% 14%, rgba(34,73,155,.08), transparent 30%),
    linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  box-shadow:0 12px 28px rgba(15,23,42,.06);
}

.orp-classement-podium-card.is-rank-3{
  order:3;
  border-color:rgba(229,51,42,.16);
  background:
    radial-gradient(circle at 88% 14%, rgba(229,51,42,.08), transparent 30%),
    linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  box-shadow:0 12px 28px rgba(15,23,42,.06);
}

.orp-classement-podium-card.is-rank-1:before{
  height:5px;
  background:linear-gradient(90deg,#22499b 0 32%,#ffffff 32% 66%,#e5332a 66% 100%);
  box-shadow:0 1px 0 rgba(34,73,155,.08);
}

.orp-classement-podium-card.is-rank-2:before{
  background:linear-gradient(90deg,#22499b 0 32%,#ffffff 32% 66%,#e5332a 66% 100%);
  box-shadow:0 1px 0 rgba(34,73,155,.08);
}

.orp-classement-podium-card.is-rank-3:before{
  background:linear-gradient(90deg,#22499b 0 32%,#ffffff 32% 66%,#e5332a 66% 100%);
  box-shadow:0 1px 0 rgba(34,73,155,.08);
}

.orp-classement-podium-medal{
  position:relative;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:999px;
  color:#fff;
  font-size:18px;
  font-weight:900;
  background:linear-gradient(135deg,#e9c349 0%,#b77a16 100%);
  box-shadow:0 8px 18px rgba(115,92,0,.18);
}

.orp-classement-podium-card.is-rank-2 .orp-classement-podium-medal{
  background:#ffffff;
  color:#153a7b;
  border:1px solid rgba(255,255,255,.42);
}

.orp-classement-podium-card.is-rank-3 .orp-classement-podium-medal{
  background:#ffffff;
  color:#b9251f;
  border:1px solid rgba(255,255,255,.42);
}

.orp-classement-podium-body{
  min-width:0;
}

.orp-classement-podium-body h3{
  margin:0;
  color:#0f2f6f;
  font-size:17px;
  line-height:1.18;
  font-weight:900;
}

.orp-classement-podium-card.is-rank-1 .orp-classement-podium-body h3{
  font-size:20px;
}

.orp-classement-podium-card.is-rank-2 .orp-classement-podium-body h3,
.orp-classement-podium-card.is-rank-3 .orp-classement-podium-body h3{
  color:#0f2f6f;
}

.orp-classement-podium-body p{
  margin:6px 0 0;
  color:#64748b;
  font-size:13px;
  line-height:1.35;
}

.orp-classement-podium-card.is-rank-2 .orp-classement-podium-body p,
.orp-classement-podium-card.is-rank-3 .orp-classement-podium-body p{
  color:#64748b;
}

.orp-classement-podium-score{
  color:#0f172a;
  font-size:22px;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}

.orp-classement-podium-card.is-rank-2 .orp-classement-podium-score,
.orp-classement-podium-card.is-rank-3 .orp-classement-podium-score{
  color:#0f172a;
}

.orp-classement-podium-card.is-rank-1 .orp-classement-podium-medal{
  width:58px;
  height:58px;
  font-size:24px;
}

.orp-classement-podium-card.is-rank-1 .orp-classement-podium-score{
  font-size:31px;
}

.orp-classement-podium-score span{
  display:block;
  margin-top:4px;
  color:#64748b;
  font-size:11px;
  font-weight:800;
  text-align:right;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.orp-classement-podium-card.is-rank-2 .orp-classement-podium-score span,
.orp-classement-podium-card.is-rank-3 .orp-classement-podium-score span{
  color:#64748b;
}

@media (max-width: 720px){
  .orp-classement-podium{
    grid-template-columns:1fr;
    gap:10px;
    margin:34px 0 40px;
  }

  .orp-classement-podium-card{
    order:initial!important;
    transform:none!important;
    min-height:88px;
    padding:14px 14px 14px 12px;
    border-radius:14px;
  }

  .orp-classement-podium-medal{
    width:36px;
    height:36px;
    font-size:16px;
  }

  .orp-classement-podium-score{
    font-size:19px;
  }
}

.cne-expo-status-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(100,116,139,.20);
  background: rgba(100,116,139,.08);
  color: #475569;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.1;
  white-space: nowrap;
}

.cne-expo-status-badge.is-complete{
  border-color: rgba(22,101,52,.18);
  background: rgba(22,163,74,.10);
  color: #166534;
}

.cne-expo-status-badge.is-partial{
  border-color: rgba(180,83,9,.20);
  background: rgba(245,158,11,.12);
  color: #92400e;
}

.cne-expo-status-badge.is-unknown{
  border-color: rgba(71,85,105,.18);
  background: rgba(100,116,139,.08);
  color: #475569;
}

.orp-view-annuaire-races .orp-annuaire-filters-grid{
  display:grid;
  grid-template-columns:minmax(220px, 1.7fr) minmax(140px, .9fr) minmax(180px, 1.2fr) minmax(120px, .75fr) minmax(150px, .9fr) auto;
  gap:10px;
  align-items:end;
}

.orp-view-annuaire-races .orp-annuaire-filters-card.no-taille-filter .orp-annuaire-filters-grid{
  grid-template-columns:minmax(220px, 1.7fr) minmax(140px, .9fr) minmax(180px, 1.2fr) minmax(150px, .9fr) auto;
}

.orp-view-annuaire-races .orp-annuaire-hero{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(25, 79, 135, .12);
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, .55), transparent 34%),
    linear-gradient(135deg, #f7fbff 0%, #eef6ff 52%, #fcfdff 100%);
}

.orp-view-annuaire-races .orp-annuaire-hero-inner{
  position:relative;
}

.orp-view-annuaire-races .orp-annuaire-kicker{
  display:inline-block;
  margin:0 0 10px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(23, 78, 166, .08);
  color:#174ea6;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.orp-view-annuaire-races .orp-annuaire-hero h2{
  font-size:clamp(28px, 4vw, 40px);
  line-height:1.05;
  letter-spacing:-.03em;
  color:#16335b;
}

.orp-view-annuaire-races .orp-annuaire-hero p{
  max-width:62ch;
  color:#48627b;
}

.orp-view-annuaire-races .orp-annuaire-hero-metrics{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}

.orp-view-annuaire-races .orp-annuaire-hero-metrics span{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(23,78,166,.12);
  color:#174ea6;
  font-size:13px;
  font-weight:800;
  box-shadow:0 8px 18px rgba(18,59,122,.05);
}

.orp-view-annuaire-races .orp-annuaire-filters-card,
.orp-view-annuaire-races .orp-annuaire-active-filters-card,
.orp-view-annuaire-races .orp-annuaire-empty-card,
.orp-view-annuaire-races .orp-annuaire-race-card{
  border:1px solid rgba(27, 63, 99, .08);
  box-shadow:0 16px 36px rgba(18, 59, 122, .06);
}

.orp-view-annuaire-races .orp-annuaire-filters-card{
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,253,.98));
}

.orp-view-annuaire-races .orp-annuaire-field label{
  display:inline-block;
  margin-bottom:6px;
  color:#16335b;
}

.orp-view-annuaire-races .orp-annuaire-field input,
.orp-view-annuaire-races .orp-annuaire-field select{
  min-height:46px;
  border:1px solid rgba(102, 112, 133, .18);
  border-radius:12px;
  background:#fff;
  box-shadow:inset 0 1px 2px rgba(16,24,40,.03);
}

.orp-view-annuaire-races .orp-annuaire-field input:focus,
.orp-view-annuaire-races .orp-annuaire-field select:focus{
  border-color:rgba(29,78,216,.42);
  box-shadow:0 0 0 4px rgba(29,78,216,.10);
  outline:none;
}

.orp-view-annuaire-races .orp-annuaire-filter-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}

.orp-view-annuaire-races .orp-annuaire-results-meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  color:#4f647b;
}

.orp-view-annuaire-races .orp-annuaire-view-switch{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px;
  border-radius:999px;
  background:#eef4fb;
  border:1px solid rgba(23,78,166,.10);
}

.orp-view-annuaire-races .orp-annuaire-view-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:5px 12px;
  border-radius:999px;
  color:#174ea6;
  text-decoration:none;
  font-weight:800;
  font-size:13px;
}

.orp-view-annuaire-races .orp-annuaire-view-button.is-active{
  background:#174ea6;
  color:#fff;
  box-shadow:0 6px 14px rgba(23,78,166,.16);
}

.orp-view-annuaire-races .orp-annuaire-active-filters{
  gap:10px;
}

.orp-view-annuaire-races .orp-annuaire-cards-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
  align-items:stretch;
}

.orp-view-annuaire-races .orp-annuaire-race-card{
  position:relative;
  overflow:hidden;
  background:#ffffff;
  border-color:rgba(27,63,99,.10);
  box-shadow:0 18px 34px rgba(18,59,122,.07);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.orp-view-annuaire-races .orp-annuaire-race-card:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 42px rgba(18,59,122,.10);
}

.orp-view-annuaire-races .orp-annuaire-race-card.is-ranked{
  background:#ffffff;
  border-color:rgba(11,66,156,.18);
  box-shadow:0 20px 40px rgba(18,59,122,.10);
}

.orp-view-annuaire-races .orp-annuaire-race-card.is-unranked{
  background:#ffffff;
  border-color:rgba(100,116,139,.16);
  box-shadow:0 16px 30px rgba(15,23,42,.06);
}

.orp-view-annuaire-races .orp-annuaire-race-card-inner{
  position:relative;
  height:100%;
}

.orp-view-annuaire-races .orp-annuaire-race-header{
  padding:18px 18px 16px;
  margin:-14px -16px 18px;
  border-bottom:1px solid rgba(148,163,184,.14);
}

.orp-view-annuaire-races .orp-annuaire-race-card.is-ranked .orp-annuaire-race-header{
  background:
    linear-gradient(90deg, rgba(11,66,156,.14) 0%, rgba(255,255,255,.92) 52%, rgba(220,38,38,.08) 100%),
    linear-gradient(180deg, #f8fbff, #ffffff);
}

.orp-view-annuaire-races .orp-annuaire-race-card.is-unranked .orp-annuaire-race-header{
  background:linear-gradient(180deg, #f8fafc, #ffffff);
}

.orp-view-annuaire-races .orp-annuaire-race-state-row{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 10px;
}

.orp-view-annuaire-races .orp-annuaire-race-state-badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:6px 11px;
  border-radius:999px;
  border:1px solid transparent;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.orp-view-annuaire-races .orp-annuaire-race-state-badge.is-ranked{
  color:#0f3f84;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(238,246,255,.92));
  border-color:rgba(37,99,235,.18);
  box-shadow:0 6px 16px rgba(37,99,235,.08);
}

.orp-view-annuaire-races .orp-annuaire-race-state-badge.is-unranked{
  color:#475569;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,247,250,.92));
  border-color:rgba(100,116,139,.16);
  box-shadow:0 5px 14px rgba(15,23,42,.05);
}

.orp-view-annuaire-races .orp-annuaire-race-title-group h3{
  font-size:30px;
  line-height:1.05;
  letter-spacing:-.03em;
  color:#17375f;
}

.orp-view-annuaire-races .orp-annuaire-race-card.is-ranked .orp-annuaire-race-title-group h3{
  color:#123d78;
}

.orp-view-annuaire-races .orp-annuaire-race-card.is-unranked .orp-annuaire-race-title-group h3{
  color:#334155;
}

.orp-view-annuaire-races .orp-annuaire-race-actions{
  justify-content:flex-end;
  gap:10px;
}

.orp-view-annuaire-races .orp-annuaire-section{
  padding-top:14px;
  border-top:1px solid rgba(148, 163, 184, .12);
}

.orp-view-annuaire-races .orp-annuaire-clubs strong,
.orp-view-annuaire-races .orp-annuaire-varietes strong{
  color:#17375f;
  font-size:15px;
  letter-spacing:-.01em;
}

.orp-view-annuaire-races .orp-annuaire-club-list{
  gap:10px;
}

.orp-view-annuaire-races .orp-annuaire-club-badge{
  padding-left:8px;
  padding-right:12px;
}

.orp-view-annuaire-races .orp-annuaire-club-badge-inner{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.orp-view-annuaire-races .orp-annuaire-club-logo-wrap{
  width:30px;
  height:30px;
  flex:0 0 30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#ffffff;
  box-shadow: inset 0 0 0 1px rgba(11,66,156,.08), 0 4px 10px rgba(15,23,42,.06);
  overflow:hidden;
}

.orp-view-annuaire-races .orp-annuaire-club-logo{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.orp-view-annuaire-races .orp-annuaire-club-label{
  min-width:0;
}

.orp-view-annuaire-races .orp-annuaire-varietes-details summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  cursor:pointer;
  list-style:none;
  margin-bottom:8px;
  padding:8px 0 2px;
}

.orp-view-annuaire-races .orp-annuaire-varietes-details summary::-webkit-details-marker{
  display:none;
}

.orp-view-annuaire-races .orp-annuaire-varietes-details[open] summary{
  margin-bottom:10px;
}

.orp-view-annuaire-races .orp-annuaire-varietes-grid{
  gap:10px;
}

.orp-view-annuaire-races .orp-annuaire-variete-card{
  border-color:rgba(148,163,184,.14);
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,251,253,.98));
  box-shadow:0 12px 24px rgba(15, 23, 42, .05);
}

.orp-view-annuaire-races .orp-annuaire-variete-name{
  color:#223a57;
}

.orp-view-annuaire-races .orp-annuaire-pagination{
  justify-content:center;
}

.orp-view-annuaire-races .orp-annuaire-table-card{
  border:1px solid rgba(27,63,99,.08);
  box-shadow:0 16px 36px rgba(18,59,122,.06);
}

.orp-view-annuaire-races .orp-annuaire-table td,
.orp-view-annuaire-races .orp-annuaire-table th{
  vertical-align:middle;
}

.orp-view-annuaire-races .orp-annuaire-table .button{
  min-height:0;
  padding:4px 9px;
  font-size:12px;
  line-height:1.2;
}

.orp-bague-color-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:30px;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid var(--bague-border, #d0d5dd);
  background:var(--bague-bg, #fff);
  color:var(--bague-text, #344054);
  font-size:13px;
  font-weight:700;
  line-height:1;
}

.orp-bague-color-badge.is-compact{
  min-height:24px;
  padding:4px 8px;
  gap:6px;
  font-size:11px;
  font-weight:700;
}

.orp-bague-color-dot{
  width:12px;
  height:12px;
  border-radius:999px;
  background:currentColor;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}

.orp-bague-color-badge.is-compact .orp-bague-color-dot{
  width:9px;
  height:9px;
}

.orp-bague-color-badge.is-noire .orp-bague-color-dot{
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

.orp-exposition-bague-cell{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
}

/* SAISIE TEXTE: full width */
.orp-classement.orp-view-saisie-texte{
  max-width: none;
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
}

.orp-view-saisie-texte{
  width: 100%;
  max-width: none;
  position: static;
  left: auto;
  right: auto;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
  padding-left: 12px;
  padding-right: 12px;
}

.orp-view-saisie-texte .orp-classement-scroll{
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  cursor: auto;
}

.orp-view-saisie-texte .orp-classement-scroll.is-dragging{
  cursor: auto;
}

.orp-view-saisie-texte .orp-classement-scroll-top{
  display: none;
  margin: 0 0 8px;
  padding: 0;
  background: transparent;
}

.orp-view-saisie-texte .orp-classement-scroll-top-inner{
  height: 1px;
}

.orp-view-saisie-texte .orp-classement-table{
  table-layout: auto;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
}

.orp-view-saisie-texte .orp-classement-maj{
  font-size: 16px;
  margin-bottom: 8px;
}

.orp-view-saisie-texte .orp-classement-table{
  font-size: 13px;
  line-height: 1.3;
}

.orp-view-saisie-texte .orp-classement-table th,
.orp-view-saisie-texte .orp-classement-table td{
  padding: 8px 8px;
  white-space: nowrap;
  vertical-align: middle;
}

.orp-view-saisie-texte .orp-notice{
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10030;
  margin: 0;
  padding: 10px 16px;
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  line-height: 1.35;
  min-width: 280px;
  max-width: min(92vw, 980px);
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
  border: 1px solid transparent;
}

.orp-view-saisie-texte .orp-notice.orp-notice-success{
  background: #ecfdf3;
  color: #166534;
  border-color: #86efac;
}

.orp-view-saisie-texte .orp-notice.orp-notice-error{
  background: #fef2f2;
  color: #991b1b;
  border-color: #fca5a5;
}

.orp-view-saisie-texte .orp-saisie-busy{
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(1px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.orp-view-saisie-texte .orp-saisie-busy.is-active{
  display: flex;
}

.orp-view-saisie-texte .orp-page-loader,
.orp-view-espace-saisie .orp-page-loader,
.orp-view-club-eleveurs .orp-page-loader{
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(1px);
  z-index: 10020;
  display: none;
  align-items: center;
  justify-content: center;
}

.orp-view-saisie-texte .orp-page-loader.is-visible,
.orp-view-espace-saisie .orp-page-loader.is-visible,
.orp-view-club-eleveurs .orp-page-loader.is-visible{
  display: flex;
}

.orp-view-saisie-texte .orp-page-loader-inner,
.orp-view-espace-saisie .orp-page-loader-inner,
.orp-view-club-eleveurs .orp-page-loader-inner{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #dbe3ee;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  font-weight: 600;
  color: #243447;
}

.orp-view-saisie-texte .orp-page-loader-spinner,
.orp-view-espace-saisie .orp-page-loader-spinner,
.orp-view-club-eleveurs .orp-page-loader-spinner{
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c7d5e6;
  border-top-color: #2563eb;
  animation: orp-saisie-spin .8s linear infinite;
}

.orp-view-saisie-texte .orp-saisie-busy-inner{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #dbe3ee;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  font-weight: 600;
  color: #243447;
}

.orp-view-saisie-texte .orp-saisie-busy-spinner{
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c7d5e6;
  border-top-color: #2563eb;
  animation: orp-saisie-spin .8s linear infinite;
}

@keyframes orp-saisie-spin{
  to { transform: rotate(360deg); }
}

.orp-view-saisie-texte .orp-classement-table thead th{
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 12px;
}

.orp-view-saisie-texte .orp-required-star{
  color: #dc2626;
  font-weight: 800;
}

.orp-view-saisie-texte .orp-classement-card{
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
}

.orp-view-saisie-texte input[type="text"],
.orp-view-saisie-texte select{
  font-size: 12px;
  min-height: 34px;
  padding: 4px 6px;
}

.orp-view-saisie-texte .button{
  min-height: 30px;
  padding: 3px 11px;
  font-size: 12px;
  line-height: 1.2;
  border-radius: 14px;
}

.orp-view-saisie-texte .orp-classement-table td:first-child{
  white-space: nowrap;
}

/* =========================
   CLASSEMENT RACE - FILTRE
   ========================= */

.orp-view-classement-race .orp-race-filter{
  position:relative;
  margin: 4px 0 14px;
  padding: 16px;
  border: 1px solid rgba(34,73,155,.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg,rgba(34,73,155,.045) 0%,rgba(255,255,255,.96) 42%,rgba(229,51,42,.035) 100%),
    #ffffff;
  box-shadow: 0 10px 26px rgba(15,23,42,.045);
  display: grid;
  grid-template-columns: minmax(190px,.42fr) minmax(280px,1fr);
  gap: 14px 18px;
  align-items: end;
  overflow:hidden;
}

.orp-view-classement-race .orp-race-filter.is-single-field{
  grid-template-columns: minmax(190px,.42fr) minmax(300px,560px);
  justify-content: start;
}

.orp-view-classement-race .orp-race-filter:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg,#22499b 0 32%,#ffffff 32% 66%,#e5332a 66% 100%);
  box-shadow:0 1px 0 rgba(34,73,155,.08);
}

.orp-view-classement-race .orp-race-filter-head{
  position:relative;
  min-width:0;
  padding: 0 0 2px;
}

.orp-view-classement-race .orp-race-filter-head span{
  display:block;
  margin:0 0 5px;
  color:#64748b;
  font-size:11px;
  font-weight:900;
  letter-spacing:.10em;
  line-height:1.15;
  text-transform:uppercase;
}

.orp-view-classement-race .orp-race-filter-head strong{
  display:block;
  color:#001e40;
  font-size:20px;
  line-height:1.15;
  font-weight:900;
}

.orp-view-classement-race .orp-race-filter-field{
  min-width: 0;
}

.orp-view-classement-race .orp-race-filter-field-main{
  position:relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.orp-view-classement-race .orp-race-filter-main-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: end;
}

.orp-view-classement-race .orp-race-filter-field-main label{
  display:block;
  margin:0 0 6px;
  color: #475569;
  font-size:11px;
  font-weight: 900;
  letter-spacing:.08em;
  line-height:1.15;
  text-transform:uppercase;
}

.orp-view-classement-race .orp-race-filter-field-main .orp-race-filter-select{
  border-color: rgba(34,73,155,.18);
  background: rgba(255,255,255,.98);
}

.orp-view-classement-race .orp-race-filter-input,
.orp-view-classement-race .orp-race-filter-select{
  width: 100%;
  min-height: 42px;
  border: 1px solid #d6dfec;
  border-radius: 8px;
  background: #fff;
  padding: 9px 12px;
  color:#0f172a;
  font-size:14px;
  font-weight:750;
  box-sizing: border-box;
}

.orp-view-classement-race .orp-race-filter-input:focus,
.orp-view-classement-race .orp-race-filter-select:focus{
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.18);
}

.orp-view-classement-race .orp-race-filter-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: auto;
  min-width: 82px;
  max-width: max-content;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  border-color: #22499b;
  background: #22499b;
  color: #fff;
}

.orp-view-classement-race .orp-race-filter-btn:hover,
.orp-view-classement-race .orp-race-filter-btn:focus{
  border-color: #153a7b;
  background: #153a7b;
  color: #fff;
}

.orp-view-classement-race .orp-race-filter-reset{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 13px;
  border-radius:999px;
  font-size:13px;
  font-weight:850;
  line-height:1;
  white-space:nowrap;
}

.orp-classement-entry-card{
  margin: 14px 0 0;
  padding: 18px;
  border: 1px solid rgba(30,64,175,.10);
  background:
    radial-gradient(circle at top right, rgba(219,234,254,.52), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.orp-classement-entry-head{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 14px;
}

.orp-classement-entry-head h3{
  margin: 0 0 5px;
  color: #174ea6;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.1;
  letter-spacing: .06em;
}

.orp-classement-entry-head p{
  margin: 0;
  color: #64748b;
}

.orp-classement-entry-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.orp-classement-entry-tab{
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(30,64,175,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #174ea6;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.orp-classement-entry-tab:hover,
.orp-classement-entry-tab:focus{
  border-color: rgba(30,64,175,.32);
  background: rgba(219,234,254,.52);
  color: #174ea6;
  outline: none;
}

.orp-classement-entry-tab.is-active{
  border-color: #174ea6;
  background: #174ea6;
  color: #fff;
  box-shadow: 0 8px 18px rgba(23,78,166,.16);
}

.orp-classement-entry-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.orp-classement-entry-link{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 82px;
  padding: 12px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.88);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.orp-classement-entry-link:hover,
.orp-classement-entry-link:focus{
  transform: translateY(-1px);
  border-color: rgba(30,64,175,.26);
  box-shadow: 0 16px 30px rgba(15,23,42,.09);
  outline: none;
}

.orp-classement-entry-logo{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f1f5f9;
}

.orp-classement-entry-logo-img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.orp-classement-entry-content{
  min-width: 0;
  display: grid;
  gap: 3px;
}

.orp-classement-entry-kicker{
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.orp-classement-entry-title{
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.18;
}

.orp-classement-entry-meta{
  color: #64748b;
  font-size: 13px;
}

.orp-classement-entry-metric{
  align-self: center;
  justify-self: end;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(30,64,175,.08);
  color: #174ea6;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.orp-classement-entry-empty{
  margin: 0;
  color: #64748b;
}

@media (max-width: 720px){
  .orp-view-classement-race .orp-race-filter,
  .orp-view-classement-race .orp-race-filter.is-single-field{
    grid-template-columns:1fr;
    gap:12px;
    padding:14px;
  }

  .orp-view-classement-race .orp-race-filter-main-row{
    grid-template-columns: 1fr;
  }

  .orp-view-classement-race .orp-race-filter-btn,
  .orp-view-classement-race .orp-race-filter-reset{
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 980px){
  .orp-classement-entry-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .orp-classement-entry-grid{
    grid-template-columns: 1fr;
  }

  .orp-classement-entry-link{
    grid-template-columns: auto minmax(0, 1fr);
  }

  .orp-classement-entry-metric{
    grid-column: 2;
    justify-self: start;
  }
}

.orp-view-classement-race .orp-col-rang,
.orp-view-classement-race .orp-classement-table td.orp-col-rang{
  text-align: center;
}

.orp-view-saisie-texte .button.orp-dup-btn{
  min-height: 28px;
  padding: 2px 10px;
  font-size: 12px;
  line-height: 1.1;
  border-radius: 12px;
}

.orp-view-saisie-texte .button.orp-dup-btn.orp-btn-delete{
  font-weight: 700;
}

.orp-view-saisie-texte .button.orp-dup-btn.orp-btn-duplicate{
  border-color: var(--cne-btn-secondary-border);
  background: var(--cne-btn-secondary-bg);
  color: var(--cne-btn-secondary-text);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  text-shadow: none;
}

.orp-view-saisie-texte .button.orp-dup-btn.orp-btn-duplicate:hover{
  border-color: var(--cne-btn-secondary-hover-border);
  background: var(--cne-btn-secondary-hover-bg);
  color: var(--cne-btn-secondary-hover-text);
}

.orp-view-saisie-texte .orp-saisie-topbar{
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(170px, 220px) minmax(250px, 320px);
  gap: 10px 12px;
  align-items: end;
  margin: 0 0 12px;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.orp-view-saisie-texte .orp-saisie-layout{
  display: grid;
  gap: 14px;
}

.orp-view-saisie-texte .orp-saisie-zone{
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: linear-gradient(180deg, #f8fbff 0%, #f3f7fd 100%);
  padding: 10px 12px 12px;
}

.orp-view-saisie-texte .orp-saisie-zone .orp-saisie-zone-head{
  margin: 0 0 8px;
}

.orp-view-saisie-texte .orp-saisie-zone .orp-saisie-zone-head h5{
  margin: 0 0 2px;
  font-size: 15px;
  line-height: 1.25;
  color: #184d96;
}

.orp-view-saisie-texte .orp-saisie-zone .orp-saisie-zone-head p{
  margin: 0;
  font-size: 12px;
  opacity: .85;
}

.orp-view-saisie-texte .orp-saisie-topbar > .orp-classement-maj{
  grid-column: 1 / -1;
}

.orp-view-saisie-texte .orp-saisie-field{
  min-width: 0;
}

.orp-view-saisie-texte .orp-saisie-field label{
  display: block;
  margin: 0 0 4px;
}

.orp-view-saisie-texte .orp-saisie-field select{
  width: 100%;
}

.orp-view-saisie-texte .orp-saisie-lotbox{
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  padding-left: 0;
  border-left: 0;
}

.orp-view-saisie-texte .orp-add-expo-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 8px;
  align-items: end;
  margin-top: 8px;
}

.orp-view-saisie-texte .orp-add-expo-grid label{
  min-width: 0;
}

.orp-view-saisie-texte .orp-add-expo-grid input,
.orp-view-saisie-texte .orp-add-expo-grid select{
  width: 100%;
}

.orp-view-saisie-texte .orp-add-expo-grid input[type="date"]{
  box-sizing: border-box;
  min-width: 0;
  padding-right: 34px;
}

.orp-view-saisie-texte #orp-add-expo-btn{
  grid-column: 3;
  justify-self: start;
  min-width: 120px;
  width: auto;
  padding-left: 14px;
  padding-right: 14px;
}

.orp-view-saisie-texte #orp-add-expo-msg{
  grid-column: 1 / -1;
}

.orp-view-saisie-texte #orp-add-expo-box{
  grid-column: 1 / -1;
  margin-left: 0 !important;
}

.orp-view-saisie-texte .orp-saisie-sep{
  margin: 2px 0;
  border-top: 1px dashed rgba(24, 77, 150, .28);
}

.orp-view-saisie-texte .orp-saisie-actions{
  margin: 0 0 12px;
  padding: 8px 10px;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.orp-view-saisie-texte .orp-saisie-actions .orp-saisie-lotbox{
  margin-left: auto;
  justify-self: auto;
  padding-left: 12px;
  border-left: 1px solid rgba(0,0,0,.18);
}

.orp-view-saisie-texte tr.is-deleting{
  opacity: .55;
}

.orp-view-saisie-texte tr.is-saved td{
  background: #ecfdf3;
}

.orp-view-saisie-texte tr.is-saved:hover td{
  background: #dcfce7;
}

.orp-view-saisie-texte .button.is-loading{
  position: relative;
  min-width: 28px;
}

.orp-view-saisie-texte .button.is-loading::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border: 2px solid rgba(0,0,0,.25);
  border-top-color: rgba(0,0,0,.75);
  border-radius: 50%;
  animation: orp-spin .7s linear infinite;
}

@keyframes orp-spin{
  to { transform: rotate(360deg); }
}

.orp-view-saisie-texte .orp-classement-table th:nth-child(2),
.orp-view-saisie-texte .orp-classement-table td:nth-child(2){ min-width: 190px; }  /* actions + pick eleveur */
.orp-view-saisie-texte .orp-classement-table th:nth-child(1),
.orp-view-saisie-texte .orp-classement-table td:nth-child(1){
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  text-align: center;
}  /* numero de ligne */
.orp-view-saisie-texte .orp-row-index{
  font-weight: 700;
  color: #526581;
  background: #f8fafc;
  position: sticky;
  left: 0;
  z-index: 1;
}
.orp-view-saisie-texte .orp-classement-table th:nth-child(3),
.orp-view-saisie-texte .orp-classement-table td:nth-child(3){
  width: 72px;
  min-width: 72px;
  max-width: 72px;
}   /* cage (réduit/fixe) */
.orp-view-saisie-texte .orp-classement-table td:nth-child(3) input[type="text"]{
  width: 60px !important;
  min-width: 60px;
  margin: 0 auto;
  text-align: center;
}
.orp-view-saisie-texte .orp-classement-table th:nth-child(4),
.orp-view-saisie-texte .orp-classement-table td:nth-child(4){ min-width: 92px; max-width: 110px; } /* présentation */
.orp-view-saisie-texte .orp-classement-table th:nth-child(5),
.orp-view-saisie-texte .orp-classement-table td:nth-child(5){ min-width: 150px; }  /* prenom */
.orp-view-saisie-texte .orp-classement-table th:nth-child(6),
.orp-view-saisie-texte .orp-classement-table td:nth-child(6){ min-width: 150px; }  /* nom */
.orp-view-saisie-texte .orp-classement-table th:nth-child(7),
.orp-view-saisie-texte .orp-classement-table td:nth-child(7){ min-width: 88px; max-width: 96px; }  /* bague (réduit) */
.orp-view-saisie-texte .orp-classement-table th:nth-child(8),
.orp-view-saisie-texte .orp-classement-table td:nth-child(8){ min-width: 92px; max-width: 100px; } /* millesime */
.orp-view-saisie-texte .orp-classement-table th:nth-child(9),
.orp-view-saisie-texte .orp-classement-table td:nth-child(9){ min-width: 180px; } /* race */
.orp-view-saisie-texte .orp-classement-table th:nth-child(10),
.orp-view-saisie-texte .orp-classement-table td:nth-child(10){ min-width: 86px; max-width: 96px; } /* sexe */
.orp-view-saisie-texte .orp-classement-table th:nth-child(11),
.orp-view-saisie-texte .orp-classement-table td:nth-child(11){ min-width: 96px; max-width: 110px; } /* taille */
.orp-view-saisie-texte .orp-classement-table th:nth-child(12),
.orp-view-saisie-texte .orp-classement-table td:nth-child(12){ min-width: 200px; } /* variete */
.orp-view-saisie-texte .orp-classement-table th:nth-child(13),
.orp-view-saisie-texte .orp-classement-table td:nth-child(13){ min-width: 78px; max-width: 88px; } /* note */
.orp-view-saisie-texte .orp-classement-table th:nth-child(14),
.orp-view-saisie-texte .orp-classement-table td:nth-child(14){ min-width: 220px; } /* prix speciaux */

.orp-view-saisie-texte .orp-classement-table td:nth-child(14) select[multiple]{
  min-width: 210px;
  height: 66px;
}

.orp-espace-faq{
  display: grid;
  gap: 10px;
}

.orp-espace-faq-item{
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: rgba(255,255,255,0.94);
  overflow: hidden;
}

.orp-espace-faq-item summary{
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 700;
  color: #16335b;
}

.orp-espace-faq-item summary::-webkit-details-marker{
  display: none;
}

.orp-espace-faq-item[open] summary{
  background: rgba(11, 66, 156, 0.05);
}

.orp-espace-faq-answer{
  padding: 0 14px 14px;
  color: #475569;
  line-height: 1.55;
}

.orp-view-saisie-texte .orp-classement-table td:nth-child(7) select,
.orp-view-saisie-texte .orp-classement-table td:nth-child(8) select,
.orp-view-saisie-texte .orp-classement-table td:nth-child(9) select,
.orp-view-saisie-texte .orp-classement-table td:nth-child(10) select,
.orp-view-saisie-texte .orp-classement-table td:nth-child(11) select,
.orp-view-saisie-texte .orp-classement-table td:nth-child(12) select,
.orp-view-saisie-texte .orp-classement-table td:nth-child(13) select{
  min-width: 0;
}

.orp-view-saisie-texte .orp-classement-table th:nth-child(1),
.orp-view-saisie-texte .orp-classement-table td:nth-child(1){
  position: static;
  left: auto;
  z-index: auto;
  box-shadow: none;
}

.orp-view-saisie-texte .orp-classement-table thead th:nth-child(1){
  background: #f8fafc;
}

.orp-view-saisie-texte .orp-classement-table tbody td:nth-child(1){
  background: inherit;
}

.orp-view-saisie-texte #orp-saisie-table input[type="text"],
.orp-view-saisie-texte #orp-saisie-table select{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1820px){
  .orp-view-saisie-texte{
    padding-left: 10px;
    padding-right: 10px;
  }

  .orp-view-saisie-texte .orp-classement-table{
    width: max-content;
    max-width: none;
    min-width: 1620px;
  }

  .orp-view-saisie-texte .orp-classement-table th,
  .orp-view-saisie-texte .orp-classement-table td{
    padding: 7px 7px;
  }

  .orp-view-saisie-texte .orp-classement-table th:nth-child(2),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(2){ min-width: 182px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(4),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(4){ min-width: 90px; max-width: 104px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(5),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(5){ min-width: 142px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(6),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(6){ min-width: 142px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(7),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(7){ min-width: 80px; max-width: 88px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(8),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(8){ min-width: 88px; max-width: 96px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(9),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(9){ min-width: 166px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(10),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(10){ min-width: 82px; max-width: 92px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(11),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(11){ min-width: 92px; max-width: 104px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(12),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(12){ min-width: 188px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(13),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(13){ min-width: 74px; max-width: 84px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(14),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(14){ min-width: 200px; }
}

@media (max-width: 1440px){
  .orp-view-saisie-texte{
    padding-left: 8px;
    padding-right: 8px;
  }

  .orp-view-saisie-texte .orp-classement-table{
    width: max-content;
    max-width: none;
    min-width: 1560px;
  }

  .orp-view-saisie-texte .orp-classement-table th,
  .orp-view-saisie-texte .orp-classement-table td{
    padding: 7px 6px;
  }

  .orp-view-saisie-texte .orp-classement-table th:nth-child(2),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(2){ min-width: 176px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(4),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(4){ min-width: 86px; max-width: 100px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(5),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(5){ min-width: 136px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(6),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(6){ min-width: 136px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(7),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(7){ min-width: 78px; max-width: 86px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(8),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(8){ min-width: 84px; max-width: 92px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(9),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(9){ min-width: 156px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(10),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(10){ min-width: 78px; max-width: 88px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(11),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(11){ min-width: 88px; max-width: 100px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(12),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(12){ min-width: 178px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(13),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(13){ min-width: 70px; max-width: 80px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(14),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(14){ min-width: 188px; }
}

@media (max-width: 1024px){
  .orp-view-saisie-texte .orp-classement-scroll{
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .orp-view-saisie-texte .orp-classement-table{
    width: max-content;
    max-width: none;
    min-width: 1500px;
    font-size: 12px;
  }

  .orp-view-saisie-texte .orp-classement-table th:nth-child(10),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(10){ min-width: 74px; max-width: 84px; }

  .orp-view-saisie-texte .orp-classement-table td:nth-child(14) select[multiple]{
    min-width: 180px;
    height: 62px;
  }
}

@media (max-width: 900px){
  .orp-view-annuaire-races .orp-annuaire-filters-grid{
    grid-template-columns: 1fr 1fr;
  }

  .orp-view-annuaire-races .orp-annuaire-cards-grid{
    grid-template-columns:1fr;
  }

  .orp-view-saisie-texte .orp-saisie-topbar{
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .orp-view-saisie-texte .orp-saisie-lotbox{
    justify-self: stretch;
  }

  .orp-view-saisie-texte .orp-add-expo-grid{
    grid-template-columns: 1fr;
  }

  .orp-view-saisie-texte .orp-saisie-lotbox{
    margin-left: 0;
    width: 100%;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(0,0,0,.14);
    padding-top: 8px;
  }

  .orp-view-saisie-texte .orp-saisie-actions .orp-saisie-lotbox{
    margin-left: 0;
    width: 100%;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(0,0,0,.14);
    padding-top: 8px;
  }

  .orp-view-saisie-texte .orp-classement-table{
    width: max-content;
    max-width: none;
    min-width: 1320px;
  }

  .orp-view-saisie-texte .orp-classement-table th:nth-child(2),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(2){
    min-width: 154px;
    position: static;
    left: auto;
    z-index: auto;
    box-shadow: none;
  }
  .orp-view-saisie-texte .orp-classement-table thead th:nth-child(2){
    background: #f8fafc;
  }
  .orp-view-saisie-texte .orp-classement-table tbody td:nth-child(2){
    background: inherit;
  }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(4),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(4){ min-width: 82px; max-width: 96px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(5),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(5){ min-width: 124px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(6),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(6){ min-width: 124px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(7),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(7){ min-width: 76px; max-width: 84px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(8),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(8){ min-width: 80px; max-width: 88px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(9),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(9){ min-width: 146px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(10),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(10){ min-width: 72px; max-width: 82px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(11),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(11){ min-width: 84px; max-width: 96px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(12),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(12){ min-width: 164px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(13),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(13){ min-width: 66px; max-width: 76px; }
  .orp-view-saisie-texte .orp-classement-table th:nth-child(14),
  .orp-view-saisie-texte .orp-classement-table td:nth-child(14){ min-width: 170px; }
}

@media (max-width: 640px){
  .orp-view-annuaire-races .orp-annuaire-filters-grid{
    grid-template-columns: 1fr;
  }

  .orp-view-annuaire-races .orp-annuaire-results-meta{
    align-items:stretch;
  }

  .orp-view-annuaire-races .orp-annuaire-view-switch{
    width:100%;
  }

  .orp-view-annuaire-races .orp-annuaire-view-button{
    flex:1 1 0;
  }

  .orp-view-annuaire-races .orp-annuaire-filter-actions .button{
    width: 100%;
    justify-content: center;
  }

  .orp-view-saisie-texte{
    padding-left: 4px;
    padding-right: 4px;
  }

  .orp-view-saisie-texte .orp-classement-scroll{
    margin: 0 -4px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .orp-view-saisie-texte .orp-classement-table{
    width: max-content;
    max-width: none;
    min-width: 1260px;
    font-size: 11px;
  }

  .orp-view-saisie-texte input[type="text"],
  .orp-view-saisie-texte select{
    font-size: 11px;
    min-height: 32px;
    padding: 3px 5px;
  }
}

.orp-view-saisie-texte.is-compact-table .orp-classement-scroll-top{
  display: none !important;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-scroll{
  overflow-x: auto;
  overflow-y: visible;
  margin: 0;
  padding: 0;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table{
  width: 100%;
  min-width: 0 !important;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table thead{
  display: none;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table,
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody,
.orp-view-saisie-texte.is-compact-table .orp-classement-table tr,
.orp-view-saisie-texte.is-compact-table .orp-classement-table td{
  display: block;
  width: 100%;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody{
  padding: 0;
  margin: 0;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 10px;
  margin: 0 0 12px;
  padding: 10px;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr:last-child{
  margin-bottom: 0;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td{
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left;
  box-shadow: none !important;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td::before{
  display: block;
  margin: 0 0 3px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #56708f;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(1){
  order: 1;
  flex: 0 0 48px;
  width: 48px !important;
  padding: 6px 4px !important;
  border-radius: 10px;
  background: #eff6ff !important;
  text-align: center;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(1)::before{
  content: "Ligne";
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(2){
  order: 2;
  flex: 0 0 170px;
  width: 170px !important;
  margin-left: auto;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(2)::before{
  content: "Actions";
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(3){
  order: 3;
  flex: 0 0 74px;
  width: 74px !important;
}
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(3)::before{ content: "Cage"; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(4){
  order: 4;
  flex: 1 1 180px;
  width: 180px !important;
  min-width: 150px !important;
}
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(4)::before{ content: "Présentation"; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(5){ order: 5; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(5)::before{ content: "Prénom"; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(6){ order: 6; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(6)::before{ content: "Nom"; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(7){ order: 7; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(7)::before{ content: "Bague"; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(8){ order: 8; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(8)::before{ content: "Millésime"; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(9){ order: 9; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(9)::before{ content: "Race"; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(10){ order: 10; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(10)::before{ content: "Sexe"; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(11){ order: 11; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(11)::before{ content: "Taille"; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(12){ order: 12; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(12)::before{ content: "Variété"; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(13){ order: 13; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(13)::before{ content: "Note"; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(14){ order: 14; }
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(14)::before{ content: "Prix spéciaux"; }

.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(5),
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(6){
  flex: 0 1 130px;
  width: 130px !important;
  min-width: 110px !important;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(7),
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(8),
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(9),
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(10),
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(11),
.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(13){
  flex: 0 1 84px;
  width: 84px !important;
  min-width: 72px !important;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(12){
  flex: 1 1 180px;
  width: 180px !important;
  min-width: 150px !important;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(14){
  flex: 1 1 calc(50% - 5px);
  width: calc(50% - 5px) !important;
  min-width: 260px !important;
  padding-top: 0 !important;
  padding-left: 10px !important;
  border-left: 1px dashed rgba(86, 112, 143, 0.28) !important;
  border-top: 1px dashed rgba(86, 112, 143, 0.28) !important;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table td:nth-child(14) select[multiple]{
  min-width: 0;
  width: 100%;
  height: 74px;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table td:nth-child(2) select{
  margin-bottom: 4px;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table td:nth-child(2) > div{
  justify-content: flex-start !important;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table td:nth-child(2) .orp-eleveur-pick{
  width: 100%;
  min-width: 0;
}

.orp-view-saisie-texte.is-compact-table .orp-classement-table td:nth-child(2) .orp-dup-btn{
  min-width: 30px;
  min-height: 30px;
  padding: 0 8px;
}

.orp-view-saisie-texte.is-compact-table #orp-saisie-table input[type="text"],
.orp-view-saisie-texte.is-compact-table #orp-saisie-table select{
  min-height: 34px;
  padding: 5px 7px;
  font-size: 12px;
}

.orp-view-saisie-texte.is-compact-table .orp-row-index{
  font-size: 12px;
}

@media (max-width: 900px){
  .orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr{
    padding: 12px;
  }

  .orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(2){
    flex: 1 1 100%;
    width: 100% !important;
    margin-left: 0;
  }

  .orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(3),
  .orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(4),
  .orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(n+5):nth-child(-n+13),
  .orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(14){
    flex: 1 1 calc(50% - 8px);
    width: calc(50% - 8px) !important;
    min-width: 140px !important;
  }

  .orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(14){
    padding-left: 0 !important;
    border-left: 0 !important;
  }
}

@media (max-width: 640px){
  .orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr{
    gap: 8px;
    padding: 10px;
  }

  .orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(1){
    flex: 0 0 42px;
    width: 42px !important;
  }

  .orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(3),
  .orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(4),
  .orp-view-saisie-texte.is-compact-table .orp-classement-table tbody tr td:nth-child(n+5):nth-child(-n+14){
    flex: 1 1 100%;
    width: 100% !important;
    min-width: 0 !important;
  }
}

.orp-classement-maj{
  margin: 0 0 10px 0;
  font-weight: 700;
  font-size: 18px;
  opacity: .75;
}

/* =========================
   CARTE + SCROLL (commun)
   ========================= */

.orp-classement-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  overflow: hidden;
}

.orp-classement-empty-state{
  background:
    radial-gradient(circle at top left, rgba(191,219,254,.35), transparent 26%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.orp-classement-empty-state-inner{
  padding: 28px 22px;
  text-align: center;
}

.orp-classement-empty-state-visual{
  display:flex;
  justify-content:center;
  gap:10px;
  margin: 0 0 16px;
}

.orp-classement-empty-state-dot{
  width:14px;
  height:14px;
  border-radius:999px;
  box-shadow: 0 8px 18px rgba(15,23,42,.10);
}

.orp-classement-empty-state-dot.is-blue{
  background:#0B429C;
}

.orp-classement-empty-state-dot.is-gold{
  background:#f59e0b;
}

.orp-classement-empty-state-dot.is-red{
  background:#dc2626;
}

.orp-classement-empty-state-title{
  margin:0 0 8px;
  font-size:24px;
  line-height:1.1;
  letter-spacing:-.02em;
  color:#17375f;
}

.orp-classement-empty-state-text{
  max-width:58ch;
  margin:0 auto;
  color:#51657d;
}

.orp-classement-scroll{
  overflow-x: auto;
  overflow-y: visible;
  padding-top: 30px;
  background: transparent;
  -webkit-overflow-scrolling: touch;
}

.orp-view-classement .orp-classement-scroll{
  padding-top: 20px;
  padding-bottom: 120px;
  background: transparent;
}

/* =========================
   TABLE (commun)
   ========================= */

.orp-classement-table{
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  border: 0;
  box-shadow: none;
  table-layout: fixed;
  line-height: 1.5;
}

.orp-classement-table thead,
.orp-classement-table tbody,
.orp-classement-table tr{
  border: 0 !important;
}

.orp-classement-table th,
.orp-classement-table td{
  padding: 22px 16px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  vertical-align: middle;
  box-sizing: border-box;
}

.orp-classement-table thead{
  background: linear-gradient(90deg,#173f82 0%,#255aa2 100%);
}

.orp-classement-table thead th{
  font-weight: 800;
  opacity: 1;
  background: transparent;
  color: #ffffff;
  white-space: nowrap;
  padding-top: 18px;
  padding-bottom: 18px;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 13px;
}

.orp-classement-table thead th .orp-th-note{
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
  color: rgba(20,35,62,.62);
  white-space: normal;
}

/* FICHE : les en-têtes sont dans TBODY (par exposition) */
.orp-view-fiche .orp-classement-table tbody th{
  font-weight: 800;
  opacity: .85;
  background: rgba(0,0,0,.02);
  white-space: nowrap;
  padding-top: 18px;
  padding-bottom: 18px;
}

/* Colonne statut (icônes) */
.orp-view-fiche .orp-classement-table td:first-child,
.orp-view-fiche .orp-classement-table tbody th:first-child{
  background: rgba(0,0,0,.02);
}

.orp-classement-table tbody tr:hover td{
  background: rgba(0,0,0,.015);
}

.orp-classement-table tbody tr:nth-child(even) td{
  background: rgba(0,0,0,.007);
}

/* La saisie ne doit pas utiliser le zebrage global : la couleur doit
   uniquement refléter l etat réel de la ligne. */
.orp-view-saisie-texte .orp-classement-table tbody tr td{
  background: transparent;
}

.orp-view-saisie-texte .orp-classement-table tbody tr:hover td{
  background: transparent;
}

.orp-view-saisie-texte .orp-classement-table tbody tr.is-saved td{
  background: #ecfdf3;
}

.orp-view-saisie-texte .orp-classement-table tbody tr.is-saved:hover td{
  background: #dcfce7;
}

/* =========================
   CLASSEMENT UNIQUEMENT (5 colonnes)
   ========================= */

.orp-view-classement .orp-col-rang{
  width: 72px;
  text-align: right;
  white-space: nowrap;
}

.orp-view-classement .orp-col-score{
  width: 110px;
  text-align: right;
  white-space: nowrap;
}

.orp-view-classement .orp-classement-table td.orp-col-score{
  font-variant-numeric: tabular-nums;
  color:#0f2f6f;
  font-weight:900;
}

/* Éleveur (2e colonne) */
.orp-view-classement .orp-classement-table th:nth-child(2),
.orp-view-classement .orp-classement-table td:nth-child(2){
  width: 340px;
}

.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-1 td{
  background:linear-gradient(90deg,rgba(34,73,155,.20),rgba(255,255,255,.96) 48%);
}

.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-2 td{
  background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(248,250,252,.92) 46%);
}

.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-3 td{
  background:linear-gradient(90deg,rgba(229,51,42,.18),rgba(255,255,255,.96) 48%);
}

.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-1 td,
.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-2 td,
.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-3 td{
  border-bottom-color:rgba(11,66,156,.10);
}

.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-1 td:nth-child(2) .orp-link,
.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-2 td:nth-child(2) .orp-link,
.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-3 td:nth-child(2) .orp-link{
  color:#0f2f6f;
  font-weight:900;
}

.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-1 td.orp-col-rang,
.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-2 td.orp-col-rang,
.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-3 td.orp-col-rang{
  position:relative;
  color:transparent;
  text-align:center!important;
}

.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-1 td.orp-col-rang::before,
.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-2 td.orp-col-rang::before,
.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-3 td.orp-col-rang::before{
  content:attr(data-rank);
  display:inline-grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:999px;
  font-size:15px;
  line-height:1;
  font-weight:900;
  box-shadow:0 7px 16px rgba(15,23,42,.08);
}

.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-1 td.orp-col-rang::before{
  content:"1";
  background:#22499b;
  border:1px solid rgba(34,73,155,.28);
  color:#ffffff;
}

.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-2 td.orp-col-rang::before{
  content:"2";
  background:rgba(255,255,255,.94);
  border:1px solid rgba(15,23,42,.12);
  color:#0f172a;
}

.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-3 td.orp-col-rang::before{
  content:"3";
  background:#e5332a;
  border:1px solid rgba(229,51,42,.26);
  color:#ffffff;
}

/* Ville/Expositions (5e colonne) */
.orp-view-classement .orp-classement-table th:nth-child(5),
.orp-view-classement .orp-classement-table td:nth-child(5){
  width: auto;
  min-width: 360px;
  overflow-wrap: anywhere;
  word-break: break-word;
  padding-left: 28px;
}

.orp-view-classement .orp-classement-table td:nth-child(5){
  border-left: 0;
}

/* Podium : score décroissant */
.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-1 td.orp-col-score{
  font-weight: 900;
  font-size: 1.12em;
  background:rgba(34,73,155,.16);
  border-radius:10px;
  color:#153a7b;
}

.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-2 td.orp-col-score{
  font-weight: 800;
  font-size: 1.05em;
  background:rgba(255,255,255,.92);
  border-radius:10px;
  color:#0f172a;
}

.orp-view-classement .orp-classement-table tbody tr.orp-table-rank-3 td.orp-col-score{
  font-weight: 700;
  background:rgba(229,51,42,.14);
  border-radius:10px;
  color:#b9251f;
}

/* =========================
   CLASSEMENT RACE (score)
   ========================= */

.orp-view-classement-race .orp-col-score{
  width: 110px;
  text-align: right;
  white-space: nowrap;
}

.orp-view-classement-race .orp-classement-table td.orp-col-score{
  font-variant-numeric: tabular-nums;
}

.orp-view-classement-race .orp-classement-table tbody tr:nth-child(1) td.orp-col-score{
  font-weight: 900;
  font-size: 1.1em;
  background: rgba(0,0,0,.08);
  border-radius: 6px;
}

.orp-view-classement-race .orp-classement-table tbody tr:nth-child(2) td.orp-col-score{
  font-weight: 800;
  font-size: 1.05em;
  background: rgba(0,0,0,.05);
  border-radius: 6px;
}

.orp-view-classement-race .orp-classement-table tbody tr:nth-child(3) td.orp-col-score{
  font-weight: 700;
  background: rgba(0,0,0,.03);
  border-radius: 6px;
}

.orp-classement .orp-classement-table tbody tr.orp-table-rank-1 td{
  background:linear-gradient(90deg,rgba(34,73,155,.16),rgba(255,255,255,.98) 48%);
}

.orp-classement .orp-classement-table tbody tr.orp-table-rank-2 td{
  background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(248,250,252,.92) 46%);
}

.orp-classement .orp-classement-table tbody tr.orp-table-rank-3 td{
  background:linear-gradient(90deg,rgba(229,51,42,.14),rgba(255,255,255,.98) 48%);
}

.orp-classement .orp-classement-table tbody tr.orp-table-rank-1 td,
.orp-classement .orp-classement-table tbody tr.orp-table-rank-2 td,
.orp-classement .orp-classement-table tbody tr.orp-table-rank-3 td{
  border-bottom-color:rgba(11,66,156,.10);
}

.orp-classement .orp-classement-table tbody tr.orp-table-rank-1 td:nth-child(2) .orp-link,
.orp-classement .orp-classement-table tbody tr.orp-table-rank-2 td:nth-child(2) .orp-link,
.orp-classement .orp-classement-table tbody tr.orp-table-rank-3 td:nth-child(2) .orp-link{
  color:#0f2f6f;
  font-weight:900;
}

.orp-classement .orp-classement-table tbody tr.orp-table-rank-1 td.orp-col-rang,
.orp-classement .orp-classement-table tbody tr.orp-table-rank-2 td.orp-col-rang,
.orp-classement .orp-classement-table tbody tr.orp-table-rank-3 td.orp-col-rang{
  position:relative;
  color:transparent;
  text-align:center!important;
}

.orp-classement .orp-classement-table tbody tr.orp-table-rank-1 td.orp-col-rang::before,
.orp-classement .orp-classement-table tbody tr.orp-table-rank-2 td.orp-col-rang::before,
.orp-classement .orp-classement-table tbody tr.orp-table-rank-3 td.orp-col-rang::before{
  display:inline-grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:999px;
  font-size:15px;
  line-height:1;
  font-weight:900;
  box-shadow:0 7px 16px rgba(15,23,42,.08);
}

.orp-classement .orp-classement-table tbody tr.orp-table-rank-1 td.orp-col-rang::before{
  content:"1";
  background:#22499b;
  border:1px solid rgba(34,73,155,.28);
  color:#ffffff;
}

.orp-classement .orp-classement-table tbody tr.orp-table-rank-2 td.orp-col-rang::before{
  content:"2";
  background:rgba(255,255,255,.94);
  border:1px solid rgba(15,23,42,.12);
  color:#0f172a;
}

.orp-classement .orp-classement-table tbody tr.orp-table-rank-3 td.orp-col-rang::before{
  content:"3";
  background:#e5332a;
  border:1px solid rgba(229,51,42,.26);
  color:#ffffff;
}

.orp-classement .orp-classement-table tbody tr.orp-table-rank-1 td.orp-col-score{
  font-weight:900;
  font-size:1.12em;
  background:rgba(34,73,155,.14);
  border-radius:10px;
  color:#153a7b;
}

.orp-classement .orp-classement-table tbody tr.orp-table-rank-2 td.orp-col-score{
  font-weight:800;
  font-size:1.05em;
  background:rgba(255,255,255,.92);
  border-radius:10px;
  color:#0f172a;
}

.orp-classement .orp-classement-table tbody tr.orp-table-rank-3 td.orp-col-score{
  font-weight:700;
  background:rgba(229,51,42,.12);
  border-radius:10px;
  color:#b9251f;
}

/* Rang podium */
.orp-view-classement .orp-rang-podium{
  font-size: 30px;
  line-height: 1;
  text-align: right;
}

/* =========================
   LIENS / BADGES (commun)
   ========================= */

.orp-link{
  text-decoration: none;
  font-weight: 800;
}

.orp-link:hover{
  text-decoration: underline;
}

/* =========================
   TOOLTIP DEBUG ⓘ (commun)
   ========================= */

.orp-debug-info{
  position: relative;
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
  cursor: help;
  line-height: 1;
  vertical-align: middle;
  color: #666;
  padding: 2px 4px;
  border-radius: 6px;
}

.orp-debug-info::after{
  content: none;
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 8px);

  min-width: 220px;
  max-width: 520px;
  width: max-content;

  padding: 8px 10px;
  background: #000;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  border-radius: 6px;

  white-space: pre-line;
  overflow-wrap: normal;
  word-break: normal;

  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
  z-index: 9999;
}

.orp-debug-info:hover::after,
.orp-debug-info:focus::after,
.orp-debug-info:focus-visible::after{
  content: attr(data-debug);
}


.orp-debug-info:hover::after,
.orp-debug-info:focus::after{
  opacity: 1;
}

.orp-debug-info:focus{
  outline: 2px solid rgba(0,0,0,.18);
  outline-offset: 2px;
}

.orp-debug-spacer td{
  border-bottom: 0;
  height: 160px;
  padding: 0;
  background: transparent;
}

/* =========================
   FICHE — Zebra + NOTE valorisation (sans icône)
   ========================= */

.orp-view-fiche .orp-classement-table tbody tr:nth-child(even) td{
  background: rgba(0,0,0,.012);
}

/* NOTE : 95=good / 96=high / 97+=élite
   priorité sur le zebra striping */
.orp-view-fiche .orp-classement-table tbody td.orp-col-note[data-note-good="1"]{
  font-weight: 700;
}

.orp-view-fiche .orp-classement-table tbody td.orp-col-note[data-note-high="1"]{
  font-weight: 900;
  background: rgba(218,165,32,.18) !important;
  border-radius: 6px;
}

.orp-view-fiche .orp-classement-table tbody td.orp-col-note[data-note-elite="1"]{
  font-weight: 900;
  background: rgba(46,139,87,.25) !important;
  border-radius: 6px;
}

.orp-view-exposition .orp-classement-table tbody td.orp-col-note[data-note-good="1"]{
  font-weight: 700;
}

.orp-view-exposition .orp-classement-table tbody td.orp-col-note[data-note-high="1"]{
  font-weight: 900;
  background: rgba(218,165,32,.18) !important;
  border-radius: 6px;
}

.orp-view-exposition .orp-classement-table tbody td.orp-col-note[data-note-elite="1"]{
  font-weight: 900;
  background: rgba(46,139,87,.25) !important;
  border-radius: 6px;
}

/* Exposition: tooltip d'info dans l'entete de table (evite le masquage par le scroll) */
.orp-view-exposition .orp-classement-table thead th{
  position: relative;
  overflow: visible;
}

.orp-view-exposition .orp-classement-table thead th .orp-debug-info{
  z-index: 20000;
}

.orp-view-exposition .orp-classement-table thead th .orp-debug-info::after{
  top: auto;
  bottom: 100%;
  transform: translate(-50%, -8px);
  z-index: 20001;
}

.orp-view-exposition .orp-classement-table thead th .orp-debug-info-right::after{
  left: auto;
  right: 0;
  transform: translate(0, -8px);
}

.orp-view-exposition .orp-classement-scroll{
  background: transparent;
}

.orp-view-exposition .orp-exposition-table{
  min-width: 1220px;
  font-variant-numeric: tabular-nums;
}

.orp-view-exposition .orp-exposition-table .orp-col-status{
  width: 52px;
  min-width: 52px;
  text-align: center;
  padding-left: 8px;
  padding-right: 8px;
}

.orp-view-exposition .orp-exposition-table .orp-col-cage{
  width: 90px;
  min-width: 90px;
  text-align: center;
}

.orp-view-exposition .orp-exposition-table .orp-col-eleveur{
  width: 250px;
  min-width: 250px;
}

.orp-view-exposition .orp-exposition-table .orp-col-bague{
  width: 110px;
  min-width: 110px;
  text-align: center;
}

.orp-view-exposition .orp-exposition-table .orp-col-race{
  width: 180px;
  min-width: 180px;
}

.orp-view-exposition .orp-exposition-table .orp-col-variete{
  width: 190px;
  min-width: 190px;
}

.orp-view-exposition .orp-exposition-table .orp-col-sexe{
  width: 90px;
  min-width: 90px;
  text-align: center;
}

.orp-view-exposition .orp-exposition-table .orp-col-taille{
  width: 110px;
  min-width: 110px;
  text-align: center;
}

.orp-view-exposition .orp-exposition-table th.orp-col-score,
.orp-view-exposition .orp-exposition-table td.orp-col-score{
  width: 210px;
  min-width: 210px;
  text-align: center;
}

.orp-view-exposition .orp-exposition-table td.orp-col-score{
  font-weight: 800;
}

.orp-view-exposition .orp-exposition-table th.orp-col-note,
.orp-view-exposition .orp-exposition-table td.orp-col-note{
  width: 82px;
  min-width: 82px;
  text-align: center;
}

.orp-view-exposition .orp-exposition-table td.orp-col-note{
  font-weight: 800;
}

.orp-view-exposition .orp-exposition-table td .orp-prix-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.orp-view-exposition .orp-variete-non-precise-badge{
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-left: 6px;
  padding: 2px 7px;
  border: 1px solid rgba(180, 83, 9, .28);
  border-radius: 999px;
  background: rgba(251, 191, 36, .14);
  color: #92400e;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

/* =========================
   FICHE — En-tête et synthèse
   ========================= */

.orp-view-fiche .orp-fiche-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:22px;
  align-items:end;
  margin:0 0 18px;
  padding:24px 26px;
  border:1px solid rgba(11,66,156,.14);
  border-radius:8px;
  background:
    radial-gradient(circle at 92% 12%, rgba(204,168,48,.12), transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  box-shadow:0 14px 34px rgba(15,23,42,.06);
  overflow:hidden;
}

.orp-view-fiche .orp-fiche-hero:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(180deg,#001e40 0%,#cca830 58%,#bb0027 100%);
}

.orp-view-fiche .orp-fiche-hero-main{
  min-width:0;
  padding-left:4px;
}

.orp-view-fiche .orp-fiche-hero-kicker,
.orp-view-fiche .orp-fiche-section-kicker,
.orp-view-fiche .orp-fiche-kpi-label,
.orp-view-fiche .orp-fiche-rule-title{
  margin:0;
  color:#735c00;
  font-size:11px;
  font-weight:900;
  line-height:1.15;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.orp-view-fiche .orp-fiche-hero-title{
  margin:7px 0 0;
  color:#001e40;
  font-size:34px;
  line-height:1.08;
  font-weight:900;
  letter-spacing:.01em;
}

.orp-view-fiche .orp-fiche-hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
  color:#475569;
  font-size:13px;
  font-weight:800;
}

.orp-view-fiche .orp-fiche-hero-meta span{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 10px;
  border:1px solid rgba(11,66,156,.12);
  border-radius:999px;
  background:rgba(11,66,156,.04);
}

.orp-view-fiche .orp-fiche-hero-stats{
  display:flex;
  align-items:stretch;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

.orp-view-fiche .orp-fiche-hero-rank,
.orp-view-fiche .orp-fiche-hero-score{
  min-width:116px;
  padding:12px 14px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:8px;
  background:#fff;
  text-align:center;
}

.orp-view-fiche .orp-fiche-hero .orp-rang-badge{
  width:48px;
  min-width:48px;
  height:48px;
  margin:0 auto;
  font-size:21px;
  font-weight:900;
}

.orp-view-fiche .orp-fiche-hero-score strong{
  display:block;
  color:#001e40;
  font-size:28px;
  line-height:1;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}

.orp-view-fiche .orp-fiche-hero-stat-label{
  display:block;
  margin-top:7px;
  color:#64748b;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  line-height:1.1;
  text-transform:uppercase;
}

.orp-view-fiche .orp-fiche-hero-action{
  align-self:center;
  min-height:0;
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  line-height:1.1;
  font-weight:800;
  white-space:nowrap;
}

.orp-view-fiche .orp-fiche-explained-card{
  margin-bottom:16px;
  border:1px solid rgba(11,66,156,.14);
  border-radius:8px;
  background:#fff;
  box-shadow:0 14px 34px rgba(15,23,42,.06);
  overflow:hidden;
}

.orp-view-fiche .orp-fiche-explained-head{
  padding:16px 18px;
  border-bottom:1px solid rgba(11,66,156,.10);
  background:linear-gradient(90deg,rgba(11,66,156,.055) 0%,rgba(204,168,48,.06) 100%);
}

.orp-view-fiche .orp-fiche-section-intro{
  margin:6px 0 0;
  color:#475569;
  font-size:13px;
  line-height:1.45;
  font-weight:600;
}

.orp-view-fiche .orp-fiche-kpi-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:10px;
  padding:14px 16px 0;
}

.orp-view-fiche .orp-fiche-kpi-card{
  padding:12px 13px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:8px;
  background:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72);
}

.orp-view-fiche .orp-fiche-kpi-value{
  margin-top:5px;
  color:#001e40;
  font-size:24px;
  line-height:1.1;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}

.orp-view-fiche .orp-fiche-rule-callout{
  display:flex;
  flex-wrap:wrap;
  gap:7px 12px;
  align-items:center;
  justify-content:space-between;
  margin:12px 16px 0;
  padding:12px 14px;
  border:1px solid rgba(11,66,156,.12);
  border-radius:8px;
  background:rgba(11,66,156,.04);
  color:#0f172a;
}

.orp-view-fiche .orp-fiche-rule-formula{
  color:#001e40;
  font-size:13px;
  font-weight:900;
}

.orp-view-fiche .orp-fiche-rule-note{
  flex-basis:100%;
  color:#64748b;
  font-size:12px;
  line-height:1.45;
  font-weight:700;
}

.orp-view-fiche .orp-fiche-stat-panel{
  margin-bottom:14px;
  border:1px solid rgba(11,66,156,.12);
  border-radius:8px;
  background:#fff;
  box-shadow:0 10px 26px rgba(15,23,42,.045);
  overflow:hidden;
}

.orp-view-fiche .orp-fiche-stat-summary{
  display:flex;
  align-items:center;
  cursor:pointer;
  list-style:none;
  padding:11px 16px;
  border-bottom:1px solid rgba(11,66,156,.10);
  background:linear-gradient(90deg,rgba(11,66,156,.045) 0%,rgba(255,255,255,.96) 100%);
  color:#001e40;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.orp-view-fiche .orp-fiche-stat-summary::-webkit-details-marker{
  display:none;
}

.orp-view-fiche .orp-fiche-stat-arrow{
  display:inline-flex;
  width:18px;
  margin-right:8px;
  color:#cca830;
  font-size:18px;
  line-height:1;
}

.orp-view-fiche .orp-fiche-stat-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  padding:12px 14px;
}

.orp-view-fiche .orp-fiche-stat-line{
  padding:10px 12px;
  border:1px solid rgba(15,23,42,.07);
  border-radius:8px;
  background:#fff;
}

.orp-view-fiche .orp-fiche-stat-line p{
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin:0;
  color:#0f172a;
  line-height:1.55;
  font-weight:650;
}

.orp-view-fiche .orp-fiche-stat-line p span{
  flex:0 0 auto;
  width:7px;
  height:7px;
  margin-top:.55em;
  border-radius:999px;
  background:#cca830;
  box-shadow:0 0 0 4px rgba(204,168,48,.12);
}

.orp-view-fiche .orp-resume-classement{
  margin: 0 0 12px 0;
}

.orp-view-fiche .orp-resume-main{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  font-size: 18px;
  line-height: 1.25;
}

.orp-view-fiche .orp-resume-main strong{
  font-weight: 900;
}

.orp-view-fiche .orp-resume-rang strong{
  font-size: 1.15em;
}

.orp-view-fiche .orp-resume-score strong{
  font-size: 1.15em;
}

.orp-view-fiche .orp-resume-sub{
  margin-top: 6px;
  opacity: .85;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
}

.orp-view-fiche .orp-resume-sep{
  opacity: .5;
}

/* =========================
   FICHE — Badge Rang
   ========================= */

.orp-view-fiche .orp-rang-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  margin-right: 6px;

  font-size: 18px;
  font-weight: 800;
  line-height: 1;

  border-radius: 50%;
  background: rgba(0,0,0,.06);
  color: #000;
}

.orp-view-fiche .orp-resume-rang-label{
  font-weight: 600;
  opacity: .7;
}

.orp-view-fiche .orp-rang-badge.is-gold{
  background:linear-gradient(135deg,#e9c349 0%,#a97912 100%);
  color:#fff;
  box-shadow:0 8px 18px rgba(115,92,0,.16);
}

.orp-view-fiche .orp-rang-badge.is-silver{
  background:linear-gradient(135deg,#f8fafc 0%,#cbd5e1 100%);
  color:#001e40;
  border:1px solid rgba(11,66,156,.12);
}

.orp-view-fiche .orp-rang-badge.is-bronze{
  background:linear-gradient(135deg,#e7a15c 0%,#a9551d 100%);
  color:#fff;
  box-shadow:0 8px 18px rgba(169,85,29,.14);
}

@media (max-width: 760px){
  .orp-view-fiche .orp-fiche-hero{
    grid-template-columns:1fr;
    padding:20px 18px;
  }

  .orp-view-fiche .orp-fiche-hero-title{
    font-size:28px;
  }

  .orp-view-fiche .orp-fiche-hero-stats{
    justify-content:flex-start;
  }
}

/* =========================
   FICHE — LIGNES ÉLIMINÉES
   ========================= */

.orp-view-fiche .orp-row-elimine td{
  opacity: .65;
}

.orp-view-fiche .orp-row-elimine td.orp-col-score{
  font-weight: 700;
  background: rgba(0,0,0,.06);
  border-radius: 6px;
}

.orp-view-fiche .orp-row-elimine td:last-child{
  font-style: italic;
}

.orp-view-exposition .orp-row-elimine td{
  opacity: .65;
}

.orp-view-exposition .orp-row-elimine td.orp-col-score{
  font-weight: 700;
  background: rgba(0,0,0,.06);
  border-radius: 6px;
}

.orp-view-exposition .orp-row-elimine td:last-child{
  font-style: italic;
}

.orp-view-exposition .orp-classement-table,
.orp-view-exposition .orp-classement-table thead,
.orp-view-exposition .orp-classement-table tbody,
.orp-view-exposition .orp-classement-table tr,
.orp-view-exposition .orp-classement-table th,
.orp-view-exposition .orp-classement-table td{
  border: 0 !important;
}

.orp-view-fiche .orp-classement-table{
  font-variant-numeric: tabular-nums;
}

/* =========================
   ESPACE SAISIE
   ========================= */

.orp-view-espace-saisie{
  --cne-theme-blue: #0B429C;
  --cne-theme-blue-hover: #3A85B3;
  --cne-ui-blue: #0B429C;
  --cne-ui-teal: #0f766e;
  --cne-ui-amber: #b45309;
  --cne-ui-ink: #0f172a;
}

.orp-view-espace-saisie .orp-espace-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(37,99,235,.08) 0%, rgba(13,148,136,.06) 50%, rgba(245,158,11,.08) 100%),
    #ffffff;
}

.orp-view-espace-saisie .orp-espace-head-actions{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.orp-view-espace-saisie .orp-espace-title{
  margin: 0;
  color: #1e3a8a;
  letter-spacing: .01em;
}

.orp-view-espace-saisie .orp-espace-title-row{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.orp-view-espace-saisie .orp-espace-sub{
  margin: 10px 0 0;
  color: #334155;
  font-size: 14px;
}

.orp-view-espace-saisie .orp-espace-subsection-title{
  margin: 10px 0 6px;
  color: #0f172a;
  font-size: 13px;
}

.orp-view-espace-saisie .orp-espace-error-meta{
  color: #64748b;
  font-size: 12px;
}

.orp-view-espace-saisie .button,
.orp-view-club-eleveurs .button{
  border-radius: 10px;
}

.orp-view-espace-saisie .orp-espace-autorefresh{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #64748b;
  margin-left: 4px;
}

.orp-view-espace-saisie .orp-espace-autorefresh [data-role="state"]{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.orp-view-espace-saisie .orp-espace-autorefresh-count{
  font-weight: 700;
  min-width: 24px;
  text-align: right;
  color: #475569;
}

.orp-view-espace-saisie .orp-espace-autorefresh-btn{
  appearance: none;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 11px;
  line-height: 1.2;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.orp-view-espace-saisie .orp-espace-autorefresh-btn:hover{
  color: #1d4ed8;
}

.orp-view-espace-saisie .orp-espace-autorefresh-btn:disabled{
  opacity: .45;
  cursor: default;
}

.orp-view-espace-saisie .orp-espace-sub.orp-espace-season-locked{
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #991b1b;
  opacity: 1;
  font-weight: 700;
}

.orp-view-espace-saisie .orp-espace-season-locked-icon{
  font-size: 14px;
  line-height: 1;
}

.orp-view-espace-saisie .orp-espace-season-switch{
  margin: 8px 0 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  background: #f8fafc;
  font-size: 13px;
}

.orp-view-espace-saisie .orp-espace-grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 12px;
  margin: 16px 0 20px;
}

.orp-view-espace-saisie .orp-espace-kpi{
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 12px;
  padding: 12px 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 3px 12px rgba(15,23,42,.06);
  position: relative;
  overflow: hidden;
}

.orp-view-espace-saisie .orp-espace-kpi::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #93c5fd 0%, #1d4ed8 100%);
}

.orp-view-espace-saisie .orp-espace-kpi:nth-child(3n+2)::after{
  background: linear-gradient(90deg, #99f6e4 0%, #0f766e 100%);
}

.orp-view-espace-saisie .orp-espace-kpi:nth-child(3n)::after{
  background: linear-gradient(90deg, #fde68a 0%, #b45309 100%);
}

.orp-view-espace-saisie .orp-espace-kpi-label{
  font-size: 12px;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
}

.orp-view-espace-saisie .orp-espace-kpi-value{
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 4px;
  color: var(--cne-ui-ink);
}

.orp-view-espace-saisie .orp-espace-sections{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.orp-view-espace-saisie .orp-espace-theme{
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.orp-view-espace-saisie .orp-espace-theme-title{
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 800;
  color: var(--cne-ui-blue);
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.orp-view-espace-saisie .orp-espace-theme-title::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(29,78,216,.12);
}

.orp-view-espace-saisie .orp-espace-card-support > h4{
  font-size: 20px;
  line-height: 1.2;
}

.orp-view-espace-saisie .orp-espace-theme-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px;
}

.orp-view-espace-saisie .orp-espace-card{
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 10px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15,23,42,.05);
  transition: box-shadow .2s ease, border-color .2s ease;
}

.orp-view-espace-saisie .orp-espace-card:hover{
  border-color: rgba(30,64,175,.25);
  box-shadow: 0 6px 18px rgba(15,23,42,.1);
}

.orp-view-espace-saisie .orp-espace-card.orp-espace-card-updates{
  order: 1;
  background: linear-gradient(180deg, #fffaf0 0%, #fffdf7 100%);
  border-color: rgba(194, 120, 3, .2);
}

.orp-view-espace-saisie .orp-espace-card.orp-espace-card-access{
  order: 2;
}

.orp-view-espace-saisie .orp-espace-card.orp-espace-card-updates:hover{
  border-color: rgba(180, 83, 9, .35);
  box-shadow: 0 6px 18px rgba(180, 83, 9, .10);
}

.orp-view-espace-saisie .orp-espace-card.orp-espace-card-faq{
  background: linear-gradient(180deg, #effcf3 0%, #f7fdf9 100%);
  border-color: rgba(22, 163, 74, .22);
}

.orp-view-espace-saisie .orp-espace-card.orp-espace-card-faq:hover{
  border-color: rgba(22, 163, 74, .36);
  box-shadow: 0 6px 18px rgba(22, 163, 74, .10);
}

.orp-view-espace-saisie .orp-espace-card-support{
  margin-top: 18px;
}

.orp-view-espace-saisie .orp-espace-card h3{
  margin: 0 0 12px;
  font-size: 16px;
  color: #0f172a;
  border-bottom: 1px solid rgba(15,23,42,.08);
  padding-bottom: 8px;
}

.orp-view-espace-saisie .orp-espace-list{
  margin: 0;
  padding-left: 18px;
}

.orp-view-espace-saisie .orp-espace-list.orp-espace-list-two-cols{
  column-count: 2;
  column-gap: 28px;
}

.orp-view-espace-saisie .orp-espace-list.orp-espace-list-two-cols li{
  break-inside: avoid;
}

.orp-view-espace-saisie .orp-espace-list li{
  margin: 8px 0;
  line-height: 1.45;
  color: #1e293b;
}

@media (max-width: 720px){
  .orp-view-espace-saisie .orp-espace-list.orp-espace-list-two-cols{
    column-count: 1;
  }
}

.orp-view-espace-saisie .orp-mini-bar-item{
  list-style: none;
  margin: 8px 0;
  padding: 0;
}

.orp-view-espace-saisie .orp-mini-bar-label{
  display: inline-block;
  max-width: calc(100% - 56px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.orp-view-espace-saisie .orp-mini-bar-value{
  float: right;
  font-weight: 700;
  color: #0f172a;
}

.orp-view-espace-saisie .orp-mini-bar-track{
  display: block;
  margin-top: 6px;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.orp-view-espace-saisie .orp-mini-bar-fill{
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #93c5fd 0%, #2563eb 100%);
}

.orp-view-espace-saisie .orp-link{
  color: #1d4ed8;
  text-underline-offset: 2px;
}

.orp-view-espace-saisie .orp-link:hover{
  color: #1e3a8a;
}

.orp-view-espace-saisie .orp-espace-error{
  color: #b91c1c;
  font-weight: 700;
}

.orp-view-espace-saisie .orp-espace-kpi.orp-espace-kpi-error{
  border-color: #fecaca;
  background: linear-gradient(180deg, #fff7f7 0%, #fff1f2 100%);
}

.orp-view-espace-saisie .orp-espace-kpi.orp-espace-kpi-error .orp-espace-kpi-label,
.orp-view-espace-saisie .orp-espace-kpi.orp-espace-kpi-error .orp-espace-kpi-value{
  color: #b91c1c;
}

.orp-view-espace-saisie .orp-espace-card.orp-espace-card-error h3{
  color: #b91c1c;
}

.orp-view-espace-saisie .orp-espace-cne-notice{
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.orp-view-espace-saisie .orp-espace-cne-notice.is-success{
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #86efac;
}

.orp-view-espace-saisie .orp-espace-cne-notice.is-error{
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.orp-view-espace-saisie .orp-espace-cne-layout{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
  align-items: start;
}

.orp-view-espace-saisie .orp-espace-cne-layout label{
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
}

.orp-view-espace-saisie .orp-espace-cne-layout input[type="text"],
.orp-view-espace-saisie .orp-espace-cne-layout select{
  width: 100%;
  margin-bottom: 10px;
}

.orp-view-espace-saisie .orp-espace-cne-layout select[size]{
  min-height: 180px;
}

.orp-view-espace-saisie .orp-mini-chart{
  display: grid;
  grid-template-columns: repeat(var(--cols, 12), minmax(10px, 1fr));
  gap: 6px;
  align-items: end;
}

.orp-view-espace-saisie .orp-mini-chart-30{
  grid-template-columns: repeat(var(--cols, 30), minmax(10px, 1fr));
}

/* =========================
   CLUB ELEVEURS
   ========================= */

.orp-view-club-eleveurs{
  --cne-theme-blue: #0B429C;
  --cne-theme-blue-hover: #3A85B3;
  --cne-ui-blue: #0B429C;
  --cne-ui-teal: #0f766e;
  --cne-ui-ink: #0f172a;
  position: relative;
  max-width: 1180px;
  padding-top: 8px;
}

.orp-view-club-eleveurs h2{
  margin: 0 0 8px;
  color: #1e3a8a;
  letter-spacing: .01em;
}

.orp-view-club-eleveurs .orp-espace-sub{
  margin: 0 0 18px;
  color: #334155;
  font-size: 14px;
}

.orp-view-club-eleveurs .orp-club-eleveurs-kpis{
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.orp-view-club-eleveurs .orp-club-eleveurs-toolbar{
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr)) repeat(3, minmax(140px, auto));
  gap: 10px 12px;
  align-items: end;
  margin: 0 0 14px;
}

.orp-view-club-eleveurs .orp-club-eleveurs-toolbar label{
  display: block;
  min-width: 0;
}

.orp-view-club-eleveurs .orp-club-eleveurs-toolbar label span{
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  color: #475569;
  font-weight: 700;
}

.orp-view-club-eleveurs .orp-club-eleveurs-toolbar input[type="text"],
.orp-view-club-eleveurs .orp-club-eleveurs-toolbar select{
  width: 100%;
}

.orp-view-club-eleveurs .orp-club-eleveurs-kpi{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 3px 10px rgba(15,23,42,.05);
}

.orp-view-club-eleveurs .orp-club-eleveurs-kpi-label{
  font-size: 12px;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
}

.orp-view-club-eleveurs .orp-club-eleveurs-kpi-value{
  margin-top: 4px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
}

.orp-view-club-eleveurs .orp-espace-card{
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 12px;
  padding: 16px;
  background:
    linear-gradient(120deg, rgba(37,99,235,.08) 0%, rgba(13,148,136,.05) 50%, rgba(245,158,11,.06) 100%),
    #ffffff;
  box-shadow: 0 4px 14px rgba(15,23,42,.06);
}

.orp-view-club-eleveurs .orp-espace-card + .orp-espace-card{
  margin-top: 18px;
}

.orp-view-club-eleveurs .orp-espace-card h3{
  margin: 0 0 8px;
  font-size: 18px;
  color: #0f172a;
  border-bottom: 1px solid rgba(15,23,42,.08);
  padding-bottom: 8px;
}

.orp-view-club-eleveurs .orp-club-eleveur-headline{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 8px;
}

.orp-view-club-eleveurs .orp-club-eleveur-head-action{
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0B429C;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.orp-view-club-eleveurs .orp-club-eleveur-head-action:hover,
.orp-view-club-eleveurs .orp-club-eleveur-head-action:focus{
  border-color: #3A85B3;
  color: #3A85B3;
  text-decoration: none;
}

.orp-view-club-eleveurs .orp-club-eleveurs-subline{
  margin: -2px 0 12px;
  color: #64748b;
  font-size: 12px;
}

.orp-view-club-eleveurs .orp-club-eleveurs-results{
  margin: -4px 0 12px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.orp-view-club-eleveurs .orp-espace-cne-notice{
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.orp-view-club-eleveurs .orp-espace-cne-notice.is-success{
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #86efac;
}

.orp-view-club-eleveurs .orp-espace-cne-notice.is-error{
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.orp-view-club-eleveurs .orp-classement-scroll{
  margin-top: 8px;
}

.orp-view-club-eleveurs .orp-classement-table th:nth-child(1),
.orp-view-club-eleveurs .orp-classement-table td:nth-child(1),
.orp-view-club-eleveurs .orp-classement-table th:nth-child(4),
.orp-view-club-eleveurs .orp-classement-table td:nth-child(4),
.orp-view-club-eleveurs .orp-classement-table th:nth-child(5),
.orp-view-club-eleveurs .orp-classement-table td:nth-child(5),
.orp-view-club-eleveurs .orp-classement-table th:nth-child(6),
.orp-view-club-eleveurs .orp-classement-table td:nth-child(6),
.orp-view-club-eleveurs .orp-classement-table th:nth-child(7),
.orp-view-club-eleveurs .orp-classement-table td:nth-child(7),
.orp-view-club-eleveurs .orp-classement-table th:nth-child(8),
.orp-view-club-eleveurs .orp-classement-table td:nth-child(8){
  text-align: center;
}

.orp-view-club-eleveurs .orp-classement-table td:nth-child(7) label{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.orp-view-club-eleveurs .orp-classement-table th:nth-child(1),
.orp-view-club-eleveurs .orp-classement-table td:nth-child(1){
  width: 44px;
}

.orp-view-club-eleveurs .button.button-primary{
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
}

.orp-view-club-eleveurs .orp-club-eleveurs-toolbar > .button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  white-space: nowrap;
}

.orp-view-club-eleveurs .orp-espace-club-members-form .button.button-secondary{
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
}

.orp-view-club-eleveurs .orp-club-eleveurs-toolbar .button.button-secondary{
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
}

.orp-view-club-eleveurs .orp-club-eleveurs-toolbar .button.button-primary{
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
}

.orp-view-club-eleveurs .orp-club-eleveurs-view-btn.button.button-secondary{
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  border-radius: 10px;
  text-decoration: none;
}

.orp-view-club-eleveurs .orp-club-photo-action.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  border-radius: 10px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.orp-view-club-eleveurs .orp-club-photo-action.button.button-secondary{
  min-width: 122px;
}

.orp-view-club-eleveurs .orp-club-photo-action.button.orp-btn-danger{
  min-width: 122px;
  box-shadow: none;
}

.orp-view-club-eleveurs .orp-club-photo-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.orp-view-club-eleveurs .orp-club-photo-card{
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.orp-view-club-eleveurs .orp-club-photo-card-media{
  min-width: 0;
  color: #0f172a;
}

.orp-view-club-eleveurs .orp-club-photo-bague-line{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.orp-view-club-eleveurs .orp-club-photo-preview-wrap{
  margin-top: 10px;
}

.orp-view-club-eleveurs .orp-club-photo-preview{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #dbe4f0;
}

.orp-view-club-eleveurs .orp-club-photo-preview-empty{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-top: 10px;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  color: #64748b;
  font-size: 13px;
  background: #f8fafc;
}

.orp-view-club-eleveurs .orp-club-photo-card-body{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.orp-view-club-eleveurs .orp-club-photo-actions-row{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.orp-view-club-eleveurs .orp-club-photo-form{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 0;
}

.orp-view-club-eleveurs .orp-club-photo-remove-form{
  margin: 0;
}

.orp-view-club-eleveurs .orp-club-bague-form{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.orp-view-club-eleveurs .orp-club-bague-fields{
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(110px, .8fr);
  gap: 8px;
  align-items: end;
}

.orp-view-club-eleveurs .orp-club-photo-file-label{
  display: block;
  min-width: 0;
}

.orp-view-club-eleveurs .orp-club-photo-file-label span{
  display: block;
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
}

.orp-view-club-eleveurs .orp-club-photo-file-label input[type="file"]{
  max-width: 100%;
}

.orp-view-club-eleveurs .orp-club-photo-file-label input[type="text"]{
  width: 100%;
}

.orp-view-club-eleveurs .orp-club-photo-file-label select{
  width: 100%;
}

.orp-view-club-eleveurs .orp-club-eleveurs-pager{
  margin: 10px 0 0;
  font-size: 12px;
  color: #64748b;
}

.orp-view-club-eleveurs .orp-club-eleveurs-pager-links{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 0;
}

@media (max-width: 900px){
  .orp-view-club-eleveurs .orp-club-eleveurs-toolbar{
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .orp-view-club-eleveurs .orp-club-eleveurs-kpis{
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .orp-view-club-eleveurs .orp-club-photo-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .orp-view-club-eleveurs .orp-club-eleveurs-toolbar{
    grid-template-columns: 1fr;
  }

  .orp-view-club-eleveurs .orp-club-eleveurs-kpis{
    grid-template-columns: 1fr;
  }

  .orp-view-club-eleveurs .orp-club-photo-grid{
    grid-template-columns: 1fr;
  }

  .orp-view-club-eleveurs .orp-club-bague-fields{
    grid-template-columns: 1fr;
  }
}

.orp-view-espace-saisie .orp-mini-chart-12{
  grid-template-columns: repeat(var(--cols, 12), minmax(28px, 1fr));
  gap: 8px;
}

.orp-view-espace-saisie .orp-mini-chart-7{
  grid-template-columns: repeat(var(--cols, 7), minmax(28px, 1fr));
  gap: 10px;
}

.orp-view-espace-saisie .orp-mini-col{
  text-align: center;
}

.orp-view-espace-saisie .orp-mini-bar-wrap{
  height: 74px;
  display: flex;
  align-items: end;
  justify-content: center;
}

.orp-view-espace-saisie .orp-mini-bar{
  display: inline-block;
  width: 10px;
  min-height: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
}

.orp-view-espace-saisie .orp-mini-chart-12 .orp-mini-bar{
  width: 14px;
  background: linear-gradient(180deg, #4ade80 0%, #16a34a 100%);
}

.orp-view-espace-saisie .orp-mini-chart-roll30 .orp-mini-bar{
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
}

.orp-view-espace-saisie .orp-mini-count{
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  opacity: .85;
}

.orp-view-espace-saisie .orp-mini-label{
  margin-top: 2px;
  font-size: 10px;
  opacity: .7;
  line-height: 1.2;
}

.orp-view-espace-saisie .orp-status-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.orp-view-espace-saisie .orp-status-inline{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.orp-view-espace-saisie .orp-status-inline .orp-status-pills{
  margin-top: 0;
}

.orp-view-espace-saisie .orp-status-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
}

.orp-view-espace-saisie .orp-status-pill .orp-status-count{
  font-weight: 800;
}

.orp-view-espace-saisie .orp-status-pill.is-a-traiter{
  background: #ecfeff;
  color: #155e75;
  border-color: #a5f3fc;
}

.orp-view-espace-saisie .orp-status-pill.is-ajoute{
  background: #ecfdf3;
  color: #166534;
  border-color: #86efac;
}

.orp-view-espace-saisie .orp-status-pill.is-modifie{
  background: #fdf4ff;
  color: #701a75;
  border-color: #f0abfc;
}

.orp-view-espace-saisie .orp-status-pill.is-erreur{
  background: #fef2f2;
  color: #991b1b;
  border-color: #fca5a5;
}

.orp-view-espace-saisie .orp-status-pill.is-eleveur-incomplet{
  background: #eff6ff;
  color: #1e3a8a;
  border-color: #bfdbfe;
}

.orp-view-espace-saisie .orp-status-pill.is-autre{
  background: #f4f4f5;
  color: #27272a;
  border-color: #e4e4e7;
}

.orp-view-espace-saisie .orp-update-pill{
  margin-left: 6px;
  vertical-align: middle;
}

.orp-view-espace-saisie .orp-update-filters{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.orp-view-espace-saisie .orp-update-filter{
  appearance: none;
  border: 1px solid #f3d39f;
  background: rgba(255,255,255,.8);
  color: #92400e;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: all .15s ease;
}

.orp-view-espace-saisie .orp-update-filter:hover,
.orp-view-espace-saisie .orp-update-filter:focus-visible{
  border-color: #f59e0b;
  background: #fff7ed;
  outline: none;
}

.orp-view-espace-saisie .orp-update-filter.is-active{
  background: #b45309;
  border-color: #b45309;
  color: #fff;
  box-shadow: 0 2px 8px rgba(180,83,9,.18);
}

.orp-view-espace-saisie .orp-update-list li[hidden]{
  display: none;
}

.orp-view-espace-saisie .orp-list-more{
  margin-top: 10px;
}

.orp-view-espace-saisie .orp-list-more-button{
  appearance: none;
  border: 1px solid rgba(11, 66, 156, 0.16);
  background: rgba(255,255,255,.9);
  color: #0B429C;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: all .15s ease;
}

.orp-view-espace-saisie .orp-list-more-button:hover,
.orp-view-espace-saisie .orp-list-more-button:focus-visible{
  background: #eff6ff;
  border-color: rgba(11, 66, 156, 0.28);
  outline: none;
}

.orp-view-espace-saisie .orp-list-more-button[hidden]{
  display: none;
}

.orp-view-espace-saisie .orp-update-pill.is-nouveau{
  background: #ecfdf3;
  color: #166534;
  border-color: #86efac;
}

.orp-view-espace-saisie .orp-update-pill.is-correctif{
  background: #eff6ff;
  color: #1e3a8a;
  border-color: #bfdbfe;
}

.orp-view-espace-saisie .orp-update-pill.is-amelioration{
  background: #fff7ed;
  color: #9a3412;
  border-color: #fdba74;
}

@media (max-width: 900px){
  .orp-view-espace-saisie .orp-espace-grid{
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }
  .orp-view-espace-saisie .orp-espace-theme-grid{
    grid-template-columns: 1fr;
  }
  .orp-view-espace-saisie .orp-mini-chart-30{
    grid-template-columns: repeat(15, minmax(10px, 1fr));
    row-gap: 10px;
  }
  .orp-view-espace-saisie .orp-espace-cne-layout{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px){
  .orp-view-espace-saisie .orp-espace-grid{
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}

/* =========================
   FICHE — LIGNES MÉTA (taille unifiée)
   ========================= */

.orp-view-fiche .orp-fiche-meta-line{
  font-size: 1em !important;
}

.orp-view-fiche .orp-fiche-legend-line{
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  align-items: center;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.orp-view-fiche .orp-fiche-legend-line > span{
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
}

.orp-view-fiche .orp-fiche-sep{
  height: 1px;
  background: rgba(0,0,0,.08);
  margin: 22px 0 26px;
}

/* =========================
   PRIX SPÉCIAUX — TROPHÉE
   ========================= */

.orp-prix-badge{
  font-size: 17px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  transform: translateY(-1px);
}

.orp-prix-badge-retained{
  letter-spacing: 0;
  white-space: nowrap;
}

.orp-prix-badge-star{
  font-size: 16px;
  color: #0b429c;
}

.orp-prix-badge-star-p1{
  color: #0b429c;
  text-shadow: 0 0 0 rgba(11,66,156,0);
}

.orp-prix-badge-star-p2{
  color: #3b82f6;
}

.orp-prix-badge-star-p3{
  color: #7c3aed;
}

/* =========================
   MOBILE GLOBAL : tables “lisibles”
   (attention : volaille surcharge ensuite)
   ========================= */

@media (max-width: 768px) {
  .orp-classement-table th,
  .orp-classement-table td {
    white-space: normal;
    word-break: break-word;
  }

  .orp-view-classement .orp-classement-scroll,
  .orp-view-classement-race .orp-classement-scroll,
  .orp-view-classement-club .orp-classement-scroll,
  .orp-view-classement-clubs .orp-classement-scroll{
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
  }

  .orp-view-classement .orp-classement-table,
  .orp-view-classement-race .orp-classement-table,
  .orp-view-classement-club .orp-classement-table{
    width: max-content;
    min-width: 860px;
    table-layout: auto;
  }

  .orp-view-classement-clubs .orp-classement-table{
    width: max-content;
    min-width: 1080px;
    table-layout: auto;
  }

  .orp-view-classement .orp-classement-table th,
  .orp-view-classement .orp-classement-table td,
  .orp-view-classement-race .orp-classement-table th,
  .orp-view-classement-race .orp-classement-table td,
  .orp-view-classement-club .orp-classement-table th,
  .orp-view-classement-club .orp-classement-table td,
  .orp-view-classement-clubs .orp-classement-table th,
  .orp-view-classement-clubs .orp-classement-table td{
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .orp-view-classement .orp-classement-table th:nth-child(2),
  .orp-view-classement .orp-classement-table td:nth-child(2),
  .orp-view-classement-race .orp-classement-table th:nth-child(2),
  .orp-view-classement-race .orp-classement-table td:nth-child(2),
  .orp-view-classement-club .orp-classement-table th:nth-child(2),
  .orp-view-classement-club .orp-classement-table td:nth-child(2){
    min-width: 220px;
  }

  .orp-view-classement .orp-classement-table th:nth-child(3),
  .orp-view-classement .orp-classement-table td:nth-child(3),
  .orp-view-classement-race .orp-classement-table th:nth-child(3),
  .orp-view-classement-race .orp-classement-table td:nth-child(3),
  .orp-view-classement-club .orp-classement-table th:nth-child(3),
  .orp-view-classement-club .orp-classement-table td:nth-child(3){
    min-width: 280px;
  }

  .orp-view-classement .orp-classement-table th:nth-child(5),
  .orp-view-classement .orp-classement-table td:nth-child(5),
  .orp-view-classement-race .orp-classement-table th:nth-child(5),
  .orp-view-classement-race .orp-classement-table td:nth-child(5),
  .orp-view-classement-club .orp-classement-table th:nth-child(5),
  .orp-view-classement-club .orp-classement-table td:nth-child(5){
    min-width: 260px;
    overflow-wrap: normal;
    word-break: normal;
  }

  .orp-view-classement .orp-classement-table .orp-col-score,
  .orp-view-classement-race .orp-classement-table .orp-col-score,
  .orp-view-classement-club .orp-classement-table .orp-col-score,
  .orp-view-classement-clubs .orp-classement-table .orp-col-score{
    min-width: 110px;
    white-space: nowrap;
  }
}

/* =========================
   TABLE EXPOSITIONS
   ========================= */

.orp-expos-table{
  min-width: 980px;
  table-layout: fixed;
}

/* Exposition */
.orp-expos-table th:nth-child(1),
.orp-expos-table td:nth-child(1){
  width: 320px;
  font-weight: 600;
}

/* Dates */
.orp-expos-table th:nth-child(2),
.orp-expos-table td:nth-child(2){
  width: 160px;
  white-space: normal;
  color: rgba(0,0,0,.65);
}

/* Participants (compteur) */
.orp-expos-table th:nth-child(3),
.orp-expos-table td:nth-child(3){
  width: 110px;
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}

/* Liste des participants */
.orp-expos-table th:nth-child(4),
.orp-expos-table td:nth-child(4){
  width: auto;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Séparateurs */
.orp-meta-sep{
  margin: 0 6px;
  opacity: .45;
}

.orp-expo-type{
  font-size: 12px;
  font-weight: 600;
  opacity: .65;
  margin-bottom: 2px;
}

.orp-expo-label{
  font-weight: 600;
}

.orp-expo-date{
  white-space: nowrap;
}

.orp-expo-city{
  font-size: .9em;
  opacity: .8;
}

.orp-expo-badge{
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .78em;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.4;
  color: #274c77;
  background: rgba(39, 76, 119, .12);
  border: 1px solid rgba(39, 76, 119, .22);
  vertical-align: middle;
}

.orp-view-exposition .orp-expo-type-links-card{
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,249,252,.96));
}

.orp-view-exposition .orp-expo-type-links-inner{
  padding: 9px 12px;
}

.orp-view-exposition .orp-expo-type-links-title{
  margin: 0 0 7px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
}

.orp-view-exposition .orp-expo-type-links-scroll{
  overflow-x: auto;
}

.orp-view-exposition .orp-expo-type-links-table{
  min-width: 0;
}

.orp-view-exposition .orp-expo-type-links-table th,
.orp-view-exposition .orp-expo-type-links-table td{
  padding: 9px 10px;
  font-size: 15px;
  line-height: 1.3;
}

.orp-view-exposition .orp-expo-type-links-table thead th{
  font-size: 13px;
  letter-spacing: .02em;
}

.orp-view-exposition .orp-expo-type-links-table .orp-expo-badge{
  padding: 2px 8px;
  font-size: .78em;
}

.orp-expo-more{
  font-size: .92em;
  font-weight: 600;
  color: rgba(39, 76, 119, .78);
  white-space: nowrap;
}

/* =========================
   CALENDRIER EXPOSITIONS
   ========================= */

.orp-view-calendrier-expositions .orp-cal-section{
  margin: 18px 0 0;
}

.orp-view-calendrier-expositions .orp-cal-filters{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  align-items: end;
  margin: 0 0 16px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid rgba(15,23,42,.10);
}

.orp-view-calendrier-expositions .orp-cal-filters label{
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.orp-view-calendrier-expositions .orp-cal-filters label span{
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.orp-view-calendrier-expositions .orp-cal-filters select,
.orp-view-calendrier-expositions .orp-cal-filters input{
  width: 100%;
}

.orp-view-calendrier-expositions .orp-cal-filters .button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  white-space: nowrap;
  line-height: 1.15;
  font-size: 13px;
}

.orp-view-calendrier-expositions .orp-cal-toolbar-link{
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11,66,156,.18);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  color: var(--cne-theme-blue);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(11,66,156,.06);
}

.orp-view-calendrier-expositions .orp-cal-toolbar-link:hover,
.orp-view-calendrier-expositions .orp-cal-toolbar-link:focus{
  border-color: rgba(58,133,179,.36);
  color: #245d85;
  text-decoration: none;
}

.orp-view-calendrier-expositions .orp-cal-section-upcoming,
.orp-view-calendrier-expositions .orp-cal-section-next{
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(11,66,156,.07), rgba(255,255,255,.96) 42%, rgba(58,133,179,.08));
  border: 1px solid rgba(11,66,156,.13);
}

.orp-view-calendrier-expositions .orp-cal-section-past{
  padding: 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(248,250,252,.92), rgba(241,245,249,.74));
  border: 1px solid rgba(100,116,139,.18);
}

.orp-view-calendrier-expositions .orp-cal-section-nodate{
  padding: 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,251,235,.72), rgba(255,255,255,.9));
  border: 1px solid rgba(180,83,9,.16);
}

.orp-view-calendrier-expositions .orp-cal-section-title{
  margin: 0 0 12px;
  color: var(--cne-theme-blue);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
  letter-spacing: .02em;
}

.orp-view-calendrier-expositions .orp-cal-month{
  margin: 0 0 16px;
}

.orp-view-calendrier-expositions .orp-cal-month-collapsible{
  margin: 0 0 8px;
  border: 1px solid rgba(100,116,139,.18);
  border-radius: 15px;
  background: rgba(255,255,255,.72);
  overflow: hidden;
}

.orp-view-calendrier-expositions .orp-cal-month-summary{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  cursor: pointer;
  color: #334155;
  font-weight: 800;
  list-style: none;
}

.orp-view-calendrier-expositions .orp-cal-month-summary::-webkit-details-marker{
  display: none;
}

.orp-view-calendrier-expositions .orp-cal-month-summary::before{
  content: "›";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 2px;
  border-radius: 999px;
  background: rgba(100,116,139,.12);
  color: #475569;
  transform: rotate(0deg);
  transition: transform .16s ease;
}

.orp-view-calendrier-expositions .orp-cal-month-collapsible[open] .orp-cal-month-summary::before{
  transform: rotate(90deg);
}

.orp-view-calendrier-expositions .orp-cal-month-summary span:first-child{
  flex: 1 1 auto;
}

.orp-view-calendrier-expositions .orp-cal-month-summary span:last-child{
  flex: 0 0 auto;
  font-size: 12px;
  color: #64748b;
}

.orp-view-calendrier-expositions .orp-cal-month-label{
  display: inline-flex;
  margin: 0 0 8px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(11,66,156,.07);
  border: 1px solid rgba(11,66,156,.14);
  color: var(--cne-theme-blue);
  font-size: 13px;
  font-weight: 800;
}

.orp-view-calendrier-expositions .orp-cal-cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.orp-view-calendrier-expositions .orp-cal-card{
  position: relative;
  display: flex;
  gap: 16px;
  max-width: 760px;
  min-height: 190px;
  padding: 16px;
  border: 1px solid rgba(15,23,42,.11);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(15,23,42,.035), transparent 28%),
    #fff;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}

.orp-view-calendrier-expositions .orp-cal-card.is-next-season-card{
  border-style: dashed;
  background:
    radial-gradient(circle at 100% 0%, rgba(58,133,179,.05), transparent 30%),
    linear-gradient(180deg, #ffffff, #f9fbff);
}

.orp-view-calendrier-expositions .orp-cal-card::after{
  content: "";
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 74px;
  height: 74px;
  background-image: url("https://ffv-cne.fr/wp-content/uploads/2025/08/icon.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .055;
  pointer-events: none;
}

.orp-view-calendrier-expositions .orp-cal-month-collapsible .orp-cal-cards{
  padding: 0 12px 12px;
}

.orp-view-calendrier-expositions .orp-cal-card.is-past-card{
  min-height: 0;
  max-width: none;
  padding: 12px;
  background: #fff;
  border-color: rgba(100,116,139,.16);
  box-shadow: none;
  opacity: .86;
}

.orp-view-calendrier-expositions .orp-cal-card.is-past-card::after{
  display: none;
}

.orp-view-calendrier-expositions .orp-cal-card.is-past-card .orp-cal-card-media{
  display: none;
}

.orp-view-calendrier-expositions .orp-cal-card.is-past-card .orp-cal-card-title{
  font-size: 16px;
}

.orp-view-calendrier-expositions .orp-cal-card-media{
  flex: 0 0 132px;
  width: 132px;
  min-height: 176px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid rgba(15,23,42,.10);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 10px 22px rgba(15,23,42,.12);
}

.orp-view-calendrier-expositions .orp-cal-card-image{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 13px;
  box-shadow: none;
}

.orp-view-calendrier-expositions .orp-cal-card-placeholder{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(11,66,156,.10), transparent 34%),
    linear-gradient(180deg, rgba(11,66,156,.045), rgba(58,133,179,.025));
  color: #1e3a8a;
}

.orp-view-calendrier-expositions .orp-cal-card-placeholder img{
  width: 52px;
  height: 52px;
  object-fit: contain;
  opacity: .9;
}

.orp-view-calendrier-expositions .orp-cal-card-placeholder-month{
  display: block;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.orp-view-calendrier-expositions .orp-cal-card-placeholder-place{
  display: block;
  max-width: 100%;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.orp-view-calendrier-expositions .orp-cal-card-body{
  min-width: 0;
  flex: 1 1 auto;
}

.orp-view-calendrier-expositions .orp-cal-card-topline{
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 6px;
}

.orp-view-calendrier-expositions .orp-cal-card-kicker{
  display: inline-flex;
  margin: 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(11,66,156,.08);
  color: var(--cne-theme-blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.orp-view-calendrier-expositions .orp-cal-card-next-badge,
.orp-view-calendrier-expositions .orp-cal-card-time-badge{
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.15;
}

.orp-view-calendrier-expositions .orp-cal-card-next-badge{
  background: rgba(58,133,179,.10);
  color: #245d85;
}

.orp-view-calendrier-expositions .orp-cal-card-time-badge{
  background: rgba(15,23,42,.06);
  color: #334155;
}

.orp-view-calendrier-expositions .orp-cal-card-title{
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.2;
}

.orp-view-calendrier-expositions .orp-cal-card-date{
  margin: 0 0 8px;
  color: #334155;
  font-weight: 700;
}

.orp-view-calendrier-expositions .orp-cal-card-meta{
  margin: 0 0 5px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.orp-view-calendrier-expositions .orp-cal-card-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
}

.orp-view-calendrier-expositions .orp-cal-card-actions .button{
  padding: 5px 11px;
  min-height: 0;
  line-height: 1.25;
  font-size: 13px;
}

.orp-view-calendrier-expositions .orp-cal-card-status{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid rgba(100,116,139,.22);
  border-radius: 4px;
  background: rgba(100,116,139,.08);
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.orp-view-calendrier-expositions .orp-cal-cards.is-compact-view{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.orp-view-calendrier-expositions .orp-cal-cards.is-compact-view .orp-cal-card{
  max-width: none;
  min-height: 0;
  padding: 11px 12px;
  gap: 12px;
  align-items: center;
}

.orp-view-calendrier-expositions .orp-cal-cards.is-compact-view .orp-cal-card-media{
  flex: 0 0 58px;
  width: 58px;
  min-height: 58px;
  height: 58px;
  align-self: center;
  border-radius: 12px;
}

.orp-view-calendrier-expositions .orp-cal-cards.is-compact-view .orp-cal-card-placeholder{
  gap: 2px;
  padding: 6px;
}

.orp-view-calendrier-expositions .orp-cal-cards.is-compact-view .orp-cal-card-placeholder img{
  width: 28px;
  height: 28px;
}

.orp-view-calendrier-expositions .orp-cal-cards.is-compact-view .orp-cal-card-placeholder-month,
.orp-view-calendrier-expositions .orp-cal-cards.is-compact-view .orp-cal-card-placeholder-place{
  display: none;
}

.orp-view-calendrier-expositions .orp-cal-cards.is-compact-view .orp-cal-card-body{
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(170px, .8fr) minmax(180px, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
}

.orp-view-calendrier-expositions .orp-cal-cards.is-compact-view .orp-cal-card-topline{
  grid-column: 1 / -1;
  margin: 0;
}

.orp-view-calendrier-expositions .orp-cal-cards.is-compact-view .orp-cal-card-title{
  margin: 0;
  font-size: 16px;
}

.orp-view-calendrier-expositions .orp-cal-cards.is-compact-view .orp-cal-card-date{
  margin: 0;
  font-size: 13px;
}

.orp-view-calendrier-expositions .orp-cal-cards.is-compact-view .orp-cal-card-meta{
  display: none;
}

.orp-view-calendrier-expositions .orp-cal-cards.is-compact-view .orp-cal-card-actions{
  margin: 0;
  justify-content: flex-end;
}

@media (max-width: 620px){
  .orp-view-calendrier-expositions .orp-cal-filters{
    grid-template-columns: 1fr;
  }

  .orp-view-calendrier-expositions .orp-cal-card{
    flex-direction: column;
  }

  .orp-view-calendrier-expositions .orp-cal-cards.is-compact-view .orp-cal-card{
    align-items: stretch;
  }

  .orp-view-calendrier-expositions .orp-cal-card-media{
    flex-basis: auto;
    width: 100%;
    height: 190px;
    min-height: 190px;
    align-self: auto;
  }

  .orp-view-calendrier-expositions .orp-cal-card-image{
    width: 100%;
    height: 100%;
  }

  .orp-view-calendrier-expositions .orp-cal-cards.is-compact-view .orp-cal-card-media{
    width: 100%;
    height: 96px;
    min-height: 96px;
  }

  .orp-view-calendrier-expositions .orp-cal-cards.is-compact-view .orp-cal-card-body{
    display: block;
  }

  .orp-view-calendrier-expositions .orp-cal-cards.is-compact-view .orp-cal-card-date{
    margin-top: 5px;
  }

  .orp-view-calendrier-expositions .orp-cal-cards.is-compact-view .orp-cal-card-actions{
    justify-content: flex-start;
    margin-top: 8px;
  }

  .orp-view-calendrier-expositions .orp-cal-card-actions .button,
  .orp-view-calendrier-expositions .orp-cal-card-status{
    min-height: 32px;
    padding: 5px 10px;
    font-size: 12px;
  }
}

.orp-eleveur-unranked{
  color: rgba(0,0,0,.55);
}

.orp-tooltip{
  position: relative;
  cursor: help;
}

.orp-tooltip::after{
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translate(-50%, -8px);
  background: #000;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  padding: 6px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
  z-index: 1000;
}

.orp-tooltip:hover::after,
.orp-tooltip:focus::after{
  opacity: 1;
}

/* ============================
   Shortcode : volaille (scoped)
   ============================ */

.orp-view-volaille h3 {
  margin: 0 0 10px 0;
  line-height: 1.15;
}

.orp-view-volaille .orp-classement-maj {
  margin: 0 0 10px 0;
}

.orp-view-volaille .orp-classement-card {
  margin: 0 0 14px 0;
}

/* Liens bague */
.orp-view-volaille .orp-bague-link{
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.orp-view-volaille .orp-bague-link:hover{
  text-decoration-thickness: 2px;
}

.orp-view-volaille .orp-classement-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.orp-view-volaille .orp-classement-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.orp-view-volaille .orp-classement-table th,
.orp-view-volaille .orp-classement-table td {
  padding: 10px 10px;
  vertical-align: top;
  border-bottom: 1px solid rgba(0,0,0,.06);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.orp-view-volaille .orp-classement-table th {
  font-weight: 800;
  opacity: .85;
  background: rgba(0,0,0,.02);
}

/* Ligne “titre exposition” */
.orp-view-volaille .orp-classement-table td[colspan] {
  background: rgba(0,0,0,.02);
  font-weight: 800;
  white-space: normal;
}

/* Largeurs conseillées (8 colonnes)
   1 Cage | 2 Race | 3 Variété | 4 Sexe | 5 Taille | 6 Note | 7 Points | 8 Type
*/
.orp-view-volaille .orp-classement-table th:nth-child(1),
.orp-view-volaille .orp-classement-table td:nth-child(1) { width: 74px; }

.orp-view-volaille .orp-classement-table th:nth-child(2),
.orp-view-volaille .orp-classement-table td:nth-child(2) { width: 140px; }

.orp-view-volaille .orp-classement-table th:nth-child(3),
.orp-view-volaille .orp-classement-table td:nth-child(3) { width: 190px; }

.orp-view-volaille .orp-classement-table th:nth-child(4),
.orp-view-volaille .orp-classement-table td:nth-child(4) { width: 95px; text-align: center; }

.orp-view-volaille .orp-classement-table th:nth-child(5),
.orp-view-volaille .orp-classement-table td:nth-child(5) { width: 120px; text-align: center; }

.orp-view-volaille .orp-classement-table th:nth-child(6),
.orp-view-volaille .orp-classement-table td:nth-child(6) { width: 90px; text-align: center; }

.orp-view-volaille .orp-classement-table th:nth-child(7),
.orp-view-volaille .orp-classement-table td:nth-child(7) { width: 100px; text-align: center; }

.orp-view-volaille .orp-classement-table th:nth-child(8),
.orp-view-volaille .orp-classement-table td:nth-child(8) { width: 130px; text-align: center; }

/* “Points” */
.orp-view-volaille .orp-col-score {
  font-weight: 800;
  text-align: center;
}

/* Note un peu plus visible */
.orp-view-volaille .orp-classement-table td:nth-child(6) {
  font-weight: 800;
}

.orp-view-galerie-volailles .orp-galerie-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px 14px;
  margin:0 0 12px;
}

.orp-view-galerie-volailles .orp-galerie-filters{
  display:flex;
  flex-wrap:wrap;
  align-items:end;
  gap:12px;
  width:100%;
  padding:12px 14px;
  border:1px solid #dbe3ee;
  border-radius:14px;
  background:linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
}

.orp-view-galerie-volailles .orp-galerie-filters label{
  display:grid;
  gap:6px;
  min-width:160px;
  flex:1 1 180px;
}

.orp-view-galerie-volailles .orp-galerie-filters span{
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#4a5f78;
}

.orp-view-galerie-volailles .orp-galerie-filters select{
  min-height:40px;
  border-radius:10px;
  border:1px solid #cad6e3;
  background:#fff;
  padding:0 12px;
  font-size:14px;
  color:#223046;
}

.orp-view-galerie-volailles .orp-galerie-filters-actions{
  display:flex;
  gap:8px;
  align-items:center;
  flex:0 0 auto;
}

.orp-view-galerie-volailles .orp-galerie-sub{
  margin:0;
  color:#475569;
  font-size:14px;
}

.orp-view-galerie-volailles .orp-galerie-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:14px;
  align-items:stretch;
}

.orp-view-galerie-volailles .orp-galerie-card{
  height:100%;
  min-width:0;
  color:#0f172a;
}

.orp-view-galerie-volailles .orp-galerie-card:hover,
.orp-view-galerie-volailles .orp-galerie-card:focus{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(15,23,42,.10);
  border-color:rgba(11,66,156,.22);
  color:#0f172a;
}

.orp-view-galerie-volailles .orp-galerie-card-media{
  aspect-ratio:4 / 3;
}

.orp-view-galerie-volailles .orp-galerie-card-media::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:40%;
  background:linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,.48) 100%);
  pointer-events:none;
}

.orp-view-galerie-volailles .orp-galerie-trophy{
  position:absolute;
  bottom:10px;
  left:10px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  box-shadow:0 6px 18px rgba(15,23,42,.18);
  font-size:18px;
}

.orp-view-galerie-volailles .orp-galerie-prix-overlays{
  position:absolute;
  bottom:10px;
  right:10px;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
  max-width:min(78%, 220px);
}

.orp-view-galerie-volailles .orp-galerie-prix-chip{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(11,66,156,.88);
  color:#fff;
  font-size:11px;
  font-weight:700;
  line-height:1.2;
  box-shadow:0 6px 18px rgba(15,23,42,.18);
}

.orp-view-galerie-volailles .orp-galerie-prix-chip-more{
  background:rgba(15,23,42,.78);
}

.orp-view-galerie-volailles .orp-galerie-card-body{
  gap:8px;
  flex:1 1 auto;
  min-height:132px;
  padding:12px;
}

.orp-view-galerie-volailles .orp-galerie-bague-line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  flex-wrap:wrap;
  min-height:28px;
}

.orp-view-galerie-volailles .orp-galerie-bague{
  font-size:15px;
  font-weight:800;
  color:#0B429C;
}

.orp-view-galerie-volailles .orp-galerie-meta{
  display:flex;
  flex-direction:column;
  gap:4px;
  flex:1 1 auto;
  min-width:0;
  font-size:13px;
  color:#334155;
}

.orp-view-galerie-volailles .orp-galerie-meta > div{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.orp-view-galerie-volailles .orp-galerie-meta strong{
  color:#0f172a;
}

.orp-view-galerie-volailles .orp-galerie-empty{
  padding:20px 0;
  color:#64748b;
}

.orp-view-club-settings .orp-club-settings-switch{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 18px;
  padding:12px 14px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
  box-shadow:0 6px 18px rgba(15,23,42,.05);
}

.orp-view-club-settings .orp-club-settings-switch label{
  margin:0;
  font-size:13px;
  font-weight:700;
  color:#334155;
}

.orp-view-club-settings .orp-club-settings-switch select{
  min-width:280px;
  max-width:100%;
  height:42px;
  padding:0 14px;
  border:1px solid rgba(15,23,42,.12);
  border-radius:12px;
  background:#fff;
  color:#0f172a;
  font-size:14px;
}

.orp-view-club-settings .orp-club-settings-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.orp-view-club-settings .orp-club-settings-card-logo{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.orp-view-club-settings .orp-club-settings-logo-preview{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:180px;
  padding:16px;
  border:1px dashed rgba(11,66,156,.18);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(245,249,255,.95), rgba(255,255,255,.98));
}

.orp-view-club-settings .orp-club-settings-logo-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:180px;
  padding:16px;
  border:1px dashed rgba(100,116,139,.25);
  border-radius:16px;
  background:#f8fafc;
  color:#64748b;
  font-size:14px;
  text-align:center;
}

.orp-view-club-settings .orp-club-settings-fields{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px 16px;
}

.orp-view-club-settings .orp-club-settings-field{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

.orp-view-club-settings .orp-club-settings-field-full{
  grid-column:1 / -1;
}

.orp-view-club-settings .orp-club-settings-field label{
  margin:0;
  font-size:12px;
  font-weight:700;
  letter-spacing:.01em;
  text-transform:uppercase;
  color:#475569;
}

.orp-view-club-settings .orp-club-settings-field input[type="text"],
.orp-view-club-settings .orp-club-settings-field input[type="email"],
.orp-view-club-settings .orp-club-settings-field input[type="url"],
.orp-view-club-settings .orp-club-settings-field input[type="file"],
.orp-view-club-settings .orp-club-settings-field textarea{
  width:100%;
  min-width:0;
  margin:0;
  border:1px solid rgba(15,23,42,.12);
  border-radius:12px;
  background:#fff;
  color:#0f172a;
  font-size:14px;
  box-shadow:inset 0 1px 1px rgba(15,23,42,.02);
}

.orp-view-club-settings .orp-club-settings-field input[type="text"],
.orp-view-club-settings .orp-club-settings-field input[type="email"],
.orp-view-club-settings .orp-club-settings-field input[type="url"]{
  height:42px;
  padding:0 14px;
}

.orp-view-club-settings .orp-club-settings-field input[type="file"]{
  padding:10px 12px;
  background:#f8fafc;
}

.orp-view-club-settings .orp-club-settings-field textarea{
  min-height:clamp(180px, 26vh, 300px);
  padding:12px 14px;
  resize:vertical;
  line-height:1.55;
}

.orp-view-club-settings .orp-club-settings-radio-group{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:12px 14px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:12px;
  background:#fff;
}

.orp-view-club-settings .orp-club-settings-radio-group label{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  font-size:14px;
  color:#334155;
}

.orp-view-club-settings .orp-club-settings-actions{
  display:flex;
  justify-content:flex-end;
  padding-top:4px;
}

.orp-view-club-settings .orp-club-settings-actions .button{
  min-height:42px;
  padding:0 18px;
  border-radius:12px;
}

.orp-view-club-bonus .orp-espace-theme-grid{
  grid-template-columns:minmax(0, 1fr);
}

.orp-view-club-bonus .orp-club-bonus-history{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.orp-view-club-bonus .orp-club-bonus-history-item{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:14px 18px;
  align-items:start;
  padding:14px 16px;
  border:1px solid #dbe4ef;
  border-radius:14px;
  background:#fbfdff;
}

.orp-view-club-bonus .orp-club-bonus-history-main{
  min-width:0;
}

.orp-view-club-bonus .orp-club-bonus-history-row + .orp-club-bonus-history-row{
  margin-top:8px;
}

.orp-view-club-bonus .orp-club-bonus-history-label{
  display:block;
  margin:0 0 3px;
  color:#64748b;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.03em;
}

.orp-view-club-bonus .orp-club-bonus-history-value{
  display:block;
  color:#1f2937;
  font-size:15px;
  line-height:1.45;
}

.orp-view-club-bonus .orp-club-bonus-history-note{
  display:block;
  margin-top:4px;
  color:#64748b;
  font-size:13px;
}

.orp-view-club-bonus .orp-club-bonus-history-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.orp-view-club-bonus .orp-club-bonus-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid #dbe4ef;
  background:#fff;
  color:#334155;
  font-size:12px;
  line-height:1.2;
  white-space:nowrap;
}

.orp-view-club-bonus .orp-club-bonus-history-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
  min-width:124px;
}

.orp-view-club-bonus .orp-club-bonus-history-actions form{
  margin:0;
  width:100%;
}

.orp-view-club-bonus .orp-club-bonus-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:38px;
  padding:0 12px;
  border:1px solid rgba(11,66,156,.16);
  border-radius:999px;
  background:linear-gradient(180deg, #ffffff, #f8fbff);
  color:var(--cne-theme-blue);
  font-size:13px;
  font-weight:600;
  line-height:1.25;
  font-family:inherit;
  letter-spacing:0;
  text-decoration:none;
  white-space:nowrap;
  box-sizing:border-box;
}

.orp-view-club-bonus .orp-club-bonus-link-button{
  appearance:none;
  -webkit-appearance:none;
  border:1px solid rgba(11,66,156,.16);
  background:linear-gradient(180deg, #ffffff, #f8fbff);
  padding:0 12px;
  margin:0;
  cursor:pointer;
  font-family:inherit;
  font-size:13px;
  font-weight:600;
  line-height:1.25;
  letter-spacing:0;
  color:var(--cne-theme-blue);
  width:100%;
  min-height:38px;
  border-radius:999px;
  box-sizing:border-box;
}

.cne-fiche-explained-summary-grid{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

@media (max-width: 1050px){
  .cne-fiche-explained-summary-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px){
  .cne-fiche-explained-summary-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 860px){
  .orp-view-club-bonus .orp-club-bonus-history-item{
    grid-template-columns:1fr;
  }

  .orp-view-club-bonus .orp-club-bonus-history-actions{
    align-items:flex-start;
  }
}

@media (max-width: 1400px){
  .orp-view-galerie-volailles .orp-galerie-grid{
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px){
  .orp-view-galerie-volailles .orp-galerie-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px){
  .orp-view-galerie-volailles .orp-galerie-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px){
  .orp-view-galerie-volailles .orp-galerie-grid{
    grid-template-columns:1fr;
  }

  .orp-view-galerie-volailles .orp-galerie-card-body{
    min-height: auto;
  }

  .orp-view-galerie-volailles .orp-galerie-prix-overlays{
    gap:4px;
    max-width: calc(100% - 56px);
  }

  .orp-view-galerie-volailles .orp-galerie-prix-chip{
    padding:5px 7px;
    font-size:10px;
  }

  .orp-view-club-settings .orp-club-settings-switch{
    flex-direction:column;
    align-items:stretch;
  }

  .orp-view-club-settings .orp-club-settings-switch select{
    min-width:0;
    width:100%;
  }

  .orp-view-club-settings .orp-club-settings-fields{
    grid-template-columns:1fr;
  }

  .orp-view-club-settings .orp-club-settings-actions{
    justify-content:stretch;
  }

  .orp-view-club-settings .orp-club-settings-actions .button{
    width:100%;
    justify-content:center;
  }
}

/* Hover */
.orp-view-volaille .orp-classement-table tbody tr:hover td {
  background: rgba(0,0,0,.015);
}

/* ============================
   Responsive volaille : FIX “grand vide” + cohérence mobile
   ============================ */

@media (max-width: 820px) {

  /* ✅ supprime la bande/grand espace en haut du tableau (volaille seulement) */
  .orp-view-volaille .orp-classement-scroll{
    padding-top: 0;
    background: none;
    overflow-y: hidden;
  }

  .orp-view-volaille .orp-classement-table{
    table-layout: auto;
  }

  .orp-view-volaille .orp-classement-table th,
  .orp-view-volaille .orp-classement-table td{
    padding: 9px 8px;
    white-space: nowrap;   /* reprend la main sur le global 768px */
    word-break: normal;
  }

  /* Ajustements de colonnes “moyennes” */
  .orp-view-volaille .orp-classement-table th:nth-child(2),
  .orp-view-volaille .orp-classement-table td:nth-child(2){ width: 150px; }

  .orp-view-volaille .orp-classement-table th:nth-child(4),
  .orp-view-volaille .orp-classement-table td:nth-child(4){ width: 90px; }

  .orp-view-volaille .orp-classement-table th:nth-child(8),
  .orp-view-volaille .orp-classement-table td:nth-child(8){ width: 90px; }
}

/* ============================
   Schéma pédagogique du classement
   ============================ */

.orp-view-schema-classement .cne-schema-classement-card{
  overflow:hidden;
}

.orp-view-schema-classement .cne-schema-classement-head{
  padding:18px 20px 0;
}

.orp-view-schema-classement .cne-schema-classement-head h2{
  margin:0;
  color:#0b429c;
  font-size:clamp(26px, 3vw, 38px);
  line-height:1.12;
  letter-spacing:.02em;
}

.orp-view-schema-classement .cne-schema-classement-head p{
  margin:8px 0 0;
  max-width:920px;
  color:#64748b;
  font-size:16px;
  line-height:1.55;
}

.orp-view-schema-classement .cne-schema-classement-figure{
  margin:18px 20px 20px;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(11,66,156,.14);
  background:linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:0 14px 32px rgba(15,23,42,.06);
}

.orp-view-schema-classement .cne-schema-classement-figure img{
  display:block;
  width:100%;
  height:auto;
  border-radius:12px;
}

.orp-view-schema-classement .cne-schema-classement-figure figcaption{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin:10px 2px 0;
  color:#64748b;
  font-size:13px;
  line-height:1.45;
  font-weight:700;
}

.orp-view-schema-classement .cne-schema-classement-download{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(11,66,156,.28);
  padding:7px 12px;
  color:#0b429c;
  background:#fff;
  text-decoration:none;
  font-weight:900;
  white-space:nowrap;
}

.orp-view-schema-classement .cne-schema-classement-download:hover{
  background:rgba(11,66,156,.06);
}

@media (max-width:700px){
  .orp-view-schema-classement .cne-schema-classement-head{
    padding:14px 14px 0;
  }

  .orp-view-schema-classement .cne-schema-classement-figure{
    margin:14px;
    padding:10px;
    border-radius:14px;
  }

  .orp-view-schema-classement .cne-schema-classement-download{
    width:100%;
  }
}
