.shared-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 17px}
.shared-toolbar label{color:#214f35;font-weight:800}
.shared-toolbar select{border:1px solid #bfd0c3;border-radius:10px;background:white;color:#1f4b36;padding:10px;font:inherit;max-width:100%}
.shared-toolbar span{margin-left:auto;color:#63786c;font-size:14px}
.shared-grid{display:grid;gap:16px}
.shared-entry{display:grid;grid-template-columns:minmax(190px,33%) 1fr;border:1px solid #d7e6d9;border-radius:15px;background:#f9fcfa;overflow:hidden}
.shared-map{height:250px;background:#e6eee6;position:relative;min-width:0}
.shared-map>div{height:100%;width:100%}
.shared-entry-body{padding:20px;min-width:0}
.shared-entry-body h2{font-size:22px;margin:0 0 7px;color:#235440;overflow-wrap:anywhere}
.shared-entry-body .shared-meta{font-size:13px;color:#5d6f62}
.shared-entry-body p{overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.5}
.shared-badges{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
.shared-badges span{background:#e4f2e8;color:#285941;padding:5px 8px;border-radius:8px;font-size:13px;font-weight:750}
.shared-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.shared-details{margin-top:15px;border-top:1px solid #d6e2d9;padding-top:12px}
.shared-details summary{font-weight:800;color:#18563f;cursor:pointer;min-height:36px}
.shared-details .field{margin-top:12px}
.shared-comment{border-bottom:1px solid #dce7de;padding:10px 0}
.shared-comment strong{color:#1e5843}
.shared-comment p{margin:5px 0;white-space:pre-wrap}
.shared-comment-list textarea{min-height:80px}
@media(max-width:800px){.shared-entry{grid-template-columns:1fr}.shared-map{height:225px}.shared-entry-body{padding:15px}}

.shared-delete{border:0;background:none;color:#963d3d;text-decoration:underline;cursor:pointer;font:inherit}

/* V9.4 : aperçu 2D/3D avant téléchargement, même lecteur que le propriétaire. */
.shared-map-open{position:absolute;left:10px;bottom:10px;z-index:600;border:0;
  border-radius:9px;background:#fff;color:#155943;font:inherit;font-size:13px;
  font-weight:800;padding:8px 11px;cursor:pointer;box-shadow:0 2px 8px #0002}
.shared-map-open:focus-visible{outline:3px solid #ec9d41;outline-offset:2px}
.shared-view-button{border:1px solid #087963;border-radius:9px;padding:9px 14px;
  color:#fff;background:#087963;font:inherit;font-size:14px;font-weight:800;cursor:pointer}
.shared-actions button[disabled]{opacity:.62;cursor:not-allowed}
.shared-actions button{min-height:42px}
#r-map-modal{position:fixed;inset:0;z-index:3000}
#r-map-modal .r-modal-header{flex-shrink:0}
#r-map-modal #r-full-map .leaflet-overlay-pane{z-index:450!important}
#r-map-modal #r-full-map .leaflet-tile-pane{z-index:200!important}
#r-map-modal .r-play-panel{max-height:42vh;overflow-y:auto}
@media(max-width:650px){.shared-map-open{bottom:8px;left:8px}}
