/* Espace des organisateurs du grand orgue : les couleurs et les polices du site orguecathedraleliege.be.
   Mise en page : une barre vert sombre, les chiffres du registre, trois vues (liste, par tuyau, plaque), une fiche
   qui s'ouvre sur le côté (plein écran sur téléphone). */
:root {
  --vert: #3a4a38;
  --vert-2: #566a53;
  --vert-3: #4a5c47;
  --encre: #1f2a1e;
  --gris: #4b5546;
  --gris-clair: #6d7667;
  --or: #ca9b51;
  --or-fonce: #8a6420;
  --or-clair: #f4e6c4;
  --brume: #f1edd9;
  --fond: #f3f4ef;
  --surface: #ffffff;
  --ligne: #dfe2d7;
  --ligne-forte: #c9cebf;
  --attente-fond: #fbefd2;
  --attente: #6b4a00;
  --paye-fond: #dff0e3;
  --paye: #1f5130;
  --valide-fond: #2f3e2d;
  --valide: #ffffff;
  --classe-fond: #eceee8;
  --classe: #5f665a;
  --nouveau: #1b6d5a;
  --alerte: #9b2c2c;
  --display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --texte: "Montserrat", "Segoe UI", Helvetica, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--texte); font-size: 15px; line-height: 1.55; color: var(--encre); background: var(--fond); -webkit-font-smoothing: antialiased; }
a { color: var(--vert-3); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }

