
/* Editorial interface V99 */
.oo-editor-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:8px;background:#143958;border:1px solid #376889;border-bottom:0;border-radius:10px 10px 0 0}
.oo-editor-toolbar button{border:1px solid #356d8d;background:#0a2948;color:#e7f8ff;padding:9px 11px;border-radius:7px;font-weight:800;cursor:pointer;min-width:35px}
.oo-editor-toolbar button:hover,.oo-editor-toolbar button:focus-visible{border-color:#4ed7fa;background:#105582}
.oo-article-editor{border-top-left-radius:0;border-top-right-radius:0;line-height:1.65;font-size:15px}
.oo-editor-utilities{margin-top:8px}.oo-editor-flags{display:flex;flex-wrap:wrap;gap:12px;background:#0a2948;border:1px solid #345d7b;border-radius:10px;padding:13px 15px;margin-top:12px}
.oo-editor-flags label{display:flex;gap:8px;align-items:center;font-weight:800;font-size:13px;cursor:pointer}.oo-editor-flags input{accent-color:#25c8f3;width:18px;height:18px}
.oo-preview-panel{padding:16px;border:1px solid #367b9f;border-radius:12px;background:#082640;margin-top:18px}.oo-preview-panel[hidden]{display:none}.oo-preview-panel h3{margin:0}.oo-article-rendered{overflow-wrap:anywhere;line-height:1.8;color:#ebf6ff}
.oo-article-rendered h2{font-size:24px;margin:22px 0 8px;color:#fff}.oo-article-rendered h3{font-size:19px;margin:19px 0 8px;color:#b8edff}.oo-article-rendered p{white-space:normal!important;margin:0 0 15px;color:#e0edfa}
.oo-article-rendered a{color:#5ae4ff;text-decoration:underline}.oo-article-rendered blockquote{margin:16px 0;border-left:4px solid #37b5df;padding:9px 18px;background:#123d5e;color:#e0f5ff}.oo-article-rendered ul,.oo-article-rendered ol{margin:10px 0 17px;padding-left:26px}.oo-article-rendered li{padding:3px 0}.oo-article-rendered hr{border:0;border-top:1px solid #2a6989;margin:20px 0}.oo-article-rendered code{background:#0b3450;padding:2px 4px;border-radius:4px}
.oo-article-credits{font-size:12px;color:#a8cede}.oo-article-tags{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.oo-article-tag{font-size:11px;padding:4px 10px;border-radius:15px;background:#123f61;border:1px solid #386a87;color:#c7edff}
.oo-editor-preview-img{display:block;max-height:390px;width:100%;object-fit:contain;background:#03182d;border-radius:9px;margin:12px 0}.oo-preview-summary{color:#bde3f3;font-size:16px}
.oo-editor-article-info{color:#a7c8e0;font-size:12px}.oo-editor-article-badge{display:inline-block;background:#0c6c98;border-radius:4px;padding:3px 7px;color:white;font-size:11px;margin-right:5px}
.oo-article-image-caption{display:block;color:#b6cede;font-size:12px;margin-top:6px;text-align:center}
@media(max-width:600px){.oo-editor-toolbar button{font-size:12px;padding:9px}.oo-preview-panel{padding:11px}}

.oo-article-hero-image{display:block;width:100%;max-height:470px;object-fit:contain;background:#061a31;border-radius:12px;margin:18px 0}.oo-article>.oo-preview-summary{white-space:normal;font-size:17px;font-weight:650;color:#c7ecff}.oo-article>.oo-muted{white-space:normal}

/* V100 — onglet dédié Aperçu avant publication */
.oo-admin-editor-tabs{display:flex;gap:8px;overflow-x:auto;max-width:100%;scrollbar-width:thin;padding:9px 2px 15px;margin:8px 0 5px;scroll-margin-top:16px}
.oo-admin-editor-tabs button{border:1px solid #356d8d;background:#0c2c4a;color:#e2f2fc;border-radius:12px;padding:12px 15px;white-space:nowrap;font-weight:850;font-size:14px;cursor:pointer;min-height:46px}
.oo-admin-editor-tabs button[aria-selected="true"]{background:#25bedc;color:#05243a;border-color:#48e3f3}
.oo-admin-editor-tabs button:focus-visible,.oo-preview-devices button:focus-visible{outline:3px solid #8de5ff;outline-offset:2px}
.oo-preview-panel{background:#081e34;padding:20px}
.oo-preview-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin:17px 0}
.oo-preview-devices{display:flex;gap:8px;flex-wrap:wrap}
.oo-preview-devices button[aria-pressed="true"]{background:#2ac7e5;color:#07293c;border-color:#36e7ff}
.oo-preview-device{width:100%;margin:10px auto 20px;border:1px solid #3b7699;border-radius:20px;overflow:hidden;background:#06162c;transition:max-width .25s ease}
.oo-preview-device[data-device="mobile"]{max-width:390px}
.oo-preview-device[data-device="desktop"]{max-width:950px}
.oo-preview-site-head{display:flex;gap:10px;align-items:center;background:#071b32;padding:13px 17px;border-bottom:1px solid #254966}
.oo-preview-site-head img{width:41px;height:41px;object-fit:contain}
.oo-preview-site-head strong{display:block;letter-spacing:.08em;font-size:13px;color:#e9faff}
.oo-preview-site-head small{display:block;color:#88c5df;font-size:11px;margin-top:3px}
.oo-preview-inner{display:grid;gap:19px;padding:17px}
.oo-preview-device[data-device="desktop"] .oo-preview-inner{grid-template-columns:minmax(250px,.85fr) minmax(0,1.4fr);align-items:start}
.oo-preview-zone{min-width:0}
.oo-preview-zone-title{font-size:11px;color:#75cee9;letter-spacing:.08em;font-weight:900;margin:0 0 12px}
.oo-preview-dashboard .oo-news-card{max-width:100%;min-width:0;border:1px solid #2b5473}
.oo-preview-dashboard .oo-news-card .oo-news-image,.oo-preview-dashboard .oo-news-card .oo-news-placeholder{height:175px;width:100%;object-fit:cover}
.oo-preview-card-wrap{display:flex;flex-direction:column;flex:1}
.oo-preview-full-article{padding:17px;border:1px solid #244861;border-radius:12px;background:#0c2944;overflow-wrap:anywhere;min-width:0}
.oo-preview-full-article h1{font-size:clamp(20px,3.6vw,31px);line-height:1.18;margin:12px 0}
.oo-preview-full-article .oo-editor-preview-img{max-height:330px}
.oo-preview-full-article .oo-article-rendered{font-size:15px}
@media(max-width:700px){.oo-preview-panel{padding:12px}.oo-preview-controls .oo-button{font-size:12px}.oo-preview-inner{padding:12px}.oo-admin-editor-tabs button{padding:11px 12px}}
@media(prefers-reduced-motion:reduce){.oo-preview-device{transition:none}}

/* V101 — interface de cadrage des photos, affichée sur demande dans la rédaction */
.oo-crop-launch{margin:10px 0 4px}
.oo-crop-panel{background:#071d34;border:1px solid #2c80aa;padding:16px;margin:12px 0 18px;border-radius:13px}
.oo-crop-panel[hidden]{display:none}
.oo-crop-panel h3{font-size:17px;color:#e8f9ff;margin:0 0 9px}
.oo-crop-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(210px,.8fr);gap:18px;align-items:start}
.oo-crop-preview{width:100%;max-width:630px;border:1px solid #3d799d;border-radius:12px;overflow:hidden;background:#031c36}
.oo-crop-preview .oo-news-placeholder{min-height:210px}
.oo-crop-preview .oo-cropped-image-frame{width:100%}
.oo-crop-tools{min-width:0;display:flex;flex-direction:column;gap:6px}
.oo-crop-tools label{font-size:12px;color:#c0e8f8;font-weight:800;margin-top:8px;display:flex;justify-content:space-between}
.oo-crop-tools input[type=range]{width:100%;accent-color:#25c8f3;cursor:pointer;height:28px}
.oo-crop-tools output{font-variant-numeric:tabular-nums;color:#75dfff}
.oo-crop-tools .oo-flex{margin-top:9px}
.oo-preview-dashboard .oo-news-card .oo-cropped-image-frame{height:auto;width:100%;aspect-ratio:var(--oo-crop-ratio,16 / 9)}
.oo-preview-dashboard .oo-news-card .oo-cropped-image-frame .oo-news-image{height:100%;width:100%;max-height:none}
.oo-preview-full-article .oo-cropped-image-frame{margin:12px 0}
.oo-preview-full-article .oo-cropped-image-frame img{width:100%;height:100%;max-height:none}
.oo-preview-device[data-device="desktop"] .oo-preview-card-wrap{display:grid;grid-template-columns:minmax(0,46%) minmax(0,54%);min-height:245px}
.oo-preview-device[data-device="desktop"] .oo-preview-dashboard .oo-news-card .oo-cropped-image-frame{height:100%;aspect-ratio:auto}
.oo-preview-device[data-device="desktop"] .oo-preview-dashboard .oo-news-body{display:flex;flex-direction:column;justify-content:center}
.oo-preview-device[data-device="mobile"] .oo-preview-dashboard .oo-news-card h3{font-size:19px}
@media(max-width:700px){.oo-crop-layout{grid-template-columns:minmax(0,1fr)}.oo-crop-panel{padding:12px}}

/* V102 — partage d'articles avec cartes cliquables et photo personnalisée */
.oo-article-share{margin-top:24px;padding:19px;border-radius:14px;border:1px solid #30799f;background:#09213c}
.oo-article-share-title{font-size:18px!important;margin:0 0 9px!important;color:#e9f9ff}
.oo-article-share-hint{font-size:12px!important;color:#a5cfe5!important;margin:0 0 14px!important;line-height:1.55!important;white-space:normal!important}
.oo-article-share-actions{display:flex;flex-wrap:wrap;gap:9px}
.oo-article-share-actions .oo-button{flex:1;min-width:126px;min-height:44px;text-align:center}
@media(max-width:420px){.oo-article-share{padding:13px}.oo-article-share-actions .oo-button{min-width:calc(50% - 5px);font-size:12px;padding:10px 8px}}

/* V104 — édition visible des articles déjà publiés */
.oo-edit-mode{padding:12px 16px;margin:13px 0;border:1px solid #42c8e6;border-radius:10px;background:#104363;color:#e8faff;font-weight:700;font-size:13px}
.oo-data-item .oo-flex{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}
@media(max-width:600px){.oo-data-item .oo-flex{justify-content:flex-start}}

/* V110 — Retour visible lors de la verification des cartes X */
.oo-article-share-actions .oo-button:disabled{opacity:.55;cursor:wait}
.oo-article-share>p[aria-live]{padding:10px 12px;background:#113452;border:1px solid #3a7597;border-radius:9px;margin-top:12px!important;white-space:pre-wrap!important}

.oo-article-rendered .oo-article-inline-photo{margin:22px 0;text-align:center}.oo-article-rendered .oo-article-inline-photo img{display:block;width:100%;height:auto;max-height:650px;object-fit:contain;border-radius:12px}.oo-article-rendered .oo-article-inline-photo figcaption{margin-top:8px;color:#a9c7d9;font-size:13px;line-height:1.5}
