.MLE-container{height:100vh;display:flex;flex-direction:column;font-family:system-ui,sans-serif;line-height:1.4;padding:12px;box-sizing:border-box}.MLE-title{text-align:center;margin-bottom:12px;font-size:1.5rem;-webkit-user-select:none;user-select:none}.MLE-textarea{flex:1 1 40%;width:100%;font-family:monospace;background:#fff;padding:8px;border:1px solid #bbb;border-radius:4px;resize:none;box-sizing:border-box;overflow:hidden;min-height:120px;max-height:60vh}.MLE-controls{margin:12px 0;display:flex;align-items:center;gap:12px;flex-wrap:nowrap;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:14px;color:#333;justify-content:center}.MLE-controls>.MLE-button{padding:8px 16px;border-radius:6px;border:1.5px solid #ccc;background-color:#fff;color:#333;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 5px #0000000d;-webkit-user-select:none;user-select:none;white-space:nowrap}.MLE-controls>.MLE-button:disabled{background-color:#f0f0f0;color:#999;cursor:not-allowed}.MLE-controls>.MLE-button:not(:disabled):hover{border-color:#888}.MLE-version{font-size:13px;color:#666;-webkit-user-select:none;user-select:none;white-space:nowrap}.MLE-svg-container{flex:1 1 40%;min-height:90px;background:#fafbfc;border-left:4px solid #fa000f;border-radius:8px;padding:14px;display:flex;align-items:center;justify-content:center;overflow:hidden}.MLE-svg-error{color:#fa000f;background:#fee;padding:8px;border-radius:4px;white-space:pre-wrap;max-width:100%;overflow-wrap:break-word}.MLE-svg-content{width:100%;height:100%;overflow:auto}.MLE-rendering{-webkit-user-select:none;user-select:none;color:#666;font-style:italic}.MLE-download-btn{background-color:#fa000f;color:#fff;border:none;border-radius:6px;padding:8px 20px;cursor:pointer;font-weight:600;box-shadow:0 4px 10px #fa000f66;transition:background-color .3s ease,box-shadow .3s ease;margin-top:12px;width:100%;-webkit-user-select:none;user-select:none;white-space:nowrap}.MLE-download-btn:hover{background-color:#d4000c;box-shadow:0 6px 14px #d4000c99}.MLE-save-button{padding:8px 16px;border-radius:6px;border:1.5px solid #28a745;background-color:#28a745;color:#fff;cursor:pointer;box-shadow:0 2px 6px #28a74566;-webkit-user-select:none;user-select:none;white-space:nowrap;transition:background-color .2s ease}.MLE-save-button:hover{background-color:#218838}html,body,#root{height:100%;width:100%;margin:0;padding:0;box-sizing:border-box;overflow:hidden;font-family:Segoe UI;background:#f6f8fa}.app-root{height:100vh;width:100vw;display:flex;flex-direction:column;margin:0}.app-header{background:#222;color:#fff;padding:0 1.5rem;height:56px;display:flex;align-items:center;justify-content:flex-end;box-shadow:0 1px 4px #0000000d}.app-header button{background:#fff;color:#000;border-radius:4px;padding:6px 18px;font-weight:700;cursor:pointer;transition:background .2s;font-size:1em;margin-left:8px;margin-right:8px}.app-header button:hover,.app-header button:focus{background:#fa000f;color:#fff}.app-logo{height:80%;margin-left:4%;margin-right:auto}.main-layout{position:relative;display:flex;height:calc(100vh - 56px);flex-wrap:nowrap;overflow:hidden}.pane{overflow:auto;padding:0 6px;background:#fff;min-width:0;display:flex;flex-direction:column;height:100%}.pane-left{min-width:180px;background:#f1ecec;border-right:1px solid #dde1e6;scrollbar-width:thin}.pane-right{min-width:180px;background:#f1ecec;border-right:none;border-left:1px solid #dde1e6;padding-left:0}.pane-center{min-width:320px;background:#fafbfc}.pane-left.collapsed{width:0!important;min-width:0!important;border:none!important;overflow:hidden!important;padding:0!important}.split-container{display:flex;flex-direction:row;height:100%;width:100%}.gutter{background-color:#e8e8e8;background-repeat:no-repeat;background-position:center;transition:background-color .2s;position:relative}.gutter.gutter-horizontal{cursor:col-resize}.gutter.gutter-horizontal:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:3px;height:30px;background:linear-gradient(to bottom,transparent 0%,#bbb 20%,#bbb 80%,transparent 100%);border-radius:2px;opacity:.5;transition:opacity .2s}.gutter.gutter-horizontal:hover{background-color:#d8d8d8}.gutter.gutter-horizontal:hover:before{opacity:.8}.gutter.gutter-horizontal:active{background-color:#ccc}.gutter.gutter-horizontal:active:before{opacity:1}.account-dropdown{position:relative;display:inline-block}.account-dropdown-trigger{display:flex;align-items:center;background:transparent;border:none;color:#fff;padding:6px 12px;font-size:1em;cursor:pointer;font-weight:500;border-radius:4px;transition:background .2s}.account-dropdown-trigger:hover,.account-dropdown-trigger:focus{background:#fa000f17}.account-avatar{width:20px;height:20px;background:#fa000f;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-right:8px;font-weight:700;font-size:.8em}.account-username{margin-right:4px;opacity:.9}.account-caret{font-size:1em}.account-dropdown-content{display:none;position:absolute;right:0;top:calc(100% + 3px);background:#fff;min-width:150px;border-radius:6px;box-shadow:0 8px 32px #1e152329;z-index:5;padding:.5em 0}.account-dropdown:focus-within .account-dropdown-content,.account-dropdown:hover .account-dropdown-content{display:block}.dropdown-logout-btn{background:#fa000f;color:#fff;border:none;border-radius:4px;padding:6px 18px;font-weight:700;cursor:pointer;transition:background .2s;font-size:1em;margin:0 auto .25em;width:90%}.dropdown-logout-btn:hover,.dropdown-logout-btn:focus{background:#c70009}@keyframes badgepop{0%{transform:scale(.7)}80%{transform:scale(1.12)}to{transform:scale(1)}}@keyframes pulseGlow{0%{box-shadow:0 0 #fa001156}50%{box-shadow:0 0 10px 4px #fa001156}to{box-shadow:0 0 #fa001156}}@media (max-width: 900px){.pane-left,.pane-right{display:none}.pane-center{flex-basis:100%}}.chat-bubble{display:inline-block;padding:10px 14px;border-radius:18px;width:100%;margin-bottom:2px;font-size:1rem;line-height:1.45;word-break:break-word}.chat-bubble img{max-width:100%;height:auto}.chat-bubble h1{background-color:#949494;text-align:center}.chat-bubble table,.chat-bubble td,.chat-bubble th{border:1px solid black}.bubble-user{background:#fa000f;color:#fff;margin-left:auto;border-bottom-right-radius:6px;border-top-right-radius:0}.bubble-assistant{background:#d9d9d9;color:#000;margin-right:auto;border-bottom-left-radius:6px;border-top-left-radius:0}.sender-label-assistant{font-size:.83em;font-weight:500;color:#000;margin-bottom:1px}.sender-label-user{font-size:.83em;font-weight:500;color:#000;margin-bottom:1px;text-align:right}.project-header{position:sticky;top:0;background:#f1ecec;padding:12px 0;z-index:2;display:flex;gap:8px;align-items:center;border-bottom:1px solid #dde1e6;flex-direction:column}.project-search{padding:6px 10px;border-radius:4px;border:1px solid #aaa;background:#fff;font-size:1em;width:90%;box-sizing:border-box}.projects-list{margin:0;padding:0;list-style:none;scrollbar-width:thin}.add-new-doc-btn{background:#fa000f;color:#fff;border:none;border-radius:4px;padding:6px 10px;font-weight:700;cursor:pointer;transition:background .2s;font-size:1em;width:90%;box-sizing:border-box}.add-new-doc-btn:hover{background:#750008}.modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000026;display:flex;align-items:center;justify-content:center;z-index:99}.modal-box{background:#fff;border-radius:10px;padding:32px 28px 26px;width:50vw;box-shadow:0 8px 30px #00000021;display:flex;flex-direction:column;gap:18px;position:relative;max-height:90vh;overflow-y:scroll}.modal-close{position:absolute;top:10px;right:14px;font-size:1.2em;color:#6c6c6c;background:none;border:none;cursor:pointer;font-weight:700}.doc-versions-card{background:#fff;border-radius:18px;box-shadow:0 3px 18px #00000012;padding:20px;margin:20px auto;max-width:440px;min-width:0;text-align:left}.doc-versions-card h3{margin-top:0;color:#fa000f;letter-spacing:.02em;font-size:1.28em;font-weight:700;margin-bottom:22px;text-align:center;display:flex;align-items:center;justify-content:center;gap:8px}.doc-versions-list{list-style:none;padding-left:0;margin:0;display:flex;flex-direction:column;gap:13px}.doc-version-row{background:#fafbfc;border-radius:12px;box-shadow:0 1px 6px #0000000b;padding:8px 12px;display:flex;align-items:center;border-left:4px solid #fa000f}.doc-version-link{flex:1;font-weight:500;color:#1a2236;word-break:break-word;font-size:1.08em;text-decoration:none;transition:color .18s}.doc-version-link:hover,.doc-version-link:focus{color:#c4000b}.doc-version-view-btn{margin-left:15px;color:#fff;background:#fa000f;border:none;border-radius:8px;padding:5px 13px;font-weight:600;font-size:.97em;text-decoration:none;cursor:pointer;transition:background .16s;display:inline-block}.doc-version-view-btn:hover,.doc-version-view-btn:focus{background:#750008}.ref-version-delete{border:none;background:none}.ref-version-delete:hover{background:#f2f7fa}.chat-window{display:flex;flex-direction:column;height:100%;background:#fafbfc;border-radius:12px;box-shadow:0 3px 16px #22171709}.chat-messages-area{flex:1 1 auto;padding:32px 0 14px;overflow-y:auto;scrollbar-width:thin;border:1px solid #e2e5ed;margin-top:10px}.chat-message-row{display:flex;margin-bottom:12px;gap:1px;width:90%;margin-left:2%;margin-right:2%;animation:fadeInPop .2s ease-in-out}.chat-message-content{max-width:95%;display:flex;flex-direction:column}.chat-loading{color:#666;font-size:1em;margin-bottom:8px;opacity:.7}.chat-error{background:#ffe1e3;color:#fa000f;padding:10px 16px;border-radius:7px;margin-bottom:10px;font-weight:600;font-size:1em}.chat-input-form{display:flex;align-items:center;gap:8px;border:1px solid #e2e5ed;background:#fff;padding:14px 14px 10px;border-bottom-right-radius:12px;border-bottom-left-radius:12px;box-shadow:0 0 #0000;margin-bottom:10px}.chat-input{flex:1 1 auto;border-radius:8px;background:#f6f8fc;color:#222;outline:none;transition:border .15s;font-size:1em;margin-left:0;flex:1;padding:8px 12px;border:1px solid #dde1e6;font-family:Arial,sans-serif;resize:vertical}.chat-input:focus{border-color:#fa000f;background:#fff}.chat-input:disabled{color:#aaa;background:#ededed}.chat-send-btn{background:#fa000f;color:#fff;border:none;border-radius:8px;font-weight:700;font-size:1em;padding:10px 20px;cursor:pointer;transition:background .15s,box-shadow .18s;box-shadow:0 2px 10px #e500290b;outline:none}.chat-send-btn:disabled{background:#ddd;color:#aaa;cursor:not-allowed}.chat-send-btn:not(:disabled):hover,.chat-send-btn:focus{background:#c4000b;box-shadow:0 2px 15px #fa000f12}.bubble-user a{display:inline-flex;text-decoration:none;color:#fff;cursor:pointer;border-radius:7px;padding:4px 8px;background:#500;margin-top:10px}.bubble-assistant a{display:inline-flex;text-decoration:none;color:#fff;cursor:pointer;border-radius:7px;padding:4px 8px;background:#363636;margin-top:10px}@media (max-width: 700px){.chat-window{border-radius:0}.chat-messages-area{padding:10px 0 7px}.chat-input-form{padding:8px 7px 7px}.chat-message-content{max-width:92%}}.projects-list{list-style:none;padding:0;margin:0;scrollbar-width:thin}.projects-list-item{display:flex;align-items:center;justify-content:space-between;margin:.5rem 0;padding:.25rem .25rem .25rem .4rem;border-radius:4px;cursor:pointer;font-weight:400;background:transparent;transition:background .2s;position:relative}.projects-list-item:hover,.projects-list-item:focus{background:#f5f6fa}.projects-list-item.active{background:#d9d9d9;font-weight:700}.project-menu-btn{background:none;border:none;cursor:pointer;font-size:22px;margin-left:8px;color:#888;padding:2px 5px;line-height:1;border-radius:3px;transition:background .13s}.project-menu-btn:hover,.project-menu-btn:focus{background:#f0f0f5;color:#222}.project-menu-dropdown{position:absolute;right:8px;top:calc(100% + 5px);background:#fff;box-shadow:0 2px 8px #00000026;border-radius:5px;min-width:120px;padding:2px 0;z-index:10;animation:fadeInPop .17s;display:flex;flex-direction:column}@keyframes fadeInPop{0%{opacity:0;transform:translateY(-8px) scale(.965)}to{opacity:1;transform:none}}.menu-item{width:100%;background:none;border:none;padding:10px 16px;text-align:left;font-size:1em;cursor:pointer;border-bottom:1px solid #f2f2f2;transition:background .13s;color:#222}.menu-item:last-child{border-bottom:none}.menu-item:hover,.menu-item:focus{background:#f6f9fe}.menu-item.delete{color:#b01212}.menu-item.delete:hover,.menu-item.delete:focus{background:#ffe7e7}.microsoft-login-btn{display:flex;align-items:center;justify-content:center;gap:9px;background:#2f2f2f;color:#fff;font-weight:600;font-size:1.06em;padding:10px 24px;border:none;border-radius:9px;cursor:pointer;box-shadow:0 2px 8px #26262612;transition:background .18s,box-shadow .19s;outline:none}.microsoft-login-btn:hover,.microsoft-login-btn:focus{background:#0854a0;color:#fff;box-shadow:0 3px 15px #0854a01c}.microsoft-login-btn:active{background:#054080}.microsoft-logo{width:23px;height:23px;display:inline-block}.centered-btn{display:flex;justify-content:center;align-items:center;width:100%;margin:32px 0 16px}.chat-input-area{display:flex;align-items:center;padding:14px 12px;gap:8px;border-top:1px solid #e1e5ea;background:#fcfcfd;border-radius:0 0 20px 20px;position:relative}.chat-file-label{display:inline-block;margin-left:6px;padding:6px 13px;background:#e3f0fb;color:#144787;border-radius:14px;font-size:14px;font-weight:500;cursor:pointer;transition:background .18s;position:relative}.chat-file-label:hover{background:#bfd6ec}.project-file-label{display:inline-block;padding:6px 13px;background:#e3f0fb;color:#144787;border-radius:14px;font-size:14px;font-weight:500;cursor:pointer;transition:background .18s;position:relative;text-align:center}.project-file-label:hover{background:#bfd6ec}.chat-file-clear{color:#e44;border:none;background:none;font-size:1em;margin-left:8px;cursor:pointer}.drag-area-active{box-shadow:0 0 0 3px #1976d244;background:#f2f7fa!important}input[type=file].chat-file-upload{display:none}@media (max-width: 600px){.projects-list-item{font-size:.98em}.project-menu-btn{font-size:18px}}.doc-versions-card.cover.details form{display:flex;flex-direction:column;gap:12px;margin-top:0}.doc-versions-card.cover.details label{display:flex;flex-direction:column;font-weight:500;font-size:.99em;color:#222;gap:3px;letter-spacing:.01em}.doc-versions-card.cover.details input[type=text]{border:1px solid #ddd;border-radius:5px;padding:7px 9px;font-size:.97em;background:#f7f9fb;color:#222;outline:none;transition:border-color .15s}.doc-versions-card.cover.details input[type=text]:focus{border-color:#fa000f;background:#fff}.doc-versions-card.cover.details button[type=submit]{align-self:flex-end;background:#fa000f;color:#fff;border:none;border-radius:6px;font-weight:600;font-size:.99em;padding:7px 19px;margin-top:1px;box-shadow:0 1px 4px #e500290d;cursor:pointer;transition:background .15s,box-shadow .12s}.doc-versions-card.cover.details button[type=submit]:hover,.doc-versions-card.cover.details button[type=submit]:focus{background:#c4000b;box-shadow:0 2px 11px #fa000f14}.doc-versions-card.cover.details button[type=submit]:disabled{background:#ddd;color:#888;cursor:not-allowed;box-shadow:none}.notification-bell-wrap{position:relative;display:inline-block;margin-right:16px}.notification-bell-btn{background:transparent;border:none;padding:0 6px;cursor:pointer;color:#70757a;position:relative;font-size:1.18em;display:flex;align-items:center}.notification-bell-btn:hover,.notification-bell-btn:focus{color:#fa000f}.notification-bell-icon svg{display:block;width:22px;height:22px}.notification-badge{position:absolute;right:2px;top:2px;background:#fa000f;color:#fff;font-size:.75em;border-radius:99px;min-width:16px;height:16px;display:flex;align-items:center;justify-content:center;font-weight:700;border:2px solid #fff;box-sizing:border-box}.notification-popover{position:absolute;top:calc(100% + 10px);right:0;width:368px;max-width:98vw;background:#fff;border-radius:12px;border:1px solid #e6e8ea;box-shadow:0 4px 32px #2b2b2c14;z-index:1000;font-size:15px;color:#262626;overflow:hidden}.notification-popover-header{display:flex;align-items:center;padding:18px 22px 8px;background:none}.notification-popover-title{font-weight:600;font-size:1.04em;color:#25272b;flex:1;letter-spacing:0}.notification-mark-all:disabled{opacity:.47;cursor:not-allowed}.notification-mark-all:hover:not(:disabled),.notification-mark-all:focus:not(:disabled){background:#c70009;opacity:1}.notification-popover-content{max-height:360px;overflow-y:auto;padding:3px 12px 16px 16px;background:#fcfcfc}.notification-loading,.notification-error,.notification-empty{color:#a6a8ac;font-size:.95em;text-align:center;padding:1.1em 0 1em}.notification-error{color:#fa000f}.notification-list{list-style:none;padding:0;margin:0}.notification-item{display:flex;align-items:flex-start;gap:13px;border-radius:7px;padding:13px 12px;margin-bottom:7px;background:#fff;border:1.1px solid transparent;cursor:pointer;transition:border-color .15s,background .13s;box-sizing:border-box;position:relative;min-height:44px}.notification-item:last-child{margin-bottom:0}.notification-item.unread{border-color:#fa000f33}.notification-item.unread .notification-body{font-weight:700}.notification-item:hover,.notification-item:focus{background:#f7f8fc;border-color:#e8e8ed}.notification-item.unread:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:2px;margin-top:6px;background:#fa000f;flex-shrink:0}.notification-item.read:before{display:none}.notification-content-group{flex:1;display:flex;flex-direction:column;gap:1.5px;min-width:0}.notification-title{font-weight:600;color:#212123;font-size:1em;margin-bottom:0;white-space:pre-line;overflow:hidden;text-overflow:ellipsis;display:block;padding-right:4px}.notification-item.unread .notification-title{color:#19191a;padding-left:0;font-weight:700}.notification-body{color:#556070;font-size:.96em;margin:1.5px 0 .5px;line-height:1.35}.notification-meta{font-size:.88em;color:#a7aaad;font-weight:500;letter-spacing:.01em;margin-top:2px;line-height:1.22;white-space:nowrap}@media (max-width: 500px){.notification-popover{min-width:99vw;width:99vw;right:-12vw}.notification-popover-content{max-height:59vw}}.status-indicator{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:12px;font-size:.85rem;font-weight:500;cursor:default;transition:all .3s ease}.status-dot{width:8px;height:8px;border-radius:50%;animation:pulse 2s ease-in-out infinite}.status-text{letter-spacing:.3px}.status-indicator.online{background-color:#10b9811a;color:#10b981}.status-indicator.online .status-dot{background-color:#10b981;box-shadow:0 0 6px #10b98199}.status-indicator.loading{background-color:#3b82f61a;color:#3b82f6}.status-indicator.loading .status-dot{background-color:#3b82f6;box-shadow:0 0 6px #3b82f699}.status-indicator.error{background-color:#ef44441a;color:#ef4444}.status-indicator.error .status-dot{background-color:#ef4444;box-shadow:0 0 6px #ef444499;animation:none}.status-indicator.warning{background-color:#f59e0b1a;color:#f59e0b}.status-indicator.warning .status-dot{background-color:#f59e0b;box-shadow:0 0 6px #f59e0b99}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.status-indicator:hover{transform:scale(1.05)}
