/* Containers only. The access and Doctrino views keep their existing styles. */
html,body{margin:0;height:100%;overflow:hidden}
iframe{display:block;width:100%;height:100dvh;border:0}
[hidden]{display:none!important}
.discussion-widget{position:fixed;z-index:3100;inset:0;width:100%;height:100dvh;border:0;overflow:hidden;background:transparent;box-sizing:border-box}
/* Tout d'un coup (11-11) : la fenêtre de la phrase, sur la page où l'on est. Elle tient à 375 px. */
.phrase-dialog{width:min(460px,calc(100vw - 32px));max-height:85dvh;overflow:auto;box-sizing:border-box;border:1px solid #69849d;border-radius:12px;padding:18px;background:#fff;color:#16334d;font:16px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}
.phrase-dialog::backdrop{background:#081321aa}
.phrase-dialog h2{margin:0 0 10px;font-size:1.25rem}
.phrase-dialog p{margin:0 0 12px}
.phrase-dialog label{display:block;margin:0 0 12px;font-weight:600}
.phrase-dialog input,.phrase-dialog select{display:block;width:100%;box-sizing:border-box;margin-top:4px;padding:10px;font:inherit;border:1px solid #69849d;border-radius:8px;background:#fff;color:#16334d}
.phrase-dialog #phrase-erreur{min-height:1.4em;color:#8a1c1c}
.phrase-actions{display:flex;flex-wrap:wrap;gap:10px}
.phrase-actions button{flex:1 1 auto;min-height:44px;padding:10px 16px;font:inherit;font-weight:600;border-radius:8px;border:1px solid #1f4f7a;background:#1f4f7a;color:#fff;cursor:pointer}
.phrase-actions button.pale{background:#fff;color:#1f4f7a}
.phrase-actions button:disabled{opacity:.6;cursor:default}
@media (prefers-color-scheme:dark){.phrase-dialog,.phrase-dialog input,.phrase-dialog select{background:#14212e;color:#e6eef6;border-color:#4f6b85}.phrase-dialog #phrase-erreur{color:#ffb4b4}.phrase-actions button.pale{background:#14212e;color:#cfe3f7}}
