* {
    box-sizing: border-box;
}

:root {
    --purple: #52005c;
    --purple-dark: #35003d;
    --purple-light: #750083;
    --red: #bd2026;
    --red-dark: #9f171d;
    --background: #f5f4f7;
    --white: #ffffff;
    --text: #25212a;
    --muted: #706b75;
    --border: #e6e1e8;
}

/* PAGE */

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.5;
}

/* HEADER */

body:not(.shell-v2-active) header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--purple-dark) 0%,
        var(--purple) 55%,
        var(--purple-light) 100%
    );
    color: white;
    padding: 5px 30px;
    text-align: center;
    border-bottom: 5px solid var(--red);
    box-shadow: 0 5px 20px rgba(53, 0, 61, 0.2);
}

body:not(.shell-v2-active) header::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    right: -80px;
    top: -130px;
}

body:not(.shell-v2-active) header h1 {
    position: relative;
    margin: 0;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
}

body:not(.shell-v2-active) header p {
    position: relative;
    margin: 8px 0 0;
    font-size: 17px;
    opacity: 0.9;
}

/* CONTENU */

body:not(.shell-v2-active) main {
    max-width: 960px;
    margin: 35px auto 60px;
    padding: 0 22px;
}

/* CARTES */

.card {
    position: relative;
    background: var(--white);
    padding: 30px;
    margin-bottom: 28px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow:
        0 4px 8px rgba(35, 20, 40, 0.03),
        0 12px 30px rgba(35, 20, 40, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.card:hover {
    box-shadow:
        0 5px 10px rgba(35, 20, 40, 0.04),
        0 16px 35px rgba(35, 20, 40, 0.09);
}

/* TITRES */

h2 {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 13px;
    color: var(--purple);
    font-size: 24px;
    font-weight: 800;
}

h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 4px;
    border-radius: 10px;
    background: var(--red);
}

h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--purple);
    font-size: 19px;
}

/* LABELS */

label {
    display: block;
    margin-top: 22px;
    margin-bottom: 8px;
    color: var(--purple-dark);
    font-size: 14px;
    font-weight: 700;
}

/* CHAMPS */

textarea {
    width: 100%;
    min-height: 135px;
    padding: 15px 16px;
    border: 1px solid #d8d2db;
    border-radius: 10px;
    background: #fcfbfc;
    color: var(--text);
    resize: vertical;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.55;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

textarea:hover {
    border-color: #bcb3c0;
}

textarea:focus {
    outline: none;
    background: white;
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(82, 0, 92, 0.1);
}

textarea::placeholder {
    color: #aaa3ad;
}

textarea.small {
    min-height: 80px;
}

textarea.article {
    min-height: 420px;
}

/* BOUTONS */

button,
.importButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 20px;
    min-height: 44px;
    border: none;
    border-radius: 9px;
    background: linear-gradient(
        135deg,
        var(--red),
        var(--red-dark)
    );
    color: white;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(189, 32, 38, 0.18);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        opacity 0.15s ease;
}

button:hover,
.importButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 15px rgba(189, 32, 38, 0.25);
}

button:active,
.importButton:active {
    transform: translateY(0);
}

button:disabled {
    cursor: wait;
    opacity: 0.55;
}

/* BOUTONS SECONDAIRES */

.secondary {
    background: linear-gradient(
        135deg,
        var(--purple),
        var(--purple-dark)
    );
    padding: 10px 16px;
    box-shadow: 0 4px 10px rgba(82, 0, 92, 0.16);
}

.secondary:hover {
    box-shadow: 0 7px 15px rgba(82, 0, 92, 0.23);
}

/* TEXTES D'AIDE */

.help {
    margin-top: -10px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ACTIONS */

.actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.actions button,
.actions .importButton {
    margin-top: 15px;
}

/* ARTICLES SAUVEGARDÉS */

.saved-item {
    position: relative;
    margin-top: 12px;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: #faf9fb;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.saved-item:hover {
    background: white;
    border-color: #cfc6d2;
    transform: translateX(3px);
}

.saved-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--purple);
    font-size: 16px;
    font-weight: 800;
}

.saved-item small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.saved-item button {
    margin-top: 12px;
    margin-right: 7px;
}

/* IMPORT DE FICHIER */

.importButton {
    cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 650px) {

    body:not(.shell-v2-active) header {
        padding: 36px 20px;
    }

    body:not(.shell-v2-active) header h1 {
        font-size: 34px;
    }

    body:not(.shell-v2-active) main {
        margin-top: 22px;
        padding: 0 14px;
    }

    .card {
        padding: 22px;
        border-radius: 13px;
    }

    h2 {
        font-size: 21px;
    }

    .actions {
        flex-direction: column;
        align-items: stretch;
    }

    .actions button,
    .actions .importButton {
        width: 100%;
    }
}


body:not(.shell-v2-active) .logo-redac {
    position: relative;
    z-index: 1;
    display: block;
    width: 900px;
    max-width: 90vw;
    height: 180px;
    object-fit: contain;
    margin: 0 auto;
    transform: scale(1.7);
}

/* BARRE DE NAVIGATION */

.top-nav {
    background: #ffffff;
    border-bottom: 1px solid #e8e4ea;
    box-shadow: 0 2px 10px rgba(35, 20, 40, 0.04);
}

.nav-inner {
    max-width: 960px;
    height: 58px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    color: var(--purple);
    font-size: 16px;
    font-weight: 800;
}

.nav-status {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}



/* ========================================
   NOUVELLE INTERFACE RÉDAC 2000
======================================== */

body:not(.shell-v2-active) .app-layout {
    display: flex;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 35px 30px 70px;
    gap: 35px;
}

/* SIDEBAR */

body:not(.shell-v2-active) .sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 25px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 12px;
    box-shadow: 0 8px 30px rgba(35, 20, 40, 0.07);
}

body:not(.shell-v2-active) .sidebar-title {
    padding: 5px 14px 18px;
    color: #99919d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

body:not(.shell-v2-active) .sidebar-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px;
    margin-bottom: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s ease;
}

body:not(.shell-v2-active) .sidebar-item:hover {
    background: #f8f5f9;
}

body:not(.shell-v2-active) .sidebar-item.active {
    background: rgba(82, 0, 92, 0.08);
}

body:not(.shell-v2-active) .sidebar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    border-radius: 9px;
    background: #f1ebf3;
    color: var(--purple);
    font-size: 11px;
    font-weight: 800;
}

body:not(.shell-v2-active) .sidebar-item.active .sidebar-icon {
    background: var(--purple);
    color: white;
}

body:not(.shell-v2-active) .sidebar-item strong {
    display: block;
    color: var(--text);
    font-size: 14px;
}

body:not(.shell-v2-active) .sidebar-item small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}

body:not(.shell-v2-active) .sidebar-footer {
    margin-top: 25px;
    padding: 18px 14px 5px;
    border-top: 1px solid var(--border);
}

body:not(.shell-v2-active) .sidebar-footer strong {
    display: block;
    color: var(--purple);
    font-size: 13px;
}

body:not(.shell-v2-active) .sidebar-footer span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

/* ESPACE DE TRAVAIL */

.workspace {
    flex: 1;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
}

.workspace-header {
    margin-bottom: 28px;
    padding: 5px 5px 0;
}

.workspace-label {
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.workspace-header h1 {
    margin: 7px 0 5px;
    color: var(--purple-dark);
    font-size: 30px;
    line-height: 1.2;
}

.workspace-header p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* ADAPTATION DES CARTES */

.workspace .card {
    max-width: none;
}

/* MOBILE */

@media (max-width: 899px) {

    body:not(.shell-v2-active) .app-layout {
        display: block;
        padding: 20px 15px 50px;
    }

    body:not(.shell-v2-active) .sidebar {
        position: static;
        width: 100%;
        margin-bottom: 25px;
    }

    .workspace-header h1 {
        font-size: 25px;
    }
}

/* ========================================
   BOUTONS PROFESSIONNELS
======================================== */

button,
.importButton {
    position: relative;
    gap: 9px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1px;
    box-shadow: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
}

/* ACTIONS PRINCIPALES */

button:not(.secondary),
.importButton {
    background: var(--red);
    border: 1px solid var(--red);
}

button:not(.secondary):hover,
.importButton:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(189, 32, 38, 0.18);
}

/* ACTIONS SECONDAIRES */

button.secondary {
    background: white;
    color: var(--purple);
    border: 1px solid #d8cedb;
    box-shadow: none;
}

button.secondary:hover {
    background: #f8f5f9;
    border-color: var(--purple);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(82, 0, 92, 0.08);
}

/* BOUTON DÉSACTIVÉ */

button:disabled {
    background: #e8e5e9;
    border-color: #e8e5e9;
    color: #999;
    box-shadow: none;
    transform: none;
}

/* PETITE FLÈCHE SUR LES ACTIONS PRINCIPALES */

#transcribeBtn::after,
#generateBtn::after,
#generateBriefBtn::after {
    content: "→";
    margin-left: 7px;
    font-size: 17px;
    line-height: 1;
}

/* BOUTONS COPIER : FORMAT PLUS COMPACT */

button[onclick^="copyField"] {
    min-height: 36px;
    padding: 0 13px;
    font-size: 12px;
}

/* SAUVEGARDER : ACTION IMPORTANTE */

#saveBtn {
    padding-left: 22px;
    padding-right: 22px;
}

/* TEST BOCIR : DISCRET CAR EXPÉRIMENTAL */

#testBocirBtn {
    font-size: 12px;
    opacity: 0.8;
}

/* TYPOGRAPHIE MODERNE */

.workspace-header h1 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.card h2 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.card h3 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
}

textarea,
button,
input,
label {
    font-family: "Inter", sans-serif;
}

body:not(.shell-v2-active) .sidebar-item strong {
    font-weight: 600;
}

.workspace-label,
body:not(.shell-v2-active) .sidebar-title {
    font-weight: 700;
    letter-spacing: 1.4px;
}

/* ========================================
   IMPORT AUDIO
======================================== */

.audio-upload {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 20px;
    margin-bottom: 28px;
    background: #faf8fb;
    border: 1px dashed #c9bdcd;
    border-radius: 12px;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.audio-upload:hover {
    background: #f8f4f9;
    border-color: var(--purple);
}

.audio-upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(82, 0, 92, 0.08);
    border-radius: 10px;
    color: var(--purple);
    font-size: 24px;
    font-weight: 700;
}

.audio-upload-content {
    flex: 1;
}

.audio-upload-content strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.audio-upload-content span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.audio-upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 0;
    padding: 0 18px;
    background: white;
    border: 1px solid #d6ced9;
    border-radius: 8px;
    color: var(--purple);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s ease;
}

.audio-upload-button:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: white;
}

.audio-file-name {
    display: none;
    padding: 7px 10px;
    background: #eef8f0;
    border-radius: 7px;
    color: #287a3e;
    font-size: 12px;
    font-weight: 600;
}

.audio-file-name.visible {
    display: block;
}

/* ========================================
   ICÔNES RÉDAC 2000
======================================== */

body:not(.shell-v2-active) .sidebar-icon svg,
.button-icon,
.audio-upload-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body:not(.shell-v2-active) .sidebar-icon svg {
    width: 18px;
    height: 18px;
}

.button-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.audio-upload-icon svg {
    width: 23px;
    height: 23px;
}

/* ÉTAPES DU WORKFLOW */

.step-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--purple);
    color: white;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(82, 0, 92, 0.18);
}

/* On retire le petit trait rouge sous ces titres */
.step-title::after {
    display: none;
}

/* ========================================
   BARRE DE PROGRESSION DU WORKFLOW
======================================== */

.workflow-progress {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 0 28px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(35, 20, 40, 0.05);
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    color: #918a95;
    font-size: 12px;
    font-weight: 600;
}

.workflow-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1edf2;
    border: 1px solid #ddd5df;
    color: #817986;
    font-size: 12px;
    font-weight: 700;
}

.workflow-step.active {
    color: var(--purple);
}

.workflow-step.active .workflow-step-number {
    background: var(--purple);
    border-color: var(--purple);
    color: #ffffff;
    box-shadow: 0 3px 9px rgba(82, 0, 92, 0.18);
}

.workflow-line {
    flex: 1;
    min-width: 35px;
    height: 1px;
    margin: 0 14px;
    background: #ded8e0;
}

.workflow-step-label {
    white-space: nowrap;
}

@media (max-width: 650px) {
    .workflow-progress {
        padding: 14px;
    }

    .workflow-step {
        gap: 6px;
    }

    .workflow-step-label {
        display: none;
    }

    .workflow-line {
        margin: 0 8px;
    }
}

body:not(.shell-v2-active) .logo-redac {
    cursor: pointer;
}

body {
    background:
        radial-gradient(
            circle at 12% 30%,
            rgba(111, 0, 124, 0.12) 0%,
            rgba(111, 0, 124, 0.04) 25%,
            transparent 45%
        ),
        radial-gradient(
            circle at 90% 65%,
            rgba(204, 32, 38, 0.08) 0%,
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #faf9fb 0%,
            #f0edf3 50%,
            #f8f6f9 100%
        );

    background-attachment: fixed;
    min-height: 100vh;
}

/* ========================================
   CONNEXION LOCALE - DÉMO
======================================== */
.auth-hidden { display: none !important; }

.login-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at 15% 20%, rgba(117,0,131,.35), transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(189,32,38,.18), transparent 32%),
        linear-gradient(135deg, #25002c 0%, #52005c 55%, #35003d 100%);
}

.login-card {
    width: min(440px, 100%);
    padding: 34px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(20,0,25,.35);
}

.login-logo {
    display: block;
    width: 250px;
    height: 85px;
    margin: -12px auto 8px;
    object-fit: contain;
    transform: scale(1.25);
}

.login-eyebrow {
    display: block;
    margin-top: 8px;
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-align: center;
}

.login-card h1 {
    margin: 8px 0 6px;
    color: var(--purple-dark);
    font-size: 27px;
    letter-spacing: -.7px;
    text-align: center;
}

.login-card > p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.login-card input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d8d2db;
    border-radius: 9px;
    background: #fcfbfc;
    color: var(--text);
    font: inherit;
}

.login-card input:focus {
    outline: none;
    background: #fff;
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(82,0,92,.1);
}

.login-card label { margin-top: 15px; }

.login-button {
    width: 100%;
    margin-top: 18px;
}

.login-error {
    min-height: 20px;
    margin: 10px 0 -4px !important;
    color: var(--red) !important;
    font-size: 12px !important;
    font-weight: 600;
    text-align: left !important;
}

.login-demo {
    display: block;
    margin-top: 20px;
    color: #99919d;
    font-size: 10px;
    text-align: center;
}

body:not(.shell-v2-active) .sidebar-user {
    display: flex;
    gap: 10px;
}

body:not(.shell-v2-active) .user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--purple);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.user-info { min-width: 0; flex: 1; }
.user-info strong { display: block; font-size: 12px; color: var(--text); }
.user-info small { display: block; font-size: 10px; color: var(--muted); }

button.logout-button {
    min-height: 30px;
    margin: 0;
    padding: 0 8px;
    background: transparent;
    border: 1px solid #ded6e0;
    color: var(--purple);
    font-size: 9px;
    box-shadow: none;
}

button.logout-button:hover {
    background: #f8f5f9;
    border-color: var(--purple);
    box-shadow: none;
    transform: none;
}

/* ========================================
   RÉÉCRITURE ASSISTÉE
======================================== */

.rewrite-section {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.rewrite-header h3 {
    margin: 0 0 5px;
    color: var(--purple-dark);
    font-size: 15px;
    font-weight: 700;
}

.rewrite-header p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.rewrite-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

button.rewrite-btn {
    min-height: 36px;
    margin: 0;
    padding: 0 14px;
    font-size: 11px;
}

.rewrite-preview {
    margin-top: 20px;
    padding: 20px;
    background: #faf8fb;
    border: 1px solid #ded6e0;
    border-left: 4px solid var(--purple);
    border-radius: 10px;
}

.rewrite-preview-header {
    margin-bottom: 14px;
}

.rewrite-preview-header strong {
    display: block;
    color: var(--purple-dark);
    font-size: 14px;
}

.rewrite-preview-header span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

#rewritePreviewText {
    margin-top: 0;
}

/* ========================================
   AVERTISSEMENTS IA
======================================== */

.ai-notice {
    margin: 10px 0 0;
    font-size: 11px;
    line-height: 1.5;
    color: var(--muted);
    font-style: italic;
}

.ai-disclaimer {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 10px;
    line-height: 1.5;
    opacity: 0.7;
}

/* ========================================
   BRÈVE RADIO
======================================== */

.radio-duration-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.radio-duration-btn {
    min-width: 140px;
}

.radio-brief-duration {
    display: inline-block;
    margin: 12px 0 16px;
    padding: 7px 12px;

    background: #f5f1f6;
    border: 1px solid var(--border);
    border-radius: 6px;

    color: var(--purple-dark);

    font-size: 11px;
    font-weight: 700;
}

/* ========================================
   PROPOSITIONS DE TITRES
======================================== */

.title-suggestions-section {
    margin-top: 10px;
}

.title-suggestions {
    margin-top: 15px;
    padding: 18px;

    background: #faf8fb;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.title-suggestions-header {
    margin-bottom: 14px;
}

.title-suggestions-header strong {
    display: block;

    color: var(--purple-dark);

    font-size: 14px;
}

.title-suggestions-header span {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 11px;
}

.title-suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 12px 0;

    border-bottom: 1px solid var(--border);
}

.title-suggestion-item:last-child {
    border-bottom: none;
}

.title-suggestion-item span {
    flex: 1;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.title-suggestion-item button {
    width: auto;
    min-width: 75px;
    margin: 0;
}

/* ========================================
   PROPOSITIONS DE CHAPÔS
======================================== */

.chapo-suggestions-section {
    margin-top: 10px;
}

.chapo-suggestions {
    margin-top: 15px;
    padding: 18px;

    background: #faf8fb;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.chapo-suggestions-header {
    margin-bottom: 14px;
}

.chapo-suggestions-header strong {
    display: block;
    color: var(--purple-dark);
    font-size: 14px;
}

.chapo-suggestions-header span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.chapo-suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
    padding: 14px 0;

    border-bottom: 1px solid var(--border);
}

.chapo-suggestion-item:last-child {
    border-bottom: none;
}

.chapo-suggestion-item span {
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
}

.chapo-suggestion-item button {
    width: auto;
    min-width: 75px;
    margin: 0;
}

/* ========================================
   NAVIGATION PAR FLUX ÉDITORIAL
======================================== */

.workflow-nav-group {
    margin-bottom: 22px;
}

.workflow-nav-title {
    margin: 0 14px 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    color: var(--purple);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.workflow-nav-library {
    margin-top: 6px;
    margin-bottom: 0;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}


/* ========================================
   AVERTISSEMENTS IA RENFORCÉS
======================================== */

.ai-warning-box {
    margin: 22px 0 4px;
    padding: 16px 18px;
    background: #fff8e8;
    border: 1px solid #e8c56a;
    border-left: 4px solid #c88a00;
    border-radius: 9px;
}

.ai-warning-box strong {
    display: block;
    margin-bottom: 5px;
    color: #6d4b00;
    font-size: 13px;
    font-weight: 800;
}

.ai-warning-box p {
    margin: 0;
    color: #5f5238;
    font-size: 12px;
    line-height: 1.6;
}

.ai-publication-reminder {
    margin: 22px 0 0;
    padding: 11px 14px;
    background: #faf8fb;
    border-left: 3px solid var(--purple);
    border-radius: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}

.ai-warning-radio {
    margin-top: 20px;
}


/* ========================================
   BIBLIOTHÈQUE DE CONTENUS
======================================== */

.workflow-nav-library {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 2px solid var(--border);
}

.workflow-nav-library .workflow-nav-title {
    color: var(--muted);
}

.library-icon {
    font-size: 18px;
    line-height: 1;
}

.content-type-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 2px 0 7px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1ebf3;
    color: var(--purple);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .3px;
}

