:root{--table-bg: rgba(255, 255, 255, .95);--table-header-bg: linear-gradient(120deg, #8f9b6b, #a8b58a);--table-header-text: #ffffff;--table-border: rgba(143, 155, 107, .35);--table-row-even: rgba(226, 220, 201, .25);--table-row-hover: rgba(143, 155, 107, .15);--table-text: #1f2937;--table-shadow: 0 6px 18px rgba(0, 0, 0, .08);--table-hover-shadow: 0 10px 25px rgba(0, 0, 0, .12)}.dark{--table-bg: rgba(30, 34, 28, .7);--table-header-bg: linear-gradient(120deg, #6b7852, #8f9b6b);--table-header-text: #e7e9dd;--table-border: rgba(168, 181, 138, .3);--table-row-even: rgba(168, 181, 138, .08);--table-row-hover: rgba(168, 181, 138, .18);--table-text: #e5e7eb;--table-shadow: 0 8px 24px rgba(0, 0, 0, .4);--table-hover-shadow: 0 12px 30px rgba(0, 0, 0, .6)}.section-card--texte table,.preview-content table,.ql-editor table,table{width:100%;border-collapse:separate;border-spacing:0;margin:24px 0;background:var(--table-bg);border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--table-shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:2px solid var(--table-border);transition:box-shadow .25s ease}.section-card--texte table:hover,.preview-content table:hover,.ql-editor table:hover{box-shadow:var(--table-hover-shadow)}.section-card--texte table th,.preview-content table th,.ql-editor table th,table th{background:var(--table-header-bg);color:var(--table-header-text);font-weight:700;text-align:left;padding:14px 18px;font-size:.95rem;text-transform:uppercase;letter-spacing:.5px;border-bottom:3px solid var(--table-border);font-family:var(--font-sans)}.section-card--texte table th:first-child,.preview-content table th:first-child,.ql-editor table th:first-child,table th:first-child{border-top-left-radius:var(--radius-md)}.section-card--texte table th:last-child,.preview-content table th:last-child,.ql-editor table th:last-child,table th:last-child{border-top-right-radius:var(--radius-md)}.section-card--texte table th:not(:last-child),.preview-content table th:not(:last-child),.ql-editor table th:not(:last-child),table th:not(:last-child){border-right:1px solid rgba(255,255,255,.25)}.section-card--texte table td,.preview-content table td,.ql-editor table td,table td{padding:12px 18px;border-bottom:1px solid var(--table-border);border-right:1px solid var(--table-border);color:var(--table-text);font-size:.98rem;line-height:1.6;font-family:var(--font-sans)}.section-card--texte table td:last-child,.preview-content table td:last-child,.ql-editor table td:last-child,table td:last-child{border-right:none}.section-card--texte table tr:last-child td,.preview-content table tr:last-child td,.ql-editor table tr:last-child td,table tr:last-child td{border-bottom:none}.section-card--texte table tr:last-child td:first-child,.preview-content table tr:last-child td:first-child,.ql-editor table tr:last-child td:first-child,table tr:last-child td:first-child{border-bottom-left-radius:var(--radius-md)}.section-card--texte table tr:last-child td:last-child,.preview-content table tr:last-child td:last-child,.ql-editor table tr:last-child td:last-child,table tr:last-child td:last-child{border-bottom-right-radius:var(--radius-md)}.section-card--texte table tbody tr:nth-child(2n),.preview-content table tbody tr:nth-child(2n),.ql-editor table tbody tr:nth-child(2n),table tbody tr:nth-child(2n){background:var(--table-row-even)}.section-card--texte table tbody tr:hover,.preview-content table tbody tr:hover,.ql-editor table tbody tr:hover,table tbody tr:hover{background:var(--table-row-hover)}.section-card--texte table td strong,.preview-content table td strong,.ql-editor table td strong,table td strong{color:var(--olive-base);font-weight:700}.section-card--texte table code,.preview-content table code,.ql-editor table code,table code{background:#8f9b6b26;padding:2px 6px;border-radius:var(--radius-sm);font-size:.9em;color:var(--olive-dark);font-family:Consolas,Monaco,Courier New,monospace}.dark .section-card--texte table code,.dark .preview-content table code,.dark .ql-editor table code,.dark table code{background:#a8b58a33;color:var(--olive-light)}@media(max-width:768px){.section-card--texte,.preview-content,.ql-editor{overflow-x:auto;-webkit-overflow-scrolling:touch}.section-card--texte table,.preview-content table,.ql-editor table,table{min-width:700px;margin:20px 0}.section-card--texte table th,.preview-content table th,.ql-editor table th,table th{padding:10px 14px;font-size:.85rem}.section-card--texte table td,.preview-content table td,.ql-editor table td,table td{padding:8px 14px;font-size:.9rem}}@keyframes tableSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.section-card--texte table,.preview-content table,.ql-editor table,table{animation:tableSlideIn .4s cubic-bezier(.4,0,.2,1) backwards}.section-card--definition table,.theoreme-block table,.propriete-block table,.section-card--exemple table{margin:16px 0;border:2px solid var(--table-border)}.section-card--texte table th.sortable,.preview-content table th.sortable,.ql-editor table th.sortable,table th.sortable{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;padding-right:30px}.section-card--texte table th.sortable:after,.preview-content table th.sortable:after,.ql-editor table th.sortable:after,table th.sortable:after{content:"⇅";position:absolute;right:10px;opacity:.5;transition:opacity .2s ease}.section-card--texte table th.sortable:hover:after,.preview-content table th.sortable:hover:after,.ql-editor table th.sortable:hover:after,table th.sortable:hover:after{opacity:1}
