#adminPartGallery.part-details-split{width:min(1080px,calc(100vw - 40px));max-width:none;padding:0;color:#f3f5f7;background:#14212c;max-height:94dvh;border:1px solid #354b5d;border-radius:14px;overflow:auto}
#adminPartGallery .gallery-header{position:sticky;top:0;z-index:3;background:#192936;gap:16px}
#adminPartGallery .gallery-header h2{overflow-wrap:anywhere}
#adminPartGallery .gallery-close{flex:none;min-width:44px;min-height:44px}
#adminPartGallery .part-details-tabs{display:flex;gap:10px;padding:14px 20px;border-bottom:1px solid #354b5d;background:#14212c}
#adminPartGallery .part-details-tabs button{flex:1;min-height:44px;padding:10px 14px;background:#203342;color:#f3f5f7;border:1px solid #405b70;border-radius:8px;font:600 14px/1.35 Arial,sans-serif}
#adminPartGallery .part-details-tabs button[aria-selected=true]{background:#f4ac16;border-color:#f4ac16;color:#101820}
#adminPartGallery .gallery-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:24px;padding:20px}
#adminPartGallery .part-details-gallery,#adminPartGallery .gallery-info{min-width:0}
#adminPartGallery .gallery-photo{height:350px;min-height:0;border-radius:10px;background:#0e1720}
#adminPartGallery .gallery-photo img{width:100%;height:100%;object-fit:contain}
#adminPartGallery .gallery-thumbs{flex-wrap:wrap}
#adminPartGallery .gallery-info{padding:0;border:0}
#adminPartGallery .gallery-price-row{flex-wrap:wrap;gap:10px}
#adminPartGallery .part-details-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}
#adminPartGallery .part-details-facts>div{padding:12px;border:1px solid #354b5d;border-radius:8px;background:#1b2b39;min-width:0}
#adminPartGallery .part-details-facts small{display:block;color:#b4c9db;font:400 12px/1.4 Arial,sans-serif;margin-bottom:5px}
#adminPartGallery .part-details-facts strong{font:600 14px/1.4 Arial,sans-serif;overflow-wrap:anywhere}
#adminPartGallery .gallery-location{margin:14px 0;width:100%}
#adminPartGallery .part-details-extra{padding:20px}
#adminPartGallery [hidden]{display:none!important}
.part-private-files h3{margin:0 0 10px}.part-private-notice{color:#bdcedc;line-height:1.5}.part-document-input{display:block;width:100%;margin:10px 0;padding:12px;border:1px solid #405b70;border-radius:6px;background:#101c26;color:#fff}.part-document-thumb{display:block;width:100%;height:120px;object-fit:contain;margin-bottom:12px}.part-document-message{overflow-wrap:anywhere}.part-private-files .vehicle-document-grid{margin-top:16px}
#adminPartGallery .gallery-description,#adminPartGallery .gallery-specs{margin-top:22px;border-top:1px solid #354b5d;padding-top:18px}
@media(max-width:760px){
#adminPartGallery.part-details-split{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;inset:0;border:0;border-radius:0}
#adminPartGallery .gallery-header{padding:16px}
#adminPartGallery .gallery-header h2{font-size:18px}
#adminPartGallery .gallery-body{grid-template-columns:1fr;padding:16px;gap:18px}
#adminPartGallery .gallery-photo{height:280px}
#adminPartGallery .part-details-tabs{padding:12px 16px;gap:6px}
#adminPartGallery .part-details-tabs button{padding:10px 8px;font-size:13px}
#adminPartGallery .part-details-extra{padding:16px}
#adminPartGallery .vehicle-document-grid{grid-template-columns:1fr}
}
