.map-heading-actions{display:flex;align-items:center;gap:18px;margin-left:auto}
.scene-open{border:1px solid #d6dfcf;background:#fffefa;color:#4d6d51;min-height:38px;padding:0 13px}
.scene-dialog{width:min(600px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:1px solid #d7dfcf;border-radius:13px;padding:22px;background:#fffefa;color:#3b5141;box-shadow:0 18px 80px #14251f40}
.scene-dialog::backdrop{background:#192a2266}
.scene-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.scene-heading h2{font-size:20px;margin:0}
.scene-map{font-size:13px;font-weight:600;background:#edf3e7;padding:10px 12px;border-radius:7px;margin:15px 0}
.scene-field{display:grid;gap:7px;font-size:12px;margin:12px 0}
.scene-field input,.scene-field textarea{width:100%;min-width:0;border:1px solid #d6dece;border-radius:6px;background:#fafbf6;padding:10px;color:#344935;resize:vertical}
.scene-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:15px}.scene-actions button,.scene-import-apply{min-height:44px;justify-content:center;font-size:12px}.scene-actions button:last-child,.scene-import-apply{background:#426d4d;color:#fff;border-color:#426d4d}
.scene-help{color:#87917d;font-size:11px;line-height:1.7}.scene-import{border-top:1px solid #e1e6d9;margin-top:20px;padding-top:16px}.scene-import h3{font-size:14px;margin:0 0 10px}.scene-import input{width:100%;min-height:42px;font-size:12px}.scene-import input::file-selector-button{padding:10px;border:1px solid #d6dece;border-radius:6px;background:#f0f4e9;color:#4d6d51;margin-right:8px}
.scene-import-summary{border:1px solid #d5e0cb;background:#f5f8ef;border-radius:8px;padding:12px;margin-top:12px;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.scene-import-summary h4{font-size:16px;margin:0 0 5px}#scene-import-notes{white-space:pre-wrap}#scene-import-warning{color:#946333}
.scene-status{font-size:12px;line-height:1.7;white-space:pre-wrap;margin:12px 0 0;color:#6c785e}.scene-result{margin-top:15px;border-top:1px solid #e0e6d8;padding-top:14px}.scene-result a{display:block;padding:12px;text-align:center;background:#426d4d;border-radius:7px;color:white;font-size:13px;overflow-wrap:anywhere}.scene-result img{display:block;width:100%;height:auto;margin-top:12px;border:1px solid #dce2d3;border-radius:5px}
@media(max-width:540px){.map-heading{flex-wrap:wrap;gap:12px}.map-heading-actions{gap:12px}.scene-open{height:40px;min-width:62px}.scene-dialog{padding:16px}.scene-field input,.scene-field textarea{font-size:16px}.scene-actions{gap:6px}.scene-actions button{padding:8px 4px;font-size:11px}.scene-import-apply{width:100%}}
