/* The YBDC — BDE ID photo/detail review & resubmission V4. CSS-only isolation. */
#ybdcIdPanel .yid-review-queue {display:grid;gap:16px;margin-bottom:25px}
#ybdcIdPanel .yid-review-request {background:#fff;border:1px solid #d2ded2;border-radius:18px;padding:19px;color:#163f31;box-shadow:0 5px 20px rgba(7,45,32,.05)}
#ybdcIdPanel .yid-review-request>header {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e2e9e1;padding-bottom:12px;margin-bottom:12px}
#ybdcIdPanel .yid-review-request header>div {display:grid;gap:6px}
#ybdcIdPanel .yid-review-request header strong {color:#0b3d2a;font-size:17px}
#ybdcIdPanel .yid-review-request header small {color:#60796b;font-size:12px}
#ybdcIdPanel .yid-request-badge {display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:800;white-space:normal;line-height:1.3}
#ybdcIdPanel .yid-pending {background:#fff1c4;color:#6a4b06}
#ybdcIdPanel .yid-approved {background:#d9f2e2;color:#0d5c36}
#ybdcIdPanel .yid-rejected {background:#ffe4e4;color:#a02c2c}
#ybdcIdPanel .yid-compare-list {display:grid;gap:8px;margin:12px 0}
#ybdcIdPanel .yid-compare-row {display:grid;grid-template-columns:1fr 1fr;gap:10px;border:1px solid #e0e8df;border-radius:11px;padding:12px;background:#fafcf9}
#ybdcIdPanel .yid-compare-row>div {display:grid;gap:5px;min-width:0}
#ybdcIdPanel .yid-compare-row b {font-size:11px;color:#687b6c}
#ybdcIdPanel .yid-compare-row span {font-size:13px;color:#173b2d;overflow-wrap:anywhere;word-break:break-word}
#ybdcIdPanel .yid-compare-row.yid-changed {border-color:#d5bc7a;background:#fffdf5}
#ybdcIdPanel .yid-compare-row.yid-changed>div:last-child span {font-weight:800;color:#074a34}
#ybdcIdPanel .yid-review-photos {display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}
#ybdcIdPanel .yid-review-photos figure {margin:0;border:1px solid #d3e0d5;border-radius:12px;padding:12px;background:#f7faf7;min-width:0}
#ybdcIdPanel .yid-review-photos figcaption {font-size:12px;font-weight:800;color:#1e4d38;margin-bottom:10px}
#ybdcIdPanel .yid-review-photo {display:block;width:100%;height:190px;max-width:250px;object-fit:contain;background:#fff;border-radius:10px;border:1px solid #bdc9bd;cursor:zoom-in}
#ybdcIdPanel .yid-photo-missing {display:grid;place-items:center;min-height:90px;font-size:12px;color:#647667;padding:14px;text-align:center;background:#edf2ee;border-radius:10px}
#ybdcIdPanel .yid-photo-missing.error,#ybdcIdPanel .yid-photo-warning {color:#9e3333;background:#fff1f1;padding:12px;border-radius:10px;font-size:12px}
#ybdcIdPanel .yid-confirm {display:flex;align-items:flex-start;gap:10px;border:1px solid #c6d5c7;border-radius:12px;padding:12px;background:#ecf5ed;color:#1c4d35;font-weight:700;font-size:12px;cursor:pointer;margin-bottom:12px}
#ybdcIdPanel .yid-confirm input {flex:0 0 auto;width:18px;height:18px;accent-color:#00543a}
#ybdcIdPanel .yid-review-request .yid-row-actions {margin-top:9px}
#ybdcIdPanel .yid-history {border-top:1px solid #d1dcd3;margin:24px 0 8px;padding-top:15px}
#ybdcIdPanel .yid-history h3 {font-size:18px;color:#124833;margin-bottom:10px}
#ybdcIdPanel .yid-history-item {background:#fff;border:1px solid #d8e3d7;border-radius:11px;padding:11px 13px;margin:8px 0;color:#1c4030;font-size:12px}
#ybdcIdPanel .yid-history-item>div,#ybdcIdPanel .yid-history-item summary {display:flex;flex-wrap:wrap;gap:10px;align-items:center;cursor:pointer}
#ybdcIdPanel .yid-history-item small {color:#667d6c}
#ybdcIdPanel .yid-history-item p {margin:8px 0;line-height:1.6;overflow-wrap:anywhere}
#ybdcIdPanel .yid-history-item a {color:#0b6848}
#ybdcIdPanel .yid-rejection {color:#8d3030!important}
#ybdcIdPanel .yid-rejected-banner {background:#fff1f1;border:1px solid #ebc2c2;border-radius:14px;padding:15px;margin:15px 0;color:#6c2d2d;font-size:13px}
#ybdcIdPanel .yid-rejected-banner strong {font-size:15px}
#ybdcIdPanel .yid-rejected-banner p {margin:8px 0 0;line-height:1.55}
#ybdcIdPanel .yid-pending-message {font-size:12px;font-weight:700;color:#745b22}
#ybdcIdPanel .yid-file-preview {border-radius:11px;background:#f1f6ef;padding:14px;margin-top:12px;color:#1b5339;font-size:12px}
#ybdcIdPanel .yid-file-preview img {display:block;width:100%;max-width:220px;height:180px;object-fit:contain;margin:10px 0;background:#fff;border:1px solid #c6d2c7;border-radius:11px}
#ybdcIdPanel .yid-btn:disabled {opacity:.42;cursor:not-allowed}
@media(max-width:640px){
 #ybdcIdPanel .yid-review-request {padding:12px}
 #ybdcIdPanel .yid-review-photos {gap:8px}
 #ybdcIdPanel .yid-review-photos figure {padding:7px}
 #ybdcIdPanel .yid-review-photo {height:155px}
 #ybdcIdPanel .yid-compare-row {padding:9px;gap:8px}
 #ybdcIdPanel .yid-compare-row span {font-size:11px}
 #ybdcIdPanel .yid-row-actions .yid-btn {min-height:42px}
}
@media print {
 #ybdcIdPanel .yid-review-queue,#ybdcIdPanel .yid-history,#ybdcIdPanel .yid-history-list,#ybdcIdPanel .yid-rejected-banner {display:none!important}
}
