@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dark-mode .stat-card{background-color:#1e1e1e!important;box-shadow:0 4px 6px #0000004d!important}.dark-mode .stat-card h3{color:#ccc!important}.dark-mode .stat-card>div{color:#f5f5f5!important}:root{--white:#fff;--primary:#0c8dcb;--primary-dark:#0a75aa;--primary-light:#e6f4fb;--primary-50:#e6f4fb;--gray-500:#ababab;--secondary:#0c8dcb;--secondary-dark:#0a75aa;--secondary-light:#e6f4fb;--danger:#f44336;--danger-dark:#d32f2f;--danger-light:#ffebee;--warning:#ffc107;--warning-dark:#ffa000;--warning-light:#fff8e1;--warning-50:#fff8e1;--warning-200:#ffe082;--warning-700:#f57c00;--success:#4caf50;--success-dark:#388e3c;--success-light:#e8f5e9;--success-50:#e8f5e9;--success-200:#a5d6a7;--gray-50:#fafafa;--gray-100:#f5f5f5;--gray-200:#eee;--gray-300:#e0e0e0;--gray-400:#cdcdcd;--gray-600:#8a8a8a;--gray-700:#616161;--gray-800:#424242;--gray-900:#212121;--radius-sm:4px;--radius-md:8px;--radius-lg:12px;--radius-xl:16px;--color-error-grammaticale:#2196f3;--color-error-stilistico:#9c27b0;--color-error-logico:#ff9800;--color-error-fattuale:#f44336;--color-error-non-classificato:#607d8b;--shadow-xs:0 1px 2px 0 #00000008;--shadow-sm:0 2px 4px 0 #0000000d;--shadow-md:0 4px 8px 0 #00000012;--shadow-lg:0 8px 16px 0 #00000014;--shadow-xl:0 12px 24px 0 #0000001a;--color-notification-info-bg:#e3f2fd;--color-notification-info-text:#0d47a1;--color-notification-success-bg:#e8f5e9;--color-notification-success-text:#1b5e20;--color-notification-warning-bg:#fff3e0;--color-notification-warning-text:#e65100;--color-notification-error-bg:#ffebee;--color-notification-error-text:#b71c1c;--color-notification-changelog-bg:#e8eaf6;--color-notification-changelog-text:#3949ab;--color-permission-default-bg:#e8eaf6;--color-permission-default-text:#3f51b5;--color-permission-all-bg:#eceff1;--color-permission-all-text:#455a64;--surface-hover:var(--gray-50);--icon-color:var(--gray-700);--overlay-bg:#00000080;--surface-modal-bg:var(--white);--scrollbar-thumb-bg:#9b9b9b80;--surface-card-bg:var(--white);--input-bg:var(--white);--input-border-color:var(--gray-300);--input-text-color:var(--gray-900);--input-focus-shadow:0 0 0 2px var(--primary-light);--surface-overlay-dark-bg:#333;--skeleton-bg:var(--gray-100);--skeleton-element-bg:var(--gray-200)}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--gray-100);min-height:100vh;margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;transition:background-color .3s}#root{min-height:100vh}.dark-mode{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-error-grammaticale:#1976d2;--color-error-stilistico:#7b1fa2;--color-error-logico:#f57c00;--color-error-fattuale:#d32f2f;--color-error-non-classificato:#455a64;--shadow-xs:0 1px 2px 0 #ffffff05;--shadow-sm:0 2px 4px 0 #ffffff08;--shadow-md:0 4px 8px 0 #ffffff0a;--shadow-lg:0 8px 16px 0 #ffffff0d;--shadow-xl:0 12px 24px 0 #ffffff0f;--toggle-dm-bg:var(--gray-700);--toggle-dm-bg-hover:var(--gray-800);--toggle-dm-text:var(--gray-100);--color-notification-info-bg:#071d36;--color-notification-info-text:#90caf9;--color-notification-success-bg:#0c2a10;--color-notification-success-text:#a5d6a7;--color-notification-warning-bg:#320;--color-notification-warning-text:#ffcc80;--color-notification-error-bg:#300a0a;--color-notification-error-text:#ef9a9a;--color-notification-changelog-bg:#1a237e;--color-notification-changelog-text:#9fa8da;--color-permission-default-bg:#1a237e;--color-permission-default-text:#c5cae9;--color-permission-all-bg:#263238;--color-permission-all-text:#b0bec5;--surface-hover:#2a2a2a;--icon-color:#bbb;--overlay-bg:#000000b3;--surface-modal-bg:var(--gray-800);--scrollbar-thumb-bg:#64646480;--surface-card-bg:var(--gray-800);--input-bg:var(--gray-700);--input-border-color:var(--gray-600);--input-text-color:var(--gray-100);--input-focus-shadow:0 0 0 2px var(--primary-dark);--surface-overlay-dark-bg:var(--gray-900);--skeleton-bg:var(--gray-700);--skeleton-element-bg:var(--gray-600)}.dark-mode body,.dark-mode #root{color:#e0e0e0;background-color:#121212}.dark-mode,.dark-mode *{border-color:#404040}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in{animation:.5s forwards fadeIn}:root{--live-editor-primary:#1a8dca;--live-editor-primary-light:#d9effa;--live-editor-primary-dark:#1270a8;--live-editor-white:#fff;--live-editor-text:#333;--live-editor-text-light:#666;--live-editor-dark-blue:#036;--live-editor-success:#4caf50;--live-editor-error:#f44336;--live-editor-gray-100:#f8f9fa;--live-editor-gray-200:#e9ecef;--live-editor-gray-300:#dee2e6;--live-editor-shadow:#00000026;--live-editor-shadow-light:#0000001a}.live-editor{color:var(--live-editor-text);word-wrap:break-word;min-height:100%;padding:40px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.8;transition:all .3s;position:relative}@media (max-width:768px){.live-editor{padding:20px 16px;font-size:15px;line-height:1.7}}.dark-mode .live-editor{color:#edf2f7;background:#1e1e1e}.editor-paragraph,.editor-heading-h1,.editor-heading-h2,.editor-heading-h3,.editor-heading-h4,.editor-heading-h5,.editor-heading-h6,.editor-quote{margin:0 0 1.2rem;transition:all .2s}.editor-heading-h1{color:var(--live-editor-text);margin:2rem 0 1.5rem;font-family:Inter,Arial,sans-serif;font-size:2.5em;font-weight:800;line-height:1.2}@media (max-width:768px){.editor-heading-h1{margin:1.5rem 0 1rem;font-size:2.2em}}.editor-heading-h2{color:var(--live-editor-text);margin:1.8rem 0 1.2rem;font-family:Inter,Arial,sans-serif;font-size:2em;font-weight:700;line-height:1.3}@media (max-width:768px){.editor-heading-h2{margin:1.4rem 0 1rem;font-size:1.8em}}.editor-heading-h3{color:var(--live-editor-text);margin:1.6rem 0 1rem;font-family:Inter,Arial,sans-serif;font-size:1.6em;font-weight:600;line-height:1.4}@media (max-width:768px){.editor-heading-h3{margin:1.3rem 0 .8rem;font-size:1.5em}}.editor-heading-h4,.editor-heading-h5,.editor-heading-h6{color:var(--live-editor-text);margin:1.4rem 0 .8rem;font-family:Inter,Arial,sans-serif;font-size:1.25em;font-weight:600;line-height:1.4}@media (max-width:768px){.editor-heading-h4,.editor-heading-h5,.editor-heading-h6{margin:1.2rem 0 .6rem;font-size:1.2em}}.editor-quote{border-left:4px solid var(--live-editor-primary);background:linear-gradient(135deg, var(--live-editor-primary-light) 0%, var(--live-editor-white) 100%);box-shadow:0 4px 12px var(--live-editor-shadow-light);border-radius:0 12px 12px 0;margin:2rem 0;padding:1.5rem 2rem;font-style:italic;position:relative}@media (max-width:768px){.editor-quote{margin:1.5rem 0;padding:1rem 1.5rem}}.editor-quote:before{content:"\"";color:var(--live-editor-primary);opacity:.3;font-family:Georgia,serif;font-size:4rem;position:absolute;top:-10px;left:20px}.dark-mode .editor-quote{color:#e2e8f0;background:linear-gradient(135deg,#1a8dca1a 0%,#1e1e1ecc 100%)}.editor-placeholder{pointer-events:none;color:var(--live-editor-text-light);opacity:.7;font-style:italic;animation:2s ease-in-out infinite placeholderPulse;position:absolute;top:40px;left:40px}@media (max-width:768px){.editor-placeholder{top:20px;left:16px}}@keyframes placeholderPulse{0%,to{opacity:.7}50%{opacity:.4}}.editor-code{background:linear-gradient(135deg, var(--live-editor-gray-100) 0%, var(--live-editor-gray-200) 100%);border:1px solid var(--live-editor-gray-300);box-shadow:0 2px 4px var(--live-editor-shadow-light);border-radius:8px;padding:.4rem .8rem;font-family:JetBrains Mono,Fira Code,monospace;font-size:.9rem}@media (max-width:768px){.editor-code{padding:.3rem .6rem;font-size:.85rem}}.dark-mode .editor-code{color:#e2e8f0;background:linear-gradient(135deg,#2d3748 0%,#4a5568 100%);border-color:#555}.editor-list-ul,.editor-list-ol{margin:1.2rem 0 1.2rem 2rem;padding:0}@media (max-width:768px){.editor-list-ul,.editor-list-ol{margin:1rem 0 1rem 1.5rem}}.editor-listitem{margin:.6rem 0;line-height:1.6}@media (max-width:768px){.editor-listitem{margin:.5rem 0}}.editor-link{color:var(--live-editor-primary);text-underline-offset:3px;text-decoration:underline;text-decoration-thickness:2px;transition:all .3s}.editor-link:hover{color:var(--live-editor-primary-dark);-webkit-text-decoration-color:var(--live-editor-primary-dark);text-decoration-color:var(--live-editor-primary-dark);transform:translateY(-1px)}.dark-mode .editor-link{color:#63b3ed}.dark-mode .editor-link:hover{color:#90cdf4}@keyframes fadeInUp{0%{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInFromLeft{0%{opacity:0;transform:translate(-30px)}to{opacity:1;transform:translate(0)}}.live-editor>*{animation:.4s ease-out fadeInUp}.live-editor h1,.live-editor h2,.live-editor h3{animation:.5s ease-out slideInFromLeft}.image-layer-overlay{pointer-events:none;z-index:20;opacity:0;background:linear-gradient(45deg,#0000 30%,#1a8dca0d 50%,#0000 70%);transition:opacity .3s;position:absolute;top:0;bottom:0;left:0;right:0}.image-layer-overlay.active{opacity:1}@media (max-width:768px){.live-editor{padding:16px 12px;font-size:14px}.editor-heading-h1{font-size:2em}.editor-heading-h2{font-size:1.7em}.editor-heading-h3{font-size:1.4em}.editor-quote{margin:1rem 0;padding:1rem}.editor-list-ul,.editor-list-ol{margin-left:1.2rem}}@media (max-width:480px){.live-editor{padding:12px 8px;font-size:13px;line-height:1.6}.editor-heading-h1{font-size:1.8em}.editor-heading-h2{font-size:1.5em}.editor-heading-h3{font-size:1.3em}}.live-editor:focus-within{outline:none}.live-editor:focus-within:before{content:"";border:2px solid var(--live-editor-primary);pointer-events:none;opacity:.3;border-radius:8px;animation:2s ease-in-out infinite focusPulse;position:absolute;top:0;bottom:0;left:0;right:0}@keyframes focusPulse{0%,to{opacity:.3}50%{opacity:.1}}.live-editor *{will-change:transform, opacity}.live-editor img,.live-editor video{will-change:transform}@media (prefers-reduced-motion:reduce){.live-editor *,.image-layer-overlay,.editor-placeholder{transition:none!important;animation:none!important}}@media (prefers-contrast:high){.live-editor{color:#000;background:#fff}.editor-quote{background:#f0f0f0;border-left-color:#000}.editor-link{color:#00f;text-decoration:underline}}.ProseMirror{color:#1a202c;word-wrap:break-word;min-height:100%;margin:0;padding:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.8;outline:none!important}.dark-mode .ProseMirror{color:#edf2f7;background:#1e1e1e}.ProseMirror p{margin:0 0 1rem}.ProseMirror h1{color:#1a202c;margin:1.5em 0 1em;font-family:Arial,sans-serif;font-size:2.5em;font-weight:800}.ProseMirror h2{color:#2d3748;margin:1.5em 0 1em;font-family:Arial,sans-serif;font-size:2em;font-weight:700}.ProseMirror h3{color:#4a5568;margin:1.5em 0 1em;font-family:Arial,sans-serif;font-size:1.5em;font-weight:600}.ProseMirror h4{color:#4a5568;margin:1.5em 0 1em;font-family:Arial,sans-serif;font-size:1.25em;font-weight:600}.ProseMirror h5{color:#4a5568;margin:1.5em 0 1em;font-family:Arial,sans-serif;font-size:1.1em;font-weight:600}.ProseMirror h6{color:#4a5568;margin:1.5em 0 1em;font-family:Arial,sans-serif;font-size:1em;font-weight:600}.dark-mode .ProseMirror h1,.dark-mode .ProseMirror h2,.dark-mode .ProseMirror h3,.dark-mode .ProseMirror h4,.dark-mode .ProseMirror h5,.dark-mode .ProseMirror h6{color:#e2e8f0}.ProseMirror blockquote{background:#667eea0d;border-left:4px solid #667eea;border-radius:0 8px 8px 0;margin:1rem 0;padding:1em 2em;font-style:italic}.dark-mode .ProseMirror blockquote{background:#667eea1a}.ProseMirror ul,.ProseMirror ol{margin:1rem 0;padding-left:1.5rem}.ProseMirror li{margin:.25rem 0}.ProseMirror img{border-radius:4px;max-width:100%;height:auto;margin:.5em 0;box-shadow:0 4px 20px #0000001a}.ProseMirror a{color:#3182ce;text-decoration:underline}.dark-mode .ProseMirror a{color:#63b3ed}.ProseMirror code{background:#f7fafc;border-radius:6px;padding:.25rem .5rem;font-family:JetBrains Mono,monospace;font-size:.875rem}.dark-mode .ProseMirror code{background:#2d3748}.error-highlight{cursor:pointer;border-bottom:2px wavy #ff6b6b;background:linear-gradient(120deg,#ff6b6b33 0%,#0000 100%);border-radius:3px;margin:0 1px;padding:0 2px;transition:all .3s;position:relative}.error-highlight strong,.error-highlight b{font-weight:700}.error-highlight em,.error-highlight i{font-style:italic}.error-highlight u{text-decoration:underline}.error-highlight:hover{background:#ff6b6b4d!important}.error-highlight[data-error-state=error],.error-highlight--error{border-bottom:2px wavy #ff6b6b!important;background:linear-gradient(120deg,#ff6b6b33 0%,#0000 100%)!important}.error-highlight[data-error-state=error]:hover,.error-highlight--error:hover{background:#ff6b6b4d!important}.error-highlight[data-error-state=corrected],.error-highlight--corrected{border-bottom:2px wavy #22c55e!important;background:linear-gradient(120deg,#22c55e33 0%,#0000 100%)!important}.error-highlight[data-error-state=corrected]:hover,.error-highlight--corrected:hover{background:#22c55e4d!important}.error-highlight--corrected{animation:.6s ease-out errorCorrected}@keyframes errorCorrected{0%{background:#ff6b6b66;border-bottom-color:#ff6b6b;transform:scale(1.05)}50%{background:#22c55e66;border-bottom-color:#22c55e;transform:scale(1.1)}to{background:#22c55e33;border-bottom-color:#22c55e;transform:scale(1)}}.ProseMirror [data-text-align=left]{text-align:left}.ProseMirror [data-text-align=center]{text-align:center}.ProseMirror [data-text-align=right]{text-align:right}.ProseMirror [data-text-align=justify]{text-align:justify}.ProseMirror p.is-editor-empty:first-of-type:before{content:attr(data-placeholder);float:left;color:#a0aec0;pointer-events:none;height:0;font-style:italic}.ProseMirror .selectedCell:after{z-index:2;content:"";pointer-events:none;background:#667eea26;position:absolute;top:0;bottom:0;left:0;right:0}.ProseMirror .ProseMirror-drop-cursor,.ProseMirror .ProseMirror-dropcursor,.ProseMirror-dropcursor-block,.ProseMirror-dropcursor-inline{display:none!important}.ProseMirror *{animation:.25s ease-out fadeInUp}.ProseMirror [data-node-view-wrapper] *,.ProseMirror img+*,.ProseMirror [data-drag-handle] *{animation:none!important}@media print{body *{visibility:hidden}.paged-editor-paper,.paged-editor-paper *{visibility:visible}.paged-editor-paper{width:100%;box-shadow:none;border-radius:0;position:absolute;top:0;left:0}.paged-editor-page-gap,.paged-editor-page-badge{display:none!important}}
