#catalog-dialog{width:min(800px,calc(100vw - 32px));max-height:90dvh}#catalog-edit-dialog{width:min(880px,calc(100vw - 32px));max-height:94dvh}.catalog-tools{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px;padding:18px 24px}.catalog-note{padding:0 24px 12px;margin:0}.catalog-items{padding:8px 24px 24px;display:grid;gap:8px}.catalog-row{display:flex;gap:16px;align-items:center;text-align:start;width:100%;padding:16px;border:1px solid #e0e3da;background:#fff;border-radius:10px}.catalog-row:hover{border-color:#8e9f87;background:#f7f8f3}.catalog-symbol{width:48px;height:48px;display:grid;place-items:center;border-radius:10px;background:#f1f3eb;flex-shrink:0}.catalog-symbol svg{width:28px;height:28px}.catalog-row strong,.catalog-row small{display:block}.catalog-row small{margin-top:5px;color:#717b6b}.catalog-row-edit{display:flex;gap:6px;margin-inline-start:auto;color:#626f5c}.catalog-reuse{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px;margin:16px 0}.catalog-reuse button{display:flex;align-items:center;flex-direction:column;gap:8px;border:1px solid #dedfd8;border-radius:8px;padding:12px;background:#f7f8f3}.catalog-reuse svg{width:28px;height:28px}.catalog-translations{margin:18px 0}.catalog-translations .editor-grid{padding-top:12px}#catalog-edit-dialog details>summary{cursor:pointer;padding:12px 0}#catalog-edit-dialog .symbol-picker{margin-top:16px}#catalog-edit-dialog .dialog-actions .small{margin-inline-end:auto;max-width:65%;font-size:12px}.location-history-list{display:grid;gap:8px}.location-history-row{display:flex;gap:14px;align-items:center;padding:14px;border:1px solid #dedfd8;background:#fff;border-radius:10px;text-align:start;width:100%}.location-history-row>span{flex:1;min-width:0}.location-history-row strong,.location-history-row small{display:block}.location-history-row small{color:#6c7667;margin-top:5px}.location-history-row svg{width:27px;height:27px;flex-shrink:0}.location-history-row.selected{border-color:#a44c42;background:#faf4f0}.location-history-meta{margin:0 0 18px;padding:12px;background:#f3f4ee;border-radius:9px}.location-history-meta p{margin:4px 0}.site-history-button{display:flex;gap:8px;align-items:center;border:1px solid #cbd4c3;border-radius:8px;background:#f3f6ee;padding:9px 12px;margin-top:12px;min-height:44px}.cluster-marker .marker-core{background:#566d55;color:white;border:2px solid white;box-shadow:0 1px 7px #253c3a55;min-width:38px;min-height:38px}.cluster-marker .cluster-repeat{background:#685580}.cluster-marker .cluster-density{position:absolute;bottom:-3px;right:-5px;background:#fff;color:#655577;border:1px solid #c5b9d3;border-radius:9px;font-size:10px;line-height:16px;padding:0 4px}.map-load-status{position:absolute;z-index:700;top:var(--map-tools-top,250px);left:72px;max-width:calc(100% - 160px);padding:9px 13px;background:#fff;border:1px solid #d8dfd0;border-radius:8px;box-shadow:0 2px 10px #0001;font-size:13px}.map-load-status.error{color:#923e36;border-color:#dab4aa}.basemap-credit{display:inline}.demo-control-panel .row{gap:10px}.demo-control-panel button{min-height:44px}.demo-filter-badge{padding:6px 10px;border:1px solid #dbd5bb;border-radius:6px;color:#827440;background:#faf7ec}.history-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:18px}.maplibregl-map{font-family:inherit}.maplibregl-control-container{display:none}
@media(max-width:650px){#catalog-dialog,#catalog-edit-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.catalog-tools{grid-template-columns:1fr 1fr;padding:16px;gap:10px}.catalog-tools>button{grid-column:1/-1}.catalog-items{padding:8px 16px 16px}.catalog-note{padding-inline:16px}.catalog-row{padding:12px;gap:10px}.catalog-row-edit{font-size:12px}.catalog-row strong{font-size:14px}.catalog-row small{font-size:12px}.catalog-symbol{width:40px;height:40px}.map-load-status{left:64px;font-size:12px;max-width:calc(100% - 80px)}#catalog-edit-dialog .dialog-actions .small{max-width:55%}}
.badge>.icon{width:13px;height:13px;vertical-align:middle;margin-inline-end:5px}.catalog-shortcut{font-size:12px;min-height:32px;justify-content:flex-start;padding:4px 0}
#catalog-dialog,#catalog-edit-dialog{overflow:hidden}#catalog-dialog .dialog-body,#catalog-edit-dialog .dialog-body{min-height:0;flex:1;overflow:auto}.catalog-tools,.catalog-note{flex-shrink:0}

.satellite-map .governorate-label,.satellite-map .district-label,.satellite-map .sea-label{color:white;text-shadow:0 1px 3px #000,1px 0 2px #000,-1px 0 2px #000}.satellite-source{display:block;color:#494f42;font-weight:550;background:#ffffffe8;padding:2px 5px;border-radius:3px}.recent-legend-key{display:inline-block;width:20px;height:20px;border:2px solid #c58a35;border-radius:50%;position:relative;vertical-align:middle;margin-inline-end:8px}.recent-legend-key:after{content:'';position:absolute;width:7px;height:7px;background:#bd7e24;border:2px solid white;border-radius:50%;top:-5px;right:-4px}
