/* _content/S3-Hub.Web/Components/Dialogs-Stocks/AddNewItem.razor.rz.scp.css */
/* =================================================================
   AddNewItem Dialog - Styles spécifiques
   (Les styles communs sont dans CommonStyle.css)
   ================================================================= */

.dialog-overlay[b-bc4xm7oiud] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dialog[b-bc4xm7oiud] {
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideIn-b-bc4xm7oiud 0.3s ease-out;
}

/* Animation d'entrée */
@keyframes slideIn-b-bc4xm7oiud {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* _content/S3-Hub.Web/Components/Dialogs-Stocks/ArticleDetailsDrawer.razor.rz.scp.css */
/* ============================================
           DRAWER - STYLES COMPLETS ET NETTOYÉS
           ============================================ */

/* Conteneur principal du drawer */
.drawer-conteneur[b-s3h0u3j3fi] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 800px;
    z-index: 1300;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: slideInRight-b-s3h0u3j3fi 0.3s ease-out;
}

/* Zone de contenu scrollable */
.drawer-contenu[b-s3h0u3j3fi] {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

/* Header du drawer */
.drawer-header-title[b-s3h0u3j3fi] {
    padding: 20px 24px;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

    .drawer-header-title h2[b-s3h0u3j3fi] {
        font-size: 1.25rem;
        font-weight: 600;
        color: #333;
        margin: 0;
    }

.drawer-close-btn[b-s3h0u3j3fi] {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    line-height: 1;
}

    .drawer-close-btn:hover[b-s3h0u3j3fi] {
        background: #f5f5f5;
        color: #333;
    }

/* Footer avec boutons d'action */
.drawer-dialog-actions[b-s3h0u3j3fi] {
    padding: 16px 24px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #fafafa;
}

.drawer-btn[b-s3h0u3j3fi] {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.drawer-btn-cancel[b-s3h0u3j3fi] {
    background: white;
    color: #666;
    border: 1px solid #ddd;
}

    .drawer-btn-cancel:hover[b-s3h0u3j3fi] {
        background: #f5f5f5;
    }

.drawer-btn-primary[b-s3h0u3j3fi] {
    background: var(--common-gradient);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

    .drawer-btn-primary:hover[b-s3h0u3j3fi] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 157, 196, 0.4);
    }

/* Grille de formulaire */
.drawer-form-grid[b-s3h0u3j3fi] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

/* Colonnes */
.drawer-col-12[b-s3h0u3j3fi] {
    grid-column: span 12;
}

.drawer-col-6[b-s3h0u3j3fi] {
    grid-column: span 6;
}

.drawer-col-4[b-s3h0u3j3fi] {
    grid-column: span 4;
}

.drawer-col-3[b-s3h0u3j3fi] {
    grid-column: span 3;
}

/* Groupes de formulaire */
.drawer-form-group[b-s3h0u3j3fi] {
    display: flex;
    flex-direction: column;
}

    .drawer-form-group label[b-s3h0u3j3fi] {
        font-size: 13px;
        color: #666;
        margin-bottom: 6px;
        font-weight: 500;
    }

.drawer-required[b-s3h0u3j3fi] {
    color: #f44336;
}

.badge[b-s3h0u3j3fi] {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}

.badge-red[b-s3h0u3j3fi] {
    background: #fce8e6;
    color: #c5221f;
}


/* Inputs et textareas */
.drawer-form-group input[type="text"][b-s3h0u3j3fi],
.drawer-form-group input[type="number"][b-s3h0u3j3fi],
.drawer-form-group textarea[b-s3h0u3j3fi] {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    transition: all 0.2s;
    background: white;
}

    .drawer-form-group input[type="text"]:focus[b-s3h0u3j3fi],
    .drawer-form-group input[type="number"]:focus[b-s3h0u3j3fi],
    .drawer-form-group textarea:focus[b-s3h0u3j3fi] {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

.drawer-form-group textarea[b-s3h0u3j3fi] {
    resize: vertical;
    min-height: 70px;
}

/* Input avec icône (pour le prix) */
.drawer-input-with-icon[b-s3h0u3j3fi] {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 130px;
}

.drawer-input-icon[b-s3h0u3j3fi] {
    position: absolute;
    right: 12px;
    color: #666;
    font-weight: 500;
    pointer-events: none;
    z-index: 1;
}

.drawer-input-with-icon input[b-s3h0u3j3fi] {
    padding-right: 35px !important; /* Espace pour le symbole € */
    width: 100%;
}

/* Radio buttons horizontaux */
.drawer-radio-group-horizontal[b-s3h0u3j3fi] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.drawer-radio-label-inline[b-s3h0u3j3fi] {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
}

    .drawer-radio-label-inline:hover[b-s3h0u3j3fi] {
        border-color: #667eea;
        background: #f8f9ff;
    }

    .drawer-radio-label-inline input[type="radio"][b-s3h0u3j3fi] {
        margin-right: 8px;
        width: 14px;
        height: 14px;
        cursor: pointer;
        accent-color: #667eea;
    }

    .drawer-radio-label-inline:has(input[type="radio"]:checked)[b-s3h0u3j3fi] {
        border-color: #667eea;
        background: #667eea;
        color: white;
    }

/* Switch toggle */
.drawer-switch-container[b-s3h0u3j3fi] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawer-switch[b-s3h0u3j3fi] {
    position: relative;
    width: 44px;
    height: 22px;
}

    .drawer-switch input[b-s3h0u3j3fi] {
        opacity: 0;
        width: 0;
        height: 0;
    }

.drawer-slider[b-s3h0u3j3fi] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 22px;
}

    .drawer-slider[b-s3h0u3j3fi]:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: 0.3s;
        border-radius: 50%;
    }

input:checked + .drawer-slider[b-s3h0u3j3fi] {
    background-color: #667eea;
}

    input:checked + .drawer-slider[b-s3h0u3j3fi]:before {
        transform: translateX(22px);
    }

/* Titre de section */
.drawer-section-title[b-s3h0u3j3fi] {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

/* Galerie d'images */
.drawer-image-gallery[b-s3h0u3j3fi] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.drawer-image-thumbnail[b-s3h0u3j3fi] {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    transition: all 0.2s;
}

    .drawer-image-thumbnail:hover[b-s3h0u3j3fi] {
        transform: scale(1.05);
        border-color: #667eea;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

/* Rangées d'informations */
.drawer-info-row[b-s3h0u3j3fi] {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .drawer-info-row:last-child[b-s3h0u3j3fi] {
        border-bottom: none;
    }

.drawer-info-label[b-s3h0u3j3fi] {
    font-weight: 500;
    color: #666;
    font-size: 13px;
}

.drawer-info-value[b-s3h0u3j3fi] {
    color: #333;
    font-weight: 600;
    font-size: 13px;
}

/* Boutons d'action rapide */
.action-buttons[b-s3h0u3j3fi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.action-btn[b-s3h0u3j3fi] {
    padding: 14px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    min-height: 52px;
    text-align: center;
}

    .action-btn span[b-s3h0u3j3fi] {
        line-height: 1.2;
    }

    .action-btn:hover[b-s3h0u3j3fi] {
        border-color: #667eea;
        background: #f8f9ff;
        transform: translateY(-2px);
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    }

    .action-btn:active[b-s3h0u3j3fi] {
        transform: translateY(0);
    }

/* Animation d'entrée */
@keyframes slideInRight-b-s3h0u3j3fi {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.drawer-form-group .mud-expand-panel[b-s3h0u3j3fi] {
    box-shadow: none !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    overflow: hidden;
}

.drawer-form-group .mud-expand-panel-header:hover[b-s3h0u3j3fi] {
    background: rgba(0, 0, 0, 0.02) !important;
}
.mud-expand-panel-header[b-s3h0u3j3fi] {
    overflow: visible !important;
}
/* _content/S3-Hub.Web/Components/Dialogs-Stocks/ZoneEditDialog.razor.rz.scp.css */
/* =================================================================
   ZoneEditDialog - Styles spécifiques
   (Les styles communs sont dans CommonStyle.css)
   
   Note: La largeur du dialog est contrôlée dans le composant Razor
   via les options MudBlazor (MaxWidth, FullWidth)
   ================================================================= */

/* Styles spécifiques au dialog si nécessaires */
/* _content/S3-Hub.Web/Components/Layout/MainLayout.razor.rz.scp.css */
main[b-yrimcmsa9z] {
    flex: 1;
}

.top-row[b-yrimcmsa9z] {
    background-color: yellow;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-yrimcmsa9z]  a, .top-row[b-yrimcmsa9z]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-yrimcmsa9z]  a:hover, .top-row[b-yrimcmsa9z]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-yrimcmsa9z]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-yrimcmsa9z] {
        justify-content: space-between;
    }

    .top-row[b-yrimcmsa9z]  a, .top-row[b-yrimcmsa9z]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-yrimcmsa9z] {
        flex-direction: row;
    }

    .sidebar[b-yrimcmsa9z] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-yrimcmsa9z] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-yrimcmsa9z]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-yrimcmsa9z], article[b-yrimcmsa9z] {
    }
}

