:root{--max-w:760px;--muted:#6b6b6b;--accent:#ff6b8a}*{box-sizing:border-box}body{background:#f5f5f7;justify-content:center;margin:0;padding:24px;font-family:Inter,system-ui,Arial,sans-serif;display:flex}.app{width:100%;max-width:var(--max-w);background:#fff;border-radius:12px;padding:24px;box-shadow:0 6px 24px #14141e12}.header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}h1{margin:0;font-size:20px}.search{border:1px solid #e2e2e6;border-radius:8px;width:220px;padding:8px 10px}.note-form{gap:8px;margin-bottom:12px;display:flex}.note-form input{border:1px solid #e2e2e6;border-radius:8px;flex:1;padding:10px}.note-form button{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:8px;padding:10px 14px}.note-list{gap:10px;margin-top:12px;display:grid}.note-card{background:#fff8f9;border:1px solid #f0e7e8;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.note-text{color:#222;flex:1;margin-right:12px}.card-actions button{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:8px;margin-left:6px;padding:6px 8px}.card-actions .save{background:var(--accent);color:#fff;border:none}.empty{color:var(--muted);text-align:center;padding:18px}
