/* Export choices share the editor typography and a compact spacing scale. */
.export-email-settings{margin:16px 0;padding:14px;border:1px solid #dce6e1;border-radius:12px;background:#f6f9f7;color:#29473e;font-family:inherit}
.export-email-toggle,.export-email-consent{display:flex;align-items:flex-start;gap:10px;line-height:1.45;cursor:pointer}
.export-email-toggle{font-size:13px;font-weight:600}
.export-email-toggle>span{min-width:0}
.export-email-toggle small{display:block;margin-top:3px;font-size:12px;line-height:1.4;font-weight:400;color:#62766e}
.export-email-toggle:has(input:checked) small{display:none}
.export-email-settings input[type=checkbox]{width:18px;height:18px;flex:none;accent-color:#217b5e;margin:1px 0 0}
.export-email-settings [hidden]{display:none!important}
#exportEmailFields{margin-top:16px}
#exportEmailFields>label{display:block;margin:0 0 7px;font-size:12px;font-weight:600}
#exportEmailAddress{box-sizing:border-box;width:100%;height:44px;border:1px solid #cbdad2;border-radius:8px;background:#fff;padding:10px 12px;color:#29473e;font-family:inherit;font-size:14px;line-height:1.4}
#exportEmailAddress:focus-visible{outline:2px solid #298668;outline-offset:2px}
.export-email-settings p{font-size:11px;line-height:1.5;color:#62766e;margin:8px 0 0}
.export-newsletter{border-top:1px solid #dfe8e2;margin-top:14px;padding-top:14px}
.export-email-consent{font-size:12px;font-weight:400}
.export-email-consent small{display:inline;font:inherit;color:#738278;margin-left:4px}
.export-newsletter p{margin:6px 0 0 28px}
.export-email-settings a{color:inherit;text-underline-offset:2px}
@media(max-width:600px){#exportEmailAddress{font-size:16px}.export-email-settings{padding:12px}.export-email-toggle{min-height:38px}.export-email-settings p{font-size:12px}}
.export-delivery-note{font-size:12px;line-height:1.5;color:#62766e;margin:16px 0 8px}.export-background-status{position:fixed;right:20px;bottom:20px;z-index:12000;max-width:calc(100vw - 32px);border:1px solid #c6d9cf;border-radius:12px;padding:13px 18px;background:#203f35;color:#fff;box-shadow:0 5px 24px #183c3526;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;cursor:pointer}.export-background-status[hidden]{display:none}.delivery-page{margin:0;background:#f2f6f3;color:#233f35;font:16px/1.6 system-ui,sans-serif;display:grid;min-height:100vh;place-items:center}.delivery-page main{box-sizing:border-box;width:min(480px,calc(100vw - 32px));padding:32px;background:#fff;border:1px solid #e1e9e4;border-radius:20px}.delivery-page h1{font-size:26px;line-height:1.2}.delivery-page h2{font-size:18px}.delivery-page a{color:#19775c}.delivery-page .delivery-primary,.delivery-page button{display:inline-block;background:#19775c;color:white;text-decoration:none;padding:12px 20px;border:0;border-radius:9px;font:600 14px/1.4 system-ui;cursor:pointer}.delivery-page button{margin:8px 8px 8px 0}.delivery-muted{font-size:13px;color:#60756b}.delivery-page hr{border:0;border-top:1px solid #e1e9e4;margin:28px 0}@media(max-width:600px){.export-email-settings{padding:12px}.export-background-status{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));padding:11px 14px}}

body #mapLoader.export-status-overlay{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;z-index:13000!important;padding:16px;box-sizing:border-box;align-items:center!important}

/* The status strip is the primary entry; Export keeps a secondary copy. */
body.film-studio-active:not(.landing-active):not(.gpx-route-setup):not(.travel-route-setup):not(.zoom-place-setup):not(.zoom-studio-placing):not(.gpx-route-placement):has(.studio-appbar:not([hidden])) .export-background-status{display:none!important}
.studio-export-open[data-delivery-status]:not([data-delivery-status=""]){position:relative}
.studio-export-open[data-delivery-status]:not([data-delivery-status=""])::after{content:"";position:absolute;top:4px;right:4px;width:7px;height:7px;border:2px solid #217858;border-radius:50%;background:#d5f3df}
.studio-export-open[data-delivery-status="rendering"]::after{background:#ffe2a6}
.studio-export-open[data-delivery-status="error"]::after{background:#ffb4a9}
.export-editor-status{display:grid;gap:12px;margin:0 0 20px;padding:14px;border:1px solid #cbded1;border-radius:10px;background:#f0f7f1;color:#29473e}
.export-editor-status[hidden],.export-editor-status [hidden]{display:none!important}
.export-editor-status[data-state="rendering"]{background:#f5f8f6}
.export-editor-status[data-state="error"]{border-color:#e9d2ca;background:#fff6f2}
.export-editor-status-copy strong{display:block;font-size:13px;line-height:1.4}
.export-editor-status-copy span{display:block;margin-top:3px;color:#60756b;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.export-editor-download,.export-editor-progress{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:44px;border:0;border-radius:8px;background:#217858;color:#fff;text-decoration:none;font:600 13px/1.4 "DM Sans",system-ui,sans-serif;cursor:pointer}
#gpxStudio .studio-export-dialog .export-editor-download{color:#fff!important}
.export-editor-download:hover,.export-editor-progress:hover{background:#186748}
.export-editor-download:focus-visible,.export-editor-progress:focus-visible{outline:2px solid #217858;outline-offset:3px}

.delivery-choice{margin:24px 0;padding:18px;border:1px solid #dce6e1;border-radius:12px;background:#f6f9f7}.delivery-choice p{margin:0 0 10px}.delivery-choice form{margin:14px 0 0}.delivery-choice button{width:100%;margin:0;min-height:44px}.delivery-without{display:block;text-align:center;padding:12px 4px;font-size:13px;line-height:1.4}.delivery-choice .delivery-muted{font-size:13px}

/* The completed film is the primary action; Pro is a separate, optional next step. */
.delivery-page{font-family:Inter,'DM Sans',system-ui,sans-serif}
.delivery-brand{display:inline-block;line-height:0}
.delivery-brand img{max-width:100%;height:auto}
.delivery-page a:focus-visible,.delivery-page button:focus-visible,.delivery-page video:focus-visible{outline:3px solid #49a68b;outline-offset:5px}
.delivery-ready{background:radial-gradient(ellipse at 15% 0%,#e6efe9,transparent 55%),#f5f7f5;display:block;min-height:100dvh}
.delivery-ready main{width:min(960px,calc(100% - 64px));margin:0 auto;padding:24px 0;background:transparent;border:0;border-radius:0}
.delivery-ready .delivery-brand{margin-bottom:20px;height:36px;overflow:hidden}
.delivery-ready .delivery-brand img{position:relative;top:-16px}
.delivery-ready h1{font-size:clamp(28px,3.4vw,34px);font-weight:700;letter-spacing:-1.1px;margin:0 0 8px;line-height:1.14;color:#203e35}
.delivery-intro{margin:0 0 22px;color:#62766e;font-size:14px;line-height:1.6}
.delivery-ready-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;align-items:start}
.delivery-film{background:#fff;border:1px solid #dce5df;border-radius:20px;overflow:hidden;box-shadow:0 8px 30px #203e3506;min-width:0}
.delivery-film-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;gap:16px}
.delivery-ready-label{display:flex;align-items:center;gap:8px;color:#237b5d;font-size:12px;font-weight:600}
.delivery-ready-label>span{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#e6f2eb}
.delivery-file-type{font-size:10px;font-weight:600;letter-spacing:1px;color:#6b7f75}
.delivery-video{display:block;width:100%;aspect-ratio:16/9;max-height:420px;object-fit:contain;background:#10251e;color:#fff}
.delivery-film-details{padding:24px}
.delivery-film-details h2{font-size:20px;line-height:1.35;letter-spacing:-.4px;margin:0 0 20px;overflow-wrap:anywhere;font-weight:600}
.delivery-ready .delivery-download{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;box-sizing:border-box;width:100%;padding:12px 18px;font:600 14px/1.5 Inter,system-ui,sans-serif;border-radius:10px;transition:background .15s}
.delivery-download svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.delivery-ready .delivery-download:hover{background:#125d47}
.delivery-expiry{font-size:11px;line-height:1.5;margin:12px 0 0;color:#738078;text-align:center}
.delivery-pro-offer{position:relative;isolation:isolate;overflow:hidden;background:#193f34;color:#fff;border-radius:20px;padding:24px}
.delivery-pro-offer:before{content:"";position:absolute;z-index:-1;width:380px;height:380px;right:-250px;top:-160px;border-radius:44%;border:1px solid #9bd9be20;box-shadow:0 0 0 24px #9bd9be08,0 0 0 48px #9bd9be08,0 0 0 72px #9bd9be08,0 0 0 96px #9bd9be06;transform:rotate(25deg);pointer-events:none}
.delivery-pro-badge{display:inline-flex;align-items:center;gap:8px;font-size:10px;letter-spacing:1.6px;font-weight:600;color:#b9d6c8}
.delivery-pro-badge strong{background:#d7ebdf;color:#204b3c;border:1px solid #b5d6c5;border-radius:5px;padding:3px 6px;font-size:10px;letter-spacing:.8px}
.delivery-pro-offer h2{font-size:clamp(26px,3vw,32px);line-height:1.12;letter-spacing:-.9px;font-weight:600;color:white;margin:22px 0 12px}
.delivery-pro-lead{font-size:13px;line-height:1.6;color:#bfd5ca;margin:0}
.delivery-pro-benefits{list-style:none;padding:0;margin:22px 0;display:grid;gap:16px}
.delivery-pro-benefits li{display:flex;align-items:flex-start;gap:12px}
.delivery-benefit-icon{width:28px;height:28px;display:grid;place-items:center;flex:none;border:1px solid #94bdaa40;border-radius:8px;color:#c2e6d3;font-size:18px}
.delivery-pro-benefits strong{display:block;font-size:13px;line-height:1.4;font-weight:600}
.delivery-pro-benefits div>span{display:block;font-size:12px;line-height:1.6;color:#b8cdc2;margin-top:4px}
.delivery-ready .delivery-pro-cta{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#e6f3eb;color:#193f34;min-height:48px;box-sizing:border-box;padding:12px 18px;border-radius:10px;text-decoration:none;font-size:14px;font-weight:600;transition:background .15s}
.delivery-ready .delivery-pro-cta:hover{background:#fff}
.delivery-pro-cta span{font-size:20px}
.delivery-pro-terms{font-size:11px;color:#c0d5c9;margin:12px 0 0;text-align:center}
.delivery-pro-caption{font-size:10px;color:#a6c0b3;margin:14px 0 0;text-align:center;line-height:1.6}
.delivery-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:12px;margin-top:24px;padding:0 2px}
.delivery-footer a{color:#526e60;text-decoration:none;padding:8px 0}
.delivery-footer a:hover{text-decoration:underline;text-underline-offset:3px}
.delivery-ready .delivery-choice{margin:0;border-radius:12px;padding:16px}
.delivery-ready .delivery-choice>p:first-child{font-size:13px}
.delivery-ready .delivery-choice button{font-family:inherit;font-size:13px}
.delivery-ready-pro{grid-template-columns:minmax(0,1fr);max-width:720px}
@media(max-width:700px){
 .delivery-ready main{width:calc(100% - 32px);padding:24px 0}
 .delivery-ready .delivery-brand{margin-bottom:20px}
 .delivery-ready .delivery-brand img{width:145px;top:-13px}
 .delivery-ready h1{letter-spacing:-.8px}
 .delivery-intro{font-size:13px;margin-bottom:22px}
 .delivery-ready-grid{grid-template-columns:minmax(0,1fr);gap:20px}
 .delivery-film,.delivery-pro-offer{border-radius:16px}
 .delivery-film-heading{padding:15px 18px}
 .delivery-film-details{padding:20px 18px}
 .delivery-film-details h2{font-size:18px;margin-bottom:18px}
 .delivery-pro-offer{padding:24px}
 .delivery-pro-offer h2{font-size:28px}
 .delivery-footer{font-size:11px;gap:12px}
}

body.film-studio-active.editor-refined:not(.landing-active) #editorSidebar #gpxStudio .studio-export-dialog{box-sizing:border-box;width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:22px;border-radius:16px;font-family:var(--font-b);scrollbar-width:thin}
#gpxStudio .studio-export-dialog>header{margin-bottom:4px}
#gpxStudio .studio-export-dialog h2{font-size:20px;letter-spacing:-.35px}
#gpxStudio .studio-export-dialog .studio-export-close{width:36px;height:36px;flex:none;border-radius:9px}
#gpxStudio .studio-export-dialog .studio-export-description{margin-bottom:18px;font-size:12px}
body.film-studio-active:not(.landing-active) #editorSidebar #gpxStudio .studio-export-dialog .preview-format-toolbar{margin-bottom:18px!important}
body.film-studio-active:not(.landing-active) #editorSidebar #gpxStudio .studio-export-dialog .preview-format-label{font-weight:600!important;margin-bottom:8px!important;padding:0!important;color:#29473e;font-size:12px}
body.film-studio-active.editor-refined:not(.landing-active) #editorSidebar #gpxStudio .studio-export-dialog .editor-quality-card{padding:0!important;border:0!important;background:transparent!important;border-radius:0!important}
body.film-studio-active.editor-refined:not(.landing-active) #editorSidebar #gpxStudio .studio-export-dialog .editor-quality-label{font-size:12px!important;font-weight:600!important;color:#29473e!important}
body.film-studio-active.editor-refined:not(.landing-active) #editorSidebar #gpxStudio .studio-export-dialog .editor-quality-dimensions{border:0;background:transparent;padding:0;font-size:11px}
body.film-studio-active.editor-refined:not(.landing-active) #editorSidebar #gpxStudio .studio-export-dialog .editor-quality-option{height:40px!important;min-height:40px!important;font-size:12px!important}
body.film-studio-active.editor-refined:not(.landing-active) #editorSidebar #gpxStudio .studio-export-dialog #gpxExportMeta{margin:8px 0 0!important}
#gpxStudio .studio-export-dialog .editor-export-actions{margin-top:16px!important}
@media(max-width:600px){
 body.film-studio-active.editor-refined:not(.landing-active) #editorSidebar #gpxStudio .studio-export-dialog{padding:18px;max-height:calc(100dvh - 16px)}
 #gpxStudio .studio-export-dialog .studio-export-close{width:40px;height:40px}
 body.film-studio-active.editor-refined:not(.landing-active) #editorSidebar #gpxStudio .studio-export-dialog .editor-quality-option{height:44px!important;min-height:44px!important}
}

/* One compact, persistent row below the app bar. Reserve space; never cover the map or timeline. */
.export-status-strip{box-sizing:border-box;position:fixed;inset:56px 0 auto;z-index:109;height:48px;display:flex;align-items:center;gap:10px;padding:0 22px;background:#edf6f0;border-bottom:1px solid #cddfd3;color:#244c3b;font:13px/1.3 "DM Sans",system-ui,sans-serif}
.export-status-strip[hidden],.export-status-strip [hidden]{display:none!important}
.export-status-icon{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;background:#d9ebdf;color:#217858;font-size:16px;font-weight:700}
.export-status-copy{min-width:0;flex:1}
.export-status-copy strong{display:block;font-size:13px;font-weight:600;line-height:17px}
.export-status-copy small{display:block;font-size:11px;line-height:15px;color:#587363;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.export-status-strip :is(a,button){display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:40px;border:0;border-radius:7px;padding:0 13px;background:#217858;color:#fff;text-decoration:none;font:600 12px/1.3 "DM Sans",system-ui,sans-serif;cursor:pointer}
.export-status-strip :is(a,button):focus-visible{outline:2px solid #217858;outline-offset:2px}
.export-status-strip .export-status-dismiss{width:36px;min-height:40px;padding:0;background:transparent;color:#526f60;font-size:24px;font-weight:400}
.export-status-strip[data-state=error]{background:#fff4ed;border-color:#ead2c1;color:#804c2d}
body.export-status-visible .export-background-status{display:none!important}
@media(min-width:901px){
 body.export-status-visible.film-studio-active:not(.landing-active):not(.preview-playing):not(.gpx-preview-expanded):not(.render-job-active):not(.export-recording) :is(.map-container,#editorSidebar){top:104px!important;height:calc(100dvh - 104px)!important}
}
@media(max-width:900px){
 .export-status-strip{top:60px;height:48px;padding:0 10px;gap:7px}
 .export-status-icon{width:22px;height:22px;font-size:14px}
 .export-status-strip :is(a,button){padding-inline:10px}
 .export-status-strip .export-status-dismiss{width:28px;padding:0}
 body.export-status-visible.film-studio-active:not(.landing-active):not(.preview-playing):not(.gpx-preview-expanded):not(.render-job-active):not(.export-recording) .map-container{top:108px!important;height:calc(var(--studio-sheet-top,var(--editor-sheet-top,58dvh)) - 108px)!important}
 body.export-status-visible.film-studio-active:is(.gpx-studio-active.gpx-route-setup,.travel-studio-active.travel-route-setup,.zoom-studio-active.zoom-place-setup):not(.landing-active):not(.preview-playing):not(.gpx-preview-expanded):not(.render-job-active):not(.export-recording) #editorSidebar{top:108px!important}
}
@media(max-width:900px) and (orientation:landscape){
 body.export-status-visible.film-studio-active:not(.landing-active):not(.preview-playing):not(.gpx-preview-expanded):not(.render-job-active):not(.export-recording) :is(.map-container,#editorSidebar){top:108px!important;height:calc(100dvh - 108px)!important}
}
/* Page-wide link colors must not override the primary download action. */
.export-status-strip a.export-status-download{color:#fff!important}

/* Retry checks the existing export; it never creates another render job. */
.export-status-retry{min-height:44px;width:100%;margin:10px 0;border:1px solid #c6d9cf;border-radius:8px;background:#203f35;color:#fff;font:600 13px/1.4 system-ui,sans-serif;cursor:pointer}
.export-status-retry[hidden]{display:none!important}
.export-status-retry:focus-visible{outline:2px solid #298668;outline-offset:3px}
.export-status-retry:disabled{opacity:.65;cursor:wait}
