#photoBatchDialog{position:fixed;inset:3vh 3vw;margin:auto;width:94vw;max-width:1250px;max-height:94vh;box-sizing:border-box;padding:20px;border:1px solid #65754a;border-radius:18px;background:#171f16;color:#edf3e5;font:14px/1.45 system-ui}#photoBatchDialog::backdrop{background:#000b}#photoBatchDialog header{display:flex;justify-content:space-between;align-items:center;gap:16px}#photoBatchDialog h2{margin:0;color:#caf46c}#photoBatchDialog p{margin:7px 0;color:#becbb2}#photoBatchDialog button,#photoBatchDialog input,#photoBatchDialog select,#photoBatchDialog textarea,#photoBatchPanel button,#photoBatchPanel input{font:inherit;border:1px solid #5b6a4c;background:#243020;color:#f0f5e8;border-radius:8px;padding:8px;box-sizing:border-box}#photoBatchDialog button,#photoBatchPanel button{cursor:pointer}#photoBatchDialog button:disabled,#photoBatchPanel button:disabled{opacity:.45;cursor:default}#photoBatchDialog .primary,#photoBatchPanel .primary{background:#caf46c;color:#142008;font-weight:700}#photoBatchDialog .pb-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0}#photoBatchDialog .pb-tools input[type=text]{max-width:200px}#photoBatchDialog .pb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;max-height:54vh;overflow:auto;padding:4px}#photoBatchDialog .pb-card{border:1px solid #4c5f3a;border-radius:12px;padding:12px;background:#202a1b;min-width:0}#photoBatchDialog .pb-card img{width:100%;height:130px;object-fit:contain;background:#10170e;border-radius:8px;cursor:zoom-in}#photoBatchDialog .pb-card label{display:grid;gap:3px;font-size:12px;margin:6px 0}#photoBatchDialog .pb-card input,#photoBatchDialog .pb-card select,#photoBatchDialog .pb-card textarea{width:100%}#photoBatchDialog .pb-card small{color:#afc39b;display:block;overflow-wrap:anywhere}#photoBatchDialog .pb-card .pb-row{display:flex;gap:6px;margin-top:8px}#photoBatchDialog .pb-card .pb-row button{flex:1}#photoBatchDialog .pb-footer{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}#photoBatchDialog [role=status]{color:#daf2b5;padding:8px 0;min-height:24px}#photoBatchDialog [role=status].error{color:#ffb5a0}#photoBatchDialog :focus-visible,#photoBatchPanel :focus-visible{outline:2px solid #caf46c;outline-offset:2px}#photoBatchPanel{position:fixed;z-index:10030;right:18px;top:110px;width:285px;max-width:90vw;max-height:80vh;overflow:auto;background:#182115f5;color:#f0f5e8;padding:16px;border:1px solid #caf46c;border-radius:14px;box-shadow:0 15px 60px #0009;font:13px/1.45 system-ui}#photoBatchPanel[hidden]{display:none}#photoBatchPanel img{display:block;width:100%;height:135px;object-fit:contain;background:#0d130b;border-radius:8px;margin:8px 0}#photoBatchPanel input,#photoBatchPanel button{width:100%;margin:4px 0}#photoBatchPanel strong{color:#caf46c}#photoBatchPanel p{margin:6px 0}#photoBatchPreview{max-width:94vw;max-height:94vh;background:#131a10;color:white;border:1px solid #708252;border-radius:12px}#photoBatchPreview img{display:block;max-width:85vw;max-height:80vh;object-fit:contain}#photoBatchPreview button{background:#caf46c;color:#142008;border:0;padding:10px;border-radius:8px;margin:8px}#photoBatchImportEntry{width:100%;margin:8px 0}