/* ---------- Boutons */
.op-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; background: none; font-weight: 600; font-size: .9rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, box-shadow .15s, border-color .15s; }
.op-btn-or { background: var(--or); color: #1a1306; box-shadow: 0 8px 22px -12px rgba(202,155,81,.9); }
.op-btn-or:hover { box-shadow: 0 12px 26px -12px rgba(202,155,81,1); }
.op-btn-vert { background: var(--vert); color: #fff; }
.op-btn-vert:hover { background: var(--vert-3); }
.op-btn-ligne { border-color: var(--ligne-forte); color: var(--vert); background: var(--surface); }
.op-btn-ligne:hover { border-color: var(--vert-2); }
.op-btn-clair { border-color: rgba(255,255,255,.35); color: #fff; min-height: 36px; padding: 0 14px; font-size: .84rem; }
.op-btn-clair:hover { background: rgba(255,255,255,.1); }
.op-btn-discret { color: var(--gris); padding: 0 12px; min-height: 36px; font-size: .86rem; border-color: var(--ligne); background: var(--surface); }
.op-btn-discret:hover { color: var(--encre); border-color: var(--ligne-forte); }
.op-btn-alerte { color: #fff; background: var(--alerte); min-height: 36px; font-size: .86rem; }
.op-btn[disabled] { opacity: .55; cursor: progress; }

/* ---------- La page de connexion */
.op-connexion { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: #1b211a; }
.cx-fond { position: fixed; inset: 0; background-size: cover; background-position: 50% 35%; filter: grayscale(1) contrast(1.05) brightness(.7); }
.cx-fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,33,26,.55), rgba(58,74,56,.78)); }
.cx-carte { position: relative; width: min(420px, 100%); background: var(--surface); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.cx-tete { background: var(--vert); color: #fff; display: flex; align-items: center; gap: 14px; padding: 22px 28px; border-bottom: 3px solid var(--or); }
.cx-tete img { height: 46px; width: auto; }
.cx-nom { display: block; font-family: var(--display); font-weight: 600; font-size: 1.65rem; line-height: .95; }
.cx-lieu { display: block; font-size: .82rem; margin-top: 4px; color: var(--or-clair); }
.cx-form { display: grid; gap: 8px; padding: 26px 28px 28px; }
.cx-form h1 { font-family: var(--display); font-weight: 600; font-size: 2.1rem; color: var(--vert); }
.cx-chapo { color: var(--gris); font-size: .92rem; margin-bottom: 8px; }
.cx-form label { font-weight: 600; font-size: .86rem; margin-top: 6px; }
.cx-form input[type=text], .cx-form input[type=password] { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--ligne-forte); border-radius: 12px; background: #fbfbf8; font-size: 1rem; }
.cx-form input:focus { border-color: var(--or); outline: none; box-shadow: 0 0 0 3px rgba(202,155,81,.3); }
.cx-souvenir { display: flex; align-items: center; gap: 8px; font-weight: 500 !important; color: var(--gris); }
.cx-bouton { margin-top: 10px; min-height: 48px; font-size: 1rem; }
.cx-erreur { background: #eceee8; color: var(--alerte); border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: .9rem; }
.cx-note { font-size: .88rem; }
.cx-liens { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; font-size: .86rem; }

/* ---------- La barre */
.op-barre { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px max(16px, 3vw); background: var(--vert); color: #fff; border-bottom: 3px solid var(--or); }
.op-marque { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; min-width: 0; }
.op-marque img { height: 38px; width: auto; flex: none; }
.op-marque-nom { display: block; font-family: var(--display); font-weight: 600; font-size: 1.45rem; line-height: .95; }
.op-marque-lieu { display: block; font-size: .8rem; color: var(--or-clair); margin-top: 3px; }
.op-barre-droite { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; justify-content: flex-end; }
.op-maj { font-size: .8rem; color: rgba(255,255,255,.78); display: inline-flex; align-items: center; gap: 7px; }
.op-maj::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7fd0a8; box-shadow: 0 0 0 3px rgba(127,208,168,.22); }
.op-maj.charge::before { background: var(--or); box-shadow: 0 0 0 3px rgba(202,155,81,.3); }
.op-maj.panne::before { background: #e0a0a0; box-shadow: none; }
.op-barre-lien { color: #fff; font-size: .86rem; font-weight: 600; text-decoration: none; }
.op-barre-lien:hover { text-decoration: underline; }

/* ---------- La page */
.op-page { max-width: 1320px; margin: 0 auto; padding: 26px max(16px, 3vw) 48px; display: grid; gap: 22px; }
.op-chiffres { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.op-chiffre { background: var(--surface); border: 1px solid var(--ligne); border-radius: 16px; padding: 14px 16px 16px; display: grid; gap: 2px; align-content: start; text-align: left; cursor: default; }
button.op-chiffre { cursor: pointer; }
button.op-chiffre:hover { border-color: var(--ligne-forte); }
.op-chiffre b { font-family: var(--display); font-size: 2.15rem; font-weight: 600; line-height: 1.05; color: var(--vert); font-variant-numeric: lining-nums tabular-nums; }
.op-chiffre span { font-size: .84rem; font-weight: 600; color: var(--encre); }
.op-chiffre small { font-size: .78rem; color: var(--gris-clair); }
.op-chiffre.alerte { background: var(--attente-fond); border-color: #ecd59b; }
.op-chiffre.alerte b { color: var(--attente); }

.op-outils { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.op-onglets { display: inline-flex; gap: 4px; background: #e6e9e0; border-radius: 999px; padding: 4px; }
.op-onglets button { border: 0; background: none; border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: .9rem; color: var(--gris); cursor: pointer; }
.op-onglets button[aria-selected="true"] { background: var(--surface); color: var(--vert); box-shadow: 0 1px 3px rgba(31,42,30,.15); }
.op-outils-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Liste */
.op-filtres { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.op-puces { display: flex; flex-wrap: wrap; gap: 6px; }
.op-puce-filtre { border: 1px solid var(--ligne); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: .84rem; font-weight: 600; color: var(--gris); cursor: pointer; }
.op-puce-filtre b { font-variant-numeric: tabular-nums; margin-left: 4px; color: var(--gris-clair); font-weight: 600; }
.op-puce-filtre[aria-pressed="true"] { background: var(--vert); border-color: var(--vert); color: #fff; }
.op-puce-filtre[aria-pressed="true"] b { color: var(--or-clair); }
.op-recherche { position: relative; flex: 1 1 260px; max-width: 380px; }
.op-recherche input { width: 100%; min-height: 40px; border: 1px solid var(--ligne-forte); border-radius: 999px; padding: 0 16px 0 38px; background: var(--surface); }
.op-recherche svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--gris-clair); }
.op-tableau { background: var(--surface); border: 1px solid var(--ligne); border-radius: 16px; overflow: hidden; }
.op-entetes, .op-ligne { display: grid; grid-template-columns: 112px minmax(0, 1.25fr) minmax(0, .95fr) minmax(0, 1fr) minmax(0, 1fr) 128px; gap: 14px; align-items: center; padding: 12px 18px; }
.op-entetes { font-size: .76rem; font-weight: 700; color: var(--gris-clair); background: #f8f9f5; border-bottom: 1px solid var(--ligne); }
.op-ligne { width: 100%; border: 0; border-bottom: 1px solid var(--ligne); background: none; text-align: left; cursor: pointer; font-size: .9rem; }
.op-ligne:last-child { border-bottom: 0; }
.op-ligne:hover { background: #f8f9f4; }
.op-ligne.est-nouvelle { background: #eef7f2; }
.op-ligne small { display: block; color: var(--gris-clair); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-ligne > span { min-width: 0; }
.op-ligne .l-ref { font-weight: 700; color: var(--vert); font-variant-numeric: tabular-nums; }
.op-ligne .l-qui b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-ligne .l-tuyau { display: flex; align-items: center; gap: 10px; }
.op-ligne .l-tuyau svg { flex: none; }
.op-ligne .l-plaque { font-family: var(--display); font-size: 1.1rem; font-weight: 600; line-height: 1.15; }
.op-ligne .l-plaque em { font-family: var(--texte); font-size: .84rem; font-weight: 500; font-style: normal; color: var(--gris-clair); }
.op-ligne .l-don { font-size: .84rem; color: var(--gris); }
.op-vide { padding: 36px 20px; text-align: center; color: var(--gris); }
.op-vide b { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--vert); margin-bottom: 4px; }

/* Statuts */
.op-statut { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; justify-self: start; }
.op-statut.nouveau { background: var(--attente-fond); color: var(--attente); }
.op-statut.paye { background: var(--paye-fond); color: var(--paye); }
.op-statut.valide { background: var(--valide-fond); color: var(--valide); }
.op-statut.refuse, .op-statut.annule { background: var(--classe-fond); color: var(--classe); }
.op-nouveau { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--nouveau); color: #fff; font-size: .68rem; font-weight: 700; vertical-align: 2px; }

/* ---------- Par tuyau */
.op-tuyaux { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; align-items: start; }
.op-tuyau { background: var(--surface); border: 1px solid var(--ligne); border-radius: 18px; padding: 18px; display: grid; gap: 12px; }
.op-tuyau.vide { opacity: .72; }
.op-tuyau-tete { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: end; }
.op-tuyau-tete h3 { font-family: var(--display); font-size: 1.55rem; font-weight: 600; color: var(--vert); }
.op-tuyau-tete p { font-size: .84rem; color: var(--gris); }
.op-tuyau-tete p b { color: var(--or-fonce); }
.op-tuyau-chiffres { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--gris); border-top: 1px solid var(--ligne); padding-top: 10px; }
.op-tuyau-chiffres b { color: var(--encre); font-variant-numeric: tabular-nums; }
.op-personnes { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.op-personnes button:not(.op-btn) { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; text-align: left; border: 0; background: none; border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.op-personnes button:not(.op-btn):hover { background: #f4f6f0; }
.op-personnes b { display: block; font-size: .9rem; line-height: 1.3; overflow-wrap: anywhere; }
.op-personnes small { display: block; font-size: .78rem; color: var(--gris-clair); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-personnes .op-aucun { color: var(--gris-clair); font-size: .86rem; padding: 4px 10px; }

/* ---------- La plaque */
.op-plaque-vue { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.op-metal { border-radius: 18px; padding: 26px 28px 30px; background: linear-gradient(135deg, #f0dba7 0%, #d6b06a 38%, #b88c45 62%, #e2c98f 100%); color: #3b2a0d; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 6px rgba(80,55,10,.25), 0 18px 40px -26px rgba(80,55,10,.8); }
.op-metal-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid rgba(59,42,13,.25); padding-bottom: 10px; margin-bottom: 14px; }
.op-metal-tete h2 { font-family: var(--display); font-size: 1.8rem; font-weight: 600; }
.op-metal-tete span { font-size: .84rem; font-weight: 600; }
.op-noms { columns: 3 190px; column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.op-noms li { break-inside: avoid; }
.op-noms button { border: 0; background: none; padding: 3px 0; font-family: var(--display); font-size: 1.22rem; font-weight: 600; color: #3b2a0d; cursor: pointer; text-align: left; line-height: 1.25; }
.op-noms button:hover { text-decoration: underline; text-underline-offset: 3px; }
.op-metal .op-vide-metal { font-family: var(--display); font-size: 1.2rem; font-style: italic; }
.op-metal-pied { margin-top: 16px; font-size: .82rem; font-weight: 600; }
.op-attente { background: var(--surface); border: 1px solid var(--ligne); border-radius: 18px; padding: 18px; display: grid; gap: 12px; }
.op-attente h2 { font-family: var(--display); font-size: 1.55rem; font-weight: 600; color: var(--vert); }
.op-attente h3.op-sous-titre { font-family: var(--texte); font-size: .82rem; font-weight: 700; color: var(--gris); margin-top: 4px; }
.op-rangee { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding-right: 10px; }
.op-personnes button.op-rangee-nom { display: block; min-width: 0; }
.op-btn-mini { min-height: 32px; padding: 0 14px; font-size: .82rem; }
/* ---------- Newsletter */
.op-nl-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.op-nl-tete h2 { font-family: var(--display); font-size: 1.9rem; font-weight: 600; color: var(--vert); line-height: 1.1; }
.op-nl-tete p { color: var(--gris); font-size: .9rem; margin-top: 2px; }
.op-nl-aide { max-width: 820px; color: var(--gris); font-size: .86rem; margin-bottom: 14px; }
.op-tableau .op-nl-ligne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr) 104px 220px; gap: 14px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--ligne); font-size: .9rem; }
.op-tableau .op-nl-ligne:last-child { border-bottom: 0; }
.op-tableau .op-entetes.op-nl-ligne { font-size: .76rem; }
.op-nl-ligne > span { min-width: 0; }
.op-nl-nom b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-nl-courriel a { color: var(--encre); text-decoration: none; overflow-wrap: anywhere; }
.op-nl-courriel a:hover { text-decoration: underline; }
.op-nl-quand small { display: block; color: var(--gris-clair); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-nl-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; }
.op-nl-question { flex-basis: 100%; text-align: right; font-size: .8rem; font-weight: 600; color: var(--alerte); }
#t-adresses { min-height: 220px; font-size: .86rem; }
.op-attente .op-regle { font-size: .84rem; color: var(--gris); background: #f6f7f2; border-radius: 10px; padding: 10px 12px; }

/* ---------- La fiche (tiroir) */
.op-voile { position: fixed; inset: 0; z-index: 40; background: rgba(27,33,26,.42); }
.op-tiroir { position: fixed; z-index: 50; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--surface); box-shadow: -24px 0 60px -30px rgba(0,0,0,.5); overflow-y: auto; display: flex; flex-direction: column; }
.t-tete { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 20px 24px 16px; background: var(--surface); border-bottom: 1px solid var(--ligne); }
.t-ref { font-weight: 700; font-size: .84rem; color: var(--or-fonce); font-variant-numeric: tabular-nums; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.t-tete h2 { font-family: var(--display); font-size: 2rem; font-weight: 600; color: var(--vert); margin-top: 4px; overflow-wrap: anywhere; }
.t-meta { font-size: .8rem; color: var(--gris-clair); margin-top: 4px; }
.t-fermer { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ligne); background: var(--surface); font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--gris); }
.t-fermer:hover { border-color: var(--ligne-forte); color: var(--encre); }
.t-corps { padding: 18px 24px 28px; display: grid; gap: 22px; }
.t-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.t-etapes li { position: relative; padding-top: 12px; font-size: .78rem; font-weight: 600; color: var(--gris-clair); }
.t-etapes li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 999px; background: var(--ligne); }
.t-etapes li.fait { color: var(--vert); }
.t-etapes li.fait::before { background: var(--or); }
.t-etapes.classe li { color: var(--classe); }
.t-etapes.classe li::before { background: var(--classe-fond); }
.t-action { border-radius: 16px; padding: 16px 18px; display: grid; gap: 12px; background: #f6f7f2; border: 1px solid var(--ligne); }
.t-action.nouveau { background: var(--attente-fond); border-color: #ecd59b; }
.t-action.paye { background: var(--paye-fond); border-color: #bfe0c7; }
.t-action.valide { background: #eef1ea; }
.t-action h3 { font-family: var(--display); font-size: 1.45rem; font-weight: 600; color: var(--encre); }
.t-action p { font-size: .9rem; }
.t-action .t-boutons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.t-action label { display: flex; gap: 8px; align-items: flex-start; font-size: .86rem; }
.t-action input[type=checkbox] { margin-top: 3px; }
.t-montant { display: grid; gap: 4px; max-width: 220px; }
.t-montant label { font-weight: 600; }
.t-montant input { min-height: 40px; border: 1px solid var(--ligne-forte); border-radius: 10px; padding: 0 12px; background: var(--surface); }
.t-bloc { display: grid; gap: 10px; }
.t-bloc h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 600; color: var(--vert); }
.t-infos { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 6px 14px; margin: 0; font-size: .9rem; }
.t-infos dt { color: var(--gris-clair); font-weight: 600; font-size: .8rem; padding-top: 2px; }
.t-infos dd { margin: 0; overflow-wrap: anywhere; }
.t-message { background: #f6f7f2; border-radius: 12px; padding: 12px 14px; font-size: .9rem; white-space: pre-line; overflow-wrap: anywhere; }
.t-plaque { border-radius: 12px; padding: 14px 16px; text-align: center; background: linear-gradient(135deg, #f0dba7, #b88c45); color: #3b2a0d; font-family: var(--display); font-size: 1.45rem; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); overflow-wrap: anywhere; }
.t-plaque.vide { background: #eceee8; color: var(--gris); font-size: 1.1rem; font-style: italic; }
.t-notes textarea, .t-form textarea { width: 100%; min-height: 84px; border: 1px solid var(--ligne-forte); border-radius: 12px; padding: 10px 12px; resize: vertical; background: #fbfbf8; }
.t-pied { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--ligne); padding-top: 16px; }
.t-confirmer { display: grid; gap: 10px; background: #eceee8; border-radius: 12px; padding: 12px 14px; font-size: .88rem; color: var(--alerte); }
.t-confirmer div { display: flex; gap: 8px; flex-wrap: wrap; }

/* Formulaires de la fiche */
.t-form { display: grid; gap: 14px; }
.t-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.t-champ { display: grid; gap: 4px; min-width: 0; }
.t-champ.large { grid-column: 1 / -1; }
.t-champ label, .t-legende { font-weight: 600; font-size: .82rem; color: var(--gris); }
.t-champ input, .t-champ select { width: 100%; min-height: 42px; border: 1px solid var(--ligne-forte); border-radius: 10px; padding: 0 12px; background: #fbfbf8; }
.t-champ input:focus, .t-champ select:focus, .t-form textarea:focus, .t-notes textarea:focus { border-color: var(--or); outline: none; box-shadow: 0 0 0 3px rgba(202,155,81,.28); }
.t-choix { display: flex; flex-wrap: wrap; gap: 6px; }
.t-choix label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ligne-forte); border-radius: 999px; padding: 7px 12px; font-size: .86rem; cursor: pointer; background: var(--surface); }
.t-choix input { accent-color: var(--vert); }
.t-coche { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; }
.t-erreur { color: var(--alerte); font-weight: 600; font-size: .88rem; }

/* ---------- Message flottant */
.op-toast { position: fixed; z-index: 60; left: 50%; bottom: 22px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; opacity: 0; max-width: min(560px, calc(100% - 32px)); background: var(--vert); color: #fff; border-radius: 14px; padding: 12px 18px; font-size: .9rem; font-weight: 600; box-shadow: 0 16px 40px -16px rgba(0,0,0,.6); transition: transform .25s, opacity .25s, visibility 0s .25s; pointer-events: none; }
.op-toast.visible { transform: translate(-50%, 0); visibility: visible; opacity: 1; transition: transform .25s, opacity .25s; }

.op-pied { font-size: .82rem; color: var(--gris-clair); text-align: center; }

/* ---------- Écrans moyens et téléphones */
@media (max-width: 1100px) {
  .op-chiffres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .op-entetes { display: none; }
  .op-ligne { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 16px; }
  .op-ligne .l-ref { grid-column: 1; }
  .op-ligne .op-statut { grid-column: 2; grid-row: 1; justify-self: end; }
  .op-ligne .l-qui, .op-ligne .l-tuyau, .op-ligne .l-plaque, .op-ligne .l-don { grid-column: 1 / -1; }
  .op-plaque-vue { grid-template-columns: minmax(0, 1fr); }
  .op-tableau .op-nl-ligne { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 16px; }
  .op-tableau .op-entetes.op-nl-ligne { display: none; }
  .op-nl-ligne .op-statut { grid-column: 2; grid-row: 1; justify-self: end; }
  .op-nl-courriel, .op-nl-quand, .op-nl-actions { grid-column: 1 / -1; }
  .op-nl-actions { justify-content: flex-start; margin-top: 6px; }
  .op-nl-question { text-align: left; }
}
@media (max-width: 700px) {
  .op-barre { padding: 10px 14px; }
  .op-marque img { height: 32px; }
  .op-marque-nom { font-size: 1.2rem; }
  .op-maj { display: none; }
  .op-barre-lien:first-of-type { display: none; }
  .op-page { padding: 18px 14px 40px; gap: 18px; }
  .op-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op-chiffre b { font-size: 1.8rem; }
  .op-marque-lieu { font-size: .72rem; white-space: nowrap; }
  .op-onglets { width: 100%; }
  .op-onglets button { flex: 1; padding: 9px 4px; font-size: .8rem; white-space: nowrap; }
  .op-outils-actions { width: 100%; }
  .op-outils-actions .op-btn { flex: 1; }
  .op-recherche { max-width: none; }
  .t-tete { padding: 16px 16px 12px; }
  .t-corps { padding: 16px 16px 24px; }
  .t-infos { grid-template-columns: minmax(0, 1fr); gap: 0 0; }
  .t-infos dd { margin-bottom: 8px; }
  .t-champs { grid-template-columns: minmax(0, 1fr); }
  .cx-form { padding: 22px 20px 24px; }
}
@media (max-width: 560px) {
  .op-onglets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 18px; }
  .op-onglets button { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .op-toast { transition: none; }
}