/* OUTILS RÉDAC 2000 */
.speaker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}.speaker-grid label{margin-top:0}input[type="text"],select{width:100%;min-height:46px;padding:0 14px;border:1px solid #d8d2db;border-radius:9px;background:#fcfbfc;color:var(--text);font-family:inherit;font-size:14px}input[type="text"]:focus,select:focus{outline:none;background:white;border-color:var(--purple);box-shadow:0 0 0 4px rgba(82,0,92,.1)}.tool-info{margin:16px 0;padding:12px 14px;border-radius:8px;background:#f5f0f6;color:var(--purple-dark);font-size:13px;font-weight:700}@media(max-width:899px){.speaker-grid{grid-template-columns:1fr}}

/* PHOTOTHÈQUE RÉDAC 2000 */
.photo-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.photo-help{font-size:12px;color:#6f6872}.photo-library-toolbar{display:flex;gap:20px;align-items:end;justify-content:space-between}.photo-library-toolbar>div{flex:1}.photo-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;margin-top:18px}.photo-library-card{overflow:hidden;border:1px solid #e3dde5;border-radius:12px;background:#fff}.photo-library-card img{display:block;width:100%;height:150px;object-fit:cover;background:#eee}.photo-library-card-body{display:flex;flex-direction:column;gap:5px;padding:11px}.photo-library-card-body span,.photo-library-card-body small{font-size:12px;color:#6f6872}.photo-delete-btn{margin-top:7px;background:transparent;color:#8b1e2d;border:1px solid #d9b8bd}.photo-suggestion-panel{margin-top:14px;padding-top:14px;border-top:1px solid #eee}.photo-suggestions{margin-top:12px}.photo-query-info{font-size:12px;color:#6f6872}.photo-suggestion-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}@media(max-width:899px){.photo-form-grid{grid-template-columns:1fr}.photo-library-toolbar{display:block}.photo-library-toolbar button{margin-top:12px}}

/* Contraste bouton suppression photothèque */
.photo-delete-btn {
    background: #a61f32;
    color: #ffffff;
    border-color: #a61f32;
}
.photo-delete-btn:hover {
    background: #7f1726;
    color: #ffffff;
    border-color: #7f1726;
}

/* PLANNING ET ADMINISTRATION */
.planning-toolbar{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:18px}.planning-toolbar>div{min-width:210px;flex:1}.planning-scroll{overflow:auto;margin-top:14px}.planning-table{width:100%;border-collapse:collapse;min-width:900px}.planning-table th,.planning-table td{border:1px solid #ddd;padding:9px;vertical-align:top;font-size:13px}.planning-table th{background:#202838;color:#fff}.planning-role{font-weight:700;min-width:190px}.admin-planning-table input{width:100%;min-width:120px;box-sizing:border-box}.admin-head{display:flex;justify-content:space-between;gap:16px;align-items:start}

/* AGENDA REGIONAL */
.reminder-card{display:flex;justify-content:space-between;gap:18px;border:1px solid #ddd;border-radius:10px;padding:15px;margin:12px 0}.reminder-card>div:first-child{flex:1}.reminder-region{display:inline-block;padding:3px 8px;border-radius:12px;background:#e9edf4;margin-right:8px;font-size:12px;font-weight:700}.reminder-source{white-space:pre-wrap;padding:12px;background:#f6f7f9;margin-top:8px}.reminder-actions{display:flex;gap:8px;align-items:start;flex-wrap:wrap}.reminder-done{opacity:.6}.planning-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}

/* TABLEAU BLANC */
.wb-toolbar,.wb-filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.wb-toolbar select{min-width:280px}.wb-region{border:1px solid #ddd;border-top:5px solid var(--wb-region);border-radius:12px;margin:20px 0}.wb-region-head{padding:12px 16px;background:color-mix(in srgb,var(--wb-region) 12%,white)}.wb-region-head h2{margin:0;color:var(--wb-region)}.wb-dept{padding:12px 16px}.wb-dept>h3{border-left:4px solid var(--wb-region);padding-left:9px}.wb-table-wrap{overflow-x:auto}.wb-table{width:100%;border-collapse:collapse;min-width:1050px}.wb-table th,.wb-table td{border:1px solid #ddd;padding:7px;vertical-align:top}.wb-table thead th{background:#f3f4f6}.wb-table tbody th{width:120px;text-align:left}.wb-table tbody th small{display:block;font-weight:400;color:#666}.wb-story{position:relative;min-width:150px}.wb-story input,.wb-story select{width:100%;box-sizing:border-box;margin:2px 0}.wb-title{min-height:38px}.wb-clear{position:absolute;right:2px;top:2px;border:0;background:transparent;color:#777;padding:2px 5px}.wb-extra-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.wb-extra-card{border:1px solid #ddd;border-radius:10px;padding:12px}.wb-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px}.wb-admin-box{border:1px solid #ddd;border-radius:9px;padding:10px;margin-bottom:10px}.wb-admin-row{display:flex;gap:7px;align-items:center;margin:6px 0}.wb-admin-row input[type=text],.wb-admin-row input:not([type]){min-width:0;flex:1}

/* EN UN COUP D'OEIL */
.wb-view-switch{display:flex;gap:8px;margin:0 0 14px}.wb-overview-head h2{margin-bottom:4px}.wb-overview-head p{margin-top:0;color:#666}.wb-overview-days{display:grid;grid-template-columns:repeat(5,minmax(190px,1fr));gap:12px;align-items:start}.wb-overview-day{background:#f6f7f9;border:1px solid #e1e3e7;border-radius:12px;padding:10px}.wb-overview-day h3{display:flex;justify-content:space-between;margin:2px 2px 10px}.wb-overview-day h3 span{font-size:12px;background:#fff;border-radius:20px;padding:2px 7px}.wb-overview-list{display:flex;flex-direction:column;gap:8px}.wb-overview-story{display:block;width:100%;text-align:left;background:#fff;border:1px solid #ddd;border-left:5px solid var(--wb-region);border-radius:8px;padding:9px;cursor:pointer}.wb-overview-story:hover{transform:translateY(-1px);box-shadow:0 3px 10px rgba(0,0,0,.08)}.wb-overview-story strong{display:block;margin:4px 0}.wb-overview-meta{display:block;font-size:11px;color:#666}.wb-empty-day{font-size:13px;color:#888}.wb-overview-extras{margin-top:18px}.wb-overview-extra{border:1px solid #ddd;border-radius:9px;padding:10px;background:#fff}.wb-overview-extra span{display:block;margin-top:5px}.wb-highlight{outline:3px solid rgba(60,110,180,.35);outline-offset:-3px;transition:outline .2s}@media(max-width:1200px){.wb-overview-days{grid-template-columns:repeat(2,minmax(220px,1fr))}}@media(max-width:700px){.wb-overview-days{grid-template-columns:1fr}}

/* TABLEAU BLANC V4 */
.wb-date-admin{display:flex;gap:16px;flex-wrap:wrap;padding:12px;margin:12px 0 18px;background:#f6f7f9;border-radius:10px}.wb-date-admin>div{display:flex;flex-direction:column;gap:5px}.wb-clear{position:static!important;display:block;margin:6px 0 0 auto!important;width:auto!important;font-size:11px!important;line-height:1!important;padding:5px 8px!important;border:1px solid #ddd!important;border-radius:6px!important;background:#fafafa!important;color:#666!important;opacity:.72}.wb-clear:hover{opacity:1;background:#f1f1f1!important}.wb-overview-story{padding:11px!important;color:#202124!important}.wb-overview-story strong{font-size:14px;line-height:1.35;color:#111}.wb-overview-meta{display:flex!important;align-items:center;gap:6px;font-size:11px!important;font-weight:600;color:#4b5563!important}.wb-overview-meta i{width:8px;height:8px;border-radius:50%;display:inline-block}.wb-dept-badge{display:inline-block;margin:5px 0 2px;padding:3px 7px;border-radius:999px;background:#eef0f3;color:#333;font-size:11px;font-weight:700}.wb-podcast-group{border:1px solid #ddd;border-radius:10px;padding:10px;background:#f7f8fa}.wb-podcast-group h4{margin:0 0 8px}.wb-podcast-group .wb-overview-extra{margin-top:7px}

/* V5 LISIBILITE ET RECHERCHE */
.wb-search-box{border:1px solid #dde1e6;border-radius:12px;padding:14px;margin-bottom:16px;background:#fafbfc}.wb-search-box>div:first-child{display:flex;flex-direction:column}.wb-search-box small{color:#68707b;margin-top:3px}.wb-search-controls{display:flex;gap:8px;margin-top:10px}.wb-search-controls input{flex:1;min-width:220px}.wb-search-result-list{margin-top:12px;display:grid;gap:7px}.wb-search-result{background:#fff;border:1px solid #e0e3e7;border-radius:8px;padding:9px}.wb-search-result strong,.wb-search-result span{display:block}.wb-search-result span{font-size:12px;color:#626b76;margin-top:3px}.wb-regional-extras{border-left:5px solid var(--wb-region);background:#fafafa;border-radius:10px;padding:12px;margin:12px 0}.wb-regional-extras>h3{margin-top:0;color:#222}.wb-podcast-sub{border-top:1px solid #e4e4e4;padding-top:8px;margin-top:8px}.wb-podcast-sub>span{font-size:12px;font-weight:700;color:#555}.wb-overview-story{background:#fff!important;border-left:5px solid var(--wb-region)!important}.wb-overview-region{display:flex;align-items:center;gap:6px;color:#2f3742!important;font-size:11px;font-weight:700}.wb-overview-region i{width:9px;height:9px;border-radius:50%}.wb-overview-slot{color:#4e5968;font-size:12px}.wb-dept-tone-0 .wb-dept-badge{background:#edf3f8}.wb-dept-tone-1 .wb-dept-badge{background:#f5efe8}.wb-dept-tone-2 .wb-dept-badge{background:#eef5ec}.wb-dept-tone-3 .wb-dept-badge{background:#f3edf6}.wb-overview-region-extra{border-left:5px solid var(--wb-region);padding:10px 12px;margin:10px 0;background:#fafafa;border-radius:9px}.wb-overview-region-extra>h4{margin:0 0 8px;color:#222}

/* V6 — Refonte visuelle du Tableau blanc */
#whiteboardWorkspace{background:#f4f6f9;border-radius:18px;padding:18px}
#whiteboardWorkspace>.card{background:#fbfcfd;border:1px solid #e2e6eb;box-shadow:0 8px 28px rgba(25,35,50,.06)}
.wb-region{background:#f8f9fb;border:1px solid #dfe3e8!important;border-top:0!important;border-radius:16px!important;box-shadow:0 5px 18px rgba(30,40,55,.06);overflow:hidden}
.wb-region-head{background:linear-gradient(90deg,color-mix(in srgb,var(--wb-region) 16%,white),#fff)!important;border-left:7px solid var(--wb-region);padding:15px 18px!important}
.wb-region-head h2{font-size:20px!important;color:#252a32!important}
.wb-dept{margin:14px;padding:0!important;background:#fff;border:1px solid #e0e4e9;border-radius:13px;overflow:hidden;box-shadow:0 2px 8px rgba(30,40,55,.04)}
.wb-dept>h3{margin:0!important;padding:13px 16px!important;border-left:5px solid var(--wb-region)!important;background:color-mix(in srgb,var(--wb-region) 7%,#f8f9fb);color:#252a32!important;font-size:17px}
.wb-table-wrap{padding:0 10px 10px}
.wb-table{border-collapse:separate!important;border-spacing:0 8px!important}
.wb-table thead th{background:#eef1f5!important;border:0!important;border-bottom:1px solid #d8dde4!important;color:#343a45;padding:11px!important}
.wb-table thead th:first-child{border-radius:9px 0 0 9px}.wb-table thead th:last-child{border-radius:0 9px 9px 0}
.wb-table tbody tr{background:#f7f8fa}
.wb-table tbody th{border:0!important;border-left:4px solid var(--wb-region)!important;background:transparent!important;padding:12px 10px!important;color:#2e333c}
.wb-table tbody th span{font-size:15px}.wb-table tbody th small{margin-top:4px;color:#7a828d!important}
.wb-table td{border:0!important;border-left:1px solid #e2e5e9!important;padding:9px!important;background:transparent!important}
.wb-story{background:#fff;border:1px solid #e0e4e9;border-radius:10px;padding:7px;box-shadow:0 1px 3px rgba(30,40,55,.03);transition:.15s ease}
.wb-story:focus-within{border-color:var(--wb-region,#7b61a8);box-shadow:0 0 0 3px color-mix(in srgb,var(--wb-region,#7b61a8) 12%,transparent)}
.wb-story input,.wb-story select{border:1px solid #d9dde3!important;border-radius:7px!important;background:#fafbfc!important;padding:8px!important}
.wb-story input:focus,.wb-story select:focus{background:#fff!important}
.wb-clear{visibility:hidden;opacity:0!important;margin-top:4px!important;background:transparent!important;border:0!important;color:#8a919b!important;padding:3px 5px!important}
.wb-story:hover .wb-clear,.wb-story:focus-within .wb-clear{visibility:visible;opacity:.8!important}
.wb-clear:hover{color:#b4232d!important;background:#fff1f2!important}
.wb-regional-extras{background:#fff!important;border:1px solid #e0e4e9!important;border-left:5px solid var(--wb-region)!important;box-shadow:0 2px 8px rgba(30,40,55,.04)}
.wb-podcast-group,.wb-extra-card{background:#f8f9fb!important}
@media(max-width:700px){#whiteboardWorkspace{padding:8px}.wb-dept{margin:8px}}

.wb-dept{margin:26px 14px!important}.wb-dept>h3{font-size:21px!important;font-weight:800!important;padding:17px 18px!important;background:color-mix(in srgb,var(--wb-region) 14%,#f5f7fa)!important;border-left:7px solid var(--wb-region)!important;color:#20242b!important;text-transform:uppercase;letter-spacing:.025em}.wb-story-actions{display:flex;justify-content:flex-end;gap:5px;margin-top:5px}.wb-copy{visibility:hidden;opacity:0;font-size:10px;padding:5px 7px;border-radius:6px;border:1px solid #dfe3e8;background:#f3f5f8;color:#596270}.wb-story:hover .wb-copy,.wb-story:focus-within .wb-copy{visibility:visible;opacity:1}.wb-copy:hover{background:#e8edf4}

/* V8 — Copie au niveau du département */
.wb-dept-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px 0 0;background:color-mix(in srgb,var(--wb-region) 14%,#f5f7fa);border-left:7px solid var(--wb-region)}
.wb-dept-title h3{flex:1;margin:0!important;padding:17px 11px!important;border-left:0!important;background:transparent!important;font-size:21px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.025em}
.wb-copy-dept{font-size:12px!important;padding:7px 10px!important;border-radius:7px!important;background:#fff!important;color:#414955!important;border:1px solid #d6dbe2!important;white-space:nowrap}
.wb-copy-dept:hover{background:#f4f6f8!important}
.wb-copy{display:none!important}

/* V9 — Fenêtre intégrée de copie départementale */
#wbDeptCopyOverlay{position:fixed;inset:0;background:rgba(20,25,35,.42);z-index:10000;align-items:center;justify-content:center;padding:20px}
#wbDeptCopyOverlay .wb-copy-dialog{width:min(500px,100%);background:#fff;border-radius:16px;padding:22px;box-shadow:0 24px 70px rgba(0,0,0,.25)}
#wbDeptCopyOverlay .wb-copy-dialog h3{margin:0 0 8px;font-size:20px}
#wbDeptCopyOverlay .wb-copy-target-list{display:grid;gap:9px;margin:13px 0;padding:12px;background:#f5f7f9;border-radius:10px}
#wbDeptCopyOverlay .wb-copy-target-list label,#wbDeptCopyOverlay .wb-copy-all{display:flex;align-items:center;gap:8px}
#wbDeptCopyOverlay .wb-copy-note{font-size:12px;line-height:1.45;color:#626b76;background:#f8fafc;border-left:3px solid #8a94a3;padding:8px 10px;border-radius:5px}
#wbDeptCopyOverlay .wb-copy-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}

/* V11 — Ergonomie journaliste */
.wb-save-status{display:flex;justify-content:flex-end;align-items:center;min-height:22px;margin:-4px 0 8px;font-size:11px;color:#7b8490}.wb-save-status.is-saved{color:#32704a;font-weight:700}
.wb-search-box{display:block!important;padding:0!important;overflow:hidden}.wb-search-box summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:12px 14px;list-style:none}.wb-search-box summary::-webkit-details-marker{display:none}.wb-search-box>small,.wb-search-box>.wb-search-controls,.wb-search-box>#wbSearchResults{margin-left:14px;margin-right:14px}.wb-search-box>#wbSearchResults{margin-bottom:14px}
.wb-story{min-height:66px;display:flex;flex-direction:column}.wb-story.has-content{border-color:color-mix(in srgb,var(--wb-region,#687386) 30%,#dfe3e8);background:color-mix(in srgb,var(--wb-region,#687386) 3%,white);box-shadow:0 2px 7px rgba(30,40,55,.06)}
.wb-story:not(.has-content){opacity:.82}.wb-story:not(.has-content):hover,.wb-story:not(.has-content):focus-within{opacity:1}
.wb-title{font-weight:600}.wb-story select{margin-top:6px!important;font-weight:700;color:#394150}
.wb-today{background:#fff8dc!important}.wb-table thead .wb-today{box-shadow:inset 0 -3px 0 #d2a92d}
.wb-extras-v11{margin-top:24px}.wb-extras-v11>h2{margin-bottom:12px}.wb-extras-v11{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.wb-extras-v11>h2{grid-column:1/-1}.wb-extras-v11 .wb-regional-extras{min-width:0}.wb-extras-v11 .wb-regional-extras>h3{font-size:17px;padding-bottom:9px;border-bottom:2px solid var(--wb-region)}.wb-extras-v11 .wb-extra-grid{display:flex!important;flex-direction:column;gap:10px}.wb-extras-v11 .wb-podcast-group,.wb-extras-v11 .wb-extra-card{padding:10px!important;border:1px solid #e2e5e9!important;border-radius:9px!important}.wb-extras-v11 .wb-podcast-group h4,.wb-extras-v11 .wb-extra-card h4{margin:0 0 8px;font-size:14px}.wb-extras-v11 .wb-podcast-sub{display:grid;grid-template-columns:52px 1fr;gap:7px;align-items:start;margin-top:6px!important;padding-top:6px!important}.wb-extras-v11 .wb-podcast-sub>span{padding-top:9px;font-size:11px;color:#6d7580}.wb-extras-v11 .wb-story{min-height:0}.wb-extras-v11 .wb-story select{margin-top:8px!important}
.wb-overview-story b,.wb-overview-extra b{display:inline-block;margin-left:8px;padding:3px 7px;border-radius:999px;background:#eef1f5;color:#2d3540;font-size:11px;letter-spacing:.03em}
@media(max-width:1150px){.wb-extras-v11{grid-template-columns:1fr}}@media(max-width:700px){.wb-toolbar{align-items:stretch}.wb-toolbar button,.wb-toolbar select{width:100%}}

/* V12 — Autres rendez-vous alignés et titres longs lisibles */
.wb-extras-v11 .wb-extra-grid{align-items:stretch!important}
.wb-extras-v11 .wb-podcast-group,.wb-extras-v11 .wb-extra-card{height:100%;box-sizing:border-box;display:flex;flex-direction:column}
.wb-extras-v11 .wb-podcast-group{justify-content:flex-start}.wb-extras-v11 .wb-extra-card .wb-story{flex:1}
textarea.wb-title{display:block;width:100%;box-sizing:border-box;resize:none;overflow-y:auto;min-height:38px;max-height:120px;line-height:1.35;font:inherit;font-weight:600;color:#242a32;white-space:pre-wrap;word-break:break-word}
textarea.wb-title:focus{outline:none}
.wb-story.has-content textarea.wb-title{background:#fff!important}
@media(max-width:1250px){}
@media(max-width:750px){}

/* V13 — Zooms séparés et titres longs */
textarea.wb-title{width:100%!important;min-height:42px!important;max-height:140px!important;box-sizing:border-box!important;resize:none!important;overflow-y:auto!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word!important;line-height:1.4!important;padding:8px!important;font:inherit!important;font-weight:600!important}
.wb-table tbody tr:nth-child(1),.wb-table tbody tr:nth-child(2){background:color-mix(in srgb,var(--wb-region) 5%,#f7f8fa)}
.wb-table tbody tr:nth-child(3),.wb-table tbody tr:nth-child(4){background:color-mix(in srgb,var(--wb-region) 2%,#f7f8fa)}
.wb-table tbody tr:nth-child(5){background:#f4f5f7}

/* V14 — Correction des hauteurs */

/* Tableau principal : aucune hauteur artificielle */
.wb-table tbody tr,
.wb-table tbody td,
.wb-table tbody th{height:auto!important;min-height:0!important;vertical-align:top!important}
.wb-table td{padding:7px!important}
.wb-table .wb-story{padding:7px!important}
.wb-table textarea.wb-title{height:auto;min-height:38px!important;max-height:140px!important;overflow-y:auto!important}
.wb-table .wb-story select{min-height:38px!important;margin-top:6px!important}
.wb-table .wb-story-actions{min-height:0!important}
.wb-table .wb-clear{margin-top:3px!important}

/* Autres rendez-vous : colonnes alignées en haut mais hauteur dictée par le contenu */
.wb-extras-v11 .wb-extra-grid{
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.wb-extras-v11 .wb-podcast-group,
.wb-extras-v11 .wb-extra-card{
 align-self:start!important;
}
.wb-extras-v11 .wb-podcast-sub{
 padding:8px 0!important;
 border-top:1px solid #e1e4e8!important;
}
.wb-extras-v11 .wb-podcast-sub:first-of-type{border-top:0!important;padding-top:2px!important}
.wb-extras-v11 .wb-podcast-sub>span{
 padding:0 0 5px!important;
 font-size:11px!important;
}
.wb-extras-v11 .wb-podcast-sub .wb-story,
.wb-extras-v11 .wb-extra-card .wb-story{
 height:auto!important;
 min-height:0!important;
 padding:7px!important;
}
.wb-extras-v11 .wb-podcast-sub textarea.wb-title,
.wb-extras-v11 .wb-extra-card textarea.wb-title{min-height:38px!important}
.wb-extras-v11 .wb-podcast-sub .wb-story select,
.wb-extras-v11 .wb-extra-card .wb-story select{min-height:38px!important;margin-top:6px!important}
.wb-extras-v11 .wb-extra-card h4,
.wb-extras-v11 .wb-podcast-group h4{
 min-height:22px;
 display:flex;
 align-items:center;
 margin-bottom:8px!important;
}
.wb-extras-v11 .wb-signature-only{padding-top:7px!important}
.wb-extras-v11 .wb-signature-only label{display:block;margin-bottom:7px!important}

@media(max-width:1250px){.wb-extras-v11 .wb-extra-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:750px){.wb-extras-v11 .wb-extra-grid{grid-template-columns:1fr!important}}

/* V15 — Mise en page inspirée de la maquette validée */

/* Tableau : cartes compactes, titres toujours lisibles */
.wb-table{border-collapse:collapse!important;border-spacing:0!important}
.wb-table thead th{padding:13px 12px!important}
.wb-table tbody th{width:108px!important;min-width:108px!important;padding:14px 12px!important}
.wb-table td{vertical-align:top!important;padding:8px!important;height:auto!important}
.wb-table .wb-story{
 display:block!important;height:auto!important;min-height:0!important;
 padding:0!important;border:1px solid #dfe4ea!important;border-radius:8px!important;
 overflow:hidden!important;background:#fff!important;box-shadow:none!important
}
.wb-table textarea.wb-title{
 display:block!important;width:100%!important;height:auto!important;min-height:0!important;
 max-height:none!important;overflow:hidden!important;resize:none!important;
 white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal!important;
 line-height:1.35!important;padding:10px 11px!important;margin:0!important;
 border:0!important;border-bottom:1px solid #e4e8ed!important;border-radius:0!important;
 background:#fff!important;font-weight:700!important;box-sizing:border-box!important
}
.wb-table .wb-story select{
 display:block!important;width:100%!important;min-height:36px!important;margin:0!important;
 padding:7px 10px!important;border:0!important;border-radius:0!important;background:#fbfcfd!important
}
.wb-table .wb-story-actions{position:absolute!important}
.wb-table .wb-clear{display:none!important}

/* Autres rendez-vous : 3 régions, chacune en grille 2 x 2 */
.wb-extras-v11{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:20px!important;align-items:start!important
}
.wb-extras-v11>h2{grid-column:1/-1!important;margin:0 0 -6px!important}
.wb-extras-v11 .wb-regional-extras{
 min-width:0!important;margin:0!important;padding:14px!important;
 background:#fff!important;border-radius:12px!important
}
.wb-extras-v11 .wb-regional-extras>h3{
 margin:0 0 12px!important;padding:0 0 10px!important
}
.wb-extras-v11 .wb-extra-grid{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:10px!important;align-items:start!important
}
.wb-extras-v11 .wb-podcast-group,
.wb-extras-v11 .wb-extra-card{
 display:block!important;height:auto!important;min-height:0!important;
 padding:10px!important;margin:0!important;background:#f8f9fb!important;
 border:1px solid #e2e6eb!important;border-radius:9px!important
}
.wb-extras-v11 .wb-podcast-group h4,
.wb-extras-v11 .wb-extra-card h4{
 min-height:0!important;margin:0 0 8px!important;font-size:13px!important
}
.wb-extras-v11 .wb-podcast-sub{display:block!important;padding:6px 0!important;margin:0!important}
.wb-extras-v11 .wb-podcast-sub>span{display:block!important;padding:0 0 4px!important;font-size:10px!important}
.wb-extras-v11 .wb-story{
 display:block!important;height:auto!important;min-height:0!important;padding:0!important;
 overflow:hidden!important;border:1px solid #dfe4ea!important;border-radius:7px!important;background:#fff!important
}
.wb-extras-v11 textarea.wb-title{
 display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
 overflow:hidden!important;resize:none!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;
 padding:8px!important;margin:0!important;border:0!important;border-bottom:1px solid #e4e8ed!important;
 border-radius:0!important;box-sizing:border-box!important;font-weight:600!important;line-height:1.3!important
}
.wb-extras-v11 .wb-story select{
 width:100%!important;min-height:34px!important;margin:0!important;border:0!important;border-radius:0!important
}
.wb-extras-v11 .wb-signature-only{padding:8px!important}
.wb-extras-v11 .wb-signature-only label{font-size:11px!important;margin-bottom:6px!important}

@media(max-width:1200px){
 .wb-extras-v11{grid-template-columns:1fr!important}
 .wb-extras-v11 .wb-regional-extras{width:auto!important}
}
@media(max-width:650px){
 .wb-extras-v11 .wb-extra-grid{grid-template-columns:1fr!important}
}

/* V16 — Correctif structurel final */

/* Tous les titres : lecture intégrale immédiate */
#whiteboardView textarea.wb-title{min-width:0!important;max-width:100%!important;
 height:auto!important;min-height:40px!important;max-height:none!important;
 display:block!important;overflow-wrap:anywhere!important;text-overflow:clip!important
}

/* Cartes principales */
#whiteboardView .wb-table .wb-story{max-width:100%!important;box-sizing:border-box!important}
#whiteboardView .wb-table td{min-width:180px!important}
#whiteboardView .wb-table .wb-status{
 display:block!important;width:100%!important;min-width:0!important;height:28px!important;
 margin:5px 0 0!important;padding:3px 8px!important;border:0!important;border-top:1px solid #e6e9ed!important;
 border-radius:0!important;background:#f5f7f9!important;font-size:11px!important;font-weight:700!important
}
#whiteboardView .wb-story[data-status="idee"] .wb-status{background:#f3f1f8!important}
#whiteboardView .wb-story[data-status="tourne"] .wb-status{background:#eef5f0!important}
#whiteboardView .wb-story[data-status="zetta"] .wb-status{background:#eef3f8!important}

/* Autres rendez-vous : aucune largeur héritée du tableau */
#whiteboardView .wb-extras-v11{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#whiteboardView .wb-extras-v11 .wb-regional-extras,
#whiteboardView .wb-extras-v11 .wb-extra-grid,
#whiteboardView .wb-extras-v11 .wb-podcast-group,
#whiteboardView .wb-extras-v11 .wb-extra-card,
#whiteboardView .wb-extras-v11 .wb-podcast-sub,
#whiteboardView .wb-extras-v11 .wb-story{
 min-width:0!important;max-width:100%!important;width:auto!important;box-sizing:border-box!important
}
#whiteboardView .wb-extras-v11 .wb-extra-grid{
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important
}
#whiteboardView .wb-extras-v11 input,
#whiteboardView .wb-extras-v11 textarea,
#whiteboardView .wb-extras-v11 select{
 min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important
}
#whiteboardView .wb-extras-v11 .wb-status{display:none!important}
#whiteboardView .wb-extras-v11 .wb-story-actions{display:none!important}

@media(max-width:1250px){
 #whiteboardView .wb-extras-v11{grid-template-columns:1fr!important}
}
@media(max-width:600px){
 #whiteboardView .wb-extras-v11 .wb-extra-grid{grid-template-columns:1fr!important}
}

/* V17 — TITRES MULTILIGNES : règle prioritaire */
#whiteboardView textarea.wb-title-multiline,
#whiteboardView textarea[data-wb-field="title"]{
 display:block!important;
 width:100%!important;
 min-width:0!important;
 max-width:100%!important;
 min-height:42px!important;
 max-height:none!important;
 box-sizing:border-box!important;
 padding:9px 10px!important;
 margin:0!important;
 resize:none!important;
 overflow-x:hidden!important;
 overflow-y:hidden!important;
 white-space:pre-wrap!important;
 word-wrap:break-word!important;
 overflow-wrap:break-word!important;
 word-break:normal!important;
 line-height:1.4!important;
 font:inherit!important;
 font-weight:600!important;
 text-overflow:clip!important;
}
#whiteboardView .wb-table td{min-width:0!important;width:auto!important}
#whiteboardView .wb-table .wb-story{min-width:0!important;width:100%!important;overflow:hidden!important}
#whiteboardView .wb-extras-v11 textarea[data-wb-field="title"]{min-width:0!important;width:100%!important}

/* V18 — Badges de statut dans En un coup d'œil */
.wb-overview-status{
 display:inline-flex!important;align-items:center!important;
 margin-left:8px!important;padding:3px 7px!important;
 border-radius:999px!important;font-size:10px!important;
 line-height:1.2!important;font-weight:800!important;
 letter-spacing:.02em!important;white-space:nowrap!important;
 vertical-align:middle!important
}
.wb-overview-status.wb-status-idee{background:#f1edf7!important;color:#654d82!important}
.wb-overview-status.wb-status-tourne{background:#eaf4ed!important;color:#356448!important}
.wb-overview-status.wb-status-zetta{background:#e9f0f7!important;color:#315b7b!important}

/* V19 — Cartes adaptatives : titre complet > initiales > statut */
#whiteboardView .wb-table tbody tr{height:auto!important}
#whiteboardView .wb-table tbody td{height:auto!important}
#whiteboardView .wb-table .wb-story{
 position:relative!important;
 display:flex!important;
 flex-direction:column!important;
 height:auto!important;
 min-height:0!important;
 max-height:none!important;
 overflow:visible!important;
}
#whiteboardView .wb-table textarea[data-wb-field="title"]{
 position:relative!important;
 flex:none!important;
 height:auto;
 min-height:42px!important;
 max-height:none!important;
 overflow:hidden!important;
 white-space:pre-wrap!important;
 overflow-wrap:anywhere!important;
 word-break:normal!important;
}
#whiteboardView .wb-table select[data-wb-field="journalist"],
#whiteboardView .wb-table .wb-status{
 position:relative!important;
 flex:none!important;
 display:block!important;
 width:100%!important;
}
#whiteboardView .wb-table select[data-wb-field="journalist"]{order:2!important}
#whiteboardView .wb-table .wb-status{order:3!important}
#whiteboardView .wb-table .wb-story-actions{order:4!important;position:relative!important}

/* En-tête des jours plus lisible et sticky */
#whiteboardView .wb-table thead{
 position:sticky!important;
 top:0!important;
 z-index:20!important;
}
#whiteboardView .wb-table thead th{
 position:sticky!important;
 top:0!important;
 z-index:21!important;
 background:#e8edf3!important;
 color:#252c36!important;
 font-size:15px!important;
 font-weight:800!important;
 letter-spacing:.01em!important;
 text-align:center!important;
 padding:14px 12px!important;
 border-right:2px solid #d1d8e0!important;
 border-bottom:2px solid #c7d0da!important;
 box-shadow:0 2px 5px rgba(25,35,50,.07)!important;
}
#whiteboardView .wb-table thead th:first-child{
 text-align:left!important;
 z-index:22!important;
}
#whiteboardView .wb-table thead th:last-child{border-right:0!important}
#whiteboardView .wb-table thead th.wb-today{
 background:#fff1bd!important;
 color:#5a4500!important;
 box-shadow:inset 0 -4px 0 #d0a51d,0 2px 5px rgba(25,35,50,.07)!important;
}
#whiteboardView .wb-table tbody td{
 border-right:1px solid #dce2e8!important;
}

/* ========================================
   V20 — MENU COMPACT
======================================== */
body:not(.shell-v2-active) .sidebar{overflow-y:auto}
body:not(.shell-v2-active) .sidebar-title{padding-bottom:10px}
.compact-nav-group{margin:4px 0;border:0}
.compact-nav-group>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;padding:10px 14px 7px}
.compact-nav-group>summary::-webkit-details-marker{display:none}
.compact-nav-group>summary::after{content:"›";font-size:16px;transform:rotate(90deg);transition:.15s}
.compact-nav-group:not([open])>summary::after{transform:rotate(0)}
body:not(.shell-v2-active) .compact-nav-group .sidebar-item{min-height:38px;padding:7px 12px;margin:2px 8px;border-radius:8px}
body:not(.shell-v2-active) .compact-nav-group .sidebar-item strong,body:not(.shell-v2-active) .sidebar-home strong{font-size:13px}
body:not(.shell-v2-active) .compact-nav-group .sidebar-icon,body:not(.shell-v2-active) .sidebar-home .sidebar-icon{width:25px;min-width:25px;font-size:13px}
body:not(.shell-v2-active) .sidebar-home{min-height:42px;padding:8px 12px;margin:3px 8px 9px;border-radius:8px}
.admin-nav-group{margin-top:7px}
body:not(.shell-v2-active) .sidebar-user{margin-top:auto}
body:not(.shell-v2-active) .sidebar-footer{padding-top:10px}

/* ========================================
   V20 — PAGE D'ACCUEIL
======================================== */
body:not(.shell-v2-active) .home-workspace{display:none;padding:30px;max-width:1500px;margin:0 auto}
.home-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:25px 27px;margin-bottom:25px;border:1px solid #e1e6eb;border-radius:16px;background:linear-gradient(135deg,#ffffff 0%,#f4f7fa 100%)}
.home-hero h1{margin:5px 0 4px;font-size:32px}.home-hero p{margin:0;color:#6f7884}
.home-date{font-size:13px;font-weight:700;color:#65707d;text-transform:capitalize}
.home-section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}
.home-section-heading h2,.home-quick-section h2{margin:4px 0 0}
.home-today-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.home-dashboard-card{display:flex;flex-direction:column;min-width:0;min-height:250px;padding:17px;border:1px solid #e0e5ea;border-radius:13px;background:#fff;box-shadow:0 4px 14px rgba(25,35,50,.045)}
.home-card-heading{display:flex;align-items:center;gap:9px;padding-bottom:11px;border-bottom:1px solid #edf0f3}
.home-card-heading h3{margin:0;font-size:16px}.home-card-icon{font-size:17px}
.home-feed{display:grid;gap:8px;padding:12px 0;flex:1;align-content:start}
.home-feed-item{padding:10px;border-radius:9px;background:#f6f8fa}
.home-feed-meta{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#7a8490;margin-bottom:4px}
.home-feed-item strong{display:block;line-height:1.35;overflow-wrap:anywhere}
.home-feed-bottom{display:flex;gap:6px;align-items:center;margin-top:7px}
.home-initials,.home-status{display:inline-flex;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:800}
.home-initials{background:#e9edf2;color:#38414c}.home-status-idee{background:#f1edf7;color:#654d82}.home-status-tourne{background:#eaf4ed;color:#356448}.home-status-zetta{background:#e9f0f7;color:#315b7b}
.home-empty{font-size:13px;color:#7a8490;line-height:1.5}.home-open-btn{align-self:flex-start;margin-top:auto}
.home-quick-section{margin-top:27px}.home-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}
.home-quick-grid button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:125px;padding:16px;border:1px solid #dfe4e9;border-radius:12px;background:#fff;cursor:pointer;transition:.15s}
.home-quick-grid button:hover{transform:translateY(-2px);box-shadow:0 7px 18px rgba(25,35,50,.08)}
.home-quick-grid .quick-icon{font-size:18px;margin-bottom:14px}.home-quick-grid strong{font-size:14px}.home-quick-grid small{margin-top:6px;color:#77808c;line-height:1.4}
@media(max-width:1050px){.home-quick-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){body:not(.shell-v2-active) .home-workspace{padding:15px}.home-hero{align-items:flex-start;flex-direction:column}.home-quick-grid{grid-template-columns:1fr}}

/* V21 */
.v21-brand-home{display:block;width:100%;border:0;background:transparent;text-align:left;cursor:pointer;color:inherit;font:inherit}
.v21-brand-home:hover{opacity:.82}
.v21-fact-card{margin-top:24px;padding:18px 20px;border:1px solid #e0e5ea;border-radius:14px;background:linear-gradient(135deg,#fff9e9,#fff)}
.v21-fact-kicker{font-size:11px;font-weight:900;letter-spacing:.12em;color:#8a6a19}
.v21-fact-body{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:8px}
.v21-fact-region{display:inline-block;font-size:11px;font-weight:800;color:#725b25;margin-bottom:5px}
.v21-fact-body p{margin:0;max-width:900px;font-size:15px;line-height:1.5;color:#343a42}
.v21-next-fact{white-space:nowrap}
@media(max-width:700px){.v21-fact-body{align-items:flex-start;flex-direction:column}}

/* V22 */
.v21-brand-home,body:not(.shell-v2-active) .sidebar-title.v21-brand-home{display:none!important}
body:not(.shell-v2-active) .sidebar{padding-top:18px!important}
body:not(.shell-v2-active) .sidebar-home{margin-top:0!important}

/* ========================================
   V23 — RÉPERTOIRE
======================================== */
.directory-workspace{padding:28px;max-width:1450px;margin:0 auto}
.directory-header{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}
.directory-header h1{margin:5px 0}.directory-header p{margin:0;color:#6f7884}
.directory-header-actions{display:flex;gap:9px}
.directory-search-card{margin:22px 0 12px;padding:16px;border:1px solid #e0e5ea;border-radius:13px;background:#fff}
.directory-search-main{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:10px}
.directory-search-main input,.directory-search-main select{min-height:46px}
.directory-search-hint{margin-top:8px;font-size:11px;color:#7a8490}
.directory-stats{margin:14px 2px;font-size:12px;font-weight:800;color:#68727e}
.directory-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.directory-contact-card{padding:16px;border:1px solid #e0e5ea;border-radius:13px;background:#fff}
.directory-contact-main{display:flex;gap:12px}.directory-avatar{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:11px;background:#f0e9f2;color:#5c0a63;font-weight:900}
.directory-contact-info h3{margin:1px 0 3px;font-size:16px}.directory-contact-info p{margin:0;color:#69737e;font-size:12px}
.directory-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.directory-tags span{padding:3px 7px;border-radius:999px;background:#f1f4f7;font-size:10px;font-weight:700}
.directory-contact-details{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.directory-contact-details button,.directory-contact-details>span{border:0;border-radius:7px;background:#f6f8fa;padding:7px 9px;font-size:11px;color:#39424d}
.directory-contact-details button{cursor:pointer}.directory-contact-details button.copied{font-weight:800}
.directory-notes{margin-top:10px;padding:9px;border-left:3px solid #d9dde3;background:#fafbfc;font-size:11px;color:#626d78}
.directory-card-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.text-danger{border:0;background:transparent;color:#b4232b;cursor:pointer}
.directory-empty{padding:35px;text-align:center;border:1px dashed #d7dde4;border-radius:12px;color:#7b8490}
.directory-dialog{width:min(760px,calc(100vw - 30px));border:0;border-radius:16px;padding:20px;box-shadow:0 20px 60px rgba(0,0,0,.2)}
.directory-dialog::backdrop{background:rgba(24,28,34,.38)}.directory-dialog-head{display:flex;align-items:center;justify-content:space-between}.directory-dialog-head h2{margin:0}
.directory-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.directory-form-grid label{display:grid;gap:5px;font-size:11px;font-weight:800}.directory-form-wide{grid-column:1/-1}
.directory-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.icon-button{border:0;background:transparent;font-size:25px;cursor:pointer}
.directory-import-preview{display:grid;gap:6px;max-height:360px;overflow:auto;margin-top:14px}.directory-import-preview>div{display:flex;justify-content:space-between;gap:10px;padding:9px;background:#f6f8fa;border-radius:7px}.directory-import-preview span{font-size:11px;color:#727c87}
.directory-import-note{display:block!important;line-height:1.5}

/* V23 — IMPORT PDF ADMIN */
.v23-admin-card{margin:18px;padding:18px;border:1px solid #e0e5ea;border-radius:14px;background:#fff}.v23-admin-card-head h2{margin:0 0 4px}.v23-admin-card-head p{margin:0;color:#717b86}
.v23-import-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}.v23-import-grid article{padding:15px;border:1px solid #e5e9ed;border-radius:11px;background:#f8f9fb}.v23-import-grid h3{margin:0 0 5px}.v23-import-grid p{margin:0 0 12px;font-size:12px;color:#737d88}
.v23-import-status{margin-top:12px}.v23-import-ready{display:flex;flex-direction:column;gap:3px;padding:10px;border-radius:8px;background:#f3f6f8}.v23-import-ready span{font-size:11px;color:#68727e}
@media(max-width:899px){.directory-list,.v23-import-grid{grid-template-columns:1fr}.directory-search-main{grid-template-columns:1fr}.directory-header{align-items:flex-start;flex-direction:column}.directory-form-grid{grid-template-columns:1fr}.directory-form-wide{grid-column:auto}}
.v5-planning-import-grid article{display:flex;flex-direction:column;align-items:flex-start}
.v5-planning-import-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:auto}
.v5-planning-import-actions button{margin:0}
.v5-planning-import-panel{margin:0 0 18px;padding:14px 15px;border:1px solid #e0e5ea;border-radius:11px;background:#f8f9fb}
.v5-planning-import-panel>p{margin:0 0 12px;font-size:12px;line-height:1.5;color:#66717d}
.v5-import-impact{margin:12px 0;padding:12px 14px;border:1px solid #dce5ee;border-radius:9px;background:#f5f8fb}
.v5-import-impact p{margin:5px 0;font-size:12px;line-height:1.45;color:#536171}
.v5-period-range{margin:-5px 0 10px;font-size:11px;color:#6a7480}
.v5-import-inline-error{margin-bottom:10px}
.v5-planning-preview .v25-week-preview-grid{max-height:680px}

/* V24 */
.v24-pdf-preview{padding:14px;border:1px solid #dfe5ea;border-radius:10px;background:#f8fafb}
.v24-pdf-preview>div:first-child{display:flex;justify-content:space-between;gap:15px}
.v24-pdf-preview span{font-size:11px;color:#737d88}.v24-pdf-preview p{font-size:12px;line-height:1.5;color:#5f6974}
.v24-pdf-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}

/* V25 — Analyse IA planning */
.v25-loading,.v25-error,.v25-success{display:flex;flex-direction:column;gap:4px;padding:14px;border-radius:10px;background:#f5f7f9}
.v25-loading span,.v25-error span,.v25-success span{font-size:12px;color:#68727e}
.v25-error{background:#fff3f3}.v25-success{background:#f1f8f3}
.v25-analysis{padding:14px;border:1px solid #dfe5ea;border-radius:11px;background:#fff}
.v25-analysis-head>div{display:flex;justify-content:space-between;gap:15px}.v25-analysis-head span{font-size:12px;color:#6e7883}
.v25-week-preview{display:grid;gap:10px;max-height:480px;overflow:auto;margin-top:14px}
.v25-week-preview section{padding:11px;border:1px solid #e5e9ed;border-radius:9px;background:#f9fafb}.v25-week-preview h4{margin:0 0 8px}
.v25-day{display:grid;grid-template-columns:100px 1fr;gap:8px;padding:6px 0;border-top:1px solid #eceff2;font-size:11px}.v25-day:first-of-type{border-top:0}.v25-day span{color:#5f6974}
.v25-warnings{margin-top:12px;padding:10px;border-radius:8px;background:#fff8e8}.v25-warnings p{margin:4px 0;font-size:11px}

/* V26 — Menu gauche à défilement indépendant */
body:not(.shell-v2-active) .sidebar{
 position:sticky!important;
 top:0!important;
 height:100vh!important;
 max-height:100vh!important;
 overflow-y:auto!important;
 overflow-x:hidden!important;
 overscroll-behavior:contain;
 align-self:flex-start!important;
 scrollbar-gutter:stable;
}
body:not(.shell-v2-active) .sidebar-user{margin-top:18px!important}

/* V27 */
#homeWelcomeTitle{font-size:32px;margin:5px 0 4px}

.v30-beta-badge{margin:10px 14px 0;font-size:9px;font-weight:900;letter-spacing:.12em;color:#7a8490}

/* V31 — Tableau blanc */
#whiteboardView .wb-region-head{background:transparent!important;box-shadow:none!important;text-align:center!important}
#whiteboardView .wb-region-head h2{width:100%}
#whiteboardView .wb-table tbody tr+tr{border-top:2px solid rgba(31,42,55,.28)!important}
#whiteboardView .wb-story[data-status="idee"] .wb-title{font-style:italic!important;font-weight:500!important}
#whiteboardView .wb-story[data-status="tourne"] .wb-title{font-style:italic!important;font-weight:800!important}
#whiteboardView .wb-story[data-status="zetta"] .wb-title{font-style:normal!important;font-weight:800!important}
#whiteboardView .wb-status{font-weight:800!important;filter:saturate(1.6) contrast(1.08)}
#whiteboardView .wb-story[data-status="idee"] .wb-status{background:#e7dcf5!important;color:#52376f!important}
#whiteboardView .wb-story[data-status="tourne"] .wb-status{background:#d5eadb!important;color:#245438!important}
#whiteboardView .wb-story[data-status="zetta"] .wb-status{background:#d5e5f3!important;color:#214f72!important}
#whiteboardView textarea[data-wb-field="title"]{resize:vertical!important;overflow:auto!important;min-height:42px!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;line-height:1.18!important}
#whiteboardView .wb-copy-dept{align-self:center!important}
.v31-quick-links{margin:14px 10px 8px;padding-top:12px;border-top:1px solid rgba(255,255,255,.12);display:grid;gap:3px}.v31-quick-title{font-size:9px;font-weight:900;letter-spacing:.12em;opacity:.55;margin:0 8px 5px}.v31-quick-links a{padding:7px 9px;border-radius:8px;color:inherit;text-decoration:none;font-size:12px}.v31-quick-links a:hover{background:rgba(255,255,255,.08)}
.v31-json-import{margin:14px 0;padding:14px;border:1px solid #dfe4e8;border-radius:12px;background:#f8fafb}.v31-json-import h3{margin:0 0 4px}.v31-json-import p{margin:0 0 10px;font-size:12px;color:#69737d}.v31-json-button{display:inline-flex;padding:8px 11px;border-radius:8px;background:#20262e;color:white;font-weight:800;cursor:pointer}.v31-json-import span{display:block;margin-top:8px;font-size:12px}
.v31-my-post,.v31-team-today{display:flex;flex-direction:column;gap:6px}.v31-team-today{margin-top:12px;padding-top:12px;border-top:1px solid #e2e6ea}.v31-team-today span{font-size:12px}


/* ==========================================================
   V32 — TABLEAU BLANC : HARMONISATION VISUELLE
   Inspiré de la maquette validée, sans modifier la logique métier.
========================================================== */

/* Nom de région : plus présent, centré, sans cadre */
.whiteboard-region-title,
.region-title,
[data-region-title] {
  text-align: center !important;
  font-size: clamp(22px, 2.1vw, 31px) !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  letter-spacing: .015em !important;
  padding: 22px 20px 26px !important;
  margin: 0 0 16px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* En-tête département : davantage d'air au-dessus du tableau */
.department-header,
.whiteboard-department-header,
[data-department-header] {
  min-height: 66px !important;
  padding: 14px 16px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
}

/* Copier vers : remonté et détaché de la ligne inférieure */
.department-header .copy-to,
.department-header .copy-destination,
.department-header [data-copy-to],
.whiteboard-department-header .copy-to,
.whiteboard-department-header .copy-destination,
.whiteboard-department-header [data-copy-to],
[data-department-header] .copy-to,
[data-department-header] .copy-destination,
[data-department-header] [data-copy-to] {
  align-self: flex-start !important;
  height: auto !important;
  min-height: 40px !important;
  margin-top: -1px !important;
  margin-bottom: 8px !important;
  padding: 9px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Lignes de zoom plus lisibles */
.zoom-row,
.whiteboard-zoom-row,
[data-zoom-row] {
  border-bottom: 2px solid rgba(52, 61, 72, .30) !important;
}

/* Chaque cellule de reportage devient une vraie pile titre / journaliste / statut */
.reportage-cell,
.whiteboard-cell,
[data-reportage-cell] {
  min-height: 136px !important;
  height: auto !important;
  overflow: visible !important;
}

/* Cartes/champs internes : aucune superposition */
.reportage-card,
.whiteboard-reportage-card,
[data-reportage-card] {
  height: auto !important;
  min-height: 126px !important;
  display: grid !important;
  grid-template-rows: minmax(52px, auto) minmax(40px, auto) minmax(40px, auto) !important;
  align-content: stretch !important;
  overflow: hidden !important;
}

/* Le titre prend sa hauteur naturelle et pousse les champs suivants */
.reportage-title,
.whiteboard-title,
[data-reportage-title],
.v31-title {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 52px !important;
  max-height: none !important;
  padding: 10px 10px 8px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-height: 1.18 !important;
  overflow: visible !important;
  resize: vertical !important;
}

/* Journaliste et statut restent chacun dans leur propre ligne */
.reportage-journalist,
.whiteboard-journalist,
[data-reportage-journalist],
.reportage-status,
.whiteboard-status,
[data-reportage-status] {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  min-height: 40px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Séparation discrète entre les trois niveaux */
.reportage-card > *,
.whiteboard-reportage-card > *,
[data-reportage-card] > * {
  border-top: 1px solid rgba(70, 80, 92, .10);
}
.reportage-card > *:first-child,
.whiteboard-reportage-card > *:first-child,
[data-reportage-card] > *:first-child {
  border-top: 0;
}

/* Le tableau accepte que les lignes grandissent avec les titres */
.whiteboard-table tr,
.whiteboard-grid-row,
[data-whiteboard-row] {
  height: auto !important;
  min-height: 136px !important;
}


/* ==========================================================
   V33 — CORRECTION SUR LES CLASSES RÉELLES DU TABLEAU BLANC
========================================================== */

/* Région : plus marquée, centrée, sans cadre */
.wb-region-head {
  position: relative !important;
  min-height: 78px !important;
  padding: 20px 24px !important;
  margin-bottom: 18px !important;
}
.wb-region-head h2,
.wb-region-head .wb-region-title {
  margin: 0 !important;
  text-align: center !important;
  font-size: clamp(24px, 2.2vw, 34px) !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  letter-spacing: .01em !important;
  color: #2d3440 !important;
}

/* Département : plus aéré */
.wb-dept-head,
.wb-dept-header {
  min-height: 68px !important;
  padding: 13px 14px 18px 16px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 16px !important;
}
.wb-dept-title {
  align-self: center !important;
  margin: 0 !important;
}

/* Copier vers : remonté dans l'en-tête */
.wb-copy-dept {
  position: relative !important;
  top: -3px !important;
  margin: 0 0 10px auto !important;
  min-height: 40px !important;
  padding: 9px 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Lignes de Zoom clairement séparées */
.wb-row,
.wb-zoom-row {
  height: auto !important;
  min-height: 145px !important;
  border-bottom: 2px solid rgba(54, 63, 74, .30) !important;
}

/* La cellule complète grandit avec son contenu */
.wb-story {
  box-sizing: border-box !important;
  min-height: 126px !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

/* Titre : zone autonome, multilignes, jamais superposée */
.wb-title {
  inset: auto !important;
  flex: 0 0 auto !important;
  min-height: 52px !important;
  padding: 9px 10px !important;
  white-space: normal !important;
  line-height: 1.18 !important;
  overflow: visible !important;
  border-bottom: 1px solid rgba(70,80,92,.11) !important;
}

/* Journaliste : deuxième étage distinct */
.wb-journalist,
.wb-owner,
.wb-reporter {
  position: relative !important;
  inset: auto !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  min-height: 40px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border-bottom: 1px solid rgba(70,80,92,.11) !important;
}

/* Statut : troisième étage distinct */
.wb-status {
  position: relative !important;
  inset: auto !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  min-height: 40px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Typographie du titre selon le statut */
.wb-story:has(.wb-status option:checked[value="idee"]) .wb-title,
.wb-story:has(.wb-status option:checked[value="Idée"]) .wb-title {
  font-style: italic !important;
  font-weight: 500 !important;
}
.wb-story:has(.wb-status option:checked[value="tourne"]) .wb-title,
.wb-story:has(.wb-status option:checked[value="Tourné"]) .wb-title {
  font-style: italic !important;
  font-weight: 800 !important;
}
.wb-story:has(.wb-status option:checked[value="zetta"]) .wb-title,
.wb-story:has(.wb-status option:checked[value="Zetta"]) .wb-title {
  font-style: normal !important;
  font-weight: 800 !important;
}

/* Statuts plus affirmés */
.wb-status {
  font-weight: 800 !important;
  filter: saturate(1.35) contrast(1.04);
}

/* ==========================================================
   V34 — TABLEAU BLANC, STRUCTURE SOURCE
========================================================== */
.wb-region-head{
 display:flex!important;justify-content:center!important;align-items:center!important;
 min-height:72px!important;padding:18px 20px 22px!important;margin:0 0 14px!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
}
.wb-region-head h2{
 margin:0!important;text-align:center!important;font-size:30px!important;line-height:1.1!important;
 font-weight:950!important;letter-spacing:.01em!important;color:var(--wb-region)!important;
 text-shadow:0 1px 0 rgba(255,255,255,.7);
}
.wb-dept-title{
 display:flex!important;align-items:flex-start!important;justify-content:space-between!important;
 min-height:58px!important;padding:12px 14px 15px!important;gap:16px!important;
}
.wb-dept-title h3{margin:8px 0 0!important}
.wb-copy-dept{
 margin:-2px 0 10px auto!important;align-self:flex-start!important;transform:translateY(-2px)!important;
}

/* Le tableau laisse réellement les cellules grandir */
.wb-table{table-layout:fixed!important}
.wb-table tbody tr{height:auto!important}
.wb-table tbody td{height:auto!important;min-height:150px!important;vertical-align:top!important;padding:8px!important}
.wb-table tbody tr+tr th,.wb-table tbody tr+tr td{border-top:2px solid rgba(55,65,76,.24)!important}

/* Structure interne explicite : titre / journaliste / statut */
.wb-story{
 display:flex!important;flex-direction:column!important;height:auto!important;min-height:132px!important;
 overflow:hidden!important;border-radius:8px!important;
}
.wb-story-title-zone,.wb-story-journalist-zone,.wb-story-status-zone{
 position:relative!important;display:block!important;width:100%!important;box-sizing:border-box!important;
}
.wb-story-title-zone{min-height:54px!important}
.wb-story-journalist-zone,.wb-story-status-zone{border-top:1px solid rgba(55,65,76,.12)!important}
.wb-title{
 display:block!important;position:relative!important;width:100%!important;height:auto!important;min-height:54px!important;
 max-height:none!important;box-sizing:border-box!important;margin:0!important;padding:10px!important;
 white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.2!important;
 overflow:auto!important;resize:vertical!important;
}
.wb-journalist,.wb-status{
 display:block!important;position:relative!important;width:100%!important;height:42px!important;min-height:42px!important;
 box-sizing:border-box!important;margin:0!important;
}
.wb-story-status-zone{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important}
.wb-story-actions{position:relative!important;inset:auto!important;margin:0 6px!important}
.wb-clear{position:relative!important;inset:auto!important}

/* Statuts plus visibles + typographie demandée */
.wb-status-idee .wb-title{font-style:italic!important;font-weight:500!important}
.wb-status-tourne .wb-title{font-style:italic!important;font-weight:800!important}
.wb-status-zetta .wb-title{font-style:normal!important;font-weight:800!important}
.wb-status-idee .wb-status{font-weight:800!important;filter:saturate(1.55)!important}
.wb-status-tourne .wb-status{font-weight:850!important;filter:saturate(1.55)!important}
.wb-status-zetta .wb-status{font-weight:900!important;filter:saturate(1.55)!important}

/* V41 STRUCTURAL — stabilité grille */
#whiteboardView .wb-table{table-layout:fixed!important;width:100%!important;border-collapse:separate!important;border-spacing:0!important}
#whiteboardView .wb-table th,#whiteboardView .wb-table td{box-sizing:border-box!important}
#whiteboardView .wb-table tbody tr{height:178px!important;min-height:178px!important;max-height:178px!important}
#whiteboardView .wb-table tbody td{height:178px!important;min-height:178px!important;max-height:178px!important;vertical-align:top!important;overflow:hidden!important;padding:8px!important}
#whiteboardView .wb-story{height:160px!important;min-height:160px!important;max-height:160px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
#whiteboardView .wb-story-title-zone{height:78px!important;min-height:78px!important;max-height:78px!important;flex:0 0 78px!important;overflow:hidden!important}
#whiteboardView textarea.wb-title{
 box-sizing:border-box!important;width:100%!important;height:78px!important;min-height:78px!important;max-height:78px!important;
 padding:8px 9px!important;margin:0!important;line-height:1.08!important;overflow:hidden!important;
 white-space:pre-wrap!important;word-break:break-word!important
}
#whiteboardView .wb-story-journalist-zone,#whiteboardView .wb-story-status-zone{height:40px!important;min-height:40px!important;max-height:40px!important;flex:0 0 40px!important}
#whiteboardView .wb-journalist,#whiteboardView .wb-status{height:40px!important;min-height:40px!important;max-height:40px!important;width:100%!important}

/* Ne pas ajouter de trait décoratif entre département et tableau */
#whiteboardView .wb-dept,#whiteboardView .wb-dept-title,#whiteboardView .wb-table-wrap,#whiteboardView .wb-table{border-top-width:0!important}

.photo-delete-btn{color:#a51f29!important;background:#fff!important;border:1px solid #cf8f96!important;opacity:1!important;visibility:visible!important;font-weight:800!important;}

/* V42 — haut Tableau blanc réellement remplacé dans index.html */
#whiteboardWorkspace .wb-compact-header{margin-bottom:8px!important;padding-bottom:0!important}
#whiteboardWorkspace .wb-compact-header h1{margin:0 0 2px!important}
#whiteboardWorkspace .wb-compact-header p{margin:0!important}
#whiteboardWorkspace .wb-main-card{padding-top:12px!important}
#whiteboardWorkspace .wb-control-bar{grid-template-columns:1fr .85fr .95fr minmax(280px,1.6fr)!important;
 gap:10px 12px!important;padding:10px 12px!important;margin:0 0 8px!important;
 border:1px solid #e0e4e8!important;border-radius:12px!important;background:#fff!important
}
#whiteboardWorkspace .wb-control-bar label{margin:0!important}
#whiteboardWorkspace .wb-control-bar label>span{font-size:10px!important;font-weight:850!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:#737d88!important}
#whiteboardWorkspace .wb-control-bar select,#whiteboardWorkspace .wb-control-bar input{height:38px!important;min-height:38px!important}
#whiteboardWorkspace .wb-search-inline>div{display:flex!important;gap:6px!important}
#whiteboardWorkspace .wb-search-inline input{min-width:0!important;flex:1!important}
#whiteboardWorkspace .wb-search-inline button{height:38px!important;padding:0 10px!important}
#whiteboardWorkspace .wb-save-status{grid-column:1/-1!important;text-align:right!important;margin:0!important;font-size:10px!important}
#whiteboardWorkspace .wb-view-switch{margin:8px 0 10px!important}
@media(max-width:1000px){#whiteboardWorkspace .wb-control-bar{grid-template-columns:1fr 1fr!important}.wb-search-inline{grid-column:1/-1!important}}

/* V42 — vrai bouton Supprimer du Répertoire */
.directory-card-actions .directory-delete-btn,
.directory-card-actions button[data-directory-delete]{
 background:#c62832!important;color:#fff!important;border:1px solid #c62832!important;
 font-weight:800!important;opacity:1!important;text-shadow:none!important
}
.directory-card-actions .directory-delete-btn:hover,
.directory-card-actions button[data-directory-delete]:hover{
 background:#9f1f28!important;color:#fff!important;border-color:#9f1f28!important
}

/* V42 — Accueil : icônes des cubes rouges en permanence */
.home-quick-grid .quick-icon{color:#c62832!important}
.home-quick-grid button:hover .quick-icon{color:#c62832!important}

/* ==========================================================
   V43 — corrections UI ciblées
========================================================== */

/* Barre unique : Semaine / Région / Journaliste / Recherche parfaitement alignés */
#whiteboardWorkspace .wb-control-bar{
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
#whiteboardWorkspace .wb-control-bar label{height:auto!important;
}
#whiteboardWorkspace .wb-control-bar select,
#whiteboardWorkspace .wb-control-bar input{
 box-sizing:border-box!important;width:100%!important;height:40px!important;min-height:40px!important;
 margin:0!important;padding:0 11px!important;
}
#whiteboardWorkspace .wb-search-inline{grid-column:auto!important}
#whiteboardWorkspace .wb-search-inline input{display:block!important;width:100%!important}

/* Cadre régional coloré complet */
#whiteboardView .wb-region{
 border:4px solid var(--wb-region)!important;
 box-sizing:border-box!important;
}
#whiteboardView .wb-region-head{
 border-radius:0!important;
}
#whiteboardView .wb-dept:last-child .wb-table-wrap{border-bottom:0!important}

/* Accueil : cubes entièrement rouge foncé, texte blanc */
.home-quick-grid button{
 background:#8f1820!important;
 border:1px solid #8f1820!important;
 color:#fff!important;
}
.home-quick-grid button strong,
.home-quick-grid button small,
.home-quick-grid button .quick-icon{
 color:#fff!important;
}
.home-quick-grid button:hover{
 background:#76131a!important;
 border-color:#76131a!important;
 color:#fff!important;
 transform:translateY(-1px);
}
.home-quick-grid button:hover strong,
.home-quick-grid button:hover small,
.home-quick-grid button:hover .quick-icon{color:#fff!important}

#whiteboardWorkspace .wb-control-bar{display:grid!important;grid-template-columns:1fr .85fr .95fr .7fr!important;gap:9px 12px!important;align-items:end!important}
#whiteboardWorkspace .wb-control-bar label{display:flex!important;flex-direction:column!important;gap:5px!important}
#whiteboardWorkspace .wb-control-bar select,#whiteboardWorkspace .wb-control-bar input{width:100%!important;height:40px!important;box-sizing:border-box!important}
#whiteboardWorkspace .wb-fullscreen-cell{display:flex!important;justify-content:flex-end!important}
#whiteboardWorkspace #wbFullscreenBtn{height:40px!important}
#whiteboardWorkspace .wb-search-row>div{display:flex!important;gap:7px!important}
#whiteboardWorkspace .wb-search-row input{flex:1!important}
#whiteboardWorkspace .wb-search-row button{height:40px!important}
#whiteboardWorkspace .wb-save-status{grid-column:3/5!important;justify-self:end!important}

#whiteboardView .wb-region{border:0!important;border-radius:14px!important;overflow:hidden!important;margin-bottom:24px!important;background:#fff!important;box-shadow:0 4px 14px rgba(26,38,52,.09)!important}
#whiteboardView .wb-region-head{position:relative!important;min-height:96px!important;padding:20px 250px 26px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:var(--wb-region)!important;border:0!important}
#whiteboardView .wb-region-head h2{margin:0!important;color:#fff!important;font-size:32px!important;font-weight:950!important;letter-spacing:.045em!important;text-transform:uppercase!important;text-align:center!important}
#whiteboardView .wb-region-head::before,#whiteboardView .wb-region-head::after{content:""!important;position:absolute!important;top:50%!important;width:18%!important;height:3px!important;background:#d1222a!important;border-radius:99px!important;transform:translateY(-50%)!important}#whiteboardView .wb-region-head::after{bottom:auto!important}
#whiteboardView .wb-dept{margin:18px 14px 0!important;padding:0!important;border:0!important;border-radius:12px 12px 0 0!important}
#whiteboardView .wb-dept-title{position:relative!important;min-height:84px!important;margin:0!important;padding:20px 170px 18px 28px!important;display:flex!important;align-items:center!important;background:color-mix(in srgb,var(--wb-region) 8%,#fff)!important;border-left:7px solid var(--wb-region)!important}
#whiteboardView .wb-dept-title h3{color:var(--wb-region)!important;font-size:27px!important;font-weight:950!important;text-transform:uppercase!important}
#whiteboardView .wb-copy-dept{position:absolute!important;right:16px!important;background:#fff!important;color:#3c4651!important;border:1px solid #d8dde3!important;border-radius:9px!important}
#whiteboardView .wb-table-wrap,#whiteboardView .wb-table{margin:0!important;border-top:0!important}
#whiteboardView .wb-table thead th{height:58px!important;background:#f7f9fb!important;font-weight:900!important;text-transform:uppercase!important;border-top:0!important}
#whiteboardWorkspace:fullscreen,#whiteboardWorkspace.wb-presentation-mode{position:fixed!important;inset:0!important;z-index:99999!important;width:100vw!important;height:100vh!important;overflow:auto!important;background:#f6f7f9!important;padding:16px!important}
#whiteboardWorkspace:fullscreen .wb-compact-header,#whiteboardWorkspace.wb-presentation-mode .wb-compact-header{display:none!important}

/* ==========================================================
   V45 — dernières finitions Tableau blanc
========================================================== */

/* Recherche : champ seul, bouton technique invisible */
#whiteboardWorkspace .wb-search-row{grid-column:1/span 2!important}
#whiteboardWorkspace .wb-search-row>div{display:block!important;width:100%!important}
#whiteboardWorkspace .wb-search-row input{width:100%!important}
#whiteboardWorkspace #wbSearchBtn{display:none!important}

/* Région : conserver uniquement les deux grands traits latéraux.
   Neutralise le petit trait hérité d'anciennes versions. */
#whiteboardView .wb-region-head::before,
#whiteboardView .wb-region-head::after{
 top:50%!important;bottom:auto!important;width:18%!important;height:3px!important;
 transform:translateY(-50%)!important;background:#d1222a!important;
}
#whiteboardView .wb-region-head::before{left:34px!important;right:auto!important}
#whiteboardView .wb-region-head::after{right:34px!important;left:auto!important}
#whiteboardView .wb-region-head h2::before,
#whiteboardView .wb-region-head h2::after{display:none!important;content:none!important}

/* Département beaucoup plus compact, surtout en plein écran */
#whiteboardView .wb-dept{margin-top:12px!important}
#whiteboardView .wb-dept-title{
 min-height:62px!important;height:62px!important;
 padding:8px 150px 8px 24px!important;
 box-sizing:border-box!important;
}
#whiteboardView .wb-dept-title h3{font-size:25px!important}
#whiteboardView .wb-copy-dept{
 right:14px!important;top:50%!important;transform:translateY(-50%)!important;
 min-height:38px!important;height:38px!important;padding:7px 12px!important;
}

/* En mode présentation, encore moins d'espace perdu */
#whiteboardWorkspace:fullscreen #whiteboardView .wb-dept,
#whiteboardWorkspace.wb-presentation-mode #whiteboardView .wb-dept{margin-top:10px!important}
#whiteboardWorkspace:fullscreen #whiteboardView .wb-dept-title,
#whiteboardWorkspace.wb-presentation-mode #whiteboardView .wb-dept-title{
 min-height:58px!important;height:58px!important;padding-top:6px!important;padding-bottom:6px!important;
}

/* Statut : couleur sur le contrôle fermé, menu/options neutres */
#whiteboardView select.wb-status option{
 background:#fff!important;color:#303844!important;font-style:normal!important;font-weight:500!important;
}
#whiteboardView select.wb-status:focus{
 outline:2px solid rgba(60,80,110,.18)!important;
 outline-offset:-2px!important;
}
/* Pendant l'interaction, le contrôle lui-même redevient neutre.
   Après blur, les règles de statut existantes reprennent leur couleur. */
#whiteboardView select.wb-status:focus{
 background:#fff!important;color:#303844!important;
}

/* V46 — Département modèle B : pastille compacte */
#whiteboardView .wb-dept{margin:12px 14px 0!important;border:1px solid #e0e5eb!important;border-radius:10px 10px 0 0!important;overflow:hidden!important}
#whiteboardView .wb-dept-title{height:54px!important;min-height:54px!important;padding:8px 145px 8px 14px!important;background:#fff!important;border:0!important}
#whiteboardView .wb-dept-title h3{display:inline-flex!important;align-items:center!important;width:auto!important;margin:0!important;padding:7px 12px!important;border-radius:8px!important;background:var(--wb-region)!important;color:#fff!important;font-size:15px!important;font-weight:900!important;line-height:1!important}
#whiteboardView .wb-copy-dept{height:36px!important;min-height:36px!important;right:12px!important}
#whiteboardView .wb-table-wrap{margin:0!important}

/* Recherche : fermeture discrète alignée avec la sauvegarde */
#whiteboardWorkspace .wb-search-actions{grid-column:3/5!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;align-self:end!important}
#whiteboardWorkspace .wb-search-actions .wb-save-status{margin:0!important}
#whiteboardWorkspace #wbCloseSearchResults{height:34px!important;padding:0 10px!important;font-size:12px!important}

/* Autres rendez-vous : colonnes de même hauteur et contenus alignés */
#whiteboardView .wb-extra-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
#whiteboardView .wb-podcast-group,#whiteboardView .wb-extra-card{height:100%!important;min-height:448px!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important}
#whiteboardView .wb-podcast-group>h4,#whiteboardView .wb-extra-card>h4{height:48px!important;min-height:48px!important;margin:0!important;padding:12px 10px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important}
#whiteboardView .wb-podcast-sub{margin:0 8px 12px!important}
#whiteboardView .wb-podcast-sub>span{display:flex!important;align-items:flex-end!important;height:26px!important;margin:0!important;font-weight:700!important}
#whiteboardView .wb-podcast-sub .wb-story{height:160px!important;min-height:160px!important;max-height:160px!important}
#whiteboardView .wb-extra-card>.wb-story{margin:26px 8px 12px!important}
#whiteboardView .wb-extra-card>.wb-story.wb-signature-only{height:160px!important;min-height:160px!important;max-height:160px!important}
#whiteboardView .wb-extra-card select,#whiteboardView .wb-podcast-group select{box-sizing:border-box!important;width:100%!important}

/* ==========================================================
   V51 — Tableau blanc : stabilisation ciblée
   Aucun sélecteur global de layout/sidebar.
========================================================== */

/* Fermer les résultats reste réellement invisible hors recherche */
#whiteboardWorkspace #wbCloseSearchResults[hidden] {
  display:none !important;
}

/* Autres rendez-vous : grille stable sur écran normal */
#whiteboardView .wb-extra-grid {
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  gap:12px !important;
  align-items:stretch !important;
  width:100% !important;
  box-sizing:border-box !important;
}

/* Enveloppes de colonnes homogènes */
#whiteboardView .wb-podcast-group,
#whiteboardView .wb-extra-card {
  width:auto !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  align-self:stretch !important;
}

/* Titres sur une même ligne verticale */
#whiteboardView .wb-podcast-group > h4,
#whiteboardView .wb-extra-card > h4 {
  min-height:48px !important;
  height:48px !important;
  margin:0 !important;
}

/* Chaque sujet podcast dispose de la place nécessaire :
   titre + journaliste + statut restent entièrement visibles. */
#whiteboardView .wb-podcast-sub {
  box-sizing:border-box !important;
  margin-bottom:10px !important;
}

#whiteboardView .wb-podcast-sub > span {
  display:flex !important;
  align-items:center !important;
  min-height:25px !important;
  height:25px !important;
  margin:0 !important;
}

#whiteboardView .wb-podcast-sub .wb-story {
  box-sizing:border-box !important;
  overflow:hidden !important;
}

/* Dimensions fixes : aucun saut de cellule au focus */
#whiteboardView .wb-story,
#whiteboardView .wb-story:focus-within,
#whiteboardView textarea.wb-title,
#whiteboardView textarea.wb-title:focus,
#whiteboardView select,
#whiteboardView select:focus {
  transform:none !important;
  transition:none !important;
  box-sizing:border-box !important;
}

#whiteboardView textarea.wb-title {
  resize:none !important;
}

/* Vidéo sans statut : la carte ne conserve pas d'espace artificiel en bas */
#whiteboardView .wb-extra-card .wb-story:has(select.wb-journalist):not(:has(select.wb-status)) {
  padding-bottom:0 !important;
}

/* Responsive explicite et stable */
@media (max-width:1100px) {
  #whiteboardView .wb-extra-grid {
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width:650px) {
  #whiteboardView .wb-extra-grid {
    grid-template-columns:minmax(0, 1fr) !important;
  }
}


/* ==========================================================
   V53 — correction du bug de mise en page
========================================================== */

/* Autres rendez-vous :
   toujours 4 colonnes. Le bloc ne se réorganise jamais en 2x2 ou vertical.
   Si la largeur disponible devient trop faible, seul ce bloc défile horizontalement. */

#whiteboardView .wb-regional-extras > .wb-extra-grid {
  grid-template-columns:repeat(4, minmax(210px, 1fr)) !important;
}

/* Neutralise explicitement les anciennes règles responsive de V51. */
@media (max-width:1100px) {
  #whiteboardView .wb-regional-extras > .wb-extra-grid {
    grid-template-columns:repeat(4, minmax(210px, 1fr)) !important;
  }
}
@media (max-width:650px) {
  #whiteboardView .wb-regional-extras > .wb-extra-grid {
    grid-template-columns:repeat(4, minmax(210px, 1fr)) !important;
  }
}

/* Même séparateur sous les quatre intitulés. */
#whiteboardView .wb-podcast-group > h4,
#whiteboardView .wb-extra-card > h4 {
  position:relative !important;
}

/* Icône localisation à côté du département. */
#whiteboardView .wb-dept-title h3::before {
  content:"" !important;
  display:inline-block !important;
  width:13px !important;
  height:16px !important;
  flex:0 0 13px !important;
  margin-right:8px !important;
  background:
    radial-gradient(circle at 50% 38%, #fff 0 2px, transparent 2.5px),
    radial-gradient(ellipse at 50% 38%, currentColor 0 6px, transparent 6.5px) !important;
  color:#fff !important;
  clip-path:polygon(50% 100%,15% 55%,10% 40%,13% 23%,25% 9%,40% 2%,60% 2%,75% 9%,87% 23%,90% 40%,85% 55%) !important;
}

/* Accès rapides : simple flux vertical, sans modifier le layout de la sidebar. */
.v31-quick-links > .v31-quick-title {
  display:block !important;
}
.v31-quick-links > a {
  display:block !important;
}

/* V54 — suppression définitive du bouton Effacer de la recherche Tableau blanc */
#whiteboardWorkspace #wbSearchClear,
#whiteboardWorkspace #wbClearSearch,
#whiteboardWorkspace .wb-search-clear {
  display:none !important;
}

/* Stabilisation locale : les actions de recherche ne doivent jamais modifier
   la largeur du conteneur principal ni celle d'Autres rendez-vous. */
#whiteboardView,
#whiteboardWorkspace {
  min-width:0 !important;
}

/* V55 — Autres rendez-vous : suppression des boutons Effacer et largeur stable */
#whiteboardView .wb-story-actions,
#whiteboardView button.wb-clear,
#whiteboardView [data-wb-clear]{
  display:none!important;
}
#whiteboardView .wb-regional-extras{
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
}
#whiteboardView .wb-regional-extras > .wb-extra-grid{
  grid-template-columns:repeat(4,minmax(210px,1fr))!important;
  min-width:876px!important;
}
@media (max-width:1100px){
 #whiteboardView .wb-regional-extras > .wb-extra-grid{
   grid-template-columns:repeat(4,minmax(210px,1fr))!important;
   min-width:876px!important;
 }
}
@media (max-width:650px){
 #whiteboardView .wb-regional-extras > .wb-extra-grid{
   grid-template-columns:repeat(4,minmax(210px,1fr))!important;
   min-width:876px!important;
 }
}

/* ==========================================================
   V56 — verrouillage définitif du layout "Autres rendez-vous"
   ========================================================== */

/* Le conteneur ne devient jamais une fenêtre horizontale scrollable. */
#whiteboardView .wb-regional-extras {
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  overflow:visible !important;
  box-sizing:border-box !important;
}

/* Toujours 4 colonnes égales sur la largeur réellement disponible.
   Neutralise les min-width/overflow des V53/V55. */
#whiteboardView .wb-regional-extras > .wb-extra-grid {
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  grid-auto-flow:row !important;
  gap:12px !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  overflow:visible !important;
  align-items:stretch !important;
  box-sizing:border-box !important;
}

/* Les cartes ont toutes la même géométrie et ne forcent jamais la grille à s'élargir. */
#whiteboardView .wb-regional-extras .wb-podcast-group,
#whiteboardView .wb-regional-extras .wb-extra-card {
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  height:100% !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
}

/* Les contenus internes peuvent réellement rétrécir sans pousser la colonne. */
#whiteboardView .wb-regional-extras .wb-story,
#whiteboardView .wb-regional-extras textarea,
#whiteboardView .wb-regional-extras select {
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}

/* Même hauteur exacte pour les quatre en-têtes + traits parfaitement alignés. */

/* Minute Sport : son libellé commence au même niveau que le titre de reportage. */
#whiteboardView .wb-extra-card > .wb-story {
  margin-top:24px !important;
}
#whiteboardView .wb-extra-card .wb-signature-label {
  margin-top:0 !important;
  min-height:78px !important;
}

/* Le statut Podcast ne doit jamais disparaître ni être rogné. */
#whiteboardView .wb-podcast-sub {
  min-height:205px !important;
  height:205px !important;
  max-height:205px !important;
  overflow:visible !important;
}
#whiteboardView .wb-podcast-sub .wb-story {
  min-height:174px !important;
  height:174px !important;
  max-height:174px !important;
  overflow:visible !important;
}
#whiteboardView .wb-podcast-sub select.wb-status {
  visibility:visible !important;
  opacity:1 !important;
  flex-shrink:0 !important;
}

/* Aucun ancien breakpoint ne transforme cette grille. */
@media (max-width:1100px) {
  #whiteboardView .wb-regional-extras > .wb-extra-grid {
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
    min-width:0 !important;
    overflow:visible !important;
  }
}
@media (max-width:650px) {
  #whiteboardView .wb-regional-extras > .wb-extra-grid {
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
    min-width:0 !important;
    overflow:visible !important;
  }
}

/* Traits rouges des bandeaux Région : dimensions strictement identiques. */
#whiteboardView .wb-region-header::before,
#whiteboardView .wb-region-header::after {
  width:170px !important;
  height:3px !important;
  min-width:170px !important;
  max-width:170px !important;
  min-height:3px !important;
  max-height:3px !important;
  flex:0 0 170px !important;
}

/* ==========================================================
   V57 — alignement final Autres rendez-vous + statuts
   ========================================================== */

/* Les quatre en-têtes conservent exactement la même géométrie. */
#whiteboardView .wb-podcast-group > h4,
#whiteboardView .wb-extra-card > h4 {
  height:58px !important;
  min-height:58px !important;
  max-height:58px !important;
  flex:0 0 58px !important;
  margin:0 10px !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  box-sizing:border-box !important;
  border-bottom:1px solid #d9dde3 !important;
}

/* Ligne de départ commune du contenu sous les quatre titres. */
#whiteboardView .wb-podcast-sub:first-of-type,
#whiteboardView .wb-extra-card > .wb-story {
  margin-top:16px !important;
}

/* Minute Sport / Vidéo : supprimer les décalages hérités. */
#whiteboardView .wb-extra-card > .wb-story {
  align-self:stretch !important;
  box-sizing:border-box !important;
}

/* Le libellé Journaliste de la semaine démarre au même niveau visuel
   que Sujet 1 / Titre du reportage. */
#whiteboardView .wb-extra-card .wb-signature-label {
  margin:0 !important;
  padding:0 8px !important;
  min-height:25px !important;
  height:25px !important;
  max-height:25px !important;
  display:flex !important;
  align-items:center !important;
  box-sizing:border-box !important;
}

/* Statuts des podcasts : base commune. */
#whiteboardView .wb-podcast-sub select.wb-status {
  display:block !important;
  width:100% !important;
  font-weight:700 !important;
  box-sizing:border-box !important;
}

/* En attente : jaune. */
#whiteboardView .wb-podcast-sub select.wb-status[data-status=""],
#whiteboardView .wb-podcast-sub select.wb-status.status-waiting {
  background:#fff3bf !important;
  font-weight:700 !important;
}

/* Zetta : même logique visuelle que le tableau principal. */
#whiteboardView .wb-podcast-sub select.wb-status[data-status="Zetta"],
#whiteboardView .wb-podcast-sub select.wb-status.status-zetta {
  background:#cfe8ff !important;
  font-weight:700 !important;
}

/* ==========================================================
   V58 — correctif final autoritaire "Autres rendez-vous"
========================================================== */

/* Le parent réel du grid reste pleine largeur et ne devient jamais une mini-fenêtre. */
#whiteboardView .wb-extra-host-stable{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}

/* 4 colonnes égales, toujours. */
#whiteboardView .wb-extra-grid-stable{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-columns:minmax(0,1fr)!important;
  grid-auto-flow:row!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  align-items:stretch!important;
}

/* Les 4 cartes peuvent rétrécir normalement sans écraser leurs contrôles. */
#whiteboardView .wb-extra-grid-stable > .wb-podcast-group,
#whiteboardView .wb-extra-grid-stable > .wb-extra-card{
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  overflow:hidden!important;
}

/* Un seul trait sous chaque titre : supprime l'effet double ligne créé en V57. */
#whiteboardView .wb-extra-grid-stable .wb-podcast-group > h4,
#whiteboardView .wb-extra-grid-stable .wb-extra-card > h4{
  display:flex!important;
  align-items:center!important;
  height:58px!important;
  min-height:58px!important;
  max-height:58px!important;
  margin:0 10px!important;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid #d9dde3!important;
  box-shadow:none!important;
  background-image:none!important;
  box-sizing:border-box!important;
}

/* Minute Sport et Vidéo : même position verticale du titre que les Podcasts. */
#whiteboardView .wb-extra-grid-stable .wb-extra-card > h4{
  justify-content:flex-start!important;
}

/* Ligne de contenu commune sous les titres. */
#whiteboardView .wb-extra-grid-stable .wb-podcast-sub:first-of-type,
#whiteboardView .wb-extra-grid-stable .wb-extra-card > .wb-story{
  margin-top:16px!important;
}

/* Statuts Podcast toujours visibles après rerender. */
#whiteboardView .wb-extra-grid-stable .wb-podcast-sub select.wb-status{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  min-width:0!important;
  font-weight:700!important;
}
#whiteboardView .wb-extra-grid-stable select.wb-status.status-zetta{
  background:#bfe8f7!important;
  font-weight:700!important;
}
#whiteboardView .wb-extra-grid-stable select.wb-status.status-waiting{
  background:#fff58f!important;
  font-weight:700!important;
}

/* ==========================================================
   V59 — stabilité pendant saisie + couleurs pastel
========================================================== */
#whiteboardView .wb-extra-host-stable,
#whiteboardView .wb-regional-extras{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
#whiteboardView .wb-extra-grid,
#whiteboardView .wb-extra-grid-stable{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
/* V60 — statuts Podcast pastel */
#whiteboardView .wb-podcast-group select.wb-status.status-zetta,
#whiteboardView .wb-podcast-group select.wb-status[data-status="Zetta"]{
  background:#dcecf7!important;
  color:#365b73!important;
  font-weight:700!important;
}
#whiteboardView .wb-podcast-group select.wb-status.status-waiting,
#whiteboardView .wb-podcast-group select.wb-status[data-status=""]{
  background:#fff7d6!important;
  color:#665b2e!important;
  font-weight:700!important;
}

/* ==========================================================
   V69 — affichage initial Toutes les régions
========================================================== */
#whiteboardView .wb-extras-initial-stable{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  clear:both!important;
}

#whiteboardView .wb-extra-grid-initial-stable{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}

#whiteboardView .wb-extra-grid-initial-stable > .wb-podcast-group,
#whiteboardView .wb-extra-grid-initial-stable > .wb-extra-card{
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  box-sizing:border-box!important;
}

/* V74 — racine indépendante pour Autres rendez-vous */
#whiteboardView > .wb-extras-root-slot{
  display:block!important;
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  clear:both!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}

#whiteboardView > .wb-extras-root-slot > .wb-regional-extras{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}

#whiteboardView > .wb-extras-root-slot .wb-extra-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
}

/* V78 — toast Copier vers */
.wb-copy-toast{
  position:fixed;
  left:50%;
  bottom:28px;
  transform:translate(-50%,18px);
  z-index:2147483647;
  padding:10px 16px;
  border-radius:10px;
  background:rgba(24,29,36,.94);
  color:#fff;
  font-size:14px;
  font-weight:700;
  line-height:1.25;
  box-shadow:0 8px 28px rgba(0,0,0,.22);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease,transform .18s ease;
}
.wb-copy-toast.show{
  opacity:1;
  transform:translate(-50%,0);
}

/* ==========================================================
   V79 — Signalements & pilotage Administration
========================================================== */
.r2k-issue-cube{
  border:0;border-radius:16px;padding:22px;min-height:145px;cursor:pointer;
  background:#7b1720;color:#fff;display:flex;flex-direction:column;
  align-items:flex-start;justify-content:center;gap:6px;text-align:left;
  box-shadow:0 8px 24px rgba(0,0,0,.10);
}
.r2k-issue-cube strong{font-size:18px}.r2k-issue-cube small{color:rgba(255,255,255,.8)}
.r2k-issue-icon{font-size:26px;font-weight:900}
.r2k-issue-modal{position:fixed;inset:0;z-index:2147483647;background:rgba(0,0,0,.45);display:grid;place-items:center;padding:20px}
.r2k-issue-card{position:relative;width:min(560px,100%);background:#fff;border-radius:16px;padding:24px;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.r2k-issue-card label{display:block;margin-top:16px;font-weight:700}
.r2k-issue-card select,.r2k-issue-card textarea{display:block;width:100%;margin-top:7px;padding:10px;border:1px solid #ccd1d8;border-radius:9px;box-sizing:border-box;font:inherit}
.r2k-close{position:absolute;right:14px;top:10px;border:0;background:none;font-size:26px;cursor:pointer}
.r2k-send-issue{margin-top:18px;border:0;border-radius:9px;padding:11px 16px;background:#7b1720;color:#fff;font-weight:800;cursor:pointer}
.r2k-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,18px);z-index:2147483647;background:#181d24;color:#fff;padding:10px 16px;border-radius:10px;font-weight:700;opacity:0;pointer-events:none;transition:.18s}
.r2k-toast.show{opacity:1;transform:translate(-50%,0)}
.r2k-admin-monitoring{margin-top:28px}
.r2k-admin-note{opacity:.7}
.r2k-table-wrap{overflow:auto;margin:12px 0 28px}
.r2k-admin-monitoring table{width:100%;border-collapse:collapse;background:#fff}
.r2k-admin-monitoring th,.r2k-admin-monitoring td{padding:10px 12px;border-bottom:1px solid #e4e7eb;text-align:left;vertical-align:top}
.r2k-admin-monitoring th{font-size:13px;white-space:nowrap}

/* V80 — Administration repliable */
.r2k-admin-dashboard{margin-top:24px;display:grid;gap:12px}
.r2k-admin-dashboard.r2k-admin-locked{display:none!important}
.r2k-admin-accordion{border:1px solid #e1e5ea;border-radius:12px;background:#fff;overflow:hidden}
.r2k-admin-accordion-head{width:100%;border:0;background:#fff;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;font:inherit;font-weight:800;font-size:16px;cursor:pointer;text-align:left}
.r2k-chevron{font-size:25px;line-height:1;transform:rotate(0deg);transition:transform .18s ease}
.r2k-admin-accordion.open .r2k-chevron{transform:rotate(90deg)}
.r2k-admin-accordion-body{display:none;padding:0 18px 18px}
.r2k-admin-accordion.open .r2k-admin-accordion-body{display:block}
.r2k-users-toolbar{display:flex;justify-content:flex-end;margin-bottom:10px}
.r2k-add-user{border:0;border-radius:8px;padding:9px 13px;font-weight:700;cursor:pointer}
.r2k-user-name,.r2k-user-role{width:100%;box-sizing:border-box;padding:7px 8px;border:1px solid #d7dce2;border-radius:7px}

/* V82 — barre de session Administration */
.r2k-admin-session-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 14px;
  margin-bottom:12px;
  border:1px solid #e1e5ea;
  border-radius:10px;
  background:#f7f8fa;
  font-weight:700;
}
.r2k-admin-logout{
  border:0;
  border-radius:8px;
  padding:9px 13px;
  cursor:pointer;
  font-weight:800;
  background:#eceff3;
}

/* V99 — Reportage article web, UI sûre sans suppression de structure fonctionnelle */
#reportageWorkspace .reportage-context-hidden,
#reportageWorkspace .reportage-ai-notice-hidden{display:none!important}
#reportageWorkspace .article-field-actions{display:flex;gap:12px;width:100%}
#reportageWorkspace .article-field-actions>button{flex:1 1 0;width:50%;min-width:0}

/* V100 — Brève vers article web */
#briefWorkspace .brief-verified-info-hidden{display:none!important}
#briefWorkspace .brief-verified-info-hidden + textarea,
#briefWorkspace .brief-verified-info-hidden + div{display:none!important}
#briefWorkspace .brief-ai-notice-hidden{display:none!important}
#briefWorkspace .brief-article-field-actions{display:flex;gap:12px;width:100%}
#briefWorkspace .brief-article-field-actions>button{flex:1 1 0;width:50%;min-width:0}

/* V102 — Actions secondaires compactes et très lisibles
   Brève vers article web + Reportage article web */
#briefWorkspace .brief-article-field-actions,
#reportageWorkspace .article-field-actions{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
    gap:10px!important;
    width:100%!important;
}
#briefWorkspace .brief-article-field-actions > button,
#reportageWorkspace .article-field-actions > button{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    min-height:40px!important;
    padding:10px 18px!important;
    background:#5b0b68!important;
    color:#fff!important;
    border:1px solid #5b0b68!important;
    border-radius:8px!important;
    font-weight:700!important;
    line-height:1.2!important;
    white-space:nowrap!important;
}
#briefWorkspace .brief-article-field-actions > button:hover,
#reportageWorkspace .article-field-actions > button:hover{
    filter:brightness(.92);
}

/* V103 — alignement strict des actions Titre/Chapô sur les deux pages */
#reportageWorkspace .v103-action-row,
#briefWorkspace .v103-action-row{
    display:flex!important;
    flex-direction:row!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    gap:10px!important;
    width:auto!important;
    margin-top:12px!important;
    margin-bottom:10px!important;
}
#reportageWorkspace .v103-action-row > button,
#briefWorkspace .v103-action-row > button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    height:40px!important;
    min-height:40px!important;
    margin:0!important;
    padding:0 16px!important;
    box-sizing:border-box!important;
    background:#5b0b68!important;
    color:#fff!important;
    border:1px solid #5b0b68!important;
    border-radius:7px!important;
    font-weight:700!important;
    line-height:1!important;
    white-space:nowrap!important;
    text-align:center!important;
}

/* V104 — Copier l'article : même identité visuelle que les actions de copie titre/chapô */
#reportageWorkspace button[onclick="copyField('article')"],
#briefWorkspace button[onclick="copyField('briefArticle')"]{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    height:40px!important;
    min-height:40px!important;
    padding:0 16px!important;
    box-sizing:border-box!important;
    background:#5b0b68!important;
    color:#fff!important;
    border:1px solid #5b0b68!important;
    border-radius:7px!important;
    font-weight:700!important;
    line-height:1!important;
    white-space:nowrap!important;
    text-align:center!important;
}

/* V109 — compatibilité technique Brève, sans overlay ni interaction */
#briefWorkspace #briefContext.brief-context-technical-field{
    display:none!important;
    position:static!important;
    pointer-events:none!important;
}


/* ==========================================================
   V117 — Dégradé violet léger sur les blocs blancs de l'accueil
   Base V110 stable — aucune autre modification visuelle
   ========================================================== */

/* Bloc de bienvenue */
body:not(.shell-v2-active) #homeWorkspace .home-welcome,
body:not(.shell-v2-active) #homeWorkspace .welcome-card,
body:not(.shell-v2-active) #homeWorkspace .home-header {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 58%, #f6eef8 100%) !important;
}

/* Cartes principales du programme du jour */
body:not(.shell-v2-active) #homeWorkspace .home-program-card,
body:not(.shell-v2-active) #homeWorkspace .dashboard-card,
body:not(.shell-v2-active) #homeWorkspace .home-card {
  background: linear-gradient(145deg, #ffffff 0%, #ffffff 62%, #f7f0f9 100%) !important;
}

/* Ne jamais modifier visuellement Le saviez-vous ? */
body:not(.shell-v2-active) #homeWorkspace .did-you-know,
body:not(.shell-v2-active) #homeWorkspace .saviez-vous,
body:not(.shell-v2-active) #homeWorkspace .home-tip {
  background: revert;
}

/* V1 — statuts du Tableau blanc persistants après chaque rerender */
#whiteboardView .wb-story.wb-status-idee select.wb-status{
  background:#f1edf7!important;color:#654d82!important;font-weight:800!important;
}
#whiteboardView .wb-story.wb-status-tourne select.wb-status{
  background:#eaf4ed!important;color:#356448!important;font-weight:850!important;
}
#whiteboardView .wb-story.wb-status-zetta select.wb-status{
  background:#e9f0f7!important;color:#315b7b!important;font-weight:900!important;
}

/* V1 HOTFIX 2026-07-22 — Couleur de statut pilotée en dernier ressort par data-status.
   Ces règles sont volontairement en fin de feuille afin qu'une ancienne classe
   wb-status-idee résiduelle ne puisse plus imposer le violet. */
#whiteboardView .wb-story[data-status="idee"] select.wb-status{
  background:#f1edf7!important;color:#654d82!important;font-weight:800!important;
}
#whiteboardView .wb-story[data-status="tourne"] select.wb-status{
  background:#eaf4ed!important;color:#356448!important;font-weight:850!important;
}
#whiteboardView .wb-story[data-status="zetta"] select.wb-status{
  background:#e9f0f7!important;color:#315b7b!important;font-weight:900!important;
}


/* V1 HOTFIX 2026-07-22 — droits Administration + bloc utilisateur sidebar */
.admin-nav-group[style*="display: none"] { display: none !important; }

body:not(.shell-v2-active) .sidebar-user {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-areas:
        "avatar identity"
        "actions actions";
    align-items: center;
    gap: 8px 10px;
    margin: 22px 6px 0;
    padding: 14px 8px;
    border-top: 1px solid var(--border);
}
body:not(.shell-v2-active) .sidebar-user .user-avatar { grid-area: avatar; }
body:not(.shell-v2-active) .sidebar-user .user-info {
    grid-area: identity;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
body:not(.shell-v2-active) .sidebar-user .user-info strong,
body:not(.shell-v2-active) .sidebar-user .user-info small { width: 100%; }
body:not(.shell-v2-active) .sidebar-user .user-account-btn,
body:not(.shell-v2-active) .sidebar-user .logout-button {
    min-height: 30px;
    height: auto;
    margin: 0;
    padding: 6px 10px;
    white-space: normal;
    line-height: 1.2;
    font-size: 9px;
    border-radius: 8px;
    box-shadow: none;
}
body:not(.shell-v2-active) .sidebar-user .user-account-btn {
    margin-top: 8px;
    width: 100%;
}
body:not(.shell-v2-active) .sidebar-user .logout-button {
    grid-area: actions;
    justify-self: stretch;
    width: 100%;
    margin-top: 0;
}

/* V5 — espace Mon compte */
body:not(.shell-v2-active) .sidebar-user button.user-account-btn {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
    box-shadow: none;
}
body:not(.shell-v2-active) .sidebar-user button.user-account-btn:hover {
    background: var(--purple-light);
    border-color: var(--purple-light);
    box-shadow: 0 4px 10px rgba(82, 0, 92, 0.16);
    transform: translateY(-1px);
}
body:not(.shell-v2-active) .sidebar-user button.user-account-btn:active,
body:not(.shell-v2-active) .sidebar-user button.user-account-btn.active {
    background: var(--purple-dark);
    border-color: var(--purple-dark);
    color: #fff;
    transform: translateY(0);
}
body:not(.shell-v2-active) .sidebar-user button.user-account-btn.active:hover {
    background: var(--purple);
    border-color: var(--purple);
}
.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr);
    gap: 24px;
    align-items: start;
}
.account-card {
    margin-bottom: 0;
}
.account-form-grid,
.account-password-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.account-password-grid {
    grid-template-columns: 1fr;
}
.account-form-grid label,
.account-password-grid label {
    display: grid;
    gap: 7px;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
}
.account-form-grid label span {
    color: var(--muted);
    font-weight: 500;
}
.account-form-grid input,
.account-password-grid input {
    width: 100%;
    box-sizing: border-box;
}
.account-form-grid input[readonly] {
    background: #f3f4f6;
    border-color: #dfe2e6;
    color: #555d68;
    cursor: not-allowed;
}
.account-readonly {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #faf9fb;
}
.account-readonly h3 {
    margin: 0 0 5px;
}
.account-readonly > p,
.account-intro {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 13px;
}
.account-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}
.account-actions button {
    margin: 0;
}
.account-message {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}
.account-message[data-state="success"] {
    color: #287a46;
}
.account-message[data-state="error"] {
    color: var(--red);
}
@media (max-width: 900px) {
    .account-layout,
    .account-form-grid {
        grid-template-columns: 1fr;
    }
}


/* CANDIDATE TEST — Administration Tableau blanc lisible et prévisualisation planning */
#adminWhiteboardCard .wb-admin-grid{grid-template-columns:minmax(280px,1.15fr) minmax(390px,1.5fr) minmax(280px,1fr)!important;gap:24px!important;overflow-x:auto!important}
#adminWhiteboardCard .wb-admin-grid>div{min-width:0!important}
#adminWhiteboardCard #wbAdminSlots .wb-admin-row{grid-template-columns:minmax(150px,1fr) minmax(110px,.7fr) auto minmax(125px,.8fr) minmax(125px,.8fr) 52px!important}
#adminWhiteboardCard #wbAdminExtras .wb-admin-row,#adminWhiteboardCard #wbAdminJournalists .wb-admin-row{display:grid!important;grid-template-columns:minmax(160px,1fr) auto 52px!important;gap:8px!important;align-items:center!important;margin-bottom:10px!important}
#adminWhiteboardCard .wb-admin-row input,#adminWhiteboardCard .wb-admin-row select{min-width:0!important;width:100%!important}
#adminWhiteboardCard .photo-delete-btn{position:static!important;justify-self:end!important}
.v25-preview-note{font-size:12px;color:#68727e;margin:10px 0 0}.v25-week-preview-grid{display:grid;gap:16px;max-height:620px;overflow:auto;margin-top:14px}.v25-week-preview-grid section{padding:12px;border:1px solid #e5e9ed;border-radius:10px;background:#f9fafb}.v25-week-preview-grid h4{margin:0 0 10px}.v25-week-preview-grid .planning-table{font-size:11px}.v25-week-preview-grid td,.v25-week-preview-grid th{white-space:normal!important;min-width:105px}
@media(max-width:1150px){#adminWhiteboardCard .wb-admin-grid{grid-template-columns:1fr!important}#adminWhiteboardCard #wbAdminSlots .wb-admin-row{grid-template-columns:1fr 1fr auto 1fr 1fr 52px!important}}

/* V3 TEST — rendu initial neutre et stable */
.redac-boot-screen{
 position:fixed;inset:0;z-index:99999;display:flex;flex-direction:column;
 align-items:center;justify-content:center;background:#490154;gap:14px
}
.redac-boot-screen img{max-width:260px;width:42vw;height:auto}
.redac-boot-screen p{margin:0;color:rgba(255,255,255,.82);font-weight:600}
body:not(.redac-booting) .redac-boot-screen{display:none}
body.redac-booting #loginScreen,
body.redac-booting #appShell{visibility:hidden!important}

/* V3 — éviter la compression Créneaux / Colonnes spéciales */
.wb-admin-grid,.wb-config-grid,.wb-date-admin + .wb-admin-grid{
 column-gap:48px!important;row-gap:24px!important
}
@media (max-width:1100px){
 .wb-admin-grid,.wb-config-grid{grid-template-columns:1fr!important}
}

/* V4 — "Statut" (valeur vide) ne conserve jamais une ancienne couleur. */
#whiteboardView .wb-story[data-status=""] select.wb-status,
#whiteboardView .wb-story[data-status="none"] select.wb-status,
#whiteboardView .wb-story:not([data-status]) select.wb-status{
  background:#fff!important;
  color:inherit!important;
  font-weight:600!important;
  filter:none!important;
}

/* V4 — Configuration Tableau blanc : structure stable, sans chevauchement. */
#adminWhiteboardCard .wb-admin-grid{
  grid-template-columns:minmax(280px,1fr) minmax(0,2fr) minmax(300px,1fr)!important;
  grid-template-areas:
    "regions slots extras"
    "journalists journalists journalists"!important;
  column-gap:64px!important;
  row-gap:38px!important;
}
#adminWhiteboardCard .wb-admin-grid > div:nth-child(1){grid-area:regions;min-width:0}
#adminWhiteboardCard .wb-admin-grid > div:nth-child(2){grid-area:slots;min-width:620px}
#adminWhiteboardCard .wb-admin-grid > div:nth-child(3){grid-area:extras;min-width:300px}
#adminWhiteboardCard .wb-admin-grid > div:nth-child(4){grid-area:journalists;min-width:0}
#adminWhiteboardCard #wbAdminSlots .wb-admin-row{
  gap:10px!important;
}
#adminWhiteboardCard #wbAdminExtras .wb-admin-row{
  grid-template-columns:minmax(160px,1fr) auto 52px!important;
  gap:12px!important;
}
#adminWhiteboardCard #wbAdminSlots .photo-delete-btn,
#adminWhiteboardCard #wbAdminExtras .photo-delete-btn{
  position:static!important;
  justify-self:end!important;
  margin:0!important;
}
@media(max-width:1250px){
  #adminWhiteboardCard .wb-admin-grid{
    grid-template-columns:1fr!important;
    grid-template-areas:"regions" "slots" "extras" "journalists"!important;
  }
  #adminWhiteboardCard .wb-admin-grid > div:nth-child(2),
  #adminWhiteboardCard .wb-admin-grid > div:nth-child(3){min-width:0!important}
}


/* V4 CONSOLIDÉE 2026-07-23 — séparation réelle Créneaux / Colonnes spéciales.
   Chaque bloc occupe sa propre ligne : aucune collision horizontale possible. */
#adminWhiteboardCard .wb-admin-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-areas:
    "regions journalists"
    "slots slots"
    "extras extras"!important;
  gap:28px!important;
  overflow:visible!important;
  align-items:start!important;
}
#adminWhiteboardCard .wb-admin-regions{grid-area:regions!important}
#adminWhiteboardCard .wb-admin-journalists{grid-area:journalists!important}
#adminWhiteboardCard .wb-admin-slots{grid-area:slots!important}
#adminWhiteboardCard .wb-admin-extras{grid-area:extras!important}
#adminWhiteboardCard .wb-admin-section{
  min-width:0!important;
  padding:18px!important;
  border:1px solid #e5dfe7!important;
  border-radius:12px!important;
  background:#fff!important;
}
#adminWhiteboardCard .wb-admin-section>h3{margin-top:0!important}
#adminWhiteboardCard #wbAdminSlots .wb-admin-row{
  display:grid!important;
  grid-template-columns:minmax(150px,1.25fr) minmax(110px,.8fr) auto minmax(125px,1fr) minmax(125px,1fr) 52px!important;
  gap:8px!important;
  align-items:center!important;
  margin-bottom:10px!important;
}
#adminWhiteboardCard #wbAdminExtras .wb-admin-row{
  display:grid!important;
  grid-template-columns:minmax(180px,1fr) auto 52px!important;
  gap:10px!important;
  align-items:center!important;
  margin-bottom:10px!important;
}
@media(max-width:980px){
  #adminWhiteboardCard .wb-admin-grid{
    grid-template-columns:1fr!important;
    grid-template-areas:"regions" "journalists" "slots" "extras"!important;
  }
  #adminWhiteboardCard #wbAdminSlots .wb-admin-row{
    grid-template-columns:minmax(0,1fr) minmax(120px,.8fr) auto 52px!important;
  }
  #adminWhiteboardCard #wbAdminSlots .wb-admin-row input[type="date"]{grid-column:span 2!important}
}
@media(max-width:650px){
  #adminWhiteboardCard #wbAdminSlots .wb-admin-row,
  #adminWhiteboardCard #wbAdminExtras .wb-admin-row{grid-template-columns:1fr!important}
  #adminWhiteboardCard #wbAdminSlots .wb-admin-row input[type="date"]{grid-column:auto!important}
  #adminWhiteboardCard .photo-delete-btn{justify-self:start!important}
}
#adminWhiteboardCard .wb-admin-grid > div.wb-admin-slots,
#adminWhiteboardCard .wb-admin-grid > div.wb-admin-extras{min-width:0!important}

/* ========================================
   V5 — MESSAGERIE INTERNE ET MULTIRÉGION
======================================== */
.messaging-sidebar-item{position:relative}
.messaging-sidebar-item:focus-visible{outline:3px solid rgba(82,0,92,.22);outline-offset:2px}
.messaging-nav-badge{
  display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;
  margin-left:auto;padding:0 6px;border-radius:999px;background:#bd2026;color:#fff;
  font-size:10px;font-weight:900;line-height:1;
}
.messaging-nav-badge[hidden]{display:none}

.home-today-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.home-messaging-card{border-color:#ddd1e0;background:linear-gradient(145deg,#fff,#fbf7fc)}
.messaging-home-count{
  display:inline-flex;margin-left:auto;padding:3px 8px;border-radius:999px;
  background:#f4e8f5;color:var(--purple);font-size:10px;font-weight:900;
}
.messaging-home-count[hidden]{display:none}
button.messaging-home-item{
  display:block;width:100%;min-height:0;margin:0;padding:10px;text-align:left;
  border:1px solid transparent;border-radius:9px;background:#f6f8fa;color:var(--text);
  box-shadow:none;font-weight:400;
}
button.messaging-home-item:hover{border-color:#d8cedb;background:#fff;box-shadow:0 4px 12px rgba(35,20,40,.07)}
button.messaging-home-item.is-unread{border-left:4px solid var(--purple);background:#f8f1f9}
.messaging-home-item .home-feed-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}
.messaging-home-item .home-feed-bottom{justify-content:space-between}
.messaging-home-sender{font-size:11px;color:#68707b}
.messaging-home-attention{
  display:inline-flex;padding:3px 7px;border-radius:999px;background:#fff0e8;
  color:#8b421d;font-size:9px;font-weight:900;
}

.messaging-workspace{max-width:1500px;margin:0 auto}
.messaging-shell{
  display:grid;grid-template-columns:minmax(310px,.85fr) minmax(0,1.45fr);
  min-height:650px;padding:0!important;overflow:hidden;
}
.messaging-list-pane{min-width:0;border-right:1px solid #e5e0e7;background:#faf9fb}
.messaging-reader-pane{min-width:0;padding:25px;background:#fff}
.messaging-folders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:16px;border-bottom:1px solid #e5e0e7}
.messaging-archive-tools{padding:0 16px 14px;border-bottom:1px solid #e5e0e7}
.messaging-archive-tools[hidden]{display:none}
.messaging-archive-tools button{width:100%;min-height:42px;margin:0;border-color:#490154;color:#490154;font-weight:900}
button.messaging-folder{
  min-height:39px;margin:0;padding:7px 10px;border:1px solid #ded7e1;
  border-radius:8px;background:#fff;color:#4f4752;box-shadow:none;
}
button.messaging-folder:hover{background:#f4eef5;border-color:#cbbdce;box-shadow:none;transform:none}
button.messaging-folder.is-active{background:var(--purple);border-color:var(--purple);color:#fff}
.messaging-search{padding:0 16px 16px;border-bottom:1px solid #e5e0e7}
.messaging-search label{margin-top:14px;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.messaging-search input,.messaging-search select,.messaging-admin-card input[type="text"],.messaging-admin-card input[type="search"],.messaging-admin-card input[type="datetime-local"]{
  width:100%;min-height:43px;padding:8px 11px;border:1px solid #d8d2db;border-radius:8px;
  background:#fff;color:var(--text);font:inherit;
}
.messaging-search input:focus,.messaging-search select:focus,.messaging-admin-card input:focus,.messaging-admin-card textarea:focus{
  outline:none;border-color:var(--purple);box-shadow:0 0 0 3px rgba(82,0,92,.1);
}
.messaging-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.messaging-search-row button{min-height:43px;margin:0;padding:0 12px}
.messaging-state{min-height:24px;padding:10px 16px 0;color:#6d6570;font-size:12px}
.messaging-state[data-state="error"],.messaging-admin-status[data-state="error"]{color:#9a2028;font-weight:800}
.messaging-state[data-state="success"],.messaging-admin-status[data-state="success"]{color:#28613e;font-weight:800}
.messaging-state[data-state="loading"],.messaging-admin-status[data-state="loading"]{color:var(--purple);font-weight:800}
.messaging-list{display:grid;align-content:start;min-height:280px}
button.messaging-message-row{
  display:flex;flex-direction:column;align-items:stretch;gap:5px;width:100%;min-height:0;
  margin:0;padding:15px 17px;border:0;border-bottom:1px solid #e9e5ea;border-radius:0;
  background:#fff;color:var(--text);box-shadow:none;text-align:left;font-weight:400;
}
button.messaging-message-row:hover{background:#faf6fb;box-shadow:none;transform:none}
button.messaging-message-row.is-selected{background:#f2eaf3;box-shadow:inset 4px 0 0 var(--purple)}
button.messaging-message-row.is-unread{background:#fbf6fc}
button.messaging-message-row.is-unread .messaging-message-subject{font-weight:900;color:#2c1e30}
button.messaging-message-row.is-expired,button.messaging-message-row.is-withdrawn{background:#f7f7f7;color:#68616b}
.messaging-message-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.messaging-message-top time{font-size:10px;color:#77707a}
.messaging-type-chip{
  display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;
  font-size:9px;font-weight:900;letter-spacing:.03em;text-transform:uppercase;
}
.messaging-type-chip.is-information{background:#eaf1f8;color:#315b7b}
.messaging-type-chip.is-alert{background:#fbe8e9;color:#9c1f27}
.messaging-type-chip.is-poll{background:#eee8f4;color:#654d82}
.messaging-type-chip.is-planning{background:#e7f3eb;color:#356448}
.messaging-message-subject{display:block;font-size:14px;line-height:1.35}
.messaging-message-excerpt{display:block;overflow:hidden;color:#6e6871;font-size:12px;line-height:1.4}
.messaging-message-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:10px;color:#77707a}
.messaging-unread-dot{color:var(--purple);font-size:9px}
.messaging-list-flag,.messaging-reader-flag{
  display:inline-flex;padding:2px 6px;border-radius:999px;background:#eee9ef;color:#584e5c;
  font-size:9px;font-weight:800;
}
.messaging-pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding:15px}
.messaging-pagination button{min-height:36px;margin:0;padding:0 11px}
.messaging-pagination span{font-size:11px;color:#6e6871;font-weight:800}
.messaging-empty,.messaging-reader-empty{
  display:flex;min-height:260px;flex-direction:column;align-items:center;justify-content:center;
  padding:30px;text-align:center;color:#77707a;
}
.messaging-empty h2,.messaging-reader-empty h2{margin:10px 0 3px;padding:0;font-size:19px;color:#4f4652}
.messaging-empty h2::after,.messaging-reader-empty h2::after{display:none}
.messaging-empty p,.messaging-reader-empty p{margin:0}
.messaging-empty-icon,.messaging-reader-empty>span{font-size:34px;color:#bbaebd}
.messaging-mobile-back{display:none;margin:0 0 15px}
.messaging-reader{max-width:820px;margin:0 auto}
.messaging-reader-banner{margin-bottom:16px;padding:11px 13px;border-radius:9px;font-size:13px;font-weight:800}
.messaging-reader-banner.is-expired{background:#f0f0f0;color:#5f5962}
.messaging-reader-banner.is-withdrawn{background:#fbe9ea;color:#912129}
.messaging-reader-header{padding-bottom:18px;border-bottom:1px solid #e9e5ea}
.messaging-reader-chips{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.messaging-reader-header h2{margin:14px 0 5px;padding:0;font-size:27px;overflow-wrap:anywhere}
.messaging-reader-header h2::after{display:none}
.messaging-reader-meta{margin:0;color:#746c77;font-size:12px}
.messaging-reader-body{padding:24px 0;color:#302b32;font-size:15px;line-height:1.7}
.messaging-reader-body p,.messaging-journal-body,.messaging-admin-preview-body{white-space:pre-wrap;overflow-wrap:anywhere}
.messaging-reader-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding-top:17px;border-top:1px solid #e9e5ea}
.messaging-reader-actions button{margin:0}
.messaging-poll{margin:8px 0 24px;padding:18px;border:1px solid #dfd4e2;border-radius:12px;background:#faf7fb}
.messaging-poll h3{margin:0 0 13px}
.messaging-poll-confirmation{color:#28613e;font-weight:800}
.messaging-poll-form{display:grid;gap:8px}
.messaging-poll-option{
  display:flex;align-items:flex-start;gap:10px;margin:0;padding:11px;
  border:1px solid #e2dce4;border-radius:9px;background:#fff;cursor:pointer;
}
.messaging-poll-option input{margin-top:3px}
.messaging-poll-option-copy{display:flex;flex:1;flex-direction:column}
.messaging-poll-option-copy small{margin-top:2px;color:#756e78}
.messaging-poll-form>button{justify-self:start}

.messaging-admin-card{display:block}
.messaging-admin-intro,.messaging-admin-help{color:#6e6871;font-size:13px}
.messaging-admin-tabs{display:flex;gap:8px;margin:18px 0}
.messaging-admin-tabs button{margin:0}
.messaging-admin-tabs button.is-active{background:var(--purple);border-color:var(--purple);color:#fff}
.messaging-admin-status{min-height:25px;margin:5px 0 12px;font-size:13px}
.messaging-admin-steps{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
  margin:18px 0;padding:0;list-style:none;
}
.messaging-admin-steps li{padding:10px;border-radius:8px;background:#f1eef2;color:#776f79;font-size:12px;font-weight:900;text-align:center}
.messaging-admin-steps li.is-active{background:var(--purple);color:#fff}
.messaging-admin-steps li.is-complete{background:#e6f1ea;color:#356448}
.messaging-admin-step,.messaging-audience-grid>fieldset{
  min-width:0;margin:0;padding:18px;border:1px solid #e4dfe6;border-radius:12px;
}
.messaging-admin-step>legend,.messaging-audience-grid legend{padding:0 8px;color:var(--purple);font-weight:900}
.messaging-admin-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.messaging-admin-type-grid label{
  display:flex;align-items:flex-start;gap:9px;margin:0;padding:13px;border:1px solid #ded7e1;border-radius:9px;background:#fff;
}
.messaging-admin-type-grid label:has(input:checked){border-color:var(--purple);background:#f8f1f9;box-shadow:0 0 0 2px rgba(82,0,92,.08)}
.messaging-admin-type-grid input{margin-top:3px}
.messaging-admin-type-grid span{display:flex;flex-direction:column}
.messaging-admin-type-grid small{margin-top:3px;color:#776f79;font-weight:400}
.messaging-admin-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.messaging-admin-options label,.messaging-audience-all{margin:0;padding:11px;border-radius:8px;background:#f7f5f8}
.messaging-admin-options label:last-child{display:flex;flex-direction:column;gap:6px}
.messaging-admin-poll-options{margin-top:18px;padding:15px;border:1px solid #e3dce5;border-radius:10px;background:#faf8fb}
.messaging-admin-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.messaging-admin-section-head h3{margin:0}
.messaging-admin-section-head button{margin:0}
.messaging-admin-poll-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:9px}
.messaging-admin-poll-row button{min-height:43px;margin:0}
.messaging-step-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}
.messaging-step-actions button{margin:0}
.messaging-audience-count{
  margin:10px 0 16px;padding:12px 14px;border-radius:9px;background:#f1edf3;
  color:var(--purple);font-size:14px;font-weight:900;
}
.messaging-audience-count[data-state="success"]{background:#e8f3eb;color:#2f6843}
.messaging-audience-count[data-state="error"]{background:#fbe9ea;color:#98212a}
.messaging-audience-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.messaging-check-list,.messaging-audience-user-list{display:grid;gap:7px;max-height:330px;overflow:auto}
.messaging-check-list>label,.messaging-audience-user-list>label{
  display:flex;align-items:flex-start;gap:8px;margin:0;padding:9px;border-radius:7px;background:#f8f7f9;
}
.messaging-audience-user-list label span{display:flex;min-width:0;flex-direction:column}
.messaging-audience-user-list small{color:#756e78;overflow-wrap:anywhere}
.messaging-audience-search{margin:0 0 10px}
.messaging-audience-search input{margin-top:6px}
.messaging-admin-preview{padding:17px;border:1px solid #ded7e1;border-radius:11px;background:#faf9fb}
.messaging-admin-preview-header{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.messaging-admin-preview-header>strong{font-size:18px;overflow-wrap:anywhere}
.messaging-admin-preview-body{padding:13px 0;color:#3d3740}
.messaging-admin-preview-summary{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:7px 13px;margin:13px 0}
.messaging-admin-preview-summary dt{color:#716a74;font-weight:700}
.messaging-admin-preview-summary dd{margin:0;font-weight:900}
.messaging-admin-recipient-preview,.messaging-admin-exclusions{margin-top:12px;padding:11px;border-radius:8px;background:#fff}
.messaging-admin-recipient-preview p{margin:5px 0;overflow-wrap:anywhere}
.messaging-admin-confirm{display:flex;align-items:flex-start;gap:9px;margin-top:16px}
.messaging-journal-toolbar{display:flex;align-items:end;gap:12px;margin-bottom:15px}
.messaging-journal-toolbar label{flex:1;margin:0}
.messaging-journal-toolbar button{margin:0}
.messaging-journal-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.messaging-journal-item{padding:15px;border:1px solid #e1dce3;border-radius:10px;background:#fff}
.messaging-journal-item-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.messaging-journal-item h3{margin:12px 0 4px;font-size:16px}
.messaging-journal-item p{margin:0;color:#756e78;font-size:12px}
.messaging-journal-status{font-size:10px;font-weight:900;color:#665f69}
.messaging-journal-stats{display:flex;gap:7px;flex-wrap:wrap;margin-top:11px}
.messaging-journal-stats span{padding:4px 7px;border-radius:999px;background:#f1edf3;color:#5c4a61;font-size:10px;font-weight:800}
.messaging-journal-item button{margin-top:12px}
.messaging-journal-detail{margin-top:20px;padding:18px;border:1px solid #d9cddd;border-radius:12px;background:#faf7fb}
.messaging-journal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.messaging-journal-detail-head h3{margin:8px 0 0}
.messaging-journal-detail-head button{margin:0}
.messaging-admin-trace{padding:10px 12px;border-radius:8px;background:#f4ecef;color:#7d2630;font-size:12px;font-weight:800}
.messaging-journal-body{padding:15px 0}
.messaging-admin-poll-results{padding:12px;border-radius:9px;background:#fff}
.messaging-admin-poll-results h4{margin:0 0 8px}
.messaging-admin-poll-results p{margin:4px 0}

.v85-newsrooms-field{min-width:250px;margin:0;padding:8px 10px;border:1px solid #d7dce2;border-radius:8px}
.v85-newsrooms-field legend{padding:0 5px;color:var(--purple-dark);font-size:12px;font-weight:800}
.v85-newsroom-checks{display:flex;align-items:center;gap:6px 12px;flex-wrap:wrap}
.v85-newsroom-checks label{display:flex;align-items:center;gap:5px;margin:0;font-size:11px;font-weight:700}
.v85-user-create .v85-newsroom-checks input,
.v85-user-edit-form .v85-newsroom-checks input{width:auto!important;min-height:0!important;padding:0!important}
.v85-newsroom-checks label.is-primary{opacity:.55}
.v5-planning-notify{display:flex;align-items:center;gap:8px;margin:14px 0 2px;padding:10px 12px;border-radius:8px;background:#f7f2f8}
.v5-planning-publish-status{min-height:21px;margin:10px 0 0;font-size:12px;font-weight:700}
.v5-planning-publish-status[data-state="loading"]{color:#5d5360}
.v5-planning-publish-status[data-state="success"]{color:#24643b}
.v5-planning-publish-status[data-state="warning"]{color:#805d16}
.v5-planning-publish-status[data-state="error"]{color:#9d2533}

@media(max-width:1050px){
  .home-today-grid{grid-template-columns:1fr}
  .messaging-shell{grid-template-columns:minmax(280px,.85fr) minmax(0,1.25fr)}
  .messaging-admin-options,.messaging-admin-type-grid{grid-template-columns:1fr}
}
@media(max-width:899px){
  .messaging-shell{display:block;min-height:520px}
  .messaging-list-pane{border-right:0}
  .messaging-reader-pane{display:none;padding:17px}
  .messaging-workspace.is-reading .messaging-list-pane{display:none}
  .messaging-workspace.is-reading .messaging-reader-pane{display:block}
  .messaging-mobile-back{display:inline-flex}
  .messaging-reader-header h2{font-size:23px}
  .messaging-audience-grid,.messaging-journal-list{grid-template-columns:1fr}
}
@media(max-width:600px){
  .messaging-folders{grid-template-columns:1fr 1fr}
  .messaging-search-row{grid-template-columns:1fr}
  .messaging-search-row button{width:100%}
  .messaging-admin-steps li{font-size:10px;padding:8px 5px}
  .messaging-step-actions,.messaging-reader-actions,.messaging-admin-tabs{align-items:stretch;flex-direction:column}
  .messaging-step-actions button,.messaging-reader-actions button,.messaging-admin-tabs button{width:100%}
  .messaging-journal-toolbar{align-items:stretch;flex-direction:column}
  .messaging-journal-toolbar button{width:100%}
}

/* V5 — correctifs UX de la messagerie, accueil compact et navigation mobile. */
body:not(.shell-v2-active) .mobile-menu-toggle,body:not(.shell-v2-active) .mobile-menu-backdrop{display:none}

.home-today-grid{align-items:start}
.home-dashboard-card{min-height:0}
.home-dashboard-card .home-feed{flex:0 1 auto}
.home-dashboard-card .home-open-btn{margin-top:8px}

.v31-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px}
.v31-team-person{
  display:flex;min-width:0;align-items:baseline;gap:5px;padding:2px 0;
  white-space:nowrap;
}
.v31-team-person strong{flex:0 0 auto;color:#382f3b}
.v31-team-person em{
  min-width:0;overflow:hidden;text-overflow:ellipsis;color:#6f6872;font-style:normal;
}

button.messaging-folder{display:flex;align-items:center;justify-content:center;gap:7px}
.messaging-folder-badge{
  display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;
  padding:0 6px;border-radius:999px;background:var(--purple);color:#fff;
  font-size:9px;font-weight:900;line-height:1;
}
.messaging-folder-badge[hidden]{display:none}
button.messaging-folder.is-active .messaging-folder-badge{background:#fff;color:var(--purple)}
.messaging-list-flag.is-pending{background:#fff0e8;color:#8b421d}
.messaging-action-notice{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:12px 16px 0;padding:10px 12px;border-radius:9px;
  background:#f1f7f3;color:#28613e;font-size:12px;font-weight:800;
}
.messaging-action-notice[hidden]{display:none}
.messaging-action-notice[data-state="error"]{background:#fbe9ea;color:#9a2028}
.messaging-action-notice button{min-height:32px;margin:0;padding:0 10px}
.messaging-reader-header{background:#fff;color:var(--text)}
.messaging-reader-header h2{color:#2c1e30;background:transparent}

@media(max-width:899px){
  body:not(.shell-v2-active) html,body:not(.shell-v2-active) body,body:not(.shell-v2-active) #appShell,body:not(.shell-v2-active) .app-layout,body:not(.shell-v2-active) .workspace{max-width:100%;overflow-x:hidden}
  body.mobile-menu-open{overflow:hidden}
  body:not(.shell-v2-active) #appShell>header{
    position:sticky;top:0;z-index:1000;display:flex;align-items:center;justify-content:center;
    min-height:72px;padding:4px 15px;
  }
  body:not(.shell-v2-active) body:not(.shell-v2-active) #appShell>header .logo-redac{
    width:min(230px,70vw);height:64px;max-width:70vw;margin:0 auto;
    transform:scale(1.15);
  }
  body:not(.shell-v2-active) .mobile-menu-toggle{
    position:absolute;left:13px;z-index:2;display:inline-flex;align-items:center;justify-content:center;
    width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid rgba(255,255,255,.55);
    border-radius:9px;background:rgba(255,255,255,.12)!important;color:#fff!important;
    font-size:24px;line-height:1;box-shadow:none!important;
  }
  body:not(.shell-v2-active) .mobile-menu-toggle:hover,body:not(.shell-v2-active) .mobile-menu-toggle:focus-visible{
    background:rgba(255,255,255,.22)!important;transform:none;outline:3px solid rgba(255,255,255,.35);
  }
  body:not(.shell-v2-active) .app-layout{display:block!important;width:100%;padding:18px 12px 45px!important}
  body:not(.shell-v2-active) .workspace{width:100%!important;min-width:0!important}
  body:not(.shell-v2-active) .sidebar{
    position:fixed!important;top:72px!important;left:0!important;z-index:950;
    width:min(88vw,330px)!important;height:calc(100vh - 72px)!important;max-height:calc(100vh - 72px)!important;
    height:calc(100dvh - 72px)!important;max-height:calc(100dvh - 72px)!important;
    margin:0!important;border-radius:0 14px 0 0;transform:translateX(-105%);
    visibility:hidden;transition:transform .2s ease,visibility .2s ease;
  }
  body:not(.shell-v2-active) body.mobile-menu-open .sidebar{transform:translateX(0);visibility:visible}
  body:not(.shell-v2-active) .mobile-menu-backdrop{
    position:fixed;inset:72px 0 0;z-index:900;display:block;width:100%;height:auto;min-height:0;
    margin:0;padding:0;border:0;border-radius:0;background:rgba(22,16,25,.42)!important;
    opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s ease;
  }
  body:not(.shell-v2-active) body.mobile-menu-open .mobile-menu-backdrop{opacity:1;visibility:visible;pointer-events:auto}
  .v31-team-grid{grid-template-columns:1fr}
}

/* ========================================
   V5 — Desk Sport
   Même langage visuel que la messagerie : cartes sobres, onglets, badges,
   états explicites et actions tactiles. Les styles métier restent isolés.
======================================== */
.desk-sport-workspace{max-width:1500px;margin:0 auto}
.desk-sport-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:22px}
.desk-sport-heading-row>div{min-width:0}
.desk-sport-heading-row .desk-sport-admin-action{flex:0 0 auto;min-height:44px;margin:0 0 5px}
.desk-sport-shell{
  padding:22px!important;border-color:#ddd1e0;
  background:linear-gradient(145deg,#fff,#fbf8fc)
}
.desk-sport-tabs{align-items:center;margin:0 0 6px;padding-bottom:17px;
  border-bottom:1px solid #e5e0e7
}
#deskSportDashboardTab.is-active{background:var(--purple);border-color:var(--purple);color:#fff}
#deskSportTeamsTab{display:none!important}
.desk-sport-status.messaging-state{min-height:30px;padding:8px 0}
.desk-sport-notice.messaging-action-notice{margin:12px 0}
.desk-sport-content{display:grid;gap:18px;min-width:0}
.desk-sport-content>.desk-sport-empty{border:1px dashed #d9cfdd;border-radius:12px;background:#fff}
.desk-sport-empty button{margin-top:18px}

.desk-sport-setup{
  overflow:hidden;border:1px solid #ded6e1;border-radius:14px;background:#fff;
  box-shadow:0 8px 26px rgba(43,25,48,.07)
}
.desk-sport-setup-intro{padding:25px;background:linear-gradient(135deg,#f6eef7,#fff)}
.desk-sport-kicker{
  display:block;margin-bottom:8px;color:var(--purple);font-size:10px;
  font-weight:900;letter-spacing:.08em
}
.desk-sport-setup-intro h2,.desk-sport-list-header h2{
  margin:0;padding:0;color:#2c1e30;font-size:25px
}
.desk-sport-setup-intro h2::after,.desk-sport-list-header h2::after{display:none}
.desk-sport-setup-intro p,.desk-sport-list-header p{
  max-width:760px;margin:8px 0 0;color:#6e6871;line-height:1.55
}
.desk-sport-setup>.desk-sport-team-grid{padding:22px}
.desk-sport-setup-actions{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:18px 22px;border-top:1px solid #e9e4ea;background:#faf9fb
}
.desk-sport-setup-actions p{margin:0;color:#6e6871;font-size:12px}
.desk-sport-setup-actions button{flex:0 0 auto;min-height:44px;margin:0}

.desk-sport-list-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.desk-sport-list-count{
  flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#f0e8f2;
  color:var(--purple);font-size:11px;font-weight:900
}
.desk-sport-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.desk-sport-team-card{
  display:flex;min-width:0;flex-direction:column;justify-content:space-between;
  gap:18px;padding:18px;border:1px solid #e2dce4;border-radius:12px;background:#fff;
  box-shadow:0 5px 16px rgba(38,22,43,.05)
}
.desk-sport-team-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.desk-sport-team-identity{display:flex;min-width:0;align-items:center;gap:12px}
.desk-sport-team-icon{
  display:inline-flex;flex:0 0 42px;width:42px;height:42px;align-items:center;
  justify-content:center;border-radius:12px;background:#f1e8f3;color:var(--purple);
  font-size:17px
}
.desk-sport-team-identity h3{margin:0;color:#2f2432;font-size:17px;overflow-wrap:anywhere}
.desk-sport-team-identity p{margin:5px 0 0;color:#716a74;font-size:12px;line-height:1.45}
.desk-sport-team-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.desk-sport-team-actions button{min-height:42px;margin:0}
.desk-sport-team-actions small{color:#77707a;text-align:right}

.desk-sport-badge-row{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.desk-sport-badge{
  display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;
  background:#eee9ef;color:#584e5c;font-size:9px;font-weight:900;
  letter-spacing:.02em;white-space:nowrap
}
.desk-sport-badge.is-followed{background:#e8f3eb;color:#2f6843}
.desk-sport-badge.is-mandatory{background:#eaf1f8;color:#315b7b}
.desk-sport-badge.is-season-finished{background:#eee8f4;color:#654d82}
.desk-sport-badge.is-season-active{background:#e8f3eb;color:#2f6843}
.desk-sport-badge.is-pending{background:#fff0e8;color:#8b421d}
.desk-sport-badge.is-finished{background:#e8f3eb;color:#2f6843}
.desk-sport-badge.is-scheduled{background:#eaf1f8;color:#315b7b}
.desk-sport-badge.is-neutral{background:#f0f0f0;color:#5f5962}

.desk-sport-dashboard-team{
  overflow:visible;border:1px solid #ded6e1;border-radius:14px;background:#fff;
  box-shadow:0 8px 24px rgba(38,22,43,.06)
}
.desk-sport-dashboard-header{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  overflow:visible;padding:22px 24px;border-bottom:1px solid #e8e2ea;
  background:linear-gradient(135deg,#fff,#faf5fb);color:#2c1e30;
  text-align:left;box-shadow:none
}
.desk-sport-dashboard-header::after{content:none;display:none}
.desk-sport-dashboard-team.is-collapsed .desk-sport-dashboard-header{
  padding-top:17px;padding-bottom:17px;border-bottom:0
}
.desk-sport-dashboard-title{min-width:0}
.desk-sport-dashboard-header h2{margin:0;padding:0;color:#2c1e30;font-size:25px}
.desk-sport-dashboard-header h2::after{display:none}
.desk-sport-dashboard-header p{
  position:static;margin:6px 0 0;color:#6e6871;font-size:13px;opacity:1
}
.desk-sport-dashboard-glance{
  display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:10px
}
.desk-sport-dashboard-glance span{
  display:inline-flex;max-width:100%;align-items:center;padding:5px 8px;
  border-radius:8px;background:#f3eef4;color:#5d5260;font-size:10px;
  font-weight:800;overflow-wrap:anywhere
}
.desk-sport-dashboard-glance span.is-pending{background:#fff0e8;color:#8b421d}
.desk-sport-dashboard-glance .desk-sport-dashboard-position{
  background:#edf3f8;color:#315b7b
}
.desk-sport-dashboard-controls{
  display:flex;flex:0 0 auto;align-items:flex-end;flex-direction:column;gap:10px
}
.desk-sport-dashboard-actions{
  display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap
}
.desk-sport-team-unfollow{
  display:inline-flex;min-height:42px;align-items:center;justify-content:center;
  margin:0;padding:0 14px;border:1px solid #c96b70!important;
  background:#fff!important;color:#98212a!important;box-shadow:none!important;white-space:nowrap
}
.desk-sport-team-unfollow:hover{
  border-color:#98212a!important;background:#fff4f4!important;transform:none!important
}
.desk-sport-team-toggle{
  display:inline-flex;min-height:42px;align-items:center;justify-content:center;
  gap:8px;margin:0;white-space:nowrap
}
.desk-sport-toggle-chevron{font-size:16px;line-height:1}
.desk-sport-team-toggle:focus-visible,.desk-sport-section-toggle:focus-visible{
  outline:3px solid rgba(112,55,114,.28);outline-offset:3px
}
.desk-sport-dashboard-details{min-width:0}
.desk-sport-offseason{
  display:flex;align-items:flex-start;gap:13px;margin:20px 24px 0;padding:16px;
  border:1px solid #ded2e2;border-radius:11px;background:#f8f2f9;color:#4c3a51
}
.desk-sport-offseason-icon{
  display:inline-flex;flex:0 0 34px;width:34px;height:34px;align-items:center;
  justify-content:center;border-radius:50%;background:#fff;color:var(--purple);
  font-size:19px;font-weight:900
}
.desk-sport-offseason h3{margin:0;font-size:15px}
.desk-sport-offseason p{margin:4px 0 0;line-height:1.5}
.desk-sport-season-message{margin:20px 24px 0}
.desk-sport-stale-warning,.desk-sport-result-warning{display:flex;flex-direction:column;gap:4px;border-radius:10px}
.desk-sport-stale-warning{margin:15px 24px 0;padding:13px 15px;background:#fff4e8;color:#7b431e}
.desk-sport-stale-warning span,.desk-sport-result-warning span{font-size:12px;line-height:1.45}
.desk-sport-section{padding:21px 24px;border-top:1px solid #eee9ef}
.desk-sport-offseason+.desk-sport-section,.desk-sport-stale-warning+.desk-sport-section{margin-top:20px}
.desk-sport-section h3,.desk-sport-last-update h3{margin:0 0 13px;color:#423646;font-size:16px}
.desk-sport-match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.desk-sport-match-card{
  min-width:0;padding:15px;border:1px solid #e3dde5;border-radius:11px;background:#fcfbfc
}
.desk-sport-match-meta{
  display:flex;align-items:center;justify-content:space-between;gap:9px;
  margin-bottom:14px;color:#77707a;font-size:10px
}
.desk-sport-scoreline{
  display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;gap:10px
}
.desk-sport-score-team{font-size:13px;font-weight:800;overflow-wrap:anywhere}
.desk-sport-score-team:last-child{text-align:right}
.desk-sport-score{
  min-width:64px;padding:7px 8px;border-radius:8px;background:#f0e9f2;
  color:#37283b;font-size:17px;text-align:center
}
.desk-sport-result-warning{margin-top:13px;padding:11px;background:#fff0e8;color:#7c3f1d}
.desk-sport-result-warning a{margin-top:3px;color:#703772;font-size:11px;font-weight:800}
.desk-sport-next-match .desk-sport-match-card{max-width:720px;background:#faf6fb}
.desk-sport-section-toggle{
  display:flex;min-height:42px;align-items:center;justify-content:center;
  margin:14px 0 0
}
.desk-sport-inline-empty{
  margin:0;padding:18px;border:1px dashed #dcd4df;border-radius:10px;
  background:#faf9fb;color:#77707a;text-align:center
}

.desk-sport-standings-wrap{overflow:hidden;border:1px solid #e2dce4;border-radius:10px;background:#fff}
.desk-sport-standings{width:100%;border-collapse:collapse}
.desk-sport-standings th,.desk-sport-standings td{
  padding:10px 12px;border-bottom:1px solid #eee9ef;text-align:center;font-size:12px
}
.desk-sport-standings th{
  background:#f6f2f7;color:#645769;font-size:10px;text-transform:uppercase;letter-spacing:.04em
}
.desk-sport-standings th:nth-child(2),.desk-sport-standings td:nth-child(2){text-align:left}
.desk-sport-standings tbody tr:last-child td{border-bottom:0}
.desk-sport-standings tbody tr.is-followed{background:#f8f1f9;font-weight:900}
.desk-sport-standings-summary th,.desk-sport-standings-summary td{padding-top:8px;padding-bottom:8px}
.desk-sport-standings-summary tbody tr.is-followed{
  box-shadow:inset 4px 0 0 var(--purple)
}
.desk-sport-last-update{margin:0 24px 22px;padding:15px;border-radius:10px;background:#f7f5f8}
.desk-sport-last-update h3{margin-bottom:5px}
.desk-sport-last-update p{margin:0;color:#5e5661;font-size:12px}
.desk-sport-last-update small{display:block;margin-top:5px;color:#7b5b33}

@media(max-width:1050px){
  .desk-sport-team-grid,.desk-sport-match-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .desk-sport-heading-row,.desk-sport-dashboard-header,.desk-sport-list-header{
    align-items:stretch;flex-direction:column
  }
  .desk-sport-heading-row .desk-sport-admin-action{width:100%;margin:0}
  .desk-sport-shell{padding:16px!important}
  .desk-sport-dashboard-header{padding:18px}
  .desk-sport-dashboard-header .desk-sport-badge-row{justify-content:flex-start}
  .desk-sport-dashboard-controls{width:100%;align-items:stretch}
  .desk-sport-dashboard-controls .desk-sport-badge-row{order:2}
  .desk-sport-dashboard-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .desk-sport-dashboard-actions>:only-child{grid-column:1/-1}
  .desk-sport-team-unfollow,.desk-sport-team-toggle{width:100%}
  .desk-sport-dashboard-glance{align-items:stretch;flex-direction:column}
  .desk-sport-dashboard-glance span{width:100%;box-sizing:border-box}
  .desk-sport-offseason,.desk-sport-stale-warning{margin-left:18px;margin-right:18px}
  .desk-sport-section{padding:19px 18px}
  .desk-sport-section-toggle{width:100%}
  .desk-sport-last-update{margin:0 18px 18px}
  .desk-sport-standings-wrap{
    overflow-x:auto;border:1px solid #e2dce4;border-radius:10px;background:#fff;
    -webkit-overflow-scrolling:touch
  }
  .desk-sport-standings{
    display:table;width:100%;min-width:0;table-layout:fixed;border-collapse:collapse
  }
  .desk-sport-standings thead{
    position:static;display:table-header-group;width:auto;height:auto;overflow:visible;clip:auto
  }
  .desk-sport-standings tbody{display:table-row-group}
  .desk-sport-standings tr{
    display:table-row;margin:0;padding:0;border:0;border-radius:0;background:transparent
  }
  .desk-sport-standings th,.desk-sport-standings td,.desk-sport-standings th:nth-child(2),.desk-sport-standings td:nth-child(2){
    display:table-cell;padding:8px 5px;border-bottom:1px solid #eee9ef;
    font-size:11px;line-height:1.25;text-align:center;vertical-align:middle
  }
  .desk-sport-standings th{font-size:9px}
  .desk-sport-standings th:first-child,.desk-sport-standings td:first-child{width:34px}
  .desk-sport-standings th:nth-child(2),.desk-sport-standings td:nth-child(2){
    width:auto;text-align:left;white-space:normal;overflow-wrap:anywhere
  }
  .desk-sport-standings th:nth-child(n+3),.desk-sport-standings td:nth-child(n+3){width:31px}
  .desk-sport-standings td::before{display:none;content:none}
  .desk-sport-standings tbody tr.is-followed{
    background:#f8f1f9;box-shadow:inset 3px 0 0 var(--purple)
  }
}
@media(max-width:600px){
  .desk-sport-setup-intro{padding:20px}
  .desk-sport-setup>.desk-sport-team-grid{padding:16px}
  .desk-sport-setup-actions,.desk-sport-team-card-heading,.desk-sport-team-actions{
    align-items:stretch;flex-direction:column
  }
  .desk-sport-setup-actions button,.desk-sport-team-actions button{width:100%}
  .desk-sport-team-actions small{text-align:left}
  .desk-sport-team-card-heading .desk-sport-badge-row{justify-content:flex-start}
  .desk-sport-scoreline{grid-template-columns:1fr auto 1fr;gap:6px}
  .desk-sport-score{min-width:55px;font-size:15px}
  .desk-sport-match-meta{align-items:flex-start;flex-direction:column}
}

@media(max-width:420px){
  .desk-sport-dashboard-actions{grid-template-columns:1fr}
}

/* V5 Desk Sport — sélection éditoriale persistante. */
.desk-sport-match-selection-actions{
  display:flex;
  justify-content:flex-end;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #e7e9ed;
}
.desk-sport-match-select{
  min-height:42px;
  margin:0;
}
.desk-sport-match-select.is-selected{
  border-color:#6e385f;
  background:#f5edf3;
  color:#5b274d;
}
@media(max-width:620px){
  .desk-sport-match-selection-actions{justify-content:stretch}
  .desk-sport-match-select{width:100%}
}

/* Desk Sport — sélection du week-end et projections factuelles. */
.desk-sport-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.desk-sport-tabs button{flex:0 0 auto;min-height:42px;margin:0;white-space:nowrap}
.desk-sport-nav-count{
  display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;
  margin-left:6px;padding:0 6px;border-radius:999px;background:#ede4ef;
  color:#5e2d61;font-size:10px;font-weight:900
}
.desk-sport-editorial-header{
  display:flex;align-items:flex-start;justify-content:space-between;gap:20px;
  padding:22px;border:1px solid #e2d9e5;border-radius:14px;
  background:linear-gradient(135deg,#fff,#faf5fb)
}
.desk-sport-editorial-header h2{margin:0;color:#2c1e30;font-size:25px}
.desk-sport-editorial-header h2::after{display:none}
.desk-sport-editorial-header p{max-width:720px;margin:7px 0 0;color:#6e6871;line-height:1.5}
.desk-sport-editorial-counters{display:grid;grid-template-columns:repeat(4,minmax(72px,1fr));gap:8px}
.desk-sport-editorial-counters span{
  display:flex;min-width:0;flex-direction:column;align-items:center;padding:10px;
  border-radius:10px;background:#f1eaf3;color:#5b465e
}
.desk-sport-editorial-counters strong{font-size:19px}
.desk-sport-editorial-counters small{font-size:9px;font-weight:800;text-transform:uppercase}
.desk-sport-editorial-filters{
  display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:16px 0;padding:14px;
  border:1px solid #e6e0e8;border-radius:11px;background:#faf9fb
}
.desk-sport-editorial-filter{display:flex;min-width:170px;flex-direction:column;gap:5px}
.desk-sport-editorial-filter span{color:#655b68;font-size:10px;font-weight:900;text-transform:uppercase}
.desk-sport-editorial-filter select{min-height:42px;margin:0}
.desk-sport-editorial-group{margin-top:20px}
.desk-sport-editorial-group-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px
}
.desk-sport-editorial-group-head h3{
  margin:0;color:#46364a;font-size:16px;text-transform:capitalize
}
.desk-sport-copy-group{min-height:42px;margin:0}
.desk-sport-editorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.desk-sport-editorial-card{
  min-width:0;padding:17px;border:1px solid #e0d9e3;border-radius:12px;background:#fff;
  box-shadow:0 5px 16px rgba(38,22,43,.05)
}
.desk-sport-editorial-card[data-state="conflicting"],
.desk-sport-editorial-card[data-state="source_unavailable"],
.desk-sport-editorial-card[data-state="unresolved"]{border-color:#d99b73;background:#fffaf6}
.desk-sport-editorial-card.is-highlighted{
  border-color:#8d5a90;box-shadow:0 0 0 2px rgba(112,55,114,.12),0 8px 20px rgba(38,22,43,.08)
}
.desk-sport-editorial-card.is-highlighted::before{
  display:block;margin-bottom:10px;color:#703772;content:"Mise en avant Chrono Sport";
  font-size:10px;font-weight:900;text-transform:uppercase
}
.desk-sport-editorial-card.is-minute-excluded{opacity:.68;border-style:dashed}
.desk-sport-editorial-card.is-minute-excluded::after{
  display:block;margin-top:10px;color:#765d43;content:"Écarté temporairement du Chrono Sport";
  font-size:10px;font-weight:900
}
.desk-sport-editorial-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.desk-sport-editorial-card-head h3{margin:0;color:#302433;font-size:18px}
.desk-sport-editorial-card-head p{margin:5px 0 0;color:#716a74;font-size:12px}
.desk-sport-editorial-state{
  flex:0 0 auto;max-width:190px;padding:5px 8px;border-radius:999px;
  background:#eaf1f8;color:#315b7b;font-size:9px;font-weight:900;text-align:center
}
.desk-sport-editorial-state.is-played_confirmed{background:#e8f3eb;color:#2f6843}
.desk-sport-editorial-state.is-forfeited{background:#f1eef8;color:#604783}
.desk-sport-editorial-state.is-conflicting,
.desk-sport-editorial-state.is-source_unavailable,
.desk-sport-editorial-state.is-unresolved,
.desk-sport-editorial-state.is-played_missing_result{background:#fff0e8;color:#8b421d}
.desk-sport-editorial-facts{
  display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px 12px;margin:16px 0
}
.desk-sport-editorial-facts dt{color:#746d77;font-size:10px;font-weight:800;text-transform:uppercase}
.desk-sport-editorial-facts dd{margin:0;color:#3f3442;font-size:12px;overflow-wrap:anywhere}
.desk-sport-editorial-warning{padding:11px;border-radius:9px;background:#fff0e8;color:#7c3f1d}
.desk-sport-editorial-warning p{margin:4px 0 0;font-size:11px;line-height:1.4}
.desk-sport-editorial-copy{
  margin:13px 0;padding:11px;border-left:3px solid #8d5a90;background:#f8f4f9;
  color:#493c4d;font-size:12px;line-height:1.5
}
.desk-sport-editorial-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.desk-sport-editorial-actions>*{
  display:inline-flex;min-height:42px;align-items:center;justify-content:center;
  box-sizing:border-box;margin:0
}
.desk-sport-selection-remove{border-color:#c96b70!important;color:#98212a!important}
@media(max-width:1050px){
  .desk-sport-editorial-grid{grid-template-columns:1fr}
  .desk-sport-editorial-header{align-items:stretch;flex-direction:column}
}
@media(max-width:700px){
  .desk-sport-editorial-counters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .desk-sport-editorial-filter{width:100%;min-width:0}
  .desk-sport-editorial-card-head{align-items:stretch;flex-direction:column}
  .desk-sport-editorial-state{max-width:none;align-self:flex-start}
  .desk-sport-editorial-actions{display:grid;grid-template-columns:1fr}
  .desk-sport-editorial-actions>*{width:100%}
  .desk-sport-editorial-group-head{align-items:stretch;flex-direction:column}
  .desk-sport-copy-group{width:100%}
}

/* Conférences de rédaction — éditeur intégré à l'administration. */
.v6-conference-admin{display:flex;flex-direction:column;gap:16px}
.v6-conference-admin-status{min-height:0;font-size:13px;font-weight:800}
.v6-conference-admin-status:not(:empty){padding:11px 13px;border-radius:9px;background:#f2edf4;color:#49314e}
.v6-conference-admin-status[data-state="success"]{background:#e8f4ec;color:#24643b}
.v6-conference-admin-status[data-state="error"]{background:#fff0f0;color:#9a2430}
.v6-conference-list{display:flex;flex-direction:column;gap:16px}
.v6-conference-editor{padding:18px;border:1px solid #ded5e1;border-radius:13px;background:#fff;box-shadow:0 5px 15px rgba(39,20,43,.05)}
.v6-conference-editor-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;color:#490154}
.v6-conference-active{display:inline-flex;align-items:center;gap:7px;color:#55495a;font-size:13px;font-weight:800}
.v6-conference-active input{width:auto;margin:0}
.v6-conference-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(120px,.7fr) minmax(115px,.6fr);gap:12px}
.v6-conference-field{display:flex;min-width:0;flex-direction:column;gap:6px;margin:0 0 14px}
.v6-conference-field>span,.v6-conference-audience-title,.v6-conference-days legend{color:#574b5b;font-size:12px;font-weight:900}
.v6-conference-field input,.v6-conference-field select{width:100%;min-height:44px;box-sizing:border-box;margin:0}
.v6-conference-field-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}
.v6-conference-test{display:inline-flex;min-height:44px;align-items:center;justify-content:center;box-sizing:border-box;padding:0 16px;border:1px solid #490154;border-radius:8px;background:#490154;color:#fff!important;font-size:13px;font-weight:900;text-decoration:none}
.v6-conference-test:hover{background:#63016f;color:#fff!important}
.v6-conference-test[aria-disabled="true"]{pointer-events:none;opacity:.46}
.v6-conference-days{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 14px;padding:0;border:0}
.v6-conference-days legend{width:100%;margin-bottom:2px}
.v6-conference-days label{position:relative;margin:0}
.v6-conference-days input{position:absolute;opacity:0;pointer-events:none}
.v6-conference-days span{display:inline-flex;min-width:43px;min-height:39px;align-items:center;justify-content:center;box-sizing:border-box;border:1px solid #d5cbd8;border-radius:8px;background:#faf8fb;color:#574b5b;font-size:12px;font-weight:900;cursor:pointer}
.v6-conference-days input:checked+span{border-color:#490154;background:#490154;color:#fff}
.v6-conference-audience{margin:-2px 0 16px;padding:13px;border-radius:10px;background:#f7f3f8}
.v6-conference-users{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:9px}
.v6-conference-user{display:flex;align-items:flex-start;gap:7px;margin:0;padding:8px;border:1px solid #e2dbe4;border-radius:8px;background:#fff;color:#4e4352;font-size:12px}
.v6-conference-user input{width:auto;margin:2px 0 0}
.v6-conference-user small{display:block;color:#6e4873;font-weight:900}
.v6-conference-user.is-required{border-color:#b998bd;background:#fbf6fc}
.v6-conference-empty-users{margin:8px 0 0;color:#766d79;font-size:12px}
.v6-conference-actions{display:flex;gap:10px;justify-content:flex-end}
.v6-conference-actions button,.v6-conference-add{min-height:44px;margin:0}
.v6-conference-add{align-self:flex-start}
@media(max-width:900px){
  .v6-conference-grid{grid-template-columns:1fr 1fr}
  .v6-conference-name{grid-column:1/-1}
  .v6-conference-users{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .v6-conference-grid,.v6-conference-users,.v6-conference-field-row{grid-template-columns:1fr}
  .v6-conference-test{width:100%}
  .v6-conference-actions{display:grid;grid-template-columns:1fr}
  .v6-conference-actions button,.v6-conference-add{width:100%}
}
/* État des sauvegardes du Tableau blanc et du Répertoire. */
.shared-save-status{padding:12px 14px;margin:10px 0;border:1px solid #d9cadd;border-radius:10px;background:#faf7fb;overflow-wrap:anywhere}
.shared-save-status p{margin:0 0 8px}
.shared-save-status button{min-height:44px;max-width:100%;margin:4px 8px 4px 0;white-space:normal}

/* Shared tokens remain stable before and after the Studio stylesheet loads. */
:root{
  --launch-purple:#490154;
  --launch-purple-dark:#35003d;
  --launch-ink:#28222a;
  --launch-muted:#706874;
  --launch-line:#e4dde6;
  --launch-soft:#f7f2f8;
  --studio-metal:#c7c5c0;
  --studio-panel:#202326;
  --studio-blue:#426f9d;
  --studio-blue-dark:#244765;
}
