/* V0.8.8: compact placement tile + and always-horizontal labels */
.bez-lfv-option{position:relative!important;isolation:isolate}
.bez-lfv-option .bez-lfv-place-plus{position:absolute!important;right:5px;bottom:5px;z-index:5;width:28px;height:28px;min-width:28px;min-height:28px;padding:0;border:1px solid #ed7774;border-radius:8px;background:#b72325;color:#fff;font:bold 21px/1 system-ui;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 6px #0008}
.bez-lfv-option .bez-lfv-place-plus:hover,.bez-lfv-option .bez-lfv-place-plus:focus-visible{background:#d02b26;outline:2px solid #fff;outline-offset:1px}
.bez-map-symbol-stack{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;pointer-events:none}
.bez-map-symbol-stack .bez-tactical-content{flex:none;transform-origin:center center!important}
.bez-map-symbol-name,.bez-map-symbol-user{width:100%;max-width:180px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#14171c;background:#fffdf0e8;border-radius:4px;font:700 11px/15px system-ui,sans-serif;padding:1px 4px;box-sizing:border-box;transform:none!important;text-shadow:none;line-height:15px}
.bez-map-symbol-user{font-weight:600;background:#fffef5e8;color:#202226}
.bez-map-symbol-user:empty{visibility:hidden}
.bez-map-choosing{cursor:crosshair!important}
.bez-map-label-dialog{max-width:min(420px,calc(100vw - 24px));width:100%;border:1px solid #555861;border-radius:14px;background:#24262b;color:#f6f6f6;box-shadow:0 18px 55px #000c;padding:0}
.bez-map-label-dialog::backdrop{background:#0009}
.bez-map-label-dialog-body{display:flex;flex-direction:column;gap:14px;padding:22px}
.bez-map-label-dialog h2{font-size:20px;margin:0}.bez-map-label-dialog label{display:flex;flex-direction:column;gap:8px;font-size:13px}
.bez-map-label-dialog input:not([type=range]){background:#17191e;color:white;border:1px solid #63656b;padding:11px;border-radius:8px}
.bez-map-label-dialog input[type=range]{accent-color:#d02b26;width:100%}
.bez-map-dialog-settings{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.bez-map-dialog-buttons{display:flex;gap:10px;justify-content:flex-end}
/* The creation form now only holds the palette; metadata is entered in the post-placement dialog. */
#bez-map-symbol-form:has(input[name="action"][value="bez_map_add"])>label:has(input[name="label"]),
#bez-map-symbol-form:has(input[name="action"][value="bez_map_add"])>.bez-symbol-settings,
#bez-map-symbol-form:has(input[name="action"][value="bez_map_add"])>.bez-lfv-actions,
#bez-map-symbol-form:has(input[name="action"][value="bez_map_add"])>[data-bez-selected-point]{display:none!important}
