/* assets/built/dashboard/dashboard-main.css */

/* Variables CSS pour cohérence avec votre thème */
:root {
    --dashboard-sage-50: #f8fafc;
    --dashboard-sage-100: #f1f5f9;
    --dashboard-sage-200: #e2e8f0;
    --dashboard-sage-500: #6b7c5a;
    --dashboard-sage-600: #5a6b49;
    --dashboard-sage-700: #4a5a39;
    --dashboard-stone-600: #57534e;
    --dashboard-stone-700: #44403c;
    --dashboard-stone-800: #292524;
    --dashboard-blue-500: #3b82f6;
    --dashboard-green-500: #10b981;
    --dashboard-amber-500: #f59e0b;
    --dashboard-red-500: #ef4444;
    
    --dashboard-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --dashboard-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --dashboard-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --dashboard-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --dashboard-transition: all 0.2s ease-in-out;
    --dashboard-border-radius: 12px;
    --dashboard-border-radius-lg: 16px;
}

/* ============================================================================
   SPINNER ET LOADING
   ============================================================================ */

.dashboard-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--dashboard-sage-200);
    border-top: 4px solid var(--dashboard-sage-500);
    border-radius: 50%;
    animation: dashboardSpin 1s linear infinite;
    margin: 0 auto;
}

@keyframes dashboardSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--dashboard-stone-600);
}

/* ============================================================================
   MÉTRIQUES GLOBALES
   ============================================================================ */

.dashboard-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.dashboard-metric-card {
    background: white;
    border-radius: var(--dashboard-border-radius);
    padding: 1.5rem;
    box-shadow: var(--dashboard-shadow-md);
    border: 1px solid var(--dashboard-sage-200);
    transition: var(--dashboard-transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-metric-card:hover {
    box-shadow: var(--dashboard-shadow-lg);
    transform: translateY(-2px);
}

.metric-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--dashboard-sage-500), var(--dashboard-sage-600));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.metric-icon .material-symbols-outlined {
    font-size: 24px;
}

.metric-content {
    flex: 1;
    min-width: 0;
}

.metric-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dashboard-stone-600);
    margin-bottom: 0.25rem;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dashboard-stone-800);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.metric-subtitle {
    font-size: 0.75rem;
    color: var(--dashboard-stone-600);
}

.metric-visual {
    flex-shrink: 0;
}

/* Progress Ring */
.progress-ring {
    position: relative;
    display: inline-block;
}

.progress-ring svg {
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: var(--dashboard-sage-200);
    stroke-width: 3;
}

.progress-ring-fill {
    fill: none;
    stroke: var(--dashboard-sage-500);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 157; /* 2π × 25 */
    stroke-dashoffset: 157;
    transition: stroke-dashoffset 1s ease-in-out;
}

.progress-ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dashboard-sage-600);
}

/* ============================================================================
   GRILLE DES ATELIERS
   ============================================================================ */

.dashboard-ateliers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.dashboard-atelier-card {
    background: white;
    border-radius: var(--dashboard-border-radius);
    border: 1px solid var(--dashboard-sage-200);
    box-shadow: var(--dashboard-shadow-md);
    transition: var(--dashboard-transition);
    overflow: hidden;
    position: relative;
}

.dashboard-atelier-card:hover {
    box-shadow: var(--dashboard-shadow-lg);
    transform: translateY(-4px);
}

.atelier-card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--dashboard-sage-50) 0%, white 100%);
    border-bottom: 1px solid var(--dashboard-sage-200);
    position: relative;
}

.atelier-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dashboard-stone-800);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.atelier-card-description {
    font-size: 0.875rem;
    color: var(--dashboard-stone-600);
    line-height: 1.5;
}

.atelier-card-body {
    padding: 1.5rem;
}

.atelier-card-footer {
    padding: 1rem 1.5rem;
    background: var(--dashboard-sage-50);
    border-top: 1px solid var(--dashboard-sage-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Badge de statut */
.atelier-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.atelier-status-badge.completed {
    background: var(--dashboard-green-500);
    color: white;
}

.atelier-status-badge.in-progress {
    background: var(--dashboard-blue-500);
    color: white;
}

.atelier-status-badge.not-started {
    background: var(--dashboard-sage-200);
    color: var(--dashboard-stone-600);
}

/* Progression */
.atelier-progression {
    margin: 1rem 0;
}

.atelier-progression-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.atelier-progression-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dashboard-stone-600);
}

