.pdca-page { max-width: 960px; margin: 0 auto; padding: 1.5rem 1rem; }
.pdca-page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 10px; }
.pdca-page-header h1 { font-size: 1.4rem; margin: 0; color: #222; }
.btn-export {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 7px;
    font-size: .85rem; font-weight: 600; cursor: pointer;
    text-decoration: none; border: 1px solid;
    transition: background .2s, color .2s;
}
.btn-export-json { background: #fff; border-color: #6366f1; color: #4338ca; }
.btn-export-json:hover { background: #6366f1; color: #fff; }
.pdca-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.pdca-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow .2s;
}
.pdca-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.pdca-card-header { display: flex; align-items: center; gap: 10px; }
.pdca-card-header img {
    width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.pdca-card-title { font-size: .95rem; font-weight: 700; color: #222; line-height: 1.3; }
.pdca-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: .75rem;
    font-weight: 700;
    color: #fff;
}
.pdca-card-date { font-size: .75rem; color: #aaa; }
.pdca-card-memo {
    font-size: .82rem; color: #555;
    overflow: hidden; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.pdca-card-actions { display: flex; gap: 8px; margin-top: auto; }
.btn-detail {
    flex: 1; padding: 7px;
    background: #6366f1; color: #fff;
    border: none; border-radius: 6px;
    font-size: .85rem; cursor: pointer; text-align: center;
    text-decoration: none;
    transition: background .2s;
}
.btn-detail:hover { background: #4f46e5; }
.btn-del {
    padding: 7px 12px;
    background: #fff; color: #ef4444;
    border: 1px solid #fca5a5; border-radius: 6px;
    font-size: .85rem; cursor: pointer;
    transition: background .2s;
}
.btn-del:hover { background: #fef2f2; }
.empty-state { text-align: center; padding: 4rem 1rem; color: #aaa; }
.empty-state a { color: #6366f1; text-decoration: none; }
@media (max-width: 600px) {
    .pdca-grid {
        grid-template-columns: 1fr;
    }
}
