:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;place-items:center;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.wrapper{width:min(920px,100%);display:flex;flex-direction:column;gap:16px}.card{background:#fff;border-radius:14px;box-shadow:0 10px 30px #10182814;border:1px solid rgba(16,24,40,.06)}.card.form form{display:flex;flex-direction:column;gap:12px}.card.form{padding:18px}.card.form h1,.card.form h2{margin:0 0 12px;font-size:30px;font-weight:700;color:#101828}.card.form input{height:44px;border-radius:10px;border:1px solid rgba(16,24,40,.12);padding:0 12px;font-size:15px;outline:none;transition:box-shadow .16s ease,border-color .16s ease}.card.form input:focus{border-color:#3b82f68c;box-shadow:0 0 0 4px #3b82f626}.card.form form>div{display:flex;flex-wrap:wrap;gap:10px;align-items:center}button{height:40px;border-radius:10px;border:1px solid rgba(16,24,40,.12);background:#fff;color:#101828;padding:0 12px;font-size:14px;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,background .12s ease,opacity .12s ease}button:hover:not(:disabled){box-shadow:0 8px 18px #1018281a;transform:translateY(-1px)}button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none;transform:none}.card.form button[type=submit]{background:#2563eb;border-color:#2563eb;color:#fff}.card.form button[type=submit]:hover:not(:disabled){box-shadow:0 12px 24px #2563eb40}.activeFilter{font-weight:700;background:#2563eb1a;border-color:#2563eb59;color:#1d4ed8}.visible-habits{padding:12px}.visible-habits ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}.visible-habits li{display:flex;align-items:center;gap:10px;padding:12px;border-radius:12px;background:#fbfcfe;border:1px solid rgba(16,24,40,.06)}.visible-habits li input[type=checkbox]{width:18px;height:18px}.visible-habits li input:nth-child(2){flex:1;min-width:0;height:40px;border-radius:10px;border:1px solid rgba(16,24,40,.1);padding:0 12px;font-size:14px;background:#fff}.visible-habits li input:nth-child(2):disabled{background:#f3f4f6;border-color:#1018280f;color:#1018288c}.visible-habits li button{background:#fff}.visible-habits li button:hover:not(:disabled){background:#ef44441a;border-color:#ef44444d}#root{width:100%;min-height:100vh;padding:0;margin:0}.app{min-height:100vh;width:100%;display:flex;justify-content:center;align-items:flex-start;background:linear-gradient(180deg,#f6f7fb,#eef1f7);padding:32px 16px;box-sizing:border-box}.pwa-update-toast{position:fixed;left:16px;right:16px;bottom:16px;padding:12px 14px;border-radius:12px;background:#fff;box-shadow:0 8px 24px #00000026;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:9999;max-width:420px;margin:auto;animation:toastSlideUp .25s ease-out}.pwa-update-toast .toast-text{line-height:1.2}.pwa-update-toast .toast-text .toast-title{font-weight:600}.pwa-update-toast .toast-text .toast-subtitle{font-size:.9rem;opacity:.8}.pwa-update-toast .toast-actions{display:flex;gap:8px}.pwa-update-toast .btn-dismiss{padding:8px 10px;border-radius:10px;border:1px solid #ddd;background:transparent;cursor:pointer}.pwa-update-toast .btn-dismiss:hover{background:#f5f5f5}.pwa-update-toast .btn-refresh{padding:8px 12px;border-radius:10px;border:none;background:#000;color:#fff;cursor:pointer;font-weight:600}.pwa-update-toast .btn-refresh:hover{opacity:.9}@keyframes toastSlideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}
