@font-face{font-family:Inter;src:local('Inter');font-display:swap}
:root{--bg:#ebe9f0;--surface:#fff;--sidebar:#e1deE9;--text:#211f31;--muted:#686274;--subtle:#454052;--line:#c8c2d2;--accent:#7763d8;--accent-dark:#6550c7;--tint:#e4def7;--green:#287f61;--shadow:0 12px 38px #3b2c6b20;--radius:15px;color-scheme:light;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button{border:0;background:none}a{color:inherit;text-decoration:none}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #b6a8ef;outline-offset:3px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1px;font-weight:650}h2{font-size:24px;letter-spacing:-.6px;font-weight:650}h3{font-size:16px;font-weight:600}small{color:var(--muted);font-size:12px}input,select,textarea{width:100%;background:var(--surface);border:1px solid #e3e0ee;border-radius:9px;padding:12px 13px;color:var(--text);outline:none;transition:border .15s}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #7763d810}input::placeholder,textarea::placeholder{color:#aaa6bb}textarea{resize:vertical;min-height:95px}label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:550}input[type=checkbox]{accent-color:var(--accent);width:17px;height:17px}hr{border:0;border-top:1px solid var(--line);width:100%}.muted{color:var(--subtle);line-height:1.7}.eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:1.7px;color:var(--muted)}.brand{font-size:30px;font-weight:750;letter-spacing:-1.8px;display:flex;align-items:center;gap:10px}.brand-mark{font-size:27px;line-height:36px;width:37px;height:37px;border-radius:11px;background:var(--accent);color:#fff;text-align:center;letter-spacing:-2px;font-family:Arial,sans-serif;display:inline-block}.brand-dot{color:var(--accent);margin-left:-10px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:11px 17px;min-height:42px;border-radius:9px;font-weight:550;font-size:13px;white-space:nowrap;transition:background .15s,transform .15s}.button svg{width:17px;height:17px}.primary{background:var(--accent);color:white;box-shadow:0 3px 7px #7763d81a}.primary:hover{background:var(--accent-dark)}.secondary{background:var(--surface);border:1px solid var(--line)}.secondary:hover{background:var(--sidebar)}.danger{background:#fff0f1;color:#bc5265}.large{min-height:48px}.text-button{font-weight:550;color:var(--accent);padding:10px 0}.icon-button{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);border-radius:8px;flex-shrink:0}.icon-button:hover{background:var(--tint);color:var(--accent)}.stack{display:flex;flex-direction:column;gap:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full{grid-column:1/-1}.tag{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 7px;font-size:10px;line-height:1.3;white-space:nowrap;font-weight:550}.tag::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.violet{color:#8a6ad0;background:#f1ecfb}.blue{color:#5d90c8;background:#edf4fc}.green{color:#509b83;background:#eef8f3}.orange{color:#c1975b;background:#fcf5e8}.rose{color:#c57d97;background:#fceff3}.slate{color:#788699;background:#f0f3f7}.app-layout{display:flex;min-height:100vh}.sidebar{width:244px;min-width:244px;background:var(--sidebar);padding:34px 22px 20px;border-right:1px solid var(--line);display:flex;flex-direction:column;position:fixed;top:0;bottom:0;z-index:20}.sidebar .brand{padding-left:9px}.workspace-label{display:flex;gap:10px;align-items:center;margin:34px 4px 25px;font-size:12px;font-weight:600}.workspace-icon{width:33px;height:33px;border:1px solid #e2ddec;background:var(--surface);border-radius:9px;display:flex;align-items:center;justify-content:center;color:var(--accent)}.workspace-label small{display:block;margin-top:5px;font-size:9px;font-weight:400}.workspace-chevron{margin-left:auto;color:var(--muted)}.sidebar-search{display:flex;align-items:center;gap:8px;padding:9px 10px;width:100%;font-size:11px;border:1px solid #e7e4f0;border-radius:8px;background:#ffffff70;color:var(--muted);margin-bottom:28px}.sidebar-search svg{width:16px}.sidebar-search kbd{margin-left:auto;font-size:11px;border:1px solid #ddd9e8;border-radius:4px;padding:0 5px;background:var(--surface)}.nav-label{font-size:9px;font-weight:650;letter-spacing:1.15px;color:#a7a1b9;margin:0 12px 12px}.main-nav{display:flex;flex-direction:column;gap:5px}.nav-item{min-height:43px;display:flex;align-items:center;gap:11px;padding:9px 12px;border-radius:8px;color:var(--subtle);font-size:12px;width:100%;text-align:left;font-weight:450}.nav-item svg{width:18px;height:18px;color:#9993ad}.nav-item:hover{background:#eeebf6}.nav-item.active{color:var(--accent);background:#eae5f8;font-weight:650}.nav-item.active svg{color:var(--accent)}.nav-count{margin-left:auto;background:#fff9;border-radius:5px;min-width:20px;text-align:center;font-size:10px;padding:2px 4px;color:var(--accent)}.nav-count:empty{display:none}.nav-count.warm{background:#f5eada;color:#bd9860}.category-heading{display:flex;align-items:center;justify-content:space-between;margin-top:34px}.category-heading .nav-label{margin-bottom:0}.category-heading .icon-button{height:28px;width:28px}.category-heading svg{width:15px}.category-nav{margin-top:6px}.category-nav button{width:100%;padding:10px 14px;display:flex;align-items:center;gap:12px;font-size:12px;color:var(--subtle);text-align:left;border-radius:8px}.category-nav button:hover{background:var(--tint)}.category-dot{width:7px;height:7px;display:inline-block;background:currentColor;border-radius:50%}.category-nav .category-edit{margin-left:auto;font-size:15px;opacity:.4}.sidebar-bottom{margin-top:auto;padding-top:32px}.sidebar-tip{display:flex;gap:10px;color:#aaa0c5;padding:14px 10px;margin-bottom:17px}.sidebar-tip svg{width:17px}.sidebar-tip p{font-size:10px;line-height:1.9}.sidebar-tip strong{font-weight:450;color:#8a7caa}.profile-button{border-top:1px solid #e6e2ef;padding:20px 8px 0;display:flex;align-items:center;gap:10px;width:100%;text-align:left;font-size:12px;font-weight:550}.profile-button small{display:block;font-size:10px;margin-top:3px;font-weight:400}.profile-button>svg{margin-left:auto;width:16px}.avatar{width:34px;height:34px;border-radius:50%;background:#e7ddf6;color:#8b6eb3;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;flex-shrink:0}.admin-link{font-size:11px;margin-bottom:12px}.admin-link>span:last-child{margin-left:auto}.content-area{margin-left:244px;width:calc(100% - 244px);display:flex;flex-direction:column;min-height:100vh}.topbar{height:77px;min-height:77px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid var(--line);background:var(--surface)}.breadcrumb{display:flex;align-items:center;gap:12px;color:#a19bad;font-size:11px}.breadcrumb>svg{width:15px}.breadcrumb .slash{color:#d0cadc}.breadcrumb strong{color:var(--subtle);font-weight:500}.topbar-actions{display:flex;align-items:center;gap:12px}.connection-status{display:flex;align-items:center;gap:6px;color:#9993a9;font-size:10px;margin-right:10px}.connection-status>span{width:5px;height:5px;border-radius:50%;background:#74b39a}.topbar-divider{height:17px;border-left:1px solid var(--line)}.page-content{padding:38px 40px 26px;flex:1;max-width:1600px;width:100%;margin:0 auto}.page-footer{display:flex;justify-content:space-between;gap:15px;color:#bab3c7;font-size:9px;padding:18px 40px 25px}.page-footer>span:last-child{display:flex;align-items:center;gap:12px}.tiny-brand{font-size:15px;font-weight:700;letter-spacing:-.8px;color:#a198b9}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:15px}.page-heading .eyebrow{margin-bottom:9px;font-size:9px;letter-spacing:1.1px}.page-heading h1{font-size:30px;letter-spacing:-.9px}.page-heading p{color:#a29caf;font-size:11px;margin-top:8px}.heading-actions{display:flex;align-items:center;gap:10px}.date-pill{font-size:11px;color:var(--subtle);border:1px solid var(--line);padding:8px 12px;border-radius:7px;display:flex;align-items:center;gap:7px;background:var(--surface)}.date-pill svg{width:14px;height:14px}.agenda-columns{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:28px}.agenda-main{min-width:0}.week-strip{display:flex;align-items:stretch;gap:8px;margin-bottom:28px}.week-day{min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;gap:11px;padding:12px 3px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:#a29aae;transition:background .15s}.week-day small{font-size:9px;color:inherit}.week-day strong{font-size:17px;font-weight:550;color:var(--subtle)}.week-day .day-dot{width:3px;height:3px;background:#cabfe9;border-radius:50%;margin-top:1px}.week-day.active{background:var(--accent);border-color:var(--accent);color:#dcd4f6;box-shadow:0 4px 10px #7763d825}.week-day.active strong{color:white}.week-day.active .day-dot{background:#fff}.week-arrow{width:15px;padding:0;display:flex;align-items:center;justify-content:center;color:var(--muted)}.week-arrow svg{width:14px}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.tabs{display:flex;gap:18px;align-items:center}.tab{font-size:11px;padding:9px 0;display:flex;align-items:center;gap:6px;color:var(--muted);border-bottom:2px solid transparent}.tab.active{border-color:var(--accent);color:var(--accent);font-weight:600}.tab .tab-count{font-size:9px;background:#edeaf6;color:#a195bb;padding:2px 5px;border-radius:4px}.sort-button{font-size:10px;display:flex;align-items:center;gap:5px;color:var(--muted)}.sort-button svg{width:14px}.quick-add{display:flex;align-items:center;gap:10px;border:1px dashed #dcd4ed;background:#faf8ff;border-radius:10px;min-height:52px;padding:4px 14px;margin-bottom:19px;color:#a29aaa}.quick-add>svg{width:17px;color:#a995d5}.quick-add input{background:transparent;border:0;padding:10px 0;font-size:12px;box-shadow:none}.quick-add kbd{font-family:inherit;font-size:9px;color:#b6adc6;white-space:nowrap}.quick-add button{display:flex;color:var(--accent)}.task-list{display:flex;flex-direction:column;gap:9px}.task-row{display:flex;align-items:center;gap:12px;padding:15px 15px 15px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);min-height:71px;transition:border-color .15s,box-shadow .15s}.task-row:hover{border-color:#d8d0ee;box-shadow:0 4px 15px #53416b05}.task-row .drag{font-size:14px;color:#dcd6e7;width:7px;margin-right:1px;cursor:grab;user-select:none}.task-check{height:19px;width:19px;padding:0;border:1.5px solid #d8d1e4;border-radius:6px;display:flex;align-items:center;justify-content:center;color:white;flex-shrink:0;position:relative}.task-check::after{content:'';position:absolute;inset:-12px}.task-check svg{width:13px;height:13px;stroke-width:2.6}.task-check.checked{background:#99c0ae;border-color:#99c0ae}.task-check.skipped{background:#dfdbe6;border-color:#dfdbe6;color:#8d859b}.task-copy{min-width:0;flex:1;cursor:pointer;display:flex;flex-direction:column;gap:8px}.task-title{font-size:12px;font-weight:500;overflow-wrap:anywhere;color:var(--text);line-height:1.5}.task-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:9px;color:#b0a8bc}.task-meta>span{display:flex;align-items:center;gap:4px}.task-meta svg{width:11px;height:11px}.task-meta .tag{font-size:9px;padding:3px 6px}.task-tools{display:flex;align-items:center;gap:5px}.task-tools .icon-button{height:30px;width:30px}.task-tools svg{width:16px}.priority-flag{color:#d6b780}.priority-flag.high{color:#d68895}.task-row.done{background:#fdfcfe;opacity:.8}.task-row.done .task-title{text-decoration:line-through;color:#aaa2b5}.task-row.done .task-meta{opacity:.7}.completed-heading{display:flex;align-items:center;gap:8px;width:100%;padding:23px 1px 15px;color:#aaa2b8;font-size:10px;text-align:left}.completed-heading svg{width:13px;height:13px}.completed-heading .completed-line{height:1px;background:var(--line);flex:1;margin-left:5px}.selection-row{display:flex;align-items:center;gap:7px;padding:10px;margin:0 0 15px;border-radius:8px;background:var(--tint);color:var(--accent);font-size:11px}.selection-row button{padding:5px 8px;border-radius:5px;background:var(--surface)}.select-task{margin:0}.panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:21px;margin-bottom:19px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px;font-weight:600;font-size:12px}.panel-title .icon-button{height:24px;width:24px}.panel-title svg{width:13px}.calendar-nav{display:flex;gap:2px}.mini-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:4px 2px;text-align:center}.mini-calendar .weekday{font-size:9px;color:#b2aabd;padding:0 0 9px}.mini-calendar button{font-size:10px;border-radius:7px;height:27px;position:relative;color:#84798f}.mini-calendar button.active{background:var(--accent);color:white}.mini-calendar button.today:not(.active){background:var(--tint);color:var(--accent);font-weight:700}.mini-calendar button.other-month{opacity:.3}.mini-calendar button.has-task:after{content:'';position:absolute;bottom:2px;left:calc(50% - 1px);height:2px;width:2px;background:currentColor;border-radius:50%}.calendar-today{border-top:1px solid var(--line);margin-top:13px;padding-top:13px;width:100%;font-size:10px;color:var(--accent)}.progress-panel{padding:22px;background:linear-gradient(125deg,#f4f0ff,#fdfbff);border-color:#ece5fb}.progress-panel .panel-title{color:#776994;margin-bottom:17px;font-size:11px}.progress-panel .panel-title svg{width:16px;height:16px;color:#ac96d4}.progress-number{font-size:30px;font-weight:600;color:#7d66b0;letter-spacing:-1px}.progress-number>small{font-size:17px;color:#c0b0d6;font-weight:400}.progress-caption{margin-top:5px;font-size:10px;color:#a799b8}.progress-track{height:5px;border-radius:5px;background:#e6ddf1;overflow:hidden;margin:18px 0 11px}.progress-track>div{height:100%;border-radius:5px;background:#ac90d7}.progress-percent{display:flex;justify-content:space-between;font-size:9px;color:#a390b9}.progress-note{font-size:10px;color:#a28cae;border-top:1px solid #e9e0f2;padding-top:15px;margin-top:15px;line-height:1.7}.aside-note{padding:5px 7px;color:#b3aabd;line-height:1.8;font-size:10px;display:flex;gap:9px}.aside-note svg{width:15px;height:15px;color:#c1b1d5;margin-top:2px}.overdue-notice{display:flex;align-items:center;gap:10px;padding:12px 15px;background:#fcf8f0;border:1px solid #f0e8d7;border-radius:9px;margin-bottom:18px;color:#ae925f;font-size:11px}.overdue-notice svg{width:17px;height:17px}.overdue-notice button{margin-left:auto;color:#a18a5f;font-size:10px;font-weight:650;white-space:nowrap}.empty-state{text-align:center;padding:55px 20px;border:1px dashed var(--line);border-radius:12px;background:var(--surface)}.empty-icon{display:flex;align-items:center;justify-content:center;background:var(--tint);color:#aa96dc;width:53px;height:53px;border-radius:16px;margin:0 auto 18px}.empty-icon svg{width:25px;height:25px}.empty-state h3{font-size:15px;margin-bottom:9px}.empty-state p{font-size:12px;color:var(--muted);line-height:1.7;max-width:320px;margin:0 auto 16px}.filter-bar{display:flex;gap:10px;align-items:center;margin-bottom:20px}.filter-bar input{max-width:300px;font-size:12px;padding:10px 12px}.filter-bar select{width:auto;max-width:220px;font-size:11px;padding:10px}.view-switch{display:flex;padding:3px;background:var(--sidebar);border-radius:8px}.view-switch button{padding:7px 11px;font-size:11px;color:var(--muted);border-radius:6px}.view-switch button.active{background:var(--surface);box-shadow:0 2px 5px #30205009;color:var(--accent)}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:var(--surface);border-top:1px solid var(--line);border-left:1px solid var(--line);border-radius:12px;overflow:hidden}.month-grid .month-label{text-align:center;padding:12px;font-size:10px;color:var(--muted);border-bottom:1px solid var(--line);border-right:1px solid var(--line)}.month-cell{min-height:116px;padding:10px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);text-align:left}.month-cell>button{font-size:11px;width:26px;height:26px;border-radius:7px;margin-bottom:7px}.month-cell.active{background:#faf7ff}.month-cell.active>button{background:var(--accent);color:#fff}.month-cell.other-month{opacity:.45}.month-task{display:block;width:100%;text-align:left;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:9px;padding:4px 5px;border-radius:4px;background:var(--tint);color:var(--accent);margin:3px 0}.month-task.done{text-decoration:line-through;background:#eff6f2;color:#88a794}.week-columns{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.week-column{min-width:0;background:var(--sidebar);border-radius:10px;padding:10px}.week-column h3{font-size:11px;color:var(--subtle);margin-bottom:15px}.week-column .task-row{padding:9px;display:block;min-height:0;margin-bottom:7px}.week-column .task-row .drag,.week-column .task-tools,.week-column .task-check{display:none}.week-column .task-title{font-size:10px}.week-column .task-meta{margin-top:5px}.routine-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.routine-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:22px}.routine-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:var(--tint);color:var(--accent);margin-bottom:17px}.routine-card h3{margin-bottom:8px}.routine-card p{font-size:12px;line-height:1.6;color:var(--muted)}.routine-footer{display:flex;gap:8px;margin-top:22px;padding-top:15px;border-top:1px solid var(--line);align-items:center}.routine-footer .button{font-size:10px;padding:7px 10px;min-height:32px}.routine-footer .tag{margin-right:auto}.history-list{background:var(--surface);border:1px solid var(--line);border-radius:12px}.history-row{display:flex;align-items:flex-start;gap:14px;padding:18px 20px;border-bottom:1px solid var(--line)}.history-row:last-child{border:0}.history-row .history-icon{color:var(--accent);background:var(--tint);border-radius:8px;padding:8px;display:flex}.history-row svg{width:15px;height:15px}.history-row strong{font-size:12px;font-weight:550}.history-row p{font-size:11px;color:var(--muted);margin-top:5px}.history-row time{margin-left:auto;font-size:10px;color:var(--muted);white-space:nowrap}.settings-layout{max-width:760px}.settings-layout .panel{padding:28px}.settings-layout h3{margin-bottom:21px}.account-validity{display:flex;align-items:center;gap:12px;padding:17px;background:var(--tint);color:var(--accent);border-radius:9px;margin-bottom:24px}.account-validity p{font-size:12px}.account-validity small{display:block;margin-top:3px;color:#9b8db5}.danger-area{border-top:1px solid var(--line);margin-top:20px;padding-top:20px;display:flex;justify-content:space-between;align-items:center}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:20px}.stat-card span{font-size:11px;color:var(--muted)}.stat-card strong{display:block;font-size:28px;margin-top:9px;font-weight:550;letter-spacing:-.6px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:11px;background:var(--surface)}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;background:var(--sidebar);color:var(--muted);font-size:10px;font-weight:600;padding:14px 16px;white-space:nowrap}td{padding:15px 16px;border-top:1px solid var(--line);white-space:nowrap}td strong{font-size:12px;font-weight:550}td small{display:block;margin-top:4px;font-size:10px}td .table-actions{display:flex;gap:3px}td .icon-button svg{width:16px}.status-badge{font-size:10px;padding:5px 8px;border-radius:6px;display:inline-block}.support-banner{min-height:42px;display:flex;justify-content:space-between;align-items:center;gap:15px;background:#f6e8bd;color:#887142;padding:10px 26px;font-size:11px;position:sticky;top:0;z-index:30}.support-banner button{font-weight:650;text-decoration:underline}.with-support .sidebar{top:42px}.modal{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:18px;width:560px;max-width:calc(100% - 24px);max-height:90dvh;box-shadow:0 24px 90px #241c4633;padding:25px;overflow:auto}.modal::backdrop{background:#20163265;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.modal-header .eyebrow{color:var(--accent)}.modal h2{font-size:23px;margin-bottom:22px}.modal .form-grid{gap:17px}.modal .task-title-input{border:0;border-radius:0;padding:5px 0 14px;font-size:22px;font-weight:550;box-shadow:none;border-bottom:1px solid var(--line)}.modal .form-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:25px;border-top:1px solid var(--line);padding-top:20px}.modal .form-footer .delete-button{margin-right:auto;color:#bb8094;font-size:12px}.modal .hint{font-size:11px;color:var(--muted);line-height:1.6}.check-label{flex-direction:row;align-items:center;gap:9px;font-size:12px;font-weight:450}.recurrence-panel{background:var(--sidebar);border-radius:10px;padding:17px}.recurrence-panel h3{font-size:12px;margin-bottom:17px;display:flex;align-items:center;gap:8px;color:var(--accent)}.recurrence-panel h3 svg{width:15px}.weekday-picker{display:flex;gap:8px;flex-wrap:wrap}.weekday-picker label{align-items:center;font-size:10px;background:var(--surface);border:1px solid var(--line);padding:8px;border-radius:7px;flex:1}.preview-dates{font-size:10px;color:var(--accent);line-height:1.8;margin-top:15px}.menu-list{display:flex;flex-direction:column;gap:5px}.menu-list button{padding:13px;display:flex;align-items:center;gap:11px;text-align:left;border-radius:8px;font-size:12px}.menu-list button:hover{background:var(--sidebar)}.menu-list button svg{width:17px;color:var(--accent)}.menu-list .menu-danger{color:#b6778a}.modal-description{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:20px}.error-box,.form-error:not(:empty){padding:12px;border-radius:8px;background:#fff0f2;color:#b84f66;font-size:12px;line-height:1.6}.success-box{padding:15px;margin:22px 0;border-radius:9px;background:#ecf7f0;color:#468b62}.form-error:empty{display:none}.toast-region{position:fixed;bottom:28px;left:calc(50% + 122px);transform:translateX(-50%);z-index:100;display:flex;flex-direction:column;gap:10px;max-width:calc(100% - 30px)}.toast{display:flex;align-items:center;gap:16px;border-radius:10px;padding:14px 19px;font-size:12px;background:#373044;color:white;box-shadow:0 8px 30px #34264025;animation:toast-in .15s ease}.toast.error{background:#9b4560}.toast button{color:#d6c4ff;font-weight:600;white-space:nowrap}.offline-banner{position:fixed;top:0;left:0;right:0;text-align:center;background:#fae8b9;color:#856326;padding:10px;z-index:200;font-size:12px}.mobile-menu,.mobile-nav,.mobile-brand{display:none}.auth-layout{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.auth-story{padding:45px 65px;background:#f0ecf8;display:flex;flex-direction:column;min-height:100vh}.auth-story .brand{font-size:34px}.auth-message{margin:auto 0;padding:65px 0;max-width:480px}.auth-message .eyebrow{color:#a08bbc;font-size:9px;letter-spacing:2px}.auth-message h1{font-size:67px;letter-spacing:-3px;line-height:1.13;margin-top:22px;font-weight:600}.auth-message h1>span{color:#9e89be}.auth-message>p{font-size:13px;line-height:1.9;color:#9b8eae;margin:25px 0 35px}.auth-story footer{color:#b0a3c0;font-size:10px}.sample-list{background:#ffffffb3;border:1px solid #ffffffcf;border-radius:15px;padding:9px 20px;box-shadow:0 12px 35px #8971ac0b}.sample-list>div{display:flex;align-items:center;gap:11px;padding:17px 0;border-bottom:1px solid #e8e1f0;font-size:11px;color:#8d7e9f}.sample-list>div:last-child{border:0}.sample-check{width:17px;height:17px;background:#b7a4d0;color:white;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:10px}.sample-check+span{text-decoration:line-through}.sample-empty{border:1px solid #c9badb;border-radius:5px;width:17px;height:17px}.sample-list .tag{margin-left:auto;font-size:8px}.sample-spark{margin-left:auto;color:#b09bc7;font-size:19px}.auth-main{display:flex;align-items:center;justify-content:center;padding:45px;background:var(--surface)}.auth-form-wrap{width:350px}.auth-form-wrap>.eyebrow{font-size:9px;margin-bottom:15px;color:var(--accent)}.auth-form-wrap h2{font-size:27px;margin-bottom:10px;letter-spacing:-.8px}.auth-form-wrap>.muted{font-size:12px;margin-bottom:35px}.auth-form-wrap .stack{gap:22px}.auth-form-wrap input{font-size:13px;padding:13px}.auth-form-wrap label{font-size:11px}.auth-form-wrap .primary{justify-content:space-between;font-size:12px;margin-top:4px}.forgot-button{display:block;margin:18px auto 0;font-size:11px;font-weight:450}.auth-note{font-size:10px;line-height:1.9;text-align:center;color:#b2a8bf;border-top:1px solid var(--line);margin-top:26px;padding-top:26px}.auth-footer{margin-top:55px;font-size:10px;color:#c1b8ce;text-align:center}.setup-page{display:flex;min-height:100vh;align-items:center;justify-content:center;padding:30px}.setup-card{max-width:600px;margin:45px auto;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;padding:40px}.setup-card .brand{margin-bottom:30px}.setup-card h1{margin:12px 0}.setup-card>.muted{margin-bottom:25px;font-size:13px}.blocked-card p{margin:20px 0;line-height:1.7}.loading-state{display:flex;align-items:center;justify-content:center;gap:12px;min-height:300px;color:var(--muted);font-size:12px}.loader{width:19px;height:19px;border:2px solid var(--tint);border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite}.pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:20px;font-size:11px;color:var(--muted)}.summary-note{padding:15px;background:var(--tint);border-radius:8px;font-size:11px;color:var(--accent);line-height:1.8;margin-bottom:20px}.subtask-list{display:flex;flex-direction:column;gap:9px;margin:15px 0}.subtask-list label{font-weight:400;flex-direction:row;align-items:center;font-size:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.night{--bg:#191820;--surface:#22212c;--sidebar:#1e1c28;--text:#e0dcea;--muted:#a19ab4;--subtle:#b7aec9;--line:#312c40;--accent:#a290ee;--accent-dark:#8e7ada;--tint:#342d49;color-scheme:dark}.night .quick-add,.night .task-row.done{background:var(--surface)}.night .nav-item.active{background:var(--tint)}.night .sidebar-search{background:var(--surface);border-color:var(--line)}.night .nav-item:hover,.night .month-cell.active{background:var(--tint)}.night .progress-panel{background:#292336;border-color:var(--line)}.night .progress-track{background:#403451}.night .overdue-notice{background:#322b20;border-color:#453b29}.night .tag{background:#ffffff0b}.night input,.night select,.night textarea{border-color:#493e5b}.night .week-day.active{color:#eee}.night .week-day.active strong{color:#fff}.night .nav-count{background:var(--surface)}.night .profile-button{border-color:var(--line)}.night .month-grid,.night .secondary{background:var(--surface)}.night .date-pill{border-color:var(--line)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1550px){.page-content{padding:45px 65px}.agenda-columns{grid-template-columns:minmax(0,1fr) 290px;gap:38px}.task-row{padding:19px 16px;min-height:79px}.task-title{font-size:14px}.task-meta{font-size:10px}.week-day{padding:15px 5px}.page-heading h1{font-size:34px}.panel{padding:24px}.mini-calendar button{height:32px}.sidebar{width:260px;min-width:260px;padding-left:25px;padding-right:25px}.content-area{margin-left:260px;width:calc(100% - 260px)}.nav-item{font-size:13px}}
@media(max-width:1200px){.sidebar{width:215px;min-width:215px;padding:30px 15px 18px}.content-area{margin-left:215px;width:calc(100% - 215px)}.topbar{padding:0 27px}.page-content{padding:30px 27px}.agenda-columns{grid-template-columns:minmax(0,1fr) 220px;gap:20px}.panel{padding:16px}.task-row{gap:9px}.auth-story{padding:40px}.auth-message h1{font-size:55px}.sample-list{padding:8px 12px}.sample-list .tag{display:none}.page-footer{padding-left:27px;padding-right:27px}}
@media(max-width:1000px){.agenda-columns{grid-template-columns:minmax(0,1fr)}.agenda-aside{display:none}.page-heading h1{font-size:28px}.page-content{padding:30px}.connection-status{display:none}.routine-grid{grid-template-columns:1fr}.week-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar-tip{display:none}.month-cell{min-height:95px;padding:6px}.month-task{font-size:8px}.admin-stats{grid-template-columns:repeat(2,1fr)}.heading-actions .date-pill{display:none}.toast-region{left:calc(50% + 108px)}.auth-story{padding:35px}.auth-message h1{font-size:47px}.auth-main{padding:35px}}
@media(max-width:740px){:root{font-size:15px}.sidebar{transform:translateX(-100%);width:270px;transition:transform .18s;box-shadow:none;padding:26px 20px 90px;overflow:auto}.sidebar.open{transform:translateX(0);box-shadow:0 0 0 100vmax #24203365}.sidebar.open .sidebar-tip{display:none}.content-area{margin-left:0;width:100%;padding-bottom:72px}.topbar{height:61px;min-height:61px;padding:0 17px;gap:12px}.mobile-menu{display:flex}.breadcrumb{margin-right:auto;font-size:10px;gap:7px}.breadcrumb>svg,.breadcrumb>span:first-of-type,.breadcrumb .slash{display:none}.topbar-actions{gap:5px}.topbar-divider{display:none}.page-content{padding:25px 18px}.page-heading{margin-bottom:23px}.page-heading h1{font-size:28px}.page-heading p{font-size:11px}.page-heading .eyebrow{font-size:8px}.page-heading .button{font-size:11px;min-height:39px;padding:9px 11px}.page-heading .button svg{width:15px}.week-strip{gap:5px;margin-bottom:22px}.week-day{padding:11px 1px 9px;gap:10px;border-radius:9px}.week-day small{font-size:8px}.week-day strong{font-size:16px}.week-arrow{width:10px}.task-row{padding:16px 11px;gap:12px;min-height:75px}.task-row .drag{display:none}.task-title{font-size:13px}.task-meta{font-size:10px}.task-meta .tag{font-size:9px}.task-check{width:21px;height:21px}.task-tools .icon-button{width:32px;height:40px}.task-tools .move-tool{display:none}.task-tools{gap:0}.task-copy{gap:7px}.tabs{gap:15px}.tab{font-size:11px}.quick-add{min-height:55px}.quick-add input{font-size:16px}.quick-add kbd{display:none}.quick-add>svg{width:19px}.list-toolbar{gap:5px}.sort-button{font-size:0}.sort-button svg{width:19px;height:19px}.overdue-notice{font-size:11px;padding:12px;gap:8px}.overdue-notice button{font-size:10px}.page-footer{padding:12px 18px 23px;font-size:8px;justify-content:center}.page-footer>span:last-child{display:none}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:var(--surface);border-top:1px solid var(--line);justify-content:space-around;align-items:center;padding:10px 10px max(9px,env(safe-area-inset-bottom));z-index:40;height:70px}.mobile-nav>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:9px;color:var(--muted);min-width:48px;min-height:44px}.mobile-nav>button.active{color:var(--accent)}.mobile-nav>button>svg{width:20px;height:20px}.mobile-nav .mobile-add{border-radius:14px;background:var(--accent);color:white;min-width:47px;height:43px;box-shadow:0 4px 12px #7763d830}.mobile-nav .mobile-add svg{width:23px;height:23px}.modal{padding:20px;border-radius:17px;max-height:calc(100dvh - 26px)}.modal h2{font-size:22px}.modal input,.modal textarea,.modal select{font-size:16px}.modal label{font-size:12px}.form-grid{gap:16px 12px}.modal .form-footer{gap:8px}.toast-region{left:50%;bottom:85px;width:max-content;max-width:calc(100% - 26px)}.toast{font-size:12px;line-height:1.5}.auth-layout{display:block}.auth-story{display:none}.auth-main{min-height:100dvh;padding:35px 25px}.auth-form-wrap{max-width:380px;width:100%}.mobile-brand{display:flex;margin-bottom:55px}.auth-form-wrap h2{font-size:27px}.auth-form-wrap input{font-size:16px}.auth-form-wrap .stack{gap:22px}.auth-form-wrap .large{min-height:49px}.auth-form-wrap>.muted{margin-bottom:32px}.auth-footer{margin-top:35px}.setup-card{padding:26px;margin:20px 15px}.setup-page{padding:10px}.setup-card input{font-size:16px}.setup-card .form-grid{grid-template-columns:1fr}.setup-card h1{font-size:28px}.month-grid{border-radius:9px}.month-cell{min-height:79px;padding:4px}.month-label{padding:10px 2px!important;font-size:9px!important}.month-cell>button{width:24px;height:24px;font-size:10px}.month-task{height:5px;font-size:0;padding:0;margin:3px 2px;width:calc(100% - 4px);border-radius:4px}.month-more{font-size:8px;color:var(--muted)}.week-columns{grid-template-columns:1fr}.week-column .task-row{display:flex}.week-column .task-check{display:flex}.week-column .task-title{font-size:12px}.week-column .task-meta{margin:0}.week-column h3{font-size:12px}.filter-bar{flex-wrap:wrap;gap:8px}.filter-bar input{max-width:none;flex:1;min-width:160px;font-size:16px}.filter-bar select{max-width:150px;font-size:12px}.filter-bar .view-switch{margin-left:auto}.admin-stats{gap:10px}.stat-card{padding:16px}.stat-card strong{font-size:25px}.routine-card{padding:21px}.history-row{padding:15px 12px;gap:10px}.history-row time{font-size:8px;max-width:62px;white-space:normal;text-align:right;line-height:1.6}.history-row p{line-height:1.7}.settings-layout .panel{padding:20px}.settings-layout .form-grid{grid-template-columns:1fr}.support-banner{font-size:10px;padding:10px 14px;line-height:1.5;align-items:flex-start}.support-banner button{white-space:nowrap}.with-support .sidebar{top:0;padding-top:80px}.selection-row{flex-wrap:wrap}.empty-state{padding:45px 15px}.danger-area{align-items:flex-start;gap:15px;flex-direction:column}.heading-actions{gap:5px}.status-badge{font-size:9px}.sample-list{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.mfa-setup{padding:18px;background:var(--tint);border-radius:12px;font-size:12px;line-height:1.7;min-width:0}.mfa-setup p{margin:0 0 13px}.mfa-setup p:last-child{margin:16px 0 0}.mfa-qr{display:flex;justify-content:center;margin:16px 0}.mfa-qr canvas{display:block;width:264px;max-width:100%;height:auto;background:#fff;image-rendering:pixelated}.mfa-setup summary{cursor:pointer;font-weight:600;padding:8px 0}.mfa-setup details p{margin-top:10px}.mfa-secret{font-family:monospace;letter-spacing:1px;width:100%;min-width:0}.mfa-qr-error{color:var(--text)}

.sidebar{overflow:hidden}.sidebar>.brand{flex-shrink:0}.sidebar-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;margin:0 -8px;padding:0 8px 18px;scrollbar-width:thin;scrollbar-color:#d8d1e4 transparent}.sidebar-bottom{margin-top:0;padding-top:18px;flex-shrink:0}

@media(min-width:741px){.app-layout{align-items:stretch}.sidebar{position:static;top:auto;bottom:auto;height:auto;min-height:100vh;overflow:visible}.sidebar-scroll{flex:none;min-height:auto;overflow:visible;margin:0;padding:0}.sidebar-bottom{margin-top:auto}.content-area{margin-left:0;width:auto;flex:1;min-width:0}.with-support .sidebar{top:auto;min-height:calc(100vh - 42px)}}

@media(min-width:741px){.sidebar{padding-top:20px;padding-bottom:14px}.workspace-label{margin:18px 4px 14px}.sidebar-search{padding-top:7px;padding-bottom:7px;margin-bottom:16px}.nav-label{margin-bottom:7px}.main-nav{gap:2px}.nav-item{min-height:36px;padding-top:7px;padding-bottom:7px}.category-heading{margin-top:16px}.category-nav{margin-top:3px}.category-nav button{padding-top:7px;padding-bottom:7px}.sidebar-bottom{padding-top:10px}.sidebar-tip{padding:7px 10px;margin-bottom:6px}.sidebar-tip p{line-height:1.55}.admin-link{min-height:34px;margin-bottom:6px}.profile-button{padding-top:12px}}
@media(min-width:741px) and (max-height:820px){.sidebar-tip{display:none}.workspace-label small{display:none}.workspace-label{margin-top:13px;margin-bottom:10px}.sidebar-search{margin-bottom:11px}.category-heading{margin-top:11px}.sidebar-bottom{padding-top:7px}}

@media(min-width:741px){.app-layout{align-items:flex-start}.sidebar{height:100vh;min-height:0;align-self:flex-start}.with-support .sidebar{height:calc(100vh - 42px);min-height:0}}

.menu-list a{padding:13px;display:flex;align-items:center;gap:11px;text-align:left;border-radius:8px;font-size:12px}.menu-list a:hover{background:var(--sidebar)}.menu-list a svg{width:17px;color:var(--accent)}.mobile-more-label{margin-top:14px!important;margin-bottom:3px!important;padding-top:13px;border-top:1px solid var(--line)}
@media(max-width:740px){.sidebar,.mobile-menu{display:none!important}}

/* Contraste e hierarquia visual */
.topbar{box-shadow:0 1px 0 var(--line)}
.panel,.task-row,.routine-card,.stat-card,.history-list,.table-wrap,.month-grid{box-shadow:0 1px 2px #33255c0b}
.sidebar-search,input,select,textarea,.secondary,.date-pill{border-color:var(--line)}
.sidebar-search{background:var(--surface)}
.nav-item:hover{background:#e2dfeb}
.nav-item.active{background:#e0daf4}
.quick-add{background:#f8f6ff;border-color:#cfc7e2}
.task-row:hover{border-color:#bfb7d1;box-shadow:0 5px 18px #49366f12}
.date-pill{min-height:42px;justify-content:center}
.connection-status.pending{color:#9a6b22;font-weight:600}
.connection-status.pending>span{background:#d59a3d}
.connection-status.offline{color:#b75c68}
.connection-status.offline>span{background:#c96070}
.night{--bg:#14131a;--surface:#24222d;--sidebar:#1b1923;--text:#f0edf6;--muted:#aaa3b8;--subtle:#d0c8dc;--line:#433c51;--accent:#a290ee;--accent-dark:#8e7ada;--tint:#39314f;--shadow:0 14px 42px #0000004a}
.night .topbar{background:#211f29}
.night .nav-item:hover{background:#302b3d}
.night .nav-item.active{background:#3b3252}
.night .quick-add{background:#211f2a;border-color:#574b6b}
.night .task-row:hover{border-color:#665977;box-shadow:0 5px 20px #00000035}
.night .panel,.night .task-row,.night .routine-card,.night .stat-card,.night .history-list,.night .table-wrap,.night .month-grid{box-shadow:0 1px 2px #00000040}
.sidebar-scroll>.sidebar-search{margin-top:24px}
.topbar{justify-content:flex-end}
.week-day .day-dot.empty{visibility:hidden}
.month-cell{cursor:pointer}
@media(min-width:741px){.sidebar{position:fixed;top:0;bottom:0;height:100vh;min-height:0}.content-area{margin-left:244px;width:calc(100% - 244px)}.with-support .sidebar{top:42px;bottom:0;height:calc(100vh - 42px);min-height:0}}
@media(min-width:741px) and (max-width:1200px){.content-area{margin-left:215px;width:calc(100% - 215px)}}
@media(min-width:1550px){.content-area{margin-left:260px;width:calc(100% - 260px)}}

/* Legibilidade reforçada no tema claro */
:root:not(.night) .topbar{border-color:#bbb4c7;background:#fdfcff}
:root:not(.night) .sidebar{border-color:#bbb4c7}
:root:not(.night) .panel,:root:not(.night) .task-row,:root:not(.night) .routine-card,:root:not(.night) .stat-card,:root:not(.night) .history-list,:root:not(.night) .table-wrap,:root:not(.night) .month-grid{border-color:#c3bdcc;box-shadow:0 2px 7px #35274f12}
:root:not(.night) .secondary{border-color:#bdb6c8;color:#373245;font-weight:600}
:root:not(.night) .secondary:hover{background:#e8e4ed;border-color:#a9a1b7}
:root:not(.night) .danger{background:#f8dce2;border:1px solid #d17b8d;color:#8d1f38;font-weight:700;box-shadow:0 2px 7px #9c344820}
:root:not(.night) .danger:hover{background:#f2c8d1;border-color:#b94f65}
:root:not(.night) .page-heading p,:root:not(.night) .task-meta,:root:not(.night) .history-row p,:root:not(.night) .history-row time,:root:not(.night) .routine-card p,:root:not(.night) .empty-state p{color:var(--muted)}
:root:not(.night) .page-heading p{font-size:12px}
:root:not(.night) .eyebrow,:root:not(.night) .nav-label,:root:not(.night) .month-label,:root:not(.night) .mini-calendar .weekday{color:#676071}
:root:not(.night) .nav-item{color:#454052}
:root:not(.night) .nav-item svg{color:#6c6578}
:root:not(.night) .nav-item:hover{background:#d5d1df}
:root:not(.night) .nav-item.active{background:#d8d0f0;color:#5944b8}
:root:not(.night) .sidebar-search{border-color:#bdb6c8;color:#585264}
:root:not(.night) .quick-add{border-color:#b8accd;background:#f9f7fd}
:root:not(.night) input,:root:not(.night) select,:root:not(.night) textarea{border-color:#bbb4c6}
:root:not(.night) input::placeholder,:root:not(.night) textarea::placeholder{color:#777080}
:root:not(.night) .week-day{border-color:#c1bacb;color:#6a6374}
:root:not(.night) .week-day strong{color:#373243}
:root:not(.night) .tab,:root:not(.night) .sort-button,:root:not(.night) .completed-heading{color:#686173}
:root:not(.night) .tab .tab-count{background:#ded9e8;color:#514a5e}
:root:not(.night) .month-cell{border-color:#c8c2d2}
:root:not(.night) .month-grid .month-label{border-color:#c8c2d2;background:#f3f1f6}
:root:not(.night) .mini-calendar button{color:#514a5e}
:root:not(.night) .empty-state{border-color:#bdb6c8}
.view-switch [data-calendar-view="week"]{display:none}
.view-switch button{min-width:66px;min-height:38px;padding:9px 16px;font-size:12px;font-weight:600}
@media(max-width:740px){.view-switch button{min-width:58px;min-height:40px;padding:9px 13px;font-size:12px}}

/* Filtro de tarefas */
.tabs{display:inline-flex;align-items:center;gap:4px;padding:4px;background:var(--sidebar);border:1px solid var(--line);border-radius:12px;box-shadow:inset 0 1px 2px #33254f0b;max-width:430px}
.tab{min-width:0;min-height:38px;padding:8px 13px;border:0;border-radius:8px;color:var(--subtle);font-size:11px;font-weight:600;justify-content:center;transition:background .15s,color .15s,box-shadow .15s}
.tab:hover{background:var(--tint);color:var(--accent)}
.tab.active{border:0;background:var(--accent);color:#fff;box-shadow:0 3px 8px #5540b32b}
.tab .tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:7px;background:var(--surface);color:var(--subtle);font-size:9px;font-weight:700}
.tab.active .tab-count{background:#ffffff2b;color:#fff}
:root:not(.night) .tabs{background:#ddd9e5;border-color:#bbb4c6}
:root:not(.night) .tab:not(.active):hover{background:#eeeaf5}
.night .tabs{background:#1c1a24;border-color:#4b4359}
.night .tab:not(.active):hover{background:#302a40}
@media(max-width:740px){.tabs{flex:1;max-width:none}.tab{flex:1;padding:8px 7px;font-size:10px;gap:5px}.tab .tab-count{min-width:18px;height:18px;padding:0 5px}}
.topbar-brand{display:none;font-size:23px;font-weight:750;letter-spacing:-1.3px;color:var(--text)}
.topbar-brand span{color:var(--accent)}
@media(max-width:740px){.topbar-brand{display:block;margin-right:auto}}

/* Estados selecionados com alto contraste */
:root:not(.night) .tab.active,:root:not(.night) .view-switch button.active,:root:not(.night) .nav-item.active{background:#6650c7;color:#fff;border-color:#6650c7;box-shadow:0 3px 9px #49369c2e}
:root:not(.night) .tab.active .tab-count,:root:not(.night) .nav-item.active .nav-count{background:#ffffff30;color:#fff}
:root:not(.night) .nav-item.active svg{color:#fff}
:root:not(.night) .week-day.active{background:#6650c7;border-color:#6650c7;color:#fff}
:root:not(.night) .week-day.active small,:root:not(.night) .week-day.active strong{color:#fff}
:root:not(.night) .mini-calendar button.active,:root:not(.night) .month-cell.active>button:first-child{background:#6650c7;color:#fff}
:root:not(.night) .task-check.checked{background:#287f61;border-color:#287f61;color:#fff}
:root:not(.night) .task-check.skipped{background:#625b70;border-color:#625b70;color:#fff}
:root:not(.night) .mobile-nav>button.active{color:#5943b8;font-weight:700}
.night .tab.active,.night .view-switch button.active,.night .nav-item.active{background:#604cad;color:#fff;border-color:#7660c5;box-shadow:0 3px 10px #00000042}
.night .tab.active .tab-count,.night .nav-item.active .nav-count{background:#ffffff2e;color:#fff}
.night .nav-item.active svg{color:#fff}
.night .week-day.active{background:#604cad;border-color:#7660c5;color:#fff}
.night .week-day.active small,.night .week-day.active strong{color:#fff}
.night .mini-calendar button.active,.night .month-cell.active>button:first-child{background:#604cad;color:#fff}
.night .task-check.checked{background:#33785f;border-color:#4d9b7d;color:#fff}
.night .task-check.skipped{background:#625a70;border-color:#7a7188;color:#fff}
.night .mobile-nav>button.active{color:#b9a9ff;font-weight:700}

/* Minha conta no desktop */
.settings-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(340px,.85fr);gap:22px;width:100%;max-width:none;align-items:start}
.settings-layout .panel{margin-bottom:0}
.account-panel{padding:32px 34px}
.settings-aside{display:flex;flex-direction:column;gap:22px}
.security-panel,.account-tools-panel{padding:26px;position:static}
.settings-card-heading{display:flex;align-items:center;gap:14px;padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--line)}
.settings-card-heading.compact{align-items:flex-start;padding-bottom:19px;margin-bottom:19px}
.settings-card-heading .eyebrow{color:var(--accent);margin-bottom:7px}
.settings-card-heading h3{margin-bottom:5px}
.settings-card-heading.compact h3{margin-bottom:0;line-height:1.4}
.settings-card-heading .muted{font-size:11px}
.security-panel>.muted,.account-tools-panel>.muted{font-size:11px}
.settings-wide-action{width:100%;margin-top:20px}
.settings-icon{width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:13px;background:var(--tint);color:var(--accent)}
.settings-icon svg{width:22px;height:22px}
.account-form{gap:20px 18px}
.settings-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding-top:23px;margin-top:3px;font-size:13px;font-weight:600}
.settings-section-title small{font-weight:400}
.account-submit{display:flex;justify-content:flex-end;padding-top:3px}
.account-validity{margin-bottom:23px}
.account-tools-panel h3{margin-bottom:7px}
.settings-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.settings-actions .button{padding-left:10px;padding-right:10px}
.page-footer{justify-content:center}
.page-footer>span{display:flex;align-items:center;gap:7px}
@media(max-width:1050px){.settings-layout{grid-template-columns:1fr;width:100%;max-width:none}.settings-aside{display:grid;grid-template-columns:1fr 1fr}.security-panel,.account-tools-panel{height:100%}}
@media(max-width:740px){.account-panel,.security-panel,.account-tools-panel{padding:20px}.settings-aside{display:flex}.settings-card-heading{padding-bottom:19px;margin-bottom:20px}.settings-layout .form-grid{grid-template-columns:1fr}.settings-section-title{align-items:flex-start;flex-direction:column;gap:5px}.account-submit .button{width:100%}.settings-actions .button{width:100%}.page-footer>span{display:flex!important}}

/* Calendário mensal com células estáveis */
.month-cell{position:relative;height:116px;min-height:116px}
.month-count{position:absolute;left:10px;bottom:10px;display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:22px;padding:0 7px;border-radius:7px;background:var(--tint);color:var(--accent);font-size:10px;font-weight:700;white-space:nowrap}
.month-cell.active .month-count{background:var(--accent);color:#fff}
@media(max-width:1000px){.month-cell{height:95px;min-height:95px}}
@media(max-width:740px){.month-cell{height:72px;min-height:72px}.month-count{left:5px;bottom:6px;min-width:21px;height:19px;padding:0 5px;font-size:9px}}
