body { font-family: system-ui, -apple-system, sans-serif; margin: 0; padding: 20px; background: #f8f9fa; }
.container { max-width: 1200px; margin: 0 auto; }
h1, h2 { text-align: center; }
.add-section { text-align: center; margin-bottom: 30px; }
textarea { width: 100%; max-width: 600px; height: 100px; padding: 12px; margin: 10px 0; border-radius: 8px; border: 1px solid #ccc; }
button { padding: 10px 20px; margin: 5px; border: none; border-radius: 8px; cursor: pointer; }
#record-btn { background: #ff4d4d; color: white; }
#process-btn { background: #4CAF50; color: white; }
.tabs { text-align: center; margin: 20px 0; }
.tab-btn { padding: 12px 24px; margin: 0 5px; border: none; background: #ddd; cursor: pointer; border-radius: 8px 8px 0 0; }
.tab-btn.active { background: #4CAF50; color: white; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; }
.card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.card:hover { transform: translateY(-4px); }
.card-title { margin: 0 0 12px; font-size: 1.3em; }
.card-note { background: #e6f3ff; }
.card-shopping { background: #fff0e6; }
.progress-bar { height: 8px; background: #e0e0e0; border-radius: 4px; overflow: hidden; margin: 12px 0; }
.progress-fill { height: 100%; background: #4caf50; transition: width 0.3s; }
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-content {
    background: white;
    padding: 24px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
}
.close { float: right; cursor: pointer; font-size: 24px; }

.completed {
    text-decoration: line-through;
    color: gray;
}

.tabs {
    margin: 20px 0;
}

.tab-btn {
    padding: 10px 20px;
    border-radius: 8px;
    background: #ddd;
}

.tab-btn.active {
    background: #4CAF50;
    color: white;
}

.card {
    transition: 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

button {
    transition: 0.2s;
}

button:hover {
    opacity: 0.8;
}
