body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: #f5f7fa;
    margin: 0;
    padding: 0;
}

h1 {
    margin-bottom: 1rem;
}

.container {
    max-width: 720px;
    margin: auto;
    padding: 1rem;
}

.card {
    background: white;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    margin-bottom: 1rem;
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    font-size: 1.1rem;
    cursor: pointer;
}

.card-body {
    padding: 1rem;
    border-top: 1px solid #eee;
}

.hidden {
    display: none;
}

input[type=text] {
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

button {
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    background: #111;
    color: white;
    cursor: pointer;
}

button.delete {
    background: none;
    color: #e00;
}

.item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}