.calendar-view{flex:1 1;width:100%;height:100vh;background-color:#fff;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;padding:20px;box-sizing:border-box}.calendar-header{justify-content:space-between;margin-bottom:30px;padding:15px 20px;background:linear-gradient(145deg,#f5f5f5,#e8e8e8);border-radius:12px;box-shadow:0 2px 8px #00000014}.calendar-header,.calendar-header-left{display:flex;align-items:center;gap:20px}.calendar-header-left{flex:1 1;justify-content:center}.calendar-year{font-size:32px;font-weight:700;color:#000;margin:0;min-width:120px;text-align:center;cursor:pointer;transition:color .2s ease;-webkit-user-select:none;user-select:none}.calendar-year:hover{color:#dc150b}.calendar-year-input{font-size:32px;font-weight:700;color:#000;margin:0;min-width:120px;width:120px;text-align:center;border:2px solid #dc150b;border-radius:8px;padding:4px 8px;background-color:#fff;outline:none;transition:all .2s ease}.calendar-year-input:focus{box-shadow:0 0 0 3px #dc150b33}.year-nav-btn{width:40px;height:40px;border:none;border-radius:50%;background-color:#fff;color:#000;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;box-shadow:0 2px 4px #0000001a}.year-nav-btn:hover{background-color:#dc150b;color:#fff;transform:scale(1.05)}.year-nav-btn:active{transform:scale(.95)}.today-btn{padding:10px 20px;border:none;border-radius:20px;background-color:#dc150b;color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;margin-left:20px}.today-btn:hover{background-color:#c01309;transform:scale(1.05)}.today-btn:active{transform:scale(.95)}.reset-year-btn{width:44px;height:44px;padding:0;border:0 solid #dc150b;border-radius:50%;background-color:initial;color:#dc150b;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.reset-year-btn:hover{background-color:#dc150b;transform:scale(1.1);box-shadow:0 4px 12px #dc150b4d}.reset-year-btn:active{transform:scale(.95)}.reset-year-btn svg{transition:all .2s ease;stroke:#dc150b}.reset-year-btn:hover svg{stroke:#fff}.months-grid{display:grid;grid-template-columns:repeat(6,1fr);grid-gap:16px;gap:16px;padding-bottom:20px;width:100%}.month-card{background-color:#f8f9fa;border-radius:8px;padding:12px;box-shadow:0 2px 8px #00000014;transition:all .2s ease;min-width:0;display:flex;flex-direction:column;position:relative;z-index:1}.month-card:hover{box-shadow:0 4px 12px #a714141f}.month-card:has(.calendar-day:hover){z-index:1002}.month-header{margin-bottom:8px;padding-bottom:6px;border-bottom:2px solid #dc150b}.month-name{font-size:14px;font-weight:700;color:#000;margin:0;text-align:center}.month-calendar{display:flex;flex-direction:column;gap:6px;width:100%;flex:1 1}.day-names{display:grid;grid-template-columns:repeat(7,1fr);grid-gap:1px;gap:1px;margin-bottom:2px;width:100%}.day-name{font-size:9px;font-weight:700;color:#666;text-align:center;padding:2px 1px;text-transform:uppercase}.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);grid-gap:1px;gap:1px;width:100%}.calendar-day{aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:3px;background-color:#fff;cursor:pointer;transition:all .15s ease;position:relative;min-height:24px;z-index:1}.calendar-day:hover{z-index:1001}.calendar-day:not(.empty):hover{background-color:#dc150b1a;transform:scale(1.05);border-radius:6px}.calendar-day:not(.empty):hover .day-number{color:#000;font-weight:700}.calendar-day.empty{background-color:initial;cursor:default}.calendar-day.today{background-color:#dc150b;color:#fff;font-weight:700;box-shadow:0 2px 6px #dc150b4d}.calendar-day.today:hover{background-color:#c01309}.day-number{font-size:11px;font-weight:500;color:#000}.calendar-day.today .day-number{color:#fff;font-weight:700}.calendar-day.has-comment{position:relative}.calendar-day.has-comment:after{content:"";position:absolute;bottom:2px;right:2px;width:6px;height:6px;background-color:#dc150b;border-radius:50%}.calendar-day.has-comment:before{content:attr(data-tooltip);position:absolute;left:90%;margin-left:0;padding:8px 14px;background:linear-gradient(135deg,#f11b10,#b51108);color:#fff;font-size:13px;font-weight:600;border-radius:10px;white-space:nowrap;opacity:0;pointer-events:none;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:4px 4px 12px #0003,-2px -2px 8px #ffffff1a;z-index:1003;letter-spacing:.3px;top:50%;transform:translateY(-50%)}.calendar-day.has-comment:hover:before{opacity:1;left:100%;margin-left:8px}.calendar-day.has-comment:nth-child(13):before,.calendar-day.has-comment:nth-child(14):before,.calendar-day.has-comment:nth-child(20):before,.calendar-day.has-comment:nth-child(21):before,.calendar-day.has-comment:nth-child(27):before,.calendar-day.has-comment:nth-child(28):before,.calendar-day.has-comment:nth-child(34):before,.calendar-day.has-comment:nth-child(35):before,.calendar-day.has-comment:nth-child(41):before,.calendar-day.has-comment:nth-child(42):before,.calendar-day.has-comment:nth-child(6):before,.calendar-day.has-comment:nth-child(7):before{left:auto;right:90%;margin-left:0;margin-right:0}.calendar-day.has-comment:nth-child(13):hover:before,.calendar-day.has-comment:nth-child(14):hover:before,.calendar-day.has-comment:nth-child(20):hover:before,.calendar-day.has-comment:nth-child(21):hover:before,.calendar-day.has-comment:nth-child(27):hover:before,.calendar-day.has-comment:nth-child(28):hover:before,.calendar-day.has-comment:nth-child(34):hover:before,.calendar-day.has-comment:nth-child(35):hover:before,.calendar-day.has-comment:nth-child(41):hover:before,.calendar-day.has-comment:nth-child(42):hover:before,.calendar-day.has-comment:nth-child(6):hover:before,.calendar-day.has-comment:nth-child(7):hover:before{left:auto;right:100%;margin-left:0;margin-right:8px}@media (max-width:1800px){.months-grid{grid-template-columns:repeat(4,1fr)}}@media (max-width:1400px){.months-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:1000px){.months-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.months-grid{grid-template-columns:1fr}.calendar-header{flex-wrap:wrap}.calendar-year{font-size:24px}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background-color:#fff;border-radius:12px;box-shadow:0 8px 32px #0003;width:90%;max-width:550px;max-height:80vh;overflow:hidden;display:flex;flex-direction:column;animation:slideUp .3s ease}.reset-confirm-modal{max-width:450px}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #e0e0e0}.modal-title{font-size:20px;font-weight:700;color:#000;margin:0}.modal-close-btn{width:32px;height:32px;border:none;border-radius:50%;background-color:initial;color:#666;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.modal-close-btn:hover{background-color:#f5f5f5;color:#000}.modal-close{width:32px;height:32px;border:none;background-color:initial;color:#666;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;padding:0}.modal-close:hover{color:#000}.modal-body{padding:24px;overflow-y:auto;flex:1 1;min-height:0}.form-group{margin-bottom:20px}.form-group:last-child{margin-bottom:0}.form-label{display:block;font-size:14px;font-weight:600;color:#000;margin-bottom:8px}.form-textarea{width:100%;padding:12px;border:1px solid #e0e0e0;border-radius:8px;font-size:14px;font-family:inherit;resize:vertical;outline:none;transition:border-color .2s ease;box-sizing:border-box}.form-textarea:focus{border-color:#dc150b;box-shadow:0 0 0 3px #dc150b1a}.color-picker{display:grid;grid-template-columns:repeat(5,1fr);grid-gap:12px;gap:12px;width:100%;margin-top:8px}.color-option{aspect-ratio:1;border:3px solid #e0e0e0;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;min-height:50px;box-shadow:0 2px 4px #0000001a}.color-option:hover{transform:scale(1.05);border-color:#dc150b;box-shadow:0 4px 8px #00000026}.color-option.selected{border-color:#dc150b;border-width:4px;box-shadow:0 4px 12px #dc150b4d}.color-option svg{filter:drop-shadow(0 1px 2px rgba(0,0,0,.3))}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #e0e0e0}.modal-btn{padding:10px 20px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;pointer-events:auto;position:relative;z-index:1}.delete-btn{background-color:initial;color:#dc150b;margin-right:auto}.delete-btn:hover{background-color:#ffebee}.cancel-btn{background-color:#f5f5f5;color:#000}.cancel-btn:hover{background-color:#e0e0e0}.save-btn{background-color:#dc150b;color:#fff}.save-btn:hover{background-color:#c01309}.confirm-message{color:#333}.warning-message{color:#dc150b}.dark-theme .calendar-view{background-color:#0f172a}.dark-theme .month-card{background-color:#1e293b;box-shadow:0 2px 8px #0000004d}.dark-theme .month-name{color:#f8fafc}.dark-theme .day-name{color:#94a3b8}.dark-theme .calendar-day{background-color:#1e293b}.dark-theme .day-number{color:#f8fafc}.dark-theme .calendar-day:not(.empty):hover{background-color:#dc150b33}.dark-theme .calendar-day:not(.empty):hover .day-number{color:#fff;font-weight:700}.dark-theme .modal-content{background-color:#1e293b}.dark-theme .form-label,.dark-theme .modal-title{color:#f8fafc}.dark-theme .form-textarea{background-color:#0f172a;border-color:#334155;color:#f8fafc}.dark-theme .modal-footer,.dark-theme .modal-header{border-bottom-color:#334155;border-top-color:#334155}.dark-theme .cancel-btn{background-color:#334155;color:#f8fafc}.dark-theme .cancel-btn:hover{background-color:#475569}.dark-theme .confirm-message{color:#f8fafc}.dark-theme .modal-close-btn:hover{background-color:#334155;color:#f8fafc}.todo-view{flex:1 1;width:100%;height:100vh;background-color:#fff;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;padding:20px;box-sizing:border-box}.todo-container{width:100%;max-width:100%;background:#0000;padding:0}.todo-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;padding:15px 20px;background:linear-gradient(145deg,#f5f5f5,#e8e8e8);border-radius:12px;box-shadow:0 2px 8px #00000014}.todo-title{font-size:32px;font-weight:700;color:#000;margin:0}.clear-completed-btn{padding:8px 16px;border:none;background-color:#fff;color:#000;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 3px #0000001a}.clear-completed-btn:hover{background-color:#f11b10;color:#fff;box-shadow:0 2px 6px #f11b104d}.todo-input-container{display:flex;gap:10px;margin-bottom:24px;padding:0 20px}.todo-input{flex:1 1;padding:10px 16px;border:none;border-radius:20px;font-size:17px;background-color:#f3f3f3;outline:none;transition:background-color .5s ease;font-family:inherit}.todo-input:hover{background-color:#e0e0e0}.todo-input:focus{background-color:#e8e8e8;box-shadow:0 0 0 2px #f11b10}.todo-input::placeholder{color:#000}.add-todo-btn{width:40px;height:40px;border:none;background-color:#fff;color:#f11b10;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0;box-shadow:0 2px 6px #0000001a}.add-todo-btn:hover{background-color:#f11b10;color:#fff;transform:translateY(-1px);box-shadow:0 3px 10px #f11b104d}.add-todo-btn:active{transform:translateY(0)}.todo-list{gap:20px;padding:0 20px}.todo-list,.todo-section{display:flex;flex-direction:column}.todo-section{gap:6px}.todo-section-header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background-color:#f8f9fa;border-radius:6px;margin-bottom:6px}.todo-section-title{font-size:13px;font-weight:600;color:#000;text-transform:uppercase;letter-spacing:.5px}.todo-count{font-size:12px;font-weight:600;color:#666;background-color:#e8e8e8;padding:3px 10px;border-radius:12px}.todo-item{display:flex;align-items:center;gap:12px;padding:12px 16px;background-color:#f8f9fa;border-radius:8px;transition:all .2s ease;border:1px solid #0000}.todo-item:hover{background-color:#f3f3f3;border-color:#e0e0e0;box-shadow:0 1px 3px #0000000d}.todo-item.completed{opacity:.5}.todo-item.completed .todo-text{text-decoration:line-through;color:#666}.todo-checkbox-container{position:relative;display:flex;align-items:center;cursor:pointer;flex-shrink:0}.todo-checkbox-container input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkmark{width:22px;height:22px;border:2px solid silver;border-radius:6px;background-color:#fff;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.todo-checkbox-container:hover .checkmark{border-color:#f11b10}.todo-checkbox-container input:checked~.checkmark{background:linear-gradient(135deg,#f11b10,#b51108);border-color:#f11b10}.todo-checkbox-container input:checked~.checkmark:after{content:"";display:block;width:6px;height:11px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg);margin-top:-2px}.todo-text{flex:1 1;font-size:16px;color:#000;line-height:1.5;word-break:break-word}.delete-todo-btn{width:28px;height:28px;border:none;background-color:initial;color:#999;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0;opacity:0}.todo-item:hover .delete-todo-btn{opacity:1}.delete-todo-btn:hover{background-color:#f11b10;color:#fff;transform:scale(1.1)}.todo-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px;color:#999;text-align:center}.todo-empty-state svg{margin-bottom:20px;opacity:.2;color:#000}.todo-empty-state p{font-size:20px;font-weight:600;color:#000;margin:0 0 8px}.todo-empty-state span{font-size:15px;color:#666}.todo-view::-webkit-scrollbar{width:8px}.todo-view::-webkit-scrollbar-track{background:#f5f5f5}.todo-view::-webkit-scrollbar-thumb{background:silver;border-radius:4px}.todo-view::-webkit-scrollbar-thumb:hover{background:#a0a0a0}.inbox-view{flex:1 1;display:flex;flex-direction:column;min-width:0;height:calc(100vh - 55px);overflow:auto;padding:18px 18px 24px;background:#f9fafb}.dark-theme .inbox-view{background:#000}.inbox-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.inbox-title{font-size:20px;font-weight:700;color:#111827}.dark-theme .inbox-title{color:#e5e7eb}.inbox-actions{display:flex;align-items:center;gap:10px}.inbox-refresh{border:1px solid #f11b1059;background:#f11b10;color:#fff;padding:8px 12px;border-radius:10px;cursor:pointer;font-weight:600;display:inline-flex;align-items:center;gap:8px}.dark-theme .inbox-refresh{background:#f11b10;border-color:#f11b1080;color:#fff}.inbox-refresh:disabled{opacity:.6;cursor:default}.inbox-refresh-spinner{width:14px;height:14px;border-radius:999px;border:2px solid #ffffff73;border-top-color:#fff;animation:inboxSpin .9s linear infinite;flex:0 0 auto}@keyframes inboxSpin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.inbox-section{background:#fff;border:1px solid #0000000f;border-radius:14px;padding:14px;margin-bottom:14px}.dark-theme .inbox-section{background:#ffffff08;border-color:#ffffff14}.inbox-section-title{display:flex;align-items:center;gap:10px;font-weight:700;color:#111827;margin-bottom:12px;justify-content:space-between}.inbox-section-title-left{display:inline-flex;align-items:center;gap:10px;min-width:0}.dark-theme .inbox-section-title{color:#e5e7eb}.inbox-section-toggle{background:#0000;border:none;color:#6b7280;padding:4px 0;cursor:pointer;font-weight:600;font-size:13px;display:inline-flex;align-items:center;gap:4px;box-shadow:none}.inbox-section-toggle:hover{background:#0000;color:#111827;box-shadow:none;transform:none;text-decoration:underline}.inbox-section-toggle:active{transform:none}.inbox-section-toggle-bottom{display:flex;justify-content:flex-start;margin-top:8px;margin-bottom:4px;padding-left:12px}.dark-theme .inbox-section-toggle{background:#0000;border-color:#0000;color:#9ca3af;box-shadow:none}.dark-theme .inbox-section-toggle:hover{background:#0000;color:#f9fafb;border-color:#0000}.inbox-section-toggle-icon{width:14px;height:14px;stroke:currentColor;stroke-width:2;fill:none}.inbox-section-toggle.is-expanded .inbox-section-toggle-icon{transform:rotate(180deg)}.inbox-count{display:inline-flex;align-items:center;justify-content:center;height:22px;min-width:22px;padding:0 7px;border-radius:999px;background:#f11b101f;color:#dc150b;font-size:12px;font-weight:800}.dark-theme .inbox-count{background:#f11b1033;color:#ff6b63}.inbox-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:12px;border-radius:12px;border:1px solid #0000000f;background:#00000003;margin-bottom:10px}.dark-theme .inbox-row{border-color:#ffffff14;background:#ffffff05}.inbox-row-main{min-width:0;flex:1 1}.inbox-row-title{font-weight:700;color:#111827;display:flex;align-items:center;gap:0;min-width:0}.inbox-row-title-text{min-width:0;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inbox-unread-dot{display:inline-block;width:8px;height:8px;border-radius:999px;background:#f11b10;margin-left:6px;vertical-align:middle;flex:0 0 auto}.dark-theme .inbox-row-title{color:#e5e7eb}.inbox-row-meta{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:6px;color:#6b7280;font-size:12px}.dark-theme .inbox-row-meta{color:#9ca3af}.inbox-row-message{opacity:.95}.inbox-row-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.inbox-permission{border:1px solid #0000001f;background:#fff;color:#111827;padding:7px 10px;border-radius:10px;font-weight:700;cursor:pointer}.dark-theme .inbox-permission{background:#ffffff0a;border-color:#ffffff1f;color:#e5e7eb}.inbox-btn{border:1px solid #0000001f;background:#fff;color:#111827;padding:8px 12px;border-radius:10px;cursor:pointer;font-weight:700}.dark-theme .inbox-btn{background:#ffffff0a;border-color:#ffffff1f;color:#e5e7eb}.inbox-btn.primary{background:linear-gradient(90deg,#dc150b,#f11b10);border-color:#0000;color:#fff}.inbox-btn.shared-primary{background:#0000;border-color:#6b7280bf;color:#6b7280;font-weight:800;text-transform:none}.dark-theme .inbox-btn.shared-primary{background:#0000;border-color:#9ca3afb3;color:#9ca3af}.inbox-btn:disabled,.inbox-permission:disabled{opacity:.6;cursor:default}.inbox-empty{color:#6b7280;font-size:13px;padding:10px 6px}.dark-theme .inbox-empty{color:#9ca3af}.inbox-history-row{padding:10px;border-radius:12px;border:1px solid #0000000f;margin-bottom:10px;background:#00000003}.dark-theme .inbox-history-row{border-color:#ffffff14;background:#ffffff05}.inbox-history-title{font-weight:700;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dark-theme .inbox-history-title{color:#e5e7eb}.inbox-history-meta{margin-top:6px;font-size:12px;color:#6b7280}.dark-theme .inbox-history-meta{color:#9ca3af}.inbox-error{margin-bottom:12px;padding:10px 12px;border-radius:12px;border:1px solid #f11b1040;background:#f11b1014;color:#dc150b;font-weight:700;font-size:13px}.dark-theme .inbox-error{border-color:#f11b1059;background:#f11b101f;color:#ff6b63}.module-switcher{width:50px;min-width:50px;height:100vh;background:linear-gradient(145deg,#f5f5f5,#e8e8e8);justify-content:space-between;padding:10px 0;position:relative;border-right:1px solid #0000000f;z-index:100}.module-switcher,.module-switcher-content{display:flex;flex-direction:column;align-items:center}.module-switcher-content{gap:10px}.module-separator{width:24px;height:1px;background:#00000014;margin:5px 0}.dark-theme .module-separator{background:#ffffff1a}.module-btn{width:40px;height:40px;padding:0;margin:0;border:none;border-radius:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#000;position:relative;background:#0000}.module-label{display:none}.module-btn.active{color:#ce150c}.module-btn:hover{color:#db190f}.module-btn:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:0;background:linear-gradient(180deg,#f11b10,#b51108);border-radius:0 2px 2px 0;opacity:0;transition:height .25s ease,opacity .25s ease}.module-btn.active:before{height:24px;opacity:1}.module-badge-dot{position:absolute;top:6px;right:6px;width:8px;height:8px;border-radius:999px;background:#f11b10;box-shadow:0 0 0 2px #f5f5f5}.dark-theme .module-badge-dot{box-shadow:0 0 0 2px #0b1220}.module-user-profile{display:flex;align-items:center;justify-content:center;margin-top:auto;margin-bottom:10px;position:relative}.module-switcher.is-tauri .module-user-profile{margin-bottom:40px}.user-avatar-circle{width:40px;height:40px;border-radius:50%;overflow:hidden;box-shadow:4px 4px 10px #00000026,-2px -2px 8px #ffffffe6;border:2px solid #fffc;transition:all .3s ease;cursor:pointer}.user-avatar-circle:hover{transform:scale(1.05);box-shadow:4px 4px 12px #0003,-2px -2px 10px #fff}.user-avatar-circle img{width:100%;height:100%;object-fit:cover}.user-avatar-circle .user-initials{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:16px;font-weight:600}.theme-menu{position:absolute;bottom:100%;left:60px;margin-bottom:10px;background:#fff;border-radius:12px;box-shadow:0 4px 20px #00000026;padding:8px;min-width:180px;z-index:1000;animation:slideUp .2s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.theme-menu-user{display:flex;align-items:center;gap:10px;padding:10px 12px}.menu-user-avatar{object-fit:cover}.menu-user-avatar,.menu-user-initials{width:32px;height:32px;border-radius:50%}.menu-user-initials{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:14px;font-weight:600}.menu-user-email{font-size:13px;color:#374151;font-weight:500;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.theme-menu-divider{height:1px;background:#e5e7eb;margin:4px 8px}.theme-menu-header{font-size:12px;font-weight:600;color:#000;text-transform:uppercase;letter-spacing:.5px;padding:8px 12px 6px;margin-bottom:4px}.theme-option{width:100%;display:flex;align-items:center;gap:12px;padding:10px 12px;border:none;background:#0000;border-radius:8px;cursor:pointer;transition:all .2s ease;color:#000;font-size:14px;font-weight:500;position:relative;text-decoration:none}.theme-option:hover{background-color:#f11b10}.theme-option.active{background-color:initial;color:#f11b10}.theme-option.active:hover{background-color:#f11b10;color:#fff}.theme-option svg{flex-shrink:0}.theme-option span{flex:1 1;text-align:left}.theme-option .check-icon{color:#f11b10;margin-left:auto}.theme-option.active:hover .check-icon{color:#fff}.theme-option.sign-out{color:#dc2626}.theme-option.sign-out:hover{background-color:#fef2f2;color:#dc2626}.module-switcher::-webkit-scrollbar{width:4px}.module-switcher::-webkit-scrollbar-track{background:#0000000d}.module-switcher::-webkit-scrollbar-thumb{background:#0003;border-radius:2px}.module-switcher::-webkit-scrollbar-thumb:hover{background:#0000004d}.module-btn:after{content:attr(data-tooltip);position:absolute;left:90%;margin-left:0;padding:8px 14px;background:linear-gradient(135deg,#f11b10,#b51108);color:#fff;font-size:13px;font-weight:600;border-radius:10px;white-space:nowrap;opacity:0;pointer-events:none;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:4px 4px 12px #0003,-2px -2px 8px #ffffff1a;z-index:1000;letter-spacing:.3px}.module-btn:hover:after{opacity:1;margin-left:5px}.dark-theme .module-switcher{background:linear-gradient(145deg,#1a1a1a,#111);border-right-color:#ffffff14}.dark-theme .module-btn{color:#e0e0e0}.dark-theme .user-avatar-circle{box-shadow:0 4px 12px #0006;border-color:#ffffff1a}.dark-theme .theme-menu{background:#1e1e1e;box-shadow:0 8px 32px #0009;border:1px solid #333}.dark-theme .menu-user-email{color:#ccc!important}.dark-theme .theme-menu-divider{background:#333}.dark-theme .theme-menu-header{color:#888}.dark-theme .theme-option{color:#e0e0e0}.dark-theme .theme-option:hover{background-color:#f11b10;color:#fff}.dark-theme .theme-option.sign-out:hover{background-color:#dc26261a}.notes-mobile{position:fixed;inset:0;height:100vh;height:100dvh;width:100%;display:flex;flex-direction:column;background:#f8fafc;overflow:hidden;-webkit-tap-highlight-color:transparent;overscroll-behavior:none}.dark-theme .notes-mobile{background:#0f172a}.notes-mobile-content{flex:1 1;overflow:hidden;padding-bottom:calc(65px + env(safe-area-inset-bottom, 0px));position:relative;z-index:1}.notes-mobile-content .notes-list{width:100%!important;min-width:unset!important;max-width:none!important;border-top:none}.notes-mobile-content .folders-grid,.notes-mobile-content .note-item,.notes-mobile-content .notes-grid,.notes-mobile-content .shared-open-container{padding-left:10px!important;padding-right:10px!important}.notes-mobile .search-container{flex:1 1}.notes-mobile .calendar-view,.notes-mobile .inbox-view,.notes-mobile .todo-view{height:100%!important;padding:0!important;background:#fff!important;position:relative;z-index:60}.notes-mobile-content:after{content:"";position:absolute;top:0;right:0;bottom:0;width:30px;background:#0000;z-index:100}.notes-mobile:has(.notes-mobile-detail--open) .notes-mobile-content:after{pointer-events:none;opacity:0}.dark-theme .notes-mobile .calendar-view,.dark-theme .notes-mobile .inbox-view,.dark-theme .notes-mobile .todo-view{background:#0f172a!important}.notes-mobile .calendar-header,.notes-mobile .inbox-header,.notes-mobile .todo-header{margin:20px 15px 10px!important;padding:0!important;background:#0000!important;box-shadow:none!important;border-radius:0!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;min-height:40px}.notes-mobile .inbox-refresh{margin-left:auto!important}.notes-mobile .calendar-header-left{justify-content:flex-start!important;gap:10px!important}.notes-mobile .calendar-year,.notes-mobile .inbox-title,.notes-mobile .todo-title{font-size:22px!important;font-weight:700!important;color:#0f172a!important}.dark-theme .notes-mobile .calendar-year,.dark-theme .notes-mobile .inbox-title,.dark-theme .notes-mobile .todo-title{color:#f8fafc!important}.dark-theme .notes-mobile .inbox-item{background:#1e293b!important;border-bottom:1px solid #ffffff0d!important}.dark-theme .notes-mobile .inbox-item-title{color:#f8fafc!important}.dark-theme .notes-mobile .inbox-item-preview{color:#94a3b8!important}.dark-theme .notes-mobile .inbox-empty-state,.dark-theme .notes-mobile .inbox-item-date{color:#64748b!important}.notes-mobile .calendar-header .year-nav-btn{width:32px!important;height:32px!important}.notes-mobile .calendar-header .today-btn{padding:6px 12px!important;font-size:12px!important;margin-left:5px!important}.notes-mobile .todo-input-container,.notes-mobile .todo-list{padding:0 15px!important}.dark-theme .notes-mobile .todo-input{background-color:#1e293b!important;color:#f8fafc!important}.dark-theme .notes-mobile .todo-input::placeholder{color:#94a3b8!important}.dark-theme .notes-mobile .todo-item{background:#1e293b!important;border-bottom-color:#ffffff0d!important}.dark-theme .notes-mobile .todo-text{color:#f8fafc!important}.dark-theme .notes-mobile .todo-item-icon{color:#94a3b8!important}.notes-mobile .months-grid{padding:0 15px 20px!important}.dark-theme .notes-mobile .month-name{color:#f8fafc!important}.dark-theme .notes-mobile .weekday{color:#64748b!important}.dark-theme .notes-mobile .calendar-day:not(.today){background-color:#1e293b;color:#f8fafc!important}.dark-theme .notes-mobile .calendar-day.empty{background-color:initial!important}.notes-mobile .calendar-day:not(.empty):hover{background-color:#fff;transform:none!important}.dark-theme .notes-mobile .calendar-day:not(.empty):hover{background-color:#1e293b}.notes-mobile .calendar-day.today:hover{background-color:#dc150b}.notes-mobile .calendar-day.has-comment:hover:before{opacity:0!important;display:none!important}.notes-mobile-menu-btn{width:36px;height:36px;border-radius:999px;border:none;background:#fff;box-shadow:0 6px 16px #0f172a40;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#0f172a}.dark-theme .notes-mobile-menu-btn{background:#1e293b;color:#f8fafc;box-shadow:0 6px 16px #0006}.notes-mobile-sidebar{position:fixed;top:0;left:0;height:100%;width:75vw;max-width:320px;background:#fffffff2;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:0 20px 20px 0;transform:translateX(-100%);transition:transform .3s ease;z-index:45;-webkit-user-select:none;user-select:none}.dark-theme .notes-mobile-sidebar{background:#0f172af2;border-right:1px solid #ffffff14}.notes-mobile-sidebar--open{transform:translateX(0);box-shadow:10px 0 40px #0f172a40}.notes-mobile-sidebar .sidebar{width:100%!important;min-width:unset!important;max-width:none!important;border-right:none;border-top:none;background:#0000!important}.notes-mobile-sidebar .sidebar-footer,.notes-mobile-sidebar .sidebar-header,.notes-mobile-sidebar .sidebar-public-footer{background:#0000!important;border-right:none!important}.notes-mobile-detail-drawer .note-detail{width:100%!important;min-width:0!important;max-width:100%!important;height:100%;min-height:0;border-radius:0;box-shadow:none;background:#0000!important;border:none;display:flex;flex-direction:column}.notes-mobile-detail-drawer .note-detail-content{padding-left:0!important;padding-right:0!important;padding-top:15px!important}.notes-mobile-detail-drawer .note-meta{padding-left:16px;padding-right:16px}.notes-mobile-detail-drawer .editor-toolbar{border-radius:0!important;border-left:none!important;border-right:none!important;padding-left:12px!important;padding-right:12px!important;width:100%!important;margin:0!important;box-sizing:border-box!important;top:-15px!important}.notes-mobile-detail-drawer .rich-editor-surface-wrapper{padding-left:16px!important;padding-right:16px!important}.notes-mobile .sidebar .nav-item.folder-item:hover,.notes-mobile .sidebar .nav-item.special-item:hover,.notes-mobile .sidebar .nav-item.trash:hover,.notes-mobile .sidebar .nav-item:hover,.notes-mobile .sidebar .workspace-header:hover{background:#0000!important;margin:inherit!important;padding-left:20px!important;padding-right:20px!important;border-radius:0!important}.notes-mobile .sidebar .nav-item.active,.notes-mobile .sidebar .nav-item.folder-item.active,.notes-mobile .sidebar .nav-item.special-item.active,.notes-mobile .sidebar .nav-item.trash.active{background:linear-gradient(90deg,#dc150b,#f11b10)!important;border-radius:7px!important;margin:0 8px!important;padding-left:12px!important;padding-right:12px!important}.dark-theme .notes-mobile .sidebar .nav-item.active{background:linear-gradient(90deg,#dc150b,#f11b10)!important}.notes-mobile-detail-drawer pre,.notes-mobile-detail-drawer table{display:block!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}.notes-mobile-sidebar-backdrop{position:fixed;inset:0;background:#0003;opacity:0;visibility:hidden;transition:opacity .25s ease;z-index:44}.notes-mobile-backdrop--visible{opacity:1;visibility:visible}.notes-mobile-detail-drawer{position:fixed;top:0;right:0;height:100%;width:75vw;max-width:420px;background:#fffffff2;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transform:translateX(100%);transition:transform .3s ease;z-index:50;display:flex;flex-direction:column;overflow:visible;touch-action:pan-y}.dark-theme .notes-mobile-detail-drawer{background:#0f172af2;border-left:1px solid #ffffff14}.notes-mobile-detail--open{transform:translateX(0);box-shadow:-10px 0 32px #0f172a59}.notes-mobile-detail--fullscreen{width:100vw!important;max-width:none!important}.notes-mobile-detail-header{padding:12px 16px;display:flex;align-items:center;height:49px;background:#0000}.dark-theme .notes-mobile-detail-header{border-bottom:1px solid #ffffff0d}.notes-mobile-detail-close{border:none;background:#0000;font-weight:500;font-size:16px;color:#007aff;cursor:pointer;display:flex;align-items:center;gap:4px;padding:8px 0}.notes-mobile-detail-close:before{content:"";display:inline-block;width:10px;height:10px;border-left:2px solid #007aff;border-bottom:2px solid #007aff;transform:rotate(45deg);margin-right:2px}.dark-theme .notes-mobile-detail-close{color:#3b82f6}.dark-theme .notes-mobile-detail-close:before{border-color:#3b82f6}.notes-mobile-detail-fullscreen-btn{margin-left:auto;border:none;background:#0000;width:36px;height:36px;display:flex;align-items:center;justify-content:center;color:#64748b;cursor:pointer;border-radius:8px;transition:background .2s ease}.dark-theme .notes-mobile-detail-fullscreen-btn{color:#94a3b8}.notes-mobile-detail-fullscreen-btn:active{background:#0000000d}.dark-theme .notes-mobile-detail-fullscreen-btn:active{background:#ffffff0d}.notes-mobile-detail-body{flex:1 1;min-height:0;overflow:visible}.notes-mobile-detail-body .note-detail-title,.notes-mobile-detail-body .note-detail-title-input{font-size:20px}.notes-mobile .action-btn[title="Add to Favourite"],.notes-mobile .action-btn[title="Share Note"]{display:none}.notes-mobile .folder-item-inline:active,.notes-mobile .note-item:active{background-color:#0000000d!important;transform:scale(.99);transition:all .1s ease}.dark-theme .notes-mobile .folder-item-inline:active,.dark-theme .notes-mobile .note-item:active{background-color:#ffffff0d!important}.notes-mobile .create-note-fab{width:46px;height:46px;bottom:calc(20px + env(safe-area-inset-bottom, 0px));right:16px;box-shadow:0 4px 14px #f11b1066;z-index:10}.notes-mobile .create-note-fab svg{width:20px;height:20px}.notes-mobile-module-switcher{position:fixed;bottom:0;left:0;width:100%;background:#ffffffd9;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);border-top:1px solid #00000014;padding:8px 0 calc(8px + env(safe-area-inset-bottom, 0px));box-shadow:0 -4px 20px #0000000a;z-index:1000;-webkit-user-select:none;user-select:none}.dark-theme .notes-mobile-module-switcher{background:#0f172ad9;border-top-color:#ffffff14;box-shadow:0 -4px 20px #0003}.notes-mobile-module-switcher .module-switcher{width:100%;min-width:unset;height:auto;flex-direction:row;align-items:flex-end;justify-content:space-around;padding:0 16px;background:#0000!important;border:none}.notes-mobile-module-switcher .module-switcher-content{display:contents}.notes-mobile-module-switcher .module-btn{width:auto;height:auto;flex:1 1;flex-direction:column;gap:4px;background:#0000;border-radius:0;padding:4px 0;transition:all .2s ease}.notes-mobile-module-switcher .module-btn:after,.notes-mobile-module-switcher .module-btn:before{display:none!important}.notes-mobile-module-switcher .module-btn svg{width:24px;height:24px;transition:transform .2s ease}.notes-mobile-module-switcher .module-btn.active svg{transform:translateY(-2px)}.notes-mobile-module-switcher .module-label{display:block;font-size:10px;font-weight:600;text-transform:none;letter-spacing:normal;color:#64748b}.notes-mobile-module-switcher .module-btn.active .module-label{color:#ce150c}.notes-mobile-module-switcher .module-separator{display:none}.notes-mobile-module-switcher .module-user-profile{margin:0;padding:4px 0;flex:1 1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.notes-mobile-module-switcher .user-avatar-circle{width:26px;height:26px;box-shadow:none;border:1.5px solid #0000001a}.notes-mobile-module-switcher .module-user-profile:after{content:"Profile";font-size:10px;font-weight:600;color:#64748b}.dark-theme .notes-mobile-module-switcher .module-label,.dark-theme .notes-mobile-module-switcher .module-user-profile:after{color:#94a3b8}.notes-mobile-module-switcher .module-badge-dot{top:2px;right:calc(50% - 14px);width:6px;height:6px;border:1.5px solid #fff}.dark-theme .notes-mobile-module-switcher .module-badge-dot{border-color:#0f172a}.notes-mobile-module-switcher .theme-menu{left:auto;right:16px;bottom:calc(100% + 16px);width:calc(100vw - 32px);max-width:280px;transform:none;animation:slideUpMobile .3s cubic-bezier(.4,0,.2,1)}@keyframes slideUpMobile{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.notes-mobile ::-webkit-scrollbar{display:none}.notes-mobile *{scrollbar-width:none}.notes-mobile-content,.notes-mobile-detail-body,.notes-mobile-sidebar .sidebar-content{-webkit-overflow-scrolling:touch}.public-module-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center;background:#fff;z-index:100}.dark-theme .public-module-placeholder{background:#0f172a}.public-module-icon-box{width:80px;height:80px;background:#f11b100d;border-radius:20px;display:flex;align-items:center;justify-content:center;margin-bottom:24px;color:#f11b10}.dark-theme .public-module-icon-box{background:#f11b101a}.public-module-placeholder h2{font-size:22px;font-weight:700;margin-bottom:12px;color:#0f172a}.dark-theme .public-module-placeholder h2{color:#f8fafc}.public-module-placeholder p{font-size:15px;color:#64748b;line-height:1.5;margin-bottom:32px;max-width:280px}.dark-theme .public-module-placeholder p{color:#94a3b8}.public-module-actions{width:100%;max-width:280px;display:flex;flex-direction:column;gap:12px}.public-module-btn{width:100%;height:48px;border-radius:12px;font-size:15px;font-weight:600;cursor:pointer;border:none;display:flex;align-items:center;justify-content:center;transition:all .2s}.public-module-btn--primary{background:linear-gradient(90deg,#dc150b,#f11b10);color:#fff;box-shadow:0 4px 12px #f11b1033}.public-module-btn--secondary{background:#f1f5f9;color:#0f172a}.dark-theme .public-module-btn--secondary{background:#1e293b;color:#f8fafc}