/* La cloche de la revue des PDF posee dans l'atelier (revue-atelier.js) :
   les seules regles de la cloche, reprises de revue.css et toutes placees
   sous .cloche-hote, pour ne rien changer au reste de l'atelier. Les
   couleurs viennent des memes jetons que l'atelier (atelier.css). Une regle
   de la cloche qui change dans revue.css se reporte ici. */
/* Les deux polices de la revue n'existent pas dans l'atelier : sans elles,
   une regle `font` entiere tombait (avatars a 14 px, titre sans empattement). */
.cloche-hote { --serif: ui-serif, Georgia, "Iowan Old Style", "Palatino Linotype", serif; --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.cloche-hote { font-family: var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif); font-size: 14px; line-height: 1.45; color: var(--encre); }
.cloche-hote *, .cloche-hote *::before, .cloche-hote *::after { box-sizing: border-box; }
.cloche-hote h2 { font-family: var(--serif, Georgia, serif); }
.cloche-hote .discret { color: var(--encre-3); }
.cloche-hote .petit { font-size: 12px; }
.cloche-hote .btn, .cloche-hote .lien { font-family: -apple-system, BlinkMacSystemFont, Inter, var(--sans), sans-serif; font-weight: 600; font-size: 13px; letter-spacing: -.005em; }
.cloche-hote .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px;
  border-radius: 8px; border: 0; background: rgba(0, 0, 0, .06); color: #1D1D1F;
  cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, opacity .15s ease;
}
.cloche-hote .btn:hover { background: rgba(0, 0, 0, .1); }
.cloche-hote .btn-p { background: var(--accent); color: #FFFFFF; }
.cloche-hote .btn-p:hover { background: var(--accent-encre); }
.cloche-hote .btn-v { height: 28px; padding: 0 10px; }
.cloche-hote .btn:focus-visible, .cloche-hote .lien:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cloche-hote .btn:disabled, .cloche-hote .lien:disabled { opacity: .4; cursor: default; }
.cloche-hote .btn:disabled:hover { background: rgba(0, 0, 0, .06); }
.cloche-hote .btn-p:disabled:hover { background: var(--accent); }
.cloche-hote .lien {
  display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 7px; border: 0; border-radius: 8px; background: none;
  color: #3A3A3C; cursor: pointer; text-decoration: none; white-space: nowrap; vertical-align: middle; transition: background-color .15s ease;
}
.cloche-hote .lien:hover { background: rgba(0, 0, 0, .06); color: #1D1D1F; }
.cloche-hote .ib { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: var(--rayon-petit); border: 0; background: transparent; color: var(--encre-2); cursor: pointer; padding: 0; }
.cloche-hote .ib:hover { background: var(--surface-2); color: var(--encre); }
.cloche-hote .ib.on { background: var(--accent); color: #FFFFFF; }
.cloche-hote .ib:disabled { opacity: .4; cursor: default; }
.cloche-hote .av { width: 28px; height: 28px; border-radius: var(--rond); display: inline-flex; align-items: center; justify-content: center; font: 600 10.5px/1 var(--sans); color: #FFFFFF; flex: 0 0 auto; letter-spacing: .02em; }
.cloche-hote .av.s { width: 22px; height: 22px; font-size: 9px; }
.cloche-hote .choix-version { height: 30px; padding: 0 8px; border: 1px solid var(--filet); border-radius: var(--rayon-petit); background: var(--surface); font-size: 13px; font-weight: 500; cursor: pointer; }
.cloche-hote .flt { height: 30px; padding: 0 11px; border-radius: var(--rond); border: 1px solid var(--filet-doux); background: var(--surface); color: var(--encre-2); font: 500 12.5px/1 var(--sans); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cloche-hote .flt:hover { border-color: #C9C8C3; }
.cloche-hote .flt.on { background: var(--encre); border-color: var(--encre); color: #FFFFFF; }
.cloche-hote .flt-n { opacity: .7; }
.cloche-hote .saisie:focus { outline: 2px solid var(--accent-doux); border-color: var(--accent); }
.cloche-hote .saisie { width: 100%; border: 1px solid var(--filet); border-radius: 8px; padding: 10px 12px; font-size: 14px; resize: none; background: var(--surface); }
.cloche-hote .boite-pied { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; flex-wrap: wrap; }

.cloche-hote .ib { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: var(--rayon-petit); border: 0; background: transparent; color: var(--encre-2); cursor: pointer; padding: 0; }
.cloche-hote .ib:hover { background: var(--surface-2); color: var(--encre); }
.cloche-hote .ib.on { background: var(--accent); color: #FFFFFF; }
.cloche-hote .ib:disabled { opacity: .4; cursor: default; }
.cloche-hote .av { width: 28px; height: 28px; border-radius: var(--rond); display: inline-flex; align-items: center; justify-content: center; font: 600 10.5px/1 var(--sans); color: #FFFFFF; flex: 0 0 auto; letter-spacing: .02em; }
.cloche-hote .av.s { width: 22px; height: 22px; font-size: 9px; }
.cloche-hote .choix-version { height: 30px; padding: 0 8px; border: 1px solid var(--filet); border-radius: var(--rayon-petit); background: var(--surface); font-size: 13px; font-weight: 500; cursor: pointer; }
.cloche-hote .flt { height: 30px; padding: 0 11px; border-radius: var(--rond); border: 1px solid var(--filet-doux); background: var(--surface); color: var(--encre-2); font: 500 12.5px/1 var(--sans); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cloche-hote .flt:hover { border-color: #C9C8C3; }
.cloche-hote .flt.on { background: var(--encre); border-color: var(--encre); color: #FFFFFF; }
.cloche-hote .flt-n { opacity: .7; }
.cloche-hote .saisie:focus { outline: 2px solid var(--accent-doux); border-color: var(--accent); }
.cloche-hote .saisie { width: 100%; border: 1px solid var(--filet); border-radius: 8px; padding: 10px 12px; font-size: 14px; resize: none; background: var(--surface); }
.cloche-hote .boite-pied { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.cloche-hote .ib.on-doux { background: var(--accent-doux); color: var(--accent-encre); }
.cloche-hote { position: relative; display: inline-flex; }
.cloche-hote .cloche { position: relative; }
.cloche-hote .cloche-point { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 2px var(--surface); }
.cloche-hote .notifs { position: absolute; top: calc(100% + 8px); right: 0; z-index: 40; width: min(400px, calc(100vw - 24px)); max-height: min(70vh, 640px); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--filet-doux); border-radius: var(--rayon-grand); box-shadow: 0 20px 50px rgba(27, 27, 25, .18); overflow: hidden; }
.cloche-hote .notifs-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 6px; }
.cloche-hote .notifs-tete h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 20px; }
.cloche-hote .notifs-filtres { display: flex; gap: 4px; padding: 0 16px 8px; border-bottom: 1px solid var(--filet-doux); }
.cloche-hote .notifs-liste { overflow-y: auto; padding: 4px 8px 8px; }
.cloche-hote .notifs-jour { margin: 10px 8px 4px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-3); }
.cloche-hote .notif { display: flex; gap: 10px; width: 100%; text-align: left; padding: 10px 8px; border: 0; border-radius: var(--rayon); background: none; font: inherit; color: inherit; cursor: pointer; }
.cloche-hote .notif:hover { background: var(--enclos); }
.cloche-hote .notif.neuve { background: #F7FAFA; }
.cloche-hote .notif.neuve .notif-texte > span:first-child { font-weight: 600; }
.cloche-hote .notif-texte { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.4; min-width: 0; }
.cloche-hote .notif-extrait { color: var(--encre-2); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cloche-hote .notifs-vide { padding: 16px 8px; margin: 0; }
.cloche-hote .notifs-pied { margin: 0; padding: 8px 16px 12px; border-top: 1px solid var(--filet-doux); }
.cloche-hote .attente-dit { margin: 4px 0 0; font-size: 12px; color: var(--attente-encre); }
.cloche-hote .reglages { display: flex; flex-direction: column; gap: 6px; padding: 4px 8px 10px; }
.cloche-hote .reglage-ligne { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px; font-size: 13px; }
.cloche-hote .reglage-ligne .choix-version, .cloche-hote .reglage-ligne .saisie { max-width: 220px; }

/* L'infobulle des boutons a icone se pose sur la page entiere, hors de la
   cloche : meme regle que dans revue.css. */
.infobulle {
  position: fixed; z-index: 1000; max-width: 260px; padding: 6px 9px; border-radius: 7px;
  background: #1B1B19; color: #FFFFFF; font: 500 12.5px/1.35 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 4px 14px rgba(27, 27, 25, .18); pointer-events: none; white-space: normal;
}
@media (prefers-reduced-motion: reduce) { .cloche-hote .btn { transition: none; } }
.cloche-hote .choix-version { border: .5px solid rgba(0, 0, 0, .16); border-radius: 8px; }
.cloche-hote .saisie { border: 0; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .16); border-radius: 10px; }
.cloche-hote .saisie:focus { outline: 2px solid var(--accent); outline-offset: 0; box-shadow: none; }
.cloche-hote .notifs { border: 0; border-radius: 16px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 20px 50px rgba(0, 0, 0, .16); }
.cloche-hote .notifs-tete h2 { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.cloche-hote .notifs-filtres { border-bottom: .5px solid rgba(0, 0, 0, .08); }
.cloche-hote .notif { border-radius: 10px; }
.cloche-hote .notif:hover { background: rgba(0, 0, 0, .04); }
.cloche-hote .notif.neuve { background: rgba(20, 83, 94, .05); }
.cloche-hote .notifs-pied { border-top: .5px solid rgba(0, 0, 0, .08); }