#blazor-error-ui[b-yrimcmsa9z] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-yrimcmsa9z] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/S3-Hub.Web/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-t7ztedql8l] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-t7ztedql8l] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-t7ztedql8l] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-t7ztedql8l] {
    font-size: 1.1rem;
}

.bi[b-t7ztedql8l] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-t7ztedql8l] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-t7ztedql8l] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-t7ztedql8l] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-t7ztedql8l] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-t7ztedql8l] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-t7ztedql8l] {
        padding-bottom: 1rem;
    }

    .nav-item[b-t7ztedql8l]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-t7ztedql8l]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-t7ztedql8l]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-t7ztedql8l] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-t7ztedql8l] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-t7ztedql8l] {
        display: none;
    }

    .nav-scrollable[b-t7ztedql8l] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/S3-Hub.Web/Components/Pages-IA/ChatIA.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   CHAT IA — Styles scopés
   ═══════════════════════════════════════════════════════════ */

/* ── Réduction espacement header (mode conversation) ── */
[b-wi1zju9lc8] .page-header {
    margin-bottom: 8px;
}

/* ── Layout welcome (nouvelle conversation) ───────────── */
.ia-welcome-layout[b-wi1zju9lc8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 100px;
}

.ia-welcome-center[b-wi1zju9lc8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 560px;
}