.atelier-progression-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dashboard-sage-600);
}

.atelier-progression-bar {
    width: 100%;
    height: 6px;
    background: var(--dashboard-sage-200);
    border-radius: 3px;
    overflow: hidden;
}

.atelier-progression-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--dashboard-sage-500), var(--dashboard-sage-600));
    border-radius: 3px;
    transition: width 0.8s ease-out;
    width: 0%;
}

/* Statistiques de l'atelier */
.atelier-stats {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.atelier-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--dashboard-stone-600);
}

.atelier-stat .material-symbols-outlined {
    font-size: 16px;
    color: var(--dashboard-sage-500);
}

/* Boutons d'action */
.atelier-actions {
    display: flex;
    gap: 0.75rem;
}

.atelier-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--dashboard-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.atelier-btn-primary {
    background: var(--dashboard-sage-500);
    color: white;
}

.atelier-btn-primary:hover {
    background: var(--dashboard-sage-600);
    transform: translateY(-1px);
}

.atelier-btn-secondary {
    background: white;
    color: var(--dashboard-sage-600);
    border: 1px solid var(--dashboard-sage-300);
}

.atelier-btn-secondary:hover {
    background: var(--dashboard-sage-50);
    border-color: var(--dashboard-sage-400);
}

.atelier-btn .material-symbols-outlined {
    font-size: 16px;
}

/* ============================================================================
   SYNTHÈSES
   ============================================================================ */

.dashboard-syntheses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.dashboard-synthese-card {
    background: white;
    border-radius: var(--dashboard-border-radius);
    border: 1px solid var(--dashboard-sage-200);
    box-shadow: var(--dashboard-shadow-md);
    padding: 1.5rem;
    transition: var(--dashboard-transition);
}

.dashboard-synthese-card:hover {
    box-shadow: var(--dashboard-shadow-lg);
}

.synthese-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.synthese-card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--dashboard-blue-500), var(--dashboard-sage-500));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.synthese-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dashboard-stone-800);
}

.synthese-card-content {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--dashboard-stone-600);
}

/* ============================================================================
   ACTIONS RECOMMANDÉES
   ============================================================================ */

.dashboard-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.dashboard-action-card {
    background: white;
    border-radius: var(--dashboard-border-radius);
    border: 1px solid var(--dashboard-sage-200);
    padding: 1.25rem;
    transition: var(--dashboard-transition);
    cursor: pointer;
}

.dashboard-action-card:hover {
    box-shadow: var(--dashboard-shadow-md);
    border-color: var(--dashboard-sage-400);
}

.action-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.action-card-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--dashboard-sage-500);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.action-card-content {
    flex: 1;
    min-width: 0;
}

.action-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dashboard-stone-800);
    margin-bottom: 0.25rem;
}

.action-card-description {
    font-size: 0.75rem;
    color: var(--dashboard-stone-600);
    line-height: 1.5;
}

/* ============================================================================
   ÉTATS SPÉCIAUX
   ============================================================================ */

.dashboard-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--dashboard-stone-600);
}

.dashboard-empty-state .material-symbols-outlined {
    font-size: 3rem;
    color: var(--dashboard-sage-400);
    margin-bottom: 1rem;
}

.dashboard-empty-state h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dashboard-stone-700);
}

.dashboard-empty-state p {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* États d'erreur */
.error-icon {
    color: var(--dashboard-red-500) !important;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    .dashboard-metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dashboard-ateliers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dashboard-syntheses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dashboard-actions-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .dashboard-metric-card {
        padding: 1rem;
    }
    
    .atelier-card-header,
    .atelier-card-body {
        padding: 1rem;
    }
    
    .atelier-actions {
        flex-direction: column;
    }
    
    .atelier-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .metric-value {
        font-size: 1.5rem;
    }
    
    .dashboard-metric-card {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .metric-visual {
        order: -1;
    }
}

/* dashboard-extensions.css - Styles spécifiques pour la sidebar et le nouveau layout */

/* ============================================================================
   LAYOUT PRINCIPAL AVEC SIDEBAR
   ============================================================================ */

.tc-dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 200px);
    position: relative;
    background: var(--stone-50);
}