#photoBatchLibrary{position:fixed;inset:4vh 4vw;margin:auto;width:90vw;max-width:1100px;max-height:90vh;overflow:auto;padding:20px;border:1px solid #71834f;border-radius:16px;background:#192215;color:#edf3e5;font:14px/1.5 system-ui}#photoBatchLibrary::backdrop{background:#0008}#photoBatchLibrary h2{color:#caf46c}#photoBatchLibrary button,#photoBatchLibrary input{font:inherit;background:#273323;color:#eff6e8;border:1px solid #687b52;border-radius:8px;padding:9px;margin:5px}#photoBatchLibrary button.primary{background:#caf46c;color:#15200c;font-weight:700}#photoBatchLibrary .pb-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin:12px 0;max-height:52vh;overflow:auto}#photoBatchLibrary .pb-library-card{border:1px solid #5a7042;border-radius:10px;padding:10px;min-width:0}#photoBatchLibrary .pb-library-card[hidden]{display:none}#photoBatchLibrary img{display:block;width:100%;height:110px;object-fit:contain;background:#10180d}#photoBatchLibrary small{display:block;color:#bfd1aa}#photoBatchLibrary label{display:block;overflow-wrap:anywhere;cursor:pointer}#photoBatchLibrary button:disabled{opacity:.5}

.photo-batch-question{background:#192315;color:#edf3e5;border:1px solid #7b9352;border-radius:14px;padding:24px;max-width:500px;font:14px/1.5 system-ui}.photo-batch-question::backdrop{background:#0009}.photo-batch-question h2{color:#caf46c}.photo-batch-question small{color:#caf46c}.photo-batch-question button{border:1px solid #6d8052;border-radius:8px;background:#26331f;color:#eff7e5;padding:9px 14px;margin:5px}.photo-batch-question button.primary{background:#caf46c;color:#18230d}
/* V8.0.60 : fenêtre « 360° non placés sur le LiDAR », même style que « Ajouter depuis la médiathèque ». */
#photoBatchTour{position:fixed;inset:4vh 4vw;margin:auto;width:90vw;max-width:1100px;max-height:90vh;overflow:auto;padding:20px;border:1px solid #71834f;border-radius:16px;background:#192215;color:#edf3e5;font:14px/1.5 system-ui}#photoBatchTour::backdrop{background:#0008}#photoBatchTour h2{color:#caf46c}#photoBatchTour p{color:#becbb2}#photoBatchTour button,#photoBatchTour input{font:inherit;background:#273323;color:#eff6e8;border:1px solid #687b52;border-radius:8px;padding:9px;margin:5px}#photoBatchTour button{cursor:pointer}#photoBatchTour button.primary{background:#caf46c;color:#15200c;font-weight:700}#photoBatchTour button:disabled,#photoBatchTour input:disabled{opacity:.5;cursor:default}#photoBatchTour .pb-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:8px 0}#photoBatchTour .pb-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin:12px 0;max-height:52vh;overflow:auto}#photoBatchTour .pb-library-card{border:1px solid #5a7042;border-radius:10px;padding:10px;min-width:0}#photoBatchTour .pb-library-card.is-present{opacity:.6}#photoBatchTour img{display:block;width:100%;height:110px;object-fit:contain;background:#10180d;cursor:zoom-in}#photoBatchTour small{display:block;color:#bfd1aa}#photoBatchTour label{display:block;overflow-wrap:anywhere;cursor:pointer}#photoBatchTour .pb-tools label{display:inline-block}#photoBatchTour [role=status]{color:#daf2b5;min-height:22px}#photoBatchTour :focus-visible{outline:2px solid #caf46c;outline-offset:2px}
/* V8.0.61 : pastille « ×N » (utilisations dans la visite en cours), coin de la miniature, lisible sur fond clair et foncé. */
#photoBatchTour .pb-tour-card{position:relative}#photoBatchTour .pb-tour-uses{position:absolute;top:16px;right:16px;padding:1px 7px;border:1px solid #fffc;border-radius:999px;background:#000a;color:#fff;font:700 12px/18px system-ui;text-shadow:0 1px 2px #000;pointer-events:none}#photoBatchTour .pb-library-card.is-present .pb-tour-uses{opacity:1}