/* ── Zone messages (mode conversation) ─────────────────── */
.ia-messages-zone[b-wi1zju9lc8] {
    flex: 1;
    overflow-y: auto;
    padding: 30px 100px 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ia-message[b-wi1zju9lc8] {
    max-width: 80%;
    animation: fadeIn-b-wi1zju9lc8 0.2s ease-out;
}

@keyframes fadeIn-b-wi1zju9lc8 {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ia-message-user[b-wi1zju9lc8] {
    align-self: flex-end;
}

.ia-message-assistant[b-wi1zju9lc8] {
    align-self: flex-start;
}

.ia-message-search[b-wi1zju9lc8] {
    align-self: center;
    max-width: 100%;
}

.ia-message-content[b-wi1zju9lc8] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ia-message-user .ia-message-content[b-wi1zju9lc8] {
    flex-direction: row-reverse;
}

.ia-message-avatar[b-wi1zju9lc8] {
    font-size: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.ia-message-text[b-wi1zju9lc8] {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.ia-message-user .ia-message-text[b-wi1zju9lc8] {
    background: #007AFF;
    color: white;
    border-bottom-right-radius: 4px;
}

.ia-message-assistant .ia-message-text[b-wi1zju9lc8] {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-bottom-left-radius: 4px;
    padding: 16px 20px;
}

/* ── Markdown rendering dans les bulles assistant ── */
[b-wi1zju9lc8] .ia-p {
    margin: 0 0 4px;
    line-height: 1.6;
}
[b-wi1zju9lc8] .ia-p:last-child {
    margin-bottom: 0;
}
[b-wi1zju9lc8] .ia-p + .ia-p {
    margin-top: 2px;
}

[b-wi1zju9lc8] .ia-h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 10px 0 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}
[b-wi1zju9lc8] .ia-h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 8px 0 2px;
    color: var(--text-primary);
}
[b-wi1zju9lc8] .ia-h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin: 6px 0 2px;
    color: var(--text-secondary);
}

[b-wi1zju9lc8] .ia-list {
    margin: 2px 0 4px;
    padding-left: 20px;
}
[b-wi1zju9lc8] .ia-list li {
    margin-bottom: 1px;
    line-height: 1.5;
}

[b-wi1zju9lc8] .ia-hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 8px 0;
}