/* ============================================================================
   SIDEBAR
   ============================================================================ */

.tc-dashboard-sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid var(--sage-200);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    transition: transform 0.3s ease;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
}

/* Header utilisateur */
.tc-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--sage-200);
    background: linear-gradient(135deg, var(--sage-50) 0%, white 100%);
}

.tc-user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tc-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sage-500), var(--sage-600));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tc-avatar-initials {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-sans);
}

.tc-user-info {
    flex: 1;
    min-width: 0;
}

.tc-user-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--stone-800);
    margin: 0;
    font-family: var(--font-sans);
}

.tc-user-status {
    font-size: 0.75rem;
    color: var(--stone-600);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-sans);
}

.tc-user-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dashboard-green-500);
}

/* Navigation */
.tc-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

/* Items de navigation */
.tc-nav-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    color: var(--stone-700);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
}

.tc-nav-item:hover {
    background: var(--sage-50);
    color: var(--sage-700);
}

.tc-nav-item.active {
    background: linear-gradient(90deg, var(--sage-50) 0%, rgba(107, 124, 90, 0.05) 100%);
    color: var(--sage-700);
}

.tc-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--sage-500);
}

.tc-nav-item .material-symbols-outlined {
    font-size: 20px;
    margin-right: 0.75rem;
    color: var(--stone-600);
}

.tc-nav-item.active .material-symbols-outlined {
    color: var(--sage-600);
}

/* Groupes de navigation */
.tc-nav-group {
    margin-bottom: 0.25rem;
}

.tc-nav-header {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    color: var(--stone-700);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
}

.tc-nav-header:hover {
    background: var(--sage-50);
    color: var(--sage-700);
}

.tc-nav-header .material-symbols-outlined {
    font-size: 20px;
    color: var(--stone-600);
}

.tc-nav-header .material-symbols-outlined:first-child {
    margin-right: 0.75rem;
}

.tc-nav-label {
    flex: 1;
}

.tc-nav-toggle {
    transition: transform 0.2s ease;
    margin-left: auto;
}

.tc-nav-group.expanded .tc-nav-toggle {
    transform: rotate(180deg);
}

/* Contenu des groupes */
.tc-nav-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.tc-nav-group.expanded .tc-nav-content {
    max-height: 500px;
    overflow-y: auto;
}

.tc-nav-subitem {
    display: flex;
    align-items: center;
    padding: 0.625rem 1.5rem 0.625rem 3.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--stone-600);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    position: relative;
}

.tc-nav-subitem:hover {
    background: var(--sage-50);
    color: var(--sage-700);
}

.tc-nav-subitem.active {
    color: var(--sage-700);
    font-weight: 500;
}

.tc-nav-subitem.active::before {
    content: '';
    position: absolute;
    left: 2.5rem;
    width: 4px;
    height: 4px;
    background: var(--sage-500);
    border-radius: 50%;
}

