#modelSearch .model-photo-actions{display:flex;align-items:center;gap:14px;margin-top:16px;padding-top:16px;border-top:1px solid #8dcfff40}
#modelPhotoButton{display:flex;gap:9px;align-items:center;white-space:nowrap;background:#fff;color:#154668;border-color:#a9d7f2;min-height:48px}
#modelPhotoButton svg{width:22px;height:22px;flex:none}
#modelSearch .model-photo-actions small{margin:0;color:#d7ebfc;line-height:1.45}
#libraryPhotoDialog{width:min(650px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto}
#libraryPhotoDialog>header,#fieldPhotoReview>header{position:sticky;top:0;z-index:2}
#libraryPhotoDialog header small,#fieldPhotoReview header small{font-size:11px;letter-spacing:1.3px;color:#c5e5ff;font-weight:700}
#libraryPhotoDialog header h2{font-size:22px;margin-top:4px}
.library-photo-body{padding:24px;background:#f4f8fd}
.photo-intro{font-size:19px;font-weight:700;line-height:1.4}
.photo-hint{margin-top:9px;color:#42627b}
.photo-source-actions,.photo-result-actions{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap}
.photo-source-actions button,.photo-result-actions button{flex:1;min-height:48px}
.photo-source-actions [data-camera]{display:flex;align-items:center;justify-content:center;gap:8px}
.photo-source-actions svg{width:20px;height:20px;flex:none}
.library-camera{margin-top:20px;background:#132f45;border-radius:12px;padding:12px;text-align:center}
.library-camera video{display:block;width:100%;max-height:50dvh;object-fit:contain;margin-bottom:12px}
.library-camera button{width:100%}
#libraryPhotoDialog [data-native]{margin-top:16px;width:100%}
.library-label-preview{display:block;max-width:100%;width:auto;max-height:30dvh;object-fit:contain;margin:0 auto 16px;border-radius:10px;border:1px solid #c2d6e9;background:white}
.photo-brand{font-size:12px;letter-spacing:1px;font-weight:700;color:#375d7c;margin-bottom:8px}
#libraryPhotoDialog label{font-weight:750;font-size:16px;display:block;margin-bottom:8px}
#photoModelNumber{font-size:22px;font-weight:700;letter-spacing:1px;background:#fff;border:2px solid #649ad5}
#photoModelHelp{font-size:13px;color:#42627b;margin-top:9px}
#libraryPhotoDialog [data-candidates]{margin-top:14px;padding:14px;background:#fff;border:1px solid #649ad5;border-left:4px solid #286ad3;border-radius:10px}
#libraryPhotoDialog [data-candidates] p{font-size:14px;line-height:1.45;color:#294b65;margin-bottom:10px}
#libraryPhotoDialog [data-candidates] button{min-height:44px;margin:4px 6px 4px 0;max-width:100%;overflow-wrap:anywhere;font-size:16px;font-weight:700;color:#154668;background:#eaf3ff}
#libraryPhotoDialog [data-find]{width:100%;margin-top:20px;min-height:50px}
#libraryPhotoDialog [data-status]:not(:empty){padding:13px 15px;margin-top:18px;border-radius:10px;background:#e3f0ff;color:#214e75;line-height:1.45}
#libraryPhotoDialog [data-status].error{background:#fff1db;color:#744608}
#fieldPhotoReview{background:#f4f8fd}
@media(max-width:480px){#modelSearch .model-photo-actions{align-items:flex-start;flex-direction:column;gap:8px}#modelPhotoButton{width:100%;justify-content:center}.library-photo-body{padding:18px}#libraryPhotoDialog header{padding:18px}#libraryPhotoDialog header h2{font-size:19px}.photo-source-actions,.photo-result-actions{gap:8px}.photo-source-actions button,.photo-result-actions button{font-size:13px;padding:10px}#fieldPhotoReview header{padding:16px}#fieldPhotoReview footer{padding:12px;gap:8px}#fieldPhotoReview footer button{flex-basis:130px}}
