
.p1-subtab-bar {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
    padding: 12px;
    background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
    border: 1px solid #C7D2FE;
    border-radius: 12px;
}
.p1-tab-btn {
    background: #FFFFFF;
    color: #1E293B;
    border: 1px solid #CBD5E1;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.p1-tab-btn:hover {
    border-color: #4F46E5;
    color: #4338CA;
    background: #EEF2FF;
}
.p1-tab-btn.active {
    background: linear-gradient(135deg, #4F46E5, #3730A3);
    color: #FFFFFF;
    border-color: #3730A3;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.25);
}
.pdf-org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
    margin: 16px 0;
}
.pdf-org-card {
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    position: relative;
    transition: all 0.2s;
}
.pdf-org-card.deleted {
    opacity: 0.35;
    border-color: #FCA5A5;
    background: #FEF2F2;
}
.pdf-org-card img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
}
.diff-ins {
    background: #DCFCE7;
    color: #166534;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 4px;
    text-decoration: none;
}
.diff-del {
    background: #FEE2E2;
    color: #991B1B;
    text-decoration: line-through;
    padding: 1px 4px;
    border-radius: 4px;
}