/* Badge de progression dans la sidebar */
.tc-nav-progress {
    margin-left: auto;
    padding: 0.125rem 0.5rem;
    background: var(--sage-100);
    color: var(--sage-700);
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tc-nav-subitem.completed .tc-nav-progress {
    background: var(--dashboard-green-500);
    color: white;
}

/* Footer sidebar */
.tc-sidebar-footer {
    padding: 1rem;
    border-top: 1px solid var(--sage-200);
    background: var(--sage-50);
}

.tc-sidebar-action {
    width: 100%;
    padding: 0.75rem;
    background: white;
    border: 1px solid var(--sage-300);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--stone-700);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tc-sidebar-action:hover {
    background: var(--sage-50);
    border-color: var(--sage-400);
    color: var(--sage-700);
}

.tc-sidebar-action .material-symbols-outlined {
    font-size: 18px;
}

/* ============================================================================
   ZONE PRINCIPALE
   ============================================================================ */

.tc-dashboard-main {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header mobile/desktop */
.tc-dashboard-header {
    display: none;
    padding: 1rem 1.5rem;
    background: white;
    border-bottom: 1px solid var(--sage-200);
    align-items: center;
    gap: 1rem;
}

.tc-btn-toggle-sidebar {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.tc-btn-toggle-sidebar:hover {
    background: var(--sage-50);
}

.tc-page-title {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--stone-800);
    margin: 0;
    font-family: var(--font-sans);
}

.tc-btn-refresh {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--sage-500);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tc-btn-refresh:hover {
    background: var(--sage-600);
}

/* Contenu */
.tc-dashboard-content {
    flex: 1;
    padding: 2rem;
}

.tc-content-section {
    display: none;
}

.tc-content-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* États de chargement et erreur */
.tc-dashboard-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.tc-dashboard-error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Overlay mobile */
.tc-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tc-sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================================================
   SECTION DÉTAIL (Questions/Réponses, Graphiques, etc.)
   ============================================================================ */

#detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tc-detail-header {
    background: white;
    border-radius: var(--dashboard-border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--dashboard-shadow-md);
    border: 1px solid var(--sage-200);
}

.tc-detail-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
}

.tc-detail-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.tc-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--stone-600);
    font-size: 0.875rem;
}

/* Questions et réponses */
.tc-questions-container {
    background: white;
    border-radius: var(--dashboard-border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--dashboard-shadow-md);
    border: 1px solid var(--sage-200);
}

.tc-question-group {
    margin-bottom: 2rem;
}

.tc-question-group:last-child {
    margin-bottom: 0;
}

.tc-question-group-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sage-200);
    font-family: var(--font-sans);
}

.tc-question-item {
    margin-bottom: 1.5rem;
}

.tc-question-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--stone-700);
    margin-bottom: 0.5rem;
    display: block;
    font-family: var(--font-sans);
}

.tc-question-response {
    padding: 0.75rem 1rem;
    background: var(--sage-50);
    border-radius: 8px;
    border: 1px solid var(--sage-200);
    font-size: 0.875rem;
    color: var(--stone-600);
    line-height: 1.6;
}

.tc-question-response.empty {
    background: var(--stone-50);
    color: var(--stone-500);
    font-style: italic;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 1024px) {
    .tc-dashboard-sidebar {
        transform: translateX(-100%);
    }
    
    .tc-dashboard-sidebar.active {
        transform: translateX(0);
    }
    
    .tc-dashboard-main {
        margin-left: 0;
    }
    
    .tc-dashboard-header {
        display: flex;
    }
    
    .tc-btn-toggle-sidebar {
        display: flex;
    }
}

@media (max-width: 768px) {
    .tc-dashboard-sidebar {
        width: 260px;
    }
    
    .tc-dashboard-content {
        padding: 1rem;
    }
    
    .tc-page-title {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .tc-dashboard-sidebar {
        width: 100%;
    }
    
    .tc-btn-refresh span:last-child {
        display: none;
    }
}


.tc-synthese-structured {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tc-synthese-section {
    padding: 1.25rem;
    background: var(--sage-50);
    border-radius: 8px;
    border-left: 3px solid var(--sage-400);
}

.tc-synthese-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--sage-700);
    margin-bottom: 0.75rem;
    font-family: var(--font-sans);
}

.tc-synthese-section p {
    color: var(--stone-700);
    line-height: 1.6;
    margin: 0;
}

.tc-synthese-section ul {
    margin: 0;
    padding-left: 1.5rem;
}

.tc-synthese-section li {
    color: var(--stone-700);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

@media print {
    /* Masquer tout sauf le contenu à imprimer */
    body > *:not(.print-container) {
        display: none !important;
    }
    
    .print-container {
        position: static !important;
        left: 0 !important;
        width: 100% !important;
    }
    
    /* Forcer les styles pour l'impression */
    .pdf-export {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 20px;
    }
    
    /* Éviter les coupures de page */
    .pdf-section,
    .pdf-atelier {
        page-break-inside: avoid;
    }
    
    /* Nouvelle page pour chaque section principale */
    .pdf-section {
        page-break-before: auto;
    }
}