[b-wi1zju9lc8] .ia-code-inline {
    background: #f0f2f5;
    color: #d63384;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 12.5px;
    font-family: 'Consolas', 'Monaco', monospace;
}

[b-wi1zju9lc8] .ia-code-block {
    background: #1e1e2e;
    color: #cdd6f4;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 12.5px;
    font-family: 'Consolas', 'Monaco', monospace;
    overflow-x: auto;
    margin: 8px 0 12px;
    line-height: 1.5;
}
[b-wi1zju9lc8] .ia-code-block code {
    background: none;
    color: inherit;
    padding: 0;
    font-size: inherit;
}

[b-wi1zju9lc8] .ia-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    margin: 6px 0;
    background: #e8f0fe;
    color: #1a73e8;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #c5d9f7;
    transition: all 0.15s;
}
[b-wi1zju9lc8] .ia-doc-link:hover {
    background: #d2e3fc;
    border-color: #a8c7fa;
}

/* ── Tableaux markdown ── */
[b-wi1zju9lc8] .ia-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 13px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}
[b-wi1zju9lc8] .ia-table thead {
    background: linear-gradient(135deg, rgba(53, 198, 238, 0.12), rgba(53, 198, 238, 0.05));
}
[b-wi1zju9lc8] .ia-table th {
    padding: 8px 12px;
    text-align: left;
    font-weight: 700;
    color: var(--color-cyan-dark);
    font-size: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--color-cyan);
    white-space: nowrap;
}
[b-wi1zju9lc8] .ia-table td {
    padding: 7px 12px;
    border-top: 1px solid var(--border-light);
    vertical-align: top;
    color: var(--text-primary);
}
[b-wi1zju9lc8] .ia-table tbody tr:hover {
    background: rgba(53, 198, 238, 0.04);
}
[b-wi1zju9lc8] .ia-table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.015);
}

/* ── Carte proposition d'action (OR, etc.) ── */
.ia-proposition-card[b-wi1zju9lc8] {
    margin: 10px 0 4px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(53, 198, 238, 0.08), rgba(53, 198, 238, 0.02));
    border: 1.5px solid var(--color-cyan);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ia-proposition-card:hover[b-wi1zju9lc8] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(53, 198, 238, 0.25);
    background: linear-gradient(135deg, rgba(53, 198, 238, 0.14), rgba(53, 198, 238, 0.05));
}
.ia-proposition-header[b-wi1zju9lc8] {
    display: flex;
    gap: 12px;
    align-items: center;
}
.ia-proposition-icon[b-wi1zju9lc8] {
    font-size: 28px;
    flex-shrink: 0;
}
.ia-proposition-title[b-wi1zju9lc8] {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-cyan-dark);
}
.ia-proposition-sub[b-wi1zju9lc8] {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-top: 2px;
}
.ia-proposition-badge[b-wi1zju9lc8] {
    align-self: flex-end;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-cyan-dark);
    padding: 4px 10px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-cyan);
}
.ia-proposition-badge-ok[b-wi1zju9lc8] {
    color: #2e7d32;
    border-color: #2e7d32;
    background: #e8f5e9;
}

