/* Éditeur — panneau « Ambiance sonore et animations » et lien public sous « Publier » (03/12/2026). Nouveau fichier ; ne modifie aucune règle existante.
   Style du programme : fond clair, accent turquoise #24928c / #1b7a75, coins arrondis de 8 à 10 px (jamais en pilule). Contrastes >= 4,5:1, focus visible, cibles 44 px au toucher. */
html body #chalet-calendrier-app .ac3-panel{padding:14px 14px 10px}
html body #chalet-calendrier-app .ac3-panel h4{display:flex;align-items:center;gap:6px;margin:0 0 4px}
html body #chalet-calendrier-app .ac3-panel .ac3-intro{margin:0 0 10px;color:#4f6a60}
html body #chalet-calendrier-app .ac3-panel .ac3-aide{margin:4px 0 0;color:#4f6a60;font-size:12px;line-height:1.4}
html body #chalet-calendrier-app .ac3-champ{margin:10px 0 0;padding:10px 0 0;border-top:1px solid #e2eae4}
html body #chalet-calendrier-app .ac3-champ:first-of-type{border-top:0;padding-top:0}
html body #chalet-calendrier-app .ac3-lib{display:block;margin:0 0 5px;font-size:12px;font-weight:800;color:#335a52}
html body #chalet-calendrier-app .ac3-rang{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html body #chalet-calendrier-app .ac3-sel{flex:1 1 170px;width:auto;min-width:0;min-height:36px;padding:6px 10px;border-radius:8px;font-size:13px}
html body #chalet-calendrier-app .ac3-btn{min-height:36px;padding:6px 12px;border-radius:8px;font-size:12px;white-space:nowrap;flex:0 0 auto}
html body #chalet-calendrier-app .ac3-btn[hidden]{display:none}
html body #chalet-calendrier-app .ac3-btn:disabled,html body #chalet-calendrier-app .ac3-sel:disabled{opacity:.55;cursor:default}
html body #chalet-calendrier-app .ac3-rang-fond{gap:6px 12px}
html body #chalet-calendrier-app .ac3-case{display:inline-flex;align-items:center;gap:8px;min-height:36px;font-size:13px;font-weight:700;color:#335a52;cursor:pointer}
html body #chalet-calendrier-app .ac3-case input{width:18px;height:18px;margin:0;accent-color:#24928c;flex:none;cursor:pointer}
/* interrupteurs (role=switch) : piste et bouton à coins arrondis, jamais en pilule */
html body #chalet-calendrier-app .ac3-sw{display:flex;align-items:center;gap:10px;min-height:36px}
html body #chalet-calendrier-app .ac3-sw-btn{flex:none;border:0;background:transparent;padding:0;margin:0;cursor:pointer;min-width:44px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px}
html body #chalet-calendrier-app .ac3-sw-piste{position:relative;display:block;width:40px;height:22px;border-radius:7px;background:#9db2ad;transition:background-color .15s}
html body #chalet-calendrier-app .ac3-sw-bouton{position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:5px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .15s}
html body #chalet-calendrier-app .ac3-sw-btn[aria-checked="true"] .ac3-sw-piste{background:#1b7a75}
html body #chalet-calendrier-app .ac3-sw-btn[aria-checked="true"] .ac3-sw-bouton{transform:translateX(18px)}
html body #chalet-calendrier-app .ac3-sw-btn:disabled{opacity:.5;cursor:default}
html body #chalet-calendrier-app .ac3-sw-lib{font-size:13px;font-weight:800;color:#335a52;cursor:pointer}
html body #chalet-calendrier-app .ac3-sw-btn:disabled+.ac3-sw-lib{cursor:default;color:#5d756e}
html body #chalet-calendrier-app .ac3-panel :is(button,input,select):focus-visible{outline:3px solid #24928c;outline-offset:2px}
/* bloc musique */
html body #chalet-calendrier-app .ac3-musique-bloc{margin:8px 0 0;padding:10px 12px;background:#fff;border:1px solid #d9e8e4;border-radius:10px}
html body #chalet-calendrier-app .ac3-musique-bloc.ac3-inactif{opacity:.72;background:#f4f7f5}
html body #chalet-calendrier-app .ac3-airs{display:flex;flex-direction:column;gap:6px;margin:0 0 10px}
html body #chalet-calendrier-app .ac3-air{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:4px 6px 4px 8px;border:1px solid #e2eae4;border-radius:8px;background:#fbfcfa}
html body #chalet-calendrier-app .ac3-air:has(input:checked){border-color:#24928c;background:#e9f6f4}
html body #chalet-calendrier-app .ac3-air-lib{display:flex;align-items:center;gap:10px;flex:1 1 0;min-height:36px;cursor:pointer;min-width:0}
html body #chalet-calendrier-app .ac3-air-lib input,html body #chalet-calendrier-app .ac3-seg-opt input{width:18px;height:18px;margin:0;accent-color:#24928c;flex:none;cursor:pointer}
html body #chalet-calendrier-app .ac3-air-txt{display:flex;flex-direction:column;min-width:0}
html body #chalet-calendrier-app .ac3-air-nom{font-size:13px;font-weight:800;color:#335a52}
html body #chalet-calendrier-app .ac3-air-sous{font-size:11px;color:#4f6a60}
html body #chalet-calendrier-app .ac3-seg{display:flex;gap:6px;flex-wrap:wrap}
html body #chalet-calendrier-app .ac3-seg-opt{display:inline-flex;align-items:center;gap:8px;flex:1 1 150px;min-height:36px;padding:4px 10px;border:1px solid #cfe0db;border-radius:8px;background:#fbfcfa;font-size:12px;font-weight:700;color:#335a52;cursor:pointer}
html body #chalet-calendrier-app .ac3-seg-opt:has(input:checked){border-color:#24928c;background:#e9f6f4}
html body #chalet-calendrier-app .ac3-volume{flex:1 1 140px;min-height:30px;margin:0;accent-color:#1b7a75;cursor:pointer}
html body #chalet-calendrier-app .ac3-vol-val{min-width:44px;text-align:right;font-size:12px;font-weight:800;color:#335a52}
html body #chalet-calendrier-app .ac3-info{flex:none;min-width:36px;min-height:36px;padding:0;border:1px solid #bcd8d3;border-radius:8px;background:#fff;color:#1b7a75;font:700 16px/1 system-ui,sans-serif;cursor:pointer}
html body #chalet-calendrier-app .ac3-info[aria-expanded="true"]{background:#e3f3f1;border-color:#24928c}
html body #chalet-calendrier-app .ac3-note-texte{margin:6px 0 0;padding:8px 10px;background:#fff8e6;border:1px solid #ebd28f;border-radius:8px;color:#5c4208;font-size:12px;line-height:1.45}
html body #chalet-calendrier-app .ac3-alerte{margin:6px 0 0;padding:8px 10px;background:#fdecea;border:1px solid #d98a82;border-left:4px solid #b3342a;border-radius:8px;color:#6b1c15;font-size:12px;font-weight:700;line-height:1.45}
html body #chalet-calendrier-app .ac3-alerte[hidden]{display:none}
html body #chalet-calendrier-app .ac3-note-texte[hidden],html body #chalet-calendrier-app .ac3-aide[hidden]{display:none}
/* lien public sous le bouton de publication */
html body #chalet-calendrier-app .ac3-lien{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:10px 0 0;padding:8px 10px;background:#fff;border:1px solid #cfe6e3;border-radius:10px}
html body #chalet-calendrier-app .ac3-lien-lib{flex:0 0 100%;font-size:12px;font-weight:800;color:#335a52}
html body #chalet-calendrier-app .ac3-lien-url{flex:1 1 220px;min-width:0;display:block;margin:0;padding:6px 8px;background:#f4faf9;border:1px solid #e0eeec;border-radius:8px;font:600 12px/1.35 ui-monospace,Menlo,monospace;color:#244b46;overflow-wrap:anywhere;user-select:all}
html body #chalet-calendrier-app .ac3-lien.ac3-inactif .ac3-lien-url{color:#5d756e;font-family:inherit;font-weight:600;user-select:none}
html body #chalet-calendrier-app .ac3-copier{flex:0 0 auto;min-height:44px;padding:8px 14px;border-radius:10px;font-size:12px}
html body #chalet-calendrier-app .ac3-copier:disabled{opacity:.55;cursor:default}
html body #chalet-calendrier-app .ac3-copier.ac3-ok{background:#1b6f69!important;color:#fff!important;border-color:#1b6f69!important}
html body #chalet-calendrier-app .ac3-lien.ac3-echec .ac3-lien-url{border-color:#c28a29;background:#fff8e6}
html body #chalet-calendrier-app .ac3-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (pointer:coarse){
  html body #chalet-calendrier-app .ac3-sel,html body #chalet-calendrier-app .ac3-btn,html body #chalet-calendrier-app .ac3-sw,html body #chalet-calendrier-app .ac3-sw-btn,html body #chalet-calendrier-app .ac3-case,html body #chalet-calendrier-app .ac3-air-lib,html body #chalet-calendrier-app .ac3-seg-opt,html body #chalet-calendrier-app .ac3-info{min-height:44px}
  html body #chalet-calendrier-app .ac3-info{min-width:44px}
  html body #chalet-calendrier-app .ac3-volume{min-height:44px}
}
@media (max-width:480px){html body #chalet-calendrier-app .ac3-rang .ac3-btn{flex:1 1 auto}html body #chalet-calendrier-app .ac3-air .ac3-btn{flex:0 0 auto}}   /* l'air : le nom se resserre, « Écouter » reste sur la même ligne (jamais de retour à la ligne) */
@media (prefers-reduced-motion:reduce){html body #chalet-calendrier-app .ac3-sw-piste,html body #chalet-calendrier-app .ac3-sw-bouton{transition:none}}
