:root{--bg-color:#f8fafc;--surface-color:#ffffffbf;--surface-border:#00000014;--text-main:#0f172a;--text-muted:#64748b;--primary-color:#3b82f6;--primary-hover:#2563eb;--accent-color:#ec4899;--hidden-tag-bg:#ef444426;--hidden-tag-border:#ef4444;--radius-md:12px;--radius-lg:16px;--transition:all .2s cubic-bezier(.4, 0, .2, 1)}*{box-sizing:border-box;margin:0;padding:0}@font-face{font-family:Taamey David CLM;src:url(/assets/taameydavidclmmedium-DDUhZd0p.otf)format("opentype");font-weight:400;font-style:normal}body{background-color:var(--bg-color);color:var(--text-main);background-image:radial-gradient(at 0 0,#3b82f61a 0,#0000 50%),radial-gradient(at 100% 100%,#ec489914 0,#0000 50%);background-attachment:fixed;justify-content:center;min-height:100vh;padding:2rem;font-family:Inter,sans-serif;display:flex}[dir=rtl],.hebrew-text{font-family:Taamey David CLM,Inter,sans-serif;font-size:1.25em}.app-container{flex-direction:column;gap:1.5rem;width:100%;max-width:1400px;height:calc(100vh - 4rem);display:flex}.main-workspace{flex-grow:1;gap:1.5rem;min-height:0;display:flex}.sidebar{border-radius:var(--radius-lg);flex-direction:column;flex-shrink:0;width:280px;display:flex;overflow:hidden}.sidebar-header{border-bottom:1px solid var(--surface-border);justify-content:space-between;align-items:center;padding:1rem;display:flex}.sidebar-header h3{color:var(--text-main);margin:0;font-size:.95rem;font-weight:600}.btn-sm{width:auto;height:28px;padding:0 .75rem;font-size:.8rem}.file-list{flex-direction:column;flex-grow:1;gap:2px;padding:.5rem;display:flex;overflow-y:auto}.empty-msg{color:var(--text-muted);text-align:center;padding:1rem;font-size:.85rem;font-style:italic}.file-item{cursor:pointer;color:var(--text-main);-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;border-radius:6px;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.85rem;transition:background .15s;display:flex;overflow:hidden}.file-item.folder{color:var(--text-muted);font-weight:600}.file-item.folder i{color:#eab308}.file-item:hover{background:#0000000d}.file-item.active{background:var(--primary-color);color:#fff}.glass-panel{background:var(--surface-color);-webkit-backdrop-filter:blur(16px);border:1px solid var(--surface-border);border-radius:var(--radius-lg);box-shadow:0 10px 40px -10px #00000014}.toolbar{z-index:10;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.75rem 1rem;display:flex;position:sticky;top:1rem}.toolbar-group{align-items:center;gap:.25rem;display:flex}.toolbar-divider{background:var(--surface-border);width:1px;height:24px;margin:0 .5rem}.toolbar-spacer{flex-grow:1}button,.tool-btn{appearance:none;color:var(--text-muted);cursor:pointer;width:36px;height:36px;transition:var(--transition);background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;font-family:inherit;font-size:1rem;display:inline-flex}button:hover,.tool-btn:hover{color:var(--text-main);background:#0000000d}button.active,.tool-btn.active{color:var(--primary-color);background:#3b82f626}.btn-special{color:#ef4444;background:#ef44441a;gap:.5rem;width:auto;padding:0 1rem;font-size:.875rem;font-weight:500}.btn-special:hover{color:#fca5a5;background:#ef444433}.file-ops .tool-btn{gap:.5rem;width:auto;padding:0 1rem;font-size:.875rem;font-weight:500}.btn-outline{border:1px solid var(--surface-border)}.btn-outline:hover{border-color:var(--text-muted)}.btn-primary{background:var(--primary-color);color:#fff}.btn-primary:hover{background:var(--primary-hover);color:#fff;transform:translateY(-1px);box-shadow:0 4px 12px #6366f14d}.editor-wrapper{color:#1a1a1a;border-radius:var(--radius-lg);background-color:#fff;flex-direction:column;flex-grow:1;display:flex;overflow:hidden;box-shadow:0 10px 30px -10px #0000000d}.editor-title{color:#64748b;background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-shrink:0;align-items:center;gap:.5rem;padding:.75rem 1.5rem;font-size:.9rem;font-weight:600;display:flex}.editor{caret-color:#000;outline:none;flex-grow:1;padding:1.5rem 2.5rem;font-size:1.05rem;line-height:1.6;overflow-y:auto}.editor:empty:before{content:attr(placeholder);color:var(--text-muted);pointer-events:none;font-style:italic;display:block}.editor p{margin-bottom:1rem}.editor h1,.editor h2,.editor h3{margin-top:1.5rem;margin-bottom:.75rem;font-weight:600}.editor a{color:var(--primary-color);text-decoration:none}.editor a:hover{text-decoration:underline}.kts-highlight{color:#fbcfe8;background-color:#ec489933;border-radius:4px;padding:.1rem .3rem;font-weight:500}.kts-primary-text{color:var(--primary-color);font-weight:600}.editor span[data-event]{background-color:#9b59b60d;border:2px dashed #9b59b6;border-radius:4px;margin:2px 0;padding:2px 4px;display:block;position:relative}.editor span[data-event]:after{content:attr(data-event-name);color:#fff;pointer-events:none;white-space:nowrap;background:#9b59b6;border-radius:4px;padding:2px 6px;font-size:.6rem;font-weight:600;position:absolute;top:-12px;right:0}.tool-select{border:1px solid var(--surface-border);color:var(--text-main);cursor:pointer;background:#ffffff80;border-radius:8px;outline:none;padding:.4rem;font-family:inherit;font-size:.85rem;transition:all .3s}.tool-select:hover,.tool-select:focus{background:#ffffffe6;border-color:#0003}.tool-select option{color:var(--text-main);background:#fff}.tool-input{border:1px solid var(--surface-border);color:var(--text-main);background:#fffc;border-radius:8px;outline:none;min-width:150px;padding:.4rem .6rem;font-family:inherit;font-size:.85rem;transition:all .3s}.tool-input:focus{border-color:var(--primary-color);background:#fff;box-shadow:0 0 0 2px #3b82f61a}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--surface-border);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}#context-menu,#context-menu-folder{border-radius:var(--radius-md);z-index:1000;background:#fff;min-width:150px;padding:.5rem 0;display:none;position:absolute;box-shadow:0 4px 15px #00000040}.context-option{cursor:pointer;color:var(--text-main);align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.85rem;display:flex}.context-option:hover{background:#f1f5f9}.context-option.danger{color:#ef4444}.context-option.danger:hover{background:#ef44441a}#login-screen{background:var(--bg-color);z-index:9999;background-image:radial-gradient(at 0 0,#3b82f61a 0,#0000 50%),radial-gradient(at 100% 100%,#ec489914 0,#0000 50%);flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex;position:fixed;top:0;left:0}#login-screen img.login-logo{height:120px;margin-bottom:2rem}#login-screen h1{color:var(--text-main);margin-bottom:.5rem;font-size:2rem}#login-screen p{color:var(--text-muted);margin-bottom:2rem}.btn-google{color:#444;border-radius:var(--radius-md);cursor:pointer;transition:var(--transition);white-space:nowrap;background:#fff;border:1px solid #ccc;align-items:center;gap:.75rem;width:auto;height:auto;padding:.75rem 1.5rem;font-size:1rem;font-weight:500;display:flex;box-shadow:0 4px 6px #0000000d}.btn-google:hover{transform:translateY(-2px);box-shadow:0 6px 12px #0000001a}.btn-google img{height:20px;margin:0}.user-profile{align-items:center;gap:.5rem;display:flex}.user-profile img{border:2px solid var(--surface-border);border-radius:50%;width:32px;height:32px}.code-editor-container{border-radius:var(--radius-lg);border:1px solid var(--surface-border);box-shadow:var(--shadow-sm);background:#1d1f21;flex-grow:1;margin:1rem;display:flex;position:relative;overflow:hidden}#code-textarea,.code-editor-container pre,.code-editor-container pre code{tab-size:4!important;box-sizing:border-box!important;text-shadow:none!important;border:none!important;margin:0!important;font-family:Consolas,Courier New,monospace!important;font-size:14px!important;line-height:1.5!important}#code-textarea,.code-editor-container pre{width:100%;height:100%;position:absolute;top:0;left:0;padding:1.5rem!important}.code-editor-container pre code{display:block;background:0 0!important;padding:0!important}#code-textarea{z-index:2;resize:none;outline:none;overflow:auto;color:#0000!important;caret-color:#fff!important;white-space:pre!important;word-wrap:normal!important;background:0 0!important}.code-editor-container pre{z-index:1;pointer-events:none!important;white-space:pre!important;word-wrap:normal!important;box-shadow:none!important;background:0 0!important;overflow:hidden!important}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;opacity:0;background:#0006;justify-content:center;align-items:center;width:100%;height:100%;transition:opacity .3s;display:none;position:fixed;top:0;left:0}.modal-overlay.active{opacity:1;display:flex}.modal-content{flex-direction:column;gap:1rem;width:90%;max-width:500px;padding:2rem;transition:transform .3s;display:flex;transform:translateY(20px)}.modal-overlay.active .modal-content{transform:translateY(0)}.modal-header{justify-content:space-between;align-items:center;margin-bottom:.5rem;display:flex}.modal-header h2{color:var(--text-main);font-size:1.25rem;font-weight:700}.modal-body{flex-direction:column;gap:1rem;display:flex}.modal-body label{color:var(--text-muted);font-size:.85rem;font-weight:600}.modal-footer{justify-content:flex-end;gap:1rem;margin-top:1rem;display:flex}.modal-footer button{width:auto;padding:0 1.5rem}.notif-item{border:1px solid var(--surface-border);transition:var(--transition);background:#fff6;border-radius:8px;flex-direction:column;gap:.4rem;padding:.75rem;display:flex}.notif-item:hover{background:#ffffffb3;transform:translate(4px)}.notif-item-header{justify-content:space-between;align-items:flex-start;display:flex}.notif-item-title{color:var(--text-main);font-size:.85rem;font-weight:700}.notif-item-date{color:var(--text-muted);font-size:.7rem}.notif-item-actions{justify-content:flex-end;gap:.5rem;margin-top:.25rem;display:flex}.notif-action-btn{width:28px;height:28px;color:var(--text-muted);font-size:.75rem}.notif-action-btn:hover{color:var(--primary-color);background:#0000000d}.notif-action-btn.delete:hover{color:#ef4444;background:#ef44441a}h1,h2,h3,h4{text-align:center}h4{background-color:#e5e5e5;padding:5px;font-size:.8em}h5{background-color:#f2f2f2;margin-top:10px;margin-bottom:10px;padding:5px;font-weight:400;line-height:150%}h5 div{text-align:center;font-weight:700}blockquote{text-align:center;font-size:1.2em;font-style:italic}p{text-align:justify;font-size:1em;line-height:150%}hr{border:1px solid #e5e5e5}