/* ── Callouts (lignes commençant par icône + espace) ── */
[b-wi1zju9lc8] .ia-callout {
    display: flex;
    gap: 10px;
    padding: 10px 14px;
    margin: 8px 0;
    background: rgba(53, 198, 238, 0.06);
    border-left: 3px solid var(--color-cyan);
    border-radius: 6px;
    font-size: 13.5px;
    line-height: 1.5;
}
[b-wi1zju9lc8] .ia-callout-icon {
    font-size: 16px;
    flex-shrink: 0;
}

[b-wi1zju9lc8] strong {
    font-weight: 700;
    color: var(--text-primary);
}

[b-wi1zju9lc8] em {
    font-style: italic;
    color: var(--text-secondary);
}

.ia-search-indicator[b-wi1zju9lc8] {
    background: rgba(53, 198, 238, 0.08);
    border: 1px dashed var(--color-cyan);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 12px;
    color: var(--color-cyan-dark);
    text-align: center;
}

/* ── Typing indicator ──────────────────────────────────── */
.ia-typing[b-wi1zju9lc8] {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
}

.ia-typing span[b-wi1zju9lc8] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-cyan);
    animation: typingBounce-b-wi1zju9lc8 1.4s infinite;
}

.ia-typing span:nth-child(2)[b-wi1zju9lc8] { animation-delay: 0.2s; }
.ia-typing span:nth-child(3)[b-wi1zju9lc8] { animation-delay: 0.4s; }

@keyframes typingBounce-b-wi1zju9lc8 {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* ── Zone de saisie (mode conversation, en bas) ────────── */
.ia-input-zone[b-wi1zju9lc8] {
    padding: 16px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ia-input-wrapper[b-wi1zju9lc8] {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 8px 12px;
    width: 100%;
    max-width: 560px;
}

.ia-input-wrapper:focus-within[b-wi1zju9lc8] {
    border-color: #e0e0e0;
    outline: none;
    box-shadow: none;
}

.ia-input[b-wi1zju9lc8] {
    flex: 1;
    border: none !important;
    background: white !important;
    resize: none;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.5;
    max-height: 120px;
    outline: none !important;
    box-shadow: none !important;
    color: var(--text-primary);
    -webkit-appearance: none;
}

.ia-input:focus[b-wi1zju9lc8] {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.ia-input[b-wi1zju9lc8]::placeholder {
    color: var(--text-muted);
}

.ia-send-btn[b-wi1zju9lc8] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--common-gradient);
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.1s;
}

.ia-send-btn:hover:not(.disabled)[b-wi1zju9lc8] {
    transform: scale(1.05);
}

.ia-send-btn.disabled[b-wi1zju9lc8] {
    opacity: 0.4;
    cursor: not-allowed;
}

.ia-input-footer[b-wi1zju9lc8] {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ── Suggestions ───────────────────────────────────────── */
.ia-suggestion[b-wi1zju9lc8] {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    background: white;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
}

.ia-suggestion:hover[b-wi1zju9lc8] {
    border-color: var(--color-cyan);
    color: var(--color-cyan-dark);
    background: rgba(53, 198, 238, 0.05);
}

/* ── Empty state ───────────────────────────────────────── */
.empty-state-icon[b-wi1zju9lc8] {
    font-size: 64px;
    margin-bottom: 16px;
}

.empty-state-title[b-wi1zju9lc8] {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state-text[b-wi1zju9lc8] {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 400px;
    line-height: 1.6;
}
