.lpp-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.lpp-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.lpp-card-image {
    display: block;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
    overflow: hidden;
}

.lpp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lpp-card-body {
    padding: 14px;
}

.lpp-card-body h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.lpp-card-body p {
    margin: 6px 0;
    font-size: 0.92rem;
}

.lpp-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #555;
    background: #f0f0f0;
    min-height: 160px;
}

.lpp-placeholder-large {
    min-height: 320px;
}

.lpp-autonote {
    padding: 12px 14px;
    background: #f7f7f7;
    border-left: 4px solid #999;
    font-size: 0.95rem;
}

.lpp-profile-main {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 28px;
    margin: 24px 0;
}

.lpp-profile-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.lpp-image-credit {
    font-size: 0.82rem;
    line-height: 1.4;
    color: #555;
}

.lpp-description {
    font-size: 1.08rem;
    margin-top: 12px;
}

.lpp-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.lpp-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 10px;
    background: #f0f0f0;
    color: #333;
    font-size: 0.82rem;
    line-height: 1.5;
}

.lpp-badge-green {
    background: #e8f4eb;
    color: #1d5b2d;
}

.lpp-facts {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 10px 18px;
}

.lpp-facts dt {
    font-weight: 700;
}

.lpp-facts dd {
    margin: 0;
}

.lpp-section,
.lpp-sources {
    margin-top: 28px;
    border-top: 1px solid #ddd;
    padding-top: 18px;
}

.lpp-table-wrap {
    overflow-x: auto;
}

.lpp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.lpp-table th,
.lpp-table td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.lpp-table th {
    background: #f7f7f7;
}

.lpp-sync-status {
    margin: 10px 0;
    font-weight: 600;
}

.lpp-sync-log {
    max-height: 320px;
    overflow: auto;
    padding: 12px;
    background: #111;
    color: #f5f5f5;
    white-space: pre-wrap;
}

@media (max-width: 720px) {
    .lpp-profile-main {
        grid-template-columns: 1fr;
    }

    .lpp-facts {
        grid-template-columns: 1fr;
    }
}

.lpp-profile-header h1 {
    margin: 0 0 16px;
}

.lpp-profile-summary p {
    max-width: 760px;
    line-height: 1.65;
}

.lpp-summary-credit {
    font-size: 0.86rem;
    color: #555;
}

.lpp-directory-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 18px 48px;
}

.lpp-directory-header {
    margin-bottom: 22px;
}

.lpp-directory-header h1 {
    margin-bottom: 10px;
}

.lpp-directory-stats,
.lpp-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.lpp-directory-stats > div,
.lpp-overview-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 14px;
    background: #fff;
}

.lpp-directory-stats strong,
.lpp-overview-card strong {
    display: block;
    font-size: 1.4rem;
    line-height: 1.2;
}

.lpp-directory-stats span,
.lpp-overview-card span {
    display: block;
    margin-top: 4px;
    font-size: 0.9rem;
    color: #555;
}

.lpp-filter-form {
    margin: 20px 0 26px;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fafafa;
}

.lpp-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    align-items: end;
}

.lpp-filter-grid label {
    display: grid;
    gap: 6px;
    font-weight: 700;
    font-size: 0.9rem;
}

.lpp-filter-grid input,
.lpp-filter-grid select {
    width: 100%;
    min-height: 38px;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 6px 8px;
    font: inherit;
}

.lpp-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lpp-filter-actions button {
    min-height: 38px;
    border: 0;
    border-radius: 6px;
    padding: 0 16px;
    cursor: pointer;
}

.lpp-tag {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f0f0f0;
    text-decoration: none;
}

.lpp-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid #ddd;
}

.lpp-timeline li {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    padding: 8px 0 8px 16px;
    position: relative;
}

.lpp-timeline li::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 16px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #999;
}

.lpp-timeline time {
    font-weight: 700;
}

.lpp-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0;
}

.lpp-pagination .page-numbers {
    display: inline-flex;
    min-width: 34px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 10px;
    text-decoration: none;
}

.lpp-pagination .current {
    background: #111;
    color: #fff;
    border-color: #111;
}

.lpp-initial-portrait {
    position: relative;
    min-height: 180px;
    background: linear-gradient(135deg, #eef1f5 0%, #d9dee7 100%);
    border-radius: 10px;
    color: #20242a;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.lpp-card-image .lpp-initial-portrait {
    border-radius: 0;
    min-height: 100%;
}

.lpp-initial-portrait span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 2rem;
    line-height: 1;
}

.lpp-placeholder-large.lpp-initial-portrait {
    min-height: 360px;
}

.lpp-placeholder-large.lpp-initial-portrait span {
    width: 138px;
    height: 138px;
    font-size: 2.8rem;
}
