/* La Ruche — couleurs de Radio Vassivière */
[hidden] { display: none !important; }
:root {
  --jaune: #e9a93a; --jaune-clair: #fbeed1; --vert: #2d4a1f; --vert-clair: #e7eee2;
  --texte: #222; --gris: #6b6b6b; --ligne: #e3e0d8; --fond: #f7f5f0; --blanc: #fff;
  --rouge: #b3261e; --bleu: #2a5d8f;
  --rayon: 8px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--texte); background: var(--fond); }
a { color: var(--vert); }
h1 { font-size: 1.5rem; margin: .2em 0 .6em; }
h1 small { font-size: .9rem; color: var(--gris); font-weight: normal; }
h2 { font-size: 1.1rem; margin: 1.2em 0 .5em; }
h2:first-child { margin-top: 0; }

header.top { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.2rem; padding: .6rem 1.2rem; background: var(--vert); color: #fff; }
header.top a { color: #fff; text-decoration: none; }
.brand { font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: .5rem; }
.brand small { font-weight: normal; opacity: .75; font-size: .8rem; }
.brand .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--jaune); display: inline-block; }
header nav { display: flex; flex-wrap: wrap; gap: .2rem; flex: 1; }
header nav a { padding: .3rem .7rem; border-radius: 6px; }
header nav a:hover { background: rgba(255,255,255,.12); }
header nav a.on { background: var(--jaune); color: var(--vert); font-weight: 600; }
.me { font-size: .85rem; opacity: .9; }
.weeknav { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.weeknav input { width: auto; margin: 0; }
@media (max-width: 700px) {
  header.top { padding: .5rem .8rem; }
  header nav { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; }
  header nav a { white-space: nowrap; }
  main { padding: .8rem; }
}
.me a { text-decoration: underline; }

main { padding: 1.2rem; max-width: 1500px; margin: 0 auto; }
footer { text-align: center; color: var(--gris); font-size: .75rem; padding: 2rem 0 1rem; }

.card { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.narrow { max-width: 440px; margin: 2rem auto; }
.titlebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.code { font-family: ui-monospace, Menlo, monospace; font-size: .85em; background: var(--jaune-clair); padding: .05em .35em; border-radius: 4px; color: #6a4a0c; }

label { display: block; margin-bottom: .8rem; font-weight: 600; font-size: .9rem; }
.lbl { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
label.check, label.inl { display: inline-flex; align-items: center; gap: .35rem; font-weight: normal; margin: 0 .8rem .4rem 0; }
.small { font-size: .82rem; color: var(--gris); font-weight: normal; }
label .small { display: block; }
input, select, textarea, button, .button { font: inherit; }
input, select, textarea { font-weight: normal; }
input:not([type=checkbox]), select, textarea { display: block; width: 100%; margin-top: .25rem; padding: .45rem .55rem; border: 1px solid #cfcabd; border-radius: 6px; background: #fff; }
label.inl input, .filters input, .filters select { display: inline-block; width: auto; margin-top: 0; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--jaune); border-color: var(--jaune); }
input.copy { font-family: ui-monospace, Menlo, monospace; font-size: .8rem; margin: .5rem 0; }

button, .button { display: inline-block; cursor: pointer; padding: .5rem 1rem; border: 0; border-radius: 6px; background: var(--vert); color: #fff; text-decoration: none; font-weight: 600; }
button:hover, .button:hover { filter: brightness(1.15); }
button.secondary, .button.secondary { background: var(--vert-clair); color: var(--vert); }
button.danger { background: var(--rouge); }
button.link { background: none; color: var(--vert); padding: 0; font-weight: normal; text-decoration: underline; }
button.link.danger { color: var(--rouge); }
form.inline { display: inline; }
.formactions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1rem; }
.dangerzone { text-align: right; margin: -.5rem 0 1rem; }

.grid2, .grid3 { display: grid; gap: 0 1rem; }
.grid2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid3 .span2 { grid-column: span 2; }
.full { grid-column: 1 / -1; }
@media (max-width: 520px) { .grid3 .span2 { grid-column: auto; } }
.checks { display: flex; flex-wrap: wrap; margin-bottom: .8rem; }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; }
.filters input[name=q] { min-width: 240px; flex: 1; }
.filters label.inl { margin: 0; }

.notice { padding: .7rem 1rem; border-radius: var(--rayon); margin: 0 0 1rem; }
.notice.ok { background: var(--vert-clair); }
.notice.err { background: #fbe4e2; color: #7a1b15; }
.notice.warn { background: var(--jaune-clair); }

.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--ligne); vertical-align: top; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--gris); }
table.list tbody tr { cursor: pointer; }
table.list tbody tr:hover { background: var(--jaune-clair); }
tr.muted td { color: var(--gris); }
tr.editrow td { background: var(--fond); }
td.actions { white-space: nowrap; }
td.actions > * { margin-right: .6rem; }
.nowrap { white-space: nowrap; }

.tag { display: inline-block; font-size: .75rem; padding: .1rem .5rem; border-radius: 99px; white-space: nowrap; font-weight: 600; }
.st-bac { background: var(--jaune-clair); color: #7a5410; }
.st-programme { background: #dceaf7; color: var(--bleu); }
.st-diffuse { background: var(--vert-clair); color: var(--vert); }
.st-activite { background: #ece6f3; color: #5b3f80; }
.st-off { background: #eee; color: #777; }

details.help summary { cursor: pointer; font-weight: 600; }
.hint { margin-top: -.4rem; }

.fiche-view .meta { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; }
.fiche-view dt { font-weight: 600; color: var(--gris); }
.fiche-view dd { margin: 0; }
.fiche-view .text { white-space: normal; }
.difflist { padding-left: 1.2rem; }
.difflist li { margin-bottom: .3rem; }

/* Planning */
.planning { display: grid; grid-template-columns: 280px 1fr; gap: 1rem; align-items: start; }
.bac { background: var(--jaune-clair); border-radius: var(--rayon); padding: .8rem; position: sticky; top: .5rem; max-height: calc(100vh - 1rem); overflow-y: auto; }
.bac h2 { margin: 0 0 .5rem; display: flex; justify-content: space-between; }
.bac .count { background: var(--jaune); color: var(--vert); border-radius: 99px; padding: 0 .55rem; font-size: .85rem; }
.bacsearch { display: flex; align-items: center; gap: .4rem; margin-bottom: .6rem; }
.bacsearch input { margin: 0; }
.sujet { padding: .6rem .7rem; margin-bottom: .5rem; font-size: .88rem; }
.editable .sujet { cursor: grab; }
.sujet .s-top, .diff .d-top, .diff .d-meta, .sujet .s-meta { font-size: .78rem; color: var(--gris); }
.sujet .s-titre { display: block; font-weight: 600; color: var(--texte); text-decoration: none; margin: .15rem 0; }
.sujet .s-chapeau { font-size: .8rem; margin-top: .25rem; color: #444; }
.sujet .js-prog { font-size: .82rem; margin-top: .3rem; }
.week { display: grid; grid-template-columns: repeat(7, minmax(130px, 1fr)); gap: .5rem; overflow-x: auto; }
.day { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); min-height: 340px; padding: .5rem; }
.day.today { border-color: var(--jaune); box-shadow: 0 0 0 2px var(--jaune-clair); }
.day h3 { font-size: .9rem; margin: 0 0 .5rem; display: flex; justify-content: space-between; }
.day h3 span { color: var(--gris); font-weight: normal; }
.day.over { background: var(--vert-clair); border-style: dashed; }
.diff { background: #eef4fa; border-left: 4px solid var(--bleu); border-radius: 6px; padding: .35rem .45rem; margin-bottom: .4rem; font-size: .82rem; }
.editable .diff { cursor: pointer; }
.diff .d-titre { font-weight: 600; margin: .1rem 0; }
.dragging { opacity: .45; }
@media (max-width: 900px) {
  .planning { grid-template-columns: 1fr; }
  .bac { position: static; max-height: 45vh; }
  .week { grid-template-columns: 1fr; }
  .day { min-height: 0; }
}

dialog { border: 0; border-radius: 12px; padding: 1.2rem 1.4rem; width: min(420px, 94vw); box-shadow: 0 10px 40px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(30,40,20,.35); }
dialog h3 { margin-top: 0; }

/* Choix des catégories */
.catpicker { border: 1px solid #cfcabd; border-radius: 6px; padding: .5rem; margin: .25rem 0 .8rem; background: #fff; }
.catchosen:not(:empty) { margin-bottom: .4rem; }
.catchosen .chip { display: inline-block; background: var(--jaune-clair); color: #6a4a0c; border-radius: 99px; padding: .05rem .55rem; margin: 0 .3rem .3rem 0; font-size: .8rem; }
.catpicker .catfilter { margin: 0 0 .4rem; }
.catbox { max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; }
.catbox label.cat { margin: 0; padding-top: .15rem; padding-bottom: .15rem; }
.catbox label.cat:hover { background: var(--fond); }
.diff .d-son { font-family: ui-monospace, Menlo, monospace; font-size: .74rem; color: #444; word-break: break-all; }
.sitebox { font-size: .85rem; margin-top: -.5rem !important; margin-bottom: .8rem !important; }
details.siteprev { background: var(--fond); border-radius: 6px; padding: .5rem .8rem; margin-bottom: .8rem; }
details.siteprev summary { cursor: pointer; font-weight: 600; font-size: .9rem; }
details.siteprev .text { margin: .5rem 0; font-size: .9rem; }
.sujet .s-souhait { font-size: .78rem; margin-top: .25rem; color: var(--bleu); }
.sujet.urg-proche { border-left: 4px solid var(--jaune); }
.sujet.urg-depasse { border-left: 4px solid var(--rouge); }
.sujet.urg-depasse .s-souhait { color: var(--rouge); font-weight: 600; }
.sujet .d-son { font-family: ui-monospace, Menlo, monospace; font-size: .74rem; color: #444; word-break: break-all; }
.souhait { background: #eef4fa; border-radius: 6px; padding: .5rem .8rem; margin-bottom: .8rem; }
.souhait .filters { margin-top: .3rem; }
.day.souhaite { background: #eef4fa; border-color: var(--bleu); }
.day.apres-butoir { background: #fbe4e2; }
.day.over { background: var(--vert-clair); }
.d-note { font-size: .76rem; background: #fff6dc; border-radius: 4px; padding: .1rem .35rem; margin-top: .2rem; color: #6a4a0c; white-space: pre-line; }
textarea.note-anim { background: #fffaf0; }
.note-anim-view { background: #fff6dc; border-radius: 4px; padding: .2rem .4rem; }
.wpbox { background: var(--vert-clair); border-radius: 6px; padding: .6rem .8rem; margin-bottom: .8rem; }
.wpbox input[type=file] { margin: .3rem 0; }
.wpbox p { margin: .3rem 0; }

/* Éditeur mis en forme */
.rte { border: 1px solid #cfcabd; border-radius: 6px; background: #fff; margin: .25rem 0 .8rem; }
.rte .rte-bar { display: flex; flex-wrap: wrap; gap: .25rem; padding: .3rem; border-bottom: 1px solid var(--ligne); background: var(--fond); border-radius: 6px 6px 0 0; }
.rte .rte-bar button { background: #fff; color: var(--texte); border: 1px solid #d8d3c6; padding: .15rem .5rem; font-size: .82rem; font-weight: normal; border-radius: 4px; }
.rte .rte-bar button:hover { background: var(--jaune-clair); filter: none; }
.rte .rte-area { padding: .45rem .6rem; outline: none; line-height: 1.5; }
.rte .rte-area:focus { box-shadow: 0 0 0 2px var(--jaune); border-radius: 0 0 6px 6px; }
.rte textarea.rte-src { border: 0; margin: 0; }
.rich p, .rte-area p { margin: 0 0 .6em; }
.rich h3, .rte-area h3 { font-size: 1.05rem; margin: .8em 0 .4em; }
.rich blockquote, .rte-area blockquote { border-left: 3px solid var(--jaune); margin: .5em 0; padding-left: .8em; color: #444; }
.rich ul, .rich ol, .rte-area ul, .rte-area ol { margin: .3em 0 .6em; padding-left: 1.4em; }

/* Propositions de saisie */
.suggest-list { position: absolute; left: 0; right: 0; z-index: 20; background: #fff; border: 1px solid #cfcabd; border-radius: 6px; box-shadow: 0 6px 20px rgba(0,0,0,.12); max-height: 240px; overflow-y: auto; font-weight: normal; }
.suggest-item { padding: .35rem .6rem; cursor: pointer; font-size: .9rem; }
.suggest-item:hover, .suggest-item.on { background: var(--jaune-clair); }
.js-contact-propose button { margin-top: .2rem; }
.st-brouillon { background: #eee; color: #555; border: 1px dashed #aaa; }

/* ---- Planning v2 : bac compact + calendrier continu ---- */
.planning { grid-template-columns: 300px 1fr; }
.bac { top: .5rem; max-height: calc(100vh - 1rem); }
.sujet { background: #fff; border: 1px solid var(--ligne); border-radius: 6px; padding: .4rem .55rem; margin-bottom: .35rem; font-size: .84rem; }
.sujet .s-ligne { display: flex; gap: .3rem; align-items: baseline; }
.sujet .s-titre { flex: 1; font-weight: 600; color: var(--texte); text-decoration: none; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sujet .s-meta { font-size: .74rem; color: var(--gris); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sujet .s-souhait { font-size: .74rem; margin-top: .1rem; }
.sujet .s-details { margin-top: .15rem; }
.sujet .s-details summary { cursor: pointer; font-size: .74rem; color: var(--gris); }
.sujet .s-details p { margin: .3rem 0; font-size: .8rem; }
.sujet .js-prog { font-size: .76rem; margin-top: .15rem; }
.d-noteicon { font-size: .8rem; cursor: help; }

.cal { min-width: 0; }
.cal-head, .cal-week { display: grid; grid-template-columns: 2.6rem repeat(7, minmax(0, 1fr)); }
.cal-head { position: sticky; top: 0; z-index: 5; background: var(--fond); font-size: .78rem; font-weight: 600; color: var(--gris); text-transform: uppercase; letter-spacing: .03em; }
.cal-head > div { padding: .35rem .4rem; }
.cal-prev { display: block; margin: .2rem 0 .4rem 2.6rem; font-size: .85rem; }
.cal-week { border-top: 1px solid var(--ligne); }
.cal-wk { font-size: .7rem; color: var(--gris); padding: .3rem .2rem; display: flex; flex-direction: column; gap: .2rem; }
.cal-wk em { font-style: normal; font-weight: 700; color: var(--vert); writing-mode: vertical-rl; transform: rotate(180deg); text-transform: capitalize; font-size: .75rem; }
.cal .day { background: #fff; border: 0; border-left: 1px solid var(--ligne); border-radius: 0; min-height: 6.5rem; padding: .25rem .3rem .4rem; }
.cal .day.weekend { background: #faf8f3; }
.cal .day.past { background: #f6f5f2; }
.cal .day.past .diff { opacity: .75; }
.cal .day h3 { font-size: .8rem; margin: 0 0 .2rem; font-weight: 600; color: var(--gris); display: block; }
.cal .day.today { box-shadow: inset 0 0 0 2px var(--jaune); }
.cal .day.today h3 { color: var(--vert); }
.cal .day.flash { animation: flash 2s ease-out; }
@keyframes flash { from { background: var(--jaune-clair); } }
.cal .diff { font-size: .76rem; padding: .12rem .3rem; margin-bottom: .2rem; border-left-width: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-more { text-align: center; color: var(--gris); font-size: .85rem; padding: 1rem; cursor: pointer; }
@media (max-width: 900px) {
  .planning { grid-template-columns: 1fr; }
  .cal-head, .cal-week { grid-template-columns: 1.6rem repeat(7, minmax(0, 1fr)); }
  .cal .day { min-height: 4.5rem; }
  .cal .diff { white-space: normal; font-size: .7rem; }
}
.cal .day.souhaite { background: #e3eef8; }
.cal .day.apres-butoir { background: #fbe4e2; }
.cal .day.over { background: var(--vert-clair); box-shadow: inset 0 0 0 2px var(--vert); }
.list-more { text-align: center; color: var(--gris); font-size: .85rem; padding: .8rem; }
a.dup { text-decoration: none; font-size: 1.05rem; padding: 0 .3rem; }
a.dup:hover { background: var(--jaune-clair); border-radius: 4px; }
.vues { display: inline-flex; gap: 0; margin-right: .4rem; }
.vues .button { border-radius: 0; padding: .45rem .8rem; }
.vues .button:first-child { border-radius: 6px 0 0 6px; }
.vues .button:last-child { border-radius: 0 6px 6px 0; }
.cal-vue1 .day { min-height: calc(100vh - 15rem); }
.cal-vue2 .day { min-height: calc(50vh - 8rem); }
.cal-fixe .diff.detail { white-space: normal; font-size: .8rem; padding: .3rem .4rem; margin-bottom: .35rem; }
.cal-fixe .diff.detail .d-titre { font-weight: 600; margin: .1rem 0; }
.cal-fixe .diff.detail .d-top, .cal-fixe .diff.detail .d-meta { font-size: .74rem; color: var(--gris); }
.cal-fixe .diff.detail .d-meta { word-break: break-word; }
th.sortable a { color: inherit; text-decoration: none; white-space: nowrap; display: block; }
th.sortable a:hover { color: var(--vert); }
th.tri-asc, th.tri-desc { color: var(--vert); }
td.sel, th.sel { width: 1.8rem; text-align: center; }
td.sel input, th.sel input { width: 1rem; height: 1rem; cursor: pointer; }
.selbar { position: sticky; bottom: .8rem; z-index: 10; display: flex; align-items: center; gap: 1rem; background: var(--vert); color: #fff; padding: .6rem 1rem; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.2); margin-top: .6rem; }
.selbar .link { color: #fff; }
.selbar .js-selcount { font-weight: 600; flex: 1; }
.danger-details { margin-top: 1rem; border-top: 1px solid var(--ligne); padding-top: .6rem; }
.danger-details summary { cursor: pointer; color: var(--rouge); font-weight: 600; }
.confirm-suppr { margin-top: 1rem; }

/* Fiche : quatre zones bien distinctes */
form.fiche { background: none; }
.zone { background: #fff; border: 1px solid var(--ligne); border-left: 6px solid var(--z, var(--vert)); border-radius: var(--rayon); padding: 0 1.2rem 1rem; margin-bottom: 1.1rem; }
.zone-titre { margin: 0 -1.2rem 1rem !important; padding: .55rem 1.2rem; background: var(--zbg, var(--vert-clair)); color: var(--z, var(--vert)); font-size: 1.05rem; border-radius: 0 calc(var(--rayon) - 1px) 0 0; display: flex; align-items: baseline; gap: .5rem; }
.zone-titre span { font-size: 1.1rem; }
.zone-titre small { font-weight: normal; font-size: .8rem; color: var(--gris); }
.zone-action { --z: #2d4a1f; --zbg: #e7eee2; }
.zone-antenne { --z: #2a5d8f; --zbg: #e3eef8; }
.zone-site { --z: #8a5a00; --zbg: #fbeed1; }
.zone-rapport { --z: #5b3f80; --zbg: #ece6f3; }
.zone .souhait { background: #f2f7fc; }
.zone-site .wpbox { background: #fdf6e6; }
.sansdiff { margin-top: .3rem; padding: .4rem .6rem; background: var(--fond); border-radius: 6px; }
.grid-son { display: grid; grid-template-columns: 1fr 12rem; gap: 0 1rem; }
@media (max-width: 600px) { .grid-son { grid-template-columns: 1fr; } }
.zone-actions { position: sticky; bottom: 0; background: var(--fond); padding: .7rem 0; margin-top: 0; z-index: 4; border-top: 1px solid var(--ligne); }
.sousnav { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 1rem; border-bottom: 1px solid var(--ligne); }
.sousnav a { padding: .45rem .9rem; text-decoration: none; color: var(--gris); border-bottom: 3px solid transparent; margin-bottom: -1px; font-weight: 600; }
.sousnav a.on { color: var(--vert); border-bottom-color: var(--jaune); }
.sousnav a:hover { color: var(--vert); }

/* Zones de la fiche : couleurs franches */
.zone { border: 2px solid var(--z); border-left-width: 10px; padding: 0 1.3rem 1.1rem; background: var(--zfond, #fff); box-shadow: 0 2px 6px rgba(0,0,0,.06); margin-bottom: 1.6rem; }
.zone-titre { background: var(--z) !important; color: #fff !important; font-size: 1.2rem; letter-spacing: .02em; text-transform: uppercase; margin: 0 -1.3rem 1.1rem !important; padding: .7rem 1.3rem; border-radius: 0; }
.zone-titre small { color: rgba(255,255,255,.85) !important; text-transform: none; letter-spacing: 0; font-size: .85rem; }
.zone-titre span { display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #fff; color: var(--z); font-size: 1rem; font-weight: 800; }
.zone-action  { --z: #2d4a1f; --zfond: #f6f9f3; }
.zone-antenne { --z: #1f5fa8; --zfond: #f3f8fd; }
.zone-site    { --z: #c27c00; --zfond: #fffaf0; }
.zone-rapport { --z: #6a3fa0; --zfond: #f8f4fc; }
.zone label, .zone .lbl { color: #222; }
.zone input:not([type=checkbox]):not([type=file]), .zone select, .zone textarea, .zone .rte { border-color: #b9b3a5; background: #fff; }
.zone .souhait { background: #fff; border: 1px dashed var(--z); }
.zone-site .wpbox { background: #fff; border: 1px dashed var(--z); }
.sansdiff { background: #fff; border: 1px solid var(--z); font-weight: 600 !important; }
/* Thèmes : pastilles cochables */
.chips { gap: .4rem; }
.chip-check { display: inline-flex !important; align-items: center; gap: .35rem; margin: 0 !important; padding: .35rem .75rem; border: 2px solid var(--z, var(--vert)); border-radius: 99px; background: #fff; font-weight: 600 !important; cursor: pointer; }
.chip-check input { margin: 0; }
.chip-check:has(input:checked) { background: var(--z, var(--vert)); color: #fff !important; }

.nas-etat { display: block; font-size: .8rem; font-weight: normal; margin-top: .25rem; color: var(--gris); }
.nas-etat.ok { color: #1c7a2e; font-weight: 600; }
.nas-etat.non { color: #9a5b00; }

/* État du MP3 fabriqué par le NAS */
.mp3-etat { padding: .45rem .7rem; border-radius: 6px; background: #eef3fb; color: #233d66; }
.mp3-etat.mp3-conversion { background: #fff4d6; color: #6b4a00; }
.mp3-etat.mp3-pret, .mp3-etat.mp3-envoye { background: #e6f4e9; color: #1c5a2a; }
.mp3-etat.mp3-echec, .mp3-etat.mp3-erreur_site { background: #fbe9e7; color: #8a2a1c; }

/* Ce que concerne la fiche */
.nature { margin-top: .6rem; }
.nature .chips { align-items: center; }
.nature-ou { color: var(--gris); font-style: italic; margin: 0 .2rem 0 .6rem; }
.nature-aide { margin: .3rem 0 .6rem; }
.js-son { margin-top: .4rem; }
.souhait.deja .filters { margin: .3rem 0; }

/* Comptes : infobulle sur chaque rôle (survol à la souris, toucher sur iPad / iPhone) */
.role-aide { position: relative; }
.role-aide .aide-i { color: var(--gris); font-size: .85em; cursor: help; }
.role-aide:hover::after, .role-aide:focus-within::after, .role-aide:focus::after {
  content: attr(data-aide); position: absolute; left: 0; top: calc(100% + .3rem); z-index: 20;
  width: 20rem; max-width: 80vw; padding: .55rem .7rem; border-radius: 6px;
  background: #2d4a1f; color: #fff; font-weight: normal; font-size: .82rem; line-height: 1.35; box-shadow: 0 3px 10px rgba(0,0,0,.25);
}

/* Lien vers l'article du site */
.lien-site { display: flex; align-items: flex-end; gap: .8rem; }
.lien-site label { flex: 1; }
.lien-site .button { margin-bottom: .2rem; white-space: nowrap; }
