@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lato:wght@400;700&family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&family=Roboto:wght@400;500;700&family=Source+Sans+3:wght@400;500;600;700&display=swap";*{box-sizing:border-box}body{color:#222;background-color:#f5f5f5;margin:0}.container{max-width:900px;margin:0 auto;padding:40px 20px;font-family:Arial,sans-serif}header{text-align:center;margin-bottom:40px}header h1{margin-bottom:10px;font-size:42px}header p{font-size:20px}section{border:1px solid #ddd;border-radius:10px;margin-bottom:35px;padding:25px}section h2{margin-top:0}li{margin-bottom:8px}button{cursor:pointer;border:1px solid #888;border-radius:6px;padding:10px 20px;font-size:16px}footer{text-align:center;margin-top:40px;padding:20px}.login-page{background:#f5f5f5;justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.login-card{background:#fff;border:1px solid #ddd;border-radius:12px;width:100%;max-width:420px;padding:40px;box-shadow:0 8px 25px #00000014}.login-header{text-align:center;margin-bottom:30px}.login-header h1{margin-bottom:10px;font-size:32px}.login-header p{color:#666;margin:0}.form-group{margin-bottom:20px}.form-group label{margin-bottom:8px;font-weight:700;display:block}.form-group input{box-sizing:border-box;border:1px solid #ccc;border-radius:6px;outline:none;width:100%;padding:12px;font-size:16px}.form-group input:focus{border-color:#555}.forgot-password{text-align:right;margin-bottom:20px}.forgot-password a,.register-link a,.back-home a{color:#2563eb;text-decoration:none}.forgot-password a:hover,.register-link a:hover,.back-home a:hover{text-decoration:underline}.login-button{color:#fff;cursor:pointer;background:#222;border:none;border-radius:6px;width:100%;padding:12px;font-size:16px}.login-button:hover{background:#444}.login-button:disabled{opacity:.6;cursor:not-allowed}.register-link{text-align:center;margin-top:25px}.register-link p{color:#666}.back-home{text-align:center;margin-top:20px}.login-error{color:#b91c1c;text-align:center;background-color:#fee2e2;border:1px solid #fecaca;border-radius:6px;margin-bottom:20px;padding:12px;font-size:14px}.tasks-layout{background:#f6f7f9;min-height:100vh;display:flex}.tasks-main{width:calc(100% - 230px);min-width:0;margin-left:230px}.tasks-content{box-sizing:border-box;width:100%;max-width:1180px;margin:0 auto;padding:48px 36px}.tasks-sidebar{z-index:1000;box-sizing:border-box;background:#fff;border-right:1px solid #e5e7eb;flex-direction:column;width:230px;min-height:100vh;padding:28px 20px;display:flex;position:fixed;top:0;bottom:0;left:0}.sidebar-brand{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;padding:0 8px 25px;display:flex}.sidebar-brand h2{margin:0;font-size:22px}.sidebar-brand p{color:#6b7280;margin:5px 0 0;font-size:13px}.sidebar-navigation{flex-direction:column;gap:7px;margin-top:25px;display:flex}.sidebar-link{color:#374151;border-radius:8px;padding:11px 13px;font-weight:600;text-decoration:none;transition:background-color .15s,color .15s;display:block}.sidebar-link:hover{background:#f3f4f6}.sidebar-link-active,.sidebar-link-active:hover{color:#fff;background:#111827}.sidebar-bottom{margin-top:auto}.sidebar-logout{color:#dc2626;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:8px;width:100%;padding:10px 14px;font-weight:600}.sidebar-logout:hover{background:#fef2f2}.sidebar-close-button,.tasks-mobile-header,.sidebar-overlay{display:none}.tasks-page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:38px;display:flex}.tasks-page-heading h1{margin:0;font-size:2rem;line-height:1.2}.tasks-page-heading p{color:#6b7280;margin:7px 0 0;font-size:.95rem}.tasks-section-heading{align-items:baseline;gap:10px;margin-bottom:18px;display:flex}.tasks-section-heading h2{margin:0;font-size:1.25rem}.task-count{color:#6b7280;font-size:.88rem}.new-task-button,.logout-button,.secondary-button{cursor:pointer;font:inherit;border:none;border-radius:8px;padding:10px 16px;text-decoration:none}.new-task-button{color:#fff;background:#111827}.logout-button{color:#fff;background:#ef4444}.secondary-button{color:#111827;background:#e5e7eb}.task-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));align-items:stretch;gap:20px;display:grid}.task-card{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;height:100%;padding:20px;display:flex;box-shadow:0 2px 8px #0000000d}.task-card-header{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.task-card-header h3{flex:1;min-width:0;margin:0}.task-description{color:#4b5563;min-height:48px;margin:16px 0;line-height:1.5}.task-completed{opacity:.75}.task-details{flex-direction:column;gap:10px;margin-top:18px;display:flex}.task-details>div{justify-content:space-between;gap:15px;display:flex}.task-label{color:#6b7280;font-weight:600}.task-actions{border-top:1px solid #e5e7eb;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:16px;display:flex}.task-actions button{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:8px 12px}.delete-task-button{color:#dc2626}.tasks-message,.tasks-error,.empty-tasks{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:40px}.tasks-error{color:#b91c1c}.task-card .task-status-selector{flex:0 0 125px;align-items:center;width:125px;min-width:125px;max-width:125px;display:inline-flex;position:relative}.task-card .task-status-selector select{appearance:auto;box-sizing:border-box;cursor:pointer;border:1px solid #0000;border-radius:999px;outline:none;width:125px;min-width:125px;max-width:125px;height:36px;min-height:36px;margin:0;padding:0 12px;font-size:13px;font-weight:700;display:block}.task-card .task-status-selector select:disabled{cursor:wait;opacity:.7}.task-card .status-active select{color:#1d4ed8;background:#dbeafe;border-color:#bfdbfe}.task-card .status-on-hold select{color:#92400e;background:#fef3c7;border-color:#fde68a}.task-card .status-completed select{color:#166534;background:#dcfce7;border-color:#bbf7d0}.task-card .status-unknown select{color:#374151;background:#f3f4f6;border-color:#d1d5db}.status-saving{color:#6b7280;font-size:.75rem}.modal-overlay{z-index:1100;background:#0000008c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.task-modal{box-sizing:border-box;background:#fff;border-radius:16px;width:100%;max-width:620px;max-height:90vh;padding:28px;overflow-y:auto;box-shadow:0 20px 50px #0003}.modal-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:25px;display:flex}.modal-header h2{margin:0}.modal-header p{color:#6b7280;margin:6px 0 0}.modal-close-button{cursor:pointer;color:#6b7280;background:0 0;border:none;font-size:30px;line-height:1}.task-form-group{flex-direction:column;gap:7px;margin-bottom:18px;display:flex}.task-form-group label{color:#374151;font-weight:600}.task-form-group input,.task-form-group textarea,.task-form-group select{box-sizing:border-box;width:100%;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:11px 12px}.task-form-group textarea{resize:vertical}.task-form-group input:focus,.task-form-group textarea:focus,.task-form-group select:focus{border-color:#111827;outline:none;box-shadow:0 0 0 3px #11182714}.task-form-row{grid-template-columns:1fr 1fr;gap:16px;display:grid}.task-form-error{color:#b91c1c;background:#fee2e2;border-radius:8px;margin-bottom:20px;padding:12px}.modal-actions{justify-content:flex-end;gap:10px;margin-top:10px;display:flex}.cancel-task-button,.create-task-button{font:inherit;cursor:pointer;border-radius:8px;padding:10px 18px}.cancel-task-button{color:#374151;background:#fff;border:1px solid #d1d5db}.create-task-button{color:#fff;background:#111827;border:none}.create-task-button:disabled,.cancel-task-button:disabled{opacity:.6;cursor:not-allowed}.delete-confirm-modal{box-sizing:border-box;background:#fff;border-radius:14px;width:min(420px,100vw - 40px);padding:24px;box-shadow:0 20px 50px #0003}.delete-confirm-modal h2{margin-top:0;margin-bottom:12px}.delete-confirm-modal p{margin-bottom:10px}.delete-warning{color:#6b7280;font-size:.9rem}.delete-confirm-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.delete-no-button,.delete-yes-button{cursor:pointer;border:none;border-radius:8px;padding:10px 18px;font-weight:600}.delete-no-button{color:#111827;background:#e5e7eb}.delete-yes-button{color:#fff;background:#dc2626}.delete-no-button:hover:not(:disabled){background:#d1d5db}.delete-yes-button:hover:not(:disabled){background:#b91c1c}.delete-no-button:disabled,.delete-yes-button:disabled{opacity:.6;cursor:not-allowed}@media (width<=768px){.tasks-main{width:100%;margin-left:0;padding-top:65px}.tasks-mobile-header{z-index:900;box-sizing:border-box;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:65px;padding:0 18px;display:flex;position:fixed;top:0;left:0;right:0;box-shadow:0 1px 4px #0000000a}.mobile-brand{color:#111827;font-size:20px;font-weight:700;text-decoration:none}.mobile-menu-button{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:42px;height:42px;padding:0;display:flex}.mobile-menu-button span{background:#111827;border-radius:2px;width:20px;height:2px;display:block}.tasks-sidebar{width:260px;transition:transform .25s;display:flex;transform:translate(-100%);box-shadow:6px 0 20px #0000001f}.tasks-sidebar.tasks-sidebar-open{transform:translate(0)}.sidebar-close-button{color:#374151;cursor:pointer;background:#f3f4f6;border:none;border-radius:7px;justify-content:center;align-items:center;width:34px;height:34px;padding:0;font-size:23px;line-height:1;display:flex}.sidebar-overlay{z-index:950;cursor:default;background:#11182773;border:none;border-radius:0;padding:0;display:block;position:fixed;inset:0}.tasks-content{box-sizing:border-box;width:100%;padding:28px 18px}.tasks-page-heading{align-items:flex-start;margin-bottom:30px}.tasks-page-heading h1{font-size:1.7rem}.task-grid{grid-template-columns:1fr}}@media (width<=600px){.task-modal{padding:20px}.task-form-row{grid-template-columns:1fr;gap:0}}@media (width<=480px){.tasks-page-heading{flex-direction:column;gap:18px}.new-task-button{width:100%}.task-card-header{justify-content:space-between;align-items:flex-start;gap:12px}.task-card .task-status-selector{flex:0 0 125px;width:125px;min-width:125px;max-width:125px}}.dashboard-welcome{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin:0 0 28px;padding:28px;box-shadow:0 2px 8px #0000000a}.dashboard-welcome h2{margin:0 0 10px;font-size:1.4rem}.dashboard-welcome p{color:#6b7280;max-width:700px;margin:0;line-height:1.6}.dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;display:grid}.dashboard-card{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #e5e7eb;border-radius:12px;align-items:center;gap:18px;min-height:120px;padding:24px;text-decoration:none;transition:transform .15s,box-shadow .15s,border-color .15s;display:flex;position:relative;box-shadow:0 2px 8px #0000000a}a.dashboard-card:hover{border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 8px 20px #00000014}.dashboard-card-icon{background:#f3f4f6;border-radius:10px;flex:0 0 48px;justify-content:center;align-items:center;width:48px;height:48px;font-size:22px;font-weight:700;display:flex}.dashboard-card h3{margin:0 0 7px;font-size:1.05rem}.dashboard-card p{color:#6b7280;margin:0;font-size:.9rem;line-height:1.5}.dashboard-card-arrow{color:#6b7280;margin-left:auto;font-size:24px}.dashboard-card-disabled{opacity:.65;cursor:default}@media (width<=600px){.dashboard-welcome{padding:22px}.dashboard-grid{grid-template-columns:1fr}.dashboard-card{padding:20px}}.home-heading-message{color:#6b7280;font-size:1rem;font-weight:400}.task-card{position:relative;overflow:hidden}.task-card .task-card-header{background:0 0;border-radius:0;margin:0;padding:0;transition:none;position:relative}.task-card .task-card-header:before{content:"";background:#e5e7eb;height:6px;position:absolute;top:-20px;left:-20px;right:-20px}.task-card .task-card-header.priority-1:before{background:#22c55e}.task-card .task-card-header.priority-2:before{background:#4ade80}.task-card .task-card-header.priority-3:before{background:#84cc16}.task-card .task-card-header.priority-4:before{background:#a3e635}.task-card .task-card-header.priority-5:before{background:#eab308}.task-card .task-card-header.priority-6:before{background:#f59e0b}.task-card .task-card-header.priority-7:before{background:#f97316}.task-card .task-card-header.priority-8:before{background:#fb7185}.task-card .task-card-header.priority-9:before{background:#ef4444}.task-card .task-card-header.priority-10:before{background:#dc2626}.task-card .task-card-header.priority-default:before{background:#9ca3af}.task-card .task-card-header.task-header-completed:before{background:#16a34a}.tasks-toolbar{justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;display:flex}.tasks-toolbar-left{flex-wrap:wrap;align-items:center;gap:18px;min-width:0;display:flex}.tasks-toolbar .tasks-section-heading{flex:none;margin-bottom:0}.task-filter-group,.task-view-toggle{align-items:center;gap:6px;display:inline-flex}.task-filter-button,.task-view-button{color:#4b5563;min-height:34px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:999px;padding:7px 12px;font-size:.84rem;font-weight:600;line-height:1;transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s}.task-filter-button:hover,.task-view-button:hover{background:#f3f4f6;border-color:#9ca3af}.task-filter-button-active,.task-filter-button-active:hover,.task-view-button-active,.task-view-button-active:hover{color:#fff;background:#111827;border-color:#111827}.task-view-toggle{background:#fff;border:1px solid #d1d5db;border-radius:10px;flex:none;gap:2px;padding:3px}.task-view-button{border:none;border-radius:7px;align-items:center;gap:6px;min-height:32px;display:inline-flex}.task-view-button span{font-size:.95rem}.task-list{flex-direction:column;gap:10px;display:flex}.task-list-item{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:minmax(220px,1.5fr) minmax(260px,1fr) auto;align-items:center;gap:22px;padding:16px 18px 16px 22px;display:grid;position:relative;overflow:hidden;box-shadow:0 1px 4px #0000000a}.task-list-item:before{content:"";background:#9ca3af;width:5px;position:absolute;top:0;bottom:0;left:0}.task-list-item.priority-1:before{background:#22c55e}.task-list-item.priority-2:before{background:#4ade80}.task-list-item.priority-3:before{background:#84cc16}.task-list-item.priority-4:before{background:#a3e635}.task-list-item.priority-5:before{background:#eab308}.task-list-item.priority-6:before{background:#f59e0b}.task-list-item.priority-7:before{background:#f97316}.task-list-item.priority-8:before{background:#fb7185}.task-list-item.priority-9:before{background:#ef4444}.task-list-item.priority-10:before{background:#dc2626}.task-list-item.task-header-completed:before{background:#16a34a}.task-list-main{min-width:0}.task-list-main h3{margin:0;font-size:1rem}.task-list-main p{color:#6b7280;text-overflow:ellipsis;white-space:nowrap;margin:5px 0 0;font-size:.86rem;line-height:1.35;overflow:hidden}.task-list-meta{color:#4b5563;flex-direction:column;gap:5px;min-width:0;font-size:.82rem;display:flex}.task-list-meta span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.task-list-controls{justify-content:flex-end;align-items:center;gap:10px;display:flex}.task-list-item .task-status-selector{flex:0 0 125px;align-items:center;width:125px;min-width:125px;max-width:125px;display:inline-flex;position:relative}.task-list-item .task-status-selector select{appearance:auto;box-sizing:border-box;cursor:pointer;border:1px solid #0000;border-radius:999px;outline:none;width:125px;min-width:125px;max-width:125px;height:36px;min-height:36px;margin:0;padding:0 12px;font-size:13px;font-weight:700;display:block}.task-list-item .status-active select{color:#1d4ed8;background:#dbeafe;border-color:#bfdbfe}.task-list-item .status-on-hold select{color:#92400e;background:#fef3c7;border-color:#fde68a}.task-list-item .status-completed select{color:#166534;background:#dcfce7;border-color:#bbf7d0}.task-list-item .status-unknown select{color:#374151;background:#f3f4f6;border-color:#d1d5db}.task-list-item .task-actions{border-top:none;flex-wrap:nowrap;margin:0;padding:0}@media (width<=1000px){.tasks-toolbar{flex-direction:column;align-items:flex-start}.task-list-item{grid-template-columns:minmax(0,1fr) auto}.task-list-meta{flex-flow:wrap;grid-area:2/1/auto/-1;gap:8px 20px}.task-list-controls{grid-area:1/2}}@media (width<=768px){.tasks-toolbar-left{width:100%}.task-filter-group{width:100%;padding-bottom:2px;overflow-x:auto}.task-filter-button{flex:none}.task-view-toggle{align-self:flex-start}.task-list-item{grid-template-columns:1fr;gap:14px}.task-list-meta{grid-area:auto}.task-list-controls{flex-wrap:wrap;grid-area:auto;justify-content:space-between}}@media (width<=480px){.task-filter-group{gap:5px}.task-filter-button{padding:7px 10px;font-size:.8rem}.task-view-toggle{width:100%}.task-view-button{flex:1;justify-content:center}.task-list-controls{flex-direction:column;align-items:flex-start}}.tasks-toolbar-actions{flex:none;justify-content:flex-end;align-items:center;gap:10px;display:flex}.task-sort-control{color:#6b7280;align-items:center;gap:8px;font-size:.84rem;font-weight:600;display:inline-flex}.task-sort-control select{color:#374151;height:38px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:9px;outline:none;padding:0 32px 0 11px}.task-sort-control select:focus{border-color:#111827;box-shadow:0 0 0 3px #11182714}.app-theme-toggle{z-index:850;color:#374151;min-height:38px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:999px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:.84rem;font-weight:700;display:inline-flex;position:fixed;top:18px;right:22px;box-shadow:0 2px 8px #0000000f}.app-theme-toggle:hover{background:#f3f4f6}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=dark] body,:root[data-theme=dark] .tasks-layout{color:#e5e7eb;background:#0f172a}:root[data-theme=dark] .tasks-sidebar,:root[data-theme=dark] .tasks-mobile-header{background:#111827;border-color:#334155}:root[data-theme=dark] .sidebar-brand{border-color:#334155}:root[data-theme=dark] .sidebar-brand h2,:root[data-theme=dark] .mobile-brand,:root[data-theme=dark] .tasks-page-heading h1,:root[data-theme=dark] .tasks-section-heading h2,:root[data-theme=dark] .task-card h3,:root[data-theme=dark] .task-list-main h3,:root[data-theme=dark] .dashboard-welcome h2,:root[data-theme=dark] .dashboard-card h3{color:#f8fafc}:root[data-theme=dark] .sidebar-link{color:#cbd5e1}:root[data-theme=dark] .sidebar-link:hover{background:#1f2937}:root[data-theme=dark] .sidebar-link-active,:root[data-theme=dark] .sidebar-link-active:hover{color:#111827;background:#f8fafc}:root[data-theme=dark] .sidebar-logout{color:#fca5a5;background:#111827;border-color:#7f1d1d}:root[data-theme=dark] .sidebar-logout:hover{background:#2b171b}:root[data-theme=dark] .tasks-page-heading p,:root[data-theme=dark] .task-count,:root[data-theme=dark] .task-label,:root[data-theme=dark] .task-description,:root[data-theme=dark] .task-list-main p,:root[data-theme=dark] .task-list-meta,:root[data-theme=dark] .home-heading-message,:root[data-theme=dark] .dashboard-welcome p,:root[data-theme=dark] .dashboard-card p,:root[data-theme=dark] .dashboard-card-arrow,:root[data-theme=dark] .task-sort-control{color:#94a3b8}:root[data-theme=dark] .task-card,:root[data-theme=dark] .task-list-item,:root[data-theme=dark] .tasks-message,:root[data-theme=dark] .tasks-error,:root[data-theme=dark] .empty-tasks,:root[data-theme=dark] .dashboard-welcome,:root[data-theme=dark] .dashboard-card,:root[data-theme=dark] .task-modal,:root[data-theme=dark] .delete-confirm-modal{color:#e5e7eb;background:#111827;border-color:#334155}:root[data-theme=dark] .task-actions{border-color:#334155}:root[data-theme=dark] .task-actions button,:root[data-theme=dark] .cancel-task-button,:root[data-theme=dark] .task-filter-button,:root[data-theme=dark] .task-view-toggle,:root[data-theme=dark] .task-view-button,:root[data-theme=dark] .task-sort-control select,:root[data-theme=dark] .app-theme-toggle,:root[data-theme=dark] .mobile-menu-button,:root[data-theme=dark] .sidebar-close-button{color:#e5e7eb;background:#1e293b;border-color:#475569}:root[data-theme=dark] .task-filter-button:hover,:root[data-theme=dark] .task-view-button:hover,:root[data-theme=dark] .app-theme-toggle:hover{background:#334155}:root[data-theme=dark] .task-filter-button-active,:root[data-theme=dark] .task-filter-button-active:hover,:root[data-theme=dark] .task-view-button-active,:root[data-theme=dark] .task-view-button-active:hover{color:#111827;background:#f8fafc;border-color:#f8fafc}:root[data-theme=dark] .task-form-group input,:root[data-theme=dark] .task-form-group textarea,:root[data-theme=dark] .task-form-group select{color:#e5e7eb;background:#0f172a;border-color:#475569}:root[data-theme=dark] .task-form-group label{color:#cbd5e1}:root[data-theme=dark] .dashboard-card{color:#e5e7eb}:root[data-theme=dark] .dashboard-card-icon{background:#1e293b}:root[data-theme=dark] a.dashboard-card:hover{border-color:#64748b}:root[data-theme=dark] .new-task-button,:root[data-theme=dark] .create-task-button{color:#111827;background:#f8fafc}:root[data-theme=dark] .mobile-menu-button span{background:#e5e7eb}@media (width<=1000px){.tasks-toolbar-actions{justify-content:space-between;width:100%}}@media (width<=768px){.app-theme-toggle{z-index:925;min-height:38px;box-shadow:none;top:13px;right:70px}}@media (width<=600px){.tasks-toolbar-actions{flex-direction:column;align-items:stretch}.task-sort-control{justify-content:space-between;width:100%}.task-sort-control select{flex:1;min-width:0}}@media (width<=480px){.app-theme-toggle{width:40px;padding:0}.app-theme-toggle span:last-child{display:none}}:root{--app-font-family:Arial, Helvetica, sans-serif}.tasks-layout,.tasks-layout button,.tasks-layout input,.tasks-layout textarea,.tasks-layout select{font-family:var(--app-font-family)}.appearance-page{padding-bottom:70px}.appearance-settings-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;margin-bottom:22px;padding:26px;box-shadow:0 2px 8px #0000000a}.appearance-section-heading{margin-bottom:20px}.appearance-section-heading h2{margin:0 0 6px;font-size:1.2rem}.appearance-section-heading p{color:#6b7280;margin:0;line-height:1.5}.theme-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.theme-option{text-align:left;color:#111827;cursor:pointer;background:#fff;border:2px solid #e5e7eb;border-radius:12px;flex-direction:column;align-items:flex-start;gap:7px;padding:14px;display:flex}.theme-option:hover{border-color:#9ca3af}.theme-option strong{font-size:.95rem}.theme-option small{color:#6b7280;line-height:1.4}.theme-option-preview{box-sizing:border-box;border-radius:8px;grid-template-rows:1fr 1fr;grid-template-columns:28% 1fr;gap:6px;width:100%;height:76px;padding:8px;display:grid}.theme-option-preview span:first-child{border-radius:5px;grid-row:1/3}.theme-option-preview span:nth-child(2),.theme-option-preview span:nth-child(3){border-radius:5px}.theme-option-light .theme-option-preview{background:#f6f7f9}.theme-option-light .theme-option-preview span:first-child{background:#fff}.theme-option-light .theme-option-preview span:nth-child(2){background:#111827}.theme-option-light .theme-option-preview span:nth-child(3){background:#e5e7eb}.theme-option-dark .theme-option-preview{background:#0f172a}.theme-option-dark .theme-option-preview span:first-child{background:#111827}.theme-option-dark .theme-option-preview span:nth-child(2){background:#f8fafc}.theme-option-dark .theme-option-preview span:nth-child(3){background:#334155}.theme-option-sunrise .theme-option-preview{background:#fff4e8}.theme-option-sunrise .theme-option-preview span:first-child{background:#f3e8ff}.theme-option-sunrise .theme-option-preview span:nth-child(2){background:#f6b73c}.theme-option-sunrise .theme-option-preview span:nth-child(3){background:#fb8f8f}.theme-option-sunset .theme-option-preview{background:#2a1825}.theme-option-sunset .theme-option-preview span:first-child{background:#3a2232}.theme-option-sunset .theme-option-preview span:nth-child(2){background:#f59e0b}.theme-option-sunset .theme-option-preview span:nth-child(3){background:#fb7185}.appearance-option-selected{border-color:#111827;box-shadow:0 0 0 2px #11182714}.font-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.font-option{color:#111827;text-align:left;cursor:pointer;background:#fff;border:2px solid #e5e7eb;border-radius:12px;flex-direction:column;align-items:stretch;gap:8px;padding:17px;display:flex}.font-option:hover{border-color:#9ca3af}.font-option-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.font-selected-mark{color:#fff;background:#111827;border-radius:999px;justify-content:center;align-items:center;width:23px;height:23px;font-family:Arial,sans-serif;font-size:.8rem;display:inline-flex}.font-preview-text{color:#4b5563;font-size:.92rem;line-height:1.45}.font-preview-alphabet{color:#9ca3af;font-size:.8rem}.appearance-live-preview{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;grid-template-columns:1fr 1fr;gap:18px;padding:22px;display:grid}.appearance-preview-label{color:#6b7280;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px;font-size:.75rem;font-weight:700;display:inline-block}.appearance-live-preview h3{margin:0 0 8px;font-size:1.3rem}.appearance-live-preview p{color:#6b7280;margin:0 0 16px;line-height:1.5}.appearance-live-preview button{color:#fff;cursor:default;background:#111827;border:none;border-radius:8px;padding:9px 14px}.appearance-preview-task{background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:14px;padding:18px 16px 18px 20px;display:flex;position:relative;overflow:hidden}.appearance-preview-task-accent{background:#f59e0b;width:5px;position:absolute;top:0;bottom:0;left:0}.appearance-preview-task div{flex:1;min-width:0}.appearance-preview-task p{margin:5px 0 0;font-size:.85rem}.appearance-preview-status{color:#1d4ed8;background:#dbeafe;border-radius:999px;padding:7px 11px;font-size:.78rem;font-weight:700}:root[data-theme=dark] .appearance-settings-card,:root[data-theme=dark] .font-option,:root[data-theme=dark] .theme-option,:root[data-theme=dark] .appearance-preview-task{color:#e5e7eb;background:#111827;border-color:#334155}:root[data-theme=dark] .appearance-section-heading p,:root[data-theme=dark] .font-preview-text,:root[data-theme=dark] .theme-option small,:root[data-theme=dark] .appearance-live-preview p,:root[data-theme=dark] .appearance-preview-label{color:#94a3b8}:root[data-theme=dark] .appearance-live-preview{background:#0f172a;border-color:#334155}:root[data-theme=dark] .appearance-option-selected{border-color:#f8fafc;box-shadow:0 0 0 2px #f8fafc14}:root[data-theme=dark] .font-selected-mark,:root[data-theme=dark] .appearance-live-preview button{color:#111827;background:#f8fafc}:root[data-theme=sunrise]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=sunrise] body,:root[data-theme=sunrise] .tasks-layout{color:#4a3340;background:#fff7ed}:root[data-theme=sunrise] .tasks-sidebar,:root[data-theme=sunrise] .tasks-mobile-header{background:#fff1e6;border-color:#f3c9bd}:root[data-theme=sunrise] .sidebar-brand{border-color:#f3c9bd}:root[data-theme=sunrise] .sidebar-brand h2,:root[data-theme=sunrise] .mobile-brand,:root[data-theme=sunrise] .tasks-page-heading h1,:root[data-theme=sunrise] .tasks-section-heading h2,:root[data-theme=sunrise] .task-card h3,:root[data-theme=sunrise] .task-list-main h3,:root[data-theme=sunrise] .dashboard-welcome h2,:root[data-theme=sunrise] .dashboard-card h3{color:#4a3340}:root[data-theme=sunrise] .sidebar-link{color:#765465}:root[data-theme=sunrise] .sidebar-link:hover{background:#ffe3d5}:root[data-theme=sunrise] .sidebar-link-active,:root[data-theme=sunrise] .sidebar-link-active:hover{color:#4a3340;background:#f6b73c}:root[data-theme=sunrise] .sidebar-logout{color:#a94d5b;background:#fff1e6;border-color:#e7a8a8}:root[data-theme=sunrise] .sidebar-logout:hover{background:#ffe3d5}:root[data-theme=sunrise] .home-heading-message,:root[data-theme=sunrise] .task-count,:root[data-theme=sunrise] .task-label,:root[data-theme=sunrise] .task-description,:root[data-theme=sunrise] .task-list-main p,:root[data-theme=sunrise] .task-list-meta,:root[data-theme=sunrise] .dashboard-welcome p,:root[data-theme=sunrise] .dashboard-card p,:root[data-theme=sunrise] .dashboard-card-arrow,:root[data-theme=sunrise] .task-sort-control,:root[data-theme=sunrise] .appearance-section-heading p,:root[data-theme=sunrise] .font-preview-text,:root[data-theme=sunrise] .theme-option small,:root[data-theme=sunrise] .appearance-live-preview p,:root[data-theme=sunrise] .appearance-preview-label{color:#8a6676}:root[data-theme=sunrise] .task-card,:root[data-theme=sunrise] .task-list-item,:root[data-theme=sunrise] .tasks-message,:root[data-theme=sunrise] .tasks-error,:root[data-theme=sunrise] .empty-tasks,:root[data-theme=sunrise] .dashboard-welcome,:root[data-theme=sunrise] .dashboard-card,:root[data-theme=sunrise] .task-modal,:root[data-theme=sunrise] .delete-confirm-modal,:root[data-theme=sunrise] .appearance-settings-card,:root[data-theme=sunrise] .font-option,:root[data-theme=sunrise] .theme-option,:root[data-theme=sunrise] .appearance-preview-task{color:#4a3340;background:#fffdf8;border-color:#f1d6cb}:root[data-theme=sunrise] .task-actions{border-color:#f1d6cb}:root[data-theme=sunrise] .task-actions button,:root[data-theme=sunrise] .cancel-task-button,:root[data-theme=sunrise] .task-filter-button,:root[data-theme=sunrise] .task-view-toggle,:root[data-theme=sunrise] .task-view-button,:root[data-theme=sunrise] .task-sort-control select,:root[data-theme=sunrise] .app-theme-toggle,:root[data-theme=sunrise] .mobile-menu-button,:root[data-theme=sunrise] .sidebar-close-button{color:#5f4050;background:#fff7ed;border-color:#e9c2b5}:root[data-theme=sunrise] .task-filter-button:hover,:root[data-theme=sunrise] .task-view-button:hover,:root[data-theme=sunrise] .app-theme-toggle:hover{background:#ffe8d9}:root[data-theme=sunrise] .task-filter-button-active,:root[data-theme=sunrise] .task-filter-button-active:hover,:root[data-theme=sunrise] .task-view-button-active,:root[data-theme=sunrise] .task-view-button-active:hover{color:#4a3340;background:#f6b73c;border-color:#f6b73c}:root[data-theme=sunrise] .task-form-group input,:root[data-theme=sunrise] .task-form-group textarea,:root[data-theme=sunrise] .task-form-group select{color:#4a3340;background:#fffdf8;border-color:#e9c2b5}:root[data-theme=sunrise] .task-form-group label{color:#765465}:root[data-theme=sunrise] .dashboard-card-icon{background:#f3e8ff}:root[data-theme=sunrise] a.dashboard-card:hover{border-color:#d9a7c7}:root[data-theme=sunrise] .new-task-button,:root[data-theme=sunrise] .create-task-button,:root[data-theme=sunrise] .font-selected-mark,:root[data-theme=sunrise] .appearance-live-preview button{color:#4a3340;background:#f6b73c}:root[data-theme=sunrise] .mobile-menu-button span{background:#5f4050}:root[data-theme=sunrise] .appearance-live-preview{background:#fff4e8;border-color:#f1d6cb}:root[data-theme=sunrise] .appearance-option-selected{border-color:#f6b73c;box-shadow:0 0 0 2px #f6b73c2e}:root[data-theme=sunrise] .appearance-preview-status{color:#76518f;background:#f3e8ff}:root[data-theme=sunset]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=sunset] body,:root[data-theme=sunset] .tasks-layout{color:#fff1df;background:#241520}:root[data-theme=sunset] .tasks-sidebar,:root[data-theme=sunset] .tasks-mobile-header{background:#321d2b;border-color:#5a3447}:root[data-theme=sunset] .sidebar-brand{border-color:#5a3447}:root[data-theme=sunset] .sidebar-brand h2,:root[data-theme=sunset] .mobile-brand,:root[data-theme=sunset] .tasks-page-heading h1,:root[data-theme=sunset] .tasks-section-heading h2,:root[data-theme=sunset] .task-card h3,:root[data-theme=sunset] .task-list-main h3,:root[data-theme=sunset] .dashboard-welcome h2,:root[data-theme=sunset] .dashboard-card h3{color:#fff7ed}:root[data-theme=sunset] .sidebar-link{color:#f7d8c5}:root[data-theme=sunset] .sidebar-link:hover{background:#47283b}:root[data-theme=sunset] .sidebar-link-active,:root[data-theme=sunset] .sidebar-link-active:hover{color:#2a1825;background:#f59e0b}:root[data-theme=sunset] .sidebar-logout{color:#fda4af;background:#321d2b;border-color:#9f4d57}:root[data-theme=sunset] .sidebar-logout:hover{background:#47232e}:root[data-theme=sunset] .home-heading-message,:root[data-theme=sunset] .task-count,:root[data-theme=sunset] .task-label,:root[data-theme=sunset] .task-description,:root[data-theme=sunset] .task-list-main p,:root[data-theme=sunset] .task-list-meta,:root[data-theme=sunset] .dashboard-welcome p,:root[data-theme=sunset] .dashboard-card p,:root[data-theme=sunset] .dashboard-card-arrow,:root[data-theme=sunset] .task-sort-control,:root[data-theme=sunset] .appearance-section-heading p,:root[data-theme=sunset] .font-preview-text,:root[data-theme=sunset] .theme-option small,:root[data-theme=sunset] .appearance-live-preview p,:root[data-theme=sunset] .appearance-preview-label{color:#d8b4a0}:root[data-theme=sunset] .task-card,:root[data-theme=sunset] .task-list-item,:root[data-theme=sunset] .tasks-message,:root[data-theme=sunset] .tasks-error,:root[data-theme=sunset] .empty-tasks,:root[data-theme=sunset] .dashboard-welcome,:root[data-theme=sunset] .dashboard-card,:root[data-theme=sunset] .task-modal,:root[data-theme=sunset] .delete-confirm-modal,:root[data-theme=sunset] .appearance-settings-card,:root[data-theme=sunset] .font-option,:root[data-theme=sunset] .theme-option,:root[data-theme=sunset] .appearance-preview-task{color:#fff1df;background:#321d2b;border-color:#5a3447}:root[data-theme=sunset] .task-actions{border-color:#5a3447}:root[data-theme=sunset] .task-actions button,:root[data-theme=sunset] .cancel-task-button,:root[data-theme=sunset] .task-filter-button,:root[data-theme=sunset] .task-view-toggle,:root[data-theme=sunset] .task-view-button,:root[data-theme=sunset] .task-sort-control select,:root[data-theme=sunset] .app-theme-toggle,:root[data-theme=sunset] .mobile-menu-button,:root[data-theme=sunset] .sidebar-close-button{color:#fff1df;background:#47283b;border-color:#704258}:root[data-theme=sunset] .task-filter-button:hover,:root[data-theme=sunset] .task-view-button:hover,:root[data-theme=sunset] .app-theme-toggle:hover{background:#5a3447}:root[data-theme=sunset] .task-filter-button-active,:root[data-theme=sunset] .task-filter-button-active:hover,:root[data-theme=sunset] .task-view-button-active,:root[data-theme=sunset] .task-view-button-active:hover{color:#2a1825;background:#f59e0b;border-color:#f59e0b}:root[data-theme=sunset] .task-form-group input,:root[data-theme=sunset] .task-form-group textarea,:root[data-theme=sunset] .task-form-group select{color:#fff1df;background:#241520;border-color:#704258}:root[data-theme=sunset] .task-form-group label{color:#f7d8c5}:root[data-theme=sunset] .dashboard-card-icon{background:#47283b}:root[data-theme=sunset] a.dashboard-card:hover{border-color:#a65d74}:root[data-theme=sunset] .new-task-button,:root[data-theme=sunset] .create-task-button,:root[data-theme=sunset] .font-selected-mark,:root[data-theme=sunset] .appearance-live-preview button{color:#2a1825;background:#f59e0b}:root[data-theme=sunset] .mobile-menu-button span{background:#fff1df}:root[data-theme=sunset] .appearance-live-preview{background:#241520;border-color:#5a3447}:root[data-theme=sunset] .appearance-option-selected{border-color:#f59e0b;box-shadow:0 0 0 2px #f59e0b26}@media (width<=768px){.theme-options,.font-options,.appearance-live-preview{grid-template-columns:1fr}}@media (width<=480px){.appearance-settings-card{padding:20px}}
