:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033;background:#f5f7fb;--dark:#111827;--muted:#718096;--line:#e7ebf0}*{box-sizing:border-box}

body{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(99,102,241,.35), transparent 32%),
    radial-gradient(circle at 85% 80%, rgba(139,92,246,.30), transparent 35%),
    linear-gradient(135deg,#0f172a 0%,#172554 45%,#312e81 100%);
  background-attachment:fixed;
}button,input,textarea{font:inherit}.auth-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(145deg,#eef2ff,#f8fafc)}.auth-card{width:min(100%,420px);background:#fff;padding:34px 25px;border-radius:26px;box-shadow:0 24px 70px rgba(30,41,59,.13)}.brand{font-size:27px;font-weight:950;letter-spacing:-1.5px;margin-bottom:25px;color:var(--dark)}.brand span{font-weight:500;margin-left:2px}.brand.small{font-size:21px;margin:0}.eyebrow{font-size:11px;font-weight:900;letter-spacing:1.5px;color:#667eea}.auth-card h1{font-size:30px;line-height:1.1;margin:7px 0}.muted{color:var(--muted);line-height:1.5}label{display:block;font-weight:800;font-size:14px;margin:19px 0 7px}input,textarea{width:100%;border:1px solid #d9e0e8;border-radius:13px;padding:13px 14px;background:#fff;outline:none}input:focus,textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.12)}textarea{min-height:100px;resize:vertical}.btn{border:0;border-radius:12px;padding:12px 16px;font-weight:850;cursor:pointer}.btn-dark{background:var(--dark);color:#fff;width:100%;margin-top:17px}.btn-small{width:auto;margin:0;padding:11px 16px}.alert,.success{padding:12px 14px;border-radius:13px;margin:18px 0;font-size:14px}.alert{background:#fff1f2;color:#be123c}.success{background:#ecfdf5;color:#047857}.topbar{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);padding:13px 18px;display:flex;align-items:center;justify-content:space-between}.top-sub{font-size:12px;color:var(--muted);margin-top:-3px}.logout{text-decoration:none;color:#64748b;font-size:14px;font-weight:700}.container{width:min(100%,820px);margin:auto;padding:25px 16px 55px}.hero{padding:3px 2px 20px}.hero h1{font-size:30px;letter-spacing:-.8px;margin:6px 0}.hero .muted{margin:0}.quick-grid{display:grid;gap:14px}.card{background:#fff;border:1px solid var(--line);border-radius:19px;padding:18px;margin-bottom:14px;box-shadow:0 8px 28px rgba(30,41,59,.045)}.card h2{font-size:17px;margin:0 0 12px}.section-heading{display:flex;align-items:center;margin:27px 2px 11px}.section-heading h2{font-size:20px;margin:0}.empty{padding:18px;border-radius:16px;background:#edf1f6;color:#718096}.list-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.list-head h3{margin:0;font-size:18px}.icon-btn{border:0;background:transparent;cursor:pointer;font-size:17px;padding:5px}.check-row{display:flex;align-items:center;gap:10px;border-top:1px solid #eef1f5;padding:12px 0}.checkbox{width:25px;height:25px;flex:0 0 25px;border:2px solid #cbd5e1;border-radius:7px;background:#fff;color:#fff;font-weight:900;padding:0;cursor:pointer}.checkbox.checked{background:var(--dark);border-color:var(--dark)}.done{text-decoration:line-through;color:#94a3b8}.add-item{display:flex;gap:8px;margin-top:8px}.add-item input{flex:1}.add-item .btn{flex:0 0 auto}.note-text{line-height:1.55;word-break:break-word}.note-footer{display:flex;align-items:center;justify-content:space-between;margin-top:14px;color:#94a3b8}.delete{border:0;background:none;color:#be123c;font-size:12px;cursor:pointer;font-weight:700}@media(min-width:680px){.quick-grid{grid-template-columns:1fr 1fr}}
.hero h1,
.section-heading h2 {
    color: #ffffff;
}
.check-row{
    display:flex;
    align-items:center;
    gap:10px;
    border-top:1px solid #eef1f5;
    padding:12px 0;
}

.check-toggle{
    display:flex;
    align-items:center;
}

.item-delete{
    margin-left:auto;
}

.item-delete button{
    border:0;
    background:transparent;
    cursor:pointer;
    font-size:15px;
    padding:5px;
    opacity:.65;
}

.item-delete button:hover{
    opacity:1;
}
.item-icon{
    display:inline-block;
    width:28px;
    margin-right:5px;
    text-align:center;
    font-size:19px;
}