:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.app{box-sizing:border-box;width:100%;min-height:100vh;padding:32px 20px 48px}.app>header,.app>main{width:100%;max-width:900px;margin:0 auto}.app header{text-align:left;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.brand{color:var(--text-h);letter-spacing:-.5px;font-size:28px;font-weight:650}.user{color:var(--text);margin-top:4px;font-size:14px}main{flex-direction:column;gap:20px;display:flex}.add-card,.category-card,.list-card{box-sizing:border-box;background:var(--bg);border:1px solid var(--border);width:100%;box-shadow:var(--shadow);text-align:left;border-radius:14px;padding:24px}.add-card h2,.category-card h2,.list-card h2{margin:0}.add-form{grid-template-columns:minmax(180px,1fr) 90px 110px 170px auto;align-items:center;gap:10px;margin-top:18px;display:grid}.add-form input,.add-form select,.category-add-form input,.category-row input{box-sizing:border-box;border:1px solid var(--border);background:var(--bg);width:100%;min-width:0;height:44px;color:var(--text-h);font:inherit;border-radius:9px;outline:none;padding:0 13px;font-size:15px;transition:border-color .15s,box-shadow .15s}.add-form input::placeholder,.category-add-form input::placeholder{color:var(--text);opacity:.75}.add-form input:focus,.add-form select:focus,.category-add-form input:focus,.category-row input:focus{border-color:var(--accent-border);box-shadow:0 0 0 3px var(--accent-bg)}button{font:inherit}.primary{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:9px;height:44px;padding:0 18px;font-size:15px;font-weight:600;transition:transform .1s,opacity .15s,box-shadow .15s}.primary:hover{opacity:.92;box-shadow:var(--shadow)}.primary:active{transform:translateY(1px)}.primary:disabled{opacity:.55;cursor:default}.logout{border:1px solid var(--border);background:var(--bg);color:var(--text-h);cursor:pointer;border-radius:9px;padding:9px 14px}.logout:hover{border-color:var(--accent-border)}.list-header{justify-content:space-between;align-items:center;display:flex}.list-header h2{align-items:center;gap:10px;display:flex}.list-header h2 span{box-sizing:border-box;background:var(--accent-bg);min-width:26px;height:26px;color:var(--accent);border-radius:999px;justify-content:center;align-items:center;padding:0 7px;font-size:13px;font-weight:700;display:inline-flex}.items{flex-direction:column;margin-top:16px;display:flex}.item{border-bottom:1px solid var(--border);align-items:center;gap:12px;min-height:62px;padding:10px 0;display:flex}.item:last-child{border-bottom:none}.check{border:1px solid var(--border);background:var(--bg);width:34px;height:34px;color:var(--text);cursor:pointer;border-radius:50%;flex:none;padding:0;font-size:18px}.check:hover{border-color:var(--accent-border);color:var(--accent)}.check.checked{border-color:var(--accent);background:var(--accent);color:#fff}.item-info{flex:1;min-width:0}.item-name{color:var(--text-h);font-size:16px;font-weight:550}.item-meta{color:var(--text);margin-top:2px;font-size:14px}.delete{width:34px;height:34px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;padding:0;font-size:24px;line-height:1}.delete:hover{color:#dc2626;background:#dc262614}.completed{opacity:.82}.item.purchased .item-name{color:var(--text);text-decoration:line-through}.item.purchased .item-meta{opacity:.75}.empty{color:var(--text);text-align:center;padding:32px 10px 12px}.error{color:#dc2626;background:#dc262614;border:1px solid #dc262640;border-radius:9px;padding:12px 14px;font-size:14px}.page-error{text-align:left}.category-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.category-manager{margin-top:20px}.category-add-form{gap:10px;margin-bottom:16px;display:flex}.category-add-form input{flex:1}.category-list{flex-direction:column;gap:8px;display:flex}.category-row{border:1px solid var(--border);border-radius:9px;align-items:center;gap:8px;padding:10px 12px;display:flex}.category-row input{flex:1}.category-name{color:var(--text-h);flex:1;font-weight:500}.secondary,.delete-category{border:1px solid var(--border);background:var(--bg);height:40px;color:var(--text-h);cursor:pointer;border-radius:8px;padding:0 14px}.secondary:hover{border-color:var(--accent-border)}.delete-category{color:#dc2626}.small{height:34px;padding:0 10px;font-size:14px}.category-empty{color:var(--text);padding:12px 0}.auth-page{box-sizing:border-box;justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.auth-card{box-sizing:border-box;border:1px solid var(--border);background:var(--bg);width:100%;max-width:420px;box-shadow:var(--shadow);border-radius:16px;padding:32px}.auth-card .logo{margin-bottom:8px;font-size:42px}.auth-card h1{margin:0 0 8px;font-size:32px}.subtitle{color:var(--text);margin-bottom:24px}.auth-card form{text-align:left;flex-direction:column;gap:8px;display:flex}.auth-card label{color:var(--text-h);margin-top:8px;font-size:14px;font-weight:550}.auth-card input{box-sizing:border-box;border:1px solid var(--border);background:var(--bg);width:100%;height:44px;color:var(--text-h);font:inherit;border-radius:9px;outline:none;padding:0 13px}.auth-card input:focus{border-color:var(--accent-border);box-shadow:0 0 0 3px var(--accent-bg)}.auth-card .primary{width:100%;margin-top:12px}.link-button{width:100%;color:var(--accent);cursor:pointer;background:0 0;border:0;margin-top:18px;padding:8px}@media (width<=800px){.app{padding:20px 14px 36px}.add-form{grid-template-columns:1fr 1fr}.add-form input:first-child,.add-form .primary{grid-column:1/-1}}@media (width<=600px){.app header{align-items:flex-start}.brand{font-size:23px}.add-card,.category-card,.list-card{border-radius:12px;padding:18px}.add-form{grid-template-columns:1fr}.add-form input:first-child,.add-form .primary{grid-column:auto}.add-form input,.add-form select,.add-form .primary{width:100%}.category-header{flex-direction:column;align-items:stretch}.category-add-form{flex-direction:column}.category-row{flex-wrap:wrap}.category-name{flex-basis:100%}.auth-card{padding:24px 20px}}
