/* GSE CONNECT — Communiqués et horaires, FR / EN (compatible CSP) */
.gse-cm{max-width:1100px;margin:0 auto 35px;color:#20374c}
.gse-cm-head{background:linear-gradient(120deg,#082c65,#0b3d91);border-bottom:4px solid #d6ac48;color:#fff;border-radius:16px;padding:28px 31px;margin-bottom:22px}
.gse-cm-kicker{font-size:11px;font-weight:800;letter-spacing:.14em;color:#f3d47b;text-transform:uppercase;margin:0 0 9px}
.gse-cm-head h1{font-size:clamp(24px,3vw,31px);line-height:1.23;margin:0 0 8px;color:#fff}
.gse-cm-head p:last-child{font-size:14px;line-height:1.65;margin:0;color:#eef4fb}
.gse-cm-card{background:#fff;border:1px solid #dce5f0;border-left:5px solid #0b3d91;border-radius:13px;padding:23px 25px;margin:15px 0;box-shadow:0 4px 18px rgba(9,40,84,.06)}
.gse-cm-card.important{border-left-color:#d49b30}.gse-cm-card.urgent{border-left-color:#c92c40}
.gse-cm-card h2{font-size:19px;line-height:1.4;margin:12px 0 8px;color:#103b68}
.gse-cm-card h2 a{color:inherit;text-decoration:none}.gse-cm-card h2 a:hover{text-decoration:underline}
.gse-cm-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:12px;color:#5a6e83}
.gse-cm-tag,.gse-cm-unread{display:inline-block;font-size:11px;font-weight:850;padding:5px 10px;border-radius:7px;letter-spacing:.035em}
.gse-cm-tag{background:#eaf2fa;color:#15496d}
.gse-cm-tag.important{background:#fff1cf;color:#835b0b}
.gse-cm-tag.urgent{background:#ffedf0;color:#a11a31}
.gse-cm-unread{background:#dff5e8;color:#136042}
.gse-cm-preview{color:#486078;line-height:1.65;font-size:14px;margin:11px 0 15px;overflow-wrap:anywhere;white-space:pre-line}
.gse-cm-body{line-height:1.88;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:24px;color:#20374c}
.gse-cm-back{display:inline-flex;margin:0 0 18px;color:#0b3d91;font-weight:750;text-decoration:none}
.gse-cm-link{display:inline-block;font-weight:750;color:#0b3d91;text-decoration:none;font-size:13px;margin-top:5px}
.gse-cm-link:hover,.gse-cm-back:hover{text-decoration:underline}
.gse-cm-empty{padding:26px;background:#fff;border:1px dashed #b7cbe1;border-radius:13px;color:#4b6480;font-size:14px}
.gse-cm-count{font-size:13px;color:#34536e;margin-bottom:16px;font-weight:650}
.gse-cm-teacher{margin:15px 0 25px;border:1px solid #dbe5f1;border-radius:13px;background:#fff;padding:22px}
.gse-cm-teacher h2{margin:0 0 12px;color:#0b3d91;font-size:19px}
.gse-cm-teacher label{font-weight:700;font-size:13px}
.gse-cm-teacher textarea{min-height:130px;resize:vertical;line-height:1.6}
.gse-cm-form-hint{font-size:12px;color:#506782;line-height:1.55}
.gse-cm-list-item{padding:15px 0;border-bottom:1px solid #e3eaf3}
.gse-cm-list-item:last-child{border-bottom:0}
.gse-cm-list-item strong{font-size:15px;color:#183b62}
.gse-cm-list-item form{display:inline-block;margin:5px 0}
.gse-cm-list-item button{margin-left:7px}
.gse-cm-schedule-table-wrap{overflow-x:auto}
.gse-cm-schedule-table{width:100%;border-collapse:collapse;font-size:14px;min-width:420px}
.gse-cm-schedule-table th{text-align:left;background:#edf3fb;color:#123d70;font-size:12px;padding:13px 15px}
.gse-cm-schedule-table td{padding:14px 15px;border-bottom:1px solid #e4ecf5;vertical-align:top}
.gse-cm-schedule-table td:nth-child(2){font-weight:750;color:#0b3d91;white-space:nowrap}
.gse-cm-schedule-table tr:last-child td{border-bottom:0}
@media(max-width:650px){.gse-cm-head{padding:22px 18px}.gse-cm-card{padding:18px 17px}.gse-cm-teacher{padding:17px}.gse-cm-card h2{font-size:17px}}

/* Tableau financier Direction et filtres */
.gse-cm-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.gse-cm-summary-box{background:#fff;border:1px solid #dce6f0;border-radius:12px;padding:18px}
.gse-cm-summary-box span{display:block;color:#567085;font-size:12px;font-weight:700;margin-bottom:10px}
.gse-cm-summary-box strong{font-size:26px;color:#103c6d}
.gse-cm-finance-table{min-width:960px}
.gse-cm-finance-table td{min-width:105px;line-height:1.5}
.gse-cm-finance-table td:nth-child(2){white-space:normal;font-weight:400;min-width:255px}
.gse-cm-finance-child{margin:0 0 9px}
.gse-cm-finance-child small{display:block;color:#455d73;font-size:11px;line-height:1.5}
.gse-cm-finance-filters{border:1px solid #d5e2f1;border-left:4px solid #0b3d91;border-radius:10px;background:#f3f8fc;padding:18px;margin:10px 0}
.gse-cm-finance-filters label{display:block;margin:10px 0}
.gse-cm-finance-filters input,.gse-cm-finance-filters select{display:block;width:100%;padding:9px;border:1px solid #c8d7e7;border-radius:7px}
@media(max-width:640px){.gse-cm-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

.gse-cm-optin{display:flex;align-items:flex-start;gap:10px;max-width:700px;line-height:1.6;font-weight:600}.gse-cm-optin input{margin-top:6px;flex-shrink:0}.gse-cm-success{background:#e2f7ec;border:1px solid #b2e2c4;padding:15px 20px;border-radius:9px;color:#156146;font-weight:700}
.gse-message-seal{background:#eff7f3;border:1px solid #a8d8be;border-left:4px solid #26844b;border-radius:10px;padding:17px 18px;margin:24px 0 0;line-height:1.7;color:#174d37}
.gse-message-seal strong{display:block;font-size:13px;color:#145637}
.gse-message-seal p{margin:6px 0 8px;font-size:13px}
.gse-message-seal code{display:inline-block;font-family:ui-monospace,Consolas,monospace;font-size:12px;font-weight:800;letter-spacing:.035em;color:#093d67;word-break:break-all}
.gse-message-seal a{font-size:12px;color:#0b3d91;font-weight:800;text-decoration:underline;text-underline-offset:2px}
/* Communication école-famille : éditeur structuré, lisible et adaptable. */
.gse-comms-form{display:flex;flex-direction:column;gap:16px;min-width:0}
.gse-comms-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.gse-comms-block{border:1px solid #c8d8ed;border-radius:12px;padding:16px;min-width:0;background:#fcfdff}
.gse-comms-block legend{color:#0b3d91;font-size:15px;font-weight:800;padding:0 7px}
.gse-comms-block label{display:flex;flex-direction:column;gap:7px;margin:9px 0;font-size:14px;font-weight:650;min-width:0}
.gse-comms-block input,.gse-comms-block select,.gse-comms-block textarea{width:100%;max-width:100%;min-width:0;box-sizing:border-box;border:1px solid #b5c9df;border-radius:8px;background:white;color:#17324e;padding:10px 11px;font-size:15px;line-height:1.45;min-height:44px}
.gse-comms-block textarea{min-height:180px;resize:vertical}
.gse-comms-language{min-width:0}.gse-comms-language h3{font-size:17px;color:#0b3d91}
.gse-comms-footer{display:flex;flex-wrap:wrap;gap:14px;align-items:center;border-top:1px solid #d8e3ef;padding-top:12px}
.gse-comms-footer p{flex:1 1 270px;font-size:13px;color:#485e73;line-height:1.5}
.gse-comms-footer button{flex:0 0 auto;background:#0b3d91;color:white;padding:13px 20px;border:0;border-radius:9px;font-size:15px;font-weight:700;cursor:pointer;min-height:44px}
.gse-comms-topic,.gse-comms-card-topic{display:inline-block;background:#e8f1fc;color:#0b3d91;border-radius:22px;padding:4px 10px;font-size:12px;font-weight:700;margin:3px}
.gse-comms-send-log{border-top:1px solid #d8e1ed;margin-top:12px;padding-top:10px;color:#234b68;font-size:13px}
.gse-comms-form [hidden]{display:none!important}
@media(max-width:820px){.gse-comms-columns{grid-template-columns:minmax(0,1fr)}.gse-comms-block{padding:12px}.gse-comms-footer button{width:100%}}

/* Liens cliquables dans les communiqués déjà publiés et à venir. */
.gse-cm-body a.gse-announcement-link{
  color:#0b3d91;
  font-weight:700;
  text-decoration:underline;
  text-decoration-thickness:1.5px;
  text-underline-offset:3px;
  overflow-wrap:anywhere;
  cursor:pointer;
  -webkit-tap-highlight-color:rgba(11,61,145,.17)
}
.gse-cm-body a.gse-announcement-link:hover{color:#06306f;text-decoration-thickness:2px}
.gse-cm-body a.gse-announcement-link:focus-visible{
  outline:3px solid #d49d20;
  outline-offset:4px;
  border-radius:3px
}
