.kml-export-dialog{color:var(--ink,#27252d);background:#fff;border:1px solid var(--line,#e4e1e7);border-radius:14px;padding:0;width:min(620px,calc(100vw - 36px));max-width:620px;max-height:calc(100dvh - 36px);box-shadow:0 18px 65px #15101f45;overflow:hidden}
.kml-export-dialog::backdrop{background:#201a2c66}
.kml-export-dialog[open]{display:flex;flex-direction:column}
.kml-export-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;border-bottom:1px solid var(--line,#e4e1e7);flex:0 0 auto}
.kml-export-heading h2{font-size:20px;margin:0}
.kml-export-body{padding:4px 22px 24px;overflow-y:auto;overscroll-behavior:contain;min-height:0;scroll-padding:18px}
.kml-export-dialog button,.kml-export-dialog select{min-height:44px;white-space:normal;line-height:1.4}
.kml-export-dialog :is(button,select,summary):focus-visible{outline:3px solid var(--brand,#6b4cc5);outline-offset:3px}
.kml-export-current{font-size:14px;margin:16px 0}
.kml-export-saved-name{font-size:15px;font-weight:650;margin:16px 0 4px;overflow-wrap:anywhere}
.kml-export-saved-name:not([hidden])+.kml-export-current{margin-top:5px;color:var(--muted,#6a6671)}
.kml-export-scope-label{display:block;font-size:13px;font-weight:600;margin-bottom:7px}
.kml-export-dialog select{width:100%;font-size:16px}
.kml-export-notice{font-size:13px;line-height:1.7;color:var(--muted,#6a6671);background:var(--paper,#f7f6f2);border:1px solid var(--line,#e4e1e7);border-radius:8px;padding:13px;margin:16px 0}
.kml-export-status{font-size:14px;font-weight:600;line-height:1.6;overflow-wrap:anywhere;color:var(--ink,#27252d);margin:14px 0 8px}
.kml-export-status.is-error{color:#a52f35}
.kml-export-exclusions{font-size:13px;line-height:1.7;margin:8px 0;padding-left:21px}
.kml-export-exclusions:empty{display:none}
.kml-export-metadata{font-size:12px;color:var(--muted,#6a6671);margin:12px 0}
.kml-export-metadata:empty{display:none}
.kml-export-fields{font-size:12px;margin:14px 0;line-height:1.7;color:var(--muted,#6a6671)}
.kml-export-fields summary{min-height:44px;padding:10px 0;font-weight:600}
.kml-export-fields p{margin-top:0}
.kml-export-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.kml-export-actions button{flex:1;min-width:170px}
.kml-export-help{margin-top:16px;border-top:1px solid var(--line,#e4e1e7);padding-top:5px;font-size:13px}
.kml-export-help>summary{min-height:44px;padding:10px 0;color:var(--muted,#6a6671);font-weight:500}
.kml-export-actions #kml-download{flex:2}
.kml-export-actions #kml-preview{flex:0 1 auto;min-width:100px}
@media(max-width:600px){.kml-export-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:11px}.kml-export-heading{padding:12px 14px}.kml-export-heading h2{font-size:18px}.kml-export-body{padding:2px 14px 20px}.kml-export-actions{display:grid;grid-template-columns:1fr}.kml-export-actions button{width:100%;min-width:0}}
