*,:after,:before{box-sizing:border-box;margin:0;padding:0}:root{--bg:#1e1e1e;--surface:#2d2d2d;--surface-hover:#3a3a3a;--border:#4a4a4a;--text:#f5f5f5;--text-muted:#9a9a9a;--accent:#89f336;--accent-light:#a8f566;--accent-dark:#70cc22;--accent-glow:rgba(137,243,54,.12);--success:#89f336;--day-week:#fff;--day-sat:#5b9bf7;--day-sun:#f75b5b;--radius:12px;--radius-sm:8px}body,html{height:100%;scroll-behavior:smooth}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,sans-serif;background:var(--bg);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased}a{color:var(--accent-light);text-decoration:none}a:hover{text-decoration:underline}.calendar-page{display:flex;flex-direction:column;height:100vh;overflow:hidden;background:var(--bg)}.calendar-header{display:flex;align-items:center;gap:1rem;padding:.625rem 1.25rem;background:var(--surface);border-bottom:1px solid var(--border);position:-webkit-sticky;position:sticky;top:0;z-index:50}.calendar-header-left{display:flex;align-items:center;gap:.625rem;flex-shrink:0}.calendar-header-center{flex:1 1;display:flex;align-items:center;justify-content:center;gap:.625rem}.calendar-logo{font-size:1.375rem;line-height:1}.calendar-header h1{font-size:1rem;font-weight:700;color:var(--accent);letter-spacing:-.01em;white-space:nowrap}.calendar-header-right{display:flex;align-items:center;gap:1rem;flex-shrink:0}.fc-goto-month{position:absolute;top:30px;left:calc(50% + 115px);z-index:10;background:var(--surface-hover);border:1px solid var(--border);border-radius:4px;color:var(--text-muted);font-family:inherit;font-size:.8rem;padding:.2rem .5rem;outline:none;cursor:pointer;transition:border-color .15s,color .15s;width:110px}.fc-goto-month:focus,.fc-goto-month:hover{border-color:var(--accent);color:var(--text)}.header-add-btn{background:var(--accent);border:none;border-radius:var(--radius-sm);color:#1e1e1e;font-family:inherit;font-size:.8125rem;font-weight:700;padding:.375rem .875rem;cursor:pointer;white-space:nowrap;transition:background .15s,opacity .15s}.header-add-btn:hover{background:var(--accent-light)}.header-search-wrap{position:relative;width:360px}.header-search-input-wrap{display:flex;align-items:center;gap:.375rem;background:var(--surface-hover);border:1px solid var(--border);border-radius:var(--radius-sm);padding:0 .625rem;transition:border-color .15s}.header-search-input-wrap:focus-within{border-color:var(--accent)}.header-search-icon{color:var(--text-muted);flex-shrink:0}.header-search-input{flex:1 1;background:transparent;border:none;color:var(--text);font-family:inherit;font-size:.8125rem;outline:none;padding:.375rem 0;min-width:0}.header-search-input::placeholder{color:var(--text-muted)}.header-search-clear{background:none;border:none;color:var(--text-muted);cursor:pointer;font-size:.75rem;padding:0;line-height:1;flex-shrink:0}.header-search-clear:hover{color:var(--text)}.header-search-results{position:absolute;top:calc(100% + 6px);left:0;right:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);list-style:none;overflow:hidden;z-index:200;box-shadow:0 8px 24px rgba(0,0,0,.4);animation:searchSlideDown .15s ease}@keyframes searchSlideDown{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.header-search-item{display:flex;align-items:center;gap:.625rem;padding:.5rem .75rem;cursor:pointer;transition:background .1s;border-bottom:1px solid var(--border)}.header-search-item:last-child{border-bottom:none}.header-search-item--active,.header-search-item:hover{background:var(--surface-hover)}.header-search-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.header-search-info{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:1px}.header-search-title{font-size:.8125rem;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.header-search-sub-arrow{color:var(--text-muted);font-size:.75rem}.header-search-cat,.header-search-parent{font-size:.65rem;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-search-date{font-size:.7rem;color:var(--text-muted);flex-shrink:0;font-weight:600}.user-name{font-size:.875rem;color:var(--text-muted)}.calendar-main{flex:1 1;flex-direction:row}.calendar-main,.calendar-sidebar{min-height:0;display:flex;overflow:hidden}.calendar-sidebar{flex:2 1;min-width:0;background:var(--surface);border-right:1px solid var(--border);flex-direction:column}.sidebar-inner{flex:1 1;min-height:0;overflow-y:auto;padding:1.25rem 1rem;display:flex;flex-direction:column;gap:0}.sb-section{padding-bottom:.75rem}.sb-section--grow{flex:1 1}.sb-section-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem}.sb-section-title{font-size:.8125rem;font-weight:700;color:var(--text);text-transform:uppercase;letter-spacing:.05em}.sb-section-count{font-size:.7rem;background:var(--border);color:var(--text-muted);border-radius:99px;padding:1px 7px}.sb-divider{height:1px;background:var(--border);margin:.75rem 0}.sb-empty{font-size:.75rem;color:var(--text-muted);padding:.25rem 0}.sb-task-list{list-style:none;display:flex;flex-direction:column;gap:.35rem}.sb-task-item{display:flex;align-items:center;gap:.5rem;padding:.375rem .5rem;border-radius:var(--radius-sm);cursor:pointer;transition:background .15s}.sb-task-item:hover{background:var(--surface-hover)}.sb-task-item--overdue{opacity:.45}.sb-task-item--sub{padding-left:.25rem}.sb-task-sub-arrow{font-size:.65rem;color:var(--text-muted);flex-shrink:0}.sb-task-info{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:1px}.sb-task-parent{font-size:.65rem;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sb-task-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.sb-task-title{font-size:.8125rem;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sb-task-meta{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0;gap:1px}.sb-task-date{font-size:.68rem;font-weight:600;color:var(--text);background:var(--surface-hover);border:1px solid var(--border);border-radius:4px;padding:0 5px;line-height:1.6}.sb-task-badge{font-size:.7rem;font-weight:700}.sb-cat-list{list-style:none;display:flex;flex-direction:column;gap:.25rem}.sb-cat-group{border-radius:var(--radius-sm);overflow:hidden}.sb-cat-drag-handle{display:flex;align-items:center;flex-shrink:0;color:var(--text-muted);font-size:.9rem;line-height:1;cursor:-webkit-grab;cursor:grab;opacity:.4;transition:opacity .15s;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:0 2px}.sb-cat-header-wrap:hover .sb-cat-drag-handle{opacity:.8}.sb-cat-drag-handle:active{cursor:-webkit-grabbing;cursor:grabbing}.sb-cat-exception-badge{font-size:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;background:rgba(231,112,85,.2);color:#e17055;border:1px solid rgba(231,112,85,.4);border-radius:3px;padding:1px 5px;line-height:1.5;flex-shrink:0}.sb-cat-group--dragging{opacity:.35}.sb-cat-group--drop-before{border-top:2px solid var(--accent);margin-top:-2px}.sb-cat-group--drop-after{border-bottom:2px solid var(--accent);margin-bottom:-2px}.sb-cat-list{transition:none}.sb-cat-visibility{display:flex;align-items:center;flex-shrink:0;cursor:pointer}.sb-cat-checkbox{width:13px;height:13px;accent-color:var(--accent);cursor:pointer;flex-shrink:0}.sb-cat-header-wrap--hidden .sb-cat-arrow,.sb-cat-header-wrap--hidden .sb-cat-badge,.sb-cat-header-wrap--hidden .sb-cat-count{opacity:.35}.sb-cat-header-wrap{display:flex;align-items:center;gap:.5rem;padding:.375rem .5rem;border-radius:var(--radius-sm);transition:background .15s;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sb-cat-header-wrap:hover{background:var(--surface-hover)}.sb-cat-header-wrap .sb-cat-arrow{margin-left:auto;flex-shrink:0}.sb-cat-badge{font-size:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;border-radius:3px;padding:1px 6px;line-height:1.5}.sb-cat-count{font-size:.7rem;color:var(--text-muted)}.sb-cat-arrow{font-size:.65rem;color:var(--text-muted);margin-left:auto}.sb-cat-events{list-style:none;padding:.25rem 0 .25rem .75rem;gap:.2rem}.sb-cat-event-item,.sb-cat-events{display:flex;flex-direction:column}.sb-cat-event-row{display:flex;align-items:center;gap:.5rem;padding:.25rem .5rem;border-radius:var(--radius-sm);cursor:pointer;transition:background .15s}.sb-cat-event-row:hover{background:var(--surface-hover)}.sb-cat-event-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}.sb-cat-event-title{font-size:.8rem;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sb-subtask-list{list-style:none;padding-left:1.25rem}.sb-subtask-item{display:flex;align-items:center;gap:.375rem;padding:.15rem .25rem}.sb-subtask-arrow{font-size:.65rem;color:var(--text-muted);flex-shrink:0}.sb-subtask-title{font-size:.75rem;color:var(--text-muted);flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sb-subtask-date{font-size:.65rem;font-weight:600;color:var(--text-muted);background:var(--surface-hover);border:1px solid var(--border);border-radius:4px;padding:0 4px;line-height:1.6;flex-shrink:0}.calendar-content{flex:8 1;min-width:0;min-height:0;padding:1.5rem;display:flex;flex-direction:column;position:relative}.calendar-content .fc{flex:1 1;min-height:0}.fc{font-family:inherit!important}.fc,.fc .fc-toolbar-title{color:var(--text)!important}.fc .fc-toolbar-title{font-size:1.125rem!important;font-weight:700!important}.fc .fc-button{background:var(--surface)!important;border:1px solid var(--border)!important;color:var(--text)!important;border-radius:var(--radius-sm)!important;font-size:.8125rem!important;padding:.375rem .75rem!important;transition:all .15s!important;box-shadow:none!important;text-transform:none!important}.fc .fc-button:focus,.fc .fc-button:hover{background:var(--surface-hover)!important;border-color:var(--accent)!important;color:var(--text)!important;outline:none!important;box-shadow:none!important}.fc .fc-button-active,.fc .fc-button-primary:not(:disabled).fc-button-active{background:var(--accent)!important;border-color:var(--accent)!important;color:#1e1e1e!important;font-weight:700!important;box-shadow:none!important}.fc .fc-col-header-cell{background:var(--surface)!important;border-color:var(--border)!important;font-size:.75rem!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:.05em!important;padding:.5rem 0!important}.fc .fc-col-header-cell:not(.fc-day-sat):not(.fc-day-sun) .fc-col-header-cell-cushion{color:var(--day-week)!important}.fc .fc-col-header-cell.fc-day-sat .fc-col-header-cell-cushion{color:var(--day-sat)!important}.fc .fc-col-header-cell.fc-day-sun .fc-col-header-cell-cushion{color:var(--day-sun)!important}.fc .fc-daygrid-day,.fc .fc-timegrid-slot{background:transparent!important;border-color:var(--border)!important}.fc .fc-daygrid-day:hover{background:var(--surface)!important}.fc .fc-daygrid-day:not(.fc-day-sat):not(.fc-day-sun) .fc-daygrid-day-number{color:var(--day-week)!important;font-size:.8125rem!important;padding:.375rem .5rem!important}.fc .fc-daygrid-day.fc-day-sat .fc-daygrid-day-number{color:var(--day-sat)!important;font-size:.8125rem!important;padding:.375rem .5rem!important}.fc .fc-daygrid-day.fc-day-sun .fc-daygrid-day-number{color:var(--day-sun)!important;font-size:.8125rem!important;padding:.375rem .5rem!important}.fc .fc-day-today{background:var(--accent-glow)!important}.fc .fc-day-today .fc-daygrid-day-number{color:var(--accent)!important;font-weight:700!important;background:var(--accent-glow)!important;border-radius:50%!important}.fc .fc-event{border-radius:4px!important;border:none!important;font-size:.8125rem!important;padding:.1rem .375rem!important;cursor:pointer!important;transition:filter .15s!important}.fc .fc-event:hover{filter:brightness(1.2)!important}.fc .fc-event-title{font-weight:500!important}.fc .fc-scrollgrid,.fc .fc-scrollgrid td,.fc .fc-scrollgrid th{border-color:var(--border)!important}.fc .fc-timegrid-slot-label{color:var(--text-muted)!important;font-size:.75rem!important}.fc .fc-more-link{color:var(--accent-light)!important;font-size:.75rem!important}.fc .fc-highlight{background:var(--accent-glow)!important}.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.7);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:200;padding:1rem}.modal{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);width:100%;max-width:480px;box-shadow:0 24px 64px rgba(0,0,0,.7);animation:modal-in .15s ease}.modal--wide{max-width:860px}.modal-body-wrap{display:flex;flex-direction:row;gap:0;min-height:0}.modal-col-left,.modal-col-right{flex:1 1;min-width:0;padding:1.25rem 1.5rem 1.5rem}.modal-col-right{display:flex;flex-direction:column;gap:.75rem}.modal-divider{width:1px;background:var(--border);flex-shrink:0;margin:.75rem 0}@keyframes modal-in{0%{opacity:0;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem 1rem;border-bottom:1px solid var(--border)}.modal-header h2{font-size:1rem;font-weight:700;color:var(--text)}.modal-close{background:none;border:none;color:var(--text-muted);font-size:1rem;cursor:pointer;padding:.25rem;line-height:1;transition:color .15s}.modal-close:hover{color:var(--accent)}.modal-form{padding:1.25rem 1.5rem 1.5rem;gap:1rem}.form-group,.modal-form{display:flex;flex-direction:column}.form-group{gap:.375rem}.form-group label{font-size:.8125rem;font-weight:500;color:var(--text-muted)}.form-group input[type=datetime-local],.form-group input[type=text],.form-group textarea{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);font-family:inherit;font-size:.9375rem;padding:.625rem .875rem;transition:border-color .15s;width:100%}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-glow)}.form-group textarea{resize:vertical;min-height:60px}.form-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:.75rem;gap:.75rem}.color-palette{display:flex;gap:.5rem;flex-wrap:wrap}.color-swatch{width:28px;height:28px;border-radius:50%;border:2px solid transparent;cursor:pointer;transition:transform .1s,border-color .15s}.color-swatch:hover{transform:scale(1.15)}.color-swatch.selected{border-color:var(--text);transform:scale(1.1)}.modal-actions{display:flex;align-items:center;padding-top:.25rem}.btn-primary{background:var(--accent);border:none;border-radius:var(--radius-sm);color:#1e1e1e;cursor:pointer;font-family:inherit;font-size:.875rem;font-weight:700;padding:.625rem 1.25rem;transition:filter .15s}.btn-primary:hover{filter:brightness(1.1)}.btn-secondary{background:var(--surface-hover);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);cursor:pointer;font-family:inherit;font-size:.875rem;padding:.625rem 1.25rem;transition:border-color .15s}.btn-secondary:hover{border-color:var(--accent)}.btn-danger{background:none;border:1px solid #f75b5b;border-radius:var(--radius-sm);color:#f75b5b;cursor:pointer;font-family:inherit;font-size:.875rem;padding:.625rem 1.25rem;transition:background .15s}.btn-danger:hover{background:rgba(247,91,91,.12)}.login-page{display:flex;align-items:center;justify-content:center;min-height:100vh;background:var(--bg)}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:2.5rem 2rem;text-align:center;width:100%;max-width:360px;box-shadow:0 8px 32px rgba(0,0,0,.4)}.login-icon{font-size:2.5rem;margin-bottom:.75rem}.login-title{font-size:1.5rem;font-weight:800;color:var(--accent);margin-bottom:.375rem;letter-spacing:-.02em}.login-subtitle{font-size:.875rem;color:var(--text-muted)}.sso-button{background:var(--accent);border:none;border-radius:var(--radius-sm);color:#1e1e1e;cursor:pointer;font-family:inherit;font-size:.9375rem;font-weight:700;padding:.75rem 1.5rem;width:100%;transition:filter .15s;letter-spacing:.02em}.sso-button:hover{filter:brightness(1.1)}.sign-in-button,button[type=button]{background:var(--surface-hover);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-muted);cursor:pointer;font-family:inherit;font-size:.8125rem;padding:.4rem .875rem;transition:border-color .15s,color .15s}button[type=button]:hover{border-color:var(--accent);color:var(--text)}.error-banner{display:flex;align-items:center;justify-content:space-between;background:rgba(247,91,91,.15);border-bottom:1px solid var(--day-sun);color:var(--day-sun);font-size:.875rem;padding:.625rem 1.5rem;gap:1rem}.error-banner button{background:none;border:none;color:var(--day-sun);cursor:pointer;font-size:1rem;line-height:1;padding:0;flex-shrink:0}.subtask-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.25rem}.subtask-title{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em}.btn-add-subtask,.subtask-title{font-size:.8125rem;font-weight:600}.btn-add-subtask{background:var(--accent-glow);border:1px solid var(--accent);border-radius:var(--radius-sm);color:var(--accent);cursor:pointer;font-family:inherit;padding:.25rem .75rem;transition:background .15s}.btn-add-subtask:hover{background:var(--accent);color:#1e1e1e}.subtask-empty{flex:1 1;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text-muted);font-size:.875rem;text-align:center;gap:.25rem;padding:2rem 0;border:1px dashed var(--border);border-radius:var(--radius-sm)}.subtask-empty span{font-size:.75rem;opacity:.6}.subtask-list{list-style:none;display:flex;flex-direction:column;gap:.5rem;overflow-y:auto;max-height:280px;padding-right:2px}.subtask-item{display:flex;align-items:center;gap:.5rem;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-sm);padding:.5rem .625rem;transition:border-color .15s}.subtask-item:focus-within{border-color:var(--accent)}.subtask-input-title{flex:1 1;background:transparent;border:none;color:var(--text);font-family:inherit;font-size:.875rem;outline:none;min-width:0}.subtask-input-title::placeholder{color:var(--text-muted)}.subtask-input-date{background:transparent;border:none;border-left:1px solid var(--border);color:var(--text-muted);font-family:inherit;font-size:.8125rem;outline:none;padding-left:.5rem;width:120px;flex-shrink:0;cursor:pointer}.subtask-input-date:focus{color:var(--text)}.subtask-remove{background:none;border:none;color:var(--text-muted);cursor:pointer;font-size:1.125rem;line-height:1;padding:0 .125rem;flex-shrink:0;transition:color .15s}.sub-parent-display{display:flex;align-items:center;gap:.5rem;background:var(--surface-hover);border:1px solid var(--border);border-radius:var(--radius-sm);padding:.5rem .75rem}.sub-parent-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.sub-parent-title{font-weight:500}.sub-date-input,.sub-parent-title{font-size:.875rem;color:var(--text)}.sub-date-input{width:100%;background:var(--surface-hover);border:1px solid var(--border);border-radius:var(--radius-sm);font-family:inherit;padding:.5rem .75rem;outline:none;transition:border-color .15s;cursor:pointer}.sub-date-input:focus{border-color:var(--accent);color:var(--text)}.subtask-remove:hover{color:var(--day-sun)}.category-suggestions{position:absolute;top:calc(100% + 2px);left:0;right:0;background:var(--surface-hover);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:0 8px 24px rgba(0,0,0,.4);list-style:none;margin:0;padding:.25rem 0;z-index:300;max-height:180px;overflow-y:auto}.category-suggestions li{padding:.5rem .875rem;font-size:.875rem;color:var(--text);cursor:pointer;transition:background .1s}.category-suggestions li:hover{background:var(--accent-glow);color:var(--accent)}.exception-checkbox-label{display:inline-flex;align-items:center;gap:5px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.exception-checkbox{width:13px;height:13px;accent-color:#e17055;cursor:pointer;flex-shrink:0}.exception-checkbox-text{font-size:.7rem;font-weight:500;color:var(--text-muted);letter-spacing:.02em;transition:color .15s}.exception-checkbox-text--active{color:#e17055;font-weight:700}.view-toggle{display:flex;gap:2px;background:var(--surface-2);border-radius:var(--radius-sm);padding:2px}.view-toggle-btn{padding:.25rem .75rem;font-size:.8rem;border:none;background:transparent;color:var(--text-muted);border-radius:var(--radius-sm);cursor:pointer;transition:background .15s,color .15s;white-space:nowrap}.view-toggle-btn.active{background:var(--accent);color:#000;font-weight:600}.view-toggle-btn:not(.active):hover{background:var(--surface-hover);color:var(--text-primary)}.cat-filter-bar{display:flex;flex-wrap:wrap;gap:.375rem;padding:.5rem 0 .625rem;flex-shrink:0}.cat-filter-chip{padding:.2rem .625rem;font-size:.7rem;font-weight:600;border-radius:999px;border:1.5px solid var(--border);background:transparent;color:var(--text-muted);cursor:pointer;transition:background .15s,color .15s,border-color .15s,opacity .15s;letter-spacing:.02em}.cat-filter-chip--all{border-color:var(--text-muted)}.cat-filter-chip--all.active{background:var(--text-muted);color:var(--bg-base)}.cat-filter-chip:hover{opacity:.85}.tl-wrap{display:flex;flex-direction:column;height:100%;overflow:hidden}.tl-top{gap:.75rem;padding-bottom:.625rem;flex-shrink:0}.tl-nav,.tl-top{display:flex;align-items:center}.tl-nav{gap:.5rem}.tl-nav-btn{background:var(--surface-2);border:none;border-radius:var(--radius-sm);color:var(--text-primary);font-size:1.1rem;width:28px;height:28px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s}.tl-nav-btn:hover{background:var(--surface-hover)}.tl-year{font-size:1rem;font-weight:700;color:var(--text-primary);min-width:56px;text-align:center}.tl-badge-experimental{font-size:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;background:#f75b5b22;color:#f75b5b;border:1px solid #f75b5b55;border-radius:999px;padding:2px 8px}.tl-body{display:flex;flex:1 1;min-height:0;overflow:hidden}.tl-labels{flex-shrink:0;width:140px;display:flex;flex-direction:column}.tl-label-month-spacer{height:32px;flex-shrink:0}.tl-label-row{height:52px;display:flex;align-items:center;gap:.375rem;padding-right:.75rem;border-bottom:1px solid var(--border)}.tl-label-badge{font-size:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;border-radius:3px;padding:2px 6px;white-space:nowrap;max-width:96px;overflow:hidden;text-overflow:ellipsis}.tl-label-count{font-size:.65rem;color:var(--text-muted);flex-shrink:0}.tl-track-outer{flex:1 1;min-width:0;overflow-x:auto;overflow-y:hidden;display:flex;flex-direction:column}.tl-month-header{display:flex;height:32px;flex-shrink:0;border-bottom:1px solid var(--border);min-width:700px}.tl-month-cell{display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:600;color:var(--text-muted);border-right:1px solid var(--border);letter-spacing:.03em}.tl-month-cell:last-child{border-right:none}.tl-rows{position:relative;flex:1 1;min-height:0;overflow-y:auto;min-width:700px}.tl-today-line{width:1.5px;background:var(--accent);opacity:.6;z-index:2}.tl-grid-line,.tl-today-line{position:absolute;top:0;bottom:0;pointer-events:none}.tl-grid-line{width:1px;background:var(--border);opacity:.5;z-index:0}.tl-row{height:52px;position:relative;border-bottom:1px solid var(--border)}.tl-event-group{position:absolute;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:3px;z-index:3}.tl-marker{cursor:pointer;transition:transform .15s;flex-shrink:0}.tl-marker:hover{transform:scale(1.3)}.tl-marker--main{width:12px;height:12px;border-radius:2px;transform:rotate(45deg);border:2px solid transparent}.tl-marker--main:hover{transform:rotate(45deg) scale(1.3)}.tl-marker--sub{position:absolute;top:calc(50% + 10px);width:7px;height:7px;border-radius:50%;background:transparent;border:1.5px solid}.tl-empty{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text-muted);font-size:.85rem}.tl-tooltip{position:fixed;transform:translate(-50%,-100%);background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius);padding:.625rem .75rem;min-width:140px;z-index:1000;box-shadow:0 8px 24px rgba(0,0,0,.4);pointer-events:auto}.tl-tooltip-title{font-size:.8rem;font-weight:600;color:var(--text-primary);margin-bottom:2px}.tl-tooltip-date{font-size:.7rem;color:var(--text-muted)}.tl-tooltip-cat{font-size:.65rem;color:var(--text-muted);margin-top:2px}.tl-tooltip-open{display:block;width:100%;margin-top:.5rem;padding:.25rem 0;background:var(--accent);color:#000;border:none;border-radius:var(--radius-sm);font-size:.7rem;font-weight:700;cursor:pointer;text-align:center}.tl-tooltip-open:hover{opacity:.85}@media (max-width:900px){.calendar-sidebar{display:none}}@media (max-width:640px){.calendar-content{padding:.75rem}.fc .fc-toolbar{flex-wrap:wrap;gap:.5rem}.form-row{grid-template-columns:1fr}.modal{max-width:100%}}