*{box-sizing:border-box} :root{--bg:#f4f5f7;--panel:#fff;--text:#172033;--muted:#687386;--line:#e4e7ec;--primary:#111827;--radius:16px;--shadow:0 18px 45px rgba(15,23,42,.12)} html,body{height:100%;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg)} button,input,textarea,select{font:inherit} button{cursor:pointer}.app-shell{height:100%;display:grid;grid-template-columns:370px 1fr}.sidebar{height:100%;overflow:auto;background:var(--panel);border-right:1px solid var(--line);padding:18px;z-index:1001}.brand{display:flex;align-items:center;gap:12px;padding:4px 2px 18px}.brand-mark{width:42px;height:42px;border-radius:13px;background:var(--primary);color:#fff;display:grid;place-items:center;font-weight:800;font-size:21px}.brand strong,.brand span{display:block}.brand span{font-size:12px;color:var(--muted);margin-top:2px}.panel{border-top:1px solid var(--line);padding:18px 0}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-title h2{font-size:15px;margin:0}.field{display:grid;gap:6px;margin-bottom:12px}.field>span{font-size:12px;font-weight:700;color:#4b5563}.field input,.field textarea,.field select,.search-row input{width:100%;border:1px solid #d8dde5;border-radius:10px;padding:10px 11px;background:#fff;color:var(--text);outline:none}.field input:focus,.field textarea:focus,.field select:focus,.search-row input:focus{border-color:#6b7280;box-shadow:0 0 0 3px rgba(17,24,39,.08)}.search-row{display:grid;grid-template-columns:1fr auto;gap:7px}.primary-btn,.secondary-btn,.glass-btn,.file-btn{border:0;border-radius:10px;padding:10px 12px;font-weight:700}.primary-btn{background:var(--primary);color:#fff}.secondary-btn{background:#eef0f3;color:#253047}.secondary-btn.danger,.glass-btn.danger{color:#b42318}.button-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.full{width:100%}.muted{color:var(--muted)}.small{font-size:12px;margin-top:8px}.hint{font-size:11px;line-height:1.45;color:var(--muted);margin:10px 0 0}.search-results{display:grid;gap:6px;margin-top:8px;max-height:180px;overflow:auto}.search-result{border:1px solid var(--line);border-radius:10px;background:#fff;text-align:left;padding:9px;font-size:12px;color:#374151}.search-result:hover{background:#f8fafc}.category-preview{display:flex;align-items:center;gap:10px;background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:10px;margin:5px 0 12px}.category-preview strong,.category-preview span{display:block}.category-preview span{font-size:11px;color:var(--muted);margin-top:2px}.marker-pin{width:34px;height:34px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#2563eb;color:#fff;display:grid;place-items:center;box-shadow:0 3px 10px rgba(0,0,0,.25);border:2px solid #fff}.marker-pin>*{transform:rotate(45deg)}.category-list{display:grid;gap:6px}.category-row{display:grid;grid-template-columns:28px 1fr 34px;align-items:center;gap:8px;padding:6px 7px;border:1px solid var(--line);border-radius:10px}.category-dot{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;color:#fff;font-size:14px}.category-name{font-size:12px;font-weight:650}.category-row input[type=color]{width:30px;height:28px;border:0;padding:0;background:transparent}.details-box{margin-top:10px;border:1px solid var(--line);border-radius:12px}.details-box summary{padding:10px 12px;font-size:12px;font-weight:700;cursor:pointer}.details-content{padding:0 12px 12px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:8px}.badge{background:#eef0f3;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:800}.file-btn{display:block;margin-top:9px;text-align:center;background:#fff;border:1px dashed #aeb6c2;color:#374151;font-size:12px}.file-btn input{display:none}footer{font-size:10px;color:var(--muted);padding:2px 0 10px}.map-stage{position:relative;min-width:0;background:#dbe3e8}.map-header{position:absolute;top:16px;left:16px;right:16px;z-index:500;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;pointer-events:none}.map-header>div{pointer-events:auto}.map-header h1{display:inline-block;margin:0;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.85);border-radius:12px;padding:10px 14px;box-shadow:0 8px 24px rgba(15,23,42,.12);font-size:18px}.map-header p{display:table;margin:6px 0 0;background:rgba(255,255,255,.9);border-radius:8px;padding:6px 10px;font-size:12px;color:#4b5563}.map-actions{display:flex;gap:7px}.glass-btn{background:rgba(255,255,255,.92);box-shadow:0 8px 24px rgba(15,23,42,.12);color:#253047}.placement-toast{position:absolute;z-index:500;bottom:18px;left:50%;transform:translateX(-50%);background:rgba(17,24,39,.92);color:#fff;padding:9px 14px;border-radius:999px;font-size:12px;pointer-events:none;box-shadow:var(--shadow)}#map{height:100%;width:100%}.leaflet-div-icon{background:transparent;border:0}.custom-marker{width:34px;height:34px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);display:grid;place-items:center;color:#fff;border:2px solid white;box-shadow:0 3px 10px rgba(0,0,0,.3)}.custom-marker span{transform:rotate(45deg);font-size:16px}.popup-card strong{font-size:14px}.popup-card p{margin:5px 0;color:#4b5563}.popup-card button{border:0;border-radius:7px;padding:6px 8px;font-weight:700}.icon-btn{border:0;background:transparent;font-size:24px;color:#4b5563}.mobile-only{display:none}.floating-menu{position:absolute;z-index:600;top:14px;left:14px;border:0;border-radius:11px;width:42px;height:42px;background:#fff;box-shadow:var(--shadow);font-size:20px}dialog{border:0;border-radius:16px;box-shadow:0 25px 70px rgba(15,23,42,.3);padding:0;width:min(460px,calc(100vw - 28px))}dialog::backdrop{background:rgba(15,23,42,.45);backdrop-filter:blur(3px)}#pointForm{padding:18px}.dialog-head{display:flex;align-items:center;justify-content:space-between}.dialog-head h2{font-size:18px;margin:0 0 14px}.dialog-actions{display:grid;grid-template-columns:auto 1fr auto auto;gap:8px;align-items:center;margin-top:16px}.hidden{display:none!important}@media(max-width:850px){.app-shell{display:block}.sidebar{position:fixed;inset:0 auto 0 0;width:min(390px,92vw);transform:translateX(-105%);transition:.25s;box-shadow:var(--shadow)}.sidebar.open{transform:translateX(0)}.mobile-only{display:block}.map-stage{height:100%}.map-header{left:68px}.map-actions{display:none}}@media print{.sidebar,.map-actions,.floating-menu,.placement-toast,.leaflet-control-container{display:none!important}.app-shell{display:block}.map-stage,#map{height:100vh}.map-header{top:10px;left:10px}.map-header h1{box-shadow:none;border:1px solid #ddd}.map-header p{border:1px solid #ddd}}
.zone-options{display:grid;gap:8px;margin-top:12px;padding:11px;border-radius:12px;background:#f8fafc;border:1px solid var(--line)}
.switch-row{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:650;color:#374151;margin:8px 0}
.switch-row input{width:16px;height:16px}
.map-image-mode #map{background:#eef2f7}
.leaflet-image-layer{image-rendering:auto}
.zone-label{background:rgba(255,255,255,.9);border:1px solid rgba(255,255,255,.95);box-shadow:0 4px 12px rgba(15,23,42,.12);padding:4px 7px;border-radius:8px;font-size:11px;font-weight:750;color:#111827}
.context-hint{position:absolute;z-index:510;right:18px;bottom:18px;background:rgba(255,255,255,.94);padding:8px 10px;border-radius:10px;font-size:11px;box-shadow:0 8px 24px rgba(15,23,42,.12)}
@media(max-width:850px){.context-hint{display:none}}

.empty-selection{padding:12px;border:1px dashed #cfd5df;border-radius:12px;color:var(--muted);font-size:12px;line-height:1.45;background:#fafbfc}
.context-menu,.context-submenu{position:fixed;z-index:3000;min-width:220px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px;box-shadow:0 18px 45px rgba(15,23,42,.2)}
.context-menu button,.context-submenu button{width:100%;border:0;background:transparent;text-align:left;padding:10px 11px;border-radius:8px;font-weight:650;color:#273449}
.context-menu button:hover,.context-submenu button:hover{background:#f1f4f8}
.context-submenu{min-width:240px;max-height:320px;overflow:auto}
.selected-marker .custom-marker{outline:4px solid rgba(17,24,39,.18);outline-offset:3px}
.selected-zone{filter:drop-shadow(0 0 5px rgba(17,24,39,.25))}
.marker-label{background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.98);border-radius:8px;padding:4px 7px;box-shadow:0 4px 12px rgba(15,23,42,.14);font-weight:750;color:#172033;white-space:nowrap}
.marker-label:before{display:none}
.inspector-value{font-size:11px;color:var(--muted);text-align:right}


.options-title{display:block;font-size:12px;margin-bottom:10px;color:#374151}
.source-card{margin-bottom:12px;padding:10px;border:1px solid #dce3ec;border-radius:11px;background:#f7f9fc;font-size:11px;line-height:1.5;color:#4b5563}
.source-card strong{display:block;color:#1f2937;font-size:12px;margin-bottom:2px}
.search-result{position:relative}
.search-result-title{display:block;font-weight:750;color:#253047}
.search-result-meta{display:block;margin-top:4px;color:#6b7280;font-size:10px;line-height:1.35}
.search-result-badge{display:inline-flex;margin-top:6px;padding:2px 7px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.context-separator{height:1px;background:#e8ebf0;margin:5px 4px}
.layer-hidden-message{padding:9px 10px;border-radius:9px;background:#fff7ed;color:#9a3412;font-size:11px}
.leaflet-popup-content-wrapper{border-radius:13px}
.leaflet-popup-content{margin:12px 14px}
.popup-card{min-width:145px;padding:2px}
.popup-card p{white-space:pre-wrap}
@media(max-width:850px){
  .sidebar{padding-bottom:80px}
}

.category-select-btn{border:0;background:transparent;padding:0;text-align:left;color:inherit;cursor:pointer}
.category-select-btn:hover{text-decoration:underline}

.right-inspector{position:fixed;top:0;right:0;width:360px;height:100%;z-index:1200;overflow:auto;background:#fff;border-left:1px solid var(--line);box-shadow:-18px 0 45px rgba(15,23,42,.14);padding:18px;animation:slideInspector .2s ease-out}@keyframes slideInspector{from{transform:translateX(30px);opacity:0}to{transform:translateX(0);opacity:1}}.inspector-title-actions{display:flex;align-items:center;gap:6px}.context-menu-rich{width:360px;padding:0;overflow:hidden;border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.28)}.context-menu-head{display:flex;align-items:center;justify-content:space-between;padding:14px 15px;background:linear-gradient(135deg,#111827,#273449);color:#fff}.context-menu-head strong,.context-menu-head span{display:block}.context-menu-head strong{font-size:14px}.context-menu-head span{font-size:10px;opacity:.72;margin-top:2px}.small-close{color:#fff;font-size:20px}.context-section{padding:13px 14px;border-top:1px solid #eef1f5}.context-label{display:block;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.08em;color:#7a8493;margin-bottom:9px}.context-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.context-category-card{border:1px solid #e1e6ed;background:#fff;border-radius:12px;padding:9px 5px;display:grid;place-items:center;gap:5px;min-height:70px;text-align:center;transition:.15s}.context-category-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(15,23,42,.09)}.context-category-card .category-dot{width:30px;height:30px;border-radius:10px}.context-category-card span:last-child{font-size:10px;font-weight:750;line-height:1.15}.context-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.context-action-card{border:1px solid #e1e6ed!important;background:#f8fafc!important;border-radius:12px!important;padding:10px!important;display:flex!important;align-items:center;gap:9px}.context-action-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#fff;font-size:16px;box-shadow:0 2px 8px rgba(15,23,42,.08)}.preset-box{margin-top:10px;padding:11px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}.preset-box strong{font-size:12px}.preset-box p{font-size:10px;color:var(--muted);line-height:1.4;margin:4px 0 8px}.compact-file-btn{margin:0;padding:10px 8px}@media(max-width:850px){.right-inspector{width:min(360px,90vw)}.context-menu-rich{width:min(360px,calc(100vw - 16px))}.context-category-grid{grid-template-columns:repeat(3,1fr)}}


/* Cartelier 1.2 */
.version-badge{display:inline-flex!important;vertical-align:middle;margin-left:5px;padding:2px 6px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:9px!important;font-weight:850}
.context-menu-rich{width:430px;max-height:min(680px,calc(100vh - 16px));overflow:auto}
.context-category-grid{display:grid;grid-template-columns:1fr;gap:8px}
.context-category-card{display:grid;grid-template-columns:38px minmax(90px,1fr) 72px 72px;align-items:center;gap:8px;min-height:54px;padding:7px 8px;text-align:left}
.context-category-card:hover{transform:none}
.context-category-card .category-dot{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;color:#fff;font-size:16px}
.context-category-name{font-size:11px;font-weight:800;color:#263247;overflow:hidden;text-overflow:ellipsis}
.context-insert-btn{border:0!important;border-radius:9px!important;padding:8px 7px!important;font-size:10px!important;font-weight:800!important;text-align:center!important}
.context-insert-point{background:#eef2ff!important;color:#3730a3!important}
.context-insert-zone{background:#ecfdf3!important;color:#166534!important}
.context-insert-btn:hover{filter:brightness(.97)}
.right-inspector{display:block!important;transform:translateX(0)}
.right-inspector.hidden{display:none!important}
.right-inspector.inspector-flash{animation:inspectorFlash .45s ease-out}
@keyframes inspectorFlash{0%{box-shadow:-18px 0 45px rgba(124,58,237,.35)}100%{box-shadow:-18px 0 45px rgba(15,23,42,.14)}}
.leaflet-interactive{cursor:pointer}
.zone-label{pointer-events:none}
@media(max-width:850px){.context-menu-rich{width:min(430px,calc(100vw - 16px))}.context-category-card{grid-template-columns:34px minmax(70px,1fr) 62px 62px}.context-insert-btn{padding:7px 4px!important}}

/* Cartelier 1.3 — images, logos, export */
.floating-toolbar{position:absolute;z-index:650;left:50%;top:76px;transform:translateX(-50%);display:flex;gap:5px;align-items:center;padding:6px;background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.9);border-radius:13px;box-shadow:0 10px 28px rgba(15,23,42,.16);user-select:none}
.toolbar-btn,.toolbar-drag{min-width:38px;height:36px;border:0;border-radius:9px;background:#f1f4f8;color:#253047;display:grid;place-items:center;font-weight:800;cursor:pointer}
.toolbar-btn:hover,.toolbar-drag:hover{background:#e4e9f0}.toolbar-drag{cursor:grab;font-size:17px}.toolbar-drag:active{cursor:grabbing}.toolbar-btn input{display:none}
.drop-overlay{position:absolute;inset:18px;z-index:2000;border:3px dashed #6366f1;border-radius:20px;background:rgba(238,242,255,.92);display:grid;place-content:center;text-align:center;pointer-events:none;color:#312e81}.drop-overlay strong{font-size:22px}.drop-overlay span{margin-top:7px;font-size:12px}
.asset-upload-box{padding:10px;border:1px solid var(--line);border-radius:12px;background:#f8fafc;margin:10px 0}.asset-upload-box strong{display:block;font-size:12px;margin-bottom:7px}
.free-image-wrapper{position:relative;display:block;transform-origin:center center;filter:drop-shadow(0 5px 8px rgba(15,23,42,.2));cursor:move}.free-image-wrapper img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none}.free-image-wrapper.selected{outline:2px solid #2563eb;outline-offset:3px}.image-resize-handle{position:absolute;right:-7px;bottom:-7px;width:15px;height:15px;border-radius:4px;background:#2563eb;border:2px solid #fff;box-shadow:0 2px 5px rgba(0,0,0,.25);cursor:nwse-resize}.free-image-name{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);background:rgba(17,24,39,.88);color:white;padding:3px 7px;border-radius:6px;font-size:10px;white-space:nowrap}
.zone-label-content{display:flex;align-items:center;gap:6px;white-space:nowrap}.zone-label-logo{width:24px;height:24px;object-fit:contain;border-radius:4px}.point-label-content{display:flex;align-items:center;gap:5px}.point-label-logo{width:20px;height:20px;object-fit:contain;border-radius:4px}.popup-logo{display:block;max-width:70px;max-height:50px;object-fit:contain;margin-bottom:6px}
body.exporting .sidebar,body.exporting .right-inspector,body.exporting .floating-toolbar,body.exporting .map-actions,body.exporting .floating-menu,body.exporting .placement-toast,body.exporting .leaflet-control-container{visibility:hidden!important}
.export-flash{animation:exportFlash .6s ease}@keyframes exportFlash{50%{box-shadow:inset 0 0 0 5px rgba(37,99,235,.45)}}
@media(max-width:850px){.floating-toolbar{top:68px;left:auto;right:10px;transform:none;flex-direction:column}}

/* DynMap 1.4 */
.global-settings{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 0 14px}.compact-field{margin:0}.compact-field span{font-size:10px}.compact-field select{padding:8px;font-size:11px}.dynmap-mark{background:linear-gradient(135deg,#111827,#7c3aed)}.seo-content{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.step-highlight{position:relative;border-radius:16px;box-shadow:0 0 0 3px rgba(124,58,237,.18),0 0 28px rgba(124,58,237,.20);animation:dynPulse 2s ease-in-out infinite}@keyframes dynPulse{0%,100%{box-shadow:0 0 0 3px rgba(124,58,237,.12),0 0 16px rgba(124,58,237,.12)}50%{box-shadow:0 0 0 5px rgba(124,58,237,.22),0 0 30px rgba(124,58,237,.24)}}


/* DynMap 1.5 — traduction complète, respiration et accessibilité */
:root{--ui-scale:1;--font-scale:1}
body{font-size:calc(16px * var(--font-scale))}
.sidebar{width:auto}
.sidebar,.right-inspector{font-size:calc(1em * var(--font-scale))}
.sidebar{padding:calc(18px * var(--ui-scale))}
.panel{padding:calc(18px * var(--ui-scale)) 0}
.field input,.field textarea,.field select,.search-row input{padding:calc(10px * var(--ui-scale)) calc(11px * var(--ui-scale))}
.primary-btn,.secondary-btn,.glass-btn,.file-btn{padding:calc(10px * var(--ui-scale)) calc(12px * var(--ui-scale))}
.zone-options{padding:calc(14px * var(--ui-scale));gap:calc(10px * var(--ui-scale))}
.step-highlight{padding:calc(12px * var(--ui-scale));margin-left:calc(-12px * var(--ui-scale));margin-right:calc(-12px * var(--ui-scale))}
.zone-label{padding:8px 12px!important;line-height:1.25!important}
.zone-label-content{gap:8px}

.ui-scale-control{position:absolute;z-index:1350;top:16px;right:16px}
.ui-scale-toggle{width:44px;height:44px;border:1px solid rgba(255,255,255,.95);border-radius:13px;background:rgba(255,255,255,.96);box-shadow:0 10px 28px rgba(15,23,42,.16);font-weight:850;color:#253047;cursor:pointer}
.ui-scale-toggle:hover{transform:translateY(-1px);box-shadow:0 14px 32px rgba(15,23,42,.2)}
.ui-scale-panel{position:absolute;top:52px;right:0;width:280px;padding:14px;background:rgba(255,255,255,.98);border:1px solid #e3e7ed;border-radius:16px;box-shadow:0 22px 60px rgba(15,23,42,.22)}
.ui-scale-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.ui-scale-head strong{font-size:13px}.ui-scale-panel output{font-size:11px;color:var(--muted);text-align:right}
.ui-scale-panel .field{grid-template-columns:1fr auto}.ui-scale-panel .field span{grid-column:1/-1}.ui-scale-panel input[type=range]{grid-column:1/2}.ui-scale-panel output{grid-column:2/3;align-self:center}
body.inspector-open .ui-scale-control{right:376px}
@media(max-width:1100px){body.inspector-open .ui-scale-control{right:16px;top:70px}}
@media(max-width:850px){.ui-scale-control{top:12px;right:12px}.ui-scale-panel{width:min(280px,calc(100vw - 24px))}.step-highlight{margin-left:-6px;margin-right:-6px}}

/* DynMap 1.6 — responsive workspace */
:root{--sidebar-width:333px;--inspector-width:340px}
.app-shell{grid-template-columns:var(--sidebar-width) 1fr}
.sidebar{width:var(--sidebar-width);padding:14px}
.panel{padding:14px 0}
.map-actions{align-items:center}
.ui-scale-control{position:absolute;top:58px;right:14px;z-index:850}
.ui-scale-toggle-placeholder{display:none}.ui-scale-inline{font-weight:850;min-width:44px}
.floating-toolbar.hidden{display:none!important}
.elements-toggle{position:absolute;right:12px;top:64px;z-index:850;width:42px;height:42px;border:0;border-radius:12px;background:#fff;box-shadow:var(--shadow);font-size:21px;color:#253047}
.right-inspector{width:var(--inspector-width);padding:14px;transition:transform .22s ease,opacity .22s ease}
.right-inspector.panel-collapsed{transform:translateX(105%);opacity:0;pointer-events:none}
.inspector-back{padding:6px 9px;font-size:11px}.elements-explorer{display:grid;gap:12px}.explorer-search input{width:100%;border:1px solid #d8dde5;border-radius:11px;padding:10px 11px}
.element-group{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.element-group-title{display:flex;justify-content:space-between;align-items:center;padding:9px 10px;background:#f7f9fc;font-size:11px;font-weight:850}.element-list{display:grid}.element-row{display:grid;grid-template-columns:30px 1fr 30px;align-items:center;gap:7px;border:0;border-top:1px solid #edf0f4;background:#fff;padding:8px 9px;text-align:left}.element-row:hover{background:#f7f9fc}.element-row-icon{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;color:#fff}.element-row-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:700;color:#2f3b50}.element-visibility{border:0;background:transparent;font-size:14px;padding:4px}.element-empty{padding:10px;color:var(--muted);font-size:11px}
.category-row{cursor:pointer}.category-row:hover{background:#f8fafc}.category-edit-hint{margin-top:7px}.category-edit-dialog{border:0;border-radius:16px;box-shadow:0 25px 70px rgba(15,23,42,.3);padding:0;width:min(430px,calc(100vw - 24px))}.category-edit-dialog form{padding:18px}
.feedback-panel .details-content{padding-top:4px}
.context-menu-rich{width:min(330px,calc(100vw - 16px));max-height:min(72vh,520px);overflow:auto}.context-menu-head{padding:10px 12px}.context-section{padding:9px 10px}.context-category-grid{grid-template-columns:1fr;gap:5px}.context-category-card{min-height:44px;display:grid;grid-template-columns:30px minmax(0,1fr) 50px 50px;gap:6px;padding:6px 7px}.context-category-card .category-dot{width:26px;height:26px}.context-category-name{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.context-insert-btn{padding:6px 3px!important;font-size:10px!important}.context-action-grid{grid-template-columns:repeat(4,1fr)}.context-action-card{display:grid!important;place-items:center!important;gap:4px!important;padding:7px 3px!important;text-align:center}.context-action-icon{width:27px;height:27px}.context-action-card span:last-child{font-size:9px}
.step-highlight{padding:18px 12px!important}
.mobile-add-button{display:none}
@media(max-width:1100px){
  :root{--sidebar-width:310px;--inspector-width:320px}
  .map-header{left:12px;right:62px}.map-header h1{font-size:15px;padding:8px 10px}.glass-btn{padding:8px 9px;font-size:11px}
}
@media(max-width:850px){
  body{overflow:hidden}.app-shell{display:block}.map-stage,#map{height:100dvh}
  .sidebar{width:min(360px,92vw);padding:14px;z-index:1800}.sidebar.open{transform:translateX(0)}
  .right-inspector{width:min(380px,94vw);z-index:1750;padding:14px}.right-inspector.panel-collapsed{transform:translateX(105%)}
  .floating-menu{display:block;top:10px;left:10px}.elements-toggle{top:10px;right:58px}
  .map-header{top:10px;left:60px;right:106px}.map-header>div:first-child{display:none}.map-actions{display:flex;gap:5px}.map-actions .glass-btn{display:none}.map-actions .ui-scale-inline{display:block;padding:9px;width:42px;height:42px}
  .ui-scale-control{top:60px;right:10px}.ui-scale-panel{width:min(290px,calc(100vw - 20px))}
  .placement-toast{bottom:12px;max-width:calc(100vw - 24px);text-align:center}
  .context-menu-rich{position:fixed!important;left:8px!important;right:8px!important;bottom:8px!important;top:auto!important;width:auto;max-height:65dvh;border-radius:18px}
  .context-category-grid{grid-template-columns:1fr}.context-category-card{grid-template-columns:30px minmax(0,1fr) 58px 58px}
  .context-action-grid{grid-template-columns:repeat(4,1fr)}
  .floating-toolbar{left:50%!important;right:auto!important;top:auto!important;bottom:64px!important;transform:translateX(-50%)!important;flex-direction:row!important}
  .leaflet-control-zoom{margin-top:64px!important}
}
@media(max-width:520px){
  .right-inspector{width:100vw}.sidebar{width:94vw}.two-cols{grid-template-columns:1fr}.button-grid{grid-template-columns:1fr 1fr}.search-row{grid-template-columns:1fr}.search-row button{width:100%}
  .context-action-grid{grid-template-columns:1fr 1fr}.context-category-card{grid-template-columns:28px minmax(0,1fr) 54px 54px}
}

/* DynMap 1.7 — explorateur conditionnel */
.elements-toggle.hidden{display:none!important}
.right-inspector.hidden{display:none!important}


/* DynMap 1.8 — expérience mobile focalisée */
.mobile-tools-toggle,.mobile-sheet-handle{display:none}
@media(max-width:850px){
  body.mobile-search-only .mobile-secondary-panel{display:none!important}
  body.mobile-search-only .sidebar footer{display:none!important}
  body.mobile-tools-expanded .mobile-secondary-panel{display:block!important}

  .sidebar{
    inset:auto 0 0 0!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    max-height:76dvh;
    padding:8px 14px calc(14px + env(safe-area-inset-bottom))!important;
    border-right:0!important;
    border-top:1px solid var(--line);
    border-radius:20px 20px 0 0;
    transform:translateY(110%)!important;
    transition:transform .24s ease,max-height .24s ease!important;
    box-shadow:0 -18px 48px rgba(15,23,42,.22)!important;
    overflow:auto;
  }
  .sidebar.open{transform:translateY(0)!important}
  body.mobile-tools-expanded .sidebar{max-height:94dvh}
  .mobile-sheet-handle{display:block;width:44px;height:5px;border-radius:999px;background:#cbd2dc;margin:0 auto 8px}
  .sidebar .brand{padding:0 2px 8px}
  .sidebar .brand-mark{width:34px;height:34px;border-radius:11px;font-size:17px}
  .sidebar .brand span{font-size:10px}
  .sidebar .global-settings{grid-template-columns:1fr 1fr;gap:7px;margin-bottom:4px}
  .sidebar .global-settings .field{margin-bottom:4px}
  #mobileSearchPanel{border-top:0;padding:9px 0 2px}
  #mobileSearchPanel.step-highlight{margin:0!important;padding:10px!important;border-radius:14px!important}
  #mobileSearchPanel .section-title{margin-bottom:8px}
  #mobileSearchPanel .hint{display:none}
  #mobileSearchPanel .button-grid{display:none}
  #mobileSearchPanel .zone-options,#mobileSearchPanel details{display:none}
  .mobile-tools-toggle{display:block!important;margin-top:10px}
  body.mobile-tools-expanded #mobileSearchPanel .button-grid{display:grid}
  body.mobile-tools-expanded #mobileSearchPanel .zone-options,
  body.mobile-tools-expanded #mobileSearchPanel details{display:block}
  .search-results{max-height:30dvh}
  .floating-menu{top:10px;left:10px}
  .map-header{display:block;top:10px;left:auto;right:10px}
  .map-header>div:first-child{display:none}
  .map-actions{display:flex!important}
  .map-actions .glass-btn{display:none!important}
  .map-actions .ui-scale-inline{display:grid!important;place-items:center;width:42px;height:42px;padding:0}
  .elements-toggle{top:10px;right:60px}
  .placement-toast{display:none!important}
  .leaflet-control-zoom{margin-top:58px!important}
  .right-inspector{inset:auto 0 0 0!important;width:100%!important;height:auto!important;max-height:88dvh;border-radius:20px 20px 0 0;border-left:0;border-top:1px solid var(--line);box-shadow:0 -18px 48px rgba(15,23,42,.22);padding:14px 14px calc(14px + env(safe-area-inset-bottom))}
  .right-inspector.panel-collapsed{transform:translateY(110%)!important}
  .context-menu-rich{max-height:72dvh}
}
@media(min-width:851px) and (max-width:1100px){
  body.tablet-search-only .mobile-secondary-panel{display:none!important}
  .mobile-tools-toggle{display:block!important}
  body.tablet-tools-expanded .mobile-secondary-panel{display:block!important}
  .sidebar{width:330px}
}


/* ==========================================================
   DynMap 2.0 alpha — interface carte plein écran + assistant
   ========================================================== */
body.dynmap-v2{overflow:hidden;background:#dbe3e8}
body.dynmap-v2 .app-shell{display:block!important;width:100vw;height:100dvh}
body.dynmap-v2 .map-stage,body.dynmap-v2 #map{position:relative;width:100vw!important;height:100dvh!important;min-height:100dvh}
body.dynmap-v2 .v2-legacy-tools{position:fixed!important;top:0!important;left:0!important;bottom:0!important;width:min(390px,94vw)!important;height:100dvh!important;z-index:2400!important;transform:translateX(-105%)!important;transition:transform .22s ease!important;box-shadow:18px 0 48px rgba(15,23,42,.2)!important;background:#fff!important}
body.dynmap-v2 .v2-legacy-tools.v2-open{transform:translateX(0)!important}
body.dynmap-v2 .map-header,body.dynmap-v2 #openSidebar,body.dynmap-v2 .placement-toast{display:none!important}
body.dynmap-v2 .leaflet-control-zoom{margin-top:82px}

.v2-topbar{position:fixed;top:14px;left:16px;right:16px;z-index:1000;display:flex;justify-content:space-between;align-items:center;pointer-events:none}
.v2-brand,.v2-top-actions{pointer-events:auto}
.v2-brand{display:flex;align-items:center;gap:9px;padding:7px 10px 7px 7px;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.96);border-radius:14px;box-shadow:0 10px 30px rgba(15,23,42,.13)}
.v2-brand-mark{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#111827;color:#fff;font-weight:850}
.v2-brand strong,.v2-brand small{display:block}.v2-brand strong{font-size:13px;line-height:1.1}.v2-brand small{font-size:9px;color:#717b8c;margin-top:2px}
.v2-top-actions{display:flex;gap:7px;align-items:center}.v2-icon-btn,.v2-tools-btn{height:40px;border:1px solid rgba(255,255,255,.92);background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-radius:11px;box-shadow:0 10px 28px rgba(15,23,42,.12);font-weight:800;color:#263248}.v2-icon-btn{min-width:42px;padding:0 10px}.v2-tools-btn{display:flex;align-items:center;gap:7px;padding:0 12px}.v2-tools-btn span:last-child{font-size:11px}

.v2-wizard{position:fixed;left:22px;top:82px;z-index:1050;width:min(440px,calc(100vw - 44px));max-height:calc(100dvh - 104px);overflow:auto;padding:17px;background:rgba(255,255,255,.96);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.98);border-radius:20px;box-shadow:0 24px 65px rgba(15,23,42,.2)}
.v2-wizard-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:13px}.v2-wizard-head h2{font-size:18px;margin:2px 0 4px;letter-spacing:-.02em}.v2-wizard-head p{font-size:11px;line-height:1.45;color:#6d7787;margin:0;max-width:330px}.v2-step-kicker{font-size:9px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:#6d28d9}.v2-step-badge{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:26px;padding:0 8px;background:#f1edff;color:#6d28d9;border-radius:999px;font-size:10px;font-weight:850}.v2-text-btn{border:0;background:transparent;color:#536075;font-size:11px;font-weight:750;padding:5px}
#v2LocaleMount .global-settings{margin:0 0 8px;display:grid;grid-template-columns:1fr 1fr;gap:8px}#v2LocaleMount .field{margin-bottom:0}
#v2SearchMount .search-row{grid-template-columns:1fr auto}#v2SearchMount #searchStatus{margin:7px 1px 0}#v2SearchMount .search-results{max-height:210px;margin-top:8px}
.v2-selected-wrap{border-top:1px solid #edf0f4;margin-top:12px;padding-top:11px}.v2-selected-title{display:flex;justify-content:space-between;align-items:center;font-size:11px}.v2-selected-title span{background:#eef1f5;border-radius:999px;padding:2px 7px;font-size:9px;font-weight:850}.v2-selected-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.v2-place-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:6px 7px 6px 9px;border:1px solid #e3e7ed;background:#f8fafc;border-radius:999px;font-size:10px;font-weight:750}.v2-place-chip i{width:8px;height:8px;border-radius:50%}.v2-place-chip button{border:0;background:#e8ecf2;color:#667085;width:19px;height:19px;border-radius:50%;padding:0;display:grid;place-items:center;font-size:12px}
.v2-wizard-footer{display:flex;align-items:center;justify-content:space-between;gap:9px;border-top:1px solid #edf0f4;margin-top:13px;padding-top:12px}.v2-foot-help{font-size:9px;line-height:1.35;color:#8992a1;max-width:230px}.v2-next-btn{min-width:105px}.v2-next-btn:disabled{opacity:.38;cursor:not-allowed}

.v2-create-section{padding:11px 0;border-top:1px solid #edf0f4}.v2-create-section:first-of-type{border-top:0}.v2-create-title strong,.v2-image-section strong{display:block;font-size:11px}.v2-create-title>span,.v2-image-section>div>span{display:block;font-size:9px;color:#8992a1;margin-top:2px}.v2-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:9px}.v2-category-btn{border:1px solid #e2e6ec;background:#fff;border-radius:12px;padding:8px 4px;min-height:66px;display:grid;place-items:center;gap:4px;transition:.15s}.v2-category-btn:hover,.v2-category-btn.active{transform:translateY(-1px);border-color:#9ca7b6;box-shadow:0 7px 18px rgba(15,23,42,.09)}.v2-category-btn.active{outline:2px solid rgba(17,24,39,.12)}.v2-category-btn i{width:28px;height:28px;border-radius:9px;color:#fff;display:grid;place-items:center;font-style:normal;font-size:14px}.v2-category-btn span{font-size:9px;font-weight:750;line-height:1.12;text-align:center;color:#374151}.v2-image-section{display:flex;align-items:center;justify-content:space-between;gap:10px}.v2-placement-hint{display:flex;align-items:center;gap:8px;padding:9px 10px;margin-top:8px;border-radius:11px;background:#111827;color:#fff;font-size:10px}.v2-placement-hint>span{font-size:16px}.v2-placement-hint strong{flex:1}.v2-placement-hint button{border:0;background:rgba(255,255,255,.16);color:#fff;width:24px;height:24px;border-radius:7px}

.v2-point-transform{position:absolute;z-index:850;border:1.5px solid #111827;box-shadow:0 0 0 1px rgba(255,255,255,.9);pointer-events:none;transform:translate(-50%,-50%)}.v2-handle{position:absolute;width:10px;height:10px;background:#fff;border:2px solid #111827;border-radius:50%;pointer-events:auto}.v2-handle.nw{left:-6px;top:-6px;cursor:nwse-resize}.v2-handle.n{left:50%;top:-6px;transform:translateX(-50%);cursor:ns-resize}.v2-handle.ne{right:-6px;top:-6px;cursor:nesw-resize}.v2-handle.e{right:-6px;top:50%;transform:translateY(-50%);cursor:ew-resize}.v2-handle.se{right:-6px;bottom:-6px;cursor:nwse-resize}.v2-handle.s{left:50%;bottom:-6px;transform:translateX(-50%);cursor:ns-resize}.v2-handle.sw{left:-6px;bottom:-6px;cursor:nesw-resize}.v2-handle.w{left:-6px;top:50%;transform:translateY(-50%);cursor:ew-resize}
body.v2-point-placement #map{cursor:crosshair!important}

body.dynmap-v2 .right-inspector{z-index:2200}
body.dynmap-v2 .ui-scale-control{z-index:2300}
body.dynmap-v2 .floating-toolbar{z-index:2100}

@media(max-width:850px){
  .v2-topbar{top:8px;left:8px;right:8px}.v2-brand{padding:5px 8px 5px 5px}.v2-brand-mark{width:29px;height:29px}.v2-tools-btn span:last-child{display:none}.v2-tools-btn{padding:0 11px}.v2-icon-btn,.v2-tools-btn{height:38px}
  .v2-wizard{left:8px;right:8px;top:auto;bottom:8px;width:auto;max-height:72dvh;border-radius:20px;padding:14px}.v2-wizard-head h2{font-size:16px}.v2-category-grid{grid-template-columns:repeat(4,1fr)}
  #v2SearchMount .search-row{grid-template-columns:1fr}.v2-wizard-footer{position:sticky;bottom:-14px;background:#fff;padding-bottom:3px}
  body.dynmap-v2 .leaflet-control-zoom{margin-top:62px}
}
@media(max-width:480px){.v2-category-grid{grid-template-columns:repeat(3,1fr)}.v2-image-section{align-items:flex-start;flex-direction:column}.v2-image-section button{width:100%}.v2-foot-help{display:none}.v2-wizard-footer{justify-content:flex-end}}

/* DynMap 2.0 alpha.1 — zones de sécurité des contrôles cartographiques */
body.dynmap-v2 .leaflet-top.leaflet-left{
  left:auto!important;
  right:16px!important;
  top:62px!important;
}
body.dynmap-v2 .leaflet-top.leaflet-left .leaflet-control{
  margin-left:0!important;
  margin-top:8px!important;
  margin-right:0!important;
}
body.dynmap-v2 .leaflet-control-zoom{
  margin-top:0!important;
  box-shadow:0 8px 24px rgba(15,23,42,.14)!important;
}
body.dynmap-v2 .v2-wizard{
  isolation:isolate;
}

@media (min-width:851px){
  body.dynmap-v2 .v2-wizard{
    top:82px;
    left:22px;
    max-height:calc(100dvh - 104px);
  }
  body.dynmap-v2 .leaflet-top.leaflet-left{
    right:16px!important;
    top:64px!important;
  }
}

@media (max-width:850px){
  body.dynmap-v2 .leaflet-top.leaflet-left{
    right:8px!important;
    top:54px!important;
  }
  body.dynmap-v2 .leaflet-top.leaflet-left .leaflet-control{
    margin-top:6px!important;
  }
  body.dynmap-v2 .v2-wizard{
    left:8px;
    right:8px;
    bottom:max(8px, env(safe-area-inset-bottom));
    max-height:min(72dvh, calc(100dvh - 76px));
  }
}


/* DynMap 2.0 alpha.2 — séparation Zone / Titre */
.property-group{
  margin:0 0 14px;
  padding:14px;
  border:1px solid #e4e8ef;
  border-radius:14px;
  background:#fbfcfe;
}
.property-group-title{
  display:flex;
  flex-direction:column;
  gap:2px;
  margin-bottom:12px;
}
.property-group-title>span{
  font-size:13px;
  font-weight:800;
  color:#172033;
}
.property-group-title>small{
  font-size:10px;
  color:#7b8494;
}
.right-inspector .property-group .field:last-child,
.right-inspector .property-group .switch-row:last-child{
  margin-bottom:0;
}

/* DynMap 2.0 alpha.3 — zone et titre sélectionnables séparément */
.zone-label{pointer-events:auto!important;cursor:pointer!important;transition:box-shadow .15s,transform .15s,outline .15s}
.zone-label:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(15,23,42,.22)!important}
.zone-label.zone-title-selected{outline:3px solid rgba(124,58,237,.30);outline-offset:3px}
.inspector-section-head{padding:4px 0 14px;border-bottom:1px solid #e7eaf0;margin-bottom:14px}
.inspector-section-head strong,.inspector-section-head span{display:block}
.inspector-section-head strong{font-size:15px;color:#172033}
.inspector-section-head span{font-size:10px;color:#768195;margin-top:3px}

/* DynMap 2.0 alpha.4 — barre contextuelle */
.floating-toolbar{display:none!important}
.v2-top-actions{position:relative}
.v2-main-action{
  height:40px;border:1px solid rgba(255,255,255,.94);background:rgba(255,255,255,.95);
  backdrop-filter:blur(12px);border-radius:11px;box-shadow:0 10px 28px rgba(15,23,42,.12);
  padding:0 12px;display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800;color:#263248
}
.v2-main-action>span:first-child{font-size:15px}
.v2-action-wrap{position:relative;pointer-events:auto}
.v2-action-menu{
  position:absolute;top:47px;right:0;width:210px;padding:7px;background:rgba(255,255,255,.98);
  border:1px solid #e4e8ef;border-radius:14px;box-shadow:0 18px 50px rgba(15,23,42,.18);
  backdrop-filter:blur(14px)
}
.v2-action-menu button{
  width:100%;min-height:39px;border:0;background:transparent;border-radius:9px;padding:7px 9px;
  display:flex;align-items:center;gap:9px;text-align:left;color:#263248;font-weight:700
}
.v2-action-menu button:hover{background:#f1f4f8}
.v2-action-menu button:disabled{opacity:.45}
.v2-action-menu button span{flex:1}.v2-action-menu button small{font-size:8px;text-transform:uppercase}
@media(max-width:700px){
  .v2-main-action{width:42px;padding:0;justify-content:center}
  .v2-main-action>span:last-child{display:none}
  .v2-action-menu{position:fixed;left:10px;right:10px;top:auto;bottom:12px;width:auto;
    display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:9px;border-radius:17px}
  .v2-action-menu.hidden{display:none}
  .v2-action-menu button{min-height:48px}
}

/* DynMap 2.0 alpha.5 — objets texte */
.free-text-object{box-sizing:border-box;cursor:grab;box-shadow:0 5px 18px rgba(15,23,42,.10);transform-origin:center center;user-select:none}
.free-text-object.selected{outline:2px solid #2563eb;outline-offset:3px;box-shadow:0 0 0 5px rgba(37,99,235,.13),0 8px 22px rgba(15,23,42,.14);cursor:move}
.free-text-icon{overflow:visible!important}
#textInspector textarea{resize:vertical;min-height:80px}

/* DynMap 2.0 alpha.6 — choix initial du type de carte */
.project-type-chooser{
  position:fixed;inset:0;z-index:5000;overflow:auto;
  background:
    radial-gradient(circle at 18% 10%,rgba(37,99,235,.13),transparent 30%),
    radial-gradient(circle at 84% 82%,rgba(124,58,237,.12),transparent 30%),
    #f4f7fb;
  padding:clamp(22px,4vw,56px);
}
.project-type-shell{width:min(1100px,100%);margin:0 auto}
.project-type-brand{display:flex;align-items:center;gap:10px;margin-bottom:clamp(38px,7vh,80px)}
.project-type-logo{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#111827;color:#fff;font-weight:900;font-size:20px}
.project-type-brand strong,.project-type-brand small{display:block}.project-type-brand small{font-size:10px;color:#778195;margin-top:1px}
.project-type-intro{max-width:760px;margin-bottom:26px}
.project-type-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:#6d28d9}
.project-type-intro h1{font-size:clamp(27px,4vw,44px);line-height:1.08;margin:8px 0 10px;color:#111827;letter-spacing:-.035em}
.project-type-intro p{font-size:14px;line-height:1.55;color:#697386;margin:0;max-width:670px}
.project-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.project-type-card{
  display:grid;grid-template-columns:150px 1fr auto;align-items:center;gap:18px;
  min-height:150px;padding:14px;border:1px solid #e0e6ef;border-radius:20px;background:rgba(255,255,255,.91);
  box-shadow:0 12px 34px rgba(15,23,42,.07);text-align:left;transition:.18s;cursor:pointer
}
.project-type-card:hover{transform:translateY(-3px);border-color:#bac4d2;box-shadow:0 22px 45px rgba(15,23,42,.12)}
.project-type-card em{font-style:normal;font-size:20px;color:#8a94a5;padding:8px}
.project-type-copy strong,.project-type-copy span{display:block}.project-type-copy strong{font-size:16px;color:#172033;margin-bottom:5px}
.project-type-copy span{font-size:11px;color:#707b8d;line-height:1.45}
.project-preview{height:116px;border-radius:14px;overflow:hidden;position:relative;border:1px solid #e1e6ed;background:#eef2f5}
.preview-geographic{background:linear-gradient(23deg,#e9f0e6 0 38%,#d9e5ec 38% 41%,#f5f2e8 41%)}
.preview-geographic:before,.preview-geographic:after{content:"";position:absolute;background:#fff;border-radius:9px;box-shadow:0 0 0 1px #d9dee5}
.preview-geographic:before{width:72px;height:13px;left:17px;top:39px;transform:rotate(-20deg)}.preview-geographic:after{width:92px;height:10px;right:-17px;bottom:26px;transform:rotate(28deg)}
.preview-geographic i{position:absolute;width:26px;height:26px;border-radius:50% 50% 50% 0;background:#7c3aed;left:72px;top:36px;transform:rotate(-45deg);box-shadow:0 5px 12px #0002}
.preview-geographic b{position:absolute;inset:14px 22px;border:2px solid #7c3aed;border-radius:48% 52% 44% 56%;opacity:.65}
.preview-illustrated{background:#f5f0e7}
.preview-illustrated i,.preview-illustrated b,.preview-illustrated span,.preview-illustrated u{position:absolute;display:block;border:1px solid #fff;box-shadow:9px 10px 0 rgba(48,42,35,.12);text-decoration:none}
.preview-illustrated i{left:16px;top:20px;width:54px;height:37px;background:#e87461;transform:skewY(-6deg)}
.preview-illustrated b{left:80px;top:19px;width:50px;height:55px;background:#5bb39b;transform:skewY(5deg)}
.preview-illustrated span{left:22px;top:70px;width:65px;height:28px;background:#e7b94f;transform:skewY(4deg)}
.preview-illustrated u{left:94px;top:82px;width:34px;height:20px;background:#698bd6}
.preview-satellite{background:linear-gradient(32deg,#253b2a,#466849 30%,#9b9d74 31% 47%,#365b3f 48% 70%,#586d4c)}
.preview-satellite:before{content:"";position:absolute;inset:-20px 45px;background:rgba(199,187,153,.8);transform:rotate(31deg);box-shadow:0 0 0 3px rgba(255,255,255,.3)}
.preview-satellite i{position:absolute;width:28px;height:28px;border-radius:50% 50% 50% 0;background:#ef4444;left:85px;top:43px;transform:rotate(-45deg)}
.preview-blank{background-color:#fff;background-image:linear-gradient(#edf0f4 1px,transparent 1px),linear-gradient(90deg,#edf0f4 1px,transparent 1px);background-size:16px 16px}
.preview-blank i{position:absolute;width:62px;height:36px;border:2px dashed #94a3b8;left:45px;top:40px;border-radius:8px}
.project-type-note{margin-top:16px;font-size:10px;color:#8791a1;text-align:center}
.mode-unselected .v2-top-actions{visibility:hidden}
.mode-illustrated #map{background:#f5f0e7;background-image:linear-gradient(rgba(87,73,55,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(87,73,55,.05) 1px,transparent 1px);background-size:28px 28px}
.mode-blank #map{background:#fff;background-image:linear-gradient(#eef1f5 1px,transparent 1px),linear-gradient(90deg,#eef1f5 1px,transparent 1px);background-size:24px 24px}
.mode-illustrated .leaflet-overlay-pane canvas{filter:drop-shadow(8px 10px 0 rgba(58,48,37,.15))}
.v2-mode-btn{font-size:16px!important}
@media(max-width:760px){
  .project-type-chooser{padding:18px 12px 30px}
  .project-type-brand{margin-bottom:32px}
  .project-type-grid{grid-template-columns:1fr}
  .project-type-card{grid-template-columns:112px 1fr auto;min-height:122px;padding:10px;gap:12px}
  .project-preview{height:96px}
  .project-type-copy strong{font-size:14px}
  .project-type-copy span{font-size:10px}
}
@media(max-width:480px){
  .project-type-card{grid-template-columns:86px 1fr auto}
  .project-preview{height:82px}
}

/* DynMap 2.0 alpha.7 */
:root{--a11y-text-scale:1}
body{font-size:calc(100% * var(--a11y-text-scale))}
.project-type-chooser{
  position:fixed!important;inset:0!important;z-index:5000!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  overflow:auto!important;padding:clamp(16px,3vw,42px)!important;
  background:rgba(255,255,255,.90)!important;
}
.project-type-chooser.hidden{display:none!important}
.project-type-shell{
  width:min(920px,100%)!important;max-height:calc(100dvh - 32px);overflow:auto;
  margin:auto!important;padding:clamp(18px,2.5vw,30px)!important;
  border:1px solid rgba(210,218,229,.95);border-radius:26px;
  background:rgba(255,255,255,.97);box-shadow:0 26px 80px rgba(15,23,42,.18)
}
.project-type-brand{margin-bottom:22px!important}
.project-type-intro{text-align:center;max-width:740px!important;margin:0 auto 22px!important}
.project-type-intro p{margin:0 auto!important}
.project-family-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.project-family-card{
  display:grid;grid-template-columns:150px 1fr auto;align-items:center;gap:16px;
  min-height:180px;padding:14px;border:1px solid #dfe6ef;border-radius:20px;background:#fff;
  box-shadow:0 12px 34px rgba(15,23,42,.07);text-align:left;transition:.18s
}
.project-family-card:hover{transform:translateY(-3px);box-shadow:0 22px 46px rgba(15,23,42,.12)}
.family-map{background:linear-gradient(135deg,#f5f9ff,#fff);border-color:#cddcfb}
.family-illustrated{background:linear-gradient(135deg,#fff8ed,#fff);border-color:#f0d6af}
.family-copy strong,.family-copy span{display:block}.family-copy strong{font-size:17px;margin-bottom:6px}.family-copy span{font-size:11px;color:#6f7a8c;line-height:1.45}
.family-preview{height:126px;border-radius:14px;position:relative;overflow:hidden;border:1px solid #e2e7ee}
.family-preview-map{background:linear-gradient(25deg,#e7f0e3 0 38%,#d4e3ec 39% 42%,#f5f2e8 43%)}
.family-preview-map:before,.family-preview-map:after{content:"";position:absolute;background:#fff;border-radius:10px;box-shadow:0 0 0 1px #d5dce6}
.family-preview-map:before{width:86px;height:12px;left:12px;top:48px;transform:rotate(-22deg)}
.family-preview-map:after{width:98px;height:10px;right:-20px;bottom:24px;transform:rotate(31deg)}
.family-preview-map i{position:absolute;width:28px;height:28px;border-radius:50% 50% 50% 0;background:#7c3aed;left:78px;top:38px;transform:rotate(-45deg)}
.family-preview-map b{position:absolute;inset:14px 24px;border:2px solid #7c3aed;border-radius:47% 53% 44% 56%;opacity:.65}
.family-preview-illustrated{background:#f4eee4}
.family-preview-illustrated i,.family-preview-illustrated b,.family-preview-illustrated span,.family-preview-illustrated u{position:absolute;display:block;border:1px solid #fff;box-shadow:10px 11px 0 rgba(48,42,35,.14);text-decoration:none}
.family-preview-illustrated i{left:15px;top:18px;width:58px;height:40px;background:#e46e59;transform:skewY(-6deg)}
.family-preview-illustrated b{left:83px;top:18px;width:51px;height:58px;background:#55ad95;transform:skewY(5deg)}
.family-preview-illustrated span{left:22px;top:75px;width:67px;height:29px;background:#e4b64a;transform:skewY(4deg)}
.family-preview-illustrated u{left:100px;top:88px;width:34px;height:22px;background:#6588d4}
.project-family-card em{font-size:22px;font-style:normal;color:#8a94a5}
.map-style-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.map-style-card{border:1px solid #dfe5ed;border-radius:16px;background:#fff;padding:10px;text-align:left;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.map-style-card:hover{transform:translateY(-2px);box-shadow:0 15px 32px rgba(15,23,42,.11)}
.map-style-card strong,.map-style-card span{display:block}.map-style-card strong{font-size:13px;margin:8px 0 3px}.map-style-card span{font-size:10px;color:#748093}
.map-style-thumb{height:100px;border-radius:11px;border:1px solid #e2e7ee}
.thumb-standard{background:linear-gradient(24deg,#e7f0e2 0 40%,#d6e3ed 41% 44%,#f5f2e8 45%)}
.thumb-satellite{background:linear-gradient(32deg,#263d2b,#48694a 30%,#999a73 31% 47%,#385d41 48% 70%,#5b6e4f)}
.thumb-topo{background:repeating-radial-gradient(ellipse at 40% 60%,#f2ead7 0 4px,#d6c9ac 5px 6px,#f2ead7 7px 12px)}
.chooser-back{border:0;background:transparent;color:#556176;font-weight:800;padding:3px 0 12px}
.accessibility-fab{position:fixed;z-index:5300;right:14px;top:50%;transform:translateY(-50%);width:46px;height:46px;border:0;border-radius:50%;background:#111827;color:#fff;box-shadow:0 14px 34px rgba(15,23,42,.24);font-size:20px}
.accessibility-panel{position:fixed;z-index:5310;right:70px;top:50%;transform:translateY(-50%);width:min(330px,calc(100vw - 90px));max-height:calc(100dvh - 30px);overflow:auto;padding:15px;border:1px solid #dde3ec;border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.22)}
.accessibility-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}.accessibility-head strong,.accessibility-head small{display:block}.accessibility-head small{font-size:10px;color:#737f91}
.a11y-high-contrast{filter:contrast(1.16)}.a11y-reduce-motion *{animation:none!important;transition:none!important}.a11y-large-targets button,.a11y-large-targets input,.a11y-large-targets select{min-height:46px}
@media(max-width:760px){
  .project-type-chooser{padding:10px!important;align-items:flex-start!important}
  .project-type-shell{margin:6px 0 20px!important;padding:15px!important;border-radius:20px}
  .project-type-intro{text-align:left!important;margin-bottom:16px!important}
  .project-family-grid{grid-template-columns:1fr}
  .project-family-card{grid-template-columns:92px 1fr 22px;min-height:110px;padding:9px;gap:10px}
  .family-preview{height:88px}.family-copy strong{font-size:14px}.family-copy span{font-size:10px}
  .map-style-grid{grid-template-columns:1fr}.map-style-card{display:grid;grid-template-columns:100px 1fr;column-gap:10px}.map-style-thumb{height:72px;grid-row:1/3}.map-style-card strong{margin:8px 0 0}
  .accessibility-fab{right:10px;width:44px;height:44px}.accessibility-panel{left:10px;right:10px;top:auto;bottom:10px;width:auto;transform:none;max-height:72dvh}
}
@media(max-width:390px){
  .project-type-shell{padding:12px!important}.project-type-intro h1{font-size:22px!important}
  .project-family-card{grid-template-columns:74px 1fr 18px}.family-preview{height:72px}
}

/* DynMap 2.0 alpha.8 — projet .dynmap, historique, confidentialité */
.history-btn:disabled{opacity:.35;cursor:not-allowed;box-shadow:none}
.privacy-card{margin-top:11px;padding:12px;border:1px solid #dfe5ed;border-radius:13px;background:#f8fafc}
.privacy-card-head{display:flex;align-items:center;gap:7px;margin-bottom:5px}
.privacy-card-head span{font-size:14px}.privacy-card-head strong{font-size:11px}
.privacy-card p{font-size:9px;line-height:1.45;color:#6e788a;margin:0 0 8px}
.privacy-dialog{width:min(590px,calc(100vw - 24px));border:0;border-radius:20px;padding:0;box-shadow:0 30px 90px rgba(15,23,42,.3)}
.privacy-dialog::backdrop{background:rgba(15,23,42,.45);backdrop-filter:blur(3px)}
.privacy-dialog form{padding:18px}
.dialog-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}
.dialog-title strong,.dialog-title small{display:block}.dialog-title strong{font-size:15px}.dialog-title small{font-size:9px;color:#7a8494;margin-top:2px}
.privacy-content{font-size:11px;color:#465166;line-height:1.5}
.privacy-service{padding:10px 0;border-top:1px solid #edf0f4}.privacy-service strong,.privacy-service span{display:block}.privacy-service span{font-size:10px;color:#6f798b;margin-top:2px}
.privacy-note{padding:9px;border-radius:10px;background:#f6f7f9;font-size:9px!important}
.legacy-project-btn{opacity:.78}
@media(max-width:700px){
  .v2-top-actions .history-btn{display:flex!important}
  .privacy-dialog{width:calc(100vw - 16px)}
}

/* DynMap 2.0 alpha.9 — vraies vignettes + Material Symbols */
.material-symbols-rounded{
  font-family:'Material Symbols Rounded';
  font-weight:normal;
  font-style:normal;
  font-size:20px;
  line-height:1;
  letter-spacing:normal;
  text-transform:none;
  display:inline-block;
  white-space:nowrap;
  word-wrap:normal;
  direction:ltr;
  -webkit-font-feature-settings:'liga';
  -webkit-font-smoothing:antialiased;
}
.family-preview-photo{
  background:#eef1f4!important;
  position:relative;
  overflow:hidden;
}
.family-preview-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.family-preview-photo::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
  border-radius:inherit;
}
.accessibility-fab{
  background:rgba(255,255,255,.96)!important;
  color:#172033!important;
  border:1px solid #d9e0e9!important;
  box-shadow:0 10px 28px rgba(15,23,42,.16)!important;
}
.accessibility-fab .material-symbols-rounded{
  font-size:24px;
}
.accessibility-fab:hover{
  background:#f5f7fa!important;
}
.v2-mode-btn .material-symbols-rounded,
.history-btn .material-symbols-rounded{
  font-size:19px;
}

/* DynMap 2.0 alpha.10 — iconographie Material cohérente */
.v2-main-action>.material-symbols-rounded{font-size:19px!important}
.v2-action-menu .material-symbols-rounded{font-size:19px;flex:0 0 24px;color:#556176}
.context-action-icon.material-symbols-rounded{font-size:19px}
.material-marker .marker-symbol{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  color:#fff;
  font-size:calc(var(--marker-size, 34px) * .50);
  transform:rotate(45deg);
}
.custom-marker.material-marker{display:grid;place-items:center}
.category-dot .category-symbol,
#activeIconPreview .category-symbol,
.v2-category-btn .category-symbol{
  font-size:17px;
  color:#fff;
}
.element-row-icon .element-type-icon{font-size:15px;color:#fff}
.element-visibility{
  display:grid!important;
  place-items:center!important;
}
.element-visibility .visibility-icon{font-size:17px;color:#64748b}
.element-group-title .explorer-group-icon{
  font-size:16px;
  vertical-align:-3px;
  margin-right:5px;
  color:#64748b;
}
.family-preview-photo img{filter:saturate(.94) contrast(1.02)}
.family-preview-photo{box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),0 5px 14px rgba(15,23,42,.07)}

/* DynMap 2.0 alpha.11 — aperçus plus réalistes */
.geographic-real-preview{
  position:relative;
  background:#e7edf1!important;
}
.geographic-real-preview img{
  object-fit:cover!important;
  object-position:center 52%!important;
  filter:saturate(.90) contrast(1.02)!important;
}
.preview-credit{
  position:absolute;
  right:5px;
  bottom:4px;
  padding:2px 5px;
  border-radius:5px;
  background:rgba(255,255,255,.84);
  color:#596273;
  font-size:6px;
  line-height:1;
  pointer-events:none;
}
.family-illustrated .family-preview-photo img{
  object-fit:cover!important;
  object-position:center!important;
}
.accessibility-fab .material-symbols-rounded{
  font-size:22px!important;
}

/* DynMap 2.0 alpha.12 — écran de choix réellement isolé */
.chooser-active .v2-topbar,
.chooser-active .v2-wizard,
.chooser-active .right-inspector,
.chooser-active .elements-toggle,
.chooser-active .floating-menu,
.chooser-active .placement-toast,
.chooser-active .v2-point-transform,
.chooser-active .leaflet-control-container,
.chooser-active .accessibility-fab,
.chooser-active .accessibility-panel,
.chooser-active .sidebar {
  visibility:hidden!important;
  pointer-events:none!important;
}
.chooser-active #map {
  visibility:visible!important;
}
.chooser-active .project-type-chooser,
.chooser-active .project-type-chooser * {
  visibility:visible!important;
  pointer-events:auto!important;
}
.project-family-card,
.map-style-card {
  cursor:pointer!important;
  position:relative;
  z-index:1;
}
.project-family-card:active,
.map-style-card:active {
  transform:translateY(0) scale(.985);
}

/* DynMap 2.0 alpha.22 — cache fix + chooser interaction hardening */
.project-family-card,
.map-style-card{
  pointer-events:auto!important;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.project-type-chooser{
  pointer-events:auto!important;
}
.project-type-shell{
  pointer-events:auto!important;
}
.project-family-card:focus-visible,
.map-style-card:focus-visible{
  outline:3px solid #2563eb;
  outline-offset:3px;
}

/* DynMap 2.0 alpha.22 — retour accueil depuis l'identité DynMap */
#dynmapHomeButton{
  cursor:pointer;
  user-select:none;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
}
#dynmapHomeButton:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 18px rgba(15,23,42,.12);
}
#dynmapHomeButton:focus-visible{
  outline:3px solid rgba(37,99,235,.35);
  outline-offset:3px;
}
#dynmapHomeButton:active{transform:translateY(0) scale(.985)}

.home-return-modal{
  position:fixed;
  inset:0;
  z-index:100000;
  display:grid;
  place-items:center;
  padding:18px;
}
.home-return-modal.hidden{display:none!important}
.home-return-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.44);
  backdrop-filter:blur(5px);
}
.home-return-card{
  position:relative;
  width:min(520px,calc(100vw - 28px));
  padding:28px;
  border:1px solid rgba(148,163,184,.24);
  border-radius:24px;
  background:rgba(255,255,255,.98);
  box-shadow:0 24px 80px rgba(15,23,42,.25);
  text-align:center;
}
.home-return-icon{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  margin:0 auto 14px;
  border-radius:16px;
  background:#eef4ff;
  color:#3157c8;
  font-size:27px;
}
.home-return-card h2{margin:0 0 8px;font-size:23px;color:#172033}
.home-return-card p{margin:0 auto 22px;max-width:390px;color:#697386;line-height:1.45}
.home-return-close{
  position:absolute;
  top:12px;
  right:12px;
  width:36px;
  height:36px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#657085;
  cursor:pointer;
}
.home-return-close:hover{background:#f2f4f7}
.home-return-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.home-return-actions .btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:10px 14px;
  border-radius:13px;
  border:1px solid #d9dee7;
  font-weight:700;
  cursor:pointer;
}
.home-return-primary{background:#172033!important;color:#fff!important;border-color:#172033!important}
.home-return-secondary{background:#fff!important;color:#293244!important}
.home-return-cancel{
  margin-top:14px;
  border:0;
  background:transparent;
  color:#697386;
  cursor:pointer;
  font-weight:600;
}
@media (max-width:600px){
  .home-return-card{padding:24px 18px 20px;border-radius:20px}
  .home-return-actions{grid-template-columns:1fr}
  .home-return-secondary{order:2}
  .home-return-primary{order:1}
}

/* DynMap 2.0 alpha.22 — galerie de fonds professionnelle avec aperçus réels */
.v2-brand{border:0;font-family:inherit;color:inherit;text-align:left;cursor:pointer}
.v2-basemap-btn{
  pointer-events:auto;height:42px;display:flex;align-items:center;gap:6px;padding:0 11px;
  border:1px solid rgba(255,255,255,.96);border-radius:13px;background:rgba(255,255,255,.94);
  box-shadow:0 10px 30px rgba(15,23,42,.12);backdrop-filter:blur(14px);
  color:#243047;font:700 11px/1 inherit;cursor:pointer
}
.v2-basemap-btn>.material-symbols-rounded:first-child{font-size:18px}
.v2-basemap-chevron{font-size:16px!important;color:#7b8494}
.mode-illustrated .v2-basemap-btn,.mode-blank .v2-basemap-btn,.mode-unselected .v2-basemap-btn{display:none!important}

.project-type-shell{
  width:min(1040px,calc(100vw - 36px))!important;padding:26px!important;border-radius:26px!important;
  border:1px solid rgba(255,255,255,.72)!important;background:rgba(250,251,253,.97)!important;
  box-shadow:0 28px 90px rgba(15,23,42,.22)!important
}
.project-type-intro{max-width:700px;margin:0 auto 22px;text-align:center}
.project-type-intro h1{font-size:clamp(25px,3vw,38px)!important;letter-spacing:-.035em}
.project-type-intro p{font-size:14px!important;color:#6f7889!important}

.project-family-grid{gap:16px!important}
.project-family-card{
  grid-template-columns:190px minmax(0,1fr) 24px!important;min-height:160px!important;padding:12px!important;
  border:1px solid #e2e7ef!important;border-radius:20px!important;background:#fff!important;
  box-shadow:0 8px 24px rgba(15,23,42,.055)!important
}
.project-family-card:hover{
  border-color:#b7c5da!important;box-shadow:0 18px 44px rgba(15,23,42,.11)!important;
  transform:translateY(-2px)!important
}
.family-preview{
  height:136px!important;border-radius:15px!important;overflow:hidden;position:relative;
  background:#e8edf2;border:1px solid #e3e8ee
}
.family-map-live .chooser-live-map{height:100%;width:100%}
.family-copy strong{font-size:18px!important;letter-spacing:-.015em}
.family-copy span{font-size:12px!important;line-height:1.45!important}

.map-style-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.map-style-card{
  position:relative;padding:9px 9px 13px!important;border:2px solid transparent!important;
  border-radius:18px!important;background:#fff!important;box-shadow:0 8px 24px rgba(15,23,42,.06)!important;
  overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease!important
}
.map-style-card:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(15,23,42,.11)!important}
.map-style-card.selected{
  border-color:#2563eb!important;
  box-shadow:0 0 0 3px rgba(37,99,235,.10),0 16px 38px rgba(15,23,42,.10)!important
}
.map-style-live{
  position:relative;height:150px!important;border:0!important;border-radius:13px!important;
  overflow:hidden;background:#e8edf2!important
}
.map-style-live .chooser-live-map{width:100%;height:100%}
.map-style-check{
  position:absolute;right:10px;top:10px;z-index:500;display:none;width:27px;height:27px;
  place-items:center;border-radius:50%;background:#fff;color:#2563eb;
  box-shadow:0 3px 10px rgba(15,23,42,.18);font-size:22px!important
}
.map-style-card.selected .map-style-check{display:grid}
.map-style-card strong{display:block;margin:11px 4px 3px!important;font-size:14px!important}
.map-style-card>span:not(.map-style-check){
  display:block;margin:0 4px!important;color:#737d8e!important;font-size:11px!important;line-height:1.35
}
.chooser-live-map .leaflet-control-container{display:none!important}
.chooser-live-map .leaflet-pane,.chooser-live-map .leaflet-tile{pointer-events:none!important}
.preview-credit{z-index:500!important;font-size:7px!important;right:5px!important;bottom:5px!important}
.project-type-note{
  margin-top:16px!important;border:0!important;background:transparent!important;color:#80899a!important;font-size:10px!important
}

@media(max-width:760px){
  .project-type-shell{width:min(100%,calc(100vw - 16px))!important;padding:16px!important;border-radius:20px!important}
  .project-family-grid{grid-template-columns:1fr!important}
  .project-family-card{grid-template-columns:118px minmax(0,1fr) 18px!important;min-height:110px!important}
  .family-preview{height:94px!important}
  .map-style-grid{grid-template-columns:1fr!important}
  .map-style-card{
    display:grid!important;grid-template-columns:128px 1fr!important;grid-template-rows:auto auto!important;
    column-gap:12px!important;text-align:left!important
  }
  .map-style-live{height:92px!important;grid-row:1/3!important}
  .map-style-card strong{align-self:end!important}
}

/* Aperçu Plan illustré alpha.17 : trois salles simples et lisibles */
.illustrated-preview-v17{background:#f3f5f7!important;display:grid;place-items:center;padding:15px}
.illustrated-plan-board{position:relative;width:100%;height:100%;border:1px solid #cfd6df;border-radius:12px;background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.10);overflow:hidden}
.illustrated-room{position:absolute;z-index:3;display:grid;place-items:center;border:2px solid #fff;border-radius:9px;color:#fff;font-size:11px;font-weight:800;letter-spacing:.01em;box-shadow:0 4px 10px rgba(15,23,42,.12)}
.illustrated-room.room-a{left:5%;top:9%;width:38%;height:52%;background:#d96b5a}
.illustrated-room.room-b{right:5%;top:9%;width:38%;height:52%;background:#489b86}
.illustrated-room.room-c{left:29%;bottom:8%;width:42%;height:29%;background:#5f7fc1}
.illustrated-corridor{position:absolute;z-index:2;background:#edf1f5}
.illustrated-corridor.corridor-h{left:5%;right:5%;top:53%;height:16%}
.illustrated-corridor.corridor-v{top:8%;bottom:7%;left:46%;width:8%}
.illustrated-entry{position:absolute;z-index:4;left:calc(50% - 14px);bottom:3px;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#182235;color:#fff}
.illustrated-entry .material-symbols-rounded{font-size:17px}

/* DynMap alpha.17 — finition du sélecteur, proche des assistants de MapTiler/Mapbox */
.project-type-shell{width:min(980px,calc(100vw - 32px))!important;padding:22px!important;background:rgba(255,255,255,.985)!important;border:1px solid rgba(214,220,230,.92)!important;border-radius:22px!important;box-shadow:0 26px 76px rgba(15,23,42,.18)!important}
.project-type-brand{margin-bottom:16px!important}.project-type-intro{margin-bottom:18px!important}.project-type-intro h1{font-size:clamp(26px,3vw,35px)!important;letter-spacing:-.025em!important}.project-type-intro p{font-size:13px!important}
.project-family-grid{grid-template-columns:1fr 1fr!important;gap:14px!important}
.project-family-card{display:block!important;position:relative!important;min-height:0!important;padding:0!important;overflow:hidden!important;border:1px solid #dce3ec!important;border-radius:17px!important;background:#fff!important;box-shadow:0 5px 18px rgba(15,23,42,.06)!important;text-align:left!important}
.project-family-card:hover{transform:translateY(-2px)!important;border-color:#b7c4d6!important;box-shadow:0 15px 34px rgba(15,23,42,.11)!important}
.project-family-card .family-preview{height:218px!important;width:100%!important;border:0!important;border-bottom:1px solid #e5e9ef!important;border-radius:0!important}
.project-family-card .family-copy{padding:15px 48px 16px 16px!important;min-height:82px!important}.project-family-card .family-copy strong{font-size:16px!important}.project-family-card .family-copy span{font-size:11px!important;line-height:1.45!important}.project-family-card em{position:absolute!important;right:16px!important;bottom:28px!important;width:30px;height:30px;display:grid!important;place-items:center!important;border-radius:50%!important;background:#f2f5f9!important;color:#536176!important;font-size:17px!important}
.map-style-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}.map-style-card{padding:0 0 14px!important;border:1px solid #dce3ec!important;border-radius:16px!important;background:#fff!important;overflow:hidden!important}.map-style-card.selected{border-color:#2563eb!important;box-shadow:0 0 0 3px rgba(37,99,235,.10),0 10px 24px rgba(15,23,42,.08)!important}.map-style-live{height:160px!important;border-radius:0!important;border-bottom:1px solid #e5e9ef!important}.map-style-card strong{margin:12px 14px 3px!important;font-size:14px!important}.map-style-card>span:not(.map-style-check){margin:0 14px!important;font-size:10px!important}
@media(max-width:760px){.project-type-shell{width:calc(100vw - 18px)!important;padding:14px!important}.project-family-grid{grid-template-columns:1fr!important}.project-family-card .family-preview{height:160px!important}.project-family-card .family-copy{min-height:72px!important;padding:12px 42px 13px 13px!important}.map-style-grid{grid-template-columns:1fr!important}.map-style-card{display:grid!important;grid-template-columns:132px 1fr!important;grid-template-rows:auto auto!important;padding:0!important;min-height:96px!important}.map-style-live{height:96px!important;grid-row:1/3!important;border-right:1px solid #e5e9ef!important;border-bottom:0!important}.map-style-card strong{align-self:end!important;margin:0 12px 3px!important}.map-style-card>span:not(.map-style-check){align-self:start!important;margin:0 12px!important;padding-bottom:8px!important}}

/* DynMap 2.0 alpha.22 — modal retour accueil : interaction garantie */
.home-return-modal{pointer-events:auto!important}
.home-return-backdrop{z-index:1!important;pointer-events:auto!important}
.home-return-card{z-index:2!important;pointer-events:auto!important}
.home-return-card button{position:relative;z-index:3;pointer-events:auto!important;touch-action:manipulation}
.home-return-actions{position:relative;z-index:3}

/* DynMap 2.0 alpha.22 — STUDIO */
:root{--studio-ink:#162033;--studio-muted:#697386;--studio-line:#dfe5ed;--studio-blue:#2563eb;--studio-surface:rgba(255,255,255,.965);--studio-shadow:0 18px 54px rgba(15,23,42,.16)}
body.dynmap-v2{background:#eaf0f5;color:var(--studio-ink)} body.dynmap-v2 #map{background:#dfe8ef} body.dynmap-v2.mode-illustrated #map{background-color:#f5f2ea;background-image:radial-gradient(circle at 1px 1px,rgba(100,116,139,.16) 1px,transparent 1.5px),linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.5));background-size:24px 24px,100% 100%} body.dynmap-v2.mode-illustrated .leaflet-tile-pane{display:none!important}
.v2-topbar{top:14px!important;left:14px!important;right:14px!important;min-height:58px!important;padding:7px!important;gap:8px!important;border:1px solid rgba(205,214,225,.86)!important;border-radius:18px!important;background:rgba(255,255,255,.91)!important;backdrop-filter:blur(18px) saturate(1.25)!important;box-shadow:0 10px 34px rgba(15,23,42,.12)!important}.v2-brand{min-width:174px;border-radius:12px!important;border:0!important;background:transparent!important}.v2-brand:hover{background:#f4f7fb!important;box-shadow:none!important}.v2-brand-mark{background:linear-gradient(145deg,#121b2c,#26385c)!important}.studio-project-meta{min-width:0;display:flex;flex-direction:column;justify-content:center;padding:0 10px 0 4px;border-left:1px solid #e6eaf0}.studio-project-meta>strong{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.studio-save-state{display:flex;align-items:center;gap:4px;width:max-content;margin-top:3px;font-size:9px;font-weight:750;color:#5f6d80}.studio-save-state .material-symbols-rounded{font-size:12px}.studio-save-state.is-dirty{color:#b45309}.studio-save-state.is-saved{color:#15803d}.v2-top-actions{margin-left:auto;gap:5px!important}.v2-main-action,.v2-basemap-btn,.v2-icon-btn{border-radius:11px!important}.studio-save-btn{background:#172033!important;color:white!important;border-color:#172033!important}.studio-save-btn:hover{background:#24314a!important}
.studio-tool-dock{position:absolute;z-index:2150;left:14px;top:92px;display:flex;flex-direction:column;gap:4px;padding:6px;border:1px solid rgba(207,216,227,.9);border-radius:16px;background:rgba(255,255,255,.93);backdrop-filter:blur(16px);box-shadow:0 12px 32px rgba(15,23,42,.13)}.studio-tool{width:48px;height:48px;display:grid;place-items:center;grid-template-rows:25px 11px;border:0;border-radius:11px;background:transparent;color:#536075;cursor:pointer}.studio-tool .material-symbols-rounded{font-size:21px}.studio-tool small{font-size:7px;font-weight:800;line-height:1}.studio-tool:hover{background:#f1f5fa;color:#1e293b}.studio-tool.active{background:#edf4ff;color:#1d4ed8}.studio-tool-separator{height:1px;background:#e7ebf1;margin:2px 4px}
.studio-basemap-popover{position:absolute;z-index:4000;top:82px;right:190px;width:min(520px,calc(100vw - 28px));padding:14px;border:1px solid #dce3ec;border-radius:18px;background:rgba(255,255,255,.985);box-shadow:0 24px 72px rgba(15,23,42,.21);backdrop-filter:blur(20px)}.studio-popover-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.studio-popover-head strong,.studio-popover-head small{display:block}.studio-popover-head strong{font-size:14px}.studio-popover-head small{font-size:9px;color:#7a8494;margin-top:2px}.studio-icon-button{width:34px;height:34px;border:0;border-radius:10px;background:#f3f6fa;color:#667085;cursor:pointer}.studio-basemap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.studio-basemap-card{position:relative;overflow:hidden;padding:0 0 9px;border:1px solid #e0e6ee;border-radius:13px;background:#fff;text-align:left;cursor:pointer}.studio-basemap-card:hover{border-color:#bcc8d8;box-shadow:0 8px 20px rgba(15,23,42,.08)}.studio-basemap-card.selected{border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.12)}.studio-basemap-preview{display:block;height:78px;background:#e8eef4;border-bottom:1px solid #e6ebf1}.studio-basemap-preview .chooser-live-map{display:block;width:100%;height:100%}.studio-basemap-card>span:nth-child(2){display:block;padding:8px 10px 0}.studio-basemap-card strong,.studio-basemap-card small{display:block}.studio-basemap-card strong{font-size:11px}.studio-basemap-card small{margin-top:2px;font-size:8px;color:#7b8494}.studio-basemap-selected{display:none;position:absolute;right:7px;top:7px;width:24px;height:24px;place-items:center;border-radius:50%;background:white;color:#2563eb;font-size:18px;box-shadow:0 2px 10px rgba(15,23,42,.18)}.studio-basemap-card.selected .studio-basemap-selected{display:grid}.studio-native-layer-control{display:none!important}
.studio-statusbar{position:absolute;z-index:1800;left:78px;bottom:12px;display:flex;align-items:center;gap:4px;padding:5px;border:1px solid rgba(209,218,229,.85);border-radius:12px;background:rgba(255,255,255,.9);backdrop-filter:blur(12px);box-shadow:0 8px 24px rgba(15,23,42,.08);color:#657085}.studio-statusbar>span{display:flex;align-items:center;gap:4px;padding:4px 7px;border-radius:8px;font-size:8px;font-weight:700}.studio-statusbar .material-symbols-rounded{font-size:13px}.studio-status-local{color:#15803d!important;background:#eefbf3}
.v2-wizard{border:1px solid rgba(211,219,229,.92)!important;border-radius:20px!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(18px)!important;box-shadow:var(--studio-shadow)!important}.v2-create-section{border:1px solid #e7ebf1!important;border-radius:14px!important;background:#fbfcfe!important}.v2-category-btn{border-radius:12px!important;border-color:#e4e9f0!important;background:#fff!important}.v2-category-btn:hover{border-color:#c7d2e2!important;box-shadow:0 5px 16px rgba(15,23,42,.06)}.v2-category-btn.active{border-color:#2563eb!important;box-shadow:0 0 0 2px rgba(37,99,235,.1)!important}
body.dynmap-v2 .right-inspector{top:88px!important;right:14px!important;bottom:14px!important;max-height:none!important;border:1px solid rgba(210,218,228,.92)!important;border-radius:18px!important;background:rgba(255,255,255,.975)!important;backdrop-filter:blur(18px);box-shadow:0 16px 48px rgba(15,23,42,.15)!important}.right-inspector .section-title{position:sticky;top:0;z-index:2;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid #edf0f4}.explorer-search input{border-radius:11px!important;background:#f8fafc!important}.element-row{border-radius:10px!important}.element-row:hover{background:#f4f7fb!important}
.project-type-chooser{background:rgba(244,247,250,.88)!important;backdrop-filter:blur(9px)!important}.project-type-shell{position:relative;width:min(1030px,calc(100vw - 34px))!important;padding:24px!important;border:1px solid rgba(205,214,226,.92)!important;border-radius:26px!important;background:rgba(255,255,255,.97)!important;box-shadow:0 28px 90px rgba(15,23,42,.2)!important}.studio-chooser-close{position:absolute;top:14px;right:14px;z-index:4;width:38px;height:38px;border:0;border-radius:12px;background:#f2f5f9;color:#687386;cursor:pointer}.project-family-grid{gap:16px!important}.project-family-card{min-height:310px!important;padding:0!important;overflow:hidden!important;border:1px solid #dce3ec!important;border-radius:19px!important;background:#fff!important;box-shadow:0 10px 28px rgba(15,23,42,.07)!important}.project-family-card:hover{transform:translateY(-3px)!important;border-color:#b8c5d6!important;box-shadow:0 20px 46px rgba(15,23,42,.13)!important}.project-family-card .family-preview{height:205px!important;border-radius:0!important;border:0!important;border-bottom:1px solid #e5eaf0!important}.project-family-card .family-copy{padding:17px 50px 18px 17px!important}.project-family-card>em{right:16px!important;bottom:19px!important;width:32px!important;height:32px!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:#f1f5f9!important}.illustrated-preview-v17{background:#f5f3ee!important}.illustrated-plan-board{filter:drop-shadow(0 14px 18px rgba(15,23,42,.11));transform:scale(.94)}.illustrated-room{border:2px solid rgba(255,255,255,.92)!important;box-shadow:inset 0 -9px 18px rgba(15,23,42,.06),0 5px 10px rgba(15,23,42,.08)!important}
.studio-home-actions{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:15px}.studio-home-open{display:flex;align-items:center;gap:9px;padding:8px 11px;border:1px solid #dfe5ed;border-radius:12px;background:#fff;color:#273449;cursor:pointer;text-align:left}.studio-home-open:hover{background:#f7f9fc;border-color:#c8d2df}.studio-home-open>.material-symbols-rounded{font-size:20px;color:#4f67a5}.studio-home-open strong,.studio-home-open small{display:block}.studio-home-open strong{font-size:10px}.studio-home-open small{font-size:8px;color:#8490a1;margin-top:1px}.studio-local-first{display:flex;align-items:center;gap:4px;color:#758195;font-size:8px;font-weight:700;padding:5px 8px}.studio-local-first .material-symbols-rounded{font-size:13px;color:#15803d}
.home-return-dialog{width:min(530px,calc(100vw - 28px));padding:0;border:0;border-radius:24px;background:transparent;overflow:visible}.home-return-dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(7px)}.home-return-dialog .home-return-card{width:100%;box-sizing:border-box;margin:0;padding:30px;border:1px solid rgba(223,229,237,.95);border-radius:24px;background:#fff;box-shadow:0 28px 90px rgba(15,23,42,.28)}.home-return-dialog button{pointer-events:auto!important}
.accessibility-panel{border:1px solid #dce3ec!important;border-radius:17px!important;box-shadow:0 18px 52px rgba(15,23,42,.18)!important}.accessibility-fab{border:1px solid rgba(210,219,230,.9)!important;background:rgba(255,255,255,.93)!important;box-shadow:0 10px 28px rgba(15,23,42,.12)!important}
body.chooser-active .studio-tool-dock,body.chooser-active .studio-statusbar,body.chooser-active .studio-basemap-popover{visibility:hidden!important;pointer-events:none!important}.map-header{display:none!important}.leaflet-control-zoom{margin-top:84px!important;margin-left:78px!important;border:1px solid #d7dee8!important;border-radius:12px!important;overflow:hidden;box-shadow:0 8px 22px rgba(15,23,42,.1)!important}.leaflet-control-zoom a{border:0!important;color:#445066!important}
@media(max-width:980px){.studio-project-meta{display:none}.studio-save-btn span:last-child{display:none}.studio-save-btn{width:40px;padding:0!important;justify-content:center}.studio-basemap-popover{right:14px}}
@media(max-width:760px){.v2-topbar{top:8px!important;left:8px!important;right:8px!important;border-radius:15px!important}.v2-brand{min-width:auto}.v2-brand>span:last-child small{display:none}.v2-main-action span:last-child,.v2-basemap-btn>span:nth-child(2){display:none}.v2-basemap-btn{width:40px;padding:0!important;justify-content:center}.v2-basemap-chevron{display:none!important}.studio-tool-dock{position:fixed;left:50%;top:auto;bottom:9px;transform:translateX(-50%);flex-direction:row;max-width:calc(100vw - 16px);overflow-x:auto;border-radius:15px}.studio-tool{flex:0 0 44px;width:44px;height:44px}.studio-tool small{display:none}.studio-tool-separator{width:1px;height:28px;margin:8px 2px}.studio-statusbar{display:none}.leaflet-control-zoom{margin-left:10px!important;margin-top:76px!important}.studio-basemap-popover{position:fixed;left:9px;right:9px;top:68px;width:auto}.studio-basemap-grid{grid-template-columns:1fr}.studio-basemap-card{display:grid;grid-template-columns:115px 1fr;align-items:center;padding:0}.studio-basemap-preview{height:66px;border-bottom:0;border-right:1px solid #e6ebf1}.studio-basemap-card>span:nth-child(2){padding:0 11px}.project-type-shell{padding:16px!important;border-radius:20px!important}.project-family-card{min-height:0!important}.project-family-card .family-preview{height:155px!important}.studio-home-actions{justify-content:stretch}.studio-home-open{flex:1 1 150px}.home-return-dialog .home-return-card{padding:25px 18px 20px}}
@media(max-width:520px){.v2-top-actions{gap:3px!important}#undoBtn,#redoBtn{display:none}.project-type-intro h1{font-size:24px!important}.project-type-note{display:none}.studio-local-first{width:100%;justify-content:center}}

/* alpha.19 polishing pass */
@media(min-width:851px){body.dynmap-v2 .v2-wizard{left:82px!important;width:min(410px,calc(100vw - 510px))!important}}
@media(max-width:850px){body.dynmap-v2 .v2-wizard{bottom:70px!important;max-height:min(67dvh,calc(100dvh - 142px))!important}}
.leaflet-draw{display:none!important}
.studio-shape-popover{position:absolute;z-index:4100;left:78px;top:190px;width:165px;padding:9px;border:1px solid #dce3ec;border-radius:14px;background:rgba(255,255,255,.985);box-shadow:0 18px 48px rgba(15,23,42,.18);backdrop-filter:blur(16px)}
.studio-shape-popover>strong{display:block;padding:4px 7px 7px;font-size:9px;color:#7b8494;text-transform:uppercase;letter-spacing:.08em}
.studio-shape-popover button{width:100%;display:flex;align-items:center;gap:8px;padding:8px;border:0;border-radius:9px;background:transparent;color:#334155;font-size:10px;font-weight:750;cursor:pointer;text-align:left}
.studio-shape-popover button:hover{background:#eef4ff;color:#1d4ed8}.studio-shape-popover .material-symbols-rounded{font-size:18px}
body.chooser-active .studio-shape-popover{display:none!important}
@media(max-width:760px){.studio-shape-popover{position:fixed;left:50%;top:auto;bottom:66px;transform:translateX(-50%);width:min(330px,calc(100vw - 18px));display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.studio-shape-popover>strong{grid-column:1/-1}.studio-shape-popover button{justify-content:center;flex-direction:column;gap:3px}}


/* ==============================================================
   DynMap 2.0 alpha.22 — SIMPLE STUDIO
   =============================================================== */
:root{
  --dm-bg:#eef3f7;
  --dm-surface:#ffffff;
  --dm-surface-2:#f7f9fc;
  --dm-ink:#182235;
  --dm-muted:#6b7689;
  --dm-line:#e1e7ef;
  --dm-primary:#3158d4;
  --dm-primary-2:#2449bd;
  --dm-accent:#6d5dfc;
  --dm-good:#15803d;
  --dm-warn:#b45309;
  --dm-shadow:0 22px 70px rgba(18,31,53,.16);
  --dm-soft-shadow:0 10px 30px rgba(18,31,53,.10);
}

body.dynmap-v2{background:var(--dm-bg);font-feature-settings:"kern" 1,"liga" 1}
button,input,select,textarea{font:inherit}
button{transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease}
button:active{transform:translateY(1px)}

/* Launchpad */
.project-type-chooser{background:rgba(235,241,246,.86)!important;backdrop-filter:blur(12px) saturate(1.1)!important}
.project-type-shell{width:min(1060px,calc(100vw - 36px))!important;max-height:calc(100vh - 36px);overflow:auto;padding:22px!important;border-radius:28px!important;border:1px solid rgba(205,216,228,.95)!important;background:rgba(255,255,255,.975)!important;box-shadow:0 32px 110px rgba(23,34,52,.22)!important}
.project-type-brand{margin-bottom:12px!important}
.project-type-logo{background:linear-gradient(145deg,#172033,#34496e)!important;border-radius:12px!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.launchpad-main{display:flex;flex-direction:column;gap:18px}
.launchpad-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:10px 6px 2px}
.launchpad-copy{max-width:620px}
.launchpad-copy h1{margin:5px 0 7px;font-size:clamp(28px,4vw,42px);line-height:1.03;letter-spacing:-.045em;color:#182235}
.launchpad-copy p{margin:0;color:#748095;font-size:13px;line-height:1.55}
.launchpad-actions{display:flex;gap:8px;align-items:center}
.launchpad-secondary{display:flex;align-items:center;gap:8px;min-width:132px;padding:9px 11px;border:1px solid var(--dm-line);border-radius:13px;background:#fff;color:#253248;text-align:left;cursor:pointer}
.launchpad-secondary:hover{border-color:#c4cfdd;background:#f8fafc;box-shadow:0 7px 18px rgba(23,34,52,.07)}
.launchpad-secondary>.material-symbols-rounded{font-size:20px;color:#536db2}
.launchpad-secondary strong,.launchpad-secondary small{display:block}.launchpad-secondary strong{font-size:10px}.launchpad-secondary small{margin-top:1px;font-size:7px;color:#8893a3}
.project-family-grid-premium{grid-template-columns:1fr 1fr!important;gap:15px!important}
.family-card-premium{min-height:0!important;padding:0!important;border:1px solid #dfe6ee!important;border-radius:20px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 10px 28px rgba(23,34,52,.07)!important;text-align:left!important}
.family-card-premium:hover{transform:translateY(-3px)!important;border-color:#bac7d9!important;box-shadow:0 22px 52px rgba(23,34,52,.14)!important}
.family-card-premium .family-preview{position:relative;height:235px!important;border:0!important;border-radius:0!important;border-bottom:1px solid #e8edf3!important;overflow:hidden}
.family-card-premium .family-copy{padding:17px 18px 18px!important}
.family-title-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.family-title-line strong{font-size:17px!important;letter-spacing:-.025em}.family-title-line .material-symbols-rounded{font-size:20px;color:#7a879a}
.family-copy>span{display:block!important;margin-top:6px!important;min-height:34px;color:#707b8d!important;font-size:10px!important;line-height:1.55!important}
.family-chips{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.family-chips i{padding:4px 7px;border-radius:999px;background:#f3f6fa;color:#5f6b7e;font-size:7px;font-style:normal;font-weight:800}
.family-preview-badge{position:absolute;left:12px;top:12px;z-index:500;display:flex;align-items:center;gap:4px;padding:6px 8px;border:1px solid rgba(255,255,255,.65);border-radius:999px;background:rgba(255,255,255,.9);box-shadow:0 5px 16px rgba(23,34,52,.12);color:#3e4d64;font-size:7px;font-weight:850;backdrop-filter:blur(10px)}.family-preview-badge .material-symbols-rounded{font-size:13px}
.launchpad-foot{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;padding:1px 6px 4px;color:#798598;font-size:8px;font-weight:750}.launchpad-foot span{display:flex;align-items:center;gap:4px}.launchpad-foot .material-symbols-rounded{font-size:13px;color:#4f7f68}

/* Plan preview polished */
.illustrated-preview-v20{background:linear-gradient(145deg,#f4f1e9,#fbfaf7)!important}
.v20-board{position:absolute!important;inset:19px 25px 20px!important;border:1px solid #ded8cb!important;border-radius:16px!important;background-color:#fff!important;background-image:radial-gradient(circle,#d7dde5 1px,transparent 1.2px)!important;background-size:18px 18px!important;box-shadow:0 18px 34px rgba(67,62,54,.14)!important;transform:perspective(700px) rotateX(3deg) rotateZ(-1deg)!important}
.v20-board .illustrated-room{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;padding:0 12px!important;border:2px solid rgba(255,255,255,.9)!important;border-radius:13px!important;color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.12);box-shadow:inset 0 -10px 20px rgba(0,0,0,.05),0 8px 14px rgba(27,39,57,.12)!important}.v20-board .illustrated-room b{font-size:11px}.v20-board .illustrated-room small{margin-top:2px;font-size:7px;opacity:.85}.v20-board .room-a{background:#df765f!important}.v20-board .room-b{background:#4eaa9b!important}.v20-board .room-c{background:#6788d2!important}
.v20-board .illustrated-corridor{background:#edf1f4!important;border:1px solid #dfe4e9!important;box-shadow:none!important}.v20-board .illustrated-entry{display:flex!important;align-items:center;gap:4px;padding:4px 7px!important;border-radius:9px!important;background:#f3c95d!important;color:#283449!important;box-shadow:0 5px 12px rgba(23,34,52,.1)}.v20-board .illustrated-entry .material-symbols-rounded{font-size:15px}.v20-board .illustrated-entry small{font-size:6px;font-weight:850}.illustrated-node{position:absolute;z-index:6;display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:#172033;color:white;box-shadow:0 5px 12px rgba(23,34,52,.18)}.illustrated-node .material-symbols-rounded{font-size:15px}.node-info{left:46%;top:47%}.node-wc{left:57%;top:47%}

/* Map style selection */
.map-style-grid{gap:12px!important}.map-style-card{position:relative;padding:0 0 13px!important;border:1px solid #dfe6ee!important;border-radius:17px!important;background:#fff!important;overflow:hidden;box-shadow:0 7px 20px rgba(23,34,52,.06)!important}.map-style-card:hover{transform:translateY(-2px);border-color:#bdcadb;box-shadow:0 16px 34px rgba(23,34,52,.11)!important}.map-style-thumb{height:175px!important;border-radius:0!important;border:0!important;border-bottom:1px solid #e7ecf2!important}.map-style-card>strong,.map-style-card>span,.map-style-card>em{margin-left:13px;margin-right:13px}.map-style-card>strong{display:block;margin-top:11px;font-size:13px!important}.map-style-card>em{display:inline-block;margin-top:4px;padding:3px 6px;border-radius:999px;background:#f1f4f8;color:#6b778a;font-size:7px;font-style:normal;font-weight:800}.map-style-card>span:last-child{display:block;margin-top:5px;font-size:8px!important;color:#7d8797!important}

/* Topbar simplified */
.v2-topbar{top:12px!important;left:12px!important;right:12px!important;min-height:60px!important;padding:6px 7px!important;border-radius:17px!important;border:1px solid rgba(208,218,229,.94)!important;background:rgba(255,255,255,.92)!important;backdrop-filter:blur(20px) saturate(1.28)!important;box-shadow:0 11px 34px rgba(23,34,52,.12)!important}
.v2-brand{min-width:158px!important;padding:6px 8px!important;border-radius:11px!important}.v2-brand-mark{width:34px!important;height:34px!important;border-radius:10px!important}.v2-brand strong{font-size:11px!important}.v2-brand small{font-size:7px!important}
.studio-project-meta{min-width:190px!important;max-width:270px;padding-left:10px!important}.studio-project-title-input{width:100%;padding:0;border:0;outline:0;background:transparent;color:#202b3d;font-size:11px;font-weight:800;text-overflow:ellipsis}.studio-project-title-input:focus{box-shadow:0 1px 0 #3158d4}.studio-save-state{font-size:8px!important}
#v2ModeBtn,#v2AddBtn,#v2ElementsBtn,.legacy-scale-btn{display:none!important}
.v2-top-actions{position:relative;gap:5px!important}.v2-icon-btn,.v2-main-action,.v2-basemap-btn{height:40px!important;border-radius:10px!important}.v2-icon-btn{width:40px!important}.v2-main-action{padding:0 12px!important}.v2-basemap-btn{padding:0 11px!important}.v2-basemap-btn>span:nth-child(2){font-size:9px}.studio-save-btn{background:#172033!important;color:#fff!important;border-color:#172033!important}.studio-save-btn:hover{background:#25344f!important}.studio-more-btn{display:grid!important}
.studio-more-menu{position:absolute;right:0;top:48px;z-index:5000;width:270px;padding:7px;border:1px solid #dde4ed;border-radius:15px;background:rgba(255,255,255,.985);box-shadow:0 22px 60px rgba(23,34,52,.20);backdrop-filter:blur(18px)}.studio-more-menu button{width:100%;display:flex;align-items:center;gap:9px;padding:9px;border:0;border-radius:10px;background:transparent;color:#263349;text-align:left;cursor:pointer}.studio-more-menu button:hover{background:#f3f6fa}.studio-more-menu>.material-symbols-rounded,.studio-more-menu button>.material-symbols-rounded{font-size:19px;color:#65738a}.studio-more-menu button span:last-child{min-width:0}.studio-more-menu strong,.studio-more-menu small{display:block}.studio-more-menu strong{font-size:9px}.studio-more-menu small{margin-top:2px;color:#8a95a6;font-size:7px}

/* Tool dock */
.studio-tool-dock{left:12px!important;top:86px!important;padding:5px!important;gap:3px!important;border-radius:15px!important;border:1px solid rgba(210,219,230,.94)!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(18px)!important;box-shadow:0 12px 30px rgba(23,34,52,.12)!important}.studio-tool{width:48px!important;height:46px!important;border-radius:10px!important;color:#5f6b7e!important}.studio-tool .material-symbols-rounded{font-size:20px!important}.studio-tool small{font-size:6px!important}.studio-tool:hover{background:#f2f5f9!important;color:#27354b!important}.studio-tool.active{background:#edf3ff!important;color:#264fbf!important}

/* Popovers */
.studio-point-popover{position:absolute;z-index:4100;left:72px;top:142px;width:min(350px,calc(100vw - 90px));padding:13px;border:1px solid #dce4ed;border-radius:17px;background:rgba(255,255,255,.985);box-shadow:0 22px 66px rgba(23,34,52,.20);backdrop-filter:blur(18px)}.studio-point-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.studio-point-choice{display:flex;align-items:center;gap:7px;min-width:0;padding:7px;border:1px solid #e5eaf0;border-radius:10px;background:#fff;color:#354258;cursor:pointer}.studio-point-choice:hover{border-color:#c5d0de;background:#f8fafc}.studio-point-choice i{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:8px;color:#fff}.studio-point-choice span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;font-weight:800}.studio-point-custom{width:100%;margin-top:8px;padding:8px;border:0;border-radius:9px;background:#f3f6fa;color:#536176;font-size:8px;font-weight:800;cursor:pointer}.studio-point-custom .material-symbols-rounded{font-size:14px;vertical-align:-3px}.studio-shape-popover{left:72px!important;top:188px!important;width:220px!important;padding:10px!important;border-radius:15px!important;border:1px solid #dde4ed!important;background:rgba(255,255,255,.985)!important;box-shadow:0 22px 60px rgba(23,34,52,.18)!important}.studio-shape-popover strong{font-size:9px!important;color:#5c687a!important}.studio-shape-popover button{border-radius:9px!important;font-size:8px!important}
.studio-basemap-popover{top:78px!important;right:112px!important;width:min(520px,calc(100vw - 24px))!important;border-radius:17px!important}.studio-basemap-card{border-radius:12px!important}.studio-basemap-preview{height:82px!important}

/* Geo step becomes a focused command card */
.v2-step1{left:50%!important;top:88px!important;transform:translateX(-50%)!important;width:min(640px,calc(100vw - 100px))!important;max-height:calc(100vh - 120px)!important;padding:16px!important;border-radius:19px!important}.v2-step1 .v2-wizard-head{margin-bottom:10px!important}.v2-step1 .v2-wizard-head h2{font-size:18px!important}.v2-step1 .v2-wizard-head p{font-size:9px!important}.v2-step-badge{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border-radius:11px!important}.v2-step-badge .material-symbols-rounded{font-size:18px}.v2-step1 .global-settings{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;padding:0!important;margin-bottom:8px!important;background:transparent!important}.v2-step1 .search-row{display:grid!important;grid-template-columns:1fr auto;gap:7px!important}.v2-step1 .search-row input{height:42px!important;border-radius:11px!important;border-color:#dce3ec!important;background:#fff!important}.v2-step1 .search-row button{height:42px!important;border-radius:11px!important}.v2-step1 #searchStatus{margin:6px 2px!important;font-size:7px!important}.v2-step1 .search-results{max-height:210px!important;border-radius:11px!important}.v2-selected-wrap{margin-top:8px!important;padding:8px!important;border:1px solid #e5eaf0!important;border-radius:11px!important;background:#f8fafc!important}.v2-place-chip{border-radius:999px!important}.v2-wizard-footer{padding-top:10px!important}.v2-next-btn{min-height:40px!important;border-radius:11px!important}.v2-step2{display:none!important}

/* Quick start */
.studio-quickstart{position:absolute;z-index:2600;left:78px;top:92px;width:min(430px,calc(100vw - 100px));padding:14px 42px 14px 14px;border:1px solid #dce4ed;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 18px 52px rgba(23,34,52,.15);backdrop-filter:blur(18px)}.studio-quickstart-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#eef3ff;color:#3158d4;font-size:20px}.studio-quickstart-copy{margin-top:9px}.studio-quickstart-copy strong,.studio-quickstart-copy span{display:block}.studio-quickstart-copy strong{font-size:13px}.studio-quickstart-copy span{margin-top:3px;color:#758195;font-size:8px;line-height:1.45}.studio-quickstart-close{position:absolute;right:9px;top:9px;width:31px;height:31px;border:0;border-radius:9px;background:#f3f6f9;color:#6d7788;cursor:pointer}.studio-quickstart-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}.studio-quickstart-actions button{display:flex;align-items:center;gap:6px;padding:8px;border:1px solid #e1e7ef;border-radius:10px;background:#fff;color:#344157;font-size:8px;font-weight:800;cursor:pointer}.studio-quickstart-actions button:hover{border-color:#bdc9d8;background:#f8fafc}.studio-quickstart-actions .material-symbols-rounded{font-size:16px;color:#5870ad}

/* Inspector as one clear right workspace */
body.dynmap-v2 .right-inspector{top:84px!important;right:12px!important;bottom:12px!important;width:min(350px,calc(100vw - 24px))!important;padding:0!important;border-radius:18px!important;border:1px solid rgba(210,219,230,.94)!important;background:rgba(255,255,255,.98)!important;box-shadow:0 18px 54px rgba(23,34,52,.16)!important;overflow:auto!important}.right-inspector .section-title{position:sticky;top:0;z-index:4;padding:12px 13px 8px!important;border-bottom:0!important;background:rgba(255,255,255,.97)!important}.right-inspector .section-title h2{font-size:13px!important}.studio-inspector-tabs{position:sticky;top:48px;z-index:4;display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:5px 10px 9px;background:rgba(255,255,255,.97);border-bottom:1px solid #eef1f5}.studio-inspector-tabs button{display:flex;align-items:center;justify-content:center;gap:5px;height:33px;border:0;border-radius:9px;background:transparent;color:#748094;font-size:8px;font-weight:850;cursor:pointer}.studio-inspector-tabs button .material-symbols-rounded{font-size:15px}.studio-inspector-tabs button.active{background:#eef3ff;color:#3158d4}.elements-explorer,#pointInspector,#zoneInspector,#zoneTitleInspector,#imageInspector,#textInspector,#emptySelection{padding:10px 12px 14px!important}.explorer-search{position:sticky;top:91px;z-index:3;padding:0 0 8px;background:#fff}.explorer-search input{height:36px!important;border-radius:10px!important}.element-group{margin-bottom:11px!important}.element-group-title{padding:4px 3px!important;font-size:7px!important}.element-row{min-height:38px!important;border-radius:10px!important}.element-row:hover{background:#f4f7fa!important}.element-row-name{font-size:8px!important}.inspector-section-head{margin:-2px 0 9px!important;padding-bottom:8px!important;border-bottom:1px solid #edf1f5}.inspector-section-head strong{font-size:11px!important}.inspector-section-head span{font-size:7px!important}.right-inspector .field{gap:4px!important;margin-bottom:8px!important}.right-inspector .field>span{font-size:7px!important;font-weight:800!important;color:#687487!important}.right-inspector input:not([type=color]):not([type=range]),.right-inspector select,.right-inspector textarea{border-radius:9px!important;border-color:#dfe5ed!important;background:#fbfcfe!important}.right-inspector input[type=color]{height:35px!important;border-radius:9px!important}.right-inspector .switch-row{min-height:35px!important;border-radius:9px!important;background:#f8fafc!important}.right-inspector .secondary-btn{border-radius:9px!important}.studio-advanced-field{display:none!important}.show-advanced .studio-advanced-field{display:flex!important}.show-advanced .two-cols.studio-advanced-field{display:grid!important}.show-advanced .asset-upload-box.studio-advanced-field{display:block!important}.studio-advanced-toggle{width:100%;display:flex;align-items:center;gap:6px;margin:8px 0;padding:8px 9px;border:1px solid #e1e7ee;border-radius:9px;background:#f8fafc;color:#5f6c80;font-size:8px;font-weight:850;cursor:pointer}.studio-advanced-toggle .material-symbols-rounded{font-size:15px}.studio-advanced-chevron{margin-left:auto!important}.show-advanced .studio-advanced-chevron{transform:rotate(180deg)}

/* Illustrated canvas quality */
body.mode-illustrated #map{background-color:#f7f5ef!important;background-image:radial-gradient(circle at 1px 1px,rgba(106,118,133,.18) 1px,transparent 1.15px),linear-gradient(135deg,rgba(255,255,255,.5),rgba(255,255,255,.18))!important;background-size:22px 22px,100% 100%!important}.mode-illustrated .leaflet-overlay-pane svg path{filter:drop-shadow(0 5px 7px rgba(42,52,68,.16));stroke-linejoin:round!important;stroke-linecap:round!important}.mode-illustrated .zone-label{box-shadow:0 5px 14px rgba(23,34,52,.14)!important;border-radius:10px!important}.mode-illustrated .leaflet-control-attribution{display:none!important}

/* Settings drawer becomes a secondary place, not the product */
.v2-legacy-tools{position:fixed!important;z-index:5200!important;left:12px!important;top:84px!important;bottom:12px!important;width:min(360px,calc(100vw - 24px))!important;max-height:none!important;transform:translateX(calc(-100% - 28px))!important;transition:transform .22s ease!important;border:1px solid #dce4ed!important;border-radius:18px!important;background:#fff!important;box-shadow:0 24px 72px rgba(23,34,52,.22)!important;overflow:auto!important}.v2-legacy-tools.v2-open{transform:translateX(0)!important}.v2-legacy-tools .brand{position:sticky;top:0;z-index:4;background:rgba(255,255,255,.97);backdrop-filter:blur(14px);border-bottom:1px solid #edf1f5}.v2-legacy-tools .panel{border-radius:12px!important}.v2-legacy-tools footer{padding-bottom:18px}

/* Status and toasts */
.studio-statusbar{left:72px!important;bottom:10px!important;padding:4px!important;border-radius:10px!important}.studio-statusbar>span{font-size:7px!important}.studio-toast{position:fixed;z-index:12000;left:50%;bottom:22px;transform:translateX(-50%);display:flex;align-items:center;gap:7px;max-width:min(500px,calc(100vw - 30px));padding:9px 12px;border:1px solid rgba(210,219,230,.92);border-radius:999px;background:rgba(23,32,51,.94);box-shadow:0 14px 36px rgba(10,16,26,.22);color:#fff;font-size:8px;font-weight:800;backdrop-filter:blur(12px)}.studio-toast .material-symbols-rounded{font-size:16px;color:#9ed4ad}.placement-toast{bottom:54px!important;border-radius:999px!important}

/* Dialogs */
.home-return-dialog,.studio-shortcuts-dialog{border:0!important;border-radius:22px!important;background:transparent!important}.home-return-dialog::backdrop,.studio-shortcuts-dialog::backdrop{background:rgba(16,24,39,.5);backdrop-filter:blur(7px)}.studio-shortcuts-card{width:min(520px,calc(100vw - 28px));box-sizing:border-box;padding:20px;border:1px solid #dce4ed;border-radius:20px;background:#fff;box-shadow:0 28px 90px rgba(23,34,52,.27)}.shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:14px 0}.shortcut-grid span{display:flex;align-items:center;gap:8px;padding:8px;border-radius:9px;background:#f6f8fb}.shortcut-grid kbd{min-width:47px;padding:4px 6px;border:1px solid #d6dde7;border-bottom-width:2px;border-radius:6px;background:#fff;color:#344157;font-size:7px;text-align:center}.shortcut-grid b{font-size:8px;color:#556176}

/* Draw visuals */
.leaflet-draw-tooltip{border:0!important;border-radius:9px!important;background:#172033!important;box-shadow:0 8px 24px rgba(23,34,52,.18)!important;font-size:8px!important}.leaflet-editing-icon{width:12px!important;height:12px!important;margin-left:-6px!important;margin-top:-6px!important;border:2px solid #fff!important;border-radius:50%!important;background:#3158d4!important;box-shadow:0 2px 7px rgba(23,34,52,.25)!important}

/* Mobile */
@media(max-width:900px){
  .project-type-shell{width:min(760px,calc(100vw - 20px))!important;padding:15px!important;border-radius:22px!important}.launchpad-head{align-items:flex-start;flex-direction:column;gap:12px}.launchpad-actions{width:100%}.launchpad-secondary{flex:1}.project-family-grid-premium{grid-template-columns:1fr!important}.family-card-premium{display:grid!important;grid-template-columns:42% 58%;align-items:stretch}.family-card-premium .family-preview{height:185px!important;border-bottom:0!important;border-right:1px solid #e7ecf2!important}.family-card-premium .family-copy{display:flex;flex-direction:column;justify-content:center}.launchpad-foot{display:none}.map-style-grid{grid-template-columns:1fr!important}.map-style-card{display:grid!important;grid-template-columns:180px 1fr;align-items:center;padding:0!important}.map-style-thumb{height:110px!important;border-bottom:0!important;border-right:1px solid #e7ecf2!important}.map-style-card>strong,.map-style-card>em,.map-style-card>span:last-child{grid-column:2;margin-left:12px}.map-style-card>strong{align-self:end}.map-style-card>span:last-child{align-self:start;margin-bottom:8px}
  .studio-project-meta{display:flex!important;min-width:0!important;max-width:145px!important}.studio-project-title-input{font-size:9px}.v2-main-action span:last-child,.v2-basemap-btn>span:nth-child(2){display:none!important}.v2-main-action{width:40px!important;padding:0!important;justify-content:center!important}.v2-basemap-btn{width:40px!important;padding:0!important;justify-content:center!important}.v2-basemap-chevron{display:none!important}.studio-more-menu{position:fixed;right:8px;top:70px;width:min(290px,calc(100vw - 16px))}
  .studio-tool-dock{position:fixed!important;left:50%!important;top:auto!important;bottom:8px!important;transform:translateX(-50%)!important;display:flex!important;flex-direction:row!important;max-width:calc(100vw - 16px);overflow-x:auto}.studio-tool{flex:0 0 44px!important;width:44px!important;height:43px!important}.studio-tool small{display:none}.studio-tool-separator{width:1px!important;height:28px!important;margin:7px 2px!important}.studio-statusbar{display:none!important}.studio-point-popover,.studio-shape-popover{position:fixed!important;left:8px!important;right:8px!important;top:auto!important;bottom:62px!important;width:auto!important}.studio-point-grid{grid-template-columns:repeat(2,1fr)}.studio-basemap-popover{position:fixed!important;left:8px!important;right:8px!important;top:70px!important;width:auto!important}.v2-step1{left:8px!important;right:8px!important;top:74px!important;width:auto!important;transform:none!important;max-height:calc(100vh - 90px)!important}.studio-quickstart{left:8px;right:8px;top:76px;width:auto}.right-inspector{position:fixed!important;left:8px!important;right:8px!important;top:auto!important;bottom:60px!important;width:auto!important;max-height:66vh!important;border-radius:18px 18px 14px 14px!important}.studio-inspector-tabs{top:48px}.explorer-search{top:91px}.v2-legacy-tools{left:8px!important;right:8px!important;top:auto!important;bottom:8px!important;width:auto!important;height:min(74vh,720px)!important;transform:translateY(calc(100% + 22px))!important;border-radius:20px 20px 14px 14px!important}.v2-legacy-tools.v2-open{transform:translateY(0)!important}.accessibility-fab{right:10px!important;top:auto!important;bottom:70px!important}.accessibility-panel{right:8px!important;bottom:120px!important;top:auto!important;width:min(320px,calc(100vw - 16px))!important}.leaflet-control-zoom{margin-left:8px!important;margin-top:72px!important}
}
@media(max-width:560px){
  .v2-topbar{top:6px!important;left:6px!important;right:6px!important;min-height:54px!important}.v2-brand{min-width:auto!important;padding:4px!important}.v2-brand>span:last-child{display:none}.v2-brand-mark{width:34px!important;height:34px!important}.studio-project-meta{max-width:118px!important;padding-left:7px!important}.studio-save-state{display:none!important}#undoBtn,#redoBtn{display:none!important}.family-card-premium{display:block!important}.family-card-premium .family-preview{height:150px!important;border-right:0!important;border-bottom:1px solid #e7ecf2!important}.family-card-premium .family-copy{padding:12px 13px!important}.family-copy>span{min-height:0!important}.family-chips{display:none}.launchpad-copy h1{font-size:27px}.launchpad-copy p{font-size:10px}.launchpad-secondary small{display:none}.map-style-card{grid-template-columns:125px 1fr!important}.map-style-thumb{height:92px!important}.studio-quickstart-actions{grid-template-columns:1fr}.shortcut-grid{grid-template-columns:1fr}.v2-step1 .global-settings{grid-template-columns:1fr}.studio-point-grid{grid-template-columns:1fr 1fr}
}

.hidden{display:none!important;}

/* alpha.20 finishing touches */
.custom-marker.material-marker{
  position:relative!important;
  transform:none!important;
  border-radius:50%!important;
  border:3px solid #fff!important;
  box-shadow:0 7px 18px rgba(18,31,53,.28),0 1px 4px rgba(18,31,53,.18)!important;
  isolation:isolate;
}
.custom-marker.material-marker::after{
  content:"";
  position:absolute;
  z-index:-1;
  left:50%;
  bottom:-7px;
  width:13px;
  height:13px;
  background:inherit;
  border-right:3px solid #fff;
  border-bottom:3px solid #fff;
  border-radius:2px;
  transform:translateX(-50%) rotate(45deg);
}
.custom-marker.material-marker .marker-symbol{transform:none!important;font-size:calc(var(--marker-size,34px)*.46)!important}
.selected-marker .custom-marker.material-marker{outline:4px solid rgba(49,88,212,.20)!important;outline-offset:4px!important}
.marker-label{border:1px solid rgba(214,222,232,.95)!important;border-radius:8px!important;box-shadow:0 5px 14px rgba(18,31,53,.12)!important;padding:4px 7px!important}
body.mode-illustrated #v2BasemapBtn{display:none!important}
body.mode-illustrated .studio-statusbar>span:nth-child(3){display:none!important}


/* ==========================================================
   DynMap 2.0 alpha.22 — PROFESSIONAL WORKSPACE
   ========================================================== */
:root{
  --pro-bg:#eef2f6;
  --pro-panel:#ffffff;
  --pro-ink:#0f172a;
  --pro-muted:#667085;
  --pro-line:#d8e0ea;
  --pro-line-soft:#e9eef4;
  --pro-accent:#3158d4;
  --pro-accent-strong:#2446b5;
  --pro-accent-soft:#eef3ff;
  --pro-success:#15803d;
  --pro-shadow:0 18px 60px rgba(15,23,42,.14);
  --pro-shadow-soft:0 8px 24px rgba(15,23,42,.09);
  --pro-radius:14px;
}

/* Global clarity */
body.dynmap-v2{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;background:var(--pro-bg)!important;color:var(--pro-ink)!important}
button,input,select,textarea{font:inherit}
button{letter-spacing:0}
.material-symbols-rounded{font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24}

/* Launchpad — real product home */
.project-type-chooser{background:#edf2f7!important;padding:24px!important}
.project-type-shell{width:min(1120px,100%)!important;max-height:calc(100dvh - 48px)!important;padding:0!important;border:1px solid #d6dee8!important;border-radius:22px!important;background:#fff!important;box-shadow:0 32px 90px rgba(15,23,42,.18)!important;overflow:hidden!important}
.project-type-brand{height:64px!important;margin:0!important;padding:0 24px!important;border-bottom:1px solid var(--pro-line-soft);display:flex!important;align-items:center!important;background:#fff}
.project-type-logo{width:36px!important;height:36px!important;border-radius:10px!important;background:#172033!important;font-size:17px!important}
.project-type-brand strong{font-size:13px!important}.project-type-brand small{font-size:9px!important}
.launchpad-main{padding:34px 36px 26px!important}
.launchpad-head{margin-bottom:28px!important;display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:24px!important}
.launchpad-copy{max-width:720px}
.project-type-kicker{display:inline-flex!important;align-items:center!important;padding:5px 8px!important;border-radius:7px!important;background:#eef3ff!important;color:#3158d4!important;font-size:8px!important;letter-spacing:.12em!important}
.launchpad-copy h1{margin:12px 0 8px!important;font-size:clamp(32px,4.2vw,52px)!important;line-height:1.02!important;letter-spacing:-.045em!important;color:#101828!important}
.launchpad-copy p{max-width:650px!important;margin:0!important;font-size:13px!important;line-height:1.55!important;color:#667085!important}
.pro-launch-pills{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}.pro-launch-pills>span{display:flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#596579;font-size:8px;font-weight:750}.pro-launch-pills .material-symbols-rounded{font-size:13px;color:#3158d4}
.launchpad-actions{display:flex!important;gap:8px!important}.launchpad-secondary{min-width:145px!important;padding:9px 11px!important;border:1px solid #d9e1eb!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important}.launchpad-secondary:hover{background:#f7f9fc!important;border-color:#bac7d8!important}.launchpad-secondary>.material-symbols-rounded{color:#3158d4!important;font-size:19px!important}.launchpad-secondary strong{font-size:9px!important}.launchpad-secondary small{font-size:7px!important}
.project-family-grid-premium{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
.family-card-premium{min-height:0!important;border:1px solid #dbe3ed!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 16px rgba(15,23,42,.05)!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important}
.family-card-premium:hover{transform:translateY(-3px)!important;border-color:#9db2d2!important;box-shadow:0 16px 36px rgba(15,23,42,.11)!important}
.family-card-premium .family-preview{height:225px!important;border:0!important;border-bottom:1px solid #e4eaf1!important;background:#eef3f7!important}
.family-card-premium .family-copy{padding:18px 18px 17px!important}.family-title-line{display:flex!important;align-items:center!important;gap:9px!important}.family-title-line strong{font-size:15px!important;color:#172033!important;margin:0!important}.pro-card-icon{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;border-radius:9px!important;background:#eef3ff!important;color:#3158d4!important;font-size:17px!important}.family-arrow{margin-left:auto!important;color:#8b98aa!important;font-size:18px!important;transition:transform .18s ease}.family-card-premium:hover .family-arrow{transform:translateX(3px);color:#3158d4!important}.family-copy>span{margin:9px 0 14px!important;min-height:34px!important;font-size:10px!important;line-height:1.55!important;color:#687588!important}.family-chips{display:flex!important;gap:5px!important;flex-wrap:wrap!important}.family-chips i{padding:4px 6px!important;border:1px solid #e5eaf0!important;border-radius:6px!important;background:#f8fafc!important;color:#697586!important;font-size:7px!important;font-style:normal!important}.family-preview-badge{top:10px!important;left:10px!important;padding:5px 7px!important;border:1px solid rgba(255,255,255,.75)!important;border-radius:8px!important;background:rgba(255,255,255,.9)!important;box-shadow:0 4px 14px rgba(15,23,42,.08)!important;font-size:7px!important;color:#475467!important}.family-preview-badge .material-symbols-rounded{font-size:13px!important}
.launchpad-foot{margin-top:20px!important;padding-top:16px!important;border-top:1px solid #edf1f5!important}.launchpad-foot span{font-size:7px!important;color:#7b8799!important}.launchpad-foot .material-symbols-rounded{font-size:13px!important;color:#4d6dbf!important}

/* Basemap choice */
#projectChoiceMapStyle{padding:28px 36px 34px!important}.chooser-back{margin-bottom:4px!important;font-size:9px!important}.project-type-intro{text-align:left!important;margin:0 0 22px!important;max-width:720px!important}.project-type-intro h1{font-size:34px!important}.map-style-grid{gap:14px!important}.map-style-card{position:relative!important;padding:0 0 14px!important;border:1px solid #dce4ed!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 5px 16px rgba(15,23,42,.05)!important}.map-style-card:hover{transform:translateY(-2px)!important;border-color:#aebdd1!important;box-shadow:0 13px 30px rgba(15,23,42,.10)!important}.map-style-thumb{height:150px!important;border:0!important;border-bottom:1px solid #e5eaf0!important;border-radius:0!important}.map-style-card>strong,.map-style-card>em,.map-style-card>span:last-child,.pro-style-title{margin-left:14px!important;margin-right:14px!important}.pro-style-title{display:flex!important;align-items:center!important;gap:7px!important;margin-top:12px!important}.pro-style-title strong{margin:0!important}.pro-style-title i{padding:3px 5px;border-radius:5px;background:#eef3ff;color:#3158d4;font-size:6px;font-style:normal;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.map-style-card strong{font-size:11px!important}.map-style-card em{font-size:7px!important;color:#3158d4!important;font-style:normal!important;font-weight:800!important}.map-style-card>span:last-child{margin-top:4px!important;font-size:8px!important;color:#778397!important}

/* Workspace topbar */
.v2-topbar{top:10px!important;left:10px!important;right:10px!important;min-height:56px!important;padding:6px!important;gap:5px!important;border:1px solid #263246!important;border-radius:14px!important;background:#172033!important;box-shadow:0 12px 34px rgba(15,23,42,.24)!important;backdrop-filter:none!important}
.v2-brand{min-width:160px!important;padding:4px 7px!important;border-radius:9px!important;background:transparent!important;color:#fff!important}.v2-brand:hover{background:#22304a!important}.v2-brand-mark{width:34px!important;height:34px!important;border-radius:9px!important;background:#fff!important;color:#172033!important}.v2-brand strong{color:#fff!important;font-size:11px!important}.v2-brand small{color:#aab5c5!important;font-size:7px!important}.studio-project-meta{border-left:1px solid #314057!important;padding-left:10px!important}.studio-project-title-input{max-width:210px!important;color:#fff!important;background:transparent!important;border:0!important;font-size:10px!important;font-weight:800!important}.studio-project-title-input:focus{outline:none!important;background:#22304a!important}.studio-save-state{font-size:7px!important}.studio-save-state.is-saved{color:#8ee3ae!important}.studio-save-state.is-dirty{color:#ffd28b!important}
.v2-top-actions{gap:3px!important}.v2-icon-btn,.v2-mode-btn{width:38px!important;height:38px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#cbd5e1!important}.v2-icon-btn:hover,.v2-mode-btn:hover{background:#24324a!important;color:#fff!important}.v2-icon-btn:disabled{opacity:.35!important}.v2-basemap-btn,.v2-main-action{height:38px!important;padding:0 10px!important;border:1px solid #34435b!important;border-radius:9px!important;background:#202c40!important;color:#eef2f7!important;font-size:8px!important}.v2-basemap-btn:hover,.v2-main-action:hover{background:#29374e!important;border-color:#465873!important}.studio-save-btn{background:#fff!important;color:#172033!important;border-color:#fff!important}.studio-save-btn:hover{background:#eef2f7!important}.pro-export-btn{background:#3158d4!important;color:#fff!important;border-color:#3158d4!important}.pro-export-btn:hover{background:#2446b5!important;border-color:#2446b5!important}
body.mode-illustrated #studioSearchBtn{display:none!important}

/* Main creation rail */
.studio-tool-dock{left:10px!important;top:78px!important;gap:3px!important;padding:5px!important;border:1px solid #d6dfe9!important;border-radius:13px!important;background:#fff!important;box-shadow:var(--pro-shadow-soft)!important}.studio-tool{width:50px!important;height:48px!important;border-radius:9px!important;color:#657085!important}.studio-tool:hover{background:#f2f5f9!important;color:#172033!important}.studio-tool.active{background:#eef3ff!important;color:#3158d4!important}.studio-tool .material-symbols-rounded{font-size:20px!important}.studio-tool small{font-size:6.5px!important;font-weight:850!important}.studio-tool-separator{background:#e4e9ef!important}

/* Search / onboarding panels */
.v2-wizard{left:74px!important;top:78px!important;width:min(460px,calc(100vw - 100px))!important;border:1px solid #d8e1eb!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--pro-shadow)!important;backdrop-filter:none!important}.v2-wizard-head{padding-bottom:13px!important;border-bottom:1px solid #edf1f5!important}.v2-step-kicker{font-size:7px!important;color:#3158d4!important;letter-spacing:.12em!important}.v2-wizard-head h2{margin:5px 0!important;font-size:20px!important;letter-spacing:-.02em!important}.v2-wizard-head p{font-size:9px!important;line-height:1.5!important;color:#748095!important}.v2-step-badge{width:34px!important;height:34px!important;background:#eef3ff!important;color:#3158d4!important}.v2-wizard input,.v2-wizard select{min-height:38px!important;border:1px solid #dbe3ed!important;border-radius:9px!important;background:#fff!important}.v2-next-btn{min-height:38px!important;border-radius:9px!important;background:#3158d4!important;box-shadow:none!important}.v2-next-btn:hover{background:#2446b5!important}.studio-quickstart{left:74px!important;top:78px!important;width:min(390px,calc(100vw - 100px))!important;padding:14px!important;border:1px solid #d8e1eb!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--pro-shadow)!important}.studio-quickstart-icon{background:#eef3ff!important;color:#3158d4!important}.studio-quickstart-copy strong{font-size:11px!important}.studio-quickstart-copy span{font-size:8px!important}.studio-quickstart-actions button{border-radius:9px!important}

/* Basemap popover */
.studio-basemap-popover{top:76px!important;right:90px!important;width:min(500px,calc(100vw - 100px))!important;padding:12px!important;border:1px solid #d8e0ea!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--pro-shadow)!important}.studio-popover-head strong{font-size:12px!important}.studio-popover-head small{font-size:8px!important}.studio-basemap-grid{gap:8px!important}.studio-basemap-card{border-radius:10px!important}.studio-basemap-preview{height:86px!important}.studio-basemap-card strong{font-size:9px!important}.studio-basemap-card small{font-size:7px!important}

/* Right inspector — productivity panel */
body.dynmap-v2 .right-inspector{top:78px!important;right:10px!important;bottom:10px!important;width:340px!important;border:1px solid #d7e0ea!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--pro-shadow)!important;backdrop-filter:none!important}.right-inspector .section-title{min-height:48px!important;padding:10px 11px!important;background:#fff!important;border-bottom:1px solid #edf1f5!important}.right-inspector .section-title h2{font-size:11px!important}.inspector-title-actions .badge{font-size:6.5px!important}.studio-inspector-tabs{top:49px!important;padding:5px!important;border-bottom:1px solid #edf1f5!important;background:#fff!important}.studio-inspector-tabs button{min-height:33px!important;border-radius:8px!important;font-size:8px!important}.studio-inspector-tabs button.active{background:#eef3ff!important;color:#3158d4!important}.studio-inspector-tabs .material-symbols-rounded{font-size:15px!important}.pro-inspector-intro{display:flex;align-items:center;gap:8px;margin:9px 10px 5px;padding:9px;border:1px solid #e7ecf2;border-radius:9px;background:#fafbfd;color:#657085}.pro-inspector-intro>.material-symbols-rounded{font-size:18px;color:#3158d4}.pro-inspector-intro strong,.pro-inspector-intro small{display:block}.pro-inspector-intro strong{font-size:8px;color:#344054}.pro-inspector-intro small{margin-top:2px;font-size:7px}.explorer-search{top:92px!important;padding:7px 10px!important;background:#fff!important}.explorer-search input{height:34px!important;border:1px solid #dce4ed!important;border-radius:8px!important;background:#f9fafb!important;font-size:8px!important}.element-group-title{font-size:7px!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:#8490a1!important}.element-row{min-height:38px!important;border-radius:8px!important}.element-row-name{font-size:8px!important}.right-inspector .field>span,.right-inspector .switch-row span{font-size:7px!important}.right-inspector input,.right-inspector select,.right-inspector textarea{border-radius:8px!important;border-color:#dce3ec!important;font-size:8px!important}.studio-advanced-toggle{border-radius:8px!important}.empty-selection{font-size:8px!important}

/* Map controls and status */
.leaflet-control-zoom{margin-top:74px!important;margin-left:72px!important;border:1px solid #d4dde8!important;border-radius:10px!important;background:#fff!important;box-shadow:var(--pro-shadow-soft)!important}.leaflet-control-zoom a{width:34px!important;height:34px!important;line-height:34px!important;color:#344054!important}.studio-statusbar{left:72px!important;bottom:9px!important;border:1px solid #d8e0e9!important;border-radius:9px!important;background:#fff!important;box-shadow:0 6px 18px rgba(15,23,42,.08)!important}.studio-statusbar>span{font-size:6.5px!important}.studio-status-local{background:#eefaf2!important;color:#15803d!important}.accessibility-fab{right:12px!important;top:auto!important;bottom:14px!important;width:38px!important;height:38px!important;border:1px solid #d6dee8!important;border-radius:10px!important;background:#fff!important;color:#556176!important;box-shadow:0 7px 20px rgba(15,23,42,.10)!important}.accessibility-fab:hover{color:#3158d4!important;border-color:#aebed4!important}.accessibility-fab .material-symbols-rounded{font-size:18px!important}.accessibility-panel{right:58px!important;top:auto!important;bottom:12px!important;transform:none!important;width:300px!important;border-radius:12px!important;box-shadow:var(--pro-shadow)!important}.studio-toast{bottom:18px!important;border-radius:9px!important;background:#172033!important}

/* Illustrated mode as a design canvas */
body.mode-illustrated #map{background-color:#e9eef3!important;background-image:none!important}.mode-illustrated #map::before{content:"";position:absolute;z-index:0;left:7%;right:7%;top:8%;bottom:8%;border:1px solid #d3dbe5;border-radius:4px;background-color:#fff;background-image:radial-gradient(circle at 1px 1px,rgba(123,135,151,.17) 1px,transparent 1.2px);background-size:20px 20px;box-shadow:0 18px 50px rgba(15,23,42,.12)}.mode-illustrated .leaflet-map-pane{z-index:1!important}.mode-illustrated .leaflet-overlay-pane svg path{filter:drop-shadow(0 4px 7px rgba(15,23,42,.13))!important}.mode-illustrated .zone-label{border-radius:7px!important;box-shadow:0 4px 12px rgba(15,23,42,.11)!important}

/* Dialogs */
dialog{font-family:inherit!important}.home-return-dialog .home-return-card,.studio-shortcuts-card,.privacy-dialog form,.category-edit-dialog form{border-radius:16px!important;border:1px solid #d7e0ea!important;background:#fff!important;box-shadow:0 30px 90px rgba(15,23,42,.25)!important}.home-return-icon{border-radius:10px!important;background:#eef3ff!important;color:#3158d4!important}.home-return-card h2{font-size:19px!important}.home-return-card p{font-size:10px!important}.home-return-actions .btn{min-height:42px!important;border-radius:9px!important}.home-return-primary{background:#3158d4!important;border-color:#3158d4!important}.home-return-secondary{background:#fff!important}.home-return-cancel{font-size:9px!important}

/* Legacy settings remain available but visually secondary */
.v2-legacy-tools{top:76px!important;left:10px!important;bottom:10px!important;width:350px!important;border-radius:14px!important;border-color:#d7e0ea!important;box-shadow:var(--pro-shadow)!important}.v2-legacy-tools .brand{background:#fff!important}.v2-legacy-tools .panel{border-radius:9px!important}.v2-legacy-tools .field>span,.v2-legacy-tools .switch-row span{font-size:8px!important}

/* Inputs / buttons consistency */
.primary-btn,.secondary-btn,.glass-btn,.file-btn{border-radius:9px!important}.primary-btn{background:#3158d4!important;border-color:#3158d4!important}.primary-btn:hover{background:#2446b5!important}.secondary-btn{border-color:#d9e1ea!important;background:#fff!important;color:#344054!important}.secondary-btn:hover{background:#f7f9fb!important}.danger{color:#b42318!important}

/* Responsive */
@media(max-width:980px){
 .project-type-chooser{padding:12px!important}.project-type-shell{max-height:calc(100dvh - 24px)!important}.launchpad-main{padding:24px!important}.launchpad-head{align-items:flex-start!important;flex-direction:column!important}.launchpad-actions{width:100%!important}.launchpad-secondary{flex:1!important}.family-card-premium .family-preview{height:190px!important}.studio-project-meta{display:flex!important;max-width:150px!important}.studio-context-action{display:none!important}.right-inspector{width:min(340px,calc(100vw - 20px))!important}
}
@media(max-width:720px){
 .project-type-brand{height:56px!important;padding:0 16px!important}.launchpad-main{padding:18px!important}.launchpad-copy h1{font-size:31px!important}.project-family-grid-premium{grid-template-columns:1fr!important}.family-card-premium{display:grid!important;grid-template-columns:40% 60%!important}.family-card-premium .family-preview{height:170px!important;border-right:1px solid #e4eaf1!important;border-bottom:0!important}.family-card-premium .family-copy{display:flex!important;flex-direction:column!important;justify-content:center!important}.launchpad-foot{display:none!important}
 .v2-topbar{top:6px!important;left:6px!important;right:6px!important}.studio-tool-dock{bottom:6px!important}.right-inspector{left:6px!important;right:6px!important;bottom:58px!important;width:auto!important}.studio-basemap-popover{left:6px!important;right:6px!important;top:68px!important;width:auto!important}.accessibility-fab{right:8px!important;bottom:64px!important}.accessibility-panel{right:6px!important;bottom:108px!important;width:min(300px,calc(100vw - 12px))!important}.v2-wizard{left:6px!important;right:6px!important;top:68px!important;width:auto!important}.studio-quickstart{left:6px!important;right:6px!important;top:68px!important;width:auto!important}.mode-illustrated #map::before{left:3%;right:3%;top:8%;bottom:10%}
}
@media(max-width:520px){
 .launchpad-main{padding:15px!important}.launchpad-copy h1{font-size:27px!important}.pro-launch-pills{display:none}.family-card-premium{display:block!important}.family-card-premium .family-preview{height:148px!important;border-right:0!important;border-bottom:1px solid #e4eaf1!important}.family-copy>span{display:none!important}.family-chips{display:none!important}.launchpad-actions{gap:6px!important}.launchpad-secondary{min-width:0!important}.v2-brand{min-width:auto!important}.studio-project-meta{max-width:115px!important}.studio-save-btn,.pro-export-btn{width:38px!important;padding:0!important;justify-content:center!important}.studio-save-btn span:last-child,.pro-export-btn span:last-child{display:none!important}.v2-basemap-btn{width:38px!important;padding:0!important}.studio-tool-dock{max-width:calc(100vw - 12px)!important}.studio-tool{width:43px!important;flex-basis:43px!important}.home-return-actions{grid-template-columns:1fr!important}
}


/* ==========================================================
   DYNMAP 2.0 ALPHA.22 — PROFESSIONAL WORKSPACE
   Refonte visible : accueil split-screen + app shell desktop.
   ========================================================== */

:root{
  --dm-ink:#101828;
  --dm-muted:#667085;
  --dm-border:#e4e7ec;
  --dm-soft:#f5f7fa;
  --dm-panel:#ffffff;
  --dm-navy:#111827;
  --dm-navy-2:#1f2937;
  --dm-blue:#2f5bea;
  --dm-blue-soft:#eef3ff;
  --dm-green:#16a36a;
  --dm-shadow:0 16px 40px rgba(16,24,40,.12);
  --dm-shadow-lg:0 30px 90px rgba(16,24,40,.18);
}

html,body,.app-shell,.map-stage{height:100%}
body.dynmap-v2{
  margin:0;
  background:#eef2f6!important;
  color:var(--dm-ink)!important;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}

/* Global build marker: always visible, on every main screen. */
.dynmap-global-version{
  position:fixed;
  z-index:120000;
  right:12px;
  bottom:10px;
  padding:5px 8px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:7px;
  background:rgba(17,24,39,.88);
  color:#fff;
  font-size:7px;
  font-weight:800;
  letter-spacing:.04em;
  backdrop-filter:blur(12px);
  box-shadow:0 6px 18px rgba(16,24,40,.16);
  pointer-events:none;
}

/* ---------- HOME / CHOOSER ---------- */
.project-type-chooser{
  position:fixed!important;
  inset:0!important;
  z-index:10000!important;
  display:grid!important;
  padding:0!important;
  background:#f4f6f8!important;
  backdrop-filter:none!important;
}
.project-type-chooser.hidden{display:none!important}

.project-type-shell{
  position:relative!important;
  width:100vw!important;
  height:100dvh!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:300px minmax(0,1fr)!important;
  grid-template-rows:72px minmax(0,1fr)!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:#f7f8fa!important;
  box-shadow:none!important;
}

/* Left brand rail */
.project-type-brand{
  grid-column:1!important;
  grid-row:1!important;
  height:auto!important;
  padding:0 26px!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  border:0!important;
  background:var(--dm-navy)!important;
  color:#fff!important;
}
.project-type-logo{
  width:36px!important;
  height:36px!important;
  border-radius:10px!important;
  display:grid!important;
  place-items:center!important;
  background:#fff!important;
  color:var(--dm-navy)!important;
  font-size:17px!important;
  font-weight:900!important;
}
.project-type-brand strong{
  display:block;
  color:#fff!important;
  font-size:12px!important;
}
.project-type-brand small{
  display:block;
  margin-top:2px;
  color:#98a2b3!important;
  font-size:8px!important;
}
.welcome-side-content{
  grid-column:1;
  grid-row:2;
  min-height:0;
  padding:38px 26px 24px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:linear-gradient(180deg,var(--dm-navy) 0%,#0b1220 100%);
  color:#fff;
}
.welcome-eyebrow{
  display:inline-block;
  margin-bottom:16px;
  font-size:7px;
  font-weight:900;
  letter-spacing:.16em;
  color:#8fb0ff;
}
.welcome-side-copy h2{
  margin:0;
  font-size:31px;
  line-height:1.03;
  letter-spacing:-.045em;
  font-weight:760;
}
.welcome-side-copy p{
  margin:18px 0 0;
  max-width:230px;
  color:#aab4c4;
  font-size:10px;
  line-height:1.65;
}
.welcome-benefits{
  display:grid;
  gap:10px;
  margin-top:28px;
}
.welcome-benefits>span{
  display:flex;
  align-items:center;
  gap:7px;
  color:#d4dae4;
  font-size:9px;
  font-weight:650;
}
.welcome-benefits .material-symbols-rounded{
  font-size:15px;
  color:#74d6aa;
}
.welcome-side-foot{
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.10);
}
.welcome-side-foot span,.welcome-side-foot strong{display:block}
.welcome-side-foot span{
  color:#8490a3;
  font-size:8px;
}
.welcome-side-foot strong{
  margin-top:5px;
  color:#fff;
  font-size:9px;
}

/* Main launcher workspace */
.launchpad-main,
#projectChoiceMapStyle{
  grid-column:2!important;
  grid-row:1 / span 2!important;
  min-width:0!important;
  min-height:0!important;
  overflow:auto!important;
  padding:54px clamp(34px,5vw,78px) 36px!important;
  background:
    radial-gradient(circle at 85% 10%,rgba(47,91,234,.07),transparent 28%),
    #f7f8fa!important;
}
.launchpad-main{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
.launchpad-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:24px!important;
  width:min(1040px,100%)!important;
  margin:0 auto 28px!important;
}
.launchpad-copy{max-width:650px}
.project-type-kicker{
  display:inline-block!important;
  margin:0 0 10px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--dm-blue)!important;
  font-size:8px!important;
  font-weight:900!important;
  letter-spacing:.14em!important;
}
.launchpad-copy h1,.project-type-intro h1{
  margin:0!important;
  color:var(--dm-ink)!important;
  font-size:clamp(34px,4vw,54px)!important;
  line-height:1!important;
  letter-spacing:-.05em!important;
  font-weight:760!important;
}
.launchpad-copy p,.project-type-intro p{
  margin:13px 0 0!important;
  color:var(--dm-muted)!important;
  font-size:11px!important;
  line-height:1.55!important;
}
.pro-launch-pills{display:none!important}

.launchpad-actions{
  display:flex!important;
  gap:8px!important;
  flex:0 0 auto!important;
}
.launchpad-secondary{
  min-width:145px!important;
  min-height:46px!important;
  padding:8px 12px!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  border:1px solid #d7dee8!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#344054!important;
  box-shadow:0 3px 10px rgba(16,24,40,.04)!important;
  text-align:left!important;
}
.launchpad-secondary:hover{
  border-color:#aebbd0!important;
  background:#fff!important;
  box-shadow:0 8px 20px rgba(16,24,40,.08)!important;
  transform:translateY(-1px);
}
.launchpad-secondary .material-symbols-rounded{
  font-size:19px!important;
  color:var(--dm-blue)!important;
}
.launchpad-secondary strong{font-size:9px!important}
.launchpad-secondary small{font-size:7px!important;color:#8a94a5!important}

/* Two clearly professional project cards */
.project-family-grid-premium{
  width:min(1040px,100%)!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:14px!important;
}
.family-card-premium{
  position:relative!important;
  min-height:0!important;
  overflow:hidden!important;
  border:1px solid #d9e0e9!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(16,24,40,.06)!important;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
.family-card-premium:hover{
  transform:translateY(-2px)!important;
  border-color:#aebcd1!important;
  box-shadow:0 16px 36px rgba(16,24,40,.11)!important;
}
.family-card-premium .family-preview{
  height:238px!important;
  border:0!important;
  border-bottom:1px solid #e4e9ef!important;
  border-radius:0!important;
  background:#e9eef4!important;
}
.family-card-premium .family-copy{
  padding:17px 18px 18px!important;
  background:#fff!important;
}
.family-title-line{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
}
.pro-card-icon{
  width:28px!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 auto!important;
  border-radius:7px!important;
  background:#eef3ff!important;
  color:var(--dm-blue)!important;
  font-size:16px!important;
}
.family-title-line strong{
  color:var(--dm-ink)!important;
  font-size:14px!important;
  letter-spacing:-.015em!important;
}
.family-arrow{
  margin-left:auto!important;
  color:#98a2b3!important;
  font-size:17px!important;
}
.family-copy>span{
  display:block!important;
  margin-top:7px!important;
  color:#667085!important;
  font-size:9px!important;
  line-height:1.5!important;
}
.family-chips{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:5px!important;
  margin-top:14px!important;
}
.family-chips i{
  padding:4px 7px!important;
  border:1px solid #e4e7ec!important;
  border-radius:5px!important;
  background:#f9fafb!important;
  color:#667085!important;
  font-size:6.5px!important;
  font-style:normal!important;
}
.family-preview-badge{
  top:10px!important;
  left:10px!important;
  padding:6px 8px!important;
  border:1px solid rgba(255,255,255,.9)!important;
  border-radius:7px!important;
  background:rgba(255,255,255,.92)!important;
  color:#344054!important;
  font-size:7px!important;
  box-shadow:0 4px 12px rgba(16,24,40,.08)!important;
}
.launchpad-foot{
  width:min(1040px,100%)!important;
  margin:18px auto 0!important;
  padding-top:14px!important;
  display:flex!important;
  gap:18px!important;
  border-top:1px solid #e4e7ec!important;
  color:#7d8797!important;
}
.launchpad-foot>span{font-size:7px!important}

/* Map style page — same professional shell */
#projectChoiceMapStyle{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
#projectChoiceMapStyle.hidden{display:none!important}
.chooser-back{
  position:absolute!important;
  top:22px!important;
  left:calc(300px + 28px)!important;
  min-height:34px!important;
  padding:0 10px!important;
  border:1px solid #d8e0e9!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#475467!important;
  font-size:8px!important;
  font-weight:750!important;
}
.project-type-intro,.map-style-grid{
  width:min(980px,100%)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.screen-heading-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.screen-version{
  color:#98a2b3;
  font-size:8px;
  font-weight:800;
}
.map-style-grid{
  margin-top:28px!important;
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:12px!important;
}
.map-style-card{
  overflow:hidden!important;
  padding:0 0 15px!important;
  border:1px solid #d9e0e9!important;
  border-radius:11px!important;
  background:#fff!important;
  text-align:left!important;
  box-shadow:0 7px 20px rgba(16,24,40,.05)!important;
}
.map-style-card:hover{
  transform:translateY(-2px)!important;
  border-color:#aebbd0!important;
  box-shadow:0 14px 30px rgba(16,24,40,.09)!important;
}
.map-style-thumb{
  height:190px!important;
  border:0!important;
  border-bottom:1px solid #e4e9ef!important;
  border-radius:0!important;
}
.map-style-card>strong,.pro-style-title,.map-style-card>em,.map-style-card>span{
  margin-left:14px!important;
  margin-right:14px!important;
}
.map-style-card>strong,.pro-style-title{
  margin-top:13px!important;
  color:#101828!important;
  font-size:11px!important;
}
.map-style-card>em{
  margin-top:5px!important;
  color:var(--dm-blue)!important;
  font-size:7px!important;
}
.map-style-card>span{
  margin-top:5px!important;
  color:#667085!important;
  font-size:8px!important;
}

/* ---------- EDITOR SHELL ---------- */
.v2-topbar{
  position:fixed!important;
  z-index:6000!important;
  top:0!important;
  left:0!important;
  right:0!important;
  min-height:62px!important;
  padding:0 12px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  border:0!important;
  border-bottom:1px solid #dfe4ea!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:0 2px 8px rgba(16,24,40,.05)!important;
  backdrop-filter:none!important;
}
.v2-brand{
  min-width:164px!important;
  height:44px!important;
  padding:4px 10px 4px 4px!important;
  border:0!important;
  border-right:1px solid #eaecf0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.v2-brand:hover{background:#f8fafc!important}
.v2-brand-mark{
  width:34px!important;
  height:34px!important;
  border-radius:8px!important;
  background:var(--dm-navy)!important;
  color:#fff!important;
}
.v2-brand strong{font-size:10px!important}
.v2-brand small{font-size:6.5px!important;color:#7c8798!important}
.editor-build-chip{
  flex:0 0 auto;
  padding:4px 6px;
  border:1px solid #e3e7ed;
  border-radius:5px;
  background:#f8fafc;
  color:#7c8798;
  font-size:6.5px;
  font-weight:850;
}
.studio-project-meta{
  display:flex!important;
  min-width:190px!important;
  padding:0 10px!important;
  border:0!important;
}
.studio-project-title-input{
  font-size:9px!important;
  font-weight:750!important;
}
.studio-save-state{
  font-size:7px!important;
}
.v2-top-actions{
  margin-left:auto!important;
  gap:4px!important;
}
.v2-icon-btn,.v2-main-action,.v2-basemap-btn{
  min-height:36px!important;
  border:1px solid transparent!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#475467!important;
}
.v2-icon-btn:hover,.v2-basemap-btn:hover{
  border-color:#e4e7ec!important;
  background:#f7f9fb!important;
}
.v2-basemap-btn{
  border-color:#d9e0e9!important;
  background:#fff!important;
}
#v2AddBtn{
  background:var(--dm-blue)!important;
  color:#fff!important;
}
#v2AddBtn:hover{background:#2348bd!important}
.studio-save-btn{
  background:#fff!important;
  color:#344054!important;
  border-color:#d7dee8!important;
}
.pro-export-btn,#v2ExportBtn{
  background:var(--dm-navy)!important;
  color:#fff!important;
  border-color:var(--dm-navy)!important;
}

/* Left toolbar: true software rail */
.studio-tool-dock{
  position:fixed!important;
  z-index:5000!important;
  left:0!important;
  top:62px!important;
  bottom:0!important;
  width:68px!important;
  height:auto!important;
  padding:12px 8px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
  border:0!important;
  border-right:1px solid #243041!important;
  border-radius:0!important;
  background:var(--dm-navy)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.studio-dock-label{
  margin:0 0 6px;
  color:#667085;
  font-size:6px;
  font-weight:900;
  letter-spacing:.15em;
  text-align:center;
}
.studio-tool{
  width:52px!important;
  height:50px!important;
  grid-template-rows:24px 12px!important;
  border-radius:7px!important;
  color:#aab3c1!important;
}
.studio-tool:hover{
  background:#1f2937!important;
  color:#fff!important;
}
.studio-tool.active{
  background:#2f5bea!important;
  color:#fff!important;
}
.studio-tool .material-symbols-rounded{font-size:19px!important}
.studio-tool small{font-size:6.5px!important;font-weight:750!important}
.studio-tool-separator{background:#2f3949!important}

/* Canvas starts under application chrome */
.map-stage{
  position:relative!important;
  padding-top:62px!important;
  padding-left:68px!important;
  box-sizing:border-box!important;
}
#map{
  width:100%!important;
  height:100%!important;
  background:#dfe6ed!important;
}

/* Search/create wizard as a docked work panel */
.v2-wizard{
  position:fixed!important;
  z-index:4100!important;
  top:76px!important;
  left:82px!important;
  width:390px!important;
  max-height:calc(100dvh - 90px)!important;
  overflow:auto!important;
  border:1px solid #dce2e9!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:var(--dm-shadow)!important;
  backdrop-filter:none!important;
}
.v2-wizard-head{
  position:sticky!important;
  top:0!important;
  z-index:2!important;
  padding:14px!important;
  border-bottom:1px solid #eaecf0!important;
  background:#fff!important;
}
.v2-wizard-head h2{font-size:13px!important}
.v2-wizard-head p{font-size:8px!important;color:#667085!important}

/* Right inspector: docked, flat, professional */
body.dynmap-v2 .right-inspector{
  position:fixed!important;
  z-index:4200!important;
  top:62px!important;
  right:0!important;
  bottom:0!important;
  width:370px!important;
  max-height:none!important;
  border:0!important;
  border-left:1px solid #dfe4ea!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:-8px 0 28px rgba(16,24,40,.07)!important;
  backdrop-filter:none!important;
}
.right-inspector .section-title{
  min-height:55px!important;
  padding:0 14px!important;
  display:flex!important;
  align-items:center!important;
  border-bottom:1px solid #eaecf0!important;
  background:#fff!important;
}
.right-inspector .section-title h2{
  font-size:12px!important;
  font-weight:760!important;
}
.studio-inspector-tabs{
  top:55px!important;
  padding:7px 10px!important;
  gap:4px!important;
  background:#f8fafc!important;
  border-bottom:1px solid #eaecf0!important;
}
.studio-inspector-tabs button{
  min-height:32px!important;
  border-radius:6px!important;
  font-size:8px!important;
}
.studio-inspector-tabs button.active{
  background:#fff!important;
  color:var(--dm-blue)!important;
  box-shadow:0 1px 4px rgba(16,24,40,.08)!important;
}
.pro-inspector-intro{
  margin:10px 12px 6px!important;
  padding:10px!important;
  border:1px solid #e4e7ec!important;
  border-radius:8px!important;
  background:#f9fafb!important;
}
.explorer-search{
  padding:8px 12px!important;
  background:#fff!important;
}
.explorer-search input{
  height:36px!important;
  border:1px solid #d9e0e9!important;
  border-radius:7px!important;
  background:#fff!important;
}
.element-row{
  min-height:40px!important;
  border-radius:6px!important;
}
.element-row:hover{background:#f7f9fb!important}

/* Basemap switcher */
.studio-basemap-popover{
  position:fixed!important;
  z-index:8000!important;
  top:70px!important;
  right:96px!important;
  width:min(520px,calc(100vw - 120px))!important;
  padding:13px!important;
  border:1px solid #d9e0e9!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:var(--dm-shadow-lg)!important;
  backdrop-filter:none!important;
}
.studio-basemap-card{
  border-radius:8px!important;
  border-color:#e0e5ec!important;
}
.studio-basemap-preview{height:92px!important}
.studio-basemap-card.selected{
  border-color:var(--dm-blue)!important;
  box-shadow:0 0 0 1px var(--dm-blue)!important;
}

/* Status / map chrome */
.studio-statusbar{
  position:fixed!important;
  z-index:3000!important;
  left:80px!important;
  bottom:10px!important;
  padding:4px!important;
  border:1px solid #d9e0e9!important;
  border-radius:7px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 5px 14px rgba(16,24,40,.08)!important;
}
.studio-statusbar>span{font-size:6.5px!important}
.leaflet-control-zoom{
  margin-top:14px!important;
  margin-left:14px!important;
  border:1px solid #d6dde6!important;
  border-radius:7px!important;
  overflow:hidden!important;
  box-shadow:0 5px 14px rgba(16,24,40,.08)!important;
}
.leaflet-control-zoom a{
  width:34px!important;
  height:34px!important;
  line-height:34px!important;
  background:#fff!important;
}

/* Illustrated canvas becomes a clean design board. */
body.mode-illustrated #map{
  background:#e7ebf0!important;
}
body.mode-illustrated #map::before{
  content:"";
  position:absolute;
  z-index:0;
  left:4%;
  right:4%;
  top:4%;
  bottom:4%;
  border:1px solid #cfd7e1;
  border-radius:2px;
  background-color:#fff;
  background-image:
    linear-gradient(#edf1f5 1px,transparent 1px),
    linear-gradient(90deg,#edf1f5 1px,transparent 1px);
  background-size:24px 24px;
  box-shadow:0 20px 45px rgba(16,24,40,.12);
}

/* Accessibility and version coexist cleanly */
.accessibility-fab{
  right:12px!important;
  bottom:42px!important;
  width:38px!important;
  height:38px!important;
  border:1px solid #d7dee8!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#475467!important;
  box-shadow:0 6px 18px rgba(16,24,40,.09)!important;
}

/* Dialogs: same design system + version visible */
dialog{
  border-radius:12px!important;
}
dialog::after{
  content:"DynMap 2.0 alpha.22";
  position:absolute;
  right:12px;
  bottom:9px;
  color:#98a2b3;
  font-size:6.5px;
  font-weight:800;
  letter-spacing:.04em;
}
.home-return-dialog .home-return-card,
.privacy-dialog form,
.category-edit-dialog form,
.studio-shortcuts-card{
  border:1px solid #d9e0e9!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 28px 80px rgba(16,24,40,.22)!important;
}
.home-return-icon{
  border-radius:8px!important;
  background:#eef3ff!important;
  color:var(--dm-blue)!important;
}
.home-return-primary{
  background:var(--dm-blue)!important;
  border-color:var(--dm-blue)!important;
}

/* Old settings remain available, but clearly secondary. */
.v2-legacy-tools{
  position:fixed!important;
  z-index:9000!important;
  top:70px!important;
  left:80px!important;
  bottom:12px!important;
  width:360px!important;
  border:1px solid #dce2e9!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:var(--dm-shadow-lg)!important;
}

/* Remove overly decorative/marketing styling from editor. */
.map-header{display:none!important}
.placement-toast{
  border-radius:7px!important;
  background:#111827!important;
}
.v2-action-menu{
  border:1px solid #d9e0e9!important;
  border-radius:9px!important;
  background:#fff!important;
  box-shadow:var(--dm-shadow)!important;
}

/* ---------- RESPONSIVE ---------- */
@media(max-width:980px){
  .project-type-shell{
    grid-template-columns:230px minmax(0,1fr)!important;
  }
  .welcome-side-content{padding:30px 20px 20px}
  .welcome-side-copy h2{font-size:25px}
  .chooser-back{left:258px!important}
  .launchpad-main,#projectChoiceMapStyle{padding:42px 28px 28px!important}
  .family-card-premium .family-preview{height:200px!important}
  body.dynmap-v2 .right-inspector{width:330px!important}
  .editor-build-chip{display:none}
}
@media(max-width:760px){
  .project-type-shell{
    display:block!important;
    overflow:auto!important;
    background:#f7f8fa!important;
  }
  .project-type-brand{
    position:sticky!important;
    top:0!important;
    z-index:5!important;
    height:60px!important;
    padding:0 16px!important;
  }
  .welcome-side-content{display:none!important}
  .launchpad-main,#projectChoiceMapStyle{
    min-height:calc(100dvh - 60px)!important;
    padding:28px 16px 84px!important;
  }
  .launchpad-head{
    align-items:flex-start!important;
    flex-direction:column!important;
    margin-bottom:20px!important;
  }
  .launchpad-actions{width:100%!important}
  .launchpad-secondary{flex:1!important;min-width:0!important}
  .launchpad-copy h1,.project-type-intro h1{font-size:32px!important}
  .project-family-grid-premium{grid-template-columns:1fr!important}
  .family-card-premium{
    display:grid!important;
    grid-template-columns:42% 58%!important;
  }
  .family-card-premium .family-preview{
    height:170px!important;
    border-bottom:0!important;
    border-right:1px solid #e4e9ef!important;
  }
  .family-card-premium .family-copy{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
  }
  .launchpad-foot{display:none!important}
  .chooser-back{
    position:static!important;
    margin:0 0 22px!important;
  }
  .map-style-grid{grid-template-columns:1fr!important}
  .map-style-card{
    display:grid!important;
    grid-template-columns:150px 1fr!important;
    grid-template-rows:auto auto auto!important;
    padding:0!important;
  }
  .map-style-thumb{
    grid-row:1 / span 3!important;
    height:120px!important;
    border-bottom:0!important;
    border-right:1px solid #e4e9ef!important;
  }

  .v2-topbar{
    min-height:56px!important;
    padding:0 7px!important;
  }
  .map-stage{
    padding-top:56px!important;
    padding-left:0!important;
  }
  .v2-brand{min-width:auto!important;border-right:0!important}
  .v2-brand>span:last-child small{display:none!important}
  .studio-project-meta{display:none!important}
  .v2-main-action span:last-child,.v2-basemap-btn>span:nth-child(2){display:none!important}
  .v2-main-action,.v2-basemap-btn{width:38px!important;padding:0!important;justify-content:center!important}
  .studio-tool-dock{
    top:auto!important;
    left:6px!important;
    right:6px!important;
    bottom:6px!important;
    width:auto!important;
    height:52px!important;
    padding:4px!important;
    flex-direction:row!important;
    justify-content:space-around!important;
    border:1px solid #243041!important;
    border-radius:10px!important;
    box-shadow:0 10px 30px rgba(16,24,40,.22)!important;
  }
  .studio-dock-label{display:none!important}
  .studio-tool{
    width:44px!important;
    height:42px!important;
    flex:0 0 44px!important;
  }
  .studio-tool small{display:none!important}
  .studio-tool-separator{width:1px!important;height:28px!important;margin:7px 1px!important}
  .v2-wizard{
    top:66px!important;
    left:6px!important;
    right:6px!important;
    width:auto!important;
    max-height:calc(100dvh - 128px)!important;
  }
  body.dynmap-v2 .right-inspector{
    top:56px!important;
    left:0!important;
    right:0!important;
    bottom:60px!important;
    width:auto!important;
  }
  .studio-basemap-popover{
    top:62px!important;
    left:6px!important;
    right:6px!important;
    width:auto!important;
  }
  .studio-statusbar{display:none!important}
  .accessibility-fab{right:8px!important;bottom:66px!important}
  .dynmap-global-version{right:8px!important;bottom:8px!important}
}
@media(max-width:520px){
  .family-card-premium{display:block!important}
  .family-card-premium .family-preview{
    height:145px!important;
    border-right:0!important;
    border-bottom:1px solid #e4e9ef!important;
  }
  .family-copy>span,.family-chips{display:none!important}
  .launchpad-copy h1{font-size:28px!important}
  .launchpad-actions{gap:6px!important}
  #undoBtn,#redoBtn,.studio-context-action{display:none!important}
}


/* Alpha.22 visual QA corrections */
html,body,.app-shell{overflow:hidden!important;max-width:100vw!important}
body.dynmap-v2 .map-stage{
  width:100vw!important;
  max-width:100vw!important;
  overflow:hidden!important;
}
body.dynmap-v2 #map{
  width:100%!important;
  max-width:100%!important;
}
body.dynmap-v2 .right-inspector:not(.panel-collapsed):not(.hidden){
  opacity:1!important;
  transform:none!important;
}
